@expcat/tigercat-react 1.2.46 → 1.2.52

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 (109) hide show
  1. package/dist/{chunk-D4FXVNRW.mjs → chunk-3CJFNG54.mjs} +2 -2
  2. package/dist/{chunk-USWK2S3Y.mjs → chunk-5TE7KLE5.mjs} +3 -1
  3. package/dist/{chunk-VJJ76I7U.js → chunk-6HDMUF23.js} +2 -1
  4. package/dist/{chunk-CGIBGSNE.js → chunk-6TR7JB6C.js} +49 -8
  5. package/dist/{chunk-ZDGBH4NA.js → chunk-7DZWTHYM.js} +20 -8
  6. package/dist/{chunk-EWSYARW4.js → chunk-7GAMKBSL.js} +92 -58
  7. package/dist/{chunk-JLQBG5XU.js → chunk-AKUAI5FG.js} +1 -0
  8. package/dist/{chunk-FZIF5LZW.js → chunk-AW5M3EL4.js} +5 -5
  9. package/dist/{chunk-ZL44XLSB.mjs → chunk-BBWCJSVR.mjs} +1 -1
  10. package/dist/{chunk-CHS54PVQ.mjs → chunk-BWDQZSAB.mjs} +2 -1
  11. package/dist/{chunk-IHH2O7YK.js → chunk-C5BPHZXK.js} +19 -1
  12. package/dist/{chunk-UPPHGL64.js → chunk-CY5GRTAX.js} +4 -3
  13. package/dist/{chunk-AGHGG73I.mjs → chunk-DLJZMMD7.mjs} +145 -56
  14. package/dist/{chunk-H2YHUFMK.js → chunk-EEWHWEYO.js} +5 -5
  15. package/dist/{chunk-Y5E4XH6H.mjs → chunk-F6IXIH6B.mjs} +4 -3
  16. package/dist/{chunk-I5YYA7FB.mjs → chunk-FB34UWF7.mjs} +3 -3
  17. package/dist/{chunk-OFCKGWTS.js → chunk-FJDTVJTX.js} +7 -2
  18. package/dist/{chunk-UIO6O4MI.js → chunk-FQO7BKXW.js} +4 -2
  19. package/dist/{chunk-6KQYWZ6J.mjs → chunk-GN3TSQWW.mjs} +49 -8
  20. package/dist/{chunk-7JFP3MIW.js → chunk-GQFVVAEF.js} +3 -3
  21. package/dist/{chunk-TYZNV54N.mjs → chunk-H3DEILMB.mjs} +1 -0
  22. package/dist/{chunk-TUA5PDRX.mjs → chunk-HDCC4FBL.mjs} +19 -1
  23. package/dist/{chunk-RL6HARKE.mjs → chunk-I2AUOICV.mjs} +1 -1
  24. package/dist/{chunk-UVWLYRAC.js → chunk-I373B74W.js} +7 -7
  25. package/dist/{chunk-NF3OF7S5.mjs → chunk-IGAMV6ML.mjs} +1 -1
  26. package/dist/{chunk-P6E3DILH.mjs → chunk-IXV5YBCZ.mjs} +5 -3
  27. package/dist/{chunk-AE2QE2C6.js → chunk-JJUJRILK.js} +2 -2
  28. package/dist/{chunk-7E24KEVK.mjs → chunk-KGSDDVRC.mjs} +1 -1
  29. package/dist/{chunk-PKWHSCFK.mjs → chunk-L5AMVEQL.mjs} +2 -2
  30. package/dist/{chunk-BCQQYERG.js → chunk-N4PP3ENO.js} +2 -2
  31. package/dist/{chunk-56DP32W7.mjs → chunk-NVEIVIAW.mjs} +2 -2
  32. package/dist/{chunk-KVZE7UGH.mjs → chunk-OEZ3CSEM.mjs} +87 -53
  33. package/dist/{chunk-IFVIPIAA.js → chunk-OREZJC6O.js} +144 -55
  34. package/dist/{chunk-DSXII6ZF.js → chunk-OZD75CLT.js} +3 -3
  35. package/dist/{chunk-JCINYGGM.js → chunk-PUZDW7NR.js} +12 -12
  36. package/dist/{chunk-ABTJVM3X.js → chunk-RF2BA2N6.js} +2 -2
  37. package/dist/{chunk-TLU3ROLT.js → chunk-UMZ3PMUJ.js} +2 -1
  38. package/dist/{chunk-TGKNEMD4.mjs → chunk-WMPCN7OF.mjs} +3 -1
  39. package/dist/{chunk-HUMGEP7S.mjs → chunk-WX5VUIGT.mjs} +3 -2
  40. package/dist/{chunk-OXDX6CH2.mjs → chunk-Y5RQN5BO.mjs} +1 -1
  41. package/dist/{chunk-OQTPXPAP.mjs → chunk-YN5ZIWCE.mjs} +8 -3
  42. package/dist/{chunk-JVTAKNRO.mjs → chunk-ZA5EFHET.mjs} +1 -1
  43. package/dist/{chunk-VCULFIZ5.js → chunk-ZJI2VLIL.js} +2 -0
  44. package/dist/{chunk-XJXEAXWY.mjs → chunk-ZJXKVQ4G.mjs} +20 -8
  45. package/dist/{chunk-56ZV3VVY.js → chunk-ZLNBE4IS.js} +2 -0
  46. package/dist/{chunk-PR3PQUKM.js → chunk-ZZAR4IDS.js} +1 -1
  47. package/dist/components/ActivityFeed.js +5 -5
  48. package/dist/components/ActivityFeed.mjs +4 -4
  49. package/dist/components/Button.js +2 -2
  50. package/dist/components/Button.mjs +1 -1
  51. package/dist/components/Card.js +2 -2
  52. package/dist/components/Card.mjs +1 -1
  53. package/dist/components/ChatWindow.js +3 -3
  54. package/dist/components/ChatWindow.mjs +2 -2
  55. package/dist/components/CommentThread.js +4 -4
  56. package/dist/components/CommentThread.mjs +3 -3
  57. package/dist/components/Content.js +2 -2
  58. package/dist/components/Content.mjs +1 -1
  59. package/dist/components/CropUpload.js +4 -4
  60. package/dist/components/CropUpload.mjs +3 -3
  61. package/dist/components/DataTableWithToolbar.d.mts +10 -3
  62. package/dist/components/DataTableWithToolbar.d.ts +10 -3
  63. package/dist/components/DataTableWithToolbar.js +4 -4
  64. package/dist/components/DataTableWithToolbar.mjs +3 -3
  65. package/dist/components/Drawer.js +2 -2
  66. package/dist/components/Drawer.mjs +1 -1
  67. package/dist/components/Dropdown.js +2 -2
  68. package/dist/components/Dropdown.mjs +1 -1
  69. package/dist/components/DropdownItem.js +3 -3
  70. package/dist/components/DropdownItem.mjs +2 -2
  71. package/dist/components/DropdownMenu.js +2 -2
  72. package/dist/components/DropdownMenu.mjs +1 -1
  73. package/dist/components/Form.js +2 -2
  74. package/dist/components/Form.mjs +1 -1
  75. package/dist/components/FormItem.js +3 -3
  76. package/dist/components/FormItem.mjs +2 -2
  77. package/dist/components/FormWizard.js +3 -3
  78. package/dist/components/FormWizard.mjs +2 -2
  79. package/dist/components/Header.js +2 -2
  80. package/dist/components/Header.mjs +1 -1
  81. package/dist/components/Icon.js +2 -2
  82. package/dist/components/Icon.mjs +1 -1
  83. package/dist/components/Image.js +3 -2
  84. package/dist/components/Image.mjs +2 -1
  85. package/dist/components/Menu.js +2 -2
  86. package/dist/components/Menu.mjs +1 -1
  87. package/dist/components/MenuItem.js +2 -2
  88. package/dist/components/MenuItem.mjs +1 -1
  89. package/dist/components/MenuItemGroup.js +2 -2
  90. package/dist/components/MenuItemGroup.mjs +1 -1
  91. package/dist/components/Modal.js +3 -3
  92. package/dist/components/Modal.mjs +2 -2
  93. package/dist/components/NotificationCenter.js +4 -4
  94. package/dist/components/NotificationCenter.mjs +3 -3
  95. package/dist/components/SubMenu.js +2 -2
  96. package/dist/components/SubMenu.mjs +1 -1
  97. package/dist/components/Table.d.mts +1 -1
  98. package/dist/components/Table.d.ts +1 -1
  99. package/dist/components/Table.js +2 -2
  100. package/dist/components/Table.mjs +1 -1
  101. package/dist/components/Tag.js +2 -2
  102. package/dist/components/Tag.mjs +1 -1
  103. package/dist/components/Timeline.js +2 -2
  104. package/dist/components/Timeline.mjs +1 -1
  105. package/dist/index.d.mts +1 -1
  106. package/dist/index.d.ts +1 -1
  107. package/dist/index.js +24 -24
  108. package/dist/index.mjs +23 -23
  109. package/package.json +2 -2
