@lumx/react 4.12.1 → 4.13.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.d.ts +183 -3
  2. package/index.js +787 -476
  3. package/index.js.map +1 -1
  4. package/package.json +4 -3
package/index.js CHANGED
@@ -25,7 +25,7 @@ import concat from 'lodash/concat.js';
25
25
  import dropRight from 'lodash/dropRight.js';
26
26
  import partition from 'lodash/partition.js';
27
27
  import reduce from 'lodash/reduce.js';
28
- import { getWithSelector as getWithSelector$1 } from '@lumx/core/js/utils/selectors';
28
+ import { mdiMenuDown } from '@lumx/icons/esm/menu-down.js';
29
29
  import { mdiClose } from '@lumx/icons/esm/close.js';
30
30
  import isFunction from 'lodash/isFunction.js';
31
31
  import { mdiAlert } from '@lumx/icons/esm/alert.js';
@@ -49,7 +49,6 @@ import chunk from 'lodash/chunk.js';
49
49
  import take from 'lodash/take.js';
50
50
  import { mdiRadioboxBlank } from '@lumx/icons/esm/radiobox-blank.js';
51
51
  import { mdiRadioboxMarked } from '@lumx/icons/esm/radiobox-marked.js';
52
- import { mdiMenuDown } from '@lumx/icons/esm/menu-down.js';
53
52
  import { mdiArrowDown } from '@lumx/icons/esm/arrow-down.js';
54
53
  import { mdiArrowUp } from '@lumx/icons/esm/arrow-up.js';
55
54
  import set from 'lodash/set.js';
@@ -577,15 +576,15 @@ const CONFIG$1 = {
577
576
  /**
578
577
  * Component display name.
579
578
  */
580
- const COMPONENT_NAME$1y = 'AlertDialog';
579
+ const COMPONENT_NAME$1z = 'AlertDialog';
581
580
 
582
581
  /**
583
582
  * Component default class name and class prefix.
584
583
  */
585
- const CLASSNAME$1w = 'lumx-alert-dialog';
584
+ const CLASSNAME$1x = 'lumx-alert-dialog';
586
585
  const {
587
586
  block: block$18
588
- } = bem(CLASSNAME$1w);
587
+ } = bem(CLASSNAME$1x);
589
588
 
590
589
  /**
591
590
  * Component default props.
@@ -751,8 +750,8 @@ const AlertDialog = forwardRef((props, ref) => {
751
750
  ...forwardedProps
752
751
  });
753
752
  });
754
- AlertDialog.displayName = COMPONENT_NAME$1y;
755
- AlertDialog.className = CLASSNAME$1w;
753
+ AlertDialog.displayName = COMPONENT_NAME$1z;
754
+ AlertDialog.className = CLASSNAME$1x;
756
755
  AlertDialog.defaultProps = DEFAULT_PROPS$1g;
757
756
 
758
757
  /**
@@ -845,12 +844,12 @@ function useDisableStateProps(props) {
845
844
  /**
846
845
  * Component display name.
847
846
  */
848
- const COMPONENT_NAME$1x = 'Autocomplete';
847
+ const COMPONENT_NAME$1y = 'Autocomplete';
849
848
 
850
849
  /**
851
850
  * Component default class name and class prefix.
852
851
  */
853
- const CLASSNAME$1v = 'lumx-autocomplete';
852
+ const CLASSNAME$1w = 'lumx-autocomplete';
854
853
 
855
854
  /**
856
855
  * Component default props.
@@ -918,7 +917,7 @@ const Autocomplete = forwardRef((props, ref) => {
918
917
  return /*#__PURE__*/jsxs("div", {
919
918
  ref: ref,
920
919
  ...forwardedProps,
921
- className: classNames.join(className, CLASSNAME$1v),
920
+ className: classNames.join(className, CLASSNAME$1w),
922
921
  children: [/*#__PURE__*/jsx(TextField, {
923
922
  ...textFieldProps,
924
923
  chips: chips,
@@ -958,19 +957,19 @@ const Autocomplete = forwardRef((props, ref) => {
958
957
  })]
959
958
  });
960
959
  });
961
- Autocomplete.displayName = COMPONENT_NAME$1x;
962
- Autocomplete.className = CLASSNAME$1v;
960
+ Autocomplete.displayName = COMPONENT_NAME$1y;
961
+ Autocomplete.className = CLASSNAME$1w;
963
962
  Autocomplete.defaultProps = DEFAULT_PROPS$1f;
964
963
 
965
964
  /**
966
965
  * Component display name.
967
966
  */
968
- const COMPONENT_NAME$1w = 'AutocompleteMultiple';
967
+ const COMPONENT_NAME$1x = 'AutocompleteMultiple';
969
968
 
970
969
  /**
971
970
  * Component default class name and class prefix.
972
971
  */
973
- const CLASSNAME$1u = 'lumx-autocomplete-multiple';
972
+ const CLASSNAME$1v = 'lumx-autocomplete-multiple';
974
973
 
975
974
  /**
976
975
  * Component default props.
@@ -1051,7 +1050,7 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
1051
1050
  ref: ref,
1052
1051
  ...forwardedProps,
1053
1052
  anchorToInput: anchorToInput,
1054
- className: classNames.join(className, CLASSNAME$1u),
1053
+ className: classNames.join(className, CLASSNAME$1v),
1055
1054
  name: name,
1056
1055
  value: value,
1057
1056
  onChange: onChange,
@@ -1084,23 +1083,23 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
1084
1083
  children: children
1085
1084
  });
1086
1085
  });
1087
- AutocompleteMultiple.displayName = COMPONENT_NAME$1w;
1088
- AutocompleteMultiple.className = CLASSNAME$1u;
1086
+ AutocompleteMultiple.displayName = COMPONENT_NAME$1x;
1087
+ AutocompleteMultiple.className = CLASSNAME$1v;
1089
1088
  AutocompleteMultiple.defaultProps = DEFAULT_PROPS$1e;
1090
1089
 
1091
1090
  /**
1092
1091
  * Component display name.
1093
1092
  */
1094
- const COMPONENT_NAME$1v = 'Avatar';
1093
+ const COMPONENT_NAME$1w = 'Avatar';
1095
1094
 
1096
1095
  /**
1097
1096
  * Component default class name and class prefix.
1098
1097
  */
1099
- const CLASSNAME$1t = 'lumx-avatar';
1098
+ const CLASSNAME$1u = 'lumx-avatar';
1100
1099
  const {
1101
1100
  block: block$17,
1102
1101
  element: element$Q
1103
- } = bem(CLASSNAME$1t);
1102
+ } = bem(CLASSNAME$1u);
1104
1103
 
1105
1104
  /**
1106
1105
  * Component default props.
@@ -1191,22 +1190,22 @@ const Avatar = forwardRef((props, ref) => {
1191
1190
  })
1192
1191
  });
1193
1192
  });
1194
- Avatar.displayName = COMPONENT_NAME$1v;
1195
- Avatar.className = CLASSNAME$1t;
1193
+ Avatar.displayName = COMPONENT_NAME$1w;
1194
+ Avatar.className = CLASSNAME$1u;
1196
1195
  Avatar.defaultProps = DEFAULT_PROPS$1d;
1197
1196
 
1198
1197
  /**
1199
1198
  * Component display name.
1200
1199
  */
1201
- const COMPONENT_NAME$1u = 'Badge';
1200
+ const COMPONENT_NAME$1v = 'Badge';
1202
1201
 
1203
1202
  /**
1204
1203
  * Component default class name and class prefix.
1205
1204
  */
1206
- const CLASSNAME$1s = 'lumx-badge';
1205
+ const CLASSNAME$1t = 'lumx-badge';
1207
1206
  const {
1208
1207
  block: block$16
1209
- } = bem(CLASSNAME$1s);
1208
+ } = bem(CLASSNAME$1t);
1210
1209
 
1211
1210
  /**
1212
1211
  * Component default props.
@@ -1238,8 +1237,8 @@ const Badge$1 = props => {
1238
1237
  children: children
1239
1238
  });
1240
1239
  };
1241
- Badge$1.displayName = COMPONENT_NAME$1u;
1242
- Badge$1.className = CLASSNAME$1s;
1240
+ Badge$1.displayName = COMPONENT_NAME$1v;
1241
+ Badge$1.className = CLASSNAME$1t;
1243
1242
  Badge$1.defaultProps = DEFAULT_PROPS$1c;
1244
1243
 
1245
1244
  /**
@@ -1263,12 +1262,12 @@ Badge.displayName = Badge$1.displayName;
1263
1262
  Badge.className = Badge$1.className;
1264
1263
  Badge.defaultProps = Badge$1.defaultProps;
1265
1264
 
1266
- const COMPONENT_NAME$1t = 'BadgeWrapper';
1267
- const CLASSNAME$1r = 'lumx-badge-wrapper';
1265
+ const COMPONENT_NAME$1u = 'BadgeWrapper';
1266
+ const CLASSNAME$1s = 'lumx-badge-wrapper';
1268
1267
  const {
1269
1268
  block: block$15,
1270
1269
  element: element$P
1271
- } = bem(CLASSNAME$1r);
1270
+ } = bem(CLASSNAME$1s);
1272
1271
  const BadgeWrapper$1 = props => {
1273
1272
  const {
1274
1273
  badge,
@@ -1294,8 +1293,8 @@ const BadgeWrapper = forwardRef((props, ref) => {
1294
1293
  ref
1295
1294
  });
1296
1295
  });
1297
- BadgeWrapper.displayName = COMPONENT_NAME$1t;
1298
- BadgeWrapper.className = CLASSNAME$1r;
1296
+ BadgeWrapper.displayName = COMPONENT_NAME$1u;
1297
+ BadgeWrapper.className = CLASSNAME$1s;
1299
1298
 
1300
1299
  /**
1301
1300
  * Render clickable element (link, button or custom element)
@@ -1345,7 +1344,7 @@ const RawClickable = props => {
1345
1344
  /**
1346
1345
  * Component display name.
1347
1346
  */
1348
- const COMPONENT_NAME$1s = 'ButtonRoot';
1347
+ const COMPONENT_NAME$1t = 'ButtonRoot';
1349
1348
  const BUTTON_WRAPPER_CLASSNAME = `lumx-button-wrapper`;
1350
1349
  const {
1351
1350
  block: buttonWrapperBlock
@@ -1443,7 +1442,7 @@ const ButtonRoot = props => {
1443
1442
  children
1444
1443
  });
1445
1444
  };
1446
- ButtonRoot.displayName = COMPONENT_NAME$1s;
1445
+ ButtonRoot.displayName = COMPONENT_NAME$1t;
1447
1446
  ButtonRoot.defaultProps = {};
1448
1447
 
1449
1448
  /**
@@ -1453,15 +1452,15 @@ ButtonRoot.defaultProps = {};
1453
1452
  /**
1454
1453
  * Component display name.
1455
1454
  */
1456
- const COMPONENT_NAME$1r = 'Button';
1455
+ const COMPONENT_NAME$1s = 'Button';
1457
1456
 
1458
1457
  /**
1459
1458
  * Component default class name and class prefix.
1460
1459
  */
1461
- const CLASSNAME$1q = 'lumx-button';
1460
+ const CLASSNAME$1r = 'lumx-button';
1462
1461
  const {
1463
1462
  modifier
1464
- } = bem(CLASSNAME$1q);
1463
+ } = bem(CLASSNAME$1r);
1465
1464
 
1466
1465
  /**
1467
1466
  * Component default props.
@@ -1498,8 +1497,8 @@ const Button$1 = props => {
1498
1497
  variant: 'button'
1499
1498
  });
1500
1499
  };
1501
- Button$1.displayName = COMPONENT_NAME$1r;
1502
- Button$1.className = CLASSNAME$1q;
1500
+ Button$1.displayName = COMPONENT_NAME$1s;
1501
+ Button$1.className = CLASSNAME$1r;
1503
1502
  Button$1.defaultProps = DEFAULT_PROPS$1b;
1504
1503
 
1505
1504
  /**
@@ -1573,21 +1572,21 @@ const Button = forwardRef((props, ref) => {
1573
1572
  })
1574
1573
  });
1575
1574
  });
1576
- Button.displayName = COMPONENT_NAME$1r;
1577
- Button.className = CLASSNAME$1q;
1575
+ Button.displayName = COMPONENT_NAME$1s;
1576
+ Button.className = CLASSNAME$1r;
1578
1577
  Button.defaultProps = DEFAULT_PROPS$1b;
1579
1578
 
1580
- const COMPONENT_NAME$1q = 'Icon';
1579
+ const COMPONENT_NAME$1r = 'Icon';
1581
1580
  const IconClassName = 'lumx-icon';
1582
1581
 
1583
1582
  /**
1584
1583
  * Defines the props of the component.
1585
1584
  */
1586
1585
 
1587
- const CLASSNAME$1p = IconClassName;
1586
+ const CLASSNAME$1q = IconClassName;
1588
1587
  const {
1589
1588
  block: block$14
1590
- } = bem(CLASSNAME$1p);
1589
+ } = bem(CLASSNAME$1q);
1591
1590
 
1592
1591
  /**
1593
1592
  * Component default props.
@@ -1670,19 +1669,19 @@ const Icon$1 = props => {
1670
1669
  })
1671
1670
  });
1672
1671
  };
1673
- Icon$1.displayName = COMPONENT_NAME$1q;
1674
- Icon$1.className = CLASSNAME$1p;
1672
+ Icon$1.displayName = COMPONENT_NAME$1r;
1673
+ Icon$1.className = CLASSNAME$1q;
1675
1674
  Icon$1.defaultProps = DEFAULT_PROPS$1a;
1676
1675
 
1677
1676
  /**
1678
1677
  * Component display name.
1679
1678
  */
1680
- const COMPONENT_NAME$1p = 'IconButton';
1679
+ const COMPONENT_NAME$1q = 'IconButton';
1681
1680
 
1682
1681
  /**
1683
1682
  * Component default class name and class prefix.
1684
1683
  */
1685
- const CLASSNAME$1o = 'lumx-icon-button';
1684
+ const CLASSNAME$1p = 'lumx-icon-button';
1686
1685
 
1687
1686
  /**
1688
1687
  * Component default props.
@@ -1723,8 +1722,8 @@ const IconButton$1 = props => {
1723
1722
  children: defaultChildren
1724
1723
  });
1725
1724
  };
1726
- IconButton$1.displayName = COMPONENT_NAME$1p;
1727
- IconButton$1.className = CLASSNAME$1o;
1725
+ IconButton$1.displayName = COMPONENT_NAME$1q;
1726
+ IconButton$1.className = CLASSNAME$1p;
1728
1727
  IconButton$1.defaultProps = DEFAULT_PROPS$19;
1729
1728
 
1730
1729
  /**
@@ -1768,19 +1767,19 @@ const IconButton = forwardRef((props, ref) => {
1768
1767
  })
1769
1768
  });
1770
1769
  });
1771
- IconButton.displayName = COMPONENT_NAME$1p;
1772
- IconButton.className = CLASSNAME$1o;
1770
+ IconButton.displayName = COMPONENT_NAME$1q;
1771
+ IconButton.className = CLASSNAME$1p;
1773
1772
  IconButton.defaultProps = DEFAULT_PROPS$19;
1774
1773
 
1775
1774
  /**
1776
1775
  * Component display name.
1777
1776
  */
1778
- const COMPONENT_NAME$1o = 'ButtonGroup';
1777
+ const COMPONENT_NAME$1p = 'ButtonGroup';
1779
1778
 
1780
1779
  /**
1781
1780
  * Component default class name and class prefix.
1782
1781
  */
1783
- const CLASSNAME$1n = 'lumx-button-group';
1782
+ const CLASSNAME$1o = 'lumx-button-group';
1784
1783
 
1785
1784
  /**
1786
1785
  * Component default props.
@@ -1801,12 +1800,12 @@ const ButtonGroup$1 = props => {
1801
1800
  } = props;
1802
1801
  return /*#__PURE__*/jsx("div", {
1803
1802
  ...forwardedProps,
1804
- className: classnames(className, CLASSNAME$1n),
1803
+ className: classnames(className, CLASSNAME$1o),
1805
1804
  children: children
1806
1805
  });
1807
1806
  };
1808
- ButtonGroup$1.displayName = COMPONENT_NAME$1o;
1809
- ButtonGroup$1.className = CLASSNAME$1n;
1807
+ ButtonGroup$1.displayName = COMPONENT_NAME$1p;
1808
+ ButtonGroup$1.className = CLASSNAME$1o;
1810
1809
  ButtonGroup$1.defaultProps = DEFAULT_PROPS$18;
1811
1810
 
