Skip to content

Releases: hashicorp/design-system

@hashicorp/[email protected]

06 Nov 00:26
03518b5

Choose a tag to compare

Major Changes

Renamed volume-2 to volume-up.

#3211

@hashicorp/[email protected]

06 Nov 00:26
03518b5

Choose a tag to compare

5.0.0 documentation

Major Changes

Flyout - Removed deprecated HdsFlyoutHeader, HdsFlyoutBody, HdsFlyoutDescription, and HdsFlyoutFooter subcomponents.

Modal - Removed deprecated HdsModalHeader, HdsModalBody, and HdsModalFooter subcomponents.

#3211

Dropdown - Removed the deprecated @text argument from the HdsDropdownListItemInteractive component.

To migrate, run the codemod v4/dropdown-list-item-interactive (see readme file)

#3211

Dropdown - Added assertion to the ToggleIcon to provide improved developer guidance for the hasChevron attribute

#3211

Added ember-basic-dropdown as a peer dependency required by ember-power-select. To migrate, if your application uses SuperSelect, make sure to add this dependency.

#3211

ApplicationState - Replaced the default opinionated margin: 0 auto; rule from the component's root element with a new @isAutoCentered argument (which defaults to true, to preserve the existing centering behavior). This delegates the horizontal alignment control to the consumers, allowing them to disable it when needed.

#3211

Removed support for Ember 3.28. New minimum support target is Ember 4.12.

#3211

Removed sass and ember-cli-sass dependencies. Consumers using sass in their projects should make sure it's added as a direct dependency to their project.

#3211

AdvancedTable - Removed the @isVisuallyHidden argument from HdsAdvancedTableTh component. This setting is supported via setting isVisuallyHidden in the corresponding @columns item's configuration.

#3211

Removed the deprecated MenuPrimitive component

#3211

Upgraded ember-a11y-refocus dependency to version 5.0
Upgraded @glimmer/component dependency to version 2.0

#3211

Card - Removed the component invocation paths Hds::Card and hds/card. Consumers must update their templates to use <Hds::Card::Container> or {{hds/card/container}}

#3211

SideNav - Removed deprecated features

  • Removed the @ariaLabel argument
  • Removed the HdsSideNavHeaderIconButton component
  • Updated the deprecation removal version from 5.0.0 to 6.0.0

#3211

Icon - Renamed the volume-2 icon to volume-up

#3211

Removed support for deprecated ember-flight-icons lazyEmbed config

#3211

Patch Changes

SideNav - Fixed the type of @a11yRefocusRouteChangeValidator to match the expected type from ember-a11y-refocus. The new type is (transition: Transition) => boolean instead of string.

AppHeader - Fixed the type of @a11yRefocusRouteChangeValidator to match the expected type from ember-a11y-refocus. The new type is (transition: Transition) => boolean instead of string.

#3211

🔄 Updated dependencies:

@hashicorp/[email protected]

05 Nov 12:31
4d9abf9

Choose a tag to compare

Minor Changes

Added openstack and openstack-color icons.

#3353

jenkins and jenkins-color icons added.

#3337

@hashicorp/[email protected]

05 Nov 12:31
4d9abf9

Choose a tag to compare

4.24.1 documentation

Patch Changes

CodeBlock - Fixed a11y issue with its CopyButton by adding copySuccessMessageText parameter to an aria-live region to announce to screen readers when content has been copied

CopyButton - Fixed a11y issue by adding ariaMessageText parameter to an aria-live region to announce to screen readers when content has been copied

#3304

FileInput - Added width of 100% to prevent the component from overflowing its container and making it consistent with other Input components

#3318

Button - Fixed color inheritance for Buttons within DialogPrimitive based components (such as the Modal and Flyout) when triggered from within the SideNav or AppHeader

SideNav - Fixed color inheritance for Buttons within DialogPrimitive based components (such as the Modal and Flyout) when triggered from within the SideNav

AppHeader - Fixed color inheritance for Buttons within DialogPrimitive based components (such as the Modal and Flyout) when triggered from within the AppHeader

#3335

AppFooter - Updated company name in copyright text

#3314

SuperSelect - Fixed issue with tabbing to SuperSelectMultiple with search enabled by adding tabindex of "0"

#3333

Modal - Refactored the component to not use ember-render-modifiers which fixes issues where the DOM may not be cleaned up when the Modal is closed.

Flyout - Refactored the component to not use ember-render-modifiers which fixes issues where the DOM may not be cleaned up when the Flyout is closed.

#3215

SuperSelect - Fixed color style for disabled option items.

#3331

🔄 Updated dependencies:

@hashicorp/[email protected]

05 Nov 12:31
4d9abf9

Choose a tag to compare

Patch Changes

dropdown-list-item-interactive - Reworked codemod to support usage in complex conditionals, and values with concatenated handlebars values.

#3303

@hashicorp/[email protected]

03 Oct 15:07
f288790

Choose a tag to compare

Major Changes

Upgraded Style Dictionary to version 5

  • Updated format of the src JSON tokens files to use the community standard DTCG format
  • Updated the tokens pipeline scripts to use the new format

Note: this is only a breaking change for consumers who use the src files to generate their own design tokens. For consumers using the design tokens in their compiled format, directly or via the @hashicorp/design-system-components package, this change will have no impact at all.

#3138

@hashicorp/[email protected]

03 Oct 15:07
f288790

Choose a tag to compare

4.24.0 documentation

Minor Changes

PopoverPrimitive - Added support for dynamic swap/injection of the toggle element.

#3189

AdvancedTable - Added support for column reordering.

  • Added @hasReorderableColumns argument. When set to true, enables column reordering.
  • Added optional @columnOrder argument for setting the initial order of columns by their keys.
  • Added optional @onColumnReorder argument which accepts a callback function that is called when reordering is completed.
  • Added optional @reorderedMessageText which overrides the default message text that is rendered in the table caption when a column is reordered.

#2997

Patch Changes

Table - Update the model and returned B.data to use generic types, so the type of the data is retained.

KeyValueInputs - Update the data and returned R.rowData to use generic types, so the type of the data is retained.

#3150 - Thanks @aklkv for the contribution! 🙏

🔄 Updated dependencies:

@hashicorp/[email protected]

12 Sep 18:08
595a03c

Choose a tag to compare

Patch Changes

cloud-ui/email - Fixed CSS helpers for "elevation" styles

#3158

@hashicorp/[email protected]

12 Sep 18:08
595a03c

Choose a tag to compare

Patch Changes

Stepper::Nav - Fixed bug with stacking context styles causing step content's z-index to not work as expected

#3176

🔄 Updated dependencies:

@hashicorp/[email protected]

05 Sep 15:24
62f8bcc

Choose a tag to compare

Minor Changes

pin-off icon added.

#3120