@rehagro/ui 1.0.48 → 1.0.49
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.mts +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.js +805 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +805 -35
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -502,6 +502,37 @@ type SelectMultipleProps = SelectBaseProps & {
|
|
|
502
502
|
type SelectProps = SelectSingleProps | SelectMultipleProps;
|
|
503
503
|
declare const Select: React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
504
504
|
|
|
505
|
+
type DateSelectMode = "interval" | "day" | "month" | "year";
|
|
506
|
+
type DateSelectValue = {
|
|
507
|
+
mode: DateSelectMode;
|
|
508
|
+
year?: number;
|
|
509
|
+
month?: number;
|
|
510
|
+
day?: number;
|
|
511
|
+
startDate?: Date;
|
|
512
|
+
endDate?: Date;
|
|
513
|
+
};
|
|
514
|
+
type DateSelectProps = DateSelectBaseProps;
|
|
515
|
+
type DateSelectBaseProps = {
|
|
516
|
+
label?: string;
|
|
517
|
+
subtitle?: string;
|
|
518
|
+
placeholder?: string;
|
|
519
|
+
status?: SelectStatus;
|
|
520
|
+
size?: SelectSize;
|
|
521
|
+
radius?: SelectRadius;
|
|
522
|
+
helperText?: React__default.ReactNode;
|
|
523
|
+
disabled?: boolean;
|
|
524
|
+
className?: string;
|
|
525
|
+
wrapperClassName?: string;
|
|
526
|
+
value?: DateSelectValue;
|
|
527
|
+
defaultValue?: DateSelectValue;
|
|
528
|
+
onChange?: (value: DateSelectValue) => void;
|
|
529
|
+
startYear?: number;
|
|
530
|
+
endYear?: number;
|
|
531
|
+
/** Custom background color for the trigger button */
|
|
532
|
+
backgroundColor?: string;
|
|
533
|
+
};
|
|
534
|
+
declare const DateSelect: React__default.ForwardRefExoticComponent<DateSelectBaseProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
535
|
+
|
|
505
536
|
type TooltipVariant = "light" | "default" | "dark";
|
|
506
537
|
type TooltipSize = "sm" | "md";
|
|
507
538
|
type TooltipPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
@@ -1009,4 +1040,4 @@ declare function CaretLeftIcon({ className, ...props }: IconProps): react_jsx_ru
|
|
|
1009
1040
|
|
|
1010
1041
|
declare function CaretRightIcon({ className, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
1011
1042
|
|
|
1012
|
-
export { Avatar, type AvatarProps, type AvatarSize, type AvatarVariant, Button, ButtonColor, type ButtonProps, type ButtonRadius, type ButtonSize, type ButtonVariant, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, type CardRadius, type CardVariant, CaretLeftIcon, CaretRightIcon, Checkbox, type CheckboxProps, type CheckboxSize, CloseIcon, Container, type ContainerProps, DeleteIcon, EditIcon, ErrorIcon, GridContainer, type GridContainerProps, GridItem, type GridItemProps, type GridSpan, IconButton, type IconButtonColor, type IconButtonProps, type IconButtonRadius, type IconButtonSize, type IconButtonVariant, type IconProps, InfoIcon, type MobileSpan, NeutralIcon, Pagination, type PaginationProps, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarThickness, type ProgressBarVariant, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioOrientation, type RadioProps, type RadioSize, RehagroProvider, type RehagroProviderProps, type RehagroTheme, SearchIcon, Select, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectRadius, type SelectSingleProps, type SelectSize, type SelectStatus, type SortDirection, Spinner, type SpinnerProps, type SpinnerSize, SuccessIcon, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableVariant, Tag, TagInput, type TagInputOption, type TagInputProps, type TagInputRadius, type TagInputSize, type TagInputStatus, type TagProps, type TagSize, TextInput, type TextInputProps, type TextInputRadius, type TextInputSize, type TextInputStatus, Toast, type ToastAppearance, ToastContainer, type ToastFn, type ToastItem, type ToastLink, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupRadius, type ToggleGroupSize, Tooltip, type TooltipPlacement, type TooltipProps, type TooltipSize, type TooltipVariant, Typography, type TypographyColor, type TypographyProps, type TypographyVariant, WarningIcon, useToast };
|
|
1043
|
+
export { Avatar, type AvatarProps, type AvatarSize, type AvatarVariant, Button, ButtonColor, type ButtonProps, type ButtonRadius, type ButtonSize, type ButtonVariant, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, type CardRadius, type CardVariant, CaretLeftIcon, CaretRightIcon, Checkbox, type CheckboxProps, type CheckboxSize, CloseIcon, Container, type ContainerProps, DateSelect, type DateSelectProps, type DateSelectValue, DeleteIcon, EditIcon, ErrorIcon, GridContainer, type GridContainerProps, GridItem, type GridItemProps, type GridSpan, IconButton, type IconButtonColor, type IconButtonProps, type IconButtonRadius, type IconButtonSize, type IconButtonVariant, type IconProps, InfoIcon, type MobileSpan, NeutralIcon, Pagination, type PaginationProps, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarThickness, type ProgressBarVariant, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioOrientation, type RadioProps, type RadioSize, RehagroProvider, type RehagroProviderProps, type RehagroTheme, SearchIcon, Select, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectRadius, type SelectSingleProps, type SelectSize, type SelectStatus, type SortDirection, Spinner, type SpinnerProps, type SpinnerSize, SuccessIcon, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableVariant, Tag, TagInput, type TagInputOption, type TagInputProps, type TagInputRadius, type TagInputSize, type TagInputStatus, type TagProps, type TagSize, TextInput, type TextInputProps, type TextInputRadius, type TextInputSize, type TextInputStatus, Toast, type ToastAppearance, ToastContainer, type ToastFn, type ToastItem, type ToastLink, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupRadius, type ToggleGroupSize, Tooltip, type TooltipPlacement, type TooltipProps, type TooltipSize, type TooltipVariant, Typography, type TypographyColor, type TypographyProps, type TypographyVariant, WarningIcon, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -502,6 +502,37 @@ type SelectMultipleProps = SelectBaseProps & {
|
|
|
502
502
|
type SelectProps = SelectSingleProps | SelectMultipleProps;
|
|
503
503
|
declare const Select: React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
504
504
|
|
|
505
|
+
type DateSelectMode = "interval" | "day" | "month" | "year";
|
|
506
|
+
type DateSelectValue = {
|
|
507
|
+
mode: DateSelectMode;
|
|
508
|
+
year?: number;
|
|
509
|
+
month?: number;
|
|
510
|
+
day?: number;
|
|
511
|
+
startDate?: Date;
|
|
512
|
+
endDate?: Date;
|
|
513
|
+
};
|
|
514
|
+
type DateSelectProps = DateSelectBaseProps;
|
|
515
|
+
type DateSelectBaseProps = {
|
|
516
|
+
label?: string;
|
|
517
|
+
subtitle?: string;
|
|
518
|
+
placeholder?: string;
|
|
519
|
+
status?: SelectStatus;
|
|
520
|
+
size?: SelectSize;
|
|
521
|
+
radius?: SelectRadius;
|
|
522
|
+
helperText?: React__default.ReactNode;
|
|
523
|
+
disabled?: boolean;
|
|
524
|
+
className?: string;
|
|
525
|
+
wrapperClassName?: string;
|
|
526
|
+
value?: DateSelectValue;
|
|
527
|
+
defaultValue?: DateSelectValue;
|
|
528
|
+
onChange?: (value: DateSelectValue) => void;
|
|
529
|
+
startYear?: number;
|
|
530
|
+
endYear?: number;
|
|
531
|
+
/** Custom background color for the trigger button */
|
|
532
|
+
backgroundColor?: string;
|
|
533
|
+
};
|
|
534
|
+
declare const DateSelect: React__default.ForwardRefExoticComponent<DateSelectBaseProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
535
|
+
|
|
505
536
|
type TooltipVariant = "light" | "default" | "dark";
|
|
506
537
|
type TooltipSize = "sm" | "md";
|
|
507
538
|
type TooltipPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
@@ -1009,4 +1040,4 @@ declare function CaretLeftIcon({ className, ...props }: IconProps): react_jsx_ru
|
|
|
1009
1040
|
|
|
1010
1041
|
declare function CaretRightIcon({ className, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
1011
1042
|
|
|
1012
|
-
export { Avatar, type AvatarProps, type AvatarSize, type AvatarVariant, Button, ButtonColor, type ButtonProps, type ButtonRadius, type ButtonSize, type ButtonVariant, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, type CardRadius, type CardVariant, CaretLeftIcon, CaretRightIcon, Checkbox, type CheckboxProps, type CheckboxSize, CloseIcon, Container, type ContainerProps, DeleteIcon, EditIcon, ErrorIcon, GridContainer, type GridContainerProps, GridItem, type GridItemProps, type GridSpan, IconButton, type IconButtonColor, type IconButtonProps, type IconButtonRadius, type IconButtonSize, type IconButtonVariant, type IconProps, InfoIcon, type MobileSpan, NeutralIcon, Pagination, type PaginationProps, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarThickness, type ProgressBarVariant, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioOrientation, type RadioProps, type RadioSize, RehagroProvider, type RehagroProviderProps, type RehagroTheme, SearchIcon, Select, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectRadius, type SelectSingleProps, type SelectSize, type SelectStatus, type SortDirection, Spinner, type SpinnerProps, type SpinnerSize, SuccessIcon, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableVariant, Tag, TagInput, type TagInputOption, type TagInputProps, type TagInputRadius, type TagInputSize, type TagInputStatus, type TagProps, type TagSize, TextInput, type TextInputProps, type TextInputRadius, type TextInputSize, type TextInputStatus, Toast, type ToastAppearance, ToastContainer, type ToastFn, type ToastItem, type ToastLink, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupRadius, type ToggleGroupSize, Tooltip, type TooltipPlacement, type TooltipProps, type TooltipSize, type TooltipVariant, Typography, type TypographyColor, type TypographyProps, type TypographyVariant, WarningIcon, useToast };
|
|
1043
|
+
export { Avatar, type AvatarProps, type AvatarSize, type AvatarVariant, Button, ButtonColor, type ButtonProps, type ButtonRadius, type ButtonSize, type ButtonVariant, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, type CardRadius, type CardVariant, CaretLeftIcon, CaretRightIcon, Checkbox, type CheckboxProps, type CheckboxSize, CloseIcon, Container, type ContainerProps, DateSelect, type DateSelectProps, type DateSelectValue, DeleteIcon, EditIcon, ErrorIcon, GridContainer, type GridContainerProps, GridItem, type GridItemProps, type GridSpan, IconButton, type IconButtonColor, type IconButtonProps, type IconButtonRadius, type IconButtonSize, type IconButtonVariant, type IconProps, InfoIcon, type MobileSpan, NeutralIcon, Pagination, type PaginationProps, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarThickness, type ProgressBarVariant, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioOrientation, type RadioProps, type RadioSize, RehagroProvider, type RehagroProviderProps, type RehagroTheme, SearchIcon, Select, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectRadius, type SelectSingleProps, type SelectSize, type SelectStatus, type SortDirection, Spinner, type SpinnerProps, type SpinnerSize, SuccessIcon, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableVariant, Tag, TagInput, type TagInputOption, type TagInputProps, type TagInputRadius, type TagInputSize, type TagInputStatus, type TagProps, type TagSize, TextInput, type TextInputProps, type TextInputRadius, type TextInputSize, type TextInputStatus, Toast, type ToastAppearance, ToastContainer, type ToastFn, type ToastItem, type ToastLink, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupRadius, type ToggleGroupSize, Tooltip, type TooltipPlacement, type TooltipProps, type TooltipSize, type TooltipVariant, Typography, type TypographyColor, type TypographyProps, type TypographyVariant, WarningIcon, useToast };
|