1812
1811
  /**
@@ -1822,16 +1821,16 @@ const ButtonGroup = forwardRef((props, ref) => {
1822
1821
  ...props
1823
1822
  });
1824
1823
  });
1825
- ButtonGroup.displayName = COMPONENT_NAME$1o;
1826
- ButtonGroup.className = CLASSNAME$1n;
1824
+ ButtonGroup.displayName = COMPONENT_NAME$1p;
1825
+ ButtonGroup.className = CLASSNAME$1o;
1827
1826
  ButtonGroup.defaultProps = DEFAULT_PROPS$18;
1828
1827
 
1829
- const COMPONENT_NAME$1n = 'InputLabel';
1828
+ const COMPONENT_NAME$1o = 'InputLabel';
1830
1829
  const InputLabelClassName = 'lumx-input-label';
1831
- const CLASSNAME$1m = InputLabelClassName;
1830
+ const CLASSNAME$1n = InputLabelClassName;
1832
1831
  const {
1833
1832
  block: block$13
1834
- } = bem(CLASSNAME$1m);
1833
+ } = bem(CLASSNAME$1n);
1835
1834
  const DEFAULT_PROPS$17 = {};
1836
1835
 
1837
1836
  /**
@@ -1860,8 +1859,8 @@ function InputLabel$1(props) {
1860
1859
  children: children
1861
1860
  });
1862
1861
  }
1863
- InputLabel$1.displayName = COMPONENT_NAME$1n;
1864
- InputLabel$1.className = CLASSNAME$1m;
1862
+ InputLabel$1.displayName = COMPONENT_NAME$1o;
1863
+ InputLabel$1.className = CLASSNAME$1n;
1865
1864
  InputLabel$1.defaultProps = DEFAULT_PROPS$17;
1866
1865
 
1867
1866
  const INPUT_HELPER_CONFIGURATION = {
@@ -1876,17 +1875,17 @@ const INPUT_HELPER_CONFIGURATION = {
1876
1875
  }
1877
1876
  };
1878
1877
 
1879
- const COMPONENT_NAME$1m = 'InputHelper';
1878
+ const COMPONENT_NAME$1n = 'InputHelper';
1880
1879
  const InputHelperClassName = 'lumx-input-helper';
1881
1880
 
1882
1881
  /**
1883
1882
  * Defines the props of the component.
1884
1883
  */
1885
1884
 
1886
- const CLASSNAME$1l = InputHelperClassName;
1885
+ const CLASSNAME$1m = InputHelperClassName;
1887
1886
  const {
1888
1887
  block: block$12
1889
- } = bem(CLASSNAME$1l);
1888
+ } = bem(CLASSNAME$1m);
1890
1889
 
1891
1890
  /**
1892
1891
  * Component default props.
@@ -1920,8 +1919,8 @@ function InputHelper$1(props) {
1920
1919
  children: children
1921
1920
  });
1922
1921
  }
1923
- InputHelper$1.displayName = COMPONENT_NAME$1m;
1924
- InputHelper$1.className = CLASSNAME$1l;
1922
+ InputHelper$1.displayName = COMPONENT_NAME$1n;
1923
+ InputHelper$1.className = CLASSNAME$1m;
1925
1924
  InputHelper$1.defaultProps = DEFAULT_PROPS$16;
1926
1925
 
1927
1926
  const INTERMEDIATE_STATE = 'intermediate';
@@ -1933,16 +1932,16 @@ const INTERMEDIATE_STATE = 'intermediate';
1933
1932
  /**
1934
1933
  * Component display name.
1935
1934
  */
1936
- const COMPONENT_NAME$1l = 'Checkbox';
1935
+ const COMPONENT_NAME$1m = 'Checkbox';
1937
1936
 
1938
1937
  /**
1939
1938
  * Component default class name and class prefix.
1940
1939
  */
1941
- const CLASSNAME$1k = 'lumx-checkbox';
1940
+ const CLASSNAME$1l = 'lumx-checkbox';
1942
1941
  const {
1943
1942
  block: block$11,
1944
1943
  element: element$O
1945
- } = bem(CLASSNAME$1k);
1944
+ } = bem(CLASSNAME$1l);
1946
1945
 
1947
1946
  /**
1948
1947
  * Checkbox component.
@@ -2097,8 +2096,8 @@ const Checkbox = forwardRef((props, ref) => {
2097
2096
  inputId
2098
2097
  });
2099
2098
  });
2100
- Checkbox.displayName = COMPONENT_NAME$1l;
2101
- Checkbox.className = CLASSNAME$1k;
2099
+ Checkbox.displayName = COMPONENT_NAME$1m;
2100
+ Checkbox.className = CLASSNAME$1l;
2102
2101
  Checkbox.defaultProps = DEFAULT_PROPS$15;
2103
2102
 
2104
2103
  /**
@@ -2120,16 +2119,16 @@ function useStopPropagation(handler) {
2120
2119
  /**
2121
2120
  * Component display name.
2122
2121
  */
2123
- const COMPONENT_NAME$1k = 'Chip';
2122
+ const COMPONENT_NAME$1l = 'Chip';
2124
2123
 
2125
2124
  /**
2126
2125
  * Component default class name and class prefix.
2127
2126
  */
2128
- const CLASSNAME$1j = 'lumx-chip';
2127
+ const CLASSNAME$1k = 'lumx-chip';
2129
2128
  const {
2130
2129
  block: block$10,
2131
2130
  element: element$N
2132
- } = bem(CLASSNAME$1j);
2131
+ } = bem(CLASSNAME$1k);
2133
2132
 
2134
2133
  /**
2135
2134
  * Component default props.
@@ -2281,19 +2280,19 @@ const Chip = forwardRef((props, ref) => {
2281
2280
  ...forwardedProps
2282
2281
  });
2283
2282
  });
2284
- Chip.displayName = COMPONENT_NAME$1k;
2285
- Chip.className = CLASSNAME$1j;
2283
+ Chip.displayName = COMPONENT_NAME$1l;
2284
+ Chip.className = CLASSNAME$1k;
2286
2285
  Chip.defaultProps = DEFAULT_PROPS$14;
2287
2286
 
2288
2287
  /**
2289
2288
  * Component display name.
2290
2289
  */
2291
- const COMPONENT_NAME$1j = 'ChipGroup';
2290
+ const COMPONENT_NAME$1k = 'ChipGroup';
2292
2291
 
2293
2292
  /**
2294
2293
  * Component default class name and class prefix.
2295
2294
  */
2296
- const CLASSNAME$1i = 'lumx-chip-group';
2295
+ const CLASSNAME$1j = 'lumx-chip-group';
2297
2296
 
2298
2297
  /**
2299
2298
  * Component default props.
@@ -2316,7 +2315,7 @@ const ChipGroup$1 = props => {
2316
2315
  return /*#__PURE__*/jsx("div", {
2317
2316
  ref: ref,
2318
2317
  ...forwardedProps,
2319
- className: classnames(className, CLASSNAME$1i),
2318
+ className: classnames(className, CLASSNAME$1j),
2320
2319
  children: children
2321
2320
  });
2322
2321
  };
@@ -2394,8 +2393,8 @@ const InternalChipGroup = forwardRef((props, ref) => {
2394
2393
  ...forwardedProps
2395
2394
  });
2396
2395
  });
2397
- InternalChipGroup.displayName = COMPONENT_NAME$1j;
2398
- InternalChipGroup.className = CLASSNAME$1i;
2396
+ InternalChipGroup.displayName = COMPONENT_NAME$1k;
2397
+ InternalChipGroup.className = CLASSNAME$1j;
2399
2398
  InternalChipGroup.defaultProps = DEFAULT_PROPS$13;
2400
2399
  const ChipGroup = Object.assign(InternalChipGroup, {
2401
2400
  useChipGroupNavigation
@@ -2404,16 +2403,16 @@ const ChipGroup = Object.assign(InternalChipGroup, {
2404
2403
  /**
2405
2404
  * Component display name.
2406
2405
  */
2407
- const COMPONENT_NAME$1i = 'SelectionChipGroup';
2406
+ const COMPONENT_NAME$1j = 'SelectionChipGroup';
2408
2407
 
2409
2408
  /**
2410
2409
  * Component default class name and class prefix.
2411
2410
  */
2412
- const CLASSNAME$1h = 'lumx-selection-chip-group';
2411
+ const CLASSNAME$1i = 'lumx-selection-chip-group';
2413
2412
  const {
2414
2413
  block: block$$,
2415
2414
  element: element$M
2416
- } = bem(CLASSNAME$1h);
2415
+ } = bem(CLASSNAME$1i);
2417
2416
 
2418
2417
  /**
2419
2418
  * SelectionChipGroup component.
@@ -2509,10 +2508,10 @@ function createSelectorTreeWalker(container, selector) {
2509
2508
  }
2510
2509
 
2511
2510
  /** CSS selector for enabled chips (not aria-disabled). */
2512
- const ENABLED_CHIP_SELECTOR = `.${CLASSNAME$1j}:not([aria-disabled="true"])`;
2511
+ const ENABLED_CHIP_SELECTOR = `.${CLASSNAME$1k}:not([aria-disabled="true"])`;
2513
2512
 
2514
2513
  /** Find the closest chip element from an event target. */
2515
- const getChip = target => target?.closest?.(`.${CLASSNAME$1j}`) || null;
2514
+ const getChip = target => target?.closest?.(`.${CLASSNAME$1k}`) || null;
2516
2515
 
2517
2516
  /** Whether the chip is marked as disabled via aria-disabled. */
2518
2517
  const isChipDisabled = chip => chip?.getAttribute('aria-disabled') === 'true';
@@ -2726,15 +2725,15 @@ function wrapChildrenIconWithSpaces(children) {
2726
2725
  /**
2727
2726
  * Component display name.
2728
2727
  */
2729
- const COMPONENT_NAME$1h = 'Text';
2728
+ const COMPONENT_NAME$1i = 'Text';
2730
2729
 
2731
2730
  /**
2732
2731
  * Component default class name and class prefix.
2733
2732
  */
2734
- const CLASSNAME$1g = 'lumx-text';
2733
+ const CLASSNAME$1h = 'lumx-text';
2735
2734
  const {
2736
2735
  block: block$_
2737
- } = bem(CLASSNAME$1g);
2736
+ } = bem(CLASSNAME$1h);
2738
2737
 
2739
2738
  /**
2740
2739
  * Component default props.
@@ -2824,8 +2823,8 @@ const Text = forwardRef((props, ref) => {
2824
2823
  children: wrapChildrenIconWithSpaces(children)
2825
2824
  });
2826
2825
  });
2827
- Text.displayName = COMPONENT_NAME$1h;
2828
- Text.className = CLASSNAME$1g;
2826
+ Text.displayName = COMPONENT_NAME$1i;
2827
+ Text.className = CLASSNAME$1h;
2829
2828
  Text.defaultProps = DEFAULT_PROPS$12;
2830
2829
 
2831
2830
  /**
@@ -4918,16 +4917,16 @@ const DEFAULT_PROPS$11 = {
4918
4917
  /**
4919
4918
  * Component display name.
4920
4919
  */
4921
- const COMPONENT_NAME$1g = 'Tooltip';
4920
+ const COMPONENT_NAME$1h = 'Tooltip';
4922
4921
 
4923
4922
  /**
4924
4923
  * Component default class name and class prefix.
4925
4924
  */
4926
- const CLASSNAME$1f = 'lumx-tooltip';
4925
+ const CLASSNAME$1g = 'lumx-tooltip';
4927
4926
  const {
4928
4927
  block: block$Z,
4929
4928
  element: element$L
4930
- } = bem(CLASSNAME$1f);
4929
+ } = bem(CLASSNAME$1g);
4931
4930
 
4932
4931
  /**
4933
4932
  * Props for the TooltipPopup rendering component.
@@ -4976,8 +4975,8 @@ const TooltipPopup = props => {
4976
4975
  })]
4977
4976
  });
4978
4977
  };
4979
- TooltipPopup.displayName = COMPONENT_NAME$1g;
4980
- TooltipPopup.className = CLASSNAME$1f;
4978
+ TooltipPopup.displayName = COMPONENT_NAME$1h;
4979
+ TooltipPopup.className = CLASSNAME$1g;
4981
4980
 
4982
4981
  /**
4983
4982
  * Add ref and ARIA attribute(s) in tooltip children or wrapped children.
@@ -5339,8 +5338,8 @@ const Tooltip = forwardRef((props, ref) => {
5339
5338
  })]
5340
5339
  });
5341
5340
  });
5342
- Tooltip.displayName = COMPONENT_NAME$1g;
5343
- Tooltip.className = CLASSNAME$1f;
5341
+ Tooltip.displayName = COMPONENT_NAME$1h;
5342
+ Tooltip.className = CLASSNAME$1g;
5344
5343
  Tooltip.defaultProps = DEFAULT_PROPS$11;
5345
5344
 
5346
5345
  /**
@@ -6219,8 +6218,8 @@ const SelectionChipGroup = ({
6219
6218
  }, [container, inputRef, getOptionId]);
6220
6219
  useRovingTabIndexContainer({
6221
6220
  containerRef: container,
6222
- itemSelector: `.${CLASSNAME$1j}`,
6223
- itemDisabledSelector: `.${CLASSNAME$1j}[aria-disabled="true"]`
6221
+ itemSelector: `.${CLASSNAME$1k}`,
6222
+ itemDisabledSelector: `.${CLASSNAME$1k}[aria-disabled="true"]`
6224
6223
  });
6225
6224
 
6226
6225
  // Merge getChipProps and renderChip: getChipProps provides base props, renderChip overrides them,
@@ -6260,8 +6259,8 @@ const SelectionChipGroup = ({
6260
6259
  Tooltip
6261
6260
  });
6262
6261
  };
6263
- SelectionChipGroup.displayName = COMPONENT_NAME$1i;
6264
- SelectionChipGroup.className = CLASSNAME$1h;
6262
+ SelectionChipGroup.displayName = COMPONENT_NAME$1j;
6263
+ SelectionChipGroup.className = CLASSNAME$1i;
6265
6264
 
6266
6265
  /**
6267
6266
  * Get the value for a combobox option element.
@@ -7147,12 +7146,12 @@ function setupComboboxButton(button, callbacks) {
7147
7146
  /**
7148
7147
  * Component display name.
7149
7148
  */
7150
- const COMPONENT_NAME$1f = 'ComboboxButton';
7149
+ const COMPONENT_NAME$1g = 'ComboboxButton';
7151
7150
 
7152
7151
  /**
7153
7152
  * Component default class name and class prefix.
7154
7153
  */
7155
- const CLASSNAME$1e = 'lumx-combobox-button';
7154
+ const CLASSNAME$1f = 'lumx-combobox-button';
7156
7155
 
7157
7156
  /**
7158
7157
  * ComboboxButton core template.
@@ -7177,6 +7176,7 @@ const ComboboxButton$1 = (props, {
7177
7176
  listboxId,
7178
7177
  isOpen,
7179
7178
  ref,
7179
+ renderButton,
7180
7180
  ...forwardedProps
7181
7181
  } = props;
7182
7182
 
@@ -7188,15 +7188,16 @@ const ComboboxButton$1 = (props, {
7188
7188
 
7189
7189
  // Hide tooltip if the displayed content equals the label or when open
7190
7190
  const hideTooltip = label === content || isOpen;
7191
+ const Component = renderButton || Button;
7191
7192
  return /*#__PURE__*/jsx(Tooltip, {
7192
7193
  className: hideTooltip ? visuallyHidden() : undefined,
7193
7194
  label: label,
7194
7195
  closeMode: "hide",
7195
7196
  ariaLinkMode: "aria-labelledby",
7196
- children: /*#__PURE__*/jsx(Button, {
7197
+ children: /*#__PURE__*/jsx(Component, {
7197
7198
  ref: ref,
7198
7199
  ...forwardedProps,
7199
- className: classnames(className, CLASSNAME$1e),
7200
+ className: classnames(className, CLASSNAME$1f),
7200
7201
  role: "combobox",
7201
7202
  "aria-controls": listboxId,
7202
7203
  "aria-haspopup": "listbox",
@@ -7327,8 +7328,8 @@ const ComboboxButton = Object.assign(forwardRefPolymorphic((props, ref) => {
7327
7328
  Tooltip
7328
7329
  });
7329
7330
  }), {
7330
- displayName: COMPONENT_NAME$1f,
7331
- className: CLASSNAME$1e
7331
+ displayName: COMPONENT_NAME$1g,
7332
+ className: CLASSNAME$1f
7332
7333
  });
7333
7334
 
7334
7335
  /** Options for configuring the input-mode combobox controller. */
@@ -7488,12 +7489,12 @@ function getDisabledState(context, props) {
7488
7489
  /**
7489
7490
  * Component display name.
7490
7491
  */
7491
- const COMPONENT_NAME$1e = 'ComboboxInput';
7492
+ const COMPONENT_NAME$1f = 'ComboboxInput';
7492
7493
 
7493
7494
  /**
7494
7495
  * Component default class name and class prefix.
7495
7496
  */
7496
- const CLASSNAME$1d = 'lumx-combobox-input';
7497
+ const CLASSNAME$1e = 'lumx-combobox-input';
7497
7498
 
7498
7499
  /**
7499
7500
  * ComboboxInput core template.
@@ -7556,22 +7557,22 @@ const ComboboxInput$1 = (props, {
7556
7557
  /**
7557
7558
  * Component display name.
7558
7559
  */
7559
- const COMPONENT_NAME$1d = 'TextField';
7560
+ const COMPONENT_NAME$1e = 'TextField';
7560
7561
 
7561
7562
  /**
7562
7563
  * Component default class name and class prefix.
7563
7564
  */
7564
- const CLASSNAME$1c = 'lumx-text-field';
7565
+ const CLASSNAME$1d = 'lumx-text-field';
7565
7566
 
7566
7567
  /**
7567
7568
  * Input native element class name.
7568
7569
  */
7569
- const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$1c}__input-native`;
7570
+ const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$1d}__input-native`;
7570
7571
 
7571
7572
  const {
7572
7573
  block: block$Y,
7573
7574
  element: element$K
7574
- } = bem(CLASSNAME$1c);
7575
+ } = bem(CLASSNAME$1d);
7575
7576
 
7576
7577
  /**
7577
7578
  * Defines the props of the component.
@@ -8076,8 +8077,8 @@ const TextField = forwardRef((props, ref) => {
8076
8077
  } : undefined
8077
8078
  });
8078
8079
  });
8079
- TextField.displayName = COMPONENT_NAME$1d;
8080
- TextField.className = CLASSNAME$1c;
8080
+ TextField.displayName = COMPONENT_NAME$1e;
8081
+ TextField.className = CLASSNAME$1d;
8081
8082
  TextField.defaultProps = DEFAULT_PROPS$Z;
8082
8083
 
8083
8084
  /**
@@ -8155,21 +8156,21 @@ const ComboboxInput = forwardRef((props, ref) => {
8155
8156
  IconButton
8156
8157
  });
8157
8158
  });
8158
- ComboboxInput.displayName = COMPONENT_NAME$1e;
8159
- ComboboxInput.className = CLASSNAME$1d;
8159
+ ComboboxInput.displayName = COMPONENT_NAME$1f;
8160
+ ComboboxInput.className = CLASSNAME$1e;
8160
8161
 
8161
8162
  /**
8162
8163
  * Component display name.
8163
8164
  */
8164
- const COMPONENT_NAME$1c = 'List';
8165
+ const COMPONENT_NAME$1d = 'List';
8165
8166
 
8166
8167
  /**
8167
8168
  * Component default class name and class prefix.
8168
8169
  */
8169
- const CLASSNAME$1b = 'lumx-list';
8170
+ const CLASSNAME$1c = 'lumx-list';
8170
8171
  const {
8171
8172
  block: block$V
8172
- } = bem(CLASSNAME$1b);
8173
+ } = bem(CLASSNAME$1c);
8173
8174
 
8174
8175
  /**
8175
8176
  * Component default props.
@@ -8199,8 +8200,8 @@ const List$1 = props => {
8199
8200
  children: children
8200
8201
  });
8201
8202
  };
8202
- List$1.displayName = COMPONENT_NAME$1c;
8203
- List$1.className = CLASSNAME$1b;
8203
+ List$1.displayName = COMPONENT_NAME$1d;
8204
+ List$1.className = CLASSNAME$1c;
8204
8205
  List$1.defaultProps = DEFAULT_PROPS$Y;
8205
8206
 
8206
8207
  /**
@@ -8216,12 +8217,12 @@ List$1.defaultProps = DEFAULT_PROPS$Y;
8216
8217
  /**
8217
8218
  * Component display name.
8218
8219
  */
8219
- const COMPONENT_NAME$1b = 'ComboboxList';
8220
+ const COMPONENT_NAME$1c = 'ComboboxList';
8220
8221
 
8221
8222
  /**
8222
8223
  * Component default class name and class prefix.
8223
8224
  */
8224
- const CLASSNAME$1a = 'lumx-combobox-list';
8225
+ const CLASSNAME$1b = 'lumx-combobox-list';
8225
8226
 
8226
8227
  /**
8227
8228
  * ComboboxList core template.
@@ -8243,7 +8244,7 @@ const ComboboxList$1 = props => {
8243
8244
  } = props;
8244
8245
  return List$1({
8245
8246
  ...forwardedProps,
8246
- className: classnames(className, CLASSNAME$1a),
8247
+ className: classnames(className, CLASSNAME$1b),
8247
8248
  ref,
8248
8249
  itemPadding: 'big',
8249
8250
  id,
@@ -8328,22 +8329,22 @@ const ComboboxList = forwardRef((props, ref) => {
8328
8329
  })
8329
8330
  });
8330
8331
  });
8331
- ComboboxList.displayName = COMPONENT_NAME$1b;
8332
- ComboboxList.className = CLASSNAME$1a;
8332
+ ComboboxList.displayName = COMPONENT_NAME$1c;
8333
+ ComboboxList.className = CLASSNAME$1b;
8333
8334
 
8334
8335
  /**
8335
8336
  * Component display name.
8336
8337
  */
8337
- const COMPONENT_NAME$1a = 'ListItem';
8338
+ const COMPONENT_NAME$1b = 'ListItem';
8338
8339
 
8339
8340
  /**
8340
8341
  * Component default class name and class prefix.
8341
8342
  */
8342
- const CLASSNAME$19 = 'lumx-list-item';
8343
+ const CLASSNAME$1a = 'lumx-list-item';
8343
8344
  const {
8344
8345
  block: block$U,
8345
8346
  element: element$J
8346
- } = bem(CLASSNAME$19);
8347
+ } = bem(CLASSNAME$1a);
8347
8348
 
8348
8349
  /**
8349
8350
  * Component default props.
@@ -8410,8 +8411,8 @@ const ListItem$1 = props => {
8410
8411
  })
8411
8412
  });
8412
8413
  };
8413
- ListItem$1.displayName = COMPONENT_NAME$1a;
8414
- ListItem$1.className = CLASSNAME$19;
8414
+ ListItem$1.displayName = COMPONENT_NAME$1b;
8415
+ ListItem$1.className = CLASSNAME$1a;
8415
8416
  ListItem$1.defaultProps = DEFAULT_PROPS$X;
8416
8417
 
8417
8418
  /**
@@ -8421,12 +8422,12 @@ ListItem$1.defaultProps = DEFAULT_PROPS$X;
8421
8422
  /**
8422
8423
  * Component display name.
8423
8424
  */
8424
- const COMPONENT_NAME$19 = 'ListItemAction';
8425
+ const COMPONENT_NAME$1a = 'ListItemAction';
8425
8426
 
8426
8427
  /**
8427
8428
  * Component classname (used by action area CSS pattern).
8428
8429
  */
8429
- const CLASSNAME$18 = 'lumx-action-area__action';
8430
+ const CLASSNAME$19 = 'lumx-action-area__action';
8430
8431
  const DEFAULT_PROPS$W = {};
8431
8432
 
8432
8433
  /**
@@ -8460,16 +8461,16 @@ const ListItemAction$1 = props => {
8460
8461
  /**
8461
8462
  * Component display name.
8462
8463
  */
8463
- const COMPONENT_NAME$18 = 'ComboboxOption';
8464
+ const COMPONENT_NAME$19 = 'ComboboxOption';
8464
8465
 
8465
8466
  /**
8466
8467
  * Component default class name and class prefix.
8467
8468
  */
8468
- const CLASSNAME$17 = 'lumx-combobox-option';
8469
+ const CLASSNAME$18 = 'lumx-combobox-option';
8469
8470
  const {
8470
8471
  block: block$T,
8471
8472
  element: element$I
8472
- } = bem(CLASSNAME$17);
8473
+ } = bem(CLASSNAME$18);
8473
8474
 
8474
8475
  /**
8475
8476
  * ComboboxOption core template.
@@ -8653,8 +8654,8 @@ const ComboboxOption = forwardRef((props, ref) => {
8653
8654
  Tooltip
8654
8655
  });
8655
8656
  });
8656
- ComboboxOption.displayName = COMPONENT_NAME$18;
8657
- ComboboxOption.className = CLASSNAME$17;
8657
+ ComboboxOption.displayName = COMPONENT_NAME$19;
8658
+ ComboboxOption.className = CLASSNAME$18;
8658
8659
 
8659
8660
  /**
8660
8661
  * Defines the props for the core ComboboxOptionAction template.
@@ -8663,12 +8664,12 @@ ComboboxOption.className = CLASSNAME$17;
8663
8664
  /**
8664
8665
  * Component display name.
8665
8666
  */
8666
- const COMPONENT_NAME$17 = 'ComboboxOptionAction';
8667
+ const COMPONENT_NAME$18 = 'ComboboxOptionAction';
8667
8668
 
8668
8669
  /**
8669
8670
  * Component default class name and class prefix.
8670
8671
  */
8671
- const CLASSNAME$16 = 'lumx-combobox-option-action';
8672
+ const CLASSNAME$17 = 'lumx-combobox-option-action';
8672
8673
 
8673
8674
  /**
8674
8675
  * ComboboxOptionAction core template.
@@ -8691,7 +8692,7 @@ const ComboboxOptionAction$1 = props => {
8691
8692
  as: Element,
8692
8693
  ...forwardedProps,
8693
8694
  role: 'gridcell',
8694
- className: classnames(className, CLASSNAME$16),
8695
+ className: classnames(className, CLASSNAME$17),
8695
8696
  handleClick,
8696
8697
  children
8697
8698
  });
@@ -8741,23 +8742,23 @@ const ComboboxOptionAction = Object.assign(forwardRefPolymorphic((props, ref) =>
8741
8742
  children
8742
8743
  });
8743
8744
  }), {
8744
- displayName: COMPONENT_NAME$17,
8745
- className: CLASSNAME$16
8745
+ displayName: COMPONENT_NAME$18,
8746
+ className: CLASSNAME$17
8746
8747
  });
8747
8748
 
8748
8749
  /**
8749
8750
  * Component display name.
8750
8751
  */
8751
- const COMPONENT_NAME$16 = 'ComboboxOptionMoreInfo';
8752
+ const COMPONENT_NAME$17 = 'ComboboxOptionMoreInfo';
8752
8753
 
8753
8754
  /**
8754
8755
  * Component default class name and class prefix.
8755
8756
  */
8756
- const CLASSNAME$15 = 'lumx-combobox-option-more-info';
8757
+ const CLASSNAME$16 = 'lumx-combobox-option-more-info';
8757
8758
  const {
8758
8759
  block: block$S,
8759
8760
  element: element$H
8760
- } = bem(CLASSNAME$15);
8761
+ } = bem(CLASSNAME$16);
8761
8762
 
8762
8763
  /**
8763
8764
  * ComboboxOptionMoreInfo core template.
@@ -9074,16 +9075,16 @@ const POPOVER_ZINDEX = 9999;
9074
9075
  /**
9075
9076
  * Component display name.
9076
9077
  */
9077
- const COMPONENT_NAME$15 = 'Popover';
9078
+ const COMPONENT_NAME$16 = 'Popover';
9078
9079
 
9079
9080
  /**
9080
9081
  * Component default class name and class prefix.
9081
9082
  */
9082
- const CLASSNAME$14 = 'lumx-popover';
9083
+ const CLASSNAME$15 = 'lumx-popover';
9083
9084
  const {
9084
9085
  block: block$R,
9085
9086
  element: element$G
9086
- } = bem(CLASSNAME$14);
9087
+ } = bem(CLASSNAME$15);
9087
9088
 
