@kubit-ui-web/react-components 2.0.0-beta.21 → 2.0.0-beta.23
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/cjs/components/breadcrumbs/components/crumbStandAlone/crumbStandAlone.js +1 -1
- package/dist/cjs/components/card/card.js +1 -0
- package/dist/cjs/components/card/cardStandAlone.js +1 -0
- package/dist/cjs/components/card/index.js +4 -0
- package/dist/cjs/components/inputDecoration/inputDecorationStandAlone.js +1 -1
- package/dist/cjs/components/modal/fragments/modalHeader.js +1 -1
- package/dist/cjs/components/modal/modalUnControlled.js +1 -1
- package/dist/cjs/components/option/optionStandAlone.js +1 -1
- package/dist/cjs/components/radioButton/radioButtonStandAlone.js +1 -1
- package/dist/cjs/components/select/index.js +4 -0
- package/dist/cjs/components/select/selectControlled.js +1 -0
- package/dist/cjs/components/select/selectStandAlone.js +1 -0
- package/dist/cjs/components/select/selectUncontrolled.js +1 -0
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +1 -1
- package/dist/cjs/components/virtualKeyboard/virtualKeyboardStandAlone.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/lib/designSystem/kubit/css/kubit.css +1 -1
- package/dist/cjs/lib/designSystem/kubit/css/kubit.min.css +1 -1
- package/dist/cjs/lib/provider/cssProvider/stats/stats.js +1 -1
- package/dist/cjs/react-components.css +1 -1
- package/dist/esm/components/breadcrumbs/components/crumbStandAlone/crumbStandAlone.js +3 -3
- package/dist/esm/components/card/card.js +2 -0
- package/dist/esm/components/card/cardStandAlone.js +2 -0
- package/dist/esm/components/card/index.js +2 -0
- package/dist/esm/components/inputDecoration/inputDecorationStandAlone.js +2 -2
- package/dist/esm/components/modal/fragments/modalHeader.js +3 -3
- package/dist/esm/components/modal/modalUnControlled.js +2 -2
- package/dist/esm/components/option/optionStandAlone.js +9 -9
- package/dist/esm/components/radioButton/radioButtonStandAlone.js +4 -4
- package/dist/esm/components/select/index.js +2 -0
- package/dist/esm/components/select/selectControlled.js +1 -0
- package/dist/esm/components/select/selectStandAlone.js +5 -0
- package/dist/esm/components/select/selectUncontrolled.js +2 -0
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +8 -8
- package/dist/esm/components/virtualKeyboard/virtualKeyboardStandAlone.js +4 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib/designSystem/kubit/css/kubit.css +1 -1
- package/dist/esm/lib/designSystem/kubit/css/kubit.min.css +1 -1
- package/dist/esm/lib/provider/cssProvider/stats/stats.js +1 -1
- package/dist/esm/react-components.css +1 -1
- package/dist/styles/kubit/css/kubit.css +83 -83
- package/dist/styles/kubit/css/kubit.min.css +1 -1
- package/dist/types/index.d.ts +297 -269
- package/package.json +4 -4
- package/dist/cjs/components/cardImage/cardImage.js +0 -1
- package/dist/cjs/components/cardImage/cardImageStandAlone.js +0 -1
- package/dist/cjs/components/dropdownSelected/dropdownSelectedControlled.js +0 -1
- package/dist/cjs/components/dropdownSelected/dropdownSelectedStandAlone.js +0 -1
- package/dist/cjs/components/dropdownSelected/dropdownSelectedUncontrolled.js +0 -1
- package/dist/cjs/components/dropdownSelected/index.js +0 -4
- package/dist/esm/components/cardImage/cardImage.js +0 -2
- package/dist/esm/components/cardImage/cardImageStandAlone.js +0 -7
- package/dist/esm/components/dropdownSelected/dropdownSelectedControlled.js +0 -1
- package/dist/esm/components/dropdownSelected/dropdownSelectedStandAlone.js +0 -5
- package/dist/esm/components/dropdownSelected/dropdownSelectedUncontrolled.js +0 -2
- package/dist/esm/components/dropdownSelected/index.js +0 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -454,7 +454,7 @@ export declare interface BreadcrumbsStandAloneProps extends BreadcrumbAriaAttrib
|
|
|
454
454
|
id?: string;
|
|
455
455
|
crumbs: BreadcrumbProps[];
|
|
456
456
|
minCharLimit?: number;
|
|
457
|
-
dividerIcon?:
|
|
457
|
+
dividerIcon?: CommonIconProps;
|
|
458
458
|
lastOneCrumbComponent?: TextComponentType;
|
|
459
459
|
cssClasses?: BreadcrumbsCssClasses;
|
|
460
460
|
}
|
|
@@ -478,7 +478,7 @@ export declare interface BreadcrumbStandAloneProps extends DataAttributes {
|
|
|
478
478
|
crumb: BreadcrumbProps;
|
|
479
479
|
lastCrumb?: boolean;
|
|
480
480
|
lastOneCrumbComponent?: TextComponentType;
|
|
481
|
-
dividerIcon?:
|
|
481
|
+
dividerIcon?: CommonIconProps;
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
export declare type BreadcrumbsVariantStyles<Variant extends string> = BreadcrumbsStyleProps & {
|
|
@@ -556,7 +556,7 @@ export declare interface ButtonProps<Variant = undefined extends string | unknow
|
|
|
556
556
|
export declare interface ButtonStandAloneProps extends PropsWithChildren<ButtonStylesProps>, ButtonAriaProps, DataAttributes {
|
|
557
557
|
type?: HTMLButtonElement['type'];
|
|
558
558
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
559
|
-
icon?:
|
|
559
|
+
icon?: CommonIconProps;
|
|
560
560
|
form?: string;
|
|
561
561
|
role?: AriaRole;
|
|
562
562
|
title?: string;
|
|
@@ -729,87 +729,121 @@ export declare type CalendarVariantStyles<Variant extends string> = CalendarStyl
|
|
|
729
729
|
};
|
|
730
730
|
|
|
731
731
|
/**
|
|
732
|
-
*
|
|
732
|
+
* Card component for displaying content in a structured container.
|
|
733
|
+
*
|
|
734
|
+
* This component wraps content in a styled card with optional header, content, and footer sections.
|
|
735
|
+
* It is useful for organizing information, displaying items in a list, or creating selectable cards.
|
|
736
|
+
* Supports interactive states (hover, selected) and custom theming via variants.
|
|
733
737
|
*
|
|
734
|
-
*
|
|
735
|
-
*
|
|
736
|
-
* types, enabling flexible theming and styling.
|
|
738
|
+
* All sections (header, content, footer) are optional and can accept either text or any React node.
|
|
739
|
+
* The card can respond to user interaction through onClick, onMouseEnter, and onMouseLeave handlers.
|
|
737
740
|
*
|
|
738
|
-
* Internally, it
|
|
741
|
+
* Internally, it computes CSS classes using a custom hook and delegates rendering to {@link CardStandAlone}.
|
|
739
742
|
*
|
|
740
|
-
*
|
|
741
|
-
*
|
|
743
|
+
* This component accepts a generic type parameter `<Variant extends string>` to allow for custom variant values,
|
|
744
|
+
* enabling flexible theming and styling.
|
|
742
745
|
*
|
|
743
746
|
* @example
|
|
744
747
|
* ```tsx
|
|
745
|
-
* <
|
|
748
|
+
* <Card
|
|
749
|
+
* header={{ content: "Card Title" }}
|
|
750
|
+
* content="This is the card content"
|
|
751
|
+
* footer={{ content: "Footer information" }}
|
|
752
|
+
* />
|
|
746
753
|
*
|
|
747
754
|
* // With a custom variant type:
|
|
748
|
-
* type MyVariant = "
|
|
749
|
-
* <
|
|
755
|
+
* type MyVariant = "primary" | "secondary";
|
|
756
|
+
* <Card<MyVariant>
|
|
757
|
+
* header="Primary Card"
|
|
758
|
+
* content={<div>Custom content</div>}
|
|
759
|
+
* variant="primary"
|
|
760
|
+
* state="selected"
|
|
761
|
+
* />
|
|
750
762
|
* ```
|
|
751
763
|
*/
|
|
752
|
-
export declare const
|
|
753
|
-
|
|
754
|
-
declare type CardImageCssClasses = ComponentSelected<ComponentsTypesComponents['CARD_IMAGE']>;
|
|
764
|
+
export declare const Card: ForwardRefExoticComponent<CardProps<string> & RefAttributes<HTMLDivElement>>;
|
|
755
765
|
|
|
756
|
-
|
|
757
|
-
* Represents the type for a link within the CardImage component.
|
|
758
|
-
* Extends the LinkProps interface and includes content.
|
|
759
|
-
*/
|
|
760
|
-
export declare type CardImageLinkProps = Omit<LinkProps, 'children'> & {
|
|
761
|
-
content: string;
|
|
762
|
-
};
|
|
766
|
+
declare type CardCssClasses = ComponentSelected<ComponentsTypesComponents['CARD']>;
|
|
763
767
|
|
|
764
768
|
/**
|
|
765
|
-
* Interface for the
|
|
766
|
-
* Extends the
|
|
769
|
+
* Interface for the card component with a variant.
|
|
770
|
+
* Extends the ICardStandAlone interface and adds a variant and additional CSS classes.
|
|
767
771
|
*
|
|
768
|
-
* @template Variant - The type of the variant for the
|
|
772
|
+
* @template Variant - The type of the variant for the card.
|
|
769
773
|
*/
|
|
770
|
-
export declare interface
|
|
774
|
+
export declare interface CardProps<Variant extends string | unknown> extends Omit<CardStandAloneProps, 'cssClasses'> {
|
|
771
775
|
variant?: Variant;
|
|
772
|
-
additionalClasses?:
|
|
776
|
+
additionalClasses?: Partial<CardCssClasses>;
|
|
773
777
|
}
|
|
774
778
|
|
|
775
779
|
/**
|
|
776
|
-
*
|
|
780
|
+
* Standalone card component for rendering a section with optional header, content and footer areas.
|
|
781
|
+
*
|
|
782
|
+
* This component displays a styled card container with three optional sections:
|
|
783
|
+
* - header: Can be text or any React node
|
|
784
|
+
* - content: Can be text or any React node
|
|
785
|
+
* - footer: Can be text or any React node
|
|
786
|
+
*
|
|
787
|
+
* Supports interactive states like hover and selected, making it useful for
|
|
788
|
+
* selectable cards, clickable items, or informational panels.
|
|
789
|
+
*
|
|
790
|
+
* This component accepts a generic type parameter `<Variant extends string>` to allow for custom variant values,
|
|
791
|
+
* enabling flexible theming and styling of the card.
|
|
792
|
+
*
|
|
793
|
+
* @example
|
|
794
|
+
* ```tsx
|
|
795
|
+
* <CardStandAlone
|
|
796
|
+
* header={{ content: "Card Title" }}
|
|
797
|
+
* content="Card content goes here"
|
|
798
|
+
* footer={{ content: "Footer text" }}
|
|
799
|
+
* />
|
|
800
|
+
*
|
|
801
|
+
* // With a custom variant type:
|
|
802
|
+
* type MyVariant = "primary" | "secondary";
|
|
803
|
+
* <CardStandAlone<MyVariant>
|
|
804
|
+
* header="Primary Card"
|
|
805
|
+
* content={<div>Custom content</div>}
|
|
806
|
+
* variant="primary"
|
|
807
|
+
* state="selected"
|
|
808
|
+
* />
|
|
809
|
+
* ```
|
|
777
810
|
*/
|
|
778
|
-
declare
|
|
779
|
-
[DEVICE_BREAKPOINTS.DESKTOP]: string;
|
|
780
|
-
[DEVICE_BREAKPOINTS.MOBILE]: string;
|
|
781
|
-
[DEVICE_BREAKPOINTS.TABLET]: string;
|
|
782
|
-
}
|
|
811
|
+
export declare const CardStandAlone: ForwardRefExoticComponent<CardStandAloneProps & RefAttributes<HTMLDivElement>>;
|
|
783
812
|
|
|
784
813
|
/**
|
|
785
|
-
* Interface for the standalone
|
|
786
|
-
*
|
|
814
|
+
* Interface for the standalone card component.
|
|
815
|
+
* It includes optional custom CSS classes, header, content, footer sections and interactive states.
|
|
787
816
|
*/
|
|
788
|
-
export declare interface
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
cssClasses?: CardImageCssClasses;
|
|
817
|
+
export declare interface CardStandAloneProps extends DataAttributes {
|
|
818
|
+
cssClasses?: CardCssClasses;
|
|
819
|
+
header?: CommonTextProps | ReactNode;
|
|
820
|
+
content?: CommonTextProps | ReactNode;
|
|
821
|
+
footer?: CommonTextProps | ReactNode;
|
|
822
|
+
state?: StateType;
|
|
823
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
824
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
|
|
825
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
|
|
798
826
|
}
|
|
799
827
|
|
|
800
|
-
|
|
801
|
-
|
|
828
|
+
/**
|
|
829
|
+
* Interface representing the styles for the card component.
|
|
830
|
+
*/
|
|
831
|
+
export declare interface CardStyleProps extends CssLibPropsType {
|
|
832
|
+
_header?: CssLibPropsType;
|
|
802
833
|
_content?: CssLibPropsType;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
_description?: CssLibPropsType;
|
|
808
|
-
_linkContainer?: CssLibPropsType;
|
|
834
|
+
_footer?: CssLibPropsType;
|
|
835
|
+
$pseudo?: {
|
|
836
|
+
hover?: CssLibPropsType;
|
|
837
|
+
};
|
|
809
838
|
}
|
|
810
839
|
|
|
811
|
-
|
|
812
|
-
|
|
840
|
+
/**
|
|
841
|
+
* Type representing the styles for different variants of the card component.
|
|
842
|
+
*
|
|
843
|
+
* @template Variant - The type of the variant keys.
|
|
844
|
+
*/
|
|
845
|
+
export declare type CardVariantStyles<Variant extends string> = CardStyleProps & {
|
|
846
|
+
[key in Variant]: CardStyleProps;
|
|
813
847
|
};
|
|
814
848
|
|
|
815
849
|
export declare const Carousel: ForwardRefExoticComponent<Omit<ICarousel, "ref"> & RefAttributes<CarouselRefType>>;
|
|
@@ -1128,7 +1162,7 @@ declare type ComponentSelected<T> = Pick<T, NonVariablesKeys<T>>;
|
|
|
1128
1162
|
|
|
1129
1163
|
declare type ComponentSelected_2<T> = Pick<T, NonVariablesKeys_2<T>>;
|
|
1130
1164
|
|
|
1131
|
-
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'ALERT' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | '
|
|
1165
|
+
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'ALERT' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | 'CARD' | 'CAROUSEL' | 'CHECKBOX' | 'CHECKBOX_BASE' | 'CHIP' | 'CONTAINER' | 'DATA_TABLE' | 'DOT' | 'ERROR_MESSAGE' | 'ICON' | 'INPUT' | 'INPUT_BASE' | 'INPUT_DECORATION' | 'INPUT_SIGNATURE' | 'ITEM_ROVE' | 'LINK' | 'LINK_AS_BUTTON' | 'LIST_OPTIONS' | 'MODAL' | 'OPTION' | 'OVERLAY' | 'PAGE_CONTROL' | 'PAGINATION' | 'POPOVER' | 'PROGRESS_BAR' | 'RADIO_BUTTON' | 'SELECT' | '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';
|
|
1132
1166
|
|
|
1133
1167
|
declare type ComponentsTypesComponents = {
|
|
1134
1168
|
ACCORDION: {
|
|
@@ -1244,26 +1278,26 @@ declare type ComponentsTypesComponents = {
|
|
|
1244
1278
|
button: string;
|
|
1245
1279
|
icon: string;
|
|
1246
1280
|
};
|
|
1247
|
-
$
|
|
1281
|
+
$_alternative: {
|
|
1248
1282
|
button: string;
|
|
1249
1283
|
};
|
|
1250
|
-
$
|
|
1284
|
+
$_ghost_alt: {
|
|
1251
1285
|
button: string;
|
|
1252
1286
|
};
|
|
1253
|
-
$
|
|
1287
|
+
$_ghost_primary: {
|
|
1254
1288
|
button: string;
|
|
1255
1289
|
};
|
|
1256
|
-
$
|
|
1290
|
+
$_ghost_secondary: {
|
|
1257
1291
|
button: string;
|
|
1258
1292
|
};
|
|
1259
|
-
$
|
|
1293
|
+
$_primary: {
|
|
1260
1294
|
button: string;
|
|
1261
1295
|
};
|
|
1262
|
-
$
|
|
1296
|
+
$_secondary: {
|
|
1263
1297
|
button: string;
|
|
1264
1298
|
};
|
|
1265
1299
|
dynamic_values: (styles: {
|
|
1266
|
-
$alignText: string;
|
|
1300
|
+
'$alignText': string;
|
|
1267
1301
|
}) => {
|
|
1268
1302
|
string: string;
|
|
1269
1303
|
object: object;
|
|
@@ -1306,22 +1340,16 @@ declare type ComponentsTypesComponents = {
|
|
|
1306
1340
|
loader: string;
|
|
1307
1341
|
};
|
|
1308
1342
|
};
|
|
1309
|
-
|
|
1310
|
-
|
|
1343
|
+
CARD: {
|
|
1344
|
+
card: string;
|
|
1311
1345
|
content: string;
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
imagecontainer: string;
|
|
1315
|
-
linkcontainer: string;
|
|
1316
|
-
textcontainer: string;
|
|
1317
|
-
title: string;
|
|
1318
|
-
titlecontainer: string;
|
|
1319
|
-
$_alternative: {
|
|
1320
|
-
card_image: string;
|
|
1321
|
-
};
|
|
1346
|
+
footer: string;
|
|
1347
|
+
header: string;
|
|
1322
1348
|
$_default: {
|
|
1323
|
-
|
|
1324
|
-
|
|
1349
|
+
card: string;
|
|
1350
|
+
content: string;
|
|
1351
|
+
footer: string;
|
|
1352
|
+
header: string;
|
|
1325
1353
|
};
|
|
1326
1354
|
};
|
|
1327
1355
|
CAROUSEL: {
|
|
@@ -1486,51 +1514,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1486
1514
|
dot: string;
|
|
1487
1515
|
};
|
|
1488
1516
|
};
|
|
1489
|
-
DROPDOWN_SELECTED: {
|
|
1490
|
-
dropdown_selected: string;
|
|
1491
|
-
buttonorlinkcontainer: string;
|
|
1492
|
-
iconclosed: string;
|
|
1493
|
-
iconopened: string;
|
|
1494
|
-
labelclosed: string;
|
|
1495
|
-
labelopened: string;
|
|
1496
|
-
listoptionscontainer: string;
|
|
1497
|
-
$_default: {
|
|
1498
|
-
dropdown_selected: string;
|
|
1499
|
-
buttonorlinkcontainer: string;
|
|
1500
|
-
iconclosed: string;
|
|
1501
|
-
iconopened: string;
|
|
1502
|
-
labelclosed: string;
|
|
1503
|
-
labelopened: string;
|
|
1504
|
-
listoptionscontainer: string;
|
|
1505
|
-
};
|
|
1506
|
-
$_side_menu: {
|
|
1507
|
-
dropdown_selected: string;
|
|
1508
|
-
buttonorlinkcontainer: string;
|
|
1509
|
-
iconclosed: string;
|
|
1510
|
-
iconopened: string;
|
|
1511
|
-
labelclosed: string;
|
|
1512
|
-
labelopened: string;
|
|
1513
|
-
listoptionscontainer: string;
|
|
1514
|
-
};
|
|
1515
|
-
$_topbar: {
|
|
1516
|
-
dropdown_selected: string;
|
|
1517
|
-
buttonorlinkcontainer: string;
|
|
1518
|
-
iconclosed: string;
|
|
1519
|
-
iconopened: string;
|
|
1520
|
-
labelclosed: string;
|
|
1521
|
-
labelopened: string;
|
|
1522
|
-
listoptionscontainer: string;
|
|
1523
|
-
};
|
|
1524
|
-
$_topbar_tab: {
|
|
1525
|
-
dropdown_selected: string;
|
|
1526
|
-
buttonorlinkcontainer: string;
|
|
1527
|
-
iconclosed: string;
|
|
1528
|
-
iconopened: string;
|
|
1529
|
-
labelclosed: string;
|
|
1530
|
-
labelopened: string;
|
|
1531
|
-
listoptionscontainer: string;
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1534
1517
|
ERROR_MESSAGE: {
|
|
1535
1518
|
error_message: string;
|
|
1536
1519
|
icon: string;
|
|
@@ -1544,11 +1527,11 @@ declare type ComponentsTypesComponents = {
|
|
|
1544
1527
|
complex: string;
|
|
1545
1528
|
svg: string;
|
|
1546
1529
|
dynamic_values: (styles: {
|
|
1547
|
-
$color: string;
|
|
1548
|
-
$moveAround: string;
|
|
1549
|
-
$transitionDuration: string;
|
|
1550
|
-
$height: string;
|
|
1551
|
-
$width: string;
|
|
1530
|
+
'$color': string;
|
|
1531
|
+
'$moveAround': string;
|
|
1532
|
+
'$transitionDuration': string;
|
|
1533
|
+
'$height': string;
|
|
1534
|
+
'$width': string;
|
|
1552
1535
|
}) => {
|
|
1553
1536
|
string: string;
|
|
1554
1537
|
object: object;
|
|
@@ -1852,6 +1835,51 @@ declare type ComponentsTypesComponents = {
|
|
|
1852
1835
|
tooltipasmodal: string;
|
|
1853
1836
|
};
|
|
1854
1837
|
};
|
|
1838
|
+
SELECT: {
|
|
1839
|
+
select: string;
|
|
1840
|
+
buttonorlinkcontainer: string;
|
|
1841
|
+
iconclosed: string;
|
|
1842
|
+
iconopened: string;
|
|
1843
|
+
labelclosed: string;
|
|
1844
|
+
labelopened: string;
|
|
1845
|
+
listoptionscontainer: string;
|
|
1846
|
+
$_default: {
|
|
1847
|
+
select: string;
|
|
1848
|
+
buttonorlinkcontainer: string;
|
|
1849
|
+
iconclosed: string;
|
|
1850
|
+
iconopened: string;
|
|
1851
|
+
labelclosed: string;
|
|
1852
|
+
labelopened: string;
|
|
1853
|
+
listoptionscontainer: string;
|
|
1854
|
+
};
|
|
1855
|
+
$_side_menu: {
|
|
1856
|
+
select: string;
|
|
1857
|
+
buttonorlinkcontainer: string;
|
|
1858
|
+
iconclosed: string;
|
|
1859
|
+
iconopened: string;
|
|
1860
|
+
labelclosed: string;
|
|
1861
|
+
labelopened: string;
|
|
1862
|
+
listoptionscontainer: string;
|
|
1863
|
+
};
|
|
1864
|
+
$_topbar: {
|
|
1865
|
+
select: string;
|
|
1866
|
+
buttonorlinkcontainer: string;
|
|
1867
|
+
iconclosed: string;
|
|
1868
|
+
iconopened: string;
|
|
1869
|
+
labelclosed: string;
|
|
1870
|
+
labelopened: string;
|
|
1871
|
+
listoptionscontainer: string;
|
|
1872
|
+
};
|
|
1873
|
+
$_topbar_tab: {
|
|
1874
|
+
select: string;
|
|
1875
|
+
buttonorlinkcontainer: string;
|
|
1876
|
+
iconclosed: string;
|
|
1877
|
+
iconopened: string;
|
|
1878
|
+
labelclosed: string;
|
|
1879
|
+
labelopened: string;
|
|
1880
|
+
listoptionscontainer: string;
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1855
1883
|
SELECTOR_BOX_FILE: {
|
|
1856
1884
|
selector_box_file: string;
|
|
1857
1885
|
actionicon: string;
|
|
@@ -2031,18 +2059,18 @@ declare type ComponentsTypesComponents = {
|
|
|
2031
2059
|
table_cell: string;
|
|
2032
2060
|
};
|
|
2033
2061
|
dynamic_values: (styles: {
|
|
2034
|
-
$tdWidth: string;
|
|
2035
|
-
$tdHeight: string;
|
|
2036
|
-
$tdMinWidth: string;
|
|
2037
|
-
$tdMaxWidth: string;
|
|
2038
|
-
$tdTextAlign: string;
|
|
2039
|
-
$tdVerticalAlign: string;
|
|
2040
|
-
$tdAlignItems: string;
|
|
2041
|
-
$tdJustifyContent: string;
|
|
2042
|
-
$tdTop: string;
|
|
2043
|
-
$tdLeft: string;
|
|
2044
|
-
$tdRight: string;
|
|
2045
|
-
$tdBottom: string;
|
|
2062
|
+
'$tdWidth': string;
|
|
2063
|
+
'$tdHeight': string;
|
|
2064
|
+
'$tdMinWidth': string;
|
|
2065
|
+
'$tdMaxWidth': string;
|
|
2066
|
+
'$tdTextAlign': string;
|
|
2067
|
+
'$tdVerticalAlign': string;
|
|
2068
|
+
'$tdAlignItems': string;
|
|
2069
|
+
'$tdJustifyContent': string;
|
|
2070
|
+
'$tdTop': string;
|
|
2071
|
+
'$tdLeft': string;
|
|
2072
|
+
'$tdRight': string;
|
|
2073
|
+
'$tdBottom': string;
|
|
2046
2074
|
}) => {
|
|
2047
2075
|
string: string;
|
|
2048
2076
|
object: object;
|
|
@@ -3304,124 +3332,6 @@ export declare type DotThemeStyles<variant extends string, size extends string>
|
|
|
3304
3332
|
[s in size]: CssLibPropsType;
|
|
3305
3333
|
};
|
|
3306
3334
|
|
|
3307
|
-
/**
|
|
3308
|
-
* Uncontrolled dropdown component for displaying selectable options.
|
|
3309
|
-
*
|
|
3310
|
-
* This component manages its own open/close state and selected option internally, so you do not need
|
|
3311
|
-
* to control the dropdown state from the parent. It is useful when you want a simple dropdown that handles
|
|
3312
|
-
* its own toggle and selection logic. You can optionally receive state changes via callbacks.
|
|
3313
|
-
*
|
|
3314
|
-
* Internally, it wraps {@link DropdownSelectedControlled} and passes the necessary props.
|
|
3315
|
-
*
|
|
3316
|
-
* @example
|
|
3317
|
-
* ```tsx
|
|
3318
|
-
* <DropdownSelectedUnControlled defaultOpen />
|
|
3319
|
-
* ```
|
|
3320
|
-
*/
|
|
3321
|
-
export declare const DropdownSelected: ForwardRefExoticComponent<DropdownSelectedUnControlledProps & RefAttributes<HTMLDivElement>>;
|
|
3322
|
-
|
|
3323
|
-
/**
|
|
3324
|
-
* Controlled dropdown component for displaying selectable options.
|
|
3325
|
-
*
|
|
3326
|
-
* This component renders a dropdown that is fully controlled by its parent, allowing for custom open/close logic,
|
|
3327
|
-
* keyboard navigation, and flexible theming. It is useful when you need to manage the dropdown state and behavior externally.
|
|
3328
|
-
*
|
|
3329
|
-
* Internally, it wraps {@link DropdownSelectedStandAlone} and handles keyboard focus and scroll-based closing.
|
|
3330
|
-
* Accepts a generic type parameter `<Variant extends string>` to allow for custom variant values, enabling flexible styling.
|
|
3331
|
-
*
|
|
3332
|
-
* @example
|
|
3333
|
-
* ```tsx
|
|
3334
|
-
* <DropdownSelectedControlled open listOptions={options} />
|
|
3335
|
-
*
|
|
3336
|
-
* // With a custom variant type:
|
|
3337
|
-
* type MyVariant = "primary" | "secondary";
|
|
3338
|
-
* <DropdownSelectedControlled<MyVariant> variant="primary" open listOptions={options} />
|
|
3339
|
-
* ```
|
|
3340
|
-
*/
|
|
3341
|
-
export declare const DropdownSelectedControlled: ForwardRefExoticComponent<DropdownSelectedControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3342
|
-
|
|
3343
|
-
/**
|
|
3344
|
-
* Interface for the controlled DropdownSelected component.
|
|
3345
|
-
* Extends the DropdownSelectedStandAloneProps interface and adds a variant and additional CSS classes.
|
|
3346
|
-
*
|
|
3347
|
-
* @template Variant - The type of the variant for the DropdownSelected.
|
|
3348
|
-
*/
|
|
3349
|
-
export declare interface DropdownSelectedControlledProps<Variant = undefined extends string ? unknown : string> extends Omit<DropdownSelectedStandAloneProps, 'listOptionsRef' | 'onButtonKeyDown' | 'component'> {
|
|
3350
|
-
variant?: Variant;
|
|
3351
|
-
additionalClasses?: Partial<DropdownSelectedCssClasses>;
|
|
3352
|
-
}
|
|
3353
|
-
|
|
3354
|
-
declare type DropdownSelectedCssClasses = ComponentSelected<ComponentsTypesComponents['DROPDOWN_SELECTED']>;
|
|
3355
|
-
|
|
3356
|
-
/**
|
|
3357
|
-
* Represents the type for the list options in the DropdownSelected component.
|
|
3358
|
-
*/
|
|
3359
|
-
export declare type DropdownSelectedListOptionsProps = Omit<ListOptionsProps, 'selectedValue' | 'onOptionClick'>;
|
|
3360
|
-
|
|
3361
|
-
declare type DropdownSelectedOmittedProps = 'buttonOrLinkRef' | 'open' | 'onButtonClick' | 'optionSelected' | 'onOptionClick' | 'onClosePopover' | 'onMouseEnter' | 'onMouseLeave' | 'onBlur' | 'onFocus' | 'onKeyDown';
|
|
3362
|
-
|
|
3363
|
-
/**
|
|
3364
|
-
* Represents the type for the popover in the DropdownSelected component.
|
|
3365
|
-
*/
|
|
3366
|
-
export declare type DropdownSelectedPopoverProps = Omit<IPopover, 'children' | 'open'>;
|
|
3367
|
-
|
|
3368
|
-
/**
|
|
3369
|
-
* Interface for the standalone DropdownSelected component.
|
|
3370
|
-
* Includes properties for state, event handlers, and CSS classes.
|
|
3371
|
-
*/
|
|
3372
|
-
export declare interface DropdownSelectedStandAloneProps extends DataAttributes {
|
|
3373
|
-
open: boolean;
|
|
3374
|
-
popover?: DropdownSelectedPopoverProps;
|
|
3375
|
-
onButtonClick: MouseEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
3376
|
-
onButtonKeyDown: KeyboardEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
3377
|
-
onClosePopover: () => void;
|
|
3378
|
-
label: CommonTextProps;
|
|
3379
|
-
icon: ElementOrIconProps;
|
|
3380
|
-
listOptions: DropdownSelectedListOptionsProps;
|
|
3381
|
-
optionSelected?: string;
|
|
3382
|
-
onOptionClick: (value: string) => void;
|
|
3383
|
-
listOptionsRef: RefObject<HTMLDivElement>;
|
|
3384
|
-
closePopoverOnScroll?: boolean;
|
|
3385
|
-
openAndCloseOnHover?: boolean;
|
|
3386
|
-
url?: string;
|
|
3387
|
-
urlTarget?: HTMLAttributeAnchorTarget;
|
|
3388
|
-
component: 'button' | GenericLinkType;
|
|
3389
|
-
buttonOrLinkRef?: RefObject<HTMLButtonElement>;
|
|
3390
|
-
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
3391
|
-
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
3392
|
-
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
3393
|
-
cssClasses?: DropdownSelectedCssClasses;
|
|
3394
|
-
}
|
|
3395
|
-
|
|
3396
|
-
export declare interface DropdownSelectedStyleProps extends CssLibPropsType {
|
|
3397
|
-
_buttonOrLinkContainer?: CssLibPropsType;
|
|
3398
|
-
_labelOpened?: CssLibPropsType;
|
|
3399
|
-
_labelClosed?: CssLibPropsType;
|
|
3400
|
-
_iconOpened?: CssLibPropsType;
|
|
3401
|
-
_iconClosed?: CssLibPropsType;
|
|
3402
|
-
_listOptionsContainer?: CssLibPropsType;
|
|
3403
|
-
}
|
|
3404
|
-
|
|
3405
|
-
/**
|
|
3406
|
-
* Interface for the uncontrolled DropdownSelected component.
|
|
3407
|
-
* Extends the DropdownSelectedProps interface and adds default properties.
|
|
3408
|
-
*/
|
|
3409
|
-
export declare interface DropdownSelectedUnControlledProps extends Omit<DropdownSelectedControlledProps, DropdownSelectedOmittedProps> {
|
|
3410
|
-
defaultOpen?: boolean;
|
|
3411
|
-
defaultOptionSelected?: string;
|
|
3412
|
-
onOptionClick?: (value: string) => void;
|
|
3413
|
-
onButtonClick?: (open: boolean) => void;
|
|
3414
|
-
onClosePopover?: (open: boolean) => void;
|
|
3415
|
-
onMouseEnter?: (open: boolean) => void;
|
|
3416
|
-
onMouseLeave?: (open: boolean) => void;
|
|
3417
|
-
onFocus?: (open: boolean) => void;
|
|
3418
|
-
onBlur?: (open: boolean) => void;
|
|
3419
|
-
}
|
|
3420
|
-
|
|
3421
|
-
export declare type DropdownSelectedVariantStyles<Variant extends string> = DropdownSelectedStyleProps & {
|
|
3422
|
-
[key in Variant]: DropdownSelectedStyleProps;
|
|
3423
|
-
};
|
|
3424
|
-
|
|
3425
3335
|
/**
|
|
3426
3336
|
* @name ElementOrIconProps
|
|
3427
3337
|
* @description
|
|
@@ -3908,7 +3818,7 @@ export declare interface InputDecorationProps<Variant = undefined extends string
|
|
|
3908
3818
|
*/
|
|
3909
3819
|
export declare interface InputDecorationStandAloneProps extends DataAttributes {
|
|
3910
3820
|
disabled?: boolean;
|
|
3911
|
-
decoration?:
|
|
3821
|
+
decoration?: CommonIconProps;
|
|
3912
3822
|
cssClasses?: InputDecorationCssClasses;
|
|
3913
3823
|
component?: React.ElementType;
|
|
3914
3824
|
}
|
|
@@ -4446,7 +4356,7 @@ export declare interface ListOptionsStandAloneProps extends DataAttributes {
|
|
|
4446
4356
|
content?: React.ReactNode;
|
|
4447
4357
|
onOptionClick?: (value: string, event: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement>) => void;
|
|
4448
4358
|
multiSelect?: boolean;
|
|
4449
|
-
checkedIcon?:
|
|
4359
|
+
checkedIcon?: CommonIconProps;
|
|
4450
4360
|
id?: string;
|
|
4451
4361
|
roveFocus?: UseRoveFocusProps;
|
|
4452
4362
|
index?: number;
|
|
@@ -4589,7 +4499,7 @@ export declare interface ModalStandAloneProps extends DataAttributes {
|
|
|
4589
4499
|
title?: CommonTextProps & {
|
|
4590
4500
|
visible?: boolean;
|
|
4591
4501
|
};
|
|
4592
|
-
closeIcon?:
|
|
4502
|
+
closeIcon?: CommonIconProps;
|
|
4593
4503
|
closeButton?: ModalButtonProps;
|
|
4594
4504
|
contentContainer?: ModalContentContainerProps;
|
|
4595
4505
|
content?: ReactNode;
|
|
@@ -4600,7 +4510,7 @@ export declare interface ModalStandAloneProps extends DataAttributes {
|
|
|
4600
4510
|
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
4601
4511
|
onPopoverCloseInternally?: () => void;
|
|
4602
4512
|
cssClasses?: ModalCssClasses;
|
|
4603
|
-
dragIcon?:
|
|
4513
|
+
dragIcon?: CommonIconProps;
|
|
4604
4514
|
}
|
|
4605
4515
|
|
|
4606
4516
|
/**
|
|
@@ -4693,11 +4603,11 @@ export declare interface OptionProps<Variant = undefined extends string ? unknow
|
|
|
4693
4603
|
* Includes ARIA attributes, labels, icons, event handlers, and CSS classes.
|
|
4694
4604
|
*/
|
|
4695
4605
|
export declare interface OptionStandAloneProps extends OptionAriaProps, DataAttributes {
|
|
4696
|
-
icon?:
|
|
4606
|
+
icon?: CommonIconProps;
|
|
4697
4607
|
sublabel?: CommonTextProps;
|
|
4698
4608
|
label: ReactNode;
|
|
4699
4609
|
labelCharsHighlighted?: string;
|
|
4700
|
-
checkedIcon?:
|
|
4610
|
+
checkedIcon?: CommonIconProps;
|
|
4701
4611
|
multiSelect?: boolean;
|
|
4702
4612
|
disabled?: boolean;
|
|
4703
4613
|
selected?: boolean;
|
|
@@ -5081,7 +4991,7 @@ export declare interface RadioButtonStandAloneProps extends RadioButtonAriaProps
|
|
|
5081
4991
|
name?: string;
|
|
5082
4992
|
label?: RadioButtonLabelProps;
|
|
5083
4993
|
errorMessage?: string;
|
|
5084
|
-
errorIcon?:
|
|
4994
|
+
errorIcon?: CommonIconProps;
|
|
5085
4995
|
errorAriaLiveType?: AriaAttributes['aria-live'];
|
|
5086
4996
|
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
5087
4997
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
@@ -5132,6 +5042,62 @@ declare interface ScreenReaderOnlyProps extends DataAttributes {
|
|
|
5132
5042
|
role?: React.AriaRole;
|
|
5133
5043
|
}
|
|
5134
5044
|
|
|
5045
|
+
/**
|
|
5046
|
+
* Uncontrolled select component for displaying selectable options.
|
|
5047
|
+
*
|
|
5048
|
+
* This component manages its own open/close state and selected option internally, so you do not need
|
|
5049
|
+
* to control the select state from the parent. It is useful when you want a simple select that handles
|
|
5050
|
+
* its own toggle and selection logic. You can optionally receive state changes via callbacks.
|
|
5051
|
+
*
|
|
5052
|
+
* Internally, it wraps {@link SelectControlled} and passes the necessary props.
|
|
5053
|
+
*
|
|
5054
|
+
* @example
|
|
5055
|
+
* ```tsx
|
|
5056
|
+
* <SelectUnControlled defaultOpen />
|
|
5057
|
+
* ```
|
|
5058
|
+
*/
|
|
5059
|
+
export declare const Select: ForwardRefExoticComponent<SelectUnControlledProps & RefAttributes<HTMLDivElement>>;
|
|
5060
|
+
|
|
5061
|
+
/**
|
|
5062
|
+
* Controlled select component for displaying selectable options.
|
|
5063
|
+
*
|
|
5064
|
+
* This component renders a select that is fully controlled by its parent, allowing for custom open/close logic,
|
|
5065
|
+
* keyboard navigation, and flexible theming. It is useful when you need to manage the select state and behavior externally.
|
|
5066
|
+
*
|
|
5067
|
+
* Internally, it wraps {@link SelectStandAlone} and handles keyboard focus and scroll-based closing.
|
|
5068
|
+
* Accepts a generic type parameter `<Variant extends string>` to allow for custom variant values, enabling flexible styling.
|
|
5069
|
+
*
|
|
5070
|
+
* @example
|
|
5071
|
+
* ```tsx
|
|
5072
|
+
* <SelectControlled open listOptions={options} />
|
|
5073
|
+
*
|
|
5074
|
+
* // With a custom variant type:
|
|
5075
|
+
* type MyVariant = "primary" | "secondary";
|
|
5076
|
+
* <SelectControlled<MyVariant> variant="primary" open listOptions={options} />
|
|
5077
|
+
* ```
|
|
5078
|
+
*/
|
|
5079
|
+
export declare const SelectControlled: ForwardRefExoticComponent<SelectControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5080
|
+
|
|
5081
|
+
/**
|
|
5082
|
+
* Interface for the controlled Select component.
|
|
5083
|
+
* Extends the SelectStandAloneProps interface and adds a variant and additional CSS classes.
|
|
5084
|
+
*
|
|
5085
|
+
* @template Variant - The type of the variant for the Select.
|
|
5086
|
+
*/
|
|
5087
|
+
export declare interface SelectControlledProps<Variant = undefined extends string ? unknown : string> extends Omit<SelectStandAloneProps, 'listOptionsRef' | 'onButtonKeyDown' | 'component'> {
|
|
5088
|
+
variant?: Variant;
|
|
5089
|
+
additionalClasses?: Partial<SelectCssClasses>;
|
|
5090
|
+
}
|
|
5091
|
+
|
|
5092
|
+
declare type SelectCssClasses = ComponentSelected<ComponentsTypesComponents['SELECT']>;
|
|
5093
|
+
|
|
5094
|
+
/**
|
|
5095
|
+
* Represents the type for the list options in the Select component.
|
|
5096
|
+
*/
|
|
5097
|
+
export declare type SelectListOptionsProps = Omit<ListOptionsProps, 'selectedValue' | 'onOptionClick'>;
|
|
5098
|
+
|
|
5099
|
+
declare type SelectOmittedProps = 'buttonOrLinkRef' | 'open' | 'onButtonClick' | 'optionSelected' | 'onOptionClick' | 'onClosePopover' | 'onMouseEnter' | 'onMouseLeave' | 'onBlur' | 'onFocus' | 'onKeyDown';
|
|
5100
|
+
|
|
5135
5101
|
/**
|
|
5136
5102
|
* SelectorBoxFile component for file upload with drag-and-drop support.
|
|
5137
5103
|
*
|
|
@@ -5156,10 +5122,10 @@ export declare const SelectorBoxFile: ForwardRefExoticComponent<SelectorBoxFileP
|
|
|
5156
5122
|
*/
|
|
5157
5123
|
export declare type SelectorBoxFileContainerBoxStateContentProps = {
|
|
5158
5124
|
[key in SelectorBoxFileStateType]: {
|
|
5159
|
-
icon?:
|
|
5160
|
-
iconRight?:
|
|
5125
|
+
icon?: CommonIconProps;
|
|
5126
|
+
iconRight?: CommonIconProps;
|
|
5161
5127
|
actionText?: CommonTextProps;
|
|
5162
|
-
actionIcon?:
|
|
5128
|
+
actionIcon?: CommonIconProps;
|
|
5163
5129
|
description?: CommonTextProps;
|
|
5164
5130
|
};
|
|
5165
5131
|
};
|
|
@@ -5237,6 +5203,68 @@ export declare type SelectorBoxFileVariantStyles<Variant extends string> = Selec
|
|
|
5237
5203
|
[key in Variant]?: SelectorBoxFileStyleProps;
|
|
5238
5204
|
};
|
|
5239
5205
|
|
|
5206
|
+
/**
|
|
5207
|
+
* Represents the type for the popover in the Select component.
|
|
5208
|
+
*/
|
|
5209
|
+
export declare type SelectPopoverProps = Omit<IPopover, 'children' | 'open'>;
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* Interface for the standalone Select component.
|
|
5213
|
+
* Includes properties for state, event handlers, and CSS classes.
|
|
5214
|
+
*/
|
|
5215
|
+
export declare interface SelectStandAloneProps extends DataAttributes {
|
|
5216
|
+
open: boolean;
|
|
5217
|
+
popover?: SelectPopoverProps;
|
|
5218
|
+
onButtonClick: MouseEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
5219
|
+
onButtonKeyDown: KeyboardEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
5220
|
+
onClosePopover: () => void;
|
|
5221
|
+
label: CommonTextProps;
|
|
5222
|
+
icon: CommonIconProps;
|
|
5223
|
+
listOptions: SelectListOptionsProps;
|
|
5224
|
+
optionSelected?: string;
|
|
5225
|
+
onOptionClick: (value: string) => void;
|
|
5226
|
+
listOptionsRef: RefObject<HTMLDivElement>;
|
|
5227
|
+
closePopoverOnScroll?: boolean;
|
|
5228
|
+
openAndCloseOnHover?: boolean;
|
|
5229
|
+
url?: string;
|
|
5230
|
+
urlTarget?: HTMLAttributeAnchorTarget;
|
|
5231
|
+
component: 'button' | GenericLinkType;
|
|
5232
|
+
buttonOrLinkRef?: RefObject<HTMLButtonElement>;
|
|
5233
|
+
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
5234
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
5235
|
+
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
5236
|
+
cssClasses?: SelectCssClasses;
|
|
5237
|
+
}
|
|
5238
|
+
|
|
5239
|
+
export declare interface SelectStyleProps extends CssLibPropsType {
|
|
5240
|
+
_buttonOrLinkContainer?: CssLibPropsType;
|
|
5241
|
+
_labelOpened?: CssLibPropsType;
|
|
5242
|
+
_labelClosed?: CssLibPropsType;
|
|
5243
|
+
_iconOpened?: CssLibPropsType;
|
|
5244
|
+
_iconClosed?: CssLibPropsType;
|
|
5245
|
+
_listOptionsContainer?: CssLibPropsType;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
/**
|
|
5249
|
+
* Interface for the uncontrolled Select component.
|
|
5250
|
+
* Extends the SelectProps interface and adds default properties.
|
|
5251
|
+
*/
|
|
5252
|
+
export declare interface SelectUnControlledProps extends Omit<SelectControlledProps, SelectOmittedProps> {
|
|
5253
|
+
defaultOpen?: boolean;
|
|
5254
|
+
defaultOptionSelected?: string;
|
|
5255
|
+
onOptionClick?: (value: string) => void;
|
|
5256
|
+
onButtonClick?: (open: boolean) => void;
|
|
5257
|
+
onClosePopover?: (open: boolean) => void;
|
|
5258
|
+
onMouseEnter?: (open: boolean) => void;
|
|
5259
|
+
onMouseLeave?: (open: boolean) => void;
|
|
5260
|
+
onFocus?: (open: boolean) => void;
|
|
5261
|
+
onBlur?: (open: boolean) => void;
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
export declare type SelectVariantStyles<Variant extends string> = SelectStyleProps & {
|
|
5265
|
+
[key in Variant]: SelectStyleProps;
|
|
5266
|
+
};
|
|
5267
|
+
|
|
5240
5268
|
/**
|
|
5241
5269
|
* Skeleton component for displaying loading placeholders.
|
|
5242
5270
|
*
|
|
@@ -6881,7 +6909,7 @@ export declare interface VirtualKeyboardStandAloneProps extends DataAttributes {
|
|
|
6881
6909
|
onVirtualKeyboardBlur: React.FocusEventHandler<HTMLDivElement>;
|
|
6882
6910
|
onDigitButtonClick: (digit: string, event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
6883
6911
|
onRemoveButtonClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
6884
|
-
icon:
|
|
6912
|
+
icon: CommonIconProps;
|
|
6885
6913
|
cssClasses?: VirtualKeyboardCssClasses;
|
|
6886
6914
|
}
|
|
6887
6915
|
|