@wpic/ui 0.9.36 → 0.9.37
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/wpic-ui.cjs +3 -3
- package/dist/wpic-ui.css +1 -1
- package/dist/wpic-ui.js +5 -5
- package/package.json +1 -1
package/dist/wpic-ui.js
CHANGED
|
@@ -38,7 +38,7 @@ const O3 = {
|
|
|
38
38
|
"wpic-button",
|
|
39
39
|
"wpic:relative wpic:inline-flex wpic:items-center wpic:justify-center wpic:font-medium wpic:transition-all wpic:duration-150 wpic:cursor-pointer wpic:select-none",
|
|
40
40
|
"wpic:focus-visible:outline-none wpic:focus-visible:ring-2 wpic:focus-visible:ring-indigo-500/50 wpic:focus-visible:ring-offset-1",
|
|
41
|
-
"wpic:active:scale-[0.98]",
|
|
41
|
+
c.variant === "ghost-transparent" ? "wpic:active:scale-95" : "wpic:active:scale-[0.98]",
|
|
42
42
|
n.disabled || n.loading ? "wpic:opacity-40 wpic:cursor-not-allowed wpic:pointer-events-none" : "",
|
|
43
43
|
n.active && !["text", "ghost-transparent"].includes(c.variant ?? "") ? "wpic-button--active" : "",
|
|
44
44
|
// Size
|
|
@@ -54,7 +54,7 @@ const O3 = {
|
|
|
54
54
|
(c.variant ?? "primary") === "subtle" ? "wpic:bg-zinc-100 wpic:border wpic:border-zinc-100 wpic:hover:bg-zinc-200/70 wpic:text-zinc-700 wpic:dark:bg-zinc-800 wpic:dark:border-zinc-800 wpic:dark:hover:bg-zinc-700 wpic:dark:text-zinc-200" : "",
|
|
55
55
|
(c.variant ?? "primary") === "destructive" ? "wpic:bg-red-500 wpic:hover:bg-red-600 wpic:text-white" : "",
|
|
56
56
|
(c.variant ?? "primary") === "ghost" ? "wpic:bg-transparent wpic:hover:bg-zinc-100 wpic:text-zinc-600 wpic:hover:text-zinc-900 wpic:dark:hover:bg-zinc-800 wpic:dark:text-zinc-400 wpic:dark:hover:text-zinc-100" : "",
|
|
57
|
-
c.variant === "ghost-transparent" ? n.active ? "wpic:bg-transparent wpic:text-indigo-600 wpic:dark:text-indigo-400" : "wpic:bg-transparent wpic:hover:bg-[#80808026] wpic:text-
|
|
57
|
+
c.variant === "ghost-transparent" ? n.active ? "wpic:bg-transparent wpic:hover:bg-[#80808026] wpic:text-indigo-600 wpic:dark:text-indigo-400" : "wpic:bg-transparent wpic:hover:bg-[#80808026] wpic:text-zinc-500 wpic:dark:text-zinc-500" : "",
|
|
58
58
|
c.variant === "ghost-transparent" && !n.active && !n.disabled && !n.loading ? "wpic:opacity-60 wpic:hover:opacity-100 wpic:focus-visible:opacity-100" : "",
|
|
59
59
|
(c.variant ?? "primary") === "outline" ? "wpic:bg-transparent wpic:border wpic:border-zinc-200 wpic:hover:bg-zinc-50 wpic:text-zinc-700 wpic:dark:border-zinc-800 wpic:dark:hover:bg-zinc-800 wpic:dark:text-zinc-300" : ""
|
|
60
60
|
])
|
|
@@ -2956,7 +2956,7 @@ const G5 = ["data-wpic-theme"], K1 = /* @__PURE__ */ X({
|
|
|
2956
2956
|
})
|
|
2957
2957
|
]));
|
|
2958
2958
|
}
|
|
2959
|
-
}), al = /* @__PURE__ */ W1(L6, [["__scopeId", "data-v-
|
|
2959
|
+
}), al = /* @__PURE__ */ W1(L6, [["__scopeId", "data-v-0009decf"]]), V6 = { class: "wpic-pagination wpic:flex wpic:items-center wpic:justify-between wpic:gap-4" }, $6 = { class: "wpic:text-sm wpic:text-zinc-400 wpic:dark:text-zinc-500 wpic:shrink-0" }, B6 = { class: "wpic:flex wpic:items-center wpic:gap-1" }, S6 = ["disabled"], A6 = {
|
|
2960
2960
|
key: 0,
|
|
2961
2961
|
class: "wpic:w-7 wpic:h-7 wpic:inline-flex wpic:items-center wpic:justify-center wpic:text-sm wpic:text-zinc-400 wpic:select-none"
|
|
2962
2962
|
}, F6 = ["onClick"], H6 = ["disabled"], ol = /* @__PURE__ */ X({
|
|
@@ -18548,7 +18548,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18548
18548
|
x2: "1",
|
|
18549
18549
|
y2: "1"
|
|
18550
18550
|
}, [...D[2] || (D[2] = [
|
|
18551
|
-
A1('<stop offset="0%" stop-color="#38bdf8" stop-opacity="1" data-v-
|
|
18551
|
+
A1('<stop offset="0%" stop-color="#38bdf8" stop-opacity="1" data-v-de0d47e3></stop><stop offset="18%" stop-color="#6366f1" stop-opacity="0.8" data-v-de0d47e3></stop><stop offset="38%" stop-color="#6366f1" stop-opacity="0" data-v-de0d47e3></stop><stop offset="62%" stop-color="#6366f1" stop-opacity="0" data-v-de0d47e3></stop><stop offset="82%" stop-color="#6366f1" stop-opacity="0.7" data-v-de0d47e3></stop><stop offset="100%" stop-color="#8b5cf6" stop-opacity="1" data-v-de0d47e3></stop>', 6)
|
|
18552
18552
|
])])
|
|
18553
18553
|
]),
|
|
18554
18554
|
i("rect", {
|
|
@@ -18783,7 +18783,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18783
18783
|
}, 8, ["open", "anchor"])
|
|
18784
18784
|
], 2));
|
|
18785
18785
|
}
|
|
18786
|
-
}), ia = /* @__PURE__ */ W1(Ki, [["__scopeId", "data-v-
|
|
18786
|
+
}), ia = /* @__PURE__ */ W1(Ki, [["__scopeId", "data-v-de0d47e3"]]);
|
|
18787
18787
|
export {
|
|
18788
18788
|
Al as CollapseToggle,
|
|
18789
18789
|
Fl as ConfirmModal,
|