9088
9089
  /**
9089
9090
  * Component default props (used by framework wrappers).
@@ -9535,7 +9536,7 @@ const _InnerPopover = forwardRef((props, ref) => {
9535
9536
  ThemeProvider
9536
9537
  });
9537
9538
  });
9538
- _InnerPopover.displayName = COMPONENT_NAME$15;
9539
+ _InnerPopover.displayName = COMPONENT_NAME$16;
9539
9540
 
9540
9541
  /**
9541
9542
  * Popover component.
@@ -9547,8 +9548,8 @@ _InnerPopover.displayName = COMPONENT_NAME$15;
9547
9548
  const Popover = skipRender(
9548
9549
  // Skip render in SSR
9549
9550
  () => Boolean(DOCUMENT$1), _InnerPopover);
9550
- Popover.displayName = COMPONENT_NAME$15;
9551
- Popover.className = CLASSNAME$14;
9551
+ Popover.displayName = COMPONENT_NAME$16;
9552
+ Popover.className = CLASSNAME$15;
9552
9553
  Popover.defaultProps = DEFAULT_PROPS$V;
9553
9554
 
9554
9555
  /**
@@ -9611,22 +9612,22 @@ const ComboboxOptionMoreInfo = props => {
9611
9612
  Popover
9612
9613
  });
9613
9614
  };
9614
- ComboboxOptionMoreInfo.displayName = COMPONENT_NAME$16;
9615
- ComboboxOptionMoreInfo.className = CLASSNAME$15;
9615
+ ComboboxOptionMoreInfo.displayName = COMPONENT_NAME$17;
9616
+ ComboboxOptionMoreInfo.className = CLASSNAME$16;
9616
9617
 
9617
9618
  /**
9618
9619
  * Component display name.
9619
9620
  */
9620
- const COMPONENT_NAME$14 = 'SkeletonTypography';
9621
+ const COMPONENT_NAME$15 = 'SkeletonTypography';
9621
9622
 
9622
9623
  /**
9623
9624
  * Component default class name and class prefix.
9624
9625
  */
9625
- const CLASSNAME$13 = 'lumx-skeleton-typography';
9626
+ const CLASSNAME$14 = 'lumx-skeleton-typography';
9626
9627
  const {
9627
9628
  block: block$Q,
9628
9629
  element: element$F
9629
- } = bem(CLASSNAME$13);
9630
+ } = bem(CLASSNAME$14);
9630
9631
 
9631
9632
  /**
9632
9633
  * SkeletonTypography component.
@@ -9665,12 +9666,12 @@ const SkeletonTypography$1 = props => {
9665
9666
  /**
9666
9667
  * Component display name.
9667
9668
  */
9668
- const COMPONENT_NAME$13 = 'ComboboxOptionSkeleton';
9669
+ const COMPONENT_NAME$14 = 'ComboboxOptionSkeleton';
9669
9670
 
9670
9671
  /**
9671
9672
  * Component default class name and class prefix.
9672
9673
  */
9673
- const CLASSNAME$12 = 'lumx-combobox-option-skeleton';
9674
+ const CLASSNAME$13 = 'lumx-combobox-option-skeleton';
9674
9675
 
9675
9676
  /**
9676
9677
  * ComboboxOptionSkeleton core template.
@@ -9697,7 +9698,7 @@ const ComboboxOptionSkeleton$1 = props => {
9697
9698
  size: 'tiny',
9698
9699
  role: 'none',
9699
9700
  ...forwardedProps,
9700
- className: classnames(className, CLASSNAME$12),
9701
+ className: classnames(className, CLASSNAME$13),
9701
9702
  children: children || /*#__PURE__*/jsxs(Fragment, {
9702
9703
  children: [/*#__PURE__*/jsx(SkeletonTypography$1, {
9703
9704
  typography: "body1",
@@ -9750,19 +9751,19 @@ const ComboboxOptionSkeleton = props => {
9750
9751
  ...props
9751
9752
  });
9752
9753
  };
9753
- ComboboxOptionSkeleton.displayName = COMPONENT_NAME$13;
9754
- ComboboxOptionSkeleton.className = CLASSNAME$12;
9754
+ ComboboxOptionSkeleton.displayName = COMPONENT_NAME$14;
9755
+ ComboboxOptionSkeleton.className = CLASSNAME$13;
9755
9756
 
9756
- const COMPONENT_NAME$12 = 'ComboboxPopover';
9757
+ const COMPONENT_NAME$13 = 'ComboboxPopover';
9757
9758
 
9758
9759
  /**
9759
9760
  * Component default class name.
9760
9761
  */
9761
- const CLASSNAME$11 = 'lumx-combobox-popover';
9762
+ const CLASSNAME$12 = 'lumx-combobox-popover';
9762
9763
  const {
9763
9764
  block: block$P,
9764
9765
  element: element$E
9765
- } = bem(CLASSNAME$11);
9766
+ } = bem(CLASSNAME$12);
9766
9767
 
9767
9768
  /**
9768
9769
  * Defines the props for the core ComboboxPopover template.
@@ -9825,15 +9826,15 @@ const ComboboxPopover$1 = (props, {
9825
9826
  /**
9826
9827
  * Component display name.
9827
9828
  */
9828
- const COMPONENT_NAME$11 = 'FlexBox';
9829
+ const COMPONENT_NAME$12 = 'FlexBox';
9829
9830
 
9830
9831
  /**
9831
9832
  * Component default class name and class prefix.
9832
9833
  */
9833
- const CLASSNAME$10 = 'lumx-flex-box';
9834
+ const CLASSNAME$11 = 'lumx-flex-box';
9834
9835
  const {
9835
9836
  block: block$O
9836
- } = bem(CLASSNAME$10);
9837
+ } = bem(CLASSNAME$11);
9837
9838
 
9838
9839
  /**
9839
9840
  * Get FlexBox component props (className computation).
@@ -9889,8 +9890,8 @@ const FlexBox = forwardRef((props, ref) => {
9889
9890
  children: children
9890
9891
  });
9891
9892
  });
9892
- FlexBox.displayName = COMPONENT_NAME$11;
9893
- FlexBox.className = CLASSNAME$10;
9893
+ FlexBox.displayName = COMPONENT_NAME$12;
9894
+ FlexBox.className = CLASSNAME$11;
9894
9895
 
9895
9896
  /**
9896
9897
  * Props for Popover that can be passed to Combobox.Popover.
@@ -9928,8 +9929,8 @@ const ComboboxPopover = props => {
9928
9929
  FlexBox
9929
9930
  });
9930
9931
  };
9931
- ComboboxPopover.displayName = COMPONENT_NAME$12;
9932
- ComboboxPopover.className = CLASSNAME$11;
9932
+ ComboboxPopover.displayName = COMPONENT_NAME$13;
9933
+ ComboboxPopover.className = CLASSNAME$12;
9933
9934
 
9934
9935
  /**
9935
9936
  * Combobox.Provider component.
@@ -9974,12 +9975,12 @@ ComboboxProvider.displayName = 'Combobox.Provider';
9974
9975
  /**
9975
9976
  * Component display name.
9976
9977
  */
9977
- const COMPONENT_NAME$10 = 'ComboboxSection';
9978
+ const COMPONENT_NAME$11 = 'ComboboxSection';
9978
9979
 
9979
9980
  /**
9980
9981
  * Component default class name and class prefix.
9981
9982
  */
9982
- const CLASSNAME$$ = 'lumx-combobox-section';
9983
+ const CLASSNAME$10 = 'lumx-combobox-section';
9983
9984
 
9984
9985
  /**
9985
9986
  * ComboboxSection core template.
@@ -10006,7 +10007,7 @@ const ComboboxSection$1 = (props, {
10006
10007
  ...forwardedProps,
10007
10008
  hidden: hidden,
10008
10009
  "aria-hidden": ariaHidden || undefined,
10009
- className: !hidden ? classnames(className, CLASSNAME$$) : undefined,
10010
+ className: !hidden ? classnames(className, CLASSNAME$10) : undefined,
10010
10011
  role: !ariaHidden ? 'none' : undefined,
10011
10012
  itemsWrapperProps: {
10012
10013
  role: 'group'
@@ -10018,16 +10019,16 @@ const ComboboxSection$1 = (props, {
10018
10019
  /**
10019
10020
  * Component display name.
10020
10021
  */
10021
- const COMPONENT_NAME$$ = 'ListSection';
10022
+ const COMPONENT_NAME$10 = 'ListSection';
10022
10023
 
10023
10024
  /**
10024
10025
  * Component default class name and class prefix.
10025
10026
  */
10026
- const CLASSNAME$_ = 'lumx-list-section';
10027
+ const CLASSNAME$$ = 'lumx-list-section';
10027
10028
  const {
10028
10029
  block: block$N,
10029
10030
  element: element$D
10030
- } = bem(CLASSNAME$_);
10031
+ } = bem(CLASSNAME$$);
10031
10032
 
