@ids-group-ltd/ids-design-system 0.13.0 → 0.13.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 (104) hide show
  1. package/CHANGELOG.md +656 -3
  2. package/components.md +32 -11
  3. package/docs/agent/INDEX.md +2 -0
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-column-chart.md +1 -1
  6. package/docs/agent/charts/ds-config.md +12 -0
  7. package/docs/agent/charts/ds-donut-chart.md +2 -2
  8. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  9. package/docs/agent/charts/ds-line-chart.md +3 -2
  10. package/docs/agent/feedback/ds-meter.md +11 -0
  11. package/docs/agent/feedback/ds-progress.md +4 -1
  12. package/docs/agent/forms/ds-button.md +1 -1
  13. package/docs/agent/forms/ds-icon-button.md +1 -1
  14. package/docs/agent/surfaces/ds-card.md +1 -1
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +9 -4
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +100 -15
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +3 -0
  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-chart-legend.mjs +47 -5
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +155 -21
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -4
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +81 -18
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +9 -4
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +75 -23
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +107 -19
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +236 -31
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-meter.mjs +61 -0
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-meter.mjs.map +1 -0
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +9 -4
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs +34 -10
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +9 -4
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-select.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-time-picker.mjs +9 -4
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +2 -2
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +119 -13
  72. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
  75. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  76. package/migrations/0.13.1.json +236 -0
  77. package/migrations/0.13.2.json +269 -0
  78. package/package.json +9 -1
  79. package/styles/_chart-frame.scss +116 -4
  80. package/styles/_chart-interactive.scss +27 -7
  81. package/styles/_chart-motion.scss +61 -18
  82. package/styles/_dropdown-overlay.scss +9 -3
  83. package/styles/_focus.scss +10 -1
  84. package/styles/_overlay-motion.scss +11 -1
  85. package/styles/_tokens-charts.scss +5 -0
  86. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +6 -1
  87. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +87 -10
  88. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +1 -0
  89. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +25 -2
  90. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +23 -3
  91. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -1
  92. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +60 -9
  93. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +6 -1
  94. package/types/ids-group-ltd-ids-design-system-components-donut-chart.d.ts +53 -13
  95. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +73 -11
  96. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +116 -12
  97. package/types/ids-group-ltd-ids-design-system-components-meter.d.ts +36 -0
  98. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +6 -1
  99. package/types/ids-group-ltd-ids-design-system-components-progress.d.ts +21 -3
  100. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +6 -1
  101. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +6 -1
  102. package/types/ids-group-ltd-ids-design-system-components.d.ts +47 -5
  103. package/types/ids-group-ltd-ids-design-system-core.d.ts +40 -1
  104. package/types/ids-group-ltd-ids-design-system.d.ts +6 -5
