@rehagro/ui 1.0.12 → 1.0.14
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 +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.js +593 -616
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +593 -617
- package/dist/index.mjs.map +1 -1
- package/dist/native.js +15 -2
- package/dist/native.js.map +1 -1
- package/dist/native.mjs +15 -2
- package/dist/native.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/typography.css +1 -0
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -633,6 +633,29 @@ declare const Table: <T>(props: TableProps<T> & {
|
|
|
633
633
|
ref?: React$1.ForwardedRef<HTMLTableElement>;
|
|
634
634
|
}) => React$1.ReactElement;
|
|
635
635
|
|
|
636
|
+
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "body" | "bodyLg" | "label" | "caption";
|
|
637
|
+
type TypographyColor = "default" | "muted" | "primary" | "danger" | "success" | "warning";
|
|
638
|
+
type TypographyProps = React$1.HTMLAttributes<HTMLElement> & {
|
|
639
|
+
/** Typographic variant */
|
|
640
|
+
variant?: TypographyVariant;
|
|
641
|
+
/** Color preset */
|
|
642
|
+
color?: TypographyColor;
|
|
643
|
+
/** Bold weight */
|
|
644
|
+
bold?: boolean;
|
|
645
|
+
/** Override the rendered HTML element */
|
|
646
|
+
as?: keyof JSX.IntrinsicElements;
|
|
647
|
+
};
|
|
648
|
+
declare const Typography: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & {
|
|
649
|
+
/** Typographic variant */
|
|
650
|
+
variant?: TypographyVariant;
|
|
651
|
+
/** Color preset */
|
|
652
|
+
color?: TypographyColor;
|
|
653
|
+
/** Bold weight */
|
|
654
|
+
bold?: boolean;
|
|
655
|
+
/** Override the rendered HTML element */
|
|
656
|
+
as?: keyof JSX.IntrinsicElements;
|
|
657
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
658
|
+
|
|
636
659
|
type ContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
637
660
|
/**
|
|
638
661
|
* Remove o padding horizontal lateral.
|
|
@@ -734,4 +757,4 @@ declare const NeutralIcon: (props: IconProps) => react_jsx_runtime.JSX.Element;
|
|
|
734
757
|
|
|
735
758
|
declare const CloseIcon: (props: IconProps) => react_jsx_runtime.JSX.Element;
|
|
736
759
|
|
|
737
|
-
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, 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, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, 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, WarningIcon, useToast };
|
|
760
|
+
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, 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, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, 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
|
@@ -633,6 +633,29 @@ declare const Table: <T>(props: TableProps<T> & {
|
|
|
633
633
|
ref?: React$1.ForwardedRef<HTMLTableElement>;
|
|
634
634
|
}) => React$1.ReactElement;
|
|
635
635
|
|
|
636
|
+
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "body" | "bodyLg" | "label" | "caption";
|
|
637
|
+
type TypographyColor = "default" | "muted" | "primary" | "danger" | "success" | "warning";
|
|
638
|
+
type TypographyProps = React$1.HTMLAttributes<HTMLElement> & {
|
|
639
|
+
/** Typographic variant */
|
|
640
|
+
variant?: TypographyVariant;
|
|
641
|
+
/** Color preset */
|
|
642
|
+
color?: TypographyColor;
|
|
643
|
+
/** Bold weight */
|
|
644
|
+
bold?: boolean;
|
|
645
|
+
/** Override the rendered HTML element */
|
|
646
|
+
as?: keyof JSX.IntrinsicElements;
|
|
647
|
+
};
|
|
648
|
+
declare const Typography: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & {
|
|
649
|
+
/** Typographic variant */
|
|
650
|
+
variant?: TypographyVariant;
|
|
651
|
+
/** Color preset */
|
|
652
|
+
color?: TypographyColor;
|
|
653
|
+
/** Bold weight */
|
|
654
|
+
bold?: boolean;
|
|
655
|
+
/** Override the rendered HTML element */
|
|
656
|
+
as?: keyof JSX.IntrinsicElements;
|
|
657
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
658
|
+
|
|
636
659
|
type ContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
637
660
|
/**
|
|
638
661
|
* Remove o padding horizontal lateral.
|
|
@@ -734,4 +757,4 @@ declare const NeutralIcon: (props: IconProps) => react_jsx_runtime.JSX.Element;
|
|
|
734
757
|
|
|
735
758
|
declare const CloseIcon: (props: IconProps) => react_jsx_runtime.JSX.Element;
|
|
736
759
|
|
|
737
|
-
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, 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, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, 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, WarningIcon, useToast };
|
|
760
|
+
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, 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, PlusIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, 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 };
|