10032
10033
  /**
10033
10034
  * Component default props.
@@ -10074,8 +10075,8 @@ const ListSection$1 = props => {
10074
10075
  })]
10075
10076
  });
10076
10077
  };
10077
- ListSection$1.displayName = COMPONENT_NAME$$;
10078
- ListSection$1.className = CLASSNAME$_;
10078
+ ListSection$1.displayName = COMPONENT_NAME$10;
10079
+ ListSection$1.className = CLASSNAME$$;
10079
10080
  ListSection$1.defaultProps = DEFAULT_PROPS$U;
10080
10081
 
10081
10082
  /**
@@ -10098,8 +10099,8 @@ const ListSection = forwardRef((props, ref) => {
10098
10099
  Text
10099
10100
  });
10100
10101
  });
10101
- ListSection.displayName = COMPONENT_NAME$$;
10102
- ListSection.className = CLASSNAME$_;
10102
+ ListSection.displayName = COMPONENT_NAME$10;
10103
+ ListSection.className = CLASSNAME$$;
10103
10104
  ListSection.defaultProps = DEFAULT_PROPS$U;
10104
10105
 
10105
10106
  /**
@@ -10148,21 +10149,21 @@ const ComboboxSection = forwardRef((props, ref) => {
10148
10149
  ListSection
10149
10150
  });
10150
10151
  });
10151
- ComboboxSection.displayName = COMPONENT_NAME$10;
10152
- ComboboxSection.className = CLASSNAME$$;
10152
+ ComboboxSection.displayName = COMPONENT_NAME$11;
10153
+ ComboboxSection.className = CLASSNAME$10;
10153
10154
 
10154
10155
  /**
10155
10156
  * Component display name.
10156
10157
  */
10157
- const COMPONENT_NAME$_ = 'ComboboxState';
10158
+ const COMPONENT_NAME$$ = 'ComboboxState';
10158
10159
 
10159
10160
  /**
10160
10161
  * Component default class name and class prefix.
10161
10162
  */
10162
- const CLASSNAME$Z = 'lumx-combobox-state';
10163
+ const CLASSNAME$_ = 'lumx-combobox-state';
10163
10164
  const {
10164
10165
  block: block$M
10165
- } = bem(CLASSNAME$Z);
10166
+ } = bem(CLASSNAME$_);
10166
10167
 
10167
10168
  /**
10168
10169
  * Defines the props for the core ComboboxState template.
@@ -10335,16 +10336,16 @@ function partitionMulti(elements, predicates) {
10335
10336
  /**
10336
10337
  * Component display name.
10337
10338
  */
10338
- const COMPONENT_NAME$Z = 'GenericBlock';
10339
+ const COMPONENT_NAME$_ = 'GenericBlock';
10339
10340
 
10340
10341
  /**
10341
10342
  * Component default class name and class prefix.
10342
10343
  */
10343
- const CLASSNAME$Y = 'lumx-generic-block';
10344
+ const CLASSNAME$Z = 'lumx-generic-block';
10344
10345
  const {
10345
10346
  block: block$L,
10346
10347
  element: element$C
10347
- } = bem(CLASSNAME$Y);
10348
+ } = bem(CLASSNAME$Z);
10348
10349
 
10349
10350
  /**
10350
10351
  * Component default props.
@@ -10486,8 +10487,8 @@ const BaseGenericBlock = forwardRef((props, ref) => {
10486
10487
  }) : undefined
10487
10488
  });
10488
10489
  });
10489
- BaseGenericBlock.displayName = COMPONENT_NAME$Z;
10490
- BaseGenericBlock.className = CLASSNAME$Y;
10490
+ BaseGenericBlock.displayName = COMPONENT_NAME$_;
10491
+ BaseGenericBlock.className = CLASSNAME$Z;
10491
10492
  BaseGenericBlock.defaultProps = DEFAULT_PROPS$T;
10492
10493
  const GenericBlock = Object.assign(BaseGenericBlock, {
10493
10494
  Figure,
@@ -10566,18 +10567,18 @@ const ComboboxState = props => {
10566
10567
  Text
10567
10568
  });
10568
10569
  };
10569
- ComboboxState.displayName = COMPONENT_NAME$_;
10570
- ComboboxState.className = CLASSNAME$Z;
10570
+ ComboboxState.displayName = COMPONENT_NAME$$;
10571
+ ComboboxState.className = CLASSNAME$_;
10571
10572
 
10572
10573
  /**
10573
10574
  * Component display name.
10574
10575
  */
10575
- const COMPONENT_NAME$Y = 'ListDivider';
10576
+ const COMPONENT_NAME$Z = 'ListDivider';
10576
10577
 
10577
10578
  /**
10578
10579
  * Component default class name and class prefix.
10579
10580
  */
10580
- const CLASSNAME$X = 'lumx-list-divider';
10581
+ const CLASSNAME$Y = 'lumx-list-divider';
10581
10582
 
10582
10583
  /**
10583
10584
  * Component default props.
@@ -10601,11 +10602,11 @@ const ListDivider$1 = props => {
10601
10602
  ref: ref,
10602
10603
  role: "none",
10603
10604
  ...forwardedProps,
10604
- className: classnames(className, CLASSNAME$X)
10605
+ className: classnames(className, CLASSNAME$Y)
10605
10606
  });
10606
10607
  };
10607
- ListDivider$1.displayName = COMPONENT_NAME$Y;
10608
- ListDivider$1.className = CLASSNAME$X;
10608
+ ListDivider$1.displayName = COMPONENT_NAME$Z;
10609
+ ListDivider$1.className = CLASSNAME$Y;
10609
10610
  ListDivider$1.defaultProps = DEFAULT_PROPS$S;
10610
10611
 
10611
10612
  /**
@@ -10626,8 +10627,8 @@ const ListDivider = forwardRef((props, ref) => {
10626
10627
  ref
10627
10628
  });
10628
10629
  });
10629
- ListDivider.displayName = COMPONENT_NAME$Y;
10630
- ListDivider.className = CLASSNAME$X;
10630
+ ListDivider.displayName = COMPONENT_NAME$Z;
10631
+ ListDivider.className = CLASSNAME$Y;
10631
10632
  ListDivider.defaultProps = DEFAULT_PROPS$S;
10632
10633
 
10633
10634
  /**
@@ -10677,16 +10678,16 @@ const CommentBlockVariant = {
10677
10678
  /**
10678
10679
  * Component display name.
10679
10680
  */
10680
- const COMPONENT_NAME$X = 'CommentBlock';
10681
+ const COMPONENT_NAME$Y = 'CommentBlock';
10681
10682
 
10682
10683
  /**
10683
10684
  * Component default class name and class prefix.
10684
10685
  */
10685
- const CLASSNAME$W = 'lumx-comment-block';
10686
+ const CLASSNAME$X = 'lumx-comment-block';
10686
10687
  const {
10687
10688
  block: block$K,
10688
10689
  element: element$B
10689
- } = classNames.bem(CLASSNAME$W);
10690
+ } = classNames.bem(CLASSNAME$X);
10690
10691
 
10691
10692
  /**
10692
10693
  * Component default props.
@@ -10788,8 +10789,8 @@ const CommentBlock = forwardRef((props, ref) => {
10788
10789
  })]
10789
10790
  });
10790
10791
  });
10791
- CommentBlock.displayName = COMPONENT_NAME$X;
10792
- CommentBlock.className = CLASSNAME$W;
10792
+ CommentBlock.displayName = COMPONENT_NAME$Y;
10793
+ CommentBlock.className = CLASSNAME$X;
10793
10794
  CommentBlock.defaultProps = DEFAULT_PROPS$R;
10794
10795
 
10795
10796
  /**
@@ -10810,12 +10811,12 @@ const isDateValid = date => date instanceof Date && !Number.isNaN(date.getTime()
10810
10811
  /**
10811
10812
  * Component display name.
10812
10813
  */
10813
- const COMPONENT_NAME$W = 'DatePicker';
10814
+ const COMPONENT_NAME$X = 'DatePicker';
10814
10815
 
10815
10816
  /**
10816
10817
  * Component default class name and class prefix.
10817
10818
  */
10818
- const CLASSNAME$V = 'lumx-date-picker';
10819
+ const CLASSNAME$W = 'lumx-date-picker';
10819
10820
 
10820
10821
  /** Get first day of week for locale from the browser API */
10821
10822
  const getFromBrowser = locale => {
@@ -11035,7 +11036,7 @@ function formatDayNumber(locale, date) {
11035
11036
 
11036
11037
  const {
11037
11038
  element: element$A
11038
- } = classNames.bem(CLASSNAME$V);
11039
+ } = classNames.bem(CLASSNAME$W);
11039
11040
 
11040
11041
  /**
11041
11042
  * Defines the props of the component.
@@ -11044,7 +11045,7 @@ const {
11044
11045
  /**
11045
11046
  * Component display name.
11046
11047
  */
11047
- const COMPONENT_NAME$V = 'DatePickerControlled';
11048
+ const COMPONENT_NAME$W = 'DatePickerControlled';
11048
11049
 
11049
11050
  /**
11050
11051
  * DatePickerControlled component.
@@ -11129,7 +11130,7 @@ const DatePickerControlled = forwardRef((props, ref) => {
11129
11130
  const yearLabel = getYearDisplayName(locale);
11130
11131
  return /*#__PURE__*/jsxs("div", {
11131
11132
  ref: ref,
11132
- className: `${CLASSNAME$V}`,
11133
+ className: `${CLASSNAME$W}`,
11133
11134
  style: style,
11134
11135
  children: [/*#__PURE__*/jsx(Toolbar, {
11135
11136
  className: element$A('toolbar'),
@@ -11234,8 +11235,8 @@ const DatePickerControlled = forwardRef((props, ref) => {
11234
11235
  })]
11235
11236
  });
11236
11237
  });
11237
- DatePickerControlled.displayName = COMPONENT_NAME$V;
11238
- DatePickerControlled.className = CLASSNAME$V;
11238
+ DatePickerControlled.displayName = COMPONENT_NAME$W;
11239
+ DatePickerControlled.className = CLASSNAME$W;
11239
11240
 
11240
11241
  /**
11241
11242
  * DatePicker component.
@@ -11277,8 +11278,8 @@ const DatePicker = forwardRef((props, ref) => {
11277
11278
  onMonthChange: setSelectedMonth
11278
11279
  });
11279
11280
  });
11280
- DatePicker.displayName = COMPONENT_NAME$W;
11281
- DatePicker.className = CLASSNAME$V;
11281
+ DatePicker.displayName = COMPONENT_NAME$X;
11282
+ DatePicker.className = CLASSNAME$W;
11282
11283
 
11283
11284
  const useBooleanState = defaultValue => {
11284
11285
  const [booleanValue, setBoolean] = useState(defaultValue);
@@ -11291,7 +11292,7 @@ const useBooleanState = defaultValue => {
11291
11292
  /**
11292
11293
  * Component display name.
11293
11294
  */
11294
- const COMPONENT_NAME$U = 'DatePickerField';
11295
+ const COMPONENT_NAME$V = 'DatePickerField';
11295
11296
 
11296
11297
  /**
11297
11298
  * DatePickerField component.
@@ -11380,7 +11381,7 @@ const DatePickerField = forwardRef((props, ref) => {
11380
11381
  }) : null]
11381
11382
  });
11382
11383
  });
11383
- DatePickerField.displayName = COMPONENT_NAME$U;
11384
+ DatePickerField.displayName = COMPONENT_NAME$V;
11384
11385
 
11385
11386
  /**
11386
11387
  * Convenient hook to create interaction observers.
@@ -11676,16 +11677,16 @@ const useTransitionVisibility = (ref, isComponentVisible, timeout, onVisibilityC
11676
11677
  /**
11677
11678
  * Component display name.
11678
11679
  */
11679
- const COMPONENT_NAME$T = 'Dialog';
11680
+ const COMPONENT_NAME$U = 'Dialog';
11680
11681
 
11681
11682
  /**
11682
11683
  * Component default class name and class prefix.
11683
11684
  */
11684
- const CLASSNAME$U = 'lumx-dialog';
11685
+ const CLASSNAME$V = 'lumx-dialog';
11685
11686
  const {
11686
11687
  block: block$J,
11687
11688
  element: element$z
11688
- } = bem(CLASSNAME$U);
11689
+ } = bem(CLASSNAME$V);
11689
11690
 
11690
11691
  /**
11691
11692
  * Component default props.
@@ -11958,22 +11959,22 @@ const Dialog = forwardRef((props, ref) => {
11958
11959
  ...forwardedProps
11959
11960
  }) : null;
11960
11961
  });
11961
- Dialog.displayName = COMPONENT_NAME$T;
11962
- Dialog.className = CLASSNAME$U;
11962
+ Dialog.displayName = COMPONENT_NAME$U;
11963
+ Dialog.className = CLASSNAME$V;
11963
11964
  Dialog.defaultProps = DEFAULT_PROPS$P;
11964
11965
 
11965
11966
  /**
11966
11967
  * Component display name.
11967
11968
  */
11968
- const COMPONENT_NAME$S = 'Divider';
11969
+ const COMPONENT_NAME$T = 'Divider';
11969
11970
 
11970
11971
  /**
11971
11972
  * Component default class name and class prefix.
11972
11973
  */
11973
- const CLASSNAME$T = 'lumx-divider';
11974
+ const CLASSNAME$U = 'lumx-divider';
11974
11975
  const {
11975
11976
  block: block$I
11976
- } = bem(CLASSNAME$T);
11977
+ } = bem(CLASSNAME$U);
11977
11978
 
11978
11979
  /**
11979
11980
  * Divider component.
@@ -12025,22 +12026,22 @@ const Divider = forwardRef((props, ref) => {
12025
12026
  ...otherProps
12026
12027
  });
12027
12028
  });
12028
- Divider.displayName = COMPONENT_NAME$S;
12029
- Divider.className = CLASSNAME$T;
12029
+ Divider.displayName = COMPONENT_NAME$T;
12030
+ Divider.className = CLASSNAME$U;
12030
12031
  Divider.defaultProps = DEFAULT_PROPS$O;
12031
12032
 
12032
12033
  /**
12033
12034
  * Component display name.
12034
12035
  */
12035
- const COMPONENT_NAME$R = 'DragHandle';
12036
+ const COMPONENT_NAME$S = 'DragHandle';
12036
12037
 
12037
12038
  /**
12038
12039
  * Component default class name and class prefix.
12039
12040
  */
12040
- const CLASSNAME$S = 'lumx-drag-handle';
12041
+ const CLASSNAME$T = 'lumx-drag-handle';
12041
12042
  const {
12042
12043
  block: block$H
12043
- } = bem(CLASSNAME$S);
12044
+ } = bem(CLASSNAME$T);
12044
12045
 
12045
12046
  /**
12046
12047
  * DragHandle component.
@@ -12097,8 +12098,8 @@ const DragHandle = forwardRef((props, ref) => {
12097
12098
  ...otherProps
12098
12099
  });
12099
12100
  });
12100
- DragHandle.displayName = COMPONENT_NAME$R;
12101
- DragHandle.className = CLASSNAME$S;
12101
+ DragHandle.displayName = COMPONENT_NAME$S;
12102
+ DragHandle.className = CLASSNAME$T;
12102
12103
  DragHandle.defaultProps = DEFAULT_PROPS$N;
12103
12104
 
12104
12105
  const INITIAL_INDEX = -1;
@@ -12293,8 +12294,8 @@ const InternalList = forwardRef((props, ref) => {
12293
12294
  itemPadding: adjustedItemPadding
12294
12295
  });
12295
12296
  });
12296
- InternalList.displayName = COMPONENT_NAME$1c;
12297
- InternalList.className = CLASSNAME$1b;
12297
+ InternalList.displayName = COMPONENT_NAME$1d;
12298
+ InternalList.className = CLASSNAME$1c;
12298
12299
  InternalList.defaultProps = DEFAULT_PROPS$Y;
12299
12300
  const List = Object.assign(InternalList, {
12300
12301
  useKeyboardListNavigation
@@ -12344,16 +12345,16 @@ const useInfiniteScroll = (ref, callback, callbackOnMount = false, scrollTrigger
12344
12345
  /**
12345
12346
  * Component display name.
12346
12347
  */
12347
- const COMPONENT_NAME$Q = 'Dropdown';
12348
+ const COMPONENT_NAME$R = 'Dropdown';
12348
12349
 
