@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
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,244 @@ While the package is on `0.x`, minor releases may contain breaking changes.
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## 0.12.2 — 2026-09-09
|
|
12
|
+
|
|
13
|
+
### Breaking
|
|
14
|
+
|
|
15
|
+
- **`--ds-table-hscroll-bottom` is `--ds-table-sticky-scrollbar-offset`.** The knob now carries the
|
|
16
|
+
name of the feature it belongs to, beside `stickyScrollbar` itself and the new
|
|
17
|
+
`[stickyScrollbarOffset]` input; the old spelling named neither the feature nor the edge it moves.
|
|
18
|
+
It is inert under the old name, and a stylesheet that still sets it stops offsetting the bar with
|
|
19
|
+
nothing said. Rename the declaration and the value carries over unchanged — except where the value
|
|
20
|
+
was a negative offset equal to your scroll container's bottom padding, which the table measures
|
|
21
|
+
and cancels itself now, so that one is deleted rather than renamed
|
|
22
|
+
(delete list: table-hscroll-bottom-workaround).
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **`ds-sidenav-group` takes a `routerLink`, so a group can be a destination as well as a
|
|
27
|
+
container.** Unset — the default, and what every existing group does — the header only expands,
|
|
28
|
+
unchanged. Set it and the header becomes a link that navigates, and the caret splits off into a
|
|
29
|
+
button of its own, because one control cannot both go somewhere and stay put to open something.
|
|
30
|
+
The link takes the whole header's look, so the row still reads as one control, and it carries the
|
|
31
|
+
active state when its route is the current one.
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
<ds-sidenav-group label="Reports" icon="chart" expandable routerLink="/reports">
|
|
35
|
+
<ds-sidenav-item label="Daily" routerLink="/reports/daily" />
|
|
36
|
+
</ds-sidenav-group>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
It takes the same shapes a router link takes anywhere, a string or a command array. **It does
|
|
40
|
+
nothing without `expandable`** — a group that cannot open has no caret to split off, so the header
|
|
41
|
+
stays a plain label and the link is ignored with nothing said. On a group that does opt in, the
|
|
42
|
+
header element changes from a `button` to an `a` — the active state above is a contextual
|
|
43
|
+
`.active` class it carries — and gains a `.group-header-row` wrapper beside a
|
|
44
|
+
`.group-caret-button`, with
|
|
45
|
+
`.group-caret` now sitting inside that button rather than directly in the header; a stylesheet of
|
|
46
|
+
yours reaching `.group-header` by class still lands, one that qualifies it with `button` does
|
|
47
|
+
not.
|
|
48
|
+
|
|
49
|
+
- **`ds-table` takes `[stickyScrollbarOffset]`, and `DS_CONFIG.table.stickyScrollbarOffset` sets it
|
|
50
|
+
for every table.** Where the sticky horizontal scrollbar comes to rest, as any CSS length.
|
|
51
|
+
Unset — the default — each table measures its own scroll container's bottom padding and cancels
|
|
52
|
+
it, which is what puts the bar on the edge the reader sees; set this for a scrollport whose
|
|
53
|
+
reachable edge is somewhere else, and set it in the config when that is true of a whole app rather
|
|
54
|
+
than of one table. `--ds-table-sticky-scrollbar-offset` still out-ranks both, for a rule that has
|
|
55
|
+
to reach one table from a stylesheet.
|
|
56
|
+
|
|
57
|
+
```html
|
|
58
|
+
<ds-table
|
|
59
|
+
[stickyScrollbarOffset]="'-3rem'"
|
|
60
|
+
[stickyScrollbar]="true"
|
|
61
|
+
[columns]="cols"
|
|
62
|
+
[data]="rows" />
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
|
|
67
|
+
- **An expanded `ds-table` row opens with a reveal instead of appearing at full height.** The
|
|
68
|
+
panel's cell animates its `grid-template-rows` from `0fr` to `1fr`, and a new
|
|
69
|
+
`.expand-panel-inner` wrapper between the cell and your projected expand template clips the
|
|
70
|
+
overflow so the content wipes into place rather than snapping open. The reveal runs over
|
|
71
|
+
`--duration-base` at `--ease-standard`; set those to retune its speed and curve. Under
|
|
72
|
+
`prefers-reduced-motion: reduce` the panel appears fully open with no reveal. Because that
|
|
73
|
+
wrapper now sits between the `<td>` and the projected template, a rule of yours that reached the
|
|
74
|
+
template as a direct child of the cell no longer matches — reach it through `.expand-panel-inner`,
|
|
75
|
+
or drop the child combinator.
|
|
76
|
+
|
|
77
|
+
- **The skeleton shimmer reads as a wave now, not a wash.** It travels diagonally, down and to the
|
|
78
|
+
right at 45°, so it arrives at the top of one placeholder and the bottom of another instead of
|
|
79
|
+
sweeping every row in step. Two waves cross per period — a main one and a quieter one exactly
|
|
80
|
+
between two mains — which fills the wait a single band left without making the main wave hurry.
|
|
81
|
+
Neither has a flat core: each peaks at a point and is ramp either side, so a pass arrives and
|
|
82
|
+
leaves rather than switching. The tone is one soft step darker than the base, unchanged: a shadow
|
|
83
|
+
moving over the placeholders, not a light switched on over them.
|
|
84
|
+
It is seamless, and the reason is one number. A repeating gradient still paints into a finite
|
|
85
|
+
image which the browser tiles, and an angled gradient meets itself across a tile edge only when
|
|
86
|
+
the tile advances its phase by a whole period: at 135° a square tile of side S advances it by
|
|
87
|
+
S / √2, so the tile has to be period × √2. Left at `auto` the tile was the positioning area — the
|
|
88
|
+
viewport, under `fixed` — and every tile boundary showed as a hard line straight across the page.
|
|
89
|
+
Measured against tiles of period / √2, of period, and one oversized no-repeat image: all three
|
|
90
|
+
seam, this one does not.
|
|
91
|
+
|
|
92
|
+
Four hooks, all with defaults — `--ds-skeleton-wave-period` (56rem),
|
|
93
|
+
`--ds-skeleton-wave-duration` (3400ms), `--ds-skeleton-wave-angle` (135deg) and
|
|
94
|
+
`--ds-skeleton-wave-echo-color`. **`--ds-skeleton-wave-duration` replaces the shimmer's old
|
|
95
|
+
dependency on `--duration-loop-slow`**, so a brand that retuned that global no longer reaches the
|
|
96
|
+
skeleton — set the skeleton hook instead. The loop is 3400ms where it was 1400ms, and the pass no
|
|
97
|
+
longer rests between crossings. **`--ds-skeleton-wave-angle` retunes the gradient's direction
|
|
98
|
+
only**: the tile size and the loop's travel are fixed to the 45° diagonal, so an angle far from
|
|
99
|
+
the default tiles visibly. Change it for a small adjustment, not for a new axis.
|
|
100
|
+
|
|
101
|
+
- **Two classes gained members — only matters if you SUBCLASS one.** `TableComponent` gained
|
|
102
|
+
`showsLoadingSpace`, which decides whether a table that is still loading and has no rows yet holds
|
|
103
|
+
a body open instead of collapsing onto its header, and `publishHeadHeight`, which measures the
|
|
104
|
+
header and publishes its height for the scrim to inset against, `scrollAncestor`, which finds the
|
|
105
|
+
scrollport a sticky offset inside the table resolves against, `hasAnyColumnFilter`, which decides
|
|
106
|
+
whether the column-filter panel is rendered at all, `isFilterPanelOpen`, which tells a header
|
|
107
|
+
button whether the panel showing belongs to it, and the new `stickyScrollbarOffset` input with its
|
|
108
|
+
`stickyScrollbarOffsetResolved`. `SidenavGroupComponent` gained the
|
|
109
|
+
new `routerLink` input and `headerNavigates`, the computed that decides whether the header splits
|
|
110
|
+
into a link and a caret. Only `routerLink` is public API and that is no protection for the rest:
|
|
111
|
+
`private` and `protected` collide with TS2415 exactly as a public name does, so a member of yours
|
|
112
|
+
sharing one of those names stops the build. Nothing changes for a consumer who only uses the
|
|
113
|
+
elements — no existing input, output or token changed name or type.
|
|
114
|
+
|
|
115
|
+
- **A fullscreen `ds-modal` is a full-height panel now, so `--modal-h-fullscreen` reads as a target
|
|
116
|
+
and no longer as a cap.** The class used to set the token as a `max-height`, which let a short
|
|
117
|
+
body shrink the panel; it sets the height itself now, still clipped by the modal's own 90dvh
|
|
118
|
+
ceiling. A modal you sized through that token gets `min(your value, 90dvh)` — set it below the
|
|
119
|
+
ceiling if you want the panel shorter, and expect the extra room to go to the scrolling body with
|
|
120
|
+
the footer at the bottom of the screen.
|
|
121
|
+
|
|
122
|
+
- **`ds-date-picker` focuses like a field, not like a button.** `--ds-date-picker-focus-shadow`
|
|
123
|
+
falls back to `--ds-field-focus-shadow` instead of `--ds-control-focus-shadow`, so the trigger
|
|
124
|
+
draws the single soft field halo the inputs draw and follows the `data-focus` switch, which it
|
|
125
|
+
used to ignore. A brand that retunes the control family no longer reaches the date picker — retune
|
|
126
|
+
the field family, or set `--ds-date-picker-focus-shadow` outright. `ds-time-picker` still resolves
|
|
127
|
+
the control family, so the two now focus differently.
|
|
128
|
+
|
|
129
|
+
- **Five classes that carried no styling are gone from the DOM — only matters if YOUR stylesheet
|
|
130
|
+
reached one.** `ds-autocomplete`'s trigger no longer takes `.open` or `.error`,
|
|
131
|
+
`ds-multi-select`'s trigger no longer takes `.readonly`, and `ds-tabs`' count badge is
|
|
132
|
+
`class="badge"` where it was `class="badge neutral count"`. This library never styled any of the
|
|
133
|
+
five, so none of its own rules move; a rule of yours keyed off one stops matching, silently. Every
|
|
134
|
+
state they reported is still on the element:
|
|
135
|
+
`.autocomplete-trigger:has(input[aria-expanded="true"])` for open, the host's
|
|
136
|
+
`[data-field-state="error"]` for error, `.field-trigger[aria-readonly="true"]` for read-only, and
|
|
137
|
+
`.badge` on its own for the badge.
|
|
138
|
+
|
|
139
|
+
- **The `ds-progress` warning bar is a yellow.** `--ds-progress-bar-color-warning` falls back to
|
|
140
|
+
`--yellow-500` rather than to `--warning-hover`, which mixed the warning hue toward black in the
|
|
141
|
+
light theme and toward white in the dark one — one bar read olive, the other pale. Both themes
|
|
142
|
+
paint the same yellow now. A brand that recoloured the bar through `--warning-hover` no longer
|
|
143
|
+
reaches it; set `--ds-progress-bar-color-warning`. `--warning-hover` itself is unchanged and still
|
|
144
|
+
used elsewhere.
|
|
145
|
+
|
|
146
|
+
### Fixed
|
|
147
|
+
|
|
148
|
+
- **A `ds-table` loading in `overlay` mode with no rows keeps a body.** The tbody was empty, so the
|
|
149
|
+
table collapsed onto its header and the spinner floated over nothing. It now holds one
|
|
150
|
+
`aria-hidden` spacer row's worth of height, built from the same padding and line height a real row
|
|
151
|
+
uses, so it tracks density. Only `[loading]="'overlay'"` with zero rows is affected — `skeleton`
|
|
152
|
+
draws its own rows and `[loading]="true"` resolves to `skeleton` when there is nothing to show.
|
|
153
|
+
A test that asserts an empty tbody during an overlay load now sees that one row.
|
|
154
|
+
|
|
155
|
+
- **The `ds-table` loading scrim starts below the header from the first frame.** The header height
|
|
156
|
+
was read once per load and before layout, so the first frame fell back to a 40px guess under a
|
|
157
|
+
taller header and the blur began mid-header. It is measured after render and re-measured whenever
|
|
158
|
+
the header resizes, so a header that wraps or a density change moves the scrim with it.
|
|
159
|
+
`--ds-table-head-h` still overrides the measurement.
|
|
160
|
+
|
|
161
|
+
- **The `ds-table` selection checkbox stops twitching when the mark changes.** The box sat on the
|
|
162
|
+
text baseline, so the header row's height moved by a fraction of a pixel as the select-all box
|
|
163
|
+
swapped between its tick and its indeterminate bar. It is centred against the line box now. This
|
|
164
|
+
reaches the table's header and row checkboxes and the `dsTableColumns` panel's per-column
|
|
165
|
+
checkboxes; `ds-checkbox` itself lays the box out as a flex item and never showed it. A
|
|
166
|
+
`::ng-deep` nudge you added to compensate for the old sit is now that much out.
|
|
167
|
+
|
|
168
|
+
- **`ds-date-picker`'s calendar glyph matches the value it sits beside.** It rendered two pixels
|
|
169
|
+
taller than the digits' cap height and overhung them top and bottom.
|
|
170
|
+
|
|
171
|
+
- **Clicking above or below the digits in `ds-date-picker` places the caret instead of opening the
|
|
172
|
+
calendar.** The text input only covered the value's own line box, so the band either side of it
|
|
173
|
+
fell through to the trigger. It spans the field's height now.
|
|
174
|
+
|
|
175
|
+
- **`ds-dropzone` shows the hand cursor once files are listed.** The zone kept the arrow, which read
|
|
176
|
+
as "this is finished, there is nothing to click", while the whole zone had stayed clickable the
|
|
177
|
+
entire time. Nothing about what a click does has changed.
|
|
178
|
+
|
|
179
|
+
- **`dsTableColumns` draws a styled panel and a styled header button.** The panel's checkboxes, drag
|
|
180
|
+
handles, move buttons and `Reset to default` link came out as the browser's own widgets and the
|
|
181
|
+
button that opens the panel as a bordered grey rectangle, because the rules for `.col-picker`,
|
|
182
|
+
`.col-picker-row`, `.col-picker-option`, `.col-drag`, `.col-move`, `.col-move-btn`, `.col-reset`
|
|
183
|
+
and `.col-picker-btn` were scoped to `ds-table` while the elements they name sit in views of their
|
|
184
|
+
own. Each of those classes is styled from the view that renders it now. Markup, class names and
|
|
185
|
+
API are unchanged, but a stylesheet of yours that reached one of them by a bare class name shared
|
|
186
|
+
the element with nothing and now competes with a scoped rule — qualify your selector, or reach for
|
|
187
|
+
the token the class reads.
|
|
188
|
+
|
|
189
|
+
- **A `ds-table` sticky horizontal scrollbar rests on the edge the reader can see.** Inside a scroll
|
|
190
|
+
container with bottom padding the bar settled one padding-bottom short of that edge and drew over
|
|
191
|
+
the rows beneath it, because a sticky `bottom` resolves against the scrollport's content box. The
|
|
192
|
+
table measures that padding off its scroll ancestor, cancels it, and re-measures when the
|
|
193
|
+
container resizes, so a padding that moves with a media query moves the bar with it.
|
|
194
|
+
`--ds-table-sticky-scrollbar-offset` still overrides the measurement outright — keep it for a
|
|
195
|
+
scrollport whose reachable edge is not its padding edge, and drop a negative value written to
|
|
196
|
+
cancel your own container's padding, which now offsets the bar a second time
|
|
197
|
+
(delete list: table-hscroll-bottom-workaround).
|
|
198
|
+
|
|
199
|
+
- **`clearable` on `ds-autocomplete` and `ds-multi-select` draws the clear button the rest of the
|
|
200
|
+
field family draws.** Both rendered the `.clear-btn` markup with no rule able to reach it, so the
|
|
201
|
+
× came out as the browser's default button — a grey bordered rectangle with a square corner and a
|
|
202
|
+
default cursor — next to the properly drawn chips it sits beside. `ds-select`'s rule is shared by
|
|
203
|
+
all three now: chromeless, `--icon-default`, `--ds-radius-inner`, `--space-0-5` of padding and the
|
|
204
|
+
press feedback, over a `--surface-secondary` hover. `ds-select` itself is unchanged, and `ds-input`
|
|
205
|
+
keeps its own filled-disc clear button, which is a different control on purpose
|
|
206
|
+
(delete list: picker-clear-button-workaround).
|
|
207
|
+
|
|
208
|
+
- **A `ds-table` column filter opens on the first click.** The first click on a filter button only
|
|
209
|
+
built the panel and the second one opened it, because the handler raised the condition that
|
|
210
|
+
renders the panel and then read the panel back in the same synchronous line, before change
|
|
211
|
+
detection had created it. The panel's existence now follows the columns' own filter configuration,
|
|
212
|
+
the way the row-actions menu and the clipped-cell text popover already did, so it is there before
|
|
213
|
+
the first click arrives. This reaches `filterMode` set to anything but `'none'`, both the built-in
|
|
214
|
+
`filter: 'set'` panel and a projected `dsHeaderFilter`, and the keyboard as much as the pointer —
|
|
215
|
+
one Enter on the button opens it. A table with no filterable column renders no panel at all.
|
|
216
|
+
|
|
217
|
+
- **A `ds-table` column filter button says whether its panel is open.** It announced
|
|
218
|
+
`aria-haspopup="dialog"` and never `aria-expanded`, so a screen reader was told a dialog was
|
|
219
|
+
available but never that it had appeared. The attribute is on every filter button now and reads
|
|
220
|
+
`true` only on the column whose panel is showing.
|
|
221
|
+
|
|
222
|
+
- **A `ds-table` bulk-action bar rests `--bulk-bar-offset` above the edge the reader can see.**
|
|
223
|
+
Inside a scroll container with bottom padding it floated that offset PLUS the padding above the
|
|
224
|
+
edge, because a sticky `bottom` resolves against the scrollport's content box — the same reason
|
|
225
|
+
the sticky horizontal scrollbar settled short. The table measures its scroll container's bottom
|
|
226
|
+
padding once and both subtract it, so the gap is the offset you set whatever the container's
|
|
227
|
+
padding is. Only a table with row selection inside a padded scroll container moves; the token
|
|
228
|
+
itself is unchanged.
|
|
229
|
+
|
|
230
|
+
- **A panel re-opened straight after being dismissed can be closed again.** Dismissing an overlay
|
|
231
|
+
disposes it only after its exit animation, so re-opening within that window let the OLD panel's
|
|
232
|
+
disposal clear the state belonging to the NEW one: the component held no reference to the panel on
|
|
233
|
+
screen, `close()` therefore did nothing, and neither Escape nor a click outside would dismiss it —
|
|
234
|
+
while `aria-expanded` reported it collapsed. Reachable by dismissing and re-opening quickly, and
|
|
235
|
+
in `ds-table` by moving from one column filter to another. Measured in `ds-date-picker`,
|
|
236
|
+
`ds-color-picker`, `ds-time-picker` and `ds-popover` — and so in everything `ds-popover` carries:
|
|
237
|
+
`ds-table`'s column filter, row-actions menu and clipped-cell text, `ds-split-button`,
|
|
238
|
+
`ds-filter-bar`'s overflow panel and `ds-sidenav-footer`'s search. `ds-select`,
|
|
239
|
+
`ds-autocomplete` and `ds-multi-select` were already immune and are unchanged in behaviour.
|
|
240
|
+
|
|
241
|
+
### What you can now DELETE
|
|
242
|
+
|
|
243
|
+
| your workaround | why it is unnecessary | replace with |
|
|
244
|
+
| --- | --- | --- |
|
|
245
|
+
| `ds-table .check` — a margin or `transform` nudging the selection box off the text baseline | the box is centred against the line box now, so the nudge is an offset of its own | nothing |
|
|
246
|
+
| `--ds-table-hscroll-bottom: -` — a negative offset equal to your scroll container's bottom padding | the table measures that padding and cancels it itself, so the value offsets the sticky scrollbar a second time — and the token it sits on is renamed, so this one is deleted rather than carried over | nothing |
|
|
247
|
+
| `ds-autocomplete .clear-btn` (or the `ds-multi-select` one) — your own rule giving the clear × a border, background, radius or size | both draw ds-select's clear button themselves now, so your rule fights it | nothing |
|
|
248
|
+
|
|
11
249
|
## 0.12.1 — 2026-09-05
|
|
12
250
|
|
|
13
251
|
### Breaking
|
|
@@ -298,6 +536,14 @@ While the package is on `0.x`, minor releases may contain breaking changes.
|
|
|
298
536
|
`transform-origin` is the inner edge on each half — because a centred scale pulls the pressed half's
|
|
299
537
|
inner edge inward and opens a hairline gap in the joint.
|
|
300
538
|
|
|
539
|
+
### What you can now DELETE
|
|
540
|
+
|
|
541
|
+
| your workaround | why it is unnecessary | replace with |
|
|
542
|
+
| --- | --- | --- |
|
|
543
|
+
| `::ng-deep ds-menu-item` — a left padding or margin added so icon-less rows line up with rows that have icons | the menu reserves the icon slot for every row as soon as one item carries an icon | nothing |
|
|
544
|
+
| `::ng-deep ds-split-button` — a hand-rolled `:active` darken or scale | both halves darken and scale on press, and the scale runs away from the seam so the joint stays closed | `--ds-split-button-bg-color-active`, `--ds-split-button-press-scale` |
|
|
545
|
+
| `::ng-deep .search` — a focus indicator added by hand to a picker's search box, a column filter, a cell editor or a clipped icon button | each of those draws the control ring itself now, and the ring is an `outline` drawn inside the element, so a clipping ancestor no longer eats it | nothing |
|
|
546
|
+
|
|
301
547
|
## 0.12.0 — 2026-09-04
|
|
302
548
|
|
|
303
549
|
### Added
|
|
@@ -25,7 +25,7 @@ import { resolveBrandValue } from '@ids-group-ltd/ids-design-system/components';
|
|
|
25
25
|
* unset when you supply a logo.
|
|
26
26
|
*
|
|
27
27
|
* ```html
|
|
28
|
-
* <ds-auth-layout brand="
|
|
28
|
+
* <ds-auth-layout brand="AppAdmin" logoLetter="A" tagline="Workspace administration">
|
|
29
29
|
* <h1 class="title">Sign in</h1>
|
|
30
30
|
* <form class="form">…</form>
|
|
31
31
|
*
|
|
@@ -43,7 +43,7 @@ class AuthLayoutComponent {
|
|
|
43
43
|
* tile; clear both to give one screen no brand row. */
|
|
44
44
|
brand = input(null, ...(ngDevMode ? [{ debugName: "brand" }] : /* istanbul ignore next */ []));
|
|
45
45
|
/** Letter-mark glyph when it differs from the brand's first letter (e.g. an
|
|
46
|
-
* "A" tile beside the "
|
|
46
|
+
* "A" tile beside the "AppAdmin" wordmark). Empty = first letter of `brand`;
|
|
47
47
|
* unset falls back to `DS_CONFIG.brand.logoLetter`. */
|
|
48
48
|
logoLetter = input(null, ...(ngDevMode ? [{ debugName: "logoLetter" }] : /* istanbul ignore next */ []));
|
|
49
49
|
/** One line under the wordmark naming the product or audience. Unset falls back
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-components-auth-layout.mjs","sources":["../../../src/lib/components/auth-layout/auth-layout.component.ts","../../../src/lib/components/auth-layout/auth-layout.component.html","../../../src/lib/components/auth-layout/ids-group-ltd-ids-design-system-components-auth-layout.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n input,\n} from '@angular/core';\nimport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nimport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { BrandNameDirective } from '@ids-group-ltd/ids-design-system/components/sidenav';\nimport { resolveBrandValue } from '@ids-group-ltd/ids-design-system/components';\n\n/**\n * Scaffold for the UNauthenticated screens — sign-in, forgot password, reset,\n * MFA — and the counterpart to `ds-app-layout`, which only ever covers the\n * screens behind the login.\n *\n * The host is the ONLY full-height box — nesting a `100vh` wrapper inside a\n * `100dvh` one scrolls a page whose content fits — and it carries the safe-area\n * insets a notched phone in landscape needs.\n *\n * The brand row takes the same CONTRACT as `ds-sidenav` — a `brand` string gets a\n * letter-mark tile plus wordmark, `logoLetter` overrides the glyph, `[dsBrandName]`\n * projects a two-tone wordmark (import `BrandNameDirective` alongside this\n * component, or the attribute is inert and the wordmark lands in the card), and\n * `[brand]` projects a real logo. The two are not pixel-identical: the rail's tile\n * is a fixed 28px at weight 800, this one 24-32px at 700, and each has its own\n * `--ds-*-mark-*` hooks, so retinting the mark means setting both.\n *\n * Projecting into `[brand]` does NOT suppress the tile — leave `brand`/`logoLetter`\n * unset when you supply a logo.\n *\n * ```html\n * <ds-auth-layout brand=\"
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-components-auth-layout.mjs","sources":["../../../src/lib/components/auth-layout/auth-layout.component.ts","../../../src/lib/components/auth-layout/auth-layout.component.html","../../../src/lib/components/auth-layout/ids-group-ltd-ids-design-system-components-auth-layout.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n input,\n} from '@angular/core';\nimport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nimport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { BrandNameDirective } from '@ids-group-ltd/ids-design-system/components/sidenav';\nimport { resolveBrandValue } from '@ids-group-ltd/ids-design-system/components';\n\n/**\n * Scaffold for the UNauthenticated screens — sign-in, forgot password, reset,\n * MFA — and the counterpart to `ds-app-layout`, which only ever covers the\n * screens behind the login.\n *\n * The host is the ONLY full-height box — nesting a `100vh` wrapper inside a\n * `100dvh` one scrolls a page whose content fits — and it carries the safe-area\n * insets a notched phone in landscape needs.\n *\n * The brand row takes the same CONTRACT as `ds-sidenav` — a `brand` string gets a\n * letter-mark tile plus wordmark, `logoLetter` overrides the glyph, `[dsBrandName]`\n * projects a two-tone wordmark (import `BrandNameDirective` alongside this\n * component, or the attribute is inert and the wordmark lands in the card), and\n * `[brand]` projects a real logo. The two are not pixel-identical: the rail's tile\n * is a fixed 28px at weight 800, this one 24-32px at 700, and each has its own\n * `--ds-*-mark-*` hooks, so retinting the mark means setting both.\n *\n * Projecting into `[brand]` does NOT suppress the tile — leave `brand`/`logoLetter`\n * unset when you supply a logo.\n *\n * ```html\n * <ds-auth-layout brand=\"AppAdmin\" logoLetter=\"A\" tagline=\"Workspace administration\">\n * <h1 class=\"title\">Sign in</h1>\n * <form class=\"form\">…</form>\n *\n * <p dsAuthSupport>\n * Need a hand? <a href=\"mailto:support@example.com\">Contact support</a>\n * </p>\n * </ds-auth-layout>\n * ```\n */\n@Component({\n selector: 'ds-auth-layout',\n standalone: true,\n imports: [CardComponent],\n templateUrl: './auth-layout.component.html',\n styleUrl: './auth-layout.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AuthLayoutComponent {\n /** Wordmark beside the letter-mark tile. For a logo image/SVG, project it into\n * the `[brand]` slot instead; for a two-tone wordmark use `[dsBrandName]`.\n * Unset falls back to `DS_CONFIG.brand.name`. Each field resolves on its own, so\n * `brand=\"\"` drops the wordmark but a `logoLetter` in the config still paints its\n * tile; clear both to give one screen no brand row. */\n readonly brand = input<string | null>(null);\n /** Letter-mark glyph when it differs from the brand's first letter (e.g. an\n * \"A\" tile beside the \"AppAdmin\" wordmark). Empty = first letter of `brand`;\n * unset falls back to `DS_CONFIG.brand.logoLetter`. */\n readonly logoLetter = input<string | null>(null);\n /** One line under the wordmark naming the product or audience. Unset falls back\n * to `DS_CONFIG.brand.tagline`. */\n readonly tagline = input<string | null>(null);\n\n /** The template must read THIS, never the input beside it — that one is null\n * until bound, and the config default lives here. */\n readonly brandName = resolveBrandValue(this.brand, 'name');\n readonly letterGlyph = resolveBrandValue(this.logoLetter, 'logoLetter');\n readonly taglineText = resolveBrandValue(this.tagline, 'tagline');\n /** Card treatment. `flat` suits a screen that already sits on a tinted canvas. */\n readonly cardElevation = input<CardElevation>('raised');\n /** Card padding, passed through to `ds-card`. `md` tightens a short form. */\n readonly cardPadding = input<CardPadding>('lg');\n /** Announce the card as the page's `main` landmark. `ds-card` renders an\n * `<article>`, which is NOT a landmark, so by default a screen-reader user has\n * nothing to jump to — set `'main'` on a standalone auth page. Opt-in because\n * the layout is also embedded inside pages that already own a `main`, and two\n * `main`s is its own violation. */\n readonly landmark = input<'main' | 'none'>('none');\n\n protected readonly brandNameRef = contentChild(BrandNameDirective);\n protected readonly hasBrandName = computed(() => !!this.brandNameRef());\n\n /** Spread, not `charAt(0)`: the latter indexes UTF-16 code UNITS, so a brand\n * starting with an astral character (an emoji, a rarer CJK glyph) yields half\n * a surrogate pair and paints as tofu. */\n protected readonly markGlyph = computed(\n () => this.letterGlyph() || [...this.brandName()][0] || '',\n );\n}\n","<div class=\"auth\">\n <header class=\"masthead\">\n <div class=\"brand\">\n <ng-content select=\"[brand]\"></ng-content>\n\n @if (letterGlyph() || brandName()) {\n <span\n class=\"mark\"\n aria-hidden=\"true\">\n {{ markGlyph() }}\n </span>\n }\n\n @if (brandName() || hasBrandName()) {\n <span class=\"brand-name\">\n @if (hasBrandName()) {\n <ng-content select=\"[dsBrandName]\"></ng-content>\n } @else {\n {{ brandName() }}\n }\n </span>\n }\n </div>\n\n @if (taglineText()) {\n <p class=\"tagline\">\n {{ taglineText() }}\n </p>\n }\n </header>\n\n <ds-card\n class=\"card\"\n [attr.role]=\"landmark() === 'main' ? 'main' : null\"\n [elevation]=\"cardElevation()\"\n [padding]=\"cardPadding()\">\n <ng-content></ng-content>\n </ds-card>\n\n <footer class=\"support\">\n <ng-content select=\"[dsAuthSupport]\"></ng-content>\n </footer>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAgBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BG;MAUU,mBAAmB,CAAA;AAC9B;;;;AAIwD;AAC/C,IAAA,KAAK,GAAG,KAAK,CAAgB,IAAI,4EAAC;AAC3C;;AAEwD;AAC/C,IAAA,UAAU,GAAG,KAAK,CAAgB,IAAI,iFAAC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