@@ -3,7 +3,7 @@
3
3
  var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
4
4
 
5
5
 
6
- var _chunk56ZV3VVYjs = require('./chunk-56ZV3VVY.js');
6
+ var _chunkZLNBE4ISjs = require('./chunk-ZLNBE4IS.js');
7
7
 
8
8
 
9
9
 
@@ -313,8 +313,8 @@ var Modal = ({
313
313
  ),
314
314
  children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.modalBodyClasses, children }),
315
315
  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: [
316
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { variant: "secondary", onClick: handleClose, children: resolvedCancelText }),
317
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { onClick: handleOk, children: resolvedOkText })
316
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZLNBE4ISjs.Button, { variant: "secondary", onClick: handleClose, children: resolvedCancelText }),
317
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZLNBE4ISjs.Button, { onClick: handleOk, children: resolvedOkText })
318
318
  ] }) : null
319
319
  ]
320
320
  }
@@ -3,10 +3,10 @@
3
3
  var _chunkWVVXZKNIjs = require('./chunk-WVVXZKNI.js');
4
4
 
5
5
 
6
- var _chunk56ZV3VVYjs = require('./chunk-56ZV3VVY.js');
6
+ var _chunkZLNBE4ISjs = require('./chunk-ZLNBE4IS.js');
7
7
 
8
8
 
9
- var _chunkVCULFIZ5js = require('./chunk-VCULFIZ5.js');
9
+ var _chunkZJI2VLILjs = require('./chunk-ZJI2VLIL.js');
10
10
 
