@ids-group-ltd/ids-design-system 0.14.6-beta.0 → 0.14.7

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.
Files changed (187) hide show
  1. package/CHANGELOG.md +236 -4
  2. package/components.md +25 -22
  3. package/design-system.md +1 -1
  4. package/docs/agent/charts/ds-bar-chart.md +1 -0
  5. package/docs/agent/charts/ds-column-chart.md +1 -0
  6. package/docs/agent/charts/ds-line-chart.md +1 -1
  7. package/docs/agent/forms/ds-autocomplete.md +1 -1
  8. package/docs/agent/forms/ds-button.md +2 -2
  9. package/docs/agent/forms/ds-input.md +1 -1
  10. package/docs/agent/forms/ds-multi-select.md +1 -1
  11. package/docs/agent/forms/ds-select.md +1 -1
  12. package/docs/agent/forms/ds-textarea.md +1 -1
  13. package/docs/agent/forms/filter-item-directive.md +1 -1
  14. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  15. package/docs/agent/foundations/global-helper-classes.md +2 -2
  16. package/docs/agent/foundations/grid.md +8 -8
  17. package/docs/agent/overlays/ds-drawer.md +1 -1
  18. package/docs/agent/overlays/ds-modal-card.md +1 -1
  19. package/docs/agent/overlays/ds-modal.md +1 -1
  20. package/docs/agent/platform/toast-service.md +1 -0
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +10 -8
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +16 -9
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +18 -9
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -3
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +170 -4
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +327 -24
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +3 -3
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +16 -13
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +15 -5
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +5 -3
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -3
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +4 -3
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +22 -19
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +65 -13
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -3
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +9 -11
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +3 -3
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +98 -6
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +4 -3
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +7 -7
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +4 -4
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +7 -7
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +16 -3
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +16 -3
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +4 -4
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +4 -2
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  143. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +31 -9
  144. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +128 -9
  146. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +17 -6
  148. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +5 -2
  150. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
  152. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  153. package/migrations/0.14.6.json +176 -0
  154. package/migrations/0.14.7.json +140 -0
  155. package/migrations/0.4.0.json +3 -1
  156. package/package.json +1 -1
  157. package/schematics/check-overrides/surface.json +34 -25
  158. package/styles/_chart-frame.scss +1 -50
  159. package/styles/_field-state.scss +13 -1
  160. package/styles/_focus.scss +45 -33
  161. package/styles/_link.scss +12 -0
  162. package/styles/_press.scss +1 -1
  163. package/styles/_tokens-charts.scss +1 -1
  164. package/styles/_tokens.scss +2 -0
  165. package/styles/ds.scss +2 -0
  166. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +4 -2
  167. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +4 -2
  168. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -1
  169. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +65 -4
  170. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +54 -6
  171. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +1 -1
  172. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +2 -3
  173. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -1
  174. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +1 -1
  175. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +4 -4
  176. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +21 -4
  177. package/types/ids-group-ltd-ids-design-system-components-page-header.d.ts +1 -1
  178. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +21 -2
  179. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +1 -1
  180. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +1 -1
  181. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +2 -1
  182. package/types/ids-group-ltd-ids-design-system-components.d.ts +12 -2
  183. package/types/ids-group-ltd-ids-design-system-core.d.ts +35 -3
  184. package/types/ids-group-ltd-ids-design-system-icons.d.ts +3 -1
  185. package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -2
  186. package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
  187. package/migrations/0.14.6-beta.0.json +0 -9
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.14.6-beta.0",
2
+ "version": "0.14.7",
3
3
  "tokens": [
4
4
  "--ds-accordion-body-padding",
5
5
  "--ds-accordion-body-text-color",
@@ -386,6 +386,8 @@
386
386
  "--ds-field-border-color-hover",
387
387
  "--ds-field-focus-shadow",
388
388
  "--ds-field-focus-shadow-error",
389
+ "--ds-field-focus-shadow-success",
390
+ "--ds-field-focus-shadow-warning",
389
391
  "--ds-field-font-size",
390
392
  "--ds-field-group-bg-color",
391
393
  "--ds-field-group-border-color",
@@ -669,6 +671,7 @@
669
671
  "--ds-password-rules-gap",
670
672
  "--ds-password-rules-met-color",
671
673
  "--ds-password-rules-pending-color",
674
+ "--ds-pie-chart-center-value-min-font-size",
672
675
  "--ds-pie-chart-focus-color",
673
676
  "--ds-pie-chart-focus-width",
674
677
  "--ds-pie-chart-gap",
@@ -1110,6 +1113,7 @@
1110
1113
  "a-icon",
1111
1114
  "a-title",
1112
1115
  "alert",
1116
+ "disabled",
1113
1117
  "error",
1114
1118
  "is-disabled",
1115
1119
  "neutral",
@@ -1191,6 +1195,7 @@
1191
1195
  "body",
1192
1196
  "close",
1193
1197
  "compact",
1198
+ "disabled",
1194
1199
  "error",
1195
1200
  "icon",
1196
1201
  "is-disabled",
@@ -1213,7 +1218,6 @@
1213
1218
  "data-table",
1214
1219
  "detail",
1215
1220
  "dims-others",
1216
- "empty",
1217
1221
  "empty-text",
1218
1222
  "fill",
1219
1223
  "framed",
@@ -1227,7 +1231,6 @@
1227
1231
  "mark-leave",
1228
1232
  "percent",
1229
1233
  "pin-marker",
1230
- "pin-reset",
1231
1234
  "pins",
1232
1235
  "row",
1233
1236
  "rows",
@@ -1321,6 +1324,7 @@
1321
1324
  "is-nested"
1322
1325
  ],
