Skip to content

Releases: hashicorp/design-system

@hashicorp/[email protected]

06 Nov 18:13
b223e7a
Compare
Choose a tag to compare

Minor Changes

CodeBlock - Added new component

#1687


Patch Changes

Upgraded the following dependencies:

  • @ember/test-waiters from 3.0.2 to 3.1.0
  • ember-cli-htmlbars from 6.2.0 to 6.3.0
  • ember-focus-trap from 1.0.2 to 1.1.0
  • ember-keyboard from 8.2.0 to 8.2.1
  • sass from 1.62.1 to 1.69.5

#1756


Breadcrumb - Added support for external links

#1774


Upgraded the following dependencies:

  • ember-cached-decorator-polyfill from 0.1.4 to 1.0.2
  • ember-cli-babel from 7.26.11 to 8.2.0
  • ember-cli-sass from 10.0.1 to 11.0.1
  • ember-composable-helpers from 4.5.0 to 5.0.0

#1761


Button - Fixed HdsInteractiveSignature type import

#1769


🔄 Updated dependencies:

@hashicorp/[email protected]

25 Oct 12:34
2aa9abe
Compare
Choose a tag to compare

Patch Changes

Added missing dependency on ember-get-config

#1747


@hashicorp/[email protected]

25 Oct 19:14
7f5a510
Compare
Choose a tag to compare

Patch Changes

explicitly added ember-element-helper as dependency for the components package

#1751


@hashicorp/[email protected]

25 Oct 12:34
2aa9abe
Compare
Choose a tag to compare

Patch Changes

🔄 Updated dependencies:

@hashicorp/[email protected]

24 Oct 14:43
f2d6a74
Compare
Choose a tag to compare

Major Changes

Drop support for Node 14

#1634


@hashicorp/[email protected]

24 Oct 14:43
f2d6a74
Compare
Choose a tag to compare

Major Changes

Drop support for Node 14

#1634


Hds::Form::VisibilityToggle - Added component as a form base element

Hds::Form::TextInput::Field - Added Hds::Form::VisibilityToggle to password inputs (controlled via @hasVisibilityToggle - Notice that this is set to be visible by default now)

Hds::Form::MaskedInput - Refactored to use Hds::Form::VisibilityToggle

Hds::Form::MaskedInput - Renamed @isMasked to @isContentMasked

To migrate:

  • in Hds::Form::MaskedInput instances replace @isMasked arguments with @isContentMasked

#1634


Hds::Dropdown – Removed @listPosition left and right (use bottom-left and bottom-right, respectively).

To migrate:

  • in Hds::Dropdown instances:
    • replace @listPosition="left" with @listPosition="bottom-left"
    • replace @listPosition="right" with @listPosition="bottom-right"

#1634


SideNav - Renamed extraBefore/After generic containers to ExtraBefore/After (uppercase E).

To migrate:

  • rename all the extraBefore/After instances yielded within the <Hds::SideNav> component to ExtraBefore/After

#1634


Form::RadioCard - Remove the @layout property.

Form::RadioCard::Group - Repurposed the @layout property to either horizontal (default) or vertical

To migrate Form::RadioCard and Form::RadioCard::Group instances without encountering visual changes:

  • make sure all instances with @layout="fixed" have a @maxWidth defined, then remove the @layout="fixed" definition
  • remove all @layout="fluid" definitions

#1634


Minor Changes

Dropdown::ListItem::CopyItem - Changed defaults for @color (now secondary) and @isTruncated (now true).

Consumers should review the defaults values for this (sub)component in their codebases, to make sure they match the intended visual designs.

#1634


Button, Interactive - Converted components to TypeScript.

#1634


Copy::Snippet - Fixed the way in which “width/full-width” is applied to the component + Internal update to the “truncation” implementation.

  • the component is not full-width anymore by default (the width now fits the content); use @isFullWidth={{true}} to have a full-width layout
  • the internal class name hds-copy-snippet__text--truncated has been changed to hds-copy-snippet--is-truncated (and moved)

Consumers should review the pages where this component is used to make sure its width matches the intended visual designs (in case, use the @isFullWidth argument to control its full-width). In case they're using the hds-copy-snippet__text--truncated class name, they should also update their code to adapt to the new implementation.

#1634


Removed ember-cli-clipboard as dependency and introduced a custom hds-clipboard modifier (using the web Clipboard API)

Copy::Button - Multiple updates:

  • replaced third-party clipboard modifier with hds-clipboard
  • removed @container argument (not needed anymore, it was used in the third party library as a hack to account for focus trapping and focus shifting)
  • added @onSuccess/onError callbacks

Copy::Snippet - Multiple updates:

  • replaced third-party clipboard modifier with hds-clipboard
  • added @onSuccess/onError callbacks
  • Dropdown::ListItem::CopyItem
    • the change to the underlying Copy::Snippet has fixed an issue with the focus being lost on copy (causing the dropdown to close on copy)

Consumers should remove the @container argument from all the instances of Copy::Button (not needed anymore) and double check that the Copy::Button/Snippet instances work exactly as before.

#1634


Patch Changes

Copy::Snippet - Fixed background colors for different states according to Figma specs (main change is the default/base background is now transparent, not white).

#1634


Form::MaskedInput - Changed copy logic for CopyButton used inside the component.

#1634


Accordion - Replaced internal text styling (using Text component).

ApplicationState - Replaced internal text styling (using Text component).

Copy::Snippet - Replaced internal text styling (using Text component).

Dropdown - Replaced internal text styling (using Text component).

Form:** - Replaced internal text styling (using Text component).

Flyout - Replaced internal text styling (using Text component).

Modal - Replaced internal text styling (using Text component).

PageHeader - Replaced internal text styling (using Text component).

Pagination - Replaced internal text styling (using Text component).

Stepper - Replaced internal text styling (using Text component).

Tag - Replaced internal text styling (using Text component).

No impact is expected on the consumers' applications.

#1634


Button - Applied explicit text alignment to the text to fix alignment on "link" buttons.

#1634


🔄 Updated dependencies:

@hashicorp/[email protected]

24 Oct 14:43
f2d6a74
Compare
Choose a tag to compare

Minor Changes

Add codemods for design-system-components v3

#1634


@hashicorp/[email protected]

23 Oct 18:08
1356eb4
Compare
Choose a tag to compare

Minor Changes

Button - updated horizontal padding of icon-only variant

Dropdown::ToggleIcon - updated sizing of the "small" variant to match the height of the "small" variant Button

#1690

Patch Changes

Pagination - Removed handling of query parameters from onPageSizeChange function.

Notice: while technically this is a breaking change, we consider this a fast-follow fix for the previous release.

#1736

@hashicorp/[email protected]

19 Oct 16:25
c451a86
Compare
Choose a tag to compare

Patch Changes

  • #1724 65ebe6dde Thanks @didoo! - Pagination - updated the logic for “Compact” variant to expose @currentPageSize and handle controlled/uncontrolled changes

  • #1716 cde67bc7f Thanks @didoo! - Tabs - replace assert with warn in setIndicator function

@hashicorp/[email protected]

12 Oct 16:58
ed9ba9f
Compare
Choose a tag to compare

Patch Changes

  • #1709 294dddfda Thanks @didoo! - Tabs - Fixed issue with @isSelected dynamically changed within #each loops