Skip to content

Releases: hashicorp/design-system

@hashicorp/flight-icons@3.8.0

13 Dec 20:53
d983221
Compare
Choose a tag to compare

Minor Changes

Postgres service icon added.

#2563

@hashicorp/design-system-tokens@2.2.2

13 Dec 20:53
d983221
Compare
Choose a tag to compare

Patch Changes

Upgraded style-dictionary to 4.2.0

#2560

@hashicorp/design-system-components@4.15.0

13 Dec 20:53
d983221
Compare
Choose a tag to compare

4.15.0 documentation

Minor Changes

Time - Added Time component, Time service, and related libraries including:

  • luxon (2.x or 3.x)
  • ember-concurrency (4.x)

#2515

Table - Exposed the index of the @each loop over the @model as rowIndex

#2554

Patch Changes

Dropdown - Fixed an issue with the ToggleIcon to make the focus ring visible on mouse click

#2574

PageHeader - Fixed issue with extra space below title when no metadata is present

#2581

Alert - Removed default color applied to the hds-alert__text container (text color is applied via @color argument)

#2598

Dropdown, RichTooltip - Fixed ResizeObserver-related errors in tests

Upgraded @floating-ui/dom to 1.6.12

#2550

Fixed deprecated Sass syntax (map-get replaced with map.get and @import with @use)

#2594

IconTile - Updated visual design of IconTile to make it distinguishable from secondary IconButton.

#2555

Aligned private properties of the HDS modifiers to follow a standardized notation

  • hds-anchored-position
  • hds-register-event
  • hds-tooltip

#2583

Aligned private class properties to follow a standardized notation

  • Accordion
  • Alert
  • AppHeader
  • AppSideNav
  • CodeBlock
  • Copy::Button
  • Copy::Snippet
  • DisclosurePrimitive
  • Dropdown
  • Flyout
  • Form::SuperSelect
  • Form::TextInput
  • Icon
  • Modal
  • Pagination::Compact
  • Pagination::Numbered
  • PopoverPrimitive
  • Reveal
  • Table
  • Tabs

#2562

🔄 Updated dependencies:

  • @hashicorp/design-system-tokens@2.2.2
  • @hashicorp/flight-icons@3.8.0

@hashicorp/design-system-codemods@0.5.0

13 Dec 20:53
d983221
Compare
Choose a tag to compare

Minor Changes

Update v4/dropdown-list-item-interactive codemod to successfully parse nested content blocks such as conditionals

#2575

@hashicorp/design-system-components@4.14.0

06 Nov 17:20
cd9d4d9
Compare
Choose a tag to compare

4.14.0 documentation

Minor Changes

Dropdown - Added @matchToggleWidth argument

#2530

hds-clipboard - Added clipboard-polyfill to support product usage in non-secure environments; this impacts Copy::Button, Copy::Snippet, CodeBlock, and MaskedInput

#2525

Patch Changes

SideNav - Made a11y related improvements including:

  • Changed List::Title to h3 & added visually hidden h2 to AppSideNav
  • Replaced aria-label for ToggleButton with aria-labelledby and aria-expanded

#2536

Fixed instances where arguments are passed into tracked properties at declaration:

  • MaskedInput
  • TextInput
  • Pagination::Compact
  • Pagination::Numbered
  • SideNav
  • Table
  • Table::ThSelectable
  • Tabs

#2488

SideNav - Fixed bug with hidden panels sometimes causing unnecessary overflow scrolling

#2535

Dropdown - Fixed the height of the chevron in ToggleButton

#2522

@hashicorp/design-system-components@4.13.1

24 Oct 16:45
cbaf155
Compare
Choose a tag to compare

Patch Changes

Hds::Flyout

  • Fixed error in Description and Body subcomponents, caused by not passing the args argument from the constructor to super

Hds::Modal

  • Fixed error in Body subcomponent, caused by not passing the args argument from the constructor to super

#2511

Export TypeScript signatures for all components and modifiers