1323
1326
  "ds-chart-legend": [
1327
+ "disabled",
1324
1328
  "is-disabled",
1325
1329
  "is-hidden",
1326
1330
  "legend",
@@ -1343,6 +1347,9 @@
1343
1347
  "swatch",
1344
1348
  "value"
1345
1349
  ],
1350
+ "ds-chart-unpin": [
1351
+ "pin-reset"
1352
+ ],
1346
1353
  "ds-chart": [
1347
1354
  "axis-label",
1348
1355
  "axis-line",
@@ -1350,13 +1357,14 @@
1350
1357
  "canvas",
1351
1358
  "category-band",
1352
1359
  "category-label",
1360
+ "category-stop",
1353
1361
  "chart",
1354
1362
  "cursor",
1363
+ "cursor-anchor",
1355
1364
  "cursor-in",
1356
1365
  "cursor-line",
1357
1366
  "cursor-out",
1358
1367
  "data-table",
1359
- "empty",
1360
1368
  "empty-text",
1361
1369
  "framed",
1362
1370
  "grid-line",
@@ -1374,6 +1382,7 @@
1374
1382
  "checkbox-field",
1375
1383
  "control-line",
1376
1384
  "control-text",
1385
+ "disabled",
1377
1386
  "is-disabled",
1378
1387
  "req",
1379
1388
  "size-lg",
@@ -1402,11 +1411,9 @@
1402
1411
  "ds-column-chart": [
1403
1412
  "column-chart",
1404
1413
  "data-table",
1405
- "empty",
1406
1414
  "empty-text",
1407
1415
  "framed",
1408
1416
  "is-error",
1409
- "pin-reset",
1410
1417
  "skeleton",
1411
1418
  "stage-table"
1412
1419
  ],
@@ -1473,6 +1480,7 @@
1473
1480
  "bottom",
1474
1481
  "close",
1475
1482
  "closing",
1483
+ "disabled",
1476
1484
  "drawer",
1477
1485
  "drawer-root",
1478
1486
  "drawer-scrim",
@@ -1486,7 +1494,8 @@
1486
1494
  "right",
1487
1495
  "sm",
1488
1496
  "title",
1489
- "top"
1497
+ "top",
1498
+ "unslotted"
1490
1499
  ],
