@expcat/tigercat-react 2.1.3 → 2.1.4
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/README.md +13 -19
- package/dist/{chunk-65CDWNRJ.mjs → chunk-2IOF3EC7.mjs} +1 -1
- package/dist/{chunk-5I7FKHZO.mjs → chunk-2MKDIXBP.mjs} +1 -1
- package/dist/{chunk-WLCRBIZO.mjs → chunk-2W4SH2IG.mjs} +1 -1
- package/dist/{chunk-YLXEMZVI.mjs → chunk-3C62ULJT.mjs} +1 -1
- package/dist/{chunk-6IJFLGCN.mjs → chunk-3QXXNK5X.mjs} +1 -1
- package/dist/{chunk-KVXGNUIE.mjs → chunk-4IVRLBKW.mjs} +1 -1
- package/dist/{chunk-YCVORYEO.mjs → chunk-532OVXLV.mjs} +3 -1
- package/dist/{chunk-R7J37DKJ.mjs → chunk-5TQFSORK.mjs} +2 -2
- package/dist/{chunk-ZATZSMQY.mjs → chunk-6L7RWLOU.mjs} +1 -1
- package/dist/{chunk-EJY3Y2XU.mjs → chunk-73OFTRG5.mjs} +1 -1
- package/dist/{chunk-U7V7ZWJ6.mjs → chunk-7QM2ZC52.mjs} +1 -1
- package/dist/{chunk-M7TSPEXC.mjs → chunk-A2PQJEII.mjs} +1 -1
- package/dist/{chunk-5P3OFNH3.mjs → chunk-ACHXTII7.mjs} +1 -1
- package/dist/{chunk-2N6WZ5Z5.mjs → chunk-BNC4MMVG.mjs} +1 -1
- package/dist/{chunk-I4P4T6LL.mjs → chunk-BVSR27AF.mjs} +1 -1
- package/dist/{chunk-N53N6H54.mjs → chunk-CQGDJU2H.mjs} +2 -2
- package/dist/{chunk-GRB667BG.mjs → chunk-DDSY5FPV.mjs} +1 -1
- package/dist/{chunk-OIMP63RE.mjs → chunk-DJLVNYZD.mjs} +1 -1
- package/dist/{chunk-PZ4LAI6G.mjs → chunk-EK7R3MIN.mjs} +1 -1
- package/dist/{chunk-RTKPLZ5A.mjs → chunk-EVO4YVSD.mjs} +1 -1
- package/dist/{chunk-GMHJWSQB.mjs → chunk-FTLA6FRU.mjs} +2 -2
- package/dist/{chunk-AFVKH2Z3.mjs → chunk-G4Y25JES.mjs} +1 -1
- package/dist/{chunk-CJSB5NOK.mjs → chunk-H3UEVWOO.mjs} +1 -1
- package/dist/{chunk-CX7QZXU5.mjs → chunk-HEVB53MU.mjs} +1 -1
- package/dist/{chunk-5QTYD4XG.mjs → chunk-HKPRHDW4.mjs} +1 -1
- package/dist/{chunk-7KVHHNUI.mjs → chunk-ION7IDAW.mjs} +1 -1
- package/dist/{chunk-CCTBNDCX.mjs → chunk-IWXG4346.mjs} +1 -1
- package/dist/{chunk-WW6MFKTJ.mjs → chunk-IXMQQ6PV.mjs} +3 -3
- package/dist/{chunk-IPI45RUK.mjs → chunk-JX2WKSVM.mjs} +1 -1
- package/dist/{chunk-PTKQJPLM.mjs → chunk-KDXNJN6C.mjs} +1 -1
- package/dist/{chunk-WKZZ4IQK.mjs → chunk-KEFHL7CJ.mjs} +1 -1
- package/dist/{chunk-XBDLXTF7.mjs → chunk-KJHPPPB2.mjs} +1 -1
- package/dist/{chunk-PLEAZRIC.mjs → chunk-LKTM4NU4.mjs} +1 -1
- package/dist/{chunk-2FFAUB47.mjs → chunk-MF6LOOXR.mjs} +2 -2
- package/dist/{chunk-KJB2OIG7.mjs → chunk-NPXT436C.mjs} +2 -2
- package/dist/{chunk-NPGU6VYD.mjs → chunk-OU2AV7DY.mjs} +1 -1
- package/dist/{chunk-6D2VLITE.mjs → chunk-OZ4WH3GE.mjs} +1 -1
- package/dist/{chunk-A6PNUVY6.mjs → chunk-PBF5TEF4.mjs} +2 -2
- package/dist/{chunk-JML6CK44.mjs → chunk-PQPO7XSV.mjs} +1 -1
- package/dist/{chunk-TVVLCER6.mjs → chunk-QCRTRRBD.mjs} +179 -163
- package/dist/{chunk-XKB7ECPU.mjs → chunk-S37KEELR.mjs} +1 -1
- package/dist/{chunk-RNKUEEIX.mjs → chunk-S5GHNXGQ.mjs} +4 -4
- package/dist/{chunk-OES5DL3S.mjs → chunk-SCN6UULA.mjs} +1 -1
- package/dist/{chunk-OYQ6HTLQ.mjs → chunk-SGKPZW57.mjs} +1 -1
- package/dist/{chunk-C4UZFBFV.mjs → chunk-SOVB7HJF.mjs} +1 -1
- package/dist/{chunk-T5VXIYWF.mjs → chunk-SUHSOVWP.mjs} +1 -1
- package/dist/{chunk-HZGTQGSM.mjs → chunk-UNT7WJ2M.mjs} +1 -1
- package/dist/{chunk-GJRGMIB3.mjs → chunk-UVI5JN47.mjs} +1 -1
- package/dist/{chunk-UAFA5GOL.mjs → chunk-VE3PZFFT.mjs} +2 -1
- package/dist/{chunk-XXU5VQV5.mjs → chunk-VGWFHVJ7.mjs} +1 -1
- package/dist/{chunk-BNCUJLRV.mjs → chunk-VW6RNQK4.mjs} +1 -1
- package/dist/{chunk-IZC77KAN.mjs → chunk-WWDZAWTS.mjs} +1 -1
- package/dist/{chunk-ZGXC47M5.mjs → chunk-YDIEWFBM.mjs} +1 -1
- package/dist/{chunk-53RDSFKZ.mjs → chunk-YUFKPLCK.mjs} +1 -1
- package/dist/{chunk-WSN4Z4MC.mjs → chunk-Z3AD5DZX.mjs} +1 -1
- package/dist/{chunk-6NCG4SLX.mjs → chunk-ZZJVJUO4.mjs} +1 -1
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.mjs +2 -2
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Cascader.mjs +2 -2
- package/dist/components/ChartTooltip.mjs +2 -2
- package/dist/components/ColorPicker.mjs +2 -2
- package/dist/components/ContextMenu.mjs +2 -2
- package/dist/components/CropUpload.mjs +4 -4
- package/dist/components/DataExport.mjs +3 -3
- package/dist/components/DataTableWithToolbar.mjs +7 -7
- package/dist/components/DatePicker.mjs +2 -2
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Drawer.mjs +2 -2
- package/dist/components/Dropdown.mjs +2 -2
- package/dist/components/FloatButton.mjs +2 -2
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/GaugeChart.mjs +3 -3
- package/dist/components/HeatmapChart.mjs +3 -3
- package/dist/components/Image.mjs +5 -5
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImageGroup.mjs +3 -3
- package/dist/components/ImagePreview.mjs +2 -2
- package/dist/components/ImageViewer.mjs +3 -3
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.mjs +3 -3
- package/dist/components/Loading.mjs +2 -2
- package/dist/components/Mentions.mjs +2 -2
- package/dist/components/Menu.mjs +2 -2
- package/dist/components/Message.mjs +2 -2
- package/dist/components/MessageContainer.mjs +2 -2
- package/dist/components/MessageRoot.mjs +1 -1
- package/dist/components/Modal.mjs +2 -2
- package/dist/components/NavigationMenu.mjs +2 -2
- package/dist/components/Notification.mjs +2 -2
- package/dist/components/NotificationCenter.mjs +4 -4
- package/dist/components/NotificationContainer.mjs +2 -2
- package/dist/components/NotificationRoot.mjs +1 -1
- package/dist/components/NumberKeyboard.mjs +2 -2
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/Popconfirm.mjs +3 -3
- package/dist/components/Popover.mjs +3 -3
- package/dist/components/RadarChart.mjs +3 -3
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/Select.mjs +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/SplitButton.mjs +3 -3
- package/dist/components/Spotlight.mjs +2 -2
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/Table.mjs +4 -4
- package/dist/components/TimePicker.mjs +2 -2
- package/dist/components/Tooltip.mjs +3 -3
- package/dist/components/Tour.mjs +2 -2
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/TreeSelect.mjs +2 -2
- package/dist/components/Upload.mjs +3 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +6 -0
- package/package.json +2 -2
- /package/dist/{chunk-HHRU7TK3.mjs → chunk-GF7W2FTZ.mjs} +0 -0
- /package/dist/{chunk-XJHC6JEC.mjs → chunk-P44HJQNB.mjs} +0 -0
package/README.md
CHANGED
|
@@ -35,25 +35,12 @@ function App() {
|
|
|
35
35
|
|
|
36
36
|
## Components
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
| -------------- | ----- | ------------------------------------------------------------- |
|
|
45
|
-
| **Basic** | 30 | Button, Alert, Avatar, Badge, Icon, Tag, Text, Result, QRCode |
|
|
46
|
-
| **Form** | 31 | Input, Select, DatePicker, Form, Upload, InputOTP, TagsInput |
|
|
47
|
-
| **Layout** | 19 | Card, Row/Col, Layout, List, Descriptions, Skeleton, Space |
|
|
48
|
-
| **Navigation** | 33 | Menu, Tabs, Breadcrumb, Pagination, Steps, Dropdown, Tree |
|
|
49
|
-
| **Feedback** | 13 | Modal, Drawer, Message, Popover, Tooltip, Progress, Tour |
|
|
50
|
-
| **Data** | 7 | Table, Calendar, Collapse, Timeline, DataExport |
|
|
51
|
-
| **Charts** | 20 | BarChart, LineChart, PieChart, RadarChart, GaugeChart, Gantt |
|
|
52
|
-
| **Advanced** | 12 | VirtualTable, VirtualList, RichTextEditor, CodeEditor |
|
|
53
|
-
| **Composite** | 7 | DataTableWithToolbar, ChatWindow, FormWizard, TaskBoard |
|
|
54
|
-
|
|
55
|
-
`Message` and `notification` are also available as imperative command APIs from
|
|
56
|
-
the package root; `notification` is a command API, not a component.
|
|
38
|
+
Sampler: Button, Avatar, Badge, Input, Select, DatePicker, Form, Card, Layout, Menu, Tabs, Modal, Drawer, Table, BarChart, LineChart, VirtualTable, RichTextEditor, DataTableWithToolbar, ChatWindow. The generated catalog with import subpaths is
|
|
39
|
+
[component-index.md](https://github.com/expcat/Tigercat/blob/main/skills/tigercat/references/component-index.md).
|
|
40
|
+
|
|
41
|
+
`Message`, `notification`, and `LoadingBar` are root command APIs;
|
|
42
|
+
[command-apis.md](https://github.com/expcat/Tigercat/blob/main/skills/tigercat/references/command-apis.md).
|
|
43
|
+
`notification` is not a component.
|
|
57
44
|
|
|
58
45
|
## Hooks
|
|
59
46
|
|
|
@@ -63,6 +50,13 @@ the package root; `notification` is a command API, not a component.
|
|
|
63
50
|
`useBreadcrumbContext` and `useStepsContext`. Signatures are listed in
|
|
64
51
|
[api-summary.md](https://github.com/expcat/Tigercat/blob/main/skills/tigercat/references/shared/api-summary.md).
|
|
65
52
|
|
|
53
|
+
## Next
|
|
54
|
+
|
|
55
|
+
- Install, compatibility, and MCP client config:
|
|
56
|
+
[root README](https://github.com/expcat/Tigercat/blob/main/README.md)
|
|
57
|
+
- Agent docs:
|
|
58
|
+
[SKILL.md](https://github.com/expcat/Tigercat/blob/main/skills/tigercat/SKILL.md)
|
|
59
|
+
|
|
66
60
|
## License
|
|
67
61
|
|
|
68
62
|
[MIT](https://opensource.org/licenses/MIT)
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
Dropdown,
|
|
3
3
|
DropdownItem,
|
|
4
4
|
DropdownMenu
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H3UEVWOO.mjs";
|
|
6
6
|
import {
|
|
7
7
|
Button
|
|
8
8
|
} from "./chunk-WFLXJOFU.mjs";
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
getSplitButtonRootClasses,
|
|
20
20
|
getSplitButtonTriggerClasses,
|
|
21
21
|
resolveLocaleText,
|
|
22
|
+
splitButtonDropdownClasses,
|
|
22
23
|
resolveSplitButtonSize,
|
|
23
24
|
resolveSplitButtonTriggerAriaLabel,
|
|
24
25
|
resolveSplitButtonVariant
|
|
@@ -139,6 +140,7 @@ var SplitButton = forwardRef(function SplitButton2({
|
|
|
139
140
|
hasMenu ? /* @__PURE__ */ jsx(
|
|
140
141
|
Dropdown,
|
|
141
142
|
{
|
|
143
|
+
className: splitButtonDropdownClasses,
|
|
142
144
|
trigger: "click",
|
|
143
145
|
showArrow: false,
|
|
144
146
|
asChild: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S37KEELR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
composeRefs,
|
|
6
6
|
renderOverlayTrigger
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
renderOverlayPortal,
|
|
13
13
|
useFocusTrap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OU2AV7DY.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useTigerConfig
|
|
17
17
|
} from "./chunk-RUIFGSVN.mjs";
|
|
@@ -299,7 +299,7 @@ var Slider = forwardRef(function Slider2({
|
|
|
299
299
|
{
|
|
300
300
|
...divProps,
|
|
301
301
|
ref: setRootRef,
|
|
302
|
-
className: getSliderRootClasses(effectiveDisabled, className),
|
|
302
|
+
className: getSliderRootClasses(effectiveDisabled, className, tooltip),
|
|
303
303
|
"data-status": status === "default" ? void 0 : status,
|
|
304
304
|
children: [
|
|
305
305
|
/* @__PURE__ */ jsx("div", { className: sliderHitAreaClasses, onPointerDown: handleTrackPointerDown, children: /* @__PURE__ */ jsxs("div", { ref: trackRef, className: trackClasses, onPointerDown: handleTrackPointerDown, children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S37KEELR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
composeRefs,
|
|
6
6
|
renderOverlayTrigger
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
renderOverlayPortal,
|
|
10
10
|
useFocusTrap
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OU2AV7DY.mjs";
|
|
12
12
|
|
|
13
13
|
// src/components/Popover.tsx
|
|
14
14
|
import { forwardRef, useEffect, useId, useMemo } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A2PQJEII.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Radio
|
|
6
6
|
} from "./chunk-4KZETZUH.mjs";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-HAG7TGPS.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Loading
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VW6RNQK4.mjs";
|
|
22
22
|
import {
|
|
23
23
|
Button
|
|
24
24
|
} from "./chunk-WFLXJOFU.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Table
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FTLA6FRU.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Select
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A2PQJEII.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Popover
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CQGDJU2H.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Input
|
|
12
12
|
} from "./chunk-XE34TOCS.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S37KEELR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
composeRefs,
|
|
6
6
|
renderOverlayTrigger
|
|
7
7
|
} from "./chunk-WWZZRB7H.mjs";
|
|
8
8
|
import {
|
|
9
9
|
renderOverlayPortal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OU2AV7DY.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/Tooltip.tsx
|
|
13
13
|
import { forwardRef, useId, useMemo } from "react";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-4BJCH6FI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
List
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YDIEWFBM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Loading
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VW6RNQK4.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Text
|
|
13
13
|
} from "./chunk-VDBLI5Y3.mjs";
|
|
@@ -335,7 +335,7 @@ function useAnchoredOverlay({
|
|
|
335
335
|
enabled: enabled && dismissOnOutside,
|
|
336
336
|
refs: [containerRef, referenceRef, floatingLayerRef, ...outsideRefs],
|
|
337
337
|
onOutsideClick: dismissOutside,
|
|
338
|
-
defer:
|
|
338
|
+
defer: true
|
|
339
339
|
});
|
|
340
340
|
useEscapeKey({
|
|
341
341
|
enabled: enabled && dismissOnEscape,
|