12349
12350
  /**
12350
12351
  * Component default class name and class prefix.
12351
12352
  */
12352
- const CLASSNAME$R = 'lumx-dropdown';
12353
+ const CLASSNAME$S = 'lumx-dropdown';
12353
12354
  const {
12354
12355
  block: block$G,
12355
12356
  element: element$y
12356
- } = classNames.bem(CLASSNAME$R);
12357
+ } = classNames.bem(CLASSNAME$S);
12357
12358
 
12358
12359
  /**
12359
12360
  * Component default props.
@@ -12436,23 +12437,23 @@ const Dropdown = forwardRef((props, ref) => {
12436
12437
  })
12437
12438
  }) : null;
12438
12439
  });
12439
- Dropdown.displayName = COMPONENT_NAME$Q;
12440
- Dropdown.className = CLASSNAME$R;
12440
+ Dropdown.displayName = COMPONENT_NAME$R;
12441
+ Dropdown.className = CLASSNAME$S;
12441
12442
  Dropdown.defaultProps = DEFAULT_PROPS$M;
12442
12443
 
12443
12444
  /**
12444
12445
  * Component display name.
12445
12446
  */
12446
- const COMPONENT_NAME$P = 'ExpansionPanel';
12447
+ const COMPONENT_NAME$Q = 'ExpansionPanel';
12447
12448
 
12448
12449
  /**
12449
12450
  * Component default class name and class prefix.
12450
12451
  */
12451
- const CLASSNAME$Q = 'lumx-expansion-panel';
12452
+ const CLASSNAME$R = 'lumx-expansion-panel';
12452
12453
  const {
12453
12454
  block: block$F,
12454
12455
  element: element$x
12455
- } = bem(CLASSNAME$Q);
12456
+ } = bem(CLASSNAME$R);
12456
12457
 
12457
12458
  /**
12458
12459
  * Component default props.
@@ -12641,17 +12642,17 @@ const ExpansionPanel = forwardRef((props, ref) => {
12641
12642
  ...forwardedProps
12642
12643
  });
12643
12644
  });
12644
- ExpansionPanel.displayName = COMPONENT_NAME$P;
12645
- ExpansionPanel.className = CLASSNAME$Q;
12645
+ ExpansionPanel.displayName = COMPONENT_NAME$Q;
12646
+ ExpansionPanel.className = CLASSNAME$R;
12646
12647
  ExpansionPanel.defaultProps = DEFAULT_PROPS$L;
12647
12648
 
12648
- const COMPONENT_NAME$O = 'Flag';
12649
- const CLASSNAME$P = 'lumx-flag';
12649
+ const COMPONENT_NAME$P = 'Flag';
12650
+ const CLASSNAME$Q = 'lumx-flag';
12650
12651
  const DEFAULT_PROPS$K = {};
12651
12652
  const {
12652
12653
  block: block$E,
12653
12654
  element: element$w
12654
- } = bem(CLASSNAME$P);
12655
+ } = bem(CLASSNAME$Q);
12655
12656
 
12656
12657
  /**
12657
12658
  * Flag component.
@@ -12709,8 +12710,8 @@ const Flag = forwardRef((props, ref) => {
12709
12710
  Text
12710
12711
  });
12711
12712
  });
12712
- Flag.displayName = COMPONENT_NAME$O;
12713
- Flag.className = CLASSNAME$P;
12713
+ Flag.displayName = COMPONENT_NAME$P;
12714
+ Flag.className = CLASSNAME$Q;
12714
12715
  Flag.defaultProps = DEFAULT_PROPS$K;
12715
12716
 
12716
12717
  /** The maximum authorized heading level. */
@@ -12739,12 +12740,12 @@ const defaultContext = {
12739
12740
  /**
12740
12741
  * Component display name.
12741
12742
  */
12742
- const COMPONENT_NAME$N = 'Heading';
12743
+ const COMPONENT_NAME$O = 'Heading';
12743
12744
 
12744
12745
  /**
12745
12746
  * Component default class name and class prefix.
12746
12747
  */
12747
- const CLASSNAME$O = 'lumx-heading';
12748
+ const CLASSNAME$P = 'lumx-heading';
12748
12749
 
12749
12750
  /**
12750
12751
  * Component default props.
@@ -12769,7 +12770,7 @@ const getHeadingProps = (props, contextHeadingElement) => {
12769
12770
  return {
12770
12771
  ...otherProps,
12771
12772
  as: computedHeadingElement,
12772
- className: classnames(className, CLASSNAME$O),
12773
+ className: classnames(className, CLASSNAME$P),
12773
12774
  typography: typography || DEFAULT_TYPOGRAPHY_BY_LEVEL[computedHeadingElement]
12774
12775
  };
12775
12776
  };
@@ -12807,8 +12808,8 @@ const Heading = forwardRef((props, ref) => {
12807
12808
  children: children
12808
12809
  });
12809
12810
  });
12810
- Heading.displayName = COMPONENT_NAME$N;
12811
- Heading.className = CLASSNAME$O;
12811
+ Heading.displayName = COMPONENT_NAME$O;
12812
+ Heading.className = CLASSNAME$P;
12812
12813
  Heading.defaultProps = DEFAULT_PROPS$J;
12813
12814
 
12814
12815
  /**
@@ -12847,15 +12848,15 @@ const HeadingLevelProvider = ({
12847
12848
  /**
12848
12849
  * Component display name.
12849
12850
  */
12850
- const COMPONENT_NAME$M = 'Grid';
12851
+ const COMPONENT_NAME$N = 'Grid';
12851
12852
 
12852
12853
  /**
12853
12854
  * Component default class name and class prefix.
12854
12855
  */
12855
- const CLASSNAME$N = 'lumx-grid';
12856
+ const CLASSNAME$O = 'lumx-grid';
12856
12857
  const {
12857
12858
  block: block$D
12858
- } = classNames.bem(CLASSNAME$N);
12859
+ } = classNames.bem(CLASSNAME$O);
12859
12860
 
12860
12861
  /**
12861
12862
  * Component default props.
@@ -12886,7 +12887,7 @@ const Grid = forwardRef((props, ref) => {
12886
12887
  return /*#__PURE__*/jsx("div", {
12887
12888
  ref: ref,
12888
12889
  ...forwardedProps,
12889
- className: classNames.join(className, classNames.bem(`${CLASSNAME$N}-container`).block(), block$D({
12890
+ className: classNames.join(className, classNames.bem(`${CLASSNAME$O}-container`).block(), block$D({
12890
12891
  [`h-align-${hAlign}`]: Boolean(hAlign),
12891
12892
  [`v-align-${vAlign}`]: Boolean(vAlign),
12892
12893
  [`orientation-${orientation}`]: Boolean(orientation),
@@ -12896,22 +12897,22 @@ const Grid = forwardRef((props, ref) => {
12896
12897
  children: children
12897
12898
  });
12898
12899
  });
12899
- Grid.displayName = COMPONENT_NAME$M;
12900
- Grid.className = CLASSNAME$N;
12900
+ Grid.displayName = COMPONENT_NAME$N;
12901
+ Grid.className = CLASSNAME$O;
12901
12902
  Grid.defaultProps = DEFAULT_PROPS$I;
12902
12903
 
12903
12904
  /**
12904
12905
  * Component display name.
12905
12906
  */
12906
- const COMPONENT_NAME$L = 'GridItem';
12907
+ const COMPONENT_NAME$M = 'GridItem';
12907
12908
 
12908
12909
  /**
12909
12910
  * Component default class name and class prefix.
12910
12911
  */
12911
- const CLASSNAME$M = 'lumx-grid-item';
12912
+ const CLASSNAME$N = 'lumx-grid-item';
12912
12913
  const {
12913
12914
  block: block$C
12914
- } = classNames.bem(CLASSNAME$M);
12915
+ } = classNames.bem(CLASSNAME$N);
12915
12916
 
12916
12917
  /**
12917
12918
  * GridItem component.
@@ -12940,18 +12941,18 @@ const GridItem = forwardRef((props, ref) => {
12940
12941
  children: children
12941
12942
  });
12942
12943
  });
12943
- GridItem.displayName = COMPONENT_NAME$L;
12944
- GridItem.className = CLASSNAME$M;
12944
+ GridItem.displayName = COMPONENT_NAME$M;
12945
+ GridItem.className = CLASSNAME$N;
12945
12946
 
12946
12947
  /**
12947
12948
  * Component display name.
12948
12949
  */
12949
- const COMPONENT_NAME$K = 'GridColumn';
12950
+ const COMPONENT_NAME$L = 'GridColumn';
12950
12951
 
12951
12952
  /**
12952
12953
  * Component default class name and class prefix.
12953
12954
  */
12954
- const CLASSNAME$L = 'lumx-grid-column';
12955
+ const CLASSNAME$M = 'lumx-grid-column';
12955
12956
 
12956
12957
  /**
12957
12958
  * Component default props.
@@ -12981,7 +12982,7 @@ const GridColumn$1 = props => {
12981
12982
  return /*#__PURE__*/jsx(Component, {
12982
12983
  ...forwardedProps,
12983
12984
  ref: ref,
12984
- className: classnames(className, CLASSNAME$L),
12985
+ className: classnames(className, CLASSNAME$M),
12985
12986
  style: {
12986
12987
  ...style,
12987
12988
  ['--lumx-grid-column-item-min-width']: isInteger(itemMinWidth) && `${itemMinWidth}px`,
@@ -12991,8 +12992,8 @@ const GridColumn$1 = props => {
12991
12992
  children: children
12992
12993
  });
12993
12994
  };
12994
- GridColumn$1.displayName = COMPONENT_NAME$K;
12995
- GridColumn$1.className = CLASSNAME$L;
12995
+ GridColumn$1.displayName = COMPONENT_NAME$L;
12996
+ GridColumn$1.className = CLASSNAME$M;
12996
12997
  GridColumn$1.defaultProps = DEFAULT_PROPS$H;
12997
12998
 
12998
12999
  /**
@@ -13021,8 +13022,8 @@ const GridColumn = forwardRef((props, ref) => {
13021
13022
  ...props
13022
13023
  });
13023
13024
  });
13024
- GridColumn.displayName = COMPONENT_NAME$K;
13025
- GridColumn.className = CLASSNAME$L;
13025
+ GridColumn.displayName = COMPONENT_NAME$L;
13026
+ GridColumn.className = CLASSNAME$M;
13026
13027
  GridColumn.defaultProps = DEFAULT_PROPS$G;
13027
13028
 
13028
13029
  /**
@@ -13044,16 +13045,16 @@ const ImageBlockCaptionPosition = {
13044
13045
  /**
13045
13046
  * Component display name.
13046
13047
  */
13047
- const COMPONENT_NAME$J = 'ImageBlock';
13048
+ const COMPONENT_NAME$K = 'ImageBlock';
13048
13049
 
13049
13050
  /**
13050
13051
  * Component default class name and class prefix.
13051
13052
  */
13052
- const CLASSNAME$K = 'lumx-image-block';
13053
+ const CLASSNAME$L = 'lumx-image-block';
13053
13054
  const {
13054
13055
  block: block$B,
13055
13056
  element: element$v
13056
- } = bem(CLASSNAME$K);
13057
+ } = bem(CLASSNAME$L);
13057
13058
 
13058
13059
  /**
13059
13060
  * Component default props.
@@ -13114,7 +13115,7 @@ const ImageBlock$1 = props => {
13114
13115
  alt: alt || title
13115
13116
  }), /*#__PURE__*/jsx(ImageCaption, {
13116
13117
  as: "figcaption",
13117
- baseClassName: CLASSNAME$K,
13118
+ baseClassName: CLASSNAME$L,
13118
13119
  theme: theme,
13119
13120
  title: title,
13120
13121
  titleProps: titleProps,
@@ -13245,19 +13246,19 @@ const ImageBlock = forwardRef((props, ref) => {
13245
13246
  ImageCaption
13246
13247
  });
13247
13248
  });
13248
- ImageBlock.displayName = COMPONENT_NAME$J;
13249
- ImageBlock.className = CLASSNAME$K;
13249
+ ImageBlock.displayName = COMPONENT_NAME$K;
13250
+ ImageBlock.className = CLASSNAME$L;
13250
13251
  ImageBlock.defaultProps = DEFAULT_PROPS$F;
13251
13252
 
13252
13253
  /**
13253
13254
  * Component display name.
13254
13255
  */
13255
- const COMPONENT_NAME$I = 'ImageLightbox';
13256
+ const COMPONENT_NAME$J = 'ImageLightbox';
13256
13257
 
13257
13258
  /**
13258
13259
  * Component default class name and class prefix.
13259
13260
  */
13260
- const CLASSNAME$J = 'lumx-image-lightbox';
13261
+ const CLASSNAME$K = 'lumx-image-lightbox';
13261
13262
 
13262
13263
  /**
13263
13264
  * Observe element size (only works if it's size depends on the window size).
@@ -13503,7 +13504,7 @@ function useAnimateScroll(scrollAreaRef) {
13503
13504
 
13504
13505
  const {
13505
13506
  element: element$u
13506
- } = classNames.bem(CLASSNAME$J);
13507
+ } = classNames.bem(CLASSNAME$K);
13507
13508
  /** Internal image slide component for ImageLightbox */
13508
13509
  const ImageSlide = /*#__PURE__*/React__default.memo(props => {
13509
13510
  const {
@@ -13595,7 +13596,7 @@ const ImageSlide = /*#__PURE__*/React__default.memo(props => {
13595
13596
 
13596
13597
  const {
13597
13598
  element: element$t
13598
- } = classNames.bem(CLASSNAME$J);
13599
+ } = classNames.bem(CLASSNAME$K);
13599
13600
  /** Internal image slideshow component for ImageLightbox */
13600
13601
  const ImageSlideshow = ({
13601
13602
  activeImageIndex,
@@ -13835,7 +13836,7 @@ function useImageLightbox(props) {
13835
13836
  viewTransitionName: {
13836
13837
  source: currentImageRef,
13837
13838
  target: triggerImageRefs[currentIndex],
13838
- name: CLASSNAME$J
13839
+ name: CLASSNAME$K
13839
13840
  }
13840
13841
  });
13841
13842
  }
@@ -13887,7 +13888,7 @@ function useImageLightbox(props) {
13887
13888
  viewTransitionName: {
13888
13889
  source: triggerImage,
13889
13890
  target: currentImageRef,
13890
- name: CLASSNAME$J
13891
+ name: CLASSNAME$K
13891
13892
  }
13892
13893
  });
13893
13894
  }
@@ -13941,7 +13942,7 @@ const Inner = forwardRef((props, ref) => {
13941
13942
  }, [onClose]);
13942
13943
  return /*#__PURE__*/jsx(Lightbox, {
13943
13944
  ref: ref,
13944
- className: classNames.join(className, CLASSNAME$J),
13945
+ className: classNames.join(className, CLASSNAME$K),
13945
13946
  parentElement: parentElement,
13946
13947
  isOpen: isOpen,
13947
13948
  onClose: onClose,
@@ -13970,8 +13971,8 @@ const Inner = forwardRef((props, ref) => {
13970
13971
  })
13971
13972
  });
13972
13973
  });
13973
- Inner.displayName = COMPONENT_NAME$I;
13974
- Inner.className = CLASSNAME$J;
13974
+ Inner.displayName = COMPONENT_NAME$J;
13975
+ Inner.className = CLASSNAME$K;
13975
13976
 
13976
13977
  /**
13977
13978
  * ImageLightbox component.
@@ -13987,16 +13988,16 @@ const ImageLightbox = Object.assign(Inner, {
13987
13988
  /**
13988
13989
  * Component display name.
13989
13990
  */
13990
- const COMPONENT_NAME$H = 'InlineList';
13991
+ const COMPONENT_NAME$I = 'InlineList';
13991
13992
 
13992
13993
  /**
13993
13994
  * Component default class name and class prefix.
13994
13995
  */
13995
- const CLASSNAME$I = 'lumx-inline-list';
13996
+ const CLASSNAME$J = 'lumx-inline-list';
13996
13997
  const {
13997
13998
  block: block$A,
13998
13999
  element: element$s
13999
- } = bem(CLASSNAME$I);
14000
+ } = bem(CLASSNAME$J);
14000
14001
 
14001
14002
  /**
14002
14003
  * Component default props.
@@ -14048,8 +14049,8 @@ const InlineList$1 = props => {
14048
14049
  })
14049
14050
  );
14050
14051
  };
14051
- InlineList$1.displayName = COMPONENT_NAME$H;
14052
- InlineList$1.className = CLASSNAME$I;
14052
+ InlineList$1.displayName = COMPONENT_NAME$I;
14053
+ InlineList$1.className = CLASSNAME$J;
14053
14054
  InlineList$1.defaultProps = DEFAULT_PROPS$E;
14054
14055
 
14055
14056
  /**
@@ -14074,8 +14075,8 @@ const InlineList = forwardRef((props, ref) => {
14074
14075
  items: Children.toArray(children)
14075
14076
  });
14076
14077
  });
14077
- InlineList.displayName = COMPONENT_NAME$H;
14078
- InlineList.className = CLASSNAME$I;
14078
+ InlineList.displayName = COMPONENT_NAME$I;
14079
+ InlineList.className = CLASSNAME$J;
14079
14080
  InlineList.defaultProps = DEFAULT_PROPS$E;
14080
14081
 
14081
14082
  /**
@@ -14119,16 +14120,16 @@ InputLabel.defaultProps = InputLabel$1.defaultProps;
14119
14120
  /**
14120
14121
  * Component display name.
14121
14122
  */
14122
- const COMPONENT_NAME$G = 'Lightbox';
14123
+ const COMPONENT_NAME$H = 'Lightbox';
14123
14124
 
14124
14125
  /**
14125
14126
  * Component default class name and class prefix.
14126
14127
  */
14127
- const CLASSNAME$H = 'lumx-lightbox';
14128
+ const CLASSNAME$I = 'lumx-lightbox';
14128
14129
  const {
14129
14130
  block: block$z,
14130
14131
  element: element$r
14131
- } = bem(CLASSNAME$H);
14132
+ } = bem(CLASSNAME$I);
14132
14133
 
14133
14134
  /**
14134
14135
  * Lightbox component.
@@ -14312,8 +14313,8 @@ const Lightbox = forwardRef((props, ref) => {
14312
14313
  ...forwardedProps
14313
14314
  });
14314
14315
  });
14315
- Lightbox.displayName = COMPONENT_NAME$G;
14316
- Lightbox.className = CLASSNAME$H;
14316
+ Lightbox.displayName = COMPONENT_NAME$H;
14317
+ Lightbox.className = CLASSNAME$I;
14317
14318
 
14318
14319
  /**
14319
14320
  * Defines the props of the component.
@@ -14322,15 +14323,15 @@ Lightbox.className = CLASSNAME$H;
14322
14323
  /**
14323
14324
  * Component display name.
14324
14325
  */
14325
- const COMPONENT_NAME$F = 'Link';
14326
+ const COMPONENT_NAME$G = 'Link';
14326
14327
 
14327
14328
  /**
14328
14329
  * Component default class name and class prefix.
14329
14330
  */
14330
- const CLASSNAME$G = 'lumx-link';
14331
+ const CLASSNAME$H = 'lumx-link';
14331
14332
  const {
14332
14333
  block: block$y
14333
- } = bem(CLASSNAME$G);
14334
+ } = bem(CLASSNAME$H);
14334
14335
 
14335
14336
  /**
14336
14337
  * Link component.
@@ -14369,7 +14370,7 @@ const Link$1 = props => {
14369
14370
 
14370
14371
  const {
14371
14372
  element: element$q
14372
- } = classNames.bem(CLASSNAME$G);
14373
+ } = classNames.bem(CLASSNAME$H);
14373
14374
 
14374
14375
  /**
14375
14376
  * Defines the props of the component.
@@ -14415,22 +14416,22 @@ const Link = forwardRef((props, ref) => {
14415
14416
  }))
14416
14417
  });
14417
14418
  });
14418
- Link.displayName = COMPONENT_NAME$F;
14419
- Link.className = CLASSNAME$G;
14419
+ Link.displayName = COMPONENT_NAME$G;
14420
+ Link.className = CLASSNAME$H;
14420
14421
 
14421
14422
  /**
14422
14423
  * Component display name.
14423
14424
  */
14424
- const COMPONENT_NAME$E = 'LinkPreview';
14425
+ const COMPONENT_NAME$F = 'LinkPreview';
14425
14426
 
14426
14427
  /**
14427
14428
  * Component default class name and class prefix.
14428
14429
  */
14429
- const CLASSNAME$F = 'lumx-link-preview';
14430
+ const CLASSNAME$G = 'lumx-link-preview';
14430
14431
  const {
14431
14432
  block: block$x,
14432
14433
  element: element$p
14433
- } = bem(CLASSNAME$F);
14434
+ } = bem(CLASSNAME$G);
14434
14435
 
14435
14436
  /**
14436
14437
  * Component default props.
@@ -14556,8 +14557,8 @@ const LinkPreview = forwardRef((props, ref) => {
14556
14557
  ...forwardedProps
14557
14558
  });
14558
14559
  });
14559
- LinkPreview.displayName = COMPONENT_NAME$E;
14560
- LinkPreview.className = CLASSNAME$F;
14560
+ LinkPreview.displayName = COMPONENT_NAME$F;
14561
+ LinkPreview.className = CLASSNAME$G;
14561
14562
  LinkPreview.defaultProps = DEFAULT_PROPS$D;
14562
14563
 
14563
14564
  /**
@@ -14589,8 +14590,8 @@ const ListItemAction = Object.assign(forwardRefPolymorphic((props, ref) => {
14589
14590
  children
14590
14591
  });
14591
14592
  }), {
14592
- displayName: COMPONENT_NAME$19,
14593
- className: CLASSNAME$18,
14593
+ displayName: COMPONENT_NAME$1a,
14594
+ className: CLASSNAME$19,
14594
14595
  defaultProps: DEFAULT_PROPS$W
14595
14596
  });
14596
14597
 
@@ -14629,8 +14630,8 @@ const _ListItem = forwardRef((props, ref) => {
14629
14630
  handleClick: onItemSelected || props.onClick ? handleClick : undefined
14630
14631
  });
14631
14632
  });
14632
- _ListItem.displayName = COMPONENT_NAME$1a;
14633
- _ListItem.className = CLASSNAME$19;
14633
+ _ListItem.displayName = COMPONENT_NAME$1b;
14634
+ _ListItem.className = CLASSNAME$1a;
14634
14635
  _ListItem.defaultProps = DEFAULT_PROPS$X;
14635
14636
 
14636
14637
  /**
@@ -14644,12 +14645,12 @@ const ListItem = Object.assign(_ListItem, {
14644
14645
  /**
14645
14646
  * Component display name.
14646
14647
  */
14647
- const COMPONENT_NAME$D = 'ListSubheader';
14648
+ const COMPONENT_NAME$E = 'ListSubheader';
14648
14649
 
14649
14650
  /**
14650
14651
  * Component default class name and class prefix.
14651
14652
  */
14652
- const CLASSNAME$E = 'lumx-list-subheader';
14653
+ const CLASSNAME$F = 'lumx-list-subheader';
14653
14654
 
14654
14655
  /**
14655
14656
  * ListSubheader component.
@@ -14668,26 +14669,26 @@ const ListSubheader = forwardRef((props, ref) => {
14668
14669
  return /*#__PURE__*/jsx("li", {
14669
14670
  ref: ref,
14670
14671
  ...forwardedProps,
14671
- className: classNames.join(className, CLASSNAME$E),
14672
+ className: classNames.join(className, CLASSNAME$F),
14672
14673
  children: children
14673
14674
  });
14674
14675
  });