1491
1500
  "ds-dropzone": [
1492
1501
  "active",
@@ -1549,7 +1558,6 @@
1549
1558
  "category-label",
1550
1559
  "data-table",
1551
1560
  "dims-others",
1552
- "empty",
1553
1561
  "empty-text",
1554
1562
  "framed",
1555
1563
  "funnel-chart",
@@ -1561,7 +1569,6 @@
1561
1569
  "is-pinned",
1562
1570
  "mark-leave",
1563
1571
  "pin-marker",
1564
- "pin-reset",
1565
1572
  "pins",
1566
1573
  "shape",
1567
1574
  "skeleton",
@@ -1577,7 +1584,6 @@
1577
1584
  "column-label",
1578
1585
  "data-table",
1579
1586
  "dims-others",
1580
- "empty",
1581
1587
  "empty-text",
1582
1588
  "framed",
1583
1589
  "grid",
@@ -1591,7 +1597,6 @@
1591
1597
  "is-pinned",
1592
1598
  "mark-leave",
1593
1599
  "pin-marker",
1594
- "pin-reset",
1595
1600
  "pins",
1596
1601
  "row-label",
1597
1602
  "scale",
@@ -1656,7 +1661,6 @@
1656
1661
  "grid-line",
1657
1662
  "is-error",
1658
1663
  "line-chart",
1659
- "pin-reset",
1660
1664
  "skeleton",
1661
1665
  "skeleton-legend",
1662
1666
  "stage-table"
@@ -1703,6 +1707,7 @@
1703
1707
  "body",
1704
1708
  "close",
1705
1709
  "closing",
1710
+ "disabled",
1706
1711
  "error",
1707
1712
  "eyebrow",
1708
1713
  "fullscreen",
@@ -1725,6 +1730,7 @@
1725
1730
  "success",
1726
1731
  "title",
1727
1732
  "title-line",
1733
+ "unslotted",
1728
1734
  "warning",
1729
1735
  "xl"
1730
1736
  ],
@@ -1733,6 +1739,7 @@
1733
1739
  "body",
1734
1740
  "close",
1735
1741
  "closing",
1742
+ "disabled",
1736
1743
  "error",
1737
1744
  "eyebrow",
1738
1745
  "fullscreen",
@@ -1755,6 +1762,7 @@
1755
1762
  "success",
1756
1763
  "title",
1757
1764
  "title-line",
1765
+ "unslotted",
1758
1766
  "warning",
1759
1767
  "xl"
1760
1768
  ],
@@ -1820,10 +1828,6 @@
1820
1828
  "ds-page-header": [
1821
1829
  "actions",
1822
1830
  "compact",
1823
- "crumb",
1824
- "crumb--current",
1825
- "crumb-sep",
1826
- "crumbs-trail",
1827
1831
  "eyebrow",
1828
1832
  "eyebrow-secondary",
1829
1833
  "icon",
@@ -1840,6 +1844,7 @@
1840
1844
  ],
