UNPKG

@salesforce-ux/design-system-data

Version:

This package contains scripts to generate data and data assets for aspects of the Salesforce Lightning Design System (SLDS).

119 lines (90 loc) 5.6 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### Added - **Output Control**: Added `--output` argument to generation scripts for better output control - **Icon Generation**: Updated icon zip generator to accept output argument - **Documentation**: Added CONTRIBUTING and DEVELOPER documentation - **Theme Support**: Added ability to consume static styling-hooks.metadata file and generate output for both SLDS and Cosmos themes - **Asset Management**: Added helper script to find asset selectors and ability to write asset selector files - **CSS Distribution**: Added script to copy SLDS CSS files to distribution - **Version Management**: Added semver dependency for improved version handling - **Testing**: Added jest and initial styling-hooks test suite - **Hook Generation**: Added comment prop to generated global hooks objects - **Dependencies**: Added sds-styling-hooks dependency for enhanced styling capabilities ### Changed - **Script Organization**: Renamed script entries and added comments for better clarity - **CSS Updates**: Bumped slds-modules to 0.0.98 to use latest CSS and stripped version numbers from CSS files in distribution - **Dependency Management**: Moved postcss and slds-modules to dev-dependencies for better package organization - **SLDS Version**: Updated SLDS version to v2.27.0-beta.1 - **Configuration**: Updated config to add more global hooks and refactored to use existing design-token distribution - **Theme Mapping**: Mapped and renamed 'slds' to 'lightning' for better theme organization - **Output Generation**: Refactored script output to generate both themes when using to-file option - **Documentation**: Updated README with improved documentation and usage examples ### Fixed - **Hook Scripts**: Updated hook script to handle undefined valueType and category gracefully - **Component Hooks**: Fixed styling-hooks scripts to include component hooks properly - **Configuration**: Removed redundant hooks file from config - **Asset Paths**: Changed assets paths in SLDS2 files on copy for better compatibility - **File Management**: Copy only the latest semver of each CSS file to avoid conflicts ## [v0.0.0-dev.1752529172] - 2024-12-13 ### Added - **Output Control**: Added `--output` argument to generation scripts for better output control - **Icon Generation**: Updated icon zip generator to accept output argument ## [v0.0.0-dev.1747839274] - 2024-12-10 ### Added - **Theme Support**: Added ability to consume static styling-hooks.metadata file and generate output for both SLDS and Cosmos themes - **Asset Management**: Added helper script to find asset selectors and ability to write asset selector files - **CSS Distribution**: Added script to copy SLDS CSS files to distribution - **Version Management**: Added semver dependency for improved version handling ### Changed - **Dependency Management**: Moved postcss and slds-modules to dev-dependencies for better package organization - **Configuration**: Refactored to use existing design-token distribution and static metadata file - **Theme Mapping**: Mapped and renamed 'slds' to 'lightning' for better theme organization - **Output Generation**: Refactored script output to generate both themes when using to-file option ### Fixed - **Asset Paths**: Changed assets paths in SLDS2 files on copy for better compatibility - **File Management**: Copy only the latest semver of each CSS file to avoid conflicts ## [v0.0.0-dev.1747813622] - 2024-12-10 ### Added - **Asset Management**: Added helper script to find asset selectors - **File Operations**: Added ability to write file to find-asset-selectors - **Integration**: Invoked find-asset-selectors from copySlds ## [v0.0.0-dev.1747785402] - 2024-12-10 ### Added - **Asset Discovery**: Added helper script to find asset selectors ## [v0.0.0-dev.1745574090] - 2024-11-26 ### Added - **File Operations**: Added ability to write file to find-asset-selectors - **Asset Discovery**: Added helper script to find asset selectors ### Changed - **Hook Support**: Allowed for SLDS2 hooks in hooks.preval ## [v0.0.0-dev.1744413957] - 2024-11-19 ### Added - **Testing**: Added jest and initial styling-hooks test suite - **Hook Generation**: Added comment prop to generated global hooks objects - **Dependencies**: Added sds-styling-hooks dependency for enhanced styling capabilities ### Changed - **Configuration**: Updated config to add more global hooks ### Fixed - **Configuration**: Removed redundant hooks file from config ## [v0.0.0-dev.1744069137] - 2024-11-19 ### Added - **Hook Generation**: Added comment prop to generated global hooks objects - **Dependencies**: Added sds-styling-hooks dependency ## [v0.0.0-dev.1743723534] - 2024-11-18 ### Added - **Build Process**: Added prepublish script entry - **Dependencies**: Updated lock file ## [Initial Development] - 2024-09-XX ### Added - **Package Setup**: Initial package setup and configuration - **Dependencies**: Added design-system and immutable dependencies - **Icon Generation**: Added icons generation script - **Release Management**: Created initial release - **Build System**: Refactored scripts and prepared package publish - **Hook System**: Updated hooks scripts to include component hooks - **Error Handling**: Updated hook script to handle undefined valueType and category - **SLDS Integration**: Updated SLDS version to v2.27.0-beta.1