14675
- ListSubheader.displayName = COMPONENT_NAME$D;
14676
- ListSubheader.className = CLASSNAME$E;
14676
+ ListSubheader.displayName = COMPONENT_NAME$E;
14677
+ ListSubheader.className = CLASSNAME$F;
14677
14678
 
14678
14679
  /**
14679
14680
  * Component display name.
14680
14681
  */
14681
- const COMPONENT_NAME$C = 'Message';
14682
+ const COMPONENT_NAME$D = 'Message';
14682
14683
 
14683
14684
  /**
14684
14685
  * Component default class name and class prefix.
14685
14686
  */
14686
- const CLASSNAME$D = 'lumx-message';
14687
+ const CLASSNAME$E = 'lumx-message';
14687
14688
  const {
14688
14689
  block: block$w,
14689
14690
  element: element$o
14690
- } = bem(CLASSNAME$D);
14691
+ } = bem(CLASSNAME$E);
14691
14692
 
14692
14693
  /**
14693
14694
  * Associative map from message kind to color and icon.
@@ -14761,8 +14762,8 @@ const Message$1 = props => {
14761
14762
  })]
14762
14763
  });
14763
14764
  };
14764
- Message$1.displayName = COMPONENT_NAME$C;
14765
- Message$1.className = CLASSNAME$D;
14765
+ Message$1.displayName = COMPONENT_NAME$D;
14766
+ Message$1.className = CLASSNAME$E;
14766
14767
 
14767
14768
  /**
14768
14769
  * Message component.
@@ -14777,22 +14778,22 @@ const Message = forwardRef((props, ref) => {
14777
14778
  ref
14778
14779
  });
14779
14780
  });
14780
- Message.displayName = COMPONENT_NAME$C;
14781
- Message.className = CLASSNAME$D;
14781
+ Message.displayName = COMPONENT_NAME$D;
14782
+ Message.className = CLASSNAME$E;
14782
14783
 
14783
14784
  /**
14784
14785
  * Component display name.
14785
14786
  */
14786
- const COMPONENT_NAME$B = 'Mosaic';
14787
+ const COMPONENT_NAME$C = 'Mosaic';
14787
14788
 
14788
14789
  /**
14789
14790
  * Component default class name and class prefix.
14790
14791
  */
14791
- const CLASSNAME$C = 'lumx-mosaic';
14792
+ const CLASSNAME$D = 'lumx-mosaic';
14792
14793
  const {
14793
14794
  block: block$v,
14794
14795
  element: element$n
14795
- } = bem(CLASSNAME$C);
14796
+ } = bem(CLASSNAME$D);
14796
14797
 
14797
14798
  /**
14798
14799
  * Component default props.
@@ -14890,8 +14891,8 @@ const Mosaic = forwardRef((props, ref) => {
14890
14891
  ...forwardedProps
14891
14892
  });
14892
14893
  });
14893
- Mosaic.displayName = COMPONENT_NAME$B;
14894
- Mosaic.className = CLASSNAME$C;
14894
+ Mosaic.displayName = COMPONENT_NAME$C;
14895
+ Mosaic.className = CLASSNAME$D;
14895
14896
  Mosaic.defaultProps = DEFAULT_PROPS$C;
14896
14897
 
14897
14898
  const NavigationContext = /*#__PURE__*/createContext({
@@ -14911,16 +14912,16 @@ const ITEM_CLASSNAME = 'lumx-navigation-item';
14911
14912
  /**
14912
14913
  * Component display name.
14913
14914
  */
14914
- const COMPONENT_NAME$A = 'NavigationSection';
14915
+ const COMPONENT_NAME$B = 'NavigationSection';
14915
14916
 
14916
14917
  /**
14917
14918
  * Component default class name and class prefix.
14918
14919
  */
14919
- const CLASSNAME$B = 'lumx-navigation-section';
14920
+ const CLASSNAME$C = 'lumx-navigation-section';
14920
14921
  const {
14921
14922
  block: sectionBlock,
14922
14923
  element: sectionElement
14923
- } = classNames.bem(CLASSNAME$B);
14924
+ } = classNames.bem(CLASSNAME$C);
14924
14925
  const {
14925
14926
  block: itemBlock,
14926
14927
  element: itemElement
@@ -15006,8 +15007,8 @@ const NavigationSection = forwardRef((props, ref) => {
15006
15007
  }))]
15007
15008
  });
15008
15009
  });
15009
- NavigationSection.displayName = COMPONENT_NAME$A;
15010
- NavigationSection.className = CLASSNAME$B;
15010
+ NavigationSection.displayName = COMPONENT_NAME$B;
15011
+ NavigationSection.className = CLASSNAME$C;
15011
15012
 
15012
15013
  const {
15013
15014
  block: block$u,
@@ -15076,16 +15077,16 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
15076
15077
  /**
15077
15078
  * Component display name.
15078
15079
  */
15079
- const COMPONENT_NAME$z = 'Navigation';
15080
+ const COMPONENT_NAME$A = 'Navigation';
15080
15081
 
15081
15082
  /**
15082
15083
  * Component default class name and class prefix.
15083
15084
  */
15084
- const CLASSNAME$A = 'lumx-navigation';
15085
+ const CLASSNAME$B = 'lumx-navigation';
15085
15086
  const {
15086
15087
  block: block$t,
15087
15088
  element: element$l
15088
- } = classNames.bem(CLASSNAME$A);
15089
+ } = classNames.bem(CLASSNAME$B);
15089
15090
 
15090
15091
  /**
15091
15092
  * Component default props
@@ -15123,8 +15124,8 @@ const Navigation = forwardRef((props, ref) => {
15123
15124
  })
15124
15125
  });
15125
15126
  });
15126
- Navigation.displayName = COMPONENT_NAME$z;
15127
- Navigation.className = CLASSNAME$A;
15127
+ Navigation.displayName = COMPONENT_NAME$A;
15128
+ Navigation.className = CLASSNAME$B;
15128
15129
  Navigation.defaultProps = DEFAULT_PROPS$B;
15129
15130
 
15130
15131
  // Sub components
@@ -15156,16 +15157,16 @@ const NOTIFICATION_CONFIGURATION = {
15156
15157
  /**
15157
15158
  * Component display name.
15158
15159
  */
15159
- const COMPONENT_NAME$y = 'Notification';
15160
+ const COMPONENT_NAME$z = 'Notification';
15160
15161
 
15161
15162
  /**
15162
15163
  * Component default class name and class prefix.
15163
15164
  */
15164
- const CLASSNAME$z = 'lumx-notification';
15165
+ const CLASSNAME$A = 'lumx-notification';
15165
15166
  const {
15166
15167
  block: block$s,
15167
15168
  element: element$k
15168
- } = classNames.bem(CLASSNAME$z);
15169
+ } = classNames.bem(CLASSNAME$A);
15169
15170
 
15170
15171
  /**
15171
15172
  * Component default props.
@@ -15258,8 +15259,8 @@ const Notification = forwardRef((props, ref) => {
15258
15259
  })
15259
15260
  });
15260
15261
  });
15261
- Notification.displayName = COMPONENT_NAME$y;
15262
- Notification.className = CLASSNAME$z;
15262
+ Notification.displayName = COMPONENT_NAME$z;
15263
+ Notification.className = CLASSNAME$A;
15263
15264
  Notification.defaultProps = DEFAULT_PROPS$A;
15264
15265
 
15265
15266
  /**
@@ -15270,12 +15271,12 @@ Notification.defaultProps = DEFAULT_PROPS$A;
15270
15271
  /**
15271
15272
  * Component display name.
15272
15273
  */
15273
- const COMPONENT_NAME$x = 'PopoverDialog';
15274
+ const COMPONENT_NAME$y = 'PopoverDialog';
15274
15275
 
15275
15276
  /**
15276
15277
  * Component default class name and class prefix.
15277
15278
  */
15278
- const CLASSNAME$y = 'lumx-popover-dialog';
15279
+ const CLASSNAME$z = 'lumx-popover-dialog';
15279
15280
 
15280
15281
  /**
15281
15282
  * Component default props.
@@ -15301,7 +15302,7 @@ const PopoverDialog = forwardRef((props, ref) => {
15301
15302
  return /*#__PURE__*/jsx(Popover, {
15302
15303
  ...forwardedProps,
15303
15304
  ref: ref,
15304
- className: classNames.join(className, CLASSNAME$y),
15305
+ className: classNames.join(className, CLASSNAME$z),
15305
15306
  role: "dialog",
15306
15307
  "aria-modal": "true"
15307
15308
  /**
@@ -15318,23 +15319,23 @@ const PopoverDialog = forwardRef((props, ref) => {
15318
15319
  })
15319
15320
  });
15320
15321
  });
15321
- PopoverDialog.displayName = COMPONENT_NAME$x;
15322
- PopoverDialog.className = CLASSNAME$y;
15322
+ PopoverDialog.displayName = COMPONENT_NAME$y;
15323
+ PopoverDialog.className = CLASSNAME$z;
15323
15324
  PopoverDialog.defaultProps = DEFAULT_PROPS$z;
15324
15325
 
15325
15326
  /**
15326
15327
  * Component display name.
15327
15328
  */
15328
- const COMPONENT_NAME$w = 'PostBlock';
15329
+ const COMPONENT_NAME$x = 'PostBlock';
15329
15330
 
15330
15331
  /**
15331
15332
  * Component default class name and class prefix.
15332
15333
  */
15333
- const CLASSNAME$x = 'lumx-post-block';
15334
+ const CLASSNAME$y = 'lumx-post-block';
15334
15335
  const {
15335
15336
  block: block$r,
15336
15337
  element: element$j
15337
- } = classNames.bem(CLASSNAME$x);
15338
+ } = classNames.bem(CLASSNAME$y);
15338
15339
 
15339
15340
  /**
15340
15341
  * Component default props.
@@ -15419,23 +15420,23 @@ const PostBlock = forwardRef((props, ref) => {
15419
15420
  })]
15420
15421
  });
15421
15422
  });
15422
- PostBlock.displayName = COMPONENT_NAME$w;
15423
- PostBlock.className = CLASSNAME$x;
15423
+ PostBlock.displayName = COMPONENT_NAME$x;
15424
+ PostBlock.className = CLASSNAME$y;
15424
15425
  PostBlock.defaultProps = DEFAULT_PROPS$y;
15425
15426
 
15426
15427
  /**
15427
15428
  * Component display name.
15428
15429
  */
15429
- const COMPONENT_NAME$v = 'ProgressLinear';
15430
+ const COMPONENT_NAME$w = 'ProgressLinear';
15430
15431
 
15431
15432
  /**
15432
15433
  * Component default class name and class prefix.
15433
15434
  */
15434
- const CLASSNAME$w = 'lumx-progress-linear';
15435
+ const CLASSNAME$x = 'lumx-progress-linear';
15435
15436
  const {
15436
15437
  block: block$q,
15437
15438
  element: element$i
15438
- } = bem(CLASSNAME$w);
15439
+ } = bem(CLASSNAME$x);
15439
15440
 
15440
15441
  /**
15441
15442
  * Component default props.
@@ -15492,8 +15493,8 @@ const ProgressLinear = forwardRef((props, ref) => {
15492
15493
  ...otherProps
15493
15494
  });
15494
15495
  });
15495
- ProgressLinear.displayName = COMPONENT_NAME$v;
15496
- ProgressLinear.className = CLASSNAME$w;
15496
+ ProgressLinear.displayName = COMPONENT_NAME$w;
15497
+ ProgressLinear.className = CLASSNAME$x;
15497
15498
  ProgressLinear.defaultProps = DEFAULT_PROPS$x;
15498
15499
 
15499
15500
  /* eslint-disable react/no-unknown-property */
