@true-tech-team/react-components 0.0.3 → 0.0.5
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 +138 -0
- package/index.css +1 -1
- package/index.d.ts +12 -0
- package/index.js +1 -1
- package/index.mjs +10774 -5477
- package/lib/components/buttons/Button/Button.d.ts +14 -3
- package/lib/components/buttons/ButtonToggleGroup/ButtonToggleGroup.d.ts +79 -0
- package/lib/components/buttons/ButtonToggleGroup/ButtonToggleGroupContext.d.ts +38 -0
- package/lib/components/buttons/ButtonToggleGroup/ButtonToggleGroupItem.d.ts +37 -0
- package/lib/components/buttons/ButtonToggleGroup/index.d.ts +7 -0
- package/lib/components/buttons/ToggleButton/ToggleButton.d.ts +96 -0
- package/lib/components/buttons/ToggleButton/index.d.ts +3 -0
- package/lib/components/display/Accordion/Accordion.d.ts +112 -0
- package/lib/components/display/Accordion/AccordionContainer.d.ts +101 -0
- package/lib/components/display/Accordion/AccordionContext.d.ts +57 -0
- package/lib/components/display/Accordion/index.d.ts +6 -0
- package/lib/components/display/Avatar/Avatar.d.ts +1 -1
- package/lib/components/display/Card/Card.d.ts +101 -0
- package/lib/components/display/Card/index.d.ts +3 -0
- package/lib/components/display/Carousel/Carousel.d.ts +125 -0
- package/lib/components/display/Carousel/index.d.ts +3 -0
- package/lib/components/display/Collapse/Collapse.d.ts +57 -0
- package/lib/components/display/Collapse/index.d.ts +2 -0
- package/lib/components/display/CountUp/CountUp.d.ts +119 -0
- package/lib/components/display/CountUp/index.d.ts +3 -0
- package/lib/components/display/FlipCard/FlipCard.d.ts +125 -0
- package/lib/components/display/FlipCard/index.d.ts +3 -0
- package/lib/components/display/Icon/icons/BookmarkFilled.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChevronsLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChevronsRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/HeartFilled.d.ts +3 -0
- package/lib/components/display/Icon/icons/More.d.ts +3 -0
- package/lib/components/display/Icon/icons/StarFilled.d.ts +3 -0
- package/lib/components/display/Icon/icons/ThumbsUpFilled.d.ts +3 -0
- package/lib/components/display/Icon/icons/index.d.ts +15 -1
- package/lib/components/display/Icon/index.d.ts +1 -0
- package/lib/components/display/OverflowText/OverflowText.d.ts +81 -0
- package/lib/components/display/OverflowText/index.d.ts +2 -0
- package/lib/components/display/PageMessages/PageMessageContent.d.ts +19 -0
- package/lib/components/display/PageMessages/PageMessages.d.ts +49 -0
- package/lib/components/display/PageMessages/defaultConfigs.d.ts +5 -0
- package/lib/components/display/PageMessages/index.d.ts +3 -0
- package/lib/components/display/PageMessages/types.d.ts +175 -0
- package/lib/components/display/ProgressBar/ProgressBar.d.ts +11 -0
- package/lib/components/display/Reveal/Reveal.d.ts +109 -0
- package/lib/components/display/Reveal/index.d.ts +3 -0
- package/lib/components/display/ScrollArea/ScrollArea.d.ts +112 -0
- package/lib/components/display/ScrollArea/index.d.ts +3 -0
- package/lib/components/display/Spinner/Spinner.d.ts +79 -0
- package/lib/components/display/Spinner/index.d.ts +3 -0
- package/lib/components/display/StatusIndicator/StatusIndicator.d.ts +1 -1
- package/lib/components/display/Tabs/Tab.d.ts +41 -0
- package/lib/components/display/Tabs/TabList.d.ts +27 -0
- package/lib/components/display/Tabs/TabPanel.d.ts +31 -0
- package/lib/components/display/Tabs/Tabs.d.ts +90 -0
- package/lib/components/display/Tabs/TabsContext.d.ts +63 -0
- package/lib/components/display/Tabs/index.d.ts +11 -0
- package/lib/components/display/TruncatedList/TruncatedList.d.ts +69 -0
- package/lib/components/display/TruncatedList/index.d.ts +2 -0
- package/lib/components/display/index.d.ts +3 -0
- package/lib/components/index.d.ts +65 -0
- package/lib/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +122 -0
- package/lib/components/inputs/CheckboxGroup/CheckboxGroupContext.d.ts +42 -0
- package/lib/components/inputs/CheckboxGroup/CheckboxGroupItem.d.ts +50 -0
- package/lib/components/inputs/CheckboxGroup/index.d.ts +7 -0
- package/lib/components/inputs/Toggle/Toggle.d.ts +5 -0
- package/lib/components/layout/AdaptiveGrid/AdaptiveGrid.d.ts +100 -0
- package/lib/components/layout/AdaptiveGrid/index.d.ts +2 -0
- package/lib/components/layout/MasonryLayout/MasonryLayout.d.ts +74 -0
- package/lib/components/layout/MasonryLayout/index.d.ts +2 -0
- package/lib/components/layout/Panes/Pane.d.ts +72 -0
- package/lib/components/layout/Panes/Panes.d.ts +75 -0
- package/lib/components/layout/Panes/PanesContext.d.ts +60 -0
- package/lib/components/layout/Panes/index.d.ts +6 -0
- package/lib/components/layout/ResponsiveStack/ResponsiveStack.d.ts +99 -0
- package/lib/components/layout/ResponsiveStack/index.d.ts +2 -0
- package/lib/components/layout/index.d.ts +4 -0
- package/lib/components/navigation/BottomNavigation/BottomNavigation.d.ts +53 -0
- package/lib/components/navigation/BottomNavigation/BottomNavigationContext.d.ts +27 -0
- package/lib/components/navigation/BottomNavigation/BottomNavigationItem.d.ts +59 -0
- package/lib/components/navigation/BottomNavigation/index.d.ts +7 -0
- package/lib/components/navigation/Breadcrumbs/BreadcrumbItem.d.ts +37 -0
- package/lib/components/navigation/Breadcrumbs/BreadcrumbSeparator.d.ts +22 -0
- package/lib/components/navigation/Breadcrumbs/Breadcrumbs.d.ts +96 -0
- package/lib/components/navigation/Breadcrumbs/index.d.ts +9 -0
- package/lib/components/navigation/Breadcrumbs/useBreadcrumbsFromPath.d.ts +73 -0
- package/lib/components/navigation/CollapsibleSidebar/CollapsibleSidebar.d.ts +113 -0
- package/lib/components/navigation/CollapsibleSidebar/index.d.ts +2 -0
- package/lib/components/navigation/NavLink/NavLink.d.ts +74 -0
- package/lib/components/navigation/NavLink/index.d.ts +3 -0
- package/lib/components/navigation/Navbar/Navbar.d.ts +81 -0
- package/lib/components/navigation/Navbar/NavbarActions.d.ts +21 -0
- package/lib/components/navigation/Navbar/NavbarBrand.d.ts +29 -0
- package/lib/components/navigation/Navbar/NavbarCollapse.d.ts +26 -0
- package/lib/components/navigation/Navbar/NavbarContext.d.ts +50 -0
- package/lib/components/navigation/Navbar/NavbarNav.d.ts +22 -0
- package/lib/components/navigation/Navbar/NavbarToggle.d.ts +21 -0
- package/lib/components/navigation/Navbar/index.d.ts +15 -0
- package/lib/components/navigation/Pagination/Pagination.d.ts +99 -0
- package/lib/components/navigation/Pagination/index.d.ts +3 -0
- package/lib/components/navigation/SideNav/SideNav.d.ts +89 -0
- package/lib/components/navigation/SideNav/SideNavContext.d.ts +43 -0
- package/lib/components/navigation/SideNav/SideNavDivider.d.ts +22 -0
- package/lib/components/navigation/SideNav/SideNavGroup.d.ts +44 -0
- package/lib/components/navigation/SideNav/SideNavItem.d.ts +71 -0
- package/lib/components/navigation/SideNav/index.d.ts +11 -0
- package/lib/components/navigation/Stepper/Step.d.ts +57 -0
- package/lib/components/navigation/Stepper/Stepper.d.ts +80 -0
- package/lib/components/navigation/Stepper/StepperContext.d.ts +58 -0
- package/lib/components/navigation/Stepper/index.d.ts +7 -0
- package/lib/components/navigation/index.d.ts +16 -0
- package/lib/components/overlays/Alert/Alert.d.ts +102 -0
- package/lib/components/overlays/Alert/AlertContext.d.ts +94 -0
- package/lib/components/overlays/Alert/AlertPresets.d.ts +42 -0
- package/lib/components/overlays/Alert/AlertProvider.d.ts +40 -0
- package/lib/components/overlays/Alert/index.d.ts +11 -0
- package/lib/components/overlays/Dialog/Dialog.d.ts +197 -0
- package/lib/components/overlays/Dialog/DialogContext.d.ts +75 -0
- package/lib/components/overlays/Dialog/DialogProvider.d.ts +30 -0
- package/lib/components/overlays/Dialog/index.d.ts +9 -0
- package/lib/components/overlays/LoadingOverlay/LoadingOverlay.d.ts +101 -0
- package/lib/components/overlays/LoadingOverlay/index.d.ts +3 -0
- package/lib/components/overlays/Toast/Toast.d.ts +103 -0
- package/lib/components/overlays/Toast/ToastContainer.d.ts +37 -0
- package/lib/components/overlays/Toast/ToastContext.d.ts +126 -0
- package/lib/components/overlays/Toast/ToastProvider.d.ts +71 -0
- package/lib/components/overlays/Toast/index.d.ts +11 -0
- package/lib/contexts/PageMessagesContext/PageMessagesContext.d.ts +91 -0
- package/lib/contexts/PageMessagesContext/index.d.ts +2 -0
- package/lib/contexts/index.d.ts +2 -0
- package/lib/hooks/index.d.ts +10 -0
- package/lib/hooks/useAlert/index.d.ts +2 -0
- package/lib/hooks/useAlert/useAlert.d.ts +99 -0
- package/lib/hooks/useAsyncToast/index.d.ts +2 -0
- package/lib/hooks/useAsyncToast/useAsyncToast.d.ts +93 -0
- package/lib/hooks/useDialog/index.d.ts +2 -0
- package/lib/hooks/useDialog/useDialog.d.ts +58 -0
- package/lib/hooks/useResizeObserver/index.d.ts +2 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +69 -0
- package/lib/hooks/useToast/index.d.ts +2 -0
- package/lib/hooks/useToast/useToast.d.ts +97 -0
- package/lib/providers/GlobalProvider/GlobalProvider.d.ts +21 -1
- package/package.json +1 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { BaseComponentProps } from '../../../types/component.types';
|
|
3
|
+
import { IconName } from '../Icon';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the Carousel component
|
|
6
|
+
*/
|
|
7
|
+
export interface CarouselProps extends Omit<BaseComponentProps, 'children'> {
|
|
8
|
+
/**
|
|
9
|
+
* Slides to display
|
|
10
|
+
*/
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Whether to auto-play the carousel
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
autoPlay?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Auto-play interval in milliseconds
|
|
19
|
+
* @default 5000
|
|
20
|
+
*/
|
|
21
|
+
autoPlayInterval?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Whether to pause auto-play on hover
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
pauseOnHover?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to show navigation dots
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
showDots?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether to show navigation arrows
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
showArrows?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether to loop infinitely
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
infinite?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Number of slides to show at once
|
|
44
|
+
* @default 1
|
|
45
|
+
*/
|
|
46
|
+
slidesToShow?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Number of slides to scroll at once
|
|
49
|
+
* @default 1
|
|
50
|
+
*/
|
|
51
|
+
slidesToScroll?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Gap between slides
|
|
54
|
+
* @default '16px'
|
|
55
|
+
*/
|
|
56
|
+
gap?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Transition duration in milliseconds
|
|
59
|
+
* @default 300
|
|
60
|
+
*/
|
|
61
|
+
transitionDuration?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Active slide index (controlled mode)
|
|
64
|
+
*/
|
|
65
|
+
activeIndex?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Default active slide index (uncontrolled mode)
|
|
68
|
+
* @default 0
|
|
69
|
+
*/
|
|
70
|
+
defaultIndex?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Callback when slide changes
|
|
73
|
+
*/
|
|
74
|
+
onChange?: (index: number) => void;
|
|
75
|
+
/**
|
|
76
|
+
* Icon for previous arrow
|
|
77
|
+
* @default 'chevron-left'
|
|
78
|
+
*/
|
|
79
|
+
prevIcon?: ReactNode | IconName;
|
|
80
|
+
/**
|
|
81
|
+
* Icon for next arrow
|
|
82
|
+
* @default 'chevron-right'
|
|
83
|
+
*/
|
|
84
|
+
nextIcon?: ReactNode | IconName;
|
|
85
|
+
/**
|
|
86
|
+
* Whether arrows should be outside the carousel
|
|
87
|
+
* @default false
|
|
88
|
+
*/
|
|
89
|
+
arrowsOutside?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Dot position
|
|
92
|
+
* @default 'bottom'
|
|
93
|
+
*/
|
|
94
|
+
dotsPosition?: 'bottom' | 'top';
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Carousel - A sliding carousel component for displaying multiple items
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```tsx
|
|
101
|
+
* <Carousel>
|
|
102
|
+
* <div>Slide 1</div>
|
|
103
|
+
* <div>Slide 2</div>
|
|
104
|
+
* <div>Slide 3</div>
|
|
105
|
+
* </Carousel>
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* ```tsx
|
|
110
|
+
* <Carousel autoPlay autoPlayInterval={3000} showDots>
|
|
111
|
+
* <img src="image1.jpg" alt="Slide 1" />
|
|
112
|
+
* <img src="image2.jpg" alt="Slide 2" />
|
|
113
|
+
* </Carousel>
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* ```tsx
|
|
118
|
+
* // Multiple slides visible
|
|
119
|
+
* <Carousel slidesToShow={3} gap="24px">
|
|
120
|
+
* {items.map(item => <Card key={item.id}>{item.content}</Card>)}
|
|
121
|
+
* </Carousel>
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
export declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<HTMLDivElement>>;
|
|
125
|
+
export default Carousel;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { BaseComponentProps } from '../../../types';
|
|
3
|
+
export interface CollapseProps extends BaseComponentProps {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the content is expanded
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
isOpen?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Content to show/hide
|
|
11
|
+
*/
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Animation duration in milliseconds
|
|
15
|
+
* @default 250
|
|
16
|
+
*/
|
|
17
|
+
duration?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Easing function for animation
|
|
20
|
+
* @default 'ease-in-out'
|
|
21
|
+
*/
|
|
22
|
+
easing?: 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | string;
|
|
23
|
+
/**
|
|
24
|
+
* Callback when expand animation starts
|
|
25
|
+
*/
|
|
26
|
+
onExpandStart?: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* Callback when expand animation ends
|
|
29
|
+
*/
|
|
30
|
+
onExpandEnd?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* Callback when collapse animation starts
|
|
33
|
+
*/
|
|
34
|
+
onCollapseStart?: () => void;
|
|
35
|
+
/**
|
|
36
|
+
* Callback when collapse animation ends
|
|
37
|
+
*/
|
|
38
|
+
onCollapseEnd?: () => void;
|
|
39
|
+
/**
|
|
40
|
+
* Whether to unmount children when collapsed
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
unmountOnCollapse?: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Collapse component
|
|
47
|
+
* A container that provides smooth expand/collapse animation for its children
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```tsx
|
|
51
|
+
* <Collapse isOpen={isExpanded}>
|
|
52
|
+
* <div>Content to show/hide</div>
|
|
53
|
+
* </Collapse>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare const Collapse: import('react').ForwardRefExoticComponent<CollapseProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
57
|
+
export default Collapse;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BaseComponentProps, ComponentSize } from '../../../types/component.types';
|
|
3
|
+
/**
|
|
4
|
+
* Easing functions for animation
|
|
5
|
+
*/
|
|
6
|
+
export type EasingFunction = 'linear' | 'easeOut' | 'easeIn' | 'easeInOut' | 'easeOutCubic' | 'easeInCubic' | 'easeOutExpo';
|
|
7
|
+
/**
|
|
8
|
+
* Props for the CountUp component
|
|
9
|
+
*/
|
|
10
|
+
export interface CountUpProps extends Omit<BaseComponentProps, 'children'> {
|
|
11
|
+
/**
|
|
12
|
+
* Target value to count to
|
|
13
|
+
*/
|
|
14
|
+
value: number;
|
|
15
|
+
/**
|
|
16
|
+
* Starting value
|
|
17
|
+
* @default 0
|
|
18
|
+
*/
|
|
19
|
+
start?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Animation duration in milliseconds
|
|
22
|
+
* @default 2000
|
|
23
|
+
*/
|
|
24
|
+
duration?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Easing function for animation
|
|
27
|
+
* @default 'easeOutCubic'
|
|
28
|
+
*/
|
|
29
|
+
easing?: EasingFunction;
|
|
30
|
+
/**
|
|
31
|
+
* Prefix to display before the number
|
|
32
|
+
*/
|
|
33
|
+
prefix?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Suffix to display after the number
|
|
36
|
+
*/
|
|
37
|
+
suffix?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Number of decimal places
|
|
40
|
+
* @default 0
|
|
41
|
+
*/
|
|
42
|
+
decimals?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Thousands separator
|
|
45
|
+
* @default ','
|
|
46
|
+
*/
|
|
47
|
+
separator?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Decimal separator
|
|
50
|
+
* @default '.'
|
|
51
|
+
*/
|
|
52
|
+
decimalSeparator?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to start animation when element becomes visible
|
|
55
|
+
* @default true
|
|
56
|
+
*/
|
|
57
|
+
triggerOnVisible?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Visibility threshold (0-1) for Intersection Observer
|
|
60
|
+
* @default 0.1
|
|
61
|
+
*/
|
|
62
|
+
visibilityThreshold?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Callback when animation starts
|
|
65
|
+
*/
|
|
66
|
+
onStart?: () => void;
|
|
67
|
+
/**
|
|
68
|
+
* Callback when animation ends
|
|
69
|
+
*/
|
|
70
|
+
onEnd?: () => void;
|
|
71
|
+
/**
|
|
72
|
+
* Custom format function
|
|
73
|
+
*/
|
|
74
|
+
formatFn?: (value: number) => string;
|
|
75
|
+
/**
|
|
76
|
+
* Size of the component
|
|
77
|
+
* @default 'md'
|
|
78
|
+
*/
|
|
79
|
+
size?: ComponentSize;
|
|
80
|
+
/**
|
|
81
|
+
* Whether to start animation immediately (if triggerOnVisible is false)
|
|
82
|
+
* @default true
|
|
83
|
+
*/
|
|
84
|
+
autoStart?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Delay before starting animation (ms)
|
|
87
|
+
* @default 0
|
|
88
|
+
*/
|
|
89
|
+
delay?: number;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* CountUp - Animated number counting component
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```tsx
|
|
96
|
+
* <CountUp value={1000} />
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```tsx
|
|
101
|
+
* <CountUp
|
|
102
|
+
* value={1234.56}
|
|
103
|
+
* prefix="$"
|
|
104
|
+
* decimals={2}
|
|
105
|
+
* duration={3000}
|
|
106
|
+
* />
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```tsx
|
|
111
|
+
* <CountUp
|
|
112
|
+
* value={99}
|
|
113
|
+
* suffix="%"
|
|
114
|
+
* easing="easeOutExpo"
|
|
115
|
+
* />
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
export declare const CountUp: React.ForwardRefExoticComponent<CountUpProps & React.RefAttributes<HTMLSpanElement>>;
|
|
119
|
+
export default CountUp;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { BaseComponentProps } from '../../../types/component.types';
|
|
3
|
+
/**
|
|
4
|
+
* Direction of the flip animation
|
|
5
|
+
*/
|
|
6
|
+
export type FlipDirection = 'horizontal' | 'vertical';
|
|
7
|
+
/**
|
|
8
|
+
* How the flip is triggered
|
|
9
|
+
*/
|
|
10
|
+
export type FlipTrigger = 'click' | 'hover' | 'manual';
|
|
11
|
+
/**
|
|
12
|
+
* Props for the FlipCard component
|
|
13
|
+
*/
|
|
14
|
+
export interface FlipCardProps extends Omit<BaseComponentProps, 'children'> {
|
|
15
|
+
/**
|
|
16
|
+
* Content for the front face of the card
|
|
17
|
+
*/
|
|
18
|
+
front: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Content for the back face of the card
|
|
21
|
+
*/
|
|
22
|
+
back: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the card is flipped (controlled mode)
|
|
25
|
+
*/
|
|
26
|
+
isFlipped?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Default flipped state (uncontrolled mode)
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
defaultFlipped?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Callback when flip state changes
|
|
34
|
+
*/
|
|
35
|
+
onFlipChange?: (isFlipped: boolean) => void;
|
|
36
|
+
/**
|
|
37
|
+
* How the flip is triggered
|
|
38
|
+
* @default 'click'
|
|
39
|
+
*/
|
|
40
|
+
flipTrigger?: FlipTrigger;
|
|
41
|
+
/**
|
|
42
|
+
* Direction of the flip animation
|
|
43
|
+
* @default 'horizontal'
|
|
44
|
+
*/
|
|
45
|
+
flipDirection?: FlipDirection;
|
|
46
|
+
/**
|
|
47
|
+
* Animation duration in milliseconds
|
|
48
|
+
* @default 600
|
|
49
|
+
*/
|
|
50
|
+
duration?: number;
|
|
51
|
+
/**
|
|
52
|
+
* CSS easing function
|
|
53
|
+
* @default 'ease-in-out'
|
|
54
|
+
*/
|
|
55
|
+
easing?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Callback when flip animation starts
|
|
58
|
+
*/
|
|
59
|
+
onFlipStart?: (toFlipped: boolean) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Callback when flip animation ends
|
|
62
|
+
*/
|
|
63
|
+
onFlipEnd?: (isFlipped: boolean) => void;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the card is disabled (no flip interaction)
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
disabled?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Fixed height for the card (required for 3D perspective)
|
|
71
|
+
*/
|
|
72
|
+
height?: string | number;
|
|
73
|
+
/**
|
|
74
|
+
* Fixed width for the card
|
|
75
|
+
*/
|
|
76
|
+
width?: string | number;
|
|
77
|
+
/**
|
|
78
|
+
* Perspective distance for 3D effect
|
|
79
|
+
* @default 1000
|
|
80
|
+
*/
|
|
81
|
+
perspective?: number;
|
|
82
|
+
/**
|
|
83
|
+
* ARIA label for the flip action (accessibility)
|
|
84
|
+
* @default 'Flip card'
|
|
85
|
+
*/
|
|
86
|
+
flipButtonAriaLabel?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* FlipCard - An animated card component that flips to reveal back content
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```tsx
|
|
93
|
+
* <FlipCard
|
|
94
|
+
* front={<div>Front content</div>}
|
|
95
|
+
* back={<div>Back content</div>}
|
|
96
|
+
* height={200}
|
|
97
|
+
* width={300}
|
|
98
|
+
* />
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```tsx
|
|
103
|
+
* // Controlled mode
|
|
104
|
+
* const [isFlipped, setIsFlipped] = useState(false);
|
|
105
|
+
* <FlipCard
|
|
106
|
+
* front={<div>Front</div>}
|
|
107
|
+
* back={<div>Back</div>}
|
|
108
|
+
* isFlipped={isFlipped}
|
|
109
|
+
* onFlipChange={setIsFlipped}
|
|
110
|
+
* flipTrigger="manual"
|
|
111
|
+
* />
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* ```tsx
|
|
116
|
+
* // Hover to flip
|
|
117
|
+
* <FlipCard
|
|
118
|
+
* front={<div>Hover me</div>}
|
|
119
|
+
* back={<div>Back side</div>}
|
|
120
|
+
* flipTrigger="hover"
|
|
121
|
+
* />
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
export declare const FlipCard: React.ForwardRefExoticComponent<FlipCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
125
|
+
export default FlipCard;
|
|
@@ -21,6 +21,7 @@ import { default as BellOff } from './BellOff';
|
|
|
21
21
|
import { default as Bluetooth } from './Bluetooth';
|
|
22
22
|
import { default as Bold } from './Bold';
|
|
23
23
|
import { default as Bookmark } from './Bookmark';
|
|
24
|
+
import { default as BookmarkFilled } from './BookmarkFilled';
|
|
24
25
|
import { default as BookmarkPlus } from './BookmarkPlus';
|
|
25
26
|
import { default as Building } from './Building';
|
|
26
27
|
import { default as Calendar } from './Calendar';
|
|
@@ -31,6 +32,8 @@ import { default as Check } from './Check';
|
|
|
31
32
|
import { default as ChevronDown } from './ChevronDown';
|
|
32
33
|
import { default as ChevronLeft } from './ChevronLeft';
|
|
33
34
|
import { default as ChevronRight } from './ChevronRight';
|
|
35
|
+
import { default as ChevronsLeft } from './ChevronsLeft';
|
|
36
|
+
import { default as ChevronsRight } from './ChevronsRight';
|
|
34
37
|
import { default as ChevronUp } from './ChevronUp';
|
|
35
38
|
import { default as Clock } from './Clock';
|
|
36
39
|
import { default as Close } from './Close';
|
|
@@ -73,6 +76,7 @@ import { default as Grid } from './Grid';
|
|
|
73
76
|
import { default as HardDrive } from './HardDrive';
|
|
74
77
|
import { default as Hash } from './Hash';
|
|
75
78
|
import { default as Heart } from './Heart';
|
|
79
|
+
import { default as HeartFilled } from './HeartFilled';
|
|
76
80
|
import { default as Help } from './Help';
|
|
77
81
|
import { default as Home } from './Home';
|
|
78
82
|
import { default as Hourglass } from './Hourglass';
|
|
@@ -103,6 +107,7 @@ import { default as MicOff } from './MicOff';
|
|
|
103
107
|
import { default as Minimize } from './Minimize';
|
|
104
108
|
import { default as Minus } from './Minus';
|
|
105
109
|
import { default as Monitor } from './Monitor';
|
|
110
|
+
import { default as More } from './More';
|
|
106
111
|
import { default as Music } from './Music';
|
|
107
112
|
import { default as Navigation } from './Navigation';
|
|
108
113
|
import { default as Navigation2 } from './Navigation2';
|
|
@@ -148,6 +153,7 @@ import { default as SkipBack } from './SkipBack';
|
|
|
148
153
|
import { default as SkipForward } from './SkipForward';
|
|
149
154
|
import { default as Smartphone } from './Smartphone';
|
|
150
155
|
import { default as Star } from './Star';
|
|
156
|
+
import { default as StarFilled } from './StarFilled';
|
|
151
157
|
import { default as Stop } from './Stop';
|
|
152
158
|
import { default as Stopwatch } from './Stopwatch';
|
|
153
159
|
import { default as Sunrise } from './Sunrise';
|
|
@@ -157,6 +163,7 @@ import { default as Tag } from './Tag';
|
|
|
157
163
|
import { default as Target } from './Target';
|
|
158
164
|
import { default as Terminal } from './Terminal';
|
|
159
165
|
import { default as ThumbsUp } from './ThumbsUp';
|
|
166
|
+
import { default as ThumbsUpFilled } from './ThumbsUpFilled';
|
|
160
167
|
import { default as TrendingDown } from './TrendingDown';
|
|
161
168
|
import { default as TrendingUp } from './TrendingUp';
|
|
162
169
|
import { default as Type } from './Type';
|
|
@@ -208,6 +215,7 @@ export declare const iconRegistry: {
|
|
|
208
215
|
readonly bluetooth: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
209
216
|
readonly bold: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
210
217
|
readonly bookmark: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
218
|
+
readonly 'bookmark-filled': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
211
219
|
readonly 'bookmark-plus': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
212
220
|
readonly building: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
213
221
|
readonly calendar: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -218,6 +226,8 @@ export declare const iconRegistry: {
|
|
|
218
226
|
readonly 'chevron-down': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
219
227
|
readonly 'chevron-left': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
220
228
|
readonly 'chevron-right': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
229
|
+
readonly 'chevrons-left': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
230
|
+
readonly 'chevrons-right': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
221
231
|
readonly 'chevron-up': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
222
232
|
readonly clock: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
223
233
|
readonly close: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -260,6 +270,7 @@ export declare const iconRegistry: {
|
|
|
260
270
|
readonly 'hard-drive': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
261
271
|
readonly hash: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
262
272
|
readonly heart: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
273
|
+
readonly 'heart-filled': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
263
274
|
readonly help: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
264
275
|
readonly home: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
265
276
|
readonly hourglass: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -290,6 +301,7 @@ export declare const iconRegistry: {
|
|
|
290
301
|
readonly minimize: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
291
302
|
readonly minus: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
292
303
|
readonly monitor: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
304
|
+
readonly more: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
293
305
|
readonly music: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
294
306
|
readonly navigation: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
295
307
|
readonly 'navigation-2': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -335,6 +347,7 @@ export declare const iconRegistry: {
|
|
|
335
347
|
readonly 'skip-forward': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
336
348
|
readonly smartphone: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
337
349
|
readonly star: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
350
|
+
readonly 'star-filled': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
338
351
|
readonly stop: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
339
352
|
readonly stopwatch: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
340
353
|
readonly sunrise: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -344,6 +357,7 @@ export declare const iconRegistry: {
|
|
|
344
357
|
readonly target: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
345
358
|
readonly terminal: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
346
359
|
readonly 'thumbs-up': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
360
|
+
readonly 'thumbs-up-filled': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
347
361
|
readonly 'trending-down': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
348
362
|
readonly 'trending-up': (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
349
363
|
readonly type: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -376,4 +390,4 @@ export type IconName = keyof typeof iconRegistry;
|
|
|
376
390
|
/**
|
|
377
391
|
* Named exports for direct import
|
|
378
392
|
*/
|
|
379
|
-
export { Account, Activity, AlignCenter, AlignJustify, AlignLeft, AlignRight, ArrowDown, ArrowDownLeft, ArrowDownRight, ArrowLeft, ArrowRight, ArrowUp, ArrowUpLeft, ArrowUpRight, AtSign, BarChart2, Battery, BatteryCharging, Bell, BellOff, Bluetooth, Bold, Bookmark, BookmarkPlus, Building, Calendar, Camera, ChartBar, ChartLine, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clock, Close, Cloud, CloudDownload, CloudOff, CloudUpload, Code, Compass, Copy, CornerDownLeft, CornerDownRight, CornerUpLeft, CornerUpRight, Cpu, CreditCard, Crosshair, Database, Delete, Dollar, Download, Edit, Error, ExternalLink, Eye, EyeOff, File, FileCheck, FileMinus, FilePlus, FileText, Filter, Folder, FolderMinus, FolderOpen, FolderPlus, Gift, Globe, Grid, HardDrive, Hash, Heart, Help, Home, Hourglass, Image, Inbox, Info, Italic, Key, Laptop, Link, Link2, List, ListOrdered, ListUnordered, Lock, Logout, Mail, MailOpen, Map, MapPin, Maximize, Menu, MessageCircle, Messages, MessageSquare, Mic, MicOff, Minimize, Minus, Monitor, Music, Navigation, Navigation2, Outbox, Paperclip, Pause, Percent, PercentCircle, Phone, PhoneCall, PhoneIncoming, PhoneMissed, PhoneOutgoing, PieChart, Play, Plus, Power, Preferences, Printer, Profile, Redo, Refresh, Repeat, RotateCcw, RotateCw, Route, Rss, Save, Search, Send, Server, Settings, Share, Share2, Shield, ShieldAlert, ShieldCheck, ShieldOff, ShoppingBag, ShoppingCart, Shuffle, SkipBack, SkipForward, Smartphone, Star, Stop, Stopwatch, Sunrise, Sunset, Tablet, Tag, Target, Terminal, ThumbsUp, TrendingDown, TrendingUp, Type, Underline, Undo, Unlock, Unlink, Upload, User, UserCheck, UserMinus, UserPlus, Users, UserX, Video, Volume, Volume1, Volume2, VolumeX, Warning, Watch, Wifi, WifiOff, Zap, };
|
|
393
|
+
export { Account, Activity, AlignCenter, AlignJustify, AlignLeft, AlignRight, ArrowDown, ArrowDownLeft, ArrowDownRight, ArrowLeft, ArrowRight, ArrowUp, ArrowUpLeft, ArrowUpRight, AtSign, BarChart2, Battery, BatteryCharging, Bell, BellOff, Bluetooth, Bold, Bookmark, BookmarkFilled, BookmarkPlus, Building, Calendar, Camera, ChartBar, ChartLine, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight, ChevronUp, Clock, Close, Cloud, CloudDownload, CloudOff, CloudUpload, Code, Compass, Copy, CornerDownLeft, CornerDownRight, CornerUpLeft, CornerUpRight, Cpu, CreditCard, Crosshair, Database, Delete, Dollar, Download, Edit, Error, ExternalLink, Eye, EyeOff, File, FileCheck, FileMinus, FilePlus, FileText, Filter, Folder, FolderMinus, FolderOpen, FolderPlus, Gift, Globe, Grid, HardDrive, Hash, Heart, HeartFilled, Help, Home, Hourglass, Image, Inbox, Info, Italic, Key, Laptop, Link, Link2, List, ListOrdered, ListUnordered, Lock, Logout, Mail, MailOpen, Map, MapPin, Maximize, Menu, MessageCircle, Messages, MessageSquare, Mic, MicOff, Minimize, Minus, Monitor, More, Music, Navigation, Navigation2, Outbox, Paperclip, Pause, Percent, PercentCircle, Phone, PhoneCall, PhoneIncoming, PhoneMissed, PhoneOutgoing, PieChart, Play, Plus, Power, Preferences, Printer, Profile, Redo, Refresh, Repeat, RotateCcw, RotateCw, Route, Rss, Save, Search, Send, Server, Settings, Share, Share2, Shield, ShieldAlert, ShieldCheck, ShieldOff, ShoppingBag, ShoppingCart, Shuffle, SkipBack, SkipForward, Smartphone, Star, StarFilled, Stop, Stopwatch, Sunrise, Sunset, Tablet, Tag, Target, Terminal, ThumbsUp, ThumbsUpFilled, TrendingDown, TrendingUp, Type, Underline, Undo, Unlock, Unlink, Upload, User, UserCheck, UserMinus, UserPlus, Users, UserX, Video, Volume, Volume1, Volume2, VolumeX, Warning, Watch, Wifi, WifiOff, Zap, };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PopoverPosition } from '../../../utils/positioning';
|
|
3
|
+
import { BaseComponentProps } from '../../../types';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the OverflowText component
|
|
6
|
+
*/
|
|
7
|
+
export interface OverflowTextProps extends Omit<BaseComponentProps, 'children'> {
|
|
8
|
+
/**
|
|
9
|
+
* Text content to display
|
|
10
|
+
*/
|
|
11
|
+
children: string;
|
|
12
|
+
/**
|
|
13
|
+
* Maximum number of lines before truncation
|
|
14
|
+
* @default 1
|
|
15
|
+
*/
|
|
16
|
+
lines?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Position of the tooltip
|
|
19
|
+
* @default 'top'
|
|
20
|
+
*/
|
|
21
|
+
tooltipPosition?: PopoverPosition;
|
|
22
|
+
/**
|
|
23
|
+
* Delay before showing tooltip (ms)
|
|
24
|
+
* @default 200
|
|
25
|
+
*/
|
|
26
|
+
tooltipDelay?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to disable the tooltip (always truncate, never show full text)
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
disableTooltip?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Custom tooltip content (defaults to full text)
|
|
34
|
+
*/
|
|
35
|
+
tooltipContent?: React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Maximum width of the tooltip
|
|
38
|
+
* @default 300
|
|
39
|
+
*/
|
|
40
|
+
tooltipMaxWidth?: number;
|
|
41
|
+
/**
|
|
42
|
+
* HTML element to render
|
|
43
|
+
* @default 'span'
|
|
44
|
+
*/
|
|
45
|
+
as?: 'span' | 'p' | 'div';
|
|
46
|
+
/**
|
|
47
|
+
* Callback when text overflow state changes
|
|
48
|
+
* @param isOverflowing - Whether text is currently overflowing
|
|
49
|
+
*/
|
|
50
|
+
onOverflowChange?: (isOverflowing: boolean) => void;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* OverflowText - Text that truncates with ellipsis and shows full content in tooltip
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* Single line truncation:
|
|
57
|
+
* ```tsx
|
|
58
|
+
* <OverflowText>
|
|
59
|
+
* This is a very long text that will be truncated with ellipsis
|
|
60
|
+
* </OverflowText>
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* Multi-line truncation:
|
|
65
|
+
* ```tsx
|
|
66
|
+
* <OverflowText lines={2}>
|
|
67
|
+
* This is a very long text that spans multiple lines and will be
|
|
68
|
+
* truncated after the second line with an ellipsis.
|
|
69
|
+
* </OverflowText>
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* With custom tooltip position:
|
|
74
|
+
* ```tsx
|
|
75
|
+
* <OverflowText tooltipPosition="bottom" tooltipDelay={500}>
|
|
76
|
+
* Hover to see the full text in a tooltip at the bottom
|
|
77
|
+
* </OverflowText>
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare const OverflowText: React.ForwardRefExoticComponent<OverflowTextProps & React.RefAttributes<HTMLElement>>;
|
|
81
|
+
export default OverflowText;
|