@innovaccer/design-system 4.30.0 → 4.30.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 +49 -0
- package/css/SCOPED_CSS.md +8 -0
- package/css/dist/index.css +2 -0
- package/css/dist/index.css.map +1 -1
- package/css/dist/mds-scoped.css +3 -1
- package/css/scripts/portal-roots.cjs +11 -0
- package/css/src/components/label.module.css +1 -0
- package/css/src/components/select.module.css +1 -0
- package/dist/brotli/index.js +1 -1
- package/dist/brotli/index.js.br +0 -0
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +204 -183
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +202 -183
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +2 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/tsconfig.type.tsbuildinfo +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,52 @@
|
|
|
1
|
+
## 4.30.2 (2026-09-22)
|
|
2
|
+
|
|
3
|
+
### Highlights
|
|
4
|
+
|
|
5
|
+
- Accessibility fixes for Select's disabled trigger focusability and Label's screen reader positioning.
|
|
6
|
+
|
|
7
|
+
### Breaking changes
|
|
8
|
+
|
|
9
|
+
NA
|
|
10
|
+
|
|
11
|
+
### Migration guide
|
|
12
|
+
|
|
13
|
+
NA
|
|
14
|
+
|
|
15
|
+
### Deprecations
|
|
16
|
+
|
|
17
|
+
NA
|
|
18
|
+
|
|
19
|
+
### Fixes
|
|
20
|
+
|
|
21
|
+
- fix(select): keep disabled trigger focusable via aria-disabled (59c383a92)
|
|
22
|
+
- fix(label): update position for screen reader label (cf1087561)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 4.30.1 (2026-09-09)
|
|
27
|
+
|
|
28
|
+
### Highlights
|
|
29
|
+
|
|
30
|
+
- Added a portal selector for scoped CSS support.
|
|
31
|
+
|
|
32
|
+
### Breaking changes
|
|
33
|
+
|
|
34
|
+
NA
|
|
35
|
+
|
|
36
|
+
### Migration guide
|
|
37
|
+
|
|
38
|
+
NA
|
|
39
|
+
|
|
40
|
+
### Deprecations
|
|
41
|
+
|
|
42
|
+
NA
|
|
43
|
+
|
|
44
|
+
### Improvements
|
|
45
|
+
|
|
46
|
+
- style(scoped-css): add portal selector for scoped css (e6966cbf8)
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
1
50
|
## 4.30.0 (2026-09-07)
|
|
2
51
|
|
|
3
52
|
### Highlights
|
package/css/SCOPED_CSS.md
CHANGED
|
@@ -69,11 +69,19 @@ adds them to the prelude directly, targeting markup the components *already* ren
|
|
|
69
69
|
[data-mds-root], /* your opt-in container */
|
|
70
70
|
body > .Overlay-wrapper:has([data-layer]), /* Modal, Sidesheet, FullscreenModal */
|
|
71
71
|
body > [data-test='DesignSystem-Popover'], /* Popover, Tooltip, Dropdown, Menu, … */
|
|
72
|
+
body > [data-floating-ui-portal], /* same components, via @floating-ui/react's FloatingPortal */
|
|
72
73
|
body > [data-test='DesignSystem-Backdrop'], /* Backdrop */
|
|
73
74
|
body > .Listbox-item--draggable /* Listbox drag ghost */
|
|
74
75
|
)
|
|
75
76
|
```
|
|
76
77
|
|
|
78
|
+
`body > [data-floating-ui-portal]` is a second, additive root for the same Popover-built
|
|
79
|
+
components: `PopperWrapper` now renders through `@floating-ui/react`'s `FloatingPortal`, which
|
|
80
|
+
inserts its own `<div data-floating-ui-portal>` directly under `body` and nests the
|
|
81
|
+
`data-test='DesignSystem-Popover'` element one level inside *that* — no longer a direct child
|
|
82
|
+
of `body`. `data-floating-ui-portal` is set unconditionally by the library itself, so it keeps
|
|
83
|
+
matching regardless of a component's (now overridable via a `dataTest` prop) `data-test` value.
|
|
84
|
+
|
|
77
85
|
Every popper-based component shares one root — `Popover` renders the popup element itself and
|
|
78
86
|
Tooltip/Dropdown/Menu all go through it — so a single selector covers them all.
|
|
79
87
|
|
package/css/dist/index.css
CHANGED
|
@@ -982,6 +982,7 @@ body {
|
|
|
982
982
|
/* Label */
|
|
983
983
|
.Label {
|
|
984
984
|
display: inline-flex;
|
|
985
|
+
position: relative;
|
|
985
986
|
}
|
|
986
987
|
.Label--small {
|
|
987
988
|
font-size: var(--font-size-s);
|
|
@@ -9455,6 +9456,7 @@ body {
|
|
|
9455
9456
|
|
|
9456
9457
|
.Select-trigger--disabled {
|
|
9457
9458
|
pointer-events: none;
|
|
9459
|
+
color: var(--text-disabled);
|
|
9458
9460
|
}
|
|
9459
9461
|
|
|
9460
9462
|
.Select-trigger-control {
|