@konstructio/ui 0.0.11 → 0.0.12-alpha.1

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.
Files changed (259) hide show
  1. package/dist/{Combination-Cmu9JRkv.js → Combination-BQYb0Gw7.js} +72 -72
  2. package/dist/{Modal-L73dmnHv.js → Modal-W2GbkC_F.js} +238 -246
  3. package/dist/{chevron-up-CvquEaNg.js → chevron-up-DgLBQCKD.js} +1 -1
  4. package/dist/components/AlertDialog/AlertDialog.js +20 -23
  5. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -6
  6. package/dist/components/AlertDialog/components/index.js +1 -1
  7. package/dist/components/Autocomplete/Autocomplete.js +15 -17
  8. package/dist/components/Autocomplete/components/List/List.js +7 -7
  9. package/dist/components/Breadcrumb/Breadcrumb.js +68 -69
  10. package/dist/components/Breadcrumb/Breadcrumb.variants.js +16 -17
  11. package/dist/components/Breadcrumb/components/Item/Item.js +61 -0
  12. package/dist/components/Breadcrumb/components/Item/Item.variants.js +90 -0
  13. package/dist/components/Breadcrumb/components/index.js +4 -0
  14. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +2 -3
  15. package/dist/components/Button/Button.js +14 -16
  16. package/dist/components/Card/Card.js +10 -12
  17. package/dist/components/Checkbox/Checkbox.js +13 -15
  18. package/dist/components/Dropdown/Dropdown.js +4 -6
  19. package/dist/components/Dropdown/components/List/List.js +9 -10
  20. package/dist/components/Dropdown/components/ListItem/ListItem.js +20 -21
  21. package/dist/components/Dropdown/components/Wrapper.js +31 -34
  22. package/dist/components/Dropdown/contexts/dropdown.provider.js +4 -4
  23. package/dist/components/Dropdown/hooks/useDropdown.js +12 -14
  24. package/dist/components/Dropdown/hooks/useNavigationList.js +8 -10
  25. package/dist/components/Input/Input.js +12 -14
  26. package/dist/components/Modal/Modal.js +3 -3
  27. package/dist/components/Modal/components/Wrapper/Wrapper.js +7 -9
  28. package/dist/components/Modal/components/index.js +1 -1
  29. package/dist/components/Modal/contexts/Modal.provider.js +4 -4
  30. package/dist/components/NumberInput/NumberInput.js +9 -11
  31. package/dist/components/ProgressBar/ProgressBar.js +13 -16
  32. package/dist/components/Radio/Radio.js +55 -37
  33. package/dist/components/Radio/Radio.variants.js +69 -16
  34. package/dist/components/RadioCard/RadioCard.js +41 -0
  35. package/dist/components/RadioCard/RadioCard.variants.js +19 -0
  36. package/dist/components/RadioCardGroup/RadioCardGroup.js +47 -0
  37. package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +21 -0
  38. package/dist/components/RadioGroup/RadioGroup.js +37 -27
  39. package/dist/components/RadioGroup/RadioGroup.variants.js +21 -0
  40. package/dist/components/Range/Range.js +20 -22
  41. package/dist/components/Sidebar/Sidebar.js +20 -22
  42. package/dist/components/Sidebar/Sidebar.variants.js +5 -4
  43. package/dist/components/Sidebar/components/Footer/Footer.js +9 -12
  44. package/dist/components/Sidebar/components/Logo/Logo.js +9 -12
  45. package/dist/components/Sidebar/components/Navigation/Navigation.js +12 -15
  46. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +24 -26
  47. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +21 -18
  48. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +25 -12
  49. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +8 -11
  50. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +11 -13
  51. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +40 -37
  52. package/dist/components/Slider/Slider.js +18 -20
  53. package/dist/components/Switch/Switch.js +19 -21
  54. package/dist/components/TagSelect/TagSelect.js +19 -21
  55. package/dist/components/TextArea/TextArea.js +17 -19
  56. package/dist/components/Toast/Toast.js +52 -54
  57. package/dist/components/Tooltip/Tooltip.js +10 -12
  58. package/dist/components/index.js +50 -44
  59. package/dist/contexts/theme.provider.js +84 -14
  60. package/dist/{index-BaNV0qac.js → index-1GLoikpT.js} +6555 -6585
  61. package/dist/{AlertDialogTrigger-D4Tm_9M0.js → index-BVppSRDQ.js} +19 -21
  62. package/dist/{index-D68N8v8R.js → index-C5psggHV.js} +17 -17
  63. package/dist/{index-z-AJyzdv.js → index-CJsYodgi.js} +10 -10
  64. package/dist/{index-BedjZUuB.js → index-CoqDsznq.js} +1 -1
  65. package/dist/{index-BtibbG81.js → index-KEdwcThH.js} +1 -1
  66. package/dist/index.d.ts +522 -4
  67. package/dist/index.js +59 -53
  68. package/dist/package.json +1 -1
  69. package/dist/plugins/konstruct.js +3 -3
  70. package/dist/styles.css +1 -1
  71. package/dist/styles.js +1 -1
  72. package/dist/useBreadcrumb-CojbXFVD.js +1279 -0
  73. package/dist/{x-CRBgmX1Q.js → x-DU-Zw-L_.js} +1 -1
  74. package/package.json +1 -1
  75. package/dist/components/AlertDialog/AlertDialog.d.ts +0 -3
  76. package/dist/components/AlertDialog/AlertDialog.types.d.ts +0 -18
  77. package/dist/components/AlertDialog/AlertDialog.types.js +0 -1
  78. package/dist/components/AlertDialog/AlertDialog.variants.d.ts +0 -3
  79. package/dist/components/AlertDialog/components/AlertDialogTrigger.d.ts +0 -3
  80. package/dist/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +0 -6
  81. package/dist/components/AlertDialog/components/AlertDialogTrigger.types.js +0 -1
  82. package/dist/components/AlertDialog/components/index.d.ts +0 -1
  83. package/dist/components/AlertDialog/hooks/index.d.ts +0 -1
  84. package/dist/components/AlertDialog/hooks/useAlertDialog.d.ts +0 -7
  85. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -3
  86. package/dist/components/Autocomplete/Autocomplete.types.d.ts +0 -18
  87. package/dist/components/Autocomplete/Autocomplete.types.js +0 -1
  88. package/dist/components/Autocomplete/Autocomplete.variants.d.ts +0 -8
  89. package/dist/components/Autocomplete/components/List/List.d.ts +0 -3
  90. package/dist/components/Autocomplete/components/List/List.types.d.ts +0 -13
  91. package/dist/components/Autocomplete/components/List/List.types.js +0 -1
  92. package/dist/components/Autocomplete/components/List/List.variants.d.ts +0 -16
  93. package/dist/components/Autocomplete/components/index.d.ts +0 -1
  94. package/dist/components/Autocomplete/hooks/index.d.ts +0 -2
  95. package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +0 -17
  96. package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +0 -10
  97. package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -3
  98. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -11
  99. package/dist/components/Breadcrumb/Breadcrumb.types.js +0 -1
  100. package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +0 -12
  101. package/dist/components/Breadcrumb/hooks/useBreadcrumb.d.ts +0 -3
  102. package/dist/components/Button/Button.d.ts +0 -4
  103. package/dist/components/Button/Button.types.d.ts +0 -7
  104. package/dist/components/Button/Button.types.js +0 -1
  105. package/dist/components/Button/Button.variants.d.ts +0 -7
  106. package/dist/components/Card/Card.d.ts +0 -4
  107. package/dist/components/Card/Card.types.d.ts +0 -8
  108. package/dist/components/Card/Card.types.js +0 -1
  109. package/dist/components/Card/Card.variants.d.ts +0 -10
  110. package/dist/components/Checkbox/Checkbox.d.ts +0 -3
  111. package/dist/components/Checkbox/Checkbox.types.d.ts +0 -14
  112. package/dist/components/Checkbox/Checkbox.types.js +0 -1
  113. package/dist/components/Checkbox/Checkbox.variants.d.ts +0 -9
  114. package/dist/components/Dropdown/Dropdown.d.ts +0 -3
  115. package/dist/components/Dropdown/Dropdown.types.d.ts +0 -16
  116. package/dist/components/Dropdown/Dropdown.types.js +0 -1
  117. package/dist/components/Dropdown/Dropdown.variants.d.ts +0 -3
  118. package/dist/components/Dropdown/components/EmptyList.d.ts +0 -2
  119. package/dist/components/Dropdown/components/List/List.d.ts +0 -3
  120. package/dist/components/Dropdown/components/List/List.types.d.ts +0 -6
  121. package/dist/components/Dropdown/components/List/List.types.js +0 -1
  122. package/dist/components/Dropdown/components/List/List.variants.d.ts +0 -3
  123. package/dist/components/Dropdown/components/ListItem/ListItem.d.ts +0 -3
  124. package/dist/components/Dropdown/components/ListItem/ListItem.types.d.ts +0 -4
  125. package/dist/components/Dropdown/components/ListItem/ListItem.types.js +0 -1
  126. package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +0 -3
  127. package/dist/components/Dropdown/components/Wrapper.d.ts +0 -3
  128. package/dist/components/Dropdown/components/index.d.ts +0 -3
  129. package/dist/components/Dropdown/contexts/dropdown.context.d.ts +0 -8
  130. package/dist/components/Dropdown/contexts/dropdown.hook.d.ts +0 -2
  131. package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +0 -5
  132. package/dist/components/Dropdown/contexts/index.d.ts +0 -2
  133. package/dist/components/Dropdown/hooks/useDropdown.d.ts +0 -11
  134. package/dist/components/Dropdown/hooks/useNavigationList.d.ts +0 -8
  135. package/dist/components/Input/Input.d.ts +0 -3
  136. package/dist/components/Input/Input.types.d.ts +0 -9
  137. package/dist/components/Input/Input.types.js +0 -1
  138. package/dist/components/Input/Input.variants.d.ts +0 -4
  139. package/dist/components/Modal/Modal.d.ts +0 -8
  140. package/dist/components/Modal/Modal.types.d.ts +0 -12
  141. package/dist/components/Modal/Modal.types.js +0 -1
  142. package/dist/components/Modal/components/Body/Body.d.ts +0 -3
  143. package/dist/components/Modal/components/Body/Body.types.d.ts +0 -5
  144. package/dist/components/Modal/components/Body/Body.types.js +0 -1
  145. package/dist/components/Modal/components/Footer/Footer.d.ts +0 -3
  146. package/dist/components/Modal/components/Footer/Footer.types.d.ts +0 -5
  147. package/dist/components/Modal/components/Footer/Footer.types.js +0 -1
  148. package/dist/components/Modal/components/Header/Header.d.ts +0 -3
  149. package/dist/components/Modal/components/Header/Header.types.d.ts +0 -5
  150. package/dist/components/Modal/components/Header/Header.types.js +0 -1
  151. package/dist/components/Modal/components/Wrapper/Wrapper.d.ts +0 -3
  152. package/dist/components/Modal/components/Wrapper/Wrapper.types.d.ts +0 -7
  153. package/dist/components/Modal/components/Wrapper/Wrapper.types.js +0 -1
  154. package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +0 -6
  155. package/dist/components/Modal/components/index.d.ts +0 -4
  156. package/dist/components/Modal/contexts/Modal.context.d.ts +0 -2
  157. package/dist/components/Modal/contexts/Modal.provider.d.ts +0 -4
  158. package/dist/components/Modal/contexts/Modal.types.d.ts +0 -9
  159. package/dist/components/Modal/contexts/Modal.types.js +0 -1
  160. package/dist/components/Modal/contexts/index.d.ts +0 -1
  161. package/dist/components/Modal/hooks/index.d.ts +0 -1
  162. package/dist/components/Modal/hooks/useModal.d.ts +0 -9
  163. package/dist/components/NumberInput/NumberInput.d.ts +0 -3
  164. package/dist/components/NumberInput/NumberInput.types.d.ts +0 -11
  165. package/dist/components/NumberInput/NumberInput.types.js +0 -1
  166. package/dist/components/NumberInput/NumberInput.variants.d.ts +0 -11
  167. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -3
  168. package/dist/components/ProgressBar/ProgressBar.types.d.ts +0 -8
  169. package/dist/components/ProgressBar/ProgressBar.types.js +0 -1
  170. package/dist/components/ProgressBar/ProgressBar.variants.d.ts +0 -7
  171. package/dist/components/Radio/Radio.d.ts +0 -3
  172. package/dist/components/Radio/Radio.types.d.ts +0 -12
  173. package/dist/components/Radio/Radio.types.js +0 -1
  174. package/dist/components/Radio/Radio.variants.d.ts +0 -3
  175. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -3
  176. package/dist/components/RadioGroup/RadioGroup.types.d.ts +0 -12
  177. package/dist/components/RadioGroup/RadioGroup.types.js +0 -1
  178. package/dist/components/Range/Range.d.ts +0 -3
  179. package/dist/components/Range/Range.types.d.ts +0 -13
  180. package/dist/components/Range/Range.types.js +0 -1
  181. package/dist/components/Range/Range.variants.d.ts +0 -14
  182. package/dist/components/Sidebar/Sidebar.d.ts +0 -5
  183. package/dist/components/Sidebar/Sidebar.types.d.ts +0 -17
  184. package/dist/components/Sidebar/Sidebar.types.js +0 -1
  185. package/dist/components/Sidebar/Sidebar.variants.d.ts +0 -6
  186. package/dist/components/Sidebar/components/Footer/Footer.d.ts +0 -3
  187. package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +0 -6
  188. package/dist/components/Sidebar/components/Footer/Footer.types.js +0 -1
  189. package/dist/components/Sidebar/components/Footer/Footer.variants.d.ts +0 -3
  190. package/dist/components/Sidebar/components/Logo/Logo.d.ts +0 -3
  191. package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +0 -6
  192. package/dist/components/Sidebar/components/Logo/Logo.types.js +0 -1
  193. package/dist/components/Sidebar/components/Logo/Logo.variants.d.ts +0 -3
  194. package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +0 -4
  195. package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +0 -16
  196. package/dist/components/Sidebar/components/Navigation/Navigation.types.js +0 -1
  197. package/dist/components/Sidebar/components/Navigation/Navigation.variants.d.ts +0 -3
  198. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +0 -3
  199. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +0 -7
  200. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.js +0 -1
  201. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +0 -3
  202. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +0 -3
  203. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +0 -15
  204. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.js +0 -1
  205. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +0 -3
  206. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +0 -3
  207. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +0 -5
  208. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.js +0 -1
  209. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +0 -3
  210. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +0 -3
  211. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +0 -7
  212. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.js +0 -1
  213. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +0 -3
  214. package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +0 -3
  215. package/dist/components/Sidebar/components/index.d.ts +0 -15
  216. package/dist/components/Slider/Slider.d.ts +0 -3
  217. package/dist/components/Slider/Slider.types.d.ts +0 -13
  218. package/dist/components/Slider/Slider.types.js +0 -1
  219. package/dist/components/Slider/Slider.variants.d.ts +0 -11
  220. package/dist/components/Switch/Switch.d.ts +0 -3
  221. package/dist/components/Switch/Switch.types.d.ts +0 -10
  222. package/dist/components/Switch/Switch.types.js +0 -1
  223. package/dist/components/Switch/Switch.variants.d.ts +0 -6
  224. package/dist/components/Tag/Tag.d.ts +0 -3
  225. package/dist/components/Tag/Tag.types.d.ts +0 -4
  226. package/dist/components/Tag/Tag.types.js +0 -1
  227. package/dist/components/Tag/Tag.variants.d.ts +0 -3
  228. package/dist/components/TagSelect/TagSelect.d.ts +0 -3
  229. package/dist/components/TagSelect/TagSelect.types.d.ts +0 -9
  230. package/dist/components/TagSelect/TagSelect.types.js +0 -1
  231. package/dist/components/TagSelect/TagSelect.variants.d.ts +0 -9
  232. package/dist/components/TagSelect/hooks/useTagSelect.d.ts +0 -9
  233. package/dist/components/TextArea/TextArea.d.ts +0 -3
  234. package/dist/components/TextArea/TextArea.types.d.ts +0 -10
  235. package/dist/components/TextArea/TextArea.types.js +0 -1
  236. package/dist/components/TextArea/TextArea.variants.d.ts +0 -3
  237. package/dist/components/Toast/Toast.d.ts +0 -3
  238. package/dist/components/Toast/Toast.types.d.ts +0 -12
  239. package/dist/components/Toast/Toast.types.js +0 -1
  240. package/dist/components/Toast/Toast.variants.d.ts +0 -9
  241. package/dist/components/Tooltip/Tooltip.d.ts +0 -3
  242. package/dist/components/Tooltip/Tooltip.types.d.ts +0 -8
  243. package/dist/components/Tooltip/Tooltip.types.js +0 -1
  244. package/dist/components/Tooltip/Tooltip.variants.d.ts +0 -8
  245. package/dist/components/Tooltip/hooks/useTooltip.d.ts +0 -4
  246. package/dist/components/index.d.ts +0 -21
  247. package/dist/contexts/index.d.ts +0 -3
  248. package/dist/contexts/theme.context.d.ts +0 -6
  249. package/dist/contexts/theme.hook.d.ts +0 -7
  250. package/dist/contexts/theme.provider.d.ts +0 -6
  251. package/dist/hooks/index.d.ts +0 -1
  252. package/dist/hooks/useToggle.d.ts +0 -1
  253. package/dist/js.cookie-OLEfuq_g.js +0 -74
  254. package/dist/plugins/index.d.ts +0 -1
  255. package/dist/plugins/konstruct.d.ts +0 -4
  256. package/dist/plugins/utils/colors.d.ts +0 -328
  257. package/dist/styles.d.ts +0 -0
  258. package/dist/useBreadcrumb-DxYsZvj_.js +0 -1398
  259. package/dist/utils/index.d.ts +0 -4
