@ids-group-ltd/ids-design-system 0.15.0 → 0.15.2

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 (189) hide show
  1. package/CHANGELOG.md +496 -0
  2. package/components.md +69 -38
  3. package/docs/agent/INDEX.md +3 -3
  4. package/docs/agent/charts/column-series-component.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +2 -1
  7. package/docs/agent/charts/ds-heatmap-chart.md +2 -1
  8. package/docs/agent/charts/ds-line-chart.md +3 -3
  9. package/docs/agent/charts/ds-pie-chart.md +3 -2
  10. package/docs/agent/charts/ds-scatter-chart.md +2 -1
  11. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  12. package/docs/agent/charts/line-series-component.md +1 -1
  13. package/docs/agent/feedback/ds-alert.md +1 -0
  14. package/docs/agent/feedback/ds-banner.md +1 -0
  15. package/docs/agent/feedback/ds-toast.md +2 -0
  16. package/docs/agent/forms/ds-autocomplete.md +1 -1
  17. package/docs/agent/forms/ds-button.md +1 -0
  18. package/docs/agent/forms/ds-checkbox.md +1 -1
  19. package/docs/agent/forms/ds-color-picker.md +1 -1
  20. package/docs/agent/forms/ds-date-picker.md +1 -1
  21. package/docs/agent/forms/ds-icon-button.md +1 -1
  22. package/docs/agent/forms/ds-input.md +1 -1
  23. package/docs/agent/forms/ds-multi-select.md +1 -1
  24. package/docs/agent/forms/ds-otp-input.md +1 -1
  25. package/docs/agent/forms/ds-radio-group.md +1 -1
  26. package/docs/agent/forms/ds-segmented.md +1 -1
  27. package/docs/agent/forms/ds-select.md +1 -1
  28. package/docs/agent/forms/ds-slider.md +1 -1
  29. package/docs/agent/forms/ds-switch.md +1 -1
  30. package/docs/agent/forms/ds-textarea.md +1 -1
  31. package/docs/agent/forms/ds-time-picker.md +1 -1
  32. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  33. package/docs/agent/foundations/global-helper-classes.md +1 -1
  34. package/docs/agent/foundations/tokens.md +1 -1
  35. package/docs/agent/navigation/ds-pagination.md +2 -1
  36. package/docs/agent/overlays/ds-definition-term.md +1 -1
  37. package/docs/agent/overlays/ds-info-hint.md +21 -2
  38. package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
  39. package/docs/agent/overlays/ds-tooltip.md +1 -1
  40. package/docs/agent/tables/ds-table-columns.md +2 -0
  41. package/docs/agent/tables/ds-table.md +3 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +6 -3
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +10 -4
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -3
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +2 -2
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +694 -77
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +2190 -1234
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +10 -5
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +15 -5
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +44 -5
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +22 -6
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +44 -5
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -18
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +49 -20
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +76 -10
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +33 -44
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +50 -5
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +10 -4
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +10 -5
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -6
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +102 -27
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -2
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +11 -6
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +123 -23
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +10 -5
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +10 -4
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +3 -2
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +32 -14
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +2 -2
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +17 -0
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +259 -21
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +15 -5
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +24 -7
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +17 -2
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +32 -12
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +10 -6
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +238 -67
  129. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  130. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +9 -2
  131. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
  133. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  134. package/migrations/0.15.0.json +43 -12
  135. package/migrations/0.15.1.json +745 -0
  136. package/migrations/0.15.2.json +164 -0
  137. package/migrations/0.3.0.json +16 -9
  138. package/package.json +9 -1
  139. package/schematics/check-overrides/surface.json +48 -1
  140. package/stylelint/deprecated-tokens.json +7 -0
  141. package/styles/_chart-frame.scss +14 -0
  142. package/styles/_chart-interactive.scss +26 -1
  143. package/styles/_chart-motion.scss +47 -8
  144. package/styles/_link.scss +30 -12
  145. package/styles/_tokens.scss +3 -0
  146. package/themes/README.md +55 -0
  147. package/themes/_semantic.scss +6 -7
  148. package/themes/dark/_theme.scss +7 -7
  149. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
  150. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +2 -0
  151. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
  152. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +5 -4
  153. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
  154. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +51 -7
  155. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +201 -28
  156. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
  157. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
  158. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +27 -2
  159. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
  160. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
  161. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +0 -3
  162. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +21 -8
  163. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
  164. package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +13 -4
  165. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
  166. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +13 -7
  167. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +6 -0
  168. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +2 -0
  169. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
  170. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
  171. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +24 -7
  172. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
  173. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
  174. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +39 -7
  175. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
  176. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +2 -0
  177. package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
  178. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
  179. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
  180. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
  181. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +51 -11
  182. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
  183. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
  184. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +2 -0
  185. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +8 -6
  186. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +4 -1
  187. package/types/ids-group-ltd-ids-design-system-components.d.ts +110 -34
  188. package/types/ids-group-ltd-ids-design-system-core.d.ts +44 -12
  189. package/types/ids-group-ltd-ids-design-system.d.ts +3 -2
