UNPKG

@hydrogen-design-system/component-accordion

Version:
128 lines 4.96 kB
{ "majors": [ { "release": 0, "date": null, "changes": [], "minors": [ { "release": 0, "date": null, "changes": [], "patches": [ { "release": 30, "date": null, "changes": [ "Updates the development and production tasks to include Babel, allowing for the component to be imported as a module or browser-ready JavaScript.", "Migrates away from $H2VER, $H2VERJS, and $H2VERCSS to a standardized _VERSION signifier for the build scripts.", "Migrates the component to use vanilla JavaScript over Cash." ] }, { "release": 31, "date": null, "changes": [ "Updates the H2 core from 0.0.34 => 0.0.37." ] }, { "release": 32, "date": null, "changes": [ "Updates the H2 core from 0.0.37 => 0.0.38.", "Reconfigures the build script to output into a new folder layout containing the version and latest code in matching structures.", "Removes the init script as it's no longer needed." ] }, { "release": 33, "date": "2020/NOV/22", "changes": [ "Updates the H2 core from 0.0.38 => 0.0.40.", "Reworks and simplifies the development and build scripts to output both a module and instanced version of component scripts." ] }, { "release": 34, "date": "2020/NOV/25", "changes": [ "Updates the H2 core from 0.0.40 => 0.0.41.", "Removed the deprecated system.scss file.", "Fixes a bug where the accordion JavaScript would fail when the system variable was declared." ] }, { "release": 35, "date": "2021/JAN/14", "changes": [ "Updates the H2 core from 0.0.41 => 0.0.42.", "Fixes a bug where importing the component's scripting into React resulted in multiple event handlers being placed on the DOM element." ] }, { "release": 36, "date": "2021/JAN/24", "changes": [ "Updates the exported scripts to allow for a specific component or array of components to be passed.", "Adds a handful of useful error messages when the script fails due to bad parameters." ] }, { "release": 37, "date": "2021/JAN/25", "changes": [ "Fixes an issue where the trigger event script was scoped to the exported function." ] }, { "release": 38, "date": "2021/JAN/28", "changes": [ "Updates the build script to accommodate the new script checks for the system version value when compiling." ] }, { "release": 39, "date": "2021/FEB/03", "changes": [ "Refactored all JavaScript to be more readable.", "BREAKING: The component now exports all relevant functions; functions have been renamed and simplified. Please see the docs for more details." ] }, { "release": 40, "date": "2021/FEB/03", "changes": [ "Toggling the accordion now returns true or false based on whether the accordion is opening or closing." ] }, { "release": 41, "date": "2021/FEB/04", "changes": [ "The accordion toggle script now takes the accordion component as its argument, rather than the trigger.", "Fixed a bug where accordions nested inside of accordions wouldn't open/close." ] }, { "release": 42, "date": "2021/FEB/04", "changes": [ "BREAKING: changes the order of the arguments in the exported key functions to allow for the system version to be optional (with a default)." ] }, { "release": 43, "date": "2021/FEB/21", "changes": [ "Updates the H2 core from 0.0.42 => 0.0.44.", "Removes the browser default border radius on the accordion trigger." ] } ] } ] } ] }