Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a8b2a6e
init commit
zamoore Sep 17, 2025
9750702
`HdsAdvancedTableTh` Remove `@isVisuallyHidden` argument (#3210)
zamoore Sep 19, 2025
626c546
Fix `service` import deprecation (#3181)
zamoore Sep 22, 2025
80ecaa3
Remove deprecated `HdsMenuPrimitive` component (#3224)
zamoore Sep 24, 2025
59b2efd
Remove unneeded sass-related dependencies (#3206)
zamoore Oct 1, 2025
2c62a4e
`HdsDropdownListItemInteractive` - Remove deprecated `@text` argument…
zamoore Oct 1, 2025
26ca2a1
`HdsSideNav` deprecations (#3230)
zamoore Oct 1, 2025
79a8994
Update `ember-try` matrix (#3202)
zamoore Oct 1, 2025
df2bc4d
Update Ember version compatibility (#3264)
zamoore Oct 1, 2025
879c323
Deprecate `HdsModal` and `HdsFlyout` yielded subcomponents (#3222)
zamoore Oct 1, 2025
f5379e3
Remove deprecated `ember-flight-icon` `lazyEmbed` flag (#3272)
zamoore Oct 3, 2025
0571a37
Updated export of icons from Figma (#3269)
hashibot-hds Oct 3, 2025
653bfb2
Add changeset for `volume-2` icon rename (#3276)
zamoore Oct 6, 2025
d5bb005
`ApplicationState` - Remove center alignment rule (#3205)
zamoore Oct 6, 2025
f78d1c4
Remove incorrect `HdsCard` invocation path (#3275)
zamoore Oct 6, 2025
2105ef4
Upgrade `ember-a11y-refocus` to `v5.1.0` (#3234)
shleewhite Oct 7, 2025
55f6c57
Upgrade `ember-stargate` (#3268)
zamoore Oct 10, 2025
8c2f6cd
Add `ember-basic-dropdown` as a peer dependency (#3282)
zamoore Oct 10, 2025
4b846d1
Upgrade `@ember/render-modifiers` (#3294)
zamoore Oct 10, 2025
19a7d03
feat(components): remove `ember-get-config`
aklkv Oct 4, 2025
2e05ab7
feat(website): remove `ember-get-config`
aklkv Oct 4, 2025
4ba8a23
chore(showcase): remove `ember-unique-id-helper-polyfill`
aklkv Oct 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/bitter-baboons-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@hashicorp/design-system-components": major
---

<!-- START components/flyout -->
`Flyout` - Removed deprecated `HdsFlyoutHeader`, `HdsFlyoutBody`, `HdsFlyoutDescription`, and `HdsFlyoutFooter` subcomponents.
<!-- END -->

<!-- START components/modal -->
`Modal` - Removed deprecated `HdsModalHeader`, `HdsModalBody`, and `HdsModalFooter` subcomponents.
<!-- END -->
11 changes: 11 additions & 0 deletions .changeset/cold-worlds-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@hashicorp/design-system-components": major
---

<!-- START components/dropdown -->

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

To migrate run the codemod `v4/dropdown-list-item-interactive` (see [readme file](https://github.com/hashicorp/design-system/tree/main/packages/codemods/transforms/v4/dropdown-list-item-interactive))

<!-- END -->
5 changes: 5 additions & 0 deletions .changeset/dull-showers-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashicorp/design-system-components": major
---

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.
8 changes: 8 additions & 0 deletions .changeset/easy-owls-create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@hashicorp/design-system-components": major
---

<!-- START components/application-state -->

`ApplicationState` - Replaced the default opinionated `margin: 0 auto;` rule from the component's root element and replaced it with a new `@isAutoCentered` argument (which defaults to `true, to preserve the existing centering behavior) to delegate the horizontal alignment control to the consumers, allowing them to disable it when needed.
<!-- END -->
5 changes: 5 additions & 0 deletions .changeset/fluffy-places-ask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashicorp/design-system-components": major
---

Removed support for Ember 3.28. New minimum support target is Ember 4.12.
5 changes: 5 additions & 0 deletions .changeset/full-showers-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashicorp/design-system-components": major
---

- 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.
7 changes: 7 additions & 0 deletions .changeset/hot-owls-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@hashicorp/design-system-components": major
---

<!-- START components/table/advanced-table -->
`AdvancedTable` - Removed the `@isVisuallyHidden` argument from `HdsAdvancedTableTh` component. This setting is supported via setting `isVisuallyHidden` in the corresponding `@columns` item's configuration.
<!-- END -->
11 changes: 11 additions & 0 deletions .changeset/khaki-bananas-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@hashicorp/design-system-components": patch
---

<!-- START components/side-nav -->
`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`.
<!-- END -->

<!-- START components/app-header -->
`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`.
<!-- END -->
5 changes: 5 additions & 0 deletions .changeset/legal-swans-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashicorp/design-system-components": major
---

Removed the deprecated `MenuPrimitive` component
6 changes: 6 additions & 0 deletions .changeset/puny-months-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@hashicorp/design-system-components": major
---

Upgraded `ember-a11y-refocus` dependency to version `5.0`
Upgraded `@glimmer/component` dependency to version `2.0`
6 changes: 6 additions & 0 deletions .changeset/seven-windows-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@hashicorp/design-system-components": major
---
<!-- START components/card -->
`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}}`
<!-- END -->
5 changes: 5 additions & 0 deletions .changeset/solid-dolls-strive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashicorp/flight-icons": major
---

Renamed `volume-2` to `volume-up`.
10 changes: 10 additions & 0 deletions .changeset/spicy-ads-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@hashicorp/design-system-components": major
---

<!-- START components/side-nav -->
`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`
<!-- END -->
7 changes: 7 additions & 0 deletions .changeset/sweet-mangos-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@hashicorp/design-system-components": major
---

<!-- START components/icon -->
`Icon` - Renamed the `volume-2` icon to `volume-up`
<!-- END -->
5 changes: 5 additions & 0 deletions .changeset/young-meals-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashicorp/design-system-components": major
---

Removed support for deprecated `ember-flight-icons` `lazyEmbed` config
7 changes: 3 additions & 4 deletions .github/workflows/ci-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request: {}

env:
NODE_VERSION: '22.x'
NODE_VERSION: "22.x"

concurrency:
group: ci-components-${{ github.head_ref || github.ref }}
Expand All @@ -28,7 +28,7 @@ jobs:
run: ./.github/scripts/filter_changed_files.sh "packages/components" "packages/flight-icons/catalog.json" "showcase" ".github/workflows/ci-components.yml" "packages/tokens"

test:
name: 'Tests'
name: "Tests"
runs-on: ubuntu-latest
needs: [conditional-skip]
if: needs.conditional-skip.outputs.trigger-ci == 'true'
Expand Down Expand Up @@ -63,13 +63,12 @@ jobs:
try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: 'test'
needs: "test"

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.28
- ember-lts-4.12
# - ember-release
- ember-beta
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- TEMPORARY ADDITION SO BRANCH DIVERGES FROM MAIN -->

<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/hashicorp/design-system/assets/788096/5d6969b7-f8b4-4ad3-9ece-b16b4527522e" width="300">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/hashicorp/design-system/assets/788096/8e278094-427f-40cc-912f-9ccd3a0ff879" width="300">
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"pnpm": {
"overrides": {
"@glimmer/component": "^2.0.0",
"ember-composable-helpers": "npm:@nullvoxpopuli/ember-composable-helpers@^5.2.11"
},
"patchedDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ A package containing the components for the Helios Design System.
Compatibility
------------------------------------------------------------------------------

* Ember.js v3.28 or above
* Ember CLI v3.28 or above
* Node.js v16 or above
* Ember.js v4.12 or above
* Ember CLI v4.12 or above
* Node.js v18 or above

Installation
------------------------------------------------------------------------------
Expand Down
20 changes: 6 additions & 14 deletions packages/components/addon-main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,14 @@
*/

const { addonV1Shim } = require('@embroider/addon-shim');
const flightIconSprite = require('@hashicorp/flight-icons/svg-sprite/svg-sprite-module');

module.exports = {
...addonV1Shim(__dirname),
contentFor(type, config) {
const legacyLazyEmbed = config?.emberFlightIcons?.lazyEmbed;

if (
!config.flightIconsSpriteLazyEmbed &&
!legacyLazyEmbed &&
!config.__flightIconsSpriteLoaded &&
type === 'body-footer'
) {
config.__flightIconsSpriteLoaded = true;

return flightIconSprite;
}
options: {
'@embroider/macros': {
setOwnConfig: {
flightIconsSpriteLazyEmbed: true,
},
},
},
};
26 changes: 8 additions & 18 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@codemirror/lint": "^6.8.4",
"@codemirror/state": "^6.5.0",
"@codemirror/view": "^6.36.2",
"@ember/render-modifiers": "^2.1.0",
"@ember/render-modifiers": "^3.0.0",
"@ember/test-waiters": "^3.1.0",
"@embroider/addon-shim": "^1.10.0",
"@embroider/macros": "^1.18.1",
Expand All @@ -58,23 +58,20 @@
"clipboard-polyfill": "^4.1.1",
"codemirror-lang-hcl": "^0.0.0-beta.2",
"decorator-transforms": "^2.3.0",
"ember-a11y-refocus": "^4.1.4",
"ember-cli-sass": "^11.0.1",
"ember-a11y-refocus": "^5.1.0",
"ember-concurrency": "^4.0.4",
"ember-element-helper": "^0.8.6",
"ember-focus-trap": "^1.1.1",
"ember-get-config": "^2.1.1",
"ember-modifier": "^4.2.2",
"ember-power-select": "^8.7.1",
"ember-stargate": "^0.5.0",
"ember-stargate": "^1.0.2",
"ember-style-modifier": "^4.4.0",
"ember-truth-helpers": "^4.0.3",
"luxon": "^3.4.2",
"prismjs": "^1.30.0",
"sass": "^1.83.0",
"tracked-built-ins": "^4.0.0",
"tabbable": "^6.2.0",
"tippy.js": "^6.3.7"
"tippy.js": "^6.3.7",
"tracked-built-ins": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.27.1",
Expand All @@ -85,7 +82,7 @@
"@ember/test-helpers": "^4.0.4",
"@embroider/addon-dev": "^7.1.5",
"@eslint/js": "^9.23.0",
"@glimmer/component": "^1.1.2",
"@glimmer/component": "^2.0.0",
"@glint/core": "^1.5.2",
"@glint/environment-ember-loose": "^1.5.2",
"@glint/environment-ember-template-imports": "^1.5.2",
Expand Down Expand Up @@ -113,6 +110,7 @@
"rollup": "^4.39.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-scss": "^4.0.1",
"sass": "^1.89.2",
"stylelint": "^16.17.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard-scss": "^14.0.0",
Expand All @@ -122,6 +120,7 @@
},
"peerDependencies": {
"@ember/string": "^3.1.1 || ^4.0.0",
"ember-basic-dropdown": "^7.3.0 || ^8.6.1",
"ember-engines": ">= 0.11.0",
"ember-intl": "^7.3.0"
},
Expand Down Expand Up @@ -236,10 +235,6 @@
"./components/hds/dropdown/toggle/button.js": "./dist/_app_/components/hds/dropdown/toggle/button.js",
"./components/hds/dropdown/toggle/chevron.js": "./dist/_app_/components/hds/dropdown/toggle/chevron.js",
"./components/hds/dropdown/toggle/icon.js": "./dist/_app_/components/hds/dropdown/toggle/icon.js",
"./components/hds/flyout/body.js": "./dist/_app_/components/hds/flyout/body.js",
"./components/hds/flyout/description.js": "./dist/_app_/components/hds/flyout/description.js",
"./components/hds/flyout/footer.js": "./dist/_app_/components/hds/flyout/footer.js",
"./components/hds/flyout/header.js": "./dist/_app_/components/hds/flyout/header.js",
"./components/hds/flyout.js": "./dist/_app_/components/hds/flyout.js",
"./components/hds/form/character-count.js": "./dist/_app_/components/hds/form/character-count.js",
"./components/hds/form/checkbox/base.js": "./dist/_app_/components/hds/form/checkbox/base.js",
Expand Down Expand Up @@ -305,10 +300,6 @@
"./components/hds/layout/grid/item.js": "./dist/_app_/components/hds/layout/grid/item.js",
"./components/hds/link/inline.js": "./dist/_app_/components/hds/link/inline.js",
"./components/hds/link/standalone.js": "./dist/_app_/components/hds/link/standalone.js",
"./components/hds/menu-primitive.js": "./dist/_app_/components/hds/menu-primitive.js",
"./components/hds/modal/body.js": "./dist/_app_/components/hds/modal/body.js",
"./components/hds/modal/footer.js": "./dist/_app_/components/hds/modal/footer.js",
"./components/hds/modal/header.js": "./dist/_app_/components/hds/modal/header.js",
"./components/hds/modal.js": "./dist/_app_/components/hds/modal.js",
"./components/hds/page-header/actions.js": "./dist/_app_/components/hds/page-header/actions.js",
"./components/hds/page-header/badges.js": "./dist/_app_/components/hds/page-header/badges.js",
Expand All @@ -333,7 +324,6 @@
"./components/hds/separator.js": "./dist/_app_/components/hds/separator.js",
"./components/hds/side-nav/base.js": "./dist/_app_/components/hds/side-nav/base.js",
"./components/hds/side-nav/header/home-link.js": "./dist/_app_/components/hds/side-nav/header/home-link.js",
"./components/hds/side-nav/header/icon-button.js": "./dist/_app_/components/hds/side-nav/header/icon-button.js",
"./components/hds/side-nav/header.js": "./dist/_app_/components/hds/side-nav/header.js",
"./components/hds/side-nav.js": "./dist/_app_/components/hds/side-nav.js",
"./components/hds/side-nav/list/back-link.js": "./dist/_app_/components/hds/side-nav/list/back-link.js",
Expand Down
4 changes: 0 additions & 4 deletions packages/components/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ export { default as HdsSideNav } from './components/hds/side-nav/index.ts';
export { default as HdsSideNavBase } from './components/hds/side-nav/base.ts';
export { default as HdsSideNavHeader } from './components/hds/side-nav/header/index.ts';
export { default as HdsSideNavHeaderHomeLink } from './components/hds/side-nav/header/home-link.ts';
export { default as HdsSideNavHeaderIconButton } from './components/hds/side-nav/header/icon-button.ts';
export { default as HdsSideNavList } from './components/hds/side-nav/list/index.ts';
export { default as HdsSideNavListBackLink } from './components/hds/side-nav/list/back-link.ts';
export { default as HdsSideNavListItem } from './components/hds/side-nav/list/item.ts';
Expand Down Expand Up @@ -390,8 +389,5 @@ export { default as HdsDismissButton } from './components/hds/dismiss-button/ind
// Interactive
export { default as HdsInteractive } from './components/hds/interactive/index.ts';

// MenuPrimitive
export { default as HdsMenuPrimitive } from './components/hds/menu-primitive/index.ts';

// PopoverPrimitive
export { default as HdsPopoverPrimitive } from './components/hds/popover-primitive/index.ts';
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
@isExpandable={{column.isExpandable}}
@isStickyColumn={{this._isStickyColumn column}}
@isStickyColumnPinned={{this.isStickyColumnPinned}}
@isVisuallyHidden={{column.isVisuallyHidden}}
@tableHeight={{this._tableHeight}}
@tooltip={{column.tooltip}}
@onClickToggle={{this._tableModel.toggleAll}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { action } from '@ember/object';
import { modifier } from 'ember-modifier';
import { requestAnimationFrameWaiter } from './utils.ts';
import { BORDER_WIDTH } from './index.ts';
import type Owner from '@ember/owner';

import type HdsAdvancedTableColumn from './models/column.ts';
import type { HdsAdvancedTableSignature } from './index.ts';
Expand Down Expand Up @@ -90,7 +91,7 @@ export default class HdsAdvancedTableThResizeHandle extends Component<HdsAdvance
);

constructor(
owner: unknown,
owner: Owner,
args: HdsAdvancedTableThResizeHandleSignature['Args']
) {
super(owner, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export interface HdsAdvancedTableThSignature {
isExpandable?: boolean;
isStickyColumn?: boolean;
isStickyColumnPinned?: boolean;
isVisuallyHidden?: boolean;
newLabel?: string;
parentId?: string;
rowspan?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
...attributes
>
{{#if (and this.hasA11yRefocus (not this._isOpen))}}
{{! @glint-expect-error - `ember-a11y-refocus` doesn't expose types yet }}
<NavigationNarrator
@routeChangeValidator={{@a11yRefocusRouteChangeValidator}}
@skipTo={{this.a11yRefocusSkipTo}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { guidFor } from '@ember/object/internals';
import { tracked } from '@glimmer/tracking';
import { registerDestructor } from '@ember/destroyable';
import type Owner from '@ember/owner';
import type { NavigationNarratorSignature } from 'ember-a11y-refocus/components/navigation-narrator';

import { hdsBreakpoints } from '../../../utils/hds-breakpoints.ts';

Expand All @@ -19,7 +20,7 @@ export interface HdsAppHeaderSignature {
a11yRefocusSkipTo?: string;
a11yRefocusSkipText?: string;
a11yRefocusNavigationText?: string;
a11yRefocusRouteChangeValidator?: string;
a11yRefocusRouteChangeValidator?: NavigationNarratorSignature['Args']['routeChangeValidator'];
a11yRefocusExcludeAllQueryParams?: boolean;
};
Blocks: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
import { macroCondition, isTesting } from '@embroider/macros';
Expand Down
Loading
Loading