@pantheon-systems/pds-toolkit-react 1.0.0-dev.201 → 1.0.0-dev.202
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/index.js
CHANGED
|
@@ -6148,7 +6148,7 @@ const s1 = [
|
|
|
6148
6148
|
let H = null, z = !1;
|
|
6149
6149
|
const y = _e(yt);
|
|
6150
6150
|
y && (H = y.navbarWidth, z = y.isAdmin);
|
|
6151
|
-
const x = 2.25, S = 22, N = z ? 14.
|
|
6151
|
+
const x = 2.25, S = 22, N = z ? 14.5 : 9.625, M = H > 900 ? S : H / 16 - (N + m) - x * 0.675;
|
|
6152
6152
|
let T = x;
|
|
6153
6153
|
f && !H && (T = S), f && H && (T = M);
|
|
6154
6154
|
const D = {
|
|
@@ -7826,10 +7826,10 @@ const js = () => {
|
|
|
7826
7826
|
}, [o]), ie(() => {
|
|
7827
7827
|
u(w);
|
|
7828
7828
|
}, [w]);
|
|
7829
|
-
const _ = typeof s, $ = "pds-popover", E = [
|
|
7829
|
+
const _ = typeof s, $ = "pds-popover", E = L([
|
|
7830
7830
|
`${$}__trigger-custom`,
|
|
7831
7831
|
_ === "string" ? `${$}__trigger-text` : ""
|
|
7832
|
-
]
|
|
7832
|
+
]), C = s ? l : 0, v = de(null), { refs: k, floatingStyles: H, context: z, middlewareData: y } = Me({
|
|
7833
7833
|
placement: i,
|
|
7834
7834
|
open: w,
|
|
7835
7835
|
onOpenChange(W) {
|
|
@@ -7861,58 +7861,52 @@ const js = () => {
|
|
|
7861
7861
|
}[W]
|
|
7862
7862
|
})
|
|
7863
7863
|
});
|
|
7864
|
-
return /* @__PURE__ */ e.createElement(
|
|
7864
|
+
return /* @__PURE__ */ e.createElement("div", b({ className: L([$, m]) }, p), /* @__PURE__ */ e.createElement(
|
|
7865
|
+
"span",
|
|
7866
|
+
b({
|
|
7867
|
+
className: `${$}__trigger`,
|
|
7868
|
+
ref: k.setReference,
|
|
7869
|
+
role: "button"
|
|
7870
|
+
}, T()),
|
|
7871
|
+
s ? /* @__PURE__ */ e.createElement("span", { className: E }, s) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c), /* @__PURE__ */ e.createElement(
|
|
7872
|
+
F,
|
|
7873
|
+
{
|
|
7874
|
+
iconName: d,
|
|
7875
|
+
className: `${$}__icon`,
|
|
7876
|
+
iconSize: "md"
|
|
7877
|
+
}
|
|
7878
|
+
))
|
|
7879
|
+
), Y && /* @__PURE__ */ e.createElement(d1, null, /* @__PURE__ */ e.createElement(m1, { context: z, modal: !1 }, /* @__PURE__ */ e.createElement(
|
|
7865
7880
|
"div",
|
|
7866
7881
|
b({
|
|
7867
|
-
className:
|
|
7868
|
-
|
|
7882
|
+
className: `${$}__container`,
|
|
7883
|
+
ref: k.setFloating,
|
|
7884
|
+
style: H
|
|
7885
|
+
}, D()),
|
|
7869
7886
|
/* @__PURE__ */ e.createElement(
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
))
|
|
7887
|
+
Z1,
|
|
7888
|
+
{
|
|
7889
|
+
ref: v,
|
|
7890
|
+
context: z,
|
|
7891
|
+
height: Ke,
|
|
7892
|
+
width: a1,
|
|
7893
|
+
tipRadius: 0,
|
|
7894
|
+
fill: "var(--pds-color-background-default)",
|
|
7895
|
+
stroke: "var(--pds-color-border-default)",
|
|
7896
|
+
strokeWidth: 1,
|
|
7897
|
+
className: `${$}__arrow`
|
|
7898
|
+
}
|
|
7883
7899
|
),
|
|
7884
|
-
|
|
7885
|
-
"
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
},
|
|
7891
|
-
/* @__PURE__ */ e.createElement(
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
ref: v,
|
|
7895
|
-
context: z,
|
|
7896
|
-
height: Ke,
|
|
7897
|
-
width: a1,
|
|
7898
|
-
tipRadius: 0,
|
|
7899
|
-
fill: "var(--pds-color-background-default)",
|
|
7900
|
-
stroke: "var(--pds-color-border-default)",
|
|
7901
|
-
strokeWidth: 1,
|
|
7902
|
-
className: `${$}__arrow`
|
|
7903
|
-
}
|
|
7904
|
-
),
|
|
7905
|
-
/* @__PURE__ */ e.createElement("div", { className: `${$}__container-inner` }, a && /* @__PURE__ */ e.createElement("div", { className: `${$}__title` }, a), t && /* @__PURE__ */ e.createElement("div", { className: `${$}__content` }, t), n && /* @__PURE__ */ e.createElement(
|
|
7906
|
-
"button",
|
|
7907
|
-
{
|
|
7908
|
-
onClick: x,
|
|
7909
|
-
className: `${$}__close`
|
|
7910
|
-
},
|
|
7911
|
-
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Close"),
|
|
7912
|
-
/* @__PURE__ */ e.createElement(F, { iconName: "xmark", iconSize: "lg" })
|
|
7913
|
-
))
|
|
7914
|
-
)))
|
|
7915
|
-
);
|
|
7900
|
+
/* @__PURE__ */ e.createElement("div", { className: `${$}__container-inner` }, a && /* @__PURE__ */ e.createElement("div", { className: `${$}__title` }, a), t && /* @__PURE__ */ e.createElement("div", { className: `${$}__content` }, t), n && /* @__PURE__ */ e.createElement(
|
|
7901
|
+
"button",
|
|
7902
|
+
{
|
|
7903
|
+
onClick: x,
|
|
7904
|
+
className: `${$}__close`
|
|
7905
|
+
},
|
|
7906
|
+
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Close"),
|
|
7907
|
+
/* @__PURE__ */ e.createElement(F, { iconName: "xmark", iconSize: "lg" })
|
|
7908
|
+
))
|
|
7909
|
+
))));
|
|
7916
7910
|
}, c1 = {
|
|
7917
7911
|
neutral: "--pds-color-semantic-neutral-utility",
|
|
7918
7912
|
info: "--pds-color-semantic-info-foreground",
|