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

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 (164) hide show
  1. package/CHANGELOG.md +138 -4
  2. package/components.md +20 -18
  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-input.md +1 -1
  9. package/docs/agent/forms/ds-multi-select.md +1 -1
  10. package/docs/agent/forms/ds-select.md +1 -1
  11. package/docs/agent/forms/ds-textarea.md +1 -1
  12. package/docs/agent/forms/filter-item-directive.md +1 -1
  13. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  14. package/docs/agent/foundations/global-helper-classes.md +2 -2
  15. package/docs/agent/foundations/grid.md +8 -8
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +6 -4
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +4 -3
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +169 -3
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +261 -16
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +3 -3
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +16 -13
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +5 -3
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -3
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +4 -3
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +22 -19
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +6 -6
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -3
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +9 -11
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +4 -3
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +4 -3
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +7 -7
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +3 -3
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +16 -3
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +2 -2
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +4 -4
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +4 -2
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  134. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +16 -2
  135. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  136. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +2 -0
  137. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  138. package/migrations/0.14.6.json +176 -0
  139. package/package.json +1 -1
  140. package/schematics/check-overrides/surface.json +26 -16
  141. package/styles/_chart-frame.scss +1 -50
  142. package/styles/_field-state.scss +13 -1
  143. package/styles/_focus.scss +45 -33
  144. package/styles/_link.scss +12 -0
  145. package/styles/_press.scss +1 -1
  146. package/styles/_tokens-charts.scss +1 -1
  147. package/styles/_tokens.scss +2 -0
  148. package/styles/ds.scss +2 -0
  149. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +4 -2
  150. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
  151. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +64 -3
  152. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +35 -2
  153. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +1 -1
  154. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +2 -3
  155. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +1 -1
  156. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +4 -4
  157. package/types/ids-group-ltd-ids-design-system-components-page-header.d.ts +1 -1
  158. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
  159. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +1 -1
  160. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +1 -1
  161. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +2 -1
  162. package/types/ids-group-ltd-ids-design-system-components.d.ts +6 -1
  163. package/types/ids-group-ltd-ids-design-system-core.d.ts +2 -0
  164. 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.6",
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",
@@ -1110,6 +1112,7 @@
1110
1112
  "a-icon",
1111
1113
  "a-title",
1112
1114
  "alert",
1115
+ "disabled",
1113
1116
  "error",
1114
1117
  "is-disabled",
1115
1118
  "neutral",
@@ -1191,6 +1194,7 @@
1191
1194
  "body",
1192
1195
  "close",
1193
1196
  "compact",
1197
+ "disabled",
1194
1198
  "error",
1195
1199
  "icon",
1196
1200
  "is-disabled",
@@ -1213,7 +1217,6 @@
1213
1217
  "data-table",
1214
1218
  "detail",
1215
1219
  "dims-others",
1216
- "empty",
1217
1220
  "empty-text",
1218
1221
  "fill",
1219
1222
  "framed",
@@ -1227,7 +1230,6 @@
1227
1230
  "mark-leave",
1228
1231
  "percent",
1229
1232
  "pin-marker",
1230
- "pin-reset",
1231
1233
  "pins",
1232
1234
  "row",
1233
1235
  "rows",
@@ -1321,6 +1323,7 @@
1321
1323
  "is-nested"
1322
1324
  ],
1323
1325
  "ds-chart-legend": [
1326
+ "disabled",
1324
1327
  "is-disabled",
1325
1328
  "is-hidden",
1326
1329
  "legend",
@@ -1343,6 +1346,9 @@
1343
1346
  "swatch",
1344
1347
  "value"
1345
1348
  ],
