bianic-ui 2.13.0-alpha.0 → 2.13.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 (93) hide show
  1. package/README.md +49 -49
  2. package/dist/cjs/Empty.svg +12 -12
  3. package/dist/cjs/font/Arial/arial.ttf +0 -0
  4. package/dist/cjs/font/Arial/arialblack.ttf +0 -0
  5. package/dist/cjs/font/Arial/arialbold.ttf +0 -0
  6. package/dist/cjs/font/Arial/arialbolditalic.ttf +0 -0
  7. package/dist/cjs/font/Arial/arialitalic.ttf +0 -0
  8. package/dist/cjs/font/Humanist777CondensedBT.ttf +0 -0
  9. package/dist/cjs/font/Humnst/tt0855m_.ttf +0 -0
  10. package/dist/cjs/font/Humnst/tt0857m_.ttf +0 -0
  11. package/dist/cjs/font/Humnst/tt0861m_.ttf +0 -0
  12. package/dist/cjs/font/Humnst/tt1159m_.ttf +0 -0
  13. package/dist/cjs/font/Humnst/tt1160m_.ttf +0 -0
  14. package/dist/cjs/font/Humnst/tt1161m_.ttf +0 -0
  15. package/dist/cjs/font/Humnst777 Cn BT.ttf +0 -0
  16. package/dist/cjs/font/SansCode/GoogleSansCode-Italic-VariableFont_MONO,wght.ttf +0 -0
  17. package/dist/cjs/font/SansCode/GoogleSansCode-VariableFont_MONO,wght.ttf +0 -0
  18. package/dist/cjs/font/SansCode/OFL.txt +93 -0
  19. package/dist/cjs/font/SansCode/README.txt +88 -0
  20. package/dist/cjs/font/SegoeUI/segoeui.ttf +0 -0
  21. package/dist/cjs/font/SegoeUI/segoeuib.ttf +0 -0
  22. package/dist/cjs/font/SegoeUI/segoeuii.ttf +0 -0
  23. package/dist/cjs/font/SegoeUI/segoeuil.ttf +0 -0
  24. package/dist/cjs/font/SegoeUI/segoeuisl.ttf +0 -0
  25. package/dist/cjs/font/SegoeUI/segoeuiz.ttf +0 -0
  26. package/dist/cjs/font/SegoeUI/seguibl.ttf +0 -0
  27. package/dist/cjs/font/SegoeUI/seguibli.ttf +0 -0
  28. package/dist/cjs/font/SegoeUI/seguiemj.ttf +0 -0
  29. package/dist/cjs/font/SegoeUI/seguihis.ttf +0 -0
  30. package/dist/cjs/font/SegoeUI/seguili.ttf +0 -0
  31. package/dist/cjs/font/SegoeUI/seguisb.ttf +0 -0
  32. package/dist/cjs/font/SegoeUI/seguisbi.ttf +0 -0
  33. package/dist/cjs/font/SegoeUI/seguisli.ttf +0 -0
  34. package/dist/cjs/font/SegoeUI/seguisym.ttf +0 -0
  35. package/dist/cjs/index.js +3400 -63
  36. package/dist/cjs/lib.css +1 -1
  37. package/dist/cjs/types/components/Forms/LiveSearch/index.d.ts +1 -1
  38. package/dist/cjs/types/components/Forms/LiveSearch/types/index.d.ts +1 -0
  39. package/dist/cjs/types/components/Forms/TagLabelInput/index.d.ts +1 -0
  40. package/dist/cjs/types/components/Stepper/Horizontal/index.d.ts +1 -0
  41. package/dist/cjs/types/components/Stepper/index.d.ts +2 -0
  42. package/dist/cjs/types/components/index.d.ts +1 -1
  43. package/dist/cjs/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +3 -1
  44. package/dist/cjs/types/stories/Form/Radio.stories.d.ts +3 -1
  45. package/dist/esm/Empty.svg +12 -12
  46. package/dist/esm/font/Arial/arial.ttf +0 -0
  47. package/dist/esm/font/Arial/arialblack.ttf +0 -0
  48. package/dist/esm/font/Arial/arialbold.ttf +0 -0
  49. package/dist/esm/font/Arial/arialbolditalic.ttf +0 -0
  50. package/dist/esm/font/Arial/arialitalic.ttf +0 -0
  51. package/dist/esm/font/Humanist777CondensedBT.ttf +0 -0
  52. package/dist/esm/font/Humnst/tt0855m_.ttf +0 -0
  53. package/dist/esm/font/Humnst/tt0857m_.ttf +0 -0
  54. package/dist/esm/font/Humnst/tt0861m_.ttf +0 -0
  55. package/dist/esm/font/Humnst/tt1159m_.ttf +0 -0
  56. package/dist/esm/font/Humnst/tt1160m_.ttf +0 -0
  57. package/dist/esm/font/Humnst/tt1161m_.ttf +0 -0
  58. package/dist/esm/font/Humnst777 Cn BT.ttf +0 -0
  59. package/dist/esm/font/SansCode/GoogleSansCode-Italic-VariableFont_MONO,wght.ttf +0 -0
  60. package/dist/esm/font/SansCode/GoogleSansCode-VariableFont_MONO,wght.ttf +0 -0
  61. package/dist/esm/font/SansCode/OFL.txt +93 -0
  62. package/dist/esm/font/SansCode/README.txt +88 -0
  63. package/dist/esm/font/SegoeUI/segoeui.ttf +0 -0
  64. package/dist/esm/font/SegoeUI/segoeuib.ttf +0 -0
  65. package/dist/esm/font/SegoeUI/segoeuii.ttf +0 -0
  66. package/dist/esm/font/SegoeUI/segoeuil.ttf +0 -0
  67. package/dist/esm/font/SegoeUI/segoeuisl.ttf +0 -0
  68. package/dist/esm/font/SegoeUI/segoeuiz.ttf +0 -0
  69. package/dist/esm/font/SegoeUI/seguibl.ttf +0 -0
  70. package/dist/esm/font/SegoeUI/seguibli.ttf +0 -0
  71. package/dist/esm/font/SegoeUI/seguiemj.ttf +0 -0
  72. package/dist/esm/font/SegoeUI/seguihis.ttf +0 -0
  73. package/dist/esm/font/SegoeUI/seguili.ttf +0 -0
  74. package/dist/esm/font/SegoeUI/seguisb.ttf +0 -0
  75. package/dist/esm/font/SegoeUI/seguisbi.ttf +0 -0
  76. package/dist/esm/font/SegoeUI/seguisli.ttf +0 -0
  77. package/dist/esm/font/SegoeUI/seguisym.ttf +0 -0
  78. package/dist/esm/index.js +3400 -64
  79. package/dist/esm/lib.css +1 -1
  80. package/dist/esm/types/components/Forms/LiveSearch/index.d.ts +1 -1
  81. package/dist/esm/types/components/Forms/LiveSearch/types/index.d.ts +1 -0
  82. package/dist/esm/types/components/Forms/TagLabelInput/index.d.ts +1 -0
  83. package/dist/esm/types/components/Stepper/Horizontal/index.d.ts +1 -0
  84. package/dist/esm/types/components/Stepper/index.d.ts +2 -0
  85. package/dist/esm/types/components/index.d.ts +1 -1
  86. package/dist/esm/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +3 -1
  87. package/dist/esm/types/stories/Form/Radio.stories.d.ts +3 -1
  88. package/dist/index.d.ts +24 -2
  89. package/package.json +143 -143
  90. package/src/font/SansCode/README.txt +88 -88
  91. package/src/style/color.css +650 -650
  92. package/src/style/scrollbar.css +78 -78
  93. package/tailwind.config.js +592 -592
package/dist/cjs/index.js CHANGED
@@ -287,7 +287,7 @@ var childrenElement = function (element) {
287
287
  // if (typeof element === 'object') return '';
288
288
  return element;
289
289
  };
