@pantheon-systems/pds-toolkit-react 2.0.0-alpha.6 → 2.0.0-alpha.8
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/CloseButton/CloseButton.d.ts +2 -2
- package/dist/components/cards/Card/Card.d.ts +1 -1
- package/dist/components/notifications/Banner/Banner.d.ts +6 -2
- package/dist/components/notifications/SectionMessage/SectionMessage.d.ts +6 -2
- package/dist/components/notifications/Toaster/Toaster.d.ts +2 -2
- package/dist/css/component-css/pds-banner.css +1 -1
- package/dist/css/component-css/pds-card.css +1 -1
- package/dist/css/component-css/pds-index.css +2 -2
- package/dist/css/component-css/pds-section-message.css +1 -1
- package/dist/css/component-css/pds-toaster.css +1 -1
- package/dist/css/pds-components.css +2 -2
- package/dist/css/pds-core.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1203 -1179
- package/dist/index.js.map +1 -1
- package/dist/libs/types/custom-types.d.ts +1 -0
- package/package.json +15 -11
- package/tailwind/README.md +211 -0
- package/tailwind/TESTING.md +457 -0
- package/tailwind/v3/preset.cjs +238 -0
- package/tailwind/v4/theme.css +211 -0
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import e, { Children as i1, isValidElement as h2, useState as
|
|
1
|
+
import e, { Children as i1, isValidElement as h2, useState as V, cloneElement as _2, useCallback as $2, useEffect as l2, createContext as n1, useContext as D2, forwardRef as k2, useRef as J, useLayoutEffect as _1 } from "react";
|
|
2
2
|
import D1 from "hash-sum";
|
|
3
|
-
import { useFloating as r1, autoUpdate as o1, offset as
|
|
3
|
+
import { useFloating as r1, autoUpdate as o1, offset as k1, flip as m1, shift as P1, useHover as x1, useFocus as N1, useDismiss as S1, useRole as I1, useInteractions as j1, FloatingPortal as T1, useId as B1 } from "@floating-ui/react";
|
|
4
4
|
import { ToastContainer as A1, Slide as O1, cssTransition as H1, toast as e1 } from "react-toastify";
|
|
5
5
|
import { useMeasure as R1 } from "@reactuses/core";
|
|
6
|
-
import './index.css';const V1 = () => Math.random().toString(32).substring(2, 13),
|
|
7
|
-
const l = {},
|
|
8
|
-
return i1.forEach(t, (
|
|
9
|
-
if (h2(
|
|
10
|
-
const
|
|
11
|
-
|
|
6
|
+
import './index.css';const V1 = () => Math.random().toString(32).substring(2, 13), P2 = (t) => {
|
|
7
|
+
const l = {}, c = [];
|
|
8
|
+
return i1.forEach(t, (a) => {
|
|
9
|
+
if (h2(a)) {
|
|
10
|
+
const n = a.props.slot;
|
|
11
|
+
n ? l[n] ? l[n].push(a) : l[n] = [a] : c.push(a);
|
|
12
12
|
} else
|
|
13
|
-
|
|
14
|
-
}),
|
|
13
|
+
c.push(a);
|
|
14
|
+
}), c.length > 0 && (l.__unslotted = c), l;
|
|
15
15
|
}, v = (t) => t.join(" ").trim().replace(/\s+/g, " "), F1 = (t) => t ? t.startsWith("data:") ? /^data:image\/(png|jpeg|jpg|gif|bmp|webp);base64,[A-Za-z0-9+/]+=*$/.test(t) : !0 : !1, t1 = {
|
|
16
16
|
boltPantheon: {
|
|
17
17
|
height: 512,
|
|
@@ -1720,22 +1720,22 @@ import './index.css';const V1 = () => Math.random().toString(32).substring(2, 13
|
|
|
1720
1720
|
"xmarkLarge",
|
|
1721
1721
|
"xTwitter",
|
|
1722
1722
|
"youtube"
|
|
1723
|
-
],
|
|
1723
|
+
], O = ({
|
|
1724
1724
|
className: t,
|
|
1725
1725
|
display: l = "inline-block",
|
|
1726
|
-
iconName:
|
|
1727
|
-
iconSize:
|
|
1728
|
-
style:
|
|
1726
|
+
iconName: c,
|
|
1727
|
+
iconSize: a = "l",
|
|
1728
|
+
style: n,
|
|
1729
1729
|
verticalAlign: s = "middle",
|
|
1730
|
-
...
|
|
1730
|
+
...i
|
|
1731
1731
|
}) => {
|
|
1732
|
-
const r = "pds-icon", o = `${r} ${r}--${
|
|
1733
|
-
let
|
|
1734
|
-
if (
|
|
1735
|
-
|
|
1732
|
+
const r = "pds-icon", o = `${r} ${r}--${a} ${r}--${c}`, m = Z1[c], d = `0 0 ${m.width} ${m.height}`, L = c in t1 ? t1[c] : null;
|
|
1733
|
+
let g;
|
|
1734
|
+
if (L?.type === "complex")
|
|
1735
|
+
g = L.render();
|
|
1736
1736
|
else {
|
|
1737
|
-
const f =
|
|
1738
|
-
|
|
1737
|
+
const f = L?.type === "path" ? L.svgPathData : m.svgPathData;
|
|
1738
|
+
g = Array.isArray(f) ? f.map((p, u) => /* @__PURE__ */ e.createElement("path", { key: u, d: p, fill: "currentColor" })) : /* @__PURE__ */ e.createElement("path", { d: f, fill: "currentColor" });
|
|
1739
1739
|
}
|
|
1740
1740
|
return /* @__PURE__ */ e.createElement(
|
|
1741
1741
|
"svg",
|
|
@@ -1749,13 +1749,13 @@ import './index.css';const V1 = () => Math.random().toString(32).substring(2, 13
|
|
|
1749
1749
|
style: {
|
|
1750
1750
|
display: l,
|
|
1751
1751
|
verticalAlign: s,
|
|
1752
|
-
...
|
|
1752
|
+
...n
|
|
1753
1753
|
},
|
|
1754
|
-
viewBox:
|
|
1754
|
+
viewBox: d,
|
|
1755
1755
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1756
|
-
...
|
|
1756
|
+
...i
|
|
1757
1757
|
},
|
|
1758
|
-
|
|
1758
|
+
g
|
|
1759
1759
|
);
|
|
1760
1760
|
}, s1 = [
|
|
1761
1761
|
"dawn",
|
|
@@ -1780,92 +1780,92 @@ import './index.css';const V1 = () => Math.random().toString(32).substring(2, 13
|
|
|
1780
1780
|
}, A4 = ({
|
|
1781
1781
|
ariaLabel: t,
|
|
1782
1782
|
className: l,
|
|
1783
|
-
hasUserFallback:
|
|
1784
|
-
imageSrc:
|
|
1785
|
-
linkContent:
|
|
1783
|
+
hasUserFallback: c = !1,
|
|
1784
|
+
imageSrc: a,
|
|
1785
|
+
linkContent: n,
|
|
1786
1786
|
size: s = "s",
|
|
1787
|
-
uniqueId:
|
|
1787
|
+
uniqueId: i,
|
|
1788
1788
|
...r
|
|
1789
1789
|
}) => {
|
|
1790
|
-
const o = "pds-avatar", m = `${o}--${s}`,
|
|
1791
|
-
backgroundImage:
|
|
1790
|
+
const o = "pds-avatar", m = `${o}--${s}`, d = a ? `${o}--image` : null, [L, g] = V(void 0), p = {
|
|
1791
|
+
backgroundImage: i ? `var(--pds-gradient-avatar-${q1(i)})` : null,
|
|
1792
1792
|
borderRadius: "100%",
|
|
1793
1793
|
height: "100%",
|
|
1794
1794
|
width: "100%",
|
|
1795
1795
|
display: "flex",
|
|
1796
1796
|
alignItems: "center",
|
|
1797
1797
|
justifyContent: "center"
|
|
1798
|
-
},
|
|
1798
|
+
}, u = F1(a) && !L ? /* @__PURE__ */ e.createElement(
|
|
1799
1799
|
"img",
|
|
1800
1800
|
{
|
|
1801
1801
|
alt: "",
|
|
1802
1802
|
className: `${o}__image`,
|
|
1803
|
-
onError: () =>
|
|
1804
|
-
onLoad: () =>
|
|
1805
|
-
src: `${
|
|
1803
|
+
onError: () => g(!0),
|
|
1804
|
+
onLoad: () => g(!1),
|
|
1805
|
+
src: `${a}`
|
|
1806
1806
|
}
|
|
1807
|
-
) : /* @__PURE__ */ e.createElement("span", { style:
|
|
1808
|
-
|
|
1809
|
-
Object.assign({},
|
|
1807
|
+
) : /* @__PURE__ */ e.createElement("span", { style: p }, c && /* @__PURE__ */ e.createElement(O, { className: `${o}__user-icon`, iconName: "user" })), w = /* @__PURE__ */ e.createElement("span", { className: `${o}__content` }, u), C = n && h2(n) ? _2(
|
|
1808
|
+
n,
|
|
1809
|
+
Object.assign({}, n.props, {
|
|
1810
1810
|
className: `${o}__content ${o}__content--link`,
|
|
1811
1811
|
"aria-label": t
|
|
1812
1812
|
}),
|
|
1813
|
-
|
|
1813
|
+
u
|
|
1814
1814
|
) : null;
|
|
1815
1815
|
return /* @__PURE__ */ e.createElement(
|
|
1816
1816
|
"div",
|
|
1817
1817
|
{
|
|
1818
|
-
className: v([o, m,
|
|
1818
|
+
className: v([o, m, d, l]),
|
|
1819
1819
|
...r
|
|
1820
1820
|
},
|
|
1821
|
-
|
|
1821
|
+
n ? C : w
|
|
1822
1822
|
);
|
|
1823
1823
|
}, O4 = ({
|
|
1824
1824
|
className: t,
|
|
1825
1825
|
color: l = "gaia",
|
|
1826
|
-
label:
|
|
1827
|
-
size:
|
|
1828
|
-
...
|
|
1826
|
+
label: c,
|
|
1827
|
+
size: a = "m",
|
|
1828
|
+
...n
|
|
1829
1829
|
}) => {
|
|
1830
|
-
const s = "pds-badge",
|
|
1830
|
+
const s = "pds-badge", i = `${s}--${l}`, r = a !== "m" ? `${s}--${a}` : null;
|
|
1831
1831
|
return /* @__PURE__ */ e.createElement(
|
|
1832
1832
|
"span",
|
|
1833
1833
|
{
|
|
1834
1834
|
className: v([
|
|
1835
1835
|
s,
|
|
1836
|
-
|
|
1836
|
+
i,
|
|
1837
1837
|
r,
|
|
1838
1838
|
t ?? ""
|
|
1839
1839
|
]),
|
|
1840
|
-
...
|
|
1840
|
+
...n
|
|
1841
1841
|
},
|
|
1842
|
-
/* @__PURE__ */ e.createElement("span", { className: `${s}__label` },
|
|
1842
|
+
/* @__PURE__ */ e.createElement("span", { className: `${s}__label` }, c)
|
|
1843
1843
|
);
|
|
1844
1844
|
}, G1 = ({
|
|
1845
1845
|
className: t,
|
|
1846
1846
|
color: l = "transparent",
|
|
1847
|
-
hasStatusIndicator:
|
|
1848
|
-
label:
|
|
1849
|
-
statusIndicatorText:
|
|
1847
|
+
hasStatusIndicator: c = !1,
|
|
1848
|
+
label: a,
|
|
1849
|
+
statusIndicatorText: n = "Status indicator: ",
|
|
1850
1850
|
statusType: s,
|
|
1851
|
-
...
|
|
1851
|
+
...i
|
|
1852
1852
|
}) => {
|
|
1853
|
-
const r = "pds-status-badge", o = `${r}--${l}`, m = `${r}__status`,
|
|
1853
|
+
const r = "pds-status-badge", o = `${r}--${l}`, m = `${r}__status`, d = s ? `${m}--${s}` : null;
|
|
1854
1854
|
return /* @__PURE__ */ e.createElement(
|
|
1855
1855
|
"div",
|
|
1856
1856
|
{
|
|
1857
1857
|
className: v([r, o, t ?? ""]),
|
|
1858
|
-
...
|
|
1858
|
+
...i
|
|
1859
1859
|
},
|
|
1860
|
-
|
|
1861
|
-
/* @__PURE__ */ e.createElement("span", { className: `${r}__label` },
|
|
1860
|
+
c === !0 && /* @__PURE__ */ e.createElement("span", { className: v([m, d]) }, s && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n, " ", s)),
|
|
1861
|
+
/* @__PURE__ */ e.createElement("span", { className: `${r}__label` }, a)
|
|
1862
1862
|
);
|
|
1863
1863
|
}, d1 = ({
|
|
1864
1864
|
className: t,
|
|
1865
1865
|
label: l,
|
|
1866
|
-
size:
|
|
1867
|
-
type:
|
|
1868
|
-
typeLabels:
|
|
1866
|
+
size: c = "s",
|
|
1867
|
+
type: a = "neutral",
|
|
1868
|
+
typeLabels: n = {
|
|
1869
1869
|
info: "Information",
|
|
1870
1870
|
success: "Success",
|
|
1871
1871
|
warning: "Warning",
|
|
@@ -1874,19 +1874,19 @@ import './index.css';const V1 = () => Math.random().toString(32).substring(2, 13
|
|
|
1874
1874
|
},
|
|
1875
1875
|
...s
|
|
1876
1876
|
}) => {
|
|
1877
|
-
const
|
|
1877
|
+
const i = "pds-tally", r = `${i}--${a}`, o = `${i}--${c}`, m = `${n[a]}: `;
|
|
1878
1878
|
return /* @__PURE__ */ e.createElement(
|
|
1879
1879
|
"div",
|
|
1880
1880
|
{
|
|
1881
1881
|
className: v([
|
|
1882
|
-
|
|
1882
|
+
i,
|
|
1883
1883
|
r,
|
|
1884
1884
|
o,
|
|
1885
1885
|
t ?? ""
|
|
1886
1886
|
]),
|
|
1887
1887
|
...s
|
|
1888
1888
|
},
|
|
1889
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1889
|
+
/* @__PURE__ */ e.createElement("div", { className: `${i}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m), l)
|
|
1890
1890
|
);
|
|
1891
1891
|
};
|
|
1892
1892
|
d1.displayName = "Tally";
|
|
@@ -1901,10 +1901,10 @@ const Y2 = (t) => {
|
|
|
1901
1901
|
}, W1 = 768, U1 = 1280, K1 = 1440, X1 = "5rem", Y1 = "4rem", Q1 = "3rem", J1 = "2.5rem", e4 = "2rem", t4 = "1.5rem", h1 = "1.25rem", u1 = "1rem", K2 = "0.75rem", E2 = "0.625rem", R2 = 500, s4 = 700, y2 = "0.75rem", c1 = "0.875rem", a1 = "1rem", g1 = n1(null), c4 = ({
|
|
1902
1902
|
children: t
|
|
1903
1903
|
}) => {
|
|
1904
|
-
const [l,
|
|
1905
|
-
|
|
1906
|
-
}, []),
|
|
1907
|
-
|
|
1904
|
+
const [l, c] = V(0), a = $2(() => {
|
|
1905
|
+
c((r) => r + 1);
|
|
1906
|
+
}, []), n = $2(() => {
|
|
1907
|
+
c((r) => Math.max(0, r - 1));
|
|
1908
1908
|
}, []), s = l > 0;
|
|
1909
1909
|
l2(() => {
|
|
1910
1910
|
if (!s)
|
|
@@ -1916,12 +1916,12 @@ const Y2 = (t) => {
|
|
|
1916
1916
|
document.removeEventListener("keydown", r, { capture: !0 });
|
|
1917
1917
|
};
|
|
1918
1918
|
}, [s]);
|
|
1919
|
-
const
|
|
1920
|
-
closeOverlay:
|
|
1919
|
+
const i = {
|
|
1920
|
+
closeOverlay: n,
|
|
1921
1921
|
hasOpenOverlay: s,
|
|
1922
|
-
openOverlay:
|
|
1922
|
+
openOverlay: a
|
|
1923
1923
|
};
|
|
1924
|
-
return /* @__PURE__ */ e.createElement(g1.Provider, { value:
|
|
1924
|
+
return /* @__PURE__ */ e.createElement(g1.Provider, { value: i }, t);
|
|
1925
1925
|
}, a4 = () => {
|
|
1926
1926
|
const t = D2(g1);
|
|
1927
1927
|
if (!t)
|
|
@@ -1929,107 +1929,107 @@ const Y2 = (t) => {
|
|
|
1929
1929
|
"useOverlayContext must be used within OverlayContextProvider"
|
|
1930
1930
|
);
|
|
1931
1931
|
return t;
|
|
1932
|
-
}, l4 = (t, l,
|
|
1932
|
+
}, l4 = (t, l, c) => {
|
|
1933
1933
|
const {
|
|
1934
|
-
altKey:
|
|
1935
|
-
ctrlKey:
|
|
1934
|
+
altKey: a = !1,
|
|
1935
|
+
ctrlKey: n = !1,
|
|
1936
1936
|
enabled: s = !0,
|
|
1937
|
-
metaKey:
|
|
1937
|
+
metaKey: i = !1,
|
|
1938
1938
|
shiftKey: r = !1
|
|
1939
|
-
} =
|
|
1940
|
-
(f) => f.altKey ===
|
|
1941
|
-
[
|
|
1942
|
-
),
|
|
1939
|
+
} = c ?? {}, [o, m] = V(!1), d = $2(
|
|
1940
|
+
(f) => f.altKey === a && f.ctrlKey === n && f.metaKey === i && f.shiftKey === r,
|
|
1941
|
+
[a, n, i, r]
|
|
1942
|
+
), L = $2(
|
|
1943
1943
|
(f) => {
|
|
1944
|
-
f.key === t &&
|
|
1944
|
+
f.key === t && d(f) && (m(!0), l && l(f));
|
|
1945
1945
|
},
|
|
1946
|
-
[t, l,
|
|
1947
|
-
),
|
|
1946
|
+
[t, l, d]
|
|
1947
|
+
), g = $2(
|
|
1948
1948
|
(f) => {
|
|
1949
|
-
f.key === t &&
|
|
1949
|
+
f.key === t && d(f) && m(!1);
|
|
1950
1950
|
},
|
|
1951
|
-
[t,
|
|
1951
|
+
[t, d]
|
|
1952
1952
|
);
|
|
1953
1953
|
return l2(() => {
|
|
1954
1954
|
if (s)
|
|
1955
|
-
return window.addEventListener("keydown",
|
|
1956
|
-
window.removeEventListener("keydown",
|
|
1955
|
+
return window.addEventListener("keydown", L), window.addEventListener("keyup", g), () => {
|
|
1956
|
+
window.removeEventListener("keydown", L), window.removeEventListener("keyup", g);
|
|
1957
1957
|
};
|
|
1958
|
-
}, [
|
|
1958
|
+
}, [L, g, s]), o;
|
|
1959
1959
|
}, T2 = ({
|
|
1960
1960
|
className: t,
|
|
1961
1961
|
content: l,
|
|
1962
|
-
customTrigger:
|
|
1963
|
-
offsetValue:
|
|
1964
|
-
preferredPlacement:
|
|
1962
|
+
customTrigger: c = null,
|
|
1963
|
+
offsetValue: a = 6,
|
|
1964
|
+
preferredPlacement: n = "top",
|
|
1965
1965
|
triggerAccessibleText: s = "Show more information",
|
|
1966
|
-
triggerIcon:
|
|
1966
|
+
triggerIcon: i = "circleInfo",
|
|
1967
1967
|
triggerIconColor: r = "default",
|
|
1968
1968
|
triggerIconSize: o = "m",
|
|
1969
1969
|
zIndex: m = s4,
|
|
1970
|
-
...
|
|
1970
|
+
...d
|
|
1971
1971
|
}) => {
|
|
1972
|
-
const [
|
|
1973
|
-
`${
|
|
1974
|
-
f === "string" ? `${
|
|
1975
|
-
]),
|
|
1976
|
-
`${
|
|
1977
|
-
`${
|
|
1978
|
-
]), { context:
|
|
1979
|
-
placement:
|
|
1980
|
-
open:
|
|
1981
|
-
onOpenChange:
|
|
1982
|
-
middleware: [
|
|
1972
|
+
const [L, g] = V(!1), f = typeof c, p = "pds-tooltip", u = v([
|
|
1973
|
+
`${p}__trigger-custom`,
|
|
1974
|
+
f === "string" ? `${p}__trigger-text` : null
|
|
1975
|
+
]), w = v([
|
|
1976
|
+
`${p}__trigger`,
|
|
1977
|
+
`${p}__trigger--${r}`
|
|
1978
|
+
]), { context: C, floatingStyles: z, refs: b } = r1({
|
|
1979
|
+
placement: n,
|
|
1980
|
+
open: L,
|
|
1981
|
+
onOpenChange: g,
|
|
1982
|
+
middleware: [k1(a), m1(), P1()],
|
|
1983
1983
|
whileElementsMounted: o1
|
|
1984
|
-
}), D = x1(
|
|
1984
|
+
}), D = x1(C, {
|
|
1985
1985
|
restMs: 300,
|
|
1986
1986
|
delay: { open: 100, close: 0 },
|
|
1987
1987
|
move: !1
|
|
1988
|
-
}),
|
|
1988
|
+
}), P = N1(C), k = S1(C), y = I1(C, { role: "tooltip" }), { getFloatingProps: M, getReferenceProps: S } = j1([
|
|
1989
1989
|
D,
|
|
1990
|
-
N,
|
|
1991
1990
|
P,
|
|
1992
|
-
|
|
1991
|
+
k,
|
|
1992
|
+
y
|
|
1993
1993
|
]);
|
|
1994
|
-
return /* @__PURE__ */ e.createElement("div", { className: v([
|
|
1994
|
+
return /* @__PURE__ */ e.createElement("div", { className: v([p, t ?? ""]), ...d }, c ? /* @__PURE__ */ e.createElement(
|
|
1995
1995
|
"span",
|
|
1996
1996
|
{
|
|
1997
|
-
ref:
|
|
1998
|
-
className:
|
|
1997
|
+
ref: b.setReference,
|
|
1998
|
+
className: u,
|
|
1999
1999
|
...S()
|
|
2000
2000
|
},
|
|
2001
|
-
|
|
2001
|
+
c
|
|
2002
2002
|
) : /* @__PURE__ */ e.createElement(
|
|
2003
2003
|
"button",
|
|
2004
2004
|
{
|
|
2005
|
-
ref:
|
|
2005
|
+
ref: b.setReference,
|
|
2006
2006
|
"aria-label": s,
|
|
2007
|
-
className:
|
|
2007
|
+
className: w,
|
|
2008
2008
|
type: "button",
|
|
2009
2009
|
...S()
|
|
2010
2010
|
},
|
|
2011
2011
|
/* @__PURE__ */ e.createElement(
|
|
2012
|
-
|
|
2012
|
+
O,
|
|
2013
2013
|
{
|
|
2014
|
-
className: `${
|
|
2015
|
-
iconName:
|
|
2014
|
+
className: `${p}__icon`,
|
|
2015
|
+
iconName: i,
|
|
2016
2016
|
iconSize: o
|
|
2017
2017
|
}
|
|
2018
2018
|
)
|
|
2019
2019
|
), /* @__PURE__ */ e.createElement(T1, null, /* @__PURE__ */ e.createElement(
|
|
2020
2020
|
"div",
|
|
2021
2021
|
{
|
|
2022
|
-
ref:
|
|
2023
|
-
"aria-hidden": !
|
|
2024
|
-
className: `${
|
|
2022
|
+
ref: b.setFloating,
|
|
2023
|
+
"aria-hidden": !L,
|
|
2024
|
+
className: `${p}__container`,
|
|
2025
2025
|
style: {
|
|
2026
|
-
...
|
|
2026
|
+
...z,
|
|
2027
2027
|
zIndex: m,
|
|
2028
|
-
opacity:
|
|
2029
|
-
pointerEvents:
|
|
2028
|
+
opacity: L ? 1 : 0,
|
|
2029
|
+
pointerEvents: L ? "auto" : "none",
|
|
2030
2030
|
transition: "var(--pds-animation-transition-reveal)"
|
|
2031
2031
|
},
|
|
2032
|
-
...
|
|
2032
|
+
...M()
|
|
2033
2033
|
},
|
|
2034
2034
|
l
|
|
2035
2035
|
)));
|
|
@@ -2041,7 +2041,7 @@ const Y2 = (t) => {
|
|
|
2041
2041
|
success: "pds-has-success",
|
|
2042
2042
|
readonly: "pds-is-readonly"
|
|
2043
2043
|
}, p1 = (t) => t ? { maxWidth: `${t / 16}rem` } : null, l1 = (t) => t.replace(/^(https?:\/\/)/, ""), i4 = () => /* @__PURE__ */ e.createElement("span", { className: "pds-input-label__required" }, /* @__PURE__ */ e.createElement(
|
|
2044
|
-
|
|
2044
|
+
O,
|
|
2045
2045
|
{
|
|
2046
2046
|
className: "pds-input-label__required-icon",
|
|
2047
2047
|
iconName: "asterisk",
|
|
@@ -2050,11 +2050,11 @@ const Y2 = (t) => {
|
|
|
2050
2050
|
)), z1 = ({
|
|
2051
2051
|
className: t,
|
|
2052
2052
|
disabled: l,
|
|
2053
|
-
id:
|
|
2054
|
-
isLegend:
|
|
2055
|
-
isPseudoLabel:
|
|
2053
|
+
id: c,
|
|
2054
|
+
isLegend: a,
|
|
2055
|
+
isPseudoLabel: n,
|
|
2056
2056
|
label: s,
|
|
2057
|
-
required:
|
|
2057
|
+
required: i,
|
|
2058
2058
|
showLabel: r = !0,
|
|
2059
2059
|
tooltipText: o = null
|
|
2060
2060
|
}) => {
|
|
@@ -2062,27 +2062,27 @@ const Y2 = (t) => {
|
|
|
2062
2062
|
"pds-input-label",
|
|
2063
2063
|
r ? null : "visually-hidden",
|
|
2064
2064
|
t ?? ""
|
|
2065
|
-
]),
|
|
2066
|
-
return
|
|
2065
|
+
]), d = /* @__PURE__ */ e.createElement(e.Fragment, null, s, i && !l && /* @__PURE__ */ e.createElement(i4, null), o && /* @__PURE__ */ e.createElement(T2, { content: o }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(O, { iconName: "circleInfo", iconSize: "s" }))));
|
|
2066
|
+
return a ? /* @__PURE__ */ e.createElement("legend", { className: m, id: `${c}-legend` }, d) : n ? /* @__PURE__ */ e.createElement("span", { className: m, id: `${c}-field-label` }, d) : /* @__PURE__ */ e.createElement("label", { className: m, htmlFor: c, id: `${c}-label` }, d);
|
|
2067
2067
|
}, f1 = ({
|
|
2068
2068
|
className: t,
|
|
2069
2069
|
forInputGroup: l = !1,
|
|
2070
|
-
hasValidationMessage:
|
|
2071
|
-
id:
|
|
2072
|
-
message:
|
|
2070
|
+
hasValidationMessage: c,
|
|
2071
|
+
id: a,
|
|
2072
|
+
message: n,
|
|
2073
2073
|
validationMessageHasDecorators: s,
|
|
2074
|
-
validationStatus:
|
|
2074
|
+
validationStatus: i
|
|
2075
2075
|
}) => {
|
|
2076
|
-
const r = "pds-input-message", o =
|
|
2076
|
+
const r = "pds-input-message", o = i && c ? `${r}--${i}` : null;
|
|
2077
2077
|
return /* @__PURE__ */ e.createElement(
|
|
2078
2078
|
"div",
|
|
2079
2079
|
{
|
|
2080
2080
|
className: v([r, o, t ?? ""]),
|
|
2081
|
-
id: l ? `${
|
|
2082
|
-
role:
|
|
2081
|
+
id: l ? `${a}__message-hidden` : `${a}__message`,
|
|
2082
|
+
role: i === "error" ? "alert" : null
|
|
2083
2083
|
},
|
|
2084
|
-
s &&
|
|
2085
|
-
/* @__PURE__ */ e.createElement("div", { className: `${r}__text` },
|
|
2084
|
+
s && i && /* @__PURE__ */ e.createElement(L1, { variant: i }),
|
|
2085
|
+
/* @__PURE__ */ e.createElement("div", { className: `${r}__text` }, n)
|
|
2086
2086
|
);
|
|
2087
2087
|
}, n4 = {
|
|
2088
2088
|
search: "magnifyingGlass",
|
|
@@ -2092,7 +2092,7 @@ const Y2 = (t) => {
|
|
|
2092
2092
|
}, L1 = ({ variant: t }) => {
|
|
2093
2093
|
const l = "pds-input-prefix";
|
|
2094
2094
|
return /* @__PURE__ */ e.createElement("div", { className: v([l, `${l}--${t}`]) }, /* @__PURE__ */ e.createElement(
|
|
2095
|
-
|
|
2095
|
+
O,
|
|
2096
2096
|
{
|
|
2097
2097
|
className: `${l}__icon`,
|
|
2098
2098
|
iconName: n4[t],
|
|
@@ -2103,58 +2103,58 @@ const Y2 = (t) => {
|
|
|
2103
2103
|
inputId: t,
|
|
2104
2104
|
shortcutLabel: l
|
|
2105
2105
|
}) => {
|
|
2106
|
-
const { hasOpenOverlay:
|
|
2107
|
-
return l4("/", (
|
|
2106
|
+
const { hasOpenOverlay: c } = a4();
|
|
2107
|
+
return l4("/", (n) => {
|
|
2108
2108
|
const s = document.getElementById(t);
|
|
2109
|
-
s && s.focus(),
|
|
2109
|
+
s && s.focus(), n.preventDefault();
|
|
2110
2110
|
}, {
|
|
2111
|
-
enabled: !
|
|
2112
|
-
}), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, l), /* @__PURE__ */ e.createElement(
|
|
2111
|
+
enabled: !c
|
|
2112
|
+
}), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, l), /* @__PURE__ */ e.createElement(O, { iconName: "slashForward", iconSize: "s" }));
|
|
2113
2113
|
}, o4 = ({
|
|
2114
2114
|
clearLabel: t,
|
|
2115
2115
|
handleClearInput: l,
|
|
2116
|
-
id:
|
|
2116
|
+
id: c
|
|
2117
2117
|
}) => /* @__PURE__ */ e.createElement(
|
|
2118
2118
|
"button",
|
|
2119
2119
|
{
|
|
2120
|
-
"aria-controls":
|
|
2120
|
+
"aria-controls": c,
|
|
2121
2121
|
className: "pds-input-clear-button",
|
|
2122
2122
|
onClick: l,
|
|
2123
2123
|
title: t,
|
|
2124
2124
|
type: "button"
|
|
2125
2125
|
},
|
|
2126
|
-
/* @__PURE__ */ e.createElement(
|
|
2126
|
+
/* @__PURE__ */ e.createElement(O, { iconName: "xmark", iconSize: "m" })
|
|
2127
2127
|
), C1 = ({
|
|
2128
2128
|
currentLength: t,
|
|
2129
2129
|
id: l,
|
|
2130
|
-
maxLength:
|
|
2131
|
-
overLimitMessage:
|
|
2130
|
+
maxLength: c,
|
|
2131
|
+
overLimitMessage: a = "Character limit exceeded by"
|
|
2132
2132
|
}) => {
|
|
2133
|
-
const
|
|
2133
|
+
const n = t > c, s = t - c, i = "pds-input-character-counter", r = n ? `${i}--overLimit` : null;
|
|
2134
2134
|
return /* @__PURE__ */ e.createElement(
|
|
2135
2135
|
"div",
|
|
2136
2136
|
{
|
|
2137
|
-
className: v([
|
|
2137
|
+
className: v([i, r]),
|
|
2138
2138
|
id: `${l}__counter`
|
|
2139
2139
|
},
|
|
2140
2140
|
t,
|
|
2141
2141
|
"/",
|
|
2142
|
-
|
|
2143
|
-
/* @__PURE__ */ e.createElement("span", { "aria-live": "polite", className: "visually-hidden" },
|
|
2142
|
+
c,
|
|
2143
|
+
/* @__PURE__ */ e.createElement("span", { "aria-live": "polite", className: "visually-hidden" }, n && `${a} ${s}`)
|
|
2144
2144
|
);
|
|
2145
2145
|
}, m4 = ({ label: t, ...l }) => /* @__PURE__ */ e.createElement("span", { className: "visually-hidden", ...l }, t);
|
|
2146
|
-
|
|
2147
|
-
({ children: t, className: l, isActive:
|
|
2148
|
-
const s = B1(),
|
|
2146
|
+
k2(
|
|
2147
|
+
({ children: t, className: l, isActive: c, ...a }, n) => {
|
|
2148
|
+
const s = B1(), i = "pds-input__select-option", r = c ? `${i}--active` : null;
|
|
2149
2149
|
return /* @__PURE__ */ e.createElement(
|
|
2150
2150
|
"li",
|
|
2151
2151
|
{
|
|
2152
|
-
ref:
|
|
2153
|
-
"aria-selected":
|
|
2154
|
-
className: v([
|
|
2152
|
+
ref: n,
|
|
2153
|
+
"aria-selected": c,
|
|
2154
|
+
className: v([i, r, l ?? ""]),
|
|
2155
2155
|
id: s,
|
|
2156
2156
|
role: "option",
|
|
2157
|
-
...
|
|
2157
|
+
...a
|
|
2158
2158
|
},
|
|
2159
2159
|
t
|
|
2160
2160
|
);
|
|
@@ -2190,21 +2190,21 @@ const d4 = {
|
|
|
2190
2190
|
"4xl": K2,
|
|
2191
2191
|
"5xl": u1,
|
|
2192
2192
|
"6xl": h1
|
|
2193
|
-
},
|
|
2193
|
+
}, x2 = ({
|
|
2194
2194
|
className: t = "",
|
|
2195
2195
|
colorType: l = "full-color",
|
|
2196
|
-
isInline:
|
|
2197
|
-
label:
|
|
2198
|
-
showLabel:
|
|
2196
|
+
isInline: c = !1,
|
|
2197
|
+
label: a = "Loading",
|
|
2198
|
+
showLabel: n = !1,
|
|
2199
2199
|
size: s = "3xl",
|
|
2200
|
-
...
|
|
2200
|
+
...i
|
|
2201
2201
|
}) => {
|
|
2202
|
-
const r = "pds-spinner", o = l !== "full-color" ? `${r}--${l}` : null, m =
|
|
2203
|
-
"--spinner-size":
|
|
2202
|
+
const r = "pds-spinner", o = l !== "full-color" ? `${r}--${l}` : null, m = c ? `${r}--inline` : null, d = d4[s], L = h4[s], g = u4[s], f = Math.ceil(parseFloat(d) * 16 * 0.13), p = {
|
|
2203
|
+
"--spinner-size": d,
|
|
2204
2204
|
"--spinner-line": `${f}px`
|
|
2205
|
-
},
|
|
2206
|
-
fontSize:
|
|
2207
|
-
marginBlockStart:
|
|
2205
|
+
}, u = {
|
|
2206
|
+
fontSize: L,
|
|
2207
|
+
marginBlockStart: g
|
|
2208
2208
|
};
|
|
2209
2209
|
return /* @__PURE__ */ e.createElement(
|
|
2210
2210
|
"span",
|
|
@@ -2212,147 +2212,147 @@ const d4 = {
|
|
|
2212
2212
|
"aria-hidden": "true",
|
|
2213
2213
|
className: v([r, o, m, t]),
|
|
2214
2214
|
role: "status",
|
|
2215
|
-
style:
|
|
2216
|
-
...
|
|
2215
|
+
style: p,
|
|
2216
|
+
...i
|
|
2217
2217
|
},
|
|
2218
2218
|
/* @__PURE__ */ e.createElement("span", { className: `${r}__icon` }),
|
|
2219
|
-
|
|
2219
|
+
n && !c ? /* @__PURE__ */ e.createElement("span", { className: `${r}__label`, style: u }, a) : /* @__PURE__ */ e.createElement(m4, { label: a })
|
|
2220
2220
|
);
|
|
2221
|
-
}, B2 =
|
|
2221
|
+
}, B2 = k2(
|
|
2222
2222
|
({
|
|
2223
2223
|
ariaLabel: t,
|
|
2224
2224
|
buttonType: l = "button",
|
|
2225
|
-
className:
|
|
2226
|
-
disabled:
|
|
2227
|
-
displayType:
|
|
2225
|
+
className: c = "",
|
|
2226
|
+
disabled: a = !1,
|
|
2227
|
+
displayType: n = "label-only",
|
|
2228
2228
|
iconName: s,
|
|
2229
|
-
isFullWidth:
|
|
2229
|
+
isFullWidth: i = !1,
|
|
2230
2230
|
isLoading: r = !1,
|
|
2231
2231
|
isSplitButton: o = !1,
|
|
2232
2232
|
isWorking: m = !1,
|
|
2233
|
-
label:
|
|
2234
|
-
onClick:
|
|
2235
|
-
size:
|
|
2233
|
+
label: d,
|
|
2234
|
+
onClick: L,
|
|
2235
|
+
size: g = "s",
|
|
2236
2236
|
tooltipText: f,
|
|
2237
|
-
variant:
|
|
2238
|
-
...
|
|
2239
|
-
},
|
|
2240
|
-
const
|
|
2241
|
-
let
|
|
2242
|
-
switch (
|
|
2237
|
+
variant: p = "primary",
|
|
2238
|
+
...u
|
|
2239
|
+
}, w) => {
|
|
2240
|
+
const C = "pds-button", z = `${C}--${g}`, b = `${C}--${p}`, D = i ? `${C}--full-width` : null, P = r ? `${C}--loading` : null, k = r ? "pds-pulse" : null;
|
|
2241
|
+
let y, M;
|
|
2242
|
+
switch (g) {
|
|
2243
2243
|
case "xs":
|
|
2244
|
-
|
|
2244
|
+
y = "s", M = "s";
|
|
2245
2245
|
break;
|
|
2246
2246
|
case "s":
|
|
2247
|
-
|
|
2247
|
+
y = "m", M = "m";
|
|
2248
2248
|
break;
|
|
2249
2249
|
case "m":
|
|
2250
|
-
|
|
2250
|
+
y = "m", M = "m";
|
|
2251
2251
|
break;
|
|
2252
2252
|
case "l":
|
|
2253
|
-
|
|
2253
|
+
y = "m", M = "l";
|
|
2254
2254
|
break;
|
|
2255
2255
|
case "xl":
|
|
2256
|
-
|
|
2256
|
+
y = "l", M = "l";
|
|
2257
2257
|
break;
|
|
2258
2258
|
}
|
|
2259
2259
|
let S = "monochromatic";
|
|
2260
|
-
["primary"].includes(
|
|
2261
|
-
const
|
|
2262
|
-
|
|
2260
|
+
["primary"].includes(p) && (S = "monochromatic-reverse");
|
|
2261
|
+
const N = /* @__PURE__ */ e.createElement(
|
|
2262
|
+
O,
|
|
2263
2263
|
{
|
|
2264
2264
|
key: "icon",
|
|
2265
|
-
className: `${
|
|
2265
|
+
className: `${C}__icon`,
|
|
2266
2266
|
iconName: s,
|
|
2267
|
-
iconSize:
|
|
2267
|
+
iconSize: y
|
|
2268
2268
|
}
|
|
2269
2269
|
);
|
|
2270
|
-
let
|
|
2271
|
-
|
|
2272
|
-
const
|
|
2270
|
+
let _ = [d];
|
|
2271
|
+
n == "icon-start" && s && _.unshift(N), n == "icon-end" && s && _.push(N), o && (_ = [N], t = Y2(d));
|
|
2272
|
+
const W = /* @__PURE__ */ e.createElement(
|
|
2273
2273
|
"button",
|
|
2274
2274
|
{
|
|
2275
|
-
ref:
|
|
2275
|
+
ref: w,
|
|
2276
2276
|
"aria-label": t,
|
|
2277
2277
|
className: v([
|
|
2278
|
-
|
|
2278
|
+
C,
|
|
2279
|
+
z,
|
|
2279
2280
|
b,
|
|
2280
|
-
M,
|
|
2281
2281
|
D,
|
|
2282
|
-
N,
|
|
2283
2282
|
P,
|
|
2284
|
-
|
|
2283
|
+
k,
|
|
2284
|
+
c
|
|
2285
2285
|
]),
|
|
2286
|
-
disabled:
|
|
2287
|
-
onClick:
|
|
2286
|
+
disabled: a || r || m,
|
|
2287
|
+
onClick: L,
|
|
2288
2288
|
type: l,
|
|
2289
|
-
...
|
|
2289
|
+
...u
|
|
2290
2290
|
},
|
|
2291
2291
|
m && !r && /* @__PURE__ */ e.createElement(
|
|
2292
|
-
|
|
2292
|
+
x2,
|
|
2293
2293
|
{
|
|
2294
|
-
className: `${
|
|
2294
|
+
className: `${C}__working-indicator`,
|
|
2295
2295
|
colorType: S,
|
|
2296
|
-
size:
|
|
2296
|
+
size: M
|
|
2297
2297
|
}
|
|
2298
2298
|
),
|
|
2299
|
-
|
|
2299
|
+
_
|
|
2300
2300
|
);
|
|
2301
|
-
return (
|
|
2301
|
+
return (a || r || m) && f ? /* @__PURE__ */ e.createElement(T2, { content: f, customTrigger: W }) : /* @__PURE__ */ e.createElement(e.Fragment, null, W);
|
|
2302
2302
|
}
|
|
2303
2303
|
), g4 = ({
|
|
2304
2304
|
className: t,
|
|
2305
2305
|
disabled: l = !1,
|
|
2306
|
-
displayType:
|
|
2307
|
-
iconName:
|
|
2308
|
-
linkContent:
|
|
2306
|
+
displayType: c = "label-only",
|
|
2307
|
+
iconName: a,
|
|
2308
|
+
linkContent: n,
|
|
2309
2309
|
size: s = "s",
|
|
2310
|
-
tooltipText:
|
|
2310
|
+
tooltipText: i,
|
|
2311
2311
|
variant: r = "primary",
|
|
2312
2312
|
...o
|
|
2313
2313
|
}) => {
|
|
2314
|
-
const m = "pds-button-link",
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
]),
|
|
2319
|
-
let
|
|
2314
|
+
const m = "pds-button-link", d = "pds-button", L = `${d}--${s}`, g = `${d}--${r}`, f = v([
|
|
2315
|
+
d,
|
|
2316
|
+
L,
|
|
2317
|
+
g
|
|
2318
|
+
]), p = h2(n) ? n.props.children : null;
|
|
2319
|
+
let u;
|
|
2320
2320
|
switch (s) {
|
|
2321
2321
|
case "xs":
|
|
2322
|
-
|
|
2322
|
+
u = "s";
|
|
2323
2323
|
break;
|
|
2324
2324
|
case "s":
|
|
2325
|
-
|
|
2325
|
+
u = "m";
|
|
2326
2326
|
break;
|
|
2327
2327
|
case "m":
|
|
2328
|
-
|
|
2328
|
+
u = "m";
|
|
2329
2329
|
break;
|
|
2330
2330
|
case "l":
|
|
2331
|
-
|
|
2331
|
+
u = "m";
|
|
2332
2332
|
break;
|
|
2333
2333
|
case "xl":
|
|
2334
|
-
|
|
2334
|
+
u = "l";
|
|
2335
2335
|
break;
|
|
2336
2336
|
default:
|
|
2337
|
-
|
|
2337
|
+
u = "m";
|
|
2338
2338
|
break;
|
|
2339
2339
|
}
|
|
2340
|
-
const
|
|
2341
|
-
|
|
2340
|
+
const w = /* @__PURE__ */ e.createElement(
|
|
2341
|
+
O,
|
|
2342
2342
|
{
|
|
2343
|
-
key:
|
|
2343
|
+
key: a,
|
|
2344
2344
|
className: `${m}__icon`,
|
|
2345
|
-
iconName:
|
|
2346
|
-
iconSize:
|
|
2345
|
+
iconName: a,
|
|
2346
|
+
iconSize: u
|
|
2347
2347
|
}
|
|
2348
2348
|
);
|
|
2349
|
-
let
|
|
2350
|
-
|
|
2351
|
-
const
|
|
2352
|
-
|
|
2353
|
-
Object.assign({},
|
|
2349
|
+
let C = [p];
|
|
2350
|
+
c === "icon-start" && a ? C = [w, p] : c === "icon-end" && a && (C = [p, w]);
|
|
2351
|
+
const z = h2(n) ? _2(
|
|
2352
|
+
n,
|
|
2353
|
+
Object.assign({}, n.props, {
|
|
2354
2354
|
className: f,
|
|
2355
|
-
children:
|
|
2355
|
+
children: C
|
|
2356
2356
|
})
|
|
2357
2357
|
) : null;
|
|
2358
2358
|
return l ? /* @__PURE__ */ e.createElement(
|
|
@@ -2360,167 +2360,167 @@ const d4 = {
|
|
|
2360
2360
|
{
|
|
2361
2361
|
disabled: !0,
|
|
2362
2362
|
className: v([m, t ?? ""]),
|
|
2363
|
-
label:
|
|
2363
|
+
label: C,
|
|
2364
2364
|
size: s,
|
|
2365
|
-
tooltipText:
|
|
2365
|
+
tooltipText: i ?? null,
|
|
2366
2366
|
variant: r
|
|
2367
2367
|
}
|
|
2368
|
-
) : /* @__PURE__ */ e.createElement("span", { className: v([m, t ?? ""]), ...o },
|
|
2368
|
+
) : /* @__PURE__ */ e.createElement("span", { className: v([m, t ?? ""]), ...o }, z);
|
|
2369
2369
|
}, p4 = (t, l) => {
|
|
2370
|
-
const [
|
|
2370
|
+
const [c, a] = V(!1), n = l?.duration;
|
|
2371
2371
|
return l2(() => {
|
|
2372
|
-
let
|
|
2373
|
-
return
|
|
2374
|
-
|
|
2375
|
-
},
|
|
2376
|
-
|
|
2372
|
+
let i;
|
|
2373
|
+
return c && n && (i = setTimeout(() => {
|
|
2374
|
+
a(!1);
|
|
2375
|
+
}, n)), () => {
|
|
2376
|
+
i && clearTimeout(i);
|
|
2377
2377
|
};
|
|
2378
|
-
}, [
|
|
2378
|
+
}, [c, n]), [c, async () => {
|
|
2379
2379
|
if (navigator.clipboard)
|
|
2380
2380
|
try {
|
|
2381
|
-
await navigator.clipboard.writeText(t),
|
|
2381
|
+
await navigator.clipboard.writeText(t), a(!0);
|
|
2382
2382
|
} catch {
|
|
2383
2383
|
}
|
|
2384
2384
|
}];
|
|
2385
|
-
},
|
|
2385
|
+
}, j2 = k2(
|
|
2386
2386
|
({
|
|
2387
2387
|
ariaLabel: t,
|
|
2388
2388
|
buttonType: l = "button",
|
|
2389
|
-
className:
|
|
2390
|
-
disabled:
|
|
2391
|
-
hasTooltip:
|
|
2389
|
+
className: c,
|
|
2390
|
+
disabled: a = !1,
|
|
2391
|
+
hasTooltip: n = !0,
|
|
2392
2392
|
icon2Name: s = null,
|
|
2393
|
-
iconName:
|
|
2393
|
+
iconName: i,
|
|
2394
2394
|
onClick: r,
|
|
2395
2395
|
size: o = "s",
|
|
2396
2396
|
variant: m = "standard",
|
|
2397
|
-
...
|
|
2398
|
-
},
|
|
2399
|
-
const
|
|
2400
|
-
fadeOut: `${
|
|
2401
|
-
hide: `${
|
|
2402
|
-
scaleIn: `${
|
|
2397
|
+
...d
|
|
2398
|
+
}, L) => {
|
|
2399
|
+
const g = "pds-icon-button", f = o !== "s" ? `${g}--${o}` : null, p = m !== "standard" ? `${g}--${m}` : null, u = {
|
|
2400
|
+
fadeOut: `${g}--fadeOut`,
|
|
2401
|
+
hide: `${g}--hide`,
|
|
2402
|
+
scaleIn: `${g}--scaleIn`
|
|
2403
2403
|
};
|
|
2404
|
-
let
|
|
2404
|
+
let w, C;
|
|
2405
2405
|
switch (o) {
|
|
2406
2406
|
case "s":
|
|
2407
|
-
|
|
2407
|
+
C = "m", w = 8;
|
|
2408
2408
|
break;
|
|
2409
2409
|
case "m":
|
|
2410
|
-
|
|
2410
|
+
C = "l", w = 11;
|
|
2411
2411
|
break;
|
|
2412
2412
|
default:
|
|
2413
|
-
|
|
2413
|
+
C = "m", w = 8;
|
|
2414
2414
|
break;
|
|
2415
2415
|
}
|
|
2416
|
-
const
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
),
|
|
2416
|
+
const z = s !== null, b = J(null), D = J(null), P = () => {
|
|
2417
|
+
b.current.classList.add(u.fadeOut), b.current.classList.add(u.hide), D.current.classList.remove(u.hide), D.current.classList.add(u.scaleIn), setTimeout(() => {
|
|
2418
|
+
b.current.classList.remove(
|
|
2419
|
+
u.fadeOut,
|
|
2420
|
+
u.hide
|
|
2421
|
+
), b.current.classList.add(u.scaleIn), D.current.classList.remove(u.scaleIn), D.current.classList.add(u.hide);
|
|
2422
2422
|
}, 2e3);
|
|
2423
|
-
},
|
|
2424
|
-
|
|
2425
|
-
},
|
|
2426
|
-
|
|
2423
|
+
}, k = (M) => {
|
|
2424
|
+
z && P(), r && r(M);
|
|
2425
|
+
}, y = z ? /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, /* @__PURE__ */ e.createElement("div", { ref: b, className: `${g}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
2426
|
+
O,
|
|
2427
2427
|
{
|
|
2428
|
-
className: `${
|
|
2429
|
-
iconName:
|
|
2430
|
-
iconSize:
|
|
2428
|
+
className: `${g}__icon`,
|
|
2429
|
+
iconName: i,
|
|
2430
|
+
iconSize: C
|
|
2431
2431
|
}
|
|
2432
2432
|
)), /* @__PURE__ */ e.createElement(
|
|
2433
2433
|
"div",
|
|
2434
2434
|
{
|
|
2435
2435
|
ref: D,
|
|
2436
|
-
className: `${
|
|
2436
|
+
className: `${g}__icon-wrapper ${u.hide}`
|
|
2437
2437
|
},
|
|
2438
2438
|
/* @__PURE__ */ e.createElement(
|
|
2439
|
-
|
|
2439
|
+
O,
|
|
2440
2440
|
{
|
|
2441
|
-
className: `${
|
|
2441
|
+
className: `${g}__icon`,
|
|
2442
2442
|
iconName: s,
|
|
2443
|
-
iconSize:
|
|
2443
|
+
iconSize: C
|
|
2444
2444
|
}
|
|
2445
2445
|
)
|
|
2446
|
-
)) : /* @__PURE__ */ e.createElement("div", { className: `${
|
|
2447
|
-
|
|
2446
|
+
)) : /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, /* @__PURE__ */ e.createElement(
|
|
2447
|
+
O,
|
|
2448
2448
|
{
|
|
2449
|
-
className: `${
|
|
2450
|
-
iconName:
|
|
2451
|
-
iconSize:
|
|
2449
|
+
className: `${g}__icon`,
|
|
2450
|
+
iconName: i,
|
|
2451
|
+
iconSize: C
|
|
2452
2452
|
}
|
|
2453
2453
|
));
|
|
2454
2454
|
return /* @__PURE__ */ e.createElement(
|
|
2455
2455
|
"button",
|
|
2456
2456
|
{
|
|
2457
|
-
ref:
|
|
2457
|
+
ref: L,
|
|
2458
2458
|
"aria-label": t,
|
|
2459
2459
|
className: v([
|
|
2460
|
-
|
|
2460
|
+
g,
|
|
2461
2461
|
f,
|
|
2462
|
-
|
|
2463
|
-
|
|
2462
|
+
p,
|
|
2463
|
+
c
|
|
2464
2464
|
]),
|
|
2465
|
-
disabled:
|
|
2466
|
-
onClick:
|
|
2467
|
-
title:
|
|
2465
|
+
disabled: a,
|
|
2466
|
+
onClick: k,
|
|
2467
|
+
title: n && !a ? null : t,
|
|
2468
2468
|
type: l,
|
|
2469
|
-
...
|
|
2469
|
+
...d
|
|
2470
2470
|
},
|
|
2471
|
-
|
|
2471
|
+
n && !a ? /* @__PURE__ */ e.createElement(
|
|
2472
2472
|
T2,
|
|
2473
2473
|
{
|
|
2474
|
-
className: `${
|
|
2474
|
+
className: `${g}__tooltip`,
|
|
2475
2475
|
content: t,
|
|
2476
|
-
customTrigger:
|
|
2477
|
-
offsetValue:
|
|
2476
|
+
customTrigger: y,
|
|
2477
|
+
offsetValue: w
|
|
2478
2478
|
}
|
|
2479
|
-
) :
|
|
2479
|
+
) : y
|
|
2480
2480
|
);
|
|
2481
2481
|
}
|
|
2482
2482
|
), H4 = ({
|
|
2483
2483
|
ariaLabel: t = "Copy to clipboard",
|
|
2484
2484
|
className: l,
|
|
2485
|
-
clipboardText:
|
|
2486
|
-
disabled:
|
|
2487
|
-
variant:
|
|
2485
|
+
clipboardText: c = "",
|
|
2486
|
+
disabled: a,
|
|
2487
|
+
variant: n = "standard",
|
|
2488
2488
|
...s
|
|
2489
2489
|
}) => {
|
|
2490
|
-
const
|
|
2490
|
+
const i = "pds-clipboard-button", [r, o] = p4(c);
|
|
2491
2491
|
return /* @__PURE__ */ e.createElement(
|
|
2492
|
-
|
|
2492
|
+
j2,
|
|
2493
2493
|
{
|
|
2494
2494
|
ariaLabel: t,
|
|
2495
2495
|
buttonType: "button",
|
|
2496
|
-
className: v([
|
|
2497
|
-
disabled:
|
|
2496
|
+
className: v([i, l ?? ""]),
|
|
2497
|
+
disabled: a,
|
|
2498
2498
|
icon2Name: "check",
|
|
2499
2499
|
iconName: "copy",
|
|
2500
2500
|
onClick: o,
|
|
2501
2501
|
size: "m",
|
|
2502
|
-
variant:
|
|
2502
|
+
variant: n,
|
|
2503
2503
|
...s
|
|
2504
2504
|
}
|
|
2505
2505
|
);
|
|
2506
2506
|
}, v1 = ({
|
|
2507
2507
|
ariaLabel: t = "Close",
|
|
2508
2508
|
className: l,
|
|
2509
|
-
onClick:
|
|
2510
|
-
size:
|
|
2511
|
-
...
|
|
2509
|
+
onClick: c,
|
|
2510
|
+
size: a = "l",
|
|
2511
|
+
...n
|
|
2512
2512
|
}) => {
|
|
2513
|
-
const s = "pds-close-button",
|
|
2513
|
+
const s = "pds-close-button", i = `${s}--${a}`;
|
|
2514
2514
|
return /* @__PURE__ */ e.createElement(
|
|
2515
2515
|
"button",
|
|
2516
2516
|
{
|
|
2517
2517
|
"aria-label": t,
|
|
2518
|
-
className: v([s,
|
|
2519
|
-
onClick:
|
|
2518
|
+
className: v([s, i, l ?? ""]),
|
|
2519
|
+
onClick: c,
|
|
2520
2520
|
type: "button",
|
|
2521
|
-
...
|
|
2521
|
+
...n
|
|
2522
2522
|
},
|
|
2523
|
-
/* @__PURE__ */ e.createElement(
|
|
2523
|
+
/* @__PURE__ */ e.createElement(O, { className: `${s}__icon`, iconName: "xmarkLarge" })
|
|
2524
2524
|
);
|
|
2525
2525
|
}, Q2 = {
|
|
2526
2526
|
info: "Information",
|
|
@@ -2550,122 +2550,122 @@ const d4 = {
|
|
|
2550
2550
|
wordpress: "wordpress",
|
|
2551
2551
|
gatsby: "bolt",
|
|
2552
2552
|
nextjs: "bolt"
|
|
2553
|
-
},
|
|
2554
|
-
const t = typeof window < "u", [l,
|
|
2553
|
+
}, M1 = () => {
|
|
2554
|
+
const t = typeof window < "u", [l, c] = V(
|
|
2555
2555
|
t && window.innerWidth !== void 0 ? window.innerWidth : 1024
|
|
2556
2556
|
);
|
|
2557
2557
|
return l2(() => {
|
|
2558
2558
|
if (!t) return;
|
|
2559
|
-
|
|
2560
|
-
const
|
|
2561
|
-
|
|
2559
|
+
c(window.innerWidth);
|
|
2560
|
+
const a = () => {
|
|
2561
|
+
c(window.innerWidth);
|
|
2562
2562
|
};
|
|
2563
|
-
return window.addEventListener("resize",
|
|
2564
|
-
window.removeEventListener("resize",
|
|
2563
|
+
return window.addEventListener("resize", a), () => {
|
|
2564
|
+
window.removeEventListener("resize", a);
|
|
2565
2565
|
};
|
|
2566
2566
|
}, []), l;
|
|
2567
|
-
},
|
|
2567
|
+
}, N2 = n1(null), L4 = ({
|
|
2568
2568
|
children: t,
|
|
2569
2569
|
mobileMenuMaxWidth: l = 640
|
|
2570
2570
|
}) => {
|
|
2571
|
-
const
|
|
2572
|
-
isMobile:
|
|
2571
|
+
const c = M1(), a = c <= l, n = {
|
|
2572
|
+
isMobile: a,
|
|
2573
2573
|
mobileMenuMaxWidth: l,
|
|
2574
|
-
windowWidth:
|
|
2574
|
+
windowWidth: c
|
|
2575
2575
|
};
|
|
2576
2576
|
return l2(() => {
|
|
2577
|
-
|
|
2578
|
-
}, [
|
|
2577
|
+
a ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
|
|
2578
|
+
}, [a]), /* @__PURE__ */ e.createElement(N2.Provider, { value: n }, t);
|
|
2579
2579
|
}, C4 = ({
|
|
2580
2580
|
className: t,
|
|
2581
2581
|
disabled: l,
|
|
2582
|
-
displayType:
|
|
2583
|
-
iconName:
|
|
2584
|
-
id:
|
|
2582
|
+
displayType: c = "icon-end",
|
|
2583
|
+
iconName: a = "ellipsisVertical",
|
|
2584
|
+
id: n,
|
|
2585
2585
|
isSplitButton: s = !1,
|
|
2586
|
-
label:
|
|
2586
|
+
label: i,
|
|
2587
2587
|
menuItems: r,
|
|
2588
2588
|
menuPosition: o = "start",
|
|
2589
2589
|
onClick: m,
|
|
2590
|
-
size:
|
|
2591
|
-
testId:
|
|
2592
|
-
undefinedLabel:
|
|
2590
|
+
size: d = "s",
|
|
2591
|
+
testId: L,
|
|
2592
|
+
undefinedLabel: g = "Unlabeled group",
|
|
2593
2593
|
variant: f = "primary",
|
|
2594
|
-
withinNavbar:
|
|
2595
|
-
...
|
|
2594
|
+
withinNavbar: p,
|
|
2595
|
+
...u
|
|
2596
2596
|
}) => {
|
|
2597
|
-
const { placement:
|
|
2597
|
+
const { placement: w, refs: C, strategy: z, x: b, y: D } = r1({
|
|
2598
2598
|
placement: "bottom-start",
|
|
2599
2599
|
middleware: [m1()],
|
|
2600
2600
|
whileElementsMounted: o1
|
|
2601
2601
|
});
|
|
2602
|
-
let
|
|
2603
|
-
const
|
|
2604
|
-
|
|
2605
|
-
const
|
|
2602
|
+
let P = !1;
|
|
2603
|
+
const k = D2(N2);
|
|
2604
|
+
k && (P = k.isMobile);
|
|
2605
|
+
const y = f === "navbar" && P, M = "pds-menu-button", S = y ? `${M}--isMobile` : null, I = p ? `${M}--navbar` : null, N = n, [_] = V(`menu-button-${n}`), W = C.floating, Y = J(null), [R, i2] = V(!1), [K, n2] = V(!1), [Z, r2] = V(""), [Q, o2] = V(0), s2 = J([]), T = J([]), A = J([]);
|
|
2606
2606
|
_1(() => {
|
|
2607
2607
|
window.addEventListener("mousedown", L2, !0);
|
|
2608
|
-
const
|
|
2609
|
-
return
|
|
2610
|
-
|
|
2608
|
+
const h = W.current;
|
|
2609
|
+
return h && (h.dataset.fuiPlacement = w), K && (setTimeout(() => {
|
|
2610
|
+
h.focus();
|
|
2611
2611
|
}, 0), n2(!1)), () => {
|
|
2612
2612
|
window.removeEventListener("mousedown", L2, !0);
|
|
2613
2613
|
};
|
|
2614
|
-
}, [
|
|
2615
|
-
const
|
|
2616
|
-
r2(
|
|
2617
|
-
},
|
|
2614
|
+
}, [R, w]);
|
|
2615
|
+
const q = (h, j) => {
|
|
2616
|
+
r2(h), o2(j);
|
|
2617
|
+
}, U = () => {
|
|
2618
2618
|
i2(!0), n2(!0);
|
|
2619
2619
|
}, e2 = () => {
|
|
2620
|
-
i2(!1),
|
|
2621
|
-
`#${
|
|
2620
|
+
i2(!1), q(void 0, -1), Y.current?.querySelector(
|
|
2621
|
+
`#${N}`
|
|
2622
2622
|
)?.focus();
|
|
2623
|
-
}, z2 = (
|
|
2624
|
-
|
|
2625
|
-
let
|
|
2626
|
-
for (let E = Q + 1; E <
|
|
2627
|
-
if (
|
|
2628
|
-
|
|
2623
|
+
}, z2 = (h) => {
|
|
2624
|
+
h = h.toLowerCase();
|
|
2625
|
+
let j = !1;
|
|
2626
|
+
for (let E = Q + 1; E < A.current.length; E++)
|
|
2627
|
+
if (A.current[E].label.toLowerCase().startsWith(h)) {
|
|
2628
|
+
q(T.current[E], E), j = !0;
|
|
2629
2629
|
break;
|
|
2630
2630
|
}
|
|
2631
|
-
if (
|
|
2631
|
+
if (j === !1) {
|
|
2632
2632
|
for (let E = 0; E < Q; E++)
|
|
2633
|
-
if (
|
|
2634
|
-
|
|
2633
|
+
if (A.current[E].label.toLowerCase().startsWith(h)) {
|
|
2634
|
+
q(T.current[E], E);
|
|
2635
2635
|
break;
|
|
2636
2636
|
}
|
|
2637
2637
|
}
|
|
2638
|
-
}, u2 = (
|
|
2639
|
-
const
|
|
2638
|
+
}, u2 = (h) => {
|
|
2639
|
+
const j = T.current.indexOf(h), E = A.current[j];
|
|
2640
2640
|
E.callback && !E.disabled && E.callback(E), E.linkContent && !E.disabled && Y.current?.querySelector(
|
|
2641
|
-
`#${
|
|
2641
|
+
`#${h} a`
|
|
2642
2642
|
)?.click();
|
|
2643
2643
|
}, f2 = () => {
|
|
2644
|
-
const
|
|
2645
|
-
u2(
|
|
2646
|
-
},
|
|
2647
|
-
|
|
2648
|
-
}, A2 = (
|
|
2649
|
-
u2(
|
|
2650
|
-
},
|
|
2651
|
-
const
|
|
2644
|
+
const h = T.current[Q];
|
|
2645
|
+
u2(h);
|
|
2646
|
+
}, S2 = (h) => {
|
|
2647
|
+
R ? e2() : U(), m && m(), h.stopPropagation(), h.preventDefault();
|
|
2648
|
+
}, A2 = (h) => {
|
|
2649
|
+
u2(h.currentTarget.id), y || e2();
|
|
2650
|
+
}, I2 = (h) => {
|
|
2651
|
+
const j = h.key;
|
|
2652
2652
|
let E = !1;
|
|
2653
|
-
switch (
|
|
2653
|
+
switch (j) {
|
|
2654
2654
|
// open menu and focus on first menu item
|
|
2655
2655
|
case " ":
|
|
2656
2656
|
case "Enter":
|
|
2657
2657
|
case "ArrowDown":
|
|
2658
2658
|
case "Down": {
|
|
2659
|
-
|
|
2660
|
-
let
|
|
2661
|
-
for (let $ = 0; $ <
|
|
2662
|
-
if (!
|
|
2663
|
-
|
|
2659
|
+
U();
|
|
2660
|
+
let H = 0;
|
|
2661
|
+
for (let $ = 0; $ < A.current.length; $++)
|
|
2662
|
+
if (!A.current[$]?.disabled) {
|
|
2663
|
+
H = $;
|
|
2664
2664
|
break;
|
|
2665
2665
|
}
|
|
2666
|
-
|
|
2667
|
-
T.current[
|
|
2668
|
-
|
|
2666
|
+
q(
|
|
2667
|
+
T.current[H],
|
|
2668
|
+
H
|
|
2669
2669
|
), E = !0, m && m();
|
|
2670
2670
|
break;
|
|
2671
2671
|
}
|
|
@@ -2677,32 +2677,32 @@ const d4 = {
|
|
|
2677
2677
|
// open menu and focus on last menu item
|
|
2678
2678
|
case "Up":
|
|
2679
2679
|
case "ArrowUp": {
|
|
2680
|
-
|
|
2681
|
-
let
|
|
2680
|
+
U();
|
|
2681
|
+
let H = T.current.length - 1;
|
|
2682
2682
|
for (let $ = T.current.length - 1; $ >= 0; $--)
|
|
2683
|
-
if (!
|
|
2684
|
-
|
|
2683
|
+
if (!A.current[$]?.disabled) {
|
|
2684
|
+
H = $;
|
|
2685
2685
|
break;
|
|
2686
2686
|
}
|
|
2687
|
-
|
|
2688
|
-
T.current[
|
|
2689
|
-
|
|
2687
|
+
q(
|
|
2688
|
+
T.current[H],
|
|
2689
|
+
H
|
|
2690
2690
|
), E = !0;
|
|
2691
2691
|
break;
|
|
2692
2692
|
}
|
|
2693
2693
|
}
|
|
2694
|
-
E && (
|
|
2695
|
-
}, m2 = (
|
|
2696
|
-
const
|
|
2697
|
-
let E = !1,
|
|
2694
|
+
E && (h.stopPropagation(), h.preventDefault());
|
|
2695
|
+
}, m2 = (h) => {
|
|
2696
|
+
const j = h.key;
|
|
2697
|
+
let E = !1, H = "", $ = 0;
|
|
2698
2698
|
function G(x) {
|
|
2699
2699
|
return x.length === 1 && x.match(/\S/);
|
|
2700
2700
|
}
|
|
2701
|
-
if (!(
|
|
2702
|
-
if (
|
|
2703
|
-
G(
|
|
2701
|
+
if (!(h.ctrlKey || h.altKey || h.metaKey)) {
|
|
2702
|
+
if (h.shiftKey)
|
|
2703
|
+
G(j) && (z2(j), E = !0), h.key === "Tab" && (e2(), E = !0);
|
|
2704
2704
|
else
|
|
2705
|
-
switch (
|
|
2705
|
+
switch (j) {
|
|
2706
2706
|
case " ":
|
|
2707
2707
|
case "Enter":
|
|
2708
2708
|
e2(), f2(), E = !0;
|
|
@@ -2714,30 +2714,30 @@ const d4 = {
|
|
|
2714
2714
|
case "Up":
|
|
2715
2715
|
case "ArrowUp": {
|
|
2716
2716
|
let x = 0;
|
|
2717
|
-
const
|
|
2718
|
-
for ($ = Q - 1; x <
|
|
2717
|
+
const B = T.current.length;
|
|
2718
|
+
for ($ = Q - 1; x < B && ($ < 0 && ($ = T.current.length - 1), !!A.current[$]?.disabled); )
|
|
2719
2719
|
$--, x++;
|
|
2720
|
-
|
|
2720
|
+
H = T.current[$], q(H, $), E = !0;
|
|
2721
2721
|
break;
|
|
2722
2722
|
}
|
|
2723
2723
|
case "ArrowDown":
|
|
2724
2724
|
case "Down": {
|
|
2725
2725
|
let x = 0;
|
|
2726
|
-
const
|
|
2727
|
-
for ($ = Q + 1; x <
|
|
2726
|
+
const B = T.current.length;
|
|
2727
|
+
for ($ = Q + 1; x < B && ($ > T.current.length - 1 && ($ = 0), !!A.current[$]?.disabled); )
|
|
2728
2728
|
$++, x++;
|
|
2729
|
-
|
|
2729
|
+
H = T.current[$], q(H, $), E = !0;
|
|
2730
2730
|
break;
|
|
2731
2731
|
}
|
|
2732
2732
|
case "Home":
|
|
2733
2733
|
case "PageUp": {
|
|
2734
2734
|
let x = 0;
|
|
2735
|
-
for (let
|
|
2736
|
-
if (!
|
|
2737
|
-
x =
|
|
2735
|
+
for (let B = 0; B < A.current.length; B++)
|
|
2736
|
+
if (!A.current[B]?.disabled) {
|
|
2737
|
+
x = B;
|
|
2738
2738
|
break;
|
|
2739
2739
|
}
|
|
2740
|
-
|
|
2740
|
+
q(
|
|
2741
2741
|
T.current[x],
|
|
2742
2742
|
x
|
|
2743
2743
|
), E = !0;
|
|
@@ -2746,12 +2746,12 @@ const d4 = {
|
|
|
2746
2746
|
case "End":
|
|
2747
2747
|
case "PageDown": {
|
|
2748
2748
|
let x = T.current.length - 1;
|
|
2749
|
-
for (let
|
|
2750
|
-
if (!
|
|
2751
|
-
x =
|
|
2749
|
+
for (let B = T.current.length - 1; B >= 0; B--)
|
|
2750
|
+
if (!A.current[B]?.disabled) {
|
|
2751
|
+
x = B;
|
|
2752
2752
|
break;
|
|
2753
2753
|
}
|
|
2754
|
-
|
|
2754
|
+
q(
|
|
2755
2755
|
T.current[x],
|
|
2756
2756
|
x
|
|
2757
2757
|
), E = !0;
|
|
@@ -2761,70 +2761,70 @@ const d4 = {
|
|
|
2761
2761
|
e2();
|
|
2762
2762
|
break;
|
|
2763
2763
|
default:
|
|
2764
|
-
G(
|
|
2764
|
+
G(j) && (z2(j), E = !0);
|
|
2765
2765
|
break;
|
|
2766
2766
|
}
|
|
2767
|
-
E && (
|
|
2767
|
+
E && (h.stopPropagation(), h.preventDefault());
|
|
2768
2768
|
}
|
|
2769
|
-
}, L2 = (
|
|
2770
|
-
Y.current && !Y.current.contains(
|
|
2771
|
-
}, C2 = (
|
|
2772
|
-
const G = E ? `-group-${E}` : "", x =
|
|
2773
|
-
if (V2(
|
|
2774
|
-
return /* @__PURE__ */ e.createElement("li", { key:
|
|
2775
|
-
if (F2(
|
|
2769
|
+
}, L2 = (h) => {
|
|
2770
|
+
Y.current && !Y.current.contains(h.target) && R && e2();
|
|
2771
|
+
}, C2 = (h, j, E = "", H = "", ...$) => {
|
|
2772
|
+
const G = E ? `-group-${E}` : "", x = N + G + "-item-" + (j + 1), B = "id" in h && h.id ? h.id : x;
|
|
2773
|
+
if (V2(h))
|
|
2774
|
+
return /* @__PURE__ */ e.createElement("li", { key: B, role: "separator" });
|
|
2775
|
+
if (F2(h))
|
|
2776
2776
|
return /* @__PURE__ */ e.createElement(
|
|
2777
2777
|
"li",
|
|
2778
2778
|
{
|
|
2779
|
-
key:
|
|
2780
|
-
className: `${
|
|
2781
|
-
id:
|
|
2779
|
+
key: H,
|
|
2780
|
+
className: `${M}__listbox-heading`,
|
|
2781
|
+
id: H || null,
|
|
2782
2782
|
role: "presentation"
|
|
2783
2783
|
},
|
|
2784
|
-
|
|
2784
|
+
h.label
|
|
2785
2785
|
);
|
|
2786
|
-
if (z4(
|
|
2787
|
-
return /* @__PURE__ */ e.createElement("li", { key:
|
|
2788
|
-
if (Z2(
|
|
2789
|
-
T.current.push(
|
|
2786
|
+
if (z4(h))
|
|
2787
|
+
return /* @__PURE__ */ e.createElement("li", { key: B, role: "presentation" }, h.nodeContent);
|
|
2788
|
+
if (Z2(h) || "label" in h && h.label) {
|
|
2789
|
+
T.current.push(B), A.current.push(h);
|
|
2790
2790
|
let g2 = !1;
|
|
2791
|
-
|
|
2792
|
-
const c2 = "isCritical" in
|
|
2791
|
+
Z !== "" && !h.disabled && (g2 = Z === B);
|
|
2792
|
+
const c2 = "isCritical" in h && h.isCritical, w2 = "criticalLabel" in h ? h.criticalLabel : void 0;
|
|
2793
2793
|
let a2 = [];
|
|
2794
|
-
if ("label" in
|
|
2794
|
+
if ("label" in h && h.label && (a2 = [h.label]), Z2(h) && h.linkContent && (a2 = [h.linkContent.props.children]), h.iconName) {
|
|
2795
2795
|
const d2 = /* @__PURE__ */ e.createElement(
|
|
2796
|
-
|
|
2796
|
+
O,
|
|
2797
2797
|
{
|
|
2798
|
-
key: `icon-${
|
|
2799
|
-
iconName:
|
|
2798
|
+
key: `icon-${N}`,
|
|
2799
|
+
iconName: h.iconName,
|
|
2800
2800
|
iconSize: "m"
|
|
2801
2801
|
}
|
|
2802
2802
|
);
|
|
2803
2803
|
a2.unshift(d2);
|
|
2804
2804
|
}
|
|
2805
|
-
c2 &&
|
|
2806
|
-
/* @__PURE__ */ e.createElement("span", { key: `critical-${
|
|
2805
|
+
c2 && w2 && a2.unshift(
|
|
2806
|
+
/* @__PURE__ */ e.createElement("span", { key: `critical-${N}`, className: "visually-hidden" }, w2)
|
|
2807
2807
|
);
|
|
2808
2808
|
let p2;
|
|
2809
|
-
|
|
2809
|
+
h.description && (p2 = /* @__PURE__ */ e.createElement("span", { className: `${M}__item-description` }, h.description));
|
|
2810
2810
|
let b2;
|
|
2811
|
-
if (Z2(
|
|
2812
|
-
const d2 =
|
|
2813
|
-
b2 = /* @__PURE__ */ e.createElement(H2, { tabIndex: -1, ...d2.props }, /* @__PURE__ */ e.createElement("span", { className: `${
|
|
2811
|
+
if (Z2(h) && h.linkContent) {
|
|
2812
|
+
const d2 = h.linkContent, H2 = d2.type;
|
|
2813
|
+
b2 = /* @__PURE__ */ e.createElement(H2, { tabIndex: -1, ...d2.props }, /* @__PURE__ */ e.createElement("span", { className: `${M}__item-label` }, a2), p2);
|
|
2814
2814
|
} else
|
|
2815
|
-
b2 = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${
|
|
2815
|
+
b2 = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${M}__item-label` }, a2), p2);
|
|
2816
2816
|
const O2 = v([
|
|
2817
|
-
g2 ? `${
|
|
2818
|
-
c2 ? `${
|
|
2817
|
+
g2 ? `${M}__item-focused` : null,
|
|
2818
|
+
c2 ? `${M}__item-critical` : null
|
|
2819
2819
|
]);
|
|
2820
2820
|
return /* @__PURE__ */ e.createElement(
|
|
2821
2821
|
"li",
|
|
2822
2822
|
{
|
|
2823
|
-
key:
|
|
2824
|
-
"aria-disabled":
|
|
2823
|
+
key: B,
|
|
2824
|
+
"aria-disabled": h.disabled ? !0 : null,
|
|
2825
2825
|
className: O2,
|
|
2826
|
-
"data-testid":
|
|
2827
|
-
id:
|
|
2826
|
+
"data-testid": h.testId,
|
|
2827
|
+
id: B,
|
|
2828
2828
|
onClick: A2,
|
|
2829
2829
|
role: "menuitem",
|
|
2830
2830
|
tabIndex: -1,
|
|
@@ -2833,50 +2833,50 @@ const d4 = {
|
|
|
2833
2833
|
b2
|
|
2834
2834
|
);
|
|
2835
2835
|
}
|
|
2836
|
-
}, v2 = (
|
|
2837
|
-
const E = [],
|
|
2838
|
-
let $ =
|
|
2839
|
-
return
|
|
2840
|
-
x !== $ ? (G.push(x),
|
|
2836
|
+
}, v2 = (h, j) => {
|
|
2837
|
+
const E = [], H = [...j];
|
|
2838
|
+
let $ = H.shift(), G = [];
|
|
2839
|
+
return h.map((x, B) => {
|
|
2840
|
+
x !== $ ? (G.push(x), B + 1 === h.length && E.push(G)) : (E.push(G), G = [], G.push(x), $ = H.shift());
|
|
2841
2841
|
}), E.filter((x) => x.length > 0);
|
|
2842
|
-
},
|
|
2843
|
-
T.current = [],
|
|
2844
|
-
const
|
|
2842
|
+
}, F = (h) => {
|
|
2843
|
+
T.current = [], A.current = [];
|
|
2844
|
+
const j = h, E = h.filter(
|
|
2845
2845
|
F2 || V2
|
|
2846
|
-
),
|
|
2847
|
-
let $ = [`${
|
|
2848
|
-
if (
|
|
2849
|
-
const G = v2(
|
|
2846
|
+
), H = E.length > 0;
|
|
2847
|
+
let $ = [`${M}__listbox`];
|
|
2848
|
+
if (p && $.push(`${M}__listbox--navbar`), o === "end" && $.push(`${M}__listbox--end`), c === "icon-only" && $.push(`${M}__listbox--icon-only`), $ = v($), H) {
|
|
2849
|
+
const G = v2(h, E);
|
|
2850
2850
|
G.forEach(() => {
|
|
2851
2851
|
s2.current.push(V1());
|
|
2852
2852
|
});
|
|
2853
2853
|
let x = s2.current[0];
|
|
2854
|
-
const
|
|
2854
|
+
const B = G[0].findIndex(
|
|
2855
2855
|
(c2) => !V2(c2) && !F2(c2)
|
|
2856
|
-
), g2 = `${
|
|
2856
|
+
), g2 = `${N}-group-${x}-item-${B + 1}`;
|
|
2857
2857
|
return /* @__PURE__ */ e.createElement(
|
|
2858
2858
|
"div",
|
|
2859
2859
|
{
|
|
2860
|
-
ref:
|
|
2861
|
-
"aria-activedescendant":
|
|
2862
|
-
"aria-labelledby":
|
|
2860
|
+
ref: C.setFloating,
|
|
2861
|
+
"aria-activedescendant": Z !== "" ? Z : g2,
|
|
2862
|
+
"aria-labelledby": N,
|
|
2863
2863
|
className: $.toString(),
|
|
2864
|
-
id:
|
|
2864
|
+
id: _,
|
|
2865
2865
|
onKeyDown: m2,
|
|
2866
2866
|
role: "menu",
|
|
2867
2867
|
style: {
|
|
2868
|
-
visibility:
|
|
2869
|
-
opacity:
|
|
2868
|
+
visibility: R ? "visible" : "hidden",
|
|
2869
|
+
opacity: R ? "1" : "0",
|
|
2870
2870
|
transition: "var(--pds-animation-transition-reveal)",
|
|
2871
|
-
position:
|
|
2872
|
-
transform: `translate(${Math.round(
|
|
2871
|
+
position: z,
|
|
2872
|
+
transform: `translate(${Math.round(b)}px,${Math.round(D)}px)`,
|
|
2873
2873
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
2874
2874
|
},
|
|
2875
2875
|
tabIndex: -1
|
|
2876
2876
|
},
|
|
2877
|
-
G.map((c2,
|
|
2878
|
-
x = s2.current[
|
|
2879
|
-
const a2 = "isHeading" in c2[0] && c2[0].isHeading, p2 = a2 ? `${
|
|
2877
|
+
G.map((c2, w2) => {
|
|
2878
|
+
x = s2.current[w2];
|
|
2879
|
+
const a2 = "isHeading" in c2[0] && c2[0].isHeading, p2 = a2 ? `${N}-group-${x}-heading` : "", b2 = `${N}-group-${x}`, O2 = a2 ? null : `${g} ${w2 + 1}`;
|
|
2880
2880
|
return /* @__PURE__ */ e.createElement(
|
|
2881
2881
|
"ul",
|
|
2882
2882
|
{
|
|
@@ -2895,195 +2895,195 @@ const d4 = {
|
|
|
2895
2895
|
})
|
|
2896
2896
|
);
|
|
2897
2897
|
} else {
|
|
2898
|
-
const G = `${
|
|
2898
|
+
const G = `${N}-item-1`;
|
|
2899
2899
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
2900
2900
|
"ul",
|
|
2901
2901
|
{
|
|
2902
|
-
ref:
|
|
2903
|
-
"aria-activedescendant":
|
|
2904
|
-
"aria-labelledby":
|
|
2902
|
+
ref: C.setFloating,
|
|
2903
|
+
"aria-activedescendant": Z !== "" ? Z : G,
|
|
2904
|
+
"aria-labelledby": N,
|
|
2905
2905
|
className: $.toString(),
|
|
2906
|
-
id:
|
|
2906
|
+
id: _,
|
|
2907
2907
|
onKeyDown: m2,
|
|
2908
2908
|
role: "menu",
|
|
2909
2909
|
style: {
|
|
2910
|
-
visibility:
|
|
2911
|
-
opacity:
|
|
2910
|
+
visibility: R ? "visible" : "hidden",
|
|
2911
|
+
opacity: R ? "1" : "0",
|
|
2912
2912
|
transition: "var(--pds-animation-transition-reveal)",
|
|
2913
|
-
position:
|
|
2914
|
-
transform: `translate(${Math.round(
|
|
2913
|
+
position: z,
|
|
2914
|
+
transform: `translate(${Math.round(b)}px,${Math.round(D)}px)`
|
|
2915
2915
|
},
|
|
2916
2916
|
tabIndex: -1
|
|
2917
2917
|
},
|
|
2918
|
-
|
|
2918
|
+
j.map((x, B) => C2(x, B))
|
|
2919
2919
|
));
|
|
2920
2920
|
}
|
|
2921
2921
|
};
|
|
2922
2922
|
let t2;
|
|
2923
|
-
if (
|
|
2923
|
+
if (c === "icon-end" && (t2 = /* @__PURE__ */ e.createElement(
|
|
2924
2924
|
B2,
|
|
2925
2925
|
{
|
|
2926
|
-
ref:
|
|
2927
|
-
"aria-controls":
|
|
2928
|
-
"aria-expanded":
|
|
2926
|
+
ref: C.setReference,
|
|
2927
|
+
"aria-controls": _,
|
|
2928
|
+
"aria-expanded": R,
|
|
2929
2929
|
"aria-haspopup": "true",
|
|
2930
|
-
className: `${
|
|
2930
|
+
className: `${M}__trigger`,
|
|
2931
2931
|
disabled: l,
|
|
2932
|
-
displayType:
|
|
2932
|
+
displayType: c,
|
|
2933
2933
|
iconName: "angleDown",
|
|
2934
|
-
id:
|
|
2934
|
+
id: N,
|
|
2935
2935
|
isSplitButton: s,
|
|
2936
|
-
label:
|
|
2937
|
-
onClick:
|
|
2938
|
-
onKeyDown:
|
|
2939
|
-
size:
|
|
2936
|
+
label: i,
|
|
2937
|
+
onClick: S2,
|
|
2938
|
+
onKeyDown: I2,
|
|
2939
|
+
size: d,
|
|
2940
2940
|
type: "button",
|
|
2941
2941
|
variant: f
|
|
2942
2942
|
}
|
|
2943
|
-
)),
|
|
2944
|
-
const
|
|
2943
|
+
)), c === "icon-only") {
|
|
2944
|
+
const h = Y2(i);
|
|
2945
2945
|
t2 = /* @__PURE__ */ e.createElement(
|
|
2946
|
-
|
|
2946
|
+
j2,
|
|
2947
2947
|
{
|
|
2948
|
-
ref:
|
|
2949
|
-
"aria-controls":
|
|
2950
|
-
"aria-expanded":
|
|
2948
|
+
ref: C.setReference,
|
|
2949
|
+
"aria-controls": _,
|
|
2950
|
+
"aria-expanded": R,
|
|
2951
2951
|
"aria-haspopup": "true",
|
|
2952
|
-
ariaLabel:
|
|
2953
|
-
className: `${
|
|
2952
|
+
ariaLabel: h,
|
|
2953
|
+
className: `${M}__trigger ${M}__trigger--icon-only`,
|
|
2954
2954
|
disabled: l,
|
|
2955
2955
|
hasTooltip: !1,
|
|
2956
|
-
iconName:
|
|
2957
|
-
id:
|
|
2958
|
-
onClick:
|
|
2959
|
-
onKeyDown:
|
|
2960
|
-
size:
|
|
2956
|
+
iconName: a,
|
|
2957
|
+
id: N,
|
|
2958
|
+
onClick: S2,
|
|
2959
|
+
onKeyDown: I2,
|
|
2960
|
+
size: d,
|
|
2961
2961
|
type: "button",
|
|
2962
2962
|
variant: "standard"
|
|
2963
2963
|
}
|
|
2964
2964
|
);
|
|
2965
2965
|
}
|
|
2966
|
-
const
|
|
2967
|
-
const
|
|
2968
|
-
|
|
2966
|
+
const M2 = (h) => {
|
|
2967
|
+
const j = h.target;
|
|
2968
|
+
j.classList.toggle(`${M}__toggle--expanded`), j.setAttribute(
|
|
2969
2969
|
"aria-expanded",
|
|
2970
|
-
|
|
2971
|
-
),
|
|
2972
|
-
},
|
|
2970
|
+
j.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
2971
|
+
), j.nextElementSibling.classList.toggle(`${M}__mobile-menu--expanded`);
|
|
2972
|
+
}, w1 = () => /* @__PURE__ */ e.createElement("ul", { className: `${M}__mobile-menu`, role: "menu" }, r.map((h, j) => C2(h, j)));
|
|
2973
2973
|
let J2;
|
|
2974
|
-
const b1 =
|
|
2975
|
-
`${
|
|
2974
|
+
const b1 = c === "icon-end" ? "pds-button pds-button--navbar" : null, E1 = v([
|
|
2975
|
+
`${M}__toggle`,
|
|
2976
2976
|
b1
|
|
2977
2977
|
]);
|
|
2978
|
-
|
|
2978
|
+
y && (J2 = /* @__PURE__ */ e.createElement(
|
|
2979
2979
|
"button",
|
|
2980
2980
|
{
|
|
2981
2981
|
"aria-expanded": !1,
|
|
2982
2982
|
className: E1,
|
|
2983
2983
|
disabled: l,
|
|
2984
|
-
id:
|
|
2985
|
-
onClick:
|
|
2984
|
+
id: N,
|
|
2985
|
+
onClick: M2,
|
|
2986
2986
|
type: "button"
|
|
2987
2987
|
},
|
|
2988
|
-
|
|
2988
|
+
c === "icon-only" ? /* @__PURE__ */ e.createElement("span", { className: `${M}__icon-label` }, /* @__PURE__ */ e.createElement(O, { iconName: a }), " ", i) : i,
|
|
2989
2989
|
/* @__PURE__ */ e.createElement(
|
|
2990
|
-
|
|
2990
|
+
O,
|
|
2991
2991
|
{
|
|
2992
|
-
className: `${
|
|
2992
|
+
className: `${M}__toggle-icon ${M}__toggle-icon--${c}`,
|
|
2993
2993
|
iconName: "angleDown",
|
|
2994
2994
|
iconSize: "m"
|
|
2995
2995
|
}
|
|
2996
2996
|
)
|
|
2997
2997
|
));
|
|
2998
|
-
const y1 = J2, $1 =
|
|
2998
|
+
const y1 = J2, $1 = R ? `${M}--expanded` : null;
|
|
2999
2999
|
return /* @__PURE__ */ e.createElement(
|
|
3000
3000
|
"span",
|
|
3001
3001
|
{
|
|
3002
3002
|
ref: Y,
|
|
3003
3003
|
className: v([
|
|
3004
|
-
|
|
3005
|
-
|
|
3004
|
+
M,
|
|
3005
|
+
I,
|
|
3006
3006
|
S,
|
|
3007
3007
|
$1,
|
|
3008
3008
|
t
|
|
3009
3009
|
]),
|
|
3010
|
-
"data-testid":
|
|
3011
|
-
...
|
|
3010
|
+
"data-testid": L,
|
|
3011
|
+
...u
|
|
3012
3012
|
},
|
|
3013
|
-
|
|
3013
|
+
y ? /* @__PURE__ */ e.createElement(e.Fragment, null, y1, /* @__PURE__ */ e.createElement(w1, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, t2, F(r))
|
|
3014
3014
|
);
|
|
3015
3015
|
}, F4 = ({
|
|
3016
3016
|
className: t,
|
|
3017
3017
|
defaultValue: l,
|
|
3018
|
-
disabled:
|
|
3019
|
-
id:
|
|
3020
|
-
label:
|
|
3018
|
+
disabled: c = !1,
|
|
3019
|
+
id: a,
|
|
3020
|
+
label: n,
|
|
3021
3021
|
onChange: s,
|
|
3022
|
-
options:
|
|
3022
|
+
options: i,
|
|
3023
3023
|
size: r = "s",
|
|
3024
3024
|
value: o,
|
|
3025
3025
|
...m
|
|
3026
3026
|
}) => {
|
|
3027
|
-
const
|
|
3028
|
-
|
|
3029
|
-
),
|
|
3030
|
-
|
|
3027
|
+
const d = "pds-segmented-button", L = c ? "pds-is-disabled" : null, g = `${d}--${r}`, f = r === "s" ? "s" : "m", p = typeof o < "u", u = typeof l < "u", [w, C] = V(
|
|
3028
|
+
u ? l : ""
|
|
3029
|
+
), z = (b) => {
|
|
3030
|
+
C(b.target.value), s && s(b.target.value);
|
|
3031
3031
|
};
|
|
3032
|
-
if (
|
|
3032
|
+
if (i.length >= 2 && i.length <= 6)
|
|
3033
3033
|
return /* @__PURE__ */ e.createElement(
|
|
3034
3034
|
"fieldset",
|
|
3035
3035
|
{
|
|
3036
3036
|
className: v([
|
|
3037
|
-
h,
|
|
3038
3037
|
d,
|
|
3039
|
-
|
|
3038
|
+
g,
|
|
3039
|
+
L,
|
|
3040
3040
|
t ?? ""
|
|
3041
3041
|
]),
|
|
3042
3042
|
...m
|
|
3043
3043
|
},
|
|
3044
|
-
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" },
|
|
3045
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
3046
|
-
const
|
|
3044
|
+
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, n),
|
|
3045
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__options` }, i.map((b, D) => {
|
|
3046
|
+
const P = p ? o === b.value : w === b.value, k = `${d}__option`, y = P ? `${k}--checked` : null;
|
|
3047
3047
|
return /* @__PURE__ */ e.createElement(
|
|
3048
3048
|
"div",
|
|
3049
3049
|
{
|
|
3050
|
-
key: `${
|
|
3051
|
-
className: v([
|
|
3050
|
+
key: `${a}-option-${D}`,
|
|
3051
|
+
className: v([k, y])
|
|
3052
3052
|
},
|
|
3053
3053
|
/* @__PURE__ */ e.createElement(
|
|
3054
3054
|
"input",
|
|
3055
3055
|
{
|
|
3056
|
-
checked:
|
|
3056
|
+
checked: P,
|
|
3057
3057
|
className: "visually-hidden",
|
|
3058
|
-
disabled:
|
|
3059
|
-
id:
|
|
3060
|
-
name:
|
|
3061
|
-
onChange:
|
|
3058
|
+
disabled: c || b.disabled,
|
|
3059
|
+
id: b.id ? b.id : `${a}-option-${D}`,
|
|
3060
|
+
name: a,
|
|
3061
|
+
onChange: z,
|
|
3062
3062
|
type: "radio",
|
|
3063
|
-
value:
|
|
3063
|
+
value: b.value
|
|
3064
3064
|
}
|
|
3065
3065
|
),
|
|
3066
3066
|
/* @__PURE__ */ e.createElement(
|
|
3067
3067
|
"label",
|
|
3068
3068
|
{
|
|
3069
|
-
htmlFor:
|
|
3070
|
-
title:
|
|
3069
|
+
htmlFor: b.id ? b.id : `${a}-option-${D}`,
|
|
3070
|
+
title: b.label
|
|
3071
3071
|
},
|
|
3072
|
-
|
|
3073
|
-
|
|
3072
|
+
b.iconName && /* @__PURE__ */ e.createElement(
|
|
3073
|
+
O,
|
|
3074
3074
|
{
|
|
3075
|
-
className: `${
|
|
3076
|
-
iconName:
|
|
3075
|
+
className: `${d}__icon`,
|
|
3076
|
+
iconName: b.iconName,
|
|
3077
3077
|
iconSize: f
|
|
3078
3078
|
}
|
|
3079
3079
|
),
|
|
3080
|
-
/* @__PURE__ */ e.createElement("span", { className: `${
|
|
3081
|
-
|
|
3080
|
+
/* @__PURE__ */ e.createElement("span", { className: `${d}__label-text` }, b.label),
|
|
3081
|
+
b.tally && /* @__PURE__ */ e.createElement(
|
|
3082
3082
|
d1,
|
|
3083
3083
|
{
|
|
3084
|
-
className: `${
|
|
3085
|
-
label:
|
|
3086
|
-
type:
|
|
3084
|
+
className: `${d}__tally`,
|
|
3085
|
+
label: b.tally.label,
|
|
3086
|
+
type: b.tally.type
|
|
3087
3087
|
}
|
|
3088
3088
|
)
|
|
3089
3089
|
)
|
|
@@ -3093,61 +3093,61 @@ const d4 = {
|
|
|
3093
3093
|
}, v4 = ({
|
|
3094
3094
|
actionItems: t,
|
|
3095
3095
|
className: l,
|
|
3096
|
-
disabled:
|
|
3097
|
-
id:
|
|
3098
|
-
moreActionsLabel:
|
|
3096
|
+
disabled: c,
|
|
3097
|
+
id: a,
|
|
3098
|
+
moreActionsLabel: n = "More actions",
|
|
3099
3099
|
size: s = "s",
|
|
3100
|
-
variant:
|
|
3100
|
+
variant: i = "primary",
|
|
3101
3101
|
...r
|
|
3102
3102
|
}) => {
|
|
3103
|
-
const o = "pds-split-button", m = `${o}--${
|
|
3104
|
-
let
|
|
3105
|
-
return "isLink" in
|
|
3103
|
+
const o = "pds-split-button", m = `${o}--${i}`, d = t[0], L = t.slice(1);
|
|
3104
|
+
let g = null;
|
|
3105
|
+
return "isLink" in d && d.isLink === !0 ? g = /* @__PURE__ */ e.createElement(
|
|
3106
3106
|
g4,
|
|
3107
3107
|
{
|
|
3108
3108
|
className: `${o}__primary-action`,
|
|
3109
|
-
disabled:
|
|
3109
|
+
disabled: c,
|
|
3110
3110
|
displayType: "label-only",
|
|
3111
|
-
linkContent:
|
|
3111
|
+
linkContent: d.linkContent,
|
|
3112
3112
|
size: s,
|
|
3113
|
-
variant:
|
|
3113
|
+
variant: i
|
|
3114
3114
|
}
|
|
3115
|
-
) : "label" in
|
|
3115
|
+
) : "label" in d && (g = /* @__PURE__ */ e.createElement(
|
|
3116
3116
|
B2,
|
|
3117
3117
|
{
|
|
3118
3118
|
className: `${o}__primary-action`,
|
|
3119
|
-
disabled:
|
|
3120
|
-
label:
|
|
3121
|
-
onClick: () =>
|
|
3119
|
+
disabled: c,
|
|
3120
|
+
label: d.label,
|
|
3121
|
+
onClick: () => d.callback(),
|
|
3122
3122
|
size: s,
|
|
3123
|
-
variant:
|
|
3123
|
+
variant: i
|
|
3124
3124
|
}
|
|
3125
3125
|
)), /* @__PURE__ */ e.createElement(
|
|
3126
3126
|
"span",
|
|
3127
3127
|
{
|
|
3128
3128
|
className: v([o, m, l]),
|
|
3129
|
-
id:
|
|
3129
|
+
id: a,
|
|
3130
3130
|
...r
|
|
3131
3131
|
},
|
|
3132
|
-
|
|
3132
|
+
g,
|
|
3133
3133
|
/* @__PURE__ */ e.createElement(
|
|
3134
3134
|
C4,
|
|
3135
3135
|
{
|
|
3136
3136
|
isSplitButton: !0,
|
|
3137
3137
|
className: `${o}__menu-button`,
|
|
3138
|
-
disabled:
|
|
3138
|
+
disabled: c,
|
|
3139
3139
|
displayType: "icon-end",
|
|
3140
|
-
id: `${
|
|
3141
|
-
label:
|
|
3142
|
-
menuItems:
|
|
3140
|
+
id: `${a}-menu`,
|
|
3141
|
+
label: n,
|
|
3142
|
+
menuItems: L,
|
|
3143
3143
|
size: s,
|
|
3144
3144
|
testId: null,
|
|
3145
|
-
variant:
|
|
3145
|
+
variant: i,
|
|
3146
3146
|
withinNavbar: !1
|
|
3147
3147
|
}
|
|
3148
3148
|
)
|
|
3149
3149
|
);
|
|
3150
|
-
},
|
|
3150
|
+
}, M4 = {
|
|
3151
3151
|
drupal: "Drupal",
|
|
3152
3152
|
drupal7: "Drupal 7",
|
|
3153
3153
|
"front-end-sites": "Next.js and Gatsby",
|
|
@@ -3162,17 +3162,17 @@ const d4 = {
|
|
|
3162
3162
|
splunk: "Splunk",
|
|
3163
3163
|
"sumo-logic": "Sumo Logic",
|
|
3164
3164
|
wordpress: "WordPress"
|
|
3165
|
-
},
|
|
3165
|
+
}, w4 = ({
|
|
3166
3166
|
className: t,
|
|
3167
3167
|
iconSize: l = "2xl",
|
|
3168
|
-
platformType:
|
|
3169
|
-
...
|
|
3168
|
+
platformType: c,
|
|
3169
|
+
...a
|
|
3170
3170
|
}) => {
|
|
3171
|
-
const
|
|
3171
|
+
const n = "pds-platform-icon", s = `pds-platform-icon--${c}`, i = `pds-platform-icon--${l}`;
|
|
3172
3172
|
let r;
|
|
3173
|
-
if (["front-end-sites", "gatsby-wp", "next-drupal", "next-wp"].includes(
|
|
3173
|
+
if (["front-end-sites", "gatsby-wp", "next-drupal", "next-wp"].includes(c)) {
|
|
3174
3174
|
let m = [];
|
|
3175
|
-
switch (
|
|
3175
|
+
switch (c) {
|
|
3176
3176
|
case "front-end-sites":
|
|
3177
3177
|
m = ["next", "gatsby"];
|
|
3178
3178
|
break;
|
|
@@ -3189,20 +3189,20 @@ const d4 = {
|
|
|
3189
3189
|
r = /* @__PURE__ */ e.createElement(
|
|
3190
3190
|
"span",
|
|
3191
3191
|
{
|
|
3192
|
-
"aria-label":
|
|
3193
|
-
className: `${
|
|
3192
|
+
"aria-label": M4[c],
|
|
3193
|
+
className: `${n}__group`,
|
|
3194
3194
|
role: "img"
|
|
3195
3195
|
},
|
|
3196
3196
|
_2(q2[m[0]], { "aria-hidden": "true" }),
|
|
3197
3197
|
_2(q2[m[1]], { "aria-hidden": "true" })
|
|
3198
3198
|
);
|
|
3199
3199
|
} else
|
|
3200
|
-
r = q2[
|
|
3200
|
+
r = q2[c];
|
|
3201
3201
|
return /* @__PURE__ */ e.createElement(
|
|
3202
3202
|
"div",
|
|
3203
3203
|
{
|
|
3204
|
-
className: v([
|
|
3205
|
-
...
|
|
3204
|
+
className: v([n, s, i, t]),
|
|
3205
|
+
...a
|
|
3206
3206
|
},
|
|
3207
3207
|
r
|
|
3208
3208
|
);
|
|
@@ -3503,18 +3503,18 @@ const d4 = {
|
|
|
3503
3503
|
}, Z4 = ({
|
|
3504
3504
|
buttonType: t = "button",
|
|
3505
3505
|
className: l = "",
|
|
3506
|
-
disabled:
|
|
3507
|
-
label:
|
|
3508
|
-
onClick:
|
|
3506
|
+
disabled: c = !1,
|
|
3507
|
+
label: a,
|
|
3508
|
+
onClick: n,
|
|
3509
3509
|
platform: s,
|
|
3510
|
-
size:
|
|
3510
|
+
size: i = "m",
|
|
3511
3511
|
...r
|
|
3512
3512
|
}) => {
|
|
3513
|
-
const o = "pds-sso-button", m = `${o}--${
|
|
3514
|
-
|
|
3513
|
+
const o = "pds-sso-button", m = `${o}--${i}`, d = i === "m" ? "l" : "2xl", L = /* @__PURE__ */ e.createElement(
|
|
3514
|
+
w4,
|
|
3515
3515
|
{
|
|
3516
3516
|
className: `${o}__icon`,
|
|
3517
|
-
iconSize:
|
|
3517
|
+
iconSize: d,
|
|
3518
3518
|
platformType: s
|
|
3519
3519
|
}
|
|
3520
3520
|
);
|
|
@@ -3522,102 +3522,124 @@ const d4 = {
|
|
|
3522
3522
|
"button",
|
|
3523
3523
|
{
|
|
3524
3524
|
className: v([o, m, l]),
|
|
3525
|
-
disabled:
|
|
3526
|
-
onClick:
|
|
3525
|
+
disabled: c,
|
|
3526
|
+
onClick: n,
|
|
3527
3527
|
type: t,
|
|
3528
3528
|
...r
|
|
3529
3529
|
},
|
|
3530
|
-
|
|
3531
|
-
|
|
3530
|
+
L,
|
|
3531
|
+
a
|
|
3532
3532
|
);
|
|
3533
3533
|
}, q4 = ({
|
|
3534
3534
|
buttonProps: t,
|
|
3535
3535
|
className: l,
|
|
3536
|
-
disabled:
|
|
3537
|
-
hasBorder:
|
|
3538
|
-
iconName:
|
|
3536
|
+
disabled: c = !1,
|
|
3537
|
+
hasBorder: a = !1,
|
|
3538
|
+
iconName: n,
|
|
3539
3539
|
iconPosition: s = "before",
|
|
3540
|
-
isCritical:
|
|
3540
|
+
isCritical: i = !1,
|
|
3541
3541
|
isLoading: r,
|
|
3542
3542
|
isMonospace: o = !1,
|
|
3543
3543
|
isWorking: m,
|
|
3544
|
-
label:
|
|
3545
|
-
linkContent:
|
|
3546
|
-
onClick:
|
|
3544
|
+
label: d,
|
|
3545
|
+
linkContent: L,
|
|
3546
|
+
onClick: g,
|
|
3547
3547
|
tooltipText: f,
|
|
3548
|
-
...
|
|
3548
|
+
...p
|
|
3549
3549
|
}) => {
|
|
3550
|
-
const
|
|
3551
|
-
|
|
3550
|
+
const u = "pds-utility-button", w = r ? "pds-pulse" : null, C = (M) => n && !m ? /* @__PURE__ */ e.createElement(O, { key: M, className: `${u}__icon`, iconName: n }) : null, z = () => m ? /* @__PURE__ */ e.createElement(
|
|
3551
|
+
x2,
|
|
3552
3552
|
{
|
|
3553
3553
|
key: "spinner",
|
|
3554
|
-
className: `${
|
|
3554
|
+
className: `${u}__spinner`,
|
|
3555
3555
|
colorType: "monochromatic",
|
|
3556
3556
|
size: "s"
|
|
3557
3557
|
}
|
|
3558
|
-
) : null,
|
|
3558
|
+
) : null, b = (M) => {
|
|
3559
3559
|
const S = [];
|
|
3560
|
-
return s === "before" && S.push(
|
|
3561
|
-
/* @__PURE__ */ e.createElement("span", { key: "label", className: `${
|
|
3562
|
-
), s === "after" && S.push(
|
|
3563
|
-
}, D =
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
r ? `${
|
|
3569
|
-
m ? `${
|
|
3570
|
-
o ? `${
|
|
3560
|
+
return s === "before" && S.push(C("icon-before")), S.push(z()), S.push(
|
|
3561
|
+
/* @__PURE__ */ e.createElement("span", { key: "label", className: `${u}__label` }, M)
|
|
3562
|
+
), s === "after" && S.push(C("icon-after")), S.filter(Boolean);
|
|
3563
|
+
}, D = L && h2(L) ? L.props.children : d, P = v([
|
|
3564
|
+
u,
|
|
3565
|
+
a ? `${u}--border` : null,
|
|
3566
|
+
i ? `${u}--critical` : null,
|
|
3567
|
+
c ? `${u}--disabled` : null,
|
|
3568
|
+
r ? `${u}--loading` : null,
|
|
3569
|
+
m ? `${u}--working` : null,
|
|
3570
|
+
o ? `${u}--monospace` : null,
|
|
3571
3571
|
l ?? ""
|
|
3572
|
-
]),
|
|
3573
|
-
if (
|
|
3574
|
-
const
|
|
3575
|
-
|
|
3576
|
-
Object.assign({},
|
|
3572
|
+
]), k = (M) => f ? /* @__PURE__ */ e.createElement(T2, { content: f, customTrigger: M }) : M;
|
|
3573
|
+
if (L && !c) {
|
|
3574
|
+
const M = h2(L) ? _2(
|
|
3575
|
+
L,
|
|
3576
|
+
Object.assign({}, L.props, {
|
|
3577
3577
|
className: v([
|
|
3578
|
-
`${
|
|
3579
|
-
|
|
3580
|
-
|
|
3578
|
+
`${u}__button`,
|
|
3579
|
+
w,
|
|
3580
|
+
L.props.className ?? ""
|
|
3581
3581
|
]),
|
|
3582
|
-
children:
|
|
3582
|
+
children: b(D)
|
|
3583
3583
|
})
|
|
3584
3584
|
) : null;
|
|
3585
|
-
return /* @__PURE__ */ e.createElement("div", { className:
|
|
3585
|
+
return /* @__PURE__ */ e.createElement("div", { className: P, ...p }, k(M));
|
|
3586
3586
|
}
|
|
3587
|
-
const
|
|
3587
|
+
const y = /* @__PURE__ */ e.createElement(
|
|
3588
3588
|
"button",
|
|
3589
3589
|
{
|
|
3590
|
-
"aria-disabled":
|
|
3591
|
-
className: v([`${
|
|
3592
|
-
onClick:
|
|
3590
|
+
"aria-disabled": c || r || m,
|
|
3591
|
+
className: v([`${u}__button`, w]),
|
|
3592
|
+
onClick: c ? void 0 : g,
|
|
3593
3593
|
type: "button",
|
|
3594
3594
|
...t
|
|
3595
3595
|
},
|
|
3596
|
-
|
|
3596
|
+
b(D)
|
|
3597
|
+
);
|
|
3598
|
+
return /* @__PURE__ */ e.createElement("div", { className: P, ...p }, k(y));
|
|
3599
|
+
}, G4 = ({
|
|
3600
|
+
background: t = "default",
|
|
3601
|
+
children: l,
|
|
3602
|
+
className: c,
|
|
3603
|
+
padding: a = "standard",
|
|
3604
|
+
...n
|
|
3605
|
+
}) => {
|
|
3606
|
+
const s = "pds-card", i = t !== "default" ? `${s}--${t}` : null, r = a !== "standard" ? `${s}--pad-${a}` : null, o = P2(l), m = o.image, d = o.__unslotted || o.main;
|
|
3607
|
+
return /* @__PURE__ */ e.createElement(
|
|
3608
|
+
"div",
|
|
3609
|
+
{
|
|
3610
|
+
className: v([
|
|
3611
|
+
s,
|
|
3612
|
+
i,
|
|
3613
|
+
r,
|
|
3614
|
+
c ?? ""
|
|
3615
|
+
]),
|
|
3616
|
+
...n
|
|
3617
|
+
},
|
|
3618
|
+
m && /* @__PURE__ */ e.createElement("div", { className: `${s}__image` }, m[0]),
|
|
3619
|
+
d && /* @__PURE__ */ e.createElement("div", { className: `${s}__main` }, d)
|
|
3597
3620
|
);
|
|
3598
|
-
|
|
3599
|
-
}, G4 = P2(
|
|
3621
|
+
}, W4 = k2(
|
|
3600
3622
|
({
|
|
3601
3623
|
className: t,
|
|
3602
3624
|
counterMaxLength: l,
|
|
3603
|
-
defaultValue:
|
|
3604
|
-
disabled:
|
|
3605
|
-
id:
|
|
3625
|
+
defaultValue: c,
|
|
3626
|
+
disabled: a = !1,
|
|
3627
|
+
id: n,
|
|
3606
3628
|
inputWidth: s,
|
|
3607
|
-
isResizable:
|
|
3629
|
+
isResizable: i = !0,
|
|
3608
3630
|
label: r,
|
|
3609
3631
|
message: o,
|
|
3610
3632
|
onBlur: m,
|
|
3611
|
-
onChange:
|
|
3612
|
-
onFocus:
|
|
3613
|
-
placeholder:
|
|
3633
|
+
onChange: d,
|
|
3634
|
+
onFocus: L,
|
|
3635
|
+
placeholder: g,
|
|
3614
3636
|
readonly: f = !1,
|
|
3615
|
-
required:
|
|
3616
|
-
rows:
|
|
3617
|
-
showLabel:
|
|
3618
|
-
size:
|
|
3619
|
-
textareaProps:
|
|
3620
|
-
tooltipText:
|
|
3637
|
+
required: p = !1,
|
|
3638
|
+
rows: u = 5,
|
|
3639
|
+
showLabel: w,
|
|
3640
|
+
size: C = "s",
|
|
3641
|
+
textareaProps: z,
|
|
3642
|
+
tooltipText: b = null,
|
|
3621
3643
|
translationStrings: D = {
|
|
3622
3644
|
clearButton: "Clear input text",
|
|
3623
3645
|
counterOverLimit: "Character limit exceeded by",
|
|
@@ -3626,115 +3648,115 @@ const d4 = {
|
|
|
3626
3648
|
visibilityToggleHide: "Hide input value",
|
|
3627
3649
|
visibilityToggleShow: "Show input value"
|
|
3628
3650
|
},
|
|
3629
|
-
validationMessage:
|
|
3630
|
-
validationStatus:
|
|
3631
|
-
value:
|
|
3632
|
-
...
|
|
3651
|
+
validationMessage: P,
|
|
3652
|
+
validationStatus: k,
|
|
3653
|
+
value: y,
|
|
3654
|
+
...M
|
|
3633
3655
|
}, S) => {
|
|
3634
|
-
const
|
|
3635
|
-
Q ?
|
|
3636
|
-
), T =
|
|
3637
|
-
r2 || s2(
|
|
3638
|
-
},
|
|
3639
|
-
m && m(
|
|
3656
|
+
const I = p1(s), N = "pds-textarea", _ = i ? "pds-is-resizable" : null, W = a ? X.disabled : null, Y = p && !a ? X.required : null, R = k === "error" ? X.error : null, i2 = k === "success" ? X.success : null, K = C !== "s" ? `${N}--${C}` : null, n2 = f ? X.readonly : null, Z = P || o, r2 = y != null && d !== void 0, Q = typeof c < "u", [o2, s2] = V(
|
|
3657
|
+
Q ? c : ""
|
|
3658
|
+
), T = y || o2, A = (U) => {
|
|
3659
|
+
r2 || s2(U.target.value), d && d(U);
|
|
3660
|
+
}, q = (U) => {
|
|
3661
|
+
m && m(U);
|
|
3640
3662
|
};
|
|
3641
3663
|
return /* @__PURE__ */ e.createElement(
|
|
3642
3664
|
"div",
|
|
3643
3665
|
{
|
|
3644
3666
|
className: v([
|
|
3645
3667
|
X.base,
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3668
|
+
N,
|
|
3669
|
+
K,
|
|
3670
|
+
W,
|
|
3649
3671
|
Y,
|
|
3650
|
-
|
|
3672
|
+
R,
|
|
3651
3673
|
i2,
|
|
3652
3674
|
n2,
|
|
3653
3675
|
t ?? ""
|
|
3654
3676
|
]),
|
|
3655
|
-
style: s ?
|
|
3656
|
-
...
|
|
3677
|
+
style: s ? I : null,
|
|
3678
|
+
...M
|
|
3657
3679
|
},
|
|
3658
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
3680
|
+
/* @__PURE__ */ e.createElement("div", { className: `${N}__inputlabel-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
3659
3681
|
z1,
|
|
3660
3682
|
{
|
|
3661
|
-
className: `${
|
|
3662
|
-
disabled:
|
|
3663
|
-
id:
|
|
3683
|
+
className: `${N}__inputlabel`,
|
|
3684
|
+
disabled: a,
|
|
3685
|
+
id: n,
|
|
3664
3686
|
label: r,
|
|
3665
|
-
required:
|
|
3666
|
-
showLabel:
|
|
3667
|
-
tooltipText:
|
|
3687
|
+
required: p,
|
|
3688
|
+
showLabel: w,
|
|
3689
|
+
tooltipText: b
|
|
3668
3690
|
}
|
|
3669
3691
|
), l && /* @__PURE__ */ e.createElement(
|
|
3670
3692
|
C1,
|
|
3671
3693
|
{
|
|
3672
3694
|
currentLength: T.length,
|
|
3673
|
-
id:
|
|
3695
|
+
id: n,
|
|
3674
3696
|
maxLength: l,
|
|
3675
3697
|
overLimitMessage: D.counterOverLimit
|
|
3676
3698
|
}
|
|
3677
3699
|
)),
|
|
3678
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
3700
|
+
/* @__PURE__ */ e.createElement("div", { className: `${N}__input-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
3679
3701
|
"textarea",
|
|
3680
3702
|
{
|
|
3681
3703
|
ref: S,
|
|
3682
|
-
"aria-describedby":
|
|
3683
|
-
"aria-invalid":
|
|
3684
|
-
className: v([`${
|
|
3685
|
-
disabled:
|
|
3686
|
-
id:
|
|
3687
|
-
name:
|
|
3688
|
-
onBlur:
|
|
3689
|
-
onChange:
|
|
3690
|
-
onFocus:
|
|
3691
|
-
placeholder:
|
|
3704
|
+
"aria-describedby": Z ? `${n}__message` : null,
|
|
3705
|
+
"aria-invalid": k === "error",
|
|
3706
|
+
className: v([`${N}--textarea`, _]),
|
|
3707
|
+
disabled: a,
|
|
3708
|
+
id: n,
|
|
3709
|
+
name: n,
|
|
3710
|
+
onBlur: q,
|
|
3711
|
+
onChange: A,
|
|
3712
|
+
onFocus: L,
|
|
3713
|
+
placeholder: g,
|
|
3692
3714
|
readOnly: f,
|
|
3693
|
-
required:
|
|
3694
|
-
rows:
|
|
3695
|
-
value: r2 ?
|
|
3696
|
-
...
|
|
3715
|
+
required: p,
|
|
3716
|
+
rows: u,
|
|
3717
|
+
value: r2 ? y : o2,
|
|
3718
|
+
...z
|
|
3697
3719
|
}
|
|
3698
3720
|
)),
|
|
3699
|
-
|
|
3721
|
+
Z && /* @__PURE__ */ e.createElement(
|
|
3700
3722
|
f1,
|
|
3701
3723
|
{
|
|
3702
3724
|
validationMessageHasDecorators: !0,
|
|
3703
|
-
hasValidationMessage: !!
|
|
3704
|
-
id:
|
|
3705
|
-
message:
|
|
3706
|
-
validationStatus:
|
|
3725
|
+
hasValidationMessage: !!P,
|
|
3726
|
+
id: n,
|
|
3727
|
+
message: Z,
|
|
3728
|
+
validationStatus: k
|
|
3707
3729
|
}
|
|
3708
3730
|
)
|
|
3709
3731
|
);
|
|
3710
3732
|
}
|
|
3711
|
-
), b4 = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"),
|
|
3733
|
+
), b4 = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), U4 = k2(
|
|
3712
3734
|
({
|
|
3713
3735
|
autoComplete: t,
|
|
3714
3736
|
className: l,
|
|
3715
|
-
counterMaxLength:
|
|
3716
|
-
defaultValue:
|
|
3717
|
-
disabled:
|
|
3737
|
+
counterMaxLength: c,
|
|
3738
|
+
defaultValue: a,
|
|
3739
|
+
disabled: n = !1,
|
|
3718
3740
|
hasClearButton: s = !1,
|
|
3719
|
-
hasSearchShortcut:
|
|
3741
|
+
hasSearchShortcut: i = !1,
|
|
3720
3742
|
hasUrlPrefix: r = !1,
|
|
3721
3743
|
id: o,
|
|
3722
3744
|
inputProps: m,
|
|
3723
|
-
inputWidth:
|
|
3724
|
-
label:
|
|
3725
|
-
message:
|
|
3745
|
+
inputWidth: d,
|
|
3746
|
+
label: L,
|
|
3747
|
+
message: g,
|
|
3726
3748
|
onBlur: f,
|
|
3727
|
-
onChange:
|
|
3728
|
-
onClear:
|
|
3729
|
-
onFocus:
|
|
3730
|
-
placeholder:
|
|
3731
|
-
readonly:
|
|
3732
|
-
required:
|
|
3749
|
+
onChange: p,
|
|
3750
|
+
onClear: u,
|
|
3751
|
+
onFocus: w,
|
|
3752
|
+
placeholder: C,
|
|
3753
|
+
readonly: z = !1,
|
|
3754
|
+
required: b = !1,
|
|
3733
3755
|
searchIcon: D = "search",
|
|
3734
|
-
showLabel:
|
|
3735
|
-
showVisibilityToggle:
|
|
3736
|
-
size:
|
|
3737
|
-
tooltipText:
|
|
3756
|
+
showLabel: P = !0,
|
|
3757
|
+
showVisibilityToggle: k = !1,
|
|
3758
|
+
size: y = "s",
|
|
3759
|
+
tooltipText: M = null,
|
|
3738
3760
|
translationStrings: S = {
|
|
3739
3761
|
clearButton: "Clear input text",
|
|
3740
3762
|
counterOverLimit: "Character limit exceeded by",
|
|
@@ -3743,106 +3765,106 @@ const d4 = {
|
|
|
3743
3765
|
visibilityToggleHide: "Hide input value",
|
|
3744
3766
|
visibilityToggleShow: "Show input value"
|
|
3745
3767
|
},
|
|
3746
|
-
type:
|
|
3747
|
-
validationMessage:
|
|
3748
|
-
validationStatus:
|
|
3749
|
-
value:
|
|
3768
|
+
type: I = "text",
|
|
3769
|
+
validationMessage: N,
|
|
3770
|
+
validationStatus: _,
|
|
3771
|
+
value: W,
|
|
3750
3772
|
...Y
|
|
3751
|
-
},
|
|
3752
|
-
const i2 = p1(
|
|
3753
|
-
let
|
|
3754
|
-
|
|
3755
|
-
const
|
|
3756
|
-
e2 ?
|
|
3757
|
-
), f2 =
|
|
3758
|
-
if (
|
|
3759
|
-
const t2 = l1(
|
|
3760
|
-
...
|
|
3773
|
+
}, R) => {
|
|
3774
|
+
const i2 = p1(d), K = "pds-text-input", n2 = n ? X.disabled : null, Z = b && !n ? X.required : null, r2 = _ === "error" ? X.error : null, Q = _ === "success" ? X.success : null, o2 = z ? X.readonly : null, s2 = y !== "s" ? `${K}--${y}` : null, T = r && I === "url" ? `${K}--has-url-prefix` : null;
|
|
3775
|
+
let A = null;
|
|
3776
|
+
I === "search" && (A = "search"), I === "search" && D === "filter" && (A = "filter"), _ === "error" && (A = "error"), _ === "success" && (A = "success");
|
|
3777
|
+
const q = N || g, U = typeof W < "u", e2 = typeof a < "u", [z2, u2] = V(
|
|
3778
|
+
e2 ? a : ""
|
|
3779
|
+
), f2 = W || z2, S2 = (F) => {
|
|
3780
|
+
if (k && m2 && L2(!1), r && I === "url") {
|
|
3781
|
+
const t2 = l1(F.target.value), M2 = {
|
|
3782
|
+
...F,
|
|
3761
3783
|
target: {
|
|
3762
|
-
...
|
|
3784
|
+
...F.target,
|
|
3763
3785
|
value: t2
|
|
3764
3786
|
}
|
|
3765
3787
|
};
|
|
3766
|
-
f && f(
|
|
3767
|
-
} else f && f(
|
|
3768
|
-
}, A2 = (
|
|
3769
|
-
if (r &&
|
|
3770
|
-
const t2 = l1(
|
|
3771
|
-
...
|
|
3788
|
+
f && f(M2);
|
|
3789
|
+
} else f && f(F);
|
|
3790
|
+
}, A2 = (F) => {
|
|
3791
|
+
if (r && I === "url") {
|
|
3792
|
+
const t2 = l1(F.target.value), M2 = {
|
|
3793
|
+
...F,
|
|
3772
3794
|
target: {
|
|
3773
|
-
...
|
|
3795
|
+
...F.target,
|
|
3774
3796
|
value: t2
|
|
3775
3797
|
}
|
|
3776
3798
|
};
|
|
3777
|
-
|
|
3799
|
+
U || u2(t2), p && p(M2);
|
|
3778
3800
|
} else
|
|
3779
|
-
|
|
3780
|
-
},
|
|
3781
|
-
|
|
3782
|
-
const
|
|
3783
|
-
|
|
3784
|
-
}, [m2, L2] =
|
|
3801
|
+
U || u2(F.target.value), p && p(F);
|
|
3802
|
+
}, I2 = () => {
|
|
3803
|
+
U || u2(""), u && u();
|
|
3804
|
+
const F = document.getElementById(o);
|
|
3805
|
+
F && F.focus();
|
|
3806
|
+
}, [m2, L2] = V(!1), C2 = () => {
|
|
3785
3807
|
L2((t2) => !t2);
|
|
3786
|
-
const
|
|
3787
|
-
|
|
3808
|
+
const F = document.getElementById(o);
|
|
3809
|
+
F && F.focus();
|
|
3788
3810
|
};
|
|
3789
|
-
let v2 =
|
|
3790
|
-
return
|
|
3811
|
+
let v2 = I;
|
|
3812
|
+
return k && I === "password" && (m2 ? v2 = "text" : v2 = "password"), /* @__PURE__ */ e.createElement(
|
|
3791
3813
|
"div",
|
|
3792
3814
|
{
|
|
3793
3815
|
className: v([
|
|
3794
3816
|
X.base,
|
|
3795
|
-
|
|
3817
|
+
K,
|
|
3796
3818
|
s2,
|
|
3797
3819
|
n2,
|
|
3798
|
-
|
|
3820
|
+
Z,
|
|
3799
3821
|
r2,
|
|
3800
3822
|
Q,
|
|
3801
3823
|
o2,
|
|
3802
3824
|
T,
|
|
3803
3825
|
l ?? ""
|
|
3804
3826
|
]),
|
|
3805
|
-
style:
|
|
3827
|
+
style: d ? i2 : null,
|
|
3806
3828
|
...Y
|
|
3807
3829
|
},
|
|
3808
3830
|
/* @__PURE__ */ e.createElement(
|
|
3809
3831
|
z1,
|
|
3810
3832
|
{
|
|
3811
|
-
disabled:
|
|
3833
|
+
disabled: n,
|
|
3812
3834
|
id: o,
|
|
3813
|
-
label:
|
|
3814
|
-
required:
|
|
3815
|
-
showLabel:
|
|
3816
|
-
tooltipText:
|
|
3835
|
+
label: L,
|
|
3836
|
+
required: b,
|
|
3837
|
+
showLabel: P,
|
|
3838
|
+
tooltipText: M
|
|
3817
3839
|
}
|
|
3818
3840
|
),
|
|
3819
|
-
|
|
3841
|
+
k && I === "password" && /* @__PURE__ */ e.createElement("div", { "aria-live": "polite", className: "visually-hidden" }, `${S.visibilityStatus} ${m2 ? "visible" : "hidden"}.`),
|
|
3820
3842
|
/* @__PURE__ */ e.createElement(
|
|
3821
3843
|
"div",
|
|
3822
3844
|
{
|
|
3823
|
-
className: `${
|
|
3845
|
+
className: `${K}__input-wrapper ${r && I === "url" ? `${K}__input-wrapper--has-prefix` : ""}`
|
|
3824
3846
|
},
|
|
3825
|
-
|
|
3826
|
-
r &&
|
|
3847
|
+
A && /* @__PURE__ */ e.createElement(L1, { variant: A }),
|
|
3848
|
+
r && I === "url" && /* @__PURE__ */ e.createElement(b4, null),
|
|
3827
3849
|
/* @__PURE__ */ e.createElement(
|
|
3828
3850
|
"input",
|
|
3829
3851
|
{
|
|
3830
|
-
ref:
|
|
3831
|
-
"aria-describedby":
|
|
3832
|
-
"aria-invalid":
|
|
3833
|
-
autoComplete:
|
|
3834
|
-
className: `${
|
|
3835
|
-
disabled:
|
|
3852
|
+
ref: R,
|
|
3853
|
+
"aria-describedby": q ? `${o}__message` : null,
|
|
3854
|
+
"aria-invalid": _ === "error" ? !0 : null,
|
|
3855
|
+
autoComplete: I === "password" ? "off" : t,
|
|
3856
|
+
className: `${K}__input ${r && I === "url" ? `${K}__input--has-prefix` : ""}`,
|
|
3857
|
+
disabled: n,
|
|
3836
3858
|
id: o,
|
|
3837
3859
|
name: o,
|
|
3838
|
-
onBlur:
|
|
3860
|
+
onBlur: S2,
|
|
3839
3861
|
onChange: A2,
|
|
3840
|
-
onFocus:
|
|
3841
|
-
placeholder:
|
|
3842
|
-
readOnly:
|
|
3843
|
-
required:
|
|
3862
|
+
onFocus: w,
|
|
3863
|
+
placeholder: C,
|
|
3864
|
+
readOnly: z,
|
|
3865
|
+
required: b,
|
|
3844
3866
|
type: v2,
|
|
3845
|
-
value:
|
|
3867
|
+
value: U ? W : z2,
|
|
3846
3868
|
...m
|
|
3847
3869
|
}
|
|
3848
3870
|
),
|
|
@@ -3850,47 +3872,47 @@ const d4 = {
|
|
|
3850
3872
|
o4,
|
|
3851
3873
|
{
|
|
3852
3874
|
clearLabel: S.clearButton,
|
|
3853
|
-
handleClearInput:
|
|
3875
|
+
handleClearInput: I2,
|
|
3854
3876
|
id: o
|
|
3855
3877
|
}
|
|
3856
3878
|
),
|
|
3857
|
-
|
|
3879
|
+
k && I === "password" && /* @__PURE__ */ e.createElement(
|
|
3858
3880
|
"button",
|
|
3859
3881
|
{
|
|
3860
3882
|
"aria-controls": o,
|
|
3861
|
-
className: `${
|
|
3883
|
+
className: `${K}__visibility-toggle`,
|
|
3862
3884
|
onClick: C2,
|
|
3863
|
-
onMouseDown: (
|
|
3885
|
+
onMouseDown: (F) => F.preventDefault(),
|
|
3864
3886
|
title: m2 ? S.visibilityToggleHide : S.visibilityToggleShow,
|
|
3865
3887
|
type: "button"
|
|
3866
3888
|
},
|
|
3867
|
-
/* @__PURE__ */ e.createElement(
|
|
3889
|
+
/* @__PURE__ */ e.createElement(O, { iconName: m2 ? "eyeSlash" : "eye", iconSize: "m" })
|
|
3868
3890
|
),
|
|
3869
|
-
|
|
3891
|
+
i && I === "search" && !f2 && /* @__PURE__ */ e.createElement(
|
|
3870
3892
|
r4,
|
|
3871
3893
|
{
|
|
3872
3894
|
inputId: o,
|
|
3873
3895
|
shortcutLabel: S.searchShortcut
|
|
3874
3896
|
}
|
|
3875
3897
|
),
|
|
3876
|
-
|
|
3898
|
+
c && I !== "password" && /* @__PURE__ */ e.createElement(
|
|
3877
3899
|
C1,
|
|
3878
3900
|
{
|
|
3879
3901
|
currentLength: f2.length,
|
|
3880
3902
|
id: o,
|
|
3881
|
-
maxLength:
|
|
3903
|
+
maxLength: c,
|
|
3882
3904
|
overLimitMessage: S.counterOverLimit
|
|
3883
3905
|
}
|
|
3884
3906
|
)
|
|
3885
3907
|
),
|
|
3886
|
-
|
|
3908
|
+
q && /* @__PURE__ */ e.createElement(
|
|
3887
3909
|
f1,
|
|
3888
3910
|
{
|
|
3889
|
-
hasValidationMessage: !!
|
|
3911
|
+
hasValidationMessage: !!N,
|
|
3890
3912
|
id: o,
|
|
3891
|
-
message:
|
|
3913
|
+
message: q,
|
|
3892
3914
|
validationMessageHasDecorators: !1,
|
|
3893
|
-
validationStatus:
|
|
3915
|
+
validationStatus: _
|
|
3894
3916
|
}
|
|
3895
3917
|
)
|
|
3896
3918
|
);
|
|
@@ -3906,78 +3928,78 @@ const d4 = {
|
|
|
3906
3928
|
return !0;
|
|
3907
3929
|
}
|
|
3908
3930
|
return !1;
|
|
3909
|
-
},
|
|
3931
|
+
}, K4 = ({
|
|
3910
3932
|
ariaLabel: t,
|
|
3911
3933
|
className: l,
|
|
3912
|
-
menuItems:
|
|
3913
|
-
size:
|
|
3914
|
-
...
|
|
3934
|
+
menuItems: c,
|
|
3935
|
+
size: a = "s",
|
|
3936
|
+
...n
|
|
3915
3937
|
}) => {
|
|
3916
3938
|
let s = !1;
|
|
3917
|
-
const
|
|
3918
|
-
|
|
3919
|
-
const r = J(null), o = "pds-button-nav", m = s ? `${o}--isMobile` : null,
|
|
3939
|
+
const i = D2(N2);
|
|
3940
|
+
i && (s = i.isMobile);
|
|
3941
|
+
const r = J(null), o = "pds-button-nav", m = s ? `${o}--isMobile` : null, d = `${o}--${a}`;
|
|
3920
3942
|
l2(() => {
|
|
3921
|
-
const
|
|
3943
|
+
const u = (w) => {
|
|
3922
3944
|
if (s) return;
|
|
3923
|
-
const
|
|
3924
|
-
if (!
|
|
3925
|
-
const
|
|
3926
|
-
|
|
3945
|
+
const C = r.current;
|
|
3946
|
+
if (!C) return;
|
|
3947
|
+
const z = Array.from(
|
|
3948
|
+
C.querySelectorAll('a, button, [tabindex]:not([tabindex="-1"])')
|
|
3927
3949
|
);
|
|
3928
|
-
if (
|
|
3929
|
-
const
|
|
3950
|
+
if (z.length === 0) return;
|
|
3951
|
+
const b = document.activeElement, D = z.indexOf(b);
|
|
3930
3952
|
if (D !== -1) {
|
|
3931
|
-
if (
|
|
3932
|
-
|
|
3933
|
-
const
|
|
3934
|
-
|
|
3935
|
-
} else if (
|
|
3936
|
-
|
|
3937
|
-
const
|
|
3938
|
-
|
|
3953
|
+
if (w.key === "ArrowRight") {
|
|
3954
|
+
w.preventDefault();
|
|
3955
|
+
const P = (D + 1) % z.length;
|
|
3956
|
+
z[P].focus();
|
|
3957
|
+
} else if (w.key === "ArrowLeft") {
|
|
3958
|
+
w.preventDefault();
|
|
3959
|
+
const P = (D - 1 + z.length) % z.length;
|
|
3960
|
+
z[P].focus();
|
|
3939
3961
|
}
|
|
3940
3962
|
}
|
|
3941
3963
|
};
|
|
3942
|
-
return document.addEventListener("keydown",
|
|
3943
|
-
document.removeEventListener("keydown",
|
|
3964
|
+
return document.addEventListener("keydown", u), () => {
|
|
3965
|
+
document.removeEventListener("keydown", u);
|
|
3944
3966
|
};
|
|
3945
3967
|
}, [s]);
|
|
3946
|
-
const
|
|
3947
|
-
const
|
|
3968
|
+
const L = ({ isActive: u, linkContent: w }) => {
|
|
3969
|
+
const C = `${o}__item`;
|
|
3948
3970
|
return /* @__PURE__ */ e.createElement(
|
|
3949
3971
|
"li",
|
|
3950
3972
|
{
|
|
3951
3973
|
className: v([
|
|
3952
|
-
|
|
3953
|
-
|
|
3974
|
+
C,
|
|
3975
|
+
u ? `${C}--active` : null
|
|
3954
3976
|
])
|
|
3955
3977
|
},
|
|
3956
|
-
|
|
3978
|
+
w
|
|
3957
3979
|
);
|
|
3958
|
-
},
|
|
3959
|
-
|
|
3980
|
+
}, g = c.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, c.map((u, w) => /* @__PURE__ */ e.createElement(
|
|
3981
|
+
L,
|
|
3960
3982
|
{
|
|
3961
|
-
key:
|
|
3962
|
-
isActive: X2(
|
|
3963
|
-
linkContent:
|
|
3983
|
+
key: w,
|
|
3984
|
+
isActive: X2(u),
|
|
3985
|
+
linkContent: u.linkContent
|
|
3964
3986
|
}
|
|
3965
3987
|
))) : null, f = [];
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
linkContent:
|
|
3988
|
+
c.map((u) => {
|
|
3989
|
+
u.linkContent && (X2(u) ? f.unshift({
|
|
3990
|
+
linkContent: u.linkContent,
|
|
3969
3991
|
isLink: !0
|
|
3970
3992
|
}) : f.push({
|
|
3971
|
-
linkContent:
|
|
3993
|
+
linkContent: u.linkContent,
|
|
3972
3994
|
isLink: !0
|
|
3973
3995
|
}));
|
|
3974
3996
|
});
|
|
3975
|
-
const
|
|
3997
|
+
const p = f.length > 0 ? /* @__PURE__ */ e.createElement(
|
|
3976
3998
|
v4,
|
|
3977
3999
|
{
|
|
3978
4000
|
actionItems: f,
|
|
3979
4001
|
id: "mobile-nav-split-button",
|
|
3980
|
-
size:
|
|
4002
|
+
size: a,
|
|
3981
4003
|
variant: "secondary"
|
|
3982
4004
|
}
|
|
3983
4005
|
) : null;
|
|
@@ -3988,96 +4010,97 @@ const d4 = {
|
|
|
3988
4010
|
"aria-label": t,
|
|
3989
4011
|
className: v([
|
|
3990
4012
|
o,
|
|
3991
|
-
|
|
4013
|
+
d,
|
|
3992
4014
|
m,
|
|
3993
4015
|
l ?? ""
|
|
3994
4016
|
]),
|
|
3995
|
-
...
|
|
4017
|
+
...n
|
|
3996
4018
|
},
|
|
3997
|
-
s ?
|
|
4019
|
+
s ? p : g
|
|
3998
4020
|
);
|
|
3999
4021
|
}, y4 = {
|
|
4000
4022
|
info: "circleInfo",
|
|
4001
4023
|
warning: "triangleExclamation",
|
|
4002
4024
|
critical: "diamondExclamation",
|
|
4003
4025
|
discovery: "bullhorn"
|
|
4004
|
-
}, G2 = 200, $4 = 50,
|
|
4026
|
+
}, G2 = 200, $4 = 50, X4 = ({
|
|
4005
4027
|
banners: t,
|
|
4006
4028
|
className: l,
|
|
4029
|
+
dataContext: c = "product",
|
|
4007
4030
|
dismissLabel: a = "Dismiss",
|
|
4008
|
-
labelNext:
|
|
4009
|
-
labelPrevious:
|
|
4010
|
-
typeLabels:
|
|
4011
|
-
...
|
|
4031
|
+
labelNext: n = "Go to next message",
|
|
4032
|
+
labelPrevious: s = "Go to previous message",
|
|
4033
|
+
typeLabels: i = { ...Q2, neutral: "Notice" },
|
|
4034
|
+
...r
|
|
4012
4035
|
}) => {
|
|
4013
|
-
const [
|
|
4036
|
+
const o = c === "marketing", [m, d] = V(t), [L, g] = V(null), [f, p] = V(null), [u, w] = V({});
|
|
4014
4037
|
l2(() => {
|
|
4015
|
-
|
|
4038
|
+
d(t);
|
|
4016
4039
|
}, [t]);
|
|
4017
|
-
const
|
|
4018
|
-
if (
|
|
4040
|
+
const C = m.length;
|
|
4041
|
+
if (C === 0)
|
|
4019
4042
|
return null;
|
|
4020
|
-
const
|
|
4021
|
-
critical: `${
|
|
4022
|
-
discovery: `${
|
|
4023
|
-
info: `${
|
|
4024
|
-
neutral: `${
|
|
4025
|
-
warning: `${
|
|
4026
|
-
},
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
...
|
|
4030
|
-
|
|
4031
|
-
]),
|
|
4043
|
+
const z = "pds-banner", b = C > 1 ? `${z}-group--multiple` : null, D = {
|
|
4044
|
+
critical: `${z}--critical`,
|
|
4045
|
+
discovery: `${z}--discovery`,
|
|
4046
|
+
info: `${z}--info`,
|
|
4047
|
+
neutral: `${z}--neutral`,
|
|
4048
|
+
warning: `${z}--warning`
|
|
4049
|
+
}, P = m[0].type, k = P ? `${z}-group--${P}` : null, y = (_) => R2 - _, M = (_) => _ === 0 ? 0 : -1, S = () => {
|
|
4050
|
+
g(m[0].id), setTimeout(() => {
|
|
4051
|
+
d((_) => [
|
|
4052
|
+
..._.slice(1),
|
|
4053
|
+
_[0]
|
|
4054
|
+
]), g(null);
|
|
4032
4055
|
}, G2);
|
|
4033
|
-
},
|
|
4034
|
-
|
|
4035
|
-
[
|
|
4036
|
-
[
|
|
4056
|
+
}, I = () => {
|
|
4057
|
+
w({
|
|
4058
|
+
[m[0].id]: R2 + 2,
|
|
4059
|
+
[m[C - 1].id]: R2 + 1
|
|
4037
4060
|
}), setTimeout(() => {
|
|
4038
|
-
|
|
4061
|
+
g(m[0].id);
|
|
4039
4062
|
}, $4), setTimeout(() => {
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
...
|
|
4043
|
-
]),
|
|
4063
|
+
d((_) => [
|
|
4064
|
+
_[_.length - 1],
|
|
4065
|
+
..._.slice(0, _.length - 1)
|
|
4066
|
+
]), g(null), w({});
|
|
4044
4067
|
}, G2);
|
|
4045
|
-
},
|
|
4046
|
-
const { iconName:
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
(
|
|
4068
|
+
}, N = (_, W) => {
|
|
4069
|
+
const { iconName: Y, id: R, isDismissible: i2, message: K, onDismiss: n2, type: Z } = _, r2 = Z === "critical" ? "alert" : "status", Q = `${i[Z]}: `, o2 = (T) => {
|
|
4070
|
+
T.preventDefault(), p(R), setTimeout(() => {
|
|
4071
|
+
n2?.(), p(null), d((A) => A.filter(
|
|
4072
|
+
(U) => U.id !== R
|
|
4050
4073
|
));
|
|
4051
4074
|
}, G2);
|
|
4052
|
-
},
|
|
4075
|
+
}, s2 = u[R] ?? y(W);
|
|
4053
4076
|
return /* @__PURE__ */ e.createElement(
|
|
4054
4077
|
"div",
|
|
4055
4078
|
{
|
|
4056
|
-
key:
|
|
4079
|
+
key: R,
|
|
4057
4080
|
className: v([
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4081
|
+
z,
|
|
4082
|
+
D[Z],
|
|
4083
|
+
L === R ? `${z}--fading` : null,
|
|
4084
|
+
f === R ? `${z}--dismissing` : null
|
|
4062
4085
|
]),
|
|
4063
|
-
id:
|
|
4064
|
-
role:
|
|
4065
|
-
style: { zIndex:
|
|
4086
|
+
id: R,
|
|
4087
|
+
role: r2,
|
|
4088
|
+
style: { zIndex: s2 }
|
|
4066
4089
|
},
|
|
4067
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
4068
|
-
|
|
4090
|
+
/* @__PURE__ */ e.createElement("div", { className: `${z}__content` }, /* @__PURE__ */ e.createElement(
|
|
4091
|
+
O,
|
|
4069
4092
|
{
|
|
4070
|
-
className: `${
|
|
4071
|
-
iconName: Z === "neutral" ?
|
|
4072
|
-
iconSize: "m"
|
|
4093
|
+
className: `${z}__icon ${z}__icon--${_.type}`,
|
|
4094
|
+
iconName: Z === "neutral" ? Y : y4[Z],
|
|
4095
|
+
iconSize: o ? "l" : "m"
|
|
4073
4096
|
}
|
|
4074
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
4075
|
-
|
|
4097
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${z}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, Q, " "), K)),
|
|
4098
|
+
i2 && /* @__PURE__ */ e.createElement(
|
|
4076
4099
|
"button",
|
|
4077
4100
|
{
|
|
4078
|
-
className: `${
|
|
4079
|
-
onClick:
|
|
4080
|
-
tabIndex:
|
|
4101
|
+
className: `${z}__dismiss-button`,
|
|
4102
|
+
onClick: o2,
|
|
4103
|
+
tabIndex: M(W),
|
|
4081
4104
|
type: "button"
|
|
4082
4105
|
},
|
|
4083
4106
|
a
|
|
@@ -4088,72 +4111,73 @@ const d4 = {
|
|
|
4088
4111
|
"div",
|
|
4089
4112
|
{
|
|
4090
4113
|
className: v([
|
|
4091
|
-
`${
|
|
4092
|
-
|
|
4093
|
-
|
|
4114
|
+
`${z}-group`,
|
|
4115
|
+
k,
|
|
4116
|
+
b,
|
|
4094
4117
|
l ?? ""
|
|
4095
4118
|
]),
|
|
4096
|
-
|
|
4119
|
+
"data-context": c,
|
|
4120
|
+
...r
|
|
4097
4121
|
},
|
|
4098
|
-
|
|
4099
|
-
|
|
4122
|
+
C > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${z}__navigation` }, /* @__PURE__ */ e.createElement(
|
|
4123
|
+
j2,
|
|
4100
4124
|
{
|
|
4101
|
-
ariaLabel:
|
|
4102
|
-
className: `${
|
|
4125
|
+
ariaLabel: s,
|
|
4126
|
+
className: `${z}__nav-button ${z}__nav-button--prev`,
|
|
4103
4127
|
iconName: "angleLeft",
|
|
4104
|
-
onClick:
|
|
4128
|
+
onClick: I,
|
|
4105
4129
|
size: "m"
|
|
4106
4130
|
}
|
|
4107
4131
|
), /* @__PURE__ */ e.createElement(
|
|
4108
|
-
|
|
4132
|
+
j2,
|
|
4109
4133
|
{
|
|
4110
|
-
ariaLabel:
|
|
4111
|
-
className: `${
|
|
4134
|
+
ariaLabel: n,
|
|
4135
|
+
className: `${z}__nav-button ${z}__nav-button--next`,
|
|
4112
4136
|
iconName: "angleRight",
|
|
4113
|
-
onClick:
|
|
4137
|
+
onClick: S,
|
|
4114
4138
|
size: "m"
|
|
4115
4139
|
}
|
|
4116
|
-
),
|
|
4140
|
+
), m.map((_, W) => N(_, W))) : N(m[0], 0)
|
|
4117
4141
|
);
|
|
4118
4142
|
}, W2 = {
|
|
4119
4143
|
info: "circleInfo",
|
|
4120
4144
|
warning: "triangleExclamation",
|
|
4121
4145
|
success: "circleCheck",
|
|
4122
4146
|
critical: "diamondExclamation"
|
|
4123
|
-
},
|
|
4147
|
+
}, Y4 = ({
|
|
4124
4148
|
className: t,
|
|
4125
4149
|
message: l,
|
|
4126
|
-
title:
|
|
4127
|
-
type:
|
|
4128
|
-
typeLabels:
|
|
4150
|
+
title: c,
|
|
4151
|
+
type: a,
|
|
4152
|
+
typeLabels: n = {
|
|
4129
4153
|
...Q2,
|
|
4130
4154
|
working: "Working"
|
|
4131
4155
|
},
|
|
4132
4156
|
...s
|
|
4133
4157
|
}) => {
|
|
4134
|
-
const
|
|
4135
|
-
error: `${
|
|
4136
|
-
success: `${
|
|
4137
|
-
warning: `${
|
|
4138
|
-
info: `${
|
|
4139
|
-
critical: `${
|
|
4140
|
-
working: `${
|
|
4141
|
-
}, o =
|
|
4158
|
+
const i = "pds-inline-message", r = {
|
|
4159
|
+
error: `${i}--error`,
|
|
4160
|
+
success: `${i}--success`,
|
|
4161
|
+
warning: `${i}--warning`,
|
|
4162
|
+
info: `${i}--info`,
|
|
4163
|
+
critical: `${i}--critical`,
|
|
4164
|
+
working: `${i}--working`
|
|
4165
|
+
}, o = a === "critical" ? "alert" : "status", m = `${n[a]}: `, d = typeof l == "string" ? /* @__PURE__ */ e.createElement("p", null, l) : l;
|
|
4142
4166
|
return /* @__PURE__ */ e.createElement(
|
|
4143
4167
|
"div",
|
|
4144
4168
|
{
|
|
4145
|
-
className: v([
|
|
4169
|
+
className: v([i, r[a], t ?? ""]),
|
|
4146
4170
|
role: o,
|
|
4147
4171
|
...s
|
|
4148
4172
|
},
|
|
4149
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
4150
|
-
|
|
4173
|
+
/* @__PURE__ */ e.createElement("div", { className: `${i}__icon ${i}__icon-${a}` }, a === "working" ? /* @__PURE__ */ e.createElement(x2, { colorType: "monochromatic", size: "m" }) : /* @__PURE__ */ e.createElement(
|
|
4174
|
+
O,
|
|
4151
4175
|
{
|
|
4152
|
-
iconName: `${
|
|
4176
|
+
iconName: `${a}` in W2 ? W2[a] : W2.info,
|
|
4153
4177
|
iconSize: "m"
|
|
4154
4178
|
}
|
|
4155
4179
|
)),
|
|
4156
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
4180
|
+
/* @__PURE__ */ e.createElement("div", { className: `${i}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m), /* @__PURE__ */ e.createElement("div", { className: `${i}__title` }, c), /* @__PURE__ */ e.createElement("div", { className: `${i}__message` }, d))
|
|
4157
4181
|
);
|
|
4158
4182
|
}, U2 = {
|
|
4159
4183
|
info: "circleInfo",
|
|
@@ -4161,76 +4185,78 @@ const d4 = {
|
|
|
4161
4185
|
success: "circleCheck",
|
|
4162
4186
|
critical: "diamondExclamation",
|
|
4163
4187
|
discovery: "squareQuestion"
|
|
4164
|
-
},
|
|
4188
|
+
}, Q4 = ({
|
|
4165
4189
|
className: t,
|
|
4166
4190
|
ctaButton: l,
|
|
4191
|
+
dataContext: c = "product",
|
|
4167
4192
|
dismissLabel: a = "Dismiss",
|
|
4168
|
-
id:
|
|
4169
|
-
isDismissible:
|
|
4170
|
-
message:
|
|
4171
|
-
onDismiss:
|
|
4172
|
-
title:
|
|
4173
|
-
type:
|
|
4174
|
-
typeLabels:
|
|
4175
|
-
...
|
|
4193
|
+
id: n,
|
|
4194
|
+
isDismissible: s,
|
|
4195
|
+
message: i,
|
|
4196
|
+
onDismiss: r,
|
|
4197
|
+
title: o,
|
|
4198
|
+
type: m = "info",
|
|
4199
|
+
typeLabels: d = Q2,
|
|
4200
|
+
...L
|
|
4176
4201
|
}) => {
|
|
4177
|
-
const
|
|
4178
|
-
error: `${
|
|
4179
|
-
success: `${
|
|
4180
|
-
warning: `${
|
|
4181
|
-
info: `${
|
|
4182
|
-
critical: `${
|
|
4183
|
-
discovery: `${
|
|
4184
|
-
dismissing: `${
|
|
4185
|
-
dismissed: `${
|
|
4186
|
-
},
|
|
4187
|
-
|
|
4202
|
+
const g = c === "marketing", f = J(null), p = "pds-section-message", u = {
|
|
4203
|
+
error: `${p}--error`,
|
|
4204
|
+
success: `${p}--success`,
|
|
4205
|
+
warning: `${p}--warning`,
|
|
4206
|
+
info: `${p}--info`,
|
|
4207
|
+
critical: `${p}--critical`,
|
|
4208
|
+
discovery: `${p}--discovery`,
|
|
4209
|
+
dismissing: `${p}--dismissing`,
|
|
4210
|
+
dismissed: `${p}--dismissed`
|
|
4211
|
+
}, w = s ? `${p}--hasDismiss` : null, C = o ? `${p}--hasTitle` : null, z = m === "critical" ? "alert" : "status", b = `${d[m]}: `, D = typeof i == "string" ? /* @__PURE__ */ e.createElement("p", null, i) : i, P = () => {
|
|
4212
|
+
f.current.addEventListener("animationend", k, {
|
|
4188
4213
|
once: !0
|
|
4189
4214
|
});
|
|
4190
|
-
},
|
|
4191
|
-
|
|
4192
|
-
},
|
|
4193
|
-
|
|
4194
|
-
|
|
4215
|
+
}, k = (M) => {
|
|
4216
|
+
r(M, n);
|
|
4217
|
+
}, y = () => {
|
|
4218
|
+
P(), f.current.classList.toggle(u.dismissing), setTimeout(() => {
|
|
4219
|
+
f.current.classList.toggle(u.dismissing), f.current.classList.toggle(u.dismissed);
|
|
4195
4220
|
}, 400);
|
|
4196
4221
|
};
|
|
4197
4222
|
return /* @__PURE__ */ e.createElement(
|
|
4198
4223
|
"div",
|
|
4199
4224
|
{
|
|
4200
|
-
ref:
|
|
4225
|
+
ref: f,
|
|
4201
4226
|
className: v([
|
|
4202
|
-
|
|
4203
|
-
|
|
4227
|
+
p,
|
|
4228
|
+
u[m],
|
|
4229
|
+
w,
|
|
4204
4230
|
C,
|
|
4205
|
-
g,
|
|
4206
4231
|
t ?? ""
|
|
4207
4232
|
]),
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4233
|
+
"data-context": c,
|
|
4234
|
+
id: n,
|
|
4235
|
+
role: z,
|
|
4236
|
+
...L
|
|
4211
4237
|
},
|
|
4212
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
4213
|
-
|
|
4238
|
+
/* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__icon ${p}__icon-${m}` }, /* @__PURE__ */ e.createElement(
|
|
4239
|
+
O,
|
|
4214
4240
|
{
|
|
4215
|
-
iconName: `${
|
|
4216
|
-
iconSize: "m"
|
|
4241
|
+
iconName: `${m}` in U2 ? U2[m] : U2.info,
|
|
4242
|
+
iconSize: g ? "l" : "m"
|
|
4217
4243
|
}
|
|
4218
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
4219
|
-
(l ||
|
|
4244
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${p}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, b), o && /* @__PURE__ */ e.createElement("div", { className: `${p}__title` }, o), /* @__PURE__ */ e.createElement("div", { className: `${p}__message` }, D))),
|
|
4245
|
+
(l || s) && /* @__PURE__ */ e.createElement("div", { className: `${p}__actions` }, l && /* @__PURE__ */ e.createElement(
|
|
4220
4246
|
B2,
|
|
4221
4247
|
{
|
|
4222
4248
|
...l,
|
|
4223
|
-
className: `${
|
|
4224
|
-
size: "s",
|
|
4249
|
+
className: `${p}__cta`,
|
|
4250
|
+
size: g ? "m" : "s",
|
|
4225
4251
|
variant: "secondary"
|
|
4226
4252
|
}
|
|
4227
|
-
),
|
|
4253
|
+
), s && /* @__PURE__ */ e.createElement(
|
|
4228
4254
|
v1,
|
|
4229
4255
|
{
|
|
4230
4256
|
ariaLabel: a,
|
|
4231
|
-
className: `${
|
|
4232
|
-
onClick:
|
|
4233
|
-
size: "l"
|
|
4257
|
+
className: `${p}__dismiss`,
|
|
4258
|
+
onClick: y,
|
|
4259
|
+
size: g ? "xl" : "l"
|
|
4234
4260
|
}
|
|
4235
4261
|
))
|
|
4236
4262
|
);
|
|
@@ -4245,37 +4271,37 @@ const d4 = {
|
|
|
4245
4271
|
warning: "Warning",
|
|
4246
4272
|
critical: "Critical",
|
|
4247
4273
|
working: "Working..."
|
|
4248
|
-
},
|
|
4274
|
+
}, k4 = ({
|
|
4249
4275
|
children: t,
|
|
4250
4276
|
className: l,
|
|
4251
|
-
id:
|
|
4252
|
-
type:
|
|
4253
|
-
typeLabels:
|
|
4277
|
+
id: c,
|
|
4278
|
+
type: a = "info",
|
|
4279
|
+
typeLabels: n = D4
|
|
4254
4280
|
}) => {
|
|
4255
|
-
const s = "pds-toast",
|
|
4281
|
+
const s = "pds-toast", i = {
|
|
4256
4282
|
critical: `${s}--critical`,
|
|
4257
4283
|
info: `${s}--info`,
|
|
4258
4284
|
success: `${s}--success`,
|
|
4259
4285
|
warning: `${s}--warning`,
|
|
4260
4286
|
working: `${s}--working`
|
|
4261
|
-
}, r = `${
|
|
4287
|
+
}, r = `${n[a]} `;
|
|
4262
4288
|
return /* @__PURE__ */ e.createElement(
|
|
4263
4289
|
"div",
|
|
4264
4290
|
{
|
|
4265
|
-
className: v([s,
|
|
4266
|
-
id:
|
|
4291
|
+
className: v([s, i[a], l]),
|
|
4292
|
+
id: c
|
|
4267
4293
|
},
|
|
4268
|
-
/* @__PURE__ */ e.createElement("div", { className: `${s}__icon-container` },
|
|
4269
|
-
|
|
4294
|
+
/* @__PURE__ */ e.createElement("div", { className: `${s}__icon-container` }, a === "working" ? /* @__PURE__ */ e.createElement(x2, { colorType: "monochromatic-reverse", size: "l" }) : /* @__PURE__ */ e.createElement(
|
|
4295
|
+
O,
|
|
4270
4296
|
{
|
|
4271
|
-
className: `${s}__icon ${s}__icon--${
|
|
4272
|
-
iconName: _4[
|
|
4297
|
+
className: `${s}__icon ${s}__icon--${a}`,
|
|
4298
|
+
iconName: _4[a],
|
|
4273
4299
|
iconSize: "m"
|
|
4274
4300
|
}
|
|
4275
4301
|
)),
|
|
4276
4302
|
/* @__PURE__ */ e.createElement("div", { className: `${s}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r), t)
|
|
4277
4303
|
);
|
|
4278
|
-
},
|
|
4304
|
+
}, P4 = ({
|
|
4279
4305
|
ariaLabel: t,
|
|
4280
4306
|
closeToast: l
|
|
4281
4307
|
}) => /* @__PURE__ */ e.createElement(
|
|
@@ -4283,14 +4309,17 @@ const d4 = {
|
|
|
4283
4309
|
{
|
|
4284
4310
|
ariaLabel: t || "Close",
|
|
4285
4311
|
className: "pds-toaster__close-button",
|
|
4286
|
-
onClick: () =>
|
|
4287
|
-
|
|
4312
|
+
onClick: (c) => {
|
|
4313
|
+
c.stopPropagation(), l(c);
|
|
4314
|
+
},
|
|
4315
|
+
size: "l",
|
|
4316
|
+
tabIndex: 0
|
|
4288
4317
|
}
|
|
4289
|
-
),
|
|
4290
|
-
autoCloseDuration: t =
|
|
4318
|
+
), J4 = ({
|
|
4319
|
+
autoCloseDuration: t = !1,
|
|
4291
4320
|
className: l,
|
|
4292
|
-
limit:
|
|
4293
|
-
position:
|
|
4321
|
+
limit: c = 5,
|
|
4322
|
+
position: a = "bottom-right"
|
|
4294
4323
|
}) => {
|
|
4295
4324
|
const s = v(["pds-toaster", l]);
|
|
4296
4325
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -4299,68 +4328,63 @@ const d4 = {
|
|
|
4299
4328
|
newestOnTop: !0,
|
|
4300
4329
|
autoClose: t,
|
|
4301
4330
|
className: s,
|
|
4302
|
-
closeButton:
|
|
4331
|
+
closeButton: P4,
|
|
4303
4332
|
draggable: !1,
|
|
4304
4333
|
icon: !1,
|
|
4305
|
-
limit:
|
|
4306
|
-
position:
|
|
4334
|
+
limit: c,
|
|
4335
|
+
position: a,
|
|
4307
4336
|
role: "status",
|
|
4308
4337
|
transition: O1
|
|
4309
4338
|
}
|
|
4310
4339
|
);
|
|
4311
4340
|
};
|
|
4312
4341
|
var x4 = /* @__PURE__ */ ((t) => (t.Critical = "critical", t.Info = "info", t.Success = "success", t.Warning = "warning", t.Working = "working", t))(x4 || {});
|
|
4313
|
-
const
|
|
4314
|
-
const t = (
|
|
4315
|
-
const s = /* @__PURE__ */ e.createElement(
|
|
4316
|
-
let
|
|
4317
|
-
...
|
|
4342
|
+
const e0 = () => {
|
|
4343
|
+
const t = (c, a, n = {}) => {
|
|
4344
|
+
const s = /* @__PURE__ */ e.createElement(k4, { type: c }, a);
|
|
4345
|
+
let i = {
|
|
4346
|
+
...n
|
|
4318
4347
|
};
|
|
4319
|
-
return
|
|
4320
|
-
...
|
|
4321
|
-
autoClose: !1,
|
|
4348
|
+
return c === "critical" && (i = {
|
|
4349
|
+
...i,
|
|
4322
4350
|
role: "alert"
|
|
4323
|
-
}),
|
|
4324
|
-
...
|
|
4325
|
-
autoClose: !1
|
|
4326
|
-
}), a === "working" && (n = {
|
|
4327
|
-
...n,
|
|
4328
|
-
autoClose: !1,
|
|
4351
|
+
}), c === "working" && (i = {
|
|
4352
|
+
...i,
|
|
4329
4353
|
closeButton: !1,
|
|
4330
4354
|
closeOnClick: !1
|
|
4331
|
-
}), e1(s,
|
|
4355
|
+
}), e1(s, i);
|
|
4332
4356
|
}, l = H1({
|
|
4333
4357
|
collapse: !1,
|
|
4334
4358
|
enter: "pds-toast--bounceInPlace",
|
|
4335
4359
|
exit: "pds-toast--slideOut"
|
|
4336
4360
|
});
|
|
4337
4361
|
return [t, e1, l];
|
|
4338
|
-
},
|
|
4362
|
+
}, t0 = ({
|
|
4339
4363
|
children: t,
|
|
4340
4364
|
className: l,
|
|
4341
|
-
expandButtonAriaLabel:
|
|
4342
|
-
isExpandable:
|
|
4343
|
-
...
|
|
4365
|
+
expandButtonAriaLabel: c,
|
|
4366
|
+
isExpandable: a = !1,
|
|
4367
|
+
...n
|
|
4344
4368
|
}) => {
|
|
4345
|
-
const s = "pds-panel-row", [
|
|
4346
|
-
const
|
|
4347
|
-
if (!
|
|
4348
|
-
const
|
|
4349
|
-
r(
|
|
4369
|
+
const s = "pds-panel-row", [i, r] = V(!1), o = J(null), m = J(null), d = P2(t), L = d["items-left"], g = d["items-right"], f = d["items-below"], p = () => {
|
|
4370
|
+
const u = m.current, w = o.current;
|
|
4371
|
+
if (!u || !w) return;
|
|
4372
|
+
const C = !i;
|
|
4373
|
+
r(C), C ? (Object.assign(u.style, {
|
|
4350
4374
|
display: "block",
|
|
4351
4375
|
height: "auto",
|
|
4352
4376
|
opacity: "1"
|
|
4353
|
-
}),
|
|
4377
|
+
}), w.classList.add("is-expanded")) : (Object.assign(u.style, {
|
|
4354
4378
|
height: "0",
|
|
4355
4379
|
opacity: "0",
|
|
4356
4380
|
display: "none"
|
|
4357
|
-
}),
|
|
4381
|
+
}), w.classList.remove("is-expanded"));
|
|
4358
4382
|
};
|
|
4359
4383
|
return /* @__PURE__ */ e.createElement(
|
|
4360
4384
|
"li",
|
|
4361
4385
|
{
|
|
4362
4386
|
className: v([s, l ?? ""]),
|
|
4363
|
-
...
|
|
4387
|
+
...n,
|
|
4364
4388
|
ref: o
|
|
4365
4389
|
},
|
|
4366
4390
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4368,29 +4392,29 @@ const J4 = () => {
|
|
|
4368
4392
|
{
|
|
4369
4393
|
className: v([
|
|
4370
4394
|
`${s}__main`,
|
|
4371
|
-
|
|
4395
|
+
a ? "is-expandable" : ""
|
|
4372
4396
|
])
|
|
4373
4397
|
},
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4398
|
+
L && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--left` }, L),
|
|
4399
|
+
g && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--right` }, g),
|
|
4400
|
+
a && /* @__PURE__ */ e.createElement(
|
|
4377
4401
|
"button",
|
|
4378
4402
|
{
|
|
4379
|
-
"aria-expanded":
|
|
4380
|
-
"aria-label":
|
|
4403
|
+
"aria-expanded": i,
|
|
4404
|
+
"aria-label": c,
|
|
4381
4405
|
className: `${s}__expand-button`,
|
|
4382
|
-
onClick:
|
|
4406
|
+
onClick: p
|
|
4383
4407
|
},
|
|
4384
4408
|
/* @__PURE__ */ e.createElement(
|
|
4385
|
-
|
|
4409
|
+
O,
|
|
4386
4410
|
{
|
|
4387
|
-
className: `${s}__expand-icon ${
|
|
4411
|
+
className: `${s}__expand-icon ${i ? "rotated" : ""}`,
|
|
4388
4412
|
iconName: "angleDown"
|
|
4389
4413
|
}
|
|
4390
4414
|
)
|
|
4391
4415
|
)
|
|
4392
4416
|
),
|
|
4393
|
-
|
|
4417
|
+
a && f && /* @__PURE__ */ e.createElement(
|
|
4394
4418
|
"div",
|
|
4395
4419
|
{
|
|
4396
4420
|
ref: m,
|
|
@@ -4400,61 +4424,61 @@ const J4 = () => {
|
|
|
4400
4424
|
/* @__PURE__ */ e.createElement("div", { className: `${s}__items-inside` }, f)
|
|
4401
4425
|
)
|
|
4402
4426
|
);
|
|
4403
|
-
},
|
|
4427
|
+
}, s0 = ({
|
|
4404
4428
|
alt: t = "",
|
|
4405
4429
|
className: l,
|
|
4406
|
-
height:
|
|
4407
|
-
srcFallback:
|
|
4408
|
-
srcWebp:
|
|
4430
|
+
height: c,
|
|
4431
|
+
srcFallback: a,
|
|
4432
|
+
srcWebp: n,
|
|
4409
4433
|
width: s,
|
|
4410
|
-
...
|
|
4434
|
+
...i
|
|
4411
4435
|
}) => {
|
|
4412
4436
|
const r = "pds-picture";
|
|
4413
|
-
return /* @__PURE__ */ e.createElement("picture", { className: v([r, l ?? ""]) }, /* @__PURE__ */ e.createElement("source", { srcSet:
|
|
4437
|
+
return /* @__PURE__ */ e.createElement("picture", { className: v([r, l ?? ""]) }, /* @__PURE__ */ e.createElement("source", { srcSet: n, type: "image/webp" }), /* @__PURE__ */ e.createElement(
|
|
4414
4438
|
"img",
|
|
4415
4439
|
{
|
|
4416
4440
|
alt: t,
|
|
4417
4441
|
className: `${r}__img`,
|
|
4418
|
-
height:
|
|
4419
|
-
src:
|
|
4442
|
+
height: c,
|
|
4443
|
+
src: a,
|
|
4420
4444
|
width: s,
|
|
4421
|
-
...
|
|
4445
|
+
...i
|
|
4422
4446
|
}
|
|
4423
4447
|
));
|
|
4424
|
-
},
|
|
4448
|
+
}, c0 = ({
|
|
4425
4449
|
className: t,
|
|
4426
4450
|
destination: l = "main",
|
|
4427
|
-
text:
|
|
4428
|
-
...
|
|
4451
|
+
text: c = "Skip to main content",
|
|
4452
|
+
...a
|
|
4429
4453
|
}) => /* @__PURE__ */ e.createElement(
|
|
4430
4454
|
"a",
|
|
4431
4455
|
{
|
|
4432
4456
|
className: v(["pds-skiplink", t]),
|
|
4433
4457
|
href: `#${l}`,
|
|
4434
|
-
...
|
|
4458
|
+
...a
|
|
4435
4459
|
},
|
|
4436
|
-
|
|
4437
|
-
),
|
|
4460
|
+
c
|
|
4461
|
+
), a0 = ({
|
|
4438
4462
|
className: t,
|
|
4439
4463
|
label: l = null,
|
|
4440
|
-
size:
|
|
4441
|
-
type:
|
|
4442
|
-
...
|
|
4464
|
+
size: c = "s",
|
|
4465
|
+
type: a = "neutral",
|
|
4466
|
+
...n
|
|
4443
4467
|
}) => {
|
|
4444
|
-
const s = "pds-status-indicator",
|
|
4468
|
+
const s = "pds-status-indicator", i = `${s}--${a}`, r = c !== "s" ? `${s}--${c}` : null;
|
|
4445
4469
|
return /* @__PURE__ */ e.createElement(
|
|
4446
4470
|
"div",
|
|
4447
4471
|
{
|
|
4448
4472
|
className: v([
|
|
4449
4473
|
s,
|
|
4450
|
-
|
|
4474
|
+
i,
|
|
4451
4475
|
r,
|
|
4452
4476
|
t ?? ""
|
|
4453
4477
|
]),
|
|
4454
|
-
...
|
|
4478
|
+
...n
|
|
4455
4479
|
},
|
|
4456
|
-
|
|
4457
|
-
|
|
4480
|
+
a === "working" ? /* @__PURE__ */ e.createElement(
|
|
4481
|
+
x2,
|
|
4458
4482
|
{
|
|
4459
4483
|
className: `${s}__spinner`,
|
|
4460
4484
|
colorType: "monochromatic",
|
|
@@ -4463,26 +4487,26 @@ const J4 = () => {
|
|
|
4463
4487
|
) : /* @__PURE__ */ e.createElement("span", { "aria-hidden": "true", className: `${s}__icon`, role: "img" }),
|
|
4464
4488
|
l && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, l)
|
|
4465
4489
|
);
|
|
4466
|
-
},
|
|
4490
|
+
}, l0 = ({
|
|
4467
4491
|
className: t,
|
|
4468
4492
|
platform: l,
|
|
4469
|
-
videoId:
|
|
4470
|
-
videoTitle:
|
|
4471
|
-
...
|
|
4493
|
+
videoId: c,
|
|
4494
|
+
videoTitle: a,
|
|
4495
|
+
...n
|
|
4472
4496
|
}) => {
|
|
4473
|
-
const s = "pds-video-embed",
|
|
4497
|
+
const s = "pds-video-embed", i = /* @__PURE__ */ e.createElement(
|
|
4474
4498
|
"iframe",
|
|
4475
4499
|
{
|
|
4476
4500
|
allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
|
|
4477
|
-
src: `https://fast.wistia.net/embed/iframe/${
|
|
4478
|
-
title: `Wistia video player${
|
|
4501
|
+
src: `https://fast.wistia.net/embed/iframe/${c}`,
|
|
4502
|
+
title: `Wistia video player${a ? `: ${a}` : ""}`
|
|
4479
4503
|
}
|
|
4480
4504
|
), r = /* @__PURE__ */ e.createElement(
|
|
4481
4505
|
"iframe",
|
|
4482
4506
|
{
|
|
4483
4507
|
allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
|
|
4484
|
-
src: `https://player.vimeo.com/video/${
|
|
4485
|
-
title: `Vimeo video player${
|
|
4508
|
+
src: `https://player.vimeo.com/video/${c}`,
|
|
4509
|
+
title: `Vimeo video player${a ? `: ${a}` : ""}`
|
|
4486
4510
|
}
|
|
4487
4511
|
), o = /* @__PURE__ */ e.createElement(
|
|
4488
4512
|
"iframe",
|
|
@@ -4490,8 +4514,8 @@ const J4 = () => {
|
|
|
4490
4514
|
allowFullScreen: !0,
|
|
4491
4515
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
4492
4516
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
4493
|
-
src: `https://www.youtube.com/embed/${
|
|
4494
|
-
title: `YouTube video player${
|
|
4517
|
+
src: `https://www.youtube.com/embed/${c}`,
|
|
4518
|
+
title: `YouTube video player${a ? `: ${a}` : ""}`
|
|
4495
4519
|
}
|
|
4496
4520
|
);
|
|
4497
4521
|
let m;
|
|
@@ -4500,23 +4524,22 @@ const J4 = () => {
|
|
|
4500
4524
|
m = r;
|
|
4501
4525
|
break;
|
|
4502
4526
|
case "wistia":
|
|
4503
|
-
m =
|
|
4527
|
+
m = i;
|
|
4504
4528
|
break;
|
|
4505
|
-
case "youtube":
|
|
4506
4529
|
default:
|
|
4507
4530
|
m = o;
|
|
4508
4531
|
break;
|
|
4509
4532
|
}
|
|
4510
|
-
return /* @__PURE__ */ e.createElement("div", { className: v([s, t ?? ""]), ...
|
|
4511
|
-
},
|
|
4533
|
+
return /* @__PURE__ */ e.createElement("div", { className: v([s, t ?? ""]), ...n }, m);
|
|
4534
|
+
}, i0 = ({
|
|
4512
4535
|
className: t,
|
|
4513
4536
|
option: l,
|
|
4514
|
-
...
|
|
4537
|
+
...c
|
|
4515
4538
|
}) => {
|
|
4516
|
-
const
|
|
4539
|
+
const a = "pds-site-option-display", n = l.type ? f4[l.type] : "bolt", s = J(null), [i] = R1(s), r = i.width / 16 - 7.5;
|
|
4517
4540
|
let o, m;
|
|
4518
4541
|
l.status === "active" && (o = "Active", m = "success"), l.status === "frozen" && (o = "Frozen", m = "frozen"), l.status === "restricted" && (o = "Restricted", m = "critical");
|
|
4519
|
-
const
|
|
4542
|
+
const d = /* @__PURE__ */ e.createElement(
|
|
4520
4543
|
G1,
|
|
4521
4544
|
{
|
|
4522
4545
|
hasStatusIndicator: !0,
|
|
@@ -4528,49 +4551,49 @@ const J4 = () => {
|
|
|
4528
4551
|
"div",
|
|
4529
4552
|
{
|
|
4530
4553
|
ref: s,
|
|
4531
|
-
className: v([
|
|
4554
|
+
className: v([a, t ?? ""]),
|
|
4532
4555
|
title: l.name,
|
|
4533
|
-
...
|
|
4556
|
+
...c
|
|
4534
4557
|
},
|
|
4535
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
4558
|
+
/* @__PURE__ */ e.createElement("div", { className: `${a}__inner`, style: { pointerEvents: "none" } }, /* @__PURE__ */ e.createElement("div", { className: `${a}__icon` }, /* @__PURE__ */ e.createElement(O, { iconName: n })), /* @__PURE__ */ e.createElement(
|
|
4536
4559
|
"div",
|
|
4537
4560
|
{
|
|
4538
|
-
className: `${
|
|
4561
|
+
className: `${a}__label`,
|
|
4539
4562
|
style: { maxWidth: `${r}rem` }
|
|
4540
4563
|
},
|
|
4541
4564
|
l.name
|
|
4542
4565
|
)),
|
|
4543
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
4566
|
+
/* @__PURE__ */ e.createElement("div", { className: `${a}__status`, style: { pointerEvents: "none" } }, d)
|
|
4544
4567
|
);
|
|
4545
|
-
},
|
|
4568
|
+
}, n0 = ({
|
|
4546
4569
|
children: t,
|
|
4547
4570
|
className: l,
|
|
4548
|
-
width:
|
|
4549
|
-
...
|
|
4571
|
+
width: c = "standard",
|
|
4572
|
+
...a
|
|
4550
4573
|
}) => {
|
|
4551
|
-
const
|
|
4574
|
+
const n = "pds-container", s = c !== "standard" ? `${n}--${c}` : null;
|
|
4552
4575
|
return /* @__PURE__ */ e.createElement(
|
|
4553
4576
|
"div",
|
|
4554
4577
|
{
|
|
4555
|
-
className: v([
|
|
4556
|
-
...
|
|
4578
|
+
className: v([n, s, l ?? ""]),
|
|
4579
|
+
...a
|
|
4557
4580
|
},
|
|
4558
4581
|
t
|
|
4559
4582
|
);
|
|
4560
|
-
},
|
|
4583
|
+
}, r0 = ({
|
|
4561
4584
|
children: t,
|
|
4562
4585
|
className: l,
|
|
4563
|
-
sidebarMinWidth:
|
|
4564
|
-
sidebarWidth:
|
|
4565
|
-
...
|
|
4586
|
+
sidebarMinWidth: c = 14.5,
|
|
4587
|
+
sidebarWidth: a = "18%",
|
|
4588
|
+
...n
|
|
4566
4589
|
}) => {
|
|
4567
4590
|
let s = !1;
|
|
4568
|
-
const
|
|
4569
|
-
|
|
4591
|
+
const i = D2(N2);
|
|
4592
|
+
i && (s = i.isMobile);
|
|
4570
4593
|
const r = "pds-docs-layout", o = s ? `${r}--isMobile` : null, m = {
|
|
4571
|
-
width:
|
|
4572
|
-
minWidth: `${
|
|
4573
|
-
},
|
|
4594
|
+
width: a,
|
|
4595
|
+
minWidth: `${c}rem`
|
|
4596
|
+
}, d = P2(t), L = d.__unslotted || d.content, g = d.sidebar, f = /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("aside", { className: `${r}__sidebar` }, g), /* @__PURE__ */ e.createElement("div", { className: `${r}__content` }, L)), p = /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("aside", { className: `${r}__sidebar`, style: m }, /* @__PURE__ */ e.createElement("div", { className: `${r}__sidebar-inner` }, g)), /* @__PURE__ */ e.createElement("div", { className: `${r}__content` }, L));
|
|
4574
4597
|
return /* @__PURE__ */ e.createElement(
|
|
4575
4598
|
"div",
|
|
4576
4599
|
{
|
|
@@ -4580,71 +4603,71 @@ const J4 = () => {
|
|
|
4580
4603
|
"pds-container pds-container--x-wide",
|
|
4581
4604
|
l ?? ""
|
|
4582
4605
|
]),
|
|
4583
|
-
...
|
|
4606
|
+
...n
|
|
4584
4607
|
},
|
|
4585
|
-
s ? f :
|
|
4608
|
+
s ? f : p
|
|
4586
4609
|
);
|
|
4587
|
-
},
|
|
4610
|
+
}, o0 = ({
|
|
4588
4611
|
alignContent: t = "flex-start",
|
|
4589
4612
|
alignItems: l = "stretch",
|
|
4590
|
-
children:
|
|
4591
|
-
className:
|
|
4592
|
-
flexDirection:
|
|
4613
|
+
children: c,
|
|
4614
|
+
className: a,
|
|
4615
|
+
flexDirection: n = "row",
|
|
4593
4616
|
flexWrap: s = "nowrap",
|
|
4594
|
-
gap:
|
|
4617
|
+
gap: i = "standard",
|
|
4595
4618
|
justifyContent: r = "flex-start",
|
|
4596
4619
|
mobileAlignContent: o,
|
|
4597
4620
|
mobileAlignItems: m,
|
|
4598
|
-
mobileFlexDirection:
|
|
4599
|
-
mobileFlexWrap:
|
|
4600
|
-
mobileGap:
|
|
4621
|
+
mobileFlexDirection: d = "column",
|
|
4622
|
+
mobileFlexWrap: L,
|
|
4623
|
+
mobileGap: g,
|
|
4601
4624
|
mobileJustifyContent: f,
|
|
4602
|
-
...
|
|
4625
|
+
...p
|
|
4603
4626
|
}) => {
|
|
4604
|
-
let
|
|
4605
|
-
const
|
|
4606
|
-
|
|
4607
|
-
const
|
|
4608
|
-
let N = null;
|
|
4609
|
-
p ? N = `${b}-direction--${h}` : i !== "row" && (N = `${b}-direction--${i}`);
|
|
4627
|
+
let w = M1() <= 640;
|
|
4628
|
+
const C = D2(N2);
|
|
4629
|
+
C && (w = C.isMobile);
|
|
4630
|
+
const z = "pds-flex", b = `${z}-container`, D = w ? `${b}--mobile` : null;
|
|
4610
4631
|
let P = null;
|
|
4611
|
-
|
|
4612
|
-
let
|
|
4613
|
-
|
|
4614
|
-
let w = null;
|
|
4615
|
-
p ? m ? m !== "stretch" && (w = `${b}-align-items--${m}`) : l !== "stretch" && (w = `${b}-align-items--${l}`) : l !== "stretch" && (w = `${b}-align-items--${l}`);
|
|
4616
|
-
let S = null;
|
|
4617
|
-
p ? o ? o !== "flex-start" && (S = `${b}-align-content--${o}`) : t !== "flex-start" && (S = `${b}-align-content--${t}`) : t !== "flex-start" && (S = `${b}-align-content--${t}`);
|
|
4632
|
+
w ? P = `${z}-direction--${d}` : n !== "row" && (P = `${z}-direction--${n}`);
|
|
4633
|
+
let k = null;
|
|
4634
|
+
w ? L ? L !== "nowrap" && (k = `${z}-wrap--${L}`) : s !== "nowrap" && (k = `${z}-wrap--${s}`) : s !== "nowrap" && (k = `${z}-wrap--${s}`);
|
|
4618
4635
|
let y = null;
|
|
4619
|
-
|
|
4636
|
+
w ? f ? f !== "flex-start" && (y = `${z}-justify--${f}`) : r !== "flex-start" && (y = `${z}-justify--${r}`) : r !== "flex-start" && (y = `${z}-justify--${r}`);
|
|
4637
|
+
let M = null;
|
|
4638
|
+
w ? m ? m !== "stretch" && (M = `${z}-align-items--${m}`) : l !== "stretch" && (M = `${z}-align-items--${l}`) : l !== "stretch" && (M = `${z}-align-items--${l}`);
|
|
4639
|
+
let S = null;
|
|
4640
|
+
w ? o ? o !== "flex-start" && (S = `${z}-align-content--${o}`) : t !== "flex-start" && (S = `${z}-align-content--${t}`) : t !== "flex-start" && (S = `${z}-align-content--${t}`);
|
|
4641
|
+
let I = null;
|
|
4642
|
+
return w ? g ? g !== "none" && (I = `${z}-gap--${g}`) : i !== "none" && (I = `${z}-gap--${i}`) : i !== "none" && (I = `${z}-gap--${i}`), /* @__PURE__ */ e.createElement(
|
|
4620
4643
|
"div",
|
|
4621
4644
|
{
|
|
4622
4645
|
className: v([
|
|
4623
|
-
|
|
4646
|
+
b,
|
|
4624
4647
|
D,
|
|
4625
|
-
N,
|
|
4626
4648
|
P,
|
|
4627
|
-
|
|
4628
|
-
w,
|
|
4629
|
-
S,
|
|
4649
|
+
k,
|
|
4630
4650
|
y,
|
|
4631
|
-
|
|
4651
|
+
M,
|
|
4652
|
+
S,
|
|
4653
|
+
I,
|
|
4654
|
+
a ?? ""
|
|
4632
4655
|
]),
|
|
4633
|
-
...
|
|
4656
|
+
...p
|
|
4634
4657
|
},
|
|
4635
|
-
|
|
4658
|
+
c
|
|
4636
4659
|
);
|
|
4637
|
-
},
|
|
4660
|
+
}, m0 = ({
|
|
4638
4661
|
children: t,
|
|
4639
4662
|
mobileMenuMaxWidth: l = 640
|
|
4640
|
-
}) => /* @__PURE__ */ e.createElement(L4, { mobileMenuMaxWidth: l }, /* @__PURE__ */ e.createElement(c4, null, t)),
|
|
4663
|
+
}) => /* @__PURE__ */ e.createElement(L4, { mobileMenuMaxWidth: l }, /* @__PURE__ */ e.createElement(c4, null, t)), d0 = ({
|
|
4641
4664
|
children: t,
|
|
4642
4665
|
className: l,
|
|
4643
|
-
gridGap:
|
|
4644
|
-
verticalAlign:
|
|
4645
|
-
...
|
|
4666
|
+
gridGap: c = "standard",
|
|
4667
|
+
verticalAlign: a = "start",
|
|
4668
|
+
...n
|
|
4646
4669
|
}) => {
|
|
4647
|
-
const s = "pds-three-item-layout",
|
|
4670
|
+
const s = "pds-three-item-layout", i = c === "standard" ? "pds-grid" : `pds-grid pds-grid--${c}`, r = `${s}--${a}`, o = P2(t), m = [
|
|
4648
4671
|
o["first-item"],
|
|
4649
4672
|
o["second-item"],
|
|
4650
4673
|
o["third-item"]
|
|
@@ -4654,134 +4677,135 @@ const J4 = () => {
|
|
|
4654
4677
|
{
|
|
4655
4678
|
className: v([
|
|
4656
4679
|
s,
|
|
4657
|
-
|
|
4680
|
+
i,
|
|
4658
4681
|
r,
|
|
4659
4682
|
l
|
|
4660
4683
|
]),
|
|
4661
|
-
...
|
|
4684
|
+
...n
|
|
4662
4685
|
},
|
|
4663
|
-
m.map((
|
|
4686
|
+
m.map((d, L) => /* @__PURE__ */ e.createElement(
|
|
4664
4687
|
"div",
|
|
4665
4688
|
{
|
|
4666
|
-
key:
|
|
4689
|
+
key: L,
|
|
4667
4690
|
className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
|
|
4668
4691
|
},
|
|
4669
|
-
|
|
4692
|
+
d
|
|
4670
4693
|
))
|
|
4671
4694
|
);
|
|
4672
|
-
},
|
|
4695
|
+
}, h0 = ({
|
|
4673
4696
|
children: t,
|
|
4674
4697
|
className: l,
|
|
4675
|
-
gridGap:
|
|
4676
|
-
layoutVariant:
|
|
4677
|
-
verticalAlign:
|
|
4698
|
+
gridGap: c = "standard",
|
|
4699
|
+
layoutVariant: a = "equal",
|
|
4700
|
+
verticalAlign: n = "start",
|
|
4678
4701
|
...s
|
|
4679
4702
|
}) => {
|
|
4680
|
-
const
|
|
4681
|
-
let f,
|
|
4682
|
-
switch (
|
|
4703
|
+
const i = "pds-two-item-layout", r = c === "standard" ? "pds-grid" : `pds-grid pds-grid--${c}`, o = `${i}--${n}`, m = ["pds-grid-item--md-6"], d = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], L = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], g = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
4704
|
+
let f, p;
|
|
4705
|
+
switch (a) {
|
|
4683
4706
|
case "equal":
|
|
4684
|
-
f =
|
|
4707
|
+
f = g.concat(m), p = g.concat(m);
|
|
4685
4708
|
break;
|
|
4686
4709
|
case "one-third-start":
|
|
4687
|
-
f =
|
|
4710
|
+
f = g.concat(d), p = g.concat(L);
|
|
4688
4711
|
break;
|
|
4689
4712
|
case "one-third-end":
|
|
4690
|
-
f =
|
|
4713
|
+
f = g.concat(L), p = g.concat(d);
|
|
4691
4714
|
}
|
|
4692
|
-
const
|
|
4715
|
+
const u = P2(t), w = u["first-item"], C = u["second-item"];
|
|
4693
4716
|
return /* @__PURE__ */ e.createElement(
|
|
4694
4717
|
"div",
|
|
4695
4718
|
{
|
|
4696
4719
|
className: v([
|
|
4697
|
-
|
|
4720
|
+
i,
|
|
4698
4721
|
r,
|
|
4699
4722
|
o,
|
|
4700
4723
|
l
|
|
4701
4724
|
]),
|
|
4702
4725
|
...s
|
|
4703
4726
|
},
|
|
4704
|
-
/* @__PURE__ */ e.createElement("div", { className: f.join(" ").trim() },
|
|
4705
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4727
|
+
/* @__PURE__ */ e.createElement("div", { className: f.join(" ").trim() }, w),
|
|
4728
|
+
/* @__PURE__ */ e.createElement("div", { className: p.join(" ").trim() }, C)
|
|
4706
4729
|
);
|
|
4707
|
-
},
|
|
4708
|
-
const t = typeof window < "u", l = (
|
|
4730
|
+
}, u0 = () => {
|
|
4731
|
+
const t = typeof window < "u", l = (n) => n >= K1 ? "xl" : n >= U1 ? "lg" : n >= W1 ? "md" : "sm", [c, a] = V(
|
|
4709
4732
|
t ? l(window.innerWidth) : "lg"
|
|
4710
4733
|
);
|
|
4711
4734
|
return l2(() => {
|
|
4712
4735
|
if (!t) return;
|
|
4713
|
-
const
|
|
4714
|
-
|
|
4736
|
+
const n = () => {
|
|
4737
|
+
a(l(window.innerWidth));
|
|
4715
4738
|
};
|
|
4716
|
-
return
|
|
4717
|
-
window.removeEventListener("resize",
|
|
4739
|
+
return n(), window.addEventListener("resize", n), () => {
|
|
4740
|
+
window.removeEventListener("resize", n);
|
|
4718
4741
|
};
|
|
4719
|
-
}, []),
|
|
4720
|
-
},
|
|
4721
|
-
const l = typeof window < "u",
|
|
4742
|
+
}, []), c;
|
|
4743
|
+
}, g0 = (t) => {
|
|
4744
|
+
const l = typeof window < "u", c = (s) => l ? window.matchMedia(s).matches : !1, [a, n] = V(c(t));
|
|
4722
4745
|
return l2(() => {
|
|
4723
4746
|
if (!l) return;
|
|
4724
|
-
const s = window.matchMedia(t),
|
|
4725
|
-
|
|
4747
|
+
const s = window.matchMedia(t), i = () => {
|
|
4748
|
+
n(s.matches);
|
|
4726
4749
|
};
|
|
4727
|
-
return
|
|
4728
|
-
}, [t]),
|
|
4750
|
+
return n(s.matches), s.addEventListener ? (s.addEventListener("change", i), () => s.removeEventListener("change", i)) : (s.addListener(i), () => s.removeListener(i));
|
|
4751
|
+
}, [t]), a;
|
|
4729
4752
|
};
|
|
4730
4753
|
export {
|
|
4731
4754
|
A4 as Avatar,
|
|
4732
4755
|
O4 as Badge,
|
|
4733
|
-
|
|
4756
|
+
X4 as Banner,
|
|
4734
4757
|
B2 as Button,
|
|
4735
4758
|
g4 as ButtonLink,
|
|
4736
|
-
|
|
4759
|
+
K4 as ButtonNav,
|
|
4760
|
+
G4 as Card,
|
|
4737
4761
|
H4 as ClipboardButton,
|
|
4738
4762
|
v1 as CloseButton,
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4763
|
+
n0 as Container,
|
|
4764
|
+
r0 as DocsLayout,
|
|
4765
|
+
o0 as FlexContainer,
|
|
4766
|
+
m0 as GlobalWrapper,
|
|
4767
|
+
O as Icon,
|
|
4768
|
+
j2 as IconButton,
|
|
4769
|
+
Y4 as InlineMessage,
|
|
4746
4770
|
C4 as MenuButton,
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4771
|
+
t0 as PanelRow,
|
|
4772
|
+
s0 as Picture,
|
|
4773
|
+
N2 as ResponsiveContext,
|
|
4750
4774
|
L4 as ResponsiveContextProvider,
|
|
4751
4775
|
Z4 as SSOButton,
|
|
4752
|
-
|
|
4776
|
+
Q4 as SectionMessage,
|
|
4753
4777
|
F4 as SegmentedButton,
|
|
4754
|
-
|
|
4778
|
+
i0 as SiteOptionDisplay,
|
|
4755
4779
|
R4 as SitePlanLevelLabel,
|
|
4756
4780
|
f4 as SiteTypeIcon,
|
|
4757
4781
|
V4 as SiteTypeLabel,
|
|
4758
|
-
|
|
4759
|
-
|
|
4782
|
+
c0 as Skiplink,
|
|
4783
|
+
x2 as Spinner,
|
|
4760
4784
|
v4 as SplitButton,
|
|
4761
4785
|
G1 as StatusBadge,
|
|
4762
|
-
|
|
4786
|
+
a0 as StatusIndicator,
|
|
4763
4787
|
Q2 as StatusTypeLabels,
|
|
4764
4788
|
d1 as Tally,
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4789
|
+
U4 as TextInput,
|
|
4790
|
+
W4 as Textarea,
|
|
4791
|
+
d0 as ThreeItemLayout,
|
|
4792
|
+
k4 as Toast,
|
|
4769
4793
|
x4 as ToastType,
|
|
4770
|
-
|
|
4794
|
+
J4 as Toaster,
|
|
4771
4795
|
T2 as Tooltip,
|
|
4772
|
-
|
|
4796
|
+
h0 as TwoItemLayout,
|
|
4773
4797
|
q4 as UtilityButton,
|
|
4774
|
-
|
|
4798
|
+
l0 as VideoEmbed,
|
|
4775
4799
|
B4 as iconList,
|
|
4776
4800
|
F2 as isHeadingItemType,
|
|
4777
4801
|
Z2 as isLinkItemType,
|
|
4778
4802
|
z4 as isNodeItemType,
|
|
4779
4803
|
V2 as isSeparatorItemType,
|
|
4780
|
-
|
|
4804
|
+
u0 as useBreakpoint,
|
|
4781
4805
|
p4 as useClipboard,
|
|
4782
4806
|
l4 as useKeyPress,
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4807
|
+
g0 as useMediaQuery,
|
|
4808
|
+
e0 as useToast,
|
|
4809
|
+
M1 as useWindowWidth
|
|
4786
4810
|
};
|
|
4787
4811
|
//# sourceMappingURL=index.js.map
|