diff --git a/.changeset/brave-owls-jump.md b/.changeset/brave-owls-jump.md deleted file mode 100644 index 9b974b7fe44..00000000000 --- a/.changeset/brave-owls-jump.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@hashicorp/design-system-components": minor ---- - - -`PopoverPrimitive` - Added support for dynamic swap/injection of the toggle element. - diff --git a/.changeset/loud-readers-sneeze.md b/.changeset/loud-readers-sneeze.md deleted file mode 100644 index e38a82299fc..00000000000 --- a/.changeset/loud-readers-sneeze.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - - -`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. - diff --git a/.changeset/mean-ghosts-repeat.md b/.changeset/mean-ghosts-repeat.md deleted file mode 100644 index 15011057239..00000000000 --- a/.changeset/mean-ghosts-repeat.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@hashicorp/design-system-tokens": major ---- - -- 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 diff --git a/.changeset/wet-files-joke.md b/.changeset/wet-files-joke.md deleted file mode 100644 index 1aeb5e22a37..00000000000 --- a/.changeset/wet-files-joke.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@hashicorp/design-system-components": minor ---- - - -`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. - diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 0744c84a455..b806c09b704 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,12 +1,54 @@ # @hashicorp/design-system-components -## 4.23.1 +## 4.24.0 + +[4.24.0 documentation](https://hds-website-4-24-0.vercel.app/) + +### Minor Changes + + +`PopoverPrimitive` - Added support for dynamic swap/injection of the toggle element. + + +[#3189](https://github.com/hashicorp/design-system/pull/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](https://github.com/hashicorp/design-system/pull/2997) + +
### Patch Changes -`Stepper::Nav` - Fixed bug with stacking context styles causing step content's z-index to not work as expected +`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](https://github.com/hashicorp/design-system/pull/3150) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏 + +
+**🔄 Updated dependencies:** + +- @hashicorp/design-system-tokens@3.0.0 + +## 4.23.1 + +### Patch Changes + +`Stepper::Nav` - Fixed bug with stacking context styles causing step content's z-index to not work as expected [#3176](https://github.com/hashicorp/design-system/pull/3176) diff --git a/packages/components/package.json b/packages/components/package.json index a99475c364a..6112a99e819 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@hashicorp/design-system-components", - "version": "4.23.1", + "version": "4.24.0", "description": "Helios Design System Components", "keywords": [ "hashicorp", @@ -51,7 +51,7 @@ "@embroider/macros": "^1.18.1", "@embroider/util": "^1.13.4", "@floating-ui/dom": "^1.6.12", - "@hashicorp/design-system-tokens": "workspace:^2.3.1", + "@hashicorp/design-system-tokens": "workspace:^3.0.0", "@hashicorp/flight-icons": "workspace:^3.13.0", "@lezer/highlight": "^1.2.1", "@nullvoxpopuli/ember-composable-helpers": "^5.2.11", diff --git a/packages/tokens/CHANGELOG.md b/packages/tokens/CHANGELOG.md index 12c11eb852b..c9f90bd0025 100644 --- a/packages/tokens/CHANGELOG.md +++ b/packages/tokens/CHANGELOG.md @@ -1,5 +1,20 @@ # @hashicorp/design-system-tokens +## 3.0.0 + +### 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](https://github.com/hashicorp/design-system/pull/3138) + +
+ ## 2.3.1 ### Patch Changes diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 2fb0511ed43..febd7214d48 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -1,6 +1,6 @@ { "name": "@hashicorp/design-system-tokens", - "version": "2.3.1", + "version": "3.0.0", "description": "Helios Design Tokens", "keywords": [ "hashicorp", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 841dc44c493..86152a1465d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -118,7 +118,7 @@ importers: specifier: ^1.6.12 version: 1.7.3 '@hashicorp/design-system-tokens': - specifier: workspace:^2.3.1 + specifier: workspace:^3.0.0 version: link:../tokens '@hashicorp/flight-icons': specifier: workspace:^3.13.0 @@ -2842,7 +2842,6 @@ packages: '@hashicorp/design-system-tokens@file:packages/tokens': resolution: {directory: packages/tokens, type: directory} - engines: {node: '>= 22'} '@hashicorp/flight-icons@file:packages/flight-icons': resolution: {directory: packages/flight-icons, type: directory} diff --git a/website/cspell-config/project-words.txt b/website/cspell-config/project-words.txt index 16f360a6865..93ba125486d 100644 --- a/website/cspell-config/project-words.txt +++ b/website/cspell-config/project-words.txt @@ -68,6 +68,7 @@ wireframing workramp nullvoxpopuli reorderable +DTCG # Component-specific dont diff --git a/website/docs/components/app-header/index.md b/website/docs/components/app-header/index.md index c63677ae948..e41291d82b5 100644 --- a/website/docs/components/app-header/index.md +++ b/website/docs/components/app-header/index.md @@ -21,8 +21,6 @@ navigation: - navbar - menubar - topbar -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/button/index.md b/website/docs/components/button/index.md index 97390f76d71..f68e56db2ed 100644 --- a/website/docs/components/button/index.md +++ b/website/docs/components/button/index.md @@ -19,8 +19,6 @@ navigation: keywords: - action - link -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/card/index.md b/website/docs/components/card/index.md index 5ca49c0a228..6a0e6a6d483 100644 --- a/website/docs/components/card/index.md +++ b/website/docs/components/card/index.md @@ -13,8 +13,6 @@ navigation: - tile - container - box -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/code-editor/index.md b/website/docs/components/code-editor/index.md index 5d8402a7e5e..0899003480a 100644 --- a/website/docs/components/code-editor/index.md +++ b/website/docs/components/code-editor/index.md @@ -28,8 +28,6 @@ navigation: - syntax - highlight - block -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/dropdown/index.md b/website/docs/components/dropdown/index.md index ea54c8b07fa..54e934d31ee 100644 --- a/website/docs/components/dropdown/index.md +++ b/website/docs/components/dropdown/index.md @@ -19,8 +19,6 @@ navigation: - menu - action menu - list -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/form/file-input/index.md b/website/docs/components/form/file-input/index.md index 014436ab36b..09c685c378d 100644 --- a/website/docs/components/form/file-input/index.md +++ b/website/docs/components/form/file-input/index.md @@ -16,8 +16,6 @@ navigation: - upload - input - form -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/form/key-value-inputs/index.md b/website/docs/components/form/key-value-inputs/index.md index 7f44ea0cb19..7a16d9fbee7 100644 --- a/website/docs/components/form/key-value-inputs/index.md +++ b/website/docs/components/form/key-value-inputs/index.md @@ -20,6 +20,8 @@ navigation: - pair - input - form +status: + updated: 4.24.0 ---
diff --git a/website/docs/components/form/key-value-inputs/partials/version-history/version-history.md b/website/docs/components/form/key-value-inputs/partials/version-history/version-history.md index 6d840258c2b..faf300cbb1e 100644 --- a/website/docs/components/form/key-value-inputs/partials/version-history/version-history.md +++ b/website/docs/components/form/key-value-inputs/partials/version-history/version-history.md @@ -1,3 +1,8 @@ +## 4.24.0 + +Update the data and returned `R.rowData` to use generic types, so the type of the data is retained. + + ## 4.21.0 Added component and related sub-components. diff --git a/website/docs/components/icon-tile/index.md b/website/docs/components/icon-tile/index.md index b1cfab99cdc..6eaf0b70102 100644 --- a/website/docs/components/icon-tile/index.md +++ b/website/docs/components/icon-tile/index.md @@ -12,8 +12,6 @@ navigation: keywords: - symbol - logo -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/rich-tooltip/index.md b/website/docs/components/rich-tooltip/index.md index 07ed0e07ca9..b9ce5c7cc19 100644 --- a/website/docs/components/rich-tooltip/index.md +++ b/website/docs/components/rich-tooltip/index.md @@ -20,8 +20,6 @@ navigation: - popover - popup - modal -status: - updated: 4.23.0 ---
diff --git a/website/docs/components/stepper/nav/index.md b/website/docs/components/stepper/nav/index.md index 6b5f53781e3..5a7758ded1e 100644 --- a/website/docs/components/stepper/nav/index.md +++ b/website/docs/components/stepper/nav/index.md @@ -22,8 +22,6 @@ navigation: - tracker - list - indicator -status: - updated: 4.23.1 ---
diff --git a/website/docs/components/table/advanced-table/index.md b/website/docs/components/table/advanced-table/index.md index e22f4e78ece..d9e27e4d4b0 100644 --- a/website/docs/components/table/advanced-table/index.md +++ b/website/docs/components/table/advanced-table/index.md @@ -22,7 +22,7 @@ navigation: - list order: 101 status: - updated: 4.23.0 + updated: 4.24.0 ---
diff --git a/website/docs/components/table/advanced-table/partials/version-history/version-history.md b/website/docs/components/table/advanced-table/partials/version-history/version-history.md index 6d90e050a20..57ab913649f 100644 --- a/website/docs/components/table/advanced-table/partials/version-history/version-history.md +++ b/website/docs/components/table/advanced-table/partials/version-history/version-history.md @@ -1,3 +1,12 @@ +## 4.24.0 + +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. + ## 4.23.0 Added features and fixed issues for column pinning including: diff --git a/website/docs/components/table/table/index.md b/website/docs/components/table/table/index.md index ebface1b040..c82c68d3a5b 100644 --- a/website/docs/components/table/table/index.md +++ b/website/docs/components/table/table/index.md @@ -21,6 +21,8 @@ navigation: - grid - list order: 100 +status: + updated: 4.24.0 ---
diff --git a/website/docs/components/table/table/partials/version-history/version-history.md b/website/docs/components/table/table/partials/version-history/version-history.md index c5a0596a27c..3476293978e 100644 --- a/website/docs/components/table/table/partials/version-history/version-history.md +++ b/website/docs/components/table/table/partials/version-history/version-history.md @@ -1,3 +1,8 @@ +## 4.24.0 + +Update the model and returned `B.data` to use generic types, so the type of the data is retained. + + ## 4.22.0 Updated `@isSelected` argument type from `false` to `boolean` diff --git a/website/docs/utilities/popover-primitive/index.md b/website/docs/utilities/popover-primitive/index.md index 442438e968e..1b76ed364ae 100644 --- a/website/docs/utilities/popover-primitive/index.md +++ b/website/docs/utilities/popover-primitive/index.md @@ -24,7 +24,7 @@ navigation: - detection - bubble status: - updated: 4.23.0 + updated: 4.24.0 ---
diff --git a/website/docs/utilities/popover-primitive/partials/version-history/version-history.md b/website/docs/utilities/popover-primitive/partials/version-history/version-history.md index e74f9b88114..561d768796d 100644 --- a/website/docs/utilities/popover-primitive/partials/version-history/version-history.md +++ b/website/docs/utilities/popover-primitive/partials/version-history/version-history.md @@ -1,3 +1,8 @@ +## 4.24.0 + +Added support for dynamic swap/injection of the toggle element. + + ## 4.23.0 Updated the type of the `hidePopover` callback to allow an optional event to be passed. diff --git a/website/docs/whats-new/release-notes/partials/components.md b/website/docs/whats-new/release-notes/partials/components.md index 19c9d5dd48d..8c2663a4b98 100644 --- a/website/docs/whats-new/release-notes/partials/components.md +++ b/website/docs/whats-new/release-notes/partials/components.md @@ -12,13 +12,55 @@

