@lp-labs/ui-components 0.0.0-stage → 1.0.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/CHANGELOG.md +41 -0
- package/LICENSE +21 -0
- package/README.md +256 -2
- package/dist/cjs/components/Accordion.d.ts +78 -0
- package/dist/cjs/components/Accordion.js +78 -0
- package/dist/cjs/components/AdvancedComponents.d.ts +353 -0
- package/dist/cjs/components/AdvancedComponents.js +353 -0
- package/dist/cjs/components/Alert.d.ts +102 -0
- package/dist/cjs/components/Alert.js +102 -0
- package/dist/cjs/components/Avatar.d.ts +89 -0
- package/dist/cjs/components/Avatar.js +89 -0
- package/dist/cjs/components/Badge.d.ts +57 -0
- package/dist/cjs/components/Badge.js +57 -0
- package/dist/cjs/components/Breadcrumb.d.ts +50 -0
- package/dist/cjs/components/Breadcrumb.js +50 -0
- package/dist/cjs/components/Button.d.ts +77 -0
- package/dist/cjs/components/Button.js +77 -0
- package/dist/cjs/components/ButtonVariants.d.ts +261 -0
- package/dist/cjs/components/ButtonVariants.js +261 -0
- package/dist/cjs/components/Card.d.ts +56 -0
- package/dist/cjs/components/Card.js +56 -0
- package/dist/cjs/components/CardVariants.d.ts +267 -0
- package/dist/cjs/components/CardVariants.js +267 -0
- package/dist/cjs/components/Checkbox.d.ts +50 -0
- package/dist/cjs/components/Checkbox.js +50 -0
- package/dist/cjs/components/Chip.d.ts +104 -0
- package/dist/cjs/components/Chip.js +104 -0
- package/dist/cjs/components/DataDisplayComponents.d.ts +275 -0
- package/dist/cjs/components/DataDisplayComponents.js +275 -0
- package/dist/cjs/components/Divider.d.ts +77 -0
- package/dist/cjs/components/Divider.js +77 -0
- package/dist/cjs/components/Drawer.d.ts +142 -0
- package/dist/cjs/components/Drawer.js +142 -0
- package/dist/cjs/components/Dropdown.d.ts +139 -0
- package/dist/cjs/components/Dropdown.js +139 -0
- package/dist/cjs/components/Form.d.ts +41 -0
- package/dist/cjs/components/Form.js +41 -0
- package/dist/cjs/components/FormGroup.d.ts +58 -0
- package/dist/cjs/components/FormGroup.js +58 -0
- package/dist/cjs/components/FormInputVariants.d.ts +298 -0
- package/dist/cjs/components/FormInputVariants.js +298 -0
- package/dist/cjs/components/Image.d.ts +106 -0
- package/dist/cjs/components/Image.js +106 -0
- package/dist/cjs/components/Input.d.ts +65 -0
- package/dist/cjs/components/Input.js +65 -0
- package/dist/cjs/components/LayoutComponents.d.ts +258 -0
- package/dist/cjs/components/LayoutComponents.js +258 -0
- package/dist/cjs/components/Link.d.ts +71 -0
- package/dist/cjs/components/Link.js +71 -0
- package/dist/cjs/components/LoadingFeedbackComponents.d.ts +230 -0
- package/dist/cjs/components/LoadingFeedbackComponents.js +230 -0
- package/dist/cjs/components/Menu.d.ts +167 -0
- package/dist/cjs/components/Menu.js +167 -0
- package/dist/cjs/components/Modal.d.ts +145 -0
- package/dist/cjs/components/Modal.js +145 -0
- package/dist/cjs/components/ModalTypes.d.ts +288 -0
- package/dist/cjs/components/ModalTypes.js +288 -0
- package/dist/cjs/components/Navbar.d.ts +181 -0
- package/dist/cjs/components/Navbar.js +181 -0
- package/dist/cjs/components/NavigationComponents.d.ts +276 -0
- package/dist/cjs/components/NavigationComponents.js +276 -0
- package/dist/cjs/components/Pagination.d.ts +94 -0
- package/dist/cjs/components/Pagination.js +94 -0
- package/dist/cjs/components/Popover.d.ts +108 -0
- package/dist/cjs/components/Popover.js +108 -0
- package/dist/cjs/components/Progress.d.ts +68 -0
- package/dist/cjs/components/Progress.js +68 -0
- package/dist/cjs/components/Radio.d.ts +93 -0
- package/dist/cjs/components/Radio.js +93 -0
- package/dist/cjs/components/Rating.d.ts +82 -0
- package/dist/cjs/components/Rating.js +82 -0
- package/dist/cjs/components/Select.d.ts +74 -0
- package/dist/cjs/components/Select.js +74 -0
- package/dist/cjs/components/Sidebar.d.ts +174 -0
- package/dist/cjs/components/Sidebar.js +174 -0
- package/dist/cjs/components/Skeleton.d.ts +57 -0
- package/dist/cjs/components/Skeleton.js +57 -0
- package/dist/cjs/components/Slider.d.ts +64 -0
- package/dist/cjs/components/Slider.js +64 -0
- package/dist/cjs/components/Spinner.d.ts +70 -0
- package/dist/cjs/components/Spinner.js +70 -0
- package/dist/cjs/components/Stack.d.ts +75 -0
- package/dist/cjs/components/Stack.js +75 -0
- package/dist/cjs/components/Stepper.d.ts +150 -0
- package/dist/cjs/components/Stepper.js +150 -0
- package/dist/cjs/components/Table.d.ts +173 -0
- package/dist/cjs/components/Table.js +173 -0
- package/dist/cjs/components/Tabs.d.ts +104 -0
- package/dist/cjs/components/Tabs.js +104 -0
- package/dist/cjs/components/Tag.d.ts +74 -0
- package/dist/cjs/components/Tag.js +74 -0
- package/dist/cjs/components/Textarea.d.ts +75 -0
- package/dist/cjs/components/Textarea.js +75 -0
- package/dist/cjs/components/Timeline.d.ts +124 -0
- package/dist/cjs/components/Timeline.js +124 -0
- package/dist/cjs/components/Toast.d.ts +155 -0
- package/dist/cjs/components/Toast.js +155 -0
- package/dist/cjs/components/Toggle.d.ts +75 -0
- package/dist/cjs/components/Toggle.js +75 -0
- package/dist/cjs/components/Tooltip.d.ts +80 -0
- package/dist/cjs/components/Tooltip.js +80 -0
- package/dist/cjs/components/TypographyComponents.d.ts +265 -0
- package/dist/cjs/components/TypographyComponents.js +265 -0
- package/dist/cjs/components/UtilityComponents.d.ts +345 -0
- package/dist/cjs/components/UtilityComponents.js +345 -0
- package/dist/cjs/components/Video.d.ts +82 -0
- package/dist/cjs/components/Video.js +82 -0
- package/dist/cjs/components/index.d.ts +311 -0
- package/dist/cjs/components/index.js +311 -0
- package/dist/cjs/index.d.ts +5 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/styles/main.css +493 -0
- package/dist/cjs/theme/ThemeProvider.d.ts +185 -0
- package/dist/cjs/theme/ThemeProvider.js +185 -0
- package/dist/cjs/theme/index.d.ts +2 -0
- package/dist/cjs/theme/index.js +2 -0
- package/dist/cjs/utilities/classNames.d.ts +200 -0
- package/dist/cjs/utilities/classNames.js +200 -0
- package/dist/cjs/utilities/index.d.ts +3 -0
- package/dist/cjs/utilities/index.js +3 -0
- package/dist/cjs/utilities/styles.d.ts +94 -0
- package/dist/cjs/utilities/styles.js +94 -0
- package/dist/esm/components/Accordion.d.ts +78 -0
- package/dist/esm/components/Accordion.js +78 -0
- package/dist/esm/components/AdvancedComponents.d.ts +353 -0
- package/dist/esm/components/AdvancedComponents.js +353 -0
- package/dist/esm/components/Alert.d.ts +102 -0
- package/dist/esm/components/Alert.js +102 -0
- package/dist/esm/components/Avatar.d.ts +89 -0
- package/dist/esm/components/Avatar.js +89 -0
- package/dist/esm/components/Badge.d.ts +57 -0
- package/dist/esm/components/Badge.js +57 -0
- package/dist/esm/components/Breadcrumb.d.ts +50 -0
- package/dist/esm/components/Breadcrumb.js +50 -0
- package/dist/esm/components/Button.d.ts +77 -0
- package/dist/esm/components/Button.js +77 -0
- package/dist/esm/components/ButtonVariants.d.ts +261 -0
- package/dist/esm/components/ButtonVariants.js +261 -0
- package/dist/esm/components/Card.d.ts +56 -0
- package/dist/esm/components/Card.js +56 -0
- package/dist/esm/components/CardVariants.d.ts +267 -0
- package/dist/esm/components/CardVariants.js +267 -0
- package/dist/esm/components/Checkbox.d.ts +50 -0
- package/dist/esm/components/Checkbox.js +50 -0
- package/dist/esm/components/Chip.d.ts +104 -0
- package/dist/esm/components/Chip.js +104 -0
- package/dist/esm/components/DataDisplayComponents.d.ts +275 -0
- package/dist/esm/components/DataDisplayComponents.js +275 -0
- package/dist/esm/components/Divider.d.ts +77 -0
- package/dist/esm/components/Divider.js +77 -0
- package/dist/esm/components/Drawer.d.ts +142 -0
- package/dist/esm/components/Drawer.js +142 -0
- package/dist/esm/components/Dropdown.d.ts +139 -0
- package/dist/esm/components/Dropdown.js +139 -0
- package/dist/esm/components/Form.d.ts +41 -0
- package/dist/esm/components/Form.js +41 -0
- package/dist/esm/components/FormGroup.d.ts +58 -0
- package/dist/esm/components/FormGroup.js +58 -0
- package/dist/esm/components/FormInputVariants.d.ts +298 -0
- package/dist/esm/components/FormInputVariants.js +298 -0
- package/dist/esm/components/Image.d.ts +106 -0
- package/dist/esm/components/Image.js +106 -0
- package/dist/esm/components/Input.d.ts +65 -0
- package/dist/esm/components/Input.js +65 -0
- package/dist/esm/components/LayoutComponents.d.ts +258 -0
- package/dist/esm/components/LayoutComponents.js +258 -0
- package/dist/esm/components/Link.d.ts +71 -0
- package/dist/esm/components/Link.js +71 -0
- package/dist/esm/components/LoadingFeedbackComponents.d.ts +230 -0
- package/dist/esm/components/LoadingFeedbackComponents.js +230 -0
- package/dist/esm/components/Menu.d.ts +167 -0
- package/dist/esm/components/Menu.js +167 -0
- package/dist/esm/components/Modal.d.ts +145 -0
- package/dist/esm/components/Modal.js +145 -0
- package/dist/esm/components/ModalTypes.d.ts +288 -0
- package/dist/esm/components/ModalTypes.js +288 -0
- package/dist/esm/components/Navbar.d.ts +181 -0
- package/dist/esm/components/Navbar.js +181 -0
- package/dist/esm/components/NavigationComponents.d.ts +276 -0
- package/dist/esm/components/NavigationComponents.js +276 -0
- package/dist/esm/components/Pagination.d.ts +94 -0
- package/dist/esm/components/Pagination.js +94 -0
- package/dist/esm/components/Popover.d.ts +108 -0
- package/dist/esm/components/Popover.js +108 -0
- package/dist/esm/components/Progress.d.ts +68 -0
- package/dist/esm/components/Progress.js +68 -0
- package/dist/esm/components/Radio.d.ts +93 -0
- package/dist/esm/components/Radio.js +93 -0
- package/dist/esm/components/Rating.d.ts +82 -0
- package/dist/esm/components/Rating.js +82 -0
- package/dist/esm/components/Select.d.ts +74 -0
- package/dist/esm/components/Select.js +74 -0
- package/dist/esm/components/Sidebar.d.ts +174 -0
- package/dist/esm/components/Sidebar.js +174 -0
- package/dist/esm/components/Skeleton.d.ts +57 -0
- package/dist/esm/components/Skeleton.js +57 -0
- package/dist/esm/components/Slider.d.ts +64 -0
- package/dist/esm/components/Slider.js +64 -0
- package/dist/esm/components/Spinner.d.ts +70 -0
- package/dist/esm/components/Spinner.js +70 -0
- package/dist/esm/components/Stack.d.ts +75 -0
- package/dist/esm/components/Stack.js +75 -0
- package/dist/esm/components/Stepper.d.ts +150 -0
- package/dist/esm/components/Stepper.js +150 -0
- package/dist/esm/components/Table.d.ts +173 -0
- package/dist/esm/components/Table.js +173 -0
- package/dist/esm/components/Tabs.d.ts +104 -0
- package/dist/esm/components/Tabs.js +104 -0
- package/dist/esm/components/Tag.d.ts +74 -0
- package/dist/esm/components/Tag.js +74 -0
- package/dist/esm/components/Textarea.d.ts +75 -0
- package/dist/esm/components/Textarea.js +75 -0
- package/dist/esm/components/Timeline.d.ts +124 -0
- package/dist/esm/components/Timeline.js +124 -0
- package/dist/esm/components/Toast.d.ts +155 -0
- package/dist/esm/components/Toast.js +155 -0
- package/dist/esm/components/Toggle.d.ts +75 -0
- package/dist/esm/components/Toggle.js +75 -0
- package/dist/esm/components/Tooltip.d.ts +80 -0
- package/dist/esm/components/Tooltip.js +80 -0
- package/dist/esm/components/TypographyComponents.d.ts +265 -0
- package/dist/esm/components/TypographyComponents.js +265 -0
- package/dist/esm/components/UtilityComponents.d.ts +345 -0
- package/dist/esm/components/UtilityComponents.js +345 -0
- package/dist/esm/components/Video.d.ts +82 -0
- package/dist/esm/components/Video.js +82 -0
- package/dist/esm/components/index.d.ts +311 -0
- package/dist/esm/components/index.js +311 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/styles/main.css +493 -0
- package/dist/esm/theme/ThemeProvider.d.ts +185 -0
- package/dist/esm/theme/ThemeProvider.js +185 -0
- package/dist/esm/theme/index.d.ts +2 -0
- package/dist/esm/theme/index.js +2 -0
- package/dist/esm/utilities/classNames.d.ts +200 -0
- package/dist/esm/utilities/classNames.js +200 -0
- package/dist/esm/utilities/index.d.ts +3 -0
- package/dist/esm/utilities/index.js +3 -0
- package/dist/esm/utilities/styles.d.ts +94 -0
- package/dist/esm/utilities/styles.js +94 -0
- package/dist/styles/main.css +493 -0
- package/package.json +124 -6
- package/src/styles/main.css +493 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { cn } from '../utilities/classNames';
|
|
3
|
+
|
|
4
|
+
export interface VideoProps extends React.VideoHTMLAttributes<HTMLVideoElement> {
|
|
5
|
+
src: string;
|
|
6
|
+
poster?: string;
|
|
7
|
+
width?: number | string;
|
|
8
|
+
height?: number | string;
|
|
9
|
+
controls?: boolean;
|
|
10
|
+
autoPlay?: boolean;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
muted?: boolean;
|
|
13
|
+
aspect?: 'square' | 'video' | 'auto';
|
|
14
|
+
rounded?: boolean;
|
|
15
|
+
shadow?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Video = React.forwardRef<HTMLVideoElement, VideoProps>(
|
|
20
|
+
(
|
|
21
|
+
{
|
|
22
|
+
src,
|
|
23
|
+
poster,
|
|
24
|
+
width,
|
|
25
|
+
height,
|
|
26
|
+
controls = true,
|
|
27
|
+
autoPlay = false,
|
|
28
|
+
loop = false,
|
|
29
|
+
muted = false,
|
|
30
|
+
aspect = 'video',
|
|
31
|
+
rounded = false,
|
|
32
|
+
shadow = false,
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
},
|
|
36
|
+
ref
|
|
37
|
+
) => {
|
|
38
|
+
const aspectClasses = {
|
|
39
|
+
square: 'aspect-square',
|
|
40
|
+
video: 'aspect-video',
|
|
41
|
+
auto: 'auto',
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<div
|
|
46
|
+
className={cn(
|
|
47
|
+
'relative bg-black',
|
|
48
|
+
aspectClasses[aspect] !== 'auto' && aspectClasses[aspect],
|
|
49
|
+
{
|
|
50
|
+
'rounded-lg overflow-hidden': rounded,
|
|
51
|
+
'shadow-lg': shadow,
|
|
52
|
+
},
|
|
53
|
+
aspect === 'auto' && !height && 'w-full'
|
|
54
|
+
)}
|
|
55
|
+
style={{
|
|
56
|
+
width: typeof width === 'number' ? `${width}px` : width,
|
|
57
|
+
height: typeof height === 'number' ? `${height}px` : height,
|
|
58
|
+
}}
|
|
59
|
+
>
|
|
60
|
+
<video
|
|
61
|
+
ref={ref}
|
|
62
|
+
src={src}
|
|
63
|
+
poster={poster}
|
|
64
|
+
controls={controls}
|
|
65
|
+
autoPlay={autoPlay}
|
|
66
|
+
loop={loop}
|
|
67
|
+
muted={muted}
|
|
68
|
+
className={cn(
|
|
69
|
+
'w-full h-full',
|
|
70
|
+
{
|
|
71
|
+
'rounded-lg': rounded,
|
|
72
|
+
},
|
|
73
|
+
className
|
|
74
|
+
)}
|
|
75
|
+
{...props}
|
|
76
|
+
/>
|
|
77
|
+
</div>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
Video.displayName = 'Video';
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { cn } from '../utilities/classNames';
|
|
3
|
+
|
|
4
|
+
export interface VideoProps extends React.VideoHTMLAttributes<HTMLVideoElement> {
|
|
5
|
+
src: string;
|
|
6
|
+
poster?: string;
|
|
7
|
+
width?: number | string;
|
|
8
|
+
height?: number | string;
|
|
9
|
+
controls?: boolean;
|
|
10
|
+
autoPlay?: boolean;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
muted?: boolean;
|
|
13
|
+
aspect?: 'square' | 'video' | 'auto';
|
|
14
|
+
rounded?: boolean;
|
|
15
|
+
shadow?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Video = React.forwardRef<HTMLVideoElement, VideoProps>(
|
|
20
|
+
(
|
|
21
|
+
{
|
|
22
|
+
src,
|
|
23
|
+
poster,
|
|
24
|
+
width,
|
|
25
|
+
height,
|
|
26
|
+
controls = true,
|
|
27
|
+
autoPlay = false,
|
|
28
|
+
loop = false,
|
|
29
|
+
muted = false,
|
|
30
|
+
aspect = 'video',
|
|
31
|
+
rounded = false,
|
|
32
|
+
shadow = false,
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
},
|
|
36
|
+
ref
|
|
37
|
+
) => {
|
|
38
|
+
const aspectClasses = {
|
|
39
|
+
square: 'aspect-square',
|
|
40
|
+
video: 'aspect-video',
|
|
41
|
+
auto: 'auto',
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<div
|
|
46
|
+
className={cn(
|
|
47
|
+
'relative bg-black',
|
|
48
|
+
aspectClasses[aspect] !== 'auto' && aspectClasses[aspect],
|
|
49
|
+
{
|
|
50
|
+
'rounded-lg overflow-hidden': rounded,
|
|
51
|
+
'shadow-lg': shadow,
|
|
52
|
+
},
|
|
53
|
+
aspect === 'auto' && !height && 'w-full'
|
|
54
|
+
)}
|
|
55
|
+
style={{
|
|
56
|
+
width: typeof width === 'number' ? `${width}px` : width,
|
|
57
|
+
height: typeof height === 'number' ? `${height}px` : height,
|
|
58
|
+
}}
|
|
59
|
+
>
|
|
60
|
+
<video
|
|
61
|
+
ref={ref}
|
|
62
|
+
src={src}
|
|
63
|
+
poster={poster}
|
|
64
|
+
controls={controls}
|
|
65
|
+
autoPlay={autoPlay}
|
|
66
|
+
loop={loop}
|
|
67
|
+
muted={muted}
|
|
68
|
+
className={cn(
|
|
69
|
+
'w-full h-full',
|
|
70
|
+
{
|
|
71
|
+
'rounded-lg': rounded,
|
|
72
|
+
},
|
|
73
|
+
className
|
|
74
|
+
)}
|
|
75
|
+
{...props}
|
|
76
|
+
/>
|
|
77
|
+
</div>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
Video.displayName = 'Video';
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
// ============================================
|
|
2
|
+
// CORE COMPONENTS (Existing v3.0.0)
|
|
3
|
+
// ============================================
|
|
4
|
+
|
|
5
|
+
export { Button } from './Button';
|
|
6
|
+
export type { ButtonProps } from './Button';
|
|
7
|
+
|
|
8
|
+
export { Card } from './Card';
|
|
9
|
+
export type { CardProps } from './Card';
|
|
10
|
+
|
|
11
|
+
export { Input } from './Input';
|
|
12
|
+
export type { InputProps } from './Input';
|
|
13
|
+
|
|
14
|
+
export { Modal, ModalHeader, ModalBody, ModalFooter } from './Modal';
|
|
15
|
+
export type { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps } from './Modal';
|
|
16
|
+
|
|
17
|
+
export { Badge } from './Badge';
|
|
18
|
+
export type { BadgeProps } from './Badge';
|
|
19
|
+
|
|
20
|
+
export { Alert } from './Alert';
|
|
21
|
+
export type { AlertProps } from './Alert';
|
|
22
|
+
|
|
23
|
+
export { Dropdown, DropdownItem, DropdownMenu } from './Dropdown';
|
|
24
|
+
export type { DropdownProps, DropdownItemProps, DropdownMenuProps } from './Dropdown';
|
|
25
|
+
|
|
26
|
+
export { Navbar, NavbarBrand, NavbarNav, NavbarItem, NavbarToggle } from './Navbar';
|
|
27
|
+
export type { NavbarProps, NavbarBrandProps, NavbarNavProps, NavbarItemProps, NavbarToggleProps } from './Navbar';
|
|
28
|
+
|
|
29
|
+
// Form Components
|
|
30
|
+
export { Checkbox } from './Checkbox';
|
|
31
|
+
export type { CheckboxProps } from './Checkbox';
|
|
32
|
+
|
|
33
|
+
export { Radio, RadioGroup } from './Radio';
|
|
34
|
+
export type { RadioProps, RadioGroupProps } from './Radio';
|
|
35
|
+
|
|
36
|
+
export { Select } from './Select';
|
|
37
|
+
export type { SelectProps } from './Select';
|
|
38
|
+
|
|
39
|
+
export { Textarea } from './Textarea';
|
|
40
|
+
export type { TextareaProps } from './Textarea';
|
|
41
|
+
|
|
42
|
+
export { Slider } from './Slider';
|
|
43
|
+
export type { SliderProps } from './Slider';
|
|
44
|
+
|
|
45
|
+
// Display Components
|
|
46
|
+
export { Tabs, TabList, TabTrigger, TabContent } from './Tabs';
|
|
47
|
+
export type { TabsProps, TabListProps, TabTriggerProps, TabContentProps } from './Tabs';
|
|
48
|
+
|
|
49
|
+
export { Progress } from './Progress';
|
|
50
|
+
export type { ProgressProps } from './Progress';
|
|
51
|
+
|
|
52
|
+
export { Spinner } from './Spinner';
|
|
53
|
+
export type { SpinnerProps } from './Spinner';
|
|
54
|
+
|
|
55
|
+
// ============================================
|
|
56
|
+
// NEW v4.0.0 COMPONENTS (160+)
|
|
57
|
+
// ============================================
|
|
58
|
+
|
|
59
|
+
// ============================================
|
|
60
|
+
// 1. BUTTON VARIANTS (7 components)
|
|
61
|
+
// ============================================
|
|
62
|
+
export {
|
|
63
|
+
ButtonPrimary,
|
|
64
|
+
ButtonSecondary,
|
|
65
|
+
ButtonOutline,
|
|
66
|
+
ButtonGhost,
|
|
67
|
+
ButtonLink,
|
|
68
|
+
ButtonIcon,
|
|
69
|
+
ButtonLoading,
|
|
70
|
+
} from './ButtonVariants';
|
|
71
|
+
export type { ButtonVariantProps } from './ButtonVariants';
|
|
72
|
+
|
|
73
|
+
// ============================================
|
|
74
|
+
// 2. FORM INPUT VARIANTS (9 components)
|
|
75
|
+
// ============================================
|
|
76
|
+
export {
|
|
77
|
+
InputText,
|
|
78
|
+
InputEmail,
|
|
79
|
+
InputPassword,
|
|
80
|
+
InputNumber,
|
|
81
|
+
InputDate,
|
|
82
|
+
InputTime,
|
|
83
|
+
InputTel,
|
|
84
|
+
InputUrl,
|
|
85
|
+
InputSearch,
|
|
86
|
+
} from './FormInputVariants';
|
|
87
|
+
export type { FormInputProps } from './FormInputVariants';
|
|
88
|
+
|
|
89
|
+
// ============================================
|
|
90
|
+
// 3. CARD VARIANTS (8 components)
|
|
91
|
+
// ============================================
|
|
92
|
+
export {
|
|
93
|
+
CardBasic,
|
|
94
|
+
CardImage,
|
|
95
|
+
CardHorizontal,
|
|
96
|
+
CardExpanding,
|
|
97
|
+
CardInteractive,
|
|
98
|
+
CardGradient,
|
|
99
|
+
CardMinimal,
|
|
100
|
+
CardBordered,
|
|
101
|
+
} from './CardVariants';
|
|
102
|
+
export type { CardVariantProps } from './CardVariants';
|
|
103
|
+
|
|
104
|
+
// ============================================
|
|
105
|
+
// 4. MODAL TYPES (7 components)
|
|
106
|
+
// ============================================
|
|
107
|
+
export {
|
|
108
|
+
ModalStandard,
|
|
109
|
+
ModalAlert,
|
|
110
|
+
ModalConfirm,
|
|
111
|
+
ModalSidebar,
|
|
112
|
+
ModalFullscreen,
|
|
113
|
+
ModalCentered,
|
|
114
|
+
ModalScrollable,
|
|
115
|
+
} from './ModalTypes';
|
|
116
|
+
export type { ModalTypeProps } from './ModalTypes';
|
|
117
|
+
|
|
118
|
+
// ============================================
|
|
119
|
+
// 5. NAVIGATION COMPONENTS (8 components)
|
|
120
|
+
// ============================================
|
|
121
|
+
export {
|
|
122
|
+
NavHorizontal,
|
|
123
|
+
NavVertical,
|
|
124
|
+
NavTabs,
|
|
125
|
+
NavPills,
|
|
126
|
+
NavBreadcrumbs,
|
|
127
|
+
NavSteps,
|
|
128
|
+
NavTree,
|
|
129
|
+
NavMegamenu,
|
|
130
|
+
} from './NavigationComponents';
|
|
131
|
+
export type { NavigationProps, NavItem } from './NavigationComponents';
|
|
132
|
+
|
|
133
|
+
// ============================================
|
|
134
|
+
// 6. DATA DISPLAY COMPONENTS (5 components)
|
|
135
|
+
// ============================================
|
|
136
|
+
export {
|
|
137
|
+
TableBasic,
|
|
138
|
+
TableSortable,
|
|
139
|
+
TableFilterable,
|
|
140
|
+
TableExpandable,
|
|
141
|
+
TableCompact,
|
|
142
|
+
} from './DataDisplayComponents';
|
|
143
|
+
export type { DataDisplayProps, TableColumn, TableData } from './DataDisplayComponents';
|
|
144
|
+
|
|
145
|
+
// ============================================
|
|
146
|
+
// 7. LAYOUT & GRID COMPONENTS (10 components)
|
|
147
|
+
// ============================================
|
|
148
|
+
export {
|
|
149
|
+
GridAuto,
|
|
150
|
+
GridResponsive,
|
|
151
|
+
GridMasonry,
|
|
152
|
+
GridFixedCol,
|
|
153
|
+
GridDynamic,
|
|
154
|
+
GridNested,
|
|
155
|
+
GridAligned,
|
|
156
|
+
Container,
|
|
157
|
+
Flex,
|
|
158
|
+
Stack,
|
|
159
|
+
AspectRatio,
|
|
160
|
+
} from './LayoutComponents';
|
|
161
|
+
export type { GridProps } from './LayoutComponents';
|
|
162
|
+
|
|
163
|
+
// ============================================
|
|
164
|
+
// 8. TYPOGRAPHY COMPONENTS (9 components)
|
|
165
|
+
// ============================================
|
|
166
|
+
export {
|
|
167
|
+
Heading,
|
|
168
|
+
Paragraph,
|
|
169
|
+
Quote,
|
|
170
|
+
Code,
|
|
171
|
+
Label,
|
|
172
|
+
Caption,
|
|
173
|
+
Badge as BadgeTypography,
|
|
174
|
+
Text,
|
|
175
|
+
Truncated,
|
|
176
|
+
} from './TypographyComponents';
|
|
177
|
+
export type { TypographyProps } from './TypographyComponents';
|
|
178
|
+
|
|
179
|
+
// ============================================
|
|
180
|
+
// 9. LOADING & FEEDBACK COMPONENTS (13 components)
|
|
181
|
+
// ============================================
|
|
182
|
+
export {
|
|
183
|
+
SpinnerDots,
|
|
184
|
+
SpinnerRing,
|
|
185
|
+
SpinnerBar,
|
|
186
|
+
SpinnerBounce,
|
|
187
|
+
SpinnerPulse,
|
|
188
|
+
SkeletonText,
|
|
189
|
+
SkeletonCard,
|
|
190
|
+
SkeletonImage,
|
|
191
|
+
SkeletonTable,
|
|
192
|
+
ProgressLinear,
|
|
193
|
+
ProgressCircular,
|
|
194
|
+
ProgressStepped,
|
|
195
|
+
Overlay,
|
|
196
|
+
} from './LoadingFeedbackComponents';
|
|
197
|
+
export type { LoadingProps } from './LoadingFeedbackComponents';
|
|
198
|
+
|
|
199
|
+
// ============================================
|
|
200
|
+
// 10. UTILITY COMPONENTS (11 components)
|
|
201
|
+
// ============================================
|
|
202
|
+
export {
|
|
203
|
+
Tooltip,
|
|
204
|
+
Popover,
|
|
205
|
+
ContextMenu,
|
|
206
|
+
Notification,
|
|
207
|
+
Badge as BadgeUtility,
|
|
208
|
+
Pill,
|
|
209
|
+
Tag as TagUtility,
|
|
210
|
+
Chip as ChipUtility,
|
|
211
|
+
Counter,
|
|
212
|
+
Flag,
|
|
213
|
+
} from './UtilityComponents';
|
|
214
|
+
export type { UtilityComponentProps } from './UtilityComponents';
|
|
215
|
+
|
|
216
|
+
// ============================================
|
|
217
|
+
// 11. ADVANCED COMPONENTS (7 components)
|
|
218
|
+
// ============================================
|
|
219
|
+
export {
|
|
220
|
+
FormBuilder,
|
|
221
|
+
TableBuilder,
|
|
222
|
+
Dashboard,
|
|
223
|
+
Wizard,
|
|
224
|
+
KanbanBoard,
|
|
225
|
+
Timeline as TimelineAdvanced,
|
|
226
|
+
OrgChart,
|
|
227
|
+
} from './AdvancedComponents';
|
|
228
|
+
export type { AdvancedComponentProps } from './AdvancedComponents';
|
|
229
|
+
|
|
230
|
+
export { Tooltip } from './Tooltip';
|
|
231
|
+
export type { TooltipProps } from './Tooltip';
|
|
232
|
+
|
|
233
|
+
export { Avatar } from './Avatar';
|
|
234
|
+
export type { AvatarProps } from './Avatar';
|
|
235
|
+
|
|
236
|
+
export { Rating } from './Rating';
|
|
237
|
+
export type { RatingProps } from './Rating';
|
|
238
|
+
|
|
239
|
+
export { Toggle } from './Toggle';
|
|
240
|
+
export type { ToggleProps } from './Toggle';
|
|
241
|
+
|
|
242
|
+
export { Pagination } from './Pagination';
|
|
243
|
+
export type { PaginationProps } from './Pagination';
|
|
244
|
+
|
|
245
|
+
export { Breadcrumb } from './Breadcrumb';
|
|
246
|
+
export type { BreadcrumbProps } from './Breadcrumb';
|
|
247
|
+
|
|
248
|
+
export { Accordion } from './Accordion';
|
|
249
|
+
export type { AccordionProps } from './Accordion';
|
|
250
|
+
|
|
251
|
+
export { Divider } from './Divider';
|
|
252
|
+
export type { DividerProps } from './Divider';
|
|
253
|
+
|
|
254
|
+
export { Skeleton } from './Skeleton';
|
|
255
|
+
export type { SkeletonProps } from './Skeleton';
|
|
256
|
+
|
|
257
|
+
// Data Table & Timeline
|
|
258
|
+
export { Table } from './Table';
|
|
259
|
+
export type { TableProps, TableColumn } from './Table';
|
|
260
|
+
|
|
261
|
+
export { Timeline, TimelineItem } from './Timeline';
|
|
262
|
+
export type { TimelineProps, TimelineItemProps } from './Timeline';
|
|
263
|
+
|
|
264
|
+
// Notifications
|
|
265
|
+
export { Toast, ToastProvider, useToast, ToastContext } from './Toast';
|
|
266
|
+
export type { ToastProps, ToastContextType } from './Toast';
|
|
267
|
+
|
|
268
|
+
// Popover & Menu
|
|
269
|
+
export { Popover } from './Popover';
|
|
270
|
+
export type { PopoverProps } from './Popover';
|
|
271
|
+
|
|
272
|
+
export { Menu, MenuItem } from './Menu';
|
|
273
|
+
export type { MenuProps, MenuItemProps } from './Menu';
|
|
274
|
+
|
|
275
|
+
// Layout
|
|
276
|
+
export { Sidebar, SidebarItem } from './Sidebar';
|
|
277
|
+
export type { SidebarProps, SidebarItemProps } from './Sidebar';
|
|
278
|
+
|
|
279
|
+
export { Stack } from './Stack';
|
|
280
|
+
export type { StackProps } from './Stack';
|
|
281
|
+
|
|
282
|
+
export { Drawer } from './Drawer';
|
|
283
|
+
export type { DrawerProps } from './Drawer';
|
|
284
|
+
|
|
285
|
+
// Forms
|
|
286
|
+
export { Form } from './Form';
|
|
287
|
+
export type { FormProps } from './Form';
|
|
288
|
+
|
|
289
|
+
export { FormGroup } from './FormGroup';
|
|
290
|
+
export type { FormGroupProps } from './FormGroup';
|
|
291
|
+
|
|
292
|
+
export { Stepper } from './Stepper';
|
|
293
|
+
export type { StepperProps, StepProps } from './Stepper';
|
|
294
|
+
|
|
295
|
+
// UI Elements
|
|
296
|
+
export { Chip } from './Chip';
|
|
297
|
+
export type { ChipProps } from './Chip';
|
|
298
|
+
|
|
299
|
+
export { Tag } from './Tag';
|
|
300
|
+
export type { TagProps } from './Tag';
|
|
301
|
+
|
|
302
|
+
// Media
|
|
303
|
+
export { Image } from './Image';
|
|
304
|
+
export type { ImageProps } from './Image';
|
|
305
|
+
|
|
306
|
+
export { Video } from './Video';
|
|
307
|
+
export type { VideoProps } from './Video';
|
|
308
|
+
|
|
309
|
+
// Navigation
|
|
310
|
+
export { Link } from './Link';
|
|
311
|
+
export type { LinkProps } from './Link';
|