1841
1845
  "ds-pagination": [
1842
1846
  "active",
1847
+ "disabled",
1843
1848
  "ellipsis",
1844
1849
  "is-disabled",
1845
1850
  "label",
@@ -1863,6 +1868,7 @@
1863
1868
  "axis-line",
1864
1869
  "category-label",
1865
1870
  "center",
1871
+ "center-below",
1866
1872
  "center-label",
1867
1873
  "center-value",
1868
1874
  "chart",
@@ -1888,10 +1894,10 @@
1888
1894
  "mark-leave",
1889
1895
  "pie-chart",
1890
1896
  "pin-marker",
1891
- "pin-reset",
1892
1897
  "pins",
1893
1898
  "ring",
1894
1899
  "ring-outline",
1900
+ "ring-stack",
1895
1901
  "ring-svg",
1896
1902
  "skeleton",
1897
1903
  "skeleton-legend",
@@ -1906,6 +1912,7 @@
1906
1912
  "ds-radio": [
1907
1913
  "control-line",
1908
1914
  "control-text",
1915
+ "disabled",
1909
1916
  "is-disabled",
1910
1917
  "radio",
1911
1918
  "radio-field",
@@ -1924,7 +1931,6 @@
1924
1931
  "canvas",
1925
1932
  "data-table",
1926
1933
  "dims-others",
1927
- "empty",
1928
1934
  "empty-text",
1929
1935
  "framed",
1930
1936
  "grid-line",
@@ -1935,7 +1941,6 @@
1935
1941
  "is-horizontal",
1936
1942
  "is-pinned",
1937
1943
  "mark-leave",
1938
- "pin-reset",
1939
1944
  "pins",
1940
1945
  "plot-bg",
1941
1946
  "point",
@@ -1944,6 +1949,7 @@
1944
1949
  "thinned"
1945
1950
  ],
1946
1951
  "ds-search": [
1952
+ "disabled",
1947
1953
  "icon",
1948
1954
  "in-group",
1949
1955
  "is-disabled",
@@ -1957,6 +1963,7 @@
1957
1963
  "sm"
1958
1964
  ],
1959
1965
  "ds-segmented": [
1966
+ "disabled",
1960
1967
  "is-disabled",
1961
1968
  "joined",
1962
1969
  "label",
@@ -2115,6 +2122,7 @@
2115
2122
  "ds-switch": [
2116
2123
  "control-line",
2117
2124
  "control-text",
2125
+ "disabled",
2118
2126
  "error",
2119
2127
  "is-disabled",
2120
2128
  "req",
@@ -2136,6 +2144,7 @@
2136
2144
  "col-picker-option",
2137
2145
  "col-picker-row",
2138
2146
  "col-reset",
2147
+ "disabled",
2139
2148
  "is-disabled"
2140
2149
  ],
2141
2150
  "ds-table-columns-trigger": [
@@ -2167,6 +2176,7 @@
2167
2176
  "col-width-btn",
2168
2177
  "compact",
2169
2178
  "count",
2179
+ "disabled",
2170
2180
  "editable-cell",
2171
2181
  "empty",
2172
2182
  "expand-btn",
@@ -2175,6 +2185,7 @@
2175
2185
  "expand-panel-cell",
2176
2186
  "expand-panel-content",
2177
2187
  "expand-panel-inner",
2188
+ "expand-panel-row",
2178
2189
  "expandable",
2179
2190
  "fit-content",
2180
2191
  "hscroll-hidden",
@@ -2184,6 +2195,7 @@
2184
2195
  "interactive-cell",
2185
2196
  "is-disabled",
2186
2197
  "is-expanded",
2198
+ "is-leaving",
2187
2199
  "loading-space",
2188
2200
  "numeric",
2189
2201
  "pagination-footer",
@@ -2236,6 +2248,7 @@
2236
2248
  "ds-tag": [
2237
2249
  "closable",
2238
2250
  "close",
2251
+ "disabled",
2239
2252
  "interactive",
2240
2253
  "is-active",
2241
2254
  "is-disabled",
@@ -2303,6 +2316,7 @@
2303
2316
  "actions",
2304
2317
  "body",
2305
2318
  "close",
2319
+ "disabled",
2306
2320
  "error",
2307
2321
  "icon",
2308
2322
  "info",
@@ -2321,6 +2335,7 @@
2321
2335
  ],
2322
2336
  "ds-toggle-button": [
2323
2337
  "button-toggle",
2338
+ "disabled",
2324
2339
  "is-disabled"
2325
2340
  ],
2326
2341
  "ds-tooltip-panel": [
@@ -2331,10 +2346,6 @@
2331
2346
  ],
2332
2347
  "ds-topbar": [
2333
2348
  "actions",
2334
- "crumb",
2335
- "crumb--current",
2336
- "crumb-sep",
2337
- "crumbs-trail",
2338
2349
  "spacer",
2339
2350
  "title",
2340
2351
  "topbar"
@@ -2353,11 +2364,9 @@
2353
2364
  ],
2354
2365
  "ds-waterfall-chart": [
2355
2366
  "data-table",
2356
- "empty",
2357
2367
  "empty-text",
2358
2368
  "framed",
2359
2369
  "is-error",
2360
- "pin-reset",
2361
2370
  "skeleton",
2362
2371
  "stage-table",
2363
2372
  "waterfall-chart"
@@ -21,14 +21,6 @@
21
21
  user-select: text;
22
22
  }
23
23
 
24
- figcaption {
25
- margin-block-end: var(--space-3);
26
- color: var(--text-primary);
27
- font-weight: var(--font-weight-semibold);
28
- user-select: text;
29
- }
30
-
31
- .empty.is-error,
32
24
  .empty-text.is-error {
33
25
  color: var(--error);
34
26
  }
@@ -74,7 +66,7 @@
74
66
  }
75
67
  }
76
68
 
77
- // Keeps the plot's height in empty/error states. `$axes` keeps the L of axis lines (off for pie and funnel).
69
+ // Keeps the plot's height for a message a chart draws in its own body. `$axes` keeps the L of axis lines.
78
70
  @mixin message-box($height, $axes: false) {
79
71
  .empty {
80
72
  display: grid;
@@ -99,47 +91,6 @@
99
91
  :host(.framed) {
100
92
  --_chart-pin-reset-inset: var(--ds-chart-frame-padding);
101
93
  }
102
-
103
- // ponytail: a fixed room fits `Unpin`; a translation longer than about ten characters overlaps
104
- // the caption's end, measure the control if one ever does.
105
- :host:has(.pin-reset) figure > figcaption {
106
- padding-inline-end: calc(5rem + var(--space-2));
107
- }
108
-
109
- /* Top end: the bottom carries axis labels, legend and table. The 44px touch target is the ::before. */
110
- .pin-reset {
111
- position: absolute;
112
- inset-block-start: var(--_chart-pin-reset-inset, 0);
113
- inset-inline-end: var(--_chart-pin-reset-inset, 0);
114
- z-index: 1;
115
- display: inline-flex;
116
- align-items: center;
117
- gap: var(--space-1);
118
- block-size: var(--space-6);
119
- padding: 0 var(--space-2-5);
120
- border: var(--border-width-default) solid var(--border-divider);
121
- border-radius: var(--radius-pill);
122
- background: var(--surface-default);
123
- color: var(--text-secondary);
124
- font-size: var(--font-size-xs);
125
- line-height: 1;
126
- box-shadow: var(--shadow-1);
127
- cursor: pointer;
128
-
129
- &::before {
130
- position: absolute;
131
- inset: 50% auto auto 50%;
132
- inline-size: max(100%, var(--hit-comfy));
133
- block-size: var(--hit-comfy);
134
- transform: translate(-50%, -50%);
135
- content: '';
136
- }
137
-
138
- &:hover {
139
- color: var(--text-primary);
140
- border-color: var(--border-strong);
141
- }
142
- }
143
94
  }
144
95
 
145
96
  /* A state, not a target: no pointer events, no tab stop. */
@@ -7,7 +7,9 @@
7
7
  $error-bg: var(--error-subtitle),
8
8
  $error-focus-shadow: var(--ds-field-focus-shadow-error),
9
9
  $warning-border: var(--warning-text),
10
- $success-border: var(--success)
10
+ $success-border: var(--success),
11
+ $warning-focus-shadow: var(--ds-field-focus-shadow-warning),
12
+ $success-focus-shadow: var(--ds-field-focus-shadow-success)
11
13
  ) {
12
14
  // `:not(.in-group)`: a segment ties `.in-group` at (0,3,0) and this mixin is included last, so the fill
13
15
  // would repaint one segment mid-row. `:not(.disabled)`: state is (0,3,0) against (0,2,0) and would
@@ -25,9 +27,19 @@
25
27
  // --warning is 1.47:1 against a white field (WCAG 1.4.11 asks 3:1); --warning-text is the first ramp rung that clears it, at 4.59:1.
26
28
  :host([data-field-state='warning']:not(.in-group)) #{$box}:not(.disabled):not(:disabled) {
27
29
  border-color: #{$warning-border};
30
+
31
+ &:focus-within,
32
+ &:focus-visible {
33
+ box-shadow: #{$warning-focus-shadow};
34
+ }
28
35
  }
29
36
 
30
37
  :host([data-field-state='success']:not(.in-group)) #{$box}:not(.disabled):not(:disabled) {
31
38
  border-color: #{$success-border};
39
+
40
+ &:focus-within,
41
+ &:focus-visible {
42
+ box-shadow: #{$success-focus-shadow};
43
+ }
32
44
  }
