@gemafajarramadhan/dynamic-ui 1.1.13 → 1.1.14
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/dynamic-ui.css +1 -1
- package/dist/dynamic-ui.es.js +8 -8
- package/dist/dynamic-ui.umd.js +3 -3
- package/package.json +12 -13
package/dist/dynamic-ui.es.js
CHANGED
|
@@ -50756,7 +50756,7 @@ const IG = { class: "space-y-3" }, SG = {
|
|
|
50756
50756
|
placeholder: "*",
|
|
50757
50757
|
disabled: i.value,
|
|
50758
50758
|
class: ue([
|
|
50759
|
-
"w-
|
|
50759
|
+
"w-12 h-12 flex-none text-center text-xl font-bold rounded-xl border-2 transition-all duration-200 box-border p-0",
|
|
50760
50760
|
"focus:outline-none focus:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
50761
50761
|
r.value[x - 1] ? "border-blue-500 bg-blue-50 text-blue-700 shadow-sm shadow-blue-100" : "border-gray-200 bg-gray-50 text-gray-400 focus:border-blue-400 focus:bg-white focus:shadow-md focus:shadow-blue-50"
|
|
50762
50762
|
]),
|
|
@@ -51539,9 +51539,9 @@ const IG = { class: "space-y-3" }, SG = {
|
|
|
51539
51539
|
style: { textTransform: v.value },
|
|
51540
51540
|
class: [
|
|
51541
51541
|
"w-full h-10 flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-within:ring-1 focus-within:ring-white",
|
|
51542
|
-
l.icon || l.prependInner || F.$slots["prepend-inner"] ? "pl-10" : "",
|
|
51543
|
-
g.value ? "pr-10" : "",
|
|
51544
|
-
n.value ? "pr-10" : "",
|
|
51542
|
+
l.icon || l.prependInner || F.$slots["prepend-inner"] ? "!pl-10" : "",
|
|
51543
|
+
g.value ? "!pr-10" : "",
|
|
51544
|
+
n.value ? "!pr-10" : "",
|
|
51545
51545
|
oe.value ? "border-destructive focus:ring-destructive focus-visible:ring-destructive focus-visible:ring-[0.5px]" : ""
|
|
51546
51546
|
]
|
|
51547
51547
|
}), null, 16, ["id", "modelValue", "placeholder", "style", "class"]),
|
|
@@ -53210,8 +53210,8 @@ const IG = { class: "space-y-3" }, SG = {
|
|
|
53210
53210
|
relative: !0
|
|
53211
53211
|
})), I(() => ({
|
|
53212
53212
|
"w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500": !0,
|
|
53213
|
-
"pl-10": a.icon,
|
|
53214
|
-
"pr-10": a.clearable && a.modelValue || y.value,
|
|
53213
|
+
"!pl-10": a.icon,
|
|
53214
|
+
"!pr-10": a.clearable && a.modelValue || y.value,
|
|
53215
53215
|
"bg-gray-50 text-gray-500": a.disabled,
|
|
53216
53216
|
"border-red-500 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500": a.error
|
|
53217
53217
|
}));
|
|
@@ -62291,8 +62291,8 @@ const Mee = {
|
|
|
62291
62291
|
}), C = I(() => M.value.slice(0, v.value)), S = I(() => {
|
|
62292
62292
|
const Q = a.columns;
|
|
62293
62293
|
return Q <= 2 ? "grid-cols-2" : Q === 3 ? "grid-cols-3" : Q === 4 ? "grid-cols-4" : Q === 5 ? "grid-cols-5" : Q >= 8 ? "grid-cols-8" : "grid-cols-6";
|
|
62294
|
-
}), A = I(() => a.clearable ? "pr-10" : "pr-3"), D = I(
|
|
62295
|
-
() => _.value && !d.value ? "pl-12" : "pl-3"
|
|
62294
|
+
}), A = I(() => a.clearable ? "!pr-10" : "!pr-3"), D = I(
|
|
62295
|
+
() => _.value && !d.value ? "!pl-12" : "!pl-3"
|
|
62296
62296
|
), O = async () => {
|
|
62297
62297
|
var Q;
|
|
62298
62298
|
await tt(), (Q = i.value) == null || Q.focus();
|