@@ -0,0 +1,164 @@
1
+ {
2
+ "version": "0.15.2",
3
+ "items": [
4
+ {
5
+ "id": "link-colour-reads-text-link-role",
6
+ "kind": "behavior",
7
+ "old": "--ds-link-color",
8
+ "new": null,
9
+ "surface": "style",
10
+ "supersedes": [
11
+ "0.15.1#text-link-token-removed",
12
+ "0.15.1#links-stay-blue-under-a-brand"
13
+ ],
14
+ "searchHints": [
15
+ "--ds-link-color",
16
+ "--text-link",
17
+ "--blue-700",
18
+ "--blue-h",
19
+ "data-brand"
20
+ ],
21
+ "detect": [
22
+ "--ds-link-color:",
23
+ "var(--ds-link-color)",
24
+ "var(--blue-700)",
25
+ "hsl(var(--blue-h) 90% 74%)"
26
+ ],
27
+ "action": "Where your theme or brand sets `--ds-link-color` on `:root` as its link colour, set `--text-link` there instead, in each theme block it applies to. Where you read `var(--ds-link-color)`, or a palette value standing for the link colour (`var(--blue-700)`, `hsl(var(--blue-h) 90% 74%)`), outside `.link`, read `var(--text-link)`.",
28
+ "appliesWhen": "`--text-link` is a theme role in both themes: `var(--blue-700)` in light, `hsl(var(--blue-h) 90% 74%)` in dark, blue under any brand. `.link` reads `var(--ds-link-color, var(--text-link))` from `styles/link`, which `styles/ds` forwards, and a `ds-table` cell link reads the same role. `--ds-link-color` is the `.link` hook, set on `.link` or an ancestor; a theme that sets it on `:root` recolours `.link` and not the table cell link.",
29
+ "pitfall": "The dark theme declares `--text-link` under `:root[data-theme='dark']`, which outranks a plain `:root` rule, so a brand that sets it only on `:root` keeps the blue dark link; restate it under `[data-theme='dark']` as for `--primary`.",
30
+ "restore": ".link { --ds-link-color: var(--blue-700); } :root[data-theme='dark'] .link { --ds-link-color: hsl(var(--blue-h) 90% 74%); }",
31
+ "verify": "No stylesheet sets `--ds-link-color` on `:root` as a theme role or reads a `--blue-*` value as the link colour, and in light and dark a `.link` and a `ds-table` cell link paint in the colour the brand intends.",
32
+ "evidence": [
33
+ "tokens:--text-link",
34
+ "tokens:--ds-link-color"
35
+ ]
36
+ },
37
+ {
38
+ "id": "link-visited-reads-text-link-visited-role",
39
+ "kind": "behavior",
40
+ "old": "--ds-link-color-visited",
41
+ "new": null,
42
+ "surface": "style",
43
+ "supersedes": [
44
+ "0.15.1#link-visited-token-removed",
45
+ "0.15.1#link-visited-takes-its-own-colour"
46
+ ],
47
+ "searchHints": [
48
+ "--ds-link-color-visited",
49
+ "--text-link-visited",
50
+ "--blue-h",
51
+ ":visited"
52
+ ],
53
+ "detect": [
54
+ "--ds-link-color-visited:",
55
+ "var(--ds-link-color-visited)",
56
+ "hsl(var(--blue-h) calc(var(--blue-s) * 0.6) 45%)",
57
+ "hsl(var(--blue-h) 50% 70%)"
58
+ ],
59
+ "action": "Where your theme or brand sets `--ds-link-color-visited` on `:root` as its visited link colour, set `--text-link-visited` there instead, in each theme block it applies to. Where you read `var(--ds-link-color-visited)` or a palette value standing for the visited link colour outside `.link`, read `var(--text-link-visited)`. To keep visited links in the link colour, set `--text-link-visited: var(--text-link)` in both theme blocks.",
60
+ "appliesWhen": "`--text-link-visited` is a theme role in both themes: `hsl(var(--blue-h) calc(var(--blue-s) * 0.6) 45%)` in light, `hsl(var(--blue-h) 50% 70%)` in dark. A visited `.link` reads `var(--ds-link-color-visited, var(--text-link-visited))` from `styles/link`, which `styles/ds` forwards. `.link.quiet`, a link with `aria-disabled=\"true\"` and a `<button class=\"link\">` keep their colour.",
61
+ "pitfall": "Browsers ignore custom properties declared inside a `:visited` rule, so `.link:visited { --text-link-visited: red; }` does nothing; set the role in the theme block or `--ds-link-color-visited` on `.link` or an ancestor.",
62
+ "restore": ".link { --ds-link-color-visited: hsl(var(--blue-h) calc(var(--blue-s) * 0.6) 45%); } :root[data-theme='dark'] .link { --ds-link-color-visited: hsl(var(--blue-h) 50% 70%); }",
63
+ "verify": "No stylesheet sets `--ds-link-color-visited` on `:root` as a theme role or reads a `--blue-*` value as the visited link colour, and a visited `.link` paints in the colour the app intends in light and dark.",
64
+ "evidence": [
65
+ "tokens:--text-link-visited",
66
+ "tokens:--ds-link-color-visited"
67
+ ]
68
+ },
69
+ {
70
+ "id": "link-visited-role-is-text-link-visited",
71
+ "kind": "token-rename",
72
+ "old": "--link-visited",
73
+ "new": "--text-link-visited",
74
+ "surface": "style",
75
+ "supersedes": [
76
+ "0.15.1#link-visited-token-removed"
77
+ ],
78
+ "action": "Rewrite `--link-visited` to `--text-link-visited`, keeping the value.",
79
+ "appliesWhen": "A stylesheet written against 0.15.0 that sets `--link-visited` in a theme block or reads `var(--link-visited)`. `--text-link`, `--ds-link-color` and `--ds-link-color-visited` keep their names. The default moved with the name: 0.15.0 built `--link-visited`, and the dark `--text-link`, from `--primary-h` and `--primary-s`; `--text-link-visited` and the dark `--text-link` take `--blue-h` and `--blue-s`, so under a brand that sets `--primary-h` or `--primary-s` both stay blue.",
80
+ "pitfall": "The old name is inert rather than invalid: a declaration left behind sets nothing, and a read left behind resolves to nothing, so the element takes its inherited colour with no error. A brand that relied on 0.15.0 deriving the visited or dark link colour from `--primary-h` must set `--text-link-visited`, and the dark `--text-link`, itself.",
81
+ "restore": null,
82
+ "searchHints": [
83
+ "--link-visited",
84
+ "--primary-h",
85
+ "--primary-s"
86
+ ],
87
+ "detect": [
88
+ "--link-visited:",
89
+ "var(--link-visited)"
90
+ ],
91
+ "verify": "No stylesheet declares or reads `--link-visited`, and a visited `.link` paints in the colour the app intends in light and dark."
92
+ },
93
+ {
94
+ "id": "table-cell-link-reads-text-link",
95
+ "kind": "behavior",
96
+ "old": "--ds-table-cell-link-color",
97
+ "new": null,
98
+ "surface": "style",
99
+ "searchHints": [
100
+ "--ds-table-cell-link-color",
101
+ "--accent",
102
+ "--primary",
103
+ "data-brand",
104
+ "interactive: true",
105
+ "link:"
106
+ ],
107
+ "detect": [
108
+ "--ds-table-cell-link-color",
109
+ "--primary:"
110
+ ],
111
+ "action": "None, unless a `ds-table` cell link must stay in the brand colour: set `--ds-table-cell-link-color: var(--accent)` on `ds-table` or an ancestor.",
112
+ "appliesWhen": "A `ds-table` column with `link`, and an `interactive: true` cell of a `rowInteractive` table on row hover. `--ds-table-cell-link-color` defaults to `var(--text-link)` where it was `var(--accent)`: `--blue-700` where it was `--blue-600` in light, the light dark-theme link blue where it was the dark `--primary`, and blue under a brand that set `--primary`. A table that sets `--ds-table-cell-link-color` itself keeps its colour.",
113
+ "pitfall": "A brand that set `--primary` to colour its table links gets blue table links with no error; set `--text-link` for every link, or `--ds-table-cell-link-color` for the table alone.",
114
+ "restore": "ds-table { --ds-table-cell-link-color: var(--accent); }",
115
+ "verify": "In light and dark, a `ds-table` link cell and a hovered `interactive` cell paint in `--text-link`, or in the colour the app sets, at 4.5:1 or more on the row.",
116
+ "evidence": [
117
+ "tokens:--ds-table-cell-link-color"
118
+ ]
119
+ },
120
+ {
121
+ "id": "table-layout-auto-keeps-0-15-0-widths",
122
+ "kind": "behavior",
123
+ "old": "provideDsConfig",
124
+ "new": null,
125
+ "surface": [
126
+ "config",
127
+ "template"
128
+ ],
129
+ "searchHints": [
130
+ "provideDsConfig",
131
+ "DS_CONFIG",
132
+ "<ds-table"
133
+ ],
134
+ "detect": [
135
+ "provideDsConfig({",
136
+ "table: {",
137
+ "<ds-table"
138
+ ],
139
+ "action": "None, unless the app's tables must keep the 0.15.0 look: set `provideDsConfig({ table: { layout: 'auto' } })` to keep the 0.15.0 look until your tables are reviewed, or `layout=\"auto\"` on one `ds-table`. Keep it only until each table reads right under `'fixed'`.",
140
+ "appliesWhen": "Every `ds-table` without its own `layout`, once `DsConfig.table.layout` is `'auto'`; a `layout` on the element wins over the config. Under `'auto'` each column follows its cell content as on 0.15.0: `kind` has no effect, and a numeric `width`, `width: 'content'`, `minWidth` and `truncate` size the column as on 0.15.0. A table with `virtualScroll` keeps `table-layout: fixed`.",
141
+ "pitfall": "`'auto'` is deprecated and will be removed, and a development build warns once per page while a table uses it. A `kind` added for 0.15.1 does nothing under `'auto'`, so a table that reads right under `'auto'` still has to be reviewed under `'fixed'` before the key is deleted.",
142
+ "restore": "provideDsConfig({ table: { layout: 'auto' } })",
143
+ "verify": "With the key set, each `ds-table` shows the column widths it had on 0.15.0, and the console shows the `layout=\"auto\"` deprecation warning once.",
144
+ "evidence": [
145
+ "command:node tools/table-clip-harness.mjs layout <0.15.0 docs url>/harness/table-clip <docs url>/harness/table-clip"
146
+ ]
147
+ }
148
+ ],
149
+ "informational": [
150
+ {
151
+ "text": "`showChange` on `dsLineSeries` and `ds-line-chart` colours the stretch from a reading of 0 in `--ds-chart-positive-color` or `--ds-chart-negative-color` like any other stretch, and prints no percentage on it.",
152
+ "verify": "Hover the reading after a 0 on a ds-line-chart with showChange and confirm the stretch from the 0 is thickened in the rising or falling colour with no percentage above it."
153
+ },
154
+ {
155
+ "text": "The `showChange` stretch and percentage wait `--ds-motion-chart-mark-exit-duration` and fade in over `--ds-motion-chart-mark-enter-duration` (120ms and 400ms by default), as the chart's other marks do, such as a heatmap cell or a pie slice, and leave on `--ds-motion-chart-mark-exit-duration` and `--ds-motion-chart-mark-exit-easing`.",
156
+ "verify": "Hover a reading on a ds-line-chart with showChange and confirm the percentage appears after a short pause and fades in over about 400ms."
157
+ },
158
+ {
159
+ "text": "A `ds-table` under a `display: none` ancestor, such as an inactive `ds-tabs` panel, no longer measures its header labels or its `width: 'content'` columns there; it measures them when it is shown, so a `width: 'content'` column no longer collapses to 0px and no column shrinks below its header label after the table is shown.",
160
+ "verify": "Render a ds-table with a width: 'content' column inside an inactive ds-tabs panel, change its data there, switch to the panel, and confirm the column fits its widest cell and every column is at least as wide as its header label."
161
+ }
162
+ ],
163
+ "deleteList": []
164
+ }
@@ -26,41 +26,48 @@
26
26
  "kind": "behavior",