-## 4.23.1 +## 4.24.0 + +[4.24.0 documentation](https://hds-website-4-24-0.vercel.app/) + +**Minor changes** + + +`PopoverPrimitive` - Added support for dynamic swap/injection of the toggle element. + + + + +
+ + +`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. + + + +
**Patch changes** -`Stepper::Nav` - Fixed bug with stacking context styles causing step content's z-index to not work as expected +`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. + + + + +
+ +**🔄 Updated dependencies:** + +- @hashicorp/design-system-tokens@3.0.0 + +## 4.23.1 + +**Patch changes** + +`Stepper::Nav` - Fixed bug with stacking context styles causing step content's z-index to not work as expected @@ -1423,77 +1465,6 @@ Fixed issue with icon sprite not initiated
-## 4.11.0 - -[4.11.0 documentation](https://hds-website-4-11-0.vercel.app/) - -**Minor changes** - -`Hds::Table` - -- Added `@selectableColumnKey` argument which enables sorting by row selection state and specifies the corresponding selection state key. - -`Hds::Table::Tr` - -- Added `@selectableColumnKey` argument which enables sorting by row selection state and specifies the corresponding selection state key. -- Added `@sortBySelectedOrder` argument which determines the state of the sort button in the selected item column. -- Added `@onClickSortBySelected` argument which is the callback for the sort button in the selected item column. - -`Hds::Table::ThSelectable` - -- Added `@onClickSortBySelected` argument which is the callback for the sort button in the selected item column. -- Added `@sortBySelectedOrder` argument which determines the state of the sort button in the selected item column. - - - -
- -**Patch changes** - -`SideNav`: remove usage of `Ember.testing` because it is deprecated. - - - -
- -`CopyButton` - Updated icon colors to match interactive states of the component. - -`CopySnippet` - Prevent the color from adhering to interactive states when -status is `success` or `error`. - -`Stepper` - Updated to use semantic token over palette token in -`Stepper::Indicator::Step`. - - - -
- -`Dropdown`, `RadioCard`, `SuperSelect`, `Stepper`, `Table` - Fixed optional arguments in signatures - - - -
- -`Dropdown::Toggle::Chevron` - fix subcomponent signature - -`hds-clipboard` modifier - extend error when copy action fails - - - -
- -`Hds::Pagination::Compact` & `Hds::Pagination::Numbered` - -- Added assertion and more strict typing to ensure that a routing argument (`@model`, `@models`, or `@route`) are present when using `@onPageChange` to control routing. - - - -
- -**🔄 Updated dependencies:** - -- @hashicorp/flight-icons@3.6.0 - --- diff --git a/website/docs/whats-new/release-notes/partials/design-tokens.md b/website/docs/whats-new/release-notes/partials/design-tokens.md index 3789dab60d7..bbe1290adeb 100644 --- a/website/docs/whats-new/release-notes/partials/design-tokens.md +++ b/website/docs/whats-new/release-notes/partials/design-tokens.md @@ -12,6 +12,21 @@

+## 3.0.0 + +**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._ + + + +
+ ## 2.3.1 **Patch changes** @@ -199,18 +214,6 @@ Added design tokens for indeterminate `Checkbox` -## 1.2.0 - -**Minor changes** - -- [#629](https://github.com/hashicorp/design-system/pull/629) [`a079992f`](https://github.com/hashicorp/design-system/commit/a079992fbbed11812fcf4cdd4409a00fa2d246f1) Thanks [@didoo](https://github.com/didoo)! - added component-level design tokens for `Tabs` component - -* [#646](https://github.com/hashicorp/design-system/pull/646) [`ecbe26df`](https://github.com/hashicorp/design-system/commit/ecbe26df6bdbaf7b4f00c70d016eead0da9168f0) Thanks [@jorytindall](https://github.com/jorytindall)! - Updated the box-shadow values for overlay tokens. - -**Patch changes** - -- [#636](https://github.com/hashicorp/design-system/pull/636) [`27a283a5`](https://github.com/hashicorp/design-system/commit/27a283a52c2828b32c282401f91df9bd929f9dda) Thanks [@Dhaulagiri](https://github.com/Dhaulagiri)! - Add copyright notice to license file - ---