@ids-group-ltd/ids-design-system 1.0.3 → 1.1.1

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 (116) hide show
  1. package/CHANGELOG.md +423 -3
  2. package/agent/INDEX.md +12 -2
  3. package/agent/feedback/ds-alert.md +3 -2
  4. package/agent/feedback/ds-attachment.md +12 -0
  5. package/agent/feedback/ds-chat-attachment.md +10 -0
  6. package/agent/feedback/ds-chat-message.md +11 -0
  7. package/agent/feedback/ds-chat-step.md +10 -0
  8. package/agent/feedback/ds-chat-steps.md +10 -0
  9. package/agent/feedback/ds-chat-thread.md +11 -0
  10. package/agent/feedback/ds-timeline-item.md +3 -1
  11. package/agent/feedback/ds-timeline.md +9 -0
  12. package/agent/feedback/ds-toast.md +1 -1
  13. package/agent/feedback/ds-tree.md +3 -1
  14. package/agent/forms/ds-chat-input.md +16 -0
  15. package/agent/forms/ds-inline-edit.md +14 -0
  16. package/agent/foundations/tokens.md +3 -3
  17. package/agent/navigation/ds-splitter.md +14 -0
  18. package/agent/platform/toast-service.md +3 -2
  19. package/agent/tables/ds-table.md +1 -1
  20. package/components.md +110 -11
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +5 -3
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +2 -2
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +928 -0
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs.map +1 -0
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs +107 -0
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs.map +1 -0
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -2
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +16 -12
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs +465 -0
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs.map +1 -0
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +4 -2
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +2 -2
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +74 -17
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +163 -20
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +4 -19
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +182 -24
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +31 -4
  80. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +74 -0
  82. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -2
  84. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system.mjs +4 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  87. package/migrations/0.11.2.json +1 -0
  88. package/migrations/1.0.1.json +4 -0
  89. package/migrations/1.0.2.json +37 -1
  90. package/migrations/1.1.0.json +208 -0
  91. package/migrations/1.1.1.json +190 -0
  92. package/migrations/README.md +6 -6
  93. package/package.json +25 -1
  94. package/schematics/check-overrides/surface.json +199 -6
  95. package/styles/_dropdown-overlay.scss +11 -6
  96. package/styles/_field-box.scss +2 -2
  97. package/styles/_step-marker.scss +51 -0
  98. package/styles/_tokens.scss +5 -3
  99. package/themes/README.md +2 -1
  100. package/themes/_semantic.scss +15 -0
  101. package/themes/dark/_palette.scss +1 -2
  102. package/themes/dark/_theme.scss +32 -3
  103. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +3 -1
  104. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
  105. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +1 -1
  106. package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +377 -0
  107. package/types/ids-group-ltd-ids-design-system-components-inline-edit.d.ts +43 -0
  108. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
  109. package/types/ids-group-ltd-ids-design-system-components-splitter.d.ts +97 -0
  110. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
  111. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +34 -5
  112. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +53 -4
  113. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +87 -7
  114. package/types/ids-group-ltd-ids-design-system-components.d.ts +8 -4
  115. package/types/ids-group-ltd-ids-design-system-core.d.ts +126 -0
  116. package/types/ids-group-ltd-ids-design-system.d.ts +6 -3
@@ -13,7 +13,7 @@ One file per released version — `migrations/<version>.json` — mirroring that
13
13
  "verify": "<the positive assertion that proves this landed>",
14
14
  "restore": "<literal snippet that brings the old behaviour back | null>",
15
15
  "supersedes": ["<version>#<id>"],
16
- "evidence": ["commit:<sha> | fixture:<path> | pixels:<block id> | tokens:<name> | command:<shell>"] } ],
16
+ "evidence": ["fixture:<path> | pixels:<block id> | tokens:<name> | command:<shell>"] } ],
17
17
  "deleteList": [ { "id": "<slug>", "surface": "<surface>", "find": ["<shape>", "..."],
18
18
  "why": "<what made it unnecessary>",
19
19
  "replaceWith": "<the API that replaces it>" } ],
@@ -52,11 +52,11 @@ One file per released version — `migrations/<version>.json` — mirroring that
52
52
  - **`pitfall`** — the way to apply the item mechanically correctly and still ship a broken app.
53
53
  Read it before deciding a clean build means done.
54
54
  - **`evidence`** - what measured the outcome the entry's prose asserts: that rendering or behaviour
