|
12 | 12 | </a> |
13 | 13 | </p> |
14 | 14 |
|
| 15 | +## 4.13.1 |
| 16 | + |
| 17 | +**Patch changes** |
| 18 | + |
| 19 | +`Hds::Flyout` |
| 20 | + |
| 21 | +- Fixed error in `Description` and `Body` subcomponents, caused by not passing the `args` argument from the constructor to `super` |
| 22 | + |
| 23 | +`Hds::Modal` |
| 24 | + |
| 25 | +- Fixed error in `Body` subcomponent, caused by not passing the `args` argument from the constructor to `super` |
| 26 | + |
| 27 | +<small class="doc-whats-new-changelog-metadata">[#2511](https://github.com/hashicorp/design-system/pull/2511)</small> |
| 28 | + |
| 29 | +<div class="doc-whats-new-changelog-separator"></div> |
| 30 | + |
| 31 | +Export TypeScript signatures for all components and modifiers |
| 32 | + |
| 33 | +<small class="doc-whats-new-changelog-metadata">[#2499](https://github.com/hashicorp/design-system/pull/2499) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏</small> |
| 34 | + |
| 35 | +<div class="doc-whats-new-changelog-separator"></div> |
| 36 | + |
| 37 | +`Alert` - Removed role="alert" and aria-live="polite" attributes from Alerts with color set to "neutral" or "highlight" |
| 38 | + |
| 39 | +<small class="doc-whats-new-changelog-metadata">[#2500](https://github.com/hashicorp/design-system/pull/2500)</small> |
| 40 | + |
| 41 | +<div class="doc-whats-new-changelog-separator"></div> |
| 42 | + |
15 | 43 | ## 4.13.0 |
16 | 44 |
|
| 45 | +[4.13.0 documentation](https://hds-website-4-13-0.vercel.app/) |
| 46 | + |
17 | 47 | **Minor changes** |
18 | 48 |
|
19 | | -`Modal` - added `returnFocusTo` argument to control where the browser focus is returned once the modal is closed |
| 49 | +`Modal` - Added `returnFocusTo` argument to control where the browser focus is returned once the modal is closed |
20 | 50 |
|
21 | | -`Flyout` - added `returnFocusTo` argument to control where the browser focus is returned once the flyout is closed |
| 51 | +`Flyout` - Added `returnFocusTo` argument to control where the browser focus is returned once the flyout is closed |
22 | 52 |
|
23 | 53 | <small class="doc-whats-new-changelog-metadata">[#2497](https://github.com/hashicorp/design-system/pull/2497)</small> |
24 | 54 |
|
25 | 55 | <div class="doc-whats-new-changelog-separator"></div> |
26 | 56 |
|
27 | | -`CodeBlock` - Added `lineNumberStart` option to set custom starting number for line numbering` |
| 57 | +`CodeBlock` - Added `lineNumberStart` option to set custom starting number for line numbering |
28 | 58 |
|
29 | 59 | <small class="doc-whats-new-changelog-metadata">[#2467](https://github.com/hashicorp/design-system/pull/2467)</small> |
30 | 60 |
|
@@ -1119,148 +1149,6 @@ Removed `dialog-polyfill` dependency |
1119 | 1149 | - @hashicorp/design-system-tokens@2.1.0 |
1120 | 1150 | - @hashicorp/ember-flight-icons@5.0.1 |
1121 | 1151 |
|
1122 | | -## 4.0.0 |
1123 | | - |
1124 | | -[4.0.0 documentation](https://hds-website-4-0-0.vercel.app/) |
1125 | | - |
1126 | | -**Major changes** |
1127 | | - |
1128 | | -Converted Ember packages to v2 addon format. |
1129 | | - |
1130 | | -To migrate, update Sass configuration in `ember-cli-build.js` to include the paths for `ember-flight-icons` and `design-system-components`: |
1131 | | - |
1132 | | -```js |
1133 | | -sassOptions: { |
1134 | | - precision: 4, |
1135 | | - includePaths: [ |
1136 | | - './node_modules/@hashicorp/design-system-tokens/dist/products/css', |
1137 | | - './node_modules/@hashicorp/ember-flight-icons/dist/styles', |
1138 | | - './node_modules/@hashicorp/design-system-components/dist/styles', |
1139 | | - ], |
1140 | | -}, |
1141 | | -``` |
1142 | | - |
1143 | | -Alternatively, you can import the CSS by adding this configuration in `ember-cli-build.js`. |
1144 | | - |
1145 | | -```js |
1146 | | -app.import( |
1147 | | - "node_modules/@hashicorp/design-system-components/dist/styles/@hashicorp/design-system-components.css", |
1148 | | -); |
1149 | | -``` |
1150 | | - |
1151 | | -<small class="doc-whats-new-changelog-metadata">[#1872](https://github.com/hashicorp/design-system/pull/1872)</small> |
1152 | | - |
1153 | | -<div class="doc-whats-new-changelog-separator"></div> |
1154 | | - |
1155 | | -`Form::CharacterCount` - refactored the component, removing `onInsert` callback and adding use `@value` argument |
1156 | | - |
1157 | | -To migrate: |
1158 | | - |
1159 | | -- for standalone `Form::CharacterCount` instances, you must pass in a `@value` argument representing the value of the referenced input |
1160 | | -- when used as a contextual component `F.CharacterCount` in `Form::[MaskedInput|TextInput|Textarea]::Field` make sure the form control is updating the associated `@value` on input (usually using `on "input" (fn this.updateValue)` function) |
1161 | | - |
1162 | | -<small class="doc-whats-new-changelog-metadata">[#1896](https://github.com/hashicorp/design-system/pull/1896) - Thanks [@meirish](https://github.com/meirish) for the contribution! 🙏</small> |
1163 | | - |
1164 | | -<div class="doc-whats-new-changelog-separator"></div> |
1165 | | - |
1166 | | -`Table` - Multiple updates to the main component and its subcomponents: |
1167 | | - |
1168 | | -- Updated table headers to support tooltips |
1169 | | -- Updated visual treatment and location of the "sort" button in the table headers |
1170 | | -- Refactored CSS code to simplify usage of `hds-table`-related class names |
1171 | | - |
1172 | | -`Table::ThSort`: |
1173 | | - |
1174 | | -- Added support for tooltip via the `@tooltip` argument |
1175 | | -- Updated visual treatment and location of the "sort" button |
1176 | | -- Updated DOM structure of the `<th>` content |
1177 | | -- Remove class `hds-table__th-sort--button-content` |
1178 | | -- Replaced class `hds-table__th-sort` with classes `hds-table__th` + `hds-table__th--sort` |
1179 | | -- Replaced class `hds-table__th-sort--text--[left|center|right]` with `hds-table__th--align-[left|center|right]` |
1180 | | -- Renamed `onClick` callback to `onClickSort` |
1181 | | - |
1182 | | -`Table::Th`: |
1183 | | - |
1184 | | -- Added support for tooltip via the `@tooltip` argument |
1185 | | -- Updated DOM structure of the `<th>` content |
1186 | | -- Replaced class `hds-table__th--text-[left|center|right]` with `hds-table__th--align-[left|center|right]` |
1187 | | - |
1188 | | -`Table::Td`: |
1189 | | - |
1190 | | -- Replaced class `hds-table__td--text-[left|center|right]` with `hds-table__td--align-[left|center|right]` |
1191 | | - |
1192 | | -To migrate run the codemod `v4/table` (see [readme file](https://github.com/hashicorp/design-system/tree/main/packages/codemods/transforms/v4/table)) |
1193 | | - |
1194 | | -<small class="doc-whats-new-changelog-metadata">[#1860](https://github.com/hashicorp/design-system/pull/1860)</small> |
1195 | | - |
1196 | | -<div class="doc-whats-new-changelog-separator"></div> |
1197 | | - |
1198 | | -`Pagination` - Removed handling of query parameters from `onPageSizeChange` function for `Pagination::Numbered` |
1199 | | - |
1200 | | -_Unfortunately, it's not possible to cover this breaking change with a codemod. Consumers should review their usage of the `onPageSizeChange` callback and, if necessary, implement the persistence of the "page number" and "page size" values via query parameters themselves._ |
1201 | | - |
1202 | | -<small class="doc-whats-new-changelog-metadata">[#1913](https://github.com/hashicorp/design-system/pull/1913)</small> |
1203 | | - |
1204 | | -<div class="doc-whats-new-changelog-separator"></div> |
1205 | | - |
1206 | | -Renamed namespaced contextual components as follows: |
1207 | | - |
1208 | | -- `Alert::Link::Standalone` to `Alert::LinkStandalone` |
1209 | | -- `ApplicationState::Footer::Link::Standalone` to `ApplicationState::Footer::LinkStandalone` |
1210 | | -- `Form::Checkbox::Group::Checkbox::Field` to `Checkbox::Group::CheckboxField` |
1211 | | -- `Form::Radio::Group::Radio::Field` to `Form::Radio::Group::RadioField` |
1212 | | -- `Form::Toggle::Group::Toggle::Field` to `Form::Toggle::Group::ToggleField` |
1213 | | -- `Toast::Link::Standalone` to `Toast::LinkStandalone` |
1214 | | - |
1215 | | -<small class="doc-whats-new-changelog-metadata">[#1884](https://github.com/hashicorp/design-system/pull/1884)</small> |
1216 | | - |
1217 | | -<div class="doc-whats-new-changelog-separator"></div> |
1218 | | - |
1219 | | -**Minor changes** |
1220 | | - |
1221 | | -`Table` - Added multi-select functionality |
1222 | | - |
1223 | | -<small class="doc-whats-new-changelog-metadata">[#1859](https://github.com/hashicorp/design-system/pull/1859)</small> |
1224 | | - |
1225 | | -<div class="doc-whats-new-changelog-separator"></div> |
1226 | | - |
1227 | | -`Tabs` - Added `@size` argument with new "large" size variant |
1228 | | - |
1229 | | -<small class="doc-whats-new-changelog-metadata">[#1937](https://github.com/hashicorp/design-system/pull/1937)</small> |
1230 | | - |
1231 | | -<div class="doc-whats-new-changelog-separator"></div> |
1232 | | - |
1233 | | -**Patch changes** |
1234 | | - |
1235 | | -`Dropdown` - Fixed dropdown list missing an accessible name when Checkmark items were passed in |
1236 | | - |
1237 | | -<small class="doc-whats-new-changelog-metadata">[#1910](https://github.com/hashicorp/design-system/pull/1910)</small> |
1238 | | - |
1239 | | -<div class="doc-whats-new-changelog-separator"></div> |
1240 | | - |
1241 | | -`Flyout` - Reduced gap between Flyout and edge of screen from `40px` to half of the minimized SideNav width in medium view |
1242 | | - |
1243 | | -<small class="doc-whats-new-changelog-metadata">[#1957](https://github.com/hashicorp/design-system/pull/1957)</small> |
1244 | | - |
1245 | | -<div class="doc-whats-new-changelog-separator"></div> |
1246 | | - |
1247 | | -Removed `ember-deep-tracked` dependency that was not used |
1248 | | - |
1249 | | -<small class="doc-whats-new-changelog-metadata">[#1950](https://github.com/hashicorp/design-system/pull/1950)</small> |
1250 | | - |
1251 | | -<div class="doc-whats-new-changelog-separator"></div> |
1252 | | - |
1253 | | -`SideNav` - Fixed issue with navigation elements remaining interactive when minimized |
1254 | | - |
1255 | | -<small class="doc-whats-new-changelog-metadata">[#1909](https://github.com/hashicorp/design-system/pull/1909)</small> |
1256 | | - |
1257 | | -<div class="doc-whats-new-changelog-separator"></div> |
1258 | | - |
1259 | | -**🔄 Updated dependencies:** |
1260 | | - |
1261 | | -- @hashicorp/ember-flight-icons@5.0.0 |
1262 | | -- @hashicorp/design-system-tokens@2.0.0 |
1263 | | - |
1264 | 1152 |
|
1265 | 1153 | --- |
1266 | 1154 |
|
|
0 commit comments