@economic/taco 2.50.1 → 2.51.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/components/Menu/components/Content.d.ts +1 -1
  2. package/dist/components/Menu/components/SubMenu.d.ts +1 -1
  3. package/dist/esm/packages/taco/src/components/Table3/Table3.js +1 -8
  4. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  5. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +15 -7
  6. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +1 -1
  7. package/dist/esm/packages/taco/src/components/Table3/useTable3.js +1 -1
  8. package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -1
  9. package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +8 -5
  10. package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +1 -1
  11. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +1 -2
  12. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +1 -1
  13. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +2 -2
  14. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -1
  15. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +4 -0
  16. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -1
  17. package/dist/esm/packages/taco/src/primitives/Table/types.js +2 -0
  18. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  19. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js +0 -11
  20. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -1
  21. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js +6 -0
  22. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -1
  23. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +1 -2
  24. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  25. package/dist/primitives/Table/types.d.ts +7 -3
  26. package/dist/primitives/Table/useTableManager/features/useTableRowActions.d.ts +0 -2
  27. package/dist/taco.cjs.development.js +220 -216
  28. package/dist/taco.cjs.development.js.map +1 -1
  29. package/dist/taco.cjs.production.min.js +1 -1
  30. package/dist/taco.cjs.production.min.js.map +1 -1
  31. package/package.json +8 -8
@@ -6,8 +6,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
6
6
 
7
7
  var React = require('react');
8
8
  var React__default = _interopDefault(React);
9
- var cn = require('clsx');
10
- var cn__default = _interopDefault(cn);
9
+ var cn = _interopDefault(require('clsx'));
11
10
  var AlertDialogPrimitive = require('@radix-ui/react-alert-dialog');
12
11
  var AccordionPrimitive = require('@radix-ui/react-accordion');
13
12
  var TooltipPrimitive = require('@radix-ui/react-tooltip');
