@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.
- package/dist/index.d.ts +1 -38
- package/dist/src/components/NewComp/index.d.ts +7 -0
- package/dist/src/components/cms/BlockSuggestion/CardSuggestion.d.ts +12 -0
- package/dist/src/components/cms/BlockSuggestion/Navigation.d.ts +11 -0
- package/dist/src/components/cms/Breadcrumb/BreadcrumbItem.d.ts +5 -0
- package/dist/src/components/cms/Breadcrumb/BreadcrumbLink.d.ts +5 -0
- package/dist/src/components/cms/Breadcrumb/index.d.ts +12 -0
- package/dist/src/components/cms/TableButtonAddFilter/index.d.ts +5 -0
- package/dist/src/components/cms/TableButtonFilter/index.d.ts +11 -0
- package/dist/src/components/cms/TableLabelFiltered/index.d.ts +11 -0
- package/dist/src/components/cms/TableSorting/index.d.ts +14 -0
- package/dist/src/components/cms/TableTitle/index.d.ts +17 -0
- package/dist/src/components/generals/AlertBar/AlertBarAction.d.ts +5 -0
- package/dist/src/components/generals/AlertBar/AlertBarClose.d.ts +5 -0
- package/dist/src/components/generals/AlertBar/AlertBarText.d.ts +5 -0
- package/dist/src/components/generals/AlertBar/index.d.ts +25 -0
- package/dist/src/components/generals/Avatar/index.d.ts +7 -0
- package/dist/src/components/generals/Button/index.d.ts +24 -0
- package/dist/src/components/generals/ButtonCross/index.d.ts +12 -0
- package/dist/src/components/generals/Checkbox/index.d.ts +14 -0
- package/dist/src/components/generals/Chip/index.d.ts +10 -0
- package/dist/src/components/generals/ColorPicker/ColorPickerAction.d.ts +4 -0
- package/dist/src/components/generals/ColorPicker/ColorPickerApply.d.ts +5 -0
- package/dist/src/components/generals/ColorPicker/ColorPickerDiscard.d.ts +5 -0
- package/dist/src/components/generals/ColorPicker/ColorPickerImage.d.ts +11 -0
- package/dist/src/components/generals/ColorPicker/ColorPickerPalette.d.ts +8 -0
- package/dist/src/components/generals/ColorPicker/index.d.ts +34 -0
- package/dist/src/components/generals/Icon/index.d.ts +18 -0
- package/dist/src/components/generals/ImageInput/ImageInputActive.d.ts +4 -0
- package/dist/src/components/generals/ImageInput/ImageInputInactive.d.ts +13 -0
- package/dist/src/components/generals/ImageInput/index.d.ts +35 -0
- package/dist/src/components/generals/ImagePlaceholder/index.d.ts +18 -0
- package/dist/src/components/generals/ImagePreview/ImagePreviewError.d.ts +5 -0
- package/dist/src/components/generals/ImagePreview/ImagePreviewLoading.d.ts +5 -0
- package/dist/src/components/generals/ImagePreview/ImagePreviewOutput.d.ts +15 -0
- package/dist/src/components/generals/ImagePreview/index.d.ts +26 -0
- package/dist/src/components/generals/Logo/index.d.ts +12 -0
- package/dist/src/components/generals/MenuItem/index.d.ts +20 -0
- package/dist/src/components/generals/NumberSwitch/NumberSwitchButton.d.ts +10 -0
- package/dist/src/components/generals/NumberSwitch/NumberSwitchInput.d.ts +5 -0
- package/dist/src/components/generals/NumberSwitch/index.d.ts +23 -0
- package/dist/src/components/generals/Pagination/PaginationButton.d.ts +12 -0
- package/dist/src/components/generals/Pagination/PaginationInput.d.ts +5 -0
- package/dist/src/components/generals/Pagination/PaginationTotal.d.ts +3 -0
- package/dist/src/components/generals/Pagination/index.d.ts +24 -0
- package/dist/src/components/generals/PanelAccount/index.d.ts +10 -0
- package/dist/src/components/generals/PanelNotification/index.d.ts +11 -0
- package/dist/src/components/generals/PanelThumbnail/index.d.ts +12 -0
- package/dist/src/components/generals/PasswordField/index.d.ts +11 -0
- package/dist/src/components/generals/PhoneTextField/PhoneTextFieldCountrySelect.d.ts +29 -0
- package/dist/src/components/generals/PhoneTextField/PhoneTextFieldInput.d.ts +6 -0
- package/dist/src/components/generals/PhoneTextField/PhoneTextFieldReset.d.ts +5 -0
- package/dist/src/components/generals/PhoneTextField/index.d.ts +51 -0
- package/dist/src/components/generals/PinInput/index.d.ts +308 -0
- package/dist/src/components/generals/Popover/index.d.ts +19 -0
- package/dist/src/components/generals/Radio/index.d.ts +18 -0
- package/dist/src/components/generals/SegmentTab/index.d.ts +21 -0
- package/dist/src/components/generals/Select/SelectContent.d.ts +5 -0
- package/dist/src/components/generals/Select/SelectItem.d.ts +5 -0
- package/dist/src/components/generals/Select/SelectTrigger.d.ts +10 -0
- package/dist/src/components/generals/Select/index.d.ts +34 -0
- package/dist/src/components/generals/SheetTitle/SheetTitleAction.d.ts +5 -0
- package/dist/src/components/generals/SheetTitle/SheetTitleBack.d.ts +5 -0
- package/dist/src/components/generals/SheetTitle/SheetTitleButton.d.ts +6 -0
- package/dist/src/components/generals/SheetTitle/SheetTitleClose.d.ts +5 -0
- package/dist/src/components/generals/SheetTitle/SheetTitleText.d.ts +5 -0
- package/dist/src/components/generals/SheetTitle/index.d.ts +24 -0
- package/dist/src/components/generals/Slider/index.d.ts +5 -0
- package/dist/src/components/generals/Snackbar/SnackBarButton.d.ts +5 -0
- package/dist/src/components/generals/Snackbar/SnackbarClose.d.ts +5 -0
- package/dist/src/components/generals/Snackbar/SnackbarText.d.ts +5 -0
- package/dist/src/components/generals/Snackbar/index.d.ts +18 -0
- package/dist/src/components/generals/SnackbarMenu/SnackbarMenuContent.d.ts +14 -0
- package/dist/src/components/generals/SnackbarMenu/SnackbarMenuItem.d.ts +21 -0
- package/dist/src/components/generals/SnackbarMenu/SnackbarMenuTrigger.d.ts +13 -0
- package/dist/src/components/generals/SnackbarMenu/index.d.ts +62 -0
- package/dist/src/components/generals/StackTab/index.d.ts +12 -0
- package/dist/src/components/generals/Switch/index.d.ts +17 -0
- package/dist/src/components/generals/Tag/TagDelete.d.ts +5 -0
- package/dist/src/components/generals/Tag/TagText.d.ts +5 -0
- package/dist/src/components/generals/Tag/index.d.ts +12 -0
- package/dist/src/components/generals/Taxonomy/index.d.ts +15 -0
- package/dist/src/components/generals/TextArea/index.d.ts +11 -0
- package/dist/src/components/generals/TextField/index.d.ts +10 -0
- package/dist/src/components/generals/TextFieldAmount/TextFieldAmountInput.d.ts +6 -0
- package/dist/src/components/generals/TextFieldAmount/TextFieldAmountPrefix.d.ts +10 -0
- package/dist/src/components/generals/TextFieldAmount/index.d.ts +34 -0
- package/dist/src/components/generals/TextFieldGroup/TextFieldGroupLeftElement.d.ts +5 -0
- package/dist/src/components/generals/TextFieldGroup/TextFieldGroupRightElement.d.ts +5 -0
- package/dist/src/components/generals/TextFieldGroup/index.d.ts +12 -0
- package/dist/src/components/generals/TextFieldPercent/TextFieldPercentInput.d.ts +9 -0
- package/dist/src/components/generals/TextFieldPercent/TextFieldPercentSuffix.d.ts +10 -0
- package/dist/src/components/generals/TextFieldPercent/index.d.ts +34 -0
- package/dist/src/components/generals/TextFieldSlug/TextFieldSlugInput.d.ts +9 -0
- package/dist/src/components/generals/TextFieldSlug/TextFieldSlugPrefix.d.ts +10 -0
- package/dist/src/components/generals/TextFieldSlug/index.d.ts +28 -0
- package/dist/src/components/generals/Tooltip/index.d.ts +17 -0
- package/dist/src/components/generals/TouchPoint/TouchPointLabel.d.ts +10 -0
- package/dist/src/components/generals/TouchPoint/index.d.ts +5 -0
- package/dist/src/components/generals/Typo/index.d.ts +16 -0
- package/dist/src/components/generals/VariantField/VariantFieldColor.d.ts +5 -0
- package/dist/src/components/generals/VariantField/VariantFieldDelete.d.ts +5 -0
- package/dist/src/components/generals/VariantField/VariantFieldImage.d.ts +5 -0
- package/dist/src/components/generals/VariantField/VariantFieldText.d.ts +5 -0
- package/dist/src/components/generals/VariantField/index.d.ts +26 -0
- package/dist/src/components/generals/VeggieMenu/index.d.ts +10 -0
- package/dist/src/constants/Icon/index.d.ts +3 -0
- package/dist/{functions → src/functions}/index.d.ts +5 -5
- package/dist/src/hooks/index.d.ts +5 -0
- package/dist/src/hooks/useClickOutside.d.ts +5 -0
- package/dist/src/hooks/useCopyToClipboard.d.ts +4 -0
- package/dist/src/hooks/useIsClient.d.ts +2 -0
- package/dist/src/hooks/useIsMounted.d.ts +2 -0
- package/dist/src/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/dist/{hooks → src/hooks}/useMergeRefs.d.ts +3 -3
- package/dist/src/index.d.ts +45 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/style.css +5576 -2
- package/dist/vespa-design-system.cjs +35249 -100
- package/dist/vespa-design-system.js +38856 -0
- package/dist/vespa-design-system.umd.cjs +35479 -145
- package/dist/vite.config.d.ts +2 -0
- package/package.json +6 -5
- package/dist/components/cms/Breadcrumb/BreadcrumbItem.d.ts +0 -3
- package/dist/components/cms/Breadcrumb/BreadcrumbLink.d.ts +0 -3
- package/dist/components/cms/Breadcrumb/index.d.ts +0 -6
- package/dist/components/cms/Taxonomy/index.d.ts +0 -13
- package/dist/components/generals/AlertBar/AlertBarAction.d.ts +0 -3
- package/dist/components/generals/AlertBar/AlertBarClose.d.ts +0 -3
- package/dist/components/generals/AlertBar/AlertBarText.d.ts +0 -3
- package/dist/components/generals/AlertBar/index.d.ts +0 -17
- package/dist/components/generals/Avatar/index.d.ts +0 -5
- package/dist/components/generals/Button/index.d.ts +0 -20
- package/dist/components/generals/ButtonCross/index.d.ts +0 -10
- package/dist/components/generals/Chip/index.d.ts +0 -8
- package/dist/components/generals/Icon/index.d.ts +0 -16
- package/dist/components/generals/ImagePlaceholder/index.d.ts +0 -16
- package/dist/components/generals/Logo/index.d.ts +0 -10
- package/dist/components/generals/MenuItem/index.d.ts +0 -18
- package/dist/components/generals/NumberSwitch/NumberSwitchButton.d.ts +0 -8
- package/dist/components/generals/NumberSwitch/NumberSwitchInput.d.ts +0 -3
- package/dist/components/generals/NumberSwitch/index.d.ts +0 -17
- package/dist/components/generals/PanelAccount/index.d.ts +0 -8
- package/dist/components/generals/PanelNotification/index.d.ts +0 -9
- package/dist/components/generals/PanelThumbnail/index.d.ts +0 -10
- package/dist/components/generals/PasswordField/index.d.ts +0 -9
- package/dist/components/generals/PinInput/index.d.ts +0 -6
- package/dist/components/generals/Popover/index.d.ts +0 -11
- package/dist/components/generals/SegmentTab/index.d.ts +0 -15
- package/dist/components/generals/Select/SelectContent.d.ts +0 -2
- package/dist/components/generals/Select/SelectItem.d.ts +0 -2
- package/dist/components/generals/Select/SelectTrigger.d.ts +0 -7
- package/dist/components/generals/Select/index.d.ts +0 -25
- package/dist/components/generals/SheetTitle/SheetTitleAction.d.ts +0 -3
- package/dist/components/generals/SheetTitle/SheetTitleBack.d.ts +0 -3
- package/dist/components/generals/SheetTitle/SheetTitleButton.d.ts +0 -3
- package/dist/components/generals/SheetTitle/SheetTitleClose.d.ts +0 -3
- package/dist/components/generals/SheetTitle/SheetTitleText.d.ts +0 -3
- package/dist/components/generals/SheetTitle/index.d.ts +0 -10
- package/dist/components/generals/Slider/index.d.ts +0 -2
- package/dist/components/generals/Snackbar/SnackBarButton.d.ts +0 -3
- package/dist/components/generals/Snackbar/SnackbarClose.d.ts +0 -3
- package/dist/components/generals/Snackbar/SnackbarText.d.ts +0 -3
- package/dist/components/generals/Snackbar/index.d.ts +0 -8
- package/dist/components/generals/SnackbarMenu/SnackbarMenuContent.d.ts +0 -11
- package/dist/components/generals/SnackbarMenu/SnackbarMenuItem.d.ts +0 -17
- package/dist/components/generals/SnackbarMenu/SnackbarMenuTrigger.d.ts +0 -9
- package/dist/components/generals/SnackbarMenu/index.d.ts +0 -47
- package/dist/components/generals/StackTab/index.d.ts +0 -6
- package/dist/components/generals/Switch/index.d.ts +0 -14
- package/dist/components/generals/Tag/TagDelete.d.ts +0 -3
- package/dist/components/generals/Tag/TagText.d.ts +0 -3
- package/dist/components/generals/Tag/index.d.ts +0 -6
- package/dist/components/generals/TextArea/index.d.ts +0 -9
- package/dist/components/generals/TextField/index.d.ts +0 -8
- package/dist/components/generals/TextFieldAmount/TextFieldAmountInput.d.ts +0 -3
- package/dist/components/generals/TextFieldAmount/TextFieldAmountPrefix.d.ts +0 -8
- package/dist/components/generals/TextFieldAmount/index.d.ts +0 -26
- package/dist/components/generals/TextFieldGroup/TextFieldGroupLeftElement.d.ts +0 -3
- package/dist/components/generals/TextFieldGroup/TextFieldGroupRightElement.d.ts +0 -3
- package/dist/components/generals/TextFieldGroup/index.d.ts +0 -6
- package/dist/components/generals/TextFieldPercent/TextFieldPercentInput.d.ts +0 -6
- package/dist/components/generals/TextFieldPercent/TextFieldPercentSuffix.d.ts +0 -8
- package/dist/components/generals/TextFieldPercent/index.d.ts +0 -26
- package/dist/components/generals/TextFieldSlug/TextFieldSlugInput.d.ts +0 -6
- package/dist/components/generals/TextFieldSlug/TextFieldSlugPrefix.d.ts +0 -8
- package/dist/components/generals/TextFieldSlug/index.d.ts +0 -22
- package/dist/components/generals/Tooltip/index.d.ts +0 -12
- package/dist/components/generals/TouchPoint/TouchPointLabel.d.ts +0 -8
- package/dist/components/generals/TouchPoint/index.d.ts +0 -3
- package/dist/components/generals/Typo/index.d.ts +0 -14
- package/dist/components/generals/VariantField/VariantFieldColor.d.ts +0 -3
- package/dist/components/generals/VariantField/VariantFieldDelete.d.ts +0 -3
- package/dist/components/generals/VariantField/VariantFieldImage.d.ts +0 -3
- package/dist/components/generals/VariantField/VariantFieldText.d.ts +0 -3
- package/dist/components/generals/VariantField/index.d.ts +0 -16
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/useClickOutside.d.ts +0 -5
- package/dist/hooks/useIsClient.d.ts +0 -2
- package/dist/hooks/useIsMounted.d.ts +0 -2
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
- package/dist/types/Button/index.d.ts +0 -2
- package/dist/types/ButtonCross/index.d.ts +0 -2
- package/dist/types/Colors/index.d.ts +0 -2
- package/dist/types/Global/index.d.ts +0 -8
- package/dist/types/Icon/index.d.ts +0 -87
- package/dist/types/ImagePlaceholder/index.d.ts +0 -1
- package/dist/types/Typo/index.d.ts +0 -11
- package/dist/vespa-design-system.js.gz +0 -0
- package/dist/vite-env.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,38 +1 @@
|
|
|
1
|
-
|
|
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,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,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,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,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,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,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,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,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 {}
|