@vespiario-thailand/design-system 0.0.6 → 0.0.7-test-cjs

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 (121) hide show
  1. package/dist/src/components/NewComp/index.d.ts +2 -4
  2. package/dist/src/components/cms/BlockSuggestion/CardSuggestion.d.ts +5 -11
  3. package/dist/src/components/cms/BlockSuggestion/Navigation.d.ts +6 -8
  4. package/dist/src/components/cms/Breadcrumb/BreadcrumbItem.d.ts +2 -4
  5. package/dist/src/components/cms/Breadcrumb/BreadcrumbLink.d.ts +2 -4
  6. package/dist/src/components/cms/Breadcrumb/index.d.ts +5 -11
  7. package/dist/src/components/cms/TableButtonAddFilter/index.d.ts +2 -4
  8. package/dist/src/components/cms/TableButtonFilter/index.d.ts +7 -9
  9. package/dist/src/components/cms/TableLabelFiltered/index.d.ts +8 -10
  10. package/dist/src/components/cms/TableSorting/index.d.ts +10 -12
  11. package/dist/src/components/cms/TableTitle/index.d.ts +9 -15
  12. package/dist/src/components/generals/AlertBar/AlertBarAction.d.ts +2 -4
  13. package/dist/src/components/generals/AlertBar/AlertBarClose.d.ts +2 -4
  14. package/dist/src/components/generals/AlertBar/AlertBarText.d.ts +2 -4
  15. package/dist/src/components/generals/AlertBar/index.d.ts +14 -22
  16. package/dist/src/components/generals/Avatar/index.d.ts +4 -6
  17. package/dist/src/components/generals/Button/index.d.ts +18 -22
  18. package/dist/src/components/generals/ButtonCross/index.d.ts +8 -10
  19. package/dist/src/components/generals/Checkbox/index.d.ts +10 -12
  20. package/dist/src/components/generals/Chip/index.d.ts +6 -8
  21. package/dist/src/components/generals/ColorPicker/ColorPickerAction.d.ts +2 -4
  22. package/dist/src/components/generals/ColorPicker/ColorPickerApply.d.ts +2 -4
  23. package/dist/src/components/generals/ColorPicker/ColorPickerDiscard.d.ts +2 -4
  24. package/dist/src/components/generals/ColorPicker/ColorPickerImage.d.ts +8 -10
  25. package/dist/src/components/generals/ColorPicker/ColorPickerPalette.d.ts +5 -7
  26. package/dist/src/components/generals/ColorPicker/index.d.ts +18 -32
  27. package/dist/src/components/generals/Icon/index.d.ts +14 -16
  28. package/dist/src/components/generals/ImageInput/ImageInputActive.d.ts +2 -4
  29. package/dist/src/components/generals/ImageInput/ImageInputInactive.d.ts +8 -11
  30. package/dist/src/components/generals/ImageInput/index.d.ts +21 -32
  31. package/dist/src/components/generals/ImagePlaceholder/index.d.ts +14 -16
  32. package/dist/src/components/generals/ImagePreview/ImagePreviewError.d.ts +2 -4
  33. package/dist/src/components/generals/ImagePreview/ImagePreviewLoading.d.ts +2 -4
  34. package/dist/src/components/generals/ImagePreview/ImagePreviewOutput.d.ts +10 -12
  35. package/dist/src/components/generals/ImagePreview/index.d.ts +15 -25
  36. package/dist/src/components/generals/Logo/index.d.ts +8 -10
  37. package/dist/src/components/generals/MenuItem/index.d.ts +16 -18
  38. package/dist/src/components/generals/NumberSwitch/NumberSwitchButton.d.ts +6 -8
  39. package/dist/src/components/generals/NumberSwitch/NumberSwitchInput.d.ts +2 -4
  40. package/dist/src/components/generals/NumberSwitch/index.d.ts +14 -20
  41. package/dist/src/components/generals/Pagination/PaginationButton.d.ts +8 -10
  42. package/dist/src/components/generals/Pagination/PaginationInput.d.ts +2 -4
  43. package/dist/src/components/generals/Pagination/PaginationTotal.d.ts +2 -2
  44. package/dist/src/components/generals/Pagination/index.d.ts +15 -21
  45. package/dist/src/components/generals/PanelAccount/index.d.ts +6 -8
  46. package/dist/src/components/generals/PanelNotification/index.d.ts +7 -9
  47. package/dist/src/components/generals/PanelThumbnail/index.d.ts +8 -10
  48. package/dist/src/components/generals/PasswordField/index.d.ts +6 -8
  49. package/dist/src/components/generals/PhoneTextField/PhoneTextFieldCountrySelect.d.ts +22 -26
  50. package/dist/src/components/generals/PhoneTextField/PhoneTextFieldInput.d.ts +3 -5
  51. package/dist/src/components/generals/PhoneTextField/PhoneTextFieldReset.d.ts +2 -4
  52. package/dist/src/components/generals/PhoneTextField/index.d.ts +35 -47
  53. package/dist/src/components/generals/PinInput/index.d.ts +4 -305
  54. package/dist/src/components/generals/Popover/index.d.ts +9 -17
  55. package/dist/src/components/generals/Radio/index.d.ts +12 -14
  56. package/dist/src/components/generals/SegmentTab/index.d.ts +13 -19
  57. package/dist/src/components/generals/Select/SelectContent.d.ts +2 -4
  58. package/dist/src/components/generals/Select/SelectItem.d.ts +2 -4
  59. package/dist/src/components/generals/Select/SelectTrigger.d.ts +6 -8
  60. package/dist/src/components/generals/Select/index.d.ts +19 -29
  61. package/dist/src/components/generals/SheetTitle/SheetTitleAction.d.ts +2 -4
  62. package/dist/src/components/generals/SheetTitle/SheetTitleBack.d.ts +2 -4
  63. package/dist/src/components/generals/SheetTitle/SheetTitleButton.d.ts +2 -4
  64. package/dist/src/components/generals/SheetTitle/SheetTitleClose.d.ts +2 -4
  65. package/dist/src/components/generals/SheetTitle/SheetTitleText.d.ts +2 -4
  66. package/dist/src/components/generals/SheetTitle/index.d.ts +9 -23
  67. package/dist/src/components/generals/Slider/index.d.ts +2 -4
  68. package/dist/src/components/generals/Snackbar/SnackBarButton.d.ts +2 -4
  69. package/dist/src/components/generals/Snackbar/SnackbarClose.d.ts +2 -4
  70. package/dist/src/components/generals/Snackbar/SnackbarText.d.ts +2 -4
  71. package/dist/src/components/generals/Snackbar/index.d.ts +7 -17
  72. package/dist/src/components/generals/SnackbarMenu/SnackbarMenuContent.d.ts +7 -10
  73. package/dist/src/components/generals/SnackbarMenu/SnackbarMenuItem.d.ts +13 -17
  74. package/dist/src/components/generals/SnackbarMenu/SnackbarMenuTrigger.d.ts +9 -12
  75. package/dist/src/components/generals/SnackbarMenu/index.d.ts +42 -57
  76. package/dist/src/components/generals/StackTab/index.d.ts +5 -11
  77. package/dist/src/components/generals/Switch/index.d.ts +12 -14
  78. package/dist/src/components/generals/Tag/TagDelete.d.ts +2 -4
  79. package/dist/src/components/generals/Tag/TagText.d.ts +2 -4
  80. package/dist/src/components/generals/Tag/index.d.ts +5 -11
  81. package/dist/src/components/generals/Taxonomy/index.d.ts +10 -12
  82. package/dist/src/components/generals/TextArea/index.d.ts +6 -8
  83. package/dist/src/components/generals/TextField/index.d.ts +6 -8
  84. package/dist/src/components/generals/TextFieldAmount/TextFieldAmountInput.d.ts +3 -5
  85. package/dist/src/components/generals/TextFieldAmount/TextFieldAmountPrefix.d.ts +6 -8
  86. package/dist/src/components/generals/TextFieldAmount/index.d.ts +23 -31
  87. package/dist/src/components/generals/TextFieldGroup/TextFieldGroupLeftElement.d.ts +2 -4
  88. package/dist/src/components/generals/TextFieldGroup/TextFieldGroupRightElement.d.ts +2 -4
  89. package/dist/src/components/generals/TextFieldGroup/index.d.ts +5 -11
  90. package/dist/src/components/generals/TextFieldPercent/TextFieldPercentInput.d.ts +5 -7
  91. package/dist/src/components/generals/TextFieldPercent/TextFieldPercentSuffix.d.ts +6 -8
  92. package/dist/src/components/generals/TextFieldPercent/index.d.ts +23 -31
  93. package/dist/src/components/generals/TextFieldSlug/TextFieldSlugInput.d.ts +5 -7
  94. package/dist/src/components/generals/TextFieldSlug/TextFieldSlugPrefix.d.ts +6 -8
  95. package/dist/src/components/generals/TextFieldSlug/index.d.ts +19 -25
  96. package/dist/src/components/generals/Tooltip/index.d.ts +10 -14
  97. package/dist/src/components/generals/TouchPoint/TouchPointLabel.d.ts +7 -9
  98. package/dist/src/components/generals/TouchPoint/index.d.ts +2 -4
  99. package/dist/src/components/generals/Typo/index.d.ts +12 -14
  100. package/dist/src/components/generals/VariantField/VariantFieldColor.d.ts +2 -4
  101. package/dist/src/components/generals/VariantField/VariantFieldDelete.d.ts +2 -4
  102. package/dist/src/components/generals/VariantField/VariantFieldImage.d.ts +2 -4
  103. package/dist/src/components/generals/VariantField/VariantFieldText.d.ts +2 -4
  104. package/dist/src/components/generals/VariantField/index.d.ts +13 -23
  105. package/dist/src/components/generals/VeggieMenu/index.d.ts +6 -8
  106. package/dist/src/constants/Icon/index.d.ts +3 -3
  107. package/dist/src/functions/index.d.ts +5 -5
  108. package/dist/src/hooks/index.d.ts +6 -5
  109. package/dist/src/hooks/useClickOutside.d.ts +4 -4
  110. package/dist/src/hooks/useCopyToClipboard.d.ts +4 -4
  111. package/dist/src/hooks/useIsClient.d.ts +2 -2
  112. package/dist/src/hooks/useIsMounted.d.ts +2 -2
  113. package/dist/src/hooks/useIsomorphicLayoutEffect.d.ts +3 -3
  114. package/dist/src/hooks/useMergeRefs.d.ts +3 -3
  115. package/dist/src/index.d.ts +43 -43
  116. package/dist/style.css +2 -5576
  117. package/dist/vespa-design-system.cjs +100 -35249
  118. package/dist/vespa-design-system.js +26447 -35475
  119. package/dist/vespa-design-system.umd.cjs +145 -35479
  120. package/dist/vite.config.d.ts +2 -2
  121. package/package.json +4 -4
