@expcat/tigercat-react 2.0.0-preview.2 → 2.0.0-preview.3
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-2YDLAZTK.mjs → chunk-3O2WHF3U.mjs} +5 -2
- package/dist/{chunk-MZPKFMQC.mjs → chunk-44BPUG24.mjs} +13 -7
- package/dist/{chunk-7TVZTASQ.mjs → chunk-44CQTGAN.mjs} +22 -3
- package/dist/{chunk-7PP6RECM.mjs → chunk-532RNNPH.mjs} +3 -3
- package/dist/{chunk-533KLM7P.mjs → chunk-5IHOOP5A.mjs} +2 -2
- package/dist/{chunk-CR4QBH46.mjs → chunk-5RVLBNLI.mjs} +1 -1
- package/dist/{chunk-YCEH4N3Z.mjs → chunk-5XDRILPM.mjs} +3 -3
- package/dist/{chunk-UPQGB5NQ.mjs → chunk-6SEPT4C5.mjs} +22 -11
- package/dist/{chunk-GCOA4AO6.mjs → chunk-773LH7BK.mjs} +1 -1
- package/dist/{chunk-MZCGQED3.mjs → chunk-7EXOY7GD.mjs} +1 -1
- package/dist/{chunk-AF3N4GJJ.mjs → chunk-7KCQMXJA.mjs} +1 -1
- package/dist/{chunk-SNE3E22Q.mjs → chunk-A6JNS35U.mjs} +5 -2
- package/dist/{chunk-FWIYDMJA.mjs → chunk-AGTXDHQJ.mjs} +1 -1
- package/dist/{chunk-WTIEJCRV.mjs → chunk-AJJJ6HWC.mjs} +1 -1
- package/dist/{chunk-SHJNDDYK.mjs → chunk-ASLRAZZN.mjs} +54 -29
- package/dist/{chunk-WLFLQB4R.mjs → chunk-BEJZPJIK.mjs} +1 -1
- package/dist/{chunk-JNZHZVPW.mjs → chunk-CN3QXWK3.mjs} +1 -1
- package/dist/{chunk-OTRPN5ZG.mjs → chunk-CT36XD5I.mjs} +1 -1
- package/dist/{chunk-LJWQ7T57.mjs → chunk-CVYA3MI2.mjs} +10 -6
- package/dist/{chunk-6REMGSLS.mjs → chunk-D4LASFVY.mjs} +1 -1
- package/dist/{chunk-XHNR3A7A.mjs → chunk-DJ4PSDQS.mjs} +5 -2
- package/dist/{chunk-Z2NZ2XC5.mjs → chunk-EKESN747.mjs} +1 -1
- package/dist/{chunk-7S4TP4MZ.mjs → chunk-EW5EO7VE.mjs} +1 -1
- package/dist/{chunk-ZG2W4HS5.mjs → chunk-F2ITBDUS.mjs} +2 -1
- package/dist/chunk-F6T3OLTQ.mjs +12 -0
- package/dist/{chunk-NRWH5IWZ.mjs → chunk-F6WV53BS.mjs} +11 -4
- package/dist/{chunk-D524E52A.mjs → chunk-FDKWHP2K.mjs} +22 -6
- package/dist/{chunk-4R5YXNU4.mjs → chunk-FPQMJFFM.mjs} +20 -3
- package/dist/{chunk-YLVXXP7E.mjs → chunk-H64TM6UQ.mjs} +1 -1
- package/dist/{chunk-2UFTDDPW.mjs → chunk-HXD7KMRP.mjs} +1 -1
- package/dist/{chunk-GQPKHMHA.mjs → chunk-IBSOUQGB.mjs} +1 -1
- package/dist/{chunk-VBGJQPPI.mjs → chunk-IZYFETUS.mjs} +3 -3
- package/dist/{chunk-YTFQBXH4.mjs → chunk-JTFNGXOC.mjs} +1 -1
- package/dist/{chunk-TJDZFN2Z.mjs → chunk-K7MYQISG.mjs} +1 -1
- package/dist/{chunk-GFLKO46C.mjs → chunk-KFPQ6DIH.mjs} +1 -1
- package/dist/{chunk-I3SE5HMH.mjs → chunk-KMP5CVNK.mjs} +1 -1
- package/dist/{chunk-32PAZTVF.mjs → chunk-KVARQQAG.mjs} +64 -19
- package/dist/{chunk-B3O6MAC3.mjs → chunk-L55UK45A.mjs} +6 -4
- package/dist/{chunk-3HPDLIX3.mjs → chunk-LADKKOJT.mjs} +4 -2
- package/dist/{chunk-2PZICT2T.mjs → chunk-LZKBDQE4.mjs} +1 -1
- package/dist/{chunk-H4MPPCTB.mjs → chunk-MOWK7CND.mjs} +1 -1
- package/dist/{chunk-RCUL6RZU.mjs → chunk-MXXAJSRS.mjs} +28 -8
- package/dist/{chunk-KWVA2DN3.mjs → chunk-O5RAMCBV.mjs} +1 -1
- package/dist/{chunk-ZRZB3C5J.mjs → chunk-OIGEBCAS.mjs} +1 -1
- package/dist/{chunk-YN4FMZX5.mjs → chunk-ONMOHKT2.mjs} +4 -4
- package/dist/{chunk-4ZZ7YRTB.mjs → chunk-OO562MFD.mjs} +1 -1
- package/dist/{chunk-7RI5W465.mjs → chunk-OQLP452R.mjs} +1 -1
- package/dist/{chunk-BPQEM6AF.mjs → chunk-OTBXERJD.mjs} +1 -1
- package/dist/{chunk-LAKPYMBZ.mjs → chunk-PAS347EX.mjs} +1 -1
- package/dist/{chunk-V23KR23W.mjs → chunk-PGD5RPKF.mjs} +20 -3
- package/dist/{chunk-SHDQJ5BJ.mjs → chunk-PU3JY6RE.mjs} +1 -1
- package/dist/{chunk-R67HTROL.mjs → chunk-PXRZ6CKY.mjs} +3 -3
- package/dist/{chunk-Z6BDNV3S.mjs → chunk-QB5472NM.mjs} +1 -1
- package/dist/{chunk-BSXPB2V6.mjs → chunk-QGZ32NFQ.mjs} +1 -1
- package/dist/{chunk-2GSXSLGC.mjs → chunk-QOKITTSP.mjs} +5 -5
- package/dist/{chunk-MMWF2OPA.mjs → chunk-SHCBCM2W.mjs} +6 -3
- package/dist/{chunk-WKTIDYPD.mjs → chunk-SZBYEGKU.mjs} +1 -1
- package/dist/{chunk-QWOE4FGJ.mjs → chunk-TDFLUDRM.mjs} +78 -22
- package/dist/{chunk-4F3UTDFE.mjs → chunk-TFMEHUVZ.mjs} +1 -1
- package/dist/chunk-TGXBCKOU.mjs +35 -0
- package/dist/{chunk-3OBUJIJI.mjs → chunk-TO2URY7X.mjs} +3 -3
- package/dist/{chunk-VKIGZWRK.mjs → chunk-TORX7SG4.mjs} +1 -1
- package/dist/{chunk-LOM6NNQK.mjs → chunk-U7RLVY67.mjs} +1 -1
- package/dist/{chunk-XSAKD4MX.mjs → chunk-UHK2ISKR.mjs} +19 -9
- package/dist/{chunk-4SU6D2E7.mjs → chunk-UYQBXVFE.mjs} +1 -1
- package/dist/{chunk-5SX2M3LU.mjs → chunk-VA6PZWOH.mjs} +1 -1
- package/dist/{chunk-T6HNFCOW.mjs → chunk-VD55SSP7.mjs} +1 -1
- package/dist/{chunk-K6JLLCY7.mjs → chunk-VD62GD2E.mjs} +1 -1
- package/dist/{chunk-NJHZQBA7.mjs → chunk-W7BC4I2Y.mjs} +1 -1
- package/dist/{chunk-MOLUSXVC.mjs → chunk-XIVU7TWX.mjs} +4 -4
- package/dist/{chunk-QAIBQHIO.mjs → chunk-YSIXURBW.mjs} +16 -1
- package/dist/{chunk-J4HCTYJG.mjs → chunk-Z3CRHC5F.mjs} +21 -2
- package/dist/{chunk-AMEH5EHB.mjs → chunk-ZEP7I6WB.mjs} +2 -2
- package/dist/{chunk-ZFGSZW7S.mjs → chunk-ZMRTETN2.mjs} +1 -1
- package/dist/components/ActivityFeed.d.mts +5 -5
- package/dist/components/ActivityFeed.mjs +8 -7
- package/dist/components/Affix.d.mts +4 -4
- package/dist/components/Alert.d.mts +7 -7
- package/dist/components/Anchor.d.mts +9 -9
- package/dist/components/AreaChart.d.mts +2 -2
- package/dist/components/AreaChart.mjs +2 -2
- package/dist/components/AutoComplete.d.mts +3 -3
- package/dist/components/AutoComplete.mjs +3 -2
- package/dist/components/Avatar.d.mts +4 -4
- package/dist/components/Avatar.mjs +4 -2
- package/dist/components/AvatarGroup.d.mts +10 -6
- package/dist/components/AvatarGroup.mjs +3 -1
- package/dist/components/BackTop.d.mts +5 -5
- package/dist/components/Badge.d.mts +4 -4
- package/dist/components/Badge.mjs +3 -2
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.mjs +2 -2
- package/dist/components/Breadcrumb.d.mts +10 -10
- package/dist/components/Button.d.mts +5 -5
- package/dist/components/ButtonGroup.d.mts +4 -4
- package/dist/components/Calendar.d.mts +2 -2
- package/dist/components/Calendar.mjs +3 -2
- package/dist/components/Card.d.mts +7 -7
- package/dist/components/Carousel.d.mts +9 -5
- package/dist/components/Carousel.mjs +3 -1
- package/dist/components/Cascader.d.mts +3 -3
- package/dist/components/Cascader.mjs +3 -2
- package/dist/components/ChartAxis.d.mts +3 -3
- package/dist/components/ChartCanvas.d.mts +3 -3
- package/dist/components/ChartGrid.d.mts +3 -3
- package/dist/components/ChartLegend.d.mts +3 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartSeries.d.mts +4 -4
- package/dist/components/ChartTooltip.d.mts +2 -2
- package/dist/components/ChatWindow.d.mts +4 -4
- package/dist/components/ChatWindow.mjs +8 -6
- package/dist/components/Checkbox.d.mts +5 -5
- package/dist/components/CheckboxGroup.d.mts +4 -4
- package/dist/components/Code.d.mts +3 -3
- package/dist/components/CodeEditor.d.mts +4 -4
- package/dist/components/Col.d.mts +3 -3
- package/dist/components/Collapse.d.mts +4 -4
- package/dist/components/CollapsePanel.d.mts +6 -6
- package/dist/components/ColorPicker.d.mts +2 -2
- package/dist/components/ColorPicker.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +2 -2
- package/dist/components/CommentThread.d.mts +3 -3
- package/dist/components/CommentThread.mjs +6 -5
- package/dist/components/ConfigProvider.d.mts +3 -3
- package/dist/components/ConfigProvider.mjs +2 -1
- package/dist/components/Container.d.mts +4 -4
- package/dist/components/Content.d.mts +4 -4
- package/dist/components/Countdown.d.mts +3 -3
- package/dist/components/CronEditor.d.mts +7 -3
- package/dist/components/CronEditor.mjs +3 -1
- package/dist/components/CropUpload.d.mts +3 -3
- package/dist/components/CropUpload.mjs +5 -4
- package/dist/components/DataTableWithToolbar.d.mts +6 -6
- package/dist/components/DataTableWithToolbar.mjs +8 -6
- package/dist/components/DatePicker.d.mts +3 -3
- package/dist/components/DatePicker.mjs +3 -2
- package/dist/components/Descriptions.d.mts +7 -7
- package/dist/components/Divider.d.mts +3 -3
- package/dist/components/DonutChart.d.mts +2 -2
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/Drawer.d.mts +7 -7
- package/dist/components/Drawer.mjs +3 -2
- package/dist/components/Dropdown.d.mts +15 -15
- package/dist/components/Empty.d.mts +6 -6
- package/dist/components/Empty.mjs +3 -2
- package/dist/components/FileManager.d.mts +3 -3
- package/dist/components/FileManager.mjs +3 -2
- package/dist/components/FloatButton.d.mts +9 -9
- package/dist/components/Footer.d.mts +4 -4
- package/dist/components/Form.d.mts +3 -3
- package/dist/components/Form.mjs +3 -2
- package/dist/components/FormItem.d.mts +3 -3
- package/dist/components/FormItem.mjs +5 -3
- package/dist/components/FormItemContext.d.mts +12 -0
- package/dist/components/FormItemContext.mjs +8 -0
- package/dist/components/FormWizard.d.mts +5 -5
- package/dist/components/FormWizard.mjs +3 -2
- package/dist/components/FunnelChart.d.mts +2 -2
- package/dist/components/FunnelChart.mjs +2 -2
- package/dist/components/Gantt.d.mts +2 -2
- package/dist/components/GaugeChart.d.mts +2 -2
- package/dist/components/Header.d.mts +4 -4
- package/dist/components/HeatmapChart.d.mts +2 -2
- package/dist/components/Icon.d.mts +4 -4
- package/dist/components/Image.d.mts +5 -5
- package/dist/components/Image.mjs +5 -4
- package/dist/components/ImageAnnotation.d.mts +3 -3
- package/dist/components/ImageAnnotation.mjs +3 -2
- package/dist/components/ImageCropper.d.mts +3 -3
- package/dist/components/ImageCropper.mjs +3 -2
- package/dist/components/ImageGroup.d.mts +4 -4
- package/dist/components/ImageGroup.mjs +4 -3
- package/dist/components/ImagePreview.d.mts +2 -2
- package/dist/components/ImagePreview.mjs +3 -2
- package/dist/components/ImageViewer.d.mts +2 -2
- package/dist/components/ImageViewer.mjs +3 -2
- package/dist/components/InfiniteScroll.d.mts +5 -5
- package/dist/components/InfiniteScroll.mjs +3 -2
- package/dist/components/Input.d.mts +9 -9
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputGroup.d.mts +6 -6
- package/dist/components/InputNumber.d.mts +4 -4
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/Kanban.d.mts +5 -5
- package/dist/components/Kanban.mjs +4 -3
- package/dist/components/Layout.d.mts +4 -4
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/Link.d.mts +5 -5
- package/dist/components/List.d.mts +6 -6
- package/dist/components/List.mjs +3 -2
- package/dist/components/Loading.d.mts +3 -3
- package/dist/components/Loading.mjs +3 -2
- package/dist/components/MarkdownEditor.d.mts +8 -4
- package/dist/components/MarkdownEditor.mjs +3 -1
- package/dist/components/Mentions.d.mts +2 -2
- package/dist/components/Menu.d.mts +9 -9
- package/dist/components/Message.mjs +14 -1
- package/dist/components/MessageContainer.d.mts +2 -2
- package/dist/components/MessageContainer.mjs +1 -1
- package/dist/components/MessageRoot.mjs +1 -1
- package/dist/components/Modal.d.mts +6 -6
- package/dist/components/Modal.mjs +3 -2
- package/dist/components/Notification.mjs +14 -1
- package/dist/components/NotificationCenter.d.mts +3 -3
- package/dist/components/NotificationCenter.mjs +6 -5
- package/dist/components/NotificationContainer.d.mts +2 -2
- package/dist/components/NotificationContainer.mjs +1 -1
- package/dist/components/NotificationRoot.mjs +1 -1
- package/dist/components/NumberKeyboard.d.mts +3 -3
- package/dist/components/NumberKeyboard.mjs +3 -2
- package/dist/components/OrgChart.d.mts +2 -2
- package/dist/components/Pagination.d.mts +4 -4
- package/dist/components/Pagination.mjs +3 -2
- package/dist/components/PieChart.d.mts +2 -2
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/Popconfirm.d.mts +8 -8
- package/dist/components/Popover.d.mts +8 -8
- package/dist/components/PrintLayout.d.mts +8 -8
- package/dist/components/PrintLayout.mjs +1 -1
- package/dist/components/Progress.d.mts +3 -3
- package/dist/components/QRCode.d.mts +2 -2
- package/dist/components/QRCode.mjs +3 -2
- package/dist/components/RadarChart.d.mts +2 -2
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/Radio.d.mts +4 -4
- package/dist/components/RadioGroup.d.mts +5 -5
- package/dist/components/Rate.d.mts +7 -3
- package/dist/components/Rate.mjs +3 -1
- package/dist/components/Resizable.d.mts +4 -4
- package/dist/components/Result.d.mts +6 -6
- package/dist/components/RichTextEditor.d.mts +8 -4
- package/dist/components/RichTextEditor.mjs +3 -1
- package/dist/components/Row.d.mts +4 -4
- package/dist/components/ScatterChart.d.mts +5 -3
- package/dist/components/ScatterChart.mjs +4 -2
- package/dist/components/ScrollSpy.d.mts +5 -5
- package/dist/components/Segmented.d.mts +2 -2
- package/dist/components/Select.d.mts +3 -3
- package/dist/components/Select.mjs +3 -2
- package/dist/components/Sidebar.d.mts +4 -4
- package/dist/components/Signature.d.mts +3 -3
- package/dist/components/Signature.mjs +3 -2
- package/dist/components/Skeleton.d.mts +3 -3
- package/dist/components/Slider.d.mts +3 -3
- package/dist/components/Space.d.mts +5 -5
- package/dist/components/Splitter.d.mts +4 -4
- package/dist/components/Spotlight.d.mts +3 -3
- package/dist/components/Spotlight.mjs +3 -2
- package/dist/components/Statistic.d.mts +2 -2
- package/dist/components/Stepper.d.mts +2 -2
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Steps.d.mts +7 -7
- package/dist/components/SunburstChart.d.mts +2 -2
- package/dist/components/SunburstChart.mjs +2 -2
- package/dist/components/Switch.d.mts +3 -3
- package/dist/components/Table.d.mts +2 -2
- package/dist/components/Table.mjs +5 -4
- package/dist/components/Tabs.d.mts +15 -10
- package/dist/components/Tabs.mjs +3 -1
- package/dist/components/Tag.d.mts +5 -5
- package/dist/components/Tag.mjs +3 -2
- package/dist/components/TaskBoard.d.mts +8 -8
- package/dist/components/TaskBoard.mjs +3 -2
- package/dist/components/Text.d.mts +4 -4
- package/dist/components/Textarea.d.mts +7 -7
- package/dist/components/TimePicker.d.mts +3 -3
- package/dist/components/TimePicker.mjs +3 -2
- package/dist/components/Timeline.d.mts +7 -7
- package/dist/components/Timeline.mjs +3 -2
- package/dist/components/Tooltip.d.mts +6 -6
- package/dist/components/Tour.d.mts +2 -2
- package/dist/components/Tour.mjs +3 -2
- package/dist/components/Transfer.d.mts +6 -4
- package/dist/components/Transfer.mjs +3 -2
- package/dist/components/Tree.d.mts +4 -4
- package/dist/components/Tree.mjs +3 -2
- package/dist/components/TreeMapChart.d.mts +2 -2
- package/dist/components/TreeMapChart.mjs +2 -2
- package/dist/components/TreeSelect.d.mts +3 -3
- package/dist/components/TreeSelect.mjs +3 -2
- package/dist/components/Upload.d.mts +3 -3
- package/dist/components/Upload.mjs +3 -2
- package/dist/components/VirtualList.d.mts +3 -3
- package/dist/components/VirtualTable.d.mts +3 -3
- package/dist/components/VirtualTable.mjs +3 -2
- package/dist/components/Watermark.d.mts +4 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +29 -0
- package/package.json +2 -2
- /package/dist/{chunk-BPFKTAF2.mjs → chunk-L5KAXWQI.mjs} +0 -0
- /package/dist/{chunk-FNBTGIDG.mjs → chunk-Y3SGFGN6.mjs} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timeline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QB5472NM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Link
|
|
6
6
|
} from "./chunk-XZVQ3PJS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Loading
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AJJJ6HWC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Tag
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7EXOY7GD.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Text
|
|
15
15
|
} from "./chunk-HLS4CHWX.mjs";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IXV5YBCZ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Avatar
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OO562MFD.mjs";
|
|
22
22
|
|
|
23
23
|
// src/components/ActivityFeed.tsx
|
|
24
24
|
import { useMemo } from "react";
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createGlobalTigerLocaleHandle
|
|
3
|
+
} from "./chunk-TGXBCKOU.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/ConfigProvider.tsx
|
|
2
|
-
import React, { useContext, useEffect, useMemo, useState } from "react";
|
|
6
|
+
import React, { useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
3
7
|
import {
|
|
4
8
|
mergeTigerLocale,
|
|
5
9
|
isLazyTigerLocale,
|
|
@@ -18,6 +22,7 @@ var ConfigProvider = ({
|
|
|
18
22
|
children
|
|
19
23
|
}) => {
|
|
20
24
|
const parent = useContext(TigerConfigContext);
|
|
25
|
+
const globalLocaleHandleRef = useRef(null);
|
|
21
26
|
const isLazy = isLazyTigerLocale(locale);
|
|
22
27
|
const immediateLocale = isLazy ? void 0 : getImmediateTigerLocale(locale);
|
|
23
28
|
const [resolvedLocale, setResolvedLocale] = useState(
|
|
@@ -75,6 +80,16 @@ var ConfigProvider = ({
|
|
|
75
80
|
useEffect(() => {
|
|
76
81
|
if (value.colorScheme) ThemeManager.setColorScheme(value.colorScheme);
|
|
77
82
|
}, [value.colorScheme]);
|
|
83
|
+
useEffect(() => {
|
|
84
|
+
globalLocaleHandleRef.current = createGlobalTigerLocaleHandle(value.locale);
|
|
85
|
+
return () => {
|
|
86
|
+
globalLocaleHandleRef.current?.dispose();
|
|
87
|
+
globalLocaleHandleRef.current = null;
|
|
88
|
+
};
|
|
89
|
+
}, []);
|
|
90
|
+
useEffect(() => {
|
|
91
|
+
globalLocaleHandleRef.current?.update(value.locale);
|
|
92
|
+
}, [value.locale]);
|
|
78
93
|
useEffect(() => {
|
|
79
94
|
if (!value.direction || typeof document === "undefined") return;
|
|
80
95
|
const root = document.documentElement;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-YSIXURBW.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/Tabs.tsx
|
|
2
6
|
import React, {
|
|
3
7
|
createContext,
|
|
@@ -24,6 +28,8 @@ import {
|
|
|
24
28
|
resolveSwipeGesture,
|
|
25
29
|
isKeyActive,
|
|
26
30
|
getNextActiveKey,
|
|
31
|
+
mergeTigerLocale,
|
|
32
|
+
getTabsLabels,
|
|
27
33
|
tabAddButtonClasses,
|
|
28
34
|
tabCloseButtonClasses,
|
|
29
35
|
tabContentBaseClasses
|
|
@@ -151,7 +157,7 @@ var TabPane = ({
|
|
|
151
157
|
{
|
|
152
158
|
type: "button",
|
|
153
159
|
className: tabCloseButtonClasses,
|
|
154
|
-
"aria-label":
|
|
160
|
+
"aria-label": tabsContext.labels.closeTabAriaLabel.replace("{label}", String(label)),
|
|
155
161
|
tabIndex: -1,
|
|
156
162
|
onClick: handleClose,
|
|
157
163
|
children: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: closeIconViewBox, children: /* @__PURE__ */ jsx(
|
|
@@ -199,13 +205,24 @@ var Tabs = ({
|
|
|
199
205
|
swipeable = true,
|
|
200
206
|
className,
|
|
201
207
|
style,
|
|
208
|
+
locale,
|
|
209
|
+
labels: labelsOverride,
|
|
202
210
|
onActiveKeyChange,
|
|
203
211
|
onTabClick,
|
|
204
212
|
onEdit,
|
|
205
213
|
children
|
|
206
214
|
}) => {
|
|
215
|
+
const config = useTigerConfig();
|
|
207
216
|
const reactId = useId();
|
|
208
217
|
const idBase = useMemo(() => `tiger-tabs-${reactId.replace(/[^a-zA-Z0-9_-]/g, "")}`, [reactId]);
|
|
218
|
+
const mergedLocale = useMemo(
|
|
219
|
+
() => mergeTigerLocale(config.locale, locale),
|
|
220
|
+
[config.locale, locale]
|
|
221
|
+
);
|
|
222
|
+
const labels = useMemo(
|
|
223
|
+
() => getTabsLabels(mergedLocale, labelsOverride),
|
|
224
|
+
[mergedLocale, labelsOverride]
|
|
225
|
+
);
|
|
209
226
|
const [internalActiveKey, setInternalActiveKey] = useState(
|
|
210
227
|
defaultActiveKey
|
|
211
228
|
);
|
|
@@ -329,6 +346,7 @@ var Tabs = ({
|
|
|
329
346
|
lazy,
|
|
330
347
|
swipeable,
|
|
331
348
|
idBase,
|
|
349
|
+
labels,
|
|
332
350
|
handleTabClick,
|
|
333
351
|
handleTabClose
|
|
334
352
|
}),
|
|
@@ -342,6 +360,7 @@ var Tabs = ({
|
|
|
342
360
|
lazy,
|
|
343
361
|
swipeable,
|
|
344
362
|
idBase,
|
|
363
|
+
labels,
|
|
345
364
|
handleTabClick,
|
|
346
365
|
handleTabClose
|
|
347
366
|
]
|
|
@@ -374,7 +393,7 @@ var Tabs = ({
|
|
|
374
393
|
type: "button",
|
|
375
394
|
className: tabAddButtonClasses,
|
|
376
395
|
onClick: handleTabAdd,
|
|
377
|
-
"aria-label":
|
|
396
|
+
"aria-label": labels.addTabAriaLabel,
|
|
378
397
|
children: "+"
|
|
379
398
|
}
|
|
380
399
|
)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ActivityFeedProps as ActivityFeedProps$1, ActivityItem, ActivityGroup } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface ActivityFeedProps extends Omit<ActivityFeedProps$1, 'renderItem' | 'renderGroupHeader'>, Omit<
|
|
5
|
-
renderItem?: (item: ActivityItem, index: number, group?: ActivityGroup) =>
|
|
6
|
-
renderGroupHeader?: (group: ActivityGroup) =>
|
|
4
|
+
interface ActivityFeedProps extends Omit<ActivityFeedProps$1, 'renderItem' | 'renderGroupHeader'>, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
5
|
+
renderItem?: (item: ActivityItem, index: number, group?: ActivityGroup) => React__default.ReactNode;
|
|
6
|
+
renderGroupHeader?: (group: ActivityGroup) => React__default.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
declare const ActivityFeed:
|
|
8
|
+
declare const ActivityFeed: React__default.FC<ActivityFeedProps>;
|
|
9
9
|
|
|
10
10
|
export { ActivityFeed, type ActivityFeedProps, ActivityFeed as default };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActivityFeed,
|
|
3
3
|
ActivityFeed_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-XIVU7TWX.mjs";
|
|
5
|
+
import "../chunk-QB5472NM.mjs";
|
|
6
6
|
import "../chunk-XZVQ3PJS.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-AJJJ6HWC.mjs";
|
|
8
8
|
import "../chunk-SEWNVIHH.mjs";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7EXOY7GD.mjs";
|
|
10
10
|
import "../chunk-HLS4CHWX.mjs";
|
|
11
11
|
import "../chunk-IXV5YBCZ.mjs";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-OO562MFD.mjs";
|
|
13
|
+
import "../chunk-FPQMJFFM.mjs";
|
|
14
|
+
import "../chunk-YSIXURBW.mjs";
|
|
15
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
15
16
|
export {
|
|
16
17
|
ActivityFeed,
|
|
17
18
|
ActivityFeed_default as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { AffixProps as AffixProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface AffixProps extends Omit<
|
|
5
|
-
children?:
|
|
4
|
+
interface AffixProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>, AffixProps$1 {
|
|
5
|
+
children?: React__default.ReactNode;
|
|
6
6
|
/** Callback when affixed state changes */
|
|
7
7
|
onChange?: (affixed: boolean) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const Affix:
|
|
9
|
+
declare const Affix: React__default.FC<AffixProps>;
|
|
10
10
|
|
|
11
11
|
export { Affix, type AffixProps };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { AlertProps as AlertProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface AlertProps extends Omit<
|
|
4
|
+
interface AlertProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'>, AlertProps$1 {
|
|
5
5
|
/**
|
|
6
6
|
* Alert content (React children)
|
|
7
7
|
*/
|
|
8
|
-
children?:
|
|
8
|
+
children?: React__default.ReactNode;
|
|
9
9
|
/**
|
|
10
10
|
* Custom title content (overrides title prop)
|
|
11
11
|
*/
|
|
12
|
-
titleSlot?:
|
|
12
|
+
titleSlot?: React__default.ReactNode;
|
|
13
13
|
/**
|
|
14
14
|
* Custom description content (overrides description prop)
|
|
15
15
|
*/
|
|
16
|
-
descriptionSlot?:
|
|
16
|
+
descriptionSlot?: React__default.ReactNode;
|
|
17
17
|
/**
|
|
18
18
|
* Callback when alert is closed.
|
|
19
19
|
* Receives the click event for manual close; called without an event on auto-close.
|
|
20
20
|
*/
|
|
21
|
-
onClose?: (event?:
|
|
21
|
+
onClose?: (event?: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
22
22
|
}
|
|
23
|
-
declare const Alert:
|
|
23
|
+
declare const Alert: React__default.FC<AlertProps>;
|
|
24
24
|
|
|
25
25
|
export { Alert, type AlertProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { AnchorProps as AnchorProps$1, AnchorDirection } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface AnchorContextValue {
|
|
@@ -6,11 +6,11 @@ interface AnchorContextValue {
|
|
|
6
6
|
direction: AnchorDirection;
|
|
7
7
|
registerLink: (href: string) => void;
|
|
8
8
|
unregisterLink: (href: string) => void;
|
|
9
|
-
handleLinkClick: (href: string, event:
|
|
9
|
+
handleLinkClick: (href: string, event: React__default.MouseEvent) => void;
|
|
10
10
|
scrollTo: (href: string) => void;
|
|
11
11
|
}
|
|
12
12
|
declare function useAnchorContext(): AnchorContextValue | null;
|
|
13
|
-
interface AnchorLinkProps extends Omit<
|
|
13
|
+
interface AnchorLinkProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
14
14
|
/**
|
|
15
15
|
* Target anchor ID (with #)
|
|
16
16
|
*/
|
|
@@ -26,9 +26,9 @@ interface AnchorLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElem
|
|
|
26
26
|
/**
|
|
27
27
|
* Children content
|
|
28
28
|
*/
|
|
29
|
-
children?:
|
|
29
|
+
children?: React__default.ReactNode;
|
|
30
30
|
}
|
|
31
|
-
declare const AnchorLink:
|
|
31
|
+
declare const AnchorLink: React__default.FC<AnchorLinkProps>;
|
|
32
32
|
interface AnchorProps extends Omit<AnchorProps$1, 'style'> {
|
|
33
33
|
/**
|
|
34
34
|
* Target element to listen for scroll events
|
|
@@ -38,7 +38,7 @@ interface AnchorProps extends Omit<AnchorProps$1, 'style'> {
|
|
|
38
38
|
/**
|
|
39
39
|
* Click event handler
|
|
40
40
|
*/
|
|
41
|
-
onClick?: (event:
|
|
41
|
+
onClick?: (event: React__default.MouseEvent, href: string) => void;
|
|
42
42
|
/**
|
|
43
43
|
* Change event handler when active anchor changes
|
|
44
44
|
*/
|
|
@@ -46,12 +46,12 @@ interface AnchorProps extends Omit<AnchorProps$1, 'style'> {
|
|
|
46
46
|
/**
|
|
47
47
|
* Children (AnchorLink components)
|
|
48
48
|
*/
|
|
49
|
-
children?:
|
|
49
|
+
children?: React__default.ReactNode;
|
|
50
50
|
/**
|
|
51
51
|
* Custom styles
|
|
52
52
|
*/
|
|
53
|
-
style?:
|
|
53
|
+
style?: React__default.CSSProperties;
|
|
54
54
|
}
|
|
55
|
-
declare const Anchor:
|
|
55
|
+
declare const Anchor: React__default.FC<AnchorProps>;
|
|
56
56
|
|
|
57
57
|
export { Anchor, type AnchorContextValue, AnchorLink, type AnchorLinkProps, type AnchorProps, Anchor as default, useAnchorContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { AreaChartProps as AreaChartProps$1, LineChartDatum, AreaChartSeries, ChartPadding, ChartScale } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface AreaChartProps extends AreaChartProps$1 {
|
|
@@ -19,6 +19,6 @@ interface AreaChartProps extends AreaChartProps$1 {
|
|
|
19
19
|
strokeGradient?: boolean;
|
|
20
20
|
pointGradient?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare const AreaChart:
|
|
22
|
+
declare const AreaChart: React__default.FC<AreaChartProps>;
|
|
23
23
|
|
|
24
24
|
export { AreaChart, type AreaChartProps, AreaChart as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AreaChart,
|
|
3
3
|
AreaChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-DJ4PSDQS.mjs";
|
|
5
5
|
import "../chunk-DNOPEJ5I.mjs";
|
|
6
6
|
import "../chunk-YORCCCQX.mjs";
|
|
7
7
|
import "../chunk-RQSQXQN6.mjs";
|
|
8
8
|
import "../chunk-DKNVSQSV.mjs";
|
|
9
9
|
import "../chunk-677VSTPW.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-F2ITBDUS.mjs";
|
|
11
11
|
import "../chunk-SDLMB34Y.mjs";
|
|
12
12
|
export {
|
|
13
13
|
AreaChart,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { AutoCompleteProps as AutoCompleteProps$1, AutoCompleteOption } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface AutoCompleteProps extends AutoCompleteProps$1, Omit<
|
|
4
|
+
interface AutoCompleteProps extends AutoCompleteProps$1, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onChange'> {
|
|
5
5
|
/** Controlled value */
|
|
6
6
|
value?: string | number;
|
|
7
7
|
/** Called when value changes (input or selection) */
|
|
@@ -11,6 +11,6 @@ interface AutoCompleteProps extends AutoCompleteProps$1, Omit<React.HTMLAttribut
|
|
|
11
11
|
/** Called when search text changes */
|
|
12
12
|
onSearchChange?: (value: string) => void;
|
|
13
13
|
}
|
|
14
|
-
declare const AutoComplete:
|
|
14
|
+
declare const AutoComplete: React__default.FC<AutoCompleteProps>;
|
|
15
15
|
|
|
16
16
|
export { AutoComplete, type AutoCompleteProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { AvatarProps as AvatarProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface AvatarProps extends Omit<AvatarProps$1, 'icon'>,
|
|
4
|
+
interface AvatarProps extends Omit<AvatarProps$1, 'icon'>, React__default.HTMLAttributes<HTMLSpanElement> {
|
|
5
5
|
/**
|
|
6
6
|
* Icon content (children for icon mode)
|
|
7
7
|
*/
|
|
8
|
-
children?:
|
|
8
|
+
children?: React__default.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
declare const Avatar:
|
|
10
|
+
declare const Avatar: React__default.FC<AvatarProps>;
|
|
11
11
|
|
|
12
12
|
export { Avatar, type AvatarProps };
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AvatarGroupProps as AvatarGroupProps$1, AvatarSize } from '@expcat/tigercat-core';
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { AvatarGroupProps as AvatarGroupProps$1, TigerLocale, TigerLocaleAvatarGroup, AvatarSize } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface AvatarGroupContextValue {
|
|
5
5
|
size?: AvatarSize;
|
|
6
6
|
itemClass: string;
|
|
7
7
|
}
|
|
8
|
-
declare const AvatarGroupContext:
|
|
9
|
-
interface AvatarGroupProps extends AvatarGroupProps$1 {
|
|
10
|
-
children?:
|
|
8
|
+
declare const AvatarGroupContext: React__default.Context<AvatarGroupContextValue | null>;
|
|
9
|
+
interface AvatarGroupProps extends AvatarGroupProps$1, React__default.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
children?: React__default.ReactNode;
|
|
11
|
+
/** Locale overrides merged on top of ConfigProvider locale */
|
|
12
|
+
locale?: Partial<TigerLocale>;
|
|
13
|
+
/** Text/aria label overrides */
|
|
14
|
+
labels?: Partial<TigerLocaleAvatarGroup>;
|
|
11
15
|
}
|
|
12
|
-
declare const AvatarGroup:
|
|
16
|
+
declare const AvatarGroup: React__default.FC<AvatarGroupProps>;
|
|
13
17
|
|
|
14
18
|
export { AvatarGroup, AvatarGroupContext, type AvatarGroupContextValue, type AvatarGroupProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { BackTopProps as BackTopProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface BackTopProps extends BackTopProps$1, Omit<
|
|
4
|
+
interface BackTopProps extends BackTopProps$1, Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> {
|
|
5
5
|
/**
|
|
6
6
|
* Target element to listen for scroll events
|
|
7
7
|
* @default () => window
|
|
@@ -10,12 +10,12 @@ interface BackTopProps extends BackTopProps$1, Omit<React.ButtonHTMLAttributes<H
|
|
|
10
10
|
/**
|
|
11
11
|
* Click event handler
|
|
12
12
|
*/
|
|
13
|
-
onClick?: (event:
|
|
13
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
14
14
|
/**
|
|
15
15
|
* Custom content for the button
|
|
16
16
|
*/
|
|
17
|
-
children?:
|
|
17
|
+
children?: React__default.ReactNode;
|
|
18
18
|
}
|
|
19
|
-
declare const BackTop:
|
|
19
|
+
declare const BackTop: React__default.FC<BackTopProps>;
|
|
20
20
|
|
|
21
21
|
export { BackTop, type BackTopProps, BackTop as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { BadgeProps as BadgeProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
type BadgeProps = BadgeProps$1 & Omit<
|
|
5
|
-
children?:
|
|
4
|
+
type BadgeProps = BadgeProps$1 & Omit<React__default.HTMLAttributes<HTMLSpanElement>, 'children' | 'content'> & {
|
|
5
|
+
children?: React__default.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const Badge:
|
|
7
|
+
declare const Badge: React__default.FC<BadgeProps>;
|
|
8
8
|
|
|
9
9
|
export { Badge, type BadgeProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { BarChartProps as BarChartProps$1, BarChartDatum, ChartPadding, ChartScale } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface BarChartProps extends BarChartProps$1 {
|
|
@@ -11,6 +11,6 @@ interface BarChartProps extends BarChartProps$1 {
|
|
|
11
11
|
onBarClick?: (index: number, datum: BarChartDatum) => void;
|
|
12
12
|
onBarHover?: (index: number | null, datum: BarChartDatum | null) => void;
|
|
13
13
|
}
|
|
14
|
-
declare const BarChart:
|
|
14
|
+
declare const BarChart: React__default.FC<BarChartProps>;
|
|
15
15
|
|
|
16
16
|
export { BarChart, type BarChartProps, BarChart as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BarChart,
|
|
3
3
|
BarChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-A6JNS35U.mjs";
|
|
5
5
|
import "../chunk-DNOPEJ5I.mjs";
|
|
6
6
|
import "../chunk-YORCCCQX.mjs";
|
|
7
7
|
import "../chunk-RQSQXQN6.mjs";
|
|
8
8
|
import "../chunk-DKNVSQSV.mjs";
|
|
9
9
|
import "../chunk-677VSTPW.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-F2ITBDUS.mjs";
|
|
11
11
|
import "../chunk-SDLMB34Y.mjs";
|
|
12
12
|
export {
|
|
13
13
|
BarChart,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { BreadcrumbProps as BreadcrumbProps$1, BreadcrumbSeparator, BreadcrumbItemProps as BreadcrumbItemProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface BreadcrumbContextValue {
|
|
5
5
|
separator: BreadcrumbSeparator;
|
|
6
6
|
}
|
|
7
7
|
declare function useBreadcrumbContext(): BreadcrumbContextValue | null;
|
|
8
|
-
interface BreadcrumbItemProps extends Omit<BreadcrumbItemProps$1, 'style'>, Omit<
|
|
8
|
+
interface BreadcrumbItemProps extends Omit<BreadcrumbItemProps$1, 'style'>, Omit<React__default.LiHTMLAttributes<HTMLLIElement>, 'onClick' | 'children'> {
|
|
9
9
|
/**
|
|
10
10
|
* Click event handler
|
|
11
11
|
*/
|
|
12
|
-
onClick?: (event:
|
|
13
|
-
style?:
|
|
12
|
+
onClick?: (event: React__default.MouseEvent<HTMLAnchorElement | HTMLSpanElement>) => void;
|
|
13
|
+
style?: React__default.CSSProperties;
|
|
14
14
|
/**
|
|
15
15
|
* Item content
|
|
16
16
|
*/
|
|
17
|
-
children?:
|
|
17
|
+
children?: React__default.ReactNode;
|
|
18
18
|
/**
|
|
19
19
|
* Icon to display before the item content
|
|
20
20
|
*/
|
|
21
|
-
icon?:
|
|
21
|
+
icon?: React__default.ReactNode;
|
|
22
22
|
}
|
|
23
|
-
declare const BreadcrumbItem:
|
|
24
|
-
interface BreadcrumbProps extends Omit<BreadcrumbProps$1, 'style'>,
|
|
23
|
+
declare const BreadcrumbItem: React__default.FC<BreadcrumbItemProps>;
|
|
24
|
+
interface BreadcrumbProps extends Omit<BreadcrumbProps$1, 'style'>, React__default.HTMLAttributes<HTMLElement> {
|
|
25
25
|
/**
|
|
26
26
|
* Extra content aligned to the end of the breadcrumb
|
|
27
27
|
*/
|
|
28
|
-
extra?:
|
|
28
|
+
extra?: React__default.ReactNode;
|
|
29
29
|
}
|
|
30
|
-
declare const Breadcrumb:
|
|
30
|
+
declare const Breadcrumb: React__default.FC<BreadcrumbProps>;
|
|
31
31
|
|
|
32
32
|
export { Breadcrumb, type BreadcrumbContextValue, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, useBreadcrumbContext };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ButtonProps as ButtonProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface ButtonProps extends ButtonProps$1, Omit<
|
|
5
|
-
loadingIcon?:
|
|
6
|
-
icon?:
|
|
4
|
+
interface ButtonProps extends ButtonProps$1, Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'disabled' | 'type'> {
|
|
5
|
+
loadingIcon?: React__default.ReactNode;
|
|
6
|
+
icon?: React__default.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
declare const Button:
|
|
8
|
+
declare const Button: React__default.FC<ButtonProps>;
|
|
9
9
|
|
|
10
10
|
export { Button, type ButtonProps };
|