33
45
  }
@@ -5,7 +5,7 @@
5
5
  // painting its own shadow must yield, see `state-shadow`.
6
6
  // An outline follows the element's border-radius: a shell that only carries the ring takes `--focus-ring-radius`.
7
7
  // Include inside `&:focus-visible`, never on the element itself, or every instance is ringed at all times.
8
- // Usually include nothing: `:where(:focus-visible)` below rings anything focusable that styles nothing itself.
8
+ // Usually include nothing: `:where(:focus-visible)` in `emit-rules` rings anything focusable that styles nothing itself.
9
9
  // Pass a negative offset where an ancestor clips.
10
10
  @mixin ring($offset: var(--focus-ring-offset)) {
11
11
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
@@ -15,18 +15,6 @@
15
15
  animation: ds-focus-ring-in var(--duration-fast) var(--ease-standard);
16
16
  }
17
17
 
18
- // Catches anything focusable that styles nothing itself; a shell ringing on `:focus-within`
19
- // silences its control with `owns-the-focus-ring` to avoid a second ring.
20
- :where(:focus-visible) {
21
- @include ring;
22
- }
23
-
24
- @keyframes ds-focus-ring-in {
25
- from {
26
- outline-color: transparent;
27
- }
28
- }
29
-
30
18
  // A shell that rings on its control's behalf and silences $control in the same call.