@@ -1,7 +1,5 @@
1
1
  /** libs */
2
- import { HTMLAttributes } from 'react'
2
+ import { HTMLAttributes } from 'react';
3
3
  /** components */
4
4
  /** types */
5
- export declare const NewComp: import('react').ForwardRefExoticComponent<
6
- HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
7
- >
5
+ export declare const NewComp: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,12 +1,6 @@
1
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
- }
2
+ import { HTMLAttributes, ButtonHTMLAttributes } from 'react';
3
+ export declare const CardSuggestion: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
4
+ Button: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
5
+ Message: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
6
+ };
@@ -1,11 +1,9 @@
1
1
  /** libs */
2
- import { HTMLAttributes } from 'react'
2
+ import { HTMLAttributes } from 'react';
3
3
  /** types */
4
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
- >
5
+ direction: 'left' | 'right';
6
+ };
7
+ export declare const Navigation: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
8
+ direction: 'left' | 'right';
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { LiHTMLAttributes } from 'react'
3
- export declare const BreadcrumbItem: import('react').ForwardRefExoticComponent<
4
- LiHTMLAttributes<HTMLLIElement> & import('react').RefAttributes<HTMLLIElement>
5
- >
2
+ import { LiHTMLAttributes } from 'react';
3
+ export declare const BreadcrumbItem: import("react").ForwardRefExoticComponent<LiHTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement>>;
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { AnchorHTMLAttributes } from 'react'
3
- export declare const BreadcrumbLink: import('react').ForwardRefExoticComponent<
4
- AnchorHTMLAttributes<HTMLAnchorElement> & import('react').RefAttributes<HTMLAnchorElement>
5
- >
2
+ import { AnchorHTMLAttributes } from 'react';
3
+ export declare const BreadcrumbLink: import("react").ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -1,12 +1,6 @@
1
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
- }
2
+ import { HTMLAttributes } from 'react';
3
+ export declare const Breadcrumb: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
4
+ Item: import("react").ForwardRefExoticComponent<import("react").LiHTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement>>;
5
+ Link: import("react").ForwardRefExoticComponent<import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
6
+ };
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
3
- export declare const TableButtonAddFilter: import('react').ForwardRefExoticComponent<
4
- ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
- >
2
+ import { ButtonHTMLAttributes } from 'react';
3
+ export declare const TableButtonAddFilter: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,11 +1,9 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
2
+ import { ButtonHTMLAttributes } from 'react';
3
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
- >
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<ButtonHTMLAttributes<HTMLButtonElement> & ButtonFilterType & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,11 +1,9 @@
1
- import { HTMLAttributes } from 'react'
1
+ import { HTMLAttributes } from 'react';
2
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
- >
3
+ label?: string;
4
+ onRemove?: () => void;
5
+ };
6
+ export declare const TableLabelFiltered: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
7
+ label?: string | undefined;
8
+ onRemove?: (() => void) | undefined;
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,14 +1,12 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes, MouseEvent } from 'react'
3
- type SortingType = 'asc' | 'desc'
2
+ import { ButtonHTMLAttributes, MouseEvent } from 'react';
3
+ type SortingType = 'asc' | 'desc';
4
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 {}
5
+ sorting?: SortingType;
6
+ onClickSorting?: (e: MouseEvent) => void;
7
+ };
8
+ export declare const TableSorting: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
9
+ sorting?: SortingType | undefined;
10
+ onClickSorting?: ((e: MouseEvent) => void) | undefined;
11
+ } & import("react").RefAttributes<HTMLButtonElement>>;
12
+ export {};
@@ -1,17 +1,11 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes, HTMLAttributes } from 'react'
2
+ import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
3
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
- }
4
+ bgColor?: 'blue' | 'yellow';
5
+ };
6
+ export declare const TableTitleButton: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
7
+ export declare const TableTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
8
+ bgColor?: "blue" | "yellow" | undefined;
9
+ } & import("react").RefAttributes<HTMLDivElement>> & {
10
+ Button: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
11
+ };
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
3
- export declare const AlertBarAction: import('react').ForwardRefExoticComponent<
4
- ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
- >
2
+ import { ButtonHTMLAttributes } from 'react';
3
+ export declare const AlertBarAction: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
3
- export declare const AlertBarClose: import('react').ForwardRefExoticComponent<
4
- ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
- >
2
+ import { ButtonHTMLAttributes } from 'react';
3
+ export declare const AlertBarClose: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { HTMLAttributes } from 'react'
3
- export declare const AlertBarText: import('react').ForwardRefExoticComponent<
4
- HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
5
- >
2
+ import { HTMLAttributes } from 'react';
3
+ export declare const AlertBarText: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,25 +1,17 @@
1
1
  /** libs */
