@ids-group-ltd/ids-design-system 0.12.1 → 0.12.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 +246 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +10 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
- 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 +8 -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-date-picker.mjs +13 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +10 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +13 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +8 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +11 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +8 -20
- 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.mjs +85 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +8 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +27 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/migrations/0.12.0.json +30 -2
- package/migrations/0.12.1.json +132 -6
- package/migrations/0.12.2.json +291 -0
- package/package.json +1 -1
- package/styles/_check-box.scss +7 -0
- package/styles/_clear-button.scss +28 -0
- package/styles/_table-controls.scss +66 -0
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +9 -2
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +18 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +26 -1
- package/types/ids-group-ltd-ids-design-system-core.d.ts +5 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.12.2",
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "subclass-members-grew",
|
|
6
|
+
"kind": "behavior",
|
|
7
|
+
"surface": "typescript",
|
|
8
|
+
"old": "class MyThing extends TableComponent | SidenavGroupComponent",
|
|
9
|
+
"new": null,
|
|
10
|
+
"action": "Build after upgrading, then rename or mark `override` any member the compiler reports as colliding.",
|
|
11
|
+
"appliesWhen": "Only a class that extends TableComponent or SidenavGroupComponent. A consumer who uses the elements in a template needs nothing — no existing input, output, token or class changed name or type in this release.",
|
|
12
|
+
"pitfall": "Three of the four members are not public API, which is no protection: a redeclared private or protected member fails with TS2415 exactly as a public collision does, and a same-named method whose signature differs fails with TS2416 instead.",
|
|
13
|
+
"note": "TableComponent gained `showsLoadingSpace`, which keeps a body open while the table loads with no rows; `publishHeadHeight`, which measures the header for the scrim to inset against; `scrollAncestor`, which finds the scrollport a sticky offset resolves against; `hasAnyColumnFilter`, which decides whether the column-filter panel renders; `isFilterPanelOpen`, which tells a header button whether the open panel is its own; and the new `stickyScrollbarOffset` input with its `stickyScrollbarOffsetResolved`. SidenavGroupComponent gained the new `routerLink` input and `headerNavigates`, which decides whether the header splits into a link and its own caret. Named here so a subclass collision is greppable from the release that introduced them.",
|
|
14
|
+
"verify": "The app builds with no TS2415 or TS2416 naming TableComponent or SidenavGroupComponent, and no member of your subclass is called showsLoadingSpace, publishHeadHeight, scrollAncestor, hasAnyColumnFilter, isFilterPanelOpen, stickyScrollbarOffset, stickyScrollbarOffsetResolved, routerLink or headerNavigates.",
|
|
15
|
+
"searchHints": [
|
|
16
|
+
"extends TableComponent",
|
|
17
|
+
"extends SidenavGroupComponent",
|
|
18
|
+
"showsLoadingSpace",
|
|
19
|
+
"publishHeadHeight",
|
|
20
|
+
"scrollAncestor",
|
|
21
|
+
"hasAnyColumnFilter",
|
|
22
|
+
"isFilterPanelOpen",
|
|
23
|
+
"stickyScrollbarOffset",
|
|
24
|
+
"stickyScrollbarOffsetResolved",
|
|
25
|
+
"headerNavigates",
|
|
26
|
+
"TS2415",
|
|
27
|
+
"TS2416"
|
|
28
|
+
],
|
|
29
|
+
"detect": [
|
|
30
|
+
"extends TableComponent",
|
|
31
|
+
"extends SidenavGroupComponent",
|
|
32
|
+
"override showsLoadingSpace",
|
|
33
|
+
"override publishHeadHeight",
|
|
34
|
+
"override scrollAncestor",
|
|
35
|
+
"override hasAnyColumnFilter",
|
|
36
|
+
"override isFilterPanelOpen",
|
|
37
|
+
"override stickyScrollbarOffset",
|
|
38
|
+
"override routerLink",
|
|
39
|
+
"override headerNavigates"
|
|
40
|
+
],
|
|
41
|
+
"restore": null
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "modal-fullscreen-height-is-a-target",
|
|
45
|
+
"kind": "behavior",
|
|
46
|
+
"surface": "style",
|
|
47
|
+
"old": "--modal-h-fullscreen",
|
|
48
|
+
"new": null,
|
|
49
|
+
"action": "Where you set `--modal-h-fullscreen`, decide whether you meant a ceiling or a height, and lower the value below 90dvh if you want the panel shorter than the screen.",
|
|
50
|
+
"appliesWhen": "Only a modal opened fullscreen, and only where you set `--modal-h-fullscreen` yourself or relied on a short body keeping the panel small. A modal opened at any other size is untouched, and the token keeps its name and its own value.",
|
|
51
|
+
"pitfall": "Setting the token above 90dvh looks like it does nothing: the modal's own ceiling still clips the panel, so the used height stays 90dvh and no warning says the value was ignored.",
|
|
52
|
+
"note": "The fullscreen class fed the token to `max-height`, so a short body shrank the panel and a tall one stopped at the token. It feeds `height` now, so the panel is that tall whatever the body holds, still clipped by the modal's 90dvh ceiling. The panel already lays out as a column with a scrolling body, so the room a short body no longer reclaims goes to the body and the footer sits at the bottom of the screen.",
|
|
53
|
+
"verify": "A fullscreen modal with two lines of content is as tall as a fullscreen modal with fifty, and one you sized through the token is `min(your value, 90dvh)` tall.",
|
|
54
|
+
"searchHints": [
|
|
55
|
+
"--modal-h-fullscreen",
|
|
56
|
+
"fullscreen"
|
|
57
|
+
],
|
|
58
|
+
"restore": null
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "date-picker-focus-resolves-the-field-family",
|
|
62
|
+
"kind": "behavior",
|
|
63
|
+
"surface": "style",
|
|
64
|
+
"old": "--ds-date-picker-focus-shadow",
|
|
65
|
+
"new": null,
|
|
66
|
+
"action": "Retune the date picker's focus indicator through `--ds-field-focus-shadow`, or set `--ds-date-picker-focus-shadow` outright.",
|
|
67
|
+
"appliesWhen": "Only a brand that retunes focus through the control family — `--ds-control-focus-shadow` or the per-control tokens. An explicit `--ds-date-picker-focus-shadow` override still wins and needs nothing. `ds-time-picker` still resolves the control family, so the two pickers focus differently until you set both.",
|
|
68
|
+
"pitfall": "A control-family override is a custom property like any other: it still sets, it still cascades, and the date picker simply no longer reads it. Nothing errors, and the field draws the default halo.",
|
|
69
|
+
"note": "The trigger is field-shaped and was drawing the two-band control ring, so it read as a button beside inputs that draw one soft halo. It resolves the field family now, which also means it follows the `data-focus` switch — `ring`, `edge` and `inset` reach it, and they did not before.",
|
|
70
|
+
"verify": "Focusing the date field draws the same indicator as focusing a text input beside it, and switching `data-focus` changes both together.",
|
|
71
|
+
"searchHints": [
|
|
72
|
+
"--ds-date-picker-focus-shadow",
|
|
73
|
+
"--ds-control-focus-shadow",
|
|
74
|
+
"--ds-field-focus-shadow",
|
|
75
|
+
"focus-shadow"
|
|
76
|
+
],
|
|
77
|
+
"restore": "--ds-date-picker-focus-shadow: var(--ds-control-focus-shadow);"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "progress-warning-bar-resolves-a-palette-yellow",
|
|
81
|
+
"kind": "behavior",
|
|
82
|
+
"surface": "style",
|
|
83
|
+
"old": "--ds-progress-bar-color-warning",
|
|
84
|
+
"new": null,
|
|
85
|
+
"action": "Recolour the warning bar through `--ds-progress-bar-color-warning` rather than through `--warning-hover`.",
|
|
86
|
+
"appliesWhen": "Only a brand that recoloured the bar by way of `--warning-hover`. An explicit `--ds-progress-bar-color-warning` override still wins. `--warning-hover` keeps its name and value and is still read elsewhere.",
|
|
87
|
+
"pitfall": "The bar moves in opposite directions per theme, so a screenshot check on one theme proves nothing about the other: the light bar gets more saturated and the dark bar gets darker.",
|
|
88
|
+
"note": "The fallback resolved to a hover derivation of the warning hue, which mixes toward black in the light theme and toward white in the dark one — so the light bar read olive and the dark bar read washed out, and neither matched the warning colour anywhere else. Both themes resolve the same palette yellow now.",
|
|
89
|
+
"verify": "The warning progress bar is the same colour in both themes, and matches the warning hue used by the other status surfaces.",
|
|
90
|
+
"searchHints": [
|
|
91
|
+
"--ds-progress-bar-color-warning",
|
|
92
|
+
"--warning-hover"
|
|
93
|
+
],
|
|
94
|
+
"restore": "--ds-progress-bar-color-warning: var(--warning-hover);"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "skeleton-shimmer-reads-its-own-duration-token",
|
|
98
|
+
"kind": "behavior",
|
|
99
|
+
"surface": "style",
|
|
100
|
+
"old": "--duration-loop-slow",
|
|
101
|
+
"new": null,
|
|
102
|
+
"action": "Set `--ds-skeleton-wave-duration` wherever you were retuning the skeleton through `--duration-loop-slow`.",
|
|
103
|
+
"appliesWhen": "Only a brand that set `--duration-loop-slow` and expected the skeleton to follow. That token keeps its name and value and still drives everything else that reads it; the skeleton is what stopped reading it.",
|
|
104
|
+
"pitfall": "The shimmer keeps animating either way, so an override that no longer lands looks like a value that was simply too small to notice rather than one nothing reads.",
|
|
105
|
+
"note": "The wave now tiles by construction and travels exactly one period per loop, so its duration is a property of the wave rather than of the shared loop family. The loop runs 3400ms where the shared token gave it 1400ms, and passes no longer rest between crossings. `--ds-skeleton-wave-angle` turns the gradient only — the tile size and the travel are pinned to the 45° diagonal, so an angle far from the default tiles visibly.",
|
|
106
|
+
"verify": "Setting `--ds-skeleton-wave-duration` changes how fast the shimmer crosses, and setting `--duration-loop-slow` alone leaves it unchanged.",
|
|
107
|
+
"searchHints": [
|
|
108
|
+
"--duration-loop-slow",
|
|
109
|
+
"--ds-skeleton-wave-duration",
|
|
110
|
+
"ds-skeleton"
|
|
111
|
+
],
|
|
112
|
+
"restore": "--ds-skeleton-wave-duration: var(--duration-loop-slow);"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "autocomplete-trigger-open-class-removed",
|
|
116
|
+
"kind": "behavior",
|
|
117
|
+
"surface": "style",
|
|
118
|
+
"old": "ds-autocomplete .autocomplete-trigger.open",
|
|
119
|
+
"new": null,
|
|
120
|
+
"action": "Rewrite any rule keyed off `.autocomplete-trigger.open` to key off the input's expanded state: `.autocomplete-trigger:has(input[aria-expanded=\"true\"])`.",
|
|
121
|
+
"appliesWhen": "Only a stylesheet of yours that selected the open state by class. Nothing in a template or in TypeScript changes — `isOpen()` and the panel are untouched, and this library never styled `.open`, so no look of ours moves.",
|
|
122
|
+
"pitfall": "The rule stops matching with no error anywhere: the class is simply absent, so the open state renders as the resting state and nothing reports it. A build passes, a test that asserts on computed style is the only thing that catches it.",
|
|
123
|
+
"note": "The class reported a state it never painted. `aria-expanded` was already on the input for assistive technology, so the state stayed reachable without a second copy of it in the class list.",
|
|
124
|
+
"verify": "No stylesheet selects `.autocomplete-trigger.open`, and every rule that dressed the open state now selects it through `aria-expanded`.",
|
|
125
|
+
"searchHints": [
|
|
126
|
+
"autocomplete-trigger.open",
|
|
127
|
+
".open",
|
|
128
|
+
"aria-expanded"
|
|
129
|
+
],
|
|
130
|
+
"detect": [
|
|
131
|
+
"autocomplete-trigger.open",
|
|
132
|
+
"ds-autocomplete .open",
|
|
133
|
+
"::ng-deep .open"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "autocomplete-trigger-error-class-removed",
|
|
138
|
+
"kind": "behavior",
|
|
139
|
+
"surface": "style",
|
|
140
|
+
"old": "ds-autocomplete .autocomplete-trigger.error",
|
|
141
|
+
"new": null,
|
|
142
|
+
"action": "Rewrite any rule keyed off `.autocomplete-trigger.error` to key off the host attribute: `ds-autocomplete[data-field-state=\"error\"] .autocomplete-trigger`.",
|
|
143
|
+
"appliesWhen": "Only a stylesheet of yours that selected the error state by class on the trigger. The field family's own error paint has always come from `data-field-state` on the host and is unchanged.",
|
|
144
|
+
"pitfall": "An invalid field keeps rendering as a valid one in your own styling, with nothing raised — and it is the state a reader most needs to see, so the silence costs more here than on a cosmetic class.",
|
|
145
|
+
"note": "`data-field-state` carries `error`, `warning` and `success`, which one boolean class could not, and it is where this library reads the state itself — so a rule written against it also follows a warning.",
|
|
146
|
+
"verify": "No stylesheet selects `.autocomplete-trigger.error`, and the rules that dressed the error state select `[data-field-state=\"error\"]` on the host.",
|
|
147
|
+
"searchHints": [
|
|
148
|
+
"autocomplete-trigger.error",
|
|
149
|
+
".error",
|
|
150
|
+
"data-field-state"
|
|
151
|
+
],
|
|
152
|
+
"detect": [
|
|
153
|
+
"autocomplete-trigger.error",
|
|
154
|
+
"ds-autocomplete .error",
|
|
155
|
+
"::ng-deep .error"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "multi-select-trigger-readonly-class-removed",
|
|
160
|
+
"kind": "behavior",
|
|
161
|
+
"surface": "style",
|
|
162
|
+
"old": "ds-multi-select .field-trigger.readonly",
|
|
163
|
+
"new": null,
|
|
164
|
+
"action": "Rewrite any rule keyed off `.field-trigger.readonly` to key off the attribute already on that element: `.field-trigger[aria-readonly=\"true\"]`.",
|
|
165
|
+
"appliesWhen": "Only a stylesheet of yours that selected the read-only trigger by class. `readOnly` itself, and everything it does to focus and opening, is unchanged. `ds-select`'s trigger never carried the class, so a rule shared between the two was already only half working.",
|
|
166
|
+
"pitfall": "A read-only trigger renders as an editable one under your own styling, which invites a click that then does nothing — and no tool reports the dead selector.",
|
|
167
|
+
"note": "`aria-readonly` sits on the same element and says the same thing to assistive technology, so the state needed no class beside it.",
|
|
168
|
+
"verify": "No stylesheet selects `.field-trigger.readonly`, and the read-only styling selects `aria-readonly` instead.",
|
|
169
|
+
"searchHints": [
|
|
170
|
+
"field-trigger.readonly",
|
|
171
|
+
".readonly",
|
|
172
|
+
"aria-readonly"
|
|
173
|
+
],
|
|
174
|
+
"detect": [
|
|
175
|
+
"field-trigger.readonly",
|
|
176
|
+
"ds-multi-select .readonly",
|
|
177
|
+
"::ng-deep .readonly"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "tabs-badge-tone-classes-removed",
|
|
182
|
+
"kind": "behavior",
|
|
183
|
+
"surface": "style",
|
|
184
|
+
"old": "ds-tabs .badge.neutral",
|
|
185
|
+
"new": null,
|
|
186
|
+
"action": "Drop `.neutral` and `.count` from any rule selecting the tab count badge and select `.badge` on its own.",
|
|
187
|
+
"appliesWhen": "Only a stylesheet of yours that qualified the tab badge with either word. The badge's own look is unchanged — it always came from `.badge` alone, and `.neutral` and `.count` never carried a declaration.",
|
|
188
|
+
"pitfall": "A rule qualified with either word stops matching entirely rather than partly, so a recoloured badge returns to the library's grey pill and reads as intentional.",
|
|
189
|
+
"note": "Both were tone and role markers copied from `ds-badge`'s vocabulary, where they do carry styling. On a tab they never did, and keeping them implied a tone the component does not offer.",
|
|
190
|
+
"verify": "No stylesheet selects `.badge.neutral` or `.badge.count` under `ds-tabs`, and the badge rules select `.badge`.",
|
|
191
|
+
"searchHints": [
|
|
192
|
+
"badge.neutral",
|
|
193
|
+
"badge.count",
|
|
194
|
+
"badge neutral count"
|
|
195
|
+
],
|
|
196
|
+
"detect": [
|
|
197
|
+
"badge.neutral",
|
|
198
|
+
"badge.count",
|
|
199
|
+
"ds-tabs .neutral",
|
|
200
|
+
"ds-tabs .count"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "table-hscroll-bottom-token-renamed",
|
|
205
|
+
"kind": "token-rename",
|
|
206
|
+
"surface": "style",
|
|
207
|
+
"old": "--ds-table-hscroll-bottom",
|
|
208
|
+
"new": "--ds-table-sticky-scrollbar-offset",
|
|
209
|
+
"action": "Rename `--ds-table-hscroll-bottom` to `--ds-table-sticky-scrollbar-offset`, keeping the value — unless the value is a negative offset equal to your scroll container's bottom padding, which is deleted instead (delete list: table-hscroll-bottom-workaround).",
|
|
210
|
+
"appliesWhen": "Only a stylesheet of yours that sets the token. Nothing in a template or in TypeScript changes, and `stickyScrollbar` itself, the bar's behaviour and every other `--ds-table-*` token are untouched.",
|
|
211
|
+
"pitfall": "The old name is inert rather than invalid, so a declaration left behind is not an error anywhere — the bar simply stops taking your offset and falls back to the measured one, which on most pages looks almost right.",
|
|
212
|
+
"note": "The knob now carries the name of the feature it belongs to, beside `stickyScrollbar` and the new `[stickyScrollbarOffset]` input, so the three greppable spellings of one idea agree. The same value is also reachable per table through that input and app-wide through `DS_CONFIG.table.stickyScrollbarOffset`; the token still out-ranks both.",
|
|
213
|
+
"verify": "No stylesheet declares `--ds-table-hscroll-bottom`, and every offset the sticky scrollbar takes comes from `--ds-table-sticky-scrollbar-offset`, `[stickyScrollbarOffset]` or `DS_CONFIG.table.stickyScrollbarOffset`.",
|
|
214
|
+
"searchHints": [
|
|
215
|
+
"--ds-table-hscroll-bottom",
|
|
216
|
+
"hscroll-bottom",
|
|
217
|
+
"hscroll"
|
|
218
|
+
],
|
|
219
|
+
"detect": [
|
|
220
|
+
"--ds-table-hscroll-bottom"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "table-expand-panel-inner-wrapper",
|
|
225
|
+
"kind": "behavior",
|
|
226
|
+
"surface": "style",
|
|
227
|
+
"old": "ds-table .expand-panel-cell",
|
|
228
|
+
"new": null,
|
|
229
|
+
"action": "Re-point a rule that selected the expanded row’s content as a direct child of `.expand-panel-cell` at `.expand-panel-inner`, or drop the child combinator.",
|
|
230
|
+
"appliesWhen": "Only a stylesheet of yours that reaches inside the expanded row of a `ds-table` with a child combinator. A rule using a descendant selector already matches through the new wrapper and needs nothing, and nothing changes for the template you project — its own root element is untouched.",
|
|
231
|
+
"pitfall": "The selector simply stops matching: the panel keeps the library’s own layout and your rule is silently inert. No build error, and the row still opens, so the difference is only visible in the expanded content’s own spacing or width.",
|
|
232
|
+
"note": "The expanded row now animates open by interpolating its cell’s `grid-template-rows` from `0fr` to `1fr`, which a height of `auto` cannot do. A grid track can only clip one child, so the projected template is wrapped in `.expand-panel-inner`, which carries the `overflow: hidden` the reveal needs. That wrapper is the only structural change; class names on the cell itself are unchanged.",
|
|
233
|
+
"verify": "Every rule that styled the expanded row’s content matches an element again — inspect an open row and confirm your declarations appear on it rather than being overridden or absent.",
|
|
234
|
+
"searchHints": [
|
|
235
|
+
"expand-panel-cell",
|
|
236
|
+
"expand-panel",
|
|
237
|
+
"expandTemplate",
|
|
238
|
+
"rowExpandable"
|
|
239
|
+
],
|
|
240
|
+
"restore": null
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"informational": [
|
|
244
|
+
"The `ds-skeleton` shimmer travels diagonally now and crosses as two waves per period, one quiet and one main, with no seam anywhere in the loop. Four new hooks with defaults — `--ds-skeleton-wave-period`, `--ds-skeleton-wave-duration`, `--ds-skeleton-wave-angle`, `--ds-skeleton-wave-echo-color`. The tone is unchanged; a skeleton you never tuned simply reads calmer. Only the duration hook needs an edit, and only if you were retuning it through the shared loop token.",
|
|
245
|
+
"A `ds-table` loading in `overlay` mode with no rows now holds one `aria-hidden` spacer row's worth of height instead of collapsing onto its header. Nothing to change unless a test asserts an empty tbody during an overlay load. `skeleton` loading is unaffected.",
|
|
246
|
+
"The `ds-table` loading scrim measures the header after render and re-measures on resize, so it starts below the header on the first frame rather than at a 40px fallback. `--ds-table-head-h` still overrides the measurement.",
|
|
247
|
+
"The `ds-table` selection checkbox is centred against the line box instead of sitting on the text baseline, so the header row no longer changes height when the select-all mark swaps between its tick and its indeterminate bar. `ds-checkbox` lays its own box out as a flex item and never showed this.",
|
|
248
|
+
"`ds-date-picker`'s calendar glyph is two pixels smaller so it matches the cap height of the value beside it, and its text input now spans the field's height so a click above or below the digits places the caret rather than opening the calendar.",
|
|
249
|
+
"`ds-dropzone` shows the hand cursor once files are listed. The zone was always clickable; only the cursor said otherwise.",
|
|
250
|
+
"`ds-sidenav-group` takes a new optional `routerLink`. Unset, which is the default and what every existing group has, the header only expands and nothing changed. Set together with `expandable`, the header navigates and the caret becomes its own button, so the group's own DOM gains a `.group-header-row` wrapper and a `.group-caret-button`, and `.group-header` becomes an `a` rather than a `button`. `routerLink` without `expandable` is ignored.",
|
|
251
|
+
"The `ds-table` column panel and the header button that opens it, both rendered by `dsTableColumns`, draw with their own styles instead of the browser's native checkbox, buttons and link. Markup, class names and API are unchanged; a stylesheet of yours that reached `.col-picker`, `.col-picker-row`, `.col-picker-option`, `.col-drag`, `.col-move`, `.col-move-btn`, `.col-reset` or `.col-picker-btn` by a bare class name now competes with a scoped rule, so qualify the selector where your override stopped landing.",
|
|
252
|
+
"A `ds-table` sticky horizontal scrollbar rests on the scroll container's visible bottom edge rather than one padding-bottom above it, measured off the scroll ancestor and re-measured on resize. `--ds-table-hscroll-bottom` still overrides outright; a negative value equal to your own container's padding is now a second offset (delete list: table-hscroll-bottom-workaround).",
|
|
253
|
+
"`clearable` on `ds-autocomplete` and `ds-multi-select` now draws the same clear button as `ds-select`, where both previously rendered the markup with no rule able to reach it and the × came out as the browser's default button. Nothing to change; `ds-select` is untouched and `ds-input` keeps its own filled-disc variant (delete list: picker-clear-button-workaround).",
|
|
254
|
+
"A `ds-table` column filter opens on the first click; the first click used to only build the panel. Nothing to change — `filterMode`, `filter: 'set'` and a projected `dsHeaderFilter` all keep their behaviour, and a table with no filterable column renders no panel at all.",
|
|
255
|
+
"A `ds-table` column filter button now carries `aria-expanded` beside its `aria-haspopup=\"dialog\"`, true only on the column whose panel is showing. Nothing to change unless a test of yours asserts the attribute's absence.",
|
|
256
|
+
"A panel re-opened inside the exit animation of a dismissed one can be closed again: the old panel's disposal no longer clears the state of the one that replaced it, which used to leave a panel that neither Escape nor an outside click would dismiss and that reported itself collapsed. Reaches `ds-date-picker`, `ds-color-picker`, `ds-time-picker` and everything `ds-popover` carries — `ds-table`'s filter, row menu and clipped-cell text, `ds-split-button`, `ds-filter-bar`'s overflow panel, `ds-sidenav-footer`'s search. `ds-select`, `ds-autocomplete` and `ds-multi-select` behave exactly as before.",
|
|
257
|
+
"A `ds-table` bulk-action bar now rests `--bulk-bar-offset` above the scroll container's visible bottom edge rather than that offset plus the container's padding. Nothing to change, and `--bulk-bar-offset` keeps its meaning and its default; only a table with row selection inside a padded scroll container looks different.",
|
|
258
|
+
"An expanded `ds-table` row opens with a reveal — its cell interpolates `grid-template-rows` from `0fr` to `1fr` over `--duration-base` at `--ease-standard`, and `prefers-reduced-motion: reduce` shows the panel fully open with no animation. Retune it through those two tokens. The one structural change, a `.expand-panel-inner` wrapper inside the cell, is an item of its own."
|
|
259
|
+
],
|
|
260
|
+
"deleteList": [
|
|
261
|
+
{
|
|
262
|
+
"id": "table-checkbox-baseline-nudge",
|
|
263
|
+
"surface": "style",
|
|
264
|
+
"find": [
|
|
265
|
+
"ds-table .check",
|
|
266
|
+
"::ng-deep .check"
|
|
267
|
+
],
|
|
268
|
+
"why": "The table's selection box no longer sits on the text baseline, so a nudge added to lift it off is now an offset in its own right — the header row moves by whatever the nudge was.",
|
|
269
|
+
"replaceWith": "nothing"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "table-hscroll-bottom-workaround",
|
|
273
|
+
"surface": "style",
|
|
274
|
+
"find": [
|
|
275
|
+
"--ds-table-hscroll-bottom: -"
|
|
276
|
+
],
|
|
277
|
+
"why": "The table measures its scroll container's bottom padding and cancels it itself, so a negative offset written to do that job moves the sticky scrollbar a second time. The token stays legitimate for a scrollport whose reachable edge is not its padding edge — only the value that duplicates the measurement is dead.",
|
|
278
|
+
"replaceWith": "nothing"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "picker-clear-button-workaround",
|
|
282
|
+
"surface": "style",
|
|
283
|
+
"find": [
|
|
284
|
+
"ds-autocomplete .clear-btn",
|
|
285
|
+
"ds-multi-select .clear-btn"
|
|
286
|
+
],
|
|
287
|
+
"why": "Both components render ds-select's clear button themselves now, so a rule written to give that button a border, background, radius or size fights the library's own instead of standing in for it.",
|
|
288
|
+
"replaceWith": "nothing"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
}
|
package/package.json
CHANGED
package/styles/_check-box.scss
CHANGED
|
@@ -38,6 +38,13 @@
|
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
display: inline-grid;
|
|
40
40
|
place-items: center;
|
|
41
|
+
|
|
42
|
+
/* Inline-level, so without this the box sits on the text baseline — and the baseline of an
|
|
43
|
+
inline-grid is its first item's, which moves when the mark swaps between the 12px tick and the
|
|
44
|
+
10x2 bar. Measured in ds-table: the header row was 45.50px with the box indeterminate and
|
|
45
|
+
45.30px with it checked, a 0.2px twitch on every selection change. `middle` takes the box off
|
|
46
|
+
the baseline entirely. ds-checkbox never showed it — there the input is a flex item. */
|
|
47
|
+
vertical-align: middle;
|
|
41
48
|
flex-shrink: 0;
|
|
42
49
|
margin: 0;
|
|
43
50
|
border-radius: var(--_checkbox-radius, var(--ds-checkbox-radius, var(--ds-radius-inner)));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use 'press' as press;
|
|
2
|
+
|
|
3
|
+
// The `×` that clears a trigger-shaped field — ds-select, ds-autocomplete, ds-multi-select all
|
|
4
|
+
// render the same `.clear-btn` markup behind `clearable`. Shared because two of the three had the
|
|
5
|
+
// markup and no rule, so the button came out as the browser's default: include it inside whichever
|
|
6
|
+
// selector holds the trigger's own layout.
|
|
7
|
+
//
|
|
8
|
+
// ds-input's clear button is deliberately NOT this one — it paints a filled disc so the glyph
|
|
9
|
+
// still reads on a blurred field, and keeps its rule with the input.
|
|
10
|
+
@mixin button {
|
|
11
|
+
border: 0;
|
|
12
|
+
background: transparent;
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
color: var(--icon-default);
|
|
17
|
+
border-radius: var(--ds-radius-inner);
|
|
18
|
+
padding: var(--space-0-5);
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
flex: 0 0 auto;
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
color: var(--text-primary);
|
|
24
|
+
background: var(--surface-secondary);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include press.feedback;
|
|
28
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@use 'focus' as focus;
|
|
2
|
+
|
|
3
|
+
// Controls the table shares with its opt-in directives. `dsTableColumns` renders its trigger and
|
|
4
|
+
// its panel from components of its own, whose DOM never carries ds-table's encapsulation
|
|
5
|
+
// attribute — so a rule stated in table.component.scss cannot reach them, and the body has to
|
|
6
|
+
// live somewhere both stylesheets can include it.
|
|
7
|
+
|
|
8
|
+
// The square icon button in a header cell — expand-all, row actions, the column-panel trigger.
|
|
9
|
+
// Reads the `--_table-icon-btn-*` resolvers, so include it only inside a ds-table.
|
|
10
|
+
@mixin header-icon-button {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
width: var(--space-6);
|
|
15
|
+
height: var(--space-6);
|
|
16
|
+
padding: 0;
|
|
17
|
+
border: 0;
|
|
18
|
+
background: none;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
color: var(--_table-icon-btn-color);
|
|
21
|
+
border-radius: var(--ds-radius-inner);
|
|
22
|
+
transition: color var(--duration-fast) var(--ease-standard);
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
color: var(--_table-icon-btn-color-hover);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:focus-visible {
|
|
29
|
+
--focus-ring-color: var(--_table-icon-btn-focus-color);
|
|
30
|
+
|
|
31
|
+
@include focus.ring;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin panel-icon-button {
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
padding: 0;
|
|
38
|
+
border: 0;
|
|
39
|
+
background: none;
|
|
40
|
+
color: var(--icon-default);
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
|
|
43
|
+
&:hover:not(:disabled) {
|
|
44
|
+
color: var(--icon-strong);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&:disabled {
|
|
48
|
+
color: var(--text-disabled);
|
|
49
|
+
cursor: default;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin panel-reset-link {
|
|
54
|
+
margin-top: var(--space-1);
|
|
55
|
+
padding: 0;
|
|
56
|
+
border: 0;
|
|
57
|
+
background: none;
|
|
58
|
+
color: var(--accent);
|
|
59
|
+
font: var(--font-weight-regular) var(--font-size-s) / var(--line-height-base) var(--font-sans);
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
text-align: left;
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
text-decoration: underline;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -23,7 +23,7 @@ import { BrandNameDirective } from '@ids-group-ltd/ids-design-system/components/
|
|
|
23
23
|
* unset when you supply a logo.
|
|
24
24
|
*
|
|
25
25
|
* ```html
|
|
26
|
-
* <ds-auth-layout brand="
|
|
26
|
+
* <ds-auth-layout brand="AppAdmin" logoLetter="A" tagline="Workspace administration">
|
|
27
27
|
* <h1 class="title">Sign in</h1>
|
|
28
28
|
* <form class="form">…</form>
|
|
29
29
|
*
|
|
@@ -41,7 +41,7 @@ declare class AuthLayoutComponent {
|
|
|
41
41
|
* tile; clear both to give one screen no brand row. */
|
|
42
42
|
readonly brand: _angular_core.InputSignal<string | null>;
|
|
43
43
|
/** Letter-mark glyph when it differs from the brand's first letter (e.g. an
|
|
44
|
-
* "A" tile beside the "
|
|
44
|
+
* "A" tile beside the "AppAdmin" wordmark). Empty = first letter of `brand`;
|
|
45
45
|
* unset falls back to `DS_CONFIG.brand.logoLetter`. */
|
|
46
46
|
readonly logoLetter: _angular_core.InputSignal<string | null>;
|
|
47
47
|
/** One line under the wordmark naming the product or audience. Unset falls back
|
|
@@ -41,7 +41,7 @@ declare class SidenavComponent implements SidenavContract {
|
|
|
41
41
|
* the wordmark while a `logoLetter` in the config still paints its tile. */
|
|
42
42
|
readonly brand: _angular_core.InputSignal<string | null>;
|
|
43
43
|
/** Letter-mark glyph when it differs from the brand's first letter (e.g. an
|
|
44
|
-
* "A" tile beside the "
|
|
44
|
+
* "A" tile beside the "AppAdmin" wordmark). Empty = first letter of `brand`;
|
|
45
45
|
* unset falls back to `DS_CONFIG.brand.logoLetter`. */
|
|
46
46
|
readonly logoLetter: _angular_core.InputSignal<string | null>;
|
|
47
47
|
/** Route the brand row links to — typically the app's home. Unset leaves the row a
|
|
@@ -74,11 +74,18 @@ declare class SidenavGroupComponent {
|
|
|
74
74
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
75
75
|
/** When true, the label/icon row becomes a clickable header that expands/collapses the group. */
|
|
76
76
|
readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
77
|
+
/** Makes the group a destination of its own as well as a container: the header navigates here
|
|
78
|
+
* and the caret becomes a separate control, because one control cannot both go somewhere and
|
|
79
|
+
* stay to open something. Unset (the default) the whole header only expands — a heading that
|
|
80
|
+
* navigates closes the page being read the moment someone reaches for the group beneath it. */
|
|
81
|
+
readonly routerLink: _angular_core.InputSignal<string | readonly unknown[] | null>;
|
|
77
82
|
/** Two-way bindable open state; defaults open so a non-expandable group always shows its items. */
|
|
78
83
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
84
|
+
/** A header that navigates hands the caret its own button; one that does not is the button. */
|
|
85
|
+
protected readonly headerNavigates: _angular_core.Signal<boolean>;
|
|
79
86
|
protected toggle(): void;
|
|
80
87
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavGroupComponent, never>;
|
|
81
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavGroupComponent, "ds-sidenav-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[ds-group-icon]", "*"], true, never>;
|
|
88
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavGroupComponent, "ds-sidenav-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[ds-group-icon]", "*"], true, never>;
|
|
82
89
|
}
|
|
83
90
|
|
|
84
91
|
declare class SidenavItemComponent {
|
|
@@ -518,6 +518,17 @@ declare class TableComponent<T extends object> {
|
|
|
518
518
|
protected readonly sortModeResolved: _angular_core.Signal<TableSortMode>;
|
|
519
519
|
readonly borderedResolved: _angular_core.Signal<boolean>;
|
|
520
520
|
readonly stickyScrollbarResolved: _angular_core.Signal<boolean>;
|
|
521
|
+
/**
|
|
522
|
+
* Where the sticky horizontal scrollbar comes to rest, as any CSS length.
|
|
523
|
+
*
|
|
524
|
+
* Unset, the table measures its scroll container's bottom padding and cancels it, so the bar
|
|
525
|
+
* sits on the edge the reader can see. Set it for a scrollport whose reachable edge is not its
|
|
526
|
+
* padding edge. Falls back to `DS_CONFIG.table.stickyScrollbarOffset`;
|
|
527
|
+
* `--ds-table-sticky-scrollbar-offset` still wins over both, for a rule that has to reach one
|
|
528
|
+
* table from a stylesheet.
|
|
529
|
+
*/
|
|
530
|
+
readonly stickyScrollbarOffset: _angular_core.InputSignal<string | null>;
|
|
531
|
+
readonly stickyScrollbarOffsetResolved: _angular_core.Signal<string | null>;
|
|
521
532
|
/** Pin the first data column (and the select column) on horizontal scroll. */
|
|
522
533
|
readonly stickyFirstColumn: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
523
534
|
/**
|
|
@@ -619,6 +630,8 @@ declare class TableComponent<T extends object> {
|
|
|
619
630
|
* what a list uses on every read after the first, so suppressing only under
|
|
620
631
|
* `skeleton` paints "No rows yet" under the spinner on a zero-row reload. */
|
|
621
632
|
protected readonly showsEmptyRow: _angular_core.Signal<boolean>;
|
|
633
|
+
/** Loading, nothing to show yet, and not the skeleton mode which draws its own rows. */
|
|
634
|
+
protected readonly showsLoadingSpace: _angular_core.Signal<boolean>;
|
|
622
635
|
protected readonly layout: DsTableLayout<T>;
|
|
623
636
|
private readonly toolbarAnchor;
|
|
624
637
|
private readonly headerUtilityAnchor;
|
|
@@ -633,12 +646,14 @@ declare class TableComponent<T extends object> {
|
|
|
633
646
|
protected readonly hasUtilityColumn: _angular_core.Signal<boolean>;
|
|
634
647
|
private readonly columnFilterPopover;
|
|
635
648
|
/** The column whose filter menu is open — drives the distinct-value list. */
|
|
649
|
+
protected readonly hasAnyColumnFilter: _angular_core.Signal<boolean>;
|
|
636
650
|
protected readonly filterColumn: _angular_core.WritableSignal<TableColumn<T> | null>;
|
|
637
651
|
protected readonly filterSearch: _angular_core.WritableSignal<string>;
|
|
638
652
|
private readonly headerFilters;
|
|
639
653
|
private readonly headerFilterByKey;
|
|
640
654
|
protected headerFilterFor(col: TableColumn<T>): HeaderFilterDirective | undefined;
|
|
641
655
|
protected hasColumnFilter(col: TableColumn<T>): boolean;
|
|
656
|
+
protected isFilterPanelOpen(col: TableColumn<T>): boolean;
|
|
642
657
|
protected isColumnFiltered(col: TableColumn<T>): boolean;
|
|
643
658
|
private optionsFor;
|
|
644
659
|
protected readonly filterValues: _angular_core.Signal<readonly string[]>;
|
|
@@ -751,7 +766,9 @@ declare class TableComponent<T extends object> {
|
|
|
751
766
|
private readonly scrollWrap;
|
|
752
767
|
private readonly hscrollProxy;
|
|
753
768
|
private readonly tableHead;
|
|
769
|
+
private publishHeadHeight;
|
|
754
770
|
private readonly hostElement;
|
|
771
|
+
private scrollAncestor;
|
|
755
772
|
protected readonly hscrollContentWidth: _angular_core.WritableSignal<number>;
|
|
756
773
|
protected readonly hscrollNeeded: _angular_core.WritableSignal<boolean>;
|
|
757
774
|
private readonly scrollTop;
|
|
@@ -808,7 +825,7 @@ declare class TableComponent<T extends object> {
|
|
|
808
825
|
* across re-renders. */
|
|
809
826
|
protected skeletonWidth(col: TableColumn<T>, rowIndex: number): string;
|
|
810
827
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
811
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "sortDir": { "alias": "sortDir"; "required": false; "isSignal": true; }; "sortingOrder": { "alias": "sortingOrder"; "required": false; "isSignal": true; }; "sortAnnouncement": { "alias": "sortAnnouncement"; "required": false; "isSignal": true; }; "rangeAnnouncement": { "alias": "rangeAnnouncement"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "rowInteractive": { "alias": "rowInteractive"; "required": false; "isSignal": true; }; "activeRowId": { "alias": "activeRowId"; "required": false; "isSignal": true; }; "filterQuery": { "alias": "filterQuery"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "persistLayout": { "alias": "persistLayout"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "stickyScrollbar": { "alias": "stickyScrollbar"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "scrollToTopOnPageChange": { "alias": "scrollToTopOnPageChange"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "columnFilterOptions": { "alias": "columnFilterOptions"; "required": false; "isSignal": true; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualRowSize": { "alias": "virtualRowSize"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "cellTemplateMap": { "alias": "cellTemplateMap"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "expandableRows": { "alias": "expandableRows"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "expandMode": { "alias": "expandMode"; "required": false; "isSignal": true; }; "expandAllToggle": { "alias": "expandAllToggle"; "required": false; "isSignal": true; }; "rowExpandTemplate": { "alias": "rowExpandTemplate"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "sortKeyChange": "sortKeyChange"; "sortDirChange": "sortDirChange"; "columnFilters": "columnFiltersChange"; "pageSize": "pageSizeChange"; "page": "pageChange"; "lazyLoad": "lazyLoad"; "rowClicked": "rowClicked"; "sortChange": "sortChange"; "rowActionSelected": "rowActionSelected"; "cellEdited": "cellEdited"; "expandedIds": "expandedIdsChange"; "rowExpanded": "rowExpanded"; "rowCollapsed": "rowCollapsed"; }, ["cellTemplateDirectives", "headerFilters"], ["[toolbar]", "[empty]", "[bulk-actions]"], true, never>;
|
|
828
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "sortDir": { "alias": "sortDir"; "required": false; "isSignal": true; }; "sortingOrder": { "alias": "sortingOrder"; "required": false; "isSignal": true; }; "sortAnnouncement": { "alias": "sortAnnouncement"; "required": false; "isSignal": true; }; "rangeAnnouncement": { "alias": "rangeAnnouncement"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "rowInteractive": { "alias": "rowInteractive"; "required": false; "isSignal": true; }; "activeRowId": { "alias": "activeRowId"; "required": false; "isSignal": true; }; "filterQuery": { "alias": "filterQuery"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "persistLayout": { "alias": "persistLayout"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "stickyScrollbar": { "alias": "stickyScrollbar"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "scrollToTopOnPageChange": { "alias": "scrollToTopOnPageChange"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "columnFilterOptions": { "alias": "columnFilterOptions"; "required": false; "isSignal": true; }; "stickyScrollbarOffset": { "alias": "stickyScrollbarOffset"; "required": false; "isSignal": true; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualRowSize": { "alias": "virtualRowSize"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "cellTemplateMap": { "alias": "cellTemplateMap"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "expandableRows": { "alias": "expandableRows"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "expandMode": { "alias": "expandMode"; "required": false; "isSignal": true; }; "expandAllToggle": { "alias": "expandAllToggle"; "required": false; "isSignal": true; }; "rowExpandTemplate": { "alias": "rowExpandTemplate"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "sortKeyChange": "sortKeyChange"; "sortDirChange": "sortDirChange"; "columnFilters": "columnFiltersChange"; "pageSize": "pageSizeChange"; "page": "pageChange"; "lazyLoad": "lazyLoad"; "rowClicked": "rowClicked"; "sortChange": "sortChange"; "rowActionSelected": "rowActionSelected"; "cellEdited": "cellEdited"; "expandedIds": "expandedIdsChange"; "rowExpanded": "rowExpanded"; "rowCollapsed": "rowCollapsed"; }, ["cellTemplateDirectives", "headerFilters"], ["[toolbar]", "[empty]", "[bulk-actions]"], true, never>;
|
|
812
829
|
}
|
|
813
830
|
|
|
814
831
|
export { CellTemplateDirective, DsTableLayout, HeaderFilterDirective, TableComponent };
|
|
@@ -448,6 +448,31 @@ declare function closeOnOutsidePointer(overlayRef: OverlayRef, isInsideTrigger:
|
|
|
448
448
|
* @internal
|
|
449
449
|
*/
|
|
450
450
|
declare function closeOnScroll(overlayRef: OverlayRef, close: () => void): () => void;
|
|
451
|
+
/**
|
|
452
|
+
* Sync a component's "which overlay is mine, and is it open" state when THIS overlay detaches,
|
|
453
|
+
* skipping the write when a newer one has already taken over.
|
|
454
|
+
*
|
|
455
|
+
* `disposeWithLeave` defers the dispose of a dismissed overlay until its exit animation ends, so a
|
|
456
|
+
* dismiss followed by a re-open inside that window makes the OLD overlay's detachment arrive while
|
|
457
|
+
* the NEW one is live. Clearing unconditionally then left that new panel on screen with its
|
|
458
|
+
* component believing it was closed — no `aria-expanded`, and `close()` declining to run because
|
|
459
|
+
* the ref it checks was already null, which is to say the panel could not be dismissed at all.
|
|
460
|
+
* Measured in ds-date-picker, ds-color-picker, ds-time-picker and ds-popover; ds-select,
|
|
461
|
+
* ds-autocomplete and ds-multi-select each carried the check by hand, and the four that did not
|
|
462
|
+
* are why it lives here instead.
|
|
463
|
+
*
|
|
464
|
+
* A detachment of the CURRENT overlay always clears, whatever caused it — so a stray CDK detach
|
|
465
|
+
* still releases a reopen guard that keys off the stored ref rather than wedging it.
|
|
466
|
+
* @internal
|
|
467
|
+
*/
|
|
468
|
+
declare function clearOnDetach(overlayRef: OverlayRef, { current, clear, always, }: {
|
|
469
|
+
/** Reads the ref the component considers live right now. */
|
|
470
|
+
current: () => OverlayRef | null;
|
|
471
|
+
/** Drops the stored ref and marks the component closed. */
|
|
472
|
+
clear: () => void;
|
|
473
|
+
/** Teardown that must run for every detachment, current or superseded. */
|
|
474
|
+
always?: () => void;
|
|
475
|
+
}): void;
|
|
451
476
|
/** True when keyboard focus currently sits inside the overlay pane. Read it
|
|
452
477
|
* BEFORE disposing, to decide whether the close has to refocus the trigger
|
|
453
478
|
* rather than strand focus on `<body>`. An outside-pointer close leaves focus on
|
|
@@ -600,5 +625,5 @@ interface DsTypeAhead {
|
|
|
600
625
|
/** @internal */
|
|
601
626
|
declare function createTypeAhead(): DsTypeAhead;
|
|
602
627
|
|
|
603
|
-
export { DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, chipFit, closeOnOutsidePointer, closeOnScroll, createTypeAhead, disposeWithLeave, dropdownOverlay, focusIsInside, forwardOverlayTokens, nextControlId, overlayPlacementOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, trimmedText, valueControlBridge };
|
|
628
|
+
export { DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, disposeWithLeave, dropdownOverlay, focusIsInside, forwardOverlayTokens, nextControlId, overlayPlacementOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, trimmedText, valueControlBridge };
|
|
604
629
|
export type { DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsOverlayCloseCause };
|
|
@@ -223,6 +223,11 @@ interface DsConfig {
|
|
|
223
223
|
/** Default for `ds-table`'s `bordered` — the outer border and radius.
|
|
224
224
|
* Default `false`. */
|
|
225
225
|
bordered?: boolean;
|
|
226
|
+
/** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes
|
|
227
|
+
* to rest, as any CSS length. Unset, each table measures its own scroll container's bottom
|
|
228
|
+
* padding and cancels it, which puts the bar on the edge the reader sees; set this for an app
|
|
229
|
+
* whose scrollports end somewhere else, so every table agrees without a binding each. */
|
|
230
|
+
stickyScrollbarOffset?: string;
|
|
226
231
|
};
|
|
227
232
|
icon?: {
|
|
228
233
|
/** Default pixel `size` for `ds-icon`. Default `16`. */
|