@@ -0,0 +1,269 @@
1
+ {
2
+ "version": "0.13.2",
3
+ "items": [
4
+ {
5
+ "id": "chart-share-of-total-behind-part-of-whole",
6
+ "kind": "behavior",
7
+ "old": "ds-bar-chart",
8
+ "new": null,
9
+ "surface": "template",
10
+ "action": "Add `partOfWhole` to any `ds-bar-chart` or `ds-column-chart` whose categories genuinely divide one total, to keep the `18.6% of total` line `0.13.1` put in its tooltip. Leave it off everywhere else — the line disappears and the tooltip reads as it did before `0.13.1`.",
11
+ "appliesWhen": "Only `ds-bar-chart` and `ds-column-chart`. `ds-donut-chart` and `ds-funnel-chart` state their own percentages from their own geometry and are untouched; `ds-line-chart` never had the line.",
12
+ "pitfall": "Nothing errors and nothing logs — the second line simply stops appearing. The reverse is the worse failure: leaving `partOfWhole` on a chart whose marks are a funnel or a time series states a share of a total that does not exist as a quantity.",
13
+ "restore": "Set `partOfWhole` on the chart.",
14
+ "searchHints": [
15
+ "ds-bar-chart",
16
+ "ds-column-chart",
17
+ "of total",
18
+ "partOfWhole"
19
+ ],
20
+ "detect": [
21
+ "ds-bar-chart",
22
+ "ds-column-chart"
23
+ ],
24
+ "verify": "Every chart that still shows a share on its tooltip carries `partOfWhole`, and every chart carrying it has categories that add up to a total a reader can name.",
25
+ "note": "A share of a total is only a real quantity when the marks are parts of one whole. `0.13.1` stated one unconditionally, which made the figure meaningless on funnel-shaped and time-series data. The input also governs the new `Share of total` column in the data table."
26
+ },
27
+ {
28
+ "id": "exported-class-members-grew",
29
+ "kind": "behavior",
30
+ "old": "BarChartComponent",
31
+ "new": null,
32
+ "surface": "typescript",
33
+ "action": "Only if you SUBCLASS a chart component, or the internal legend or tooltip directive that the package root does not export, and declare a member of the same name: rename yours, or add `override` where your member genuinely means the same thing. A private base member — `detachEscape` and `closeOnEscape` — can only be resolved by renaming yours.",
34
+ "appliesWhen": "Only a class extending one of the five chart components, or extending the internal legend or tooltip directive, neither of which the package root exports. A template that uses the charts needs nothing.",
35
+ "pitfall": "The collision is a compile error, not a silent one — TS4114 for a same-named member, TS2416 where the signature differs — so a build that passes has none.",
36
+ "restore": null,
37
+ "searchHints": [
38
+ "pinOnClick",
39
+ "partOfWhole",
40
+ "legendMode",
41
+ "onMarkClick",
42
+ "onMarkerClick",
43
+ "mode",
44
+ "tooltipLingerMs",
45
+ "max",
46
+ "maxSecondary",
47
+ "drop",
48
+ "annotations"
49
+ ],
50
+ "detect": [
51
+ "extends BarChartComponent",
52
+ "extends ColumnChartComponent",
53
+ "extends DonutChartComponent",
54
+ "extends FunnelChartComponent",
55
+ "extends LineChartComponent",
56
+ "extends ChartLegendComponent",
57
+ "extends ChartTooltipDirective",
58
+ "BarChartComponent",
59
+ "ColumnChartComponent",
60
+ "DonutChartComponent",
61
+ "FunnelChartComponent",
62
+ "LineChartComponent",
63
+ "ChartLegendComponent",
64
+ "ChartTooltipDirective",
65
+ "extends ProgressComponent",
66
+ "ProgressComponent",
67
+ "DsMessageBase",
68
+ "extends DsMessageBase"
69
+ ],
70
+ "verify": "No subclass declares a member named `pinOnClick`, `partOfWhole`, `legendMode`, `tooltipLingerMs`, `max`, `maxSecondary`, `drop`, `annotations`, `onMarkClick`, `onMarkerClick`, `pinnedCategory`, `releaseCategoryPin`, `mode`, `isolated`, `isolate`, `showAll`, `hideAll`, `groupName`, `target`, `detachEscape` or `closeOnEscape`; the app builds with no TS4114, TS2415 or TS2416 on those classes.",
71
+ "note": "Pinning, the share gate, the legend mode and the tooltip linger each added members to the classes that carry them. Subclassing a DS component is unsupported, but a release that only adds can still fail such a build on a name collision, which is why the additions are listed here rather than in the additive notes. `ds-funnel-chart` gained `drop`, `ds-line-chart` gained `max`, `maxSecondary` and `annotations`, `ds-progress` gained `target` and `max`, and the shared message base behind the fields and the button — internal, and not exported from the package root — a protected flag deciding whether an unset reserve follows the app-wide field default."
72
+ },
73
+ {
74
+ "id": "chart-legend-isolates-by-default",
75
+ "kind": "behavior",
76
+ "old": "ds-line-chart",
77
+ "new": null,
78
+ "surface": "template",
79
+ "action": "Add `legendMode=\"toggle\"` to any `ds-line-chart` with `legendFilters` whose legend should keep hiding one series at a time. Leave it off and the legend isolates instead: choosing a series shows that one and hides the rest.",
80
+ "appliesWhen": "Only a `ds-line-chart` that sets `legendFilters`. A chart with a plain key legend is unchanged, and so is `hiddenSeries` — it carries the same ids in both modes, so a page driving it from a URL parameter needs nothing.",
81
+ "pitfall": "Nothing errors. The legend changes SHAPE as well as behaviour — checkboxes become a radio group with an `All` option — so a screenshot test of the legend and any test clicking a checkbox by role will both need updating.",
82
+ "restore": "Set `legendMode=\"toggle\"`.",
83
+ "searchHints": [
84
+ "legendFilters",
85
+ "legendMode",
86
+ "hiddenSeries",
87
+ "legend-check"
88
+ ],
89
+ "detect": [
90
+ "legendFilters",
91
+ "ds-line-chart"
92
+ ],
93
+ "verify": "Every filtering legend either isolates deliberately or carries `legendMode=\"toggle\"`, and any test that clicked a legend checkbox has been updated for the mode it now renders.",
94
+ "note": "Isolate answers the question a reader of a crowded chart actually asks — show me only this — in one action rather than one per series. The two are different controls, so isolate renders as radios and toggle as checkboxes, which is what gives each the keyboard and screen-reader behaviour it should have."
95
+ },
96
+ {
97
+ "id": "button-drops-the-app-wide-reserve-message-default",
98
+ "kind": "behavior",
99
+ "old": "ButtonComponent",
100
+ "new": null,
101
+ "surface": [
102
+ "style",
103
+ "template"
104
+ ],
105
+ "action": "Only if your app sets `provideDsConfig({ field: { reserveMessage: true } })` AND a layout was built around the taller buttons that produced: add `[reserveMessage]=\"true\"` to the buttons that should keep the reserved row, or drop the local spacing that compensated for it.",
106
+ "appliesWhen": "Only an app that sets the app-wide `field.reserveMessage`. A button binding `[reserveMessage]` itself is unchanged, and so is every field — `DS_CONFIG.field.reserveMessage` still reaches them, `ds-field-group` included.",
107
+ "pitfall": "Nothing errors and the buttons get SHORTER, so a broken layout looks like tightened spacing rather than a regression. The tell is a button row that used to line up with a field row beside it and now sits higher.",
108
+ "restore": "[reserveMessage]=\"true\"",
109
+ "searchHints": [
110
+ "reserveMessage",
111
+ "provideDsConfig"
112
+ ],
113
+ "detect": [
114
+ "reserveMessage: true",
115
+ "field: { reserveMessage",
116
+ "provideDsConfig",
117
+ "with-message"
118
+ ],
119
+ "verify": "No `<ds-button>` renders an empty message row unless it binds `[reserveMessage]=\"true\"`, and every field still reserves under the app-wide default.",
120
+ "note": "The button takes the field message line without being a field row, and it took the field-wide default with it. `reserveMessage` exists so a field does not shift its neighbours when a message appears; a button sits outside that column, so the app-wide value now reaches fields alone and a button opts in per instance."
121
+ },
122
+ {
123
+ "id": "chart-frame-leaves-through-an-input",
124
+ "kind": "behavior",
125
+ "old": "ds-bar-chart",
126
+ "new": null,
127
+ "surface": "template",
128
+ "action": "Replace a stylesheet rule that zeroed the frame — `--ds-chart-frame-border-width: 0` with `--ds-chart-frame-padding: 0` on the chart tags — with `provideDsConfig({ chart: { frame: 'none' } })`, or `frame=\"none\"` on the odd chart that differs. Nothing is required: the custom properties still work.",
129
+ "appliesWhen": "Only an app that turns the chart frame off. The frame still draws by default, so an app that never touched it sees no change.",
130
+ "pitfall": "Nothing breaks either way. The custom properties and the input reach the same box, so setting both is harmless but means two places to look when the frame is wrong.",
131
+ "restore": null,
132
+ "searchHints": [
133
+ "ds-bar-chart",
134
+ "ds-column-chart",
135
+ "ds-donut-chart",
136
+ "ds-funnel-chart",
137
+ "ds-line-chart",
138
+ "--ds-chart-frame-border-width",
139
+ "--ds-chart-frame-padding"
140
+ ],
141
+ "detect": [
142
+ "ds-bar-chart",
143
+ "ds-column-chart",
144
+ "ds-donut-chart",
145
+ "ds-funnel-chart",
146
+ "ds-line-chart"
147
+ ],
148
+ "verify": "No global stylesheet reaches into a chart's frame; the app sets `DS_CONFIG.chart.frame` or a per-chart `frame` instead.",
149
+ "note": "Whether charts live inside cards is decided once for an app, the same as `dataTable` — so it belongs beside it in `DS_CONFIG` rather than in a deep selector."
150
+ },
151
+ {
152
+ "id": "chart-data-table-off-by-default",
153
+ "kind": "behavior",
154
+ "old": "ds-bar-chart",
155
+ "new": null,
156
+ "surface": "template",
157
+ "action": "Set `dataTable=\"toggle\"` on any chart whose numbers are NOT already on the page, or `provideDsConfig({ chart: { dataTable: 'toggle' } })` to restore the old default for a whole app.",
158
+ "appliesWhen": "Every chart that relied on the default. A chart already setting `dataTable` explicitly is unchanged.",
159
+ "pitfall": "Nothing errors, and nothing looks broken — the disclosure simply stops being rendered. Where the annex was the only non-visual route to the numbers, removing it silently takes that route away, which is why this is worth a decision rather than a default.",
160
+ "restore": "Set `dataTable=\"toggle\"`, or the `DS_CONFIG` default.",
161
+ "searchHints": [
162
+ "dataTable",
163
+ "provideDsConfig",
164
+ "data-table"
165
+ ],
166
+ "detect": [
167
+ "dataTable",
168
+ "ds-bar-chart",
169
+ "ds-column-chart",
170
+ "ds-donut-chart"
171
+ ],
172
+ "verify": "Every chart whose page does not otherwise carry its numbers sets `dataTable` explicitly, and no page shows an annex disclosure nobody asked for.",
173
+ "note": "`dataTable` now defaults to `'none'` rather than `'toggle'`, on all five charts and in `DS_CONFIG.chart.dataTable`. A disclosure under every plot is chrome the page did not ask for, and the page usually carries the numbers already."
174
+ },
175
+ {
176
+ "id": "chart-tooltip-linger-off-by-default",
177
+ "kind": "behavior",
178
+ "old": "ds-bar-chart",
179
+ "new": null,
180
+ "surface": [
181
+ "template",
182
+ "config"
183
+ ],
184
+ "action": "Only where a chart tooltip holds something the reader has to REACH with the pointer — a link, a figure, a selectable string: set `[tooltipLingerMs]=\"140\"` on that chart, or `DS_CONFIG.chart.tooltipLingerMs = 140` where every tooltip in the app carries one. Everywhere else, nothing.",
185
+ "appliesWhen": "All five charts and any `tooltipTemplate` they render. A chart whose tooltip is the built-in label-and-value panel needs nothing — there is nothing in it to reach.",
186
+ "pitfall": "Nothing errors and nothing logs. A custom `tooltipTemplate` carrying a link keeps rendering the link, and the panel simply closes before the pointer can arrive — so the link is unreachable by pointer while still being in the DOM, which reads as a broken control rather than a missing setting.",
187
+ "restore": "Set `DS_CONFIG.chart.tooltipLingerMs = 140` to put the grace back on every chart at once.",
188
+ "searchHints": [
189
+ "tooltipTemplate",
190
+ "dsChartTooltip",
191
+ "ds-chart-tooltip-pane",
192
+ "tooltipLingerMs"
193
+ ],
194
+ "detect": [
195
+ "tooltipTemplate",
196
+ "ds-chart-tooltip-pane",
197
+ "DS_CONFIG",
198
+ "provideDsConfig"
199
+ ],
200
+ "verify": "Every chart whose tooltip template renders an anchor, a button or text a reader would select carries a non-zero `tooltipLingerMs`; every other chart carries none.",
201
+ "note": "A panel that outlives the pointer sits over the plot the reader has moved on to, so the delay is off. WCAG 1.4.13 asks that a hover-triggered panel be hoverable, dismissible and persistent — the first clause only bites when there is something in the panel to reach, and the built-in panel is one line of text. Dismissible and persistent hold at every value, because Escape and the latch are not on this timer."
202
+ },
203
+ {
204
+ "id": "chart-active-mark-gains-release",
205
+ "kind": "behavior",
206
+ "old": "ChartActiveMark",
207
+ "new": null,
208
+ "surface": "typescript",
209
+ "action": "Only if a class of yours IMPLEMENTS the internal `ChartActiveMark` by hand — it is not exported from the package root, only from the chart-tooltip entry point: add a `release(): void` that clears the pinned mark. Code that calls the factory needs nothing.",
210
+ "appliesWhen": "Only a hand-written implementation of that internal interface. Every chart binding, and every caller of the factory that returns one, is unaffected — the factory implements the method already.",
211
+ "pitfall": "The compiler names it (TS2420 on the class, TS2739 on a literal), so a build that passes has none. What it cannot see is a `release` that does nothing: the Unpin control and Escape both route through it, so an empty one leaves a mark pinned with a button that looks live.",
212
+ "restore": null,
213
+ "searchHints": [
214
+ "ChartActiveMark",
215
+ "chartActiveMark"
216
+ ],
217
+ "detect": [
218
+ "implements ChartActiveMark",
219
+ ": ChartActiveMark",
220
+ "ChartActiveMark"
221
+ ],
222
+ "verify": "Every hand-written implementation of that internal interface declares `release()`, and calling it leaves no mark pinned.",
223
+ "note": "A pinned mark now offers a control that releases it, and the internal interface is what the charts call to do so. Unexported from the package root, so only a deep import can reach it, which is why the item is narrow."
224
+ }
225
+ ],
226
+ "informational": [
227
+ "`ds-bar-chart` and `ds-column-chart` gained a `Share of total` column in their data table, shown only under `partOfWhole`. It carries the same figure as the tooltip's second line, so a reader who cannot hover now has a route to it. The heading says `Share of total` rather than `Share` because `ds-bar-chart` already prints a percentage beside each row and that one is the share of the largest row, not of the sum.",
228
+ "A chart tooltip can be selected and dismissed with Escape, which WCAG 1.4.13 requires of anything shown on hover. The panel still closes the moment the pointer leaves the mark; reaching it with the pointer is `tooltipLingerMs`, which is `0` — see the actionable item of the same name. Nothing in your code changes. One thing will notice: a rule of yours setting `pointer-events` on `.ds-chart-tooltip-pane` decides whether the panel can be selected at all, and must stay `auto`.",
229
+ "Every chart gained `pinOnClick`, off by default. With it set, clicking a mark holds that mark, its tooltip and — where `dimOthers` is on — the dimming of the other marks, until Escape or a press outside releases it. The click output fires either way. On `ds-line-chart` the pin hangs off the data markers, so Enter and Space pin from the keyboard too.",
230
+ "`ds-progress` takes a `target`: a second point on the same 0–100 scale, drawn as a hairline across the track so a bar reads actual against a goal or a baseline. It is clamped like `value`, ignored while `indeterminate`, and unset draws nothing, so every existing bar is unchanged. `role=\"progressbar\"` carries one value and no second, so the mark is visual only — put the comparison in `ariaLabel`. `--ds-progress-target-color` and `--ds-progress-target-width` set its look. It also takes `max`, the scale `value` and `target` are read against: left at 100 they stay percentages and nothing existing changes, while setting the real total makes `aria-valuenow` and `aria-valuemax` carry the measurement rather than a percentage the caller had to compute.",
231
+ "Clicking a mark on ds-donut-chart, ds-funnel-chart or ds-line-chart no longer leaves a rectangular outline around it. Chromium focuses an SVG shape on click even without a tabindex and reports that focus as not :focus-visible, so the browser painted its own bounding-box outline. The marks suppress it on :focus now; the keyboard indicator is a stroke that follows the shape and is unchanged. A screenshot test that captured a clicked slice or band will differ.",
232
+ "A ds-column-chart tooltip opens far enough above the column to clear the value that showValues prints on top of it. Nothing in your code changes; a test asserting the panel position relative to the column will see it roughly one text line higher.",
233
+ "`ds-line-chart` takes `annotations`: labels pinned over their readings, each naming a `categoryIndex`, a `label` and optionally the `seriesId` it belongs to. Nothing is drawn without them, so every existing chart is unchanged. A label sits above its reading, below it where the plot has no room, and anchors to its own edge near one; a hidden series takes its annotations with it. Marked `aria-hidden`, because the annex table already carries every reading. `--ds-line-chart-annotation-color`, `-font-size`, `-weight`, `-halo-color` and `-halo-width` set its look.",
234
+ "A drag across a chart no longer selects its chrome: axis ticks, legend labels and the visually-hidden caption came out selected and painted as bars over the card. The plot is `user-select: none` now. The annex table, the funnel's stage table and the visible caption stay selectable — those carry numbers people copy.",
235
+ "A pinned mark carries a pushpin on an opaque disc on all five charts, and an `Unpin` button appears centred above the plot while anything is pinned. Nothing in your code changes; a screenshot test of a pinned chart will differ.",
236
+ "`ds-line-chart` places its first reading ON the value axis and its last at the far edge, instead of centring each reading in a slot. The line now fills the plot rather than floating half a slot inside it. Nothing in your code changes. Two things will notice: a screenshot test of a line chart, and any test asserting a marker x — the spacing between readings is now the plot width divided by one less than the reading count.",
237
+ "A `ds-bar-chart` row takes `segments`: parts that divide the row’s bar without shortening it, sized against their own sum so they always fill it. The bar keeps the length its `value` earns, each part takes the categorical palette in order, and each reaches the annex table as its own row. Rows without `segments` are unchanged.",
238
+ "A `ds-bar-chart` row takes `detail`: a second, already-formatted reading printed under the label and carried into the annex table, for a row that encodes a ratio the bar can only draw half of. Rows without it are unchanged.",
239
+ "`ds-line-chart` takes `max` and `maxSecondary`, which pin the value axis so two renders of the same panel are comparable. Null, the default, keeps the derived axis; a maximum below the data does not clip it, because the larger of the two wins.",
240
+ "`ds-funnel-chart` takes `drop`, which says what its Drop column reports: `relative` (the default, and what it always showed) is the share that leaked at that stage, `absolute` the count, `none` removes the column. Charts that set nothing are unchanged.",
241
+ "A `ds-chart-legend` in its isolate mode gained a `None` option and always keeps one option chosen, so the radio group can reach an empty plot and never reads as undecided. Each legend now scopes its radio group to itself, so several charts on one page no longer share a single selection.",
242
+ "`ds-meter` is new: one track and one fill for a measurement inside a table cell, taking `value`, `max`, `color` and `ariaLabel`. It is the in-cell alternative to a chart, and is not `ds-progress` — it carries `role=\"meter\"` only when `ariaLabel` names it, and is `aria-hidden` otherwise. Nothing existing changes.",
243
+ "A pinned mark offers an `Unpin` control: `ds-bar-chart`, `ds-column-chart`, `ds-donut-chart` and `ds-funnel-chart` render a pill button above the plot while one is held, and `ds-donut-chart` and `ds-funnel-chart` draw a pin glyph at the pinned slice or band. The glyph takes no pointer events. `--ds-chart-pin-size` sizes it and the button carries `.pin-reset`; nothing in your code changes, and a chart with no pin shows neither.",
244
+ "A toggleable `ds-chart-legend` in `isolate` mode offers a `None` control beside `All`, so the plot can be cleared in one action. Additive: the existing controls and the `hidden` model are unchanged.",
245
+ "Two legends on one page no longer share a selection. The isolate controls are radios and every legend named the same group, so a page with several charts formed one document-wide group — choosing a series in one cleared the others, and only the last-rendered legend showed a selection. Each legend names its own group now, and a leftover partial state settles on `All` rather than leaving nothing chosen. Nothing in your code changes.",
246
+ "`ds-line-chart` keeps its height when the last series is switched off. The empty message reserved `--ds-line-chart-plot-height` alone while the plot is an SVG sized by its ratio against the card width, so on a wider card the box came up short and the card jumped. It reserves the canvas ratio now, with the token as the floor."
247
+ ],
248
+ "deleteList": [
249
+ {
250
+ "id": "chart-frame-css-override",
251
+ "surface": "style",
252
+ "find": [
253
+ "--ds-chart-frame-border-width",
254
+ "--ds-chart-frame-padding: 0"
255
+ ],
256
+ "why": "the frame is an input and an app-wide config key now, so stripping it no longer means reaching into the component’s own chrome",
257
+ "replaceWith": "`frame=\"none\"` on the chart, or `provideDsConfig({ chart: { frame: \"none\" } })` for the app"
258
+ },
259
+ {
260
+ "id": "chart-data-table-none-binding",
261
+ "surface": "template",
262
+ "find": [
263
+ "dataTable=\"none\""
264
+ ],
265
+ "why": "the annex table is off by default, so the binding restates the default",
266
+ "replaceWith": "nothing — keep it only where the app-wide default is `toggle` and this one chart differs"
267
+ }
268
+ ]
269
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ids-group-ltd/ids-design-system",
3
- "version": "0.13.0",
3
+ "version": "0.13.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/",
@@ -185,6 +185,10 @@
185
185
  "types": "./types/ids-group-ltd-ids-design-system-components-menu.d.ts",
186
186
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs"
187
187
  },
188
+ "./components/meter": {
189
+ "types": "./types/ids-group-ltd-ids-design-system-components-meter.d.ts",
190
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-meter.mjs"
191
+ },
188
192
  "./components/modal": {
189
193
  "types": "./types/ids-group-ltd-ids-design-system-components-modal.d.ts",
190
194
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs"
@@ -517,6 +521,10 @@
517
521
  "types": "./types/ids-group-ltd-ids-design-system-components-menu.d.ts",
518
522
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs"
519
523
  },
524
+ "./meter": {
525
+ "types": "./types/ids-group-ltd-ids-design-system-components-meter.d.ts",
526
+ "default": "./fesm2022/ids-group-ltd-ids-design-system-components-meter.mjs"
527
+ },
520
528
  "./modal": {
521
529
  "types": "./types/ids-group-ltd-ids-design-system-components-modal.d.ts",
522
530
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs"
@@ -1,20 +1,41 @@
1
+ @use 'focus' as focus;
2
+
1
3
  // The box a chart draws around itself. All five draw the same one, so the rules live here.
2
4
  //
3
- // On by default, which is unusual for this library: most components resist owning chrome. A chart
5
+ // ON by default, which is unusual for this library: most components resist owning chrome. A chart
4
6
  // is the exception because it is read as an OBJECT — a plot with axes, a legend and an annex table
5
- // — and without an edge those parts run into whatever sits beside them on the page. A chart already
6
- // inside a card drops the frame with two declarations rather than a mode flag:
7
+ // — and without an edge those parts run into whatever sits beside them on the page.
7
8
  //
8
- // ds-bar-chart { --ds-chart-frame-border-width: 0; --ds-chart-frame-padding: 0; }
9
+ // A chart already inside a card turns it off through the `frame` input, or once for a whole app
10
+ // through `DS_CONFIG.chart.frame`, which is where an app-wide layout decision belongs. The
11
+ // `--ds-chart-frame-*` tokens still size it.
9
12
  @mixin chart-frame {
10
13
  :host {
11
14
  display: block;
15
+
16
+ // A drag across a plot selects the chart's chrome — axis ticks, legend labels, and the
17
+ // caption a screen reader needs that is clipped to a thin strip for everyone else. The
18
+ // selection then paints as bars across the card, over content that is not visibly there.
19
+ // None of it is text anyone copies; the numbers live in the annex table, which stays
20
+ // selectable below.
21
+ user-select: none;
22
+ }
23
+
24
+ // The class is the resolved answer, not the input: the component reads `frame`, falls back to
25
+ // `DS_CONFIG.chart.frame`, and puts this on only when the result is `'auto'`.
26
+ :host(.framed) {
12
27
  padding: var(--ds-chart-frame-padding);
13
28
  background: var(--ds-chart-frame-bg-color);
14
29
  border: var(--ds-chart-frame-border-width) solid
15
30
  var(--ds-chart-frame-border-color);
16
31
  border-radius: var(--ds-chart-frame-radius);
17
32
  }
33
+
34
+ .data-table,
35
+ .stage-table,
36
+ figcaption {
37
+ user-select: text;
38
+ }
18
39
  }
19
40
 
20
41
  // The focus indicator, drawn rather than outlined: `outline` on an SVG element paints its BOUNDING
@@ -30,6 +51,20 @@
30
51
  drop-shadow(0 0 1px var(--ds-chart-focus-halo-color));
31
52
  }
