@hashicorp/design-system-components 2.15.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG-FIGMA-COMPONENTS.md +177 -0
- package/CHANGELOG-FIGMA-FOUNDATIONS.md +2 -0
- package/CHANGELOG.md +359 -59
- package/README.md +1 -1
- package/addon/components/hds/accordion/item/index.hbs +16 -5
- package/addon/components/hds/application-state/body.hbs +2 -2
- package/addon/components/hds/application-state/header.hbs +4 -4
- package/addon/components/hds/button/{index.js → index.ts} +29 -4
- package/addon/components/hds/copy/button/index.hbs +1 -1
- package/addon/components/hds/copy/button/index.js +14 -2
- package/addon/components/hds/copy/snippet/index.hbs +3 -3
- package/addon/components/hds/copy/snippet/index.js +19 -2
- package/addon/components/hds/dropdown/index.js +0 -3
- package/addon/components/hds/dropdown/list-item/checkmark.hbs +9 -3
- package/addon/components/hds/dropdown/list-item/copy-item.hbs +8 -4
- package/addon/components/hds/dropdown/list-item/copy-item.js +13 -0
- package/addon/components/hds/dropdown/list-item/description.hbs +9 -2
- package/addon/components/hds/dropdown/list-item/description.js +0 -18
- package/addon/components/hds/dropdown/list-item/interactive.hbs +4 -4
- package/addon/components/hds/dropdown/list-item/radio.hbs +6 -1
- package/addon/components/hds/dropdown/list-item/title.hbs +9 -2
- package/addon/components/hds/dropdown/list-item/title.js +0 -18
- package/addon/components/hds/flyout/description.hbs +2 -2
- package/addon/components/hds/flyout/header.hbs +4 -4
- package/addon/components/hds/form/error/index.hbs +2 -2
- package/addon/components/hds/form/error/index.js +0 -3
- package/addon/components/hds/form/error/message.hbs +2 -2
- package/addon/components/hds/form/helper-text/index.hbs +10 -2
- package/addon/components/hds/form/helper-text/index.js +0 -3
- package/addon/components/hds/form/indicator/index.hbs +1 -1
- package/addon/components/hds/form/indicator/index.js +0 -3
- package/addon/components/hds/form/masked-input/base.hbs +8 -10
- package/addon/components/hds/form/masked-input/base.js +14 -14
- package/addon/components/hds/form/masked-input/field.hbs +3 -1
- package/addon/components/hds/form/radio-card/description.hbs +6 -1
- package/addon/components/hds/form/radio-card/group.hbs +1 -2
- package/addon/components/hds/form/radio-card/index.js +5 -33
- package/addon/components/hds/form/radio-card/label.hbs +7 -1
- package/addon/components/hds/form/text-input/base.js +5 -0
- package/addon/components/hds/form/text-input/field.hbs +23 -11
- package/addon/components/hds/form/text-input/field.js +59 -0
- package/addon/components/hds/form/visibility-toggle/index.hbs +8 -0
- package/addon/components/hds/interactive/{index.js → index.ts} +28 -3
- package/addon/components/hds/modal/header.hbs +4 -4
- package/addon/components/hds/page-header/description.hbs +7 -1
- package/addon/components/hds/page-header/subtitle.hbs +7 -1
- package/addon/components/hds/page-header/title.hbs +7 -1
- package/addon/components/hds/pagination/info/index.hbs +2 -2
- package/addon/components/hds/pagination/nav/arrow.hbs +16 -4
- package/addon/components/hds/pagination/nav/arrow.js +0 -2
- package/addon/components/hds/pagination/nav/number.hbs +2 -1
- package/addon/components/hds/pagination/nav/number.js +1 -6
- package/addon/components/hds/side-nav/list/index.hbs +2 -2
- package/addon/components/hds/stepper/step/indicator.hbs +6 -1
- package/addon/components/hds/tag/index.hbs +2 -2
- package/addon/modifiers/hds-clipboard.js +163 -0
- package/addon/template-registry.ts +12 -0
- package/app/components/hds/form/visibility-toggle/index.js +6 -0
- package/app/modifiers/hds-clipboard.js +6 -0
- package/app/styles/components/button.scss +2 -0
- package/app/styles/components/copy/snippet.scss +22 -14
- package/app/styles/components/dropdown.scss +2 -5
- package/app/styles/components/flyout.scss +0 -2
- package/app/styles/components/form/group.scss +5 -0
- package/app/styles/components/form/index.scss +1 -0
- package/app/styles/components/form/masked-input.scss +0 -9
- package/app/styles/components/form/radio-card.scss +2 -4
- package/app/styles/components/form/text-input.scss +17 -0
- package/app/styles/components/form/visibility-toggle.scss +23 -0
- package/app/styles/components/stepper/step-indicator.scss +0 -3
- package/app/styles/components/tag.scss +1 -5
- package/index.js +3 -0
- package/package.json +33 -4
- package/tsconfig.json +46 -0
- package/types/dummy/index.d.ts +6 -0
- package/types/global.d.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,166 +1,466 @@
|
|
|
1
1
|
# @hashicorp/design-system-components
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
Drop support for Node 14
|
|
8
|
+
|
|
9
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
`Hds::Form::VisibilityToggle` - Added component as a form base element
|
|
14
|
+
|
|
15
|
+
`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)
|
|
16
|
+
|
|
17
|
+
`Hds::Form::MaskedInput` - Refactored to use `Hds::Form::VisibilityToggle`
|
|
18
|
+
|
|
19
|
+
`Hds::Form::MaskedInput` - Renamed `@isMasked` to `@isContentMasked`
|
|
20
|
+
|
|
21
|
+
To migrate:
|
|
22
|
+
|
|
23
|
+
- in `Hds::Form::MaskedInput` instances replace `@isMasked` arguments with `@isContentMasked`
|
|
24
|
+
|
|
25
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
`Hds::Dropdown` – Removed `@listPosition` `left` and `right` (use `bottom-left` and `bottom-right`, respectively).
|
|
30
|
+
|
|
31
|
+
To migrate:
|
|
32
|
+
|
|
33
|
+
- in `Hds::Dropdown` instances:
|
|
34
|
+
- replace `@listPosition="left"` with `@listPosition="bottom-left"`
|
|
35
|
+
- replace `@listPosition="right"` with `@listPosition="bottom-right"`
|
|
36
|
+
|
|
37
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
`SideNav` - Renamed `extraBefore/After` generic containers to `ExtraBefore/After` (uppercase `E`).
|
|
42
|
+
|
|
43
|
+
To migrate:
|
|
44
|
+
|
|
45
|
+
- rename all the `extraBefore/After` instances yielded within the `<Hds::SideNav>` component to `ExtraBefore/After`
|
|
46
|
+
|
|
47
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
`Form::RadioCard` - Remove the `@layout` property.
|
|
52
|
+
|
|
53
|
+
`Form::RadioCard::Group` - Repurposed the `@layout` property to either `horizontal` (default) or `vertical`
|
|
54
|
+
|
|
55
|
+
To migrate `Form::RadioCard` and `Form::RadioCard::Group` instances without encountering visual changes:
|
|
56
|
+
|
|
57
|
+
- make sure all instances with `@layout="fixed"` have a `@maxWidth` defined, then remove the `@layout="fixed"` definition
|
|
58
|
+
- remove all `@layout="fluid"` definitions
|
|
59
|
+
|
|
60
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
### Minor Changes
|
|
65
|
+
|
|
66
|
+
`Dropdown::ListItem::CopyItem` - Changed defaults for `@color` (now `secondary`) and `@isTruncated` (now `true`).
|
|
67
|
+
|
|
68
|
+
_Consumers should review the defaults values for this (sub)component in their codebases, to make sure they match the intended visual designs._
|
|
69
|
+
|
|
70
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
`Button`, `Interactive` - Converted components to TypeScript.
|
|
75
|
+
|
|
76
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
`Copy::Snippet` - Fixed the way in which “width/full-width” is applied to the component + Internal update to the “truncation” implementation.
|
|
81
|
+
|
|
82
|
+
- the component is not full-width anymore by default (the width now fits the content); use `@isFullWidth={{true}}` to have a full-width layout
|
|
83
|
+
- the internal class name `hds-copy-snippet__text--truncated` has been changed to `hds-copy-snippet--is-truncated` (and moved)
|
|
84
|
+
|
|
85
|
+
_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._
|
|
86
|
+
|
|
87
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
Removed `ember-cli-clipboard` as dependency and introduced a custom `hds-clipboard` modifier (using the web [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API))
|
|
92
|
+
|
|
93
|
+
`Copy::Button` - Multiple updates:
|
|
94
|
+
|
|
95
|
+
- replaced third-party `clipboard` modifier with `hds-clipboard`
|
|
96
|
+
- 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)
|
|
97
|
+
- added `@onSuccess/onError` callbacks
|
|
98
|
+
|
|
99
|
+
`Copy::Snippet` - Multiple updates:
|
|
100
|
+
|
|
101
|
+
- replaced third-party `clipboard` modifier with `hds-clipboard`
|
|
102
|
+
- added `@onSuccess/onError` callbacks
|
|
103
|
+
- `Dropdown::ListItem::CopyItem`
|
|
104
|
+
- 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)
|
|
105
|
+
|
|
106
|
+
_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._
|
|
107
|
+
|
|
108
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
### Patch Changes
|
|
113
|
+
|
|
114
|
+
`Copy::Snippet` - Fixed background colors for different states according to Figma specs (main change is the default/base background is now transparent, not white).
|
|
115
|
+
|
|
116
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
`Form::MaskedInput` - Changed copy logic for `CopyButton` used inside the component.
|
|
121
|
+
|
|
122
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
`Accordion` - Replaced internal text styling (using `Text` component).
|
|
127
|
+
|
|
128
|
+
`ApplicationState` - Replaced internal text styling (using `Text` component).
|
|
129
|
+
|
|
130
|
+
`Copy::Snippet` - Replaced internal text styling (using `Text` component).
|
|
131
|
+
|
|
132
|
+
`Dropdown` - Replaced internal text styling (using `Text` component).
|
|
133
|
+
|
|
134
|
+
`Form:**` - Replaced internal text styling (using `Text` component).
|
|
135
|
+
|
|
136
|
+
`Flyout` - Replaced internal text styling (using `Text` component).
|
|
137
|
+
|
|
138
|
+
`Modal` - Replaced internal text styling (using `Text` component).
|
|
139
|
+
|
|
140
|
+
`PageHeader` - Replaced internal text styling (using `Text` component).
|
|
141
|
+
|
|
142
|
+
`Pagination` - Replaced internal text styling (using `Text` component).
|
|
143
|
+
|
|
144
|
+
`Stepper` - Replaced internal text styling (using `Text` component).
|
|
145
|
+
|
|
146
|
+
`Tag` - Replaced internal text styling (using `Text` component).
|
|
147
|
+
|
|
148
|
+
_No impact is expected on the consumers' applications._
|
|
149
|
+
|
|
150
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
`Button` - Applied explicit text alignment to the text to fix alignment on "link" buttons.
|
|
155
|
+
|
|
156
|
+
<small>[#1634](https://github.com/hashicorp/design-system/pull/1634)</small>
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
**🔄 Updated dependencies:**
|
|
161
|
+
|
|
162
|
+
- @hashicorp/ember-flight-icons@4.0.0
|
|
163
|
+
|
|
3
164
|
## 2.15.0
|
|
4
165
|
|
|
5
166
|
### Minor Changes
|
|
6
167
|
|
|
7
|
-
|
|
8
|
-
|
|
168
|
+
`Button` - updated horizontal padding of icon-only variant
|
|
169
|
+
|
|
170
|
+
`Dropdown::ToggleIcon` - updated sizing of the "small" variant to match the height of the "small" variant `Button`
|
|
171
|
+
|
|
172
|
+
<small>[#1690](https://github.com/hashicorp/design-system/pull/1690)</small>
|
|
9
173
|
|
|
10
174
|
### Patch Changes
|
|
11
175
|
|
|
12
|
-
|
|
176
|
+
`Pagination` - Removed handling of query parameters from `onPageSizeChange` function.
|
|
13
177
|
|
|
14
|
-
|
|
178
|
+
<small>[#1736](https://github.com/hashicorp/design-system/pull/1736)</small>
|
|
179
|
+
|
|
180
|
+
_Notice: while technically this is a breaking change, we consider this a fast-follow fix for the previous release._
|
|
15
181
|
|
|
16
182
|
## 2.14.2
|
|
17
183
|
|
|
18
184
|
### Patch Changes
|
|
19
185
|
|
|
20
|
-
|
|
186
|
+
`Pagination` - updated the logic for “Compact” variant to expose `@currentPageSize` and handle controlled/uncontrolled changes
|
|
187
|
+
|
|
188
|
+
<small>[#1724](https://github.com/hashicorp/design-system/pull/1724)</small>
|
|
21
189
|
|
|
22
|
-
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
`Tabs` - replace `assert` with `warn` in `setIndicator` function
|
|
193
|
+
|
|
194
|
+
<small>[#1716](https://github.com/hashicorp/design-system/pull/1716)</small>
|
|
23
195
|
|
|
24
196
|
## 2.14.1
|
|
25
197
|
|
|
26
198
|
### Patch Changes
|
|
27
199
|
|
|
28
|
-
|
|
200
|
+
`Tabs` - Fixed issue with `@isSelected` dynamically changed within `#each` loops
|
|
201
|
+
|
|
202
|
+
<small>[#1709](https://github.com/hashicorp/design-system/pull/1709)</small>
|
|
29
203
|
|
|
30
204
|
## 2.14.0
|
|
31
205
|
|
|
32
206
|
### Minor Changes
|
|
33
207
|
|
|
34
|
-
|
|
208
|
+
`Pagination::Compact` - Added option to show "SizeSelector" element
|
|
209
|
+
|
|
210
|
+
<small>[#1700](https://github.com/hashicorp/design-system/pull/1700)</small>
|
|
211
|
+
|
|
212
|
+
---
|
|
35
213
|
|
|
36
|
-
|
|
214
|
+
`Tabs` - Refactored logic for `Tabs` component + `Tab/Panel` sub-components to support more complex use cases:
|
|
37
215
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
216
|
+
- introduced `@selectedTabIndex` argument to control the "selected" tab from the consuming application, e.g. via query params (effort spearheaded by @MiniHeyd)
|
|
217
|
+
- fixed issue with nested tabs not initializing the "selected" indicator correctly
|
|
218
|
+
- fixed issue with dynamic tab content not updating the "selected" indicator correctly
|
|
219
|
+
|
|
220
|
+
<small>[#1688](https://github.com/hashicorp/design-system/pull/1688)</small>
|
|
41
221
|
|
|
42
222
|
## 2.13.0
|
|
43
223
|
|
|
44
224
|
### Minor Changes
|
|
45
225
|
|
|
46
|
-
|
|
226
|
+
`AppFooter` - Added new component
|
|
227
|
+
|
|
228
|
+
<small>[#1623](https://github.com/hashicorp/design-system/pull/1623)</small>
|
|
229
|
+
|
|
230
|
+
---
|
|
47
231
|
|
|
48
|
-
|
|
232
|
+
`SideNav` - add `@isCollapsible` (to control if users can collapse the sidenav on 'desktop' viewports) and `@isMinimized` (to control the default state on 'desktop' viewports) arguments
|
|
233
|
+
|
|
234
|
+
<small>[#1630](https://github.com/hashicorp/design-system/pull/1630)</small>
|
|
49
235
|
|
|
50
236
|
### Patch Changes
|
|
51
237
|
|
|
52
|
-
|
|
238
|
+
`Tag` - Updated padding for dismiss button for WCAG conformance
|
|
239
|
+
|
|
240
|
+
<small>[#1696](https://github.com/hashicorp/design-system/pull/1696)</small>
|
|
53
241
|
|
|
54
|
-
|
|
242
|
+
---
|
|
55
243
|
|
|
56
|
-
|
|
57
|
-
|
|
244
|
+
`Link::Standalone` – increase target size
|
|
245
|
+
|
|
246
|
+
<small>[#1678](https://github.com/hashicorp/design-system/pull/1678)</small>
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
**🔄 Updated dependencies:**
|
|
251
|
+
|
|
252
|
+
- @hashicorp/design-system-tokens@1.9.0
|
|
58
253
|
|
|
59
254
|
## 2.12.2
|
|
60
255
|
|
|
61
256
|
### Patch Changes
|
|
62
257
|
|
|
63
|
-
|
|
258
|
+
`PowerSelect` - fix style overrides when the list is positioned above
|
|
64
259
|
|
|
65
|
-
|
|
260
|
+
<small>[#1655](https://github.com/hashicorp/design-system/pull/1655)</small>
|
|
66
261
|
|
|
67
|
-
|
|
68
|
-
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
`Text` - Fixed issue with whitespace adding extra underline when used in links (eg. inside a `Link::Inline`)
|
|
265
|
+
|
|
266
|
+
<small>[#1652](https://github.com/hashicorp/design-system/pull/1652)</small>
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
**🔄 Updated dependencies:**
|
|
271
|
+
|
|
272
|
+
- @hashicorp/ember-flight-icons@3.1.3
|
|
69
273
|
|
|
70
274
|
## 2.12.1
|
|
71
275
|
|
|
72
276
|
### Patch Changes
|
|
73
277
|
|
|
74
|
-
|
|
278
|
+
`Pagination` - Bugfix `aria-label` on the component
|
|
75
279
|
|
|
76
|
-
|
|
280
|
+
<small>[#1627](https://github.com/hashicorp/design-system/pull/1627)</small>
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
`Dropdown` - changed `@height` property to use `max-height` instead of a fixed height.
|
|
285
|
+
|
|
286
|
+
<small>[#1635](https://github.com/hashicorp/design-system/pull/1635)</small>
|
|
77
287
|
|
|
78
288
|
## 2.12.0
|
|
79
289
|
|
|
80
290
|
### Minor Changes
|
|
81
291
|
|
|
82
|
-
|
|
292
|
+
`IconTile` - updated component to include `vault-secrets` product option
|
|
83
293
|
|
|
84
|
-
|
|
294
|
+
<small>[#1640](https://github.com/hashicorp/design-system/pull/1640)</small>
|
|
85
295
|
|
|
86
296
|
### Patch Changes
|
|
87
297
|
|
|
88
|
-
|
|
298
|
+
`Text` - Removed leftover `console.log` from code
|
|
299
|
+
|
|
300
|
+
<small>[#1615](https://github.com/hashicorp/design-system/pull/1615)</small>
|
|
301
|
+
|
|
302
|
+
---
|
|
89
303
|
|
|
90
|
-
|
|
304
|
+
Refactored the layout of the `Dropdown` checkbox and radio inputs to make the gap between the inputs and the associated text, as well as the icon and count, clickable.
|
|
91
305
|
|
|
92
|
-
|
|
306
|
+
<small>[#1618](https://github.com/hashicorp/design-system/pull/1618)</small>
|
|
93
307
|
|
|
94
|
-
|
|
308
|
+
---
|
|
95
309
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
310
|
+
`Hds::Link::Standalone` - Changed font-weight from 500 to 400 to match font-weight of `Hds::Button`.
|
|
311
|
+
|
|
312
|
+
<small>[#1617](https://github.com/hashicorp/design-system/pull/1617)</small>
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
`Stepper` - removed some CSS declarations that were not used/applied
|
|
317
|
+
|
|
318
|
+
<small>[#1628](https://github.com/hashicorp/design-system/pull/1628)</small>
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
**🔄 Updated dependencies:**
|
|
323
|
+
|
|
324
|
+
- @hashicorp/design-system-tokens@1.8.0
|
|
325
|
+
- @hashicorp/ember-flight-icons@3.1.2
|
|
99
326
|
|
|
100
327
|
## 2.11.0
|
|
101
328
|
|
|
102
329
|
### Minor Changes
|
|
103
330
|
|
|
104
|
-
|
|
331
|
+
`Hds::Text` - Added new `Text` component
|
|
332
|
+
|
|
333
|
+
<small>[#1490](https://github.com/hashicorp/design-system/pull/1490)</small>
|
|
334
|
+
|
|
335
|
+
---
|
|
105
336
|
|
|
106
|
-
|
|
337
|
+
`Hds::Form::MaskedInput` - Add `hasCopyButton` argument
|
|
338
|
+
|
|
339
|
+
<small>[#1587](https://github.com/hashicorp/design-system/pull/1587)</small>
|
|
107
340
|
|
|
108
341
|
### Patch Changes
|
|
109
342
|
|
|
110
|
-
|
|
343
|
+
`Form::Indicator` - Remove aria-hidden from the "optional" `<span>`
|
|
111
344
|
|
|
112
|
-
|
|
345
|
+
<small>[#1577](https://github.com/hashicorp/design-system/pull/1577) - Thanks [@DingoEatingFuzz](https://github.com/DingoEatingFuzz) for the contribution! 🙏</small>
|
|
113
346
|
|
|
114
|
-
|
|
347
|
+
---
|
|
115
348
|
|
|
116
|
-
-
|
|
117
|
-
|
|
349
|
+
Removed `ember-named-blocks-polyfill` as all consumers of HDS are on Ember 3.25 or later now. This can be installed locally if it is still needed.
|
|
350
|
+
|
|
351
|
+
<small>[#1606](https://github.com/hashicorp/design-system/pull/1606)</small>
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
`Alert`, `Toast`: Fixed an issue with anchor tag color styles within Description that had been overriding `Hds::Link` color; changed the default color for HTML links within Description to "neutral" to better align with existing guidance for links in the actions and improve accessible contrast.
|
|
356
|
+
|
|
357
|
+
<small>[#1576](https://github.com/hashicorp/design-system/pull/1576)</small>
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
361
|
+
**🔄 Updated dependencies:**
|
|
362
|
+
|
|
363
|
+
- @hashicorp/ember-flight-icons@3.1.1
|
|
118
364
|
|
|
119
365
|
## 2.10.0
|
|
120
366
|
|
|
121
367
|
### Minor Changes
|
|
122
368
|
|
|
123
|
-
|
|
369
|
+
Added new `FileInput` component
|
|
370
|
+
|
|
371
|
+
<small>[#1535](https://github.com/hashicorp/design-system/pull/1535)</small>
|
|
124
372
|
|
|
125
373
|
### Patch Changes
|
|
126
374
|
|
|
127
|
-
|
|
375
|
+
Remove unnecessary export of `hds/copy/index.js`
|
|
376
|
+
|
|
377
|
+
<small>[#1570](https://github.com/hashicorp/design-system/pull/1570)</small>
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
`Hds::Tabs` - Fix missing tab indicator when used in Modal or Flyout
|
|
382
|
+
|
|
383
|
+
<small>[#1575](https://github.com/hashicorp/design-system/pull/1575)</small>
|
|
384
|
+
|
|
385
|
+
---
|
|
386
|
+
|
|
387
|
+
`Copy::Snippet` - Added support for container and updated API docs
|
|
388
|
+
|
|
389
|
+
<small>[#1567](https://github.com/hashicorp/design-system/pull/1567)</small>
|
|
390
|
+
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
`Hds::Tabs` - Fixed tabs and panels misbehaving on route change
|
|
128
394
|
|
|
129
|
-
|
|
395
|
+
<small>[#1571](https://github.com/hashicorp/design-system/pull/1571)</small>
|
|
130
396
|
|
|
131
|
-
|
|
397
|
+
---
|
|
132
398
|
|
|
133
|
-
|
|
399
|
+
<small>[#1568](https://github.com/hashicorp/design-system/pull/1568)</small>
|
|
134
400
|
|
|
135
|
-
|
|
401
|
+
`Copy::Button`, `Copy::Snippet` - Updated error icon
|
|
136
402
|
|
|
137
|
-
|
|
403
|
+
---
|
|
138
404
|
|
|
139
|
-
|
|
405
|
+
`Hds::SegmentedGroup` - Prevent `border-radius` from interfering with underlying elements
|
|
140
406
|
|
|
141
|
-
|
|
142
|
-
|
|
407
|
+
<small>[#1555](https://github.com/hashicorp/design-system/pull/1555)</small>
|
|
408
|
+
|
|
409
|
+
---
|
|
410
|
+
|
|
411
|
+
`Table` - Resolved issue where `ThSort` was not supporting right-aligned text properly
|
|
412
|
+
|
|
413
|
+
<small>[#1565](https://github.com/hashicorp/design-system/pull/1565)</small>
|
|
414
|
+
|
|
415
|
+
---
|
|
416
|
+
|
|
417
|
+
**🔄 Updated dependencies:**
|
|
418
|
+
|
|
419
|
+
- @hashicorp/ember-flight-icons@3.1.0
|
|
143
420
|
|
|
144
421
|
## 2.9.0
|
|
145
422
|
|
|
146
423
|
### Minor Changes
|
|
147
424
|
|
|
148
|
-
|
|
425
|
+
Added the `Hds::CopyButton` and `Hds::CopySnippet` components.
|
|
426
|
+
|
|
427
|
+
<small>[#1488](https://github.com/hashicorp/design-system/pull/1488)</small>
|
|
149
428
|
|
|
150
429
|
### Patch Changes
|
|
151
430
|
|
|
152
|
-
|
|
431
|
+
Adjusted closing brace on copywrite headers to avoid terminal noise
|
|
153
432
|
|
|
154
|
-
|
|
433
|
+
<small>[#1539](https://github.com/hashicorp/design-system/pull/1539)</small>
|
|
155
434
|
|
|
156
|
-
|
|
435
|
+
---
|
|
157
436
|
|
|
158
|
-
|
|
437
|
+
`Hds::Modal` - reduce test flakiness around closing Modal when using `@ember/test-helpers`
|
|
159
438
|
|
|
160
|
-
|
|
439
|
+
<small>[#1549](https://github.com/hashicorp/design-system/pull/1549) - Thanks [@fivetanley](https://github.com/fivetanley) for the contribution! 🙏</small>
|
|
161
440
|
|
|
162
|
-
|
|
163
|
-
|
|
441
|
+
---
|
|
442
|
+
|
|
443
|
+
Fix Embroider warnings caused by incorrect export of internal utility functions
|
|
444
|
+
|
|
445
|
+
<small>[#1530](https://github.com/hashicorp/design-system/pull/1530)</small>
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
`Hds::Flyout` - reduce test flakiness around closing Flyout when using `@ember/test-helpers`
|
|
450
|
+
|
|
451
|
+
<small>[#1552](https://github.com/hashicorp/design-system/pull/1552)</small>
|
|
452
|
+
|
|
453
|
+
---
|
|
454
|
+
|
|
455
|
+
`Hds::Form::Field` - Fix error message for unexpected `@layout` values
|
|
456
|
+
|
|
457
|
+
<small>[#1529](https://github.com/hashicorp/design-system/pull/1529)</small>
|
|
458
|
+
|
|
459
|
+
---
|
|
460
|
+
|
|
461
|
+
**🔄 Updated dependencies:**
|
|
462
|
+
|
|
463
|
+
- @hashicorp/ember-flight-icons@3.0.9
|
|
164
464
|
|
|
165
465
|
## 2.8.1
|
|
166
466
|
|
|
@@ -490,7 +790,7 @@
|
|
|
490
790
|
- Adds `sortingFunction` support in `@columns` declaration
|
|
491
791
|
- Adds `sortedMessageText` support for custom sorting message
|
|
492
792
|
- Updates the `aria-sort` to fallback to "none" instead of "null" (per spec)
|
|
493
|
-
- Adds support for the
|
|
793
|
+
- Adds support for the `\{\{each\}\}` loop's `key` to be defined with `identityKey` (optional; falls back to the Ember default if none is provided)
|
|
494
794
|
|
|
495
795
|
### Patch Changes
|
|
496
796
|
|
package/README.md
CHANGED
|
@@ -14,17 +14,28 @@
|
|
|
14
14
|
@parentContainsInteractive={{this.containsInteractive}}
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
|
-
<
|
|
18
|
-
|
|
17
|
+
<Hds::Text::Display
|
|
18
|
+
@tag="div"
|
|
19
|
+
@size="200"
|
|
20
|
+
@weight="semibold"
|
|
21
|
+
@color="strong"
|
|
22
|
+
class="hds-accordion-item__toggle-content"
|
|
19
23
|
>
|
|
20
24
|
{{yield to="toggle"}}
|
|
21
|
-
</
|
|
25
|
+
</Hds::Text::Display>
|
|
22
26
|
</div>
|
|
23
27
|
</:toggle>
|
|
24
28
|
|
|
25
29
|
<:content>
|
|
26
|
-
<
|
|
30
|
+
<Hds::Text::Body
|
|
31
|
+
class="hds-accordion-item__content"
|
|
32
|
+
@tag="div"
|
|
33
|
+
@size="200"
|
|
34
|
+
@weight="regular"
|
|
35
|
+
@color="primary"
|
|
36
|
+
id={{this.contentId}}
|
|
37
|
+
>
|
|
27
38
|
{{yield to="content"}}
|
|
28
|
-
</
|
|
39
|
+
</Hds::Text::Body>
|
|
29
40
|
</:content>
|
|
30
41
|
</Hds::DisclosurePrimitive>
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
{{#if (has-block)}}
|
|
7
7
|
{{yield}}
|
|
8
8
|
{{else}}
|
|
9
|
-
<
|
|
9
|
+
<Hds::Text::Body class="hds-application-state__body-text" @tag="p" @size="300">
|
|
10
10
|
{{@text}}
|
|
11
|
-
</
|
|
11
|
+
</Hds::Text::Body>
|
|
12
12
|
{{/if}}
|
|
13
13
|
</div>
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
<FlightIcon @name={{@icon}} @size="24" />
|
|
9
9
|
</div>
|
|
10
10
|
{{/if}}
|
|
11
|
-
<
|
|
11
|
+
<Hds::Text::Display class="hds-application-state__title" @tag="div" @size="400" @weight="semibold">
|
|
12
12
|
{{@title}}
|
|
13
|
-
</
|
|
13
|
+
</Hds::Text::Display>
|
|
14
14
|
{{#if @errorCode}}
|
|
15
|
-
<
|
|
15
|
+
<Hds::Text::Body class="hds-application-state__error-code" @tag="div" @size="100" @weight="medium">
|
|
16
16
|
Error
|
|
17
17
|
{{@errorCode}}
|
|
18
|
-
</
|
|
18
|
+
</Hds::Text::Body>
|
|
19
19
|
{{/if}}
|
|
20
20
|
</div>
|