Releases: hashicorp/design-system
@hashicorp/[email protected]
Minor Changes
Added new pipeline to Style Dictionary for cloud-email - email/sass-variables to be used in email templating
@hashicorp/[email protected]
Minor Changes
DismissButton - Converted component to TypeScript
#1980 - Thanks @WenInCode for the contribution! 🙏
Added image error handling to Dropdown::Toggle::Icon
#1906 - Thanks @cbfx for the contribution! 🙏
Patch Changes
Enable glint
#1976 - Thanks @natmegs for the contribution! 🙏
Upgraded ember-truth-helpers from 3.1.1 to 4.0.3
#1976 - Thanks @natmegs for the contribution! 🙏
Added missing aria-label support to copy-snippet component.
Removed dialog-polyfill dependency
🔄 Updated dependencies:
- @hashicorp/[email protected]
- @hashicorp/[email protected]
@hashicorp/[email protected]
Major Changes
Converted Ember packages to v2 addon format.
To migrate update Sass configuration in ember-cli-build.js to include the paths for ember-flight-icons and design-system-components:
sassOptions: {
precision: 4,
includePaths: [
'./node_modules/@hashicorp/design-system-tokens/dist/products/css',
'./node_modules/@hashicorp/ember-flight-icons/dist/styles',
'./node_modules/@hashicorp/design-system-components/dist/styles',
],
},Alternatively, you can import the CSS by adding this configuration in ember-cli-build.js.
app.import(
"node_modules/@hashicorp/design-system-components/dist/styles/@hashicorp/design-system-components.css"
);@hashicorp/[email protected]
Major Changes
New tokens added for large and medium size Tab variants. The "medium" tokens replace the former equivalent tokens which were not differentiated by size.
--token-tabs-tab-height-medium(Replaces--token-tabs-tab-height)--token-tabs-tab-height-large(New)--token-tabs-tab-padding-horizontal-medium(Replaces--token-tabs-tab-padding-horizontal)--token-tabs-tab-padding-horizontal-large(New)
@hashicorp/[email protected]
Major Changes
Converted Ember packages to v2 addon format.
To migrate, update Sass configuration in ember-cli-build.js to include the paths for ember-flight-icons and design-system-components:
sassOptions: {
precision: 4,
includePaths: [
'./node_modules/@hashicorp/design-system-tokens/dist/products/css',
'./node_modules/@hashicorp/ember-flight-icons/dist/styles',
'./node_modules/@hashicorp/design-system-components/dist/styles',
],
},Alternatively, you can import the CSS by adding this configuration in ember-cli-build.js.
app.import(
"node_modules/@hashicorp/design-system-components/dist/styles/@hashicorp/design-system-components.css"
);Form::CharacterCount - refactored the component, removing onInsert callback and adding @value argument
To migrate:
- for standalone
Form::CharacterCountinstances, you must pass in a@valueargument representing the value of the referenced input - when used as a contextual component
F.CharacterCountinForm::[MaskedInput|TextInput|Textarea]::Fieldmake sure the form control is updating the associated@valueon input (usually usingon "input" (fn this.updateValue)function)
#1896 - Thanks @meirish for the contribution! 🙏
Table - Multiple updates to the main component and its subcomponents:
- Updated table headers to support tooltips
- Updated visual treatment and location of the "sort" button in the table headers
- Refactored CSS code to simplify usage of
hds-table-related class names
Table::ThSort:
- Added support for tooltip via the
@tooltipargument - Updated visual treatment and location of the "sort" button
- Updated DOM structure of the
<th>content - Remove class
hds-table__th-sort--button-content - Replaced class
hds-table__th-sortwith classeshds-table__th+hds-table__th--sort - Replaced class
hds-table__th-sort--text--[left|center|right]withhds-table__th--align-[left|center|right] - Renamed
onClickcallback toonClickSort
Table::Th:
- Added support for tooltip via the
@tooltipargument - Updated DOM structure of the
<th>content - Replaced class
hds-table__th--text-[left|center|right]withhds-table__th--align-[left|center|right]
Table::Td:
- Replaced class
hds-table__td--text-[left|center|right]withhds-table__td--align-[left|center|right]
To migrate run the codemod v4/table (see readme file)
Pagination - Removed handling of query parameters from onPageSizeChange function for Pagination::Numbered
Unfortunately, it's not possible to cover this breaking change with a codemod. Consumers should review their usage of the onPageSizeChange callback and, if necessary, implement the persistence of the "page number" and "page size" values via query parameters themselves.
Renamed namespaced contextual components as follows:
Alert::Link::StandalonetoAlert::LinkStandaloneApplicationState::Footer::Link::StandalonetoApplicationState::Footer::LinkStandaloneForm::Checkbox::Group::Checkbox::FieldtoCheckbox::Group::CheckboxFieldForm::Radio::Group::Radio::FieldtoForm::Radio::Group::RadioFieldForm::Toggle::Group::Toggle::FieldtoForm::Toggle::Group::ToggleFieldToast::Link::StandalonetoToast::LinkStandalone
Minor Changes
Table - Added multi-select functionality
Tabs - Added @size argument with new "large" size variant
Patch Changes
Dropdown - Fixed dropdown list missing an accessible name when Checkmark items were passed in
Flyout - Reduced gap between Flyout and edge of screen from 40px to half of the minimized SideNav width in medium view
Removed ember-deep-tracked dependency that was not used
SideNav - Fixed issue with navigation elements remaining interactive when minimized
🔄 Updated dependencies:
- @hashicorp/[email protected]
- @hashicorp/[email protected]
@hashicorp/[email protected]
@hashicorp/[email protected]
Major Changes
vagrant, vault-radar, and vault-secrets icons have been updated. Also added boxed versions of all product logos.
@hashicorp/[email protected]
Minor Changes
Since this is an update brand colors and product icons, we consider this a minor version release
Improved resilience of SVG sprite loading script
🔄 Updated dependencies:
- @hashicorp/[email protected]
@hashicorp/[email protected]
@hashicorp/[email protected]
Minor Changes
Since this is an update brand colors and product icons, we consider this a minor version release
🔄 Updated dependencies:
- @hashicorp/[email protected]
- @hashicorp/[email protected]