31
19
  // `:has(:focus-visible)`, not `:focus-within`: a clicked checkbox is not `:focus-visible` but matches
32
20
  // `:focus-within`, so it would keep its ring. Field shells use `:focus-within` (a text input does grant `:focus-visible`).
@@ -60,28 +48,52 @@
60
48
  }
61
49
  }
62
50
 
63
- :root[data-focus='ring'] {
64
- --ds-field-focus-shadow: var(--focus-ring);
65
- --ds-field-focus-shadow-error: var(--focus-ring-error);
66
- }
51
+ // The global focus rules. Call from exactly one global stylesheet: `styles/ds` does. A rule here,
52
+ // emitted at the top level instead, would be copied into every component stylesheet that uses a mixin.
53
+ @mixin emit-rules {
54
+ // Catches anything focusable that styles nothing itself; a shell ringing on `:focus-within`
55
+ // silences its control with `owns-the-focus-ring` to avoid a second ring.
56
+ :where(:focus-visible) {
57
+ @include ring;
58
+ }
67
59
 
68
- :root[data-focus='edge'] {
69
- --focus-ring-offset: 0px;
70
- --ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);
71
- --ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error);
72
- }
60
+ @keyframes ds-focus-ring-in {
61
+ from {
62
+ outline-color: transparent;
63
+ }
64
+ }
73
65
 
