@spear-ai/spectral 1.8.7 → 1.8.8
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/.js +148 -146
- package/dist/Accordion.js +3 -2
- package/dist/Alert/AlertBase.js +3 -2
- package/dist/Alert.js +3 -2
- package/dist/Button.js +1 -0
- package/dist/ButtonIcon.js +1 -0
- package/dist/Checkbox.js +1 -0
- package/dist/DateTimePicker/Calendar.js +1 -0
- package/dist/DateTimePicker.js +41 -40
- package/dist/Icons/BoxToolIcon.d.ts +5 -0
- package/dist/Icons/BoxToolIcon.js +13 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons.js +128 -126
- package/dist/Input.js +1 -0
- package/dist/InputOTP.js +3 -2
- package/dist/MultiSelect/MultiSelectBase.js +1 -0
- package/dist/Select.d.ts +1 -1
- package/dist/Select.js +90 -89
- package/dist/Textarea.js +1 -0
- package/dist/Toast.js +5 -4
- package/dist/Tray.js +1 -0
- package/dist/primitives/select.js +13 -12
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import "../Icons/AnnotationsIcon.js";
|
|
|
4
4
|
import "../Icons/ApprovedIcon.js";
|
|
5
5
|
import "../Icons/ArrowDownIcon.js";
|
|
6
6
|
import "../Icons/ArrowUpIcon.js";
|
|
7
|
+
import "../Icons/BoxToolIcon.js";
|
|
7
8
|
import "../Icons/CalendarIcon.js";
|
|
8
9
|
import "../Icons/CheckCircleIcon.js";
|
|
9
10
|
import "../Icons/CheckSquareIcon.js";
|
|
@@ -69,7 +70,7 @@ import "../Icons/ZoomYIcon.js";
|
|
|
69
70
|
import { R as c, T as d, I as u, V as f, P as g, C as x, a as h, d as v, f as b, e as w, S as y, b as S, G as z, L as N, c as I } from "../index-DqvTB1Bv.js";
|
|
70
71
|
import { cn as r } from "../utils/twUtils.js";
|
|
71
72
|
import "react";
|
|
72
|
-
const
|
|
73
|
+
const Mt = ({ ...t }) => /* @__PURE__ */ e(c, { "data-slot": "select", ...t }), Ot = ({ ...t }) => /* @__PURE__ */ e(z, { "data-slot": "select-group", ...t }), Qt = ({ ...t }) => /* @__PURE__ */ e(f, { "data-slot": "select-value", ...t }), Wt = ({
|
|
73
74
|
asChild: t,
|
|
74
75
|
children: o,
|
|
75
76
|
className: a,
|
|
@@ -91,7 +92,7 @@ const Kt = ({ ...t }) => /* @__PURE__ */ e(c, { "data-slot": "select", ...t }),
|
|
|
91
92
|
!t && /* @__PURE__ */ e(u, { asChild: !0, children: /* @__PURE__ */ e(l, { className: "size-4 opacity-50" }) })
|
|
92
93
|
]
|
|
93
94
|
}
|
|
94
|
-
),
|
|
95
|
+
), Xt = ({ align: t = "center", children: o, className: a, position: i = "popper", ...s }) => /* @__PURE__ */ e(g, { children: /* @__PURE__ */ n(
|
|
95
96
|
x,
|
|
96
97
|
{
|
|
97
98
|
align: t,
|
|
@@ -109,7 +110,7 @@ const Kt = ({ ...t }) => /* @__PURE__ */ e(c, { "data-slot": "select", ...t }),
|
|
|
109
110
|
/* @__PURE__ */ e(j, {})
|
|
110
111
|
]
|
|
111
112
|
}
|
|
112
|
-
) }),
|
|
113
|
+
) }), Yt = ({ className: t, ...o }) => /* @__PURE__ */ e(N, { className: r("text-text-primary px-2 py-1.5 text-xs", t), "data-slot": "select-label", ...o }), Zt = ({ className: t, children: o, ...a }) => /* @__PURE__ */ n(
|
|
113
114
|
v,
|
|
114
115
|
{
|
|
115
116
|
className: r(
|
|
@@ -123,16 +124,16 @@ const Kt = ({ ...t }) => /* @__PURE__ */ e(c, { "data-slot": "select", ...t }),
|
|
|
123
124
|
/* @__PURE__ */ e(w, { children: o })
|
|
124
125
|
]
|
|
125
126
|
}
|
|
126
|
-
),
|
|
127
|
+
), $t = ({ className: t, ...o }) => /* @__PURE__ */ e(I, { className: r("bg-border pointer-events-none -mx-1 my-1 h-px", t), "data-slot": "select-separator", ...o }), _ = ({ className: t, ...o }) => /* @__PURE__ */ e(y, { className: r("flex cursor-default items-center justify-center py-1", t), "data-slot": "select-scroll-up-button", ...o, children: /* @__PURE__ */ e(p, { className: "size-4" }) }), j = ({ className: t, ...o }) => /* @__PURE__ */ e(S, { className: r("flex cursor-default items-center justify-center py-1", t), "data-slot": "select-scroll-down-button", ...o, children: /* @__PURE__ */ e(l, { className: "size-4" }) });
|
|
127
128
|
export {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
Mt as Select,
|
|
130
|
+
Xt as SelectContent,
|
|
131
|
+
Ot as SelectGroup,
|
|
132
|
+
Zt as SelectItem,
|
|
133
|
+
Yt as SelectLabel,
|
|
133
134
|
j as SelectScrollDownButton,
|
|
134
135
|
_ as SelectScrollUpButton,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
$t as SelectSeparator,
|
|
137
|
+
Wt as SelectTrigger,
|
|
138
|
+
Qt as SelectValue
|
|
138
139
|
};
|