55
- did not change, a compile outcome, or a count of things. `commit:<sha>` inside the boundary the
56
- manifest describes, `fixture:<path>` under `migrations/fixtures/`, `pixels:<docs block id>`
57
- (`<section anchor>/<chapter slug>`, such as `button/sizes`, whose pixels did not change across
58
- the boundary), `tokens:<token name>`, or `command:<shell command>`. Optional on an item and on an object-form
59
- `informational` entry, and required wherever the prose makes such a claim.
55
+ did not change, a compile outcome, or a count of things. `fixture:<path>` under
56
+ `migrations/fixtures/`, `pixels:<docs block id>` (`<section anchor>/<chapter slug>`, such as
57
+ `button/sizes`, whose pixels did not change across the boundary), `tokens:<token name>`, or
58
+ `command:<shell command>`. Optional on an item and on an object-form `informational` entry, and
59
+ required wherever the prose makes such a claim.
60
60
  - **`deleteList`** - rows in published manifests; not written for new entries (see below).
61
61
  - **`informational`** — a non-actionable FYI, a bare string or `{ "text": "...", "verify": "..." }`
62
62
  where `verify` is the one eyeball check for a change to rendering alone (no symbol for a grep or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ids-group-ltd/ids-design-system",
3
- "version": "1.0.3",
3
+ "version": "1.1.1",
4
4
  "description": "IDS Group Angular design system: components, tokens, themes",
5
5
  "license": "MIT",
6
6
  "homepage": "https://ids-ds.proto.ids-group.co.uk/",
@@ -119,6 +119,10 @@
119
119
  "types": "./types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts",
120
120
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs"
121
121
  },
122
+ "./components/chat": {
123
+ "types": "./types/ids-group-ltd-ids-design-system-components-chat.d.ts",
124
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs"
125
+ },
122
126
  "./components/checkbox": {
123
127
  "types": "./types/ids-group-ltd-ids-design-system-components-checkbox.d.ts",
124
128
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs"
@@ -187,6 +191,10 @@
187
191
  "types": "./types/ids-group-ltd-ids-design-system-components-info-hint.d.ts",
188
192
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs"
189
193
  },
194
+ "./components/inline-edit": {
195
+ "types": "./types/ids-group-ltd-ids-design-system-components-inline-edit.d.ts",
196
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs"
197
+ },
190
198
  "./components/input": {
191
199
  "types": "./types/ids-group-ltd-ids-design-system-components-input.d.ts",
192
200
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-input.mjs"
@@ -307,6 +315,10 @@
307
315
  "types": "./types/ids-group-ltd-ids-design-system-components-split-button.d.ts",
308
316
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs"
309
317
  },
318
+ "./components/splitter": {
319
+ "types": "./types/ids-group-ltd-ids-design-system-components-splitter.d.ts",
320
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs"
321
+ },
310
322
  "./components/stat": {
311
323
  "types": "./types/ids-group-ltd-ids-design-system-components-stat.d.ts",
312
324
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs"
@@ -487,6 +499,10 @@
487
499
  "types": "./types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts",
488
500
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs"
489
501
  },
502
+ "./chat": {
503
+ "types": "./types/ids-group-ltd-ids-design-system-components-chat.d.ts",
504
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs"
505
+ },
490
506
  "./checkbox": {
491
507
  "types": "./types/ids-group-ltd-ids-design-system-components-checkbox.d.ts",
492
508
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs"
@@ -555,6 +571,10 @@
555
571
  "types": "./types/ids-group-ltd-ids-design-system-components-info-hint.d.ts",
556
572
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs"
557
573
  },
574
+ "./inline-edit": {
575
+ "types": "./types/ids-group-ltd-ids-design-system-components-inline-edit.d.ts",
576
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs"
577
+ },
558
578
  "./input": {
559
579
  "types": "./types/ids-group-ltd-ids-design-system-components-input.d.ts",
560
580
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-input.mjs"
@@ -675,6 +695,10 @@
675
695
  "types": "./types/ids-group-ltd-ids-design-system-components-split-button.d.ts",
676
696
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs"
677
697
  },