74
- // Not pinned to :root: set it on a clipping element and everything inside keeps an indicator.
75
- [data-focus='inset'] {
76
- --focus-ring-offset: calc(-1 * var(--focus-ring-width));
77
- --ds-field-focus-shadow: var(--focus-ring-inset);
78
- --ds-field-focus-shadow-error: var(--focus-ring-inset-error);
79
- }
66
+ :root[data-focus='ring'] {
67
+ --ds-field-focus-shadow: var(--focus-ring);
68
+ --ds-field-focus-shadow-error: var(--focus-ring-error);
80
69
 
81
- // Applies under every style: forced colours drops box-shadow, so the field halo vanishes.
82
- @media (forced-colors: active) {
83
- :where(:focus-visible) {
84
- outline: var(--focus-ring-width) solid CanvasText;
85
- outline-offset: var(--focus-ring-offset);
70
+ // `--warning-text`, not `--focus-ring-warning`: the bright warning hue is 1.47:1 on white, too faint for a ring.
71
+ --ds-field-focus-shadow-warning: 0 0 0 2px var(--focus-ring-inner), 0 0 0 4px var(--warning-text);
72
+ --ds-field-focus-shadow-success: var(--focus-ring-success);
73
+ }
74
+
75
+ :root[data-focus='edge'] {
76
+ --focus-ring-offset: 0px;
77
+ --ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);
78
+ --ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error);
79
+ --ds-field-focus-shadow-warning: 0 0 0 var(--border-width-default) var(--warning-text);
80
+ --ds-field-focus-shadow-success: 0 0 0 var(--border-width-default) var(--success);
81
+ }
82
+
83
+ // Not pinned to :root: set it on a clipping element and everything inside keeps an indicator.
84
+ [data-focus='inset'] {
85
+ --focus-ring-offset: calc(-1 * var(--focus-ring-width));
86
+ --ds-field-focus-shadow: var(--focus-ring-inset);
87
+ --ds-field-focus-shadow-error: var(--focus-ring-inset-error);
88
+ --ds-field-focus-shadow-warning: inset 0 0 0 2px var(--focus-ring-inner), inset 0 0 0 4px var(--warning-text);
89
+ --ds-field-focus-shadow-success: inset 0 0 0 2px var(--focus-ring-inner), inset 0 0 0 4px var(--success);
90
+ }
91
+
92
+ // Applies under every style: forced colours drops box-shadow, so the field halo vanishes.
93
+ @media (forced-colors: active) {
94
+ :where(:focus-visible) {
95
+ outline: var(--focus-ring-width) solid CanvasText;
96
+ outline-offset: var(--focus-ring-offset);
97
+ }
86
98
  }
87
99
  }
package/styles/_link.scss CHANGED
@@ -80,6 +80,18 @@
80
80
  font-weight: var(--font-weight-bold);
81
81
  }
82
82
 
83
+ /* Underlined on hover and keyboard focus only: for a link that stands on its own, such as a row action
84
+ or a list of links. A link inside running text keeps its underline, the cue that sets it apart from
85
+ the words around it without relying on colour. */
86
+ &.plain {
87
+ text-decoration-line: none;
88
+
89
+ &:hover,
90
+ &:focus-visible {
91
+ text-decoration-line: underline;
92
+ }
93
+ }
94
+
83
95
  &.xs { font-size: var(--font-size-xs); }
84
96
  &.sm { font-size: var(--font-size-s); }
85
97
  &.lg { font-size: var(--font-size-l); }
@@ -6,7 +6,7 @@
6
6
  // Declares no `transition`, which would clobber the host's own; add `filter`/`transform` to yours for an eased release.
7
7
 
