@economic/taco 1.0.1 → 1.0.4

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.
@@ -19,6 +19,7 @@ var debounce = _interopDefault(require('lodash/debounce'));
19
19
  var dateFns = require('date-fns');
20
20
  var DialogPrimitive = require('@radix-ui/react-dialog');
21
21
  var interactions = require('@react-aria/interactions');
22
+ var HoverCardPrimitive = require('@radix-ui/react-hover-card');
22
23
  var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
23
24
  var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
24
25
  var reactTable = require('react-table');
@@ -6116,10 +6117,36 @@ Hanger.Anchor = Anchor;
6116
6117
  Hanger.Content = Content$3;
6117
6118
  Hanger.Title = Title$1;
6118
6119
 
6119
- var _excluded$r = ["onSearch"];
6120
+ var _excluded$r = ["placement"];
6121
+ var Trigger$3 = /*#__PURE__*/React.forwardRef(function HoverCardTrigger(props, ref) {
6122
+ return React.createElement(HoverCardPrimitive.Trigger, Object.assign({}, props, {
6123
+ asChild: true,
6124
+ ref: ref
6125
+ }));
6126
+ });
6127
+ var Content$4 = /*#__PURE__*/React.forwardRef(function HoverCardContent(externalProps, ref) {
6128
+ var placement = externalProps.placement,
6129
+ props = _objectWithoutPropertiesLoose(externalProps, _excluded$r);
6130
+
6131
+ var className = cn('bg-white rounded p-3 yt-shadow', props.className);
6132
+ return React.createElement(HoverCardPrimitive.Content, Object.assign({}, props, {
6133
+ className: className,
6134
+ ref: ref,
6135
+ side: placement
6136
+ }));
6137
+ });
6138
+ var HoverCard = function HoverCard(props) {
6139
+ return React.createElement(HoverCardPrimitive.Root, Object.assign({}, props, {
6140
+ openDelay: 300
6141
+ }));
6142
+ };
6143
+ HoverCard.Trigger = Trigger$3;
6144
+ HoverCard.Content = Content$4;
6145
+
6146
+ var _excluded$s = ["onSearch"];
6120
6147
  var SearchInput = /*#__PURE__*/React.forwardRef(function SearchInput(_ref, ref) {
6121
6148
  var onSearch = _ref.onSearch,
6122
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
6149
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6123
6150
 
6124
6151
  var _useLocalization = useLocalization(),
6125
6152
  texts = _useLocalization.texts;
@@ -6131,11 +6158,15 @@ var SearchInput = /*#__PURE__*/React.forwardRef(function SearchInput(_ref, ref)
6131
6158
  };
6132
6159
 
6133
6160
  var handleKeyDown = function handleKeyDown(event) {
6161
+ var _props$onKeyDown;
6162
+
6134
6163
  var isEnterKeyPressed = event.keyCode === keycode('enter');
6135
6164
 
6136
6165
  if (isEnterKeyPressed) {
6137
6166
  handleClick();
6138
6167
  }
6168
+
6169
+ (_props$onKeyDown = props.onKeyDown) === null || _props$onKeyDown === void 0 ? void 0 : _props$onKeyDown.call(props, event);
6139
6170
  };
6140
6171
 
6141
6172
  return React.createElement(Input, Object.assign({
@@ -6174,7 +6205,7 @@ var useTypeahead = function useTypeahead(_ref) {
6174
6205
  };
6175
6206
  };
6176
6207
 
6177
- var _excluded$s = ["data", "defaultValue", "disabled", "emptyValue", "id", "invalid", "name", "onChange", "onFocus", "onKeyDown", "value"];
6208
+ var _excluded$t = ["data", "defaultValue", "disabled", "emptyValue", "id", "invalid", "name", "onChange", "onFocus", "onKeyDown", "value"];
6178
6209
  var useListbox = function useListbox(_ref, ref) {
6179
6210
  var _ref$data = _ref.data,
6180
6211
  externalData = _ref$data === void 0 ? [] : _ref$data,
@@ -6189,7 +6220,7 @@ var useListbox = function useListbox(_ref, ref) {
6189
6220
  onKeyDown = _ref.onKeyDown,
6190
6221
  _ref$value = _ref.value,
6191
6222
  value = _ref$value === void 0 ? emptyValue : _ref$value,
6192
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6223
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
6193
6224
 
6194
6225
  var data = useFlattenedData(emptyValue !== undefined ? [{
6195
6226
  text: '',
@@ -6319,7 +6350,7 @@ var useListbox = function useListbox(_ref, ref) {
6319
6350
  };
6320
6351
  };
6321
6352
 
6322
- var _excluded$t = ["data", "defaultValue", "disabled", "emptyValue", "id", "name", "onClick", "onChange", "onFocus", "onKeyDown", "value"];
6353
+ var _excluded$u = ["data", "defaultValue", "disabled", "emptyValue", "id", "name", "onClick", "onChange", "onFocus", "onKeyDown", "value"];
6323
6354
  var useMultiListbox = function useMultiListbox(_ref, ref) {
6324
6355
  var _ref$data = _ref.data,
6325
6356
  externalData = _ref$data === void 0 ? [] : _ref$data,
@@ -6332,7 +6363,7 @@ var useMultiListbox = function useMultiListbox(_ref, ref) {
6332
6363
  onFocus = _ref.onFocus,
6333
6364
  onKeyDown = _ref.onKeyDown,
6334
6365
  value = _ref.value,
6335
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
6366
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$u);
6336
6367
 
6337
6368
  var _useLocalization = useLocalization(),
6338
6369
  texts = _useLocalization.texts;
@@ -6531,11 +6562,11 @@ var useMultiListbox = function useMultiListbox(_ref, ref) {
6531
6562
  };
6532
6563
  };
6533
6564
 
6534
- var _excluded$u = ["className"],
6565
+ var _excluded$v = ["className"],
6535
6566
  _excluded2$2 = ["className"];
6536
6567
  var Listbox = /*#__PURE__*/React.forwardRef(function Listbox(props, ref) {
6537
6568
  var externalClassName = props.className,
6538
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$u);
6569
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$v);
6539
6570
 
6540
6571
  var _useListbox = useListbox(otherProps, ref),
6541
6572
  list = _useListbox.list,
@@ -6580,7 +6611,7 @@ var MultiListbox = /*#__PURE__*/React.forwardRef(function Listbox(props, ref) {
6580
6611
  })));
6581
6612
  });
6582
6613
 
6583
- var _excluded$v = ["children", "placement"];
6614
+ var _excluded$w = ["children", "placement"];
6584
6615
 
6585
6616
  var getAppearanceClasses$1 = function getAppearanceClasses(appearance) {
6586
6617
  switch (appearance) {
@@ -6602,13 +6633,13 @@ var getAppearanceClasses$1 = function getAppearanceClasses(appearance) {
6602
6633
  }
6603
6634
  };
6604
6635
 
6605
- var Content$4 = /*#__PURE__*/React.forwardRef(function MenuContent(props, ref) {
6636
+ var Content$5 = /*#__PURE__*/React.forwardRef(function MenuContent(props, ref) {
6606
6637
  var internalRef = useProxiedRef(ref);
6607
6638
  var menu = useCurrentMenu();
6608
6639
 
6609
6640
  var children = props.children,
6610
6641
  side = props.placement,
6611
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$v);
6642
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$w);
6612
6643
 
6613
6644
  var className = cn('border rounded block outline-none p-1', getAppearanceClasses$1(menu === null || menu === void 0 ? void 0 : menu.appearance), props.className);
6614
6645
  return React.createElement(DropdownMenuPrimitive.Content, Object.assign({}, otherProps, {
@@ -6624,7 +6655,7 @@ var Content$4 = /*#__PURE__*/React.forwardRef(function MenuContent(props, ref) {
6624
6655
  }), children);
6625
6656
  });
6626
6657
 
6627
- var _excluded$w = ["dialog", "icon", "onClick", "shortcut"];
6658
+ var _excluded$x = ["dialog", "icon", "onClick", "shortcut"];
6628
6659
  var Icon$1 = function Icon$1(_ref) {
6629
6660
  var name = _ref.name;
6630
6661
  return React.createElement("span", {
@@ -6711,7 +6742,7 @@ var Item$1 = /*#__PURE__*/React.forwardRef(function MenuItem(props, ref) {
6711
6742
  icon = props.icon,
6712
6743
  onClick = props.onClick,
6713
6744
  shortcut = props.shortcut,
6714
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$w);
6745
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$x);
6715
6746
 
6716
6747
  var className = useItemStyling({
6717
6748
  disabled: props.disabled,
@@ -6756,12 +6787,12 @@ var Item$1 = /*#__PURE__*/React.forwardRef(function MenuItem(props, ref) {
6756
6787
  return button;
6757
6788
  });
6758
6789
 
6759
- var _excluded$x = ["href", "icon", "onClick"];
6790
+ var _excluded$y = ["href", "icon", "onClick"];
6760
6791
  var Link = /*#__PURE__*/React.forwardRef(function MenuLink(props, ref) {
6761
6792
  var href = props.href,
6762
6793
  icon = props.icon,
6763
6794
  onClick = props.onClick,
6764
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$x);
6795
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$y);
6765
6796
 
6766
6797
  var menu = useCurrentMenu();
6767
6798
  var className = useItemStyling({
@@ -6788,7 +6819,7 @@ var Link = /*#__PURE__*/React.forwardRef(function MenuLink(props, ref) {
6788
6819
  }), props.children));
6789
6820
  });
6790
6821
 
6791
- var Trigger$3 = /*#__PURE__*/React.forwardRef(function MenuTrigger(props, ref) {
6822
+ var Trigger$4 = /*#__PURE__*/React.forwardRef(function MenuTrigger(props, ref) {
6792
6823
  var _props$children3, _props$children3$prop;
6793
6824
 
6794
6825
  var menu = useCurrentMenu();
@@ -6814,12 +6845,12 @@ var Trigger$3 = /*#__PURE__*/React.forwardRef(function MenuTrigger(props, ref) {
6814
6845
  }));
6815
6846
  });
6816
6847
 
6817
- var _excluded$y = ["checked", "children", "onChange"];
6848
+ var _excluded$z = ["checked", "children", "onChange"];
6818
6849
  var Checkbox$1 = function Checkbox(props) {
6819
6850
  var checked = props.checked,
6820
6851
  children = props.children,
6821
6852
  onChange = props.onChange,
6822
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$y);
6853
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$z);
6823
6854
 
6824
6855
  var className = useItemStyling({
6825
6856
  disabled: props.disabled,
@@ -6838,7 +6869,7 @@ var Checkbox$1 = function Checkbox(props) {
6838
6869
  })), children);
6839
6870
  };
6840
6871
 
6841
- var _excluded$z = ["children", "value"],
6872
+ var _excluded$A = ["children", "value"],
6842
6873
  _excluded2$3 = ["children", "defaultValue", "disabled", "invalid", "onChange", "orientation", "value"];
6843
6874
  var getRadioGroupItemValueAsString = function getRadioGroupItemValueAsString(value) {
6844
6875
  return value === null ? '' : String(value);
@@ -6857,7 +6888,7 @@ var RadioGroupItem = /*#__PURE__*/React.forwardRef(function RadioGroupItem(props
6857
6888
 
6858
6889
  var children = props.children,
6859
6890
  value = props.value,
6860
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$z);
6891
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$A);
6861
6892
 
6862
6893
  var isDisabled = context.disabled || props.disabled;
6863
6894
  var className = cn('flex flex-shrink-0 self-start items-center justify-center h-4 w-4 mt-[0.2rem] rounded-full bg-white border-2 hover:border-4', {
@@ -6949,13 +6980,13 @@ var RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {
6949
6980
  });
6950
6981
  RadioGroup.Item = RadioGroupItem;
6951
6982
 
6952
- var _excluded$A = ["children", "value"];
6983
+ var _excluded$B = ["children", "value"];
6953
6984
  var RadioItem = function RadioItem(props) {
6954
6985
  var context = React.useContext(MenuRadioGroupContext);
6955
6986
 
6956
6987
  var children = props.children,
6957
6988
  value = props.value,
6958
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$A);
6989
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$B);
6959
6990
 
6960
6991
  var disabled = context.disabled || props.disabled;
6961
6992
  var className = useItemStyling({
@@ -7049,12 +7080,12 @@ var Header = function Header(props) {
7049
7080
  }));
7050
7081
  };
7051
7082
 
7052
- var _excluded$B = ["appearance", "children", "trigger"];
7083
+ var _excluded$C = ["appearance", "children", "trigger"];
7053
7084
  var Menu = function Menu(externalProps) {
7054
7085
  var externalAppearance = externalProps.appearance,
7055
7086
  children = externalProps.children,
7056
7087
  trigger = externalProps.trigger,
7057
- props = _objectWithoutPropertiesLoose(externalProps, _excluded$B);
7088
+ props = _objectWithoutPropertiesLoose(externalProps, _excluded$C);
7058
7089
 
7059
7090
  var _React$useState = React.useState(false),
7060
7091
  open = _React$useState[0],
@@ -7097,10 +7128,10 @@ var Menu = function Menu(externalProps) {
7097
7128
  modal: false,
7098
7129
  open: open,
7099
7130
  onOpenChange: setOpen
7100
- }), trigger && React.createElement(Trigger$3, null, trigger), children));
7131
+ }), trigger && React.createElement(Trigger$4, null, trigger), children));
7101
7132
  };
7102
- Menu.Trigger = Trigger$3;
7103
- Menu.Content = Content$4;
7133
+ Menu.Trigger = Trigger$4;
7134
+ Menu.Content = Content$5;
7104
7135
  Menu.Item = Item$1;
7105
7136
  Menu.Link = Link;
7106
7137
  Menu.Checkbox = Checkbox$1;
@@ -7108,7 +7139,7 @@ Menu.Separator = Separator;
7108
7139
  Menu.Header = Header;
7109
7140
  Menu.RadioGroup = RadioGroup$1;
7110
7141
 
7111
- var _excluded$C = ["children", "className", "expanded", "title", "fixed", "onClick"];
7142
+ var _excluded$D = ["children", "className", "expanded", "title", "fixed", "onClick"];
7112
7143
  var TreeviewItem = /*#__PURE__*/React__default.forwardRef(function TreeviewItem(props, ref) {
7113
7144
  return React__default.createElement("a", Object.assign({}, props, {
7114
7145
  ref: ref
@@ -7122,7 +7153,7 @@ var TreeviewGroup = /*#__PURE__*/React__default.forwardRef(function TreeviewGrou
7122
7153
  title = props.title,
7123
7154
  fixed = props.fixed,
7124
7155
  onClick = props.onClick,
7125
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$C);
7156
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$D);
7126
7157
 
7127
7158
  var _React$useState = React__default.useState(fixed || initialExpanded),
7128
7159
  expanded = _React$useState[0],
@@ -7222,7 +7253,7 @@ var useDropTarget = function useDropTarget(onDrop) {
7222
7253
  return [isDraggedOver, props];
7223
7254
  };
7224
7255
 
7225
- var _excluded$D = ["active", "children", "onDrop", "postfix", "prefix", "role"],
7256
+ var _excluded$E = ["active", "children", "onDrop", "postfix", "prefix", "role"],
7226
7257
  _excluded2$4 = ["children"];
7227
7258
  var Item$2 = /*#__PURE__*/React__default.forwardRef(function Item(props, ref) {
7228
7259
  var active = props.active,
@@ -7231,7 +7262,7 @@ var Item$2 = /*#__PURE__*/React__default.forwardRef(function Item(props, ref) {
7231
7262
  postfix = props.postfix,
7232
7263
  prefix = props.prefix,
7233
7264
  role = props.role,
7234
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$D);
7265
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$E);
7235
7266
 
7236
7267
  var proxyRef = useProxiedRef(ref);
7237
7268
 
@@ -7395,7 +7426,7 @@ var PageNumbers = function PageNumbers(_ref) {
7395
7426
  }));
7396
7427
  };
7397
7428
 
7398
- var _excluded$E = ["aria-label", "aria-labelledby", "data", "defaultValue", "disabled", "emptyValue", "id", "multiselect", "onBlur", "onClick", "onChange", "readOnly", "value"];
7429
+ var _excluded$F = ["aria-label", "aria-labelledby", "data", "defaultValue", "disabled", "emptyValue", "id", "multiselect", "onBlur", "onClick", "onChange", "readOnly", "value"];
7399
7430
  var useSelect = function useSelect(_ref, ref) {
7400
7431
  var ariaLabel = _ref['aria-label'],
7401
7432
  ariaLabelledBy = _ref['aria-labelledby'],
@@ -7410,7 +7441,7 @@ var useSelect = function useSelect(_ref, ref) {
7410
7441
  onChange = _ref.onChange,
7411
7442
  readOnly = _ref.readOnly,
7412
7443
  value = _ref.value,
7413
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$E);
7444
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$F);
7414
7445
 
7415
7446
  var _useLocalization = useLocalization(),
7416
7447
  texts = _useLocalization.texts;
@@ -7613,13 +7644,13 @@ var useSelect = function useSelect(_ref, ref) {
7613
7644
  };
7614
7645
  };
7615
7646
 
7616
- var _excluded$F = ["autoFocus", "className", "highlighted", "style"],
7647
+ var _excluded$G = ["autoFocus", "className", "highlighted", "style"],
7617
7648
  _excluded2$5 = ["editable"];
7618
7649
  var BaseSelect = /*#__PURE__*/React.forwardRef(function BaseSelect(props, ref) {
7619
7650
  var autoFocus = props.autoFocus,
7620
7651
  externalClassName = props.className,
7621
7652
  style = props.style,
7622
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$F);
7653
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$G);
7623
7654
 
7624
7655
  var _useSelect = useSelect(otherProps, ref),
7625
7656
  button = _useSelect.button,
@@ -7770,7 +7801,7 @@ var usePagination = function usePagination(initialPageIndex, initialPageSize) {
7770
7801
  };
7771
7802
  };
7772
7803
 
7773
- var _excluded$G = ["length", "pageIndex", "pageSize", "pageSizes", "setPageIndex", "setPageSize", "showPageControls", "showPageNumbers", "showPageSize", "dangerouslyHijackGlobalKeyboardNavigation"];
7804
+ var _excluded$H = ["length", "pageIndex", "pageSize", "pageSizes", "setPageIndex", "setPageSize", "showPageControls", "showPageNumbers", "showPageSize", "dangerouslyHijackGlobalKeyboardNavigation"];
7774
7805
 
7775
7806
  var getShowingLabel = function getShowingLabel(length, pageIndex, pageSize, texts) {
7776
7807
  var minItemIndex = pageIndex * pageSize + 1;
@@ -7794,7 +7825,7 @@ var Pagination = /*#__PURE__*/React.forwardRef(function Pagination(props, ref) {
7794
7825
  showPageSize = _props$showPageSize === void 0 ? true : _props$showPageSize,
7795
7826
  _props$dangerouslyHij = props.dangerouslyHijackGlobalKeyboardNavigation,
7796
7827
  dangerouslyHijackGlobalKeyboardNavigation = _props$dangerouslyHij === void 0 ? false : _props$dangerouslyHij,
7797
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$G);
7828
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$H);
7798
7829
 
7799
7830
  var _useLocalization = useLocalization(),
7800
7831
  texts = _useLocalization.texts;
@@ -7877,13 +7908,13 @@ var Pagination = /*#__PURE__*/React.forwardRef(function Pagination(props, ref) {
7877
7908
  })));
7878
7909
  });
