@lctafrica/ui 1.2.9 → 1.2.10
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
|
@@ -15322,6 +15322,10 @@ function lE({
|
|
|
15322
15322
|
"text-muted-foreground aria-selected:text-muted-foreground",
|
|
15323
15323
|
c.outside
|
|
15324
15324
|
),
|
|
15325
|
+
day_button: T(
|
|
15326
|
+
"disabled:cursor-not-allowed rounded",
|
|
15327
|
+
c.day_button
|
|
15328
|
+
),
|
|
15325
15329
|
disabled: T(
|
|
15326
15330
|
"text-muted-foreground opacity-50",
|
|
15327
15331
|
c.disabled
|
|
@@ -15413,13 +15417,14 @@ function fE({
|
|
|
15413
15417
|
function iM({
|
|
15414
15418
|
value: e,
|
|
15415
15419
|
onChange: t,
|
|
15416
|
-
placeholder: r = "Pick a date"
|
|
15420
|
+
placeholder: r = "Pick a date",
|
|
15421
|
+
disabled: o
|
|
15417
15422
|
}) {
|
|
15418
|
-
function
|
|
15423
|
+
function n() {
|
|
15419
15424
|
t && t(void 0);
|
|
15420
15425
|
}
|
|
15421
15426
|
return /* @__PURE__ */ fe(uE, { children: [
|
|
15422
|
-
/* @__PURE__ */ v(dE, { asChild: !0, children: /* @__PURE__ */ fe(
|
|
15427
|
+
/* @__PURE__ */ v(dE, { disabled: o === !0, asChild: !0, children: /* @__PURE__ */ fe(
|
|
15423
15428
|
"button",
|
|
15424
15429
|
{
|
|
15425
15430
|
className: T(
|
|
@@ -15428,11 +15433,19 @@ function iM({
|
|
|
15428
15433
|
),
|
|
15429
15434
|
children: [
|
|
15430
15435
|
/* @__PURE__ */ v("span", { className: T("grow text-start", { "text-black": e }), children: e ? Lr(e, "dd/MM/yyyy'") : r }),
|
|
15431
|
-
e ? /* @__PURE__ */ v("div", { tabIndex: 0, onClick:
|
|
15436
|
+
e ? /* @__PURE__ */ v("div", { tabIndex: 0, onClick: n, children: /* @__PURE__ */ v(nm, { className: "w-5 h-5" }) }) : /* @__PURE__ */ v("div", { children: /* @__PURE__ */ v(zw, { className: "w-5 h-5" }) })
|
|
15432
15437
|
]
|
|
15433
15438
|
}
|
|
15434
15439
|
) }),
|
|
15435
|
-
/* @__PURE__ */ v(fE, { className: "w-auto p-0", children: /* @__PURE__ */ v(
|
|
15440
|
+
/* @__PURE__ */ v(fE, { className: "w-auto p-0", children: /* @__PURE__ */ v(
|
|
15441
|
+
lE,
|
|
15442
|
+
{
|
|
15443
|
+
mode: "single",
|
|
15444
|
+
selected: e,
|
|
15445
|
+
onSelect: t,
|
|
15446
|
+
disabled: o
|
|
15447
|
+
}
|
|
15448
|
+
) })
|
|
15436
15449
|
] });
|
|
15437
15450
|
}
|
|
15438
15451
|
function mE({ className: e, ...t }) {
|