-
released this
2025-01-30 23:20:40 -05:00 | 0 commits to main since this releaseCore updates
- Improved description of the project and added additional documentation (ongoing)
- Fixed direct access to patterns, so the stylesheet and javascript are loaded properly [#25]
- Cleaned up lines from performance testing
- Fixed core.cookie.remove to properly set the value so cookie expires [#20]
- Exposed oneClickSelect function, so that it doesn't need to be recreated in scaffolding [#24]
- Reinitialized getcss to read CSS properties off of an example element [#14]
- Needs enhancement: This function currently only gets the CSS properties at the current breakpoint.
Core pattern updates
- Fixed colour module to output semicolons in css token output rather than commas [#21]
- Added mechanism for changing the spelling of the word colour in the color module [#17]
- Fixed error generated when switches are initialized but no switches are present [#23]
- Added a mechanism to link to a tab and provide a callbacks to allow for a function to be created to build a link to a tab. [#4]
The tab initalize function now takes a new function parameter in the form of an third argument is an object that can take the following callbacks:- altModifer (When the altKey is used)
- shiftModifier (When the shift key is used)
- metaModifier (When the Windows key or Apple key is used)
You can use these callbacks to create a custom event to get the tab information. There is a new core function (core.getTabPath) that will generate the query string and url hash for use in DS2 Core. You may wish to update your scaffolding.js file to make use of this functionality.
Downloads