1349
+ "ds-chart-unpin": [
1350
+ "pin-reset"
1351
+ ],
1346
1352
  "ds-chart": [
1347
1353
  "axis-label",
1348
1354
  "axis-line",
@@ -1350,13 +1356,13 @@
1350
1356
  "canvas",
1351
1357
  "category-band",
1352
1358
  "category-label",
1359
+ "category-stop",
1353
1360
  "chart",
1354
1361
  "cursor",
1355
1362
  "cursor-in",
1356
1363
  "cursor-line",
1357
1364
  "cursor-out",
1358
1365
  "data-table",
1359
- "empty",
1360
1366
  "empty-text",
1361
1367
  "framed",
1362
1368
  "grid-line",
@@ -1374,6 +1380,7 @@
1374
1380
  "checkbox-field",
1375
1381
  "control-line",
1376
1382
  "control-text",
1383
+ "disabled",
1377
1384
  "is-disabled",
1378
1385
  "req",
1379
1386
  "size-lg",
@@ -1402,11 +1409,9 @@
1402
1409
  "ds-column-chart": [
1403
1410
  "column-chart",
1404
1411
  "data-table",
1405
- "empty",
1406
1412
  "empty-text",
1407
1413
  "framed",
1408
1414
  "is-error",
1409
- "pin-reset",
1410
1415
  "skeleton",
1411
1416
  "stage-table"
1412
1417
  ],
@@ -1473,6 +1478,7 @@
1473
1478
  "bottom",
1474
1479
  "close",
1475
1480
  "closing",
1481
+ "disabled",
1476
1482
  "drawer",
1477
1483
  "drawer-root",
1478
1484
  "drawer-scrim",
@@ -1549,7 +1555,6 @@
1549
1555
  "category-label",
1550
1556
  "data-table",
1551
1557
  "dims-others",
1552
- "empty",
1553
1558
  "empty-text",
1554
1559
  "framed",
1555
1560
  "funnel-chart",
@@ -1561,7 +1566,6 @@
1561
1566
  "is-pinned",
1562
1567
  "mark-leave",
1563
1568
  "pin-marker",
1564
- "pin-reset",
1565
1569
  "pins",
1566
1570
  "shape",
1567
1571
  "skeleton",
@@ -1577,7 +1581,6 @@
1577
1581
  "column-label",
1578
1582
  "data-table",
1579
1583
  "dims-others",
1580
- "empty",
1581
1584
  "empty-text",
1582
1585
  "framed",
1583
1586
  "grid",
@@ -1591,7 +1594,6 @@
1591
1594
  "is-pinned",
1592
1595
  "mark-leave",
1593
1596
  "pin-marker",
1594
- "pin-reset",
1595
1597
  "pins",
1596
1598
  "row-label",
1597
1599
  "scale",
@@ -1656,7 +1658,6 @@
1656
1658
  "grid-line",
1657
1659
  "is-error",
1658
1660
  "line-chart",
1659
- "pin-reset",
1660
1661
  "skeleton",
1661
1662
  "skeleton-legend",
1662
1663
  "stage-table"
@@ -1703,6 +1704,7 @@
1703
1704
  "body",
1704
1705
  "close",
1705
1706
  "closing",
1707
+ "disabled",
1706
1708
  "error",
1707
1709
  "eyebrow",
1708
1710
  "fullscreen",
@@ -1733,6 +1735,7 @@
1733
1735
  "body",
1734
1736
  "close",
1735
1737
  "closing",
1738
+ "disabled",
1736
1739
  "error",
1737
1740
  "eyebrow",
1738
1741
  "fullscreen",
@@ -1840,6 +1843,7 @@
1840
1843
  ],
