@expcat/tigercat-react 1.2.0 → 1.2.14

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 (77) hide show
  1. package/dist/{chunk-ILYL3KSJ.js → chunk-2DH6MGC6.js} +4 -5
  2. package/dist/{chunk-BBAYDH2M.mjs → chunk-3FEFHD3E.mjs} +2 -2
  3. package/dist/{chunk-EPN7QWP6.mjs → chunk-3G5EJRD4.mjs} +6 -1
  4. package/dist/{chunk-CI2WHAT2.js → chunk-4MQCUKIC.js} +12 -5
  5. package/dist/{chunk-FE7PEZTI.mjs → chunk-4ZZ7YRTB.mjs} +11 -4
  6. package/dist/{chunk-GRXBGL6Q.js → chunk-56ZV3VVY.js} +10 -4
  7. package/dist/{chunk-RPKF4S2Q.mjs → chunk-5XS6PXBX.mjs} +1 -1
  8. package/dist/{chunk-DLLLDGXD.mjs → chunk-6CAKUMWV.mjs} +1 -1
  9. package/dist/{chunk-P3XVLJYD.js → chunk-6CWZXS5B.js} +6 -1
  10. package/dist/{chunk-2JUPXEWX.js → chunk-7YUD6VIC.js} +3 -3
  11. package/dist/{chunk-HWG4HNQH.mjs → chunk-AKDBQOKX.mjs} +1 -1
  12. package/dist/{chunk-2WBFUUVP.mjs → chunk-BONUUJU3.mjs} +4 -1
  13. package/dist/{chunk-IUTPGKU5.js → chunk-DTYDPMNR.js} +3 -3
  14. package/dist/{chunk-PLUE64IS.js → chunk-DXMSDLVJ.js} +2 -2
  15. package/dist/{chunk-7P4MIU6I.js → chunk-EX63M5ID.js} +9 -9
  16. package/dist/{chunk-X7XFQCDD.mjs → chunk-GBJILZTY.mjs} +1 -1
  17. package/dist/{chunk-2PCALG7V.js → chunk-H4AR4GXH.js} +4 -1
  18. package/dist/{chunk-QIXQYLH5.js → chunk-IZXU7DF6.js} +6 -2
  19. package/dist/{chunk-S7RUTD3X.mjs → chunk-J5R4Q2QM.mjs} +1 -1
  20. package/dist/{chunk-6OOGL43U.mjs → chunk-MMGZEG7G.mjs} +2 -2
  21. package/dist/{chunk-LA3CJOWA.js → chunk-NMEVQPOD.js} +2 -1
  22. package/dist/{chunk-OFTLPYYC.mjs → chunk-OQ6Z6U7R.mjs} +43 -3
  23. package/dist/{chunk-EV6KRX6F.mjs → chunk-OXGAZPPS.mjs} +1 -1
  24. package/dist/{chunk-IUT6A4FC.js → chunk-RUZQN7X3.js} +3 -3
  25. package/dist/{chunk-U5244LHL.mjs → chunk-SDZOVRVR.mjs} +0 -1
  26. package/dist/{chunk-A54CDNCF.js → chunk-SIY6FDKJ.js} +0 -1
  27. package/dist/{chunk-HU7AMIOC.js → chunk-SXHP4Q7O.js} +3 -3
  28. package/dist/{chunk-K6F6P66I.js → chunk-UE52NMPO.js} +5 -5
  29. package/dist/{chunk-GKJNQUTW.mjs → chunk-USWK2S3Y.mjs} +9 -3
  30. package/dist/{chunk-L6CL63GI.js → chunk-VDF2BD2A.js} +41 -1
  31. package/dist/{chunk-F2OF6XZ6.js → chunk-VNMWPJDN.js} +1 -1
  32. package/dist/{chunk-AOZLBASY.mjs → chunk-VSFDT2RS.mjs} +6 -2
  33. package/dist/{chunk-AZDNGGV7.mjs → chunk-WQ4FOHOU.mjs} +2 -1
  34. package/dist/{chunk-KY5MMT7Q.mjs → chunk-X37Q7VME.mjs} +2 -3
  35. package/dist/components/ActivityFeed.js +4 -3
  36. package/dist/components/ActivityFeed.mjs +3 -2
  37. package/dist/components/Alert.d.mts +3 -2
  38. package/dist/components/Alert.d.ts +3 -2
  39. package/dist/components/Alert.js +2 -2
  40. package/dist/components/Alert.mjs +1 -1
  41. package/dist/components/Avatar.js +3 -2
  42. package/dist/components/Avatar.mjs +2 -1
  43. package/dist/components/Breadcrumb.js +2 -2
  44. package/dist/components/Breadcrumb.mjs +1 -1
  45. package/dist/components/BreadcrumbItem.js +2 -2
  46. package/dist/components/BreadcrumbItem.mjs +1 -1
  47. package/dist/components/Button.js +3 -2
  48. package/dist/components/Button.mjs +2 -1
  49. package/dist/components/ChatWindow.js +6 -4
  50. package/dist/components/ChatWindow.mjs +5 -3
  51. package/dist/components/CommentThread.js +6 -4
  52. package/dist/components/CommentThread.mjs +5 -3
  53. package/dist/components/CropUpload.js +5 -4
  54. package/dist/components/CropUpload.mjs +4 -3
  55. package/dist/components/DataTableWithToolbar.js +4 -3
  56. package/dist/components/DataTableWithToolbar.mjs +3 -2
  57. package/dist/components/Descriptions.js +2 -2
  58. package/dist/components/Descriptions.mjs +1 -1
  59. package/dist/components/Divider.d.mts +1 -1
  60. package/dist/components/Divider.d.ts +1 -1
  61. package/dist/components/Divider.js +2 -2
  62. package/dist/components/Divider.mjs +1 -1
  63. package/dist/components/FormWizard.js +4 -3
  64. package/dist/components/FormWizard.mjs +3 -2
  65. package/dist/components/Modal.js +4 -3
  66. package/dist/components/Modal.mjs +3 -2
  67. package/dist/components/Notification.js +2 -2
  68. package/dist/components/Notification.mjs +1 -1
  69. package/dist/components/NotificationCenter.js +4 -3
  70. package/dist/components/NotificationCenter.mjs +3 -2
  71. package/dist/components/Splitter.js +2 -2
  72. package/dist/components/Splitter.mjs +1 -1
  73. package/dist/components/Tree.js +2 -2
  74. package/dist/components/Tree.mjs +1 -1
  75. package/dist/index.js +24 -24
  76. package/dist/index.mjs +23 -23
  77. package/package.json +2 -2
