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