@theroutingcompany/components 0.0.51-alpha.0 → 0.0.51-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23598,7 +23598,6 @@ const XA = I.div`
|
|
|
23598
23598
|
border-radius: 4px 0 0 4px;
|
|
23599
23599
|
margin: 0;
|
|
23600
23600
|
flex: 1;
|
|
23601
|
-
width: 0;
|
|
23602
23601
|
height: ${f.sizing_600};
|
|
23603
23602
|
`, QA = I.button`
|
|
23604
23603
|
box-sizing: border-box;
|
|
@@ -23631,10 +23630,10 @@ function _2(e) {
|
|
|
23631
23630
|
n
|
|
23632
23631
|
), { buttonProps: m } = po(l, o);
|
|
23633
23632
|
return /* @__PURE__ */ oe(XA, { children: [
|
|
23634
|
-
/* @__PURE__ */ oe(rt, { ...u, mb: f.spacing_100, children: [
|
|
23633
|
+
e.label ? /* @__PURE__ */ oe(rt, { ...u, mb: f.spacing_100, children: [
|
|
23635
23634
|
e.label,
|
|
23636
23635
|
t ? /* @__PURE__ */ x($n, { children: t }) : null
|
|
23637
|
-
] }),
|
|
23636
|
+
] }) : null,
|
|
23638
23637
|
/* @__PURE__ */ x(
|
|
23639
23638
|
Yu,
|
|
23640
23639
|
{
|
|
@@ -26999,13 +26998,34 @@ const ah = (e, t, r, n = []) => {
|
|
|
26999
26998
|
};
|
|
27000
26999
|
return document.addEventListener(
|
|
27001
27000
|
"mousedown",
|
|
27002
|
-
(V) => ah(
|
|
27001
|
+
(V) => ah(
|
|
27002
|
+
V,
|
|
27003
|
+
b,
|
|
27004
|
+
D,
|
|
27005
|
+
m
|
|
27006
|
+
)
|
|
27003
27007
|
), () => document.removeEventListener(
|
|
27004
27008
|
"mousedown",
|
|
27005
|
-
(V) => ah(
|
|
27009
|
+
(V) => ah(
|
|
27010
|
+
V,
|
|
27011
|
+
b,
|
|
27012
|
+
D,
|
|
27013
|
+
m
|
|
27014
|
+
)
|
|
27006
27015
|
);
|
|
27007
27016
|
}, [m, l, N]), J(() => N, []);
|
|
27008
|
-
const C = ae(() => u && typeof u == "string" ? /* @__PURE__ */ x(
|
|
27017
|
+
const C = ae(() => u && typeof u == "string" ? /* @__PURE__ */ x(
|
|
27018
|
+
rt,
|
|
27019
|
+
{
|
|
27020
|
+
bold: !0,
|
|
27021
|
+
size: "medium",
|
|
27022
|
+
htmlFor: u,
|
|
27023
|
+
color: f.color_gray_52,
|
|
27024
|
+
onClick: () => !c && k(),
|
|
27025
|
+
mb: f.spacing_100,
|
|
27026
|
+
children: u
|
|
27027
|
+
}
|
|
27028
|
+
) : /* @__PURE__ */ x(Gr, { children: u }), [c, k, u]);
|
|
27009
27029
|
if (v)
|
|
27010
27030
|
return /* @__PURE__ */ oe(Gr, { children: [
|
|
27011
27031
|
/* @__PURE__ */ x(C, {}),
|
|
@@ -27014,7 +27034,15 @@ const ah = (e, t, r, n = []) => {
|
|
|
27014
27034
|
{
|
|
27015
27035
|
tabIndex: 0,
|
|
27016
27036
|
ref: b,
|
|
27017
|
-
right: /* @__PURE__ */ x(Nt, { ml: f.spacing_100, children: /* @__PURE__ */ x(
|
|
27037
|
+
right: /* @__PURE__ */ x(Nt, { ml: f.spacing_100, children: /* @__PURE__ */ x(
|
|
27038
|
+
wN,
|
|
27039
|
+
{
|
|
27040
|
+
onClick: _,
|
|
27041
|
+
disabled: g,
|
|
27042
|
+
"aria-label": "save",
|
|
27043
|
+
children: g ? /* @__PURE__ */ x(nS, {}) : /* @__PURE__ */ x(sa, {})
|
|
27044
|
+
}
|
|
27045
|
+
) }),
|
|
27018
27046
|
children: /* @__PURE__ */ x(DN, { saving: g, children: e })
|
|
27019
27047
|
}
|
|
27020
27048
|
)
|
|
@@ -31503,10 +31531,10 @@ const iV = I.span`
|
|
|
31503
31531
|
function Ij(e) {
|
|
31504
31532
|
const t = aV(e), { placeholder: r = "Select...", hideLabel: n, showCaret: o = !0 } = e, a = Z.useRef(null), { labelProps: i, triggerProps: s, valueProps: l, menuProps: c, errorMessageProps: d } = rV(e, t, a), { buttonProps: u } = po(s, a), { focusProps: p, isFocusVisible: m } = hn();
|
|
31505
31533
|
return /* @__PURE__ */ oe(gn, { children: [
|
|
31506
|
-
/* @__PURE__ */ oe(rt, { ...i, srOnly: n, mb: f.spacing_100, children: [
|
|
31534
|
+
e.label ? /* @__PURE__ */ oe(rt, { ...i, srOnly: n, mb: f.spacing_100, children: [
|
|
31507
31535
|
e.label,
|
|
31508
31536
|
e.tooltipContent ? /* @__PURE__ */ x($n, { icon: e.tooltipIcon, children: e.tooltipContent }) : null
|
|
31509
|
-
] }),
|
|
31537
|
+
] }) : null,
|
|
31510
31538
|
/* @__PURE__ */ x(
|
|
31511
31539
|
oV,
|
|
31512
31540
|
{
|