@expcat/tigercat-react 2.1.3 → 2.2.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/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-2MV3F7WP.mjs +56 -0
- 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-T5VXIYWF.mjs → chunk-6T5AEQJV.mjs} +2 -2
- package/dist/{chunk-R2VBVZIH.mjs → chunk-75SQCTLC.mjs} +4 -4
- 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-EJY3Y2XU.mjs → chunk-AHQR57Z4.mjs} +2 -2
- package/dist/{chunk-2N6WZ5Z5.mjs → chunk-BNC4MMVG.mjs} +1 -1
- package/dist/{chunk-I4P4T6LL.mjs → chunk-BVSR27AF.mjs} +1 -1
- package/dist/{chunk-2STETY2J.mjs → chunk-CCFKRKGJ.mjs} +12 -6
- 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-HZGTQGSM.mjs → chunk-DNRLMEKE.mjs} +11 -4
- package/dist/{chunk-PZ4LAI6G.mjs → chunk-EK7R3MIN.mjs} +1 -1
- package/dist/{chunk-RTKPLZ5A.mjs → chunk-EVO4YVSD.mjs} +1 -1
- package/dist/chunk-F4XF5CGQ.mjs +72 -0
- package/dist/{chunk-GMHJWSQB.mjs → chunk-FTLA6FRU.mjs} +2 -2
- package/dist/chunk-FZQUUTWN.mjs +145 -0
- 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-MMDVFCCL.mjs} +3 -3
- package/dist/{chunk-25BKSXTX.mjs → chunk-NMRCBGFP.mjs} +1 -1
- 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-REHHFHZ3.mjs +67 -0
- package/dist/{chunk-XI6KQAHW.mjs → chunk-RJ2FJXHT.mjs} +5 -6
- 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-WN6ZHQTI.mjs → chunk-SIBNSFVR.mjs} +10 -4
- package/dist/{chunk-C4UZFBFV.mjs → chunk-SOVB7HJF.mjs} +1 -1
- package/dist/{chunk-3WP4PGHF.mjs → chunk-TFHQODGK.mjs} +7 -1
- package/dist/{chunk-IR45LOEZ.mjs → chunk-UGKTSPS4.mjs} +38 -4
- 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 +4 -4
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.mjs +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Cascader.mjs +2 -2
- package/dist/components/ChartTooltip.mjs +2 -2
- package/dist/components/Code.mjs +1 -1
- package/dist/components/ColorPicker.mjs +2 -2
- package/dist/components/CommentThread.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 +3 -3
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Drag.d.mts +17 -0
- package/dist/components/Drag.mjs +9 -0
- package/dist/components/Drawer.mjs +2 -2
- package/dist/components/Dropdown.mjs +2 -2
- package/dist/components/FloatButton.mjs +2 -2
- package/dist/components/Footer.mjs +1 -1
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FullscreenButton.d.mts +8 -0
- package/dist/components/FullscreenButton.mjs +10 -0
- 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 +5 -5
- 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/ScrollSpy.mjs +1 -1
- 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/Text.d.mts +5 -1
- package/dist/components/Text.mjs +2 -1
- 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/hooks/useFullscreen.d.mts +13 -0
- package/dist/hooks/useFullscreen.mjs +6 -0
- package/dist/index.d.mts +5 -2
- package/dist/index.mjs +43 -0
- package/package.json +17 -2
- package/dist/chunk-VDBLI5Y3.mjs +0 -33
- /package/dist/{chunk-HHRU7TK3.mjs → chunk-GF7W2FTZ.mjs} +0 -0
- /package/dist/{chunk-XJHC6JEC.mjs → chunk-P44HJQNB.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from '@expcat/tigercat-core';
|
|
2
|
-
export { AutoCompleteOption, CascaderModelValue, CascaderOption, CascaderValue, ChatWindowHandle, ColorFormat, FormHandle, FormSubmitEvent, LoadingBarOptions, LoadingBarProps, MasonryInstance, MessageOptions, MessageProps, NotificationOptions, NotificationProps, PrintLayoutInstance, ScrollAreaInstance, SelectOption, SelectOptions, TigerConfig, TreeSelectValue, UseDragOptions, VirtualListHandle, VirtualTableHandle, WizardStep } from '@expcat/tigercat-core';
|
|
2
|
+
export { AutoCompleteOption, CascaderModelValue, CascaderOption, CascaderValue, ChatWindowHandle, ColorFormat, FormHandle, FormSubmitEvent, LoadingBarOptions, LoadingBarProps, MasonryInstance, MessageOptions, MessageProps, NotificationOptions, NotificationProps, PrintLayoutInstance, ScrollAreaInstance, SelectOption, SelectOptions, TigerConfig, TreeSelectValue, UseDragOptions, UseFullscreenOptions, VirtualListHandle, VirtualTableHandle, WizardStep } from '@expcat/tigercat-core';
|
|
3
3
|
export { ConfigProvider, ConfigProviderProps, useTigerConfig } from './components/ConfigProvider.mjs';
|
|
4
4
|
export { Button, ButtonProps } from './components/Button.mjs';
|
|
5
5
|
export { ButtonGroup, ButtonGroupProps } from './components/ButtonGroup.mjs';
|
|
@@ -142,6 +142,9 @@ export { Affix, AffixProps } from './components/Affix.mjs';
|
|
|
142
142
|
export { UseChartInteractionOptions, UseChartInteractionReturn, useChartInteraction } from './hooks/useChartInteraction.mjs';
|
|
143
143
|
export { ResponsiveChartLayout, useResponsiveChartSize } from './hooks/useResponsiveChartSize.mjs';
|
|
144
144
|
export { UseDragReturn, useDrag } from './hooks/useDrag.mjs';
|
|
145
|
+
export { UseFullscreenReturn, useFullscreen } from './hooks/useFullscreen.mjs';
|
|
146
|
+
export { FullscreenButton as Fullscreen, FullscreenButton, FullscreenButtonProps } from './components/FullscreenButton.mjs';
|
|
147
|
+
export { Drag, DragProps, DragRenderContext } from './components/Drag.mjs';
|
|
145
148
|
export { SetControlledState, UseControlledStateOptions, useControlledState } from './hooks/useControlledState.mjs';
|
|
146
149
|
export { Splitter, SplitterProps, SplitterResizeEvent } from './components/Splitter.mjs';
|
|
147
150
|
export { Resizable, ResizableProps } from './components/Resizable.mjs';
|
|
@@ -169,6 +172,6 @@ import 'react';
|
|
|
169
172
|
* React components for Tigercat UI library
|
|
170
173
|
*/
|
|
171
174
|
|
|
172
|
-
declare const version = "2.
|
|
175
|
+
declare const version = "2.2.0";
|
|
173
176
|
|
|
174
177
|
export { version };
|
package/dist/index.mjs
CHANGED
|
@@ -323,6 +323,7 @@ export {
|
|
|
323
323
|
anchorNestedListClasses,
|
|
324
324
|
animationDelayClasses,
|
|
325
325
|
announceToScreenReader,
|
|
326
|
+
appendCalendarEventCountLabel,
|
|
326
327
|
appendDefaultTaskBoardCard,
|
|
327
328
|
appendDefaultTaskBoardColumn,
|
|
328
329
|
appendSignaturePoint,
|
|
@@ -417,6 +418,7 @@ export {
|
|
|
417
418
|
buildAffixPlaceholderStyle,
|
|
418
419
|
buildAffixRootMargin,
|
|
419
420
|
buildAffixStyle,
|
|
421
|
+
buildCalendarDateCellExtra,
|
|
420
422
|
buildChartLegendItems,
|
|
421
423
|
buildChartSeriesKeys,
|
|
422
424
|
buildChatMessageStatusInfo,
|
|
@@ -455,6 +457,8 @@ export {
|
|
|
455
457
|
calculateTransform,
|
|
456
458
|
calculateVirtualColumnRange,
|
|
457
459
|
calculateVirtualRange,
|
|
460
|
+
calendarDateCellDotClasses,
|
|
461
|
+
calendarDateCellExtraClasses,
|
|
458
462
|
calendarGridClasses,
|
|
459
463
|
calendarHeaderClasses,
|
|
460
464
|
calendarNavButtonClasses,
|
|
@@ -594,6 +598,7 @@ export {
|
|
|
594
598
|
clearChartAxisTickCache,
|
|
595
599
|
clearFieldErrors,
|
|
596
600
|
clearPieArcCache,
|
|
601
|
+
clearRegisteredIcons,
|
|
597
602
|
clearSelectValue,
|
|
598
603
|
clearSignatureStrokes,
|
|
599
604
|
clearTextareaAutoResize,
|
|
@@ -954,6 +959,7 @@ export {
|
|
|
954
959
|
evaluateFormConditions,
|
|
955
960
|
exclamationCircleIcon,
|
|
956
961
|
exclusiveRangeToInclusive,
|
|
962
|
+
exitElementFullscreen,
|
|
957
963
|
expandChevronIcon16PathD,
|
|
958
964
|
exportChartPng,
|
|
959
965
|
exportSignatureDataUrl,
|
|
@@ -1011,6 +1017,7 @@ export {
|
|
|
1011
1017
|
findHotkeyMatch,
|
|
1012
1018
|
findLastEnabledIndex,
|
|
1013
1019
|
findMarkdownHotkeyMatch,
|
|
1020
|
+
findNearestOverflowAncestor,
|
|
1014
1021
|
findNearestPointIndex,
|
|
1015
1022
|
findNearestSeriesPoint,
|
|
1016
1023
|
findNextEnabledIndex,
|
|
@@ -1059,6 +1066,7 @@ export {
|
|
|
1059
1066
|
formatBytes,
|
|
1060
1067
|
formatCalendarDayLabel,
|
|
1061
1068
|
formatCalendarDayNumber,
|
|
1069
|
+
formatCalendarEventCountLabel,
|
|
1062
1070
|
formatChartTemplate,
|
|
1063
1071
|
formatChatTime,
|
|
1064
1072
|
formatColorPickerSelectPreset,
|
|
@@ -1110,6 +1118,7 @@ export {
|
|
|
1110
1118
|
formatTimePickerDisplay,
|
|
1111
1119
|
formatTreeSelectNodeLabel,
|
|
1112
1120
|
freezeTableColumnWidths,
|
|
1121
|
+
fullscreenButtonClasses,
|
|
1113
1122
|
fullscreenExitIcon,
|
|
1114
1123
|
fullscreenIcon,
|
|
1115
1124
|
funnelSegmentTransitionClasses,
|
|
@@ -1199,6 +1208,8 @@ export {
|
|
|
1199
1208
|
getCalendarDayClasses,
|
|
1200
1209
|
getCalendarDayKeyAction,
|
|
1201
1210
|
getCalendarDays,
|
|
1211
|
+
getCalendarEventDotStyle,
|
|
1212
|
+
getCalendarEventsForDate,
|
|
1202
1213
|
getCalendarLabels,
|
|
1203
1214
|
getCalendarMonthClasses,
|
|
1204
1215
|
getCalendarMonthDaysCacheSize,
|
|
@@ -1434,6 +1445,8 @@ export {
|
|
|
1434
1445
|
getFormWizardHeaderClasses,
|
|
1435
1446
|
getFormWizardLabels,
|
|
1436
1447
|
getFormWizardWrapperClasses,
|
|
1448
|
+
getFullscreenElement,
|
|
1449
|
+
getFullscreenLabels,
|
|
1437
1450
|
getFunnelGradientPrefix,
|
|
1438
1451
|
getGanttDependencyPath,
|
|
1439
1452
|
getGanttTaskAriaLabel,
|
|
@@ -1522,6 +1535,7 @@ export {
|
|
|
1522
1535
|
getKbdVariantClasses,
|
|
1523
1536
|
getLastEnabledFileIndex,
|
|
1524
1537
|
getLayoutContentClasses,
|
|
1538
|
+
getLayoutFooterClasses,
|
|
1525
1539
|
getLayoutHeaderClasses,
|
|
1526
1540
|
getLayoutRootClasses,
|
|
1527
1541
|
getLayoutSidebarClasses,
|
|
@@ -2082,6 +2096,7 @@ export {
|
|
|
2082
2096
|
imageCropperImgClasses,
|
|
2083
2097
|
imageCropperMaskClasses,
|
|
2084
2098
|
imageCropperSelectionClasses,
|
|
2099
|
+
imageCropperSizeHostClasses,
|
|
2085
2100
|
imageErrorClasses,
|
|
2086
2101
|
imageErrorIconPath,
|
|
2087
2102
|
imageFrameClasses,
|
|
@@ -2194,6 +2209,7 @@ export {
|
|
|
2194
2209
|
isDividerHorizontal,
|
|
2195
2210
|
isDragEnabled,
|
|
2196
2211
|
isDrawerSwipeCloseGesture,
|
|
2212
|
+
isElementFullscreen,
|
|
2197
2213
|
isEnterKey,
|
|
2198
2214
|
isEscapeKey,
|
|
2199
2215
|
isEventOutside,
|
|
@@ -2202,6 +2218,7 @@ export {
|
|
|
2202
2218
|
isFocusInsideNavigationMenu,
|
|
2203
2219
|
isFormItemGroupControl,
|
|
2204
2220
|
isFormValidationCancelled,
|
|
2221
|
+
isFullscreenSupported,
|
|
2205
2222
|
isHTMLElement,
|
|
2206
2223
|
isHourOptionDisabled,
|
|
2207
2224
|
isHttpResultStatus,
|
|
@@ -2278,6 +2295,7 @@ export {
|
|
|
2278
2295
|
isTabPaneType,
|
|
2279
2296
|
isTableCellEditable,
|
|
2280
2297
|
isTablet,
|
|
2298
|
+
isTextCopyable,
|
|
2281
2299
|
isTimeInRange,
|
|
2282
2300
|
isTimePickerDesktopLayout,
|
|
2283
2301
|
isTimePickerRangeComplete,
|
|
@@ -2312,6 +2330,7 @@ export {
|
|
|
2312
2330
|
layoutBarRects,
|
|
2313
2331
|
layoutContentClasses,
|
|
2314
2332
|
layoutFooterClasses,
|
|
2333
|
+
layoutFooterCompactClasses,
|
|
2315
2334
|
layoutFunnel,
|
|
2316
2335
|
layoutGantt,
|
|
2317
2336
|
layoutGauge,
|
|
@@ -2659,6 +2678,7 @@ export {
|
|
|
2659
2678
|
pieSliceLabelInsideClasses,
|
|
2660
2679
|
pieSliceTransitionClasses,
|
|
2661
2680
|
planChatScroll,
|
|
2681
|
+
planCropperDisplaySize,
|
|
2662
2682
|
playIcon,
|
|
2663
2683
|
plusPathD,
|
|
2664
2684
|
polarToCartesian,
|
|
@@ -2729,6 +2749,7 @@ export {
|
|
|
2729
2749
|
radioVisualBaseClasses,
|
|
2730
2750
|
rateActiveColor,
|
|
2731
2751
|
rateBaseClasses,
|
|
2752
|
+
rateCharacterGlyphClasses,
|
|
2732
2753
|
rateHalfStarInnerClasses,
|
|
2733
2754
|
rateHoverColor,
|
|
2734
2755
|
rateInactiveColor,
|
|
@@ -2749,13 +2770,17 @@ export {
|
|
|
2749
2770
|
redoFormHistory,
|
|
2750
2771
|
registerBuiltInThemes,
|
|
2751
2772
|
registerEscapeDismiss,
|
|
2773
|
+
registerIcon,
|
|
2774
|
+
registerIcons,
|
|
2752
2775
|
registerImageGroupItem,
|
|
2776
|
+
registeredIconNames,
|
|
2753
2777
|
remapCropRect,
|
|
2754
2778
|
rememberCascaderLabel,
|
|
2755
2779
|
rememberSelectOptions,
|
|
2756
2780
|
rememberTreeSelectLabel,
|
|
2757
2781
|
removeCssVarsCached,
|
|
2758
2782
|
removeTagAt,
|
|
2783
|
+
renderCodeHighlightHtml,
|
|
2759
2784
|
renderMarkdownInline,
|
|
2760
2785
|
renderMarkdownToHtml,
|
|
2761
2786
|
renderTokenHtml,
|
|
@@ -2770,6 +2795,7 @@ export {
|
|
|
2770
2795
|
reorderTableRowsByKey,
|
|
2771
2796
|
replaceAnchorHash,
|
|
2772
2797
|
replaceKeys,
|
|
2798
|
+
requestElementFullscreen,
|
|
2773
2799
|
resetAreaGradientCounter,
|
|
2774
2800
|
resetAriaIdCounter,
|
|
2775
2801
|
resetBarGradientCounter,
|
|
@@ -2841,6 +2867,7 @@ export {
|
|
|
2841
2867
|
resolveConditionalFormRules,
|
|
2842
2868
|
resolveConfigDirection,
|
|
2843
2869
|
resolveCreatableSelectOption,
|
|
2870
|
+
resolveCropperAvailableSize,
|
|
2844
2871
|
resolveDataExportColumns,
|
|
2845
2872
|
resolveDataExportFilename,
|
|
2846
2873
|
resolveDatePickerDisabled,
|
|
@@ -2859,6 +2886,7 @@ export {
|
|
|
2859
2886
|
resolveFormConditionState,
|
|
2860
2887
|
resolveFormFieldConditionState,
|
|
2861
2888
|
resolveFormLabelAlign,
|
|
2889
|
+
resolveFullscreenTarget,
|
|
2862
2890
|
resolveGutter,
|
|
2863
2891
|
resolveHeatmapRenderMode,
|
|
2864
2892
|
resolveHighlightCaseSensitive,
|
|
@@ -2919,6 +2947,7 @@ export {
|
|
|
2919
2947
|
resolveMenuCollapsed,
|
|
2920
2948
|
resolveMenuIconKind,
|
|
2921
2949
|
resolveMenuMode,
|
|
2950
|
+
resolveMenuSearchQuery,
|
|
2922
2951
|
resolveMenuTabStopKey,
|
|
2923
2952
|
resolveMessageDuration,
|
|
2924
2953
|
resolveMotionDuration,
|
|
@@ -2979,6 +3008,8 @@ export {
|
|
|
2979
3008
|
resolveTaskBoardView,
|
|
2980
3009
|
resolveTextAlign,
|
|
2981
3010
|
resolveTextColor,
|
|
3011
|
+
resolveTextCopyContent,
|
|
3012
|
+
resolveTextCopyableOptions,
|
|
2982
3013
|
resolveTextSize,
|
|
2983
3014
|
resolveTextTag,
|
|
2984
3015
|
resolveTextWeight,
|
|
@@ -3135,6 +3166,7 @@ export {
|
|
|
3135
3166
|
shouldShowAutoCompleteClear,
|
|
3136
3167
|
shouldShowBackTop,
|
|
3137
3168
|
shouldShowCascaderClear,
|
|
3169
|
+
shouldShowMenuSearch,
|
|
3138
3170
|
shouldShowSelectClear,
|
|
3139
3171
|
shouldShowTreeSelectClear,
|
|
3140
3172
|
shouldSkipNavigationMenuOpenDelay,
|
|
@@ -3178,6 +3210,7 @@ export {
|
|
|
3178
3210
|
sliderThumbDraggingClasses,
|
|
3179
3211
|
sliderThumbInsetStyle,
|
|
3180
3212
|
sliderTooltipClasses,
|
|
3213
|
+
sliderTooltipReserveClasses,
|
|
3181
3214
|
sliderTrackClasses,
|
|
3182
3215
|
sliderValuesEqual,
|
|
3183
3216
|
sortActivityGroups,
|
|
@@ -3191,6 +3224,7 @@ export {
|
|
|
3191
3224
|
sortFileItems,
|
|
3192
3225
|
sortNotificationGroups,
|
|
3193
3226
|
sparklesIcon,
|
|
3227
|
+
splitButtonDropdownClasses,
|
|
3194
3228
|
splitButtonPrimaryBlockClasses,
|
|
3195
3229
|
splitButtonPrimaryClasses,
|
|
3196
3230
|
splitButtonRootBlockClasses,
|
|
@@ -3257,6 +3291,7 @@ export {
|
|
|
3257
3291
|
submenuExpandIconPopupClasses,
|
|
3258
3292
|
submenuHeightTransitionClasses,
|
|
3259
3293
|
submenuTitleClasses,
|
|
3294
|
+
subscribeFullscreenChange,
|
|
3260
3295
|
subscribeTableCardViewport,
|
|
3261
3296
|
successCircleSolidIcon20PathD,
|
|
3262
3297
|
sunIcon,
|
|
@@ -3341,6 +3376,10 @@ export {
|
|
|
3341
3376
|
terminalIcon,
|
|
3342
3377
|
textAlignClasses,
|
|
3343
3378
|
textColorClasses,
|
|
3379
|
+
textCopyableBodyClasses,
|
|
3380
|
+
textCopyableButtonClasses,
|
|
3381
|
+
textCopyableLiveClasses,
|
|
3382
|
+
textCopyableRootClasses,
|
|
3344
3383
|
textDecorationClasses,
|
|
3345
3384
|
textSizeClasses,
|
|
3346
3385
|
textWeightClasses,
|
|
@@ -3462,6 +3501,7 @@ export {
|
|
|
3462
3501
|
uniqueMenuKeys,
|
|
3463
3502
|
uniqueTreeKeys,
|
|
3464
3503
|
unlockIcon,
|
|
3504
|
+
unregisterIcon,
|
|
3465
3505
|
unregisterImageGroupItem,
|
|
3466
3506
|
updateCronExpressionField,
|
|
3467
3507
|
updateDragOffset,
|
|
@@ -3839,6 +3879,9 @@ export { Affix } from './components/Affix.mjs';
|
|
|
3839
3879
|
export { useChartInteraction } from './hooks/useChartInteraction.mjs';
|
|
3840
3880
|
export { useResponsiveChartSize } from './hooks/useResponsiveChartSize.mjs';
|
|
3841
3881
|
export { useDrag } from './hooks/useDrag.mjs';
|
|
3882
|
+
export { useFullscreen } from './hooks/useFullscreen.mjs';
|
|
3883
|
+
export { FullscreenButton, FullscreenButton as Fullscreen } from './components/FullscreenButton.mjs';
|
|
3884
|
+
export { Drag } from './components/Drag.mjs';
|
|
3842
3885
|
export { useControlledState } from './hooks/useControlledState.mjs';
|
|
3843
3886
|
export { Splitter } from './components/Splitter.mjs';
|
|
3844
3887
|
export { Resizable } from './components/Resizable.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "React components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -299,6 +299,11 @@
|
|
|
299
299
|
"import": "./dist/components/DonutChart.mjs",
|
|
300
300
|
"default": "./dist/components/DonutChart.mjs"
|
|
301
301
|
},
|
|
302
|
+
"./Drag": {
|
|
303
|
+
"types": "./dist/components/Drag.d.mts",
|
|
304
|
+
"import": "./dist/components/Drag.mjs",
|
|
305
|
+
"default": "./dist/components/Drag.mjs"
|
|
306
|
+
},
|
|
302
307
|
"./Drawer": {
|
|
303
308
|
"types": "./dist/components/Drawer.d.mts",
|
|
304
309
|
"import": "./dist/components/Drawer.mjs",
|
|
@@ -359,6 +364,11 @@
|
|
|
359
364
|
"import": "./dist/components/FormWizard.mjs",
|
|
360
365
|
"default": "./dist/components/FormWizard.mjs"
|
|
361
366
|
},
|
|
367
|
+
"./FullscreenButton": {
|
|
368
|
+
"types": "./dist/components/FullscreenButton.d.mts",
|
|
369
|
+
"import": "./dist/components/FullscreenButton.mjs",
|
|
370
|
+
"default": "./dist/components/FullscreenButton.mjs"
|
|
371
|
+
},
|
|
362
372
|
"./FunnelChart": {
|
|
363
373
|
"types": "./dist/components/FunnelChart.d.mts",
|
|
364
374
|
"import": "./dist/components/FunnelChart.mjs",
|
|
@@ -899,6 +909,11 @@
|
|
|
899
909
|
"import": "./dist/hooks/useDrag.mjs",
|
|
900
910
|
"default": "./dist/hooks/useDrag.mjs"
|
|
901
911
|
},
|
|
912
|
+
"./useFullscreen": {
|
|
913
|
+
"types": "./dist/hooks/useFullscreen.d.mts",
|
|
914
|
+
"import": "./dist/hooks/useFullscreen.mjs",
|
|
915
|
+
"default": "./dist/hooks/useFullscreen.mjs"
|
|
916
|
+
},
|
|
902
917
|
"./useControlledState": {
|
|
903
918
|
"types": "./dist/hooks/useControlledState.d.mts",
|
|
904
919
|
"import": "./dist/hooks/useControlledState.mjs",
|
|
@@ -912,7 +927,7 @@
|
|
|
912
927
|
"access": "public"
|
|
913
928
|
},
|
|
914
929
|
"dependencies": {
|
|
915
|
-
"@expcat/tigercat-core": "2.
|
|
930
|
+
"@expcat/tigercat-core": "2.2.0"
|
|
916
931
|
},
|
|
917
932
|
"devDependencies": {
|
|
918
933
|
"@types/node": "^26.1.1",
|
package/dist/chunk-VDBLI5Y3.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// src/components/Text.tsx
|
|
2
|
-
import React, { forwardRef } from "react";
|
|
3
|
-
import {
|
|
4
|
-
classNames,
|
|
5
|
-
getTextClasses,
|
|
6
|
-
resolveTextTag
|
|
7
|
-
} from "@expcat/tigercat-core";
|
|
8
|
-
var Text = forwardRef(function Text2({
|
|
9
|
-
tag = "p",
|
|
10
|
-
size,
|
|
11
|
-
weight,
|
|
12
|
-
align,
|
|
13
|
-
color,
|
|
14
|
-
truncate,
|
|
15
|
-
italic,
|
|
16
|
-
underline,
|
|
17
|
-
lineThrough,
|
|
18
|
-
children,
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}, ref) {
|
|
22
|
-
const resolvedTag = resolveTextTag(tag);
|
|
23
|
-
const textClasses = classNames(
|
|
24
|
-
getTextClasses({ size, weight, align, color, truncate, italic, underline, lineThrough }),
|
|
25
|
-
className
|
|
26
|
-
);
|
|
27
|
-
return React.createElement(resolvedTag, { ...props, ref, className: textClasses }, children);
|
|
28
|
-
});
|
|
29
|
-
Text.displayName = "Text";
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
Text
|
|
33
|
-
};
|
|
File without changes
|
|
File without changes
|