@konstructio/ui 0.1.1-alpha.6 → 0.1.2-alpha.10
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/{Modal-V67Uz78z.js → Modal-B8jrP02v.js} +20 -20
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/{chevron-down-CVce9Mvh.js → chevron-down-MZvQoT2F.js} +2 -2
- package/dist/chevron-right-VYBOBhRt.js +19 -0
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +46 -54
- package/dist/components/Autocomplete/Autocomplete.variants.js +29 -48
- package/dist/components/Autocomplete/components/List/List.js +37 -47
- package/dist/components/Autocomplete/components/List/List.variants.js +34 -69
- package/dist/components/Badge/Badge.js +2 -2
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/components/Item/Item.js +24 -23
- package/dist/components/Button/Button.variants.js +110 -134
- package/dist/components/Checkbox/Checkbox.js +5 -4
- package/dist/components/Checkbox/Checkbox.variants.js +9 -8
- package/dist/components/Command/Command.js +2 -2
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +1 -1
- package/dist/components/Command/components/CommandInput.js +2 -2
- package/dist/components/Command/components/CommandItem.js +1 -1
- package/dist/components/Command/components/CommandList.js +1 -1
- package/dist/components/Command/components/CommandSeparator.js +1 -1
- package/dist/components/Command/components/DialogContent.js +2 -2
- package/dist/components/Command/components/DialogOverlay.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +949 -898
- package/dist/components/Dropdown/Dropdown.js +36 -24
- package/dist/components/Dropdown/Dropdown.variants.js +32 -14
- package/dist/components/Dropdown/components/List/List.js +59 -44
- package/dist/components/Dropdown/components/List/List.variants.js +9 -7
- package/dist/components/Dropdown/components/ListItem/ListItem.js +48 -24
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +9 -7
- package/dist/components/Dropdown/components/Wrapper.js +141 -106
- package/dist/components/Dropdown/contexts/dropdown.context.js +9 -8
- package/dist/components/Dropdown/contexts/dropdown.provider.js +20 -19
- package/dist/components/Dropdown/hooks/useDropdown.js +26 -27
- package/dist/components/Dropdown/hooks/useNavigationList.js +32 -28
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
- package/dist/components/Filter/components/ResetButton/ResetButton.js +16 -11
- package/dist/components/Input/Input.js +48 -48
- package/dist/components/Input/Input.variants.js +10 -10
- package/dist/components/Loading/Loading.js +2 -2
- package/dist/components/Loading/Loading.variants.js +4 -4
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -3
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +2 -2
- package/dist/components/PieChart/PieChart.js +217 -215
- package/dist/components/Radio/Radio.variants.js +4 -4
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +29 -28
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Switch/Switch.js +94 -89
- package/dist/components/Switch/Switch.variants.js +16 -12
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/Tabs.variants.js +45 -24
- package/dist/components/Tabs/components/Content.js +1 -1
- package/dist/components/Tabs/components/List.js +1 -1
- package/dist/components/Tabs/components/Trigger.js +9 -8
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +98 -49
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Toast/Toast.js +57 -55
- package/dist/components/VirtualizedTable/VirtualizedTable.js +117 -0
- package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +5 -0
- package/dist/components/VirtualizedTable/assets/chevron-down.js +25 -0
- package/dist/components/VirtualizedTable/assets/chevron-up.js +25 -0
- package/dist/components/VirtualizedTable/assets/index.js +6 -0
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +46 -0
- package/dist/components/VirtualizedTable/components/Body/Body.js +25 -0
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +165 -0
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +34 -0
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +86 -0
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +48 -0
- package/dist/components/VirtualizedTable/components/Header/Header.js +82 -0
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +45 -0
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1871 -0
- package/dist/components/VirtualizedTable/components/index.js +14 -0
- package/dist/components/VirtualizedTable/constants/index.js +5 -0
- package/dist/components/VirtualizedTable/constants/pagination.js +5 -0
- package/dist/components/VirtualizedTable/contexts/index.js +8 -0
- package/dist/components/VirtualizedTable/contexts/table.context.js +31 -0
- package/dist/components/VirtualizedTable/contexts/table.hook.js +11 -0
- package/dist/components/VirtualizedTable/contexts/table.provider.js +82 -0
- package/dist/components/index.js +44 -40
- package/dist/{createLucideIcon-BpsAkT97.js → createLucideIcon-D2CN7Ma9.js} +4 -4
- package/dist/debounce-BFejQm9P.js +200 -0
- package/dist/{index-D3xzCzcO.js → index-0XtjXVpJ.js} +2 -2
- package/dist/index-BAEWsOG1.js +27 -0
- package/dist/index-BVRIAMfe.js +36 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/{index-Oq5GlCHP.js → index-Bn4c-gww.js} +1 -1
- package/dist/index-CffpTFMi.js +137 -0
- package/dist/{index-BAraV3ai.js → index-DQJhMz8c.js} +1 -1
- package/dist/index-DdXGVVBv.js +15 -0
- package/dist/index-Dx2grAuN.js +1742 -0
- package/dist/{index-h-Ul0anl.js → index-N2OStZoU.js} +1 -1
- package/dist/{index-BXuxPoz7.js → index-amYX3uxF.js} +18 -17
- package/dist/{index-DB2XhXHn.js → index-l3NwplN0.js} +11 -10
- package/dist/{index-iXyXtdgP.js → index-sp5ZfG6g.js} +1 -1
- package/dist/index.d.ts +112 -10
- package/dist/index.js +41 -37
- package/dist/package.json +31 -23
- package/dist/styles.css +1 -1
- package/dist/ui/civo-theme.css +204 -189
- package/dist/ui/kubefirst-theme.css +3 -1
- package/dist/ui/theme.css +2 -2
- package/dist/{x-BPcqkRZd.js → x-4F_5p77m.js} +1 -1
- package/package.json +31 -23
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/chevron-up-RLP4nX7V.js +0 -54
- package/dist/index-C9T9HQaa.js +0 -423
- package/dist/index-CZnD2QxM.js +0 -32
- package/dist/index-CrBonFvu.js +0 -144
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { cn as m } from "../../../../utils/index.js";
|
|
3
|
-
import { u as
|
|
4
|
-
import { breadcrumbLinkVariants as
|
|
3
|
+
import { u as h, L as b } from "../../../../useBreadcrumb-B8DnuqkR.js";
|
|
4
|
+
import { breadcrumbLinkVariants as d, breadcrumbLabelVariants as k } from "./Item.variants.js";
|
|
5
5
|
const g = ({
|
|
6
6
|
isActive: r,
|
|
7
7
|
isLast: t,
|
|
8
8
|
label: n,
|
|
9
|
-
target:
|
|
9
|
+
target: s,
|
|
10
10
|
theme: c,
|
|
11
|
-
to:
|
|
12
|
-
component:
|
|
11
|
+
to: a,
|
|
12
|
+
component: l = "a"
|
|
13
13
|
}) => {
|
|
14
|
-
const { isInsideRouter:
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
return /* @__PURE__ */
|
|
14
|
+
const { isInsideRouter: u } = h(), o = (f) => {
|
|
15
|
+
a === "#" && f.preventDefault();
|
|
16
|
+
}, i = l;
|
|
17
|
+
return /* @__PURE__ */ e(
|
|
18
18
|
"li",
|
|
19
19
|
{
|
|
20
20
|
"aria-current": t ? "page" : void 0,
|
|
21
21
|
className: "group font-medium text-inherit",
|
|
22
22
|
"data-theme": c,
|
|
23
|
-
children:
|
|
24
|
-
|
|
23
|
+
children: a ? /* @__PURE__ */ e(p, { children: u ? /* @__PURE__ */ e(
|
|
24
|
+
b,
|
|
25
25
|
{
|
|
26
|
-
to:
|
|
27
|
-
target:
|
|
28
|
-
className: m(
|
|
26
|
+
to: a,
|
|
27
|
+
target: s,
|
|
28
|
+
className: m(d({ isActive: r })),
|
|
29
29
|
"aria-disabled": r ? "true" : "false",
|
|
30
|
-
onClick:
|
|
30
|
+
onClick: o,
|
|
31
31
|
children: n
|
|
32
32
|
}
|
|
33
|
-
) : /* @__PURE__ */
|
|
34
|
-
|
|
33
|
+
) : /* @__PURE__ */ e(
|
|
34
|
+
i,
|
|
35
35
|
{
|
|
36
|
-
href:
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
href: i === "a" ? a : void 0,
|
|
37
|
+
to: i !== "a" ? a : void 0,
|
|
38
|
+
target: s,
|
|
39
|
+
className: m(d({ isActive: r })),
|
|
39
40
|
"aria-disabled": r ? "true" : "false",
|
|
40
|
-
onClick:
|
|
41
|
+
onClick: o,
|
|
41
42
|
children: n
|
|
42
43
|
}
|
|
43
|
-
) }) : /* @__PURE__ */
|
|
44
|
+
) }) : /* @__PURE__ */ e("span", { className: m(k({ isActive: r })), children: n })
|
|
44
45
|
}
|
|
45
46
|
);
|
|
46
47
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const t =
|
|
1
|
+
import { c as r } from "../../index-D29mdTf5.js";
|
|
2
|
+
const t = r(
|
|
3
3
|
[
|
|
4
4
|
"border",
|
|
5
5
|
"cursor-pointer",
|
|
@@ -20,32 +20,28 @@ const t = e(
|
|
|
20
20
|
"px-4",
|
|
21
21
|
"py-2",
|
|
22
22
|
"text-sm",
|
|
23
|
-
"border-kubefirst-primary",
|
|
24
|
-
"bg-kubefirst-primary",
|
|
25
|
-
"hover:bg-kubefirst-secondary",
|
|
26
|
-
"hover:border-kubefirst-secondary",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
23
|
+
"kubefirst:border-kubefirst-primary",
|
|
24
|
+
"kubefirst:bg-kubefirst-primary",
|
|
25
|
+
"kubefirst:hover:bg-kubefirst-secondary",
|
|
26
|
+
"kubefirst:hover:border-kubefirst-secondary",
|
|
27
|
+
"kubefirst:text-white",
|
|
28
|
+
"bg-aurora-500",
|
|
29
|
+
"border-aurora-500",
|
|
30
|
+
"text-slate-700",
|
|
31
|
+
"hover:bg-aurora-400",
|
|
32
|
+
"hover:border-aurora-400"
|
|
32
33
|
],
|
|
33
34
|
{
|
|
34
35
|
variants: {
|
|
35
36
|
variant: {
|
|
36
|
-
primary:
|
|
37
|
+
primary: "",
|
|
37
38
|
secondary: ["bg-white"],
|
|
38
39
|
danger: [
|
|
39
40
|
"border-red-700",
|
|
40
41
|
"bg-red-700",
|
|
41
42
|
"text-white",
|
|
42
43
|
"hover:bg-red-800",
|
|
43
|
-
"hover:border-red-800"
|
|
44
|
-
"civo:border-red-700",
|
|
45
|
-
"civo:bg-red-700",
|
|
46
|
-
"civo:text-white",
|
|
47
|
-
"civo:hover:bg-red-800",
|
|
48
|
-
"civo:hover:border-red-800"
|
|
44
|
+
"hover:border-red-800"
|
|
49
45
|
],
|
|
50
46
|
text: ["bg-transparent", "border-transparent", "text-slate-500"]
|
|
51
47
|
},
|
|
@@ -80,82 +76,86 @@ const t = e(
|
|
|
80
76
|
variant: "secondary",
|
|
81
77
|
disabled: !1,
|
|
82
78
|
class: [
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"hover:
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
79
|
+
"bg-white",
|
|
80
|
+
"hover:bg-white",
|
|
81
|
+
"text-slate-700",
|
|
82
|
+
"border-slate-300",
|
|
83
|
+
"hover:text-slate-700",
|
|
84
|
+
"hover:border-slate-300",
|
|
85
|
+
"hover:bg-slate-50",
|
|
86
|
+
"dark:bg-transparent",
|
|
87
|
+
"dark:text-aurora-500",
|
|
88
|
+
"dark:border-aurora-500",
|
|
89
|
+
"dark:hover:bg-aurora-900",
|
|
90
|
+
"dark:hover:border-aurora-500",
|
|
91
|
+
"dark:hover:text-aurora-500",
|
|
92
|
+
"kubefirst:text-kubefirst-primary",
|
|
93
|
+
"kubefirst:border-kubefirst-primary",
|
|
94
|
+
"kubefirst:hover:text-kubefirst-secondary",
|
|
95
|
+
"kubefirst:hover:border-kubefirst-secondary",
|
|
96
|
+
"kubefirst:hover:bg-purple-50",
|
|
97
|
+
"kubefirst:bg-white"
|
|
98
98
|
]
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
variant: "primary",
|
|
102
102
|
disabled: !0,
|
|
103
103
|
class: [
|
|
104
|
-
"bg-zinc-200",
|
|
105
|
-
"border-zinc-200",
|
|
106
|
-
"text-zinc-500",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
104
|
+
"kubefirst:bg-zinc-200",
|
|
105
|
+
"kubefirst:border-zinc-200",
|
|
106
|
+
"kubefirst:text-zinc-500",
|
|
107
|
+
"text-gray-700",
|
|
108
|
+
"opacity-45"
|
|
109
109
|
]
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
variant: "secondary",
|
|
113
113
|
disabled: !0,
|
|
114
114
|
class: [
|
|
115
|
+
"kubefirst:bg-white",
|
|
116
|
+
"kubefirst:border-zinc-500",
|
|
117
|
+
"kubefirst:text-zinc-500",
|
|
118
|
+
"border-slate-300/45",
|
|
115
119
|
"bg-white",
|
|
116
|
-
"
|
|
117
|
-
"text-zinc-500",
|
|
118
|
-
"civo:border-slate-300/45",
|
|
119
|
-
"civo:bg-white",
|
|
120
|
-
"civo:text-slate-700/45"
|
|
120
|
+
"text-slate-700/45"
|
|
121
121
|
]
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
variant: "danger",
|
|
125
125
|
version: "alternate",
|
|
126
126
|
class: [
|
|
127
|
+
"kubefirst:border-red-700",
|
|
128
|
+
"kubefirst:text-red-700",
|
|
129
|
+
"kubefirst:bg-white",
|
|
130
|
+
"kubefirst:hover:bg-red-50",
|
|
127
131
|
"border-red-700",
|
|
128
132
|
"text-red-700",
|
|
129
133
|
"bg-white",
|
|
130
|
-
"hover:bg-red-50"
|
|
131
|
-
"civo:border-red-700",
|
|
132
|
-
"civo:text-red-700",
|
|
133
|
-
"civo:bg-white",
|
|
134
|
-
"civo:hover:bg-red-50"
|
|
134
|
+
"hover:bg-red-50"
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
variant: "danger",
|
|
139
139
|
disabled: !0,
|
|
140
|
-
class: [
|
|
141
|
-
"civo:text-white",
|
|
142
|
-
"civo:bg-red-700/45",
|
|
143
|
-
"civo:border-transparent"
|
|
144
|
-
]
|
|
140
|
+
class: ["text-white", "bg-red-700/45", "border-transparent"]
|
|
145
141
|
},
|
|
146
142
|
{
|
|
147
143
|
variant: "text",
|
|
148
144
|
disabled: !1,
|
|
149
145
|
version: "default",
|
|
150
146
|
class: [
|
|
147
|
+
"kubefirst:hover:border-transparent",
|
|
148
|
+
"kubefirst:hover:text-kubefirst-primary",
|
|
149
|
+
"kubefirst:text-kubefirst-primary",
|
|
150
|
+
"kubefirst:hover:bg-purple-50",
|
|
151
|
+
"kubefirst:bg-white",
|
|
152
|
+
"kubefirst:border-transparent",
|
|
153
|
+
"bg-white",
|
|
154
|
+
"border-transparent",
|
|
155
|
+
"text-slate-700",
|
|
151
156
|
"hover:border-transparent",
|
|
152
|
-
"hover:text-
|
|
153
|
-
"hover:bg-
|
|
154
|
-
"civo:bg-white",
|
|
155
|
-
"civo:border-transparent",
|
|
156
|
-
"civo:hover:border-transparent",
|
|
157
|
-
"civo:hover:text-civo-primary",
|
|
158
|
-
"civo:hover:bg-transparent"
|
|
157
|
+
"hover:text-aurora-500",
|
|
158
|
+
"hover:bg-transparent"
|
|
159
159
|
]
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -163,16 +163,18 @@ const t = e(
|
|
|
163
163
|
disabled: !1,
|
|
164
164
|
version: "alternate",
|
|
165
165
|
class: [
|
|
166
|
+
"bg-white",
|
|
167
|
+
"border-transparent",
|
|
168
|
+
"text-aurora-500",
|
|
166
169
|
"hover:border-transparent",
|
|
167
|
-
"text-
|
|
168
|
-
"hover:
|
|
169
|
-
"hover:
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"civo:hover:bg-blue-50"
|
|
170
|
+
"hover:text-aurora-500",
|
|
171
|
+
"hover:bg-aurora-50",
|
|
172
|
+
"kubefirst:hover:border-transparent",
|
|
173
|
+
"kubefirst:text-kubefirst-primary",
|
|
174
|
+
"kubefirst:border-transparent",
|
|
175
|
+
"kubefirst:bg-white",
|
|
176
|
+
"kubefirst:hover:text-kubefirst-primary",
|
|
177
|
+
"kubefirst:hover:bg-purple-50"
|
|
176
178
|
]
|
|
177
179
|
},
|
|
178
180
|
{
|
|
@@ -180,112 +182,86 @@ const t = e(
|
|
|
180
182
|
disabled: !0,
|
|
181
183
|
version: ["default", "alternate"],
|
|
182
184
|
class: [
|
|
185
|
+
"kubefirst:bg-white",
|
|
186
|
+
"kubefirst:border-white",
|
|
187
|
+
"kubefirst:text-zinc-400",
|
|
183
188
|
"bg-white",
|
|
184
189
|
"border-white",
|
|
185
|
-
"text-
|
|
186
|
-
"civo:bg-white",
|
|
187
|
-
"civo:border-white",
|
|
188
|
-
"civo:text-civo-primary/45"
|
|
190
|
+
"text-slate-700/45"
|
|
189
191
|
]
|
|
190
192
|
},
|
|
191
193
|
{
|
|
192
194
|
shape: "circle",
|
|
193
|
-
size: "medium",
|
|
195
|
+
size: ["medium", "large"],
|
|
194
196
|
disabled: !1,
|
|
195
197
|
class: [
|
|
196
|
-
"text-slate-400",
|
|
197
|
-
"bg-transparent",
|
|
198
|
-
"border-transparent",
|
|
199
|
-
"hover:border-transparent",
|
|
200
|
-
"hover:bg-kubefirst-primary/5",
|
|
201
|
-
"hover:text-kubefirst-primary",
|
|
202
198
|
"w-8",
|
|
203
199
|
"h-8",
|
|
204
|
-
"civo:text-slate-400",
|
|
205
|
-
"civo:bg-transparent",
|
|
206
|
-
"civo:border-transparent",
|
|
207
|
-
"civo:hover:border-transparent",
|
|
208
|
-
"civo:hover:bg-civo-primary/5",
|
|
209
|
-
"civo:hover:text-civo-primary",
|
|
210
|
-
"civo:[&>svg]:w-5",
|
|
211
|
-
"civo:[&>svg]:h-5"
|
|
212
|
-
]
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
shape: "circle",
|
|
216
|
-
size: "large",
|
|
217
|
-
disabled: !1,
|
|
218
|
-
class: [
|
|
219
200
|
"text-slate-400",
|
|
220
201
|
"bg-transparent",
|
|
221
202
|
"border-transparent",
|
|
222
203
|
"hover:border-transparent",
|
|
223
|
-
"hover:bg-
|
|
224
|
-
"hover:text-
|
|
225
|
-
"w-
|
|
226
|
-
"h-
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
204
|
+
"hover:bg-aurora-500/5",
|
|
205
|
+
"hover:text-slate-800",
|
|
206
|
+
"[&>svg]:w-5",
|
|
207
|
+
"[&>svg]:h-5",
|
|
208
|
+
"dark:text-slate-400",
|
|
209
|
+
"dark:hover:text-aurora-500",
|
|
210
|
+
"dark:hover:bg-aurora-900",
|
|
211
|
+
"kubefirst:text-slate-400",
|
|
212
|
+
"kubefirst:bg-transparent",
|
|
213
|
+
"kubefirst:border-transparent",
|
|
214
|
+
"kubefirst:hover:border-transparent",
|
|
215
|
+
"kubefirst:hover:bg-kubefirst-primary/5",
|
|
216
|
+
"kubefirst:hover:text-kubefirst-primary",
|
|
217
|
+
"kubefirst-dark:text-slate-400",
|
|
218
|
+
"kubefirst-dark:bg-transparent",
|
|
219
|
+
"kubefirst-dark:border-transparent",
|
|
220
|
+
"kubefirst-dark:hover:border-transparent",
|
|
221
|
+
"kubefirst-dark:hover:bg-kubefirst-primary/5",
|
|
222
|
+
"kubefirst-dark:hover:text-kubefirst-primary",
|
|
223
|
+
"kubefirst-dark:hover:bg-kubefirst-primary/25"
|
|
239
224
|
]
|
|
240
225
|
},
|
|
241
226
|
{
|
|
242
|
-
variant: "danger",
|
|
243
227
|
shape: "circle",
|
|
244
228
|
size: "large",
|
|
245
229
|
disabled: !1,
|
|
246
|
-
class: [
|
|
247
|
-
"text-red-700",
|
|
248
|
-
"hover:text-red-700",
|
|
249
|
-
"hover:bg-red-50",
|
|
250
|
-
"civo:text-red-700",
|
|
251
|
-
"civo:hover:text-red-700",
|
|
252
|
-
"civo:hover:bg-red-50"
|
|
253
|
-
]
|
|
230
|
+
class: ["w-11", "h-11", "[&>svg]:w-6", "[&>svg]:h-6"]
|
|
254
231
|
},
|
|
255
232
|
{
|
|
256
233
|
variant: "danger",
|
|
257
234
|
shape: "circle",
|
|
258
|
-
size: "medium",
|
|
235
|
+
size: ["medium", "large"],
|
|
259
236
|
disabled: !1,
|
|
260
237
|
class: [
|
|
261
238
|
"text-red-700",
|
|
262
239
|
"hover:text-red-700",
|
|
263
240
|
"hover:bg-red-50",
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
241
|
+
"dark:text-red-700",
|
|
242
|
+
"dark:hover:text-red-500",
|
|
243
|
+
"dark:hover:bg-red-700/25"
|
|
267
244
|
]
|
|
268
245
|
},
|
|
269
246
|
{
|
|
270
247
|
shape: "circle",
|
|
271
|
-
size: "medium",
|
|
248
|
+
size: ["medium", "large"],
|
|
272
249
|
disabled: !0,
|
|
273
250
|
class: [
|
|
274
|
-
"text-slate-
|
|
251
|
+
"text-slate-400",
|
|
275
252
|
"bg-transparent",
|
|
276
253
|
"border-transparent",
|
|
277
254
|
"w-8",
|
|
278
255
|
"h-8",
|
|
279
256
|
"[&>svg]:w-5",
|
|
280
|
-
"[&>svg]:h-5"
|
|
281
|
-
"civo:text-slate-300",
|
|
282
|
-
"civo:bg-transparent",
|
|
283
|
-
"civo:border-transparent",
|
|
284
|
-
"civo:w-8",
|
|
285
|
-
"civo:h-8",
|
|
286
|
-
"civo:[&>svg]:w-5",
|
|
287
|
-
"civo:[&>svg]:h-5"
|
|
257
|
+
"[&>svg]:h-5"
|
|
288
258
|
]
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
shape: "circle",
|
|
262
|
+
size: "large",
|
|
263
|
+
disabled: !0,
|
|
264
|
+
class: ["w-11", "h-11", "[&>svg]:w-6", "[&>svg]:h-6"]
|
|
289
265
|
}
|
|
290
266
|
],
|
|
291
267
|
defaultVariants: {
|
|
@@ -3,13 +3,14 @@ import * as h from "react";
|
|
|
3
3
|
import S, { forwardRef as z, useId as V, useCallback as X } from "react";
|
|
4
4
|
import { u as L } from "../../index-DQH6odE9.js";
|
|
5
5
|
import { c as J, a as Q, b as j } from "../../index-BfXxHr_2.js";
|
|
6
|
-
import { u as Y
|
|
6
|
+
import { u as Y } from "../../index-BZPx6jYI.js";
|
|
7
|
+
import { u as Z } from "../../index-BAEWsOG1.js";
|
|
7
8
|
import { P as ee } from "../../index-C1g_chDT.js";
|
|
8
|
-
import { P as w } from "../../index-
|
|
9
|
+
import { P as w } from "../../index-BVRIAMfe.js";
|
|
9
10
|
import { cn as T } from "../../utils/index.js";
|
|
10
11
|
import { checkboxVariants as te, labelVariants as re } from "./Checkbox.variants.js";
|
|
11
12
|
import { useToggle as oe } from "../../hooks/useToggle.js";
|
|
12
|
-
import { P as y } from "../../index-
|
|
13
|
+
import { P as y } from "../../index-N2OStZoU.js";
|
|
13
14
|
function R() {
|
|
14
15
|
return R = Object.assign || function(e) {
|
|
15
16
|
for (var a = 1; a < arguments.length; a++) {
|
|
@@ -59,7 +60,7 @@ I.propTypes = {
|
|
|
59
60
|
size: y.oneOfType([y.string, y.number])
|
|
60
61
|
};
|
|
61
62
|
I.displayName = "Check";
|
|
62
|
-
var P = "Checkbox", [ce,
|
|
63
|
+
var P = "Checkbox", [ce, Pe] = J(P), [se, N] = ce(P);
|
|
63
64
|
function ie(e) {
|
|
64
65
|
const {
|
|
65
66
|
__scopeCheckbox: a,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as r } from "../../index-D29mdTf5.js";
|
|
2
|
-
const
|
|
2
|
+
const e = r(
|
|
3
3
|
[
|
|
4
4
|
"cursor-pointer",
|
|
5
5
|
"border",
|
|
@@ -10,9 +10,10 @@ const t = r(
|
|
|
10
10
|
"justify-center",
|
|
11
11
|
"items-center",
|
|
12
12
|
"transition-all",
|
|
13
|
-
"text-
|
|
14
|
-
"border-
|
|
15
|
-
"
|
|
13
|
+
"text-slate-800",
|
|
14
|
+
"border-zinc-400",
|
|
15
|
+
"kubefirst:border-kubefirst-primary",
|
|
16
|
+
"kubefirst:text-white"
|
|
16
17
|
],
|
|
17
18
|
{
|
|
18
19
|
variants: {
|
|
@@ -28,9 +29,9 @@ const t = r(
|
|
|
28
29
|
{
|
|
29
30
|
checked: !0,
|
|
30
31
|
class: [
|
|
31
|
-
"bg-kubefirst-primary",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"kubefirst:bg-kubefirst-primary",
|
|
33
|
+
"bg-aurora-500",
|
|
34
|
+
"border-aurora-500"
|
|
34
35
|
]
|
|
35
36
|
}
|
|
36
37
|
],
|
|
@@ -40,6 +41,6 @@ const t = r(
|
|
|
40
41
|
}
|
|
41
42
|
), a = r(["cursor-pointer", "text-slate-800"]);
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
+
e as checkboxVariants,
|
|
44
45
|
a as labelVariants
|
|
45
46
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { R as s, D as p } from "../../index-
|
|
3
|
-
import { V as l } from "../../index-
|
|
2
|
+
import { R as s, D as p } from "../../index-amYX3uxF.js";
|
|
3
|
+
import { V as l } from "../../index-sp5ZfG6g.js";
|
|
4
4
|
import { cn as m } from "../../utils/index.js";
|
|
5
5
|
import { wrapperVariants as f } from "./Command.variants.js";
|
|
6
6
|
import { DialogContent as c } from "./components/DialogContent.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
|
-
import { _ as o } from "../../../index-
|
|
3
|
+
import { _ as o } from "../../../index-0XtjXVpJ.js";
|
|
4
4
|
const s = p(({ className: r, children: a, ...e }, i) => /* @__PURE__ */ m(o, { ref: i, className: r, ...e, children: /* @__PURE__ */ m("div", { className: "w-[500px]", children: a }) }));
|
|
5
5
|
s.displayName = o.displayName;
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
|
-
import { _ as o } from "../../../index-
|
|
3
|
+
import { _ as o } from "../../../index-0XtjXVpJ.js";
|
|
4
4
|
import { cn as a } from "../../../utils/index.js";
|
|
5
5
|
const t = p(({ className: r, ...m }, d) => /* @__PURE__ */ e(
|
|
6
6
|
o.Group,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as y, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { _ as m } from "../../../index-
|
|
2
|
+
import { _ as m } from "../../../index-0XtjXVpJ.js";
|
|
3
3
|
import s, { forwardRef as u } from "react";
|
|
4
4
|
import { cn as f } from "../../../utils/index.js";
|
|
5
5
|
import { searchInconInputVariants as v, inputVariants as g } from "../Command.variants.js";
|
|
6
|
-
import { P as a } from "../../../index-
|
|
6
|
+
import { P as a } from "../../../index-N2OStZoU.js";
|
|
7
7
|
function p() {
|
|
8
8
|
return p = Object.assign || function(r) {
|
|
9
9
|
for (var n = 1; n < arguments.length; n++) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as i, useContext as c, useCallback as l } from "react";
|
|
3
|
-
import { _ as o } from "../../../index-
|
|
3
|
+
import { _ as o } from "../../../index-0XtjXVpJ.js";
|
|
4
4
|
import { cn as p } from "../../../utils/index.js";
|
|
5
5
|
import { CommandContext as u } from "../contexts/Command.context.js";
|
|
6
6
|
const f = i(({ className: n, onSelect: e, ...r }, a) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
|
-
import { _ as o } from "../../../index-
|
|
3
|
+
import { _ as o } from "../../../index-0XtjXVpJ.js";
|
|
4
4
|
import { cn as t } from "../../../utils/index.js";
|
|
5
5
|
const e = s(({ className: m, ...r }, a) => /* @__PURE__ */ i(
|
|
6
6
|
o.List,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
|
-
import { _ as r } from "../../../index-
|
|
3
|
+
import { _ as r } from "../../../index-0XtjXVpJ.js";
|
|
4
4
|
import { cn as t } from "../../../utils/index.js";
|
|
5
5
|
const s = p(({ className: o, ...a }, m) => /* @__PURE__ */ e(
|
|
6
6
|
r.Separator,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as i } from "react";
|
|
3
|
-
import { a as r, C as o, b as l } from "../../../index-
|
|
3
|
+
import { a as r, C as o, b as l } from "../../../index-amYX3uxF.js";
|
|
4
4
|
import { cn as m } from "../../../utils/index.js";
|
|
5
5
|
import { DialogOverlay as p } from "./DialogOverlay.js";
|
|
6
|
-
import { X as c } from "../../../x-
|
|
6
|
+
import { X as c } from "../../../x-4F_5p77m.js";
|
|
7
7
|
const f = i(({ className: e, children: s, ...n }, d) => /* @__PURE__ */ t(r, { children: [
|
|
8
8
|
/* @__PURE__ */ a(p, {}),
|
|
9
9
|
/* @__PURE__ */ t(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d } from "react";
|
|
3
|
-
import { O as a } from "../../../index-
|
|
3
|
+
import { O as a } from "../../../index-amYX3uxF.js";
|
|
4
4
|
import { cn as i } from "../../../utils/index.js";
|
|
5
5
|
const m = d(({ className: t, ...e }, o) => /* @__PURE__ */ s(
|
|
6
6
|
a,
|