@rehagro/ui 1.0.24 → 1.0.26

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 CHANGED
@@ -282,6 +282,86 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__def
282
282
  defaultChecked?: boolean;
283
283
  } & React__default.RefAttributes<HTMLInputElement>>;
284
284
 
285
+ type RadioSize = "sm" | "md" | "lg";
286
+ type RadioOrientation = "horizontal" | "vertical";
287
+ type RadioProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
288
+ /** Radio size */
289
+ size?: RadioSize;
290
+ /** Label text displayed next to the radio */
291
+ label?: React__default.ReactNode;
292
+ /** Description text below the label */
293
+ description?: React__default.ReactNode;
294
+ /** Color scheme for checked state */
295
+ color?: PresetColor | (string & {});
296
+ };
297
+ type RadioGroupProps = Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & {
298
+ /** Currently selected value */
299
+ value?: string;
300
+ /** Default value (uncontrolled) */
301
+ defaultValue?: string;
302
+ /** Called when selection changes */
303
+ onChange?: (value: string) => void;
304
+ /** Radio size for all items */
305
+ size?: RadioSize;
306
+ /** Layout orientation */
307
+ orientation?: RadioOrientation;
308
+ /** Color scheme for checked state */
309
+ color?: PresetColor | (string & {});
310
+ /** Whether the entire group is disabled */
311
+ disabled?: boolean;
312
+ /** Name for all radio inputs */
313
+ name?: string;
314
+ /** Gap between items */
315
+ gap?: "sm" | "md" | "lg";
316
+ };
317
+ type RadioOptionProps = RadioProps & {
318
+ /** Unique value for this option */
319
+ value: string;
320
+ };
321
+ declare const Radio: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
322
+ /** Radio size */
323
+ size?: RadioSize;
324
+ /** Label text displayed next to the radio */
325
+ label?: React__default.ReactNode;
326
+ /** Description text below the label */
327
+ description?: React__default.ReactNode;
328
+ /** Color scheme for checked state */
329
+ color?: PresetColor | (string & {});
330
+ } & React__default.RefAttributes<HTMLInputElement>>;
331
+ declare const RadioOption: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
332
+ /** Radio size */
333
+ size?: RadioSize;
334
+ /** Label text displayed next to the radio */
335
+ label?: React__default.ReactNode;
336
+ /** Description text below the label */
337
+ description?: React__default.ReactNode;
338
+ /** Color scheme for checked state */
339
+ color?: PresetColor | (string & {});
340
+ } & {
341
+ /** Unique value for this option */
342
+ value: string;
343
+ } & React__default.RefAttributes<HTMLInputElement>>;
344
+ declare const RadioGroup: React__default.ForwardRefExoticComponent<Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & {
345
+ /** Currently selected value */
346
+ value?: string;
347
+ /** Default value (uncontrolled) */
348
+ defaultValue?: string;
349
+ /** Called when selection changes */
350
+ onChange?: (value: string) => void;
351
+ /** Radio size for all items */
352
+ size?: RadioSize;
353
+ /** Layout orientation */
354
+ orientation?: RadioOrientation;
355
+ /** Color scheme for checked state */
356
+ color?: PresetColor | (string & {});
357
+ /** Whether the entire group is disabled */
358
+ disabled?: boolean;
359
+ /** Name for all radio inputs */
360
+ name?: string;
361
+ /** Gap between items */
362
+ gap?: "sm" | "md" | "lg";
363
+ } & React__default.RefAttributes<HTMLDivElement>>;
364
+
285
365
  type SelectSize = "sm" | "md" | "lg";
286
366
  type SelectRadius = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
287
367
  type SelectStatus = "default" | "error";
@@ -633,8 +713,8 @@ declare const Table: <T>(props: TableProps<T> & {
633
713
  ref?: React__default.ForwardedRef<HTMLTableElement>;
634
714
  }) => React__default.ReactElement;
635
715
 