@@ -3846,7 +3845,7 @@ const Icon = /*#__PURE__*/React__default.forwardRef(function Icon(props, ref) {
3846
3845
  } = props;
3847
3846
  const Component = icons[name];
3848
3847
  /* 24x24 _at the base body font_ - must be em so that they scale with font size - tailwind spacing uses rem */
3849
- const className = cn__default('inline-flex h-[1.715em] w-[1.715em] flex-shrink-0', props.className, {
3848
+ const className = cn('inline-flex h-[1.715em] w-[1.715em] flex-shrink-0', props.className, {
3850
3849
  'p-[3px]': (_props$className = props.className) === null || _props$className === void 0 ? void 0 : _props$className.includes('rounded-full')
3851
3850
  });
3852
3851
  return Component ? (/*#__PURE__*/React__default.createElement(Component, Object.assign({}, otherProps, {
@@ -3867,7 +3866,7 @@ const BadgeIcon = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {
3867
3866
  small,
3868
3867
  ...otherProps
3869
3868
  } = props;
3870
- const className = cn__default(`rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center border-transparent [&>*]:max-h-full shrink-0`, {
3869
+ const className = cn(`rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center border-transparent [&>*]:max-h-full shrink-0`, {
3871
3870
  'w-5 h-5': !small
3872
3871
  }, {
3873
3872
  'w-4 h-4 text-xs': small
@@ -3914,7 +3913,7 @@ const Alert = /*#__PURE__*/React__default.forwardRef(function Alert(props, ref)
3914
3913
  state,
3915
3914
  onClose
3916
3915
  } = props;
3917
- const className = cn__default(`flex w-full flex-row items-start gap-2 rounded-md border-transparent p-3 ${getSubtleColorShadeClasses(getColorByState(state))}`, props.className);
3916
+ const className = cn(`flex w-full flex-row items-start gap-2 rounded-md border-transparent p-3 ${getSubtleColorShadeClasses(getColorByState(state))}`, props.className);
3918
3917
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, props, {
3919
3918
  ref: ref,
3920
3919
  className: className,
@@ -3990,7 +3989,7 @@ const Action = /*#__PURE__*/React.forwardRef(function AlertDialogAction(props, r
3990
3989
  });
3991
3990
 
3992
3991
  const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(props, ref) {
3993
- const className = cn__default('fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible print:overflow-visible print:absolute', props.className);
3992
+ const className = cn('fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible print:overflow-visible print:absolute', props.className);
3994
3993
  return /*#__PURE__*/React.createElement("div", Object.assign({}, props, {
3995
3994
  className: className,
3996
3995
  "data-taco": "backdrop",
@@ -4042,14 +4041,14 @@ const Title = /*#__PURE__*/React.forwardRef(function AlertDialogTitle(props, ref
4042
4041
  } = useCurrentAlertDialog();
4043
4042
  const iconProps = iconPropsByVariant(parentProps.variant);
4044
4043
  return /*#__PURE__*/React.createElement(AlertDialogPrimitive.Title, Object.assign({}, props, {
4045
- className: cn__default('flex items-center', props.className),
4044
+ className: cn('flex items-center', props.className),
4046
4045
  ref: ref
4047
4046
  }), iconProps ? /*#__PURE__*/React.createElement(BadgeIcon, Object.assign({}, iconProps, {
4048
4047
  className: "mr-2"
4049
4048
  })) : undefined, props.children);
4050
4049
  });
4051
4050
  const Content = /*#__PURE__*/React.forwardRef(function AlertDialogContent(props, ref) {
4052
- const className = cn__default('p-6', getDialogPositionClassnames(), getDialogStylingClassnames(), getDialogSizeClassnames('dialog'));
4051
+ const className = cn('p-6', getDialogPositionClassnames(), getDialogStylingClassnames(), getDialogSizeClassnames('dialog'));
4053
4052
  return /*#__PURE__*/React.createElement(AlertDialogPrimitive.Portal, null, /*#__PURE__*/React.createElement(AlertDialogPrimitive.Overlay, {
4054
4053
  asChild: true
4055
4054
  }, /*#__PURE__*/React.createElement(Backdrop, null, /*#__PURE__*/React.createElement(AlertDialogPrimitive.Content, Object.assign({}, props, {
@@ -4092,7 +4091,7 @@ const AccordionContext = /*#__PURE__*/React__default.createContext({
4092
4091
  });
4093
4092
  const StyledTrigger = /*#__PURE__*/React__default.forwardRef(function AccordionStyledTrigger(props, ref) {
4094
4093
  const isExpanded = !!props['aria-expanded'];
4095
- const className = cn__default('w-full inline-flex justify-between items-center align-middle', 'focus:rounded-sm focus:border-blue-500 focus:yt-focus', props.className);
4094
+ const className = cn('w-full inline-flex justify-between items-center align-middle', 'focus:rounded-sm focus:border-blue-500 focus:yt-focus', props.className);
4096
4095
  return /*#__PURE__*/React__default.createElement("button", Object.assign({}, props, {
4097
4096
  ref: ref,
4098
4097
  className: className
@@ -4153,7 +4152,7 @@ const Accordion = props => {
4153
4152
  };
4154
4153
  }
4155
4154
  const type = typeof valueProps.defaultValue === 'string' || typeof valueProps.value === 'string' ? 'single' : 'multiple';
4156
- const className = cn__default('divide-y divide-grey-200', props.className);
4155
+ const className = cn('divide-y divide-grey-200', props.className);
4157
4156
  return /*#__PURE__*/React__default.createElement(AccordionContext.Provider, {
4158
4157
  value: context
4159
4158
  }, /*#__PURE__*/React__default.createElement(AccordionPrimitive.Root, Object.assign({}, otherProps, valueProps, {
@@ -4185,7 +4184,7 @@ const Badge = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {
4185
4184
  ...otherProps
4186
4185
  } = props;
4187
4186
  const isTransparent = color === 'transparent';
4188
- const className = cn__default('rounded-full border box-border overflow-hidden whitespace-nowrap inline-flex items-center justify-center', {
4187
+ const className = cn('rounded-full border box-border overflow-hidden whitespace-nowrap inline-flex items-center justify-center', {
4189
4188
  [`border ${getOutlineColorShadeClasses(color)}`]: outline,
4190
4189
  [`border-none font-normal ${getSubtleColorShadeClasses(color)}`]: subtle,
4191
4190
  [`border-none ${getColorShadeClasses(color)}`]: !outline && !subtle,
@@ -4205,7 +4204,7 @@ const Badge = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {
4205
4204
  }, children) : children;
4206
4205
  if (status) {
4207
4206
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
4208
- className: cn__default('mr-1 h-2 w-2 shrink-0 rounded-full', getColorShadeClasses(color))
4207
+ className: cn('mr-1 h-2 w-2 shrink-0 rounded-full', getColorShadeClasses(color))
4209
4208
  }), contentToRender);
4210
4209
  }
4211
4210
  return contentToRender;
@@ -4472,7 +4471,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(props, ref) {
4472
4471
  hide = false,
4473
4472
  ...otherProps
4474
4473
  } = props;
4475
- const className = cn__default('break-words', otherProps.className);
4474
+ const className = cn('break-words', otherProps.className);
4476
4475
  if (hide) {
4477
4476
  return children;
4478
4477
  }
@@ -4482,16 +4481,19 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(props, ref) {
4482
4481
  asChild: true,
4483
4482
  ref: ref
4484
4483
  }, children), /*#__PURE__*/React.createElement(TooltipPrimitive.Portal, null, /*#__PURE__*/React.createElement(TooltipPrimitive.Content, Object.assign({}, otherProps, {
4484
+ asChild: true,
4485
+ className: className,
4485
4486
  side: placement,
4486
- sideOffset: 3,
4487
- className: cn.clsx('xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded bg-blue-900 px-2 py-1 text-xs text-white print:hidden', className),
4487
+ sideOffset: 3
4488
+ }), /*#__PURE__*/React.createElement("div", {
4489
+ className: "xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded bg-blue-900 px-2 py-1 text-xs text-white print:hidden",
4488
4490
  "data-taco": "tooltip",
4489
4491
  style: {
4490
4492
  transformOrigin: 'var(--radix-tooltip-content-transform-origin)'
4491
4493
  }
4492
- }), title, /*#__PURE__*/React.createElement(TooltipPrimitive.Arrow, {
4494
+ }, /*#__PURE__*/React.createElement(TooltipPrimitive.Arrow, {
4493
4495
  className: "-mt-px fill-blue-900 stroke-blue-900"
4494
- }))));
4496
+ }), title))));
4495
4497
  });
4496
4498
 
4497
4499
  const getButtonClasses = () => {
@@ -4576,7 +4578,7 @@ const Base = /*#__PURE__*/React.forwardRef(function IconButtonBase(props, ref) {
4576
4578
  rounded = false,
4577
4579
  ...otherProps
4578
4580
  } = props;
4579
- const className = cn__default('w-8', getButtonClasses(), getAppearanceClasses(otherProps.appearance, true), {
4581
+ const className = cn('w-8', getButtonClasses(), getAppearanceClasses(otherProps.appearance, true), {
4580
4582
  'rounded-full': rounded,
4581
4583
  rounded: !rounded
4582
4584
  }, props.className);
@@ -4951,7 +4953,7 @@ const Banner = /*#__PURE__*/React.forwardRef(function Banner(props, ref) {
4951
4953
  const {
4952
4954
  texts
4953
4955
  } = useLocalization();
4954
- const className = cn__default('bg-white relative flex items-center gap-2 py-2 px-4 leading-6 shadow-md z-10', props.className);
4956
+ const className = cn('bg-white relative flex items-center gap-2 py-2 px-4 leading-6 shadow-md z-10', props.className);
4955
4957
  return /*#__PURE__*/React.createElement("div", {
4956
4958
  className: className,
4957
4959
  "data-taco": "banner",
@@ -4971,7 +4973,7 @@ const Base$1 = /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
4971
4973
  fluid,
4972
4974
  ...otherProps
4973
4975
  } = props;
4974
- const className = cn__default(getButtonClasses(), getAppearanceClasses(appearance), 'rounded px-3', {
4976
+ const className = cn(getButtonClasses(), getAppearanceClasses(appearance), 'rounded px-3', {
4975
4977
  'w-full': fluid
4976
4978
  }, props.className);
4977
4979
  return createButtonWithTooltip({
@@ -5122,7 +5124,7 @@ const Calendar$1 = props => {
5122
5124
  }
5123
5125
  handleChange(date, event);
5124
5126
  };
5125
- const className = cn__default('flex bg-white text-xs p-2', otherProps.className);
5127
+ const className = cn('flex bg-white text-xs p-2', otherProps.className);
5126
5128
  return /*#__PURE__*/React.createElement("div", {
5127
5129
  "data-taco": "calendar"
5128
5130
  }, /*#__PURE__*/React.createElement(reactDayPicker.DayPicker, {
@@ -5189,7 +5191,7 @@ const Truncate = ({
5189
5191
  }, []);
5190
5192
  const clonedChildrenWithRef = /*#__PURE__*/React__default.cloneElement(React__default.Children.only(children), {
5191
5193
  ref,
5192
- className: cn__default(children.props.className, 'truncate', {
5194
+ className: cn(children.props.className, 'truncate', {
5193
5195
  'hover:cursor-pointer': isTruncated
5194
5196
  })
5195
5197
  });
@@ -5206,7 +5208,7 @@ const Content$2 = /*#__PURE__*/React.forwardRef(function CardContent(externalPro
5206
5208
  noPadding,
5207
5209
  ...props
5208
5210
  } = externalProps;
5209
- const className = cn__default('flex-grow overflow-auto', {
5211
+ const className = cn('flex-grow overflow-auto', {
5210
5212
  'px-4 pb-4': !noPadding
5211
5213
  }, props.className);
5212
5214
  return /*#__PURE__*/React.createElement("div", Object.assign({}, props, {
@@ -5223,7 +5225,7 @@ const Card = /*#__PURE__*/React.forwardRef(function Card(props, ref) {
5223
5225
  className,
5224
5226
  ...otherProps
5225
5227
  } = props;
5226
- const cardClassName = cn__default('bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500', className);
5228
+ const cardClassName = cn('bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500', className);
5227
5229
  return /*#__PURE__*/React.createElement("div", Object.assign({}, otherProps, {
5228
5230
  className: cardClassName,
5229
5231
  "data-taco": "card",
@@ -5269,7 +5271,7 @@ const Spinner = /*#__PURE__*/React__default.forwardRef(function Spinner(props, r
5269
5271
  if (!visible) {
5270
5272
  return null;
5271
5273
  }
5272
- const className = cn__default('inline-flex flex-col relative items-center', otherProps.className);
5274
+ const className = cn('inline-flex flex-col relative items-center', otherProps.className);
5273
5275
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, otherProps, {
5274
5276
  className: className,
5275
5277
  "data-taco": "spinner",
@@ -5298,7 +5300,7 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
5298
5300
  ...otherProps
5299
5301
  } = props;
5300
5302
  const id = useId(props.id);
5301
- const className = cn__default('bg-white h-5 w-5 border rounded text-sm flex-shrink-0 focus-visible:yt-focus disabled:cursor-not-allowed text-white', {
5303
+ const className = cn('bg-white h-5 w-5 border rounded text-sm flex-shrink-0 focus-visible:yt-focus disabled:cursor-not-allowed text-white', {
5302
5304
  'self-start': !!label,
5303
5305
  'mt-[0.1rem]': !label
5304
5306
  }, invalid ? {
@@ -5325,7 +5327,7 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
5325
5327
  event.currentTarget.click();
5326
5328
  }
5327
5329
  };
5328
- const spinnerClassname = cn__default(
5330
+ const spinnerClassname = cn(
5329
5331
  //Spinner is slightly bigger then 'line' and 'tick' icons, so making it 2px smaller from each side
5330
5332
  "m-0.5 !h-[calc(100%-theme('spacing.1'))] !w-[calc(100%-theme('spacing.1'))]", {
5331
5333
  'text-blue-500': !checked && !indeterminate
@@ -5347,7 +5349,7 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
5347
5349
  className: "!h-full !w-full"
5348
5350
  }))));
5349
5351
  if (label) {
5350
- const labelContainerClassName = cn__default('flex items-center cursor-pointer gap-2', {
5352
+ const labelContainerClassName = cn('flex items-center cursor-pointer gap-2', {
5351
5353
  'cursor-not-allowed text-grey-300': props.disabled
5352
5354
  });
5353
5355
  return /*#__PURE__*/React.createElement("span", {
@@ -5366,7 +5368,7 @@ const getInputClasses = props => {
5366
5368
  const disabled = props.disabled || !!props['aria-disabled'];
5367
5369
  const readOnly = props.readOnly || !!props['aria-readonly'];
5368
5370
  const invalid = props.invalid || !!props['aria-invalid'];
5369
- return cn__default('peer text-black text-sm border font-normal not-italic no-underline rounded flex items-center leading-6 px-2 relative w-full text-ellipsis transition-colors transition-opacity ease-in min-h-[theme(spacing.8)] focus:yt-focus',
5371
+ return cn('peer text-black text-sm border font-normal not-italic no-underline rounded flex items-center leading-6 px-2 relative w-full text-ellipsis transition-colors transition-opacity ease-in min-h-[theme(spacing.8)] focus:yt-focus',
5370
5372
  // hide the arrow controls on input[type=number]
5371
5373
  '[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none', {
5372
5374
  'bg-white': !props.highlighted && !readOnly,
@@ -5385,7 +5387,7 @@ const getInputClasses = props => {
5385
5387
  };
5386
5388
  const getButtonStateClasses = (invalid, disabled = false) => {
5387
5389
  if (invalid) {
5388
- return cn__default('border border-red-500 group-peer-hover:enabled:border-red-700 transition-colors ease-in', {
5390
+ return cn('border border-red-500 group-peer-hover:enabled:border-red-700 transition-colors ease-in', {
5389
5391
  'border-red-500/30': disabled
5390
5392
  });
5391
5393
  }
@@ -5495,7 +5497,7 @@ const InputWithoutDeprecatedFeatures = /*#__PURE__*/React.forwardRef(function In
5495
5497
  const prefixRect = useBoundingClientRectListener(prefixRef);
5496
5498
  const postfixRef = React.useRef(null);
5497
5499
  const postfixRect = useBoundingClientRectListener(postfixRef, [postfix]);
5498
- const className = cn__default(getInputClasses(props), {
5500
+ const className = cn(getInputClasses(props), {
5499
5501
  'pl-8': !!prefix,
5500
5502
  'pr-8': !!postfix
5501
5503
  }, attributes.className);
@@ -5550,7 +5552,7 @@ const Affix = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function Aff
5550
5552
  type
5551
5553
  } = props;
5552
5554
  return /*#__PURE__*/React.createElement("div", {
5553
- className: cn__default('group absolute top-0 flex h-full items-center justify-center px-2',
5555
+ className: cn('group absolute top-0 flex h-full items-center justify-center px-2',
5554
5556
  // icon
5555
5557
  '[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5', {
5556
5558
  'text-grey-300': disabled,
@@ -5572,7 +5574,7 @@ const Input = /*#__PURE__*/React.forwardRef(function LegacyInput(props, ref) {
5572
5574
  let postfix;
5573
5575
  if (button) {
5574
5576
  const disabled = button.props.disabled || attributes.disabled;
5575
- const buttonClassName = cn__default('items-center focus:z-10 flex justify-center rounded-l-none rounded-r h-full focus:rounded focus:outline-none', getButtonStateClasses(attributes.invalid, disabled), button.props.className);
5577
+ const buttonClassName = cn('items-center focus:z-10 flex justify-center rounded-l-none rounded-r h-full focus:rounded focus:outline-none', getButtonStateClasses(attributes.invalid, disabled), button.props.className);
5576
5578
  postfix = /*#__PURE__*/React.cloneElement(button, {
5577
5579
  className: buttonClassName,
5578
5580
  disabled
@@ -5748,7 +5750,7 @@ const ScrollableList = /*#__PURE__*/React.forwardRef(function ScrollableList(pro
5748
5750
  'aria-selected': multiselect ? getOptionCheckedState(String(option.value), index) : currentIndex === index,
5749
5751
  'data-focused': currentIndex === index,
5750
5752
  children: option.text,
5751
- className: cn__default('flex items-center px-3 w-full cursor-pointer bg-white flex-[0_0_2rem] focus:wcag-blue-500 focus:border-blue-500', {
5753
+ className: cn('flex items-center px-3 w-full cursor-pointer bg-white flex-[0_0_2rem] focus:wcag-blue-500 focus:border-blue-500', {
5752
5754
  'sticky top-0 font-bold': depth === 0 && !!option.hasChildren
5753
5755
  }),
5754
5756
  disabled: option.disabled,
@@ -5765,7 +5767,7 @@ const ScrollableList = /*#__PURE__*/React.forwardRef(function ScrollableList(pro
5765
5767
  });
5766
5768
  const list = {
5767
5769
  ...otherProps,
5768
- className: cn__default('inline-flex flex-col list-none !p-0 m-0 overflow-y-auto h-auto', getInputClasses(props), {
5770
+ className: cn('inline-flex flex-col list-none !p-0 m-0 overflow-y-auto h-auto', getInputClasses(props), {
5769
5771
  'yt-list--multiselect': multiselect,
5770
5772
  'pointer-events-none': disabled,
5771
5773
  'cursor-not-allowed': disabled || readOnly
@@ -6246,7 +6248,7 @@ const Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
6246
6248
  texts
6247
6249
  } = useLocalization();
6248
6250
  const selectDimensions = useBoundingClientRectListener(internalRef);
6249
- const className = cn__default('inline-flex relative', {
6251
+ const className = cn('inline-flex relative', {
6250
6252
  'yt-combobox--inline': props.inline
6251
6253
  }, externalClassName);
6252
6254
  return /*#__PURE__*/React.createElement("span", {
@@ -6297,7 +6299,7 @@ const Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
6297
6299
  },
6298
6300
  sideOffset: 4
6299
6301
  }, /*#__PURE__*/React.createElement(ScrollableList, Object.assign({}, list, {
6300
- className: cn__default('max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500'),
6302
+ className: cn('max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500'),
6301
6303
  style: {
6302
6304
  minWidth: selectDimensions === null || selectDimensions === void 0 ? void 0 : selectDimensions.width
6303
6305
  },
@@ -6528,7 +6530,7 @@ const Content$3 = /*#__PURE__*/React.forwardRef(function PopoverContent(props, r
6528
6530
  placement: side,
6529
6531
  ...popoverContentProps
6530
6532
  } = props;
6531
- const className = cn__default(getPopoverStyleClassnames(), props.className);
6533
+ const className = cn(getPopoverStyleClassnames(), props.className);
6532
6534
  let output;
6533
6535
  if (typeof props.children === 'function') {
6534
6536
  output = /*#__PURE__*/React.createElement(PopoverPrimitive.Close, {
@@ -6597,7 +6599,7 @@ const Datepicker = /*#__PURE__*/React.forwardRef(function Datepicker(props, ref)
6597
6599
  const {
6598
6600
  texts
6599
6601
  } = useLocalization();
6600
- const className = cn__default('inline-flex w-full text-black font-normal', externalClassName);
6602
+ const className = cn('inline-flex w-full text-black font-normal', externalClassName);
6601
6603
  const popoverContentRef = React.useRef(null);
6602
6604
  const handleOpenAutofocus = React.useCallback(e => {
6603
6605
  var _popoverContentRef$cu, _popoverContentRef$cu2;
@@ -6759,14 +6761,14 @@ const useDraggable = ref => {
6759
6761
  };
6760
6762
 
6761
6763
  const Title$1 = /*#__PURE__*/React.forwardRef(function DialogTitle(props, ref) {
6762
- const className = cn__default('text-center', props.className);
6764
+ const className = cn('text-center', props.className);
6763
6765
  return /*#__PURE__*/React.createElement(DialogPrimitive.Title, Object.assign({}, props, {
6764
6766
  className: className,
6765
6767
  ref: ref
6766
6768
  }));
6767
6769
  });
6768
6770
  const Footer$1 = /*#__PURE__*/React.forwardRef(function DialogFooter(props, ref) {
6769
- const className = cn__default('mt-8 flex justify-end', props.className);
6771
+ const className = cn('mt-8 flex justify-end', props.className);
6770
6772
  return /*#__PURE__*/React.createElement("div", Object.assign({}, props, {
6771
6773
  className: className,
6772
6774
  ref: ref
@@ -6806,8 +6808,8 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6806
6808
  const {
6807
6809
  texts
6808
6810
  } = useLocalization();
6809
- const className = cn__default('relative bg-white animate-[fade-in_150ms] rounded print:!static', getDialogPositionClassnames(), getDialogSizeClassnames(dialog.size), 'print:w-full print:h-max print:m-0 print:overflow-visible');
6810
- const containerClassName = cn__default('bg-white p-6 rounded relative z-10 shadow print:p-0',
6811
+ const className = cn('relative bg-white animate-[fade-in_150ms] rounded print:!static', getDialogPositionClassnames(), getDialogSizeClassnames(dialog.size), 'print:w-full print:h-max print:m-0 print:overflow-visible');
6812
+ const containerClassName = cn('bg-white p-6 rounded relative z-10 shadow print:p-0',
6811
6813
  // The `!fixed` property is crucial to ensure that when a draggable dialog is moved, the printed document still displays its content across the full page.
6812
6814
  'print:overflow-visible print:h-max print:!transform-none print:!inset-0 print:!m-0', {
6813
6815
  'rounded-b-none': !!dialog.elements.extra
@@ -6866,7 +6868,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6866
6868
  const DialogDrawer = /*#__PURE__*/React.forwardRef(function DialogDrawer(props, ref) {
6867
6869
  var _dialog$drawer, _dialog$drawer2;
6868
6870
  const dialog = useCurrentDialog();
6869
- const className = cn__default('absolute top-0 -ml-[4px] hidden h-full w-full overflow-y-auto rounded-r bg-white p-6 text-left', props.className);
6871
+ const className = cn('absolute top-0 -ml-[4px] hidden h-full w-full overflow-y-auto rounded-r bg-white p-6 text-left', props.className);
6870
6872
  return /*#__PURE__*/React.createElement(framerMotion.motion.div, Object.assign({}, props, {
6871
6873
  className: className,
6872
6874
  "data-taco": "dialog-drawer",
@@ -6898,7 +6900,7 @@ const DialogDrawer = /*#__PURE__*/React.forwardRef(function DialogDrawer(props,
6898
6900
  DialogDrawer.displayName = 'DialogDrawer';
6899
6901
 
6900
6902
  const Extra = /*#__PURE__*/React.forwardRef(function DialogExtra(props, ref) {
6901
- const className = cn__default('wcag-grey-100 absolute top-full left-0 -mt-px w-full rounded-t-none rounded-b p-6 text-left', props.className);
6903
+ const className = cn('wcag-grey-100 absolute top-full left-0 -mt-px w-full rounded-t-none rounded-b p-6 text-left', props.className);
6902
6904
  return /*#__PURE__*/React.createElement("div", Object.assign({}, props, {
6903
6905
  className: className,
6904
6906
  "data-taco": "dialog-extra",
@@ -6980,7 +6982,7 @@ const Group = /*#__PURE__*/React.forwardRef(function Group(props, ref) {
6980
6982
  orientation = 'horizontal',
6981
6983
  ...otherProps
6982
6984
  } = props;
6983
- const className = cn__default('flex gap-2 [&:has([data-taco="tag"])]:!gap-1', {
6985
+ const className = cn('flex gap-2 [&:has([data-taco="tag"])]:!gap-1', {
6984
6986
  'flex-col ': orientation === 'vertical'
6985
6987
  }, props.className);
6986
6988
  return /*#__PURE__*/React.createElement(Tag, Object.assign({}, otherProps, {
@@ -7021,7 +7023,7 @@ const getDrawerSizeClassnames = size => {
7021
7023
  }
7022
7024
  };
7023
7025
  const getDrawerContentClassNames = (size, variant, open) => {
7024
- return cn__default('bg-white h-full bottom-0 top-0 right-0 transition-none', {
7026
+ return cn('bg-white h-full bottom-0 top-0 right-0 transition-none', {
7025
7027
  block: open,
7026
7028
  hidden: !open,
7027
7029
  fixed: variant === 'overlay',
@@ -7029,23 +7031,23 @@ const getDrawerContentClassNames = (size, variant, open) => {
7029
7031
  }, getDrawerSizeClassnames(size));
7030
7032
  };
7031
7033
  const getDrawerContainerClassNames = variant => {
7032
- return cn__default('bg-white mx-auto absolute h-full w-full flex flex-col ', {
7034
+ return cn('bg-white mx-auto absolute h-full w-full flex flex-col ', {
7033
7035
  'shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]': variant === 'overlay',
7034
7036
  'border-l border-grey-300 h-full': variant === 'embedded'
7035
7037
  });
7036
7038
  };
7037
7039
  const getDrawerDragHandlerClassNames = () => {
7038
- return cn__default('border-[2px] absolute border-transparent top-0 w-2 h-full cursor-ew-resize left-0 hover:border-l-blue-500');
7040
+ return cn('border-[2px] absolute border-transparent top-0 w-2 h-full cursor-ew-resize left-0 hover:border-l-blue-500');
7039
7041
  };
7040
7042
  const getBackdropClassNames = open => {
7041
- return cn__default({
7043
+ return cn({
7042
7044
  block: open,
7043
7045
  hidden: !open
7044
7046
  });
7045
7047
  };
7046
7048
 
7047
7049
  const Bar = props => {
7048
- const className = cn__default(`flex select-none touch-none transition-colors hover:bg-grey`, {
7050
+ const className = cn(`flex select-none touch-none transition-colors hover:bg-grey`, {
7049
7051
  'w-[7px] hover:w-[14px] mr-[2px] hover:px-[2px] hover:mr-0': props.orientation === 'vertical',
7050
7052
  'flex-col h-[7px] hover:h-[14px] mb-[2px] hover:py-[2px] hover:mb-0': props.orientation === 'horizontal'
7051
7053
  });
@@ -7065,7 +7067,7 @@ const ScrollArea = props => {
7065
7067
  ...otherProps
7066
7068
  } = props;
7067
7069
  return /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Root, Object.assign({}, otherProps, {
7068
- className: cn__default('overflow-hidden', props.className),
7070
+ className: cn('overflow-hidden', props.className),
7069
7071
  "data-taco": "scrollarea"
7070
7072
  }), /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Viewport, {
7071
7073
  className: "h-full w-full"
@@ -7116,7 +7118,7 @@ const Title$2 = /*#__PURE__*/React__default.forwardRef(function DrawerTitle(prop
7116
7118
  * where we might want to hide the grey separator. For this reason separator was rendered with using of classNames,
7117
7119
  * so it can be easily overriden in exceptional scenarios.
7118
7120
  * */
7119
- const cName = cn__default('grow-0 py-4 px-4 justify-self-start mb-0 border-b-[1px] border-grey-300 flex items-start', className);
7121
+ const cName = cn('grow-0 py-4 px-4 justify-self-start mb-0 border-b-[1px] border-grey-300 flex items-start', className);
7120
7122
  React__default.useEffect(() => {
7121
7123
  var _ref$current, _drawer$querySelector, _closeButton$offsetWi, _drawer$querySelector2, _actionsWrapper$offse;
7122
7124
  const drawer = ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.closest('[data-taco="drawer"]');
@@ -7156,7 +7158,7 @@ const Footer$2 = /*#__PURE__*/React__default.forwardRef(function DrawerFooter(pr
7156
7158
  /**
7157
7159
  * The same scenario as Title, grey separator rendered using classNames to have posibility to override it.
7158
7160
  */
7159
- const cName = cn__default('mt-auto flex justify-end grow-0 p-4 border-t-[1px] border-grey-300', props.className);
7161
+ const cName = cn('mt-auto flex justify-end grow-0 p-4 border-t-[1px] border-grey-300', props.className);
7160
7162
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, otherProps, {
7161
7163
  className: cName,
7162
7164
  ref: ref
@@ -7167,7 +7169,7 @@ const Actions = /*#__PURE__*/React__default.forwardRef(function Actions(props, r
7167
7169
  className,
7168
7170
  ...otherProps
7169
7171
  } = props;
7170
- const cName = cn__default('absolute top-0 right-10 mr-[8px] mt-4', className);
7172
+ const cName = cn('absolute top-0 right-10 mr-[8px] mt-4', className);
7171
7173
  // Id is added to identify the actions wrapper inside a useEffect in Dialog.Title
7172
7174
  return /*#__PURE__*/React__default.createElement(Group, Object.assign({}, otherProps, {
7173
7175
  className: cName,
@@ -7192,7 +7194,7 @@ const InnerContent = /*#__PURE__*/React__default.forwardRef(function InnerConten
7192
7194
  children,
7193
7195
  ...otherProps
7194
7196
  } = props;
7195
- const cName = cn__default('grow flex flex-col', {
7197
+ const cName = cn('grow flex flex-col', {
7196
7198
  'overflow-y-hidden': isScrollable,
7197
7199
  'p-4': !isScrollable
7198
7200
  }, className);
@@ -7272,7 +7274,7 @@ const DrawerContent = /*#__PURE__*/React__default.forwardRef(function Content(pr
7272
7274
  menu.close();
7273
7275
  };
7274
7276
  }
7275
- const containerClassName = React__default.useMemo(() => cn__default(getDrawerContainerClassNames(variant), className), [className]);
7277
+ const containerClassName = React__default.useMemo(() => cn(getDrawerContainerClassNames(variant), className), [className]);
7276
7278
  const {
7277
7279
  contentClassName,
7278
7280
  dragHandlerClassName
@@ -7393,7 +7395,7 @@ const Trigger$4 = /*#__PURE__*/React.forwardRef(function DrawerTrigger(props, re
7393
7395
  const DEFAULT_OUTLET_NAME = 'default';
7394
7396
  const Outlet = /*#__PURE__*/React.forwardRef(function Outlet(props, ref) {
7395
7397
  var _props$name;
7396
- const className = cn__default('h-full ml-auto overflow-hidden flex-shrink-0', props.className);
7398
+ const className = cn('h-full ml-auto overflow-hidden flex-shrink-0', props.className);
7397
7399
  return /*#__PURE__*/React.createElement("div", Object.assign({}, props, {
7398
7400
  className: className,
7399
7401
  "data-taco": "drawer-outlet",
@@ -7499,10 +7501,10 @@ const Field = /*#__PURE__*/React.forwardRef(function Field(props, ref) {
7499
7501
  message,
7500
7502
  ...otherProps
7501
7503
  } = props;
7502
- const className = cn__default('flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]', {
7504
+ const className = cn('flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]', {
7503
7505
  'text-grey-300': disabled
7504
7506
  }, props.className);
7505
- const messageClassName = cn__default('h-4 text-xs text-left leading-normal font-normal truncate -mb-4', {
7507
+ const messageClassName = cn('h-4 text-xs text-left leading-normal font-normal truncate -mb-4', {
7506
7508
  'text-grey-700': !invalid && !warning,
7507
7509
  'text-red-500': invalid,
7508
7510
  'text-yellow-700': warning && !invalid,
@@ -7527,7 +7529,7 @@ const Form = /*#__PURE__*/React.forwardRef(function Form(props, ref) {
7527
7529
  horizontal = false,
7528
7530
  ...otherProps
7529
7531
  } = props;
7530
- const className = cn__default('yt-form', {
7532
+ const className = cn('yt-form', {
7531
7533
  'yt-form--horizontal flex flex-wrap': horizontal
7532
7534
  }, props.className);
7533
7535
  return /*#__PURE__*/React.createElement("form", Object.assign({}, otherProps, {
@@ -7560,7 +7562,7 @@ const Anchor$1 = /*#__PURE__*/React.forwardRef(function HangerAnchor(props, exte
7560
7562
  }), children);
7561
7563
  });
7562
7564
  const Title$3 = /*#__PURE__*/React.forwardRef(function DialogTitle(props, ref) {
7563
- const className = cn__default('mb-1 text-base font-bold flex w-full', props.className);
7565
+ const className = cn('mb-1 text-base font-bold flex w-full', props.className);
7564
7566
  return /*#__PURE__*/React.createElement("span", Object.assign({}, props, {
7565
7567
  className: className,
7566
7568
  ref: ref
@@ -7575,7 +7577,7 @@ const Content$6 = /*#__PURE__*/React.forwardRef(function HangerContent(props, re
7575
7577
  const {
7576
7578
  texts
7577
7579
  } = useLocalization();
7578
- const className = cn__default('wcag-blue-500 border border-transparent rounded p-3 pr-12 yt-shadow focus:border-transparent max-w-sm', props.className);
7580
+ const className = cn('wcag-blue-500 border border-transparent rounded p-3 pr-12 yt-shadow focus:border-transparent max-w-sm', props.className);
7579
7581
  const handleInteractOutside = event => {
7580
7582
  event.preventDefault();
7581
7583
  };
@@ -7662,7 +7664,7 @@ const Content$7 = /*#__PURE__*/React.forwardRef(function HoverCardContent(props,
7662
7664
  const {
7663
7665
  placement: side
7664
7666
  } = props;
7665
- const className = cn__default(getPopoverStyleClassnames(), 'min-w-[theme(spacing.40)] max-w-[theme(spacing.96)]', props.className);
7667
+ const className = cn(getPopoverStyleClassnames(), 'min-w-[theme(spacing.40)] max-w-[theme(spacing.96)]', props.className);
7666
7668
  return /*#__PURE__*/React.createElement(HoverCardPrimitive.Portal, null, /*#__PURE__*/React.createElement(HoverCardPrimitive.Content, {
7667
7669
  className: className,
7668
7670
  "data-taco": "hover-card",
@@ -7700,7 +7702,7 @@ const Item$1 = /*#__PURE__*/React__default.forwardRef(function Item(props, ref)
7700
7702
  title,
7701
7703
  ...attributes
7702
7704
  } = props;
7703
- const iconClassName = cn__default('flex shrink-0 h-10 w-10 items-center justify-center rounded-md border border-black/10', getSubtleColorShadeClasses(color !== null && color !== void 0 ? color : 'transparent'));
7705
+ const iconClassName = cn('flex shrink-0 h-10 w-10 items-center justify-center rounded-md border border-black/10', getSubtleColorShadeClasses(color !== null && color !== void 0 ? color : 'transparent'));
7704
7706
  return /*#__PURE__*/React__default.createElement(Tag, Object.assign({}, attributes, {
7705
7707
  "aria-disabled": disabled ? true : undefined,
7706
7708
  "data-taco": "list-item",
@@ -7772,7 +7774,7 @@ const Switch = /*#__PURE__*/React.forwardRef(function Switch(props, ref) {
7772
7774
  ...otherProps
7773
7775
  } = props;
7774
7776
  const id = useId(props.id);
7775
- const className = cn__default('group h-5 w-9 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus', {
7777
+ const className = cn('group h-5 w-9 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus', {
7776
7778
  'mr-2': !!label,
7777
7779
  'bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700': !props.disabled,
7778
7780
  'bg-grey-500/50 aria-checked:bg-blue-500/50 cursor-not-allowed': props.disabled
@@ -7793,7 +7795,7 @@ const Switch = /*#__PURE__*/React.forwardRef(function Switch(props, ref) {
7793
7795
  className: "pointer-events-none mt-0.5 h-4 w-4 translate-x-[0.15rem] rounded-full bg-white transition-transform will-change-transform group-disabled:opacity-50 group-aria-checked:translate-x-[1.1rem]"
7794
7796
  }));
7795
7797
  if (label) {
7796
- const labelContainerClassName = cn__default('flex self-start cursor-pointer', {
7798
+ const labelContainerClassName = cn('flex self-start cursor-pointer', {
7797
7799
  'cursor-not-allowed text-grey-300': props.disabled
7798
7800
  });
7799
7801
  return /*#__PURE__*/React.createElement("span", {
@@ -7842,7 +7844,7 @@ const ToggleItem = /*#__PURE__*/React__default.forwardRef(function Toggle(props,
7842
7844
  return;
7843
7845
  }
7844
7846
  }
7845
- const className = cn__default('group/toggle', props.className);
7847
+ const className = cn('group/toggle', props.className);
7846
7848
  return /*#__PURE__*/React__default.createElement(Item$1, Object.assign({}, attributes, {
7847
7849
  className: className,
7848
7850
  onClick: handleClick,
@@ -8288,7 +8290,7 @@ const Listbox = /*#__PURE__*/React.forwardRef(function Listbox(props, ref) {
8288
8290
  list,
8289
8291
  input
8290
8292
  } = useListbox(otherProps, ref);
8291
- const className = cn__default('bg-white inline-flex relative w-full', externalClassName);
8293
+ const className = cn('bg-white inline-flex relative w-full', externalClassName);
8292
8294
  return /*#__PURE__*/React.createElement("span", {
8293
8295
  "data-taco": "listbox",
8294
8296
  className: className
@@ -8311,7 +8313,7 @@ const MultiListbox = /*#__PURE__*/React.forwardRef(function Listbox(props, ref)
8311
8313
  list,
8312
8314
  input
8313
8315
  } = useMultiListbox(otherProps, ref);
8314
- const className = cn__default('bg-white inline-flex relative w-full', externalClassName);
8316
+ const className = cn('bg-white inline-flex relative w-full', externalClassName);
8315
8317
  return /*#__PURE__*/React.createElement("span", {
8316
8318
  "data-taco": "listbox",
8317
8319
  className: className
@@ -8335,7 +8337,7 @@ const Content$8 = /*#__PURE__*/React.forwardRef(function MenuContent(props, ref)
8335
8337
  placement: side,
8336
8338
  ...otherProps
8337
8339
  } = props;
8338
- const className = cn__default('border border-transparent rounded block outline-none p-1 yt-shadow wcag-white', props.className);
8340
+ const className = cn('border border-transparent rounded block outline-none p-1 yt-shadow wcag-white', props.className);
8339
8341
  // attach refs to each child
8340
8342
  const childrenRefs = React.useRef([]);
8341
8343
  const childrenWithRefs = React.Children.toArray(props.children).filter(child => !!child) // remove falsey children
@@ -8425,7 +8427,7 @@ const Shortcut = ({
8425
8427
  keys,
8426
8428
  ...props
8427
8429
  }) => {
8428
- const className = cn__default('inline-flex gap-0.5', props.className);
8430
+ const className = cn('inline-flex gap-0.5', props.className);
8429
8431
  const texts = getShortcutText(keys);
8430
8432
  return /*#__PURE__*/React__default.createElement("span", Object.assign({}, props, {
8431
8433
  className: className
@@ -8454,7 +8456,7 @@ const useItemStyling = ({
8454
8456
  menu === null || menu === void 0 ? void 0 : menu.registerIndentation();
8455
8457
  }
8456
8458
  }, [indented]);
8457
- return cn__default('flex items-center justify-start h-8 pr-1.5 relative rounded w-full focus:outline-none group', {
8459
+ return cn('flex items-center justify-start h-8 pr-1.5 relative rounded w-full focus:outline-none group', {
8458
8460
  'pl-7': menu === null || menu === void 0 ? void 0 : menu.indented,
8459
8461
  'pl-1.5': !(menu !== null && menu !== void 0 && menu.indented),
8460
8462
  'cursor-pointer text-black hover:wcag-grey-200 data-[highlighted]:wcag-grey-200': !disabled,
@@ -8613,7 +8615,7 @@ const Checkbox$2 = /*#__PURE__*/React.forwardRef(function MenuCheckboxItem(props
8613
8615
  });
8614
8616
 
8615
8617
  const getRadioClassnames = (disabled = false, invalid = false) => {
8616
- return cn__default('flex flex-shrink-0 items-center justify-center h-4 w-4 mt-[0.2rem] rounded-full bg-white border-2 focus-visible:yt-focus disabled:cursor-not-allowed hover:border-4', invalid ? {
8618
+ return cn('flex flex-shrink-0 items-center justify-center h-4 w-4 mt-[0.2rem] rounded-full bg-white border-2 focus-visible:yt-focus disabled:cursor-not-allowed hover:border-4', invalid ? {
8617
8619
  'border-red-500 hover:border-red-700 aria-checked:bg-red-500 aria-checked:border-red-500 hover:aria-checked:border-red-700': !disabled,
8618
8620
  'border-red-500/50 aria-checked:bg-red-500/50 aria-checked:border-red-500/50': disabled
8619
8621
  } : {
@@ -8636,8 +8638,8 @@ const RadioGroupItem = /*#__PURE__*/React.forwardRef(function RadioGroupItem(pro
8636
8638
  ...otherProps
8637
8639
  } = props;
8638
8640
  const isDisabled = context.disabled || props.disabled;
8639
- const className = cn__default('self-start', getRadioClassnames(isDisabled, context.invalid));
8640
- const labelClassName = cn__default('flex items-center gap-2', {
8641
+ const className = cn('self-start', getRadioClassnames(isDisabled, context.invalid));
8642
+ const labelClassName = cn('flex items-center gap-2', {
8641
8643
  'cursor-pointer': !isDisabled,
8642
8644
  'cursor-not-allowed text-grey-300': isDisabled
8643
8645
  }, props.className);
@@ -8704,7 +8706,7 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
8704
8706
  context,
8705
8707
  props: otherProps
8706
8708
  } = useRadioGroup(props);
8707
- const className = cn__default('flex items-start gap-y-2', {
8709
+ const className = cn('flex items-start gap-y-2', {
8708
8710
  'flex-wrap gap-x-4 ': otherProps.orientation === 'horizontal',
8709
8711
  'flex-col': otherProps.orientation === 'vertical'
8710
8712
  }, otherProps.className);
@@ -8749,7 +8751,7 @@ const RadioGroup$1 = /*#__PURE__*/React.forwardRef(function MenuRadioItem(props,
8749
8751
  context,
8750
8752
  props: otherProps
8751
8753
  } = useRadioGroup(props);
8752
- const className = cn__default('flex flex-col', props.className);
8754
+ const className = cn('flex flex-col', props.className);
8753
8755
  return /*#__PURE__*/React.createElement(MenuRadioGroupContext.Provider, {
8754
8756
  value: context
8755
8757
  }, /*#__PURE__*/React.createElement(DropdownMenuPrimitive.RadioGroup, Object.assign({}, otherProps, {
@@ -8769,7 +8771,7 @@ const Separator = /*#__PURE__*/React.forwardRef(function Separator(props, ref) {
8769
8771
 
8770
8772
  const Header = /*#__PURE__*/React.forwardRef(function MenuHeader(props, ref) {
8771
8773
  const menu = useCurrentMenu();
8772
- const className = cn__default('flex items-center justify-start h-7 pr-1.5 text-xs text-grey-700', {
8774
+ const className = cn('flex items-center justify-start h-7 pr-1.5 text-xs text-grey-700', {
8773
8775
  'pl-7': menu === null || menu === void 0 ? void 0 : menu.indented,
8774
8776
  'pl-1.5': !(menu !== null && menu !== void 0 && menu.indented)
8775
8777
  }, props.className);
@@ -8785,7 +8787,7 @@ const SubMenu = /*#__PURE__*/React.forwardRef(function MenuSubMenu(props, ref) {
8785
8787
  children,
8786
8788
  ...otherProps
8787
8789
  } = props;
8788
- const className = cn__default('border border-transparent rounded block outline-none p-1 yt-shadow wcag-white', props.className);
8790
+ const className = cn('border border-transparent rounded block outline-none p-1 yt-shadow wcag-white', props.className);
8789
8791
  return /*#__PURE__*/React.createElement(DropdownMenuPrimitive.Portal, null, /*#__PURE__*/React.createElement(DropdownMenuPrimitive.SubContent, Object.assign({}, otherProps, {
8790
8792
  className: className,
8791
8793
  "data-taco": "menu-submenu",
@@ -8845,7 +8847,7 @@ const ModeSwitch = /*#__PURE__*/React.forwardRef(function ModeSwitch(props, ref)
8845
8847
  onChange,
8846
8848
  ...otherProps
8847
8849
  } = props;
8848
- const className = cn__default('group w-14 h-8 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus p-1', {
8850
+ const className = cn('group w-14 h-8 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus p-1', {
8849
8851
  'bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700': !props.disabled,
8850
8852
  'bg-grey-500 aria-checked:bg-blue-500 cursor-not-allowed opacity-50': props.disabled
8851
8853
  }, props.className);
@@ -8884,7 +8886,7 @@ const TreeviewGroup = /*#__PURE__*/React__default.forwardRef(function TreeviewGr
8884
8886
  setExpanded(fixed || initialExpanded);
8885
8887
  }
8886
8888
  }, [fixed, initialExpanded]);
8887
- const listClassName = cn__default('flex-col mb-0', {
8889
+ const listClassName = cn('flex-col mb-0', {
8888
8890
  flex: expanded,
8889
8891
  hidden: !expanded
8890
8892
  });
@@ -8973,7 +8975,7 @@ const Item$3 = /*#__PURE__*/React__default.forwardRef(function Item(props, ref)
8973
8975
  const proxyRef = useMergedRef(ref);
8974
8976
  const [isDraggedOver, dropTargetProps] = useDropTarget(onDrop);
8975
8977
  const isTreeitem = role === 'treeitem';
8976
- const className = cn__default('yt-navigation__item cursor-pointer', {
8978
+ const className = cn('yt-navigation__item cursor-pointer', {
8977
8979
  'w-full mb-px py-1 px-3 flex items-center hover:bg-grey-300': isTreeitem,
8978
8980
  'bg-white w-full h-10 px-3 flex-shrink-0 flex items-center justify-between cursor-pointer': !isTreeitem,
8979
8981
  'yt-navigation__item--active': active && !isDraggedOver,
@@ -9003,16 +9005,16 @@ const Item$3 = /*#__PURE__*/React__default.forwardRef(function Item(props, ref)
9003
9005
  });
9004
9006
  const Panel = /*#__PURE__*/React__default.forwardRef(function Panel(props, ref) {
9005
9007
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, props, {
9006
- className: cn__default('w-full bg-white p-3', props.className),
9008
+ className: cn('w-full bg-white p-3', props.className),
9007
9009
  ref: ref
9008
9010
  }));
9009
9011
  });
9010
9012
  const MenuGroup = /*#__PURE__*/React__default.forwardRef(function MenuGroup(props, ref) {
9011
- const className = cn__default('flex-shrink-0 space-y-1 outline-none', {
9013
+ const className = cn('flex-shrink-0 space-y-1 outline-none', {
9012
9014
  'bg-white pb-2': props.fixed
9013
9015
  }, typeof props.className === 'function' ? props.className(false) : props.className);
9014
9016
  const title = expanded => {
9015
- const className = cn__default('bg-white h-10 pl-3 pr-1 flex items-center justify-between w-full', {
9017
+ const className = cn('bg-white h-10 pl-3 pr-1 flex items-center justify-between w-full', {
9016
9018
  'mb-1': expanded,
9017
9019
  'cursor-pointer hover:text-blue-500': !props.fixed
9018
9020
  });
@@ -9047,7 +9049,7 @@ const Menu$2 = /*#__PURE__*/React__default.forwardRef(function Menu(props, ref)
9047
9049
  return scrollableAreas;
9048
9050
  }, [props.children]);
9049
9051
  return /*#__PURE__*/React__default.createElement(Treeview, Object.assign({}, props, {
9050
- className: cn__default('divide-grey-100 flex flex-grow flex-col divide-y-2 overflow-y-auto', props.className),
9052
+ className: cn('divide-grey-100 flex flex-grow flex-col divide-y-2 overflow-y-auto', props.className),
9051
9053
  ref: ref
9052
9054
  }), scrollableAreas.map((area, i) => Array.isArray(area) ? (/*#__PURE__*/React__default.createElement("div", {
9053
9055
  className: "divide-grey-100 flex h-0 flex-auto flex-shrink-0 flex-grow flex-col divide-y-2 overflow-y-auto",
@@ -9060,7 +9062,7 @@ const Navigation = /*#__PURE__*/React__default.forwardRef(function Navigation(pr
9060
9062
  children,
9061
9063
  ...otherProps
9062
9064
  } = props;
9063
- const className = cn__default('h-full flex flex-col bg-grey-100 divide-y-2 divide-grey-100', props.className);
9065
+ const className = cn('h-full flex flex-col bg-grey-100 divide-y-2 divide-grey-100', props.className);
9064
9066
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, otherProps, {
9065
9067
  className: className,
9066
9068
  "data-taco": "navigation",
@@ -9170,18 +9172,18 @@ const OverflowGroup = /*#__PURE__*/React__default.forwardRef(function OverflowGr
9170
9172
  const MoreButton = (_moreButton = moreButton === null || moreButton === void 0 ? void 0 : moreButton(moreButtonText)) !== null && _moreButton !== void 0 ? _moreButton : /*#__PURE__*/React__default.createElement(IconButton, {
9171
9173
  icon: "more"
9172
9174
  });
9173
- const className = cn__default('flex overflow-hidden', props.className);
9175
+ const className = cn('flex overflow-hidden', props.className);
9174
9176
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, attributes, {
9175
9177
  className: className,
9176
9178
  "data-taco": "overflow-group",
9177
9179
  ref: internalRef
9178
9180
  }), children.map((child, index) => /*#__PURE__*/React__default.cloneElement(child, {
9179
- className: cn__default(child.props.className, {
9181
+ className: cn(child.props.className, {
9180
9182
  visible: intersectedChildIndex === undefined || index < intersectedChildIndex,
9181
9183
  'invisible order-[100] pointer-events-none': intersectedChildIndex !== undefined && index >= intersectedChildIndex
9182
9184
  })
9183
9185
  })), hiddenChildren.length ? /*#__PURE__*/React__default.cloneElement(MoreButton, {
9184
- className: cn__default('sticky right-0 order-[99]', MoreButton.props.className),
9186
+ className: cn('sticky right-0 order-[99]', MoreButton.props.className),
9185
9187
  'data-observer-ignore': true,
9186
9188
  menu: menuProps => (/*#__PURE__*/React__default.createElement(Menu$1, Object.assign({}, menuProps), /*#__PURE__*/React__default.createElement(Menu$1.Content, null, hiddenChildren.map((child, index) => wrapChild ? (/*#__PURE__*/React__default.createElement(Menu$1.Item, {
9187
9189
  key: index
@@ -9337,7 +9339,7 @@ const useSelect = ({
9337
9339
  const item = findByValue(flattenedData, value);
9338
9340
  if (item) {
9339
9341
  text = item.icon ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.cloneElement(item.icon, {
9340
- className: cn__default(item.icon.props.className, 'mr-1 -mt-px')
9342
+ className: cn(item.icon.props.className, 'mr-1 -mt-px')
9341
9343
  }), item.text)) : item.text;
9342
9344
  }
9343
9345
  }
@@ -9447,10 +9449,10 @@ const BaseSelect = /*#__PURE__*/React.forwardRef(function BaseSelect(props, ref)
9447
9449
  } = useSelect(otherProps, ref);
9448
9450
  const internalRef = React.useRef(null);
9449
9451
  const selectDimensions = useBoundingClientRectListener(internalRef);
9450
- const className = cn__default('inline-flex relative w-full', {
9452
+ const className = cn('inline-flex relative w-full', {
9451
9453
  'yt-select--readonly': props.readOnly
9452
9454
  }, externalClassName);
9453
- const inputClassname = cn__default(getInputClasses(props), 'h-8 text-left !pr-0', {
9455
+ const inputClassname = cn(getInputClasses(props), 'h-8 text-left !pr-0', {
9454
9456
  'border-blue-500': popover.open,
9455
9457
  'select-text': otherProps.readOnly
9456
9458
  });
@@ -9598,7 +9600,7 @@ const Pagination = /*#__PURE__*/React.forwardRef(function Pagination(props, ref)
9598
9600
  const pageCount = Math.ceil(length / pageSize);
9599
9601
  const canPreviousPage = pageIndex > 0;
9600
9602
  const canNextPage = pageIndex < pageCount - 1;
9601
- const className = cn__default('inline-flex relative justify-between items-center', props.className);
9603
+ const className = cn('inline-flex relative justify-between items-center', props.className);
9602
9604
  return /*#__PURE__*/React.createElement("div", Object.assign({}, otherProps, {
9603
9605
  className: className,
9604
9606
  "data-taco": "pagination",
@@ -9665,8 +9667,8 @@ const Progress = ({
9665
9667
  animationDuration: `${duration}ms`
9666
9668
  };
9667
9669
  }
9668
- const className = cn__default('bg-grey-100 rounded block h-1 overflow-hidden w-full', props.className);
9669
- const progressClassName = cn__default('yt-progress__bar block h-1', {
9670
+ const className = cn('bg-grey-100 rounded block h-1 overflow-hidden w-full', props.className);
9671
+ const progressClassName = cn('yt-progress__bar block h-1', {
9670
9672
  "w-full before:h-1 before:bg-grey-300 before:block before:animate-[progress-indeterminate_2s_cubic-bezier(0.4,0,0.2,1)_infinite] before:content-[' ']": !duration,
9671
9673
  [`w-0 bg-grey-300 animate-[progress_linear]`]: duration
9672
9674
  });
@@ -9731,7 +9733,7 @@ const Toast = ({
9731
9733
  autoClose,
9732
9734
  type = 'default'
9733
9735
  } = options;
9734
- const className = cn__default('bg-white relative flex items-center py-1 px-2 mt-3 w-full rounded yt-shadow print:hidden', {
9736
+ const className = cn('bg-white relative flex items-center py-1 px-2 mt-3 w-full rounded yt-shadow print:hidden', {
9735
9737
  'border border-grey-200': type === 'default' || type === 'loading' || !type,
9736
9738
  'border border-grey-500': type === 'success',
9737
9739
  'border border-blue-500': type === 'information',
@@ -9970,6 +9972,8 @@ const fixedForwardRef = React__default.forwardRef;
9970
9972
  TableFilterComparator[TableFilterComparator["HasAnyOf"] = 11] = "HasAnyOf";
9971
9973
  TableFilterComparator[TableFilterComparator["HasAllOf"] = 12] = "HasAllOf";
9972
9974
  TableFilterComparator[TableFilterComparator["HasNoneOf"] = 13] = "HasNoneOf";
9975
+ TableFilterComparator[TableFilterComparator["IsOneOf"] = 14] = "IsOneOf";
9976
+ TableFilterComparator[TableFilterComparator["IsNoneOf"] = 15] = "IsNoneOf";
9973
9977
  })(exports.TableFilterComparator || (exports.TableFilterComparator = {}));
9974
9978
 
9975
9979
  const dataTypes = {
@@ -10138,6 +10142,12 @@ function columnFilterFn(value, filter) {
10138
10142
  return Array.isArray(filter.value) && Array.isArray(value) ? filter.value.every(item => value.includes(item) === false) : false;
10139
10143
  case exports.TableFilterComparator.HasAllOf:
10140
10144
  return Array.isArray(filter.value) && Array.isArray(value) ? filter.value.filter(v => value.includes(v)).length === filter.value.length : false;
10145
+ case exports.TableFilterComparator.IsOneOf:
10146
+ if (!Array.isArray(filter.value)) return false;
10147
+ return filter.value.some(v => isWeakEqual$1(value, v));
10148
+ case exports.TableFilterComparator.IsNoneOf:
10149
+ if (!Array.isArray(filter.value)) return false;
10150
+ return filter.value.every(v => !isWeakEqual$1(value, v));
10141
10151
  }
10142
10152
  return false;
10143
10153
  } catch (e) {
@@ -10441,8 +10451,7 @@ function processChildren(child, columns, defaultSizing, defaultSorting, defaultV
10441
10451
  // To avoid errors caused by undefined row data values, we pass accessorFn as a preventive measure
10442
10452
  // accessorKey can be dot notated strings, so we use lodash.get to access deeply nested children
10443
10453
  accessorFn: row => get(row, accessorKey),
10444
- // The header can be either a string or a JSX.Element, but react-table expects it to be a string or a renderer function, so `() => header` ensures compatibility
10445
- header: () => header,
10454
+ header: header,
10446
10455
  // features
10447
10456
  enableColumnFilter,
10448
10457
  enableGlobalFilter,
@@ -10945,17 +10954,8 @@ function useTablePrintingSettings(tableId) {
10945
10954
 
10946
10955
  const DEFAULT_ROW_ACTIONS_LENGTH = 4;
10947
10956
  function useTableRowActions(isEnabled = false, rowActions, rowActionsLength = DEFAULT_ROW_ACTIONS_LENGTH) {
10948
- const [handlers, setHandlers] = React__default.useState({});
10949
- const registerHandler = (key, handler) => {
10950
- return setHandlers(h => ({
10951
- ...h,
10952
- [key]: handler
10953
- }));
10954
- };
10955
10957
  return {
10956
- handlers,
10957
10958
  isEnabled,
10958
- registerHandler,
10959
10959
  rowActions: isEnabled ? rowActions : undefined,
10960
10960
  rowActionsLength: rowActions ? Math.min(rowActions.length, rowActionsLength) : 0
10961
10961
  };
@@ -12633,12 +12633,11 @@ function Actions$1(props) {
12633
12633
  const {
12634
12634
  texts
12635
12635
  } = useLocalization();
12636
- const tableMeta = table.options.meta;
12637
12636
  // we don't want to document passing table, so it isn't on the type
12638
- const visibleActions = actions.map(action => action(data, rowId, tableMeta.rowActions.handlers['cleanup'], table)).filter(action => !!action);
12637
+ const visibleActions = actions.map(action => action(data, rowId, table)).filter(action => !!action);
12639
12638
  const actionsOnRow = visibleActions.length === actionsLength ? visibleActions : visibleActions.slice(0, actionsLength - 1);
12640
12639
  const actionsInMenu = visibleActions.slice(visibleActions.length === actionsLength ? actionsLength : actionsLength - 1);
12641
- const className = cn__default('flex justify-end text-right bg-[inherit] shadow-[-6px_0px_6px_var(--table-row-actions-shadow)] print:hidden');
12640
+ const className = cn('flex justify-end text-right bg-[inherit] shadow-[-6px_0px_6px_var(--table-row-actions-shadow)] print:hidden');
12642
12641
  return /*#__PURE__*/React__default.createElement("span", {
12643
12642
  className: className
12644
12643
  }, actionsOnRow.map((button, index) => {
@@ -12702,7 +12701,7 @@ const renderer = {
12702
12701
  renderer: Cell,
12703
12702
  meta: {
12704
12703
  align: 'right',
12705
- className: /*#__PURE__*/cn__default('print:opacity-0 !px-0 !pr-1 overflow-hidden [table_&]:group-[[data-row-active="true"]]/row:sticky right-0', 'group-[[data-row-active="true"][data-selected="false"]]/row:text-grey-200', 'group-[[data-row-selected="true"]]/row:text-blue-100', 'group-[[data-row-selected="false"]:hover]/row:text-grey-100'),
12704
+ className: /*#__PURE__*/cn('print:opacity-0 !px-0 !pr-1 overflow-hidden [table_&]:group-[[data-row-active="true"]]/row:sticky right-0', 'group-[[data-row-active="true"][data-selected="false"]]/row:text-grey-200', 'group-[[data-row-selected="true"]]/row:text-blue-100', 'group-[[data-row-selected="false"]:hover]/row:text-grey-100'),
12706
12705
  // TODO: remove when table3 is migrated, this satisfies the legacy table3 type
12707
12706
  enableSearch: false,
12708
12707
  header: ''
@@ -12725,7 +12724,7 @@ function Cell$1() {
12725
12724
  return /*#__PURE__*/React__default.createElement(Icon, {
12726
12725
  "aria-label": texts.table.columns.drag.tooltip,
12727
12726
  name: "drag",
12728
- className: cn__default("text-grey-darkest invisible -mt-1 ml-[2px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white", '[[data-table-editing-mode]_&]:!invisible')
12727
+ className: cn("text-grey-darkest invisible -mt-1 ml-[2px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white", '[[data-table-editing-mode]_&]:!invisible')
12729
12728
  });
12730
12729
  }
12731
12730
  const renderer$1 = {
@@ -13265,7 +13264,7 @@ const DisplayRow = /*#__PURE__*/React__default.memo(function DisplayRow(props) {
13265
13264
  const expansionRef = React__default.useRef(null);
13266
13265
  const isExpanded = !!attributes['data-row-expanded'];
13267
13266
  useSetVirtualisedRowHeight(measureRow, ref.current, expansionRef.current, isExpanded);
13268
- const className = cn__default('group/row', otherAttributes.className, {
13267
+ const className = cn('group/row', otherAttributes.className, {
13269
13268
  'hover:cursor-grab': tableMeta.rowDrag.isEnabled && typeof attributes.onClick !== 'function',
13270
13269
  'hover:cursor-pointer': typeof attributes.onClick === 'function'
13271
13270
  });
@@ -13420,14 +13419,14 @@ function Resizer(props) {
13420
13419
  }
13421
13420
  };
13422
13421
  const handle = /*#__PURE__*/React__default.createElement("div", {
13423
- className: cn__default('invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5', 'group-hover/header:visible', '[th:last-child>&]:!mr-0 [th:last-child>&]:w-2', {
13422
+ className: cn('invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5', 'group-hover/header:visible', '[th:last-child>&]:!mr-0 [th:last-child>&]:w-2', {
13424
13423
  '!visible': isResizing
13425
13424
  }),
13426
13425
  onClick: handleClick,
13427
13426
  onMouseDown: handleResize,
13428
13427
  onTouchStart: handleResize
13429
13428
  }, /*#__PURE__*/React__default.createElement("div", {
13430
- className: cn__default('h-full w-1 rounded', {
13429
+ className: cn('h-full w-1 rounded', {
13431
13430
  '!bg-blue-500': isResizing,
13432
13431
  'bg-grey-500 hover:bg-grey-700': !isResizing
13433
13432
  })
@@ -13645,7 +13644,7 @@ function HeaderMenu(props) {
13645
13644
  }));
13646
13645
  }, [canFilter, canGoto, canHide, canPin, canSort, customMenu, handleGoto, handleSortToggle, index, isFiltered, sortDirection]);
13647
13646
  // can't use display: none because the button needs to be focusable
13648
- const className = cn__default(
13647
+ const className = cn(
13649
13648
  // positioning
13650
13649
  'justify-end overflow-hidden',
13651
13650
  // sizing
@@ -13737,7 +13736,7 @@ function Header$5(props) {
13737
13736
  canPin,
13738
13737
  canResize,
13739
13738
  canSort,
13740
- className: cn__default('group/header', columnMeta.headerClassName),
13739
+ className: cn('group/header', columnMeta.headerClassName),
13741
13740
  children: reactTable.flexRender(header.column.columnDef.header, header.getContext()),
13742
13741
  colSpan: header.colSpan,
13743
13742
  customMenu: columnMeta.menu,
@@ -13758,7 +13757,7 @@ function Header$5(props) {
13758
13757
  };
13759
13758
  if (header.isPlaceholder) {
13760
13759
  const nextHeader = header.headerGroup.headers[header.index + 1];
13761
- memoedProps.className = cn__default('!bg-white before:!content-none', memoedProps.className, {
13760
+ memoedProps.className = cn('!bg-white before:!content-none', memoedProps.className, {
13762
13761
  'after:!content-none': nextHeader === null || nextHeader === void 0 ? void 0 : nextHeader.isPlaceholder
13763
13762
  });
13764
13763
  }
@@ -13869,12 +13868,12 @@ const MemoedHeader = /*#__PURE__*/React__default.memo(function MemoedHeader(prop
13869
13868
  "data-cell-pinned": isPinned ? isPinned : undefined,
13870
13869
  style: style,
13871
13870
  ref: setRef
13872
- }), !isPlaceholder && (isInternalColumn(id) || typeof children !== 'string' ? children : (/*#__PURE__*/React__default.createElement(Tooltip, {
13871
+ }), isPlaceholder ? null : isInternalColumn(id) ? children : (/*#__PURE__*/React__default.createElement(Tooltip, {
13873
13872
  title: String(tooltip !== null && tooltip !== void 0 ? tooltip : children),
13874
13873
  placement: "top"
13875
13874
  }, /*#__PURE__*/React__default.createElement("span", {
13876
13875
  className: "truncate"
13877
- }, children)))), sortDirection ? /*#__PURE__*/React__default.createElement(SortIndicator, {
13876
+ }, children))), sortDirection ? /*#__PURE__*/React__default.createElement(SortIndicator, {
13878
13877
  direction: sortDirection
13879
13878
  }) : null, hasMenu ? (/*#__PURE__*/React__default.createElement(HeaderMenu, {
13880
13879
  canFilter: canFilter,
@@ -13882,7 +13881,7 @@ const MemoedHeader = /*#__PURE__*/React__default.memo(function MemoedHeader(prop
13882
13881
  canHide: canHide,
13883
13882
  canPin: canPin,
13884
13883
  canSort: canSort,
13885
- className: cn__default({
13884
+ className: cn({
13886
13885
  'ml-auto': align !== 'right',
13887
13886
  'ml-0': align === 'right'
13888
13887
  }),
@@ -14273,7 +14272,7 @@ const SearchInput2 = /*#__PURE__*/React__default.forwardRef(function SearchInput
14273
14272
  }
14274
14273
  });
14275
14274
  }
14276
- const className = cn__default('!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus', hasFind ? {
14275
+ const className = cn('!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus', hasFind ? {
14277
14276
  '!w-48': !value,
14278
14277
  '!w-72': value
14279
14278
  } : '!w-48', {
@@ -14303,9 +14302,9 @@ const SearchInput2 = /*#__PURE__*/React__default.forwardRef(function SearchInput
14303
14302
  value: value !== null && value !== void 0 ? value : ''
14304
14303
  }));
14305
14304
  if (settingsContent) {
14306
- const settingsClassname = cn__default('border-grey-300 absolute left-0 right-0 -mt-0.5 hidden top-full group-focus-within:flex focus-within:flex flex-col gap-y-4 rounded-b border border-t-0 bg-white p-3 shadow !pt-[calc(theme(spacing.3)_+_theme(spacing[0.5]))]');
14305
+ const settingsClassname = cn('border-grey-300 absolute left-0 right-0 -mt-0.5 hidden top-full group-focus-within:flex focus-within:flex flex-col gap-y-4 rounded-b border border-t-0 bg-white p-3 shadow !pt-[calc(theme(spacing.3)_+_theme(spacing[0.5]))]');
14307
14306
  return /*#__PURE__*/React__default.createElement("div", {
14308
- className: cn__default('group relative', {
14307
+ className: cn('group relative', {
14309
14308
  'z-10 [&_[data-taco=input-container]]:z-10': focused
14310
14309
  }),
14311
14310
  ref: containerRef,
@@ -14587,7 +14586,7 @@ const Column = /*#__PURE__*/React__default.forwardRef(function Column(props, ref
14587
14586
  ...dragAttributes
14588
14587
  } = props;
14589
14588
  const canHide = column.getCanHide();
14590
- const className = cn__default('group/column flex items-center gap-x-2 rounded py-1 px-2', {
14589
+ const className = cn('group/column flex items-center gap-x-2 rounded py-1 px-2', {
14591
14590
  'hover:bg-grey-200': canHide || draggable,
14592
14591
  'hover:cursor-pointer': canHide,
14593
14592
  'active:cursor-move active:bg-grey-300': draggable
@@ -15121,7 +15120,7 @@ const Tag$1 = /*#__PURE__*/React__default.forwardRef((props, ref) => {
15121
15120
  ...otherProps
15122
15121
  } = props;
15123
15122
  const textRef = React__default.useRef(null);
15124
- const className = cn__default('inline-flex items-center rounded h-6 cursor-default', {
15123
+ const className = cn('inline-flex items-center rounded h-6 cursor-default', {
15125
15124
  'opacity-50': disabled,
15126
15125
  'hover:bg-opacity-75': !disabled,
15127
15126
  'cursor-pointer': !!otherProps.onClick,
@@ -15138,7 +15137,7 @@ const Tag$1 = /*#__PURE__*/React__default.forwardRef((props, ref) => {
15138
15137
  name: icon,
15139
15138
  className: "-ml-1 mr-1 !h-5 !w-5"
15140
15139
  })) : (/*#__PURE__*/React__default.cloneElement(icon, {
15141
- className: cn__default(icon.props.className, 'mr-1 -ml-1')
15140
+ className: cn(icon.props.className, 'mr-1 -ml-1')
15142
15141
  })) : null, /*#__PURE__*/React__default.createElement("span", {
15143
15142
  className: "truncate"
15144
15143
  }, children)), onDelete ? (/*#__PURE__*/React__default.createElement(Icon, {
@@ -15148,7 +15147,7 @@ const Tag$1 = /*#__PURE__*/React__default.forwardRef((props, ref) => {
15148
15147
  })) : null);
15149
15148
  });
15150
15149
 
15151
- const createOptionClassName = (shouldPauseHoverState = false) => cn__default('group mb-px flex w-full text-sm flex-shrink-0 font-normal cursor-pointer items-center rounded bg-white px-2 leading-8 text-black aria-hidden:hidden gap-1.5 bg-white aria-current:wcag-grey-200 aria-disabled:text-black/25 aria-disabled:pointer-events-none !justify-normal', {
15150
+ const createOptionClassName = (shouldPauseHoverState = false) => cn('group mb-px flex w-full text-sm flex-shrink-0 font-normal cursor-pointer items-center rounded bg-white px-2 leading-8 text-black aria-hidden:hidden gap-1.5 bg-white aria-current:wcag-grey-200 aria-disabled:text-black/25 aria-disabled:pointer-events-none !justify-normal', {
15152
15151
  'hover:wcag-grey-200': !shouldPauseHoverState
15153
15152
  });
15154
15153
  const createCollectionClassName = () => 'flex flex-col gap-px';
@@ -15298,7 +15297,7 @@ const EditPopover = props => {
15298
15297
  }) => (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
15299
15298
  className: "flex w-32 flex-col space-y-2"
15300
15299
  }, onEdit ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Field, {
15301
- className: cn__default('!min-h-fit', {
15300
+ className: cn('!min-h-fit', {
15302
15301
  '!pb-0': !validationError
15303
15302
  }),
15304
15303
  invalid: !!validationError,
@@ -15346,7 +15345,7 @@ const Colours = props => {
15346
15345
  value: color
15347
15346
  }, AVAILABLE_COLORS.map(availableColor => (/*#__PURE__*/React__default.createElement(RadioGroupPrimitive.Item, {
15348
15347
  "aria-label": color,
15349
- className: cn__default('flex h-6 w-6 cursor-pointer items-center justify-center rounded', getSubtleColorShadeClasses(availableColor)),
15348
+ className: cn('flex h-6 w-6 cursor-pointer items-center justify-center rounded', getSubtleColorShadeClasses(availableColor)),
15350
15349
  key: availableColor,
15351
15350
  onFocus: () => onChangeColor(availableColor),
15352
15351
  value: availableColor
@@ -15384,7 +15383,7 @@ const Option$1 = /*#__PURE__*/React__default.forwardRef(function Select2Option(p
15384
15383
  tags,
15385
15384
  value
15386
15385
  } = useSelect2Context();
15387
- const className = cn__default(createOptionClassName(shouldPauseHoverState), getFontSize(fontSize), cName);
15386
+ const className = cn(createOptionClassName(shouldPauseHoverState), getFontSize(fontSize), cName);
15388
15387
  const hasValue = Array.isArray(value) ? !!value.length : value !== undefined;
15389
15388
  const isTag = tags && !!color;
15390
15389
  const handleClick = () => {
@@ -15441,7 +15440,7 @@ const Option$1 = /*#__PURE__*/React__default.forwardRef(function Select2Option(p
15441
15440
  })) : postfix : null)))), popover ? (/*#__PURE__*/React__default.createElement(IconButton, {
15442
15441
  icon: "ellipsis-vertical",
15443
15442
  appearance: "discrete",
15444
- className: cn__default('group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible', {
15443
+ className: cn('group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible', {
15445
15444
  '!visible': isMobileDevice((_window = window) === null || _window === void 0 ? void 0 : _window.navigator)
15446
15445
  }),
15447
15446
  onClick: event => {
@@ -15461,7 +15460,7 @@ const Group$3 = /*#__PURE__*/React__default.forwardRef(function Select2Group(pro
15461
15460
  hasSeparator,
15462
15461
  ...attributes
15463
15462
  } = props;
15464
- const className = cn__default(createCollectionClassName(), {
15463
+ const className = cn(createCollectionClassName(), {
15465
15464
  "last:after:content-none after:content-[''] after:bg-grey-300 after:mx-2 after:my-1 after:h-px": hasSeparator && children.length
15466
15465
  }, props.className);
15467
15466
  return /*#__PURE__*/React__default.createElement(Group$2, Object.assign({}, attributes, {
@@ -15473,7 +15472,7 @@ const Group$3 = /*#__PURE__*/React__default.forwardRef(function Select2Group(pro
15473
15472
  });
15474
15473
 
15475
15474
  const Title$5 = /*#__PURE__*/React__default.forwardRef(function Select2Title(props, ref) {
15476
- const className = cn__default('flex items-center text-xs pl-2 h-8', props.className);
15475
+ const className = cn('flex items-center text-xs pl-2 h-8', props.className);
15477
15476
  return /*#__PURE__*/React__default.createElement(Title$4, Object.assign({}, props, {
15478
15477
  className: className,
15479
15478
  ref: ref
@@ -15489,7 +15488,7 @@ const Placeholder = ({
15489
15488
  return null;
15490
15489
  }
15491
15490
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, props, {
15492
- className: cn__default({
15491
+ className: cn({
15493
15492
  'text-grey-700': disabled,
15494
15493
  'text-grey-500': !disabled
15495
15494
  })
@@ -15530,7 +15529,7 @@ const Button$3 = /*#__PURE__*/React__default.forwardRef(function Select2TriggerB
15530
15529
  open,
15531
15530
  readOnly
15532
15531
  } = useSelect2Context();
15533
- const className = cn__default('px-1.5 h-fit', getInputClasses({
15532
+ const className = cn('px-1.5 h-fit', getInputClasses({
15534
15533
  ...props,
15535
15534
  disabled,
15536
15535
  highlighted,
@@ -15604,7 +15603,7 @@ const Single = /*#__PURE__*/React__default.forwardRef(function Select2TriggerSin
15604
15603
  readOnly,
15605
15604
  tags
15606
15605
  } = useSelect2Context();
15607
- const contentClassName = cn__default('truncate flex items-center gap-1');
15606
+ const contentClassName = cn('truncate flex items-center gap-1');
15608
15607
  const currentValue = children.find(matchesValue(value));
15609
15608
  let output;
15610
15609
  if (placeholder && currentValue === undefined) {
@@ -15662,7 +15661,7 @@ const Multiple = /*#__PURE__*/React__default.forwardRef(function Select2TriggerM
15662
15661
  className
15663
15662
  } = buttonProps;
15664
15663
  if (open) {
15665
- className = cn__default('!absolute z-20 !h-fit', buttonProps.className);
15664
+ className = cn('!absolute z-20 !h-fit', buttonProps.className);
15666
15665
  content = /*#__PURE__*/React__default.createElement(ScrollArea, {
15667
15666
  className: "my-1 flex max-h-[5.5rem] flex-col",
15668
15667
  onClick: forwardClick
@@ -15762,14 +15761,14 @@ const MultipleValue = ({
15762
15761
  if (typeof child.props.children === 'string') {
15763
15762
  output = /*#__PURE__*/React__default.createElement(Tag$1, {
15764
15763
  key: String(child.props.value),
15765
- className: cn__default('cursor-pointer', classNames),
15764
+ className: cn('cursor-pointer', classNames),
15766
15765
  color: tags ? child.props.color : undefined,
15767
15766
  disabled: disabled,
15768
15767
  icon: child.props.prefix,
15769
15768
  readOnly: readOnly
15770
15769
  }, child.props.children);
15771
15770
  } else output = /*#__PURE__*/React__default.cloneElement(child.props.children, {
15772
- className: cn__default('cursor-pointer', {
15771
+ className: cn('cursor-pointer', {
15773
15772
  'shrink-0': index !== boundaryIndex
15774
15773
  }, classNames),
15775
15774
  key: String(child.props.value)
@@ -15907,7 +15906,7 @@ const Search$2 = /*#__PURE__*/React__default.forwardRef(function ListboxSearch(p
15907
15906
  }
15908
15907
  };
15909
15908
  return /*#__PURE__*/React__default.createElement(Field, {
15910
- className: cn__default('mx-1.5 mb-1.5 !min-h-fit', {
15909
+ className: cn('mx-1.5 mb-1.5 !min-h-fit', {
15911
15910
  '!pb-0': !validationError
15912
15911
  }),
15913
15912
  invalid: !!validationError,
@@ -16044,7 +16043,7 @@ const Create = props => {
16044
16043
  event.currentTarget.click();
16045
16044
  }
16046
16045
  };
16047
- const className = cn__default(createOptionClassName(), {
16046
+ const className = cn(createOptionClassName(), {
16048
16047
  '!w-[calc(100%_-_theme(spacing.3))] ml-1.5': !createDialog,
16049
16048
  'leading-normal border-grey-300 h-9 border-t py-2.5 px-4 !-mb-1.5': !!createDialog
16050
16049
  });
@@ -16281,7 +16280,7 @@ const Select2 = /*#__PURE__*/React__default.forwardRef(function Select2(props, r
16281
16280
  setValue(nextValue);
16282
16281
  }
16283
16282
  };
16284
- const className = cn__default('border-grey-300 rounded border bg-white py-1.5 shadow-md ', {
16283
+ const className = cn('border-grey-300 rounded border bg-white py-1.5 shadow-md ', {
16285
16284
  'focus-within:yt-focus': !hasSearch,
16286
16285
  'outline-none': hasSearch
16287
16286
  }, createCollectionClassName());
@@ -16321,10 +16320,10 @@ const Select2 = /*#__PURE__*/React__default.forwardRef(function Select2(props, r
16321
16320
  }, selectAllText), /*#__PURE__*/React__default.createElement("div", {
16322
16321
  className: "border-grey-300 mx-3 rounded border-t"
16323
16322
  }))))) : null, loading ? (/*#__PURE__*/React__default.createElement("span", {
16324
- className: cn__default('text-grey-700 flex items-center italic', fontSize && getFontSize(fontSize))
16323
+ className: cn('text-grey-700 flex items-center italic', fontSize && getFontSize(fontSize))
16325
16324
  }, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Spinner, {
16326
16325
  delay: 0,
16327
- className: cn__default('ml-3 mr-2 mt-1.5 h-5 w-5', {
16326
+ className: cn('ml-3 mr-2 mt-1.5 h-5 w-5', {
16328
16327
  '!mt-1 !h-3.5 !w-3.5': fontSize === exports.FontSizes.small,
16329
16328
  '!h-4 !w-4': fontSize === exports.FontSizes.medium,
16330
16329
  '!h-5 !w-5': fontSize === exports.FontSizes.large
@@ -16753,6 +16752,10 @@ function getComparatorText(comparator, texts, column) {
16753
16752
  return texts.table.filters.comparators.hasAllOf;
16754
16753
  case exports.TableFilterComparator.HasNoneOf:
16755
16754
  return texts.table.filters.comparators.hasNoneOf;
16755
+ case exports.TableFilterComparator.IsOneOf:
16756
+ return texts.table.filters.comparators.isOneOf;
16757
+ case exports.TableFilterComparator.IsNoneOf:
16758
+ return texts.table.filters.comparators.isNoneOf;
16756
16759
  default:
16757
16760
  return '';
16758
16761
  }
@@ -18254,7 +18257,7 @@ const useTable$1 = (props, ref) => {
18254
18257
  const renderCell = (cell, row) => {
18255
18258
  const props = {
18256
18259
  ...cell.getCellProps(),
18257
- className: cn__default('yt-table__cell flex-1 truncate p-2 align-middle', cell.column.className, {
18260
+ className: cn('yt-table__cell flex-1 truncate p-2 align-middle', cell.column.className, {
18258
18261
  'justify-start text-left': cell.column.align === 'left',
18259
18262
  'justify-end text-right': cell.column.align === 'right',
18260
18263
  'text-center': !cell.column.align
@@ -18294,7 +18297,7 @@ const Row$1 = /*#__PURE__*/React__default.forwardRef(function TableRow({
18294
18297
  minHeight: rowHeight ? `${rowHeight}px` : undefined,
18295
18298
  paddingLeft: row.depth ? `${row.depth * 2}rem` : undefined
18296
18299
  },
18297
- className: cn__default('yt-table__row border-grey-300 flex border-b min-h-[2.5rem] hover:bg-grey-100', {
18300
+ className: cn('yt-table__row border-grey-300 flex border-b min-h-[2.5rem] hover:bg-grey-100', {
18298
18301
  'yt-table__row--active bg-grey-200 hover:bg-grey-200': activeIndex === index,
18299
18302
  'yt-table__row--clickable': !!onRowClick,
18300
18303
  'yt-table__row--dragging': !!row.isDragging,
@@ -18352,7 +18355,7 @@ const Column$2 = ({
18352
18355
  ...(cell.getSortByToggleProps && cell.getSortByToggleProps({
18353
18356
  title: undefined
18354
18357
  })),
18355
- className: cn__default('yt-table__cell flex flex-1 truncate p-2 align-middle text-grey-700 hover:text-black', cell.className, {
18358
+ className: cn('yt-table__cell flex flex-1 truncate p-2 align-middle text-grey-700 hover:text-black', cell.className, {
18356
18359
  'yt-table__cell__group': !!cell.columns,
18357
18360
  'cursor-pointer': !cell.disableSorting,
18358
18361
  'justify-start text-left': cell.align === 'left',
@@ -18395,7 +18398,7 @@ const BaseTable = /*#__PURE__*/React__default.forwardRef(function BaseTable(prop
18395
18398
  tableRef.current.focus();
18396
18399
  }
18397
18400
  }, []);
18398
- const className = cn__default('yt-table flex flex-col focus:yt-focus focus:rounded-sm', props.className);
18401
+ const className = cn('yt-table flex flex-col focus:yt-focus focus:rounded-sm', props.className);
18399
18402
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, otherProps, {
18400
18403
  role: "table",
18401
18404
  className: className,
@@ -18579,7 +18582,7 @@ const WindowedTable = /*#__PURE__*/React__default.forwardRef(function WindowedTa
18579
18582
  }, [rows.length]);
18580
18583
  const contentHeight = estimatedRowHeight * props.data.length || 0;
18581
18584
  const isScrollbarVisible = height !== null ? contentHeight > height : false;
18582
- const className = cn__default(tableProps.className, 'yt-table--windowed', {
18585
+ const className = cn(tableProps.className, 'yt-table--windowed', {
18583
18586
  'table-with-scrollbar': isScrollbarVisible
18584
18587
  });
18585
18588
  let list;
@@ -18909,13 +18912,21 @@ function useTableEditingListener(table, tableRef, scrollToIndex) {
18909
18912
  document.addEventListener('click', onClickOutside);
18910
18913
  return () => document.removeEventListener('click', onClickOutside);
18911
18914
  }, [tableMeta.editing.isEditing, tableMeta.editing.saveChanges]);
18912
- React__default.useEffect(() => {
18913
- if (tableMeta.editing.isEnabled) {
18914
- tableMeta.rowActions.registerHandler('cleanup', rowId => {
18915
- tableMeta.editing.discardChanges(rowId, table);
18916
- });
18917
- }
18918
- }, []);
18915
+ /*
18916
+ const rows = table.getRowModel().rows;
18917
+ // make sure pending changes are removed for rows that no longer exist
18918
+ useLazyEffect(() => {
18919
+ const pendingChanges = tableMeta.editing.getErrorsShownInAlert();
18920
+ pendingChanges.forEach(pendingChange => {
18921
+ try {
18922
+ table.getRow(pendingChange.rowId);
18923
+ } catch {
18924
+ // TODO: this has the potential to remove changes for "unloaded" rows in server loading
18925
+ //tableMeta.editing.discardChanges(pendingChange.rowId, table);
18926
+ }
18927
+ });
18928
+ }, [rows.length]);
18929
+ */
18919
18930
  // shortcuts
18920
18931
  useGlobalKeyDown(tableMeta.editing.isEnabled ? shortcut : undefined, event => {
18921
18932
  event.preventDefault();
@@ -19624,7 +19635,7 @@ const Textarea = /*#__PURE__*/React.forwardRef(function Textarea(props, ref) {
19624
19635
  onKeyDown,
19625
19636
  ...otherProps
19626
19637
  } = props;
19627
- const classNames = cn__default(getInputClasses(props), 'pt-[5px] pb-[7px] min-h-[75px] disabled:resize-none !leading-5', props.className);
19638
+ const classNames = cn(getInputClasses(props), 'pt-[5px] pb-[7px] min-h-[75px] disabled:resize-none !leading-5', props.className);
19628
19639
  // home and end keys only navigate to the start/end of textarea value if the textarea container does not scroll
19629
19640
  // if it has scroll height then the browser reverts to native scrolling behaviour only
19630
19641
  // so we manually override it to ensure _our_ desired behaviour remains intact
@@ -20127,7 +20138,7 @@ function SaveStatus(props) {
20127
20138
  } = useLocalization();
20128
20139
  const tableMeta = table.options.meta;
20129
20140
  const status = tableMeta.editing.getRowStatus(rowId);
20130
- const className = cn__default('col-span-full sticky ml-auto right-0 top-0 -mb-[100%] z-10 h-8 bg-[inherit] flex items-center px-1.5 shadow-[-6px_0px_6px_var(--table-row-actions-shadow)]', {
20141
+ const className = cn('col-span-full sticky ml-auto right-0 top-0 -mb-[100%] z-10 h-8 bg-[inherit] flex items-center px-1.5 shadow-[-6px_0px_6px_var(--table-row-actions-shadow)]', {
20131
20142
  'mt-0.5': tableMeta.rowHeight.height === 'short',
20132
20143
  'mt-1': tableMeta.rowHeight.height === 'medium',
20133
20144
  'mt-1.5': tableMeta.rowHeight.height === 'tall',
@@ -20237,7 +20248,7 @@ function useTable3(props, ref) {
20237
20248
  data,
20238
20249
  enableRowActions: editing.isEditing ? true : props.enableRowActions,
20239
20250
  // Display EditingActionMenu instead of row actions while editing
20240
- rowActions: editing.isEditing ? [(_, rowId, __, table) => {
20251
+ rowActions: editing.isEditing ? [(_, rowId, table) => {
20241
20252
  const tableMeta = table.options.meta;
20242
20253
  return /*#__PURE__*/React__default.createElement(EditingActionsMenu, {
20243
20254
  hasChanges: editing.hasChanges(rowId),
@@ -20480,7 +20491,7 @@ function CreateNewRow(props) {
20480
20491
  keys: shortcut
20481
20492
  });
20482
20493
  }
20483
- const className = cn__default('group/row border-grey-300 !sticky z-[21]', {
20494
+ const className = cn('group/row border-grey-300 !sticky z-[21]', {
20484
20495
  'bottom-10': tableMeta.footer.isEnabled,
20485
20496
  'bottom-0': !tableMeta.footer.isEnabled,
20486
20497
  'border-b': !isScrolled
@@ -20570,7 +20581,7 @@ function TemporaryRow(props) {
20570
20581
  }
20571
20582
  }
20572
20583
  };
20573
- const className = cn__default('group/row border-grey-300 !sticky z-[22] print:hidden', {
20584
+ const className = cn('group/row border-grey-300 !sticky z-[22] print:hidden', {
20574
20585
  'bottom-[calc(5rem_+_2px)] data-[row-editing-move]:bottom-[calc(5rem_+_2px)]': tableMeta.footer.isEnabled,
20575
20586
  'bottom-[calc(2.5rem_+_2px)] data-[row-editing-move]:bottom-[calc(2.5rem_+_2px)]': !tableMeta.footer.isEnabled,
20576
20587
  'border-t-2 shadow-[0px_-5px_20px_0px_rgba(0,0,0,0.1)] [&>td]:!border-b-0': isScrolled
@@ -20607,14 +20618,7 @@ const BaseTable3 = /*#__PURE__*/fixedForwardRef(function BaseTable3(props, ref)
20607
20618
  'data-table-editing-mode': (_table3$meta$editing = table3.meta.editing) !== null && _table3$meta$editing !== void 0 && _table3$meta$editing.isEditing ? (_table3$meta$editing2 = table3.meta.editing) !== null && _table3$meta$editing2 !== void 0 && _table3$meta$editing2.isDetailedMode ? 'detailed' : 'normal' : undefined,
20608
20619
  enableHorizontalArrowKeyNavigation: table3.meta.editing.isEditing
20609
20620
  };
20610
- const rowsById = table3.instance.getCoreRowModel().rowsById;
20611
- const hasAlertErrors = table3.meta.editing.getErrorsShownInAlert().filter(row => {
20612
- if (table3.meta.server._experimentalDataLoader2) {
20613
- // consumers of dataloader2 need to run a cleanup function, as this would otherwise return false when pages are unloaded.
20614
- return true;
20615
- }
20616
- return rowsById[row.rowId];
20617
- }).length;
20621
+ const hasAlertErrors = table3.meta.editing.getErrorsShownInAlert().length;
20618
20622
  const hasCreateWorkflow = table3.meta.editing.isEnabled && props.onEditingCreate;
20619
20623
  const isScrolled = isTableScrolled(table3.ref);
20620
20624
  let createWorkflow;
@@ -20670,7 +20674,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(props, ref) {
20670
20674
  orientation = 'horizontal',
20671
20675
  ...otherProps
20672
20676
  } = props;
20673
- const className = cn__default({
20677
+ const className = cn({
20674
20678
  'flex w-full': orientation === 'vertical'
20675
20679
  }, props.className);
20676
20680
  return /*#__PURE__*/React.createElement(TabsPrimitive.Root, Object.assign({}, otherProps, {
@@ -20688,7 +20692,7 @@ const TabList = /*#__PURE__*/React.forwardRef(function Tab(props, ref) {
20688
20692
  const {
20689
20693
  children
20690
20694
  } = props;
20691
- const className = cn__default('border-grey-300 flex flex-row m-0 mb-4 print:hidden', 'aria-orientation-horizontal:border-b', 'aria-orientation-vertical:border-r aria-orientation-vertical:m-0 aria-orientation-vertical:mr-4 aria-orientation-vertical:flex-col', props.className);
20695
+ const className = cn('border-grey-300 flex flex-row m-0 mb-4 print:hidden', 'aria-orientation-horizontal:border-b', 'aria-orientation-vertical:border-r aria-orientation-vertical:m-0 aria-orientation-vertical:mr-4 aria-orientation-vertical:flex-col', props.className);
20692
20696
  return /*#__PURE__*/React.createElement(TabsPrimitive.List, Object.assign({}, props, {
20693
20697
  className: className,
20694
20698
  ref: ref
@@ -20711,13 +20715,13 @@ const TabTrigger = /*#__PURE__*/React.forwardRef(function Tab(props, ref) {
20711
20715
  tooltip,
20712
20716
  ...otherProps
20713
20717
  } = props;
20714
- const triggerClassName = cn__default(props.className, 'group relative p-0.5 outline-none disabled:cursor-not-allowed disabled:text-black/50',
20718
+ const triggerClassName = cn(props.className, 'group relative p-0.5 outline-none disabled:cursor-not-allowed disabled:text-black/50',
20715
20719
  // horizontal
20716
20720
  '[[aria-orientation="horizontal"]_&]:pb-1',
20717
20721
  // horizontal
20718
20722
  '[[aria-orientation="vertical"]_&]:pr-1');
20719
- const buttonClassName = cn__default(getButtonClasses(), 'group-focus-visible:yt-focus-inset group-enabled:group-hover:wcag-grey-200 pointer-events-none rounded px-3');
20720
- const activeClassName = cn__default('pointer-events-none absolute hidden bg-blue-500 group-aria-selected:flex',
20723
+ const buttonClassName = cn(getButtonClasses(), 'group-focus-visible:yt-focus-inset group-enabled:group-hover:wcag-grey-200 pointer-events-none rounded px-3');
20724
+ const activeClassName = cn('pointer-events-none absolute hidden bg-blue-500 group-aria-selected:flex',
20721
20725
  // horizontal
20722
20726
  '[[aria-orientation="horizontal"]_&]:rounded-t-sm [[aria-orientation="horizontal"]_&]:bottom-0 [[aria-orientation="horizontal"]_&]:left-0 [[aria-orientation="horizontal"]_&]:right-0 [[aria-orientation="horizontal"]_&]:-mb-px [[aria-orientation="horizontal"]_&]:h-0.5',
20723
20727
  // vertical
@@ -20744,7 +20748,7 @@ const TabContent = /*#__PURE__*/React.forwardRef(function Tab(props, ref) {
20744
20748
  id,
20745
20749
  ...otherProps
20746
20750
  } = props;
20747
- const className = cn__default('[&[data-orientation="vertical"]]:grow outline-none', props.className);
20751
+ const className = cn('[&[data-orientation="vertical"]]:grow outline-none', props.className);
20748
20752
  return /*#__PURE__*/React.createElement(TabsPrimitive.Content, Object.assign({}, otherProps, {
20749
20753
  className: className,
20750
20754
  ref: ref,
@@ -21048,7 +21052,7 @@ function Legend(props) {
21048
21052
  return /*#__PURE__*/React__default.createElement("div", {
21049
21053
  className: "mx-auto w-auto max-w-full overflow-hidden"
21050
21054
  }, /*#__PURE__*/React__default.createElement("div", {
21051
- className: cn__default('mb-0 ml-0 flex justify-center', {
21055
+ className: cn('mb-0 ml-0 flex justify-center', {
21052
21056
  'flex-col': layout === 'vertical'
21053
21057
  })
21054
21058
  }, /*#__PURE__*/React__default.createElement(OverflowGroup, {
@@ -21056,7 +21060,7 @@ function Legend(props) {
21056
21060
  moreButton: moreButton
21057
21061
  }, payload.map((entry, index) => (/*#__PURE__*/React__default.createElement("span", {
21058
21062
  key: `${entry.dataKey}-${index}`,
21059
- className: cn__default(' hover:bg-grey-100 cursor-pointer px-[8px] py-[2px] hover:rounded-[4px]', {
21063
+ className: cn(' hover:bg-grey-100 cursor-pointer px-[8px] py-[2px] hover:rounded-[4px]', {
21060
21064
  'bg-grey-100 rounded': activeIndex === index
21061
21065
  }),
21062
21066
  onMouseEnter: () => handleMouseEnter(entry, index),
@@ -21065,7 +21069,7 @@ function Legend(props) {
21065
21069
  }, /*#__PURE__*/React__default.createElement("span", {
21066
21070
  className: "text-grey-700 flex items-center gap-[4px]"
21067
21071
  }, /*#__PURE__*/React__default.createElement("span", {
21068
- className: cn__default('-mt-px ml-1 flex h-3 w-3 rounded-sm', {
21072
+ className: cn('-mt-px ml-1 flex h-3 w-3 rounded-sm', {
21069
21073
  'border-grey-300 border !bg-white': !activeItems[entry.dataKey]
21070
21074
  }),
21071
21075
  style: {
@@ -21348,7 +21352,7 @@ const Legend$1 = ({
21348
21352
  const isHovered = isTotal ? isTotalLegendHovered : hoveredItem.includes(itemData.id);
21349
21353
  return /*#__PURE__*/React__default.createElement("li", {
21350
21354
  key: isTotal ? 'total' : `${itemData.label}-${index}`,
21351
- className: cn__default('mr-2 flex cursor-pointer gap-2 rounded pl-0 pr-1', {
21355
+ className: cn('mr-2 flex cursor-pointer gap-2 rounded pl-0 pr-1', {
21352
21356
  'bg-grey-100': isHovered && (!isTotal || legendPosition === 'right'),
21353
21357
  'bg-grey-200': isSelected && (!isTotal || legendPosition === 'right')
21354
21358
  }),
@@ -21358,7 +21362,7 @@ const Legend$1 = ({
21358
21362
  }, legendPosition === 'bottom' ? (/*#__PURE__*/React__default.createElement("div", {
21359
21363
  className: "flex items-center gap-1"
21360
21364
  }, /*#__PURE__*/React__default.createElement("span", {
21361
- className: cn__default('ml-1 h-3 w-3 rounded-sm', {
21365
+ className: cn('ml-1 h-3 w-3 rounded-sm', {
21362
21366
  'border-grey-300 border !bg-white': !visibleItems[itemData.id]
21363
21367
  }),
21364
21368
  style: {
@@ -21380,13 +21384,13 @@ const Legend$1 = ({
21380
21384
  appearance: "transparent",
21381
21385
  className: "text-grey-700"
21382
21386
  }, moreButtonText));
21383
- const className = cn__default('flex-grow pl-4', {
21387
+ const className = cn('flex-grow pl-4', {
21384
21388
  'w-full': legendPosition === 'bottom'
21385
21389
  });
21386
21390
  return /*#__PURE__*/React__default.createElement("div", {
21387
21391
  className: className
21388
21392
  }, /*#__PURE__*/React__default.createElement("ul", {
21389
- className: cn__default('mb-0 ml-0 mt-4 flex justify-center space-y-1', legendPosition === 'right' ? 'flex-col gap-1' : 'flex-row')
21393
+ className: cn('mb-0 ml-0 mt-4 flex justify-center space-y-1', legendPosition === 'right' ? 'flex-col gap-1' : 'flex-row')
21390
21394
  }, legendPosition === 'right' ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, renderLegendItem(null), data.map(renderLegendItem))) : (/*#__PURE__*/React__default.createElement(OverflowGroup, {
21391
21395
  className: "w-full items-center py-1",
21392
21396
  moreButton: moreButton
@@ -21434,7 +21438,7 @@ const ActiveShape = props => {
21434
21438
  } = props;
21435
21439
  return /*#__PURE__*/React__default.createElement("g", {
21436
21440
  onClick: () => onClick(id),
21437
- className: cn__default({
21441
+ className: cn({
21438
21442
  'cursor-pointer': !!onClick
21439
21443
  })
21440
21444
  }, /*#__PURE__*/React__default.createElement(Recharts.Sector, {
@@ -21560,7 +21564,7 @@ const DonutChart = function DonutChart({
21560
21564
  }));
21561
21565
  };
21562
21566
  return /*#__PURE__*/React__default.createElement("div", {
21563
- className: cn__default('relative h-full w-full', {
21567
+ className: cn('relative h-full w-full', {
21564
21568
  [`flex `]: showLegend,
21565
21569
  'flex-col items-center': legendPosition === 'bottom'
21566
21570
  }),
@@ -21676,7 +21680,7 @@ const Button$4 = /*#__PURE__*/React__default.forwardRef(function Button(props, r
21676
21680
  const {
21677
21681
  ...attributes
21678
21682
  } = props;
21679
- const className = cn__default(getButtonClasses$1(), props.className);
21683
+ const className = cn(getButtonClasses$1(), props.className);
21680
21684
  return /*#__PURE__*/React__default.createElement(IconButton, Object.assign({}, attributes, {
21681
21685
  appearance: "discrete",
21682
21686
  className: className,
@@ -21684,7 +21688,7 @@ const Button$4 = /*#__PURE__*/React__default.forwardRef(function Button(props, r
21684
21688
  ref: ref
21685
21689
  }));
21686
21690
  });
21687
- const getButtonClasses$1 = (rounded = true) => cn__default('!h-9 !w-9 flex-shrink-0 flex-grow-0 cursor-pointer relative', 'focus:!outline-none focus:!shadow-none focus-visible:!yt-focus-dark ', 'bg-transparent enabled:hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]', 'text-white', {
21691
+ const getButtonClasses$1 = (rounded = true) => cn('!h-9 !w-9 flex-shrink-0 flex-grow-0 cursor-pointer relative', 'focus:!outline-none focus:!shadow-none focus-visible:!yt-focus-dark ', 'bg-transparent enabled:hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]', 'text-white', {
21688
21692
  '!rounded-full': rounded
21689
21693
  });
21690
21694
 
@@ -21699,7 +21703,7 @@ const Link$2 = /*#__PURE__*/React__default.forwardRef(function Link(props, ref)
21699
21703
  const {
21700
21704
  texts
21701
21705
  } = useLocalization();
21702
- const className = cn__default(getLinkClasses(icon), 'relative', props.className);
21706
+ const className = cn(getLinkClasses(icon), 'relative', props.className);
21703
21707
  const link = /*#__PURE__*/React__default.createElement("a", Object.assign({}, otherProps, {
21704
21708
  className: className,
21705
21709
  "data-taco": "header-link",
@@ -21719,13 +21723,13 @@ const Link$2 = /*#__PURE__*/React__default.forwardRef(function Link(props, ref)
21719
21723
  }
21720
21724
  return link;
21721
21725
  });
21722
- const getLinkClasses = (icon = undefined) => cn__default('flex h-8 flex-shrink-0 flex-grow-0 cursor-pointer items-center justify-center ', 'focus:!shadow-none focus:!outline-none focus-visible:!yt-focus-dark', 'bg-transparent hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]', 'text-white hover:text-white focus:text-white', {
21726
+ const getLinkClasses = (icon = undefined) => cn('flex h-8 flex-shrink-0 flex-grow-0 cursor-pointer items-center justify-center ', 'focus:!shadow-none focus:!outline-none focus-visible:!yt-focus-dark', 'bg-transparent hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]', 'text-white hover:text-white focus:text-white', {
21723
21727
  '!rounded-full !h-9 !w-9': icon,
21724
21728
  'whitespace-nowrap px-3 rounded text-sm hidden lg:flex': !icon
21725
21729
  });
21726
21730
 
21727
21731
  const Logo = /*#__PURE__*/React__default.forwardRef(function Logo(props, ref) {
21728
- const className = cn__default('h-7 w-7 m-1 self-center justify-self-center flex-shrink-0 flex-grow-0', props.className);
21732
+ const className = cn('h-7 w-7 m-1 self-center justify-self-center flex-shrink-0 flex-grow-0', props.className);
21729
21733
  return /*#__PURE__*/React__default.createElement("svg", Object.assign({}, props, {
21730
21734
  className: className,
21731
21735
  ref: ref,
@@ -21742,7 +21746,7 @@ const Logo = /*#__PURE__*/React__default.forwardRef(function Logo(props, ref) {
21742
21746
  })));
21743
21747
  });
21744
21748
  const LogoLegacy = /*#__PURE__*/React__default.forwardRef(function Logo(props, ref) {
21745
- const className = cn__default('-mr-[156px] xs:-mr-14 md:!mr-0 h-9 shrink-0 w-[180px] px-1', props.className);
21749
+ const className = cn('-mr-[156px] xs:-mr-14 md:!mr-0 h-9 shrink-0 w-[180px] px-1', props.className);
21746
21750
  return /*#__PURE__*/React__default.createElement("svg", Object.assign({}, props, {
21747
21751
  className: className,
21748
21752
  ref: ref,
@@ -21814,9 +21818,9 @@ const PrimaryNavigation = /*#__PURE__*/React__default.forwardRef(function Primar
21814
21818
  texts
21815
21819
  } = useLocalization();
21816
21820
  const internalRef = useMergedRef(ref);
21817
- const className = cn__default('flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative', props.className);
21821
+ const className = cn('flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative', props.className);
21818
21822
  const moreButton = () => (/*#__PURE__*/React__default.createElement(Button$1, {
21819
- className: cn__default(getLinkClasses(), '!bg-transparent aria-expanded:!bg-white/[.08]')
21823
+ className: cn(getLinkClasses(), '!bg-transparent aria-expanded:!bg-white/[.08]')
21820
21824
  }, texts.header.more));
21821
21825
  return /*#__PURE__*/React__default.createElement("nav", Object.assign({}, props, {
21822
21826
  className: className,
@@ -21828,7 +21832,7 @@ const PrimaryNavigation = /*#__PURE__*/React__default.forwardRef(function Primar
21828
21832
  });
21829
21833
 
21830
21834
  const SecondaryNavigation = /*#__PURE__*/React__default.forwardRef(function SecondaryNavigation(props, ref) {
21831
- const className = cn__default('flex h-full items-center gap-2 mb-0 flex-shrink-0 mr-2', props.className);
21835
+ const className = cn('flex h-full items-center gap-2 mb-0 flex-shrink-0 mr-2', props.className);
21832
21836
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, props, {
21833
21837
  className: className,
21834
21838
  ref: ref
@@ -21836,7 +21840,7 @@ const SecondaryNavigation = /*#__PURE__*/React__default.forwardRef(function Seco
21836
21840
  });
21837
21841
 
21838
21842
  const MenuButton = /*#__PURE__*/React__default.forwardRef(function MenuButton(props, ref) {
21839
- const className = cn__default(getButtonClasses$1(false), 'mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white');
21843
+ const className = cn(getButtonClasses$1(false), 'mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white');
21840
21844
  return /*#__PURE__*/React__default.createElement(IconButton, Object.assign({}, props, {
21841
21845
  className: className,
21842
21846
  "data-taco": "header-toggle-sidebar",
@@ -21856,7 +21860,7 @@ const AgreementAvatar = /*#__PURE__*/React__default.forwardRef(function Agreemen
21856
21860
  const handleError = event => {
21857
21861
  event.target.src = fallbackSrc;
21858
21862
  };
21859
- const className = cn__default('h-9 w-9 rounded-full shrink-0 group-focus:yt-focus-dark xl:group-focus:shadow-none', {
21863
+ const className = cn('h-9 w-9 rounded-full shrink-0 group-focus:yt-focus-dark xl:group-focus:shadow-none', {
21860
21864
  visible: loaded
21861
21865
  }, props.className);
21862
21866
  return /*#__PURE__*/React__default.createElement("img", Object.assign({}, otherProps, {
@@ -21893,7 +21897,7 @@ const AgreementItem = props => {
21893
21897
  fallbackImageSrc,
21894
21898
  ...agreement
21895
21899
  } = props;
21896
- const className = cn__default('w-full rounded flex px-2 gap-2 overflow-hidden text-left items-center', customClassName);
21900
+ const className = cn('w-full rounded flex px-2 gap-2 overflow-hidden text-left items-center', customClassName);
21897
21901
  return /*#__PURE__*/React__default.createElement("span", {
21898
21902
  className: className
21899
21903
  }, /*#__PURE__*/React__default.createElement(AgreementAvatar, {
@@ -21925,7 +21929,7 @@ const AgreementDisplay = props => {
21925
21929
  } = props;
21926
21930
  const isXlScreen = useMatchMedia('(min-width: 1280px)', window.innerWidth > 1280);
21927
21931
  if (isXlScreen) {
21928
- const className = cn__default('h-12 flex-grow xl:[button>&]:hover:bg-white/[0.16]', props.className);
21932
+ const className = cn('h-12 flex-grow xl:[button>&]:hover:bg-white/[0.16]', props.className);
21929
21933
  return /*#__PURE__*/React__default.createElement(AgreementItem, Object.assign({}, currentAgreement, {
21930
21934
  children: children,
21931
21935
  className: className,
@@ -22074,7 +22078,7 @@ function AgreementDisplay$1(props) {
22074
22078
  }
22075
22079
 
22076
22080
  const Header$6 = /*#__PURE__*/React__default.forwardRef(function Header(props, ref) {
22077
- const className = cn__default('bg-blue-900 flex h-16 w-full shrink-0 items-center gap-2 pl-4', '[&>*:focus-visible]:yt-focus-dark [&>*]:rounded',
22081
+ const className = cn('bg-blue-900 flex h-16 w-full shrink-0 items-center gap-2 pl-4', '[&>*:focus-visible]:yt-focus-dark [&>*]:rounded',
22078
22082
  // styles for logo wrapped inside an anchor
22079
22083
  props.className);
22080
22084
  return /*#__PURE__*/React__default.createElement("header", Object.assign({}, props, {
@@ -22098,7 +22102,7 @@ const LayoutContext = /*#__PURE__*/React__default.createContext({
22098
22102
  });
22099
22103
 
22100
22104
  const Content$9 = /*#__PURE__*/React__default.forwardRef(function LayoutContent(props, ref) {
22101
- const className = cn__default('flex-grow overflow-y-auto print:overflow-visible print:h-full print:!p-0 bg-white flex flex-shrink flex-col relative', props.className);
22105
+ const className = cn('flex-grow overflow-y-auto print:overflow-visible print:h-full print:!p-0 bg-white flex flex-shrink flex-col relative', props.className);
22102
22106
  return /*#__PURE__*/React__default.createElement("main", Object.assign({}, props, {
22103
22107
  className: className,
22104
22108
  ref: ref
@@ -22140,7 +22144,7 @@ const Sidebar = /*#__PURE__*/React__default.forwardRef(function LayoutSidebar(pr
22140
22144
  }, [isSmallScreen, sidebarOpen]);
22141
22145
  const showBackdrop = isSmallScreen && sidebarOpen === true;
22142
22146
  const [ready, setReady] = React__default.useState(isSmallScreen);
22143
- const className = cn__default('bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0 print:hidden', {
22147
+ const className = cn('bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0 print:hidden', {
22144
22148
  'absolute z-10 aria-hidden:-translate-x-64 ': isSmallScreen,
22145
22149
  // prevent animation when crossing the boundary from large to small screen,
22146
22150
  // this prevents awkward animation in the edge case (resizing the browser, instead of starting at a given size)
@@ -22194,7 +22198,7 @@ const Top = props => {
22194
22198
  };
22195
22199
 
22196
22200
  const Page = /*#__PURE__*/React__default.forwardRef(function LayoutPage(props, ref) {
22197
- const className = cn__default('flex flex-grow overflow-hidden print:overflow-visible print:h-full relative', props.className);
22201
+ const className = cn('flex flex-grow overflow-hidden print:overflow-visible print:h-full relative', props.className);
22198
22202
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, props, {
22199
22203
  className: className,
22200
22204
  ref: ref
@@ -22203,7 +22207,7 @@ const Page = /*#__PURE__*/React__default.forwardRef(function LayoutPage(props, r
22203
22207
 
22204
22208
  const Layout$1 = /*#__PURE__*/React__default.forwardRef(function Layout(props, ref) {
22205
22209
  const [sidebarOpen, setSidebarOpen] = React__default.useState(false);
22206
- const className = cn__default('flex h-screen w-screen flex-col overflow-hidden print:overflow-visible print:h-full relative', props.className);
22210
+ const className = cn('flex h-screen w-screen flex-col overflow-hidden print:overflow-visible print:h-full relative', props.className);
22207
22211
  return /*#__PURE__*/React__default.createElement(LayoutContext.Provider, {
22208
22212
  value: {
22209
22213
  sidebarOpen,
@@ -22228,7 +22232,7 @@ const Group$6 = /*#__PURE__*/React__default.forwardRef(function Group(props, ref
22228
22232
  ...attributes
22229
22233
  } = props;
22230
22234
  const [expanded, setExpanded] = React__default.useState(defaultExpanded);
22231
- const className = cn__default('flex w-full cursor-pointer items-center rounded px-3 font-bold text-left leading-8 hover:bg-black/[.06] focus-visible:yt-focus-dark', attributes.className);
22235
+ const className = cn('flex w-full cursor-pointer items-center rounded px-3 font-bold text-left leading-8 hover:bg-black/[.06] focus-visible:yt-focus-dark', attributes.className);
22232
22236
  const handleClick = event => {
22233
22237
  setExpanded(!expanded);
22234
22238
  if (onClick) {
@@ -22252,14 +22256,14 @@ const Group$6 = /*#__PURE__*/React__default.forwardRef(function Group(props, ref
22252
22256
  }), /*#__PURE__*/React__default.createElement("span", {
22253
22257
  className: "flex-grow truncate"
22254
22258
  }, heading)), /*#__PURE__*/React__default.createElement("ul", {
22255
- className: cn__default('mb-0 flex flex-col gap-y-px pt-px', {
22259
+ className: cn('mb-0 flex flex-col gap-y-px pt-px', {
22256
22260
  hidden: !expanded
22257
22261
  }),
22258
22262
  role: "menu"
22259
22263
  }, children));
22260
22264
  });
22261
22265
 
22262
- const getAdjacentClasses = () => cn__default(
22266
+ const getAdjacentClasses = () => cn(
22263
22267
  // styling if the element is proceeded by a link item
22264
22268
  '[[role=menubar]>[data-taco=navigation2-link-item]+&]:mt-2', "[[role=menubar]>[data-taco='navigation2-link-item']+&]:border-t-2", "[[role=menubar]>[data-taco='navigation2-link-item']+&]:pt-2 ",
22265
22269
  // styling if the element is proceeded by content
@@ -22267,7 +22271,7 @@ const getAdjacentClasses = () => cn__default(
22267
22271
  // styling if the element is proceeded by a section
22268
22272
  "[[role=menubar]>[data-taco='navigation2-section']+&]:border-t-2", "[[role=menubar]>[data-taco='navigation2-section']+&]:pt-2");
22269
22273
 
22270
- const getNavigationLinkClasses = (isDraggedOver = false) => cn__default('group relative flex w-full items-center rounded leading-8 !text-black px-2 focus-visible:yt-focus-dark',
22274
+ const getNavigationLinkClasses = (isDraggedOver = false) => cn('group relative flex w-full items-center rounded leading-8 !text-black px-2 focus-visible:yt-focus-dark',
22271
22275
  // override styles for links that are children of collapsible menus
22272
22276
  'font-bold [[role=menu]>li>&]:font-normal [[role=menu]>li>&]:pl-5',
22273
22277
  // override styles to adjust icons included in menu links
@@ -22288,8 +22292,8 @@ const Link$3 = /*#__PURE__*/React__default.forwardRef(function Link(props, ref)
22288
22292
  ...attributes
22289
22293
  } = props;
22290
22294
  const [isDraggedOver, dropTargetProps] = useDropTarget(onDrop);
22291
- const className = cn__default(getNavigationLinkClasses(isDraggedOver), attributes.className);
22292
- const listClassName = cn__default('[[role=menubar]>&]:px-3 border-grey-200', getAdjacentClasses(), {
22295
+ const className = cn(getNavigationLinkClasses(isDraggedOver), attributes.className);
22296
+ const listClassName = cn('[[role=menubar]>&]:px-3 border-grey-200', getAdjacentClasses(), {
22293
22297
  '[&>*]:pointer-events-none': isDraggedOver
22294
22298
  });
22295
22299
  return /*#__PURE__*/React__default.createElement("li", Object.assign({}, dropTargetProps, {
@@ -22313,7 +22317,7 @@ const Link$3 = /*#__PURE__*/React__default.forwardRef(function Link(props, ref)
22313
22317
  icon: "more",
22314
22318
  "aria-label": "More",
22315
22319
  rounded: true,
22316
- className: cn__default('-mr-1.5 hidden flex-shrink-0 flex-grow-0 transition-none group-hover:flex aria-expanded:flex', {
22320
+ className: cn('-mr-1.5 hidden flex-shrink-0 flex-grow-0 transition-none group-hover:flex aria-expanded:flex', {
22317
22321
  'absolute right-0 !mr-0.5': total !== undefined
22318
22322
  }),
22319
22323
  menu: menu,
@@ -22322,7 +22326,7 @@ const Link$3 = /*#__PURE__*/React__default.forwardRef(function Link(props, ref)
22322
22326
  event.stopPropagation();
22323
22327
  }
22324
22328
  })) : null, total !== undefined ? (/*#__PURE__*/React__default.createElement(Badge, {
22325
- className: cn__default('flex-shrink-0 flex-grow-0 !font-normal', {
22329
+ className: cn('flex-shrink-0 flex-grow-0 !font-normal', {
22326
22330
  'group-hover:hidden [[aria-expanded="true"]+&]:hidden ': menu
22327
22331
  }),
22328
22332
  color: "transparent"
@@ -22335,7 +22339,7 @@ const Section = /*#__PURE__*/React__default.forwardRef(function Navigation2(prop
22335
22339
  heading,
22336
22340
  ...attributes
22337
22341
  } = props;
22338
- const className = cn__default('w-full overflow-auto px-3 py-2 flex-grow border-grey-200 bg-grey-50 [[role=menubar]>&:first-child]:pt-0', getAdjacentClasses(), props.className);
22342
+ const className = cn('w-full overflow-auto px-3 py-2 flex-grow border-grey-200 bg-grey-50 [[role=menubar]>&:first-child]:pt-0', getAdjacentClasses(), props.className);
22339
22343
  return /*#__PURE__*/React__default.createElement("li", Object.assign({}, attributes, {
22340
22344
  className: className,
22341
22345
  "data-taco": "navigation2-section",
@@ -22353,7 +22357,7 @@ const Content$a = /*#__PURE__*/React__default.forwardRef(function Navigation2(pr
22353
22357
  children,
22354
22358
  ...attributes
22355
22359
  } = props;
22356
- const className = cn__default('w-full overflow-auto p-3 mt-auto border-grey-200 flex-shrink-0 z-10 bg-grey-50 [[role=menubar]>&:last-child]:pb-0', getAdjacentClasses(), props.className);
22360
+ const className = cn('w-full overflow-auto p-3 mt-auto border-grey-200 flex-shrink-0 z-10 bg-grey-50 [[role=menubar]>&:last-child]:pb-0', getAdjacentClasses(), props.className);
22357
22361
  return /*#__PURE__*/React__default.createElement("li", Object.assign({}, attributes, {
22358
22362
  className: className,
22359
22363
  "data-taco": "navigation2-content",
@@ -22367,7 +22371,7 @@ const Navigation2 = /*#__PURE__*/React__default.forwardRef(function Navigation2(
22367
22371
  children,
22368
22372
  ...attributes
22369
22373
  } = props;
22370
- const className = cn__default('m-0 py-2 flex flex-col gap-y-px overflow-auto h-full w-full bg-grey-50', props.className);
22374
+ const className = cn('m-0 py-2 flex flex-col gap-y-px overflow-auto h-full w-full bg-grey-50', props.className);
22371
22375
  return /*#__PURE__*/React__default.createElement("ul", Object.assign({}, attributes, {
22372
22376
  className: className,
22373
22377
  "data-taco": "navigation2",