@@ -15501,16 +15502,16 @@ ProgressLinear.defaultProps = DEFAULT_PROPS$x;
15501
15502
  /**
15502
15503
  * Component display name.
15503
15504
  */
15504
- const COMPONENT_NAME$u = 'ProgressCircular';
15505
+ const COMPONENT_NAME$v = 'ProgressCircular';
15505
15506
 
15506
15507
  /**
15507
15508
  * Component default class name and class prefix.
15508
15509
  */
15509
- const CLASSNAME$v = 'lumx-progress-circular';
15510
+ const CLASSNAME$w = 'lumx-progress-circular';
15510
15511
  const {
15511
15512
  block: block$p,
15512
15513
  element: element$h
15513
- } = bem(CLASSNAME$v);
15514
+ } = bem(CLASSNAME$w);
15514
15515
 
15515
15516
  /**
15516
15517
  * Component default props.
@@ -15594,8 +15595,8 @@ const ProgressCircular = forwardRef((props, ref) => {
15594
15595
  }
15595
15596
  });
15596
15597
  });
15597
- ProgressCircular.displayName = COMPONENT_NAME$u;
15598
- ProgressCircular.className = CLASSNAME$v;
15598
+ ProgressCircular.displayName = COMPONENT_NAME$v;
15599
+ ProgressCircular.className = CLASSNAME$w;
15599
15600
  ProgressCircular.defaultProps = DEFAULT_PROPS$w;
15600
15601
 
15601
15602
  const ProgressVariant = {
@@ -15610,15 +15611,15 @@ const ProgressVariant = {
15610
15611
  /**
15611
15612
  * Component display name.
15612
15613
  */
15613
- const COMPONENT_NAME$t = 'Progress';
15614
+ const COMPONENT_NAME$u = 'Progress';
15614
15615
 
15615
15616
  /**
15616
15617
  * Component default class name and class prefix.
15617
15618
  */
15618
- const CLASSNAME$u = 'lumx-progress';
15619
+ const CLASSNAME$v = 'lumx-progress';
15619
15620
  const {
15620
15621
  block: block$o
15621
- } = classNames.bem(CLASSNAME$u);
15622
+ } = classNames.bem(CLASSNAME$v);
15622
15623
 
15623
15624
  /**
15624
15625
  * Component default props.
@@ -15657,8 +15658,8 @@ const Progress = forwardRef((props, ref) => {
15657
15658
  })]
15658
15659
  });
15659
15660
  });
15660
- Progress.displayName = COMPONENT_NAME$t;
15661
- Progress.className = CLASSNAME$u;
15661
+ Progress.displayName = COMPONENT_NAME$u;
15662
+ Progress.className = CLASSNAME$v;
15662
15663
  Progress.defaultProps = DEFAULT_PROPS$v;
15663
15664
 
15664
15665
  const INIT_STATE = {
@@ -15842,16 +15843,16 @@ ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$u;
15842
15843
  /**
15843
15844
  * Component display name.
15844
15845
  */
15845
- const COMPONENT_NAME$s = 'ProgressTracker';
15846
+ const COMPONENT_NAME$t = 'ProgressTracker';
15846
15847
 
15847
15848
  /**
15848
15849
  * Component default class name and class prefix.
15849
15850
  */
15850
- const CLASSNAME$t = 'lumx-progress-tracker';
15851
+ const CLASSNAME$u = 'lumx-progress-tracker';
15851
15852
  const {
15852
15853
  block: block$n,
15853
15854
  element: element$g
15854
- } = classNames.bem(CLASSNAME$t);
15855
+ } = classNames.bem(CLASSNAME$u);
15855
15856
 
15856
15857
  /**
15857
15858
  * Component default props.
@@ -15908,23 +15909,23 @@ const ProgressTracker = forwardRef((props, ref) => {
15908
15909
  })]
15909
15910
  });
15910
15911
  });
15911
- ProgressTracker.displayName = COMPONENT_NAME$s;
15912
- ProgressTracker.className = CLASSNAME$t;
15912
+ ProgressTracker.displayName = COMPONENT_NAME$t;
15913
+ ProgressTracker.className = CLASSNAME$u;
15913
15914
  ProgressTracker.defaultProps = DEFAULT_PROPS$t;
15914
15915
 
15915
15916
  /**
15916
15917
  * Component display name.
15917
15918
  */
15918
- const COMPONENT_NAME$r = 'ProgressTrackerStep';
15919
+ const COMPONENT_NAME$s = 'ProgressTrackerStep';
15919
15920
 
15920
15921
  /**
15921
15922
  * Component default class name and class prefix.
15922
15923
  */
15923
- const CLASSNAME$s = 'lumx-progress-tracker-step';
15924
+ const CLASSNAME$t = 'lumx-progress-tracker-step';
15924
15925
  const {
15925
15926
  block: block$m,
15926
15927
  element: element$f
15927
- } = classNames.bem(CLASSNAME$s);
15928
+ } = classNames.bem(CLASSNAME$t);
15928
15929
 
15929
15930
  /**
15930
15931
  * Component default props.
@@ -16022,22 +16023,22 @@ const ProgressTrackerStep = forwardRef((props, ref) => {
16022
16023
  })]
16023
16024
  });
16024
16025
  });
16025
- ProgressTrackerStep.displayName = COMPONENT_NAME$r;
16026
- ProgressTrackerStep.className = CLASSNAME$s;
16026
+ ProgressTrackerStep.displayName = COMPONENT_NAME$s;
16027
+ ProgressTrackerStep.className = CLASSNAME$t;
16027
16028
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$s;
16028
16029
 
16029
16030
  /**
16030
16031
  * Component display name.
16031
16032
  */
16032
- const COMPONENT_NAME$q = 'ProgressTrackerStepPanel';
16033
+ const COMPONENT_NAME$r = 'ProgressTrackerStepPanel';
16033
16034
 
16034
16035
  /**
16035
16036
  * Component default class name and class prefix.
16036
16037
  */
16037
- const CLASSNAME$r = `lumx-step-panel`;
16038
+ const CLASSNAME$s = `lumx-step-panel`;
16038
16039
  const {
16039
16040
  block: block$l
16040
- } = classNames.bem(CLASSNAME$r);
16041
+ } = classNames.bem(CLASSNAME$s);
16041
16042
 
16042
16043
  /**
16043
16044
  * Component default props.
@@ -16076,23 +16077,23 @@ const ProgressTrackerStepPanel = forwardRef((props, ref) => {
16076
16077
  children: (!state?.isLazy || isActive) && children
16077
16078
  });
16078
16079
  });
16079
- ProgressTrackerStepPanel.displayName = COMPONENT_NAME$q;
16080
- ProgressTrackerStepPanel.className = CLASSNAME$r;
16080
+ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$r;
16081
+ ProgressTrackerStepPanel.className = CLASSNAME$s;
16081
16082
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$r;
16082
16083
 
16083
16084
  /**
16084
16085
  * Component display name.
16085
16086
  */
16086
- const COMPONENT_NAME$p = 'RadioButton';
16087
+ const COMPONENT_NAME$q = 'RadioButton';
16087
16088
 
16088
16089
  /**
16089
16090
  * Component default class name and class prefix.
16090
16091
  */
16091
- const CLASSNAME$q = 'lumx-radio-button';
16092
+ const CLASSNAME$r = 'lumx-radio-button';
16092
16093
  const {
16093
16094
  block: block$k,
16094
16095
  element: element$e
16095
- } = bem(CLASSNAME$q);
16096
+ } = bem(CLASSNAME$r);
16096
16097
 
16097
16098
  /**
16098
16099
  * RadioButton component.
@@ -16235,19 +16236,19 @@ const RadioButton = forwardRef((props, ref) => {
16235
16236
  inputId
16236
16237
  });
16237
16238
  });
16238
- RadioButton.displayName = COMPONENT_NAME$p;
16239
- RadioButton.className = CLASSNAME$q;
16239
+ RadioButton.displayName = COMPONENT_NAME$q;
16240
+ RadioButton.className = CLASSNAME$r;
16240
16241
  RadioButton.defaultProps = DEFAULT_PROPS$q;
16241
16242
 
16242
16243
  /**
16243
16244
  * Component display name.
16244
16245
  */
16245
- const COMPONENT_NAME$o = 'RadioGroup';
16246
+ const COMPONENT_NAME$p = 'RadioGroup';
16246
16247
 
16247
16248
  /**
16248
16249
  * Component default class name and class prefix.
16249
16250
  */
16250
- const CLASSNAME$p = 'lumx-radio-group';
16251
+ const CLASSNAME$q = 'lumx-radio-group';
16251
16252
 
16252
16253
  /**
16253
16254
  * Component default props.
@@ -16270,12 +16271,12 @@ const RadioGroup$1 = props => {
16270
16271
  return /*#__PURE__*/jsx("div", {
16271
16272
  ref: ref,
16272
16273
  ...forwardedProps,
16273
- className: classnames(className, CLASSNAME$p),
16274
+ className: classnames(className, CLASSNAME$q),
16274
16275
  children: children
16275
16276
  });
16276
16277
  };
16277
- RadioGroup$1.displayName = COMPONENT_NAME$o;
16278
- RadioGroup$1.className = CLASSNAME$p;
16278
+ RadioGroup$1.displayName = COMPONENT_NAME$p;
16279
+ RadioGroup$1.className = CLASSNAME$q;
16279
16280
  RadioGroup$1.defaultProps = DEFAULT_PROPS$p;
16280
16281
 
16281
16282
  /**
@@ -16302,8 +16303,8 @@ const RadioGroup = forwardRef((props, ref) => {
16302
16303
  ...forwardedProps
16303
16304
  });
16304
16305
  });
16305
- RadioGroup.displayName = COMPONENT_NAME$o;
16306
- RadioGroup.className = CLASSNAME$p;
16306
+ RadioGroup.displayName = COMPONENT_NAME$p;
16307
+ RadioGroup.className = CLASSNAME$q;
16307
16308
 
16308
16309
  /**
16309
16310
  * Listen on element focus to store the focus status.
@@ -16330,11 +16331,11 @@ function useListenFocus(ref) {
16330
16331
  }
16331
16332
 
16332
16333
  /** The default class name and classes prefix for this component. */
16333
- const CLASSNAME$o = 'lumx-select';
16334
+ const CLASSNAME$p = 'lumx-select';
16334
16335
  const {
16335
16336
  block: block$j,
16336
16337
  element: element$d
16337
- } = classNames.bem(CLASSNAME$o);
16338
+ } = classNames.bem(CLASSNAME$p);
16338
16339
  const WithSelectContext = (SelectElement, props, ref) => {
16339
16340
  const defaultTheme = useTheme() || Theme$1.light;
16340
16341
  const {
@@ -16450,14 +16451,14 @@ const SelectVariant = {
16450
16451
  };
16451
16452
 
16452
16453
  /** The display name of the component. */
16453
- const COMPONENT_NAME$n = 'Select';
16454
+ const COMPONENT_NAME$o = 'Select';
16454
16455
 
16455
16456
  /** The default class name and classes prefix for this component. */
16456
- const CLASSNAME$n = 'lumx-select';
16457
+ const CLASSNAME$o = 'lumx-select';
16457
16458
  const {
16458
16459
  block: block$i,
16459
16460
  element: element$c
16460
- } = classNames.bem(CLASSNAME$n);
16461
+ } = classNames.bem(CLASSNAME$o);
16461
16462
 
16462
16463
  /** The default value of props. */
16463
16464
  const DEFAULT_PROPS$o = {
@@ -16594,20 +16595,20 @@ const Select = forwardRef((props, ref) => {
16594
16595
  isEmpty: isEmpty$1
16595
16596
  }, ref);
16596
16597
  });
16597
- Select.displayName = COMPONENT_NAME$n;
16598
- Select.className = CLASSNAME$n;
16598
+ Select.displayName = COMPONENT_NAME$o;
16599
+ Select.className = CLASSNAME$o;
16599
16600
  Select.defaultProps = DEFAULT_PROPS$o;
16600
- Select.className = CLASSNAME$n;
16601
+ Select.className = CLASSNAME$o;
16601
16602
 
16602
16603
  /** The display name of the component. */
16603
- const COMPONENT_NAME$m = 'Select';
16604
+ const COMPONENT_NAME$n = 'Select';
16604
16605
 
16605
16606
  /** The default class name and classes prefix for this component. */
16606
- const CLASSNAME$m = 'lumx-select';
16607
+ const CLASSNAME$n = 'lumx-select';
16607
16608
  const {
16608
16609
  block: block$h,
16609
16610
  element: element$b
16610
- } = classNames.bem(CLASSNAME$m);
16611
+ } = classNames.bem(CLASSNAME$n);
16611
16612
 
16612
16613
  /** The default value of props. */
16613
16614
  const DEFAULT_PROPS$n = {
@@ -16691,13 +16692,13 @@ const SelectMultipleField = props => {
16691
16692
  children: placeholder
16692
16693
  })