290
- var cn = function () {
290
+ var cn$1 = function () {
291
291
  var classes = [];
292
292
  for (var _i = 0; _i < arguments.length; _i++) {
293
293
  classes[_i] = arguments[_i];
@@ -1819,7 +1819,7 @@ var Countdown = React.forwardRef(function (_a, ref) {
1819
1819
  var circumference = 2 * Math.PI * radius;
1820
1820
  // Calculate how much stroke to show based on time remaining
1821
1821
  var strokeDashoffset = circumference - (seconds / maxSeconds) * circumference;
1822
- return (React.createElement("div", __assign({ ref: ref, role: isCountdown ? 'timer' : 'status', "aria-live": "polite", "aria-atomic": "true", className: cn('relative flex aspect-square w-[120px] flex-col items-center justify-center rounded-radius-full', className) }, props, { style: { width: size, height: size } }),
1822
+ return (React.createElement("div", __assign({ ref: ref, role: isCountdown ? 'timer' : 'status', "aria-live": "polite", "aria-atomic": "true", className: cn$1('relative flex aspect-square w-[120px] flex-col items-center justify-center rounded-radius-full', className) }, props, { style: { width: size, height: size } }),
1823
1823
  React.createElement("svg", { className: "absolute left-0 top-0 -rotate-90 transform" // Rotates SVG so progress starts at 12 o'clock
1824
1824
  , width: size, height: size },
1825
1825
  React.createElement("circle", { className: "text-bia-blue-light-90", stroke: "currentColor", fill: "transparent", strokeWidth: strokeWidth, cx: size / 2, cy: size / 2, r: radius }),
@@ -2504,11 +2504,11 @@ var Radio = React.forwardRef(function Radio(_a, ref) {
2504
2504
  var inputFocusClass = size === 'tn'
2505
2505
  ? 'focus-visible:ring-offset-1'
2506
2506
  : 'focus-visible:ring-offset-2';
2507
- return (React.createElement("div", { className: cn('flex items-center', containerClassName) },
2508
- React.createElement("div", { className: cn('relative flex flex-shrink-0 items-center justify-center rounded-full', checkSize, backgroundClass) },
2509
- React.createElement("input", { ref: ref, id: id, type: "radio", className: cn('checkbox peer absolute box-content h-full w-full cursor-pointer appearance-none rounded-full border-2 border-bia-coolgrey-light-50 checked:border-bia-blue hover:border-bia-blue-hover focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-bia-blue disabled:cursor-not-allowed disabled:border-bia-coolgrey-light-50 disabled:checked:border-bia-blue-light-50', inputFocusClass, inputClassName, className), name: name, value: value, required: required, readOnly: readOnly, autoComplete: autoComplete, tabIndex: tabIndex, role: role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, onChange: onChange, onClick: onClick, onFocus: onFocus, onBlur: onBlur, onKeyDown: onKeyDown, checked: checked, defaultChecked: defaultChecked, disabled: disabled }),
2510
- React.createElement("div", { className: cn('check-icon z-1 group flex h-full w-full justify-center rounded-full border-2 border-primary-white text-bia-grey outline-2 outline-bia-blue peer-checked:bg-bia-blue peer-checked:hover:border-bia-blue-hover peer-checked:hover:outline-bia-blue-hover peer-disabled:border-transparent peer-disabled:bg-bia-grey-light-80 peer-disabled:peer-checked:border-primary-white peer-disabled:peer-checked:bg-bia-blue-disabled', peerCheckedClass) })),
2511
- React.createElement("label", { htmlFor: id, className: cn('ml-2 leading-4', disabled ? 'text-bia-coolgrey' : 'text-bia-black', labelSize, labelClassName) }, childrenElement(label))));
2507
+ return (React.createElement("div", { className: cn$1('flex items-center', containerClassName) },
2508
+ React.createElement("div", { className: cn$1('relative flex flex-shrink-0 items-center justify-center rounded-full', checkSize, backgroundClass) },
2509
+ React.createElement("input", { ref: ref, id: id, type: "radio", className: cn$1('checkbox peer absolute box-content h-full w-full cursor-pointer appearance-none rounded-full border-2 border-bia-coolgrey-light-50 checked:border-bia-blue hover:border-bia-blue-hover focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-bia-blue disabled:cursor-not-allowed disabled:border-bia-coolgrey-light-50 disabled:checked:border-bia-blue-light-50', inputFocusClass, inputClassName, className), name: name, value: value, required: required, readOnly: readOnly, autoComplete: autoComplete, tabIndex: tabIndex, role: role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, onChange: onChange, onClick: onClick, onFocus: onFocus, onBlur: onBlur, onKeyDown: onKeyDown, checked: checked, defaultChecked: defaultChecked, disabled: disabled }),
2510
+ React.createElement("div", { className: cn$1('check-icon z-1 group flex h-full w-full justify-center rounded-full border-2 border-primary-white text-bia-grey outline-2 outline-transparent peer-checked:bg-bia-blue peer-checked:hover:border-bia-blue-hover peer-checked:hover:outline-bia-blue-hover peer-focus-visible:outline-bia-blue peer-disabled:border-transparent peer-disabled:bg-bia-grey-light-80 peer-disabled:peer-checked:border-primary-white peer-disabled:peer-checked:bg-bia-blue-disabled', peerCheckedClass) })),
2511
+ label && (React.createElement("label", { htmlFor: id, className: cn$1('ml-2 leading-4', disabled ? 'text-bia-coolgrey' : 'text-bia-black', labelSize, labelClassName) }, childrenElement(label)))));
2512
2512
  });
2513
2513
  Radio.defaultProps = {
2514
2514
  label: '',
@@ -2563,8 +2563,8 @@ var TextArea = React.forwardRef(function (_a, ref) {
2563
2563
  bottomBorderColor =
2564
2564
  'enabled:hover:border-b-bia-red enabled:focus:border-b-bia-red';
2565
2565
  var disabledClass = disabled ? 'cursor-not-allowed' : '';
2566
- var extendedInputClassName = cn(inputClass, bottomBorderColor);
2567
- return (React.createElement("div", { className: cn('field-group group/form flex w-full flex-col gap-y-2', textAreaClassName) },
2566
+ var extendedInputClassName = cn$1(inputClass, bottomBorderColor);
2567
+ return (React.createElement("div", { className: cn$1('field-group group/form flex w-full flex-col gap-y-2', textAreaClassName) },
2568
2568
  label && (React.createElement(FormLabel, { htmlFor: id, required: required, readOnly: readOnly }, label)),
2569
2569
  React.createElement("div", { className: "relative h-fit w-full min-w-[250px] ".concat(disabledClass) },
2570
2570
  React.createElement(ResizeIcon, { className: "absolute bottom-[11px] right-[5px]" }),
@@ -2615,8 +2615,8 @@ function Checkbox(_a) {
2615
2615
  return (React.createElement("div", { className: "flex items-center" },
2616
2616
  React.createElement("div", { className: "relative flex flex-shrink-0 items-center justify-center rounded-full ".concat(backgroundClass, " ").concat(checkClass) },
2617
2617
  React.createElement("input", __assign({ id: id, type: "checkbox", className: "checkbox peer absolute box-content h-full w-full cursor-pointer appearance-none rounded-full border-2 border-bia-coolgrey-light-50 checked:border-bia-blue hover:border-bia-blue-hover focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-bia-blue focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:border-bia-coolgrey-light-50 disabled:checked:border-bia-blue-light-50", onChange: function (e) { return onChange(e); }, disabled: disabled }, props)),
2618
- React.createElement("div", { className: "check-icon z-1 group flex h-full w-full items-center justify-center rounded-full text-bia-grey outline-2 outline-bia-blue peer-checked:border-primary-white peer-checked:bg-bia-blue peer-checked:hover:border-bia-blue-hover peer-checked:hover:outline-bia-blue-hover peer-checked:peer-hover:bg-bia-blue-hover peer-disabled:bg-bia-grey-light-80 peer-disabled:peer-checked:bg-bia-blue-light-50 peer-disabled:peer-checked:outline-bia-blue-light-50 ".concat(peerCheckedClass) }, isValidIndeterminate ? (React.createElement(TbMinus, { className: "stroke-[3px] text-bia-grey-dark-10 peer-checked:group-[]:text-bia-white peer-hover:group-[]:text-bia-blue-hover peer-checked:peer-hover:group-[]:text-bia-white peer-disabled:group-[]:text-bia-grey-dark-10 peer-disabled:peer-checked:group-[]:text-bia-white", size: 14 })) : (React.createElement(TbCheck, { className: "stroke-[3px] text-bia-grey-dark-10 peer-checked:group-[]:text-bia-white peer-hover:group-[]:text-bia-blue-hover peer-checked:peer-hover:group-[]:text-bia-white peer-disabled:group-[]:text-bia-grey-dark-10 peer-disabled:peer-checked:group-[]:text-bia-white", size: 14 })))),
2619
- React.createElement("label", { htmlFor: id, className: "ml-2 leading-4 text-primary-black ".concat(labelClass), style: { color: disabled ? '#8C8CA6' : '' } }, childrenElement(label))));
2618
+ React.createElement("div", { className: "check-icon z-1 group flex h-full w-full items-center justify-center rounded-full text-bia-grey outline-2 outline-transparent peer-checked:border-primary-white peer-checked:bg-bia-blue peer-checked:hover:border-bia-blue-hover peer-checked:hover:outline-bia-blue-hover peer-checked:peer-hover:bg-bia-blue-hover peer-focus-visible:outline-bia-blue peer-disabled:bg-bia-grey-light-80 peer-disabled:peer-checked:bg-bia-blue-light-50 peer-disabled:peer-checked:outline-bia-blue-light-50 ".concat(peerCheckedClass) }, isValidIndeterminate ? (React.createElement(TbMinus, { className: "stroke-[3px] text-bia-grey-dark-10 peer-checked:group-[]:text-bia-white peer-hover:group-[]:text-bia-blue-hover peer-checked:peer-hover:group-[]:text-bia-white peer-disabled:group-[]:text-bia-grey-dark-10 peer-disabled:peer-checked:group-[]:text-bia-white", size: 14 })) : (React.createElement(TbCheck, { className: "stroke-[3px] text-bia-grey-dark-10 peer-checked:group-[]:text-bia-white peer-hover:group-[]:text-bia-blue-hover peer-checked:peer-hover:group-[]:text-bia-white peer-disabled:group-[]:text-bia-grey-dark-10 peer-disabled:peer-checked:group-[]:text-bia-white", size: 14 })))),
2619
+ label && (React.createElement("label", { htmlFor: id, className: "ml-2 leading-4 text-primary-black ".concat(labelClass), style: { color: disabled ? '#8C8CA6' : '' } }, childrenElement(label)))));
2620
2620
  }
2621
2621
  Checkbox.defaultProps = {
2622
2622
  disabled: false,
@@ -3018,6 +3018,9 @@ var useLiveSearch$1 = function (_a) {
3018
3018
  setSearchTerm(getItemLabel(value));
3019
3019
  }
3020
3020
  }, [isOpen, value]);
3021
+ React.useEffect(function () {
3022
+ setSearchTerm(getItemLabel(value));
3023
+ }, [value]);
3021
3024
  var handleInputChange = function (e) {
3022
3025
  var newSearchTerm = e.target.value;
3023
3026
  setSearchTerm(newSearchTerm);
@@ -3041,16 +3044,16 @@ var useLiveSearch$1 = function (_a) {
3041
3044
  };
3042
3045
 
3043
3046
  function LiveSearch(_a) {
3044
- var _b = _a.autoComplete, autoComplete = _b === void 0 ? 'off' : _b, _c = _a.children, children = _c === void 0 ? undefined : _c, descText = _a.descText, _d = _a.disabled, disabled = _d === void 0 ? false : _d, dropContProps = _a.dropContProps, id = _a.id, label = _a.label, _e = _a.onChangeText, onChangeText = _e === void 0 ? function () { } : _e, _f = _a.onClickDropdown, onClickDropdown = _f === void 0 ? function () { } : _f, options = _a.options, placeholder = _a.placeholder, _g = _a.readOnly, readOnly = _g === void 0 ? false : _g, _h = _a.required, required = _h === void 0 ? false : _h, _j = _a.searchVariant, searchVariant = _j === void 0 ? 'include' : _j, setValue = _a.setValue, _k = _a.size, size = _k === void 0 ? 'md' : _k, _l = _a.isValid, isValid = _l === void 0 ? null : _l, value = _a.value;
3047
+ var _b = _a.autoComplete, autoComplete = _b === void 0 ? 'off' : _b, _c = _a.children, children = _c === void 0 ? undefined : _c, descText = _a.descText, _d = _a.disabled, disabled = _d === void 0 ? false : _d, dropContProps = _a.dropContProps, id = _a.id, label = _a.label, _e = _a.onChangeText, onChangeText = _e === void 0 ? function () { } : _e, _f = _a.onChangeButton, onChangeButton = _f === void 0 ? undefined : _f, _g = _a.onClickDropdown, onClickDropdown = _g === void 0 ? function () { } : _g, options = _a.options, placeholder = _a.placeholder, _h = _a.readOnly, readOnly = _h === void 0 ? false : _h, _j = _a.required, required = _j === void 0 ? false : _j, _k = _a.searchVariant, searchVariant = _k === void 0 ? 'include' : _k, setValue = _a.setValue, _l = _a.size, size = _l === void 0 ? 'md' : _l, _m = _a.isValid, isValid = _m === void 0 ? null : _m, value = _a.value;
3045
3048
  var inputRef = React.useRef(null);
3046
- var _m = useLiveSearch$1({
3049
+ var _o = useLiveSearch$1({
3047
3050
  value: value,
3048
3051
  setValue: setValue,
3049
3052
  onChangeText: onChangeText,
3050
3053
  dropContOnClickItem: dropContProps === null || dropContProps === void 0 ? void 0 : dropContProps.onClickItem,
3051
- }), isOpen = _m.isOpen, setIsOpen = _m.setIsOpen, searchTerm = _m.searchTerm, handleInputChange = _m.handleInputChange, handleDropdownItemClick = _m.handleDropdownItemClick;
3052
- var _o = sizeConfig$7[size], iconClass = _o.iconClass, iconSize = _o.iconSize, inputClass = _o.inputClass;
3053
- var _p = dropContProps || {}, dropContClassName = _p.className; _p.onClickItem; _p.anchorRef; var restDropContProps = __rest(_p, ["className", "onClickItem", "anchorRef"]);
3054
+ }), isOpen = _o.isOpen, setIsOpen = _o.setIsOpen, searchTerm = _o.searchTerm, handleInputChange = _o.handleInputChange, handleDropdownItemClick = _o.handleDropdownItemClick;
3055
+ var _p = sizeConfig$7[size], iconClass = _p.iconClass, iconSize = _p.iconSize, inputClass = _p.inputClass;
3056
+ var _q = dropContProps || {}, dropContClassName = _q.className; _q.onClickItem; _q.anchorRef; var restDropContProps = __rest(_q, ["className", "onClickItem", "anchorRef"]);
3054
3057
  var isSearchTermExist = searchTerm && searchTerm !== '';
3055
3058
  var descColor = 'text-primary-cool';
3056
3059
  var isExistValidation = isValid !== null && isValid !== undefined;
@@ -3059,7 +3062,7 @@ function LiveSearch(_a) {
3059
3062
  if (!disabled && isExistValidation && !isValid)
3060
3063
  descColor = 'text-bia-red';
3061
3064
  var filteredOptions = filterOptions(options || [], value.label);
3062
- var _q = processRenderedChildren$1(children, searchTerm, searchVariant, handleDropdownItemClick), renderedChildren = _q.renderedChildren, hasFilteredResults = _q.hasFilteredResults;
3065
+ var _r = processRenderedChildren$1(children, searchTerm, searchVariant, handleDropdownItemClick), renderedChildren = _r.renderedChildren, hasFilteredResults = _r.hasFilteredResults;
3063
3066
  var disabledClass = disabled ? 'cursor-not-allowed' : '';
3064
3067
  return (React.createElement("div", { className: "bianic-livesearch bianic-fgc-container bianic-text-input-container field-group group/form flex w-full flex-col gap-y-2" },
3065
3068
  label && (React.createElement(FormLabel, { htmlFor: id, required: required, readOnly: readOnly }, label)),
@@ -3068,10 +3071,15 @@ function LiveSearch(_a) {
3068
3071
  onChangeText(e);
3069
3072
  handleInputChange(e);
3070
3073
  }, type: "text", readOnly: readOnly, autoComplete: autoComplete }),
3071
- React.createElement("div", { className: "absolute inset-y-0 flex items-center pl-3 ".concat(iconClass) },
3074
+ React.createElement("div", { className: "absolute inset-y-0 flex items-center pl-3 ".concat(iconClass), style: {
3075
+ zIndex: (restDropContProps === null || restDropContProps === void 0 ? void 0 : restDropContProps.zIndex)
3076
+ ? (restDropContProps === null || restDropContProps === void 0 ? void 0 : restDropContProps.zIndex) + 20
3077
+ : 20,
3078
+ } },
3072
3079
  !isSearchTermExist && (React.createElement(TbZoom, { className: "text-primary-black", style: { fontSize: iconSize } })),
3073
- isSearchTermExist && (React.createElement("button", { onClick: function () { return setValue({ id: null, label: '' }); }, className: "flex h-full w-full items-center disabled:cursor-not-allowed", disabled: disabled },
3074
- React.createElement(TbX, { className: "text-primary-black", style: { fontSize: iconSize } })))),
3080
+ isSearchTermExist && !onChangeButton && (React.createElement("button", { onClick: function () { return setValue({ id: null, label: '' }); }, className: "flex h-full w-full items-center disabled:cursor-not-allowed", disabled: disabled },
3081
+ React.createElement(TbX, { className: "text-primary-black", style: { fontSize: iconSize } }))),
3082
+ isSearchTermExist && onChangeButton),
3075
3083
  children === undefined && isOpen && (React.createElement("div", { className: "border-grey-100 absolute z-10 max-h-60 w-full overflow-y-auto rounded-b-md border bg-primary-white shadow-lg", onClick: onClickDropdown }, filteredOptions.map(function (option) {
3076
3084
  var isSelected = value && value.id && option.id === value.id;
3077
3085
  return option.custom ? (React.createElement(CustomDropdownItem, { size: size, isSelected: isSelected, className: dropContClassName, onClick: function () {
@@ -3341,11 +3349,11 @@ TagLabel.defaultProps = {
3341
3349
  };
3342
3350
 
3343
3351
  var TagLabelInputInner = function (_a, ref) {
3344
- var children = _a.children, className = _a.className, description = _a.description, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.dropContProps, dropContProps = _c === void 0 ? {} : _c, customId = _a.id, _d = _a.isValid, isValid = _d === void 0 ? null : _d, _e = _a.label, label = _e === void 0 ? '' : _e, onBlur = _a.onBlur, onChange = _a.onChange, onChangeText = _a.onChangeText, onFocus = _a.onFocus, placeholder = _a.placeholder, _f = _a.readOnly, readOnly = _f === void 0 ? false : _f, _g = _a.required, required = _g === void 0 ? false : _g, _h = _a.size, size = _h === void 0 ? 'md' : _h, _j = _a.value, value = _j === void 0 ? [] : _j, restInputProps = __rest(_a, ["children", "className", "description", "disabled", "dropContProps", "id", "isValid", "label", "onBlur", "onChange", "onChangeText", "onFocus", "placeholder", "readOnly", "required", "size", "value"]);
3352
+ var children = _a.children, className = _a.className, description = _a.description, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.dropContProps, dropContProps = _c === void 0 ? {} : _c, customId = _a.id, _d = _a.isValid, isValid = _d === void 0 ? null : _d, _e = _a.label, label = _e === void 0 ? '' : _e, onBlur = _a.onBlur, onChange = _a.onChange, onChangeText = _a.onChangeText, onFocus = _a.onFocus, placeholder = _a.placeholder, _f = _a.readOnly, readOnly = _f === void 0 ? false : _f, _g = _a.required, required = _g === void 0 ? false : _g, _h = _a.size, size = _h === void 0 ? 'md' : _h, _j = _a.value, value = _j === void 0 ? [] : _j, _k = _a.zIndex, zIndex = _k === void 0 ? 10 : _k, restInputProps = __rest(_a, ["children", "className", "description", "disabled", "dropContProps", "id", "isValid", "label", "onBlur", "onChange", "onChangeText", "onFocus", "placeholder", "readOnly", "required", "size", "value", "zIndex"]);
3345
3353
  var generatedId = React.useId();
3346
3354
  var inputId = customId || generatedId;
3347
- var _k = React.useState(false), isFocused = _k[0], setIsFocused = _k[1];
3348
- var _l = React.useState(false), isHovered = _l[0], setIsHovered = _l[1];
3355
+ var _l = React.useState(false), isFocused = _l[0], setIsFocused = _l[1];
3356
+ var _m = React.useState(false), isHovered = _m[0], setIsHovered = _m[1];
3349
3357
  var internalInputRef = React.useRef(null);
3350
3358
  var containerRef = React.useRef(null);
3351
3359
  React.useImperativeHandle(ref, function () { return internalInputRef.current; });
@@ -3369,12 +3377,12 @@ var TagLabelInputInner = function (_a, ref) {
3369
3377
  var updatedValues = value.filter(function (_, idx) { return idx !== indexToRemove; });
3370
3378
  onChange(updatedValues);
3371
3379
  };
3372
- var _m = useLiveSearch({
3380
+ var _o = useLiveSearch({
3373
3381
  value: value,
3374
3382
  setValue: onChange,
3375
3383
  onChangeText: onChangeText,
3376
3384
  dropContOnClickItem: dropContProps === null || dropContProps === void 0 ? void 0 : dropContProps.onClickItem,
3377
- }), isOpen = _m.isOpen, setIsOpen = _m.setIsOpen, searchTerm = _m.searchTerm, handleInputChange = _m.handleInputChange, handleDropdownItemClick = _m.handleDropdownItemClick;
3385
+ }), isOpen = _o.isOpen, setIsOpen = _o.setIsOpen, searchTerm = _o.searchTerm, handleInputChange = _o.handleInputChange, handleDropdownItemClick = _o.handleDropdownItemClick;
3378
3386
  var handleKeyDown = function (e) {
3379
3387
  var _a;
3380
3388
  if (e.key === 'Backspace' && searchTerm === '' && value.length > 0) {
@@ -3408,12 +3416,12 @@ var TagLabelInputInner = function (_a, ref) {
3408
3416
  ? 'text-bia-green'
3409
3417
  : 'text-bia-red'
3410
3418
  : 'text-primary-cool';
3411
- var _o = sizeConfig$6[size], inputClass = _o.inputClass, paddingClass = _o.paddingClass, resizePosition = _o.resizePosition;
3412
- var _p = dropContProps || {}, dropContClassName = _p.dropContClassName, restDropContProps = __rest(_p, ["dropContClassName"]);
3413
- var _q = processRenderedChildren(children, searchTerm, 'include', handleDropdownItemClick, value), renderedChildren = _q.renderedChildren, hasFilteredResults = _q.hasFilteredResults;
3419
+ var _p = sizeConfig$6[size], inputClass = _p.inputClass, paddingClass = _p.paddingClass, resizePosition = _p.resizePosition;
3420
+ var _q = dropContProps || {}, dropContClassName = _q.dropContClassName, restDropContProps = __rest(_q, ["dropContClassName"]);
3421
+ var _r = processRenderedChildren(children, searchTerm, 'include', handleDropdownItemClick, value), renderedChildren = _r.renderedChildren, hasFilteredResults = _r.hasFilteredResults;
3414
3422
  var showPlaceholder = !disabled && !readOnly && value.length === 0;
3415
3423
  console.log('showPlaceholder', showPlaceholder);
3416
- return (React.createElement("div", { className: cn('relative w-full', className) },
3424
+ return (React.createElement("div", { className: cn$1('relative w-full', className) },
3417
3425
  label && (React.createElement(FormLabel, { htmlFor: inputId, readOnly: readOnly, required: required }, label)),
3418
3426
  React.createElement("div", { ref: containerRef, onClick: handleContainerClick, onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, onFocus: function (e) {
3419
3427
  if (!disabled && !readOnly) {
@@ -3423,7 +3431,7 @@ var TagLabelInputInner = function (_a, ref) {
3423
3431
  }, onBlur: function (e) {
3424
3432
  handleBlur(e);
3425
3433
  onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
3426
- }, className: cn('field bianic-text-area relative flex w-full flex-wrap items-center gap-1.5 rounded border border-bia-grey-dark-10 bg-primary-white align-top transition-all', readOnly && 'pointer-events-none', disabled
3434
+ }, className: cn$1('field bianic-text-area relative flex w-full flex-wrap items-center gap-1.5 rounded border border-bia-grey-dark-10 bg-primary-white align-top transition-all', readOnly && 'pointer-events-none', disabled
3427
3435
  ? 'cursor-not-allowed bg-bia-grey-light-80 text-bia-grey-active'
3428
3436
  : 'cursor-text', !disabled &&
3429
3437
  !readOnly &&
@@ -3434,10 +3442,10 @@ var TagLabelInputInner = function (_a, ref) {
3434
3442
  return;
3435
3443
  onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(e);
3436
3444
  handleInputChange(e);
3437
- }, onKeyDown: handleKeyDown, placeholder: showPlaceholder ? placeholder || 'Select options...' : '', readOnly: readOnly, ref: internalInputRef, role: "combobox", type: "text", value: disabled || readOnly ? '' : searchTerm, className: cn(inputClass, 'min-w-[80px] flex-1 border-none bg-transparent p-0 outline-none focus:ring-0', disabled && 'cursor-not-allowed', readOnly && 'pointer-events-none') })),
3438
- React.createElement(ResizeIcon, { className: cn('absolute', resizePosition) })),
3439
- description && (React.createElement("p", { className: cn('mt-1.5 text-xs transition-colors', descColor) }, description)),
3440
- children && (React.createElement(DropdownContainer, __assign({ anchorRef: containerRef, className: cn('bianic-livesearch-dropdown w-full overflow-hidden bg-white shadow-lg', dropContClassName), isTopFlat: true, matchAnchorWidth: "min", onClose: function () { return setIsOpen(false); }, open: isOpen && !disabled && !readOnly, size: size, zIndex: 10 }, restDropContProps), hasFilteredResults
3445
+ }, onKeyDown: handleKeyDown, placeholder: showPlaceholder ? placeholder || 'Select options...' : '', readOnly: readOnly, ref: internalInputRef, role: "combobox", type: "text", value: disabled || readOnly ? '' : searchTerm, className: cn$1(inputClass, 'min-w-[80px] flex-1 border-none bg-transparent p-0 outline-none focus:ring-0', disabled && 'cursor-not-allowed', readOnly && 'pointer-events-none') })),
3446
+ React.createElement(ResizeIcon, { className: cn$1('absolute', resizePosition) })),
3447
+ description && (React.createElement("p", { className: cn$1('mt-1.5 text-xs transition-colors', descColor) }, description)),
3448
+ children && (React.createElement(DropdownContainer, __assign({ anchorRef: containerRef, className: cn$1('bianic-livesearch-dropdown w-full overflow-hidden bg-white shadow-lg', dropContClassName), isTopFlat: true, matchAnchorWidth: "min", onClose: function () { return setIsOpen(false); }, open: isOpen && !disabled && !readOnly, size: size, zIndex: zIndex }, restDropContProps), hasFilteredResults
3441
3449
  ? renderedChildren
3442
3450
  : searchTerm.length > 0 && (React.createElement(DropdownItem, { content: React.createElement("div", { className: "px-4 py-2 text-gray-500" }, "Tidak ada hasil ditemukan.") }))))));
3443
3451
  };
@@ -4649,7 +4657,7 @@ var SimpleFileUploader = function (_a) {
4649
4657
  md: 18,
4650
4658
  lg: 22,
4651
4659
  }[size];
4652
- return (React.createElement("div", { className: cn('inline-flex flex-col items-start gap-1.5', className) },
4660
+ return (React.createElement("div", { className: cn$1('inline-flex flex-col items-start gap-1.5', className) },
4653
4661
  React.createElement("input", { ref: inputRef, type: "file", accept: accept, multiple: multiple, disabled: disabled, onChange: handleInputChange, className: "hidden", "aria-label": "File input" }),
4654
4662
  React.createElement(Button, { label: label, onClick: triggerClick, disabled: disabled, size: size, variant: variant, iconLeft: React.createElement(TbFolderOpen, { size: iconSizes, className: "shrink-0 text-bia-black" }) }),
4655
4663
  activeError && (React.createElement("div", { className: "flex items-center gap-1 text-xs font-medium text-bia-red" },
@@ -4679,14 +4687,14 @@ var DropzoneFileUploader = function (_a) {
4679
4687
  var defaultSubtext = helperText ||
4680
4688
  (formattedMaxSize ? "Maximum upload file size ".concat(formattedMaxSize) : '');
4681
4689
  var activeError = errorMessage || internalError;
4682
- return (React.createElement("div", { className: cn('flex w-full flex-col gap-3', className) },
4690
+ return (React.createElement("div", { className: cn$1('flex w-full flex-col gap-3', className) },
4683
4691
  React.createElement("input", { ref: inputRef, type: "file", accept: effectiveAccept, multiple: multiple, disabled: disabled, onChange: handleInputChange, className: "peer hidden", "aria-label": "File upload dropzone" }),
4684
4692
  React.createElement("div", { onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop, onClick: triggerClick, role: "button", tabIndex: disabled ? -1 : 0, onKeyDown: function (e) {
4685
4693
  if (e.key === 'Enter' || e.key === ' ') {
4686
4694
  e.preventDefault();
4687
4695
  triggerClick();
4688
4696
  }
4689
- }, className: cn('relative flex cursor-pointer select-none flex-col items-center justify-center rounded-xl border border-dashed bg-bia-white pb-5 pt-4 text-center transition-all', disabled && 'cursor-not-allowed bg-bia-grey-light-50 opacity-60', activeError ? 'border-red-500 bg-red-50/20' : '', isDragging
4697
+ }, className: cn$1('relative flex cursor-pointer select-none flex-col items-center justify-center rounded-xl border border-dashed bg-bia-white pb-5 pt-4 text-center transition-all', disabled && 'cursor-not-allowed bg-bia-grey-light-50 opacity-60', activeError ? 'border-red-500 bg-red-50/20' : '', isDragging
4690
4698
  ? 'bg-blue-50/50 border-bia-blue'
4691
4699
  : !activeError &&
4692
4700
  'border-bia-grey-dark-10 hover:border-bia-blue hover:bg-gray-50') },
@@ -5387,8 +5395,8 @@ var buttonConfig = {
5387
5395
  var SidebarContainer = React.forwardRef(function (_a, ref) {
5388
5396
  var _b = _a.color, color = _b === void 0 ? 'margueriteblue-dark-30' : _b, children = _a.children, _c = _a.isMinimized, isMinimized = _c === void 0 ? false : _c, _d = _a.activeId, activeId = _d === void 0 ? undefined : _d, _e = _a.setActiveId, setActiveId = _e === void 0 ? function () { } : _e, _f = _a.className, className = _f === void 0 ? '' : _f, restProps = __rest(_a, ["color", "children", "isMinimized", "activeId", "setActiveId", "className"]);
5389
5397
  var minimizedState = isMinimized ? 'minimized' : 'maximized';
5390
- var containerClass = cn("bg-bia-".concat(color), containerSizeConfig[minimizedState]);
5391
- return (React.createElement("div", __assign({ ref: ref, className: cn('sidebar-container flex h-full flex-col justify-start py-[30px] overflow-hidden transition-[width,min-width] delay-200 ease-[cubic-bezier(0.68,-0.1,0.32,1.2)] duration-500', containerClass, className) }, restProps), React.Children.map(children, function (child) {
5398
+ var containerClass = cn$1("bg-bia-".concat(color), containerSizeConfig[minimizedState]);
5399
+ return (React.createElement("div", __assign({ ref: ref, className: cn$1('sidebar-container flex h-full flex-col justify-start py-[30px] overflow-hidden transition-[width,min-width] delay-200 ease-[cubic-bezier(0.68,-0.1,0.32,1.2)] duration-500', containerClass, className) }, restProps), React.Children.map(children, function (child) {
5392
5400
  return React.isValidElement(child)
5393
5401
  ? React.cloneElement(child, {
5394
5402
  isMinimized: isMinimized,
@@ -5411,11 +5419,11 @@ var SidebarMenu = function (_a) {
5411
5419
  React.createElement("div", { className: "relative flex h-[60px] w-full text-bia-white" },
5412
5420
  React.createElement("div", { className: "absolute left-0 top-[27.5px] px-[17px] ".concat(minimizedMenuClass) },
5413
5421
  React.createElement("div", { className: "h-[1px] w-full bg-white opacity-35" })),
5414
- React.createElement("div", { className: cn('transition-sidebar-item absolute bottom-[11px] flex w-full justify-between pr-[25px]', isMinimized ? 'pl-[58px]' : 'pl-[78px]') },
5415
- React.createElement(Text, { variant: "small-text", className: cn('truncate text-bia-white delay-[400ms]', isMinimized
5422
+ React.createElement("div", { className: cn$1('transition-sidebar-item absolute bottom-[11px] flex w-full justify-between pr-[25px]', isMinimized ? 'pl-[58px]' : 'pl-[78px]') },
5423
+ React.createElement(Text, { variant: "small-text", className: cn$1('truncate text-bia-white delay-[400ms]', isMinimized
5416
5424
  ? 'opacity-0 duration-300 ease-in-out'
5417
5425
  : 'opacity-75 delay-1000 duration-700 ease-in-out') }, "Menu"),
5418
- React.createElement(ContextualButton, { onClick: function () { return setIsAllExpanded(function (prev) { return !prev; }); }, icon: React.createElement(TbChevronsDown, { className: cn('truncate text-bia-white delay-[400ms]', isMinimized
5426
+ React.createElement(ContextualButton, { onClick: function () { return setIsAllExpanded(function (prev) { return !prev; }); }, icon: React.createElement(TbChevronsDown, { className: cn$1('truncate text-bia-white delay-[400ms]', isMinimized
5419
5427
  ? 'opacity-0 duration-300 ease-in-out'
5420
5428
  : 'opacity-100 delay-1000 duration-700 ease-in-out'), size: 18 }), className: "ml-auto opacity-50 duration-300 ease-in hover:opacity-100 ".concat(isAllExpanded ? 'rotate-180' : '') }))),
5421
5429
  React.Children.map(children, function (child) {
@@ -5479,8 +5487,8 @@ var SidebarItem = React.forwardRef(function (_a, ref) {
5479
5487
  : icon;
5480
5488
  var buttonClass = buttonConfig[level];
5481
5489
  var chevronClass = hasChildren ? 'inline-block' : 'hidden';
5482
- var itemClass = cn(itemConfig[containerState], isActive || isPathActive ? 'opacity-100' : 'opacity-75 hover:opacity-100', 'transition-sidebar-item');
5483
- var overlayClass = cn(overlaySizeConfig[containerState], isActive ? 'opacity-15' : 'opacity-0 group-hover:opacity-[0.08]');
5490
+ var itemClass = cn$1(itemConfig[containerState], isActive || isPathActive ? 'opacity-100' : 'opacity-75 hover:opacity-100', 'transition-sidebar-item');
5491
+ var overlayClass = cn$1(overlaySizeConfig[containerState], isActive ? 'opacity-15' : 'opacity-0 group-hover:opacity-[0.08]');
5484
5492
  var colorClass = "bg-bia-".concat(color);
5485
5493
  var renderChildren = function () {
5486
5494
  return React.Children.map(children, function (child) {
@@ -5514,12 +5522,12 @@ var SidebarItem = React.forwardRef(function (_a, ref) {
5514
5522
  };
5515
5523
  return (React.createElement("div", { className: "relative" },
5516
5524
  React.createElement("div", { className: "absolute left-[33px] top-[3px] flex h-5 w-5 items-center justify-center" },
5517
- React.createElement("div", { className: cn('rounded-radius-full bg-white', isMinimized && notificationCount === undefined
5525
+ React.createElement("div", { className: cn$1('rounded-radius-full bg-white', isMinimized && notificationCount === undefined
5518
5526
  ? sumNotificationCounts(children) > 0
5519
5527
  ? 'h-[6px] w-[6px] delay-[600ms] duration-300 ease-[cubic-bezier(0.68,-0.1,0.32,2)]'
5520
5528
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]'
5521
5529
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]') })),
5522
- React.createElement("div", { className: cn('sidebar-item relative flex h-fit items-center', itemClass) },
5530
+ React.createElement("div", { className: cn$1('sidebar-item relative flex h-fit items-center', itemClass) },
5523
5531
  level === 2 && (React.createElement("div", { className: "relative left-[39px] h-full w-[1px] bg-bia-white" })),
5524
5532
  React.createElement("div", { className: "group relative grow" },
5525
5533
  React.createElement("button", __assign({ ref: ref }, restProps, { onClick: function () {
@@ -5530,21 +5538,21 @@ var SidebarItem = React.forwardRef(function (_a, ref) {
5530
5538
  onClick === null || onClick === void 0 ? void 0 : onClick();
5531
5539
  setActiveId(id);
5532
5540
  }
5533
- }, className: cn('flex w-full items-center gap-x-5 p-2.5', buttonClass, className) }),
5541
+ }, className: cn$1('flex w-full items-center gap-x-5 p-2.5', buttonClass, className) }),
5534
5542
  level === 2 && (React.createElement("div", { className: "absolute left-[38px] h-full w-[1px] bg-bia-white" })),
5535
5543
  buttonIcon,
5536
- React.createElement(Text, { variant: "normal-text", className: cn('truncate text-bia-white delay-[400ms]', isMinimized
5544
+ React.createElement(Text, { variant: "normal-text", className: cn$1('truncate text-bia-white delay-[400ms]', isMinimized
5537
5545
  ? 'opacity-0 duration-300 ease-in-out'
5538
5546
  : 'opacity-100 delay-1000 duration-700 ease-in-out') }, title),
5539
- React.createElement("div", { className: cn('ml-auto flex items-center gap-x-[5px]', isMinimized
5547
+ React.createElement("div", { className: cn$1('ml-auto flex items-center gap-x-[5px]', isMinimized
5540
5548
  ? 'opacity-0 delay-200 duration-300 ease-in-out'
5541
5549
  : 'opacity-100 delay-[550ms] duration-500 ease-in-out') },
5542
5550
  (notificationCount !== undefined ||
5543
5551
  (!isChildExpanded &&
5544
5552
  sumNotificationCounts(children) > 0)) && (React.createElement(TagLabel, { text: notificationLabel, color: "white", size: "tn" })),
5545
- React.createElement("div", { className: cn(chevronClass) },
5546
- React.createElement(TbChevronRight, { className: cn('text-bia-white transition-transform duration-300 ease-in-out', isChildExpanded ? 'rotate-90' : ''), size: 18 })))),
5547
- React.createElement("div", { className: cn('pointer-events-none absolute inset-0 rounded-radius-lg bg-black transition-opacity duration-200', overlayClass) })),
5553
+ React.createElement("div", { className: cn$1(chevronClass) },
5554
+ React.createElement(TbChevronRight, { className: cn$1('text-bia-white transition-transform duration-300 ease-in-out', isChildExpanded ? 'rotate-90' : ''), size: 18 })))),
5555
+ React.createElement("div", { className: cn$1('pointer-events-none absolute inset-0 rounded-radius-lg bg-black transition-opacity duration-200', overlayClass) })),
5548
5556
  isActive && (React.createElement("div", { className: "absolute right-0 ml-auto h-full w-1 rounded-l-radius-md bg-bia-white" }))),
5549
5557
  !isMinimized && hasChildren && isChildExpanded && renderChildren(),
5550
5558
  React.createElement("div", { className: "dropdown-anchor absolute left-[60px] top-0", ref: childDropdownRef }),
@@ -5600,8 +5608,8 @@ var SidebarProfile = React.forwardRef(function (_a, ref) {
5600
5608
  };
5601
5609
  var buttonClass = "".concat(buttonConfig[0], " ").concat(profileSizeConfig[containerState]);
5602
5610
  var chevronClass = hasChildren ? 'inline-block' : 'hidden';
5603
- var profileClass = cn(profileConfig[containerState], isActive || isPathActive ? 'opacity-100' : 'opacity-75 hover:opacity-100', 'transition-sidebar-item');
5604
- var overlayClass = cn(overlaySizeConfig[containerState], isActive ? 'opacity-15' : 'opacity-0 group-hover:opacity-[0.08]');
5611
+ var profileClass = cn$1(profileConfig[containerState], isActive || isPathActive ? 'opacity-100' : 'opacity-75 hover:opacity-100', 'transition-sidebar-item');
5612
+ var overlayClass = cn$1(overlaySizeConfig[containerState], isActive ? 'opacity-15' : 'opacity-0 group-hover:opacity-[0.08]');
5605
5613
  var colorClass = "bg-bia-".concat(color);
5606
5614
  var renderChildren = function () {
5607
5615
  return React.Children.map(children, function (child) {
@@ -5632,12 +5640,12 @@ var SidebarProfile = React.forwardRef(function (_a, ref) {
5632
5640
  };
5633
5641
  return (React.createElement("div", { className: "relative" },
5634
5642
  React.createElement("div", { className: "absolute left-[33px] top-[3px] flex h-5 w-5 items-center justify-center" },
5635
- React.createElement("div", { className: cn('rounded-radius-full bg-white', isMinimized && notificationCount === undefined
5643
+ React.createElement("div", { className: cn$1('rounded-radius-full bg-white', isMinimized && notificationCount === undefined
5636
5644
  ? sumNotificationCounts(children) > 0
5637
5645
  ? 'h-[6px] w-[6px] delay-[600ms] duration-300 ease-[cubic-bezier(0.68,-0.1,0.32,2)]'
5638
5646
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]'
5639
5647
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]') })),
5640
- React.createElement("div", { className: cn('sidebar-item group/profile relative flex h-fit items-center', profileClass) },
5648
+ React.createElement("div", { className: cn$1('sidebar-item group/profile relative flex h-fit items-center', profileClass) },
5641
5649
  React.createElement("div", { className: "group relative grow" },
5642
5650
  React.createElement("button", __assign({ ref: ref }, restProps, { onClick: function () {
5643
5651
  if (hasChildren) {
@@ -5647,26 +5655,26 @@ var SidebarProfile = React.forwardRef(function (_a, ref) {
5647
5655
  onClick === null || onClick === void 0 ? void 0 : onClick();
5648
5656
  setActiveId(id);
5649
5657
  }
5650
- }, className: cn('cubic-bezier(0.68, -0.1, 0.32, 1.2) flex w-full items-center gap-x-2.5 delay-500 duration-300', buttonClass, className) }),
5658
+ }, className: cn$1('cubic-bezier(0.68, -0.1, 0.32, 1.2) flex w-full items-center gap-x-2.5 delay-500 duration-300', buttonClass, className) }),
5651
5659
  avatarImage,
5652
5660
  React.createElement("div", { className: "flex flex-col" },
5653
- React.createElement(Text, { variant: "normal-text", className: cn('truncate text-bia-white delay-[400ms]', isMinimized
5661
+ React.createElement(Text, { variant: "normal-text", className: cn$1('truncate text-bia-white delay-[400ms]', isMinimized
5654
5662
  ? 'opacity-0 duration-300 ease-in-out'
5655
5663
  : 'opacity-100 delay-1000 duration-700 ease-in-out') }, username),
5656
- React.createElement(Text, { variant: "small-text", className: cn('truncate text-left text-bia-white delay-[400ms]', isMinimized
5664
+ React.createElement(Text, { variant: "small-text", className: cn$1('truncate text-left text-bia-white delay-[400ms]', isMinimized
5657
5665
  ? 'opacity-0 duration-300 ease-in-out'
5658
5666
  : 'opacity-50 delay-1000 duration-700 ease-in-out') }, role)),
5659
- React.createElement("div", { className: cn('ml-auto flex items-center gap-x-[5px]', isMinimized
5667
+ React.createElement("div", { className: cn$1('ml-auto flex items-center gap-x-[5px]', isMinimized
5660
5668
  ? 'opacity-0 delay-200 duration-300 ease-in-out'
5661
5669
  : 'opacity-100 delay-[550ms] duration-500 ease-in-out') },
5662
5670
  (notificationCount !== undefined ||
5663
5671
  (!isChildExpanded &&
5664
5672
  sumNotificationCounts(children) > 0)) && (React.createElement(TagLabel, { text: notificationLabel, color: "white", size: "tn" })),
5665
- React.createElement("div", { className: cn(chevronClass) },
5666
- React.createElement(TbChevronRight, { className: cn('text-bia-white transition-transform duration-300 ease-in-out', isChildExpanded ? 'rotate-90' : '', isActive || isPathActive
5673
+ React.createElement("div", { className: cn$1(chevronClass) },
5674
+ React.createElement(TbChevronRight, { className: cn$1('text-bia-white transition-transform duration-300 ease-in-out', isChildExpanded ? 'rotate-90' : '', isActive || isPathActive
5667
5675
  ? 'opacity-100'
5668
5676
  : 'opacity-75 group-hover/profile:opacity-100'), size: 18 })))),
5669
- React.createElement("div", { className: cn('pointer-events-none absolute inset-0 rounded-radius-lg bg-black transition-opacity duration-200', overlayClass) })),
5677
+ React.createElement("div", { className: cn$1('pointer-events-none absolute inset-0 rounded-radius-lg bg-black transition-opacity duration-200', overlayClass) })),
5670
5678
  isActive && (React.createElement("div", { className: "absolute right-0 ml-auto h-full w-1 rounded-l-radius-md bg-bia-white" }))),
5671
5679
  !isMinimized && hasChildren && isChildExpanded && renderChildren(),
5672
5680
  React.createElement("div", { className: "dropdown-anchor absolute left-[60px] top-0", ref: childDropdownRef }),
@@ -5976,6 +5984,3334 @@ function Toaster(_a) {
5976
5984
  React.createElement(TbX, { size: 14 })))));
5977
5985
  }
5978
5986
 
5987
+ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
5988
+
5989
+ /**
5990
+ * Concatenates two arrays faster than the array spread operator.
5991
+ */
5992
+ const concatArrays = (array1, array2) => {
5993
+ // Pre-allocate for better V8 optimization
5994
+ const combinedArray = new Array(array1.length + array2.length);
5995
+ for (let i = 0; i < array1.length; i++) {
5996
+ combinedArray[i] = array1[i];
5997
+ }
5998
+ for (let i = 0; i < array2.length; i++) {
5999
+ combinedArray[array1.length + i] = array2[i];
6000
+ }
6001
+ return combinedArray;
6002
+ };
6003
+
6004
+ // Factory function ensures consistent object shapes
6005
+ const createClassValidatorObject = (classGroupId, validator) => ({
6006
+ classGroupId,
6007
+ validator
6008
+ });
6009
+ // Factory ensures consistent ClassPartObject shape
6010
+ const createClassPartObject = (nextPart = new Map(), validators = null, classGroupId) => ({
6011
+ nextPart,
6012
+ validators,
6013
+ classGroupId
6014
+ });
6015
+ const CLASS_PART_SEPARATOR = '-';
6016
+ const EMPTY_CONFLICTS = [];
6017
+ // I use two dots here because one dot is used as prefix for class groups in plugins
6018
+ const ARBITRARY_PROPERTY_PREFIX = 'arbitrary..';
6019
+ const createClassGroupUtils = config => {
6020
+ const classMap = createClassMap(config);
6021
+ const {
6022
+ conflictingClassGroups,
6023
+ conflictingClassGroupModifiers
6024
+ } = config;
6025
+ const getClassGroupId = className => {
6026
+ if (className.startsWith('[') && className.endsWith(']')) {
6027
+ return getGroupIdForArbitraryProperty(className);
6028
+ }
6029
+ const classParts = className.split(CLASS_PART_SEPARATOR);
6030
+ // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it.
6031
+ const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0;
6032
+ return getGroupRecursive(classParts, startIndex, classMap);
6033
+ };
6034
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
6035
+ if (hasPostfixModifier) {
6036
+ const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
6037
+ const baseConflicts = conflictingClassGroups[classGroupId];
6038
+ if (modifierConflicts) {
6039
+ if (baseConflicts) {
6040
+ // Merge base conflicts with modifier conflicts
6041
+ return concatArrays(baseConflicts, modifierConflicts);
6042
+ }
6043
+ // Only modifier conflicts
6044
+ return modifierConflicts;
6045
+ }
6046
+ // Fall back to without postfix if no modifier conflicts
6047
+ return baseConflicts || EMPTY_CONFLICTS;
6048
+ }
6049
+ return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
6050
+ };
6051
+ return {
6052
+ getClassGroupId,
6053
+ getConflictingClassGroupIds
6054
+ };
6055
+ };
6056
+ const getGroupRecursive = (classParts, startIndex, classPartObject) => {
6057
+ const classPathsLength = classParts.length - startIndex;
6058
+ if (classPathsLength === 0) {
6059
+ return classPartObject.classGroupId;
6060
+ }
6061
+ const currentClassPart = classParts[startIndex];
6062
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
6063
+ if (nextClassPartObject) {
6064
+ const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
6065
+ if (result) return result;
6066
+ }
6067
+ const validators = classPartObject.validators;
6068
+ if (validators === null) {
6069
+ return undefined;
6070
+ }
6071
+ // Build classRest string efficiently by joining from startIndex onwards
6072
+ const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
6073
+ const validatorsLength = validators.length;
6074
+ for (let i = 0; i < validatorsLength; i++) {
6075
+ const validatorObj = validators[i];
6076
+ if (validatorObj.validator(classRest)) {
6077
+ return validatorObj.classGroupId;
6078
+ }
6079
+ }
6080
+ return undefined;
6081
+ };
6082
+ /**
6083
+ * Get the class group ID for an arbitrary property.
6084
+ *
6085
+ * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
6086
+ */
6087
+ const getGroupIdForArbitraryProperty = className => className.slice(1, -1).indexOf(':') === -1 ? undefined : (() => {
6088
+ const content = className.slice(1, -1);
6089
+ const colonIndex = content.indexOf(':');
6090
+ const property = content.slice(0, colonIndex);
6091
+ return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined;
6092
+ })();
6093
+ /**
6094
+ * Exported for testing only
6095
+ */
6096
+ const createClassMap = config => {
6097
+ const {
6098
+ theme,
6099
+ classGroups
6100
+ } = config;
6101
+ return processClassGroups(classGroups, theme);
6102
+ };
6103
+ // Split into separate functions to maintain monomorphic call sites
6104
+ const processClassGroups = (classGroups, theme) => {
6105
+ const classMap = createClassPartObject();
6106
+ for (const classGroupId in classGroups) {
6107
+ const group = classGroups[classGroupId];
6108
+ processClassesRecursively(group, classMap, classGroupId, theme);
6109
+ }
6110
+ return classMap;
6111
+ };
6112
+ const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
6113
+ const len = classGroup.length;
6114
+ for (let i = 0; i < len; i++) {
6115
+ const classDefinition = classGroup[i];
6116
+ processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
6117
+ }
6118
+ };
6119
+ // Split into separate functions for each type to maintain monomorphic call sites
6120
+ const processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
6121
+ if (typeof classDefinition === 'string') {
6122
+ processStringDefinition(classDefinition, classPartObject, classGroupId);
6123
+ return;
6124
+ }
6125
+ if (typeof classDefinition === 'function') {
6126
+ processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
6127
+ return;
6128
+ }
6129
+ processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
6130
+ };
6131
+ const processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
6132
+ const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
6133
+ classPartObjectToEdit.classGroupId = classGroupId;
6134
+ };
6135
+ const processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
6136
+ if (isThemeGetter(classDefinition)) {
6137
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
6138
+ return;
6139
+ }
6140
+ if (classPartObject.validators === null) {
6141
+ classPartObject.validators = [];
6142
+ }
6143
+ classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
6144
+ };
6145
+ const processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
6146
+ const entries = Object.entries(classDefinition);
6147
+ const len = entries.length;
6148
+ for (let i = 0; i < len; i++) {
6149
+ const [key, value] = entries[i];
6150
+ processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
6151
+ }
6152
+ };
6153
+ const getPart = (classPartObject, path) => {
6154
+ let current = classPartObject;
6155
+ const parts = path.split(CLASS_PART_SEPARATOR);
6156
+ const len = parts.length;
6157
+ for (let i = 0; i < len; i++) {
6158
+ const part = parts[i];
6159
+ let next = current.nextPart.get(part);
6160
+ if (!next) {
6161
+ next = createClassPartObject();
6162
+ current.nextPart.set(part, next);
6163
+ }
6164
+ current = next;
6165
+ }
6166
+ return current;
6167
+ };
6168
+ // Type guard maintains monomorphic check
6169
+ const isThemeGetter = func => 'isThemeGetter' in func && func.isThemeGetter === true;
6170
+
6171
+ // LRU cache implementation using plain objects for simplicity
6172
+ const createLruCache = maxCacheSize => {
6173
+ if (maxCacheSize < 1) {
6174
+ return {
6175
+ get: () => undefined,
6176
+ set: () => {}
6177
+ };
6178
+ }
6179
+ let cacheSize = 0;
6180
+ let cache = Object.create(null);
6181
+ let previousCache = Object.create(null);
6182
+ const update = (key, value) => {
6183
+ cache[key] = value;
6184
+ cacheSize++;
6185
+ if (cacheSize > maxCacheSize) {
6186
+ cacheSize = 0;
6187
+ previousCache = cache;
6188
+ cache = Object.create(null);
6189
+ }
6190
+ };
6191
+ return {
6192
+ get(key) {
6193
+ let value = cache[key];
6194
+ if (value !== undefined) {
6195
+ return value;
6196
+ }
6197
+ if ((value = previousCache[key]) !== undefined) {
6198
+ update(key, value);
6199
+ return value;
6200
+ }
6201
+ },
6202
+ set(key, value) {
6203
+ if (key in cache) {
6204
+ cache[key] = value;
6205
+ } else {
6206
+ update(key, value);
6207
+ }
6208
+ }
6209
+ };
6210
+ };
6211
+ const IMPORTANT_MODIFIER = '!';
6212
+ const MODIFIER_SEPARATOR = ':';
6213
+ const EMPTY_MODIFIERS = [];
6214
+ // Pre-allocated result object shape for consistency
6215
+ const createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
6216
+ modifiers,
6217
+ hasImportantModifier,
6218
+ baseClassName,
6219
+ maybePostfixModifierPosition,
6220
+ isExternal
6221
+ });
6222
+ const createParseClassName = config => {
6223
+ const {
6224
+ prefix,
6225
+ experimentalParseClassName
6226
+ } = config;
6227
+ /**
6228
+ * Parse class name into parts.
6229
+ *
6230
+ * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
6231
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
6232
+ */
6233
+ let parseClassName = className => {
6234
+ // Use simple array with push for better performance
6235
+ const modifiers = [];
6236
+ let bracketDepth = 0;
6237
+ let parenDepth = 0;
6238
+ let modifierStart = 0;
6239
+ let postfixModifierPosition;
6240
+ const len = className.length;
6241
+ for (let index = 0; index < len; index++) {
6242
+ const currentCharacter = className[index];
6243
+ if (bracketDepth === 0 && parenDepth === 0) {
6244
+ if (currentCharacter === MODIFIER_SEPARATOR) {
6245
+ modifiers.push(className.slice(modifierStart, index));
6246
+ modifierStart = index + 1;
6247
+ continue;
6248
+ }
6249
+ if (currentCharacter === '/') {
6250
+ postfixModifierPosition = index;
6251
+ continue;
6252
+ }
6253
+ }
6254
+ if (currentCharacter === '[') bracketDepth++;else if (currentCharacter === ']') bracketDepth--;else if (currentCharacter === '(') parenDepth++;else if (currentCharacter === ')') parenDepth--;
6255
+ }
6256
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
6257
+ // Inline important modifier check
6258
+ let baseClassName = baseClassNameWithImportantModifier;
6259
+ let hasImportantModifier = false;
6260
+ if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
6261
+ baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
6262
+ hasImportantModifier = true;
6263
+ } else if (
6264
+ /**
6265
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
6266
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
6267
+ */
6268
+ baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
6269
+ baseClassName = baseClassNameWithImportantModifier.slice(1);
6270
+ hasImportantModifier = true;
6271
+ }
6272
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
6273
+ return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
6274
+ };
6275
+ if (prefix) {
6276
+ const fullPrefix = prefix + MODIFIER_SEPARATOR;
6277
+ const parseClassNameOriginal = parseClassName;
6278
+ parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true);
6279
+ }
6280
+ if (experimentalParseClassName) {
6281
+ const parseClassNameOriginal = parseClassName;
6282
+ parseClassName = className => experimentalParseClassName({
6283
+ className,
6284
+ parseClassName: parseClassNameOriginal
6285
+ });
6286
+ }
6287
+ return parseClassName;
6288
+ };
6289
+
6290
+ /**
6291
+ * Sorts modifiers according to following schema:
6292
+ * - Predefined modifiers are sorted alphabetically
6293
+ * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
6294
+ */
6295
+ const createSortModifiers = config => {
6296
+ // Pre-compute weights for all known modifiers for O(1) comparison
6297
+ const modifierWeights = new Map();
6298
+ // Assign weights to sensitive modifiers (highest priority, but preserve order)
6299
+ config.orderSensitiveModifiers.forEach((mod, index) => {
6300
+ modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods
6301
+ });
6302
+ return modifiers => {
6303
+ const result = [];
6304
+ let currentSegment = [];
6305
+ // Process modifiers in one pass
6306
+ for (let i = 0; i < modifiers.length; i++) {
6307
+ const modifier = modifiers[i];
6308
+ // Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)
6309
+ const isArbitrary = modifier[0] === '[';
6310
+ const isOrderSensitive = modifierWeights.has(modifier);
6311
+ if (isArbitrary || isOrderSensitive) {
6312
+ // Sort and flush current segment alphabetically
6313
+ if (currentSegment.length > 0) {
6314
+ currentSegment.sort();
6315
+ result.push(...currentSegment);
6316
+ currentSegment = [];
6317
+ }
6318
+ result.push(modifier);
6319
+ } else {
6320
+ // Regular modifier - add to current segment for batch sorting
6321
+ currentSegment.push(modifier);
6322
+ }
6323
+ }
6324
+ // Sort and add any remaining segment items
6325
+ if (currentSegment.length > 0) {
6326
+ currentSegment.sort();
6327
+ result.push(...currentSegment);
6328
+ }
6329
+ return result;
6330
+ };
6331
+ };
6332
+ const createConfigUtils = config => ({
6333
+ cache: createLruCache(config.cacheSize),
6334
+ parseClassName: createParseClassName(config),
6335
+ sortModifiers: createSortModifiers(config),
6336
+ postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),
6337
+ ...createClassGroupUtils(config)
6338
+ });
6339
+ const createPostfixLookupClassGroupIds = config => {
6340
+ const lookup = Object.create(null);
6341
+ const classGroupIds = config.postfixLookupClassGroups;
6342
+ if (classGroupIds) {
6343
+ for (let i = 0; i < classGroupIds.length; i++) {
6344
+ lookup[classGroupIds[i]] = true;
6345
+ }
6346
+ }
6347
+ return lookup;
6348
+ };
6349
+ const SPLIT_CLASSES_REGEX = /\s+/;
6350
+ const mergeClassList = (classList, configUtils) => {
6351
+ const {
6352
+ parseClassName,
6353
+ getClassGroupId,
6354
+ getConflictingClassGroupIds,
6355
+ sortModifiers,
6356
+ postfixLookupClassGroupIds
6357
+ } = configUtils;
6358
+ /**
6359
+ * Set of classGroupIds in following format:
6360
+ * `{importantModifier}{variantModifiers}{classGroupId}`
6361
+ * @example 'float'
6362
+ * @example 'hover:focus:bg-color'
6363
+ * @example 'md:!pr'
6364
+ */
6365
+ const classGroupsInConflict = [];
6366
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
6367
+ let result = '';
6368
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
6369
+ const originalClassName = classNames[index];
6370
+ const {
6371
+ isExternal,
6372
+ modifiers,
6373
+ hasImportantModifier,
6374
+ baseClassName,
6375
+ maybePostfixModifierPosition
6376
+ } = parseClassName(originalClassName);
6377
+ if (isExternal) {
6378
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
6379
+ continue;
6380
+ }
6381
+ let hasPostfixModifier = !!maybePostfixModifierPosition;
6382
+ let classGroupId;
6383
+ if (hasPostfixModifier) {
6384
+ const baseClassNameWithoutPostfix = baseClassName.substring(0, maybePostfixModifierPosition);
6385
+ classGroupId = getClassGroupId(baseClassNameWithoutPostfix);
6386
+ const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : undefined;
6387
+ if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {
6388
+ classGroupId = classGroupIdWithPostfix;
6389
+ hasPostfixModifier = false;
6390
+ }
6391
+ } else {
6392
+ classGroupId = getClassGroupId(baseClassName);
6393
+ }
6394
+ if (!classGroupId) {
6395
+ if (!hasPostfixModifier) {
6396
+ // Not a Tailwind class
6397
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
6398
+ continue;
6399
+ }
6400
+ classGroupId = getClassGroupId(baseClassName);
6401
+ if (!classGroupId) {
6402
+ // Not a Tailwind class
6403
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
6404
+ continue;
6405
+ }
6406
+ hasPostfixModifier = false;
6407
+ }
6408
+ // Fast path: skip sorting for empty or single modifier
6409
+ const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':');
6410
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
6411
+ const classId = modifierId + classGroupId;
6412
+ if (classGroupsInConflict.indexOf(classId) > -1) {
6413
+ // Tailwind class omitted due to conflict
6414
+ continue;
6415
+ }
6416
+ classGroupsInConflict.push(classId);
6417
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
6418
+ for (let i = 0; i < conflictGroups.length; ++i) {
6419
+ const group = conflictGroups[i];
6420
+ classGroupsInConflict.push(modifierId + group);
6421
+ }
6422
+ // Tailwind class not in conflict
6423
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
6424
+ }
6425
+ return result;
6426
+ };
6427
+
6428
+ /**
6429
+ * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
6430
+ *
6431
+ * Specifically:
6432
+ * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
6433
+ * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
6434
+ *
6435
+ * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
6436
+ */
6437
+ const twJoin = (...classLists) => {
6438
+ let index = 0;
6439
+ let argument;
6440
+ let resolvedValue;
6441
+ let string = '';
6442
+ while (index < classLists.length) {
6443
+ if (argument = classLists[index++]) {
6444
+ if (resolvedValue = toValue(argument)) {
6445
+ string && (string += ' ');
6446
+ string += resolvedValue;
6447
+ }
6448
+ }
6449
+ }
6450
+ return string;
6451
+ };
6452
+ const toValue = mix => {
6453
+ // Fast path for strings
6454
+ if (typeof mix === 'string') {
6455
+ return mix;
6456
+ }
6457
+ let resolvedValue;
6458
+ let string = '';
6459
+ for (let k = 0; k < mix.length; k++) {
6460
+ if (mix[k]) {
6461
+ if (resolvedValue = toValue(mix[k])) {
6462
+ string && (string += ' ');
6463
+ string += resolvedValue;
6464
+ }
6465
+ }
6466
+ }
6467
+ return string;
6468
+ };
6469
+ const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
6470
+ let configUtils;
6471
+ let cacheGet;
6472
+ let cacheSet;
6473
+ let functionToCall;
6474
+ const initTailwindMerge = classList => {
6475
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
6476
+ configUtils = createConfigUtils(config);
6477
+ cacheGet = configUtils.cache.get;
6478
+ cacheSet = configUtils.cache.set;
6479
+ functionToCall = tailwindMerge;
6480
+ return tailwindMerge(classList);
6481
+ };
6482
+ const tailwindMerge = classList => {
6483
+ const cachedResult = cacheGet(classList);
6484
+ if (cachedResult) {
6485
+ return cachedResult;
6486
+ }
6487
+ const result = mergeClassList(classList, configUtils);
6488
+ cacheSet(classList, result);
6489
+ return result;
6490
+ };
6491
+ functionToCall = initTailwindMerge;
6492
+ return (...args) => functionToCall(twJoin(...args));
6493
+ };
6494
+ const fallbackThemeArr = [];
6495
+ const fromTheme = key => {
6496
+ const themeGetter = theme => theme[key] || fallbackThemeArr;
6497
+ themeGetter.isThemeGetter = true;
6498
+ return themeGetter;
6499
+ };
6500
+ const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
6501
+ const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
6502
+ const fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
6503
+ const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
6504
+ const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
6505
+ const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
6506
+ // Shadow always begins with x and y offset separated by underscore optionally prepended by inset
6507
+ const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
6508
+ const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
6509
+ const isFraction = value => fractionRegex.test(value);
6510
+ const isNumber = value => !!value && !Number.isNaN(Number(value));
6511
+ const isInteger = value => !!value && Number.isInteger(Number(value));
6512
+ const isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));
6513
+ const isTshirtSize = value => tshirtUnitRegex.test(value);
6514
+ const isAny = () => true;
6515
+ const isLengthOnly = value =>
6516
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
6517
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
6518
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
6519
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
6520
+ const isNever = () => false;
6521
+ const isShadow = value => shadowRegex.test(value);
6522
+ const isImage = value => imageRegex.test(value);
6523
+ const isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);
6524
+ const isNamedContainerQuery = value => value.startsWith('@container') && (value[10] === '/' && value[11] !== undefined || value[11] === 's' && value[16] !== undefined && value.startsWith('-size/', 10) || value[11] === 'n' && value[18] !== undefined && value.startsWith('-normal/', 10));
6525
+ const isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);
6526
+ const isArbitraryValue = value => arbitraryValueRegex.test(value);
6527
+ const isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
6528
+ const isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);
6529
+ const isArbitraryWeight = value => getIsArbitraryValue(value, isLabelWeight, isAny);
6530
+ const isArbitraryFamilyName = value => getIsArbitraryValue(value, isLabelFamilyName, isNever);
6531
+ const isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);
6532
+ const isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);
6533
+ const isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);
6534
+ const isArbitraryVariable = value => arbitraryVariableRegex.test(value);
6535
+ const isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);
6536
+ const isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);
6537
+ const isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);
6538
+ const isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);
6539
+ const isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);
6540
+ const isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);
6541
+ const isArbitraryVariableWeight = value => getIsArbitraryVariable(value, isLabelWeight, true);
6542
+ // Helpers
6543
+ const getIsArbitraryValue = (value, testLabel, testValue) => {
6544
+ const result = arbitraryValueRegex.exec(value);
6545
+ if (result) {
6546
+ if (result[1]) {
6547
+ return testLabel(result[1]);
6548
+ }
6549
+ return testValue(result[2]);
6550
+ }
6551
+ return false;
6552
+ };
6553
+ const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
6554
+ const result = arbitraryVariableRegex.exec(value);
6555
+ if (result) {
6556
+ if (result[1]) {
6557
+ return testLabel(result[1]);
6558
+ }
6559
+ return shouldMatchNoLabel;
6560
+ }
6561
+ return false;
6562
+ };
6563
+ // Labels
6564
+ const isLabelPosition = label => label === 'position' || label === 'percentage';
6565
+ const isLabelImage = label => label === 'image' || label === 'url';
6566
+ const isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';
6567
+ const isLabelLength = label => label === 'length';
6568
+ const isLabelNumber = label => label === 'number';
6569
+ const isLabelFamilyName = label => label === 'family-name';
6570
+ const isLabelWeight = label => label === 'number' || label === 'weight';
6571
+ const isLabelShadow = label => label === 'shadow';
6572
+ const getDefaultConfig = () => {
6573
+ /**
6574
+ * Theme getters for theme variable namespaces
6575
+ * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
6576
+ */
6577
+ /***/
6578
+ const themeColor = fromTheme('color');
6579
+ const themeFont = fromTheme('font');
6580
+ const themeText = fromTheme('text');
6581
+ const themeFontWeight = fromTheme('font-weight');
6582
+ const themeTracking = fromTheme('tracking');
6583
+ const themeLeading = fromTheme('leading');
6584
+ const themeBreakpoint = fromTheme('breakpoint');
6585
+ const themeContainer = fromTheme('container');
6586
+ const themeSpacing = fromTheme('spacing');
6587
+ const themeRadius = fromTheme('radius');
6588
+ const themeShadow = fromTheme('shadow');
6589
+ const themeInsetShadow = fromTheme('inset-shadow');
6590
+ const themeTextShadow = fromTheme('text-shadow');
6591
+ const themeDropShadow = fromTheme('drop-shadow');
6592
+ const themeBlur = fromTheme('blur');
6593
+ const themePerspective = fromTheme('perspective');
6594
+ const themeAspect = fromTheme('aspect');
6595
+ const themeEase = fromTheme('ease');
6596
+ const themeAnimate = fromTheme('animate');
6597
+ /**
6598
+ * Helpers to avoid repeating the same scales
6599
+ *
6600
+ * We use functions that create a new array every time they're called instead of static arrays.
6601
+ * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
6602
+ */
6603
+ /***/
6604
+ const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
6605
+ const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',
6606
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
6607
+ 'left-top', 'top-right',
6608
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
6609
+ 'right-top', 'bottom-right',
6610
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
6611
+ 'right-bottom', 'bottom-left',
6612
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
6613
+ 'left-bottom'];
6614
+ const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];
6615
+ const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];
6616
+ const scaleOverscroll = () => ['auto', 'contain', 'none'];
6617
+ const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
6618
+ const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];
6619
+ const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];
6620
+ const scaleGridColRowStartAndEnd = () => ['auto', {
6621
+ span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]
6622
+ }, isInteger, isArbitraryVariable, isArbitraryValue];
6623
+ const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];
6624
+ const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];
6625
+ const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];
6626
+ const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];
6627
+ const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];
6628
+ const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
6629
+ const scaleSizingInline = () => [isFraction, 'screen', 'full', 'dvw', 'lvw', 'svw', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
6630
+ const scaleSizingBlock = () => [isFraction, 'screen', 'full', 'lh', 'dvh', 'lvh', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
6631
+ const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
6632
+ const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {
6633
+ position: [isArbitraryVariable, isArbitraryValue]
6634
+ }];
6635
+ const scaleBgRepeat = () => ['no-repeat', {
6636
+ repeat: ['', 'x', 'y', 'space', 'round']
6637
+ }];
6638
+ const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {
6639
+ size: [isArbitraryVariable, isArbitraryValue]
6640
+ }];
6641
+ const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];
6642
+ const scaleRadius = () => [
6643
+ // Deprecated since Tailwind CSS v4.0.0
6644
+ '', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];
6645
+ const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];
6646
+ const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];
6647
+ const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
6648
+ const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];
6649
+ const scaleBlur = () => [
6650
+ // Deprecated since Tailwind CSS v4.0.0
6651
+ '', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];
6652
+ const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
6653
+ const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
6654
+ const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];
6655
+ const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];
6656
+ return {
6657
+ cacheSize: 500,
6658
+ theme: {
6659
+ animate: ['spin', 'ping', 'pulse', 'bounce'],
6660
+ aspect: ['video'],
6661
+ blur: [isTshirtSize],
6662
+ breakpoint: [isTshirtSize],
6663
+ color: [isAny],
6664
+ container: [isTshirtSize],
6665
+ 'drop-shadow': [isTshirtSize],
6666
+ ease: ['in', 'out', 'in-out'],
6667
+ font: [isAnyNonArbitrary],
6668
+ 'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],
6669
+ 'inset-shadow': [isTshirtSize],
6670
+ leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],
6671
+ perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],
6672
+ radius: [isTshirtSize],
6673
+ shadow: [isTshirtSize],
6674
+ spacing: ['px', isNumber],
6675
+ text: [isTshirtSize],
6676
+ 'text-shadow': [isTshirtSize],
6677
+ tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']
6678
+ },
6679
+ classGroups: {
6680
+ // --------------
6681
+ // --- Layout ---
6682
+ // --------------
6683
+ /**
6684
+ * Aspect Ratio
6685
+ * @see https://tailwindcss.com/docs/aspect-ratio
6686
+ */
6687
+ aspect: [{
6688
+ aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]
6689
+ }],
6690
+ /**
6691
+ * Container
6692
+ * @see https://tailwindcss.com/docs/container
6693
+ * @deprecated since Tailwind CSS v4.0.0
6694
+ */
6695
+ container: ['container'],
6696
+ /**
6697
+ * Container Type
6698
+ * @see https://tailwindcss.com/docs/responsive-design#container-queries
6699
+ */
6700
+ 'container-type': [{
6701
+ '@container': ['', 'normal', 'size', isArbitraryVariable, isArbitraryValue]
6702
+ }],
6703
+ /**
6704
+ * Container Name
6705
+ * @see https://tailwindcss.com/docs/responsive-design#named-containers
6706
+ */
6707
+ 'container-named': [isNamedContainerQuery],
6708
+ /**
6709
+ * Columns
6710
+ * @see https://tailwindcss.com/docs/columns
6711
+ */
6712
+ columns: [{
6713
+ columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]
6714
+ }],
6715
+ /**
6716
+ * Break After
6717
+ * @see https://tailwindcss.com/docs/break-after
6718
+ */
6719
+ 'break-after': [{
6720
+ 'break-after': scaleBreak()
6721
+ }],
6722
+ /**
6723
+ * Break Before
6724
+ * @see https://tailwindcss.com/docs/break-before
6725
+ */
6726
+ 'break-before': [{
6727
+ 'break-before': scaleBreak()
6728
+ }],
6729
+ /**
6730
+ * Break Inside
6731
+ * @see https://tailwindcss.com/docs/break-inside
6732
+ */
6733
+ 'break-inside': [{
6734
+ 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
6735
+ }],
6736
+ /**
6737
+ * Box Decoration Break
6738
+ * @see https://tailwindcss.com/docs/box-decoration-break
6739
+ */
6740
+ 'box-decoration': [{
6741
+ 'box-decoration': ['slice', 'clone']
6742
+ }],
6743
+ /**
6744
+ * Box Sizing
6745
+ * @see https://tailwindcss.com/docs/box-sizing
6746
+ */
6747
+ box: [{
6748
+ box: ['border', 'content']
6749
+ }],
6750
+ /**
6751
+ * Display
6752
+ * @see https://tailwindcss.com/docs/display
6753
+ */
6754
+ display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],
6755
+ /**
6756
+ * Screen Reader Only
6757
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
6758
+ */
6759
+ sr: ['sr-only', 'not-sr-only'],
6760
+ /**
6761
+ * Floats
6762
+ * @see https://tailwindcss.com/docs/float
6763
+ */
6764
+ float: [{
6765
+ float: ['right', 'left', 'none', 'start', 'end']
6766
+ }],
6767
+ /**
6768
+ * Clear
6769
+ * @see https://tailwindcss.com/docs/clear
6770
+ */
6771
+ clear: [{
6772
+ clear: ['left', 'right', 'both', 'none', 'start', 'end']
6773
+ }],
6774
+ /**
6775
+ * Isolation
6776
+ * @see https://tailwindcss.com/docs/isolation
6777
+ */
6778
+ isolation: ['isolate', 'isolation-auto'],
6779
+ /**
6780
+ * Object Fit
6781
+ * @see https://tailwindcss.com/docs/object-fit
6782
+ */
6783
+ 'object-fit': [{
6784
+ object: ['contain', 'cover', 'fill', 'none', 'scale-down']
6785
+ }],
6786
+ /**
6787
+ * Object Position
6788
+ * @see https://tailwindcss.com/docs/object-position
6789
+ */
6790
+ 'object-position': [{
6791
+ object: scalePositionWithArbitrary()
6792
+ }],
6793
+ /**
6794
+ * Overflow
6795
+ * @see https://tailwindcss.com/docs/overflow
6796
+ */
6797
+ overflow: [{
6798
+ overflow: scaleOverflow()
6799
+ }],
6800
+ /**
6801
+ * Overflow X
6802
+ * @see https://tailwindcss.com/docs/overflow
6803
+ */
6804
+ 'overflow-x': [{
6805
+ 'overflow-x': scaleOverflow()
6806
+ }],
6807
+ /**
6808
+ * Overflow Y
6809
+ * @see https://tailwindcss.com/docs/overflow
6810
+ */
6811
+ 'overflow-y': [{
6812
+ 'overflow-y': scaleOverflow()
6813
+ }],
6814
+ /**
6815
+ * Overscroll Behavior
6816
+ * @see https://tailwindcss.com/docs/overscroll-behavior
6817
+ */
6818
+ overscroll: [{
6819
+ overscroll: scaleOverscroll()
6820
+ }],
6821
+ /**
6822
+ * Overscroll Behavior X
6823
+ * @see https://tailwindcss.com/docs/overscroll-behavior
6824
+ */
6825
+ 'overscroll-x': [{
6826
+ 'overscroll-x': scaleOverscroll()
6827
+ }],
6828
+ /**
6829
+ * Overscroll Behavior Y
6830
+ * @see https://tailwindcss.com/docs/overscroll-behavior
6831
+ */
6832
+ 'overscroll-y': [{
6833
+ 'overscroll-y': scaleOverscroll()
6834
+ }],
6835
+ /**
6836
+ * Position
6837
+ * @see https://tailwindcss.com/docs/position
6838
+ */
6839
+ position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
6840
+ /**
6841
+ * Inset
6842
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6843
+ */
6844
+ inset: [{
6845
+ inset: scaleInset()
6846
+ }],
6847
+ /**
6848
+ * Inset Inline
6849
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6850
+ */
6851
+ 'inset-x': [{
6852
+ 'inset-x': scaleInset()
6853
+ }],
6854
+ /**
6855
+ * Inset Block
6856
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6857
+ */
6858
+ 'inset-y': [{
6859
+ 'inset-y': scaleInset()
6860
+ }],
6861
+ /**
6862
+ * Inset Inline Start
6863
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6864
+ * @todo class group will be renamed to `inset-s` in next major release
6865
+ */
6866
+ start: [{
6867
+ 'inset-s': scaleInset(),
6868
+ /**
6869
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
6870
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
6871
+ */
6872
+ start: scaleInset()
6873
+ }],
6874
+ /**
6875
+ * Inset Inline End
6876
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6877
+ * @todo class group will be renamed to `inset-e` in next major release
6878
+ */
6879
+ end: [{
6880
+ 'inset-e': scaleInset(),
6881
+ /**
6882
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
6883
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
6884
+ */
6885
+ end: scaleInset()
6886
+ }],
6887
+ /**
6888
+ * Inset Block Start
6889
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6890
+ */
6891
+ 'inset-bs': [{
6892
+ 'inset-bs': scaleInset()
6893
+ }],
6894
+ /**
6895
+ * Inset Block End
6896
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6897
+ */
6898
+ 'inset-be': [{
6899
+ 'inset-be': scaleInset()
6900
+ }],
6901
+ /**
6902
+ * Top
6903
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6904
+ */
6905
+ top: [{
6906
+ top: scaleInset()
6907
+ }],
6908
+ /**
6909
+ * Right
6910
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6911
+ */
6912
+ right: [{
6913
+ right: scaleInset()
6914
+ }],
6915
+ /**
6916
+ * Bottom
6917
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6918
+ */
6919
+ bottom: [{
6920
+ bottom: scaleInset()
6921
+ }],
6922
+ /**
6923
+ * Left
6924
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
6925
+ */
6926
+ left: [{
6927
+ left: scaleInset()
6928
+ }],
6929
+ /**
6930
+ * Visibility
6931
+ * @see https://tailwindcss.com/docs/visibility
6932
+ */
6933
+ visibility: ['visible', 'invisible', 'collapse'],
6934
+ /**
6935
+ * Z-Index
6936
+ * @see https://tailwindcss.com/docs/z-index
6937
+ */
6938
+ z: [{
6939
+ z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]
6940
+ }],
6941
+ // ------------------------
6942
+ // --- Flexbox and Grid ---
6943
+ // ------------------------
6944
+ /**
6945
+ * Flex Basis
6946
+ * @see https://tailwindcss.com/docs/flex-basis
6947
+ */
6948
+ basis: [{
6949
+ basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]
6950
+ }],
6951
+ /**
6952
+ * Flex Direction
6953
+ * @see https://tailwindcss.com/docs/flex-direction
6954
+ */
6955
+ 'flex-direction': [{
6956
+ flex: ['row', 'row-reverse', 'col', 'col-reverse']
6957
+ }],
6958
+ /**
6959
+ * Flex Wrap
6960
+ * @see https://tailwindcss.com/docs/flex-wrap
6961
+ */
6962
+ 'flex-wrap': [{
6963
+ flex: ['nowrap', 'wrap', 'wrap-reverse']
6964
+ }],
6965
+ /**
6966
+ * Flex
6967
+ * @see https://tailwindcss.com/docs/flex
6968
+ */
6969
+ flex: [{
6970
+ flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]
6971
+ }],
6972
+ /**
6973
+ * Flex Grow
6974
+ * @see https://tailwindcss.com/docs/flex-grow
6975
+ */
6976
+ grow: [{
6977
+ grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]
6978
+ }],
6979
+ /**
6980
+ * Flex Shrink
6981
+ * @see https://tailwindcss.com/docs/flex-shrink
6982
+ */
6983
+ shrink: [{
6984
+ shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]
6985
+ }],
6986
+ /**
6987
+ * Order
6988
+ * @see https://tailwindcss.com/docs/order
6989
+ */
6990
+ order: [{
6991
+ order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]
6992
+ }],
6993
+ /**
6994
+ * Grid Template Columns
6995
+ * @see https://tailwindcss.com/docs/grid-template-columns
6996
+ */
6997
+ 'grid-cols': [{
6998
+ 'grid-cols': scaleGridTemplateColsRows()
6999
+ }],
7000
+ /**
7001
+ * Grid Column Start / End
7002
+ * @see https://tailwindcss.com/docs/grid-column
7003
+ */
7004
+ 'col-start-end': [{
7005
+ col: scaleGridColRowStartAndEnd()
7006
+ }],
7007
+ /**
7008
+ * Grid Column Start
7009
+ * @see https://tailwindcss.com/docs/grid-column
7010
+ */
7011
+ 'col-start': [{
7012
+ 'col-start': scaleGridColRowStartOrEnd()
7013
+ }],
7014
+ /**
7015
+ * Grid Column End
7016
+ * @see https://tailwindcss.com/docs/grid-column
7017
+ */
7018
+ 'col-end': [{
7019
+ 'col-end': scaleGridColRowStartOrEnd()
7020
+ }],
7021
+ /**
7022
+ * Grid Template Rows
7023
+ * @see https://tailwindcss.com/docs/grid-template-rows
7024
+ */
7025
+ 'grid-rows': [{
7026
+ 'grid-rows': scaleGridTemplateColsRows()
7027
+ }],
7028
+ /**
7029
+ * Grid Row Start / End
7030
+ * @see https://tailwindcss.com/docs/grid-row
7031
+ */
7032
+ 'row-start-end': [{
7033
+ row: scaleGridColRowStartAndEnd()
7034
+ }],
7035
+ /**
7036
+ * Grid Row Start
7037
+ * @see https://tailwindcss.com/docs/grid-row
7038
+ */
7039
+ 'row-start': [{
7040
+ 'row-start': scaleGridColRowStartOrEnd()
7041
+ }],
7042
+ /**
7043
+ * Grid Row End
7044
+ * @see https://tailwindcss.com/docs/grid-row
7045
+ */
7046
+ 'row-end': [{
7047
+ 'row-end': scaleGridColRowStartOrEnd()
7048
+ }],
7049
+ /**
7050
+ * Grid Auto Flow
7051
+ * @see https://tailwindcss.com/docs/grid-auto-flow
7052
+ */
7053
+ 'grid-flow': [{
7054
+ 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
7055
+ }],
7056
+ /**
7057
+ * Grid Auto Columns
7058
+ * @see https://tailwindcss.com/docs/grid-auto-columns
7059
+ */
7060
+ 'auto-cols': [{
7061
+ 'auto-cols': scaleGridAutoColsRows()
7062
+ }],
7063
+ /**
7064
+ * Grid Auto Rows
7065
+ * @see https://tailwindcss.com/docs/grid-auto-rows
7066
+ */
7067
+ 'auto-rows': [{
7068
+ 'auto-rows': scaleGridAutoColsRows()
7069
+ }],
7070
+ /**
7071
+ * Gap
7072
+ * @see https://tailwindcss.com/docs/gap
7073
+ */
7074
+ gap: [{
7075
+ gap: scaleUnambiguousSpacing()
7076
+ }],
7077
+ /**
7078
+ * Gap X
7079
+ * @see https://tailwindcss.com/docs/gap
7080
+ */
7081
+ 'gap-x': [{
7082
+ 'gap-x': scaleUnambiguousSpacing()
7083
+ }],
7084
+ /**
7085
+ * Gap Y
7086
+ * @see https://tailwindcss.com/docs/gap
7087
+ */
7088
+ 'gap-y': [{
7089
+ 'gap-y': scaleUnambiguousSpacing()
7090
+ }],
7091
+ /**
7092
+ * Justify Content
7093
+ * @see https://tailwindcss.com/docs/justify-content
7094
+ */
7095
+ 'justify-content': [{
7096
+ justify: [...scaleAlignPrimaryAxis(), 'normal']
7097
+ }],
7098
+ /**
7099
+ * Justify Items
7100
+ * @see https://tailwindcss.com/docs/justify-items
7101
+ */
7102
+ 'justify-items': [{
7103
+ 'justify-items': [...scaleAlignSecondaryAxis(), 'normal']
7104
+ }],
7105
+ /**
7106
+ * Justify Self
7107
+ * @see https://tailwindcss.com/docs/justify-self
7108
+ */
7109
+ 'justify-self': [{
7110
+ 'justify-self': ['auto', ...scaleAlignSecondaryAxis()]
7111
+ }],
7112
+ /**
7113
+ * Align Content
7114
+ * @see https://tailwindcss.com/docs/align-content
7115
+ */
7116
+ 'align-content': [{
7117
+ content: ['normal', ...scaleAlignPrimaryAxis()]
7118
+ }],
7119
+ /**
7120
+ * Align Items
7121
+ * @see https://tailwindcss.com/docs/align-items
7122
+ */
7123
+ 'align-items': [{
7124
+ items: [...scaleAlignSecondaryAxis(), {
7125
+ baseline: ['', 'last']
7126
+ }]
7127
+ }],
7128
+ /**
7129
+ * Align Self
7130
+ * @see https://tailwindcss.com/docs/align-self
7131
+ */
7132
+ 'align-self': [{
7133
+ self: ['auto', ...scaleAlignSecondaryAxis(), {
7134
+ baseline: ['', 'last']
7135
+ }]
7136
+ }],
7137
+ /**
7138
+ * Place Content
7139
+ * @see https://tailwindcss.com/docs/place-content
7140
+ */
7141
+ 'place-content': [{
7142
+ 'place-content': scaleAlignPrimaryAxis()
7143
+ }],
7144
+ /**
7145
+ * Place Items
7146
+ * @see https://tailwindcss.com/docs/place-items
7147
+ */
7148
+ 'place-items': [{
7149
+ 'place-items': [...scaleAlignSecondaryAxis(), 'baseline']
7150
+ }],
7151
+ /**
7152
+ * Place Self
7153
+ * @see https://tailwindcss.com/docs/place-self
7154
+ */
7155
+ 'place-self': [{
7156
+ 'place-self': ['auto', ...scaleAlignSecondaryAxis()]
7157
+ }],
7158
+ // Spacing
7159
+ /**
7160
+ * Padding
7161
+ * @see https://tailwindcss.com/docs/padding
7162
+ */
7163
+ p: [{
7164
+ p: scaleUnambiguousSpacing()
7165
+ }],
7166
+ /**
7167
+ * Padding Inline
7168
+ * @see https://tailwindcss.com/docs/padding
7169
+ */
7170
+ px: [{
7171
+ px: scaleUnambiguousSpacing()
7172
+ }],
7173
+ /**
7174
+ * Padding Block
7175
+ * @see https://tailwindcss.com/docs/padding
7176
+ */
7177
+ py: [{
7178
+ py: scaleUnambiguousSpacing()
7179
+ }],
7180
+ /**
7181
+ * Padding Inline Start
7182
+ * @see https://tailwindcss.com/docs/padding
7183
+ */
7184
+ ps: [{
7185
+ ps: scaleUnambiguousSpacing()
7186
+ }],
7187
+ /**
7188
+ * Padding Inline End
7189
+ * @see https://tailwindcss.com/docs/padding
7190
+ */
7191
+ pe: [{
7192
+ pe: scaleUnambiguousSpacing()
7193
+ }],
7194
+ /**
7195
+ * Padding Block Start
7196
+ * @see https://tailwindcss.com/docs/padding
7197
+ */
7198
+ pbs: [{
7199
+ pbs: scaleUnambiguousSpacing()
7200
+ }],
7201
+ /**
7202
+ * Padding Block End
7203
+ * @see https://tailwindcss.com/docs/padding
7204
+ */
7205
+ pbe: [{
7206
+ pbe: scaleUnambiguousSpacing()
7207
+ }],
7208
+ /**
7209
+ * Padding Top
7210
+ * @see https://tailwindcss.com/docs/padding
7211
+ */
7212
+ pt: [{
7213
+ pt: scaleUnambiguousSpacing()
7214
+ }],
7215
+ /**
7216
+ * Padding Right
7217
+ * @see https://tailwindcss.com/docs/padding
7218
+ */
7219
+ pr: [{
7220
+ pr: scaleUnambiguousSpacing()
7221
+ }],
7222
+ /**
7223
+ * Padding Bottom
7224
+ * @see https://tailwindcss.com/docs/padding
7225
+ */
7226
+ pb: [{
7227
+ pb: scaleUnambiguousSpacing()
7228
+ }],
7229
+ /**
7230
+ * Padding Left
7231
+ * @see https://tailwindcss.com/docs/padding
7232
+ */
7233
+ pl: [{
7234
+ pl: scaleUnambiguousSpacing()
7235
+ }],
7236
+ /**
7237
+ * Margin
7238
+ * @see https://tailwindcss.com/docs/margin
7239
+ */
7240
+ m: [{
7241
+ m: scaleMargin()
7242
+ }],
7243
+ /**
7244
+ * Margin Inline
7245
+ * @see https://tailwindcss.com/docs/margin
7246
+ */
7247
+ mx: [{
7248
+ mx: scaleMargin()
7249
+ }],
7250
+ /**
7251
+ * Margin Block
7252
+ * @see https://tailwindcss.com/docs/margin
7253
+ */
7254
+ my: [{
7255
+ my: scaleMargin()
7256
+ }],
7257
+ /**
7258
+ * Margin Inline Start
7259
+ * @see https://tailwindcss.com/docs/margin
7260
+ */
7261
+ ms: [{
7262
+ ms: scaleMargin()
7263
+ }],
7264
+ /**
7265
+ * Margin Inline End
7266
+ * @see https://tailwindcss.com/docs/margin
7267
+ */
7268
+ me: [{
7269
+ me: scaleMargin()
7270
+ }],
7271
+ /**
7272
+ * Margin Block Start
7273
+ * @see https://tailwindcss.com/docs/margin
7274
+ */
7275
+ mbs: [{
7276
+ mbs: scaleMargin()
7277
+ }],
7278
+ /**
7279
+ * Margin Block End
7280
+ * @see https://tailwindcss.com/docs/margin
7281
+ */
7282
+ mbe: [{
7283
+ mbe: scaleMargin()
7284
+ }],
7285
+ /**
7286
+ * Margin Top
7287
+ * @see https://tailwindcss.com/docs/margin
7288
+ */
7289
+ mt: [{
7290
+ mt: scaleMargin()
7291
+ }],
7292
+ /**
7293
+ * Margin Right
7294
+ * @see https://tailwindcss.com/docs/margin
7295
+ */
7296
+ mr: [{
7297
+ mr: scaleMargin()
7298
+ }],
7299
+ /**
7300
+ * Margin Bottom
7301
+ * @see https://tailwindcss.com/docs/margin
7302
+ */
7303
+ mb: [{
7304
+ mb: scaleMargin()
7305
+ }],
7306
+ /**
7307
+ * Margin Left
7308
+ * @see https://tailwindcss.com/docs/margin
7309
+ */
7310
+ ml: [{
7311
+ ml: scaleMargin()
7312
+ }],
7313
+ /**
7314
+ * Space Between X
7315
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
7316
+ */
7317
+ 'space-x': [{
7318
+ 'space-x': scaleUnambiguousSpacing()
7319
+ }],
7320
+ /**
7321
+ * Space Between X Reverse
7322
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
7323
+ */
7324
+ 'space-x-reverse': ['space-x-reverse'],
7325
+ /**
7326
+ * Space Between Y
7327
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
7328
+ */
7329
+ 'space-y': [{
7330
+ 'space-y': scaleUnambiguousSpacing()
7331
+ }],
7332
+ /**
7333
+ * Space Between Y Reverse
7334
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
7335
+ */
7336
+ 'space-y-reverse': ['space-y-reverse'],
7337
+ // --------------
7338
+ // --- Sizing ---
7339
+ // --------------
7340
+ /**
7341
+ * Size
7342
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
7343
+ */
7344
+ size: [{
7345
+ size: scaleSizing()
7346
+ }],
7347
+ /**
7348
+ * Inline Size
7349
+ * @see https://tailwindcss.com/docs/width
7350
+ */
7351
+ 'inline-size': [{
7352
+ inline: ['auto', ...scaleSizingInline()]
7353
+ }],
7354
+ /**
7355
+ * Min-Inline Size
7356
+ * @see https://tailwindcss.com/docs/min-width
7357
+ */
7358
+ 'min-inline-size': [{
7359
+ 'min-inline': ['auto', ...scaleSizingInline()]
7360
+ }],
7361
+ /**
7362
+ * Max-Inline Size
7363
+ * @see https://tailwindcss.com/docs/max-width
7364
+ */
7365
+ 'max-inline-size': [{
7366
+ 'max-inline': ['none', ...scaleSizingInline()]
7367
+ }],
7368
+ /**
7369
+ * Block Size
7370
+ * @see https://tailwindcss.com/docs/height
7371
+ */
7372
+ 'block-size': [{
7373
+ block: ['auto', ...scaleSizingBlock()]
7374
+ }],
7375
+ /**
7376
+ * Min-Block Size
7377
+ * @see https://tailwindcss.com/docs/min-height
7378
+ */
7379
+ 'min-block-size': [{
7380
+ 'min-block': ['auto', ...scaleSizingBlock()]
7381
+ }],
7382
+ /**
7383
+ * Max-Block Size
7384
+ * @see https://tailwindcss.com/docs/max-height
7385
+ */
7386
+ 'max-block-size': [{
7387
+ 'max-block': ['none', ...scaleSizingBlock()]
7388
+ }],
7389
+ /**
7390
+ * Width
7391
+ * @see https://tailwindcss.com/docs/width
7392
+ */
7393
+ w: [{
7394
+ w: [themeContainer, 'screen', ...scaleSizing()]
7395
+ }],
7396
+ /**
7397
+ * Min-Width
7398
+ * @see https://tailwindcss.com/docs/min-width
7399
+ */
7400
+ 'min-w': [{
7401
+ 'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
7402
+ 'none', ...scaleSizing()]
7403
+ }],
7404
+ /**
7405
+ * Max-Width
7406
+ * @see https://tailwindcss.com/docs/max-width
7407
+ */
7408
+ 'max-w': [{
7409
+ 'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
7410
+ 'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
7411
+ {
7412
+ screen: [themeBreakpoint]
7413
+ }, ...scaleSizing()]
7414
+ }],
7415
+ /**
7416
+ * Height
7417
+ * @see https://tailwindcss.com/docs/height
7418
+ */
7419
+ h: [{
7420
+ h: ['screen', 'lh', ...scaleSizing()]
7421
+ }],
7422
+ /**
7423
+ * Min-Height
7424
+ * @see https://tailwindcss.com/docs/min-height
7425
+ */
7426
+ 'min-h': [{
7427
+ 'min-h': ['screen', 'lh', 'none', ...scaleSizing()]
7428
+ }],
7429
+ /**
7430
+ * Max-Height
7431
+ * @see https://tailwindcss.com/docs/max-height
7432
+ */
7433
+ 'max-h': [{
7434
+ 'max-h': ['screen', 'lh', ...scaleSizing()]
7435
+ }],
7436
+ // ------------------
7437
+ // --- Typography ---
7438
+ // ------------------
7439
+ /**
7440
+ * Font Size
7441
+ * @see https://tailwindcss.com/docs/font-size
7442
+ */
7443
+ 'font-size': [{
7444
+ text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]
7445
+ }],
7446
+ /**
7447
+ * Font Smoothing
7448
+ * @see https://tailwindcss.com/docs/font-smoothing
7449
+ */
7450
+ 'font-smoothing': ['antialiased', 'subpixel-antialiased'],
7451
+ /**
7452
+ * Font Style
7453
+ * @see https://tailwindcss.com/docs/font-style
7454
+ */
7455
+ 'font-style': ['italic', 'not-italic'],
7456
+ /**
7457
+ * Font Weight
7458
+ * @see https://tailwindcss.com/docs/font-weight
7459
+ */
7460
+ 'font-weight': [{
7461
+ font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]
7462
+ }],
7463
+ /**
7464
+ * Font Stretch
7465
+ * @see https://tailwindcss.com/docs/font-stretch
7466
+ */
7467
+ 'font-stretch': [{
7468
+ 'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]
7469
+ }],
7470
+ /**
7471
+ * Font Family
7472
+ * @see https://tailwindcss.com/docs/font-family
7473
+ */
7474
+ 'font-family': [{
7475
+ font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]
7476
+ }],
7477
+ /**
7478
+ * Font Feature Settings
7479
+ * @see https://tailwindcss.com/docs/font-feature-settings
7480
+ */
7481
+ 'font-features': [{
7482
+ 'font-features': [isArbitraryValue]
7483
+ }],
7484
+ /**
7485
+ * Font Variant Numeric
7486
+ * @see https://tailwindcss.com/docs/font-variant-numeric
7487
+ */
7488
+ 'fvn-normal': ['normal-nums'],
7489
+ /**
7490
+ * Font Variant Numeric
7491
+ * @see https://tailwindcss.com/docs/font-variant-numeric
7492
+ */
7493
+ 'fvn-ordinal': ['ordinal'],
7494
+ /**
7495
+ * Font Variant Numeric
7496
+ * @see https://tailwindcss.com/docs/font-variant-numeric
7497
+ */
7498
+ 'fvn-slashed-zero': ['slashed-zero'],
7499
+ /**
7500
+ * Font Variant Numeric
7501
+ * @see https://tailwindcss.com/docs/font-variant-numeric
7502
+ */
7503
+ 'fvn-figure': ['lining-nums', 'oldstyle-nums'],
7504
+ /**
7505
+ * Font Variant Numeric
7506
+ * @see https://tailwindcss.com/docs/font-variant-numeric
7507
+ */
7508
+ 'fvn-spacing': ['proportional-nums', 'tabular-nums'],
7509
+ /**
7510
+ * Font Variant Numeric
7511
+ * @see https://tailwindcss.com/docs/font-variant-numeric
7512
+ */
7513
+ 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],
7514
+ /**
7515
+ * Letter Spacing
7516
+ * @see https://tailwindcss.com/docs/letter-spacing
7517
+ */
7518
+ tracking: [{
7519
+ tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]
7520
+ }],
7521
+ /**
7522
+ * Line Clamp
7523
+ * @see https://tailwindcss.com/docs/line-clamp
7524
+ */
7525
+ 'line-clamp': [{
7526
+ 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]
7527
+ }],
7528
+ /**
7529
+ * Line Height
7530
+ * @see https://tailwindcss.com/docs/line-height
7531
+ */
7532
+ leading: [{
7533
+ leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
7534
+ themeLeading, ...scaleUnambiguousSpacing()]
7535
+ }],
7536
+ /**
7537
+ * List Style Image
7538
+ * @see https://tailwindcss.com/docs/list-style-image
7539
+ */
7540
+ 'list-image': [{
7541
+ 'list-image': ['none', isArbitraryVariable, isArbitraryValue]
7542
+ }],
7543
+ /**
7544
+ * List Style Position
7545
+ * @see https://tailwindcss.com/docs/list-style-position
7546
+ */
7547
+ 'list-style-position': [{
7548
+ list: ['inside', 'outside']
7549
+ }],
7550
+ /**
7551
+ * List Style Type
7552
+ * @see https://tailwindcss.com/docs/list-style-type
7553
+ */
7554
+ 'list-style-type': [{
7555
+ list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]
7556
+ }],
7557
+ /**
7558
+ * Text Alignment
7559
+ * @see https://tailwindcss.com/docs/text-align
7560
+ */
7561
+ 'text-alignment': [{
7562
+ text: ['left', 'center', 'right', 'justify', 'start', 'end']
7563
+ }],
7564
+ /**
7565
+ * Placeholder Color
7566
+ * @deprecated since Tailwind CSS v3.0.0
7567
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
7568
+ */
7569
+ 'placeholder-color': [{
7570
+ placeholder: scaleColor()
7571
+ }],
7572
+ /**
7573
+ * Text Color
7574
+ * @see https://tailwindcss.com/docs/text-color
7575
+ */
7576
+ 'text-color': [{
7577
+ text: scaleColor()
7578
+ }],
7579
+ /**
7580
+ * Text Decoration
7581
+ * @see https://tailwindcss.com/docs/text-decoration
7582
+ */
7583
+ 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
7584
+ /**
7585
+ * Text Decoration Style
7586
+ * @see https://tailwindcss.com/docs/text-decoration-style
7587
+ */
7588
+ 'text-decoration-style': [{
7589
+ decoration: [...scaleLineStyle(), 'wavy']
7590
+ }],
7591
+ /**
7592
+ * Text Decoration Thickness
7593
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
7594
+ */
7595
+ 'text-decoration-thickness': [{
7596
+ decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]
7597
+ }],
7598
+ /**
7599
+ * Text Decoration Color
7600
+ * @see https://tailwindcss.com/docs/text-decoration-color
7601
+ */
7602
+ 'text-decoration-color': [{
7603
+ decoration: scaleColor()
7604
+ }],
7605
+ /**
7606
+ * Text Underline Offset
7607
+ * @see https://tailwindcss.com/docs/text-underline-offset
7608
+ */
7609
+ 'underline-offset': [{
7610
+ 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]
7611
+ }],
7612
+ /**
7613
+ * Text Transform
7614
+ * @see https://tailwindcss.com/docs/text-transform
7615
+ */
7616
+ 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
7617
+ /**
7618
+ * Text Overflow
7619
+ * @see https://tailwindcss.com/docs/text-overflow
7620
+ */
7621
+ 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
7622
+ /**
7623
+ * Text Wrap
7624
+ * @see https://tailwindcss.com/docs/text-wrap
7625
+ */
7626
+ 'text-wrap': [{
7627
+ text: ['wrap', 'nowrap', 'balance', 'pretty']
7628
+ }],
7629
+ /**
7630
+ * Text Indent
7631
+ * @see https://tailwindcss.com/docs/text-indent
7632
+ */
7633
+ indent: [{
7634
+ indent: scaleUnambiguousSpacing()
7635
+ }],
7636
+ /**
7637
+ * Tab Size
7638
+ * @see https://tailwindcss.com/docs/tab-size
7639
+ */
7640
+ 'tab-size': [{
7641
+ tab: [isInteger, isArbitraryVariable, isArbitraryValue]
7642
+ }],
7643
+ /**
7644
+ * Vertical Alignment
7645
+ * @see https://tailwindcss.com/docs/vertical-align
7646
+ */
7647
+ 'vertical-align': [{
7648
+ align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]
7649
+ }],
7650
+ /**
7651
+ * Whitespace
7652
+ * @see https://tailwindcss.com/docs/whitespace
7653
+ */
7654
+ whitespace: [{
7655
+ whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
7656
+ }],
7657
+ /**
7658
+ * Word Break
7659
+ * @see https://tailwindcss.com/docs/word-break
7660
+ */
7661
+ break: [{
7662
+ break: ['normal', 'words', 'all', 'keep']
7663
+ }],
7664
+ /**
7665
+ * Overflow Wrap
7666
+ * @see https://tailwindcss.com/docs/overflow-wrap
7667
+ */
7668
+ wrap: [{
7669
+ wrap: ['break-word', 'anywhere', 'normal']
7670
+ }],
7671
+ /**
7672
+ * Hyphens
7673
+ * @see https://tailwindcss.com/docs/hyphens
7674
+ */
7675
+ hyphens: [{
7676
+ hyphens: ['none', 'manual', 'auto']
7677
+ }],
7678
+ /**
7679
+ * Content
7680
+ * @see https://tailwindcss.com/docs/content
7681
+ */
7682
+ content: [{
7683
+ content: ['none', isArbitraryVariable, isArbitraryValue]
7684
+ }],
7685
+ // -------------------
7686
+ // --- Backgrounds ---
7687
+ // -------------------
7688
+ /**
7689
+ * Background Attachment
7690
+ * @see https://tailwindcss.com/docs/background-attachment
7691
+ */
7692
+ 'bg-attachment': [{
7693
+ bg: ['fixed', 'local', 'scroll']
7694
+ }],
7695
+ /**
7696
+ * Background Clip
7697
+ * @see https://tailwindcss.com/docs/background-clip
7698
+ */
7699
+ 'bg-clip': [{
7700
+ 'bg-clip': ['border', 'padding', 'content', 'text']
7701
+ }],
7702
+ /**
7703
+ * Background Origin
7704
+ * @see https://tailwindcss.com/docs/background-origin
7705
+ */
7706
+ 'bg-origin': [{
7707
+ 'bg-origin': ['border', 'padding', 'content']
7708
+ }],
7709
+ /**
7710
+ * Background Position
7711
+ * @see https://tailwindcss.com/docs/background-position
7712
+ */
7713
+ 'bg-position': [{
7714
+ bg: scaleBgPosition()
7715
+ }],
7716
+ /**
7717
+ * Background Repeat
7718
+ * @see https://tailwindcss.com/docs/background-repeat
7719
+ */
7720
+ 'bg-repeat': [{
7721
+ bg: scaleBgRepeat()
7722
+ }],
7723
+ /**
7724
+ * Background Size
7725
+ * @see https://tailwindcss.com/docs/background-size
7726
+ */
7727
+ 'bg-size': [{
7728
+ bg: scaleBgSize()
7729
+ }],
7730
+ /**
7731
+ * Background Image
7732
+ * @see https://tailwindcss.com/docs/background-image
7733
+ */
7734
+ 'bg-image': [{
7735
+ bg: ['none', {
7736
+ linear: [{
7737
+ to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
7738
+ }, isInteger, isArbitraryVariable, isArbitraryValue],
7739
+ radial: ['', isArbitraryVariable, isArbitraryValue],
7740
+ conic: [isInteger, isArbitraryVariable, isArbitraryValue]
7741
+ }, isArbitraryVariableImage, isArbitraryImage]
7742
+ }],
7743
+ /**
7744
+ * Background Color
7745
+ * @see https://tailwindcss.com/docs/background-color
7746
+ */
7747
+ 'bg-color': [{
7748
+ bg: scaleColor()
7749
+ }],
7750
+ /**
7751
+ * Gradient Color Stops From Position
7752
+ * @see https://tailwindcss.com/docs/gradient-color-stops
7753
+ */
7754
+ 'gradient-from-pos': [{
7755
+ from: scaleGradientStopPosition()
7756
+ }],
7757
+ /**
7758
+ * Gradient Color Stops Via Position
7759
+ * @see https://tailwindcss.com/docs/gradient-color-stops
7760
+ */
7761
+ 'gradient-via-pos': [{
7762
+ via: scaleGradientStopPosition()
7763
+ }],
7764
+ /**
7765
+ * Gradient Color Stops To Position
7766
+ * @see https://tailwindcss.com/docs/gradient-color-stops
7767
+ */
7768
+ 'gradient-to-pos': [{
7769
+ to: scaleGradientStopPosition()
7770
+ }],
7771
+ /**
7772
+ * Gradient Color Stops From
7773
+ * @see https://tailwindcss.com/docs/gradient-color-stops
7774
+ */
7775
+ 'gradient-from': [{
7776
+ from: scaleColor()
7777
+ }],
7778
+ /**
7779
+ * Gradient Color Stops Via
7780
+ * @see https://tailwindcss.com/docs/gradient-color-stops
7781
+ */
7782
+ 'gradient-via': [{
7783
+ via: scaleColor()
7784
+ }],
7785
+ /**
7786
+ * Gradient Color Stops To
7787
+ * @see https://tailwindcss.com/docs/gradient-color-stops
7788
+ */
7789
+ 'gradient-to': [{
7790
+ to: scaleColor()
7791
+ }],
7792
+ // ---------------
7793
+ // --- Borders ---
7794
+ // ---------------
7795
+ /**
7796
+ * Border Radius
7797
+ * @see https://tailwindcss.com/docs/border-radius
7798
+ */
7799
+ rounded: [{
7800
+ rounded: scaleRadius()
7801
+ }],
7802
+ /**
7803
+ * Border Radius Start
7804
+ * @see https://tailwindcss.com/docs/border-radius
7805
+ */
7806
+ 'rounded-s': [{
7807
+ 'rounded-s': scaleRadius()
7808
+ }],
7809
+ /**
7810
+ * Border Radius End
7811
+ * @see https://tailwindcss.com/docs/border-radius
7812
+ */
7813
+ 'rounded-e': [{
7814
+ 'rounded-e': scaleRadius()
7815
+ }],
7816
+ /**
7817
+ * Border Radius Top
7818
+ * @see https://tailwindcss.com/docs/border-radius
7819
+ */
7820
+ 'rounded-t': [{
7821
+ 'rounded-t': scaleRadius()
7822
+ }],
7823
+ /**
7824
+ * Border Radius Right
7825
+ * @see https://tailwindcss.com/docs/border-radius
7826
+ */
7827
+ 'rounded-r': [{
7828
+ 'rounded-r': scaleRadius()
7829
+ }],
7830
+ /**
7831
+ * Border Radius Bottom
7832
+ * @see https://tailwindcss.com/docs/border-radius
7833
+ */
7834
+ 'rounded-b': [{
7835
+ 'rounded-b': scaleRadius()
7836
+ }],
7837
+ /**
7838
+ * Border Radius Left
7839
+ * @see https://tailwindcss.com/docs/border-radius
7840
+ */
7841
+ 'rounded-l': [{
7842
+ 'rounded-l': scaleRadius()
7843
+ }],
7844
+ /**
7845
+ * Border Radius Start Start
7846
+ * @see https://tailwindcss.com/docs/border-radius
7847
+ */
7848
+ 'rounded-ss': [{
7849
+ 'rounded-ss': scaleRadius()
7850
+ }],
7851
+ /**
7852
+ * Border Radius Start End
7853
+ * @see https://tailwindcss.com/docs/border-radius
7854
+ */
7855
+ 'rounded-se': [{
7856
+ 'rounded-se': scaleRadius()
7857
+ }],
7858
+ /**
7859
+ * Border Radius End End
7860
+ * @see https://tailwindcss.com/docs/border-radius
7861
+ */
7862
+ 'rounded-ee': [{
7863
+ 'rounded-ee': scaleRadius()
7864
+ }],
7865
+ /**
7866
+ * Border Radius End Start
7867
+ * @see https://tailwindcss.com/docs/border-radius
7868
+ */
7869
+ 'rounded-es': [{
7870
+ 'rounded-es': scaleRadius()
7871
+ }],
7872
+ /**
7873
+ * Border Radius Top Left
7874
+ * @see https://tailwindcss.com/docs/border-radius
7875
+ */
7876
+ 'rounded-tl': [{
7877
+ 'rounded-tl': scaleRadius()
7878
+ }],
7879
+ /**
7880
+ * Border Radius Top Right
7881
+ * @see https://tailwindcss.com/docs/border-radius
7882
+ */
7883
+ 'rounded-tr': [{
7884
+ 'rounded-tr': scaleRadius()
7885
+ }],
7886
+ /**
7887
+ * Border Radius Bottom Right
7888
+ * @see https://tailwindcss.com/docs/border-radius
7889
+ */
7890
+ 'rounded-br': [{
7891
+ 'rounded-br': scaleRadius()
7892
+ }],
7893
+ /**
7894
+ * Border Radius Bottom Left
7895
+ * @see https://tailwindcss.com/docs/border-radius
7896
+ */
7897
+ 'rounded-bl': [{
7898
+ 'rounded-bl': scaleRadius()
7899
+ }],
7900
+ /**
7901
+ * Border Width
7902
+ * @see https://tailwindcss.com/docs/border-width
7903
+ */
7904
+ 'border-w': [{
7905
+ border: scaleBorderWidth()
7906
+ }],
7907
+ /**
7908
+ * Border Width Inline
7909
+ * @see https://tailwindcss.com/docs/border-width
7910
+ */
7911
+ 'border-w-x': [{
7912
+ 'border-x': scaleBorderWidth()
7913
+ }],
7914
+ /**
7915
+ * Border Width Block
7916
+ * @see https://tailwindcss.com/docs/border-width
7917
+ */
7918
+ 'border-w-y': [{
7919
+ 'border-y': scaleBorderWidth()
7920
+ }],
7921
+ /**
7922
+ * Border Width Inline Start
7923
+ * @see https://tailwindcss.com/docs/border-width
7924
+ */
7925
+ 'border-w-s': [{
7926
+ 'border-s': scaleBorderWidth()
7927
+ }],
7928
+ /**
7929
+ * Border Width Inline End
7930
+ * @see https://tailwindcss.com/docs/border-width
7931
+ */
7932
+ 'border-w-e': [{
7933
+ 'border-e': scaleBorderWidth()
7934
+ }],
7935
+ /**
7936
+ * Border Width Block Start
7937
+ * @see https://tailwindcss.com/docs/border-width
7938
+ */
7939
+ 'border-w-bs': [{
7940
+ 'border-bs': scaleBorderWidth()
7941
+ }],
7942
+ /**
7943
+ * Border Width Block End
7944
+ * @see https://tailwindcss.com/docs/border-width
7945
+ */
7946
+ 'border-w-be': [{
7947
+ 'border-be': scaleBorderWidth()
7948
+ }],
7949
+ /**
7950
+ * Border Width Top
7951
+ * @see https://tailwindcss.com/docs/border-width
7952
+ */
7953
+ 'border-w-t': [{
7954
+ 'border-t': scaleBorderWidth()
7955
+ }],
7956
+ /**
7957
+ * Border Width Right
7958
+ * @see https://tailwindcss.com/docs/border-width
7959
+ */
7960
+ 'border-w-r': [{
7961
+ 'border-r': scaleBorderWidth()
7962
+ }],
7963
+ /**
7964
+ * Border Width Bottom
7965
+ * @see https://tailwindcss.com/docs/border-width
7966
+ */
7967
+ 'border-w-b': [{
7968
+ 'border-b': scaleBorderWidth()
7969
+ }],
7970
+ /**
7971
+ * Border Width Left
7972
+ * @see https://tailwindcss.com/docs/border-width
7973
+ */
7974
+ 'border-w-l': [{
7975
+ 'border-l': scaleBorderWidth()
7976
+ }],
7977
+ /**
7978
+ * Divide Width X
7979
+ * @see https://tailwindcss.com/docs/border-width#between-children
7980
+ */
7981
+ 'divide-x': [{
7982
+ 'divide-x': scaleBorderWidth()
7983
+ }],
7984
+ /**
7985
+ * Divide Width X Reverse
7986
+ * @see https://tailwindcss.com/docs/border-width#between-children
7987
+ */
7988
+ 'divide-x-reverse': ['divide-x-reverse'],
7989
+ /**
7990
+ * Divide Width Y
7991
+ * @see https://tailwindcss.com/docs/border-width#between-children
7992
+ */
7993
+ 'divide-y': [{
7994
+ 'divide-y': scaleBorderWidth()
7995
+ }],
7996
+ /**
7997
+ * Divide Width Y Reverse
7998
+ * @see https://tailwindcss.com/docs/border-width#between-children
7999
+ */
8000
+ 'divide-y-reverse': ['divide-y-reverse'],
8001
+ /**
8002
+ * Border Style
8003
+ * @see https://tailwindcss.com/docs/border-style
8004
+ */
8005
+ 'border-style': [{
8006
+ border: [...scaleLineStyle(), 'hidden', 'none']
8007
+ }],
8008
+ /**
8009
+ * Divide Style
8010
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
8011
+ */
8012
+ 'divide-style': [{
8013
+ divide: [...scaleLineStyle(), 'hidden', 'none']
8014
+ }],
8015
+ /**
8016
+ * Border Color
8017
+ * @see https://tailwindcss.com/docs/border-color
8018
+ */
8019
+ 'border-color': [{
8020
+ border: scaleColor()
8021
+ }],
8022
+ /**
8023
+ * Border Color Inline
8024
+ * @see https://tailwindcss.com/docs/border-color
8025
+ */
8026
+ 'border-color-x': [{
8027
+ 'border-x': scaleColor()
8028
+ }],
8029
+ /**
8030
+ * Border Color Block
8031
+ * @see https://tailwindcss.com/docs/border-color
8032
+ */
8033
+ 'border-color-y': [{
8034
+ 'border-y': scaleColor()
8035
+ }],
8036
+ /**
8037
+ * Border Color Inline Start
8038
+ * @see https://tailwindcss.com/docs/border-color
8039
+ */
8040
+ 'border-color-s': [{
8041
+ 'border-s': scaleColor()
8042
+ }],
8043
+ /**
8044
+ * Border Color Inline End
8045
+ * @see https://tailwindcss.com/docs/border-color
8046
+ */
8047
+ 'border-color-e': [{
8048
+ 'border-e': scaleColor()
8049
+ }],
8050
+ /**
8051
+ * Border Color Block Start
8052
+ * @see https://tailwindcss.com/docs/border-color
8053
+ */
8054
+ 'border-color-bs': [{
8055
+ 'border-bs': scaleColor()
8056
+ }],
8057
+ /**
8058
+ * Border Color Block End
8059
+ * @see https://tailwindcss.com/docs/border-color
8060
+ */
8061
+ 'border-color-be': [{
8062
+ 'border-be': scaleColor()
8063
+ }],
8064
+ /**
8065
+ * Border Color Top
8066
+ * @see https://tailwindcss.com/docs/border-color
8067
+ */
8068
+ 'border-color-t': [{
8069
+ 'border-t': scaleColor()
8070
+ }],
8071
+ /**
8072
+ * Border Color Right
8073
+ * @see https://tailwindcss.com/docs/border-color
8074
+ */
8075
+ 'border-color-r': [{
8076
+ 'border-r': scaleColor()
8077
+ }],
8078
+ /**
8079
+ * Border Color Bottom
8080
+ * @see https://tailwindcss.com/docs/border-color
8081
+ */
8082
+ 'border-color-b': [{
8083
+ 'border-b': scaleColor()
8084
+ }],
8085
+ /**
8086
+ * Border Color Left
8087
+ * @see https://tailwindcss.com/docs/border-color
8088
+ */
8089
+ 'border-color-l': [{
8090
+ 'border-l': scaleColor()
8091
+ }],
8092
+ /**
8093
+ * Divide Color
8094
+ * @see https://tailwindcss.com/docs/divide-color
8095
+ */
8096
+ 'divide-color': [{
8097
+ divide: scaleColor()
8098
+ }],
8099
+ /**
8100
+ * Outline Style
8101
+ * @see https://tailwindcss.com/docs/outline-style
8102
+ */
8103
+ 'outline-style': [{
8104
+ outline: [...scaleLineStyle(), 'none', 'hidden']
8105
+ }],
8106
+ /**
8107
+ * Outline Offset
8108
+ * @see https://tailwindcss.com/docs/outline-offset
8109
+ */
8110
+ 'outline-offset': [{
8111
+ 'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]
8112
+ }],
8113
+ /**
8114
+ * Outline Width
8115
+ * @see https://tailwindcss.com/docs/outline-width
8116
+ */
8117
+ 'outline-w': [{
8118
+ outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]
8119
+ }],
8120
+ /**
8121
+ * Outline Color
8122
+ * @see https://tailwindcss.com/docs/outline-color
8123
+ */
8124
+ 'outline-color': [{
8125
+ outline: scaleColor()
8126
+ }],
8127
+ // ---------------
8128
+ // --- Effects ---
8129
+ // ---------------
8130
+ /**
8131
+ * Box Shadow
8132
+ * @see https://tailwindcss.com/docs/box-shadow
8133
+ */
8134
+ shadow: [{
8135
+ shadow: [
8136
+ // Deprecated since Tailwind CSS v4.0.0
8137
+ '', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]
8138
+ }],
8139
+ /**
8140
+ * Box Shadow Color
8141
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
8142
+ */
8143
+ 'shadow-color': [{
8144
+ shadow: scaleColor()
8145
+ }],
8146
+ /**
8147
+ * Inset Box Shadow
8148
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
8149
+ */
8150
+ 'inset-shadow': [{
8151
+ 'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]
8152
+ }],
8153
+ /**
8154
+ * Inset Box Shadow Color
8155
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
8156
+ */
8157
+ 'inset-shadow-color': [{
8158
+ 'inset-shadow': scaleColor()
8159
+ }],
8160
+ /**
8161
+ * Ring Width
8162
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
8163
+ */
8164
+ 'ring-w': [{
8165
+ ring: scaleBorderWidth()
8166
+ }],
8167
+ /**
8168
+ * Ring Width Inset
8169
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
8170
+ * @deprecated since Tailwind CSS v4.0.0
8171
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
8172
+ */
8173
+ 'ring-w-inset': ['ring-inset'],
8174
+ /**
8175
+ * Ring Color
8176
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
8177
+ */
8178
+ 'ring-color': [{
8179
+ ring: scaleColor()
8180
+ }],
8181
+ /**
8182
+ * Ring Offset Width
8183
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
8184
+ * @deprecated since Tailwind CSS v4.0.0
8185
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
8186
+ */
8187
+ 'ring-offset-w': [{
8188
+ 'ring-offset': [isNumber, isArbitraryLength]
8189
+ }],
8190
+ /**
8191
+ * Ring Offset Color
8192
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
8193
+ * @deprecated since Tailwind CSS v4.0.0
8194
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
8195
+ */
8196
+ 'ring-offset-color': [{
8197
+ 'ring-offset': scaleColor()
8198
+ }],
8199
+ /**
8200
+ * Inset Ring Width
8201
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
8202
+ */
8203
+ 'inset-ring-w': [{
8204
+ 'inset-ring': scaleBorderWidth()
8205
+ }],
8206
+ /**
8207
+ * Inset Ring Color
8208
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
8209
+ */
8210
+ 'inset-ring-color': [{
8211
+ 'inset-ring': scaleColor()
8212
+ }],
8213
+ /**
8214
+ * Text Shadow
8215
+ * @see https://tailwindcss.com/docs/text-shadow
8216
+ */
8217
+ 'text-shadow': [{
8218
+ 'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]
8219
+ }],
8220
+ /**
8221
+ * Text Shadow Color
8222
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
8223
+ */
8224
+ 'text-shadow-color': [{
8225
+ 'text-shadow': scaleColor()
8226
+ }],
8227
+ /**
8228
+ * Opacity
8229
+ * @see https://tailwindcss.com/docs/opacity
8230
+ */
8231
+ opacity: [{
8232
+ opacity: [isNumber, isArbitraryVariable, isArbitraryValue]
8233
+ }],
8234
+ /**
8235
+ * Mix Blend Mode
8236
+ * @see https://tailwindcss.com/docs/mix-blend-mode
8237
+ */
8238
+ 'mix-blend': [{
8239
+ 'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']
8240
+ }],
8241
+ /**
8242
+ * Background Blend Mode
8243
+ * @see https://tailwindcss.com/docs/background-blend-mode
8244
+ */
8245
+ 'bg-blend': [{
8246
+ 'bg-blend': scaleBlendMode()
8247
+ }],
8248
+ /**
8249
+ * Mask Clip
8250
+ * @see https://tailwindcss.com/docs/mask-clip
8251
+ */
8252
+ 'mask-clip': [{
8253
+ 'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
8254
+ }, 'mask-no-clip'],
8255
+ /**
8256
+ * Mask Composite
8257
+ * @see https://tailwindcss.com/docs/mask-composite
8258
+ */
8259
+ 'mask-composite': [{
8260
+ mask: ['add', 'subtract', 'intersect', 'exclude']
8261
+ }],
8262
+ /**
8263
+ * Mask Image
8264
+ * @see https://tailwindcss.com/docs/mask-image
8265
+ */
8266
+ 'mask-image-linear-pos': [{
8267
+ 'mask-linear': [isNumber]
8268
+ }],
8269
+ 'mask-image-linear-from-pos': [{
8270
+ 'mask-linear-from': scaleMaskImagePosition()
8271
+ }],
8272
+ 'mask-image-linear-to-pos': [{
8273
+ 'mask-linear-to': scaleMaskImagePosition()
8274
+ }],
8275
+ 'mask-image-linear-from-color': [{
8276
+ 'mask-linear-from': scaleColor()
8277
+ }],
8278
+ 'mask-image-linear-to-color': [{
8279
+ 'mask-linear-to': scaleColor()
8280
+ }],
8281
+ 'mask-image-t-from-pos': [{
8282
+ 'mask-t-from': scaleMaskImagePosition()
8283
+ }],
8284
+ 'mask-image-t-to-pos': [{
8285
+ 'mask-t-to': scaleMaskImagePosition()
8286
+ }],
8287
+ 'mask-image-t-from-color': [{
8288
+ 'mask-t-from': scaleColor()
8289
+ }],
8290
+ 'mask-image-t-to-color': [{
8291
+ 'mask-t-to': scaleColor()
8292
+ }],
8293
+ 'mask-image-r-from-pos': [{
8294
+ 'mask-r-from': scaleMaskImagePosition()
8295
+ }],
8296
+ 'mask-image-r-to-pos': [{
8297
+ 'mask-r-to': scaleMaskImagePosition()
8298
+ }],
8299
+ 'mask-image-r-from-color': [{
8300
+ 'mask-r-from': scaleColor()
8301
+ }],
8302
+ 'mask-image-r-to-color': [{
8303
+ 'mask-r-to': scaleColor()
8304
+ }],
8305
+ 'mask-image-b-from-pos': [{
8306
+ 'mask-b-from': scaleMaskImagePosition()
8307
+ }],
8308
+ 'mask-image-b-to-pos': [{
8309
+ 'mask-b-to': scaleMaskImagePosition()
8310
+ }],
8311
+ 'mask-image-b-from-color': [{
8312
+ 'mask-b-from': scaleColor()
8313
+ }],
8314
+ 'mask-image-b-to-color': [{
8315
+ 'mask-b-to': scaleColor()
8316
+ }],
8317
+ 'mask-image-l-from-pos': [{
8318
+ 'mask-l-from': scaleMaskImagePosition()
8319
+ }],
8320
+ 'mask-image-l-to-pos': [{
8321
+ 'mask-l-to': scaleMaskImagePosition()
8322
+ }],
8323
+ 'mask-image-l-from-color': [{
8324
+ 'mask-l-from': scaleColor()
8325
+ }],
8326
+ 'mask-image-l-to-color': [{
8327
+ 'mask-l-to': scaleColor()
8328
+ }],
8329
+ 'mask-image-x-from-pos': [{
8330
+ 'mask-x-from': scaleMaskImagePosition()
8331
+ }],
8332
+ 'mask-image-x-to-pos': [{
8333
+ 'mask-x-to': scaleMaskImagePosition()
8334
+ }],
8335
+ 'mask-image-x-from-color': [{
8336
+ 'mask-x-from': scaleColor()
8337
+ }],
8338
+ 'mask-image-x-to-color': [{
8339
+ 'mask-x-to': scaleColor()
8340
+ }],
8341
+ 'mask-image-y-from-pos': [{
8342
+ 'mask-y-from': scaleMaskImagePosition()
8343
+ }],
8344
+ 'mask-image-y-to-pos': [{
8345
+ 'mask-y-to': scaleMaskImagePosition()
8346
+ }],
8347
+ 'mask-image-y-from-color': [{
8348
+ 'mask-y-from': scaleColor()
8349
+ }],
8350
+ 'mask-image-y-to-color': [{
8351
+ 'mask-y-to': scaleColor()
8352
+ }],
8353
+ 'mask-image-radial': [{
8354
+ 'mask-radial': [isArbitraryVariable, isArbitraryValue]
8355
+ }],
8356
+ 'mask-image-radial-from-pos': [{
8357
+ 'mask-radial-from': scaleMaskImagePosition()
8358
+ }],
8359
+ 'mask-image-radial-to-pos': [{
8360
+ 'mask-radial-to': scaleMaskImagePosition()
8361
+ }],
8362
+ 'mask-image-radial-from-color': [{
8363
+ 'mask-radial-from': scaleColor()
8364
+ }],
8365
+ 'mask-image-radial-to-color': [{
8366
+ 'mask-radial-to': scaleColor()
8367
+ }],
8368
+ 'mask-image-radial-shape': [{
8369
+ 'mask-radial': ['circle', 'ellipse']
8370
+ }],
8371
+ 'mask-image-radial-size': [{
8372
+ 'mask-radial': [{
8373
+ closest: ['side', 'corner'],
8374
+ farthest: ['side', 'corner']
8375
+ }]
8376
+ }],
8377
+ 'mask-image-radial-pos': [{
8378
+ 'mask-radial-at': scalePosition()
8379
+ }],
8380
+ 'mask-image-conic-pos': [{
8381
+ 'mask-conic': [isNumber]
8382
+ }],
8383
+ 'mask-image-conic-from-pos': [{
8384
+ 'mask-conic-from': scaleMaskImagePosition()
8385
+ }],
8386
+ 'mask-image-conic-to-pos': [{
8387
+ 'mask-conic-to': scaleMaskImagePosition()
8388
+ }],
8389
+ 'mask-image-conic-from-color': [{
8390
+ 'mask-conic-from': scaleColor()
8391
+ }],
8392
+ 'mask-image-conic-to-color': [{
8393
+ 'mask-conic-to': scaleColor()
8394
+ }],
8395
+ /**
8396
+ * Mask Mode
8397
+ * @see https://tailwindcss.com/docs/mask-mode
8398
+ */
8399
+ 'mask-mode': [{
8400
+ mask: ['alpha', 'luminance', 'match']
8401
+ }],
8402
+ /**
8403
+ * Mask Origin
8404
+ * @see https://tailwindcss.com/docs/mask-origin
8405
+ */
8406
+ 'mask-origin': [{
8407
+ 'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
8408
+ }],
8409
+ /**
8410
+ * Mask Position
8411
+ * @see https://tailwindcss.com/docs/mask-position
8412
+ */
8413
+ 'mask-position': [{
8414
+ mask: scaleBgPosition()
8415
+ }],
8416
+ /**
8417
+ * Mask Repeat
8418
+ * @see https://tailwindcss.com/docs/mask-repeat
8419
+ */
8420
+ 'mask-repeat': [{
8421
+ mask: scaleBgRepeat()
8422
+ }],
8423
+ /**
8424
+ * Mask Size
8425
+ * @see https://tailwindcss.com/docs/mask-size
8426
+ */
8427
+ 'mask-size': [{
8428
+ mask: scaleBgSize()
8429
+ }],
8430
+ /**
8431
+ * Mask Type
8432
+ * @see https://tailwindcss.com/docs/mask-type
8433
+ */
8434
+ 'mask-type': [{
8435
+ 'mask-type': ['alpha', 'luminance']
8436
+ }],
8437
+ /**
8438
+ * Mask Image
8439
+ * @see https://tailwindcss.com/docs/mask-image
8440
+ */
8441
+ 'mask-image': [{
8442
+ mask: ['none', isArbitraryVariable, isArbitraryValue]
8443
+ }],
8444
+ // ---------------
8445
+ // --- Filters ---
8446
+ // ---------------
8447
+ /**
8448
+ * Filter
8449
+ * @see https://tailwindcss.com/docs/filter
8450
+ */
8451
+ filter: [{
8452
+ filter: [
8453
+ // Deprecated since Tailwind CSS v3.0.0
8454
+ '', 'none', isArbitraryVariable, isArbitraryValue]
8455
+ }],
8456
+ /**
8457
+ * Blur
8458
+ * @see https://tailwindcss.com/docs/blur
8459
+ */
8460
+ blur: [{
8461
+ blur: scaleBlur()
8462
+ }],
8463
+ /**
8464
+ * Brightness
8465
+ * @see https://tailwindcss.com/docs/brightness
8466
+ */
8467
+ brightness: [{
8468
+ brightness: [isNumber, isArbitraryVariable, isArbitraryValue]
8469
+ }],
8470
+ /**
8471
+ * Contrast
8472
+ * @see https://tailwindcss.com/docs/contrast
8473
+ */
8474
+ contrast: [{
8475
+ contrast: [isNumber, isArbitraryVariable, isArbitraryValue]
8476
+ }],
8477
+ /**
8478
+ * Drop Shadow
8479
+ * @see https://tailwindcss.com/docs/drop-shadow
8480
+ */
8481
+ 'drop-shadow': [{
8482
+ 'drop-shadow': [
8483
+ // Deprecated since Tailwind CSS v4.0.0
8484
+ '', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]
8485
+ }],
8486
+ /**
8487
+ * Drop Shadow Color
8488
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
8489
+ */
8490
+ 'drop-shadow-color': [{
8491
+ 'drop-shadow': scaleColor()
8492
+ }],
8493
+ /**
8494
+ * Grayscale
8495
+ * @see https://tailwindcss.com/docs/grayscale
8496
+ */
8497
+ grayscale: [{
8498
+ grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]
8499
+ }],
8500
+ /**
8501
+ * Hue Rotate
8502
+ * @see https://tailwindcss.com/docs/hue-rotate
8503
+ */
8504
+ 'hue-rotate': [{
8505
+ 'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
8506
+ }],
8507
+ /**
8508
+ * Invert
8509
+ * @see https://tailwindcss.com/docs/invert
8510
+ */
8511
+ invert: [{
8512
+ invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]
8513
+ }],
8514
+ /**
8515
+ * Saturate
8516
+ * @see https://tailwindcss.com/docs/saturate
8517
+ */
8518
+ saturate: [{
8519
+ saturate: [isNumber, isArbitraryVariable, isArbitraryValue]
8520
+ }],
8521
+ /**
8522
+ * Sepia
8523
+ * @see https://tailwindcss.com/docs/sepia
8524
+ */
8525
+ sepia: [{
8526
+ sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]
8527
+ }],
8528
+ /**
8529
+ * Backdrop Filter
8530
+ * @see https://tailwindcss.com/docs/backdrop-filter
8531
+ */
8532
+ 'backdrop-filter': [{
8533
+ 'backdrop-filter': [
8534
+ // Deprecated since Tailwind CSS v3.0.0
8535
+ '', 'none', isArbitraryVariable, isArbitraryValue]
8536
+ }],
8537
+ /**
8538
+ * Backdrop Blur
8539
+ * @see https://tailwindcss.com/docs/backdrop-blur
8540
+ */
8541
+ 'backdrop-blur': [{
8542
+ 'backdrop-blur': scaleBlur()
8543
+ }],
8544
+ /**
8545
+ * Backdrop Brightness
8546
+ * @see https://tailwindcss.com/docs/backdrop-brightness
8547
+ */
8548
+ 'backdrop-brightness': [{
8549
+ 'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]
8550
+ }],
8551
+ /**
8552
+ * Backdrop Contrast
8553
+ * @see https://tailwindcss.com/docs/backdrop-contrast
8554
+ */
8555
+ 'backdrop-contrast': [{
8556
+ 'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]
8557
+ }],
8558
+ /**
8559
+ * Backdrop Grayscale
8560
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
8561
+ */
8562
+ 'backdrop-grayscale': [{
8563
+ 'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]
8564
+ }],
8565
+ /**
8566
+ * Backdrop Hue Rotate
8567
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
8568
+ */
8569
+ 'backdrop-hue-rotate': [{
8570
+ 'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
8571
+ }],
8572
+ /**
8573
+ * Backdrop Invert
8574
+ * @see https://tailwindcss.com/docs/backdrop-invert
8575
+ */
8576
+ 'backdrop-invert': [{
8577
+ 'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]
8578
+ }],
8579
+ /**
8580
+ * Backdrop Opacity
8581
+ * @see https://tailwindcss.com/docs/backdrop-opacity
8582
+ */
8583
+ 'backdrop-opacity': [{
8584
+ 'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]
8585
+ }],
8586
+ /**
8587
+ * Backdrop Saturate
8588
+ * @see https://tailwindcss.com/docs/backdrop-saturate
8589
+ */
8590
+ 'backdrop-saturate': [{
8591
+ 'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]
8592
+ }],
8593
+ /**
8594
+ * Backdrop Sepia
8595
+ * @see https://tailwindcss.com/docs/backdrop-sepia
8596
+ */
8597
+ 'backdrop-sepia': [{
8598
+ 'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]
8599
+ }],
8600
+ // --------------
8601
+ // --- Tables ---
8602
+ // --------------
8603
+ /**
8604
+ * Border Collapse
8605
+ * @see https://tailwindcss.com/docs/border-collapse
8606
+ */
8607
+ 'border-collapse': [{
8608
+ border: ['collapse', 'separate']
8609
+ }],
8610
+ /**
8611
+ * Border Spacing
8612
+ * @see https://tailwindcss.com/docs/border-spacing
8613
+ */
8614
+ 'border-spacing': [{
8615
+ 'border-spacing': scaleUnambiguousSpacing()
8616
+ }],
8617
+ /**
8618
+ * Border Spacing X
8619
+ * @see https://tailwindcss.com/docs/border-spacing
8620
+ */
8621
+ 'border-spacing-x': [{
8622
+ 'border-spacing-x': scaleUnambiguousSpacing()
8623
+ }],
8624
+ /**
8625
+ * Border Spacing Y
8626
+ * @see https://tailwindcss.com/docs/border-spacing
8627
+ */
8628
+ 'border-spacing-y': [{
8629
+ 'border-spacing-y': scaleUnambiguousSpacing()
8630
+ }],
8631
+ /**
8632
+ * Table Layout
8633
+ * @see https://tailwindcss.com/docs/table-layout
8634
+ */
8635
+ 'table-layout': [{
8636
+ table: ['auto', 'fixed']
8637
+ }],
8638
+ /**
8639
+ * Caption Side
8640
+ * @see https://tailwindcss.com/docs/caption-side
8641
+ */
8642
+ caption: [{
8643
+ caption: ['top', 'bottom']
8644
+ }],
8645
+ // ---------------------------------
8646
+ // --- Transitions and Animation ---
8647
+ // ---------------------------------
8648
+ /**
8649
+ * Transition Property
8650
+ * @see https://tailwindcss.com/docs/transition-property
8651
+ */
8652
+ transition: [{
8653
+ transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]
8654
+ }],
8655
+ /**
8656
+ * Transition Behavior
8657
+ * @see https://tailwindcss.com/docs/transition-behavior
8658
+ */
8659
+ 'transition-behavior': [{
8660
+ transition: ['normal', 'discrete']
8661
+ }],
8662
+ /**
8663
+ * Transition Duration
8664
+ * @see https://tailwindcss.com/docs/transition-duration
8665
+ */
8666
+ duration: [{
8667
+ duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]
8668
+ }],
8669
+ /**
8670
+ * Transition Timing Function
8671
+ * @see https://tailwindcss.com/docs/transition-timing-function
8672
+ */
8673
+ ease: [{
8674
+ ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]
8675
+ }],
8676
+ /**
8677
+ * Transition Delay
8678
+ * @see https://tailwindcss.com/docs/transition-delay
8679
+ */
8680
+ delay: [{
8681
+ delay: [isNumber, isArbitraryVariable, isArbitraryValue]
8682
+ }],
8683
+ /**
8684
+ * Animation
8685
+ * @see https://tailwindcss.com/docs/animation
8686
+ */
8687
+ animate: [{
8688
+ animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]
8689
+ }],
8690
+ // ------------------
8691
+ // --- Transforms ---
8692
+ // ------------------
8693
+ /**
8694
+ * Backface Visibility
8695
+ * @see https://tailwindcss.com/docs/backface-visibility
8696
+ */
8697
+ backface: [{
8698
+ backface: ['hidden', 'visible']
8699
+ }],
8700
+ /**
8701
+ * Perspective
8702
+ * @see https://tailwindcss.com/docs/perspective
8703
+ */
8704
+ perspective: [{
8705
+ perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]
8706
+ }],
8707
+ /**
8708
+ * Perspective Origin
8709
+ * @see https://tailwindcss.com/docs/perspective-origin
8710
+ */
8711
+ 'perspective-origin': [{
8712
+ 'perspective-origin': scalePositionWithArbitrary()
8713
+ }],
8714
+ /**
8715
+ * Rotate
8716
+ * @see https://tailwindcss.com/docs/rotate
8717
+ */
8718
+ rotate: [{
8719
+ rotate: scaleRotate()
8720
+ }],
8721
+ /**
8722
+ * Rotate X
8723
+ * @see https://tailwindcss.com/docs/rotate
8724
+ */
8725
+ 'rotate-x': [{
8726
+ 'rotate-x': scaleRotate()
8727
+ }],
8728
+ /**
8729
+ * Rotate Y
8730
+ * @see https://tailwindcss.com/docs/rotate
8731
+ */
8732
+ 'rotate-y': [{
8733
+ 'rotate-y': scaleRotate()
8734
+ }],
8735
+ /**
8736
+ * Rotate Z
8737
+ * @see https://tailwindcss.com/docs/rotate
8738
+ */
8739
+ 'rotate-z': [{
8740
+ 'rotate-z': scaleRotate()
8741
+ }],
8742
+ /**
8743
+ * Scale
8744
+ * @see https://tailwindcss.com/docs/scale
8745
+ */
8746
+ scale: [{
8747
+ scale: scaleScale()
8748
+ }],
8749
+ /**
8750
+ * Scale X
8751
+ * @see https://tailwindcss.com/docs/scale
8752
+ */
8753
+ 'scale-x': [{
8754
+ 'scale-x': scaleScale()
8755
+ }],
8756
+ /**
8757
+ * Scale Y
8758
+ * @see https://tailwindcss.com/docs/scale
8759
+ */
8760
+ 'scale-y': [{
8761
+ 'scale-y': scaleScale()
8762
+ }],
8763
+ /**
8764
+ * Scale Z
8765
+ * @see https://tailwindcss.com/docs/scale
8766
+ */
8767
+ 'scale-z': [{
8768
+ 'scale-z': scaleScale()
8769
+ }],
8770
+ /**
8771
+ * Scale 3D
8772
+ * @see https://tailwindcss.com/docs/scale
8773
+ */
8774
+ 'scale-3d': ['scale-3d'],
8775
+ /**
8776
+ * Skew
8777
+ * @see https://tailwindcss.com/docs/skew
8778
+ */
8779
+ skew: [{
8780
+ skew: scaleSkew()
8781
+ }],
8782
+ /**
8783
+ * Skew X
8784
+ * @see https://tailwindcss.com/docs/skew
8785
+ */
8786
+ 'skew-x': [{
8787
+ 'skew-x': scaleSkew()
8788
+ }],
8789
+ /**
8790
+ * Skew Y
8791
+ * @see https://tailwindcss.com/docs/skew
8792
+ */
8793
+ 'skew-y': [{
8794
+ 'skew-y': scaleSkew()
8795
+ }],
8796
+ /**
8797
+ * Transform
8798
+ * @see https://tailwindcss.com/docs/transform
8799
+ */
8800
+ transform: [{
8801
+ transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']
8802
+ }],
8803
+ /**
8804
+ * Transform Origin
8805
+ * @see https://tailwindcss.com/docs/transform-origin
8806
+ */
8807
+ 'transform-origin': [{
8808
+ origin: scalePositionWithArbitrary()
8809
+ }],
8810
+ /**
8811
+ * Transform Style
8812
+ * @see https://tailwindcss.com/docs/transform-style
8813
+ */
8814
+ 'transform-style': [{
8815
+ transform: ['3d', 'flat']
8816
+ }],
8817
+ /**
8818
+ * Translate
8819
+ * @see https://tailwindcss.com/docs/translate
8820
+ */
8821
+ translate: [{
8822
+ translate: scaleTranslate()
8823
+ }],
8824
+ /**
8825
+ * Translate X
8826
+ * @see https://tailwindcss.com/docs/translate
8827
+ */
8828
+ 'translate-x': [{
8829
+ 'translate-x': scaleTranslate()
8830
+ }],
8831
+ /**
8832
+ * Translate Y
8833
+ * @see https://tailwindcss.com/docs/translate
8834
+ */
8835
+ 'translate-y': [{
8836
+ 'translate-y': scaleTranslate()
8837
+ }],
8838
+ /**
8839
+ * Translate Z
8840
+ * @see https://tailwindcss.com/docs/translate
8841
+ */
8842
+ 'translate-z': [{
8843
+ 'translate-z': scaleTranslate()
8844
+ }],
8845
+ /**
8846
+ * Translate None
8847
+ * @see https://tailwindcss.com/docs/translate
8848
+ */
8849
+ 'translate-none': ['translate-none'],
8850
+ /**
8851
+ * Zoom
8852
+ * @see https://tailwindcss.com/docs/zoom
8853
+ */
8854
+ zoom: [{
8855
+ zoom: [isInteger, isArbitraryVariable, isArbitraryValue]
8856
+ }],
8857
+ // ---------------------
8858
+ // --- Interactivity ---
8859
+ // ---------------------
8860
+ /**
8861
+ * Accent Color
8862
+ * @see https://tailwindcss.com/docs/accent-color
8863
+ */
8864
+ accent: [{
8865
+ accent: scaleColor()
8866
+ }],
8867
+ /**
8868
+ * Appearance
8869
+ * @see https://tailwindcss.com/docs/appearance
8870
+ */
8871
+ appearance: [{
8872
+ appearance: ['none', 'auto']
8873
+ }],
8874
+ /**
8875
+ * Caret Color
8876
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
8877
+ */
8878
+ 'caret-color': [{
8879
+ caret: scaleColor()
8880
+ }],
8881
+ /**
8882
+ * Color Scheme
8883
+ * @see https://tailwindcss.com/docs/color-scheme
8884
+ */
8885
+ 'color-scheme': [{
8886
+ scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']
8887
+ }],
8888
+ /**
8889
+ * Cursor
8890
+ * @see https://tailwindcss.com/docs/cursor
8891
+ */
8892
+ cursor: [{
8893
+ cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryVariable, isArbitraryValue]
8894
+ }],
8895
+ /**
8896
+ * Field Sizing
8897
+ * @see https://tailwindcss.com/docs/field-sizing
8898
+ */
8899
+ 'field-sizing': [{
8900
+ 'field-sizing': ['fixed', 'content']
8901
+ }],
8902
+ /**
8903
+ * Pointer Events
8904
+ * @see https://tailwindcss.com/docs/pointer-events
8905
+ */
8906
+ 'pointer-events': [{
8907
+ 'pointer-events': ['auto', 'none']
8908
+ }],
8909
+ /**
8910
+ * Resize
8911
+ * @see https://tailwindcss.com/docs/resize
8912
+ */
8913
+ resize: [{
8914
+ resize: ['none', '', 'y', 'x']
8915
+ }],
8916
+ /**
8917
+ * Scroll Behavior
8918
+ * @see https://tailwindcss.com/docs/scroll-behavior
8919
+ */
8920
+ 'scroll-behavior': [{
8921
+ scroll: ['auto', 'smooth']
8922
+ }],
8923
+ /**
8924
+ * Scrollbar Thumb Color
8925
+ * @see https://tailwindcss.com/docs/scrollbar-color
8926
+ */
8927
+ 'scrollbar-thumb-color': [{
8928
+ 'scrollbar-thumb': scaleColor()
8929
+ }],
8930
+ /**
8931
+ * Scrollbar Track Color
8932
+ * @see https://tailwindcss.com/docs/scrollbar-color
8933
+ */
8934
+ 'scrollbar-track-color': [{
8935
+ 'scrollbar-track': scaleColor()
8936
+ }],
8937
+ /**
8938
+ * Scrollbar Gutter
8939
+ * @see https://tailwindcss.com/docs/scrollbar-gutter
8940
+ */
8941
+ 'scrollbar-gutter': [{
8942
+ 'scrollbar-gutter': ['auto', 'stable', 'both']
8943
+ }],
8944
+ /**
8945
+ * Scrollbar Width
8946
+ * @see https://tailwindcss.com/docs/scrollbar-width
8947
+ */
8948
+ 'scrollbar-w': [{
8949
+ scrollbar: ['auto', 'thin', 'none']
8950
+ }],
8951
+ /**
8952
+ * Scroll Margin
8953
+ * @see https://tailwindcss.com/docs/scroll-margin
8954
+ */
8955
+ 'scroll-m': [{
8956
+ 'scroll-m': scaleUnambiguousSpacing()
8957
+ }],
8958
+ /**
8959
+ * Scroll Margin Inline
8960
+ * @see https://tailwindcss.com/docs/scroll-margin
8961
+ */
8962
+ 'scroll-mx': [{
8963
+ 'scroll-mx': scaleUnambiguousSpacing()
8964
+ }],
8965
+ /**
8966
+ * Scroll Margin Block
8967
+ * @see https://tailwindcss.com/docs/scroll-margin
8968
+ */
8969
+ 'scroll-my': [{
8970
+ 'scroll-my': scaleUnambiguousSpacing()
8971
+ }],
8972
+ /**
8973
+ * Scroll Margin Inline Start
8974
+ * @see https://tailwindcss.com/docs/scroll-margin
8975
+ */
8976
+ 'scroll-ms': [{
8977
+ 'scroll-ms': scaleUnambiguousSpacing()
8978
+ }],
8979
+ /**
8980
+ * Scroll Margin Inline End
8981
+ * @see https://tailwindcss.com/docs/scroll-margin
8982
+ */
8983
+ 'scroll-me': [{
8984
+ 'scroll-me': scaleUnambiguousSpacing()
8985
+ }],
8986
+ /**
8987
+ * Scroll Margin Block Start
8988
+ * @see https://tailwindcss.com/docs/scroll-margin
8989
+ */
8990
+ 'scroll-mbs': [{
8991
+ 'scroll-mbs': scaleUnambiguousSpacing()
8992
+ }],
8993
+ /**
8994
+ * Scroll Margin Block End
8995
+ * @see https://tailwindcss.com/docs/scroll-margin
8996
+ */
8997
+ 'scroll-mbe': [{
8998
+ 'scroll-mbe': scaleUnambiguousSpacing()
8999
+ }],
9000
+ /**
9001
+ * Scroll Margin Top
9002
+ * @see https://tailwindcss.com/docs/scroll-margin
9003
+ */
9004
+ 'scroll-mt': [{
9005
+ 'scroll-mt': scaleUnambiguousSpacing()
9006
+ }],
9007
+ /**
9008
+ * Scroll Margin Right
9009
+ * @see https://tailwindcss.com/docs/scroll-margin
9010
+ */
9011
+ 'scroll-mr': [{
9012
+ 'scroll-mr': scaleUnambiguousSpacing()
9013
+ }],
9014
+ /**
9015
+ * Scroll Margin Bottom
9016
+ * @see https://tailwindcss.com/docs/scroll-margin
9017
+ */
9018
+ 'scroll-mb': [{
9019
+ 'scroll-mb': scaleUnambiguousSpacing()
9020
+ }],
9021
+ /**
9022
+ * Scroll Margin Left
9023
+ * @see https://tailwindcss.com/docs/scroll-margin
9024
+ */
9025
+ 'scroll-ml': [{
9026
+ 'scroll-ml': scaleUnambiguousSpacing()
9027
+ }],
9028
+ /**
9029
+ * Scroll Padding
9030
+ * @see https://tailwindcss.com/docs/scroll-padding
9031
+ */
9032
+ 'scroll-p': [{
9033
+ 'scroll-p': scaleUnambiguousSpacing()
9034
+ }],
9035
+ /**
9036
+ * Scroll Padding Inline
9037
+ * @see https://tailwindcss.com/docs/scroll-padding
9038
+ */
9039
+ 'scroll-px': [{
9040
+ 'scroll-px': scaleUnambiguousSpacing()
9041
+ }],
9042
+ /**
9043
+ * Scroll Padding Block
9044
+ * @see https://tailwindcss.com/docs/scroll-padding
9045
+ */
9046
+ 'scroll-py': [{
9047
+ 'scroll-py': scaleUnambiguousSpacing()
9048
+ }],
9049
+ /**
9050
+ * Scroll Padding Inline Start
9051
+ * @see https://tailwindcss.com/docs/scroll-padding
9052
+ */
9053
+ 'scroll-ps': [{
9054
+ 'scroll-ps': scaleUnambiguousSpacing()
9055
+ }],
9056
+ /**
9057
+ * Scroll Padding Inline End
9058
+ * @see https://tailwindcss.com/docs/scroll-padding
9059
+ */
9060
+ 'scroll-pe': [{
9061
+ 'scroll-pe': scaleUnambiguousSpacing()
9062
+ }],
9063
+ /**
9064
+ * Scroll Padding Block Start
9065
+ * @see https://tailwindcss.com/docs/scroll-padding
9066
+ */
9067
+ 'scroll-pbs': [{
9068
+ 'scroll-pbs': scaleUnambiguousSpacing()
9069
+ }],
9070
+ /**
9071
+ * Scroll Padding Block End
9072
+ * @see https://tailwindcss.com/docs/scroll-padding
9073
+ */
9074
+ 'scroll-pbe': [{
9075
+ 'scroll-pbe': scaleUnambiguousSpacing()
9076
+ }],
9077
+ /**
9078
+ * Scroll Padding Top
9079
+ * @see https://tailwindcss.com/docs/scroll-padding
9080
+ */
9081
+ 'scroll-pt': [{
9082
+ 'scroll-pt': scaleUnambiguousSpacing()
9083
+ }],
9084
+ /**
9085
+ * Scroll Padding Right
9086
+ * @see https://tailwindcss.com/docs/scroll-padding
9087
+ */
9088
+ 'scroll-pr': [{
9089
+ 'scroll-pr': scaleUnambiguousSpacing()
9090
+ }],
9091
+ /**
9092
+ * Scroll Padding Bottom
9093
+ * @see https://tailwindcss.com/docs/scroll-padding
9094
+ */
9095
+ 'scroll-pb': [{
9096
+ 'scroll-pb': scaleUnambiguousSpacing()
9097
+ }],
9098
+ /**
9099
+ * Scroll Padding Left
9100
+ * @see https://tailwindcss.com/docs/scroll-padding
9101
+ */
9102
+ 'scroll-pl': [{
9103
+ 'scroll-pl': scaleUnambiguousSpacing()
9104
+ }],
9105
+ /**
9106
+ * Scroll Snap Align
9107
+ * @see https://tailwindcss.com/docs/scroll-snap-align
9108
+ */
9109
+ 'snap-align': [{
9110
+ snap: ['start', 'end', 'center', 'align-none']
9111
+ }],
9112
+ /**
9113
+ * Scroll Snap Stop
9114
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
9115
+ */
9116
+ 'snap-stop': [{
9117
+ snap: ['normal', 'always']
9118
+ }],
9119
+ /**
9120
+ * Scroll Snap Type
9121
+ * @see https://tailwindcss.com/docs/scroll-snap-type
9122
+ */
9123
+ 'snap-type': [{
9124
+ snap: ['none', 'x', 'y', 'both']
9125
+ }],
9126
+ /**
9127
+ * Scroll Snap Type Strictness
9128
+ * @see https://tailwindcss.com/docs/scroll-snap-type
9129
+ */
9130
+ 'snap-strictness': [{
9131
+ snap: ['mandatory', 'proximity']
9132
+ }],
9133
+ /**
9134
+ * Touch Action
9135
+ * @see https://tailwindcss.com/docs/touch-action
9136
+ */
9137
+ touch: [{
9138
+ touch: ['auto', 'none', 'manipulation']
9139
+ }],
9140
+ /**
9141
+ * Touch Action X
9142
+ * @see https://tailwindcss.com/docs/touch-action
9143
+ */
9144
+ 'touch-x': [{
9145
+ 'touch-pan': ['x', 'left', 'right']
9146
+ }],
9147
+ /**
9148
+ * Touch Action Y
9149
+ * @see https://tailwindcss.com/docs/touch-action
9150
+ */
9151
+ 'touch-y': [{
9152
+ 'touch-pan': ['y', 'up', 'down']
9153
+ }],
9154
+ /**
9155
+ * Touch Action Pinch Zoom
9156
+ * @see https://tailwindcss.com/docs/touch-action
9157
+ */
9158
+ 'touch-pz': ['touch-pinch-zoom'],
9159
+ /**
9160
+ * User Select
9161
+ * @see https://tailwindcss.com/docs/user-select
9162
+ */
9163
+ select: [{
9164
+ select: ['none', 'text', 'all', 'auto']
9165
+ }],
9166
+ /**
9167
+ * Will Change
9168
+ * @see https://tailwindcss.com/docs/will-change
9169
+ */
9170
+ 'will-change': [{
9171
+ 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]
9172
+ }],
9173
+ // -----------
9174
+ // --- SVG ---
9175
+ // -----------
9176
+ /**
9177
+ * Fill
9178
+ * @see https://tailwindcss.com/docs/fill
9179
+ */
9180
+ fill: [{
9181
+ fill: ['none', ...scaleColor()]
9182
+ }],
9183
+ /**
9184
+ * Stroke Width
9185
+ * @see https://tailwindcss.com/docs/stroke-width
9186
+ */
9187
+ 'stroke-w': [{
9188
+ stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]
9189
+ }],
9190
+ /**
9191
+ * Stroke
9192
+ * @see https://tailwindcss.com/docs/stroke
9193
+ */
9194
+ stroke: [{
9195
+ stroke: ['none', ...scaleColor()]
9196
+ }],
9197
+ // ---------------------
9198
+ // --- Accessibility ---
9199
+ // ---------------------
9200
+ /**
9201
+ * Forced Color Adjust
9202
+ * @see https://tailwindcss.com/docs/forced-color-adjust
9203
+ */
9204
+ 'forced-color-adjust': [{
9205
+ 'forced-color-adjust': ['auto', 'none']
9206
+ }]
9207
+ },
9208
+ conflictingClassGroups: {
9209
+ 'container-named': ['container-type'],
9210
+ overflow: ['overflow-x', 'overflow-y'],
9211
+ overscroll: ['overscroll-x', 'overscroll-y'],
9212
+ inset: ['inset-x', 'inset-y', 'inset-bs', 'inset-be', 'start', 'end', 'top', 'right', 'bottom', 'left'],
9213
+ 'inset-x': ['right', 'left'],
9214
+ 'inset-y': ['top', 'bottom'],
9215
+ flex: ['basis', 'grow', 'shrink'],
9216
+ gap: ['gap-x', 'gap-y'],
9217
+ p: ['px', 'py', 'ps', 'pe', 'pbs', 'pbe', 'pt', 'pr', 'pb', 'pl'],
9218
+ px: ['pr', 'pl'],
9219
+ py: ['pt', 'pb'],
9220
+ m: ['mx', 'my', 'ms', 'me', 'mbs', 'mbe', 'mt', 'mr', 'mb', 'ml'],
9221
+ mx: ['mr', 'ml'],
9222
+ my: ['mt', 'mb'],
9223
+ size: ['w', 'h'],
9224
+ 'font-size': ['leading'],
9225
+ 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
9226
+ 'fvn-ordinal': ['fvn-normal'],
9227
+ 'fvn-slashed-zero': ['fvn-normal'],
9228
+ 'fvn-figure': ['fvn-normal'],
9229
+ 'fvn-spacing': ['fvn-normal'],
9230
+ 'fvn-fraction': ['fvn-normal'],
9231
+ 'line-clamp': ['display', 'overflow'],
9232
+ rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],
9233
+ 'rounded-s': ['rounded-ss', 'rounded-es'],
9234
+ 'rounded-e': ['rounded-se', 'rounded-ee'],
9235
+ 'rounded-t': ['rounded-tl', 'rounded-tr'],
9236
+ 'rounded-r': ['rounded-tr', 'rounded-br'],
9237
+ 'rounded-b': ['rounded-br', 'rounded-bl'],
9238
+ 'rounded-l': ['rounded-tl', 'rounded-bl'],
9239
+ 'border-spacing': ['border-spacing-x', 'border-spacing-y'],
9240
+ 'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-bs', 'border-w-be', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
9241
+ 'border-w-x': ['border-w-r', 'border-w-l'],
9242
+ 'border-w-y': ['border-w-t', 'border-w-b'],
9243
+ 'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-bs', 'border-color-be', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
9244
+ 'border-color-x': ['border-color-r', 'border-color-l'],
9245
+ 'border-color-y': ['border-color-t', 'border-color-b'],
9246
+ translate: ['translate-x', 'translate-y', 'translate-none'],
9247
+ 'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],
9248
+ 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mbs', 'scroll-mbe', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
9249
+ 'scroll-mx': ['scroll-mr', 'scroll-ml'],
9250
+ 'scroll-my': ['scroll-mt', 'scroll-mb'],
9251
+ 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pbs', 'scroll-pbe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
9252
+ 'scroll-px': ['scroll-pr', 'scroll-pl'],
9253
+ 'scroll-py': ['scroll-pt', 'scroll-pb'],
9254
+ touch: ['touch-x', 'touch-y', 'touch-pz'],
9255
+ 'touch-x': ['touch'],
9256
+ 'touch-y': ['touch'],
9257
+ 'touch-pz': ['touch']
9258
+ },
9259
+ conflictingClassGroupModifiers: {
9260
+ 'font-size': ['leading']
9261
+ },
9262
+ postfixLookupClassGroups: ['container-type'],
9263
+ orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']
9264
+ };
9265
+ };
9266
+ const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
9267
+
9268
+ function cn() {
9269
+ var inputs = [];
9270
+ for (var _i = 0; _i < arguments.length; _i++) {
9271
+ inputs[_i] = arguments[_i];
9272
+ }
9273
+ return twMerge(clsx(inputs));
9274
+ }
9275
+ var HorizontalStepper = function (_a) {
9276
+ var steps = _a.steps, activeStep = _a.activeStep, _b = _a.size, size = _b === void 0 ? 'md' : _b, className = _a.className, onStepClick = _a.onStepClick, processedIcon = _a.processedIcon, currentIcon = _a.currentIcon, _c = _a.color, color = _c === void 0 ? 'blue' : _c, _d = _a.showLabels, showLabels = _d === void 0 ? true : _d;
9277
+ var isSmall = size === 'sm';
9278
+ var connectorColor = "bg-bia-".concat(color);
9279
+ var stepTextColor = "text-bia-".concat(color);
9280
+ var stepBgColor = "bg-bia-".concat(color);
9281
+ var stepBorderColor = "border-bia-".concat(color);
9282
+ var processedStepStyle = processedIcon
9283
+ ? "".concat(stepBorderColor, " ").concat(stepBgColor, " text-bia-white")
9284
+ : "".concat(stepBorderColor, " bg-bia-white");
9285
+ var currentStepStyle = currentIcon
9286
+ ? "".concat(stepBorderColor, " ").concat(stepBgColor, " text-bia-white")
9287
+ : "".concat(stepBorderColor, " bg-bia-white");
9288
+ return (React.createElement("nav", { "aria-label": "Progress", className: cn('flex w-full items-start justify-between', className) }, steps.map(function (step, index) {
9289
+ var _a;
9290
+ var isFirst = index === 0;
9291
+ var isLast = index === steps.length - 1;
9292
+ // Determine step status based on activeStep index
9293
+ var status = 'upcoming';
9294
+ if (index < activeStep)
9295
+ status = 'processed';
9296
+ else if (index === activeStep)
9297
+ status = 'current';
9298
+ var isInteractive = Boolean(onStepClick);
9299
+ return (React.createElement("div", { key: (_a = step.id) !== null && _a !== void 0 ? _a : index, className: "group relative flex flex-1 flex-col items-center" },
9300
+ React.createElement("div", { className: "relative my-2 flex w-full items-center" },
9301
+ React.createElement("div", { className: cn('h-0.5 flex-1 transition-colors duration-200', isFirst ? (showLabels ? 'opacity-0' : 'hidden') : '', index <= activeStep
9302
+ ? connectorColor
9303
+ : 'bg-bia-coolgrey-light-50') }),
9304
+ React.createElement("button", { type: "button", disabled: !isInteractive, onClick: function () { return onStepClick === null || onStepClick === void 0 ? void 0 : onStepClick(index); }, "aria-current": status === 'current' ? 'step' : undefined, className: cn('relative flex shrink-0 items-center justify-center rounded-full border-2 transition-all duration-200', 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-bia-blue focus-visible:ring-offset-2', isSmall ? 'h-6 w-6 text-xs' : 'h-8 w-8 text-sm', isInteractive ? 'cursor-pointer' : 'cursor-default', status === 'processed' && processedStepStyle, status === 'current' && "font-semibold ".concat(currentStepStyle), status === 'upcoming' &&
9305
+ 'border-bia-coolgrey-light-50 bg-bia-white text-bia-black') }, step.icon ? (step.icon) : status === 'processed' && processedIcon ? (processedIcon) : status === 'current' ? (currentIcon ? (currentIcon) : (React.createElement(TbCircleFilled, { size: isSmall ? 14 : 18, className: stepTextColor }))) : (React.createElement(Text, { variant: isSmall ? 'small-text-semibold' : 'normal-text-semibold', className: status === 'processed' ? stepTextColor : 'text-bia-black' }, index + 1))),
9306
+ React.createElement("div", { className: cn('h-0.5 flex-1 transition-colors duration-200', isLast ? (showLabels ? 'opacity-0' : 'hidden') : '', index < activeStep
9307
+ ? connectorColor
9308
+ : 'bg-bia-coolgrey-light-50') })),
9309
+ showLabels && (step.label || step.description) && (React.createElement("div", { className: "mt-2 flex max-w-[140px] flex-col gap-y-[3px] text-center" },
9310
+ step.label && (React.createElement(Text, { variant: isSmall ? 'small-text-semibold' : 'normal-text-semibold', className: "text-bia-black" }, step.label)),
9311
+ step.description && (React.createElement(Text, { variant: isSmall ? 'small-text' : 'normal-text', className: "text-bia-coolgrey-light-50" }, step.description))))));
9312
+ })));
9313
+ };
9314
+
5979
9315
  var variantConfig = {
5980
9316
  upcoming: 'bg-white border-2 border-coolgrey-light-50',
5981
9317
  processed: 'bg-white border-2 border-bia-blue',
@@ -6245,6 +9581,7 @@ exports.FormGroupButton = FormGroupButton;
6245
9581
  exports.FormGroupLabel = FormGroupLabel;
6246
9582
  exports.FormLabel = FormLabel;
6247
9583
  exports.Heading = Heading;
9584
+ exports.HorizontalStepper = HorizontalStepper;
6248
9585
  exports.InfoPanel = InfoPanel;
6249
9586
  exports.Link = Link;
6250
9587
  exports.LiveSearch = LiveSearch;