@vespiario-thailand/design-system 0.0.5 → 0.0.6

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 (210) hide show
  1. package/dist/index.d.ts +1 -38
  2. package/dist/src/components/NewComp/index.d.ts +7 -0
  3. package/dist/src/components/cms/BlockSuggestion/CardSuggestion.d.ts +12 -0
  4. package/dist/src/components/cms/BlockSuggestion/Navigation.d.ts +11 -0
  5. package/dist/src/components/cms/Breadcrumb/BreadcrumbItem.d.ts +5 -0
  6. package/dist/src/components/cms/Breadcrumb/BreadcrumbLink.d.ts +5 -0
  7. package/dist/src/components/cms/Breadcrumb/index.d.ts +12 -0
  8. package/dist/src/components/cms/TableButtonAddFilter/index.d.ts +5 -0
  9. package/dist/src/components/cms/TableButtonFilter/index.d.ts +11 -0
  10. package/dist/src/components/cms/TableLabelFiltered/index.d.ts +11 -0
  11. package/dist/src/components/cms/TableSorting/index.d.ts +14 -0
  12. package/dist/src/components/cms/TableTitle/index.d.ts +17 -0
  13. package/dist/src/components/generals/AlertBar/AlertBarAction.d.ts +5 -0
  14. package/dist/src/components/generals/AlertBar/AlertBarClose.d.ts +5 -0
  15. package/dist/src/components/generals/AlertBar/AlertBarText.d.ts +5 -0
  16. package/dist/src/components/generals/AlertBar/index.d.ts +25 -0
  17. package/dist/src/components/generals/Avatar/index.d.ts +7 -0
  18. package/dist/src/components/generals/Button/index.d.ts +24 -0
  19. package/dist/src/components/generals/ButtonCross/index.d.ts +12 -0
  20. package/dist/src/components/generals/Checkbox/index.d.ts +14 -0
  21. package/dist/src/components/generals/Chip/index.d.ts +10 -0
  22. package/dist/src/components/generals/ColorPicker/ColorPickerAction.d.ts +4 -0
  23. package/dist/src/components/generals/ColorPicker/ColorPickerApply.d.ts +5 -0
  24. package/dist/src/components/generals/ColorPicker/ColorPickerDiscard.d.ts +5 -0
  25. package/dist/src/components/generals/ColorPicker/ColorPickerImage.d.ts +11 -0
  26. package/dist/src/components/generals/ColorPicker/ColorPickerPalette.d.ts +8 -0
  27. package/dist/src/components/generals/ColorPicker/index.d.ts +34 -0
  28. package/dist/src/components/generals/Icon/index.d.ts +18 -0
  29. package/dist/src/components/generals/ImageInput/ImageInputActive.d.ts +4 -0
  30. package/dist/src/components/generals/ImageInput/ImageInputInactive.d.ts +13 -0
  31. package/dist/src/components/generals/ImageInput/index.d.ts +35 -0
  32. package/dist/src/components/generals/ImagePlaceholder/index.d.ts +18 -0
  33. package/dist/src/components/generals/ImagePreview/ImagePreviewError.d.ts +5 -0
  34. package/dist/src/components/generals/ImagePreview/ImagePreviewLoading.d.ts +5 -0
  35. package/dist/src/components/generals/ImagePreview/ImagePreviewOutput.d.ts +15 -0
  36. package/dist/src/components/generals/ImagePreview/index.d.ts +26 -0
  37. package/dist/src/components/generals/Logo/index.d.ts +12 -0
  38. package/dist/src/components/generals/MenuItem/index.d.ts +20 -0
  39. package/dist/src/components/generals/NumberSwitch/NumberSwitchButton.d.ts +10 -0
  40. package/dist/src/components/generals/NumberSwitch/NumberSwitchInput.d.ts +5 -0
  41. package/dist/src/components/generals/NumberSwitch/index.d.ts +23 -0
  42. package/dist/src/components/generals/Pagination/PaginationButton.d.ts +12 -0
  43. package/dist/src/components/generals/Pagination/PaginationInput.d.ts +5 -0
  44. package/dist/src/components/generals/Pagination/PaginationTotal.d.ts +3 -0
  45. package/dist/src/components/generals/Pagination/index.d.ts +24 -0
  46. package/dist/src/components/generals/PanelAccount/index.d.ts +10 -0
  47. package/dist/src/components/generals/PanelNotification/index.d.ts +11 -0
  48. package/dist/src/components/generals/PanelThumbnail/index.d.ts +12 -0
  49. package/dist/src/components/generals/PasswordField/index.d.ts +11 -0
  50. package/dist/src/components/generals/PhoneTextField/PhoneTextFieldCountrySelect.d.ts +29 -0
  51. package/dist/src/components/generals/PhoneTextField/PhoneTextFieldInput.d.ts +6 -0
  52. package/dist/src/components/generals/PhoneTextField/PhoneTextFieldReset.d.ts +5 -0
  53. package/dist/src/components/generals/PhoneTextField/index.d.ts +51 -0
  54. package/dist/src/components/generals/PinInput/index.d.ts +308 -0
  55. package/dist/src/components/generals/Popover/index.d.ts +19 -0
  56. package/dist/src/components/generals/Radio/index.d.ts +18 -0
  57. package/dist/src/components/generals/SegmentTab/index.d.ts +21 -0
  58. package/dist/src/components/generals/Select/SelectContent.d.ts +5 -0
  59. package/dist/src/components/generals/Select/SelectItem.d.ts +5 -0
  60. package/dist/src/components/generals/Select/SelectTrigger.d.ts +10 -0
  61. package/dist/src/components/generals/Select/index.d.ts +34 -0
  62. package/dist/src/components/generals/SheetTitle/SheetTitleAction.d.ts +5 -0
  63. package/dist/src/components/generals/SheetTitle/SheetTitleBack.d.ts +5 -0
  64. package/dist/src/components/generals/SheetTitle/SheetTitleButton.d.ts +6 -0
  65. package/dist/src/components/generals/SheetTitle/SheetTitleClose.d.ts +5 -0
  66. package/dist/src/components/generals/SheetTitle/SheetTitleText.d.ts +5 -0
  67. package/dist/src/components/generals/SheetTitle/index.d.ts +24 -0
  68. package/dist/src/components/generals/Slider/index.d.ts +5 -0
  69. package/dist/src/components/generals/Snackbar/SnackBarButton.d.ts +5 -0
  70. package/dist/src/components/generals/Snackbar/SnackbarClose.d.ts +5 -0
  71. package/dist/src/components/generals/Snackbar/SnackbarText.d.ts +5 -0
  72. package/dist/src/components/generals/Snackbar/index.d.ts +18 -0
  73. package/dist/src/components/generals/SnackbarMenu/SnackbarMenuContent.d.ts +14 -0
  74. package/dist/src/components/generals/SnackbarMenu/SnackbarMenuItem.d.ts +21 -0
  75. package/dist/src/components/generals/SnackbarMenu/SnackbarMenuTrigger.d.ts +13 -0
  76. package/dist/src/components/generals/SnackbarMenu/index.d.ts +62 -0
  77. package/dist/src/components/generals/StackTab/index.d.ts +12 -0
  78. package/dist/src/components/generals/Switch/index.d.ts +17 -0
  79. package/dist/src/components/generals/Tag/TagDelete.d.ts +5 -0
  80. package/dist/src/components/generals/Tag/TagText.d.ts +5 -0
  81. package/dist/src/components/generals/Tag/index.d.ts +12 -0
  82. package/dist/src/components/generals/Taxonomy/index.d.ts +15 -0
  83. package/dist/src/components/generals/TextArea/index.d.ts +11 -0
  84. package/dist/src/components/generals/TextField/index.d.ts +10 -0
  85. package/dist/src/components/generals/TextFieldAmount/TextFieldAmountInput.d.ts +6 -0
  86. package/dist/src/components/generals/TextFieldAmount/TextFieldAmountPrefix.d.ts +10 -0
  87. package/dist/src/components/generals/TextFieldAmount/index.d.ts +34 -0
  88. package/dist/src/components/generals/TextFieldGroup/TextFieldGroupLeftElement.d.ts +5 -0
  89. package/dist/src/components/generals/TextFieldGroup/TextFieldGroupRightElement.d.ts +5 -0
  90. package/dist/src/components/generals/TextFieldGroup/index.d.ts +12 -0
  91. package/dist/src/components/generals/TextFieldPercent/TextFieldPercentInput.d.ts +9 -0
  92. package/dist/src/components/generals/TextFieldPercent/TextFieldPercentSuffix.d.ts +10 -0
  93. package/dist/src/components/generals/TextFieldPercent/index.d.ts +34 -0
  94. package/dist/src/components/generals/TextFieldSlug/TextFieldSlugInput.d.ts +9 -0
  95. package/dist/src/components/generals/TextFieldSlug/TextFieldSlugPrefix.d.ts +10 -0
  96. package/dist/src/components/generals/TextFieldSlug/index.d.ts +28 -0
  97. package/dist/src/components/generals/Tooltip/index.d.ts +17 -0
  98. package/dist/src/components/generals/TouchPoint/TouchPointLabel.d.ts +10 -0
  99. package/dist/src/components/generals/TouchPoint/index.d.ts +5 -0
  100. package/dist/src/components/generals/Typo/index.d.ts +16 -0
  101. package/dist/src/components/generals/VariantField/VariantFieldColor.d.ts +5 -0
  102. package/dist/src/components/generals/VariantField/VariantFieldDelete.d.ts +5 -0
  103. package/dist/src/components/generals/VariantField/VariantFieldImage.d.ts +5 -0
  104. package/dist/src/components/generals/VariantField/VariantFieldText.d.ts +5 -0
  105. package/dist/src/components/generals/VariantField/index.d.ts +26 -0
  106. package/dist/src/components/generals/VeggieMenu/index.d.ts +10 -0
  107. package/dist/src/constants/Icon/index.d.ts +3 -0
  108. package/dist/{functions → src/functions}/index.d.ts +5 -5
  109. package/dist/src/hooks/index.d.ts +5 -0
  110. package/dist/src/hooks/useClickOutside.d.ts +5 -0
  111. package/dist/src/hooks/useCopyToClipboard.d.ts +4 -0
  112. package/dist/src/hooks/useIsClient.d.ts +2 -0
  113. package/dist/src/hooks/useIsMounted.d.ts +2 -0
  114. package/dist/src/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  115. package/dist/{hooks → src/hooks}/useMergeRefs.d.ts +3 -3
  116. package/dist/src/index.d.ts +45 -0
  117. package/dist/src/main.d.ts +0 -0
  118. package/dist/style.css +5576 -2
  119. package/dist/vespa-design-system.cjs +35249 -100
  120. package/dist/vespa-design-system.js +38856 -0
  121. package/dist/vespa-design-system.umd.cjs +35479 -145
  122. package/dist/vite.config.d.ts +2 -0
  123. package/package.json +6 -5
  124. package/dist/components/cms/Breadcrumb/BreadcrumbItem.d.ts +0 -3
  125. package/dist/components/cms/Breadcrumb/BreadcrumbLink.d.ts +0 -3
  126. package/dist/components/cms/Breadcrumb/index.d.ts +0 -6
  127. package/dist/components/cms/Taxonomy/index.d.ts +0 -13
  128. package/dist/components/generals/AlertBar/AlertBarAction.d.ts +0 -3
  129. package/dist/components/generals/AlertBar/AlertBarClose.d.ts +0 -3
  130. package/dist/components/generals/AlertBar/AlertBarText.d.ts +0 -3
  131. package/dist/components/generals/AlertBar/index.d.ts +0 -17
  132. package/dist/components/generals/Avatar/index.d.ts +0 -5
  133. package/dist/components/generals/Button/index.d.ts +0 -20
  134. package/dist/components/generals/ButtonCross/index.d.ts +0 -10
  135. package/dist/components/generals/Chip/index.d.ts +0 -8
  136. package/dist/components/generals/Icon/index.d.ts +0 -16
  137. package/dist/components/generals/ImagePlaceholder/index.d.ts +0 -16
  138. package/dist/components/generals/Logo/index.d.ts +0 -10
  139. package/dist/components/generals/MenuItem/index.d.ts +0 -18
  140. package/dist/components/generals/NumberSwitch/NumberSwitchButton.d.ts +0 -8
  141. package/dist/components/generals/NumberSwitch/NumberSwitchInput.d.ts +0 -3
  142. package/dist/components/generals/NumberSwitch/index.d.ts +0 -17
  143. package/dist/components/generals/PanelAccount/index.d.ts +0 -8
  144. package/dist/components/generals/PanelNotification/index.d.ts +0 -9
  145. package/dist/components/generals/PanelThumbnail/index.d.ts +0 -10
  146. package/dist/components/generals/PasswordField/index.d.ts +0 -9
  147. package/dist/components/generals/PinInput/index.d.ts +0 -6
  148. package/dist/components/generals/Popover/index.d.ts +0 -11
  149. package/dist/components/generals/SegmentTab/index.d.ts +0 -15
  150. package/dist/components/generals/Select/SelectContent.d.ts +0 -2
  151. package/dist/components/generals/Select/SelectItem.d.ts +0 -2
  152. package/dist/components/generals/Select/SelectTrigger.d.ts +0 -7
  153. package/dist/components/generals/Select/index.d.ts +0 -25
  154. package/dist/components/generals/SheetTitle/SheetTitleAction.d.ts +0 -3
  155. package/dist/components/generals/SheetTitle/SheetTitleBack.d.ts +0 -3
  156. package/dist/components/generals/SheetTitle/SheetTitleButton.d.ts +0 -3
  157. package/dist/components/generals/SheetTitle/SheetTitleClose.d.ts +0 -3
  158. package/dist/components/generals/SheetTitle/SheetTitleText.d.ts +0 -3
  159. package/dist/components/generals/SheetTitle/index.d.ts +0 -10
  160. package/dist/components/generals/Slider/index.d.ts +0 -2
  161. package/dist/components/generals/Snackbar/SnackBarButton.d.ts +0 -3
  162. package/dist/components/generals/Snackbar/SnackbarClose.d.ts +0 -3
  163. package/dist/components/generals/Snackbar/SnackbarText.d.ts +0 -3
  164. package/dist/components/generals/Snackbar/index.d.ts +0 -8
  165. package/dist/components/generals/SnackbarMenu/SnackbarMenuContent.d.ts +0 -11
  166. package/dist/components/generals/SnackbarMenu/SnackbarMenuItem.d.ts +0 -17
  167. package/dist/components/generals/SnackbarMenu/SnackbarMenuTrigger.d.ts +0 -9
  168. package/dist/components/generals/SnackbarMenu/index.d.ts +0 -47
  169. package/dist/components/generals/StackTab/index.d.ts +0 -6
  170. package/dist/components/generals/Switch/index.d.ts +0 -14
  171. package/dist/components/generals/Tag/TagDelete.d.ts +0 -3
  172. package/dist/components/generals/Tag/TagText.d.ts +0 -3
  173. package/dist/components/generals/Tag/index.d.ts +0 -6
  174. package/dist/components/generals/TextArea/index.d.ts +0 -9
  175. package/dist/components/generals/TextField/index.d.ts +0 -8
  176. package/dist/components/generals/TextFieldAmount/TextFieldAmountInput.d.ts +0 -3
  177. package/dist/components/generals/TextFieldAmount/TextFieldAmountPrefix.d.ts +0 -8
  178. package/dist/components/generals/TextFieldAmount/index.d.ts +0 -26
  179. package/dist/components/generals/TextFieldGroup/TextFieldGroupLeftElement.d.ts +0 -3
  180. package/dist/components/generals/TextFieldGroup/TextFieldGroupRightElement.d.ts +0 -3
  181. package/dist/components/generals/TextFieldGroup/index.d.ts +0 -6
  182. package/dist/components/generals/TextFieldPercent/TextFieldPercentInput.d.ts +0 -6
  183. package/dist/components/generals/TextFieldPercent/TextFieldPercentSuffix.d.ts +0 -8
  184. package/dist/components/generals/TextFieldPercent/index.d.ts +0 -26
  185. package/dist/components/generals/TextFieldSlug/TextFieldSlugInput.d.ts +0 -6
  186. package/dist/components/generals/TextFieldSlug/TextFieldSlugPrefix.d.ts +0 -8
  187. package/dist/components/generals/TextFieldSlug/index.d.ts +0 -22
  188. package/dist/components/generals/Tooltip/index.d.ts +0 -12
  189. package/dist/components/generals/TouchPoint/TouchPointLabel.d.ts +0 -8
  190. package/dist/components/generals/TouchPoint/index.d.ts +0 -3
  191. package/dist/components/generals/Typo/index.d.ts +0 -14
  192. package/dist/components/generals/VariantField/VariantFieldColor.d.ts +0 -3
  193. package/dist/components/generals/VariantField/VariantFieldDelete.d.ts +0 -3
  194. package/dist/components/generals/VariantField/VariantFieldImage.d.ts +0 -3
  195. package/dist/components/generals/VariantField/VariantFieldText.d.ts +0 -3
  196. package/dist/components/generals/VariantField/index.d.ts +0 -16
  197. package/dist/hooks/index.d.ts +0 -5
  198. package/dist/hooks/useClickOutside.d.ts +0 -5
  199. package/dist/hooks/useIsClient.d.ts +0 -2
  200. package/dist/hooks/useIsMounted.d.ts +0 -2
  201. package/dist/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  202. package/dist/types/Button/index.d.ts +0 -2
  203. package/dist/types/ButtonCross/index.d.ts +0 -2
  204. package/dist/types/Colors/index.d.ts +0 -2
  205. package/dist/types/Global/index.d.ts +0 -8
  206. package/dist/types/Icon/index.d.ts +0 -87
  207. package/dist/types/ImagePlaceholder/index.d.ts +0 -1
  208. package/dist/types/Typo/index.d.ts +0 -11
  209. package/dist/vespa-design-system.js.gz +0 -0
  210. package/dist/vite-env.d.ts +0 -1
