@lumx/react 4.2.1-alpha.8 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.d.ts +166 -115
  2. package/index.js +658 -432
  3. package/index.js.map +1 -1
  4. package/package.json +3 -4
package/index.js CHANGED
@@ -47,6 +47,7 @@ import take from 'lodash/take';
47
47
  import { mdiRadioboxBlank } from '@lumx/icons/esm/radiobox-blank';
48
48
  import { mdiRadioboxMarked } from '@lumx/icons/esm/radiobox-marked';
49
49
  import { mdiMenuDown } from '@lumx/icons/esm/menu-down';
50
+ import { getWithSelector } from '@lumx/core/js/utils/selectors/getWithSelector';
50
51
  import { mdiArrowDown } from '@lumx/icons/esm/arrow-down';
51
52
  import { mdiArrowUp } from '@lumx/icons/esm/arrow-up';
52
53
  import set from 'lodash/set';
@@ -100,10 +101,10 @@ const COMPONENT_NAME$1k = 'AlertDialog';
100
101
  /**
101
102
  * Component default class name and class prefix.
102
103
  */
103
- const CLASSNAME$1i = 'lumx-alert-dialog';
104
+ const CLASSNAME$1j = 'lumx-alert-dialog';
104
105
  const {
105
- block: block$13
106
- } = classNames.bem(CLASSNAME$1i);
106
+ block: block$14
107
+ } = classNames.bem(CLASSNAME$1j);
107
108
 
108
109
  /**
109
110
  * Component default props.
@@ -171,7 +172,7 @@ const AlertDialog = forwardRef((props, ref) => {
171
172
  'aria-describedby': descriptionId,
172
173
  ...dialogProps
173
174
  },
174
- className: classNames.join(className, block$13({
175
+ className: classNames.join(className, block$14({
175
176
  [`kind-${kind}`]: Boolean(kind)
176
177
  })),
177
178
  ...forwardedProps,
@@ -217,7 +218,7 @@ const AlertDialog = forwardRef((props, ref) => {
217
218
  });
218
219
  });
219
220
  AlertDialog.displayName = COMPONENT_NAME$1k;
220
- AlertDialog.className = CLASSNAME$1i;
221
+ AlertDialog.className = CLASSNAME$1j;
221
222
  AlertDialog.defaultProps = DEFAULT_PROPS$16;
222
223
 
223
224
  /**
@@ -315,7 +316,7 @@ const COMPONENT_NAME$1j = 'Autocomplete';
315
316
  /**
316
317
  * Component default class name and class prefix.
317
318
  */
318
- const CLASSNAME$1h = 'lumx-autocomplete';
319
+ const CLASSNAME$1i = 'lumx-autocomplete';
319
320
 
