@vespiario-thailand/design-system 1.3.29 → 1.4.0
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/components/generals/AlertBar/AlertBarAction.d.ts +2 -2
- package/dist/components/generals/AlertBar/AlertBarClose.d.ts +2 -2
- package/dist/components/generals/AlertBar/AlertBarText.d.ts +2 -2
- package/dist/components/generals/AlertBar/index.d.ts +7 -7
- package/dist/components/generals/Avatar/index.d.ts +1 -1
- package/dist/components/generals/Button/index.d.ts +2 -3
- package/dist/components/generals/ButtonCross/index.d.ts +3 -4
- package/dist/components/generals/Checkbox/index.d.ts +2 -2
- package/dist/components/generals/Chip/index.d.ts +3 -4
- package/dist/components/generals/ColorPicker/ColorPickerAction.d.ts +2 -1
- package/dist/components/generals/ColorPicker/ColorPickerApply.d.ts +2 -2
- package/dist/components/generals/ColorPicker/ColorPickerDiscard.d.ts +2 -2
- package/dist/components/generals/ColorPicker/ColorPickerImage.d.ts +3 -3
- package/dist/components/generals/ColorPicker/ColorPickerPalette.d.ts +3 -3
- package/dist/components/generals/ColorPicker/index.d.ts +11 -11
- package/dist/components/generals/DatePicker/DatePickerCaption.d.ts +5 -2
- package/dist/components/generals/DatePicker/DatePickerHeadRow.d.ts +2 -2
- package/dist/components/generals/DatePicker/DatePickerInputButton.d.ts +5 -7
- package/dist/components/generals/DatePicker/DatePickerMonthSelector.d.ts +3 -3
- package/dist/components/generals/DatePicker/DatePickerRange.d.ts +3 -9
- package/dist/components/generals/DatePicker/DatePickerSingle.d.ts +3 -5
- package/dist/components/generals/DatePicker/DatePickerYearDDL.d.ts +3 -3
- package/dist/components/generals/DatePicker/index.d.ts +13 -15
- package/dist/components/generals/Icon/index.d.ts +3 -4
- package/dist/components/generals/ImageInput/ImageInputActive.d.ts +2 -1
- package/dist/components/generals/ImageInput/ImageInputInactive.d.ts +3 -2
- package/dist/components/generals/ImageInput/index.d.ts +8 -8
- package/dist/components/generals/ImagePlaceholder/index.d.ts +3 -4
- package/dist/components/generals/ImagePreview/index.d.ts +3 -3
- package/dist/components/generals/Logo/index.d.ts +3 -4
- package/dist/components/generals/MenuItem/index.d.ts +3 -4
- package/dist/components/generals/NumberSwitch/NumberSwitchButton.d.ts +3 -3
- package/dist/components/generals/NumberSwitch/NumberSwitchInput.d.ts +2 -2
- package/dist/components/generals/NumberSwitch/index.d.ts +7 -7
- package/dist/components/generals/Pagination/PaginationButton.d.ts +3 -3
- package/dist/components/generals/Pagination/PaginationInput.d.ts +2 -2
- package/dist/components/generals/Pagination/PaginationTotal.d.ts +1 -1
- package/dist/components/generals/Pagination/index.d.ts +7 -8
- package/dist/components/generals/PanelAccount/index.d.ts +2 -2
- package/dist/components/generals/PanelNotification/index.d.ts +3 -6
- package/dist/components/generals/PanelThumbnail/index.d.ts +2 -2
- package/dist/components/generals/PasswordField/index.d.ts +3 -3
- package/dist/components/generals/PhoneTextField/PhoneTextFieldCountrySelect.d.ts +5 -5
- package/dist/components/generals/PhoneTextField/PhoneTextFieldInput.d.ts +3 -2
- package/dist/components/generals/PhoneTextField/PhoneTextFieldReset.d.ts +2 -2
- package/dist/components/generals/PhoneTextField/index.d.ts +15 -16
- package/dist/components/generals/PinInput/index.d.ts +2 -2
- package/dist/components/generals/Popover/index.d.ts +5 -5
- package/dist/components/generals/Radio/index.d.ts +2 -2
- package/dist/components/generals/SegmentTab/index.d.ts +5 -6
- package/dist/components/generals/Select/SelectContent.d.ts +1 -1
- package/dist/components/generals/Select/SelectItem.d.ts +1 -1
- package/dist/components/generals/Select/SelectTrigger.d.ts +4 -2
- package/dist/components/generals/Select/index.d.ts +13 -9
- package/dist/components/generals/SheetTitle/SheetTitleAction.d.ts +2 -2
- package/dist/components/generals/SheetTitle/SheetTitleBack.d.ts +2 -2
- package/dist/components/generals/SheetTitle/SheetTitleButton.d.ts +2 -3
- package/dist/components/generals/SheetTitle/SheetTitleClose.d.ts +2 -2
- package/dist/components/generals/SheetTitle/SheetTitleText.d.ts +2 -2
- package/dist/components/generals/SheetTitle/index.d.ts +8 -8
- package/dist/components/generals/Slider/index.d.ts +1 -1
- package/dist/components/generals/Snackbar/SnackBarButton.d.ts +2 -2
- package/dist/components/generals/Snackbar/SnackbarClose.d.ts +2 -2
- package/dist/components/generals/Snackbar/SnackbarText.d.ts +2 -2
- package/dist/components/generals/Snackbar/index.d.ts +6 -6
- package/dist/components/generals/SnackbarMenu/SnackbarMenuContent.d.ts +3 -4
- package/dist/components/generals/SnackbarMenu/SnackbarMenuItem.d.ts +8 -9
- package/dist/components/generals/SnackbarMenu/SnackbarMenuTrigger.d.ts +7 -7
- package/dist/components/generals/SnackbarMenu/index.d.ts +23 -23
- package/dist/components/generals/StackTab/index.d.ts +3 -3
- package/dist/components/generals/Switch/index.d.ts +2 -2
- package/dist/components/generals/Tag/TagDelete.d.ts +2 -2
- package/dist/components/generals/Tag/TagText.d.ts +2 -1
- package/dist/components/generals/Tag/index.d.ts +4 -4
- package/dist/components/generals/Taxonomy/index.d.ts +5 -3
- package/dist/components/generals/TextArea/index.d.ts +3 -3
- package/dist/components/generals/TextField/index.d.ts +3 -3
- package/dist/components/generals/TextFieldAmount/TextFieldAmountInput.d.ts +2 -2
- package/dist/components/generals/TextFieldAmount/TextFieldAmountPrefix.d.ts +3 -3
- package/dist/components/generals/TextFieldAmount/index.d.ts +10 -10
- package/dist/components/generals/TextFieldGroup/TextFieldGroupLeftElement.d.ts +2 -2
- package/dist/components/generals/TextFieldGroup/TextFieldGroupRightElement.d.ts +2 -2
- package/dist/components/generals/TextFieldGroup/index.d.ts +4 -4
- package/dist/components/generals/TextFieldPercent/TextFieldPercentInput.d.ts +3 -4
- package/dist/components/generals/TextFieldPercent/TextFieldPercentSuffix.d.ts +3 -3
- package/dist/components/generals/TextFieldPercent/index.d.ts +10 -10
- package/dist/components/generals/TextFieldSlug/TextFieldSlugInput.d.ts +3 -4
- package/dist/components/generals/TextFieldSlug/TextFieldSlugPrefix.d.ts +3 -3
- package/dist/components/generals/TextFieldSlug/index.d.ts +8 -8
- package/dist/components/generals/Tooltip/index.d.ts +6 -7
- package/dist/components/generals/TouchPoint/TouchPointLabel.d.ts +3 -4
- package/dist/components/generals/TouchPoint/index.d.ts +2 -2
- package/dist/components/generals/VariantField/VariantFieldColor.d.ts +2 -2
- package/dist/components/generals/VariantField/VariantFieldDelete.d.ts +2 -2
- package/dist/components/generals/VariantField/VariantFieldImage.d.ts +1 -1
- package/dist/components/generals/VariantField/VariantFieldText.d.ts +4 -2
- package/dist/components/generals/VariantField/index.d.ts +8 -6
- package/dist/components/generals/VeggieMenu/index.d.ts +3 -3
- package/dist/constants/icon.d.ts +1 -1
- package/dist/custom-theme.cjs +29 -46
- package/dist/functions/index.d.ts +1 -0
- package/dist/hooks/useClickOutside.d.ts +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +1 -0
- package/dist/hooks/useMergeRefs.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/vespa-design-system.js +11566 -29407
- package/dist/vespa-design-system.umd.cjs +55 -200
- package/package.json +21 -7
- package/dist/dummy-thumbnail-image.png +0 -0
- package/dist/fonts/vespiariocondenseditalic-regular-webfont.woff +0 -0
- package/dist/fonts/vespiariocondenseditalic-regular-webfont.woff2 +0 -0
- package/dist/fonts/vespiariothai-bold-webfont.woff +0 -0
- package/dist/fonts/vespiariothai-bold-webfont.woff2 +0 -0
- package/dist/fonts/vespiariothai-regular-webfont.woff +0 -0
- package/dist/fonts/vespiariothai-regular-webfont.woff2 +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const AlertBarAction: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const AlertBarClose: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const AlertBarText: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
export type AlertBarVariants = 'info' | 'info-light' | 'success' | 'warning';
|
|
4
4
|
export type AlertBarCtxType = {
|
|
5
5
|
variant?: AlertBarVariants;
|
|
6
6
|
};
|
|
7
|
-
export declare const AlertBarCtx: import(
|
|
7
|
+
export declare const AlertBarCtx: import('react').Context<{}>;
|
|
8
8
|
export type AlertBarProps = HTMLAttributes<HTMLDivElement> & {
|
|
9
9
|
variant?: AlertBarVariants;
|
|
10
10
|
};
|
|
11
|
-
export declare const AlertBar: import(
|
|
11
|
+
export declare const AlertBar: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
12
12
|
variant?: AlertBarVariants | undefined;
|
|
13
|
-
} & import(
|
|
14
|
-
Action: import(
|
|
15
|
-
Close: import(
|
|
16
|
-
Text: import(
|
|
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
17
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as PrimitiveAvatar from '@radix-ui/react-avatar';
|
|
2
2
|
export declare const Avatar: ((props: PrimitiveAvatar.AvatarProps) => JSX.Element) & {
|
|
3
3
|
Fallback: (props: PrimitiveAvatar.AvatarFallbackProps) => JSX.Element;
|
|
4
|
-
Image: import(
|
|
4
|
+
Image: import('react').ForwardRefExoticComponent<PrimitiveAvatar.AvatarImageProps & import('react').RefAttributes<HTMLImageElement>>;
|
|
5
5
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
/** types */
|
|
4
2
|
import { SizeType, IconListType, IconSizeType } from '../../../types';
|
|
3
|
+
|
|
5
4
|
type ButtonBackgroundColorType = 'blue' | 'green' | 'light-green' | 'yellow' | 'dark' | 'light';
|
|
6
5
|
type ButtonBackgroundShadeType = 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
7
6
|
type CommonButtonType = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -38,5 +37,5 @@ type ConditionButtonColorsType = {
|
|
|
38
37
|
contentShade?: never;
|
|
39
38
|
};
|
|
40
39
|
export type ButtonProps = CommonButtonType & ConditionButtonIconType & ConditionButtonColorsType;
|
|
41
|
-
export declare const Button: import(
|
|
40
|
+
export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
42
41
|
export {};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
/** types */
|
|
4
2
|
import { ButtonCrossVariantType, ButtonCrossSizeType } from '../../../types';
|
|
3
|
+
|
|
5
4
|
export type ButtonCrossProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
5
|
variant?: ButtonCrossVariantType;
|
|
7
6
|
size?: ButtonCrossSizeType;
|
|
8
7
|
};
|
|
9
|
-
export declare const ButtonCross: import(
|
|
8
|
+
export declare const ButtonCross: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
10
9
|
variant?: ButtonCrossVariantType | undefined;
|
|
11
10
|
size?: ButtonCrossSizeType | undefined;
|
|
12
|
-
} & import(
|
|
11
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -5,8 +5,8 @@ export type CheckboxProps = PrimitiveCheckbox.CheckboxProps & {
|
|
|
5
5
|
variants?: CheckboxVariantsType;
|
|
6
6
|
isError?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const Checkbox: import(
|
|
8
|
+
export declare const Checkbox: import('react').ForwardRefExoticComponent<PrimitiveCheckbox.CheckboxProps & {
|
|
9
9
|
variants?: CheckboxVariantsType | undefined;
|
|
10
10
|
isError?: boolean | undefined;
|
|
11
|
-
} & import(
|
|
11
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
/** types */
|
|
4
2
|
import { ThemeVariantType } from '../../../types';
|
|
3
|
+
|
|
5
4
|
export type ChipProps = HTMLAttributes<HTMLSpanElement> & {
|
|
6
5
|
variant?: ThemeVariantType;
|
|
7
6
|
};
|
|
8
|
-
export declare const Chip: import(
|
|
7
|
+
export declare const Chip: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & {
|
|
9
8
|
variant?: ThemeVariantType | undefined;
|
|
10
|
-
} & import(
|
|
9
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
export declare const ColorPickerAction: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const ColorPickerApply: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const ColorPickerDiscard: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes, SyntheticEvent } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const ColorPickerImage: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
src?: string | undefined;
|
|
5
5
|
alt?: string | undefined;
|
|
6
6
|
isError?: boolean | undefined;
|
|
7
7
|
onUpload?: ((file: File | FileList) => void) | undefined;
|
|
8
8
|
onError?: ((error: SyntheticEvent<HTMLInputElement>) => void) | undefined;
|
|
9
|
-
} & import(
|
|
9
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const ColorPickerPalette: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
hex?: string | undefined;
|
|
5
5
|
onChangeHex?: ((value: string) => void) | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
|
|
3
|
+
export declare const ColorPickerRoot: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export declare const ColorPicker: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
5
|
+
Action: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
Discard: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
Apply: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
Palette: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
9
9
|
hex?: string | undefined;
|
|
10
10
|
onChangeHex?: ((value: string) => void) | undefined;
|
|
11
|
-
} & import(
|
|
12
|
-
Image: import(
|
|
11
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
Image: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
13
13
|
src?: string | undefined;
|
|
14
14
|
alt?: string | undefined;
|
|
15
15
|
isError?: boolean | undefined;
|
|
16
16
|
onUpload?: ((file: File | FileList) => void) | undefined;
|
|
17
|
-
onError?: ((error: import(
|
|
18
|
-
} & import(
|
|
17
|
+
onError?: ((error: import('react').SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
|
|
18
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
19
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { CaptionProps } from 'react-day-picker';
|
|
2
|
+
|
|
3
3
|
/** types */
|
|
4
4
|
export type DatePickerCaptionProps = {
|
|
5
5
|
minYear?: number;
|
|
6
6
|
maxYear?: number;
|
|
7
7
|
} & CaptionProps;
|
|
8
|
-
export declare const DatePickerCaption:
|
|
8
|
+
export declare const DatePickerCaption: import('react').ForwardRefExoticComponent<{
|
|
9
|
+
minYear?: number | undefined;
|
|
10
|
+
maxYear?: number | undefined;
|
|
11
|
+
} & CaptionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const DatePickerHeaderRow: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & import('react').RefAttributes<HTMLTableRowElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
/** types */
|
|
4
4
|
export type DatePickerInputButtonProps = {
|
|
5
5
|
placeholder?: string;
|
|
@@ -7,13 +7,11 @@ export type DatePickerInputButtonProps = {
|
|
|
7
7
|
hideClearIcon?: boolean;
|
|
8
8
|
active?: boolean;
|
|
9
9
|
onClear?: () => void;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare const DatePickerInputButton: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
} & HTMLAttributes<HTMLButtonElement>;
|
|
11
|
+
export declare const DatePickerInputButton: import('react').ForwardRefExoticComponent<{
|
|
13
12
|
placeholder?: string | undefined;
|
|
14
13
|
value?: Date | undefined;
|
|
15
14
|
hideClearIcon?: boolean | undefined;
|
|
16
15
|
active?: boolean | undefined;
|
|
17
16
|
onClear?: (() => void) | undefined;
|
|
18
|
-
|
|
19
|
-
} & Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "placeholder"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
17
|
+
} & HTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
/** types */
|
|
4
4
|
export type DatePickerMonthSelectorProps = {
|
|
5
5
|
selectedMonth?: number;
|
|
@@ -7,9 +7,9 @@ export type DatePickerMonthSelectorProps = {
|
|
|
7
7
|
onPreviousMonth?: () => void;
|
|
8
8
|
onNextMonth?: () => void;
|
|
9
9
|
} & HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
export declare const DatePickerMonthSelector: import(
|
|
10
|
+
export declare const DatePickerMonthSelector: import('react').ForwardRefExoticComponent<{
|
|
11
11
|
selectedMonth?: number | undefined;
|
|
12
12
|
onSelectMonth?: ((month: number) => void) | undefined;
|
|
13
13
|
onPreviousMonth?: (() => void) | undefined;
|
|
14
14
|
onNextMonth?: (() => void) | undefined;
|
|
15
|
-
} & HTMLAttributes<HTMLDivElement> & import(
|
|
15
|
+
} & HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
2
|
import { DateRange } from 'react-day-picker';
|
|
3
|
+
|
|
4
4
|
/** types */
|
|
5
5
|
export type DatePickerRangeProps = {
|
|
6
6
|
verifyPortal?: boolean;
|
|
@@ -8,17 +8,11 @@ export type DatePickerRangeProps = {
|
|
|
8
8
|
maxYear?: number;
|
|
9
9
|
selectedDateRange?: DateRange;
|
|
10
10
|
onSelectDateRange?: (selectedDateRange?: DateRange) => void;
|
|
11
|
-
placeholderFrom?: string;
|
|
12
|
-
placeholderTo?: string;
|
|
13
|
-
formatDate?: string;
|
|
14
11
|
} & HTMLAttributes<HTMLDivElement>;
|
|
15
|
-
export declare const DatePickerRange: import(
|
|
12
|
+
export declare const DatePickerRange: import('react').ForwardRefExoticComponent<{
|
|
16
13
|
verifyPortal?: boolean | undefined;
|
|
17
14
|
minYear?: number | undefined;
|
|
18
15
|
maxYear?: number | undefined;
|
|
19
16
|
selectedDateRange?: DateRange | undefined;
|
|
20
17
|
onSelectDateRange?: ((selectedDateRange?: DateRange) => void) | undefined;
|
|
21
|
-
|
|
22
|
-
placeholderTo?: string | undefined;
|
|
23
|
-
formatDate?: string | undefined;
|
|
24
|
-
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
+
} & HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
/** types */
|
|
4
4
|
export type DatePickerSingleProps = {
|
|
5
5
|
verifyPortal?: boolean;
|
|
@@ -7,13 +7,11 @@ export type DatePickerSingleProps = {
|
|
|
7
7
|
maxYear?: number;
|
|
8
8
|
selectedDate?: Date;
|
|
9
9
|
onSelectDate?: (selectedDate?: Date) => void;
|
|
10
|
-
formatDate?: string;
|
|
11
10
|
} & HTMLAttributes<HTMLDivElement>;
|
|
12
|
-
export declare const DatePickerSingle: import(
|
|
11
|
+
export declare const DatePickerSingle: import('react').ForwardRefExoticComponent<{
|
|
13
12
|
verifyPortal?: boolean | undefined;
|
|
14
13
|
minYear?: number | undefined;
|
|
15
14
|
maxYear?: number | undefined;
|
|
16
15
|
selectedDate?: Date | undefined;
|
|
17
16
|
onSelectDate?: ((selectedDate?: Date) => void) | undefined;
|
|
18
|
-
|
|
19
|
-
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
} & HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
/** types */
|
|
4
4
|
export type DatePickerYearDDLProps = {
|
|
5
5
|
selectedYear?: number;
|
|
@@ -7,9 +7,9 @@ export type DatePickerYearDDLProps = {
|
|
|
7
7
|
maxYear?: number;
|
|
8
8
|
onSelectYear?: (year: number) => void;
|
|
9
9
|
} & HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
export declare const DatePickerYearDDL: import(
|
|
10
|
+
export declare const DatePickerYearDDL: import('react').ForwardRefExoticComponent<{
|
|
11
11
|
selectedYear?: number | undefined;
|
|
12
12
|
minYear?: number | undefined;
|
|
13
13
|
maxYear?: number | undefined;
|
|
14
14
|
onSelectYear?: ((year: number) => void) | undefined;
|
|
15
|
-
} & HTMLAttributes<HTMLDivElement> & import(
|
|
15
|
+
} & HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
2
|
import { DateRange } from 'react-day-picker';
|
|
3
|
+
|
|
4
4
|
/** types */
|
|
5
|
-
export type DatePickerCondition = {
|
|
6
|
-
mode?: 'single';
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
placeholderFrom?: never;
|
|
9
|
-
placeholderTo?: never;
|
|
10
|
-
} | {
|
|
11
|
-
mode?: 'range';
|
|
12
|
-
placeholder?: never;
|
|
13
|
-
placeholderFrom?: string;
|
|
14
|
-
placeholderTo?: string;
|
|
15
|
-
};
|
|
16
5
|
export type DatePickerProps = {
|
|
6
|
+
mode?: 'single' | 'range';
|
|
17
7
|
verifyPortal?: boolean;
|
|
18
8
|
minYear?: number;
|
|
19
9
|
maxYear?: number;
|
|
@@ -21,6 +11,14 @@ export type DatePickerProps = {
|
|
|
21
11
|
onSelectSingleDate?: (selectedSingleDate?: Date) => void;
|
|
22
12
|
selectedDateRange?: DateRange;
|
|
23
13
|
onSelectDateRange?: (selectedDateRange?: DateRange) => void;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
15
|
+
export declare const DatePicker: import('react').ForwardRefExoticComponent<{
|
|
16
|
+
mode?: "range" | "single" | undefined;
|
|
17
|
+
verifyPortal?: boolean | undefined;
|
|
18
|
+
minYear?: number | undefined;
|
|
19
|
+
maxYear?: number | undefined;
|
|
20
|
+
selectedSingleDate?: Date | undefined;
|
|
21
|
+
onSelectSingleDate?: ((selectedSingleDate?: Date) => void) | undefined;
|
|
22
|
+
selectedDateRange?: DateRange | undefined;
|
|
23
|
+
onSelectDateRange?: ((selectedDateRange?: DateRange) => void) | undefined;
|
|
24
|
+
} & HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
/** types */
|
|
4
2
|
import { ColorNameType, ColorShadeType, IconListType, IconSizeType } from '../../../types';
|
|
3
|
+
|
|
5
4
|
export type IconProps = HTMLAttributes<HTMLSpanElement> & {
|
|
6
5
|
icon?: IconListType;
|
|
7
6
|
size?: IconSizeType;
|
|
@@ -9,10 +8,10 @@ export type IconProps = HTMLAttributes<HTMLSpanElement> & {
|
|
|
9
8
|
shade?: ColorShadeType;
|
|
10
9
|
iconClassName?: string;
|
|
11
10
|
};
|
|
12
|
-
export declare const Icon: import(
|
|
11
|
+
export declare const Icon: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & {
|
|
13
12
|
icon?: IconListType | undefined;
|
|
14
13
|
size?: IconSizeType | undefined;
|
|
15
14
|
color?: ColorNameType | undefined;
|
|
16
15
|
shade?: ColorShadeType | undefined;
|
|
17
16
|
iconClassName?: string | undefined;
|
|
18
|
-
} & import(
|
|
17
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
export declare const ImageInputActive: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
2
3
|
/** types */
|
|
3
4
|
export type ImageInputInactiveProps = {
|
|
4
5
|
size?: string;
|
|
5
6
|
ratio?: string;
|
|
6
7
|
} & HTMLAttributes<HTMLDivElement>;
|
|
7
|
-
export declare const ImageInputInactive: import(
|
|
8
|
+
export declare const ImageInputInactive: import('react').ForwardRefExoticComponent<{
|
|
8
9
|
size?: string | undefined;
|
|
9
10
|
ratio?: string | undefined;
|
|
10
|
-
} & HTMLAttributes<HTMLDivElement> & import(
|
|
11
|
+
} & HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
/** types */
|
|
4
4
|
export type ImageInputProp = {
|
|
5
5
|
multiple?: boolean;
|
|
6
6
|
onUpload?: (file: File | FileList) => void;
|
|
7
7
|
isError?: boolean;
|
|
8
8
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
9
|
-
export declare const ImageInputRoot: import(
|
|
9
|
+
export declare const ImageInputRoot: import('react').ForwardRefExoticComponent<{
|
|
10
10
|
multiple?: boolean | undefined;
|
|
11
11
|
onUpload?: ((file: File | FileList) => void) | undefined;
|
|
12
12
|
isError?: boolean | undefined;
|
|
13
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> & import(
|
|
14
|
-
export declare const ImageInput: import(
|
|
13
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
export declare const ImageInput: import('react').ForwardRefExoticComponent<{
|
|
15
15
|
multiple?: boolean | undefined;
|
|
16
16
|
onUpload?: ((file: File | FileList) => void) | undefined;
|
|
17
17
|
isError?: boolean | undefined;
|
|
18
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> & import(
|
|
19
|
-
Active: import(
|
|
20
|
-
Inactive: import(
|
|
18
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>> & {
|
|
19
|
+
Active: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
|
+
Inactive: import('react').ForwardRefExoticComponent<{
|
|
21
21
|
size?: string | undefined;
|
|
22
22
|
ratio?: string | undefined;
|
|
23
|
-
} & import(
|
|
23
|
+
} & import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
24
24
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
/** types */
|
|
4
2
|
import { ColorNameType, ColorShadeType } from '../../../types';
|
|
3
|
+
|
|
5
4
|
type AspectRatioType = '1/1' | '3/4' | '4/3' | '16/9' | '16/10' | '21/9';
|
|
6
5
|
export type ImagePlaceholderProps = HTMLAttributes<HTMLDivElement> & {
|
|
7
6
|
bgColor?: ColorNameType;
|
|
@@ -10,11 +9,11 @@ export type ImagePlaceholderProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
10
9
|
imageNotFound?: boolean;
|
|
11
10
|
aspectRatio?: AspectRatioType;
|
|
12
11
|
};
|
|
13
|
-
export declare const ImagePlaceholder: import(
|
|
12
|
+
export declare const ImagePlaceholder: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
14
13
|
bgColor?: ColorNameType | undefined;
|
|
15
14
|
bgShade?: ColorShadeType | undefined;
|
|
16
15
|
isSmallThumbnail?: boolean | undefined;
|
|
17
16
|
imageNotFound?: boolean | undefined;
|
|
18
17
|
aspectRatio?: AspectRatioType | undefined;
|
|
19
|
-
} & import(
|
|
18
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
19
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes, MouseEvent } from 'react';
|
|
2
|
+
|
|
3
3
|
export type ImagePreviewProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
src?: string;
|
|
5
5
|
isError?: boolean;
|
|
6
6
|
isLoading?: boolean;
|
|
7
7
|
onClickRemoveImage?: (e: MouseEvent) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const ImagePreview: import(
|
|
9
|
+
export declare const ImagePreview: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
10
10
|
src?: string | undefined;
|
|
11
11
|
isError?: boolean | undefined;
|
|
12
12
|
isLoading?: boolean | undefined;
|
|
13
13
|
onClickRemoveImage?: ((e: MouseEvent) => void) | undefined;
|
|
14
|
-
} & import(
|
|
14
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
/** types */
|
|
4
2
|
import { LogoVariantType } from '../../../types';
|
|
3
|
+
|
|
5
4
|
export type LogoProps = HTMLAttributes<HTMLImageElement> & {
|
|
6
5
|
logoVariants?: LogoVariantType;
|
|
7
6
|
alt?: string;
|
|
8
7
|
};
|
|
9
|
-
export declare const Logo: import(
|
|
8
|
+
export declare const Logo: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLImageElement> & {
|
|
10
9
|
logoVariants?: LogoVariantType | undefined;
|
|
11
10
|
alt?: string | undefined;
|
|
12
|
-
} & import(
|
|
11
|
+
} & import('react').RefAttributes<HTMLImageElement>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
/** types */
|
|
4
2
|
import { IconListType, ThemeVariantType } from '../../../types';
|
|
3
|
+
|
|
5
4
|
type MenuItemTextStyles = 'regular' | 'italic';
|
|
6
5
|
export type MenuItemProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
7
6
|
disabled?: boolean;
|
|
@@ -10,11 +9,11 @@ export type MenuItemProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
10
9
|
textStyle?: MenuItemTextStyles;
|
|
11
10
|
theme?: ThemeVariantType;
|
|
12
11
|
};
|
|
13
|
-
export declare const MenuItem: import(
|
|
12
|
+
export declare const MenuItem: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
14
13
|
disabled?: boolean | undefined;
|
|
15
14
|
icon?: IconListType | undefined;
|
|
16
15
|
selected?: boolean | undefined;
|
|
17
16
|
textStyle?: MenuItemTextStyles | undefined;
|
|
18
17
|
theme?: ThemeVariantType | undefined;
|
|
19
|
-
} & import(
|
|
18
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
20
19
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
export type NumberSwitchButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
4
4
|
variant?: 'decrease' | 'increase';
|
|
5
5
|
};
|
|
6
|
-
export declare const NumberSwitchButton: import(
|
|
6
|
+
export declare const NumberSwitchButton: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
7
7
|
variant?: "decrease" | "increase" | undefined;
|
|
8
|
-
} & import(
|
|
8
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { InputHTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const NumberSwitchInput: import('react').ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
export type NumberSwitchCtxType = {
|
|
4
4
|
isError?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare const NumberSwitchCtx: import(
|
|
6
|
+
export declare const NumberSwitchCtx: import('react').Context<NumberSwitchCtxType>;
|
|
7
7
|
export type NumberSwitchProps = HTMLAttributes<HTMLDivElement> & {
|
|
8
8
|
isError?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare const NumberSwitch: import(
|
|
10
|
+
export declare const NumberSwitch: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
11
11
|
isError?: boolean | undefined;
|
|
12
|
-
} & import(
|
|
13
|
-
Button: import(
|
|
12
|
+
} & import('react').RefAttributes<HTMLInputElement>> & {
|
|
13
|
+
Button: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
14
14
|
variant?: "decrease" | "increase" | undefined;
|
|
15
|
-
} & import(
|
|
16
|
-
Input: import(
|
|
15
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
Input: import('react').ForwardRefExoticComponent<import('react').InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>>;
|
|
17
17
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
3
|
type DirectionType = 'next' | 'prev';
|
|
4
4
|
export type PaginationButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5
5
|
direction?: DirectionType;
|
|
6
6
|
};
|
|
7
|
-
export declare const PaginationButton: import(
|
|
7
|
+
export declare const PaginationButton: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
8
8
|
direction?: DirectionType | undefined;
|
|
9
|
-
} & import(
|
|
9
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** libs */
|
|
2
1
|
import { InputHTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
export declare const PaginationInput: import('react').ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>>;
|