@lumx/react 4.14.0-next.2 → 4.14.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.d.ts +95 -4
  2. package/index.js +1001 -675
  3. package/index.js.map +1 -1
  4. package/package.json +3 -3
package/index.js CHANGED
@@ -308,7 +308,7 @@ function modifier$1(baseName, modifiers) {
308
308
  * block('button', { active: true, disabled: false }); // 'button button--active'
309
309
  */
310
310
 
311
- function block$19(baseName, modifiersOrAdditionalClasses, additionalClasses) {
311
+ function block$1a(baseName, modifiersOrAdditionalClasses, additionalClasses) {
312
312
  let modifiers;
313
313
  let classes;
314
314
  if (typeof modifiersOrAdditionalClasses === 'string' || Array.isArray(modifiersOrAdditionalClasses)) {
@@ -343,7 +343,7 @@ const ACTION_ELEMENT = `${PREFIX}__action`;
343
343
  const actionArea = Object.assign(/** Action area container class. Sets `position: relative`. */
344
344
  () => PREFIX, {
345
345
  /** Action element class. Adds a `::before` pseudo-element with `position: absolute; inset: 0` to expand the click area. */
346
- action: modifiers => block$19(ACTION_ELEMENT, modifiers)
346
+ action: modifiers => block$1a(ACTION_ELEMENT, modifiers)
347
347
  });
348
348
 
349
349
  /** Resolve color & color variant from a `ColorWithVariants` and optionally a `ColorVariant`. */
@@ -466,7 +466,7 @@ const visuallyHidden = () => VISUALLY_HIDDEN;
466
466
  */
467
467
 
468
468
  function element$R(baseClass, elem, modifiersOrAdditionalClasses, additionalClasses) {
469
- return block$19(`${baseClass}__${elem}`, modifiersOrAdditionalClasses, additionalClasses);
469
+ return block$1a(`${baseClass}__${elem}`, modifiersOrAdditionalClasses, additionalClasses);
470
470
  }
471
471
 
472
472
  /**
@@ -474,7 +474,7 @@ function element$R(baseClass, elem, modifiersOrAdditionalClasses, additionalClas
474
474
  */
475
475
  function bem(baseName) {
476
476
  function blockFn(modifiersOrAdditionalClasses, additionalClasses) {
477
- return block$19(baseName, modifiersOrAdditionalClasses, additionalClasses);
477
+ return block$1a(baseName, modifiersOrAdditionalClasses, additionalClasses);
478
478
  }
479
479
  function elementFn(elem, modifiersOrAdditionalClasses, additionalClasses) {
480
480
  return element$R(baseName, elem, modifiersOrAdditionalClasses, additionalClasses);
@@ -557,15 +557,15 @@ const CONFIG$1 = {
557
557
  /**
558
558
  * Component display name.
559
559
  */
560
- const COMPONENT_NAME$1z = 'AlertDialog';
560
+ const COMPONENT_NAME$1A = 'AlertDialog';
561
561
 
562
562
  /**
563
563
  * Component default class name and class prefix.
564
564
  */
565
- const CLASSNAME$1x = 'lumx-alert-dialog';
565
+ const CLASSNAME$1y = 'lumx-alert-dialog';
566
566
  const {
567
- block: block$18
568
- } = bem(CLASSNAME$1x);
567
+ block: block$19
568
+ } = bem(CLASSNAME$1y);
569
569
 
570
570
  /**
571
571
  * Component default props.
@@ -633,7 +633,7 @@ const AlertDialog$1 = props => {
633
633
  'aria-describedby': descriptionId,
634
634
  ...dialogProps
635
635
  },
636
- className: classnames(className, block$18({
636
+ className: classnames(className, block$19({
637
637
  [`kind-${kind}`]: Boolean(kind)
638
638
  })),
639
639
  ...forwardedProps,
@@ -731,8 +731,8 @@ const AlertDialog = forwardRef((props, ref) => {
731
731
  ...forwardedProps
732
732
  });
733
733
  });
734
- AlertDialog.displayName = COMPONENT_NAME$1z;
735
- AlertDialog.className = CLASSNAME$1x;
734
+ AlertDialog.displayName = COMPONENT_NAME$1A;
735
+ AlertDialog.className = CLASSNAME$1y;
736
736
  AlertDialog.defaultProps = DEFAULT_PROPS$1g;
737
737
 
738
738
  /**
@@ -825,12 +825,12 @@ function useDisableStateProps(props) {
825
825
  /**
826
826
  * Component display name.
827
827
  */
828
- const COMPONENT_NAME$1y = 'Autocomplete';
828
+ const COMPONENT_NAME$1z = 'Autocomplete';
829
829
 
830
830
  /**
831
831
  * Component default class name and class prefix.
832
832
  */
833
- const CLASSNAME$1w = 'lumx-autocomplete';
833
+ const CLASSNAME$1x = 'lumx-autocomplete';
834
834
 
835
835
  /**
836
836
  * Component default props.
@@ -898,7 +898,7 @@ const Autocomplete = forwardRef((props, ref) => {
898
898
  return /*#__PURE__*/jsxs("div", {
899
899
  ref: ref,
900
900
  ...forwardedProps,
901
- className: classNames.join(className, CLASSNAME$1w),
901
+ className: classNames.join(className, CLASSNAME$1x),
902
902
  children: [/*#__PURE__*/jsx(TextField, {
903
903
  ...textFieldProps,
904
904
  chips: chips,
@@ -938,19 +938,19 @@ const Autocomplete = forwardRef((props, ref) => {
938
938
  })]
939
939
  });
940
940
  });
941
- Autocomplete.displayName = COMPONENT_NAME$1y;
942
- Autocomplete.className = CLASSNAME$1w;
941
+ Autocomplete.displayName = COMPONENT_NAME$1z;
942
+ Autocomplete.className = CLASSNAME$1x;
943
943
  Autocomplete.defaultProps = DEFAULT_PROPS$1f;
944
944
 
945
945
  /**
946
946
  * Component display name.
947
947
  */
948
- const COMPONENT_NAME$1x = 'AutocompleteMultiple';
948
+ const COMPONENT_NAME$1y = 'AutocompleteMultiple';
949
949
 
950
950
  /**
951
951
  * Component default class name and class prefix.
952
952
  */
953
- const CLASSNAME$1v = 'lumx-autocomplete-multiple';
953
+ const CLASSNAME$1w = 'lumx-autocomplete-multiple';
954
954
 
955
955
  /**
956
956
  * Component default props.
@@ -1031,7 +1031,7 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
1031
1031
  ref: ref,
1032
1032
  ...forwardedProps,
1033
1033
  anchorToInput: anchorToInput,
1034
- className: classNames.join(className, CLASSNAME$1v),
1034
+ className: classNames.join(className, CLASSNAME$1w),
1035
1035
  name: name,
1036
1036
  value: value,
1037
1037
  onChange: onChange,
@@ -1064,23 +1064,23 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
1064
1064
  children: children
1065
1065
  });
1066
1066
  });
1067
- AutocompleteMultiple.displayName = COMPONENT_NAME$1x;
1068
- AutocompleteMultiple.className = CLASSNAME$1v;
1067
+ AutocompleteMultiple.displayName = COMPONENT_NAME$1y;
1068
+ AutocompleteMultiple.className = CLASSNAME$1w;
1069
1069
  AutocompleteMultiple.defaultProps = DEFAULT_PROPS$1e;
1070
1070
 
1071
1071
  /**
1072
1072
  * Component display name.
1073
1073
  */
1074
- const COMPONENT_NAME$1w = 'Avatar';
1074
+ const COMPONENT_NAME$1x = 'Avatar';
1075
1075
 
1076
1076
  /**
1077
1077
  * Component default class name and class prefix.
1078
1078
  */
1079
- const CLASSNAME$1u = 'lumx-avatar';
1079
+ const CLASSNAME$1v = 'lumx-avatar';
1080
1080
  const {
1081
- block: block$17,
1081
+ block: block$18,
1082
1082
  element: element$Q
1083
- } = bem(CLASSNAME$1u);
1083
+ } = bem(CLASSNAME$1v);
1084
1084
 
1085
1085
  /**
1086
1086
  * Component default props.
@@ -1110,7 +1110,7 @@ const Avatar$1 = props => {
1110
1110
  return /*#__PURE__*/jsxs("div", {
1111
1111
  ref: ref,
1112
1112
  ...forwardedProps,
1113
- className: classnames(className, block$17({
1113
+ className: classnames(className, block$18({
1114
1114
  [`size-${size}`]: Boolean(size),
1115
1115
  [`theme-${theme}`]: Boolean(theme)
1116
1116
  })),
@@ -1171,22 +1171,22 @@ const Avatar = forwardRef((props, ref) => {
1171
1171
  })
1172
1172
  });
1173
1173
  });
1174
- Avatar.displayName = COMPONENT_NAME$1w;
1175
- Avatar.className = CLASSNAME$1u;
1174
+ Avatar.displayName = COMPONENT_NAME$1x;
1175
+ Avatar.className = CLASSNAME$1v;
1176
1176
  Avatar.defaultProps = DEFAULT_PROPS$1d;
1177
1177
 
1178
1178
  /**
1179
1179
  * Component display name.
1180
1180
  */
1181
- const COMPONENT_NAME$1v = 'Badge';
1181
+ const COMPONENT_NAME$1w = 'Badge';
1182
1182
 
1183
1183
  /**
1184
1184
  * Component default class name and class prefix.
1185
1185
  */
1186
- const CLASSNAME$1t = 'lumx-badge';
1186
+ const CLASSNAME$1u = 'lumx-badge';
1187
1187
  const {
1188
- block: block$16
1189
- } = bem(CLASSNAME$1t);
1188
+ block: block$17
1189
+ } = bem(CLASSNAME$1u);
1190
1190
 
1191
1191
  /**
1192
1192
  * Component default props.
@@ -1212,14 +1212,14 @@ const Badge$1 = props => {
1212
1212
  return /*#__PURE__*/jsx("div", {
1213
1213
  ref: ref,
1214
1214
  ...forwardedProps,
1215
- className: classnames(className, block$16({
1215
+ className: classnames(className, block$17({
1216
1216
  [`color-${color}`]: Boolean(color)
1217
1217
  })),
1218
1218
  children: children
1219
1219
  });
1220
1220
  };
1221
- Badge$1.displayName = COMPONENT_NAME$1v;
1222
- Badge$1.className = CLASSNAME$1t;
1221
+ Badge$1.displayName = COMPONENT_NAME$1w;
1222
+ Badge$1.className = CLASSNAME$1u;
1223
1223
  Badge$1.defaultProps = DEFAULT_PROPS$1c;
1224
1224
 
1225
1225
  /**
@@ -1243,12 +1243,12 @@ Badge.displayName = Badge$1.displayName;
1243
1243
  Badge.className = Badge$1.className;
1244
1244
  Badge.defaultProps = Badge$1.defaultProps;
1245
1245
 
1246
- const COMPONENT_NAME$1u = 'BadgeWrapper';
1247
- const CLASSNAME$1s = 'lumx-badge-wrapper';
1246
+ const COMPONENT_NAME$1v = 'BadgeWrapper';
1247
+ const CLASSNAME$1t = 'lumx-badge-wrapper';
1248
1248
  const {
1249
- block: block$15,
1249
+ block: block$16,
1250
1250
  element: element$P
1251
- } = bem(CLASSNAME$1s);
1251
+ } = bem(CLASSNAME$1t);
1252
1252
  const BadgeWrapper$1 = props => {
1253
1253
  const {
1254
1254
  badge,
@@ -1260,7 +1260,7 @@ const BadgeWrapper$1 = props => {
1260
1260
  return /*#__PURE__*/jsxs("div", {
1261
1261
  ref: ref,
1262
1262
  ...forwardedProps,
1263
- className: classnames(className, block$15()),
1263
+ className: classnames(className, block$16()),
1264
1264
  children: [children, badge && /*#__PURE__*/jsx("div", {
1265
1265
  className: element$P('badge'),
1266
1266
  children: badge
@@ -1274,8 +1274,8 @@ const BadgeWrapper = forwardRef((props, ref) => {
1274
1274
  ref
1275
1275
  });
1276
1276
  });
1277
- BadgeWrapper.displayName = COMPONENT_NAME$1u;
1278
- BadgeWrapper.className = CLASSNAME$1s;
1277
+ BadgeWrapper.displayName = COMPONENT_NAME$1v;
1278
+ BadgeWrapper.className = CLASSNAME$1t;
1279
1279
 
1280
1280
  /**
1281
1281
  * Render clickable element (link, button or custom element)
@@ -1325,7 +1325,7 @@ const RawClickable = props => {
1325
1325
  /**
1326
1326
  * Component display name.
1327
1327
  */
1328
- const COMPONENT_NAME$1t = 'ButtonRoot';
1328
+ const COMPONENT_NAME$1u = 'ButtonRoot';
1329
1329
  const BUTTON_WRAPPER_CLASSNAME = `lumx-button-wrapper`;
1330
1330
  const {
1331
1331
  block: buttonWrapperBlock
@@ -1423,7 +1423,7 @@ const ButtonRoot = props => {
1423
1423
  children
1424
1424
  });
1425
1425
  };
1426
- ButtonRoot.displayName = COMPONENT_NAME$1t;
1426
+ ButtonRoot.displayName = COMPONENT_NAME$1u;
1427
1427
  ButtonRoot.defaultProps = {};
1428
1428
 
1429
1429
  /**
@@ -1433,15 +1433,15 @@ ButtonRoot.defaultProps = {};
1433
1433
  /**
1434
1434
  * Component display name.
1435
1435
  */
1436
- const COMPONENT_NAME$1s = 'Button';
1436
+ const COMPONENT_NAME$1t = 'Button';
1437
1437
 
1438
1438
  /**
1439
1439
  * Component default class name and class prefix.
1440
1440
  */
1441
- const CLASSNAME$1r = 'lumx-button';
1441
+ const CLASSNAME$1s = 'lumx-button';
1442
1442
  const {
1443
1443
  modifier
1444
- } = bem(CLASSNAME$1r);
1444
+ } = bem(CLASSNAME$1s);
1445
1445
 
1446
1446
  /**
1447
1447
  * Component default props.
@@ -1478,8 +1478,8 @@ const Button$1 = props => {
1478
1478
  variant: 'button'
1479
1479
  });
1480
1480
  };
1481
- Button$1.displayName = COMPONENT_NAME$1s;
1482
- Button$1.className = CLASSNAME$1r;
1481
+ Button$1.displayName = COMPONENT_NAME$1t;
1482
+ Button$1.className = CLASSNAME$1s;
1483
1483
  Button$1.defaultProps = DEFAULT_PROPS$1b;
1484
1484
 
1485
1485
  /**
@@ -1553,21 +1553,21 @@ const Button = forwardRef((props, ref) => {
1553
1553
  })
1554
1554
  });
1555
1555
  });
1556
- Button.displayName = COMPONENT_NAME$1s;
1557
- Button.className = CLASSNAME$1r;
1556
+ Button.displayName = COMPONENT_NAME$1t;
1557
+ Button.className = CLASSNAME$1s;
1558
1558
  Button.defaultProps = DEFAULT_PROPS$1b;
1559
1559
 
1560
- const COMPONENT_NAME$1r = 'Icon';
1560
+ const COMPONENT_NAME$1s = 'Icon';
1561
1561
  const IconClassName = 'lumx-icon';
1562
1562
 
1563
1563
  /**
1564
1564
  * Defines the props of the component.
1565
1565
  */
1566
1566
 
1567
- const CLASSNAME$1q = IconClassName;
1567
+ const CLASSNAME$1r = IconClassName;
1568
1568
  const {
1569
- block: block$14
1570
- } = bem(CLASSNAME$1q);
1569
+ block: block$15
1570
+ } = bem(CLASSNAME$1r);
1571
1571
 
1572
1572
  /**
1573
1573
  * Component default props.
@@ -1621,7 +1621,7 @@ const Icon$1 = props => {
1621
1621
  return /*#__PURE__*/jsx("i", {
1622
1622
  ref: ref,
1623
1623
  ...forwardedProps,
1624
- className: classnames(className, block$14({
1624
+ className: classnames(className, block$15({
1625
1625
  [`color-${iconColor}`]: Boolean(iconColor),
1626
1626
  [`color-variant-${iconColorVariant}`]: Boolean(iconColorVariant),
1627
1627
  'has-shape': hasShape,
@@ -1650,19 +1650,19 @@ const Icon$1 = props => {
1650
1650
  })
1651
1651
  });
1652
1652
  };
1653
- Icon$1.displayName = COMPONENT_NAME$1r;
1654
- Icon$1.className = CLASSNAME$1q;
1653
+ Icon$1.displayName = COMPONENT_NAME$1s;
1654
+ Icon$1.className = CLASSNAME$1r;
1655
1655
  Icon$1.defaultProps = DEFAULT_PROPS$1a;
1656
1656
 
1657
1657
  /**
1658
1658
  * Component display name.
1659
1659
  */
1660
- const COMPONENT_NAME$1q = 'IconButton';
1660
+ const COMPONENT_NAME$1r = 'IconButton';
1661
1661
 
1662
1662
  /**
1663
1663
  * Component default class name and class prefix.
1664
1664
  */
1665
- const CLASSNAME$1p = 'lumx-icon-button';
1665
+ const CLASSNAME$1q = 'lumx-icon-button';
1666
1666
 
1667
1667
  /**
1668
1668
  * Component default props.
@@ -1703,8 +1703,8 @@ const IconButton$1 = props => {
1703
1703
  children: defaultChildren
1704
1704
  });
1705
1705
  };
1706
- IconButton$1.displayName = COMPONENT_NAME$1q;
1707
- IconButton$1.className = CLASSNAME$1p;
1706
+ IconButton$1.displayName = COMPONENT_NAME$1r;
1707
+ IconButton$1.className = CLASSNAME$1q;
1708
1708
  IconButton$1.defaultProps = DEFAULT_PROPS$19;
1709
1709
 
1710
1710
  /**
@@ -1748,19 +1748,19 @@ const IconButton = forwardRef((props, ref) => {
1748
1748
  })
1749
1749
  });
1750
1750
  });
1751
- IconButton.displayName = COMPONENT_NAME$1q;
1752
- IconButton.className = CLASSNAME$1p;
1751
+ IconButton.displayName = COMPONENT_NAME$1r;
1752
+ IconButton.className = CLASSNAME$1q;
1753
1753
  IconButton.defaultProps = DEFAULT_PROPS$19;
1754
1754
 
1755
1755
  /**
1756
1756
  * Component display name.
1757
1757
  */
1758
- const COMPONENT_NAME$1p = 'ButtonGroup';
1758
+ const COMPONENT_NAME$1q = 'ButtonGroup';
1759
1759
 
1760
1760
  /**
1761
1761
  * Component default class name and class prefix.
1762
1762
  */
1763
- const CLASSNAME$1o = 'lumx-button-group';
1763
+ const CLASSNAME$1p = 'lumx-button-group';
1764
1764
 
1765
1765
  /**
1766
1766
  * Component default props.
@@ -1781,12 +1781,12 @@ const ButtonGroup$1 = props => {
1781
1781
  } = props;
1782
1782
  return /*#__PURE__*/jsx("div", {
1783
1783
  ...forwardedProps,
1784
- className: classnames(className, CLASSNAME$1o),
1784
+ className: classnames(className, CLASSNAME$1p),
1785
1785
  children: children
1786
1786
  });
1787
1787
  };
1788
- ButtonGroup$1.displayName = COMPONENT_NAME$1p;
1789
- ButtonGroup$1.className = CLASSNAME$1o;
1788
+ ButtonGroup$1.displayName = COMPONENT_NAME$1q;
1789
+ ButtonGroup$1.className = CLASSNAME$1p;
1790
1790
  ButtonGroup$1.defaultProps = DEFAULT_PROPS$18;
1791
1791
 
1792
1792
  /**
@@ -1802,16 +1802,16 @@ const ButtonGroup = forwardRef((props, ref) => {
1802
1802
  ...props
1803
1803
  });
1804
1804
  });
1805
- ButtonGroup.displayName = COMPONENT_NAME$1p;
1806
- ButtonGroup.className = CLASSNAME$1o;
1805
+ ButtonGroup.displayName = COMPONENT_NAME$1q;
1806
+ ButtonGroup.className = CLASSNAME$1p;
1807
1807
  ButtonGroup.defaultProps = DEFAULT_PROPS$18;
1808
1808
 
1809
- const COMPONENT_NAME$1o = 'InputLabel';
1809
+ const COMPONENT_NAME$1p = 'InputLabel';
1810
1810
  const InputLabelClassName = 'lumx-input-label';
1811
- const CLASSNAME$1n = InputLabelClassName;
1811
+ const CLASSNAME$1o = InputLabelClassName;
1812
1812
  const {
1813
- block: block$13
1814
- } = bem(CLASSNAME$1n);
1813
+ block: block$14
1814
+ } = bem(CLASSNAME$1o);
1815
1815
  const DEFAULT_PROPS$17 = {};
1816
1816
 
1817
1817
  /**
@@ -1832,7 +1832,7 @@ function InputLabel$1(props) {
1832
1832
  ref: ref,
1833
1833
  ...forwardedProps,
1834
1834
  htmlFor: htmlFor,
1835
- className: classnames(className, block$13({
1835
+ className: classnames(className, block$14({
1836
1836
  'is-required': isRequired,
1837
1837
  [`theme-${theme}`]: Boolean(theme),
1838
1838
  'has-custom-typography': Boolean(typography$1)
@@ -1840,8 +1840,8 @@ function InputLabel$1(props) {
1840
1840
  children: children
1841
1841
  });
1842
1842
  }
1843
- InputLabel$1.displayName = COMPONENT_NAME$1o;
1844
- InputLabel$1.className = CLASSNAME$1n;
1843
+ InputLabel$1.displayName = COMPONENT_NAME$1p;
1844
+ InputLabel$1.className = CLASSNAME$1o;
1845
1845
  InputLabel$1.defaultProps = DEFAULT_PROPS$17;
1846
1846
 
1847
1847
  const INPUT_HELPER_CONFIGURATION = {
@@ -1856,17 +1856,17 @@ const INPUT_HELPER_CONFIGURATION = {
1856
1856
  }
1857
1857
  };
1858
1858
 
1859
- const COMPONENT_NAME$1n = 'InputHelper';
1859
+ const COMPONENT_NAME$1o = 'InputHelper';
1860
1860
  const InputHelperClassName = 'lumx-input-helper';
1861
1861
 
1862
1862
  /**
1863
1863
  * Defines the props of the component.
1864
1864
  */
1865
1865
 
1866
- const CLASSNAME$1m = InputHelperClassName;
1866
+ const CLASSNAME$1n = InputHelperClassName;
1867
1867
  const {
1868
- block: block$12
1869
- } = bem(CLASSNAME$1m);
1868
+ block: block$13
1869
+ } = bem(CLASSNAME$1n);
1870
1870
 
1871
1871
  /**
1872
1872
  * Component default props.
@@ -1893,15 +1893,15 @@ function InputHelper$1(props) {
1893
1893
  return /*#__PURE__*/jsx("p", {
1894
1894
  ref: ref,
1895
1895
  ...forwardedProps,
1896
- className: classnames(className, block$12({
1896
+ className: classnames(className, block$13({
1897
1897
  [`color-${color}`]: Boolean(color),
1898
1898
  [`theme-${theme}`]: Boolean(theme)
1899
1899
  })),
1900
1900
  children: children
1901
1901
  });
1902
1902
  }
1903
- InputHelper$1.displayName = COMPONENT_NAME$1n;
1904
- InputHelper$1.className = CLASSNAME$1m;
1903
+ InputHelper$1.displayName = COMPONENT_NAME$1o;
1904
+ InputHelper$1.className = CLASSNAME$1n;
1905
1905
  InputHelper$1.defaultProps = DEFAULT_PROPS$16;
1906
1906
 
1907
1907
  const INTERMEDIATE_STATE = 'intermediate';
@@ -1913,16 +1913,16 @@ const INTERMEDIATE_STATE = 'intermediate';
1913
1913
  /**
1914
1914
  * Component display name.
1915
1915
  */
1916
- const COMPONENT_NAME$1m = 'Checkbox';
1916
+ const COMPONENT_NAME$1n = 'Checkbox';
1917
1917
 
1918
1918
  /**
1919
1919
  * Component default class name and class prefix.
1920
1920
  */
1921
- const CLASSNAME$1l = 'lumx-checkbox';
1921
+ const CLASSNAME$1m = 'lumx-checkbox';
1922
1922
  const {
1923
- block: block$11,
1923
+ block: block$12,
1924
1924
  element: element$O
1925
- } = bem(CLASSNAME$1l);
1925
+ } = bem(CLASSNAME$1m);
1926
1926
 
1927
1927
  /**
1928
1928
  * Checkbox component.
@@ -1958,7 +1958,7 @@ const Checkbox$1 = props => {
1958
1958
  return /*#__PURE__*/jsxs("div", {
1959
1959
  ref: ref,
1960
1960
  ...forwardedProps,
1961
- className: classnames(className, block$11({
1961
+ className: classnames(className, block$12({
1962
1962
  // Whether state is intermediate class name will "-checked"
1963
1963
  'is-checked': intermediateState ? true : isChecked,
1964
1964
  'is-disabled': isDisabled,
@@ -2077,8 +2077,8 @@ const Checkbox = forwardRef((props, ref) => {
2077
2077
  inputId
2078
2078
  });
2079
2079
  });
2080
- Checkbox.displayName = COMPONENT_NAME$1m;
2081
- Checkbox.className = CLASSNAME$1l;
2080
+ Checkbox.displayName = COMPONENT_NAME$1n;
2081
+ Checkbox.className = CLASSNAME$1m;
2082
2082
  Checkbox.defaultProps = DEFAULT_PROPS$15;
2083
2083
 
2084
2084
  /**
@@ -2100,16 +2100,16 @@ function useStopPropagation(handler) {
2100
2100
  /**
2101
2101
  * Component display name.
2102
2102
  */
2103
- const COMPONENT_NAME$1l = 'Chip';
2103
+ const COMPONENT_NAME$1m = 'Chip';
2104
2104
 
2105
2105
  /**
2106
2106
  * Component default class name and class prefix.
2107
2107
  */
2108
- const CLASSNAME$1k = 'lumx-chip';
2108
+ const CLASSNAME$1l = 'lumx-chip';
2109
2109
  const {
2110
- block: block$10,
2110
+ block: block$11,
2111
2111
  element: element$N
2112
- } = bem(CLASSNAME$1k);
2112
+ } = bem(CLASSNAME$1l);
2113
2113
 
2114
2114
  /**
2115
2115
  * Component default props.
@@ -2176,7 +2176,7 @@ const Chip$1 = props => {
2176
2176
  ...forwardedProps,
2177
2177
  href: !disabledStateProps.disabled ? href : undefined,
2178
2178
  ref: ref,
2179
- className: classnames(className, block$10({
2179
+ className: classnames(className, block$11({
2180
2180
  'is-clickable': isClickable,
2181
2181
  [`color-${chipColor}`]: Boolean(chipColor),
2182
2182
  'is-disabled': isAnyDisabled,
@@ -2261,19 +2261,19 @@ const Chip = forwardRef((props, ref) => {
2261
2261
  ...forwardedProps
2262
2262
  });
2263
2263
  });
2264
- Chip.displayName = COMPONENT_NAME$1l;
2265
- Chip.className = CLASSNAME$1k;
2264
+ Chip.displayName = COMPONENT_NAME$1m;
2265
+ Chip.className = CLASSNAME$1l;
2266
2266
  Chip.defaultProps = DEFAULT_PROPS$14;
2267
2267
 
2268
2268
  /**
2269
2269
  * Component display name.
2270
2270
  */
2271
- const COMPONENT_NAME$1k = 'ChipGroup';
2271
+ const COMPONENT_NAME$1l = 'ChipGroup';
2272
2272
 
2273
2273
  /**
2274
2274
  * Component default class name and class prefix.
2275
2275
  */
2276
- const CLASSNAME$1j = 'lumx-chip-group';
2276
+ const CLASSNAME$1k = 'lumx-chip-group';
2277
2277
 
2278
2278
  /**
2279
2279
  * Component default props.
@@ -2296,7 +2296,7 @@ const ChipGroup$1 = props => {
2296
2296
  return /*#__PURE__*/jsx("div", {
2297
2297
  ref: ref,
2298
2298
  ...forwardedProps,
2299
- className: classnames(className, CLASSNAME$1j),
2299
+ className: classnames(className, CLASSNAME$1k),
2300
2300
  children: children
2301
2301
  });
2302
2302
  };
@@ -2374,8 +2374,8 @@ const InternalChipGroup = forwardRef((props, ref) => {
2374
2374
  ...forwardedProps
2375
2375
  });
2376
2376
  });
2377
- InternalChipGroup.displayName = COMPONENT_NAME$1k;
2378
- InternalChipGroup.className = CLASSNAME$1j;
2377
+ InternalChipGroup.displayName = COMPONENT_NAME$1l;
2378
+ InternalChipGroup.className = CLASSNAME$1k;
2379
2379
  InternalChipGroup.defaultProps = DEFAULT_PROPS$13;
2380
2380
  const ChipGroup = Object.assign(InternalChipGroup, {
2381
2381
  useChipGroupNavigation
@@ -2384,16 +2384,16 @@ const ChipGroup = Object.assign(InternalChipGroup, {
2384
2384
  /**
2385
2385
  * Component display name.
2386
2386
  */
2387
- const COMPONENT_NAME$1j = 'SelectionChipGroup';
2387
+ const COMPONENT_NAME$1k = 'SelectionChipGroup';
2388
2388
 
2389
2389
  /**
2390
2390
  * Component default class name and class prefix.
2391
2391
  */
2392
- const CLASSNAME$1i = 'lumx-selection-chip-group';
2392
+ const CLASSNAME$1j = 'lumx-selection-chip-group';
2393
2393
  const {
2394
- block: block$$,
2394
+ block: block$10,
2395
2395
  element: element$M
2396
- } = bem(CLASSNAME$1i);
2396
+ } = bem(CLASSNAME$1j);
2397
2397
 
2398
2398
  /**
2399
2399
  * SelectionChipGroup component.
@@ -2431,7 +2431,7 @@ const SelectionChipGroup$1 = (props, {
2431
2431
  "aria-label": label,
2432
2432
  "aria-multiselectable": "true",
2433
2433
  "aria-orientation": "horizontal",
2434
- className: block$$([className]),
2434
+ className: block$10([className]),
2435
2435
  children: value.map(v => {
2436
2436
  const name = getOptionName && getWithSelector(getOptionName, v) || getWithSelector(getOptionId, v);
2437
2437
  const id = getWithSelector(getOptionId, v);
@@ -2489,10 +2489,10 @@ function createSelectorTreeWalker(container, selector) {
2489
2489
  }
2490
2490
 
2491
2491
  /** CSS selector for enabled chips (not aria-disabled). */
2492
- const ENABLED_CHIP_SELECTOR = `.${CLASSNAME$1k}:not([aria-disabled="true"])`;
2492
+ const ENABLED_CHIP_SELECTOR = `.${CLASSNAME$1l}:not([aria-disabled="true"])`;
2493
2493
 
2494
2494
  /** Find the closest chip element from an event target. */
2495
- const getChip = target => target?.closest?.(`.${CLASSNAME$1k}`) || null;
2495
+ const getChip = target => target?.closest?.(`.${CLASSNAME$1l}`) || null;
2496
2496
 
2497
2497
  /** Whether the chip is marked as disabled via aria-disabled. */
2498
2498
  const isChipDisabled = chip => chip?.getAttribute('aria-disabled') === 'true';
@@ -2706,15 +2706,15 @@ function wrapChildrenIconWithSpaces(children) {
2706
2706
  /**
2707
2707
  * Component display name.
2708
2708
  */
2709
- const COMPONENT_NAME$1i = 'Text';
2709
+ const COMPONENT_NAME$1j = 'Text';
2710
2710
 
2711
2711
  /**
2712
2712
  * Component default class name and class prefix.
2713
2713
  */
2714
- const CLASSNAME$1h = 'lumx-text';
2714
+ const CLASSNAME$1i = 'lumx-text';
2715
2715
  const {
2716
- block: block$_
2717
- } = bem(CLASSNAME$1h);
2716
+ block: block$$
2717
+ } = bem(CLASSNAME$1i);
2718
2718
 
2719
2719
  /**
2720
2720
  * Component default props.
@@ -2755,7 +2755,7 @@ const getTextProps = props => {
2755
2755
  '--lumx-text-white-space': whiteSpace
2756
2756
  };
2757
2757
  return {
2758
- className: classnames(className, block$_({
2758
+ className: classnames(className, block$$({
2759
2759
  'is-truncated': isTruncated && !isTruncatedMultiline,
2760
2760
  'is-truncated-multiline': isTruncatedMultiline,
2761
2761
  'no-wrap': noWrap
@@ -2804,8 +2804,8 @@ const Text = forwardRef((props, ref) => {
2804
2804
  children: wrapChildrenIconWithSpaces(children)
2805
2805
  });
2806
2806
  });
2807
- Text.displayName = COMPONENT_NAME$1i;
2808
- Text.className = CLASSNAME$1h;
2807
+ Text.displayName = COMPONENT_NAME$1j;
2808
+ Text.className = CLASSNAME$1i;
2809
2809
  Text.defaultProps = DEFAULT_PROPS$12;
2810
2810
 
2811
2811
  /**
@@ -4898,16 +4898,16 @@ const DEFAULT_PROPS$11 = {
4898
4898
  /**
4899
4899
  * Component display name.
4900
4900
  */
4901
- const COMPONENT_NAME$1h = 'Tooltip';
4901
+ const COMPONENT_NAME$1i = 'Tooltip';
4902
4902
 
4903
4903
  /**
4904
4904
  * Component default class name and class prefix.
4905
4905
  */
4906
- const CLASSNAME$1g = 'lumx-tooltip';
4906
+ const CLASSNAME$1h = 'lumx-tooltip';
4907
4907
  const {
4908
- block: block$Z,
4908
+ block: block$_,
4909
4909
  element: element$L
4910
- } = bem(CLASSNAME$1g);
4910
+ } = bem(CLASSNAME$1h);
4911
4911
 
4912
4912
  /**
4913
4913
  * Props for the TooltipPopup rendering component.
@@ -4938,7 +4938,7 @@ const TooltipPopup = props => {
4938
4938
  ...forwardedProps,
4939
4939
  id: id,
4940
4940
  role: "tooltip",
4941
- className: classnames(className, block$Z({
4941
+ className: classnames(className, block$_({
4942
4942
  [`position-${position}`]: Boolean(position)
4943
4943
  }), isHidden && visuallyHidden()),
4944
4944
  style: {
@@ -4956,8 +4956,8 @@ const TooltipPopup = props => {
4956
4956
  })]
4957
4957
  });
4958
4958
  };
4959
- TooltipPopup.displayName = COMPONENT_NAME$1h;
4960
- TooltipPopup.className = CLASSNAME$1g;
4959
+ TooltipPopup.displayName = COMPONENT_NAME$1i;
4960
+ TooltipPopup.className = CLASSNAME$1h;
4961
4961
 
4962
4962
  /**
4963
4963
  * Add ref and ARIA attribute(s) in tooltip children or wrapped children.
@@ -5319,8 +5319,8 @@ const Tooltip = forwardRef((props, ref) => {
5319
5319
  })]
5320
5320
  });
5321
5321
  });
5322
- Tooltip.displayName = COMPONENT_NAME$1h;
5323
- Tooltip.className = CLASSNAME$1g;
5322
+ Tooltip.displayName = COMPONENT_NAME$1i;
5323
+ Tooltip.className = CLASSNAME$1h;
5324
5324
  Tooltip.defaultProps = DEFAULT_PROPS$11;
5325
5325
 
5326
5326
  /**
@@ -6199,8 +6199,8 @@ const SelectionChipGroup = ({
6199
6199
  }, [container, inputRef, getOptionId]);
6200
6200
  useRovingTabIndexContainer({
6201
6201
  containerRef: container,
6202
- itemSelector: `.${CLASSNAME$1k}`,
6203
- itemDisabledSelector: `.${CLASSNAME$1k}[aria-disabled="true"]`
6202
+ itemSelector: `.${CLASSNAME$1l}`,
6203
+ itemDisabledSelector: `.${CLASSNAME$1l}[aria-disabled="true"]`
6204
6204
  });
6205
6205
 
6206
6206
  // Merge getChipProps and renderChip: getChipProps provides base props, renderChip overrides them,
@@ -6240,8 +6240,8 @@ const SelectionChipGroup = ({
6240
6240
  Tooltip
6241
6241
  });
6242
6242
  };
6243
- SelectionChipGroup.displayName = COMPONENT_NAME$1j;
6244
- SelectionChipGroup.className = CLASSNAME$1i;
6243
+ SelectionChipGroup.displayName = COMPONENT_NAME$1k;
6244
+ SelectionChipGroup.className = CLASSNAME$1j;
6245
6245
 
6246
6246
  /**
6247
6247
  * Get the value for a combobox option element.
@@ -6605,9 +6605,9 @@ function setupCombobox(callbacks, options, onTriggerAttach) {
6605
6605
  }
6606
6606
  flag = true;
6607
6607
  } else if (handle.isOpen && !handle.isMultiSelect) {
6608
- // Open with no active item (single select) => close the popup.
6608
+ // Open with no active item (single select) => close the popup,
6609
+ // but let Enter propagate so it can submit a surrounding form.
6609
6610
  handle.setIsOpen(false);
6610
- flag = true;
6611
6611
  }
6612
6612
  // Otherwise (closed popup, or multi-select with no active item),
6613
6613
  // let Enter pass through so it can submit a surrounding form
@@ -7130,12 +7130,12 @@ function setupComboboxButton(button, callbacks) {
7130
7130
  /**
7131
7131
  * Component display name.
7132
7132
  */
7133
- const COMPONENT_NAME$1g = 'ComboboxButton';
7133
+ const COMPONENT_NAME$1h = 'ComboboxButton';
7134
7134
 
7135
7135
  /**
7136
7136
  * Component default class name and class prefix.
7137
7137
  */
7138
- const CLASSNAME$1f = 'lumx-combobox-button';
7138
+ const CLASSNAME$1g = 'lumx-combobox-button';
7139
7139
 
7140
7140
  /**
7141
7141
  * ComboboxButton core template.
@@ -7175,7 +7175,7 @@ const ComboboxButton$1 = (props, {
7175
7175
  const componentProps = {
7176
7176
  ref,
7177
7177
  ...forwardedProps,
7178
- className: classnames(className, CLASSNAME$1f),
7178
+ className: classnames(className, CLASSNAME$1g),
7179
7179
  role: 'combobox',
7180
7180
  'aria-controls': listboxId,
7181
7181
  'aria-haspopup': 'listbox',
@@ -7315,8 +7315,8 @@ const ComboboxButton = Object.assign(forwardRefPolymorphic((props, ref) => {
7315
7315
  Tooltip
7316
7316
  });
7317
7317
  }), {
7318
- displayName: COMPONENT_NAME$1g,
7319
- className: CLASSNAME$1f
7318
+ displayName: COMPONENT_NAME$1h,
7319
+ className: CLASSNAME$1g
7320
7320
  });
7321
7321
 
7322
7322
  /** Options for configuring the input-mode combobox controller. */
@@ -7476,12 +7476,12 @@ function getDisabledState(context, props) {
7476
7476
  /**
7477
7477
  * Component display name.
7478
7478
  */
7479
- const COMPONENT_NAME$1f = 'ComboboxInput';
7479
+ const COMPONENT_NAME$1g = 'ComboboxInput';
7480
7480
 
7481
7481
  /**
7482
7482
  * Component default class name and class prefix.
7483
7483
  */
7484
- const CLASSNAME$1e = 'lumx-combobox-input';
7484
+ const CLASSNAME$1f = 'lumx-combobox-input';
7485
7485
 
7486
7486
  /**
7487
7487
  * ComboboxInput core template.
@@ -7544,22 +7544,22 @@ const ComboboxInput$1 = (props, {
7544
7544
  /**
7545
7545
  * Component display name.
7546
7546
  */
7547
- const COMPONENT_NAME$1e = 'TextField';
7547
+ const COMPONENT_NAME$1f = 'TextField';
7548
7548
 
7549
7549
  /**
7550
7550
  * Component default class name and class prefix.
7551
7551
  */
7552
- const CLASSNAME$1d = 'lumx-text-field';
7552
+ const CLASSNAME$1e = 'lumx-text-field';
7553
7553
 
7554
7554
  /**
7555
7555
  * Input native element class name.
7556
7556
  */
7557
- const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$1d}__input-native`;
7557
+ const INPUT_NATIVE_CLASSNAME = `${CLASSNAME$1e}__input-native`;
7558
7558
 
7559
7559
  const {
7560
- block: block$Y,
7560
+ block: block$Z,
7561
7561
  element: element$K
7562
- } = bem(CLASSNAME$1d);
7562
+ } = bem(CLASSNAME$1e);
7563
7563
 
7564
7564
  /**
7565
7565
  * Defines the props of the component.
@@ -7631,7 +7631,7 @@ const TextField$1 = props => {
7631
7631
  const isNotEmpty = valueLength > 0;
7632
7632
  return /*#__PURE__*/jsxs("div", {
7633
7633
  ref: ref,
7634
- className: classnames(className, block$Y({
7634
+ className: classnames(className, block$Z({
7635
7635
  'has-chips': Boolean(chips),
7636
7636
  'has-error': !isValid && hasError,
7637
7637
  'has-icon': Boolean(icon),
@@ -7713,7 +7713,7 @@ const TextField$1 = props => {
7713
7713
  };
7714
7714
 
7715
7715
  const {
7716
- block: block$X
7716
+ block: block$Y
7717
7717
  } = bem(INPUT_NATIVE_CLASSNAME);
7718
7718
 
7719
7719
  /**
@@ -7754,7 +7754,7 @@ const RawInputText$1 = props => {
7754
7754
  name: name,
7755
7755
  type: type,
7756
7756
  ref: ref,
7757
- className: classnames(className, block$X({
7757
+ className: classnames(className, block$Y({
7758
7758
  [`theme-${theme}`]: Boolean(theme),
7759
7759
  text: true
7760
7760
  })),
@@ -7784,7 +7784,7 @@ const RawInputText = forwardRef((props, ref) => {
7784
7784
  });
7785
7785
 
7786
7786
  const {
7787
- block: block$W
7787
+ block: block$X
7788
7788
  } = bem(INPUT_NATIVE_CLASSNAME);
7789
7789
 
7790
7790
  /**
@@ -7824,7 +7824,7 @@ const RawInputTextarea$1 = props => {
7824
7824
  ...forwardedProps,
7825
7825
  name: name,
7826
7826
  ref: ref,
7827
- className: classnames(className, block$W({
7827
+ className: classnames(className, block$X({
7828
7828
  [`theme-${theme}`]: Boolean(theme),
7829
7829
  textarea: true
7830
7830
  })),
@@ -8064,8 +8064,8 @@ const TextField = forwardRef((props, ref) => {
8064
8064
  } : undefined
8065
8065
  });
8066
8066
  });
8067
- TextField.displayName = COMPONENT_NAME$1e;
8068
- TextField.className = CLASSNAME$1d;
8067
+ TextField.displayName = COMPONENT_NAME$1f;
8068
+ TextField.className = CLASSNAME$1e;
8069
8069
  TextField.defaultProps = DEFAULT_PROPS$Z;
8070
8070
 
8071
8071
  /**
@@ -8143,21 +8143,21 @@ const ComboboxInput = forwardRef((props, ref) => {
8143
8143
  IconButton
8144
8144
  });
8145
8145
  });
8146
- ComboboxInput.displayName = COMPONENT_NAME$1f;
8147
- ComboboxInput.className = CLASSNAME$1e;
8146
+ ComboboxInput.displayName = COMPONENT_NAME$1g;
8147
+ ComboboxInput.className = CLASSNAME$1f;
8148
8148
 
8149
8149
  /**
8150
8150
  * Component display name.
8151
8151
  */
8152
- const COMPONENT_NAME$1d = 'List';
8152
+ const COMPONENT_NAME$1e = 'List';
8153
8153
 
8154
8154
  /**
8155
8155
  * Component default class name and class prefix.
8156
8156
  */
8157
- const CLASSNAME$1c = 'lumx-list';
8157
+ const CLASSNAME$1d = 'lumx-list';
8158
8158
  const {
8159
- block: block$V
8160
- } = bem(CLASSNAME$1c);
8159
+ block: block$W
8160
+ } = bem(CLASSNAME$1d);
8161
8161
 
8162
8162
  /**
8163
8163
  * Component default props.
@@ -8180,15 +8180,15 @@ const List$1 = props => {
8180
8180
  } = props;
8181
8181
  return /*#__PURE__*/jsx("ul", {
8182
8182
  ...forwardedProps,
8183
- className: classnames(className, block$V({
8183
+ className: classnames(className, block$W({
8184
8184
  [`item-padding-${itemPadding}`]: Boolean(itemPadding)
8185
8185
  })),
8186
8186
  ref: ref,
8187
8187
  children: children
8188
8188
  });
8189
8189
  };
8190
- List$1.displayName = COMPONENT_NAME$1d;
8191
- List$1.className = CLASSNAME$1c;
8190
+ List$1.displayName = COMPONENT_NAME$1e;
8191
+ List$1.className = CLASSNAME$1d;
8192
8192
  List$1.defaultProps = DEFAULT_PROPS$Y;
8193
8193
 
8194
8194
  /**
@@ -8204,12 +8204,12 @@ List$1.defaultProps = DEFAULT_PROPS$Y;
8204
8204
  /**
8205
8205
  * Component display name.
8206
8206
  */
8207
- const COMPONENT_NAME$1c = 'ComboboxList';
8207
+ const COMPONENT_NAME$1d = 'ComboboxList';
8208
8208
 
8209
8209
  /**
8210
8210
  * Component default class name and class prefix.
8211
8211
  */
8212
- const CLASSNAME$1b = 'lumx-combobox-list';
8212
+ const CLASSNAME$1c = 'lumx-combobox-list';
8213
8213
 
8214
8214
  /**
8215
8215
  * ComboboxList core template.
@@ -8231,7 +8231,7 @@ const ComboboxList$1 = props => {
8231
8231
  } = props;
8232
8232
  return List$1({
8233
8233
  ...forwardedProps,
8234
- className: classnames(className, CLASSNAME$1b),
8234
+ className: classnames(className, CLASSNAME$1c),
8235
8235
  ref,
8236
8236
  itemPadding: 'big',
8237
8237
  id,
@@ -8316,22 +8316,22 @@ const ComboboxList = forwardRef((props, ref) => {
8316
8316
  })
8317
8317
  });
8318
8318
  });
8319
- ComboboxList.displayName = COMPONENT_NAME$1c;
8320
- ComboboxList.className = CLASSNAME$1b;
8319
+ ComboboxList.displayName = COMPONENT_NAME$1d;
8320
+ ComboboxList.className = CLASSNAME$1c;
8321
8321
 
8322
8322
  /**
8323
8323
  * Component display name.
8324
8324
  */
8325
- const COMPONENT_NAME$1b = 'ListItem';
8325
+ const COMPONENT_NAME$1c = 'ListItem';
8326
8326
 
8327
8327
  /**
8328
8328
  * Component default class name and class prefix.
8329
8329
  */
8330
- const CLASSNAME$1a = 'lumx-list-item';
8330
+ const CLASSNAME$1b = 'lumx-list-item';
8331
8331
  const {
8332
- block: block$U,
8332
+ block: block$V,
8333
8333
  element: element$J
8334
- } = bem(CLASSNAME$1a);
8334
+ } = bem(CLASSNAME$1b);
8335
8335
 
8336
8336
  /**
8337
8337
  * Component default props.
@@ -8368,7 +8368,7 @@ const ListItem$1 = props => {
8368
8368
  return /*#__PURE__*/jsx("li", {
8369
8369
  ref: ref,
8370
8370
  ...forwardedProps,
8371
- className: classnames(className, block$U({
8371
+ className: classnames(className, block$V({
8372
8372
  [`size-${size}`]: Boolean(size)
8373
8373
  })),
8374
8374
  children: RawClickable({
@@ -8398,8 +8398,8 @@ const ListItem$1 = props => {
8398
8398
  })
8399
8399
  });
8400
8400
  };
8401
- ListItem$1.displayName = COMPONENT_NAME$1b;
8402
- ListItem$1.className = CLASSNAME$1a;
8401
+ ListItem$1.displayName = COMPONENT_NAME$1c;
8402
+ ListItem$1.className = CLASSNAME$1b;
8403
8403
  ListItem$1.defaultProps = DEFAULT_PROPS$X;
8404
8404
 
8405
8405
  /**
@@ -8409,12 +8409,12 @@ ListItem$1.defaultProps = DEFAULT_PROPS$X;
8409
8409
  /**
8410
8410
  * Component display name.
8411
8411
  */
8412
- const COMPONENT_NAME$1a = 'ListItemAction';
8412
+ const COMPONENT_NAME$1b = 'ListItemAction';
8413
8413
 
8414
8414
  /**
8415
8415
  * Component classname (used by action area CSS pattern).
8416
8416
  */
8417
- const CLASSNAME$19 = 'lumx-action-area__action';
8417
+ const CLASSNAME$1a = 'lumx-action-area__action';
8418
8418
  const DEFAULT_PROPS$W = {};
8419
8419
 
8420
8420
  /**
@@ -8448,16 +8448,16 @@ const ListItemAction$1 = props => {
8448
8448
  /**
8449
8449
  * Component display name.
8450
8450
  */
8451
- const COMPONENT_NAME$19 = 'ComboboxOption';
8451
+ const COMPONENT_NAME$1a = 'ComboboxOption';
8452
8452
 
8453
8453
  /**
8454
8454
  * Component default class name and class prefix.
8455
8455
  */
8456
- const CLASSNAME$18 = 'lumx-combobox-option';
8456
+ const CLASSNAME$19 = 'lumx-combobox-option';
8457
8457
  const {
8458
- block: block$T,
8458
+ block: block$U,
8459
8459
  element: element$I
8460
- } = bem(CLASSNAME$18);
8460
+ } = bem(CLASSNAME$19);
8461
8461
 
8462
8462
  /**
8463
8463
  * ComboboxOption core template.
@@ -8519,7 +8519,7 @@ const ComboboxOption$1 = (props, {
8519
8519
  size: 'tiny',
8520
8520
  ...forwardedProps,
8521
8521
  hidden,
8522
- className: !hidden ? classnames(className, block$T()) : undefined,
8522
+ className: !hidden ? classnames(className, block$U()) : undefined,
8523
8523
  before,
8524
8524
  after,
8525
8525
  role: itemRole,
@@ -8641,8 +8641,8 @@ const ComboboxOption = forwardRef((props, ref) => {
8641
8641
  Tooltip
8642
8642
  });
8643
8643
  });
8644
- ComboboxOption.displayName = COMPONENT_NAME$19;
8645
- ComboboxOption.className = CLASSNAME$18;
8644
+ ComboboxOption.displayName = COMPONENT_NAME$1a;
8645
+ ComboboxOption.className = CLASSNAME$19;
8646
8646
 
8647
8647
  /**
8648
8648
  * Defines the props for the core ComboboxOptionAction template.
@@ -8651,12 +8651,12 @@ ComboboxOption.className = CLASSNAME$18;
8651
8651
  /**
8652
8652
  * Component display name.
8653
8653
  */
8654
- const COMPONENT_NAME$18 = 'ComboboxOptionAction';
8654
+ const COMPONENT_NAME$19 = 'ComboboxOptionAction';
8655
8655
 
8656
8656
  /**
8657
8657
  * Component default class name and class prefix.
8658
8658
  */
8659
- const CLASSNAME$17 = 'lumx-combobox-option-action';
8659
+ const CLASSNAME$18 = 'lumx-combobox-option-action';
8660
8660
 
8661
8661
  /**
8662
8662
  * ComboboxOptionAction core template.
@@ -8679,7 +8679,7 @@ const ComboboxOptionAction$1 = props => {
8679
8679
  as: Element,
8680
8680
  ...forwardedProps,
8681
8681
  role: 'gridcell',
8682
- className: classnames(className, CLASSNAME$17),
8682
+ className: classnames(className, CLASSNAME$18),
8683
8683
  handleClick,
8684
8684
  children
8685
8685
  });
@@ -8729,23 +8729,23 @@ const ComboboxOptionAction = Object.assign(forwardRefPolymorphic((props, ref) =>
8729
8729
  children
8730
8730
  });
8731
8731
  }), {
8732
- displayName: COMPONENT_NAME$18,
8733
- className: CLASSNAME$17
8732
+ displayName: COMPONENT_NAME$19,
8733
+ className: CLASSNAME$18
8734
8734
  });
8735
8735
 
8736
8736
  /**
8737
8737
  * Component display name.
8738
8738
  */
8739
- const COMPONENT_NAME$17 = 'ComboboxOptionMoreInfo';
8739
+ const COMPONENT_NAME$18 = 'ComboboxOptionMoreInfo';
8740
8740
 
8741
8741
  /**
8742
8742
  * Component default class name and class prefix.
8743
8743
  */
8744
- const CLASSNAME$16 = 'lumx-combobox-option-more-info';
8744
+ const CLASSNAME$17 = 'lumx-combobox-option-more-info';
8745
8745
  const {
8746
- block: block$S,
8746
+ block: block$T,
8747
8747
  element: element$H
8748
- } = bem(CLASSNAME$16);
8748
+ } = bem(CLASSNAME$17);
8749
8749
 
8750
8750
  /**
8751
8751
  * ComboboxOptionMoreInfo core template.
@@ -8779,7 +8779,7 @@ const ComboboxOptionMoreInfo$1 = (props, {
8779
8779
  icon: mdiInformationOutline,
8780
8780
  size: "s",
8781
8781
  ...buttonProps,
8782
- className: block$S([className, buttonProps?.className]),
8782
+ className: block$T([className, buttonProps?.className]),
8783
8783
  emphasis: "low",
8784
8784
  onMouseEnter: onMouseEnter,
8785
8785
  onMouseLeave: onMouseLeave
@@ -9062,16 +9062,16 @@ const POPOVER_ZINDEX = 9999;
9062
9062
  /**
9063
9063
  * Component display name.
9064
9064
  */
9065
- const COMPONENT_NAME$16 = 'Popover';
9065
+ const COMPONENT_NAME$17 = 'Popover';
9066
9066
 
9067
9067
  /**
9068
9068
  * Component default class name and class prefix.
9069
9069
  */
9070
- const CLASSNAME$15 = 'lumx-popover';
9070
+ const CLASSNAME$16 = 'lumx-popover';
9071
9071
  const {
9072
- block: block$R,
9072
+ block: block$S,
9073
9073
  element: element$G
9074
- } = bem(CLASSNAME$15);
9074
+ } = bem(CLASSNAME$16);
9075
9075
 
9076
9076
  /**
9077
9077
  * Component default props (used by framework wrappers).
@@ -9133,7 +9133,7 @@ const Popover$1 = (props, {
9133
9133
  children: /*#__PURE__*/jsxs(Component, {
9134
9134
  ...forwardedProps,
9135
9135
  ref: ref,
9136
- className: classnames(className, block$R({
9136
+ className: classnames(className, block$S({
9137
9137
  [`theme-${theme}`]: Boolean(theme),
9138
9138
  [`elevation-${adjustedElevation}`]: Boolean(adjustedElevation),
9139
9139
  [`position-${position}`]: Boolean(position),
@@ -9523,7 +9523,7 @@ const _InnerPopover = forwardRef((props, ref) => {
9523
9523
  ThemeProvider
9524
9524
  });
9525
9525
  });
9526
- _InnerPopover.displayName = COMPONENT_NAME$16;
9526
+ _InnerPopover.displayName = COMPONENT_NAME$17;
9527
9527
 
9528
9528
  /**
9529
9529
  * Popover component.
@@ -9535,8 +9535,8 @@ _InnerPopover.displayName = COMPONENT_NAME$16;
9535
9535
  const Popover = skipRender(
9536
9536
  // Skip render in SSR
9537
9537
  () => Boolean(DOCUMENT), _InnerPopover);
9538
- Popover.displayName = COMPONENT_NAME$16;
9539
- Popover.className = CLASSNAME$15;
9538
+ Popover.displayName = COMPONENT_NAME$17;
9539
+ Popover.className = CLASSNAME$16;
9540
9540
  Popover.defaultProps = DEFAULT_PROPS$V;
9541
9541
 
9542
9542
  /**
@@ -9599,22 +9599,22 @@ const ComboboxOptionMoreInfo = props => {
9599
9599
  Popover
9600
9600
  });
9601
9601
  };
9602
- ComboboxOptionMoreInfo.displayName = COMPONENT_NAME$17;
9603
- ComboboxOptionMoreInfo.className = CLASSNAME$16;
9602
+ ComboboxOptionMoreInfo.displayName = COMPONENT_NAME$18;
9603
+ ComboboxOptionMoreInfo.className = CLASSNAME$17;
9604
9604
 
9605
9605
  /**
9606
9606
  * Component display name.
9607
9607
  */
9608
- const COMPONENT_NAME$15 = 'SkeletonTypography';
9608
+ const COMPONENT_NAME$16 = 'SkeletonTypography';
9609
9609
 
9610
9610
  /**
9611
9611
  * Component default class name and class prefix.
9612
9612
  */
9613
- const CLASSNAME$14 = 'lumx-skeleton-typography';
9613
+ const CLASSNAME$15 = 'lumx-skeleton-typography';
9614
9614
  const {
9615
- block: block$Q,
9615
+ block: block$R,
9616
9616
  element: element$F
9617
- } = bem(CLASSNAME$14);
9617
+ } = bem(CLASSNAME$15);
9618
9618
 
9619
9619
  /**
9620
9620
  * SkeletonTypography component.
@@ -9635,7 +9635,7 @@ const SkeletonTypography$1 = props => {
9635
9635
  return /*#__PURE__*/jsx("div", {
9636
9636
  ref: ref,
9637
9637
  ...forwardedProps,
9638
- className: classnames(className, block$Q({
9638
+ className: classnames(className, block$R({
9639
9639
  [`theme-${theme}`]: Boolean(theme),
9640
9640
  [`typography-${typography}`]: Boolean(typography),
9641
9641
  [`color-${color}`]: Boolean(color)
@@ -9653,12 +9653,12 @@ const SkeletonTypography$1 = props => {
9653
9653
  /**
9654
9654
  * Component display name.
9655
9655
  */
9656
- const COMPONENT_NAME$14 = 'ComboboxOptionSkeleton';
9656
+ const COMPONENT_NAME$15 = 'ComboboxOptionSkeleton';
9657
9657
 
9658
9658
  /**
9659
9659
  * Component default class name and class prefix.
9660
9660
  */
9661
- const CLASSNAME$13 = 'lumx-combobox-option-skeleton';
9661
+ const CLASSNAME$14 = 'lumx-combobox-option-skeleton';
9662
9662
 
9663
9663
  /**
9664
9664
  * ComboboxOptionSkeleton core template.
@@ -9685,7 +9685,7 @@ const ComboboxOptionSkeleton$1 = props => {
9685
9685
  size: 'tiny',
9686
9686
  role: 'none',
9687
9687
  ...forwardedProps,
9688
- className: classnames(className, CLASSNAME$13),
9688
+ className: classnames(className, CLASSNAME$14),
9689
9689
  children: children || /*#__PURE__*/jsxs(Fragment, {
9690
9690
  children: [/*#__PURE__*/jsx(SkeletonTypography$1, {
9691
9691
  typography: "body1",
@@ -9738,19 +9738,19 @@ const ComboboxOptionSkeleton = props => {
9738
9738
  ...props
9739
9739
  });
9740
9740
  };
9741
- ComboboxOptionSkeleton.displayName = COMPONENT_NAME$14;
9742
- ComboboxOptionSkeleton.className = CLASSNAME$13;
9741
+ ComboboxOptionSkeleton.displayName = COMPONENT_NAME$15;
9742
+ ComboboxOptionSkeleton.className = CLASSNAME$14;
9743
9743
 
9744
- const COMPONENT_NAME$13 = 'ComboboxPopover';
9744
+ const COMPONENT_NAME$14 = 'ComboboxPopover';
9745
9745
 
9746
9746
  /**
9747
9747
  * Component default class name.
9748
9748
  */
9749
- const CLASSNAME$12 = 'lumx-combobox-popover';
9749
+ const CLASSNAME$13 = 'lumx-combobox-popover';
9750
9750
  const {
9751
- block: block$P,
9751
+ block: block$Q,
9752
9752
  element: element$E
9753
- } = bem(CLASSNAME$12);
9753
+ } = bem(CLASSNAME$13);
9754
9754
 
9755
9755
  /**
9756
9756
  * Defines the props for the core ComboboxPopover template.
@@ -9791,7 +9791,7 @@ const ComboboxPopover$1 = (props, {
9791
9791
  ...forwardedProps,
9792
9792
  placement: placement,
9793
9793
  fitToAnchorWidth: fitToAnchorWidth,
9794
- className: block$P([className]),
9794
+ className: block$Q([className]),
9795
9795
  anchorRef: anchorRef,
9796
9796
  isOpen: isOpen,
9797
9797
  onClose: handleClose,
@@ -9813,15 +9813,15 @@ const ComboboxPopover$1 = (props, {
9813
9813
  /**
9814
9814
  * Component display name.
9815
9815
  */
9816
- const COMPONENT_NAME$12 = 'FlexBox';
9816
+ const COMPONENT_NAME$13 = 'FlexBox';
9817
9817
 
9818
9818
  /**
9819
9819
  * Component default class name and class prefix.
9820
9820
  */
9821
- const CLASSNAME$11 = 'lumx-flex-box';
9821
+ const CLASSNAME$12 = 'lumx-flex-box';
9822
9822
  const {
9823
- block: block$O
9824
- } = bem(CLASSNAME$11);
9823
+ block: block$P
9824
+ } = bem(CLASSNAME$12);
9825
9825
 
9826
9826
  /**
9827
9827
  * Get FlexBox component props (className computation).
@@ -9845,7 +9845,7 @@ function getFlexBoxProps(props) {
9845
9845
  const adjustedOrientation = orientation ?? (wrap || hAlign || vAlign ? Orientation.horizontal : null);
9846
9846
  return {
9847
9847
  ...forwardedProps,
9848
- className: classnames(className, block$O({
9848
+ className: classnames(className, block$P({
9849
9849
  [`orientation-${adjustedOrientation}`]: Boolean(adjustedOrientation),
9850
9850
  [`v-align-${vAlign}`]: Boolean(vAlign),
9851
9851
  [`h-align-${hAlign}`]: Boolean(hAlign),
@@ -9877,8 +9877,8 @@ const FlexBox = forwardRef((props, ref) => {
9877
9877
  children: children
9878
9878
  });
9879
9879
  });
9880
- FlexBox.displayName = COMPONENT_NAME$12;
9881
- FlexBox.className = CLASSNAME$11;
9880
+ FlexBox.displayName = COMPONENT_NAME$13;
9881
+ FlexBox.className = CLASSNAME$12;
9882
9882
 
9883
9883
  /**
9884
9884
  * Props for Popover that can be passed to Combobox.Popover.
@@ -9916,8 +9916,8 @@ const ComboboxPopover = props => {
9916
9916
  FlexBox
9917
9917
  });
9918
9918
  };
9919
- ComboboxPopover.displayName = COMPONENT_NAME$13;
9920
- ComboboxPopover.className = CLASSNAME$12;
9919
+ ComboboxPopover.displayName = COMPONENT_NAME$14;
9920
+ ComboboxPopover.className = CLASSNAME$13;
9921
9921
 
9922
9922
  /**
9923
9923
  * Combobox.Provider component.
@@ -9962,12 +9962,12 @@ ComboboxProvider.displayName = 'Combobox.Provider';
9962
9962
  /**
9963
9963
  * Component display name.
9964
9964
  */
9965
- const COMPONENT_NAME$11 = 'ComboboxSection';
9965
+ const COMPONENT_NAME$12 = 'ComboboxSection';
9966
9966
 
9967
9967
  /**
9968
9968
  * Component default class name and class prefix.
9969
9969
  */
9970
- const CLASSNAME$10 = 'lumx-combobox-section';
9970
+ const CLASSNAME$11 = 'lumx-combobox-section';
9971
9971
 
9972
9972
  /**
9973
9973
  * ComboboxSection core template.
@@ -9994,7 +9994,7 @@ const ComboboxSection$1 = (props, {
9994
9994
  ...forwardedProps,
9995
9995
  hidden: hidden,
9996
9996
  "aria-hidden": ariaHidden || undefined,
9997
- className: !hidden ? classnames(className, CLASSNAME$10) : undefined,
9997
+ className: !hidden ? classnames(className, CLASSNAME$11) : undefined,
9998
9998
  role: !ariaHidden ? 'none' : undefined,
9999
9999
  itemsWrapperProps: {
10000
10000
  role: 'group'
@@ -10006,16 +10006,16 @@ const ComboboxSection$1 = (props, {
10006
10006
  /**
10007
10007
  * Component display name.
10008
10008
  */
10009
- const COMPONENT_NAME$10 = 'ListSection';
10009
+ const COMPONENT_NAME$11 = 'ListSection';
10010
10010
 
10011
10011
  /**
10012
10012
  * Component default class name and class prefix.
10013
10013
  */
10014
- const CLASSNAME$$ = 'lumx-list-section';
10014
+ const CLASSNAME$10 = 'lumx-list-section';
10015
10015
  const {
10016
- block: block$N,
10016
+ block: block$O,
10017
10017
  element: element$D
10018
- } = bem(CLASSNAME$$);
10018
+ } = bem(CLASSNAME$10);
10019
10019
 
10020
10020
  /**
10021
10021
  * Component default props.
@@ -10045,7 +10045,7 @@ const ListSection$1 = props => {
10045
10045
  return /*#__PURE__*/jsxs("li", {
10046
10046
  ref: ref,
10047
10047
  ...forwardedProps,
10048
- className: classnames(className, block$N()),
10048
+ className: classnames(className, block$O()),
10049
10049
  children: [hasHeader && /*#__PURE__*/jsxs(Text, {
10050
10050
  as: "p",
10051
10051
  typography: "overline",
@@ -10062,8 +10062,8 @@ const ListSection$1 = props => {
10062
10062
  })]
10063
10063
  });
10064
10064
  };
10065
- ListSection$1.displayName = COMPONENT_NAME$10;
10066
- ListSection$1.className = CLASSNAME$$;
10065
+ ListSection$1.displayName = COMPONENT_NAME$11;
10066
+ ListSection$1.className = CLASSNAME$10;
10067
10067
  ListSection$1.defaultProps = DEFAULT_PROPS$U;
10068
10068
 
10069
10069
  /**
@@ -10086,8 +10086,8 @@ const ListSection = forwardRef((props, ref) => {
10086
10086
  Text
10087
10087
  });
10088
10088
  });
10089
- ListSection.displayName = COMPONENT_NAME$10;
10090
- ListSection.className = CLASSNAME$$;
10089
+ ListSection.displayName = COMPONENT_NAME$11;
10090
+ ListSection.className = CLASSNAME$10;
10091
10091
  ListSection.defaultProps = DEFAULT_PROPS$U;
10092
10092
 
10093
10093
  /**
@@ -10136,21 +10136,21 @@ const ComboboxSection = forwardRef((props, ref) => {
10136
10136
  ListSection
10137
10137
  });
10138
10138
  });
10139
- ComboboxSection.displayName = COMPONENT_NAME$11;
10140
- ComboboxSection.className = CLASSNAME$10;
10139
+ ComboboxSection.displayName = COMPONENT_NAME$12;
10140
+ ComboboxSection.className = CLASSNAME$11;
10141
10141
 
10142
10142
  /**
10143
10143
  * Component display name.
10144
10144
  */
10145
- const COMPONENT_NAME$$ = 'ComboboxState';
10145
+ const COMPONENT_NAME$10 = 'ComboboxState';
10146
10146
 
10147
10147
  /**
10148
10148
  * Component default class name and class prefix.
10149
10149
  */
10150
- const CLASSNAME$_ = 'lumx-combobox-state';
10150
+ const CLASSNAME$$ = 'lumx-combobox-state';
10151
10151
  const {
10152
- block: block$M
10153
- } = bem(CLASSNAME$_);
10152
+ block: block$N
10153
+ } = bem(CLASSNAME$$);
10154
10154
 
10155
10155
  /**
10156
10156
  * Defines the props for the core ComboboxState template.
@@ -10211,7 +10211,7 @@ const ComboboxState$1 = (props, {
10211
10211
  // the popover's closeMode="hide") and revealing it doesn't trigger announcements.
10212
10212
  const renderContent = isOpen;
10213
10213
  return /*#__PURE__*/jsxs(GenericBlock, {
10214
- className: classnames(!show && visuallyHidden(), block$M(), padding('regular')),
10214
+ className: classnames(!show && visuallyHidden(), block$N(), padding('regular')),
10215
10215
  orientation: "vertical",
10216
10216
  ...alignProps,
10217
10217
  role: "status",
@@ -10323,16 +10323,16 @@ function partitionMulti(elements, predicates) {
10323
10323
  /**
10324
10324
  * Component display name.
10325
10325
  */
10326
- const COMPONENT_NAME$_ = 'GenericBlock';
10326
+ const COMPONENT_NAME$$ = 'GenericBlock';
10327
10327
 
10328
10328
  /**
10329
10329
  * Component default class name and class prefix.
10330
10330
  */
10331
- const CLASSNAME$Z = 'lumx-generic-block';
10331
+ const CLASSNAME$_ = 'lumx-generic-block';
10332
10332
  const {
10333
- block: block$L,
10333
+ block: block$M,
10334
10334
  element: element$C
10335
- } = bem(CLASSNAME$Z);
10335
+ } = bem(CLASSNAME$_);
10336
10336
 
10337
10337
  /**
10338
10338
  * Component default props.
@@ -10371,7 +10371,7 @@ const GenericBlock$1 = props => {
10371
10371
  } = props;
10372
10372
  return /*#__PURE__*/jsxs(FlexBox, {
10373
10373
  ref: ref,
10374
- className: classnames(className, block$L()),
10374
+ className: classnames(className, block$M()),
10375
10375
  gap: gap,
10376
10376
  orientation: orientation,
10377
10377
  ...forwardedProps,
@@ -10474,8 +10474,8 @@ const BaseGenericBlock = forwardRef((props, ref) => {
10474
10474
  }) : undefined
10475
10475
  });
10476
10476
  });
10477
- BaseGenericBlock.displayName = COMPONENT_NAME$_;
10478
- BaseGenericBlock.className = CLASSNAME$Z;
10477
+ BaseGenericBlock.displayName = COMPONENT_NAME$$;
10478
+ BaseGenericBlock.className = CLASSNAME$_;
10479
10479
  BaseGenericBlock.defaultProps = DEFAULT_PROPS$T;
10480
10480
  const GenericBlock = Object.assign(BaseGenericBlock, {
10481
10481
  Figure,
@@ -10554,18 +10554,18 @@ const ComboboxState = props => {
10554
10554
  Text
10555
10555
  });
10556
10556
  };
10557
- ComboboxState.displayName = COMPONENT_NAME$$;
10558
- ComboboxState.className = CLASSNAME$_;
10557
+ ComboboxState.displayName = COMPONENT_NAME$10;
10558
+ ComboboxState.className = CLASSNAME$$;
10559
10559
 
10560
10560
  /**
10561
10561
  * Component display name.
10562
10562
  */
10563
- const COMPONENT_NAME$Z = 'ListDivider';
10563
+ const COMPONENT_NAME$_ = 'ListDivider';
10564
10564
 
10565
10565
  /**
10566
10566
  * Component default class name and class prefix.
10567
10567
  */
10568
- const CLASSNAME$Y = 'lumx-list-divider';
10568
+ const CLASSNAME$Z = 'lumx-list-divider';
10569
10569
 
10570
10570
  /**
10571
10571
  * Component default props.
@@ -10589,11 +10589,11 @@ const ListDivider$1 = props => {
10589
10589
  ref: ref,
10590
10590
  role: "none",
10591
10591
  ...forwardedProps,
10592
- className: classnames(className, CLASSNAME$Y)
10592
+ className: classnames(className, CLASSNAME$Z)
10593
10593
  });
10594
10594
  };
10595
- ListDivider$1.displayName = COMPONENT_NAME$Z;
10596
- ListDivider$1.className = CLASSNAME$Y;
10595
+ ListDivider$1.displayName = COMPONENT_NAME$_;
10596
+ ListDivider$1.className = CLASSNAME$Z;
10597
10597
  ListDivider$1.defaultProps = DEFAULT_PROPS$S;
10598
10598
 
10599
10599
  /**
@@ -10614,8 +10614,8 @@ const ListDivider = forwardRef((props, ref) => {
10614
10614
  ref
10615
10615
  });
10616
10616
  });
10617
- ListDivider.displayName = COMPONENT_NAME$Z;
10618
- ListDivider.className = CLASSNAME$Y;
10617
+ ListDivider.displayName = COMPONENT_NAME$_;
10618
+ ListDivider.className = CLASSNAME$Z;
10619
10619
  ListDivider.defaultProps = DEFAULT_PROPS$S;
10620
10620
 
10621
10621
  /**
@@ -10665,16 +10665,16 @@ const CommentBlockVariant = {
10665
10665
  /**
10666
10666
  * Component display name.
10667
10667
  */
10668
- const COMPONENT_NAME$Y = 'CommentBlock';
10668
+ const COMPONENT_NAME$Z = 'CommentBlock';
10669
10669
 
10670
10670
  /**
10671
10671
  * Component default class name and class prefix.
10672
10672
  */
10673
- const CLASSNAME$X = 'lumx-comment-block';
10673
+ const CLASSNAME$Y = 'lumx-comment-block';
10674
10674
  const {
10675
- block: block$K,
10675
+ block: block$L,
10676
10676
  element: element$B
10677
- } = classNames.bem(CLASSNAME$X);
10677
+ } = classNames.bem(CLASSNAME$Y);
10678
10678
 
10679
10679
  /**
10680
10680
  * Component default props.
@@ -10715,7 +10715,7 @@ const CommentBlock = forwardRef((props, ref) => {
10715
10715
  const hasChildren = Children.count(children) > 0;
10716
10716
  return /*#__PURE__*/jsxs("div", {
10717
10717
  ref: ref,
10718
- className: classNames.join(className, block$K({
10718
+ className: classNames.join(className, block$L({
10719
10719
  'has-children': hasChildren && isOpen,
10720
10720
  'has-indented-children': hasChildren && variant === CommentBlockVariant.indented,
10721
10721
  'has-linear-children': hasChildren && variant === CommentBlockVariant.linear,
@@ -10776,8 +10776,8 @@ const CommentBlock = forwardRef((props, ref) => {
10776
10776
  })]
10777
10777
  });
10778
10778
  });
10779
- CommentBlock.displayName = COMPONENT_NAME$Y;
10780
- CommentBlock.className = CLASSNAME$X;
10779
+ CommentBlock.displayName = COMPONENT_NAME$Z;
10780
+ CommentBlock.className = CLASSNAME$Y;
10781
10781
  CommentBlock.defaultProps = DEFAULT_PROPS$R;
10782
10782
 
10783
10783
  /**
@@ -10798,12 +10798,12 @@ const isDateValid = date => date instanceof Date && !Number.isNaN(date.getTime()
10798
10798
  /**
10799
10799
  * Component display name.
10800
10800
  */
10801
- const COMPONENT_NAME$X = 'DatePicker';
10801
+ const COMPONENT_NAME$Y = 'DatePicker';
10802
10802
 
10803
10803
  /**
10804
10804
  * Component default class name and class prefix.
10805
10805
  */
10806
- const CLASSNAME$W = 'lumx-date-picker';
10806
+ const CLASSNAME$X = 'lumx-date-picker';
10807
10807
 
10808
10808
  /** Get first day of week for locale from the browser API */
10809
10809
  const getFromBrowser = locale => {
@@ -10956,7 +10956,10 @@ const getMonthCalendar = (locale, referenceDate = new Date(), rangeMinDate, rang
10956
10956
  const isSameDay = (date1, date2) => isDateValid(date1) && isDateValid(date2) && date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
10957
10957
 
10958
10958
  /**
10959
- * Get current browser locale.
10959
+ * Get current browser locale (BCP-47 string).
10960
+ *
10961
+ * Reads `navigator.languages[0]` (the user's preferred language) with a
10962
+ * fallback to `navigator.language`.
10960
10963
  */
10961
10964
  const getCurrentLocale = () => navigator.languages?.[0] || navigator.language;
10962
10965
 
@@ -11023,7 +11026,7 @@ function formatDayNumber(locale, date) {
11023
11026
 
11024
11027
  const {
11025
11028
  element: element$A
11026
- } = classNames.bem(CLASSNAME$W);
11029
+ } = classNames.bem(CLASSNAME$X);
11027
11030
 
11028
11031
  /**
11029
11032
  * Defines the props of the component.
@@ -11032,7 +11035,7 @@ const {
11032
11035
  /**
11033
11036
  * Component display name.
11034
11037
  */
11035
- const COMPONENT_NAME$W = 'DatePickerControlled';
11038
+ const COMPONENT_NAME$X = 'DatePickerControlled';
11036
11039
 
11037
11040
  /**
11038
11041
  * DatePickerControlled component.
@@ -11117,7 +11120,7 @@ const DatePickerControlled = forwardRef((props, ref) => {
11117
11120
  const yearLabel = getYearDisplayName(locale);
11118
11121
  return /*#__PURE__*/jsxs("div", {
11119
11122
  ref: ref,
11120
- className: `${CLASSNAME$W}`,
11123
+ className: `${CLASSNAME$X}`,
11121
11124
  style: style,
11122
11125
  children: [/*#__PURE__*/jsx(Toolbar, {
11123
11126
  className: element$A('toolbar'),
@@ -11222,8 +11225,8 @@ const DatePickerControlled = forwardRef((props, ref) => {
11222
11225
  })]
11223
11226
  });
11224
11227
  });
11225
- DatePickerControlled.displayName = COMPONENT_NAME$W;
11226
- DatePickerControlled.className = CLASSNAME$W;
11228
+ DatePickerControlled.displayName = COMPONENT_NAME$X;
11229
+ DatePickerControlled.className = CLASSNAME$X;
11227
11230
 
11228
11231
  /**
11229
11232
  * DatePicker component.
@@ -11265,8 +11268,8 @@ const DatePicker = forwardRef((props, ref) => {
11265
11268
  onMonthChange: setSelectedMonth
11266
11269
  });
11267
11270
  });
11268
- DatePicker.displayName = COMPONENT_NAME$X;
11269
- DatePicker.className = CLASSNAME$W;
11271
+ DatePicker.displayName = COMPONENT_NAME$Y;
11272
+ DatePicker.className = CLASSNAME$X;
11270
11273
 
11271
11274
  const useBooleanState = defaultValue => {
11272
11275
  const [booleanValue, setBoolean] = useState(defaultValue);
@@ -11279,7 +11282,7 @@ const useBooleanState = defaultValue => {
11279
11282
  /**
11280
11283
  * Component display name.
11281
11284
  */
11282
- const COMPONENT_NAME$V = 'DatePickerField';
11285
+ const COMPONENT_NAME$W = 'DatePickerField';
11283
11286
 
11284
11287
  /**
11285
11288
  * DatePickerField component.
@@ -11368,7 +11371,7 @@ const DatePickerField = forwardRef((props, ref) => {
11368
11371
  }) : null]
11369
11372
  });
11370
11373
  });
11371
- DatePickerField.displayName = COMPONENT_NAME$V;
11374
+ DatePickerField.displayName = COMPONENT_NAME$W;
11372
11375
 
11373
11376
  /**
11374
11377
  * Convenient hook to create interaction observers.
@@ -11664,16 +11667,16 @@ const useTransitionVisibility = (ref, isComponentVisible, timeout, onVisibilityC
11664
11667
  /**
11665
11668
  * Component display name.
11666
11669
  */
11667
- const COMPONENT_NAME$U = 'Dialog';
11670
+ const COMPONENT_NAME$V = 'Dialog';
11668
11671
 
11669
11672
  /**
11670
11673
  * Component default class name and class prefix.
11671
11674
  */
11672
- const CLASSNAME$V = 'lumx-dialog';
11675
+ const CLASSNAME$W = 'lumx-dialog';
11673
11676
  const {
11674
- block: block$J,
11677
+ block: block$K,
11675
11678
  element: element$z
11676
- } = bem(CLASSNAME$V);
11679
+ } = bem(CLASSNAME$W);
11677
11680
 
11678
11681
  /**
11679
11682
  * Component default props.
@@ -11729,7 +11732,7 @@ const Dialog$1 = props => {
11729
11732
  children: /*#__PURE__*/jsxs("div", {
11730
11733
  ref: ref,
11731
11734
  ...forwardedProps,
11732
- className: classnames(className, block$J({
11735
+ className: classnames(className, block$K({
11733
11736
  'is-hidden': !isOpen,
11734
11737
  'is-loading': isLoading,
11735
11738
  'is-shown': isOpen || isVisible,
@@ -11946,22 +11949,22 @@ const Dialog = forwardRef((props, ref) => {
11946
11949
  ...forwardedProps
11947
11950
  }) : null;
11948
11951
  });
11949
- Dialog.displayName = COMPONENT_NAME$U;
11950
- Dialog.className = CLASSNAME$V;
11952
+ Dialog.displayName = COMPONENT_NAME$V;
11953
+ Dialog.className = CLASSNAME$W;
11951
11954
  Dialog.defaultProps = DEFAULT_PROPS$P;
11952
11955
 
11953
11956
  /**
11954
11957
  * Component display name.
11955
11958
  */
11956
- const COMPONENT_NAME$T = 'Divider';
11959
+ const COMPONENT_NAME$U = 'Divider';
11957
11960
 
11958
11961
  /**
11959
11962
  * Component default class name and class prefix.
11960
11963
  */
11961
- const CLASSNAME$U = 'lumx-divider';
11964
+ const CLASSNAME$V = 'lumx-divider';
11962
11965
  const {
11963
- block: block$I
11964
- } = bem(CLASSNAME$U);
11966
+ block: block$J
11967
+ } = bem(CLASSNAME$V);
11965
11968
 
11966
11969
  /**
11967
11970
  * Divider component.
@@ -11979,7 +11982,7 @@ const Divider$1 = props => {
11979
11982
  return /*#__PURE__*/jsx("hr", {
11980
11983
  ref: ref,
11981
11984
  ...forwardedProps,
11982
- className: classnames(className, block$I({
11985
+ className: classnames(className, block$J({
11983
11986
  [`theme-${theme}`]: Boolean(theme)
11984
11987
  }))
11985
11988
  });
@@ -12013,22 +12016,22 @@ const Divider = forwardRef((props, ref) => {
12013
12016
  ...otherProps
12014
12017
  });
12015
12018
  });
12016
- Divider.displayName = COMPONENT_NAME$T;
12017
- Divider.className = CLASSNAME$U;
12019
+ Divider.displayName = COMPONENT_NAME$U;
12020
+ Divider.className = CLASSNAME$V;
12018
12021
  Divider.defaultProps = DEFAULT_PROPS$O;
12019
12022
 
12020
12023
  /**
12021
12024
  * Component display name.
12022
12025
  */
12023
- const COMPONENT_NAME$S = 'DragHandle';
12026
+ const COMPONENT_NAME$T = 'DragHandle';
12024
12027
 
12025
12028
  /**
12026
12029
  * Component default class name and class prefix.
12027
12030
  */
12028
- const CLASSNAME$T = 'lumx-drag-handle';
12031
+ const CLASSNAME$U = 'lumx-drag-handle';
12029
12032
  const {
12030
- block: block$H
12031
- } = bem(CLASSNAME$T);
12033
+ block: block$I
12034
+ } = bem(CLASSNAME$U);
12032
12035
 
12033
12036
  /**
12034
12037
  * DragHandle component.
@@ -12046,7 +12049,7 @@ const DragHandle$1 = props => {
12046
12049
  return /*#__PURE__*/jsx("div", {
12047
12050
  ref: ref,
12048
12051
  ...forwardedProps,
12049
- className: classnames(className, block$H({
12052
+ className: classnames(className, block$I({
12050
12053
  [`theme-${theme}`]: Boolean(theme)
12051
12054
  })),
12052
12055
  children: Icon$1({
@@ -12085,8 +12088,8 @@ const DragHandle = forwardRef((props, ref) => {
12085
12088
  ...otherProps
12086
12089
  });
12087
12090
  });
12088
- DragHandle.displayName = COMPONENT_NAME$S;
12089
- DragHandle.className = CLASSNAME$T;
12091
+ DragHandle.displayName = COMPONENT_NAME$T;
12092
+ DragHandle.className = CLASSNAME$U;
12090
12093
  DragHandle.defaultProps = DEFAULT_PROPS$N;
12091
12094
 
12092
12095
  const INITIAL_INDEX = -1;
@@ -12281,8 +12284,8 @@ const InternalList = forwardRef((props, ref) => {
12281
12284
  itemPadding: adjustedItemPadding
12282
12285
  });
12283
12286
  });
12284
- InternalList.displayName = COMPONENT_NAME$1d;
12285
- InternalList.className = CLASSNAME$1c;
12287
+ InternalList.displayName = COMPONENT_NAME$1e;
12288
+ InternalList.className = CLASSNAME$1d;
12286
12289
  InternalList.defaultProps = DEFAULT_PROPS$Y;
12287
12290
  const List = Object.assign(InternalList, {
12288
12291
  useKeyboardListNavigation
@@ -12332,16 +12335,16 @@ const useInfiniteScroll = (ref, callback, callbackOnMount = false, scrollTrigger
12332
12335
  /**
12333
12336
  * Component display name.
12334
12337
  */
12335
- const COMPONENT_NAME$R = 'Dropdown';
12338
+ const COMPONENT_NAME$S = 'Dropdown';
12336
12339
 
12337
12340
  /**
12338
12341
  * Component default class name and class prefix.
12339
12342
  */
12340
- const CLASSNAME$S = 'lumx-dropdown';
12343
+ const CLASSNAME$T = 'lumx-dropdown';
12341
12344
  const {
12342
- block: block$G,
12345
+ block: block$H,
12343
12346
  element: element$y
12344
- } = classNames.bem(CLASSNAME$S);
12347
+ } = classNames.bem(CLASSNAME$T);
12345
12348
 
12346
12349
  /**
12347
12350
  * Component default props.
@@ -12405,7 +12408,7 @@ const Dropdown = forwardRef((props, ref) => {
12405
12408
  ...forwardedProps,
12406
12409
  focusAnchorOnClose: focusAnchorOnClose,
12407
12410
  anchorRef: anchorRef,
12408
- className: classNames.join(className, block$G()),
12411
+ className: classNames.join(className, block$H()),
12409
12412
  elevation: 0,
12410
12413
  closeOnClickAway: closeOnClickAway,
12411
12414
  closeOnEscape: closeOnEscape,
@@ -12424,23 +12427,23 @@ const Dropdown = forwardRef((props, ref) => {
12424
12427
  })
12425
12428
  }) : null;
12426
12429
  });
12427
- Dropdown.displayName = COMPONENT_NAME$R;
12428
- Dropdown.className = CLASSNAME$S;
12430
+ Dropdown.displayName = COMPONENT_NAME$S;
12431
+ Dropdown.className = CLASSNAME$T;
12429
12432
  Dropdown.defaultProps = DEFAULT_PROPS$M;
12430
12433
 
12431
12434
  /**
12432
12435
  * Component display name.
12433
12436
  */
12434
- const COMPONENT_NAME$Q = 'ExpansionPanel';
12437
+ const COMPONENT_NAME$R = 'ExpansionPanel';
12435
12438
 
12436
12439
  /**
12437
12440
  * Component default class name and class prefix.
12438
12441
  */
12439
- const CLASSNAME$R = 'lumx-expansion-panel';
12442
+ const CLASSNAME$S = 'lumx-expansion-panel';
12440
12443
  const {
12441
- block: block$F,
12444
+ block: block$G,
12442
12445
  element: element$x
12443
- } = bem(CLASSNAME$R);
12446
+ } = bem(CLASSNAME$S);
12444
12447
 
12445
12448
  /**
12446
12449
  * Component default props.
@@ -12494,7 +12497,7 @@ const ExpansionPanel$1 = props => {
12494
12497
  }
12495
12498
  };
12496
12499
  const color = theme === Theme.dark ? ColorPalette.light : ColorPalette.dark;
12497
- const rootClassName = classnames(className, block$F({
12500
+ const rootClassName = classnames(className, block$G({
12498
12501
  'has-background': hasBackground,
12499
12502
  'has-header': Boolean(!isEmpty(headerProps.children)),
12500
12503
  'has-header-divider': hasHeaderDivider,
@@ -12629,17 +12632,17 @@ const ExpansionPanel = forwardRef((props, ref) => {
12629
12632
  ...forwardedProps
12630
12633
  });
12631
12634
  });
12632
- ExpansionPanel.displayName = COMPONENT_NAME$Q;
12633
- ExpansionPanel.className = CLASSNAME$R;
12635
+ ExpansionPanel.displayName = COMPONENT_NAME$R;
12636
+ ExpansionPanel.className = CLASSNAME$S;
12634
12637
  ExpansionPanel.defaultProps = DEFAULT_PROPS$L;
12635
12638
 
12636
- const COMPONENT_NAME$P = 'Flag';
12637
- const CLASSNAME$Q = 'lumx-flag';
12639
+ const COMPONENT_NAME$Q = 'Flag';
12640
+ const CLASSNAME$R = 'lumx-flag';
12638
12641
  const DEFAULT_PROPS$K = {};
12639
12642
  const {
12640
- block: block$E,
12643
+ block: block$F,
12641
12644
  element: element$w
12642
- } = bem(CLASSNAME$Q);
12645
+ } = bem(CLASSNAME$R);
12643
12646
 
12644
12647
  /**
12645
12648
  * Flag component.
@@ -12662,7 +12665,7 @@ const Flag$1 = props => {
12662
12665
  const isTruncated = !!truncate;
12663
12666
  return /*#__PURE__*/jsxs("div", {
12664
12667
  ...forwardedProps,
12665
- className: classnames(className, block$E({
12668
+ className: classnames(className, block$F({
12666
12669
  [`color-${flagColor}`]: Boolean(flagColor),
12667
12670
  'is-truncated': isTruncated
12668
12671
  })),
@@ -12697,8 +12700,8 @@ const Flag = forwardRef((props, ref) => {
12697
12700
  Text
12698
12701
  });
12699
12702
  });
12700
- Flag.displayName = COMPONENT_NAME$P;
12701
- Flag.className = CLASSNAME$Q;
12703
+ Flag.displayName = COMPONENT_NAME$Q;
12704
+ Flag.className = CLASSNAME$R;
12702
12705
  Flag.defaultProps = DEFAULT_PROPS$K;
12703
12706
 
12704
12707
  /** The maximum authorized heading level. */
@@ -12727,12 +12730,12 @@ const defaultContext = {
12727
12730
  /**
12728
12731
  * Component display name.
12729
12732
  */
12730
- const COMPONENT_NAME$O = 'Heading';
12733
+ const COMPONENT_NAME$P = 'Heading';
12731
12734
 
12732
12735
  /**
12733
12736
  * Component default class name and class prefix.
12734
12737
  */
12735
- const CLASSNAME$P = 'lumx-heading';
12738
+ const CLASSNAME$Q = 'lumx-heading';
12736
12739
 
12737
12740
  /**
12738
12741
  * Component default props.
@@ -12757,7 +12760,7 @@ const getHeadingProps = (props, contextHeadingElement) => {
12757
12760
  return {
12758
12761
  ...otherProps,
12759
12762
  as: computedHeadingElement,
12760
- className: classnames(className, CLASSNAME$P),
12763
+ className: classnames(className, CLASSNAME$Q),
12761
12764
  typography: typography || DEFAULT_TYPOGRAPHY_BY_LEVEL[computedHeadingElement]
12762
12765
  };
12763
12766
  };
@@ -12795,8 +12798,8 @@ const Heading = forwardRef((props, ref) => {
12795
12798
  children: children
12796
12799
  });
12797
12800
  });
12798
- Heading.displayName = COMPONENT_NAME$O;
12799
- Heading.className = CLASSNAME$P;
12801
+ Heading.displayName = COMPONENT_NAME$P;
12802
+ Heading.className = CLASSNAME$Q;
12800
12803
  Heading.defaultProps = DEFAULT_PROPS$J;
12801
12804
 
12802
12805
  /**
@@ -12835,15 +12838,15 @@ const HeadingLevelProvider = ({
12835
12838
  /**
12836
12839
  * Component display name.
12837
12840
  */
12838
- const COMPONENT_NAME$N = 'Grid';
12841
+ const COMPONENT_NAME$O = 'Grid';
12839
12842
 
12840
12843
  /**
12841
12844
  * Component default class name and class prefix.
12842
12845
  */
12843
- const CLASSNAME$O = 'lumx-grid';
12846
+ const CLASSNAME$P = 'lumx-grid';
12844
12847
  const {
12845
- block: block$D
12846
- } = classNames.bem(CLASSNAME$O);
12848
+ block: block$E
12849
+ } = classNames.bem(CLASSNAME$P);
12847
12850
 
12848
12851
  /**
12849
12852
  * Component default props.
@@ -12874,7 +12877,7 @@ const Grid = forwardRef((props, ref) => {
12874
12877
  return /*#__PURE__*/jsx("div", {
12875
12878
  ref: ref,
12876
12879
  ...forwardedProps,
12877
- className: classNames.join(className, classNames.bem(`${CLASSNAME$O}-container`).block(), block$D({
12880
+ className: classNames.join(className, classNames.bem(`${CLASSNAME$P}-container`).block(), block$E({
12878
12881
  [`h-align-${hAlign}`]: Boolean(hAlign),
12879
12882
  [`v-align-${vAlign}`]: Boolean(vAlign),
12880
12883
  [`orientation-${orientation}`]: Boolean(orientation),
@@ -12884,22 +12887,22 @@ const Grid = forwardRef((props, ref) => {
12884
12887
  children: children
12885
12888
  });
12886
12889
  });
12887
- Grid.displayName = COMPONENT_NAME$N;
12888
- Grid.className = CLASSNAME$O;
12890
+ Grid.displayName = COMPONENT_NAME$O;
12891
+ Grid.className = CLASSNAME$P;
12889
12892
  Grid.defaultProps = DEFAULT_PROPS$I;
12890
12893
 
12891
12894
  /**
12892
12895
  * Component display name.
12893
12896
  */
12894
- const COMPONENT_NAME$M = 'GridItem';
12897
+ const COMPONENT_NAME$N = 'GridItem';
12895
12898
 
12896
12899
  /**
12897
12900
  * Component default class name and class prefix.
12898
12901
  */
12899
- const CLASSNAME$N = 'lumx-grid-item';
12902
+ const CLASSNAME$O = 'lumx-grid-item';
12900
12903
  const {
12901
- block: block$C
12902
- } = classNames.bem(CLASSNAME$N);
12904
+ block: block$D
12905
+ } = classNames.bem(CLASSNAME$O);
12903
12906
 
12904
12907
  /**
12905
12908
  * GridItem component.
@@ -12920,7 +12923,7 @@ const GridItem = forwardRef((props, ref) => {
12920
12923
  return /*#__PURE__*/jsx("div", {
12921
12924
  ref: ref,
12922
12925
  ...forwardedProps,
12923
- className: classNames.join(className, block$C({
12926
+ className: classNames.join(className, block$D({
12924
12927
  [`width-${width}`]: Boolean(width),
12925
12928
  [`order-${order}`]: Boolean(order),
12926
12929
  [`align-${align}`]: Boolean(align)
@@ -12928,18 +12931,18 @@ const GridItem = forwardRef((props, ref) => {
12928
12931
  children: children
12929
12932
  });
12930
12933
  });
12931
- GridItem.displayName = COMPONENT_NAME$M;
12932
- GridItem.className = CLASSNAME$N;
12934
+ GridItem.displayName = COMPONENT_NAME$N;
12935
+ GridItem.className = CLASSNAME$O;
12933
12936
 
12934
12937
  /**
12935
12938
  * Component display name.
12936
12939
  */
12937
- const COMPONENT_NAME$L = 'GridColumn';
12940
+ const COMPONENT_NAME$M = 'GridColumn';
12938
12941
 
12939
12942
  /**
12940
12943
  * Component default class name and class prefix.
12941
12944
  */
12942
- const CLASSNAME$M = 'lumx-grid-column';
12945
+ const CLASSNAME$N = 'lumx-grid-column';
12943
12946
 
12944
12947
  /**
12945
12948
  * Component default props.
@@ -12969,7 +12972,7 @@ const GridColumn$1 = props => {
12969
12972
  return /*#__PURE__*/jsx(Component, {
12970
12973
  ...forwardedProps,
12971
12974
  ref: ref,
12972
- className: classnames(className, CLASSNAME$M),
12975
+ className: classnames(className, CLASSNAME$N),
12973
12976
  style: {
12974
12977
  ...style,
12975
12978
  ['--lumx-grid-column-item-min-width']: isInteger(itemMinWidth) && `${itemMinWidth}px`,
@@ -12979,8 +12982,8 @@ const GridColumn$1 = props => {
12979
12982
  children: children
12980
12983
  });
12981
12984
  };
12982
- GridColumn$1.displayName = COMPONENT_NAME$L;
12983
- GridColumn$1.className = CLASSNAME$M;
12985
+ GridColumn$1.displayName = COMPONENT_NAME$M;
12986
+ GridColumn$1.className = CLASSNAME$N;
12984
12987
  GridColumn$1.defaultProps = DEFAULT_PROPS$H;
12985
12988
 
12986
12989
  /**
@@ -13009,8 +13012,8 @@ const GridColumn = forwardRef((props, ref) => {
13009
13012
  ...props
13010
13013
  });
13011
13014
  });
13012
- GridColumn.displayName = COMPONENT_NAME$L;
13013
- GridColumn.className = CLASSNAME$M;
13015
+ GridColumn.displayName = COMPONENT_NAME$M;
13016
+ GridColumn.className = CLASSNAME$N;
13014
13017
  GridColumn.defaultProps = DEFAULT_PROPS$G;
13015
13018
 
13016
13019
  /**
@@ -13032,16 +13035,16 @@ const ImageBlockCaptionPosition = {
13032
13035
  /**
13033
13036
  * Component display name.
13034
13037
  */
13035
- const COMPONENT_NAME$K = 'ImageBlock';
13038
+ const COMPONENT_NAME$L = 'ImageBlock';
13036
13039
 
13037
13040
  /**
13038
13041
  * Component default class name and class prefix.
13039
13042
  */
13040
- const CLASSNAME$L = 'lumx-image-block';
13043
+ const CLASSNAME$M = 'lumx-image-block';
13041
13044
  const {
13042
- block: block$B,
13045
+ block: block$C,
13043
13046
  element: element$v
13044
- } = bem(CLASSNAME$L);
13047
+ } = bem(CLASSNAME$M);
13045
13048
 
13046
13049
  /**
13047
13050
  * Component default props.
@@ -13084,7 +13087,7 @@ const ImageBlock$1 = props => {
13084
13087
  return /*#__PURE__*/jsxs("figure", {
13085
13088
  ref: ref,
13086
13089
  ...forwardedProps,
13087
- className: classnames(className, block$B({
13090
+ className: classnames(className, block$C({
13088
13091
  [`caption-position-${captionPosition}`]: Boolean(captionPosition),
13089
13092
  [`align-${align}`]: Boolean(align),
13090
13093
  [`size-${size}`]: Boolean(size),
@@ -13102,7 +13105,7 @@ const ImageBlock$1 = props => {
13102
13105
  alt: alt || title
13103
13106
  }), /*#__PURE__*/jsx(ImageCaption, {
13104
13107
  as: "figcaption",
13105
- baseClassName: CLASSNAME$L,
13108
+ baseClassName: CLASSNAME$M,
13106
13109
  theme: theme,
13107
13110
  title: title,
13108
13111
  titleProps: titleProps,
@@ -13233,19 +13236,19 @@ const ImageBlock = forwardRef((props, ref) => {
13233
13236
  ImageCaption
13234
13237
  });
13235
13238
  });
13236
- ImageBlock.displayName = COMPONENT_NAME$K;
13237
- ImageBlock.className = CLASSNAME$L;
13239
+ ImageBlock.displayName = COMPONENT_NAME$L;
13240
+ ImageBlock.className = CLASSNAME$M;
13238
13241
  ImageBlock.defaultProps = DEFAULT_PROPS$F;
13239
13242
 
13240
13243
  /**
13241
13244
  * Component display name.
13242
13245
  */
13243
- const COMPONENT_NAME$J = 'ImageLightbox';
13246
+ const COMPONENT_NAME$K = 'ImageLightbox';
13244
13247
 
13245
13248
  /**
13246
13249
  * Component default class name and class prefix.
13247
13250
  */
13248
- const CLASSNAME$K = 'lumx-image-lightbox';
13251
+ const CLASSNAME$L = 'lumx-image-lightbox';
13249
13252
 
13250
13253
  /**
13251
13254
  * Observe element size (only works if it's size depends on the window size).
@@ -13491,7 +13494,7 @@ function useAnimateScroll(scrollAreaRef) {
13491
13494
 
13492
13495
  const {
13493
13496
  element: element$u
13494
- } = classNames.bem(CLASSNAME$K);
13497
+ } = classNames.bem(CLASSNAME$L);
13495
13498
  /** Internal image slide component for ImageLightbox */
13496
13499
  const ImageSlide = /*#__PURE__*/React__default.memo(props => {
13497
13500
  const {
@@ -13583,7 +13586,7 @@ const ImageSlide = /*#__PURE__*/React__default.memo(props => {
13583
13586
 
13584
13587
  const {
13585
13588
  element: element$t
13586
- } = classNames.bem(CLASSNAME$K);
13589
+ } = classNames.bem(CLASSNAME$L);
13587
13590
  /** Internal image slideshow component for ImageLightbox */
13588
13591
  const ImageSlideshow = ({
13589
13592
  activeImageIndex,
@@ -13823,7 +13826,7 @@ function useImageLightbox(props) {
13823
13826
  viewTransitionName: {
13824
13827
  source: currentImageRef,
13825
13828
  target: triggerImageRefs[currentIndex],
13826
- name: CLASSNAME$K
13829
+ name: CLASSNAME$L
13827
13830
  }
13828
13831
  });
13829
13832
  }
@@ -13875,7 +13878,7 @@ function useImageLightbox(props) {
13875
13878
  viewTransitionName: {
13876
13879
  source: triggerImage,
13877
13880
  target: currentImageRef,
13878
- name: CLASSNAME$K
13881
+ name: CLASSNAME$L
13879
13882
  }
13880
13883
  });
13881
13884
  }
@@ -13929,7 +13932,7 @@ const Inner = forwardRef((props, ref) => {
13929
13932
  }, [onClose]);
13930
13933
  return /*#__PURE__*/jsx(Lightbox, {
13931
13934
  ref: ref,
13932
- className: classNames.join(className, CLASSNAME$K),
13935
+ className: classNames.join(className, CLASSNAME$L),
13933
13936
  parentElement: parentElement,
13934
13937
  isOpen: isOpen,
13935
13938
  onClose: onClose,
@@ -13958,8 +13961,8 @@ const Inner = forwardRef((props, ref) => {
13958
13961
  })
13959
13962
  });
13960
13963
  });
13961
- Inner.displayName = COMPONENT_NAME$J;
13962
- Inner.className = CLASSNAME$K;
13964
+ Inner.displayName = COMPONENT_NAME$K;
13965
+ Inner.className = CLASSNAME$L;
13963
13966
 
13964
13967
  /**
13965
13968
  * ImageLightbox component.
@@ -13975,16 +13978,16 @@ const ImageLightbox = Object.assign(Inner, {
13975
13978
  /**
13976
13979
  * Component display name.
13977
13980
  */
13978
- const COMPONENT_NAME$I = 'InlineList';
13981
+ const COMPONENT_NAME$J = 'InlineList';
13979
13982
 
13980
13983
  /**
13981
13984
  * Component default class name and class prefix.
13982
13985
  */
13983
- const CLASSNAME$J = 'lumx-inline-list';
13986
+ const CLASSNAME$K = 'lumx-inline-list';
13984
13987
  const {
13985
- block: block$A,
13988
+ block: block$B,
13986
13989
  element: element$s
13987
- } = bem(CLASSNAME$J);
13990
+ } = bem(CLASSNAME$K);
13988
13991
 
13989
13992
  /**
13990
13993
  * Component default props.
@@ -14014,7 +14017,7 @@ const InlineList$1 = props => {
14014
14017
  jsx("ul", {
14015
14018
  ...forwardedProps,
14016
14019
  ref: ref,
14017
- className: classnames(className, block$A({
14020
+ className: classnames(className, block$B({
14018
14021
  wrap: Boolean(wrap)
14019
14022
  }), color && font(color, colorVariant), typography$1 && typography(typography$1))
14020
14023
  // Lists with removed bullet style can lose their a11y list role on some browsers
@@ -14036,8 +14039,8 @@ const InlineList$1 = props => {
14036
14039
  })
14037
14040
  );
14038
14041
  };
14039
- InlineList$1.displayName = COMPONENT_NAME$I;
14040
- InlineList$1.className = CLASSNAME$J;
14042
+ InlineList$1.displayName = COMPONENT_NAME$J;
14043
+ InlineList$1.className = CLASSNAME$K;
14041
14044
  InlineList$1.defaultProps = DEFAULT_PROPS$E;
14042
14045
 
14043
14046
  /**
@@ -14062,8 +14065,8 @@ const InlineList = forwardRef((props, ref) => {
14062
14065
  items: Children.toArray(children)
14063
14066
  });
14064
14067
  });
14065
- InlineList.displayName = COMPONENT_NAME$I;
14066
- InlineList.className = CLASSNAME$J;
14068
+ InlineList.displayName = COMPONENT_NAME$J;
14069
+ InlineList.className = CLASSNAME$K;
14067
14070
  InlineList.defaultProps = DEFAULT_PROPS$E;
14068
14071
 
14069
14072
  /**
@@ -14107,16 +14110,16 @@ InputLabel.defaultProps = InputLabel$1.defaultProps;
14107
14110
  /**
14108
14111
  * Component display name.
14109
14112
  */
14110
- const COMPONENT_NAME$H = 'Lightbox';
14113
+ const COMPONENT_NAME$I = 'Lightbox';
14111
14114
 
14112
14115
  /**
14113
14116
  * Component default class name and class prefix.
14114
14117
  */
14115
- const CLASSNAME$I = 'lumx-lightbox';
14118
+ const CLASSNAME$J = 'lumx-lightbox';
14116
14119
  const {
14117
- block: block$z,
14120
+ block: block$A,
14118
14121
  element: element$r
14119
- } = bem(CLASSNAME$I);
14122
+ } = bem(CLASSNAME$J);
14120
14123
 
14121
14124
  /**
14122
14125
  * Lightbox component.
@@ -14163,7 +14166,7 @@ const Lightbox$1 = props => {
14163
14166
  "aria-modal": "true",
14164
14167
  role: "dialog",
14165
14168
  tabIndex: -1,
14166
- className: classnames(className, block$z({
14169
+ className: classnames(className, block$A({
14167
14170
  'is-hidden': !isOpen,
14168
14171
  'is-shown': isOpen || isVisible,
14169
14172
  [`theme-${theme}`]: Boolean(theme)
@@ -14300,8 +14303,8 @@ const Lightbox = forwardRef((props, ref) => {
14300
14303
  ...forwardedProps
14301
14304
  });
14302
14305
  });
14303
- Lightbox.displayName = COMPONENT_NAME$H;
14304
- Lightbox.className = CLASSNAME$I;
14306
+ Lightbox.displayName = COMPONENT_NAME$I;
14307
+ Lightbox.className = CLASSNAME$J;
14305
14308
 
14306
14309
  /**
14307
14310
  * Defines the props of the component.
@@ -14310,15 +14313,15 @@ Lightbox.className = CLASSNAME$I;
14310
14313
  /**
14311
14314
  * Component display name.
14312
14315
  */
14313
- const COMPONENT_NAME$G = 'Link';
14316
+ const COMPONENT_NAME$H = 'Link';
14314
14317
 
14315
14318
  /**
14316
14319
  * Component default class name and class prefix.
14317
14320
  */
14318
- const CLASSNAME$H = 'lumx-link';
14321
+ const CLASSNAME$I = 'lumx-link';
14319
14322
  const {
14320
- block: block$y
14321
- } = bem(CLASSNAME$H);
14323
+ block: block$z
14324
+ } = bem(CLASSNAME$I);
14322
14325
 
14323
14326
  /**
14324
14327
  * Link component.
@@ -14347,7 +14350,7 @@ const Link$1 = props => {
14347
14350
  ...forwardedProps,
14348
14351
  handleClick,
14349
14352
  children,
14350
- className: classnames(className, block$y({
14353
+ className: classnames(className, block$z({
14351
14354
  [`color-${color}`]: Boolean(color),
14352
14355
  [`color-variant-${colorVariant}`]: Boolean(colorVariant),
14353
14356
  'has-typography': !!typography$1
@@ -14357,7 +14360,7 @@ const Link$1 = props => {
14357
14360
 
14358
14361
  const {
14359
14362
  element: element$q
14360
- } = classNames.bem(CLASSNAME$H);
14363
+ } = classNames.bem(CLASSNAME$I);
14361
14364
 
14362
14365
  /**
14363
14366
  * Defines the props of the component.
@@ -14403,22 +14406,22 @@ const Link = forwardRef((props, ref) => {
14403
14406
  }))
14404
14407
  });
14405
14408
  });
14406
- Link.displayName = COMPONENT_NAME$G;
14407
- Link.className = CLASSNAME$H;
14409
+ Link.displayName = COMPONENT_NAME$H;
14410
+ Link.className = CLASSNAME$I;
14408
14411
 
14409
14412
  /**
14410
14413
  * Component display name.
14411
14414
  */
14412
- const COMPONENT_NAME$F = 'LinkPreview';
14415
+ const COMPONENT_NAME$G = 'LinkPreview';
14413
14416
 
14414
14417
  /**
14415
14418
  * Component default class name and class prefix.
14416
14419
  */
14417
- const CLASSNAME$G = 'lumx-link-preview';
14420
+ const CLASSNAME$H = 'lumx-link-preview';
14418
14421
  const {
14419
- block: block$x,
14422
+ block: block$y,
14420
14423
  element: element$p
14421
- } = bem(CLASSNAME$G);
14424
+ } = bem(CLASSNAME$H);
14422
14425
 
14423
14426
  /**
14424
14427
  * Component default props.
@@ -14457,7 +14460,7 @@ const LinkPreview$1 = props => {
14457
14460
  return /*#__PURE__*/jsx("article", {
14458
14461
  ref: ref,
14459
14462
  ...forwardedProps,
14460
- className: classnames(className, block$x({
14463
+ className: classnames(className, block$y({
14461
14464
  [`size-${adjustedSize}`]: Boolean(adjustedSize),
14462
14465
  [`theme-${theme}`]: Boolean(theme)
14463
14466
  })),
@@ -14544,8 +14547,8 @@ const LinkPreview = forwardRef((props, ref) => {
14544
14547
  ...forwardedProps
14545
14548
  });
14546
14549
  });
14547
- LinkPreview.displayName = COMPONENT_NAME$F;
14548
- LinkPreview.className = CLASSNAME$G;
14550
+ LinkPreview.displayName = COMPONENT_NAME$G;
14551
+ LinkPreview.className = CLASSNAME$H;
14549
14552
  LinkPreview.defaultProps = DEFAULT_PROPS$D;
14550
14553
 
14551
14554
  /**
@@ -14577,8 +14580,8 @@ const ListItemAction = Object.assign(forwardRefPolymorphic((props, ref) => {
14577
14580
  children
14578
14581
  });
14579
14582
  }), {
14580
- displayName: COMPONENT_NAME$1a,
14581
- className: CLASSNAME$19,
14583
+ displayName: COMPONENT_NAME$1b,
14584
+ className: CLASSNAME$1a,
14582
14585
  defaultProps: DEFAULT_PROPS$W
14583
14586
  });
14584
14587
 
@@ -14617,8 +14620,8 @@ const _ListItem = forwardRef((props, ref) => {
14617
14620
  handleClick: onItemSelected || props.onClick ? handleClick : undefined
14618
14621
  });
14619
14622
  });
14620
- _ListItem.displayName = COMPONENT_NAME$1b;
14621
- _ListItem.className = CLASSNAME$1a;
14623
+ _ListItem.displayName = COMPONENT_NAME$1c;
14624
+ _ListItem.className = CLASSNAME$1b;
14622
14625
  _ListItem.defaultProps = DEFAULT_PROPS$X;
14623
14626
 
14624
14627
  /**
@@ -14632,12 +14635,12 @@ const ListItem = Object.assign(_ListItem, {
14632
14635
  /**
14633
14636
  * Component display name.
14634
14637
  */
14635
- const COMPONENT_NAME$E = 'ListSubheader';
14638
+ const COMPONENT_NAME$F = 'ListSubheader';
14636
14639
 
14637
14640
  /**
14638
14641
  * Component default class name and class prefix.
14639
14642
  */
14640
- const CLASSNAME$F = 'lumx-list-subheader';
14643
+ const CLASSNAME$G = 'lumx-list-subheader';
14641
14644
 
14642
14645
  /**
14643
14646
  * ListSubheader component.
@@ -14656,26 +14659,26 @@ const ListSubheader = forwardRef((props, ref) => {
14656
14659
  return /*#__PURE__*/jsx("li", {
14657
14660
  ref: ref,
14658
14661
  ...forwardedProps,
14659
- className: classNames.join(className, CLASSNAME$F),
14662
+ className: classNames.join(className, CLASSNAME$G),
14660
14663
  children: children
14661
14664
  });
14662
14665
  });
14663
- ListSubheader.displayName = COMPONENT_NAME$E;
14664
- ListSubheader.className = CLASSNAME$F;
14666
+ ListSubheader.displayName = COMPONENT_NAME$F;
14667
+ ListSubheader.className = CLASSNAME$G;
14665
14668
 
14666
14669
  /**
14667
14670
  * Component display name.
14668
14671
  */
14669
- const COMPONENT_NAME$D = 'Message';
14672
+ const COMPONENT_NAME$E = 'Message';
14670
14673
 
14671
14674
  /**
14672
14675
  * Component default class name and class prefix.
14673
14676
  */
14674
- const CLASSNAME$E = 'lumx-message';
14677
+ const CLASSNAME$F = 'lumx-message';
14675
14678
  const {
14676
- block: block$w,
14679
+ block: block$x,
14677
14680
  element: element$o
14678
- } = bem(CLASSNAME$E);
14681
+ } = bem(CLASSNAME$F);
14679
14682
 
14680
14683
  /**
14681
14684
  * Associative map from message kind to color and icon.
@@ -14728,7 +14731,7 @@ const Message$1 = props => {
14728
14731
  return /*#__PURE__*/jsxs("div", {
14729
14732
  ...forwardedProps,
14730
14733
  ref: ref,
14731
- className: classnames(className, block$w({
14734
+ className: classnames(className, block$x({
14732
14735
  [`color-${color}`]: Boolean(color),
14733
14736
  'has-background': hasBackground
14734
14737
  })),
@@ -14749,8 +14752,8 @@ const Message$1 = props => {
14749
14752
  })]
14750
14753
  });
14751
14754
  };
14752
- Message$1.displayName = COMPONENT_NAME$D;
14753
- Message$1.className = CLASSNAME$E;
14755
+ Message$1.displayName = COMPONENT_NAME$E;
14756
+ Message$1.className = CLASSNAME$F;
14754
14757
 
14755
14758
  /**
14756
14759
  * Message component.
@@ -14765,22 +14768,22 @@ const Message = forwardRef((props, ref) => {
14765
14768
  ref
14766
14769
  });
14767
14770
  });
14768
- Message.displayName = COMPONENT_NAME$D;
14769
- Message.className = CLASSNAME$E;
14771
+ Message.displayName = COMPONENT_NAME$E;
14772
+ Message.className = CLASSNAME$F;
14770
14773
 
14771
14774
  /**
14772
14775
  * Component display name.
14773
14776
  */
14774
- const COMPONENT_NAME$C = 'Mosaic';
14777
+ const COMPONENT_NAME$D = 'Mosaic';
14775
14778
 
14776
14779
  /**
14777
14780
  * Component default class name and class prefix.
14778
14781
  */
14779
- const CLASSNAME$D = 'lumx-mosaic';
14782
+ const CLASSNAME$E = 'lumx-mosaic';
14780
14783
  const {
14781
- block: block$v,
14784
+ block: block$w,
14782
14785
  element: element$n
14783
- } = bem(CLASSNAME$D);
14786
+ } = bem(CLASSNAME$E);
14784
14787
 
14785
14788
  /**
14786
14789
  * Component default props.
@@ -14814,7 +14817,7 @@ const Mosaic$1 = props => {
14814
14817
  return /*#__PURE__*/jsx("div", {
14815
14818
  ref: ref,
14816
14819
  ...forwardedProps,
14817
- className: classnames(className, block$v({
14820
+ className: classnames(className, block$w({
14818
14821
  [`theme-${theme}`]: Boolean(theme),
14819
14822
  'has-1-thumbnail': thumbnails?.length === 1,
14820
14823
  'has-2-thumbnails': thumbnails?.length === 2,
@@ -14878,8 +14881,8 @@ const Mosaic = forwardRef((props, ref) => {
14878
14881
  ...forwardedProps
14879
14882
  });
14880
14883
  });
14881
- Mosaic.displayName = COMPONENT_NAME$C;
14882
- Mosaic.className = CLASSNAME$D;
14884
+ Mosaic.displayName = COMPONENT_NAME$D;
14885
+ Mosaic.className = CLASSNAME$E;
14883
14886
  Mosaic.defaultProps = DEFAULT_PROPS$C;
14884
14887
 
14885
14888
  const NavigationContext = /*#__PURE__*/createContext({
@@ -14899,16 +14902,16 @@ const ITEM_CLASSNAME = 'lumx-navigation-item';
14899
14902
  /**
14900
14903
  * Component display name.
14901
14904
  */
14902
- const COMPONENT_NAME$B = 'NavigationSection';
14905
+ const COMPONENT_NAME$C = 'NavigationSection';
14903
14906
 
14904
14907
  /**
14905
14908
  * Component default class name and class prefix.
14906
14909
  */
14907
- const CLASSNAME$C = 'lumx-navigation-section';
14910
+ const CLASSNAME$D = 'lumx-navigation-section';
14908
14911
  const {
14909
14912
  block: sectionBlock,
14910
14913
  element: sectionElement
14911
- } = classNames.bem(CLASSNAME$C);
14914
+ } = classNames.bem(CLASSNAME$D);
14912
14915
  const {
14913
14916
  block: itemBlock,
14914
14917
  element: itemElement
@@ -14994,11 +14997,11 @@ const NavigationSection = forwardRef((props, ref) => {
14994
14997
  }))]
14995
14998
  });
14996
14999
  });
14997
- NavigationSection.displayName = COMPONENT_NAME$B;
14998
- NavigationSection.className = CLASSNAME$C;
15000
+ NavigationSection.displayName = COMPONENT_NAME$C;
15001
+ NavigationSection.className = CLASSNAME$D;
14999
15002
 
15000
15003
  const {
15001
- block: block$u,
15004
+ block: block$v,
15002
15005
  element: element$m
15003
15006
  } = classNames.bem(ITEM_CLASSNAME);
15004
15007
 
@@ -15023,7 +15026,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
15023
15026
  labelRef
15024
15027
  } = useOverflowTooltipLabel(label);
15025
15028
  return /*#__PURE__*/jsx("li", {
15026
- className: classNames.join(className, block$u({
15029
+ className: classNames.join(className, block$v({
15027
15030
  [`theme-${theme}`]: Boolean(theme)
15028
15031
  })),
15029
15032
  children: /*#__PURE__*/jsx(Tooltip, {
@@ -15064,16 +15067,16 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
15064
15067
  /**
15065
15068
  * Component display name.
15066
15069
  */
15067
- const COMPONENT_NAME$A = 'Navigation';
15070
+ const COMPONENT_NAME$B = 'Navigation';
15068
15071
 
15069
15072
  /**
15070
15073
  * Component default class name and class prefix.
15071
15074
  */
15072
- const CLASSNAME$B = 'lumx-navigation';
15075
+ const CLASSNAME$C = 'lumx-navigation';
15073
15076
  const {
15074
- block: block$t,
15077
+ block: block$u,
15075
15078
  element: element$l
15076
- } = classNames.bem(CLASSNAME$B);
15079
+ } = classNames.bem(CLASSNAME$C);
15077
15080
 
15078
15081
  /**
15079
15082
  * Component default props
@@ -15093,7 +15096,7 @@ const Navigation = forwardRef((props, ref) => {
15093
15096
  return /*#__PURE__*/jsx(ThemeProvider, {
15094
15097
  value: theme,
15095
15098
  children: /*#__PURE__*/jsx("nav", {
15096
- className: classNames.join(className, block$t({
15099
+ className: classNames.join(className, block$u({
15097
15100
  [`theme-${theme}`]: Boolean(theme),
15098
15101
  [`orientation-${orientation}`]: Boolean(orientation)
15099
15102
  })),
@@ -15111,8 +15114,8 @@ const Navigation = forwardRef((props, ref) => {
15111
15114
  })
15112
15115
  });
15113
15116
  });
15114
- Navigation.displayName = COMPONENT_NAME$A;
15115
- Navigation.className = CLASSNAME$B;
15117
+ Navigation.displayName = COMPONENT_NAME$B;
15118
+ Navigation.className = CLASSNAME$C;
15116
15119
  Navigation.defaultProps = DEFAULT_PROPS$B;
15117
15120
 
15118
15121
  // Sub components
@@ -15144,16 +15147,16 @@ const NOTIFICATION_CONFIGURATION = {
15144
15147
  /**
15145
15148
  * Component display name.
15146
15149
  */
15147
- const COMPONENT_NAME$z = 'Notification';
15150
+ const COMPONENT_NAME$A = 'Notification';
15148
15151
 
15149
15152
  /**
15150
15153
  * Component default class name and class prefix.
15151
15154
  */
15152
- const CLASSNAME$A = 'lumx-notification';
15155
+ const CLASSNAME$B = 'lumx-notification';
15153
15156
  const {
15154
- block: block$s,
15157
+ block: block$t,
15155
15158
  element: element$k
15156
- } = classNames.bem(CLASSNAME$A);
15159
+ } = classNames.bem(CLASSNAME$B);
15157
15160
 
15158
15161
  /**
15159
15162
  * Component default props.
@@ -15213,7 +15216,7 @@ const Notification = forwardRef((props, ref) => {
15213
15216
  ref: mergeRefs(ref, rootRef),
15214
15217
  role: "alert",
15215
15218
  ...forwardedProps,
15216
- className: classNames.join(className, block$s({
15219
+ className: classNames.join(className, block$t({
15217
15220
  [`color-${color}`]: Boolean(color),
15218
15221
  'has-action': hasAction,
15219
15222
  'is-hidden': !isOpen
@@ -15246,8 +15249,8 @@ const Notification = forwardRef((props, ref) => {
15246
15249
  })
15247
15250
  });
15248
15251
  });
15249
- Notification.displayName = COMPONENT_NAME$z;
15250
- Notification.className = CLASSNAME$A;
15252
+ Notification.displayName = COMPONENT_NAME$A;
15253
+ Notification.className = CLASSNAME$B;
15251
15254
  Notification.defaultProps = DEFAULT_PROPS$A;
15252
15255
 
15253
15256
  /**
@@ -15258,12 +15261,12 @@ Notification.defaultProps = DEFAULT_PROPS$A;
15258
15261
  /**
15259
15262
  * Component display name.
15260
15263
  */
15261
- const COMPONENT_NAME$y = 'PopoverDialog';
15264
+ const COMPONENT_NAME$z = 'PopoverDialog';
15262
15265
 
15263
15266
  /**
15264
15267
  * Component default class name and class prefix.
15265
15268
  */
15266
- const CLASSNAME$z = 'lumx-popover-dialog';
15269
+ const CLASSNAME$A = 'lumx-popover-dialog';
15267
15270
 
15268
15271
  /**
15269
15272
  * Component default props.
@@ -15289,7 +15292,7 @@ const PopoverDialog = forwardRef((props, ref) => {
15289
15292
  return /*#__PURE__*/jsx(Popover, {
15290
15293
  ...forwardedProps,
15291
15294
  ref: ref,
15292
- className: classNames.join(className, CLASSNAME$z),
15295
+ className: classNames.join(className, CLASSNAME$A),
15293
15296
  role: "dialog",
15294
15297
  "aria-modal": "true"
15295
15298
  /**
@@ -15306,23 +15309,23 @@ const PopoverDialog = forwardRef((props, ref) => {
15306
15309
  })
15307
15310
  });
15308
15311
  });
15309
- PopoverDialog.displayName = COMPONENT_NAME$y;
15310
- PopoverDialog.className = CLASSNAME$z;
15312
+ PopoverDialog.displayName = COMPONENT_NAME$z;
15313
+ PopoverDialog.className = CLASSNAME$A;
15311
15314
  PopoverDialog.defaultProps = DEFAULT_PROPS$z;
15312
15315
 
15313
15316
  /**
15314
15317
  * Component display name.
15315
15318
  */
15316
- const COMPONENT_NAME$x = 'PostBlock';
15319
+ const COMPONENT_NAME$y = 'PostBlock';
15317
15320
 
15318
15321
  /**
15319
15322
  * Component default class name and class prefix.
15320
15323
  */
15321
- const CLASSNAME$y = 'lumx-post-block';
15324
+ const CLASSNAME$z = 'lumx-post-block';
15322
15325
  const {
15323
- block: block$r,
15326
+ block: block$s,
15324
15327
  element: element$j
15325
- } = classNames.bem(CLASSNAME$y);
15328
+ } = classNames.bem(CLASSNAME$z);
15326
15329
 
15327
15330
  /**
15328
15331
  * Component default props.
@@ -15357,7 +15360,7 @@ const PostBlock = forwardRef((props, ref) => {
15357
15360
  } = props;
15358
15361
  return /*#__PURE__*/jsxs("div", {
15359
15362
  ref: ref,
15360
- className: classNames.join(className, block$r({
15363
+ className: classNames.join(className, block$s({
15361
15364
  [`orientation-${orientation}`]: Boolean(orientation),
15362
15365
  [`theme-${theme}`]: Boolean(theme)
15363
15366
  })),
@@ -15407,23 +15410,23 @@ const PostBlock = forwardRef((props, ref) => {
15407
15410
  })]
15408
15411
  });
15409
15412
  });
15410
- PostBlock.displayName = COMPONENT_NAME$x;
15411
- PostBlock.className = CLASSNAME$y;
15413
+ PostBlock.displayName = COMPONENT_NAME$y;
15414
+ PostBlock.className = CLASSNAME$z;
15412
15415
  PostBlock.defaultProps = DEFAULT_PROPS$y;
15413
15416
 
15414
15417
  /**
15415
15418
  * Component display name.
15416
15419
  */
15417
- const COMPONENT_NAME$w = 'ProgressLinear';
15420
+ const COMPONENT_NAME$x = 'ProgressLinear';
15418
15421
 
15419
15422
  /**
15420
15423
  * Component default class name and class prefix.
15421
15424
  */
15422
- const CLASSNAME$x = 'lumx-progress-linear';
15425
+ const CLASSNAME$y = 'lumx-progress-linear';
15423
15426
  const {
15424
- block: block$q,
15427
+ block: block$r,
15425
15428
  element: element$i
15426
- } = bem(CLASSNAME$x);
15429
+ } = bem(CLASSNAME$y);
15427
15430
 
15428
15431
  /**
15429
15432
  * Component default props.
@@ -15446,7 +15449,7 @@ const ProgressLinear$1 = props => {
15446
15449
  return /*#__PURE__*/jsxs("div", {
15447
15450
  ref: ref,
15448
15451
  ...forwardedProps,
15449
- className: classnames(className, block$q({
15452
+ className: classnames(className, block$r({
15450
15453
  [`theme-${theme}`]: Boolean(theme)
15451
15454
  })),
15452
15455
  children: [/*#__PURE__*/jsx("div", {
@@ -15480,8 +15483,8 @@ const ProgressLinear = forwardRef((props, ref) => {
15480
15483
  ...otherProps
15481
15484
  });
15482
15485
  });
15483
- ProgressLinear.displayName = COMPONENT_NAME$w;
15484
- ProgressLinear.className = CLASSNAME$x;
15486
+ ProgressLinear.displayName = COMPONENT_NAME$x;
15487
+ ProgressLinear.className = CLASSNAME$y;
15485
15488
  ProgressLinear.defaultProps = DEFAULT_PROPS$x;
15486
15489
 
15487
15490
  /* eslint-disable react/no-unknown-property */
@@ -15489,16 +15492,16 @@ ProgressLinear.defaultProps = DEFAULT_PROPS$x;
15489
15492
  /**
15490
15493
  * Component display name.
15491
15494
  */
15492
- const COMPONENT_NAME$v = 'ProgressCircular';
15495
+ const COMPONENT_NAME$w = 'ProgressCircular';
15493
15496
 
15494
15497
  /**
15495
15498
  * Component default class name and class prefix.
15496
15499
  */
15497
- const CLASSNAME$w = 'lumx-progress-circular';
15500
+ const CLASSNAME$x = 'lumx-progress-circular';
15498
15501
  const {
15499
- block: block$p,
15502
+ block: block$q,
15500
15503
  element: element$h
15501
- } = bem(CLASSNAME$w);
15504
+ } = bem(CLASSNAME$x);
15502
15505
 
15503
15506
  /**
15504
15507
  * Component default props.
@@ -15529,7 +15532,7 @@ const ProgressCircular$1 = props => {
15529
15532
  return /*#__PURE__*/jsxs(Element, {
15530
15533
  ref: ref,
15531
15534
  ...forwardedProps,
15532
- className: classnames(className, block$p({
15535
+ className: classnames(className, block$q({
15533
15536
  [`theme-${theme}`]: Boolean(theme),
15534
15537
  [`size-${size}`]: Boolean(size),
15535
15538
  [`display-${display}`]: Boolean(display)
@@ -15582,8 +15585,8 @@ const ProgressCircular = forwardRef((props, ref) => {
15582
15585
  }
15583
15586
  });
15584
15587
  });
15585
- ProgressCircular.displayName = COMPONENT_NAME$v;
15586
- ProgressCircular.className = CLASSNAME$w;
15588
+ ProgressCircular.displayName = COMPONENT_NAME$w;
15589
+ ProgressCircular.className = CLASSNAME$x;
15587
15590
  ProgressCircular.defaultProps = DEFAULT_PROPS$w;
15588
15591
 
15589
15592
  const ProgressVariant = {
@@ -15598,15 +15601,15 @@ const ProgressVariant = {
15598
15601
  /**
15599
15602
  * Component display name.
15600
15603
  */
15601
- const COMPONENT_NAME$u = 'Progress';
15604
+ const COMPONENT_NAME$v = 'Progress';
15602
15605
 
15603
15606
  /**
15604
15607
  * Component default class name and class prefix.
15605
15608
  */
15606
- const CLASSNAME$v = 'lumx-progress';
15609
+ const CLASSNAME$w = 'lumx-progress';
15607
15610
  const {
15608
- block: block$o
15609
- } = classNames.bem(CLASSNAME$v);
15611
+ block: block$p
15612
+ } = classNames.bem(CLASSNAME$w);
15610
15613
 
15611
15614
  /**
15612
15615
  * Component default props.
@@ -15634,7 +15637,7 @@ const Progress = forwardRef((props, ref) => {
15634
15637
  return /*#__PURE__*/jsxs("div", {
15635
15638
  ref: ref,
15636
15639
  ...forwardedProps,
15637
- className: classNames.join(className, block$o({
15640
+ className: classNames.join(className, block$p({
15638
15641
  [`theme-${theme}`]: Boolean(theme),
15639
15642
  [`variant-${variant}`]: Boolean(variant)
15640
15643
  })),
@@ -15645,8 +15648,8 @@ const Progress = forwardRef((props, ref) => {
15645
15648
  })]
15646
15649
  });
15647
15650
  });
15648
- Progress.displayName = COMPONENT_NAME$u;
15649
- Progress.className = CLASSNAME$v;
15651
+ Progress.displayName = COMPONENT_NAME$v;
15652
+ Progress.className = CLASSNAME$w;
15650
15653
  Progress.defaultProps = DEFAULT_PROPS$v;
15651
15654
 
15652
15655
  const INIT_STATE = {
@@ -15830,16 +15833,16 @@ ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$u;
15830
15833
  /**
15831
15834
  * Component display name.
15832
15835
  */
15833
- const COMPONENT_NAME$t = 'ProgressTracker';
15836
+ const COMPONENT_NAME$u = 'ProgressTracker';
15834
15837
 
15835
15838
  /**
15836
15839
  * Component default class name and class prefix.
15837
15840
  */
15838
- const CLASSNAME$u = 'lumx-progress-tracker';
15841
+ const CLASSNAME$v = 'lumx-progress-tracker';
15839
15842
  const {
15840
- block: block$n,
15843
+ block: block$o,
15841
15844
  element: element$g
15842
- } = classNames.bem(CLASSNAME$u);
15845
+ } = classNames.bem(CLASSNAME$v);
15843
15846
 
15844
15847
  /**
15845
15848
  * Component default props.
@@ -15874,7 +15877,7 @@ const ProgressTracker = forwardRef((props, ref) => {
15874
15877
  return /*#__PURE__*/jsxs("div", {
15875
15878
  ref: mergeRefs(ref, stepListRef),
15876
15879
  ...forwardedProps,
15877
- className: classNames.join(className, block$n()),
15880
+ className: classNames.join(className, block$o()),
15878
15881
  children: [/*#__PURE__*/jsx("div", {
15879
15882
  className: element$g('steps'),
15880
15883
  role: "tablist",
@@ -15896,23 +15899,23 @@ const ProgressTracker = forwardRef((props, ref) => {
15896
15899
  })]
15897
15900
  });
15898
15901
  });
15899
- ProgressTracker.displayName = COMPONENT_NAME$t;
15900
- ProgressTracker.className = CLASSNAME$u;
15902
+ ProgressTracker.displayName = COMPONENT_NAME$u;
15903
+ ProgressTracker.className = CLASSNAME$v;
15901
15904
  ProgressTracker.defaultProps = DEFAULT_PROPS$t;
15902
15905
 
15903
15906
  /**
15904
15907
  * Component display name.
15905
15908
  */
15906
- const COMPONENT_NAME$s = 'ProgressTrackerStep';
15909
+ const COMPONENT_NAME$t = 'ProgressTrackerStep';
15907
15910
 
15908
15911
  /**
15909
15912
  * Component default class name and class prefix.
15910
15913
  */
15911
- const CLASSNAME$t = 'lumx-progress-tracker-step';
15914
+ const CLASSNAME$u = 'lumx-progress-tracker-step';
15912
15915
  const {
15913
- block: block$m,
15916
+ block: block$n,
15914
15917
  element: element$f
15915
- } = classNames.bem(CLASSNAME$t);
15918
+ } = classNames.bem(CLASSNAME$u);
15916
15919
 
15917
15920
  /**
15918
15921
  * Component default props.
@@ -15981,7 +15984,7 @@ const ProgressTrackerStep = forwardRef((props, ref) => {
15981
15984
  ...forwardedProps,
15982
15985
  type: "button",
15983
15986
  id: state?.tabId,
15984
- className: classNames.join(className, block$m({
15987
+ className: classNames.join(className, block$n({
15985
15988
  'has-error': hasError,
15986
15989
  'is-active': isActive,
15987
15990
  'is-clickable': state && !isAnyDisabled,
@@ -16010,22 +16013,22 @@ const ProgressTrackerStep = forwardRef((props, ref) => {
16010
16013
  })]
16011
16014
  });
16012
16015
  });
16013
- ProgressTrackerStep.displayName = COMPONENT_NAME$s;
16014
- ProgressTrackerStep.className = CLASSNAME$t;
16016
+ ProgressTrackerStep.displayName = COMPONENT_NAME$t;
16017
+ ProgressTrackerStep.className = CLASSNAME$u;
16015
16018
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$s;
16016
16019
 
16017
16020
  /**
16018
16021
  * Component display name.
16019
16022
  */
16020
- const COMPONENT_NAME$r = 'ProgressTrackerStepPanel';
16023
+ const COMPONENT_NAME$s = 'ProgressTrackerStepPanel';
16021
16024
 
16022
16025
  /**
16023
16026
  * Component default class name and class prefix.
16024
16027
  */
16025
- const CLASSNAME$s = `lumx-step-panel`;
16028
+ const CLASSNAME$t = `lumx-step-panel`;
16026
16029
  const {
16027
- block: block$l
16028
- } = classNames.bem(CLASSNAME$s);
16030
+ block: block$m
16031
+ } = classNames.bem(CLASSNAME$t);
16029
16032
 
16030
16033
  /**
16031
16034
  * Component default props.
@@ -16055,7 +16058,7 @@ const ProgressTrackerStepPanel = forwardRef((props, ref) => {
16055
16058
  ref: ref,
16056
16059
  ...forwardedProps,
16057
16060
  id: state?.tabPanelId,
16058
- className: classNames.join(className, block$l({
16061
+ className: classNames.join(className, block$m({
16059
16062
  'is-active': isActive
16060
16063
  })),
16061
16064
  role: "tabpanel",
@@ -16064,23 +16067,23 @@ const ProgressTrackerStepPanel = forwardRef((props, ref) => {
16064
16067
  children: (!state?.isLazy || isActive) && children
16065
16068
  });
16066
16069
  });
16067
- ProgressTrackerStepPanel.displayName = COMPONENT_NAME$r;
16068
- ProgressTrackerStepPanel.className = CLASSNAME$s;
16070
+ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$s;
16071
+ ProgressTrackerStepPanel.className = CLASSNAME$t;
16069
16072
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$r;
16070
16073
 
16071
16074
  /**
16072
16075
  * Component display name.
16073
16076
  */
16074
- const COMPONENT_NAME$q = 'RadioButton';
16077
+ const COMPONENT_NAME$r = 'RadioButton';
16075
16078
 
16076
16079
  /**
16077
16080
  * Component default class name and class prefix.
16078
16081
  */
16079
- const CLASSNAME$r = 'lumx-radio-button';
16082
+ const CLASSNAME$s = 'lumx-radio-button';
16080
16083
  const {
16081
- block: block$k,
16084
+ block: block$l,
16082
16085
  element: element$e
16083
- } = bem(CLASSNAME$r);
16086
+ } = bem(CLASSNAME$s);
16084
16087
 
16085
16088
  /**
16086
16089
  * RadioButton component.
@@ -16115,7 +16118,7 @@ const RadioButton$1 = props => {
16115
16118
  return /*#__PURE__*/jsxs("div", {
16116
16119
  ref: ref,
16117
16120
  ...forwardedProps,
16118
- className: classnames(className, block$k({
16121
+ className: classnames(className, block$l({
16119
16122
  'is-checked': isChecked,
16120
16123
  'is-disabled': isDisabled,
16121
16124
  'is-unchecked': !isChecked,
@@ -16223,19 +16226,19 @@ const RadioButton = forwardRef((props, ref) => {
16223
16226
  inputId
16224
16227
  });
16225
16228
  });
16226
- RadioButton.displayName = COMPONENT_NAME$q;
16227
- RadioButton.className = CLASSNAME$r;
16229
+ RadioButton.displayName = COMPONENT_NAME$r;
16230
+ RadioButton.className = CLASSNAME$s;
16228
16231
  RadioButton.defaultProps = DEFAULT_PROPS$q;
16229
16232
 
16230
16233
  /**
16231
16234
  * Component display name.
16232
16235
  */
16233
- const COMPONENT_NAME$p = 'RadioGroup';
16236
+ const COMPONENT_NAME$q = 'RadioGroup';
16234
16237
 
16235
16238
  /**
16236
16239
  * Component default class name and class prefix.
16237
16240
  */
16238
- const CLASSNAME$q = 'lumx-radio-group';
16241
+ const CLASSNAME$r = 'lumx-radio-group';
16239
16242
 
16240
16243
  /**
16241
16244
  * Component default props.
@@ -16258,12 +16261,12 @@ const RadioGroup$1 = props => {
16258
16261
  return /*#__PURE__*/jsx("div", {
16259
16262
  ref: ref,
16260
16263
  ...forwardedProps,
16261
- className: classnames(className, CLASSNAME$q),
16264
+ className: classnames(className, CLASSNAME$r),
16262
16265
  children: children
16263
16266
  });
16264
16267
  };
16265
- RadioGroup$1.displayName = COMPONENT_NAME$p;
16266
- RadioGroup$1.className = CLASSNAME$q;
16268
+ RadioGroup$1.displayName = COMPONENT_NAME$q;
16269
+ RadioGroup$1.className = CLASSNAME$r;
16267
16270
  RadioGroup$1.defaultProps = DEFAULT_PROPS$p;
16268
16271
 
16269
16272
  /**
@@ -16290,8 +16293,8 @@ const RadioGroup = forwardRef((props, ref) => {
16290
16293
  ...forwardedProps
16291
16294
  });
16292
16295
  });
16293
- RadioGroup.displayName = COMPONENT_NAME$p;
16294
- RadioGroup.className = CLASSNAME$q;
16296
+ RadioGroup.displayName = COMPONENT_NAME$q;
16297
+ RadioGroup.className = CLASSNAME$r;
16295
16298
 
16296
16299
  /**
16297
16300
  * Listen on element focus to store the focus status.
@@ -16318,11 +16321,11 @@ function useListenFocus(ref) {
16318
16321
  }
16319
16322
 
16320
16323
  /** The default class name and classes prefix for this component. */
16321
- const CLASSNAME$p = 'lumx-select';
16324
+ const CLASSNAME$q = 'lumx-select';
16322
16325
  const {
16323
- block: block$j,
16326
+ block: block$k,
16324
16327
  element: element$d
16325
- } = classNames.bem(CLASSNAME$p);
16328
+ } = classNames.bem(CLASSNAME$q);
16326
16329
  const WithSelectContext = (SelectElement, props, ref) => {
16327
16330
  const defaultTheme = useTheme() || Theme$1.light;
16328
16331
  const {
@@ -16375,7 +16378,7 @@ const WithSelectContext = (SelectElement, props, ref) => {
16375
16378
  useFocusTrap(isOpen && dropdownRef.current, focusElement?.current);
16376
16379
  return /*#__PURE__*/jsxs("div", {
16377
16380
  ref: mergeRefs(ref, selectRef),
16378
- className: classNames.join(className, block$j({
16381
+ className: classNames.join(className, block$k({
16379
16382
  'has-error': hasError,
16380
16383
  'has-label': Boolean(label),
16381
16384
  'has-placeholder': Boolean(placeholder),
@@ -16438,14 +16441,14 @@ const SelectVariant = {
16438
16441
  };
16439
16442
 
16440
16443
  /** The display name of the component. */
16441
- const COMPONENT_NAME$o = 'Select';
16444
+ const COMPONENT_NAME$p = 'Select';
16442
16445
 
16443
16446
  /** The default class name and classes prefix for this component. */
16444
- const CLASSNAME$o = 'lumx-select';
16447
+ const CLASSNAME$p = 'lumx-select';
16445
16448
  const {
16446
- block: block$i,
16449
+ block: block$j,
16447
16450
  element: element$c
16448
- } = classNames.bem(CLASSNAME$o);
16451
+ } = classNames.bem(CLASSNAME$p);
16449
16452
 
16450
16453
  /** The default value of props. */
16451
16454
  const DEFAULT_PROPS$o = {
@@ -16574,7 +16577,7 @@ const Select = forwardRef((props, ref) => {
16574
16577
  return WithSelectContext(SelectField, {
16575
16578
  ...DEFAULT_PROPS$o,
16576
16579
  ...props,
16577
- className: classNames.join(props.className, block$i({
16580
+ className: classNames.join(props.className, block$j({
16578
16581
  'has-input-clear': hasInputClear,
16579
16582
  'has-unique': !props.isEmpty
16580
16583
  })),
@@ -16582,20 +16585,20 @@ const Select = forwardRef((props, ref) => {
16582
16585
  isEmpty: isEmpty$1
16583
16586
  }, ref);
16584
16587
  });
16585
- Select.displayName = COMPONENT_NAME$o;
16586
- Select.className = CLASSNAME$o;
16588
+ Select.displayName = COMPONENT_NAME$p;
16589
+ Select.className = CLASSNAME$p;
16587
16590
  Select.defaultProps = DEFAULT_PROPS$o;
16588
- Select.className = CLASSNAME$o;
16591
+ Select.className = CLASSNAME$p;
16589
16592
 
16590
16593
  /** The display name of the component. */
16591
- const COMPONENT_NAME$n = 'Select';
16594
+ const COMPONENT_NAME$o = 'Select';
16592
16595
 
16593
16596
  /** The default class name and classes prefix for this component. */
16594
- const CLASSNAME$n = 'lumx-select';
16597
+ const CLASSNAME$o = 'lumx-select';
16595
16598
  const {
16596
- block: block$h,
16599
+ block: block$i,
16597
16600
  element: element$b
16598
- } = classNames.bem(CLASSNAME$n);
16601
+ } = classNames.bem(CLASSNAME$o);
16599
16602
 
16600
16603
  /** The default value of props. */
16601
16604
  const DEFAULT_PROPS$n = {
@@ -16679,13 +16682,13 @@ const SelectMultipleField = props => {
16679
16682
  children: placeholder
16680
16683
  })
16681
16684
  }), (isValid || hasError) && /*#__PURE__*/jsx("div", {
16682
- className: `${CLASSNAME$n}__input-validity`,
16685
+ className: `${CLASSNAME$o}__input-validity`,
16683
16686
  children: /*#__PURE__*/jsx(Icon, {
16684
16687
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
16685
16688
  size: Size$1.xxs
16686
16689
  })
16687
16690
  }), /*#__PURE__*/jsx("div", {
16688
- className: `${CLASSNAME$n}__input-indicator`,
16691
+ className: `${CLASSNAME$o}__input-indicator`,
16689
16692
  children: /*#__PURE__*/jsx(Icon, {
16690
16693
  icon: mdiMenuDown,
16691
16694
  size: Size$1.s
@@ -16729,15 +16732,15 @@ const SelectMultiple = forwardRef((props, ref) => {
16729
16732
  return WithSelectContext(SelectMultipleField, {
16730
16733
  ...DEFAULT_PROPS$n,
16731
16734
  ...props,
16732
- className: classNames.join(props.className, block$h({
16735
+ className: classNames.join(props.className, block$i({
16733
16736
  'has-multiple': !props.isEmpty
16734
16737
  })),
16735
16738
  isEmpty: props.value.length === 0,
16736
16739
  isMultiple: true
16737
16740
  }, ref);
16738
16741
  });
16739
- SelectMultiple.displayName = COMPONENT_NAME$n;
16740
- SelectMultiple.className = CLASSNAME$n;
16742
+ SelectMultiple.displayName = COMPONENT_NAME$o;
16743
+ SelectMultiple.className = CLASSNAME$o;
16741
16744
  SelectMultiple.defaultProps = DEFAULT_PROPS$n;
16742
16745
 
16743
16746
  /**
@@ -16871,12 +16874,12 @@ function renderSelectOptions(props, components) {
16871
16874
  /**
16872
16875
  * Component display name.
16873
16876
  */
16874
- const COMPONENT_NAME$m = 'SelectButton';
16877
+ const COMPONENT_NAME$n = 'SelectButton';
16875
16878
 
16876
16879
  /**
16877
16880
  * Component default class name.
16878
16881
  */
16879
- const CLASSNAME$m = 'lumx-select-button';
16882
+ const CLASSNAME$n = 'lumx-select-button';
16880
16883
 
16881
16884
  /**
16882
16885
  * SelectButton core template.
@@ -16974,8 +16977,8 @@ const SelectButton$2 = (props, {
16974
16977
  })]
16975
16978
  });
16976
16979
  };
16977
- SelectButton$2.displayName = COMPONENT_NAME$m;
16978
- SelectButton$2.className = CLASSNAME$m;
16980
+ SelectButton$2.displayName = COMPONENT_NAME$n;
16981
+ SelectButton$2.className = CLASSNAME$n;
16979
16982
 
16980
16983
  /**
16981
16984
  * Adapts a React `renderOption` callback returning a `<Combobox.Option>` into the
@@ -17180,12 +17183,12 @@ function getOptionDisplayName(value, getOptionName, getOptionId) {
17180
17183
  /**
17181
17184
  * Component display name.
17182
17185
  */
17183
- const COMPONENT_NAME$l = 'SelectTextField';
17186
+ const COMPONENT_NAME$m = 'SelectTextField';
17184
17187
 
17185
17188
  /**
17186
17189
  * Component default class name.
17187
17190
  */
17188
- const CLASSNAME$l = 'lumx-select-text-field';
17191
+ const CLASSNAME$m = 'lumx-select-text-field';
17189
17192
 
17190
17193
  /**
17191
17194
  * SelectTextField core template.
@@ -17280,8 +17283,8 @@ const SelectTextField$2 = (props, {
17280
17283
  })]
17281
17284
  });
17282
17285
  };
17283
- SelectTextField$2.displayName = COMPONENT_NAME$l;
17284
- SelectTextField$2.className = CLASSNAME$l;
17286
+ SelectTextField$2.displayName = COMPONENT_NAME$m;
17287
+ SelectTextField$2.className = CLASSNAME$m;
17285
17288
 
17286
17289
  /**
17287
17290
  * A text field with a select dropdown to choose between a list of options.
@@ -17415,13 +17418,18 @@ const SelectTextField$1 = props => {
17415
17418
  externalOnClear?.(event);
17416
17419
  }, [onChange, onSearch, externalOnClear]);
17417
17420
 
17418
- // Handle blur: reset input to selected value name, then call consumer's onBlur.
17421
+ // Handle blur: notify consumer, then reset search state.
17419
17422
  const handleBlur = useCallback(event => {
17420
- setIsSearching(false);
17421
- setSearchText('');
17422
17423
  onSearch?.('');
17423
17424
  externalOnBlur?.(event);
17424
- }, [externalOnBlur, onSearch]);
17425
+ if (externalSearchValue) {
17426
+ setSearchText(externalSearchValue);
17427
+ setIsSearching(true);
17428
+ } else {
17429
+ setSearchText('');
17430
+ setIsSearching(false);
17431
+ }
17432
+ }, [externalOnBlur, externalSearchValue, onSearch]);
17425
17433
  const showClear = !isMultiple && !isAnyDisabled && hasClearButton && value !== undefined && value !== null;
17426
17434
  const chips = isMultiple ? /*#__PURE__*/jsx(SelectionChipGroup, {
17427
17435
  value: value,
@@ -17527,12 +17535,12 @@ const SelectTextField = Object.assign(SelectTextField$1, {
17527
17535
  /**
17528
17536
  * Component display name.
17529
17537
  */
17530
- const COMPONENT_NAME$k = 'SideNavigation';
17538
+ const COMPONENT_NAME$l = 'SideNavigation';
17531
17539
 
17532
17540
  /**
17533
17541
  * Component default class name and class prefix.
17534
17542
  */
17535
- const CLASSNAME$k = 'lumx-side-navigation';
17543
+ const CLASSNAME$l = 'lumx-side-navigation';
17536
17544
 
17537
17545
  /**
17538
17546
  * SideNavigation component.
@@ -17553,26 +17561,26 @@ const SideNavigation = forwardRef((props, ref) => {
17553
17561
  return /*#__PURE__*/jsx("ul", {
17554
17562
  ref: ref,
17555
17563
  ...forwardedProps,
17556
- className: classNames.join(className, theme === Theme$1.dark && 'lumx-color-font-light-N', CLASSNAME$k),
17564
+ className: classNames.join(className, theme === Theme$1.dark && 'lumx-color-font-light-N', CLASSNAME$l),
17557
17565
  children: content
17558
17566
  });
17559
17567
  });
17560
- SideNavigation.displayName = COMPONENT_NAME$k;
17561
- SideNavigation.className = CLASSNAME$k;
17568
+ SideNavigation.displayName = COMPONENT_NAME$l;
17569
+ SideNavigation.className = CLASSNAME$l;
17562
17570
 
17563
17571
  /**
17564
17572
  * Component display name.
17565
17573
  */
17566
- const COMPONENT_NAME$j = 'SideNavigationItem';
17574
+ const COMPONENT_NAME$k = 'SideNavigationItem';
17567
17575
 
17568
17576
  /**
17569
17577
  * Component default class name and class prefix.
17570
17578
  */
17571
- const CLASSNAME$j = 'lumx-side-navigation-item';
17579
+ const CLASSNAME$k = 'lumx-side-navigation-item';
17572
17580
  const {
17573
- block: block$g,
17581
+ block: block$h,
17574
17582
  element: element$a
17575
- } = classNames.bem(CLASSNAME$j);
17583
+ } = classNames.bem(CLASSNAME$k);
17576
17584
 
17577
17585
  /**
17578
17586
  * Component default props.
@@ -17620,7 +17628,7 @@ const SideNavigationItem = forwardRef((props, ref) => {
17620
17628
  return /*#__PURE__*/jsxs("li", {
17621
17629
  ref: ref,
17622
17630
  ...forwardedProps,
17623
- className: classNames.join(className, block$g({
17631
+ className: classNames.join(className, block$h({
17624
17632
  [`emphasis-${emphasis}`]: Boolean(emphasis),
17625
17633
  'is-open': showChildren,
17626
17634
  'is-selected': isSelected
@@ -17678,22 +17686,22 @@ const SideNavigationItem = forwardRef((props, ref) => {
17678
17686
  })]
17679
17687
  });
17680
17688
  });
17681
- SideNavigationItem.displayName = COMPONENT_NAME$j;
17682
- SideNavigationItem.className = CLASSNAME$j;
17689
+ SideNavigationItem.displayName = COMPONENT_NAME$k;
17690
+ SideNavigationItem.className = CLASSNAME$k;
17683
17691
  SideNavigationItem.defaultProps = DEFAULT_PROPS$m;
17684
17692
 
17685
17693
  /**
17686
17694
  * Component display name.
17687
17695
  */
17688
- const COMPONENT_NAME$i = 'SkeletonCircle';
17696
+ const COMPONENT_NAME$j = 'SkeletonCircle';
17689
17697
 
17690
17698
  /**
17691
17699
  * Component default class name and class prefix.
17692
17700
  */
17693
- const CLASSNAME$i = 'lumx-skeleton-circle';
17701
+ const CLASSNAME$j = 'lumx-skeleton-circle';
17694
17702
  const {
17695
- block: block$f
17696
- } = bem(CLASSNAME$i);
17703
+ block: block$g
17704
+ } = bem(CLASSNAME$j);
17697
17705
 
17698
17706
  /**
17699
17707
  * SkeletonCircle component.
@@ -17713,7 +17721,7 @@ const SkeletonCircle$1 = props => {
17713
17721
  return /*#__PURE__*/jsx("div", {
17714
17722
  ref: ref,
17715
17723
  ...forwardedProps,
17716
- className: classnames(className, block$f({
17724
+ className: classnames(className, block$g({
17717
17725
  [`size-${size}`]: Boolean(size),
17718
17726
  [`color-${color}`]: Boolean(color),
17719
17727
  [`theme-${theme}`]: Boolean(theme)
@@ -17737,16 +17745,16 @@ const SkeletonRectangleVariant = {
17737
17745
  /**
17738
17746
  * Component display name.
17739
17747
  */
17740
- const COMPONENT_NAME$h = 'SkeletonRectangle';
17748
+ const COMPONENT_NAME$i = 'SkeletonRectangle';
17741
17749
 
17742
17750
  /**
17743
17751
  * Component default class name and class prefix.
17744
17752
  */
17745
- const CLASSNAME$h = 'lumx-skeleton-rectangle';
17753
+ const CLASSNAME$i = 'lumx-skeleton-rectangle';
17746
17754
  const {
17747
- block: block$e,
17755
+ block: block$f,
17748
17756
  element: element$9
17749
- } = bem(CLASSNAME$h);
17757
+ } = bem(CLASSNAME$i);
17750
17758
 
17751
17759
  /**
17752
17760
  * Component default props.
@@ -17776,7 +17784,7 @@ const SkeletonRectangle$1 = props => {
17776
17784
  return /*#__PURE__*/jsx("div", {
17777
17785
  ref: ref,
17778
17786
  ...forwardedProps,
17779
- className: classnames(className, block$e({
17787
+ className: classnames(className, block$f({
17780
17788
  [`aspect-ratio-${aspectRatio}`]: Boolean(aspectRatio),
17781
17789
  [`height-${height}`]: Boolean(aspectRatio ? undefined : height),
17782
17790
  [`theme-${theme}`]: Boolean(theme),
@@ -17821,9 +17829,9 @@ const SkeletonCircle = forwardRef((props, ref) => {
17821
17829
  ...forwardedProps
17822
17830
  });
17823
17831
  });
17824
- SkeletonCircle.displayName = COMPONENT_NAME$i;
17832
+ SkeletonCircle.displayName = COMPONENT_NAME$j;
17825
17833
  SkeletonCircle.defaultProps = DEFAULT_PROPS$k;
17826
- SkeletonCircle.className = CLASSNAME$i;
17834
+ SkeletonCircle.className = CLASSNAME$j;
17827
17835
 
17828
17836
  /**
17829
17837
  * Defines the props of the component.
@@ -17862,8 +17870,8 @@ const SkeletonRectangle = forwardRef((props, ref) => {
17862
17870
  ...forwardedProps
17863
17871
  });
17864
17872
  });
17865
- SkeletonRectangle.displayName = COMPONENT_NAME$h;
17866
- SkeletonRectangle.className = CLASSNAME$h;
17873
+ SkeletonRectangle.displayName = COMPONENT_NAME$i;
17874
+ SkeletonRectangle.className = CLASSNAME$i;
17867
17875
  SkeletonRectangle.defaultProps = DEFAULT_PROPS$j;
17868
17876
 
17869
17877
  /**
@@ -17899,9 +17907,9 @@ const SkeletonTypography = forwardRef((props, ref) => {
17899
17907
  ...forwardedProps
17900
17908
  });
17901
17909
  });
17902
- SkeletonTypography.displayName = COMPONENT_NAME$15;
17910
+ SkeletonTypography.displayName = COMPONENT_NAME$16;
17903
17911
  SkeletonTypography.defaultProps = DEFAULT_PROPS$i;
17904
- SkeletonTypography.className = CLASSNAME$14;
17912
+ SkeletonTypography.className = CLASSNAME$15;
17905
17913
 
17906
17914
  /**
17907
17915
  * Clamp value in range.
@@ -17925,16 +17933,16 @@ const clamp = (value, min, max) => {
17925
17933
  /**
17926
17934
  * Component display name.
17927
17935
  */
17928
- const COMPONENT_NAME$g = 'Slider';
17936
+ const COMPONENT_NAME$h = 'Slider';
17929
17937
 
17930
17938
  /**
17931
17939
  * Component default class name and class prefix.
17932
17940
  */
17933
- const CLASSNAME$g = 'lumx-slider';
17941
+ const CLASSNAME$h = 'lumx-slider';
17934
17942
  const {
17935
- block: block$d,
17943
+ block: block$e,
17936
17944
  element: element$8
17937
- } = classNames.bem(CLASSNAME$g);
17945
+ } = classNames.bem(CLASSNAME$h);
17938
17946
 
17939
17947
  /**
17940
17948
  * Component default props.
@@ -18127,7 +18135,7 @@ const Slider = forwardRef((props, ref) => {
18127
18135
  return /*#__PURE__*/jsxs("div", {
18128
18136
  ref: ref,
18129
18137
  ...forwardedProps,
18130
- className: classNames.join(className, block$d({
18138
+ className: classNames.join(className, block$e({
18131
18139
  [`theme-${theme}`]: Boolean(theme),
18132
18140
  'has-label': Boolean(label)
18133
18141
  })),
@@ -18192,8 +18200,8 @@ const Slider = forwardRef((props, ref) => {
18192
18200
  })]
18193
18201
  });
18194
18202
  });
18195
- Slider.displayName = COMPONENT_NAME$g;
18196
- Slider.className = CLASSNAME$g;
18203
+ Slider.displayName = COMPONENT_NAME$h;
18204
+ Slider.className = CLASSNAME$h;
18197
18205
  Slider.defaultProps = DEFAULT_PROPS$h;
18198
18206
 
18199
18207
  /**
@@ -18527,12 +18535,12 @@ const useSlideFocusManagement = ({
18527
18535
  /**
18528
18536
  * Component display name.
18529
18537
  */
18530
- const COMPONENT_NAME$f = 'SlideshowItemGroup';
18538
+ const COMPONENT_NAME$g = 'SlideshowItemGroup';
18531
18539
 
18532
18540
  /**
18533
18541
  * Component default class name and class prefix.
18534
18542
  */
18535
- const CLASSNAME$f = 'lumx-slideshow-item-group';
18543
+ const CLASSNAME$g = 'lumx-slideshow-item-group';
18536
18544
  const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
18537
18545
 
18538
18546
  /**
@@ -18559,15 +18567,15 @@ const SlideshowItemGroup = forwardRef((props, ref) => {
18559
18567
  return /*#__PURE__*/jsx("div", {
18560
18568
  ref: mergeRefs(groupRef, ref),
18561
18569
  role: role,
18562
- className: classNames.join(className, CLASSNAME$f),
18570
+ className: classNames.join(className, CLASSNAME$g),
18563
18571
  "aria-roledescription": "slide",
18564
18572
  "aria-label": label,
18565
18573
  ...forwardedProps,
18566
18574
  children: children
18567
18575
  });
18568
18576
  });
18569
- SlideshowItemGroup.displayName = COMPONENT_NAME$f;
18570
- SlideshowItemGroup.className = CLASSNAME$f;
18577
+ SlideshowItemGroup.displayName = COMPONENT_NAME$g;
18578
+ SlideshowItemGroup.className = CLASSNAME$g;
18571
18579
 
18572
18580
  /**
18573
18581
  * Component default props.
@@ -18697,12 +18705,12 @@ Slideshow.defaultProps = DEFAULT_PROPS$g;
18697
18705
  /**
18698
18706
  * Component display name.
18699
18707
  */
18700
- const COMPONENT_NAME$e = 'SlideshowItem';
18708
+ const COMPONENT_NAME$f = 'SlideshowItem';
18701
18709
 
18702
18710
  /**
18703
18711
  * Component default class name and class prefix.
18704
18712
  */
18705
- const CLASSNAME$e = 'lumx-slideshow-item';
18713
+ const CLASSNAME$f = 'lumx-slideshow-item';
18706
18714
 
18707
18715
  /**
18708
18716
  * SlideshowItem component.
@@ -18719,13 +18727,13 @@ const SlideshowItem = forwardRef((props, ref) => {
18719
18727
  } = props;
18720
18728
  return /*#__PURE__*/jsx("div", {
18721
18729
  ref: ref,
18722
- className: classNames.join(className, CLASSNAME$e),
18730
+ className: classNames.join(className, CLASSNAME$f),
18723
18731
  ...forwardedProps,
18724
18732
  children: children
18725
18733
  });
18726
18734
  });
18727
- SlideshowItem.displayName = COMPONENT_NAME$e;
18728
- SlideshowItem.className = CLASSNAME$e;
18735
+ SlideshowItem.displayName = COMPONENT_NAME$f;
18736
+ SlideshowItem.className = CLASSNAME$f;
18729
18737
 
18730
18738
  const isTouchDevice = () => 'ontouchstart' in window;
18731
18739
 
@@ -18787,16 +18795,16 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
18787
18795
  /**
18788
18796
  * Component display name.
18789
18797
  */
18790
- const COMPONENT_NAME$d = 'SlideshowControls';
18798
+ const COMPONENT_NAME$e = 'SlideshowControls';
18791
18799
 
18792
18800
  /**
18793
18801
  * Component default class name and class prefix.
18794
18802
  */
18795
- const CLASSNAME$d = 'lumx-slideshow-controls';
18803
+ const CLASSNAME$e = 'lumx-slideshow-controls';
18796
18804
  const {
18797
- block: block$c,
18805
+ block: block$d,
18798
18806
  element: element$7
18799
- } = classNames.bem(CLASSNAME$d);
18807
+ } = classNames.bem(CLASSNAME$e);
18800
18808
 
18801
18809
  /**
18802
18810
  * Component default props.
@@ -18866,7 +18874,7 @@ const InternalSlideshowControls = forwardRef((props, ref) => {
18866
18874
  return /*#__PURE__*/jsxs("div", {
18867
18875
  ref: ref,
18868
18876
  ...forwardedProps,
18869
- className: classNames.join(className, block$c({
18877
+ className: classNames.join(className, block$d({
18870
18878
  [`theme-${theme}`]: Boolean(theme),
18871
18879
  'has-infinite-pagination': slidesCount > PAGINATION_ITEMS_MAX
18872
18880
  })),
@@ -18927,8 +18935,8 @@ const InternalSlideshowControls = forwardRef((props, ref) => {
18927
18935
  })]
18928
18936
  });
18929
18937
  });
18930
- InternalSlideshowControls.displayName = COMPONENT_NAME$d;
18931
- InternalSlideshowControls.className = CLASSNAME$d;
18938
+ InternalSlideshowControls.displayName = COMPONENT_NAME$e;
18939
+ InternalSlideshowControls.className = CLASSNAME$e;
18932
18940
  InternalSlideshowControls.defaultProps = DEFAULT_PROPS$f;
18933
18941
  const SlideshowControls = Object.assign(InternalSlideshowControls, {
18934
18942
  useSlideshowControls,
@@ -19047,16 +19055,16 @@ const useSlideScroll = ({
19047
19055
  /**
19048
19056
  * Component display name.
19049
19057
  */
19050
- const COMPONENT_NAME$c = 'Slideshow';
19058
+ const COMPONENT_NAME$d = 'Slideshow';
19051
19059
 
19052
19060
  /**
19053
19061
  * Component default class name and class prefix.
19054
19062
  */
19055
- const CLASSNAME$c = 'lumx-slideshow';
19063
+ const CLASSNAME$d = 'lumx-slideshow';
19056
19064
  const {
19057
- block: block$b,
19065
+ block: block$c,
19058
19066
  element: element$6
19059
- } = classNames.bem(CLASSNAME$c);
19067
+ } = classNames.bem(CLASSNAME$d);
19060
19068
 
19061
19069
  /**
19062
19070
  * Component default props.
@@ -19126,7 +19134,7 @@ const Slides = forwardRef((props, ref) => {
19126
19134
  id: id,
19127
19135
  ref: ref,
19128
19136
  ...forwardedProps,
19129
- className: classNames.join(className, block$b({
19137
+ className: classNames.join(className, block$c({
19130
19138
  [`theme-${theme}`]: Boolean(theme),
19131
19139
  'fill-height': fillHeight,
19132
19140
  [`group-by-${groupBy}`]: Boolean(groupBy)
@@ -19155,22 +19163,22 @@ const Slides = forwardRef((props, ref) => {
19155
19163
  }), afterSlides]
19156
19164
  });
19157
19165
  });
19158
- Slides.displayName = COMPONENT_NAME$c;
19159
- Slides.className = CLASSNAME$c;
19166
+ Slides.displayName = COMPONENT_NAME$d;
19167
+ Slides.className = CLASSNAME$d;
19160
19168
 
19161
19169
  /**
19162
19170
  * Component display name.
19163
19171
  */
19164
- const COMPONENT_NAME$b = 'Switch';
19172
+ const COMPONENT_NAME$c = 'Switch';
19165
19173
 
19166
19174
  /**
19167
19175
  * Component default class name and class prefix.
19168
19176
  */
19169
- const CLASSNAME$b = 'lumx-switch';
19177
+ const CLASSNAME$c = 'lumx-switch';
19170
19178
  const {
19171
- block: block$a,
19179
+ block: block$b,
19172
19180
  element: element$5
19173
- } = bem(CLASSNAME$b);
19181
+ } = bem(CLASSNAME$c);
19174
19182
 
19175
19183
  /**
19176
19184
  * Component default props.
@@ -19213,7 +19221,7 @@ const Switch$1 = props => {
19213
19221
  return /*#__PURE__*/jsxs("div", {
19214
19222
  ref: ref,
19215
19223
  ...forwardedProps,
19216
- className: classnames(className, block$a({
19224
+ className: classnames(className, block$b({
19217
19225
  'is-checked': isChecked,
19218
19226
  'is-disabled': isDisabled,
19219
19227
  'is-unchecked': !isChecked,
@@ -19329,23 +19337,23 @@ const Switch = forwardRef((props, ref) => {
19329
19337
  inputId
19330
19338
  });
19331
19339
  });
19332
- Switch.displayName = COMPONENT_NAME$b;
19333
- Switch.className = CLASSNAME$b;
19340
+ Switch.displayName = COMPONENT_NAME$c;
19341
+ Switch.className = CLASSNAME$c;
19334
19342
  Switch.defaultProps = DEFAULT_PROPS$c;
19335
19343
 
19336
19344
  /**
19337
19345
  * Component display name.
19338
19346
  */
19339
- const COMPONENT_NAME$a = 'Table';
19347
+ const COMPONENT_NAME$b = 'Table';
19340
19348
 
19341
19349
  /**
19342
19350
  * Component default class name and class prefix.
19343
19351
  */
19344
- const CLASSNAME$a = 'lumx-table';
19352
+ const CLASSNAME$b = 'lumx-table';
19345
19353
 
19346
19354
  const {
19347
- block: block$9
19348
- } = bem(CLASSNAME$a);
19355
+ block: block$a
19356
+ } = bem(CLASSNAME$b);
19349
19357
 
19350
19358
  /**
19351
19359
  * Defines the props of the component.
@@ -19375,7 +19383,7 @@ const Table$1 = props => {
19375
19383
  return /*#__PURE__*/jsx("table", {
19376
19384
  ref: ref,
19377
19385
  ...forwardedProps,
19378
- className: classnames(className, block$9({
19386
+ className: classnames(className, block$a({
19379
19387
  'has-before': hasBefore,
19380
19388
  'has-dividers': hasDividers,
19381
19389
  [`theme-${theme}`]: Boolean(theme)
@@ -19409,19 +19417,19 @@ const Table = forwardRef((props, ref) => {
19409
19417
  ...otherProps
19410
19418
  });
19411
19419
  });
19412
- Table.displayName = COMPONENT_NAME$a;
19413
- Table.className = CLASSNAME$a;
19420
+ Table.displayName = COMPONENT_NAME$b;
19421
+ Table.className = CLASSNAME$b;
19414
19422
  Table.defaultProps = DEFAULT_PROPS$b;
19415
19423
 
19416
19424
  /**
19417
19425
  * Component display name.
19418
19426
  */
19419
- const COMPONENT_NAME$9 = 'TableBody';
19427
+ const COMPONENT_NAME$a = 'TableBody';
19420
19428
 
19421
19429
  /**
19422
19430
  * Component default class name and class prefix.
19423
19431
  */
19424
- const CLASSNAME$9 = `${CLASSNAME$a}__body`;
19432
+ const CLASSNAME$a = `${CLASSNAME$b}__body`;
19425
19433
 
19426
19434
  /**
19427
19435
  * TableBody component.
@@ -19439,7 +19447,7 @@ const TableBody$1 = props => {
19439
19447
  return /*#__PURE__*/jsx("tbody", {
19440
19448
  ref: ref,
19441
19449
  ...forwardedProps,
19442
- className: classnames(className, CLASSNAME$9),
19450
+ className: classnames(className, CLASSNAME$a),
19443
19451
  children: children
19444
19452
  });
19445
19453
  };
@@ -19466,8 +19474,8 @@ const TableBody = forwardRef((props, ref) => {
19466
19474
  ...otherProps
19467
19475
  });
19468
19476
  });
19469
- TableBody.displayName = COMPONENT_NAME$9;
19470
- TableBody.className = CLASSNAME$9;
19477
+ TableBody.displayName = COMPONENT_NAME$a;
19478
+ TableBody.className = CLASSNAME$a;
19471
19479
 
19472
19480
  const ThOrder = {
19473
19481
  asc: 'asc',
@@ -19488,15 +19496,15 @@ const TableCellVariant = {
19488
19496
  /**
19489
19497
  * Component display name.
19490
19498
  */
19491
- const COMPONENT_NAME$8 = 'TableCell';
19499
+ const COMPONENT_NAME$9 = 'TableCell';
19492
19500
 
19493
19501
  /**
19494
19502
  * Component default class name and class prefix.
19495
19503
  */
19496
- const CLASSNAME$8 = `${CLASSNAME$a}__cell`;
19504
+ const CLASSNAME$9 = `${CLASSNAME$b}__cell`;
19497
19505
  const {
19498
- block: block$8
19499
- } = bem(CLASSNAME$8);
19506
+ block: block$9
19507
+ } = bem(CLASSNAME$9);
19500
19508
 
19501
19509
  /**
19502
19510
  * Component default props.
@@ -19542,40 +19550,40 @@ const TableCell$1 = props => {
19542
19550
  children: [variant === TableCellVariant.head && /*#__PURE__*/jsx("th", {
19543
19551
  ref: ref,
19544
19552
  ...forwardedProps,
19545
- className: classnames(className, block$8({
19553
+ className: classnames(className, block$9({
19546
19554
  'is-sortable': isSortable,
19547
19555
  'is-sorted': isSortable && !!sortOrder,
19548
19556
  head: true
19549
19557
  })),
19550
19558
  "aria-sort": ariaSort,
19551
19559
  children: /*#__PURE__*/jsxs(Wrapper, {
19552
- className: `${CLASSNAME$8}-wrapper`,
19560
+ className: `${CLASSNAME$9}-wrapper`,
19553
19561
  ...wrapperProps,
19554
19562
  children: [icon && !isSortable && Icon$1({
19555
- className: `${CLASSNAME$8}-icon`,
19563
+ className: `${CLASSNAME$9}-icon`,
19556
19564
  icon,
19557
19565
  size: Size.xxs
19558
19566
  }), isSortable && sortOrder === ThOrder.asc && Icon$1({
19559
- className: `${CLASSNAME$8}-icon`,
19567
+ className: `${CLASSNAME$9}-icon`,
19560
19568
  icon: mdiArrowUp,
19561
19569
  size: Size.xxs
19562
19570
  }), isSortable && sortOrder === ThOrder.desc && Icon$1({
19563
- className: `${CLASSNAME$8}-icon`,
19571
+ className: `${CLASSNAME$9}-icon`,
19564
19572
  icon: mdiArrowDown,
19565
19573
  size: Size.xxs
19566
19574
  }), /*#__PURE__*/jsx("div", {
19567
- className: `${CLASSNAME$8}-content`,
19575
+ className: `${CLASSNAME$9}-content`,
19568
19576
  children: children
19569
19577
  })]
19570
19578
  })
19571
19579
  }), variant === TableCellVariant.body && /*#__PURE__*/jsx("td", {
19572
19580
  ref: ref,
19573
19581
  ...forwardedProps,
19574
- className: classnames(className, block$8({
19582
+ className: classnames(className, block$9({
19575
19583
  body: true
19576
19584
  })),
19577
19585
  children: /*#__PURE__*/jsx("div", {
19578
- className: `${CLASSNAME$8}-content`,
19586
+ className: `${CLASSNAME$9}-content`,
19579
19587
  children: children
19580
19588
  })
19581
19589
  })]
@@ -19604,19 +19612,19 @@ const TableCell = forwardRef((props, ref) => {
19604
19612
  handleClick: onHeaderClick
19605
19613
  });
19606
19614
  });
19607
- TableCell.displayName = COMPONENT_NAME$8;
19608
- TableCell.className = CLASSNAME$8;
19615
+ TableCell.displayName = COMPONENT_NAME$9;
19616
+ TableCell.className = CLASSNAME$9;
19609
19617
  TableCell.defaultProps = DEFAULT_PROPS$a;
19610
19618
 
19611
19619
  /**
19612
19620
  * Component display name.
19613
19621
  */
19614
- const COMPONENT_NAME$7 = 'TableHeader';
19622
+ const COMPONENT_NAME$8 = 'TableHeader';
19615
19623
 
19616
19624
  /**
19617
19625
  * Component default class name and class prefix.
19618
19626
  */
19619
- const CLASSNAME$7 = `${CLASSNAME$a}__header`;
19627
+ const CLASSNAME$8 = `${CLASSNAME$b}__header`;
19620
19628
 
19621
19629
  /**
19622
19630
  * Component default props.
@@ -19639,7 +19647,7 @@ const TableHeader$1 = props => {
19639
19647
  return /*#__PURE__*/jsx("thead", {
19640
19648
  ref: ref,
19641
19649
  ...forwardedProps,
19642
- className: classnames(className, CLASSNAME$7),
19650
+ className: classnames(className, CLASSNAME$8),
19643
19651
  children: children
19644
19652
  });
19645
19653
  };
@@ -19666,22 +19674,22 @@ const TableHeader = forwardRef((props, ref) => {
19666
19674
  ...otherProps
19667
19675
  });
19668
19676
  });
19669
- TableHeader.displayName = COMPONENT_NAME$7;
19670
- TableHeader.className = CLASSNAME$7;
19677
+ TableHeader.displayName = COMPONENT_NAME$8;
19678
+ TableHeader.className = CLASSNAME$8;
19671
19679
  TableHeader.defaultProps = DEFAULT_PROPS$9;
19672
19680
 
19673
19681
  /**
19674
19682
  * Component display name.
19675
19683
  */
19676
- const COMPONENT_NAME$6 = 'TableRow';
19684
+ const COMPONENT_NAME$7 = 'TableRow';
19677
19685
 
19678
19686
  /**
19679
19687
  * Component default class name and class prefix.
19680
19688
  */
19681
- const CLASSNAME$6 = `${CLASSNAME$a}__row`;
19689
+ const CLASSNAME$7 = `${CLASSNAME$b}__row`;
19682
19690
  const {
19683
- block: block$7
19684
- } = bem(CLASSNAME$6);
19691
+ block: block$8
19692
+ } = bem(CLASSNAME$7);
19685
19693
 
19686
19694
  /**
19687
19695
  * Component default props.
@@ -19716,7 +19724,7 @@ const TableRow$1 = props => {
19716
19724
  "aria-disabled": ariaDisabled,
19717
19725
  ...tabIndexProps,
19718
19726
  ...forwardedProps,
19719
- className: classnames(className, block$7({
19727
+ className: classnames(className, block$8({
19720
19728
  'is-clickable': isClickable && !isDisabled,
19721
19729
  'is-disabled': isDisabled,
19722
19730
  'is-selected': isSelected && !isDisabled
@@ -19756,8 +19764,8 @@ const TableRow = forwardRef((props, ref) => {
19756
19764
  ...forwardedProps
19757
19765
  });
19758
19766
  });
19759
- TableRow.displayName = COMPONENT_NAME$6;
19760
- TableRow.className = CLASSNAME$6;
19767
+ TableRow.displayName = COMPONENT_NAME$7;
19768
+ TableRow.className = CLASSNAME$7;
19761
19769
  TableRow.defaultProps = DEFAULT_PROPS$8;
19762
19770
 
19763
19771
  const DEFAULT_PROPS$7 = {
@@ -19828,7 +19836,7 @@ TabProvider.defaultProps = DEFAULT_PROPS$7;
19828
19836
  const TABS_CLASSNAME = `lumx-tabs`;
19829
19837
 
19830
19838
  const {
19831
- block: block$6,
19839
+ block: block$7,
19832
19840
  element: element$4
19833
19841
  } = bem(TABS_CLASSNAME);
19834
19842
  let TabListLayout = /*#__PURE__*/function (TabListLayout) {
@@ -19844,7 +19852,7 @@ let TabListLayout = /*#__PURE__*/function (TabListLayout) {
19844
19852
  /**
19845
19853
  * Component display name.
19846
19854
  */
19847
- const COMPONENT_NAME$5 = 'TabList';
19855
+ const COMPONENT_NAME$6 = 'TabList';
19848
19856
 
19849
19857
  /**
19850
19858
  * Component default props.
@@ -19877,7 +19885,7 @@ const TabList$1 = props => {
19877
19885
  return /*#__PURE__*/jsx("div", {
19878
19886
  ref: ref,
19879
19887
  ...forwardedProps,
19880
- className: classnames(className, block$6({
19888
+ className: classnames(className, block$7({
19881
19889
  [`layout-${layout}`]: Boolean(layout),
19882
19890
  [`position-${position}`]: Boolean(position),
19883
19891
  [`theme-${theme}`]: Boolean(theme)
@@ -19917,14 +19925,14 @@ const TabList = forwardRef((props, ref) => {
19917
19925
  ...forwardedProps
19918
19926
  });
19919
19927
  });
19920
- TabList.displayName = COMPONENT_NAME$5;
19928
+ TabList.displayName = COMPONENT_NAME$6;
19921
19929
  TabList.className = TABS_CLASSNAME;
19922
19930
  TabList.defaultProps = DEFAULT_PROPS$6;
19923
19931
 
19924
19932
  /**
19925
19933
  * Component display name.
19926
19934
  */
19927
- const COMPONENT_NAME$4 = 'Tab';
19935
+ const COMPONENT_NAME$5 = 'Tab';
19928
19936
 
19929
19937
  /**
19930
19938
  * Component default props.
@@ -19934,10 +19942,10 @@ const DEFAULT_PROPS$5 = {};
19934
19942
  /**
19935
19943
  * Component default class name and class prefix.
19936
19944
  */
19937
- const CLASSNAME$5 = `${TABS_CLASSNAME}__link`;
19945
+ const CLASSNAME$6 = `${TABS_CLASSNAME}__link`;
19938
19946
  const {
19939
- block: block$5
19940
- } = bem(CLASSNAME$5);
19947
+ block: block$6
19948
+ } = bem(CLASSNAME$6);
19941
19949
 
19942
19950
  /**
19943
19951
  * Tab component.
@@ -19996,7 +20004,7 @@ const Tab$1 = props => {
19996
20004
  ...forwardedProps,
19997
20005
  type: "button",
19998
20006
  id: tabId,
19999
- className: classnames(className, block$5({
20007
+ className: classnames(className, block$6({
20000
20008
  'is-active': isActive,
20001
20009
  'is-disabled': isAnyDisabled
20002
20010
  })),
@@ -20064,22 +20072,22 @@ const Tab = forwardRef((props, ref) => {
20064
20072
  ...forwardedProps
20065
20073
  });
20066
20074
  });
20067
- Tab.displayName = COMPONENT_NAME$4;
20068
- Tab.className = CLASSNAME$5;
20075
+ Tab.displayName = COMPONENT_NAME$5;
20076
+ Tab.className = CLASSNAME$6;
20069
20077
  Tab.defaultProps = DEFAULT_PROPS$5;
20070
20078
 
20071
20079
  /**
20072
20080
  * Component display name.
20073
20081
  */
20074
- const COMPONENT_NAME$3 = 'TabPanel';
20082
+ const COMPONENT_NAME$4 = 'TabPanel';
20075
20083
 
20076
20084
  /**
20077
20085
  * Component default class name and class prefix.
20078
20086
  */
20079
- const CLASSNAME$4 = `lumx-tab-panel`;
20087
+ const CLASSNAME$5 = `lumx-tab-panel`;
20080
20088
  const {
20081
- block: block$4
20082
- } = bem(CLASSNAME$4);
20089
+ block: block$5
20090
+ } = bem(CLASSNAME$5);
20083
20091
 
20084
20092
  /**
20085
20093
  * Component default props.
@@ -20111,7 +20119,7 @@ const TabPanel$1 = props => {
20111
20119
  ref: ref,
20112
20120
  ...forwardedProps,
20113
20121
  id: id,
20114
- className: classnames(className, block$4({
20122
+ className: classnames(className, block$5({
20115
20123
  'is-active': isActive
20116
20124
  })),
20117
20125
  role: "tabpanel",
@@ -20151,8 +20159,8 @@ const TabPanel = forwardRef((props, ref) => {
20151
20159
  ...forwardedProps
20152
20160
  });
20153
20161
  });
20154
- TabPanel.displayName = COMPONENT_NAME$3;
20155
- TabPanel.className = CLASSNAME$4;
20162
+ TabPanel.displayName = COMPONENT_NAME$4;
20163
+ TabPanel.className = CLASSNAME$5;
20156
20164
  TabPanel.defaultProps = DEFAULT_PROPS$4;
20157
20165
 
20158
20166
  /**
@@ -20302,16 +20310,16 @@ function calculateFocusPointStyle({
20302
20310
  /**
20303
20311
  * Component display name.
20304
20312
  */
20305
- const COMPONENT_NAME$2 = 'Thumbnail';
20313
+ const COMPONENT_NAME$3 = 'Thumbnail';
20306
20314
 
20307
20315
  /**
20308
20316
  * Component default class name and class prefix.
20309
20317
  */
20310
- const CLASSNAME$3 = 'lumx-thumbnail';
20318
+ const CLASSNAME$4 = 'lumx-thumbnail';
20311
20319
  const {
20312
- block: block$3,
20320
+ block: block$4,
20313
20321
  element: element$3
20314
- } = classNames.bem(CLASSNAME$3);
20322
+ } = classNames.bem(CLASSNAME$4);
20315
20323
 
20316
20324
  /**
20317
20325
  * Component default props.
@@ -20386,7 +20394,7 @@ const Thumbnail$1 = props => {
20386
20394
  wrapperProps['aria-label'] = forwardedProps['aria-label'] || alt;
20387
20395
  }
20388
20396
  }
20389
- const wrapperClassName = classNames.join(linkProps?.className, className, block$3({
20397
+ const wrapperClassName = classNames.join(linkProps?.className, className, block$4({
20390
20398
  [`align-${align}`]: Boolean(align),
20391
20399
  [`aspect-ratio-${aspectRatio}`]: Boolean(aspectRatio),
20392
20400
  [`size-${size}`]: Boolean(size),
@@ -20592,8 +20600,8 @@ const Thumbnail = forwardRef((props, ref) => {
20592
20600
  })
20593
20601
  });
20594
20602
  });
20595
- Thumbnail.displayName = COMPONENT_NAME$2;
20596
- Thumbnail.className = CLASSNAME$3;
20603
+ Thumbnail.displayName = COMPONENT_NAME$3;
20604
+ Thumbnail.className = CLASSNAME$4;
20597
20605
  Thumbnail.defaultProps = DEFAULT_PROPS$3;
20598
20606
 
20599
20607
  /**
@@ -20633,6 +20641,324 @@ const ThumbnailObjectFit = {
20633
20641
  contain: 'contain'
20634
20642
  };
20635
20643
 
20644
+ /**
20645
+ * Component display name.
20646
+ */
20647
+ const COMPONENT_NAME$2 = 'TimePickerField';
20648
+
20649
+ /**
20650
+ * Component default class name (BEM root).
20651
+ */
20652
+ const CLASSNAME$3 = 'lumx-time-picker-field';
20653
+ const {
20654
+ block: block$3
20655
+ } = bem(CLASSNAME$3);
20656
+
20657
+ /**
20658
+ * Translations consumed by `TimePickerField` (forwarded as-is to the underlying
20659
+ * `SelectTextField`).
20660
+ */
20661
+
20662
+ /**
20663
+ * Core props for the `TimePickerField` template.
20664
+ */
20665
+
20666
+ /**
20667
+ * Injected framework-specific components for TimePickerField rendering.
20668
+ */
20669
+
20670
+ /**
20671
+ * `TimePickerField` core template.
20672
+ *
20673
+ * Renders a `SelectTextField<TimeOfDay>` with an option list built from
20674
+ * `buildTimeList`. Out-of-range options (strictly before `minTime` / after
20675
+ * `maxTime`) remain visible in the dropdown but are rendered as disabled.
20676
+ *
20677
+ * Framework-specific components are passed as a second argument by the
20678
+ * React/Vue wrappers.
20679
+ *
20680
+ * @param props Component props.
20681
+ * @param components Injected framework-specific components.
20682
+ * @return JSX element.
20683
+ */
20684
+ const TimePickerField$1 = (props, {
20685
+ SelectTextField,
20686
+ Option
20687
+ }) => {
20688
+ const {
20689
+ options,
20690
+ translations,
20691
+ className,
20692
+ handleChange,
20693
+ handleSearch,
20694
+ handleBlur,
20695
+ ...fowardedProps
20696
+ } = props;
20697
+ return /*#__PURE__*/jsx(SelectTextField, {
20698
+ ...fowardedProps,
20699
+ className: block$3([className]),
20700
+ selectionType: "single",
20701
+ options: options,
20702
+ getOptionId: "name",
20703
+ renderOption: entry => /*#__PURE__*/jsx(Option, {
20704
+ isDisabled: entry.outOfRange
20705
+ }),
20706
+ onChange: handleChange,
20707
+ onSearch: handleSearch,
20708
+ onBlur: handleBlur,
20709
+ filter: "auto",
20710
+ translations: translations
20711
+ });
20712
+ };
20713
+ TimePickerField$1.displayName = COMPONENT_NAME$2;
20714
+ TimePickerField$1.className = CLASSNAME$3;
20715
+
20716
+ /**
20717
+ * Format a time-of-day as a locale-aware short time (e.g. `'10:30 AM'`,
20718
+ * `'10:30'`). Hour is `numeric` (not `'2-digit'`); some locales insert a
20719
+ * narrow no-break space (U+202F) before AM/PM.
20720
+ */
20721
+ function formatTime(date, locale) {
20722
+ return date.toLocaleTimeString(locale, {
20723
+ hour: 'numeric',
20724
+ minute: '2-digit'
20725
+ });
20726
+ }
20727
+
20728
+ /**
20729
+ * Build a new `Date` with the given time-of-day, inheriting the date part of
20730
+ * `reference` (or today). Seconds/ms zeroed; `reference` is not mutated.
20731
+ */
20732
+ function getDateAtTime({
20733
+ hour,
20734
+ minute
20735
+ }, reference) {
20736
+ const next = reference ? new Date(reference) : new Date();
20737
+ next.setHours(hour, minute, 0, 0);
20738
+ return next;
20739
+ }
20740
+
20741
+ /**
20742
+ * Return the time-of-day of `date` in minutes since 00:00 (date part ignored).
20743
+ */
20744
+ function timeOfDayMinutes(date) {
20745
+ return date.getHours() * 60 + date.getMinutes();
20746
+ }
20747
+
20748
+ /**
20749
+ * A time-of-day (24h), independent of any date or time zone. Canonical
20750
+ * exchange shape for the time utilities and `TimePickerField`.
20751
+ */
20752
+
20753
+ /** Options for `buildTimeList`. */
20754
+
20755
+ const MINUTES_IN_HOUR = 60;
20756
+ const MINUTES_IN_DAY = 24 * MINUTES_IN_HOUR;
20757
+
20758
+ /**
20759
+ * Build a full-day list of `TimeOfDay` entries spaced `step` minutes apart.
20760
+ * Out-of-bounds entries are kept (with `outOfRange: true`) so consumers can
20761
+ * render them as visible-but-unselectable. Returns `[]` for invalid `step`.
20762
+ */
20763
+ function buildTimeList(options = {}) {
20764
+ const {
20765
+ step = 30,
20766
+ minTime,
20767
+ maxTime,
20768
+ locale
20769
+ } = options;
20770
+ if (!Number.isInteger(step) || step <= 0) {
20771
+ return [];
20772
+ }
20773
+ const minMinutes = minTime ? timeOfDayMinutes(minTime) : undefined;
20774
+ const maxMinutes = maxTime ? timeOfDayMinutes(maxTime) : undefined;
20775
+ const list = [];
20776
+ for (let minutes = 0; minutes < MINUTES_IN_DAY; minutes += step) {
20777
+ const hour = Math.floor(minutes / MINUTES_IN_HOUR);
20778
+ const minute = minutes % MINUTES_IN_HOUR;
20779
+ const outOfRange = minMinutes !== undefined && minutes < minMinutes || maxMinutes !== undefined && minutes > maxMinutes || undefined;
20780
+ const name = locale ? formatTime(getDateAtTime({
20781
+ hour,
20782
+ minute
20783
+ }), locale) : undefined;
20784
+ list.push({
20785
+ hour,
20786
+ minute,
20787
+ name,
20788
+ outOfRange
20789
+ });
20790
+ }
20791
+ return list;
20792
+ }
20793
+
20794
+ /**
20795
+ * Match a free-form time. Supports:
20796
+ * - 12h with am/pm suffix (`a`, `am`, `p`, `pm`, `a.m.`, `p.m.`), optional whitespace
20797
+ * - 24h with colon (`15:45`), dot (`15.45`), `h` (`15h45`) or no separator (`1545`)
20798
+ * - Optional seconds segment (ignored): `15:45:00`, `15.45.00`
20799
+ * - Optional ISO `T` prefix and trailing `Z` (UTC marker)
20800
+ *
20801
+ * Capture groups:
20802
+ * 1: hour, 2: minutes (optional), 3: am/pm marker (optional)
20803
+ */
20804
+ const RE_TIME = /^T?(\d{1,2})(?:[:.h]?([0-5]\d)(?:[:.]?[0-5]\d)?)?\s*(a\.?m?\.?|p\.?m?\.?)?Z?$/i;
20805
+
20806
+ /**
20807
+ * Parse a free-form user time input into a 24h `TimeOfDay`. Accepts a wide
20808
+ * range of formats:
20809
+ *
20810
+ * - 12h AM/PM: `'2pm'`, `'2 PM'`, `'2:30pm'`, `'3.45 PM'`, `'3:45 p.m.'`
20811
+ * - 24h colon: `'10:30'`, `'15:45'`
20812
+ * - 24h dot (DE/FR/IT): `'15.45'`
20813
+ * - 24h French: `'15h45'`
20814
+ * - Military / no separator: `'1545'`, `'1030pm'`
20815
+ * - With seconds (ignored): `'15:45:00'`
20816
+ * - ISO 8601: `'T15:45'`, `'15:45Z'`
20817
+ *
20818
+ * Whitespace is trimmed. Returns `undefined` if no format matches.
20819
+ */
20820
+ function parseTimeInput(raw) {
20821
+ if (typeof raw !== 'string') return undefined;
20822
+ const match = raw.trim().match(RE_TIME);
20823
+ if (!match) return undefined;
20824
+ const [, rawHour, rawMinute, ampm] = match;
20825
+ let hour = Number(rawHour);
20826
+ const minute = rawMinute ? Number(rawMinute) : 0;
20827
+ if (ampm) {
20828
+ // 12h: hour must be 1..12; convert to 24h (12am→0, 12pm→12).
20829
+ if (hour < 1 || hour > 12) return undefined;
20830
+ const isPm = ampm[0].toLowerCase() === 'p';
20831
+ if (hour === 12) hour = isPm ? 12 : 0;else if (isPm) hour += 12;
20832
+ } else if (hour > 23) {
20833
+ // 24h: hour must be 0..23.
20834
+ return undefined;
20835
+ }
20836
+ return {
20837
+ hour,
20838
+ minute
20839
+ };
20840
+ }
20841
+
20842
+ /**
20843
+ * Clamp `time` to `[minTime, maxTime]`. Inputs strictly before `minTime` snap
20844
+ * up; inputs strictly after `maxTime` snap down; otherwise returned unchanged.
20845
+ * Only the time-of-day of `minTime`/`maxTime` is used.
20846
+ */
20847
+ function snapTimeToBounds(time, minTime, maxTime) {
20848
+ const totalMinutes = time.hour * 60 + time.minute;
20849
+ if (minTime && totalMinutes < timeOfDayMinutes(minTime)) {
20850
+ return {
20851
+ hour: minTime.getHours(),
20852
+ minute: minTime.getMinutes()
20853
+ };
20854
+ }
20855
+ if (maxTime && totalMinutes > timeOfDayMinutes(maxTime)) {
20856
+ return {
20857
+ hour: maxTime.getHours(),
20858
+ minute: maxTime.getMinutes()
20859
+ };
20860
+ }
20861
+ return time;
20862
+ }
20863
+
20864
+ /**
20865
+ * Returns `true` when the time-of-day of `date` matches `time` (hour and
20866
+ * minute). Seconds and milliseconds are ignored.
20867
+ */
20868
+ function isDateOnTime(date, time) {
20869
+ return date.getHours() === time.hour && date.getMinutes() === time.minute;
20870
+ }
20871
+
20872
+ /**
20873
+ * Inherited SelectTextField props (less the parts owned by TimePickerField).
20874
+ */
20875
+
20876
+ /**
20877
+ * `TimePickerField` props.
20878
+ */
20879
+
20880
+ /**
20881
+ * A select-style picker for choosing a time of day. Wraps `SelectTextField`
20882
+ * with a generated list of times built from `step`, `minTime`, and `maxTime`.
20883
+ *
20884
+ * Out-of-range options (strictly before `minTime` or after `maxTime`) remain
20885
+ * visible in the dropdown but are rendered as disabled.
20886
+ *
20887
+ * Free-form typed input (e.g. `"10:30 PM"`, `"14"`, `"930"`) is parsed on blur.
20888
+ *
20889
+ * @param props Component props.
20890
+ * @return React element.
20891
+ */
20892
+ const TimePickerField = props => {
20893
+ const {
20894
+ value,
20895
+ onChange,
20896
+ locale = getCurrentLocale(),
20897
+ step = 30,
20898
+ minTime,
20899
+ maxTime,
20900
+ className,
20901
+ theme,
20902
+ translations,
20903
+ ...forwardedProps
20904
+ } = props;
20905
+
20906
+ // Build the option list — re-computed only when bounds/step/locale change.
20907
+ const timeList = useMemo(() => buildTimeList({
20908
+ step,
20909
+ minTime,
20910
+ maxTime,
20911
+ locale
20912
+ }), [step, minTime, maxTime, locale]);
20913
+
20914
+ // Track the user's typed input separately from the SelectTextField's internal search state,
20915
+ // so blur can convert it to a Date.
20916
+ const [searchValue, handleSearch] = useState('');
20917
+
20918
+ // Resolve the option that matches the current value (by time-of-day).
20919
+ const selectedOption = useMemo(() => {
20920
+ if (!value) return undefined;
20921
+ return {
20922
+ hour: value.getHours(),
20923
+ minute: value.getMinutes(),
20924
+ name: formatTime(value, locale)
20925
+ };
20926
+ }, [value, locale]);
20927
+ const handleChange = useCallback(next => {
20928
+ const date = next ? getDateAtTime(next, value) : undefined;
20929
+ onChange(date, forwardedProps.name);
20930
+ }, [forwardedProps.name, onChange, value]);
20931
+ const handleBlur = useCallback(() => {
20932
+ if (!searchValue) return;
20933
+ const parsed = parseTimeInput(searchValue);
20934
+ // Reset our local typed-value tracking; SelectTextField clears its own internal copy.
20935
+ handleSearch('');
20936
+ if (!parsed) return;
20937
+
20938
+ // Snap to bounds if needed, then dedup against the current value.
20939
+ const time = snapTimeToBounds(parsed, minTime, maxTime);
20940
+ if (value && isDateOnTime(value, time)) return;
20941
+ onChange(getDateAtTime(time, value), forwardedProps.name);
20942
+ }, [maxTime, minTime, forwardedProps.name, onChange, searchValue, value]);
20943
+ const searchInputValue = value ? formatTime(value, locale) : undefined;
20944
+ return TimePickerField$1({
20945
+ ...forwardedProps,
20946
+ value: selectedOption,
20947
+ options: timeList,
20948
+ translations,
20949
+ className,
20950
+ theme,
20951
+ handleChange,
20952
+ handleSearch,
20953
+ handleBlur,
20954
+ searchInputValue
20955
+ }, {
20956
+ SelectTextField,
20957
+ Option: SelectTextField.Option
20958
+ });
20959
+ };
20960
+ TimePickerField.displayName = COMPONENT_NAME$2;
20961
+
20636
20962
  /**
20637
20963
  * Component display name.
20638
20964
  */
@@ -21104,5 +21430,5 @@ UserBlock.displayName = COMPONENT_NAME;
21104
21430
  UserBlock.className = CLASSNAME;
21105
21431
  UserBlock.defaultProps = DEFAULT_PROPS;
21106
21432
 
21107
- 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 };
21433
+ export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1s as CLASSNAME, COMPONENT_NAME$1t 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, CLASSNAME$3 as TIME_PICKER_FIELD_CLASSNAME, COMPONENT_NAME$2 as TIME_PICKER_FIELD_COMPONENT_NAME, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, TimePickerField, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
21108
21434
  //# sourceMappingURL=index.js.map