Helios Design System
Link::Inline
- Converted component to TypeScript
#2013 - Thanks @WenInCode for the contribution! 🙏
Card
- Converted component to TypeScript
#1997 - Thanks @valeriia-ruban for the contribution! 🙏
Link::Standalone
- Converted component to TypeScript
#2010 - Thanks @WenInCode for the contribution! 🙏
Text
- Converted component to TypeScript
#1984 - Thanks @natmegs for the contribution! 🙏
Alert
- Converted component to TypeScript
#1990 - Thanks @WenInCode for the contribution! 🙏
Modal
, Flyout
- Fixed flaky tests by running @ember/test-waiters
in all environments
#2011 - Thanks @fivetanley for the contribution! 🙏
This version is a re-release of @hashicorp/[email protected] containing the missing pre-compiled CSS
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! 🙏
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:
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"
);
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:
Form::CharacterCount
instances, you must pass in a @value
argument representing the value of the referenced inputF.CharacterCount
in Form::[MaskedInput|TextInput|Textarea]::Field
make sure the form control is updating the associated @value
on input (usually using on "input" (fn this.updateValue)
function)#1896 - Thanks @meirish for the contribution! 🙏
Table
- Multiple updates to the main component and its subcomponents:
hds-table
-related class namesTable::ThSort
:
@tooltip
argument<th>
contenthds-table__th-sort--button-content
hds-table__th-sort
with classes hds-table__th
+ hds-table__th--sort
hds-table__th-sort--text--[left|center|right]
with hds-table__th--align-[left|center|right]
onClick
callback to onClickSort
Table::Th
:
@tooltip
argument<th>
contenthds-table__th--text-[left|center|right]
with hds-table__th--align-[left|center|right]
Table::Td
:
hds-table__td--text-[left|center|right]
with hds-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::Standalone
to Alert::LinkStandalone
ApplicationState::Footer::Link::Standalone
to ApplicationState::Footer::LinkStandalone
Form::Checkbox::Group::Checkbox::Field
to Checkbox::Group::CheckboxField
Form::Radio::Group::Radio::Field
to Form::Radio::Group::RadioField
Form::Toggle::Group::Toggle::Field
to Form::Toggle::Group::ToggleField
Toast::Link::Standalone
to Toast::LinkStandalone
Table
- Added multi-select functionality
Tabs
- Added @size
argument with new "large" size variant
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:
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)