698
+ "./splitter": {
699
+ "types": "./types/ids-group-ltd-ids-design-system-components-splitter.d.ts",
700
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs"
701
+ },
678
702
  "./stat": {
679
703
  "types": "./types/ids-group-ltd-ids-design-system-components-stat.d.ts",
680
704
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.3",
2
+ "version": "1.1.1",
3
3
  "tokens": [
4
4
  "--ds-accordion-body-padding",
5
5
  "--ds-accordion-body-text-color",
@@ -250,6 +250,26 @@
250
250
  "--ds-chart-tooltip-bg-color",
251
251
  "--ds-chart-tooltip-border-color",
252
252
  "--ds-chart-tooltip-text-color",
253
+ "--ds-chat-attachment-bg-color",
254
+ "--ds-chat-attachment-preview-bg-color",
255
+ "--ds-chat-attachment-preview-max-height",
256
+ "--ds-chat-input-bg-color",
257
+ "--ds-chat-input-padding",
258
+ "--ds-chat-input-radius",
259
+ "--ds-chat-message-assistant-bg-color",
260
+ "--ds-chat-message-assistant-color",
261
+ "--ds-chat-message-max-width",
262
+ "--ds-chat-message-padding",
263
+ "--ds-chat-message-radius",
264
+ "--ds-chat-message-system-bg-color",
265
+ "--ds-chat-message-system-border-color",
266
+ "--ds-chat-message-system-color",
267
+ "--ds-chat-message-user-bg-color",
268
+ "--ds-chat-message-user-color",
269
+ "--ds-chat-thread-gap",
270
+ "--ds-chat-thread-group-gap",
271
+ "--ds-chat-thread-inset-bottom",
272
+ "--ds-chat-thread-padding",
253
273
  "--ds-check-mark-enter-duration",
254
274
  "--ds-check-mark-enter-easing",
255
275
  "--ds-check-mark-exit-duration",
@@ -447,6 +467,10 @@
447
467
  "--ds-icon-button-size",
448
468
  "--ds-icon-size",
449
469
  "--ds-info-hint-color",
470
+ "--ds-inline-edit-border-color",
471
+ "--ds-inline-edit-hover-bg-color",
472
+ "--ds-inline-edit-padding",
473
+ "--ds-inline-edit-radius",
450
474
  "--ds-inline-gap",
451
475
  "--ds-input-bg-color",
452
476
  "--ds-input-bg-color-disabled",
@@ -820,6 +844,12 @@
820
844
  "--ds-split-button-press-scale",
821
845
  "--ds-split-button-pressed-shadow",
822
846
  "--ds-split-button-text-color",
847
+ "--ds-splitter-drag-color",
848
+ "--ds-splitter-fog-color",
849
+ "--ds-splitter-gap",
850
+ "--ds-splitter-grip-color",
851
+ "--ds-splitter-line-color",
852
+ "--ds-splitter-overdrag-line-scale",
823
853
  "--ds-stack-gap",
824
854
  "--ds-stat-bg-color",
825
855
  "--ds-stat-border",
@@ -899,6 +929,7 @@
899
929
  "--ds-table-icon-button-focus-color",
900
930
  "--ds-table-min-width",
901
931
  "--ds-table-radius",
932
+ "--ds-table-resize-line-color",
902
933
  "--ds-table-row-active-bg-color",
903
934
  "--ds-table-row-hover-bg-color",
904
935
  "--ds-table-row-pressed-bg-color",
@@ -953,8 +984,11 @@
953
984
  "--ds-timeline-node-border-color",
954
985
  "--ds-timeline-node-color",
955
986
  "--ds-timeline-node-size",
987
+ "--ds-timeline-open-bg-color",
956
988
  "--ds-timeline-spine-color",
957
989
  "--ds-timeline-spine-width",
990
+ "--ds-timeline-toggle-icon-color",
991
+ "--ds-timeline-toggle-icon-color-hover",
958
992
  "--ds-toast-bar-color",
959
993
  "--ds-toast-bg-color",
960
994
  "--ds-toast-bg-color-error",
@@ -1128,13 +1162,16 @@
1128
1162
  "a-body",
1129
1163
  "a-close",
1130
1164
  "a-icon",
1165
+ "a-lead",
1131
1166
  "a-title",
1132
1167
  "alert",
1133
1168
  "disabled",
1134
1169
  "error",
1170
+ "full-width",
1135
1171
  "is-disabled",
1136
1172
  "neutral",
1137
1173
  "success",
1174
+ "titled",
1138
1175
  "warning"
1139
1176
  ],
1140
1177
  "ds-app-layout": [
@@ -1432,6 +1469,108 @@
1432
1469
  "stop-ring",
1433
1470
  "zero-line"
1434
1471
  ],
1472
+ "ds-chat-step": [
1473
+ "chev",
1474
+ "details",
1475
+ "details-body",
1476
+ "details-content",
1477
+ "disabled",
1478
+ "head",
1479
+ "heading",
1480
+ "is-disabled",
1481
+ "is-expanded",
1482
+ "is-first",
1483
+ "is-last",
1484
+ "lead",
1485
+ "node",
1486
+ "node-col",
1487
+ "outside-steps",
1488
+ "rest",
1489
+ "spine",
1490
+ "tail",
1491
+ "text",
1492
+ "time",
1493
+ "toggle",
1494
+ "trailing",
1495
+ "visually-hidden"
1496
+ ],
1497
+ "ds-chat-steps": [],
1498
+ "ds-chat-message": [
1499
+ "actions",
1500
+ "attachments",
1501
+ "body",
1502
+ "bubble",
1503
+ "divider",
1504
+ "divider-label",
1505
+ "in-thread",
1506
+ "is-continued",
1507
+ "is-failed",
1508
+ "is-first",
1509
+ "is-grouped",
1510
+ "meta",
1511
+ "notice-lead",
1512
+ "notice-title",
1513
+ "speaker",
1514
+ "status",
1515
+ "steps",
1516
+ "steps-chip",
1517
+ "steps-chip-done",
1518
+ "steps-chip-failed",
1519
+ "steps-chip-shown",
1520
+ "steps-folded",
1521
+ "visually-hidden"
1522
+ ],
1523
+ "ds-chat-thread": [
1524
+ "content",
1525
+ "jump",
1526
+ "older",
1527
+ "scroller",
1528
+ "visually-hidden",
1529
+ "working",
1530
+ "working-label"
1531
+ ],
1532
+ "ds-chat-attachment": [
1533
+ "chev",
1534
+ "disabled",
1535
+ "head",
1536
+ "icon",
1537
+ "is-disabled",
1538
+ "is-expanded",
1539
+ "label",
1540
+ "preview",
1541
+ "source"
1542
+ ],
1543
+ "ds-chat-input": [
1544
+ "actions",
1545
+ "attachments",
1546
+ "box",
1547
+ "chat-input",
1548
+ "chips",
1549
+ "disabled",
1550
+ "frame",
1551
+ "layout-send-outside",
1552
+ "layout-split",
1553
+ "layout-toolbar",
1554
+ "send",
1555
+ "send-button",
1556
+ "status",
1557
+ "status-above",
1558
+ "status-bar",
1559
+ "stop"
1560
+ ],
1561
+ "ds-attachment": [
1562
+ "disabled",
1563
+ "is-disabled",
1564
+ "kind-doc",
1565
+ "kind-pdf",
1566
+ "meta",
1567
+ "name",
1568
+ "preview",
1569
+ "remove",
1570
+ "text",
1571
+ "tile",
1572
+ "visually-hidden"
1573
+ ],
1435
1574
  "ds-checkbox": [
1436
1575
  "check",
1437
1576
  "checkbox-field",
@@ -1691,6 +1830,15 @@
1691
1830
  "ds-info-hint": [
1692
1831
  "info-hint"
1693
1832
  ],
1833
+ "ds-inline-edit": [
1834
+ "box",
1835
+ "display",
1836
+ "empty",
1837
+ "field",
1838
+ "live",
1839
+ "pencil",
1840
+ "text"
1841
+ ],
1694
1842
  "ds-input": [
1695
1843
  "addon",
1696
1844
  "addon-slot",
@@ -1740,7 +1888,9 @@
1740
1888
  "activator",
1741
1889
  "body",
1742
1890
  "disabled",
1891
+ "ds-overlay-pane",
1743
1892
  "leading",
1893
+ "popover",
1744
1894
  "selected",
1745
1895
  "subtitle",
1746
1896
  "title",
@@ -1754,12 +1904,14 @@
1754
1904
  ],
1755
1905
  "ds-menu-item": [
1756
1906
  "disabled",
1907
+ "ds-overlay-pane",
1757
1908
  "error",
1758
1909
  "has-icons",
1759
1910
  "menu-item",
1760
1911
  "menu-item-body",
1761
1912
  "menu-item-description",
1762
1913
  "menu-item-icon",
1914
+ "popover",
1763
1915
  "quiet",
1764
1916
  "submenu-chevron"
1765
1917
  ],
@@ -2170,6 +2322,17 @@
2170
2322
  "primary",
2171
2323
  "toggle"
2172
2324
  ],
2325
+ "ds-splitter": [
2326
+ "dragging",
2327
+ "fog",
2328
+ "fog-end",
2329
+ "fog-start",
2330
+ "handle",
2331
+ "pane",
2332
+ "pane-end",
2333
+ "pane-start",
2334
+ "springing"
2335
+ ],
2173
2336
  "ds-stat": [
2174
2337
  "caption",
2175
2338
  "delta",
@@ -2196,6 +2359,7 @@
2196
2359
  "is-vertical",
2197
2360
  "labels-inline",
2198
2361
  "node",
2362
+ "number",
2199
2363
  "step",
2200
2364
  "step-label",
2201
2365
  "visually-hidden"
@@ -2366,11 +2530,13 @@
2366
2530
  "optional-marker",
2367
2531
  "over-limit",
2368
2532
  "overflow-mirror",
2533
+ "placeholder-line",
2369
2534
  "read-only",
2370
2535
  "req",
2371
2536
  "sm",
2372
2537
  "soft-limit",
2373
- "visually-hidden"
2538
+ "visually-hidden",
2539
+ "wraps"
2374
2540
  ],
2375
2541
  "ds-time-columns": [
2376
2542
  "col",
@@ -2404,29 +2570,54 @@
2404
2570
  "trigger",
2405
2571
  "trigger-wrap"
2406
2572
  ],
2407
- "ds-timeline": [],
2408
2573
  "ds-timeline-item": [
2409
- "content",
2574
+ "chev",
2575
+ "details",
2576
+ "details-body",
2577
+ "details-content",
2578
+ "disabled",
2579
+ "head",
2410
2580
  "heading",
2581
+ "is-disabled",
2582
+ "is-expanded",
2583
+ "is-first",
2584
+ "is-last",
2585
+ "lead",
2411
2586
  "node",
2412
2587
  "node-col",
2588
+ "outside-timeline",
2589
+ "rest",
2413
2590
  "spine",
2414
- "time"
2591
+ "tail",
2592
+ "text",
2593
+ "time",
2594
+ "toggle",
2595
+ "trailing",
2596
+ "visually-hidden"
2415
2597
  ],
2598
+ "ds-timeline": [],
2416
2599
  "ds-toast": [
2417
2600
  "action",
2418
2601
  "actions",
2419
2602
  "body",
2420
2603
  "close",
2604
+ "count",
2421
2605
  "disabled",
2422
2606
  "error",
2607
+ "ghost",
2608
+ "ghost-far",
2609
+ "ghost-near",
2423
2610
  "icon",
2424
2611
  "info",
2425
2612
  "is-disabled",
2426
2613
  "leaving",
2427
2614
  "loading",
2615
+ "more",
2616
+ "occurrences",
2617
+ "piled",
2428
2618
  "shifting",
2429
2619
  "success",
2620
+ "time",
2430
2621
  "title",
2431
2622
  "toast",
2432
2623
  "warning"
@@ -2456,10 +2647,12 @@
2456
2647
  "ds-tree": [
2457
2648
  "caret",
2458
2649
  "caret-spacer",
2650
+ "custom-label",
2459
2651
  "label",
2460
2652
  "node-icon",
2461
2653
  "row",
2462
- "selected"
2654
+ "selected",
2655
+ "trailing"
2463
2656
  ],
2464
2657
  "ds-w3w": [
2465
2658
  "mark",
@@ -8,8 +8,8 @@
8
8
  @use 'visually-hidden' as visually-hidden;
9
9
 
10
10
  .ds-dropdown-panel {
11
- --_option-selected-bg-color: var(--ds-option-selected-bg-color, var(--primary-subtitle));
12
- --_option-selected-label-color: var(--ds-option-selected-label-color, var(--primary-strong));
11
+ --_option-selected-bg-color: var(--ds-option-selected-bg-color, var(--surface-overlay-raised-tint));
12
+ --_option-selected-label-color: var(--ds-option-selected-label-color, var(--accent-strong-overlay));
13
13
  --_option-selected-bg-color-hover: var(--ds-option-selected-bg-color-hover, var(--primary-muted));
14
14
  --_option-check-color: var(--ds-option-check-color, var(--primary));
15
15
 
@@ -25,11 +25,16 @@
25
25
  --_option-line-height: var(--ds-option-line-height, var(--line-height-flat));
26
26
  --_option-font-family: var(--ds-option-font-family, var(--font-sans));
27
27
  --_option-color: var(--ds-option-color, var(--text-primary));
28
- --_dropdown-empty-color: var(--ds-dropdown-empty-color, var(--text-tertiary));
28
+ --_dropdown-empty-color: var(--ds-dropdown-empty-color, var(--text-tertiary-overlay));
29
29
  --_dropdown-empty-font-size: var(--ds-dropdown-empty-font-size, inherit);
30
30
 
31
- --_dropdown-panel-bg-color: var(--ds-dropdown-panel-bg-color, var(--surface-overlay));
32
- --_dropdown-panel-border-color: var(--ds-dropdown-panel-border-color, var(--border-default));
31
+ --_dropdown-panel-bg-color: var(--ds-dropdown-panel-bg-color, var(--surface-overlay-raised));
32
+ --_dropdown-panel-border-color: var(--ds-dropdown-panel-border-color, var(--border-overlay));
33
+ --surface-secondary: var(--surface-overlay-raised-secondary);
34
+ --surface-muted: var(--surface-overlay-raised-muted);
35
+ --surface-tint: var(--surface-overlay-raised-tint);
36
+ --accent-surface-tint: var(--surface-overlay-raised-tint);
37
+ --accent-strong: var(--accent-strong-overlay);
33
38
  --_dropdown-panel-shadow: var(--ds-dropdown-panel-shadow, var(--shadow-popover));
34
39
  --_dropdown-panel-max-height: var(--ds-dropdown-panel-max-height, 320px);
35
40
 
@@ -97,7 +102,7 @@
97
102
  display: block;
98
103
  padding: var(--space-2) var(--space-3) var(--space-1);
99
104
  font: var(--font-weight-semibold) var(--font-size-xs) / var(--line-height-flat) var(--font-sans);
100
- color: var(--text-tertiary);
105
+ color: var(--text-tertiary-overlay);
101
106
  text-transform: uppercase;
102
107
  letter-spacing: var(--letter-spacing-wide);
103
108
 
@@ -9,8 +9,8 @@
9
9
  // One `--ds-field-*` set retunes input, textarea, select, multi-select, autocomplete and search.
10
10
  // The date, time and colour pickers keep their own `-trigger-*` vocabulary.
11
11
  @mixin field-box-tokens {
12
- --_field-border-color: var(--ds-field-border-color, var(--border-default));
13
- --_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));
12
+ --_field-border-color: var(--ds-field-border-color, var(--border-field));
13
+ --_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-field-hover));
14
14
  --_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));
