@expcat/tigercat-react 2.0.0-preview.2 → 2.0.0-preview.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/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-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-2UFTDDPW.mjs → chunk-HXD7KMRP.mjs} +1 -1
- package/dist/{chunk-HDCC4FBL.mjs → chunk-I5TELDUV.mjs} +2 -1
- package/dist/{chunk-GQPKHMHA.mjs → chunk-IBSOUQGB.mjs} +1 -1
- package/dist/{chunk-YN4FMZX5.mjs → chunk-IPJLQSAF.mjs} +4 -4
- 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-K6JLLCY7.mjs → chunk-MGQWVJHX.mjs} +2 -2
- 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-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-YLVXXP7E.mjs → chunk-PAN256RW.mjs} +2 -2
- 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-2GSXSLGC.mjs → chunk-PYDWF4ED.mjs} +7 -7
- package/dist/{chunk-Z6BDNV3S.mjs → chunk-QB5472NM.mjs} +1 -1
- package/dist/{chunk-BSXPB2V6.mjs → chunk-QGZ32NFQ.mjs} +1 -1
- 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-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-YCEH4N3Z.mjs → chunk-Z47SG5L5.mjs} +3 -3
- 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/Icon.mjs +1 -1
- 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 +92 -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,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { FormProps as FormProps$1, FormValues, FormError, FormConditions, FormRule, FormRuleTrigger, FormRules, FormLabelPosition, FormLabelAlign, ComponentSize, FormFieldCondition, FormConditionState } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface FormContextValue {
|
|
@@ -49,7 +49,7 @@ interface FormProps extends FormProps$1 {
|
|
|
49
49
|
/**
|
|
50
50
|
* Form content
|
|
51
51
|
*/
|
|
52
|
-
children?:
|
|
52
|
+
children?: React__default.ReactNode;
|
|
53
53
|
/**
|
|
54
54
|
* Submit handler
|
|
55
55
|
*/
|
|
@@ -87,6 +87,6 @@ interface FormProps extends FormProps$1 {
|
|
|
87
87
|
*/
|
|
88
88
|
maxHistorySize?: number;
|
|
89
89
|
}
|
|
90
|
-
declare const Form:
|
|
90
|
+
declare const Form: React__default.ForwardRefExoticComponent<FormProps & React__default.RefAttributes<FormHandle>>;
|
|
91
91
|
|
|
92
92
|
export { Form, type FormContextValue, type FormHandle, type FormProps, type FormSubmitEvent, useFormContext };
|
package/dist/components/Form.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { FormItemProps as FormItemProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface FormItemProps extends FormItemProps$1 {
|
|
5
5
|
/**
|
|
6
6
|
* Form item content
|
|
7
7
|
*/
|
|
8
|
-
children?:
|
|
8
|
+
children?: React__default.ReactNode;
|
|
9
9
|
/**
|
|
10
10
|
* Additional CSS classes
|
|
11
11
|
*/
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
14
|
-
declare const FormItem:
|
|
14
|
+
declare const FormItem: React__default.FC<FormItemProps>;
|
|
15
15
|
|
|
16
16
|
export { FormItem, type FormItemProps };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormItem
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-44BPUG24.mjs";
|
|
4
|
+
import "../chunk-OQLP452R.mjs";
|
|
5
|
+
import "../chunk-F6T3OLTQ.mjs";
|
|
6
|
+
import "../chunk-YSIXURBW.mjs";
|
|
7
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
6
8
|
export {
|
|
7
9
|
FormItem
|
|
8
10
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { InputStatus } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface FormItemControlContextValue {
|
|
5
|
+
status?: InputStatus;
|
|
6
|
+
errorMessage?: string;
|
|
7
|
+
shakeTrigger?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const FormItemControlProvider: React.Provider<FormItemControlContextValue | null>;
|
|
10
|
+
declare function useFormItemControlContext(): FormItemControlContextValue | null;
|
|
11
|
+
|
|
12
|
+
export { type FormItemControlContextValue, FormItemControlProvider, useFormItemControlContext };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { FormWizardProps as FormWizardProps$1, WizardStep } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface FormWizardProps extends Omit<FormWizardProps$1, 'style'>, Omit<
|
|
5
|
-
renderStep?: (step: WizardStep, index: number) =>
|
|
6
|
-
style?:
|
|
4
|
+
interface FormWizardProps extends Omit<FormWizardProps$1, 'style'>, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'children' | 'style' | 'autoSave'> {
|
|
5
|
+
renderStep?: (step: WizardStep, index: number) => React__default.ReactNode;
|
|
6
|
+
style?: React__default.CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const FormWizard:
|
|
8
|
+
declare const FormWizard: React__default.FC<FormWizardProps>;
|
|
9
9
|
|
|
10
10
|
export { FormWizard, type FormWizardProps, FormWizard as default };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormWizard,
|
|
3
3
|
FormWizard_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-IBSOUQGB.mjs";
|
|
5
5
|
import "../chunk-6UIVNRAR.mjs";
|
|
6
6
|
import "../chunk-5TE7KLE5.mjs";
|
|
7
7
|
import "../chunk-ZJWUBR2X.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-YSIXURBW.mjs";
|
|
9
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
9
10
|
export {
|
|
10
11
|
FormWizard,
|
|
11
12
|
FormWizard_default as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { FunnelChartProps as FunnelChartProps$1, FunnelChartDatum, ChartPadding } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface FunnelChartProps extends FunnelChartProps$1 {
|
|
@@ -10,6 +10,6 @@ interface FunnelChartProps extends FunnelChartProps$1 {
|
|
|
10
10
|
onSegmentClick?: (index: number, datum: FunnelChartDatum) => void;
|
|
11
11
|
onSegmentHover?: (index: number | null, datum: FunnelChartDatum | null) => void;
|
|
12
12
|
}
|
|
13
|
-
declare const FunnelChart:
|
|
13
|
+
declare const FunnelChart: React__default.FC<FunnelChartProps>;
|
|
14
14
|
|
|
15
15
|
export { FunnelChart, type FunnelChartProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FunnelChart
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7KCQMXJA.mjs";
|
|
4
4
|
import "../chunk-DNOPEJ5I.mjs";
|
|
5
5
|
import "../chunk-YORCCCQX.mjs";
|
|
6
6
|
import "../chunk-DKNVSQSV.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-F2ITBDUS.mjs";
|
|
8
8
|
export {
|
|
9
9
|
FunnelChart
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { GanttProps as GanttProps$1, ChartPadding, GanttTask } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface GanttProps extends Omit<GanttProps$1, 'className'> {
|
|
@@ -8,7 +8,7 @@ interface GanttProps extends Omit<GanttProps$1, 'className'> {
|
|
|
8
8
|
onTaskHover?: (task: GanttTask | null) => void;
|
|
9
9
|
onSelectedIdChange?: (id: string | number | null) => void;
|
|
10
10
|
}
|
|
11
|
-
declare function Gantt({ data, width, height, padding, scale, rowHeight, barHeight, taskLabelWidth, timelineHeight, minDate, maxDate, minBarWidth, showToday, showProgress, showDependencies, hoverable, selectable, selectedId, activeOpacity, inactiveOpacity, dateFormatter, colors, title, desc, ariaLabel, className, onTaskClick, onTaskHover, onSelectedIdChange }: GanttProps):
|
|
11
|
+
declare function Gantt({ data, width, height, padding, scale, rowHeight, barHeight, taskLabelWidth, timelineHeight, minDate, maxDate, minBarWidth, showToday, showProgress, showDependencies, hoverable, selectable, selectedId, activeOpacity, inactiveOpacity, dateFormatter, colors, title, desc, ariaLabel, className, onTaskClick, onTaskHover, onSelectedIdChange }: GanttProps): React__default.ReactElement;
|
|
12
12
|
declare namespace Gantt {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { GaugeChartProps as GaugeChartProps$1, ChartPadding } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface GaugeChartProps extends GaugeChartProps$1 {
|
|
5
5
|
padding?: ChartPadding;
|
|
6
6
|
}
|
|
7
|
-
declare const GaugeChart:
|
|
7
|
+
declare const GaugeChart: React__default.FC<GaugeChartProps>;
|
|
8
8
|
|
|
9
9
|
export { GaugeChart, type GaugeChartProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { HeaderProps } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface ReactHeaderProps extends HeaderProps, Omit<
|
|
5
|
-
children?:
|
|
4
|
+
interface ReactHeaderProps extends HeaderProps, Omit<React__default.HTMLAttributes<HTMLElement>, 'children' | 'height'> {
|
|
5
|
+
children?: React__default.ReactNode;
|
|
6
6
|
}
|
|
7
|
-
declare const Header:
|
|
7
|
+
declare const Header: React__default.FC<ReactHeaderProps>;
|
|
8
8
|
|
|
9
9
|
export { Header, type ReactHeaderProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { HeatmapChartProps as HeatmapChartProps$1, ChartPadding, HeatmapChartDatum } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface HeatmapChartProps extends HeatmapChartProps$1 {
|
|
@@ -8,6 +8,6 @@ interface HeatmapChartProps extends HeatmapChartProps$1 {
|
|
|
8
8
|
onCellClick?: (index: number, datum: HeatmapChartDatum) => void;
|
|
9
9
|
onCellHover?: (index: number | null, datum: HeatmapChartDatum | null) => void;
|
|
10
10
|
}
|
|
11
|
-
declare const HeatmapChart:
|
|
11
|
+
declare const HeatmapChart: React__default.FC<HeatmapChartProps>;
|
|
12
12
|
|
|
13
13
|
export { HeatmapChart, type HeatmapChartProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { IconProps as IconProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface IconProps extends IconProps$1,
|
|
5
|
-
children?:
|
|
4
|
+
interface IconProps extends IconProps$1, React__default.HTMLAttributes<HTMLSpanElement> {
|
|
5
|
+
children?: React__default.ReactNode;
|
|
6
6
|
}
|
|
7
|
-
declare const Icon:
|
|
7
|
+
declare const Icon: React__default.FC<IconProps>;
|
|
8
8
|
|
|
9
9
|
export { Icon, type IconProps };
|
package/dist/components/Icon.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ImageProps as ImageProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface ImageProps extends Omit<ImageProps$1, 'className'>, Omit<
|
|
4
|
+
interface ImageProps extends Omit<ImageProps$1, 'className'>, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'width' | 'height'> {
|
|
5
5
|
/**
|
|
6
6
|
* Custom error placeholder
|
|
7
7
|
*/
|
|
8
|
-
errorRender?:
|
|
8
|
+
errorRender?: React__default.ReactNode;
|
|
9
9
|
/**
|
|
10
10
|
* Custom loading placeholder
|
|
11
11
|
*/
|
|
12
|
-
placeholderRender?:
|
|
12
|
+
placeholderRender?: React__default.ReactNode;
|
|
13
13
|
/**
|
|
14
14
|
* Callback when preview visibility changes
|
|
15
15
|
*/
|
|
16
16
|
onPreviewOpenChange?: (open: boolean) => void;
|
|
17
17
|
}
|
|
18
|
-
declare const Image:
|
|
18
|
+
declare const Image: React__default.FC<ImageProps>;
|
|
19
19
|
|
|
20
20
|
export { Image, type ImageProps };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Image
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-ZEP7I6WB.mjs";
|
|
4
|
+
import "../chunk-EKESN747.mjs";
|
|
5
|
+
import "../chunk-SZBYEGKU.mjs";
|
|
6
6
|
import "../chunk-S7IB6YST.mjs";
|
|
7
7
|
import "../chunk-SEWNVIHH.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-YSIXURBW.mjs";
|
|
9
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
9
10
|
export {
|
|
10
11
|
Image
|
|
11
12
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ImageAnnotationProps as ImageAnnotationProps$1, ImageAnnotation as ImageAnnotation$1, ImageAnnotationChangeMeta, ImageAnnotationTool } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface ImageAnnotationProps extends Omit<ImageAnnotationProps$1, 'className' | 'value' | 'defaultValue'> {
|
|
5
5
|
value?: ImageAnnotation$1[];
|
|
6
6
|
defaultValue?: ImageAnnotation$1[];
|
|
7
7
|
className?: string;
|
|
8
|
-
style?:
|
|
8
|
+
style?: React__default.CSSProperties;
|
|
9
9
|
onChange?: (annotations: ImageAnnotation$1[], meta: ImageAnnotationChangeMeta) => void;
|
|
10
10
|
onSelect?: (annotation: ImageAnnotation$1 | null) => void;
|
|
11
11
|
onToolChange?: (tool: ImageAnnotationTool) => void;
|
|
12
12
|
onReady?: () => void;
|
|
13
13
|
}
|
|
14
|
-
declare function ImageAnnotation({ locale, src, alt, value, defaultValue, selectedId, defaultSelectedId, tool, defaultTool, tools, disabled, readonly, minSize, strokeWidth, showLabels, className, style, onChange, onSelect, onToolChange, onReady }: ImageAnnotationProps):
|
|
14
|
+
declare function ImageAnnotation({ locale, src, alt, value, defaultValue, selectedId, defaultSelectedId, tool, defaultTool, tools, disabled, readonly, minSize, strokeWidth, showLabels, className, style, onChange, onSelect, onToolChange, onReady }: ImageAnnotationProps): React__default.ReactElement;
|
|
15
15
|
declare namespace ImageAnnotation {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ImageCropperProps as ImageCropperProps$1, CropRect, CropResult } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface ImageCropperProps extends Omit<ImageCropperProps$1, 'className'> {
|
|
5
5
|
className?: string;
|
|
6
|
-
style?:
|
|
6
|
+
style?: React__default.CSSProperties;
|
|
7
7
|
/**
|
|
8
8
|
* Callback when crop area changes
|
|
9
9
|
*/
|
|
@@ -16,6 +16,6 @@ interface ImageCropperProps extends Omit<ImageCropperProps$1, 'className'> {
|
|
|
16
16
|
interface ImageCropperRef {
|
|
17
17
|
getCropResult: () => Promise<CropResult>;
|
|
18
18
|
}
|
|
19
|
-
declare const ImageCropper:
|
|
19
|
+
declare const ImageCropper: React__default.ForwardRefExoticComponent<ImageCropperProps & React__default.RefAttributes<ImageCropperRef>>;
|
|
20
20
|
|
|
21
21
|
export { ImageCropper, type ImageCropperProps, type ImageCropperRef };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
interface ImageGroupContextValue {
|
|
4
4
|
register: (src: string) => number;
|
|
5
5
|
unregister: (src: string) => void;
|
|
6
6
|
openPreview: (index: number) => void;
|
|
7
7
|
}
|
|
8
|
-
declare const ImageGroupContext:
|
|
8
|
+
declare const ImageGroupContext: React__default.Context<ImageGroupContextValue | null>;
|
|
9
9
|
interface ImageGroupProps {
|
|
10
10
|
/**
|
|
11
11
|
* Whether to enable preview for all child images
|
|
@@ -19,12 +19,12 @@ interface ImageGroupProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* Children
|
|
21
21
|
*/
|
|
22
|
-
children?:
|
|
22
|
+
children?: React__default.ReactNode;
|
|
23
23
|
/**
|
|
24
24
|
* Additional CSS classes
|
|
25
25
|
*/
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
declare const ImageGroup:
|
|
28
|
+
declare const ImageGroup: React__default.FC<ImageGroupProps>;
|
|
29
29
|
|
|
30
30
|
export { ImageGroup, ImageGroupContext, type ImageGroupContextValue, type ImageGroupProps };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ImageGroup,
|
|
3
3
|
ImageGroupContext
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-EKESN747.mjs";
|
|
5
|
+
import "../chunk-SZBYEGKU.mjs";
|
|
6
6
|
import "../chunk-SEWNVIHH.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-YSIXURBW.mjs";
|
|
8
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
8
9
|
export {
|
|
9
10
|
ImageGroup,
|
|
10
11
|
ImageGroupContext
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ImagePreviewProps as ImagePreviewProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface ImagePreviewProps extends ImagePreviewProps$1 {
|
|
@@ -16,6 +16,6 @@ interface ImagePreviewProps extends ImagePreviewProps$1 {
|
|
|
16
16
|
*/
|
|
17
17
|
onScaleChange?: (scale: number) => void;
|
|
18
18
|
}
|
|
19
|
-
declare const ImagePreview:
|
|
19
|
+
declare const ImagePreview: React__default.FC<ImagePreviewProps>;
|
|
20
20
|
|
|
21
21
|
export { ImagePreview, type ImagePreviewProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ImageViewerProps as ImageViewerProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface ImageViewerProps extends ImageViewerProps$1 {
|
|
@@ -6,6 +6,6 @@ interface ImageViewerProps extends ImageViewerProps$1 {
|
|
|
6
6
|
onClose?: () => void;
|
|
7
7
|
onCurrentIndexChange?: (index: number) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const ImageViewer:
|
|
9
|
+
declare const ImageViewer: React__default.FC<ImageViewerProps>;
|
|
10
10
|
|
|
11
11
|
export { ImageViewer, type ImageViewerProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { TigerLocale } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface InfiniteScrollProps {
|
|
@@ -12,11 +12,11 @@ interface InfiniteScrollProps {
|
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
className?: string;
|
|
14
14
|
locale?: Partial<TigerLocale>;
|
|
15
|
-
children?:
|
|
16
|
-
loader?:
|
|
17
|
-
end?:
|
|
15
|
+
children?: React__default.ReactNode;
|
|
16
|
+
loader?: React__default.ReactNode;
|
|
17
|
+
end?: React__default.ReactNode;
|
|
18
18
|
onLoadMore?: () => void;
|
|
19
19
|
}
|
|
20
|
-
declare const InfiniteScroll:
|
|
20
|
+
declare const InfiniteScroll: React__default.FC<InfiniteScrollProps>;
|
|
21
21
|
|
|
22
22
|
export { InfiniteScroll, type InfiniteScrollProps, InfiniteScroll as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InfiniteScroll,
|
|
3
3
|
InfiniteScroll_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-PAS347EX.mjs";
|
|
5
|
+
import "../chunk-YSIXURBW.mjs";
|
|
6
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
6
7
|
export {
|
|
7
8
|
InfiniteScroll,
|
|
8
9
|
InfiniteScroll_default as default
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { InputProps as InputProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface InputProps extends InputProps$1, Omit<
|
|
4
|
+
interface InputProps extends InputProps$1, Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'autoComplete' | 'onInput' | 'onChange' | 'onFocus' | 'onBlur' | 'readOnly' | 'prefix'> {
|
|
5
5
|
/**
|
|
6
6
|
* Input event handler
|
|
7
7
|
*/
|
|
8
|
-
onInput?: (event:
|
|
8
|
+
onInput?: (event: React__default.FormEvent<HTMLInputElement>) => void;
|
|
9
9
|
/**
|
|
10
10
|
* Change event handler
|
|
11
11
|
*/
|
|
12
|
-
onChange?: (event:
|
|
12
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
13
13
|
/**
|
|
14
14
|
* Focus event handler
|
|
15
15
|
*/
|
|
16
|
-
onFocus?: (event:
|
|
16
|
+
onFocus?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
17
17
|
/**
|
|
18
18
|
* Blur event handler
|
|
19
19
|
*/
|
|
20
|
-
onBlur?: (event:
|
|
20
|
+
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
21
21
|
/**
|
|
22
22
|
* Additional CSS classes
|
|
23
23
|
*/
|
|
@@ -30,17 +30,17 @@ interface InputProps extends InputProps$1, Omit<React.InputHTMLAttributes<HTMLIn
|
|
|
30
30
|
/**
|
|
31
31
|
* Prefix content
|
|
32
32
|
*/
|
|
33
|
-
prefix?:
|
|
33
|
+
prefix?: React__default.ReactNode;
|
|
34
34
|
/**
|
|
35
35
|
* Suffix content
|
|
36
36
|
*/
|
|
37
|
-
suffix?:
|
|
37
|
+
suffix?: React__default.ReactNode;
|
|
38
38
|
/**
|
|
39
39
|
* Clear event handler
|
|
40
40
|
* @since 0.5.0
|
|
41
41
|
*/
|
|
42
42
|
onClear?: () => void;
|
|
43
43
|
}
|
|
44
|
-
declare const Input:
|
|
44
|
+
declare const Input: React__default.FC<InputProps>;
|
|
45
45
|
|
|
46
46
|
export { Input, type InputProps };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ComponentSize } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface InputGroupContextValue {
|
|
5
5
|
size?: ComponentSize;
|
|
6
6
|
compact?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const InputGroupContext:
|
|
8
|
+
declare const InputGroupContext: React__default.Context<InputGroupContextValue | null>;
|
|
9
9
|
declare function useInputGroupContext(): InputGroupContextValue | null;
|
|
10
|
-
interface InputGroupProps extends
|
|
10
|
+
interface InputGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
11
11
|
size?: ComponentSize;
|
|
12
12
|
compact?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const InputGroup:
|
|
15
|
-
interface InputGroupAddonProps extends
|
|
14
|
+
declare const InputGroup: React__default.FC<InputGroupProps>;
|
|
15
|
+
interface InputGroupAddonProps extends React__default.HTMLAttributes<HTMLSpanElement> {
|
|
16
16
|
addonType?: 'text' | 'icon';
|
|
17
17
|
}
|
|
18
|
-
declare const InputGroupAddon:
|
|
18
|
+
declare const InputGroupAddon: React__default.FC<InputGroupAddonProps>;
|
|
19
19
|
|
|
20
20
|
export { InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupContext, type InputGroupContextValue, type InputGroupProps, useInputGroupContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { InputNumberProps as InputNumberProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface InputNumberProps extends InputNumberProps$1 {
|
|
@@ -9,16 +9,16 @@ interface InputNumberProps extends InputNumberProps$1 {
|
|
|
9
9
|
/**
|
|
10
10
|
* Focus handler
|
|
11
11
|
*/
|
|
12
|
-
onFocus?: (e:
|
|
12
|
+
onFocus?: (e: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
13
13
|
/**
|
|
14
14
|
* Blur handler
|
|
15
15
|
*/
|
|
16
|
-
onBlur?: (e:
|
|
16
|
+
onBlur?: (e: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
17
17
|
/**
|
|
18
18
|
* Additional CSS classes
|
|
19
19
|
*/
|
|
20
20
|
className?: string;
|
|
21
21
|
}
|
|
22
|
-
declare const InputNumber:
|
|
22
|
+
declare const InputNumber: React__default.FC<InputNumberProps>;
|
|
23
23
|
|
|
24
24
|
export { InputNumber, type InputNumberProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _expcat_tigercat_core from '@expcat/tigercat-core';
|
|
2
2
|
import { TaskBoardColumn, TaskBoardCardMoveEvent, TaskBoardColumnMoveEvent, KanbanSwimlane } from '@expcat/tigercat-core';
|
|
3
|
-
import
|
|
3
|
+
import React__default from 'react';
|
|
4
4
|
|
|
5
|
-
interface KanbanProps extends Omit<
|
|
5
|
+
interface KanbanProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
6
6
|
/** Controlled columns */
|
|
7
7
|
columns?: TaskBoardColumn[];
|
|
8
8
|
/** Default columns (uncontrolled) */
|
|
@@ -42,10 +42,10 @@ interface KanbanProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChan
|
|
|
42
42
|
/** Column add callback */
|
|
43
43
|
onColumnAdd?: () => void;
|
|
44
44
|
/** Custom card renderer */
|
|
45
|
-
renderCard?: (card: _expcat_tigercat_core.TaskBoardCard, columnId: string | number) =>
|
|
45
|
+
renderCard?: (card: _expcat_tigercat_core.TaskBoardCard, columnId: string | number) => React__default.ReactNode;
|
|
46
46
|
/** Custom column header renderer */
|
|
47
|
-
renderColumnHeader?: (column: TaskBoardColumn) =>
|
|
47
|
+
renderColumnHeader?: (column: TaskBoardColumn) => React__default.ReactNode;
|
|
48
48
|
}
|
|
49
|
-
declare const Kanban:
|
|
49
|
+
declare const Kanban: React__default.FC<KanbanProps>;
|
|
50
50
|
|
|
51
51
|
export { Kanban, type KanbanProps, Kanban as default };
|