320
321
  /**
321
322
  * Component default props.
@@ -382,7 +383,7 @@ const Autocomplete = forwardRef((props, ref) => {
382
383
  return /*#__PURE__*/jsxs("div", {
383
384
  ref: ref,
384
385
  ...forwardedProps,
385
- className: classNames.join(className, CLASSNAME$1h),
386
+ className: classNames.join(className, CLASSNAME$1i),
386
387
  children: [/*#__PURE__*/jsx(TextField, {
387
388
  ...textFieldProps,
388
389
  chips: chips,
@@ -423,7 +424,7 @@ const Autocomplete = forwardRef((props, ref) => {
423
424
  });
424
425
  });
425
426
  Autocomplete.displayName = COMPONENT_NAME$1j;
426
- Autocomplete.className = CLASSNAME$1h;
427
+ Autocomplete.className = CLASSNAME$1i;
427
428
  Autocomplete.defaultProps = DEFAULT_PROPS$15;
428
429
 
429
430
  /**
@@ -434,7 +435,7 @@ const COMPONENT_NAME$1i = 'AutocompleteMultiple';
434
435
  /**
435
436
  * Component default class name and class prefix.
436
437
  */
437
- const CLASSNAME$1g = 'lumx-autocomplete-multiple';
438
+ const CLASSNAME$1h = 'lumx-autocomplete-multiple';
438
439
 
439
440
  /**
440
441
  * Component default props.
@@ -514,7 +515,7 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
514
515
  ref: ref,
515
516
  ...forwardedProps,
516
517
  anchorToInput: anchorToInput,
517
- className: classNames.join(className, CLASSNAME$1g),
518
+ className: classNames.join(className, CLASSNAME$1h),
518
519
  name: name,
519
520
  value: value,
520
521
  onChange: onChange,
@@ -548,7 +549,7 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
548
549
  });
549
550
  });
550
551
  AutocompleteMultiple.displayName = COMPONENT_NAME$1i;
551
- AutocompleteMultiple.className = CLASSNAME$1g;
552
+ AutocompleteMultiple.className = CLASSNAME$1h;
552
553
  AutocompleteMultiple.defaultProps = DEFAULT_PROPS$14;
553
554
 
554
555
  /**
@@ -559,11 +560,11 @@ const COMPONENT_NAME$1h = 'Avatar';
559
560
  /**
560
561
  * Component default class name and class prefix.
561
562
  */
562
- const CLASSNAME$1f = 'lumx-avatar';
563
+ const CLASSNAME$1g = 'lumx-avatar';
563
564
  const {
564
- block: block$12,
565
- element: element$M
566
- } = classNames.bem(CLASSNAME$1f);
565
+ block: block$13,
566
+ element: element$N
567
+ } = classNames.bem(CLASSNAME$1g);
567
568
 
568
569
  /**
569
570
  * Component default props.
@@ -599,14 +600,14 @@ const Avatar = forwardRef((props, ref) => {
599
600
  return /*#__PURE__*/jsxs("div", {
600
601
  ref: ref,
601
602
  ...forwardedProps,
602
- className: classNames.join(className, block$12({
603
+ className: classNames.join(className, block$13({
603
604
  [`size-${size}`]: Boolean(size),
604
605
  [`theme-${theme}`]: Boolean(theme)
605
606
  })),
606
607
  children: [/*#__PURE__*/jsx(Thumbnail, {
607
608
  linkProps: linkProps,
608
609
  linkAs: linkAs,
609
- className: element$M('thumbnail'),
610
+ className: element$N('thumbnail'),
610
611
  onClick: onClick,
611
612
  onKeyPress: onKeyPress,
612
613
  ...thumbnailProps,
@@ -616,16 +617,16 @@ const Avatar = forwardRef((props, ref) => {
616
617
  alt: alt,
617
618
  theme: theme
618
619
  }), actions && /*#__PURE__*/jsx("div", {
619
- className: element$M('actions'),
620
+ className: element$N('actions'),
620
621
  children: actions
621
622
  }), badge && /*#__PURE__*/jsx("div", {
622
- className: element$M('badge'),
623
+ className: element$N('badge'),
623
624
  children: badge
624
625
  })]
625
626
  });
626
627
  });
627
628
  Avatar.displayName = COMPONENT_NAME$1h;
628
- Avatar.className = CLASSNAME$1f;
629
+ Avatar.className = CLASSNAME$1g;
629
630
  Avatar.defaultProps = DEFAULT_PROPS$13;
630
631
 
631
632
  /**
@@ -636,10 +637,10 @@ const COMPONENT_NAME$1g = 'Badge';
636
637
  /**
637
638
  * Component default class name and class prefix.
638
639
  */
639
- const CLASSNAME$1e = 'lumx-badge';
640
+ const CLASSNAME$1f = 'lumx-badge';
640
641
  const {
641
- block: block$11
642
- } = classNames.bem(CLASSNAME$1e);
642
+ block: block$12
643
+ } = classNames.bem(CLASSNAME$1f);
643
644
 
644
645
  /**
645
646
  * Component default props.
@@ -665,24 +666,24 @@ const Badge = forwardRef((props, ref) => {
665
666
  return /*#__PURE__*/jsx("div", {
666
667
  ref: ref,
667
668
  ...forwardedProps,
668
- className: classNames.join(className, block$11({
669
+ className: classNames.join(className, block$12({
669
670
  [`color-${color}`]: Boolean(color)
670
671
  })),
671
672
  children: children
672
673
  });
673
674
  });
674
675
  Badge.displayName = COMPONENT_NAME$1g;
675
- Badge.className = CLASSNAME$1e;
676
+ Badge.className = CLASSNAME$1f;
676
677
  Badge.defaultProps = DEFAULT_PROPS$12;
677
678
 
678
679
  /**
679
680
  * Component default class name and class prefix.
680
681
  */
681
- const CLASSNAME$1d = 'lumx-badge-wrapper';
682
+ const CLASSNAME$1e = 'lumx-badge-wrapper';
682
683
  const {
683
- block: block$10,
684
- element: element$L
685
- } = classNames.bem(CLASSNAME$1d);
684
+ block: block$11,
685
+ element: element$M
686
+ } = classNames.bem(CLASSNAME$1e);
686
687
  const BadgeWrapper = forwardRef((props, ref) => {
687
688
  const {
688
689
  badge,
@@ -693,15 +694,15 @@ const BadgeWrapper = forwardRef((props, ref) => {
693
694
  return /*#__PURE__*/jsxs("div", {
694
695
  ref: ref,
695
696
  ...forwardedProps,
696
- className: classNames.join(className, block$10()),
697
+ className: classNames.join(className, block$11()),
697
698
  children: [children, badge && /*#__PURE__*/jsx("div", {
698
- className: element$L('badge'),
699
+ className: element$M('badge'),
699
700
  children: badge
700
701
  })]
701
702
  });
702
703
  });
703
704
  BadgeWrapper.displayName = 'BadgeWrapper';
704
- BadgeWrapper.className = CLASSNAME$1d;
705
+ BadgeWrapper.className = CLASSNAME$1e;
705
706
 
706
707
  /**
707
708
  * Alignments.
@@ -925,7 +926,7 @@ function modifier$1(baseName, modifiers) {
925
926
  * block('button', { active: true, disabled: false }); // 'button button--active'
926
927
  */
927
928
 
928
- function block$$(baseName, modifiersOrAdditionalClasses, additionalClasses) {
929
+ function block$10(baseName, modifiersOrAdditionalClasses, additionalClasses) {
929
930
  let modifiers;
930
931
  let classes;
931
932
  if (Array.isArray(modifiersOrAdditionalClasses)) {
@@ -960,11 +961,11 @@ function block$$(baseName, modifiersOrAdditionalClasses, additionalClasses) {
960
961
  * element('my-button', 'icon', { active: true }); // 'my-button__icon my-button__icon--active'
961
962
  */
962
963
 
963
- function element$K(baseClass, elem, modifiersOrAdditionalClasses, additionalClasses) {
964
+ function element$L(baseClass, elem, modifiersOrAdditionalClasses, additionalClasses) {
964
965
  if (Array.isArray(modifiersOrAdditionalClasses)) {
965
- return block$$(`${baseClass}__${elem}`, modifiersOrAdditionalClasses);
966
+ return block$10(`${baseClass}__${elem}`, modifiersOrAdditionalClasses);
966
967
  }
967
- return block$$(`${baseClass}__${elem}`, modifiersOrAdditionalClasses, additionalClasses);
968
+ return block$10(`${baseClass}__${elem}`, modifiersOrAdditionalClasses, additionalClasses);
968
969
  }
969
970
 
970
971
  /**
@@ -973,15 +974,15 @@ function element$K(baseClass, elem, modifiersOrAdditionalClasses, additionalClas
973
974
  function bem(baseName) {
974
975
  function blockFn(modifiersOrAdditionalClasses, additionalClasses) {
975
976
  if (Array.isArray(modifiersOrAdditionalClasses)) {
976
- return block$$(baseName, modifiersOrAdditionalClasses);
977
+ return block$10(baseName, modifiersOrAdditionalClasses);
977
978
  }
978
- return block$$(baseName, modifiersOrAdditionalClasses, additionalClasses);
979
+ return block$10(baseName, modifiersOrAdditionalClasses, additionalClasses);
979
980
  }
980
981
  function elementFn(elem, modifiersOrAdditionalClasses, additionalClasses) {
981
982
  if (Array.isArray(modifiersOrAdditionalClasses)) {
982
- return element$K(baseName, elem, modifiersOrAdditionalClasses);
983
+ return element$L(baseName, elem, modifiersOrAdditionalClasses);
983
984
  }
984
- return element$K(baseName, elem, modifiersOrAdditionalClasses, additionalClasses);
985
+ return element$L(baseName, elem, modifiersOrAdditionalClasses, additionalClasses);
985
986
  }
986
987
  return {
987
988
  block: blockFn,
@@ -1018,9 +1019,9 @@ const RawClickable$1 = props => {
1018
1019
  };
1019
1020
  }
1020
1021
  return /*#__PURE__*/jsx(Component, {
1022
+ "aria-disabled": isAnyDisabled || undefined,
1021
1023
  ...forwardedProps,
1022
1024
  ...clickableProps,
1023
- "aria-disabled": isAnyDisabled || undefined,
1024
1025
  onClick: event => {
1025
1026
  if (isAnyDisabled) {
1026
1027
  event.stopPropagation();
@@ -1149,10 +1150,10 @@ const COMPONENT_NAME$1e = 'Button';
1149
1150
  /**
1150
1151
  * Component default class name and class prefix.
1151
1152
  */
1152
- const CLASSNAME$1c = 'lumx-button';
1153
+ const CLASSNAME$1d = 'lumx-button';
1153
1154
  const {
1154
1155
  modifier
1155
- } = bem(CLASSNAME$1c);
1156
+ } = bem(CLASSNAME$1d);
1156
1157
 
1157
1158
  /**
1158
1159
  * Component default props.
@@ -1190,7 +1191,7 @@ const Button$1 = props => {
1190
1191
  });
1191
1192
  };
1192
1193
  Button$1.displayName = COMPONENT_NAME$1e;
1193
- Button$1.className = CLASSNAME$1c;
1194
+ Button$1.className = CLASSNAME$1d;
1194
1195
  Button$1.defaultProps = DEFAULT_PROPS$11;
1195
1196
 
1196
1197
  /**
@@ -1258,7 +1259,7 @@ const Button = forwardRef((props, ref) => {
1258
1259
  });
1259
1260
  });
1260
1261
  Button.displayName = COMPONENT_NAME$1e;
1261
- Button.className = CLASSNAME$1c;
1262
+ Button.className = CLASSNAME$1d;
1262
1263
  Button.defaultProps = DEFAULT_PROPS$11;
1263
1264
 
1264
1265
  const COMPONENT_NAME$1d = 'Icon';
@@ -1268,10 +1269,10 @@ const IconClassName = 'lumx-icon';
1268
1269
  * Defines the props of the component.
1269
1270
  */
1270
1271
 
1271
- const CLASSNAME$1b = IconClassName;
1272
+ const CLASSNAME$1c = IconClassName;
1272
1273
  const {
1273
- block: block$_
1274
- } = bem(CLASSNAME$1b);
1274
+ block: block$$
1275
+ } = bem(CLASSNAME$1c);
1275
1276
 
1276
1277
  /**
1277
1278
  * Component default props.
@@ -1325,7 +1326,7 @@ const Icon$1 = props => {
1325
1326
  return /*#__PURE__*/jsx("i", {
1326
1327
  ref: ref,
1327
1328
  ...forwardedProps,
1328
- className: classnames(className, block$_({
1329
+ className: classnames(className, block$$({
1329
1330
  [`color-${iconColor}`]: Boolean(iconColor),
1330
1331
  [`color-variant-${iconColorVariant}`]: Boolean(iconColorVariant),
1331
1332
  'has-shape': hasShape,
@@ -1355,7 +1356,7 @@ const Icon$1 = props => {
1355
1356
  });
1356
1357
  };
1357
1358
  Icon$1.displayName = COMPONENT_NAME$1d;
1358
- Icon$1.className = CLASSNAME$1b;
1359
+ Icon$1.className = CLASSNAME$1c;
1359
1360
  Icon$1.defaultProps = DEFAULT_PROPS$10;
1360
1361
 
1361
1362
  /**
@@ -1366,7 +1367,7 @@ const COMPONENT_NAME$1c = 'IconButton';
1366
1367
  /**
1367
1368
  * Component default class name and class prefix.
1368
1369
  */
1369
- const CLASSNAME$1a = 'lumx-icon-button';
1370
+ const CLASSNAME$1b = 'lumx-icon-button';
1370
1371
 
1371
1372
  /**
1372
1373
  * Component default props.
@@ -1408,7 +1409,7 @@ const IconButton$1 = props => {
1408
1409
  });
1409
1410
  };
1410
1411
  IconButton$1.displayName = COMPONENT_NAME$1c;
1411
- IconButton$1.className = CLASSNAME$1a;
1412
+ IconButton$1.className = CLASSNAME$1b;
1412
1413
  IconButton$1.defaultProps = DEFAULT_PROPS$$;
1413
1414
 
1414
1415
  /**
@@ -1445,7 +1446,7 @@ const IconButton = forwardRef((props, ref) => {
1445
1446
  });
1446
1447
  });
1447
1448
  IconButton.displayName = COMPONENT_NAME$1c;
1448
- IconButton.className = CLASSNAME$1a;
1449
+ IconButton.className = CLASSNAME$1b;
1449
1450
  IconButton.defaultProps = DEFAULT_PROPS$$;
1450
1451
 
1451
1452
  /**
@@ -1456,7 +1457,7 @@ const COMPONENT_NAME$1b = 'ButtonGroup';
1456
1457
  /**
1457
1458
  * Component default class name and class prefix.
1458
1459
  */
1459
- const CLASSNAME$19 = 'lumx-button-group';
1460
+ const CLASSNAME$1a = 'lumx-button-group';
1460
1461
 
1461
1462
  /**
1462
1463
  * Component default props.
@@ -1477,12 +1478,12 @@ const ButtonGroup$1 = props => {
1477
1478
  } = props;
1478
1479
  return /*#__PURE__*/jsx("div", {
1479
1480
  ...forwardedProps,
1480
- className: classnames(className, CLASSNAME$19),
1481
+ className: classnames(className, CLASSNAME$1a),
1481
1482
  children: children
1482
1483
  });
1483
1484
  };
1484
1485
  ButtonGroup$1.displayName = COMPONENT_NAME$1b;
1485
- ButtonGroup$1.className = CLASSNAME$19;
1486
+ ButtonGroup$1.className = CLASSNAME$1a;
1486
1487
  ButtonGroup$1.defaultProps = DEFAULT_PROPS$_;
1487
1488
 
1488
1489
  /**
@@ -1499,9 +1500,107 @@ const ButtonGroup = forwardRef((props, ref) => {
1499
1500
  });
1500
1501
  });
1501
1502
  ButtonGroup.displayName = COMPONENT_NAME$1b;
1502
- ButtonGroup.className = CLASSNAME$19;
1503
+ ButtonGroup.className = CLASSNAME$1a;
1503
1504
  ButtonGroup.defaultProps = DEFAULT_PROPS$_;
1504
1505
 
1506
+ const COMPONENT_NAME$1a = 'InputLabel';
1507
+ const InputLabelClassName = 'lumx-input-label';
1508
+ const CLASSNAME$19 = InputLabelClassName;
1509
+ const {
1510
+ block: block$_
1511
+ } = bem(CLASSNAME$19);
1512
+ const DEFAULT_PROPS$Z = {};
1513
+
1514
+ /**
1515
+ * InputLabel component.
1516
+ */
1517
+ function InputLabel$1(props) {
1518
+ const {
1519
+ children,
1520
+ className,
1521
+ htmlFor,
1522
+ isRequired,
1523
+ theme,
1524
+ typography: typography$1,
1525
+ ref,
1526
+ ...forwardedProps
1527
+ } = props;
1528
+ return /*#__PURE__*/jsx("label", {
1529
+ ref: ref,
1530
+ ...forwardedProps,
1531
+ htmlFor: htmlFor,
1532
+ className: classnames(className, block$_({
1533
+ 'is-required': isRequired,
1534
+ [`theme-${theme}`]: Boolean(theme),
1535
+ 'has-custom-typography': Boolean(typography$1)
1536
+ }), typography$1 && typography(typography$1)),
1537
+ children: children
1538
+ });
1539
+ }
1540
+ InputLabel$1.displayName = COMPONENT_NAME$1a;
1541
+ InputLabel$1.className = CLASSNAME$19;
1542
+ InputLabel$1.defaultProps = DEFAULT_PROPS$Z;
1543
+
1544
+ const INPUT_HELPER_CONFIGURATION = {
1545
+ [Kind.error]: {
1546
+ color: 'red'
1547
+ },
1548
+ [Kind.success]: {
1549
+ color: 'green'
1550
+ },
1551
+ [Kind.warning]: {
1552
+ color: 'yellow'
1553
+ }
1554
+ };
1555
+
1556
+ const COMPONENT_NAME$19 = 'InputHelper';
1557
+ const InputHelperClassName = 'lumx-input-helper';
1558
+
1559
+ /**
1560
+ * Defines the props of the component.
1561
+ */
1562
+
1563
+ const CLASSNAME$18 = InputHelperClassName;
1564
+ const {
1565
+ block: block$Z
1566
+ } = bem(CLASSNAME$18);
1567
+
1568
+ /**
1569
+ * Component default props.
1570
+ */
1571
+ const DEFAULT_PROPS$Y = {
1572
+ kind: Kind.info
1573
+ };
1574
+
1575
+ /**
1576
+ * InputHelper component.
1577
+ */
1578
+ function InputHelper$1(props) {
1579
+ const {
1580
+ children,
1581
+ className,
1582
+ kind = DEFAULT_PROPS$Y.kind,
1583
+ theme,
1584
+ ref,
1585
+ ...forwardedProps
1586
+ } = props;
1587
+ const {
1588
+ color
1589
+ } = INPUT_HELPER_CONFIGURATION[kind] || {};
1590
+ return /*#__PURE__*/jsx("p", {
1591
+ ref: ref,
1592
+ ...forwardedProps,
1593
+ className: classnames(className, block$Z({
1594
+ [`color-${color}`]: Boolean(color),
1595
+ [`theme-${theme}`]: Boolean(theme)
1596
+ })),
1597
+ children: children
1598
+ });
1599
+ }
1600
+ InputHelper$1.displayName = COMPONENT_NAME$19;
1601
+ InputHelper$1.className = CLASSNAME$18;
1602
+ InputHelper$1.defaultProps = DEFAULT_PROPS$Y;
1603
+
1505
1604
  const INTERMEDIATE_STATE = 'intermediate';
1506
1605
 
1507
1606
  /**
@@ -1511,36 +1610,24 @@ const INTERMEDIATE_STATE = 'intermediate';
1511
1610
  /**
1512
1611
  * Component display name.
1513
1612
  */
1514
- const COMPONENT_NAME$1a = 'Checkbox';
1613
+ const COMPONENT_NAME$18 = 'Checkbox';
1515
1614
 
1516
1615
  /**
1517
1616
  * Component default class name and class prefix.
1518
1617
  */
1519
- const CLASSNAME$18 = 'lumx-checkbox';
1618
+ const CLASSNAME$17 = 'lumx-checkbox';
1520
1619
  const {
1521
- block: block$Z,
1522
- element: element$J
1523
- } = classNames.bem(CLASSNAME$18);
1524
-
1525
- /**
1526
- * Component default props.
1527
- */
1528
- const DEFAULT_PROPS$Z = {};
1620
+ block: block$Y,
1621
+ element: element$K
1622
+ } = bem(CLASSNAME$17);
1529
1623
 
1530
1624
  /**
1531
1625
  * Checkbox component.
1532
1626
  *
1533
1627
  * @param props Component props.
1534
- * @param ref Component ref.
1535
- * @return React element.
1628
+ * @return JSX element.
1536
1629
  */
1537
- const Checkbox = forwardRef((props, ref) => {
1538
- const {
1539
- isAnyDisabled,
1540
- disabledStateProps,
1541
- otherProps
1542
- } = useDisableStateProps(props);
1543
- const defaultTheme = useTheme() || Theme$1.light;
1630
+ const Checkbox$1 = props => {
1544
1631
  const {
1545
1632
  checked,
1546
1633
  className,
@@ -1550,81 +1637,146 @@ const Checkbox = forwardRef((props, ref) => {
1550
1637
  isChecked = checked,
1551
1638
  label,
1552
1639
  name,
1640
+ ref,
1553
1641
  onChange,
1554
- theme = defaultTheme,
1642
+ theme,
1555
1643
  value,
1556
1644
  inputProps = {},
1645
+ isDisabled,
1646
+ inputId,
1557
1647
  ...forwardedProps
1558
- } = otherProps;
1559
- const localInputRef = React__default.useRef(null);
1560
- const generatedInputId = useId();
1561
- const inputId = id || generatedInputId;
1648
+ } = props;
1649
+ const intermediateState = isChecked === INTERMEDIATE_STATE;
1562
1650
  const handleChange = event => {
1563
1651
  if (onChange) {
1564
1652
  onChange(!isChecked, value, name, event);
1565
1653
  }
1566
1654
  };
1567
- const intermediateState = isChecked === INTERMEDIATE_STATE;
1568
- React__default.useEffect(() => {
1569
- const input = localInputRef.current;
1570
- if (input) input.indeterminate = intermediateState;
1571
- }, [intermediateState]);
1572
1655
  return /*#__PURE__*/jsxs("div", {
1573
1656
  ref: ref,
1574
1657
  ...forwardedProps,
1575
- className: classNames.join(className, block$Z({
1658
+ className: classnames(className, block$Y({
1576
1659
  // Whether state is intermediate class name will "-checked"
1577
1660
  'is-checked': intermediateState ? true : isChecked,
1578
- 'is-disabled': isAnyDisabled,
1661
+ 'is-disabled': isDisabled,
1579
1662
  'is-unchecked': !isChecked,
1580
1663
  [`theme-${theme}`]: Boolean(theme)
1581
1664
  })),
1582
1665
  children: [/*#__PURE__*/jsxs("div", {
1583
- className: element$J('input-wrapper'),
1666
+ className: element$K('input-wrapper'),
1584
1667
  children: [/*#__PURE__*/jsx("input", {
1585
- ref: useMergeRefs(inputRef, localInputRef),
1668
+ ref: inputRef,
1586
1669
  type: "checkbox",
1587
1670
  id: inputId,
1588
- className: element$J('input-native'),
1589
- ...disabledStateProps,
1671
+ className: element$K('input-native'),
1590
1672
  name: name,
1591
1673
  value: value,
1592
1674
  checked: isChecked,
1593
1675
  onChange: handleChange,
1594
1676
  "aria-describedby": helper ? `${inputId}-helper` : undefined,
1595
1677
  "aria-checked": intermediateState ? 'mixed' : Boolean(isChecked),
1596
- readOnly: inputProps.readOnly || disabledStateProps['aria-disabled'],
1678
+ ...(inputProps?.readOnly ? {
1679
+ readOnly: inputProps.readOnly
1680
+ } : {}),
1597
1681
  ...inputProps
1598
1682
  }), /*#__PURE__*/jsxs("div", {
1599
- className: element$J('input-placeholder'),
1683
+ className: element$K('input-placeholder'),
1600
1684
  children: [/*#__PURE__*/jsx("div", {
1601
- className: element$J('input-background')
1685
+ className: element$K('input-background')
1602
1686
  }), /*#__PURE__*/jsx("div", {
1603
- className: element$J('input-indicator'),
1604
- children: /*#__PURE__*/jsx(Icon, {
1687
+ className: element$K('input-indicator'),
1688
+ children: Icon$1({
1605
1689
  icon: intermediateState ? mdiMinus : mdiCheck
1606
1690
  })
1607
1691
  })]
1608
1692
  })]
1609
1693
  }), /*#__PURE__*/jsxs("div", {
1610
- className: element$J('content'),
1611
- children: [label && /*#__PURE__*/jsx(InputLabel, {
1694
+ className: element$K('content'),
1695
+ children: [label && InputLabel$1({
1612
1696
  htmlFor: inputId,
1613
- className: element$J('label'),
1614
- theme: theme,
1697
+ className: element$K('label'),
1698
+ theme,
1615
1699
  children: label
1616
- }), helper && /*#__PURE__*/jsx(InputHelper, {
1700
+ }), helper && InputHelper$1({
1617
1701
  id: `${inputId}-helper`,
1618
- className: element$J('helper'),
1619
- theme: theme,
1702
+ className: element$K('helper'),
1703
+ theme,
1620
1704
  children: helper
1621
1705
  })]
1622
1706
  })]
1623
1707
  });
1708
+ };
1709
+
1710
+ /**
1711
+ * Defines the props of the component.
1712
+ */
1713
+
1714
+ /**
1715
+ * Component default props.
1716
+ */
1717
+ const DEFAULT_PROPS$X = {};
1718
+
1719
+ /**
1720
+ * Checkbox component.
1721
+ *
1722
+ * @param props Component props.
1723
+ * @param ref Component ref.
1724
+ * @return React element.
1725
+ */
1726
+ const Checkbox = forwardRef((props, ref) => {
1727
+ const {
1728
+ isAnyDisabled,
1729
+ disabledStateProps,
1730
+ otherProps
1731
+ } = useDisableStateProps(props);
1732
+ const defaultTheme = useTheme() || Theme$1.light;
1733
+ const {
1734
+ checked,
1735
+ className,
1736
+ helper,
1737
+ id,
1738
+ inputRef,
1739
+ isChecked = checked,
1740
+ label,
1741
+ name,
1742
+ onChange,
1743
+ theme = defaultTheme,
1744
+ value,
1745
+ inputProps = {},
1746
+ ...forwardedProps
1747
+ } = otherProps;
1748
+ const localInputRef = React__default.useRef(null);
1749
+ const generatedInputId = useId();
1750
+ const inputId = id || generatedInputId;
1751
+ const intermediateState = isChecked === INTERMEDIATE_STATE;
1752
+ React__default.useEffect(() => {
1753
+ const input = localInputRef.current;
1754
+ if (input) input.indeterminate = intermediateState;
1755
+ }, [intermediateState]);
1756
+ return Checkbox$1({
1757
+ ref,
1758
+ className,
1759
+ helper,
1760
+ inputRef: useMergeRefs(inputRef, localInputRef),
1761
+ isChecked,
1762
+ label,
1763
+ name,
1764
+ onChange,
1765
+ theme,
1766
+ value,
1767
+ inputProps: {
1768
+ ...inputProps,
1769
+ ...disabledStateProps,
1770
+ readOnly: inputProps.readOnly || disabledStateProps['aria-disabled']
1771
+ },
1772
+ ...forwardedProps,
1773
+ isDisabled: isAnyDisabled,
1774
+ inputId
1775
+ });
1624
1776
  });
1625
- Checkbox.displayName = COMPONENT_NAME$1a;
1626
- Checkbox.className = CLASSNAME$18;
1627
- Checkbox.defaultProps = DEFAULT_PROPS$Z;
1777
+ Checkbox.displayName = COMPONENT_NAME$18;
1778
+ Checkbox.className = CLASSNAME$17;
1779
+ Checkbox.defaultProps = DEFAULT_PROPS$X;
1628
1780
 
1629
1781
  /**
1630
1782
  * Wrap mouse event handler to stop event propagation.
@@ -1645,21 +1797,21 @@ function useStopPropagation(handler) {
1645
1797
  /**
1646
1798
  * Component display name.
1647
1799
  */
1648
- const COMPONENT_NAME$19 = 'Chip';
1800
+ const COMPONENT_NAME$17 = 'Chip';
1649
1801
 
1650
1802
  /**
1651
1803
  * Component default class name and class prefix.
1652
1804
  */
1653
- const CLASSNAME$17 = 'lumx-chip';
1805
+ const CLASSNAME$16 = 'lumx-chip';
1654
1806
  const {
1655
- block: block$Y,
1656
- element: element$I
1657
- } = classNames.bem(CLASSNAME$17);
1807
+ block: block$X,
1808
+ element: element$J
1809
+ } = classNames.bem(CLASSNAME$16);
1658
1810
 
1659
1811
  /**
1660
1812
  * Component default props.
1661
1813
  */
1662
- const DEFAULT_PROPS$Y = {
1814
+ const DEFAULT_PROPS$W = {
1663
1815
  size: Size$1.m
1664
1816
  };
1665
1817
 
@@ -1689,7 +1841,7 @@ const Chip = forwardRef((props, ref) => {
1689
1841
  onAfterClick,
1690
1842
  onBeforeClick,
1691
1843
  onClick,
1692
- size = DEFAULT_PROPS$Y.size,
1844
+ size = DEFAULT_PROPS$W.size,
1693
1845
  theme = defaultTheme,
1694
1846
  href,
1695
1847
  onKeyDown,
@@ -1720,7 +1872,7 @@ const Chip = forwardRef((props, ref) => {
1720
1872
  ...forwardedProps,
1721
1873
  href: !disabledStateProps.disabled ? href : undefined,
1722
1874
  ref: ref,
1723
- className: classNames.join(className, block$Y({
1875
+ className: classNames.join(className, block$X({
1724
1876
  'is-clickable': isClickable,
1725
1877
  [`color-${chipColor}`]: Boolean(chipColor),
1726
1878
  'is-disabled': isAnyDisabled,
@@ -1738,19 +1890,19 @@ const Chip = forwardRef((props, ref) => {
1738
1890
  /*#__PURE__*/
1739
1891
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
1740
1892
  jsx("div", {
1741
- className: element$I('before', {
1893
+ className: element$J('before', {
1742
1894
  'is-clickable': hasBeforeClick
1743
1895
  }),
1744
1896
  onClick: handleOnBeforeClick,
1745
1897
  children: before
1746
1898
  }), /*#__PURE__*/jsx("div", {
1747
- className: element$I('label'),
1899
+ className: element$J('label'),
1748
1900
  children: children
1749
1901
  }), after &&
1750
1902
  /*#__PURE__*/
1751
1903
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
1752
1904
  jsx("div", {
1753
- className: element$I('after', {
1905
+ className: element$J('after', {
1754
1906
  'is-clickable': hasAfterClick
1755
1907
  }),
1756
1908
  onClick: handleOnAfterClick,
@@ -1759,9 +1911,9 @@ const Chip = forwardRef((props, ref) => {
1759
1911
  })
1760
1912
  );
1761
1913
  });
1762
- Chip.displayName = COMPONENT_NAME$19;
1763
- Chip.className = CLASSNAME$17;
1764
- Chip.defaultProps = DEFAULT_PROPS$Y;
1914
+ Chip.displayName = COMPONENT_NAME$17;
1915
+ Chip.className = CLASSNAME$16;
1916
+ Chip.defaultProps = DEFAULT_PROPS$W;
1765
1917
 
1766
1918
  const INITIAL_STATE_ACTIVE_CHIP = -1;
1767
1919
 
@@ -1817,17 +1969,17 @@ const useChipGroupNavigation = (chips, onChipDeleted, initialActiveChip = INITIA
1817
1969
  /**
1818
1970
  * Component default props.
1819
1971
  */
1820
- const DEFAULT_PROPS$X = {};
1972
+ const DEFAULT_PROPS$V = {};
1821
1973
 
1822
1974
  /**
1823
1975
  * Component display name.
1824
1976
  */
1825
- const COMPONENT_NAME$18 = 'ChipGroup';
1977
+ const COMPONENT_NAME$16 = 'ChipGroup';
1826
1978
 
1827
1979
  /**
1828
1980
  * Component default class name and class prefix.
1829
1981
  */
1830
- const CLASSNAME$16 = 'lumx-chip-group';
1982
+ const CLASSNAME$15 = 'lumx-chip-group';
1831
1983
 
1832
1984
  /**
1833
1985
  * ChipGroup component.
@@ -1846,17 +1998,195 @@ const InternalChipGroup = forwardRef((props, ref) => {
1846
1998
  return /*#__PURE__*/jsx("div", {
1847
1999
  ref: ref,
1848
2000
  ...forwardedProps,
1849
- className: classNames.join(className, CLASSNAME$16),
2001
+ className: classNames.join(className, CLASSNAME$15),
1850
2002
  children: children
1851
2003
  });
1852
2004
  });
1853
- InternalChipGroup.displayName = COMPONENT_NAME$18;
1854
- InternalChipGroup.className = CLASSNAME$16;
1855
- InternalChipGroup.defaultProps = DEFAULT_PROPS$X;
2005
+ InternalChipGroup.displayName = COMPONENT_NAME$16;
2006
+ InternalChipGroup.className = CLASSNAME$15;
2007
+ InternalChipGroup.defaultProps = DEFAULT_PROPS$V;
1856
2008
  const ChipGroup = Object.assign(InternalChipGroup, {
1857
2009
  useChipGroupNavigation
1858
2010
  });
1859
2011
 
2012
+ /**
2013
+ * Similar to `isComponent` but more precise as it's not based on the component `displayName` but on the component function reference.
2014
+ */
2015
+ const isComponentType = type => node => /*#__PURE__*/React__default.isValidElement(node) && node.type === type;
2016
+
2017
+ /**
2018
+ * Hook that enables keyboard navigation from an input field to chips.
2019
+ * When the user presses Backspace at the start of the input field (cursor at position 0),
2020
+ * it automatically focuses the last enabled chip in the list.
2021
+ *
2022
+ * @param chipRefs - Reference to an array of chip element refs
2023
+ * @param inputRef - Reference to the input element (optional)
2024
+ * @returns An object containing the `findPreviousEnabledChip` helper function
2025
+ *
2026
+ * @example
2027
+ * ```tsx
2028
+ * const chipRefs = useRef<React.RefObject<HTMLElement>[]>([]);
2029
+ * const inputRef = useRef<HTMLInputElement>(null);
2030
+ * const { findPreviousEnabledChip } = useFocusLastChipOnBackspace(chipRefs, inputRef);
2031
+ * ```
2032
+ */
2033
+ function useFocusLastChipOnBackspace(chipRefs, inputRef) {
2034
+ /**
2035
+ * Finds the previous enabled chip starting from a given index.
2036
+ * Skips chips with `aria-disabled="true"`.
2037
+ *
2038
+ * @param startIndex - The index to start searching from (defaults to last chip)
2039
+ * @returns The enabled chip element or undefined if none found
2040
+ */
2041
+ const findPreviousEnabledChip = React__default.useCallback((startIndex = null) => {
2042
+ const {
2043
+ current: chips
2044
+ } = chipRefs;
2045
+ if (!chips) {
2046
+ return undefined;
2047
+ }
2048
+ // Iterate backwards from startIndex (or last chip) to find an enabled chip
2049
+ for (let i = startIndex ?? chips.length - 1; i >= 0; i--) {
2050
+ const chip = chips[i]?.current;
2051
+ // Check if chip exists and is not disabled
2052
+ if (chip && chip?.getAttribute('aria-disabled') !== 'true') {
2053
+ return chip;
2054
+ }
2055
+ }
2056
+ return undefined;
2057
+ }, [chipRefs]);
2058
+ React__default.useEffect(() => {
2059
+ const input = inputRef?.current;
2060
+ if (!input) {
2061
+ return undefined;
2062
+ }
2063
+ const onKeyDown = evt => {
2064
+ const backspacePressed = evt.key === 'Backspace';
2065
+ const cursorAtStart = input.selectionStart === 0 && input.selectionEnd === 0;
2066
+
2067
+ // Only handle backspace when cursor is at the start of the input
2068
+ if (!backspacePressed || !cursorAtStart) {
2069
+ return;
2070
+ }
2071
+
2072
+ // Prevent default backspace behavior and event bubbling
2073
+ evt.stopPropagation();
2074
+ evt.preventDefault();
2075
+
2076
+ // Focus the last enabled chip (if any exists)
2077
+ const lastChip = findPreviousEnabledChip();
2078
+ lastChip?.focus();
2079
+ };
2080
+
2081
+ // Attach keyboard event listener
2082
+ input.addEventListener('keydown', onKeyDown);
2083
+
2084
+ // Cleanup listener on unmount
2085
+ return () => {
2086
+ input.removeEventListener('keydown', onKeyDown);
2087
+ };
2088
+ }, [inputRef, findPreviousEnabledChip]);
2089
+ return {
2090
+ findPreviousEnabledChip
2091
+ };
2092
+ }
2093
+
2094
+ /**
2095
+ * Component default class name and class prefix.
2096
+ */
2097
+ const CLASSNAME$14 = 'lumx-selection-chip-group';
2098
+ const {
2099
+ block: block$W,
2100
+ element: element$I
2101
+ } = classNames.bem(CLASSNAME$14);
2102
+
2103
+ /**
2104
+ * SelectionChipGroup component.
2105
+ *
2106
+ * @param props Component props.
2107
+ * @param ref Component ref.
2108
+ * @return React element.
2109
+ */
2110
+ const SelectionChipGroup = ({
2111
+ onChange,
2112
+ value,
2113
+ getOptionId,
2114
+ getOptionName,
2115
+ inputRef,
2116
+ inputLabel,
2117
+ renderChip,
2118
+ theme,
2119
+ isDisabled,
2120
+ chipTooltipLabel,
2121
+ label,
2122
+ ...forwardedProps
2123
+ }) => {
2124
+ const chipRefs = React__default.useRef([]);
2125
+ const {
2126
+ findPreviousEnabledChip
2127
+ } = useFocusLastChipOnBackspace(chipRefs, inputRef);
2128
+ return /*#__PURE__*/jsx(ChipGroup, {
2129
+ role: "group",
2130
+ "aria-label": label,
2131
+ className: block$W(),
2132
+ ...forwardedProps,
2133
+ children: value?.map((v, index) => {
2134
+ const name = getWithSelector(getOptionName, v);
2135
+ const id = getWithSelector(getOptionId, v);
2136
+ const onClick = () => {
2137
+ const newValue = [...value];
2138
+ const existingIndex = value.findIndex(vi => getWithSelector(getOptionId, vi) === id);
2139
+ if (existingIndex === -1) {
2140
+ return;
2141
+ }
2142
+ // Remove value
2143
+ newValue.splice(existingIndex, 1);
2144
+ onChange?.(newValue);
2145
+ };
2146
+ const onKeyDown = evt => {
2147
+ if (evt.key !== 'Backspace') {
2148
+ return;
2149
+ }
2150
+ // Activate (remove value) on Backspace pressed
2151
+ onClick();
2152
+ const previousChip = findPreviousEnabledChip(index - 1);
2153
+ const input = inputRef?.current;
2154
+ // Focus the previous chip or the input
2155
+ (previousChip || input)?.focus();
2156
+ };
2157
+ if (!chipRefs.current[index]) {
2158
+ chipRefs.current[index] = /*#__PURE__*/React__default.createRef();
2159
+ }
2160
+ const ref = chipRefs.current[index];
2161
+ const customChip = renderChip?.(v);
2162
+ const props = isComponentType(Chip)(customChip) ? customChip.props : undefined;
2163
+ const chipIsDisabled = props?.isDisabled || isDisabled;
2164
+ const chipName = typeof props?.children === 'string' ? props.children : name;
2165
+ const tooltipLabel = chipTooltipLabel(chipName);
2166
+ return /*#__PURE__*/jsx(Tooltip, {
2167
+ label: !chipIsDisabled ? tooltipLabel : undefined,
2168
+ closeMode: "hide",
2169
+ ariaLinkMode: "aria-labelledby",
2170
+ children: /*#__PURE__*/jsx(Chip, {
2171
+ ...props,
2172
+ after: /*#__PURE__*/jsx(Icon, {
2173
+ icon: mdiClose
2174
+ }),
2175
+ className: element$I('chip', [props?.className]),
2176
+ size: "s",
2177
+ ref: ref,
2178
+ onClick: onClick,
2179
+ onKeyDown: onKeyDown,
2180
+ theme: theme,
2181
+ isDisabled: chipIsDisabled,
2182
+ tabIndex: chipIsDisabled ? -1 : 0,
2183
+ children: props?.children || name
2184
+ })
2185
+ }, id);
2186
+ })
2187
+ });
2188
+ };
2189
+
1860
2190
  /**
1861
2191
  * Comment block variants.
1862
2192
  */
@@ -1872,21 +2202,21 @@ const CommentBlockVariant = {
1872
2202
  /**
1873
2203
  * Component display name.
1874
2204
  */
1875
- const COMPONENT_NAME$17 = 'CommentBlock';
2205
+ const COMPONENT_NAME$15 = 'CommentBlock';
1876
2206
 
1877
2207
  /**
1878
2208
  * Component default class name and class prefix.
1879
2209
  */
1880
- const CLASSNAME$15 = 'lumx-comment-block';
2210
+ const CLASSNAME$13 = 'lumx-comment-block';
1881
2211
  const {
1882
- block: block$X,
2212
+ block: block$V,
1883
2213
  element: element$H
1884
- } = classNames.bem(CLASSNAME$15);
2214
+ } = classNames.bem(CLASSNAME$13);
1885
2215
 
1886
2216
  /**
1887
2217
  * Component default props.
1888
2218
  */
1889
- const DEFAULT_PROPS$W = {
2219
+ const DEFAULT_PROPS$U = {
1890
2220
  variant: CommentBlockVariant.indented
1891
2221
  };
1892
2222
 
@@ -1916,13 +2246,13 @@ const CommentBlock = forwardRef((props, ref) => {
1916
2246
  onMouseLeave,
1917
2247
  text,
1918
2248
  theme = defaultTheme,
1919
- variant = DEFAULT_PROPS$W.variant,
2249
+ variant = DEFAULT_PROPS$U.variant,
1920
2250
  ...forwardedProps
1921
2251
  } = props;
1922
2252
  const hasChildren = Children.count(children) > 0;
1923
2253
  return /*#__PURE__*/jsxs("div", {
1924
2254
  ref: ref,
1925
- className: classNames.join(className, block$X({
2255
+ className: classNames.join(className, block$V({
1926
2256
  'has-children': hasChildren && isOpen,
1927
2257
  'has-indented-children': hasChildren && variant === CommentBlockVariant.indented,
1928
2258
  'has-linear-children': hasChildren && variant === CommentBlockVariant.linear,
@@ -1983,9 +2313,9 @@ const CommentBlock = forwardRef((props, ref) => {
1983
2313
  })]
1984
2314
  });
1985
2315
  });
1986
- CommentBlock.displayName = COMPONENT_NAME$17;
1987
- CommentBlock.className = CLASSNAME$15;
1988
- CommentBlock.defaultProps = DEFAULT_PROPS$W;
2316
+ CommentBlock.displayName = COMPONENT_NAME$15;
2317
+ CommentBlock.className = CLASSNAME$13;
2318
+ CommentBlock.defaultProps = DEFAULT_PROPS$U;
1989
2319
 
1990
2320
  /**
1991
2321
  * Add a number of months from a date while resetting the day to prevent month length mismatches.
@@ -2005,12 +2335,12 @@ const isDateValid = date => date instanceof Date && !Number.isNaN(date.getTime()
2005
2335
  /**
2006
2336
  * Component display name.
2007
2337
  */
2008
- const COMPONENT_NAME$16 = 'DatePicker';
2338
+ const COMPONENT_NAME$14 = 'DatePicker';
2009
2339
 
2010
2340
  /**
2011
2341
  * Component default class name and class prefix.
2012
2342
  */
2013
- const CLASSNAME$14 = 'lumx-date-picker';
2343
+ const CLASSNAME$12 = 'lumx-date-picker';
2014
2344
 
2015
2345
  /** Get first day of week for locale from the browser API */
2016
2346
  const getFromBrowser = locale => {
@@ -2230,7 +2560,7 @@ function formatDayNumber(locale, date) {
2230
2560
 
2231
2561
  const {
2232
2562
  element: element$G
2233
- } = classNames.bem(CLASSNAME$14);
2563
+ } = classNames.bem(CLASSNAME$12);
2234
2564
 
2235
2565
  /**
2236
2566
  * Defines the props of the component.
@@ -2239,7 +2569,7 @@ const {
2239
2569
  /**
2240
2570
  * Component display name.
2241
2571
  */
2242
- const COMPONENT_NAME$15 = 'DatePickerControlled';
2572
+ const COMPONENT_NAME$13 = 'DatePickerControlled';
2243
2573
 
2244
2574
  /**
2245
2575
  * DatePickerControlled component.
@@ -2324,7 +2654,7 @@ const DatePickerControlled = forwardRef((props, ref) => {
2324
2654
  const yearLabel = getYearDisplayName(locale);
2325
2655
  return /*#__PURE__*/jsxs("div", {
2326
2656
  ref: ref,
2327
- className: `${CLASSNAME$14}`,
2657
+ className: `${CLASSNAME$12}`,
2328
2658
  style: style,
2329
2659
  children: [/*#__PURE__*/jsx(Toolbar, {
2330
2660
  className: element$G('toolbar'),
@@ -2429,8 +2759,8 @@ const DatePickerControlled = forwardRef((props, ref) => {
2429
2759
  })]
2430
2760
  });
2431
2761
  });
2432
- DatePickerControlled.displayName = COMPONENT_NAME$15;
2433
- DatePickerControlled.className = CLASSNAME$14;
2762
+ DatePickerControlled.displayName = COMPONENT_NAME$13;
2763
+ DatePickerControlled.className = CLASSNAME$12;
2434
2764
 
2435
2765
  /**
2436
2766
  * DatePicker component.
@@ -2472,8 +2802,8 @@ const DatePicker = forwardRef((props, ref) => {
2472
2802
  onMonthChange: setSelectedMonth
2473
2803
  });
2474
2804
  });
2475
- DatePicker.displayName = COMPONENT_NAME$16;
2476
- DatePicker.className = CLASSNAME$14;
2805
+ DatePicker.displayName = COMPONENT_NAME$14;
2806
+ DatePicker.className = CLASSNAME$12;
2477
2807
 
2478
2808
  const useBooleanState = defaultValue => {
2479
2809
  const [booleanValue, setBoolean] = useState(defaultValue);
@@ -2486,7 +2816,7 @@ const useBooleanState = defaultValue => {
2486
2816
  /**
2487
2817
  * Component display name.
2488
2818
  */
2489
- const COMPONENT_NAME$14 = 'DatePickerField';
2819
+ const COMPONENT_NAME$12 = 'DatePickerField';
2490
2820
 
2491
2821
  /**
2492
2822
  * DatePickerField component.
@@ -2575,7 +2905,7 @@ const DatePickerField = forwardRef((props, ref) => {
2575
2905
  }) : null]
2576
2906
  });
2577
2907
  });
2578
- DatePickerField.displayName = COMPONENT_NAME$14;
2908
+ DatePickerField.displayName = COMPONENT_NAME$12;
2579
2909
 
2580
2910
  /**
2581
2911
  * Optional global `window` instance (not defined when running SSR).
@@ -2793,11 +3123,6 @@ function useIntersectionObserver(elements, options) {
2793
3123
  return intersections;
2794
3124
  }
2795
3125
 
2796
- /**
2797
- * Similar to `isComponent` but more precise as it's not based on the component `displayName` but on the component function reference.
2798
- */
2799
- const isComponentType = type => node => /*#__PURE__*/React__default.isValidElement(node) && node.type === type;
2800
-
2801
3126
  /**
2802
3127
  * Similar to lodash `partition` function but working with multiple predicates.
2803
3128
  *
@@ -3081,21 +3406,21 @@ const isFooter$1 = isComponent('footer');
3081
3406
  /**
3082
3407
  * Component display name.
3083
3408
  */
3084
- const COMPONENT_NAME$13 = 'Dialog';
3409
+ const COMPONENT_NAME$11 = 'Dialog';
3085
3410
 
3086
3411
  /**
3087
3412
  * Component default class name and class prefix.
3088
3413
  */
3089
- const CLASSNAME$13 = 'lumx-dialog';
3414
+ const CLASSNAME$11 = 'lumx-dialog';
3090
3415
  const {
3091
- block: block$W,
3416
+ block: block$U,
3092
3417
  element: element$F
3093
- } = classNames.bem(CLASSNAME$13);
3418
+ } = classNames.bem(CLASSNAME$11);
3094
3419
 
3095
3420
  /**
3096
3421
  * Component default props.
3097
3422
  */
3098
- const DEFAULT_PROPS$V = {
3423
+ const DEFAULT_PROPS$T = {
3099
3424
  size: Size$1.big,
3100
3425
  disableBodyScroll: true
3101
3426
  };
@@ -3126,11 +3451,11 @@ const Dialog = forwardRef((props, ref) => {
3126
3451
  parentElement,
3127
3452
  contentRef,
3128
3453
  preventAutoClose,
3129
- size = DEFAULT_PROPS$V.size,
3454
+ size = DEFAULT_PROPS$T.size,
3130
3455
  zIndex,
3131
3456
  dialogProps,
3132
3457
  onVisibilityChange,
3133
- disableBodyScroll = DEFAULT_PROPS$V.disableBodyScroll,
3458
+ disableBodyScroll = DEFAULT_PROPS$T.disableBodyScroll,
3134
3459
  preventCloseOnClick,
3135
3460
  preventCloseOnEscape,
3136
3461
  ...forwardedProps
@@ -3201,7 +3526,7 @@ const Dialog = forwardRef((props, ref) => {
3201
3526
  children: /*#__PURE__*/jsxs("div", {
3202
3527
  ref: mergeRefs(rootRef, ref),
3203
3528
  ...forwardedProps,
3204
- className: classNames.join(className, block$W({
3529
+ className: classNames.join(className, block$U({
3205
3530
  'is-hidden': !isOpen,
3206
3531
  'is-loading': isLoading,
3207
3532
  'is-shown': isOpen || isVisible,
@@ -3268,27 +3593,27 @@ const Dialog = forwardRef((props, ref) => {
3268
3593
  })
3269
3594
  }) : null;
3270
3595
  });
3271
- Dialog.displayName = COMPONENT_NAME$13;
3272
- Dialog.className = CLASSNAME$13;
3273
- Dialog.defaultProps = DEFAULT_PROPS$V;
3596
+ Dialog.displayName = COMPONENT_NAME$11;
3597
+ Dialog.className = CLASSNAME$11;
3598
+ Dialog.defaultProps = DEFAULT_PROPS$T;
3274
3599
 
3275
3600
  /**
3276
3601
  * Component display name.
3277
3602
  */
3278
- const COMPONENT_NAME$12 = 'Divider';
3603
+ const COMPONENT_NAME$10 = 'Divider';
3279
3604
 
3280
3605
  /**
3281
3606
  * Component default class name and class prefix.
3282
3607
  */
3283
- const CLASSNAME$12 = 'lumx-divider';
3608
+ const CLASSNAME$10 = 'lumx-divider';
3284
3609
  const {
3285
- block: block$V
3286
- } = classNames.bem(CLASSNAME$12);
3610
+ block: block$T
3611
+ } = classNames.bem(CLASSNAME$10);
3287
3612
 
3288
3613
  /**
3289
3614
  * Component default props.
3290
3615
  */
3291
- const DEFAULT_PROPS$U = {};
3616
+ const DEFAULT_PROPS$S = {};
3292
3617
 
3293
3618
  /**
3294
3619
  * Divider component.
@@ -3307,27 +3632,27 @@ const Divider = forwardRef((props, ref) => {
3307
3632
  return /*#__PURE__*/jsx("hr", {
3308
3633
  ref: ref,
3309
3634
  ...forwardedProps,
3310
- className: classNames.join(className, block$V({
3635
+ className: classNames.join(className, block$T({
3311
3636
  [`theme-${theme}`]: Boolean(theme)
3312
3637
  }))
3313
3638
  });
3314
3639
  });
3315
- Divider.displayName = COMPONENT_NAME$12;
3316
- Divider.className = CLASSNAME$12;
3317
- Divider.defaultProps = DEFAULT_PROPS$U;
3640
+ Divider.displayName = COMPONENT_NAME$10;
3641
+ Divider.className = CLASSNAME$10;
3642
+ Divider.defaultProps = DEFAULT_PROPS$S;
3318
3643
 
3319
3644
  /**
3320
3645
  * Component display name.
3321
3646
  */
3322
- const COMPONENT_NAME$11 = 'DragHandle';
3647
+ const COMPONENT_NAME$$ = 'DragHandle';
3323
3648
 
3324
3649
  /**
3325
3650
  * Component default class name and class prefix.
3326
3651
  */
3327
- const CLASSNAME$11 = 'lumx-drag-handle';
3652
+ const CLASSNAME$$ = 'lumx-drag-handle';
3328
3653
  const {
3329
- block: block$U
3330
- } = classNames.bem(CLASSNAME$11);
3654
+ block: block$S
3655
+ } = classNames.bem(CLASSNAME$$);
3331
3656
 
3332
3657
  /**
3333
3658
  * DragHandle component.
@@ -3346,7 +3671,7 @@ const DragHandle = forwardRef((props, ref) => {
3346
3671
  return /*#__PURE__*/jsx("div", {
3347
3672
  ref: ref,
3348
3673
  ...forwardedProps,
3349
- className: classNames.join(className, block$U({
3674
+ className: classNames.join(className, block$S({
3350
3675
  [`theme-${theme}`]: Boolean(theme)
3351
3676
  })),
3352
3677
  children: /*#__PURE__*/jsx(Icon, {
@@ -3356,8 +3681,8 @@ const DragHandle = forwardRef((props, ref) => {
3356
3681
  })
3357
3682
  });
3358
3683
  });
3359
- DragHandle.displayName = COMPONENT_NAME$11;
3360
- DragHandle.className = CLASSNAME$11;
3684
+ DragHandle.displayName = COMPONENT_NAME$$;
3685
+ DragHandle.className = CLASSNAME$$;
3361
3686
 
3362
3687
  const INITIAL_INDEX = -1;
3363
3688
 
@@ -3526,20 +3851,20 @@ const useKeyboardListNavigation = (items, ref, onListItemSelected, onListItemNav
3526
3851
  /**
3527
3852
  * Component display name.
3528
3853
  */
3529
- const COMPONENT_NAME$10 = 'List';
3854
+ const COMPONENT_NAME$_ = 'List';
3530
3855
 
3531
3856
  /**
3532
3857
  * Component default class name and class prefix.
3533
3858
  */
3534
- const CLASSNAME$10 = 'lumx-list';
3859
+ const CLASSNAME$_ = 'lumx-list';
3535
3860
  const {
3536
- block: block$T
3537
- } = classNames.bem(CLASSNAME$10);
3861
+ block: block$R
3862
+ } = classNames.bem(CLASSNAME$_);
3538
3863
 
3539
3864
  /**
3540
3865
  * Component default props.
3541
3866
  */
3542
- const DEFAULT_PROPS$T = {
3867
+ const DEFAULT_PROPS$R = {
3543
3868
  tabIndex: -1
3544
3869
  };
3545
3870
 
@@ -3558,13 +3883,13 @@ const InternalList = forwardRef((props, ref) => {
3558
3883
  isClickable,
3559
3884
  itemPadding,
3560
3885
  onListItemSelected,
3561
- tabIndex = DEFAULT_PROPS$T.tabIndex,
3886
+ tabIndex = DEFAULT_PROPS$R.tabIndex,
3562
3887
  ...forwardedProps
3563
3888
  } = props;
3564
3889
  const adjustedItemPadding = itemPadding ?? (isClickable ? Size$1.big : undefined);
3565
3890
  return /*#__PURE__*/jsx("ul", {
3566
3891
  ...forwardedProps,
3567
- className: classNames.join(className, block$T({
3892
+ className: classNames.join(className, block$R({
3568
3893
  [`item-padding-${adjustedItemPadding}`]: Boolean(adjustedItemPadding)
3569
3894
  })),
3570
3895
  tabIndex: tabIndex,
@@ -3572,9 +3897,9 @@ const InternalList = forwardRef((props, ref) => {
3572
3897
  children: children
3573
3898
  });
3574
3899
  });
3575
- InternalList.displayName = COMPONENT_NAME$10;
3576
- InternalList.className = CLASSNAME$10;
3577
- InternalList.defaultProps = DEFAULT_PROPS$T;
3900
+ InternalList.displayName = COMPONENT_NAME$_;
3901
+ InternalList.className = CLASSNAME$_;
3902
+ InternalList.defaultProps = DEFAULT_PROPS$R;
3578
3903
  const List = Object.assign(InternalList, {
3579
3904
  useKeyboardListNavigation
3580
3905
  });
@@ -6005,21 +6330,21 @@ function usePopoverStyle({
6005
6330
  /**
6006
6331
  * Component display name.
6007
6332
  */
6008
- const COMPONENT_NAME$$ = 'Popover';
6333
+ const COMPONENT_NAME$Z = 'Popover';
6009
6334
 
6010
6335
  /**
6011
6336
  * Component default class name and class prefix.
6012
6337
  */
6013
- const CLASSNAME$$ = 'lumx-popover';
6338
+ const CLASSNAME$Z = 'lumx-popover';
6014
6339
  const {
6015
- block: block$S,
6340
+ block: block$Q,
6016
6341
  element: element$E
6017
- } = classNames.bem(CLASSNAME$$);
6342
+ } = classNames.bem(CLASSNAME$Z);
6018
6343
 
6019
6344
  /**
6020
6345
  * Component default props.
6021
6346
  */
6022
- const DEFAULT_PROPS$S = {
6347
+ const DEFAULT_PROPS$Q = {
6023
6348
  elevation: 3,
6024
6349
  placement: Placement.AUTO,
6025
6350
  focusAnchorOnClose: true,
@@ -6036,24 +6361,24 @@ const _InnerPopover = forwardRef((props, ref) => {
6036
6361
  className,
6037
6362
  closeOnClickAway,
6038
6363
  closeOnEscape,
6039
- elevation = DEFAULT_PROPS$S.elevation,
6364
+ elevation = DEFAULT_PROPS$Q.elevation,
6040
6365
  focusElement,
6041
6366
  hasArrow,
6042
6367
  isOpen,
6043
6368
  onClose,
6044
6369
  parentElement,
6045
- usePortal = DEFAULT_PROPS$S.usePortal,
6046
- focusAnchorOnClose = DEFAULT_PROPS$S.focusAnchorOnClose,
6370
+ usePortal = DEFAULT_PROPS$Q.usePortal,
6371
+ focusAnchorOnClose = DEFAULT_PROPS$Q.focusAnchorOnClose,
6047
6372
  withFocusTrap,
6048
6373
  boundaryRef,
6049
6374
  fitToAnchorWidth,
6050
6375
  fitWithinViewportHeight,
6051
6376
  focusTrapZoneElement,
6052
6377
  offset,
6053
- placement = DEFAULT_PROPS$S.placement,
6378
+ placement = DEFAULT_PROPS$Q.placement,
6054
6379
  style,
6055
6380
  theme,
6056
- zIndex = DEFAULT_PROPS$S.zIndex,
6381
+ zIndex = DEFAULT_PROPS$Q.zIndex,
6057
6382
  ...forwardedProps
6058
6383
  } = props;
6059
6384
  const popoverRef = useRef(null);
@@ -6095,7 +6420,7 @@ const _InnerPopover = forwardRef((props, ref) => {
6095
6420
  children: /*#__PURE__*/jsxs(Component, {
6096
6421
  ...forwardedProps,
6097
6422
  ref: mergedRefs,
6098
- className: classNames.join(className, block$S({
6423
+ className: classNames.join(className, block$Q({
6099
6424
  [`theme-${theme}`]: Boolean(theme),
6100
6425
  [`elevation-${adjustedElevation}`]: Boolean(adjustedElevation),
6101
6426
  [`position-${position}`]: Boolean(position),
@@ -6125,7 +6450,7 @@ const _InnerPopover = forwardRef((props, ref) => {
6125
6450
  })
6126
6451
  }) : null;
6127
6452
  });
6128
- _InnerPopover.displayName = COMPONENT_NAME$$;
6453
+ _InnerPopover.displayName = COMPONENT_NAME$Z;
6129
6454
 
6130
6455
  /**
6131
6456
  * Popover component.
@@ -6137,9 +6462,9 @@ _InnerPopover.displayName = COMPONENT_NAME$$;
6137
6462
  const Popover = skipRender(
6138
6463
  // Skip render in SSR
6139
6464
  () => Boolean(DOCUMENT), _InnerPopover);
6140
- Popover.displayName = COMPONENT_NAME$$;
6141
- Popover.className = CLASSNAME$$;
6142
- Popover.defaultProps = DEFAULT_PROPS$S;
6465
+ Popover.displayName = COMPONENT_NAME$Z;
6466
+ Popover.className = CLASSNAME$Z;
6467
+ Popover.defaultProps = DEFAULT_PROPS$Q;
6143
6468
 
6144
6469
  // The error margin in px we want to have for triggering infinite scroll
6145
6470
  const SCROLL_TRIGGER_MARGIN = 5;
@@ -6185,21 +6510,21 @@ const useInfiniteScroll = (ref, callback, callbackOnMount = false, scrollTrigger
6185
6510
  /**
6186
6511
  * Component display name.
6187
6512
  */
6188
- const COMPONENT_NAME$_ = 'Dropdown';
6513
+ const COMPONENT_NAME$Y = 'Dropdown';
6189
6514
 
6190
6515
  /**
6191
6516
  * Component default class name and class prefix.
6192
6517
  */
6193
- const CLASSNAME$_ = 'lumx-dropdown';
6518
+ const CLASSNAME$Y = 'lumx-dropdown';
6194
6519
  const {
6195
- block: block$R,
6520
+ block: block$P,
6196
6521
  element: element$D
6197
- } = classNames.bem(CLASSNAME$_);
6522
+ } = classNames.bem(CLASSNAME$Y);
6198
6523
 
6199
6524
  /**
6200
6525
  * Component default props.
6201
6526
  */
6202
- const DEFAULT_PROPS$R = {
6527
+ const DEFAULT_PROPS$P = {
6203
6528
  closeOnClick: true,
6204
6529
  closeOnClickAway: true,
6205
6530
  closeOnEscape: true,
@@ -6222,18 +6547,18 @@ const Dropdown = forwardRef((props, ref) => {
6222
6547
  anchorRef,
6223
6548
  children,
6224
6549
  className,
6225
- closeOnClick = DEFAULT_PROPS$R.closeOnClick,
6226
- closeOnClickAway = DEFAULT_PROPS$R.closeOnClickAway,
6227
- closeOnEscape = DEFAULT_PROPS$R.closeOnEscape,
6228
- fitToAnchorWidth = DEFAULT_PROPS$R.fitToAnchorWidth,
6229
- fitWithinViewportHeight = DEFAULT_PROPS$R.fitWithinViewportHeight,
6550
+ closeOnClick = DEFAULT_PROPS$P.closeOnClick,
6551
+ closeOnClickAway = DEFAULT_PROPS$P.closeOnClickAway,
6552
+ closeOnEscape = DEFAULT_PROPS$P.closeOnEscape,
6553
+ fitToAnchorWidth = DEFAULT_PROPS$P.fitToAnchorWidth,
6554
+ fitWithinViewportHeight = DEFAULT_PROPS$P.fitWithinViewportHeight,
6230
6555
  isOpen,
6231
6556
  offset,
6232
- focusAnchorOnClose = DEFAULT_PROPS$R.focusAnchorOnClose,
6557
+ focusAnchorOnClose = DEFAULT_PROPS$P.focusAnchorOnClose,
6233
6558
  onClose,
6234
6559
  onInfiniteScroll,
6235
- placement = DEFAULT_PROPS$R.placement,
6236
- shouldFocusOnOpen = DEFAULT_PROPS$R.shouldFocusOnOpen,
6560
+ placement = DEFAULT_PROPS$P.placement,
6561
+ shouldFocusOnOpen = DEFAULT_PROPS$P.shouldFocusOnOpen,
6237
6562
  zIndex,
6238
6563
  ...forwardedProps
6239
6564
  } = props;
@@ -6258,7 +6583,7 @@ const Dropdown = forwardRef((props, ref) => {
6258
6583
  ...forwardedProps,
6259
6584
  focusAnchorOnClose: focusAnchorOnClose,
6260
6585
  anchorRef: anchorRef,
6261
- className: classNames.join(className, block$R()),
6586
+ className: classNames.join(className, block$P()),
6262
6587
  elevation: 0,
6263
6588
  closeOnClickAway: closeOnClickAway,
6264
6589
  closeOnEscape: closeOnEscape,
@@ -6277,28 +6602,28 @@ const Dropdown = forwardRef((props, ref) => {
6277
6602
  })
6278
6603
  }) : null;
6279
6604
  });
6280
- Dropdown.displayName = COMPONENT_NAME$_;
6281
- Dropdown.className = CLASSNAME$_;
6282
- Dropdown.defaultProps = DEFAULT_PROPS$R;
6605
+ Dropdown.displayName = COMPONENT_NAME$Y;
6606
+ Dropdown.className = CLASSNAME$Y;
6607
+ Dropdown.defaultProps = DEFAULT_PROPS$P;
6283
6608
 
6284
6609
  /**
6285
6610
  * Component display name.
6286
6611
  */
6287
- const COMPONENT_NAME$Z = 'ExpansionPanel';
6612
+ const COMPONENT_NAME$X = 'ExpansionPanel';
6288
6613
 
6289
6614
  /**
6290
6615
  * Component default class name and class prefix.
6291
6616
  */
6292
- const CLASSNAME$Z = 'lumx-expansion-panel';
6617
+ const CLASSNAME$X = 'lumx-expansion-panel';
6293
6618
  const {
6294
- block: block$Q,
6619
+ block: block$O,
6295
6620
  element: element$C
6296
- } = classNames.bem(CLASSNAME$Z);
6621
+ } = classNames.bem(CLASSNAME$X);
6297
6622
 
6298
6623
  /**
6299
6624
  * Component default props.
6300
6625
  */
6301
- const DEFAULT_PROPS$Q = {
6626
+ const DEFAULT_PROPS$O = {
6302
6627
  closeMode: 'unmount'
6303
6628
  };
6304
6629
  const isDragHandle = isComponent(DragHandle);
@@ -6316,7 +6641,7 @@ const ExpansionPanel = forwardRef((props, ref) => {
6316
6641
  const defaultTheme = useTheme() || Theme$1.light;
6317
6642
  const {
6318
6643
  className,
6319
- closeMode = DEFAULT_PROPS$Q.closeMode,
6644
+ closeMode = DEFAULT_PROPS$O.closeMode,
6320
6645
  children: anyChildren,
6321
6646
  hasBackground,
6322
6647
  hasHeaderDivider,
@@ -6353,7 +6678,7 @@ const ExpansionPanel = forwardRef((props, ref) => {
6353
6678
  }
6354
6679
  };
6355
6680
  const color = theme === Theme$1.dark ? ColorPalette$1.light : ColorPalette$1.dark;
6356
- const rootClassName = classNames.join(className, block$Q({
6681
+ const rootClassName = classNames.join(className, block$O({
6357
6682
  'has-background': hasBackground,
6358
6683
  'has-header': Boolean(!isEmpty(headerProps.children)),
6359
6684
  'has-header-divider': hasHeaderDivider,
@@ -6431,17 +6756,17 @@ const ExpansionPanel = forwardRef((props, ref) => {
6431
6756
  })]
6432
6757
  });
6433
6758
  });
6434
- ExpansionPanel.displayName = COMPONENT_NAME$Z;
6435
- ExpansionPanel.className = CLASSNAME$Z;
6436
- ExpansionPanel.defaultProps = DEFAULT_PROPS$Q;
6759
+ ExpansionPanel.displayName = COMPONENT_NAME$X;
6760
+ ExpansionPanel.className = CLASSNAME$X;
6761
+ ExpansionPanel.defaultProps = DEFAULT_PROPS$O;
6437
6762
 
6438
- const COMPONENT_NAME$Y = 'Flag';
6439
- const CLASSNAME$Y = 'lumx-flag';
6440
- const DEFAULT_PROPS$P = {};
6763
+ const COMPONENT_NAME$W = 'Flag';
6764
+ const CLASSNAME$W = 'lumx-flag';
6765
+ const DEFAULT_PROPS$N = {};
6441
6766
  const {
6442
- block: block$P,
6767
+ block: block$N,
6443
6768
  element: element$B
6444
- } = bem(CLASSNAME$Y);
6769
+ } = bem(CLASSNAME$W);
6445
6770
 
6446
6771
  /**
6447
6772
  * Flag component.
@@ -6464,7 +6789,7 @@ const Flag$1 = props => {
6464
6789
  const isTruncated = !!truncate;
6465
6790
  return /*#__PURE__*/jsxs("div", {
6466
6791
  ...forwardedProps,
6467
- className: classnames(className, block$P({
6792
+ className: classnames(className, block$N({
6468
6793
  [`color-${flagColor}`]: Boolean(flagColor),
6469
6794
  'is-truncated': isTruncated
6470
6795
  })),
@@ -6499,9 +6824,9 @@ const Flag = forwardRef((props, ref) => {
6499
6824
  Text
6500
6825
  });
6501
6826
  });
6502
- Flag.displayName = COMPONENT_NAME$Y;
6503
- Flag.className = CLASSNAME$Y;
6504
- Flag.defaultProps = DEFAULT_PROPS$P;
6827
+ Flag.displayName = COMPONENT_NAME$W;
6828
+ Flag.className = CLASSNAME$W;
6829
+ Flag.defaultProps = DEFAULT_PROPS$N;
6505
6830
 
6506
6831
  /**
6507
6832
  * Defines the props of the component.
@@ -6510,15 +6835,15 @@ Flag.defaultProps = DEFAULT_PROPS$P;
6510
6835
  /**
6511
6836
  * Component display name.
6512
6837
  */
6513
- const COMPONENT_NAME$X = 'FlexBox';
6838
+ const COMPONENT_NAME$V = 'FlexBox';
6514
6839
 
6515
6840
  /**
6516
6841
  * Component default class name and class prefix.
6517
6842
  */
6518
- const CLASSNAME$X = 'lumx-flex-box';
6843
+ const CLASSNAME$V = 'lumx-flex-box';
6519
6844
  const {
6520
- block: block$O
6521
- } = bem(CLASSNAME$X);
6845
+ block: block$M
6846
+ } = bem(CLASSNAME$V);
6522
6847
 
6523
6848
  /**
6524
6849
  * Get FlexBox component props (className computation).
@@ -6542,7 +6867,7 @@ function getFlexBoxProps(props) {
6542
6867
  const adjustedOrientation = orientation ?? (wrap || hAlign || vAlign ? Orientation.horizontal : null);
6543
6868
  return {
6544
6869
  ...forwardedProps,
6545
- className: classnames(className, block$O({
6870
+ className: classnames(className, block$M({
6546
6871
  [`orientation-${adjustedOrientation}`]: Boolean(adjustedOrientation),
6547
6872
  [`v-align-${vAlign}`]: Boolean(vAlign),
6548
6873
  [`h-align-${hAlign}`]: Boolean(hAlign),
@@ -6574,27 +6899,27 @@ const FlexBox = forwardRef((props, ref) => {
6574
6899
  children: children
6575
6900
  });
6576
6901
  });
6577
- FlexBox.displayName = COMPONENT_NAME$X;
6578
- FlexBox.className = CLASSNAME$X;
6902
+ FlexBox.displayName = COMPONENT_NAME$V;
6903
+ FlexBox.className = CLASSNAME$V;
6579
6904
 
6580
6905
  /**
6581
6906
  * Component display name.
6582
6907
  */
6583
- const COMPONENT_NAME$W = 'GenericBlock';
6908
+ const COMPONENT_NAME$U = 'GenericBlock';
6584
6909
 
6585
6910
  /**
6586
6911
  * Component default class name and class prefix.
6587
6912
  */
6588
- const CLASSNAME$W = 'lumx-generic-block';
6913
+ const CLASSNAME$U = 'lumx-generic-block';
6589
6914
  const {
6590
- block: block$N,
6915
+ block: block$L,
6591
6916
  element: element$A
6592
- } = classNames.bem(CLASSNAME$W);
6917
+ } = classNames.bem(CLASSNAME$U);
6593
6918
 
6594
6919
  /**
6595
6920
  * Component default props.
6596
6921
  */
6597
- const DEFAULT_PROPS$O = {
6922
+ const DEFAULT_PROPS$M = {
6598
6923
  gap: Size$1.big,
6599
6924
  orientation: Orientation$1.horizontal
6600
6925
  };
@@ -6624,8 +6949,8 @@ const BaseGenericBlock = forwardRef((props, ref) => {
6624
6949
  children,
6625
6950
  actions,
6626
6951
  actionsProps,
6627
- gap = DEFAULT_PROPS$O.gap,
6628
- orientation = DEFAULT_PROPS$O.orientation,
6952
+ gap = DEFAULT_PROPS$M.gap,
6953
+ orientation = DEFAULT_PROPS$M.orientation,
6629
6954
  contentProps,
6630
6955
  ...forwardedProps
6631
6956
  } = props;
@@ -6644,7 +6969,7 @@ const BaseGenericBlock = forwardRef((props, ref) => {
6644
6969
  }, [children]);
6645
6970
  return /*#__PURE__*/jsxs(FlexBox, {
6646
6971
  ref: ref,
6647
- className: classNames.join(className, block$N()),
6972
+ className: classNames.join(className, block$L()),
6648
6973
  gap: gap,
6649
6974
  orientation: orientation,
6650
6975
  ...forwardedProps,
@@ -6677,9 +7002,9 @@ const BaseGenericBlock = forwardRef((props, ref) => {
6677
7002
  })]
6678
7003
  });
6679
7004
  });
6680
- BaseGenericBlock.displayName = COMPONENT_NAME$W;
6681
- BaseGenericBlock.className = CLASSNAME$W;
6682
- BaseGenericBlock.defaultProps = DEFAULT_PROPS$O;
7005
+ BaseGenericBlock.displayName = COMPONENT_NAME$U;
7006
+ BaseGenericBlock.className = CLASSNAME$U;
7007
+ BaseGenericBlock.defaultProps = DEFAULT_PROPS$M;
6683
7008
  const GenericBlock = Object.assign(BaseGenericBlock, {
6684
7009
  Figure,
6685
7010
  Content,
@@ -6717,17 +7042,17 @@ const defaultContext = {
6717
7042
  /**
6718
7043
  * Component display name.
6719
7044
  */
6720
- const COMPONENT_NAME$V = 'Heading';
7045
+ const COMPONENT_NAME$T = 'Heading';
6721
7046
 
6722
7047
  /**
6723
7048
  * Component default class name and class prefix.
6724
7049
  */
6725
- const CLASSNAME$V = 'lumx-heading';
7050
+ const CLASSNAME$T = 'lumx-heading';
6726
7051
 
6727
7052
  /**
6728
7053
  * Component default props.
6729
7054
  */
6730
- const DEFAULT_PROPS$N = {};
7055
+ const DEFAULT_PROPS$L = {};
6731
7056
 
6732
7057
  /**
6733
7058
  * Get Heading component common props
@@ -6747,7 +7072,7 @@ const getHeadingProps = (props, contextHeadingElement) => {
6747
7072
  return {
6748
7073
  ...otherProps,
6749
7074
  as: computedHeadingElement,
6750
- className: classnames(className, CLASSNAME$V),
7075
+ className: classnames(className, CLASSNAME$T),
6751
7076
  typography: typography || DEFAULT_TYPOGRAPHY_BY_LEVEL[computedHeadingElement]
6752
7077
  };
6753
7078
  };
@@ -6815,20 +7140,20 @@ function wrapChildrenIconWithSpaces(children) {
6815
7140
  /**
6816
7141
  * Component display name.
6817
7142
  */
6818
- const COMPONENT_NAME$U = 'Text';
7143
+ const COMPONENT_NAME$S = 'Text';
6819
7144
 
6820
7145
  /**
6821
7146
  * Component default class name and class prefix.
6822
7147
  */
6823
- const CLASSNAME$U = 'lumx-text';
7148
+ const CLASSNAME$S = 'lumx-text';
6824
7149
  const {
6825
- block: block$M
6826
- } = bem(CLASSNAME$U);
7150
+ block: block$K
7151
+ } = bem(CLASSNAME$S);
6827
7152
 
6828
7153
  /**
6829
7154
  * Component default props.
6830
7155
  */
6831
- const DEFAULT_PROPS$M = {};
7156
+ const DEFAULT_PROPS$K = {};
6832
7157
 
6833
7158
  /**
6834
7159
  * Text component common props
@@ -6864,7 +7189,7 @@ const getTextProps = props => {
6864
7189
  '--lumx-text-white-space': whiteSpace
6865
7190
  };
6866
7191
  return {
6867
- className: classnames(className, block$M({
7192
+ className: classnames(className, block$K({
6868
7193
  'is-truncated': isTruncated && !isTruncatedMultiline,
6869
7194
  'is-truncated-multiline': isTruncatedMultiline,
6870
7195
  'no-wrap': noWrap
@@ -6913,9 +7238,9 @@ const Text = forwardRef((props, ref) => {
6913
7238
  children: wrapChildrenIconWithSpaces(children)
6914
7239
  });
6915
7240
  });
6916
- Text.displayName = COMPONENT_NAME$U;
6917
- Text.className = CLASSNAME$U;
6918
- Text.defaultProps = DEFAULT_PROPS$M;
7241
+ Text.displayName = COMPONENT_NAME$S;
7242
+ Text.className = CLASSNAME$S;
7243
+ Text.defaultProps = DEFAULT_PROPS$K;
6919
7244
 
6920
7245
  const HeadingLevelContext = /*#__PURE__*/createContext(defaultContext);
6921
7246
 
@@ -6950,9 +7275,9 @@ const Heading = forwardRef((props, ref) => {
6950
7275
  children: children
6951
7276
  });
6952
7277
  });
6953
- Heading.displayName = COMPONENT_NAME$V;
6954
- Heading.className = CLASSNAME$V;
6955
- Heading.defaultProps = DEFAULT_PROPS$N;
7278
+ Heading.displayName = COMPONENT_NAME$T;
7279
+ Heading.className = CLASSNAME$T;
7280
+ Heading.defaultProps = DEFAULT_PROPS$L;
6956
7281
 
6957
7282
  /**
6958
7283
  * Computes the next heading level based on the optional prop level or the parent context level.
@@ -6990,20 +7315,20 @@ const HeadingLevelProvider = ({
6990
7315
  /**
6991
7316
  * Component display name.
6992
7317
  */
6993
- const COMPONENT_NAME$T = 'Grid';
7318
+ const COMPONENT_NAME$R = 'Grid';
6994
7319
 
6995
7320
  /**
6996
7321
  * Component default class name and class prefix.
6997
7322
  */
6998
- const CLASSNAME$T = 'lumx-grid';
7323
+ const CLASSNAME$R = 'lumx-grid';
6999
7324
  const {
7000
- block: block$L
7001
- } = classNames.bem(CLASSNAME$T);
7325
+ block: block$J
7326
+ } = classNames.bem(CLASSNAME$R);
7002
7327
 
7003
7328
  /**
7004
7329
  * Component default props.
7005
7330
  */
7006
- const DEFAULT_PROPS$L = {
7331
+ const DEFAULT_PROPS$J = {
7007
7332
  orientation: Orientation$1.horizontal,
7008
7333
  wrap: 'nowrap'
7009
7334
  };
@@ -7021,15 +7346,15 @@ const Grid = forwardRef((props, ref) => {
7021
7346
  className,
7022
7347
  gutter,
7023
7348
  hAlign,
7024
- orientation = DEFAULT_PROPS$L.orientation,
7349
+ orientation = DEFAULT_PROPS$J.orientation,
7025
7350
  vAlign,
7026
- wrap = DEFAULT_PROPS$L.wrap,
7351
+ wrap = DEFAULT_PROPS$J.wrap,
7027
7352
  ...forwardedProps
7028
7353
  } = props;
7029
7354
  return /*#__PURE__*/jsx("div", {
7030
7355
  ref: ref,
7031
7356
  ...forwardedProps,
7032
- className: classNames.join(className, classNames.bem(`${CLASSNAME$T}-container`).block(), block$L({
7357
+ className: classNames.join(className, classNames.bem(`${CLASSNAME$R}-container`).block(), block$J({
7033
7358
  [`h-align-${hAlign}`]: Boolean(hAlign),
7034
7359
  [`v-align-${vAlign}`]: Boolean(vAlign),
7035
7360
  [`orientation-${orientation}`]: Boolean(orientation),
@@ -7039,22 +7364,22 @@ const Grid = forwardRef((props, ref) => {
7039
7364
  children: children
7040
7365
  });
7041
7366
  });
7042
- Grid.displayName = COMPONENT_NAME$T;
7043
- Grid.className = CLASSNAME$T;
7044
- Grid.defaultProps = DEFAULT_PROPS$L;
7367
+ Grid.displayName = COMPONENT_NAME$R;
7368
+ Grid.className = CLASSNAME$R;
7369
+ Grid.defaultProps = DEFAULT_PROPS$J;
7045
7370
 
7046
7371
  /**
7047
7372
  * Component display name.
7048
7373
  */
7049
- const COMPONENT_NAME$S = 'GridItem';
7374
+ const COMPONENT_NAME$Q = 'GridItem';
7050
7375
 
7051
7376
  /**
7052
7377
  * Component default class name and class prefix.
7053
7378
  */
7054
- const CLASSNAME$S = 'lumx-grid-item';
7379
+ const CLASSNAME$Q = 'lumx-grid-item';
7055
7380
  const {
7056
- block: block$K
7057
- } = classNames.bem(CLASSNAME$S);
7381
+ block: block$I
7382
+ } = classNames.bem(CLASSNAME$Q);
7058
7383
 
7059
7384
  /**
7060
7385
  * GridItem component.
@@ -7075,7 +7400,7 @@ const GridItem = forwardRef((props, ref) => {
7075
7400
  return /*#__PURE__*/jsx("div", {
7076
7401
  ref: ref,
7077
7402
  ...forwardedProps,
7078
- className: classNames.join(className, block$K({
7403
+ className: classNames.join(className, block$I({
7079
7404
  [`width-${width}`]: Boolean(width),
7080
7405
  [`order-${order}`]: Boolean(order),
7081
7406
  [`align-${align}`]: Boolean(align)
@@ -7083,23 +7408,23 @@ const GridItem = forwardRef((props, ref) => {
7083
7408
  children: children
7084
7409
  });
7085
7410
  });
7086
- GridItem.displayName = COMPONENT_NAME$S;
7087
- GridItem.className = CLASSNAME$S;
7411
+ GridItem.displayName = COMPONENT_NAME$Q;
7412
+ GridItem.className = CLASSNAME$Q;
7088
7413
 
7089
7414
  /**
7090
7415
  * Component display name.
7091
7416
  */
7092
- const COMPONENT_NAME$R = 'GridColumn';
7417
+ const COMPONENT_NAME$P = 'GridColumn';
7093
7418
 
7094
7419
  /**
7095
7420
  * Component default class name and class prefix.
7096
7421
  */
7097
- const CLASSNAME$R = 'lumx-grid-column';
7422
+ const CLASSNAME$P = 'lumx-grid-column';
7098
7423
 
7099
7424
  /**
7100
7425
  * Component default props.
7101
7426
  */
7102
- const DEFAULT_PROPS$K = {};
7427
+ const DEFAULT_PROPS$I = {};
7103
7428
 
7104
7429
  /**
7105
7430
  * The GridColumn is a layout component that can display children in a grid
@@ -7124,7 +7449,7 @@ const GridColumn = forwardRef((props, ref) => {
7124
7449
  return /*#__PURE__*/jsx(Component, {
7125
7450
  ...forwardedProps,
7126
7451
  ref: ref,
7127
- className: classNames.join(className, CLASSNAME$R),
7452
+ className: classNames.join(className, CLASSNAME$P),
7128
7453
  style: {
7129
7454
  ...style,
7130
7455
  ['--lumx-grid-column-item-min-width']: isInteger(itemMinWidth) && `${itemMinWidth}px`,
@@ -7134,9 +7459,9 @@ const GridColumn = forwardRef((props, ref) => {
7134
7459
  children: children
7135
7460
  });
7136
7461
  });
7137
- GridColumn.displayName = COMPONENT_NAME$R;
7138
- GridColumn.className = CLASSNAME$R;
7139
- GridColumn.defaultProps = DEFAULT_PROPS$K;
7462
+ GridColumn.displayName = COMPONENT_NAME$P;
7463
+ GridColumn.className = CLASSNAME$P;
7464
+ GridColumn.defaultProps = DEFAULT_PROPS$I;
7140
7465
 
7141
7466
  /**
7142
7467
  * Icon component.
@@ -7240,21 +7565,21 @@ const ImageBlockCaptionPosition = {
7240
7565
  /**
7241
7566
  * Component display name.
7242
7567
  */
7243
- const COMPONENT_NAME$Q = 'ImageBlock';
7568
+ const COMPONENT_NAME$O = 'ImageBlock';
7244
7569
 
7245
7570
  /**
7246
7571
  * Component default class name and class prefix.
7247
7572
  */
7248
- const CLASSNAME$Q = 'lumx-image-block';
7573
+ const CLASSNAME$O = 'lumx-image-block';
7249
7574
  const {
7250
- block: block$J,
7575
+ block: block$H,
7251
7576
  element: element$z
7252
- } = classNames.bem(CLASSNAME$Q);
7577
+ } = classNames.bem(CLASSNAME$O);
7253
7578
 
7254
7579
  /**
7255
7580
  * Component default props.
7256
7581
  */
7257
- const DEFAULT_PROPS$J = {
7582
+ const DEFAULT_PROPS$H = {
7258
7583
  captionPosition: ImageBlockCaptionPosition.below,
7259
7584
  align: Alignment.left
7260
7585
  };
@@ -7270,9 +7595,9 @@ const ImageBlock = forwardRef((props, ref) => {
7270
7595
  const defaultTheme = useTheme() || Theme$1.light;
7271
7596
  const {
7272
7597
  actions,
7273
- align = DEFAULT_PROPS$J.align,
7598
+ align = DEFAULT_PROPS$H.align,
7274
7599
  alt,
7275
- captionPosition = DEFAULT_PROPS$J.captionPosition,
7600
+ captionPosition = DEFAULT_PROPS$H.captionPosition,
7276
7601
  captionStyle,
7277
7602
  className,
7278
7603
  description,
@@ -7290,7 +7615,7 @@ const ImageBlock = forwardRef((props, ref) => {
7290
7615
  return /*#__PURE__*/jsxs("figure", {
7291
7616
  ref: ref,
7292
7617
  ...forwardedProps,
7293
- className: classNames.join(className, block$J({
7618
+ className: classNames.join(className, block$H({
7294
7619
  [`caption-position-${captionPosition}`]: Boolean(captionPosition),
7295
7620
  [`align-${align}`]: Boolean(align),
7296
7621
  [`size-${size}`]: Boolean(size),
@@ -7308,7 +7633,7 @@ const ImageBlock = forwardRef((props, ref) => {
7308
7633
  alt: alt || title
7309
7634
  }), /*#__PURE__*/jsx(ImageCaption, {
7310
7635
  as: "figcaption",
7311
- baseClassName: CLASSNAME$Q,
7636
+ baseClassName: CLASSNAME$O,
7312
7637
  theme: theme,
7313
7638
  title: title,
7314
7639
  titleProps: titleProps,
@@ -7324,19 +7649,19 @@ const ImageBlock = forwardRef((props, ref) => {
7324
7649
  })]
7325
7650
  });
7326
7651
  });
7327
- ImageBlock.displayName = COMPONENT_NAME$Q;
7328
- ImageBlock.className = CLASSNAME$Q;
7329
- ImageBlock.defaultProps = DEFAULT_PROPS$J;
7652
+ ImageBlock.displayName = COMPONENT_NAME$O;
7653
+ ImageBlock.className = CLASSNAME$O;
7654
+ ImageBlock.defaultProps = DEFAULT_PROPS$H;
7330
7655
 
7331
7656
  /**
7332
7657
  * Component display name.
7333
7658
  */
7334
- const COMPONENT_NAME$P = 'ImageLightbox';
7659
+ const COMPONENT_NAME$N = 'ImageLightbox';
7335
7660
 
7336
7661
  /**
7337
7662
  * Component default class name and class prefix.
7338
7663
  */
7339
- const CLASSNAME$P = 'lumx-image-lightbox';
7664
+ const CLASSNAME$N = 'lumx-image-lightbox';
7340
7665
 
7341
7666
  /**
7342
7667
  * Observe element size (only works if it's size depends on the window size).
@@ -7582,7 +7907,7 @@ function useAnimateScroll(scrollAreaRef) {
7582
7907
 
7583
7908
  const {
7584
7909
  element: element$y
7585
- } = classNames.bem(CLASSNAME$P);
7910
+ } = classNames.bem(CLASSNAME$N);
7586
7911
  /** Internal image slide component for ImageLightbox */
7587
7912
  const ImageSlide = /*#__PURE__*/React__default.memo(props => {
7588
7913
  const {
@@ -7674,7 +7999,7 @@ const ImageSlide = /*#__PURE__*/React__default.memo(props => {
7674
7999
 
7675
8000
  const {
7676
8001
  element: element$x
7677
- } = classNames.bem(CLASSNAME$P);
8002
+ } = classNames.bem(CLASSNAME$N);
7678
8003
  /** Internal image slideshow component for ImageLightbox */
7679
8004
  const ImageSlideshow = ({
7680
8005
  activeImageIndex,
@@ -7920,7 +8245,7 @@ function useImageLightbox(props) {
7920
8245
  viewTransitionName: {
7921
8246
  source: currentImageRef,
7922
8247
  target: triggerImageRefs[currentIndex],
7923
- name: CLASSNAME$P
8248
+ name: CLASSNAME$N
7924
8249
  }
7925
8250
  });
7926
8251
  }
@@ -7972,7 +8297,7 @@ function useImageLightbox(props) {
7972
8297
  viewTransitionName: {
7973
8298
  source: triggerImage,
7974
8299
  target: currentImageRef,
7975
- name: CLASSNAME$P
8300
+ name: CLASSNAME$N
7976
8301
  }
7977
8302
  });
7978
8303
  }
@@ -8026,7 +8351,7 @@ const Inner = forwardRef((props, ref) => {
8026
8351
  }, [onClose]);
8027
8352
  return /*#__PURE__*/jsx(Lightbox, {
8028
8353
  ref: ref,
8029
- className: classNames.join(className, CLASSNAME$P),
8354
+ className: classNames.join(className, CLASSNAME$N),
8030
8355
  parentElement: parentElement,
8031
8356
  isOpen: isOpen,
8032
8357
  onClose: onClose,
@@ -8055,8 +8380,8 @@ const Inner = forwardRef((props, ref) => {
8055
8380
  })
8056
8381
  });
8057
8382
  });
8058
- Inner.displayName = COMPONENT_NAME$P;
8059
- Inner.className = CLASSNAME$P;
8383
+ Inner.displayName = COMPONENT_NAME$N;
8384
+ Inner.className = CLASSNAME$N;
8060
8385
 
8061
8386
  /**
8062
8387
  * ImageLightbox component.
@@ -8072,21 +8397,21 @@ const ImageLightbox = Object.assign(Inner, {
8072
8397
  /**
8073
8398
  * Component display name.
8074
8399
  */
8075
- const COMPONENT_NAME$O = 'InlineList';
8400
+ const COMPONENT_NAME$M = 'InlineList';
8076
8401
 
8077
8402
  /**
8078
8403
  * Component default class name and class prefix.
8079
8404
  */
8080
- const CLASSNAME$O = 'lumx-inline-list';
8405
+ const CLASSNAME$M = 'lumx-inline-list';
8081
8406
  const {
8082
- block: block$I,
8407
+ block: block$G,
8083
8408
  element: element$w
8084
- } = classNames.bem(CLASSNAME$O);
8409
+ } = classNames.bem(CLASSNAME$M);
8085
8410
 
8086
8411
  /**
8087
8412
  * Component default props.
8088
8413
  */
8089
- const DEFAULT_PROPS$I = {};
8414
+ const DEFAULT_PROPS$G = {};
8090
8415
 
8091
8416
  /**
8092
8417
  * InlineList component.
@@ -8111,7 +8436,7 @@ const InlineList = forwardRef((props, ref) => {
8111
8436
  jsx("ul", {
8112
8437
  ...forwardedProps,
8113
8438
  ref: ref,
8114
- className: classNames.join(className, block$I({
8439
+ className: classNames.join(className, block$G({
8115
8440
  wrap: Boolean(wrap)
8116
8441
  }), color && classNames.font(color, colorVariant), typography && classNames.typography(typography))
8117
8442
  // Lists with removed bullet style can lose their a11y list role on some browsers
@@ -8137,69 +8462,9 @@ const InlineList = forwardRef((props, ref) => {
8137
8462
  })
8138
8463
  );
8139
8464
  });
8140
- InlineList.displayName = COMPONENT_NAME$O;
8141
- InlineList.className = CLASSNAME$O;
8142
- InlineList.defaultProps = DEFAULT_PROPS$I;
8143
-
8144
- const INPUT_HELPER_CONFIGURATION = {
8145
- [Kind.error]: {
8146
- color: 'red'
8147
- },
8148
- [Kind.success]: {
8149
- color: 'green'
8150
- },
8151
- [Kind.warning]: {
8152
- color: 'yellow'
8153
- }
8154
- };
8155
-
8156
- const COMPONENT_NAME$N = 'InputHelper';
8157
- const InputHelperClassName = 'lumx-input-helper';
8158
-
8159
- /**
8160
- * Defines the props of the component.
8161
- */
8162
-
8163
- const CLASSNAME$N = InputHelperClassName;
8164
- const {
8165
- block: block$H
8166
- } = bem(CLASSNAME$N);
8167
-
8168
- /**
8169
- * Component default props.
8170
- */
8171
- const DEFAULT_PROPS$H = {
8172
- kind: Kind.info
8173
- };
8174
-
8175
- /**
8176
- * InputHelper component.
8177
- */
8178
- function InputHelper$1(props) {
8179
- const {
8180
- children,
8181
- className,
8182
- kind = DEFAULT_PROPS$H.kind,
8183
- theme,
8184
- ref,
8185
- ...forwardedProps
8186
- } = props;
8187
- const {
8188
- color
8189
- } = INPUT_HELPER_CONFIGURATION[kind] || {};
8190
- return /*#__PURE__*/jsx("p", {
8191
- ref: ref,
8192
- ...forwardedProps,
8193
- className: classnames(className, block$H({
8194
- [`color-${color}`]: Boolean(color),
8195
- [`theme-${theme}`]: Boolean(theme)
8196
- })),
8197
- children: children
8198
- });
8199
- }
8200
- InputHelper$1.displayName = COMPONENT_NAME$N;
8201
- InputHelper$1.className = CLASSNAME$N;
8202
- InputHelper$1.defaultProps = DEFAULT_PROPS$H;
8465
+ InlineList.displayName = COMPONENT_NAME$M;
8466
+ InlineList.className = CLASSNAME$M;
8467
+ InlineList.defaultProps = DEFAULT_PROPS$G;
8203
8468
 
8204
8469
  /**
8205
8470
  * InputHelper component.
@@ -8220,44 +8485,6 @@ InputHelper.displayName = InputHelper$1.displayName;
8220
8485
  InputHelper.className = InputHelper$1.className;
8221
8486
  InputHelper.defaultProps = InputHelper$1.defaultProps;
8222
8487
 
8223
- const COMPONENT_NAME$M = 'InputLabel';
8224
- const InputLabelClassName = 'lumx-input-label';
8225
- const CLASSNAME$M = InputLabelClassName;
8226
- const {
8227
- block: block$G
8228
- } = bem(CLASSNAME$M);
8229
- const DEFAULT_PROPS$G = {};
8230
-
8231
- /**
8232
- * InputLabel component.
8233
- */
8234
- function InputLabel$1(props) {
8235
- const {
8236
- children,
8237
- className,
8238
- htmlFor,
8239
- isRequired,
8240
- theme,
8241
- typography: typography$1,
8242
- ref,
8243
- ...forwardedProps
8244
- } = props;
8245
- return /*#__PURE__*/jsx("label", {
8246
- ref: ref,
8247
- ...forwardedProps,
8248
- htmlFor: htmlFor,
8249
- className: classnames(className, block$G({
8250
- 'is-required': isRequired,
8251
- [`theme-${theme}`]: Boolean(theme),
8252
- 'has-custom-typography': Boolean(typography$1)
8253
- }), typography$1 && typography(typography$1)),
8254
- children: children
8255
- });
8256
- }
8257
- InputLabel$1.displayName = COMPONENT_NAME$M;
8258
- InputLabel$1.className = CLASSNAME$M;
8259
- InputLabel$1.defaultProps = DEFAULT_PROPS$G;
8260
-
8261
8488
  /**
8262
8489
  * InputLabel component.
8263
8490
  *
@@ -12075,8 +12302,7 @@ const InternalSlideshowControls = forwardRef((props, ref) => {
12075
12302
  className: element$9('navigation'),
12076
12303
  color: theme === Theme$1.dark ? 'light' : 'dark',
12077
12304
  emphasis: Emphasis$1.low,
12078
- onClick: onPreviousClick,
12079
- test: "123"
12305
+ onClick: onPreviousClick
12080
12306
  }), /*#__PURE__*/jsx("div", {
12081
12307
  ref: paginationRef,
12082
12308
  className: element$9('pagination'),
@@ -14418,5 +14644,5 @@ UserBlock.displayName = COMPONENT_NAME;
14418
14644
  UserBlock.className = CLASSNAME;
14419
14645
  UserBlock.defaultProps = DEFAULT_PROPS;
14420
14646
 
14421
- export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1c as CLASSNAME, COMPONENT_NAME$1e as COMPONENT_NAME, Checkbox, Chip, ChipGroup, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$11 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, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectVariant, 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, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
14647
+ export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1d as CLASSNAME, COMPONENT_NAME$1e as COMPONENT_NAME, Checkbox, Chip, ChipGroup, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$11 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, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, 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, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
14422
14648
  //# sourceMappingURL=index.js.map