Skip to content

Commit 69bea65

Browse files
hashibot-hdsgithub-actions[bot]zamoore
authored
Version Packages (#3069)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Zack Moore <[email protected]>
1 parent a6473fa commit 69bea65

File tree

51 files changed

+297
-280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+297
-280
lines changed

.changeset/beige-seas-add.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/early-years-jog.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

.changeset/eight-lies-bathe.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/mean-paws-travel.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/rare-items-repeat.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/tiny-kids-speak.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/components/CHANGELOG.md

Lines changed: 72 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,89 @@
11
# @hashicorp/design-system-components
22

3-
## 4.21.1
3+
## 4.22.0
44

5-
[4.20.1 documentation](https://hds-website-4-20-1.vercel.app/)
5+
[4.22.0 documentation](https://hds-website-4-22-0.vercel.app/)
6+
7+
### Minor Changes
8+
9+
Added `ember-intl` as a dependency
10+
11+
- Added `hdsIntl` service for translations in HDS components with default fallback values
12+
- Added `hds-t` helper which uses the `hds-intl` service to provide translations in HSD templates
13+
14+
`AdvancedTable` - Translated template strings. Removed extraneous screen-reader-only text.
15+
16+
`AppFooter` - Translated template strings
17+
18+
`AppSideNav` - Translated template strings
19+
20+
`ApplicationState` - Translated template strings
21+
22+
`CodeEditor` - Translated template strings
23+
24+
`DismissButton` - Translated template strings
25+
26+
`MaskedInput` - Translated template strings
27+
28+
`SuperSelect` - Translated template strings
29+
30+
`Pagination` - Translated template strings
31+
32+
`SideNav` - Translated template strings
33+
34+
`Table` - Translated template strings
35+
36+
`Time` - Translated template strings
37+
38+
<small class="doc-whats-new-changelog-metadata">[#2878](https://github.com/hashicorp/design-system/pull/2878)</small>
39+
40+
<div class="doc-whats-new-changelog-separator"></div>
41+
42+
`Reveal` - Added support for the `aria-describedby` attribute on the toggle.
43+
44+
<small class="doc-whats-new-changelog-metadata">[#3084](https://github.com/hashicorp/design-system/pull/3084)</small>
45+
46+
<div class="doc-whats-new-changelog-separator"></div>
647

748
### Patch Changes
849

50+
`AppHeader` - Changed the default breakpoint from `lg` to `md`.
951

10-
`AdvancedTable` - Removed `ember-math-helpers` dev dependency
52+
<small class="doc-whats-new-changelog-metadata">[#3072](https://github.com/hashicorp/design-system/pull/3072)</small>
1153

54+
<div class="doc-whats-new-changelog-separator"></div>
1255

13-
<small class="doc-whats-new-changelog-metadata">[#3043](https://github.com/hashicorp/design-system/pull/3043)</small>
56+
`Stepper::List` - Fixed type for `status` argument in `List::Step` to be `HdsStepperStatuses` instead of enum `HdsStepperStatusesValues`
57+
58+
<small class="doc-whats-new-changelog-metadata">[#3073](https://github.com/hashicorp/design-system/pull/3073)</small>
1459

1560
<div class="doc-whats-new-changelog-separator"></div>
1661

62+
`AdvancedTable::Tr` - Updated `@isSelected` argument type from `false` to `boolean`
1763

18-
`Form::RadioCard` - Fixed styling bug where hover styles were visible when disabled
64+
`Table::Tr` - Updated `@isSelected` argument type from `false` to `boolean`
1965

66+
<small class="doc-whats-new-changelog-metadata">[#3066](https://github.com/hashicorp/design-system/pull/3066)</small>
67+
68+
<div class="doc-whats-new-changelog-separator"></div>
69+
70+
`CodeEditor` - Fixed the type of the CodeEditor signature to indicate that the `[CE].Title` and `[CE].Description` have bound arguments.
71+
72+
<small class="doc-whats-new-changelog-metadata">[#3068](https://github.com/hashicorp/design-system/pull/3068)</small>
73+
74+
<div class="doc-whats-new-changelog-separator"></div>
75+
76+
## 4.21.1
77+
78+
### Patch Changes
79+
80+
`AdvancedTable` - Removed `ember-math-helpers` dev dependency
81+
82+
<small class="doc-whats-new-changelog-metadata">[#3043](https://github.com/hashicorp/design-system/pull/3043)</small>
83+
84+
<div class="doc-whats-new-changelog-separator"></div>
85+
86+
`Form::RadioCard` - Fixed styling bug where hover styles were visible when disabled
2087

2188
<small class="doc-whats-new-changelog-metadata">[#3000](https://github.com/hashicorp/design-system/pull/3000)</small>
2289

@@ -28,72 +95,54 @@ Make `@ember/string` a peerDependency to allow consuming apps to choose to use `
2895

2996
<div class="doc-whats-new-changelog-separator"></div>
3097

31-
3298
`Form::SuperSelect` - fix type for the `@resultCountMessage` argument so it can accept a string or a function.
3399

34-
35100
<small class="doc-whats-new-changelog-metadata">[#3008](https://github.com/hashicorp/design-system/pull/3008)</small>
36101

37102
<div class="doc-whats-new-changelog-separator"></div>
38103

39-
40104
`AppSideNav::List::Link` - Applied transparent background to the element to avoid overlapping with previous item's focus ring
41105

42-
43106
<small class="doc-whats-new-changelog-metadata">[#3032](https://github.com/hashicorp/design-system/pull/3032)</small>
44107

45108
<div class="doc-whats-new-changelog-separator"></div>
46109

47-
48110
`AdvancedTable` - Make the `@hasResizableColumns` argument optional for the `ThSort` component.
49111

50-
51112
<small class="doc-whats-new-changelog-metadata">[#3051](https://github.com/hashicorp/design-system/pull/3051)</small>
52113

53114
<div class="doc-whats-new-changelog-separator"></div>
54115

55-
56116
`PopoverPrimitive` - Updated type of the `anchoredPositionOptions` object in the `setUpPrimitivePopover` modifier to include `arrowSelector` from the `hds-anchored-position` modifier.
57117

58-
59118
<small class="doc-whats-new-changelog-metadata">[#3005](https://github.com/hashicorp/design-system/pull/3005)</small>
60119

61120
<div class="doc-whats-new-changelog-separator"></div>
62121

63-
64122
`AppSideNav::List::Link` - Removed extra transparent border and background when rendered as a `<button>` element
65123

66-
67-
68124
`SideNav::List::Link` - Removed extra transparent border when rendered as a `<button>` element
69125

70-
71126
<small class="doc-whats-new-changelog-metadata">[#3026](https://github.com/hashicorp/design-system/pull/3026)</small>
72127

73128
<div class="doc-whats-new-changelog-separator"></div>
74129

75-
76130
`Tag` - Fixed a performance issue when many tags are present on a page caused by the ResizeObserver
77131

78-
79132
Dependencies - Added `tracked-built-ins`
80133

81134
<small class="doc-whats-new-changelog-metadata">[#3033](https://github.com/hashicorp/design-system/pull/3033) - Thanks [@meirish](https://github.com/meirish) for the contribution! 🙏</small>
82135

83136
<div class="doc-whats-new-changelog-separator"></div>
84137

85-
86138
`AppSideNav::Panel` - Fixed issue causing the focus ring of the first and last items within the Panel to be cut off
87139

88-
89140
<small class="doc-whats-new-changelog-metadata">[#3045](https://github.com/hashicorp/design-system/pull/3045)</small>
90141

91142
<div class="doc-whats-new-changelog-separator"></div>
92143

93-
94144
`AppHeader` - return `close` callback to the `:globalActions` and `:utilityActions` named blocks so the menu actions can be hidden programmatically when the component is in a mobile view.
95145

96-
97146
<small class="doc-whats-new-changelog-metadata">[#3031](https://github.com/hashicorp/design-system/pull/3031)</small>
98147

99148
<div class="doc-whats-new-changelog-separator"></div>
@@ -3107,12 +3156,10 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
31073156
- [#1444](https://github.com/hashicorp/design-system/pull/1444) [`5a4d036e1`](https://github.com/hashicorp/design-system/commit/5a4d036e1dd349dfde1b1f8e278d332fac7abe7e) Thanks [@MelSumner](https://github.com/MelSumner)! - Internal accessibility tweaks for dropdown component
31083157

31093158
- [#1395](https://github.com/hashicorp/design-system/pull/1395) [`e6e0c22c5`](https://github.com/hashicorp/design-system/commit/e6e0c22c538e381f4a97428dc35cf1295ce6ae21) Thanks [@alex-ju](https://github.com/alex-ju)! - Upgraded Ember.js to latest stable release 4.12, including upgrades to:
3110-
31113159
- `ember-auto-import` from `2.6.0` to `2.6.3`
31123160
- `ember-cli-htmlbars` from `6.1.0` to `6.2.0`
31133161

31143162
Upgraded the following dependencies:
3115-
31163163
- `ember-focus-trap` from `1.0.1` to `1.0.2`
31173164
- `ember-keyboard` from `8.1.0` to `8.2.0`
31183165
- `ember-truth-helpers` from `3.0.0` to `3.1.1`
@@ -3123,7 +3170,6 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
31233170
- [#1425](https://github.com/hashicorp/design-system/pull/1425) [`921aa03b9`](https://github.com/hashicorp/design-system/commit/921aa03b95f56da21e794ee62ecc96019f5c4bb7) Thanks [@didoo](https://github.com/didoo)! - `Table` - Set `min-height` instead of `height` for the table head cells + Updated the cells' internal padding to align with the design specs in Figma
31243171

31253172
- [#1433](https://github.com/hashicorp/design-system/pull/1433) [`9aa5291d1`](https://github.com/hashicorp/design-system/commit/9aa5291d187bc867baf7c069c9dd17856cb5f79f) Thanks [@didoo](https://github.com/didoo)! - - Updated CSS code of components to use flex `gap`
3126-
31273173
- Fixed an issue with `Hds::Sidenav::Link` that was generating an empty node
31283174

31293175
This will lead to a minimal visual impact on some edge cases of `Alert/Toast` (multiple description items) and `SideNav` (text + generic content)
@@ -3229,7 +3275,6 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
32293275
### Minor Changes
32303276

32313277
- [#1283](https://github.com/hashicorp/design-system/pull/1283) [`d0ae66503`](https://github.com/hashicorp/design-system/commit/d0ae665033e6b83a65c2dcde8630985f76872901) Thanks [@KristinLBradley](https://github.com/KristinLBradley)! - - Add new `TooltipButton` component and `hds-tooltip` modifier
3232-
32333278
- Add design tokens for `Tooltip`
32343279

32353280
- [#1316](https://github.com/hashicorp/design-system/pull/1316) [`5763ffbca`](https://github.com/hashicorp/design-system/commit/5763ffbca564d3a23b8a497393acc43729d92de8) Thanks [@alex-ju](https://github.com/alex-ju)! - Add `SegmentedGroup` component
@@ -3289,7 +3334,6 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
32893334
- [#1185](https://github.com/hashicorp/design-system/pull/1185) [`a883e7fd7`](https://github.com/hashicorp/design-system/commit/a883e7fd763ae7a93ecc5ef3d49ed0230b48ea11) Thanks [@alex-ju](https://github.com/alex-ju)! - Add `Checkmark`, `Checkbox` and `Radio` as `Hds::Dropdown::ListItem`s
32903335

32913336
Rename `Hds::Dropdown::ListItem` internal CSS classes as follows:
3292-
32933337
- `hds-dropdown-list-item--copy-item``hds-dropdown-list-item--variant-copy-item`
32943338
- `hds-dropdown-list-item--description``hds-dropdown-list-item--variant-description`
32953339
- `hds-dropdown-list-item--generic``hds-dropdown-list-item--variant-generic`
@@ -3304,7 +3348,6 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
33043348
Rename `Hds::Dropdown` internal CSS class `hds-dropdown-list``hds-dropdown__list`
33053349

33063350
The `hds-dropdown__list` element is now wrapped in a `hds-dropdown__content` element to accommodate the new header and footer elements. As a result, the following modifiers will be applied to the wrapper element.
3307-
33083351
- `hds-dropdown-list--fixed-width``hds-dropdown__content--fixed-width`
33093352
- `hds-dropdown-list--position-left``hds-dropdown__content--position-left`
33103353
- `hds-dropdown-list--position-right``hds-dropdown__content--position-right`
@@ -3314,7 +3357,6 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
33143357
- [#1266](https://github.com/hashicorp/design-system/pull/1266) [`082842b59`](https://github.com/hashicorp/design-system/commit/082842b59321f843c4955e4cdaf2ce2674a8913d) Thanks [@alex-ju](https://github.com/alex-ju)! - Add `@icon`, `@count`, `@badge` and `@badgeCount` to `Dropdown::Toggle::Button`
33153358

33163359
`Hds::Dropdown::Toggle::Button` and `Hds::Dropdown::Toggle::Icon` now share the chevron element. As a result, we renamed internal CSS classes as follows:
3317-
33183360
- `hds-button__text``hds-dropdown-toggle-button__text`
33193361
- `hds-button__icon``hds-dropdown-toggle-chevron`
33203362

@@ -3329,7 +3371,6 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
33293371
- [#1276](https://github.com/hashicorp/design-system/pull/1276) [`5ad29412d`](https://github.com/hashicorp/design-system/commit/5ad29412d2edc0cc4265d3c0bbbf388e821f1cc7) Thanks [@alex-ju](https://github.com/alex-ju)! - Allow small `@size` on `Dropdown::Toggle::Icon`
33303372

33313373
- [#1262](https://github.com/hashicorp/design-system/pull/1262) [`3eb78b8de`](https://github.com/hashicorp/design-system/commit/3eb78b8de7c678cff977c9d3a677c47a3216caad) Thanks [@alex-ju](https://github.com/alex-ju)! - Add new `@listPositions` for `Dropdown` as follows:
3332-
33333374
- `bottom-left`
33343375
- `bottom-right` (default)
33353376
- `top-left`
@@ -3376,7 +3417,6 @@ Fix Embroider warnings caused by incorrect export of internal utility functions
33763417
- [#1201](https://github.com/hashicorp/design-system/pull/1201) [`5b11fe34c`](https://github.com/hashicorp/design-system/commit/5b11fe34c5dec1f96b75ee20d77f83d92bc4e962) Thanks [@KristinLBradley](https://github.com/KristinLBradley)! - Add @label argument to Pagination::SizeSelector component and associated @sizeSelectorLabel argument to Pagination::Numbered component to make Pagination::SizeSelector label text customizeable.
33773418

33783419
- [#1160](https://github.com/hashicorp/design-system/pull/1160) [`b71c0c07f`](https://github.com/hashicorp/design-system/commit/b71c0c07fa809819eef3e0bb090af51aec563918) Thanks [@MelSumner](https://github.com/MelSumner)! - Added new custom sort feature support to table component:
3379-
33803420
- Adds `sortingFunction` support in `@columns` declaration
33813421
- Adds `sortedMessageText` support for custom sorting message
33823422
- Updates the `aria-sort` to fallback to "none" instead of "null" (per spec)
@@ -3593,7 +3633,6 @@ This release signifies the first major release of the HashiCorp Design System. M
35933633
#### Form controls components
35943634

35953635
- [#447](https://github.com/hashicorp/design-system/pull/447) [`0b1e9855`](https://github.com/hashicorp/design-system/commit/0b1e985586b8f531a6208ea5ce25ac74faa77dda) Thanks [@didoo](https://github.com/didoo)!
3596-
35973636
- Added the form **`TextInput`** controls (`Base`, `Field`)
35983637
- Added the form **`Textarea`** controls (`Base`, `Field`)
35993638
- Added the form **`Select`** controls (`Base`, `Field`)
@@ -3786,7 +3825,6 @@ This release signifies the first major release of the HashiCorp Design System. M
37863825
### Minor Changes (Some Breaking)
37873826

37883827
- [#200](https://github.com/hashicorp/design-system/pull/200) [`a8072537`](https://github.com/hashicorp/design-system/commit/a8072537542791398d375cde4a7a85c2955c66da) Thanks [@didoo](https://github.com/didoo)! - Updated Dropdown component:
3789-
37903828
- added chevron animation for `toggle` elements
37913829
- fixed issue with `list-item/interactive` height
37923830
- added handling of dynamic `width` for the list

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashicorp/design-system-components",
3-
"version": "4.21.1",
3+
"version": "4.22.0",
44
"description": "Helios Design System Components",
55
"keywords": [
66
"hashicorp",

0 commit comments

Comments
 (0)