@ids-group-ltd/ids-design-system 0.5.1 → 0.6.0
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 +77 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +798 -120
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.6.0.json +35 -0
- package/package.json +1 -1
- package/styles/_breakpoints.scss +14 -5
- package/styles/_layout-utils.scss +27 -7
- package/styles/_page-grid.scss +3 -0
- package/styles/_tokens.scss +3 -3
- package/styles/_typography.scss +1 -1
- package/styles/ds.scss +2 -0
- package/types/ids-group-ltd-ids-design-system.d.ts +424 -12
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,83 @@ While the package is on `0.x`, minor releases may contain breaking changes.
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## 0.6.0 — 2026-07-16
|
|
12
|
+
|
|
13
|
+
### Breaking
|
|
14
|
+
|
|
15
|
+
- **`styles/breakpoints` is side-effect-free — `--bp-*` now comes from an explicit `emit-vars`
|
|
16
|
+
mixin.** The partial exposes the `$bp-*` Sass aliases and `up()` / `down()` mixins with zero CSS
|
|
17
|
+
output on plain `@use`, so component styles can import it for media queries without duplicating a
|
|
18
|
+
`:root` block. The `--bp-*` runtime custom properties (for JS via `getComputedStyle`) are emitted
|
|
19
|
+
only when `emit-vars` is included. `styles/ds` includes it once — **unaffected** for consumers of
|
|
20
|
+
the aggregate. À-la-carte consumers who `@use '@ids-group-ltd/ids-design-system/styles/breakpoints'`
|
|
21
|
+
directly and need `--bp-*` must add `@include bp.emit-vars;` themselves.
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- **`menu` icon** (hamburger, three horizontal bars) in the icon registry.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- **`.grid-2` / `.grid-3` / `.grid-4` layout utils collapse to a single column below 640px**
|
|
30
|
+
(`$bp-sm`), matching the rest of the responsive grid tiers.
|
|
31
|
+
- **`.grid-3` / `.grid-4` layout-utils collapse tiers normalized to canonical breakpoints**: 1100px →
|
|
32
|
+
1024px (`$bp-lg`), 820px → 768px (`$bp-md`).
|
|
33
|
+
- **`ds-page-header` actions full-width threshold normalized to canonical breakpoint**: 720px → 768px
|
|
34
|
+
(`$bp-md`).
|
|
35
|
+
- **`.t-mono-block` scrolls instead of overflowing.** Added `max-width: 100%; overflow-x: auto;` so
|
|
36
|
+
long unbroken lines scroll within the block rather than forcing page-level horizontal overflow.
|
|
37
|
+
- **`ds-modal` panel clamps to the viewport on small screens.** New `max-width: calc(100vw -
|
|
38
|
+
var(--space-6))`; `max-height` is now `90vh` with a `90dvh` fallback (browsers without `dvh`
|
|
39
|
+
support keep `90vh`).
|
|
40
|
+
- **`ds-date-picker` shows per-segment placeholders and a fixed-width value.** Each empty
|
|
41
|
+
`MM` / `DD` / `YYYY` segment now renders its own format-letter placeholder (e.g. `MM/DD/YYYY`),
|
|
42
|
+
and a partially-typed segment shows the typed digits followed by muted padding letters. Achieved
|
|
43
|
+
with a transparent input layered over a per-slot overlay, so the value stays fixed-width and the
|
|
44
|
+
caret stays aligned as you type across segments (single and range mode).
|
|
45
|
+
- **`ds-date-picker` calendar panel is now non-blocking (no backdrop).** The panel renders with
|
|
46
|
+
`hasBackdrop: false`: it closes on pointer-down outside the panel, but the trigger stays live —
|
|
47
|
+
clicking the calendar icon while the panel is open toggles it closed, and hover/pointer events
|
|
48
|
+
reach the rest of the page instead of being swallowed by a full-screen scrim.
|
|
49
|
+
|
|
50
|
+
### Fixed
|
|
51
|
+
|
|
52
|
+
- **`ds-description-list` no longer forces page-wide horizontal scroll on narrow viewports.** The
|
|
53
|
+
item's `1fr` grid column had no `minmax(0, …)`, so its min-content contribution (long unbroken
|
|
54
|
+
values like API keys) blew out the track past the container; both grid tracks now use
|
|
55
|
+
`minmax(0, …)` and the value gains `overflow-wrap: anywhere` to actually wrap into the freed space.
|
|
56
|
+
- **`ds-drawer` / `ds-bottom-sheet` / `ds-modal` no longer hang mid-close when the tab is backgrounded.**
|
|
57
|
+
Teardown waited on the leave animation's `animationend`, but Chrome freezes CSS animations on a
|
|
58
|
+
hidden document, so the event never fired and the panel stayed stuck in its `closing` state with
|
|
59
|
+
the scrim visible and body scroll locked; each now also arms a 300ms synthetic-fallback timer that
|
|
60
|
+
completes teardown if `animationend` doesn't arrive first (whichever fires first wins, the other is
|
|
61
|
+
cancelled). `ds-drawer`'s `animationend` name check also switched from a loose `.includes()` match
|
|
62
|
+
to per-placement `.endsWith()`, matching the guard already used by `ds-bottom-sheet` / `ds-modal`.
|
|
63
|
+
- **`ds-popover` overlay no longer touches or crosses the viewport edge on small screens.** The
|
|
64
|
+
`FlexibleConnectedPositionStrategy` had no viewport margin, so panels near an edge could butt
|
|
65
|
+
right up against it or overflow past it; now reserves an 8px margin on all sides.
|
|
66
|
+
- **`ds-date-picker` calendar panel no longer overflows phone viewports.** Below 640px (`$bp-sm`)
|
|
67
|
+
the panel clamps to `calc(100vw - var(--space-4))` and the presets column stacks below the day
|
|
68
|
+
grid instead of sitting beside it, replacing the fixed 454px-wide side-by-side layout that
|
|
69
|
+
overflowed the screen.
|
|
70
|
+
- **`ds-date-picker` text entry is now segment-aware — editing one field no longer disturbs the
|
|
71
|
+
others or the caret.** Typing, Backspace and Delete stay within the focused `MM` / `DD` / `YYYY`
|
|
72
|
+
field (single and range mode); previously correcting one segment could shift digits across the
|
|
73
|
+
`/` separators and fling the caret to the end.
|
|
74
|
+
- **`ds-date-picker` no longer shows a mask residue or a false invalid state when pristine.** An
|
|
75
|
+
untouched field previously held a `__/__/____` residue that was read out to screen readers and
|
|
76
|
+
could trip validation on blur; it now renders empty and raises no invalid state until the user
|
|
77
|
+
actually enters a value (single and range mode).
|
|
78
|
+
- **`ds-date-picker` paste is slot-aware.** Pasting digits fills segments sequentially from the
|
|
79
|
+
caret position rather than flattening the field or clearing unrelated segments.
|
|
80
|
+
- **`ds-date-picker` range values can no longer be corrupted by clearing one segment.** Parsing is
|
|
81
|
+
now slot-based instead of slicing by digit count, so clearing one segment of a range no longer
|
|
82
|
+
pulls a digit from an adjacent segment into the emptied slot; a date is parsed and validated only
|
|
83
|
+
once all of its slots are filled.
|
|
84
|
+
- **`ds-date-picker` exposes its format hint to screen readers via `aria-placeholder`.** After the
|
|
85
|
+
native placeholder was removed for the overlay rework, the `MM/DD/YYYY` format hint is now surfaced
|
|
86
|
+
to assistive technology through `aria-placeholder`.
|
|
87
|
+
|
|
11
88
|
## 0.5.1 — 2026-07-13
|
|
12
89
|
|
|
13
90
|
### Breaking
|