@@ -7,7 +7,7 @@ var _chunkRFHPG4KNjs = require('./chunk-RFHPG4KN.js');
7
7
  var _chunkWG3YS2QVjs = require('./chunk-WG3YS2QV.js');
8
8
 
9
9
 
10
- var _chunkGRXBGL6Qjs = require('./chunk-GRXBGL6Q.js');
10
+ var _chunk56ZV3VVYjs = require('./chunk-56ZV3VVY.js');
11
11
 
12
12
 
13
13
  var _chunk3MRP3XYIjs = require('./chunk-3MRP3XYI.js');
@@ -213,7 +213,7 @@ var NotificationCenter = ({
213
213
  item.description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-0.5 text-xs text-[var(--tiger-text-muted,#6b7280)] line-clamp-2 leading-relaxed", children: item.description }) : null
214
214
  ] }),
215
215
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
216
- _chunkGRXBGL6Qjs.Button,
216
+ _chunk56ZV3VVYjs.Button,
217
217
  {
218
218
  size: "sm",
219
219
  variant: "ghost",
@@ -267,7 +267,7 @@ var NotificationCenter = ({
267
267
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUF3DXKCIjs.Text, { tag: "div", size: "base", weight: "bold", children: title }),
268
268
  totalUnread > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-xs font-semibold rounded-full bg-[var(--tiger-primary,#2563eb)] text-white", children: totalUnread }) : null
269
269
  ] }),
270
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRXBGL6Qjs.Button, { size: "sm", variant: "ghost", disabled: !hasUnread, onClick: handleMarkAllRead, children: markAllReadText })
270
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { size: "sm", variant: "ghost", disabled: !hasUnread, onClick: handleMarkAllRead, children: markAllReadText })
271
271
  ] }),
272
272
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "inline-flex rounded-[var(--tiger-radius-sm,0.375rem)] border border-[var(--tiger-border,#e5e7eb)] overflow-hidden self-start", children: filterButtons.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
273
273
  "button",
@@ -225,7 +225,6 @@ var Tree = ({
225
225
  next.delete(nodeKey);
226
226
  return next;
227
227
  });
228
- newExpandedKeys.delete(nodeKey);
229
228
  });
230
229
  }
231
230
  }
@@ -225,7 +225,6 @@ var Tree = ({
225
225
  next.delete(nodeKey);
226
226
  return next;
227
227
  });
228
- newExpandedKeys.delete(nodeKey);
229
228
  });
230
229
  }
231
230
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkGRXBGL6Qjs = require('./chunk-GRXBGL6Q.js');
3
+ var _chunk56ZV3VVYjs = require('./chunk-56ZV3VVY.js');
4
4
 
5
5
 
6
6
 
@@ -300,8 +300,8 @@ var Modal = ({
300
300
  ),
301
301
  children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.modalBodyClasses, children }),
302
302
  footer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.modalFooterClasses, "data-tiger-modal-footer": "", children: footer }) : showDefaultFooter ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.modalFooterClasses, "data-tiger-modal-footer": "", children: [
303
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRXBGL6Qjs.Button, { variant: "secondary", onClick: handleClose, children: resolvedCancelText }),
304
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRXBGL6Qjs.Button, { onClick: handleOk, children: resolvedOkText })
303
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { variant: "secondary", onClick: handleClose, children: resolvedCancelText }),
304
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { onClick: handleOk, children: resolvedOkText })
305
305
  ] }) : null
306
306
  ]
307
307
  }
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkHU7AMIOCjs = require('./chunk-HU7AMIOC.js');
3
+ var _chunkSXHP4Q7Ojs = require('./chunk-SXHP4Q7O.js');
4
4
 
5
5
 
6
6
  var _chunkFI53LYZ6js = require('./chunk-FI53LYZ6.js');
7
7
 
8
8
 
9
- var _chunkGRXBGL6Qjs = require('./chunk-GRXBGL6Q.js');
9
+ var _chunk56ZV3VVYjs = require('./chunk-56ZV3VVY.js');
10
10
 
11
11
  // src/components/CropUpload.tsx
12
12
  var _react = require('react');
@@ -140,7 +140,7 @@ var CropUpload = ({
140
140
  }
141
141
  ),
142
142
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
143
- _chunkHU7AMIOCjs.Modal,
143
+ _chunkSXHP4Q7Ojs.Modal,
144
144
  {
145
145
  open: modalVisible,
146
146
  size: "lg",
@@ -149,8 +149,8 @@ var CropUpload = ({
149
149
  maskClosable: false,
150
150
  onClose: handleCancel,
151
151
  footer: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-3", children: [
152
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRXBGL6Qjs.Button, { variant: "secondary", onClick: handleCancel, children: "\u53D6\u6D88" }),
153
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRXBGL6Qjs.Button, { onClick: handleConfirm, loading: cropping, children: "\u786E\u8BA4\u88C1\u526A" })
152
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { variant: "secondary", onClick: handleCancel, children: "\u53D6\u6D88" }),
153
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { onClick: handleConfirm, loading: cropping, children: "\u786E\u8BA4\u88C1\u526A" })
154
154
  ] }),
155
155
  children: imageSrc && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFI53LYZ6js.ImageCropper, { ref: cropperRef, src: imageSrc, ...cropperProps })
156
156
  }
@@ -1,3 +1,7 @@
1
+ import {
2
+ useButtonGroupContext
3
+ } from "./chunk-ZJWUBR2X.mjs";
4
+
1
5
  // src/components/Button.tsx
2
6
  import React, { useMemo } from "react";
3
7
  import {
@@ -29,7 +33,7 @@ var createDefaultSpinner = () => {
29
33
  };
30
34
  var Button = ({
31
35
  variant = "primary",
32
- size = "md",
36
+ size,
33
37
  disabled = false,
34
38
  loading = false,
35
39
  loadingIcon,
@@ -45,6 +49,8 @@ var Button = ({
45
49
  "aria-disabled": ariaDisabledProp,
46
50
  ...rest
47
51
  }) => {
52
+ const group = useButtonGroupContext();
53
+ const resolvedSize = size ?? group?.size ?? "md";
48
54
  const isDisabled = disabled || loading;
49
55
  const ariaBusy = ariaBusyProp ?? (loading ? true : void 0);
50
56
  const ariaDisabled = ariaDisabledProp ?? (isDisabled ? true : void 0);
@@ -53,12 +59,12 @@ var Button = ({
53
59
  return classNames(
54
60
  buttonBaseClasses,
55
61
  variantClasses,
56
- buttonSizeClasses[size],
62
+ buttonSizeClasses[resolvedSize],
57
63
  isDisabled && buttonDisabledClasses,
58
64
  block && "w-full",
59
65
  className
60
66
  );
61
- }, [variant, size, isDisabled, block, danger, className]);
67
+ }, [variant, resolvedSize, isDisabled, block, danger, className]);
62
68
  const iconIsRight = iconPosition === "right";
63
69
  return /* @__PURE__ */ jsxs(
64
70
  "button",
@@ -7,6 +7,8 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
7
7
 
8
8
 
9
9
 
10
+
11
+
10
12
  var _tigercatcore = require('@expcat/tigercat-core');
11
13
  var _jsxruntime = require('react/jsx-runtime');
12
14
  var BreadcrumbContext = _react.createContext.call(void 0, null);
@@ -70,6 +72,7 @@ var BreadcrumbItem = ({
70
72
  };
71
73
  var Breadcrumb = ({
72
74
  separator = "/",
75
+ maxItems,
73
76
  className,
74
77
  style,
75
78
  extra,
@@ -77,13 +80,50 @@ var Breadcrumb = ({
77
80
  ...props
78
81
  }) => {
79
82
  const hasExtra = Boolean(extra);
83
+ const [expanded, setExpanded] = _react.useState.call(void 0, false);
80
84
  const containerClasses = _react2.default.useMemo(
81
85
  () => _tigercatcore.classNames.call(void 0, _tigercatcore.breadcrumbContainerClasses, hasExtra && "w-full", className),
82
86
  [className, hasExtra]
83
87
  );
84
88
  const contextValue = _react2.default.useMemo(() => ({ separator }), [separator]);
89
+ const renderedItems = _react.useMemo.call(void 0, () => {
90
+ const items = _react2.default.Children.toArray(children);
91
+ if (expanded || maxItems === void 0 || maxItems <= 0 || maxItems >= items.length) {
92
+ return items;
93
+ }
94
+ const { collapsed } = _tigercatcore.getBreadcrumbCollapsedItems.call(void 0, items.length, maxItems);
95
+ if (collapsed.length === 0) return items;
96
+ const collapsedSet = new Set(collapsed);
97
+ const result = [];
98
+ let ellipsisInserted = false;
99
+ items.forEach((item, index) => {
100
+ if (collapsedSet.has(index)) {
101
+ if (!ellipsisInserted) {
102
+ ellipsisInserted = true;
103
+ result.push(
104
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: _tigercatcore.getBreadcrumbItemClasses.call(void 0, ), children: [
105
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
106
+ "button",
107
+ {
108
+ type: "button",
109
+ className: _tigercatcore.breadcrumbEllipsisClasses,
110
+ "aria-label": "Show collapsed breadcrumb items",
111
+ onClick: () => setExpanded(true),
112
+ children: "..."
113
+ }
114
+ ),
115
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _tigercatcore.getBreadcrumbSeparatorClasses.call(void 0, ), "aria-hidden": "true", children: _tigercatcore.getSeparatorContent.call(void 0, separator) })
116
+ ] }, "__tiger-breadcrumb-ellipsis")
117
+ );
118
+ }
119
+ return;
120
+ }
121
+ result.push(item);
122
+ });
123
+ return result;
124
+ }, [children, expanded, maxItems, separator]);
85
125
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbContext.Provider, { value: contextValue, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: containerClasses, "aria-label": "Breadcrumb", style, ...props, children: [
86
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "flex items-center flex-wrap gap-2", children }),
126
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "flex items-center flex-wrap gap-2", children: renderedItems }),
87
127
  hasExtra && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-auto flex items-center", children: extra })
88
128
  ] }) });
89
129
  };