11
11
 
12
12
  var _chunkUF3DXKCIjs = require('./chunk-UF3DXKCI.js');
@@ -112,7 +112,7 @@ var CommentThread = ({
112
112
  const likeCount = node.likes ? ` ${node.likes}` : "";
113
113
  actions.push(
114
114
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
115
- _chunk56ZV3VVYjs.Button,
115
+ _chunkZLNBE4ISjs.Button,
116
116
  {
117
117
  size: "sm",
118
118
  variant: "ghost",
@@ -134,7 +134,7 @@ var CommentThread = ({
134
134
  if (showReply) {
135
135
  actions.push(
136
136
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
137
- _chunk56ZV3VVYjs.Button,
137
+ _chunkZLNBE4ISjs.Button,
138
138
  {
139
139
  size: "sm",
140
140
  variant: "ghost",
@@ -158,7 +158,7 @@ var CommentThread = ({
158
158
  if (showMore) {
159
159
  actions.push(
160
160
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
161
- _chunk56ZV3VVYjs.Button,
161
+ _chunkZLNBE4ISjs.Button,
162
162
  {
163
163
  size: "sm",
164
164
  variant: "ghost",
@@ -181,7 +181,7 @@ var CommentThread = ({
181
181
  const actionKey = _nullishCoalesce(action.key, () => ( `${node.id}-action-${index}`));
182
182
  actions.push(
183
183
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
184
- _chunk56ZV3VVYjs.Button,
184
+ _chunkZLNBE4ISjs.Button,
185
185
  {
186
186
  size: "sm",
187
187
  variant: _nullishCoalesce(action.variant, () => ( "ghost")),
@@ -223,8 +223,8 @@ var CommentThread = ({
223
223
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 flex-wrap", children: [
224
224
  _optionalChain([node, 'access', _9 => _9.user, 'optionalAccess', _10 => _10.name]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUF3DXKCIjs.Text, { tag: "span", size: "sm", weight: "bold", className: "text-gray-900 dark:text-gray-100 hover:text-blue-600 dark:hover:text-blue-400 transition-colors cursor-pointer", children: node.user.name }) : null,
225
225
  _optionalChain([node, 'access', _11 => _11.user, 'optionalAccess', _12 => _12.title]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUF3DXKCIjs.Text, { tag: "span", size: "xs", color: "muted", className: "bg-gray-100 dark:bg-gray-800 px-1.5 py-0.5 rounded text-gray-500 dark:text-gray-400 font-medium", children: node.user.title }) : null,
226
- node.tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCULFIZ5js.Tag, { size: "sm", variant: _nullishCoalesce(node.tag.variant, () => ( "default")), className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10", children: node.tag.label }) : null,
227
- _optionalChain([node, 'access', _13 => _13.tags, 'optionalAccess', _14 => _14.map, 'call', _15 => _15((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCULFIZ5js.Tag, { size: "sm", variant: _nullishCoalesce(tag.variant, () => ( "default")), className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10", children: tag.label }, `${node.id}-tag-${index}`))]),
226
+ node.tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZJI2VLILjs.Tag, { size: "sm", variant: _nullishCoalesce(node.tag.variant, () => ( "default")), className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10", children: node.tag.label }) : null,
227
+ _optionalChain([node, 'access', _13 => _13.tags, 'optionalAccess', _14 => _14.map, 'call', _15 => _15((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZJI2VLILjs.Tag, { size: "sm", variant: _nullishCoalesce(tag.variant, () => ( "default")), className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10", children: tag.label }, `${node.id}-tag-${index}`))]),
228
228
  node.time ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUF3DXKCIjs.Text, { tag: "span", size: "xs", color: "muted", className: "ml-auto text-gray-400 dark:text-gray-500 font-normal", children: _tigercatcore.formatCommentTime.call(void 0, node.time) }) : null
229
229
  ] }),
230
230
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-sm text-gray-600 dark:text-gray-300 leading-relaxed break-words mt-2 mb-3 pr-2", children: node.content }),
@@ -242,7 +242,7 @@ var CommentThread = ({
242
242
  ),
243
243
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 justify-end", children: [
244
244
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
245
- _chunk56ZV3VVYjs.Button,
245
+ _chunkZLNBE4ISjs.Button,
246
246
  {
247
247
  size: "sm",
248
248
  variant: "ghost",
@@ -255,7 +255,7 @@ var CommentThread = ({
255
255
  }
256
256
  ),
257
257
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
258
- _chunk56ZV3VVYjs.Button,
258
+ _chunkZLNBE4ISjs.Button,
259
259
  {
260
260
  size: "sm",
261
261
  variant: "primary",
@@ -267,7 +267,7 @@ var CommentThread = ({
267
267
  ] })
268
268
  ] }) : null,
269
269
  hasChildren ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
270
- _chunk56ZV3VVYjs.Button,
270
+ _chunkZLNBE4ISjs.Button,
271
271
  {
272
272
  size: "sm",
273
273
  variant: "ghost",
@@ -288,7 +288,7 @@ var CommentThread = ({
288
288
  (child, index) => renderNode(child, depth + 1, index === visibleChildren.length - 1)
289
289
  ),
290
290
  showLoadMoreBtn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
291
- _chunk56ZV3VVYjs.Button,
291
+ _chunkZLNBE4ISjs.Button,
292
292
  {
293
293
  size: "sm",
294
294
  variant: "ghost",
@@ -12,7 +12,7 @@ var _chunkZRHDNGWOjs = require('./chunk-ZRHDNGWO.js');
12
12
  var _chunkWVVXZKNIjs = require('./chunk-WVVXZKNI.js');
13
13
 
14
14
 
15
- var _chunk56ZV3VVYjs = require('./chunk-56ZV3VVY.js');
15
+ var _chunkZLNBE4ISjs = require('./chunk-ZLNBE4IS.js');
16
16
 
17
17
 
18
18
  var _chunk4MQCUKICjs = require('./chunk-4MQCUKIC.js');
@@ -233,7 +233,7 @@ var ChatWindow = ({
233
233
  onKeyDown: handleKeyDown
234
234
  }
235
235
  ) }),
236
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk56ZV3VVYjs.Button, { disabled: !canSend, onClick: handleSend, "aria-label": _nullishCoalesce(sendAriaLabel, () => ( sendText)), children: sendText })
236
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZLNBE4ISjs.Button, { disabled: !canSend, onClick: handleSend, "aria-label": _nullishCoalesce(sendAriaLabel, () => ( sendText)), children: sendText })
237
237
  ] })
238
238
  ] });
239
239
  };
@@ -69,6 +69,7 @@ var Drawer = ({
69
69
  zIndex = 1e3,
70
70
  className,
71
71
  bodyClassName,
72
+ bodyPadding,
72
73
  destroyOnClose = false,
73
74
  destroyOnCloseAfterLeave = false,
74
75
  fullscreenOnMobile = true,
@@ -223,7 +224,7 @@ var Drawer = ({
223
224
  panelClassName
224
225
  );
225
226
  const headerClasses = _tigercatcore.getDrawerHeaderClasses.call(void 0, );
226
- const bodyClasses = _tigercatcore.getDrawerBodyClasses.call(void 0, bodyClassName);
227
+ const bodyClasses = _tigercatcore.getDrawerBodyClasses.call(void 0, bodyClassName, bodyPadding);
227
228
  const footerClasses = _tigercatcore.getDrawerFooterClasses.call(void 0, );
228
229
  const closeButtonClasses = _tigercatcore.getDrawerCloseButtonClasses.call(void 0, );
229
230
  const titleClasses = _tigercatcore.getDrawerTitleClasses.call(void 0, );
@@ -11,7 +11,8 @@ import {
11
11
  tagBaseClasses,
12
12
  tagSizeClasses,
13
13
  tagCloseButtonBaseClasses,
14
- tagCloseIconPath
14
+ tagCloseIconPath,
15
+ warnUnsupportedColorProp
15
16
  } from "@expcat/tigercat-core";
16
17
  import { jsx, jsxs } from "react/jsx-runtime";
17
18
  var CloseIcon = () => /* @__PURE__ */ jsx(
@@ -45,6 +46,7 @@ var Tag = ({
45
46
  className,
46
47
  ...props
47
48
  }) => {
49
+ warnUnsupportedColorProp("Tag", props);
48
50
  const [isVisible, setIsVisible] = useState(true);
49
51
  const tagClasses = useMemo(
50
52
  () => classNames(tagBaseClasses, getTagVariantClasses(variant), tagSizeClasses[size], className),
@@ -1,17 +1,18 @@
1
1
  // src/components/Header.tsx
2
2
  import {
3
3
  classNames,
4
- layoutHeaderClasses
4
+ getLayoutHeaderClasses
5
5
  } from "@expcat/tigercat-core";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  var Header = ({
8
8
  className,
9
+ variant = "default",
9
10
  height = "64px",
10
11
  style,
11
12
  children,
12
13
  ...props
13
14
  }) => {
14
- const headerClasses = classNames(layoutHeaderClasses, className);
15
+ const headerClasses = classNames(getLayoutHeaderClasses(variant), className);
15
16
  const headerStyle = { ...style, height };
16
17
  return /* @__PURE__ */ jsx("header", { className: headerClasses, style: headerStyle, ...props, children });
17
18
  };
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-7QZ4XT2P.mjs";
13
13
  import {
14
14
  Button
15
- } from "./chunk-USWK2S3Y.mjs";
15
+ } from "./chunk-5TE7KLE5.mjs";
16
16
  import {
17
17
  Avatar
18
18
  } from "./chunk-4ZZ7YRTB.mjs";
@@ -1,11 +1,16 @@
1
1
  // src/components/Content.tsx
2
2
  import {
3
3
  classNames,
4
- layoutContentClasses
4
+ getLayoutContentClasses
5
5
  } from "@expcat/tigercat-core";
6
6
  import { jsx } from "react/jsx-runtime";
7
- var Content = ({ className, children, ...props }) => {
8
- const contentClasses = classNames(layoutContentClasses, className);
7
+ var Content = ({
8
+ className,
9
+ padding = true,
10
+ children,
11
+ ...props
12
+ }) => {
13
+ const contentClasses = classNames(getLayoutContentClasses(padding), className);
9
14
  return /* @__PURE__ */ jsx("main", { className: contentClasses, ...props, children });
10
15
  };
11
16
 
@@ -75,7 +75,7 @@ var Timeline = ({
75
75
  /* @__PURE__ */ jsx("div", { className: headClasses, children: renderDotElement(item) }),
76
76
  /* @__PURE__ */ jsxs("div", { className: contentClasses, children: [
77
77
  item.label && /* @__PURE__ */ jsx("div", { className: timelineLabelClasses, children: item.label }),
78
- item.content && /* @__PURE__ */ jsx("div", { className: timelineDescriptionClasses, children: item.content })
78
+ item.content ? /* @__PURE__ */ jsx("div", { className: timelineDescriptionClasses, children: item.content }) : null
79
79
  ] })
80
80
  ] }, key);
81
81
  };
@@ -12,6 +12,7 @@ var _react = require('react');
12
12
 
13
13
 
14
14
 
15
+
15
16
  var _tigercatcore = require('@expcat/tigercat-core');
16
17
  var _jsxruntime = require('react/jsx-runtime');
17
18
  var CloseIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -45,6 +46,7 @@ var Tag = ({
45
46
  className,
46
47
  ...props
47
48
  }) => {
49
+ _tigercatcore.warnUnsupportedColorProp.call(void 0, "Tag", props);
48
50
  const [isVisible, setIsVisible] = _react.useState.call(void 0, true);
49
51
  const tagClasses = _react.useMemo.call(void 0,
50
52
  () => _tigercatcore.classNames.call(void 0, _tigercatcore.tagBaseClasses, _tigercatcore.getTagVariantClasses.call(void 0, variant), _tigercatcore.tagSizeClasses[size], className),
@@ -27,6 +27,7 @@ import {
27
27
  isKeySelected,
28
28
  isKeyOpen,
29
29
  menuItemIconClasses,
30
+ menuCollapsedIconClasses,
30
31
  menuItemGroupTitleClasses,
31
32
  menuSearchFieldClasses,
32
33
  menuSearchEmptyClasses,
@@ -259,18 +260,22 @@ var MenuItem = ({
259
260
  );
260
261
  const renderIcon = () => {
261
262
  if (!icon) return null;
263
+ const iconClasses = effectiveCollapsed ? menuCollapsedIconClasses : menuItemIconClasses;
262
264
  if (typeof icon === "string") {
263
- return /* @__PURE__ */ jsx("span", { className: menuItemIconClasses, dangerouslySetInnerHTML: { __html: icon } });
265
+ return /* @__PURE__ */ jsx("span", { className: iconClasses, dangerouslySetInnerHTML: { __html: icon } });
264
266
  }
265
- return /* @__PURE__ */ jsx("span", { className: menuItemIconClasses, children: icon });
267
+ return /* @__PURE__ */ jsx("span", { className: iconClasses, children: icon });
266
268
  };
267
269
  const renderLabel = () => {
268
270
  if (!effectiveCollapsed) return /* @__PURE__ */ jsx("span", { className: "flex-1", children });
269
271
  if (!icon) {
270
272
  const text = String(children || "");
271
- return /* @__PURE__ */ jsx("span", { className: "flex-1 text-center", children: text.charAt(0).toUpperCase() });
273
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
274
+ /* @__PURE__ */ jsx("span", { className: "flex-1 text-center", "aria-hidden": "true", children: text.charAt(0).toUpperCase() }),
275
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children })
276
+ ] });
272
277
  }
273
- return null;
278
+ return /* @__PURE__ */ jsx("span", { className: "sr-only", children });
274
279
  };
275
280
  return /* @__PURE__ */ jsx("li", { role: "none", children: /* @__PURE__ */ jsxs(
276
281
  "button",
@@ -529,10 +534,11 @@ var SubMenu = ({
529
534
  if (!menuContext) return null;
530
535
  const renderIcon = () => {
531
536
  if (!icon) return null;
537
+ const iconClasses = effectiveCollapsed ? menuCollapsedIconClasses : menuItemIconClasses;
532
538
  if (typeof icon === "string") {
533
- return /* @__PURE__ */ jsx("span", { className: menuItemIconClasses, dangerouslySetInnerHTML: { __html: icon } });
539
+ return /* @__PURE__ */ jsx("span", { className: iconClasses, dangerouslySetInnerHTML: { __html: icon } });
534
540
  }
535
- return /* @__PURE__ */ jsx("span", { className: menuItemIconClasses, children: icon });
541
+ return /* @__PURE__ */ jsx("span", { className: iconClasses, children: icon });
536
542
  };
537
543
  const renderTitle = () => {
538
544
  if (!effectiveCollapsed) {
@@ -542,9 +548,15 @@ var SubMenu = ({
542
548
  menuContext.mode !== "horizontal" && !isPopup && /* @__PURE__ */ jsx(ExpandIcon, { expanded: isExpanded })
543
549
  ] });
544
550
  } else if (!icon) {
545
- return /* @__PURE__ */ jsx("span", { className: "flex-1 text-center", children: title.charAt(0).toUpperCase() });
551
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
552
+ /* @__PURE__ */ jsx("span", { className: "flex-1 text-center", "aria-hidden": "true", children: title.charAt(0).toUpperCase() }),
553
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: title })
554
+ ] });
546
555
  } else {
547
- return renderIcon();
556
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
557
+ renderIcon(),
558
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: title })
559
+ ] });
548
560
  }
549
561
  };
550
562
  const renderContent = () => {
@@ -12,6 +12,7 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
12
12
 
13
13
 
14
14
 
15
+
15
16
  var _tigercatcore = require('@expcat/tigercat-core');
16
17
  var _jsxruntime = require('react/jsx-runtime');
17
18
  var createDefaultSpinner = () => {
@@ -49,6 +50,7 @@ var Button = ({
49
50
  "aria-disabled": ariaDisabledProp,
50
51
  ...rest
51
52
  }) => {
53
+ _tigercatcore.warnUnsupportedColorProp.call(void 0, "Button", rest);
52
54
  const group = _chunkYMKA4L3Zjs.useButtonGroupContext.call(void 0, );
53
55
  const resolvedSize = _nullishCoalesce(_nullishCoalesce(size, () => ( _optionalChain([group, 'optionalAccess', _ => _.size]))), () => ( "md"));
54
56
  const isDisabled = disabled || loading;
@@ -75,7 +75,7 @@ var Timeline = ({
75
75
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: headClasses, children: renderDotElement(item) }),
76
76
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: contentClasses, children: [
77
77
  item.label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.timelineLabelClasses, children: item.label }),
78
- item.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.timelineDescriptionClasses, children: item.content })
78
+ item.content ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.timelineDescriptionClasses, children: item.content }) : null
79
79
  ] })
80
80
  ] }, key);
81
81
  };
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkUVWLYRACjs = require('../chunk-UVWLYRAC.js');
5
- require('../chunk-PR3PQUKM.js');
4
+ var _chunkI373B74Wjs = require('../chunk-I373B74W.js');
5
+ require('../chunk-ZZAR4IDS.js');
6
6
  require('../chunk-3MRP3XYI.js');
7
7
  require('../chunk-QYYAXM5F.js');
8
8
  require('../chunk-STTQ5LXX.js');
9
- require('../chunk-VCULFIZ5.js');
9
+ require('../chunk-ZJI2VLIL.js');
10
10
  require('../chunk-UF3DXKCI.js');
11
- require('../chunk-UIO6O4MI.js');
11
+ require('../chunk-FQO7BKXW.js');
12
12
  require('../chunk-4MQCUKIC.js');
13
13
  require('../chunk-TQOWIDQT.js');
14
14
 
15
15
 
16
16
 
17
- exports.ActivityFeed = _chunkUVWLYRACjs.ActivityFeed; exports.default = _chunkUVWLYRACjs.ActivityFeed_default;
17
+ exports.ActivityFeed = _chunkI373B74Wjs.ActivityFeed; exports.default = _chunkI373B74Wjs.ActivityFeed_default;
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  ActivityFeed,
3
3
  ActivityFeed_default
4
- } from "../chunk-I5YYA7FB.mjs";
5
- import "../chunk-JVTAKNRO.mjs";
4
+ } from "../chunk-FB34UWF7.mjs";
5
+ import "../chunk-ZA5EFHET.mjs";
6
6
  import "../chunk-FNJDBFKM.mjs";
7
7
  import "../chunk-XZVQ3PJS.mjs";
8
8
  import "../chunk-SEWNVIHH.mjs";
9
- import "../chunk-TGKNEMD4.mjs";
9
+ import "../chunk-WMPCN7OF.mjs";
10
10
  import "../chunk-HLS4CHWX.mjs";
11
- import "../chunk-P6E3DILH.mjs";
11
+ import "../chunk-IXV5YBCZ.mjs";
12
12
  import "../chunk-4ZZ7YRTB.mjs";
13
13
  import "../chunk-4R5YXNU4.mjs";
14
14
  export {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk56ZV3VVYjs = require('../chunk-56ZV3VVY.js');
3
+ var _chunkZLNBE4ISjs = require('../chunk-ZLNBE4IS.js');
4
4
  require('../chunk-YMKA4L3Z.js');
5
5
 
6
6
 
7
- exports.Button = _chunk56ZV3VVYjs.Button;
7
+ exports.Button = _chunkZLNBE4ISjs.Button;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Button
3
- } from "../chunk-USWK2S3Y.mjs";
3
+ } from "../chunk-5TE7KLE5.mjs";
4
4
  import "../chunk-ZJWUBR2X.mjs";
5
5
  export {
6
6
  Button
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUIO6O4MIjs = require('../chunk-UIO6O4MI.js');
3
+ var _chunkFQO7BKXWjs = require('../chunk-FQO7BKXW.js');
4
4
 
5
5
 
6
- exports.Card = _chunkUIO6O4MIjs.Card;
6
+ exports.Card = _chunkFQO7BKXWjs.Card;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Card
3
- } from "../chunk-P6E3DILH.mjs";
3
+ } from "../chunk-IXV5YBCZ.mjs";
4
4
  export {
5
5
  Card
6
6
  };
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkABTJVM3Xjs = require('../chunk-ABTJVM3X.js');
4
+ var _chunkRF2BA2N6js = require('../chunk-RF2BA2N6.js');
5
5
  require('../chunk-P36GX65N.js');
6
6
  require('../chunk-ZYJTHGQW.js');
7
7
  require('../chunk-ZRHDNGWO.js');
8
8
  require('../chunk-WVVXZKNI.js');
9
9
  require('../chunk-UKGQ7256.js');
10
- require('../chunk-56ZV3VVY.js');
10
+ require('../chunk-ZLNBE4IS.js');
11
11
  require('../chunk-YMKA4L3Z.js');
12
12
  require('../chunk-4MQCUKIC.js');
13
13
  require('../chunk-TQOWIDQT.js');
14
14
 
15
15
 
16
16
 
17
- exports.ChatWindow = _chunkABTJVM3Xjs.ChatWindow; exports.default = _chunkABTJVM3Xjs.ChatWindow_default;
17
+ exports.ChatWindow = _chunkRF2BA2N6js.ChatWindow; exports.default = _chunkRF2BA2N6js.ChatWindow_default;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ChatWindow,
3
3
  ChatWindow_default
4
- } from "../chunk-OXDX6CH2.mjs";
4
+ } from "../chunk-Y5RQN5BO.mjs";
5
5
  import "../chunk-7DUHHRAU.mjs";
6
6
  import "../chunk-WNLUUD5N.mjs";
7
7
  import "../chunk-WIWTY74F.mjs";
8
8
  import "../chunk-7QZ4XT2P.mjs";
9
9
  import "../chunk-UQMPEMY7.mjs";
10
- import "../chunk-USWK2S3Y.mjs";
10
+ import "../chunk-5TE7KLE5.mjs";
11
11
  import "../chunk-ZJWUBR2X.mjs";
12
12
  import "../chunk-4ZZ7YRTB.mjs";
13
13
  import "../chunk-4R5YXNU4.mjs";
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkJCINYGGMjs = require('../chunk-JCINYGGM.js');
4
+ var _chunkPUZDW7NRjs = require('../chunk-PUZDW7NR.js');
5
5
  require('../chunk-WVVXZKNI.js');
6
6
  require('../chunk-UKGQ7256.js');
7
- require('../chunk-56ZV3VVY.js');
7
+ require('../chunk-ZLNBE4IS.js');
8
8
  require('../chunk-YMKA4L3Z.js');
9
- require('../chunk-VCULFIZ5.js');
9
+ require('../chunk-ZJI2VLIL.js');
10
10
  require('../chunk-UF3DXKCI.js');
11
11
  require('../chunk-4MQCUKIC.js');
12
12
  require('../chunk-TQOWIDQT.js');
13
13
 
14
14
 
15
15
 
16
- exports.CommentThread = _chunkJCINYGGMjs.CommentThread; exports.default = _chunkJCINYGGMjs.CommentThread_default;
16
+ exports.CommentThread = _chunkPUZDW7NRjs.CommentThread; exports.default = _chunkPUZDW7NRjs.CommentThread_default;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CommentThread,
3
3
  CommentThread_default
4
- } from "../chunk-56DP32W7.mjs";
4
+ } from "../chunk-NVEIVIAW.mjs";
5
5
  import "../chunk-7QZ4XT2P.mjs";
