@expcat/tigercat-react 1.2.0 → 1.2.16
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.
- package/dist/{chunk-ILYL3KSJ.js → chunk-2DH6MGC6.js} +4 -5
- package/dist/{chunk-BBAYDH2M.mjs → chunk-3FEFHD3E.mjs} +2 -2
- package/dist/{chunk-EPN7QWP6.mjs → chunk-3G5EJRD4.mjs} +6 -1
- package/dist/{chunk-CI2WHAT2.js → chunk-4MQCUKIC.js} +12 -5
- package/dist/{chunk-FE7PEZTI.mjs → chunk-4ZZ7YRTB.mjs} +11 -4
- package/dist/{chunk-GRXBGL6Q.js → chunk-56ZV3VVY.js} +10 -4
- package/dist/{chunk-RPKF4S2Q.mjs → chunk-5XS6PXBX.mjs} +1 -1
- package/dist/{chunk-DLLLDGXD.mjs → chunk-6CAKUMWV.mjs} +1 -1
- package/dist/{chunk-P3XVLJYD.js → chunk-6CWZXS5B.js} +6 -1
- package/dist/{chunk-2JUPXEWX.js → chunk-7YUD6VIC.js} +3 -3
- package/dist/{chunk-HWG4HNQH.mjs → chunk-AKDBQOKX.mjs} +1 -1
- package/dist/{chunk-2WBFUUVP.mjs → chunk-BONUUJU3.mjs} +4 -1
- package/dist/{chunk-IUTPGKU5.js → chunk-DTYDPMNR.js} +3 -3
- package/dist/{chunk-PLUE64IS.js → chunk-DXMSDLVJ.js} +2 -2
- package/dist/{chunk-7P4MIU6I.js → chunk-EX63M5ID.js} +9 -9
- package/dist/{chunk-X7XFQCDD.mjs → chunk-GBJILZTY.mjs} +1 -1
- package/dist/{chunk-2PCALG7V.js → chunk-H4AR4GXH.js} +4 -1
- package/dist/{chunk-QIXQYLH5.js → chunk-IZXU7DF6.js} +6 -2
- package/dist/{chunk-S7RUTD3X.mjs → chunk-J5R4Q2QM.mjs} +1 -1
- package/dist/{chunk-6OOGL43U.mjs → chunk-MMGZEG7G.mjs} +2 -2
- package/dist/{chunk-LA3CJOWA.js → chunk-NMEVQPOD.js} +2 -1
- package/dist/{chunk-OFTLPYYC.mjs → chunk-OQ6Z6U7R.mjs} +43 -3
- package/dist/{chunk-EV6KRX6F.mjs → chunk-OXGAZPPS.mjs} +1 -1
- package/dist/{chunk-IUT6A4FC.js → chunk-RUZQN7X3.js} +3 -3
- package/dist/{chunk-U5244LHL.mjs → chunk-SDZOVRVR.mjs} +0 -1
- package/dist/{chunk-A54CDNCF.js → chunk-SIY6FDKJ.js} +0 -1
- package/dist/{chunk-HU7AMIOC.js → chunk-SXHP4Q7O.js} +3 -3
- package/dist/{chunk-K6F6P66I.js → chunk-UE52NMPO.js} +5 -5
- package/dist/{chunk-GKJNQUTW.mjs → chunk-USWK2S3Y.mjs} +9 -3
- package/dist/{chunk-L6CL63GI.js → chunk-VDF2BD2A.js} +41 -1
- package/dist/{chunk-F2OF6XZ6.js → chunk-VNMWPJDN.js} +1 -1
- package/dist/{chunk-AOZLBASY.mjs → chunk-VSFDT2RS.mjs} +6 -2
- package/dist/{chunk-AZDNGGV7.mjs → chunk-WQ4FOHOU.mjs} +2 -1
- package/dist/{chunk-KY5MMT7Q.mjs → chunk-X37Q7VME.mjs} +2 -3
- package/dist/components/ActivityFeed.js +4 -3
- package/dist/components/ActivityFeed.mjs +3 -2
- package/dist/components/Alert.d.mts +3 -2
- package/dist/components/Alert.d.ts +3 -2
- package/dist/components/Alert.js +2 -2
- package/dist/components/Alert.mjs +1 -1
- package/dist/components/Avatar.js +3 -2
- package/dist/components/Avatar.mjs +2 -1
- package/dist/components/Breadcrumb.js +2 -2
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/BreadcrumbItem.js +2 -2
- package/dist/components/BreadcrumbItem.mjs +1 -1
- package/dist/components/Button.js +3 -2
- package/dist/components/Button.mjs +2 -1
- package/dist/components/ChatWindow.js +6 -4
- package/dist/components/ChatWindow.mjs +5 -3
- package/dist/components/CommentThread.js +6 -4
- package/dist/components/CommentThread.mjs +5 -3
- package/dist/components/CropUpload.js +5 -4
- package/dist/components/CropUpload.mjs +4 -3
- package/dist/components/DataTableWithToolbar.js +4 -3
- package/dist/components/DataTableWithToolbar.mjs +3 -2
- package/dist/components/Descriptions.js +2 -2
- package/dist/components/Descriptions.mjs +1 -1
- package/dist/components/Divider.d.mts +1 -1
- package/dist/components/Divider.d.ts +1 -1
- package/dist/components/Divider.js +2 -2
- package/dist/components/Divider.mjs +1 -1
- package/dist/components/FormWizard.js +4 -3
- package/dist/components/FormWizard.mjs +3 -2
- package/dist/components/Modal.js +4 -3
- package/dist/components/Modal.mjs +3 -2
- package/dist/components/Notification.js +2 -2
- package/dist/components/Notification.mjs +1 -1
- package/dist/components/NotificationCenter.js +4 -3
- package/dist/components/NotificationCenter.mjs +3 -2
- package/dist/components/Splitter.js +2 -2
- package/dist/components/Splitter.mjs +1 -1
- package/dist/components/Tree.js +2 -2
- package/dist/components/Tree.mjs +1 -1
- package/dist/index.js +24 -24
- package/dist/index.mjs +23 -23
- 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
|
|
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
|
-
|
|
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,
|
|
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",
|
|
@@ -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
|
|
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,
|
|
304
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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
|
|
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
|
|
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
|
-
|
|
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,
|
|
153
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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
|
|
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[
|
|
62
|
+
buttonSizeClasses[resolvedSize],
|
|
57
63
|
isDisabled && buttonDisabledClasses,
|
|
58
64
|
block && "w-full",
|
|
59
65
|
className
|
|
60
66
|
);
|
|
61
|
-
}, [variant,
|
|
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(
|
|
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
|
-
() =>
|
|
24
|
-
|
|
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-
|
|
12
|
+
} from "./chunk-USWK2S3Y.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Avatar
|
|
15
|
-
} from "./chunk-
|
|
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
|
|
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-
|
|
12
|
+
require('../chunk-4MQCUKIC.js');
|
|
13
|
+
require('../chunk-TQOWIDQT.js');
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
exports.ActivityFeed =
|
|
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-
|
|
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-
|
|
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
|
|
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
|
|
21
|
+
onClose?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
|
|
21
22
|
}
|
|
22
23
|
declare const Alert: React.FC<AlertProps>;
|
|
23
24
|
|
package/dist/components/Alert.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVNMWPJDNjs = require('../chunk-VNMWPJDN.js');
|
|
4
4
|
require('../chunk-HQ3QOT7H.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.Alert =
|
|
7
|
+
exports.Alert = _chunkVNMWPJDNjs.Alert;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4MQCUKICjs = require('../chunk-4MQCUKIC.js');
|
|
4
|
+
require('../chunk-TQOWIDQT.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
|
-
exports.Avatar =
|
|
7
|
+
exports.Avatar = _chunk4MQCUKICjs.Avatar;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkVDF2BD2Ajs = require('../chunk-VDF2BD2A.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Breadcrumb =
|
|
10
|
+
exports.Breadcrumb = _chunkVDF2BD2Ajs.Breadcrumb; exports.BreadcrumbItem = _chunkVDF2BD2Ajs.BreadcrumbItem; exports.useBreadcrumbContext = _chunkVDF2BD2Ajs.useBreadcrumbContext;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVDF2BD2Ajs = require('../chunk-VDF2BD2A.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.BreadcrumbItem =
|
|
6
|
+
exports.BreadcrumbItem = _chunkVDF2BD2Ajs.BreadcrumbItem;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk56ZV3VVYjs = require('../chunk-56ZV3VVY.js');
|
|
4
|
+
require('../chunk-YMKA4L3Z.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
|
-
exports.Button =
|
|
7
|
+
exports.Button = _chunk56ZV3VVYjs.Button;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
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-
|
|
10
|
-
require('../chunk-
|
|
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 =
|
|
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-
|
|
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-
|
|
10
|
-
import "../chunk-
|
|
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
|
|
4
|
+
var _chunkEX63M5IDjs = require('../chunk-EX63M5ID.js');
|
|
5
5
|
require('../chunk-WVVXZKNI.js');
|
|
6
6
|
require('../chunk-UKGQ7256.js');
|
|
7
|
-
require('../chunk-
|
|
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-
|
|
11
|
+
require('../chunk-4MQCUKIC.js');
|
|
12
|
+
require('../chunk-TQOWIDQT.js');
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
|
|
14
|
-
exports.CommentThread =
|
|
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-
|
|
4
|
+
} from "../chunk-MMGZEG7G.mjs";
|
|
5
5
|
import "../chunk-7QZ4XT2P.mjs";
|
|
6
6
|
import "../chunk-UQMPEMY7.mjs";
|
|
7
|
-
import "../chunk-
|
|
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-
|
|
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
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkUE52NMPOjs = require('../chunk-UE52NMPO.js');
|
|
4
|
+
require('../chunk-SXHP4Q7O.js');
|
|
5
5
|
require('../chunk-FI53LYZ6.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-56ZV3VVY.js');
|
|
7
|
+
require('../chunk-YMKA4L3Z.js');
|
|
7
8
|
require('../chunk-STTQ5LXX.js');
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
exports.CropUpload =
|
|
11
|
+
exports.CropUpload = _chunkUE52NMPOjs.CropUpload;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CropUpload
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-3FEFHD3E.mjs";
|
|
4
|
+
import "../chunk-AKDBQOKX.mjs";
|
|
5
5
|
import "../chunk-SY23FAXK.mjs";
|
|
6
|
-
import "../chunk-
|
|
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
|
|
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-
|
|
8
|
+
require('../chunk-56ZV3VVY.js');
|
|
9
|
+
require('../chunk-YMKA4L3Z.js');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
exports.DataTableWithToolbar =
|
|
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-
|
|
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-
|
|
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
|
|
4
|
+
var _chunk6CWZXS5Bjs = require('../chunk-6CWZXS5B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Descriptions =
|
|
8
|
+
exports.Descriptions = _chunk6CWZXS5Bjs.Descriptions; exports.default = _chunk6CWZXS5Bjs.Descriptions_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
|
}
|