@kubit-ui-web/react-components 2.0.0-beta.17 → 2.0.0-beta.19
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/README.md +16 -26
- package/dist/cjs/.storybook/bundle-sizes.json +1 -1
- package/dist/cjs/_virtual/jsx-runtime.js +1 -1
- package/dist/cjs/components/alert/alertControlled.js +1 -0
- package/dist/cjs/components/alert/alertStandAlone.js +1 -0
- package/dist/cjs/components/alert/index.js +2 -0
- package/dist/cjs/components/chip/chipStandAlone.js +1 -1
- package/dist/cjs/components/progressBar/progressBarStandAlone.js +1 -1
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +1 -1
- package/dist/cjs/components/selectorBoxFile/selectorBoxFile.js +1 -1
- package/dist/cjs/components/selectorBoxFile/selectorBoxFileStandAlone.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/lib/designSystem/kubit/css/kubit.css +1 -0
- package/dist/cjs/lib/designSystem/kubit/css/kubit.min.css +1 -0
- package/dist/cjs/lib/provider/cssProvider/provider.js +1 -1
- package/dist/cjs/lib/provider/cssProvider/stats/stats.js +1 -1
- package/dist/cjs/lib/storybook/assets/icons/checkmark_thick.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_chevron_down.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_chevron_left.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_chevron_right.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_chevron_up.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_ds_handle.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_ghost.svg +5 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_placeholder.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/icon_x_close.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/play_button.svg +3 -0
- package/dist/cjs/lib/storybook/assets/icons/replace.svg +38 -0
- package/dist/cjs/lib/storybook/assets/images/image_1.png +0 -0
- package/dist/cjs/lib/storybook/assets/images/image_2.png +0 -0
- package/dist/cjs/lib/storybook/assets/images/image_3.png +0 -0
- package/dist/cjs/lib/storybook/assets/images/image_4.png +0 -0
- package/dist/cjs/lib/storybook/assets/loader/loader.css +1 -0
- package/dist/cjs/lib/storybook/components/divider/divider.css +1 -0
- package/dist/cjs/lib/storybook/components/note/styles.css +1 -0
- package/dist/cjs/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +1 -0
- package/dist/cjs/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +1 -0
- package/dist/cjs/react-components.css +1 -1
- package/dist/cjs/scripts/generate-bundle-sizes.mjs +1 -1
- package/dist/esm/.storybook/bundle-sizes.json +1 -1
- package/dist/esm/_virtual/jsx-runtime.js +1 -1
- package/dist/esm/components/alert/alertControlled.js +2 -0
- package/dist/esm/components/alert/alertStandAlone.js +2 -0
- package/dist/esm/components/alert/index.js +1 -0
- package/dist/esm/components/chip/chipStandAlone.js +6 -6
- package/dist/esm/components/progressBar/progressBarStandAlone.js +4 -4
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +6 -7
- package/dist/esm/components/selectorBoxFile/selectorBoxFile.js +2 -2
- package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.js +4 -7
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib/designSystem/kubit/css/kubit.css +1 -0
- package/dist/esm/lib/designSystem/kubit/css/kubit.min.css +1 -0
- package/dist/esm/lib/provider/cssProvider/provider.js +1 -1
- package/dist/esm/lib/provider/cssProvider/stats/stats.js +1 -1
- package/dist/esm/lib/storybook/assets/icons/checkmark_thick.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/icon_chevron_down.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/icon_chevron_left.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/icon_chevron_right.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/icon_chevron_up.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/icon_ds_handle.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/icon_ghost.svg +5 -0
- package/dist/esm/lib/storybook/assets/icons/icon_placeholder.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/icon_x_close.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/play_button.svg +3 -0
- package/dist/esm/lib/storybook/assets/icons/replace.svg +38 -0
- package/dist/esm/lib/storybook/assets/images/image_1.png +0 -0
- package/dist/esm/lib/storybook/assets/images/image_2.png +0 -0
- package/dist/esm/lib/storybook/assets/images/image_3.png +0 -0
- package/dist/esm/lib/storybook/assets/images/image_4.png +0 -0
- package/dist/esm/lib/storybook/assets/loader/loader.css +1 -0
- package/dist/esm/lib/storybook/components/divider/divider.css +1 -0
- package/dist/esm/lib/storybook/components/note/styles.css +1 -0
- package/dist/esm/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +1 -0
- package/dist/esm/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +1 -0
- package/dist/esm/react-components.css +1 -1
- package/dist/esm/scripts/generate-bundle-sizes.mjs +1 -1
- package/dist/styles/kubit/css/kubit.css +9 -56
- package/dist/styles/kubit/css/kubit.min.css +1 -1
- package/dist/types/index.d.ts +678 -256
- package/package.json +41 -36
- package/dist/cjs/components/message/index.js +0 -4
- package/dist/cjs/components/message/messageControlled.js +0 -1
- package/dist/cjs/components/message/messageStandAlone.js +0 -1
- package/dist/cjs/components/message/messageUnControlled.js +0 -1
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +0 -1
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileHeader.js +0 -1
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileTooltip.js +0 -1
- package/dist/esm/components/message/index.js +0 -2
- package/dist/esm/components/message/messageControlled.js +0 -2
- package/dist/esm/components/message/messageStandAlone.js +0 -5
- package/dist/esm/components/message/messageUnControlled.js +0 -2
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +0 -3
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.js +0 -5
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.js +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -121,6 +121,58 @@ export declare type AccordionVariantStyles<Variant extends string> = AccordionSt
|
|
|
121
121
|
[key in Variant]: AccordionStyleProps;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Alert component for displaying notification messages.
|
|
126
|
+
*
|
|
127
|
+
* This component renders styled alerts.
|
|
128
|
+
* Useful for notifications, success/error messages, and informational banners.
|
|
129
|
+
* Always visible - no open/close functionality.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* ```tsx
|
|
133
|
+
* <Alert
|
|
134
|
+
* variant="success"
|
|
135
|
+
* content={{ content: "Your changes have been saved." }}
|
|
136
|
+
* />
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
export declare const Alert: ForwardRefExoticComponent<AlertProps<string> & RefAttributes<HTMLDivElement>>;
|
|
140
|
+
|
|
141
|
+
declare type AlertCssClasses = ComponentSelected<ComponentsTypesComponents['ALERT']>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Interface for the Alert component.
|
|
145
|
+
* Extends the AlertStandAloneProps interface and adds a variant and additional CSS classes.
|
|
146
|
+
*
|
|
147
|
+
* @template Variant - The type of the variant for the Alert.
|
|
148
|
+
*/
|
|
149
|
+
export declare interface AlertProps<Variant = undefined extends string ? unknown : string> extends AlertStandAloneProps {
|
|
150
|
+
variant?: Variant;
|
|
151
|
+
additionalClasses?: Partial<AlertCssClasses>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Interface for the standalone Alert component.
|
|
156
|
+
* A simplified component that displays alert messages. Always visible.
|
|
157
|
+
*/
|
|
158
|
+
export declare interface AlertStandAloneProps extends DataAttributes {
|
|
159
|
+
content: CommonTextProps;
|
|
160
|
+
role?: React.AriaRole;
|
|
161
|
+
id?: string;
|
|
162
|
+
ariaLive?: AriaAttributes['aria-live'];
|
|
163
|
+
cssClasses?: AlertCssClasses;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export declare interface AlertStyleProps extends CssLibPropsType {
|
|
167
|
+
_container?: CssLibPropsType;
|
|
168
|
+
_contentContainer?: CssLibPropsType;
|
|
169
|
+
_description?: CssLibPropsType;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export declare type AlertVariantStyles<Variant extends string> = AlertStyleProps & {
|
|
173
|
+
[key in Variant]: AlertStyleProps;
|
|
174
|
+
};
|
|
175
|
+
|
|
124
176
|
export declare interface ArrowsControlStyleProps extends CssLibPropsType {
|
|
125
177
|
_leftArrowControlContainer?: CssLibPropsType;
|
|
126
178
|
_rightArrowControlContainer?: CssLibPropsType;
|
|
@@ -542,6 +594,28 @@ export declare type ButtonVariantStyles<Variant extends string> = ButtonStylePro
|
|
|
542
594
|
[key in Variant]?: Partial<ButtonStyleProps>;
|
|
543
595
|
};
|
|
544
596
|
|
|
597
|
+
/**
|
|
598
|
+
* Calendar component for date selection.
|
|
599
|
+
*
|
|
600
|
+
* This component provides an interactive calendar interface for selecting single dates
|
|
601
|
+
* or date ranges. It supports month/year navigation, date restrictions, and customizable variants.
|
|
602
|
+
*
|
|
603
|
+
* @example
|
|
604
|
+
* ```tsx
|
|
605
|
+
* <Calendar
|
|
606
|
+
* selectedDate={new Date()}
|
|
607
|
+
* onSelectedDateChange={(date) => console.log(date)}
|
|
608
|
+
* />
|
|
609
|
+
*
|
|
610
|
+
* // Date range selection:
|
|
611
|
+
* <Calendar
|
|
612
|
+
* hasRange
|
|
613
|
+
* selectedDate={startDate}
|
|
614
|
+
* secondSelectedDate={endDate}
|
|
615
|
+
* onSelectedDateChange={(dates) => console.log(dates)}
|
|
616
|
+
* />
|
|
617
|
+
* ```
|
|
618
|
+
*/
|
|
545
619
|
export declare const Calendar: ForwardRefExoticComponent<CalendarProps<string> & RefAttributes<HTMLDivElement>>;
|
|
546
620
|
|
|
547
621
|
/**
|
|
@@ -796,16 +870,63 @@ export declare type ChecboxVariantStyles<Variant extends string> = ChecboxStyleP
|
|
|
796
870
|
[key in Variant]?: ChecboxStyleProps;
|
|
797
871
|
};
|
|
798
872
|
|
|
873
|
+
/**
|
|
874
|
+
* CheckboxUnControlled component with internal state management.
|
|
875
|
+
*
|
|
876
|
+
* This component renders a checkbox that manages its own checked state internally.
|
|
877
|
+
* Useful when you don't need to control the checkbox state from a parent component.
|
|
878
|
+
* It automatically handles toggle behavior on user interaction.
|
|
879
|
+
*
|
|
880
|
+
* @example
|
|
881
|
+
* ```tsx
|
|
882
|
+
* <CheckboxUnControlled
|
|
883
|
+
* checked={false}
|
|
884
|
+
* onChange={(e) => console.log(e.target.checked)}
|
|
885
|
+
* label="Remember me"
|
|
886
|
+
* />
|
|
887
|
+
* ```
|
|
888
|
+
*/
|
|
799
889
|
export declare const Checkbox: ForwardRefExoticComponent<CheckboxUnControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
800
890
|
|
|
801
891
|
declare type CheckboxAriaAttributes = Pick<React.AriaAttributes, 'aria-label' | 'aria-labelledby' | 'aria-hidden' | 'aria-describedby'>;
|
|
802
892
|
|
|
893
|
+
/**
|
|
894
|
+
* CheckboxBaseUnControlled component with internal state management.
|
|
895
|
+
*
|
|
896
|
+
* This is a low-level uncontrolled checkbox that manages its own checked state.
|
|
897
|
+
* It automatically handles toggle behavior and notifies via onChange callback.
|
|
898
|
+
* Useful for checkboxes that don't require external state control.
|
|
899
|
+
*
|
|
900
|
+
* @example
|
|
901
|
+
* ```tsx
|
|
902
|
+
* <CheckboxBaseUnControlled
|
|
903
|
+
* checked={false}
|
|
904
|
+
* onChange={(e) => console.log(e.target.checked)}
|
|
905
|
+
* />
|
|
906
|
+
* ```
|
|
907
|
+
*/
|
|
803
908
|
export declare const CheckboxBase: ForwardRefExoticComponent<CheckboxBaseUnControlledProps<string> & {
|
|
804
909
|
children?: ReactNode | undefined;
|
|
805
910
|
} & RefAttributes<HTMLDivElement>>;
|
|
806
911
|
|
|
807
912
|
declare type CheckboxBaseAriaAttributesProps = Pick<React.AriaAttributes, 'aria-label' | 'aria-labelledby' | 'aria-hidden' | 'aria-describedby'>;
|
|
808
913
|
|
|
914
|
+
/**
|
|
915
|
+
* CheckboxBaseControlled component for managed checkbox state.
|
|
916
|
+
*
|
|
917
|
+
* This is a low-level checkbox component where the checked state is controlled
|
|
918
|
+
* externally. It handles error states, required validation, and applies appropriate
|
|
919
|
+
* styling based on the checkbox state (checked, unchecked, indeterminate, disabled).
|
|
920
|
+
*
|
|
921
|
+
* @example
|
|
922
|
+
* ```tsx
|
|
923
|
+
* <CheckboxBaseControlled
|
|
924
|
+
* checked={isChecked}
|
|
925
|
+
* onChange={(e) => setIsChecked(e.target.checked)}
|
|
926
|
+
* error={hasError}
|
|
927
|
+
* />
|
|
928
|
+
* ```
|
|
929
|
+
*/
|
|
809
930
|
export declare const CheckboxBaseControlled: ForwardRefExoticComponent<CheckboxBaseControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
810
931
|
|
|
811
932
|
/**
|
|
@@ -848,6 +969,22 @@ export declare interface CheckboxBaseStandAloneProps extends InputActionsProps,
|
|
|
848
969
|
*/
|
|
849
970
|
export declare type CheckboxBaseUnControlledProps<Variant = undefined extends string ? unknown : string> = CheckboxBaseControlledProps<Variant>;
|
|
850
971
|
|
|
972
|
+
/**
|
|
973
|
+
* CheckboxControlled component for managed checkbox state.
|
|
974
|
+
*
|
|
975
|
+
* This component renders a checkbox where the checked state is controlled
|
|
976
|
+
* externally via props. It handles checked, indeterminate, disabled, and
|
|
977
|
+
* error states with appropriate styling and ARIA attributes.
|
|
978
|
+
*
|
|
979
|
+
* @example
|
|
980
|
+
* ```tsx
|
|
981
|
+
* <CheckboxControlled
|
|
982
|
+
* checked={isChecked}
|
|
983
|
+
* onChange={(e) => setIsChecked(e.target.checked)}
|
|
984
|
+
* label="Accept terms"
|
|
985
|
+
* />
|
|
986
|
+
* ```
|
|
987
|
+
*/
|
|
851
988
|
export declare const CheckboxControlled: ForwardRefExoticComponent<CheckboxControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
852
989
|
|
|
853
990
|
/**
|
|
@@ -958,11 +1095,6 @@ export declare interface ChipStandAloneProps extends DataAttributes {
|
|
|
958
1095
|
rangeIcon?: ElementOrIconProps;
|
|
959
1096
|
errorMessage?: CommonTextProps;
|
|
960
1097
|
rangeSeparator?: CommonTextProps;
|
|
961
|
-
/**
|
|
962
|
-
* @deprecated
|
|
963
|
-
* Use closeIcon -> altText instead
|
|
964
|
-
*/
|
|
965
|
-
deleteText?: string;
|
|
966
1098
|
state: ChipStateType;
|
|
967
1099
|
cssClasses?: ChipCssClasses;
|
|
968
1100
|
}
|
|
@@ -996,7 +1128,7 @@ declare type ComponentSelected<T> = Pick<T, NonVariablesKeys<T>>;
|
|
|
996
1128
|
|
|
997
1129
|
declare type ComponentSelected_2<T> = Pick<T, NonVariablesKeys_2<T>>;
|
|
998
1130
|
|
|
999
|
-
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | 'CARD_IMAGE' | 'CAROUSEL' | 'CHECKBOX' | 'CHECKBOX_BASE' | 'CHIP' | 'CONTAINER' | 'DATA_TABLE' | 'DOT' | 'DROPDOWN_SELECTED' | 'ERROR_MESSAGE' | 'ICON' | 'INPUT' | 'INPUT_BASE' | 'INPUT_DECORATION' | 'INPUT_SIGNATURE' | 'ITEM_ROVE' | 'LINK' | 'LINK_AS_BUTTON' | 'LIST_OPTIONS' | '
|
|
1131
|
+
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'ALERT' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | 'CARD_IMAGE' | 'CAROUSEL' | 'CHECKBOX' | 'CHECKBOX_BASE' | 'CHIP' | 'CONTAINER' | 'DATA_TABLE' | 'DOT' | 'DROPDOWN_SELECTED' | 'ERROR_MESSAGE' | 'ICON' | 'INPUT' | 'INPUT_BASE' | 'INPUT_DECORATION' | 'INPUT_SIGNATURE' | 'ITEM_ROVE' | 'LINK' | 'LINK_AS_BUTTON' | 'LIST_OPTIONS' | 'MODAL' | 'NAVBAR' | 'OPTION' | 'OVERLAY' | 'PAGE_CONTROL' | 'PAGINATION' | 'POPOVER' | 'PROGRESS_BAR' | 'RADIO_BUTTON' | 'SELECTOR_BOX_FILE' | 'SKELETON' | 'SLIDER' | 'SNACKBAR' | 'STEPPER_NUMBER' | 'TABLE' | 'TABLE_BODY' | 'TABLE_CAPTION' | 'TABLE_CELL' | 'TABLE_DIVIDER' | 'TABLE_FOOT' | 'TABLE_HEAD' | 'TABLE_ROW' | 'TABS' | 'TAG' | 'TEXT' | 'TEXT_AREA' | 'TEXT_COUNT' | 'TOGGLE' | 'TOOLTIP' | 'VIRTUAL_KEYBOARD';
|
|
1000
1132
|
|
|
1001
1133
|
declare type ComponentsTypesComponents = {
|
|
1002
1134
|
ACCORDION: {
|
|
@@ -1012,6 +1144,27 @@ declare type ComponentsTypesComponents = {
|
|
|
1012
1144
|
accordion: string;
|
|
1013
1145
|
};
|
|
1014
1146
|
};
|
|
1147
|
+
ALERT: {
|
|
1148
|
+
container: string;
|
|
1149
|
+
contentcontainer: string;
|
|
1150
|
+
description: string;
|
|
1151
|
+
$_error: {
|
|
1152
|
+
alert: string;
|
|
1153
|
+
container: string;
|
|
1154
|
+
};
|
|
1155
|
+
$_informative: {
|
|
1156
|
+
alert: string;
|
|
1157
|
+
container: string;
|
|
1158
|
+
};
|
|
1159
|
+
$_success: {
|
|
1160
|
+
alert: string;
|
|
1161
|
+
container: string;
|
|
1162
|
+
};
|
|
1163
|
+
$_warning: {
|
|
1164
|
+
alert: string;
|
|
1165
|
+
container: string;
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1015
1168
|
AVATAR: {
|
|
1016
1169
|
avatar: string;
|
|
1017
1170
|
dot: string;
|
|
@@ -1087,10 +1240,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1087
1240
|
button: string;
|
|
1088
1241
|
icon: string;
|
|
1089
1242
|
};
|
|
1090
|
-
$_medium: {
|
|
1091
|
-
button: string;
|
|
1092
|
-
icon: string;
|
|
1093
|
-
};
|
|
1094
1243
|
$_small: {
|
|
1095
1244
|
button: string;
|
|
1096
1245
|
icon: string;
|
|
@@ -1526,49 +1675,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1526
1675
|
titlecontainer: string;
|
|
1527
1676
|
};
|
|
1528
1677
|
};
|
|
1529
|
-
MESSAGE: {
|
|
1530
|
-
message: string;
|
|
1531
|
-
actionbuttoncontainer: string;
|
|
1532
|
-
buttonsectioncontainer: string;
|
|
1533
|
-
closeicon: string;
|
|
1534
|
-
container: string;
|
|
1535
|
-
contentcontainer: string;
|
|
1536
|
-
contentcontainerlargemessage: string;
|
|
1537
|
-
description: string;
|
|
1538
|
-
extraactionbuttoncontainer: string;
|
|
1539
|
-
headercontainer: string;
|
|
1540
|
-
headercontainerlargemessage: string;
|
|
1541
|
-
infoicon: string;
|
|
1542
|
-
linkcontainer: string;
|
|
1543
|
-
linkscontainer: string;
|
|
1544
|
-
title: string;
|
|
1545
|
-
titlecontainer: string;
|
|
1546
|
-
$_error: {
|
|
1547
|
-
message: string;
|
|
1548
|
-
container: string;
|
|
1549
|
-
infoicon: string;
|
|
1550
|
-
};
|
|
1551
|
-
$_informative: {
|
|
1552
|
-
message: string;
|
|
1553
|
-
container: string;
|
|
1554
|
-
infoicon: string;
|
|
1555
|
-
};
|
|
1556
|
-
$_success: {
|
|
1557
|
-
message: string;
|
|
1558
|
-
container: string;
|
|
1559
|
-
infoicon: string;
|
|
1560
|
-
};
|
|
1561
|
-
$_warning: {
|
|
1562
|
-
message: string;
|
|
1563
|
-
container: string;
|
|
1564
|
-
infoicon: string;
|
|
1565
|
-
};
|
|
1566
|
-
action_button: {
|
|
1567
|
-
button: string;
|
|
1568
|
-
icon: string;
|
|
1569
|
-
loader: string;
|
|
1570
|
-
};
|
|
1571
|
-
};
|
|
1572
1678
|
MODAL: {
|
|
1573
1679
|
modal: string;
|
|
1574
1680
|
closebuttoncontainer: string;
|
|
@@ -1819,7 +1925,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1819
1925
|
};
|
|
1820
1926
|
SELECTOR_BOX_FILE: {
|
|
1821
1927
|
selector_box_file: string;
|
|
1822
|
-
actiondescriptioncontainer: string;
|
|
1823
1928
|
actionicon: string;
|
|
1824
1929
|
actioniconandactiontextcontainer: string;
|
|
1825
1930
|
animationcontainer: string;
|
|
@@ -1832,57 +1937,13 @@ declare type ComponentsTypesComponents = {
|
|
|
1832
1937
|
containerboxfilename: string;
|
|
1833
1938
|
containerboxicon: string;
|
|
1834
1939
|
containerboxtextscontainer: string;
|
|
1835
|
-
description: string;
|
|
1836
|
-
descriptioncontainer: string;
|
|
1837
|
-
errormessage: string;
|
|
1838
|
-
errormessagecontainer: string;
|
|
1839
|
-
errormessageicon: string;
|
|
1840
1940
|
header: string;
|
|
1841
1941
|
leftanimationcontainer: string;
|
|
1842
1942
|
rightanimationcontainer: string;
|
|
1843
|
-
subtitle: string;
|
|
1844
|
-
subtitletooltipcontainer: string;
|
|
1845
|
-
title: string;
|
|
1846
|
-
titlesubtitlecontainer: string;
|
|
1847
|
-
tooltipicon: string;
|
|
1848
|
-
tooltipiconcontainer: string;
|
|
1849
1943
|
topanimationcontainer: string;
|
|
1850
1944
|
$_default: {
|
|
1851
1945
|
selector_box_file: string;
|
|
1852
1946
|
};
|
|
1853
|
-
button_size: {
|
|
1854
|
-
icon: string;
|
|
1855
|
-
button: string;
|
|
1856
|
-
loader: string;
|
|
1857
|
-
};
|
|
1858
|
-
button_variant: {
|
|
1859
|
-
button: string;
|
|
1860
|
-
icon: string;
|
|
1861
|
-
loader: string;
|
|
1862
|
-
};
|
|
1863
|
-
tooltip: {
|
|
1864
|
-
arrowcontainer: string;
|
|
1865
|
-
arrowposition: string;
|
|
1866
|
-
arrowsize: string;
|
|
1867
|
-
closebuttoncontainer: string;
|
|
1868
|
-
closebuttonicon: string;
|
|
1869
|
-
headercontainer: string;
|
|
1870
|
-
paragraph: string;
|
|
1871
|
-
paragraphcontainer: string;
|
|
1872
|
-
title: string;
|
|
1873
|
-
tooltipexternalcontainer: string;
|
|
1874
|
-
tooltipinternalcontainer: string;
|
|
1875
|
-
popover: {
|
|
1876
|
-
arrow: string;
|
|
1877
|
-
popover: string;
|
|
1878
|
-
};
|
|
1879
|
-
arrow: string;
|
|
1880
|
-
divider: string;
|
|
1881
|
-
dragicon: string;
|
|
1882
|
-
dragiconcontainer: string;
|
|
1883
|
-
tooltipalignstyles: string;
|
|
1884
|
-
tooltipasmodal: string;
|
|
1885
|
-
};
|
|
1886
1947
|
};
|
|
1887
1948
|
SKELETON: {
|
|
1888
1949
|
skeleton: string;
|
|
@@ -3082,6 +3143,21 @@ declare type DataAttributes = {
|
|
|
3082
3143
|
[key in `data-${string}`]?: string;
|
|
3083
3144
|
};
|
|
3084
3145
|
|
|
3146
|
+
/**
|
|
3147
|
+
* DataTable component for displaying structured data in a table format.
|
|
3148
|
+
*
|
|
3149
|
+
* This component provides advanced table functionality including sticky columns,
|
|
3150
|
+
* scrollable content, shadow effects, and divider management. It handles complex
|
|
3151
|
+
* table behaviors automatically through internal hooks.
|
|
3152
|
+
*
|
|
3153
|
+
* @example
|
|
3154
|
+
* ```tsx
|
|
3155
|
+
* <DataTable variant="striped">
|
|
3156
|
+
* <TableHead>...</TableHead>
|
|
3157
|
+
* <TableBody>...</TableBody>
|
|
3158
|
+
* </DataTable>
|
|
3159
|
+
* ```
|
|
3160
|
+
*/
|
|
3085
3161
|
export declare const DataTable: ForwardRefExoticComponent<DataTableProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3086
3162
|
|
|
3087
3163
|
export declare type DataTableCellProps = TableCellProps & {
|
|
@@ -3779,6 +3855,23 @@ export declare interface ImageStyleProps {
|
|
|
3779
3855
|
width?: string;
|
|
3780
3856
|
}
|
|
3781
3857
|
|
|
3858
|
+
/**
|
|
3859
|
+
* Input component for text input fields.
|
|
3860
|
+
*
|
|
3861
|
+
* This component provides a styled text input with support for labels, helper text,
|
|
3862
|
+
* error messages, icons, and various states (disabled, error, success). It manages
|
|
3863
|
+
* focus state internally and applies appropriate styling.
|
|
3864
|
+
*
|
|
3865
|
+
* @example
|
|
3866
|
+
* ```tsx
|
|
3867
|
+
* <Input
|
|
3868
|
+
* label="Email"
|
|
3869
|
+
* type="email"
|
|
3870
|
+
* placeholder="Enter your email"
|
|
3871
|
+
* error="Invalid email"
|
|
3872
|
+
* />
|
|
3873
|
+
* ```
|
|
3874
|
+
*/
|
|
3782
3875
|
export declare const Input: ForwardRefExoticComponent<InputProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3783
3876
|
|
|
3784
3877
|
declare type InputActionsProps = Pick<DOMAttributes<HTMLInputElement>, 'onBlur' | 'onChange'>;
|
|
@@ -3787,6 +3880,23 @@ export declare type InputActionsType = Pick<DOMAttributes<HTMLInputElement>, 'on
|
|
|
3787
3880
|
|
|
3788
3881
|
declare type InputActionsType_2 = Pick<DOMAttributes<HTMLInputElement>, 'onBlur' | 'onChange'>;
|
|
3789
3882
|
|
|
3883
|
+
/**
|
|
3884
|
+
* InputBase component for basic text input functionality.
|
|
3885
|
+
*
|
|
3886
|
+
* This is a low-level input component that provides the foundation for more
|
|
3887
|
+
* complex input components. It manages states (focused, filled, error, disabled)
|
|
3888
|
+
* and applies appropriate styling and ARIA attributes.
|
|
3889
|
+
*
|
|
3890
|
+
* @example
|
|
3891
|
+
* ```tsx
|
|
3892
|
+
* <InputBase
|
|
3893
|
+
* placeholder="Enter text"
|
|
3894
|
+
* error={hasError}
|
|
3895
|
+
* filled={!!value}
|
|
3896
|
+
* focused={isFocused}
|
|
3897
|
+
* />
|
|
3898
|
+
* ```
|
|
3899
|
+
*/
|
|
3790
3900
|
export declare const InputBase: ForwardRefExoticComponent<InputBaseProps<string> & RefAttributes<HTMLInputElement>>;
|
|
3791
3901
|
|
|
3792
3902
|
export declare type InputBaseActionsType = Pick<DOMAttributes<HTMLInputElement>, 'onKeyDown' | 'onFocus' | 'onBlur' | 'onPaste' | 'onCopy'>;
|
|
@@ -3842,6 +3952,24 @@ export declare type InputBaseVariantStyles<Variant extends string> = CssLibProps
|
|
|
3842
3952
|
|
|
3843
3953
|
declare type InputCssClasses = ComponentSelected<ComponentsTypesComponents['INPUT']>;
|
|
3844
3954
|
|
|
3955
|
+
/**
|
|
3956
|
+
* InputDecoration component for wrapping and decorating input fields.
|
|
3957
|
+
*
|
|
3958
|
+
* This component provides a styled container for input elements with support
|
|
3959
|
+
* for labels, icons, helper text, and various visual states. It manages the
|
|
3960
|
+
* state representation (focused, filled, error, disabled) for consistent styling.
|
|
3961
|
+
*
|
|
3962
|
+
* @example
|
|
3963
|
+
* ```tsx
|
|
3964
|
+
* <InputDecoration
|
|
3965
|
+
* label="Email"
|
|
3966
|
+
* error={hasError}
|
|
3967
|
+
* helperText="Enter a valid email"
|
|
3968
|
+
* >
|
|
3969
|
+
* <input type="email" />
|
|
3970
|
+
* </InputDecoration>
|
|
3971
|
+
* ```
|
|
3972
|
+
*/
|
|
3845
3973
|
export declare const InputDecoration: ForwardRefExoticComponent<InputDecorationProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3846
3974
|
|
|
3847
3975
|
declare type InputDecorationCssClasses = ComponentSelected<ComponentsTypesComponents['INPUT_DECORATION']>;
|
|
@@ -3895,8 +4023,43 @@ export declare interface InputProps<Variant = undefined extends string ? unknown
|
|
|
3895
4023
|
additionalClasses?: Partial<InputCssClasses>;
|
|
3896
4024
|
}
|
|
3897
4025
|
|
|
4026
|
+
/**
|
|
4027
|
+
* InputSignatureUnControlled component with internal signature management.
|
|
4028
|
+
*
|
|
4029
|
+
* This component provides a canvas-based signature capture that manages its own
|
|
4030
|
+
* state internally. It handles drawing, clearing, and state updates automatically.
|
|
4031
|
+
* Exposes methods via ref for resetting the signature canvas.
|
|
4032
|
+
*
|
|
4033
|
+
* @example
|
|
4034
|
+
* ```tsx
|
|
4035
|
+
* const signatureRef = useRef();
|
|
4036
|
+
*
|
|
4037
|
+
* <InputSignatureUnControlled
|
|
4038
|
+
* ref={signatureRef}
|
|
4039
|
+
* onChange={(dataUrl) => console.log(dataUrl)}
|
|
4040
|
+
* />
|
|
4041
|
+
*
|
|
4042
|
+
* // Reset signature: signatureRef.current.reset()
|
|
4043
|
+
* ```
|
|
4044
|
+
*/
|
|
3898
4045
|
export declare const InputSignature: ForwardRefExoticComponent<InputSignatureUnControlledProps<string> & RefAttributes<InputSignatureCustomHandle | undefined>>;
|
|
3899
4046
|
|
|
4047
|
+
/**
|
|
4048
|
+
* InputSignatureControlled component for capturing handwritten signatures.
|
|
4049
|
+
*
|
|
4050
|
+
* This component provides a canvas-based signature capture interface where
|
|
4051
|
+
* signature style (color, line width) is controlled externally. It's useful
|
|
4052
|
+
* for forms requiring user signatures.
|
|
4053
|
+
*
|
|
4054
|
+
* @example
|
|
4055
|
+
* ```tsx
|
|
4056
|
+
* <InputSignatureControlled
|
|
4057
|
+
* signatureStyle={{ color: '#000000', lineWidth: 2 }}
|
|
4058
|
+
* setSignatureStyles={(style) => console.log(style)}
|
|
4059
|
+
* onSignatureChange={(dataUrl) => setSignature(dataUrl)}
|
|
4060
|
+
* />
|
|
4061
|
+
* ```
|
|
4062
|
+
*/
|
|
3900
4063
|
export declare const InputSignatureControlled: ForwardRefExoticComponent<InputSignatureControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3901
4064
|
|
|
3902
4065
|
/**
|
|
@@ -4310,6 +4473,21 @@ export declare type LinkVariantStyles<Variant extends string> = LinkStylesProps
|
|
|
4310
4473
|
[key in Variant]?: LinkStylesProps;
|
|
4311
4474
|
};
|
|
4312
4475
|
|
|
4476
|
+
/**
|
|
4477
|
+
* ListOptions component for displaying a list of selectable options.
|
|
4478
|
+
*
|
|
4479
|
+
* This component renders a list container for options/items, commonly used
|
|
4480
|
+
* in dropdowns, select menus, or autocomplete interfaces. It manages styling
|
|
4481
|
+
* and provides a consistent container for option elements.
|
|
4482
|
+
*
|
|
4483
|
+
* @example
|
|
4484
|
+
* ```tsx
|
|
4485
|
+
* <ListOptions variant="default">
|
|
4486
|
+
* <Option>Option 1</Option>
|
|
4487
|
+
* <Option>Option 2</Option>
|
|
4488
|
+
* </ListOptions>
|
|
4489
|
+
* ```
|
|
4490
|
+
*/
|
|
4313
4491
|
export declare const ListOptions: ForwardRefExoticComponent<ListOptionsProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4314
4492
|
|
|
4315
4493
|
/**
|
|
@@ -4392,122 +4570,6 @@ declare interface MediaQueries {
|
|
|
4392
4570
|
onlyLargeDesktop: string;
|
|
4393
4571
|
}
|
|
4394
4572
|
|
|
4395
|
-
export declare const Message: ForwardRefExoticComponent<MessageUnControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4396
|
-
|
|
4397
|
-
/**
|
|
4398
|
-
* Represents the type for the action button in the Message component.
|
|
4399
|
-
*/
|
|
4400
|
-
export declare type MessageActionButtonProps = Omit<ButtonProps, 'children' | 'size'> & {
|
|
4401
|
-
content?: React.ReactNode;
|
|
4402
|
-
size?: string;
|
|
4403
|
-
};
|
|
4404
|
-
|
|
4405
|
-
/**
|
|
4406
|
-
* Represents the type for the container as a link in the Message component.
|
|
4407
|
-
*/
|
|
4408
|
-
export declare interface MessageContainerAsLinkProps {
|
|
4409
|
-
onClick?: () => void;
|
|
4410
|
-
url?: string;
|
|
4411
|
-
target?: React.HTMLAttributeAnchorTarget;
|
|
4412
|
-
}
|
|
4413
|
-
|
|
4414
|
-
export declare const MessageControlled: ForwardRefExoticComponent<MessageProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4415
|
-
|
|
4416
|
-
declare type MessageCssClasses = ComponentSelected<ComponentsTypesComponents['MESSAGE']>;
|
|
4417
|
-
|
|
4418
|
-
/**
|
|
4419
|
-
* Represents the type for the extra action button in the Message component.
|
|
4420
|
-
*/
|
|
4421
|
-
export declare type MessageExtraActionButtonProps = Omit<ButtonProps, 'children'> & {
|
|
4422
|
-
content?: React.ReactNode;
|
|
4423
|
-
};
|
|
4424
|
-
|
|
4425
|
-
/**
|
|
4426
|
-
* Represents the type for the link in the Message component.
|
|
4427
|
-
*/
|
|
4428
|
-
export declare type MessageLinkProps = Omit<LinkProps, 'children'> & {
|
|
4429
|
-
content?: string;
|
|
4430
|
-
};
|
|
4431
|
-
|
|
4432
|
-
/**
|
|
4433
|
-
* Interface for the controlled Message component.
|
|
4434
|
-
* Extends the MessageStandAloneProps interface and adds a variant and additional CSS classes.
|
|
4435
|
-
*
|
|
4436
|
-
* @template Variant - The type of the variant for the Message.
|
|
4437
|
-
*/
|
|
4438
|
-
export declare interface MessageProps<Variant = undefined extends string ? unknown : string> extends Omit<MessageStandAloneProps, 'linkComponent'> {
|
|
4439
|
-
open: boolean;
|
|
4440
|
-
variant?: Variant;
|
|
4441
|
-
additionalClasses?: Partial<MessageCssClasses>;
|
|
4442
|
-
}
|
|
4443
|
-
|
|
4444
|
-
/**
|
|
4445
|
-
* Interface for the standalone Message component.
|
|
4446
|
-
* Includes properties for icons, buttons, links, tags, and CSS classes.
|
|
4447
|
-
*/
|
|
4448
|
-
export declare interface MessageStandAloneProps extends DataAttributes {
|
|
4449
|
-
linkComponent: GenericLinkType;
|
|
4450
|
-
messageContainerProps?: MessageContainerAsLinkProps;
|
|
4451
|
-
titleAndContentContainerProps?: MessageContainerAsLinkProps;
|
|
4452
|
-
titleAndContentRole?: AriaRole;
|
|
4453
|
-
infoIcon?: ElementOrIconProps;
|
|
4454
|
-
actionButton?: MessageActionButtonProps;
|
|
4455
|
-
extraActionButton?: MessageExtraActionButtonProps;
|
|
4456
|
-
content: CommonTextProps;
|
|
4457
|
-
inlineLink?: MessageLinkProps;
|
|
4458
|
-
title?: CommonTextProps;
|
|
4459
|
-
tag?: MessageTagProps;
|
|
4460
|
-
ariaMessageId?: string;
|
|
4461
|
-
closeIcon?: ElementOrIconProps;
|
|
4462
|
-
maxContentLength?: number;
|
|
4463
|
-
open: boolean;
|
|
4464
|
-
role?: React.AriaRole;
|
|
4465
|
-
id?: string;
|
|
4466
|
-
ariaLive?: AriaAttributes['aria-live'];
|
|
4467
|
-
links?: MessageLinkProps[];
|
|
4468
|
-
cssClasses?: MessageCssClasses;
|
|
4469
|
-
}
|
|
4470
|
-
|
|
4471
|
-
export declare interface MessageStyleProps extends CssLibPropsType {
|
|
4472
|
-
_container?: CssLibPropsType;
|
|
4473
|
-
_headerContainer?: CssLibPropsType;
|
|
4474
|
-
_headerContainerLargeMessage?: CssLibPropsType;
|
|
4475
|
-
_title?: CssLibPropsType;
|
|
4476
|
-
_titleContainer?: CssLibPropsType;
|
|
4477
|
-
_contentContainer?: CssLibPropsType;
|
|
4478
|
-
_contentContainerLargeMessage?: CssLibPropsType;
|
|
4479
|
-
_description?: CssLibPropsType;
|
|
4480
|
-
_infoIcon?: CssLibPropsType;
|
|
4481
|
-
_closeIcon?: CssLibPropsType;
|
|
4482
|
-
_buttonSectionContainer?: CssLibPropsType;
|
|
4483
|
-
_actionButtonContainer?: CssLibPropsType;
|
|
4484
|
-
_extraActionButtonContainer?: CssLibPropsType;
|
|
4485
|
-
_illustration?: CssLibPropsType;
|
|
4486
|
-
_linkContainer?: CssLibPropsType;
|
|
4487
|
-
_linksContainer?: CssLibPropsType;
|
|
4488
|
-
}
|
|
4489
|
-
|
|
4490
|
-
/**
|
|
4491
|
-
* Represents the type for the tag in the Message component.
|
|
4492
|
-
*/
|
|
4493
|
-
export declare type MessageTagProps = Omit<TagProps, 'children'> & {
|
|
4494
|
-
content: string;
|
|
4495
|
-
};
|
|
4496
|
-
|
|
4497
|
-
/**
|
|
4498
|
-
* Interface for the uncontrolled Message component.
|
|
4499
|
-
* Extends the MessageProps interface and omits specific properties.
|
|
4500
|
-
*
|
|
4501
|
-
* @template Variant - The type of the variant for the Message.
|
|
4502
|
-
*/
|
|
4503
|
-
export declare interface MessageUnControlledProps<Variant = undefined extends string ? unknown : string> extends Omit<MessageProps<Variant>, 'open'> {
|
|
4504
|
-
defaultOpen?: boolean;
|
|
4505
|
-
}
|
|
4506
|
-
|
|
4507
|
-
export declare type MessageVariantStyles<Variant extends string> = MessageStyleProps & {
|
|
4508
|
-
[key in Variant]: MessageStyleProps;
|
|
4509
|
-
};
|
|
4510
|
-
|
|
4511
4573
|
/**
|
|
4512
4574
|
* Options for middleware configuration in the popover
|
|
4513
4575
|
*/
|
|
@@ -4517,6 +4579,23 @@ declare interface MiddlewareOptions {
|
|
|
4517
4579
|
hideWhenDetached?: boolean;
|
|
4518
4580
|
}
|
|
4519
4581
|
|
|
4582
|
+
/**
|
|
4583
|
+
* ModalUnControlled component with internal state management.
|
|
4584
|
+
*
|
|
4585
|
+
* This component renders a modal that manages its own open/close state internally.
|
|
4586
|
+
* It automatically syncs with prop changes and handles keyboard interactions.
|
|
4587
|
+
* Useful when you don't need external control over the modal's visibility.
|
|
4588
|
+
*
|
|
4589
|
+
* @example
|
|
4590
|
+
* ```tsx
|
|
4591
|
+
* <ModalUnControlled
|
|
4592
|
+
* open={true}
|
|
4593
|
+
* onClose={() => console.log('closed')}
|
|
4594
|
+
* >
|
|
4595
|
+
* Modal content
|
|
4596
|
+
* </ModalUnControlled>
|
|
4597
|
+
* ```
|
|
4598
|
+
*/
|
|
4520
4599
|
export declare const Modal: ForwardRefExoticComponent<ModalUnControlledProps<string | undefined> & {
|
|
4521
4600
|
children?: ReactNode | undefined;
|
|
4522
4601
|
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -4537,6 +4616,24 @@ export declare interface ModalContentContainerProps extends Pick<AriaAttributes,
|
|
|
4537
4616
|
role?: string;
|
|
4538
4617
|
}
|
|
4539
4618
|
|
|
4619
|
+
/**
|
|
4620
|
+
* ModalControlled component for displaying overlay dialogs.
|
|
4621
|
+
*
|
|
4622
|
+
* This component manages modal visibility externally through props. It provides
|
|
4623
|
+
* scroll detection, swipe-down gestures, focus management, and portal rendering.
|
|
4624
|
+
* Use this when you need full control over the modal's open/close state.
|
|
4625
|
+
*
|
|
4626
|
+
* @example
|
|
4627
|
+
* ```tsx
|
|
4628
|
+
* <ModalControlled
|
|
4629
|
+
* open={isOpen}
|
|
4630
|
+
* onClose={() => setIsOpen(false)}
|
|
4631
|
+
* variant="default"
|
|
4632
|
+
* >
|
|
4633
|
+
* Modal content here
|
|
4634
|
+
* </ModalControlled>
|
|
4635
|
+
* ```
|
|
4636
|
+
*/
|
|
4540
4637
|
export declare const ModalControlled: ForwardRefExoticComponent<ModalControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4541
4638
|
|
|
4542
4639
|
/**
|
|
@@ -4693,6 +4790,24 @@ declare type NonVariablesKeys_2<T> = {
|
|
|
4693
4790
|
[K in keyof T]: K extends `$${string}` ? never : K;
|
|
4694
4791
|
}[keyof T];
|
|
4695
4792
|
|
|
4793
|
+
/**
|
|
4794
|
+
* Option component for rendering selectable list items.
|
|
4795
|
+
*
|
|
4796
|
+
* This component represents a single option within a list, dropdown, or menu.
|
|
4797
|
+
* It manages focus states and supports custom variants for flexible styling.
|
|
4798
|
+
* Useful for building accessible select menus, autocomplete lists, or navigation options.
|
|
4799
|
+
*
|
|
4800
|
+
* Accepts a generic type parameter `<Variant extends string>` for custom variant values.
|
|
4801
|
+
*
|
|
4802
|
+
* @example
|
|
4803
|
+
* ```tsx
|
|
4804
|
+
* <Option value="option1" variant="default">Option 1</Option>
|
|
4805
|
+
*
|
|
4806
|
+
* // With custom variant:
|
|
4807
|
+
* type MyVariant = "primary" | "secondary";
|
|
4808
|
+
* <Option<MyVariant> variant="primary" value="item">Primary Option</Option>
|
|
4809
|
+
* ```
|
|
4810
|
+
*/
|
|
4696
4811
|
declare const Option_2: ForwardRefExoticComponent<OptionProps<string> & RefAttributes<HTMLElement>>;
|
|
4697
4812
|
export { Option_2 as Option }
|
|
4698
4813
|
|
|
@@ -4760,6 +4875,23 @@ export declare type OptionVariantStyles<Variant extends string> = OptionStylePro
|
|
|
4760
4875
|
[key in Variant]: OptionStyleProps;
|
|
4761
4876
|
};
|
|
4762
4877
|
|
|
4878
|
+
/**
|
|
4879
|
+
* PageControl component for pagination/slide navigation indicators.
|
|
4880
|
+
*
|
|
4881
|
+
* This component displays navigation dots or bullets with arrow controls for
|
|
4882
|
+
* paginated content like carousels. It handles position tracking, visibility
|
|
4883
|
+
* of dots, and direction-based navigation.
|
|
4884
|
+
*
|
|
4885
|
+
* @example
|
|
4886
|
+
* ```tsx
|
|
4887
|
+
* <PageControl
|
|
4888
|
+
* pages={10}
|
|
4889
|
+
* currentPosition={3}
|
|
4890
|
+
* onPageChange={(page) => console.log(page)}
|
|
4891
|
+
* isBullet
|
|
4892
|
+
* />
|
|
4893
|
+
* ```
|
|
4894
|
+
*/
|
|
4763
4895
|
export declare const PageControl: ForwardRefExoticComponent<PageControlProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4764
4896
|
|
|
4765
4897
|
/**
|
|
@@ -4827,6 +4959,26 @@ export declare type PageControlVariantStyles<Variant extends string> = PageContr
|
|
|
4827
4959
|
[key in Variant]: PageControlStyleProps;
|
|
4828
4960
|
};
|
|
4829
4961
|
|
|
4962
|
+
/**
|
|
4963
|
+
* Pagination component for navigating through multiple pages.
|
|
4964
|
+
*
|
|
4965
|
+
* This component renders a pagination control with page numbers and navigation buttons.
|
|
4966
|
+
* It automatically adjusts the visible page numbers based on screen size and configuration.
|
|
4967
|
+
* Useful for implementing page navigation in lists, tables, or content galleries.
|
|
4968
|
+
*
|
|
4969
|
+
* Accepts a generic type parameter `<Variant extends string>` for custom variant styling.
|
|
4970
|
+
*
|
|
4971
|
+
* @example
|
|
4972
|
+
* ```tsx
|
|
4973
|
+
* <Pagination
|
|
4974
|
+
* variant="default"
|
|
4975
|
+
* currentStep={5}
|
|
4976
|
+
* maxStepsNumber={100}
|
|
4977
|
+
* maxCountersNumber={7}
|
|
4978
|
+
* onStepChange={handlePageChange}
|
|
4979
|
+
* />
|
|
4980
|
+
* ```
|
|
4981
|
+
*/
|
|
4830
4982
|
export declare const Pagination: ForwardRefExoticComponent<PaginationProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4831
4983
|
|
|
4832
4984
|
/**
|
|
@@ -4925,6 +5077,24 @@ export declare interface PopoverStylePropsV2 extends CssLibPropsType {
|
|
|
4925
5077
|
|
|
4926
5078
|
declare type PositionType = 'bottom' | 'bottom-center' | 'bottom-center-fixed' | 'bottom-fixed' | 'bottom-gap-right' | 'bottom-left' | 'bottom-left-fit-content' | 'bottom-right' | 'bottom-right-fit-content' | 'center' | 'left' | 'left-bottom-fixed' | 'left-fixed' | 'right' | 'right-fixed' | 'top' | 'top-center' | 'top-center-fixed' | 'top-left' | 'top-right' | 'without';
|
|
4927
5079
|
|
|
5080
|
+
/**
|
|
5081
|
+
* ProgressBar component for displaying progress indicators.
|
|
5082
|
+
*
|
|
5083
|
+
* This component visualizes completion progress with customizable variants and sizes.
|
|
5084
|
+
* It displays a filled bar representing the percentage of progress completed.
|
|
5085
|
+
* Useful for showing loading states, task completion, or any measurable progress.
|
|
5086
|
+
*
|
|
5087
|
+
* Accepts generic type parameters `<Variant, Size>` for custom styling values.
|
|
5088
|
+
*
|
|
5089
|
+
* @example
|
|
5090
|
+
* ```tsx
|
|
5091
|
+
* <ProgressBar variant="primary" size="md" percentProgressCompleted={60} />
|
|
5092
|
+
*
|
|
5093
|
+
* // With custom types:
|
|
5094
|
+
* type MyVariant = "success" | "warning";
|
|
5095
|
+
* <ProgressBar<MyVariant> variant="success" percentProgressCompleted={100} />
|
|
5096
|
+
* ```
|
|
5097
|
+
*/
|
|
4928
5098
|
export declare const ProgressBar: ForwardRefExoticComponent<ProgressBarProps<string | undefined, unknown> & RefAttributes<HTMLDivElement>>;
|
|
4929
5099
|
|
|
4930
5100
|
/**
|
|
@@ -4961,11 +5131,6 @@ export declare interface ProgressBarStandAloneProps extends DataAttributes {
|
|
|
4961
5131
|
cssSizeClasses?: ProgressBarCssClasses;
|
|
4962
5132
|
barAriaLabel?: string;
|
|
4963
5133
|
progressCompleted: number;
|
|
4964
|
-
onChange?: (value: number) => void;
|
|
4965
|
-
onDragStart?: () => void;
|
|
4966
|
-
onDragEnd?: () => void;
|
|
4967
|
-
tooltip?: SliderTooltipProps;
|
|
4968
|
-
useAsSlider?: boolean;
|
|
4969
5134
|
progressAnimation?: {
|
|
4970
5135
|
duration?: string;
|
|
4971
5136
|
timingFunction?: string;
|
|
@@ -4987,6 +5152,22 @@ export declare type ProgressBarVariantStyles<Variant extends string> = {
|
|
|
4987
5152
|
|
|
4988
5153
|
declare type propsToOmit = 'styles' | 'filled' | 'focused' | 'inputBaseId' | 'labelId';
|
|
4989
5154
|
|
|
5155
|
+
/**
|
|
5156
|
+
* RadioButton component for single selection from multiple options.
|
|
5157
|
+
*
|
|
5158
|
+
* This component renders a styled radio input for use in forms and option groups.
|
|
5159
|
+
* It manages checked, disabled, and error states with appropriate visual feedback.
|
|
5160
|
+
*
|
|
5161
|
+
* @example
|
|
5162
|
+
* ```tsx
|
|
5163
|
+
* <RadioButton
|
|
5164
|
+
* name="option"
|
|
5165
|
+
* value="1"
|
|
5166
|
+
* checked={selectedValue === "1"}
|
|
5167
|
+
* onChange={(e) => setSelectedValue(e.target.value)}
|
|
5168
|
+
* />
|
|
5169
|
+
* ```
|
|
5170
|
+
*/
|
|
4990
5171
|
export declare const RadioButton: ({ additionalClasses, checked, cssClasses: propsStyles, disabled, error, variant, ...props }: RadioButtonProps) => JSX.Element;
|
|
4991
5172
|
|
|
4992
5173
|
/**
|
|
@@ -5092,16 +5273,24 @@ declare interface ScreenReaderOnlyProps extends DataAttributes {
|
|
|
5092
5273
|
role?: React.AriaRole;
|
|
5093
5274
|
}
|
|
5094
5275
|
|
|
5095
|
-
export declare const SelectorBoxFile: ForwardRefExoticComponent<SelectorBoxFileProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5096
|
-
|
|
5097
5276
|
/**
|
|
5098
|
-
*
|
|
5277
|
+
* SelectorBoxFile component for file upload with drag-and-drop support.
|
|
5278
|
+
*
|
|
5279
|
+
* This component provides a file selection interface with validation for file type
|
|
5280
|
+
* and size, upload progress display, error handling, and visual feedback states
|
|
5281
|
+
* (loading, success, error). It manages internal state for file selection and focus.
|
|
5282
|
+
*
|
|
5283
|
+
* @example
|
|
5284
|
+
* ```tsx
|
|
5285
|
+
* <SelectorBoxFile
|
|
5286
|
+
* accept="image/*"
|
|
5287
|
+
* maxSize={5000000}
|
|
5288
|
+
* onChange={(files) => console.log(files)}
|
|
5289
|
+
* onSizeError={(file) => alert('File too large')}
|
|
5290
|
+
* />
|
|
5291
|
+
* ```
|
|
5099
5292
|
*/
|
|
5100
|
-
export declare
|
|
5101
|
-
content: string;
|
|
5102
|
-
variant?: string;
|
|
5103
|
-
size?: string;
|
|
5104
|
-
};
|
|
5293
|
+
export declare const SelectorBoxFile: ForwardRefExoticComponent<SelectorBoxFileProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5105
5294
|
|
|
5106
5295
|
/**
|
|
5107
5296
|
* Represents the mapping of states to content in the SelectorBoxFile component.
|
|
@@ -5129,6 +5318,8 @@ export declare interface SelectorBoxFileProps<Variant = undefined extends string
|
|
|
5129
5318
|
success?: boolean;
|
|
5130
5319
|
error?: boolean;
|
|
5131
5320
|
disabled?: boolean;
|
|
5321
|
+
errorMaxSizeMessage?: CommonTextProps;
|
|
5322
|
+
errorFileExtensionMessage?: CommonTextProps;
|
|
5132
5323
|
percentage?: number;
|
|
5133
5324
|
variant?: Variant;
|
|
5134
5325
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
@@ -5143,16 +5334,8 @@ export declare interface SelectorBoxFileProps<Variant = undefined extends string
|
|
|
5143
5334
|
*/
|
|
5144
5335
|
export declare interface SelectorBoxFileStandAloneProps extends DataAttributes {
|
|
5145
5336
|
state: SelectorBoxFileStateType;
|
|
5146
|
-
title?: CommonTextProps;
|
|
5147
|
-
subtitle?: CommonTextProps;
|
|
5148
|
-
tooltipIcon?: ElementOrIconProps;
|
|
5149
|
-
tooltip?: SelectorBoxFileTooltipProps;
|
|
5150
5337
|
containerBoxStateContent: SelectorBoxFileContainerBoxStateContentProps;
|
|
5151
5338
|
filename?: string;
|
|
5152
|
-
errorMessageIcon?: ElementOrIconProps;
|
|
5153
|
-
errorMessage?: CommonTextProps;
|
|
5154
|
-
errorMaxSizeMessage?: CommonTextProps;
|
|
5155
|
-
errorFileExtensionMessage?: CommonTextProps;
|
|
5156
5339
|
focus: boolean;
|
|
5157
5340
|
onFocus: React.FocusEventHandler<HTMLInputElement>;
|
|
5158
5341
|
onBlur: React.FocusEventHandler<HTMLInputElement>;
|
|
@@ -5163,8 +5346,6 @@ export declare interface SelectorBoxFileStandAloneProps extends DataAttributes {
|
|
|
5163
5346
|
onChange: React.ChangeEventHandler<HTMLInputElement>;
|
|
5164
5347
|
onClick?: React.MouseEventHandler<HTMLInputElement>;
|
|
5165
5348
|
onAnimationCompleted?: () => void;
|
|
5166
|
-
description?: CommonTextProps;
|
|
5167
|
-
button?: SelectorBoxFileButtonProps;
|
|
5168
5349
|
maxSize?: number;
|
|
5169
5350
|
fileExtension?: string[];
|
|
5170
5351
|
loader?: React.ReactNode;
|
|
@@ -5175,19 +5356,7 @@ export declare interface SelectorBoxFileStandAloneProps extends DataAttributes {
|
|
|
5175
5356
|
declare type SelectorBoxFileStateType = Extract<StateType, 'default' | 'loading' | 'success' | 'error' | 'disabled'>;
|
|
5176
5357
|
|
|
5177
5358
|
export declare interface SelectorBoxFileStyleProps extends CssLibPropsType {
|
|
5178
|
-
_actionDescriptionContainer?: CssLibPropsType;
|
|
5179
5359
|
_header?: CssLibPropsType;
|
|
5180
|
-
_titleSubtitleContainer?: CssLibPropsType;
|
|
5181
|
-
_title?: CssLibPropsType;
|
|
5182
|
-
_subtitle?: CssLibPropsType;
|
|
5183
|
-
_subtitleTooltipContainer?: CssLibPropsType;
|
|
5184
|
-
_descriptionContainer?: CssLibPropsType;
|
|
5185
|
-
_description?: CssLibPropsType;
|
|
5186
|
-
_tooltipIconContainer?: CssLibPropsType;
|
|
5187
|
-
_tooltipIcon?: CssLibPropsType;
|
|
5188
|
-
_errorMessageContainer?: CssLibPropsType;
|
|
5189
|
-
_errorMessageIcon?: CssLibPropsType;
|
|
5190
|
-
_errorMessage?: CssLibPropsType;
|
|
5191
5360
|
_animationContainer?: CssLibPropsType;
|
|
5192
5361
|
_topAnimationContainer?: CssLibPropsType;
|
|
5193
5362
|
_leftAnimationContainer?: CssLibPropsType;
|
|
@@ -5205,17 +5374,24 @@ export declare interface SelectorBoxFileStyleProps extends CssLibPropsType {
|
|
|
5205
5374
|
_containerActionContainer?: CssLibPropsType;
|
|
5206
5375
|
}
|
|
5207
5376
|
|
|
5208
|
-
/**
|
|
5209
|
-
* Represents the type for the tooltip in the SelectorBoxFile component.
|
|
5210
|
-
*/
|
|
5211
|
-
export declare type SelectorBoxFileTooltipProps = Omit<TooltipUnControlledProps, 'children' | 'variant'> & {
|
|
5212
|
-
variant?: string;
|
|
5213
|
-
};
|
|
5214
|
-
|
|
5215
5377
|
export declare type SelectorBoxFileVariantStyles<Variant extends string> = SelectorBoxFileStyleProps & {
|
|
5216
5378
|
[key in Variant]?: SelectorBoxFileStyleProps;
|
|
5217
5379
|
};
|
|
5218
5380
|
|
|
5381
|
+
/**
|
|
5382
|
+
* Skeleton component for displaying loading placeholders.
|
|
5383
|
+
*
|
|
5384
|
+
* This component renders animated placeholder shapes while content is loading.
|
|
5385
|
+
* It supports different shapes (rectangle, circle, text) and variants for styling.
|
|
5386
|
+
* Useful for improving perceived performance by showing content structure during loading.
|
|
5387
|
+
*
|
|
5388
|
+
* @example
|
|
5389
|
+
* ```tsx
|
|
5390
|
+
* <Skeleton variant="rectangular" shapeVariant="image" />
|
|
5391
|
+
* <Skeleton variant="text" shapeVariant="heading" />
|
|
5392
|
+
* <Skeleton variant="circular" shapeVariant="avatar" />
|
|
5393
|
+
* ```
|
|
5394
|
+
*/
|
|
5219
5395
|
export declare const Skeleton: ForwardRefExoticComponent<SkeletonProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5220
5396
|
|
|
5221
5397
|
/**
|
|
@@ -5260,6 +5436,31 @@ export declare type SkeletonVariantStyles<Variant extends string> = CssLibPropsT
|
|
|
5260
5436
|
[key in Variant]?: CssLibPropsType;
|
|
5261
5437
|
};
|
|
5262
5438
|
|
|
5439
|
+
/**
|
|
5440
|
+
* Slider component for selecting values within a range.
|
|
5441
|
+
*
|
|
5442
|
+
* This component provides a draggable slider control for selecting single values
|
|
5443
|
+
* or value ranges. It supports keyboard navigation, custom min/max/step values,
|
|
5444
|
+
* tooltips, and range selection. Handles both mouse and touch interactions.
|
|
5445
|
+
*
|
|
5446
|
+
* @example
|
|
5447
|
+
* ```tsx
|
|
5448
|
+
* <Slider
|
|
5449
|
+
* min={0}
|
|
5450
|
+
* max={100}
|
|
5451
|
+
* value={50}
|
|
5452
|
+
* onChange={(value) => console.log(value)}
|
|
5453
|
+
* />
|
|
5454
|
+
*
|
|
5455
|
+
* // Range slider:
|
|
5456
|
+
* <Slider
|
|
5457
|
+
* min={0}
|
|
5458
|
+
* max={100}
|
|
5459
|
+
* rangeValue={[25, 75]}
|
|
5460
|
+
* onChange={(range) => console.log(range)}
|
|
5461
|
+
* />
|
|
5462
|
+
* ```
|
|
5463
|
+
*/
|
|
5263
5464
|
export declare const Slider: ForwardRefExoticComponent<SliderProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5264
5465
|
|
|
5265
5466
|
/**
|
|
@@ -5394,6 +5595,24 @@ export declare type SnackbarV2Popover = Omit<IPopover, 'children' | 'open'>;
|
|
|
5394
5595
|
|
|
5395
5596
|
declare type StateType = 'active' | 'active_filled' | 'active_filled_hide' | 'completed' | 'default' | 'default_selected' | 'default_unselected' | 'disabled' | 'disabled_empty' | 'disabled_filled' | 'disabled_filled_hide' | 'disabled_selected' | 'disabled_unselected' | 'error' | 'error_empty' | 'error_filled' | 'error_filled_hide' | 'empty' | 'filled' | 'filled_hide' | 'focus' | 'hover' | 'loading' | 'multiple_selected' | 'multiple_selected_hover' | 'prefilled' | 'pressed' | 'selected' | 'selected_hover' | 'success' | 'warning' | 'visited' | 'inactive' | 'filling' | 'blocked_by_system' | 'error_unselected' | 'error_selected' | 'current' | 'current_day' | 'start_date_range' | 'end_date_range' | 'midle_date_range' | 'pending' | 'unselected';
|
|
5396
5597
|
|
|
5598
|
+
/**
|
|
5599
|
+
* StepperNumber component for incrementing/decrementing numeric values.
|
|
5600
|
+
*
|
|
5601
|
+
* This component provides plus/minus buttons for adjusting numeric values with
|
|
5602
|
+
* configurable step intervals. Supports both horizontal and vertical orientations.
|
|
5603
|
+
*
|
|
5604
|
+
* @example
|
|
5605
|
+
* ```tsx
|
|
5606
|
+
* <StepperNumber
|
|
5607
|
+
* value={5}
|
|
5608
|
+
* min={0}
|
|
5609
|
+
* max={10}
|
|
5610
|
+
* step={1}
|
|
5611
|
+
* onChange={(newValue) => console.log(newValue)}
|
|
5612
|
+
* orientation="horizontal"
|
|
5613
|
+
* />
|
|
5614
|
+
* ```
|
|
5615
|
+
*/
|
|
5397
5616
|
export declare const StepperNumber: ForwardRefExoticComponent<StepperNumberProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5398
5617
|
|
|
5399
5618
|
declare type StepperNumberCssClasses = ComponentSelected<ComponentsTypesComponents['STEPPER_NUMBER']>;
|
|
@@ -5605,6 +5824,21 @@ export declare const Table: ForwardRefExoticComponent<TableProps & {
|
|
|
5605
5824
|
children?: ReactNode | undefined;
|
|
5606
5825
|
} & RefAttributes<HTMLDivElement>>;
|
|
5607
5826
|
|
|
5827
|
+
/**
|
|
5828
|
+
* TableBody component for rendering table body sections.
|
|
5829
|
+
*
|
|
5830
|
+
* This component wraps the tbody element with consistent styling and variant support.
|
|
5831
|
+
* Use it as a container for TableRow components within a Table.
|
|
5832
|
+
*
|
|
5833
|
+
* @example
|
|
5834
|
+
* ```tsx
|
|
5835
|
+
* <Table>
|
|
5836
|
+
* <TableBody variant="default">
|
|
5837
|
+
* <TableRow>...</TableRow>
|
|
5838
|
+
* </TableBody>
|
|
5839
|
+
* </Table>
|
|
5840
|
+
* ```
|
|
5841
|
+
*/
|
|
5608
5842
|
export declare const TableBody: ForwardRefExoticComponent<TableBodyProps & {
|
|
5609
5843
|
children?: ReactNode | undefined;
|
|
5610
5844
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5626,6 +5860,22 @@ export declare type TableBodyVariantStyles<Variant extends string> = CssLibProps
|
|
|
5626
5860
|
[key in Variant]: CssLibPropsType;
|
|
5627
5861
|
};
|
|
5628
5862
|
|
|
5863
|
+
/**
|
|
5864
|
+
* TableCaption component for providing titles or descriptions for tables.
|
|
5865
|
+
*
|
|
5866
|
+
* This component renders a caption element for tables, helping users understand
|
|
5867
|
+
* the table's purpose or contents. Important for accessibility and SEO.
|
|
5868
|
+
*
|
|
5869
|
+
* @example
|
|
5870
|
+
* ```tsx
|
|
5871
|
+
* <Table>
|
|
5872
|
+
* <TableCaption variant="default">
|
|
5873
|
+
* Sales Report for Q4 2024
|
|
5874
|
+
* </TableCaption>
|
|
5875
|
+
* <TableHead>...</TableHead>
|
|
5876
|
+
* </Table>
|
|
5877
|
+
* ```
|
|
5878
|
+
*/
|
|
5629
5879
|
export declare const TableCaption: ForwardRefExoticComponent<TableCaptionProps & {
|
|
5630
5880
|
children?: ReactNode | undefined;
|
|
5631
5881
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5648,6 +5898,20 @@ export declare type TableCaptionVariantStyles<Variant extends string> = CssLibPr
|
|
|
5648
5898
|
[key in Variant]: CssLibPropsType;
|
|
5649
5899
|
};
|
|
5650
5900
|
|
|
5901
|
+
/**
|
|
5902
|
+
* TableCell component for rendering individual table cells.
|
|
5903
|
+
*
|
|
5904
|
+
* This component wraps td or th elements with consistent styling and variant support.
|
|
5905
|
+
* Use it within TableRow components to display data or headers in a table.
|
|
5906
|
+
*
|
|
5907
|
+
* @example
|
|
5908
|
+
* ```tsx
|
|
5909
|
+
* <TableRow>
|
|
5910
|
+
* <TableCell variant="default">Cell content</TableCell>
|
|
5911
|
+
* <TableCell>Another cell</TableCell>
|
|
5912
|
+
* </TableRow>
|
|
5913
|
+
* ```
|
|
5914
|
+
*/
|
|
5651
5915
|
export declare const TableCell: ForwardRefExoticComponent<TableCellProps<string> & {
|
|
5652
5916
|
children?: ReactNode | undefined;
|
|
5653
5917
|
} & RefAttributes<HTMLTableCellElement>>;
|
|
@@ -5704,6 +5968,23 @@ export declare type TableCellVariantStyles<Variant extends string> = CssLibProps
|
|
|
5704
5968
|
|
|
5705
5969
|
declare type TableCssClasses = ComponentSelected<ComponentsTypesComponents['TABLE']>;
|
|
5706
5970
|
|
|
5971
|
+
/**
|
|
5972
|
+
* TableDivider component for rendering visual separators in tables.
|
|
5973
|
+
*
|
|
5974
|
+
* This component creates visual dividers or separators between table sections.
|
|
5975
|
+
* Useful for organizing complex tables with multiple logical groups of data.
|
|
5976
|
+
*
|
|
5977
|
+
* @example
|
|
5978
|
+
* ```tsx
|
|
5979
|
+
* <Table>
|
|
5980
|
+
* <TableBody>
|
|
5981
|
+
* <TableRow>...</TableRow>
|
|
5982
|
+
* <TableDivider variant="default" />
|
|
5983
|
+
* <TableRow>...</TableRow>
|
|
5984
|
+
* </TableBody>
|
|
5985
|
+
* </Table>
|
|
5986
|
+
* ```
|
|
5987
|
+
*/
|
|
5707
5988
|
export declare const TableDivider: ForwardRefExoticComponent<TableDividerProps & {
|
|
5708
5989
|
children?: ReactNode | undefined;
|
|
5709
5990
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5725,6 +6006,25 @@ export declare type TableDividerVariantStyles<Variant extends string> = CssLibPr
|
|
|
5725
6006
|
[key in Variant]: CssLibPropsType;
|
|
5726
6007
|
};
|
|
5727
6008
|
|
|
6009
|
+
/**
|
|
6010
|
+
* TableFoot component for rendering table footer sections.
|
|
6011
|
+
*
|
|
6012
|
+
* This component wraps the tfoot element with consistent styling and variant support.
|
|
6013
|
+
* Use it to display summary rows, totals, or footer information in a table.
|
|
6014
|
+
*
|
|
6015
|
+
* @example
|
|
6016
|
+
* ```tsx
|
|
6017
|
+
* <Table>
|
|
6018
|
+
* <TableBody>...</TableBody>
|
|
6019
|
+
* <TableFoot variant="default">
|
|
6020
|
+
* <TableRow>
|
|
6021
|
+
* <TableCell>Total</TableCell>
|
|
6022
|
+
* <TableCell>$1,234</TableCell>
|
|
6023
|
+
* </TableRow>
|
|
6024
|
+
* </TableFoot>
|
|
6025
|
+
* </Table>
|
|
6026
|
+
* ```
|
|
6027
|
+
*/
|
|
5728
6028
|
export declare const TableFoot: ForwardRefExoticComponent<TableFootProps & {
|
|
5729
6029
|
children?: ReactNode | undefined;
|
|
5730
6030
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5746,6 +6046,23 @@ export declare type TableFootVariantStyles<Variant extends string> = CssLibProps
|
|
|
5746
6046
|
[key in Variant]: CssLibPropsType;
|
|
5747
6047
|
};
|
|
5748
6048
|
|
|
6049
|
+
/**
|
|
6050
|
+
* TableHead component for rendering table header sections.
|
|
6051
|
+
*
|
|
6052
|
+
* This component wraps the thead element with consistent styling and variant support.
|
|
6053
|
+
* Use it as a container for TableRow components with header cells within a Table.
|
|
6054
|
+
*
|
|
6055
|
+
* @example
|
|
6056
|
+
* ```tsx
|
|
6057
|
+
* <Table>
|
|
6058
|
+
* <TableHead variant="default">
|
|
6059
|
+
* <TableRow>
|
|
6060
|
+
* <TableCell>Header 1</TableCell>
|
|
6061
|
+
* </TableRow>
|
|
6062
|
+
* </TableHead>
|
|
6063
|
+
* </Table>
|
|
6064
|
+
* ```
|
|
6065
|
+
*/
|
|
5749
6066
|
export declare const TableHead: ForwardRefExoticComponent<TableHeadProps & {
|
|
5750
6067
|
children?: ReactNode | undefined;
|
|
5751
6068
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5777,6 +6094,22 @@ export declare interface TableProps extends Omit<TableStandAloneProps, 'hasScrol
|
|
|
5777
6094
|
additionalClasses?: Partial<TableCssClasses>;
|
|
5778
6095
|
}
|
|
5779
6096
|
|
|
6097
|
+
/**
|
|
6098
|
+
* TableRow component for rendering table rows.
|
|
6099
|
+
*
|
|
6100
|
+
* This component wraps the tr element with consistent styling and variant support.
|
|
6101
|
+
* Use it as a container for TableCell components within TableHead or TableBody sections.
|
|
6102
|
+
*
|
|
6103
|
+
* @example
|
|
6104
|
+
* ```tsx
|
|
6105
|
+
* <TableBody>
|
|
6106
|
+
* <TableRow variant="default">
|
|
6107
|
+
* <TableCell>Data 1</TableCell>
|
|
6108
|
+
* <TableCell>Data 2</TableCell>
|
|
6109
|
+
* </TableRow>
|
|
6110
|
+
* </TableBody>
|
|
6111
|
+
* ```
|
|
6112
|
+
*/
|
|
5780
6113
|
export declare const TableRow: ForwardRefExoticComponent<TableRowProps & {
|
|
5781
6114
|
children?: ReactNode | undefined;
|
|
5782
6115
|
} & RefAttributes<HTMLTableRowElement>>;
|
|
@@ -5826,8 +6159,44 @@ export declare type TableVariantStyles<Variant extends string> = TableStyleProps
|
|
|
5826
6159
|
[key in Variant]: TableStyleProps;
|
|
5827
6160
|
};
|
|
5828
6161
|
|
|
6162
|
+
/**
|
|
6163
|
+
* TabsUnControlled component with internal tab selection state.
|
|
6164
|
+
*
|
|
6165
|
+
* This component renders a tab navigation that manages the selected tab internally.
|
|
6166
|
+
* It starts with a default selected tab and updates automatically on user interaction.
|
|
6167
|
+
* Useful when you don't need to control tab selection from a parent component.
|
|
6168
|
+
*
|
|
6169
|
+
* @example
|
|
6170
|
+
* ```tsx
|
|
6171
|
+
* <TabsUnControlled
|
|
6172
|
+
* defaultSelectedTab={0}
|
|
6173
|
+
* tabs={[
|
|
6174
|
+
* { id: 'tab1', label: 'Tab 1' },
|
|
6175
|
+
* { id: 'tab2', label: 'Tab 2' }
|
|
6176
|
+
* ]}
|
|
6177
|
+
* onSelectTab={(index) => console.log(index)}
|
|
6178
|
+
* />
|
|
6179
|
+
* ```
|
|
6180
|
+
*/
|
|
5829
6181
|
export declare const Tabs: ForwardRefExoticComponent<TabsUnControlledProps<string | undefined> & RefAttributes<HTMLDivElement>>;
|
|
5830
6182
|
|
|
6183
|
+
/**
|
|
6184
|
+
* TabsControlled component for tab navigation with external state management.
|
|
6185
|
+
*
|
|
6186
|
+
* This component displays a set of tabs where the selected tab is controlled
|
|
6187
|
+
* externally via props. It's device-aware and adjusts behavior based on screen size.
|
|
6188
|
+
*
|
|
6189
|
+
* @example
|
|
6190
|
+
* ```tsx
|
|
6191
|
+
* <TabsControlled
|
|
6192
|
+
* defaultSelectedTab="tab1"
|
|
6193
|
+
* tabs={[
|
|
6194
|
+
* { id: 'tab1', label: 'Tab 1' },
|
|
6195
|
+
* { id: 'tab2', label: 'Tab 2' }
|
|
6196
|
+
* ]}
|
|
6197
|
+
* />
|
|
6198
|
+
* ```
|
|
6199
|
+
*/
|
|
5831
6200
|
export declare const TabsControlled: ForwardRefExoticComponent<TabsUnControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5832
6201
|
|
|
5833
6202
|
declare type TabsCssClasses = ComponentSelected<ComponentsTypesComponents['TABS']>;
|
|
@@ -5982,6 +6351,23 @@ export declare type TagVariantStyles<Variant extends string> = TagStyleProps & {
|
|
|
5982
6351
|
declare const Text_2: ForwardRefExoticComponent<TextProps<string> & RefAttributes<HTMLParagraphElement>>;
|
|
5983
6352
|
export { Text_2 as Text }
|
|
5984
6353
|
|
|
6354
|
+
/**
|
|
6355
|
+
* TextArea component for multi-line text input.
|
|
6356
|
+
*
|
|
6357
|
+
* This component provides a styled textarea with support for labels, error states,
|
|
6358
|
+
* character counting, and focus management. It handles internal focus state and
|
|
6359
|
+
* applies appropriate styling based on filled and error states.
|
|
6360
|
+
*
|
|
6361
|
+
* @example
|
|
6362
|
+
* ```tsx
|
|
6363
|
+
* <TextArea
|
|
6364
|
+
* label="Comments"
|
|
6365
|
+
* placeholder="Enter your comments"
|
|
6366
|
+
* maxLength={500}
|
|
6367
|
+
* error="Required field"
|
|
6368
|
+
* />
|
|
6369
|
+
* ```
|
|
6370
|
+
*/
|
|
5985
6371
|
export declare const TextArea: ForwardRefExoticComponent<TextAreaProps<string | undefined> & RefAttributes<HTMLDivElement>>;
|
|
5986
6372
|
|
|
5987
6373
|
export declare type TextAreaCssClasses = ComponentSelected<ComponentsTypesComponents['TEXT_AREA']>;
|
|
@@ -6267,6 +6653,23 @@ export declare type ToggleVariantStyles<Variant extends string> = ToggleVariantS
|
|
|
6267
6653
|
[key in Variant]?: ToggleVariantStyleProps;
|
|
6268
6654
|
};
|
|
6269
6655
|
|
|
6656
|
+
/**
|
|
6657
|
+
* TooltipUnControlled component with internal visibility management.
|
|
6658
|
+
*
|
|
6659
|
+
* This component renders a tooltip that manages its own open/close state based
|
|
6660
|
+
* on user interactions (hover, focus). It handles modal behavior on mobile devices,
|
|
6661
|
+
* scroll detection, swipe gestures, and focus trapping automatically.
|
|
6662
|
+
*
|
|
6663
|
+
* @example
|
|
6664
|
+
* ```tsx
|
|
6665
|
+
* <TooltipUnControlled
|
|
6666
|
+
* title="Helpful information"
|
|
6667
|
+
* variant="default"
|
|
6668
|
+
* >
|
|
6669
|
+
* <button>Hover me</button>
|
|
6670
|
+
* </TooltipUnControlled>
|
|
6671
|
+
* ```
|
|
6672
|
+
*/
|
|
6270
6673
|
export declare const Tooltip: ForwardRefExoticComponent<TooltipUnControlledProps<string | undefined> & RefAttributes<HTMLDivElement>>;
|
|
6271
6674
|
|
|
6272
6675
|
declare type TooltipAlignType = Extract<PositionType, 'top' | 'right' | 'bottom' | 'left'>;
|
|
@@ -6278,6 +6681,25 @@ export declare type TooltipCloseIconProps = Omit<IconProps, 'icon'> & {
|
|
|
6278
6681
|
icon?: string;
|
|
6279
6682
|
};
|
|
6280
6683
|
|
|
6684
|
+
/**
|
|
6685
|
+
* TooltipControlled component for displaying contextual information.
|
|
6686
|
+
*
|
|
6687
|
+
* This component renders a tooltip that can be shown on hover or focus.
|
|
6688
|
+
* It supports modal behavior on mobile devices and adjusts positioning based
|
|
6689
|
+
* on scroll detection. State is managed externally via props.
|
|
6690
|
+
*
|
|
6691
|
+
* @example
|
|
6692
|
+
* ```tsx
|
|
6693
|
+
* <TooltipControlled
|
|
6694
|
+
* variant="default"
|
|
6695
|
+
* title="Help text"
|
|
6696
|
+
* open={isOpen}
|
|
6697
|
+
* onOpenChange={setIsOpen}
|
|
6698
|
+
* >
|
|
6699
|
+
* <button>Hover me</button>
|
|
6700
|
+
* </TooltipControlled>
|
|
6701
|
+
* ```
|
|
6702
|
+
*/
|
|
6281
6703
|
export declare const TooltipControlled: <Variant extends string>({ additionalClasses, tooltipAriaLabel, tooltipAsModal: propTooltipAsModal, tooltipAsModal: isModal, tooltipRef, variant, ...props }: TooltipControlledProps<Variant>) => JSX.Element;
|
|
6282
6704
|
|
|
6283
6705
|
/**
|