1841
1844
  "ds-pagination": [
1842
1845
  "active",
1846
+ "disabled",
1843
1847
  "ellipsis",
1844
1848
  "is-disabled",
1845
1849
  "label",
@@ -1888,7 +1892,6 @@
1888
1892
  "mark-leave",
1889
1893
  "pie-chart",
1890
1894
  "pin-marker",
1891
- "pin-reset",
1892
1895
  "pins",
1893
1896
  "ring",
1894
1897
  "ring-outline",
@@ -1906,6 +1909,7 @@
1906
1909
  "ds-radio": [
1907
1910
  "control-line",
1908
1911
  "control-text",
1912
+ "disabled",
1909
1913
  "is-disabled",
1910
1914
  "radio",
1911
1915
  "radio-field",
@@ -1924,7 +1928,6 @@
1924
1928
  "canvas",
1925
1929
  "data-table",
1926
1930
  "dims-others",
1927
- "empty",
1928
1931
  "empty-text",
1929
1932
  "framed",
1930
1933
  "grid-line",
@@ -1935,7 +1938,6 @@
1935
1938
  "is-horizontal",
1936
1939
  "is-pinned",
1937
1940
  "mark-leave",
1938
- "pin-reset",
1939
1941
  "pins",
1940
1942
  "plot-bg",
1941
1943
  "point",
@@ -1944,6 +1946,7 @@
1944
1946
  "thinned"
1945
1947
  ],
1946
1948
  "ds-search": [
1949
+ "disabled",
1947
1950
  "icon",
1948
1951
  "in-group",
1949
1952
  "is-disabled",
@@ -1957,6 +1960,7 @@
1957
1960
  "sm"
1958
1961
  ],
1959
1962
  "ds-segmented": [
1963
+ "disabled",
1960
1964
  "is-disabled",
1961
1965
  "joined",
1962
1966
  "label",
@@ -2115,6 +2119,7 @@
2115
2119
  "ds-switch": [
2116
2120
  "control-line",
2117
2121
  "control-text",
2122
+ "disabled",
2118
2123
  "error",
2119
2124
  "is-disabled",
2120
2125
  "req",
@@ -2136,6 +2141,7 @@
2136
2141
  "col-picker-option",
2137
2142
  "col-picker-row",
2138
2143
  "col-reset",
2144
+ "disabled",
2139
2145
  "is-disabled"
2140
2146
  ],
2141
2147
  "ds-table-columns-trigger": [
@@ -2167,6 +2173,7 @@
2167
2173
  "col-width-btn",
2168
2174
  "compact",
2169
2175
  "count",
2176
+ "disabled",
2170
2177
  "editable-cell",
2171
2178
  "empty",
2172
2179
  "expand-btn",
@@ -2175,6 +2182,7 @@
2175
2182
  "expand-panel-cell",
2176
2183
  "expand-panel-content",
2177
2184
  "expand-panel-inner",
2185
+ "expand-panel-row",
2178
2186
  "expandable",
2179
2187
  "fit-content",
2180
2188
  "hscroll-hidden",
@@ -2184,6 +2192,7 @@
2184
2192
  "interactive-cell",
2185
2193
  "is-disabled",
2186
2194
  "is-expanded",
2195
+ "is-leaving",
2187
2196
  "loading-space",
2188
2197
  "numeric",
2189
2198
  "pagination-footer",
@@ -2236,6 +2245,7 @@
2236
2245
  "ds-tag": [
2237
2246
  "closable",
2238
2247
  "close",
2248
+ "disabled",
2239
2249
  "interactive",
2240
2250
  "is-active",
2241
2251
  "is-disabled",
@@ -2303,6 +2313,7 @@
2303
2313
  "actions",
2304
2314
  "body",
2305
2315
  "close",
2316
+ "disabled",
2306
2317
  "error",
2307
2318
  "icon",
2308
2319
  "info",
@@ -2321,6 +2332,7 @@
2321
2332
  ],
2322
2333
  "ds-toggle-button": [
2323
2334
  "button-toggle",
2335
+ "disabled",
2324
2336
  "is-disabled"
2325
2337
  ],
2326
2338
  "ds-tooltip-panel": [
@@ -2353,11 +2365,9 @@
2353
2365
  ],
2354
2366
  "ds-waterfall-chart": [
2355
2367
  "data-table",
2356
- "empty",
2357
2368
  "empty-text",
2358
2369
  "framed",
2359
2370
  "is-error",
2360
- "pin-reset",
2361
2371
  "skeleton",
2362
2372
  "stage-table",
2363
2373
  "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.
@@ -45,9 +45,9 @@ declare class ButtonComponent extends DsMessageBase {
45
45
  /** How `routerLinkActive` decides the `active` class; prefix by default. It also bounds the
46
46
  * announcement: with `{ exact: true }` a prefix match announces nothing rather than `true`.
47
47
  * Pass `ariaCurrent` alongside to keep one. */
48
- readonly routerLinkActiveOptions: _angular_core.InputSignal<IsActiveMatchOptions | {
48
+ readonly routerLinkActiveOptions: _angular_core.InputSignal<{
49
49
  exact: boolean;
50
- }>;
50
+ } | IsActiveMatchOptions>;
51
51
  /** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
52
52
  * `true`; `null` announces nothing; use `step` or `location` when the link is not a page. */
53
53
  readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
@@ -1,6 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { TemplateRef, Signal } from '@angular/core';
2
+ import { TemplateRef, Signal, InjectionToken } from '@angular/core';
3
3
  import { SafeHtml } from '@angular/platform-browser';
4
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
4
5
 
5
6
  /** Which mark a chart's tooltip answers for. `'item'` is the mark under the pointer;
6
7
  * `'axis'` is every series at the category under the pointer (line charts). */
@@ -52,6 +53,7 @@ declare class ChartTooltipDirective {
52
53
  private panelRef;
53
54
  private detachScrollReposition;
54
55
  private detachEscape;
56
+ private detachOffscreen;
55
57
  private glide;
56
58
  constructor();
57
59
  private open;
@@ -119,5 +121,64 @@ declare class ChartPinMarkerComponent {
119
121
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartPinMarkerComponent, "g[dsChartPinMarker]", never, {}, {}, never, never, true, never>;
120
122
  }
121
123
 
122
- export { CHART_PIN_GAP, CHART_PIN_RADIUS, ChartPinMarkerComponent, ChartTooltipDirective, chartActiveMark };
123
- export type { ChartActiveMark, ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };
124
+ /**
125
+ * Provided by a chart that wraps `ds-chart` and draws the Unpin control for its cursor itself,
126
+ * on its own caption line; the wrapped `ds-chart` then draws none.
127
+ *
128
+ * @internal
129
+ */
130
+ declare const CHART_UNPIN_DRAWN_BY_HOST: InjectionToken<true>;
131
+ /**
132
+ * The control that releases a held mark or category, at the top end of the chart. Every chart
133
+ * draws this one; the chart's own stylesheet makes room for it through `chart-frame.pin-reset`.
134
+ *
135
+ * @internal
136
+ */
137
+ declare class ChartUnpinComponent {
138
+ readonly pinned: _angular_core.InputSignal<boolean>;
139
+ readonly release: _angular_core.OutputEmitterRef<void>;
140
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
141
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartUnpinComponent, never>;
142
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartUnpinComponent, "ds-chart-unpin", never, { "pinned": { "alias": "pinned"; "required": true; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
143
+ }
144
+
145
+ /**
146
+ * Context of a chart's own `message` template: the text, and whether it reports an error.
147
+ *
148
+ * @internal
149
+ */
150
+ interface ChartStatesMessageContext {
151
+ readonly $implicit: string;
152
+ readonly error: boolean;
153
+ }
154
+ /**
155
+ * The Unpin control, caption and error / loading / empty states every chart draws, then `body`.
156
+ * It sits on the chart's own `<figure>` so the caption stays the figure's direct child, which is
157
+ * what names the figure. `skeleton`, `body` and `message` are declared in the chart's template
158
+ * and keep its styles; the message box takes its height from an inherited
159
+ * `--_chart-message-height`.
160
+ *
161
+ * @internal
162
+ */
163
+ declare class ChartStatesComponent {
164
+ readonly unpin: _angular_core.InputSignalWithTransform<boolean, unknown>;
165
+ readonly pinned: _angular_core.InputSignal<boolean>;
166
+ readonly release: _angular_core.OutputEmitterRef<void>;
167
+ readonly caption: _angular_core.InputSignal<string | null>;
168
+ readonly error: _angular_core.InputSignal<boolean>;
169
+ readonly errorText: _angular_core.InputSignal<string>;
170
+ readonly pending: _angular_core.InputSignal<boolean>;
171
+ readonly empty: _angular_core.InputSignal<boolean>;
172
+ readonly emptyText: _angular_core.InputSignal<string>;
173
+ /** Draws the axis L along the message box's start and bottom edges. */
174
+ readonly messageAxes: _angular_core.InputSignalWithTransform<boolean, unknown>;
175
+ readonly skeleton: _angular_core.InputSignal<TemplateRef<unknown>>;
176
+ readonly body: _angular_core.InputSignal<TemplateRef<unknown>>;
177
+ /** Replaces the default error and empty paragraph. */
178
+ readonly message: _angular_core.InputSignal<TemplateRef<ChartStatesMessageContext> | null>;
179
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartStatesComponent, never>;
180
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartStatesComponent, "figure[dsChartStates]", never, { "unpin": { "alias": "unpin"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "messageAxes": { "alias": "messageAxes"; "required": false; "isSignal": true; }; "skeleton": { "alias": "skeleton"; "required": true; "isSignal": true; }; "body": { "alias": "body"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
181
+ }
182
+
183
+ export { CHART_PIN_GAP, CHART_PIN_RADIUS, CHART_UNPIN_DRAWN_BY_HOST, ChartPinMarkerComponent, ChartStatesComponent, ChartTooltipDirective, ChartUnpinComponent, chartActiveMark };
184
+ export type { ChartActiveMark, ChartItemTooltipTrigger, ChartStatesMessageContext, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };