@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.
- package/CHANGELOG.md +496 -0
- package/components.md +69 -38
- package/docs/agent/INDEX.md +3 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +2 -1
- package/docs/agent/charts/ds-heatmap-chart.md +2 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +3 -2
- package/docs/agent/charts/ds-scatter-chart.md +2 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-toast.md +2 -0
- package/docs/agent/forms/ds-autocomplete.md +1 -1
- package/docs/agent/forms/ds-button.md +1 -0
- package/docs/agent/forms/ds-checkbox.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +1 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +1 -1
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-radio-group.md +1 -1
- package/docs/agent/forms/ds-segmented.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-slider.md +1 -1
- package/docs/agent/forms/ds-switch.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/ds-time-picker.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/global-helper-classes.md +1 -1
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +2 -1
- package/docs/agent/overlays/ds-definition-term.md +1 -1
- package/docs/agent/overlays/ds-info-hint.md +21 -2
- package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +1 -1
- package/docs/agent/tables/ds-table-columns.md +2 -0
- package/docs/agent/tables/ds-table.md +3 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +10 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +694 -77
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +2190 -1234
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +44 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +22 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +44 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -18
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +49 -20
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +76 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +33 -44
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +50 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +10 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +102 -27
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +11 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +123 -23
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +10 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +3 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +32 -14
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +17 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +259 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +24 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +17 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +32 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +10 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +238 -67
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +9 -2
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.15.0.json +43 -12
- package/migrations/0.15.1.json +745 -0
- package/migrations/0.15.2.json +164 -0
- package/migrations/0.3.0.json +16 -9
- package/package.json +9 -1
- package/schematics/check-overrides/surface.json +48 -1
- package/stylelint/deprecated-tokens.json +7 -0
- package/styles/_chart-frame.scss +14 -0
- package/styles/_chart-interactive.scss +26 -1
- package/styles/_chart-motion.scss +47 -8
- package/styles/_link.scss +30 -12
- package/styles/_tokens.scss +3 -0
- package/themes/README.md +55 -0
- package/themes/_semantic.scss +6 -7
- package/themes/dark/_theme.scss +7 -7
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +5 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +51 -7
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +201 -28
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +27 -2
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +0 -3
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +21 -8
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +13 -4
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +13 -7
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +6 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +24 -7
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +39 -7
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +51 -11
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +8 -6
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +110 -34
- package/types/ids-group-ltd-ids-design-system-core.d.ts +44 -12
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -2
package/migrations/0.15.0.json
CHANGED
|
@@ -130,11 +130,13 @@
|
|
|
130
130
|
"detect": [
|
|
131
131
|
"[dsTooltip]=\"`",
|
|
132
132
|
"'**",
|
|
133
|
-
"\"**"
|
|
133
|
+
"\"**",
|
|
134
|
+
"dsTooltipWhenClipped",
|
|
135
|
+
"truncate: true"
|
|
134
136
|
],
|
|
135
|
-
"action": "None, unless a tooltip string holds `**` meant literally: write `\\*\\*` there.",
|
|
137
|
+
"action": "None, unless a tooltip string holds `**` meant literally: write `\\*\\*` there. Where `[dsTooltip]` repeats text its host already prints, drop `[dsTooltip]` and keep `dsTooltipWhenClipped`, which shows the host's text as written.",
|
|
136
138
|
"appliesWhen": "Every `dsTooltip` string, including one a component builds from data. `dsTooltipWhenClipped` with no `dsTooltip` shows the host's text as written and is unaffected.",
|
|
137
|
-
"pitfall": "A string with two `**` loses both and the text between them turns bold, with no error; user-supplied text reaching a tooltip needs its `**` escaped.",
|
|
139
|
+
"pitfall": "A string with two `**` loses both and the text between them turns bold, with no error; user-supplied text reaching a tooltip needs its `**` escaped. A `[dsTooltip]` bound to the same stored text its host prints shows it differently once that text holds a `**` pair: asterisks on the page, bold in the tip. A `truncate` column of `ds-table` passes its cell value to `dsTooltip` the same way.",
|
|
138
140
|
"restore": "[dsTooltip]=\"text().replaceAll('**', '\\*\\*')\"",
|
|
139
141
|
"verify": "Every tooltip string whose text contains `**` shows the asterisks, or bold where bold was meant."
|
|
140
142
|
},
|
|
@@ -187,7 +189,7 @@
|
|
|
187
189
|
"restore": null,
|
|
188
190
|
"verify": "The app builds, and every complete DsIntl object it declares has chart.rowsUnder.",
|
|
189
191
|
"evidence": [
|
|
190
|
-
"fixture:
|
|
192
|
+
"fixture:0.15.0/intl-chart-rows-under-required.ts"
|
|
191
193
|
]
|
|
192
194
|
},
|
|
193
195
|
{
|
|
@@ -223,9 +225,9 @@
|
|
|
223
225
|
"detect": [
|
|
224
226
|
"truncate: true"
|
|
225
227
|
],
|
|
226
|
-
"action": "None, unless a column needs the old 240px cap: add `width: 272` to it (240 plus the cell padding at the default density).",
|
|
228
|
+
"action": "None, unless a column needs the old 240px cap: add `width: 272` to it (240 plus the cell padding at the default density); where it must only stop shrinking, set `minWidth` and the table scrolls sideways instead.",
|
|
227
229
|
"appliesWhen": "A `ds-table` column with `truncate: true` and no `width`. A column with a numeric `width` or `width: 'content'` clips as before, and a column without `truncate` is unaffected.",
|
|
228
|
-
"pitfall": "A column of long values now takes the room the other columns leave, up to the widest value on any page, so a screenshot shows it wider when the table has room and narrower, down to its header label, when it does not; in a table that scrolls sideways anyway it keeps the 240px clip.",
|
|
230
|
+
"pitfall": "A column of long values now takes the room the other columns leave, up to the widest value on any page, so a screenshot shows it wider when the table has room and narrower, down to its header label, or to its `minWidth`, when it does not; in a table that scrolls sideways anyway it keeps the 240px clip.",
|
|
229
231
|
"restore": "{ key: 'email', label: 'Email', truncate: true, width: 272 }",
|
|
230
232
|
"verify": "Open a table with a `truncate` column without `width`: a short value shows whole, a long one is cut at the column's edge with no empty space after the ellipsis, the column keeps its width when you page, and in a table that scrolls sideways anyway it clips at 240px."
|
|
231
233
|
},
|
|
@@ -278,13 +280,17 @@
|
|
|
278
280
|
"outline"
|
|
279
281
|
],
|
|
280
282
|
"detect": [
|
|
283
|
+
"border-bottom: 2px solid",
|
|
284
|
+
"border-left: 1px solid",
|
|
285
|
+
"border-right: 1px solid",
|
|
286
|
+
"background: transparent;",
|
|
281
287
|
":focus-visible {",
|
|
282
288
|
":focus-visible{",
|
|
283
289
|
"&:focus-visible"
|
|
284
290
|
],
|
|
285
|
-
"action": "
|
|
286
|
-
"appliesWhen": "Ships in `styles/focus`, which `styles/ds` forwards, and for a component's own elements in that component's stylesheet. Every keyboard-focused element that declares no border-radius takes `--focus-ring-radius` through `:where(:focus-visible)`; an element that declares any radius, `0` included, is unaffected.",
|
|
287
|
-
"pitfall": "A full-width row or flat button with a fill and no declared radius shows rounded fill corners only while focused, so a screenshot taken at rest looks unchanged.",
|
|
291
|
+
"action": "Declare `border-radius: 0` on every button, link or tabindex element of yours that draws a background, a hover fill or a one-sided border (a tab underline, a divider) and declares no `border-radius`. An element that declares any radius needs nothing.",
|
|
292
|
+
"appliesWhen": "Ships in `styles/focus`, which `styles/ds` forwards, and for a component's own elements in that component's stylesheet; an app that assembles the partials itself and includes `focus.emit-rules` gets it too. Every keyboard-focused element that declares no border-radius takes `--focus-ring-radius` through `:where(:focus-visible)`; an element that declares any radius, `0` included, is unaffected.",
|
|
293
|
+
"pitfall": "A full-width row or flat button with a fill and no declared radius shows rounded fill corners only while focused, so a screenshot taken at rest looks unchanged. A one-sided border bends at both ends while focused: a tab's `border-bottom` underline curves up into the corners and a `border-left` divider bows, on keyboard focus only.",
|
|
288
294
|
"restore": ":where(:focus-visible) { border-radius: 0; }",
|
|
289
295
|
"verify": "The built CSS has `border-radius:var(--focus-ring-radius)` inside `:where(:focus-visible)`, and a focused element with a fill keeps the corners it shows at rest."
|
|
290
296
|
},
|
|
@@ -860,7 +866,32 @@
|
|
|
860
866
|
"text": "A ds-line-chart skeleton under `--ds-line-chart-placeholder-height` is that tall with its axis labels included; unset, it is as tall as the drawn plot with its labels.",
|
|
861
867
|
"verify": "Set `--ds-line-chart-placeholder-height: 200px` on a loading ds-line-chart with no series and confirm the skeleton above the legend placeholders is 200px tall."
|
|
862
868
|
},
|
|
863
|
-
"While loading keeps options on screen under the overlay, ds-select, ds-multi-select and ds-autocomplete ignore the arrow, PageUp, PageDown, Home, End and Enter keys and mark the field aria-busy until loading clears; typing in the filter and the multi-select select-all row stay live."
|
|
869
|
+
"While loading keeps options on screen under the overlay, ds-select, ds-multi-select and ds-autocomplete ignore the arrow, PageUp, PageDown, Home, End and Enter keys and mark the field aria-busy until loading clears; typing in the filter and the multi-select select-all row stay live.",
|
|
870
|
+
{
|
|
871
|
+
"text": "Every icon-only control takes the pointer over at least `--hit-xs` (24px) around the size it is drawn at: the close and remove buttons of `ds-alert`, `ds-banner`, `ds-toast`, `ds-dropzone` and `ds-tag`, the clear button of `ds-input`, `ds-search`, `ds-select`, `ds-autocomplete`, `ds-multi-select` and `ds-time-picker`, the `ds-date-picker` calendar toggle, the `ds-description-item` copy button, the `ds-bar-chart` row toggle, the `ds-sidenav-footer` search clear, an icon-only `ds-breadcrumbs` item and `ds-info-hint`. The focus ring is drawn on that target, except on `ds-info-hint` and an icon-only `ds-breadcrumbs` item, whose ring stays on the icon. Nothing around them moves, except the arrows of the `ds-table` width panel, which sit `--space-2-5` apart instead of `--space-1`.",
|
|
872
|
+
"verify": "Point just outside the close button of a `ds-banner` and confirm a click there still closes it, and tab to it and confirm the focus ring surrounds a 24px square rather than the icon."
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"text": "The `ds-table` column filter button takes a 24px target and sits `--space-2` after its label instead of `--space-1`, so the header label of a filterable column clips 4px sooner. The button is at full opacity while focused.",
|
|
876
|
+
"verify": "Open a table whose filterable column has a header label within 4px of fitting and confirm it now ends in an ellipsis, then tab to its filter button and confirm it shows at full opacity."
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"text": "The close button of `ds-banner`, `ds-alert`, `ds-toast` and `ds-drawer` and the `ds-dropzone` remove button centre their icon in a square box, so it sits in the middle of the focus ring instead of on a text line.",
|
|
880
|
+
"verify": "Tab to the close button of a `ds-banner` and a `ds-toast` and confirm the icon sits in the middle of its focus ring."
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"text": "The focus ring of a `ds-table` header label, a `ds-list-item` and a `ds-breadcrumbs` link is drawn outside the text instead of over its first and last letter.",
|
|
884
|
+
"verify": "Tab to a breadcrumb link and a list item and confirm the ring clears the first and last letter."
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"text": "The `ds-date-picker` month and year arrows sit in the centre of their button.",
|
|
888
|
+
"verify": "Open a date picker and confirm each arrow sits in the middle of its hover fill."
|
|
889
|
+
},
|
|
890
|
+
"The content of a chart tooltip no longer sets `pointer-events: none`, so a pinned chart tooltip, whose pane takes the pointer, lets its text be selected and a link in a `tooltipTemplate` be clicked.",
|
|
891
|
+
"`TableColumn.minWidth` sets the narrowest a `ds-table` column gets, in px with the padding: a `truncate` column without `width` stops shrinking at it and the table scrolls sideways instead. It is ignored when `width` is a number.",
|
|
892
|
+
"`styles/target` gives an icon-only control of yours the library's 24px target: `@include target.min-size` last in its rule.",
|
|
893
|
+
"`styles/component-base` gives a component of yours the library's base: `@include component-base.rules` first in its stylesheet sets `border-box`, the inherited font on form controls, zero heading margins and the base focus ring on its own elements.",
|
|
894
|
+
"`--ds-date-picker-max-width` caps the width of `ds-date-picker`. It defaults to `100%`, so nothing changes until it is set."
|
|
864
895
|
],
|
|
865
896
|
"deleteList": [
|
|
866
897
|
{
|
|
@@ -895,11 +926,11 @@
|
|
|
895
926
|
],
|
|
896
927
|
"find": [
|
|
897
928
|
"min-width: 100%",
|
|
898
|
-
"width: 0;",
|
|
929
|
+
"width: 0; min-width: 100%",
|
|
899
930
|
"dsTooltipWhenClipped"
|
|
900
931
|
],
|
|
901
932
|
"why": "`truncate: true` on a column without `width` clips at the column width and shows the full value in a tooltip. The wrapper is still legitimate where the column must yield all its room to its neighbours rather than grow to its text.",
|
|
902
|
-
"replaceWith": "`truncate: true` on the column"
|
|
933
|
+
"replaceWith": "`truncate: true` on the column; in the cell template drop the wrapper's `width: 0`, `min-width: 100%`, `overflow`, `text-overflow` and `white-space` and its `dsTooltipWhenClipped`, and keep the template only for markup it adds besides the value. The cell's tooltip shows the column's `cell` for the row, or the row's value under `key` when `cell` is unset, not what the template renders: a template that formats the value, such as a `??` fallback or a pipe, needs the same formatting in `cell`."
|
|
903
934
|
},
|
|
904
935
|
{
|
|
905
936
|
"id": "skeleton-shimmer-use",
|