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