@expcat/tigercat-react 0.0.1 → 0.0.42
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-GX74TC62.js +54 -0
- package/dist/chunk-OHIZYM65.mjs +51 -0
- package/dist/components/Code.d.mts +9 -0
- package/dist/components/Code.d.ts +9 -0
- package/dist/components/Code.js +16 -0
- package/dist/components/Code.mjs +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +38 -33
- package/dist/index.mjs +8 -7
- package/package.json +2 -2
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var react = require('react');
|
|
4
|
+
var tigercatCore = require('@expcat/tigercat-core');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
// src/components/Code.tsx
|
|
8
|
+
var Code = ({
|
|
9
|
+
code,
|
|
10
|
+
copyable = true,
|
|
11
|
+
copyLabel = "\u590D\u5236",
|
|
12
|
+
copiedLabel = "\u5DF2\u590D\u5236",
|
|
13
|
+
onCopy,
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}) => {
|
|
17
|
+
const [isCopied, setIsCopied] = react.useState(false);
|
|
18
|
+
react.useEffect(() => {
|
|
19
|
+
if (!isCopied) return;
|
|
20
|
+
const timer = window.setTimeout(() => {
|
|
21
|
+
setIsCopied(false);
|
|
22
|
+
}, 1500);
|
|
23
|
+
return () => window.clearTimeout(timer);
|
|
24
|
+
}, [isCopied]);
|
|
25
|
+
const handleCopy = async () => {
|
|
26
|
+
if (!copyable) return;
|
|
27
|
+
const ok = await tigercatCore.copyTextToClipboard(code);
|
|
28
|
+
if (!ok) return;
|
|
29
|
+
setIsCopied(true);
|
|
30
|
+
onCopy?.(code);
|
|
31
|
+
};
|
|
32
|
+
const containerClasses = tigercatCore.classNames(tigercatCore.codeBlockContainerClasses, className);
|
|
33
|
+
const copyButtonClasses = tigercatCore.classNames(
|
|
34
|
+
tigercatCore.codeBlockCopyButtonBaseClasses,
|
|
35
|
+
isCopied && tigercatCore.codeBlockCopyButtonCopiedClasses
|
|
36
|
+
);
|
|
37
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: containerClasses, ...props, children: [
|
|
38
|
+
/* @__PURE__ */ jsxRuntime.jsx("pre", { className: tigercatCore.codeBlockPreClasses, children: /* @__PURE__ */ jsxRuntime.jsx("code", { className: "block", children: code }) }),
|
|
39
|
+
copyable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40
|
+
"button",
|
|
41
|
+
{
|
|
42
|
+
type: "button",
|
|
43
|
+
className: copyButtonClasses,
|
|
44
|
+
onClick: handleCopy,
|
|
45
|
+
"aria-label": isCopied ? copiedLabel : copyLabel,
|
|
46
|
+
children: isCopied ? copiedLabel : copyLabel
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] });
|
|
50
|
+
};
|
|
51
|
+
var Code_default = Code;
|
|
52
|
+
|
|
53
|
+
exports.Code = Code;
|
|
54
|
+
exports.Code_default = Code_default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
import { classNames, codeBlockContainerClasses, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, codeBlockPreClasses, copyTextToClipboard } from '@expcat/tigercat-core';
|
|
3
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
// src/components/Code.tsx
|
|
6
|
+
var Code = ({
|
|
7
|
+
code,
|
|
8
|
+
copyable = true,
|
|
9
|
+
copyLabel = "\u590D\u5236",
|
|
10
|
+
copiedLabel = "\u5DF2\u590D\u5236",
|
|
11
|
+
onCopy,
|
|
12
|
+
className,
|
|
13
|
+
...props
|
|
14
|
+
}) => {
|
|
15
|
+
const [isCopied, setIsCopied] = useState(false);
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
if (!isCopied) return;
|
|
18
|
+
const timer = window.setTimeout(() => {
|
|
19
|
+
setIsCopied(false);
|
|
20
|
+
}, 1500);
|
|
21
|
+
return () => window.clearTimeout(timer);
|
|
22
|
+
}, [isCopied]);
|
|
23
|
+
const handleCopy = async () => {
|
|
24
|
+
if (!copyable) return;
|
|
25
|
+
const ok = await copyTextToClipboard(code);
|
|
26
|
+
if (!ok) return;
|
|
27
|
+
setIsCopied(true);
|
|
28
|
+
onCopy?.(code);
|
|
29
|
+
};
|
|
30
|
+
const containerClasses = classNames(codeBlockContainerClasses, className);
|
|
31
|
+
const copyButtonClasses = classNames(
|
|
32
|
+
codeBlockCopyButtonBaseClasses,
|
|
33
|
+
isCopied && codeBlockCopyButtonCopiedClasses
|
|
34
|
+
);
|
|
35
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, ...props, children: [
|
|
36
|
+
/* @__PURE__ */ jsx("pre", { className: codeBlockPreClasses, children: /* @__PURE__ */ jsx("code", { className: "block", children: code }) }),
|
|
37
|
+
copyable && /* @__PURE__ */ jsx(
|
|
38
|
+
"button",
|
|
39
|
+
{
|
|
40
|
+
type: "button",
|
|
41
|
+
className: copyButtonClasses,
|
|
42
|
+
onClick: handleCopy,
|
|
43
|
+
"aria-label": isCopied ? copiedLabel : copyLabel,
|
|
44
|
+
children: isCopied ? copiedLabel : copyLabel
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
] });
|
|
48
|
+
};
|
|
49
|
+
var Code_default = Code;
|
|
50
|
+
|
|
51
|
+
export { Code, Code_default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CodeProps as CodeProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type CodeProps = CodeProps$1 & Omit<React.HTMLAttributes<HTMLDivElement>, keyof CodeProps$1 | 'onCopy'> & {
|
|
5
|
+
onCopy?: (code: string) => void;
|
|
6
|
+
};
|
|
7
|
+
declare const Code: React.FC<CodeProps>;
|
|
8
|
+
|
|
9
|
+
export { Code, type CodeProps, Code as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CodeProps as CodeProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type CodeProps = CodeProps$1 & Omit<React.HTMLAttributes<HTMLDivElement>, keyof CodeProps$1 | 'onCopy'> & {
|
|
5
|
+
onCopy?: (code: string) => void;
|
|
6
|
+
};
|
|
7
|
+
declare const Code: React.FC<CodeProps>;
|
|
8
|
+
|
|
9
|
+
export { Code, type CodeProps, Code as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkGX74TC62_js = require('../chunk-GX74TC62.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Code", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkGX74TC62_js.Code; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkGX74TC62_js.Code_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Code, Code_default as default } from '../chunk-OHIZYM65.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -18,6 +18,7 @@ export { Col, ColProps } from './components/Col.mjs';
|
|
|
18
18
|
export { Container, ContainerProps } from './components/Container.mjs';
|
|
19
19
|
export { Link, LinkProps } from './components/Link.mjs';
|
|
20
20
|
export { Text, TextProps } from './components/Text.mjs';
|
|
21
|
+
export { default as Code, CodeProps } from './components/Code.mjs';
|
|
21
22
|
export { Icon, IconProps } from './components/Icon.mjs';
|
|
22
23
|
export { Layout, ReactLayoutProps as LayoutProps } from './components/Layout.mjs';
|
|
23
24
|
export { Header, ReactHeaderProps as HeaderProps } from './components/Header.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { Col, ColProps } from './components/Col.js';
|
|
|
18
18
|
export { Container, ContainerProps } from './components/Container.js';
|
|
19
19
|
export { Link, LinkProps } from './components/Link.js';
|
|
20
20
|
export { Text, TextProps } from './components/Text.js';
|
|
21
|
+
export { default as Code, CodeProps } from './components/Code.js';
|
|
21
22
|
export { Icon, IconProps } from './components/Icon.js';
|
|
22
23
|
export { Layout, ReactLayoutProps as LayoutProps } from './components/Layout.js';
|
|
23
24
|
export { Header, ReactHeaderProps as HeaderProps } from './components/Header.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkQ3DPJHNM_js = require('./chunk-Q3DPJHNM.js');
|
|
3
4
|
var chunk2TS6X5RA_js = require('./chunk-2TS6X5RA.js');
|
|
4
5
|
var chunkYYGTJKP5_js = require('./chunk-YYGTJKP5.js');
|
|
5
6
|
var chunkR7MS42PL_js = require('./chunk-R7MS42PL.js');
|
|
@@ -7,27 +8,28 @@ var chunk7P6PHSFM_js = require('./chunk-7P6PHSFM.js');
|
|
|
7
8
|
var chunkIQINYCU6_js = require('./chunk-IQINYCU6.js');
|
|
8
9
|
var chunkWK5HN4OH_js = require('./chunk-WK5HN4OH.js');
|
|
9
10
|
var chunkC5EFBJBR_js = require('./chunk-C5EFBJBR.js');
|
|
10
|
-
var
|
|
11
|
+
var chunkXZDJ5FRB_js = require('./chunk-XZDJ5FRB.js');
|
|
11
12
|
var chunkNI2WNZRT_js = require('./chunk-NI2WNZRT.js');
|
|
12
13
|
var chunkAQQRWISY_js = require('./chunk-AQQRWISY.js');
|
|
13
14
|
var chunkD3I2SY7X_js = require('./chunk-D3I2SY7X.js');
|
|
14
15
|
var chunkVVO4V4IK_js = require('./chunk-VVO4V4IK.js');
|
|
15
|
-
var chunkR5BQHZWB_js = require('./chunk-R5BQHZWB.js');
|
|
16
16
|
var chunkHDDBBZQH_js = require('./chunk-HDDBBZQH.js');
|
|
17
|
+
var chunkR5BQHZWB_js = require('./chunk-R5BQHZWB.js');
|
|
18
|
+
var chunkQORSSZX4_js = require('./chunk-QORSSZX4.js');
|
|
17
19
|
var chunkYE2M2HNM_js = require('./chunk-YE2M2HNM.js');
|
|
18
20
|
var chunk5QKMQRCW_js = require('./chunk-5QKMQRCW.js');
|
|
19
21
|
var chunkVSF4DF7N_js = require('./chunk-VSF4DF7N.js');
|
|
20
22
|
var chunkIFY46RWU_js = require('./chunk-IFY46RWU.js');
|
|
21
23
|
var chunkIY4LEJYF_js = require('./chunk-IY4LEJYF.js');
|
|
22
|
-
var chunkXZDJ5FRB_js = require('./chunk-XZDJ5FRB.js');
|
|
23
24
|
var chunkLXA2YBAO_js = require('./chunk-LXA2YBAO.js');
|
|
24
25
|
var chunk3WPKVV4N_js = require('./chunk-3WPKVV4N.js');
|
|
26
|
+
var chunkQFVE7GKD_js = require('./chunk-QFVE7GKD.js');
|
|
25
27
|
var chunkEUHWE7MN_js = require('./chunk-EUHWE7MN.js');
|
|
26
28
|
var chunkTBIEWDY5_js = require('./chunk-TBIEWDY5.js');
|
|
27
29
|
var chunkOTRGVENC_js = require('./chunk-OTRGVENC.js');
|
|
28
30
|
var chunkDZJUFU55_js = require('./chunk-DZJUFU55.js');
|
|
29
31
|
var chunkENR3RIMM_js = require('./chunk-ENR3RIMM.js');
|
|
30
|
-
var
|
|
32
|
+
var chunkP273E6XE_js = require('./chunk-P273E6XE.js');
|
|
31
33
|
var chunkVJJ76I7U_js = require('./chunk-VJJ76I7U.js');
|
|
32
34
|
var chunkAQ6DHCP6_js = require('./chunk-AQ6DHCP6.js');
|
|
33
35
|
var chunkQL6OBKEN_js = require('./chunk-QL6OBKEN.js');
|
|
@@ -36,7 +38,7 @@ var chunkMKWXJZ3T_js = require('./chunk-MKWXJZ3T.js');
|
|
|
36
38
|
var chunkAG6GVQ5O_js = require('./chunk-AG6GVQ5O.js');
|
|
37
39
|
var chunkFQ6UHRAO_js = require('./chunk-FQ6UHRAO.js');
|
|
38
40
|
var chunk6MGEGOYJ_js = require('./chunk-6MGEGOYJ.js');
|
|
39
|
-
var
|
|
41
|
+
var chunkUFAXJVMD_js = require('./chunk-UFAXJVMD.js');
|
|
40
42
|
var chunkZREFCRX3_js = require('./chunk-ZREFCRX3.js');
|
|
41
43
|
var chunk5FRENLDC_js = require('./chunk-5FRENLDC.js');
|
|
42
44
|
var chunk77D7VQMG_js = require('./chunk-77D7VQMG.js');
|
|
@@ -44,17 +46,16 @@ var chunkLNKI6HQ3_js = require('./chunk-LNKI6HQ3.js');
|
|
|
44
46
|
require('./chunk-NEULKOYJ.js');
|
|
45
47
|
var chunkEQWQXURG_js = require('./chunk-EQWQXURG.js');
|
|
46
48
|
var chunkTB2UHDOZ_js = require('./chunk-TB2UHDOZ.js');
|
|
47
|
-
var chunkP273E6XE_js = require('./chunk-P273E6XE.js');
|
|
48
49
|
var chunkJW64IJP2_js = require('./chunk-JW64IJP2.js');
|
|
49
50
|
var chunkU4ZVEPYD_js = require('./chunk-U4ZVEPYD.js');
|
|
50
51
|
var chunkTJFS44SH_js = require('./chunk-TJFS44SH.js');
|
|
52
|
+
var chunkGX74TC62_js = require('./chunk-GX74TC62.js');
|
|
51
53
|
var chunkKUCFT2OA_js = require('./chunk-KUCFT2OA.js');
|
|
52
54
|
var chunkEI2GHMQS_js = require('./chunk-EI2GHMQS.js');
|
|
53
55
|
var chunkQL6UEG3U_js = require('./chunk-QL6UEG3U.js');
|
|
54
56
|
var chunk72ZRDBXN_js = require('./chunk-72ZRDBXN.js');
|
|
55
57
|
var chunkOFCKGWTS_js = require('./chunk-OFCKGWTS.js');
|
|
56
58
|
var chunk2Y327ZU4_js = require('./chunk-2Y327ZU4.js');
|
|
57
|
-
var chunkUFAXJVMD_js = require('./chunk-UFAXJVMD.js');
|
|
58
59
|
var chunk3OF7XPIQ_js = require('./chunk-3OF7XPIQ.js');
|
|
59
60
|
var chunkTZ26HQAW_js = require('./chunk-TZ26HQAW.js');
|
|
60
61
|
var chunk5ZVSFIZD_js = require('./chunk-5ZVSFIZD.js');
|
|
@@ -66,6 +67,10 @@ var tigercatCore = require('@expcat/tigercat-core');
|
|
|
66
67
|
|
|
67
68
|
var version = "0.0.1";
|
|
68
69
|
|
|
70
|
+
Object.defineProperty(exports, "Upload", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkQ3DPJHNM_js.Upload; }
|
|
73
|
+
});
|
|
69
74
|
Object.defineProperty(exports, "Tag", {
|
|
70
75
|
enumerable: true,
|
|
71
76
|
get: function () { return chunk2TS6X5RA_js.Tag; }
|
|
@@ -94,9 +99,9 @@ Object.defineProperty(exports, "Tree", {
|
|
|
94
99
|
enumerable: true,
|
|
95
100
|
get: function () { return chunkC5EFBJBR_js.Tree; }
|
|
96
101
|
});
|
|
97
|
-
Object.defineProperty(exports, "
|
|
102
|
+
Object.defineProperty(exports, "Slider", {
|
|
98
103
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkXZDJ5FRB_js.Slider; }
|
|
100
105
|
});
|
|
101
106
|
Object.defineProperty(exports, "Space", {
|
|
102
107
|
enumerable: true,
|
|
@@ -122,10 +127,6 @@ Object.defineProperty(exports, "Switch", {
|
|
|
122
127
|
enumerable: true,
|
|
123
128
|
get: function () { return chunkVVO4V4IK_js.Switch; }
|
|
124
129
|
});
|
|
125
|
-
Object.defineProperty(exports, "Table", {
|
|
126
|
-
enumerable: true,
|
|
127
|
-
get: function () { return chunkR5BQHZWB_js.Table; }
|
|
128
|
-
});
|
|
129
130
|
Object.defineProperty(exports, "TabPane", {
|
|
130
131
|
enumerable: true,
|
|
131
132
|
get: function () { return chunkHDDBBZQH_js.TabPane; }
|
|
@@ -138,6 +139,14 @@ Object.defineProperty(exports, "useTabsContext", {
|
|
|
138
139
|
enumerable: true,
|
|
139
140
|
get: function () { return chunkHDDBBZQH_js.useTabsContext; }
|
|
140
141
|
});
|
|
142
|
+
Object.defineProperty(exports, "Table", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return chunkR5BQHZWB_js.Table; }
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "Popover", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () { return chunkQORSSZX4_js.Popover; }
|
|
149
|
+
});
|
|
141
150
|
Object.defineProperty(exports, "Progress", {
|
|
142
151
|
enumerable: true,
|
|
143
152
|
get: function () { return chunkYE2M2HNM_js.Progress; }
|
|
@@ -158,10 +167,6 @@ Object.defineProperty(exports, "Skeleton", {
|
|
|
158
167
|
enumerable: true,
|
|
159
168
|
get: function () { return chunkIY4LEJYF_js.Skeleton; }
|
|
160
169
|
});
|
|
161
|
-
Object.defineProperty(exports, "Slider", {
|
|
162
|
-
enumerable: true,
|
|
163
|
-
get: function () { return chunkXZDJ5FRB_js.Slider; }
|
|
164
|
-
});
|
|
165
170
|
Object.defineProperty(exports, "MenuItemGroup", {
|
|
166
171
|
enumerable: true,
|
|
167
172
|
get: function () { return chunkLXA2YBAO_js.MenuItemGroup; }
|
|
@@ -170,6 +175,14 @@ Object.defineProperty(exports, "MenuItem", {
|
|
|
170
175
|
enumerable: true,
|
|
171
176
|
get: function () { return chunk3WPKVV4N_js.MenuItem; }
|
|
172
177
|
});
|
|
178
|
+
Object.defineProperty(exports, "Menu", {
|
|
179
|
+
enumerable: true,
|
|
180
|
+
get: function () { return chunkQFVE7GKD_js.Menu; }
|
|
181
|
+
});
|
|
182
|
+
Object.defineProperty(exports, "useMenuContext", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function () { return chunkQFVE7GKD_js.useMenuContext; }
|
|
185
|
+
});
|
|
173
186
|
Object.defineProperty(exports, "MessageContainer", {
|
|
174
187
|
enumerable: true,
|
|
175
188
|
get: function () { return chunkEUHWE7MN_js.MessageContainer; }
|
|
@@ -198,9 +211,9 @@ Object.defineProperty(exports, "Popconfirm", {
|
|
|
198
211
|
enumerable: true,
|
|
199
212
|
get: function () { return chunkENR3RIMM_js.Popconfirm; }
|
|
200
213
|
});
|
|
201
|
-
Object.defineProperty(exports, "
|
|
214
|
+
Object.defineProperty(exports, "FormItem", {
|
|
202
215
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkP273E6XE_js.FormItem; }
|
|
204
217
|
});
|
|
205
218
|
Object.defineProperty(exports, "Header", {
|
|
206
219
|
enumerable: true,
|
|
@@ -234,13 +247,9 @@ Object.defineProperty(exports, "Loading", {
|
|
|
234
247
|
enumerable: true,
|
|
235
248
|
get: function () { return chunk6MGEGOYJ_js.Loading; }
|
|
236
249
|
});
|
|
237
|
-
Object.defineProperty(exports, "
|
|
238
|
-
enumerable: true,
|
|
239
|
-
get: function () { return chunkQFVE7GKD_js.Menu; }
|
|
240
|
-
});
|
|
241
|
-
Object.defineProperty(exports, "useMenuContext", {
|
|
250
|
+
Object.defineProperty(exports, "Descriptions", {
|
|
242
251
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkUFAXJVMD_js.Descriptions; }
|
|
244
253
|
});
|
|
245
254
|
Object.defineProperty(exports, "Divider", {
|
|
246
255
|
enumerable: true,
|
|
@@ -266,10 +275,6 @@ Object.defineProperty(exports, "Footer", {
|
|
|
266
275
|
enumerable: true,
|
|
267
276
|
get: function () { return chunkTB2UHDOZ_js.Footer; }
|
|
268
277
|
});
|
|
269
|
-
Object.defineProperty(exports, "FormItem", {
|
|
270
|
-
enumerable: true,
|
|
271
|
-
get: function () { return chunkP273E6XE_js.FormItem; }
|
|
272
|
-
});
|
|
273
278
|
Object.defineProperty(exports, "Form", {
|
|
274
279
|
enumerable: true,
|
|
275
280
|
get: function () { return chunkJW64IJP2_js.Form; }
|
|
@@ -286,6 +291,10 @@ Object.defineProperty(exports, "CheckboxGroup", {
|
|
|
286
291
|
enumerable: true,
|
|
287
292
|
get: function () { return chunkTJFS44SH_js.CheckboxGroup; }
|
|
288
293
|
});
|
|
294
|
+
Object.defineProperty(exports, "Code", {
|
|
295
|
+
enumerable: true,
|
|
296
|
+
get: function () { return chunkGX74TC62_js.Code; }
|
|
297
|
+
});
|
|
289
298
|
Object.defineProperty(exports, "Col", {
|
|
290
299
|
enumerable: true,
|
|
291
300
|
get: function () { return chunkKUCFT2OA_js.Col; }
|
|
@@ -314,10 +323,6 @@ Object.defineProperty(exports, "DatePicker", {
|
|
|
314
323
|
enumerable: true,
|
|
315
324
|
get: function () { return chunk2Y327ZU4_js.DatePicker; }
|
|
316
325
|
});
|
|
317
|
-
Object.defineProperty(exports, "Descriptions", {
|
|
318
|
-
enumerable: true,
|
|
319
|
-
get: function () { return chunkUFAXJVMD_js.Descriptions; }
|
|
320
|
-
});
|
|
321
326
|
Object.defineProperty(exports, "Alert", {
|
|
322
327
|
enumerable: true,
|
|
323
328
|
get: function () { return chunk3OF7XPIQ_js.Alert; }
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Upload } from './chunk-RTQNWZN4.mjs';
|
|
1
2
|
export { Tag } from './chunk-DIZNY6N4.mjs';
|
|
2
3
|
export { Text } from './chunk-6YDIBMCM.mjs';
|
|
3
4
|
export { Textarea } from './chunk-672SCJWZ.mjs';
|
|
@@ -5,27 +6,28 @@ export { TimePicker } from './chunk-CES6LGQ7.mjs';
|
|
|
5
6
|
export { Timeline } from './chunk-LADCWARG.mjs';
|
|
6
7
|
export { Tooltip } from './chunk-G6FSHN2I.mjs';
|
|
7
8
|
export { Tree } from './chunk-KAEHFMTQ.mjs';
|
|
8
|
-
export {
|
|
9
|
+
export { Slider } from './chunk-PAD2DX5M.mjs';
|
|
9
10
|
export { Space } from './chunk-NOOPXNR4.mjs';
|
|
10
11
|
export { Steps, StepsItem, useStepsContext } from './chunk-LAZGEMA2.mjs';
|
|
11
12
|
export { SubMenu } from './chunk-QEAC4MIG.mjs';
|
|
12
13
|
export { Switch } from './chunk-7CAJK2ZK.mjs';
|
|
13
|
-
export { Table } from './chunk-K7ZMB2TH.mjs';
|
|
14
14
|
export { TabPane, Tabs, useTabsContext } from './chunk-C52ZCGYG.mjs';
|
|
15
|
+
export { Table } from './chunk-K7ZMB2TH.mjs';
|
|
16
|
+
export { Popover } from './chunk-O3EUFIOS.mjs';
|
|
15
17
|
export { Progress } from './chunk-Z4Z3I74Q.mjs';
|
|
16
18
|
export { Radio } from './chunk-MQXBU5YX.mjs';
|
|
17
19
|
export { RadioGroup } from './chunk-5HUYCSA4.mjs';
|
|
18
20
|
export { Sidebar } from './chunk-3GD3LOII.mjs';
|
|
19
21
|
export { Skeleton } from './chunk-427CM2U6.mjs';
|
|
20
|
-
export { Slider } from './chunk-PAD2DX5M.mjs';
|
|
21
22
|
export { MenuItemGroup } from './chunk-IWENGARY.mjs';
|
|
22
23
|
export { MenuItem } from './chunk-NSGDRTSQ.mjs';
|
|
24
|
+
export { Menu, useMenuContext } from './chunk-WDAMDVLU.mjs';
|
|
23
25
|
export { MessageContainer, message } from './chunk-W7HUFFPJ.mjs';
|
|
24
26
|
export { Modal } from './chunk-7OLWGHUR.mjs';
|
|
25
27
|
export { NotificationContainer, notification } from './chunk-ADOPAXPG.mjs';
|
|
26
28
|
export { Pagination } from './chunk-CTAMMQBC.mjs';
|
|
27
29
|
export { Popconfirm } from './chunk-HQXZVTP4.mjs';
|
|
28
|
-
export {
|
|
30
|
+
export { FormItem } from './chunk-GIYBVWR4.mjs';
|
|
29
31
|
export { Header } from './chunk-HUMGEP7S.mjs';
|
|
30
32
|
export { Icon } from './chunk-ALP3KYYY.mjs';
|
|
31
33
|
export { Input } from './chunk-QN7NIX7D.mjs';
|
|
@@ -34,7 +36,7 @@ export { Link } from './chunk-WSJO2PIE.mjs';
|
|
|
34
36
|
export { List } from './chunk-7KRBDT2Z.mjs';
|
|
35
37
|
export { Select } from './chunk-YYKJ63LD.mjs';
|
|
36
38
|
export { Loading } from './chunk-PUDU34R4.mjs';
|
|
37
|
-
export {
|
|
39
|
+
export { Descriptions } from './chunk-6575DOCV.mjs';
|
|
38
40
|
export { Divider } from './chunk-EB6EDLJZ.mjs';
|
|
39
41
|
export { Drawer } from './chunk-XDKXL2BP.mjs';
|
|
40
42
|
export { DropdownItem } from './chunk-DCRVIDMY.mjs';
|
|
@@ -42,17 +44,16 @@ export { Dropdown } from './chunk-WSCSDSV7.mjs';
|
|
|
42
44
|
import './chunk-ZO4XVOHU.mjs';
|
|
43
45
|
export { DropdownMenu } from './chunk-SIVJX7VU.mjs';
|
|
44
46
|
export { Footer } from './chunk-SJ5RFU2O.mjs';
|
|
45
|
-
export { FormItem } from './chunk-GIYBVWR4.mjs';
|
|
46
47
|
export { Form, useFormContext } from './chunk-3XXXM4OB.mjs';
|
|
47
48
|
export { Checkbox } from './chunk-TR246HQP.mjs';
|
|
48
49
|
export { CheckboxGroup } from './chunk-OCVQ3LOT.mjs';
|
|
50
|
+
export { Code } from './chunk-OHIZYM65.mjs';
|
|
49
51
|
export { Col } from './chunk-CKUSQR2H.mjs';
|
|
50
52
|
export { Row } from './chunk-T4TJJMLM.mjs';
|
|
51
53
|
export { ConfigProvider, useTigerConfig } from './chunk-VEGBO77D.mjs';
|
|
52
54
|
export { Container } from './chunk-472D2S4R.mjs';
|
|
53
55
|
export { Content } from './chunk-OQTPXPAP.mjs';
|
|
54
56
|
export { DatePicker } from './chunk-XS5JP2KO.mjs';
|
|
55
|
-
export { Descriptions } from './chunk-6575DOCV.mjs';
|
|
56
57
|
export { Alert } from './chunk-CR4QK2AB.mjs';
|
|
57
58
|
export { Avatar } from './chunk-V2HVHLBY.mjs';
|
|
58
59
|
export { Badge } from './chunk-HQLZL3XQ.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"description": "React components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@expcat/tigercat-core": "0.0.
|
|
41
|
+
"@expcat/tigercat-core": "0.0.42"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^25.0.3",
|