7879
7910
 
7880
- var _excluded$H = ["duration"];
7911
+ var _excluded$I = ["duration"];
7881
7912
  var Progress = function Progress(_ref) {
7882
7913
  var _cn;
7883
7914
 
7884
7915
  var _ref$duration = _ref.duration,
7885
7916
  duration = _ref$duration === void 0 ? undefined : _ref$duration,
7886
- props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
7917
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
7887
7918
 
7888
7919
  var style;
7889
7920
 
@@ -7907,7 +7938,7 @@ var Progress = function Progress(_ref) {
7907
7938
  }));
7908
7939
  };
7909
7940
 
7910
- var _excluded$I = ["children"];
7941
+ var _excluded$J = ["children"];
7911
7942
  var sanitizeRowProps = function sanitizeRowProps(row, rowExpansionRenderer) {
7912
7943
  var _row$subRows;
7913
7944
 
@@ -7947,7 +7978,7 @@ var getColumnsFromChildren = function getColumnsFromChildren(children, rowExpans
7947
7978
  .map(function (_ref) {
7948
7979
  var _ref$props = _ref.props,
7949
7980
  groupChildren = _ref$props.children,
7950
- props = _objectWithoutPropertiesLoose(_ref$props, _excluded$I);
7981
+ props = _objectWithoutPropertiesLoose(_ref$props, _excluded$J);
7951
7982
 
7952
7983
  var column = _extends({}, props);
7953
7984
 
@@ -8272,7 +8303,6 @@ var getActionProps = function getActionProps(action, row) {
8272
8303
  'aria-label': typeof action.tooltip === 'function' ? action.tooltip(row) : action.tooltip,
8273
8304
  disabled: typeof action.disabled === 'function' ? action.disabled(row) : action.disabled,
8274
8305
  onClick: function onClick(event) {
8275
- event.persist();
8276
8306
  action.onClick(row, event);
8277
8307
  }
8278
8308
  };
@@ -8444,7 +8474,7 @@ var useRowActions = function useRowActions(inlineEditingUniqueId, handlers, acti
8444
8474
  return plugin;
8445
8475
  };
8446
8476
 
8447
- var _excluded$J = ["onChange"],
8477
+ var _excluded$K = ["onChange"],
8448
8478
  _excluded2$6 = ["onChange"];
8449
8479
 
8450
8480
  var toggleBetween = function toggleBetween(fromRowIndex, toRowIndex) {
@@ -8492,7 +8522,7 @@ var useRowSelect = function useRowSelect(onSelectedRows) {
8492
8522
  rows = _ref.rows;
8493
8523
 
8494
8524
  var _getToggleAllRowsSele = getToggleAllRowsSelectedProps(),
8495
- props = _objectWithoutPropertiesLoose(_getToggleAllRowsSele, _excluded$J);
8525
+ props = _objectWithoutPropertiesLoose(_getToggleAllRowsSele, _excluded$K);
8496
8526
 
8497
8527
  var onChange = function onChange(checked) {
8498
8528
  if (checked) {
@@ -8808,7 +8838,7 @@ var useRowDraggable = function useRowDraggable(onRowDrag) {
8808
8838
  return plugin;
8809
8839
  };
8810
8840
 
8811
- var _excluded$K = ["children", "data", "dangerouslyHijackGlobalKeyboardNavigation", "onRowClick", "onRowDrag", "onSelectedRows", "rowClassName", "rowExpansionRenderer", "rowHeight", "selectedRows", "disableSorting", "manualSorting", "onSort", "sortRules", "disablePagination", "length", "onPaginate", "pageSize", "pageIndex", "inlineEditingUniqueId", "onRowCreate", "actions", "onRowEdit", "onRowCopy", "onRowDelete", "onRowActive", "windowed"],
8841
+ var _excluded$L = ["children", "data", "dangerouslyHijackGlobalKeyboardNavigation", "onRowClick", "onRowDrag", "onSelectedRows", "rowClassName", "rowExpansionRenderer", "rowHeight", "selectedRows", "disableSorting", "manualSorting", "onSort", "sortRules", "disablePagination", "length", "onPaginate", "pageSize", "pageIndex", "inlineEditingUniqueId", "onRowCreate", "actions", "onRowEdit", "onRowCopy", "onRowDelete", "onRowActive", "windowed"],
8812
8842
  _excluded2$7 = ["headerGroups", "rows", "sortedRows", "prepareRow", "state", "page", "gotoPage", "setPageSize"];
8813
8843
 
8814
8844
  var useTableRowActive = function useTableRowActive(activeIndex, rows, rowExpansionRenderer, handleonRowActive) {
@@ -8915,7 +8945,7 @@ var useTable = function useTable(props, ref) {
8915
8945
  onRowActive = props.onRowActive,
8916
8946
  _props$windowed = props.windowed,
8917
8947
  windowed = _props$windowed === void 0 ? false : _props$windowed,
8918
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$K);
8948
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$L);
8919
8949
 
8920
8950
  if (onSelectedRows && !selectedRows || !onSelectedRows && selectedRows) {
8921
8951
  throw new Error('Selected rows in a Table component are fully controlled - you must pass both the `onSelectedRows` and `selectedRows` props when using row selection');
@@ -9033,7 +9063,7 @@ var useTable = function useTable(props, ref) {
9033
9063
  };
9034
9064
  };
9035
9065
 
9036
- var _excluded$L = ["row", "index", "instance", "headerGroups"];
9066
+ var _excluded$M = ["row", "index", "instance", "headerGroups"];
9037
9067
 
9038
9068
  var renderCell = function renderCell(cell, row) {
9039
9069
  var props = _extends({}, cell.getCellProps(), {
@@ -9057,7 +9087,7 @@ var Row = /*#__PURE__*/React__default.forwardRef(function TableRow(_ref, ref) {
9057
9087
  var row = _ref.row,
9058
9088
  index = _ref.index,
9059
9089
  instance = _ref.instance,
9060
- rowProps = _objectWithoutPropertiesLoose(_ref, _excluded$L);
9090
+ rowProps = _objectWithoutPropertiesLoose(_ref, _excluded$M);
9061
9091
 
9062
9092
  var activeIndex = rowProps.activeIndex,
9063
9093
  onRowClick = rowProps.onRowClick,
@@ -9168,7 +9198,7 @@ var Column = function Column(_ref) {
9168
9198
  }) : null);
9169
9199
  };
9170
9200
 
9171
- var _excluded$M = ["autoFocus", "children", "disableSorting", "headerGroups", "headerRef", "bodyRef"];
9201
+ var _excluded$N = ["autoFocus", "children", "disableSorting", "headerGroups", "headerRef", "bodyRef"];
9172
9202
  var DefaultEmptyState = function DefaultEmptyState() {
9173
9203
  return null;
9174
9204
  };
@@ -9180,7 +9210,7 @@ var BaseTable = /*#__PURE__*/React__default.forwardRef(function BaseTable(props,
9180
9210
  headerGroups = props.headerGroups,
9181
9211
  headerRef = props.headerRef,
9182
9212
  bodyRef = props.bodyRef,
9183
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$M);
9213
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$N);
9184
9214
 
9185
9215
  React__default.useEffect(function () {
9186
9216
  if (autoFocus && tableRef.current) {
@@ -9215,11 +9245,11 @@ var BaseTable = /*#__PURE__*/React__default.forwardRef(function BaseTable(props,
9215
9245
  }, children));
9216
9246
  });
9217
9247
 
9218
- var _excluded$N = ["emptyStateRenderer"];
9248
+ var _excluded$O = ["emptyStateRenderer"];
9219
9249
  var Table = /*#__PURE__*/React__default.forwardRef(function Table(props, ref) {
9220
9250
  var _props$emptyStateRend = props.emptyStateRenderer,
9221
9251
  emptyStateRenderer = _props$emptyStateRend === void 0 ? DefaultEmptyState : _props$emptyStateRend,
9222
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$N);
9252
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$O);
9223
9253
 
9224
9254
  var tableRef = useProxiedRef(ref);
9225
9255
 
@@ -9283,14 +9313,14 @@ PaginatedTable.Group = function () {
9283
9313
  return null;
9284
9314
  };
9285
9315
 
9286
- var _excluded$O = ["height"],
9316
+ var _excluded$P = ["height"],
9287
9317
  _excluded2$8 = ["emptyStateRenderer", "length", "loadMore"];
9288
9318
  var ROW_HEIGHT = 40;
9289
9319
  var VariableRow = /*#__PURE__*/React__default.memo(function (_ref) {
9290
9320
  var data = _ref.data,
9291
9321
  index = _ref.index,
9292
9322
  _ref$style = _ref.style,
9293
- style = _objectWithoutPropertiesLoose(_ref$style, _excluded$O);
9323
+ style = _objectWithoutPropertiesLoose(_ref$style, _excluded$P);
9294
9324
 
9295
9325
  var _useLocalization = useLocalization(),
9296
9326
  texts = _useLocalization.texts;
@@ -9655,7 +9685,7 @@ var useTableRowCreation = function useTableRowCreation(data, tableRef) {
9655
9685
  };
9656
9686
  };
9657
9687
 
9658
- var _excluded$P = ["id", "defaultId", "children", "onChange", "orientation"],
9688
+ var _excluded$Q = ["id", "defaultId", "children", "onChange", "orientation"],
9659
9689
  _excluded2$9 = ["id", "disabled"],
9660
9690
  _excluded3 = ["id"];
9661
9691
  var Tabs = /*#__PURE__*/React.forwardRef(function Tabs(props, ref) {
@@ -9665,7 +9695,7 @@ var Tabs = /*#__PURE__*/React.forwardRef(function Tabs(props, ref) {
9665
9695
  onChange = props.onChange,
9666
9696
  _props$orientation = props.orientation,
9667
9697
  orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,
9668
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$P);
9698
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$Q);
9669
9699
 
9670
9700
  var className = cn('yt-tabs', "yt-tabs--" + orientation, {
9671
9701
  'flex w-full': orientation === 'vertical'
@@ -9719,10 +9749,10 @@ Tabs.List = TabList;
9719
9749
  Tabs.Trigger = TabTrigger;
9720
9750
  Tabs.Content = TabContent;
9721
9751
 
9722
- var _excluded$Q = ["defaultValue", "highlighted", "invalid", "onKeyDown"];
9752
+ var _excluded$R = ["defaultValue", "highlighted", "invalid", "onKeyDown"];
9723
9753
  var Textarea = /*#__PURE__*/React.forwardRef(function Textarea(props, ref) {
9724
9754
  var onKeyDown = props.onKeyDown,
9725
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$Q);
9755
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$R);
9726
9756
 
9727
9757
  var classNames = cn(getInputClasses(props), 'py-1 min-h-[75px] disabled:resize-none', props.className); // home and end keys only navigate to the start/end of textarea value if the textarea container does not scroll
9728
9758
  // if it has scroll height then the browser reverts to native scrolling behaviour only
@@ -9749,11 +9779,11 @@ var Textarea = /*#__PURE__*/React.forwardRef(function Textarea(props, ref) {
9749
9779
  }));
9750
9780
  });
9751
9781
 
9752
- var _excluded$R = ["label", "onChange"];
9782
+ var _excluded$S = ["label", "onChange"];
9753
9783
  var Switch = /*#__PURE__*/React.forwardRef(function Switch(props, ref) {
9754
9784
  var label = props.label,
9755
9785
  onChange = props.onChange,
9756
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$R);
9786
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$S);
9757
9787
 
9758
9788
  var className = cn('group h-5 w-9 flex rounded-full inline-flex', {
9759
9789
  'mr-2': !!label,
@@ -9780,7 +9810,7 @@ var Switch = /*#__PURE__*/React.forwardRef(function Switch(props, ref) {
9780
9810
  return element;
9781
9811
  });
9782
9812
 
9783
- var _excluded$S = ["autoStart", "onComplete", "onClose", "onReady", "spotlightClicks", "disableCloseOnEsc", "disableScrollParentFix"];
9813
+ var _excluded$T = ["autoStart", "onComplete", "onClose", "onReady", "spotlightClicks", "disableCloseOnEsc", "disableScrollParentFix"];
9784
9814
 
9785
9815
  var Tooltip$1 = function Tooltip(_ref) {
9786
9816
  var continuous = _ref.continuous,
@@ -9845,7 +9875,7 @@ var Tour = function Tour(props) {
9845
9875
  disableTourSkipOnEsc = props.disableCloseOnEsc,
9846
9876
  _props$disableScrollP = props.disableScrollParentFix,
9847
9877
  disableScrollParentFix = _props$disableScrollP === void 0 ? false : _props$disableScrollP,
9848
- rest = _objectWithoutPropertiesLoose(props, _excluded$S);
9878
+ rest = _objectWithoutPropertiesLoose(props, _excluded$T);
9849
9879
 
9850
9880
  var steps = React.useMemo(function () {
9851
9881
  return React.Children.map(props.children, function (child) {
@@ -9954,6 +9984,7 @@ exports.Field = Field;
9954
9984
  exports.Form = Form;
9955
9985
  exports.Group = Group;
9956
9986
  exports.Hanger = Hanger;
9987
+ exports.HoverCard = HoverCard;
9957
9988
  exports.Icon = Icon;
9958
9989
  exports.IconButton = IconButton;
9959
9990
  exports.Input = Input;