@@ -91,7 +91,7 @@ var Alert = ({
91
91
  setCountdownProgress(100);
92
92
  const timer = setTimeout(() => {
93
93
  setVisible(false);
94
- _optionalChain([onClose, 'optionalCall', _2 => _2(new MouseEvent("click"))]);
94
+ _optionalChain([onClose, 'optionalCall', _2 => _2()]);
95
95
  }, duration);
96
96
  let countdownTimer;
97
97
  if (showCountdown) {
@@ -13,6 +13,7 @@ var Divider = React.memo(
13
13
  color,
14
14
  thickness,
15
15
  className,
16
+ style: styleProp,
16
17
  ...props
17
18
  }) => {
18
19
  const classes = useMemo(() => {
@@ -20,8 +21,11 @@ var Divider = React.memo(
20
21
  return className ? `${base} ${className}` : base;
21
22
  }, [orientation, lineStyle, spacing, className]);
22
23
  const style = useMemo(
23
- () => getDividerStyle(orientation, color, thickness),
24
- [color, thickness, orientation]
24
+ () => ({
25
+ ...getDividerStyle(orientation, color, thickness),
26
+ ...styleProp
27
+ }),
28
+ [color, thickness, orientation, styleProp]
25
29
  );
26
30
  return /* @__PURE__ */ jsx(
27
31
  "div",
@@ -57,7 +57,8 @@ function getNextInstanceId() {
57
57
  var NotificationItem = ({ notification: notification2, onClose }) => {
58
58
  const [isVisible, setIsVisible] = useState(false);
59
59
  useEffect(() => {
60
- setTimeout(() => setIsVisible(true), 10);
60
+ const timer = setTimeout(() => setIsVisible(true), 10);
61
+ return () => clearTimeout(timer);
61
62
  }, []);
62
63
  const colorScheme = getNotificationTypeClasses(notification2.type);
63
64
  const notificationClasses = classNames(
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-7QZ4XT2P.mjs";
10
10
  import {
11
11
  Button
12
- } from "./chunk-GKJNQUTW.mjs";
12
+ } from "./chunk-USWK2S3Y.mjs";
13
13
  import {
14
14
  Avatar
15
- } from "./chunk-FE7PEZTI.mjs";
15
+ } from "./chunk-4ZZ7YRTB.mjs";
16
16
 
17
17
  // src/components/ChatWindow.tsx
18
18
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -45,7 +45,6 @@ var ChatWindow = ({
45
45
  allowShiftEnter = true,
46
46
  allowEmpty = false,
47
47
  clearOnSend = true,
48
- statusVariant: _sv,
49
48
  virtual = false,
50
49
  virtualItemHeight = 88,
51
50
  virtualHeight = 400,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkPLUE64ISjs = require('../chunk-PLUE64IS.js');
4
+ var _chunkDXMSDLVJjs = require('../chunk-DXMSDLVJ.js');
5
5
  require('../chunk-PR3PQUKM.js');
6
6
  require('../chunk-3MRP3XYI.js');
7
7
  require('../chunk-QYYAXM5F.js');
@@ -9,8 +9,9 @@ require('../chunk-STTQ5LXX.js');
9
9
  require('../chunk-VCULFIZ5.js');
10
10
  require('../chunk-UF3DXKCI.js');
11
11
  require('../chunk-UIO6O4MI.js');
12
- require('../chunk-CI2WHAT2.js');
12
+ require('../chunk-4MQCUKIC.js');
13
+ require('../chunk-TQOWIDQT.js');
13
14
 
14
15
 
15
16
 
16
- exports.ActivityFeed = _chunkPLUE64ISjs.ActivityFeed; exports.default = _chunkPLUE64ISjs.ActivityFeed_default;
17
+ exports.ActivityFeed = _chunkDXMSDLVJjs.ActivityFeed; exports.default = _chunkDXMSDLVJjs.ActivityFeed_default;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ActivityFeed,
3
3
  ActivityFeed_default
4
- } from "../chunk-X7XFQCDD.mjs";
4
+ } from "../chunk-GBJILZTY.mjs";
5
5
  import "../chunk-JVTAKNRO.mjs";
6
6
  import "../chunk-FNJDBFKM.mjs";
7
7
  import "../chunk-XZVQ3PJS.mjs";
@@ -9,7 +9,8 @@ import "../chunk-SEWNVIHH.mjs";
9
9
  import "../chunk-TGKNEMD4.mjs";
10
10
  import "../chunk-HLS4CHWX.mjs";
11
11
  import "../chunk-P6E3DILH.mjs";
12
- import "../chunk-FE7PEZTI.mjs";
12
+ import "../chunk-4ZZ7YRTB.mjs";
13
+ import "../chunk-4R5YXNU4.mjs";
13
14
  export {
14
15
  ActivityFeed,
15
16
  ActivityFeed_default as default
@@ -15,9 +15,10 @@ interface AlertProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>
15
15
  */
16
16
  descriptionSlot?: React.ReactNode;
17
17
  /**
18
- * Callback when alert is closed
18
+ * Callback when alert is closed.
19
+ * Receives the click event for manual close; called without an event on auto-close.
19
20
  */
20
- onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
21
+ onClose?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
21
22
  }
22
23
  declare const Alert: React.FC<AlertProps>;
23
24
 
@@ -15,9 +15,10 @@ interface AlertProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>
15
15
  */
16
16
  descriptionSlot?: React.ReactNode;
17
17
  /**
18
- * Callback when alert is closed
18
+ * Callback when alert is closed.
19
+ * Receives the click event for manual close; called without an event on auto-close.
19
20
  */
20
- onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
21
+ onClose?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
21
22
  }
22
23
  declare const Alert: React.FC<AlertProps>;
23
24
 
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkF2OF6XZ6js = require('../chunk-F2OF6XZ6.js');
3
+ var _chunkVNMWPJDNjs = require('../chunk-VNMWPJDN.js');
4
4
  require('../chunk-HQ3QOT7H.js');
5
5
 
6
6
 
7
- exports.Alert = _chunkF2OF6XZ6js.Alert;
7
+ exports.Alert = _chunkVNMWPJDNjs.Alert;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Alert
3
- } from "../chunk-EV6KRX6F.mjs";
3
+ } from "../chunk-OXGAZPPS.mjs";
4
4
  import "../chunk-FLYJVZED.mjs";
5
5
  export {
6
6
  Alert
@@ -1,6 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCI2WHAT2js = require('../chunk-CI2WHAT2.js');
3
+ var _chunk4MQCUKICjs = require('../chunk-4MQCUKIC.js');
4
+ require('../chunk-TQOWIDQT.js');
4
5
 
5
6
 
6
- exports.Avatar = _chunkCI2WHAT2js.Avatar;
7
+ exports.Avatar = _chunk4MQCUKICjs.Avatar;
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  Avatar
3
- } from "../chunk-FE7PEZTI.mjs";
3
+ } from "../chunk-4ZZ7YRTB.mjs";
4
+ import "../chunk-4R5YXNU4.mjs";
4
5
  export {
5
6
  Avatar
6
7
  };
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkL6CL63GIjs = require('../chunk-L6CL63GI.js');
5
+ var _chunkVDF2BD2Ajs = require('../chunk-VDF2BD2A.js');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.Breadcrumb = _chunkL6CL63GIjs.Breadcrumb; exports.BreadcrumbItem = _chunkL6CL63GIjs.BreadcrumbItem; exports.useBreadcrumbContext = _chunkL6CL63GIjs.useBreadcrumbContext;
10
+ exports.Breadcrumb = _chunkVDF2BD2Ajs.Breadcrumb; exports.BreadcrumbItem = _chunkVDF2BD2Ajs.BreadcrumbItem; exports.useBreadcrumbContext = _chunkVDF2BD2Ajs.useBreadcrumbContext;
@@ -2,7 +2,7 @@ import {
2
2
  Breadcrumb,
3
3
  BreadcrumbItem,
4
4
  useBreadcrumbContext
5
- } from "../chunk-OFTLPYYC.mjs";
5
+ } from "../chunk-OQ6Z6U7R.mjs";
6
6
  export {
7
7
  Breadcrumb,
8
8
  BreadcrumbItem,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL6CL63GIjs = require('../chunk-L6CL63GI.js');
3
+ var _chunkVDF2BD2Ajs = require('../chunk-VDF2BD2A.js');
4
4
 
5
5
 
6
- exports.BreadcrumbItem = _chunkL6CL63GIjs.BreadcrumbItem;
6
+ exports.BreadcrumbItem = _chunkVDF2BD2Ajs.BreadcrumbItem;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BreadcrumbItem
3
- } from "../chunk-OFTLPYYC.mjs";
3
+ } from "../chunk-OQ6Z6U7R.mjs";
4
4
  export {
5
5
  BreadcrumbItem
6
6
  };
