@lumx/react 4.27.1-alpha.2 → 4.27.1-alpha.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 +54 -6
- package/index.js +827 -626
- package/index.js.map +1 -1
- package/package.json +3 -4
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,
|
|
@@ -6502,6 +6502,11 @@ const ListboxList$1 = props => {
|
|
|
6502
6502
|
});
|
|
6503
6503
|
};
|
|
6504
6504
|
|
|
6505
|
+
/** Whether a text contains a search text, with no regard to the letter case (an empty search text always matches). */
|
|
6506
|
+
function includesIgnoreCase(text, search) {
|
|
6507
|
+
return text.toLowerCase().includes(search.toLowerCase());
|
|
6508
|
+
}
|
|
6509
|
+
|
|
6505
6510
|
/** Typeahead interface. */
|
|
6506
6511
|
|
|
6507
6512
|
/** Timeout in ms after which the accumulated search string is cleared. */
|
|
@@ -6682,15 +6687,15 @@ const getOptionActiveId = event => event.slice(OPTION_ACTIVE_EVENT_PREFIX.length
|
|
|
6682
6687
|
/**
|
|
6683
6688
|
* Component display name.
|
|
6684
6689
|
*/
|
|
6685
|
-
const COMPONENT_NAME$
|
|
6690
|
+
const COMPONENT_NAME$1p = 'CompositeStatus';
|
|
6686
6691
|
|
|
6687
6692
|
/**
|
|
6688
6693
|
* Component default class name and class prefix.
|
|
6689
6694
|
*/
|
|
6690
|
-
const CLASSNAME$
|
|
6695
|
+
const CLASSNAME$1n = 'lumx-composite-status';
|
|
6691
6696
|
const {
|
|
6692
6697
|
block: block$11
|
|
6693
|
-
} = bem(CLASSNAME$
|
|
6698
|
+
} = bem(CLASSNAME$1n);
|
|
6694
6699
|
|
|
6695
6700
|
/** Class names of the previous versions (`Combobox.State` was the listbox state), kept for compatibility. */
|
|
6696
6701
|
const LEGACY_CLASSNAME$5 = 'lumx-listbox-state lumx-combobox-state';
|
|
@@ -6938,7 +6943,7 @@ function setupComposite(options, specialization) {
|
|
|
6938
6943
|
* or the skeletons change: a status is rendered with the list, not later.)
|
|
6939
6944
|
*/
|
|
6940
6945
|
function hasStatus(container) {
|
|
6941
|
-
return Array.from(container.querySelectorAll(`.${CLASSNAME$
|
|
6946
|
+
return Array.from(container.querySelectorAll(`.${CLASSNAME$1n}`)).some(status => {
|
|
6942
6947
|
const hiddenAncestor = status.parentElement?.closest('[hidden]');
|
|
6943
6948
|
return !hiddenAncestor || hiddenAncestor === container || !container.contains(hiddenAncestor);
|
|
6944
6949
|
});
|
|
@@ -7338,11 +7343,6 @@ function setupComposite(options, specialization) {
|
|
|
7338
7343
|
};
|
|
7339
7344
|
}
|
|
7340
7345
|
|
|
7341
|
-
/** Whether a text contains a search text, with no regard to the letter case (an empty search text always matches). */
|
|
7342
|
-
function includesIgnoreCase(text, search) {
|
|
7343
|
-
return text.toLowerCase().includes(search.toLowerCase());
|
|
7344
|
-
}
|
|
7345
|
-
|
|
7346
7346
|
/** Whether a composite handle is a listbox handle (it has the option registry). */
|
|
7347
7347
|
function isListboxHandle(handle) {
|
|
7348
7348
|
return !!handle && 'registerOption' in handle;
|
|
@@ -7576,19 +7576,23 @@ function setupListbox(options = {}) {
|
|
|
7576
7576
|
*
|
|
7577
7577
|
* Provided by `ListboxProvider` (standalone listbox) and by `Combobox.Provider` (the list registered on
|
|
7578
7578
|
* the combobox, with `comboboxListId`), then re-provided by the list with its `type` (and by a tree item with
|
|
7579
|
-
* the next `level`), without `comboboxListId`.
|
|
7579
|
+
* the next `level`), without `comboboxListId`. A standalone `TreeList` has no provider above it: it provides the
|
|
7580
|
+
* first context itself.
|
|
7580
7581
|
*/
|
|
7581
7582
|
|
|
7582
7583
|
const CompositeContext = /*#__PURE__*/createContext(undefined);
|
|
7583
7584
|
|
|
7584
|
-
/**
|
|
7585
|
+
/**
|
|
7586
|
+
* Access the composite context, if any (undefined outside a `ListboxProvider`, a `Combobox.Provider` or a
|
|
7587
|
+
* standalone `TreeList`).
|
|
7588
|
+
*/
|
|
7585
7589
|
function useOptionalCompositeContext() {
|
|
7586
7590
|
return useContext(CompositeContext);
|
|
7587
7591
|
}
|
|
7588
7592
|
|
|
7589
7593
|
/**
|
|
7590
7594
|
* Access the composite context.
|
|
7591
|
-
* @throws Error outside a `ListboxProvider` or a `
|
|
7595
|
+
* @throws Error outside a `ListboxProvider`, a `Combobox.Provider` or a standalone `TreeList`.
|
|
7592
7596
|
*/
|
|
7593
7597
|
function useCompositeContext() {
|
|
7594
7598
|
const context = useOptionalCompositeContext();
|
|
@@ -7863,6 +7867,7 @@ function useCompositeList(options) {
|
|
|
7863
7867
|
elementRef,
|
|
7864
7868
|
createList,
|
|
7865
7869
|
standaloneHandle,
|
|
7870
|
+
createStandalone,
|
|
7866
7871
|
onSelect
|
|
7867
7872
|
} = options;
|
|
7868
7873
|
const comboboxContext = useOptionalComboboxContext();
|
|
@@ -7882,9 +7887,9 @@ function useCompositeList(options) {
|
|
|
7882
7887
|
};
|
|
7883
7888
|
|
|
7884
7889
|
// Standalone list without a list provider: create its own handle.
|
|
7885
|
-
const [ownHandle] = useState(() => isInCombobox
|
|
7890
|
+
const [ownHandle] = useState(() => !isInCombobox && createStandalone ? createList({
|
|
7886
7891
|
onSelect: option => latest.current.onSelect?.(option)
|
|
7887
|
-
}));
|
|
7892
|
+
}) : null);
|
|
7888
7893
|
useEffect(() => () => ownHandle?.destroy(), [ownHandle]);
|
|
7889
7894
|
const [comboboxList, setComboboxList] = useState(null);
|
|
7890
7895
|
useEffect(() => {
|
|
@@ -7899,7 +7904,7 @@ function useCompositeList(options) {
|
|
|
7899
7904
|
setComboboxList(null);
|
|
7900
7905
|
};
|
|
7901
7906
|
}, [comboboxHandle]);
|
|
7902
|
-
const handle = isInCombobox ? comboboxList : standaloneHandle ??
|
|
7907
|
+
const handle = isInCombobox ? comboboxList : ownHandle ?? standaloneHandle ?? null;
|
|
7903
7908
|
const isOpen = useCompositeEvent(handle, 'open', false);
|
|
7904
7909
|
const optionsState = useCompositeEvent(handle, 'optionsChange', undefined);
|
|
7905
7910
|
const visibleCount = optionsState?.optionsLength ?? 0;
|
|
@@ -7999,22 +8004,22 @@ const ListboxList = forwardRef((props, ref) => {
|
|
|
7999
8004
|
})
|
|
8000
8005
|
});
|
|
8001
8006
|
});
|
|
8002
|
-
ListboxList.displayName = COMPONENT_NAME$
|
|
8003
|
-
ListboxList.className = CLASSNAME$
|
|
8007
|
+
ListboxList.displayName = COMPONENT_NAME$1q;
|
|
8008
|
+
ListboxList.className = CLASSNAME$1o;
|
|
8004
8009
|
|
|
8005
8010
|
/**
|
|
8006
8011
|
* Component display name.
|
|
8007
8012
|
*/
|
|
8008
|
-
const COMPONENT_NAME$
|
|
8013
|
+
const COMPONENT_NAME$1o = 'ListItem';
|
|
8009
8014
|
|
|
8010
8015
|
/**
|
|
8011
8016
|
* Component default class name and class prefix.
|
|
8012
8017
|
*/
|
|
8013
|
-
const CLASSNAME$
|
|
8018
|
+
const CLASSNAME$1m = 'lumx-list-item';
|
|
8014
8019
|
const {
|
|
8015
8020
|
block: block$10,
|
|
8016
8021
|
element: element$P
|
|
8017
|
-
} = bem(CLASSNAME$
|
|
8022
|
+
} = bem(CLASSNAME$1m);
|
|
8018
8023
|
|
|
8019
8024
|
/**
|
|
8020
8025
|
* Component default props.
|
|
@@ -8082,8 +8087,8 @@ const ListItem$1 = props => {
|
|
|
8082
8087
|
})
|
|
8083
8088
|
});
|
|
8084
8089
|
};
|
|
8085
|
-
ListItem$1.displayName = COMPONENT_NAME$
|
|
8086
|
-
ListItem$1.className = CLASSNAME$
|
|
8090
|
+
ListItem$1.displayName = COMPONENT_NAME$1o;
|
|
8091
|
+
ListItem$1.className = CLASSNAME$1m;
|
|
8087
8092
|
ListItem$1.defaultProps = DEFAULT_PROPS$13;
|
|
8088
8093
|
|
|
8089
8094
|
/**
|
|
@@ -8093,12 +8098,12 @@ ListItem$1.defaultProps = DEFAULT_PROPS$13;
|
|
|
8093
8098
|
/**
|
|
8094
8099
|
* Component display name.
|
|
8095
8100
|
*/
|
|
8096
|
-
const COMPONENT_NAME$
|
|
8101
|
+
const COMPONENT_NAME$1n = 'ListItemAction';
|
|
8097
8102
|
|
|
8098
8103
|
/**
|
|
8099
8104
|
* Component classname (used by action area CSS pattern).
|
|
8100
8105
|
*/
|
|
8101
|
-
const CLASSNAME$
|
|
8106
|
+
const CLASSNAME$1l = 'lumx-action-area__action';
|
|
8102
8107
|
const DEFAULT_PROPS$12 = {};
|
|
8103
8108
|
|
|
8104
8109
|
/**
|
|
@@ -8154,12 +8159,12 @@ const CompositeItemDescription = ({
|
|
|
8154
8159
|
/**
|
|
8155
8160
|
* Component display name.
|
|
8156
8161
|
*/
|
|
8157
|
-
const COMPONENT_NAME$
|
|
8162
|
+
const COMPONENT_NAME$1m = 'ListboxOption';
|
|
8158
8163
|
|
|
8159
8164
|
/**
|
|
8160
8165
|
* Component default class name and class prefix.
|
|
8161
8166
|
*/
|
|
8162
|
-
const CLASSNAME$
|
|
8167
|
+
const CLASSNAME$1k = 'lumx-listbox-option';
|
|
8163
8168
|
/**
|
|
8164
8169
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
8165
8170
|
*
|
|
@@ -8169,7 +8174,7 @@ const LEGACY_CLASSNAME$4 = 'lumx-combobox-option';
|
|
|
8169
8174
|
const {
|
|
8170
8175
|
block: block$$,
|
|
8171
8176
|
element: element$O
|
|
8172
|
-
} = bem(CLASSNAME$
|
|
8177
|
+
} = bem(CLASSNAME$1k);
|
|
8173
8178
|
const legacy$1 = bem(LEGACY_CLASSNAME$4);
|
|
8174
8179
|
|
|
8175
8180
|
/**
|
|
@@ -8356,8 +8361,8 @@ const ListboxOption = forwardRef((props, ref) => {
|
|
|
8356
8361
|
})
|
|
8357
8362
|
});
|
|
8358
8363
|
});
|
|
8359
|
-
ListboxOption.displayName = COMPONENT_NAME$
|
|
8360
|
-
ListboxOption.className = CLASSNAME$
|
|
8364
|
+
ListboxOption.displayName = COMPONENT_NAME$1m;
|
|
8365
|
+
ListboxOption.className = CLASSNAME$1k;
|
|
8361
8366
|
|
|
8362
8367
|
/**
|
|
8363
8368
|
* Defines the props for the core ListboxOptionAction template.
|
|
@@ -8366,12 +8371,12 @@ ListboxOption.className = CLASSNAME$1j;
|
|
|
8366
8371
|
/**
|
|
8367
8372
|
* Component display name.
|
|
8368
8373
|
*/
|
|
8369
|
-
const COMPONENT_NAME$
|
|
8374
|
+
const COMPONENT_NAME$1l = 'ListboxOptionAction';
|
|
8370
8375
|
|
|
8371
8376
|
/**
|
|
8372
8377
|
* Component default class name and class prefix.
|
|
8373
8378
|
*/
|
|
8374
|
-
const CLASSNAME$
|
|
8379
|
+
const CLASSNAME$1j = 'lumx-listbox-option-action';
|
|
8375
8380
|
/**
|
|
8376
8381
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
8377
8382
|
*
|
|
@@ -8400,7 +8405,7 @@ const ListboxOptionAction$1 = props => {
|
|
|
8400
8405
|
as: Element,
|
|
8401
8406
|
...forwardedProps,
|
|
8402
8407
|
role: 'gridcell',
|
|
8403
|
-
className: classnames(className, CLASSNAME$
|
|
8408
|
+
className: classnames(className, CLASSNAME$1j, LEGACY_CLASSNAME$3),
|
|
8404
8409
|
handleClick,
|
|
8405
8410
|
children
|
|
8406
8411
|
});
|
|
@@ -8448,7 +8453,7 @@ const ListboxOptionAction = Object.assign(forwardRefPolymorphic((props, ref) =>
|
|
|
8448
8453
|
const isGrid = type === 'grid';
|
|
8449
8454
|
useEffect(() => {
|
|
8450
8455
|
if (!isGrid) {
|
|
8451
|
-
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.`);
|
|
8452
8457
|
}
|
|
8453
8458
|
}, [isGrid]);
|
|
8454
8459
|
if (!isGrid) return null;
|
|
@@ -8463,19 +8468,19 @@ const ListboxOptionAction = Object.assign(forwardRefPolymorphic((props, ref) =>
|
|
|
8463
8468
|
children
|
|
8464
8469
|
});
|
|
8465
8470
|
}), {
|
|
8466
|
-
displayName: COMPONENT_NAME$
|
|
8467
|
-
className: CLASSNAME$
|
|
8471
|
+
displayName: COMPONENT_NAME$1l,
|
|
8472
|
+
className: CLASSNAME$1j
|
|
8468
8473
|
});
|
|
8469
8474
|
|
|
8470
8475
|
/**
|
|
8471
8476
|
* Component display name.
|
|
8472
8477
|
*/
|
|
8473
|
-
const COMPONENT_NAME$
|
|
8478
|
+
const COMPONENT_NAME$1k = 'ListboxOptionMoreInfo';
|
|
8474
8479
|
|
|
8475
8480
|
/**
|
|
8476
8481
|
* Component default class name and class prefix.
|
|
8477
8482
|
*/
|
|
8478
|
-
const CLASSNAME$
|
|
8483
|
+
const CLASSNAME$1i = 'lumx-listbox-option-more-info';
|
|
8479
8484
|
/**
|
|
8480
8485
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
8481
8486
|
*
|
|
@@ -8485,7 +8490,7 @@ const LEGACY_CLASSNAME$2 = 'lumx-combobox-option-more-info';
|
|
|
8485
8490
|
const {
|
|
8486
8491
|
block: block$_,
|
|
8487
8492
|
element: element$N
|
|
8488
|
-
} = bem(CLASSNAME$
|
|
8493
|
+
} = bem(CLASSNAME$1i);
|
|
8489
8494
|
const legacy = bem(LEGACY_CLASSNAME$2);
|
|
8490
8495
|
|
|
8491
8496
|
/**
|
|
@@ -8815,16 +8820,16 @@ const POPOVER_ZINDEX = 9999;
|
|
|
8815
8820
|
/**
|
|
8816
8821
|
* Component display name.
|
|
8817
8822
|
*/
|
|
8818
|
-
const COMPONENT_NAME$
|
|
8823
|
+
const COMPONENT_NAME$1j = 'Popover';
|
|
8819
8824
|
|
|
8820
8825
|
/**
|
|
8821
8826
|
* Component default class name and class prefix.
|
|
8822
8827
|
*/
|
|
8823
|
-
const CLASSNAME$
|
|
8828
|
+
const CLASSNAME$1h = 'lumx-popover';
|
|
8824
8829
|
const {
|
|
8825
8830
|
block: block$Z,
|
|
8826
8831
|
element: element$M
|
|
8827
|
-
} = bem(CLASSNAME$
|
|
8832
|
+
} = bem(CLASSNAME$1h);
|
|
8828
8833
|
|
|
8829
8834
|
/**
|
|
8830
8835
|
* Component default props (used by framework wrappers).
|
|
@@ -9350,7 +9355,7 @@ const _InnerPopover = forwardRef((props, ref) => {
|
|
|
9350
9355
|
ThemeProvider
|
|
9351
9356
|
});
|
|
9352
9357
|
});
|
|
9353
|
-
_InnerPopover.displayName = COMPONENT_NAME$
|
|
9358
|
+
_InnerPopover.displayName = COMPONENT_NAME$1j;
|
|
9354
9359
|
|
|
9355
9360
|
/**
|
|
9356
9361
|
* Popover component.
|
|
@@ -9362,8 +9367,8 @@ _InnerPopover.displayName = COMPONENT_NAME$1i;
|
|
|
9362
9367
|
const Popover = skipRender(
|
|
9363
9368
|
// Skip render in SSR
|
|
9364
9369
|
() => Boolean(DOCUMENT), _InnerPopover);
|
|
9365
|
-
Popover.displayName = COMPONENT_NAME$
|
|
9366
|
-
Popover.className = CLASSNAME$
|
|
9370
|
+
Popover.displayName = COMPONENT_NAME$1j;
|
|
9371
|
+
Popover.className = CLASSNAME$1h;
|
|
9367
9372
|
Popover.defaultProps = DEFAULT_PROPS$11;
|
|
9368
9373
|
|
|
9369
9374
|
/**
|
|
@@ -9430,22 +9435,22 @@ const ListboxOptionMoreInfo = props => {
|
|
|
9430
9435
|
Popover
|
|
9431
9436
|
});
|
|
9432
9437
|
};
|
|
9433
|
-
ListboxOptionMoreInfo.displayName = COMPONENT_NAME$
|
|
9434
|
-
ListboxOptionMoreInfo.className = CLASSNAME$
|
|
9438
|
+
ListboxOptionMoreInfo.displayName = COMPONENT_NAME$1k;
|
|
9439
|
+
ListboxOptionMoreInfo.className = CLASSNAME$1i;
|
|
9435
9440
|
|
|
9436
9441
|
/**
|
|
9437
9442
|
* Component display name.
|
|
9438
9443
|
*/
|
|
9439
|
-
const COMPONENT_NAME$
|
|
9444
|
+
const COMPONENT_NAME$1i = 'SkeletonTypography';
|
|
9440
9445
|
|
|
9441
9446
|
/**
|
|
9442
9447
|
* Component default class name and class prefix.
|
|
9443
9448
|
*/
|
|
9444
|
-
const CLASSNAME$
|
|
9449
|
+
const CLASSNAME$1g = 'lumx-skeleton-typography';
|
|
9445
9450
|
const {
|
|
9446
9451
|
block: block$Y,
|
|
9447
9452
|
element: element$L
|
|
9448
|
-
} = bem(CLASSNAME$
|
|
9453
|
+
} = bem(CLASSNAME$1g);
|
|
9449
9454
|
|
|
9450
9455
|
/**
|
|
9451
9456
|
* SkeletonTypography component.
|
|
@@ -9484,12 +9489,12 @@ const SkeletonTypography$1 = props => {
|
|
|
9484
9489
|
/**
|
|
9485
9490
|
* Component display name.
|
|
9486
9491
|
*/
|
|
9487
|
-
const COMPONENT_NAME$
|
|
9492
|
+
const COMPONENT_NAME$1h = 'ListboxOptionSkeleton';
|
|
9488
9493
|
|
|
9489
9494
|
/**
|
|
9490
9495
|
* Component default class name and class prefix.
|
|
9491
9496
|
*/
|
|
9492
|
-
const CLASSNAME$
|
|
9497
|
+
const CLASSNAME$1f = 'lumx-listbox-option-skeleton';
|
|
9493
9498
|
/**
|
|
9494
9499
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
9495
9500
|
*
|
|
@@ -9522,7 +9527,7 @@ const ListboxOptionSkeleton$1 = props => {
|
|
|
9522
9527
|
size: 'tiny',
|
|
9523
9528
|
role: 'none',
|
|
9524
9529
|
...forwardedProps,
|
|
9525
|
-
className: classnames(className, CLASSNAME$
|
|
9530
|
+
className: classnames(className, CLASSNAME$1f, LEGACY_CLASSNAME$1),
|
|
9526
9531
|
children: children || /*#__PURE__*/jsxs(Fragment, {
|
|
9527
9532
|
children: [/*#__PURE__*/jsx(SkeletonTypography$1, {
|
|
9528
9533
|
typography: "body1",
|
|
@@ -9580,10 +9585,10 @@ const ListboxOptionSkeleton = props => {
|
|
|
9580
9585
|
...props
|
|
9581
9586
|
});
|
|
9582
9587
|
};
|
|
9583
|
-
ListboxOptionSkeleton.displayName = COMPONENT_NAME$
|
|
9584
|
-
ListboxOptionSkeleton.className = CLASSNAME$
|
|
9588
|
+
ListboxOptionSkeleton.displayName = COMPONENT_NAME$1h;
|
|
9589
|
+
ListboxOptionSkeleton.className = CLASSNAME$1f;
|
|
9585
9590
|
|
|
9586
|
-
const CLASSNAME$
|
|
9591
|
+
const CLASSNAME$1e = 'lumx-composite-item__selection-icon';
|
|
9587
9592
|
|
|
9588
9593
|
/** Class names of the previous versions on a listbox option, kept for compatibility (set by the option icon). */
|
|
9589
9594
|
const LEGACY_OPTION_CLASSNAME = 'lumx-listbox-option__selection-icon lumx-combobox-option__selection-icon';
|
|
@@ -9609,7 +9614,7 @@ const CompositeSelectionIcon = ({
|
|
|
9609
9614
|
return /*#__PURE__*/jsx(Icon$1, {
|
|
9610
9615
|
icon: icon,
|
|
9611
9616
|
color: isSelected ? 'primary' : undefined,
|
|
9612
|
-
className: classnames(CLASSNAME$
|
|
9617
|
+
className: classnames(CLASSNAME$1e, className)
|
|
9613
9618
|
});
|
|
9614
9619
|
};
|
|
9615
9620
|
|
|
@@ -9631,12 +9636,12 @@ ListboxOptionSelectionIcon.displayName = 'ComboboxSelectionIcon';
|
|
|
9631
9636
|
/**
|
|
9632
9637
|
* Component display name.
|
|
9633
9638
|
*/
|
|
9634
|
-
const COMPONENT_NAME$
|
|
9639
|
+
const COMPONENT_NAME$1g = 'ListboxSection';
|
|
9635
9640
|
|
|
9636
9641
|
/**
|
|
9637
9642
|
* Component default class name and class prefix.
|
|
9638
9643
|
*/
|
|
9639
|
-
const CLASSNAME$
|
|
9644
|
+
const CLASSNAME$1d = 'lumx-listbox-section';
|
|
9640
9645
|
/**
|
|
9641
9646
|
* Legacy class name, emitted next to `CLASSNAME` for backward compatibility.
|
|
9642
9647
|
*
|
|
@@ -9669,7 +9674,7 @@ const ListboxSection$1 = (props, {
|
|
|
9669
9674
|
...forwardedProps,
|
|
9670
9675
|
hidden: hidden,
|
|
9671
9676
|
"aria-hidden": ariaHidden || undefined,
|
|
9672
|
-
className: !hidden ? classnames(className, CLASSNAME$
|
|
9677
|
+
className: !hidden ? classnames(className, CLASSNAME$1d, LEGACY_CLASSNAME) : undefined,
|
|
9673
9678
|
role: !ariaHidden ? 'none' : undefined,
|
|
9674
9679
|
itemsWrapperProps: {
|
|
9675
9680
|
role: 'group'
|
|
@@ -9681,16 +9686,16 @@ const ListboxSection$1 = (props, {
|
|
|
9681
9686
|
/**
|
|
9682
9687
|
* Component display name.
|
|
9683
9688
|
*/
|
|
9684
|
-
const COMPONENT_NAME$
|
|
9689
|
+
const COMPONENT_NAME$1f = 'ListSection';
|
|
9685
9690
|
|
|
9686
9691
|
/**
|
|
9687
9692
|
* Component default class name and class prefix.
|
|
9688
9693
|
*/
|
|
9689
|
-
const CLASSNAME$
|
|
9694
|
+
const CLASSNAME$1c = 'lumx-list-section';
|
|
9690
9695
|
const {
|
|
9691
9696
|
block: block$X,
|
|
9692
9697
|
element: element$K
|
|
9693
|
-
} = bem(CLASSNAME$
|
|
9698
|
+
} = bem(CLASSNAME$1c);
|
|
9694
9699
|
|
|
9695
9700
|
/**
|
|
9696
9701
|
* Component default props.
|
|
@@ -9730,15 +9735,15 @@ const ListSection$1 = props => {
|
|
|
9730
9735
|
icon
|
|
9731
9736
|
}), label]
|
|
9732
9737
|
}), /*#__PURE__*/jsx("ul", {
|
|
9738
|
+
"aria-labelledby": hasHeader ? labelId : undefined,
|
|
9733
9739
|
...itemsWrapperProps,
|
|
9734
9740
|
className: element$K('items'),
|
|
9735
|
-
"aria-labelledby": hasHeader ? labelId : undefined,
|
|
9736
9741
|
children: children
|
|
9737
9742
|
})]
|
|
9738
9743
|
});
|
|
9739
9744
|
};
|
|
9740
|
-
ListSection$1.displayName = COMPONENT_NAME$
|
|
9741
|
-
ListSection$1.className = CLASSNAME$
|
|
9745
|
+
ListSection$1.displayName = COMPONENT_NAME$1f;
|
|
9746
|
+
ListSection$1.className = CLASSNAME$1c;
|
|
9742
9747
|
ListSection$1.defaultProps = DEFAULT_PROPS$10;
|
|
9743
9748
|
|
|
9744
9749
|
/**
|
|
@@ -9761,8 +9766,8 @@ const ListSection = forwardRef((props, ref) => {
|
|
|
9761
9766
|
Text
|
|
9762
9767
|
});
|
|
9763
9768
|
});
|
|
9764
|
-
ListSection.displayName = COMPONENT_NAME$
|
|
9765
|
-
ListSection.className = CLASSNAME$
|
|
9769
|
+
ListSection.displayName = COMPONENT_NAME$1f;
|
|
9770
|
+
ListSection.className = CLASSNAME$1c;
|
|
9766
9771
|
ListSection.defaultProps = DEFAULT_PROPS$10;
|
|
9767
9772
|
|
|
9768
9773
|
/**
|
|
@@ -9809,8 +9814,8 @@ const ListboxSection = forwardRef((props, ref) => {
|
|
|
9809
9814
|
ListSection
|
|
9810
9815
|
});
|
|
9811
9816
|
});
|
|
9812
|
-
ListboxSection.displayName = COMPONENT_NAME$
|
|
9813
|
-
ListboxSection.className = CLASSNAME$
|
|
9817
|
+
ListboxSection.displayName = COMPONENT_NAME$1g;
|
|
9818
|
+
ListboxSection.className = CLASSNAME$1d;
|
|
9814
9819
|
|
|
9815
9820
|
/**
|
|
9816
9821
|
* Similar to lodash `partition` function but working with multiple predicates.
|
|
@@ -9832,16 +9837,16 @@ function partitionMulti(elements, predicates) {
|
|
|
9832
9837
|
/**
|
|
9833
9838
|
* Component display name.
|
|
9834
9839
|
*/
|
|
9835
|
-
const COMPONENT_NAME$
|
|
9840
|
+
const COMPONENT_NAME$1e = 'GenericBlock';
|
|
9836
9841
|
|
|
9837
9842
|
/**
|
|
9838
9843
|
* Component default class name and class prefix.
|
|
9839
9844
|
*/
|
|
9840
|
-
const CLASSNAME$
|
|
9845
|
+
const CLASSNAME$1b = 'lumx-generic-block';
|
|
9841
9846
|
const {
|
|
9842
9847
|
block: block$W,
|
|
9843
9848
|
element: element$J
|
|
9844
|
-
} = bem(CLASSNAME$
|
|
9849
|
+
} = bem(CLASSNAME$1b);
|
|
9845
9850
|
|
|
9846
9851
|
/**
|
|
9847
9852
|
* Component default props.
|
|
@@ -9983,8 +9988,8 @@ const BaseGenericBlock = forwardRef((props, ref) => {
|
|
|
9983
9988
|
}) : undefined
|
|
9984
9989
|
});
|
|
9985
9990
|
});
|
|
9986
|
-
BaseGenericBlock.displayName = COMPONENT_NAME$
|
|
9987
|
-
BaseGenericBlock.className = CLASSNAME$
|
|
9991
|
+
BaseGenericBlock.displayName = COMPONENT_NAME$1e;
|
|
9992
|
+
BaseGenericBlock.className = CLASSNAME$1b;
|
|
9988
9993
|
BaseGenericBlock.defaultProps = DEFAULT_PROPS$$;
|
|
9989
9994
|
const GenericBlock = Object.assign(BaseGenericBlock, {
|
|
9990
9995
|
Figure,
|
|
@@ -10044,8 +10049,8 @@ const CompositeStatus = props => {
|
|
|
10044
10049
|
Text
|
|
10045
10050
|
});
|
|
10046
10051
|
};
|
|
10047
|
-
CompositeStatus.displayName = COMPONENT_NAME$
|
|
10048
|
-
CompositeStatus.className = CLASSNAME$
|
|
10052
|
+
CompositeStatus.displayName = COMPONENT_NAME$1p;
|
|
10053
|
+
CompositeStatus.className = CLASSNAME$1n;
|
|
10049
10054
|
|
|
10050
10055
|
const DEFAULT_COMBOBOX_POPOVER_MAX_HEIGHT = '80vh';
|
|
10051
10056
|
|
|
@@ -10402,7 +10407,7 @@ function setupCombobox(options = {}) {
|
|
|
10402
10407
|
if (isOwnEvent(event)) {
|
|
10403
10408
|
const eventSubscribers = subscribers[event];
|
|
10404
10409
|
eventSubscribers.add(callback);
|
|
10405
|
-
// Replay the open state to late subscribers (e.g. async Vue watchers)
|
|
10410
|
+
// Replay the open state to late subscribers (e.g. async Vue watchers).
|
|
10406
10411
|
if (event === 'open' && isOpen) callback(true);
|
|
10407
10412
|
return () => {
|
|
10408
10413
|
eventSubscribers.delete(callback);
|
|
@@ -10420,7 +10425,7 @@ function setupCombobox(options = {}) {
|
|
|
10420
10425
|
}
|
|
10421
10426
|
const forwardedCallback = callback;
|
|
10422
10427
|
forwarded.listeners.add(forwardedCallback);
|
|
10423
|
-
// Replay the current list snapshot to the late subscriber
|
|
10428
|
+
// Replay the current list snapshot to the late subscriber.
|
|
10424
10429
|
const value = list?.getSnapshot(event);
|
|
10425
10430
|
if (value !== undefined) forwardedCallback(value);
|
|
10426
10431
|
return () => {
|
|
@@ -10541,12 +10546,12 @@ function setupComboboxButton(button, callbacks) {
|
|
|
10541
10546
|
/**
|
|
10542
10547
|
* Component display name.
|
|
10543
10548
|
*/
|
|
10544
|
-
const COMPONENT_NAME$
|
|
10549
|
+
const COMPONENT_NAME$1d = 'ComboboxButton';
|
|
10545
10550
|
|
|
10546
10551
|
/**
|
|
10547
10552
|
* Component default class name and class prefix.
|
|
10548
10553
|
*/
|
|
10549
|
-
const CLASSNAME$
|
|
10554
|
+
const CLASSNAME$1a = 'lumx-combobox-button';
|
|
10550
10555
|
|
|
10551
10556
|
/**
|
|
10552
10557
|
* ComboboxButton core template.
|
|
@@ -10586,7 +10591,7 @@ const ComboboxButton$1 = (props, {
|
|
|
10586
10591
|
const componentProps = {
|
|
10587
10592
|
ref,
|
|
10588
10593
|
...forwardedProps,
|
|
10589
|
-
className: classnames(className, CLASSNAME$
|
|
10594
|
+
className: classnames(className, CLASSNAME$1a),
|
|
10590
10595
|
role: 'combobox',
|
|
10591
10596
|
'aria-controls': listboxId,
|
|
10592
10597
|
'aria-haspopup': 'listbox',
|
|
@@ -10695,8 +10700,8 @@ const ComboboxButton = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
10695
10700
|
Tooltip
|
|
10696
10701
|
});
|
|
10697
10702
|
}), {
|
|
10698
|
-
displayName: COMPONENT_NAME$
|
|
10699
|
-
className: CLASSNAME$
|
|
10703
|
+
displayName: COMPONENT_NAME$1d,
|
|
10704
|
+
className: CLASSNAME$1a
|
|
10700
10705
|
});
|
|
10701
10706
|
|
|
10702
10707
|
/** Options for configuring the input-mode combobox controller. */
|
|
@@ -10880,12 +10885,12 @@ function getDisabledState(context, props) {
|
|
|
10880
10885
|
/**
|
|
10881
10886
|
* Component display name.
|
|
10882
10887
|
*/
|
|
10883
|
-
const COMPONENT_NAME$
|
|
10888
|
+
const COMPONENT_NAME$1c = 'ComboboxInput';
|
|
10884
10889
|
|
|
10885
10890
|
/**
|
|
10886
10891
|
* Component default class name and class prefix.
|
|
10887
10892
|
*/
|
|
10888
|
-
const CLASSNAME$
|
|
10893
|
+
const CLASSNAME$19 = 'lumx-combobox-input';
|
|
10889
10894
|
|
|
10890
10895
|
/**
|
|
10891
10896
|
* ComboboxInput core template.
|
|
@@ -10955,22 +10960,22 @@ const ComboboxInput$1 = (props, {
|
|
|
10955
10960
|
/**
|
|
10956
10961
|
* Component display name.
|
|
10957
10962
|
*/
|
|
10958
|
-
const COMPONENT_NAME$
|
|
10963
|
+
const COMPONENT_NAME$1b = 'TextField';
|
|
10959
10964
|
|
|
10960
10965
|
/**
|
|
10961
10966
|
* Component default class name and class prefix.
|
|
10962
10967
|
*/
|
|
10963
|
-
const CLASSNAME$
|
|
10968
|
+
const CLASSNAME$18 = 'lumx-text-field';
|
|
10964
10969
|
|
|
10965
10970
|
/**
|
|
10966
10971
|
* Input native element class name.
|
|
10967
10972
|
*/
|
|
10968
|
-
const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$
|
|
10973
|
+
const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$18}__input-native`;
|
|
10969
10974
|
|
|
10970
10975
|
const {
|
|
10971
10976
|
block: block$V,
|
|
10972
10977
|
element: element$I
|
|
10973
|
-
} = bem(CLASSNAME$
|
|
10978
|
+
} = bem(CLASSNAME$18);
|
|
10974
10979
|
|
|
10975
10980
|
/**
|
|
10976
10981
|
* Defines the props of the component.
|
|
@@ -11496,8 +11501,8 @@ const TextField = forwardRef((props, ref) => {
|
|
|
11496
11501
|
} : undefined
|
|
11497
11502
|
});
|
|
11498
11503
|
});
|
|
11499
|
-
TextField.displayName = COMPONENT_NAME$
|
|
11500
|
-
TextField.className = CLASSNAME$
|
|
11504
|
+
TextField.displayName = COMPONENT_NAME$1b;
|
|
11505
|
+
TextField.className = CLASSNAME$18;
|
|
11501
11506
|
TextField.defaultProps = DEFAULT_PROPS$X;
|
|
11502
11507
|
|
|
11503
11508
|
/**
|
|
@@ -11595,8 +11600,8 @@ const ComboboxInput = forwardRef((props, ref) => {
|
|
|
11595
11600
|
IconButton
|
|
11596
11601
|
});
|
|
11597
11602
|
});
|
|
11598
|
-
ComboboxInput.displayName = COMPONENT_NAME$
|
|
11599
|
-
ComboboxInput.className = CLASSNAME$
|
|
11603
|
+
ComboboxInput.displayName = COMPONENT_NAME$1c;
|
|
11604
|
+
ComboboxInput.className = CLASSNAME$19;
|
|
11600
11605
|
|
|
11601
11606
|
/**
|
|
11602
11607
|
* Defines the props of the component.
|
|
@@ -11605,15 +11610,15 @@ ComboboxInput.className = CLASSNAME$18;
|
|
|
11605
11610
|
/**
|
|
11606
11611
|
* Component display name.
|
|
11607
11612
|
*/
|
|
11608
|
-
const COMPONENT_NAME$
|
|
11613
|
+
const COMPONENT_NAME$1a = 'FlexBox';
|
|
11609
11614
|
|
|
11610
11615
|
/**
|
|
11611
11616
|
* Component default class name and class prefix.
|
|
11612
11617
|
*/
|
|
11613
|
-
const CLASSNAME$
|
|
11618
|
+
const CLASSNAME$17 = 'lumx-flex-box';
|
|
11614
11619
|
const {
|
|
11615
11620
|
block: block$S
|
|
11616
|
-
} = bem(CLASSNAME$
|
|
11621
|
+
} = bem(CLASSNAME$17);
|
|
11617
11622
|
|
|
11618
11623
|
/**
|
|
11619
11624
|
* Get FlexBox component props (className computation).
|
|
@@ -11653,15 +11658,15 @@ function getFlexBoxProps(props) {
|
|
|
11653
11658
|
/**
|
|
11654
11659
|
* Component display name.
|
|
11655
11660
|
*/
|
|
11656
|
-
const COMPONENT_NAME$
|
|
11661
|
+
const COMPONENT_NAME$19 = 'ScrollBox';
|
|
11657
11662
|
|
|
11658
11663
|
/**
|
|
11659
11664
|
* Component default class name.
|
|
11660
11665
|
*/
|
|
11661
|
-
const CLASSNAME$
|
|
11666
|
+
const CLASSNAME$16 = 'lumx-scroll-box';
|
|
11662
11667
|
const {
|
|
11663
11668
|
block: block$R
|
|
11664
|
-
} = bem(CLASSNAME$
|
|
11669
|
+
} = bem(CLASSNAME$16);
|
|
11665
11670
|
|
|
11666
11671
|
/**
|
|
11667
11672
|
* ScrollBox core template (internal).
|
|
@@ -11691,19 +11696,19 @@ const ScrollBox = props => {
|
|
|
11691
11696
|
children: children
|
|
11692
11697
|
});
|
|
11693
11698
|
};
|
|
11694
|
-
ScrollBox.displayName = COMPONENT_NAME$
|
|
11695
|
-
ScrollBox.className = CLASSNAME$
|
|
11699
|
+
ScrollBox.displayName = COMPONENT_NAME$19;
|
|
11700
|
+
ScrollBox.className = CLASSNAME$16;
|
|
11696
11701
|
|
|
11697
|
-
const COMPONENT_NAME$
|
|
11702
|
+
const COMPONENT_NAME$18 = 'ComboboxPopover';
|
|
11698
11703
|
|
|
11699
11704
|
/**
|
|
11700
11705
|
* Component default class name.
|
|
11701
11706
|
*/
|
|
11702
|
-
const CLASSNAME$
|
|
11707
|
+
const CLASSNAME$15 = COMBOBOX_POPOVER_CLASSNAME;
|
|
11703
11708
|
const {
|
|
11704
11709
|
block: block$Q,
|
|
11705
11710
|
element: element$H
|
|
11706
|
-
} = bem(CLASSNAME$
|
|
11711
|
+
} = bem(CLASSNAME$15);
|
|
11707
11712
|
|
|
11708
11713
|
/**
|
|
11709
11714
|
* Defines the props for the core ComboboxPopover template.
|
|
@@ -11795,8 +11800,8 @@ const ComboboxPopover = props => {
|
|
|
11795
11800
|
Popover
|
|
11796
11801
|
});
|
|
11797
11802
|
};
|
|
11798
|
-
ComboboxPopover.displayName = COMPONENT_NAME$
|
|
11799
|
-
ComboboxPopover.className = CLASSNAME$
|
|
11803
|
+
ComboboxPopover.displayName = COMPONENT_NAME$18;
|
|
11804
|
+
ComboboxPopover.className = CLASSNAME$15;
|
|
11800
11805
|
|
|
11801
11806
|
/**
|
|
11802
11807
|
* Combobox.Provider component.
|
|
@@ -11909,16 +11914,16 @@ const CommentBlockVariant = {
|
|
|
11909
11914
|
/**
|
|
11910
11915
|
* Component display name.
|
|
11911
11916
|
*/
|
|
11912
|
-
const COMPONENT_NAME$
|
|
11917
|
+
const COMPONENT_NAME$17 = 'CommentBlock';
|
|
11913
11918
|
|
|
11914
11919
|
/**
|
|
11915
11920
|
* Component default class name and class prefix.
|
|
11916
11921
|
*/
|
|
11917
|
-
const CLASSNAME$
|
|
11922
|
+
const CLASSNAME$14 = 'lumx-comment-block';
|
|
11918
11923
|
const {
|
|
11919
11924
|
block: block$P,
|
|
11920
11925
|
element: element$G
|
|
11921
|
-
} = classNames.bem(CLASSNAME$
|
|
11926
|
+
} = classNames.bem(CLASSNAME$14);
|
|
11922
11927
|
|
|
11923
11928
|
/**
|
|
11924
11929
|
* Component default props.
|
|
@@ -12020,8 +12025,8 @@ const CommentBlock = forwardRef((props, ref) => {
|
|
|
12020
12025
|
})]
|
|
12021
12026
|
});
|
|
12022
12027
|
});
|
|
12023
|
-
CommentBlock.displayName = COMPONENT_NAME$
|
|
12024
|
-
CommentBlock.className = CLASSNAME$
|
|
12028
|
+
CommentBlock.displayName = COMPONENT_NAME$17;
|
|
12029
|
+
CommentBlock.className = CLASSNAME$14;
|
|
12025
12030
|
CommentBlock.defaultProps = DEFAULT_PROPS$W;
|
|
12026
12031
|
|
|
12027
12032
|
/**
|
|
@@ -12042,12 +12047,12 @@ const isDateValid = date => date instanceof Date && !Number.isNaN(date.getTime()
|
|
|
12042
12047
|
/**
|
|
12043
12048
|
* Component display name.
|
|
12044
12049
|
*/
|
|
12045
|
-
const COMPONENT_NAME$
|
|
12050
|
+
const COMPONENT_NAME$16 = 'DatePicker';
|
|
12046
12051
|
|
|
12047
12052
|
/**
|
|
12048
12053
|
* Component default class name and class prefix.
|
|
12049
12054
|
*/
|
|
12050
|
-
const CLASSNAME$
|
|
12055
|
+
const CLASSNAME$13 = 'lumx-date-picker';
|
|
12051
12056
|
|
|
12052
12057
|
/** Get first day of week for locale from the browser API */
|
|
12053
12058
|
const getFromBrowser = locale => {
|
|
@@ -12270,7 +12275,7 @@ function formatDayNumber(locale, date) {
|
|
|
12270
12275
|
|
|
12271
12276
|
const {
|
|
12272
12277
|
element: element$F
|
|
12273
|
-
} = classNames.bem(CLASSNAME$
|
|
12278
|
+
} = classNames.bem(CLASSNAME$13);
|
|
12274
12279
|
|
|
12275
12280
|
/**
|
|
12276
12281
|
* Defines the props of the component.
|
|
@@ -12279,7 +12284,7 @@ const {
|
|
|
12279
12284
|
/**
|
|
12280
12285
|
* Component display name.
|
|
12281
12286
|
*/
|
|
12282
|
-
const COMPONENT_NAME$
|
|
12287
|
+
const COMPONENT_NAME$15 = 'DatePickerControlled';
|
|
12283
12288
|
|
|
12284
12289
|
/**
|
|
12285
12290
|
* DatePickerControlled component.
|
|
@@ -12364,7 +12369,7 @@ const DatePickerControlled = forwardRef((props, ref) => {
|
|
|
12364
12369
|
const yearLabel = getYearDisplayName(locale);
|
|
12365
12370
|
return /*#__PURE__*/jsxs("div", {
|
|
12366
12371
|
ref: ref,
|
|
12367
|
-
className: `${CLASSNAME$
|
|
12372
|
+
className: `${CLASSNAME$13}`,
|
|
12368
12373
|
style: style,
|
|
12369
12374
|
children: [/*#__PURE__*/jsx(Toolbar, {
|
|
12370
12375
|
className: element$F('toolbar'),
|
|
@@ -12469,8 +12474,8 @@ const DatePickerControlled = forwardRef((props, ref) => {
|
|
|
12469
12474
|
})]
|
|
12470
12475
|
});
|
|
12471
12476
|
});
|
|
12472
|
-
DatePickerControlled.displayName = COMPONENT_NAME$
|
|
12473
|
-
DatePickerControlled.className = CLASSNAME$
|
|
12477
|
+
DatePickerControlled.displayName = COMPONENT_NAME$15;
|
|
12478
|
+
DatePickerControlled.className = CLASSNAME$13;
|
|
12474
12479
|
|
|
12475
12480
|
/**
|
|
12476
12481
|
* DatePicker component.
|
|
@@ -12512,8 +12517,8 @@ const DatePicker = forwardRef((props, ref) => {
|
|
|
12512
12517
|
onMonthChange: setSelectedMonth
|
|
12513
12518
|
});
|
|
12514
12519
|
});
|
|
12515
|
-
DatePicker.displayName = COMPONENT_NAME$
|
|
12516
|
-
DatePicker.className = CLASSNAME$
|
|
12520
|
+
DatePicker.displayName = COMPONENT_NAME$16;
|
|
12521
|
+
DatePicker.className = CLASSNAME$13;
|
|
12517
12522
|
|
|
12518
12523
|
const useBooleanState = defaultValue => {
|
|
12519
12524
|
const [booleanValue, setBoolean] = useState(defaultValue);
|
|
@@ -12526,7 +12531,7 @@ const useBooleanState = defaultValue => {
|
|
|
12526
12531
|
/**
|
|
12527
12532
|
* Component display name.
|
|
12528
12533
|
*/
|
|
12529
|
-
const COMPONENT_NAME$
|
|
12534
|
+
const COMPONENT_NAME$14 = 'DatePickerField';
|
|
12530
12535
|
|
|
12531
12536
|
/**
|
|
12532
12537
|
* DatePickerField component.
|
|
@@ -12615,7 +12620,7 @@ const DatePickerField = forwardRef((props, ref) => {
|
|
|
12615
12620
|
}) : null]
|
|
12616
12621
|
});
|
|
12617
12622
|
});
|
|
12618
|
-
DatePickerField.displayName = COMPONENT_NAME$
|
|
12623
|
+
DatePickerField.displayName = COMPONENT_NAME$14;
|
|
12619
12624
|
|
|
12620
12625
|
/**
|
|
12621
12626
|
* Convenient hook to create interaction observers.
|
|
@@ -12933,7 +12938,7 @@ const DIALOG_LABEL_KEY = 'dialog-label';
|
|
|
12933
12938
|
/**
|
|
12934
12939
|
* Component display name.
|
|
12935
12940
|
*/
|
|
12936
|
-
const COMPONENT_NAME$
|
|
12941
|
+
const COMPONENT_NAME$13 = 'Dialog';
|
|
12937
12942
|
|
|
12938
12943
|
/**
|
|
12939
12944
|
* `DialogHeading` component display name.
|
|
@@ -12943,11 +12948,11 @@ const DIALOG_HEADING_COMPONENT_NAME = 'DialogHeading';
|
|
|
12943
12948
|
/**
|
|
12944
12949
|
* Component default class name and class prefix. Shared by the shell and the container modules.
|
|
12945
12950
|
*/
|
|
12946
|
-
const CLASSNAME$
|
|
12951
|
+
const CLASSNAME$12 = 'lumx-dialog';
|
|
12947
12952
|
const {
|
|
12948
12953
|
block: block$O,
|
|
12949
12954
|
element: element$E
|
|
12950
|
-
} = bem(CLASSNAME$
|
|
12955
|
+
} = bem(CLASSNAME$12);
|
|
12951
12956
|
|
|
12952
12957
|
/**
|
|
12953
12958
|
* Component default props.
|
|
@@ -13434,8 +13439,8 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
13434
13439
|
ref: ref
|
|
13435
13440
|
});
|
|
13436
13441
|
});
|
|
13437
|
-
Dialog.displayName = COMPONENT_NAME$
|
|
13438
|
-
Dialog.className = CLASSNAME$
|
|
13442
|
+
Dialog.displayName = COMPONENT_NAME$13;
|
|
13443
|
+
Dialog.className = CLASSNAME$12;
|
|
13439
13444
|
Dialog.defaultProps = DEFAULT_PROPS$U;
|
|
13440
13445
|
|
|
13441
13446
|
/** The maximum authorized heading level. */
|
|
@@ -13464,12 +13469,12 @@ const defaultContext = {
|
|
|
13464
13469
|
/**
|
|
13465
13470
|
* Component display name.
|
|
13466
13471
|
*/
|
|
13467
|
-
const COMPONENT_NAME$
|
|
13472
|
+
const COMPONENT_NAME$12 = 'Heading';
|
|
13468
13473
|
|
|
13469
13474
|
/**
|
|
13470
13475
|
* Component default class name and class prefix.
|
|
13471
13476
|
*/
|
|
13472
|
-
const CLASSNAME$
|
|
13477
|
+
const CLASSNAME$11 = 'lumx-heading';
|
|
13473
13478
|
|
|
13474
13479
|
/**
|
|
13475
13480
|
* Component default props.
|
|
@@ -13494,7 +13499,7 @@ const getHeadingProps = (props, contextHeadingElement) => {
|
|
|
13494
13499
|
return {
|
|
13495
13500
|
...otherProps,
|
|
13496
13501
|
as: computedHeadingElement,
|
|
13497
|
-
className: classnames(className, CLASSNAME$
|
|
13502
|
+
className: classnames(className, CLASSNAME$11),
|
|
13498
13503
|
typography: typography || DEFAULT_TYPOGRAPHY_BY_LEVEL[computedHeadingElement]
|
|
13499
13504
|
};
|
|
13500
13505
|
};
|
|
@@ -13532,8 +13537,8 @@ const Heading = forwardRef((props, ref) => {
|
|
|
13532
13537
|
children: children
|
|
13533
13538
|
});
|
|
13534
13539
|
});
|
|
13535
|
-
Heading.displayName = COMPONENT_NAME$
|
|
13536
|
-
Heading.className = CLASSNAME$
|
|
13540
|
+
Heading.displayName = COMPONENT_NAME$12;
|
|
13541
|
+
Heading.className = CLASSNAME$11;
|
|
13537
13542
|
Heading.defaultProps = DEFAULT_PROPS$T;
|
|
13538
13543
|
|
|
13539
13544
|
/**
|
|
@@ -13609,15 +13614,15 @@ DialogHeading.displayName = DIALOG_HEADING_COMPONENT_NAME;
|
|
|
13609
13614
|
/**
|
|
13610
13615
|
* Component display name.
|
|
13611
13616
|
*/
|
|
13612
|
-
const COMPONENT_NAME$
|
|
13617
|
+
const COMPONENT_NAME$11 = 'Divider';
|
|
13613
13618
|
|
|
13614
13619
|
/**
|
|
13615
13620
|
* Component default class name and class prefix.
|
|
13616
13621
|
*/
|
|
13617
|
-
const CLASSNAME
|
|
13622
|
+
const CLASSNAME$10 = 'lumx-divider';
|
|
13618
13623
|
const {
|
|
13619
13624
|
block: block$N
|
|
13620
|
-
} = bem(CLASSNAME
|
|
13625
|
+
} = bem(CLASSNAME$10);
|
|
13621
13626
|
|
|
13622
13627
|
/**
|
|
13623
13628
|
* Divider component.
|
|
@@ -13669,22 +13674,22 @@ const Divider = forwardRef((props, ref) => {
|
|
|
13669
13674
|
...otherProps
|
|
13670
13675
|
});
|
|
13671
13676
|
});
|
|
13672
|
-
Divider.displayName = COMPONENT_NAME$
|
|
13673
|
-
Divider.className = CLASSNAME
|
|
13677
|
+
Divider.displayName = COMPONENT_NAME$11;
|
|
13678
|
+
Divider.className = CLASSNAME$10;
|
|
13674
13679
|
Divider.defaultProps = DEFAULT_PROPS$S;
|
|
13675
13680
|
|
|
13676
13681
|
/**
|
|
13677
13682
|
* Component display name.
|
|
13678
13683
|
*/
|
|
13679
|
-
const COMPONENT_NAME
|
|
13684
|
+
const COMPONENT_NAME$10 = 'DragHandle';
|
|
13680
13685
|
|
|
13681
13686
|
/**
|
|
13682
13687
|
* Component default class name and class prefix.
|
|
13683
13688
|
*/
|
|
13684
|
-
const CLASSNAME
|
|
13689
|
+
const CLASSNAME$$ = 'lumx-drag-handle';
|
|
13685
13690
|
const {
|
|
13686
13691
|
block: block$M
|
|
13687
|
-
} = bem(CLASSNAME
|
|
13692
|
+
} = bem(CLASSNAME$$);
|
|
13688
13693
|
|
|
13689
13694
|
/**
|
|
13690
13695
|
* DragHandle component.
|
|
@@ -13741,8 +13746,8 @@ const DragHandle = forwardRef((props, ref) => {
|
|
|
13741
13746
|
...otherProps
|
|
13742
13747
|
});
|
|
13743
13748
|
});
|
|
13744
|
-
DragHandle.displayName = COMPONENT_NAME
|
|
13745
|
-
DragHandle.className = CLASSNAME
|
|
13749
|
+
DragHandle.displayName = COMPONENT_NAME$10;
|
|
13750
|
+
DragHandle.className = CLASSNAME$$;
|
|
13746
13751
|
DragHandle.defaultProps = DEFAULT_PROPS$R;
|
|
13747
13752
|
|
|
13748
13753
|
const INITIAL_INDEX = -1;
|
|
@@ -13939,8 +13944,8 @@ const InternalList = forwardRef((props, ref) => {
|
|
|
13939
13944
|
itemPadding: adjustedItemPadding
|
|
13940
13945
|
});
|
|
13941
13946
|
});
|
|
13942
|
-
InternalList.displayName = COMPONENT_NAME$
|
|
13943
|
-
InternalList.className = CLASSNAME$
|
|
13947
|
+
InternalList.displayName = COMPONENT_NAME$1r;
|
|
13948
|
+
InternalList.className = CLASSNAME$1p;
|
|
13944
13949
|
InternalList.defaultProps = DEFAULT_PROPS$14;
|
|
13945
13950
|
const List = Object.assign(InternalList, {
|
|
13946
13951
|
useKeyboardListNavigation
|
|
@@ -13990,16 +13995,16 @@ const useInfiniteScroll = (ref, callback, callbackOnMount = false, scrollTrigger
|
|
|
13990
13995
|
/**
|
|
13991
13996
|
* Component display name.
|
|
13992
13997
|
*/
|
|
13993
|
-
const COMPONENT_NAME
|
|
13998
|
+
const COMPONENT_NAME$$ = 'Dropdown';
|
|
13994
13999
|
|
|
13995
14000
|
/**
|
|
13996
14001
|
* Component default class name and class prefix.
|
|
13997
14002
|
*/
|
|
13998
|
-
const CLASSNAME$
|
|
14003
|
+
const CLASSNAME$_ = 'lumx-dropdown';
|
|
13999
14004
|
const {
|
|
14000
14005
|
block: block$L,
|
|
14001
14006
|
element: element$D
|
|
14002
|
-
} = classNames.bem(CLASSNAME$
|
|
14007
|
+
} = classNames.bem(CLASSNAME$_);
|
|
14003
14008
|
|
|
14004
14009
|
/**
|
|
14005
14010
|
* Component default props.
|
|
@@ -14083,23 +14088,23 @@ const Dropdown = forwardRef((props, ref) => {
|
|
|
14083
14088
|
})
|
|
14084
14089
|
}) : null;
|
|
14085
14090
|
});
|
|
14086
|
-
Dropdown.displayName = COMPONENT_NAME
|
|
14087
|
-
Dropdown.className = CLASSNAME$
|
|
14091
|
+
Dropdown.displayName = COMPONENT_NAME$$;
|
|
14092
|
+
Dropdown.className = CLASSNAME$_;
|
|
14088
14093
|
Dropdown.defaultProps = DEFAULT_PROPS$Q;
|
|
14089
14094
|
|
|
14090
14095
|
/**
|
|
14091
14096
|
* Component display name.
|
|
14092
14097
|
*/
|
|
14093
|
-
const COMPONENT_NAME$
|
|
14098
|
+
const COMPONENT_NAME$_ = 'ExpansionPanel';
|
|
14094
14099
|
|
|
14095
14100
|
/**
|
|
14096
14101
|
* Component default class name and class prefix.
|
|
14097
14102
|
*/
|
|
14098
|
-
const CLASSNAME$
|
|
14103
|
+
const CLASSNAME$Z = 'lumx-expansion-panel';
|
|
14099
14104
|
const {
|
|
14100
14105
|
block: block$K,
|
|
14101
14106
|
element: element$C
|
|
14102
|
-
} = bem(CLASSNAME$
|
|
14107
|
+
} = bem(CLASSNAME$Z);
|
|
14103
14108
|
|
|
14104
14109
|
/**
|
|
14105
14110
|
* Component default props.
|
|
@@ -14288,17 +14293,17 @@ const ExpansionPanel = forwardRef((props, ref) => {
|
|
|
14288
14293
|
...forwardedProps
|
|
14289
14294
|
});
|
|
14290
14295
|
});
|
|
14291
|
-
ExpansionPanel.displayName = COMPONENT_NAME$
|
|
14292
|
-
ExpansionPanel.className = CLASSNAME$
|
|
14296
|
+
ExpansionPanel.displayName = COMPONENT_NAME$_;
|
|
14297
|
+
ExpansionPanel.className = CLASSNAME$Z;
|
|
14293
14298
|
ExpansionPanel.defaultProps = DEFAULT_PROPS$P;
|
|
14294
14299
|
|
|
14295
|
-
const COMPONENT_NAME$
|
|
14296
|
-
const CLASSNAME$
|
|
14300
|
+
const COMPONENT_NAME$Z = 'Flag';
|
|
14301
|
+
const CLASSNAME$Y = 'lumx-flag';
|
|
14297
14302
|
const DEFAULT_PROPS$O = {};
|
|
14298
14303
|
const {
|
|
14299
14304
|
block: block$J,
|
|
14300
14305
|
element: element$B
|
|
14301
|
-
} = bem(CLASSNAME$
|
|
14306
|
+
} = bem(CLASSNAME$Y);
|
|
14302
14307
|
|
|
14303
14308
|
/**
|
|
14304
14309
|
* Flag component.
|
|
@@ -14356,8 +14361,8 @@ const Flag = forwardRef((props, ref) => {
|
|
|
14356
14361
|
Text
|
|
14357
14362
|
});
|
|
14358
14363
|
});
|
|
14359
|
-
Flag.displayName = COMPONENT_NAME$
|
|
14360
|
-
Flag.className = CLASSNAME$
|
|
14364
|
+
Flag.displayName = COMPONENT_NAME$Z;
|
|
14365
|
+
Flag.className = CLASSNAME$Y;
|
|
14361
14366
|
Flag.defaultProps = DEFAULT_PROPS$O;
|
|
14362
14367
|
|
|
14363
14368
|
/**
|
|
@@ -14379,21 +14384,21 @@ const FlexBox = forwardRef((props, ref) => {
|
|
|
14379
14384
|
children: children
|
|
14380
14385
|
});
|
|
14381
14386
|
});
|
|
14382
|
-
FlexBox.displayName = COMPONENT_NAME$
|
|
14383
|
-
FlexBox.className = CLASSNAME$
|
|
14387
|
+
FlexBox.displayName = COMPONENT_NAME$1a;
|
|
14388
|
+
FlexBox.className = CLASSNAME$17;
|
|
14384
14389
|
|
|
14385
14390
|
/**
|
|
14386
14391
|
* Component display name.
|
|
14387
14392
|
*/
|
|
14388
|
-
const COMPONENT_NAME$
|
|
14393
|
+
const COMPONENT_NAME$Y = 'Grid';
|
|
14389
14394
|
|
|
14390
14395
|
/**
|
|
14391
14396
|
* Component default class name and class prefix.
|
|
14392
14397
|
*/
|
|
14393
|
-
const CLASSNAME$
|
|
14398
|
+
const CLASSNAME$X = 'lumx-grid';
|
|
14394
14399
|
const {
|
|
14395
14400
|
block: block$I
|
|
14396
|
-
} = classNames.bem(CLASSNAME$
|
|
14401
|
+
} = classNames.bem(CLASSNAME$X);
|
|
14397
14402
|
|
|
14398
14403
|
/**
|
|
14399
14404
|
* Component default props.
|
|
@@ -14424,7 +14429,7 @@ const Grid = forwardRef((props, ref) => {
|
|
|
14424
14429
|
return /*#__PURE__*/jsx("div", {
|
|
14425
14430
|
ref: ref,
|
|
14426
14431
|
...forwardedProps,
|
|
14427
|
-
className: classNames.join(className, classNames.bem(`${CLASSNAME$
|
|
14432
|
+
className: classNames.join(className, classNames.bem(`${CLASSNAME$X}-container`).block(), block$I({
|
|
14428
14433
|
[`h-align-${hAlign}`]: Boolean(hAlign),
|
|
14429
14434
|
[`v-align-${vAlign}`]: Boolean(vAlign),
|
|
14430
14435
|
[`orientation-${orientation}`]: Boolean(orientation),
|
|
@@ -14434,22 +14439,22 @@ const Grid = forwardRef((props, ref) => {
|
|
|
14434
14439
|
children: children
|
|
14435
14440
|
});
|
|
14436
14441
|
});
|
|
14437
|
-
Grid.displayName = COMPONENT_NAME$
|
|
14438
|
-
Grid.className = CLASSNAME$
|
|
14442
|
+
Grid.displayName = COMPONENT_NAME$Y;
|
|
14443
|
+
Grid.className = CLASSNAME$X;
|
|
14439
14444
|
Grid.defaultProps = DEFAULT_PROPS$N;
|
|
14440
14445
|
|
|
14441
14446
|
/**
|
|
14442
14447
|
* Component display name.
|
|
14443
14448
|
*/
|
|
14444
|
-
const COMPONENT_NAME$
|
|
14449
|
+
const COMPONENT_NAME$X = 'GridItem';
|
|
14445
14450
|
|
|
14446
14451
|
/**
|
|
14447
14452
|
* Component default class name and class prefix.
|
|
14448
14453
|
*/
|
|
14449
|
-
const CLASSNAME$
|
|
14454
|
+
const CLASSNAME$W = 'lumx-grid-item';
|
|
14450
14455
|
const {
|
|
14451
14456
|
block: block$H
|
|
14452
|
-
} = classNames.bem(CLASSNAME$
|
|
14457
|
+
} = classNames.bem(CLASSNAME$W);
|
|
14453
14458
|
|
|
14454
14459
|
/**
|
|
14455
14460
|
* GridItem component.
|
|
@@ -14478,18 +14483,18 @@ const GridItem = forwardRef((props, ref) => {
|
|
|
14478
14483
|
children: children
|
|
14479
14484
|
});
|
|
14480
14485
|
});
|
|
14481
|
-
GridItem.displayName = COMPONENT_NAME$
|
|
14482
|
-
GridItem.className = CLASSNAME$
|
|
14486
|
+
GridItem.displayName = COMPONENT_NAME$X;
|
|
14487
|
+
GridItem.className = CLASSNAME$W;
|
|
14483
14488
|
|
|
14484
14489
|
/**
|
|
14485
14490
|
* Component display name.
|
|
14486
14491
|
*/
|
|
14487
|
-
const COMPONENT_NAME$
|
|
14492
|
+
const COMPONENT_NAME$W = 'GridColumn';
|
|
14488
14493
|
|
|
14489
14494
|
/**
|
|
14490
14495
|
* Component default class name and class prefix.
|
|
14491
14496
|
*/
|
|
14492
|
-
const CLASSNAME$
|
|
14497
|
+
const CLASSNAME$V = 'lumx-grid-column';
|
|
14493
14498
|
|
|
14494
14499
|
/**
|
|
14495
14500
|
* Component default props.
|
|
@@ -14519,7 +14524,7 @@ const GridColumn$1 = props => {
|
|
|
14519
14524
|
return /*#__PURE__*/jsx(Component, {
|
|
14520
14525
|
...forwardedProps,
|
|
14521
14526
|
ref: ref,
|
|
14522
|
-
className: classnames(className, CLASSNAME$
|
|
14527
|
+
className: classnames(className, CLASSNAME$V),
|
|
14523
14528
|
style: {
|
|
14524
14529
|
...style,
|
|
14525
14530
|
['--lumx-grid-column-item-min-width']: isInteger(itemMinWidth) && `${itemMinWidth}px`,
|
|
@@ -14529,8 +14534,8 @@ const GridColumn$1 = props => {
|
|
|
14529
14534
|
children: children
|
|
14530
14535
|
});
|
|
14531
14536
|
};
|
|
14532
|
-
GridColumn$1.displayName = COMPONENT_NAME$
|
|
14533
|
-
GridColumn$1.className = CLASSNAME$
|
|
14537
|
+
GridColumn$1.displayName = COMPONENT_NAME$W;
|
|
14538
|
+
GridColumn$1.className = CLASSNAME$V;
|
|
14534
14539
|
GridColumn$1.defaultProps = DEFAULT_PROPS$M;
|
|
14535
14540
|
|
|
14536
14541
|
/**
|
|
@@ -14559,8 +14564,8 @@ const GridColumn = forwardRef((props, ref) => {
|
|
|
14559
14564
|
...props
|
|
14560
14565
|
});
|
|
14561
14566
|
});
|
|
14562
|
-
GridColumn.displayName = COMPONENT_NAME$
|
|
14563
|
-
GridColumn.className = CLASSNAME$
|
|
14567
|
+
GridColumn.displayName = COMPONENT_NAME$W;
|
|
14568
|
+
GridColumn.className = CLASSNAME$V;
|
|
14564
14569
|
GridColumn.defaultProps = DEFAULT_PROPS$L;
|
|
14565
14570
|
|
|
14566
14571
|
/**
|
|
@@ -14582,16 +14587,16 @@ const ImageBlockCaptionPosition = {
|
|
|
14582
14587
|
/**
|
|
14583
14588
|
* Component display name.
|
|
14584
14589
|
*/
|
|
14585
|
-
const COMPONENT_NAME$
|
|
14590
|
+
const COMPONENT_NAME$V = 'ImageBlock';
|
|
14586
14591
|
|
|
14587
14592
|
/**
|
|
14588
14593
|
* Component default class name and class prefix.
|
|
14589
14594
|
*/
|
|
14590
|
-
const CLASSNAME$
|
|
14595
|
+
const CLASSNAME$U = 'lumx-image-block';
|
|
14591
14596
|
const {
|
|
14592
14597
|
block: block$G,
|
|
14593
14598
|
element: element$A
|
|
14594
|
-
} = bem(CLASSNAME$
|
|
14599
|
+
} = bem(CLASSNAME$U);
|
|
14595
14600
|
|
|
14596
14601
|
/**
|
|
14597
14602
|
* Component default props.
|
|
@@ -14652,7 +14657,7 @@ const ImageBlock$1 = props => {
|
|
|
14652
14657
|
alt: alt || title
|
|
14653
14658
|
}), /*#__PURE__*/jsx(ImageCaption, {
|
|
14654
14659
|
as: "figcaption",
|
|
14655
|
-
baseClassName: CLASSNAME$
|
|
14660
|
+
baseClassName: CLASSNAME$U,
|
|
14656
14661
|
theme: theme,
|
|
14657
14662
|
title: title,
|
|
14658
14663
|
titleProps: titleProps,
|
|
@@ -14783,19 +14788,19 @@ const ImageBlock = forwardRef((props, ref) => {
|
|
|
14783
14788
|
ImageCaption
|
|
14784
14789
|
});
|
|
14785
14790
|
});
|
|
14786
|
-
ImageBlock.displayName = COMPONENT_NAME$
|
|
14787
|
-
ImageBlock.className = CLASSNAME$
|
|
14791
|
+
ImageBlock.displayName = COMPONENT_NAME$V;
|
|
14792
|
+
ImageBlock.className = CLASSNAME$U;
|
|
14788
14793
|
ImageBlock.defaultProps = DEFAULT_PROPS$K;
|
|
14789
14794
|
|
|
14790
14795
|
/**
|
|
14791
14796
|
* Component display name.
|
|
14792
14797
|
*/
|
|
14793
|
-
const COMPONENT_NAME$
|
|
14798
|
+
const COMPONENT_NAME$U = 'ImageLightbox';
|
|
14794
14799
|
|
|
14795
14800
|
/**
|
|
14796
14801
|
* Component default class name and class prefix.
|
|
14797
14802
|
*/
|
|
14798
|
-
const CLASSNAME$
|
|
14803
|
+
const CLASSNAME$T = 'lumx-image-lightbox';
|
|
14799
14804
|
|
|
14800
14805
|
/**
|
|
14801
14806
|
* Observe element size (only works if it's size depends on the window size).
|
|
@@ -15041,7 +15046,7 @@ function useAnimateScroll(scrollAreaRef) {
|
|
|
15041
15046
|
|
|
15042
15047
|
const {
|
|
15043
15048
|
element: element$z
|
|
15044
|
-
} = classNames.bem(CLASSNAME$
|
|
15049
|
+
} = classNames.bem(CLASSNAME$T);
|
|
15045
15050
|
/** Internal image slide component for ImageLightbox */
|
|
15046
15051
|
const ImageSlide = /*#__PURE__*/React__default.memo(props => {
|
|
15047
15052
|
const {
|
|
@@ -15133,7 +15138,7 @@ const ImageSlide = /*#__PURE__*/React__default.memo(props => {
|
|
|
15133
15138
|
|
|
15134
15139
|
const {
|
|
15135
15140
|
element: element$y
|
|
15136
|
-
} = classNames.bem(CLASSNAME$
|
|
15141
|
+
} = classNames.bem(CLASSNAME$T);
|
|
15137
15142
|
/** Internal image slideshow component for ImageLightbox */
|
|
15138
15143
|
const ImageSlideshow = ({
|
|
15139
15144
|
activeImageIndex,
|
|
@@ -15373,7 +15378,7 @@ function useImageLightbox(props) {
|
|
|
15373
15378
|
viewTransitionName: {
|
|
15374
15379
|
source: currentImageRef,
|
|
15375
15380
|
target: triggerImageRefs[currentIndex],
|
|
15376
|
-
name: CLASSNAME$
|
|
15381
|
+
name: CLASSNAME$T
|
|
15377
15382
|
}
|
|
15378
15383
|
});
|
|
15379
15384
|
}
|
|
@@ -15425,7 +15430,7 @@ function useImageLightbox(props) {
|
|
|
15425
15430
|
viewTransitionName: {
|
|
15426
15431
|
source: triggerImage,
|
|
15427
15432
|
target: currentImageRef,
|
|
15428
|
-
name: CLASSNAME$
|
|
15433
|
+
name: CLASSNAME$T
|
|
15429
15434
|
}
|
|
15430
15435
|
});
|
|
15431
15436
|
}
|
|
@@ -15480,7 +15485,7 @@ const Inner = forwardRef((props, ref) => {
|
|
|
15480
15485
|
}, [onClose]);
|
|
15481
15486
|
return /*#__PURE__*/jsx(Lightbox, {
|
|
15482
15487
|
ref: ref,
|
|
15483
|
-
className: classNames.join(className, CLASSNAME$
|
|
15488
|
+
className: classNames.join(className, CLASSNAME$T),
|
|
15484
15489
|
parentElement: parentElement,
|
|
15485
15490
|
isOpen: isOpen,
|
|
15486
15491
|
onClose: onClose,
|
|
@@ -15509,8 +15514,8 @@ const Inner = forwardRef((props, ref) => {
|
|
|
15509
15514
|
})
|
|
15510
15515
|
});
|
|
15511
15516
|
});
|
|
15512
|
-
Inner.displayName = COMPONENT_NAME$
|
|
15513
|
-
Inner.className = CLASSNAME$
|
|
15517
|
+
Inner.displayName = COMPONENT_NAME$U;
|
|
15518
|
+
Inner.className = CLASSNAME$T;
|
|
15514
15519
|
|
|
15515
15520
|
/**
|
|
15516
15521
|
* ImageLightbox component.
|
|
@@ -15526,16 +15531,16 @@ const ImageLightbox = Object.assign(Inner, {
|
|
|
15526
15531
|
/**
|
|
15527
15532
|
* Component display name.
|
|
15528
15533
|
*/
|
|
15529
|
-
const COMPONENT_NAME$
|
|
15534
|
+
const COMPONENT_NAME$T = 'InlineList';
|
|
15530
15535
|
|
|
15531
15536
|
/**
|
|
15532
15537
|
* Component default class name and class prefix.
|
|
15533
15538
|
*/
|
|
15534
|
-
const CLASSNAME$
|
|
15539
|
+
const CLASSNAME$S = 'lumx-inline-list';
|
|
15535
15540
|
const {
|
|
15536
15541
|
block: block$F,
|
|
15537
15542
|
element: element$x
|
|
15538
|
-
} = bem(CLASSNAME$
|
|
15543
|
+
} = bem(CLASSNAME$S);
|
|
15539
15544
|
|
|
15540
15545
|
/**
|
|
15541
15546
|
* Component default props.
|
|
@@ -15587,8 +15592,8 @@ const InlineList$1 = props => {
|
|
|
15587
15592
|
})
|
|
15588
15593
|
);
|
|
15589
15594
|
};
|
|
15590
|
-
InlineList$1.displayName = COMPONENT_NAME$
|
|
15591
|
-
InlineList$1.className = CLASSNAME$
|
|
15595
|
+
InlineList$1.displayName = COMPONENT_NAME$T;
|
|
15596
|
+
InlineList$1.className = CLASSNAME$S;
|
|
15592
15597
|
InlineList$1.defaultProps = DEFAULT_PROPS$J;
|
|
15593
15598
|
|
|
15594
15599
|
/**
|
|
@@ -15613,8 +15618,8 @@ const InlineList = forwardRef((props, ref) => {
|
|
|
15613
15618
|
items: Children.toArray(children)
|
|
15614
15619
|
});
|
|
15615
15620
|
});
|
|
15616
|
-
InlineList.displayName = COMPONENT_NAME$
|
|
15617
|
-
InlineList.className = CLASSNAME$
|
|
15621
|
+
InlineList.displayName = COMPONENT_NAME$T;
|
|
15622
|
+
InlineList.className = CLASSNAME$S;
|
|
15618
15623
|
InlineList.defaultProps = DEFAULT_PROPS$J;
|
|
15619
15624
|
|
|
15620
15625
|
/**
|
|
@@ -15655,18 +15660,18 @@ InputLabel.displayName = InputLabel$1.displayName;
|
|
|
15655
15660
|
InputLabel.className = InputLabel$1.className;
|
|
15656
15661
|
InputLabel.defaultProps = InputLabel$1.defaultProps;
|
|
15657
15662
|
|
|
15658
|
-
const COMPONENT_NAME$
|
|
15663
|
+
const COMPONENT_NAME$S = 'InputRequiredLegend';
|
|
15659
15664
|
const InputRequiredLegendClassName = 'lumx-input-required-legend';
|
|
15660
15665
|
|
|
15661
15666
|
/**
|
|
15662
15667
|
* Defines the props of the component.
|
|
15663
15668
|
*/
|
|
15664
15669
|
|
|
15665
|
-
const CLASSNAME$
|
|
15670
|
+
const CLASSNAME$R = InputRequiredLegendClassName;
|
|
15666
15671
|
const {
|
|
15667
15672
|
block: block$E,
|
|
15668
15673
|
element: element$w
|
|
15669
|
-
} = bem(CLASSNAME$
|
|
15674
|
+
} = bem(CLASSNAME$R);
|
|
15670
15675
|
|
|
15671
15676
|
/**
|
|
15672
15677
|
* Component default props.
|
|
@@ -15699,8 +15704,8 @@ function InputRequiredLegend$1(props) {
|
|
|
15699
15704
|
}), label]
|
|
15700
15705
|
});
|
|
15701
15706
|
}
|
|
15702
|
-
InputRequiredLegend$1.displayName = COMPONENT_NAME$
|
|
15703
|
-
InputRequiredLegend$1.className = CLASSNAME$
|
|
15707
|
+
InputRequiredLegend$1.displayName = COMPONENT_NAME$S;
|
|
15708
|
+
InputRequiredLegend$1.className = CLASSNAME$R;
|
|
15704
15709
|
InputRequiredLegend$1.defaultProps = DEFAULT_PROPS$I;
|
|
15705
15710
|
|
|
15706
15711
|
/**
|
|
@@ -15725,16 +15730,16 @@ InputRequiredLegend.defaultProps = InputRequiredLegend$1.defaultProps;
|
|
|
15725
15730
|
/**
|
|
15726
15731
|
* Component display name.
|
|
15727
15732
|
*/
|
|
15728
|
-
const COMPONENT_NAME$
|
|
15733
|
+
const COMPONENT_NAME$R = 'Lightbox';
|
|
15729
15734
|
|
|
15730
15735
|
/**
|
|
15731
15736
|
* Component default class name and class prefix.
|
|
15732
15737
|
*/
|
|
15733
|
-
const CLASSNAME$
|
|
15738
|
+
const CLASSNAME$Q = 'lumx-lightbox';
|
|
15734
15739
|
const {
|
|
15735
15740
|
block: block$D,
|
|
15736
15741
|
element: element$v
|
|
15737
|
-
} = bem(CLASSNAME$
|
|
15742
|
+
} = bem(CLASSNAME$Q);
|
|
15738
15743
|
|
|
15739
15744
|
/**
|
|
15740
15745
|
* Lightbox component.
|
|
@@ -15921,8 +15926,8 @@ const Lightbox = forwardRef((props, ref) => {
|
|
|
15921
15926
|
})
|
|
15922
15927
|
});
|
|
15923
15928
|
});
|
|
15924
|
-
Lightbox.displayName = COMPONENT_NAME$
|
|
15925
|
-
Lightbox.className = CLASSNAME$
|
|
15929
|
+
Lightbox.displayName = COMPONENT_NAME$R;
|
|
15930
|
+
Lightbox.className = CLASSNAME$Q;
|
|
15926
15931
|
|
|
15927
15932
|
/**
|
|
15928
15933
|
* Defines the props of the component.
|
|
@@ -15931,15 +15936,15 @@ Lightbox.className = CLASSNAME$P;
|
|
|
15931
15936
|
/**
|
|
15932
15937
|
* Component display name.
|
|
15933
15938
|
*/
|
|
15934
|
-
const COMPONENT_NAME$
|
|
15939
|
+
const COMPONENT_NAME$Q = 'Link';
|
|
15935
15940
|
|
|
15936
15941
|
/**
|
|
15937
15942
|
* Component default class name and class prefix.
|
|
15938
15943
|
*/
|
|
15939
|
-
const CLASSNAME$
|
|
15944
|
+
const CLASSNAME$P = 'lumx-link';
|
|
15940
15945
|
const {
|
|
15941
15946
|
block: block$C
|
|
15942
|
-
} = bem(CLASSNAME$
|
|
15947
|
+
} = bem(CLASSNAME$P);
|
|
15943
15948
|
|
|
15944
15949
|
/**
|
|
15945
15950
|
* Link component.
|
|
@@ -15978,7 +15983,7 @@ const Link$1 = props => {
|
|
|
15978
15983
|
|
|
15979
15984
|
const {
|
|
15980
15985
|
element: element$u
|
|
15981
|
-
} = classNames.bem(CLASSNAME$
|
|
15986
|
+
} = classNames.bem(CLASSNAME$P);
|
|
15982
15987
|
|
|
15983
15988
|
/**
|
|
15984
15989
|
* Defines the props of the component.
|
|
@@ -16024,22 +16029,22 @@ const Link = forwardRef((props, ref) => {
|
|
|
16024
16029
|
}))
|
|
16025
16030
|
});
|
|
16026
16031
|
});
|
|
16027
|
-
Link.displayName = COMPONENT_NAME$
|
|
16028
|
-
Link.className = CLASSNAME$
|
|
16032
|
+
Link.displayName = COMPONENT_NAME$Q;
|
|
16033
|
+
Link.className = CLASSNAME$P;
|
|
16029
16034
|
|
|
16030
16035
|
/**
|
|
16031
16036
|
* Component display name.
|
|
16032
16037
|
*/
|
|
16033
|
-
const COMPONENT_NAME$
|
|
16038
|
+
const COMPONENT_NAME$P = 'LinkPreview';
|
|
16034
16039
|
|
|
16035
16040
|
/**
|
|
16036
16041
|
* Component default class name and class prefix.
|
|
16037
16042
|
*/
|
|
16038
|
-
const CLASSNAME$
|
|
16043
|
+
const CLASSNAME$O = 'lumx-link-preview';
|
|
16039
16044
|
const {
|
|
16040
16045
|
block: block$B,
|
|
16041
16046
|
element: element$t
|
|
16042
|
-
} = bem(CLASSNAME$
|
|
16047
|
+
} = bem(CLASSNAME$O);
|
|
16043
16048
|
|
|
16044
16049
|
/**
|
|
16045
16050
|
* Component default props.
|
|
@@ -16165,8 +16170,8 @@ const LinkPreview = forwardRef((props, ref) => {
|
|
|
16165
16170
|
...forwardedProps
|
|
16166
16171
|
});
|
|
16167
16172
|
});
|
|
16168
|
-
LinkPreview.displayName = COMPONENT_NAME$
|
|
16169
|
-
LinkPreview.className = CLASSNAME$
|
|
16173
|
+
LinkPreview.displayName = COMPONENT_NAME$P;
|
|
16174
|
+
LinkPreview.className = CLASSNAME$O;
|
|
16170
16175
|
LinkPreview.defaultProps = DEFAULT_PROPS$H;
|
|
16171
16176
|
|
|
16172
16177
|
/**
|
|
@@ -16198,8 +16203,8 @@ const ListItemAction = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
16198
16203
|
children
|
|
16199
16204
|
});
|
|
16200
16205
|
}), {
|
|
16201
|
-
displayName: COMPONENT_NAME$
|
|
16202
|
-
className: CLASSNAME$
|
|
16206
|
+
displayName: COMPONENT_NAME$1n,
|
|
16207
|
+
className: CLASSNAME$1l,
|
|
16203
16208
|
defaultProps: DEFAULT_PROPS$12
|
|
16204
16209
|
});
|
|
16205
16210
|
|
|
@@ -16240,8 +16245,8 @@ const _ListItem = forwardRef((props, ref) => {
|
|
|
16240
16245
|
handleClick: onItemSelected || props.onClick ? handleClick : undefined
|
|
16241
16246
|
});
|
|
16242
16247
|
});
|
|
16243
|
-
_ListItem.displayName = COMPONENT_NAME$
|
|
16244
|
-
_ListItem.className = CLASSNAME$
|
|
16248
|
+
_ListItem.displayName = COMPONENT_NAME$1o;
|
|
16249
|
+
_ListItem.className = CLASSNAME$1m;
|
|
16245
16250
|
_ListItem.defaultProps = DEFAULT_PROPS$13;
|
|
16246
16251
|
|
|
16247
16252
|
/**
|
|
@@ -16255,12 +16260,12 @@ const ListItem = Object.assign(_ListItem, {
|
|
|
16255
16260
|
/**
|
|
16256
16261
|
* Component display name.
|
|
16257
16262
|
*/
|
|
16258
|
-
const COMPONENT_NAME$
|
|
16263
|
+
const COMPONENT_NAME$O = 'ListSubheader';
|
|
16259
16264
|
|
|
16260
16265
|
/**
|
|
16261
16266
|
* Component default class name and class prefix.
|
|
16262
16267
|
*/
|
|
16263
|
-
const CLASSNAME$
|
|
16268
|
+
const CLASSNAME$N = 'lumx-list-subheader';
|
|
16264
16269
|
|
|
16265
16270
|
/**
|
|
16266
16271
|
* ListSubheader component.
|
|
@@ -16279,12 +16284,12 @@ const ListSubheader = forwardRef((props, ref) => {
|
|
|
16279
16284
|
return /*#__PURE__*/jsx("li", {
|
|
16280
16285
|
ref: ref,
|
|
16281
16286
|
...forwardedProps,
|
|
16282
|
-
className: classNames.join(className, CLASSNAME$
|
|
16287
|
+
className: classNames.join(className, CLASSNAME$N),
|
|
16283
16288
|
children: children
|
|
16284
16289
|
});
|
|
16285
16290
|
});
|
|
16286
|
-
ListSubheader.displayName = COMPONENT_NAME$
|
|
16287
|
-
ListSubheader.className = CLASSNAME$
|
|
16291
|
+
ListSubheader.displayName = COMPONENT_NAME$O;
|
|
16292
|
+
ListSubheader.className = CLASSNAME$N;
|
|
16288
16293
|
|
|
16289
16294
|
const DEFAULT_PROPS$G = {
|
|
16290
16295
|
variant: 'button'
|
|
@@ -16296,7 +16301,7 @@ const DEFAULT_PROPS$G = {
|
|
|
16296
16301
|
|
|
16297
16302
|
/** Discriminated union of MenuButton props across all trigger variants. */
|
|
16298
16303
|
|
|
16299
|
-
const COMPONENT_NAME$
|
|
16304
|
+
const COMPONENT_NAME$N = 'MenuButton';
|
|
16300
16305
|
|
|
16301
16306
|
/** Menu button core template (composition of menu provider, trigger, popover and list) */
|
|
16302
16307
|
const MenuButton$1 = (props, {
|
|
@@ -16724,8 +16729,8 @@ function MenuProvider(props) {
|
|
|
16724
16729
|
}
|
|
16725
16730
|
MenuProvider.displayName = 'Menu.Provider';
|
|
16726
16731
|
|
|
16727
|
-
const COMPONENT_NAME$
|
|
16728
|
-
const CLASSNAME$
|
|
16732
|
+
const COMPONENT_NAME$M = 'MenuTrigger';
|
|
16733
|
+
const CLASSNAME$M = 'lumx-menu-trigger';
|
|
16729
16734
|
|
|
16730
16735
|
/** MenuTrigger core template. Renders `Trigger` with disclosure ARIA attributes. */
|
|
16731
16736
|
const MenuTrigger$1 = (props, {
|
|
@@ -16742,7 +16747,7 @@ const MenuTrigger$1 = (props, {
|
|
|
16742
16747
|
return /*#__PURE__*/jsx(Trigger, {
|
|
16743
16748
|
ref: ref,
|
|
16744
16749
|
...forwardedProps,
|
|
16745
|
-
className: classnames(className, CLASSNAME$
|
|
16750
|
+
className: classnames(className, CLASSNAME$M),
|
|
16746
16751
|
"aria-haspopup": "true",
|
|
16747
16752
|
"aria-controls": menuId,
|
|
16748
16753
|
"aria-expanded": isOpen ? 'true' : 'false',
|
|
@@ -16825,16 +16830,16 @@ const MenuTrigger = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
16825
16830
|
Trigger: TriggerComp
|
|
16826
16831
|
});
|
|
16827
16832
|
}), {
|
|
16828
|
-
displayName: COMPONENT_NAME$
|
|
16829
|
-
className: CLASSNAME$
|
|
16833
|
+
displayName: COMPONENT_NAME$M,
|
|
16834
|
+
className: CLASSNAME$M
|
|
16830
16835
|
});
|
|
16831
16836
|
|
|
16832
|
-
const COMPONENT_NAME$
|
|
16833
|
-
const CLASSNAME$
|
|
16837
|
+
const COMPONENT_NAME$L = 'MenuPopover';
|
|
16838
|
+
const CLASSNAME$L = 'lumx-menu-popover';
|
|
16834
16839
|
const {
|
|
16835
16840
|
block: block$A,
|
|
16836
16841
|
element: element$s
|
|
16837
|
-
} = bem(CLASSNAME$
|
|
16842
|
+
} = bem(CLASSNAME$L);
|
|
16838
16843
|
|
|
16839
16844
|
/** MenuPopover core template. Renders a `Popover` with menu-friendly defaults. */
|
|
16840
16845
|
const MenuPopover$1 = (props, {
|
|
@@ -16900,13 +16905,13 @@ const MenuPopover = props => {
|
|
|
16900
16905
|
Popover
|
|
16901
16906
|
});
|
|
16902
16907
|
};
|
|
16903
|
-
MenuPopover.displayName = COMPONENT_NAME$
|
|
16904
|
-
MenuPopover.className = CLASSNAME$
|
|
16908
|
+
MenuPopover.displayName = COMPONENT_NAME$L;
|
|
16909
|
+
MenuPopover.className = CLASSNAME$L;
|
|
16905
16910
|
|
|
16906
16911
|
/** Menu list props. */
|
|
16907
16912
|
|
|
16908
|
-
const COMPONENT_NAME$
|
|
16909
|
-
const CLASSNAME$
|
|
16913
|
+
const COMPONENT_NAME$K = 'Menu';
|
|
16914
|
+
const CLASSNAME$K = 'lumx-menu';
|
|
16910
16915
|
|
|
16911
16916
|
/** MenuList core template. Wraps `List` with menu-specific class and ARIA labelling. */
|
|
16912
16917
|
const MenuList$1 = props => {
|
|
@@ -16922,7 +16927,7 @@ const MenuList$1 = props => {
|
|
|
16922
16927
|
...rest,
|
|
16923
16928
|
ref,
|
|
16924
16929
|
id,
|
|
16925
|
-
className: classnames(className, CLASSNAME$
|
|
16930
|
+
className: classnames(className, CLASSNAME$K),
|
|
16926
16931
|
itemPadding: 'big',
|
|
16927
16932
|
'aria-labelledby': ariaLabelledby,
|
|
16928
16933
|
children
|
|
@@ -16968,8 +16973,8 @@ const MenuList = forwardRef((props, ref) => {
|
|
|
16968
16973
|
children: isOpen ? children : null
|
|
16969
16974
|
});
|
|
16970
16975
|
});
|
|
16971
|
-
MenuList.displayName = COMPONENT_NAME$
|
|
16972
|
-
MenuList.className = CLASSNAME$
|
|
16976
|
+
MenuList.displayName = COMPONENT_NAME$K;
|
|
16977
|
+
MenuList.className = CLASSNAME$K;
|
|
16973
16978
|
|
|
16974
16979
|
/** Props that MenuButton explicitly declares. */
|
|
16975
16980
|
|
|
@@ -17016,19 +17021,19 @@ const MenuButton = forwardRef((props, ref) => {
|
|
|
17016
17021
|
MenuList
|
|
17017
17022
|
});
|
|
17018
17023
|
});
|
|
17019
|
-
MenuButton.displayName = COMPONENT_NAME$
|
|
17024
|
+
MenuButton.displayName = COMPONENT_NAME$N;
|
|
17020
17025
|
MenuButton.defaultProps = DEFAULT_PROPS$G;
|
|
17021
17026
|
|
|
17022
17027
|
/** MenuItem props. */
|
|
17023
17028
|
|
|
17024
17029
|
/** Props overridden by framework wrappers. */
|
|
17025
17030
|
|
|
17026
|
-
const COMPONENT_NAME$
|
|
17027
|
-
const CLASSNAME$
|
|
17031
|
+
const COMPONENT_NAME$J = 'MenuItem';
|
|
17032
|
+
const CLASSNAME$J = 'lumx-menu-item';
|
|
17028
17033
|
const {
|
|
17029
17034
|
block: block$z,
|
|
17030
17035
|
element: element$r
|
|
17031
|
-
} = bem(CLASSNAME$
|
|
17036
|
+
} = bem(CLASSNAME$J);
|
|
17032
17037
|
|
|
17033
17038
|
/** MenuItem core template. Renders a `ListItem` with a `ListItemAction`. */
|
|
17034
17039
|
const MenuItem$1 = props => {
|
|
@@ -17139,22 +17144,22 @@ const MenuItem = forwardRef((props, ref) => {
|
|
|
17139
17144
|
handleClick
|
|
17140
17145
|
});
|
|
17141
17146
|
});
|
|
17142
|
-
MenuItem.displayName = COMPONENT_NAME$
|
|
17143
|
-
MenuItem.className = CLASSNAME$
|
|
17147
|
+
MenuItem.displayName = COMPONENT_NAME$J;
|
|
17148
|
+
MenuItem.className = CLASSNAME$J;
|
|
17144
17149
|
|
|
17145
17150
|
/**
|
|
17146
17151
|
* Component display name.
|
|
17147
17152
|
*/
|
|
17148
|
-
const COMPONENT_NAME$
|
|
17153
|
+
const COMPONENT_NAME$I = 'Message';
|
|
17149
17154
|
|
|
17150
17155
|
/**
|
|
17151
17156
|
* Component default class name and class prefix.
|
|
17152
17157
|
*/
|
|
17153
|
-
const CLASSNAME$
|
|
17158
|
+
const CLASSNAME$I = 'lumx-message';
|
|
17154
17159
|
const {
|
|
17155
17160
|
block: block$y,
|
|
17156
17161
|
element: element$q
|
|
17157
|
-
} = bem(CLASSNAME$
|
|
17162
|
+
} = bem(CLASSNAME$I);
|
|
17158
17163
|
|
|
17159
17164
|
/**
|
|
17160
17165
|
* Associative map from message kind to color and icon.
|
|
@@ -17228,8 +17233,8 @@ const Message$1 = props => {
|
|
|
17228
17233
|
})]
|
|
17229
17234
|
});
|
|
17230
17235
|
};
|
|
17231
|
-
Message$1.displayName = COMPONENT_NAME$
|
|
17232
|
-
Message$1.className = CLASSNAME$
|
|
17236
|
+
Message$1.displayName = COMPONENT_NAME$I;
|
|
17237
|
+
Message$1.className = CLASSNAME$I;
|
|
17233
17238
|
|
|
17234
17239
|
/**
|
|
17235
17240
|
* Message component.
|
|
@@ -17244,22 +17249,22 @@ const Message = forwardRef((props, ref) => {
|
|
|
17244
17249
|
ref
|
|
17245
17250
|
});
|
|
17246
17251
|
});
|
|
17247
|
-
Message.displayName = COMPONENT_NAME$
|
|
17248
|
-
Message.className = CLASSNAME$
|
|
17252
|
+
Message.displayName = COMPONENT_NAME$I;
|
|
17253
|
+
Message.className = CLASSNAME$I;
|
|
17249
17254
|
|
|
17250
17255
|
/**
|
|
17251
17256
|
* Component display name.
|
|
17252
17257
|
*/
|
|
17253
|
-
const COMPONENT_NAME$
|
|
17258
|
+
const COMPONENT_NAME$H = 'Mosaic';
|
|
17254
17259
|
|
|
17255
17260
|
/**
|
|
17256
17261
|
* Component default class name and class prefix.
|
|
17257
17262
|
*/
|
|
17258
|
-
const CLASSNAME$
|
|
17263
|
+
const CLASSNAME$H = 'lumx-mosaic';
|
|
17259
17264
|
const {
|
|
17260
17265
|
block: block$x,
|
|
17261
17266
|
element: element$p
|
|
17262
|
-
} = bem(CLASSNAME$
|
|
17267
|
+
} = bem(CLASSNAME$H);
|
|
17263
17268
|
|
|
17264
17269
|
/**
|
|
17265
17270
|
* Component default props.
|
|
@@ -17357,8 +17362,8 @@ const Mosaic = forwardRef((props, ref) => {
|
|
|
17357
17362
|
...forwardedProps
|
|
17358
17363
|
});
|
|
17359
17364
|
});
|
|
17360
|
-
Mosaic.displayName = COMPONENT_NAME$
|
|
17361
|
-
Mosaic.className = CLASSNAME$
|
|
17365
|
+
Mosaic.displayName = COMPONENT_NAME$H;
|
|
17366
|
+
Mosaic.className = CLASSNAME$H;
|
|
17362
17367
|
Mosaic.defaultProps = DEFAULT_PROPS$F;
|
|
17363
17368
|
|
|
17364
17369
|
const NavigationContext = /*#__PURE__*/createContext({
|
|
@@ -17378,16 +17383,16 @@ const ITEM_CLASSNAME = 'lumx-navigation-item';
|
|
|
17378
17383
|
/**
|
|
17379
17384
|
* Component display name.
|
|
17380
17385
|
*/
|
|
17381
|
-
const COMPONENT_NAME$
|
|
17386
|
+
const COMPONENT_NAME$G = 'NavigationSection';
|
|
17382
17387
|
|
|
17383
17388
|
/**
|
|
17384
17389
|
* Component default class name and class prefix.
|
|
17385
17390
|
*/
|
|
17386
|
-
const CLASSNAME$
|
|
17391
|
+
const CLASSNAME$G = 'lumx-navigation-section';
|
|
17387
17392
|
const {
|
|
17388
17393
|
block: sectionBlock,
|
|
17389
17394
|
element: sectionElement
|
|
17390
|
-
} = classNames.bem(CLASSNAME$
|
|
17395
|
+
} = classNames.bem(CLASSNAME$G);
|
|
17391
17396
|
const {
|
|
17392
17397
|
block: itemBlock,
|
|
17393
17398
|
element: itemElement
|
|
@@ -17473,8 +17478,8 @@ const NavigationSection = forwardRef((props, ref) => {
|
|
|
17473
17478
|
}))]
|
|
17474
17479
|
});
|
|
17475
17480
|
});
|
|
17476
|
-
NavigationSection.displayName = COMPONENT_NAME$
|
|
17477
|
-
NavigationSection.className = CLASSNAME$
|
|
17481
|
+
NavigationSection.displayName = COMPONENT_NAME$G;
|
|
17482
|
+
NavigationSection.className = CLASSNAME$G;
|
|
17478
17483
|
|
|
17479
17484
|
const {
|
|
17480
17485
|
block: block$w,
|
|
@@ -17543,16 +17548,16 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
17543
17548
|
/**
|
|
17544
17549
|
* Component display name.
|
|
17545
17550
|
*/
|
|
17546
|
-
const COMPONENT_NAME$
|
|
17551
|
+
const COMPONENT_NAME$F = 'Navigation';
|
|
17547
17552
|
|
|
17548
17553
|
/**
|
|
17549
17554
|
* Component default class name and class prefix.
|
|
17550
17555
|
*/
|
|
17551
|
-
const CLASSNAME$
|
|
17556
|
+
const CLASSNAME$F = 'lumx-navigation';
|
|
17552
17557
|
const {
|
|
17553
17558
|
block: block$v,
|
|
17554
17559
|
element: element$n
|
|
17555
|
-
} = classNames.bem(CLASSNAME$
|
|
17560
|
+
} = classNames.bem(CLASSNAME$F);
|
|
17556
17561
|
|
|
17557
17562
|
/**
|
|
17558
17563
|
* Component default props
|
|
@@ -17590,8 +17595,8 @@ const Navigation = forwardRef((props, ref) => {
|
|
|
17590
17595
|
})
|
|
17591
17596
|
});
|
|
17592
17597
|
});
|
|
17593
|
-
Navigation.displayName = COMPONENT_NAME$
|
|
17594
|
-
Navigation.className = CLASSNAME$
|
|
17598
|
+
Navigation.displayName = COMPONENT_NAME$F;
|
|
17599
|
+
Navigation.className = CLASSNAME$F;
|
|
17595
17600
|
Navigation.defaultProps = DEFAULT_PROPS$E;
|
|
17596
17601
|
|
|
17597
17602
|
// Sub components
|
|
@@ -17623,16 +17628,16 @@ const NOTIFICATION_CONFIGURATION = {
|
|
|
17623
17628
|
/**
|
|
17624
17629
|
* Component display name.
|
|
17625
17630
|
*/
|
|
17626
|
-
const COMPONENT_NAME$
|
|
17631
|
+
const COMPONENT_NAME$E = 'Notification';
|
|
17627
17632
|
|
|
17628
17633
|
/**
|
|
17629
17634
|
* Component default class name and class prefix.
|
|
17630
17635
|
*/
|
|
17631
|
-
const CLASSNAME$
|
|
17636
|
+
const CLASSNAME$E = 'lumx-notification';
|
|
17632
17637
|
const {
|
|
17633
17638
|
block: block$u,
|
|
17634
17639
|
element: element$m
|
|
17635
|
-
} = classNames.bem(CLASSNAME$
|
|
17640
|
+
} = classNames.bem(CLASSNAME$E);
|
|
17636
17641
|
|
|
17637
17642
|
/**
|
|
17638
17643
|
* Component default props.
|
|
@@ -17725,8 +17730,8 @@ const Notification = forwardRef((props, ref) => {
|
|
|
17725
17730
|
})
|
|
17726
17731
|
});
|
|
17727
17732
|
});
|
|
17728
|
-
Notification.displayName = COMPONENT_NAME$
|
|
17729
|
-
Notification.className = CLASSNAME$
|
|
17733
|
+
Notification.displayName = COMPONENT_NAME$E;
|
|
17734
|
+
Notification.className = CLASSNAME$E;
|
|
17730
17735
|
Notification.defaultProps = DEFAULT_PROPS$D;
|
|
17731
17736
|
|
|
17732
17737
|
/**
|
|
@@ -17740,12 +17745,12 @@ Notification.defaultProps = DEFAULT_PROPS$D;
|
|
|
17740
17745
|
/**
|
|
17741
17746
|
* Component display name.
|
|
17742
17747
|
*/
|
|
17743
|
-
const COMPONENT_NAME$
|
|
17748
|
+
const COMPONENT_NAME$D = 'PopoverDialog';
|
|
17744
17749
|
|
|
17745
17750
|
/**
|
|
17746
17751
|
* Component default class name and class prefix.
|
|
17747
17752
|
*/
|
|
17748
|
-
const CLASSNAME$
|
|
17753
|
+
const CLASSNAME$D = 'lumx-popover-dialog';
|
|
17749
17754
|
|
|
17750
17755
|
/**
|
|
17751
17756
|
* Component default props.
|
|
@@ -17772,7 +17777,7 @@ const PopoverDialogContent = forwardRef((props, ref) => {
|
|
|
17772
17777
|
return /*#__PURE__*/jsx(Popover, {
|
|
17773
17778
|
...forwardedProps,
|
|
17774
17779
|
ref: ref,
|
|
17775
|
-
className: classNames.join(className, CLASSNAME$
|
|
17780
|
+
className: classNames.join(className, CLASSNAME$D),
|
|
17776
17781
|
role: "dialog",
|
|
17777
17782
|
"aria-modal": "true"
|
|
17778
17783
|
/**
|
|
@@ -17805,23 +17810,23 @@ const PopoverDialog = forwardRef((props, ref) => /*#__PURE__*/jsx(IdsRegistryPro
|
|
|
17805
17810
|
ref: ref
|
|
17806
17811
|
})
|
|
17807
17812
|
}));
|
|
17808
|
-
PopoverDialog.displayName = COMPONENT_NAME$
|
|
17809
|
-
PopoverDialog.className = CLASSNAME$
|
|
17813
|
+
PopoverDialog.displayName = COMPONENT_NAME$D;
|
|
17814
|
+
PopoverDialog.className = CLASSNAME$D;
|
|
17810
17815
|
PopoverDialog.defaultProps = DEFAULT_PROPS$C;
|
|
17811
17816
|
|
|
17812
17817
|
/**
|
|
17813
17818
|
* Component display name.
|
|
17814
17819
|
*/
|
|
17815
|
-
const COMPONENT_NAME$
|
|
17820
|
+
const COMPONENT_NAME$C = 'PostBlock';
|
|
17816
17821
|
|
|
17817
17822
|
/**
|
|
17818
17823
|
* Component default class name and class prefix.
|
|
17819
17824
|
*/
|
|
17820
|
-
const CLASSNAME$
|
|
17825
|
+
const CLASSNAME$C = 'lumx-post-block';
|
|
17821
17826
|
const {
|
|
17822
17827
|
block: block$t,
|
|
17823
17828
|
element: element$l
|
|
17824
|
-
} = classNames.bem(CLASSNAME$
|
|
17829
|
+
} = classNames.bem(CLASSNAME$C);
|
|
17825
17830
|
|
|
17826
17831
|
/**
|
|
17827
17832
|
* Component default props.
|
|
@@ -17906,23 +17911,23 @@ const PostBlock = forwardRef((props, ref) => {
|
|
|
17906
17911
|
})]
|
|
17907
17912
|
});
|
|
17908
17913
|
});
|
|
17909
|
-
PostBlock.displayName = COMPONENT_NAME$
|
|
17910
|
-
PostBlock.className = CLASSNAME$
|
|
17914
|
+
PostBlock.displayName = COMPONENT_NAME$C;
|
|
17915
|
+
PostBlock.className = CLASSNAME$C;
|
|
17911
17916
|
PostBlock.defaultProps = DEFAULT_PROPS$B;
|
|
17912
17917
|
|
|
17913
17918
|
/**
|
|
17914
17919
|
* Component display name.
|
|
17915
17920
|
*/
|
|
17916
|
-
const COMPONENT_NAME$
|
|
17921
|
+
const COMPONENT_NAME$B = 'ProgressLinear';
|
|
17917
17922
|
|
|
17918
17923
|
/**
|
|
17919
17924
|
* Component default class name and class prefix.
|
|
17920
17925
|
*/
|
|
17921
|
-
const CLASSNAME$
|
|
17926
|
+
const CLASSNAME$B = 'lumx-progress-linear';
|
|
17922
17927
|
const {
|
|
17923
17928
|
block: block$s,
|
|
17924
17929
|
element: element$k
|
|
17925
|
-
} = bem(CLASSNAME$
|
|
17930
|
+
} = bem(CLASSNAME$B);
|
|
17926
17931
|
|
|
17927
17932
|
/**
|
|
17928
17933
|
* Component default props.
|
|
@@ -17979,8 +17984,8 @@ const ProgressLinear = forwardRef((props, ref) => {
|
|
|
17979
17984
|
...otherProps
|
|
17980
17985
|
});
|
|
17981
17986
|
});
|
|
17982
|
-
ProgressLinear.displayName = COMPONENT_NAME$
|
|
17983
|
-
ProgressLinear.className = CLASSNAME$
|
|
17987
|
+
ProgressLinear.displayName = COMPONENT_NAME$B;
|
|
17988
|
+
ProgressLinear.className = CLASSNAME$B;
|
|
17984
17989
|
ProgressLinear.defaultProps = DEFAULT_PROPS$A;
|
|
17985
17990
|
|
|
17986
17991
|
/* eslint-disable react/no-unknown-property */
|
|
@@ -17988,16 +17993,16 @@ ProgressLinear.defaultProps = DEFAULT_PROPS$A;
|
|
|
17988
17993
|
/**
|
|
17989
17994
|
* Component display name.
|
|
17990
17995
|
*/
|
|
17991
|
-
const COMPONENT_NAME$
|
|
17996
|
+
const COMPONENT_NAME$A = 'ProgressCircular';
|
|
17992
17997
|
|
|
17993
17998
|
/**
|
|
17994
17999
|
* Component default class name and class prefix.
|
|
17995
18000
|
*/
|
|
17996
|
-
const CLASSNAME$
|
|
18001
|
+
const CLASSNAME$A = 'lumx-progress-circular';
|
|
17997
18002
|
const {
|
|
17998
18003
|
block: block$r,
|
|
17999
18004
|
element: element$j
|
|
18000
|
-
} = bem(CLASSNAME$
|
|
18005
|
+
} = bem(CLASSNAME$A);
|
|
18001
18006
|
|
|
18002
18007
|
/**
|
|
18003
18008
|
* Component default props.
|
|
@@ -18081,8 +18086,8 @@ const ProgressCircular = forwardRef((props, ref) => {
|
|
|
18081
18086
|
}
|
|
18082
18087
|
});
|
|
18083
18088
|
});
|
|
18084
|
-
ProgressCircular.displayName = COMPONENT_NAME$
|
|
18085
|
-
ProgressCircular.className = CLASSNAME$
|
|
18089
|
+
ProgressCircular.displayName = COMPONENT_NAME$A;
|
|
18090
|
+
ProgressCircular.className = CLASSNAME$A;
|
|
18086
18091
|
ProgressCircular.defaultProps = DEFAULT_PROPS$z;
|
|
18087
18092
|
|
|
18088
18093
|
const ProgressVariant = {
|
|
@@ -18097,15 +18102,15 @@ const ProgressVariant = {
|
|
|
18097
18102
|
/**
|
|
18098
18103
|
* Component display name.
|
|
18099
18104
|
*/
|
|
18100
|
-
const COMPONENT_NAME$
|
|
18105
|
+
const COMPONENT_NAME$z = 'Progress';
|
|
18101
18106
|
|
|
18102
18107
|
/**
|
|
18103
18108
|
* Component default class name and class prefix.
|
|
18104
18109
|
*/
|
|
18105
|
-
const CLASSNAME$
|
|
18110
|
+
const CLASSNAME$z = 'lumx-progress';
|
|
18106
18111
|
const {
|
|
18107
18112
|
block: block$q
|
|
18108
|
-
} = classNames.bem(CLASSNAME$
|
|
18113
|
+
} = classNames.bem(CLASSNAME$z);
|
|
18109
18114
|
|
|
18110
18115
|
/**
|
|
18111
18116
|
* Component default props.
|
|
@@ -18144,8 +18149,8 @@ const Progress = forwardRef((props, ref) => {
|
|
|
18144
18149
|
})]
|
|
18145
18150
|
});
|
|
18146
18151
|
});
|
|
18147
|
-
Progress.displayName = COMPONENT_NAME$
|
|
18148
|
-
Progress.className = CLASSNAME$
|
|
18152
|
+
Progress.displayName = COMPONENT_NAME$z;
|
|
18153
|
+
Progress.className = CLASSNAME$z;
|
|
18149
18154
|
Progress.defaultProps = DEFAULT_PROPS$y;
|
|
18150
18155
|
|
|
18151
18156
|
const INIT_STATE = {
|
|
@@ -18329,16 +18334,16 @@ ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$x;
|
|
|
18329
18334
|
/**
|
|
18330
18335
|
* Component display name.
|
|
18331
18336
|
*/
|
|
18332
|
-
const COMPONENT_NAME$
|
|
18337
|
+
const COMPONENT_NAME$y = 'ProgressTracker';
|
|
18333
18338
|
|
|
18334
18339
|
/**
|
|
18335
18340
|
* Component default class name and class prefix.
|
|
18336
18341
|
*/
|
|
18337
|
-
const CLASSNAME$
|
|
18342
|
+
const CLASSNAME$y = 'lumx-progress-tracker';
|
|
18338
18343
|
const {
|
|
18339
18344
|
block: block$p,
|
|
18340
18345
|
element: element$i
|
|
18341
|
-
} = classNames.bem(CLASSNAME$
|
|
18346
|
+
} = classNames.bem(CLASSNAME$y);
|
|
18342
18347
|
|
|
18343
18348
|
/**
|
|
18344
18349
|
* Component default props.
|
|
@@ -18395,23 +18400,23 @@ const ProgressTracker = forwardRef((props, ref) => {
|
|
|
18395
18400
|
})]
|
|
18396
18401
|
});
|
|
18397
18402
|
});
|
|
18398
|
-
ProgressTracker.displayName = COMPONENT_NAME$
|
|
18399
|
-
ProgressTracker.className = CLASSNAME$
|
|
18403
|
+
ProgressTracker.displayName = COMPONENT_NAME$y;
|
|
18404
|
+
ProgressTracker.className = CLASSNAME$y;
|
|
18400
18405
|
ProgressTracker.defaultProps = DEFAULT_PROPS$w;
|
|
18401
18406
|
|
|
18402
18407
|
/**
|
|
18403
18408
|
* Component display name.
|
|
18404
18409
|
*/
|
|
18405
|
-
const COMPONENT_NAME$
|
|
18410
|
+
const COMPONENT_NAME$x = 'ProgressTrackerStep';
|
|
18406
18411
|
|
|
18407
18412
|
/**
|
|
18408
18413
|
* Component default class name and class prefix.
|
|
18409
18414
|
*/
|
|
18410
|
-
const CLASSNAME$
|
|
18415
|
+
const CLASSNAME$x = 'lumx-progress-tracker-step';
|
|
18411
18416
|
const {
|
|
18412
18417
|
block: block$o,
|
|
18413
18418
|
element: element$h
|
|
18414
|
-
} = classNames.bem(CLASSNAME$
|
|
18419
|
+
} = classNames.bem(CLASSNAME$x);
|
|
18415
18420
|
|
|
18416
18421
|
/**
|
|
18417
18422
|
* Component default props.
|
|
@@ -18509,22 +18514,22 @@ const ProgressTrackerStep = forwardRef((props, ref) => {
|
|
|
18509
18514
|
})]
|
|
18510
18515
|
});
|
|
18511
18516
|
});
|
|
18512
|
-
ProgressTrackerStep.displayName = COMPONENT_NAME$
|
|
18513
|
-
ProgressTrackerStep.className = CLASSNAME$
|
|
18517
|
+
ProgressTrackerStep.displayName = COMPONENT_NAME$x;
|
|
18518
|
+
ProgressTrackerStep.className = CLASSNAME$x;
|
|
18514
18519
|
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$v;
|
|
18515
18520
|
|
|
18516
18521
|
/**
|
|
18517
18522
|
* Component display name.
|
|
18518
18523
|
*/
|
|
18519
|
-
const COMPONENT_NAME$
|
|
18524
|
+
const COMPONENT_NAME$w = 'ProgressTrackerStepPanel';
|
|
18520
18525
|
|
|
18521
18526
|
/**
|
|
18522
18527
|
* Component default class name and class prefix.
|
|
18523
18528
|
*/
|
|
18524
|
-
const CLASSNAME$
|
|
18529
|
+
const CLASSNAME$w = `lumx-step-panel`;
|
|
18525
18530
|
const {
|
|
18526
18531
|
block: block$n
|
|
18527
|
-
} = classNames.bem(CLASSNAME$
|
|
18532
|
+
} = classNames.bem(CLASSNAME$w);
|
|
18528
18533
|
|
|
18529
18534
|
/**
|
|
18530
18535
|
* Component default props.
|
|
@@ -18563,23 +18568,23 @@ const ProgressTrackerStepPanel = forwardRef((props, ref) => {
|
|
|
18563
18568
|
children: (!state?.isLazy || isActive) && children
|
|
18564
18569
|
});
|
|
18565
18570
|
});
|
|
18566
|
-
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$
|
|
18567
|
-
ProgressTrackerStepPanel.className = CLASSNAME$
|
|
18571
|
+
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$w;
|
|
18572
|
+
ProgressTrackerStepPanel.className = CLASSNAME$w;
|
|
18568
18573
|
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$u;
|
|
18569
18574
|
|
|
18570
18575
|
/**
|
|
18571
18576
|
* Component display name.
|
|
18572
18577
|
*/
|
|
18573
|
-
const COMPONENT_NAME$
|
|
18578
|
+
const COMPONENT_NAME$v = 'RadioButton';
|
|
18574
18579
|
|
|
18575
18580
|
/**
|
|
18576
18581
|
* Component default class name and class prefix.
|
|
18577
18582
|
*/
|
|
18578
|
-
const CLASSNAME$
|
|
18583
|
+
const CLASSNAME$v = 'lumx-radio-button';
|
|
18579
18584
|
const {
|
|
18580
18585
|
block: block$m,
|
|
18581
18586
|
element: element$g
|
|
18582
|
-
} = bem(CLASSNAME$
|
|
18587
|
+
} = bem(CLASSNAME$v);
|
|
18583
18588
|
|
|
18584
18589
|
/**
|
|
18585
18590
|
* RadioButton component.
|
|
@@ -18722,19 +18727,19 @@ const RadioButton = forwardRef((props, ref) => {
|
|
|
18722
18727
|
inputId
|
|
18723
18728
|
});
|
|
18724
18729
|
});
|
|
18725
|
-
RadioButton.displayName = COMPONENT_NAME$
|
|
18726
|
-
RadioButton.className = CLASSNAME$
|
|
18730
|
+
RadioButton.displayName = COMPONENT_NAME$v;
|
|
18731
|
+
RadioButton.className = CLASSNAME$v;
|
|
18727
18732
|
RadioButton.defaultProps = DEFAULT_PROPS$t;
|
|
18728
18733
|
|
|
18729
18734
|
/**
|
|
18730
18735
|
* Component display name.
|
|
18731
18736
|
*/
|
|
18732
|
-
const COMPONENT_NAME$
|
|
18737
|
+
const COMPONENT_NAME$u = 'RadioGroup';
|
|
18733
18738
|
|
|
18734
18739
|
/**
|
|
18735
18740
|
* Component default class name and class prefix.
|
|
18736
18741
|
*/
|
|
18737
|
-
const CLASSNAME$
|
|
18742
|
+
const CLASSNAME$u = 'lumx-radio-group';
|
|
18738
18743
|
|
|
18739
18744
|
/**
|
|
18740
18745
|
* Component default props.
|
|
@@ -18757,12 +18762,12 @@ const RadioGroup$1 = props => {
|
|
|
18757
18762
|
return /*#__PURE__*/jsx("div", {
|
|
18758
18763
|
ref: ref,
|
|
18759
18764
|
...forwardedProps,
|
|
18760
|
-
className: classnames(className, CLASSNAME$
|
|
18765
|
+
className: classnames(className, CLASSNAME$u),
|
|
18761
18766
|
children: children
|
|
18762
18767
|
});
|
|
18763
18768
|
};
|
|
18764
|
-
RadioGroup$1.displayName = COMPONENT_NAME$
|
|
18765
|
-
RadioGroup$1.className = CLASSNAME$
|
|
18769
|
+
RadioGroup$1.displayName = COMPONENT_NAME$u;
|
|
18770
|
+
RadioGroup$1.className = CLASSNAME$u;
|
|
18766
18771
|
RadioGroup$1.defaultProps = DEFAULT_PROPS$s;
|
|
18767
18772
|
|
|
18768
18773
|
/**
|
|
@@ -18789,8 +18794,8 @@ const RadioGroup = forwardRef((props, ref) => {
|
|
|
18789
18794
|
...forwardedProps
|
|
18790
18795
|
});
|
|
18791
18796
|
});
|
|
18792
|
-
RadioGroup.displayName = COMPONENT_NAME$
|
|
18793
|
-
RadioGroup.className = CLASSNAME$
|
|
18797
|
+
RadioGroup.displayName = COMPONENT_NAME$u;
|
|
18798
|
+
RadioGroup.className = CLASSNAME$u;
|
|
18794
18799
|
|
|
18795
18800
|
/**
|
|
18796
18801
|
* Listen on element focus to store the focus status.
|
|
@@ -18817,11 +18822,11 @@ function useListenFocus(ref) {
|
|
|
18817
18822
|
}
|
|
18818
18823
|
|
|
18819
18824
|
/** The default class name and classes prefix for this component. */
|
|
18820
|
-
const CLASSNAME$
|
|
18825
|
+
const CLASSNAME$t = 'lumx-select';
|
|
18821
18826
|
const {
|
|
18822
18827
|
block: block$l,
|
|
18823
18828
|
element: element$f
|
|
18824
|
-
} = classNames.bem(CLASSNAME$
|
|
18829
|
+
} = classNames.bem(CLASSNAME$t);
|
|
18825
18830
|
const WithSelectContext = (SelectElement, props, ref) => {
|
|
18826
18831
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
18827
18832
|
const {
|
|
@@ -18937,14 +18942,14 @@ const SelectVariant = {
|
|
|
18937
18942
|
};
|
|
18938
18943
|
|
|
18939
18944
|
/** The display name of the component. */
|
|
18940
|
-
const COMPONENT_NAME$
|
|
18945
|
+
const COMPONENT_NAME$t = 'Select';
|
|
18941
18946
|
|
|
18942
18947
|
/** The default class name and classes prefix for this component. */
|
|
18943
|
-
const CLASSNAME$
|
|
18948
|
+
const CLASSNAME$s = 'lumx-select';
|
|
18944
18949
|
const {
|
|
18945
18950
|
block: block$k,
|
|
18946
18951
|
element: element$e
|
|
18947
|
-
} = classNames.bem(CLASSNAME$
|
|
18952
|
+
} = classNames.bem(CLASSNAME$s);
|
|
18948
18953
|
|
|
18949
18954
|
/** The default value of props. */
|
|
18950
18955
|
const DEFAULT_PROPS$r = {
|
|
@@ -19081,20 +19086,20 @@ const Select = forwardRef((props, ref) => {
|
|
|
19081
19086
|
isEmpty: isEmpty$1
|
|
19082
19087
|
}, ref);
|
|
19083
19088
|
});
|
|
19084
|
-
Select.displayName = COMPONENT_NAME$
|
|
19085
|
-
Select.className = CLASSNAME$
|
|
19089
|
+
Select.displayName = COMPONENT_NAME$t;
|
|
19090
|
+
Select.className = CLASSNAME$s;
|
|
19086
19091
|
Select.defaultProps = DEFAULT_PROPS$r;
|
|
19087
|
-
Select.className = CLASSNAME$
|
|
19092
|
+
Select.className = CLASSNAME$s;
|
|
19088
19093
|
|
|
19089
19094
|
/** The display name of the component. */
|
|
19090
|
-
const COMPONENT_NAME$
|
|
19095
|
+
const COMPONENT_NAME$s = 'Select';
|
|
19091
19096
|
|
|
19092
19097
|
/** The default class name and classes prefix for this component. */
|
|
19093
|
-
const CLASSNAME$
|
|
19098
|
+
const CLASSNAME$r = 'lumx-select';
|
|
19094
19099
|
const {
|
|
19095
19100
|
block: block$j,
|
|
19096
19101
|
element: element$d
|
|
19097
|
-
} = classNames.bem(CLASSNAME$
|
|
19102
|
+
} = classNames.bem(CLASSNAME$r);
|
|
19098
19103
|
|
|
19099
19104
|
/** The default value of props. */
|
|
19100
19105
|
const DEFAULT_PROPS$q = {
|
|
@@ -19178,13 +19183,13 @@ const SelectMultipleField = props => {
|
|
|
19178
19183
|
children: placeholder
|
|
19179
19184
|
})
|
|
19180
19185
|
}), (isValid || hasError) && /*#__PURE__*/jsx("div", {
|
|
19181
|
-
className: `${CLASSNAME$
|
|
19186
|
+
className: `${CLASSNAME$r}__input-validity`,
|
|
19182
19187
|
children: /*#__PURE__*/jsx(Icon, {
|
|
19183
19188
|
icon: isValid ? mdiCheckCircle : mdiAlertCircle,
|
|
19184
19189
|
size: Size$1.xxs
|
|
19185
19190
|
})
|
|
19186
19191
|
}), /*#__PURE__*/jsx("div", {
|
|
19187
|
-
className: `${CLASSNAME$
|
|
19192
|
+
className: `${CLASSNAME$r}__input-indicator`,
|
|
19188
19193
|
children: /*#__PURE__*/jsx(Icon, {
|
|
19189
19194
|
icon: mdiMenuDown,
|
|
19190
19195
|
size: Size$1.s
|
|
@@ -19235,8 +19240,8 @@ const SelectMultiple = forwardRef((props, ref) => {
|
|
|
19235
19240
|
isMultiple: true
|
|
19236
19241
|
}, ref);
|
|
19237
19242
|
});
|
|
19238
|
-
SelectMultiple.displayName = COMPONENT_NAME$
|
|
19239
|
-
SelectMultiple.className = CLASSNAME$
|
|
19243
|
+
SelectMultiple.displayName = COMPONENT_NAME$s;
|
|
19244
|
+
SelectMultiple.className = CLASSNAME$r;
|
|
19240
19245
|
SelectMultiple.defaultProps = DEFAULT_PROPS$q;
|
|
19241
19246
|
|
|
19242
19247
|
/**
|
|
@@ -19388,12 +19393,12 @@ function renderSelectOptions(props, components) {
|
|
|
19388
19393
|
/**
|
|
19389
19394
|
* Component display name.
|
|
19390
19395
|
*/
|
|
19391
|
-
const COMPONENT_NAME$
|
|
19396
|
+
const COMPONENT_NAME$r = 'SelectButton';
|
|
19392
19397
|
|
|
19393
19398
|
/**
|
|
19394
19399
|
* Component default class name.
|
|
19395
19400
|
*/
|
|
19396
|
-
const CLASSNAME$
|
|
19401
|
+
const CLASSNAME$q = 'lumx-select-button';
|
|
19397
19402
|
|
|
19398
19403
|
/**
|
|
19399
19404
|
* Component default props.
|
|
@@ -19497,8 +19502,8 @@ const SelectButton$2 = (props, {
|
|
|
19497
19502
|
})]
|
|
19498
19503
|
});
|
|
19499
19504
|
};
|
|
19500
|
-
SelectButton$2.displayName = COMPONENT_NAME$
|
|
19501
|
-
SelectButton$2.className = CLASSNAME$
|
|
19505
|
+
SelectButton$2.displayName = COMPONENT_NAME$r;
|
|
19506
|
+
SelectButton$2.className = CLASSNAME$q;
|
|
19502
19507
|
|
|
19503
19508
|
/**
|
|
19504
19509
|
* Adapts a React `renderOption` callback returning a `<Combobox.Option>` into the
|
|
@@ -19631,7 +19636,7 @@ const SelectButton$1 = React__default.forwardRef((props, ref) => {
|
|
|
19631
19636
|
// sentinel is trivially always "intersecting" its non-clipping `<ul>` parent.
|
|
19632
19637
|
const [scrollContainer, setScrollContainer] = useState(null);
|
|
19633
19638
|
const setListElement = useCallback(listElement => {
|
|
19634
|
-
setScrollContainer(listElement?.closest(`.${CLASSNAME$
|
|
19639
|
+
setScrollContainer(listElement?.closest(`.${CLASSNAME$16}`) ?? null);
|
|
19635
19640
|
}, []);
|
|
19636
19641
|
const isMultiple = selectionType === 'multiple';
|
|
19637
19642
|
|
|
@@ -19694,15 +19699,15 @@ const SelectButton = Object.assign(SelectButton$1, {
|
|
|
19694
19699
|
/**
|
|
19695
19700
|
* Component display name.
|
|
19696
19701
|
*/
|
|
19697
|
-
const COMPONENT_NAME$
|
|
19702
|
+
const COMPONENT_NAME$q = 'SelectTextField';
|
|
19698
19703
|
|
|
19699
19704
|
/**
|
|
19700
19705
|
* Component default class name.
|
|
19701
19706
|
*/
|
|
19702
|
-
const CLASSNAME$
|
|
19707
|
+
const CLASSNAME$p = 'lumx-select-text-field';
|
|
19703
19708
|
const {
|
|
19704
19709
|
element: element$c
|
|
19705
|
-
} = bem(CLASSNAME$
|
|
19710
|
+
} = bem(CLASSNAME$p);
|
|
19706
19711
|
|
|
19707
19712
|
/**
|
|
19708
19713
|
* SelectTextField core template.
|
|
@@ -19820,8 +19825,8 @@ const SelectTextField$2 = (props, {
|
|
|
19820
19825
|
})]
|
|
19821
19826
|
});
|
|
19822
19827
|
};
|
|
19823
|
-
SelectTextField$2.displayName = COMPONENT_NAME$
|
|
19824
|
-
SelectTextField$2.className = CLASSNAME$
|
|
19828
|
+
SelectTextField$2.displayName = COMPONENT_NAME$q;
|
|
19829
|
+
SelectTextField$2.className = CLASSNAME$p;
|
|
19825
19830
|
|
|
19826
19831
|
/**
|
|
19827
19832
|
* A text field with a select dropdown to choose between a list of options.
|
|
@@ -19902,7 +19907,7 @@ const SelectTextField$1 = props => {
|
|
|
19902
19907
|
// sentinel is trivially always "intersecting" its non-clipping `<ul>` parent.
|
|
19903
19908
|
const [scrollContainer, setScrollContainer] = useState(null);
|
|
19904
19909
|
const setListElement = useCallback(listElement => {
|
|
19905
|
-
setScrollContainer(listElement?.closest(`.${CLASSNAME$
|
|
19910
|
+
setScrollContainer(listElement?.closest(`.${CLASSNAME$16}`) ?? null);
|
|
19906
19911
|
}, []);
|
|
19907
19912
|
const localInputRef = useRef(null);
|
|
19908
19913
|
const mergedInputRef = useMergeRefs(localInputRef, externalInputRef);
|
|
@@ -20084,12 +20089,12 @@ const SelectTextField = Object.assign(SelectTextField$1, {
|
|
|
20084
20089
|
/**
|
|
20085
20090
|
* Component display name.
|
|
20086
20091
|
*/
|
|
20087
|
-
const COMPONENT_NAME$
|
|
20092
|
+
const COMPONENT_NAME$p = 'SideNavigation';
|
|
20088
20093
|
|
|
20089
20094
|
/**
|
|
20090
20095
|
* Component default class name and class prefix.
|
|
20091
20096
|
*/
|
|
20092
|
-
const CLASSNAME$
|
|
20097
|
+
const CLASSNAME$o = 'lumx-side-navigation';
|
|
20093
20098
|
|
|
20094
20099
|
/**
|
|
20095
20100
|
* SideNavigation component.
|
|
@@ -20109,26 +20114,26 @@ const SideNavigation = forwardRef((props, ref) => {
|
|
|
20109
20114
|
return /*#__PURE__*/jsx("ul", {
|
|
20110
20115
|
ref: ref,
|
|
20111
20116
|
...forwardedProps,
|
|
20112
|
-
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),
|
|
20113
20118
|
children: children
|
|
20114
20119
|
});
|
|
20115
20120
|
});
|
|
20116
|
-
SideNavigation.displayName = COMPONENT_NAME$
|
|
20117
|
-
SideNavigation.className = CLASSNAME$
|
|
20121
|
+
SideNavigation.displayName = COMPONENT_NAME$p;
|
|
20122
|
+
SideNavigation.className = CLASSNAME$o;
|
|
20118
20123
|
|
|
20119
20124
|
/**
|
|
20120
20125
|
* Component display name.
|
|
20121
20126
|
*/
|
|
20122
|
-
const COMPONENT_NAME$
|
|
20127
|
+
const COMPONENT_NAME$o = 'SideNavigationItem';
|
|
20123
20128
|
|
|
20124
20129
|
/**
|
|
20125
20130
|
* Component default class name and class prefix.
|
|
20126
20131
|
*/
|
|
20127
|
-
const CLASSNAME$
|
|
20132
|
+
const CLASSNAME$n = 'lumx-side-navigation-item';
|
|
20128
20133
|
const {
|
|
20129
20134
|
block: block$i,
|
|
20130
20135
|
element: element$b
|
|
20131
|
-
} = classNames.bem(CLASSNAME$
|
|
20136
|
+
} = classNames.bem(CLASSNAME$n);
|
|
20132
20137
|
|
|
20133
20138
|
/**
|
|
20134
20139
|
* Component default props.
|
|
@@ -20239,22 +20244,22 @@ const SideNavigationItem = forwardRef((props, ref) => {
|
|
|
20239
20244
|
})]
|
|
20240
20245
|
});
|
|
20241
20246
|
});
|
|
20242
|
-
SideNavigationItem.displayName = COMPONENT_NAME$
|
|
20243
|
-
SideNavigationItem.className = CLASSNAME$
|
|
20247
|
+
SideNavigationItem.displayName = COMPONENT_NAME$o;
|
|
20248
|
+
SideNavigationItem.className = CLASSNAME$n;
|
|
20244
20249
|
SideNavigationItem.defaultProps = DEFAULT_PROPS$o;
|
|
20245
20250
|
|
|
20246
20251
|
/**
|
|
20247
20252
|
* Component display name.
|
|
20248
20253
|
*/
|
|
20249
|
-
const COMPONENT_NAME$
|
|
20254
|
+
const COMPONENT_NAME$n = 'SkeletonCircle';
|
|
20250
20255
|
|
|
20251
20256
|
/**
|
|
20252
20257
|
* Component default class name and class prefix.
|
|
20253
20258
|
*/
|
|
20254
|
-
const CLASSNAME$
|
|
20259
|
+
const CLASSNAME$m = 'lumx-skeleton-circle';
|
|
20255
20260
|
const {
|
|
20256
20261
|
block: block$h
|
|
20257
|
-
} = bem(CLASSNAME$
|
|
20262
|
+
} = bem(CLASSNAME$m);
|
|
20258
20263
|
|
|
20259
20264
|
/**
|
|
20260
20265
|
* SkeletonCircle component.
|
|
@@ -20298,16 +20303,16 @@ const SkeletonRectangleVariant = {
|
|
|
20298
20303
|
/**
|
|
20299
20304
|
* Component display name.
|
|
20300
20305
|
*/
|
|
20301
|
-
const COMPONENT_NAME$
|
|
20306
|
+
const COMPONENT_NAME$m = 'SkeletonRectangle';
|
|
20302
20307
|
|
|
20303
20308
|
/**
|
|
20304
20309
|
* Component default class name and class prefix.
|
|
20305
20310
|
*/
|
|
20306
|
-
const CLASSNAME$
|
|
20311
|
+
const CLASSNAME$l = 'lumx-skeleton-rectangle';
|
|
20307
20312
|
const {
|
|
20308
20313
|
block: block$g,
|
|
20309
20314
|
element: element$a
|
|
20310
|
-
} = bem(CLASSNAME$
|
|
20315
|
+
} = bem(CLASSNAME$l);
|
|
20311
20316
|
|
|
20312
20317
|
/**
|
|
20313
20318
|
* Component default props.
|
|
@@ -20382,9 +20387,9 @@ const SkeletonCircle = forwardRef((props, ref) => {
|
|
|
20382
20387
|
...forwardedProps
|
|
20383
20388
|
});
|
|
20384
20389
|
});
|
|
20385
|
-
SkeletonCircle.displayName = COMPONENT_NAME$
|
|
20390
|
+
SkeletonCircle.displayName = COMPONENT_NAME$n;
|
|
20386
20391
|
SkeletonCircle.defaultProps = DEFAULT_PROPS$m;
|
|
20387
|
-
SkeletonCircle.className = CLASSNAME$
|
|
20392
|
+
SkeletonCircle.className = CLASSNAME$m;
|
|
20388
20393
|
|
|
20389
20394
|
/**
|
|
20390
20395
|
* Defines the props of the component.
|
|
@@ -20423,8 +20428,8 @@ const SkeletonRectangle = forwardRef((props, ref) => {
|
|
|
20423
20428
|
...forwardedProps
|
|
20424
20429
|
});
|
|
20425
20430
|
});
|
|
20426
|
-
SkeletonRectangle.displayName = COMPONENT_NAME$
|
|
20427
|
-
SkeletonRectangle.className = CLASSNAME$
|
|
20431
|
+
SkeletonRectangle.displayName = COMPONENT_NAME$m;
|
|
20432
|
+
SkeletonRectangle.className = CLASSNAME$l;
|
|
20428
20433
|
SkeletonRectangle.defaultProps = DEFAULT_PROPS$l;
|
|
20429
20434
|
|
|
20430
20435
|
/**
|
|
@@ -20460,9 +20465,9 @@ const SkeletonTypography = forwardRef((props, ref) => {
|
|
|
20460
20465
|
...forwardedProps
|
|
20461
20466
|
});
|
|
20462
20467
|
});
|
|
20463
|
-
SkeletonTypography.displayName = COMPONENT_NAME$
|
|
20468
|
+
SkeletonTypography.displayName = COMPONENT_NAME$1i;
|
|
20464
20469
|
SkeletonTypography.defaultProps = DEFAULT_PROPS$k;
|
|
20465
|
-
SkeletonTypography.className = CLASSNAME$
|
|
20470
|
+
SkeletonTypography.className = CLASSNAME$1g;
|
|
20466
20471
|
|
|
20467
20472
|
/**
|
|
20468
20473
|
* Clamp value in range.
|
|
@@ -20486,16 +20491,16 @@ const clamp = (value, min, max) => {
|
|
|
20486
20491
|
/**
|
|
20487
20492
|
* Component display name.
|
|
20488
20493
|
*/
|
|
20489
|
-
const COMPONENT_NAME$
|
|
20494
|
+
const COMPONENT_NAME$l = 'Slider';
|
|
20490
20495
|
|
|
20491
20496
|
/**
|
|
20492
20497
|
* Component default class name and class prefix.
|
|
20493
20498
|
*/
|
|
20494
|
-
const CLASSNAME$
|
|
20499
|
+
const CLASSNAME$k = 'lumx-slider';
|
|
20495
20500
|
const {
|
|
20496
20501
|
block: block$f,
|
|
20497
20502
|
element: element$9
|
|
20498
|
-
} = classNames.bem(CLASSNAME$
|
|
20503
|
+
} = classNames.bem(CLASSNAME$k);
|
|
20499
20504
|
|
|
20500
20505
|
/**
|
|
20501
20506
|
* Component default props.
|
|
@@ -20798,8 +20803,8 @@ const Slider = forwardRef((props, ref) => {
|
|
|
20798
20803
|
})]
|
|
20799
20804
|
});
|
|
20800
20805
|
});
|
|
20801
|
-
Slider.displayName = COMPONENT_NAME$
|
|
20802
|
-
Slider.className = CLASSNAME$
|
|
20806
|
+
Slider.displayName = COMPONENT_NAME$l;
|
|
20807
|
+
Slider.className = CLASSNAME$k;
|
|
20803
20808
|
Slider.defaultProps = DEFAULT_PROPS$j;
|
|
20804
20809
|
|
|
20805
20810
|
/**
|
|
@@ -21133,12 +21138,12 @@ const useSlideFocusManagement = ({
|
|
|
21133
21138
|
/**
|
|
21134
21139
|
* Component display name.
|
|
21135
21140
|
*/
|
|
21136
|
-
const COMPONENT_NAME$
|
|
21141
|
+
const COMPONENT_NAME$k = 'SlideshowItemGroup';
|
|
21137
21142
|
|
|
21138
21143
|
/**
|
|
21139
21144
|
* Component default class name and class prefix.
|
|
21140
21145
|
*/
|
|
21141
|
-
const CLASSNAME$
|
|
21146
|
+
const CLASSNAME$j = 'lumx-slideshow-item-group';
|
|
21142
21147
|
const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
|
|
21143
21148
|
|
|
21144
21149
|
/**
|
|
@@ -21166,15 +21171,15 @@ const SlideshowItemGroup = forwardRef((props, ref) => {
|
|
|
21166
21171
|
return /*#__PURE__*/jsx("div", {
|
|
21167
21172
|
ref: mergeRefs(groupRef, ref),
|
|
21168
21173
|
role: role,
|
|
21169
|
-
className: classNames.join(className, CLASSNAME$
|
|
21174
|
+
className: classNames.join(className, CLASSNAME$j),
|
|
21170
21175
|
"aria-roledescription": ariaRoleDescription ?? 'slide',
|
|
21171
21176
|
"aria-label": label,
|
|
21172
21177
|
...forwardedProps,
|
|
21173
21178
|
children: children
|
|
21174
21179
|
});
|
|
21175
21180
|
});
|
|
21176
|
-
SlideshowItemGroup.displayName = COMPONENT_NAME$
|
|
21177
|
-
SlideshowItemGroup.className = CLASSNAME$
|
|
21181
|
+
SlideshowItemGroup.displayName = COMPONENT_NAME$k;
|
|
21182
|
+
SlideshowItemGroup.className = CLASSNAME$j;
|
|
21178
21183
|
|
|
21179
21184
|
/**
|
|
21180
21185
|
* Component default props.
|
|
@@ -21306,12 +21311,12 @@ Slideshow.defaultProps = DEFAULT_PROPS$i;
|
|
|
21306
21311
|
/**
|
|
21307
21312
|
* Component display name.
|
|
21308
21313
|
*/
|
|
21309
|
-
const COMPONENT_NAME$
|
|
21314
|
+
const COMPONENT_NAME$j = 'SlideshowItem';
|
|
21310
21315
|
|
|
21311
21316
|
/**
|
|
21312
21317
|
* Component default class name and class prefix.
|
|
21313
21318
|
*/
|
|
21314
|
-
const CLASSNAME$
|
|
21319
|
+
const CLASSNAME$i = 'lumx-slideshow-item';
|
|
21315
21320
|
|
|
21316
21321
|
/**
|
|
21317
21322
|
* SlideshowItem component.
|
|
@@ -21328,13 +21333,13 @@ const SlideshowItem = forwardRef((props, ref) => {
|
|
|
21328
21333
|
} = props;
|
|
21329
21334
|
return /*#__PURE__*/jsx("div", {
|
|
21330
21335
|
ref: ref,
|
|
21331
|
-
className: classNames.join(className, CLASSNAME$
|
|
21336
|
+
className: classNames.join(className, CLASSNAME$i),
|
|
21332
21337
|
...forwardedProps,
|
|
21333
21338
|
children: children
|
|
21334
21339
|
});
|
|
21335
21340
|
});
|
|
21336
|
-
SlideshowItem.displayName = COMPONENT_NAME$
|
|
21337
|
-
SlideshowItem.className = CLASSNAME$
|
|
21341
|
+
SlideshowItem.displayName = COMPONENT_NAME$j;
|
|
21342
|
+
SlideshowItem.className = CLASSNAME$i;
|
|
21338
21343
|
|
|
21339
21344
|
const isTouchDevice = () => 'ontouchstart' in window;
|
|
21340
21345
|
|
|
@@ -21396,16 +21401,16 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
|
|
|
21396
21401
|
/**
|
|
21397
21402
|
* Component display name.
|
|
21398
21403
|
*/
|
|
21399
|
-
const COMPONENT_NAME$
|
|
21404
|
+
const COMPONENT_NAME$i = 'SlideshowControls';
|
|
21400
21405
|
|
|
21401
21406
|
/**
|
|
21402
21407
|
* Component default class name and class prefix.
|
|
21403
21408
|
*/
|
|
21404
|
-
const CLASSNAME$
|
|
21409
|
+
const CLASSNAME$h = 'lumx-slideshow-controls';
|
|
21405
21410
|
const {
|
|
21406
21411
|
block: block$e,
|
|
21407
21412
|
element: element$8
|
|
21408
|
-
} = classNames.bem(CLASSNAME$
|
|
21413
|
+
} = classNames.bem(CLASSNAME$h);
|
|
21409
21414
|
|
|
21410
21415
|
/**
|
|
21411
21416
|
* Component default props.
|
|
@@ -21536,8 +21541,8 @@ const InternalSlideshowControls = forwardRef((props, ref) => {
|
|
|
21536
21541
|
})]
|
|
21537
21542
|
});
|
|
21538
21543
|
});
|
|
21539
|
-
InternalSlideshowControls.displayName = COMPONENT_NAME$
|
|
21540
|
-
InternalSlideshowControls.className = CLASSNAME$
|
|
21544
|
+
InternalSlideshowControls.displayName = COMPONENT_NAME$i;
|
|
21545
|
+
InternalSlideshowControls.className = CLASSNAME$h;
|
|
21541
21546
|
InternalSlideshowControls.defaultProps = DEFAULT_PROPS$h;
|
|
21542
21547
|
const SlideshowControls = Object.assign(InternalSlideshowControls, {
|
|
21543
21548
|
useSlideshowControls,
|
|
@@ -21656,16 +21661,16 @@ const useSlideScroll = ({
|
|
|
21656
21661
|
/**
|
|
21657
21662
|
* Component display name.
|
|
21658
21663
|
*/
|
|
21659
|
-
const COMPONENT_NAME$
|
|
21664
|
+
const COMPONENT_NAME$h = 'Slideshow';
|
|
21660
21665
|
|
|
21661
21666
|
/**
|
|
21662
21667
|
* Component default class name and class prefix.
|
|
21663
21668
|
*/
|
|
21664
|
-
const CLASSNAME$
|
|
21669
|
+
const CLASSNAME$g = 'lumx-slideshow';
|
|
21665
21670
|
const {
|
|
21666
21671
|
block: block$d,
|
|
21667
21672
|
element: element$7
|
|
21668
|
-
} = classNames.bem(CLASSNAME$
|
|
21673
|
+
} = classNames.bem(CLASSNAME$g);
|
|
21669
21674
|
|
|
21670
21675
|
/**
|
|
21671
21676
|
* Component default props.
|
|
@@ -21767,22 +21772,22 @@ const Slides = forwardRef((props, ref) => {
|
|
|
21767
21772
|
}), afterSlides]
|
|
21768
21773
|
});
|
|
21769
21774
|
});
|
|
21770
|
-
Slides.displayName = COMPONENT_NAME$
|
|
21771
|
-
Slides.className = CLASSNAME$
|
|
21775
|
+
Slides.displayName = COMPONENT_NAME$h;
|
|
21776
|
+
Slides.className = CLASSNAME$g;
|
|
21772
21777
|
|
|
21773
21778
|
/**
|
|
21774
21779
|
* Component display name.
|
|
21775
21780
|
*/
|
|
21776
|
-
const COMPONENT_NAME$
|
|
21781
|
+
const COMPONENT_NAME$g = 'Switch';
|
|
21777
21782
|
|
|
21778
21783
|
/**
|
|
21779
21784
|
* Component default class name and class prefix.
|
|
21780
21785
|
*/
|
|
21781
|
-
const CLASSNAME$
|
|
21786
|
+
const CLASSNAME$f = 'lumx-switch';
|
|
21782
21787
|
const {
|
|
21783
21788
|
block: block$c,
|
|
21784
21789
|
element: element$6
|
|
21785
|
-
} = bem(CLASSNAME$
|
|
21790
|
+
} = bem(CLASSNAME$f);
|
|
21786
21791
|
|
|
21787
21792
|
/**
|
|
21788
21793
|
* Component default props.
|
|
@@ -21941,23 +21946,23 @@ const Switch = forwardRef((props, ref) => {
|
|
|
21941
21946
|
inputId
|
|
21942
21947
|
});
|
|
21943
21948
|
});
|
|
21944
|
-
Switch.displayName = COMPONENT_NAME$
|
|
21945
|
-
Switch.className = CLASSNAME$
|
|
21949
|
+
Switch.displayName = COMPONENT_NAME$g;
|
|
21950
|
+
Switch.className = CLASSNAME$f;
|
|
21946
21951
|
Switch.defaultProps = DEFAULT_PROPS$e;
|
|
21947
21952
|
|
|
21948
21953
|
/**
|
|
21949
21954
|
* Component display name.
|
|
21950
21955
|
*/
|
|
21951
|
-
const COMPONENT_NAME$
|
|
21956
|
+
const COMPONENT_NAME$f = 'Table';
|
|
21952
21957
|
|
|
21953
21958
|
/**
|
|
21954
21959
|
* Component default class name and class prefix.
|
|
21955
21960
|
*/
|
|
21956
|
-
const CLASSNAME$
|
|
21961
|
+
const CLASSNAME$e = 'lumx-table';
|
|
21957
21962
|
|
|
21958
21963
|
const {
|
|
21959
21964
|
block: block$b
|
|
21960
|
-
} = bem(CLASSNAME$
|
|
21965
|
+
} = bem(CLASSNAME$e);
|
|
21961
21966
|
|
|
21962
21967
|
/**
|
|
21963
21968
|
* Defines the props of the component.
|
|
@@ -22021,19 +22026,19 @@ const Table = forwardRef((props, ref) => {
|
|
|
22021
22026
|
...otherProps
|
|
22022
22027
|
});
|
|
22023
22028
|
});
|
|
22024
|
-
Table.displayName = COMPONENT_NAME$
|
|
22025
|
-
Table.className = CLASSNAME$
|
|
22029
|
+
Table.displayName = COMPONENT_NAME$f;
|
|
22030
|
+
Table.className = CLASSNAME$e;
|
|
22026
22031
|
Table.defaultProps = DEFAULT_PROPS$d;
|
|
22027
22032
|
|
|
22028
22033
|
/**
|
|
22029
22034
|
* Component display name.
|
|
22030
22035
|
*/
|
|
22031
|
-
const COMPONENT_NAME$
|
|
22036
|
+
const COMPONENT_NAME$e = 'TableBody';
|
|
22032
22037
|
|
|
22033
22038
|
/**
|
|
22034
22039
|
* Component default class name and class prefix.
|
|
22035
22040
|
*/
|
|
22036
|
-
const CLASSNAME$
|
|
22041
|
+
const CLASSNAME$d = `${CLASSNAME$e}__body`;
|
|
22037
22042
|
|
|
22038
22043
|
/**
|
|
22039
22044
|
* TableBody component.
|
|
@@ -22051,7 +22056,7 @@ const TableBody$1 = props => {
|
|
|
22051
22056
|
return /*#__PURE__*/jsx("tbody", {
|
|
22052
22057
|
ref: ref,
|
|
22053
22058
|
...forwardedProps,
|
|
22054
|
-
className: classnames(className, CLASSNAME$
|
|
22059
|
+
className: classnames(className, CLASSNAME$d),
|
|
22055
22060
|
children: children
|
|
22056
22061
|
});
|
|
22057
22062
|
};
|
|
@@ -22078,8 +22083,8 @@ const TableBody = forwardRef((props, ref) => {
|
|
|
22078
22083
|
...otherProps
|
|
22079
22084
|
});
|
|
22080
22085
|
});
|
|
22081
|
-
TableBody.displayName = COMPONENT_NAME$
|
|
22082
|
-
TableBody.className = CLASSNAME$
|
|
22086
|
+
TableBody.displayName = COMPONENT_NAME$e;
|
|
22087
|
+
TableBody.className = CLASSNAME$d;
|
|
22083
22088
|
|
|
22084
22089
|
const ThOrder = {
|
|
22085
22090
|
asc: 'asc',
|
|
@@ -22100,15 +22105,15 @@ const TableCellVariant = {
|
|
|
22100
22105
|
/**
|
|
22101
22106
|
* Component display name.
|
|
22102
22107
|
*/
|
|
22103
|
-
const COMPONENT_NAME$
|
|
22108
|
+
const COMPONENT_NAME$d = 'TableCell';
|
|
22104
22109
|
|
|
22105
22110
|
/**
|
|
22106
22111
|
* Component default class name and class prefix.
|
|
22107
22112
|
*/
|
|
22108
|
-
const CLASSNAME$
|
|
22113
|
+
const CLASSNAME$c = `${CLASSNAME$e}__cell`;
|
|
22109
22114
|
const {
|
|
22110
22115
|
block: block$a
|
|
22111
|
-
} = bem(CLASSNAME$
|
|
22116
|
+
} = bem(CLASSNAME$c);
|
|
22112
22117
|
|
|
22113
22118
|
/**
|
|
22114
22119
|
* Component default props.
|
|
@@ -22161,22 +22166,22 @@ const TableCell$1 = props => {
|
|
|
22161
22166
|
})),
|
|
22162
22167
|
"aria-sort": ariaSort,
|
|
22163
22168
|
children: /*#__PURE__*/jsxs(Wrapper, {
|
|
22164
|
-
className: `${CLASSNAME$
|
|
22169
|
+
className: `${CLASSNAME$c}-wrapper`,
|
|
22165
22170
|
...wrapperProps,
|
|
22166
22171
|
children: [icon && !isSortable && Icon$1({
|
|
22167
|
-
className: `${CLASSNAME$
|
|
22172
|
+
className: `${CLASSNAME$c}-icon`,
|
|
22168
22173
|
icon,
|
|
22169
22174
|
size: Size.xxs
|
|
22170
22175
|
}), isSortable && sortOrder === ThOrder.asc && Icon$1({
|
|
22171
|
-
className: `${CLASSNAME$
|
|
22176
|
+
className: `${CLASSNAME$c}-icon`,
|
|
22172
22177
|
icon: mdiArrowUp,
|
|
22173
22178
|
size: Size.xxs
|
|
22174
22179
|
}), isSortable && sortOrder === ThOrder.desc && Icon$1({
|
|
22175
|
-
className: `${CLASSNAME$
|
|
22180
|
+
className: `${CLASSNAME$c}-icon`,
|
|
22176
22181
|
icon: mdiArrowDown,
|
|
22177
22182
|
size: Size.xxs
|
|
22178
22183
|
}), /*#__PURE__*/jsx("div", {
|
|
22179
|
-
className: `${CLASSNAME$
|
|
22184
|
+
className: `${CLASSNAME$c}-content`,
|
|
22180
22185
|
children: children
|
|
22181
22186
|
})]
|
|
22182
22187
|
})
|
|
@@ -22187,7 +22192,7 @@ const TableCell$1 = props => {
|
|
|
22187
22192
|
body: true
|
|
22188
22193
|
})),
|
|
22189
22194
|
children: /*#__PURE__*/jsx("div", {
|
|
22190
|
-
className: `${CLASSNAME$
|
|
22195
|
+
className: `${CLASSNAME$c}-content`,
|
|
22191
22196
|
children: children
|
|
22192
22197
|
})
|
|
22193
22198
|
})]
|
|
@@ -22216,19 +22221,19 @@ const TableCell = forwardRef((props, ref) => {
|
|
|
22216
22221
|
handleClick: onHeaderClick
|
|
22217
22222
|
});
|
|
22218
22223
|
});
|
|
22219
|
-
TableCell.displayName = COMPONENT_NAME$
|
|
22220
|
-
TableCell.className = CLASSNAME$
|
|
22224
|
+
TableCell.displayName = COMPONENT_NAME$d;
|
|
22225
|
+
TableCell.className = CLASSNAME$c;
|
|
22221
22226
|
TableCell.defaultProps = DEFAULT_PROPS$c;
|
|
22222
22227
|
|
|
22223
22228
|
/**
|
|
22224
22229
|
* Component display name.
|
|
22225
22230
|
*/
|
|
22226
|
-
const COMPONENT_NAME$
|
|
22231
|
+
const COMPONENT_NAME$c = 'TableHeader';
|
|
22227
22232
|
|
|
22228
22233
|
/**
|
|
22229
22234
|
* Component default class name and class prefix.
|
|
22230
22235
|
*/
|
|
22231
|
-
const CLASSNAME$
|
|
22236
|
+
const CLASSNAME$b = `${CLASSNAME$e}__header`;
|
|
22232
22237
|
|
|
22233
22238
|
/**
|
|
22234
22239
|
* Component default props.
|
|
@@ -22251,7 +22256,7 @@ const TableHeader$1 = props => {
|
|
|
22251
22256
|
return /*#__PURE__*/jsx("thead", {
|
|
22252
22257
|
ref: ref,
|
|
22253
22258
|
...forwardedProps,
|
|
22254
|
-
className: classnames(className, CLASSNAME$
|
|
22259
|
+
className: classnames(className, CLASSNAME$b),
|
|
22255
22260
|
children: children
|
|
22256
22261
|
});
|
|
22257
22262
|
};
|
|
@@ -22278,22 +22283,22 @@ const TableHeader = forwardRef((props, ref) => {
|
|
|
22278
22283
|
...otherProps
|
|
22279
22284
|
});
|
|
22280
22285
|
});
|
|
22281
|
-
TableHeader.displayName = COMPONENT_NAME$
|
|
22282
|
-
TableHeader.className = CLASSNAME$
|
|
22286
|
+
TableHeader.displayName = COMPONENT_NAME$c;
|
|
22287
|
+
TableHeader.className = CLASSNAME$b;
|
|
22283
22288
|
TableHeader.defaultProps = DEFAULT_PROPS$b;
|
|
22284
22289
|
|
|
22285
22290
|
/**
|
|
22286
22291
|
* Component display name.
|
|
22287
22292
|
*/
|
|
22288
|
-
const COMPONENT_NAME$
|
|
22293
|
+
const COMPONENT_NAME$b = 'TableRow';
|
|
22289
22294
|
|
|
22290
22295
|
/**
|
|
22291
22296
|
* Component default class name and class prefix.
|
|
22292
22297
|
*/
|
|
22293
|
-
const CLASSNAME$
|
|
22298
|
+
const CLASSNAME$a = `${CLASSNAME$e}__row`;
|
|
22294
22299
|
const {
|
|
22295
22300
|
block: block$9
|
|
22296
|
-
} = bem(CLASSNAME$
|
|
22301
|
+
} = bem(CLASSNAME$a);
|
|
22297
22302
|
|
|
22298
22303
|
/**
|
|
22299
22304
|
* Component default props.
|
|
@@ -22368,8 +22373,8 @@ const TableRow = forwardRef((props, ref) => {
|
|
|
22368
22373
|
...forwardedProps
|
|
22369
22374
|
});
|
|
22370
22375
|
});
|
|
22371
|
-
TableRow.displayName = COMPONENT_NAME$
|
|
22372
|
-
TableRow.className = CLASSNAME$
|
|
22376
|
+
TableRow.displayName = COMPONENT_NAME$b;
|
|
22377
|
+
TableRow.className = CLASSNAME$a;
|
|
22373
22378
|
TableRow.defaultProps = DEFAULT_PROPS$a;
|
|
22374
22379
|
|
|
22375
22380
|
const DEFAULT_PROPS$9 = {
|
|
@@ -22456,7 +22461,7 @@ let TabListLayout = /*#__PURE__*/function (TabListLayout) {
|
|
|
22456
22461
|
/**
|
|
22457
22462
|
* Component display name.
|
|
22458
22463
|
*/
|
|
22459
|
-
const COMPONENT_NAME$
|
|
22464
|
+
const COMPONENT_NAME$a = 'TabList';
|
|
22460
22465
|
|
|
22461
22466
|
/**
|
|
22462
22467
|
* Component default props.
|
|
@@ -22538,14 +22543,14 @@ const TabList = forwardRef((props, ref) => {
|
|
|
22538
22543
|
ref: mergeRefs(ref, tabListRef)
|
|
22539
22544
|
});
|
|
22540
22545
|
});
|
|
22541
|
-
TabList.displayName = COMPONENT_NAME$
|
|
22546
|
+
TabList.displayName = COMPONENT_NAME$a;
|
|
22542
22547
|
TabList.className = TABS_CLASSNAME;
|
|
22543
22548
|
TabList.defaultProps = DEFAULT_PROPS$8;
|
|
22544
22549
|
|
|
22545
22550
|
/**
|
|
22546
22551
|
* Component display name.
|
|
22547
22552
|
*/
|
|
22548
|
-
const COMPONENT_NAME$
|
|
22553
|
+
const COMPONENT_NAME$9 = 'Tab';
|
|
22549
22554
|
|
|
22550
22555
|
/**
|
|
22551
22556
|
* Component default props.
|
|
@@ -22555,10 +22560,10 @@ const DEFAULT_PROPS$7 = {};
|
|
|
22555
22560
|
/**
|
|
22556
22561
|
* Component default class name and class prefix.
|
|
22557
22562
|
*/
|
|
22558
|
-
const CLASSNAME$
|
|
22563
|
+
const CLASSNAME$9 = `${TABS_CLASSNAME}__link`;
|
|
22559
22564
|
const {
|
|
22560
22565
|
block: block$7
|
|
22561
|
-
} = bem(CLASSNAME$
|
|
22566
|
+
} = bem(CLASSNAME$9);
|
|
22562
22567
|
|
|
22563
22568
|
/**
|
|
22564
22569
|
* Tab component. Two modes keyed on `TabProvider` presence (via the wrapper-resolved `role`):
|
|
@@ -22726,23 +22731,23 @@ const Tab = Object.assign(forwardRefPolymorphic((props, ref) => {
|
|
|
22726
22731
|
handleKeyPress: onKeyPress
|
|
22727
22732
|
});
|
|
22728
22733
|
}), {
|
|
22729
|
-
displayName: COMPONENT_NAME$
|
|
22730
|
-
className: CLASSNAME$
|
|
22734
|
+
displayName: COMPONENT_NAME$9,
|
|
22735
|
+
className: CLASSNAME$9,
|
|
22731
22736
|
defaultProps: DEFAULT_PROPS$7
|
|
22732
22737
|
});
|
|
22733
22738
|
|
|
22734
22739
|
/**
|
|
22735
22740
|
* Component display name.
|
|
22736
22741
|
*/
|
|
22737
|
-
const COMPONENT_NAME$
|
|
22742
|
+
const COMPONENT_NAME$8 = 'TabPanel';
|
|
22738
22743
|
|
|
22739
22744
|
/**
|
|
22740
22745
|
* Component default class name and class prefix.
|
|
22741
22746
|
*/
|
|
22742
|
-
const CLASSNAME$
|
|
22747
|
+
const CLASSNAME$8 = `lumx-tab-panel`;
|
|
22743
22748
|
const {
|
|
22744
22749
|
block: block$6
|
|
22745
|
-
} = bem(CLASSNAME$
|
|
22750
|
+
} = bem(CLASSNAME$8);
|
|
22746
22751
|
|
|
22747
22752
|
/**
|
|
22748
22753
|
* Component default props.
|
|
@@ -22814,8 +22819,8 @@ const TabPanel = forwardRef((props, ref) => {
|
|
|
22814
22819
|
...forwardedProps
|
|
22815
22820
|
});
|
|
22816
22821
|
});
|
|
22817
|
-
TabPanel.displayName = COMPONENT_NAME$
|
|
22818
|
-
TabPanel.className = CLASSNAME$
|
|
22822
|
+
TabPanel.displayName = COMPONENT_NAME$8;
|
|
22823
|
+
TabPanel.className = CLASSNAME$8;
|
|
22819
22824
|
TabPanel.defaultProps = DEFAULT_PROPS$6;
|
|
22820
22825
|
|
|
22821
22826
|
/**
|
|
@@ -22965,16 +22970,16 @@ function calculateFocusPointStyle({
|
|
|
22965
22970
|
/**
|
|
22966
22971
|
* Component display name.
|
|
22967
22972
|
*/
|
|
22968
|
-
const COMPONENT_NAME$
|
|
22973
|
+
const COMPONENT_NAME$7 = 'Thumbnail';
|
|
22969
22974
|
|
|
22970
22975
|
/**
|
|
22971
22976
|
* Component default class name and class prefix.
|
|
22972
22977
|
*/
|
|
22973
|
-
const CLASSNAME$
|
|
22978
|
+
const CLASSNAME$7 = 'lumx-thumbnail';
|
|
22974
22979
|
const {
|
|
22975
22980
|
block: block$5,
|
|
22976
22981
|
element: element$4
|
|
22977
|
-
} = classNames.bem(CLASSNAME$
|
|
22982
|
+
} = classNames.bem(CLASSNAME$7);
|
|
22978
22983
|
|
|
22979
22984
|
/**
|
|
22980
22985
|
* Component default props.
|
|
@@ -23255,8 +23260,8 @@ const Thumbnail = forwardRef((props, ref) => {
|
|
|
23255
23260
|
})
|
|
23256
23261
|
});
|
|
23257
23262
|
});
|
|
23258
|
-
Thumbnail.displayName = COMPONENT_NAME$
|
|
23259
|
-
Thumbnail.className = CLASSNAME$
|
|
23263
|
+
Thumbnail.displayName = COMPONENT_NAME$7;
|
|
23264
|
+
Thumbnail.className = CLASSNAME$7;
|
|
23260
23265
|
Thumbnail.defaultProps = DEFAULT_PROPS$5;
|
|
23261
23266
|
|
|
23262
23267
|
/**
|
|
@@ -23299,15 +23304,15 @@ const ThumbnailObjectFit = {
|
|
|
23299
23304
|
/**
|
|
23300
23305
|
* Component display name.
|
|
23301
23306
|
*/
|
|
23302
|
-
const COMPONENT_NAME$
|
|
23307
|
+
const COMPONENT_NAME$6 = 'TimePickerField';
|
|
23303
23308
|
|
|
23304
23309
|
/**
|
|
23305
23310
|
* Component default class name (BEM root).
|
|
23306
23311
|
*/
|
|
23307
|
-
const CLASSNAME$
|
|
23312
|
+
const CLASSNAME$6 = 'lumx-time-picker-field';
|
|
23308
23313
|
const {
|
|
23309
23314
|
block: block$4
|
|
23310
|
-
} = bem(CLASSNAME$
|
|
23315
|
+
} = bem(CLASSNAME$6);
|
|
23311
23316
|
|
|
23312
23317
|
/**
|
|
23313
23318
|
* Default values for `TimePickerFieldWrapperProps`.
|
|
@@ -23400,8 +23405,8 @@ const TimePickerField$1 = (props, {
|
|
|
23400
23405
|
translations: translations
|
|
23401
23406
|
});
|
|
23402
23407
|
};
|
|
23403
|
-
TimePickerField$1.displayName = COMPONENT_NAME$
|
|
23404
|
-
TimePickerField$1.className = CLASSNAME$
|
|
23408
|
+
TimePickerField$1.displayName = COMPONENT_NAME$6;
|
|
23409
|
+
TimePickerField$1.className = CLASSNAME$6;
|
|
23405
23410
|
|
|
23406
23411
|
/**
|
|
23407
23412
|
* Format a time-of-day as a locale-aware short time (e.g. `'10:30 AM'`,
|
|
@@ -23682,21 +23687,21 @@ const TimePickerField = props => {
|
|
|
23682
23687
|
Option: SelectTextField.Option
|
|
23683
23688
|
});
|
|
23684
23689
|
};
|
|
23685
|
-
TimePickerField.displayName = COMPONENT_NAME$
|
|
23690
|
+
TimePickerField.displayName = COMPONENT_NAME$6;
|
|
23686
23691
|
|
|
23687
23692
|
/**
|
|
23688
23693
|
* Component display name.
|
|
23689
23694
|
*/
|
|
23690
|
-
const COMPONENT_NAME$
|
|
23695
|
+
const COMPONENT_NAME$5 = 'Toolbar';
|
|
23691
23696
|
|
|
23692
23697
|
/**
|
|
23693
23698
|
* Component default class name and class prefix.
|
|
23694
23699
|
*/
|
|
23695
|
-
const CLASSNAME$
|
|
23700
|
+
const CLASSNAME$5 = 'lumx-toolbar';
|
|
23696
23701
|
const {
|
|
23697
23702
|
block: block$3,
|
|
23698
23703
|
element: element$3
|
|
23699
|
-
} = bem(CLASSNAME$
|
|
23704
|
+
} = bem(CLASSNAME$5);
|
|
23700
23705
|
|
|
23701
23706
|
/**
|
|
23702
23707
|
* Component default props.
|
|
@@ -23756,8 +23761,8 @@ const Toolbar = forwardRef((props, ref) => {
|
|
|
23756
23761
|
...props
|
|
23757
23762
|
});
|
|
23758
23763
|
});
|
|
23759
|
-
Toolbar.displayName = COMPONENT_NAME$
|
|
23760
|
-
Toolbar.className = CLASSNAME$
|
|
23764
|
+
Toolbar.displayName = COMPONENT_NAME$5;
|
|
23765
|
+
Toolbar.className = CLASSNAME$5;
|
|
23761
23766
|
Toolbar.defaultProps = DEFAULT_PROPS$3;
|
|
23762
23767
|
|
|
23763
23768
|
/**
|
|
@@ -23767,12 +23772,12 @@ Toolbar.defaultProps = DEFAULT_PROPS$3;
|
|
|
23767
23772
|
/**
|
|
23768
23773
|
* Component display name.
|
|
23769
23774
|
*/
|
|
23770
|
-
const COMPONENT_NAME$
|
|
23775
|
+
const COMPONENT_NAME$4 = 'TreeList';
|
|
23771
23776
|
|
|
23772
23777
|
/**
|
|
23773
23778
|
* Component default class name and class prefix.
|
|
23774
23779
|
*/
|
|
23775
|
-
const CLASSNAME$
|
|
23780
|
+
const CLASSNAME$4 = 'lumx-tree-list';
|
|
23776
23781
|
|
|
23777
23782
|
/**
|
|
23778
23783
|
* Component default props.
|
|
@@ -23801,7 +23806,7 @@ const TreeList$2 = props => {
|
|
|
23801
23806
|
const listProps = {
|
|
23802
23807
|
...forwardedProps,
|
|
23803
23808
|
as: 'ul',
|
|
23804
|
-
className: classnames(className, CLASSNAME$
|
|
23809
|
+
className: classnames(className, CLASSNAME$4),
|
|
23805
23810
|
itemPadding: 'big',
|
|
23806
23811
|
role: 'tree',
|
|
23807
23812
|
'aria-busy': ariaBusy || undefined,
|
|
@@ -23809,12 +23814,12 @@ const TreeList$2 = props => {
|
|
|
23809
23814
|
};
|
|
23810
23815
|
return List$1(listProps);
|
|
23811
23816
|
};
|
|
23812
|
-
TreeList$2.displayName = COMPONENT_NAME$
|
|
23813
|
-
TreeList$2.className = CLASSNAME$
|
|
23817
|
+
TreeList$2.displayName = COMPONENT_NAME$4;
|
|
23818
|
+
TreeList$2.className = CLASSNAME$4;
|
|
23814
23819
|
TreeList$2.defaultProps = DEFAULT_PROPS$2;
|
|
23815
23820
|
|
|
23816
23821
|
/** Whether an element is an item skeleton (`Combobox.OptionSkeleton`). */
|
|
23817
|
-
const isSkeletonElement = el => el.classList.contains(CLASSNAME$
|
|
23822
|
+
const isSkeletonElement = el => el.classList.contains(CLASSNAME$1f);
|
|
23818
23823
|
|
|
23819
23824
|
/*
|
|
23820
23825
|
* The DOM contract of the tree: the markup that the `TreeList` and `TreeListItem` templates render. The tree
|
|
@@ -23830,8 +23835,8 @@ const isSkeletonElement = el => el.classList.contains(CLASSNAME$1e);
|
|
|
23830
23835
|
* </button>
|
|
23831
23836
|
* <p data-tree-label> ← description (filter match text)
|
|
23832
23837
|
* </div>
|
|
23833
|
-
* <ul role="group" id="<id>-group" hidden?> ← group (parent item only): sub-item roots
|
|
23834
|
-
* </ul>
|
|
23838
|
+
* <ul role="group" id="<id>-group" hidden?> ← group (parent item only): sub-item roots
|
|
23839
|
+
* </ul> and skeletons
|
|
23835
23840
|
* </li>
|
|
23836
23841
|
* </ul>
|
|
23837
23842
|
*/
|
|
@@ -23930,7 +23935,14 @@ function writeTreeItemOpen(root, isOpen) {
|
|
|
23930
23935
|
* read (the children of the root other than the group), so the cost does not depend on the number of sub-items.
|
|
23931
23936
|
*/
|
|
23932
23937
|
function getTreeItemText(root) {
|
|
23933
|
-
|
|
23938
|
+
const texts = [];
|
|
23939
|
+
for (const child of Array.from(root.children)) {
|
|
23940
|
+
if (child.matches(GROUP_SELECTOR)) continue;
|
|
23941
|
+
for (const label of Array.from(child.querySelectorAll(`[${TREE_LABEL_ATTRIBUTE}]`))) {
|
|
23942
|
+
texts.push(label.textContent ?? '');
|
|
23943
|
+
}
|
|
23944
|
+
}
|
|
23945
|
+
return texts.join(' ');
|
|
23934
23946
|
}
|
|
23935
23947
|
|
|
23936
23948
|
/** Whether a sub-item at any depth of a tree item root is selected. */
|
|
@@ -24058,6 +24070,8 @@ const NO_FILTER_STATE = {
|
|
|
24058
24070
|
|
|
24059
24071
|
/** A registered tree item, as the registry sees it (its controller is given to the tree item component). */
|
|
24060
24072
|
|
|
24073
|
+
/** A registered section, as the registry sees it. */
|
|
24074
|
+
|
|
24061
24075
|
/**
|
|
24062
24076
|
* Set up tree list behavior (WAI-ARIA tree pattern) independent of any DOM element.
|
|
24063
24077
|
*
|
|
@@ -24077,6 +24091,8 @@ const NO_FILTER_STATE = {
|
|
|
24077
24091
|
function setupTreeList(options = {}) {
|
|
24078
24092
|
/** Tree items, keyed by their root `<li>` element. */
|
|
24079
24093
|
const registrations = new Map();
|
|
24094
|
+
/** Sections, keyed by their root `<li>` element. */
|
|
24095
|
+
const sections = new Map();
|
|
24080
24096
|
/** Number of matching tree items (auto filter only), from the last full update. */
|
|
24081
24097
|
let matchingCount = 0;
|
|
24082
24098
|
/** The filter of the last full update (to detect a clear). */
|
|
@@ -24108,6 +24124,34 @@ function setupTreeList(options = {}) {
|
|
|
24108
24124
|
return parent;
|
|
24109
24125
|
}
|
|
24110
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
|
+
|
|
24111
24155
|
/**
|
|
24112
24156
|
* Compute the filter state of every tree item (from the DOM nesting and the filter) and notify the
|
|
24113
24157
|
* changed ones. Auto filter: a tree item is visible when it is a matching item, when a tree item below
|
|
@@ -24124,7 +24168,10 @@ function setupTreeList(options = {}) {
|
|
|
24124
24168
|
// A new filter before the restore frame: the restore is not needed.
|
|
24125
24169
|
if (filterValue) cancelRestore();
|
|
24126
24170
|
matchingCount = 0;
|
|
24127
|
-
if (registrations.size === 0)
|
|
24171
|
+
if (registrations.size === 0) {
|
|
24172
|
+
notifySections();
|
|
24173
|
+
return;
|
|
24174
|
+
}
|
|
24128
24175
|
const items = Array.from(registrations.keys());
|
|
24129
24176
|
const parents = new Map(items.map(item => [item, getParentRegistration(item)]));
|
|
24130
24177
|
/** The registered parent items of a tree item, from its parent item up to the root. */
|
|
@@ -24169,6 +24216,7 @@ function setupTreeList(options = {}) {
|
|
|
24169
24216
|
hasMatchBelow: hasMatchBelow.has(item)
|
|
24170
24217
|
});
|
|
24171
24218
|
}
|
|
24219
|
+
notifySections();
|
|
24172
24220
|
// A selection clears the filter before the framework renders the new `aria-selected`: the open state
|
|
24173
24221
|
// after the clear (which keeps the ancestors of the selected items open) is only known on the next frame.
|
|
24174
24222
|
if (isCleared) {
|
|
@@ -24225,17 +24273,29 @@ function setupTreeList(options = {}) {
|
|
|
24225
24273
|
lastFilter = '';
|
|
24226
24274
|
matchingCount = 0;
|
|
24227
24275
|
registrations.clear();
|
|
24276
|
+
sections.clear();
|
|
24228
24277
|
}
|
|
24229
24278
|
});
|
|
24230
24279
|
|
|
24280
|
+
/** A full update is queued (see {@link updateIfFiltered}). */
|
|
24281
|
+
let isUpdateQueued = false;
|
|
24282
|
+
|
|
24231
24283
|
/**
|
|
24232
24284
|
* Without a filter, the state of a tree item does not depend on the other tree items: skip the full update
|
|
24233
|
-
* (it walks the DOM for every tree item), so that mounting n tree items stays O(n). With a filter,
|
|
24234
|
-
*
|
|
24285
|
+
* (it walks the DOM for every tree item), so that mounting n tree items stays O(n·depth). With a filter, the
|
|
24286
|
+
* registrations and destroys of one render (e.g. the new results of a manual filter) share one full update,
|
|
24287
|
+
* in a microtask: the new tree items get their state before the next user event.
|
|
24235
24288
|
*/
|
|
24236
24289
|
function updateIfFiltered() {
|
|
24237
|
-
|
|
24238
|
-
|
|
24290
|
+
if (!getFilter().value || isUpdateQueued) return;
|
|
24291
|
+
isUpdateQueued = true;
|
|
24292
|
+
queueMicrotask(() => {
|
|
24293
|
+
isUpdateQueued = false;
|
|
24294
|
+
const filter = getFilter();
|
|
24295
|
+
if (!filter.value) return;
|
|
24296
|
+
updateTreeItems(filter);
|
|
24297
|
+
notifyOptionsChange();
|
|
24298
|
+
});
|
|
24239
24299
|
}
|
|
24240
24300
|
|
|
24241
24301
|
/** Register a tree item root and create the controller of its open state (see {@link TreeListHandle}). */
|
|
@@ -24296,7 +24356,10 @@ function setupTreeList(options = {}) {
|
|
|
24296
24356
|
const next = computeState();
|
|
24297
24357
|
if (next.isOpen === state.isOpen && next.hidden === state.hidden) return;
|
|
24298
24358
|
const isClosing = state.isOpen && !next.isOpen;
|
|
24359
|
+
const isOpenChanged = state.isOpen !== next.isOpen;
|
|
24299
24360
|
state = next;
|
|
24361
|
+
// Write the open state to the DOM at once (see `writeTreeItemOpen`): Up/Down can run before the render.
|
|
24362
|
+
if (isOpenChanged) writeTreeItemOpen(element, state.isOpen);
|
|
24300
24363
|
onChange(state);
|
|
24301
24364
|
if (isClosing) moveActiveItemOutOfGroup();
|
|
24302
24365
|
}
|
|
@@ -24335,6 +24398,9 @@ function setupTreeList(options = {}) {
|
|
|
24335
24398
|
get isOpen() {
|
|
24336
24399
|
return isParent() ? state.isOpen : undefined;
|
|
24337
24400
|
},
|
|
24401
|
+
get hidden() {
|
|
24402
|
+
return state.hidden;
|
|
24403
|
+
},
|
|
24338
24404
|
applyFilterState,
|
|
24339
24405
|
restoreAfterClear,
|
|
24340
24406
|
setOpen
|
|
@@ -24363,9 +24429,24 @@ function setupTreeList(options = {}) {
|
|
|
24363
24429
|
};
|
|
24364
24430
|
}
|
|
24365
24431
|
|
|
24366
|
-
|
|
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).
|
|
24367
24447
|
return Object.assign(composite, {
|
|
24368
|
-
registerTreeItem
|
|
24448
|
+
registerTreeItem,
|
|
24449
|
+
registerSection
|
|
24369
24450
|
});
|
|
24370
24451
|
}
|
|
24371
24452
|
|
|
@@ -24471,6 +24552,7 @@ const TreeList$1 = forwardRef((props, ref) => {
|
|
|
24471
24552
|
} = useCompositeList({
|
|
24472
24553
|
elementRef: internalRef,
|
|
24473
24554
|
createList,
|
|
24555
|
+
createStandalone: true,
|
|
24474
24556
|
onSelect
|
|
24475
24557
|
});
|
|
24476
24558
|
const generatedId = useId();
|
|
@@ -24507,22 +24589,23 @@ const TreeList$1 = forwardRef((props, ref) => {
|
|
|
24507
24589
|
})
|
|
24508
24590
|
});
|
|
24509
24591
|
});
|
|
24510
|
-
TreeList$1.displayName = COMPONENT_NAME$
|
|
24511
|
-
TreeList$1.className = CLASSNAME$
|
|
24592
|
+
TreeList$1.displayName = COMPONENT_NAME$4;
|
|
24593
|
+
TreeList$1.className = CLASSNAME$4;
|
|
24594
|
+
TreeList$1.defaultProps = DEFAULT_PROPS$2;
|
|
24512
24595
|
|
|
24513
24596
|
/**
|
|
24514
24597
|
* Component display name.
|
|
24515
24598
|
*/
|
|
24516
|
-
const COMPONENT_NAME$
|
|
24599
|
+
const COMPONENT_NAME$3 = 'TreeListItem';
|
|
24517
24600
|
|
|
24518
24601
|
/**
|
|
24519
24602
|
* Component default class name and class prefix.
|
|
24520
24603
|
*/
|
|
24521
|
-
const CLASSNAME$
|
|
24604
|
+
const CLASSNAME$3 = 'lumx-tree-list-item';
|
|
24522
24605
|
const {
|
|
24523
24606
|
block: block$2,
|
|
24524
24607
|
element: element$2
|
|
24525
|
-
} = bem(CLASSNAME$
|
|
24608
|
+
} = bem(CLASSNAME$3);
|
|
24526
24609
|
|
|
24527
24610
|
/**
|
|
24528
24611
|
* TreeListItem core template: one tree item of a `TreeList`, with its sub-items in a group.
|
|
@@ -24582,15 +24665,19 @@ const TreeListItem$1 = (props, {
|
|
|
24582
24665
|
// click target, and no button styles to reset).
|
|
24583
24666
|
const isToggleMainAction = Boolean(isParent) && !isSelectable;
|
|
24584
24667
|
const rowActionProps = {
|
|
24585
|
-
as:
|
|
24668
|
+
as: 'button',
|
|
24586
24669
|
...actionProps,
|
|
24670
|
+
// A passive row action is always a `span` (it is not a click target).
|
|
24671
|
+
...(isToggleMainAction ? {
|
|
24672
|
+
as: 'span'
|
|
24673
|
+
} : undefined),
|
|
24587
24674
|
// Focus stays on the focus owner (the combobox trigger, or the standalone tree), never on the tree item.
|
|
24588
24675
|
tabIndex: -1,
|
|
24589
24676
|
id,
|
|
24590
24677
|
role: 'treeitem',
|
|
24591
|
-
className: element$2('action', {
|
|
24678
|
+
className: classnames(actionProps?.className, element$2('action', {
|
|
24592
24679
|
passive: isToggleMainAction
|
|
24593
|
-
}),
|
|
24680
|
+
})),
|
|
24594
24681
|
handleClick,
|
|
24595
24682
|
'aria-owns': isParent ? groupId : undefined,
|
|
24596
24683
|
'aria-expanded': isParent ? String(Boolean(isOpen)) : undefined,
|
|
@@ -24668,8 +24755,8 @@ const TreeListItem$1 = (props, {
|
|
|
24668
24755
|
})]
|
|
24669
24756
|
});
|
|
24670
24757
|
};
|
|
24671
|
-
TreeListItem$1.displayName = COMPONENT_NAME$
|
|
24672
|
-
TreeListItem$1.className = CLASSNAME$
|
|
24758
|
+
TreeListItem$1.displayName = COMPONENT_NAME$3;
|
|
24759
|
+
TreeListItem$1.className = CLASSNAME$3;
|
|
24673
24760
|
|
|
24674
24761
|
/** Whether a composite handle is a tree list handle (it has the tree item registry). */
|
|
24675
24762
|
function isTreeListHandle(handle) {
|
|
@@ -24709,7 +24796,7 @@ const TreeListItem = forwardRef((props, ref) => {
|
|
|
24709
24796
|
} = props;
|
|
24710
24797
|
const compositeContext = useContext(CompositeContext);
|
|
24711
24798
|
if (!compositeContext) {
|
|
24712
|
-
throw new Error(`${COMPONENT_NAME$
|
|
24799
|
+
throw new Error(`${COMPONENT_NAME$3} must be used within a TreeList`);
|
|
24713
24800
|
}
|
|
24714
24801
|
const {
|
|
24715
24802
|
handle,
|
|
@@ -24720,7 +24807,7 @@ const TreeListItem = forwardRef((props, ref) => {
|
|
|
24720
24807
|
const isOutsideTree = !!handle && !tree;
|
|
24721
24808
|
useEffect(() => {
|
|
24722
24809
|
if (isOutsideTree) {
|
|
24723
|
-
console.warn(`[@lumx/react/${COMPONENT_NAME$
|
|
24810
|
+
console.warn(`[@lumx/react/${COMPONENT_NAME$3}] ${COMPONENT_NAME$3} must be used within a TreeList.`);
|
|
24724
24811
|
}
|
|
24725
24812
|
}, [isOutsideTree]);
|
|
24726
24813
|
const id = useId();
|
|
@@ -24759,7 +24846,9 @@ const TreeListItem = forwardRef((props, ref) => {
|
|
|
24759
24846
|
onChange: setState
|
|
24760
24847
|
});
|
|
24761
24848
|
controllerRef.current = controller;
|
|
24762
|
-
|
|
24849
|
+
// Keep the initial state object when the values are the same (no second render on mount).
|
|
24850
|
+
const next = controller.state;
|
|
24851
|
+
setState(prev => prev.isOpen === next.isOpen && prev.hidden === next.hidden ? prev : next);
|
|
24763
24852
|
return () => {
|
|
24764
24853
|
controller.destroy();
|
|
24765
24854
|
controllerRef.current = null;
|
|
@@ -24805,15 +24894,127 @@ const TreeListItem = forwardRef((props, ref) => {
|
|
|
24805
24894
|
Tooltip
|
|
24806
24895
|
});
|
|
24807
24896
|
});
|
|
24808
|
-
TreeListItem.displayName = COMPONENT_NAME$
|
|
24809
|
-
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;
|
|
24810
25008
|
|
|
24811
25009
|
/**
|
|
24812
|
-
* 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`).
|
|
24813
25012
|
*/
|
|
24814
25013
|
const TreeList = Object.assign(TreeList$1, {
|
|
24815
25014
|
/** One tree item of the tree, with its sub-items. */
|
|
24816
|
-
Item: TreeListItem
|
|
25015
|
+
Item: TreeListItem,
|
|
25016
|
+
/** A section of root tree items, with an optional label (a divider between the sections). */
|
|
25017
|
+
Section: TreeListSection
|
|
24817
25018
|
});
|
|
24818
25019
|
|
|
24819
25020
|
const UploaderVariant = {
|
|
@@ -25211,5 +25412,5 @@ UserBlock.displayName = COMPONENT_NAME;
|
|
|
25211
25412
|
UserBlock.className = CLASSNAME;
|
|
25212
25413
|
UserBlock.defaultProps = DEFAULT_PROPS;
|
|
25213
25414
|
|
|
25214
|
-
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 };
|
|
25215
25416
|
//# sourceMappingURL=index.js.map
|