2
- import { HTMLAttributes } from 'react'
3
- export type AlertBarVariants = 'info' | 'info-light' | 'success' | 'warning'
2
+ import { HTMLAttributes } from 'react';
3
+ export type AlertBarVariants = 'info' | 'info-light' | 'success' | 'warning';
4
4
  export type AlertBarCtxType = {
5
- variant?: AlertBarVariants
6
- }
7
- export declare const AlertBarCtx: import('react').Context<{}>
5
+ variant?: AlertBarVariants;
6
+ };
7
+ export declare const AlertBarCtx: import("react").Context<{}>;
8
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
- }
9
+ variant?: AlertBarVariants;
10
+ };
11
+ export declare const AlertBar: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
12
+ variant?: AlertBarVariants | undefined;
13
+ } & import("react").RefAttributes<HTMLDivElement>> & {
14
+ Action: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
15
+ Close: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
16
+ Text: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
17
+ };
@@ -1,7 +1,5 @@
1
- import * as PrimitiveAvatar from '@radix-ui/react-avatar'
1
+ import * as PrimitiveAvatar from '@radix-ui/react-avatar';
2
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
- }
3
+ Fallback: (props: PrimitiveAvatar.AvatarFallbackProps) => JSX.Element;
4
+ Image: import("react").ForwardRefExoticComponent<PrimitiveAvatar.AvatarImageProps & import("react").RefAttributes<HTMLImageElement>>;
5
+ };
@@ -1,24 +1,20 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
2
+ import { ButtonHTMLAttributes } from 'react';
3
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 {}
4
+ sizes?: ButtonSizeType;
5
+ variant?: ButtonVariantType;
6
+ iconLeft?: IconListType;
7
+ iconLeftSize?: IconSizeType;
8
+ iconRightSize?: IconSizeType;
9
+ isLoading?: boolean;
10
+ };
11
+ type ConditionButtonIconType = {
12
+ onlyIcon?: never;
13
+ iconRight?: IconListType;
14
+ } | {
15
+ onlyIcon?: boolean;
16
+ iconRight?: never;
17
+ };
18
+ export type ButtonProps = CommonButtonType & ConditionButtonIconType;
19
+ export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
20
+ export {};
@@ -1,12 +1,10 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
2
+ import { ButtonHTMLAttributes } from 'react';
3
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
- >
4
+ variant?: ButtonCrossVariantsType;
5
+ size?: ButtonCrossSizesType;
6
+ };
7
+ export declare const ButtonCross: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
8
+ variant?: ButtonCrossVariantsType | undefined;
9
+ size?: ButtonCrossSizesType | undefined;
10
+ } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,14 +1,12 @@
1
1
  /// <reference types="react" />