@@ -1,6 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGRXBGL6Qjs = require('../chunk-GRXBGL6Q.js');
3
+ var _chunk56ZV3VVYjs = require('../chunk-56ZV3VVY.js');
4
+ require('../chunk-YMKA4L3Z.js');
4
5
 
5
6
 
6
- exports.Button = _chunkGRXBGL6Qjs.Button;
7
+ exports.Button = _chunk56ZV3VVYjs.Button;
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  Button
3
- } from "../chunk-GKJNQUTW.mjs";
3
+ } from "../chunk-USWK2S3Y.mjs";
4
+ import "../chunk-ZJWUBR2X.mjs";
4
5
  export {
5
6
  Button
6
7
  };
@@ -1,14 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkILYL3KSJjs = require('../chunk-ILYL3KSJ.js');
4
+ var _chunk2DH6MGC6js = require('../chunk-2DH6MGC6.js');
5
5
  require('../chunk-P36GX65N.js');
6
6
  require('../chunk-ZYJTHGQW.js');
7
7
  require('../chunk-WVVXZKNI.js');
8
8
  require('../chunk-UKGQ7256.js');
9
- require('../chunk-GRXBGL6Q.js');
10
- require('../chunk-CI2WHAT2.js');
9
+ require('../chunk-56ZV3VVY.js');
10
+ require('../chunk-YMKA4L3Z.js');
11
+ require('../chunk-4MQCUKIC.js');
12
+ require('../chunk-TQOWIDQT.js');
11
13
 
