@lumx/react 4.28.0-next.2 → 4.28.0-next.3
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 +51 -3
- package/index.js +769 -602
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -560,15 +560,15 @@ const CONFIG$1 = {
|
|
|
560
560
|
/**
|
|
561
561
|
* Component display name.
|
|
562
562
|
*/
|
|
563
|
-
const COMPONENT_NAME$
|
|
563
|
+
const COMPONENT_NAME$1M = 'AlertDialog';
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
566
|
* Component default class name and class prefix.
|
|
567
567
|
*/
|
|
568
|
-
const CLASSNAME$
|
|
568
|
+
const CLASSNAME$1J = 'lumx-alert-dialog';
|
|
569
569
|
const {
|
|
570
570
|
block: block$1f
|
|
571
|
-
} = bem(CLASSNAME$
|
|
571
|
+
} = bem(CLASSNAME$1J);
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* Component default props.
|
|
@@ -734,8 +734,8 @@ const AlertDialog = forwardRef((props, ref) => {
|
|
|
734
734
|
...forwardedProps
|
|
735
735
|
});
|
|
736
736
|
});
|
|
737
|
-
AlertDialog.displayName = COMPONENT_NAME$
|
|
738
|
-
AlertDialog.className = CLASSNAME$
|
|
737
|
+
AlertDialog.displayName = COMPONENT_NAME$1M;
|
|
738
|
+
AlertDialog.className = CLASSNAME$1J;
|
|
739
739
|
AlertDialog.defaultProps = DEFAULT_PROPS$1m;
|
|
740
740
|
|
|
741
741
|
/**
|
|
@@ -828,12 +828,12 @@ function useDisableStateProps(props) {
|
|
|
828
828
|
/**
|
|
829
829
|
* Component display name.
|
|
830
830
|
*/
|
|
831
|
-
const COMPONENT_NAME$
|
|
831
|
+
const COMPONENT_NAME$1L = 'Autocomplete';
|
|
832
832
|
|
|
833
833
|
/**
|
|
834
834
|
* Component default class name and class prefix.
|
|
835
835
|
*/
|
|
836
|
-
const CLASSNAME$
|
|
836
|
+
const CLASSNAME$1I = 'lumx-autocomplete';
|
|
837
837
|
|
|
838
838
|
/**
|
|
839
839
|
* Component default props.
|
|
@@ -901,7 +901,7 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
901
901
|
return /*#__PURE__*/jsxs("div", {
|
|
902
902
|
ref: ref,
|
|
903
903
|
...forwardedProps,
|
|
904
|
-
className: classNames.join(className, CLASSNAME$
|
|
904
|
+
className: classNames.join(className, CLASSNAME$1I),
|
|
905
905
|
children: [/*#__PURE__*/jsx(TextField, {
|
|
906
906
|
...textFieldProps,
|
|
907
907
|
chips: chips,
|
|
@@ -941,19 +941,19 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
941
941
|
})]
|
|
942
942
|
});
|
|
943
943
|
});
|
|
944
|
-
Autocomplete.displayName = COMPONENT_NAME$
|
|
945
|
-
Autocomplete.className = CLASSNAME$
|
|
944
|
+
Autocomplete.displayName = COMPONENT_NAME$1L;
|
|
945
|
+
Autocomplete.className = CLASSNAME$1I;
|
|
946
946
|
Autocomplete.defaultProps = DEFAULT_PROPS$1l;
|
|
947
947
|
|
|
948
948
|
/**
|
|
949
949
|
* Component display name.
|
|
950
950
|
*/
|
|
951
|
-
const COMPONENT_NAME$
|
|
951
|
+
const COMPONENT_NAME$1K = 'AutocompleteMultiple';
|
|
952
952
|
|
|
953
953
|
/**
|
|
954
954
|
* Component default class name and class prefix.
|
|
955
955
|
*/
|
|
956
|
-
const CLASSNAME$
|
|
956
|
+
const CLASSNAME$1H = 'lumx-autocomplete-multiple';
|
|
957
957
|
|
|
958
958
|
/**
|
|
959
959
|
* Component default props.
|
|
@@ -1034,7 +1034,7 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
1034
1034
|
ref: ref,
|
|
1035
1035
|
...forwardedProps,
|
|
1036
1036
|
anchorToInput: anchorToInput,
|
|
1037
|
-
className: classNames.join(className, CLASSNAME$
|
|
1037
|
+
className: classNames.join(className, CLASSNAME$1H),
|
|
1038
1038
|
name: name,
|
|
1039
1039
|
value: value,
|
|
1040
1040
|
onChange: onChange,
|
|
@@ -1067,23 +1067,23 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
1067
1067
|
children: children
|
|
1068
1068
|
});
|
|
1069
1069
|
});
|
|
1070
|
-
AutocompleteMultiple.displayName = COMPONENT_NAME$
|
|
1071
|
-
AutocompleteMultiple.className = CLASSNAME$
|
|
1070
|
+
AutocompleteMultiple.displayName = COMPONENT_NAME$1K;
|
|
1071
|
+
AutocompleteMultiple.className = CLASSNAME$1H;
|
|
1072
1072
|
AutocompleteMultiple.defaultProps = DEFAULT_PROPS$1k;
|
|
1073
1073
|
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Component display name.
|
|
1076
1076
|
*/
|
|
1077
|
-
const COMPONENT_NAME$
|
|
1077
|
+
const COMPONENT_NAME$1J = 'Avatar';
|
|
1078
1078
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Component default class name and class prefix.
|
|
1081
1081
|
*/
|
|
1082
|
-
const CLASSNAME$
|
|
1082
|
+
const CLASSNAME$1G = 'lumx-avatar';
|
|
1083
1083
|
const {
|
|
1084
1084
|
block: block$1e,
|
|
1085
1085
|
element: element$V
|
|
1086
|
-
} = bem(CLASSNAME$
|
|
1086
|
+
} = bem(CLASSNAME$1G);
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Component default props.
|
|
@@ -1174,22 +1174,22 @@ const Avatar = forwardRef((props, ref) => {
|
|
|
1174
1174
|
})
|
|
1175
1175
|
});
|
|
1176
1176
|
});
|
|
1177
|
-
Avatar.displayName = COMPONENT_NAME$
|
|
1178
|
-
Avatar.className = CLASSNAME$
|
|
1177
|
+
Avatar.displayName = COMPONENT_NAME$1J;
|
|
1178
|
+
Avatar.className = CLASSNAME$1G;
|
|
1179
1179
|
Avatar.defaultProps = DEFAULT_PROPS$1j;
|
|
1180
1180
|
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Component display name.
|
|
1183
1183
|
*/
|
|
1184
|
-
const COMPONENT_NAME$
|
|
1184
|
+
const COMPONENT_NAME$1I = 'Badge';
|
|
1185
1185
|
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Component default class name and class prefix.
|
|
1188
1188
|
*/
|
|
1189
|
-
const CLASSNAME$
|
|
1189
|
+
const CLASSNAME$1F = 'lumx-badge';
|
|
1190
1190
|
const {
|
|
1191
1191
|
block: block$1d
|
|
1192
|
-
} = bem(CLASSNAME$
|
|
1192
|
+
} = bem(CLASSNAME$1F);
|
|
1193
1193
|
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Component default props.
|
|
@@ -1221,8 +1221,8 @@ const Badge$1 = props => {
|
|
|
1221
1221
|
children: children
|
|
1222
1222
|
});
|
|
1223
1223
|
};
|
|
1224
|
-
Badge$1.displayName = COMPONENT_NAME$
|
|
1225
|
-
Badge$1.className = CLASSNAME$
|
|
1224
|
+
Badge$1.displayName = COMPONENT_NAME$1I;
|
|
1225
|
+
Badge$1.className = CLASSNAME$1F;
|
|
1226
1226
|
Badge$1.defaultProps = DEFAULT_PROPS$1i;
|
|
1227
1227
|
|
|
1228
1228
|
/**
|
|
@@ -1246,12 +1246,12 @@ Badge.displayName = Badge$1.displayName;
|
|
|
1246
1246
|
Badge.className = Badge$1.className;
|
|
1247
1247
|
Badge.defaultProps = Badge$1.defaultProps;
|
|
1248
1248
|
|
|
1249
|
-
const COMPONENT_NAME$
|
|
1250
|
-
const CLASSNAME$
|
|
1249
|
+
const COMPONENT_NAME$1H = 'BadgeWrapper';
|
|
1250
|
+
const CLASSNAME$1E = 'lumx-badge-wrapper';
|
|
1251
1251
|
const {
|
|
1252
1252
|
block: block$1c,
|
|
1253
1253
|
element: element$U
|
|
1254
|
-
} = bem(CLASSNAME$
|
|
1254
|
+
} = bem(CLASSNAME$1E);
|
|
1255
1255
|
const BadgeWrapper$1 = props => {
|
|
1256
1256
|
const {
|
|
1257
1257
|
badge,
|
|
@@ -1277,8 +1277,8 @@ const BadgeWrapper = forwardRef((props, ref) => {
|
|
|
1277
1277
|
ref
|
|
1278
1278
|
});
|
|
1279
1279
|
});
|
|
1280
|
-
BadgeWrapper.displayName = COMPONENT_NAME$
|
|
1281
|
-
BadgeWrapper.className = CLASSNAME$
|
|
1280
|
+
BadgeWrapper.displayName = COMPONENT_NAME$1H;
|
|
1281
|
+
BadgeWrapper.className = CLASSNAME$1E;
|
|
1282
1282
|
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Render clickable element (link, button or custom element)
|
|
@@ -1328,7 +1328,7 @@ const RawClickable = props => {
|
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Component display name.
|
|
1330
1330
|
*/
|
|
1331
|
-
const COMPONENT_NAME$
|
|
1331
|
+
const COMPONENT_NAME$1G = 'ButtonRoot';
|
|
1332
1332
|
const BUTTON_WRAPPER_CLASSNAME = `lumx-button-wrapper`;
|
|
1333
1333
|
const {
|
|
1334
1334
|
block: buttonWrapperBlock
|
|
@@ -1426,7 +1426,7 @@ const ButtonRoot = props => {
|
|
|
1426
1426
|
children
|
|
1427
1427
|
});
|
|
1428
1428
|
};
|
|
1429
|
-
ButtonRoot.displayName = COMPONENT_NAME$
|
|
1429
|
+
ButtonRoot.displayName = COMPONENT_NAME$1G;
|
|
1430
1430
|
ButtonRoot.defaultProps = {};
|
|
1431
1431
|
|
|
1432
1432
|
/**
|
|
@@ -1436,15 +1436,15 @@ ButtonRoot.defaultProps = {};
|
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Component display name.
|
|
1438
1438
|
*/
|
|
1439
|
-
const COMPONENT_NAME$
|
|
1439
|
+
const COMPONENT_NAME$1F = 'Button';
|
|
1440
1440
|
|
|
1441
1441
|
/**
|
|
1442
1442
|
* Component default class name and class prefix.
|
|
1443
1443
|
*/
|
|
1444
|
-
const CLASSNAME$
|
|
1444
|
+
const CLASSNAME$1D = 'lumx-button';
|
|
1445
1445
|
const {
|
|
1446
1446
|
modifier
|
|
1447
|
-
} = bem(CLASSNAME$
|
|
1447
|
+
} = bem(CLASSNAME$1D);
|
|
1448
1448
|
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Component default props.
|
|
@@ -1481,8 +1481,8 @@ const Button$1 = props => {
|
|
|
1481
1481
|
variant: 'button'
|
|
1482
1482
|
});
|
|
1483
1483
|
};
|
|
1484
|
-
Button$1.displayName = COMPONENT_NAME$
|
|
1485
|
-
Button$1.className = CLASSNAME$
|
|
1484
|
+
Button$1.displayName = COMPONENT_NAME$1F;
|
|
1485
|
+
Button$1.className = CLASSNAME$1D;
|
|
1486
1486
|
Button$1.defaultProps = DEFAULT_PROPS$1h;
|
|
1487
1487
|
|
|
1488
1488
|
/**
|
|
@@ -1556,21 +1556,21 @@ const Button = forwardRef((props, ref) => {
|
|
|
1556
1556
|
})
|
|
1557
1557
|
});
|
|
1558
1558
|
});
|
|
1559
|
-
Button.displayName = COMPONENT_NAME$
|
|
1560
|
-
Button.className = CLASSNAME$
|
|
1559
|
+
Button.displayName = COMPONENT_NAME$1F;
|
|
1560
|
+
Button.className = CLASSNAME$1D;
|
|
1561
1561
|
Button.defaultProps = DEFAULT_PROPS$1h;
|
|
1562
1562
|
|
|
1563
|
-
const COMPONENT_NAME$
|
|
1563
|
+
const COMPONENT_NAME$1E = 'Icon';
|
|
1564
1564
|
const IconClassName = 'lumx-icon';
|
|
1565
1565
|
|
|
1566
1566
|
/**
|
|
1567
1567
|
* Defines the props of the component.
|
|
1568
1568
|
*/
|
|
1569
1569
|
|
|
1570
|
-
const CLASSNAME$
|
|
1570
|
+
const CLASSNAME$1C = IconClassName;
|
|
1571
1571
|
const {
|
|
1572
1572
|
block: block$1b
|
|
1573
|
-
} = bem(CLASSNAME$
|
|
1573
|
+
} = bem(CLASSNAME$1C);
|
|
1574
1574
|
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Component default props.
|
|
@@ -1653,19 +1653,19 @@ const Icon$1 = props => {
|
|
|
1653
1653
|
})
|
|
1654
1654
|
});
|
|
1655
1655
|
};
|
|
1656
|
-
Icon$1.displayName = COMPONENT_NAME$
|
|
1657
|
-
Icon$1.className = CLASSNAME$
|
|
1656
|
+
Icon$1.displayName = COMPONENT_NAME$1E;
|
|
1657
|
+
Icon$1.className = CLASSNAME$1C;
|
|
1658
1658
|
Icon$1.defaultProps = DEFAULT_PROPS$1g;
|
|
1659
1659
|
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Component display name.
|
|
1662
1662
|
*/
|
|
1663
|
-
const COMPONENT_NAME$
|
|
1663
|
+
const COMPONENT_NAME$1D = 'IconButton';
|
|
1664
1664
|
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Component default class name and class prefix.
|
|
1667
1667
|
*/
|
|
1668
|
-
const CLASSNAME$
|
|
1668
|
+
const CLASSNAME$1B = 'lumx-icon-button';
|
|
1669
1669
|
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Component default props.
|
|
@@ -1706,8 +1706,8 @@ const IconButton$1 = props => {
|
|
|
1706
1706
|
children: defaultChildren
|
|
1707
1707
|
});
|
|
1708
1708
|
};
|
|
1709
|
-
IconButton$1.displayName = COMPONENT_NAME$
|
|
1710
|
-
IconButton$1.className = CLASSNAME$
|
|
1709
|
+
IconButton$1.displayName = COMPONENT_NAME$1D;
|
|
1710
|
+
IconButton$1.className = CLASSNAME$1B;
|
|
1711
1711
|
IconButton$1.defaultProps = DEFAULT_PROPS$1f;
|
|
1712
1712
|
|
|
1713
1713
|
/**
|
|
@@ -1751,19 +1751,19 @@ const IconButton = forwardRef((props, ref) => {
|
|
|
1751
1751
|
})
|
|
1752
1752
|
});
|
|
1753
1753
|
});
|
|
1754
|
-
IconButton.displayName = COMPONENT_NAME$
|
|
1755
|
-
IconButton.className = CLASSNAME$
|
|
1754
|
+
IconButton.displayName = COMPONENT_NAME$1D;
|
|
1755
|
+
IconButton.className = CLASSNAME$1B;
|
|
1756
1756
|
IconButton.defaultProps = DEFAULT_PROPS$1f;
|
|
1757
1757
|
|
|
1758
1758
|
/**
|
|
1759
1759
|
* Component display name.
|
|
1760
1760
|
*/
|
|
1761
|
-
const COMPONENT_NAME$
|
|
1761
|
+
const COMPONENT_NAME$1C = 'ButtonGroup';
|
|
1762
1762
|
|
|
1763
1763
|
/**
|
|
1764
1764
|
* Component default class name and class prefix.
|
|
1765
1765
|
*/
|
|
1766
|
-
const CLASSNAME$
|
|
1766
|
+
const CLASSNAME$1A = 'lumx-button-group';
|
|
1767
1767
|
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Component default props.
|
|
@@ -1784,12 +1784,12 @@ const ButtonGroup$1 = props => {
|
|
|
1784
1784
|
} = props;
|
|
1785
1785
|
return /*#__PURE__*/jsx("div", {
|
|
1786
1786
|
...forwardedProps,
|
|
1787
|
-
className: classnames(className, CLASSNAME$
|
|
1787
|
+
className: classnames(className, CLASSNAME$1A),
|
|
1788
1788
|
children: children
|
|
1789
1789
|
});
|
|
1790
1790
|
};
|
|
1791
|
-
ButtonGroup$1.displayName = COMPONENT_NAME$
|
|
1792
|
-
ButtonGroup$1.className = CLASSNAME$
|
|
1791
|
+
ButtonGroup$1.displayName = COMPONENT_NAME$1C;
|
|
1792
|
+
ButtonGroup$1.className = CLASSNAME$1A;
|
|
1793
1793
|
ButtonGroup$1.defaultProps = DEFAULT_PROPS$1e;
|
|
1794
1794
|
|
|
1795
1795
|
/**
|
|
@@ -1805,22 +1805,22 @@ const ButtonGroup = forwardRef((props, ref) => {
|
|
|
1805
1805
|
...props
|
|
1806
1806
|
});
|
|
1807
1807
|
});
|
|
1808
|
-
ButtonGroup.displayName = COMPONENT_NAME$
|
|
1809
|
-
ButtonGroup.className = CLASSNAME$
|
|
1808
|
+
ButtonGroup.displayName = COMPONENT_NAME$1C;
|
|
1809
|
+
ButtonGroup.className = CLASSNAME$1A;
|
|
1810
1810
|
ButtonGroup.defaultProps = DEFAULT_PROPS$1e;
|
|
1811
1811
|
|
|
1812
1812
|
/**
|
|
1813
1813
|
* Component display name.
|
|
1814
1814
|
*/
|
|
1815
|
-
const COMPONENT_NAME$
|
|
1815
|
+
const COMPONENT_NAME$1B = 'Card';
|
|
1816
1816
|
|
|
1817
1817
|
/**
|
|
1818
1818
|
* Component default class name and class prefix.
|
|
1819
1819
|
*/
|
|
1820
|
-
const CLASSNAME$
|
|
1820
|
+
const CLASSNAME$1z = 'lumx-card';
|
|
1821
1821
|
const {
|
|
1822
1822
|
block: block$1a
|
|
1823
|
-
} = bem(CLASSNAME$
|
|
1823
|
+
} = bem(CLASSNAME$1z);
|
|
1824
1824
|
|
|
1825
1825
|
/**
|
|
1826
1826
|
* Component default props.
|
|
@@ -1876,17 +1876,17 @@ const Card = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
1876
1876
|
ref
|
|
1877
1877
|
});
|
|
1878
1878
|
}), {
|
|
1879
|
-
displayName: COMPONENT_NAME$
|
|
1880
|
-
className: CLASSNAME$
|
|
1879
|
+
displayName: COMPONENT_NAME$1B,
|
|
1880
|
+
className: CLASSNAME$1z,
|
|
1881
1881
|
defaultProps: DEFAULT_PROPS$1d
|
|
1882
1882
|
});
|
|
1883
1883
|
|
|
1884
|
-
const COMPONENT_NAME$
|
|
1884
|
+
const COMPONENT_NAME$1A = 'InputLabel';
|
|
1885
1885
|
const InputLabelClassName = 'lumx-input-label';
|
|
1886
|
-
const CLASSNAME$
|
|
1886
|
+
const CLASSNAME$1y = InputLabelClassName;
|
|
1887
1887
|
const {
|
|
1888
1888
|
block: block$19
|
|
1889
|
-
} = bem(CLASSNAME$
|
|
1889
|
+
} = bem(CLASSNAME$1y);
|
|
1890
1890
|
const DEFAULT_PROPS$1c = {};
|
|
1891
1891
|
|
|
1892
1892
|
/**
|
|
@@ -1917,8 +1917,8 @@ function InputLabel$1(props) {
|
|
|
1917
1917
|
children: children
|
|
1918
1918
|
});
|
|
1919
1919
|
}
|
|
1920
|
-
InputLabel$1.displayName = COMPONENT_NAME$
|
|
1921
|
-
InputLabel$1.className = CLASSNAME$
|
|
1920
|
+
InputLabel$1.displayName = COMPONENT_NAME$1A;
|
|
1921
|
+
InputLabel$1.className = CLASSNAME$1y;
|
|
1922
1922
|
InputLabel$1.defaultProps = DEFAULT_PROPS$1c;
|
|
1923
1923
|
|
|
1924
1924
|
const INPUT_HELPER_CONFIGURATION = {
|
|
@@ -1933,17 +1933,17 @@ const INPUT_HELPER_CONFIGURATION = {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
};
|
|
1935
1935
|
|
|
1936
|
-
const COMPONENT_NAME$
|
|
1936
|
+
const COMPONENT_NAME$1z = 'InputHelper';
|
|
1937
1937
|
const InputHelperClassName = 'lumx-input-helper';
|
|
1938
1938
|
|
|
1939
1939
|
/**
|
|
1940
1940
|
* Defines the props of the component.
|
|
1941
1941
|
*/
|
|
1942
1942
|
|
|
1943
|
-
const CLASSNAME$
|
|
1943
|
+
const CLASSNAME$1x = InputHelperClassName;
|
|
1944
1944
|
const {
|
|
1945
1945
|
block: block$18
|
|
1946
|
-
} = bem(CLASSNAME$
|
|
1946
|
+
} = bem(CLASSNAME$1x);
|
|
1947
1947
|
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Component default props.
|
|
@@ -1977,8 +1977,8 @@ function InputHelper$1(props) {
|
|
|
1977
1977
|
children: children
|
|
1978
1978
|
});
|
|
1979
1979
|
}
|
|
1980
|
-
InputHelper$1.displayName = COMPONENT_NAME$
|
|
1981
|
-
InputHelper$1.className = CLASSNAME$
|
|
1980
|
+
InputHelper$1.displayName = COMPONENT_NAME$1z;
|
|
1981
|
+
InputHelper$1.className = CLASSNAME$1x;
|
|
1982
1982
|
InputHelper$1.defaultProps = DEFAULT_PROPS$1b;
|
|
1983
1983
|
|
|
1984
1984
|
const INTERMEDIATE_STATE = 'intermediate';
|
|
@@ -1990,16 +1990,16 @@ const INTERMEDIATE_STATE = 'intermediate';
|
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Component display name.
|
|
1992
1992
|
*/
|
|
1993
|
-
const COMPONENT_NAME$
|
|
1993
|
+
const COMPONENT_NAME$1y = 'Checkbox';
|
|
1994
1994
|
|
|
1995
1995
|
/**
|
|
1996
1996
|
* Component default class name and class prefix.
|
|
1997
1997
|
*/
|
|
1998
|
-
const CLASSNAME$
|
|
1998
|
+
const CLASSNAME$1w = 'lumx-checkbox';
|
|
1999
1999
|
const {
|
|
2000
2000
|
block: block$17,
|
|
2001
2001
|
element: element$T
|
|
2002
|
-
} = bem(CLASSNAME$
|
|
2002
|
+
} = bem(CLASSNAME$1w);
|
|
2003
2003
|
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Checkbox component.
|
|
@@ -2154,8 +2154,8 @@ const Checkbox = forwardRef((props, ref) => {
|
|
|
2154
2154
|
inputId
|
|
2155
2155
|
});
|
|
2156
2156
|
});
|
|
2157
|
-
Checkbox.displayName = COMPONENT_NAME$
|
|
2158
|
-
Checkbox.className = CLASSNAME$
|
|
2157
|
+
Checkbox.displayName = COMPONENT_NAME$1y;
|
|
2158
|
+
Checkbox.className = CLASSNAME$1w;
|
|
2159
2159
|
Checkbox.defaultProps = DEFAULT_PROPS$1a;
|
|
2160
2160
|
|
|
2161
2161
|
/**
|
|
@@ -2177,16 +2177,16 @@ function useStopPropagation(handler) {
|
|
|
2177
2177
|
/**
|
|
2178
2178
|
* Component display name.
|
|
2179
2179
|
*/
|
|
2180
|
-
const COMPONENT_NAME$
|
|
2180
|
+
const COMPONENT_NAME$1x = 'Chip';
|
|
2181
2181
|
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Component default class name and class prefix.
|
|
2184
2184
|
*/
|
|
2185
|
-
const CLASSNAME$
|
|
2185
|
+
const CLASSNAME$1v = 'lumx-chip';
|
|
2186
2186
|
const {
|
|
2187
2187
|
block: block$16,
|
|
2188
2188
|
element: element$S
|
|
2189
|
-
} = bem(CLASSNAME$
|
|
2189
|
+
} = bem(CLASSNAME$1v);
|
|
2190
2190
|
|
|
2191
2191
|
/**
|
|
2192
2192
|
* Component default props.
|
|
@@ -2338,19 +2338,19 @@ const Chip = forwardRef((props, ref) => {
|
|
|
2338
2338
|
...forwardedProps
|
|
2339
2339
|
});
|
|
2340
2340
|
});
|
|
2341
|
-
Chip.displayName = COMPONENT_NAME$
|
|
2342
|
-
Chip.className = CLASSNAME$
|
|
2341
|
+
Chip.displayName = COMPONENT_NAME$1x;
|
|
2342
|
+
Chip.className = CLASSNAME$1v;
|
|
2343
2343
|
Chip.defaultProps = DEFAULT_PROPS$19;
|
|
2344
2344
|
|
|
2345
2345
|
/**
|
|
2346
2346
|
* Component display name.
|
|
2347
2347
|
*/
|
|
2348
|
-
const COMPONENT_NAME$
|
|
2348
|
+
const COMPONENT_NAME$1w = 'ChipGroup';
|
|
2349
2349
|
|
|
2350
2350
|
/**
|
|
2351
2351
|
* Component default class name and class prefix.
|
|
2352
2352
|
*/
|
|
2353
|
-
const CLASSNAME$
|
|
2353
|
+
const CLASSNAME$1u = 'lumx-chip-group';
|
|
2354
2354
|
|
|
2355
2355
|
/**
|
|
2356
2356
|
* Component default props.
|
|
@@ -2373,7 +2373,7 @@ const ChipGroup$1 = props => {
|
|
|
2373
2373
|
return /*#__PURE__*/jsx("div", {
|
|
2374
2374
|
ref: ref,
|
|
2375
2375
|
...forwardedProps,
|
|
2376
|
-
className: classnames(className, CLASSNAME$
|
|
2376
|
+
className: classnames(className, CLASSNAME$1u),
|
|
2377
2377
|
children: children
|
|
2378
2378
|
});
|
|
2379
2379
|
};
|
|
@@ -2451,8 +2451,8 @@ const InternalChipGroup = forwardRef((props, ref) => {
|
|
|
2451
2451
|
...forwardedProps
|
|
2452
2452
|
});
|
|
2453
2453
|
});
|
|
2454
|
-
InternalChipGroup.displayName = COMPONENT_NAME$
|
|
2455
|
-
InternalChipGroup.className = CLASSNAME$
|
|
2454
|
+
InternalChipGroup.displayName = COMPONENT_NAME$1w;
|
|
2455
|
+
InternalChipGroup.className = CLASSNAME$1u;
|
|
2456
2456
|
InternalChipGroup.defaultProps = DEFAULT_PROPS$18;
|
|
2457
2457
|
const ChipGroup = Object.assign(InternalChipGroup, {
|
|
2458
2458
|
useChipGroupNavigation
|
|
@@ -2461,16 +2461,16 @@ const ChipGroup = Object.assign(InternalChipGroup, {
|
|
|
2461
2461
|
/**
|
|
2462
2462
|
* Component display name.
|
|
2463
2463
|
*/
|
|
2464
|
-
const COMPONENT_NAME$
|
|
2464
|
+
const COMPONENT_NAME$1v = 'SelectionChipGroup';
|
|
2465
2465
|
|
|
2466
2466
|
/**
|
|
2467
2467
|
* Component default class name and class prefix.
|
|
2468
2468
|
*/
|
|
2469
|
-
const CLASSNAME$
|
|
2469
|
+
const CLASSNAME$1t = 'lumx-selection-chip-group';
|
|
2470
2470
|
const {
|
|
2471
2471
|
block: block$15,
|
|
2472
2472
|
element: element$R
|
|
2473
|
-
} = bem(CLASSNAME$
|
|
2473
|
+
} = bem(CLASSNAME$1t);
|
|
2474
2474
|
|
|
2475
2475
|
/**
|
|
2476
2476
|
* SelectionChipGroup component.
|
|
@@ -2566,10 +2566,10 @@ function createSelectorTreeWalker(container, selector) {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
|
|
2568
2568
|
/** CSS selector for enabled chips (not aria-disabled). */
|
|
2569
|
-
const ENABLED_CHIP_SELECTOR = `.${CLASSNAME$
|
|
2569
|
+
const ENABLED_CHIP_SELECTOR = `.${CLASSNAME$1v}:not([aria-disabled="true"])`;
|
|
2570
2570
|
|
|
2571
2571
|
/** Find the closest chip element from an event target. */
|
|
2572
|
-
const getChip = target => target?.closest?.(`.${CLASSNAME$
|
|
2572
|
+
const getChip = target => target?.closest?.(`.${CLASSNAME$1v}`) || null;
|
|
2573
2573
|
|
|
2574
2574
|
/** Whether the chip is marked as disabled via aria-disabled. */
|
|
2575
2575
|
const isChipDisabled = chip => chip?.getAttribute('aria-disabled') === 'true';
|
|
@@ -2810,15 +2810,15 @@ function wrapChildrenIconWithSpaces(children) {
|
|
|
2810
2810
|
/**
|
|
2811
2811
|
* Component display name.
|
|
2812
2812
|
*/
|
|
2813
|
-
const COMPONENT_NAME$
|
|
2813
|
+
const COMPONENT_NAME$1u = 'Text';
|
|
2814
2814
|
|
|
2815
2815
|
/**
|
|
2816
2816
|
* Component default class name and class prefix.
|
|
2817
2817
|
*/
|
|
2818
|
-
const CLASSNAME$
|
|
2818
|
+
const CLASSNAME$1s = 'lumx-text';
|
|
2819
2819
|
const {
|
|
2820
2820
|
block: block$14
|
|
2821
|
-
} = bem(CLASSNAME$
|
|
2821
|
+
} = bem(CLASSNAME$1s);
|
|
2822
2822
|
|
|
2823
2823
|
/**
|
|
2824
2824
|
* Component default props.
|
|
@@ -2908,8 +2908,8 @@ const Text = forwardRef((props, ref) => {
|
|
|
2908
2908
|
children: wrapChildrenIconWithSpaces(children)
|
|
2909
2909
|
});
|
|
2910
2910
|
});
|
|
2911
|
-
Text.displayName = COMPONENT_NAME$
|
|
2912
|
-
Text.className = CLASSNAME$
|
|
2911
|
+
Text.displayName = COMPONENT_NAME$1u;
|
|
2912
|
+
Text.className = CLASSNAME$1s;
|
|
2913
2913
|
Text.defaultProps = DEFAULT_PROPS$17;
|
|
2914
2914
|
|
|
2915
2915
|
/**
|
|
@@ -5002,16 +5002,16 @@ const DEFAULT_PROPS$16 = {
|
|
|
5002
5002
|
/**
|
|
5003
5003
|
* Component display name.
|
|
5004
5004
|
*/
|
|
5005
|
-
const COMPONENT_NAME$
|
|
5005
|
+
const COMPONENT_NAME$1t = 'Tooltip';
|
|
5006
5006
|
|
|
5007
5007
|
/**
|
|
5008
5008
|
* Component default class name and class prefix.
|
|
5009
5009
|
*/
|
|
5010
|
-
const CLASSNAME$
|
|
5010
|
+
const CLASSNAME$1r = 'lumx-tooltip';
|
|
5011
5011
|
const {
|
|
5012
5012
|
block: block$13,
|
|
5013
5013
|
element: element$Q
|
|
5014
|
-
} = bem(CLASSNAME$
|
|
5014
|
+
} = bem(CLASSNAME$1r);
|
|
5015
5015
|
|
|
5016
5016
|
/**
|
|
5017
5017
|
* Props for the TooltipPopup rendering component.
|
|
@@ -5060,8 +5060,8 @@ const TooltipPopup = props => {
|
|
|
5060
5060
|
})]
|
|
5061
5061
|
});
|
|
5062
5062
|
};
|
|
5063
|
-
TooltipPopup.displayName = COMPONENT_NAME$
|
|
5064
|
-
TooltipPopup.className = CLASSNAME$
|
|
5063
|
+
TooltipPopup.displayName = COMPONENT_NAME$1t;
|
|
5064
|
+
TooltipPopup.className = CLASSNAME$1r;
|
|
5065
5065
|
|
|
5066
5066
|
/**
|
|
5067
5067
|
* Add ref and ARIA attribute(s) in tooltip children or wrapped children.
|
|
@@ -5423,8 +5423,8 @@ const Tooltip = forwardRef((props, ref) => {
|
|
|
5423
5423
|
})]
|
|
5424
5424
|
});
|
|
5425
5425
|
});
|
|
5426
|
-
Tooltip.displayName = COMPONENT_NAME$
|
|
5427
|
-
Tooltip.className = CLASSNAME$
|
|
5426
|
+
Tooltip.displayName = COMPONENT_NAME$1t;
|
|
5427
|
+
Tooltip.className = CLASSNAME$1r;
|
|
5428
5428
|
Tooltip.defaultProps = DEFAULT_PROPS$16;
|
|
5429
5429
|
|
|
5430
5430
|
/** Create a pending navigation store; discards intent on abort. */
|
|
@@ -6294,8 +6294,8 @@ const SelectionChipGroup = ({
|
|
|
6294
6294
|
}, [container, inputRef, getOptionId]);
|
|
6295
6295
|
useRovingTabIndexContainer({
|
|
6296
6296
|
containerRef: container,
|
|
6297
|
-
itemSelector: `.${CLASSNAME$
|
|
6298
|
-
itemDisabledSelector: `.${CLASSNAME$
|
|
6297
|
+
itemSelector: `.${CLASSNAME$1v}`,
|
|
6298
|
+
itemDisabledSelector: `.${CLASSNAME$1v}[aria-disabled="true"]`
|
|
6299
6299
|
});
|
|
6300
6300
|
|
|
6301
6301
|
// Merge getChipProps and renderChip: getChipProps provides base props, renderChip overrides them,
|
|
@@ -6335,18 +6335,18 @@ const SelectionChipGroup = ({
|
|
|
6335
6335
|
Tooltip
|
|
6336
6336
|
});
|
|
6337
6337
|
};
|
|
6338
|
-
SelectionChipGroup.displayName = COMPONENT_NAME$
|
|
6339
|
-
SelectionChipGroup.className = CLASSNAME$
|
|
6338
|
+
SelectionChipGroup.displayName = COMPONENT_NAME$1v;
|
|
6339
|
+
SelectionChipGroup.className = CLASSNAME$1t;
|
|
6340
6340
|
|
|
6341
6341
|
/**
|
|
6342
6342
|
* Component display name.
|
|
6343
6343
|
*/
|
|
6344
|
-
const COMPONENT_NAME$
|
|
6344
|
+
const COMPONENT_NAME$1s = 'ListDivider';
|
|
6345
6345
|
|
|
6346
6346
|
/**
|
|
6347
6347
|
* Component default class name and class prefix.
|
|
6348
6348
|
*/
|
|
6349
|
-
const CLASSNAME$
|
|
6349
|
+
const CLASSNAME$1q = 'lumx-list-divider';
|
|
6350
6350
|
|
|
6351
6351
|
/**
|
|
6352
6352
|
* Component default props.
|
|
@@ -6370,11 +6370,11 @@ const ListDivider$1 = props => {
|
|
|
6370
6370
|
ref: ref,
|
|
6371
6371
|
role: "none",
|
|
6372
6372
|
...forwardedProps,
|
|
6373
|
-
className: classnames(className, CLASSNAME$
|
|
6373
|
+
className: classnames(className, CLASSNAME$1q)
|
|
6374
6374
|
});
|
|
6375
6375
|
};
|
|
6376
|
-
ListDivider$1.displayName = COMPONENT_NAME$
|
|
6377
|
-
ListDivider$1.className = CLASSNAME$
|
|
6376
|
+
ListDivider$1.displayName = COMPONENT_NAME$1s;
|
|
6377
|
+
ListDivider$1.className = CLASSNAME$1q;
|
|
6378
6378
|
ListDivider$1.defaultProps = DEFAULT_PROPS$15;
|
|
6379
6379
|
|
|
6380
6380
|
/**
|
|
@@ -6395,22 +6395,22 @@ const ListDivider = forwardRef((props, ref) => {
|
|
|
6395
6395
|
ref
|
|
6396
6396
|
});
|
|
6397
6397
|
});
|
|
6398
|
-
ListDivider.displayName = COMPONENT_NAME$
|
|
6399
|
-
ListDivider.className = CLASSNAME$
|
|
6398
|
+
ListDivider.displayName = COMPONENT_NAME$1s;
|
|
6399
|
+
ListDivider.className = CLASSNAME$1q;
|
|
6400
6400
|
ListDivider.defaultProps = DEFAULT_PROPS$15;
|
|
6401
6401
|
|
|
6402
6402
|
/**
|
|
6403
6403
|
* Component display name.
|
|
6404
6404
|
*/
|
|
6405
|
-
const COMPONENT_NAME$
|
|
6405
|
+
const COMPONENT_NAME$1r = 'List';
|
|
6406
6406
|
|
|
6407
6407
|
/**
|
|
6408
6408
|
* Component default class name and class prefix.
|
|
6409
6409
|
*/
|
|
6410
|
-
const CLASSNAME$
|
|
6410
|
+
const CLASSNAME$1p = 'lumx-list';
|
|
6411
6411
|
const {
|
|
6412
6412
|
block: block$12
|
|
6413
|
-
} = bem(CLASSNAME$
|
|
6413
|
+
} = bem(CLASSNAME$1p);
|
|
6414
6414
|
|
|
6415
6415
|
/**
|
|
6416
6416
|
* Component default props.
|
|
@@ -6441,8 +6441,8 @@ const List$1 = props => {
|
|
|
6441
6441
|
children: children
|
|
6442
6442
|
});
|
|
6443
6443
|
};
|
|
6444
|
-
List$1.displayName = COMPONENT_NAME$
|
|
6445
|
-
List$1.className = CLASSNAME$
|
|
6444
|
+
List$1.displayName = COMPONENT_NAME$1r;
|
|
6445
|
+
List$1.className = CLASSNAME$1p;
|
|
6446
6446
|
List$1.defaultProps = DEFAULT_PROPS$14;
|
|
6447
6447
|
|
|
6448
6448
|
/**
|
|
@@ -6458,12 +6458,12 @@ List$1.defaultProps = DEFAULT_PROPS$14;
|
|
|
6458
6458
|
/**
|
|
6459
6459
|
* Component display name.
|
|
6460
6460
|
*/
|
|
6461
|
-
const COMPONENT_NAME$
|
|
6461
|
+
const COMPONENT_NAME$1q = 'ListboxList';
|
|
6462
6462
|
|
|
6463
6463
|
/**
|
|
6464
6464
|
* Component default class name and class prefix.
|
|
6465
6465
|
*/
|
|
6466
|
-
const CLASSNAME$
|
|
6466
|
+
const CLASSNAME$1o = 'lumx-listbox-list';
|
|
6467
6467
|
/**
|
|
6468
6468
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
6469
6469
|
*
|
|
@@ -6491,7 +6491,7 @@ const ListboxList$1 = props => {
|
|
|
6491
6491
|
} = props;
|
|
6492
6492
|
return List$1({
|
|
6493
6493
|
...forwardedProps,
|
|
6494
|
-
className: classnames(className, CLASSNAME$
|
|
6494
|
+
className: classnames(className, CLASSNAME$1o, LEGACY_CLASSNAME$6),
|
|
6495
6495
|
ref,
|
|
6496
6496
|
itemPadding: 'big',
|
|
6497
6497
|
id,
|
|
@@ -6687,15 +6687,15 @@ const getOptionActiveId = event => event.slice(OPTION_ACTIVE_EVENT_PREFIX.length
|
|
|
6687
6687
|
/**
|
|
6688
6688
|
* Component display name.
|
|
6689
6689
|
*/
|
|
6690
|
-
const COMPONENT_NAME$
|
|
6690
|
+
const COMPONENT_NAME$1p = 'CompositeStatus';
|
|
6691
6691
|
|
|
6692
6692
|
/**
|
|
6693
6693
|
* Component default class name and class prefix.
|
|
6694
6694
|
*/
|
|
6695
|
-
const CLASSNAME$
|
|
6695
|
+
const CLASSNAME$1n = 'lumx-composite-status';
|
|
6696
6696
|
const {
|
|
6697
6697
|
block: block$11
|
|
6698
|
-
} = bem(CLASSNAME$
|
|
6698
|
+
} = bem(CLASSNAME$1n);
|
|
6699
6699
|
|
|
6700
6700
|
/** Class names of the previous versions (`Combobox.State` was the listbox state), kept for compatibility. */
|
|
6701
6701
|
const LEGACY_CLASSNAME$5 = 'lumx-listbox-state lumx-combobox-state';
|
|
@@ -6943,7 +6943,7 @@ function setupComposite(options, specialization) {
|
|
|
6943
6943
|
* or the skeletons change: a status is rendered with the list, not later.)
|
|
6944
6944
|
*/
|
|
6945
6945
|
function hasStatus(container) {
|
|
6946
|
-
return Array.from(container.querySelectorAll(`.${CLASSNAME$
|
|
6946
|
+
return Array.from(container.querySelectorAll(`.${CLASSNAME$1n}`)).some(status => {
|
|
6947
6947
|
const hiddenAncestor = status.parentElement?.closest('[hidden]');
|
|
6948
6948
|
return !hiddenAncestor || hiddenAncestor === container || !container.contains(hiddenAncestor);
|
|
6949
6949
|
});
|
|
@@ -8004,22 +8004,22 @@ const ListboxList = forwardRef((props, ref) => {
|
|
|
8004
8004
|
})
|
|
8005
8005
|
});
|
|
8006
8006
|
});
|
|
8007
|
-
ListboxList.displayName = COMPONENT_NAME$
|
|
8008
|
-
ListboxList.className = CLASSNAME$
|
|
8007
|
+
ListboxList.displayName = COMPONENT_NAME$1q;
|
|
8008
|
+
ListboxList.className = CLASSNAME$1o;
|
|
8009
8009
|
|
|
8010
8010
|
/**
|
|
8011
8011
|
* Component display name.
|
|
8012
8012
|
*/
|
|
8013
|
-
const COMPONENT_NAME$
|
|
8013
|
+
const COMPONENT_NAME$1o = 'ListItem';
|
|
8014
8014
|
|
|
8015
8015
|
/**
|
|
8016
8016
|
* Component default class name and class prefix.
|
|
8017
8017
|
*/
|
|
8018
|
-
const CLASSNAME$
|
|
8018
|
+
const CLASSNAME$1m = 'lumx-list-item';
|
|
8019
8019
|
const {
|
|
8020
8020
|
block: block$10,
|
|
8021
8021
|
element: element$P
|
|
8022
|
-
} = bem(CLASSNAME$
|
|
8022
|
+
} = bem(CLASSNAME$1m);
|
|
8023
8023
|
|
|
8024
8024
|
/**
|
|
8025
8025
|
* Component default props.
|
|
@@ -8087,8 +8087,8 @@ const ListItem$1 = props => {
|
|
|
8087
8087
|
})
|
|
8088
8088
|
});
|
|
8089
8089
|
};
|
|
8090
|
-
ListItem$1.displayName = COMPONENT_NAME$
|
|
8091
|
-
ListItem$1.className = CLASSNAME$
|
|
8090
|
+
ListItem$1.displayName = COMPONENT_NAME$1o;
|
|
8091
|
+
ListItem$1.className = CLASSNAME$1m;
|
|
8092
8092
|
ListItem$1.defaultProps = DEFAULT_PROPS$13;
|
|
8093
8093
|
|
|
8094
8094
|
/**
|
|
@@ -8098,12 +8098,12 @@ ListItem$1.defaultProps = DEFAULT_PROPS$13;
|
|
|
8098
8098
|
/**
|
|
8099
8099
|
* Component display name.
|
|
8100
8100
|
*/
|
|
8101
|
-
const COMPONENT_NAME$
|
|
8101
|
+
const COMPONENT_NAME$1n = 'ListItemAction';
|
|
8102
8102
|
|
|
8103
8103
|
/**
|
|
8104
8104
|
* Component classname (used by action area CSS pattern).
|
|
8105
8105
|
*/
|
|
8106
|
-
const CLASSNAME$
|
|
8106
|
+
const CLASSNAME$1l = 'lumx-action-area__action';
|
|
8107
8107
|
const DEFAULT_PROPS$12 = {};
|
|
8108
8108
|
|
|
8109
8109
|
/**
|
|
@@ -8159,12 +8159,12 @@ const CompositeItemDescription = ({
|
|
|
8159
8159
|
/**
|
|
8160
8160
|
* Component display name.
|
|
8161
8161
|
*/
|
|
8162
|
-
const COMPONENT_NAME$
|
|
8162
|
+
const COMPONENT_NAME$1m = 'ListboxOption';
|
|
8163
8163
|
|
|
8164
8164
|
/**
|
|
8165
8165
|
* Component default class name and class prefix.
|
|
8166
8166
|
*/
|
|
8167
|
-
const CLASSNAME$
|
|
8167
|
+
const CLASSNAME$1k = 'lumx-listbox-option';
|
|
8168
8168
|
/**
|
|
8169
8169
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
8170
8170
|
*
|
|
@@ -8174,7 +8174,7 @@ const LEGACY_CLASSNAME$4 = 'lumx-combobox-option';
|
|
|
8174
8174
|
const {
|
|
8175
8175
|
block: block$$,
|
|
8176
8176
|
element: element$O
|
|
8177
|
-
} = bem(CLASSNAME$
|
|
8177
|
+
} = bem(CLASSNAME$1k);
|
|
8178
8178
|
const legacy$1 = bem(LEGACY_CLASSNAME$4);
|
|
8179
8179
|
|
|
8180
8180
|
/**
|
|
@@ -8361,8 +8361,8 @@ const ListboxOption = forwardRef((props, ref) => {
|
|
|
8361
8361
|
})
|
|
8362
8362
|
});
|
|
8363
8363
|
});
|
|
8364
|
-
ListboxOption.displayName = COMPONENT_NAME$
|
|
8365
|
-
ListboxOption.className = CLASSNAME$
|
|
8364
|
+
ListboxOption.displayName = COMPONENT_NAME$1m;
|
|
8365
|
+
ListboxOption.className = CLASSNAME$1k;
|
|
8366
8366
|
|
|
8367
8367
|
/**
|
|
8368
8368
|
* Defines the props for the core ListboxOptionAction template.
|
|
@@ -8371,12 +8371,12 @@ ListboxOption.className = CLASSNAME$1j;
|
|
|
8371
8371
|
/**
|
|
8372
8372
|
* Component display name.
|
|
8373
8373
|
*/
|
|
8374
|
-
const COMPONENT_NAME$
|
|
8374
|
+
const COMPONENT_NAME$1l = 'ListboxOptionAction';
|
|
8375
8375
|
|
|
8376
8376
|
/**
|
|
8377
8377
|
* Component default class name and class prefix.
|
|
8378
8378
|
*/
|
|
8379
|
-
const CLASSNAME$
|
|
8379
|
+
const CLASSNAME$1j = 'lumx-listbox-option-action';
|
|
8380
8380
|
/**
|
|
8381
8381
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
8382
8382
|
*
|
|
@@ -8405,7 +8405,7 @@ const ListboxOptionAction$1 = props => {
|
|
|
8405
8405
|
as: Element,
|
|
8406
8406
|
...forwardedProps,
|
|
8407
8407
|
role: 'gridcell',
|
|
8408
|
-
className: classnames(className, CLASSNAME$
|
|
8408
|
+
className: classnames(className, CLASSNAME$1j, LEGACY_CLASSNAME$3),
|
|
8409
8409
|
handleClick,
|
|
8410
8410
|
children
|
|
8411
8411
|
});
|
|
@@ -8453,7 +8453,7 @@ const ListboxOptionAction = Object.assign(forwardRefPolymorphic((props, ref) =>
|
|
|
8453
8453
|
const isGrid = type === 'grid';
|
|
8454
8454
|
useEffect(() => {
|
|
8455
8455
|
if (!isGrid) {
|
|
8456
|
-
console.warn(`[@lumx/react/${COMPONENT_NAME$
|
|
8456
|
+
console.warn(`[@lumx/react/${COMPONENT_NAME$1l}] Option actions are only supported in grid mode (set type="grid" on the parent list); the action is not rendered.`);
|
|
8457
8457
|
}
|
|
8458
8458
|
}, [isGrid]);
|
|
8459
8459
|
if (!isGrid) return null;
|
|
@@ -8468,19 +8468,19 @@ const ListboxOptionAction = Object.assign(forwardRefPolymorphic((props, ref) =>
|
|
|
8468
8468
|
children
|
|
8469
8469
|
});
|
|
8470
8470
|
}), {
|
|
8471
|
-
displayName: COMPONENT_NAME$
|
|
8472
|
-
className: CLASSNAME$
|
|
8471
|
+
displayName: COMPONENT_NAME$1l,
|
|
8472
|
+
className: CLASSNAME$1j
|
|
8473
8473
|
});
|
|
8474
8474
|
|
|
8475
8475
|
/**
|
|
8476
8476
|
* Component display name.
|
|
8477
8477
|
*/
|
|
8478
|
-
const COMPONENT_NAME$
|
|
8478
|
+
const COMPONENT_NAME$1k = 'ListboxOptionMoreInfo';
|
|
8479
8479
|
|
|
8480
8480
|
/**
|
|
8481
8481
|
* Component default class name and class prefix.
|
|
8482
8482
|
*/
|
|
8483
|
-
const CLASSNAME$
|
|
8483
|
+
const CLASSNAME$1i = 'lumx-listbox-option-more-info';
|
|
8484
8484
|
/**
|
|
8485
8485
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
8486
8486
|
*
|
|
@@ -8490,7 +8490,7 @@ const LEGACY_CLASSNAME$2 = 'lumx-combobox-option-more-info';
|
|
|
8490
8490
|
const {
|
|
8491
8491
|
block: block$_,
|
|
8492
8492
|
element: element$N
|
|
8493
|
-
} = bem(CLASSNAME$
|
|
8493
|
+
} = bem(CLASSNAME$1i);
|
|
8494
8494
|
const legacy = bem(LEGACY_CLASSNAME$2);
|
|
8495
8495
|
|
|
8496
8496
|
/**
|
|
@@ -8820,16 +8820,16 @@ const POPOVER_ZINDEX = 9999;
|
|
|
8820
8820
|
/**
|
|
8821
8821
|
* Component display name.
|
|
8822
8822
|
*/
|
|
8823
|
-
const COMPONENT_NAME$
|
|
8823
|
+
const COMPONENT_NAME$1j = 'Popover';
|
|
8824
8824
|
|
|
8825
8825
|
/**
|
|
8826
8826
|
* Component default class name and class prefix.
|
|
8827
8827
|
*/
|
|
8828
|
-
const CLASSNAME$
|
|
8828
|
+
const CLASSNAME$1h = 'lumx-popover';
|
|
8829
8829
|
const {
|
|
8830
8830
|
block: block$Z,
|
|
8831
8831
|
element: element$M
|
|
8832
|
-
} = bem(CLASSNAME$
|
|
8832
|
+
} = bem(CLASSNAME$1h);
|
|
8833
8833
|
|
|
8834
8834
|
/**
|
|
8835
8835
|
* Component default props (used by framework wrappers).
|
|
@@ -9355,7 +9355,7 @@ const _InnerPopover = forwardRef((props, ref) => {
|
|
|
9355
9355
|
ThemeProvider
|
|
9356
9356
|
});
|
|
9357
9357
|
});
|
|
9358
|
-
_InnerPopover.displayName = COMPONENT_NAME$
|
|
9358
|
+
_InnerPopover.displayName = COMPONENT_NAME$1j;
|
|
9359
9359
|
|
|
9360
9360
|
/**
|
|
9361
9361
|
* Popover component.
|
|
@@ -9367,8 +9367,8 @@ _InnerPopover.displayName = COMPONENT_NAME$1i;
|
|
|
9367
9367
|
const Popover = skipRender(
|
|
9368
9368
|
// Skip render in SSR
|
|
9369
9369
|
() => Boolean(DOCUMENT), _InnerPopover);
|
|
9370
|
-
Popover.displayName = COMPONENT_NAME$
|
|
9371
|
-
Popover.className = CLASSNAME$
|
|
9370
|
+
Popover.displayName = COMPONENT_NAME$1j;
|
|
9371
|
+
Popover.className = CLASSNAME$1h;
|
|
9372
9372
|
Popover.defaultProps = DEFAULT_PROPS$11;
|
|
9373
9373
|
|
|
9374
9374
|
/**
|
|
@@ -9435,22 +9435,22 @@ const ListboxOptionMoreInfo = props => {
|
|
|
9435
9435
|
Popover
|
|
9436
9436
|
});
|
|
9437
9437
|
};
|
|
9438
|
-
ListboxOptionMoreInfo.displayName = COMPONENT_NAME$
|
|
9439
|
-
ListboxOptionMoreInfo.className = CLASSNAME$
|
|
9438
|
+
ListboxOptionMoreInfo.displayName = COMPONENT_NAME$1k;
|
|
9439
|
+
ListboxOptionMoreInfo.className = CLASSNAME$1i;
|
|
9440
9440
|
|
|
9441
9441
|
/**
|
|
9442
9442
|
* Component display name.
|
|
9443
9443
|
*/
|
|
9444
|
-
const COMPONENT_NAME$
|
|
9444
|
+
const COMPONENT_NAME$1i = 'SkeletonTypography';
|
|
9445
9445
|
|
|
9446
9446
|
/**
|
|
9447
9447
|
* Component default class name and class prefix.
|
|
9448
9448
|
*/
|
|
9449
|
-
const CLASSNAME$
|
|
9449
|
+
const CLASSNAME$1g = 'lumx-skeleton-typography';
|
|
9450
9450
|
const {
|
|
9451
9451
|
block: block$Y,
|
|
9452
9452
|
element: element$L
|
|
9453
|
-
} = bem(CLASSNAME$
|
|
9453
|
+
} = bem(CLASSNAME$1g);
|
|
9454
9454
|
|
|
9455
9455
|
/**
|
|
9456
9456
|
* SkeletonTypography component.
|
|
@@ -9489,12 +9489,12 @@ const SkeletonTypography$1 = props => {
|
|
|
9489
9489
|
/**
|
|
9490
9490
|
* Component display name.
|
|
9491
9491
|
*/
|
|
9492
|
-
const COMPONENT_NAME$
|
|
9492
|
+
const COMPONENT_NAME$1h = 'ListboxOptionSkeleton';
|
|
9493
9493
|
|
|
9494
9494
|
/**
|
|
9495
9495
|
* Component default class name and class prefix.
|
|
9496
9496
|
*/
|
|
9497
|
-
const CLASSNAME$
|
|
9497
|
+
const CLASSNAME$1f = 'lumx-listbox-option-skeleton';
|
|
9498
9498
|
/**
|
|
9499
9499
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
9500
9500
|
*
|
|
@@ -9527,7 +9527,7 @@ const ListboxOptionSkeleton$1 = props => {
|
|
|
9527
9527
|
size: 'tiny',
|
|
9528
9528
|
role: 'none',
|
|
9529
9529
|
...forwardedProps,
|
|
9530
|
-
className: classnames(className, CLASSNAME$
|
|
9530
|
+
className: classnames(className, CLASSNAME$1f, LEGACY_CLASSNAME$1),
|
|
9531
9531
|
children: children || /*#__PURE__*/jsxs(Fragment, {
|
|
9532
9532
|
children: [/*#__PURE__*/jsx(SkeletonTypography$1, {
|
|
9533
9533
|
typography: "body1",
|
|
@@ -9585,10 +9585,10 @@ const ListboxOptionSkeleton = props => {
|
|
|
9585
9585
|
...props
|
|
9586
9586
|
});
|
|
9587
9587
|
};
|
|
9588
|
-
ListboxOptionSkeleton.displayName = COMPONENT_NAME$
|
|
9589
|
-
ListboxOptionSkeleton.className = CLASSNAME$
|
|
9588
|
+
ListboxOptionSkeleton.displayName = COMPONENT_NAME$1h;
|
|
9589
|
+
ListboxOptionSkeleton.className = CLASSNAME$1f;
|
|
9590
9590
|
|
|
9591
|
-
const CLASSNAME$
|
|
9591
|
+
const CLASSNAME$1e = 'lumx-composite-item__selection-icon';
|
|
9592
9592
|
|
|
9593
9593
|
/** Class names of the previous versions on a listbox option, kept for compatibility (set by the option icon). */
|
|
9594
9594
|
const LEGACY_OPTION_CLASSNAME = 'lumx-listbox-option__selection-icon lumx-combobox-option__selection-icon';
|
|
@@ -9614,7 +9614,7 @@ const CompositeSelectionIcon = ({
|
|
|
9614
9614
|
return /*#__PURE__*/jsx(Icon$1, {
|
|
9615
9615
|
icon: icon,
|
|
9616
9616
|
color: isSelected ? 'primary' : undefined,
|
|
9617
|
-
className: classnames(CLASSNAME$
|
|
9617
|
+
className: classnames(CLASSNAME$1e, className)
|
|
9618
9618
|
});
|
|
9619
9619
|
};
|
|
9620
9620
|
|
|
@@ -9636,12 +9636,12 @@ ListboxOptionSelectionIcon.displayName = 'ComboboxSelectionIcon';
|
|
|
9636
9636
|
/**
|
|
9637
9637
|
* Component display name.
|
|
9638
9638
|
*/
|
|
9639
|
-
const COMPONENT_NAME$
|
|
9639
|
+
const COMPONENT_NAME$1g = 'ListboxSection';
|
|
9640
9640
|
|
|
9641
9641
|
/**
|
|
9642
9642
|
* Component default class name and class prefix.
|
|
9643
9643
|
*/
|
|
9644
|
-
const CLASSNAME$
|
|
9644
|
+
const CLASSNAME$1d = 'lumx-listbox-section';
|
|
9645
9645
|
/**
|
|
9646
9646
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
9647
9647
|
*
|
|
@@ -9674,7 +9674,7 @@ const ListboxSection$1 = (props, {
|
|
|
9674
9674
|
...forwardedProps,
|
|
9675
9675
|
hidden: hidden,
|
|
9676
9676
|
"aria-hidden": ariaHidden || undefined,
|
|
9677
|
-
className: !hidden ? classnames(className, CLASSNAME$
|
|
9677
|
+
className: !hidden ? classnames(className, CLASSNAME$1d, LEGACY_CLASSNAME) : undefined,
|
|
9678
9678
|
role: !ariaHidden ? 'none' : undefined,
|
|
9679
9679
|
itemsWrapperProps: {
|
|
9680
9680
|
role: 'group'
|
|
@@ -9686,16 +9686,16 @@ const ListboxSection$1 = (props, {
|
|
|
9686
9686
|
/**
|
|
9687
9687
|
* Component display name.
|
|
9688
9688
|
*/
|
|
9689
|
-
const COMPONENT_NAME$
|
|
9689
|
+
const COMPONENT_NAME$1f = 'ListSection';
|
|
9690
9690
|
|
|
9691
9691
|
/**
|
|
9692
9692
|
* Component default class name and class prefix.
|
|
9693
9693
|
*/
|
|
9694
|
-
const CLASSNAME$
|
|
9694
|
+
const CLASSNAME$1c = 'lumx-list-section';
|
|
9695
9695
|
const {
|
|
9696
9696
|
block: block$X,
|
|
9697
9697
|
element: element$K
|
|
9698
|
-
} = bem(CLASSNAME$
|
|
9698
|
+
} = bem(CLASSNAME$1c);
|
|
9699
9699
|
|
|
9700
9700
|
/**
|
|
9701
9701
|
* Component default props.
|
|
@@ -9735,15 +9735,15 @@ const ListSection$1 = props => {
|
|
|
9735
9735
|
icon
|
|
9736
9736
|
}), label]
|
|
9737
9737
|
}), /*#__PURE__*/jsx("ul", {
|
|
9738
|
+
"aria-labelledby": hasHeader ? labelId : undefined,
|
|
9738
9739
|
...itemsWrapperProps,
|
|
9739
9740
|
className: element$K('items'),
|
|
9740
|
-
"aria-labelledby": hasHeader ? labelId : undefined,
|
|
9741
9741
|
children: children
|
|
9742
9742
|
})]
|
|
9743
9743
|
});
|
|
9744
9744
|
};
|
|
9745
|
-
ListSection$1.displayName = COMPONENT_NAME$
|
|
9746
|
-
ListSection$1.className = CLASSNAME$
|
|
9745
|
+
ListSection$1.displayName = COMPONENT_NAME$1f;
|
|
9746
|
+
ListSection$1.className = CLASSNAME$1c;
|
|
9747
9747
|
ListSection$1.defaultProps = DEFAULT_PROPS$10;
|
|
9748
9748
|
|
|
9749
9749
|
/**
|
|
@@ -9766,8 +9766,8 @@ const ListSection = forwardRef((props, ref) => {
|
|
|
9766
9766
|
Text
|
|
9767
9767
|
});
|
|
9768
9768
|
});
|
|
9769
|
-
ListSection.displayName = COMPONENT_NAME$
|
|
9770
|
-
ListSection.className = CLASSNAME$
|
|
9769
|
+
ListSection.displayName = COMPONENT_NAME$1f;
|
|
9770
|
+
ListSection.className = CLASSNAME$1c;
|
|
9771
9771
|
ListSection.defaultProps = DEFAULT_PROPS$10;
|
|
9772
9772
|
|
|
9773
9773
|
/**
|
|
@@ -9814,8 +9814,8 @@ const ListboxSection = forwardRef((props, ref) => {
|
|
|
9814
9814
|
ListSection
|
|
9815
9815
|
});
|
|
9816
9816
|
});
|
|
9817
|
-
ListboxSection.displayName = COMPONENT_NAME$
|
|
9818
|
-
ListboxSection.className = CLASSNAME$
|
|
9817
|
+
ListboxSection.displayName = COMPONENT_NAME$1g;
|
|
9818
|
+
ListboxSection.className = CLASSNAME$1d;
|
|
9819
9819
|
|
|
9820
9820
|
/**
|
|
9821
9821
|
* Similar to lodash `partition` function but working with multiple predicates.
|
|
@@ -9837,16 +9837,16 @@ function partitionMulti(elements, predicates) {
|
|
|
9837
9837
|
/**
|
|
9838
9838
|
* Component display name.
|
|
9839
9839
|
*/
|
|
9840
|
-
const COMPONENT_NAME$
|
|
9840
|
+
const COMPONENT_NAME$1e = 'GenericBlock';
|
|
9841
9841
|
|
|
9842
9842
|
/**
|
|
9843
9843
|
* Component default class name and class prefix.
|
|
9844
9844
|
*/
|
|
9845
|
-
const CLASSNAME$
|
|
9845
|
+
const CLASSNAME$1b = 'lumx-generic-block';
|
|
9846
9846
|
const {
|
|
9847
9847
|
block: block$W,
|
|
9848
9848
|
element: element$J
|
|
9849
|
-
} = bem(CLASSNAME$
|
|
9849
|
+
} = bem(CLASSNAME$1b);
|
|
9850
9850
|
|
|
9851
9851
|
/**
|
|
9852
9852
|
* Component default props.
|
|
@@ -9988,8 +9988,8 @@ const BaseGenericBlock = forwardRef((props, ref) => {
|
|
|
9988
9988
|
}) : undefined
|
|
9989
9989
|
});
|
|
9990
9990
|
});
|
|
9991
|
-
BaseGenericBlock.displayName = COMPONENT_NAME$
|
|
9992
|
-
BaseGenericBlock.className = CLASSNAME$
|
|
9991
|
+
BaseGenericBlock.displayName = COMPONENT_NAME$1e;
|
|
9992
|
+
BaseGenericBlock.className = CLASSNAME$1b;
|
|
9993
9993
|
BaseGenericBlock.defaultProps = DEFAULT_PROPS$$;
|
|
9994
9994
|
const GenericBlock = Object.assign(BaseGenericBlock, {
|
|
9995
9995
|
Figure,
|
|
@@ -10049,8 +10049,8 @@ const CompositeStatus = props => {
|
|
|
10049
10049
|
Text
|
|
10050
10050
|
});
|
|
10051
10051
|
};
|
|
10052
|
-
CompositeStatus.displayName = COMPONENT_NAME$
|
|
10053
|
-
CompositeStatus.className = CLASSNAME$
|
|
10052
|
+
CompositeStatus.displayName = COMPONENT_NAME$1p;
|
|
10053
|
+
CompositeStatus.className = CLASSNAME$1n;
|
|
10054
10054
|
|
|
10055
10055
|
const DEFAULT_COMBOBOX_POPOVER_MAX_HEIGHT = '80vh';
|
|
10056
10056
|
|
|
@@ -10546,12 +10546,12 @@ function setupComboboxButton(button, callbacks) {
|
|
|
10546
10546
|
/**
|
|
10547
10547
|
* Component display name.
|
|
10548
10548
|
*/
|
|
10549
|
-
const COMPONENT_NAME$
|
|
10549
|
+
const COMPONENT_NAME$1d = 'ComboboxButton';
|
|
10550
10550
|
|
|
10551
10551
|
/**
|
|
10552
10552
|
* Component default class name and class prefix.
|
|
10553
10553
|
*/
|
|
10554
|
-
const CLASSNAME$
|
|
10554
|
+
const CLASSNAME$1a = 'lumx-combobox-button';
|
|
10555
10555
|
|
|
10556
10556
|
/**
|
|
10557
10557
|
* ComboboxButton core template.
|
|
@@ -10591,7 +10591,7 @@ const ComboboxButton$1 = (props, {
|
|
|
10591
10591
|
const componentProps = {
|
|
10592
10592
|
ref,
|
|
10593
10593
|
...forwardedProps,
|
|
10594
|
-
className: classnames(className, CLASSNAME$
|
|
10594
|
+
className: classnames(className, CLASSNAME$1a),
|
|
10595
10595
|
role: 'combobox',
|
|
10596
10596
|
'aria-controls': listboxId,
|
|
10597
10597
|
'aria-haspopup': 'listbox',
|
|
@@ -10700,8 +10700,8 @@ const ComboboxButton = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
10700
10700
|
Tooltip
|
|
10701
10701
|
});
|
|
10702
10702
|
}), {
|
|
10703
|
-
displayName: COMPONENT_NAME$
|
|
10704
|
-
className: CLASSNAME$
|
|
10703
|
+
displayName: COMPONENT_NAME$1d,
|
|
10704
|
+
className: CLASSNAME$1a
|
|
10705
10705
|
});
|
|
10706
10706
|
|
|
10707
10707
|
/** Options for configuring the input-mode combobox controller. */
|
|
@@ -10885,12 +10885,12 @@ function getDisabledState(context, props) {
|
|
|
10885
10885
|
/**
|
|
10886
10886
|
* Component display name.
|
|
10887
10887
|
*/
|
|
10888
|
-
const COMPONENT_NAME$
|
|
10888
|
+
const COMPONENT_NAME$1c = 'ComboboxInput';
|
|
10889
10889
|
|
|
10890
10890
|
/**
|
|
10891
10891
|
* Component default class name and class prefix.
|
|
10892
10892
|
*/
|
|
10893
|
-
const CLASSNAME$
|
|
10893
|
+
const CLASSNAME$19 = 'lumx-combobox-input';
|
|
10894
10894
|
|
|
10895
10895
|
/**
|
|
10896
10896
|
* ComboboxInput core template.
|
|
@@ -10960,22 +10960,22 @@ const ComboboxInput$1 = (props, {
|
|
|
10960
10960
|
/**
|
|
10961
10961
|
* Component display name.
|
|
10962
10962
|
*/
|
|
10963
|
-
const COMPONENT_NAME$
|
|
10963
|
+
const COMPONENT_NAME$1b = 'TextField';
|
|
10964
10964
|
|
|
10965
10965
|
/**
|
|
10966
10966
|
* Component default class name and class prefix.
|
|
10967
10967
|
*/
|
|
10968
|
-
const CLASSNAME$
|
|
10968
|
+
const CLASSNAME$18 = 'lumx-text-field';
|
|
10969
10969
|
|
|
10970
10970
|
/**
|
|
10971
10971
|
* Input native element class name.
|
|
10972
10972
|
*/
|
|
10973
|
-
const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$
|
|
10973
|
+
const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$18}__input-native`;
|
|
10974
10974
|
|
|
10975
10975
|
const {
|
|
10976
10976
|
block: block$V,
|
|
10977
10977
|
element: element$I
|
|
10978
|
-
} = bem(CLASSNAME$
|
|
10978
|
+
} = bem(CLASSNAME$18);
|
|
10979
10979
|
|
|
10980
10980
|
/**
|
|
10981
10981
|
* Defines the props of the component.
|
|
@@ -11501,8 +11501,8 @@ const TextField = forwardRef((props, ref) => {
|
|
|
11501
11501
|
} : undefined
|
|
11502
11502
|
});
|
|
11503
11503
|
});
|
|
11504
|
-
TextField.displayName = COMPONENT_NAME$
|
|
11505
|
-
TextField.className = CLASSNAME$
|
|
11504
|
+
TextField.displayName = COMPONENT_NAME$1b;
|
|
11505
|
+
TextField.className = CLASSNAME$18;
|
|
11506
11506
|
TextField.defaultProps = DEFAULT_PROPS$X;
|
|
11507
11507
|
|
|
11508
11508
|
/**
|
|
@@ -11600,8 +11600,8 @@ const ComboboxInput = forwardRef((props, ref) => {
|
|
|
11600
11600
|
IconButton
|
|
11601
11601
|
});
|
|
11602
11602
|
});
|
|
11603
|
-
ComboboxInput.displayName = COMPONENT_NAME$
|
|
11604
|
-
ComboboxInput.className = CLASSNAME$
|
|
11603
|
+
ComboboxInput.displayName = COMPONENT_NAME$1c;
|
|
11604
|
+
ComboboxInput.className = CLASSNAME$19;
|
|
11605
11605
|
|
|
11606
11606
|
/**
|
|
11607
11607
|
* Defines the props of the component.
|
|
@@ -11610,15 +11610,15 @@ ComboboxInput.className = CLASSNAME$18;
|
|
|
11610
11610
|
/**
|
|
11611
11611
|
* Component display name.
|
|
11612
11612
|
*/
|
|
11613
|
-
const COMPONENT_NAME$
|
|
11613
|
+
const COMPONENT_NAME$1a = 'FlexBox';
|
|
11614
11614
|
|
|
11615
11615
|
/**
|
|
11616
11616
|
* Component default class name and class prefix.
|
|
11617
11617
|
*/
|
|
11618
|
-
const CLASSNAME$
|
|
11618
|
+
const CLASSNAME$17 = 'lumx-flex-box';
|
|
11619
11619
|
const {
|
|
11620
11620
|
block: block$S
|
|
11621
|
-
} = bem(CLASSNAME$
|
|
11621
|
+
} = bem(CLASSNAME$17);
|
|
11622
11622
|
|
|
11623
11623
|
/**
|
|
11624
11624
|
* Get FlexBox component props (className computation).
|
|
@@ -11658,15 +11658,15 @@ function getFlexBoxProps(props) {
|
|
|
11658
11658
|
/**
|
|
11659
11659
|
* Component display name.
|
|
11660
11660
|
*/
|
|
11661
|
-
const COMPONENT_NAME$
|
|
11661
|
+
const COMPONENT_NAME$19 = 'ScrollBox';
|
|
11662
11662
|
|
|
11663
11663
|
/**
|
|
11664
11664
|
* Component default class name.
|
|
11665
11665
|
*/
|
|
11666
|
-
const CLASSNAME$
|
|
11666
|
+
const CLASSNAME$16 = 'lumx-scroll-box';
|
|
11667
11667
|
const {
|
|
11668
11668
|
block: block$R
|
|
11669
|
-
} = bem(CLASSNAME$
|
|
11669
|
+
} = bem(CLASSNAME$16);
|
|
11670
11670
|
|
|
11671
11671
|
/**
|
|
11672
11672
|
* ScrollBox core template (internal).
|
|
@@ -11696,19 +11696,19 @@ const ScrollBox = props => {
|
|
|
11696
11696
|
children: children
|
|
11697
11697
|
});
|
|
11698
11698
|
};
|
|
11699
|
-
ScrollBox.displayName = COMPONENT_NAME$
|
|
11700
|
-
ScrollBox.className = CLASSNAME$
|
|
11699
|
+
ScrollBox.displayName = COMPONENT_NAME$19;
|
|
11700
|
+
ScrollBox.className = CLASSNAME$16;
|
|
11701
11701
|
|
|
11702
|
-
const COMPONENT_NAME$
|
|
11702
|
+
const COMPONENT_NAME$18 = 'ComboboxPopover';
|
|
11703
11703
|
|
|
11704
11704
|
/**
|
|
11705
11705
|
* Component default class name.
|
|
11706
11706
|
*/
|
|
11707
|
-
const CLASSNAME$
|
|
11707
|
+
const CLASSNAME$15 = COMBOBOX_POPOVER_CLASSNAME;
|
|
11708
11708
|
const {
|
|
11709
11709
|
block: block$Q,
|
|
11710
11710
|
element: element$H
|
|
11711
|
-
} = bem(CLASSNAME$
|
|
11711
|
+
} = bem(CLASSNAME$15);
|
|
11712
11712
|
|
|
11713
11713
|
/**
|
|
11714
11714
|
* Defines the props for the core ComboboxPopover template.
|
|
@@ -11800,8 +11800,8 @@ const ComboboxPopover = props => {
|
|
|
11800
11800
|
Popover
|
|
11801
11801
|
});
|
|
11802
11802
|
};
|
|
11803
|
-
ComboboxPopover.displayName = COMPONENT_NAME$
|
|
11804
|
-
ComboboxPopover.className = CLASSNAME$
|
|
11803
|
+
ComboboxPopover.displayName = COMPONENT_NAME$18;
|
|
11804
|
+
ComboboxPopover.className = CLASSNAME$15;
|
|
11805
11805
|
|
|
11806
11806
|
/**
|
|
11807
11807
|
* Combobox.Provider component.
|
|
@@ -11914,16 +11914,16 @@ const CommentBlockVariant = {
|
|
|
11914
11914
|
/**
|
|
11915
11915
|
* Component display name.
|
|
11916
11916
|
*/
|
|
11917
|
-
const COMPONENT_NAME$
|
|
11917
|
+
const COMPONENT_NAME$17 = 'CommentBlock';
|
|
11918
11918
|
|
|
11919
11919
|
/**
|
|
11920
11920
|
* Component default class name and class prefix.
|
|
11921
11921
|
*/
|
|
11922
|
-
const CLASSNAME$
|
|
11922
|
+
const CLASSNAME$14 = 'lumx-comment-block';
|
|
11923
11923
|
const {
|
|
11924
11924
|
block: block$P,
|
|
11925
11925
|
element: element$G
|
|
11926
|
-
} = classNames.bem(CLASSNAME$
|
|
11926
|
+
} = classNames.bem(CLASSNAME$14);
|
|
11927
11927
|
|
|
11928
11928
|
/**
|
|
11929
11929
|
* Component default props.
|
|
@@ -12025,8 +12025,8 @@ const CommentBlock = forwardRef((props, ref) => {
|
|
|
12025
12025
|
})]
|
|
12026
12026
|
});
|
|
12027
12027
|
});
|
|
12028
|
-
CommentBlock.displayName = COMPONENT_NAME$
|
|
12029
|
-
CommentBlock.className = CLASSNAME$
|
|
12028
|
+
CommentBlock.displayName = COMPONENT_NAME$17;
|
|
12029
|
+
CommentBlock.className = CLASSNAME$14;
|
|
12030
12030
|
CommentBlock.defaultProps = DEFAULT_PROPS$W;
|
|
12031
12031
|
|
|
12032
12032
|
/**
|
|
@@ -12047,12 +12047,12 @@ const isDateValid = date => date instanceof Date && !Number.isNaN(date.getTime()
|
|
|
12047
12047
|
/**
|
|
12048
12048
|
* Component display name.
|
|
12049
12049
|
*/
|
|
12050
|
-
const COMPONENT_NAME$
|
|
12050
|
+
const COMPONENT_NAME$16 = 'DatePicker';
|
|
12051
12051
|
|
|
12052
12052
|
/**
|
|
12053
12053
|
* Component default class name and class prefix.
|
|
12054
12054
|
*/
|
|
12055
|
-
const CLASSNAME$
|
|
12055
|
+
const CLASSNAME$13 = 'lumx-date-picker';
|
|
12056
12056
|
|
|
12057
12057
|
/** Get first day of week for locale from the browser API */
|
|
12058
12058
|
const getFromBrowser = locale => {
|
|
@@ -12275,7 +12275,7 @@ function formatDayNumber(locale, date) {
|
|
|
12275
12275
|
|
|
12276
12276
|
const {
|
|
12277
12277
|
element: element$F
|
|
12278
|
-
} = classNames.bem(CLASSNAME$
|
|
12278
|
+
} = classNames.bem(CLASSNAME$13);
|
|
12279
12279
|
|
|
12280
12280
|
/**
|
|
12281
12281
|
* Defines the props of the component.
|
|
@@ -12284,7 +12284,7 @@ const {
|
|
|
12284
12284
|
/**
|
|
12285
12285
|
* Component display name.
|
|
12286
12286
|
*/
|
|
12287
|
-
const COMPONENT_NAME$
|
|
12287
|
+
const COMPONENT_NAME$15 = 'DatePickerControlled';
|
|
12288
12288
|
|
|
12289
12289
|
/**
|
|
12290
12290
|
* DatePickerControlled component.
|
|
@@ -12369,7 +12369,7 @@ const DatePickerControlled = forwardRef((props, ref) => {
|
|
|
12369
12369
|
const yearLabel = getYearDisplayName(locale);
|
|
12370
12370
|
return /*#__PURE__*/jsxs("div", {
|
|
12371
12371
|
ref: ref,
|
|
12372
|
-
className: `${CLASSNAME$
|
|
12372
|
+
className: `${CLASSNAME$13}`,
|
|
12373
12373
|
style: style,
|
|
12374
12374
|
children: [/*#__PURE__*/jsx(Toolbar, {
|
|
12375
12375
|
className: element$F('toolbar'),
|
|
@@ -12474,8 +12474,8 @@ const DatePickerControlled = forwardRef((props, ref) => {
|
|
|
12474
12474
|
})]
|
|
12475
12475
|
});
|
|
12476
12476
|
});
|
|
12477
|
-
DatePickerControlled.displayName = COMPONENT_NAME$
|
|
12478
|
-
DatePickerControlled.className = CLASSNAME$
|
|
12477
|
+
DatePickerControlled.displayName = COMPONENT_NAME$15;
|
|
12478
|
+
DatePickerControlled.className = CLASSNAME$13;
|
|
12479
12479
|
|
|
12480
12480
|
/**
|
|
12481
12481
|
* DatePicker component.
|
|
@@ -12517,8 +12517,8 @@ const DatePicker = forwardRef((props, ref) => {
|
|
|
12517
12517
|
onMonthChange: setSelectedMonth
|
|
12518
12518
|
});
|
|
12519
12519
|
});
|
|
12520
|
-
DatePicker.displayName = COMPONENT_NAME$
|
|
12521
|
-
DatePicker.className = CLASSNAME$
|
|
12520
|
+
DatePicker.displayName = COMPONENT_NAME$16;
|
|
12521
|
+
DatePicker.className = CLASSNAME$13;
|
|
12522
12522
|
|
|
12523
12523
|
const useBooleanState = defaultValue => {
|
|
12524
12524
|
const [booleanValue, setBoolean] = useState(defaultValue);
|
|
@@ -12531,7 +12531,7 @@ const useBooleanState = defaultValue => {
|
|
|
12531
12531
|
/**
|
|
12532
12532
|
* Component display name.
|
|
12533
12533
|
*/
|
|
12534
|
-
const COMPONENT_NAME$
|
|
12534
|
+
const COMPONENT_NAME$14 = 'DatePickerField';
|
|
12535
12535
|
|
|
12536
12536
|
/**
|
|
12537
12537
|
* DatePickerField component.
|
|
@@ -12620,7 +12620,7 @@ const DatePickerField = forwardRef((props, ref) => {
|
|
|
12620
12620
|
}) : null]
|
|
12621
12621
|
});
|
|
12622
12622
|
});
|
|
12623
|
-
DatePickerField.displayName = COMPONENT_NAME$
|
|
12623
|
+
DatePickerField.displayName = COMPONENT_NAME$14;
|
|
12624
12624
|
|
|
12625
12625
|
/**
|
|
12626
12626
|
* Convenient hook to create interaction observers.
|
|
@@ -12938,7 +12938,7 @@ const DIALOG_LABEL_KEY = 'dialog-label';
|
|
|
12938
12938
|
/**
|
|
12939
12939
|
* Component display name.
|
|
12940
12940
|
*/
|
|
12941
|
-
const COMPONENT_NAME$
|
|
12941
|
+
const COMPONENT_NAME$13 = 'Dialog';
|
|
12942
12942
|
|
|
12943
12943
|
/**
|
|
12944
12944
|
* `DialogHeading` component display name.
|
|
@@ -12948,11 +12948,11 @@ const DIALOG_HEADING_COMPONENT_NAME = 'DialogHeading';
|
|
|
12948
12948
|
/**
|
|
12949
12949
|
* Component default class name and class prefix. Shared by the shell and the container modules.
|
|
12950
12950
|
*/
|
|
12951
|
-
const CLASSNAME$
|
|
12951
|
+
const CLASSNAME$12 = 'lumx-dialog';
|
|
12952
12952
|
const {
|
|
12953
12953
|
block: block$O,
|
|
12954
12954
|
element: element$E
|
|
12955
|
-
} = bem(CLASSNAME$
|
|
12955
|
+
} = bem(CLASSNAME$12);
|
|
12956
12956
|
|
|
12957
12957
|
/**
|
|
12958
12958
|
* Component default props.
|
|
@@ -13439,8 +13439,8 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
13439
13439
|
ref: ref
|
|
13440
13440
|
});
|
|
13441
13441
|
});
|
|
13442
|
-
Dialog.displayName = COMPONENT_NAME$
|
|
13443
|
-
Dialog.className = CLASSNAME$
|
|
13442
|
+
Dialog.displayName = COMPONENT_NAME$13;
|
|
13443
|
+
Dialog.className = CLASSNAME$12;
|
|
13444
13444
|
Dialog.defaultProps = DEFAULT_PROPS$U;
|
|
13445
13445
|
|
|
13446
13446
|
/** The maximum authorized heading level. */
|
|
@@ -13469,12 +13469,12 @@ const defaultContext = {
|
|
|
13469
13469
|
/**
|
|
13470
13470
|
* Component display name.
|
|
13471
13471
|
*/
|
|
13472
|
-
const COMPONENT_NAME$
|
|
13472
|
+
const COMPONENT_NAME$12 = 'Heading';
|
|
13473
13473
|
|
|
13474
13474
|
/**
|
|
13475
13475
|
* Component default class name and class prefix.
|
|
13476
13476
|
*/
|
|
13477
|
-
const CLASSNAME$
|
|
13477
|
+
const CLASSNAME$11 = 'lumx-heading';
|
|
13478
13478
|
|
|
13479
13479
|
/**
|
|
13480
13480
|
* Component default props.
|
|
@@ -13499,7 +13499,7 @@ const getHeadingProps = (props, contextHeadingElement) => {
|
|
|
13499
13499
|
return {
|
|
13500
13500
|
...otherProps,
|
|
13501
13501
|
as: computedHeadingElement,
|
|
13502
|
-
className: classnames(className, CLASSNAME$
|
|
13502
|
+
className: classnames(className, CLASSNAME$11),
|
|
13503
13503
|
typography: typography || DEFAULT_TYPOGRAPHY_BY_LEVEL[computedHeadingElement]
|
|
13504
13504
|
};
|
|
13505
13505
|
};
|
|
@@ -13537,8 +13537,8 @@ const Heading = forwardRef((props, ref) => {
|
|
|
13537
13537
|
children: children
|
|
13538
13538
|
});
|
|
13539
13539
|
});
|
|
13540
|
-
Heading.displayName = COMPONENT_NAME$
|
|
13541
|
-
Heading.className = CLASSNAME$
|
|
13540
|
+
Heading.displayName = COMPONENT_NAME$12;
|
|
13541
|
+
Heading.className = CLASSNAME$11;
|
|
13542
13542
|
Heading.defaultProps = DEFAULT_PROPS$T;
|
|
13543
13543
|
|
|
13544
13544
|
/**
|
|
@@ -13614,15 +13614,15 @@ DialogHeading.displayName = DIALOG_HEADING_COMPONENT_NAME;
|
|
|
13614
13614
|
/**
|
|
13615
13615
|
* Component display name.
|
|
13616
13616
|
*/
|
|
13617
|
-
const COMPONENT_NAME$
|
|
13617
|
+
const COMPONENT_NAME$11 = 'Divider';
|
|
13618
13618
|
|
|
13619
13619
|
/**
|
|
13620
13620
|
* Component default class name and class prefix.
|
|
13621
13621
|
*/
|
|
13622
|
-
const CLASSNAME
|
|
13622
|
+
const CLASSNAME$10 = 'lumx-divider';
|
|
13623
13623
|
const {
|
|
13624
13624
|
block: block$N
|
|
13625
|
-
} = bem(CLASSNAME
|
|
13625
|
+
} = bem(CLASSNAME$10);
|
|
13626
13626
|
|
|
13627
13627
|
/**
|
|
13628
13628
|
* Divider component.
|
|
@@ -13674,22 +13674,22 @@ const Divider = forwardRef((props, ref) => {
|
|
|
13674
13674
|
...otherProps
|
|
13675
13675
|
});
|
|
13676
13676
|
});
|
|
13677
|
-
Divider.displayName = COMPONENT_NAME$
|
|
13678
|
-
Divider.className = CLASSNAME
|
|
13677
|
+
Divider.displayName = COMPONENT_NAME$11;
|
|
13678
|
+
Divider.className = CLASSNAME$10;
|
|
13679
13679
|
Divider.defaultProps = DEFAULT_PROPS$S;
|
|
13680
13680
|
|
|
13681
13681
|
/**
|
|
13682
13682
|
* Component display name.
|
|
13683
13683
|
*/
|
|
13684
|
-
const COMPONENT_NAME
|
|
13684
|
+
const COMPONENT_NAME$10 = 'DragHandle';
|
|
13685
13685
|
|
|
13686
13686
|
/**
|
|
13687
13687
|
* Component default class name and class prefix.
|
|
13688
13688
|
*/
|
|
13689
|
-
const CLASSNAME
|
|
13689
|
+
const CLASSNAME$$ = 'lumx-drag-handle';
|
|
13690
13690
|
const {
|
|
13691
13691
|
block: block$M
|
|
13692
|
-
} = bem(CLASSNAME
|
|
13692
|
+
} = bem(CLASSNAME$$);
|
|
13693
13693
|
|
|
13694
13694
|
/**
|
|
13695
13695
|
* DragHandle component.
|
|
@@ -13746,8 +13746,8 @@ const DragHandle = forwardRef((props, ref) => {
|
|
|
13746
13746
|
...otherProps
|
|
13747
13747
|
});
|
|
13748
13748
|
});
|
|
13749
|
-
DragHandle.displayName = COMPONENT_NAME
|
|
13750
|
-
DragHandle.className = CLASSNAME
|
|
13749
|
+
DragHandle.displayName = COMPONENT_NAME$10;
|
|
13750
|
+
DragHandle.className = CLASSNAME$$;
|
|
13751
13751
|
DragHandle.defaultProps = DEFAULT_PROPS$R;
|
|
13752
13752
|
|
|
13753
13753
|
const INITIAL_INDEX = -1;
|
|
@@ -13944,8 +13944,8 @@ const InternalList = forwardRef((props, ref) => {
|
|
|
13944
13944
|
itemPadding: adjustedItemPadding
|
|
13945
13945
|
});
|
|
13946
13946
|
});
|
|
13947
|
-
InternalList.displayName = COMPONENT_NAME$
|
|
13948
|
-
InternalList.className = CLASSNAME$
|
|
13947
|
+
InternalList.displayName = COMPONENT_NAME$1r;
|
|
13948
|
+
InternalList.className = CLASSNAME$1p;
|
|
13949
13949
|
InternalList.defaultProps = DEFAULT_PROPS$14;
|
|
13950
13950
|
const List = Object.assign(InternalList, {
|
|
13951
13951
|
useKeyboardListNavigation
|
|
@@ -13995,16 +13995,16 @@ const useInfiniteScroll = (ref, callback, callbackOnMount = false, scrollTrigger
|
|
|
13995
13995
|
/**
|
|
13996
13996
|
* Component display name.
|
|
13997
13997
|
*/
|
|
13998
|
-
const COMPONENT_NAME
|
|
13998
|
+
const COMPONENT_NAME$$ = 'Dropdown';
|
|
13999
13999
|
|
|
14000
14000
|
/**
|
|
14001
14001
|
* Component default class name and class prefix.
|
|
14002
14002
|
*/
|
|
14003
|
-
const CLASSNAME$
|
|
14003
|
+
const CLASSNAME$_ = 'lumx-dropdown';
|
|
14004
14004
|
const {
|
|
14005
14005
|
block: block$L,
|
|
14006
14006
|
element: element$D
|
|
14007
|
-
} = classNames.bem(CLASSNAME$
|
|
14007
|
+
} = classNames.bem(CLASSNAME$_);
|
|
14008
14008
|
|
|
14009
14009
|
/**
|
|
14010
14010
|
* Component default props.
|
|
@@ -14088,23 +14088,23 @@ const Dropdown = forwardRef((props, ref) => {
|
|
|
14088
14088
|
})
|
|
14089
14089
|
}) : null;
|
|
14090
14090
|
});
|
|
14091
|
-
Dropdown.displayName = COMPONENT_NAME
|
|
14092
|
-
Dropdown.className = CLASSNAME$
|
|
14091
|
+
Dropdown.displayName = COMPONENT_NAME$$;
|
|
14092
|
+
Dropdown.className = CLASSNAME$_;
|
|
14093
14093
|
Dropdown.defaultProps = DEFAULT_PROPS$Q;
|
|
14094
14094
|
|
|
14095
14095
|
/**
|
|
14096
14096
|
* Component display name.
|
|
14097
14097
|
*/
|
|
14098
|
-
const COMPONENT_NAME$
|
|
14098
|
+
const COMPONENT_NAME$_ = 'ExpansionPanel';
|
|
14099
14099
|
|
|
14100
14100
|
/**
|
|
14101
14101
|
* Component default class name and class prefix.
|
|
14102
14102
|
*/
|
|
14103
|
-
const CLASSNAME$
|
|
14103
|
+
const CLASSNAME$Z = 'lumx-expansion-panel';
|
|
14104
14104
|
const {
|
|
14105
14105
|
block: block$K,
|
|
14106
14106
|
element: element$C
|
|
14107
|
-
} = bem(CLASSNAME$
|
|
14107
|
+
} = bem(CLASSNAME$Z);
|
|
14108
14108
|
|
|
14109
14109
|
/**
|
|
14110
14110
|
* Component default props.
|
|
@@ -14293,17 +14293,17 @@ const ExpansionPanel = forwardRef((props, ref) => {
|
|
|
14293
14293
|
...forwardedProps
|
|
14294
14294
|
});
|
|
14295
14295
|
});
|
|
14296
|
-
ExpansionPanel.displayName = COMPONENT_NAME$
|
|
14297
|
-
ExpansionPanel.className = CLASSNAME$
|
|
14296
|
+
ExpansionPanel.displayName = COMPONENT_NAME$_;
|
|
14297
|
+
ExpansionPanel.className = CLASSNAME$Z;
|
|
14298
14298
|
ExpansionPanel.defaultProps = DEFAULT_PROPS$P;
|
|
14299
14299
|
|
|
14300
|
-
const COMPONENT_NAME$
|
|
14301
|
-
const CLASSNAME$
|
|
14300
|
+
const COMPONENT_NAME$Z = 'Flag';
|
|
14301
|
+
const CLASSNAME$Y = 'lumx-flag';
|
|
14302
14302
|
const DEFAULT_PROPS$O = {};
|
|
14303
14303
|
const {
|
|
14304
14304
|
block: block$J,
|
|
14305
14305
|
element: element$B
|
|
14306
|
-
} = bem(CLASSNAME$
|
|
14306
|
+
} = bem(CLASSNAME$Y);
|
|
14307
14307
|
|
|
14308
14308
|
/**
|
|
14309
14309
|
* Flag component.
|
|
@@ -14361,8 +14361,8 @@ const Flag = forwardRef((props, ref) => {
|
|
|
14361
14361
|
Text
|
|
14362
14362
|
});
|
|
14363
14363
|
});
|
|
14364
|
-
Flag.displayName = COMPONENT_NAME$
|
|
14365
|
-
Flag.className = CLASSNAME$
|
|
14364
|
+
Flag.displayName = COMPONENT_NAME$Z;
|
|
14365
|
+
Flag.className = CLASSNAME$Y;
|
|
14366
14366
|
Flag.defaultProps = DEFAULT_PROPS$O;
|
|
14367
14367
|
|
|
14368
14368
|
/**
|
|
@@ -14384,21 +14384,21 @@ const FlexBox = forwardRef((props, ref) => {
|
|
|
14384
14384
|
children: children
|
|
14385
14385
|
});
|
|
14386
14386
|
});
|
|
14387
|
-
FlexBox.displayName = COMPONENT_NAME$
|
|
14388
|
-
FlexBox.className = CLASSNAME$
|
|
14387
|
+
FlexBox.displayName = COMPONENT_NAME$1a;
|
|
14388
|
+
FlexBox.className = CLASSNAME$17;
|
|
14389
14389
|
|
|
14390
14390
|
/**
|
|
14391
14391
|
* Component display name.
|
|
14392
14392
|
*/
|
|
14393
|
-
const COMPONENT_NAME$
|
|
14393
|
+
const COMPONENT_NAME$Y = 'Grid';
|
|
14394
14394
|
|
|
14395
14395
|
/**
|
|
14396
14396
|
* Component default class name and class prefix.
|
|
14397
14397
|
*/
|
|
14398
|
-
const CLASSNAME$
|
|
14398
|
+
const CLASSNAME$X = 'lumx-grid';
|
|
14399
14399
|
const {
|
|
14400
14400
|
block: block$I
|
|
14401
|
-
} = classNames.bem(CLASSNAME$
|
|
14401
|
+
} = classNames.bem(CLASSNAME$X);
|
|
14402
14402
|
|
|
14403
14403
|
/**
|
|
14404
14404
|
* Component default props.
|
|
@@ -14429,7 +14429,7 @@ const Grid = forwardRef((props, ref) => {
|
|
|
14429
14429
|
return /*#__PURE__*/jsx("div", {
|
|
14430
14430
|
ref: ref,
|
|
14431
14431
|
...forwardedProps,
|
|
14432
|
-
className: classNames.join(className, classNames.bem(`${CLASSNAME$
|
|
14432
|
+
className: classNames.join(className, classNames.bem(`${CLASSNAME$X}-container`).block(), block$I({
|
|
14433
14433
|
[`h-align-${hAlign}`]: Boolean(hAlign),
|
|
14434
14434
|
[`v-align-${vAlign}`]: Boolean(vAlign),
|
|
14435
14435
|
[`orientation-${orientation}`]: Boolean(orientation),
|
|
@@ -14439,22 +14439,22 @@ const Grid = forwardRef((props, ref) => {
|
|
|
14439
14439
|
children: children
|
|
14440
14440
|
});
|
|
14441
14441
|
});
|
|
14442
|
-
Grid.displayName = COMPONENT_NAME$
|
|
14443
|
-
Grid.className = CLASSNAME$
|
|
14442
|
+
Grid.displayName = COMPONENT_NAME$Y;
|
|
14443
|
+
Grid.className = CLASSNAME$X;
|
|
14444
14444
|
Grid.defaultProps = DEFAULT_PROPS$N;
|
|
14445
14445
|
|
|
14446
14446
|
/**
|
|
14447
14447
|
* Component display name.
|
|
14448
14448
|
*/
|
|
14449
|
-
const COMPONENT_NAME$
|
|
14449
|
+
const COMPONENT_NAME$X = 'GridItem';
|
|
14450
14450
|
|
|
14451
14451
|
/**
|
|
14452
14452
|
* Component default class name and class prefix.
|
|
14453
14453
|
*/
|
|
14454
|
-
const CLASSNAME$
|
|
14454
|
+
const CLASSNAME$W = 'lumx-grid-item';
|
|
14455
14455
|
const {
|
|
14456
14456
|
block: block$H
|
|
14457
|
-
} = classNames.bem(CLASSNAME$
|
|
14457
|
+
} = classNames.bem(CLASSNAME$W);
|
|
14458
14458
|
|
|
14459
14459
|
/**
|
|
14460
14460
|
* GridItem component.
|
|
@@ -14483,18 +14483,18 @@ const GridItem = forwardRef((props, ref) => {
|
|
|
14483
14483
|
children: children
|
|
14484
14484
|
});
|
|
14485
14485
|
});
|
|
14486
|
-
GridItem.displayName = COMPONENT_NAME$
|
|
14487
|
-
GridItem.className = CLASSNAME$
|
|
14486
|
+
GridItem.displayName = COMPONENT_NAME$X;
|
|
14487
|
+
GridItem.className = CLASSNAME$W;
|
|
14488
14488
|
|
|
14489
14489
|
/**
|
|
14490
14490
|
* Component display name.
|
|
14491
14491
|
*/
|
|
14492
|
-
const COMPONENT_NAME$
|
|
14492
|
+
const COMPONENT_NAME$W = 'GridColumn';
|
|
14493
14493
|
|
|
14494
14494
|
/**
|
|
14495
14495
|
* Component default class name and class prefix.
|
|
14496
14496
|
*/
|
|
14497
|
-
const CLASSNAME$
|
|
14497
|
+
const CLASSNAME$V = 'lumx-grid-column';
|
|
14498
14498
|
|
|
14499
14499
|
/**
|
|
14500
14500
|
* Component default props.
|
|
@@ -14524,7 +14524,7 @@ const GridColumn$1 = props => {
|
|
|
14524
14524
|
return /*#__PURE__*/jsx(Component, {
|
|
14525
14525
|
...forwardedProps,
|
|
14526
14526
|
ref: ref,
|
|
14527
|
-
className: classnames(className, CLASSNAME$
|
|
14527
|
+
className: classnames(className, CLASSNAME$V),
|
|
14528
14528
|
style: {
|
|
14529
14529
|
...style,
|
|
14530
14530
|
['--lumx-grid-column-item-min-width']: isInteger(itemMinWidth) && `${itemMinWidth}px`,
|
|
@@ -14534,8 +14534,8 @@ const GridColumn$1 = props => {
|
|
|
14534
14534
|
children: children
|
|
14535
14535
|
});
|
|
14536
14536
|
};
|
|
14537
|
-
GridColumn$1.displayName = COMPONENT_NAME$
|
|
14538
|
-
GridColumn$1.className = CLASSNAME$
|
|
14537
|
+
GridColumn$1.displayName = COMPONENT_NAME$W;
|
|
14538
|
+
GridColumn$1.className = CLASSNAME$V;
|
|
14539
14539
|
GridColumn$1.defaultProps = DEFAULT_PROPS$M;
|
|
14540
14540
|
|
|
14541
14541
|
/**
|
|
@@ -14564,8 +14564,8 @@ const GridColumn = forwardRef((props, ref) => {
|
|
|
14564
14564
|
...props
|
|
14565
14565
|
});
|
|
14566
14566
|
});
|
|
14567
|
-
GridColumn.displayName = COMPONENT_NAME$
|
|
14568
|
-
GridColumn.className = CLASSNAME$
|
|
14567
|
+
GridColumn.displayName = COMPONENT_NAME$W;
|
|
14568
|
+
GridColumn.className = CLASSNAME$V;
|
|
14569
14569
|
GridColumn.defaultProps = DEFAULT_PROPS$L;
|
|
14570
14570
|
|
|
14571
14571
|
/**
|
|
@@ -14587,16 +14587,16 @@ const ImageBlockCaptionPosition = {
|
|
|
14587
14587
|
/**
|
|
14588
14588
|
* Component display name.
|
|
14589
14589
|
*/
|
|
14590
|
-
const COMPONENT_NAME$
|
|
14590
|
+
const COMPONENT_NAME$V = 'ImageBlock';
|
|
14591
14591
|
|
|
14592
14592
|
/**
|
|
14593
14593
|
* Component default class name and class prefix.
|
|
14594
14594
|
*/
|
|
14595
|
-
const CLASSNAME$
|
|
14595
|
+
const CLASSNAME$U = 'lumx-image-block';
|
|
14596
14596
|
const {
|
|
14597
14597
|
block: block$G,
|
|
14598
14598
|
element: element$A
|
|
14599
|
-
} = bem(CLASSNAME$
|
|
14599
|
+
} = bem(CLASSNAME$U);
|
|
14600
14600
|
|
|
14601
14601
|
/**
|
|
14602
14602
|
* Component default props.
|
|
@@ -14657,7 +14657,7 @@ const ImageBlock$1 = props => {
|
|
|
14657
14657
|
alt: alt || title
|
|
14658
14658
|
}), /*#__PURE__*/jsx(ImageCaption, {
|
|
14659
14659
|
as: "figcaption",
|
|
14660
|
-
baseClassName: CLASSNAME$
|
|
14660
|
+
baseClassName: CLASSNAME$U,
|
|
14661
14661
|
theme: theme,
|
|
14662
14662
|
title: title,
|
|
14663
14663
|
titleProps: titleProps,
|
|
@@ -14788,19 +14788,19 @@ const ImageBlock = forwardRef((props, ref) => {
|
|
|
14788
14788
|
ImageCaption
|
|
14789
14789
|
});
|
|
14790
14790
|
});
|
|
14791
|
-
ImageBlock.displayName = COMPONENT_NAME$
|
|
14792
|
-
ImageBlock.className = CLASSNAME$
|
|
14791
|
+
ImageBlock.displayName = COMPONENT_NAME$V;
|
|
14792
|
+
ImageBlock.className = CLASSNAME$U;
|
|
14793
14793
|
ImageBlock.defaultProps = DEFAULT_PROPS$K;
|
|
14794
14794
|
|
|
14795
14795
|
/**
|
|
14796
14796
|
* Component display name.
|
|
14797
14797
|
*/
|
|
14798
|
-
const COMPONENT_NAME$
|
|
14798
|
+
const COMPONENT_NAME$U = 'ImageLightbox';
|
|
14799
14799
|
|
|
14800
14800
|
/**
|
|
14801
14801
|
* Component default class name and class prefix.
|
|
14802
14802
|
*/
|
|
14803
|
-
const CLASSNAME$
|
|
14803
|
+
const CLASSNAME$T = 'lumx-image-lightbox';
|
|
14804
14804
|
|
|
14805
14805
|
/**
|
|
14806
14806
|
* Observe element size (only works if it's size depends on the window size).
|
|
@@ -15046,7 +15046,7 @@ function useAnimateScroll(scrollAreaRef) {
|
|
|
15046
15046
|
|
|
15047
15047
|
const {
|
|
15048
15048
|
element: element$z
|
|
15049
|
-
} = classNames.bem(CLASSNAME$
|
|
15049
|
+
} = classNames.bem(CLASSNAME$T);
|
|
15050
15050
|
/** Internal image slide component for ImageLightbox */
|
|
15051
15051
|
const ImageSlide = /*#__PURE__*/React__default.memo(props => {
|
|
15052
15052
|
const {
|
|
@@ -15138,7 +15138,7 @@ const ImageSlide = /*#__PURE__*/React__default.memo(props => {
|
|
|
15138
15138
|
|
|
15139
15139
|
const {
|
|
15140
15140
|
element: element$y
|
|
15141
|
-
} = classNames.bem(CLASSNAME$
|
|
15141
|
+
} = classNames.bem(CLASSNAME$T);
|
|
15142
15142
|
/** Internal image slideshow component for ImageLightbox */
|
|
15143
15143
|
const ImageSlideshow = ({
|
|
15144
15144
|
activeImageIndex,
|
|
@@ -15378,7 +15378,7 @@ function useImageLightbox(props) {
|
|
|
15378
15378
|
viewTransitionName: {
|
|
15379
15379
|
source: currentImageRef,
|
|
15380
15380
|
target: triggerImageRefs[currentIndex],
|
|
15381
|
-
name: CLASSNAME$
|
|
15381
|
+
name: CLASSNAME$T
|
|
15382
15382
|
}
|
|
15383
15383
|
});
|
|
15384
15384
|
}
|
|
@@ -15430,7 +15430,7 @@ function useImageLightbox(props) {
|
|
|
15430
15430
|
viewTransitionName: {
|
|
15431
15431
|
source: triggerImage,
|
|
15432
15432
|
target: currentImageRef,
|
|
15433
|
-
name: CLASSNAME$
|
|
15433
|
+
name: CLASSNAME$T
|
|
15434
15434
|
}
|
|
15435
15435
|
});
|
|
15436
15436
|
}
|
|
@@ -15485,7 +15485,7 @@ const Inner = forwardRef((props, ref) => {
|
|
|
15485
15485
|
}, [onClose]);
|
|
15486
15486
|
return /*#__PURE__*/jsx(Lightbox, {
|
|
15487
15487
|
ref: ref,
|
|
15488
|
-
className: classNames.join(className, CLASSNAME$
|
|
15488
|
+
className: classNames.join(className, CLASSNAME$T),
|
|
15489
15489
|
parentElement: parentElement,
|
|
15490
15490
|
isOpen: isOpen,
|
|
15491
15491
|
onClose: onClose,
|
|
@@ -15514,8 +15514,8 @@ const Inner = forwardRef((props, ref) => {
|
|
|
15514
15514
|
})
|
|
15515
15515
|
});
|
|
15516
15516
|
});
|
|
15517
|
-
Inner.displayName = COMPONENT_NAME$
|
|
15518
|
-
Inner.className = CLASSNAME$
|
|
15517
|
+
Inner.displayName = COMPONENT_NAME$U;
|
|
15518
|
+
Inner.className = CLASSNAME$T;
|
|
15519
15519
|
|
|
15520
15520
|
/**
|
|
15521
15521
|
* ImageLightbox component.
|
|
@@ -15531,16 +15531,16 @@ const ImageLightbox = Object.assign(Inner, {
|
|
|
15531
15531
|
/**
|
|
15532
15532
|
* Component display name.
|
|
15533
15533
|
*/
|
|
15534
|
-
const COMPONENT_NAME$
|
|
15534
|
+
const COMPONENT_NAME$T = 'InlineList';
|
|
15535
15535
|
|
|
15536
15536
|
/**
|
|
15537
15537
|
* Component default class name and class prefix.
|
|
15538
15538
|
*/
|
|
15539
|
-
const CLASSNAME$
|
|
15539
|
+
const CLASSNAME$S = 'lumx-inline-list';
|
|
15540
15540
|
const {
|
|
15541
15541
|
block: block$F,
|
|
15542
15542
|
element: element$x
|
|
15543
|
-
} = bem(CLASSNAME$
|
|
15543
|
+
} = bem(CLASSNAME$S);
|
|
15544
15544
|
|
|
15545
15545
|
/**
|
|
15546
15546
|
* Component default props.
|
|
@@ -15592,8 +15592,8 @@ const InlineList$1 = props => {
|
|
|
15592
15592
|
})
|
|
15593
15593
|
);
|
|
15594
15594
|
};
|
|
15595
|
-
InlineList$1.displayName = COMPONENT_NAME$
|
|
15596
|
-
InlineList$1.className = CLASSNAME$
|
|
15595
|
+
InlineList$1.displayName = COMPONENT_NAME$T;
|
|
15596
|
+
InlineList$1.className = CLASSNAME$S;
|
|
15597
15597
|
InlineList$1.defaultProps = DEFAULT_PROPS$J;
|
|
15598
15598
|
|
|
15599
15599
|
/**
|
|
@@ -15618,8 +15618,8 @@ const InlineList = forwardRef((props, ref) => {
|
|
|
15618
15618
|
items: Children.toArray(children)
|
|
15619
15619
|
});
|
|
15620
15620
|
});
|
|
15621
|
-
InlineList.displayName = COMPONENT_NAME$
|
|
15622
|
-
InlineList.className = CLASSNAME$
|
|
15621
|
+
InlineList.displayName = COMPONENT_NAME$T;
|
|
15622
|
+
InlineList.className = CLASSNAME$S;
|
|
15623
15623
|
InlineList.defaultProps = DEFAULT_PROPS$J;
|
|
15624
15624
|
|
|
15625
15625
|
/**
|
|
@@ -15660,18 +15660,18 @@ InputLabel.displayName = InputLabel$1.displayName;
|
|
|
15660
15660
|
InputLabel.className = InputLabel$1.className;
|
|
15661
15661
|
InputLabel.defaultProps = InputLabel$1.defaultProps;
|
|
15662
15662
|
|
|
15663
|
-
const COMPONENT_NAME$
|
|
15663
|
+
const COMPONENT_NAME$S = 'InputRequiredLegend';
|
|
15664
15664
|
const InputRequiredLegendClassName = 'lumx-input-required-legend';
|
|
15665
15665
|
|
|
15666
15666
|
/**
|
|
15667
15667
|
* Defines the props of the component.
|
|
15668
15668
|
*/
|
|
15669
15669
|
|
|
15670
|
-
const CLASSNAME$
|
|
15670
|
+
const CLASSNAME$R = InputRequiredLegendClassName;
|
|
15671
15671
|
const {
|
|
15672
15672
|
block: block$E,
|
|
15673
15673
|
element: element$w
|
|
15674
|
-
} = bem(CLASSNAME$
|
|
15674
|
+
} = bem(CLASSNAME$R);
|
|
15675
15675
|
|
|
15676
15676
|
/**
|
|
15677
15677
|
* Component default props.
|
|
@@ -15704,8 +15704,8 @@ function InputRequiredLegend$1(props) {
|
|
|
15704
15704
|
}), label]
|
|
15705
15705
|
});
|
|
15706
15706
|
}
|
|
15707
|
-
InputRequiredLegend$1.displayName = COMPONENT_NAME$
|
|
15708
|
-
InputRequiredLegend$1.className = CLASSNAME$
|
|
15707
|
+
InputRequiredLegend$1.displayName = COMPONENT_NAME$S;
|
|
15708
|
+
InputRequiredLegend$1.className = CLASSNAME$R;
|
|
15709
15709
|
InputRequiredLegend$1.defaultProps = DEFAULT_PROPS$I;
|
|
15710
15710
|
|
|
15711
15711
|
/**
|
|
@@ -15730,16 +15730,16 @@ InputRequiredLegend.defaultProps = InputRequiredLegend$1.defaultProps;
|
|
|
15730
15730
|
/**
|
|
15731
15731
|
* Component display name.
|
|
15732
15732
|
*/
|
|
15733
|
-
const COMPONENT_NAME$
|
|
15733
|
+
const COMPONENT_NAME$R = 'Lightbox';
|
|
15734
15734
|
|
|
15735
15735
|
/**
|
|
15736
15736
|
* Component default class name and class prefix.
|
|
15737
15737
|
*/
|
|
15738
|
-
const CLASSNAME$
|
|
15738
|
+
const CLASSNAME$Q = 'lumx-lightbox';
|
|
15739
15739
|
const {
|
|
15740
15740
|
block: block$D,
|
|
15741
15741
|
element: element$v
|
|
15742
|
-
} = bem(CLASSNAME$
|
|
15742
|
+
} = bem(CLASSNAME$Q);
|
|
15743
15743
|
|
|
15744
15744
|
/**
|
|
15745
15745
|
* Lightbox component.
|
|
@@ -15926,8 +15926,8 @@ const Lightbox = forwardRef((props, ref) => {
|
|
|
15926
15926
|
})
|
|
15927
15927
|
});
|
|
15928
15928
|
});
|
|
15929
|
-
Lightbox.displayName = COMPONENT_NAME$
|
|
15930
|
-
Lightbox.className = CLASSNAME$
|
|
15929
|
+
Lightbox.displayName = COMPONENT_NAME$R;
|
|
15930
|
+
Lightbox.className = CLASSNAME$Q;
|
|
15931
15931
|
|
|
15932
15932
|
/**
|
|
15933
15933
|
* Defines the props of the component.
|
|
@@ -15936,15 +15936,15 @@ Lightbox.className = CLASSNAME$P;
|
|
|
15936
15936
|
/**
|
|
15937
15937
|
* Component display name.
|
|
15938
15938
|
*/
|
|
15939
|
-
const COMPONENT_NAME$
|
|
15939
|
+
const COMPONENT_NAME$Q = 'Link';
|
|
15940
15940
|
|
|
15941
15941
|
/**
|
|
15942
15942
|
* Component default class name and class prefix.
|
|
15943
15943
|
*/
|
|
15944
|
-
const CLASSNAME$
|
|
15944
|
+
const CLASSNAME$P = 'lumx-link';
|
|
15945
15945
|
const {
|
|
15946
15946
|
block: block$C
|
|
15947
|
-
} = bem(CLASSNAME$
|
|
15947
|
+
} = bem(CLASSNAME$P);
|
|
15948
15948
|
|
|
15949
15949
|
/**
|
|
15950
15950
|
* Link component.
|
|
@@ -15983,7 +15983,7 @@ const Link$1 = props => {
|
|
|
15983
15983
|
|
|
15984
15984
|
const {
|
|
15985
15985
|
element: element$u
|
|
15986
|
-
} = classNames.bem(CLASSNAME$
|
|
15986
|
+
} = classNames.bem(CLASSNAME$P);
|
|
15987
15987
|
|
|
15988
15988
|
/**
|
|
15989
15989
|
* Defines the props of the component.
|
|
@@ -16029,22 +16029,22 @@ const Link = forwardRef((props, ref) => {
|
|
|
16029
16029
|
}))
|
|
16030
16030
|
});
|
|
16031
16031
|
});
|
|
16032
|
-
Link.displayName = COMPONENT_NAME$
|
|
16033
|
-
Link.className = CLASSNAME$
|
|
16032
|
+
Link.displayName = COMPONENT_NAME$Q;
|
|
16033
|
+
Link.className = CLASSNAME$P;
|
|
16034
16034
|
|
|
16035
16035
|
/**
|
|
16036
16036
|
* Component display name.
|
|
16037
16037
|
*/
|
|
16038
|
-
const COMPONENT_NAME$
|
|
16038
|
+
const COMPONENT_NAME$P = 'LinkPreview';
|
|
16039
16039
|
|
|
16040
16040
|
/**
|
|
16041
16041
|
* Component default class name and class prefix.
|
|
16042
16042
|
*/
|
|
16043
|
-
const CLASSNAME$
|
|
16043
|
+
const CLASSNAME$O = 'lumx-link-preview';
|
|
16044
16044
|
const {
|
|
16045
16045
|
block: block$B,
|
|
16046
16046
|
element: element$t
|
|
16047
|
-
} = bem(CLASSNAME$
|
|
16047
|
+
} = bem(CLASSNAME$O);
|
|
16048
16048
|
|
|
16049
16049
|
/**
|
|
16050
16050
|
* Component default props.
|
|
@@ -16170,8 +16170,8 @@ const LinkPreview = forwardRef((props, ref) => {
|
|
|
16170
16170
|
...forwardedProps
|
|
16171
16171
|
});
|
|
16172
16172
|
});
|
|
16173
|
-
LinkPreview.displayName = COMPONENT_NAME$
|
|
16174
|
-
LinkPreview.className = CLASSNAME$
|
|
16173
|
+
LinkPreview.displayName = COMPONENT_NAME$P;
|
|
16174
|
+
LinkPreview.className = CLASSNAME$O;
|
|
16175
16175
|
LinkPreview.defaultProps = DEFAULT_PROPS$H;
|
|
16176
16176
|
|
|
16177
16177
|
/**
|
|
@@ -16203,8 +16203,8 @@ const ListItemAction = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
16203
16203
|
children
|
|
16204
16204
|
});
|
|
16205
16205
|
}), {
|
|
16206
|
-
displayName: COMPONENT_NAME$
|
|
16207
|
-
className: CLASSNAME$
|
|
16206
|
+
displayName: COMPONENT_NAME$1n,
|
|
16207
|
+
className: CLASSNAME$1l,
|
|
16208
16208
|
defaultProps: DEFAULT_PROPS$12
|
|
16209
16209
|
});
|
|
16210
16210
|
|
|
@@ -16245,8 +16245,8 @@ const _ListItem = forwardRef((props, ref) => {
|
|
|
16245
16245
|
handleClick: onItemSelected || props.onClick ? handleClick : undefined
|
|
16246
16246
|
});
|
|
16247
16247
|
});
|
|
16248
|
-
_ListItem.displayName = COMPONENT_NAME$
|
|
16249
|
-
_ListItem.className = CLASSNAME$
|
|
16248
|
+
_ListItem.displayName = COMPONENT_NAME$1o;
|
|
16249
|
+
_ListItem.className = CLASSNAME$1m;
|
|
16250
16250
|
_ListItem.defaultProps = DEFAULT_PROPS$13;
|
|
16251
16251
|
|
|
16252
16252
|
/**
|
|
@@ -16260,12 +16260,12 @@ const ListItem = Object.assign(_ListItem, {
|
|
|
16260
16260
|
/**
|
|
16261
16261
|
* Component display name.
|
|
16262
16262
|
*/
|
|
16263
|
-
const COMPONENT_NAME$
|
|
16263
|
+
const COMPONENT_NAME$O = 'ListSubheader';
|
|
16264
16264
|
|
|
16265
16265
|
/**
|
|
16266
16266
|
* Component default class name and class prefix.
|
|
16267
16267
|
*/
|
|
16268
|
-
const CLASSNAME$
|
|
16268
|
+
const CLASSNAME$N = 'lumx-list-subheader';
|
|
16269
16269
|
|
|
16270
16270
|
/**
|
|
16271
16271
|
* ListSubheader component.
|
|
@@ -16284,12 +16284,12 @@ const ListSubheader = forwardRef((props, ref) => {
|
|
|
16284
16284
|
return /*#__PURE__*/jsx("li", {
|
|
16285
16285
|
ref: ref,
|
|
16286
16286
|
...forwardedProps,
|
|
16287
|
-
className: classNames.join(className, CLASSNAME$
|
|
16287
|
+
className: classNames.join(className, CLASSNAME$N),
|
|
16288
16288
|
children: children
|
|
16289
16289
|
});
|
|
16290
16290
|
});
|
|
16291
|
-
ListSubheader.displayName = COMPONENT_NAME$
|
|
16292
|
-
ListSubheader.className = CLASSNAME$
|
|
16291
|
+
ListSubheader.displayName = COMPONENT_NAME$O;
|
|
16292
|
+
ListSubheader.className = CLASSNAME$N;
|
|
16293
16293
|
|
|
16294
16294
|
const DEFAULT_PROPS$G = {
|
|
16295
16295
|
variant: 'button'
|
|
@@ -16301,7 +16301,7 @@ const DEFAULT_PROPS$G = {
|
|
|
16301
16301
|
|
|
16302
16302
|
/** Discriminated union of MenuButton props across all trigger variants. */
|
|
16303
16303
|
|
|
16304
|
-
const COMPONENT_NAME$
|
|
16304
|
+
const COMPONENT_NAME$N = 'MenuButton';
|
|
16305
16305
|
|
|
16306
16306
|
/** Menu button core template (composition of menu provider, trigger, popover and list) */
|
|
16307
16307
|
const MenuButton$1 = (props, {
|
|
@@ -16729,8 +16729,8 @@ function MenuProvider(props) {
|
|
|
16729
16729
|
}
|
|
16730
16730
|
MenuProvider.displayName = 'Menu.Provider';
|
|
16731
16731
|
|
|
16732
|
-
const COMPONENT_NAME$
|
|
16733
|
-
const CLASSNAME$
|
|
16732
|
+
const COMPONENT_NAME$M = 'MenuTrigger';
|
|
16733
|
+
const CLASSNAME$M = 'lumx-menu-trigger';
|
|
16734
16734
|
|
|
16735
16735
|
/** MenuTrigger core template. Renders `Trigger` with disclosure ARIA attributes. */
|
|
16736
16736
|
const MenuTrigger$1 = (props, {
|
|
@@ -16747,7 +16747,7 @@ const MenuTrigger$1 = (props, {
|
|
|
16747
16747
|
return /*#__PURE__*/jsx(Trigger, {
|
|
16748
16748
|
ref: ref,
|
|
16749
16749
|
...forwardedProps,
|
|
16750
|
-
className: classnames(className, CLASSNAME$
|
|
16750
|
+
className: classnames(className, CLASSNAME$M),
|
|
16751
16751
|
"aria-haspopup": "true",
|
|
16752
16752
|
"aria-controls": menuId,
|
|
16753
16753
|
"aria-expanded": isOpen ? 'true' : 'false',
|
|
@@ -16830,16 +16830,16 @@ const MenuTrigger = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
16830
16830
|
Trigger: TriggerComp
|
|
16831
16831
|
});
|
|
16832
16832
|
}), {
|
|
16833
|
-
displayName: COMPONENT_NAME$
|
|
16834
|
-
className: CLASSNAME$
|
|
16833
|
+
displayName: COMPONENT_NAME$M,
|
|
16834
|
+
className: CLASSNAME$M
|
|
16835
16835
|
});
|
|
16836
16836
|
|
|
16837
|
-
const COMPONENT_NAME$
|
|
16838
|
-
const CLASSNAME$
|
|
16837
|
+
const COMPONENT_NAME$L = 'MenuPopover';
|
|
16838
|
+
const CLASSNAME$L = 'lumx-menu-popover';
|
|
16839
16839
|
const {
|
|
16840
16840
|
block: block$A,
|
|
16841
16841
|
element: element$s
|
|
16842
|
-
} = bem(CLASSNAME$
|
|
16842
|
+
} = bem(CLASSNAME$L);
|
|
16843
16843
|
|
|
16844
16844
|
/** MenuPopover core template. Renders a `Popover` with menu-friendly defaults. */
|
|
16845
16845
|
const MenuPopover$1 = (props, {
|
|
@@ -16905,13 +16905,13 @@ const MenuPopover = props => {
|
|
|
16905
16905
|
Popover
|
|
16906
16906
|
});
|
|
16907
16907
|
};
|
|
16908
|
-
MenuPopover.displayName = COMPONENT_NAME$
|
|
16909
|
-
MenuPopover.className = CLASSNAME$
|
|
16908
|
+
MenuPopover.displayName = COMPONENT_NAME$L;
|
|
16909
|
+
MenuPopover.className = CLASSNAME$L;
|
|
16910
16910
|
|
|
16911
16911
|
/** Menu list props. */
|
|
16912
16912
|
|
|
16913
|
-
const COMPONENT_NAME$
|
|
16914
|
-
const CLASSNAME$
|
|
16913
|
+
const COMPONENT_NAME$K = 'Menu';
|
|
16914
|
+
const CLASSNAME$K = 'lumx-menu';
|
|
16915
16915
|
|
|
16916
16916
|
/** MenuList core template. Wraps `List` with menu-specific class and ARIA labelling. */
|
|
16917
16917
|
const MenuList$1 = props => {
|
|
@@ -16927,7 +16927,7 @@ const MenuList$1 = props => {
|
|
|
16927
16927
|
...rest,
|
|
16928
16928
|
ref,
|
|
16929
16929
|
id,
|
|
16930
|
-
className: classnames(className, CLASSNAME$
|
|
16930
|
+
className: classnames(className, CLASSNAME$K),
|
|
16931
16931
|
itemPadding: 'big',
|
|
16932
16932
|
'aria-labelledby': ariaLabelledby,
|
|
16933
16933
|
children
|
|
@@ -16973,8 +16973,8 @@ const MenuList = forwardRef((props, ref) => {
|
|
|
16973
16973
|
children: isOpen ? children : null
|
|
16974
16974
|
});
|
|
16975
16975
|
});
|
|
16976
|
-
MenuList.displayName = COMPONENT_NAME$
|
|
16977
|
-
MenuList.className = CLASSNAME$
|
|
16976
|
+
MenuList.displayName = COMPONENT_NAME$K;
|
|
16977
|
+
MenuList.className = CLASSNAME$K;
|
|
16978
16978
|
|
|
16979
16979
|
/** Props that MenuButton explicitly declares. */
|
|
16980
16980
|
|
|
@@ -17021,19 +17021,19 @@ const MenuButton = forwardRef((props, ref) => {
|
|
|
17021
17021
|
MenuList
|
|
17022
17022
|
});
|
|
17023
17023
|
});
|
|
17024
|
-
MenuButton.displayName = COMPONENT_NAME$
|
|
17024
|
+
MenuButton.displayName = COMPONENT_NAME$N;
|
|
17025
17025
|
MenuButton.defaultProps = DEFAULT_PROPS$G;
|
|
17026
17026
|
|
|
17027
17027
|
/** MenuItem props. */
|
|
17028
17028
|
|
|
17029
17029
|
/** Props overridden by framework wrappers. */
|
|
17030
17030
|
|
|
17031
|
-
const COMPONENT_NAME$
|
|
17032
|
-
const CLASSNAME$
|
|
17031
|
+
const COMPONENT_NAME$J = 'MenuItem';
|
|
17032
|
+
const CLASSNAME$J = 'lumx-menu-item';
|
|
17033
17033
|
const {
|
|
17034
17034
|
block: block$z,
|
|
17035
17035
|
element: element$r
|
|
17036
|
-
} = bem(CLASSNAME$
|
|
17036
|
+
} = bem(CLASSNAME$J);
|
|
17037
17037
|
|
|
17038
17038
|
/** MenuItem core template. Renders a `ListItem` with a `ListItemAction`. */
|
|
17039
17039
|
const MenuItem$1 = props => {
|
|
@@ -17144,22 +17144,22 @@ const MenuItem = forwardRef((props, ref) => {
|
|
|
17144
17144
|
handleClick
|
|
17145
17145
|
});
|
|
17146
17146
|
});
|
|
17147
|
-
MenuItem.displayName = COMPONENT_NAME$
|
|
17148
|
-
MenuItem.className = CLASSNAME$
|
|
17147
|
+
MenuItem.displayName = COMPONENT_NAME$J;
|
|
17148
|
+
MenuItem.className = CLASSNAME$J;
|
|
17149
17149
|
|
|
17150
17150
|
/**
|
|
17151
17151
|
* Component display name.
|
|
17152
17152
|
*/
|
|
17153
|
-
const COMPONENT_NAME$
|
|
17153
|
+
const COMPONENT_NAME$I = 'Message';
|
|
17154
17154
|
|
|
17155
17155
|
/**
|
|
17156
17156
|
* Component default class name and class prefix.
|
|
17157
17157
|
*/
|
|
17158
|
-
const CLASSNAME$
|
|
17158
|
+
const CLASSNAME$I = 'lumx-message';
|
|
17159
17159
|
const {
|
|
17160
17160
|
block: block$y,
|
|
17161
17161
|
element: element$q
|
|
17162
|
-
} = bem(CLASSNAME$
|
|
17162
|
+
} = bem(CLASSNAME$I);
|
|
17163
17163
|
|
|
17164
17164
|
/**
|
|
17165
17165
|
* Associative map from message kind to color and icon.
|
|
@@ -17233,8 +17233,8 @@ const Message$1 = props => {
|
|
|
17233
17233
|
})]
|
|
17234
17234
|
});
|
|
17235
17235
|
};
|
|
17236
|
-
Message$1.displayName = COMPONENT_NAME$
|
|
17237
|
-
Message$1.className = CLASSNAME$
|
|
17236
|
+
Message$1.displayName = COMPONENT_NAME$I;
|
|
17237
|
+
Message$1.className = CLASSNAME$I;
|
|
17238
17238
|
|
|
17239
17239
|
/**
|
|
17240
17240
|
* Message component.
|
|
@@ -17249,22 +17249,22 @@ const Message = forwardRef((props, ref) => {
|
|
|
17249
17249
|
ref
|
|
17250
17250
|
});
|
|
17251
17251
|
});
|
|
17252
|
-
Message.displayName = COMPONENT_NAME$
|
|
17253
|
-
Message.className = CLASSNAME$
|
|
17252
|
+
Message.displayName = COMPONENT_NAME$I;
|
|
17253
|
+
Message.className = CLASSNAME$I;
|
|
17254
17254
|
|
|
17255
17255
|
/**
|
|
17256
17256
|
* Component display name.
|
|
17257
17257
|
*/
|
|
17258
|
-
const COMPONENT_NAME$
|
|
17258
|
+
const COMPONENT_NAME$H = 'Mosaic';
|
|
17259
17259
|
|
|
17260
17260
|
/**
|
|
17261
17261
|
* Component default class name and class prefix.
|
|
17262
17262
|
*/
|
|
17263
|
-
const CLASSNAME$
|
|
17263
|
+
const CLASSNAME$H = 'lumx-mosaic';
|
|
17264
17264
|
const {
|
|
17265
17265
|
block: block$x,
|
|
17266
17266
|
element: element$p
|
|
17267
|
-
} = bem(CLASSNAME$
|
|
17267
|
+
} = bem(CLASSNAME$H);
|
|
17268
17268
|
|
|
17269
17269
|
/**
|
|
17270
17270
|
* Component default props.
|
|
@@ -17362,8 +17362,8 @@ const Mosaic = forwardRef((props, ref) => {
|
|
|
17362
17362
|
...forwardedProps
|
|
17363
17363
|
});
|
|
17364
17364
|
});
|
|
17365
|
-
Mosaic.displayName = COMPONENT_NAME$
|
|
17366
|
-
Mosaic.className = CLASSNAME$
|
|
17365
|
+
Mosaic.displayName = COMPONENT_NAME$H;
|
|
17366
|
+
Mosaic.className = CLASSNAME$H;
|
|
17367
17367
|
Mosaic.defaultProps = DEFAULT_PROPS$F;
|
|
17368
17368
|
|
|
17369
17369
|
const NavigationContext = /*#__PURE__*/createContext({
|
|
@@ -17383,16 +17383,16 @@ const ITEM_CLASSNAME = 'lumx-navigation-item';
|
|
|
17383
17383
|
/**
|
|
17384
17384
|
* Component display name.
|
|
17385
17385
|
*/
|
|
17386
|
-
const COMPONENT_NAME$
|
|
17386
|
+
const COMPONENT_NAME$G = 'NavigationSection';
|
|
17387
17387
|
|
|
17388
17388
|
/**
|
|
17389
17389
|
* Component default class name and class prefix.
|
|
17390
17390
|
*/
|
|
17391
|
-
const CLASSNAME$
|
|
17391
|
+
const CLASSNAME$G = 'lumx-navigation-section';
|
|
17392
17392
|
const {
|
|
17393
17393
|
block: sectionBlock,
|
|
17394
17394
|
element: sectionElement
|
|
17395
|
-
} = classNames.bem(CLASSNAME$
|
|
17395
|
+
} = classNames.bem(CLASSNAME$G);
|
|
17396
17396
|
const {
|
|
17397
17397
|
block: itemBlock,
|
|
17398
17398
|
element: itemElement
|
|
@@ -17478,8 +17478,8 @@ const NavigationSection = forwardRef((props, ref) => {
|
|
|
17478
17478
|
}))]
|
|
17479
17479
|
});
|
|
17480
17480
|
});
|
|
17481
|
-
NavigationSection.displayName = COMPONENT_NAME$
|
|
17482
|
-
NavigationSection.className = CLASSNAME$
|
|
17481
|
+
NavigationSection.displayName = COMPONENT_NAME$G;
|
|
17482
|
+
NavigationSection.className = CLASSNAME$G;
|
|
17483
17483
|
|
|
17484
17484
|
const {
|
|
17485
17485
|
block: block$w,
|
|
@@ -17548,16 +17548,16 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
17548
17548
|
/**
|
|
17549
17549
|
* Component display name.
|
|
17550
17550
|
*/
|
|
17551
|
-
const COMPONENT_NAME$
|
|
17551
|
+
const COMPONENT_NAME$F = 'Navigation';
|
|
17552
17552
|
|
|
17553
17553
|
/**
|
|
17554
17554
|
* Component default class name and class prefix.
|
|
17555
17555
|
*/
|
|
17556
|
-
const CLASSNAME$
|
|
17556
|
+
const CLASSNAME$F = 'lumx-navigation';
|
|
17557
17557
|
const {
|
|
17558
17558
|
block: block$v,
|
|
17559
17559
|
element: element$n
|
|
17560
|
-
} = classNames.bem(CLASSNAME$
|
|
17560
|
+
} = classNames.bem(CLASSNAME$F);
|
|
17561
17561
|
|
|
17562
17562
|
/**
|
|
17563
17563
|
* Component default props
|
|
@@ -17595,8 +17595,8 @@ const Navigation = forwardRef((props, ref) => {
|
|
|
17595
17595
|
})
|
|
17596
17596
|
});
|
|
17597
17597
|
});
|
|
17598
|
-
Navigation.displayName = COMPONENT_NAME$
|
|
17599
|
-
Navigation.className = CLASSNAME$
|
|
17598
|
+
Navigation.displayName = COMPONENT_NAME$F;
|
|
17599
|
+
Navigation.className = CLASSNAME$F;
|
|
17600
17600
|
Navigation.defaultProps = DEFAULT_PROPS$E;
|
|
17601
17601
|
|
|
17602
17602
|
// Sub components
|
|
@@ -17628,16 +17628,16 @@ const NOTIFICATION_CONFIGURATION = {
|
|
|
17628
17628
|
/**
|
|
17629
17629
|
* Component display name.
|
|
17630
17630
|
*/
|
|
17631
|
-
const COMPONENT_NAME$
|
|
17631
|
+
const COMPONENT_NAME$E = 'Notification';
|
|
17632
17632
|
|
|
17633
17633
|
/**
|
|
17634
17634
|
* Component default class name and class prefix.
|
|
17635
17635
|
*/
|
|
17636
|
-
const CLASSNAME$
|
|
17636
|
+
const CLASSNAME$E = 'lumx-notification';
|
|
17637
17637
|
const {
|
|
17638
17638
|
block: block$u,
|
|
17639
17639
|
element: element$m
|
|
17640
|
-
} = classNames.bem(CLASSNAME$
|
|
17640
|
+
} = classNames.bem(CLASSNAME$E);
|
|
17641
17641
|
|
|
17642
17642
|
/**
|
|
17643
17643
|
* Component default props.
|
|
@@ -17730,8 +17730,8 @@ const Notification = forwardRef((props, ref) => {
|
|
|
17730
17730
|
})
|
|
17731
17731
|
});
|
|
17732
17732
|
});
|
|
17733
|
-
Notification.displayName = COMPONENT_NAME$
|
|
17734
|
-
Notification.className = CLASSNAME$
|
|
17733
|
+
Notification.displayName = COMPONENT_NAME$E;
|
|
17734
|
+
Notification.className = CLASSNAME$E;
|
|
17735
17735
|
Notification.defaultProps = DEFAULT_PROPS$D;
|
|
17736
17736
|
|
|
17737
17737
|
/**
|
|
@@ -17745,12 +17745,12 @@ Notification.defaultProps = DEFAULT_PROPS$D;
|
|
|
17745
17745
|
/**
|
|
17746
17746
|
* Component display name.
|
|
17747
17747
|
*/
|
|
17748
|
-
const COMPONENT_NAME$
|
|
17748
|
+
const COMPONENT_NAME$D = 'PopoverDialog';
|
|
17749
17749
|
|
|
17750
17750
|
/**
|
|
17751
17751
|
* Component default class name and class prefix.
|
|
17752
17752
|
*/
|
|
17753
|
-
const CLASSNAME$
|
|
17753
|
+
const CLASSNAME$D = 'lumx-popover-dialog';
|
|
17754
17754
|
|
|
17755
17755
|
/**
|
|
17756
17756
|
* Component default props.
|
|
@@ -17777,7 +17777,7 @@ const PopoverDialogContent = forwardRef((props, ref) => {
|
|
|
17777
17777
|
return /*#__PURE__*/jsx(Popover, {
|
|
17778
17778
|
...forwardedProps,
|
|
17779
17779
|
ref: ref,
|
|
17780
|
-
className: classNames.join(className, CLASSNAME$
|
|
17780
|
+
className: classNames.join(className, CLASSNAME$D),
|
|
17781
17781
|
role: "dialog",
|
|
17782
17782
|
"aria-modal": "true"
|
|
17783
17783
|
/**
|
|
@@ -17810,23 +17810,23 @@ const PopoverDialog = forwardRef((props, ref) => /*#__PURE__*/jsx(IdsRegistryPro
|
|
|
17810
17810
|
ref: ref
|
|
17811
17811
|
})
|
|
17812
17812
|
}));
|
|
17813
|
-
PopoverDialog.displayName = COMPONENT_NAME$
|
|
17814
|
-
PopoverDialog.className = CLASSNAME$
|
|
17813
|
+
PopoverDialog.displayName = COMPONENT_NAME$D;
|
|
17814
|
+
PopoverDialog.className = CLASSNAME$D;
|
|
17815
17815
|
PopoverDialog.defaultProps = DEFAULT_PROPS$C;
|
|
17816
17816
|
|
|
17817
17817
|
/**
|
|
17818
17818
|
* Component display name.
|
|
17819
17819
|
*/
|
|
17820
|
-
const COMPONENT_NAME$
|
|
17820
|
+
const COMPONENT_NAME$C = 'PostBlock';
|
|
17821
17821
|
|
|
17822
17822
|
/**
|
|
17823
17823
|
* Component default class name and class prefix.
|
|
17824
17824
|
*/
|
|
17825
|
-
const CLASSNAME$
|
|
17825
|
+
const CLASSNAME$C = 'lumx-post-block';
|
|
17826
17826
|
const {
|
|
17827
17827
|
block: block$t,
|
|
17828
17828
|
element: element$l
|
|
17829
|
-
} = classNames.bem(CLASSNAME$
|
|
17829
|
+
} = classNames.bem(CLASSNAME$C);
|
|
17830
17830
|
|
|
17831
17831
|
/**
|
|
17832
17832
|
* Component default props.
|
|
@@ -17911,23 +17911,23 @@ const PostBlock = forwardRef((props, ref) => {
|
|
|
17911
17911
|
})]
|
|
17912
17912
|
});
|
|
17913
17913
|
});
|
|
17914
|
-
PostBlock.displayName = COMPONENT_NAME$
|
|
17915
|
-
PostBlock.className = CLASSNAME$
|
|
17914
|
+
PostBlock.displayName = COMPONENT_NAME$C;
|
|
17915
|
+
PostBlock.className = CLASSNAME$C;
|
|
17916
17916
|
PostBlock.defaultProps = DEFAULT_PROPS$B;
|
|
17917
17917
|
|
|
17918
17918
|
/**
|
|
17919
17919
|
* Component display name.
|
|
17920
17920
|
*/
|
|
17921
|
-
const COMPONENT_NAME$
|
|
17921
|
+
const COMPONENT_NAME$B = 'ProgressLinear';
|
|
17922
17922
|
|
|
17923
17923
|
/**
|
|
17924
17924
|
* Component default class name and class prefix.
|
|
17925
17925
|
*/
|
|
17926
|
-
const CLASSNAME$
|
|
17926
|
+
const CLASSNAME$B = 'lumx-progress-linear';
|
|
17927
17927
|
const {
|
|
17928
17928
|
block: block$s,
|
|
17929
17929
|
element: element$k
|
|
17930
|
-
} = bem(CLASSNAME$
|
|
17930
|
+
} = bem(CLASSNAME$B);
|
|
17931
17931
|
|
|
17932
17932
|
/**
|
|
17933
17933
|
* Component default props.
|
|
@@ -17984,8 +17984,8 @@ const ProgressLinear = forwardRef((props, ref) => {
|
|
|
17984
17984
|
...otherProps
|
|
17985
17985
|
});
|
|
17986
17986
|
});
|
|
17987
|
-
ProgressLinear.displayName = COMPONENT_NAME$
|
|
17988
|
-
ProgressLinear.className = CLASSNAME$
|
|
17987
|
+
ProgressLinear.displayName = COMPONENT_NAME$B;
|
|
17988
|
+
ProgressLinear.className = CLASSNAME$B;
|
|
17989
17989
|
ProgressLinear.defaultProps = DEFAULT_PROPS$A;
|
|
17990
17990
|
|
|
17991
17991
|
/* eslint-disable react/no-unknown-property */
|
|
@@ -17993,16 +17993,16 @@ ProgressLinear.defaultProps = DEFAULT_PROPS$A;
|
|
|
17993
17993
|
/**
|
|
17994
17994
|
* Component display name.
|
|
17995
17995
|
*/
|
|
17996
|
-
const COMPONENT_NAME$
|
|
17996
|
+
const COMPONENT_NAME$A = 'ProgressCircular';
|
|
17997
17997
|
|
|
17998
17998
|
/**
|
|
17999
17999
|
* Component default class name and class prefix.
|
|
18000
18000
|
*/
|
|
18001
|
-
const CLASSNAME$
|
|
18001
|
+
const CLASSNAME$A = 'lumx-progress-circular';
|
|
18002
18002
|
const {
|
|
18003
18003
|
block: block$r,
|
|
18004
18004
|
element: element$j
|
|
18005
|
-
} = bem(CLASSNAME$
|
|
18005
|
+
} = bem(CLASSNAME$A);
|
|
18006
18006
|
|
|
18007
18007
|
/**
|
|
18008
18008
|
* Component default props.
|
|
@@ -18086,8 +18086,8 @@ const ProgressCircular = forwardRef((props, ref) => {
|
|
|
18086
18086
|
}
|
|
18087
18087
|
});
|
|
18088
18088
|
});
|
|
18089
|
-
ProgressCircular.displayName = COMPONENT_NAME$
|
|
18090
|
-
ProgressCircular.className = CLASSNAME$
|
|
18089
|
+
ProgressCircular.displayName = COMPONENT_NAME$A;
|
|
18090
|
+
ProgressCircular.className = CLASSNAME$A;
|
|
18091
18091
|
ProgressCircular.defaultProps = DEFAULT_PROPS$z;
|
|
18092
18092
|
|
|
18093
18093
|
const ProgressVariant = {
|
|
@@ -18102,15 +18102,15 @@ const ProgressVariant = {
|
|
|
18102
18102
|
/**
|
|
18103
18103
|
* Component display name.
|
|
18104
18104
|
*/
|
|
18105
|
-
const COMPONENT_NAME$
|
|
18105
|
+
const COMPONENT_NAME$z = 'Progress';
|
|
18106
18106
|
|
|
18107
18107
|
/**
|
|
18108
18108
|
* Component default class name and class prefix.
|
|
18109
18109
|
*/
|
|
18110
|
-
const CLASSNAME$
|
|
18110
|
+
const CLASSNAME$z = 'lumx-progress';
|
|
18111
18111
|
const {
|
|
18112
18112
|
block: block$q
|
|
18113
|
-
} = classNames.bem(CLASSNAME$
|
|
18113
|
+
} = classNames.bem(CLASSNAME$z);
|
|
18114
18114
|
|
|
18115
18115
|
/**
|
|
18116
18116
|
* Component default props.
|
|
@@ -18149,8 +18149,8 @@ const Progress = forwardRef((props, ref) => {
|
|
|
18149
18149
|
})]
|
|
18150
18150
|
});
|
|
18151
18151
|
});
|
|
18152
|
-
Progress.displayName = COMPONENT_NAME$
|
|
18153
|
-
Progress.className = CLASSNAME$
|
|
18152
|
+
Progress.displayName = COMPONENT_NAME$z;
|
|
18153
|
+
Progress.className = CLASSNAME$z;
|
|
18154
18154
|
Progress.defaultProps = DEFAULT_PROPS$y;
|
|
18155
18155
|
|
|
18156
18156
|
const INIT_STATE = {
|
|
@@ -18334,16 +18334,16 @@ ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$x;
|
|
|
18334
18334
|
/**
|
|
18335
18335
|
* Component display name.
|
|
18336
18336
|
*/
|
|
18337
|
-
const COMPONENT_NAME$
|
|
18337
|
+
const COMPONENT_NAME$y = 'ProgressTracker';
|
|
18338
18338
|
|
|
18339
18339
|
/**
|
|
18340
18340
|
* Component default class name and class prefix.
|
|
18341
18341
|
*/
|
|
18342
|
-
const CLASSNAME$
|
|
18342
|
+
const CLASSNAME$y = 'lumx-progress-tracker';
|
|
18343
18343
|
const {
|
|
18344
18344
|
block: block$p,
|
|
18345
18345
|
element: element$i
|
|
18346
|
-
} = classNames.bem(CLASSNAME$
|
|
18346
|
+
} = classNames.bem(CLASSNAME$y);
|
|
18347
18347
|
|
|
18348
18348
|
/**
|
|
18349
18349
|
* Component default props.
|
|
@@ -18400,23 +18400,23 @@ const ProgressTracker = forwardRef((props, ref) => {
|
|
|
18400
18400
|
})]
|
|
18401
18401
|
});
|
|
18402
18402
|
});
|
|
18403
|
-
ProgressTracker.displayName = COMPONENT_NAME$
|
|
18404
|
-
ProgressTracker.className = CLASSNAME$
|
|
18403
|
+
ProgressTracker.displayName = COMPONENT_NAME$y;
|
|
18404
|
+
ProgressTracker.className = CLASSNAME$y;
|
|
18405
18405
|
ProgressTracker.defaultProps = DEFAULT_PROPS$w;
|
|
18406
18406
|
|
|
18407
18407
|
/**
|
|
18408
18408
|
* Component display name.
|
|
18409
18409
|
*/
|
|
18410
|
-
const COMPONENT_NAME$
|
|
18410
|
+
const COMPONENT_NAME$x = 'ProgressTrackerStep';
|
|
18411
18411
|
|
|
18412
18412
|
/**
|
|
18413
18413
|
* Component default class name and class prefix.
|
|
18414
18414
|
*/
|
|
18415
|
-
const CLASSNAME$
|
|
18415
|
+
const CLASSNAME$x = 'lumx-progress-tracker-step';
|
|
18416
18416
|
const {
|
|
18417
18417
|
block: block$o,
|
|
18418
18418
|
element: element$h
|
|
18419
|
-
} = classNames.bem(CLASSNAME$
|
|
18419
|
+
} = classNames.bem(CLASSNAME$x);
|
|
18420
18420
|
|
|
18421
18421
|
/**
|
|
18422
18422
|
* Component default props.
|
|
@@ -18514,22 +18514,22 @@ const ProgressTrackerStep = forwardRef((props, ref) => {
|
|
|
18514
18514
|
})]
|
|
18515
18515
|
});
|
|
18516
18516
|
});
|
|
18517
|
-
ProgressTrackerStep.displayName = COMPONENT_NAME$
|
|
18518
|
-
ProgressTrackerStep.className = CLASSNAME$
|
|
18517
|
+
ProgressTrackerStep.displayName = COMPONENT_NAME$x;
|
|
18518
|
+
ProgressTrackerStep.className = CLASSNAME$x;
|
|
18519
18519
|
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$v;
|
|
18520
18520
|
|
|
18521
18521
|
/**
|
|
18522
18522
|
* Component display name.
|
|
18523
18523
|
*/
|
|
18524
|
-
const COMPONENT_NAME$
|
|
18524
|
+
const COMPONENT_NAME$w = 'ProgressTrackerStepPanel';
|
|
18525
18525
|
|
|
18526
18526
|
/**
|
|
18527
18527
|
* Component default class name and class prefix.
|
|
18528
18528
|
*/
|
|
18529
|
-
const CLASSNAME$
|
|
18529
|
+
const CLASSNAME$w = `lumx-step-panel`;
|
|
18530
18530
|
const {
|
|
18531
18531
|
block: block$n
|
|
18532
|
-
} = classNames.bem(CLASSNAME$
|
|
18532
|
+
} = classNames.bem(CLASSNAME$w);
|
|
18533
18533
|
|
|
18534
18534
|
/**
|
|
18535
18535
|
* Component default props.
|
|
@@ -18568,23 +18568,23 @@ const ProgressTrackerStepPanel = forwardRef((props, ref) => {
|
|
|
18568
18568
|
children: (!state?.isLazy || isActive) && children
|
|
18569
18569
|
});
|
|
18570
18570
|
});
|
|
18571
|
-
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$
|
|
18572
|
-
ProgressTrackerStepPanel.className = CLASSNAME$
|
|
18571
|
+
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$w;
|
|
18572
|
+
ProgressTrackerStepPanel.className = CLASSNAME$w;
|
|
18573
18573
|
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$u;
|
|
18574
18574
|
|
|
18575
18575
|
/**
|
|
18576
18576
|
* Component display name.
|
|
18577
18577
|
*/
|
|
18578
|
-
const COMPONENT_NAME$
|
|
18578
|
+
const COMPONENT_NAME$v = 'RadioButton';
|
|
18579
18579
|
|
|
18580
18580
|
/**
|
|
18581
18581
|
* Component default class name and class prefix.
|
|
18582
18582
|
*/
|
|
18583
|
-
const CLASSNAME$
|
|
18583
|
+
const CLASSNAME$v = 'lumx-radio-button';
|
|
18584
18584
|
const {
|
|
18585
18585
|
block: block$m,
|
|
18586
18586
|
element: element$g
|
|
18587
|
-
} = bem(CLASSNAME$
|
|
18587
|
+
} = bem(CLASSNAME$v);
|
|
18588
18588
|
|
|
18589
18589
|
/**
|
|
18590
18590
|
* RadioButton component.
|
|
@@ -18727,19 +18727,19 @@ const RadioButton = forwardRef((props, ref) => {
|
|
|
18727
18727
|
inputId
|
|
18728
18728
|
});
|
|
18729
18729
|
});
|
|
18730
|
-
RadioButton.displayName = COMPONENT_NAME$
|
|
18731
|
-
RadioButton.className = CLASSNAME$
|
|
18730
|
+
RadioButton.displayName = COMPONENT_NAME$v;
|
|
18731
|
+
RadioButton.className = CLASSNAME$v;
|
|
18732
18732
|
RadioButton.defaultProps = DEFAULT_PROPS$t;
|
|
18733
18733
|
|
|
18734
18734
|
/**
|
|
18735
18735
|
* Component display name.
|
|
18736
18736
|
*/
|
|
18737
|
-
const COMPONENT_NAME$
|
|
18737
|
+
const COMPONENT_NAME$u = 'RadioGroup';
|
|
18738
18738
|
|
|
18739
18739
|
/**
|
|
18740
18740
|
* Component default class name and class prefix.
|
|
18741
18741
|
*/
|
|
18742
|
-
const CLASSNAME$
|
|
18742
|
+
const CLASSNAME$u = 'lumx-radio-group';
|
|
18743
18743
|
|
|
18744
18744
|
/**
|
|
18745
18745
|
* Component default props.
|
|
@@ -18762,12 +18762,12 @@ const RadioGroup$1 = props => {
|
|
|
18762
18762
|
return /*#__PURE__*/jsx("div", {
|
|
18763
18763
|
ref: ref,
|
|
18764
18764
|
...forwardedProps,
|
|
18765
|
-
className: classnames(className, CLASSNAME$
|
|
18765
|
+
className: classnames(className, CLASSNAME$u),
|
|
18766
18766
|
children: children
|
|
18767
18767
|
});
|
|
18768
18768
|
};
|
|
18769
|
-
RadioGroup$1.displayName = COMPONENT_NAME$
|
|
18770
|
-
RadioGroup$1.className = CLASSNAME$
|
|
18769
|
+
RadioGroup$1.displayName = COMPONENT_NAME$u;
|
|
18770
|
+
RadioGroup$1.className = CLASSNAME$u;
|
|
18771
18771
|
RadioGroup$1.defaultProps = DEFAULT_PROPS$s;
|
|
18772
18772
|
|
|
18773
18773
|
/**
|
|
@@ -18794,8 +18794,8 @@ const RadioGroup = forwardRef((props, ref) => {
|
|
|
18794
18794
|
...forwardedProps
|
|
18795
18795
|
});
|
|
18796
18796
|
});
|
|
18797
|
-
RadioGroup.displayName = COMPONENT_NAME$
|
|
18798
|
-
RadioGroup.className = CLASSNAME$
|
|
18797
|
+
RadioGroup.displayName = COMPONENT_NAME$u;
|
|
18798
|
+
RadioGroup.className = CLASSNAME$u;
|
|
18799
18799
|
|
|
18800
18800
|
/**
|
|
18801
18801
|
* Listen on element focus to store the focus status.
|
|
@@ -18822,11 +18822,11 @@ function useListenFocus(ref) {
|
|
|
18822
18822
|
}
|
|
18823
18823
|
|
|
18824
18824
|
/** The default class name and classes prefix for this component. */
|
|
18825
|
-
const CLASSNAME$
|
|
18825
|
+
const CLASSNAME$t = 'lumx-select';
|
|
18826
18826
|
const {
|
|
18827
18827
|
block: block$l,
|
|
18828
18828
|
element: element$f
|
|
18829
|
-
} = classNames.bem(CLASSNAME$
|
|
18829
|
+
} = classNames.bem(CLASSNAME$t);
|
|
18830
18830
|
const WithSelectContext = (SelectElement, props, ref) => {
|
|
18831
18831
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
18832
18832
|
const {
|
|
@@ -18942,14 +18942,14 @@ const SelectVariant = {
|
|
|
18942
18942
|
};
|
|
18943
18943
|
|
|
18944
18944
|
/** The display name of the component. */
|
|
18945
|
-
const COMPONENT_NAME$
|
|
18945
|
+
const COMPONENT_NAME$t = 'Select';
|
|
18946
18946
|
|
|
18947
18947
|
/** The default class name and classes prefix for this component. */
|
|
18948
|
-
const CLASSNAME$
|
|
18948
|
+
const CLASSNAME$s = 'lumx-select';
|
|
18949
18949
|
const {
|
|
18950
18950
|
block: block$k,
|
|
18951
18951
|
element: element$e
|
|
18952
|
-
} = classNames.bem(CLASSNAME$
|
|
18952
|
+
} = classNames.bem(CLASSNAME$s);
|
|
18953
18953
|
|
|
18954
18954
|
/** The default value of props. */
|
|
18955
18955
|
const DEFAULT_PROPS$r = {
|
|
@@ -19086,20 +19086,20 @@ const Select = forwardRef((props, ref) => {
|
|
|
19086
19086
|
isEmpty: isEmpty$1
|
|
19087
19087
|
}, ref);
|
|
19088
19088
|
});
|
|
19089
|
-
Select.displayName = COMPONENT_NAME$
|
|
19090
|
-
Select.className = CLASSNAME$
|
|
19089
|
+
Select.displayName = COMPONENT_NAME$t;
|
|
19090
|
+
Select.className = CLASSNAME$s;
|
|
19091
19091
|
Select.defaultProps = DEFAULT_PROPS$r;
|
|
19092
|
-
Select.className = CLASSNAME$
|
|
19092
|
+
Select.className = CLASSNAME$s;
|
|
19093
19093
|
|
|
19094
19094
|
/** The display name of the component. */
|
|
19095
|
-
const COMPONENT_NAME$
|
|
19095
|
+
const COMPONENT_NAME$s = 'Select';
|
|
19096
19096
|
|
|
19097
19097
|
/** The default class name and classes prefix for this component. */
|
|
19098
|
-
const CLASSNAME$
|
|
19098
|
+
const CLASSNAME$r = 'lumx-select';
|
|
19099
19099
|
const {
|
|
19100
19100
|
block: block$j,
|
|
19101
19101
|
element: element$d
|
|
19102
|
-
} = classNames.bem(CLASSNAME$
|
|
19102
|
+
} = classNames.bem(CLASSNAME$r);
|
|
19103
19103
|
|
|
19104
19104
|
/** The default value of props. */
|
|
19105
19105
|
const DEFAULT_PROPS$q = {
|
|
@@ -19183,13 +19183,13 @@ const SelectMultipleField = props => {
|
|
|
19183
19183
|
children: placeholder
|
|
19184
19184
|
})
|
|
19185
19185
|
}), (isValid || hasError) && /*#__PURE__*/jsx("div", {
|
|
19186
|
-
className: `${CLASSNAME$
|
|
19186
|
+
className: `${CLASSNAME$r}__input-validity`,
|
|
19187
19187
|
children: /*#__PURE__*/jsx(Icon, {
|
|
19188
19188
|
icon: isValid ? mdiCheckCircle : mdiAlertCircle,
|
|
19189
19189
|
size: Size$1.xxs
|
|
19190
19190
|
})
|
|
19191
19191
|
}), /*#__PURE__*/jsx("div", {
|
|
19192
|
-
className: `${CLASSNAME$
|
|
19192
|
+
className: `${CLASSNAME$r}__input-indicator`,
|
|
19193
19193
|
children: /*#__PURE__*/jsx(Icon, {
|
|
19194
19194
|
icon: mdiMenuDown,
|
|
19195
19195
|
size: Size$1.s
|
|
@@ -19240,8 +19240,8 @@ const SelectMultiple = forwardRef((props, ref) => {
|
|
|
19240
19240
|
isMultiple: true
|
|
19241
19241
|
}, ref);
|
|
19242
19242
|
});
|
|
19243
|
-
SelectMultiple.displayName = COMPONENT_NAME$
|
|
19244
|
-
SelectMultiple.className = CLASSNAME$
|
|
19243
|
+
SelectMultiple.displayName = COMPONENT_NAME$s;
|
|
19244
|
+
SelectMultiple.className = CLASSNAME$r;
|
|
19245
19245
|
SelectMultiple.defaultProps = DEFAULT_PROPS$q;
|
|
19246
19246
|
|
|
19247
19247
|
/**
|
|
@@ -19393,12 +19393,12 @@ function renderSelectOptions(props, components) {
|
|
|
19393
19393
|
/**
|
|
19394
19394
|
* Component display name.
|
|
19395
19395
|
*/
|
|
19396
|
-
const COMPONENT_NAME$
|
|
19396
|
+
const COMPONENT_NAME$r = 'SelectButton';
|
|
19397
19397
|
|
|
19398
19398
|
/**
|
|
19399
19399
|
* Component default class name.
|
|
19400
19400
|
*/
|
|
19401
|
-
const CLASSNAME$
|
|
19401
|
+
const CLASSNAME$q = 'lumx-select-button';
|
|
19402
19402
|
|
|
19403
19403
|
/**
|
|
19404
19404
|
* Component default props.
|
|
@@ -19502,8 +19502,8 @@ const SelectButton$2 = (props, {
|
|
|
19502
19502
|
})]
|
|
19503
19503
|
});
|
|
19504
19504
|
};
|
|
19505
|
-
SelectButton$2.displayName = COMPONENT_NAME$
|
|
19506
|
-
SelectButton$2.className = CLASSNAME$
|
|
19505
|
+
SelectButton$2.displayName = COMPONENT_NAME$r;
|
|
19506
|
+
SelectButton$2.className = CLASSNAME$q;
|
|
19507
19507
|
|
|
19508
19508
|
/**
|
|
19509
19509
|
* Adapts a React `renderOption` callback returning a `<Combobox.Option>` into the
|
|
@@ -19636,7 +19636,7 @@ const SelectButton$1 = React__default.forwardRef((props, ref) => {
|
|
|
19636
19636
|
// sentinel is trivially always "intersecting" its non-clipping `<ul>` parent.
|
|
19637
19637
|
const [scrollContainer, setScrollContainer] = useState(null);
|
|
19638
19638
|
const setListElement = useCallback(listElement => {
|
|
19639
|
-
setScrollContainer(listElement?.closest(`.${CLASSNAME$
|
|
19639
|
+
setScrollContainer(listElement?.closest(`.${CLASSNAME$16}`) ?? null);
|
|
19640
19640
|
}, []);
|
|
19641
19641
|
const isMultiple = selectionType === 'multiple';
|
|
19642
19642
|
|
|
@@ -19699,15 +19699,15 @@ const SelectButton = Object.assign(SelectButton$1, {
|
|
|
19699
19699
|
/**
|
|
19700
19700
|
* Component display name.
|
|
19701
19701
|
*/
|
|
19702
|
-
const COMPONENT_NAME$
|
|
19702
|
+
const COMPONENT_NAME$q = 'SelectTextField';
|
|
19703
19703
|
|
|
19704
19704
|
/**
|
|
19705
19705
|
* Component default class name.
|
|
19706
19706
|
*/
|
|
19707
|
-
const CLASSNAME$
|
|
19707
|
+
const CLASSNAME$p = 'lumx-select-text-field';
|
|
19708
19708
|
const {
|
|
19709
19709
|
element: element$c
|
|
19710
|
-
} = bem(CLASSNAME$
|
|
19710
|
+
} = bem(CLASSNAME$p);
|
|
19711
19711
|
|
|
19712
19712
|
/**
|
|
19713
19713
|
* SelectTextField core template.
|
|
@@ -19825,8 +19825,8 @@ const SelectTextField$2 = (props, {
|
|
|
19825
19825
|
})]
|
|
19826
19826
|
});
|
|
19827
19827
|
};
|
|
19828
|
-
SelectTextField$2.displayName = COMPONENT_NAME$
|
|
19829
|
-
SelectTextField$2.className = CLASSNAME$
|
|
19828
|
+
SelectTextField$2.displayName = COMPONENT_NAME$q;
|
|
19829
|
+
SelectTextField$2.className = CLASSNAME$p;
|
|
19830
19830
|
|
|
19831
19831
|
/**
|
|
19832
19832
|
* A text field with a select dropdown to choose between a list of options.
|
|
@@ -19907,7 +19907,7 @@ const SelectTextField$1 = props => {
|
|
|
19907
19907
|
// sentinel is trivially always "intersecting" its non-clipping `<ul>` parent.
|
|
19908
19908
|
const [scrollContainer, setScrollContainer] = useState(null);
|
|
19909
19909
|
const setListElement = useCallback(listElement => {
|
|
19910
|
-
setScrollContainer(listElement?.closest(`.${CLASSNAME$
|
|
19910
|
+
setScrollContainer(listElement?.closest(`.${CLASSNAME$16}`) ?? null);
|
|
19911
19911
|
}, []);
|
|
19912
19912
|
const localInputRef = useRef(null);
|
|
19913
19913
|
const mergedInputRef = useMergeRefs(localInputRef, externalInputRef);
|
|
@@ -20089,12 +20089,12 @@ const SelectTextField = Object.assign(SelectTextField$1, {
|
|
|
20089
20089
|
/**
|
|
20090
20090
|
* Component display name.
|
|
20091
20091
|
*/
|
|
20092
|
-
const COMPONENT_NAME$
|
|
20092
|
+
const COMPONENT_NAME$p = 'SideNavigation';
|
|
20093
20093
|
|
|
20094
20094
|
/**
|
|
20095
20095
|
* Component default class name and class prefix.
|
|
20096
20096
|
*/
|
|
20097
|
-
const CLASSNAME$
|
|
20097
|
+
const CLASSNAME$o = 'lumx-side-navigation';
|
|
20098
20098
|
|
|
20099
20099
|
/**
|
|
20100
20100
|
* SideNavigation component.
|
|
@@ -20114,26 +20114,26 @@ const SideNavigation = forwardRef((props, ref) => {
|
|
|
20114
20114
|
return /*#__PURE__*/jsx("ul", {
|
|
20115
20115
|
ref: ref,
|
|
20116
20116
|
...forwardedProps,
|
|
20117
|
-
className: classNames.join(className, theme === Theme$1.dark && 'lumx-color-font-light-N', CLASSNAME$
|
|
20117
|
+
className: classNames.join(className, theme === Theme$1.dark && 'lumx-color-font-light-N', CLASSNAME$o),
|
|
20118
20118
|
children: children
|
|
20119
20119
|
});
|
|
20120
20120
|
});
|
|
20121
|
-
SideNavigation.displayName = COMPONENT_NAME$
|
|
20122
|
-
SideNavigation.className = CLASSNAME$
|
|
20121
|
+
SideNavigation.displayName = COMPONENT_NAME$p;
|
|
20122
|
+
SideNavigation.className = CLASSNAME$o;
|
|
20123
20123
|
|
|
20124
20124
|
/**
|
|
20125
20125
|
* Component display name.
|
|
20126
20126
|
*/
|
|
20127
|
-
const COMPONENT_NAME$
|
|
20127
|
+
const COMPONENT_NAME$o = 'SideNavigationItem';
|
|
20128
20128
|
|
|
20129
20129
|
/**
|
|
20130
20130
|
* Component default class name and class prefix.
|
|
20131
20131
|
*/
|
|
20132
|
-
const CLASSNAME$
|
|
20132
|
+
const CLASSNAME$n = 'lumx-side-navigation-item';
|
|
20133
20133
|
const {
|
|
20134
20134
|
block: block$i,
|
|
20135
20135
|
element: element$b
|
|
20136
|
-
} = classNames.bem(CLASSNAME$
|
|
20136
|
+
} = classNames.bem(CLASSNAME$n);
|
|
20137
20137
|
|
|
20138
20138
|
/**
|
|
20139
20139
|
* Component default props.
|
|
@@ -20244,22 +20244,22 @@ const SideNavigationItem = forwardRef((props, ref) => {
|
|
|
20244
20244
|
})]
|
|
20245
20245
|
});
|
|
20246
20246
|
});
|
|
20247
|
-
SideNavigationItem.displayName = COMPONENT_NAME$
|
|
20248
|
-
SideNavigationItem.className = CLASSNAME$
|
|
20247
|
+
SideNavigationItem.displayName = COMPONENT_NAME$o;
|
|
20248
|
+
SideNavigationItem.className = CLASSNAME$n;
|
|
20249
20249
|
SideNavigationItem.defaultProps = DEFAULT_PROPS$o;
|
|
20250
20250
|
|
|
20251
20251
|
/**
|
|
20252
20252
|
* Component display name.
|
|
20253
20253
|
*/
|
|
20254
|
-
const COMPONENT_NAME$
|
|
20254
|
+
const COMPONENT_NAME$n = 'SkeletonCircle';
|
|
20255
20255
|
|
|
20256
20256
|
/**
|
|
20257
20257
|
* Component default class name and class prefix.
|
|
20258
20258
|
*/
|
|
20259
|
-
const CLASSNAME$
|
|
20259
|
+
const CLASSNAME$m = 'lumx-skeleton-circle';
|
|
20260
20260
|
const {
|
|
20261
20261
|
block: block$h
|
|
20262
|
-
} = bem(CLASSNAME$
|
|
20262
|
+
} = bem(CLASSNAME$m);
|
|
20263
20263
|
|
|
20264
20264
|
/**
|
|
20265
20265
|
* SkeletonCircle component.
|
|
@@ -20303,16 +20303,16 @@ const SkeletonRectangleVariant = {
|
|
|
20303
20303
|
/**
|
|
20304
20304
|
* Component display name.
|
|
20305
20305
|
*/
|
|
20306
|
-
const COMPONENT_NAME$
|
|
20306
|
+
const COMPONENT_NAME$m = 'SkeletonRectangle';
|
|
20307
20307
|
|
|
20308
20308
|
/**
|
|
20309
20309
|
* Component default class name and class prefix.
|
|
20310
20310
|
*/
|
|
20311
|
-
const CLASSNAME$
|
|
20311
|
+
const CLASSNAME$l = 'lumx-skeleton-rectangle';
|
|
20312
20312
|
const {
|
|
20313
20313
|
block: block$g,
|
|
20314
20314
|
element: element$a
|
|
20315
|
-
} = bem(CLASSNAME$
|
|
20315
|
+
} = bem(CLASSNAME$l);
|
|
20316
20316
|
|
|
20317
20317
|
/**
|
|
20318
20318
|
* Component default props.
|
|
@@ -20387,9 +20387,9 @@ const SkeletonCircle = forwardRef((props, ref) => {
|
|
|
20387
20387
|
...forwardedProps
|
|
20388
20388
|
});
|
|
20389
20389
|
});
|
|
20390
|
-
SkeletonCircle.displayName = COMPONENT_NAME$
|
|
20390
|
+
SkeletonCircle.displayName = COMPONENT_NAME$n;
|
|
20391
20391
|
SkeletonCircle.defaultProps = DEFAULT_PROPS$m;
|
|
20392
|
-
SkeletonCircle.className = CLASSNAME$
|
|
20392
|
+
SkeletonCircle.className = CLASSNAME$m;
|
|
20393
20393
|
|
|
20394
20394
|
/**
|
|
20395
20395
|
* Defines the props of the component.
|
|
@@ -20428,8 +20428,8 @@ const SkeletonRectangle = forwardRef((props, ref) => {
|
|
|
20428
20428
|
...forwardedProps
|
|
20429
20429
|
});
|
|
20430
20430
|
});
|
|
20431
|
-
SkeletonRectangle.displayName = COMPONENT_NAME$
|
|
20432
|
-
SkeletonRectangle.className = CLASSNAME$
|
|
20431
|
+
SkeletonRectangle.displayName = COMPONENT_NAME$m;
|
|
20432
|
+
SkeletonRectangle.className = CLASSNAME$l;
|
|
20433
20433
|
SkeletonRectangle.defaultProps = DEFAULT_PROPS$l;
|
|
20434
20434
|
|
|
20435
20435
|
/**
|
|
@@ -20465,9 +20465,9 @@ const SkeletonTypography = forwardRef((props, ref) => {
|
|
|
20465
20465
|
...forwardedProps
|
|
20466
20466
|
});
|
|
20467
20467
|
});
|
|
20468
|
-
SkeletonTypography.displayName = COMPONENT_NAME$
|
|
20468
|
+
SkeletonTypography.displayName = COMPONENT_NAME$1i;
|
|
20469
20469
|
SkeletonTypography.defaultProps = DEFAULT_PROPS$k;
|
|
20470
|
-
SkeletonTypography.className = CLASSNAME$
|
|
20470
|
+
SkeletonTypography.className = CLASSNAME$1g;
|
|
20471
20471
|
|
|
20472
20472
|
/**
|
|
20473
20473
|
* Clamp value in range.
|
|
@@ -20491,16 +20491,16 @@ const clamp = (value, min, max) => {
|
|
|
20491
20491
|
/**
|
|
20492
20492
|
* Component display name.
|
|
20493
20493
|
*/
|
|
20494
|
-
const COMPONENT_NAME$
|
|
20494
|
+
const COMPONENT_NAME$l = 'Slider';
|
|
20495
20495
|
|
|
20496
20496
|
/**
|
|
20497
20497
|
* Component default class name and class prefix.
|
|
20498
20498
|
*/
|
|
20499
|
-
const CLASSNAME$
|
|
20499
|
+
const CLASSNAME$k = 'lumx-slider';
|
|
20500
20500
|
const {
|
|
20501
20501
|
block: block$f,
|
|
20502
20502
|
element: element$9
|
|
20503
|
-
} = classNames.bem(CLASSNAME$
|
|
20503
|
+
} = classNames.bem(CLASSNAME$k);
|
|
20504
20504
|
|
|
20505
20505
|
/**
|
|
20506
20506
|
* Component default props.
|
|
@@ -20803,8 +20803,8 @@ const Slider = forwardRef((props, ref) => {
|
|
|
20803
20803
|
})]
|
|
20804
20804
|
});
|
|
20805
20805
|
});
|
|
20806
|
-
Slider.displayName = COMPONENT_NAME$
|
|
20807
|
-
Slider.className = CLASSNAME$
|
|
20806
|
+
Slider.displayName = COMPONENT_NAME$l;
|
|
20807
|
+
Slider.className = CLASSNAME$k;
|
|
20808
20808
|
Slider.defaultProps = DEFAULT_PROPS$j;
|
|
20809
20809
|
|
|
20810
20810
|
/**
|
|
@@ -21138,12 +21138,12 @@ const useSlideFocusManagement = ({
|
|
|
21138
21138
|
/**
|
|
21139
21139
|
* Component display name.
|
|
21140
21140
|
*/
|
|
21141
|
-
const COMPONENT_NAME$
|
|
21141
|
+
const COMPONENT_NAME$k = 'SlideshowItemGroup';
|
|
21142
21142
|
|
|
21143
21143
|
/**
|
|
21144
21144
|
* Component default class name and class prefix.
|
|
21145
21145
|
*/
|
|
21146
|
-
const CLASSNAME$
|
|
21146
|
+
const CLASSNAME$j = 'lumx-slideshow-item-group';
|
|
21147
21147
|
const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
|
|
21148
21148
|
|
|
21149
21149
|
/**
|
|
@@ -21171,15 +21171,15 @@ const SlideshowItemGroup = forwardRef((props, ref) => {
|
|
|
21171
21171
|
return /*#__PURE__*/jsx("div", {
|
|
21172
21172
|
ref: mergeRefs(groupRef, ref),
|
|
21173
21173
|
role: role,
|
|
21174
|
-
className: classNames.join(className, CLASSNAME$
|
|
21174
|
+
className: classNames.join(className, CLASSNAME$j),
|
|
21175
21175
|
"aria-roledescription": ariaRoleDescription ?? 'slide',
|
|
21176
21176
|
"aria-label": label,
|
|
21177
21177
|
...forwardedProps,
|
|
21178
21178
|
children: children
|
|
21179
21179
|
});
|
|
21180
21180
|
});
|
|
21181
|
-
SlideshowItemGroup.displayName = COMPONENT_NAME$
|
|
21182
|
-
SlideshowItemGroup.className = CLASSNAME$
|
|
21181
|
+
SlideshowItemGroup.displayName = COMPONENT_NAME$k;
|
|
21182
|
+
SlideshowItemGroup.className = CLASSNAME$j;
|
|
21183
21183
|
|
|
21184
21184
|
/**
|
|
21185
21185
|
* Component default props.
|
|
@@ -21311,12 +21311,12 @@ Slideshow.defaultProps = DEFAULT_PROPS$i;
|
|
|
21311
21311
|
/**
|
|
21312
21312
|
* Component display name.
|
|
21313
21313
|
*/
|
|
21314
|
-
const COMPONENT_NAME$
|
|
21314
|
+
const COMPONENT_NAME$j = 'SlideshowItem';
|
|
21315
21315
|
|
|
21316
21316
|
/**
|
|
21317
21317
|
* Component default class name and class prefix.
|
|
21318
21318
|
*/
|
|
21319
|
-
const CLASSNAME$
|
|
21319
|
+
const CLASSNAME$i = 'lumx-slideshow-item';
|
|
21320
21320
|
|
|
21321
21321
|
/**
|
|
21322
21322
|
* SlideshowItem component.
|
|
@@ -21333,13 +21333,13 @@ const SlideshowItem = forwardRef((props, ref) => {
|
|
|
21333
21333
|
} = props;
|
|
21334
21334
|
return /*#__PURE__*/jsx("div", {
|
|
21335
21335
|
ref: ref,
|
|
21336
|
-
className: classNames.join(className, CLASSNAME$
|
|
21336
|
+
className: classNames.join(className, CLASSNAME$i),
|
|
21337
21337
|
...forwardedProps,
|
|
21338
21338
|
children: children
|
|
21339
21339
|
});
|
|
21340
21340
|
});
|
|
21341
|
-
SlideshowItem.displayName = COMPONENT_NAME$
|
|
21342
|
-
SlideshowItem.className = CLASSNAME$
|
|
21341
|
+
SlideshowItem.displayName = COMPONENT_NAME$j;
|
|
21342
|
+
SlideshowItem.className = CLASSNAME$i;
|
|
21343
21343
|
|
|
21344
21344
|
const isTouchDevice = () => 'ontouchstart' in window;
|
|
21345
21345
|
|
|
@@ -21401,16 +21401,16 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
|
|
|
21401
21401
|
/**
|
|
21402
21402
|
* Component display name.
|
|
21403
21403
|
*/
|
|
21404
|
-
const COMPONENT_NAME$
|
|
21404
|
+
const COMPONENT_NAME$i = 'SlideshowControls';
|
|
21405
21405
|
|
|
21406
21406
|
/**
|
|
21407
21407
|
* Component default class name and class prefix.
|
|
21408
21408
|
*/
|
|
21409
|
-
const CLASSNAME$
|
|
21409
|
+
const CLASSNAME$h = 'lumx-slideshow-controls';
|
|
21410
21410
|
const {
|
|
21411
21411
|
block: block$e,
|
|
21412
21412
|
element: element$8
|
|
21413
|
-
} = classNames.bem(CLASSNAME$
|
|
21413
|
+
} = classNames.bem(CLASSNAME$h);
|
|
21414
21414
|
|
|
21415
21415
|
/**
|
|
21416
21416
|
* Component default props.
|
|
@@ -21541,8 +21541,8 @@ const InternalSlideshowControls = forwardRef((props, ref) => {
|
|
|
21541
21541
|
})]
|
|
21542
21542
|
});
|
|
21543
21543
|
});
|
|
21544
|
-
InternalSlideshowControls.displayName = COMPONENT_NAME$
|
|
21545
|
-
InternalSlideshowControls.className = CLASSNAME$
|
|
21544
|
+
InternalSlideshowControls.displayName = COMPONENT_NAME$i;
|
|
21545
|
+
InternalSlideshowControls.className = CLASSNAME$h;
|
|
21546
21546
|
InternalSlideshowControls.defaultProps = DEFAULT_PROPS$h;
|
|
21547
21547
|
const SlideshowControls = Object.assign(InternalSlideshowControls, {
|
|
21548
21548
|
useSlideshowControls,
|
|
@@ -21661,16 +21661,16 @@ const useSlideScroll = ({
|
|
|
21661
21661
|
/**
|
|
21662
21662
|
* Component display name.
|
|
21663
21663
|
*/
|
|
21664
|
-
const COMPONENT_NAME$
|
|
21664
|
+
const COMPONENT_NAME$h = 'Slideshow';
|
|
21665
21665
|
|
|
21666
21666
|
/**
|
|
21667
21667
|
* Component default class name and class prefix.
|
|
21668
21668
|
*/
|
|
21669
|
-
const CLASSNAME$
|
|
21669
|
+
const CLASSNAME$g = 'lumx-slideshow';
|
|
21670
21670
|
const {
|
|
21671
21671
|
block: block$d,
|
|
21672
21672
|
element: element$7
|
|
21673
|
-
} = classNames.bem(CLASSNAME$
|
|
21673
|
+
} = classNames.bem(CLASSNAME$g);
|
|
21674
21674
|
|
|
21675
21675
|
/**
|
|
21676
21676
|
* Component default props.
|
|
@@ -21772,22 +21772,22 @@ const Slides = forwardRef((props, ref) => {
|
|
|
21772
21772
|
}), afterSlides]
|
|
21773
21773
|
});
|
|
21774
21774
|
});
|
|
21775
|
-
Slides.displayName = COMPONENT_NAME$
|
|
21776
|
-
Slides.className = CLASSNAME$
|
|
21775
|
+
Slides.displayName = COMPONENT_NAME$h;
|
|
21776
|
+
Slides.className = CLASSNAME$g;
|
|
21777
21777
|
|
|
21778
21778
|
/**
|
|
21779
21779
|
* Component display name.
|
|
21780
21780
|
*/
|
|
21781
|
-
const COMPONENT_NAME$
|
|
21781
|
+
const COMPONENT_NAME$g = 'Switch';
|
|
21782
21782
|
|
|
21783
21783
|
/**
|
|
21784
21784
|
* Component default class name and class prefix.
|
|
21785
21785
|
*/
|
|
21786
|
-
const CLASSNAME$
|
|
21786
|
+
const CLASSNAME$f = 'lumx-switch';
|
|
21787
21787
|
const {
|
|
21788
21788
|
block: block$c,
|
|
21789
21789
|
element: element$6
|
|
21790
|
-
} = bem(CLASSNAME$
|
|
21790
|
+
} = bem(CLASSNAME$f);
|
|
21791
21791
|
|
|
21792
21792
|
/**
|
|
21793
21793
|
* Component default props.
|
|
@@ -21946,23 +21946,23 @@ const Switch = forwardRef((props, ref) => {
|
|
|
21946
21946
|
inputId
|
|
21947
21947
|
});
|
|
21948
21948
|
});
|
|
21949
|
-
Switch.displayName = COMPONENT_NAME$
|
|
21950
|
-
Switch.className = CLASSNAME$
|
|
21949
|
+
Switch.displayName = COMPONENT_NAME$g;
|
|
21950
|
+
Switch.className = CLASSNAME$f;
|
|
21951
21951
|
Switch.defaultProps = DEFAULT_PROPS$e;
|
|
21952
21952
|
|
|
21953
21953
|
/**
|
|
21954
21954
|
* Component display name.
|
|
21955
21955
|
*/
|
|
21956
|
-
const COMPONENT_NAME$
|
|
21956
|
+
const COMPONENT_NAME$f = 'Table';
|
|
21957
21957
|
|
|
21958
21958
|
/**
|
|
21959
21959
|
* Component default class name and class prefix.
|
|
21960
21960
|
*/
|
|
21961
|
-
const CLASSNAME$
|
|
21961
|
+
const CLASSNAME$e = 'lumx-table';
|
|
21962
21962
|
|
|
21963
21963
|
const {
|
|
21964
21964
|
block: block$b
|
|
21965
|
-
} = bem(CLASSNAME$
|
|
21965
|
+
} = bem(CLASSNAME$e);
|
|
21966
21966
|
|
|
21967
21967
|
/**
|
|
21968
21968
|
* Defines the props of the component.
|
|
@@ -22026,19 +22026,19 @@ const Table = forwardRef((props, ref) => {
|
|
|
22026
22026
|
...otherProps
|
|
22027
22027
|
});
|
|
22028
22028
|
});
|
|
22029
|
-
Table.displayName = COMPONENT_NAME$
|
|
22030
|
-
Table.className = CLASSNAME$
|
|
22029
|
+
Table.displayName = COMPONENT_NAME$f;
|
|
22030
|
+
Table.className = CLASSNAME$e;
|
|
22031
22031
|
Table.defaultProps = DEFAULT_PROPS$d;
|
|
22032
22032
|
|
|
22033
22033
|
/**
|
|
22034
22034
|
* Component display name.
|
|
22035
22035
|
*/
|
|
22036
|
-
const COMPONENT_NAME$
|
|
22036
|
+
const COMPONENT_NAME$e = 'TableBody';
|
|
22037
22037
|
|
|
22038
22038
|
/**
|
|
22039
22039
|
* Component default class name and class prefix.
|
|
22040
22040
|
*/
|
|
22041
|
-
const CLASSNAME$
|
|
22041
|
+
const CLASSNAME$d = `${CLASSNAME$e}__body`;
|
|
22042
22042
|
|
|
22043
22043
|
/**
|
|
22044
22044
|
* TableBody component.
|
|
@@ -22056,7 +22056,7 @@ const TableBody$1 = props => {
|
|
|
22056
22056
|
return /*#__PURE__*/jsx("tbody", {
|
|
22057
22057
|
ref: ref,
|
|
22058
22058
|
...forwardedProps,
|
|
22059
|
-
className: classnames(className, CLASSNAME$
|
|
22059
|
+
className: classnames(className, CLASSNAME$d),
|
|
22060
22060
|
children: children
|
|
22061
22061
|
});
|
|
22062
22062
|
};
|
|
@@ -22083,8 +22083,8 @@ const TableBody = forwardRef((props, ref) => {
|
|
|
22083
22083
|
...otherProps
|
|
22084
22084
|
});
|
|
22085
22085
|
});
|
|
22086
|
-
TableBody.displayName = COMPONENT_NAME$
|
|
22087
|
-
TableBody.className = CLASSNAME$
|
|
22086
|
+
TableBody.displayName = COMPONENT_NAME$e;
|
|
22087
|
+
TableBody.className = CLASSNAME$d;
|
|
22088
22088
|
|
|
22089
22089
|
const ThOrder = {
|
|
22090
22090
|
asc: 'asc',
|
|
@@ -22105,15 +22105,15 @@ const TableCellVariant = {
|
|
|
22105
22105
|
/**
|
|
22106
22106
|
* Component display name.
|
|
22107
22107
|
*/
|
|
22108
|
-
const COMPONENT_NAME$
|
|
22108
|
+
const COMPONENT_NAME$d = 'TableCell';
|
|
22109
22109
|
|
|
22110
22110
|
/**
|
|
22111
22111
|
* Component default class name and class prefix.
|
|
22112
22112
|
*/
|
|
22113
|
-
const CLASSNAME$
|
|
22113
|
+
const CLASSNAME$c = `${CLASSNAME$e}__cell`;
|
|
22114
22114
|
const {
|
|
22115
22115
|
block: block$a
|
|
22116
|
-
} = bem(CLASSNAME$
|
|
22116
|
+
} = bem(CLASSNAME$c);
|
|
22117
22117
|
|
|
22118
22118
|
/**
|
|
22119
22119
|
* Component default props.
|
|
@@ -22166,22 +22166,22 @@ const TableCell$1 = props => {
|
|
|
22166
22166
|
})),
|
|
22167
22167
|
"aria-sort": ariaSort,
|
|
22168
22168
|
children: /*#__PURE__*/jsxs(Wrapper, {
|
|
22169
|
-
className: `${CLASSNAME$
|
|
22169
|
+
className: `${CLASSNAME$c}-wrapper`,
|
|
22170
22170
|
...wrapperProps,
|
|
22171
22171
|
children: [icon && !isSortable && Icon$1({
|
|
22172
|
-
className: `${CLASSNAME$
|
|
22172
|
+
className: `${CLASSNAME$c}-icon`,
|
|
22173
22173
|
icon,
|
|
22174
22174
|
size: Size.xxs
|
|
22175
22175
|
}), isSortable && sortOrder === ThOrder.asc && Icon$1({
|
|
22176
|
-
className: `${CLASSNAME$
|
|
22176
|
+
className: `${CLASSNAME$c}-icon`,
|
|
22177
22177
|
icon: mdiArrowUp,
|
|
22178
22178
|
size: Size.xxs
|
|
22179
22179
|
}), isSortable && sortOrder === ThOrder.desc && Icon$1({
|
|
22180
|
-
className: `${CLASSNAME$
|
|
22180
|
+
className: `${CLASSNAME$c}-icon`,
|
|
22181
22181
|
icon: mdiArrowDown,
|
|
22182
22182
|
size: Size.xxs
|
|
22183
22183
|
}), /*#__PURE__*/jsx("div", {
|
|
22184
|
-
className: `${CLASSNAME$
|
|
22184
|
+
className: `${CLASSNAME$c}-content`,
|
|
22185
22185
|
children: children
|
|
22186
22186
|
})]
|
|
22187
22187
|
})
|
|
@@ -22192,7 +22192,7 @@ const TableCell$1 = props => {
|
|
|
22192
22192
|
body: true
|
|
22193
22193
|
})),
|
|
22194
22194
|
children: /*#__PURE__*/jsx("div", {
|
|
22195
|
-
className: `${CLASSNAME$
|
|
22195
|
+
className: `${CLASSNAME$c}-content`,
|
|
22196
22196
|
children: children
|
|
22197
22197
|
})
|
|
22198
22198
|
})]
|
|
@@ -22221,19 +22221,19 @@ const TableCell = forwardRef((props, ref) => {
|
|
|
22221
22221
|
handleClick: onHeaderClick
|
|
22222
22222
|
});
|
|
22223
22223
|
});
|
|
22224
|
-
TableCell.displayName = COMPONENT_NAME$
|
|
22225
|
-
TableCell.className = CLASSNAME$
|
|
22224
|
+
TableCell.displayName = COMPONENT_NAME$d;
|
|
22225
|
+
TableCell.className = CLASSNAME$c;
|
|
22226
22226
|
TableCell.defaultProps = DEFAULT_PROPS$c;
|
|
22227
22227
|
|
|
22228
22228
|
/**
|
|
22229
22229
|
* Component display name.
|
|
22230
22230
|
*/
|
|
22231
|
-
const COMPONENT_NAME$
|
|
22231
|
+
const COMPONENT_NAME$c = 'TableHeader';
|
|
22232
22232
|
|
|
22233
22233
|
/**
|
|
22234
22234
|
* Component default class name and class prefix.
|
|
22235
22235
|
*/
|
|
22236
|
-
const CLASSNAME$
|
|
22236
|
+
const CLASSNAME$b = `${CLASSNAME$e}__header`;
|
|
22237
22237
|
|
|
22238
22238
|
/**
|
|
22239
22239
|
* Component default props.
|
|
@@ -22256,7 +22256,7 @@ const TableHeader$1 = props => {
|
|
|
22256
22256
|
return /*#__PURE__*/jsx("thead", {
|
|
22257
22257
|
ref: ref,
|
|
22258
22258
|
...forwardedProps,
|
|
22259
|
-
className: classnames(className, CLASSNAME$
|
|
22259
|
+
className: classnames(className, CLASSNAME$b),
|
|
22260
22260
|
children: children
|
|
22261
22261
|
});
|
|
22262
22262
|
};
|
|
@@ -22283,22 +22283,22 @@ const TableHeader = forwardRef((props, ref) => {
|
|
|
22283
22283
|
...otherProps
|
|
22284
22284
|
});
|
|
22285
22285
|
});
|
|
22286
|
-
TableHeader.displayName = COMPONENT_NAME$
|
|
22287
|
-
TableHeader.className = CLASSNAME$
|
|
22286
|
+
TableHeader.displayName = COMPONENT_NAME$c;
|
|
22287
|
+
TableHeader.className = CLASSNAME$b;
|
|
22288
22288
|
TableHeader.defaultProps = DEFAULT_PROPS$b;
|
|
22289
22289
|
|
|
22290
22290
|
/**
|
|
22291
22291
|
* Component display name.
|
|
22292
22292
|
*/
|
|
22293
|
-
const COMPONENT_NAME$
|
|
22293
|
+
const COMPONENT_NAME$b = 'TableRow';
|
|
22294
22294
|
|
|
22295
22295
|
/**
|
|
22296
22296
|
* Component default class name and class prefix.
|
|
22297
22297
|
*/
|
|
22298
|
-
const CLASSNAME$
|
|
22298
|
+
const CLASSNAME$a = `${CLASSNAME$e}__row`;
|
|
22299
22299
|
const {
|
|
22300
22300
|
block: block$9
|
|
22301
|
-
} = bem(CLASSNAME$
|
|
22301
|
+
} = bem(CLASSNAME$a);
|
|
22302
22302
|
|
|
22303
22303
|
/**
|
|
22304
22304
|
* Component default props.
|
|
@@ -22373,8 +22373,8 @@ const TableRow = forwardRef((props, ref) => {
|
|
|
22373
22373
|
...forwardedProps
|
|
22374
22374
|
});
|
|
22375
22375
|
});
|
|
22376
|
-
TableRow.displayName = COMPONENT_NAME$
|
|
22377
|
-
TableRow.className = CLASSNAME$
|
|
22376
|
+
TableRow.displayName = COMPONENT_NAME$b;
|
|
22377
|
+
TableRow.className = CLASSNAME$a;
|
|
22378
22378
|
TableRow.defaultProps = DEFAULT_PROPS$a;
|
|
22379
22379
|
|
|
22380
22380
|
const DEFAULT_PROPS$9 = {
|
|
@@ -22461,7 +22461,7 @@ let TabListLayout = /*#__PURE__*/function (TabListLayout) {
|
|
|
22461
22461
|
/**
|
|
22462
22462
|
* Component display name.
|
|
22463
22463
|
*/
|
|
22464
|
-
const COMPONENT_NAME$
|
|
22464
|
+
const COMPONENT_NAME$a = 'TabList';
|
|
22465
22465
|
|
|
22466
22466
|
/**
|
|
22467
22467
|
* Component default props.
|
|
@@ -22543,14 +22543,14 @@ const TabList = forwardRef((props, ref) => {
|
|
|
22543
22543
|
ref: mergeRefs(ref, tabListRef)
|
|
22544
22544
|
});
|
|
22545
22545
|
});
|
|
22546
|
-
TabList.displayName = COMPONENT_NAME$
|
|
22546
|
+
TabList.displayName = COMPONENT_NAME$a;
|
|
22547
22547
|
TabList.className = TABS_CLASSNAME;
|
|
22548
22548
|
TabList.defaultProps = DEFAULT_PROPS$8;
|
|
22549
22549
|
|
|
22550
22550
|
/**
|
|
22551
22551
|
* Component display name.
|
|
22552
22552
|
*/
|
|
22553
|
-
const COMPONENT_NAME$
|
|
22553
|
+
const COMPONENT_NAME$9 = 'Tab';
|
|
22554
22554
|
|
|
22555
22555
|
/**
|
|
22556
22556
|
* Component default props.
|
|
@@ -22560,10 +22560,10 @@ const DEFAULT_PROPS$7 = {};
|
|
|
22560
22560
|
/**
|
|
22561
22561
|
* Component default class name and class prefix.
|
|
22562
22562
|
*/
|
|
22563
|
-
const CLASSNAME$
|
|
22563
|
+
const CLASSNAME$9 = `${TABS_CLASSNAME}__link`;
|
|
22564
22564
|
const {
|
|
22565
22565
|
block: block$7
|
|
22566
|
-
} = bem(CLASSNAME$
|
|
22566
|
+
} = bem(CLASSNAME$9);
|
|
22567
22567
|
|
|
22568
22568
|
/**
|
|
22569
22569
|
* Tab component. Two modes keyed on `TabProvider` presence (via the wrapper-resolved `role`):
|
|
@@ -22731,23 +22731,23 @@ const Tab = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
22731
22731
|
handleKeyPress: onKeyPress
|
|
22732
22732
|
});
|
|
22733
22733
|
}), {
|
|
22734
|
-
displayName: COMPONENT_NAME$
|
|
22735
|
-
className: CLASSNAME$
|
|
22734
|
+
displayName: COMPONENT_NAME$9,
|
|
22735
|
+
className: CLASSNAME$9,
|
|
22736
22736
|
defaultProps: DEFAULT_PROPS$7
|
|
22737
22737
|
});
|
|
22738
22738
|
|
|
22739
22739
|
/**
|
|
22740
22740
|
* Component display name.
|
|
22741
22741
|
*/
|
|
22742
|
-
const COMPONENT_NAME$
|
|
22742
|
+
const COMPONENT_NAME$8 = 'TabPanel';
|
|
22743
22743
|
|
|
22744
22744
|
/**
|
|
22745
22745
|
* Component default class name and class prefix.
|
|
22746
22746
|
*/
|
|
22747
|
-
const CLASSNAME$
|
|
22747
|
+
const CLASSNAME$8 = `lumx-tab-panel`;
|
|
22748
22748
|
const {
|
|
22749
22749
|
block: block$6
|
|
22750
|
-
} = bem(CLASSNAME$
|
|
22750
|
+
} = bem(CLASSNAME$8);
|
|
22751
22751
|
|
|
22752
22752
|
/**
|
|
22753
22753
|
* Component default props.
|
|
@@ -22819,8 +22819,8 @@ const TabPanel = forwardRef((props, ref) => {
|
|
|
22819
22819
|
...forwardedProps
|
|
22820
22820
|
});
|
|
22821
22821
|
});
|
|
22822
|
-
TabPanel.displayName = COMPONENT_NAME$
|
|
22823
|
-
TabPanel.className = CLASSNAME$
|
|
22822
|
+
TabPanel.displayName = COMPONENT_NAME$8;
|
|
22823
|
+
TabPanel.className = CLASSNAME$8;
|
|
22824
22824
|
TabPanel.defaultProps = DEFAULT_PROPS$6;
|
|
22825
22825
|
|
|
22826
22826
|
/**
|
|
@@ -22970,16 +22970,16 @@ function calculateFocusPointStyle({
|
|
|
22970
22970
|
/**
|
|
22971
22971
|
* Component display name.
|
|
22972
22972
|
*/
|
|
22973
|
-
const COMPONENT_NAME$
|
|
22973
|
+
const COMPONENT_NAME$7 = 'Thumbnail';
|
|
22974
22974
|
|
|
22975
22975
|
/**
|
|
22976
22976
|
* Component default class name and class prefix.
|
|
22977
22977
|
*/
|
|
22978
|
-
const CLASSNAME$
|
|
22978
|
+
const CLASSNAME$7 = 'lumx-thumbnail';
|
|
22979
22979
|
const {
|
|
22980
22980
|
block: block$5,
|
|
22981
22981
|
element: element$4
|
|
22982
|
-
} = classNames.bem(CLASSNAME$
|
|
22982
|
+
} = classNames.bem(CLASSNAME$7);
|
|
22983
22983
|
|
|
22984
22984
|
/**
|
|
22985
22985
|
* Component default props.
|
|
@@ -23260,8 +23260,8 @@ const Thumbnail = forwardRef((props, ref) => {
|
|
|
23260
23260
|
})
|
|
23261
23261
|
});
|
|
23262
23262
|
});
|
|
23263
|
-
Thumbnail.displayName = COMPONENT_NAME$
|
|
23264
|
-
Thumbnail.className = CLASSNAME$
|
|
23263
|
+
Thumbnail.displayName = COMPONENT_NAME$7;
|
|
23264
|
+
Thumbnail.className = CLASSNAME$7;
|
|
23265
23265
|
Thumbnail.defaultProps = DEFAULT_PROPS$5;
|
|
23266
23266
|
|
|
23267
23267
|
/**
|
|
@@ -23304,15 +23304,15 @@ const ThumbnailObjectFit = {
|
|
|
23304
23304
|
/**
|
|
23305
23305
|
* Component display name.
|
|
23306
23306
|
*/
|
|
23307
|
-
const COMPONENT_NAME$
|
|
23307
|
+
const COMPONENT_NAME$6 = 'TimePickerField';
|
|
23308
23308
|
|
|
23309
23309
|
/**
|
|
23310
23310
|
* Component default class name (BEM root).
|
|
23311
23311
|
*/
|
|
23312
|
-
const CLASSNAME$
|
|
23312
|
+
const CLASSNAME$6 = 'lumx-time-picker-field';
|
|
23313
23313
|
const {
|
|
23314
23314
|
block: block$4
|
|
23315
|
-
} = bem(CLASSNAME$
|
|
23315
|
+
} = bem(CLASSNAME$6);
|
|
23316
23316
|
|
|
23317
23317
|
/**
|
|
23318
23318
|
* Default values for `TimePickerFieldWrapperProps`.
|
|
@@ -23405,8 +23405,8 @@ const TimePickerField$1 = (props, {
|
|
|
23405
23405
|
translations: translations
|
|
23406
23406
|
});
|
|
23407
23407
|
};
|
|
23408
|
-
TimePickerField$1.displayName = COMPONENT_NAME$
|
|
23409
|
-
TimePickerField$1.className = CLASSNAME$
|
|
23408
|
+
TimePickerField$1.displayName = COMPONENT_NAME$6;
|
|
23409
|
+
TimePickerField$1.className = CLASSNAME$6;
|
|
23410
23410
|
|
|
23411
23411
|
/**
|
|
23412
23412
|
* Format a time-of-day as a locale-aware short time (e.g. `'10:30 AM'`,
|
|
@@ -23687,21 +23687,21 @@ const TimePickerField = props => {
|
|
|
23687
23687
|
Option: SelectTextField.Option
|
|
23688
23688
|
});
|
|
23689
23689
|
};
|
|
23690
|
-
TimePickerField.displayName = COMPONENT_NAME$
|
|
23690
|
+
TimePickerField.displayName = COMPONENT_NAME$6;
|
|
23691
23691
|
|
|
23692
23692
|
/**
|
|
23693
23693
|
* Component display name.
|
|
23694
23694
|
*/
|
|
23695
|
-
const COMPONENT_NAME$
|
|
23695
|
+
const COMPONENT_NAME$5 = 'Toolbar';
|
|
23696
23696
|
|
|
23697
23697
|
/**
|
|
23698
23698
|
* Component default class name and class prefix.
|
|
23699
23699
|
*/
|
|
23700
|
-
const CLASSNAME$
|
|
23700
|
+
const CLASSNAME$5 = 'lumx-toolbar';
|
|
23701
23701
|
const {
|
|
23702
23702
|
block: block$3,
|
|
23703
23703
|
element: element$3
|
|
23704
|
-
} = bem(CLASSNAME$
|
|
23704
|
+
} = bem(CLASSNAME$5);
|
|
23705
23705
|
|
|
23706
23706
|
/**
|
|
23707
23707
|
* Component default props.
|
|
@@ -23761,8 +23761,8 @@ const Toolbar = forwardRef((props, ref) => {
|
|
|
23761
23761
|
...props
|
|
23762
23762
|
});
|
|
23763
23763
|
});
|
|
23764
|
-
Toolbar.displayName = COMPONENT_NAME$
|
|
23765
|
-
Toolbar.className = CLASSNAME$
|
|
23764
|
+
Toolbar.displayName = COMPONENT_NAME$5;
|
|
23765
|
+
Toolbar.className = CLASSNAME$5;
|
|
23766
23766
|
Toolbar.defaultProps = DEFAULT_PROPS$3;
|
|
23767
23767
|
|
|
23768
23768
|
/**
|
|
@@ -23772,12 +23772,12 @@ Toolbar.defaultProps = DEFAULT_PROPS$3;
|
|
|
23772
23772
|
/**
|
|
23773
23773
|
* Component display name.
|
|
23774
23774
|
*/
|
|
23775
|
-
const COMPONENT_NAME$
|
|
23775
|
+
const COMPONENT_NAME$4 = 'TreeList';
|
|
23776
23776
|
|
|
23777
23777
|
/**
|
|
23778
23778
|
* Component default class name and class prefix.
|
|
23779
23779
|
*/
|
|
23780
|
-
const CLASSNAME$
|
|
23780
|
+
const CLASSNAME$4 = 'lumx-tree-list';
|
|
23781
23781
|
|
|
23782
23782
|
/**
|
|
23783
23783
|
* Component default props.
|
|
@@ -23806,7 +23806,7 @@ const TreeList$2 = props => {
|
|
|
23806
23806
|
const listProps = {
|
|
23807
23807
|
...forwardedProps,
|
|
23808
23808
|
as: 'ul',
|
|
23809
|
-
className: classnames(className, CLASSNAME$
|
|
23809
|
+
className: classnames(className, CLASSNAME$4),
|
|
23810
23810
|
itemPadding: 'big',
|
|
23811
23811
|
role: 'tree',
|
|
23812
23812
|
'aria-busy': ariaBusy || undefined,
|
|
@@ -23814,12 +23814,12 @@ const TreeList$2 = props => {
|
|
|
23814
23814
|
};
|
|
23815
23815
|
return List$1(listProps);
|
|
23816
23816
|
};
|
|
23817
|
-
TreeList$2.displayName = COMPONENT_NAME$
|
|
23818
|
-
TreeList$2.className = CLASSNAME$
|
|
23817
|
+
TreeList$2.displayName = COMPONENT_NAME$4;
|
|
23818
|
+
TreeList$2.className = CLASSNAME$4;
|
|
23819
23819
|
TreeList$2.defaultProps = DEFAULT_PROPS$2;
|
|
23820
23820
|
|
|
23821
23821
|
/** Whether an element is an item skeleton (`Combobox.OptionSkeleton`). */
|
|
23822
|
-
const isSkeletonElement = el => el.classList.contains(CLASSNAME$
|
|
23822
|
+
const isSkeletonElement = el => el.classList.contains(CLASSNAME$1f);
|
|
23823
23823
|
|
|
23824
23824
|
/*
|
|
23825
23825
|
* The DOM contract of the tree: the markup that the `TreeList` and `TreeListItem` templates render. The tree
|
|
@@ -24070,6 +24070,8 @@ const NO_FILTER_STATE = {
|
|
|
24070
24070
|
|
|
24071
24071
|
/** A registered tree item, as the registry sees it (its controller is given to the tree item component). */
|
|
24072
24072
|
|
|
24073
|
+
/** A registered section, as the registry sees it. */
|
|
24074
|
+
|
|
24073
24075
|
/**
|
|
24074
24076
|
* Set up tree list behavior (WAI-ARIA tree pattern) independent of any DOM element.
|
|
24075
24077
|
*
|
|
@@ -24089,6 +24091,8 @@ const NO_FILTER_STATE = {
|
|
|
24089
24091
|
function setupTreeList(options = {}) {
|
|
24090
24092
|
/** Tree items, keyed by their root `<li>` element. */
|
|
24091
24093
|
const registrations = new Map();
|
|
24094
|
+
/** Sections, keyed by their root `<li>` element. */
|
|
24095
|
+
const sections = new Map();
|
|
24092
24096
|
/** Number of matching tree items (auto filter only), from the last full update. */
|
|
24093
24097
|
let matchingCount = 0;
|
|
24094
24098
|
/** The filter of the last full update (to detect a clear). */
|
|
@@ -24120,6 +24124,34 @@ function setupTreeList(options = {}) {
|
|
|
24120
24124
|
return parent;
|
|
24121
24125
|
}
|
|
24122
24126
|
|
|
24127
|
+
/**
|
|
24128
|
+
* Compute the state of a section and notify it when it changed (or always, with `force`): hidden when it
|
|
24129
|
+
* holds registered tree items and the filter hides all of them.
|
|
24130
|
+
*/
|
|
24131
|
+
function notifySection(element, force = false) {
|
|
24132
|
+
const entry = sections.get(element);
|
|
24133
|
+
if (!entry) return;
|
|
24134
|
+
let hasItems = false;
|
|
24135
|
+
let hasVisibleItem = false;
|
|
24136
|
+
for (const [root, item] of registrations) {
|
|
24137
|
+
if (!element.contains(root)) continue;
|
|
24138
|
+
hasItems = true;
|
|
24139
|
+
if (!item.hidden) {
|
|
24140
|
+
hasVisibleItem = true;
|
|
24141
|
+
break;
|
|
24142
|
+
}
|
|
24143
|
+
}
|
|
24144
|
+
const hidden = hasItems && !hasVisibleItem;
|
|
24145
|
+
if (!force && hidden === entry.last.hidden) return;
|
|
24146
|
+
entry.last = {
|
|
24147
|
+
hidden
|
|
24148
|
+
};
|
|
24149
|
+
entry.onChange(entry.last);
|
|
24150
|
+
}
|
|
24151
|
+
function notifySections() {
|
|
24152
|
+
for (const element of sections.keys()) notifySection(element);
|
|
24153
|
+
}
|
|
24154
|
+
|
|
24123
24155
|
/**
|
|
24124
24156
|
* Compute the filter state of every tree item (from the DOM nesting and the filter) and notify the
|
|
24125
24157
|
* changed ones. Auto filter: a tree item is visible when it is a matching item, when a tree item below
|
|
@@ -24136,7 +24168,10 @@ function setupTreeList(options = {}) {
|
|
|
24136
24168
|
// A new filter before the restore frame: the restore is not needed.
|
|
24137
24169
|
if (filterValue) cancelRestore();
|
|
24138
24170
|
matchingCount = 0;
|
|
24139
|
-
if (registrations.size === 0)
|
|
24171
|
+
if (registrations.size === 0) {
|
|
24172
|
+
notifySections();
|
|
24173
|
+
return;
|
|
24174
|
+
}
|
|
24140
24175
|
const items = Array.from(registrations.keys());
|
|
24141
24176
|
const parents = new Map(items.map(item => [item, getParentRegistration(item)]));
|
|
24142
24177
|
/** The registered parent items of a tree item, from its parent item up to the root. */
|
|
@@ -24181,6 +24216,7 @@ function setupTreeList(options = {}) {
|
|
|
24181
24216
|
hasMatchBelow: hasMatchBelow.has(item)
|
|
24182
24217
|
});
|
|
24183
24218
|
}
|
|
24219
|
+
notifySections();
|
|
24184
24220
|
// A selection clears the filter before the framework renders the new `aria-selected`: the open state
|
|
24185
24221
|
// after the clear (which keeps the ancestors of the selected items open) is only known on the next frame.
|
|
24186
24222
|
if (isCleared) {
|
|
@@ -24237,6 +24273,7 @@ function setupTreeList(options = {}) {
|
|
|
24237
24273
|
lastFilter = '';
|
|
24238
24274
|
matchingCount = 0;
|
|
24239
24275
|
registrations.clear();
|
|
24276
|
+
sections.clear();
|
|
24240
24277
|
}
|
|
24241
24278
|
});
|
|
24242
24279
|
|
|
@@ -24361,6 +24398,9 @@ function setupTreeList(options = {}) {
|
|
|
24361
24398
|
get isOpen() {
|
|
24362
24399
|
return isParent() ? state.isOpen : undefined;
|
|
24363
24400
|
},
|
|
24401
|
+
get hidden() {
|
|
24402
|
+
return state.hidden;
|
|
24403
|
+
},
|
|
24364
24404
|
applyFilterState,
|
|
24365
24405
|
restoreAfterClear,
|
|
24366
24406
|
setOpen
|
|
@@ -24389,9 +24429,24 @@ function setupTreeList(options = {}) {
|
|
|
24389
24429
|
};
|
|
24390
24430
|
}
|
|
24391
24431
|
|
|
24392
|
-
|
|
24432
|
+
/** Register a section root (see {@link TreeListHandle.registerSection}). */
|
|
24433
|
+
function registerSection(element, onChange) {
|
|
24434
|
+
sections.set(element, {
|
|
24435
|
+
onChange,
|
|
24436
|
+
last: {
|
|
24437
|
+
hidden: false
|
|
24438
|
+
}
|
|
24439
|
+
});
|
|
24440
|
+
notifySection(element, true);
|
|
24441
|
+
return () => {
|
|
24442
|
+
sections.delete(element);
|
|
24443
|
+
};
|
|
24444
|
+
}
|
|
24445
|
+
|
|
24446
|
+
// Add the tree item and section registry to the composite handle (keeps its getters).
|
|
24393
24447
|
return Object.assign(composite, {
|
|
24394
|
-
registerTreeItem
|
|
24448
|
+
registerTreeItem,
|
|
24449
|
+
registerSection
|
|
24395
24450
|
});
|
|
24396
24451
|
}
|
|
24397
24452
|
|
|
@@ -24534,23 +24589,23 @@ const TreeList$1 = forwardRef((props, ref) => {
|
|
|
24534
24589
|
})
|
|
24535
24590
|
});
|
|
24536
24591
|
});
|
|
24537
|
-
TreeList$1.displayName = COMPONENT_NAME$
|
|
24538
|
-
TreeList$1.className = CLASSNAME$
|
|
24592
|
+
TreeList$1.displayName = COMPONENT_NAME$4;
|
|
24593
|
+
TreeList$1.className = CLASSNAME$4;
|
|
24539
24594
|
TreeList$1.defaultProps = DEFAULT_PROPS$2;
|
|
24540
24595
|
|
|
24541
24596
|
/**
|
|
24542
24597
|
* Component display name.
|
|
24543
24598
|
*/
|
|
24544
|
-
const COMPONENT_NAME$
|
|
24599
|
+
const COMPONENT_NAME$3 = 'TreeListItem';
|
|
24545
24600
|
|
|
24546
24601
|
/**
|
|
24547
24602
|
* Component default class name and class prefix.
|
|
24548
24603
|
*/
|
|
24549
|
-
const CLASSNAME$
|
|
24604
|
+
const CLASSNAME$3 = 'lumx-tree-list-item';
|
|
24550
24605
|
const {
|
|
24551
24606
|
block: block$2,
|
|
24552
24607
|
element: element$2
|
|
24553
|
-
} = bem(CLASSNAME$
|
|
24608
|
+
} = bem(CLASSNAME$3);
|
|
24554
24609
|
|
|
24555
24610
|
/**
|
|
24556
24611
|
* TreeListItem core template: one tree item of a `TreeList`, with its sub-items in a group.
|
|
@@ -24700,8 +24755,8 @@ const TreeListItem$1 = (props, {
|
|
|
24700
24755
|
})]
|
|
24701
24756
|
});
|
|
24702
24757
|
};
|
|
24703
|
-
TreeListItem$1.displayName = COMPONENT_NAME$
|
|
24704
|
-
TreeListItem$1.className = CLASSNAME$
|
|
24758
|
+
TreeListItem$1.displayName = COMPONENT_NAME$3;
|
|
24759
|
+
TreeListItem$1.className = CLASSNAME$3;
|
|
24705
24760
|
|
|
24706
24761
|
/** Whether a composite handle is a tree list handle (it has the tree item registry). */
|
|
24707
24762
|
function isTreeListHandle(handle) {
|
|
@@ -24741,7 +24796,7 @@ const TreeListItem = forwardRef((props, ref) => {
|
|
|
24741
24796
|
} = props;
|
|
24742
24797
|
const compositeContext = useContext(CompositeContext);
|
|
24743
24798
|
if (!compositeContext) {
|
|
24744
|
-
throw new Error(`${COMPONENT_NAME$
|
|
24799
|
+
throw new Error(`${COMPONENT_NAME$3} must be used within a TreeList`);
|
|
24745
24800
|
}
|
|
24746
24801
|
const {
|
|
24747
24802
|
handle,
|
|
@@ -24752,7 +24807,7 @@ const TreeListItem = forwardRef((props, ref) => {
|
|
|
24752
24807
|
const isOutsideTree = !!handle && !tree;
|
|
24753
24808
|
useEffect(() => {
|
|
24754
24809
|
if (isOutsideTree) {
|
|
24755
|
-
console.warn(`[@lumx/react/${COMPONENT_NAME$
|
|
24810
|
+
console.warn(`[@lumx/react/${COMPONENT_NAME$3}] ${COMPONENT_NAME$3} must be used within a TreeList.`);
|
|
24756
24811
|
}
|
|
24757
24812
|
}, [isOutsideTree]);
|
|
24758
24813
|
const id = useId();
|
|
@@ -24839,15 +24894,127 @@ const TreeListItem = forwardRef((props, ref) => {
|
|
|
24839
24894
|
Tooltip
|
|
24840
24895
|
});
|
|
24841
24896
|
});
|
|
24842
|
-
TreeListItem.displayName = COMPONENT_NAME$
|
|
24843
|
-
TreeListItem.className = CLASSNAME$
|
|
24897
|
+
TreeListItem.displayName = COMPONENT_NAME$3;
|
|
24898
|
+
TreeListItem.className = CLASSNAME$3;
|
|
24899
|
+
|
|
24900
|
+
/**
|
|
24901
|
+
* Component display name.
|
|
24902
|
+
*/
|
|
24903
|
+
const COMPONENT_NAME$2 = 'TreeListSection';
|
|
24904
|
+
|
|
24905
|
+
/**
|
|
24906
|
+
* Component default class name and class prefix.
|
|
24907
|
+
*/
|
|
24908
|
+
const CLASSNAME$2 = 'lumx-tree-list-section';
|
|
24909
|
+
|
|
24910
|
+
/**
|
|
24911
|
+
* TreeListSection core template: a section of root tree items in a `TreeList`, with an optional label. The
|
|
24912
|
+
* list sections get a divider between them (and between them and the standalone tree items).
|
|
24913
|
+
*
|
|
24914
|
+
* The section has no ARIA semantics (`role="none"` on the `<li>` and on the `<ul>`): in a tree, a
|
|
24915
|
+
* `role="group"` is the group of sub-items of a tree item, and it changes the level of its tree items. The
|
|
24916
|
+
* tree items of a section stay root tree items (`aria-level` 1).
|
|
24917
|
+
*
|
|
24918
|
+
* @param props Component props.
|
|
24919
|
+
* @param components Injected framework-specific components.
|
|
24920
|
+
* @return JSX element.
|
|
24921
|
+
*/
|
|
24922
|
+
const TreeListSection$1 = (props, {
|
|
24923
|
+
ListSection
|
|
24924
|
+
}) => {
|
|
24925
|
+
const {
|
|
24926
|
+
children,
|
|
24927
|
+
className,
|
|
24928
|
+
hidden,
|
|
24929
|
+
...forwardedProps
|
|
24930
|
+
} = props;
|
|
24931
|
+
return /*#__PURE__*/jsx(ListSection, {
|
|
24932
|
+
...forwardedProps,
|
|
24933
|
+
role: "none",
|
|
24934
|
+
hidden: hidden || undefined,
|
|
24935
|
+
className: classnames(className, CLASSNAME$2)
|
|
24936
|
+
// No `aria-labelledby` on the `<ul>`: a global ARIA attribute makes browsers ignore `role="none"`.
|
|
24937
|
+
,
|
|
24938
|
+
itemsWrapperProps: {
|
|
24939
|
+
role: 'none',
|
|
24940
|
+
'aria-labelledby': undefined
|
|
24941
|
+
},
|
|
24942
|
+
children: children
|
|
24943
|
+
});
|
|
24944
|
+
};
|
|
24945
|
+
TreeListSection$1.displayName = COMPONENT_NAME$2;
|
|
24946
|
+
TreeListSection$1.className = CLASSNAME$2;
|
|
24947
|
+
|
|
24948
|
+
/**
|
|
24949
|
+
* Props for the TreeListSection component.
|
|
24950
|
+
*/
|
|
24951
|
+
|
|
24952
|
+
/**
|
|
24953
|
+
* TreeListSection component: a section of root tree items in a `TreeList`, with an optional label (`TreeList.Section`).
|
|
24954
|
+
*
|
|
24955
|
+
* - The sections get a divider between them (and between them and the standalone tree items). Use a section
|
|
24956
|
+
* without a label as a separator.
|
|
24957
|
+
* - Root level only: the tree items of a section are root tree items. Do not use it in a tree item.
|
|
24958
|
+
* - With `filter="auto"`, the section is hidden when the filter hides all of its tree items.
|
|
24959
|
+
* - The label is visual only: the section has no ARIA semantics (a group in a tree changes the tree item levels).
|
|
24960
|
+
* - Returns null without children.
|
|
24961
|
+
*
|
|
24962
|
+
* @param props Component props.
|
|
24963
|
+
* @param ref Component ref.
|
|
24964
|
+
* @return React element.
|
|
24965
|
+
*/
|
|
24966
|
+
const TreeListSection = forwardRef((props, ref) => {
|
|
24967
|
+
const {
|
|
24968
|
+
children,
|
|
24969
|
+
label,
|
|
24970
|
+
...forwardedProps
|
|
24971
|
+
} = props;
|
|
24972
|
+
const compositeContext = useContext(CompositeContext);
|
|
24973
|
+
const handle = compositeContext?.handle;
|
|
24974
|
+
const tree = isTreeListHandle(handle) ? handle : null;
|
|
24975
|
+
const isNested = !!compositeContext?.level;
|
|
24976
|
+
useEffect(() => {
|
|
24977
|
+
if (isNested) {
|
|
24978
|
+
console.warn(`[@lumx/react/${COMPONENT_NAME$2}] ${COMPONENT_NAME$2} must be used at the root of a TreeList.`);
|
|
24979
|
+
}
|
|
24980
|
+
}, [isNested]);
|
|
24981
|
+
const internalRef = useRef(null);
|
|
24982
|
+
const mergedRef = useMergeRefs(ref, internalRef);
|
|
24983
|
+
const [state, setState] = useState({
|
|
24984
|
+
hidden: false
|
|
24985
|
+
});
|
|
24986
|
+
const hasChildren = Children.count(children) > 0;
|
|
24987
|
+
|
|
24988
|
+
// Register on the tree for the filter state (the tree items of the section register before it).
|
|
24989
|
+
// Run again when the section starts to render (children added after the first render).
|
|
24990
|
+
useEffect(() => {
|
|
24991
|
+
const element = internalRef.current;
|
|
24992
|
+
if (!element || !tree) return undefined;
|
|
24993
|
+
return tree.registerSection(element, setState);
|
|
24994
|
+
}, [tree, hasChildren]);
|
|
24995
|
+
if (!hasChildren) return null;
|
|
24996
|
+
return TreeListSection$1({
|
|
24997
|
+
...forwardedProps,
|
|
24998
|
+
ref: mergedRef,
|
|
24999
|
+
label,
|
|
25000
|
+
hidden: state.hidden,
|
|
25001
|
+
children
|
|
25002
|
+
}, {
|
|
25003
|
+
ListSection
|
|
25004
|
+
});
|
|
25005
|
+
});
|
|
25006
|
+
TreeListSection.displayName = COMPONENT_NAME$2;
|
|
25007
|
+
TreeListSection.className = CLASSNAME$2;
|
|
24844
25008
|
|
|
24845
25009
|
/**
|
|
24846
|
-
* TreeList compound component: `TreeList.Item` is the tree item (also exported as `TreeListItem`)
|
|
25010
|
+
* TreeList compound component: `TreeList.Item` is the tree item (also exported as `TreeListItem`), and
|
|
25011
|
+
* `TreeList.Section` a section of root tree items (also exported as `TreeListSection`).
|
|
24847
25012
|
*/
|
|
24848
25013
|
const TreeList = Object.assign(TreeList$1, {
|
|
24849
25014
|
/** One tree item of the tree, with its sub-items. */
|
|
24850
|
-
Item: TreeListItem
|
|
25015
|
+
Item: TreeListItem,
|
|
25016
|
+
/** A section of root tree items, with an optional label (a divider between the sections). */
|
|
25017
|
+
Section: TreeListSection
|
|
24851
25018
|
});
|
|
24852
25019
|
|
|
24853
25020
|
const UploaderVariant = {
|
|
@@ -25245,5 +25412,5 @@ UserBlock.displayName = COMPONENT_NAME;
|
|
|
25245
25412
|
UserBlock.className = CLASSNAME;
|
|
25246
25413
|
UserBlock.defaultProps = DEFAULT_PROPS;
|
|
25247
25414
|
|
|
25248
|
-
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$
|
|
25415
|
+
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1D as CLASSNAME, COMPONENT_NAME$1F as COMPONENT_NAME, Card, Checkbox, Chip, ChipGroup, Combobox, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$1h as DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, DialogHeading, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, InputRequiredLegend, 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$6 as TIME_PICKER_FIELD_CLASSNAME, COMPONENT_NAME$6 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, TreeList, TreeListItem, TreeListSection, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
25249
25416
|
//# sourceMappingURL=index.js.map
|