2
- import * as PrimitiveCheckbox from '@radix-ui/react-checkbox'
3
- type CheckboxVariantsType = 'solid' | 'outline'
2
+ import * as PrimitiveCheckbox from '@radix-ui/react-checkbox';
3
+ type CheckboxVariantsType = 'solid' | 'outline';
4
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 {}
5
+ variants?: CheckboxVariantsType;
6
+ isError?: boolean;
7
+ };
8
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<PrimitiveCheckbox.CheckboxProps & {
9
+ variants?: CheckboxVariantsType | undefined;
10
+ isError?: boolean | undefined;
11
+ } & import("react").RefAttributes<HTMLButtonElement>>;
12
+ export {};
@@ -1,10 +1,8 @@
1
1
  /** libs */
2
- import { HTMLAttributes } from 'react'
2
+ import { HTMLAttributes } from 'react';
3
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
- >
4
+ variant?: ThemeVariantType;
5
+ };
6
+ export declare const Chip: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & {
7
+ variant?: ThemeVariantType | undefined;
8
+ } & import("react").RefAttributes<HTMLSpanElement>>;
@@ -1,4 +1,2 @@
1
- import { HTMLAttributes } from 'react'
2
- export declare const ColorPickerAction: import('react').ForwardRefExoticComponent<
3
- HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
4
- >
1
+ import { HTMLAttributes } from 'react';
2
+ export declare const ColorPickerAction: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
3
- export declare const ColorPickerApply: import('react').ForwardRefExoticComponent<
4
- ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
- >
2
+ import { ButtonHTMLAttributes } from 'react';
3
+ export declare const ColorPickerApply: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,5 +1,3 @@
1
1
  /** libs */