636
- type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "bodyLg" | "label" | "labelSm" | "caption" | "captionSm" | "menu" | "overline";
637
- type TypographyColor = "default" | "muted" | "primary" | "danger" | "success" | "warning";
716
+ type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "bodyLg" | "bodySm" | "label" | "labelSm" | "labelLg" | "formLabel" | "formText" | "formHelper" | "sectionTitle" | "modalTitle" | "caption" | "captionSm" | "menu" | "overline" | "link";
717
+ type TypographyColor = "default" | "muted" | "primary" | "secondary" | "danger" | "success" | "warning" | "info";
638
718
  type TypographyProps = React__default.HTMLAttributes<HTMLElement> & {
639
719
  /** Typographic variant */
640
720
  variant?: TypographyVariant;
@@ -642,6 +722,10 @@ type TypographyProps = React__default.HTMLAttributes<HTMLElement> & {
642
722
  color?: TypographyColor;
643
723
  /** Bold weight */
644
724
  bold?: boolean;
725
+ /** Semibold weight */
726
+ semibold?: boolean;
727
+ /** Medium weight */
728
+ medium?: boolean;
645
729
  /** Override the rendered HTML element */
646
730
  as?: keyof JSX.IntrinsicElements;
647
731
  };
@@ -652,6 +736,10 @@ declare const Typography: React__default.ForwardRefExoticComponent<React__defaul
652
736
  color?: TypographyColor;
653
737
  /** Bold weight */
654
738
  bold?: boolean;
739
+ /** Semibold weight */
740
+ semibold?: boolean;
741
+ /** Medium weight */
742
+ medium?: boolean;
655
743
  /** Override the rendered HTML element */
656
744
  as?: keyof JSX.IntrinsicElements;
657
745
  } & React__default.RefAttributes<HTMLElement>>;
@@ -779,4 +867,4 @@ declare function CaretLeftIcon({ className, ...props }: IconProps): react_jsx_ru
779
867
 
780
868
  declare function CaretRightIcon({ className, ...props }: IconProps): react_jsx_runtime.JSX.Element;
781
869
 
782
- 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 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 };
870
+ 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 ProgressBarSize, 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
@@ -282,6 +282,86 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__def
282
282
  defaultChecked?: boolean;
283
283
  } & React__default.RefAttributes<HTMLInputElement>>;
284
284
 
285
+ type RadioSize = "sm" | "md" | "lg";
286
+ type RadioOrientation = "horizontal" | "vertical";
287
+ type RadioProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
288
+ /** Radio size */
289
+ size?: RadioSize;
290
+ /** Label text displayed next to the radio */
291
+ label?: React__default.ReactNode;
292
+ /** Description text below the label */
293
+ description?: React__default.ReactNode;
294
+ /** Color scheme for checked state */
295
+ color?: PresetColor | (string & {});
296
+ };
297
+ type RadioGroupProps = Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & {
298
+ /** Currently selected value */
299
+ value?: string;
300
+ /** Default value (uncontrolled) */
301
+ defaultValue?: string;
302
+ /** Called when selection changes */
303
+ onChange?: (value: string) => void;
304
+ /** Radio size for all items */
305
+ size?: RadioSize;
306
+ /** Layout orientation */
307
+ orientation?: RadioOrientation;
308
+ /** Color scheme for checked state */
309
+ color?: PresetColor | (string & {});
310
+ /** Whether the entire group is disabled */
311
+ disabled?: boolean;
312
+ /** Name for all radio inputs */
313
+ name?: string;
314
+ /** Gap between items */
315
+ gap?: "sm" | "md" | "lg";
316
+ };
317
+ type RadioOptionProps = RadioProps & {
318
+ /** Unique value for this option */
319
+ value: string;
320
+ };
321
+ declare const Radio: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
322
+ /** Radio size */
323
+ size?: RadioSize;
324
+ /** Label text displayed next to the radio */
325
+ label?: React__default.ReactNode;
326
+ /** Description text below the label */
327
+ description?: React__default.ReactNode;
328
+ /** Color scheme for checked state */
329
+ color?: PresetColor | (string & {});
330
+ } & React__default.RefAttributes<HTMLInputElement>>;
331
+ declare const RadioOption: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
332
+ /** Radio size */
333
+ size?: RadioSize;
334
+ /** Label text displayed next to the radio */
335
+ label?: React__default.ReactNode;
336
+ /** Description text below the label */
337
+ description?: React__default.ReactNode;
338
+ /** Color scheme for checked state */
339
+ color?: PresetColor | (string & {});
340
+ } & {
341
+ /** Unique value for this option */
342
+ value: string;
343
+ } & React__default.RefAttributes<HTMLInputElement>>;
344
+ declare const RadioGroup: React__default.ForwardRefExoticComponent<Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & {
345
+ /** Currently selected value */
346
+ value?: string;
347
+ /** Default value (uncontrolled) */
348
+ defaultValue?: string;
349
+ /** Called when selection changes */
350
+ onChange?: (value: string) => void;
351
+ /** Radio size for all items */
352
+ size?: RadioSize;
353
+ /** Layout orientation */
354
+ orientation?: RadioOrientation;
355
+ /** Color scheme for checked state */
356
+ color?: PresetColor | (string & {});
357
+ /** Whether the entire group is disabled */
358
+ disabled?: boolean;
359
+ /** Name for all radio inputs */
360
+ name?: string;
361
+ /** Gap between items */
362
+ gap?: "sm" | "md" | "lg";
363
+ } & React__default.RefAttributes<HTMLDivElement>>;
364
+
285
365
  type SelectSize = "sm" | "md" | "lg";