package/dist/index.d.ts CHANGED
@@ -1,4 +1,522 @@
1
- export * from './components';
2
- export * from './contexts';
3
- export * from './hooks';
4
- export * from './plugins';
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ import { ClassProp } from 'class-variance-authority/types';
3
+ import { Config } from 'tailwindcss/types/config';
4
+ import { Context } from 'react';
5
+ import { FC } from 'react';
6
+ import { ForwardRefExoticComponent } from 'react';
7
+ import { HTMLAttributes } from 'react';
8
+ import { HtmlHTMLAttributes } from 'react';
9
+ import { InputHTMLAttributes } from 'react';
10
+ import { PluginCreator } from 'tailwindcss/types/config';
11
+ import { PropsWithChildren } from 'react';
12
+ import { ReactNode } from 'react';
13
+ import { RefAttributes } from 'react';
14
+ import { SliderProps } from '@radix-ui/react-slider';
15
+ import { VariantProps } from 'class-variance-authority';
16
+
17
+ export declare const AlertDialog: FC<AlertDialogProps>;
18
+
19
+ declare interface AlertDialogProps extends PropsWithChildren, VariantProps<typeof buttonAlertDialogVariants> {
20
+ buttonCancelClassName?: string;
21
+ buttonCancelText?: string;
22
+ buttonConfirmClassName?: string;
23
+ buttonConfirmText?: string;
24
+ buttonText?: string;
25
+ className?: string;
26
+ description?: string;
27
+ o?: string;
28
+ title?: string;
29
+ onConfirm?: () => void;
30
+ }
31
+
32
+ export declare const Autocomplete: ForwardRefExoticComponent<AutocompleteProps & RefAttributes<HTMLInputElement>>;
33
+
34
+ declare interface AutocompleteProps extends VariantProps<typeof autocompleteVariants> {
35
+ autoComplete?: 'off';
36
+ className?: string;
37
+ label?: string;
38
+ labelClassName?: string;
39
+ name?: string;
40
+ options: Option_2[];
41
+ placeHolderEmptyValues?: string | ReactNode;
42
+ placeHolderEmptyValuesClassName?: string;
43
+ placeholder?: string;
44
+ onChange(value: string): void;
45
+ }
46
+
47
+ declare const autocompleteVariants: (props?: ({
48
+ variant?: "default" | null | undefined;
49
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
50
+ } & ClassProp) | undefined) => string;
51
+
52
+ export declare const Breadcrumb: FC<BreadcrumbProps>;
53
+
54
+ declare interface BreadcrumbProps extends VariantProps<typeof breadcrumbVariants>, HTMLAttributes<HTMLOListElement> {
55
+ steps: Step[];
56
+ wrapperClassName?: string;
57
+ }
58
+
59
+ declare const breadcrumbVariants: (props?: ({
60
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
61
+ size?: "base" | "sm" | "lg" | "xl" | null | undefined;
62
+ } & ClassProp) | undefined) => string;
63
+
64
+ export declare const Button: FC<ButtonProps>;
65
+
66
+ declare const buttonAlertDialogVariants: (props?: ({
67
+ theme?: "kubefirst" | "colony" | null | undefined;
68
+ } & ClassProp) | undefined) => string;
69
+
70
+ declare interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof buttonVariants> {
71
+ asChild?: boolean;
72
+ disabled?: boolean;
73
+ }
74
+
75
+ declare const buttonVariants: (props?: ({
76
+ variant?: "primary" | "secondary" | "danger" | "text" | "circle" | null | undefined;
77
+ version?: "default" | "alternate" | null | undefined;
78
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
79
+ disabled?: boolean | null | undefined;
80
+ size?: "medium" | "large" | null | undefined;
81
+ } & ClassProp) | undefined) => string;
82
+
83
+ export declare const Card: FC<CardProps>;
84
+
85
+ declare interface CardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants>, PropsWithChildren {
86
+ isActive?: boolean;
87
+ canHover?: boolean;
88
+ wrapperClassName?: string;
89
+ }
90
+
91
+ declare const cardVariants: (props?: ({
92
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
93
+ isActive?: boolean | null | undefined;
94
+ canHover?: boolean | null | undefined;
95
+ } & ClassProp) | undefined) => string;
96
+
97
+ export declare const Checkbox: FC<CheckboxProps>;
98
+
99
+ declare interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'checked'>, VariantProps<typeof checkboxVariants> {
100
+ ariaLabelledBy?: string;
101
+ className?: string;
102
+ defaultChecked?: boolean;
103
+ disabled?: boolean;
104
+ id?: string;
105
+ label?: string;
106
+ labelClassName?: string;
107
+ name?: string;
108
+ onChange?: () => void;
109
+ }
110
+
111
+ declare const checkboxVariants: (props?: ({
112
+ variant?: "default" | null | undefined;
113
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
114
+ checked?: boolean | null | undefined;
115
+ } & ClassProp) | undefined) => string;
116
+
117
+ export declare const Dropdown: FC<DropdownProps>;
118
+
119
+ declare interface DropdownProps extends VariantProps<typeof dropdownVariants> {
120
+ defaultValue?: string;
121
+ label?: string;
122
+ name?: string;
123
+ options: Option_3[];
124
+ placeholder?: string;
125
+ onChange?: (value: Option_3) => void;
126
+ }
127
+
128
+ declare const dropdownVariants: (props?: ({
129
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
130
+ } & ClassProp) | undefined) => string;
131
+
132
+ export declare const Footer: FC<FooterProps>;
133
+
134
+ declare interface FooterProps extends PropsWithChildren, VariantProps<typeof footerVariants> {
135
+ className?: string;
136
+ }
137
+
138
+ declare const footerVariants: (props?: ({
139
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
140
+ } & ClassProp) | undefined) => string;
141
+
142
+ export declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
143
+
144
+ declare interface InputProps extends InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
145
+ label?: string;
146
+ labelClassName?: string;
147
+ error?: string;
148
+ onClickIcon?: () => void;
149
+ }
150
+
151
+ declare const inputVariants: (props?: ({
152
+ variant?: "default" | "error" | null | undefined;
153
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
154
+ } & ClassProp) | undefined) => string;
155
+
156
+ export declare const konstructPlugin: {
157
+ handler: PluginCreator;
158
+ config?: Partial<Config>;
159
+ };
160
+
161
+ export declare const Logo: FC<LogoProps>;
162
+
163
+ declare interface LogoProps extends PropsWithChildren, VariantProps<typeof logoVariants> {
164
+ className?: string;
165
+ }
166
+
167
+ declare const logoVariants: (props?: ({
168
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
169
+ } & ClassProp) | undefined) => string;
170
+
171
+ export declare const Modal: FC<ModalProps> & {
172
+ Header: FC<ModalChildProps>;
173
+ Body: FC<ModalChildProps>;
174
+ Footer: FC<ModalChildProps>;
175
+ };
176
+
177
+ declare type ModalChildProps = {
178
+ children: ReactNode;
179
+ className?: string;
180
+ asChild?: boolean;
181
+ };
182
+
183
+ declare interface ModalProps extends PropsWithChildren, VariantProps<typeof modalVariants> {
184
+ className?: string;
185
+ buttonCloseClassName?: string;
186
+ }
187
+
188
+ declare const modalVariants: (props?: ({
189
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
190
+ } & ClassProp) | undefined) => string;
191
+
192
+ export declare const Navigation: FC<NavigationProps> & NavigationChildrenProps;
193
+
194
+ declare type NavigationChildrenProps = {
195
+ NavigationGroup: FC<NavigationGroupProps>;
196
+ NavigationOption: FC<NavigationOptionProps>;
197
+ NavigationSeparator: FC<NavigationSeparatorProps>;
198
+ NavigationTitle: FC<NavigationTitleProps>;
199
+ };
200
+
201
+ export declare const NavigationGroup: FC<NavigationGroupProps>;
202
+
203
+ declare interface NavigationGroupProps extends PropsWithChildren, VariantProps<typeof navigationGroupsVariants>, Pick<HtmlHTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
204
+ title?: string;
205
+ titleClassName?: string;
206
+ isVisible?: boolean;
207
+ }
208
+
209
+ declare const navigationGroupsVariants: (props?: ({
210
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
211
+ } & ClassProp) | undefined) => string;
212
+
213
+ export declare const NavigationOption: FC<NavigationOptionProps>;
214
+
215
+ declare type NavigationOption_2 = VariantProps<typeof navigationOptionVariants> & {
216
+ className?: string;
217
+ isVisible?: boolean;
218
+ isActive?: boolean;
219
+ };
220
+
221
+ declare type NavigationOptionProps = NavigationOption_2 & ({
222
+ role: 'button';
223
+ children: ReactNode;
224
+ onClick: VoidFunction;
225
+ } | {
226
+ role?: never;
227
+ children: ReactNode;
228
+ });
229
+
230
+ declare const navigationOptionVariants: (props?: ({
231
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
232
+ isActive?: boolean | null | undefined;
233
+ } & ClassProp) | undefined) => string;
234
+
235
+ declare interface NavigationProps extends PropsWithChildren, VariantProps<typeof navigationVariants> {
236
+ className?: string;
237
+ }
238
+
239
+ export declare const NavigationSeparator: FC<NavigationSeparatorProps>;
240
+
241
+ declare interface NavigationSeparatorProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>, VariantProps<typeof navigationSeparatorVariant> {
242
+ }
243
+
244
+ declare const navigationSeparatorVariant: (props?: ({
245
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
246
+ } & ClassProp) | undefined) => string;
247
+
248
+ declare interface NavigationTitleProps extends VariantProps<typeof navigationTitleVariants>, Pick<HtmlHTMLAttributes<HTMLHeadingElement>, 'className'> {
249
+ title: string;
250
+ className?: string;
251
+ isVisible?: boolean;
252
+ }
253
+
254
+ declare const navigationTitleVariants: (props?: ({
255
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
256
+ } & ClassProp) | undefined) => string;
257
+
258
+ declare const navigationVariants: (props?: ({
259
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
260
+ } & ClassProp) | undefined) => string;
261
+
262
+ export declare const NumberInput: FC<NumberInputProps>;
263
+
264
+ declare interface NumberInputProps extends VariantProps<typeof numberInputVariants> {
265
+ className?: string;
266
+ init?: number;
267
+ label?: string;
268
+ max?: number;
269
+ min?: number;
270
+ name?: string;
271
+ onChange?: (value: number) => void;
272
+ }
273
+
274
+ declare const numberInputVariants: (props?: ({
275
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
276
+ } & ClassProp) | undefined) => string;
277
+
278
+ declare type Option_2 = {
279
+ value: string;
280
+ };
281
+
282
+ declare type Option_3 = {
283
+ label: string | ReactNode;
284
+ leftIcon?: ReactNode | string;
285
+ value: string;
286
+ };
287
+
288
+ export declare const ProgressBar: FC<ProgressBarProps>;
289
+
290
+ declare interface ProgressBarProps extends VariantProps<typeof progressBarVariants> {
291
+ className?: string;
292
+ label?: string;
293
+ percent: number;
294
+ status?: 'success' | 'progress';
295
+ }
296
+
297
+ declare const progressBarVariants: (props?: ({
298
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
299
+ } & ClassProp) | undefined) => string;
300
+
301
+ export declare const Radio: FC<RadioProps>;
302
+
303
+ export declare const RadioCard: FC<RadioCardProps>;
304
+
305
+ export declare const RadioCardGroup: FC<RadioCardGroupProps>;
306
+
307
+ declare type RadioCardGroupProps = {
308
+ asChild?: boolean;
309
+ className?: string;
310
+ defaultChecked?: string;
311
+ direction?: 'row' | 'col';
312
+ name: string;
313
+ options: Omit<RadioCardProps, 'name' | 'checked' | 'defaultChecked'>[];
314
+ theme?: RadioCardProps['theme'];
315
+ wrapperClassName?: string;
316
+ onValueChange?: (value: string) => void;
317
+ };
318
+
319
+ declare type RadioCardProps = Omit<CardProps, 'canHover' | 'isActive'> & Pick<RadioProps, 'name' | 'value' | 'checked' | 'onChange' | 'label' | 'disabled' | 'defaultChecked' | 'labelTextClassName'> & {
320
+ labelWrapperClassName?: string;
321
+ };
322
+
323
+ export declare const RadioGroup: FC<RadioGroupProps>;
324
+
325
+ declare interface RadioGroupProps {
326
+ asChild?: boolean;
327
+ className?: RadioProps['className'];
328
+ defaultChecked?: string;
329
+ direction?: 'row' | 'col';
330
+ label?: string | ReactNode;
331
+ name: string;
332
+ options: Omit<RadioProps, 'name' | 'checked' | 'defaultChecked'>[];
333
+ theme?: RadioProps['theme'];
334
+ wrapperClassName?: string;
335
+ onValueChange?: (value: string) => void;
336
+ }
337
+
338
+ declare interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'disabled'>, VariantProps<typeof radioVariants> {
339
+ checked?: boolean;
340
+ defaultChecked?: boolean;
341
+ disabled?: boolean;
342
+ label?: string | ReactNode;
343
+ labelTextClassName?: string;
344
+ name: string;
345
+ value: string;
346
+ wrapperClassName?: string;
347
+ onChange?: (value: string) => void;
348
+ }
349
+
350
+ declare const radioVariants: (props?: ({
351
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
352
+ disabled?: boolean | null | undefined;
353
+ checked?: boolean | null | undefined;
354
+ } & ClassProp) | undefined) => string;
355
+
356
+ declare const Range_2: FC<RangeProps>;
357
+ export { Range_2 as Range }
358
+
359
+ declare interface RangeProps extends VariantProps<typeof rangeVariants> {
360
+ className?: string;
361
+ defaultValue?: SliderProps['defaultValue'];
362
+ label?: string;
363
+ max?: SliderProps['max'];
364
+ min?: SliderProps['min'];
365
+ name?: string;
366
+ showValue?: boolean;
367
+ size?: 'sm' | 'md' | 'lg';
368
+ }
369
+
370
+ declare const rangeVariants: (props?: ({
371
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
372
+ } & ClassProp) | undefined) => string;
373
+
374
+ export declare const Sidebar: FC<SidebarProps> & SidebarChildrenProps;
375
+
376
+ declare type SidebarChildrenProps = {
377
+ Footer: FC<FooterProps>;
378
+ Logo: FC<LogoProps>;
379
+ Navigation: FC<NavigationProps>;
380
+ NavigationGroup: FC<NavigationGroupProps>;
381
+ NavigationOption: FC<NavigationOptionProps>;
382
+ NavigationSeparator: FC<NavigationSeparatorProps>;
383
+ };
384
+
385
+ declare interface SidebarProps extends VariantProps<typeof wrapperSiderbarVariants>, PropsWithChildren {
386
+ wrapperClassName?: string;
387
+ minWith?: number;
388
+ maxWith?: number;
389
+ canResize?: boolean;
390
+ }
391
+
392
+ export declare const Slider: FC<SliderProps_2>;
393
+
394
+ declare interface SliderProps_2 extends VariantProps<typeof sliderVariants> {
395
+ className?: string;
396
+ defaultValue?: SliderProps['defaultValue'];
397
+ label?: string;
398
+ max?: SliderProps['max'];
399
+ min?: SliderProps['min'];
400
+ name?: string;
401
+ showValue?: boolean;
402
+ size?: 'sm' | 'md' | 'lg';
403
+ }
404
+
405
+ declare const sliderVariants: (props?: ({
406
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
407
+ } & ClassProp) | undefined) => string;
408
+
409
+ declare type Step = {
410
+ label: string;
411
+ to?: string;
412
+ target?: '_self' | '_blank';
413
+ isActive?: boolean;
414
+ };
415
+
416
+ export declare const Switch: FC<SwitchProps>;
417
+
418
+ declare interface SwitchProps extends VariantProps<typeof switchVariants> {
419
+ alignment?: 'horizontal' | 'vertical';
420
+ className?: string;
421
+ defaultChecked?: boolean;
422
+ label?: string;
423
+ name?: string;
424
+ thumbClassName?: string;
425
+ }
426
+
427
+ declare const switchVariants: (props?: ({
428
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
429
+ } & ClassProp) | undefined) => string;
430
+
431
+ export declare const Tag: FC<TagProps>;
432
+
433
+ declare type TagProps = {
434
+ label: string;
435
+ color?: 'gray' | 'cyan' | 'gold' | 'green' | 'light blue' | 'lime' | 'pink' | 'purple' | 'emerald' | 'fuscia' | 'indigo' | 'light-orange' | 'dark-sky-blue' | 'mistery';
436
+ };
437
+
438
+ export declare const TagSelect: FC<TagSelectProps>;
439
+
440
+ declare interface TagSelectProps extends VariantProps<typeof tagSelectVariants> {
441
+ label?: string;
442
+ options: TagProps[];
443
+ name?: string;
444
+ placeholder?: string;
445
+ }
446
+
447
+ declare const tagSelectVariants: (props?: ({
448
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
449
+ } & ClassProp) | undefined) => string;
450
+
451
+ export declare const TextArea: FC<TextAreaProps>;
452
+
453
+ declare interface TextAreaProps extends InputHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
454
+ rows?: number;
455
+ label?: string;
456
+ name?: string;
457
+ initialValue?: string;
458
+ onChange?: () => void;
459
+ }
460
+
461
+ declare const textAreaVariants: (props?: ({
462
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
463
+ } & ClassProp) | undefined) => string;
464
+
465
+ export declare type Theme = 'kubefirst' | 'colony' | 'civo' | undefined;
466
+
467
+ export declare const ThemeContext: Context<ThemeContextType>;
468
+
469
+ export declare type ThemeContextProps = PropsWithChildren & {
470
+ theme?: ThemeContextType['theme'];
471
+ };
472
+
473
+ export declare type ThemeContextType = {
474
+ theme: Theme;
475
+ setTheme: (theme: Theme) => void;
476
+ };
477
+
478
+ declare type ThemeProps = {
479
+ theme?: Theme;
480
+ setTheme?: (theme: Theme) => void;
481
+ };
482
+
483
+ export declare const ThemeProvider: FC<ThemeContextProps>;
484
+
485
+ export declare const Toast: FC<ToastProps>;
486
+
487
+ declare interface ToastProps extends PropsWithChildren, VariantProps<typeof toastVariants> {
488
+ className?: string;
489
+ description: string | ReactNode;
490
+ descriptionClassName?: string;
491
+ duration?: number;
492
+ showCloseButton?: boolean;
493
+ title: string | ReactNode;
494
+ titleClassName?: string;
495
+ }
496
+
497
+ declare const toastVariants: (props?: ({
498
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
499
+ } & ClassProp) | undefined) => string;
500
+
501
+ export declare const Tooltip: FC<TooltipProps>;
502
+
503
+ declare interface TooltipProps extends PropsWithChildren, VariantProps<typeof tooltipVariants> {
504
+ content: ReactNode | string;
505
+ className?: string;
506
+ wrapperClassName?: string;
507
+ }
508
+
509
+ declare const tooltipVariants: (props?: ({
510
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
511
+ position?: "left" | "right" | "top" | "bottom" | null | undefined;
512
+ } & ClassProp) | undefined) => string;
513
+
514
+ export declare const useTheme: () => ThemeProps;
515
+
516
+ export declare const useToggle: (initialState?: boolean) => [boolean, (value?: boolean) => void];
517
+
518
+ declare const wrapperSiderbarVariants: (props?: ({
519
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
520
+ } & ClassProp) | undefined) => string;
521
+
522
+ export { }
package/dist/index.js CHANGED
@@ -2,65 +2,71 @@ import { AlertDialog as e } from "./components/AlertDialog/AlertDialog.js";
2
2
  import { Autocomplete as p } from "./components/Autocomplete/Autocomplete.js";