27
27
  "old": "--ds-*-fg",
28
28
  "new": null,
29
- "action": "For each `-fg` token you override, look the replacement up in the 0.3.0 token reference on the documentation site, which lists every `--ds-*`; the global roles are also readable in the installed package under `themes/` and `styles/`. Three suffixes are in play and the split is real: at 0.3.0 the package exposes 16 `--ds-*-text-color`, 30 `-label-color` and 10 `-icon-color` hooks (state variants such as `-hover` included).",
29
+ "action": "For each `-fg` token you override, look the replacement up in the 0.3.0 token reference on the documentation site, which lists every `--ds-*`; the global roles are also readable in the installed package under `themes/` and `styles/`. Three suffixes are in play and the split is real: at 0.3.0 the package exposes 16 `--ds-*-text-color`, 30 `-label-color` and 10 `-icon-color` hooks (state variants such as `-hover` included). A state variant keeps its state after the new suffix: `--ds-tab-fg-hover` becomes `--ds-tab-label-color-hover`, `--ds-modal-title-fg-error` becomes `--ds-modal-title-text-color-error`.",
30
30
  "appliesWhen": "Only to DS-owned tokens. A variable of your own ending in `-fg` is untouched.",
31
- "pitfall": "The suffix is NOT derivable from the old name, so guessing produces a name nothing reads and a silently unstyled element. Same shape, three answers: `--ds-modal-title-fg` became `-text-color`, `--ds-sidenav-group-fg` became `-label-color`, `--ds-icon-button-fg` became `-icon-color`.",
31
+ "pitfall": "The suffix is NOT derivable from the old name, so guessing produces a name nothing reads and a silently unstyled element. Same shape, three answers: `--ds-modal-title-fg` became `--ds-modal-title-text-color`, `--ds-sidenav-group-fg` became `--ds-sidenav-group-label-color`, `--ds-icon-button-fg` became `--ds-icon-button-icon-color`.",
32
32
  "note": "The `fg` abbreviation was dropped for a suffix that says what the token paints — text, a control or nav label, or a glyph. It covers the public `--ds-<component>-…-fg` hooks on avatar, badge, banner, breadcrumbs, button, date-picker, dropzone, empty-state, icon-button, input, menu, modal, page-header, pagination, search, sidenav, table, tabs, tag and topbar, plus the `--status-*` globals and `--chart-tooltip-fg`.",