12
14
 
13
15
 
14
- exports.ChatWindow = _chunkILYL3KSJjs.ChatWindow; exports.default = _chunkILYL3KSJjs.ChatWindow_default;
16
+ exports.ChatWindow = _chunk2DH6MGC6js.ChatWindow; exports.default = _chunk2DH6MGC6js.ChatWindow_default;
@@ -1,13 +1,15 @@
1
1
  import {
2
2
  ChatWindow,
3
3
  ChatWindow_default
4
- } from "../chunk-KY5MMT7Q.mjs";
4
+ } from "../chunk-X37Q7VME.mjs";
5
5
  import "../chunk-7DUHHRAU.mjs";
6
6
  import "../chunk-WNLUUD5N.mjs";
7
7
  import "../chunk-7QZ4XT2P.mjs";
8
8
  import "../chunk-UQMPEMY7.mjs";
9
- import "../chunk-GKJNQUTW.mjs";
10
- import "../chunk-FE7PEZTI.mjs";
9
+ import "../chunk-USWK2S3Y.mjs";
10
+ import "../chunk-ZJWUBR2X.mjs";
11
+ import "../chunk-4ZZ7YRTB.mjs";
12
+ import "../chunk-4R5YXNU4.mjs";
11
13
  export {
12
14
  ChatWindow,
13
15
  ChatWindow_default as default
@@ -1,14 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk7P4MIU6Ijs = require('../chunk-7P4MIU6I.js');
4
+ var _chunkEX63M5IDjs = require('../chunk-EX63M5ID.js');
5
5
  require('../chunk-WVVXZKNI.js');
6
6
  require('../chunk-UKGQ7256.js');
7
- require('../chunk-GRXBGL6Q.js');
7
+ require('../chunk-56ZV3VVY.js');
8
+ require('../chunk-YMKA4L3Z.js');
8
9
  require('../chunk-VCULFIZ5.js');
9
10
  require('../chunk-UF3DXKCI.js');
10
- require('../chunk-CI2WHAT2.js');
11
+ require('../chunk-4MQCUKIC.js');
12
+ require('../chunk-TQOWIDQT.js');
11
13
 
12
14
 
13
15
 
14
- exports.CommentThread = _chunk7P4MIU6Ijs.CommentThread; exports.default = _chunk7P4MIU6Ijs.CommentThread_default;
16
+ exports.CommentThread = _chunkEX63M5IDjs.CommentThread; exports.default = _chunkEX63M5IDjs.CommentThread_default;
@@ -1,13 +1,15 @@
1
1
  import {
2
2
  CommentThread,
3
3
  CommentThread_default
4
- } from "../chunk-6OOGL43U.mjs";
4
+ } from "../chunk-MMGZEG7G.mjs";
5
5
  import "../chunk-7QZ4XT2P.mjs";
6
6
  import "../chunk-UQMPEMY7.mjs";
7
- import "../chunk-GKJNQUTW.mjs";
7
+ import "../chunk-USWK2S3Y.mjs";
8
+ import "../chunk-ZJWUBR2X.mjs";
8
9
  import "../chunk-TGKNEMD4.mjs";
9
10
  import "../chunk-HLS4CHWX.mjs";
