@pantheon-systems/pds-toolkit-react 1.0.0-dev.216 → 1.0.0-dev.217
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/_dist/css/component-css/pds-button.css +4 -4
- package/_dist/css/component-css/pds-checkbox-group.css +1 -1
- package/_dist/css/component-css/pds-dropdown-menu.css +1 -1
- package/_dist/css/component-css/pds-index.css +8 -8
- package/_dist/css/component-css/pds-input-utilities.css +1 -1
- package/_dist/css/component-css/pds-radio-group.css +1 -1
- package/_dist/css/component-css/pds-spinner.css +1 -1
- package/_dist/css/component-css/pds-tab-menu.css +1 -1
- package/_dist/css/component-css/pds-workspace-selector.css +1 -1
- package/_dist/css/pds-components.css +8 -8
- package/_dist/index.css +1 -1
- package/_dist/index.js +10 -9
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -1288,7 +1288,7 @@ const kt = 300, J1 = 400, Pe = (m) => {
|
|
|
1288
1288
|
role: "option",
|
|
1289
1289
|
id: c,
|
|
1290
1290
|
"aria-selected": s,
|
|
1291
|
-
className: N([o, d, n])
|
|
1291
|
+
className: N([o, d, n != null ? n : ""])
|
|
1292
1292
|
}, l),
|
|
1293
1293
|
t
|
|
1294
1294
|
);
|
|
@@ -1592,18 +1592,19 @@ const kt = 300, J1 = 400, Pe = (m) => {
|
|
|
1592
1592
|
}, i)
|
|
1593
1593
|
);
|
|
1594
1594
|
}, E1 = () => {
|
|
1595
|
-
const
|
|
1596
|
-
window.innerWidth !== void 0 ? window.innerWidth : 1024
|
|
1595
|
+
const t = typeof window != "undefined", [s, n] = G(
|
|
1596
|
+
t && window.innerWidth !== void 0 ? window.innerWidth : 1024
|
|
1597
1597
|
);
|
|
1598
1598
|
return ce(() => {
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1599
|
+
if (!t) return;
|
|
1600
|
+
n(window.innerWidth);
|
|
1601
|
+
const l = () => {
|
|
1602
|
+
n(window.innerWidth);
|
|
1602
1603
|
};
|
|
1603
|
-
return window.addEventListener("resize",
|
|
1604
|
-
window.removeEventListener("resize",
|
|
1604
|
+
return window.addEventListener("resize", l), () => {
|
|
1605
|
+
window.removeEventListener("resize", l);
|
|
1605
1606
|
};
|
|
1606
|
-
}, []),
|
|
1607
|
+
}, []), s;
|
|
1607
1608
|
}, ke = d1(null), n2 = ({
|
|
1608
1609
|
children: t,
|
|
1609
1610
|
mobileMenuMaxWidth: s = 640
|