32
53
 
54
+ // A CLICK focuses an SVG shape in Chromium even with no `tabindex` on it, and `:focus-visible` is
55
+ // false for that focus — so a rule keyed on `:focus-visible` never fires and the user-agent paints
56
+ // its own outline around the BOUNDING BOX. On a ring or a funnel band that is a rectangle standing
57
+ // off the shape, which reads as a selection nobody asked for.
58
+ //
59
+ // Keyed on `:focus` so it catches the pointer case too. The keyboard indicator is unaffected:
60
+ // `drawn-focus-ring` under `:focus-visible` still paints, and `own-indicator` keeps the outline
61
+ // under forced colours, where `stroke` is not remapped and the outline is all there is.
62
+ @mixin no-bounding-box-focus($mark) {
63
+ #{$mark}:focus {
64
+ @include focus.own-indicator;
65
+ }
66
+ }
67
+
33
68
  // `fill` and `stroke` are NOT remapped by forced colours: the chart keeps every series colour and
34
69
  // they all become the same one against the forced background, with nothing reporting a problem.
35
70
  // The system keywords are what put the structure back.
@@ -51,3 +86,80 @@
51
86
  }
52
87
  }
53
88
  }
89
+
90
+ // Every state a chart can be in occupies the same box. A chart that shrinks to a line of text when
91
+ // its data is empty, its request failed, or its legend switched the last series off drags the whole
92
+ // page up under the reader's cursor — and the state they are being told about is exactly the moment
93
+ // they are least able to afford the jump. `$height` is the plot the message stands in for.
94
+ @mixin message-box($height) {
95
+ .empty {
96
+ display: grid;
97
+ place-items: center;
98
+ min-block-size: $height;
99
+ margin: 0;
100
+ color: var(--text-secondary);
101
+ text-align: center;
102
+ }
103
+ }
104
+
105
+ /* The way out of a pin, said in a word. A held mark is a state the reader did not have before and
106
+ cannot obviously undo — Escape is invisible, and clicking the mark again is a guess. It reads
107
+ `Unpin` rather than `Reset`, which would leave a reader wondering what else it resets. */
108
+ @mixin pin-reset {
109
+ :host {
110
+ position: relative;
111
+ }
112
+
113
+ /* Top CENTRE: the corner competes with a legend on the donut and with the value labels on a
114
+ column chart, and on a wide card a corner control is a long way from the mark it undoes.
115
+ Centred, it sits over the plot it belongs to whatever the chart's shape.
116
+
117
+ 44px minimum box around a 12px label, because it is a real control and the library's own touch
118
+ rule applies to it. */
119
+ .pin-reset {
120
+ position: absolute;
121
+ inset-block-start: var(--space-2);
122
+ inset-inline: 0;
123
+ z-index: 1;
124
+ justify-self: center;
125
+ margin-inline: auto;
126
+ display: inline-flex;
127
+ align-items: center;
128
+ gap: var(--space-1);
129
+ min-block-size: var(--space-12);
130
+ inline-size: fit-content;
131
+ padding: var(--space-1) var(--space-3);
132
+ border: var(--border-width-default) solid var(--border-divider);
133
+ border-radius: var(--radius-pill);
134
+ background: var(--surface-default);
135
+ color: var(--text-secondary);
136
+ font-size: var(--font-size-xs);
137
+ line-height: 1;
138
+ box-shadow: var(--shadow-1);
139
+ cursor: pointer;
140
+
141
+ &:hover {
142
+ color: var(--text-primary);
143
+ border-color: var(--border-strong);
144
+ }
145
+ }
146
+ }
147
+
148
+ /* The pinned mark's badge: a pushpin on an opaque disc. The disc is what makes it legible — a bare
149
+ glyph with a halo has to win against whatever colour the series happens to be, and a palette of
150
+ eight cannot promise that. Size is the icon's touch-free minimum: it is a STATE, never a target,
151
+ so it carries `pointer-events: none` and no tab stop. */
152
+ @mixin pin-marker {
153
+ .pin-marker {
154
+ display: grid;
155
+ place-items: center;
156
+ inline-size: var(--ds-chart-pin-size, 22px);
157
+ block-size: var(--ds-chart-pin-size, 22px);
158
+ border: var(--border-width-default) solid var(--border-divider);
159
+ border-radius: var(--radius-pill);
160
+ background: var(--surface-default);
161
+ color: var(--text-primary);
162
+ box-shadow: var(--shadow-1);
163
+ pointer-events: none;
164
+ }
165
+ }
@@ -8,10 +8,14 @@
8
8
 