15
15
  --_field-text-color: var(--ds-field-text-color, var(--text-primary));
16
16
  --_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));
@@ -0,0 +1,51 @@
1
+ // The step marker shared by ds-timeline-item and ds-chat-step, read from the host's `--_<prefix>-node-*`
2
+ // properties: the ring, its fill and the centred glyph.
3
+ @mixin node($prefix, $border-width) {
4
+ .node {
5
+ display: inline-flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ flex: none;
9
+ width: var(--_#{$prefix}-node-size);
10
+ height: var(--_#{$prefix}-node-size);
11
+ border-radius: var(--radius-pill);
12
+ background-color: var(--_#{$prefix}-node-bg-color);
13
+ color: var(--_#{$prefix}-node-color);
14
+ border: $border-width solid var(--_#{$prefix}-node-border-color);
15
+ }
16
+ }
17
+
18
+ // The colours of each step status, and the dashed ring and muted heading of a planned step.
19
+ @mixin statuses($prefix) {
20
+ :host([data-status='done']) {
21
+ --_#{$prefix}-node-bg-color: var(--success);
22
+ --_#{$prefix}-node-color: var(--text-on-success);
23
+ --_#{$prefix}-node-border-color: var(--success);
24
+ }
25
+ :host([data-status='running']) {
26
+ --_#{$prefix}-node-bg-color: var(--surface-default);
27
+ --_#{$prefix}-node-color: var(--accent);
28
+ --_#{$prefix}-node-border-color: var(--accent);
29
+ }
30
+ :host([data-status='pending']) {
31
+ --_#{$prefix}-node-bg-color: var(--surface-default);
32
+ --_#{$prefix}-node-color: var(--text-tertiary);
33
+ --_#{$prefix}-node-border-color: var(--text-tertiary);
34
+ }
35
+ :host([data-status='error']) {
36
+ --_#{$prefix}-node-bg-color: var(--error);
37
+ --_#{$prefix}-node-color: var(--text-on-error);
38
+ --_#{$prefix}-node-border-color: var(--error);
39
+ }
40
+
41
+ :host([data-status='pending']) {
42
+ .node {
43
+ border-style: dashed;
44
+ }
45
+
46
+ .heading {
47
+ color: var(--text-tertiary);
48
+ font-weight: var(--font-weight-regular);
49
+ }
50
+ }
51
+ }
@@ -59,7 +59,7 @@
59
59
  --focus-ring-radius: var(--ds-radius-inner);
60
60
 
61
61
  /* Composed from a channel-split tint so a theme can re-colour them (-h/-s are theme-independent, -l comes
62
- from each theme's palette). Constant alphas make the same values read as glows over dark surfaces. */
62
+ from each theme's palette). The dark theme redeclares all four with its own alphas. */
63
63
  --shadow-1: 0 1px 2px hsl(var(--shadow-tint-h) var(--shadow-tint-s) var(--shadow-tint-l) / 6%),
64
64
  0 1px 3px hsl(var(--shadow-tint-h) var(--shadow-tint-s) var(--shadow-tint-l) / 8%);
65
65
  --shadow-2: 0 4px 8px hsl(var(--shadow-tint-h) var(--shadow-tint-s) var(--shadow-tint-l) / 6%),
@@ -393,9 +393,9 @@
393
393
 
394
394
  --tooltip-maxw: 240px;
395
395
  --tooltip-arrow: var(--space-2); /* caret edge length, halved for offset */
396
- --tooltip-bg-color: var(--surface-overlay);
396
+ --tooltip-bg-color: var(--surface-overlay-raised);
397
397
  --tooltip-text-color: var(--text-primary);
398
- --tooltip-border-color: var(--border-default);
398
+ --tooltip-border-color: var(--border-overlay);
399
399
 
400
400
  --popover-maxw: 320px;
401
401
 
@@ -450,6 +450,8 @@
450
450
  --timeline-node-size: var(--hit-sm);
451
451
  --timeline-spine-w: var(--border-width-strong);
452
452
  --timeline-gap: var(--space-5);
453
+ --chat-step-node-size: var(--spinner-md);
454
+ --chat-step-gap: var(--space-1);
453
455
 
454
456
  --tree-indent: var(--space-5);
455
457
  --tree-row-pad-y: var(--space-1-5);
package/themes/README.md CHANGED
@@ -17,7 +17,7 @@ Colour is layered in three concerns: a **base palette** (theme-independent primi
17
17
  - **`_base-palette.scss`** — theme-independent primitives at `:root`: hue ramps (`--blue/red/green/yellow/sky/orange-*`) + HSL channels, `--cool-gray-*` / `--brand-gray-*` ramps, `--static-ink` (never flips), `--shadow-tint-h/s`, font families. Shared by every theme.
18
18
  - **`_semantic.scss`** — `@mixin roles`: the semantic role map (surfaces, text, icons, borders, primary/secondary/tertiary families, status, status-pills, focus). Structure is identical across themes; values resolve through each theme's own `--neutral-*` ramp. Holds the **light-default** values.
19
19
  - **`light/_palette.scss` + `light/_theme.scss`** — `@mixin palette` (the `--neutral-*` slot = cool-gray + `--shadow-tint-l: 7%`) and `@mixin theme` (`palette` + `semantic.roles`). Light is the **default** skin and needs no extra overrides.
20
- - **`dark/_palette.scss` + `dark/_theme.scss`** — `@mixin palette` (dark neutral ramp + `--shadow-tint-l: 95%`) and `@mixin theme` (`palette` + `semantic.roles` + the value overrides that genuinely differ on dark: tint surfaces, on-tint text, hover/pressed mixed toward white, scrim, focus-halo alpha, chart tokens).
20
+ - **`dark/_palette.scss` + `dark/_theme.scss`** — `@mixin palette` (dark neutral ramp + `--shadow-tint-l: 3%`) and `@mixin theme` (`palette` + `semantic.roles` + the value overrides that genuinely differ on dark: tint surfaces, on-tint text, hover/pressed mixed toward white, the overlay surfaces and border, scrim, `--shadow-1..4` alphas, focus-halo alpha, chart tokens).
21
21
  - **`../styles/_theme-activation.scss`** — applies light at `:root` and dark at `:root[data-theme='dark']`, plus the light-context `data-neutrals='brand'` switch.
22
22
 
23
23
  `styles/ds.scss` forwards `_base-palette` then `theme-activation` (before `tokens`), so `@use 'styles/ds';` renders light out of the box.
@@ -197,4 +197,5 @@ Green brand, measured in Chrome 2026-10-12:
197
197
  - Light is the default; dark is opt-in (`data-theme="dark"`); OS-follow is a consumer opt-in. No `prefers-color-scheme` by default.
198
198
  - Themes are sibling and self-contained; `_semantic.scss`'s `@mixin roles` holds the light-default values, dark overrides the deltas.
199
199
  - Brands are theme-authored overlays, and a brand authored on light pairs with the default theme.
200
+ - Overlays take one of two fixed levels: a container (modal, drawer) is painted with `--surface-overlay`, a popover-class overlay (popover, menu, dropdown panel, picker panel, tooltip, toast) with `--surface-overlay-raised`. Each sets `--surface-secondary`, `--surface-muted`, `--surface-tint` and `--accent-surface-tint` on itself to its level's `-secondary` / `-muted` / `-tint` token (`--surface-overlay-secondary`, `--surface-overlay-raised-tint`, ...), so the hovers, fills and selected rows inside it stay a step above it. On dark the levels are `--neutral-100` and `--neutral-150`; in light every overlay token equals the role it replaces. Secondary text inside a popover-class overlay reads `--text-tertiary-overlay`: `--text-tertiary` in light, `--neutral-700` on dark.
200
201
  - `--primary-hover`/`--primary-pressed` are auto-derived via `color-mix()` (toward black in light, toward white in dark).
@@ -7,6 +7,9 @@
7
7
  · default : cards, sheets, toolbars
8
8
  · secondary : hover lanes, table heads, addons, code blocks
9
9
  · overlay : modals, drawers, popovers (paired with scrim)
10
+ · overlay-raised : popovers, menus, dropdowns, pickers, tooltips, toasts
11
+ · overlay-[raised-]secondary / -muted : what --surface-secondary / --surface-muted become inside an
12
+ overlay of that level, which rebinds them so a hover never matches the overlay fill
10
13
  · tint : brand-tinted (active rows, sidenav active item)
11
14
  · inverted : dark-on-light callouts, toasts
12
15
  Hover/pressed use --opacity-state-* overlays. */
@@ -19,6 +22,14 @@
19
22
  --surface-tint: hsl(from var(--primary) h 100% 97%);
20
23
  --surface-disabled: var(--neutral-100);
21
24
  --surface-muted: var(--neutral-150);
25
+ --surface-overlay-secondary: var(--surface-secondary);
26
+ --surface-overlay-muted: var(--surface-muted);
27
+ --surface-overlay-raised: var(--surface-overlay);
28
+ --surface-overlay-raised-secondary: var(--surface-secondary);
29
+ --surface-overlay-raised-muted: var(--surface-muted);
30
+ --surface-overlay-tint: var(--surface-tint);
31
+ --surface-overlay-raised-tint: var(--surface-tint);
32
+ --accent-strong-overlay: var(--accent-strong);
22
33
 
23
34
  /* Modal/drawer backdrop; the dark theme flips the tint. */
24
35
  --surface-scrim: hsl(var(--shadow-tint-h) var(--shadow-tint-s) var(--shadow-tint-l) / 55%);
@@ -28,6 +39,9 @@
28
39
 
29
40
  --border-default: var(--neutral-200);
30
41
  --border-strong: var(--neutral-300);
42
+ --border-field: var(--neutral-500);
43
+ --border-field-hover: var(--neutral-600);
44
+ --border-overlay: var(--border-default);
31
45
  --border-subtitle: var(--neutral-150);
32
46
  --border-divider: var(--neutral-150);
33
47
  --border-inverted: var(--neutral-700);
@@ -36,6 +50,7 @@
36
50
  --text-primary: var(--neutral-900);
37
51
  --text-secondary: var(--neutral-700);
38
52
  --text-tertiary: var(--neutral-500);
53
+ --text-tertiary-overlay: var(--text-tertiary);
39
54
  --text-muted: var(--neutral-400);
40
55
  --text-disabled: var(--neutral-400);
41
56
  --text-inverted: var(--neutral-0);
@@ -19,6 +19,5 @@
19
19
  --neutral-900: #E7EAF2;
20
20
  --neutral-950: #F4F6FA;
21
21
 
22
- // Flipped light so the same alphas read as soft glows.
23
- --shadow-tint-l: 95%;
22
+ --shadow-tint-l: 3%;
24
23
  }