8
8
  @mixin feedback {
9
- &:active:not(:disabled, [disabled], .is-disabled) {
9
+ &:active:not(:disabled, [disabled], .is-disabled, .disabled, [aria-disabled='true']) {
10
10
  filter: brightness(var(--ds-press-brightness, 0.9));
11
11
  transform: scale(var(--ds-press-scale, 0.97));
12
12
  }
@@ -67,7 +67,7 @@
67
67
  from it on :root would ignore one set on a single chart. */
68
68
  --chart-bg-color: var(--surface-default);
69
69
 
70
- /* FRAME: inside a card, drop it with --ds-chart-frame-border-width: 0 and --ds-chart-frame-padding: 0. */
70
+ /* FRAME: inside a card use frame="none" / DS_CONFIG.chart.frame; these tokens size the frame when it is on. */
71
71
  --chart-frame-border-color: var(--border-default);
72
72
  --chart-frame-border-width: var(--border-width-default);
73
73
  --chart-frame-radius: var(--radius-lg);
@@ -241,6 +241,8 @@
241
241
  declared, so a ds-color zone could never reach it. */
242
242
  --ds-field-focus-shadow: var(--focus-field);
243
243
  --ds-field-focus-shadow-error: var(--focus-field-error);
244
+ --ds-field-focus-shadow-warning: var(--focus-field-warning);
245
+ --ds-field-focus-shadow-success: var(--focus-field-success);
244
246
  --ds-control-focus-shadow: var(--focus-ring);
245
247
  --ds-control-focus-shadow-error: var(--focus-ring-error);
246
248
 
package/styles/ds.scss CHANGED
@@ -6,6 +6,7 @@
6
6
  // @use 'themes/base-palette'; @use 'styles/theme-activation'; @use 'styles/tokens';
7
7
 
8
8
  @use 'breakpoints' as bp-emit;
9
+ @use 'focus' as focus-emit;
9
10
  @forward '../themes/base-palette';
10
11
  @forward 'theme-activation';
11
12
  @forward 'tokens';
@@ -27,3 +28,4 @@
27
28
  @forward 'overlay-motion';
28
29
  @forward 'skeleton-shimmer';
29
30
  @include bp-emit.emit-vars;
31
+ @include focus-emit.emit-rules;
@@ -141,8 +141,10 @@ declare class AppLayoutComponent {
141
141
  * PUT IT ON THE FOCUSABLE CONTROL, not on a wrapper: on `<ds-icon-button>` the
142
142
  * host is the wrapper, not the inner `<button>`. With a DS button, skip this
143
143
  * directive and bind its forwarding inputs instead:
144
- * `[ariaExpanded]="layout.railOverlay() ? layout.railOpen() : null"` and
145
- * `[ariaControls]="layout.railId"` off a `<ds-app-layout #layout>` template ref.
144
+ * `[ariaExpanded]="layout.railOverlay() ? layout.railOpen() : null"`,
145
+ * `[ariaControls]="layout.railOverlay() ? layout.railId : null"` and
146
+ * `(pressed)="layout.railOpen.set(!layout.railOpen())"` off a
147
+ * `<ds-app-layout #layout>` template ref.
146
148
  *
147
149
  * Both attributes are dropped while the rail is NOT an overlay, since
148
150
  * `aria-expanded="false"` would misstate a permanently visible rail.
@@ -3,13 +3,15 @@ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-desig
3
3
 
4
4
  declare class AvatarGroupComponent {
5
5
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
6
- /** Avatars shown before the rest collapse into the `+N` chip. */
6
+ /** Avatars shown before the rest collapse into the `+N` chip; projected avatars past it are hidden. */
7
7
  readonly max: _angular_core.InputSignal<number>;
8
8
  /** Total avatar count driving the `+N` overflow; null counts the projected children. */
9
9
  readonly total: _angular_core.InputSignal<number | null>;
10
+ private readonly avatars;
10
11
  protected readonly overflow: _angular_core.Signal<number | null>;
12
+ constructor();
11
13
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarGroupComponent, never>;
12
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarGroupComponent, "ds-avatar-group", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
14
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarGroupComponent, "ds-avatar-group", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; }, {}, ["avatars"], ["*"], true, never>;
13
15
  }
14
16
 
15
17
  export { AvatarGroupComponent };
@@ -75,7 +75,8 @@ declare class ButtonComponent extends DsMessageBase {
75
75
  readonly ariaControls: _angular_core.InputSignal<string | null>;
76
76
  /** Why the button is refused, shown as its second line and read only while `disabled`. Setting
77
77
  * it uses `aria-disabled` instead of the native attribute (a native disabled button cannot be
78
- * focused, so the reason would go unannounced) and swallows the click. Uncapped: the text wraps. */
78
+ * focused, so the reason would go unannounced) and swallows the click; a link-button keeps its
79
+ * Tab stop the same way. Uncapped: the text wraps. */
79
80
  readonly disabledReason: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
80
81
  /** `aria-describedby` pointing at a description the app renders itself. Merged with the id
81
82
  * of `disabledReason` when both are present. */