33
33
  "searchHints": [
34
34
  "-fg:",
35
35
  "-fg)",
36
+ "-fg-",
36
37
  "--chart-tooltip-fg",
37
38
  "--status-"
38
39
  ],
39
40
  "surface": "style",
40
- "verify": "No stylesheet declares or reads a --ds-*-fg token; each one names the semantic replacement its component reads (-text-color / -label-color / -icon-color)."
41
+ "verify": "No stylesheet declares or reads a --ds-*-fg or --ds-*-fg-<state> token, --chart-tooltip-fg or a --status-*-fg token; each one names the semantic replacement its component reads (-text-color / -label-color / -icon-color)."
41
42
  },
42
43
  {
43
44
  "id": "stepper-labels-now-visible",
44
45
  "kind": "behavior",
45
46
  "old": "ds-stepper",
46
47
  "new": null,
47
- "action": "Read every caption you pass in `[steps]` as on-screen text and reword the ones written to be heard rather than seen. `labelPosition` (`bottom` | `inline`, default `bottom`) sets where they sit.",
48
- "pitfall": "Nothing breaks and no build fails, so this ships unless somebody looks. Captions authored for a screen reader tend to carry the context the screen already gives — \"Step 2 of 5: enter your details\" reads fine when announced and badly when printed under a numbered dot.",
48
+ "action": "Read every caption you pass in `[steps]` as on-screen text and reword the ones written to be heard rather than seen. `labelPosition` (`bottom` | `inline`, default `bottom`) sets where they sit; where a stepper sits in a compact row beside other content, set `labelPosition=\"inline\"`. Style the captions through `--ds-stepper-label-color`, `--ds-stepper-label-color-current` and `--ds-stepper-label-font-size`.",
49
+ "pitfall": "Nothing breaks and no build fails, so this ships unless somebody looks. Captions authored for a screen reader tend to carry the context the screen already gives — \"Step 2 of 5: enter your details\" reads fine when announced and badly when printed under a numbered dot. A rule of yours on `ds-stepper .bar` now matches nothing: the connector is `.connector`, inside each step, and under `bottom` its width is the segment's, not a fixed length.",
49
50
  "note": "`[steps]` takes a `readonly string[]`, and those strings used to be screen-reader-only: on screen a step showed only its number. They render as visible labels now.",
50
51
  "searchHints": [
51
52
  "<ds-stepper",
52
- "[steps]"
53
+ "[steps]",
54
+ "--ds-stepper-label",
55
+ "--stepper-bar-w"
53
56
  ],
54
57
  "surface": [
55
58
  "template",
56
- "typescript"
59
+ "typescript",
60
+ "style"
57
61
  ],
58
62
  "detect": [
59
63
  "[steps]=",
60
64
  "steps: string[]",
61
- "readonly string[]"
65
+ "readonly string[]",
66
+ "ds-stepper .bar",
67
+ "--stepper-bar-w"
62
68
  ],
63
- "verify": "Every caption passed in [steps] is written to be READ on screen, not only announced - they render visibly now."
69
+ "verify": "Every caption passed in [steps] is written to be READ on screen, not only announced - they render visibly now, every stepper placed in a compact row sets labelPosition=\"inline\", and no stylesheet targets ds-stepper .bar.",
70
+ "appliesWhen": "Every `ds-stepper`. Under the default `labelPosition` (`bottom`) the host is `display: flex` where it was `inline-flex`, each step takes an equal share of the row, and the connector spans from node centre to node centre, so `--stepper-bar-w` sizes it only under `labelPosition=\"inline\"`."
64
71
  },
