@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.
- package/dist/src/components/NewComp/index.d.ts +2 -4
- package/dist/src/components/cms/BlockSuggestion/CardSuggestion.d.ts +5 -11
- package/dist/src/components/cms/BlockSuggestion/Navigation.d.ts +6 -8
- package/dist/src/components/cms/Breadcrumb/BreadcrumbItem.d.ts +2 -4
- package/dist/src/components/cms/Breadcrumb/BreadcrumbLink.d.ts +2 -4
- package/dist/src/components/cms/Breadcrumb/index.d.ts +5 -11
- package/dist/src/components/cms/TableButtonAddFilter/index.d.ts +2 -4
- package/dist/src/components/cms/TableButtonFilter/index.d.ts +7 -9
- package/dist/src/components/cms/TableLabelFiltered/index.d.ts +8 -10
- package/dist/src/components/cms/TableSorting/index.d.ts +10 -12
- package/dist/src/components/cms/TableTitle/index.d.ts +9 -15
- package/dist/src/components/generals/AlertBar/AlertBarAction.d.ts +2 -4
- package/dist/src/components/generals/AlertBar/AlertBarClose.d.ts +2 -4
- package/dist/src/components/generals/AlertBar/AlertBarText.d.ts +2 -4
- package/dist/src/components/generals/AlertBar/index.d.ts +14 -22
- package/dist/src/components/generals/Avatar/index.d.ts +4 -6
- package/dist/src/components/generals/Button/index.d.ts +18 -22
- package/dist/src/components/generals/ButtonCross/index.d.ts +8 -10
- package/dist/src/components/generals/Checkbox/index.d.ts +10 -12
- package/dist/src/components/generals/Chip/index.d.ts +6 -8
- package/dist/src/components/generals/ColorPicker/ColorPickerAction.d.ts +2 -4
- package/dist/src/components/generals/ColorPicker/ColorPickerApply.d.ts +2 -4
- package/dist/src/components/generals/ColorPicker/ColorPickerDiscard.d.ts +2 -4
- package/dist/src/components/generals/ColorPicker/ColorPickerImage.d.ts +8 -10
- package/dist/src/components/generals/ColorPicker/ColorPickerPalette.d.ts +5 -7
- package/dist/src/components/generals/ColorPicker/index.d.ts +18 -32
- package/dist/src/components/generals/Icon/index.d.ts +14 -16
- package/dist/src/components/generals/ImageInput/ImageInputActive.d.ts +2 -4
- package/dist/src/components/generals/ImageInput/ImageInputInactive.d.ts +8 -11
- package/dist/src/components/generals/ImageInput/index.d.ts +21 -32
- package/dist/src/components/generals/ImagePlaceholder/index.d.ts +14 -16
- package/dist/src/components/generals/ImagePreview/ImagePreviewError.d.ts +2 -4
- package/dist/src/components/generals/ImagePreview/ImagePreviewLoading.d.ts +2 -4
- package/dist/src/components/generals/ImagePreview/ImagePreviewOutput.d.ts +10 -12
- package/dist/src/components/generals/ImagePreview/index.d.ts +15 -25
- package/dist/src/components/generals/Logo/index.d.ts +8 -10
- package/dist/src/components/generals/MenuItem/index.d.ts +16 -18
- package/dist/src/components/generals/NumberSwitch/NumberSwitchButton.d.ts +6 -8
- package/dist/src/components/generals/NumberSwitch/NumberSwitchInput.d.ts +2 -4
- package/dist/src/components/generals/NumberSwitch/index.d.ts +14 -20
- package/dist/src/components/generals/Pagination/PaginationButton.d.ts +8 -10
- package/dist/src/components/generals/Pagination/PaginationInput.d.ts +2 -4
- package/dist/src/components/generals/Pagination/PaginationTotal.d.ts +2 -2
- package/dist/src/components/generals/Pagination/index.d.ts +15 -21
- package/dist/src/components/generals/PanelAccount/index.d.ts +6 -8
- package/dist/src/components/generals/PanelNotification/index.d.ts +7 -9
- package/dist/src/components/generals/PanelThumbnail/index.d.ts +8 -10
- package/dist/src/components/generals/PasswordField/index.d.ts +6 -8
- package/dist/src/components/generals/PhoneTextField/PhoneTextFieldCountrySelect.d.ts +22 -26
- package/dist/src/components/generals/PhoneTextField/PhoneTextFieldInput.d.ts +3 -5
- package/dist/src/components/generals/PhoneTextField/PhoneTextFieldReset.d.ts +2 -4
- package/dist/src/components/generals/PhoneTextField/index.d.ts +35 -47
- package/dist/src/components/generals/PinInput/index.d.ts +4 -305
- package/dist/src/components/generals/Popover/index.d.ts +9 -17
- package/dist/src/components/generals/Radio/index.d.ts +12 -14
- package/dist/src/components/generals/SegmentTab/index.d.ts +13 -19
- package/dist/src/components/generals/Select/SelectContent.d.ts +2 -4
- package/dist/src/components/generals/Select/SelectItem.d.ts +2 -4
- package/dist/src/components/generals/Select/SelectTrigger.d.ts +6 -8
- package/dist/src/components/generals/Select/index.d.ts +19 -29
- package/dist/src/components/generals/SheetTitle/SheetTitleAction.d.ts +2 -4
- package/dist/src/components/generals/SheetTitle/SheetTitleBack.d.ts +2 -4
- package/dist/src/components/generals/SheetTitle/SheetTitleButton.d.ts +2 -4
- package/dist/src/components/generals/SheetTitle/SheetTitleClose.d.ts +2 -4
- package/dist/src/components/generals/SheetTitle/SheetTitleText.d.ts +2 -4
- package/dist/src/components/generals/SheetTitle/index.d.ts +9 -23
- package/dist/src/components/generals/Slider/index.d.ts +2 -4
- package/dist/src/components/generals/Snackbar/SnackBarButton.d.ts +2 -4
- package/dist/src/components/generals/Snackbar/SnackbarClose.d.ts +2 -4
- package/dist/src/components/generals/Snackbar/SnackbarText.d.ts +2 -4
- package/dist/src/components/generals/Snackbar/index.d.ts +7 -17
- package/dist/src/components/generals/SnackbarMenu/SnackbarMenuContent.d.ts +7 -10
- package/dist/src/components/generals/SnackbarMenu/SnackbarMenuItem.d.ts +13 -17
- package/dist/src/components/generals/SnackbarMenu/SnackbarMenuTrigger.d.ts +9 -12
- package/dist/src/components/generals/SnackbarMenu/index.d.ts +42 -57
- package/dist/src/components/generals/StackTab/index.d.ts +5 -11
- package/dist/src/components/generals/Switch/index.d.ts +12 -14
- package/dist/src/components/generals/Tag/TagDelete.d.ts +2 -4
- package/dist/src/components/generals/Tag/TagText.d.ts +2 -4
- package/dist/src/components/generals/Tag/index.d.ts +5 -11
- package/dist/src/components/generals/Taxonomy/index.d.ts +10 -12
- package/dist/src/components/generals/TextArea/index.d.ts +6 -8
- package/dist/src/components/generals/TextField/index.d.ts +6 -8
- package/dist/src/components/generals/TextFieldAmount/TextFieldAmountInput.d.ts +3 -5
- package/dist/src/components/generals/TextFieldAmount/TextFieldAmountPrefix.d.ts +6 -8
- package/dist/src/components/generals/TextFieldAmount/index.d.ts +23 -31
- package/dist/src/components/generals/TextFieldGroup/TextFieldGroupLeftElement.d.ts +2 -4
- package/dist/src/components/generals/TextFieldGroup/TextFieldGroupRightElement.d.ts +2 -4
- package/dist/src/components/generals/TextFieldGroup/index.d.ts +5 -11
- package/dist/src/components/generals/TextFieldPercent/TextFieldPercentInput.d.ts +5 -7
- package/dist/src/components/generals/TextFieldPercent/TextFieldPercentSuffix.d.ts +6 -8
- package/dist/src/components/generals/TextFieldPercent/index.d.ts +23 -31
- package/dist/src/components/generals/TextFieldSlug/TextFieldSlugInput.d.ts +5 -7
- package/dist/src/components/generals/TextFieldSlug/TextFieldSlugPrefix.d.ts +6 -8
- package/dist/src/components/generals/TextFieldSlug/index.d.ts +19 -25
- package/dist/src/components/generals/Tooltip/index.d.ts +10 -14
- package/dist/src/components/generals/TouchPoint/TouchPointLabel.d.ts +7 -9
- package/dist/src/components/generals/TouchPoint/index.d.ts +2 -4
- package/dist/src/components/generals/Typo/index.d.ts +12 -14
- package/dist/src/components/generals/VariantField/VariantFieldColor.d.ts +2 -4
- package/dist/src/components/generals/VariantField/VariantFieldDelete.d.ts +2 -4
- package/dist/src/components/generals/VariantField/VariantFieldImage.d.ts +2 -4
- package/dist/src/components/generals/VariantField/VariantFieldText.d.ts +2 -4
- package/dist/src/components/generals/VariantField/index.d.ts +13 -23
- package/dist/src/components/generals/VeggieMenu/index.d.ts +6 -8
- package/dist/src/constants/Icon/index.d.ts +3 -3
- package/dist/src/functions/index.d.ts +5 -5
- package/dist/src/hooks/index.d.ts +6 -5
- package/dist/src/hooks/useClickOutside.d.ts +4 -4
- package/dist/src/hooks/useCopyToClipboard.d.ts +4 -4
- package/dist/src/hooks/useIsClient.d.ts +2 -2
- package/dist/src/hooks/useIsMounted.d.ts +2 -2
- package/dist/src/hooks/useIsomorphicLayoutEffect.d.ts +3 -3
- package/dist/src/hooks/useMergeRefs.d.ts +3 -3
- package/dist/src/index.d.ts +43 -43
- package/dist/style.css +2 -5576
- package/dist/vespa-design-system.cjs +100 -35249
- package/dist/vespa-design-system.js +26447 -35475
- package/dist/vespa-design-system.umd.cjs +145 -35479
- package/dist/vite.config.d.ts +2 -2
- 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(
|
|
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(
|
|
4
|
-
|
|
5
|
-
> &
|
|
6
|
-
|
|
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
|
-
|
|
6
|
-
}
|
|
7
|
-
export declare const Navigation: import(
|
|
8
|
-
|
|
9
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
4
|
-
|
|
5
|
-
> &
|
|
6
|
-
|
|
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(
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export type TableButtonFilterProps = ButtonHTMLAttributes<HTMLButtonElement> & ButtonFilterType
|
|
9
|
-
export declare const TableButtonFilter: import(
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const TableLabelFiltered: import(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export declare const TableSorting: import(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const TableTitleButton: import(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
6
|
-
}
|
|
7
|
-
export declare const AlertBarCtx: import(
|
|
5
|
+
variant?: AlertBarVariants;
|
|
6
|
+
};
|
|
7
|
+
export declare const AlertBarCtx: import("react").Context<{}>;
|
|
8
8
|
export type AlertBarProps = HTMLAttributes<HTMLDivElement> & {
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
export declare const AlertBar: import(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
> &
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
type ConditionButtonIconType =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export declare const ButtonCross: import(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export declare const Checkbox: import(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const Chip: import(
|
|
7
|
-
|
|
8
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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(
|
|
5
|
-
|
|
6
|
-
>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
> & {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export declare const Icon: import(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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(
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
} & HTMLAttributes<HTMLDivElement
|
|
7
|
-
export declare const ImageInputInactive: import(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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>>;
|