@theroutingcompany/components 0.0.28-alpha.1 → 0.0.28
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.
|
@@ -14781,7 +14781,9 @@ function Z6(e) {
|
|
|
14781
14781
|
}
|
|
14782
14782
|
function J6({ segment: e, state: t }) {
|
|
14783
14783
|
const r = F(null), { segmentProps: n } = T6(e, t, r), o = {};
|
|
14784
|
-
|
|
14784
|
+
e.isPlaceholder && (o["data-placeholder"] = !0);
|
|
14785
|
+
const a = e.isPlaceholder ? "" : ["hour", "minute"].includes(e.type) ? e.text.padStart(2, "0") : e.text;
|
|
14786
|
+
return /* @__PURE__ */ le(
|
|
14785
14787
|
q6,
|
|
14786
14788
|
{
|
|
14787
14789
|
literal: e.type === "literal",
|
|
@@ -14808,7 +14810,7 @@ function J6({ segment: e, state: t }) {
|
|
|
14808
14810
|
children: e.placeholder
|
|
14809
14811
|
}
|
|
14810
14812
|
),
|
|
14811
|
-
|
|
14813
|
+
a
|
|
14812
14814
|
]
|
|
14813
14815
|
}
|
|
14814
14816
|
);
|
|
@@ -14905,6 +14907,7 @@ const o4 = H.forwardRef(({ dateString: e, timeZone: t, onChange: r, ...n }, o) =
|
|
|
14905
14907
|
/* @__PURE__ */ w(Kr, { ml: p.spacing_200, alignItems: "center", children: /* @__PURE__ */ w(
|
|
14906
14908
|
Z6,
|
|
14907
14909
|
{
|
|
14910
|
+
hourCycle: 12,
|
|
14908
14911
|
"aria-label": "time select",
|
|
14909
14912
|
defaultValue: new Io(
|
|
14910
14913
|
l.hour,
|