65
72
  {
66
73
  "id": "exported-class-members-grew",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ids-group-ltd/ids-design-system",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
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/",
@@ -271,6 +271,10 @@
271
271
  "types": "./types/ids-group-ltd-ids-design-system-components-select.d.ts",
272
272
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-select.mjs"
273
273
  },
274
+ "./components/show-dirty": {
275
+ "types": "./types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts",
276
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs"
277
+ },
274
278
  "./components/sidenav": {
275
279
  "types": "./types/ids-group-ltd-ids-design-system-components-sidenav.d.ts",
276
280
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs"
@@ -635,6 +639,10 @@
635
639
  "types": "./types/ids-group-ltd-ids-design-system-components-select.d.ts",
636
640
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-select.mjs"
637
641
  },
642
+ "./show-dirty": {
643
+ "types": "./types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts",
644
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs"
645
+ },
638
646
  "./sidenav": {
639
647
  "types": "./types/ids-group-ltd-ids-design-system-components-sidenav.d.ts",
640
648
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.15.0",
2
+ "version": "0.15.2",
3
3
  "tokens": [
4
4
  "--ds-accordion-body-padding",
5
5
  "--ds-accordion-body-text-color",
@@ -388,6 +388,8 @@
388
388
  "--ds-field-border-color",
389
389
  "--ds-field-border-color-focus",
390
390
  "--ds-field-border-color-hover",
391
+ "--ds-field-changed-color",
392
+ "--ds-field-changed-text-color",
391
393
  "--ds-field-focus-shadow",
392
394
  "--ds-field-focus-shadow-error",
393
395
  "--ds-field-focus-shadow-success",
@@ -443,6 +445,7 @@
443
445
  "--ds-icon-button-radius",
444
446
  "--ds-icon-button-size",
445
447
  "--ds-icon-size",
448
+ "--ds-info-hint-color",
446
449
  "--ds-inline-gap",
447
450
  "--ds-input-bg-color",
448
451
  "--ds-input-bg-color-disabled",
@@ -487,7 +490,15 @@
487
490
  "--ds-line-chart-swatch-size",
488
491
  "--ds-link-color",
489
492
  "--ds-link-color-active",
493
+ "--ds-link-color-disabled",
490
494
  "--ds-link-color-hover",
495
+ "--ds-link-color-visited",
496
+ "--ds-link-color-visited-active",
497
+ "--ds-link-color-visited-hover",
498
+ "--ds-link-focus-ring-color",
499
+ "--ds-link-underline-color",
500
+ "--ds-link-underline-offset",
501
+ "--ds-link-underline-thickness",
491
502
  "--ds-list-divider-color",
492
503
  "--ds-list-item-gap",
493
504
  "--ds-list-item-hover-bg-color",
@@ -580,6 +591,7 @@
580
591
  "--ds-motion-chart-mark-grow-duration",
581
592
  "--ds-motion-chart-mark-grow-easing",
582
593
  "--ds-motion-chart-mark-sweep-duration",
594
+ "--ds-motion-chart-scale-marker-delay",
583
595
  "--ds-motion-chart-state-duration",
584
596
  "--ds-motion-chart-state-easing",
585
597
  "--ds-motion-chart-tooltip-move-duration",
@@ -1374,13 +1386,16 @@
1374
1386
  "ticks"
1375
1387
  ],
1376
1388
  "ds-chart": [
1389
+ "axes",
1377
1390
  "axis-label",
1378
1391
  "axis-line",
1379
1392
  "axis-title",
1393
+ "band-pin",
1380
1394
  "canvas",
1381
1395
  "category-band",
1382
1396
  "category-label",
1383
1397
  "category-stop",
1398
+ "category-stops",
1384
1399
  "chart",
1385
1400
  "cursor",
1386
1401
  "cursor-anchor",
@@ -1392,12 +1407,26 @@
1392
1407
  "framed",
1393
1408
  "grid-line",
1394
1409
  "is-error",
1410
+ "is-hot",
1395
1411
  "is-rotated",
1412
+ "labels",
1413
+ "mark-leave",
1396
1414
  "marks",
1397
1415
  "measuring",
1416
+ "on-reading",
1417
+ "pill",
1418
+ "pill-text",
1419
+ "pinned-line",
1398
1420
  "pins",
1421
+ "placed",
1399
1422
  "plot-bg",
1423
+ "range-band",
1424
+ "range-pill",
1425
+ "readout",
1426
+ "readout-guide",
1427
+ "selects-range",
1400
1428
  "stage-table",
1429
+ "stop-ring",
1401
1430
  "zero-line"
1402
1431
  ],
1403
1432
  "ds-checkbox": [
@@ -1559,6 +1588,8 @@
1559
1588
  "sm"
1560
1589
  ],
1561
1590
  "ds-field-message": [
1591
+ "changed",
1592
+ "changed-only",
1562
1593
  "error",
1563
1594
  "field-message",
1564
1595
  "message-icon",
@@ -1566,6 +1597,9 @@
1566
1597
  "success",
1567
1598
  "warning"
1568
1599
  ],
1600
+ "ds-field-status": [
1601
+ "changed-dot"
1602
+ ],
1569
1603
  "ds-filter-bar": [
1570
1604
  "item",
1571
1605
  "more",
@@ -1616,14 +1650,17 @@
1616
1650
  "is-active",
1617
1651
  "is-dimmed",
1618
1652
  "is-error",
1653
+ "is-highlighted",
1619
1654
  "is-missing",
1620
1655
  "is-pinned",
1621
1656
  "mark-leave",
1622
1657
  "pin-marker",
1623
1658
  "pins",
1659
+ "placed",
1624
1660
  "row-label",
1625
1661
  "scale",
1626
1662
  "scale-label",
1663
+ "scale-marker",
1627
1664
  "scale-ramp",
1628
1665
  "scale-step",
1629
1666
  "skeleton",
@@ -1895,6 +1932,7 @@
1895
1932
  "center",
1896
1933
  "center-below",
1897
1934
  "center-label",
1935
+ "center-swap",
1898
1936
  "center-value",
1899
1937
  "chart",
1900
1938
  "circle",
@@ -1974,9 +2012,12 @@
1974
2012
  "is-pinned",
1975
2013
  "is-tick",
1976
2014
  "mark-leave",
2015
+ "nearest-ring",
2016
+ "nearest-tether",
1977
2017
  "pins",
1978
2018
  "plot-bg",
1979
2019
  "point",
2020
+ "point-group",
1980
2021
  "scatter-chart",
1981
2022
  "skeleton",
1982
2023
  "skeleton-grid-line",
@@ -2190,6 +2231,7 @@
2190
2231
  "ds-table": [
2191
2232
  "actions-col",
2192
2233
  "active",
2234
+ "auto-layout",
2193
2235
  "bordered",
2194
2236
  "bulk-bar",
2195
2237
  "cell-clip",
@@ -2220,6 +2262,7 @@
2220
2262
  "expand-btn",
2221
2263
  "expand-chev",
2222
2264
  "expand-col",
2265
+ "expand-panel-body",
2223
2266
  "expand-panel-cell",
2224
2267
  "expand-panel-content",
2225
2268
  "expand-panel-inner",
@@ -2236,6 +2279,8 @@
2236
2279
  "is-expanded",
2237
2280
  "is-leaving",
2238
2281
  "loading-space",
2282
+ "measuring-head",
2283
+ "measuring-rows",
2239
2284
  "numeric",
2240
2285
  "pagination-footer",
2241
2286
  "pin-expand",
@@ -2243,6 +2288,7 @@
2243
2288
  "pin-select",
2244
2289
  "pinned",
2245
2290
  "resizable",
2291
+ "resize-guide",
2246
2292
  "row-actions-btn",
2247
2293
  "scroll-wrap",
2248
2294
  "scroll-y",
@@ -2250,6 +2296,7 @@
2250
2296
  "selectable",
2251
2297
  "selected",
2252
2298
  "sep",
2299
+ "sized-columns",
2253
2300
  "sort-icon",
2254
2301
  "sortable",
2255
2302
  "sorted-asc",
@@ -2617,6 +2617,13 @@
2617
2617
  "since": "0.2.0",
2618
2618
  "itemId": "0.2.0#info-subtle-token-rename"
2619
2619
  },
2620
+ {
2621
+ "name": "--link-visited",
2622
+ "replacement": "--text-link-visited",
2623
+ "kind": "renamed",
2624
+ "since": "0.15.1",
2625
+ "itemId": "0.15.2#link-visited-role-is-text-link-visited"
2626
+ },
2620
2627
  {
2621
2628
  "name": "--opacity-muted",
2622
2629
  "replacement": null,
@@ -46,6 +46,20 @@
46
46
  }
47
47
  }
48
48
 
49
+ // `paint-order` puts the halo under the glyphs; a stroke over them would thicken the letters. Forced
50
+ // colours remap neither `fill` nor `stroke`, so the label takes the system pair there.
51
+ @mixin label-halo($color: var(--ds-chart-bg-color), $width: 3px) {
52
+ paint-order: stroke;
53
+ stroke: $color;
54
+ stroke-width: $width;
55
+ stroke-linejoin: round;
56
+
57
+ @media (forced-colors: active) {
58
+ fill: CanvasText;
59
+ stroke: Canvas;
60
+ }
61
+ }
62
+
49
63
  // `fill` and `stroke` are not remapped by forced colours; system keywords restore the structure.
50
64
  @mixin forced-colors {
51
65
  @media (forced-colors: active) {
@@ -2,6 +2,10 @@
2
2
  //
3
3
  // TODO(ds-interactive): migrate this onto `_interaction.scss` once that file exists.
4
4
 
5
+ // The hovered mark brightens: a filter, not a colour, so it holds on every palette colour, a hatch and a heat ramp.
6
+ $highlight: brightness(1.12) saturate(1.1);
7
+ $highlight-transition: filter var(--ds-motion-chart-state-duration) var(--ds-motion-chart-state-easing);
8
+
5
9
  // `.is-dimmed` alone, for a mark highlighted only from outside (legend, consumer).
6
10
  //
7
11
  // `$also` adds the mark's own transitions; a second `transition` on the same selector would
@@ -38,7 +42,28 @@
38
42
  }
39
43
 
40
44
  // The negative margin offsets the padding so the tint grows without moving rows. `$label` is recoloured when it sets its own colour.
41
- @mixin legend-entry($entry, $hover-bg-color, $hover-text-color, $label: null) {
45
+ //
46
+ // `$covers-gap` stretches each entry's hit area to the middle of the container's `--_legend-row-gap`
47
+ // and `--_legend-column-gap`, so a pointer crossing to the next entry never lands on the container
48
+ // and the highlight never drops between rows. The children sit above that area, so a click on a label still reaches its input.
49
+ @mixin legend-entry($entry, $hover-bg-color, $hover-text-color, $label: null, $covers-gap: false) {
50
+ @if $covers-gap {
51
+ #{$entry} {
52
+ position: relative;
53
+ }
54
+
55
+ #{$entry}::before {
56
+ position: absolute;
57
+ inset-block: min(0px, calc(var(--space-0-5) - var(--_legend-row-gap, 0px) / 2));
58
+ inset-inline: min(0px, calc(var(--space-1-5) - var(--_legend-column-gap, 0px) / 2));
59
+ content: '';
60
+ }
61
+
62
+ #{$entry} > * {
63
+ position: relative;
64
+ }
65
+ }
66
+
42
67
  #{$entry} {
43
68
  margin: calc(-1 * var(--space-0-5)) calc(-1 * var(--space-1-5));
44
69
  padding: var(--space-0-5) var(--space-1-5);
@@ -9,6 +9,39 @@
9
9
  // Reduced motion zeroes the durations (tokens); `enters` zeroes the delays, or a delayed mark with
10
10
  // `backwards` fill would stay invisible.
11
11
 
12
+ @use 'sass:list';
13
+
14
+ // One timing for every mark that follows a datum, so a column, its label and a line over it land together.
15
+ @function moves($properties...) {
16
+ $transitions: ();
17
+
18
+ @each $property in $properties {
19
+ $transitions: list.append(
20
+ $transitions,
21
+ #{$property} var(--ds-motion-chart-mark-duration) var(--ds-motion-chart-mark-easing),
22
+ $separator: comma
23
+ );
24
+ }
25
+
26
+ @return $transitions;
27
+ }
28
+
29
+ // One timing for everything that follows the pointer, so a band, a ring and the panel arrive together.
30
+ @function glides($properties...) {
31
+ $transitions: ();
32
+
33
+ @each $property in $properties {
34
+ $transitions: list.append(
35
+ $transitions,
36
+ #{$property} var(--ds-motion-chart-tooltip-move-duration)
37
+ var(--ds-motion-chart-tooltip-move-easing),
38
+ $separator: comma
39
+ );
40
+ }
41
+
42
+ @return $transitions;
43
+ }
44
+
12
45
  @keyframes ds-chart-mark-grow-y {
13
46
  from {
14
47
  transform: scaleY(0);
@@ -27,14 +60,6 @@
27
60
  }
28
61
  }
29
62
 
30
- // On a canvas whose viewBox stretches, a pixel is a user unit: set `--_chart-rise-distance` as a percentage of the mark's box.
31
- @keyframes ds-chart-mark-rise {
32
- from {
33
- opacity: 0;
34
- transform: translateY(var(--_chart-rise-distance, 4px));
35
- }
36
- }
37
-
38
63
  @keyframes ds-chart-mark-settle {
39
64
  from {
40
65
  opacity: 0;
@@ -56,6 +81,20 @@
56
81
  }
57
82
  }
58
83
 
84
+ @keyframes ds-chart-pin-pop {
85
+ from {
86
+ scale: 0.4;
87
+ opacity: 0;
88
+ }
89
+ }
90
+
91
+ // `scale`, not `transform`, so it composes with whatever places the pin.
92
+ @mixin pops-in($pin) {
93
+ #{$pin} {
94
+ animation: ds-chart-pin-pop var(--ds-motion-chart-mark-duration) var(--ease-spring) backwards;
95
+ }
96
+ }
97
+
59
98
  @mixin leaves($mark) {
60
99
  #{$mark}.mark-leave {
61
100
  animation: ds-chart-mark-exit var(--ds-motion-chart-mark-exit-duration)