@expcat/tigercat-react 1.4.0 → 1.5.0
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-WV5XHYW6.js → chunk-23XPDNCA.js} +6 -4
- package/dist/{chunk-UAM3RQY4.js → chunk-24NDLFPK.js} +22 -28
- package/dist/{chunk-NMKFR435.js → chunk-2LKX6CE7.js} +7 -4
- package/dist/{chunk-BEZO5IE4.js → chunk-2PV3F47T.js} +2 -2
- package/dist/{chunk-ANN5P7TJ.js → chunk-2ZA4MUO2.js} +72 -29
- package/dist/{chunk-H4AR4GXH.js → chunk-3NVMKDMH.js} +1 -8
- package/dist/{chunk-7CHTTM6D.js → chunk-3RQ3FHJ7.js} +2 -2
- package/dist/{chunk-ELRZ2ZHM.mjs → chunk-4DRJA5ZK.mjs} +15 -17
- package/dist/{chunk-J3N24I7A.mjs → chunk-4F3UTDFE.mjs} +24 -6
- package/dist/{chunk-56CTXEJS.mjs → chunk-4HMMH4XS.mjs} +24 -11
- package/dist/{chunk-ZQSMJS2Q.mjs → chunk-4MREOFVE.mjs} +3 -3
- package/dist/{chunk-EEF26RBA.mjs → chunk-4SU6D2E7.mjs} +15 -3
- package/dist/{chunk-ZZAR4IDS.js → chunk-4TPRBVW7.js} +19 -2
- package/dist/{chunk-NSEO2B74.mjs → chunk-4V5RL25M.mjs} +8 -5
- package/dist/{chunk-AUW7DCXL.js → chunk-5JYVN65W.js} +24 -6
- package/dist/{chunk-YRVAF2ID.js → chunk-5QLSTNA3.js} +7 -1
- package/dist/chunk-5SX2M3LU.mjs +319 -0
- package/dist/{chunk-FI53LYZ6.js → chunk-5UREMEDS.js} +24 -8
- package/dist/chunk-6LGCAGNG.js +312 -0
- package/dist/{chunk-KED5S2WG.mjs → chunk-6REMGSLS.mjs} +22 -11
- package/dist/{chunk-PNAWOJ32.js → chunk-6S5QOTXZ.js} +14 -2
- package/dist/{chunk-4AMSYFYC.js → chunk-6SG2N4WF.js} +7 -7
- package/dist/{chunk-YSGM22AH.mjs → chunk-6UIVNRAR.mjs} +7 -4
- package/dist/{chunk-IZGXDHPB.mjs → chunk-7RI5W465.mjs} +19 -25
- package/dist/{chunk-DCKBVRLI.js → chunk-7UZ7O7KX.js} +63 -16
- package/dist/{chunk-WZUADPYB.js → chunk-7YI5TAPT.js} +2 -5
- package/dist/chunk-AI4V7L6K.mjs +230 -0
- package/dist/chunk-AQOXANET.mjs +222 -0
- package/dist/{chunk-HHMYERHY.mjs → chunk-ATSI3UKS.mjs} +2 -1
- package/dist/{chunk-ZRHDNGWO.js → chunk-BR3WLDH7.js} +16 -2
- package/dist/{chunk-2Y5NIPHB.mjs → chunk-BRPOEVRT.mjs} +32 -3
- package/dist/{chunk-I7FEGKX2.mjs → chunk-CR4QBH46.mjs} +36 -11
- package/dist/{chunk-7U6VWD4H.mjs → chunk-CSJGNEHR.mjs} +2 -2
- package/dist/{chunk-ANBNSUSR.js → chunk-CXXOZLP4.js} +31 -21
- package/dist/{chunk-DVEK5SO6.mjs → chunk-D4X3NBAI.mjs} +8 -3
- package/dist/{chunk-QIL24WZD.mjs → chunk-DEQZZKY5.mjs} +12 -7
- package/dist/{chunk-TEYL5X56.js → chunk-DH4B2COV.js} +105 -36
- package/dist/{chunk-BONUUJU3.mjs → chunk-DJOFM2VO.mjs} +1 -8
- package/dist/{chunk-SQTOVSDU.mjs → chunk-DO3MVZZN.mjs} +12 -6
- package/dist/{chunk-SDZKL3IB.mjs → chunk-E355NVP7.mjs} +35 -14
- package/dist/{chunk-CNNEUJR2.js → chunk-ENJMHEQU.js} +44 -19
- package/dist/{chunk-BRA3PO53.js → chunk-FBIBHTBG.js} +2 -2
- package/dist/{chunk-P36GX65N.js → chunk-FCCHM2B4.js} +40 -4
- package/dist/{chunk-4LIDROT4.js → chunk-FFDK6PEP.js} +7 -4
- package/dist/{chunk-R2KUNFDN.mjs → chunk-GA4YOE57.mjs} +2 -2
- package/dist/{chunk-3E76U2RG.js → chunk-GADCSCH2.js} +33 -5
- package/dist/{chunk-JOB47R6Q.mjs → chunk-GCOA4AO6.mjs} +72 -29
- package/dist/{chunk-M6YXUNOU.mjs → chunk-GOUSXJEY.mjs} +2 -2
- package/dist/{chunk-GDPU5MYA.js → chunk-GPAY5F7D.js} +11 -6
- package/dist/{chunk-TNTOSFGN.mjs → chunk-GQPKHMHA.mjs} +1 -1
- package/dist/{chunk-NKSYX4R7.mjs → chunk-GTDLZF7K.mjs} +2 -2
- package/dist/{chunk-OXQOKKTP.mjs → chunk-H7D7UBDC.mjs} +2 -2
- package/dist/{chunk-KYNWNTGO.js → chunk-HFGTJEQW.js} +82 -29
- package/dist/{chunk-J6OZWT3P.js → chunk-HVAG26CK.js} +3 -3
- package/dist/{chunk-SLEXEH7R.mjs → chunk-HWZSMV2M.mjs} +3 -11
- package/dist/{chunk-EJKOUI26.js → chunk-I5UB4FN3.js} +3 -3
- package/dist/{chunk-NVI2P7VH.js → chunk-I6VHGILW.js} +21 -9
- package/dist/{chunk-EOU6WZTS.js → chunk-I7OSNH5T.js} +34 -5
- package/dist/{chunk-L24PPXLV.js → chunk-IFB3OECJ.js} +1 -0
- package/dist/{chunk-376X7SDZ.mjs → chunk-IXAPFTTD.mjs} +7 -6
- package/dist/{chunk-EHIXCFD7.js → chunk-JHRFG5PG.js} +57 -12
- package/dist/{chunk-3EB42WFR.mjs → chunk-KCPGFO5R.mjs} +2 -2
- package/dist/{chunk-G3PBQ4B4.mjs → chunk-KQ4ZKXXN.mjs} +52 -2
- package/dist/{chunk-MC26ORSN.js → chunk-KSXGH3FO.js} +7 -7
- package/dist/{chunk-X7JAYXPY.js → chunk-KVWSVDAJ.js} +4 -4
- package/dist/{chunk-OFRKYQOZ.mjs → chunk-LACDTZTE.mjs} +4 -4
- package/dist/{chunk-YH57D4AV.mjs → chunk-LAKPYMBZ.mjs} +1 -0
- package/dist/{chunk-6GU5NH5F.mjs → chunk-LBXNMCXN.mjs} +33 -5
- package/dist/{chunk-KGMVRIYC.mjs → chunk-LOM6NNQK.mjs} +29 -16
- package/dist/{chunk-WFWEMXO7.mjs → chunk-LUABLBKS.mjs} +83 -30
- package/dist/{chunk-K2TXT5HQ.js → chunk-M577W3TS.js} +101 -85
- package/dist/{chunk-3EDASNTG.js → chunk-MOYZF62V.js} +29 -16
- package/dist/{chunk-ZDNQGS4O.js → chunk-MQIVMK24.js} +4 -4
- package/dist/{chunk-WMPCN7OF.mjs → chunk-MZCGQED3.mjs} +15 -3
- package/dist/{chunk-KDXKF6B2.mjs → chunk-MZPKFMQC.mjs} +1 -1
- package/dist/{chunk-AG4HRAW2.mjs → chunk-NEHSCSQP.mjs} +2 -2
- package/dist/chunk-NG3OBMKV.js +319 -0
- package/dist/{chunk-RFHPG4KN.js → chunk-NGSJGXUZ.js} +15 -17
- package/dist/{chunk-WIWTY74F.mjs → chunk-NJHZQBA7.mjs} +16 -2
- package/dist/{chunk-EQD2U4KM.js → chunk-O2N7ITWQ.js} +63 -16
- package/dist/{chunk-NASC6XHN.mjs → chunk-O6YIPNXX.mjs} +24 -15
- package/dist/{chunk-VHGCWZ6V.mjs → chunk-OTRPN5ZG.mjs} +58 -13
- package/dist/{chunk-QIKR5EFI.js → chunk-OVJO5NYW.js} +4 -4
- package/dist/{chunk-KXT2TP6A.mjs → chunk-P2WQIVXD.mjs} +22 -10
- package/dist/{chunk-PT5T5F4H.js → chunk-PQF5VLNX.js} +22 -11
- package/dist/chunk-PQOUWJAT.mjs +211 -0
- package/dist/{chunk-OS6M3IZF.js → chunk-PSCPLUGP.js} +5 -13
- package/dist/{chunk-ULWT6W6M.mjs → chunk-PZB24FST.mjs} +10 -5
- package/dist/{chunk-BO45CU4Q.js → chunk-PZWI4YNN.js} +6 -4
- package/dist/{chunk-PFYK2V3E.js → chunk-Q2OXQNWU.js} +73 -9
- package/dist/{chunk-VM4ZQHT5.mjs → chunk-QANWBRNU.mjs} +59 -12
- package/dist/{chunk-XBM76P27.mjs → chunk-QFUIGOOM.mjs} +4 -2
- package/dist/{chunk-BN4ZKCAI.mjs → chunk-QKNORS26.mjs} +49 -36
- package/dist/{chunk-LROHXQWX.js → chunk-R4PMBWU3.js} +2 -2
- package/dist/chunk-R56UOY6C.js +222 -0
- package/dist/chunk-RNHC7BON.js +230 -0
- package/dist/{chunk-7PXALKLM.js → chunk-RRO752KE.js} +11 -10
- package/dist/{chunk-RVLV63SI.mjs → chunk-S4NGDDAM.mjs} +105 -36
- package/dist/{chunk-D5MQBUP2.js → chunk-SA3N2LUB.js} +22 -17
- package/dist/{chunk-BROIZ266.js → chunk-SFBSI3J7.js} +6 -3
- package/dist/{chunk-RVO6R37N.mjs → chunk-SHDQJ5BJ.mjs} +1 -1
- package/dist/{chunk-N2JYU4JI.js → chunk-SHU7L4NM.js} +52 -2
- package/dist/{chunk-M3MOSUZO.mjs → chunk-SI3P3V75.mjs} +16 -6
- package/dist/{chunk-UVMQJOTX.js → chunk-SK7PXSVE.js} +23 -14
- package/dist/{chunk-U356F7GU.js → chunk-SO2ADQTB.js} +52 -11
- package/dist/{chunk-NKKIJQMV.mjs → chunk-SPIPFOGD.mjs} +4 -2
- package/dist/{chunk-NQNHM4OL.mjs → chunk-SRC7JHME.mjs} +1 -1
- package/dist/{chunk-2RBHQBSG.js → chunk-SXTMVZ4W.js} +25 -12
- package/dist/{chunk-BEM7XG2L.js → chunk-SYJJKI7U.js} +35 -14
- package/dist/{chunk-RYNLPRUM.mjs → chunk-SYVMCKPR.mjs} +1 -1
- package/dist/{chunk-SY23FAXK.mjs → chunk-T6HNFCOW.mjs} +24 -8
- package/dist/{chunk-ZITBUGBH.mjs → chunk-TBMDIAZI.mjs} +59 -12
- package/dist/{chunk-B63GEB2Y.js → chunk-TIDVBSXR.js} +47 -34
- package/dist/{chunk-ZJI2VLIL.js → chunk-TLDTBCT6.js} +15 -3
- package/dist/{chunk-XFPJYKBQ.js → chunk-TN7GMDME.js} +13 -9
- package/dist/{chunk-M3FVPPMM.js → chunk-TO4SSBAJ.js} +17 -12
- package/dist/{chunk-XTQUPDRI.js → chunk-TPU6S7G7.js} +2 -2
- package/dist/{chunk-NEZ445D4.mjs → chunk-TRXNHYWB.mjs} +3 -3
- package/dist/{chunk-H6NC6SBX.js → chunk-TVEO2CFD.js} +2 -2
- package/dist/{chunk-6QQBMZQ6.mjs → chunk-U2ZXZ2KQ.mjs} +74 -10
- package/dist/{chunk-AVLIUHOS.mjs → chunk-U337RHJB.mjs} +4 -4
- package/dist/{chunk-VC26SAXB.js → chunk-UQZ4RLTI.js} +12 -6
- package/dist/{chunk-PXO2F2CS.mjs → chunk-V23KR23W.mjs} +47 -4
- package/dist/{chunk-BA6TJQZL.js → chunk-V3QEV3TL.js} +6 -6
- package/dist/{chunk-GG72T6JK.js → chunk-VOSN3IQC.js} +47 -4
- package/dist/{chunk-J4OQ2VRH.mjs → chunk-W6T3CG7U.mjs} +45 -4
- package/dist/{chunk-OTEM4FVX.mjs → chunk-WGKNAOW7.mjs} +11 -7
- package/dist/chunk-WLFLQB4R.mjs +312 -0
- package/dist/{chunk-W6AWN7BC.js → chunk-WLORVPTR.js} +4 -4
- package/dist/{chunk-J5N5OQWB.mjs → chunk-WOEX4S6J.mjs} +5 -2
- package/dist/{chunk-CAQPYJFA.mjs → chunk-WT72F56O.mjs} +1 -1
- package/dist/{chunk-7Z64GEMN.js → chunk-WTASPL6V.js} +3 -1
- package/dist/{chunk-2LYV6NBJ.mjs → chunk-WTIEJCRV.mjs} +7 -1
- package/dist/{chunk-L6KSO66F.mjs → chunk-WYPTAUCX.mjs} +2 -5
- package/dist/{chunk-CC5GFX6F.js → chunk-XKMZ5AMS.js} +2 -1
- package/dist/{chunk-WCTNQYXO.js → chunk-XMD7CQQ2.js} +12 -7
- package/dist/{chunk-7DUHHRAU.mjs → chunk-Y5X3G2LD.mjs} +41 -5
- package/dist/{chunk-ZA5EFHET.mjs → chunk-Z6BDNV3S.mjs} +18 -1
- package/dist/{chunk-UBP7HZSU.mjs → chunk-ZG2W4HS5.mjs} +6 -4
- package/dist/{chunk-UIIOZEUP.js → chunk-ZLCVJXGL.js} +4 -4
- package/dist/{chunk-CME2IFUT.mjs → chunk-ZLP4XEAO.mjs} +21 -16
- package/dist/{chunk-YID7J6ZK.js → chunk-ZXVLZKLT.js} +1 -1
- package/dist/components/ActivityFeed.js +6 -6
- package/dist/components/ActivityFeed.mjs +5 -5
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.js +3 -2
- package/dist/components/AutoComplete.mjs +2 -1
- package/dist/components/BackTop.js +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.d.mts +1 -1
- package/dist/components/Breadcrumb.d.ts +1 -1
- package/dist/components/Calendar.d.mts +2 -10
- package/dist/components/Calendar.d.ts +2 -10
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Cascader.js +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartAxis.d.mts +1 -2
- package/dist/components/ChartAxis.d.ts +1 -2
- package/dist/components/ChartGrid.d.mts +1 -2
- package/dist/components/ChartGrid.d.ts +1 -2
- package/dist/components/ChartLegend.js +2 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartSeries.d.mts +1 -2
- package/dist/components/ChartSeries.d.ts +1 -2
- package/dist/components/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.js +8 -6
- package/dist/components/ChatWindow.mjs +7 -5
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/CommentThread.js +6 -4
- package/dist/components/CommentThread.mjs +5 -3
- package/dist/components/CropUpload.d.mts +6 -2
- package/dist/components/CropUpload.d.ts +6 -2
- package/dist/components/CropUpload.js +4 -4
- package/dist/components/CropUpload.mjs +3 -3
- package/dist/components/DataTableWithToolbar.d.mts +1 -2
- package/dist/components/DataTableWithToolbar.d.ts +1 -2
- package/dist/components/DataTableWithToolbar.js +7 -6
- package/dist/components/DataTableWithToolbar.mjs +6 -5
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Empty.js +3 -2
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +3 -23
- package/dist/components/FileManager.d.ts +3 -23
- package/dist/components/FileManager.js +2 -2
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.js +2 -2
- package/dist/components/Form.mjs +1 -1
- package/dist/components/FormItem.js +3 -3
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FormWizard.js +3 -3
- package/dist/components/FormWizard.mjs +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.js +3 -3
- package/dist/components/HeatmapChart.mjs +2 -2
- package/dist/components/Image.js +5 -4
- package/dist/components/Image.mjs +4 -3
- package/dist/components/ImageAnnotation.d.mts +1 -1
- package/dist/components/ImageAnnotation.d.ts +1 -1
- package/dist/components/ImageAnnotation.js +3 -2
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.js +3 -2
- package/dist/components/ImageCropper.mjs +2 -1
- package/dist/components/ImageGroup.js +4 -3
- package/dist/components/ImageGroup.mjs +3 -2
- package/dist/components/ImagePreview.js +3 -2
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +2 -0
- package/dist/components/ImageViewer.d.ts +2 -0
- package/dist/components/ImageViewer.js +3 -2
- package/dist/components/ImageViewer.mjs +2 -1
- package/dist/components/InfiniteScroll.js +2 -2
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +5 -1
- package/dist/components/Kanban.d.ts +5 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.d.mts +1 -2
- package/dist/components/List.d.ts +1 -2
- package/dist/components/List.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/Loading.js +2 -2
- package/dist/components/Loading.mjs +1 -1
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Menu.d.mts +2 -2
- package/dist/components/Menu.d.ts +2 -2
- package/dist/components/MenuItem.d.mts +1 -1
- package/dist/components/MenuItem.d.ts +1 -1
- package/dist/components/MenuItemGroup.d.mts +1 -1
- package/dist/components/MenuItemGroup.d.ts +1 -1
- package/dist/components/Message.d.mts +2 -1
- package/dist/components/Message.d.ts +2 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.js +2 -2
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/NotificationCenter.js +6 -6
- package/dist/components/NotificationCenter.mjs +5 -5
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/QRCode.d.mts +2 -1
- package/dist/components/QRCode.d.ts +2 -1
- package/dist/components/QRCode.js +3 -2
- package/dist/components/QRCode.mjs +2 -1
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +3 -3
- package/dist/components/Rate.js +2 -2
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/Resizable.js +2 -2
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/Result.js +2 -2
- package/dist/components/Result.mjs +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/Segmented.d.mts +1 -1
- package/dist/components/Segmented.d.ts +1 -1
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Splitter.js +2 -2
- package/dist/components/Splitter.mjs +1 -1
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +2 -2
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SubMenu.d.mts +1 -1
- package/dist/components/SubMenu.d.ts +1 -1
- package/dist/components/SunburstChart.js +4 -4
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/TabPane.js +2 -2
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.d.mts +2 -2
- package/dist/components/Table.d.ts +2 -2
- package/dist/components/Table.js +4 -4
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +0 -4
- package/dist/components/Tabs.d.ts +0 -4
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +3 -1
- package/dist/components/TaskBoard.d.ts +3 -1
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.js +2 -2
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Timeline.d.mts +5 -1
- package/dist/components/Timeline.d.ts +5 -1
- package/dist/components/Timeline.js +3 -2
- package/dist/components/Timeline.mjs +2 -1
- package/dist/components/Tour.js +4 -3
- package/dist/components/Tour.mjs +3 -2
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.js +3 -3
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/Upload.js +2 -2
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +7 -2
- package/dist/components/VirtualTable.d.ts +7 -2
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.d.mts +52 -53
- package/dist/index.d.ts +52 -53
- package/dist/index.js +81 -81
- package/dist/index.mjs +80 -80
- package/dist/{types-DaC4a0Ny.d.ts → types-CcgZY0mv.d.mts} +2 -2
- package/dist/{types-DaC4a0Ny.d.mts → types-CcgZY0mv.d.ts} +2 -2
- package/package.json +6 -6
- package/dist/chunk-5EVHVZG5.js +0 -131
- package/dist/chunk-AF2AEZKM.js +0 -165
- package/dist/chunk-CDRQSKXT.mjs +0 -195
- package/dist/chunk-EPJ6W4VI.mjs +0 -165
- package/dist/chunk-GYQ2DN6Z.mjs +0 -174
- package/dist/chunk-MTIGGMHG.mjs +0 -180
- package/dist/chunk-NDGA3N6H.js +0 -180
- package/dist/chunk-S5Y6UHAK.mjs +0 -131
- package/dist/chunk-T7KO6EVK.js +0 -174
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useInputGroupContext
|
|
3
|
+
} from "./chunk-34VGG7AK.mjs";
|
|
1
4
|
import {
|
|
2
5
|
useControlledState
|
|
3
6
|
} from "./chunk-WHYHLUXG.mjs";
|
|
@@ -31,7 +34,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
31
34
|
var InputNumber = ({
|
|
32
35
|
value: controlledValue,
|
|
33
36
|
defaultValue,
|
|
34
|
-
size
|
|
37
|
+
size,
|
|
35
38
|
status = "default",
|
|
36
39
|
min = -Infinity,
|
|
37
40
|
max = Infinity,
|
|
@@ -53,6 +56,8 @@ var InputNumber = ({
|
|
|
53
56
|
onBlur,
|
|
54
57
|
className
|
|
55
58
|
}) => {
|
|
59
|
+
const inputGroup = useInputGroupContext();
|
|
60
|
+
const effectiveSize = size ?? inputGroup?.size ?? "md";
|
|
56
61
|
const inputRef = useRef(null);
|
|
57
62
|
const repeatControllerRef = useRef(createRafRepeatActionController());
|
|
58
63
|
const repeatValueRef = useRef(null);
|
|
@@ -160,19 +165,19 @@ var InputNumber = ({
|
|
|
160
165
|
() => classNames(
|
|
161
166
|
getInputNumberWrapperClasses(disabled),
|
|
162
167
|
getInputNumberStatusClasses(status),
|
|
163
|
-
getInputNumberSizeClasses(
|
|
168
|
+
getInputNumberSizeClasses(effectiveSize),
|
|
164
169
|
focused && `ring-2 ${getInputNumberFocusRingColor(status)}`,
|
|
165
170
|
className
|
|
166
171
|
),
|
|
167
|
-
[disabled, status,
|
|
172
|
+
[disabled, status, effectiveSize, focused, className]
|
|
168
173
|
);
|
|
169
174
|
const inputClasses = useMemo(
|
|
170
175
|
() => getInputNumberInputClasses(
|
|
171
|
-
|
|
176
|
+
effectiveSize,
|
|
172
177
|
controls && controlsPosition === "right",
|
|
173
178
|
controls && controlsPosition === "both"
|
|
174
179
|
),
|
|
175
|
-
[
|
|
180
|
+
[effectiveSize, controls, controlsPosition]
|
|
176
181
|
);
|
|
177
182
|
return /* @__PURE__ */ jsxs("div", { className: wrapperClasses, children: [
|
|
178
183
|
controls && controlsPosition === "both" && /* @__PURE__ */ jsx(
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkXTV5JLLCjs = require('./chunk-XTV5JLLC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk23XPDNCAjs = require('./chunk-23XPDNCA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkSK7PXSVEjs = require('./chunk-SK7PXSVE.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkUKLVOR4Ejs = require('./chunk-UKLVOR4E.js');
|
|
@@ -215,6 +215,8 @@ var PieChart = ({
|
|
|
215
215
|
filter: shadow ? isEmphasized ? _tigercatcore.PIE_EMPHASIS_SHADOW : _tigercatcore.PIE_BASE_SHADOW : void 0
|
|
216
216
|
},
|
|
217
217
|
tabIndex: selectable ? 0 : void 0,
|
|
218
|
+
role: selectable ? "button" : "img",
|
|
219
|
+
"aria-label": _nullishCoalesce(arc.data.label, () => ( String(arc.value))),
|
|
218
220
|
"data-pie-slice": "true",
|
|
219
221
|
"data-index": arc.index,
|
|
220
222
|
onMouseEnter: (e) => handleMouseEnter(arc.index, e),
|
|
@@ -283,7 +285,7 @@ var PieChart = ({
|
|
|
283
285
|
}
|
|
284
286
|
);
|
|
285
287
|
const tooltip = showTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
286
|
-
|
|
288
|
+
_chunkSK7PXSVEjs.ChartTooltip,
|
|
287
289
|
{
|
|
288
290
|
content: tooltipContent,
|
|
289
291
|
visible: hoverable && resolvedHoveredIndex !== null && tooltipContent !== "",
|
|
@@ -300,7 +302,7 @@ var PieChart = ({
|
|
|
300
302
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: wrapperClasses, children: [
|
|
301
303
|
chart,
|
|
302
304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
303
|
-
|
|
305
|
+
_chunk23XPDNCAjs.ChartLegend,
|
|
304
306
|
{
|
|
305
307
|
items: legendItems,
|
|
306
308
|
position: legendPosition,
|
|
@@ -9,6 +9,8 @@ var _react = require('react');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
13
15
|
var _jsxruntime = require('react/jsx-runtime');
|
|
14
16
|
var Resizable = ({
|
|
@@ -118,6 +120,54 @@ var Resizable = ({
|
|
|
118
120
|
onResizeEnd
|
|
119
121
|
]
|
|
120
122
|
);
|
|
123
|
+
const handleKeyDown = _react.useCallback.call(void 0,
|
|
124
|
+
(handle, e) => {
|
|
125
|
+
if (disabled) return;
|
|
126
|
+
const delta = _tigercatcore.getResizeKeyboardDelta.call(void 0, e.key);
|
|
127
|
+
if (!delta) return;
|
|
128
|
+
e.preventDefault();
|
|
129
|
+
const startW = _nullishCoalesce(width, () => ( 0));
|
|
130
|
+
const startH = _nullishCoalesce(height, () => ( 0));
|
|
131
|
+
const { deltaWidth, deltaHeight } = _tigercatcore.calculateResizeDelta.call(void 0,
|
|
132
|
+
handle,
|
|
133
|
+
delta.deltaX,
|
|
134
|
+
delta.deltaY,
|
|
135
|
+
axis
|
|
136
|
+
);
|
|
137
|
+
let newW = startW + deltaWidth;
|
|
138
|
+
let newH = startH + deltaHeight;
|
|
139
|
+
if (lockAspectRatio) {
|
|
140
|
+
const ar = _tigercatcore.applyAspectRatio.call(void 0, newW, newH, startW, startH);
|
|
141
|
+
newW = ar.width;
|
|
142
|
+
newH = ar.height;
|
|
143
|
+
}
|
|
144
|
+
const clamped = _tigercatcore.clampDimensions.call(void 0, newW, newH, minWidth, minHeight, maxWidth, maxHeight);
|
|
145
|
+
setWidth(clamped.width);
|
|
146
|
+
setHeight(clamped.height);
|
|
147
|
+
const evt = {
|
|
148
|
+
width: clamped.width,
|
|
149
|
+
height: clamped.height,
|
|
150
|
+
handle,
|
|
151
|
+
deltaX: clamped.width - startW,
|
|
152
|
+
deltaY: clamped.height - startH
|
|
153
|
+
};
|
|
154
|
+
_optionalChain([onResize, 'optionalCall', _7 => _7(evt)]);
|
|
155
|
+
_optionalChain([onResizeEnd, 'optionalCall', _8 => _8(evt)]);
|
|
156
|
+
},
|
|
157
|
+
[
|
|
158
|
+
disabled,
|
|
159
|
+
width,
|
|
160
|
+
height,
|
|
161
|
+
axis,
|
|
162
|
+
lockAspectRatio,
|
|
163
|
+
minWidth,
|
|
164
|
+
minHeight,
|
|
165
|
+
maxWidth,
|
|
166
|
+
maxHeight,
|
|
167
|
+
onResize,
|
|
168
|
+
onResizeEnd
|
|
169
|
+
]
|
|
170
|
+
);
|
|
121
171
|
const containerClasses = _react.useMemo.call(void 0,
|
|
122
172
|
() => _tigercatcore.classNames.call(void 0, _tigercatcore.resizableBaseClasses, "group/resizable", className),
|
|
123
173
|
[className]
|
|
@@ -130,15 +180,29 @@ var Resizable = ({
|
|
|
130
180
|
}, [width, height, style]);
|
|
131
181
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: containerClasses, style: containerStyle, "data-resizable": "", children: [
|
|
132
182
|
children,
|
|
133
|
-
handles.map((pos) =>
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
183
|
+
handles.map((pos) => {
|
|
184
|
+
const usesHeight = pos === "top" || pos === "bottom";
|
|
185
|
+
const valueNow = Math.round(_nullishCoalesce((usesHeight ? height : width), () => ( 0)));
|
|
186
|
+
const valueMin = usesHeight ? minHeight : minWidth;
|
|
187
|
+
const valueMax = usesHeight ? maxHeight : maxWidth;
|
|
188
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
+
"div",
|
|
190
|
+
{
|
|
191
|
+
className: _tigercatcore.getResizableHandleClasses.call(void 0, pos, draggingHandle === pos, disabled),
|
|
192
|
+
"data-handle": pos,
|
|
193
|
+
role: "separator",
|
|
194
|
+
"aria-label": `Resize ${pos}`,
|
|
195
|
+
"aria-orientation": _tigercatcore.getResizeHandleOrientation.call(void 0, pos),
|
|
196
|
+
"aria-valuenow": valueNow,
|
|
197
|
+
"aria-valuemin": valueMin,
|
|
198
|
+
"aria-valuemax": valueMax,
|
|
199
|
+
tabIndex: disabled ? -1 : 0,
|
|
200
|
+
onMouseDown: (e) => handleMouseDown(pos, e),
|
|
201
|
+
onKeyDown: (e) => handleKeyDown(pos, e)
|
|
202
|
+
},
|
|
203
|
+
pos
|
|
204
|
+
);
|
|
205
|
+
})
|
|
142
206
|
] });
|
|
143
207
|
};
|
|
144
208
|
var Resizable_default = Resizable;
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-6QML6T3Y.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZG2W4HS5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartSeries
|
|
9
9
|
} from "./chunk-SDLMB34Y.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartTooltip
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O6YIPNXX.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ChartAxis
|
|
15
15
|
} from "./chunk-RQSQXQN6.mjs";
|
|
@@ -50,13 +50,13 @@ var AreaChart = ({
|
|
|
50
50
|
series,
|
|
51
51
|
xScale: xScaleProp,
|
|
52
52
|
yScale: yScaleProp,
|
|
53
|
-
areaColor
|
|
53
|
+
areaColor = "var(--tiger-primary,#2563eb)",
|
|
54
54
|
strokeWidth = 2,
|
|
55
55
|
fillOpacity = 0.2,
|
|
56
56
|
curve = "linear",
|
|
57
57
|
showPoints = false,
|
|
58
58
|
pointSize = 4,
|
|
59
|
-
pointColor
|
|
59
|
+
pointColor,
|
|
60
60
|
stacked = false,
|
|
61
61
|
showGrid = true,
|
|
62
62
|
showAxis = true,
|
|
@@ -114,8 +114,13 @@ var AreaChart = ({
|
|
|
114
114
|
[width, height, padding]
|
|
115
115
|
);
|
|
116
116
|
const resolvedSeries = useMemo(
|
|
117
|
-
() => resolveSeriesData(series, data
|
|
118
|
-
|
|
117
|
+
() => resolveSeriesData(series, data, {
|
|
118
|
+
// Single-series colors (`areaColor`/`pointColor`) seed the synthesized
|
|
119
|
+
// series so they take effect when only `data` is provided.
|
|
120
|
+
color: areaColor,
|
|
121
|
+
pointColor
|
|
122
|
+
}),
|
|
123
|
+
[series, data, areaColor, pointColor]
|
|
119
124
|
);
|
|
120
125
|
const {
|
|
121
126
|
activeIndex,
|
|
@@ -291,6 +296,16 @@ var AreaChart = ({
|
|
|
291
296
|
setHoveredPointInfo(null);
|
|
292
297
|
onPointHover?.(null, null, null);
|
|
293
298
|
}, [onPointHover]);
|
|
299
|
+
const showPointTooltipFromElement = useCallback(
|
|
300
|
+
(el, seriesIndex, pointIndex) => {
|
|
301
|
+
if (!hoverable) return;
|
|
302
|
+
const rect = el.getBoundingClientRect();
|
|
303
|
+
setHoveredPointInfo({ seriesIndex, pointIndex });
|
|
304
|
+
setTooltipPosition({ x: rect.left + rect.width / 2, y: rect.top + rect.height / 2 });
|
|
305
|
+
onPointHover?.(seriesIndex, pointIndex, resolvedSeries[seriesIndex]?.data[pointIndex]);
|
|
306
|
+
},
|
|
307
|
+
[hoverable, onPointHover, resolvedSeries]
|
|
308
|
+
);
|
|
294
309
|
const handlePointClick = useCallback(
|
|
295
310
|
(seriesIndex, pointIndex) => {
|
|
296
311
|
onPointClick?.(seriesIndex, pointIndex, resolvedSeries[seriesIndex]?.data[pointIndex]);
|
|
@@ -307,6 +322,7 @@ var AreaChart = ({
|
|
|
307
322
|
},
|
|
308
323
|
[selectable, handleSeriesSelect]
|
|
309
324
|
);
|
|
325
|
+
const pointClickable = selectable || !!onPointClick;
|
|
310
326
|
const reversedSeriesData = useMemo(() => [...seriesData].reverse(), [seriesData]);
|
|
311
327
|
const chart = /* @__PURE__ */ jsxs(
|
|
312
328
|
ChartCanvas,
|
|
@@ -478,6 +494,8 @@ var AreaChart = ({
|
|
|
478
494
|
(sd) => sd.showPoints && /* @__PURE__ */ jsx("g", { opacity: sd.opacity, "data-series-key": sd.seriesKey, children: sd.points.map((point) => {
|
|
479
495
|
const isHovered = hoveredPointInfo?.seriesIndex === sd.seriesIndex && hoveredPointInfo?.pointIndex === point.pointIndex;
|
|
480
496
|
const hoverSize = sd.pointSize + 2;
|
|
497
|
+
const datum = resolvedSeries[sd.seriesIndex]?.data?.[point.pointIndex];
|
|
498
|
+
const pointInteractive = hoverable || pointClickable;
|
|
481
499
|
return /* @__PURE__ */ jsx(
|
|
482
500
|
"circle",
|
|
483
501
|
{
|
|
@@ -487,17 +505,46 @@ var AreaChart = ({
|
|
|
487
505
|
fill: sd.pointHollow ? "white" : pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
|
|
488
506
|
stroke: sd.pointHollow ? sd.pointColor : "none",
|
|
489
507
|
strokeWidth: sd.pointHollow ? 2 : 0,
|
|
490
|
-
className:
|
|
508
|
+
className: classNames(
|
|
509
|
+
linePointTransitionClasses,
|
|
510
|
+
pointInteractive && "cursor-pointer"
|
|
511
|
+
),
|
|
491
512
|
style: isHovered ? { filter: `drop-shadow(0 0 4px ${sd.color})` } : void 0,
|
|
513
|
+
role: pointInteractive ? "button" : "img",
|
|
514
|
+
"aria-label": datum?.label ?? String(datum?.y ?? ""),
|
|
515
|
+
tabIndex: pointInteractive ? 0 : void 0,
|
|
492
516
|
"data-point-index": point.pointIndex,
|
|
493
517
|
"data-series-key": sd.seriesKey,
|
|
494
|
-
onMouseEnter: (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e),
|
|
495
|
-
onMouseMove: handlePointMouseMove,
|
|
496
|
-
onMouseLeave: handlePointMouseLeave,
|
|
497
|
-
onClick: (e) => {
|
|
518
|
+
onMouseEnter: hoverable ? (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e) : void 0,
|
|
519
|
+
onMouseMove: hoverable ? handlePointMouseMove : void 0,
|
|
520
|
+
onMouseLeave: hoverable ? handlePointMouseLeave : void 0,
|
|
521
|
+
onClick: pointClickable ? (e) => {
|
|
498
522
|
e.stopPropagation();
|
|
499
523
|
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
500
|
-
}
|
|
524
|
+
} : void 0,
|
|
525
|
+
onFocus: hoverable ? (e) => showPointTooltipFromElement(
|
|
526
|
+
e.currentTarget,
|
|
527
|
+
sd.seriesIndex,
|
|
528
|
+
point.pointIndex
|
|
529
|
+
) : void 0,
|
|
530
|
+
onBlur: hoverable ? handlePointMouseLeave : void 0,
|
|
531
|
+
onKeyDown: pointInteractive ? (e) => {
|
|
532
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
533
|
+
e.preventDefault();
|
|
534
|
+
e.stopPropagation();
|
|
535
|
+
if (pointClickable) {
|
|
536
|
+
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
537
|
+
} else {
|
|
538
|
+
showPointTooltipFromElement(
|
|
539
|
+
e.currentTarget,
|
|
540
|
+
sd.seriesIndex,
|
|
541
|
+
point.pointIndex
|
|
542
|
+
);
|
|
543
|
+
}
|
|
544
|
+
} else if (e.key === "Escape" && hoverable) {
|
|
545
|
+
handlePointMouseLeave();
|
|
546
|
+
}
|
|
547
|
+
} : void 0
|
|
501
548
|
},
|
|
502
549
|
`point-${sd.seriesKey}-${point.pointIndex}`
|
|
503
550
|
);
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-6QML6T3Y.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZG2W4HS5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartTooltip
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O6YIPNXX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartCanvas
|
|
12
12
|
} from "./chunk-DKNVSQSV.mjs";
|
|
@@ -215,6 +215,8 @@ var PieChart = ({
|
|
|
215
215
|
filter: shadow ? isEmphasized ? PIE_EMPHASIS_SHADOW : PIE_BASE_SHADOW : void 0
|
|
216
216
|
},
|
|
217
217
|
tabIndex: selectable ? 0 : void 0,
|
|
218
|
+
role: selectable ? "button" : "img",
|
|
219
|
+
"aria-label": arc.data.label ?? String(arc.value),
|
|
218
220
|
"data-pie-slice": "true",
|
|
219
221
|
"data-index": arc.index,
|
|
220
222
|
onMouseEnter: (e) => handleMouseEnter(arc.index, e),
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useControlledState
|
|
3
3
|
} from "./chunk-WHYHLUXG.mjs";
|
|
4
|
+
import {
|
|
5
|
+
useTigerConfig
|
|
6
|
+
} from "./chunk-QAIBQHIO.mjs";
|
|
4
7
|
|
|
5
8
|
// src/components/DatePicker.tsx
|
|
6
9
|
import {
|
|
@@ -27,14 +30,29 @@ import {
|
|
|
27
30
|
getDatePickerIconButtonClasses,
|
|
28
31
|
getDatePickerLocaleCode,
|
|
29
32
|
getDatePickerLabels,
|
|
30
|
-
getLocaleDirection
|
|
33
|
+
getLocaleDirection,
|
|
34
|
+
mergeTigerLocale
|
|
31
35
|
} from "@expcat/tigercat-core";
|
|
32
36
|
|
|
33
37
|
// src/components/DatePicker/types.ts
|
|
34
38
|
var isRangeDatePicker = (props) => props.range === true;
|
|
35
39
|
|
|
36
40
|
// src/components/DatePicker/state.ts
|
|
41
|
+
function normalizeDatePickerLocale(locale) {
|
|
42
|
+
if (!locale) return void 0;
|
|
43
|
+
if (typeof locale === "string") return { locale };
|
|
44
|
+
if ("datePicker" in locale) return locale;
|
|
45
|
+
const preset = locale;
|
|
46
|
+
return {
|
|
47
|
+
locale: hasDatePickerLocaleCode(preset) ? preset.locale : void 0,
|
|
48
|
+
datePicker: preset
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function hasDatePickerLocaleCode(locale) {
|
|
52
|
+
return typeof locale.locale === "string";
|
|
53
|
+
}
|
|
37
54
|
function useDatePickerState(props) {
|
|
55
|
+
const config = useTigerConfig();
|
|
38
56
|
const {
|
|
39
57
|
size = "md",
|
|
40
58
|
disabled = false,
|
|
@@ -100,7 +118,11 @@ function useDatePickerState(props) {
|
|
|
100
118
|
);
|
|
101
119
|
const minDateParsed = useMemo(() => parseDate(props.minDate ?? null), [props.minDate]);
|
|
102
120
|
const maxDateParsed = useMemo(() => parseDate(props.maxDate ?? null), [props.maxDate]);
|
|
103
|
-
const
|
|
121
|
+
const mergedLocale = useMemo(
|
|
122
|
+
() => mergeTigerLocale(config.locale, normalizeDatePickerLocale(props.locale)),
|
|
123
|
+
[config.locale, props.locale]
|
|
124
|
+
);
|
|
125
|
+
const localeCode = useMemo(() => getDatePickerLocaleCode(mergedLocale), [mergedLocale]);
|
|
104
126
|
const [viewingMonth, setViewingMonth] = useState(
|
|
105
127
|
(selectedDate ?? selectedRange[0])?.getMonth() ?? (/* @__PURE__ */ new Date()).getMonth()
|
|
106
128
|
);
|
|
@@ -140,8 +162,8 @@ function useDatePickerState(props) {
|
|
|
140
162
|
const dayNames = useMemo(() => getShortDayNames(localeCode), [localeCode]);
|
|
141
163
|
const isRtl = getLocaleDirection(localeCode) === "rtl";
|
|
142
164
|
const labels = useMemo(
|
|
143
|
-
() => getDatePickerLabels(
|
|
144
|
-
[
|
|
165
|
+
() => getDatePickerLabels(mergedLocale, props.labels),
|
|
166
|
+
[mergedLocale, props.labels]
|
|
145
167
|
);
|
|
146
168
|
const mobileDate = useMemo(() => {
|
|
147
169
|
if (!isRangeMode) return selectedDate ?? normalizeDate(/* @__PURE__ */ new Date());
|
|
@@ -544,11 +566,8 @@ function renderDatePickerMobile(ctx) {
|
|
|
544
566
|
|
|
545
567
|
// src/components/DatePicker/render-calendar.tsx
|
|
546
568
|
import {
|
|
547
|
-
formatDate as formatDate2,
|
|
548
569
|
formatMonthYear,
|
|
549
|
-
|
|
550
|
-
isToday as isTodayUtil,
|
|
551
|
-
normalizeDate as normalizeDate2,
|
|
570
|
+
getDatePickerCalendarCellState,
|
|
552
571
|
datePickerCalendarClasses,
|
|
553
572
|
datePickerCalendarHeaderClasses,
|
|
554
573
|
datePickerNavButtonClasses,
|
|
@@ -614,10 +633,6 @@ function renderDatePickerCalendar(ctx) {
|
|
|
614
633
|
] }),
|
|
615
634
|
/* @__PURE__ */ jsx3("div", { className: datePickerCalendarGridClasses, role: "row", children: ctx.dayNames.map((day) => /* @__PURE__ */ jsx3("div", { className: datePickerDayNameClasses, role: "columnheader", children: day }, day)) }),
|
|
616
635
|
(() => {
|
|
617
|
-
const [rangeStart, rangeEnd] = ctx.selectedRange;
|
|
618
|
-
const normStart = rangeStart ? normalizeDate2(rangeStart) : null;
|
|
619
|
-
const normEnd = rangeEnd ? normalizeDate2(rangeEnd) : null;
|
|
620
|
-
const isSelectingEnd = ctx.isRangeMode && Boolean(rangeStart) && !rangeEnd;
|
|
621
636
|
return /* @__PURE__ */ jsx3(
|
|
622
637
|
"div",
|
|
623
638
|
{
|
|
@@ -627,38 +642,36 @@ function renderDatePickerCalendar(ctx) {
|
|
|
627
642
|
"aria-colcount": 7,
|
|
628
643
|
children: ctx.calendarDays.map((date, index) => {
|
|
629
644
|
if (!date) return null;
|
|
630
|
-
const
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
const isDisabled = ctx.isDateDisabled(date) || Boolean(isBeforeRangeStart);
|
|
639
|
-
const iso = formatDate2(date, "yyyy-MM-dd");
|
|
645
|
+
const cell = getDatePickerCalendarCellState({
|
|
646
|
+
date,
|
|
647
|
+
selectedDate: ctx.selectedDate,
|
|
648
|
+
selectedRange: ctx.selectedRange,
|
|
649
|
+
isRangeMode: ctx.isRangeMode,
|
|
650
|
+
isCurrentMonth: ctx.isCurrentMonth,
|
|
651
|
+
isDateDisabled: ctx.isDateDisabled
|
|
652
|
+
});
|
|
640
653
|
return /* @__PURE__ */ jsx3(
|
|
641
654
|
"button",
|
|
642
655
|
{
|
|
643
656
|
type: "button",
|
|
644
657
|
className: getDatePickerDayCellClasses(
|
|
645
|
-
isCurrentMonthDay,
|
|
646
|
-
isSelected,
|
|
647
|
-
isTodayDay,
|
|
648
|
-
isDisabled,
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
658
|
+
cell.isCurrentMonthDay,
|
|
659
|
+
cell.isSelected,
|
|
660
|
+
cell.isTodayDay,
|
|
661
|
+
cell.isDisabled,
|
|
662
|
+
cell.isInRange,
|
|
663
|
+
cell.isRangeStart,
|
|
664
|
+
cell.isRangeEnd
|
|
652
665
|
),
|
|
653
|
-
disabled: isDisabled,
|
|
666
|
+
disabled: cell.isDisabled,
|
|
654
667
|
onClick: () => ctx.selectDate(date),
|
|
655
668
|
role: "gridcell",
|
|
656
|
-
"data-date": iso,
|
|
657
|
-
onFocus: () => ctx.setActiveDateIso(iso),
|
|
658
|
-
tabIndex: ctx.activeDateIso === iso && !isDisabled ? 0 : -1,
|
|
659
|
-
"aria-label": iso,
|
|
660
|
-
"aria-selected": isSelected,
|
|
661
|
-
"aria-current": isTodayDay ? "date" : void 0,
|
|
669
|
+
"data-date": cell.iso,
|
|
670
|
+
onFocus: () => ctx.setActiveDateIso(cell.iso),
|
|
671
|
+
tabIndex: ctx.activeDateIso === cell.iso && !cell.isDisabled ? 0 : -1,
|
|
672
|
+
"aria-label": cell.iso,
|
|
673
|
+
"aria-selected": cell.isSelected,
|
|
674
|
+
"aria-current": cell.isTodayDay ? "date" : void 0,
|
|
662
675
|
children: date.getDate()
|
|
663
676
|
},
|
|
664
677
|
index
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2ZA4MUO2js = require('./chunk-2ZA4MUO2.js');
|
|
4
4
|
|
|
5
5
|
// src/components/Kanban.tsx
|
|
6
6
|
var _jsxruntime = require('react/jsx-runtime');
|
|
@@ -11,7 +11,7 @@ var Kanban = ({
|
|
|
11
11
|
...props
|
|
12
12
|
}) => {
|
|
13
13
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14
|
-
|
|
14
|
+
_chunk2ZA4MUO2js.TaskBoard,
|
|
15
15
|
{
|
|
16
16
|
showCardCount,
|
|
17
17
|
allowAddCard,
|