2
- import { ButtonHTMLAttributes } from 'react'
3
- export declare const ColorPickerDiscard: import('react').ForwardRefExoticComponent<
4
- ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>
5
- >
2
+ import { ButtonHTMLAttributes } from 'react';
3
+ export declare const ColorPickerDiscard: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,11 +1,9 @@
1
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
- >
2
+ import { HTMLAttributes, SyntheticEvent } from 'react';
3
+ export declare const ColorPickerImage: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
4
+ src?: string | undefined;
5
+ alt?: string | undefined;
6
+ isError?: boolean | undefined;
7
+ onUpload?: ((file: File | FileList) => void) | undefined;
8
+ onError?: ((error: SyntheticEvent<HTMLInputElement>) => void) | undefined;
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,8 +1,6 @@
1
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
- >
2
+ import { HTMLAttributes } from 'react';
3
+ export declare const ColorPickerPalette: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
4
+ hex?: string | undefined;
5
+ onChangeHex?: ((value: string) => void) | undefined;
6
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,34 +1,20 @@
1
1
  /** style */
2
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
- }
3
+ import { HTMLAttributes } from 'react';
4
+ export declare const ColorPickerRoot: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
+ export declare const ColorPicker: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
6
+ Action: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
7
+ Discard: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
8
+ Apply: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
9
+ Palette: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
10
+ hex?: string | undefined;
11
+ onChangeHex?: ((value: string) => void) | undefined;
12
+ } & import("react").RefAttributes<HTMLDivElement>>;
13
+ Image: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
14
+ src?: string | undefined;
15
+ alt?: string | undefined;
16
+ isError?: boolean | undefined;
17
+ onUpload?: ((file: File | FileList) => void) | undefined;
18
+ onError?: ((error: import("react").SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
19
+ } & import("react").RefAttributes<HTMLDivElement>>;
20
+ };
@@ -1,18 +1,16 @@
1
1
  /** libs */
