@lctafrica/ui 1.2.7 → 1.2.9
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
|
@@ -12098,7 +12098,8 @@ function wp({
|
|
|
12098
12098
|
cancelButtonLabel: t,
|
|
12099
12099
|
onConfirm: r,
|
|
12100
12100
|
confirmButtonLabel: o,
|
|
12101
|
-
variant: n
|
|
12101
|
+
variant: n,
|
|
12102
|
+
isConfirmButtonDisabled: i
|
|
12102
12103
|
}) {
|
|
12103
12104
|
return /* @__PURE__ */ fe(ok, { className: "mt-4 gap-15", children: [
|
|
12104
12105
|
/* @__PURE__ */ v(ek, { asChild: !0, children: /* @__PURE__ */ v(br, { onClick: e, variant: "outline", type: "button", children: t }) }),
|
|
@@ -12107,6 +12108,7 @@ function wp({
|
|
|
12107
12108
|
{
|
|
12108
12109
|
variant: n === "destructive" ? "primary-destructive" : n == "success" ? "primary-success" : "primary",
|
|
12109
12110
|
onClick: r,
|
|
12111
|
+
disabled: i,
|
|
12110
12112
|
children: o
|
|
12111
12113
|
}
|
|
12112
12114
|
)
|
|
@@ -12136,20 +12138,21 @@ function rM({
|
|
|
12136
12138
|
titleClassName: a,
|
|
12137
12139
|
descriptionClassName: s,
|
|
12138
12140
|
className: l,
|
|
12139
|
-
|
|
12140
|
-
|
|
12141
|
+
isConfirmButtonDisabled: c,
|
|
12142
|
+
variant: u = "informative",
|
|
12143
|
+
...d
|
|
12141
12144
|
}) {
|
|
12142
12145
|
return /* @__PURE__ */ fe(
|
|
12143
12146
|
qc,
|
|
12144
12147
|
{
|
|
12145
|
-
headerLeft: i || /* @__PURE__ */ v(sk, { variant:
|
|
12148
|
+
headerLeft: i || /* @__PURE__ */ v(sk, { variant: u }),
|
|
12146
12149
|
className: T("min-w-175 pr-10", l),
|
|
12147
12150
|
titleClassName: T("text-gray-600 font-normal", a),
|
|
12148
12151
|
descriptionClassName: T(
|
|
12149
12152
|
"text-lct-medium-text text-base",
|
|
12150
12153
|
s
|
|
12151
12154
|
),
|
|
12152
|
-
...
|
|
12155
|
+
...d,
|
|
12153
12156
|
children: [
|
|
12154
12157
|
n,
|
|
12155
12158
|
/* @__PURE__ */ v(
|
|
@@ -12159,7 +12162,8 @@ function rM({
|
|
|
12159
12162
|
onConfirm: t,
|
|
12160
12163
|
confirmButtonLabel: r,
|
|
12161
12164
|
cancelButtonLabel: o,
|
|
12162
|
-
variant:
|
|
12165
|
+
variant: u,
|
|
12166
|
+
isConfirmButtonDisabled: c
|
|
12163
12167
|
}
|
|
12164
12168
|
)
|
|
12165
12169
|
]
|
|
@@ -15909,7 +15913,7 @@ function DE({
|
|
|
15909
15913
|
"data-align-trigger": r === "item-aligned",
|
|
15910
15914
|
"data-position": r,
|
|
15911
15915
|
className: T(
|
|
15912
|
-
"relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100
|
|
15916
|
+
"relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[position=popper]:w-(--radix-select-trigger-width) data-[position=popper]:min-w-(--radix-select-trigger-width) data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",
|
|
15913
15917
|
r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
15914
15918
|
e
|
|
15915
15919
|
),
|
|
@@ -16020,7 +16024,7 @@ function PE({
|
|
|
16020
16024
|
children: /* @__PURE__ */ v(EE, { placeholder: o })
|
|
16021
16025
|
}
|
|
16022
16026
|
),
|
|
16023
|
-
/* @__PURE__ */ v(DE, { className: "max-h-75", children: /* @__PURE__ */ v(IE, { children: r?.map((d) => /* @__PURE__ */ v(NE, { value: d.value, children: d.label }, d.label)) }) })
|
|
16027
|
+
/* @__PURE__ */ v(DE, { className: "max-h-75", children: /* @__PURE__ */ v(IE, { children: r?.length === 0 ? /* @__PURE__ */ v("p", { className: "px-4 py-2 text-gray-500 text-sm", children: "No data found" }) : r?.map((d) => /* @__PURE__ */ v(NE, { value: d.value, children: d.label }, d.label)) }) })
|
|
16024
16028
|
]
|
|
16025
16029
|
}
|
|
16026
16030
|
);
|