@kubit-ui-web/react-components 2.0.0-beta.20 → 2.0.0-beta.22
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/inputDecoration/inputDecorationStandAlone.js +1 -1
- package/dist/cjs/components/modal/fragments/modalHeader.js +1 -1
- package/dist/cjs/components/modal/modalStandAlone.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/slider/components/sliderThumbStandAlone.js +1 -1
- package/dist/cjs/components/tooltip/tooltip.css +1 -1
- package/dist/cjs/components/tooltip/tooltipStandAlone.js +1 -1
- package/dist/cjs/components/tooltip/tooltipUnControlled.js +1 -1
- package/dist/cjs/components/tooltip/utils/tooltip.utils.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/inputDecoration/inputDecorationStandAlone.js +2 -2
- package/dist/esm/components/modal/fragments/modalHeader.js +3 -3
- package/dist/esm/components/modal/modalStandAlone.js +4 -4
- 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/slider/components/sliderThumbStandAlone.js +1 -1
- package/dist/esm/components/tooltip/tooltip.css +1 -1
- package/dist/esm/components/tooltip/tooltipStandAlone.js +6 -8
- package/dist/esm/components/tooltip/tooltipUnControlled.js +1 -1
- package/dist/esm/components/tooltip/utils/tooltip.utils.js +1 -1
- 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 +68 -87
- package/dist/styles/kubit/css/kubit.min.css +1 -1
- package/dist/types/index.d.ts +185 -338
- package/package.json +2 -3
- 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/cjs/components/navBar/index.js +0 -2
- package/dist/cjs/components/navBar/navBar.js +0 -1
- package/dist/cjs/components/navBar/navBarStandAlone.js +0 -1
- 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/esm/components/navBar/index.js +0 -1
- package/dist/esm/components/navBar/navBar.js +0 -2
- package/dist/esm/components/navBar/navBarStandAlone.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;
|
|
@@ -1128,7 +1128,7 @@ declare type ComponentSelected<T> = Pick<T, NonVariablesKeys<T>>;
|
|
|
1128
1128
|
|
|
1129
1129
|
declare type ComponentSelected_2<T> = Pick<T, NonVariablesKeys_2<T>>;
|
|
1130
1130
|
|
|
1131
|
-
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'ALERT' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | 'CARD_IMAGE' | 'CAROUSEL' | 'CHECKBOX' | 'CHECKBOX_BASE' | 'CHIP' | 'CONTAINER' | 'DATA_TABLE' | 'DOT' | '
|
|
1131
|
+
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'ALERT' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | 'CARD_IMAGE' | '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
1132
|
|
|
1133
1133
|
declare type ComponentsTypesComponents = {
|
|
1134
1134
|
ACCORDION: {
|
|
@@ -1244,22 +1244,22 @@ declare type ComponentsTypesComponents = {
|
|
|
1244
1244
|
button: string;
|
|
1245
1245
|
icon: string;
|
|
1246
1246
|
};
|
|
1247
|
-
$
|
|
1247
|
+
$_alternative: {
|
|
1248
1248
|
button: string;
|
|
1249
1249
|
};
|
|
1250
|
-
$
|
|
1250
|
+
$_ghost_alt: {
|
|
1251
1251
|
button: string;
|
|
1252
1252
|
};
|
|
1253
|
-
$
|
|
1253
|
+
$_ghost_primary: {
|
|
1254
1254
|
button: string;
|
|
1255
1255
|
};
|
|
1256
|
-
$
|
|
1256
|
+
$_ghost_secondary: {
|
|
1257
1257
|
button: string;
|
|
1258
1258
|
};
|
|
1259
|
-
$
|
|
1259
|
+
$_primary: {
|
|
1260
1260
|
button: string;
|
|
1261
1261
|
};
|
|
1262
|
-
$
|
|
1262
|
+
$_secondary: {
|
|
1263
1263
|
button: string;
|
|
1264
1264
|
};
|
|
1265
1265
|
dynamic_values: (styles: {
|
|
@@ -1486,51 +1486,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1486
1486
|
dot: string;
|
|
1487
1487
|
};
|
|
1488
1488
|
};
|
|
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
1489
|
ERROR_MESSAGE: {
|
|
1535
1490
|
error_message: string;
|
|
1536
1491
|
icon: string;
|
|
@@ -1692,13 +1647,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1692
1647
|
modal: string;
|
|
1693
1648
|
};
|
|
1694
1649
|
};
|
|
1695
|
-
NAVBAR: {
|
|
1696
|
-
navbar: string;
|
|
1697
|
-
itemcontainer: string;
|
|
1698
|
-
$_default: {
|
|
1699
|
-
navbar: string;
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
1650
|
OPTION: {
|
|
1703
1651
|
option: string;
|
|
1704
1652
|
checkedicon: string;
|
|
@@ -1823,63 +1771,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1823
1771
|
$_default: {
|
|
1824
1772
|
progress_bar: string;
|
|
1825
1773
|
};
|
|
1826
|
-
$_interactive: {
|
|
1827
|
-
progress_bar: string;
|
|
1828
|
-
barcontainer: string;
|
|
1829
|
-
};
|
|
1830
|
-
slider: {
|
|
1831
|
-
activetrack: string;
|
|
1832
|
-
inactivetrack: string;
|
|
1833
|
-
thumb: string;
|
|
1834
|
-
decrement_button_size: {
|
|
1835
|
-
icon: string;
|
|
1836
|
-
button: string;
|
|
1837
|
-
loader: string;
|
|
1838
|
-
};
|
|
1839
|
-
decrement_button_variant: {
|
|
1840
|
-
button: string;
|
|
1841
|
-
icon: string;
|
|
1842
|
-
loader: string;
|
|
1843
|
-
};
|
|
1844
|
-
tooltip: {
|
|
1845
|
-
arrowcontainer: string;
|
|
1846
|
-
arrowposition: string;
|
|
1847
|
-
arrowsize: string;
|
|
1848
|
-
closebuttoncontainer: string;
|
|
1849
|
-
closebuttonicon: string;
|
|
1850
|
-
headercontainer: string;
|
|
1851
|
-
paragraph: string;
|
|
1852
|
-
paragraphcontainer: string;
|
|
1853
|
-
title: string;
|
|
1854
|
-
tooltipexternalcontainer: string;
|
|
1855
|
-
tooltipinternalcontainer: string;
|
|
1856
|
-
popover: {
|
|
1857
|
-
arrow: string;
|
|
1858
|
-
popover: string;
|
|
1859
|
-
};
|
|
1860
|
-
arrow: string;
|
|
1861
|
-
divider: string;
|
|
1862
|
-
dragicon: string;
|
|
1863
|
-
dragiconcontainer: string;
|
|
1864
|
-
tooltipalignstyles: string;
|
|
1865
|
-
tooltipasmodal: string;
|
|
1866
|
-
};
|
|
1867
|
-
buttonstrackscontainer: string;
|
|
1868
|
-
helpertext: string;
|
|
1869
|
-
helpertextcontainer: string;
|
|
1870
|
-
helpertextleftcontainer: string;
|
|
1871
|
-
helpertextrightcontainer: string;
|
|
1872
|
-
innerthumbtooltip: string;
|
|
1873
|
-
label: string;
|
|
1874
|
-
labelcontainer: string;
|
|
1875
|
-
rightthumbicon: string;
|
|
1876
|
-
scalecontainer: string;
|
|
1877
|
-
scaleoption: string;
|
|
1878
|
-
thumbicon: string;
|
|
1879
|
-
tracksthumbscontainer: string;
|
|
1880
|
-
tracksthumbsinnercontainer: string;
|
|
1881
|
-
slider: string;
|
|
1882
|
-
};
|
|
1883
1774
|
};
|
|
1884
1775
|
RADIO_BUTTON: {
|
|
1885
1776
|
radio_button: string;
|
|
@@ -1903,12 +1794,8 @@ declare type ComponentsTypesComponents = {
|
|
|
1903
1794
|
arrowcontainer: string;
|
|
1904
1795
|
arrowposition: string;
|
|
1905
1796
|
arrowsize: string;
|
|
1906
|
-
closebuttoncontainer: string;
|
|
1907
|
-
closebuttonicon: string;
|
|
1908
|
-
headercontainer: string;
|
|
1909
1797
|
paragraph: string;
|
|
1910
1798
|
paragraphcontainer: string;
|
|
1911
|
-
title: string;
|
|
1912
1799
|
tooltipexternalcontainer: string;
|
|
1913
1800
|
tooltipinternalcontainer: string;
|
|
1914
1801
|
popover: {
|
|
@@ -1916,13 +1803,55 @@ declare type ComponentsTypesComponents = {
|
|
|
1916
1803
|
popover: string;
|
|
1917
1804
|
};
|
|
1918
1805
|
arrow: string;
|
|
1919
|
-
divider: string;
|
|
1920
|
-
dragicon: string;
|
|
1921
|
-
dragiconcontainer: string;
|
|
1922
1806
|
tooltipalignstyles: string;
|
|
1923
1807
|
tooltipasmodal: string;
|
|
1924
1808
|
};
|
|
1925
1809
|
};
|
|
1810
|
+
SELECT: {
|
|
1811
|
+
select: string;
|
|
1812
|
+
buttonorlinkcontainer: string;
|
|
1813
|
+
iconclosed: string;
|
|
1814
|
+
iconopened: string;
|
|
1815
|
+
labelclosed: string;
|
|
1816
|
+
labelopened: string;
|
|
1817
|
+
listoptionscontainer: string;
|
|
1818
|
+
$_default: {
|
|
1819
|
+
select: string;
|
|
1820
|
+
buttonorlinkcontainer: string;
|
|
1821
|
+
iconclosed: string;
|
|
1822
|
+
iconopened: string;
|
|
1823
|
+
labelclosed: string;
|
|
1824
|
+
labelopened: string;
|
|
1825
|
+
listoptionscontainer: string;
|
|
1826
|
+
};
|
|
1827
|
+
$_side_menu: {
|
|
1828
|
+
select: string;
|
|
1829
|
+
buttonorlinkcontainer: string;
|
|
1830
|
+
iconclosed: string;
|
|
1831
|
+
iconopened: string;
|
|
1832
|
+
labelclosed: string;
|
|
1833
|
+
labelopened: string;
|
|
1834
|
+
listoptionscontainer: string;
|
|
1835
|
+
};
|
|
1836
|
+
$_topbar: {
|
|
1837
|
+
select: string;
|
|
1838
|
+
buttonorlinkcontainer: string;
|
|
1839
|
+
iconclosed: string;
|
|
1840
|
+
iconopened: string;
|
|
1841
|
+
labelclosed: string;
|
|
1842
|
+
labelopened: string;
|
|
1843
|
+
listoptionscontainer: string;
|
|
1844
|
+
};
|
|
1845
|
+
$_topbar_tab: {
|
|
1846
|
+
select: string;
|
|
1847
|
+
buttonorlinkcontainer: string;
|
|
1848
|
+
iconclosed: string;
|
|
1849
|
+
iconopened: string;
|
|
1850
|
+
labelclosed: string;
|
|
1851
|
+
labelopened: string;
|
|
1852
|
+
listoptionscontainer: string;
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1926
1855
|
SELECTOR_BOX_FILE: {
|
|
1927
1856
|
selector_box_file: string;
|
|
1928
1857
|
actionicon: string;
|
|
@@ -2002,12 +1931,8 @@ declare type ComponentsTypesComponents = {
|
|
|
2002
1931
|
arrowcontainer: string;
|
|
2003
1932
|
arrowposition: string;
|
|
2004
1933
|
arrowsize: string;
|
|
2005
|
-
closebuttoncontainer: string;
|
|
2006
|
-
closebuttonicon: string;
|
|
2007
|
-
headercontainer: string;
|
|
2008
1934
|
paragraph: string;
|
|
2009
1935
|
paragraphcontainer: string;
|
|
2010
|
-
title: string;
|
|
2011
1936
|
tooltipexternalcontainer: string;
|
|
2012
1937
|
tooltipinternalcontainer: string;
|
|
2013
1938
|
popover: {
|
|
@@ -2015,9 +1940,6 @@ declare type ComponentsTypesComponents = {
|
|
|
2015
1940
|
popover: string;
|
|
2016
1941
|
};
|
|
2017
1942
|
arrow: string;
|
|
2018
|
-
divider: string;
|
|
2019
|
-
dragicon: string;
|
|
2020
|
-
dragiconcontainer: string;
|
|
2021
1943
|
tooltipalignstyles: string;
|
|
2022
1944
|
tooltipasmodal: string;
|
|
2023
1945
|
};
|
|
@@ -2322,15 +2244,8 @@ declare type ComponentsTypesComponents = {
|
|
|
2322
2244
|
arrowcontainer: string;
|
|
2323
2245
|
arrowposition: string;
|
|
2324
2246
|
arrowsize: string;
|
|
2325
|
-
closebuttoncontainer: string;
|
|
2326
|
-
closebuttonicon: string;
|
|
2327
|
-
divider: string;
|
|
2328
|
-
dragicon: string;
|
|
2329
|
-
dragiconcontainer: string;
|
|
2330
|
-
headercontainer: string;
|
|
2331
2247
|
paragraph: string;
|
|
2332
2248
|
paragraphcontainer: string;
|
|
2333
|
-
title: string;
|
|
2334
2249
|
tooltipalignstyles: string;
|
|
2335
2250
|
tooltipasmodal: string;
|
|
2336
2251
|
tooltipexternalcontainer: string;
|
|
@@ -2340,12 +2255,8 @@ declare type ComponentsTypesComponents = {
|
|
|
2340
2255
|
arrowcontainer: string;
|
|
2341
2256
|
arrowposition: string;
|
|
2342
2257
|
arrowsize: string;
|
|
2343
|
-
closebuttoncontainer: string;
|
|
2344
|
-
closebuttonicon: string;
|
|
2345
|
-
headercontainer: string;
|
|
2346
2258
|
paragraph: string;
|
|
2347
2259
|
paragraphcontainer: string;
|
|
2348
|
-
title: string;
|
|
2349
2260
|
tooltipexternalcontainer: string;
|
|
2350
2261
|
tooltipinternalcontainer: string;
|
|
2351
2262
|
};
|
|
@@ -3393,124 +3304,6 @@ export declare type DotThemeStyles<variant extends string, size extends string>
|
|
|
3393
3304
|
[s in size]: CssLibPropsType;
|
|
3394
3305
|
};
|
|
3395
3306
|
|
|
3396
|
-
/**
|
|
3397
|
-
* Uncontrolled dropdown component for displaying selectable options.
|
|
3398
|
-
*
|
|
3399
|
-
* This component manages its own open/close state and selected option internally, so you do not need
|
|
3400
|
-
* to control the dropdown state from the parent. It is useful when you want a simple dropdown that handles
|
|
3401
|
-
* its own toggle and selection logic. You can optionally receive state changes via callbacks.
|
|
3402
|
-
*
|
|
3403
|
-
* Internally, it wraps {@link DropdownSelectedControlled} and passes the necessary props.
|
|
3404
|
-
*
|
|
3405
|
-
* @example
|
|
3406
|
-
* ```tsx
|
|
3407
|
-
* <DropdownSelectedUnControlled defaultOpen />
|
|
3408
|
-
* ```
|
|
3409
|
-
*/
|
|
3410
|
-
export declare const DropdownSelected: ForwardRefExoticComponent<DropdownSelectedUnControlledProps & RefAttributes<HTMLDivElement>>;
|
|
3411
|
-
|
|
3412
|
-
/**
|
|
3413
|
-
* Controlled dropdown component for displaying selectable options.
|
|
3414
|
-
*
|
|
3415
|
-
* This component renders a dropdown that is fully controlled by its parent, allowing for custom open/close logic,
|
|
3416
|
-
* keyboard navigation, and flexible theming. It is useful when you need to manage the dropdown state and behavior externally.
|
|
3417
|
-
*
|
|
3418
|
-
* Internally, it wraps {@link DropdownSelectedStandAlone} and handles keyboard focus and scroll-based closing.
|
|
3419
|
-
* Accepts a generic type parameter `<Variant extends string>` to allow for custom variant values, enabling flexible styling.
|
|
3420
|
-
*
|
|
3421
|
-
* @example
|
|
3422
|
-
* ```tsx
|
|
3423
|
-
* <DropdownSelectedControlled open listOptions={options} />
|
|
3424
|
-
*
|
|
3425
|
-
* // With a custom variant type:
|
|
3426
|
-
* type MyVariant = "primary" | "secondary";
|
|
3427
|
-
* <DropdownSelectedControlled<MyVariant> variant="primary" open listOptions={options} />
|
|
3428
|
-
* ```
|
|
3429
|
-
*/
|
|
3430
|
-
export declare const DropdownSelectedControlled: ForwardRefExoticComponent<DropdownSelectedControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3431
|
-
|
|
3432
|
-
/**
|
|
3433
|
-
* Interface for the controlled DropdownSelected component.
|
|
3434
|
-
* Extends the DropdownSelectedStandAloneProps interface and adds a variant and additional CSS classes.
|
|
3435
|
-
*
|
|
3436
|
-
* @template Variant - The type of the variant for the DropdownSelected.
|
|
3437
|
-
*/
|
|
3438
|
-
export declare interface DropdownSelectedControlledProps<Variant = undefined extends string ? unknown : string> extends Omit<DropdownSelectedStandAloneProps, 'listOptionsRef' | 'onButtonKeyDown' | 'component'> {
|
|
3439
|
-
variant?: Variant;
|
|
3440
|
-
additionalClasses?: Partial<DropdownSelectedCssClasses>;
|
|
3441
|
-
}
|
|
3442
|
-
|
|
3443
|
-
declare type DropdownSelectedCssClasses = ComponentSelected<ComponentsTypesComponents['DROPDOWN_SELECTED']>;
|
|
3444
|
-
|
|
3445
|
-
/**
|
|
3446
|
-
* Represents the type for the list options in the DropdownSelected component.
|
|
3447
|
-
*/
|
|
3448
|
-
export declare type DropdownSelectedListOptionsProps = Omit<ListOptionsProps, 'selectedValue' | 'onOptionClick'>;
|
|
3449
|
-
|
|
3450
|
-
declare type DropdownSelectedOmittedProps = 'buttonOrLinkRef' | 'open' | 'onButtonClick' | 'optionSelected' | 'onOptionClick' | 'onClosePopover' | 'onMouseEnter' | 'onMouseLeave' | 'onBlur' | 'onFocus' | 'onKeyDown';
|
|
3451
|
-
|
|
3452
|
-
/**
|
|
3453
|
-
* Represents the type for the popover in the DropdownSelected component.
|
|
3454
|
-
*/
|
|
3455
|
-
export declare type DropdownSelectedPopoverProps = Omit<IPopover, 'children' | 'open'>;
|
|
3456
|
-
|
|
3457
|
-
/**
|
|
3458
|
-
* Interface for the standalone DropdownSelected component.
|
|
3459
|
-
* Includes properties for state, event handlers, and CSS classes.
|
|
3460
|
-
*/
|
|
3461
|
-
export declare interface DropdownSelectedStandAloneProps extends DataAttributes {
|
|
3462
|
-
open: boolean;
|
|
3463
|
-
popover?: DropdownSelectedPopoverProps;
|
|
3464
|
-
onButtonClick: MouseEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
3465
|
-
onButtonKeyDown: KeyboardEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
3466
|
-
onClosePopover: () => void;
|
|
3467
|
-
label: CommonTextProps;
|
|
3468
|
-
icon: ElementOrIconProps;
|
|
3469
|
-
listOptions: DropdownSelectedListOptionsProps;
|
|
3470
|
-
optionSelected?: string;
|
|
3471
|
-
onOptionClick: (value: string) => void;
|
|
3472
|
-
listOptionsRef: RefObject<HTMLDivElement>;
|
|
3473
|
-
closePopoverOnScroll?: boolean;
|
|
3474
|
-
openAndCloseOnHover?: boolean;
|
|
3475
|
-
url?: string;
|
|
3476
|
-
urlTarget?: HTMLAttributeAnchorTarget;
|
|
3477
|
-
component: 'button' | GenericLinkType;
|
|
3478
|
-
buttonOrLinkRef?: RefObject<HTMLButtonElement>;
|
|
3479
|
-
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
3480
|
-
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
3481
|
-
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
3482
|
-
cssClasses?: DropdownSelectedCssClasses;
|
|
3483
|
-
}
|
|
3484
|
-
|
|
3485
|
-
export declare interface DropdownSelectedStyleProps extends CssLibPropsType {
|
|
3486
|
-
_buttonOrLinkContainer?: CssLibPropsType;
|
|
3487
|
-
_labelOpened?: CssLibPropsType;
|
|
3488
|
-
_labelClosed?: CssLibPropsType;
|
|
3489
|
-
_iconOpened?: CssLibPropsType;
|
|
3490
|
-
_iconClosed?: CssLibPropsType;
|
|
3491
|
-
_listOptionsContainer?: CssLibPropsType;
|
|
3492
|
-
}
|
|
3493
|
-
|
|
3494
|
-
/**
|
|
3495
|
-
* Interface for the uncontrolled DropdownSelected component.
|
|
3496
|
-
* Extends the DropdownSelectedProps interface and adds default properties.
|
|
3497
|
-
*/
|
|
3498
|
-
export declare interface DropdownSelectedUnControlledProps extends Omit<DropdownSelectedControlledProps, DropdownSelectedOmittedProps> {
|
|
3499
|
-
defaultOpen?: boolean;
|
|
3500
|
-
defaultOptionSelected?: string;
|
|
3501
|
-
onOptionClick?: (value: string) => void;
|
|
3502
|
-
onButtonClick?: (open: boolean) => void;
|
|
3503
|
-
onClosePopover?: (open: boolean) => void;
|
|
3504
|
-
onMouseEnter?: (open: boolean) => void;
|
|
3505
|
-
onMouseLeave?: (open: boolean) => void;
|
|
3506
|
-
onFocus?: (open: boolean) => void;
|
|
3507
|
-
onBlur?: (open: boolean) => void;
|
|
3508
|
-
}
|
|
3509
|
-
|
|
3510
|
-
export declare type DropdownSelectedVariantStyles<Variant extends string> = DropdownSelectedStyleProps & {
|
|
3511
|
-
[key in Variant]: DropdownSelectedStyleProps;
|
|
3512
|
-
};
|
|
3513
|
-
|
|
3514
3307
|
/**
|
|
3515
3308
|
* @name ElementOrIconProps
|
|
3516
3309
|
* @description
|
|
@@ -3997,7 +3790,7 @@ export declare interface InputDecorationProps<Variant = undefined extends string
|
|
|
3997
3790
|
*/
|
|
3998
3791
|
export declare interface InputDecorationStandAloneProps extends DataAttributes {
|
|
3999
3792
|
disabled?: boolean;
|
|
4000
|
-
decoration?:
|
|
3793
|
+
decoration?: CommonIconProps;
|
|
4001
3794
|
cssClasses?: InputDecorationCssClasses;
|
|
4002
3795
|
component?: React.ElementType;
|
|
4003
3796
|
}
|
|
@@ -4535,7 +4328,7 @@ export declare interface ListOptionsStandAloneProps extends DataAttributes {
|
|
|
4535
4328
|
content?: React.ReactNode;
|
|
4536
4329
|
onOptionClick?: (value: string, event: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement>) => void;
|
|
4537
4330
|
multiSelect?: boolean;
|
|
4538
|
-
checkedIcon?:
|
|
4331
|
+
checkedIcon?: CommonIconProps;
|
|
4539
4332
|
id?: string;
|
|
4540
4333
|
roveFocus?: UseRoveFocusProps;
|
|
4541
4334
|
index?: number;
|
|
@@ -4652,13 +4445,6 @@ export declare interface ModalControlledProps<Variant = undefined extends string
|
|
|
4652
4445
|
|
|
4653
4446
|
declare type ModalCssClasses = ComponentSelected<ComponentsTypesComponents['MODAL']>;
|
|
4654
4447
|
|
|
4655
|
-
/**
|
|
4656
|
-
* Represents the type for the footer in the Modal component.
|
|
4657
|
-
*/
|
|
4658
|
-
export declare type ModalFooterProps = Omit<NavBarProps, 'variant'> & {
|
|
4659
|
-
variant?: string;
|
|
4660
|
-
};
|
|
4661
|
-
|
|
4662
4448
|
declare type ModalOmittedProps = 'styles' | 'device' | 'contentHasScroll';
|
|
4663
4449
|
|
|
4664
4450
|
/**
|
|
@@ -4685,18 +4471,18 @@ export declare interface ModalStandAloneProps extends DataAttributes {
|
|
|
4685
4471
|
title?: CommonTextProps & {
|
|
4686
4472
|
visible?: boolean;
|
|
4687
4473
|
};
|
|
4688
|
-
closeIcon?:
|
|
4474
|
+
closeIcon?: CommonIconProps;
|
|
4689
4475
|
closeButton?: ModalButtonProps;
|
|
4690
4476
|
contentContainer?: ModalContentContainerProps;
|
|
4691
4477
|
content?: ReactNode;
|
|
4692
4478
|
contentScrollArias?: Pick<AriaAttributes, 'aria-label' | 'aria-labelledby'>;
|
|
4693
4479
|
contentHasScroll: boolean;
|
|
4694
|
-
footer?:
|
|
4480
|
+
footer?: ReactNode;
|
|
4695
4481
|
device: DeviceBreakpointsType;
|
|
4696
4482
|
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
4697
4483
|
onPopoverCloseInternally?: () => void;
|
|
4698
4484
|
cssClasses?: ModalCssClasses;
|
|
4699
|
-
dragIcon?:
|
|
4485
|
+
dragIcon?: CommonIconProps;
|
|
4700
4486
|
}
|
|
4701
4487
|
|
|
4702
4488
|
/**
|
|
@@ -4737,51 +4523,6 @@ export declare type ModalVariantStyles<Variant extends string> = ModalStyleProps
|
|
|
4737
4523
|
[key in Variant]: ModalStyleProps;
|
|
4738
4524
|
};
|
|
4739
4525
|
|
|
4740
|
-
/**
|
|
4741
|
-
* A component that renders a navigation bar, which can be used as a header, footer, or standalone navigation.
|
|
4742
|
-
* It supports custom CSS classes and forwards a ref to the inner navigation container.
|
|
4743
|
-
*
|
|
4744
|
-
* @param {INavBarControlled} props - The props for the navigation bar component.
|
|
4745
|
-
* @param {ForwardedRef<HTMLDivElement>} ref - The forwarded ref for the inner navigation container.
|
|
4746
|
-
* @returns {JSX.Element} The rendered navigation bar component.
|
|
4747
|
-
*/
|
|
4748
|
-
export declare const NabVar: ForwardRefExoticComponent<NavBarProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4749
|
-
|
|
4750
|
-
declare type NavBarCssClasses = ComponentSelected<ComponentsTypesComponents['NAVBAR']>;
|
|
4751
|
-
|
|
4752
|
-
/**
|
|
4753
|
-
* Interface for the NavBar component with a variant.
|
|
4754
|
-
* Extends the NavBarStandAloneProps interface and adds a variant and additional CSS classes.
|
|
4755
|
-
*
|
|
4756
|
-
* @template Variant - The type of the variant for the NavBar.
|
|
4757
|
-
*/
|
|
4758
|
-
export declare interface NavBarProps<Variant = undefined extends string ? unknown : string> extends NavBarStandAloneProps {
|
|
4759
|
-
variant?: Variant;
|
|
4760
|
-
additionalClasses?: Partial<NavBarCssClasses>;
|
|
4761
|
-
}
|
|
4762
|
-
|
|
4763
|
-
/**
|
|
4764
|
-
* Interface for the standalone NavBar component.
|
|
4765
|
-
* Includes properties for items, layout direction, focus order, and CSS classes.
|
|
4766
|
-
*/
|
|
4767
|
-
export declare interface NavBarStandAloneProps extends DataAttributes {
|
|
4768
|
-
leftItems?: React.ReactNode[];
|
|
4769
|
-
centerItems?: React.ReactNode[];
|
|
4770
|
-
rightItems?: React.ReactNode[];
|
|
4771
|
-
component?: 'header' | 'footer' | 'nav';
|
|
4772
|
-
direction?: 'horizontal' | 'vertical';
|
|
4773
|
-
focusOrder?: ('left' | 'center' | 'right')[];
|
|
4774
|
-
cssClasses?: NavBarCssClasses;
|
|
4775
|
-
}
|
|
4776
|
-
|
|
4777
|
-
export declare interface NavBarStyleProps extends CssLibPropsType {
|
|
4778
|
-
_itemContainer?: CssLibPropsType;
|
|
4779
|
-
}
|
|
4780
|
-
|
|
4781
|
-
export declare type NavBarVariantStyles<Variant extends string> = NavBarStyleProps & {
|
|
4782
|
-
[key in Variant]: NavBarStyleProps;
|
|
4783
|
-
};
|
|
4784
|
-
|
|
4785
4526
|
declare type NonVariablesKeys<T> = {
|
|
4786
4527
|
[K in keyof T]: K extends `$${string}` ? never : K;
|
|
4787
4528
|
}[keyof T];
|
|
@@ -4834,11 +4575,11 @@ export declare interface OptionProps<Variant = undefined extends string ? unknow
|
|
|
4834
4575
|
* Includes ARIA attributes, labels, icons, event handlers, and CSS classes.
|
|
4835
4576
|
*/
|
|
4836
4577
|
export declare interface OptionStandAloneProps extends OptionAriaProps, DataAttributes {
|
|
4837
|
-
icon?:
|
|
4578
|
+
icon?: CommonIconProps;
|
|
4838
4579
|
sublabel?: CommonTextProps;
|
|
4839
4580
|
label: ReactNode;
|
|
4840
4581
|
labelCharsHighlighted?: string;
|
|
4841
|
-
checkedIcon?:
|
|
4582
|
+
checkedIcon?: CommonIconProps;
|
|
4842
4583
|
multiSelect?: boolean;
|
|
4843
4584
|
disabled?: boolean;
|
|
4844
4585
|
selected?: boolean;
|
|
@@ -5222,7 +4963,7 @@ export declare interface RadioButtonStandAloneProps extends RadioButtonAriaProps
|
|
|
5222
4963
|
name?: string;
|
|
5223
4964
|
label?: RadioButtonLabelProps;
|
|
5224
4965
|
errorMessage?: string;
|
|
5225
|
-
errorIcon?:
|
|
4966
|
+
errorIcon?: CommonIconProps;
|
|
5226
4967
|
errorAriaLiveType?: AriaAttributes['aria-live'];
|
|
5227
4968
|
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
5228
4969
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
@@ -5273,6 +5014,62 @@ declare interface ScreenReaderOnlyProps extends DataAttributes {
|
|
|
5273
5014
|
role?: React.AriaRole;
|
|
5274
5015
|
}
|
|
5275
5016
|
|
|
5017
|
+
/**
|
|
5018
|
+
* Uncontrolled select component for displaying selectable options.
|
|
5019
|
+
*
|
|
5020
|
+
* This component manages its own open/close state and selected option internally, so you do not need
|
|
5021
|
+
* to control the select state from the parent. It is useful when you want a simple select that handles
|
|
5022
|
+
* its own toggle and selection logic. You can optionally receive state changes via callbacks.
|
|
5023
|
+
*
|
|
5024
|
+
* Internally, it wraps {@link SelectControlled} and passes the necessary props.
|
|
5025
|
+
*
|
|
5026
|
+
* @example
|
|
5027
|
+
* ```tsx
|
|
5028
|
+
* <SelectUnControlled defaultOpen />
|
|
5029
|
+
* ```
|
|
5030
|
+
*/
|
|
5031
|
+
export declare const Select: ForwardRefExoticComponent<SelectUnControlledProps & RefAttributes<HTMLDivElement>>;
|
|
5032
|
+
|
|
5033
|
+
/**
|
|
5034
|
+
* Controlled select component for displaying selectable options.
|
|
5035
|
+
*
|
|
5036
|
+
* This component renders a select that is fully controlled by its parent, allowing for custom open/close logic,
|
|
5037
|
+
* keyboard navigation, and flexible theming. It is useful when you need to manage the select state and behavior externally.
|
|
5038
|
+
*
|
|
5039
|
+
* Internally, it wraps {@link SelectStandAlone} and handles keyboard focus and scroll-based closing.
|
|
5040
|
+
* Accepts a generic type parameter `<Variant extends string>` to allow for custom variant values, enabling flexible styling.
|
|
5041
|
+
*
|
|
5042
|
+
* @example
|
|
5043
|
+
* ```tsx
|
|
5044
|
+
* <SelectControlled open listOptions={options} />
|
|
5045
|
+
*
|
|
5046
|
+
* // With a custom variant type:
|
|
5047
|
+
* type MyVariant = "primary" | "secondary";
|
|
5048
|
+
* <SelectControlled<MyVariant> variant="primary" open listOptions={options} />
|
|
5049
|
+
* ```
|
|
5050
|
+
*/
|
|
5051
|
+
export declare const SelectControlled: ForwardRefExoticComponent<SelectControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5052
|
+
|
|
5053
|
+
/**
|
|
5054
|
+
* Interface for the controlled Select component.
|
|
5055
|
+
* Extends the SelectStandAloneProps interface and adds a variant and additional CSS classes.
|
|
5056
|
+
*
|
|
5057
|
+
* @template Variant - The type of the variant for the Select.
|
|
5058
|
+
*/
|
|
5059
|
+
export declare interface SelectControlledProps<Variant = undefined extends string ? unknown : string> extends Omit<SelectStandAloneProps, 'listOptionsRef' | 'onButtonKeyDown' | 'component'> {
|
|
5060
|
+
variant?: Variant;
|
|
5061
|
+
additionalClasses?: Partial<SelectCssClasses>;
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
declare type SelectCssClasses = ComponentSelected<ComponentsTypesComponents['SELECT']>;
|
|
5065
|
+
|
|
5066
|
+
/**
|
|
5067
|
+
* Represents the type for the list options in the Select component.
|
|
5068
|
+
*/
|
|
5069
|
+
export declare type SelectListOptionsProps = Omit<ListOptionsProps, 'selectedValue' | 'onOptionClick'>;
|
|
5070
|
+
|
|
5071
|
+
declare type SelectOmittedProps = 'buttonOrLinkRef' | 'open' | 'onButtonClick' | 'optionSelected' | 'onOptionClick' | 'onClosePopover' | 'onMouseEnter' | 'onMouseLeave' | 'onBlur' | 'onFocus' | 'onKeyDown';
|
|
5072
|
+
|
|
5276
5073
|
/**
|
|
5277
5074
|
* SelectorBoxFile component for file upload with drag-and-drop support.
|
|
5278
5075
|
*
|
|
@@ -5297,10 +5094,10 @@ export declare const SelectorBoxFile: ForwardRefExoticComponent<SelectorBoxFileP
|
|
|
5297
5094
|
*/
|
|
5298
5095
|
export declare type SelectorBoxFileContainerBoxStateContentProps = {
|
|
5299
5096
|
[key in SelectorBoxFileStateType]: {
|
|
5300
|
-
icon?:
|
|
5301
|
-
iconRight?:
|
|
5097
|
+
icon?: CommonIconProps;
|
|
5098
|
+
iconRight?: CommonIconProps;
|
|
5302
5099
|
actionText?: CommonTextProps;
|
|
5303
|
-
actionIcon?:
|
|
5100
|
+
actionIcon?: CommonIconProps;
|
|
5304
5101
|
description?: CommonTextProps;
|
|
5305
5102
|
};
|
|
5306
5103
|
};
|
|
@@ -5378,6 +5175,68 @@ export declare type SelectorBoxFileVariantStyles<Variant extends string> = Selec
|
|
|
5378
5175
|
[key in Variant]?: SelectorBoxFileStyleProps;
|
|
5379
5176
|
};
|
|
5380
5177
|
|
|
5178
|
+
/**
|
|
5179
|
+
* Represents the type for the popover in the Select component.
|
|
5180
|
+
*/
|
|
5181
|
+
export declare type SelectPopoverProps = Omit<IPopover, 'children' | 'open'>;
|
|
5182
|
+
|
|
5183
|
+
/**
|
|
5184
|
+
* Interface for the standalone Select component.
|
|
5185
|
+
* Includes properties for state, event handlers, and CSS classes.
|
|
5186
|
+
*/
|
|
5187
|
+
export declare interface SelectStandAloneProps extends DataAttributes {
|
|
5188
|
+
open: boolean;
|
|
5189
|
+
popover?: SelectPopoverProps;
|
|
5190
|
+
onButtonClick: MouseEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
5191
|
+
onButtonKeyDown: KeyboardEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
5192
|
+
onClosePopover: () => void;
|
|
5193
|
+
label: CommonTextProps;
|
|
5194
|
+
icon: CommonIconProps;
|
|
5195
|
+
listOptions: SelectListOptionsProps;
|
|
5196
|
+
optionSelected?: string;
|
|
5197
|
+
onOptionClick: (value: string) => void;
|
|
5198
|
+
listOptionsRef: RefObject<HTMLDivElement>;
|
|
5199
|
+
closePopoverOnScroll?: boolean;
|
|
5200
|
+
openAndCloseOnHover?: boolean;
|
|
5201
|
+
url?: string;
|
|
5202
|
+
urlTarget?: HTMLAttributeAnchorTarget;
|
|
5203
|
+
component: 'button' | GenericLinkType;
|
|
5204
|
+
buttonOrLinkRef?: RefObject<HTMLButtonElement>;
|
|
5205
|
+
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
5206
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
5207
|
+
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
5208
|
+
cssClasses?: SelectCssClasses;
|
|
5209
|
+
}
|
|
5210
|
+
|
|
5211
|
+
export declare interface SelectStyleProps extends CssLibPropsType {
|
|
5212
|
+
_buttonOrLinkContainer?: CssLibPropsType;
|
|
5213
|
+
_labelOpened?: CssLibPropsType;
|
|
5214
|
+
_labelClosed?: CssLibPropsType;
|
|
5215
|
+
_iconOpened?: CssLibPropsType;
|
|
5216
|
+
_iconClosed?: CssLibPropsType;
|
|
5217
|
+
_listOptionsContainer?: CssLibPropsType;
|
|
5218
|
+
}
|
|
5219
|
+
|
|
5220
|
+
/**
|
|
5221
|
+
* Interface for the uncontrolled Select component.
|
|
5222
|
+
* Extends the SelectProps interface and adds default properties.
|
|
5223
|
+
*/
|
|
5224
|
+
export declare interface SelectUnControlledProps extends Omit<SelectControlledProps, SelectOmittedProps> {
|
|
5225
|
+
defaultOpen?: boolean;
|
|
5226
|
+
defaultOptionSelected?: string;
|
|
5227
|
+
onOptionClick?: (value: string) => void;
|
|
5228
|
+
onButtonClick?: (open: boolean) => void;
|
|
5229
|
+
onClosePopover?: (open: boolean) => void;
|
|
5230
|
+
onMouseEnter?: (open: boolean) => void;
|
|
5231
|
+
onMouseLeave?: (open: boolean) => void;
|
|
5232
|
+
onFocus?: (open: boolean) => void;
|
|
5233
|
+
onBlur?: (open: boolean) => void;
|
|
5234
|
+
}
|
|
5235
|
+
|
|
5236
|
+
export declare type SelectVariantStyles<Variant extends string> = SelectStyleProps & {
|
|
5237
|
+
[key in Variant]: SelectStyleProps;
|
|
5238
|
+
};
|
|
5239
|
+
|
|
5381
5240
|
/**
|
|
5382
5241
|
* Skeleton component for displaying loading placeholders.
|
|
5383
5242
|
*
|
|
@@ -6674,13 +6533,6 @@ export declare const Tooltip: ForwardRefExoticComponent<TooltipUnControlledProps
|
|
|
6674
6533
|
|
|
6675
6534
|
declare type TooltipAlignType = Extract<PositionType, 'top' | 'right' | 'bottom' | 'left'>;
|
|
6676
6535
|
|
|
6677
|
-
/**
|
|
6678
|
-
* Represents the type for the close icon in the Tooltip component.
|
|
6679
|
-
*/
|
|
6680
|
-
export declare type TooltipCloseIconProps = Omit<IconProps, 'icon'> & {
|
|
6681
|
-
icon?: string;
|
|
6682
|
-
};
|
|
6683
|
-
|
|
6684
6536
|
/**
|
|
6685
6537
|
* TooltipControlled component for displaying contextual information.
|
|
6686
6538
|
*
|
|
@@ -6734,7 +6586,6 @@ export declare interface TooltipStandAloneProps extends DataAttributes {
|
|
|
6734
6586
|
disabled?: boolean;
|
|
6735
6587
|
mediaDevice: DeviceBreakpointsType;
|
|
6736
6588
|
align?: TooltipAlignType | string;
|
|
6737
|
-
title?: CommonTextProps;
|
|
6738
6589
|
contentHasScroll?: boolean;
|
|
6739
6590
|
content?: CommonTextProps;
|
|
6740
6591
|
contentRef?: ForwardedRef<HTMLDivElement> | undefined;
|
|
@@ -6746,11 +6597,9 @@ export declare interface TooltipStandAloneProps extends DataAttributes {
|
|
|
6746
6597
|
onTriggerClick?: MouseEventHandler<HTMLElement>;
|
|
6747
6598
|
onTriggerMouseDown?: MouseEventHandler<HTMLElement>;
|
|
6748
6599
|
onTriggerMouseUp?: MouseEventHandler<HTMLElement>;
|
|
6749
|
-
onCloseIconClick?: MouseEventHandler<HTMLElement>;
|
|
6750
6600
|
children: JSX.Element | string | ReactNode;
|
|
6751
6601
|
popoverOpen?: boolean;
|
|
6752
6602
|
cssClasses?: TooltipCssClasses;
|
|
6753
|
-
closeIcon?: IconProps;
|
|
6754
6603
|
childrenAsButton?: boolean;
|
|
6755
6604
|
triggerAsButton?: Pick<AriaAttributes, 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-controls' | 'aria-expanded' | 'aria-pressed' | 'aria-disabled'>;
|
|
6756
6605
|
onPopoverCloseInternally?: () => void;
|
|
@@ -6761,8 +6610,6 @@ export declare interface TooltipStandAloneProps extends DataAttributes {
|
|
|
6761
6610
|
onTriggerKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
6762
6611
|
onTooltipKeyDown?: KeyboardEventHandler<HTMLElement>;
|
|
6763
6612
|
popover?: TooltipPopoverProps;
|
|
6764
|
-
dragIcon?: ElementOrIconProps;
|
|
6765
|
-
dragIconRef?: MutableRefObject<HTMLDivElement | null>;
|
|
6766
6613
|
tooltipAriaLabel?: string;
|
|
6767
6614
|
}
|
|
6768
6615
|
|
|
@@ -7034,7 +6881,7 @@ export declare interface VirtualKeyboardStandAloneProps extends DataAttributes {
|
|
|
7034
6881
|
onVirtualKeyboardBlur: React.FocusEventHandler<HTMLDivElement>;
|
|
7035
6882
|
onDigitButtonClick: (digit: string, event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7036
6883
|
onRemoveButtonClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
7037
|
-
icon:
|
|
6884
|
+
icon: CommonIconProps;
|
|
7038
6885
|
cssClasses?: VirtualKeyboardCssClasses;
|
|
7039
6886
|
}
|
|
7040
6887
|
|