@konstructio/ui 0.1.0-alpha.2 → 0.1.0-alpha.4
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-b348x__d.js → Combination-Cvr3uETz.js} +102 -102
- package/dist/DatePicker.css +1 -0
- package/dist/{Modal-i7eolhYH.js → Modal-DXYBiafI.js} +3 -3
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.js +55 -41
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Badge/Badge.js +14 -14
- package/dist/components/Badge/Badge.variants.js +18 -17
- package/dist/components/Breadcrumb/Breadcrumb.js +43 -52
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +10 -41
- package/dist/components/Breadcrumb/components/Item/Item.js +22 -23
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +43 -56
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +30 -26
- package/dist/components/Button/Button.variants.js +115 -28
- package/dist/components/Checkbox/Checkbox.js +297 -187
- package/dist/components/Checkbox/Checkbox.variants.js +12 -15
- 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 +1 -1
- 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 +1 -1
- package/dist/components/Command/components/DialogOverlay.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +2711 -0
- package/dist/components/Datepicker/DatePicker.variants.js +5 -0
- package/dist/components/Dropdown/components/List/List.js +49 -17
- package/dist/components/Dropdown/components/ListItem/ListItem.js +21 -17
- package/dist/components/Dropdown/components/Wrapper.js +64 -59
- package/dist/components/Dropdown/contexts/dropdown.hook.js +5 -3
- package/dist/components/Input/Input.js +106 -137
- package/dist/components/Input/Input.variants.js +15 -13
- package/dist/components/Loading/Loading.js +2 -2
- 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 +3 -3
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +1 -1
- package/dist/components/Radio/Radio.variants.js +14 -12
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Switch/Switch.js +141 -126
- package/dist/components/Tabs/Tabs.js +24 -0
- package/dist/components/Tabs/Tabs.variants.js +58 -0
- package/dist/components/Tabs/components/Content.js +19 -0
- package/dist/components/Tabs/components/List.js +20 -0
- package/dist/components/Tabs/components/Trigger.js +26 -0
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TimePicker/TimePicker.js +8 -0
- package/dist/components/TimePicker/TimePicker.variants.js +62 -0
- package/dist/components/TimePicker/components/HoursList/HoursList.js +93 -0
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +68 -0
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +60 -0
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +102 -0
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +51 -0
- package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +16 -0
- package/dist/components/TimePicker/components/index.js +4 -0
- package/dist/components/TimePicker/contexts/index.js +8 -0
- package/dist/components/TimePicker/contexts/time-picker.context.js +22 -0
- package/dist/components/TimePicker/contexts/time-picker.hook.js +13 -0
- package/dist/components/TimePicker/contexts/time-picker.provider.js +46 -0
- package/dist/components/TimePicker/utils/index.js +6 -0
- package/dist/components/Toast/Toast.js +37 -35
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Typography/Typography.js +14 -16
- package/dist/components/index.js +72 -66
- package/dist/createLucideIcon-vyksFS6P.js +94 -0
- package/dist/index--EmNlyHx.js +31 -0
- package/dist/{index-DvFiic6N.js → index-1RDo-S_f.js} +96 -102
- package/dist/{index-Bk324h27.js → index-B5MIi2tR.js} +6 -5
- package/dist/{index-g-TFwd6Y.js → index-BCGvACM9.js} +2 -1
- package/dist/{index-Bry5AFQ2.js → index-Bc1LNrRD.js} +1 -1
- package/dist/index-BdMNhZnh.js +9 -0
- package/dist/{index-AM3avohj.js → index-BuxebbOg.js} +3 -3
- package/dist/index-BvCZBMfr.js +432 -0
- package/dist/index-Cq1I1cG9.js +129 -0
- package/dist/index-Cs8Lv8Wj.js +13 -0
- package/dist/index-CvfCCTEO.js +323 -0
- package/dist/{index-dRxIWVBr.js → index-Cz09twLl.js} +6 -5
- package/dist/{index-YaQrdkGE.js → index-DNRcvRTB.js} +31 -30
- package/dist/{index-G_6jG4Qc.js → index-Dm-ooN_M.js} +18 -18
- package/dist/index-DwYXX2sM.js +13 -0
- package/dist/{index-D9BbbgUq.js → index-rUBNhTeF.js} +2 -2
- package/dist/index.d.ts +75 -13
- package/dist/index.js +78 -72
- package/dist/package.json +37 -34
- package/dist/styles.css +1 -1
- package/dist/ui/civo-theme.css +263 -0
- package/dist/ui/kubefirst-theme.css +1 -1
- package/dist/ui/theme.css +11 -0
- package/dist/useBreadcrumb-DMERrNkJ.js +1280 -0
- package/dist/utils/index.js +3 -3
- package/package.json +37 -34
- package/dist/createLucideIcon-CoF3ywd5.js +0 -89
- package/dist/index-BOx5P4tS.js +0 -423
- package/dist/index-CWKdynYu.js +0 -32
- package/dist/index-bYyfdsls.js +0 -118
- package/dist/useBreadcrumb-BsIeMoR1.js +0 -1279
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { AlertDialogProps as AlertDialogProps_2 } from '@radix-ui/react-alert-dialog';
|
|
1
2
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
3
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
4
|
import { Context } from 'react';
|
|
5
|
+
import { DayPickerProps } from 'react-day-picker';
|
|
4
6
|
import { FC } from 'react';
|
|
5
7
|
import { ForwardRefExoticComponent } from 'react';
|
|
8
|
+
import { getAllTimezones } from 'countries-and-timezones';
|
|
6
9
|
import { HTMLAttributes } from 'react';
|
|
7
10
|
import { HtmlHTMLAttributes } from 'react';
|
|
8
11
|
import { InputHTMLAttributes } from 'react';
|
|
@@ -16,17 +19,17 @@ export declare const Alert: FC<AlertProps>;
|
|
|
16
19
|
|
|
17
20
|
export declare const AlertDialog: FC<AlertDialogProps>;
|
|
18
21
|
|
|
19
|
-
declare interface AlertDialogProps extends PropsWithChildren {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
buttonConfirmText?: string;
|
|
24
|
-
buttonText?: string;
|
|
22
|
+
declare interface AlertDialogProps extends PropsWithChildren, AlertDialogProps_2 {
|
|
23
|
+
buttonCancel?: ButtonCancelProps;
|
|
24
|
+
buttonConfirm?: ButtonConfirmProps;
|
|
25
|
+
buttonTriggerText?: string;
|
|
25
26
|
buttonTriggerClassName?: string;
|
|
26
27
|
className?: string;
|
|
27
|
-
description?: string;
|
|
28
|
+
description?: string | ReactNode;
|
|
29
|
+
showCancelButton?: boolean;
|
|
28
30
|
theme?: Theme;
|
|
29
|
-
title?: string;
|
|
31
|
+
title?: string | ReactNode;
|
|
32
|
+
wrapperClassName?: string;
|
|
30
33
|
onConfirm?: () => void;
|
|
31
34
|
}
|
|
32
35
|
|
|
@@ -63,6 +66,22 @@ declare const autocompleteVariants: (props?: ({
|
|
|
63
66
|
variant?: "default" | null | undefined;
|
|
64
67
|
} & ClassProp) | undefined) => string;
|
|
65
68
|
|
|
69
|
+
export declare const Badge: FC<BadgeProps>;
|
|
70
|
+
|
|
71
|
+
declare type BadgeProps = VariantProps<typeof badgeVariants> & {
|
|
72
|
+
label: string;
|
|
73
|
+
className?: string;
|
|
74
|
+
loading?: boolean;
|
|
75
|
+
dismissible?: true;
|
|
76
|
+
onClick?: VoidFunction;
|
|
77
|
+
onDismiss?: VoidFunction;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
declare const badgeVariants: (props?: ({
|
|
81
|
+
variant?: "info" | "warning" | "danger" | "default" | "success" | null | undefined;
|
|
82
|
+
size?: "default" | null | undefined;
|
|
83
|
+
} & ClassProp) | undefined) => string;
|
|
84
|
+
|
|
66
85
|
declare interface BodyProps extends React.HTMLAttributes<HTMLTableSectionElement>, PropsWithChildren, VariantProps<typeof bodyVariants> {
|
|
67
86
|
}
|
|
68
87
|
|
|
@@ -76,12 +95,19 @@ declare interface BreadcrumbProps extends VariantProps<typeof breadcrumbVariants
|
|
|
76
95
|
theme?: Theme;
|
|
77
96
|
}
|
|
78
97
|
|
|
79
|
-
declare const breadcrumbVariants: (props?:
|
|
80
|
-
size?: "base" | "sm" | "lg" | "xl" | null | undefined;
|
|
81
|
-
} & ClassProp) | undefined) => string;
|
|
98
|
+
declare const breadcrumbVariants: (props?: ClassProp | undefined) => string;
|
|
82
99
|
|
|
83
100
|
export declare const Button: FC<ButtonProps>;
|
|
84
101
|
|
|
102
|
+
declare type ButtonBaseProps = Partial<ButtonProps> & {
|
|
103
|
+
className?: string;
|
|
104
|
+
text?: string;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
declare type ButtonCancelProps = ButtonBaseProps;
|
|
108
|
+
|
|
109
|
+
declare type ButtonConfirmProps = ButtonBaseProps;
|
|
110
|
+
|
|
85
111
|
declare interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof buttonVariants> {
|
|
86
112
|
asChild?: boolean;
|
|
87
113
|
disabled?: boolean;
|
|
@@ -89,10 +115,12 @@ declare interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
89
115
|
}
|
|
90
116
|
|
|
91
117
|
declare const buttonVariants: (props?: ({
|
|
92
|
-
variant?: "danger" | "
|
|
118
|
+
variant?: "danger" | "text" | "primary" | "secondary" | null | undefined;
|
|
119
|
+
shape?: "circle" | null | undefined;
|
|
93
120
|
version?: "default" | "alternate" | null | undefined;
|
|
94
121
|
disabled?: boolean | null | undefined;
|
|
95
122
|
size?: "medium" | "large" | null | undefined;
|
|
123
|
+
appearance?: "compact" | null | undefined;
|
|
96
124
|
} & ClassProp) | undefined) => string;
|
|
97
125
|
|
|
98
126
|
export declare const Card: FC<CardProps>;
|
|
@@ -129,14 +157,26 @@ declare const checkboxVariants: (props?: ({
|
|
|
129
157
|
checked?: boolean | null | undefined;
|
|
130
158
|
} & ClassProp) | undefined) => string;
|
|
131
159
|
|
|
160
|
+
export declare const DatePicker: FC<DatePickerProps>;
|
|
161
|
+
|
|
162
|
+
declare type DatePickerProps = Omit<DayPickerProps, 'mode'> & VariantProps<typeof datePickerVariants> & {
|
|
163
|
+
timeZone?: TimeZone;
|
|
164
|
+
onSelect?: (date: Date) => void;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
declare const datePickerVariants: (props?: ClassProp | undefined) => string;
|
|
168
|
+
|
|
132
169
|
export declare const Divider: FC<HTMLAttributes<HTMLDivElement>>;
|
|
133
170
|
|
|
134
171
|
export declare const Dropdown: FC<DropdownProps>;
|
|
135
172
|
|
|
136
173
|
declare interface DropdownProps extends VariantProps<typeof dropdownVariants>, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'> {
|
|
174
|
+
className?: string;
|
|
137
175
|
isLoading?: boolean;
|
|
138
176
|
label?: string;
|
|
139
177
|
labelClassName?: string;
|
|
178
|
+
listClassName?: string;
|
|
179
|
+
listItemClassName?: string;
|
|
140
180
|
options: Option_3[];
|
|
141
181
|
theme?: Theme;
|
|
142
182
|
value?: string;
|
|
@@ -171,6 +211,9 @@ declare interface InputProps extends InputHTMLAttributes<HTMLInputElement>, Vari
|
|
|
171
211
|
label?: string | ReactNode;
|
|
172
212
|
labelClassName?: string;
|
|
173
213
|
theme?: Theme;
|
|
214
|
+
isRequired?: boolean;
|
|
215
|
+
isSearch?: boolean;
|
|
216
|
+
helperText?: string;
|
|
174
217
|
}
|
|
175
218
|
|
|
176
219
|
declare const inputVariants: (props?: ({
|
|
@@ -538,6 +581,25 @@ declare type ThemeProps = {
|
|
|
538
581
|
|
|
539
582
|
export declare const ThemeProvider: FC<ThemeContextProps>;
|
|
540
583
|
|
|
584
|
+
export declare const TimePicker: FC<TimePickerProps>;
|
|
585
|
+
|
|
586
|
+
declare type TimePickerProps = VariantProps<typeof timePickerVariants> & {
|
|
587
|
+
format?: '12' | '24';
|
|
588
|
+
scrollBehavior?: 'smooth' | 'auto';
|
|
589
|
+
time?: Date;
|
|
590
|
+
name?: string;
|
|
591
|
+
label?: string;
|
|
592
|
+
required?: boolean;
|
|
593
|
+
className?: string;
|
|
594
|
+
listClassName?: string;
|
|
595
|
+
listItemClassName?: string;
|
|
596
|
+
listItemButtonClassName?: string;
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
declare const timePickerVariants: (props?: ClassProp | undefined) => string;
|
|
600
|
+
|
|
601
|
+
declare type TimeZone = keyof ReturnType<typeof getAllTimezones>;
|
|
602
|
+
|
|
541
603
|
export declare const Toast: FC<ToastProps>;
|
|
542
604
|
|
|
543
605
|
declare interface ToastProps extends PropsWithChildren, VariantProps<typeof toastVariants> {
|
|
@@ -566,7 +628,7 @@ declare interface TooltipProps extends PropsWithChildren, VariantProps<typeof to
|
|
|
566
628
|
}
|
|
567
629
|
|
|
568
630
|
declare const tooltipVariants: (props?: ({
|
|
569
|
-
position?: "left" | "right" | "
|
|
631
|
+
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
570
632
|
} & ClassProp) | undefined) => string;
|
|
571
633
|
|
|
572
634
|
export declare const Typography: FC<TypographyProps>;
|
package/dist/index.js
CHANGED
|
@@ -1,80 +1,86 @@
|
|
|
1
1
|
import { Alert as e } from "./components/Alert/Alert.js";
|
|
2
2
|
import { AlertDialog as p } from "./components/AlertDialog/AlertDialog.js";
|
|
3
3
|
import { Autocomplete as x } from "./components/Autocomplete/Autocomplete.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
4
|
+
import { Badge as a } from "./components/Badge/Badge.js";
|
|
5
|
+
import { Breadcrumb as d } from "./components/Breadcrumb/Breadcrumb.js";
|
|
6
|
+
import { Button as n } from "./components/Button/Button.js";
|
|
7
|
+
import { Card as u } from "./components/Card/Card.js";
|
|
8
|
+
import { Checkbox as c } from "./components/Checkbox/Checkbox.js";
|
|
9
|
+
import { DatePicker as s } from "./components/Datepicker/DatePicker.js";
|
|
10
|
+
import { Divider as b } from "./components/Divider/Divider.js";
|
|
11
|
+
import { Dropdown as N } from "./components/Dropdown/Dropdown.js";
|
|
12
|
+
import { Input as S } from "./components/Input/Input.js";
|
|
13
|
+
import { Loading as B } from "./components/Loading/Loading.js";
|
|
14
|
+
import { M as P } from "./Modal-DXYBiafI.js";
|
|
15
|
+
import { NumberInput as G } from "./components/NumberInput/NumberInput.js";
|
|
16
|
+
import { ProgressBar as y } from "./components/ProgressBar/ProgressBar.js";
|
|
17
|
+
import { Radio as L } from "./components/Radio/Radio.js";
|
|
18
|
+
import { RadioCard as F } from "./components/RadioCard/RadioCard.js";
|
|
19
|
+
import { RadioCardGroup as j } from "./components/RadioCardGroup/RadioCardGroup.js";
|
|
20
|
+
import { RadioGroup as z } from "./components/RadioGroup/RadioGroup.js";
|
|
21
|
+
import { Range as H } from "./components/Range/Range.js";
|
|
22
|
+
import { Footer as K } from "./components/Sidebar/components/Footer/Footer.js";
|
|
23
|
+
import { Logo as U } from "./components/Sidebar/components/Logo/Logo.js";
|
|
24
|
+
import { Navigation as W } from "./components/Sidebar/components/Navigation/Navigation.js";
|
|
25
|
+
import { NavigationGroup as Y } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
|
|
26
|
+
import { NavigationOption as _ } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
|
|
27
|
+
import { NavigationSeparator as oo } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
|
|
28
|
+
import { Sidebar as eo } from "./components/Sidebar/Sidebar.js";
|
|
29
|
+
import { Slider as po } from "./components/Slider/Slider.js";
|
|
30
|
+
import { Switch as xo } from "./components/Switch/Switch.js";
|
|
31
|
+
import { Table as ao } from "./components/Table/Table.js";
|
|
32
|
+
import { Tag as go } from "./components/Tag/Tag.js";
|
|
33
|
+
import { TagSelect as To } from "./components/TagSelect/TagSelect.js";
|
|
34
|
+
import { TextArea as lo } from "./components/TextArea/TextArea.js";
|
|
35
|
+
import { TimePicker as ho } from "./components/TimePicker/TimePicker.js";
|
|
36
|
+
import { Toast as vo } from "./components/Toast/Toast.js";
|
|
37
|
+
import { Tooltip as Co } from "./components/Tooltip/Tooltip.js";
|
|
38
|
+
import { Typography as Ro } from "./components/Typography/Typography.js";
|
|
39
|
+
import { ThemeContext as Ao } from "./contexts/theme.context.js";
|
|
40
|
+
import { useTheme as Do } from "./contexts/theme.hook.js";
|
|
41
|
+
import { ThemeProvider as ko } from "./contexts/theme.provider.js";
|
|
42
|
+
import { useToggle as wo } from "./hooks/useToggle.js";
|
|
40
43
|
export {
|
|
41
44
|
e as Alert,
|
|
42
45
|
p as AlertDialog,
|
|
43
46
|
x as Autocomplete,
|
|
44
|
-
a as
|
|
45
|
-
d as
|
|
46
|
-
n as
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
47
|
+
a as Badge,
|
|
48
|
+
d as Breadcrumb,
|
|
49
|
+
n as Button,
|
|
50
|
+
u as Card,
|
|
51
|
+
c as Checkbox,
|
|
52
|
+
s as DatePicker,
|
|
53
|
+
b as Divider,
|
|
54
|
+
N as Dropdown,
|
|
55
|
+
K as Footer,
|
|
56
|
+
S as Input,
|
|
57
|
+
B as Loading,
|
|
58
|
+
U as Logo,
|
|
59
|
+
P as Modal,
|
|
60
|
+
W as Navigation,
|
|
61
|
+
Y as NavigationGroup,
|
|
62
|
+
_ as NavigationOption,
|
|
63
|
+
oo as NavigationSeparator,
|
|
64
|
+
G as NumberInput,
|
|
65
|
+
y as ProgressBar,
|
|
66
|
+
L as Radio,
|
|
67
|
+
F as RadioCard,
|
|
68
|
+
j as RadioCardGroup,
|
|
69
|
+
z as RadioGroup,
|
|
70
|
+
H as Range,
|
|
71
|
+
eo as Sidebar,
|
|
72
|
+
po as Slider,
|
|
73
|
+
xo as Switch,
|
|
74
|
+
ao as Table,
|
|
75
|
+
go as Tag,
|
|
76
|
+
To as TagSelect,
|
|
77
|
+
lo as TextArea,
|
|
78
|
+
Ao as ThemeContext,
|
|
79
|
+
ko as ThemeProvider,
|
|
80
|
+
ho as TimePicker,
|
|
81
|
+
vo as Toast,
|
|
82
|
+
Co as Tooltip,
|
|
83
|
+
Ro as Typography,
|
|
84
|
+
Do as useTheme,
|
|
85
|
+
wo as useToggle
|
|
80
86
|
};
|
package/dist/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@konstructio/ui",
|
|
3
3
|
"description": "A set of reusable and customizable React components built for konstruct.io",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.0
|
|
5
|
+
"version": "0.1.0-alpha.3",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -55,23 +55,26 @@
|
|
|
55
55
|
"test:watch": "vitest dev"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
59
|
-
"@radix-ui/react-checkbox": "^1.
|
|
60
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
61
|
-
"@radix-ui/react-slider": "^1.
|
|
62
|
-
"@radix-ui/react-slot": "^1.2.
|
|
63
|
-
"@radix-ui/react-switch": "^1.
|
|
64
|
-
"@radix-ui/react-toast": "^1.2.
|
|
65
|
-
"@radix-ui/react-
|
|
58
|
+
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
59
|
+
"@radix-ui/react-checkbox": "^1.3.2",
|
|
60
|
+
"@radix-ui/react-dialog": "^1.1.14",
|
|
61
|
+
"@radix-ui/react-slider": "^1.3.5",
|
|
62
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
63
|
+
"@radix-ui/react-switch": "^1.2.5",
|
|
64
|
+
"@radix-ui/react-toast": "^1.2.14",
|
|
65
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
66
|
+
"@radix-ui/react-visually-hidden": "^1.2.3",
|
|
66
67
|
"class-variance-authority": "^0.7.1",
|
|
67
68
|
"clsx": "^2.1.1",
|
|
68
69
|
"cmdk": "^1.1.1",
|
|
70
|
+
"countries-and-timezones": "^3.8.0",
|
|
69
71
|
"js-cookie": "^3.0.5",
|
|
70
|
-
"lucide-react": "^0.
|
|
72
|
+
"lucide-react": "^0.511.0",
|
|
73
|
+
"react-day-picker": "^9.7.0",
|
|
71
74
|
"react-feather": "^2.0.10",
|
|
72
75
|
"react-focus-lock": "^2.13.6",
|
|
73
|
-
"react-remove-scroll": "^2.
|
|
74
|
-
"tailwind-merge": "^3.
|
|
76
|
+
"react-remove-scroll": "^2.7.0",
|
|
77
|
+
"tailwind-merge": "^3.3.0"
|
|
75
78
|
},
|
|
76
79
|
"peerDependencies": {
|
|
77
80
|
"@types/react": "*",
|
|
@@ -103,34 +106,34 @@
|
|
|
103
106
|
},
|
|
104
107
|
"devDependencies": {
|
|
105
108
|
"@rollup/plugin-alias": "^5.1.1",
|
|
106
|
-
"@storybook/addon-docs": "^8.6.
|
|
107
|
-
"@storybook/addon-essentials": "^8.6.
|
|
108
|
-
"@storybook/addon-interactions": "^8.6.
|
|
109
|
-
"@storybook/addon-links": "^8.6.
|
|
109
|
+
"@storybook/addon-docs": "^8.6.14",
|
|
110
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
111
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
112
|
+
"@storybook/addon-links": "^8.6.14",
|
|
110
113
|
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
111
|
-
"@storybook/blocks": "^8.6.
|
|
112
|
-
"@storybook/react": "^8.6.
|
|
113
|
-
"@storybook/react-vite": "^8.6.
|
|
114
|
-
"@storybook/test": "^8.6.
|
|
115
|
-
"@tailwindcss/vite": "^4.1.
|
|
114
|
+
"@storybook/blocks": "^8.6.14",
|
|
115
|
+
"@storybook/react": "^8.6.14",
|
|
116
|
+
"@storybook/react-vite": "^8.6.14",
|
|
117
|
+
"@storybook/test": "^8.6.14",
|
|
118
|
+
"@tailwindcss/vite": "^4.1.7",
|
|
116
119
|
"@testing-library/jest-dom": "^6.6.3",
|
|
117
120
|
"@testing-library/react": "^16.3.0",
|
|
118
121
|
"@testing-library/user-event": "^14.6.1",
|
|
119
122
|
"@types/jest-axe": "^3.5.9",
|
|
120
123
|
"@types/js-cookie": "^3.0.6",
|
|
121
|
-
"@types/lodash": "^4.17.
|
|
122
|
-
"@types/react": "^19.1.
|
|
123
|
-
"@types/react-dom": "^19.1.
|
|
124
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
125
|
-
"@typescript-eslint/parser": "^8.
|
|
126
|
-
"@vitejs/plugin-react": "^4.
|
|
127
|
-
"@vitest/coverage-v8": "^3.1.
|
|
124
|
+
"@types/lodash": "^4.17.17",
|
|
125
|
+
"@types/react": "^19.1.5",
|
|
126
|
+
"@types/react-dom": "^19.1.5",
|
|
127
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
128
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
129
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
130
|
+
"@vitest/coverage-v8": "^3.1.4",
|
|
128
131
|
"autoprefixer": "^10.4.21",
|
|
129
132
|
"eslint": "^8.57.0",
|
|
130
133
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
131
134
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
132
135
|
"eslint-plugin-storybook": "^0.9.0",
|
|
133
|
-
"glob": "^11.0.
|
|
136
|
+
"glob": "^11.0.2",
|
|
134
137
|
"husky": "^9.1.7",
|
|
135
138
|
"jest-axe": "^10.0.0",
|
|
136
139
|
"jsdom": "^26.1.0",
|
|
@@ -138,15 +141,15 @@
|
|
|
138
141
|
"postcss": "^8.5.3",
|
|
139
142
|
"prettier": "^3.5.3",
|
|
140
143
|
"rimraf": "^6.0.1",
|
|
141
|
-
"storybook": "^8.6.
|
|
142
|
-
"tailwindcss": "^4.1.
|
|
144
|
+
"storybook": "^8.6.14",
|
|
145
|
+
"tailwindcss": "^4.1.7",
|
|
143
146
|
"ts-node": "^10.9.2",
|
|
144
147
|
"typescript": "^5.8.3",
|
|
145
|
-
"vite": "^6.
|
|
146
|
-
"vite-plugin-dts": "^4.5.
|
|
148
|
+
"vite": "^6.3.5",
|
|
149
|
+
"vite-plugin-dts": "^4.5.4",
|
|
147
150
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
148
151
|
"vite-plugin-svgr": "^4.3.0",
|
|
149
152
|
"vite-tsconfig-paths": "^5.1.4",
|
|
150
|
-
"vitest": "^3.1.
|
|
153
|
+
"vitest": "^3.1.4"
|
|
151
154
|
}
|
|
152
155
|
}
|