Skip to content

Releases: sapo/Ink

3.1.0

24 Sep 15:43
Compare
Choose a tag to compare

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

23 Jul 16:18
Compare
Choose a tag to compare

CSS

  • Adds 16.66 (1/6) grid division
  • Style fixes in ink-modal and ink-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

24 Jun 16:32
Compare
Choose a tag to compare

CSS

  • Bumping FontAwesome version to 4.1.0

JS

  • Fixed a problem with SmoothScroller which was, together with Autoload, throwing errors whenever a click occurred.
  • Fixed a problem with Modal, and percentage measurements, introduced in the previous version.

3.0.3

23 Jun 15:26
Compare
Choose a tag to compare

CSS

  • Adds disabled state styling for buttons inside a button-group (#353)
  • Adds media types support for media queries. 0bf08b6

JS

  • Witch hunt for event.stopPropagation() calls
  • Ink.UI.Common now warns and stops UI components from being instantiated several times in the same element.

3.0.2

16 May 16:07
Compare
Choose a tag to compare

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

15 May 17:20
Compare
Choose a tag to compare

CSS

  • Extends flyout menus to horizontal navigation.
  • Removes SVG font files and references in CSS and reduces dist bundle in about 7MB: dcc6dd9.
  • Fixes bug where breakpoint dependent gutter size calculation was broken: 3a32937

JS

  • Bugfixes in FormValidator and Drawer
  • oldIE fixes

3.0.0

14 Apr 12:19
Compare
Choose a tag to compare

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 and rounded 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 return null.
  • 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.
  • SmoothScroller can have a margin option. Works well for sites with top menus.

2.3.2

02 Apr 15:47
Compare
Choose a tag to compare

JavaScript

  • Bug fixes in Ink.UI.Datepicker

2.3.1

28 Mar 11:28
Compare
Choose a tag to compare

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

28 Mar 11:33
Compare
Choose a tag to compare

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.