@konstructio/ui 0.0.12-alpha.1 → 0.0.12
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/{index-BVppSRDQ.js → AlertDialogTrigger-D4Tm_9M0.js} +21 -19
- package/dist/{Combination-BQYb0Gw7.js → Combination-Cmu9JRkv.js} +72 -72
- package/dist/{Modal-W2GbkC_F.js → Modal-L73dmnHv.js} +246 -238
- package/dist/{chevron-up-DgLBQCKD.js → chevron-up-CvquEaNg.js} +1 -1
- package/dist/components/AlertDialog/AlertDialog.d.ts +3 -0
- package/dist/components/AlertDialog/AlertDialog.js +23 -20
- package/dist/components/AlertDialog/AlertDialog.types.d.ts +18 -0
- package/dist/components/AlertDialog/AlertDialog.types.js +1 -0
- package/dist/components/AlertDialog/AlertDialog.variants.d.ts +3 -0
- package/dist/components/AlertDialog/components/AlertDialogTrigger.d.ts +3 -0
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +6 -3
- package/dist/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +6 -0
- package/dist/components/AlertDialog/components/AlertDialogTrigger.types.js +1 -0
- package/dist/components/AlertDialog/components/index.d.ts +1 -0
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/AlertDialog/hooks/index.d.ts +1 -0
- package/dist/components/AlertDialog/hooks/useAlertDialog.d.ts +7 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +3 -0
- package/dist/components/Autocomplete/Autocomplete.js +17 -15
- package/dist/components/Autocomplete/Autocomplete.types.d.ts +18 -0
- package/dist/components/Autocomplete/Autocomplete.types.js +1 -0
- package/dist/components/Autocomplete/Autocomplete.variants.d.ts +8 -0
- package/dist/components/Autocomplete/components/List/List.d.ts +3 -0
- package/dist/components/Autocomplete/components/List/List.js +7 -7
- package/dist/components/Autocomplete/components/List/List.types.d.ts +13 -0
- package/dist/components/Autocomplete/components/List/List.types.js +1 -0
- package/dist/components/Autocomplete/components/List/List.variants.d.ts +16 -0
- package/dist/components/Autocomplete/components/index.d.ts +1 -0
- package/dist/components/Autocomplete/hooks/index.d.ts +2 -0
- package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +17 -0
- package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +10 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +3 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +69 -68
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +11 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.js +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +12 -0
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +17 -16
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.d.ts +3 -0
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +3 -2
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/Button.js +16 -14
- package/dist/components/Button/Button.types.d.ts +7 -0
- package/dist/components/Button/Button.types.js +1 -0
- package/dist/components/Button/Button.variants.d.ts +7 -0
- package/dist/components/Card/Card.d.ts +4 -0
- package/dist/components/Card/Card.js +12 -10
- package/dist/components/Card/Card.types.d.ts +8 -0
- package/dist/components/Card/Card.types.js +1 -0
- package/dist/components/Card/Card.variants.d.ts +10 -0
- package/dist/components/Checkbox/Checkbox.d.ts +3 -0
- package/dist/components/Checkbox/Checkbox.js +15 -13
- package/dist/components/Checkbox/Checkbox.types.d.ts +14 -0
- package/dist/components/Checkbox/Checkbox.types.js +1 -0
- package/dist/components/Checkbox/Checkbox.variants.d.ts +9 -0
- package/dist/components/Dropdown/Dropdown.d.ts +3 -0
- package/dist/components/Dropdown/Dropdown.js +6 -4
- package/dist/components/Dropdown/Dropdown.types.d.ts +16 -0
- package/dist/components/Dropdown/Dropdown.types.js +1 -0
- package/dist/components/Dropdown/Dropdown.variants.d.ts +3 -0
- package/dist/components/Dropdown/components/EmptyList.d.ts +2 -0
- package/dist/components/Dropdown/components/List/List.d.ts +3 -0
- package/dist/components/Dropdown/components/List/List.js +10 -9
- package/dist/components/Dropdown/components/List/List.types.d.ts +6 -0
- package/dist/components/Dropdown/components/List/List.types.js +1 -0
- package/dist/components/Dropdown/components/List/List.variants.d.ts +3 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.d.ts +3 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.js +21 -20
- package/dist/components/Dropdown/components/ListItem/ListItem.types.d.ts +4 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.types.js +1 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +3 -0
- package/dist/components/Dropdown/components/Wrapper.d.ts +3 -0
- package/dist/components/Dropdown/components/Wrapper.js +34 -31
- package/dist/components/Dropdown/components/index.d.ts +3 -0
- package/dist/components/Dropdown/contexts/dropdown.context.d.ts +8 -0
- package/dist/components/Dropdown/contexts/dropdown.hook.d.ts +2 -0
- package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +5 -0
- package/dist/components/Dropdown/contexts/dropdown.provider.js +4 -4
- package/dist/components/Dropdown/contexts/index.d.ts +2 -0
- package/dist/components/Dropdown/hooks/useDropdown.d.ts +11 -0
- package/dist/components/Dropdown/hooks/useDropdown.js +14 -12
- package/dist/components/Dropdown/hooks/useNavigationList.d.ts +8 -0
- package/dist/components/Dropdown/hooks/useNavigationList.js +10 -8
- package/dist/components/Input/Input.d.ts +3 -0
- package/dist/components/Input/Input.js +14 -12
- package/dist/components/Input/Input.types.d.ts +9 -0
- package/dist/components/Input/Input.types.js +1 -0
- package/dist/components/Input/Input.variants.d.ts +4 -0
- package/dist/components/Modal/Modal.d.ts +8 -0
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/Modal.types.d.ts +12 -0
- package/dist/components/Modal/Modal.types.js +1 -0
- package/dist/components/Modal/components/Body/Body.d.ts +3 -0
- package/dist/components/Modal/components/Body/Body.types.d.ts +5 -0
- package/dist/components/Modal/components/Body/Body.types.js +1 -0
- package/dist/components/Modal/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Modal/components/Footer/Footer.types.d.ts +5 -0
- package/dist/components/Modal/components/Footer/Footer.types.js +1 -0
- package/dist/components/Modal/components/Header/Header.d.ts +3 -0
- package/dist/components/Modal/components/Header/Header.types.d.ts +5 -0
- package/dist/components/Modal/components/Header/Header.types.js +1 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.d.ts +3 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.js +9 -7
- package/dist/components/Modal/components/Wrapper/Wrapper.types.d.ts +7 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.types.js +1 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +6 -0
- package/dist/components/Modal/components/index.d.ts +4 -0
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/Modal/contexts/Modal.context.d.ts +2 -0
- package/dist/components/Modal/contexts/Modal.provider.d.ts +4 -0
- package/dist/components/Modal/contexts/Modal.provider.js +4 -4
- package/dist/components/Modal/contexts/Modal.types.d.ts +9 -0
- package/dist/components/Modal/contexts/Modal.types.js +1 -0
- package/dist/components/Modal/contexts/index.d.ts +1 -0
- package/dist/components/Modal/hooks/index.d.ts +1 -0
- package/dist/components/Modal/hooks/useModal.d.ts +9 -0
- package/dist/components/NumberInput/NumberInput.d.ts +3 -0
- package/dist/components/NumberInput/NumberInput.js +11 -9
- package/dist/components/NumberInput/NumberInput.types.d.ts +11 -0
- package/dist/components/NumberInput/NumberInput.types.js +1 -0
- package/dist/components/NumberInput/NumberInput.variants.d.ts +11 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/components/ProgressBar/ProgressBar.js +16 -13
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +8 -0
- package/dist/components/ProgressBar/ProgressBar.types.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.variants.d.ts +7 -0
- package/dist/components/Radio/Radio.d.ts +3 -0
- package/dist/components/Radio/Radio.js +37 -55
- package/dist/components/Radio/Radio.types.d.ts +12 -0
- package/dist/components/Radio/Radio.types.js +1 -0
- package/dist/components/Radio/Radio.variants.d.ts +3 -0
- package/dist/components/Radio/Radio.variants.js +16 -69
- package/dist/components/RadioGroup/RadioGroup.d.ts +3 -0
- package/dist/components/RadioGroup/RadioGroup.js +27 -37
- package/dist/components/RadioGroup/RadioGroup.types.d.ts +12 -0
- package/dist/components/RadioGroup/RadioGroup.types.js +1 -0
- package/dist/components/Range/Range.d.ts +3 -0
- package/dist/components/Range/Range.js +22 -20
- package/dist/components/Range/Range.types.d.ts +13 -0
- package/dist/components/Range/Range.types.js +1 -0
- package/dist/components/Range/Range.variants.d.ts +14 -0
- package/dist/components/Sidebar/Sidebar.d.ts +5 -0
- package/dist/components/Sidebar/Sidebar.js +22 -20
- package/dist/components/Sidebar/Sidebar.types.d.ts +18 -0
- package/dist/components/Sidebar/Sidebar.types.js +1 -0
- package/dist/components/Sidebar/Sidebar.variants.d.ts +6 -0
- package/dist/components/Sidebar/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Sidebar/components/Footer/Footer.js +12 -9
- package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +6 -0
- package/dist/components/Sidebar/components/Footer/Footer.types.js +1 -0
- package/dist/components/Sidebar/components/Footer/Footer.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/Logo/Logo.d.ts +3 -0
- package/dist/components/Sidebar/components/Logo/Logo.js +12 -9
- package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +6 -0
- package/dist/components/Sidebar/components/Logo/Logo.types.js +1 -0
- package/dist/components/Sidebar/components/Logo/Logo.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +4 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.js +15 -12
- package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +16 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.types.js +1 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +26 -24
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +7 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +20 -17
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +17 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +4 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +11 -8
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +5 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +13 -10
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +8 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +3 -0
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +27 -29
- package/dist/components/Sidebar/components/index.d.ts +15 -0
- package/dist/components/Slider/Slider.d.ts +3 -0
- package/dist/components/Slider/Slider.js +20 -18
- package/dist/components/Slider/Slider.types.d.ts +13 -0
- package/dist/components/Slider/Slider.types.js +1 -0
- package/dist/components/Slider/Slider.variants.d.ts +11 -0
- package/dist/components/Switch/Switch.d.ts +3 -0
- package/dist/components/Switch/Switch.js +21 -19
- package/dist/components/Switch/Switch.types.d.ts +10 -0
- package/dist/components/Switch/Switch.types.js +1 -0
- package/dist/components/Switch/Switch.variants.d.ts +6 -0
- package/dist/components/Tag/Tag.d.ts +3 -0
- package/dist/components/Tag/Tag.types.d.ts +4 -0
- package/dist/components/Tag/Tag.types.js +1 -0
- package/dist/components/Tag/Tag.variants.d.ts +3 -0
- package/dist/components/TagSelect/TagSelect.d.ts +3 -0
- package/dist/components/TagSelect/TagSelect.js +21 -19
- package/dist/components/TagSelect/TagSelect.types.d.ts +9 -0
- package/dist/components/TagSelect/TagSelect.types.js +1 -0
- package/dist/components/TagSelect/TagSelect.variants.d.ts +9 -0
- package/dist/components/TagSelect/hooks/useTagSelect.d.ts +9 -0
- package/dist/components/TextArea/TextArea.d.ts +3 -0
- package/dist/components/TextArea/TextArea.js +19 -17
- package/dist/components/TextArea/TextArea.types.d.ts +10 -0
- package/dist/components/TextArea/TextArea.types.js +1 -0
- package/dist/components/TextArea/TextArea.variants.d.ts +3 -0
- package/dist/components/Toast/Toast.d.ts +3 -0
- package/dist/components/Toast/Toast.js +54 -52
- package/dist/components/Toast/Toast.types.d.ts +12 -0
- package/dist/components/Toast/Toast.types.js +1 -0
- package/dist/components/Toast/Toast.variants.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.js +12 -10
- package/dist/components/Tooltip/Tooltip.types.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.types.js +1 -0
- package/dist/components/Tooltip/Tooltip.variants.d.ts +8 -0
- package/dist/components/Tooltip/hooks/useTooltip.d.ts +4 -0
- package/dist/components/index.d.ts +21 -0
- package/dist/components/index.js +44 -50
- package/dist/contexts/index.d.ts +3 -0
- package/dist/contexts/theme.context.d.ts +6 -0
- package/dist/contexts/theme.hook.d.ts +7 -0
- package/dist/contexts/theme.provider.d.ts +6 -0
- package/dist/contexts/theme.provider.js +14 -84
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useToggle.d.ts +1 -0
- package/dist/{index-1GLoikpT.js → index-BaNV0qac.js} +6585 -6555
- package/dist/{index-CoqDsznq.js → index-BedjZUuB.js} +1 -1
- package/dist/{index-KEdwcThH.js → index-BtibbG81.js} +1 -1
- package/dist/{index-C5psggHV.js → index-D68N8v8R.js} +17 -17
- package/dist/{index-CJsYodgi.js → index-z-AJyzdv.js} +10 -10
- package/dist/index.d.ts +4 -522
- package/dist/index.js +53 -59
- package/dist/js.cookie-OLEfuq_g.js +74 -0
- package/dist/package.json +1 -1
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/konstruct.d.ts +4 -0
- package/dist/plugins/konstruct.js +3 -3
- package/dist/plugins/utils/colors.d.ts +328 -0
- package/dist/styles.css +1 -1
- package/dist/styles.d.ts +0 -0
- package/dist/styles.js +1 -1
- package/dist/useBreadcrumb-DxYsZvj_.js +1398 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/{x-DU-Zw-L_.js → x-CRBgmX1Q.js} +1 -1
- package/package.json +1 -1
- package/dist/components/Breadcrumb/components/Item/Item.js +0 -61
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +0 -90
- package/dist/components/Breadcrumb/components/index.js +0 -4
- package/dist/components/RadioCard/RadioCard.js +0 -41
- package/dist/components/RadioCard/RadioCard.variants.js +0 -19
- package/dist/components/RadioCardGroup/RadioCardGroup.js +0 -47
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +0 -21
- package/dist/components/RadioGroup/RadioGroup.variants.js +0 -21
- package/dist/useBreadcrumb-CojbXFVD.js +0 -1279
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { jsxs as y, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { R as j } from "../../index-
|
|
2
|
+
import { R as j } from "../../index-BtibbG81.js";
|
|
3
3
|
import p, { forwardRef as d, useId as E, useState as T, useCallback as x } from "react";
|
|
4
|
+
import "../../contexts/theme.context.js";
|
|
5
|
+
import { useTheme as $ } from "../../contexts/theme.hook.js";
|
|
6
|
+
import "../../js.cookie-OLEfuq_g.js";
|
|
4
7
|
import { cn as h } from "../../utils/index.js";
|
|
5
|
-
import { labelVariants as
|
|
6
|
-
import { P as a } from "../../index-
|
|
7
|
-
import { useTheme as W } from "../../contexts/theme.hook.js";
|
|
8
|
+
import { labelVariants as L, buttonVariants as P, numberInputVariants as W } from "./NumberInput.variants.js";
|
|
9
|
+
import { P as a } from "../../index-D68N8v8R.js";
|
|
8
10
|
function v() {
|
|
9
11
|
return v = Object.assign || function(e) {
|
|
10
12
|
for (var o = 1; o < arguments.length; o++) {
|
|
@@ -114,7 +116,7 @@ g.propTypes = {
|
|
|
114
116
|
size: a.oneOfType([a.string, a.number])
|
|
115
117
|
};
|
|
116
118
|
g.displayName = "Plus";
|
|
117
|
-
const
|
|
119
|
+
const Q = d(
|
|
118
120
|
({
|
|
119
121
|
className: e,
|
|
120
122
|
init: o,
|
|
@@ -125,7 +127,7 @@ const J = d(
|
|
|
125
127
|
theme: f,
|
|
126
128
|
onChange: s
|
|
127
129
|
}, k) => {
|
|
128
|
-
const { theme: I } =
|
|
130
|
+
const { theme: I } = $(), m = f ?? I, N = E(), [c, w] = T(() => o || 0), z = x(() => {
|
|
129
131
|
let l = 0;
|
|
130
132
|
n === 1 / 0 ? l = c - 1 : l = Math.max(n, c - 1), w(l), s == null || s(l);
|
|
131
133
|
}, [c, n, s]), _ = x(() => {
|
|
@@ -138,7 +140,7 @@ const J = d(
|
|
|
138
140
|
{
|
|
139
141
|
htmlFor: i ?? N,
|
|
140
142
|
className: h(
|
|
141
|
-
|
|
143
|
+
L({
|
|
142
144
|
theme: m
|
|
143
145
|
})
|
|
144
146
|
),
|
|
@@ -168,7 +170,7 @@ const J = d(
|
|
|
168
170
|
value: c,
|
|
169
171
|
name: i,
|
|
170
172
|
className: h(
|
|
171
|
-
|
|
173
|
+
W({ className: e, theme: m })
|
|
172
174
|
),
|
|
173
175
|
readOnly: !0,
|
|
174
176
|
"aria-label": r
|
|
@@ -193,5 +195,5 @@ const J = d(
|
|
|
193
195
|
}
|
|
194
196
|
);
|
|
195
197
|
export {
|
|
196
|
-
|
|
198
|
+
Q as NumberInput
|
|
197
199
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { numberInputVariants } from './NumberInput.variants';
|
|
3
|
+
export interface NumberInputProps extends VariantProps<typeof numberInputVariants> {
|
|
4
|
+
className?: string;
|
|
5
|
+
init?: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
max?: number;
|
|
8
|
+
min?: number;
|
|
9
|
+
name?: string;
|
|
10
|
+
onChange?: (value: number) => void;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const numberInputVariants: (props?: ({
|
|
2
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const buttonVariants: (props?: ({
|
|
5
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
6
|
+
button?: "left" | "rigth" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export declare const labelVariants: (props?: ({
|
|
9
|
+
variant?: "default" | null | undefined;
|
|
10
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import "../../contexts/theme.context.js";
|
|
3
|
+
import { useTheme as l } from "../../contexts/theme.hook.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../js.cookie-OLEfuq_g.js";
|
|
2
6
|
import { cn as o } from "../../utils/index.js";
|
|
3
|
-
import { progressBarVariants as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
label: e,
|
|
7
|
+
import { progressBarVariants as d, progressBarProgress as c } from "./ProgressBar.variants.js";
|
|
8
|
+
const j = ({
|
|
9
|
+
label: r,
|
|
7
10
|
theme: m,
|
|
8
11
|
percent: s,
|
|
9
12
|
status: n
|
|
10
13
|
}) => {
|
|
11
|
-
const { theme: a } =
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
|
|
15
|
-
/* @__PURE__ */
|
|
14
|
+
const { theme: a } = l(), t = m ?? a;
|
|
15
|
+
return /* @__PURE__ */ e("div", { className: "w-full", children: [
|
|
16
|
+
/* @__PURE__ */ e("div", { className: o("flex", r ? "justify-between" : "justify-end"), children: [
|
|
17
|
+
r ? /* @__PURE__ */ i("label", { className: "font-semibold", children: r }) : null,
|
|
18
|
+
/* @__PURE__ */ e("span", { className: "font-semibold", children: [
|
|
16
19
|
s,
|
|
17
20
|
"%"
|
|
18
21
|
] })
|
|
19
22
|
] }),
|
|
20
|
-
/* @__PURE__ */ i("div", { className: o(
|
|
23
|
+
/* @__PURE__ */ i("div", { className: o(d({ theme: t })), children: /* @__PURE__ */ i(
|
|
21
24
|
"div",
|
|
22
25
|
{
|
|
23
26
|
className: o(
|
|
24
|
-
|
|
27
|
+
c({ theme: t, status: n }),
|
|
25
28
|
s > 0 && s < 99 ? "transition-width duration-500" : "transition-colors duration-0"
|
|
26
29
|
),
|
|
27
30
|
style: { width: `${s}%` }
|
|
@@ -30,5 +33,5 @@ const p = ({
|
|
|
30
33
|
] });
|
|
31
34
|
};
|
|
32
35
|
export {
|
|
33
|
-
|
|
36
|
+
j as ProgressBar
|
|
34
37
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { progressBarVariants } from './ProgressBar.variants';
|
|
3
|
+
export interface ProgressBarProps extends VariantProps<typeof progressBarVariants> {
|
|
4
|
+
className?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
percent: number;
|
|
7
|
+
status?: 'success' | 'progress';
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const progressBarVariants: (props?: ({
|
|
2
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const progressBarProgress: (props?: ({
|
|
5
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
6
|
+
status?: "progress" | "error" | "success" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,79 +1,61 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x, useId as N, useCallback as b } from "react";
|
|
3
|
+
import "../../contexts/theme.context.js";
|
|
4
|
+
import { useTheme as j } from "../../contexts/theme.hook.js";
|
|
5
|
+
import "../../js.cookie-OLEfuq_g.js";
|
|
6
|
+
import { cn as F } from "../../utils/index.js";
|
|
7
|
+
import { radioVariants as R } from "./Radio.variants.js";
|
|
8
|
+
const q = x(
|
|
7
9
|
({
|
|
8
|
-
checked:
|
|
9
|
-
className:
|
|
10
|
-
defaultChecked:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const N = j(), { theme: u } = I(), l = `${N}-${i}`, x = n ?? u, R = w(
|
|
21
|
-
(b) => {
|
|
22
|
-
s == null || s(b);
|
|
10
|
+
checked: m = !1,
|
|
11
|
+
className: i,
|
|
12
|
+
defaultChecked: a,
|
|
13
|
+
label: c,
|
|
14
|
+
name: t,
|
|
15
|
+
theme: l,
|
|
16
|
+
value: s,
|
|
17
|
+
onChange: e
|
|
18
|
+
}, p) => {
|
|
19
|
+
const d = N(), { theme: n } = j(), o = `${d}-${t}`, f = b(
|
|
20
|
+
(h) => {
|
|
21
|
+
e == null || e(h);
|
|
23
22
|
},
|
|
24
|
-
[
|
|
23
|
+
[e]
|
|
25
24
|
);
|
|
26
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ u(
|
|
27
26
|
"label",
|
|
28
27
|
{
|
|
29
|
-
htmlFor:
|
|
30
|
-
className:
|
|
31
|
-
F({
|
|
32
|
-
className: f,
|
|
33
|
-
disabled: a || !1
|
|
34
|
-
})
|
|
35
|
-
),
|
|
28
|
+
htmlFor: o,
|
|
29
|
+
className: "inline-flex items-center cursor-pointer",
|
|
36
30
|
children: [
|
|
37
|
-
/* @__PURE__ */
|
|
31
|
+
/* @__PURE__ */ r(
|
|
38
32
|
"input",
|
|
39
33
|
{
|
|
40
|
-
ref:
|
|
41
|
-
id:
|
|
34
|
+
ref: p,
|
|
35
|
+
id: o,
|
|
42
36
|
type: "radio",
|
|
43
|
-
name:
|
|
44
|
-
value:
|
|
45
|
-
checked:
|
|
46
|
-
defaultChecked:
|
|
37
|
+
name: t,
|
|
38
|
+
value: s,
|
|
39
|
+
checked: m,
|
|
40
|
+
defaultChecked: a,
|
|
47
41
|
className: "hidden peer",
|
|
48
|
-
onChange: () =>
|
|
49
|
-
disabled: a
|
|
42
|
+
onChange: () => f(s)
|
|
50
43
|
}
|
|
51
44
|
),
|
|
52
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ r(
|
|
53
46
|
"span",
|
|
54
47
|
{
|
|
55
|
-
className:
|
|
56
|
-
|
|
57
|
-
className: c,
|
|
58
|
-
theme: x,
|
|
59
|
-
disabled: a || !1,
|
|
60
|
-
checked: t || o || !1
|
|
61
|
-
})
|
|
48
|
+
className: F(
|
|
49
|
+
R({ className: i, theme: l ?? n })
|
|
62
50
|
)
|
|
63
51
|
}
|
|
64
52
|
),
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
"span",
|
|
67
|
-
{
|
|
68
|
-
className: r(y({ className: p })),
|
|
69
|
-
children: d
|
|
70
|
-
}
|
|
71
|
-
)
|
|
53
|
+
/* @__PURE__ */ r("span", { className: "ml-2", children: c })
|
|
72
54
|
]
|
|
73
55
|
}
|
|
74
56
|
);
|
|
75
57
|
}
|
|
76
58
|
);
|
|
77
59
|
export {
|
|
78
|
-
|
|
60
|
+
q as Radio
|
|
79
61
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { InputHTMLAttributes } from 'react';
|
|
3
|
+
import { radioVariants } from './Radio.variants';
|
|
4
|
+
export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'>, VariantProps<typeof radioVariants> {
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
color?: string;
|
|
7
|
+
defaultChecked?: boolean;
|
|
8
|
+
label?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
value: string;
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,25 +1,14 @@
|
|
|
1
1
|
import { c as e } from "../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
3
|
-
["inline-flex", "items-center", "cursor-pointer", "gap-2", "w-max"],
|
|
4
|
-
{
|
|
5
|
-
variants: {
|
|
6
|
-
disabled: {
|
|
7
|
-
true: ["cursor-not-allowed"],
|
|
8
|
-
false: ["cursor-pointer"]
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
defaultVariants: {
|
|
12
|
-
disabled: !1
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
), o = e(
|
|
2
|
+
const o = e(
|
|
16
3
|
[
|
|
17
|
-
"border",
|
|
18
|
-
"border-
|
|
4
|
+
"border-2",
|
|
5
|
+
"border-gray-400",
|
|
19
6
|
"duration-300",
|
|
7
|
+
"h-4",
|
|
20
8
|
"inline-block",
|
|
21
9
|
"rounded-full",
|
|
22
10
|
"transition-all",
|
|
11
|
+
"w-4",
|
|
23
12
|
"flex",
|
|
24
13
|
"flex-col",
|
|
25
14
|
"items-center",
|
|
@@ -30,70 +19,28 @@ const a = e(
|
|
|
30
19
|
"before:h-0",
|
|
31
20
|
"before:duration-100",
|
|
32
21
|
"before:transition-all",
|
|
33
|
-
"h-4",
|
|
34
|
-
"w-4",
|
|
35
22
|
"peer-checked:before:h-[70%]",
|
|
36
23
|
"peer-checked:before:w-[70%]"
|
|
37
24
|
],
|
|
38
25
|
{
|
|
39
26
|
variants: {
|
|
40
27
|
theme: {
|
|
41
|
-
colony:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
true: "",
|
|
47
|
-
false: ""
|
|
48
|
-
},
|
|
49
|
-
checked: {
|
|
50
|
-
true: "",
|
|
51
|
-
false: ""
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
compoundVariants: [
|
|
55
|
-
{
|
|
56
|
-
theme: "kubefirst",
|
|
57
|
-
disabled: !1,
|
|
58
|
-
checked: [!0, !1],
|
|
59
|
-
class: [
|
|
28
|
+
colony: [
|
|
29
|
+
"peer-checked:border-red-700",
|
|
30
|
+
"peer-checked:before:bg-red-700"
|
|
31
|
+
],
|
|
32
|
+
kubefirst: [
|
|
60
33
|
"peer-checked:border-kubefirst-primary",
|
|
61
34
|
"peer-checked:before:bg-kubefirst-primary"
|
|
62
|
-
]
|
|
63
|
-
|
|
64
|
-
{
|
|
65
|
-
theme: "kubefirst",
|
|
66
|
-
disabled: !0,
|
|
67
|
-
checked: !0,
|
|
68
|
-
class: [
|
|
69
|
-
"peer-checked:border-zinc-400",
|
|
70
|
-
"peer-checked:before:bg-zinc-400",
|
|
71
|
-
"cursor-not-allowed",
|
|
72
|
-
"[&+span]:cursor-not-allowed"
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
theme: "kubefirst",
|
|
77
|
-
disabled: !0,
|
|
78
|
-
checked: !1,
|
|
79
|
-
class: [
|
|
80
|
-
"peer-checked:border-zinc-300",
|
|
81
|
-
"peer-checked:border-zinc-300",
|
|
82
|
-
"peer-checked:before:bg-zinc-300",
|
|
83
|
-
"cursor-not-allowed",
|
|
84
|
-
"[&+span]:cursor-not-allowed",
|
|
85
|
-
"bg-zinc-50"
|
|
86
|
-
]
|
|
35
|
+
],
|
|
36
|
+
civo: ""
|
|
87
37
|
}
|
|
88
|
-
|
|
38
|
+
},
|
|
89
39
|
defaultVariants: {
|
|
90
|
-
theme: "kubefirst"
|
|
91
|
-
disabled: !1
|
|
40
|
+
theme: "kubefirst"
|
|
92
41
|
}
|
|
93
42
|
}
|
|
94
|
-
)
|
|
43
|
+
);
|
|
95
44
|
export {
|
|
96
|
-
|
|
97
|
-
o as radioVariants,
|
|
98
|
-
a as wrapperRadioVariants
|
|
45
|
+
o as radioVariants
|
|
99
46
|
};
|
|
@@ -1,51 +1,41 @@
|
|
|
1
|
-
import { jsx as o, Fragment as
|
|
2
|
-
import { S as
|
|
3
|
-
import { useState as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as o, Fragment as N } from "react/jsx-runtime";
|
|
2
|
+
import { S as R } from "../../index-DoOsnuB6.js";
|
|
3
|
+
import { useState as T, useCallback as a } from "react";
|
|
4
|
+
import "../../contexts/theme.context.js";
|
|
5
|
+
import { useTheme as b } from "../../contexts/theme.hook.js";
|
|
6
|
+
import "../../js.cookie-OLEfuq_g.js";
|
|
7
|
+
import { cn as e } from "../../utils/index.js";
|
|
8
|
+
import { Radio as j } from "../Radio/Radio.js";
|
|
9
|
+
const D = ({
|
|
10
|
+
asChild: r,
|
|
11
|
+
className: c,
|
|
12
|
+
defaultValue: s,
|
|
12
13
|
name: i,
|
|
13
14
|
options: p,
|
|
14
15
|
theme: d,
|
|
15
16
|
wrapperClassName: f,
|
|
16
|
-
direction: a,
|
|
17
17
|
onValueChange: m
|
|
18
18
|
}) => {
|
|
19
|
-
const
|
|
20
|
-
() => c
|
|
21
|
-
), x = T(
|
|
19
|
+
const S = r ? R : "div", { theme: h } = b(), [n, x] = T(s), l = a(
|
|
22
20
|
(t) => {
|
|
23
|
-
|
|
21
|
+
x(t), m == null || m(t);
|
|
24
22
|
},
|
|
25
23
|
[m]
|
|
26
24
|
);
|
|
27
|
-
return /* @__PURE__ */ o(
|
|
28
|
-
|
|
25
|
+
return /* @__PURE__ */ o(S, { className: e("flex gap-2", f), children: /* @__PURE__ */ o(N, { children: p.map(({ value: t, ...k }) => /* @__PURE__ */ o(
|
|
26
|
+
j,
|
|
29
27
|
{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
checked: h === t,
|
|
41
|
-
onChange: () => x(t),
|
|
42
|
-
...N
|
|
43
|
-
},
|
|
44
|
-
t
|
|
45
|
-
)) })
|
|
46
|
-
}
|
|
47
|
-
);
|
|
28
|
+
value: t,
|
|
29
|
+
theme: d ?? h,
|
|
30
|
+
name: i,
|
|
31
|
+
className: e(c),
|
|
32
|
+
checked: n === t,
|
|
33
|
+
onChange: () => l(t),
|
|
34
|
+
...k
|
|
35
|
+
},
|
|
36
|
+
t
|
|
37
|
+
)) }) });
|
|
48
38
|
};
|
|
49
39
|
export {
|
|
50
|
-
|
|
40
|
+
D as RadioGroup
|
|
51
41
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RadioProps } from '../Radio/Radio.types';
|
|
2
|
+
export interface RadioGroupProps {
|
|
3
|
+
asChild?: boolean;
|
|
4
|
+
className?: RadioProps['className'];
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
options: Omit<RadioProps, 'name'>[];
|
|
9
|
+
theme?: RadioProps['theme'];
|
|
10
|
+
wrapperClassName?: string;
|
|
11
|
+
onValueChange?: (value: string) => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { R as V, T as v,
|
|
1
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { R as V, T as v, a as T, b as c } from "../../index-z-AJyzdv.js";
|
|
3
3
|
import { forwardRef as b, useRef as j, useState as k, useImperativeHandle as w, useEffect as y, useCallback as C } from "react";
|
|
4
|
+
import "../../contexts/theme.context.js";
|
|
5
|
+
import { useTheme as S } from "../../contexts/theme.hook.js";
|
|
6
|
+
import "../../js.cookie-OLEfuq_g.js";
|
|
4
7
|
import { cn as t } from "../../utils/index.js";
|
|
5
|
-
import { rangeVariants as
|
|
6
|
-
|
|
7
|
-
const F = b(
|
|
8
|
+
import { rangeVariants as $, trackVariants as E, rangeOutsideVariants as H, thumbVariants as i } from "./Range.variants.js";
|
|
9
|
+
const J = b(
|
|
8
10
|
({
|
|
9
|
-
label:
|
|
11
|
+
label: m,
|
|
10
12
|
defaultValue: o = [0, 100],
|
|
11
13
|
name: u,
|
|
12
14
|
theme: h,
|
|
13
|
-
size:
|
|
15
|
+
size: l,
|
|
14
16
|
showValue: f,
|
|
15
17
|
...d
|
|
16
18
|
}, p) => {
|
|
17
|
-
const a = j(null), [s, x] = k(o), { theme: N } =
|
|
19
|
+
const a = j(null), [s, x] = k(o), { theme: N } = S(), r = h ?? N;
|
|
18
20
|
w(p, () => a.current, [a]), y(() => {
|
|
19
21
|
a.current && (a.current.value = `[${s.toString()}]`);
|
|
20
22
|
}, [s]);
|
|
@@ -22,17 +24,17 @@ const F = b(
|
|
|
22
24
|
(R) => x(R),
|
|
23
25
|
[]
|
|
24
26
|
);
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ n("div", { className: "w-full relative flex flex-col gap-3", children: [
|
|
28
|
+
/* @__PURE__ */ n(
|
|
27
29
|
"div",
|
|
28
30
|
{
|
|
29
31
|
className: t(
|
|
30
32
|
"flex items-center",
|
|
31
|
-
|
|
33
|
+
m ? "justify-between" : "justify-end"
|
|
32
34
|
),
|
|
33
35
|
children: [
|
|
34
|
-
|
|
35
|
-
f ? /* @__PURE__ */
|
|
36
|
+
m ? /* @__PURE__ */ e("label", { children: m }) : null,
|
|
37
|
+
f ? /* @__PURE__ */ n("span", { className: "text-xs", children: [
|
|
36
38
|
s[0],
|
|
37
39
|
" - ",
|
|
38
40
|
s[1]
|
|
@@ -41,22 +43,22 @@ const F = b(
|
|
|
41
43
|
}
|
|
42
44
|
),
|
|
43
45
|
/* @__PURE__ */ e("input", { ref: a, name: u, className: "hidden", type: "text" }),
|
|
44
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ n(
|
|
45
47
|
V,
|
|
46
48
|
{
|
|
47
49
|
value: s,
|
|
48
|
-
className: t(
|
|
50
|
+
className: t($({ theme: r })),
|
|
49
51
|
onValueChange: g,
|
|
50
52
|
...d,
|
|
51
53
|
children: [
|
|
52
|
-
/* @__PURE__ */ e(v, { className: t(
|
|
54
|
+
/* @__PURE__ */ e(v, { className: t(E({ theme: r, size: l })), children: /* @__PURE__ */ e(
|
|
53
55
|
T,
|
|
54
56
|
{
|
|
55
|
-
className: t(
|
|
57
|
+
className: t(H({ theme: r }))
|
|
56
58
|
}
|
|
57
59
|
) }),
|
|
58
|
-
/* @__PURE__ */ e(c, { className: t(i({ theme:
|
|
59
|
-
/* @__PURE__ */ e(c, { className: t(i({ theme:
|
|
60
|
+
/* @__PURE__ */ e(c, { className: t(i({ theme: r, size: l })) }),
|
|
61
|
+
/* @__PURE__ */ e(c, { className: t(i({ theme: r, size: l })) })
|
|
60
62
|
]
|
|
61
63
|
}
|
|
62
64
|
)
|
|
@@ -64,5 +66,5 @@ const F = b(
|
|
|
64
66
|
}
|
|
65
67
|
);
|
|
66
68
|
export {
|
|
67
|
-
|
|
69
|
+
J as Range
|
|
68
70
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { SliderProps as SliderPropsBase } from '@radix-ui/react-slider';
|
|
3
|
+
import { rangeVariants } from './Range.variants';
|
|
4
|
+
export interface RangeProps extends VariantProps<typeof rangeVariants> {
|
|
5
|
+
className?: string;
|
|
6
|
+
defaultValue?: SliderPropsBase['defaultValue'];
|
|
7
|
+
label?: string;
|
|
8
|
+
max?: SliderPropsBase['max'];
|
|
9
|
+
min?: SliderPropsBase['min'];
|
|
10
|
+
name?: string;
|
|
11
|
+
showValue?: boolean;
|
|
12
|
+
size?: 'sm' | 'md' | 'lg';
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const rangeVariants: (props?: ({
|
|
2
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const rangeOutsideVariants: (props?: ({
|
|
5
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export declare const trackVariants: (props?: ({
|
|
8
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
9
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
export declare const thumbVariants: (props?: ({
|
|
12
|
+
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
13
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
14
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|