@economic/taco 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/esm/_virtual/_rollupPluginBabelHelpers.js +18 -1
  2. package/dist/esm/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  3. package/dist/esm/components/Button/Button.js +13 -12
  4. package/dist/esm/components/Button/Button.js.map +1 -1
  5. package/dist/esm/components/Calendar/Calendar.js +71 -56
  6. package/dist/esm/components/Calendar/Calendar.js.map +1 -1
  7. package/dist/esm/components/Card/Card.js +15 -13
  8. package/dist/esm/components/Card/Card.js.map +1 -1
  9. package/dist/esm/components/Checkbox/Checkbox.js +18 -15
  10. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  11. package/dist/esm/components/Combobox/Combobox.js +26 -23
  12. package/dist/esm/components/Combobox/Combobox.js.map +1 -1
  13. package/dist/esm/components/Datepicker/Datepicker.js +52 -48
  14. package/dist/esm/components/Datepicker/Datepicker.js.map +1 -1
  15. package/dist/esm/components/Dialog/Dialog.js +58 -39
  16. package/dist/esm/components/Dialog/Dialog.js.map +1 -1
  17. package/dist/esm/components/Dialog/components/Trigger.js +1 -1
  18. package/dist/esm/components/Dialog/components/Trigger.js.map +1 -1
  19. package/dist/esm/components/Field/Field.js +12 -10
  20. package/dist/esm/components/Field/Field.js.map +1 -1
  21. package/dist/esm/components/Form/Form.js +8 -6
  22. package/dist/esm/components/Form/Form.js.map +1 -1
  23. package/dist/esm/components/Hanger/Hanger.js +36 -28
  24. package/dist/esm/components/Hanger/Hanger.js.map +1 -1
  25. package/dist/esm/components/Popover/Popover.js +1 -1
  26. package/dist/esm/components/Popover/Popover.js.map +1 -1
  27. package/dist/esm/components/SearchInput/SearchInput.js +3 -0
  28. package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
  29. package/dist/esm/index.js +3 -0
  30. package/dist/esm/index.js.map +1 -1
  31. package/dist/esm/utils/hooks/useDropTarget.js +10 -7
  32. package/dist/esm/utils/hooks/useDropTarget.js.map +1 -1
  33. package/dist/esm/utils/hooks/useProxiedRef.js +3 -3
  34. package/dist/esm/utils/hooks/useProxiedRef.js.map +1 -1
  35. package/dist/esm/utils/mergeRefs.js +3 -3
  36. package/dist/esm/utils/mergeRefs.js.map +1 -1
  37. package/dist/index.d.ts +4 -1
  38. package/dist/taco.cjs.development.js +350 -281
  39. package/dist/taco.cjs.development.js.map +1 -1
  40. package/dist/taco.cjs.production.min.js +1 -1
  41. package/dist/taco.cjs.production.min.js.map +1 -1
  42. package/dist/utils/mergeRefs.d.ts +1 -1
  43. package/dist/utils/tailwind.d.ts +1 -1
  44. package/package.json +3 -4
  45. package/tailwind.config.js +9 -0
@@ -38,6 +38,23 @@ var PrimitiveSwitch = require('@radix-ui/react-switch');
38
38
  var Joyride = require('react-joyride');
39
39
  var Joyride__default = _interopDefault(Joyride);
40
40
 
41
+ function _extends() {
42
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
43
+ for (var i = 1; i < arguments.length; i++) {
44
+ var source = arguments[i];
45
+
46
+ for (var key in source) {
47
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
48
+ target[key] = source[key];
49
+ }
50
+ }
51
+ }
52
+
53
+ return target;
54
+ };
55
+ return _extends.apply(this, arguments);
56
+ }
57
+
41
58
  function _objectWithoutPropertiesLoose(source, excluded) {
42
59
  if (source == null) return {};
43
60
  var target = {};
@@ -3347,20 +3364,19 @@ const getOutlineClasses = state => {
3347
3364
  }
3348
3365
  };
3349
3366
 