6
6
  import "../chunk-UQMPEMY7.mjs";
7
- import "../chunk-USWK2S3Y.mjs";
7
+ import "../chunk-5TE7KLE5.mjs";
8
8
  import "../chunk-ZJWUBR2X.mjs";
9
- import "../chunk-TGKNEMD4.mjs";
9
+ import "../chunk-WMPCN7OF.mjs";
10
10
  import "../chunk-HLS4CHWX.mjs";
11
11
  import "../chunk-4ZZ7YRTB.mjs";
12
12
  import "../chunk-4R5YXNU4.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOFCKGWTSjs = require('../chunk-OFCKGWTS.js');
3
+ var _chunkFJDTVJTXjs = require('../chunk-FJDTVJTX.js');
4
4
 
5
5
 
6
- exports.Content = _chunkOFCKGWTSjs.Content;
6
+ exports.Content = _chunkFJDTVJTXjs.Content;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Content
3
- } from "../chunk-OQTPXPAP.mjs";
3
+ } from "../chunk-YN5ZIWCE.mjs";
4
4
  export {
5
5
  Content
6
6
  };
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkH2YHUFMKjs = require('../chunk-H2YHUFMK.js');
4
- require('../chunk-DSXII6ZF.js');
3
+ var _chunkEEWHWEYOjs = require('../chunk-EEWHWEYO.js');
4
+ require('../chunk-OZD75CLT.js');
5
5
  require('../chunk-FI53LYZ6.js');