3
3
  import { Breadcrumb as x } from "./components/Breadcrumb/Breadcrumb.js";
4
4
  import { Button as a } from "./components/Button/Button.js";
5
- import { Card as g } from "./components/Card/Card.js";
6
- import { Checkbox as u } from "./components/Checkbox/Checkbox.js";
7
- import { Dropdown as T } from "./components/Dropdown/Dropdown.js";
5
+ import { Card as d } from "./components/Card/Card.js";
6
+ import { Checkbox as n } from "./components/Checkbox/Checkbox.js";
7
+ import { Dropdown as l } from "./components/Dropdown/Dropdown.js";
8
8
  import { Input as s } from "./components/Input/Input.js";
9
- import { M as h } from "./Modal-L73dmnHv.js";
10
- import { NumberInput as N } from "./components/NumberInput/NumberInput.js";
11
- import { ProgressBar as b } from "./components/ProgressBar/ProgressBar.js";
12
- import { Radio as B } from "./components/Radio/Radio.js";
13
- import { Range as P } from "./components/Range/Range.js";
14
- import { Sidebar as w } from "./components/Sidebar/Sidebar.js";
15
- import { Slider as I } from "./components/Slider/Slider.js";
16
- import { Switch as R } from "./components/Switch/Switch.js";
17
- import { Tag as G } from "./components/Tag/Tag.js";
18
- import { TagSelect as O } from "./components/TagSelect/TagSelect.js";
19
- import { TextArea as q } from "./components/TextArea/TextArea.js";
20
- import { Toast as z } from "./components/Toast/Toast.js";
21
- import { Tooltip as H } from "./components/Tooltip/Tooltip.js";
22
- import { ThemeContext as K } from "./contexts/theme.context.js";
23
- import { useTheme as U } from "./contexts/theme.hook.js";
24
- import { ThemeProvider as W } from "./contexts/theme.provider.js";
25
- import { useToggle as Y } from "./hooks/useToggle.js";
26
- import { konstructPlugin as _ } from "./plugins/konstruct.js";
27
- import { Footer as oo } from "./components/Sidebar/components/Footer/Footer.js";
28
- import { Logo as eo } from "./components/Sidebar/components/Logo/Logo.js";
29
- import { Navigation as po } from "./components/Sidebar/components/Navigation/Navigation.js";
30
- import { NavigationGroup as xo } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
31
- import { NavigationOption as ao } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
32
- import { NavigationSeparator as go } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
9
+ import { M as h } from "./Modal-W2GbkC_F.js";
10
+ import { NumberInput as C } from "./components/NumberInput/NumberInput.js";
11
+ import { ProgressBar as R } from "./components/ProgressBar/ProgressBar.js";
12
+ import { Radio as b } from "./components/Radio/Radio.js";
13
+ import { RadioCard as B } from "./components/RadioCard/RadioCard.js";
14
+ import { RadioCardGroup as P } from "./components/RadioCardGroup/RadioCardGroup.js";
15
+ import { RadioGroup as w } from "./components/RadioGroup/RadioGroup.js";
16
+ import { Range as I } from "./components/Range/Range.js";
17
+ import { Footer as F } from "./components/Sidebar/components/Footer/Footer.js";
18
+ import { Logo as O } from "./components/Sidebar/components/Logo/Logo.js";
19
+ import { Navigation as q } from "./components/Sidebar/components/Navigation/Navigation.js";
20
+ import { NavigationGroup as z } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
21
+ import { NavigationOption as H } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
22
+ import { NavigationSeparator as K } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
23
+ import { Sidebar as U } from "./components/Sidebar/Sidebar.js";
24
+ import { Slider as W } from "./components/Slider/Slider.js";
25
+ import { Switch as Y } from "./components/Switch/Switch.js";
26
+ import { Tag as _ } from "./components/Tag/Tag.js";
27
+ import { TagSelect as oo } from "./components/TagSelect/TagSelect.js";
28
+ import { TextArea as eo } from "./components/TextArea/TextArea.js";
29
+ import { Toast as po } from "./components/Toast/Toast.js";
30
+ import { Tooltip as xo } from "./components/Tooltip/Tooltip.js";
31
+ import { ThemeContext as ao } from "./contexts/theme.context.js";
32
+ import { useTheme as go } from "./contexts/theme.hook.js";
33
+ import { ThemeProvider as uo } from "./contexts/theme.provider.js";
34
+ import { useToggle as To } from "./hooks/useToggle.js";
35
+ import { konstructPlugin as co } from "./plugins/konstruct.js";
33
36
  export {
34
37
  e as AlertDialog,
35
38
  p as Autocomplete,
36
39
  x as Breadcrumb,
37
40
  a as Button,
38
- g as Card,
39
- u as Checkbox,
40
- T as Dropdown,
41
- oo as Footer,
41
+ d as Card,
42
+ n as Checkbox,
43
+ l as Dropdown,
44
+ F as Footer,
42
45
  s as Input,
43
- eo as Logo,
46
+ O as Logo,
44
47
  h as Modal,
45
- po as Navigation,
46
- xo as NavigationGroup,
47
- ao as NavigationOption,
48
- go as NavigationSeparator,
49
- N as NumberInput,
50
- b as ProgressBar,
51
- B as Radio,
52
- P as Range,
53
- w as Sidebar,
54
- I as Slider,
55
- R as Switch,
56
- G as Tag,
57
- O as TagSelect,
58
- q as TextArea,
59
- K as ThemeContext,
60
- W as ThemeProvider,
61
- z as Toast,
62
- H as Tooltip,
63
- _ as konstructPlugin,
64
- U as useTheme,
65
- Y as useToggle
48
+ q as Navigation,
49
+ z as NavigationGroup,
50
+ H as NavigationOption,
51
+ K as NavigationSeparator,
52
+ C as NumberInput,
53
+ R as ProgressBar,
54
+ b as Radio,
55
+ B as RadioCard,
56
+ P as RadioCardGroup,
57
+ w as RadioGroup,
58
+ I as Range,
59
+ U as Sidebar,
60
+ W as Slider,
61
+ Y as Switch,
62
+ _ as Tag,
63
+ oo as TagSelect,
64
+ eo as TextArea,
65
+ ao as ThemeContext,
66
+ uo as ThemeProvider,
67
+ po as Toast,
68
+ xo as Tooltip,
69
+ co as konstructPlugin,
70
+ go as useTheme,
71
+ To as useToggle
66
72
  };
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.0-1",
5
+ "version": "0.0.12-alpha.0",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",
@@ -41,7 +41,7 @@ function _() {
41
41
  return r;
42
42
  }
43
43
  });
44
- const n = /* @__PURE__ */ u(m());
44
+ const n = /* @__PURE__ */ u(/* @__PURE__ */ m());
45
45
  function u(t) {
46
46
  return t && t.__esModule ? t : {
47
47
  default: t
@@ -54,10 +54,10 @@ var c, f;
54
54
  function P() {
55
55
  if (f) return c;
56
56
  f = 1;
57
- let e = _();
57
+ let e = /* @__PURE__ */ _();
58
58
  return c = (e.__esModule ? e : { default: e }).default, c;
59
59
  }
60
- var v = P();
60
+ var v = /* @__PURE__ */ P();
61
61
  const b = /* @__PURE__ */ g(v), w = b(
62
62
  function({ addBase: e }) {
63
63
  e({