package/dist/index.d.ts CHANGED
@@ -1,38 +1 @@
1
- /** components */
2
- export { AlertBar, type AlertBarProps } from './components/generals/AlertBar';
3
- export { Avatar } from './components/generals/Avatar';
4
- export { Button, type ButtonProps } from './components/generals/Button';
5
- export { ButtonCross, type ButtonCrossProps } from './components/generals/ButtonCross';
6
- export { Chip, type ChipProps } from './components/generals/Chip';
7
- export { Icon, type IconProps } from './components/generals/Icon';
8
- export { ImagePlaceholder, type ImagePlaceholderProps } from './components/generals/ImagePlaceholder';
9
- export { MenuItem, type MenuItemProps } from './components/generals/MenuItem';
10
- export { NumberSwitch, type NumberSwitchProps } from './components/generals/NumberSwitch';
11
- export { PasswordField, type PasswordFieldProps } from './components/generals/PasswordField';
12
- export { Popover } from './components/generals/Popover';
13
- export { SegmentTab, type SegmentTabTriggerProps } from './components/generals/SegmentTab';
14
- export { Select, type SelectProps } from './components/generals/Select';
15
- export { StackTab } from './components/generals/StackTab';
16
- export { Switch, type SwitchProps } from './components/generals/Switch';
17
- export { Tag } from './components/generals/Tag';
18
- export { Taxonomy, type TaxonomyProps } from './components/cms/Taxonomy';
19
- export { TextArea, type TextAreaProps } from './components/generals/TextArea';
20
- export { TextField, type TextFieldProps } from './components/generals/TextField';
21
- export { TextFieldGroup } from './components/generals/TextFieldGroup';
22
- export { TextFieldSlug, type TextFieldSlugProps } from './components/generals/TextFieldSlug';
23
- export { TextFieldAmount, type TextFieldAmountProp } from './components/generals/TextFieldAmount';
24
- export { TextFieldPercent, type TextFieldPercentProp } from './components/generals/TextFieldPercent';
25
- export { Tooltip, TooltipProvider, type TooltipProps } from './components/generals/Tooltip';
26
- export { TouchPoint } from './components/generals/TouchPoint';
27
- export { Typo, type TypoProps } from './components/generals/Typo';
28
- export { Logo, type LogoProps } from './components/generals/Logo';
29
- export { Slider } from './components/generals/Slider';
30
- export { Breadcrumb } from './components/cms/Breadcrumb';
31
- export { VariantField, type VariantFieldProps } from './components/generals/VariantField';
32
- export { PanelNotification, type PanelNotificationProps } from './components/generals/PanelNotification';
33
- export { PanelThumbnail, type PanelThumbnailProps } from './components/generals/PanelThumbnail';
34
- export { PanelAccount, type PanelAccountProps } from './components/generals/PanelAccount';
35
- export { Snackbar } from './components/generals/Snackbar';
36
- export { SnackbarMenu } from "./components/generals/SnackbarMenu";
37
- export { PinInput } from './components/generals/PinInput';
38
- export { SheetTitle } from './components/generals/SheetTitle';
1
+ export * from './src/index'
@@ -0,0 +1,7 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ /** components */
4
+ /** types */
5
+ export declare const NewComp: import('react').ForwardRefExoticComponent<
6
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
7
+ >
@@ -0,0 +1,12 @@
1
+ /** libs */
2
+ import { HTMLAttributes, ButtonHTMLAttributes } from 'react'
3
+ export declare const CardSuggestion: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
5
+ > & {
6
+ Button: import('react').ForwardRefExoticComponent<
7
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
8
+ >
9
+ Message: import('react').ForwardRefExoticComponent<
10
+ HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>
11
+ >
12
+ }
@@ -0,0 +1,11 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ /** types */
4
+ export type NavigationProps = HTMLAttributes<HTMLDivElement> & {
5
+ direction: 'left' | 'right'
6
+ }
7
+ export declare const Navigation: import('react').ForwardRefExoticComponent<
8
+ HTMLAttributes<HTMLDivElement> & {
9
+ direction: 'left' | 'right'
10
+ } & import('react').RefAttributes<HTMLDivElement>
11
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { LiHTMLAttributes } from 'react'
3
+ export declare const BreadcrumbItem: import('react').ForwardRefExoticComponent<
4
+ LiHTMLAttributes<HTMLLIElement> & import('react').RefAttributes<HTMLLIElement>
5
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { AnchorHTMLAttributes } from 'react'
3
+ export declare const BreadcrumbLink: import('react').ForwardRefExoticComponent<
4
+ AnchorHTMLAttributes<HTMLAnchorElement> & import('react').RefAttributes<HTMLAnchorElement>
5
+ >
@@ -0,0 +1,12 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export declare const Breadcrumb: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
5
+ > & {
6
+ Item: import('react').ForwardRefExoticComponent<
7
+ import('react').LiHTMLAttributes<HTMLLIElement> & import('react').RefAttributes<HTMLLIElement>
8
+ >
9
+ Link: import('react').ForwardRefExoticComponent<
10
+ import('react').AnchorHTMLAttributes<HTMLAnchorElement> & import('react').RefAttributes<HTMLAnchorElement>
11
+ >
12
+ }
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export declare const TableButtonAddFilter: import('react').ForwardRefExoticComponent<
4
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
+ >
@@ -0,0 +1,11 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export type ButtonFilterType = {
4
+ isActive?: boolean
5
+ label?: string
6
+ number?: number
7
+ }
8
+ export type TableButtonFilterProps = ButtonHTMLAttributes<HTMLButtonElement> & ButtonFilterType
9
+ export declare const TableButtonFilter: import('react').ForwardRefExoticComponent<
10
+ ButtonHTMLAttributes<HTMLButtonElement> & ButtonFilterType & import('react').RefAttributes<HTMLButtonElement>
11
+ >
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from 'react'
2
+ export type TableLabelFilteredProps = HTMLAttributes<HTMLDivElement> & {
3
+ label?: string
4
+ onRemove?: () => void
5
+ }
6
+ export declare const TableLabelFiltered: import('react').ForwardRefExoticComponent<
7
+ HTMLAttributes<HTMLDivElement> & {
8
+ label?: string | undefined
9
+ onRemove?: (() => void) | undefined
10
+ } & import('react').RefAttributes<HTMLDivElement>
11
+ >
@@ -0,0 +1,14 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes, MouseEvent } from 'react'
3
+ type SortingType = 'asc' | 'desc'
4
+ export type TableSortingProps = ButtonHTMLAttributes<HTMLButtonElement> & {
5
+ sorting?: SortingType
6
+ onClickSorting?: (e: MouseEvent) => void
7
+ }
8
+ export declare const TableSorting: import('react').ForwardRefExoticComponent<
9
+ ButtonHTMLAttributes<HTMLButtonElement> & {
10
+ sorting?: SortingType | undefined
11
+ onClickSorting?: ((e: MouseEvent) => void) | undefined
12
+ } & import('react').RefAttributes<HTMLButtonElement>
13
+ >
14
+ export {}
@@ -0,0 +1,17 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes, HTMLAttributes } from 'react'
3
+ export type TableTitleProps = HTMLAttributes<HTMLDivElement> & {
4
+ bgColor?: 'blue' | 'yellow'
5
+ }
6
+ export declare const TableTitleButton: import('react').ForwardRefExoticComponent<
7
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
8
+ >
9
+ export declare const TableTitle: import('react').ForwardRefExoticComponent<
10
+ HTMLAttributes<HTMLDivElement> & {
11
+ bgColor?: 'blue' | 'yellow' | undefined
12
+ } & import('react').RefAttributes<HTMLDivElement>
13
+ > & {
14
+ Button: import('react').ForwardRefExoticComponent<
15
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
16
+ >
17
+ }
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export declare const AlertBarAction: import('react').ForwardRefExoticComponent<
4
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export declare const AlertBarClose: import('react').ForwardRefExoticComponent<
4
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export declare const AlertBarText: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
5
+ >
@@ -0,0 +1,25 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export type AlertBarVariants = 'info' | 'info-light' | 'success' | 'warning'
4
+ export type AlertBarCtxType = {
5
+ variant?: AlertBarVariants
6
+ }
7
+ export declare const AlertBarCtx: import('react').Context<{}>
8
+ export type AlertBarProps = HTMLAttributes<HTMLDivElement> & {
9
+ variant?: AlertBarVariants
10
+ }
11
+ export declare const AlertBar: import('react').ForwardRefExoticComponent<
12
+ HTMLAttributes<HTMLDivElement> & {
13
+ variant?: AlertBarVariants | undefined
14
+ } & import('react').RefAttributes<HTMLDivElement>
15
+ > & {
16
+ Action: import('react').ForwardRefExoticComponent<
17
+ import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
18
+ >
19
+ Close: import('react').ForwardRefExoticComponent<
20
+ import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
21
+ >
22
+ Text: import('react').ForwardRefExoticComponent<
23
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
24
+ >
25
+ }
@@ -0,0 +1,7 @@
1
+ import * as PrimitiveAvatar from '@radix-ui/react-avatar'
2
+ export declare const Avatar: ((props: PrimitiveAvatar.AvatarProps) => JSX.Element) & {
3
+ Fallback: (props: PrimitiveAvatar.AvatarFallbackProps) => JSX.Element
4
+ Image: import('react').ForwardRefExoticComponent<
5
+ PrimitiveAvatar.AvatarImageProps & import('react').RefAttributes<HTMLImageElement>
6
+ >
7
+ }
@@ -0,0 +1,24 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ type CommonButtonType = ButtonHTMLAttributes<HTMLButtonElement> & {
4
+ sizes?: ButtonSizeType
5
+ variant?: ButtonVariantType
6
+ iconLeft?: IconListType
7
+ iconLeftSize?: IconSizeType
8
+ iconRightSize?: IconSizeType
9
+ isLoading?: boolean
10
+ }
11
+ type ConditionButtonIconType =
12
+ | {
13
+ onlyIcon?: never
14
+ iconRight?: IconListType
15
+ }
16
+ | {
17
+ onlyIcon?: boolean
18
+ iconRight?: never
19
+ }
20
+ export type ButtonProps = CommonButtonType & ConditionButtonIconType
21
+ export declare const Button: import('react').ForwardRefExoticComponent<
22
+ ButtonProps & import('react').RefAttributes<HTMLButtonElement>
23
+ >
24
+ export {}
@@ -0,0 +1,12 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export type ButtonCrossProps = ButtonHTMLAttributes<HTMLButtonElement> & {
4
+ variant?: ButtonCrossVariantsType
5
+ size?: ButtonCrossSizesType
6
+ }
7
+ export declare const ButtonCross: import('react').ForwardRefExoticComponent<
8
+ ButtonHTMLAttributes<HTMLButtonElement> & {
9
+ variant?: ButtonCrossVariantsType | undefined
10
+ size?: ButtonCrossSizesType | undefined
11
+ } & import('react').RefAttributes<HTMLButtonElement>
12
+ >
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import * as PrimitiveCheckbox from '@radix-ui/react-checkbox'
3
+ type CheckboxVariantsType = 'solid' | 'outline'
4
+ export type CheckboxProps = PrimitiveCheckbox.CheckboxProps & {
5
+ variants?: CheckboxVariantsType
6
+ isError?: boolean
7
+ }
8
+ export declare const Checkbox: import('react').ForwardRefExoticComponent<
9
+ PrimitiveCheckbox.CheckboxProps & {
10
+ variants?: CheckboxVariantsType | undefined
11
+ isError?: boolean | undefined
12
+ } & import('react').RefAttributes<HTMLButtonElement>
13
+ >
14
+ export {}
@@ -0,0 +1,10 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export type ChipProps = HTMLAttributes<HTMLSpanElement> & {
4
+ variant?: ThemeVariantType
5
+ }
6
+ export declare const Chip: import('react').ForwardRefExoticComponent<
7
+ HTMLAttributes<HTMLSpanElement> & {
8
+ variant?: ThemeVariantType | undefined
9
+ } & import('react').RefAttributes<HTMLSpanElement>
10
+ >
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from 'react'
2
+ export declare const ColorPickerAction: import('react').ForwardRefExoticComponent<
3
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
4
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export declare const ColorPickerApply: import('react').ForwardRefExoticComponent<
4
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export declare const ColorPickerDiscard: import('react').ForwardRefExoticComponent<
4
+ ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
+ >
@@ -0,0 +1,11 @@
1
+ /** libs */
2
+ import { HTMLAttributes, SyntheticEvent } from 'react'
3
+ export declare const ColorPickerImage: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & {
5
+ src?: string | undefined
6
+ alt?: string | undefined
7
+ isError?: boolean | undefined
8
+ onUpload?: ((file: File | FileList) => void) | undefined
9
+ onError?: ((error: SyntheticEvent<HTMLInputElement>) => void) | undefined
10
+ } & import('react').RefAttributes<HTMLDivElement>
11
+ >
@@ -0,0 +1,8 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export declare const ColorPickerPalette: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & {
5
+ hex?: string | undefined
6
+ onChangeHex?: ((value: string) => void) | undefined
7
+ } & import('react').RefAttributes<HTMLDivElement>
8
+ >
@@ -0,0 +1,34 @@
1
+ /** style */
2
+ /** libs */
3
+ import { HTMLAttributes } from 'react'
4
+ export declare const ColorPickerRoot: import('react').ForwardRefExoticComponent<
5
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
6
+ >
7
+ export declare const ColorPicker: import('react').ForwardRefExoticComponent<
8
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
9
+ > & {
10
+ Action: import('react').ForwardRefExoticComponent<
11
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
12
+ >
13
+ Discard: import('react').ForwardRefExoticComponent<
14
+ import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
15
+ >
16
+ Apply: import('react').ForwardRefExoticComponent<
17
+ import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
18
+ >
19
+ Palette: import('react').ForwardRefExoticComponent<
20
+ HTMLAttributes<HTMLDivElement> & {
21
+ hex?: string | undefined
22
+ onChangeHex?: ((value: string) => void) | undefined
23
+ } & import('react').RefAttributes<HTMLDivElement>
24
+ >
25
+ Image: import('react').ForwardRefExoticComponent<
26
+ HTMLAttributes<HTMLDivElement> & {
27
+ src?: string | undefined
28
+ alt?: string | undefined
29
+ isError?: boolean | undefined
30
+ onUpload?: ((file: File | FileList) => void) | undefined
31
+ onError?: ((error: import('react').SyntheticEvent<HTMLInputElement, Event>) => void) | undefined
32
+ } & import('react').RefAttributes<HTMLDivElement>
33
+ >
34
+ }
@@ -0,0 +1,18 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export type IconProps = HTMLAttributes<HTMLSpanElement> & {
4
+ icon?: IconListType
5
+ size?: IconSizeType
6
+ color?: ColorNameType
7
+ shade?: ColorShadeType
8
+ iconClassName?: string
9
+ }
10
+ export declare const Icon: import('react').ForwardRefExoticComponent<
11
+ HTMLAttributes<HTMLSpanElement> & {
12
+ icon?: IconListType | undefined
13
+ size?: IconSizeType | undefined
14
+ color?: ColorNameType | undefined
15
+ shade?: ColorShadeType | undefined
16
+ iconClassName?: string | undefined
17
+ } & import('react').RefAttributes<HTMLSpanElement>
18
+ >
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from 'react'
2
+ export declare const ImageInputActive: import('react').ForwardRefExoticComponent<
3
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
4
+ >
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'react'
2
+ /** types */
3
+ export type ImageInputInactiveProps = {
4
+ size?: string
5
+ ratio?: string
6
+ } & HTMLAttributes<HTMLDivElement>
7
+ export declare const ImageInputInactive: import('react').ForwardRefExoticComponent<
8
+ {
9
+ size?: string | undefined
10
+ ratio?: string | undefined
11
+ } & HTMLAttributes<HTMLDivElement> &
12
+ import('react').RefAttributes<HTMLDivElement>
13
+ >
@@ -0,0 +1,35 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ /** types */
4
+ export type ImageInputProp = {
5
+ multiple?: boolean
6
+ onUpload?: (file: File | FileList) => void
7
+ isError?: boolean
8
+ } & ButtonHTMLAttributes<HTMLButtonElement>
9
+ export declare const ImageInputRoot: import('react').ForwardRefExoticComponent<
10
+ {
11
+ multiple?: boolean | undefined
12
+ onUpload?: ((file: File | FileList) => void) | undefined
13
+ isError?: boolean | undefined
14
+ } & ButtonHTMLAttributes<HTMLButtonElement> &
15
+ import('react').RefAttributes<HTMLButtonElement>
16
+ >
17
+ export declare const ImageInput: import('react').ForwardRefExoticComponent<
18
+ {
19
+ multiple?: boolean | undefined
20
+ onUpload?: ((file: File | FileList) => void) | undefined
21
+ isError?: boolean | undefined
22
+ } & ButtonHTMLAttributes<HTMLButtonElement> &
23
+ import('react').RefAttributes<HTMLButtonElement>
24
+ > & {
25
+ Active: import('react').ForwardRefExoticComponent<
26
+ import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
27
+ >
28
+ Inactive: import('react').ForwardRefExoticComponent<
29
+ {
30
+ size?: string | undefined
31
+ ratio?: string | undefined
32
+ } & import('react').HTMLAttributes<HTMLDivElement> &
33
+ import('react').RefAttributes<HTMLDivElement>
34
+ >
35
+ }
@@ -0,0 +1,18 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export type ImagePlaceholderProps = HTMLAttributes<HTMLDivElement> & {
4
+ bgColor?: ColorNameType
5
+ bgShade?: ColorShadeType
6
+ isSmallThumbnail?: boolean
7
+ imageNotFound?: boolean
8
+ aspectRatio?: AspectRatioType
9
+ }
10
+ export declare const ImagePlaceholder: import('react').ForwardRefExoticComponent<
11
+ HTMLAttributes<HTMLDivElement> & {
12
+ bgColor?: ColorNameType | undefined
13
+ bgShade?: ColorShadeType | undefined
14
+ isSmallThumbnail?: boolean | undefined
15
+ imageNotFound?: boolean | undefined
16
+ aspectRatio?: AspectRatioType | undefined
17
+ } & import('react').RefAttributes<HTMLDivElement>
18
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export declare const ImagePreviewError: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
5
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export declare const ImagePreviewLoading: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
5
+ >
@@ -0,0 +1,15 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ /** types */
4
+ export type ImagePreviewOutputProps = HTMLAttributes<HTMLDivElement> & {
5
+ isLoading?: boolean
6
+ isError?: boolean
7
+ src?: string
8
+ }
9
+ export declare const ImagePreviewOutput: import('react').ForwardRefExoticComponent<
10
+ HTMLAttributes<HTMLDivElement> & {
11
+ isLoading?: boolean | undefined
12
+ isError?: boolean | undefined
13
+ src?: string | undefined
14
+ } & import('react').RefAttributes<HTMLDivElement>
15
+ >
@@ -0,0 +1,26 @@
1
+ /** libs */
2
+ import { HTMLAttributes, MouseEvent } from 'react'
3
+ export declare const ImagePreviewRoot: import('react').ForwardRefExoticComponent<
4
+ HTMLAttributes<HTMLDivElement> & {
5
+ onRemoveImage?: ((e: MouseEvent) => void) | undefined
6
+ } & import('react').RefAttributes<HTMLDivElement>
7
+ >
8
+ export declare const ImagePreview: import('react').ForwardRefExoticComponent<
9
+ HTMLAttributes<HTMLDivElement> & {
10
+ onRemoveImage?: ((e: MouseEvent) => void) | undefined
11
+ } & import('react').RefAttributes<HTMLDivElement>
12
+ > & {
13
+ Error: import('react').ForwardRefExoticComponent<
14
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
15
+ >
16
+ Loading: import('react').ForwardRefExoticComponent<
17
+ HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
18
+ >
19
+ Output: import('react').ForwardRefExoticComponent<
20
+ HTMLAttributes<HTMLDivElement> & {
21
+ isLoading?: boolean | undefined
22
+ isError?: boolean | undefined
23
+ src?: string | undefined
24
+ } & import('react').RefAttributes<HTMLDivElement>
25
+ >
26
+ }
@@ -0,0 +1,12 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export type LogoProps = HTMLAttributes<HTMLImageElement> & {
4
+ logoVariants?: LogoVariantType
5
+ alt?: string
6
+ }
7
+ export declare const Logo: import('react').ForwardRefExoticComponent<
8
+ HTMLAttributes<HTMLImageElement> & {
9
+ logoVariants?: LogoVariantType | undefined
10
+ alt?: string | undefined
11
+ } & import('react').RefAttributes<HTMLImageElement>
12
+ >
@@ -0,0 +1,20 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ type MenuItemTextStyles = 'regular' | 'italic'
4
+ export type MenuItemProps = ButtonHTMLAttributes<HTMLButtonElement> & {
5
+ disabled?: boolean
6
+ icon?: IconListType
7
+ selected?: boolean
8
+ textStyle?: MenuItemTextStyles
9
+ theme?: ThemeVariantType
10
+ }
11
+ export declare const MenuItem: import('react').ForwardRefExoticComponent<
12
+ ButtonHTMLAttributes<HTMLButtonElement> & {
13
+ disabled?: boolean | undefined
14
+ icon?: IconListType | undefined
15
+ selected?: boolean | undefined
16
+ textStyle?: MenuItemTextStyles | undefined
17
+ theme?: ThemeVariantType | undefined
18
+ } & import('react').RefAttributes<HTMLButtonElement>
19
+ >
20
+ export {}
@@ -0,0 +1,10 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ export type NumberSwitchButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
4
+ variant?: 'decrease' | 'increase'
5
+ }
6
+ export declare const NumberSwitchButton: import('react').ForwardRefExoticComponent<
7
+ ButtonHTMLAttributes<HTMLButtonElement> & {
8
+ variant?: 'decrease' | 'increase' | undefined
9
+ } & import('react').RefAttributes<HTMLButtonElement>
10
+ >
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { InputHTMLAttributes } from 'react'
3
+ export declare const NumberSwitchInput: import('react').ForwardRefExoticComponent<
4
+ InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>
5
+ >
@@ -0,0 +1,23 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export type NumberSwitchCtxType = {
4
+ isError?: boolean
5
+ }
6
+ export declare const NumberSwitchCtx: import('react').Context<NumberSwitchCtxType>
7
+ export type NumberSwitchProps = HTMLAttributes<HTMLDivElement> & {
8
+ isError?: boolean
9
+ }
10
+ export declare const NumberSwitch: import('react').ForwardRefExoticComponent<
11
+ HTMLAttributes<HTMLDivElement> & {
12
+ isError?: boolean | undefined
13
+ } & import('react').RefAttributes<HTMLInputElement>
14
+ > & {
15
+ Button: import('react').ForwardRefExoticComponent<
16
+ import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
17
+ variant?: 'decrease' | 'increase' | undefined
18
+ } & import('react').RefAttributes<HTMLButtonElement>
19
+ >
20
+ Input: import('react').ForwardRefExoticComponent<
21
+ import('react').InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>
22
+ >
23
+ }
@@ -0,0 +1,12 @@
1
+ /** libs */
2
+ import { ButtonHTMLAttributes } from 'react'
3
+ type DirectionType = 'next' | 'prev'
4
+ export type PaginationButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
5
+ direction?: DirectionType
6
+ }
7
+ export declare const PaginationButton: import('react').ForwardRefExoticComponent<
8
+ ButtonHTMLAttributes<HTMLButtonElement> & {
9
+ direction?: DirectionType | undefined
10
+ } & import('react').RefAttributes<HTMLButtonElement>
11
+ >
12
+ export {}
@@ -0,0 +1,5 @@
1
+ /** libs */
2
+ import { InputHTMLAttributes } from 'react'
3
+ export declare const PaginationInput: import('react').ForwardRefExoticComponent<
4
+ InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>
5
+ >
@@ -0,0 +1,3 @@
1
+ /** libs */
2
+ import { HTMLAttributes } from 'react'
3
+ export declare const PaginationTotal: (props: HTMLAttributes<HTMLSpanElement>) => JSX.Element