Releases: sapo/Ink
3.1.0
CSS
- Fixes issue #385.
- Fixes multiline label indentation.
- New print.scss module.
JS
- Carousel won't call onChange more than necessary now
- Carousel advances in percentage values instead of pixel values, making it resistant to a bug where the slides become off as the Carousel advances.
- OldIE fixes for Ink.Autoload.run and Ink.requireModules
.. And more.
3.0.5
CSS
- Adds 16.66 (1/6) grid division
- Style fixes in
ink-modal
andink-table
- Fixes issue #367, #373 and #381
JS
Shiny new stuff ❤️ :
- setOption() function in UI component instances
- getInstance() function in UI component classes. Use it like this:
var myModal = Modal.getInstance('#element-with-a-modal')
. This deprecates the need of disabling Ink.UI.Autoload to interact with UI components. - Do not pollute elements with data-instance attributes. This also fixes a memory leak when UI components are removed from the DOM.
Fixes by @entomb:
Random stuff:
- Ink.Dom.Element.isDOMElement(el) function (moved from Ink.UI.Common to Ink.Dom.Element)
- Fixed #276
- Fixed an Ink.UI.TagField crash when it is created.
- DatePicker improved a bit.
- Fixed cryptic error reported when Ink.requireModules fails to load a script.
.. And lots of small fixes.
3.0.4
CSS
- Bumping FontAwesome version to 4.1.0
JS
- Fixed a problem with
SmoothScroller
which was, together withAutoload
, throwing errors whenever a click occurred. - Fixed a problem with
Modal
, and percentage measurements, introduced in the previous version.
3.0.3
3.0.2
Breaking changes:
If you were using requireModules to load modules asynchronously (eg. not using ink-all.js), now there is no default URL for the Ink namespace. This will only affect you if you are using requireModules asynchronously and are not calling setPath() yourself. We're not bumping a major because this is not likely to affect anyone although, theoretically, it's a breaking change.
CSS
- Removes a fade() call left over from the old LESS source (#349)
JS
- Fixing FormValidator
- Removing the default Ink.setPath() call. We removed this because it causes surprising results and brings no benefits, and causes people to accidentally use http://js.ink.sapo.pt every time they misspelled a module name. Now you will get an error.
3.0.1
3.0.0
General
Drops IE7 support. If you need to support IE7 please use 2.3.2.
Documentation
- Completely rewritten the documentation
- Documentation is now created with jekyll and hosted on github pages. See gh-pages branch for more details.
CSS
- New flexbox based grid.
- Loads of new breakpoint aware selectors. Check our glossary to see what's new.
- Ink CSS is now created using SASS and Compass.
- Deprecated
shadowed
androunded
classes. - FontAwesomes css is now distributed on its own.
- Ubuntu font is no longer distributed and is replaced by Roboto.
JavaScript
Ink.UI.Common.elOrSelector
doesn't throw an error anymore. It will just returnnull
.- Carousel doesn't go to the second page on resize anymore.
- Fixed
getPage()
returning undefined sometimes - Added
spaceAfterLastSlide
option (defaults to true in 3.x) to control whether there is white space after the last slide in the last page.
- Fixed
SmoothScroller
can have amargin
option. Works well for sites with top menus.
2.3.2
JavaScript
- Bug fixes in Ink.UI.Datepicker
2.3.1
LESS/CSS
Fixes backwards compatibility issues with older versions of the less compiler.
JavaScript
UI
Fixes erratic swipe behaviour in the Ink.UI.Carousel component on some devices.
2.3.0
Global
Drops the makefiles and unifies the dependency management and build process with grunt and bower.
Changes the repository structure. Source code is now kept under "src" and compiled/distributable code is kept in the "dist" folder.
CSS
Layout
- Default ink-grid maximum width increased to 1400px.
- Adds 2 breakpoints: "tiny" for screen widths below 320px and "extra-large" for screen widths over 1200px. The new breakpoints are disabled by default. To use them you'll need to edit src/less/grid.less and src/less/config/__grid.less and uncomment the code that creates the additional breakpoints.
- Adds breakpoint dependent spacing and column horizontal alignment classes i.e. small-top-space, small-push-center.
- Adds breakpoint dependent text alignment classes i.e. small-align-center.
- Adds breakpoint dependent gutters i.e. small-gutters.
- Adds "double" size variant for gutters and spacing class i.e. double-gutters.
Typography
- Typography Removes overzealous typographic vertical spacing rules.
- Bug fixes and improvements
- Improves CSS selector specificity to avoid class name collisions in several components.
- Several bug fixes.
JavaScript
UI
- Adds UI Carousel component.
- Improves UI Sticky component.
- Improves UI DatePicker component.
- Improves UI Common.options() component. enables UI modules to receive options of several types including Numbers, Booleans and Selectors (this improves most other components)
- Renames Ink.UI.Aux to Ink.UI.Common.
- Global fixes and changes
- Core Event API change/addition. Integrated Bean ( https://github.com/fat/bean ) in the module. New methods on the API ( on, one, off, clone, fire ). Also created observeDelegated(element, eventName, selector, callback)
- Ink.Dom.Element.create() can now call Ink.Dom.Event functions for quick creation and placement of elements:
InkElement.create('div', { insertBottom: document.body });
- Ink.Dom.Element.wrap() and unwrap.
- Core Ajax
- Formvalidator v1
- Treeview
- SortableList
- Tagfield
- Table
- Modal
- Sticky
- Datepicker
- Promoted Ink.Autoload to an Ink module. It now has the Autoload.run() function for running Autoload on dynamically generated content.
- Core Bug fixes.