@wpic/ui 0.9.27 → 0.9.29
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/CHANGELOG.md +8 -0
- package/dist/wpic-ui.cjs +2 -2
- package/dist/wpic-ui.js +13 -9
- package/package.json +1 -1
package/dist/wpic-ui.js
CHANGED
|
@@ -7113,7 +7113,7 @@ const v8 = { class: "wpic-tag-input" }, f8 = {
|
|
|
7113
7113
|
}, he = ["disabled", "aria-label"], me = {
|
|
7114
7114
|
class: "wpic-range-layout wpic:flex",
|
|
7115
7115
|
"data-wdrp": ""
|
|
7116
|
-
}, ve = { class: "wpic:w-44 wpic:border-r wpic:border-zinc-100 wpic:
|
|
7116
|
+
}, ve = { class: "wpic:w-44 wpic:border-r wpic:border-zinc-100 wpic:p-1 wpic:dark:border-zinc-800" }, fe = ["aria-pressed", "onClick"], be = {
|
|
7117
7117
|
key: 0,
|
|
7118
7118
|
class: "wpic:p-4"
|
|
7119
7119
|
}, ge = { class: "wpic:mb-3 wpic:flex wpic:items-center wpic:justify-between" }, ze = ["aria-label"], Ce = { class: "wpic:font-medium wpic:text-zinc-900 wpic:dark:text-zinc-100" }, ke = ["aria-label"], xe = { class: "wpic:mb-1 wpic:grid wpic:grid-cols-7 wpic:text-center" }, ye = { class: "wpic:grid wpic:grid-cols-7 wpic:gap-y-1" }, Me = ["aria-label", "aria-pressed", "data-in-range", "data-today", "onClick"], Le = { class: "wpic:mt-3 wpic:border-t wpic:border-zinc-100 wpic:pt-3 wpic:dark:border-zinc-800" }, Ve = { class: "wpic:mb-2 wpic:flex wpic:items-center wpic:gap-2 wpic:text-sm wpic:text-zinc-500" }, $e = { class: "wpic:rounded wpic:bg-zinc-100 wpic:px-2 wpic:py-0.5 wpic:dark:bg-zinc-800" }, Be = { class: "wpic:rounded wpic:bg-zinc-100 wpic:px-2 wpic:py-0.5 wpic:dark:bg-zinc-800" }, Se = ["disabled"], Ol = /* @__PURE__ */ X({
|
|
@@ -7288,9 +7288,9 @@ const v8 = { class: "wpic-tag-input" }, f8 = {
|
|
|
7288
7288
|
i("div", ve, [
|
|
7289
7289
|
(e(!0), t(I, null, l1(n.presets, (Q) => (e(), t("button", {
|
|
7290
7290
|
key: Q.value,
|
|
7291
|
-
class: g(["wpic-range-preset", [
|
|
7291
|
+
class: g(["wpic-range-preset wpic-select-option wpic:rounded-lg", [
|
|
7292
7292
|
"wpic:flex wpic:w-full wpic:items-center wpic:px-4 wpic:py-2 wpic:text-left wpic:text-base wpic:transition-colors wpic:cursor-pointer",
|
|
7293
|
-
a.value === Q.value ? "wpic:bg-[#85C531]/10 wpic:font-medium wpic:text-[#85C531]" : "wpic:text-zinc-700 wpic:hover:bg-zinc-
|
|
7293
|
+
a.value === Q.value ? "wpic:bg-[#85C531]/10 wpic:font-medium wpic:text-[#85C531]" : "wpic:text-zinc-700 wpic:hover:bg-zinc-100 wpic:dark:text-zinc-300 wpic:dark:hover:bg-zinc-700"
|
|
7294
7294
|
]]),
|
|
7295
7295
|
"aria-pressed": a.value === Q.value,
|
|
7296
7296
|
type: "button",
|
|
@@ -18384,7 +18384,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18384
18384
|
}, mi = { class: "wpic:truncate" }, vi = {
|
|
18385
18385
|
key: 2,
|
|
18386
18386
|
class: "wpic:shrink-0 wpic:text-zinc-400"
|
|
18387
|
-
}, fi = ["title", "aria-label", "onClick"], bi = ["aria-label", "title"], gi = ["disabled", "aria-label"], zi = ["accept"], Ci = ["disabled", "title", "aria-label"], ki = { class: "wpic-chat-composer-menu wpic:
|
|
18387
|
+
}, fi = ["title", "aria-label", "onClick"], bi = ["aria-label", "title"], gi = ["disabled", "aria-label"], zi = ["accept"], Ci = ["disabled", "title", "aria-label"], ki = { class: "wpic-chat-composer-menu wpic:p-1" }, xi = {
|
|
18388
18388
|
key: 0,
|
|
18389
18389
|
class: "wpic:flex wpic:items-center wpic:gap-2 wpic:px-3 wpic:py-3 wpic:text-base wpic:text-zinc-500 wpic:dark:text-zinc-400",
|
|
18390
18390
|
role: "status"
|
|
@@ -18455,7 +18455,11 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18455
18455
|
o1.value = !o1.value, o1.value && r("request-history");
|
|
18456
18456
|
}
|
|
18457
18457
|
function e1() {
|
|
18458
|
-
|
|
18458
|
+
if (!x.value) {
|
|
18459
|
+
H.value = !1;
|
|
18460
|
+
return;
|
|
18461
|
+
}
|
|
18462
|
+
o.showHistory ? j() : m1();
|
|
18459
18463
|
}
|
|
18460
18464
|
function Q() {
|
|
18461
18465
|
o1.value = !1, B.value = !1, O.value = !1, H.value = !0;
|
|
@@ -18669,7 +18673,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18669
18673
|
i("p", Li, v(n.projectsLabel), 1),
|
|
18670
18674
|
(e(!0), t(I, null, l1(o.projects, (S) => (e(), t("div", {
|
|
18671
18675
|
key: S.id,
|
|
18672
|
-
class: "wpic:flex wpic:items-center wpic:gap-2 wpic:px-4 wpic:py-2 wpic:text-base wpic:text-zinc-700 wpic:hover:bg-zinc-
|
|
18676
|
+
class: "wpic-select-option wpic:rounded-lg wpic:flex wpic:items-center wpic:gap-2 wpic:px-4 wpic:py-2 wpic:text-base wpic:text-zinc-700 wpic:hover:bg-zinc-100 wpic:dark:text-zinc-200 wpic:dark:hover:bg-zinc-700",
|
|
18673
18677
|
tabindex: "0",
|
|
18674
18678
|
role: "button",
|
|
18675
18679
|
"aria-expanded": r1.value === S.id,
|
|
@@ -18694,7 +18698,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18694
18698
|
(e(!0), t(I, null, l1(Y.value, (S) => (e(), t("button", {
|
|
18695
18699
|
key: S.id,
|
|
18696
18700
|
type: "button",
|
|
18697
|
-
class: g(["wpic:grid wpic:w-full wpic:grid-cols-[minmax(0,1fr)_auto] wpic:items-center wpic:gap-5 wpic:px-4 wpic:py-3 wpic:text-left wpic:text-base wpic:text-zinc-700 wpic:transition wpic:hover:bg-zinc-
|
|
18701
|
+
class: g(["wpic-select-option wpic:rounded-lg wpic:grid wpic:w-full wpic:grid-cols-[minmax(0,1fr)_auto] wpic:items-center wpic:gap-5 wpic:px-4 wpic:py-3 wpic:text-left wpic:text-base wpic:text-zinc-700 wpic:transition wpic:hover:bg-zinc-100 wpic:dark:text-zinc-200 wpic:dark:hover:bg-zinc-700", S.highlighted ? "wpic:bg-indigo-50/70 wpic:dark:bg-indigo-950/30" : ""]),
|
|
18698
18702
|
onClick: (a1) => z1(S.id)
|
|
18699
18703
|
}, [
|
|
18700
18704
|
i("span", Fi, [
|
|
@@ -18723,7 +18727,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18723
18727
|
}, {
|
|
18724
18728
|
default: s1(() => [
|
|
18725
18729
|
i("div", {
|
|
18726
|
-
class: "wpic-chat-composer-menu wpic:
|
|
18730
|
+
class: "wpic-chat-composer-menu wpic:p-1",
|
|
18727
18731
|
onMouseenter: p1,
|
|
18728
18732
|
onMouseleave: k1
|
|
18729
18733
|
}, [
|
|
@@ -18731,7 +18735,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
18731
18735
|
(e(!0), t(I, null, l1(z.value, (S) => (e(), t("button", {
|
|
18732
18736
|
key: S.id,
|
|
18733
18737
|
type: "button",
|
|
18734
|
-
class: "wpic:grid wpic:w-full wpic:grid-cols-[minmax(0,1fr)_auto] wpic:gap-4 wpic:px-3 wpic:py-2 wpic:text-left wpic:text-base wpic:text-zinc-700 wpic:hover:bg-zinc-
|
|
18738
|
+
class: "wpic-select-option wpic:rounded-lg wpic:grid wpic:w-full wpic:grid-cols-[minmax(0,1fr)_auto] wpic:gap-4 wpic:px-3 wpic:py-2 wpic:text-left wpic:text-base wpic:text-zinc-700 wpic:hover:bg-zinc-100 wpic:dark:text-zinc-200 wpic:dark:hover:bg-zinc-700",
|
|
18735
18739
|
onClick: (a1) => z1(S.id)
|
|
18736
18740
|
}, [
|
|
18737
18741
|
i("span", Ii, v(S.title), 1),
|