2
- import { HTMLAttributes } from 'react'
2
+ import { HTMLAttributes } from 'react';
3
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
- >
4
+ icon?: IconListType;
5
+ size?: IconSizeType;
6
+ color?: ColorNameType;
7
+ shade?: ColorShadeType;
8
+ iconClassName?: string;
9
+ };
10
+ export declare const Icon: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & {
11
+ icon?: IconListType | undefined;
12
+ size?: IconSizeType | undefined;
13
+ color?: ColorNameType | undefined;
14
+ shade?: ColorShadeType | undefined;
15
+ iconClassName?: string | undefined;
16
+ } & import("react").RefAttributes<HTMLSpanElement>>;
@@ -1,4 +1,2 @@
1
- import { HTMLAttributes } from 'react'
2
- export declare const ImageInputActive: import('react').ForwardRefExoticComponent<
3
- HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>
4
- >
1
+ import { HTMLAttributes } from 'react';
2
+ export declare const ImageInputActive: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,13 +1,10 @@
1
- import { HTMLAttributes } from 'react'
1
+ import { HTMLAttributes } from 'react';
2
2
  /** types */
3
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
- >
4
+ size?: string;
5
+ ratio?: string;
6
+ } & HTMLAttributes<HTMLDivElement>;
7
+ export declare const ImageInputInactive: import("react").ForwardRefExoticComponent<{
8
+ size?: string | undefined;
9
+ ratio?: string | undefined;
10
+ } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;