#2499 - Thanks @aklkv for the contribution! 🙏

Alert - Removed role="alert" and aria-live="polite" attributes from Alerts with color set to "neutral" or "highlight"

#2500

@hashicorp/flight-icons@3.7.0

15 Oct 16:50
d2a2c5a
Compare
Choose a tag to compare

Minor Changes

Confluent icon added

#2505

Updated okta and okta-color to reflect updated branding.

#2489

@hashicorp/design-system-components@4.13.0

15 Oct 16:50
d2a2c5a
Compare
Choose a tag to compare

4.13.0 documentation

Minor Changes

Modal - Added returnFocusTo argument to control where the browser focus is returned once the modal is closed

Flyout - Added returnFocusTo argument to control where the browser focus is returned once the flyout is closed

#2497

CodeBlock - Added lineNumberStart option to set custom starting number for line numbering

#2467

SuperSelect::Multiple - Added @resultCountMessage argument to enable override

#2502

Patch Changes

Dropdown

  • Fixed content being preserved in the DOM when closed
  • Removed the isOpen yielded argument
  • Added @preserveContentInDom to optionally control rendering of the content

#2490

Modal - Fixed isDismissDisabled functionality
Flyout - Removed isDismissDisabled from signature (not an actual argument)

#2485

SuperSelect - Update the the default state of selected list items to Foreground / Primary to match other list items and the Dropdown.

#2479

SuperSelect::Multiple - Fixed placeholder style and layout

#2473

Dropdown - Update the color of the text and icons in the selected state checkmark list item to match the styling of the ListItems (Radio and Checkbox).

#2464

CodeBlock - Decoupled the display of line numbers from highlightLines

#2474

Dropdown - Fixed dropdown content not being preserved when interacted with

#2506

Upgraded ember-style-modifier to 4.4.0

#2482

🔄 Updated dependencies:

  • @hashicorp/flight-icons@3.7.0

@hashicorp/design-system-components@4.12.0

26 Sep 18:14
312af43
Compare
Choose a tag to compare

4.12.0 documentation

Minor Changes

Dropdown - Made the isOpen state available in the yielded block

#2443

Patch Changes

IconTile - Fixed @color argument type signature

#2452

Interactive - Aligned types with LinkTo

#2455

DialogPrimitive - Fixed issue with box-sizing inheritance

Modal/Flyout - Updated box-sizing inheritance via DialogPrimitive fix

#2442

Upgraded eslint-plugin-ember to 12.2.0

AppFooter, AppFrame, SideNav - refactored subcomponents to use TemplateOnlyComponent instead of empty classes.

#2427

RadioCard

  • Fixed selected border colors to match Figma and interactive states.
  • Updated icon, label, and description colors to use disabled-foreground when
    the RadioCard is disabled.

#2445

MaskedInput - Changed textarea scrollbar-width to "thin" to reduce overlap with toggle button.

CodeBlock - Changed textarea scrollbar-width to "thin" to reduce overlap with copy button.

#2444

Removed ember-keyboard dependency

#2460

Tabs - Fixed signatures for subcomponents

#2448

Table - Fixed signatures for subcomponents

#2449

BadgeCount - updated the type of the text argument to allow numbers

TooltipButton - made the default value for the placement argument 'top' and fixed the type definition

TooltipButton - made the extraTippyOptions argument optional and allowed to be a partial object

#2447

DialogPrimitive - added a guard so the yielded close function is always defined'

#2453

Hds::SideNav - Fixed a couple of bugs where SideNav would remain inert when no longer minimized (or would not be inert when minimized)

#2431 - Thanks @DingoEatingFuzz for the contribution! 🙏

Button - aligned type names to convention

#2457

Fixed issue with icon sprite not initiated

#2433 - Thanks @aklkv for the contribution! 🙏

@hashicorp/flight-icons@3.6.0

18 Sep 20:29
9f73cc4
Compare
Choose a tag to compare

Minor Changes

bucket icon added.

#2424