@lumx/react 4.17.0-next.3 → 4.17.1-alpha.0
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/index.d.ts +62 -20
- package/index.js +369 -236
- package/index.js.map +1 -1
- package/package.json +6 -6
package/index.js
CHANGED
|
@@ -571,7 +571,7 @@ const {
|
|
|
571
571
|
/**
|
|
572
572
|
* Component default props.
|
|
573
573
|
*/
|
|
574
|
-
const DEFAULT_PROPS$
|
|
574
|
+
const DEFAULT_PROPS$1j = {
|
|
575
575
|
size: Size.tiny,
|
|
576
576
|
kind: Kind.info
|
|
577
577
|
};
|
|
@@ -593,8 +593,8 @@ const AlertDialog$1 = props => {
|
|
|
593
593
|
cancelProps,
|
|
594
594
|
confirmProps,
|
|
595
595
|
ref,
|
|
596
|
-
kind = DEFAULT_PROPS$
|
|
597
|
-
size = DEFAULT_PROPS$
|
|
596
|
+
kind = DEFAULT_PROPS$1j.kind,
|
|
597
|
+
size = DEFAULT_PROPS$1j.size,
|
|
598
598
|
dialogProps,
|
|
599
599
|
children,
|
|
600
600
|
DescriptionElement,
|
|
@@ -734,7 +734,7 @@ const AlertDialog = forwardRef((props, ref) => {
|
|
|
734
734
|
});
|
|
735
735
|
AlertDialog.displayName = COMPONENT_NAME$1F;
|
|
736
736
|
AlertDialog.className = CLASSNAME$1C;
|
|
737
|
-
AlertDialog.defaultProps = DEFAULT_PROPS$
|
|
737
|
+
AlertDialog.defaultProps = DEFAULT_PROPS$1j;
|
|
738
738
|
|
|
739
739
|
/**
|
|
740
740
|
* Hook focusing an element when defined and `focus` boolean `true`.
|
|
@@ -836,7 +836,7 @@ const CLASSNAME$1B = 'lumx-autocomplete';
|
|
|
836
836
|
/**
|
|
837
837
|
* Component default props.
|
|
838
838
|
*/
|
|
839
|
-
const DEFAULT_PROPS$
|
|
839
|
+
const DEFAULT_PROPS$1i = {
|
|
840
840
|
anchorToInput: false,
|
|
841
841
|
closeOnClick: false,
|
|
842
842
|
closeOnClickAway: true,
|
|
@@ -859,13 +859,13 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
859
859
|
otherProps
|
|
860
860
|
} = useDisableStateProps(props);
|
|
861
861
|
const {
|
|
862
|
-
anchorToInput = DEFAULT_PROPS$
|
|
862
|
+
anchorToInput = DEFAULT_PROPS$1i.anchorToInput,
|
|
863
863
|
children,
|
|
864
864
|
chips,
|
|
865
865
|
className,
|
|
866
|
-
closeOnClick = DEFAULT_PROPS$
|
|
867
|
-
closeOnClickAway = DEFAULT_PROPS$
|
|
868
|
-
closeOnEscape = DEFAULT_PROPS$
|
|
866
|
+
closeOnClick = DEFAULT_PROPS$1i.closeOnClick,
|
|
867
|
+
closeOnClickAway = DEFAULT_PROPS$1i.closeOnClickAway,
|
|
868
|
+
closeOnEscape = DEFAULT_PROPS$1i.closeOnEscape,
|
|
869
869
|
error,
|
|
870
870
|
fitToAnchorWidth,
|
|
871
871
|
hasError,
|
|
@@ -886,7 +886,7 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
886
886
|
onInfiniteScroll,
|
|
887
887
|
placeholder,
|
|
888
888
|
placement,
|
|
889
|
-
shouldFocusOnClose = DEFAULT_PROPS$
|
|
889
|
+
shouldFocusOnClose = DEFAULT_PROPS$1i.shouldFocusOnClose,
|
|
890
890
|
theme = defaultTheme,
|
|
891
891
|
value,
|
|
892
892
|
textFieldProps = {},
|
|
@@ -941,7 +941,7 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
941
941
|
});
|
|
942
942
|
Autocomplete.displayName = COMPONENT_NAME$1E;
|
|
943
943
|
Autocomplete.className = CLASSNAME$1B;
|
|
944
|
-
Autocomplete.defaultProps = DEFAULT_PROPS$
|
|
944
|
+
Autocomplete.defaultProps = DEFAULT_PROPS$1i;
|
|
945
945
|
|
|
946
946
|
/**
|
|
947
947
|
* Component display name.
|
|
@@ -956,7 +956,7 @@ const CLASSNAME$1A = 'lumx-autocomplete-multiple';
|
|
|
956
956
|
/**
|
|
957
957
|
* Component default props.
|
|
958
958
|
*/
|
|
959
|
-
const DEFAULT_PROPS$
|
|
959
|
+
const DEFAULT_PROPS$1h = {
|
|
960
960
|
closeOnClickAway: true,
|
|
961
961
|
closeOnEscape: true,
|
|
962
962
|
selectedChipRender(choice, index, onClear, isDisabled) {
|
|
@@ -997,8 +997,8 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
997
997
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
998
998
|
chipsAlignment,
|
|
999
999
|
className,
|
|
1000
|
-
closeOnClickAway = DEFAULT_PROPS$
|
|
1001
|
-
closeOnEscape = DEFAULT_PROPS$
|
|
1000
|
+
closeOnClickAway = DEFAULT_PROPS$1h.closeOnClickAway,
|
|
1001
|
+
closeOnEscape = DEFAULT_PROPS$1h.closeOnEscape,
|
|
1002
1002
|
fitToAnchorWidth,
|
|
1003
1003
|
hasError,
|
|
1004
1004
|
helper,
|
|
@@ -1020,12 +1020,12 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
1020
1020
|
onKeyDown,
|
|
1021
1021
|
placeholder,
|
|
1022
1022
|
placement,
|
|
1023
|
-
selectedChipRender = DEFAULT_PROPS$
|
|
1023
|
+
selectedChipRender = DEFAULT_PROPS$1h.selectedChipRender,
|
|
1024
1024
|
shouldFocusOnClose,
|
|
1025
1025
|
theme = defaultTheme,
|
|
1026
1026
|
type,
|
|
1027
1027
|
value,
|
|
1028
|
-
values = DEFAULT_PROPS$
|
|
1028
|
+
values = DEFAULT_PROPS$1h.values,
|
|
1029
1029
|
...forwardedProps
|
|
1030
1030
|
} = otherProps;
|
|
1031
1031
|
return /*#__PURE__*/jsx(Autocomplete, {
|
|
@@ -1067,7 +1067,7 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
1067
1067
|
});
|
|
1068
1068
|
AutocompleteMultiple.displayName = COMPONENT_NAME$1D;
|
|
1069
1069
|
AutocompleteMultiple.className = CLASSNAME$1A;
|
|
1070
|
-
AutocompleteMultiple.defaultProps = DEFAULT_PROPS$
|
|
1070
|
+
AutocompleteMultiple.defaultProps = DEFAULT_PROPS$1h;
|
|
1071
1071
|
|
|
1072
1072
|
/**
|
|
1073
1073
|
* Component display name.
|
|
@@ -1086,7 +1086,7 @@ const {
|
|
|
1086
1086
|
/**
|
|
1087
1087
|
* Component default props.
|
|
1088
1088
|
*/
|
|
1089
|
-
const DEFAULT_PROPS$
|
|
1089
|
+
const DEFAULT_PROPS$1g = {
|
|
1090
1090
|
size: Size.m
|
|
1091
1091
|
};
|
|
1092
1092
|
|
|
@@ -1103,7 +1103,7 @@ const Avatar$1 = props => {
|
|
|
1103
1103
|
badge,
|
|
1104
1104
|
className,
|
|
1105
1105
|
image,
|
|
1106
|
-
size = DEFAULT_PROPS$
|
|
1106
|
+
size = DEFAULT_PROPS$1g.size,
|
|
1107
1107
|
theme,
|
|
1108
1108
|
ref,
|
|
1109
1109
|
...forwardedProps
|
|
@@ -1144,7 +1144,7 @@ const Avatar = forwardRef((props, ref) => {
|
|
|
1144
1144
|
linkAs,
|
|
1145
1145
|
onClick,
|
|
1146
1146
|
onKeyPress,
|
|
1147
|
-
size = DEFAULT_PROPS$
|
|
1147
|
+
size = DEFAULT_PROPS$1g.size,
|
|
1148
1148
|
theme = defaultTheme,
|
|
1149
1149
|
thumbnailProps,
|
|
1150
1150
|
...forwardedProps
|
|
@@ -1174,7 +1174,7 @@ const Avatar = forwardRef((props, ref) => {
|
|
|
1174
1174
|
});
|
|
1175
1175
|
Avatar.displayName = COMPONENT_NAME$1C;
|
|
1176
1176
|
Avatar.className = CLASSNAME$1z;
|
|
1177
|
-
Avatar.defaultProps = DEFAULT_PROPS$
|
|
1177
|
+
Avatar.defaultProps = DEFAULT_PROPS$1g;
|
|
1178
1178
|
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Component display name.
|
|
@@ -1192,7 +1192,7 @@ const {
|
|
|
1192
1192
|
/**
|
|
1193
1193
|
* Component default props.
|
|
1194
1194
|
*/
|
|
1195
|
-
const DEFAULT_PROPS$
|
|
1195
|
+
const DEFAULT_PROPS$1f = {
|
|
1196
1196
|
color: ColorPalette.primary
|
|
1197
1197
|
};
|
|
1198
1198
|
|
|
@@ -1206,7 +1206,7 @@ const Badge$1 = props => {
|
|
|
1206
1206
|
const {
|
|
1207
1207
|
children,
|
|
1208
1208
|
className,
|
|
1209
|
-
color = DEFAULT_PROPS$
|
|
1209
|
+
color = DEFAULT_PROPS$1f.color,
|
|
1210
1210
|
ref,
|
|
1211
1211
|
...forwardedProps
|
|
1212
1212
|
} = props;
|
|
@@ -1221,7 +1221,7 @@ const Badge$1 = props => {
|
|
|
1221
1221
|
};
|
|
1222
1222
|
Badge$1.displayName = COMPONENT_NAME$1B;
|
|
1223
1223
|
Badge$1.className = CLASSNAME$1y;
|
|
1224
|
-
Badge$1.defaultProps = DEFAULT_PROPS$
|
|
1224
|
+
Badge$1.defaultProps = DEFAULT_PROPS$1f;
|
|
1225
1225
|
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Defines the props of the component.
|
|
@@ -1447,7 +1447,7 @@ const {
|
|
|
1447
1447
|
/**
|
|
1448
1448
|
* Component default props.
|
|
1449
1449
|
*/
|
|
1450
|
-
const DEFAULT_PROPS$
|
|
1450
|
+
const DEFAULT_PROPS$1e = {
|
|
1451
1451
|
emphasis: Emphasis.high,
|
|
1452
1452
|
size: Size.m
|
|
1453
1453
|
};
|
|
@@ -1461,10 +1461,10 @@ const DEFAULT_PROPS$1d = {
|
|
|
1461
1461
|
const Button$1 = props => {
|
|
1462
1462
|
const {
|
|
1463
1463
|
className,
|
|
1464
|
-
emphasis = DEFAULT_PROPS$
|
|
1464
|
+
emphasis = DEFAULT_PROPS$1e.emphasis,
|
|
1465
1465
|
leftIcon,
|
|
1466
1466
|
rightIcon,
|
|
1467
|
-
size = DEFAULT_PROPS$
|
|
1467
|
+
size = DEFAULT_PROPS$1e.size,
|
|
1468
1468
|
...forwardedProps
|
|
1469
1469
|
} = props;
|
|
1470
1470
|
const buttonClassName = classnames(className, modifier({
|
|
@@ -1481,7 +1481,7 @@ const Button$1 = props => {
|
|
|
1481
1481
|
};
|
|
1482
1482
|
Button$1.displayName = COMPONENT_NAME$1y;
|
|
1483
1483
|
Button$1.className = CLASSNAME$1w;
|
|
1484
|
-
Button$1.defaultProps = DEFAULT_PROPS$
|
|
1484
|
+
Button$1.defaultProps = DEFAULT_PROPS$1e;
|
|
1485
1485
|
|
|
1486
1486
|
/**
|
|
1487
1487
|
* Properties of a component to use to determine it's name.
|
|
@@ -1556,7 +1556,7 @@ const Button = forwardRef((props, ref) => {
|
|
|
1556
1556
|
});
|
|
1557
1557
|
Button.displayName = COMPONENT_NAME$1y;
|
|
1558
1558
|
Button.className = CLASSNAME$1w;
|
|
1559
|
-
Button.defaultProps = DEFAULT_PROPS$
|
|
1559
|
+
Button.defaultProps = DEFAULT_PROPS$1e;
|
|
1560
1560
|
|
|
1561
1561
|
const COMPONENT_NAME$1x = 'Icon';
|
|
1562
1562
|
const IconClassName = 'lumx-icon';
|
|
@@ -1573,7 +1573,7 @@ const {
|
|
|
1573
1573
|
/**
|
|
1574
1574
|
* Component default props.
|
|
1575
1575
|
*/
|
|
1576
|
-
const DEFAULT_PROPS$
|
|
1576
|
+
const DEFAULT_PROPS$1d = {};
|
|
1577
1577
|
|
|
1578
1578
|
/**
|
|
1579
1579
|
* Icon component.
|
|
@@ -1653,7 +1653,7 @@ const Icon$1 = props => {
|
|
|
1653
1653
|
};
|
|
1654
1654
|
Icon$1.displayName = COMPONENT_NAME$1x;
|
|
1655
1655
|
Icon$1.className = CLASSNAME$1v;
|
|
1656
|
-
Icon$1.defaultProps = DEFAULT_PROPS$
|
|
1656
|
+
Icon$1.defaultProps = DEFAULT_PROPS$1d;
|
|
1657
1657
|
|
|
1658
1658
|
/**
|
|
1659
1659
|
* Component display name.
|
|
@@ -1668,7 +1668,7 @@ const CLASSNAME$1u = 'lumx-icon-button';
|
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Component default props.
|
|
1670
1670
|
*/
|
|
1671
|
-
const DEFAULT_PROPS$
|
|
1671
|
+
const DEFAULT_PROPS$1c = {
|
|
1672
1672
|
emphasis: Emphasis.high,
|
|
1673
1673
|
size: Size.m
|
|
1674
1674
|
};
|
|
@@ -1681,11 +1681,11 @@ const DEFAULT_PROPS$1b = {
|
|
|
1681
1681
|
*/
|
|
1682
1682
|
const IconButton$1 = props => {
|
|
1683
1683
|
const {
|
|
1684
|
-
emphasis = DEFAULT_PROPS$
|
|
1684
|
+
emphasis = DEFAULT_PROPS$1c.emphasis,
|
|
1685
1685
|
image,
|
|
1686
1686
|
icon,
|
|
1687
1687
|
label,
|
|
1688
|
-
size = DEFAULT_PROPS$
|
|
1688
|
+
size = DEFAULT_PROPS$1c.size,
|
|
1689
1689
|
...forwardedProps
|
|
1690
1690
|
} = props;
|
|
1691
1691
|
const defaultChildren = image ? /*#__PURE__*/jsx("img", {
|
|
@@ -1706,7 +1706,7 @@ const IconButton$1 = props => {
|
|
|
1706
1706
|
};
|
|
1707
1707
|
IconButton$1.displayName = COMPONENT_NAME$1w;
|
|
1708
1708
|
IconButton$1.className = CLASSNAME$1u;
|
|
1709
|
-
IconButton$1.defaultProps = DEFAULT_PROPS$
|
|
1709
|
+
IconButton$1.defaultProps = DEFAULT_PROPS$1c;
|
|
1710
1710
|
|
|
1711
1711
|
/**
|
|
1712
1712
|
* IconButton component.
|
|
@@ -1751,7 +1751,7 @@ const IconButton = forwardRef((props, ref) => {
|
|
|
1751
1751
|
});
|
|
1752
1752
|
IconButton.displayName = COMPONENT_NAME$1w;
|
|
1753
1753
|
IconButton.className = CLASSNAME$1u;
|
|
1754
|
-
IconButton.defaultProps = DEFAULT_PROPS$
|
|
1754
|
+
IconButton.defaultProps = DEFAULT_PROPS$1c;
|
|
1755
1755
|
|
|
1756
1756
|
/**
|
|
1757
1757
|
* Component display name.
|
|
@@ -1766,7 +1766,7 @@ const CLASSNAME$1t = 'lumx-button-group';
|
|
|
1766
1766
|
/**
|
|
1767
1767
|
* Component default props.
|
|
1768
1768
|
*/
|
|
1769
|
-
const DEFAULT_PROPS$
|
|
1769
|
+
const DEFAULT_PROPS$1b = {};
|
|
1770
1770
|
|
|
1771
1771
|
/**
|
|
1772
1772
|
* ButtonGroup component.
|
|
@@ -1788,7 +1788,7 @@ const ButtonGroup$1 = props => {
|
|
|
1788
1788
|
};
|
|
1789
1789
|
ButtonGroup$1.displayName = COMPONENT_NAME$1v;
|
|
1790
1790
|
ButtonGroup$1.className = CLASSNAME$1t;
|
|
1791
|
-
ButtonGroup$1.defaultProps = DEFAULT_PROPS$
|
|
1791
|
+
ButtonGroup$1.defaultProps = DEFAULT_PROPS$1b;
|
|
1792
1792
|
|
|
1793
1793
|
/**
|
|
1794
1794
|
* ButtonGroup component.
|
|
@@ -1805,7 +1805,7 @@ const ButtonGroup = forwardRef((props, ref) => {
|
|
|
1805
1805
|
});
|
|
1806
1806
|
ButtonGroup.displayName = COMPONENT_NAME$1v;
|
|
1807
1807
|
ButtonGroup.className = CLASSNAME$1t;
|
|
1808
|
-
ButtonGroup.defaultProps = DEFAULT_PROPS$
|
|
1808
|
+
ButtonGroup.defaultProps = DEFAULT_PROPS$1b;
|
|
1809
1809
|
|
|
1810
1810
|
const COMPONENT_NAME$1u = 'InputLabel';
|
|
1811
1811
|
const InputLabelClassName = 'lumx-input-label';
|
|
@@ -1813,7 +1813,7 @@ const CLASSNAME$1s = InputLabelClassName;
|
|
|
1813
1813
|
const {
|
|
1814
1814
|
block: block$16
|
|
1815
1815
|
} = bem(CLASSNAME$1s);
|
|
1816
|
-
const DEFAULT_PROPS$
|
|
1816
|
+
const DEFAULT_PROPS$1a = {};
|
|
1817
1817
|
|
|
1818
1818
|
/**
|
|
1819
1819
|
* InputLabel component.
|
|
@@ -1845,7 +1845,7 @@ function InputLabel$1(props) {
|
|
|
1845
1845
|
}
|
|
1846
1846
|
InputLabel$1.displayName = COMPONENT_NAME$1u;
|
|
1847
1847
|
InputLabel$1.className = CLASSNAME$1s;
|
|
1848
|
-
InputLabel$1.defaultProps = DEFAULT_PROPS$
|
|
1848
|
+
InputLabel$1.defaultProps = DEFAULT_PROPS$1a;
|
|
1849
1849
|
|
|
1850
1850
|
const INPUT_HELPER_CONFIGURATION = {
|
|
1851
1851
|
[Kind.error]: {
|
|
@@ -1874,7 +1874,7 @@ const {
|
|
|
1874
1874
|
/**
|
|
1875
1875
|
* Component default props.
|
|
1876
1876
|
*/
|
|
1877
|
-
const DEFAULT_PROPS$
|
|
1877
|
+
const DEFAULT_PROPS$19 = {
|
|
1878
1878
|
kind: Kind.info
|
|
1879
1879
|
};
|
|
1880
1880
|
|
|
@@ -1885,7 +1885,7 @@ function InputHelper$1(props) {
|
|
|
1885
1885
|
const {
|
|
1886
1886
|
children,
|
|
1887
1887
|
className,
|
|
1888
|
-
kind = DEFAULT_PROPS$
|
|
1888
|
+
kind = DEFAULT_PROPS$19.kind,
|
|
1889
1889
|
theme,
|
|
1890
1890
|
ref,
|
|
1891
1891
|
...forwardedProps
|
|
@@ -1905,7 +1905,7 @@ function InputHelper$1(props) {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
InputHelper$1.displayName = COMPONENT_NAME$1t;
|
|
1907
1907
|
InputHelper$1.className = CLASSNAME$1r;
|
|
1908
|
-
InputHelper$1.defaultProps = DEFAULT_PROPS$
|
|
1908
|
+
InputHelper$1.defaultProps = DEFAULT_PROPS$19;
|
|
1909
1909
|
|
|
1910
1910
|
const INTERMEDIATE_STATE = 'intermediate';
|
|
1911
1911
|
|
|
@@ -2020,7 +2020,7 @@ const Checkbox$1 = props => {
|
|
|
2020
2020
|
/**
|
|
2021
2021
|
* Component default props.
|
|
2022
2022
|
*/
|
|
2023
|
-
const DEFAULT_PROPS$
|
|
2023
|
+
const DEFAULT_PROPS$18 = {};
|
|
2024
2024
|
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Checkbox component.
|
|
@@ -2082,7 +2082,7 @@ const Checkbox = forwardRef((props, ref) => {
|
|
|
2082
2082
|
});
|
|
2083
2083
|
Checkbox.displayName = COMPONENT_NAME$1s;
|
|
2084
2084
|
Checkbox.className = CLASSNAME$1q;
|
|
2085
|
-
Checkbox.defaultProps = DEFAULT_PROPS$
|
|
2085
|
+
Checkbox.defaultProps = DEFAULT_PROPS$18;
|
|
2086
2086
|
|
|
2087
2087
|
/**
|
|
2088
2088
|
* Wrap mouse event handler to stop event propagation.
|
|
@@ -2117,7 +2117,7 @@ const {
|
|
|
2117
2117
|
/**
|
|
2118
2118
|
* Component default props.
|
|
2119
2119
|
*/
|
|
2120
|
-
const DEFAULT_PROPS$
|
|
2120
|
+
const DEFAULT_PROPS$17 = {
|
|
2121
2121
|
size: Size.m
|
|
2122
2122
|
};
|
|
2123
2123
|
|
|
@@ -2144,7 +2144,7 @@ const Chip$1 = props => {
|
|
|
2144
2144
|
hasAfterClick,
|
|
2145
2145
|
hasBeforeClick,
|
|
2146
2146
|
hasOnClick,
|
|
2147
|
-
size = DEFAULT_PROPS$
|
|
2147
|
+
size = DEFAULT_PROPS$17.size,
|
|
2148
2148
|
theme,
|
|
2149
2149
|
ref,
|
|
2150
2150
|
href,
|
|
@@ -2266,7 +2266,7 @@ const Chip = forwardRef((props, ref) => {
|
|
|
2266
2266
|
});
|
|
2267
2267
|
Chip.displayName = COMPONENT_NAME$1r;
|
|
2268
2268
|
Chip.className = CLASSNAME$1p;
|
|
2269
|
-
Chip.defaultProps = DEFAULT_PROPS$
|
|
2269
|
+
Chip.defaultProps = DEFAULT_PROPS$17;
|
|
2270
2270
|
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Component display name.
|
|
@@ -2281,7 +2281,7 @@ const CLASSNAME$1o = 'lumx-chip-group';
|
|
|
2281
2281
|
/**
|
|
2282
2282
|
* Component default props.
|
|
2283
2283
|
*/
|
|
2284
|
-
const DEFAULT_PROPS$
|
|
2284
|
+
const DEFAULT_PROPS$16 = {};
|
|
2285
2285
|
|
|
2286
2286
|
/**
|
|
2287
2287
|
* ChipGroup component.
|
|
@@ -2379,7 +2379,7 @@ const InternalChipGroup = forwardRef((props, ref) => {
|
|
|
2379
2379
|
});
|
|
2380
2380
|
InternalChipGroup.displayName = COMPONENT_NAME$1q;
|
|
2381
2381
|
InternalChipGroup.className = CLASSNAME$1o;
|
|
2382
|
-
InternalChipGroup.defaultProps = DEFAULT_PROPS$
|
|
2382
|
+
InternalChipGroup.defaultProps = DEFAULT_PROPS$16;
|
|
2383
2383
|
const ChipGroup = Object.assign(InternalChipGroup, {
|
|
2384
2384
|
useChipGroupNavigation
|
|
2385
2385
|
});
|
|
@@ -2722,7 +2722,7 @@ const {
|
|
|
2722
2722
|
/**
|
|
2723
2723
|
* Component default props.
|
|
2724
2724
|
*/
|
|
2725
|
-
const DEFAULT_PROPS$
|
|
2725
|
+
const DEFAULT_PROPS$15 = {};
|
|
2726
2726
|
|
|
2727
2727
|
/**
|
|
2728
2728
|
* Text component common props
|
|
@@ -2809,7 +2809,7 @@ const Text = forwardRef((props, ref) => {
|
|
|
2809
2809
|
});
|
|
2810
2810
|
Text.displayName = COMPONENT_NAME$1o;
|
|
2811
2811
|
Text.className = CLASSNAME$1m;
|
|
2812
|
-
Text.defaultProps = DEFAULT_PROPS$
|
|
2812
|
+
Text.defaultProps = DEFAULT_PROPS$15;
|
|
2813
2813
|
|
|
2814
2814
|
/**
|
|
2815
2815
|
* Custom positioning reference element.
|
|
@@ -4891,7 +4891,7 @@ const TOOLTIP_ZINDEX = 10000;
|
|
|
4891
4891
|
/**
|
|
4892
4892
|
* Component default props.
|
|
4893
4893
|
*/
|
|
4894
|
-
const DEFAULT_PROPS$
|
|
4894
|
+
const DEFAULT_PROPS$14 = {
|
|
4895
4895
|
placement: 'bottom',
|
|
4896
4896
|
closeMode: 'unmount',
|
|
4897
4897
|
ariaLinkMode: 'aria-describedby',
|
|
@@ -5255,11 +5255,11 @@ const Tooltip = forwardRef((props, ref) => {
|
|
|
5255
5255
|
children,
|
|
5256
5256
|
className,
|
|
5257
5257
|
delay,
|
|
5258
|
-
placement = DEFAULT_PROPS$
|
|
5258
|
+
placement = DEFAULT_PROPS$14.placement,
|
|
5259
5259
|
forceOpen,
|
|
5260
|
-
closeMode = DEFAULT_PROPS$
|
|
5261
|
-
ariaLinkMode = DEFAULT_PROPS$
|
|
5262
|
-
zIndex = DEFAULT_PROPS$
|
|
5260
|
+
closeMode = DEFAULT_PROPS$14.closeMode,
|
|
5261
|
+
ariaLinkMode = DEFAULT_PROPS$14.ariaLinkMode,
|
|
5262
|
+
zIndex = DEFAULT_PROPS$14.zIndex,
|
|
5263
5263
|
...forwardedProps
|
|
5264
5264
|
} = props;
|
|
5265
5265
|
// Disable in SSR.
|
|
@@ -5324,7 +5324,7 @@ const Tooltip = forwardRef((props, ref) => {
|
|
|
5324
5324
|
});
|
|
5325
5325
|
Tooltip.displayName = COMPONENT_NAME$1n;
|
|
5326
5326
|
Tooltip.className = CLASSNAME$1l;
|
|
5327
|
-
Tooltip.defaultProps = DEFAULT_PROPS$
|
|
5327
|
+
Tooltip.defaultProps = DEFAULT_PROPS$14;
|
|
5328
5328
|
|
|
5329
5329
|
/** Create a pending navigation store; discards intent on abort. */
|
|
5330
5330
|
function createPendingNavigation(signal) {
|
|
@@ -6460,6 +6460,12 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6460
6460
|
/** Last notified input value, to re-fire `optionsChange` when the user keeps typing while empty. */
|
|
6461
6461
|
let lastInputValue = '';
|
|
6462
6462
|
|
|
6463
|
+
/** Last notified loading state, used to replay current state to late subscribers. */
|
|
6464
|
+
let lastLoadingState = false;
|
|
6465
|
+
|
|
6466
|
+
/** Number of currently mounted skeleton placeholders. */
|
|
6467
|
+
let skeletonCount = 0;
|
|
6468
|
+
|
|
6463
6469
|
/** Event subscribers managed by the handle. */
|
|
6464
6470
|
const subscribers = {
|
|
6465
6471
|
open: new Set(),
|
|
@@ -6474,6 +6480,20 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6474
6480
|
subscribers[event].forEach(cb => cb(value));
|
|
6475
6481
|
}
|
|
6476
6482
|
|
|
6483
|
+
/** Count visible (non-filtered) options. */
|
|
6484
|
+
function getVisibleOptionCount() {
|
|
6485
|
+
let count = 0;
|
|
6486
|
+
for (const reg of optionRegistrations.values()) {
|
|
6487
|
+
if (!reg.lastFiltered) count += 1;
|
|
6488
|
+
}
|
|
6489
|
+
return count;
|
|
6490
|
+
}
|
|
6491
|
+
|
|
6492
|
+
/** True when the popup has visible content (options or skeletons). */
|
|
6493
|
+
function hasVisibleContent() {
|
|
6494
|
+
return getVisibleOptionCount() > 0 || skeletonCount > 0;
|
|
6495
|
+
}
|
|
6496
|
+
|
|
6477
6497
|
/**
|
|
6478
6498
|
* Notify all registered sections and fire `optionsChange` if the visible option count changed
|
|
6479
6499
|
* or if the input value changed while the list is empty (so `emptyMessage` callbacks get
|
|
@@ -6484,10 +6504,7 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6484
6504
|
for (const [sectionElement] of sectionRegistrations) {
|
|
6485
6505
|
notifySection(sectionElement, sectionRegistrations, optionRegistrations);
|
|
6486
6506
|
}
|
|
6487
|
-
|
|
6488
|
-
for (const reg of optionRegistrations.values()) {
|
|
6489
|
-
if (!reg.lastFiltered) visibleCount += 1;
|
|
6490
|
-
}
|
|
6507
|
+
const visibleCount = getVisibleOptionCount();
|
|
6491
6508
|
const inputValue = trigger?.value ?? '';
|
|
6492
6509
|
const isEmpty = visibleCount === 0;
|
|
6493
6510
|
if (visibleCount !== lastOptionsLength || isEmpty && inputValue !== lastInputValue) {
|
|
@@ -6498,6 +6515,12 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6498
6515
|
inputValue
|
|
6499
6516
|
});
|
|
6500
6517
|
}
|
|
6518
|
+
|
|
6519
|
+
// Re-evaluate aria-expanded when the combobox is open — visible content may have
|
|
6520
|
+
// changed due to filtering, option register/unregister, or skeleton transitions.
|
|
6521
|
+
if (isOpenState) {
|
|
6522
|
+
trigger?.setAttribute('aria-expanded', String(hasVisibleContent()));
|
|
6523
|
+
}
|
|
6501
6524
|
}
|
|
6502
6525
|
|
|
6503
6526
|
// ── Skeleton loading tracking ──────────────────────────────
|
|
@@ -6505,9 +6528,6 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6505
6528
|
/** Delay before announcing loading in the live region (ms). */
|
|
6506
6529
|
const LOADING_ANNOUNCEMENT_DELAY = 500;
|
|
6507
6530
|
|
|
6508
|
-
/** Number of currently mounted skeleton placeholders. */
|
|
6509
|
-
let skeletonCount = 0;
|
|
6510
|
-
|
|
6511
6531
|
/** Timer for debounced loading announcement. */
|
|
6512
6532
|
let loadingTimer;
|
|
6513
6533
|
|
|
@@ -6533,6 +6553,7 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6533
6553
|
*/
|
|
6534
6554
|
function onSkeletonCountChange() {
|
|
6535
6555
|
const isLoading = skeletonCount > 0;
|
|
6556
|
+
lastLoadingState = isLoading;
|
|
6536
6557
|
notify('loadingChange', isLoading);
|
|
6537
6558
|
if (isLoading) {
|
|
6538
6559
|
startLoadingAnnouncementTimer();
|
|
@@ -6735,8 +6756,8 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6735
6756
|
startLoadingAnnouncementTimer();
|
|
6736
6757
|
}
|
|
6737
6758
|
|
|
6738
|
-
// Update aria-expanded on trigger
|
|
6739
|
-
trigger?.setAttribute('aria-expanded', String(isOpen));
|
|
6759
|
+
// Update aria-expanded on trigger (false when no visible options or skeletons)
|
|
6760
|
+
trigger?.setAttribute('aria-expanded', String(isOpen && hasVisibleContent()));
|
|
6740
6761
|
notify('open', isOpen);
|
|
6741
6762
|
},
|
|
6742
6763
|
select(option) {
|
|
@@ -6871,6 +6892,17 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6871
6892
|
},
|
|
6872
6893
|
subscribe(event, callback) {
|
|
6873
6894
|
subscribers[event].add(callback);
|
|
6895
|
+
// Replay current loading state to late subscribers so that framework wrappers
|
|
6896
|
+
// that subscribe after initial mount (e.g. async Vue watchers) don't miss the
|
|
6897
|
+
// initial events fired during mount.
|
|
6898
|
+
if (event === 'open' && isOpenState) {
|
|
6899
|
+
callback(true);
|
|
6900
|
+
}
|
|
6901
|
+
if (event === 'loadingChange' && lastLoadingState) {
|
|
6902
|
+
callback(true);
|
|
6903
|
+
}
|
|
6904
|
+
|
|
6905
|
+
// Cleanup function
|
|
6874
6906
|
return () => {
|
|
6875
6907
|
subscribers[event].delete(callback);
|
|
6876
6908
|
};
|
|
@@ -6882,6 +6914,7 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
|
|
|
6882
6914
|
filterValue = '';
|
|
6883
6915
|
lastOptionsLength = 0;
|
|
6884
6916
|
lastInputValue = '';
|
|
6917
|
+
lastLoadingState = false;
|
|
6885
6918
|
optionRegistrations.clear();
|
|
6886
6919
|
sectionRegistrations.clear();
|
|
6887
6920
|
skeletonCount = 0;
|
|
@@ -7278,6 +7311,10 @@ const ComboboxButton = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
7278
7311
|
setHandle
|
|
7279
7312
|
} = useComboboxContext();
|
|
7280
7313
|
const [isOpen] = useComboboxOpen();
|
|
7314
|
+
const state = useComboboxEvent('optionsChange', {
|
|
7315
|
+
optionsLength: 0
|
|
7316
|
+
});
|
|
7317
|
+
const isLoading = useComboboxEvent('loadingChange', false);
|
|
7281
7318
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7282
7319
|
const {
|
|
7283
7320
|
as,
|
|
@@ -7319,7 +7356,7 @@ const ComboboxButton = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
7319
7356
|
value,
|
|
7320
7357
|
labelDisplayMode,
|
|
7321
7358
|
listboxId,
|
|
7322
|
-
isOpen,
|
|
7359
|
+
isOpen: isOpen && (!!state?.optionsLength || isLoading),
|
|
7323
7360
|
ref: mergedRef
|
|
7324
7361
|
}, {
|
|
7325
7362
|
Button: ButtonComp,
|
|
@@ -7731,7 +7768,7 @@ const {
|
|
|
7731
7768
|
/**
|
|
7732
7769
|
* Component default props.
|
|
7733
7770
|
*/
|
|
7734
|
-
const DEFAULT_PROPS$
|
|
7771
|
+
const DEFAULT_PROPS$13 = {
|
|
7735
7772
|
type: 'text'
|
|
7736
7773
|
};
|
|
7737
7774
|
|
|
@@ -7748,7 +7785,7 @@ const RawInputText$1 = props => {
|
|
|
7748
7785
|
handleInput,
|
|
7749
7786
|
handleFocus,
|
|
7750
7787
|
handleBlur,
|
|
7751
|
-
type = DEFAULT_PROPS$
|
|
7788
|
+
type = DEFAULT_PROPS$13.type,
|
|
7752
7789
|
name,
|
|
7753
7790
|
ref,
|
|
7754
7791
|
...forwardedProps
|
|
@@ -7810,7 +7847,7 @@ const {
|
|
|
7810
7847
|
/**
|
|
7811
7848
|
* Component default props.
|
|
7812
7849
|
*/
|
|
7813
|
-
const DEFAULT_PROPS$
|
|
7850
|
+
const DEFAULT_PROPS$12 = {
|
|
7814
7851
|
rows: 2
|
|
7815
7852
|
};
|
|
7816
7853
|
|
|
@@ -7827,7 +7864,7 @@ const RawInputTextarea$1 = props => {
|
|
|
7827
7864
|
handleInput,
|
|
7828
7865
|
handleFocus,
|
|
7829
7866
|
handleBlur,
|
|
7830
|
-
rows = DEFAULT_PROPS$
|
|
7867
|
+
rows = DEFAULT_PROPS$12.rows,
|
|
7831
7868
|
name,
|
|
7832
7869
|
ref,
|
|
7833
7870
|
...forwardedProps
|
|
@@ -7903,8 +7940,8 @@ function useFitRowsToContent(minimumRows, textareaRef, value) {
|
|
|
7903
7940
|
/**
|
|
7904
7941
|
* Component default props.
|
|
7905
7942
|
*/
|
|
7906
|
-
const DEFAULT_PROPS$
|
|
7907
|
-
minimumRows: DEFAULT_PROPS$
|
|
7943
|
+
const DEFAULT_PROPS$11 = {
|
|
7944
|
+
minimumRows: DEFAULT_PROPS$12.rows
|
|
7908
7945
|
};
|
|
7909
7946
|
|
|
7910
7947
|
/**
|
|
@@ -7915,7 +7952,7 @@ const RawInputTextarea = forwardRef((props, ref) => {
|
|
|
7915
7952
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
7916
7953
|
const {
|
|
7917
7954
|
theme = defaultTheme,
|
|
7918
|
-
minimumRows = DEFAULT_PROPS$
|
|
7955
|
+
minimumRows = DEFAULT_PROPS$11.minimumRows,
|
|
7919
7956
|
value,
|
|
7920
7957
|
onChange,
|
|
7921
7958
|
onFocus,
|
|
@@ -7939,7 +7976,7 @@ const RawInputTextarea = forwardRef((props, ref) => {
|
|
|
7939
7976
|
/**
|
|
7940
7977
|
* Component default props.
|
|
7941
7978
|
*/
|
|
7942
|
-
const DEFAULT_PROPS
|
|
7979
|
+
const DEFAULT_PROPS$10 = {
|
|
7943
7980
|
type: 'text'
|
|
7944
7981
|
};
|
|
7945
7982
|
|
|
@@ -7983,7 +8020,7 @@ const TextField = forwardRef((props, ref) => {
|
|
|
7983
8020
|
placeholder,
|
|
7984
8021
|
textFieldRef,
|
|
7985
8022
|
theme = defaultTheme,
|
|
7986
|
-
type = DEFAULT_PROPS
|
|
8023
|
+
type = DEFAULT_PROPS$10.type,
|
|
7987
8024
|
value,
|
|
7988
8025
|
afterElement,
|
|
7989
8026
|
...forwardedProps
|
|
@@ -8090,7 +8127,7 @@ const TextField = forwardRef((props, ref) => {
|
|
|
8090
8127
|
});
|
|
8091
8128
|
TextField.displayName = COMPONENT_NAME$1k;
|
|
8092
8129
|
TextField.className = CLASSNAME$1i;
|
|
8093
|
-
TextField.defaultProps = DEFAULT_PROPS
|
|
8130
|
+
TextField.defaultProps = DEFAULT_PROPS$10;
|
|
8094
8131
|
|
|
8095
8132
|
/**
|
|
8096
8133
|
* Props for Combobox.Input component.
|
|
@@ -8112,6 +8149,10 @@ const ComboboxInput = forwardRef((props, ref) => {
|
|
|
8112
8149
|
setHandle
|
|
8113
8150
|
} = useComboboxContext();
|
|
8114
8151
|
const [isOpen, setIsOpen] = useComboboxOpen();
|
|
8152
|
+
const state = useComboboxEvent('optionsChange', {
|
|
8153
|
+
optionsLength: 0
|
|
8154
|
+
});
|
|
8155
|
+
const isLoading = useComboboxEvent('loadingChange', false);
|
|
8115
8156
|
const {
|
|
8116
8157
|
inputRef: externalInputRef,
|
|
8117
8158
|
toggleButtonProps,
|
|
@@ -8160,7 +8201,7 @@ const ComboboxInput = forwardRef((props, ref) => {
|
|
|
8160
8201
|
...otherProps,
|
|
8161
8202
|
ref,
|
|
8162
8203
|
listboxId,
|
|
8163
|
-
isOpen,
|
|
8204
|
+
isOpen: isOpen && (!!state?.optionsLength || isLoading),
|
|
8164
8205
|
filter,
|
|
8165
8206
|
inputRef: mergedInputRef,
|
|
8166
8207
|
textFieldRef: anchorRef,
|
|
@@ -8190,7 +8231,7 @@ const {
|
|
|
8190
8231
|
/**
|
|
8191
8232
|
* Component default props.
|
|
8192
8233
|
*/
|
|
8193
|
-
const DEFAULT_PROPS
|
|
8234
|
+
const DEFAULT_PROPS$$ = {};
|
|
8194
8235
|
|
|
8195
8236
|
/**
|
|
8196
8237
|
* List component.
|
|
@@ -8217,7 +8258,7 @@ const List$1 = props => {
|
|
|
8217
8258
|
};
|
|
8218
8259
|
List$1.displayName = COMPONENT_NAME$1j;
|
|
8219
8260
|
List$1.className = CLASSNAME$1h;
|
|
8220
|
-
List$1.defaultProps = DEFAULT_PROPS
|
|
8261
|
+
List$1.defaultProps = DEFAULT_PROPS$$;
|
|
8221
8262
|
|
|
8222
8263
|
/**
|
|
8223
8264
|
* Popup type for the combobox listbox.
|
|
@@ -8369,7 +8410,7 @@ const {
|
|
|
8369
8410
|
/**
|
|
8370
8411
|
* Component default props.
|
|
8371
8412
|
*/
|
|
8372
|
-
const DEFAULT_PROPS$
|
|
8413
|
+
const DEFAULT_PROPS$_ = {
|
|
8373
8414
|
size: Size.regular
|
|
8374
8415
|
};
|
|
8375
8416
|
|
|
@@ -8393,7 +8434,7 @@ const ListItem$1 = props => {
|
|
|
8393
8434
|
linkProps = {},
|
|
8394
8435
|
linkRef,
|
|
8395
8436
|
handleClick,
|
|
8396
|
-
size = DEFAULT_PROPS$
|
|
8437
|
+
size = DEFAULT_PROPS$_.size,
|
|
8397
8438
|
ref,
|
|
8398
8439
|
...forwardedProps
|
|
8399
8440
|
} = props;
|
|
@@ -8433,7 +8474,7 @@ const ListItem$1 = props => {
|
|
|
8433
8474
|
};
|
|
8434
8475
|
ListItem$1.displayName = COMPONENT_NAME$1h;
|
|
8435
8476
|
ListItem$1.className = CLASSNAME$1f;
|
|
8436
|
-
ListItem$1.defaultProps = DEFAULT_PROPS$
|
|
8477
|
+
ListItem$1.defaultProps = DEFAULT_PROPS$_;
|
|
8437
8478
|
|
|
8438
8479
|
/**
|
|
8439
8480
|
* ListItemAction props.
|
|
@@ -8448,7 +8489,7 @@ const COMPONENT_NAME$1g = 'ListItemAction';
|
|
|
8448
8489
|
* Component classname (used by action area CSS pattern).
|
|
8449
8490
|
*/
|
|
8450
8491
|
const CLASSNAME$1e = 'lumx-action-area__action';
|
|
8451
|
-
const DEFAULT_PROPS$
|
|
8492
|
+
const DEFAULT_PROPS$Z = {};
|
|
8452
8493
|
|
|
8453
8494
|
/**
|
|
8454
8495
|
* ListItemAction component.
|
|
@@ -9068,15 +9109,6 @@ const Placement = {
|
|
|
9068
9109
|
LEFT_END: 'left-end',
|
|
9069
9110
|
LEFT_START: 'left-start'
|
|
9070
9111
|
};
|
|
9071
|
-
|
|
9072
|
-
/**
|
|
9073
|
-
* Offset of the popover.
|
|
9074
|
-
*/
|
|
9075
|
-
|
|
9076
|
-
/**
|
|
9077
|
-
* Popover elevation index.
|
|
9078
|
-
*/
|
|
9079
|
-
|
|
9080
9112
|
/**
|
|
9081
9113
|
* Popover fit anchor width options.
|
|
9082
9114
|
*/
|
|
@@ -9092,6 +9124,11 @@ const ARROW_SIZE = 14;
|
|
|
9092
9124
|
*/
|
|
9093
9125
|
const POPOVER_ZINDEX = 9999;
|
|
9094
9126
|
|
|
9127
|
+
/**
|
|
9128
|
+
* Popover height/width sizes
|
|
9129
|
+
*/
|
|
9130
|
+
[Size.m, Size.l, Size.xl, Size.xxl];
|
|
9131
|
+
|
|
9095
9132
|
/**
|
|
9096
9133
|
* Component display name.
|
|
9097
9134
|
*/
|
|
@@ -9109,7 +9146,7 @@ const {
|
|
|
9109
9146
|
/**
|
|
9110
9147
|
* Component default props (used by framework wrappers).
|
|
9111
9148
|
*/
|
|
9112
|
-
const DEFAULT_PROPS$
|
|
9149
|
+
const DEFAULT_PROPS$Y = {
|
|
9113
9150
|
closeMode: 'unmount',
|
|
9114
9151
|
elevation: 3,
|
|
9115
9152
|
placement: Placement.AUTO,
|
|
@@ -9133,8 +9170,8 @@ const Popover$1 = (props, {
|
|
|
9133
9170
|
as: asTag = 'div',
|
|
9134
9171
|
children,
|
|
9135
9172
|
className,
|
|
9136
|
-
closeMode = DEFAULT_PROPS$
|
|
9137
|
-
elevation = DEFAULT_PROPS$
|
|
9173
|
+
closeMode = DEFAULT_PROPS$Y.closeMode,
|
|
9174
|
+
elevation = DEFAULT_PROPS$Y.elevation,
|
|
9138
9175
|
hasArrow,
|
|
9139
9176
|
isOpen,
|
|
9140
9177
|
position,
|
|
@@ -9144,7 +9181,7 @@ const Popover$1 = (props, {
|
|
|
9144
9181
|
// Framework-specific
|
|
9145
9182
|
ref,
|
|
9146
9183
|
arrowRef,
|
|
9147
|
-
usePortal = DEFAULT_PROPS$
|
|
9184
|
+
usePortal = DEFAULT_PROPS$Y.usePortal,
|
|
9148
9185
|
clickAwayCallback,
|
|
9149
9186
|
clickAwayRefs,
|
|
9150
9187
|
unmountSentinel,
|
|
@@ -9275,8 +9312,6 @@ function useRestoreFocusOnClose({
|
|
|
9275
9312
|
});
|
|
9276
9313
|
}
|
|
9277
9314
|
|
|
9278
|
-
/* eslint-disable no-param-reassign */
|
|
9279
|
-
|
|
9280
9315
|
/**
|
|
9281
9316
|
* Parse a Popover placement into floating-ui placement or auto-placement config.
|
|
9282
9317
|
*/
|
|
@@ -9306,6 +9341,29 @@ function parseFitWidth(fitToAnchorWidth) {
|
|
|
9306
9341
|
if (typeof fitToAnchorWidth === 'string') return fitToAnchorWidth;
|
|
9307
9342
|
return FitAnchorWidth.MIN_WIDTH;
|
|
9308
9343
|
}
|
|
9344
|
+
|
|
9345
|
+
/** Resolve a t-shirt size token to its CSS custom property, or pass through as-is. */
|
|
9346
|
+
|
|
9347
|
+
function resolveCssSize(value) {
|
|
9348
|
+
if (value && value in Size) return `var(--lumx-size-${value})`;
|
|
9349
|
+
return value;
|
|
9350
|
+
}
|
|
9351
|
+
|
|
9352
|
+
/** Create a CSS min()/max() combiner function. */
|
|
9353
|
+
function combineSize(combinator) {
|
|
9354
|
+
return (size1, size2) => {
|
|
9355
|
+
if (size1 && size2) return `${combinator}(${size1}, ${size2})`;
|
|
9356
|
+
return size1 || size2 || '';
|
|
9357
|
+
};
|
|
9358
|
+
}
|
|
9359
|
+
|
|
9360
|
+
/** Combine two CSS values with `min()`. */
|
|
9361
|
+
const cssMin = combineSize('min');
|
|
9362
|
+
|
|
9363
|
+
/** Combine two CSS values with `max()`. */
|
|
9364
|
+
const cssMax = combineSize('max');
|
|
9365
|
+
|
|
9366
|
+
/* eslint-disable no-param-reassign */
|
|
9309
9367
|
/**
|
|
9310
9368
|
* Build the floating-ui middleware array for popover positioning.
|
|
9311
9369
|
*
|
|
@@ -9317,10 +9375,24 @@ function buildPopoverMiddleware(options) {
|
|
|
9317
9375
|
hasArrow,
|
|
9318
9376
|
fitWidth,
|
|
9319
9377
|
fitWithinViewportHeight,
|
|
9378
|
+
width: rawWidth,
|
|
9379
|
+
minWidth: rawMinWidth,
|
|
9380
|
+
maxWidth: rawMaxWidth,
|
|
9381
|
+
height: rawHeight,
|
|
9382
|
+
minHeight: rawMinHeight,
|
|
9383
|
+
maxHeight: rawMaxHeight,
|
|
9320
9384
|
boundary,
|
|
9321
9385
|
parsedPlacement,
|
|
9322
9386
|
arrowElement
|
|
9323
9387
|
} = options;
|
|
9388
|
+
|
|
9389
|
+
// Resolve t-shirt sizes to CSS pixel strings for the apply callback.
|
|
9390
|
+
const width = resolveCssSize(rawWidth);
|
|
9391
|
+
const minWidth = resolveCssSize(rawMinWidth);
|
|
9392
|
+
const maxWidth = resolveCssSize(rawMaxWidth);
|
|
9393
|
+
const height = resolveCssSize(rawHeight);
|
|
9394
|
+
const minHeight = resolveCssSize(rawMinHeight);
|
|
9395
|
+
const maxHeight = resolveCssSize(rawMaxHeight);
|
|
9324
9396
|
const middlewares = [];
|
|
9325
9397
|
|
|
9326
9398
|
// Offset middleware
|
|
@@ -9348,8 +9420,9 @@ function buildPopoverMiddleware(options) {
|
|
|
9348
9420
|
} : {}));
|
|
9349
9421
|
}
|
|
9350
9422
|
|
|
9351
|
-
// Size middleware
|
|
9352
|
-
|
|
9423
|
+
// Size middleware — always required when any sizing constraint is set
|
|
9424
|
+
const anySizeConstraint = !!fitWidth || !!fitWithinViewportHeight || width || minWidth || maxWidth || height || minHeight || maxHeight;
|
|
9425
|
+
if (anySizeConstraint) {
|
|
9353
9426
|
middlewares.push(size({
|
|
9354
9427
|
...(boundary ? {
|
|
9355
9428
|
boundary
|
|
@@ -9359,14 +9432,21 @@ function buildPopoverMiddleware(options) {
|
|
|
9359
9432
|
rects,
|
|
9360
9433
|
elements
|
|
9361
9434
|
}) {
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9435
|
+
const anchorWidth = `${rects.reference.width}px`;
|
|
9436
|
+
|
|
9437
|
+
// Width: explicit width wins, else fitToAnchorWidth.
|
|
9438
|
+
elements.floating.style.width = width || (fitWidth === 'width' ? anchorWidth : '');
|
|
9439
|
+
// Min-width: anchor constrained by explicit min-width.
|
|
9440
|
+
elements.floating.style.minWidth = cssMax(minWidth, fitWidth === 'minWidth' ? anchorWidth : '');
|
|
9441
|
+
// Max-width: anchor constrained by explicit max-width.
|
|
9442
|
+
elements.floating.style.maxWidth = cssMin(maxWidth, fitWidth === 'maxWidth' ? anchorWidth : '');
|
|
9443
|
+
|
|
9444
|
+
// Height: explicit values only.
|
|
9445
|
+
elements.floating.style.height = height || '';
|
|
9446
|
+
elements.floating.style.minHeight = minHeight || '';
|
|
9447
|
+
// Max-height: viewport combined with explicit max-height.
|
|
9448
|
+
const adaptedAvailableHeight = `${Math.max(0, availableHeight - ARROW_SIZE)}px`;
|
|
9449
|
+
elements.floating.style.maxHeight = cssMin(maxHeight, fitWithinViewportHeight ? adaptedAvailableHeight : '');
|
|
9370
9450
|
}
|
|
9371
9451
|
}));
|
|
9372
9452
|
}
|
|
@@ -9405,6 +9485,12 @@ function usePopoverStyle({
|
|
|
9405
9485
|
hasArrow,
|
|
9406
9486
|
fitToAnchorWidth,
|
|
9407
9487
|
fitWithinViewportHeight,
|
|
9488
|
+
width,
|
|
9489
|
+
minWidth,
|
|
9490
|
+
maxWidth,
|
|
9491
|
+
height,
|
|
9492
|
+
minHeight,
|
|
9493
|
+
maxHeight,
|
|
9408
9494
|
boundaryRef,
|
|
9409
9495
|
anchorRef,
|
|
9410
9496
|
placement,
|
|
@@ -9421,10 +9507,16 @@ function usePopoverStyle({
|
|
|
9421
9507
|
hasArrow,
|
|
9422
9508
|
fitWidth,
|
|
9423
9509
|
fitWithinViewportHeight,
|
|
9510
|
+
width,
|
|
9511
|
+
minWidth,
|
|
9512
|
+
maxWidth,
|
|
9513
|
+
height,
|
|
9514
|
+
minHeight,
|
|
9515
|
+
maxHeight,
|
|
9424
9516
|
boundary,
|
|
9425
9517
|
parsedPlacement,
|
|
9426
9518
|
arrowElement
|
|
9427
|
-
}), [offset, hasArrow, fitWidth, fitWithinViewportHeight, boundary, parsedPlacement, arrowElement]);
|
|
9519
|
+
}), [offset, hasArrow, fitWidth, fitWithinViewportHeight, width, minWidth, maxWidth, height, minHeight, maxHeight, boundary, parsedPlacement, arrowElement]);
|
|
9428
9520
|
const anchorElement = anchorRef.current;
|
|
9429
9521
|
const {
|
|
9430
9522
|
floatingStyles,
|
|
@@ -9483,27 +9575,33 @@ const _InnerPopover = forwardRef((props, ref) => {
|
|
|
9483
9575
|
as,
|
|
9484
9576
|
children,
|
|
9485
9577
|
className,
|
|
9486
|
-
closeMode = DEFAULT_PROPS$
|
|
9578
|
+
closeMode = DEFAULT_PROPS$Y.closeMode,
|
|
9487
9579
|
closeOnClickAway,
|
|
9488
9580
|
closeOnEscape,
|
|
9489
|
-
elevation = DEFAULT_PROPS$
|
|
9581
|
+
elevation = DEFAULT_PROPS$Y.elevation,
|
|
9490
9582
|
focusElement,
|
|
9491
9583
|
hasArrow,
|
|
9492
9584
|
isOpen,
|
|
9493
9585
|
onClose,
|
|
9494
9586
|
parentElement,
|
|
9495
|
-
usePortal = DEFAULT_PROPS$
|
|
9496
|
-
focusAnchorOnClose = DEFAULT_PROPS$
|
|
9587
|
+
usePortal = DEFAULT_PROPS$Y.usePortal,
|
|
9588
|
+
focusAnchorOnClose = DEFAULT_PROPS$Y.focusAnchorOnClose,
|
|
9497
9589
|
withFocusTrap,
|
|
9498
9590
|
boundaryRef,
|
|
9499
9591
|
fitToAnchorWidth,
|
|
9500
9592
|
fitWithinViewportHeight,
|
|
9501
9593
|
focusTrapZoneElement,
|
|
9594
|
+
width,
|
|
9595
|
+
minWidth,
|
|
9596
|
+
maxWidth,
|
|
9597
|
+
height,
|
|
9598
|
+
minHeight,
|
|
9599
|
+
maxHeight,
|
|
9502
9600
|
offset,
|
|
9503
|
-
placement = DEFAULT_PROPS$
|
|
9601
|
+
placement = DEFAULT_PROPS$Y.placement,
|
|
9504
9602
|
style,
|
|
9505
9603
|
theme,
|
|
9506
|
-
zIndex = DEFAULT_PROPS$
|
|
9604
|
+
zIndex = DEFAULT_PROPS$Y.zIndex,
|
|
9507
9605
|
...forwardedProps
|
|
9508
9606
|
} = props;
|
|
9509
9607
|
const popoverRef = useRef(null);
|
|
@@ -9519,6 +9617,12 @@ const _InnerPopover = forwardRef((props, ref) => {
|
|
|
9519
9617
|
hasArrow,
|
|
9520
9618
|
fitToAnchorWidth,
|
|
9521
9619
|
fitWithinViewportHeight,
|
|
9620
|
+
width,
|
|
9621
|
+
minWidth,
|
|
9622
|
+
maxWidth,
|
|
9623
|
+
height,
|
|
9624
|
+
minHeight,
|
|
9625
|
+
maxHeight,
|
|
9522
9626
|
boundaryRef,
|
|
9523
9627
|
anchorRef,
|
|
9524
9628
|
placement,
|
|
@@ -9577,7 +9681,7 @@ const Popover = skipRender(
|
|
|
9577
9681
|
() => Boolean(DOCUMENT), _InnerPopover);
|
|
9578
9682
|
Popover.displayName = COMPONENT_NAME$1c;
|
|
9579
9683
|
Popover.className = CLASSNAME$1a;
|
|
9580
|
-
Popover.defaultProps = DEFAULT_PROPS$
|
|
9684
|
+
Popover.defaultProps = DEFAULT_PROPS$Y;
|
|
9581
9685
|
|
|
9582
9686
|
/**
|
|
9583
9687
|
* Props for Combobox.OptionMoreInfo component.
|
|
@@ -9781,6 +9885,8 @@ const ComboboxOptionSkeleton = props => {
|
|
|
9781
9885
|
ComboboxOptionSkeleton.displayName = COMPONENT_NAME$1a;
|
|
9782
9886
|
ComboboxOptionSkeleton.className = CLASSNAME$18;
|
|
9783
9887
|
|
|
9888
|
+
const DEFAULT_COMBOBOX_POPOVER_MAX_HEIGHT = '80vh';
|
|
9889
|
+
|
|
9784
9890
|
const COMPONENT_NAME$19 = 'ComboboxPopover';
|
|
9785
9891
|
|
|
9786
9892
|
/**
|
|
@@ -9822,6 +9928,7 @@ const ComboboxPopover$1 = (props, {
|
|
|
9822
9928
|
closeOnEscape = false,
|
|
9823
9929
|
fitToAnchorWidth = true,
|
|
9824
9930
|
isOpen,
|
|
9931
|
+
maxHeight = DEFAULT_COMBOBOX_POPOVER_MAX_HEIGHT,
|
|
9825
9932
|
placement = 'bottom-start',
|
|
9826
9933
|
anchorRef,
|
|
9827
9934
|
handleClose,
|
|
@@ -9831,6 +9938,7 @@ const ComboboxPopover$1 = (props, {
|
|
|
9831
9938
|
...forwardedProps,
|
|
9832
9939
|
placement: placement,
|
|
9833
9940
|
fitToAnchorWidth: fitToAnchorWidth,
|
|
9941
|
+
maxHeight: maxHeight,
|
|
9834
9942
|
className: block$S([className]),
|
|
9835
9943
|
anchorRef: anchorRef,
|
|
9836
9944
|
isOpen: isOpen,
|
|
@@ -10060,7 +10168,7 @@ const {
|
|
|
10060
10168
|
/**
|
|
10061
10169
|
* Component default props.
|
|
10062
10170
|
*/
|
|
10063
|
-
const DEFAULT_PROPS$
|
|
10171
|
+
const DEFAULT_PROPS$X = {};
|
|
10064
10172
|
|
|
10065
10173
|
/**
|
|
10066
10174
|
* ListSection component.
|
|
@@ -10104,7 +10212,7 @@ const ListSection$1 = props => {
|
|
|
10104
10212
|
};
|
|
10105
10213
|
ListSection$1.displayName = COMPONENT_NAME$16;
|
|
10106
10214
|
ListSection$1.className = CLASSNAME$14;
|
|
10107
|
-
ListSection$1.defaultProps = DEFAULT_PROPS$
|
|
10215
|
+
ListSection$1.defaultProps = DEFAULT_PROPS$X;
|
|
10108
10216
|
|
|
10109
10217
|
/**
|
|
10110
10218
|
* Defines the props of the component.
|
|
@@ -10128,7 +10236,7 @@ const ListSection = forwardRef((props, ref) => {
|
|
|
10128
10236
|
});
|
|
10129
10237
|
ListSection.displayName = COMPONENT_NAME$16;
|
|
10130
10238
|
ListSection.className = CLASSNAME$14;
|
|
10131
|
-
ListSection.defaultProps = DEFAULT_PROPS$
|
|
10239
|
+
ListSection.defaultProps = DEFAULT_PROPS$X;
|
|
10132
10240
|
|
|
10133
10241
|
/**
|
|
10134
10242
|
* Props for Combobox.Section component.
|
|
@@ -10377,7 +10485,7 @@ const {
|
|
|
10377
10485
|
/**
|
|
10378
10486
|
* Component default props.
|
|
10379
10487
|
*/
|
|
10380
|
-
const DEFAULT_PROPS$
|
|
10488
|
+
const DEFAULT_PROPS$W = {
|
|
10381
10489
|
gap: Size.big,
|
|
10382
10490
|
orientation: Orientation.horizontal
|
|
10383
10491
|
};
|
|
@@ -10401,10 +10509,10 @@ const GenericBlock$1 = props => {
|
|
|
10401
10509
|
children,
|
|
10402
10510
|
actions,
|
|
10403
10511
|
actionsProps,
|
|
10404
|
-
gap = DEFAULT_PROPS$
|
|
10512
|
+
gap = DEFAULT_PROPS$W.gap,
|
|
10405
10513
|
ref,
|
|
10406
10514
|
content,
|
|
10407
|
-
orientation = DEFAULT_PROPS$
|
|
10515
|
+
orientation = DEFAULT_PROPS$W.orientation,
|
|
10408
10516
|
contentProps,
|
|
10409
10517
|
FlexBox,
|
|
10410
10518
|
...forwardedProps
|
|
@@ -10516,7 +10624,7 @@ const BaseGenericBlock = forwardRef((props, ref) => {
|
|
|
10516
10624
|
});
|
|
10517
10625
|
BaseGenericBlock.displayName = COMPONENT_NAME$14;
|
|
10518
10626
|
BaseGenericBlock.className = CLASSNAME$12;
|
|
10519
|
-
BaseGenericBlock.defaultProps = DEFAULT_PROPS$
|
|
10627
|
+
BaseGenericBlock.defaultProps = DEFAULT_PROPS$W;
|
|
10520
10628
|
const GenericBlock = Object.assign(BaseGenericBlock, {
|
|
10521
10629
|
Figure,
|
|
10522
10630
|
Content,
|
|
@@ -10610,7 +10718,7 @@ const CLASSNAME$11 = 'lumx-list-divider';
|
|
|
10610
10718
|
/**
|
|
10611
10719
|
* Component default props.
|
|
10612
10720
|
*/
|
|
10613
|
-
const DEFAULT_PROPS$
|
|
10721
|
+
const DEFAULT_PROPS$V = {};
|
|
10614
10722
|
|
|
10615
10723
|
/**
|
|
10616
10724
|
* ListDivider component.
|
|
@@ -10634,7 +10742,7 @@ const ListDivider$1 = props => {
|
|
|
10634
10742
|
};
|
|
10635
10743
|
ListDivider$1.displayName = COMPONENT_NAME$13;
|
|
10636
10744
|
ListDivider$1.className = CLASSNAME$11;
|
|
10637
|
-
ListDivider$1.defaultProps = DEFAULT_PROPS$
|
|
10745
|
+
ListDivider$1.defaultProps = DEFAULT_PROPS$V;
|
|
10638
10746
|
|
|
10639
10747
|
/**
|
|
10640
10748
|
* Defines the props of the component.
|
|
@@ -10656,7 +10764,7 @@ const ListDivider = forwardRef((props, ref) => {
|
|
|
10656
10764
|
});
|
|
10657
10765
|
ListDivider.displayName = COMPONENT_NAME$13;
|
|
10658
10766
|
ListDivider.className = CLASSNAME$11;
|
|
10659
|
-
ListDivider.defaultProps = DEFAULT_PROPS$
|
|
10767
|
+
ListDivider.defaultProps = DEFAULT_PROPS$V;
|
|
10660
10768
|
|
|
10661
10769
|
/**
|
|
10662
10770
|
* Combobox compound component namespace.
|
|
@@ -10719,7 +10827,7 @@ const {
|
|
|
10719
10827
|
/**
|
|
10720
10828
|
* Component default props.
|
|
10721
10829
|
*/
|
|
10722
|
-
const DEFAULT_PROPS$
|
|
10830
|
+
const DEFAULT_PROPS$U = {
|
|
10723
10831
|
variant: CommentBlockVariant.indented
|
|
10724
10832
|
};
|
|
10725
10833
|
|
|
@@ -10749,7 +10857,7 @@ const CommentBlock = forwardRef((props, ref) => {
|
|
|
10749
10857
|
onMouseLeave,
|
|
10750
10858
|
text,
|
|
10751
10859
|
theme = defaultTheme,
|
|
10752
|
-
variant = DEFAULT_PROPS$
|
|
10860
|
+
variant = DEFAULT_PROPS$U.variant,
|
|
10753
10861
|
...forwardedProps
|
|
10754
10862
|
} = props;
|
|
10755
10863
|
const hasChildren = Children.count(children) > 0;
|
|
@@ -10818,7 +10926,7 @@ const CommentBlock = forwardRef((props, ref) => {
|
|
|
10818
10926
|
});
|
|
10819
10927
|
CommentBlock.displayName = COMPONENT_NAME$12;
|
|
10820
10928
|
CommentBlock.className = CLASSNAME$10;
|
|
10821
|
-
CommentBlock.defaultProps = DEFAULT_PROPS$
|
|
10929
|
+
CommentBlock.defaultProps = DEFAULT_PROPS$U;
|
|
10822
10930
|
|
|
10823
10931
|
/**
|
|
10824
10932
|
* Add a number of months from a date while resetting the day to prevent month length mismatches.
|
|
@@ -11721,7 +11829,7 @@ const {
|
|
|
11721
11829
|
/**
|
|
11722
11830
|
* Component default props.
|
|
11723
11831
|
*/
|
|
11724
|
-
const DEFAULT_PROPS$
|
|
11832
|
+
const DEFAULT_PROPS$T = {
|
|
11725
11833
|
size: Size.big
|
|
11726
11834
|
};
|
|
11727
11835
|
|
|
@@ -11744,7 +11852,7 @@ const Dialog$1 = props => {
|
|
|
11744
11852
|
isOpen,
|
|
11745
11853
|
handleClose,
|
|
11746
11854
|
contentRef,
|
|
11747
|
-
size = DEFAULT_PROPS$
|
|
11855
|
+
size = DEFAULT_PROPS$T.size,
|
|
11748
11856
|
zIndex,
|
|
11749
11857
|
dialogProps,
|
|
11750
11858
|
headerChildContent,
|
|
@@ -11848,7 +11956,7 @@ const isFooter$1 = isComponent('footer');
|
|
|
11848
11956
|
/**
|
|
11849
11957
|
* Component default props.
|
|
11850
11958
|
*/
|
|
11851
|
-
const DEFAULT_PROPS$
|
|
11959
|
+
const DEFAULT_PROPS$S = {
|
|
11852
11960
|
closeMode: 'unmount',
|
|
11853
11961
|
size: Size$1.big,
|
|
11854
11962
|
disableBodyScroll: true
|
|
@@ -11869,7 +11977,7 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
11869
11977
|
const {
|
|
11870
11978
|
children,
|
|
11871
11979
|
className,
|
|
11872
|
-
closeMode = DEFAULT_PROPS$
|
|
11980
|
+
closeMode = DEFAULT_PROPS$S.closeMode,
|
|
11873
11981
|
header,
|
|
11874
11982
|
focusElement,
|
|
11875
11983
|
forceFooterDivider,
|
|
@@ -11881,11 +11989,11 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
11881
11989
|
parentElement,
|
|
11882
11990
|
contentRef,
|
|
11883
11991
|
preventAutoClose,
|
|
11884
|
-
size = DEFAULT_PROPS$
|
|
11992
|
+
size = DEFAULT_PROPS$S.size,
|
|
11885
11993
|
zIndex,
|
|
11886
11994
|
dialogProps,
|
|
11887
11995
|
onVisibilityChange,
|
|
11888
|
-
disableBodyScroll = DEFAULT_PROPS$
|
|
11996
|
+
disableBodyScroll = DEFAULT_PROPS$S.disableBodyScroll,
|
|
11889
11997
|
preventCloseOnClick,
|
|
11890
11998
|
preventCloseOnEscape,
|
|
11891
11999
|
...forwardedProps
|
|
@@ -11991,7 +12099,7 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
11991
12099
|
});
|
|
11992
12100
|
Dialog.displayName = COMPONENT_NAME$_;
|
|
11993
12101
|
Dialog.className = CLASSNAME$_;
|
|
11994
|
-
Dialog.defaultProps = DEFAULT_PROPS$
|
|
12102
|
+
Dialog.defaultProps = DEFAULT_PROPS$S;
|
|
11995
12103
|
|
|
11996
12104
|
/**
|
|
11997
12105
|
* Component display name.
|
|
@@ -12035,7 +12143,7 @@ const Divider$1 = props => {
|
|
|
12035
12143
|
/**
|
|
12036
12144
|
* Component default props.
|
|
12037
12145
|
*/
|
|
12038
|
-
const DEFAULT_PROPS$
|
|
12146
|
+
const DEFAULT_PROPS$R = {};
|
|
12039
12147
|
|
|
12040
12148
|
/**
|
|
12041
12149
|
* Divider component.
|
|
@@ -12058,7 +12166,7 @@ const Divider = forwardRef((props, ref) => {
|
|
|
12058
12166
|
});
|
|
12059
12167
|
Divider.displayName = COMPONENT_NAME$Z;
|
|
12060
12168
|
Divider.className = CLASSNAME$Z;
|
|
12061
|
-
Divider.defaultProps = DEFAULT_PROPS$
|
|
12169
|
+
Divider.defaultProps = DEFAULT_PROPS$R;
|
|
12062
12170
|
|
|
12063
12171
|
/**
|
|
12064
12172
|
* Component display name.
|
|
@@ -12107,7 +12215,7 @@ const DragHandle$1 = props => {
|
|
|
12107
12215
|
/**
|
|
12108
12216
|
* Component default props.
|
|
12109
12217
|
*/
|
|
12110
|
-
const DEFAULT_PROPS$
|
|
12218
|
+
const DEFAULT_PROPS$Q = {};
|
|
12111
12219
|
|
|
12112
12220
|
/**
|
|
12113
12221
|
* DragHandle component.
|
|
@@ -12130,7 +12238,7 @@ const DragHandle = forwardRef((props, ref) => {
|
|
|
12130
12238
|
});
|
|
12131
12239
|
DragHandle.displayName = COMPONENT_NAME$Y;
|
|
12132
12240
|
DragHandle.className = CLASSNAME$Y;
|
|
12133
|
-
DragHandle.defaultProps = DEFAULT_PROPS$
|
|
12241
|
+
DragHandle.defaultProps = DEFAULT_PROPS$Q;
|
|
12134
12242
|
|
|
12135
12243
|
const INITIAL_INDEX = -1;
|
|
12136
12244
|
|
|
@@ -12326,7 +12434,7 @@ const InternalList = forwardRef((props, ref) => {
|
|
|
12326
12434
|
});
|
|
12327
12435
|
InternalList.displayName = COMPONENT_NAME$1j;
|
|
12328
12436
|
InternalList.className = CLASSNAME$1h;
|
|
12329
|
-
InternalList.defaultProps = DEFAULT_PROPS
|
|
12437
|
+
InternalList.defaultProps = DEFAULT_PROPS$$;
|
|
12330
12438
|
const List = Object.assign(InternalList, {
|
|
12331
12439
|
useKeyboardListNavigation
|
|
12332
12440
|
});
|
|
@@ -12389,7 +12497,7 @@ const {
|
|
|
12389
12497
|
/**
|
|
12390
12498
|
* Component default props.
|
|
12391
12499
|
*/
|
|
12392
|
-
const DEFAULT_PROPS$
|
|
12500
|
+
const DEFAULT_PROPS$P = {
|
|
12393
12501
|
closeOnClick: true,
|
|
12394
12502
|
closeOnClickAway: true,
|
|
12395
12503
|
closeOnEscape: true,
|
|
@@ -12403,6 +12511,7 @@ const DEFAULT_PROPS$O = {
|
|
|
12403
12511
|
/**
|
|
12404
12512
|
* Dropdown component.
|
|
12405
12513
|
*
|
|
12514
|
+
* @deprecated Use `MenuButton` for action-based dropdowns, `SelectButton` for selection-based dropdowns, or `Popover` for lower-level control.
|
|
12406
12515
|
* @param props Component props.
|
|
12407
12516
|
* @param ref Component ref.
|
|
12408
12517
|
* @return React element.
|
|
@@ -12412,18 +12521,18 @@ const Dropdown = forwardRef((props, ref) => {
|
|
|
12412
12521
|
anchorRef,
|
|
12413
12522
|
children,
|
|
12414
12523
|
className,
|
|
12415
|
-
closeOnClick = DEFAULT_PROPS$
|
|
12416
|
-
closeOnClickAway = DEFAULT_PROPS$
|
|
12417
|
-
closeOnEscape = DEFAULT_PROPS$
|
|
12418
|
-
fitToAnchorWidth = DEFAULT_PROPS$
|
|
12419
|
-
fitWithinViewportHeight = DEFAULT_PROPS$
|
|
12524
|
+
closeOnClick = DEFAULT_PROPS$P.closeOnClick,
|
|
12525
|
+
closeOnClickAway = DEFAULT_PROPS$P.closeOnClickAway,
|
|
12526
|
+
closeOnEscape = DEFAULT_PROPS$P.closeOnEscape,
|
|
12527
|
+
fitToAnchorWidth = DEFAULT_PROPS$P.fitToAnchorWidth,
|
|
12528
|
+
fitWithinViewportHeight = DEFAULT_PROPS$P.fitWithinViewportHeight,
|
|
12420
12529
|
isOpen,
|
|
12421
12530
|
offset,
|
|
12422
|
-
focusAnchorOnClose = DEFAULT_PROPS$
|
|
12531
|
+
focusAnchorOnClose = DEFAULT_PROPS$P.focusAnchorOnClose,
|
|
12423
12532
|
onClose,
|
|
12424
12533
|
onInfiniteScroll,
|
|
12425
|
-
placement = DEFAULT_PROPS$
|
|
12426
|
-
shouldFocusOnOpen = DEFAULT_PROPS$
|
|
12534
|
+
placement = DEFAULT_PROPS$P.placement,
|
|
12535
|
+
shouldFocusOnOpen = DEFAULT_PROPS$P.shouldFocusOnOpen,
|
|
12427
12536
|
zIndex,
|
|
12428
12537
|
...forwardedProps
|
|
12429
12538
|
} = props;
|
|
@@ -12469,7 +12578,7 @@ const Dropdown = forwardRef((props, ref) => {
|
|
|
12469
12578
|
});
|
|
12470
12579
|
Dropdown.displayName = COMPONENT_NAME$X;
|
|
12471
12580
|
Dropdown.className = CLASSNAME$X;
|
|
12472
|
-
Dropdown.defaultProps = DEFAULT_PROPS$
|
|
12581
|
+
Dropdown.defaultProps = DEFAULT_PROPS$P;
|
|
12473
12582
|
|
|
12474
12583
|
/**
|
|
12475
12584
|
* Component display name.
|
|
@@ -12488,7 +12597,7 @@ const {
|
|
|
12488
12597
|
/**
|
|
12489
12598
|
* Component default props.
|
|
12490
12599
|
*/
|
|
12491
|
-
const DEFAULT_PROPS$
|
|
12600
|
+
const DEFAULT_PROPS$O = {
|
|
12492
12601
|
closeMode: 'unmount'
|
|
12493
12602
|
};
|
|
12494
12603
|
|
|
@@ -12601,7 +12710,7 @@ const isFooter = isComponent('footer');
|
|
|
12601
12710
|
const ExpansionPanel = forwardRef((props, ref) => {
|
|
12602
12711
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
12603
12712
|
const {
|
|
12604
|
-
closeMode = DEFAULT_PROPS$
|
|
12713
|
+
closeMode = DEFAULT_PROPS$O.closeMode,
|
|
12605
12714
|
children: anyChildren,
|
|
12606
12715
|
isOpen,
|
|
12607
12716
|
label,
|
|
@@ -12674,11 +12783,11 @@ const ExpansionPanel = forwardRef((props, ref) => {
|
|
|
12674
12783
|
});
|
|
12675
12784
|
ExpansionPanel.displayName = COMPONENT_NAME$W;
|
|
12676
12785
|
ExpansionPanel.className = CLASSNAME$W;
|
|
12677
|
-
ExpansionPanel.defaultProps = DEFAULT_PROPS$
|
|
12786
|
+
ExpansionPanel.defaultProps = DEFAULT_PROPS$O;
|
|
12678
12787
|
|
|
12679
12788
|
const COMPONENT_NAME$V = 'Flag';
|
|
12680
12789
|
const CLASSNAME$V = 'lumx-flag';
|
|
12681
|
-
const DEFAULT_PROPS$
|
|
12790
|
+
const DEFAULT_PROPS$N = {};
|
|
12682
12791
|
const {
|
|
12683
12792
|
block: block$H,
|
|
12684
12793
|
element: element$y
|
|
@@ -12742,7 +12851,7 @@ const Flag = forwardRef((props, ref) => {
|
|
|
12742
12851
|
});
|
|
12743
12852
|
Flag.displayName = COMPONENT_NAME$V;
|
|
12744
12853
|
Flag.className = CLASSNAME$V;
|
|
12745
|
-
Flag.defaultProps = DEFAULT_PROPS$
|
|
12854
|
+
Flag.defaultProps = DEFAULT_PROPS$N;
|
|
12746
12855
|
|
|
12747
12856
|
/** The maximum authorized heading level. */
|
|
12748
12857
|
const MAX_HEADING_LEVEL = 6;
|
|
@@ -12780,7 +12889,7 @@ const CLASSNAME$U = 'lumx-heading';
|
|
|
12780
12889
|
/**
|
|
12781
12890
|
* Component default props.
|
|
12782
12891
|
*/
|
|
12783
|
-
const DEFAULT_PROPS$
|
|
12892
|
+
const DEFAULT_PROPS$M = {};
|
|
12784
12893
|
|
|
12785
12894
|
/**
|
|
12786
12895
|
* Get Heading component common props
|
|
@@ -12840,7 +12949,7 @@ const Heading = forwardRef((props, ref) => {
|
|
|
12840
12949
|
});
|
|
12841
12950
|
Heading.displayName = COMPONENT_NAME$U;
|
|
12842
12951
|
Heading.className = CLASSNAME$U;
|
|
12843
|
-
Heading.defaultProps = DEFAULT_PROPS$
|
|
12952
|
+
Heading.defaultProps = DEFAULT_PROPS$M;
|
|
12844
12953
|
|
|
12845
12954
|
/**
|
|
12846
12955
|
* Computes the next heading level based on the optional prop level or the parent context level.
|
|
@@ -12891,7 +13000,7 @@ const {
|
|
|
12891
13000
|
/**
|
|
12892
13001
|
* Component default props.
|
|
12893
13002
|
*/
|
|
12894
|
-
const DEFAULT_PROPS$
|
|
13003
|
+
const DEFAULT_PROPS$L = {
|
|
12895
13004
|
orientation: Orientation$1.horizontal,
|
|
12896
13005
|
wrap: 'nowrap'
|
|
12897
13006
|
};
|
|
@@ -12909,9 +13018,9 @@ const Grid = forwardRef((props, ref) => {
|
|
|
12909
13018
|
className,
|
|
12910
13019
|
gutter,
|
|
12911
13020
|
hAlign,
|
|
12912
|
-
orientation = DEFAULT_PROPS$
|
|
13021
|
+
orientation = DEFAULT_PROPS$L.orientation,
|
|
12913
13022
|
vAlign,
|
|
12914
|
-
wrap = DEFAULT_PROPS$
|
|
13023
|
+
wrap = DEFAULT_PROPS$L.wrap,
|
|
12915
13024
|
...forwardedProps
|
|
12916
13025
|
} = props;
|
|
12917
13026
|
return /*#__PURE__*/jsx("div", {
|
|
@@ -12929,7 +13038,7 @@ const Grid = forwardRef((props, ref) => {
|
|
|
12929
13038
|
});
|
|
12930
13039
|
Grid.displayName = COMPONENT_NAME$T;
|
|
12931
13040
|
Grid.className = CLASSNAME$T;
|
|
12932
|
-
Grid.defaultProps = DEFAULT_PROPS$
|
|
13041
|
+
Grid.defaultProps = DEFAULT_PROPS$L;
|
|
12933
13042
|
|
|
12934
13043
|
/**
|
|
12935
13044
|
* Component display name.
|
|
@@ -12987,7 +13096,7 @@ const CLASSNAME$R = 'lumx-grid-column';
|
|
|
12987
13096
|
/**
|
|
12988
13097
|
* Component default props.
|
|
12989
13098
|
*/
|
|
12990
|
-
const DEFAULT_PROPS$
|
|
13099
|
+
const DEFAULT_PROPS$K = {};
|
|
12991
13100
|
|
|
12992
13101
|
/**
|
|
12993
13102
|
* The GridColumn is a layout component that can display children in a grid
|
|
@@ -13024,7 +13133,7 @@ const GridColumn$1 = props => {
|
|
|
13024
13133
|
};
|
|
13025
13134
|
GridColumn$1.displayName = COMPONENT_NAME$R;
|
|
13026
13135
|
GridColumn$1.className = CLASSNAME$R;
|
|
13027
|
-
GridColumn$1.defaultProps = DEFAULT_PROPS$
|
|
13136
|
+
GridColumn$1.defaultProps = DEFAULT_PROPS$K;
|
|
13028
13137
|
|
|
13029
13138
|
/**
|
|
13030
13139
|
* Defines the props of the component.
|
|
@@ -13035,7 +13144,7 @@ GridColumn$1.defaultProps = DEFAULT_PROPS$J;
|
|
|
13035
13144
|
/**
|
|
13036
13145
|
* Component default props.
|
|
13037
13146
|
*/
|
|
13038
|
-
const DEFAULT_PROPS$
|
|
13147
|
+
const DEFAULT_PROPS$J = {};
|
|
13039
13148
|
|
|
13040
13149
|
/**
|
|
13041
13150
|
* The GridColumn is a layout component that can display children in a grid
|
|
@@ -13054,7 +13163,7 @@ const GridColumn = forwardRef((props, ref) => {
|
|
|
13054
13163
|
});
|
|
13055
13164
|
GridColumn.displayName = COMPONENT_NAME$R;
|
|
13056
13165
|
GridColumn.className = CLASSNAME$R;
|
|
13057
|
-
GridColumn.defaultProps = DEFAULT_PROPS$
|
|
13166
|
+
GridColumn.defaultProps = DEFAULT_PROPS$J;
|
|
13058
13167
|
|
|
13059
13168
|
/**
|
|
13060
13169
|
* Image block variants.
|
|
@@ -13089,7 +13198,7 @@ const {
|
|
|
13089
13198
|
/**
|
|
13090
13199
|
* Component default props.
|
|
13091
13200
|
*/
|
|
13092
|
-
const DEFAULT_PROPS$
|
|
13201
|
+
const DEFAULT_PROPS$I = {
|
|
13093
13202
|
captionPosition: ImageBlockCaptionPosition.below,
|
|
13094
13203
|
align: Alignment.left
|
|
13095
13204
|
};
|
|
@@ -13104,9 +13213,9 @@ const DEFAULT_PROPS$H = {
|
|
|
13104
13213
|
const ImageBlock$1 = props => {
|
|
13105
13214
|
const {
|
|
13106
13215
|
actions,
|
|
13107
|
-
align = DEFAULT_PROPS$
|
|
13216
|
+
align = DEFAULT_PROPS$I.align,
|
|
13108
13217
|
alt,
|
|
13109
|
-
captionPosition = DEFAULT_PROPS$
|
|
13218
|
+
captionPosition = DEFAULT_PROPS$I.captionPosition,
|
|
13110
13219
|
captionStyle,
|
|
13111
13220
|
className,
|
|
13112
13221
|
description,
|
|
@@ -13278,7 +13387,7 @@ const ImageBlock = forwardRef((props, ref) => {
|
|
|
13278
13387
|
});
|
|
13279
13388
|
ImageBlock.displayName = COMPONENT_NAME$Q;
|
|
13280
13389
|
ImageBlock.className = CLASSNAME$Q;
|
|
13281
|
-
ImageBlock.defaultProps = DEFAULT_PROPS$
|
|
13390
|
+
ImageBlock.defaultProps = DEFAULT_PROPS$I;
|
|
13282
13391
|
|
|
13283
13392
|
/**
|
|
13284
13393
|
* Component display name.
|
|
@@ -14032,7 +14141,7 @@ const {
|
|
|
14032
14141
|
/**
|
|
14033
14142
|
* Component default props.
|
|
14034
14143
|
*/
|
|
14035
|
-
const DEFAULT_PROPS$
|
|
14144
|
+
const DEFAULT_PROPS$H = {};
|
|
14036
14145
|
|
|
14037
14146
|
/**
|
|
14038
14147
|
* InlineList component.
|
|
@@ -14081,7 +14190,7 @@ const InlineList$1 = props => {
|
|
|
14081
14190
|
};
|
|
14082
14191
|
InlineList$1.displayName = COMPONENT_NAME$O;
|
|
14083
14192
|
InlineList$1.className = CLASSNAME$O;
|
|
14084
|
-
InlineList$1.defaultProps = DEFAULT_PROPS$
|
|
14193
|
+
InlineList$1.defaultProps = DEFAULT_PROPS$H;
|
|
14085
14194
|
|
|
14086
14195
|
/**
|
|
14087
14196
|
* Defines the props of the component.
|
|
@@ -14107,7 +14216,7 @@ const InlineList = forwardRef((props, ref) => {
|
|
|
14107
14216
|
});
|
|
14108
14217
|
InlineList.displayName = COMPONENT_NAME$O;
|
|
14109
14218
|
InlineList.className = CLASSNAME$O;
|
|
14110
|
-
InlineList.defaultProps = DEFAULT_PROPS$
|
|
14219
|
+
InlineList.defaultProps = DEFAULT_PROPS$H;
|
|
14111
14220
|
|
|
14112
14221
|
/**
|
|
14113
14222
|
* InputHelper component.
|
|
@@ -14466,7 +14575,7 @@ const {
|
|
|
14466
14575
|
/**
|
|
14467
14576
|
* Component default props.
|
|
14468
14577
|
*/
|
|
14469
|
-
const DEFAULT_PROPS$
|
|
14578
|
+
const DEFAULT_PROPS$G = {
|
|
14470
14579
|
size: Size.regular,
|
|
14471
14580
|
titleHeading: 'h2'
|
|
14472
14581
|
};
|
|
@@ -14485,7 +14594,7 @@ const LinkPreview$1 = props => {
|
|
|
14485
14594
|
link,
|
|
14486
14595
|
linkAs,
|
|
14487
14596
|
linkProps,
|
|
14488
|
-
size = DEFAULT_PROPS$
|
|
14597
|
+
size = DEFAULT_PROPS$G.size,
|
|
14489
14598
|
theme,
|
|
14490
14599
|
thumbnailProps,
|
|
14491
14600
|
ref,
|
|
@@ -14573,7 +14682,7 @@ const LinkPreview = forwardRef((props, ref) => {
|
|
|
14573
14682
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
14574
14683
|
const {
|
|
14575
14684
|
theme = defaultTheme,
|
|
14576
|
-
titleHeading = DEFAULT_PROPS$
|
|
14685
|
+
titleHeading = DEFAULT_PROPS$G.titleHeading,
|
|
14577
14686
|
...forwardedProps
|
|
14578
14687
|
} = props;
|
|
14579
14688
|
// Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
|
|
@@ -14589,7 +14698,7 @@ const LinkPreview = forwardRef((props, ref) => {
|
|
|
14589
14698
|
});
|
|
14590
14699
|
LinkPreview.displayName = COMPONENT_NAME$L;
|
|
14591
14700
|
LinkPreview.className = CLASSNAME$L;
|
|
14592
|
-
LinkPreview.defaultProps = DEFAULT_PROPS$
|
|
14701
|
+
LinkPreview.defaultProps = DEFAULT_PROPS$G;
|
|
14593
14702
|
|
|
14594
14703
|
/**
|
|
14595
14704
|
* ListItem.Action props.
|
|
@@ -14622,7 +14731,7 @@ const ListItemAction = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
14622
14731
|
}), {
|
|
14623
14732
|
displayName: COMPONENT_NAME$1g,
|
|
14624
14733
|
className: CLASSNAME$1e,
|
|
14625
|
-
defaultProps: DEFAULT_PROPS$
|
|
14734
|
+
defaultProps: DEFAULT_PROPS$Z
|
|
14626
14735
|
});
|
|
14627
14736
|
|
|
14628
14737
|
/**
|
|
@@ -14662,7 +14771,7 @@ const _ListItem = forwardRef((props, ref) => {
|
|
|
14662
14771
|
});
|
|
14663
14772
|
_ListItem.displayName = COMPONENT_NAME$1h;
|
|
14664
14773
|
_ListItem.className = CLASSNAME$1f;
|
|
14665
|
-
_ListItem.defaultProps = DEFAULT_PROPS$
|
|
14774
|
+
_ListItem.defaultProps = DEFAULT_PROPS$_;
|
|
14666
14775
|
|
|
14667
14776
|
/**
|
|
14668
14777
|
* ListItem component with Action sub-component.
|
|
@@ -14706,7 +14815,7 @@ const ListSubheader = forwardRef((props, ref) => {
|
|
|
14706
14815
|
ListSubheader.displayName = COMPONENT_NAME$K;
|
|
14707
14816
|
ListSubheader.className = CLASSNAME$K;
|
|
14708
14817
|
|
|
14709
|
-
const DEFAULT_PROPS$
|
|
14818
|
+
const DEFAULT_PROPS$F = {
|
|
14710
14819
|
variant: 'button'
|
|
14711
14820
|
};
|
|
14712
14821
|
|
|
@@ -15417,7 +15526,7 @@ const MenuButton = forwardRef((props, ref) => {
|
|
|
15417
15526
|
children,
|
|
15418
15527
|
popoverProps,
|
|
15419
15528
|
onOpen,
|
|
15420
|
-
variant = DEFAULT_PROPS$
|
|
15529
|
+
variant = DEFAULT_PROPS$F.variant,
|
|
15421
15530
|
...triggerProps
|
|
15422
15531
|
} = props;
|
|
15423
15532
|
return MenuButton$1({
|
|
@@ -15439,7 +15548,7 @@ const MenuButton = forwardRef((props, ref) => {
|
|
|
15439
15548
|
});
|
|
15440
15549
|
});
|
|
15441
15550
|
MenuButton.displayName = COMPONENT_NAME$J;
|
|
15442
|
-
MenuButton.defaultProps = DEFAULT_PROPS$
|
|
15551
|
+
MenuButton.defaultProps = DEFAULT_PROPS$F;
|
|
15443
15552
|
|
|
15444
15553
|
/** MenuItem props. */
|
|
15445
15554
|
|
|
@@ -15686,7 +15795,7 @@ const {
|
|
|
15686
15795
|
/**
|
|
15687
15796
|
* Component default props.
|
|
15688
15797
|
*/
|
|
15689
|
-
const DEFAULT_PROPS$
|
|
15798
|
+
const DEFAULT_PROPS$E = {};
|
|
15690
15799
|
|
|
15691
15800
|
/**
|
|
15692
15801
|
* Mosaic component.
|
|
@@ -15781,7 +15890,7 @@ const Mosaic = forwardRef((props, ref) => {
|
|
|
15781
15890
|
});
|
|
15782
15891
|
Mosaic.displayName = COMPONENT_NAME$D;
|
|
15783
15892
|
Mosaic.className = CLASSNAME$E;
|
|
15784
|
-
Mosaic.defaultProps = DEFAULT_PROPS$
|
|
15893
|
+
Mosaic.defaultProps = DEFAULT_PROPS$E;
|
|
15785
15894
|
|
|
15786
15895
|
const NavigationContext = /*#__PURE__*/createContext({
|
|
15787
15896
|
orientation: Orientation$1.vertical
|
|
@@ -15979,7 +16088,7 @@ const {
|
|
|
15979
16088
|
/**
|
|
15980
16089
|
* Component default props
|
|
15981
16090
|
*/
|
|
15982
|
-
const DEFAULT_PROPS$
|
|
16091
|
+
const DEFAULT_PROPS$D = {
|
|
15983
16092
|
orientation: Orientation$1.vertical
|
|
15984
16093
|
};
|
|
15985
16094
|
const Navigation = forwardRef((props, ref) => {
|
|
@@ -15988,7 +16097,7 @@ const Navigation = forwardRef((props, ref) => {
|
|
|
15988
16097
|
children,
|
|
15989
16098
|
className,
|
|
15990
16099
|
theme = defaultTheme,
|
|
15991
|
-
orientation = DEFAULT_PROPS$
|
|
16100
|
+
orientation = DEFAULT_PROPS$D.orientation,
|
|
15992
16101
|
...forwardedProps
|
|
15993
16102
|
} = props;
|
|
15994
16103
|
return /*#__PURE__*/jsx(ThemeProvider, {
|
|
@@ -16014,7 +16123,7 @@ const Navigation = forwardRef((props, ref) => {
|
|
|
16014
16123
|
});
|
|
16015
16124
|
Navigation.displayName = COMPONENT_NAME$B;
|
|
16016
16125
|
Navigation.className = CLASSNAME$C;
|
|
16017
|
-
Navigation.defaultProps = DEFAULT_PROPS$
|
|
16126
|
+
Navigation.defaultProps = DEFAULT_PROPS$D;
|
|
16018
16127
|
|
|
16019
16128
|
// Sub components
|
|
16020
16129
|
Navigation.Section = NavigationSection;
|
|
@@ -16059,7 +16168,7 @@ const {
|
|
|
16059
16168
|
/**
|
|
16060
16169
|
* Component default props.
|
|
16061
16170
|
*/
|
|
16062
|
-
const DEFAULT_PROPS$
|
|
16171
|
+
const DEFAULT_PROPS$C = {
|
|
16063
16172
|
zIndex: 9999,
|
|
16064
16173
|
usePortal: true
|
|
16065
16174
|
};
|
|
@@ -16083,8 +16192,8 @@ const Notification = forwardRef((props, ref) => {
|
|
|
16083
16192
|
onClick,
|
|
16084
16193
|
theme = defaultTheme,
|
|
16085
16194
|
type,
|
|
16086
|
-
zIndex = DEFAULT_PROPS$
|
|
16087
|
-
usePortal = DEFAULT_PROPS$
|
|
16195
|
+
zIndex = DEFAULT_PROPS$C.zIndex,
|
|
16196
|
+
usePortal = DEFAULT_PROPS$C.usePortal,
|
|
16088
16197
|
style,
|
|
16089
16198
|
...forwardedProps
|
|
16090
16199
|
} = props;
|
|
@@ -16149,7 +16258,7 @@ const Notification = forwardRef((props, ref) => {
|
|
|
16149
16258
|
});
|
|
16150
16259
|
Notification.displayName = COMPONENT_NAME$A;
|
|
16151
16260
|
Notification.className = CLASSNAME$B;
|
|
16152
|
-
Notification.defaultProps = DEFAULT_PROPS$
|
|
16261
|
+
Notification.defaultProps = DEFAULT_PROPS$C;
|
|
16153
16262
|
|
|
16154
16263
|
/**
|
|
16155
16264
|
* PopoverDialog props.
|
|
@@ -16169,7 +16278,7 @@ const CLASSNAME$A = 'lumx-popover-dialog';
|
|
|
16169
16278
|
/**
|
|
16170
16279
|
* Component default props.
|
|
16171
16280
|
*/
|
|
16172
|
-
const DEFAULT_PROPS$
|
|
16281
|
+
const DEFAULT_PROPS$B = {};
|
|
16173
16282
|
|
|
16174
16283
|
/**
|
|
16175
16284
|
* PopoverDialog component.
|
|
@@ -16209,7 +16318,7 @@ const PopoverDialog = forwardRef((props, ref) => {
|
|
|
16209
16318
|
});
|
|
16210
16319
|
PopoverDialog.displayName = COMPONENT_NAME$z;
|
|
16211
16320
|
PopoverDialog.className = CLASSNAME$A;
|
|
16212
|
-
PopoverDialog.defaultProps = DEFAULT_PROPS$
|
|
16321
|
+
PopoverDialog.defaultProps = DEFAULT_PROPS$B;
|
|
16213
16322
|
|
|
16214
16323
|
/**
|
|
16215
16324
|
* Component display name.
|
|
@@ -16228,7 +16337,7 @@ const {
|
|
|
16228
16337
|
/**
|
|
16229
16338
|
* Component default props.
|
|
16230
16339
|
*/
|
|
16231
|
-
const DEFAULT_PROPS$
|
|
16340
|
+
const DEFAULT_PROPS$A = {
|
|
16232
16341
|
orientation: Orientation$1.horizontal
|
|
16233
16342
|
};
|
|
16234
16343
|
|
|
@@ -16248,7 +16357,7 @@ const PostBlock = forwardRef((props, ref) => {
|
|
|
16248
16357
|
className,
|
|
16249
16358
|
meta,
|
|
16250
16359
|
onClick,
|
|
16251
|
-
orientation = DEFAULT_PROPS$
|
|
16360
|
+
orientation = DEFAULT_PROPS$A.orientation,
|
|
16252
16361
|
tags,
|
|
16253
16362
|
text,
|
|
16254
16363
|
theme = defaultTheme,
|
|
@@ -16310,7 +16419,7 @@ const PostBlock = forwardRef((props, ref) => {
|
|
|
16310
16419
|
});
|
|
16311
16420
|
PostBlock.displayName = COMPONENT_NAME$y;
|
|
16312
16421
|
PostBlock.className = CLASSNAME$z;
|
|
16313
|
-
PostBlock.defaultProps = DEFAULT_PROPS$
|
|
16422
|
+
PostBlock.defaultProps = DEFAULT_PROPS$A;
|
|
16314
16423
|
|
|
16315
16424
|
/**
|
|
16316
16425
|
* Component display name.
|
|
@@ -16329,7 +16438,7 @@ const {
|
|
|
16329
16438
|
/**
|
|
16330
16439
|
* Component default props.
|
|
16331
16440
|
*/
|
|
16332
|
-
const DEFAULT_PROPS$
|
|
16441
|
+
const DEFAULT_PROPS$z = {};
|
|
16333
16442
|
|
|
16334
16443
|
/**
|
|
16335
16444
|
* ProgressLinear component.
|
|
@@ -16383,7 +16492,7 @@ const ProgressLinear = forwardRef((props, ref) => {
|
|
|
16383
16492
|
});
|
|
16384
16493
|
ProgressLinear.displayName = COMPONENT_NAME$x;
|
|
16385
16494
|
ProgressLinear.className = CLASSNAME$y;
|
|
16386
|
-
ProgressLinear.defaultProps = DEFAULT_PROPS$
|
|
16495
|
+
ProgressLinear.defaultProps = DEFAULT_PROPS$z;
|
|
16387
16496
|
|
|
16388
16497
|
/* eslint-disable react/no-unknown-property */
|
|
16389
16498
|
|
|
@@ -16404,7 +16513,7 @@ const {
|
|
|
16404
16513
|
/**
|
|
16405
16514
|
* Component default props.
|
|
16406
16515
|
*/
|
|
16407
|
-
const DEFAULT_PROPS$
|
|
16516
|
+
const DEFAULT_PROPS$y = {
|
|
16408
16517
|
size: Size.m,
|
|
16409
16518
|
display: 'block'
|
|
16410
16519
|
};
|
|
@@ -16419,8 +16528,8 @@ const ProgressCircular$1 = props => {
|
|
|
16419
16528
|
const {
|
|
16420
16529
|
className,
|
|
16421
16530
|
theme,
|
|
16422
|
-
size = DEFAULT_PROPS$
|
|
16423
|
-
display = DEFAULT_PROPS$
|
|
16531
|
+
size = DEFAULT_PROPS$y.size,
|
|
16532
|
+
display = DEFAULT_PROPS$y.display,
|
|
16424
16533
|
ref,
|
|
16425
16534
|
circleProps,
|
|
16426
16535
|
svgProps,
|
|
@@ -16485,7 +16594,7 @@ const ProgressCircular = forwardRef((props, ref) => {
|
|
|
16485
16594
|
});
|
|
16486
16595
|
ProgressCircular.displayName = COMPONENT_NAME$w;
|
|
16487
16596
|
ProgressCircular.className = CLASSNAME$x;
|
|
16488
|
-
ProgressCircular.defaultProps = DEFAULT_PROPS$
|
|
16597
|
+
ProgressCircular.defaultProps = DEFAULT_PROPS$y;
|
|
16489
16598
|
|
|
16490
16599
|
const ProgressVariant = {
|
|
16491
16600
|
linear: 'linear',
|
|
@@ -16512,7 +16621,7 @@ const {
|
|
|
16512
16621
|
/**
|
|
16513
16622
|
* Component default props.
|
|
16514
16623
|
*/
|
|
16515
|
-
const DEFAULT_PROPS$
|
|
16624
|
+
const DEFAULT_PROPS$x = {
|
|
16516
16625
|
variant: ProgressVariant.circular
|
|
16517
16626
|
};
|
|
16518
16627
|
|
|
@@ -16529,7 +16638,7 @@ const Progress = forwardRef((props, ref) => {
|
|
|
16529
16638
|
const {
|
|
16530
16639
|
className,
|
|
16531
16640
|
theme = defaultTheme,
|
|
16532
|
-
variant = DEFAULT_PROPS$
|
|
16641
|
+
variant = DEFAULT_PROPS$x.variant,
|
|
16533
16642
|
...forwardedProps
|
|
16534
16643
|
} = props;
|
|
16535
16644
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -16548,7 +16657,7 @@ const Progress = forwardRef((props, ref) => {
|
|
|
16548
16657
|
});
|
|
16549
16658
|
Progress.displayName = COMPONENT_NAME$v;
|
|
16550
16659
|
Progress.className = CLASSNAME$w;
|
|
16551
|
-
Progress.defaultProps = DEFAULT_PROPS$
|
|
16660
|
+
Progress.defaultProps = DEFAULT_PROPS$x;
|
|
16552
16661
|
|
|
16553
16662
|
const INIT_STATE = {
|
|
16554
16663
|
isLazy: true,
|
|
@@ -16674,7 +16783,7 @@ const useTabProviderContextState = () => {
|
|
|
16674
16783
|
return context?.[0];
|
|
16675
16784
|
};
|
|
16676
16785
|
|
|
16677
|
-
const DEFAULT_PROPS$
|
|
16786
|
+
const DEFAULT_PROPS$w = {
|
|
16678
16787
|
isLazy: INIT_STATE.isLazy,
|
|
16679
16788
|
shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
|
|
16680
16789
|
};
|
|
@@ -16703,7 +16812,7 @@ const ProgressTrackerProvider = props => {
|
|
|
16703
16812
|
dispatch({
|
|
16704
16813
|
type: 'update',
|
|
16705
16814
|
payload: {
|
|
16706
|
-
...DEFAULT_PROPS$
|
|
16815
|
+
...DEFAULT_PROPS$w,
|
|
16707
16816
|
...propState,
|
|
16708
16817
|
activeTabIndex: propState.activeStepIndex || INIT_STATE.activeTabIndex
|
|
16709
16818
|
}
|
|
@@ -16726,7 +16835,7 @@ const ProgressTrackerProvider = props => {
|
|
|
16726
16835
|
children: children
|
|
16727
16836
|
});
|
|
16728
16837
|
};
|
|
16729
|
-
ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$
|
|
16838
|
+
ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$w;
|
|
16730
16839
|
|
|
16731
16840
|
/**
|
|
16732
16841
|
* Component display name.
|
|
@@ -16745,7 +16854,7 @@ const {
|
|
|
16745
16854
|
/**
|
|
16746
16855
|
* Component default props.
|
|
16747
16856
|
*/
|
|
16748
|
-
const DEFAULT_PROPS$
|
|
16857
|
+
const DEFAULT_PROPS$v = {};
|
|
16749
16858
|
|
|
16750
16859
|
/**
|
|
16751
16860
|
* ProgressTracker component.
|
|
@@ -16799,7 +16908,7 @@ const ProgressTracker = forwardRef((props, ref) => {
|
|
|
16799
16908
|
});
|
|
16800
16909
|
ProgressTracker.displayName = COMPONENT_NAME$u;
|
|
16801
16910
|
ProgressTracker.className = CLASSNAME$v;
|
|
16802
|
-
ProgressTracker.defaultProps = DEFAULT_PROPS$
|
|
16911
|
+
ProgressTracker.defaultProps = DEFAULT_PROPS$v;
|
|
16803
16912
|
|
|
16804
16913
|
/**
|
|
16805
16914
|
* Component display name.
|
|
@@ -16818,7 +16927,7 @@ const {
|
|
|
16818
16927
|
/**
|
|
16819
16928
|
* Component default props.
|
|
16820
16929
|
*/
|
|
16821
|
-
const DEFAULT_PROPS$
|
|
16930
|
+
const DEFAULT_PROPS$u = {};
|
|
16822
16931
|
|
|
16823
16932
|
/**
|
|
16824
16933
|
* ProgressTrackerStep component.
|
|
@@ -16913,7 +17022,7 @@ const ProgressTrackerStep = forwardRef((props, ref) => {
|
|
|
16913
17022
|
});
|
|
16914
17023
|
ProgressTrackerStep.displayName = COMPONENT_NAME$t;
|
|
16915
17024
|
ProgressTrackerStep.className = CLASSNAME$u;
|
|
16916
|
-
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$
|
|
17025
|
+
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$u;
|
|
16917
17026
|
|
|
16918
17027
|
/**
|
|
16919
17028
|
* Component display name.
|
|
@@ -16931,7 +17040,7 @@ const {
|
|
|
16931
17040
|
/**
|
|
16932
17041
|
* Component default props.
|
|
16933
17042
|
*/
|
|
16934
|
-
const DEFAULT_PROPS$
|
|
17043
|
+
const DEFAULT_PROPS$t = {};
|
|
16935
17044
|
|
|
16936
17045
|
/**
|
|
16937
17046
|
* ProgressTrackerStepPanel component.
|
|
@@ -16967,7 +17076,7 @@ const ProgressTrackerStepPanel = forwardRef((props, ref) => {
|
|
|
16967
17076
|
});
|
|
16968
17077
|
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$s;
|
|
16969
17078
|
ProgressTrackerStepPanel.className = CLASSNAME$t;
|
|
16970
|
-
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$
|
|
17079
|
+
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$t;
|
|
16971
17080
|
|
|
16972
17081
|
/**
|
|
16973
17082
|
* Component display name.
|
|
@@ -17070,7 +17179,7 @@ const RadioButton$1 = props => {
|
|
|
17070
17179
|
/**
|
|
17071
17180
|
* Component default props.
|
|
17072
17181
|
*/
|
|
17073
|
-
const DEFAULT_PROPS$
|
|
17182
|
+
const DEFAULT_PROPS$s = {};
|
|
17074
17183
|
|
|
17075
17184
|
/**
|
|
17076
17185
|
* RadioButton component.
|
|
@@ -17126,7 +17235,7 @@ const RadioButton = forwardRef((props, ref) => {
|
|
|
17126
17235
|
});
|
|
17127
17236
|
RadioButton.displayName = COMPONENT_NAME$r;
|
|
17128
17237
|
RadioButton.className = CLASSNAME$s;
|
|
17129
|
-
RadioButton.defaultProps = DEFAULT_PROPS$
|
|
17238
|
+
RadioButton.defaultProps = DEFAULT_PROPS$s;
|
|
17130
17239
|
|
|
17131
17240
|
/**
|
|
17132
17241
|
* Component display name.
|
|
@@ -17141,7 +17250,7 @@ const CLASSNAME$r = 'lumx-radio-group';
|
|
|
17141
17250
|
/**
|
|
17142
17251
|
* Component default props.
|
|
17143
17252
|
*/
|
|
17144
|
-
const DEFAULT_PROPS$
|
|
17253
|
+
const DEFAULT_PROPS$r = {};
|
|
17145
17254
|
|
|
17146
17255
|
/**
|
|
17147
17256
|
* RadioGroup component.
|
|
@@ -17165,7 +17274,7 @@ const RadioGroup$1 = props => {
|
|
|
17165
17274
|
};
|
|
17166
17275
|
RadioGroup$1.displayName = COMPONENT_NAME$q;
|
|
17167
17276
|
RadioGroup$1.className = CLASSNAME$r;
|
|
17168
|
-
RadioGroup$1.defaultProps = DEFAULT_PROPS$
|
|
17277
|
+
RadioGroup$1.defaultProps = DEFAULT_PROPS$r;
|
|
17169
17278
|
|
|
17170
17279
|
/**
|
|
17171
17280
|
* Defines the props of the component.
|
|
@@ -17349,7 +17458,7 @@ const {
|
|
|
17349
17458
|
} = classNames.bem(CLASSNAME$p);
|
|
17350
17459
|
|
|
17351
17460
|
/** The default value of props. */
|
|
17352
|
-
const DEFAULT_PROPS$
|
|
17461
|
+
const DEFAULT_PROPS$q = {
|
|
17353
17462
|
selectedValueRender: choice => choice,
|
|
17354
17463
|
variant: SelectVariant.input
|
|
17355
17464
|
};
|
|
@@ -17473,7 +17582,7 @@ const Select = forwardRef((props, ref) => {
|
|
|
17473
17582
|
const isEmpty$1 = isEmpty(props.value);
|
|
17474
17583
|
const hasInputClear = props.onClear && props.clearButtonProps && !isEmpty$1;
|
|
17475
17584
|
return WithSelectContext(SelectField, {
|
|
17476
|
-
...DEFAULT_PROPS$
|
|
17585
|
+
...DEFAULT_PROPS$q,
|
|
17477
17586
|
...props,
|
|
17478
17587
|
className: classNames.join(props.className, block$j({
|
|
17479
17588
|
'has-input-clear': hasInputClear,
|
|
@@ -17485,7 +17594,7 @@ const Select = forwardRef((props, ref) => {
|
|
|
17485
17594
|
});
|
|
17486
17595
|
Select.displayName = COMPONENT_NAME$p;
|
|
17487
17596
|
Select.className = CLASSNAME$p;
|
|
17488
|
-
Select.defaultProps = DEFAULT_PROPS$
|
|
17597
|
+
Select.defaultProps = DEFAULT_PROPS$q;
|
|
17489
17598
|
Select.className = CLASSNAME$p;
|
|
17490
17599
|
|
|
17491
17600
|
/** The display name of the component. */
|
|
@@ -17499,7 +17608,7 @@ const {
|
|
|
17499
17608
|
} = classNames.bem(CLASSNAME$o);
|
|
17500
17609
|
|
|
17501
17610
|
/** The default value of props. */
|
|
17502
|
-
const DEFAULT_PROPS$
|
|
17611
|
+
const DEFAULT_PROPS$p = {
|
|
17503
17612
|
selectedChipRender(choice, index, onClear, isDisabled, theme) {
|
|
17504
17613
|
const onClick = event => onClear && onClear(event, choice);
|
|
17505
17614
|
return /*#__PURE__*/jsx(Chip, {
|
|
@@ -17628,7 +17737,7 @@ const SelectMultipleField = props => {
|
|
|
17628
17737
|
*/
|
|
17629
17738
|
const SelectMultiple = forwardRef((props, ref) => {
|
|
17630
17739
|
return WithSelectContext(SelectMultipleField, {
|
|
17631
|
-
...DEFAULT_PROPS$
|
|
17740
|
+
...DEFAULT_PROPS$p,
|
|
17632
17741
|
...props,
|
|
17633
17742
|
className: classNames.join(props.className, block$i({
|
|
17634
17743
|
'has-multiple': !props.isEmpty
|
|
@@ -17639,7 +17748,7 @@ const SelectMultiple = forwardRef((props, ref) => {
|
|
|
17639
17748
|
});
|
|
17640
17749
|
SelectMultiple.displayName = COMPONENT_NAME$o;
|
|
17641
17750
|
SelectMultiple.className = CLASSNAME$o;
|
|
17642
|
-
SelectMultiple.defaultProps = DEFAULT_PROPS$
|
|
17751
|
+
SelectMultiple.defaultProps = DEFAULT_PROPS$p;
|
|
17643
17752
|
|
|
17644
17753
|
/**
|
|
17645
17754
|
* Find the option whose id matches the given value.
|
|
@@ -17797,6 +17906,13 @@ const COMPONENT_NAME$n = 'SelectButton';
|
|
|
17797
17906
|
*/
|
|
17798
17907
|
const CLASSNAME$n = 'lumx-select-button';
|
|
17799
17908
|
|
|
17909
|
+
/**
|
|
17910
|
+
* Component default props.
|
|
17911
|
+
*/
|
|
17912
|
+
const DEFAULT_PROPS$o = {
|
|
17913
|
+
selectionType: 'single'
|
|
17914
|
+
};
|
|
17915
|
+
|
|
17800
17916
|
/**
|
|
17801
17917
|
* SelectButton core template.
|
|
17802
17918
|
* Renders a Combobox with a button trigger and a dropdown list of options.
|
|
@@ -17820,7 +17936,7 @@ const SelectButton$2 = (props, {
|
|
|
17820
17936
|
getSectionId,
|
|
17821
17937
|
renderSectionTitle,
|
|
17822
17938
|
value,
|
|
17823
|
-
|
|
17939
|
+
selectionType = DEFAULT_PROPS$o.selectionType,
|
|
17824
17940
|
label,
|
|
17825
17941
|
labelDisplayMode,
|
|
17826
17942
|
buttonProps,
|
|
@@ -17836,6 +17952,7 @@ const SelectButton$2 = (props, {
|
|
|
17836
17952
|
const isFullLoading = listStatus === 'loading';
|
|
17837
17953
|
const isLoadingMore = listStatus === 'loadingMore';
|
|
17838
17954
|
const isError = listStatus === 'error';
|
|
17955
|
+
const isMultiselectable = selectionType === 'multiple';
|
|
17839
17956
|
|
|
17840
17957
|
/*
|
|
17841
17958
|
* Display value: castArray normalizes single/multi value to an array, then resolve
|
|
@@ -18009,7 +18126,7 @@ const SelectButton$1 = React__default.forwardRef((props, ref) => {
|
|
|
18009
18126
|
renderOption,
|
|
18010
18127
|
getSectionId,
|
|
18011
18128
|
renderSectionTitle,
|
|
18012
|
-
selectionType,
|
|
18129
|
+
selectionType = DEFAULT_PROPS$o.selectionType,
|
|
18013
18130
|
value,
|
|
18014
18131
|
onChange,
|
|
18015
18132
|
onLoadMore,
|
|
@@ -18045,7 +18162,7 @@ const SelectButton$1 = React__default.forwardRef((props, ref) => {
|
|
|
18045
18162
|
getSectionId,
|
|
18046
18163
|
renderSectionTitle,
|
|
18047
18164
|
value,
|
|
18048
|
-
|
|
18165
|
+
selectionType,
|
|
18049
18166
|
label,
|
|
18050
18167
|
labelDisplayMode,
|
|
18051
18168
|
buttonProps: {
|
|
@@ -21559,7 +21676,8 @@ const {
|
|
|
21559
21676
|
* Default values for `TimePickerFieldWrapperProps`.
|
|
21560
21677
|
*/
|
|
21561
21678
|
const DEFAULT_PROPS$3 = {
|
|
21562
|
-
step: 30
|
|
21679
|
+
step: 30,
|
|
21680
|
+
boundsMode: 'on-blur'
|
|
21563
21681
|
};
|
|
21564
21682
|
|
|
21565
21683
|
/**
|
|
@@ -21817,9 +21935,11 @@ const TimePickerField = props => {
|
|
|
21817
21935
|
step = DEFAULT_PROPS$3.step,
|
|
21818
21936
|
minTime,
|
|
21819
21937
|
maxTime,
|
|
21938
|
+
boundsMode = DEFAULT_PROPS$3.boundsMode,
|
|
21820
21939
|
className,
|
|
21821
21940
|
theme,
|
|
21822
21941
|
translations,
|
|
21942
|
+
name,
|
|
21823
21943
|
...forwardedProps
|
|
21824
21944
|
} = props;
|
|
21825
21945
|
|
|
@@ -21844,10 +21964,23 @@ const TimePickerField = props => {
|
|
|
21844
21964
|
name: formatTime(value, locale)
|
|
21845
21965
|
};
|
|
21846
21966
|
}, [value, locale]);
|
|
21967
|
+
|
|
21968
|
+
// Clamp the current value to bounds whenever enforce mode is set and value/bounds change.
|
|
21969
|
+
useEffect(() => {
|
|
21970
|
+
if (boundsMode !== 'enforce' || !value) return;
|
|
21971
|
+
const timeOfDay = {
|
|
21972
|
+
hour: value.getHours(),
|
|
21973
|
+
minute: value.getMinutes()
|
|
21974
|
+
};
|
|
21975
|
+
const clamped = snapTimeToBounds(timeOfDay, minTime, maxTime);
|
|
21976
|
+
if (clamped.hour !== value.getHours() || clamped.minute !== value.getMinutes()) {
|
|
21977
|
+
onChange(getDateAtTime(clamped, value), name);
|
|
21978
|
+
}
|
|
21979
|
+
}, [boundsMode, value, minTime, maxTime, onChange, name]);
|
|
21847
21980
|
const handleChange = useCallback(next => {
|
|
21848
21981
|
const date = next ? getDateAtTime(next, value) : undefined;
|
|
21849
|
-
onChange(date,
|
|
21850
|
-
}, [
|
|
21982
|
+
onChange(date, name);
|
|
21983
|
+
}, [name, onChange, value]);
|
|
21851
21984
|
const handleBlur = useCallback(() => {
|
|
21852
21985
|
if (!searchValue) return;
|
|
21853
21986
|
const parsed = parseTimeInput(searchValue);
|
|
@@ -21858,8 +21991,8 @@ const TimePickerField = props => {
|
|
|
21858
21991
|
// Snap to bounds if needed, then dedup against the current value.
|
|
21859
21992
|
const time = snapTimeToBounds(parsed, minTime, maxTime);
|
|
21860
21993
|
if (value && isDateOnTime(value, time)) return;
|
|
21861
|
-
onChange(getDateAtTime(time, value),
|
|
21862
|
-
}, [maxTime, minTime,
|
|
21994
|
+
onChange(getDateAtTime(time, value), name);
|
|
21995
|
+
}, [maxTime, minTime, name, onChange, searchValue, value]);
|
|
21863
21996
|
const searchInputValue = value ? formatTime(value, locale) : undefined;
|
|
21864
21997
|
return TimePickerField$1({
|
|
21865
21998
|
...forwardedProps,
|
|
@@ -22350,5 +22483,5 @@ UserBlock.displayName = COMPONENT_NAME;
|
|
|
22350
22483
|
UserBlock.className = CLASSNAME;
|
|
22351
22484
|
UserBlock.defaultProps = DEFAULT_PROPS;
|
|
22352
22485
|
|
|
22353
|
-
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1w as CLASSNAME, COMPONENT_NAME$1y as COMPONENT_NAME, Checkbox, Chip, ChipGroup, Combobox, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$
|
|
22486
|
+
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1w as CLASSNAME, COMPONENT_NAME$1y as COMPONENT_NAME, Checkbox, Chip, ChipGroup, Combobox, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$1e as DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSection, ListSubheader, MenuButton, ListDivider as MenuDivider, MenuItem, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectButton, SelectMultiple, SelectMultipleField, SelectTextField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, CLASSNAME$3 as TIME_PICKER_FIELD_CLASSNAME, COMPONENT_NAME$2 as TIME_PICKER_FIELD_COMPONENT_NAME, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, TimePickerField, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
22354
22487
|
//# sourceMappingURL=index.js.map
|