286
366
  type SelectRadius = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
287
367
  type SelectStatus = "default" | "error";
@@ -633,8 +713,8 @@ declare const Table: <T>(props: TableProps<T> & {
633
713
  ref?: React__default.ForwardedRef<HTMLTableElement>;
634
714
  }) => React__default.ReactElement;
635
715
 
636
- type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "bodyLg" | "label" | "labelSm" | "caption" | "captionSm" | "menu" | "overline";
637
- type TypographyColor = "default" | "muted" | "primary" | "danger" | "success" | "warning";
716
+ type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "bodyLg" | "bodySm" | "label" | "labelSm" | "labelLg" | "formLabel" | "formText" | "formHelper" | "sectionTitle" | "modalTitle" | "caption" | "captionSm" | "menu" | "overline" | "link";
717
+ type TypographyColor = "default" | "muted" | "primary" | "secondary" | "danger" | "success" | "warning" | "info";
638
718
  type TypographyProps = React__default.HTMLAttributes<HTMLElement> & {
639
719
  /** Typographic variant */
640
720
  variant?: TypographyVariant;
@@ -642,6 +722,10 @@ type TypographyProps = React__default.HTMLAttributes<HTMLElement> & {
642
722
  color?: TypographyColor;
643
723
  /** Bold weight */
644
724
  bold?: boolean;
725
+ /** Semibold weight */
726
+ semibold?: boolean;
727
+ /** Medium weight */
728
+ medium?: boolean;
645
729
  /** Override the rendered HTML element */
646
730
  as?: keyof JSX.IntrinsicElements;
647
731
  };
@@ -652,6 +736,10 @@ declare const Typography: React__default.ForwardRefExoticComponent<React__defaul
652
736
  color?: TypographyColor;
653
737
  /** Bold weight */
654
738
  bold?: boolean;
739
+ /** Semibold weight */
740
+ semibold?: boolean;
741
+ /** Medium weight */
742
+ medium?: boolean;
655
743
  /** Override the rendered HTML element */
656
744
  as?: keyof JSX.IntrinsicElements;
657
745
  } & React__default.RefAttributes<HTMLElement>>;
@@ -779,4 +867,4 @@ declare function CaretLeftIcon({ className, ...props }: IconProps): react_jsx_ru
779
867
 
780
868
  declare function CaretRightIcon({ className, ...props }: IconProps): react_jsx_runtime.JSX.Element;
781
869
 
782
- 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 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 };
870
+ 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 ProgressBarSize, 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 };