@pantheon-systems/pds-toolkit-react 1.0.0-dev.164 → 1.0.0-dev.165
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/components/buttons/ButtonLink/ButtonLink.d.ts +1 -0
- package/_dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +1 -1
- package/_dist/components/navigation/DashboardNav/dashboard-nav-sample-content.d.ts +30 -3
- package/_dist/css/component-css/pds-dashboard-nav.css +1 -1
- package/_dist/css/component-css/pds-index.css +1 -1
- package/_dist/css/pds-components.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.js +61 -60
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
- package/_dist/components/navigation/DashboardNav/DashboardNav.d.ts +0 -35
package/_dist/index.js
CHANGED
|
@@ -819,11 +819,11 @@ const l1 = {
|
|
|
819
819
|
}, z()),
|
|
820
820
|
s
|
|
821
821
|
));
|
|
822
|
-
},
|
|
822
|
+
}, We = ({ crumb: s, lastCrumb: n, classes: a }) => {
|
|
823
823
|
const c = s.label.length > 16 ? `${s.label.slice(0, 16)}...` : null;
|
|
824
824
|
return /* @__PURE__ */ e.createElement("li", { className: `${a || ""}`, key: `key-${s.label}` }, n ? /* @__PURE__ */ e.createElement("a", { className: "pds-breadcrumbs__disabled" }, s.label.length > 15 ? /* @__PURE__ */ e.createElement(vt, { content: s.label, triggerText: c }) : s.label) : /* @__PURE__ */ e.createElement(hs, { end: !0, to: s.uri }, s.label.length > 15 ? /* @__PURE__ */ e.createElement(vt, { content: s.label, triggerText: c }) : s.label));
|
|
825
825
|
};
|
|
826
|
-
|
|
826
|
+
We.propTypes = {
|
|
827
827
|
crumb: t.object,
|
|
828
828
|
lastCrumb: t.bool,
|
|
829
829
|
classes: t.string
|
|
@@ -833,9 +833,9 @@ const r1 = (s) => /* @__PURE__ */ e.createElement(hs, { className: "pds-breadcru
|
|
|
833
833
|
const [r, o] = R(!0), { crumbs: l, deferredCrumbIds: i } = ke(Es), d = [...l].sort(o1), u = () => {
|
|
834
834
|
o(!1);
|
|
835
835
|
}, h = d.map(
|
|
836
|
-
(_, g) => g === d.length - 1 ? /* @__PURE__ */ e.createElement(
|
|
836
|
+
(_, g) => g === d.length - 1 ? /* @__PURE__ */ e.createElement(We, { crumb: _, lastCrumb: !0, key: g }) : /* @__PURE__ */ e.createElement(We, { crumb: _, key: g })
|
|
837
837
|
), m = d.map(
|
|
838
|
-
(_, g) => g === d.length - 1 ? /* @__PURE__ */ e.createElement(
|
|
838
|
+
(_, g) => g === d.length - 1 ? /* @__PURE__ */ e.createElement(We, { crumb: _, key: `breadcrumb-${g}`, lastCrumb: !0 }) : g == 2 ? /* @__PURE__ */ e.createElement(e.Fragment, null, " ", /* @__PURE__ */ e.createElement("li", { className: r ? "" : "pds-breadcrumbs__hidden" }, /* @__PURE__ */ e.createElement(
|
|
839
839
|
"button",
|
|
840
840
|
{
|
|
841
841
|
key: `breadcrumb-button-${g}`,
|
|
@@ -844,20 +844,20 @@ const r1 = (s) => /* @__PURE__ */ e.createElement(hs, { className: "pds-breadcru
|
|
|
844
844
|
},
|
|
845
845
|
"..."
|
|
846
846
|
)), /* @__PURE__ */ e.createElement(
|
|
847
|
-
|
|
847
|
+
We,
|
|
848
848
|
{
|
|
849
849
|
crumb: _,
|
|
850
850
|
classes: r ? "pds-breadcrumbs__hidden" : null,
|
|
851
851
|
key: `breadcrumb-${g}`
|
|
852
852
|
}
|
|
853
853
|
)) : g > 2 && g < d.length - 2 ? /* @__PURE__ */ e.createElement(
|
|
854
|
-
|
|
854
|
+
We,
|
|
855
855
|
{
|
|
856
856
|
crumb: _,
|
|
857
857
|
classes: r ? "pds-breadcrumbs__hidden" : null,
|
|
858
858
|
key: `breadcrumb-${g}`
|
|
859
859
|
}
|
|
860
|
-
) : /* @__PURE__ */ e.createElement(
|
|
860
|
+
) : /* @__PURE__ */ e.createElement(We, { crumb: _, key: `breadcrumb-${g}` })
|
|
861
861
|
), p = d.length >= 6 ? m : h, b = d[d.length - 2], E = r1(b);
|
|
862
862
|
return /* @__PURE__ */ e.createElement("nav", { className: "pds-breadcrumbs", "aria-label": s, "aria-live": "polite" }, /* @__PURE__ */ e.createElement("ul", y({ className: "pds-breadcrumbs__item" }, n), p), E);
|
|
863
863
|
};
|
|
@@ -1252,7 +1252,7 @@ const d1 = [
|
|
|
1252
1252
|
/* @__PURE__ */ e.createElement("span", { className: `${u}__icon` }),
|
|
1253
1253
|
c && !n ? /* @__PURE__ */ e.createElement("span", { className: `${u}__label` }, a) : /* @__PURE__ */ e.createElement(Gt, { label: a })
|
|
1254
1254
|
);
|
|
1255
|
-
},
|
|
1255
|
+
}, Ze = Ge(
|
|
1256
1256
|
(E, b) => {
|
|
1257
1257
|
var _ = E, {
|
|
1258
1258
|
ariaLabel: s,
|
|
@@ -1318,8 +1318,8 @@ const d1 = [
|
|
|
1318
1318
|
);
|
|
1319
1319
|
}
|
|
1320
1320
|
);
|
|
1321
|
-
|
|
1322
|
-
|
|
1321
|
+
Ze.displayName = "Button";
|
|
1322
|
+
Ze.propTypes = {
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Aria-label attribute.
|
|
1325
1325
|
*/
|
|
@@ -1378,7 +1378,7 @@ We.propTypes = {
|
|
|
1378
1378
|
*/
|
|
1379
1379
|
className: t.string
|
|
1380
1380
|
};
|
|
1381
|
-
const
|
|
1381
|
+
const Ae = (d) => {
|
|
1382
1382
|
var u = d, {
|
|
1383
1383
|
disabled: s = !1,
|
|
1384
1384
|
displayType: n = "label-only",
|
|
@@ -1424,7 +1424,7 @@ const Ze = (d) => {
|
|
|
1424
1424
|
children: $
|
|
1425
1425
|
});
|
|
1426
1426
|
return s ? /* @__PURE__ */ e.createElement(
|
|
1427
|
-
|
|
1427
|
+
Ze,
|
|
1428
1428
|
y({
|
|
1429
1429
|
disabled: !0,
|
|
1430
1430
|
onClick: () => {
|
|
@@ -1442,7 +1442,8 @@ const Ze = (d) => {
|
|
|
1442
1442
|
w
|
|
1443
1443
|
);
|
|
1444
1444
|
};
|
|
1445
|
-
|
|
1445
|
+
Ae.displayName = "ButtonLink";
|
|
1446
|
+
Ae.propTypes = {
|
|
1446
1447
|
/**
|
|
1447
1448
|
* Is the link disabled?
|
|
1448
1449
|
*/
|
|
@@ -1514,7 +1515,7 @@ const v1 = (h) => {
|
|
|
1514
1515
|
className: `${p}__kicker pds-overline-text pds-overline-text--sm`
|
|
1515
1516
|
},
|
|
1516
1517
|
o
|
|
1517
|
-
), a && /* @__PURE__ */ e.createElement(E, { className: `${p}__heading` }, a), s && /* @__PURE__ */ e.createElement("div", { className: `${p}__bodytext` }, /* @__PURE__ */ e.createElement("p", null, s)), !r && l && /* @__PURE__ */ e.createElement("div", { className: `${p}__links pds-button-group` }, /* @__PURE__ */ e.createElement(
|
|
1518
|
+
), a && /* @__PURE__ */ e.createElement(E, { className: `${p}__heading` }, a), s && /* @__PURE__ */ e.createElement("div", { className: `${p}__bodytext` }, /* @__PURE__ */ e.createElement("p", null, s)), !r && l && /* @__PURE__ */ e.createElement("div", { className: `${p}__links pds-button-group` }, /* @__PURE__ */ e.createElement(Ae, { linkContent: l, variant: "primary" }), i && /* @__PURE__ */ e.createElement(Ae, { linkContent: i, variant: "secondary" })));
|
|
1518
1519
|
return r && l ? /* @__PURE__ */ e.createElement(
|
|
1519
1520
|
_,
|
|
1520
1521
|
y({
|
|
@@ -1764,7 +1765,7 @@ Yt.propTypes = {
|
|
|
1764
1765
|
active: t.bool,
|
|
1765
1766
|
className: t.string
|
|
1766
1767
|
};
|
|
1767
|
-
const
|
|
1768
|
+
const qe = Ge(
|
|
1768
1769
|
(v, g) => {
|
|
1769
1770
|
var f = v, {
|
|
1770
1771
|
children: s,
|
|
@@ -1856,7 +1857,7 @@ const Ae = Ge(
|
|
|
1856
1857
|
);
|
|
1857
1858
|
}
|
|
1858
1859
|
);
|
|
1859
|
-
|
|
1860
|
+
qe.propTypes = {
|
|
1860
1861
|
/**
|
|
1861
1862
|
* Children. The input field component.
|
|
1862
1863
|
*/
|
|
@@ -2031,20 +2032,20 @@ const ks = Ge(
|
|
|
2031
2032
|
}, He = () => {
|
|
2032
2033
|
I(!z);
|
|
2033
2034
|
}, Me = (de) => de.map((ze) => {
|
|
2034
|
-
const { label:
|
|
2035
|
+
const { label: je, optionDisplay: Be, value: pt, searchIndex: ht } = ze, q = pt || je, re = [je, pt];
|
|
2035
2036
|
return ht && re.push(...ht), {
|
|
2036
|
-
label:
|
|
2037
|
+
label: je,
|
|
2037
2038
|
value: q,
|
|
2038
2039
|
searchIndex: re,
|
|
2039
|
-
optionDisplay:
|
|
2040
|
+
optionDisplay: Be
|
|
2040
2041
|
};
|
|
2041
2042
|
});
|
|
2042
2043
|
ne(() => {
|
|
2043
2044
|
const de = Me(g).filter((me) => {
|
|
2044
2045
|
const ze = me.searchIndex.map(
|
|
2045
|
-
(
|
|
2046
|
-
),
|
|
2047
|
-
return ze.some((
|
|
2046
|
+
(Be) => Be.toLowerCase()
|
|
2047
|
+
), je = S.toLowerCase();
|
|
2048
|
+
return ze.some((Be) => Be.includes(je));
|
|
2048
2049
|
});
|
|
2049
2050
|
B(de);
|
|
2050
2051
|
}, [S, d, g]);
|
|
@@ -2068,7 +2069,7 @@ const ks = Ge(
|
|
|
2068
2069
|
de.optionDisplay || de.label
|
|
2069
2070
|
)), Ye = W || p, Mt = i ? `${i / 16}rem` : null, Xe = i ? { width: Mt } : null;
|
|
2070
2071
|
return /* @__PURE__ */ e.createElement(
|
|
2071
|
-
|
|
2072
|
+
qe,
|
|
2072
2073
|
y({
|
|
2073
2074
|
className: w,
|
|
2074
2075
|
decorator: c ? "search" : null,
|
|
@@ -2378,7 +2379,7 @@ _1.propTypes = {
|
|
|
2378
2379
|
*/
|
|
2379
2380
|
className: t.string
|
|
2380
2381
|
};
|
|
2381
|
-
const
|
|
2382
|
+
const Pe = Ct(null), C1 = ({
|
|
2382
2383
|
children: s,
|
|
2383
2384
|
mobileMenuMaxWidth: n = 640
|
|
2384
2385
|
}) => {
|
|
@@ -2393,7 +2394,7 @@ const qe = Ct(null), C1 = ({
|
|
|
2393
2394
|
mobileMenuMaxWidth: n,
|
|
2394
2395
|
windowWidth: a
|
|
2395
2396
|
};
|
|
2396
|
-
return /* @__PURE__ */ e.createElement(
|
|
2397
|
+
return /* @__PURE__ */ e.createElement(Pe.Provider, { value: l }, s);
|
|
2397
2398
|
}, $1 = (r) => {
|
|
2398
2399
|
var o = r, {
|
|
2399
2400
|
destination: s = "main",
|
|
@@ -2434,7 +2435,7 @@ const qe = Ct(null), C1 = ({
|
|
|
2434
2435
|
]);
|
|
2435
2436
|
const [m, p] = R(
|
|
2436
2437
|
a
|
|
2437
|
-
), { isMobile: b } = ke(
|
|
2438
|
+
), { isMobile: b } = ke(Pe), E = ee(), [_] = Nt(E), v = {
|
|
2438
2439
|
navbarWidth: _.width,
|
|
2439
2440
|
isSidebarExpanded: b ? !0 : m
|
|
2440
2441
|
}, f = "pds-dashboard", C = b ? `${f}--isMobile` : `${f}--notMobile`, $ = b ? null : m ? `${f}--sidebarExpanded` : `${f}--sidebarCollapsed`, w = m ? `${r}rem` : `${c}rem`, M = {
|
|
@@ -2596,7 +2597,7 @@ const y1 = (E) => {
|
|
|
2596
2597
|
]);
|
|
2597
2598
|
const [g, v] = R(!1), [f, C] = R(null), $ = ee(null);
|
|
2598
2599
|
let w = !1;
|
|
2599
|
-
const M = ke(
|
|
2600
|
+
const M = ke(Pe);
|
|
2600
2601
|
M && (w = M.isMobile);
|
|
2601
2602
|
let H = null;
|
|
2602
2603
|
const L = ke(Xt);
|
|
@@ -3000,7 +3001,7 @@ const Et = (m) => {
|
|
|
3000
3001
|
V.value = "", f(!1), x();
|
|
3001
3002
|
}, k = C || i;
|
|
3002
3003
|
return /* @__PURE__ */ e.createElement(
|
|
3003
|
-
|
|
3004
|
+
qe,
|
|
3004
3005
|
y({
|
|
3005
3006
|
className: b,
|
|
3006
3007
|
decorator: N,
|
|
@@ -3779,7 +3780,7 @@ const It = 16, rs = 10, V1 = (N) => {
|
|
|
3779
3780
|
C && $ === "password" && (W ? L.type = "text" : L.type = "password"), v === "phone" && (L.type = "tel");
|
|
3780
3781
|
const Ne = S || h;
|
|
3781
3782
|
return /* @__PURE__ */ e.createElement(
|
|
3782
|
-
|
|
3783
|
+
qe,
|
|
3783
3784
|
y({
|
|
3784
3785
|
className: H,
|
|
3785
3786
|
decorator: ae,
|
|
@@ -4117,7 +4118,7 @@ const os = [
|
|
|
4117
4118
|
middleware: [Js()]
|
|
4118
4119
|
});
|
|
4119
4120
|
let x = !1;
|
|
4120
|
-
const z = ke(
|
|
4121
|
+
const z = ke(Pe);
|
|
4121
4122
|
z && (x = z.isMobile);
|
|
4122
4123
|
const I = b && x, k = "pds-menu-button", V = I ? `${k}--isMobile` : null, S = b ? `${k}--navbar` : null, D = Re(), [P] = R(`menu-button-${D}`), [B] = R(`menu-listbox-${D}`), W = r || P, Z = N.floating, F = ee(null), [O, j] = R(!1), [U, G] = R(!1), [oe, ae] = R(""), [fe, se] = R(0), ie = ee([]), Y = ee([]), pe = ee([]);
|
|
4123
4124
|
Ws(() => {
|
|
@@ -4368,7 +4369,7 @@ const os = [
|
|
|
4368
4369
|
};
|
|
4369
4370
|
let Xe;
|
|
4370
4371
|
a === "icon-end" && (Xe = /* @__PURE__ */ e.createElement(
|
|
4371
|
-
|
|
4372
|
+
Ze,
|
|
4372
4373
|
{
|
|
4373
4374
|
id: W,
|
|
4374
4375
|
isSplitButton: o,
|
|
@@ -4439,14 +4440,14 @@ const os = [
|
|
|
4439
4440
|
), re.nextElementSibling.classList.toggle(`${k}__mobile-menu--expanded`);
|
|
4440
4441
|
}, me = () => /* @__PURE__ */ e.createElement("ul", { className: `${k}__mobile-menu`, role: "menu" }, i.map((q, re) => _e(q, re)));
|
|
4441
4442
|
let ze;
|
|
4442
|
-
const
|
|
4443
|
+
const je = a === "icon-end" ? "pds-button pds-button--navbar" : null, Be = [`${k}__toggle`, je].join(" ").trim().replace(/\s+/g, " ");
|
|
4443
4444
|
I && (ze = /* @__PURE__ */ e.createElement(
|
|
4444
4445
|
"button",
|
|
4445
4446
|
{
|
|
4446
4447
|
id: W,
|
|
4447
4448
|
type: "button",
|
|
4448
4449
|
disabled: n,
|
|
4449
|
-
className:
|
|
4450
|
+
className: Be,
|
|
4450
4451
|
"aria-expanded": !1,
|
|
4451
4452
|
onClick: de
|
|
4452
4453
|
},
|
|
@@ -4972,7 +4973,7 @@ const O1 = (p) => {
|
|
|
4972
4973
|
]);
|
|
4973
4974
|
const [E, _] = R(!1);
|
|
4974
4975
|
let g = !1;
|
|
4975
|
-
const v = ke(
|
|
4976
|
+
const v = ke(Pe);
|
|
4976
4977
|
v && (g = v.isMobile);
|
|
4977
4978
|
const f = "pds-navbar", C = c ? `${f}--noBorder` : "", $ = n !== "default" ? `${f}--${n}` : "", w = g ? `${f}--isMobile` : `${f}--notMobile`;
|
|
4978
4979
|
ne(() => (window.addEventListener("keyup", M), () => {
|
|
@@ -5902,7 +5903,7 @@ const Lt = (E) => {
|
|
|
5902
5903
|
$ === le.value && se
|
|
5903
5904
|
)), Y = M || o, pe = c ? `${c / 16}rem` : null, be = c ? { width: pe } : null;
|
|
5904
5905
|
return /* @__PURE__ */ e.createElement(
|
|
5905
|
-
|
|
5906
|
+
qe,
|
|
5906
5907
|
y({
|
|
5907
5908
|
className: p,
|
|
5908
5909
|
disabled: s,
|
|
@@ -6546,7 +6547,7 @@ const U1 = {
|
|
|
6546
6547
|
));
|
|
6547
6548
|
let I = null;
|
|
6548
6549
|
s && (s.type === "button" && (I = /* @__PURE__ */ e.createElement(
|
|
6549
|
-
|
|
6550
|
+
Ze,
|
|
6550
6551
|
{
|
|
6551
6552
|
variant: s.variant,
|
|
6552
6553
|
label: M,
|
|
@@ -6554,7 +6555,7 @@ const U1 = {
|
|
|
6554
6555
|
disabled: s.disabled
|
|
6555
6556
|
}
|
|
6556
6557
|
)), s.type === "link" && (I = /* @__PURE__ */ e.createElement(
|
|
6557
|
-
|
|
6558
|
+
Ae,
|
|
6558
6559
|
{
|
|
6559
6560
|
variant: s.variant,
|
|
6560
6561
|
linkContent: /* @__PURE__ */ e.createElement("a", { href: s.linkUrl, target: s.linkTarget }, s.label)
|
|
@@ -6562,14 +6563,14 @@ const U1 = {
|
|
|
6562
6563
|
)));
|
|
6563
6564
|
let k = null;
|
|
6564
6565
|
return n && (n.type === "button" && (k = /* @__PURE__ */ e.createElement(
|
|
6565
|
-
|
|
6566
|
+
Ze,
|
|
6566
6567
|
{
|
|
6567
6568
|
variant: "secondary",
|
|
6568
6569
|
label: n.label,
|
|
6569
6570
|
onClick: n.buttonAction
|
|
6570
6571
|
}
|
|
6571
6572
|
)), n.type === "link" && (k = /* @__PURE__ */ e.createElement(
|
|
6572
|
-
|
|
6573
|
+
Ae,
|
|
6573
6574
|
{
|
|
6574
6575
|
variant: "secondary",
|
|
6575
6576
|
linkContent: /* @__PURE__ */ e.createElement(
|
|
@@ -6718,7 +6719,7 @@ const K1 = (m) => {
|
|
|
6718
6719
|
_(v.target.value), l && l(v.target.value);
|
|
6719
6720
|
};
|
|
6720
6721
|
return /* @__PURE__ */ e.createElement(
|
|
6721
|
-
|
|
6722
|
+
qe,
|
|
6722
6723
|
y({
|
|
6723
6724
|
className: u,
|
|
6724
6725
|
disabled: s,
|
|
@@ -7031,7 +7032,7 @@ const At = {
|
|
|
7031
7032
|
const u = "pds-split-button", h = `${u}--${r}`, m = s[0], p = s.slice(1);
|
|
7032
7033
|
let b = null;
|
|
7033
7034
|
return m.isLink === !0 ? b = /* @__PURE__ */ e.createElement(
|
|
7034
|
-
|
|
7035
|
+
Ae,
|
|
7035
7036
|
{
|
|
7036
7037
|
className: `${u}__primary-action`,
|
|
7037
7038
|
size: c,
|
|
@@ -7041,7 +7042,7 @@ const At = {
|
|
|
7041
7042
|
linkContent: m.linkContent
|
|
7042
7043
|
}
|
|
7043
7044
|
) : b = /* @__PURE__ */ e.createElement(
|
|
7044
|
-
|
|
7045
|
+
Ze,
|
|
7045
7046
|
{
|
|
7046
7047
|
className: `${u}__primary-action`,
|
|
7047
7048
|
label: m.label,
|
|
@@ -7834,7 +7835,7 @@ const Wn = (d) => {
|
|
|
7834
7835
|
d && d(f);
|
|
7835
7836
|
}, D = M || i;
|
|
7836
7837
|
return /* @__PURE__ */ e.createElement(
|
|
7837
|
-
|
|
7838
|
+
qe,
|
|
7838
7839
|
y({
|
|
7839
7840
|
className: E,
|
|
7840
7841
|
disabled: n,
|
|
@@ -8393,7 +8394,7 @@ const hn = (b) => {
|
|
|
8393
8394
|
className: `${_}__off-icon`
|
|
8394
8395
|
}
|
|
8395
8396
|
)), /* @__PURE__ */ e.createElement(
|
|
8396
|
-
|
|
8397
|
+
qe,
|
|
8397
8398
|
y({
|
|
8398
8399
|
className: m,
|
|
8399
8400
|
disabled: s,
|
|
@@ -8693,7 +8694,7 @@ const Zn = () => {
|
|
|
8693
8694
|
]);
|
|
8694
8695
|
const [b, E] = R(!1), [_, g] = R(null), [v, f] = R(d), C = ee([]), $ = ee(null), w = d.length >= o;
|
|
8695
8696
|
let M = !1;
|
|
8696
|
-
const H = ke(
|
|
8697
|
+
const H = ke(Pe);
|
|
8697
8698
|
H && (M = H.isMobile);
|
|
8698
8699
|
const L = i && M, N = "pds-workspace-selector", x = L ? `${N}--isMobile` : null, z = `${N}__menu`, I = w ? `${z}--scroll` : null, { refs: k, floatingStyles: V, context: S } = Se({
|
|
8699
8700
|
open: b,
|
|
@@ -8811,7 +8812,7 @@ const Zn = () => {
|
|
|
8811
8812
|
);
|
|
8812
8813
|
}
|
|
8813
8814
|
), pe = n && /* @__PURE__ */ e.createElement("div", { className: `${N}__create-link`, ref: $ }, /* @__PURE__ */ e.createElement(
|
|
8814
|
-
|
|
8815
|
+
Ae,
|
|
8815
8816
|
{
|
|
8816
8817
|
displayType: "icon-end",
|
|
8817
8818
|
iconName: "plus",
|
|
@@ -9924,7 +9925,7 @@ const vn = (o) => {
|
|
|
9924
9925
|
"className"
|
|
9925
9926
|
]);
|
|
9926
9927
|
let d = !1;
|
|
9927
|
-
const u = ke(
|
|
9928
|
+
const u = ke(Pe);
|
|
9928
9929
|
u && (d = u.isMobile);
|
|
9929
9930
|
const h = ke(Xt);
|
|
9930
9931
|
let m = !0;
|
|
@@ -10240,7 +10241,7 @@ const vn = (o) => {
|
|
|
10240
10241
|
]);
|
|
10241
10242
|
const [h, m] = R(null), [p, b] = R(!1), E = ee([]), _ = ee([]);
|
|
10242
10243
|
let g = !1;
|
|
10243
|
-
const v = ke(
|
|
10244
|
+
const v = ke(Pe);
|
|
10244
10245
|
v && (g = v.isMobile);
|
|
10245
10246
|
const f = o && g, C = "pds-user-menu", $ = f ? `${C}--isMobile` : null, w = `${C}__menu`, { refs: M, floatingStyles: H, context: L } = Se({
|
|
10246
10247
|
placement: "bottom-end",
|
|
@@ -10645,7 +10646,7 @@ const vn = (o) => {
|
|
|
10645
10646
|
n && a && /* @__PURE__ */ e.createElement("span", { className: u }),
|
|
10646
10647
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__content` }, s)
|
|
10647
10648
|
);
|
|
10648
|
-
},
|
|
10649
|
+
}, Fe = 8, ms = 14, Nn = 6, o2 = (b) => {
|
|
10649
10650
|
var E = b, {
|
|
10650
10651
|
content: s,
|
|
10651
10652
|
customTrigger: n = !1,
|
|
@@ -10692,7 +10693,7 @@ const vn = (o) => {
|
|
|
10692
10693
|
g(G), G || r();
|
|
10693
10694
|
},
|
|
10694
10695
|
middleware: [
|
|
10695
|
-
$t(
|
|
10696
|
+
$t(Fe + Nn + $),
|
|
10696
10697
|
yt({ padding: 8 }),
|
|
10697
10698
|
wt({ padding: 8 }),
|
|
10698
10699
|
Ks({ element: w })
|
|
@@ -10704,16 +10705,16 @@ const vn = (o) => {
|
|
|
10704
10705
|
z,
|
|
10705
10706
|
I,
|
|
10706
10707
|
k
|
|
10707
|
-
]), D = (O = (F = N.arrow) == null ? void 0 : F.x) != null ? O : 0, P = (U = (j = N.arrow) == null ? void 0 : j.y) != null ? U : 0, B = D + ms / 2, W = P +
|
|
10708
|
+
]), D = (O = (F = N.arrow) == null ? void 0 : F.x) != null ? O : 0, P = (U = (j = N.arrow) == null ? void 0 : j.y) != null ? U : 0, B = D + ms / 2, W = P + Fe, { isMounted: Z } = Ke(L, {
|
|
10708
10709
|
initial: {
|
|
10709
10710
|
transform: "scale(0)"
|
|
10710
10711
|
},
|
|
10711
10712
|
common: ({ side: G }) => ({
|
|
10712
10713
|
transformOrigin: {
|
|
10713
|
-
top: `${B}px calc(100% + ${
|
|
10714
|
-
bottom: `${B}px ${-
|
|
10715
|
-
left: `calc(100% + ${
|
|
10716
|
-
right: `${-
|
|
10714
|
+
top: `${B}px calc(100% + ${Fe}px)`,
|
|
10715
|
+
bottom: `${B}px ${-Fe}px`,
|
|
10716
|
+
left: `calc(100% + ${Fe}px) ${W}px`,
|
|
10717
|
+
right: `${-Fe}px ${W}px`
|
|
10717
10718
|
}[G]
|
|
10718
10719
|
})
|
|
10719
10720
|
});
|
|
@@ -10749,7 +10750,7 @@ const vn = (o) => {
|
|
|
10749
10750
|
{
|
|
10750
10751
|
ref: w,
|
|
10751
10752
|
context: L,
|
|
10752
|
-
height:
|
|
10753
|
+
height: Fe,
|
|
10753
10754
|
width: ms,
|
|
10754
10755
|
tipRadius: 0,
|
|
10755
10756
|
fill: "var(--pds-color-background-default)",
|
|
@@ -11293,8 +11294,8 @@ export {
|
|
|
11293
11294
|
a1 as AvatarTileList,
|
|
11294
11295
|
a2 as Banner,
|
|
11295
11296
|
i1 as Breadcrumbs,
|
|
11296
|
-
|
|
11297
|
-
|
|
11297
|
+
Ze as Button,
|
|
11298
|
+
Ae as ButtonLink,
|
|
11298
11299
|
dn as CTALink,
|
|
11299
11300
|
_1 as CTASlice,
|
|
11300
11301
|
Gn as Callout,
|
|
@@ -11327,7 +11328,7 @@ export {
|
|
|
11327
11328
|
Xn as InputGroup,
|
|
11328
11329
|
x1 as InputObscured,
|
|
11329
11330
|
V1 as InputText,
|
|
11330
|
-
|
|
11331
|
+
qe as InputWrapper,
|
|
11331
11332
|
S1 as LinksCard,
|
|
11332
11333
|
Ls as MenuButton,
|
|
11333
11334
|
Jn as Modal,
|
|
@@ -11344,7 +11345,7 @@ export {
|
|
|
11344
11345
|
an as ProgressRing,
|
|
11345
11346
|
d2 as PullQuote,
|
|
11346
11347
|
K1 as RadioGroup,
|
|
11347
|
-
|
|
11348
|
+
Pe as ResponsiveContext,
|
|
11348
11349
|
c2 as SectionMessage,
|
|
11349
11350
|
Un as SegmentedButton,
|
|
11350
11351
|
Lt as Select,
|