6
6
  require('../chunk-TDODFBBO.js');
7
- require('../chunk-56ZV3VVY.js');
7
+ require('../chunk-ZLNBE4IS.js');
8
8
  require('../chunk-YMKA4L3Z.js');
9
9
  require('../chunk-STTQ5LXX.js');
10
10
 
11
11
 
12
- exports.CropUpload = _chunkH2YHUFMKjs.CropUpload;
12
+ exports.CropUpload = _chunkEEWHWEYOjs.CropUpload;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  CropUpload
3
- } from "../chunk-D4FXVNRW.mjs";
4
- import "../chunk-RL6HARKE.mjs";
3
+ } from "../chunk-3CJFNG54.mjs";
4
+ import "../chunk-I2AUOICV.mjs";
5
5
  import "../chunk-SY23FAXK.mjs";
6
6
  import "../chunk-QAIBQHIO.mjs";
7
- import "../chunk-USWK2S3Y.mjs";
7
+ import "../chunk-5TE7KLE5.mjs";
8
8
  import "../chunk-ZJWUBR2X.mjs";
9
9
  import "../chunk-SEWNVIHH.mjs";
10
10
  export {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
- import { TableToolbarProps, TableToolbarFilter, TableToolbarFilterRenderContext, TableToolbarFiltersExtraContext, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
3
+ import { TableToolbarProps, TableToolbarFilter, TableToolbarFilterRenderContext, TableToolbarFiltersExtraContext, TableToolbarRenderContext, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
4
4
  import { T as TableProps } from '../types-CHmCMNEM.mjs';
5
5
 
6
6
  interface ReactTableToolbarFilterRenderContext extends Omit<TableToolbarFilterRenderContext, 'filter'> {
@@ -11,9 +11,16 @@ interface ReactTableToolbarFiltersExtraContext extends TableToolbarFiltersExtraC
11
11
  interface ReactTableToolbarFilter extends Omit<TableToolbarFilter, 'render'> {
12
12
  render?: (context: ReactTableToolbarFilterRenderContext) => React.ReactNode;
13
13
  }
14
- interface ReactTableToolbarProps extends Omit<TableToolbarProps, 'filters' | 'filtersExtra'> {
14
+ interface ReactTableToolbarRenderContext extends TableToolbarRenderContext {
15
+ }
16
+ interface ReactTableToolbarProps extends Omit<TableToolbarProps, 'filters' | 'filtersExtra' | 'render'> {
15
17
  filters?: ReactTableToolbarFilter[];
16
18
  filtersExtra?: React.ReactNode | ((context: ReactTableToolbarFiltersExtraContext) => React.ReactNode);
19
+ /**
20
+ * Full toolbar replacement. When provided, the built-in toolbar region
21
+ * (including its container and `role="toolbar"`) is not rendered.
22
+ */
23
+ render?: React.ReactNode | ((context: ReactTableToolbarRenderContext) => React.ReactNode);
17
24
  }
18
25
  interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<TableProps<T>, 'className' | 'onPageChange'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onChange'> {
19
26
  /**
@@ -55,4 +62,4 @@ interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<Ta
55
62
  }
56
63
  declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys, onHiddenColumnsChange, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
57
64
 
58
- export { DataTableWithToolbar, type DataTableWithToolbarProps, type ReactTableToolbarFilter, type ReactTableToolbarFilterRenderContext, type ReactTableToolbarFiltersExtraContext, type ReactTableToolbarProps, DataTableWithToolbar as default };
65
+ export { DataTableWithToolbar, type DataTableWithToolbarProps, type ReactTableToolbarFilter, type ReactTableToolbarFilterRenderContext, type ReactTableToolbarFiltersExtraContext, type ReactTableToolbarProps, type ReactTableToolbarRenderContext, DataTableWithToolbar as default };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
- import { TableToolbarProps, TableToolbarFilter, TableToolbarFilterRenderContext, TableToolbarFiltersExtraContext, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
3
+ import { TableToolbarProps, TableToolbarFilter, TableToolbarFilterRenderContext, TableToolbarFiltersExtraContext, TableToolbarRenderContext, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
4
4
  import { T as TableProps } from '../types-CHmCMNEM.js';
5
5
 
6
6
  interface ReactTableToolbarFilterRenderContext extends Omit<TableToolbarFilterRenderContext, 'filter'> {
@@ -11,9 +11,16 @@ interface ReactTableToolbarFiltersExtraContext extends TableToolbarFiltersExtraC
11
11
  interface ReactTableToolbarFilter extends Omit<TableToolbarFilter, 'render'> {
12
12
  render?: (context: ReactTableToolbarFilterRenderContext) => React.ReactNode;
13
13
  }
14
- interface ReactTableToolbarProps extends Omit<TableToolbarProps, 'filters' | 'filtersExtra'> {
14
+ interface ReactTableToolbarRenderContext extends TableToolbarRenderContext {
15
+ }
16
+ interface ReactTableToolbarProps extends Omit<TableToolbarProps, 'filters' | 'filtersExtra' | 'render'> {
15
17
  filters?: ReactTableToolbarFilter[];
16
18
  filtersExtra?: React.ReactNode | ((context: ReactTableToolbarFiltersExtraContext) => React.ReactNode);
19
+ /**
20
+ * Full toolbar replacement. When provided, the built-in toolbar region
21
+ * (including its container and `role="toolbar"`) is not rendered.
22
+ */
23
+ render?: React.ReactNode | ((context: ReactTableToolbarRenderContext) => React.ReactNode);
17
24
  }
18
25
  interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<TableProps<T>, 'className' | 'onPageChange'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onChange'> {
19
26
  /**
@@ -55,4 +62,4 @@ interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<Ta
55
62
  }
56
63
  declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys, onHiddenColumnsChange, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
57
64
 
58
- export { DataTableWithToolbar, type DataTableWithToolbarProps, type ReactTableToolbarFilter, type ReactTableToolbarFilterRenderContext, type ReactTableToolbarFiltersExtraContext, type ReactTableToolbarProps, DataTableWithToolbar as default };
65
+ export { DataTableWithToolbar, type DataTableWithToolbarProps, type ReactTableToolbarFilter, type ReactTableToolbarFilterRenderContext, type ReactTableToolbarFiltersExtraContext, type ReactTableToolbarProps, type ReactTableToolbarRenderContext, DataTableWithToolbar as default };