@konstructio/ui 0.1.2-alpha.5 → 0.1.2-alpha.50
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/{Combination-VYaRRJBZ.js → Combination-BtmnusWq.js} +141 -138
- package/dist/DatePicker.css +1 -1
- package/dist/Modal-CjC-CIJ8.js +99 -0
- package/dist/assets/icons/index.js +7 -0
- package/dist/chevron-down-DgT-uSF9.js +5 -0
- package/dist/chevron-right-DYvXLeql.js +7 -0
- package/dist/chevron-up-DEfvgPCw.js +54 -0
- package/dist/chevron-up-DrQr2Fwd.js +5 -0
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/AlertDialog/AlertDialog.js +81 -53
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -2
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Badge/Badge.js +41 -44
- package/dist/components/Badge/Badge.variants.js +52 -13
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +3 -3
- package/dist/components/Breadcrumb/components/Item/Item.js +22 -22
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +25 -14
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/Button.variants.js +108 -98
- package/dist/components/Card/Card.variants.js +7 -12
- package/dist/components/Checkbox/Checkbox.js +108 -105
- package/dist/components/Checkbox/Checkbox.variants.js +34 -7
- 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/Counter/Counter.js +210 -0
- package/dist/components/Counter/Counter.variants.js +70 -0
- package/dist/components/Datepicker/DatePicker.js +1587 -1353
- package/dist/components/Divider/Divider.variants.js +1 -1
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/Filter.variants.js +8 -7
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +71 -45
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +2 -2
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +76 -43
- package/dist/components/Filter/components/ResetButton/ResetButton.js +15 -12
- package/dist/components/Filter/events/index.js +3 -3
- package/dist/components/ImageUpload/ImageUpload.js +221 -0
- package/dist/components/ImageUpload/ImageUpload.variants.js +109 -0
- package/dist/components/Input/Input.js +185 -118
- package/dist/components/Input/Input.variants.js +24 -19
- package/dist/components/Loading/Loading.js +1 -7
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -4
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +34 -0
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +30 -0
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +30 -0
- package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +38 -0
- package/dist/components/MultiSelectDropdown/components/List/List.js +30 -0
- package/dist/components/MultiSelectDropdown/components/List/List.variants.js +25 -0
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +119 -0
- package/dist/components/MultiSelectDropdown/components/index.js +8 -0
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +21 -0
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +13 -0
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +138 -0
- package/dist/components/MultiSelectDropdown/contexts/index.js +6 -0
- package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +32 -0
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +8 -0
- package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +46 -0
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +36 -0
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +690 -0
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +60 -0
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +45 -0
- package/dist/components/PhoneNumberInput/components/Wrapper.js +651 -0
- package/dist/components/PhoneNumberInput/components/index.js +6 -0
- package/dist/components/PhoneNumberInput/contexts/index.js +8 -0
- package/dist/components/PhoneNumberInput/contexts/phone-number.context.js +28 -0
- package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +13 -0
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +6144 -0
- package/dist/components/PhoneNumberInput/utils/index.js +11 -0
- package/dist/components/PieChart/PieChart.js +463 -482
- package/dist/components/Radio/Radio.js +47 -44
- package/dist/components/Radio/Radio.variants.js +12 -8
- package/dist/components/RadioCard/RadioCard.variants.js +1 -6
- package/dist/components/RadioGroup/RadioGroup.js +10 -10
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Select/Select.js +48 -0
- package/dist/components/{Dropdown/Dropdown.variants.js → Select/Select.variants.js} +17 -11
- package/dist/components/Select/components/List/List.js +172 -0
- package/dist/components/{Dropdown → Select}/components/List/List.variants.js +11 -8
- package/dist/components/Select/components/ListItem/ListItem.js +117 -0
- package/dist/components/{Dropdown → Select}/components/ListItem/ListItem.variants.js +5 -4
- package/dist/components/Select/components/Wrapper.js +226 -0
- package/dist/components/Select/constants/index.js +4 -0
- package/dist/components/Select/constants/pagination.js +4 -0
- package/dist/components/Select/contexts/index.js +6 -0
- package/dist/components/Select/contexts/select.context.js +36 -0
- package/dist/components/Select/contexts/select.hook.js +11 -0
- package/dist/components/Select/contexts/select.provider.js +58 -0
- package/dist/components/Select/hooks/useNavigationList.js +50 -0
- package/dist/components/Select/hooks/useSelect.js +103 -0
- package/dist/components/Sidebar/Sidebar.variants.js +2 -2
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Switch/Switch.js +156 -129
- package/dist/components/Switch/Switch.variants.js +19 -10
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/Tabs.variants.js +4 -3
- 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 +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.variants.js +1 -0
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +49 -98
- package/dist/components/TimePicker/TimePicker.js +1 -1
- package/dist/components/TimePicker/TimePicker.variants.js +26 -14
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +30 -20
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +57 -35
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +53 -45
- package/dist/components/Toast/Toast.js +283 -256
- package/dist/components/Toast/Toast.variants.js +37 -24
- package/dist/components/Tooltip/Tooltip.js +15 -14
- package/dist/components/Tooltip/Tooltip.variants.js +5 -4
- package/dist/components/Typography/Typography.js +23 -25
- package/dist/components/Typography/Typography.variants.js +55 -52
- package/dist/components/VirtualizedTable/VirtualizedTable.js +97 -71
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +95 -33
- package/dist/components/VirtualizedTable/components/Body/Body.js +73 -21
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +94 -91
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +20 -20
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +61 -44
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +33 -21
- package/dist/components/VirtualizedTable/components/Header/Header.js +61 -41
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +43 -22
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +106 -0
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +22 -1858
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +27 -0
- package/dist/components/VirtualizedTable/components/index.js +8 -6
- package/dist/components/VirtualizedTable/contexts/table.context.js +1 -0
- package/dist/components/VirtualizedTable/contexts/table.provider.js +68 -761
- package/dist/components/index.js +94 -86
- package/dist/contexts/theme.provider.js +0 -1
- package/dist/{createLucideIcon-D2CN7Ma9.js → createLucideIcon-D4r5Phnh.js} +0 -24
- package/dist/ellipsis-vertical-BVPtjl5f.js +9 -0
- package/dist/{index-C1g_chDT.js → index-AV6ZtGhy.js} +2 -2
- package/dist/index-BG8O18ZY.js +93 -0
- package/dist/index-BKjcReYh.js +55 -0
- package/dist/{index-N2OStZoU.js → index-BOE_3f_Z.js} +4 -25
- package/dist/{index-Cd2vhaop.js → index-BlSRBdPy.js} +5 -6
- package/dist/index-BmVmDQGH.js +662 -0
- package/dist/index-BvoZGpli.js +60 -0
- package/dist/index-Byr10W8m.js +1873 -0
- package/dist/{index-Dx2grAuN.js → index-CSWGJT-v.js} +0 -20
- package/dist/index-CeZcoQDw.js +479 -0
- package/dist/index-D6KzX_ef.js +135 -0
- package/dist/{index-B7t8D14s.js → index-D9SSJ6om.js} +4 -4
- package/dist/index-DKfEnhKr.js +200 -0
- package/dist/index-DLcqcWxM.js +29 -0
- package/dist/{index-ti1b9kqV.js → index-DMb4KD0b.js} +4 -4
- package/dist/{index-BAEWsOG1.js → index-DtEcCIrM.js} +1 -1
- package/dist/{index-bwWKd82e.js → index-Dy59FQl5.js} +1 -1
- package/dist/{index-C84F4YyO.js → index-gSPwC-1I.js} +10 -11
- package/dist/{index-Bnb0ezr3.js → index-vcSp8YRZ.js} +11 -12
- package/dist/index.d.ts +2142 -99
- package/dist/index.js +116 -106
- package/dist/libphonenumber-FTwQ9nyV.js +11549 -0
- package/dist/loader-juvMSJ9L.js +5 -0
- package/dist/package.json +43 -33
- package/dist/styles.css +1 -1
- package/dist/ui/civo-theme.css +194 -168
- package/dist/ui/theme.css +27 -0
- package/dist/{useBreadcrumb-B8DnuqkR.js → useBreadcrumb-BAHbGQ_O.js} +0 -10
- package/dist/utils/index.js +534 -501
- package/dist/x-BXShoIAM.js +8 -0
- package/dist/{x-4F_5p77m.js → x-Eoa9FJjA.js} +1 -1
- package/package.json +43 -33
- package/dist/Modal-D-NOEWMX.js +0 -98
- package/dist/chevron-down-MZvQoT2F.js +0 -11
- package/dist/chevron-right-VYBOBhRt.js +0 -19
- package/dist/components/Dropdown/Dropdown.js +0 -42
- package/dist/components/Dropdown/components/List/List.js +0 -79
- package/dist/components/Dropdown/components/ListItem/ListItem.js +0 -67
- package/dist/components/Dropdown/components/Wrapper.js +0 -205
- package/dist/components/Dropdown/contexts/dropdown.context.js +0 -19
- package/dist/components/Dropdown/contexts/dropdown.hook.js +0 -13
- package/dist/components/Dropdown/contexts/dropdown.provider.js +0 -30
- package/dist/components/Dropdown/contexts/index.js +0 -6
- package/dist/components/Dropdown/hooks/useDropdown.js +0 -58
- package/dist/components/Dropdown/hooks/useNavigationList.js +0 -62
- package/dist/components/NumberInput/NumberInput.js +0 -179
- package/dist/components/NumberInput/NumberInput.variants.js +0 -50
- package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +0 -16
- package/dist/index-BITvcJAz.js +0 -423
- package/dist/index-BfXxHr_2.js +0 -125
- package/dist/index-Cvx4lqTq.js +0 -47
- package/dist/index-DBbEcSUG.js +0 -31
- package/dist/index-DQH6odE9.js +0 -82
- package/dist/index-DzIBBMjs.js +0 -436
- package/dist/index-os7vysFS.js +0 -131
- /package/dist/components/{Dropdown → Select}/components/EmptyList.js +0 -0
- /package/dist/components/{Dropdown → Select}/components/index.js +0 -0
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { c as e } from "../../../../index-D29mdTf5.js";
|
|
2
|
-
const
|
|
3
|
-
[
|
|
2
|
+
const s = e(
|
|
3
|
+
[
|
|
4
|
+
"text-sm",
|
|
5
|
+
"leading-5",
|
|
6
|
+
"text-gray-400",
|
|
7
|
+
"font-semibold",
|
|
8
|
+
"dark:text-gray-400"
|
|
9
|
+
],
|
|
4
10
|
{
|
|
5
11
|
variants: {
|
|
6
12
|
isActive: {
|
|
@@ -23,7 +29,8 @@ const r = e(
|
|
|
23
29
|
"group-[&:has(:focus-visible)]:rounded-xs",
|
|
24
30
|
"group-hover:rounded-xs",
|
|
25
31
|
"hover:no-underline",
|
|
26
|
-
"hover:text-gray-500"
|
|
32
|
+
"hover:text-gray-500",
|
|
33
|
+
"dark:hover:text-gray-300"
|
|
27
34
|
]
|
|
28
35
|
},
|
|
29
36
|
{
|
|
@@ -37,23 +44,27 @@ const r = e(
|
|
|
37
44
|
"group-[&:has(:focus-visible)]:rounded-xs",
|
|
38
45
|
"group-hover:rounded-xs",
|
|
39
46
|
"hover:no-underline",
|
|
40
|
-
"hover:text-gray-500"
|
|
47
|
+
"hover:text-gray-500",
|
|
48
|
+
"dark:hover:text-gray-300"
|
|
41
49
|
]
|
|
42
50
|
}
|
|
43
51
|
]
|
|
44
52
|
}
|
|
45
|
-
), o = e(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
), o = e(
|
|
54
|
+
["text-sm", "leading-5", "font-semibold"],
|
|
55
|
+
{
|
|
56
|
+
variants: {
|
|
57
|
+
isActive: {
|
|
58
|
+
true: ["text-gray-600", "dark:text-gray-300"],
|
|
59
|
+
false: ["text-gray-400", "cursor-default"]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
defaultVariants: {
|
|
63
|
+
isActive: !0
|
|
50
64
|
}
|
|
51
|
-
},
|
|
52
|
-
defaultVariants: {
|
|
53
|
-
isActive: !0
|
|
54
65
|
}
|
|
55
|
-
|
|
66
|
+
);
|
|
56
67
|
export {
|
|
57
68
|
o as breadcrumbLabelVariants,
|
|
58
|
-
|
|
69
|
+
s as breadcrumbLinkVariants
|
|
59
70
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c } from "react";
|
|
3
|
-
import { S as l } from "../../index-
|
|
3
|
+
import { S as l } from "../../index-BvoZGpli.js";
|
|
4
4
|
import { cn as x } from "../../utils/index.js";
|
|
5
5
|
import { buttonVariants as B } from "./Button.variants.js";
|
|
6
6
|
const C = c(
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { c as r } from "../../index-D29mdTf5.js";
|
|
2
|
-
const
|
|
2
|
+
const a = r(
|
|
3
3
|
[
|
|
4
|
+
"select-none",
|
|
4
5
|
"border",
|
|
5
6
|
"cursor-pointer",
|
|
6
7
|
"disabled:pointer-events-none",
|
|
@@ -9,7 +10,7 @@ const t = r(
|
|
|
9
10
|
"focus-visible:ring-1",
|
|
10
11
|
"focus-visible:ring-ring",
|
|
11
12
|
"font-semibold",
|
|
12
|
-
"gap-
|
|
13
|
+
"gap-2",
|
|
13
14
|
"inline-flex",
|
|
14
15
|
"items-center",
|
|
15
16
|
"justify-center",
|
|
@@ -20,22 +21,24 @@ const t = r(
|
|
|
20
21
|
"px-4",
|
|
21
22
|
"py-2",
|
|
22
23
|
"text-sm",
|
|
24
|
+
"bg-aurora-500",
|
|
25
|
+
"border-aurora-500",
|
|
26
|
+
"text-metal-900",
|
|
27
|
+
"focus-visible:bg-aurora-400",
|
|
28
|
+
"hover:bg-aurora-400",
|
|
29
|
+
"hover:border-aurora-400",
|
|
23
30
|
"kubefirst:border-kubefirst-primary",
|
|
24
31
|
"kubefirst:bg-kubefirst-primary",
|
|
25
32
|
"kubefirst:hover:bg-kubefirst-secondary",
|
|
26
33
|
"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"
|
|
34
|
+
"kubefirst:text-white"
|
|
33
35
|
],
|
|
34
36
|
{
|
|
35
37
|
variants: {
|
|
36
38
|
variant: {
|
|
37
39
|
primary: "",
|
|
38
40
|
secondary: ["bg-white"],
|
|
41
|
+
tertiary: [],
|
|
39
42
|
danger: [
|
|
40
43
|
"border-red-700",
|
|
41
44
|
"bg-red-700",
|
|
@@ -43,7 +46,18 @@ const t = r(
|
|
|
43
46
|
"hover:bg-red-800",
|
|
44
47
|
"hover:border-red-800"
|
|
45
48
|
],
|
|
46
|
-
|
|
49
|
+
link: [
|
|
50
|
+
"bg-transparent",
|
|
51
|
+
"border-transparent",
|
|
52
|
+
"text-blue-600",
|
|
53
|
+
"hover:underline",
|
|
54
|
+
"hover:text-blue-700",
|
|
55
|
+
"hover:bg-transparent",
|
|
56
|
+
"hover:border-transparent",
|
|
57
|
+
"dark:text-aurora-500",
|
|
58
|
+
"dark:hover:text-aurora-500",
|
|
59
|
+
"focus-visible:bg-transparent"
|
|
60
|
+
]
|
|
47
61
|
},
|
|
48
62
|
shape: {
|
|
49
63
|
circle: ["rounded-full", "p-1"]
|
|
@@ -61,21 +75,29 @@ const t = r(
|
|
|
61
75
|
large: ""
|
|
62
76
|
},
|
|
63
77
|
appearance: {
|
|
64
|
-
compact: [
|
|
65
|
-
"px-2",
|
|
66
|
-
"py-1",
|
|
67
|
-
"h-auto",
|
|
68
|
-
"text-[0.8125rem]",
|
|
69
|
-
"leading-[1.375rem]",
|
|
70
|
-
"h-[30px]"
|
|
71
|
-
]
|
|
78
|
+
compact: ["px-2", "py-1", "text-[13px]", "leading-5.5", "h-7.5"]
|
|
72
79
|
}
|
|
73
80
|
},
|
|
74
81
|
compoundVariants: [
|
|
82
|
+
{
|
|
83
|
+
variant: "primary",
|
|
84
|
+
disabled: !0,
|
|
85
|
+
class: [
|
|
86
|
+
"text-metal-900",
|
|
87
|
+
"bg-aurora-500",
|
|
88
|
+
"border-transparent",
|
|
89
|
+
"kubefirst:bg-zinc-200",
|
|
90
|
+
"kubefirst:border-zinc-200",
|
|
91
|
+
"kubefirst:text-zinc-500",
|
|
92
|
+
"text-gray-700",
|
|
93
|
+
"opacity-45"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
75
96
|
{
|
|
76
97
|
variant: "secondary",
|
|
77
98
|
disabled: !1,
|
|
78
99
|
class: [
|
|
100
|
+
"transition-colors",
|
|
79
101
|
"bg-white",
|
|
80
102
|
"hover:bg-white",
|
|
81
103
|
"text-slate-700",
|
|
@@ -83,9 +105,11 @@ const t = r(
|
|
|
83
105
|
"hover:text-slate-700",
|
|
84
106
|
"hover:border-slate-300",
|
|
85
107
|
"hover:bg-slate-50",
|
|
108
|
+
"focus-visible:bg-slate-50",
|
|
86
109
|
"dark:bg-transparent",
|
|
87
110
|
"dark:text-aurora-500",
|
|
88
111
|
"dark:border-aurora-500",
|
|
112
|
+
"dark:focus-visible:bg-aurora-900",
|
|
89
113
|
"dark:hover:bg-aurora-900",
|
|
90
114
|
"dark:hover:border-aurora-500",
|
|
91
115
|
"dark:hover:text-aurora-500",
|
|
@@ -98,38 +122,62 @@ const t = r(
|
|
|
98
122
|
]
|
|
99
123
|
},
|
|
100
124
|
{
|
|
101
|
-
variant: "
|
|
125
|
+
variant: "secondary",
|
|
102
126
|
disabled: !0,
|
|
103
127
|
class: [
|
|
104
|
-
"kubefirst:bg-
|
|
105
|
-
"kubefirst:border-zinc-
|
|
128
|
+
"kubefirst:bg-white",
|
|
129
|
+
"kubefirst:border-zinc-500",
|
|
106
130
|
"kubefirst:text-zinc-500",
|
|
107
|
-
"
|
|
131
|
+
"border-slate-300",
|
|
132
|
+
"bg-white",
|
|
133
|
+
"text-slate-700",
|
|
134
|
+
"dark:bg-aurora-900",
|
|
135
|
+
"dark:border-aurora-500",
|
|
136
|
+
"dark:text-aurora-500",
|
|
108
137
|
"opacity-45"
|
|
109
138
|
]
|
|
110
139
|
},
|
|
111
140
|
{
|
|
112
|
-
variant: "
|
|
141
|
+
variant: "tertiary",
|
|
142
|
+
disabled: !1,
|
|
143
|
+
class: [
|
|
144
|
+
"transition-colors",
|
|
145
|
+
"bg-transparent",
|
|
146
|
+
"border-transparent",
|
|
147
|
+
"text-slate-700",
|
|
148
|
+
"hover:bg-aurora-100",
|
|
149
|
+
"focus-visible:bg-aurora-100",
|
|
150
|
+
"hover:text-slate-700",
|
|
151
|
+
"hover:border-transparent",
|
|
152
|
+
"dark:bg-transparent",
|
|
153
|
+
"dark:text-metal-100",
|
|
154
|
+
"dark:border-transparent",
|
|
155
|
+
"dark:focus-visible:bg-green-400/15",
|
|
156
|
+
"dark:hover:bg-green-400/15",
|
|
157
|
+
"dark:hover:border-transparent",
|
|
158
|
+
"dark:hover:text-metal-100",
|
|
159
|
+
"dark:focus-visible:hover:bg-green-400/15"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
variant: "tertiary",
|
|
113
164
|
disabled: !0,
|
|
114
165
|
class: [
|
|
115
|
-
"
|
|
116
|
-
"kubefirst:border-zinc-500",
|
|
117
|
-
"kubefirst:text-zinc-500",
|
|
118
|
-
"border-slate-300/45",
|
|
166
|
+
"border-transparent",
|
|
119
167
|
"bg-white",
|
|
120
|
-
"text-slate-700
|
|
168
|
+
"text-slate-700",
|
|
169
|
+
"opacity-45",
|
|
170
|
+
"dark:bg-transparent",
|
|
171
|
+
"dark:border-transparent",
|
|
172
|
+
"dark:text-metal-100"
|
|
121
173
|
]
|
|
122
174
|
},
|
|
123
175
|
{
|
|
124
176
|
variant: "danger",
|
|
125
177
|
version: "alternate",
|
|
126
178
|
class: [
|
|
127
|
-
"kubefirst:border-red-700",
|
|
128
|
-
"kubefirst:text-red-700",
|
|
129
|
-
"kubefirst:bg-white",
|
|
130
|
-
"kubefirst:hover:bg-red-50",
|
|
131
|
-
"border-red-700",
|
|
132
179
|
"text-red-700",
|
|
180
|
+
"border-red-700",
|
|
133
181
|
"bg-white",
|
|
134
182
|
"hover:bg-red-50"
|
|
135
183
|
]
|
|
@@ -137,57 +185,22 @@ const t = r(
|
|
|
137
185
|
{
|
|
138
186
|
variant: "danger",
|
|
139
187
|
disabled: !0,
|
|
140
|
-
class: ["text-white", "bg-red-700/45", "border-transparent"]
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
variant: "text",
|
|
144
|
-
disabled: !1,
|
|
145
|
-
version: "default",
|
|
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",
|
|
156
|
-
"hover:border-transparent",
|
|
157
|
-
"hover:text-aurora-500",
|
|
158
|
-
"hover:bg-transparent"
|
|
159
|
-
]
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
variant: "text",
|
|
163
|
-
disabled: !1,
|
|
164
|
-
version: "alternate",
|
|
165
188
|
class: [
|
|
189
|
+
"text-red-700",
|
|
190
|
+
"border-red-700",
|
|
166
191
|
"bg-white",
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"hover:border-transparent",
|
|
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"
|
|
192
|
+
"hover:bg-red-50",
|
|
193
|
+
"opacity-45"
|
|
178
194
|
]
|
|
179
195
|
},
|
|
180
196
|
{
|
|
181
|
-
variant: "
|
|
197
|
+
variant: "link",
|
|
182
198
|
disabled: !0,
|
|
183
|
-
version: ["default", "alternate"],
|
|
184
199
|
class: [
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"border-white",
|
|
190
|
-
"text-slate-700/45"
|
|
200
|
+
"bg-transparent",
|
|
201
|
+
"border-transparent",
|
|
202
|
+
"text-blue-600",
|
|
203
|
+
"opacity-45"
|
|
191
204
|
]
|
|
192
205
|
},
|
|
193
206
|
{
|
|
@@ -197,30 +210,21 @@ const t = r(
|
|
|
197
210
|
class: [
|
|
198
211
|
"w-8",
|
|
199
212
|
"h-8",
|
|
200
|
-
"text-slate-
|
|
213
|
+
"text-slate-500",
|
|
201
214
|
"bg-transparent",
|
|
202
215
|
"border-transparent",
|
|
203
216
|
"hover:border-transparent",
|
|
204
|
-
"hover:bg-aurora-
|
|
217
|
+
"hover:bg-aurora-50",
|
|
218
|
+
"focus-visible:bg-aurora-50",
|
|
205
219
|
"hover:text-slate-800",
|
|
220
|
+
"focus-visible:text-slate-800",
|
|
206
221
|
"[&>svg]:w-5",
|
|
207
222
|
"[&>svg]:h-5",
|
|
208
|
-
"dark:text-
|
|
223
|
+
"dark:text-metal-400",
|
|
224
|
+
"dark:focus-visible:text-aurora-500",
|
|
209
225
|
"dark:hover:text-aurora-500",
|
|
210
|
-
"dark:hover:bg-
|
|
211
|
-
"
|
|
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"
|
|
226
|
+
"dark:hover:bg-green-400/15",
|
|
227
|
+
"dark:focus-visible:bg-green-400/15"
|
|
224
228
|
]
|
|
225
229
|
},
|
|
226
230
|
{
|
|
@@ -236,11 +240,15 @@ const t = r(
|
|
|
236
240
|
disabled: !1,
|
|
237
241
|
class: [
|
|
238
242
|
"text-red-700",
|
|
243
|
+
"focus-visible:text-red-700",
|
|
239
244
|
"hover:text-red-700",
|
|
245
|
+
"focus-visible:bg-red-50",
|
|
240
246
|
"hover:bg-red-50",
|
|
241
|
-
"dark:text-red-
|
|
247
|
+
"dark:text-red-500",
|
|
242
248
|
"dark:hover:text-red-500",
|
|
243
|
-
"dark:
|
|
249
|
+
"dark:focus-visible:text-red-500",
|
|
250
|
+
"dark:hover:bg-red-950/55",
|
|
251
|
+
"dark:focus-visible:bg-red-950/55"
|
|
244
252
|
]
|
|
245
253
|
},
|
|
246
254
|
{
|
|
@@ -248,13 +256,15 @@ const t = r(
|
|
|
248
256
|
size: ["medium", "large"],
|
|
249
257
|
disabled: !0,
|
|
250
258
|
class: [
|
|
251
|
-
"
|
|
259
|
+
"opacity-45",
|
|
260
|
+
"text-slate-500",
|
|
252
261
|
"bg-transparent",
|
|
253
262
|
"border-transparent",
|
|
254
263
|
"w-8",
|
|
255
264
|
"h-8",
|
|
256
265
|
"[&>svg]:w-5",
|
|
257
|
-
"[&>svg]:h-5"
|
|
266
|
+
"[&>svg]:h-5",
|
|
267
|
+
"dark:text-metal-400"
|
|
258
268
|
]
|
|
259
269
|
},
|
|
260
270
|
{
|
|
@@ -273,5 +283,5 @@ const t = r(
|
|
|
273
283
|
}
|
|
274
284
|
);
|
|
275
285
|
export {
|
|
276
|
-
|
|
286
|
+
a as buttonVariants
|
|
277
287
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as r } from "../../index-D29mdTf5.js";
|
|
2
|
-
const
|
|
3
|
-
["border", "border-
|
|
2
|
+
const e = r(
|
|
3
|
+
["rounded-xl", "border", "border-gray-200", "dark:border-metal-700"],
|
|
4
4
|
{
|
|
5
5
|
variants: {
|
|
6
6
|
isActive: {
|
|
@@ -13,24 +13,19 @@ const o = r(
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
),
|
|
16
|
+
), o = r(
|
|
17
17
|
["border", "border-4", "p-3", "text-card-foreground", "rounded-xl"],
|
|
18
18
|
{
|
|
19
19
|
variants: {
|
|
20
20
|
isActive: {
|
|
21
|
-
true: [
|
|
22
|
-
"border-kubefirst-primary",
|
|
23
|
-
"shadow",
|
|
24
|
-
"civo:border-civo-primary"
|
|
25
|
-
],
|
|
21
|
+
true: ["border-aurora-500", "shadow"],
|
|
26
22
|
false: "border-transparent"
|
|
27
23
|
},
|
|
28
24
|
canHover: {
|
|
29
25
|
true: [
|
|
30
26
|
"cursor-pointer",
|
|
31
27
|
"border-transparent",
|
|
32
|
-
"group-hover:border-
|
|
33
|
-
"civo:group-hover:border-civo-primary"
|
|
28
|
+
"group-hover:border-aurora-500"
|
|
34
29
|
],
|
|
35
30
|
false: ""
|
|
36
31
|
}
|
|
@@ -45,6 +40,6 @@ const o = r(
|
|
|
45
40
|
}
|
|
46
41
|
);
|
|
47
42
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
e as cardBaseVariants,
|
|
44
|
+
o as cardVariants
|
|
50
45
|
};
|