changelog.md in titon-toolkit-1.2.2 vs changelog.md in titon-toolkit-1.3.0

- old
+ new

@@ -1,133 +1,53 @@ # Changelog # Older versions can be found in the documentation changelogs. -## 1.2.2 ## -* Added z-index variables to all applicable components for easier layering -* Fixed a bug where data attribute selectors were not being delegated to the document [[#20](https://github.com/titon/toolkit/issues/20)] -* Fixed a bug where tooltips would not show above modals [[#20](https://github.com/titon/toolkit/issues/20)] -* Fixed a bug where the blackout could be closed while the modal is loading [[#16](https://github.com/titon/toolkit/issues/16)] +## 1.3.0 ## +This minor release includes 2 new components, automatic ARIA support for all applicable components, +replacing Compass with autoprefixer, removal of state prefixing, and many more bug fixes and improvements. -## 1.2.1 ## -* Fixed a bug with `throttle()` when 0 is passed as the delay -* Pin - * Moved `onScroll()` logic into a new `pin()` method - * Updated to use `height()` instead of `outerHeight()` to take into account parent padding - * Updated to trigger pinning on page load -* Type Ahead - * Added `preventDefault()` when enter is pressed to stop form submissions - * Fixed incorrect `cycle` and `select` events being triggered - -## 1.2.0 ## -This minor release includes thorough documentation for all components, -a refactored event binding and management layer, a data attribute option inheritance layer, -and an optimization and cleanup pass. Also bug fixes. - -* Added `join-classes()` function -* Added `grunt production` command to compress for production purposes -* Updated `grunt` command to not compress for development purposes -* Renamed all `__*` methods to `on*` -* Renamed `currentIndex` to `index` in all components -* Removed `content-spacing()` mixin -* Removed `previousIndex` properties -* Removed `loadingMessage` and `errorMessage` options -* Removed `.medium` class support -* Removed automatic setting of `animation` and `className` CSS classes for embedded elements -* Removed background and font colors from CSS to reduce CSS filesize +* Added new Step component for step based navigation +* Added new Switch component for visual checkbox switches +* Added ARIA support to all components with supported documentation +* Added CSS vendor prefixing support through [autoprefixer](https://github.com/ai/autoprefixer) +* Added namespace event triggering support to the activating node +* Removed is and has state prefixing from the CSS and JS layers +* Removed `$state-is-prefix` and `$state-has-prefix` Sass variables +* Removed individual JavaScript distribution files +* Removed Compass dependency in favor of autoprefixer +* Updated to normalize.css v3.0.1 +* jQuery + * Updated `$.fn.item()` to return an empty jQuery collection if index out of range + * Refactored the `clickout` event to support delegated elements + * Removed `$.hyphenate()` + * Removed event helper methods like `clickout()`, `swipeleft()`, etc * Toolkit - * Added `bound()` to bound a number - * Added `isRetina` flag - * Updated `positionTo()` to re-position if the element falls outside the viewport + * Added `aria` property to toggle support + * Added `aria()` collection method that can set ARIA attributes + * Removed `Toolkit.options.isPrefix` and `Toolkit.options.hasPrefix` + * Renamed `Toolkit.options.vendor` to `Toolkit.vendor` + * Renamed `Toolkit.createComponent()` to `Toolkit.create()` * Component - * Refactored that event management layer within all components - * Added `bindEvents()` to handle event attaching and detaching (paired with change above) - * Called automatically from `enable()` and `disable()` - * Added option inheritance from data attributes found on target elements and nodes - * Possible through new `inheritOptions()` - * Added option inheritance from parent component - * Added `readOption` to find an option via data attribute of option object - * Merged `setElement()` logic into `createElement()` - * Removed `setElement()` -* Accordion - * Updated `show` event arguments to `[section, node, index]` -* Base - * Added `.no-scroll` - * Removed `.inline`, `.inline-block`, `.static`, `.relative`, and `.absolute` -* Blackout - * Added a `shown` argument to the `show` event - * Added `showLoader` and `hideLoader` events - * Renamed `loaderMessage` option to `loadingMessage` -* Button - * Added outline none to `:focus` styles - * Fixed a bug with `input` buttons -* Button Group - * Removed `!important` from negative margin properties + * Added global `cache` option to toggle AJAX response caching + * Added static `count` property to each component that tracks the number of instances in the page + * Added `uid` property that represents the current instance count + * Added `cssClass` property that represents the component name in CSS class form + * Added `id()` method to generate unique CSS class names + * Removed error and loading template generation from components (wasn't being used) +* Carousel + * Fixed a bug where `swipedown` would not trigger + * Merged `itemsElement` and `itemElement` options + * Merged `tabsElement` and `tabElement` options + * Removed `itemsWrapper`, `itemsList`, `tabsWrapper` properties * Drop - * Added support for drops built with `ol` - * Updated `show` and `hide` event arguments to `[element, node]` -* Flyout - * Fixed a bug where data items were being mapped with no URL - * Removed `load` event from `show()` as it was being used incorrectly -* Form - * Renamed `.is-legendless` to `.no-legend` - * Cleaned up some basic styles + * Added a global `.drop` class that all menus require * Grid - * Changed `$grid-columns-medium` to 12 - * Added `$grid-push-pull` to toggle push and pull classes in output -* Icon - * Removed `.icon--rotate` -* Input - * Updated build methods to be private - * Fixed an issue where select event names were incorrect -* Input Group - * Added small and large size support -* Lazy Load - * Instantiation will need to be set on a container instead of the items being loaded - * Added `data-src-retina` support - * Added support for lazy loading within an overflown element - * Fixed a bug where hidden images were being loaded - * Renamed `data-lazyload` to `data-src` -* Loader - * Renamed `.spinner` to `.loader-spinner` -* Matrix - * Replaced `.matrix-item` with `li` - * Removed `selector` option - * Removed inline `img` styles, use `.fluid` instead + * Added `%row` placeholder to extend row styles from + * Added `%col` placeholder to extend column styles from + * Removed `.row` (reserved now for another component) * Modal - * Added `$modal-animation` to filter the animations in the CSS output - * Updated `.modal-close` to use a `button` - * Updated `ajax` and `getContent` options to be inheritable at runtime through the activating node - * Refactored markup and CSS to support large height modals - * Removed `flip` and `flip-vert` animations - * Removed dragging (temporarily) + * Fixed a bug where a modal opened on the same modal causes the blackout to persist * Pin - * Fixed a bug where `.is-pinned` was not being removed -* Popover & Tooltip - * Added `$popover-tooltip-animation` to filter the animations in the CSS output - * Added `$popover-arrow-width` and `$tooltip-arrow-width` to alter the arrow sizes - * Added automatic compatibility of `title` attributes - * Fixed a bug where node was being set and used incorrectly - * Fixed a bug with mouseleave events - * Options `className` and `position` are added and removed dynamically each reveal - * Updated options to be inheritable at runtime through the activating node - * Updated `position` values to be dashed instead of camel case - * Removed `slide-in` animation -* Progress - * Added multiple progress bar support - * Removed `.medium` size - * Refactored state classes -* Responsive - * Added `.fluid` class for images, audio, canvas, etc -* Showcase - * Updated options to be inheritable at runtime through the activating node - * Replaced `a` with `button` -* Stalker - * Added nested marker support - * Added `targetBy` and `markBy` options - * Removed `marker` and `target` properties -* Table - * Moved zebra-striping into an `.is-striped` class -* Tabs - * Renamed `sectionsElement` option to `sectionElement` -* Type Ahead - * Renamed `process()` to `source()` + * Added `lock` option to disable pinning if element is taller than the viewport + * Added `$pin-transition` variable + * Fixed a bug where the pin element margin was not included in the total height \ No newline at end of file