16693
16694
  }), (isValid || hasError) && /*#__PURE__*/jsx("div", {
16694
- className: `${CLASSNAME$m}__input-validity`,
16695
+ className: `${CLASSNAME$n}__input-validity`,
16695
16696
  children: /*#__PURE__*/jsx(Icon, {
16696
16697
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
16697
16698
  size: Size$1.xxs
16698
16699
  })
16699
16700
  }), /*#__PURE__*/jsx("div", {
16700
- className: `${CLASSNAME$m}__input-indicator`,
16701
+ className: `${CLASSNAME$n}__input-indicator`,
16701
16702
  children: /*#__PURE__*/jsx(Icon, {
16702
16703
  icon: mdiMenuDown,
16703
16704
  size: Size$1.s
@@ -16748,26 +16749,67 @@ const SelectMultiple = forwardRef((props, ref) => {
16748
16749
  isMultiple: true
16749
16750
  }, ref);
16750
16751
  });
16751
- SelectMultiple.displayName = COMPONENT_NAME$m;
16752
- SelectMultiple.className = CLASSNAME$m;
16752
+ SelectMultiple.displayName = COMPONENT_NAME$n;
16753
+ SelectMultiple.className = CLASSNAME$n;
16753
16754
  SelectMultiple.defaultProps = DEFAULT_PROPS$n;
16754
16755
 
16755
16756
  /**
16756
- * Get the display name for a single option value.
16757
+ * Find the option whose id matches the given value.
16757
16758
  *
16758
- * Resolves the option's display name by trying `getOptionName` first,
16759
- * then falling back to `getOptionId`, returning `''` for nullish values.
16759
+ * Used by Select* wrappers to resolve a selection event (which carries the option id
16760
+ * as `selectedOption.value`) back to the original option object.
16761
+ *
16762
+ * @param options The list of options.
16763
+ * @param getOptionId Selector returning the option id (matches `<Combobox.Option value>`).
16764
+ * @param id The id to match against.
16765
+ * @return The matching option, or `undefined` if none is found / inputs are nullish.
16760
16766
  */
16761
- function getOptionDisplayName(value, getOptionName, getOptionId) {
16762
- if (value === undefined || value === null) return '';
16763
- if (getOptionName) {
16764
- const name = getWithSelector(getOptionName, value);
16765
- if (name != null) return String(name);
16767
+ function findOptionById(options, getOptionId, id) {
16768
+ if (id == null) return undefined;
16769
+ return options?.find(option => getWithSelector(getOptionId, option) === id);
16770
+ }
16771
+
16772
+ /**
16773
+ * Compute the next selection state after a user toggles an option.
16774
+ *
16775
+ * Single-mode behaviour (`isMultiple=false`):
16776
+ * - Returns the option matched by id (or `undefined` if none matches the id —
16777
+ * e.g. when the consumer triggers a custom action via `beforeOptions`).
16778
+ *
16779
+ * Multi-mode behaviour (`isMultiple=true`):
16780
+ * - If the option is already in the current value array → returns a new array with it removed.
16781
+ * - Otherwise → returns a new array with the option appended.
16782
+ * - If the id matches no option in `options` (e.g. custom actions), the current array is returned unchanged.
16783
+ *
16784
+ * Pure function: never mutates `currentValue`.
16785
+ *
16786
+ * @param options The list of options.
16787
+ * @param getOptionId Selector returning the option id (matches `<Combobox.Option value>`).
16788
+ * @param currentValue Current selection (option, array of options, or undefined).
16789
+ * @param selectedOptionId Id of the option the user just selected.
16790
+ * @param isMultiple Whether to use multi-select semantics.
16791
+ * @return The new selection — `O | undefined` in single mode, `O[]` in multi mode.
16792
+ */
16793
+ function toggleSelection(options, getOptionId, currentValue, selectedOptionId, isMultiple) {
16794
+ const newOption = findOptionById(options, getOptionId, selectedOptionId);
16795
+ if (!isMultiple) {
16796
+ // Single mode — return the matched option (or undefined when nothing matches).
16797
+ return newOption;
16766
16798
  }
16767
- if (getOptionId) {
16768
- return String(getWithSelector(getOptionId, value));
16799
+
16800
+ // Multi mode — toggle membership in the current array.
16801
+ const currentArray = Array.isArray(currentValue) ? currentValue : [];
16802
+ const existingIndex = currentArray.findIndex(item => getWithSelector(getOptionId, item) === selectedOptionId);
16803
+ if (existingIndex === -1) {
16804
+ // Skip if no matching option found (e.g. custom action items).
16805
+ if (!newOption) return currentArray;
16806
+ return [...currentArray, newOption];
16769
16807
  }
16770
- return '';
16808
+
16809
+ // Remove option (toggle off).
16810
+ const updated = [...currentArray];
16811
+ updated.splice(existingIndex, 1);
16812
+ return updated;
16771
16813
  }
16772
16814
 
16773
16815
  /**
@@ -16838,6 +16880,311 @@ function renderSelectOptions(props, components) {
16838
16880
  });
16839
16881
  }
16840
16882
 
16883
+ /**
16884
+ * Component display name.
16885
+ */
16886
+ const COMPONENT_NAME$m = 'SelectButton';
16887
+
16888
+ /**
16889
+ * Component default class name.
16890
+ */
16891
+ const CLASSNAME$m = 'lumx-select-button';
16892
+
16893
+ /**
16894
+ * SelectButton core template.
16895
+ * Renders a Combobox with a button trigger and a dropdown list of options.
16896
+ *
16897
+ * Framework-specific components are passed as a second argument by the React/Vue wrappers.
16898
+ *
16899
+ * @param props Component props.
16900
+ * @param components Injected framework-specific components.
16901
+ * @return JSX element.
16902
+ */
16903
+ const SelectButton$2 = (props, {
16904
+ Combobox,
16905
+ InfiniteScroll
16906
+ }) => {
16907
+ const {
16908
+ options,
16909
+ getOptionId,
16910
+ getOptionName,
16911
+ getOptionDescription,
16912
+ renderOption,
16913
+ getSectionId,
16914
+ renderSectionTitle,
16915
+ value,
16916
+ isMultiselectable,
16917
+ label,
16918
+ labelDisplayMode,
16919
+ buttonProps,
16920
+ popoverProps,
16921
+ listProps,
16922
+ handleSelect,
16923
+ listStatus = 'idle',
16924
+ translations,
16925
+ onOpen,
16926
+ onLoadMore,
16927
+ infiniteScrollOptions
16928
+ } = props;
16929
+ const isFullLoading = listStatus === 'loading';
16930
+ const isLoadingMore = listStatus === 'loadingMore';
16931
+ const isError = listStatus === 'error';
16932
+
16933
+ /*
16934
+ * Display value: castArray normalizes single/multi value to an array, then resolve
16935
+ * each option to its name and join with `, `. Falsy entries (undefined, empty names)
16936
+ * are filtered out so partial state still renders cleanly.
16937
+ */
16938
+ const displayValue = value != null ? castArray(value).map(v => v != null && getWithSelector(getOptionName, v)).filter(Boolean).join(', ') : '';
16939
+ return /*#__PURE__*/jsxs(Combobox.Provider, {
16940
+ onOpen: onOpen,
16941
+ children: [/*#__PURE__*/jsx(Combobox.Button, {
16942
+ ...buttonProps,
16943
+ label: label,
16944
+ value: displayValue,
16945
+ onSelect: handleSelect,
16946
+ labelDisplayMode: labelDisplayMode
16947
+ }), /*#__PURE__*/jsxs(Combobox.Popover, {
16948
+ fitToAnchorWidth: "minWidth",
16949
+ fitWithinViewportHeight: true,
16950
+ placement: "bottom-start",
16951
+ ...popoverProps,
16952
+ children: [/*#__PURE__*/jsxs(Combobox.List, {
16953
+ ...listProps,
16954
+ "aria-label": label,
16955
+ "aria-multiselectable": isMultiselectable || undefined,
16956
+ children: [isFullLoading ? /*#__PURE__*/jsx(Combobox.OptionSkeleton, {
16957
+ count: 3
16958
+ }) : renderSelectOptions({
16959
+ options,
16960
+ getOptionId,
16961
+ getOptionName,
16962
+ getOptionDescription,
16963
+ renderOption,
16964
+ getSectionId,
16965
+ renderSectionTitle,
16966
+ selected: value
16967
+ }, {
16968
+ Combobox
16969
+ }), onLoadMore && InfiniteScroll && /*#__PURE__*/jsx(InfiniteScroll, {
16970
+ callback: () => {
16971
+ // Guard: prevent firing during loading or error states to avoid duplicate fetches.
16972
+ if (listStatus && listStatus !== 'idle') return;
16973
+ onLoadMore();
16974
+ },
16975
+ options: infiniteScrollOptions
16976
+ }), isLoadingMore && /*#__PURE__*/jsx(Combobox.OptionSkeleton, {
16977
+ count: 1
16978
+ })]
16979
+ }), /*#__PURE__*/jsx(Combobox.State, {
16980
+ loadingMessage: translations?.loadingMessage,
16981
+ emptyMessage: translations?.emptyMessage,
16982
+ nbOptionMessage: translations?.nbOptionMessage,
16983
+ errorMessage: isError ? translations?.errorMessage : undefined,
16984
+ errorTryReloadMessage: isError ? translations?.errorTryReloadMessage : undefined
16985
+ })]
16986
+ })]
16987
+ });
16988
+ };
16989
+ SelectButton$2.displayName = COMPONENT_NAME$m;
16990
+ SelectButton$2.className = CLASSNAME$m;
16991
+
16992
+ /**
16993
+ * Adapts a React `renderOption` callback returning a `<Combobox.Option>` into the
16994
+ * `renderOption` shape expected by the core Select* templates.
16995
+ *
16996
+ * Used by both `SelectTextField` and `SelectButton` React wrappers.
16997
+ *
16998
+ * Behavior:
16999
+ * - If `renderOption` is `undefined`, returns `undefined` (no custom rendering).
17000
+ * - If the consumer returns a `<Combobox.Option>`, its props/children are merged with the
17001
+ * core-computed `value` / `isSelected` / `description` / `key`.
17002
+ * - If the consumer returns anything else, returns `null` (skips the option).
17003
+ *
17004
+ * @param renderOption Consumer-provided render function.
17005
+ * @return The wrapped `renderOption` callback or `undefined`.
17006
+ */
17007
+ function wrapRenderOption(renderOption) {
17008
+ if (!renderOption) return undefined;
17009
+ return (option, {
17010
+ index,
17011
+ value: optionValue,
17012
+ isSelected,
17013
+ description
17014
+ }) => {
17015
+ const node = renderOption(option, index);
17016
+ if (!isComponentType(ComboboxOption)(node)) {
17017
+ return null;
17018
+ }
17019
+ const {
17020
+ children,
17021
+ ...customProps
17022
+ } = node.props;
17023
+ return /*#__PURE__*/jsx(ComboboxOption, {
17024
+ ...customProps,
17025
+ value: optionValue,
17026
+ isSelected: isSelected,
17027
+ description: description,
17028
+ children: children
17029
+ }, optionValue);
17030
+ };
17031
+ }
17032
+
17033
+ const DefaultButton = forwardRef((props, ref) => /*#__PURE__*/jsx(Button, {
17034
+ rightIcon: mdiMenuDown,
17035
+ ...props,
17036
+ ref: ref
17037
+ }));
17038
+
17039
+ /** Keys managed internally — never forwarded to the trigger element. */
17040
+
17041
+ /** Select-specific props common to both single and multi modes. */
17042
+
17043
+ /**
17044
+ * Forwarded trigger props for a given element `E`, minus the keys that the
17045
+ * component manages internally.
17046
+ */
17047
+
17048
+ /**
17049
+ * Common base — Select-specific props plus the ARIA / label / popover layer.
17050
+ * `as`, `ref`, `selectionType`, `value`, `onChange` are intentionally hoisted
17051
+ * to the top-level `SelectButtonProps` shape (below) so that TS can infer
17052
+ * `O`, `E`, and `S` directly from those JSX attributes.
17053
+ */
17054
+
17055
+ /**
17056
+ * Props for `SelectButton`.
17057
+ *
17058
+ * Polymorphic — pass `as` to render the trigger as a different component
17059
+ * (e.g. `as={IconButton}`, `as={Chip}`, `as={Link}`). With no `as`, the trigger
17060
+ * is the LumX `Button` with the dropdown chevron, so LumX `ButtonProps`
17061
+ * (`emphasis`, `size`, `leftIcon`…) are accepted. With `as`, the trigger is
17062
+ * fully replaced and only props valid for that component apply.
17063
+ *
17064
+ * Discriminated on `selectionType`:
17065
+ * - default / `'single'` → `value?: O`, `onChange?: (newValue?: O) => void`.
17066
+ * - `'multiple'` → `value?: O[]`, `onChange?: (newValue?: O[]) => void`.
17067
+ *
17068
+ * `as` and `selectionType` are top-level on this type (rather than buried in
17069
+ * an intersection or union member) so that TS can infer `E` from `as` and
17070
+ * `S` from `selectionType` without explicit generic annotations at the call site.
17071
+ *
17072
+ * @typeParam O - Option object type, inferred from `options` / `getOptionId`.
17073
+ * @typeParam E - Trigger element type, inferred from `as`. Defaults to the LumX `Button`.
17074
+ * @typeParam S - Selection mode, inferred from `selectionType`. Defaults to `'single'`.
17075
+ */
17076
+
17077
+ /**
17078
+ * Single-selection props (`selectionType` defaults to `'single'`).
17079
+ * Backwards-compatible alias — existing consumers do not need to set `selectionType`.
17080
+ */
17081
+
17082
+ /** Multi-selection props (`selectionType: 'multiple'` is required to opt in). */
17083
+
17084
+ /**
17085
+ * A button trigger with a dropdown to select an option (single mode) or
17086
+ * options (multi mode) from a list. Polymorphic — pass `as` to customize the trigger element.
17087
+ */
17088
+ const SelectButton$1 = props => {
17089
+ const {
17090
+ options,
17091
+ getOptionId,
17092
+ getOptionName,
17093
+ getOptionDescription,
17094
+ renderOption,
17095
+ getSectionId,
17096
+ renderSectionTitle,
17097
+ selectionType,
17098
+ value,
17099
+ onChange,
17100
+ onLoadMore,
17101
+ onOpen,
17102
+ label,
17103
+ popoverProps,
17104
+ labelDisplayMode,
17105
+ listStatus,
17106
+ translations,
17107
+ as,
17108
+ ref,
17109
+ ...buttonProps
17110
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
17111
+ } = props;
17112
+ const [listElement, setListElement] = useState(null);
17113
+ const isMultiple = selectionType === 'multiple';
17114
+
17115
+ // Inject core-computed props into the consumer's renderOption result.
17116
+ const wrappedRenderOption = wrapRenderOption(renderOption);
17117
+
17118
+ // Map the core's option-id selection back to the option object(s).
17119
+ const handleSelect = useCallback(selectedOption => {
17120
+ const next = toggleSelection(options, getOptionId, value, selectedOption?.value, isMultiple);
17121
+ onChange?.(next);
17122
+ }, [getOptionId, isMultiple, onChange, options, value]);
17123
+ return SelectButton$2({
17124
+ options,
17125
+ getOptionId,
17126
+ getOptionName,
17127
+ getOptionDescription,
17128
+ renderOption: wrappedRenderOption,
17129
+ getSectionId,
17130
+ renderSectionTitle,
17131
+ value,
17132
+ isMultiselectable: isMultiple,
17133
+ label,
17134
+ labelDisplayMode,
17135
+ // With no `as`, the default trigger adds the chevron. With `as`, the
17136
+ // caller is responsible for any trailing affordance.
17137
+ buttonProps: {
17138
+ ...buttonProps,
17139
+ as: as ?? DefaultButton,
17140
+ ref
17141
+ },
17142
+ popoverProps,
17143
+ listProps: {
17144
+ ref: setListElement
17145
+ },
17146
+ handleSelect,
17147
+ listStatus,
17148
+ onOpen,
17149
+ translations,
17150
+ onLoadMore,
17151
+ infiniteScrollOptions: {
17152
+ root: listElement,
17153
+ rootMargin: '100px'
17154
+ }
17155
+ }, {
17156
+ Combobox,
17157
+ InfiniteScroll
17158
+ });
17159
+ };
17160
+ SelectButton$1.displayName = 'SelectButton';
17161
+
17162
+ /**
17163
+ * SelectButton compound component.
17164
+ */
17165
+ const SelectButton = Object.assign(SelectButton$1, {
17166
+ /** Selectable option within the dropdown list. */
17167
+ Option: ComboboxOption
17168
+ });
17169
+
17170
+ /**
17171
+ * Get the display name for a single option value.
17172
+ *
17173
+ * Resolves the option's display name by trying `getOptionName` first,
17174
+ * then falling back to `getOptionId`, returning `''` for nullish values.
17175
+ */
17176
+ function getOptionDisplayName(value, getOptionName, getOptionId) {
17177
+ if (value === undefined || value === null) return '';
17178
+ if (getOptionName) {
17179
+ const name = getWithSelector(getOptionName, value);
17180
+ if (name != null) return String(name);
17181
+ }
17182
+ if (getOptionId) {
17183
+ return String(getWithSelector(getOptionId, value));
17184
+ }
17185
+ return '';
17186
+ }
17187
+
16841
17188
  /**
16842
17189
  * Component display name.
16843
17190
  */
@@ -17011,30 +17358,9 @@ const SelectTextField$1 = props => {
17011
17358
  const renderChip = isMultiple ? props.renderChip : undefined;
17012
17359
  const getChipProps = isMultiple ? props.getChipProps : undefined;
17013
17360
 
17014
- /* Wrap the consumer's renderOption to inject core-computed props.
17015
- * The consumer returns a <Combobox.Option> with custom children/props.
17016
- * This wrapper validates the element type, extracts the consumer's props, and
17017
- * re-renders a <Combobox.Option> merging them with core-computed value/isSelected/description/key. */
17018
- const wrappedRenderOption = renderOption ? (option, {
17019
- index,
17020
- value: optionValue,
17021
- isSelected,
17022
- description
17023
- }) => {
17024
- const node = renderOption(option, index);
17025
- if (!isComponentType(Combobox.Option)(node)) return null;
17026
- const {
17027
- children,
17028
- ...customProps
17029
- } = node.props;
17030
- return /*#__PURE__*/jsx(Combobox.Option, {
17031
- ...customProps,
17032
- value: optionValue,
17033
- isSelected: isSelected,
17034
- description: description,
17035
- children: children
17036
- }, optionValue);
17037
- } : undefined;
17361
+ // Wrap the consumer's renderOption to inject core-computed props
17362
+ // (`value`, `isSelected`, `description`, `key`) into the returned <Combobox.Option>.
17363
+ const wrappedRenderOption = wrapRenderOption(renderOption);
17038
17364
  const [listElement, setListElement] = useState(null);
17039
17365
  const localInputRef = useRef(null);
17040
17366
  const mergedInputRef = useMergeRefs(localInputRef, externalInputRef);
@@ -17061,27 +17387,12 @@ const SelectTextField$1 = props => {
17061
17387
  displayValue = getOptionDisplayName(value, getOptionName, getOptionId);
17062
17388
  }
17063
17389
 
17064
- // Map option id selection to option object selection.
17390
+ // Map option id selection to option object(s) selection (delegates the toggle math to core).
17065
17391
  const handleSelect = useCallback(selectedOption => {
17066
- const selectedValue = selectedOption.value;
17067
- const newOption = selectedValue && options?.find(option => getWithSelector$1(getOptionId, option) === selectedValue);
17068
- if (!isMultiple) {
17069
- onChange?.(newOption);
17070
- } else {
17071
- const currentValue = value || [];
17072
- const existingIndex = currentValue.findIndex(item => getWithSelector$1(getOptionId, item) === selectedValue);
17073
- if (existingIndex === -1) {
17074
- // Skip if no matching option found (e.g. beforeOptions custom actions).
17075
- if (newOption) {
17076
- onChange?.([...currentValue, newOption]);
17077
- }
17078
- } else {
17079
- // Remove option (toggle off)
17080
- const updated = [...currentValue];
17081
- updated.splice(existingIndex, 1);
17082
- onChange?.(updated);
17083
- }
17084
- }
17392
+ const next = toggleSelection(options, getOptionId, value, selectedOption.value, isMultiple);
17393
+ // In multi mode, `toggleSelection` skips when no option matches and returns the
17394
+ // unchanged current array — the onChange call is a no-op for the consumer.
17395
+ onChange?.(next);
17085
17396
 
17086
17397
  // Reset search state after selection.
17087
17398
  setIsSearching(false);
@@ -17596,9 +17907,9 @@ const SkeletonTypography = forwardRef((props, ref) => {
17596
17907
  ...forwardedProps
17597
17908
  });
17598
17909
  });
17599
- SkeletonTypography.displayName = COMPONENT_NAME$14;
17910
+ SkeletonTypography.displayName = COMPONENT_NAME$15;
17600
17911
  SkeletonTypography.defaultProps = DEFAULT_PROPS$i;
17601
- SkeletonTypography.className = CLASSNAME$13;
17912
+ SkeletonTypography.className = CLASSNAME$14;
17602
17913
 
17603
17914
  /**
17604
17915
  * Clamp value in range.
@@ -20801,5 +21112,5 @@ UserBlock.displayName = COMPONENT_NAME;
20801
21112
  UserBlock.className = CLASSNAME;
20802
21113
  UserBlock.defaultProps = DEFAULT_PROPS;
20803
21114
 
20804
- export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1q as CLASSNAME, COMPONENT_NAME$1r as COMPONENT_NAME, Checkbox, Chip, ChipGroup, Combobox, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$1b as DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSection, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectTextField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
21115
+ export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1r as CLASSNAME, COMPONENT_NAME$1s as COMPONENT_NAME, Checkbox, Chip, ChipGroup, Combobox, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$1b as DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSection, ListSubheader, 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, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
20805
21116
  //# sourceMappingURL=index.js.map