10
- import "../chunk-FE7PEZTI.mjs";
11
+ import "../chunk-4ZZ7YRTB.mjs";
12
+ import "../chunk-4R5YXNU4.mjs";
11
13
  export {
12
14
  CommentThread,
13
15
  CommentThread_default as default
@@ -1,10 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkK6F6P66Ijs = require('../chunk-K6F6P66I.js');
4
- require('../chunk-HU7AMIOC.js');
3
+ var _chunkUE52NMPOjs = require('../chunk-UE52NMPO.js');
4
+ require('../chunk-SXHP4Q7O.js');
5
5
  require('../chunk-FI53LYZ6.js');
6
- require('../chunk-GRXBGL6Q.js');
6
+ require('../chunk-56ZV3VVY.js');
7
+ require('../chunk-YMKA4L3Z.js');
7
8
  require('../chunk-STTQ5LXX.js');
8
9
 
9
10
 
10
- exports.CropUpload = _chunkK6F6P66Ijs.CropUpload;
11
+ exports.CropUpload = _chunkUE52NMPOjs.CropUpload;
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  CropUpload
3
- } from "../chunk-BBAYDH2M.mjs";
4
- import "../chunk-HWG4HNQH.mjs";
3
+ } from "../chunk-3FEFHD3E.mjs";
4
+ import "../chunk-AKDBQOKX.mjs";
5
5
  import "../chunk-SY23FAXK.mjs";
6
- import "../chunk-GKJNQUTW.mjs";
6
+ import "../chunk-USWK2S3Y.mjs";
7
+ import "../chunk-ZJWUBR2X.mjs";
7
8
  import "../chunk-SEWNVIHH.mjs";
8
9
  export {
9
10
  CropUpload
@@ -1,12 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk2JUPXEWXjs = require('../chunk-2JUPXEWX.js');
4
+ var _chunk7YUD6VICjs = require('../chunk-7YUD6VIC.js');
5
5
  require('../chunk-5EZWYEGJ.js');
6
6
  require('../chunk-6Z4LLPZA.js');
7
7
  require('../chunk-ZYJTHGQW.js');
8
- require('../chunk-GRXBGL6Q.js');
8
+ require('../chunk-56ZV3VVY.js');
9
+ require('../chunk-YMKA4L3Z.js');
9
10
 
10
11
 
11
12
 
12
- exports.DataTableWithToolbar = _chunk2JUPXEWXjs.DataTableWithToolbar; exports.default = _chunk2JUPXEWXjs.DataTableWithToolbar_default;
13
+ exports.DataTableWithToolbar = _chunk7YUD6VICjs.DataTableWithToolbar; exports.default = _chunk7YUD6VICjs.DataTableWithToolbar_default;
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  DataTableWithToolbar,
3
3
  DataTableWithToolbar_default
4
- } from "../chunk-DLLLDGXD.mjs";
4
+ } from "../chunk-6CAKUMWV.mjs";
5
5
  import "../chunk-T7ACOL7K.mjs";
6
6
  import "../chunk-T4OVGM4X.mjs";
7
7
  import "../chunk-WNLUUD5N.mjs";
8
- import "../chunk-GKJNQUTW.mjs";
8
+ import "../chunk-USWK2S3Y.mjs";
9
+ import "../chunk-ZJWUBR2X.mjs";
9
10
  export {
10
11
  DataTableWithToolbar,
11
12
  DataTableWithToolbar_default as default
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkP3XVLJYDjs = require('../chunk-P3XVLJYD.js');
4
+ var _chunk6CWZXS5Bjs = require('../chunk-6CWZXS5B.js');
5
5
 
6
6
 
7
7
 
8
- exports.Descriptions = _chunkP3XVLJYDjs.Descriptions; exports.default = _chunkP3XVLJYDjs.Descriptions_default;
8
+ exports.Descriptions = _chunk6CWZXS5Bjs.Descriptions; exports.default = _chunk6CWZXS5Bjs.Descriptions_default;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Descriptions,
3
3
  Descriptions_default
4
- } from "../chunk-EPN7QWP6.mjs";
4
+ } from "../chunk-3G5EJRD4.mjs";
5
5
  export {
6
6
  Descriptions,
7
7
  Descriptions_default as default
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { DividerProps as DividerProps$1 } from '@expcat/tigercat-core';
3
3
 
4
- interface DividerProps extends DividerProps$1 {
4
+ interface DividerProps extends DividerProps$1, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
5
5
  /** Additional CSS classes */
6
6
  className?: string;
7
7
  }