3350
- const Badge = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {
3351
- const {
3352
- children,
3353
- compact = false,
3354
- outline = false,
3355
- state,
3356
- ...otherProps
3357
- } = props;
3358
- const className = cn('rounded-full border font-bold text-xs uppercase overflow-hidden whitespace-nowrap inline-flex items-center justify-center h-5', {
3359
- [getOutlineClasses(state)]: outline,
3360
- [`border-transparent ${getStateClasses(state)}`]: !outline,
3361
- 'h-2 w-2 min-w-0': compact,
3362
- 'h-5 py-0 px-1.5': !compact
3363
- }, props.className);
3367
+ var _excluded$1 = ["children", "compact", "outline", "state"];
3368
+ var Badge = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {
3369
+ var _cn;
3370
+
3371
+ var children = props.children,
3372
+ _props$compact = props.compact,
3373
+ compact = _props$compact === void 0 ? false : _props$compact,
3374
+ _props$outline = props.outline,
3375
+ outline = _props$outline === void 0 ? false : _props$outline,
3376
+ state = props.state,
3377
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$1);
3378
+
3379
+ var className = cn('rounded-full border font-bold text-xs uppercase overflow-hidden whitespace-nowrap inline-flex items-center justify-center h-5', (_cn = {}, _cn[getOutlineClasses(state)] = outline, _cn["border-transparent " + getStateClasses(state)] = !outline, _cn['h-2 w-2 min-w-0'] = compact, _cn['h-5 py-0 px-1.5'] = !compact, _cn), props.className);
3364
3380
  return React.createElement("span", Object.assign({}, otherProps, {
3365
3381
  "aria-atomic": "true",
3366
3382
  "aria-live": "polite",
@@ -3561,32 +3577,32 @@ var Banner = /*#__PURE__*/React.forwardRef(function Banner(props, ref) {
3561
3577
  }) : null);
3562
3578
  });
3563
3579
 
3564
- const Button$1 = /*#__PURE__*/React.forwardRef(function Button(props, ref) {
3565
- const {
3566
- fluid,
3567
- ...otherProps
3568
- } = props;
3569
- const className = cn(getButtonClasses(), getAppearanceClasses(otherProps.appearance), 'rounded px-3', {
3580
+ var _excluded$2 = ["fluid"];
3581
+ var Button$1 = /*#__PURE__*/React.forwardRef(function Button(props, ref) {
3582
+ var fluid = props.fluid,
3583
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$2);
3584
+
3585
+ var className = cn(getButtonClasses(), getAppearanceClasses(otherProps.appearance), 'rounded px-3', {
3570
3586
  'cursor-not-allowed opacity-50': props.disabled,
3571
3587
  'focus:yt-focus active:focus:yt-focus': !props.disabled,
3572
3588
  'w-full': fluid
3573
3589
  }, props.className);
3574
- let children = otherProps.children; // add a chevron icon to menu buttons
3590
+ var children = otherProps.children; // add a chevron icon to menu buttons
3575
3591
 
3576
3592
  if (typeof otherProps.menu === 'function') {
3577
- children = Array.isArray(children) ? [...children, React.createElement(Icon, {
3593
+ children = Array.isArray(children) ? [].concat(children, [React.createElement(Icon, {
3578
3594
  key: "chevron-down",
3579
3595
  name: "chevron-down"
3580
- })] : [children, React.createElement(Icon, {
3596
+ })]) : [children, React.createElement(Icon, {
3581
3597
  key: "chevron-down",
3582
3598
  name: "chevron-down"
3583
3599
  })];
3584
3600
  }
3585
3601
 
3586
- return createButton({ ...otherProps,
3587
- children,
3602
+ return createButton(_extends({}, otherProps, {
3603
+ children: children,
3588
3604
  'data-taco': 'button'
3589
- }, className, ref);
3605
+ }), className, ref);
3590
3606
  });
3591
3607
 
3592
3608
  function useTimer(duration = 0, callback) {
@@ -4042,37 +4058,37 @@ const Provider = props => {
4042
4058
  const useTaco = () => React.useContext(Context);
4043
4059
  const useLocalization = () => useTaco().localization;
4044
4060
 
4045
- const renderDay = (day, modifiers) => modifiers.disabled ? React.createElement("span", {
4046
- className: "dot"
4047
- }) : day.getDate();
4061
+ var _excluded$3 = ["onChange", "value"];
4062
+
4063
+ var renderDay = function renderDay(day, modifiers) {
4064
+ return modifiers.disabled ? React.createElement("span", {
4065
+ className: "dot"
4066
+ }) : day.getDate();
4067
+ };
4048
4068
 
4049
- const thisYear = /*#__PURE__*/new Date().getFullYear();
4050
- const years = [];
4069
+ var thisYear = /*#__PURE__*/new Date().getFullYear();
4070
+ var years = [];
4051
4071
 
4052
- for (let i = thisYear - 10; i <= thisYear + 10; i += 1) {
4072
+ for (var i = thisYear - 10; i <= thisYear + 10; i += 1) {
4053
4073
  years.push(i);
4054
4074
  }
4055
4075
 
4056
- const Navbar = /*#__PURE__*/React.memo(({
4057
- onMonthChange,
4058
- onNextClick,
4059
- onPreviousClick,
4060
- value = new Date()
4061
- }) => {
4062
- const {
4063
- texts: {
4064
- calendar: {
4065
- actions,
4066
- months
4067
- }
4068
- }
4069
- } = useLocalization();
4076
+ var Navbar = /*#__PURE__*/React.memo(function (_ref) {
4077
+ var onMonthChange = _ref.onMonthChange,
4078
+ onNextClick = _ref.onNextClick,
4079
+ onPreviousClick = _ref.onPreviousClick,
4080
+ _ref$value = _ref.value,
4081
+ value = _ref$value === void 0 ? new Date() : _ref$value;
4070
4082
 
4071
- const handleChange = function handleChange(event) {
4072
- const {
4073
- year,
4074
- month
4075
- } = event.target.form;
4083
+ var _useLocalization = useLocalization(),
4084
+ _useLocalization$text = _useLocalization.texts.calendar,
4085
+ actions = _useLocalization$text.actions,
4086
+ months = _useLocalization$text.months;
4087
+
4088
+ var handleChange = function handleChange(event) {
4089
+ var _event$target$form = event.target.form,
4090
+ year = _event$target$form.year,
4091
+ month = _event$target$form.month;
4076
4092
  onMonthChange(new Date(year.value, month.value));
4077
4093
  };
4078
4094
 
@@ -4085,49 +4101,59 @@ const Navbar = /*#__PURE__*/React.memo(({
4085
4101
  name: "month",
4086
4102
  onChange: handleChange,
4087
4103
  value: value.getMonth()
4088
- }, months.map((month, i) => React.createElement("option", {
4089
- key: month,
4090
- value: i
4091
- }, month))), React.createElement("select", {
4104
+ }, months.map(function (month, i) {
4105
+ return React.createElement("option", {
4106
+ key: month,
4107
+ value: i
4108
+ }, month);
4109
+ })), React.createElement("select", {
4092
4110
  className: "h-8 px-2",
4093
4111
  name: "year",
4094
4112
  onChange: handleChange,
4095
4113
  value: value.getFullYear()
4096
- }, years.map(year => React.createElement("option", {
4097
- key: year,
4098
- value: year
4099
- }, String(year))))), React.createElement("div", null, React.createElement(IconButton, {
4114
+ }, years.map(function (year) {
4115
+ return React.createElement("option", {
4116
+ key: year,
4117
+ value: year
4118
+ }, String(year));
4119
+ }))), React.createElement("div", null, React.createElement(IconButton, {
4100
4120
  appearance: "discrete",
4101
4121
  icon: "chevron-left",
4102
4122
  "aria-label": actions.previousMonth,
4103
- onClick: () => onPreviousClick(),
4123
+ onClick: function onClick() {
4124
+ return onPreviousClick();
4125
+ },
4104
4126
  rounded: true
4105
4127
  }), React.createElement(IconButton, {
4106
4128
  appearance: "discrete",
4107
4129
  icon: "chevron-right",
4108
4130
  "aria-label": actions.nextMonth,
4109
- onClick: () => onNextClick(),
4131
+ onClick: function onClick() {
4132
+ return onNextClick();
4133
+ },
4110
4134
  rounded: true
4111
4135
  })));
4112
4136
  });
4113
- const Calendar$1 = /*#__PURE__*/React.forwardRef(function Calendar(props, ref) {
4114
- const {
4115
- onChange: handleChange,
4116
- value,
4117
- ...otherProps
4118
- } = props;
4119
- const {
4120
- locale,
4121
- texts
4122
- } = useLocalization();
4123
- const [visibleMonth, setVisibleMonth] = React.useState(value !== null && value !== void 0 ? value : new Date());
4124
- React.useEffect(() => {
4137
+ var Calendar$1 = /*#__PURE__*/React.forwardRef(function Calendar(props, ref) {
4138
+ var handleChange = props.onChange,
4139
+ value = props.value,
4140
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$3);
4141
+
4142
+ var _useLocalization2 = useLocalization(),
4143
+ locale = _useLocalization2.locale,
4144
+ texts = _useLocalization2.texts;
4145
+
4146
+ var _React$useState = React.useState(value !== null && value !== void 0 ? value : new Date()),
4147
+ visibleMonth = _React$useState[0],
4148
+ setVisibleMonth = _React$useState[1];
4149
+
4150
+ React.useEffect(function () {
4125
4151
  if (visibleMonth !== value) {
4126
4152
  setVisibleMonth(value !== null && value !== void 0 ? value : new Date());
4127
4153
  }
4128
4154
  }, [value]);
4129
4155
 
4130
- const handleDayClick = (date, modifiers, event) => {
4156
+ var handleDayClick = function handleDayClick(date, modifiers, event) {
4131
4157
  if (modifiers.outside || modifiers.disabled) {
4132
4158
  return;
4133
4159
  }
@@ -4135,8 +4161,8 @@ const Calendar$1 = /*#__PURE__*/React.forwardRef(function Calendar(props, ref) {
4135
4161
  handleChange(date, event);
4136
4162
  };
4137
4163
 
4138
- const handleCalendarClickToday = () => {
4139
- const today = new Date(); // set to midday to avoid UTC offset causing dates to be mismatched server side
4164
+ var handleCalendarClickToday = function handleCalendarClickToday() {
4165
+ var today = new Date(); // set to midday to avoid UTC offset causing dates to be mismatched server side
4140
4166
 
4141
4167
  today.setHours(12);
4142
4168
  today.setMinutes(0);
@@ -4144,7 +4170,7 @@ const Calendar$1 = /*#__PURE__*/React.forwardRef(function Calendar(props, ref) {
4144
4170
  handleChange(today);
4145
4171
  };
4146
4172
 
4147
- const className = cn('flex bg-white text-xs p-4', otherProps.className);
4173
+ var className = cn('flex bg-white text-xs p-4', otherProps.className);
4148
4174
  return React.createElement("div", {
4149
4175
  "data-taco": "calendar"
4150
4176
  }, React.createElement(ReactDayPicker, Object.assign({}, otherProps, {
@@ -4155,14 +4181,18 @@ const Calendar$1 = /*#__PURE__*/React.forwardRef(function Calendar(props, ref) {
4155
4181
  firstDayOfWeek: 1,
4156
4182
  months: texts.calendar.months,
4157
4183
  weekdaysShort: texts.calendar.weekdaysShort,
4158
- navbarElement: navProps => React.createElement(Navbar, Object.assign({}, navProps, {
4159
- onMonthChange: setVisibleMonth,
4160
- value: visibleMonth
4161
- })),
4184
+ navbarElement: function navbarElement(navProps) {
4185
+ return React.createElement(Navbar, Object.assign({}, navProps, {
4186
+ onMonthChange: setVisibleMonth,
4187
+ value: visibleMonth
4188
+ }));
4189
+ },
4162
4190
  onDayClick: handleDayClick,
4163
4191
  onMonthChange: setVisibleMonth,
4164
4192
  onTodayButtonClick: handleCalendarClickToday,
4165
- captionElement: () => null,
4193
+ captionElement: function captionElement() {
4194
+ return null;
4195
+ },
4166
4196
  todayButton: texts.calendar.actions.today,
4167
4197
  showOutsideDays: true,
4168
4198
  renderDay: renderDay,
@@ -4171,30 +4201,32 @@ const Calendar$1 = /*#__PURE__*/React.forwardRef(function Calendar(props, ref) {
4171
4201
  })));
4172
4202
  });
4173
4203
 
4174
- const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
4175
- const {
4176
- checked,
4177
- highlighted,
4178
- indeterminate,
4179
- invalid,
4180
- label,
4181
- onChange,
4182
- ...otherProps
4183
- } = props;
4184
- const className = cn('bg-white h-5 w-5 border rounded text-sm flex-shrink-0 self-start mt-[0.1rem] focus:yt-focus', //hover:shadow-[0_0_0_1px_rgba(235,235,235,1)]
4204
+ var _excluded$4 = ["checked", "highlighted", "indeterminate", "invalid", "label", "onChange"];
4205
+ var Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
4206
+ var checked = props.checked,
4207
+ highlighted = props.highlighted,
4208
+ indeterminate = props.indeterminate,
4209
+ invalid = props.invalid,
4210
+ label = props.label,
4211
+ onChange = props.onChange,
4212
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$4);
4213
+
4214
+ var className = cn('bg-white h-5 w-5 border rounded text-sm flex-shrink-0 self-start mt-[0.1rem] focus:yt-focus', //hover:shadow-[0_0_0_1px_rgba(235,235,235,1)]
4185
4215
  props.className, {
4186
4216
  'border-grey-dark text-blue hover:text-blue-light focus:border-blue focus:hover:border-blue-light': !props.disabled && !invalid,
4187
4217
  'border-grey text-blue-light cursor-not-allowed': props.disabled,
4188
4218
  'bg-[rgba(255,255,0,0.2)] disabled:bg-[rgba(255,255,0,0.075)]': highlighted,
4189
4219
  'border-red text-red hover:text-red-light hover:border-red-light focus:border-red focus:hover:border-red-light': invalid && !props.disabled
4190
4220
  });
4191
- let handleChange;
4221
+ var handleChange;
4192
4222
 
4193
4223
  if (onChange) {
4194
- handleChange = checked => onChange(checked === 'indeterminate' ? false : checked);
4224
+ handleChange = function handleChange(checked) {
4225
+ return onChange(checked === 'indeterminate' ? false : checked);
4226
+ };
4195
4227
  }
4196
4228
 
4197
- const element = React.createElement(CheckboxPrimitive.Root, Object.assign({}, otherProps, {
4229
+ var element = React.createElement(CheckboxPrimitive.Root, Object.assign({}, otherProps, {
4198
4230
  "data-taco": "checkbox",
4199
4231
  checked: indeterminate ? 'indeterminate' : checked,
4200
4232
  className: className,
@@ -4208,7 +4240,7 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
4208
4240
  })));
4209
4241
 
4210
4242
  if (label) {
4211
- const labelClassName = cn('flex items-center cursor-pointer gap-2', {
4243
+ var labelClassName = cn('flex items-center cursor-pointer gap-2', {
4212
4244
  'cursor-not-allowed text-grey-dark': props.disabled
4213
4245
  }, props.className);
4214
4246
  return React.createElement("label", {
@@ -4219,9 +4251,9 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
4219
4251
  return element;
4220
4252
  });
4221
4253
 
4222
- const useProxiedRef = ref => {
4223
- const internalRef = React.useRef(null);
4224
- React.useEffect(() => {
4254
+ var useProxiedRef = function useProxiedRef(ref) {
4255
+ var internalRef = React.useRef(null);
4256
+ React.useEffect(function () {
4225
4257
  if (ref) {
4226
4258
  if (typeof ref === 'function') {
4227
4259
  ref(internalRef.current);
@@ -5089,26 +5121,27 @@ var useBoundingClientRectListener = function useBoundingClientRectListener(ref)
5089
5121
  return dimensions;
5090
5122
  };
5091
5123
 
5092
- const Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
5093
- const {
5094
- className: externalClassName,
5095
- dialog,
5096
- style,
5097
- ...otherProps
5098
- } = props;
5099
- const {
5100
- combobox,
5101
- button,
5102
- input,
5103
- popover,
5104
- list
5105
- } = useCombobox(otherProps, ref);
5106
- const internalRef = React.useRef(null);
5107
- const {
5108
- texts
5109
- } = useLocalization();
5110
- const selectDimensions = useBoundingClientRectListener(internalRef);
5111
- const className = cn('inline-flex relative', {
5124
+ var _excluded$5 = ["className", "dialog", "style"];
5125
+ var Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
5126
+ var externalClassName = props.className,
5127
+ dialog = props.dialog,
5128
+ style = props.style,
5129
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$5);
5130
+
5131
+ var _useCombobox = useCombobox(otherProps, ref),
5132
+ combobox = _useCombobox.combobox,
5133
+ button = _useCombobox.button,
5134
+ input = _useCombobox.input,
5135
+ popover = _useCombobox.popover,
5136
+ list = _useCombobox.list;
5137
+
5138
+ var internalRef = React.useRef(null);
5139
+
5140
+ var _useLocalization = useLocalization(),
5141
+ texts = _useLocalization.texts;
5142
+
5143
+ var selectDimensions = useBoundingClientRectListener(internalRef);
5144
+ var className = cn('inline-flex relative', {
5112
5145
  'yt-combobox--inline': props.inline
5113
5146
  }, externalClassName);
5114
5147
  return React.createElement("span", {
@@ -5127,7 +5160,7 @@ const Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
5127
5160
  appearance: "discrete",
5128
5161
  className: "!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",
5129
5162
  icon: popover.open ? 'chevron-up' : 'chevron-down',
5130
- onClick: () => {
5163
+ onClick: function onClick() {
5131
5164
  var _input$ref$current;
5132
5165
 
5133
5166
  popover.onOpenChange(true);
@@ -5135,10 +5168,11 @@ const Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
5135
5168
  },
5136
5169
  tabIndex: -1
5137
5170
  }) : dialog ? React.createElement(IconButton, {
5171
+ "aria-label": texts.combobox.tooltip,
5138
5172
  icon: "list-search",
5139
5173
  disabled: props.readOnly || props.disabled,
5140
5174
  dialog: dialog,
5141
- onFocus: event => {
5175
+ onFocus: function onFocus(event) {
5142
5176
  var _input$ref$current2;
5143
5177
 
5144
5178
  // Prevents the default focus behaviour of showing the tooltip, on parent tooltip element
@@ -5151,7 +5185,7 @@ const Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
5151
5185
  }) : undefined
5152
5186
  })))), React.createElement(PopoverPrimitive.Content, {
5153
5187
  align: "start",
5154
- onOpenAutoFocus: event => {
5188
+ onOpenAutoFocus: function onOpenAutoFocus(event) {
5155
5189
  event.preventDefault();
5156
5190
  },
5157
5191
  sideOffset: 4
@@ -5374,8 +5408,8 @@ const UnstyledContent = /*#__PURE__*/React.forwardRef(function PopoverContent(pr
5374
5408
  });
5375
5409
 
5376
5410
  function mergeRefs(refs) {
5377
- return value => {
5378
- refs.forEach(ref => {
5411
+ return function (value) {
5412
+ refs.forEach(function (ref) {
5379
5413
  if (typeof ref === 'function') {
5380
5414
  ref(value);
5381
5415
  } else if (ref != null) {
@@ -5461,23 +5495,23 @@ Popover.Trigger = Trigger$1;
5461
5495
  Popover.Content = Content$1;
5462
5496
  Popover.Close = Close$1;
5463
5497
 
5464
- const Datepicker = /*#__PURE__*/React.forwardRef(function Datepicker(props, ref) {
5465
- const {
5466
- className: externalClassName,
5467
- onReset: handleReset,
5468
- style,
5469
- shortcuts,
5470
- shortcutsText,
5471
- ...otherProps
5472
- } = props;
5473
- const {
5474
- calendar,
5475
- input
5476
- } = useDatepicker(otherProps, ref);
5477
- const {
5478
- texts
5479
- } = useLocalization();
5480
- const className = cn('inline-flex w-full text-black font-normal', externalClassName);
5498
+ var _excluded$6 = ["className", "onReset", "style", "shortcuts", "shortcutsText"];
5499
+ var Datepicker = /*#__PURE__*/React.forwardRef(function Datepicker(props, ref) {
5500
+ var externalClassName = props.className,
5501
+ handleReset = props.onReset,
5502
+ style = props.style,
5503
+ shortcuts = props.shortcuts,
5504
+ shortcutsText = props.shortcutsText,
5505
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$6);
5506
+
5507
+ var _useDatepicker = useDatepicker(otherProps, ref),
5508
+ calendar = _useDatepicker.calendar,
5509
+ input = _useDatepicker.input;
5510
+
5511
+ var _useLocalization = useLocalization(),
5512
+ texts = _useLocalization.texts;
5513
+
5514
+ var className = cn('inline-flex w-full text-black font-normal', externalClassName);
5481
5515
  return React.createElement("span", {
5482
5516
  className: className,
5483
5517
  "data-taco": "datepicker",
@@ -5487,37 +5521,40 @@ const Datepicker = /*#__PURE__*/React.forwardRef(function Datepicker(props, ref)
5487
5521
  "aria-label": texts.datepicker.expand,
5488
5522
  disabled: input.disabled || input.readOnly,
5489
5523
  icon: "calendar"
5490
- })), React.createElement(Popover.Content, null, ({
5491
- close
5492
- }) => React.createElement("div", {
5493
- className: "-m-3 flex"
5494
- }, React.createElement(Calendar$1, Object.assign({}, calendar, {
5495
- onChange: (date, event) => {
5496
- calendar.onChange(date, event);
5497
- close();
5498
- },
5499
- tabIndex: -1
5500
- })), shortcuts && React.createElement("div", {
5501
- className: "border-grey-dark flex flex-col border-l"
5502
- }, React.createElement("span", {
5503
- className: "m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold"
5504
- }, shortcutsText !== null && shortcutsText !== void 0 ? shortcutsText : texts.datepicker.shortcuts), React.createElement("ul", null, shortcuts.map((shortcut, i) => React.createElement("li", {
5505
- key: i
5506
- }, React.createElement("button", {
5507
- className: "hover:bg-grey-light flex w-full items-start px-4 py-1 text-xs",
5508
- onClick: event => {
5509
- event.persist();
5510
- shortcut.onClick(event);
5511
- close();
5512
- }
5513
- }, shortcut.text)))), handleReset && React.createElement("button", {
5514
- className: "text-blue hover:text-blue-light my-4 mx-auto mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs",
5515
- onClick: event => {
5516
- event.persist();
5517
- handleReset(event);
5518
- close();
5519
- }
5520
- }, texts.datepicker.clear)))))
5524
+ })), React.createElement(Popover.Content, null, function (_ref) {
5525
+ var close = _ref.close;
5526
+ return React.createElement("div", {
5527
+ className: "-m-3 flex"
5528
+ }, React.createElement(Calendar$1, Object.assign({}, calendar, {
5529
+ onChange: function onChange(date, event) {
5530
+ calendar.onChange(date, event);
5531
+ close();
5532
+ },
5533
+ tabIndex: -1
5534
+ })), shortcuts && React.createElement("div", {
5535
+ className: "border-grey-dark flex flex-col border-l"
5536
+ }, React.createElement("span", {
5537
+ className: "m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold"
5538
+ }, shortcutsText !== null && shortcutsText !== void 0 ? shortcutsText : texts.datepicker.shortcuts), React.createElement("ul", null, shortcuts.map(function (shortcut, i) {
5539
+ return React.createElement("li", {
5540
+ key: i
5541
+ }, React.createElement("button", {
5542
+ className: "hover:bg-grey-light flex w-full items-start px-4 py-1 text-xs",
5543
+ onClick: function onClick(event) {
5544
+ event.persist();
5545
+ shortcut.onClick(event);
5546
+ close();
5547
+ }
5548
+ }, shortcut.text));
5549
+ })), handleReset && React.createElement("button", {
5550
+ className: "text-blue hover:text-blue-light my-4 mx-auto mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs",
5551
+ onClick: function onClick(event) {
5552
+ event.persist();
5553
+ handleReset(event);
5554
+ close();
5555
+ }
5556
+ }, texts.datepicker.clear)));
5557
+ }))
5521
5558
  })));
5522
5559
  });
5523
5560
 
@@ -5760,12 +5797,14 @@ const Extra = /*#__PURE__*/React.forwardRef(function DialogExtra(props, ref) {
5760
5797
  });
5761
5798
  Extra.displayName = 'DialogExtra';
5762
5799
 
5763
- const useSeparatedChildren = initialChildren => {
5764
- return React.useMemo(() => {
5765
- const children = [];
5766
- let drawer;
5767
- let extra;
5768
- React.Children.toArray(initialChildren).forEach(child => {
5800
+ var _excluded$7 = ["children", "closeOnEscape", "defaultOpen", "draggable", "onChange", "onClose", "open", "showCloseButton", "size", "trigger"];
5801
+
5802
+ var useSeparatedChildren = function useSeparatedChildren(initialChildren) {
5803
+ return React.useMemo(function () {
5804
+ var children = [];
5805
+ var drawer;
5806
+ var extra;
5807
+ React.Children.toArray(initialChildren).forEach(function (child) {
5769
5808
  var _child$type, _child$type2;
5770
5809
 
5771
5810
  if (((_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.displayName) === Drawer.displayName) {
@@ -5780,39 +5819,55 @@ const useSeparatedChildren = initialChildren => {
5780
5819
  }, [initialChildren]);
5781
5820
  };
5782
5821
 
5783
- const Dialog = /*#__PURE__*/React.forwardRef(function Dialog(props, ref) {
5784
- const {
5785
- children: initialChildren,
5786
- closeOnEscape = true,
5787
- defaultOpen,
5788
- draggable = false,
5789
- onChange,
5790
- onClose,
5791
- open,
5792
- showCloseButton = true,
5793
- size = 'sm',
5794
- trigger,
5795
- ...otherProps
5796
- } = props;
5797
- const [children, drawer, extra] = useSeparatedChildren(initialChildren);
5798
- const [drawerOpen, setDrawerOpen] = React.useState(false);
5799
- const context = React.useMemo(() => ({
5800
- closeOnEscape,
5801
- draggable,
5802
- drawer: {
5803
- open: drawerOpen,
5804
- toggle: () => setDrawerOpen(isDrawerOpen => !isDrawerOpen)
5805
- },
5806
- elements: {
5807
- drawer,
5808
- extra
5809
- },
5810
- onClose,
5811
- props: otherProps,
5812
- showCloseButton,
5813
- size,
5814
- ref
5815
- }), [closeOnEscape, drawerOpen, draggable, drawer, extra, open, otherProps, showCloseButton]);
5822
+ var Dialog = /*#__PURE__*/React.forwardRef(function Dialog(props, ref) {
5823
+ var initialChildren = props.children,
5824
+ _props$closeOnEscape = props.closeOnEscape,
5825
+ closeOnEscape = _props$closeOnEscape === void 0 ? true : _props$closeOnEscape,
5826
+ defaultOpen = props.defaultOpen,
5827
+ _props$draggable = props.draggable,
5828
+ draggable = _props$draggable === void 0 ? false : _props$draggable,
5829
+ onChange = props.onChange,
5830
+ onClose = props.onClose,
5831
+ open = props.open,
5832
+ _props$showCloseButto = props.showCloseButton,
5833
+ showCloseButton = _props$showCloseButto === void 0 ? true : _props$showCloseButto,
5834
+ _props$size = props.size,
5835
+ size = _props$size === void 0 ? 'sm' : _props$size,
5836
+ trigger = props.trigger,
5837
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$7);
5838
+
5839
+ var _useSeparatedChildren = useSeparatedChildren(initialChildren),
5840
+ children = _useSeparatedChildren[0],
5841
+ drawer = _useSeparatedChildren[1],
5842
+ extra = _useSeparatedChildren[2];
5843
+
5844
+ var _React$useState = React.useState(false),
5845
+ drawerOpen = _React$useState[0],
5846
+ setDrawerOpen = _React$useState[1];
5847
+
5848
+ var context = React.useMemo(function () {
5849
+ return {
5850
+ closeOnEscape: closeOnEscape,
5851
+ draggable: draggable,
5852
+ drawer: {
5853
+ open: drawerOpen,
5854
+ toggle: function toggle() {
5855
+ return setDrawerOpen(function (isDrawerOpen) {
5856
+ return !isDrawerOpen;
5857
+ });
5858
+ }
5859
+ },
5860
+ elements: {
5861
+ drawer: drawer,
5862
+ extra: extra
5863
+ },
5864
+ onClose: onClose,
5865
+ props: otherProps,
5866
+ showCloseButton: showCloseButton,
5867
+ size: size,
5868
+ ref: ref
5869
+ };
5870
+ }, [closeOnEscape, drawerOpen, draggable, drawer, extra, open, otherProps, showCloseButton]);
5816
5871
  return React.createElement(DialogContext.Provider, {
5817
5872
  value: context
5818
5873
  }, React.createElement(DialogPrimitive.Root, {
@@ -5829,18 +5884,19 @@ Dialog.Extra = Extra;
5829
5884
  Dialog.Drawer = Drawer;
5830
5885
  Dialog.Close = Close$2;
5831
5886
 
5832
- const Field = /*#__PURE__*/React.forwardRef(function Field(props, ref) {
5833
- const {
5834
- disabled,
5835
- children,
5836
- invalid = false,
5837
- message,
5838
- ...otherProps
5839
- } = props;
5840
- const className = cn('flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]', {
5887
+ var _excluded$8 = ["disabled", "children", "invalid", "message"];
5888
+ var Field = /*#__PURE__*/React.forwardRef(function Field(props, ref) {
5889
+ var disabled = props.disabled,
5890
+ children = props.children,
5891
+ _props$invalid = props.invalid,
5892
+ invalid = _props$invalid === void 0 ? false : _props$invalid,
5893
+ message = props.message,
5894
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$8);
5895
+
5896
+ var className = cn('flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]', {
5841
5897
  'text-grey-dark': disabled
5842
5898
  }, props.className);
5843
- const messageClassName = cn('h-4 text-xs text-left leading-normal font-normal truncate -mb-4', {
5899
+ var messageClassName = cn('h-4 text-xs text-left leading-normal font-normal truncate -mb-4', {
5844
5900
  'text-grey-darkest': !invalid,
5845
5901
  'text-red': invalid,
5846
5902
  'opacity-50': disabled
@@ -5855,12 +5911,13 @@ const Field = /*#__PURE__*/React.forwardRef(function Field(props, ref) {
5855
5911
  }, message));
5856
5912
  });
5857
5913
 
5858
- const Form = /*#__PURE__*/React.forwardRef(function Form(props, ref) {
5859
- const {
5860
- horizontal = false,
5861
- ...otherProps
5862
- } = props;
5863
- const className = cn('yt-form', {
5914
+ var _excluded$9 = ["horizontal"];
5915
+ var Form = /*#__PURE__*/React.forwardRef(function Form(props, ref) {
5916
+ var _props$horizontal = props.horizontal,
5917
+ horizontal = _props$horizontal === void 0 ? false : _props$horizontal,
5918
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$9);
5919
+
5920
+ var className = cn('yt-form', {
5864
5921
  'yt-form--horizontal flex flex-wrap': horizontal
5865
5922
  }, props.className);
5866
5923
  return React.createElement("form", Object.assign({}, otherProps, {
@@ -5870,12 +5927,13 @@ const Form = /*#__PURE__*/React.forwardRef(function Form(props, ref) {
5870
5927
  }));
5871
5928
  });
5872
5929
 
5873
- const Group = /*#__PURE__*/React.forwardRef(function Group(props, ref) {
5874
- const {
5875
- as: Tag = 'span',
5876
- ...otherProps
5877
- } = props;
5878
- const className = cn('flex ', props.className);
5930
+ var _excluded$a = ["as"];
5931
+ var Group = /*#__PURE__*/React.forwardRef(function Group(props, ref) {
5932
+ var _props$as = props.as,
5933
+ Tag = _props$as === void 0 ? 'span' : _props$as,
5934
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$a);
5935
+
5936
+ var className = cn('flex ', props.className);
5879
5937
  return React.createElement(Tag, Object.assign({}, otherProps, {
5880
5938
  className: className,
5881
5939
  "data-taco": "group",
@@ -5883,18 +5941,19 @@ const Group = /*#__PURE__*/React.forwardRef(function Group(props, ref) {
5883
5941
  }));
5884
5942
  });
5885
5943
 
5886
- const HangerContext = /*#__PURE__*/React.createContext({
5944
+ var _excluded$b = ["anchor", "children", "defaultOpen"];
5945
+ var HangerContext = /*#__PURE__*/React.createContext({
5887
5946
  props: {},
5888
5947
  ref: null
5889
5948
  });
5890
- const Anchor = /*#__PURE__*/React.forwardRef(function HangerAnchor(props, ref) {
5949
+ var Anchor = /*#__PURE__*/React.forwardRef(function HangerAnchor(props, ref) {
5891
5950
  var _props$children;
5892
5951
 
5893
- const context = React.useContext(HangerContext);
5894
- let children = props.children;
5952
+ var context = React.useContext(HangerContext);
5953
+ var children = props.children;
5895
5954
 
5896
5955
  if (React.isValidElement(props.children) && typeof ((_props$children = props.children) === null || _props$children === void 0 ? void 0 : _props$children.type) === 'function') {
5897
- console.warn(`Hanger.Anchor requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${props.children.type.name}' in React.forwardRef()? Taco has wrapped '${props.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`);
5956
+ console.warn("Hanger.Anchor requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '" + props.children.type.name + "' in React.forwardRef()? Taco has wrapped '" + props.children.type.name + "' in a 'span' to maintain functionality, but this may cause unintended behaviour");
5898
5957
  children = React.createElement("span", null, props.children);
5899
5958
  }
5900
5959
 
@@ -5904,21 +5963,22 @@ const Anchor = /*#__PURE__*/React.forwardRef(function HangerAnchor(props, ref) {
5904
5963
  asChild: true
5905
5964
  }));
5906
5965
  });
5907
- const Title$1 = /*#__PURE__*/React.forwardRef(function DialogTitle(props, ref) {
5908
- const className = cn('mb-1 text-base font-bold flex w-full', props.className);
5966
+ var Title$1 = /*#__PURE__*/React.forwardRef(function DialogTitle(props, ref) {
5967
+ var className = cn('mb-1 text-base font-bold flex w-full', props.className);
5909
5968
  return React.createElement("span", Object.assign({}, props, {
5910
5969
  className: className,
5911
5970
  ref: ref
5912
5971
  }));
5913
5972
  });
5914
- const Content$3 = /*#__PURE__*/React.forwardRef(function HangerContent(props, ref) {
5915
- const context = React.useContext(HangerContext);
5916
- const {
5917
- texts
5918
- } = useLocalization();
5919
- const className = cn('wcag-blue border border-transparent rounded p-3 pr-12 yt-shadow z-[996] focus:border-transparent max-w-sm', props.className);
5973
+ var Content$3 = /*#__PURE__*/React.forwardRef(function HangerContent(props, ref) {
5974
+ var context = React.useContext(HangerContext);
5975
+
5976
+ var _useLocalization = useLocalization(),
5977
+ texts = _useLocalization.texts;
5920
5978
 
5921
- const handleInteractOutside = event => {
5979
+ var className = cn('wcag-blue border border-transparent rounded p-3 pr-12 yt-shadow z-[996] focus:border-transparent max-w-sm', props.className);
5980
+
5981
+ var handleInteractOutside = function handleInteractOutside(event) {
5922
5982
  event.preventDefault();
5923
5983
  };
5924
5984
 
@@ -5940,20 +6000,25 @@ const Content$3 = /*#__PURE__*/React.forwardRef(function HangerContent(props, re
5940
6000
  onClick: context.props.onClose
5941
6001
  })));
5942
6002
  });
5943
- const Hanger = /*#__PURE__*/React.forwardRef(function Hanger(props, ref) {
5944
- const {
5945
- anchor,
5946
- children,
5947
- defaultOpen = true,
5948
- ...otherProps
5949
- } = props;
5950
- const context = React.useMemo(() => ({
5951
- props: otherProps,
5952
- ref
5953
- }), [otherProps]); // we do this to ensure hangers are mounted after their containers, e.g. if the container is another portal
6003
+ var Hanger = /*#__PURE__*/React.forwardRef(function Hanger(props, ref) {
6004
+ var anchor = props.anchor,
6005
+ children = props.children,
6006
+ _props$defaultOpen = props.defaultOpen,
6007
+ defaultOpen = _props$defaultOpen === void 0 ? true : _props$defaultOpen,
6008
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$b);
6009
+
6010
+ var context = React.useMemo(function () {
6011
+ return {
6012
+ props: otherProps,
6013
+ ref: ref
6014
+ };
6015
+ }, [otherProps]); // we do this to ensure hangers are mounted after their containers, e.g. if the container is another portal
5954
6016
 
5955
- const [open, setOpen] = React.useState(false);
5956
- React.useEffect(() => {
6017
+ var _React$useState = React.useState(false),
6018
+ open = _React$useState[0],
6019
+ setOpen = _React$useState[1];
6020
+
6021
+ React.useEffect(function () {
5957
6022
  if (defaultOpen) {
5958
6023
  setOpen(defaultOpen);
5959
6024
  }
@@ -6865,23 +6930,26 @@ const Treeview = /*#__PURE__*/React__default.forwardRef(function Treeview(props,
6865
6930
  Treeview.Group = TreeviewGroup;
6866
6931
  Treeview.Item = TreeviewItem;
6867
6932
 
6868
- const useDropTarget = onDrop => {
6869
- const [isDraggedOver, setDraggedOver] = React__default.useState(false);
6870
- const handleDragEnter = React__default.useCallback(event => {
6933
+ var useDropTarget = function useDropTarget(onDrop) {
6934
+ var _React$useState = React__default.useState(false),
6935
+ isDraggedOver = _React$useState[0],
6936
+ setDraggedOver = _React$useState[1];
6937
+
6938
+ var handleDragEnter = React__default.useCallback(function (event) {
6871
6939
  event.preventDefault();
6872
6940
  setDraggedOver(true);
6873
6941
  }, []);
6874
- const handleDragLeave = React__default.useCallback(event => {
6942
+ var handleDragLeave = React__default.useCallback(function (event) {
6875
6943
  event.preventDefault();
6876
6944
 
6877
6945
  if (event.target === event.currentTarget) {
6878
6946
  setDraggedOver(false);
6879
6947
  }
6880
6948
  }, []);
6881
- const handleDragOver = React__default.useCallback(event => {
6949
+ var handleDragOver = React__default.useCallback(function (event) {
6882
6950
  event.preventDefault();
6883
6951
  }, []);
6884
- const handleDrop = React__default.useCallback(event => {
6952
+ var handleDrop = React__default.useCallback(function (event) {
6885
6953
  event.preventDefault();
6886
6954
  event.persist();
6887
6955
  setDraggedOver(false);
@@ -6890,7 +6958,7 @@ const useDropTarget = onDrop => {
6890
6958
  onDrop(event);
6891
6959
  }
6892
6960
  }, [onDrop]);
6893
- const props = onDrop ? {
6961
+ var props = onDrop ? {
6894
6962
  onDragEnter: handleDragEnter,
6895
6963
  onDragLeave: handleDragLeave,
6896
6964
  onDragOver: handleDragOver,
@@ -9409,12 +9477,12 @@ var useOnClickOutside = function useOnClickOutside(ref, callback) {
9409
9477
  }, [ref, callback]);
9410
9478
  };
9411
9479
 
9412
- const Content$6 = /*#__PURE__*/React.forwardRef(function CardContent(externalProps, ref) {
9413
- const {
9414
- noPadding,
9415
- ...props
9416
- } = externalProps;
9417
- const className = cn('flex-grow overflow-auto', {
9480
+ var _excluded$c = ["noPadding"];
9481
+ var Content$6 = /*#__PURE__*/React.forwardRef(function CardContent(externalProps, ref) {
9482
+ var noPadding = externalProps.noPadding,
9483
+ props = _objectWithoutPropertiesLoose(externalProps, _excluded$c);
9484
+
9485
+ var className = cn('flex-grow overflow-auto', {
9418
9486
  'mx-4 mb-4': !noPadding
9419
9487
  }, props.className);
9420
9488
  return React.createElement("div", Object.assign({}, props, {
@@ -9422,13 +9490,11 @@ const Content$6 = /*#__PURE__*/React.forwardRef(function CardContent(externalPro
9422
9490
  ref: ref
9423
9491
  }));
9424
9492
  });
9425
- const Card = /*#__PURE__*/React.forwardRef(function Card(props, ref) {
9426
- const {
9427
- title,
9428
- menu,
9429
- children
9430
- } = props;
9431
- const className = cn('bg-white flex flex-col rounded-xl shadow-[0px_0px_1px_rgba(0,0,0,0.1),0px_6px_18px_rgba(47,51,68,0.2)]', props.className);
9493
+ var Card = /*#__PURE__*/React.forwardRef(function Card(props, ref) {
9494
+ var title = props.title,
9495
+ menu = props.menu,
9496
+ children = props.children;
9497
+ var className = cn('bg-white flex flex-col rounded-xl shadow-[0px_0px_1px_rgba(0,0,0,0.1),0px_6px_18px_rgba(47,51,68,0.2)]', props.className);
9432
9498
  return React.createElement("div", {
9433
9499
  className: className,
9434
9500
  "data-taco": "card",
@@ -9500,16 +9566,19 @@ exports.getParentRowIndexPath = getParentRowIndexPath;
9500
9566
  exports.getRadioGroupItemValueAsString = getRadioGroupItemValueAsString;
9501
9567
  exports.icons = icons;
9502
9568
  exports.insertChildTableRow = insertChildTableRow;
9569
+ exports.mergeRefs = mergeRefs;
9503
9570
  exports.parseFromCustomString = parseFromCustomString;
9504
9571
  exports.parseFromISOString = parseFromISOString;
9505
9572
  exports.removeChildTableRow = removeChildTableRow;
9506
9573
  exports.setByRowIndexPath = setByRowIndexPath;
9507
9574
  exports.useBoundingClientRectListener = useBoundingClientRectListener;
9575
+ exports.useDropTarget = useDropTarget;
9508
9576
  exports.useListKeyboardNavigation = useListKeyboardNavigation;
9509
9577
  exports.useListScrollTo = useListScrollTo;
9510
9578
  exports.useLocalization = useLocalization;
9511
9579
  exports.useOnClickOutside = useOnClickOutside;
9512
9580
  exports.usePagination = usePagination;
9581
+ exports.useProxiedRef = useProxiedRef;
9513
9582
  exports.useRadioGroup = useRadioGroup;
9514
9583
  exports.useTableRowCreation = useTableRowCreation;
9515
9584
  exports.useTaco = useTaco;