@aspect-ops/exon-ui 0.0.3 → 0.1.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 +793 -43
- package/dist/components/Accordion/Accordion.svelte +79 -0
- package/dist/components/Accordion/Accordion.svelte.d.ts +10 -0
- package/dist/components/Accordion/AccordionItem.svelte +198 -0
- package/dist/components/Accordion/AccordionItem.svelte.d.ts +10 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Accordion/index.js +2 -0
- package/dist/components/Carousel/Carousel.svelte +454 -0
- package/dist/components/Carousel/Carousel.svelte.d.ts +14 -0
- package/dist/components/Carousel/CarouselSlide.svelte +22 -0
- package/dist/components/Carousel/CarouselSlide.svelte.d.ts +7 -0
- package/dist/components/Carousel/index.d.ts +2 -0
- package/dist/components/Carousel/index.js +2 -0
- package/dist/components/Chip/Chip.svelte +461 -0
- package/dist/components/Chip/Chip.svelte.d.ts +17 -0
- package/dist/components/Chip/ChipGroup.svelte +76 -0
- package/dist/components/Chip/ChipGroup.svelte.d.ts +9 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/components/Chip/index.js +2 -0
- package/dist/components/DatePicker/DatePicker.svelte +746 -0
- package/dist/components/DatePicker/DatePicker.svelte.d.ts +19 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.js +1 -0
- package/dist/components/FileUpload/FileUpload.svelte +484 -0
- package/dist/components/FileUpload/FileUpload.svelte.d.ts +16 -0
- package/dist/components/FileUpload/index.d.ts +1 -0
- package/dist/components/FileUpload/index.js +1 -0
- package/dist/components/Image/Image.svelte +223 -0
- package/dist/components/Image/Image.svelte.d.ts +19 -0
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image/index.js +1 -0
- package/dist/components/OTPInput/OTPInput.svelte +312 -0
- package/dist/components/OTPInput/OTPInput.svelte.d.ts +57 -0
- package/dist/components/OTPInput/index.d.ts +1 -0
- package/dist/components/OTPInput/index.js +1 -0
- package/dist/components/Rating/Rating.svelte +316 -0
- package/dist/components/Rating/Rating.svelte.d.ts +16 -0
- package/dist/components/Rating/index.d.ts +1 -0
- package/dist/components/Rating/index.js +1 -0
- package/dist/components/SearchInput/SearchInput.svelte +480 -0
- package/dist/components/SearchInput/SearchInput.svelte.d.ts +22 -0
- package/dist/components/SearchInput/index.d.ts +1 -0
- package/dist/components/SearchInput/index.js +1 -0
- package/dist/components/Slider/Slider.svelte +324 -0
- package/dist/components/Slider/Slider.svelte.d.ts +14 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Slider/index.js +1 -0
- package/dist/components/Stepper/Stepper.svelte +100 -0
- package/dist/components/Stepper/Stepper.svelte.d.ts +11 -0
- package/dist/components/Stepper/StepperStep.svelte +391 -0
- package/dist/components/Stepper/StepperStep.svelte.d.ts +13 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/index.js +2 -0
- package/dist/components/TimePicker/TimePicker.svelte +803 -0
- package/dist/components/TimePicker/TimePicker.svelte.d.ts +17 -0
- package/dist/components/TimePicker/index.d.ts +1 -0
- package/dist/components/TimePicker/index.js +1 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +9 -0
- package/dist/types/data-display.d.ts +68 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/input.d.ts +67 -0
- package/dist/types/input.js +2 -0
- package/dist/types/navigation.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { InputSize } from '../../types/index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
value?: string;
|
|
4
|
+
format?: '12h' | '24h';
|
|
5
|
+
minuteStep?: number;
|
|
6
|
+
min?: string;
|
|
7
|
+
max?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
size?: InputSize;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
class?: string;
|
|
13
|
+
onchange?: (value: string) => void;
|
|
14
|
+
}
|
|
15
|
+
declare const TimePicker: import("svelte").Component<Props, {}, "value">;
|
|
16
|
+
type TimePicker = ReturnType<typeof TimePicker>;
|
|
17
|
+
export default TimePicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TimePicker } from './TimePicker.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TimePicker } from './TimePicker.svelte';
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,10 @@ export { default as CheckboxGroup } from './components/Checkbox/CheckboxGroup.sv
|
|
|
12
12
|
export { default as Radio } from './components/Radio/Radio.svelte';
|
|
13
13
|
export { default as RadioGroup } from './components/Radio/RadioGroup.svelte';
|
|
14
14
|
export { default as Switch } from './components/Switch/Switch.svelte';
|
|
15
|
+
export { SearchInput } from './components/SearchInput/index.js';
|
|
16
|
+
export { DatePicker } from './components/DatePicker/index.js';
|
|
17
|
+
export { FileUpload } from './components/FileUpload/index.js';
|
|
18
|
+
export { OTPInput } from './components/OTPInput/index.js';
|
|
15
19
|
export { default as Tabs } from './components/Tabs/Tabs.svelte';
|
|
16
20
|
export { default as TabList } from './components/Tabs/TabList.svelte';
|
|
17
21
|
export { default as TabTrigger } from './components/Tabs/TabTrigger.svelte';
|
|
@@ -34,6 +38,7 @@ export { default as NavItem } from './components/Navbar/NavItem.svelte';
|
|
|
34
38
|
export { default as Sidebar } from './components/Sidebar/Sidebar.svelte';
|
|
35
39
|
export { default as SidebarItem } from './components/Sidebar/SidebarItem.svelte';
|
|
36
40
|
export { default as SidebarGroup } from './components/Sidebar/SidebarGroup.svelte';
|
|
41
|
+
export { Stepper, StepperStep } from './components/Stepper/index.js';
|
|
37
42
|
export { default as Alert } from './components/Alert/Alert.svelte';
|
|
38
43
|
export { Toast, ToastContainer, toast } from './components/Toast/index.js';
|
|
39
44
|
export { Modal, ModalHeader, ModalBody, ModalFooter } from './components/Modal/index.js';
|
|
@@ -47,6 +52,10 @@ export { Tag } from './components/Tag/index.js';
|
|
|
47
52
|
export { EmptyState } from './components/EmptyState/index.js';
|
|
48
53
|
export { List, ListItem } from './components/List/index.js';
|
|
49
54
|
export { Table, TableHead, TableHeader, TableBody, TableRow, TableCell } from './components/Table/index.js';
|
|
55
|
+
export { Accordion, AccordionItem } from './components/Accordion/index.js';
|
|
56
|
+
export { Slider } from './components/Slider/index.js';
|
|
57
|
+
export { Carousel, CarouselSlide } from './components/Carousel/index.js';
|
|
58
|
+
export { Image } from './components/Image/index.js';
|
|
50
59
|
export { Container } from './components/Container/index.js';
|
|
51
60
|
export { Grid } from './components/Grid/index.js';
|
|
52
61
|
export { GridItem } from './components/Grid/index.js';
|
|
@@ -62,4 +71,4 @@ export { ActionSheet, ActionSheetItem } from './components/ActionSheet/index.js'
|
|
|
62
71
|
export { PullToRefresh } from './components/PullToRefresh/index.js';
|
|
63
72
|
export { SwipeActions, SwipeAction } from './components/SwipeActions/index.js';
|
|
64
73
|
export { FAB, FABGroup } from './components/FAB/index.js';
|
|
65
|
-
export type { ButtonProps, ButtonVariant, ButtonSize, TypographyProps, TypographyVariant, IconProps, IconSize, BadgeProps, BadgeVariant, LinkProps, InputSize, TextInputType, FormFieldProps, TextInputProps, TextareaProps, SelectOption, SelectProps, CheckboxProps, RadioProps, RadioGroupProps, SwitchProps, TabsOrientation, TabsProps, TabListProps, TabTriggerProps, TabContentProps, MenuProps, MenuTriggerProps, MenuContentProps, MenuItemProps, MenuSeparatorProps, MenuSubProps, MenuSubTriggerProps, MenuSubContentProps, BreadcrumbItemData, BreadcrumbsProps, BreadcrumbItemProps, BottomNavItemData, BottomNavProps, BottomNavItemProps, NavItemProps, NavbarProps, SidebarItemData, SidebarProps, SidebarItemProps, SidebarGroupProps, AlertVariant, AlertProps, ToastVariant, ToastPosition, ToastData, ToastProps, ToastContainerProps, ModalSize, ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps, ProgressSize, ProgressBarProps, ProgressCircleProps, SpinnerProps, TooltipSide, TooltipProps, PopoverSide, PopoverProps, PopoverTriggerProps, PopoverContentProps, SkeletonVariant, SkeletonProps, CardVariant, CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, AvatarSize, AvatarShape, AvatarProps, AvatarGroupProps, TagVariant, TagSize, TagProps, EmptyStateSize, EmptyStateProps, ListProps, ListItemProps, TableProps, TableHeadProps, TableHeaderAlign, TableHeaderSortDirection, TableHeaderProps, TableBodyProps, TableRowProps, TableCellAlign, TableCellProps, ContainerSize, ContainerProps, GridAlign, GridJustify, SpacingToken, GridProps, GridItemProps, StackDirection, StackProps, DividerOrientation, DividerProps, SpacerSize, SpacerProps, AspectRatioPreset, AspectRatioProps, CenterProps, BoxProps, SafeAreaEdge, SafeAreaProps, BottomSheetSnapPoint, BottomSheetProps, BottomSheetHeaderProps, BottomSheetBodyProps, ActionSheetAction, ActionSheetProps, ActionSheetItemProps, PullToRefreshProps, SwipeActionSide, SwipeActionData, SwipeActionsProps, SwipeActionProps, FABSize, FABPosition, FABProps, FABAction, FABGroupProps } from './types/index.js';
|
|
74
|
+
export type { ButtonProps, ButtonVariant, ButtonSize, TypographyProps, TypographyVariant, IconProps, IconSize, BadgeProps, BadgeVariant, LinkProps, InputSize, TextInputType, FormFieldProps, TextInputProps, TextareaProps, SelectOption, SelectProps, CheckboxProps, RadioProps, RadioGroupProps, SwitchProps, SearchInputProps, DatePickerProps, FileUploadProps, OTPInputProps, TimeFormat, TimePickerProps, RatingProps, TabsOrientation, TabsProps, TabListProps, TabTriggerProps, TabContentProps, MenuProps, MenuTriggerProps, MenuContentProps, MenuItemProps, MenuSeparatorProps, MenuSubProps, MenuSubTriggerProps, MenuSubContentProps, BreadcrumbItemData, BreadcrumbsProps, BreadcrumbItemProps, BottomNavItemData, BottomNavProps, BottomNavItemProps, NavItemProps, NavbarProps, SidebarItemData, SidebarProps, SidebarItemProps, SidebarGroupProps, StepperOrientation, StepperProps, StepperStepProps, AlertVariant, AlertProps, ToastVariant, ToastPosition, ToastData, ToastProps, ToastContainerProps, ModalSize, ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps, ProgressSize, ProgressBarProps, ProgressCircleProps, SpinnerProps, TooltipSide, TooltipProps, PopoverSide, PopoverProps, PopoverTriggerProps, PopoverContentProps, SkeletonVariant, SkeletonProps, CardVariant, CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, AvatarSize, AvatarShape, AvatarProps, AvatarGroupProps, TagVariant, TagSize, TagProps, ChipVariant, ChipColor, ChipSize, ChipProps, ChipGroupProps, EmptyStateSize, EmptyStateProps, ListProps, ListItemProps, TableProps, TableHeadProps, TableHeaderAlign, TableHeaderSortDirection, TableHeaderProps, TableBodyProps, TableRowProps, TableCellAlign, TableCellProps, AccordionProps, AccordionItemProps, SliderProps, CarouselProps, CarouselSlideProps, ImageObjectFit, ImageRounded, ImageProps, ContainerSize, ContainerProps, GridAlign, GridJustify, SpacingToken, GridProps, GridItemProps, StackDirection, StackProps, DividerOrientation, DividerProps, SpacerSize, SpacerProps, AspectRatioPreset, AspectRatioProps, CenterProps, BoxProps, SafeAreaEdge, SafeAreaProps, BottomSheetSnapPoint, BottomSheetProps, BottomSheetHeaderProps, BottomSheetBodyProps, ActionSheetAction, ActionSheetProps, ActionSheetItemProps, PullToRefreshProps, SwipeActionSide, SwipeActionData, SwipeActionsProps, SwipeActionProps, FABSize, FABPosition, FABProps, FABAction, FABGroupProps } from './types/index.js';
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,10 @@ export { default as CheckboxGroup } from './components/Checkbox/CheckboxGroup.sv
|
|
|
16
16
|
export { default as Radio } from './components/Radio/Radio.svelte';
|
|
17
17
|
export { default as RadioGroup } from './components/Radio/RadioGroup.svelte';
|
|
18
18
|
export { default as Switch } from './components/Switch/Switch.svelte';
|
|
19
|
+
export { SearchInput } from './components/SearchInput/index.js';
|
|
20
|
+
export { DatePicker } from './components/DatePicker/index.js';
|
|
21
|
+
export { FileUpload } from './components/FileUpload/index.js';
|
|
22
|
+
export { OTPInput } from './components/OTPInput/index.js';
|
|
19
23
|
// Navigation Components
|
|
20
24
|
export { default as Tabs } from './components/Tabs/Tabs.svelte';
|
|
21
25
|
export { default as TabList } from './components/Tabs/TabList.svelte';
|
|
@@ -39,6 +43,7 @@ export { default as NavItem } from './components/Navbar/NavItem.svelte';
|
|
|
39
43
|
export { default as Sidebar } from './components/Sidebar/Sidebar.svelte';
|
|
40
44
|
export { default as SidebarItem } from './components/Sidebar/SidebarItem.svelte';
|
|
41
45
|
export { default as SidebarGroup } from './components/Sidebar/SidebarGroup.svelte';
|
|
46
|
+
export { Stepper, StepperStep } from './components/Stepper/index.js';
|
|
42
47
|
// Feedback Components
|
|
43
48
|
export { default as Alert } from './components/Alert/Alert.svelte';
|
|
44
49
|
export { Toast, ToastContainer, toast } from './components/Toast/index.js';
|
|
@@ -54,6 +59,10 @@ export { Tag } from './components/Tag/index.js';
|
|
|
54
59
|
export { EmptyState } from './components/EmptyState/index.js';
|
|
55
60
|
export { List, ListItem } from './components/List/index.js';
|
|
56
61
|
export { Table, TableHead, TableHeader, TableBody, TableRow, TableCell } from './components/Table/index.js';
|
|
62
|
+
export { Accordion, AccordionItem } from './components/Accordion/index.js';
|
|
63
|
+
export { Slider } from './components/Slider/index.js';
|
|
64
|
+
export { Carousel, CarouselSlide } from './components/Carousel/index.js';
|
|
65
|
+
export { Image } from './components/Image/index.js';
|
|
57
66
|
// Layout Components
|
|
58
67
|
export { Container } from './components/Container/index.js';
|
|
59
68
|
export { Grid } from './components/Grid/index.js';
|
|
@@ -55,6 +55,25 @@ export interface ListItemProps {
|
|
|
55
55
|
disabled?: boolean;
|
|
56
56
|
class?: string;
|
|
57
57
|
}
|
|
58
|
+
export type ChipVariant = 'filled' | 'outlined' | 'soft';
|
|
59
|
+
export type ChipColor = 'default' | 'primary' | 'success' | 'warning' | 'error';
|
|
60
|
+
export type ChipSize = 'sm' | 'md' | 'lg';
|
|
61
|
+
export interface ChipProps {
|
|
62
|
+
variant?: ChipVariant;
|
|
63
|
+
color?: ChipColor;
|
|
64
|
+
size?: ChipSize;
|
|
65
|
+
removable?: boolean;
|
|
66
|
+
selected?: boolean;
|
|
67
|
+
disabled?: boolean;
|
|
68
|
+
onclick?: () => void;
|
|
69
|
+
onremove?: () => void;
|
|
70
|
+
class?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface ChipGroupProps {
|
|
73
|
+
value?: string | string[];
|
|
74
|
+
multiple?: boolean;
|
|
75
|
+
class?: string;
|
|
76
|
+
}
|
|
58
77
|
export interface TableProps {
|
|
59
78
|
striped?: boolean;
|
|
60
79
|
bordered?: boolean;
|
|
@@ -91,3 +110,52 @@ export interface TableCellProps {
|
|
|
91
110
|
nowrap?: boolean;
|
|
92
111
|
class?: string;
|
|
93
112
|
}
|
|
113
|
+
export interface AccordionProps {
|
|
114
|
+
value?: string | string[];
|
|
115
|
+
multiple?: boolean;
|
|
116
|
+
disabled?: boolean;
|
|
117
|
+
class?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface AccordionItemProps {
|
|
120
|
+
value: string;
|
|
121
|
+
disabled?: boolean;
|
|
122
|
+
class?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface SliderProps {
|
|
125
|
+
value?: number;
|
|
126
|
+
min?: number;
|
|
127
|
+
max?: number;
|
|
128
|
+
step?: number;
|
|
129
|
+
disabled?: boolean;
|
|
130
|
+
showValue?: boolean;
|
|
131
|
+
showTicks?: boolean;
|
|
132
|
+
class?: string;
|
|
133
|
+
}
|
|
134
|
+
export interface CarouselProps {
|
|
135
|
+
activeIndex?: number;
|
|
136
|
+
autoplay?: boolean;
|
|
137
|
+
autoplayInterval?: number;
|
|
138
|
+
loop?: boolean;
|
|
139
|
+
showIndicators?: boolean;
|
|
140
|
+
showArrows?: boolean;
|
|
141
|
+
class?: string;
|
|
142
|
+
}
|
|
143
|
+
export interface CarouselSlideProps {
|
|
144
|
+
class?: string;
|
|
145
|
+
}
|
|
146
|
+
export type ImageObjectFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
147
|
+
export type ImageRounded = boolean | 'sm' | 'md' | 'lg' | 'full';
|
|
148
|
+
export interface ImageProps {
|
|
149
|
+
src: string;
|
|
150
|
+
alt: string;
|
|
151
|
+
width?: number | string;
|
|
152
|
+
height?: number | string;
|
|
153
|
+
loading?: 'lazy' | 'eager';
|
|
154
|
+
objectFit?: ImageObjectFit;
|
|
155
|
+
objectPosition?: string;
|
|
156
|
+
placeholder?: string;
|
|
157
|
+
fallback?: string;
|
|
158
|
+
rounded?: ImageRounded;
|
|
159
|
+
aspectRatio?: string;
|
|
160
|
+
class?: string;
|
|
161
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -126,8 +126,9 @@ export interface SwitchProps {
|
|
|
126
126
|
disabled?: boolean;
|
|
127
127
|
class?: string;
|
|
128
128
|
}
|
|
129
|
-
export type { TabsOrientation, TabsProps, TabListProps, TabTriggerProps, TabContentProps, MenuProps, MenuTriggerProps, MenuContentProps, MenuItemProps, MenuSeparatorProps, MenuSubProps, MenuSubTriggerProps, MenuSubContentProps, BreadcrumbItemData, BreadcrumbsProps, BreadcrumbItemProps, BottomNavItemData, BottomNavProps, BottomNavItemProps, NavItemProps, NavbarProps, SidebarItemData, SidebarProps, SidebarItemProps, SidebarGroupProps } from './navigation.js';
|
|
129
|
+
export type { TabsOrientation, TabsProps, TabListProps, TabTriggerProps, TabContentProps, MenuProps, MenuTriggerProps, MenuContentProps, MenuItemProps, MenuSeparatorProps, MenuSubProps, MenuSubTriggerProps, MenuSubContentProps, BreadcrumbItemData, BreadcrumbsProps, BreadcrumbItemProps, BottomNavItemData, BottomNavProps, BottomNavItemProps, NavItemProps, NavbarProps, SidebarItemData, SidebarProps, SidebarItemProps, SidebarGroupProps, StepperOrientation, StepperProps, StepperStepProps } from './navigation.js';
|
|
130
130
|
export type { AlertVariant, AlertProps, ToastVariant, ToastPosition, ToastData, ToastProps, ToastContainerProps, ModalSize, ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps, ProgressSize, ProgressBarProps, ProgressCircleProps, SpinnerProps, TooltipSide, TooltipProps, PopoverSide, PopoverProps, PopoverTriggerProps, PopoverContentProps, SkeletonVariant, SkeletonProps } from './feedback.js';
|
|
131
|
-
export type { CardVariant, CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, AvatarSize, AvatarShape, AvatarProps, AvatarGroupProps, TagVariant, TagSize, TagProps, EmptyStateSize, EmptyStateProps, ListProps, ListItemProps, TableProps, TableHeadProps, TableHeaderAlign, TableHeaderSortDirection, TableHeaderProps, TableBodyProps, TableRowProps, TableCellAlign, TableCellProps } from './data-display.js';
|
|
131
|
+
export type { CardVariant, CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, AvatarSize, AvatarShape, AvatarProps, AvatarGroupProps, TagVariant, TagSize, TagProps, ChipVariant, ChipColor, ChipSize, ChipProps, ChipGroupProps, EmptyStateSize, EmptyStateProps, ListProps, ListItemProps, TableProps, TableHeadProps, TableHeaderAlign, TableHeaderSortDirection, TableHeaderProps, TableBodyProps, TableRowProps, TableCellAlign, TableCellProps, AccordionProps, AccordionItemProps, SliderProps, CarouselProps, CarouselSlideProps, ImageObjectFit, ImageRounded, ImageProps } from './data-display.js';
|
|
132
132
|
export type { ContainerSize, ContainerProps, GridAlign, GridJustify, SpacingToken, GridProps, GridItemProps, StackDirection, StackProps, DividerOrientation, DividerProps, SpacerSize, SpacerProps, AspectRatioPreset, AspectRatioProps, CenterProps, BoxProps } from './layout.js';
|
|
133
133
|
export type { SafeAreaEdge, SafeAreaProps, BottomSheetSnapPoint, BottomSheetProps, BottomSheetHeaderProps, BottomSheetBodyProps, ActionSheetAction, ActionSheetProps, ActionSheetItemProps, PullToRefreshProps, SwipeActionSide, SwipeActionData, SwipeActionsProps, SwipeActionProps, FABSize, FABPosition, FABProps, FABAction, FABGroupProps } from './mobile.js';
|
|
134
|
+
export type { SearchInputProps, DatePickerProps, FileUploadProps, OTPInputProps, TimeFormat, TimePickerProps, RatingProps } from './input.js';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export interface SearchInputProps {
|
|
2
|
+
value?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
suggestions?: string[];
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
maxSuggestions?: number;
|
|
9
|
+
class?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface DatePickerProps {
|
|
12
|
+
value?: Date | null;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
min?: Date | null;
|
|
15
|
+
max?: Date | null;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
error?: boolean;
|
|
19
|
+
size?: 'sm' | 'md' | 'lg';
|
|
20
|
+
format?: string;
|
|
21
|
+
locale?: string;
|
|
22
|
+
class?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface FileUploadProps {
|
|
25
|
+
files?: File[];
|
|
26
|
+
accept?: string;
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
maxSize?: number;
|
|
29
|
+
maxFiles?: number;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
showPreview?: boolean;
|
|
32
|
+
class?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface OTPInputProps {
|
|
35
|
+
value?: string;
|
|
36
|
+
length?: number;
|
|
37
|
+
type?: 'numeric' | 'alphanumeric';
|
|
38
|
+
masked?: boolean;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
error?: boolean;
|
|
41
|
+
size?: 'sm' | 'md' | 'lg';
|
|
42
|
+
autoFocus?: boolean;
|
|
43
|
+
class?: string;
|
|
44
|
+
}
|
|
45
|
+
export type TimeFormat = '12h' | '24h';
|
|
46
|
+
export interface TimePickerProps {
|
|
47
|
+
value?: string;
|
|
48
|
+
format?: TimeFormat;
|
|
49
|
+
minuteStep?: number;
|
|
50
|
+
min?: string;
|
|
51
|
+
max?: string;
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
error?: boolean;
|
|
54
|
+
size?: 'sm' | 'md' | 'lg';
|
|
55
|
+
placeholder?: string;
|
|
56
|
+
class?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface RatingProps {
|
|
59
|
+
value?: number;
|
|
60
|
+
max?: number;
|
|
61
|
+
allowHalf?: boolean;
|
|
62
|
+
readonly?: boolean;
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
size?: 'sm' | 'md' | 'lg';
|
|
65
|
+
showValue?: boolean;
|
|
66
|
+
class?: string;
|
|
67
|
+
}
|
|
@@ -116,3 +116,18 @@ export interface SidebarGroupProps {
|
|
|
116
116
|
defaultCollapsed?: boolean;
|
|
117
117
|
class?: string;
|
|
118
118
|
}
|
|
119
|
+
export type StepperOrientation = 'horizontal' | 'vertical';
|
|
120
|
+
export interface StepperProps {
|
|
121
|
+
activeStep?: number;
|
|
122
|
+
orientation?: StepperOrientation;
|
|
123
|
+
linear?: boolean;
|
|
124
|
+
class?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface StepperStepProps {
|
|
127
|
+
label: string;
|
|
128
|
+
description?: string;
|
|
129
|
+
optional?: boolean;
|
|
130
|
+
error?: boolean;
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
class?: string;
|
|
133
|
+
}
|