@rehagro/ui 1.0.64 → 1.0.65
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 +94 -1
- package/dist/index.d.ts +94 -1
- package/dist/index.js +358 -214
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +245 -102
- package/dist/index.mjs.map +1 -1
- package/dist/native.d.mts +54 -1
- package/dist/native.d.ts +54 -1
- package/dist/native.js +115 -2
- package/dist/native.js.map +1 -1
- package/dist/native.mjs +114 -2
- package/dist/native.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -340,6 +340,99 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Omit<React__de
|
|
|
340
340
|
borderWidth?: TextInputBorderWidth;
|
|
341
341
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
342
342
|
|
|
343
|
+
type TextAreaStatus = "default" | "error";
|
|
344
|
+
type TextAreaSize = "sm" | "md" | "lg";
|
|
345
|
+
type TextAreaRadius = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
|
346
|
+
type TextAreaBorderWidth = "sm" | "md" | "lg";
|
|
347
|
+
type TextAreaResize = "none" | "vertical" | "horizontal" | "both";
|
|
348
|
+
type TextAreaLabelWeight = "normal" | "medium" | "semibold" | "bold";
|
|
349
|
+
type TextAreaProps = Omit<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
350
|
+
/** Label text displayed above the textarea */
|
|
351
|
+
label?: string;
|
|
352
|
+
/** Label font weight */
|
|
353
|
+
labelWeight?: TextAreaLabelWeight;
|
|
354
|
+
/** Label text color. Defaults to the Rehsult input label color. */
|
|
355
|
+
labelColor?: string;
|
|
356
|
+
/** Subtitle displayed next to the label. Use "*" to render the required marker. */
|
|
357
|
+
subtitle?: string;
|
|
358
|
+
/** Validation status */
|
|
359
|
+
status?: TextAreaStatus;
|
|
360
|
+
/** Text/padding size */
|
|
361
|
+
size?: TextAreaSize;
|
|
362
|
+
/** Border radius */
|
|
363
|
+
radius?: TextAreaRadius;
|
|
364
|
+
/** Helper/error message displayed below the textarea (accepts ReactNode for flexibility) */
|
|
365
|
+
helperText?: React__default.ReactNode;
|
|
366
|
+
/** Custom class for the outermost wrapper */
|
|
367
|
+
wrapperClassName?: string;
|
|
368
|
+
/** Number of visible text rows (default 3) */
|
|
369
|
+
rows?: number;
|
|
370
|
+
/** Resize behavior of the textarea (default "vertical") */
|
|
371
|
+
resize?: TextAreaResize;
|
|
372
|
+
/**
|
|
373
|
+
* Custom border color for the container. Accepts any valid CSS color.
|
|
374
|
+
* When provided, overrides the border color from the current `status`.
|
|
375
|
+
* Does NOT change focus/ring colors — those still come from `status`.
|
|
376
|
+
*/
|
|
377
|
+
borderColor?: string;
|
|
378
|
+
/**
|
|
379
|
+
* Custom background color for the container. Ignored when `disabled`
|
|
380
|
+
* is true to preserve the disabled visual style.
|
|
381
|
+
*/
|
|
382
|
+
backgroundColor?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Border width token for the container.
|
|
385
|
+
*
|
|
386
|
+
* - `sm`: default 1px border.
|
|
387
|
+
* - `md`: default 2px border.
|
|
388
|
+
* - `lg`: default 3px border.
|
|
389
|
+
*/
|
|
390
|
+
borderWidth?: TextAreaBorderWidth;
|
|
391
|
+
};
|
|
392
|
+
declare const TextArea: React__default.ForwardRefExoticComponent<Omit<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
393
|
+
/** Label text displayed above the textarea */
|
|
394
|
+
label?: string;
|
|
395
|
+
/** Label font weight */
|
|
396
|
+
labelWeight?: TextAreaLabelWeight;
|
|
397
|
+
/** Label text color. Defaults to the Rehsult input label color. */
|
|
398
|
+
labelColor?: string;
|
|
399
|
+
/** Subtitle displayed next to the label. Use "*" to render the required marker. */
|
|
400
|
+
subtitle?: string;
|
|
401
|
+
/** Validation status */
|
|
402
|
+
status?: TextAreaStatus;
|
|
403
|
+
/** Text/padding size */
|
|
404
|
+
size?: TextAreaSize;
|
|
405
|
+
/** Border radius */
|
|
406
|
+
radius?: TextAreaRadius;
|
|
407
|
+
/** Helper/error message displayed below the textarea (accepts ReactNode for flexibility) */
|
|
408
|
+
helperText?: React__default.ReactNode;
|
|
409
|
+
/** Custom class for the outermost wrapper */
|
|
410
|
+
wrapperClassName?: string;
|
|
411
|
+
/** Number of visible text rows (default 3) */
|
|
412
|
+
rows?: number;
|
|
413
|
+
/** Resize behavior of the textarea (default "vertical") */
|
|
414
|
+
resize?: TextAreaResize;
|
|
415
|
+
/**
|
|
416
|
+
* Custom border color for the container. Accepts any valid CSS color.
|
|
417
|
+
* When provided, overrides the border color from the current `status`.
|
|
418
|
+
* Does NOT change focus/ring colors — those still come from `status`.
|
|
419
|
+
*/
|
|
420
|
+
borderColor?: string;
|
|
421
|
+
/**
|
|
422
|
+
* Custom background color for the container. Ignored when `disabled`
|
|
423
|
+
* is true to preserve the disabled visual style.
|
|
424
|
+
*/
|
|
425
|
+
backgroundColor?: string;
|
|
426
|
+
/**
|
|
427
|
+
* Border width token for the container.
|
|
428
|
+
*
|
|
429
|
+
* - `sm`: default 1px border.
|
|
430
|
+
* - `md`: default 2px border.
|
|
431
|
+
* - `lg`: default 3px border.
|
|
432
|
+
*/
|
|
433
|
+
borderWidth?: TextAreaBorderWidth;
|
|
434
|
+
} & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
435
|
+
|
|
343
436
|
type CheckboxSize = "sm" | "md" | "lg";
|
|
344
437
|
type CheckboxProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
345
438
|
/** Checkbox size */
|
|
@@ -1121,4 +1214,4 @@ declare function CaretLeftIcon({ className, ...props }: IconProps): react_jsx_ru
|
|
|
1121
1214
|
|
|
1122
1215
|
declare function CaretRightIcon({ className, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
1123
1216
|
|
|
1124
|
-
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, TimePicker, type TimePickerPresentation, type TimePickerProps, type TimePickerValue, 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 };
|
|
1217
|
+
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, TextArea, type TextAreaBorderWidth, type TextAreaLabelWeight, type TextAreaProps, type TextAreaRadius, type TextAreaResize, type TextAreaSize, type TextAreaStatus, TextInput, type TextInputProps, type TextInputRadius, type TextInputSize, type TextInputStatus, TimePicker, type TimePickerPresentation, type TimePickerProps, type TimePickerValue, 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
|
@@ -340,6 +340,99 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Omit<React__de
|
|
|
340
340
|
borderWidth?: TextInputBorderWidth;
|
|
341
341
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
342
342
|
|
|
343
|
+
type TextAreaStatus = "default" | "error";
|
|
344
|
+
type TextAreaSize = "sm" | "md" | "lg";
|
|
345
|
+
type TextAreaRadius = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
|
346
|
+
type TextAreaBorderWidth = "sm" | "md" | "lg";
|
|
347
|
+
type TextAreaResize = "none" | "vertical" | "horizontal" | "both";
|
|
348
|
+
type TextAreaLabelWeight = "normal" | "medium" | "semibold" | "bold";
|
|
349
|
+
type TextAreaProps = Omit<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
350
|
+
/** Label text displayed above the textarea */
|
|
351
|
+
label?: string;
|
|
352
|
+
/** Label font weight */
|
|
353
|
+
labelWeight?: TextAreaLabelWeight;
|
|
354
|
+
/** Label text color. Defaults to the Rehsult input label color. */
|
|
355
|
+
labelColor?: string;
|
|
356
|
+
/** Subtitle displayed next to the label. Use "*" to render the required marker. */
|
|
357
|
+
subtitle?: string;
|
|
358
|
+
/** Validation status */
|
|
359
|
+
status?: TextAreaStatus;
|
|
360
|
+
/** Text/padding size */
|
|
361
|
+
size?: TextAreaSize;
|
|
362
|
+
/** Border radius */
|
|
363
|
+
radius?: TextAreaRadius;
|
|
364
|
+
/** Helper/error message displayed below the textarea (accepts ReactNode for flexibility) */
|
|
365
|
+
helperText?: React__default.ReactNode;
|
|
366
|
+
/** Custom class for the outermost wrapper */
|
|
367
|
+
wrapperClassName?: string;
|
|
368
|
+
/** Number of visible text rows (default 3) */
|
|
369
|
+
rows?: number;
|
|
370
|
+
/** Resize behavior of the textarea (default "vertical") */
|
|
371
|
+
resize?: TextAreaResize;
|
|
372
|
+
/**
|
|
373
|
+
* Custom border color for the container. Accepts any valid CSS color.
|
|
374
|
+
* When provided, overrides the border color from the current `status`.
|
|
375
|
+
* Does NOT change focus/ring colors — those still come from `status`.
|
|
376
|
+
*/
|
|
377
|
+
borderColor?: string;
|
|
378
|
+
/**
|
|
379
|
+
* Custom background color for the container. Ignored when `disabled`
|
|
380
|
+
* is true to preserve the disabled visual style.
|
|
381
|
+
*/
|
|
382
|
+
backgroundColor?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Border width token for the container.
|
|
385
|
+
*
|
|
386
|
+
* - `sm`: default 1px border.
|
|
387
|
+
* - `md`: default 2px border.
|
|
388
|
+
* - `lg`: default 3px border.
|
|
389
|
+
*/
|
|
390
|
+
borderWidth?: TextAreaBorderWidth;
|
|
391
|
+
};
|
|
392
|
+
declare const TextArea: React__default.ForwardRefExoticComponent<Omit<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
393
|
+
/** Label text displayed above the textarea */
|
|
394
|
+
label?: string;
|
|
395
|
+
/** Label font weight */
|
|
396
|
+
labelWeight?: TextAreaLabelWeight;
|
|
397
|
+
/** Label text color. Defaults to the Rehsult input label color. */
|
|
398
|
+
labelColor?: string;
|
|
399
|
+
/** Subtitle displayed next to the label. Use "*" to render the required marker. */
|
|
400
|
+
subtitle?: string;
|
|
401
|
+
/** Validation status */
|
|
402
|
+
status?: TextAreaStatus;
|
|
403
|
+
/** Text/padding size */
|
|
404
|
+
size?: TextAreaSize;
|
|
405
|
+
/** Border radius */
|
|
406
|
+
radius?: TextAreaRadius;
|
|
407
|
+
/** Helper/error message displayed below the textarea (accepts ReactNode for flexibility) */
|
|
408
|
+
helperText?: React__default.ReactNode;
|
|
409
|
+
/** Custom class for the outermost wrapper */
|
|
410
|
+
wrapperClassName?: string;
|
|
411
|
+
/** Number of visible text rows (default 3) */
|
|
412
|
+
rows?: number;
|
|
413
|
+
/** Resize behavior of the textarea (default "vertical") */
|
|
414
|
+
resize?: TextAreaResize;
|
|
415
|
+
/**
|
|
416
|
+
* Custom border color for the container. Accepts any valid CSS color.
|
|
417
|
+
* When provided, overrides the border color from the current `status`.
|
|
418
|
+
* Does NOT change focus/ring colors — those still come from `status`.
|
|
419
|
+
*/
|
|
420
|
+
borderColor?: string;
|
|
421
|
+
/**
|
|
422
|
+
* Custom background color for the container. Ignored when `disabled`
|
|
423
|
+
* is true to preserve the disabled visual style.
|
|
424
|
+
*/
|
|
425
|
+
backgroundColor?: string;
|
|
426
|
+
/**
|
|
427
|
+
* Border width token for the container.
|
|
428
|
+
*
|
|
429
|
+
* - `sm`: default 1px border.
|
|
430
|
+
* - `md`: default 2px border.
|
|
431
|
+
* - `lg`: default 3px border.
|
|
432
|
+
*/
|
|
433
|
+
borderWidth?: TextAreaBorderWidth;
|
|
434
|
+
} & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
435
|
+
|
|
343
436
|
type CheckboxSize = "sm" | "md" | "lg";
|
|
344
437
|
type CheckboxProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
345
438
|
/** Checkbox size */
|
|
@@ -1121,4 +1214,4 @@ declare function CaretLeftIcon({ className, ...props }: IconProps): react_jsx_ru
|
|
|
1121
1214
|
|
|
1122
1215
|
declare function CaretRightIcon({ className, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
1123
1216
|
|
|
1124
|
-
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, TimePicker, type TimePickerPresentation, type TimePickerProps, type TimePickerValue, 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 };
|
|
1217
|
+
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, TextArea, type TextAreaBorderWidth, type TextAreaLabelWeight, type TextAreaProps, type TextAreaRadius, type TextAreaResize, type TextAreaSize, type TextAreaStatus, TextInput, type TextInputProps, type TextInputRadius, type TextInputSize, type TextInputStatus, TimePicker, type TimePickerPresentation, type TimePickerProps, type TimePickerValue, 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 };
|