9
9
  // `.is-dimmed` alone, for a mark whose highlight only ever comes from outside — a legend, or a
10
10
  // consumer. A line has no mark between two readings, so it has no `:hover` half to derive.
11
- @mixin dims($mark) {
11
+ //
12
+ // `$also` is how a mark adds its OWN animated properties to the same declaration — a second
13
+ // `transition` on the same selector replaces this one rather than adding to it, and the fade then
14
+ // disappears with nothing reporting it. Pass a leading comma: `', fill 180ms ease'`.
15
+ @mixin dims($mark, $also: '') {
12
16
  #{$mark} {
13
17
  transition: opacity var(--ds-motion-chart-state-duration)
14
- var(--ds-motion-chart-state-easing);
18
+ var(--ds-motion-chart-state-easing) #{$also};
15
19
  }
16
20
 
17
21
  #{$mark}.is-dimmed {
@@ -22,13 +26,29 @@
22
26
  // Include on the CONTAINER, never on the mark: `:has()` asks the container whether anything inside
23
27
  // it is hovered, which is what lets a pointer highlight work with no component state.
24
28
  //
29
+ // Gated on `.dims-others`, which the chart puts on the container from its `dimOthers` input. Off by
30
+ // default, because dimming is not free: measured 2026-09-13, OKLab dE x100, the worst pair of three
31
+ // dimmed series falls from 14.8 at full opacity to 2.1 at 30%. It buys loudness for the mark under
32
+ // the pointer and pays for it with the reader's ability to tell the REST of the chart apart, which
33
+ // is a trade a consumer should make deliberately rather than inherit.
34
+ //
25
35
  // Usage: `.columns { @include chart-interactive.fades('.column'); }`
26
- @mixin fades($mark) {
27
- @include dims($mark);
36
+ @mixin fades($mark, $also: '') {
37
+ @include dims($mark, $also);
28
38
 
29
- &:has(#{$mark}.interactive:hover) #{$mark}.interactive:not(:hover),
30
- &:has(#{$mark}.interactive:focus-visible)
31
- #{$mark}.interactive:not(:focus-visible) {
39
+ // A PIN SUSPENDS THE HOVER RULE ENTIRELY, which is what `:not(:has(.is-pinned))` is for. Without
40
+ // it the two rules dim each other out: the hover rule takes down the pinned mark because the
41
+ // pointer has moved off it, the pin rule takes down the hovered mark because it is not the pinned
42
+ // one, and every mark on the chart ends up faded with nothing lit.
43
+ &.dims-others:not(:has(#{$mark}.is-pinned)):has(#{$mark}.interactive:hover)
44
+ #{$mark}.interactive:not(:hover),
45
+ &.dims-others:not(:has(#{$mark}.is-pinned)):has(
46
+ #{$mark}.interactive:focus-visible
47
+ )
48
+ #{$mark}.interactive:not(:focus-visible),
49
+ // A pinned mark keeps the others down after the pointer has gone, which is the whole point of
50
+ // pinning: the reader looks away from the chart and the comparison is still on screen.
51
+ &.dims-others:has(#{$mark}.is-pinned) #{$mark}:not(.is-pinned) {
32
52
  opacity: var(--ds-chart-dim-opacity);
33
53
  }
34
54
  }
@@ -3,43 +3,86 @@
3
3
  // The enter is DELAYED by the exit duration, and that delay is what stages the three phases:
4
4
  // removals finish before additions start, so a vanishing mark and an arriving one are never on
5
5
  // screen together. Angular's `animate.enter` / `animate.leave` own the classes; this file owns
6
- // what they mean.
6
+ // what they mean. `--_chart-mark-stagger` is set per mark by the component and adds to the delay.
7
+ //
8
+ // A mark ARRIVES BY GROWING FROM ITS OWN BASELINE, never by scaling about its centre: a uniform
9
+ // scale reads as the whole chart zooming, and it moves the mark's baseline, which is the one line
10
+ // on a chart that must not move. A mark with no baseline to grow from — a ring arc, a funnel band,
11
+ // a line — fades instead, for the same reason.
7
12
  //
8
13
  // `prefers-reduced-motion` is handled globally in `_tokens.scss` — nothing here re-handles it.
9
14
 
10
- @keyframes ds-chart-mark-enter {
15
+ @keyframes ds-chart-mark-grow-y {
16
+ from {
17
+ opacity: 0;
18
+ transform: scaleY(0);
19
+ }
20
+ }
21
+
22
+ @keyframes ds-chart-mark-grow-x {
23
+ from {
24
+ opacity: 0;
25
+ transform: scaleX(0);
26
+ }
27
+ }
28
+
29
+ @keyframes ds-chart-mark-fade-in {
11
30
  from {
12
31
  opacity: 0;
13
- transform: scale(0.94);
14
32
  }
15
33
  }
16
34
 
17
35
  @keyframes ds-chart-mark-exit {
18
36
  to {
19
37
  opacity: 0;
20
- transform: scale(0.94);
21
38
  }
22
39
  }
23
40
 
24
- @mixin staged($mark) {
25
- #{$mark} {
26
- // An SVG shape's transform box is the whole viewBox, so without this a mark scales about the
27
- // chart's origin and flies in from the corner instead of growing in place.
28
- transform-box: fill-box;
29
- transform-origin: center;
41
+ @mixin leaves($mark) {
42
+ #{$mark}.mark-leave {
43
+ animation: ds-chart-mark-exit var(--ds-motion-chart-mark-exit-duration)
44
+ var(--ds-motion-chart-mark-exit-easing) both;
30
45
  }
46
+ }
31
47
 
32
- // The delay is the exit duration plus this mark's own stagger step, which the component sets
33
- // per mark. Unset, `0ms` leaves the staging and adds nothing.
34
- #{$mark}.mark-enter {
35
- animation: ds-chart-mark-enter var(--ds-motion-chart-mark-enter-duration)
48
+ @mixin enters($selector, $keyframes) {
49
+ #{$selector} {
50
+ animation: #{$keyframes} var(--ds-motion-chart-mark-enter-duration)
36
51
  var(--ds-motion-chart-mark-enter-easing)
37
- calc(var(--ds-motion-chart-mark-exit-duration) + var(--_chart-mark-stagger, 0ms))
52
+ calc(
53
+ var(--ds-motion-chart-mark-exit-duration) + var(--_chart-mark-stagger, 0ms)
54
+ )
38
55
  both;
39
56
  }
57
+ }
40
58
 
41
- #{$mark}.mark-leave {
42
- animation: ds-chart-mark-exit var(--ds-motion-chart-mark-exit-duration)
43
- var(--ds-motion-chart-mark-exit-easing) both;
59
+ // `animate.enter` goes on the element that ANIMATES, not on the one the `@for` creates: Angular
60
+ // drops the class when the animation on THAT element ends, and a class put on the row while the
61
+ // fill inside it animates is never taken off again. `animate.leave` still belongs on the row —
62
+ // that is what leaves.
63
+
64
+ /* A column: the fill grows up out of the category axis. */
65
+ @mixin grows-up($mark, $fill) {
66
+ #{$mark} #{$fill} {
67
+ transform-origin: bottom;
44
68
  }
69
+
70
+ @include enters('#{$fill}.mark-enter', ds-chart-mark-grow-y);
71
+ @include leaves($mark);
72
+ }
73
+
74
+ /* A bar row: the fill grows out of the value axis, which is the inline start. */
75
+ @mixin grows-across($mark, $fill) {
76
+ #{$mark} #{$fill} {
77
+ transform-origin: left;
78
+ }
79
+
80
+ @include enters('#{$fill}.mark-enter', ds-chart-mark-grow-x);
81
+ @include leaves($mark);
82
+ }
83
+
84
+ /* A mark with no baseline of its own — a ring arc, a funnel band, a line. */
85
+ @mixin fades-in($mark) {
86
+ @include enters('#{$mark}.mark-enter', ds-chart-mark-fade-in);
87
+ @include leaves($mark);
45
88
  }
@@ -26,8 +26,14 @@
26
26
  --_option-radius: var(--ds-option-radius, var(--ds-radius-inner));
27
27
  --_option-row-gap: var(--ds-option-row-gap, 2px);
28
28
  --_option-bg-color-active: var(--ds-option-bg-color-active, var(--surface-secondary));
29
+ --_option-weight: var(--ds-option-weight, var(--font-weight-medium));
30
+ --_option-font-size: var(--ds-option-font-size, var(--font-size-s));
31
+ --_option-line-height: var(--ds-option-line-height, var(--line-height-flat));
32
+ --_option-font-family: var(--ds-option-font-family, var(--font-sans));
29
33
 
30
34
  --_dropdown-panel-bg-color: var(--ds-dropdown-panel-bg-color, var(--surface-overlay));
35
+ --_dropdown-panel-border-color: var(--ds-dropdown-panel-border-color, var(--border-default));
36
+ --_dropdown-panel-shadow: var(--ds-dropdown-panel-shadow, var(--shadow-popover));
31
37
  --_dropdown-panel-maxh: var(--ds-dropdown-panel-maxh, 320px);
32
38
 
33
39
  /* minw/maxw only bite in `content` width mode, where the pane is auto-sized: in
@@ -41,9 +47,9 @@
41
47
  // child of it and shrinks to its own option content width.
42
48
  width: 100%;
43
49
  background: var(--_dropdown-panel-bg-color);
44
- border: var(--border-width-default) solid var(--border-default);
50
+ border: var(--border-width-default) solid var(--_dropdown-panel-border-color);
45
51
  border-radius: var(--_dropdown-panel-radius);
46
- box-shadow: var(--shadow-popover);
52
+ box-shadow: var(--_dropdown-panel-shadow);
47
53
  padding: var(--space-1);
48
54
  min-width: var(--_dropdown-panel-minw);
49
55
  max-width: var(--_dropdown-panel-maxw);
@@ -118,7 +124,7 @@
118
124
  padding: var(--_option-padding);
119
125
  border: 0;
120
126
  background: transparent;
121
- font: var(--font-weight-medium) var(--font-size-s) / var(--line-height-flat) var(--font-sans);
127
+ font: var(--_option-weight) var(--_option-font-size) / var(--_option-line-height) var(--_option-font-family);
122
128
  color: var(--text-primary);
123
129
  cursor: pointer;
124
130
  border-radius: var(--_option-radius);