@vlrc-fe/components 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ConfirmModal.d.ts +16 -0
- package/dist/ConfirmModal.d.ts.map +1 -0
- package/dist/DataTable/DataTable.d.ts +7 -0
- package/dist/DataTable/DataTable.d.ts.map +1 -0
- package/dist/DataTable/components/DataTablePagination.d.ts +9 -0
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -0
- package/dist/DataTable/components/DataTableRowActions.d.ts +6 -0
- package/dist/DataTable/components/DataTableRowActions.d.ts.map +1 -0
- package/dist/DataTable/components/DataTableTable.d.ts +11 -0
- package/dist/DataTable/components/DataTableTable.d.ts.map +1 -0
- package/dist/DataTable/components/DataTableToolbar.d.ts +9 -0
- package/dist/DataTable/components/DataTableToolbar.d.ts.map +1 -0
- package/dist/DataTable/components/DataTableViewOptions.d.ts +6 -0
- package/dist/DataTable/components/DataTableViewOptions.d.ts.map +1 -0
- package/dist/DataTable/index.d.ts +5 -0
- package/dist/DataTable/index.d.ts.map +1 -0
- package/dist/DataTable/render/createColumns.d.ts +6 -0
- package/dist/DataTable/render/createColumns.d.ts.map +1 -0
- package/dist/DataTable/render/defaults.d.ts +10 -0
- package/dist/DataTable/render/defaults.d.ts.map +1 -0
- package/dist/DataTable/types.d.ts +71 -0
- package/dist/DataTable/types.d.ts.map +1 -0
- package/dist/Form/Form.d.ts +14 -0
- package/dist/Form/Form.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/FormDatePicker.d.ts +5 -0
- package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +21 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +23 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/TimeInput.d.ts +11 -0
- package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/TimePicker.d.ts +10 -0
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/index.d.ts +4 -0
- package/dist/Form/FormDatePicker/index.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/types.d.ts +58 -0
- package/dist/Form/FormDatePicker/types.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/useFormDatePicker.d.ts +18 -0
- package/dist/Form/FormDatePicker/useFormDatePicker.d.ts.map +1 -0
- package/dist/Form/FormFileUpload/FileUpload.d.ts +115 -0
- package/dist/Form/FormFileUpload/FileUpload.d.ts.map +1 -0
- package/dist/Form/FormFileUpload/index.d.ts +7 -0
- package/dist/Form/FormFileUpload/index.d.ts.map +1 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts +5 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts.map +1 -0
- package/dist/Form/FormMultiSelect/index.d.ts +2 -0
- package/dist/Form/FormMultiSelect/index.d.ts.map +1 -0
- package/dist/Form/FormNumberInput/FormNumberInput.d.ts +4 -0
- package/dist/Form/FormNumberInput/FormNumberInput.d.ts.map +1 -0
- package/dist/Form/FormNumberInput/StepperControls.d.ts +9 -0
- package/dist/Form/FormNumberInput/StepperControls.d.ts.map +1 -0
- package/dist/Form/FormNumberInput/index.d.ts +4 -0
- package/dist/Form/FormNumberInput/index.d.ts.map +1 -0
- package/dist/Form/FormNumberInput/types.d.ts +20 -0
- package/dist/Form/FormNumberInput/types.d.ts.map +1 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +34 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -0
- package/dist/Form/FormRadioGroup/FormRadio.d.ts +4 -0
- package/dist/Form/FormRadioGroup/FormRadio.d.ts.map +1 -0
- package/dist/Form/FormRadioGroup/index.d.ts +4 -0
- package/dist/Form/FormRadioGroup/index.d.ts.map +1 -0
- package/dist/Form/FormRadioGroup/types.d.ts +25 -0
- package/dist/Form/FormRadioGroup/types.d.ts.map +1 -0
- package/dist/Form/FormRadioGroup/useFormRadio.d.ts +12 -0
- package/dist/Form/FormRadioGroup/useFormRadio.d.ts.map +1 -0
- package/dist/Form/FormSelect/FormSelect.d.ts +7 -0
- package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -0
- package/dist/Form/FormSelect/index.d.ts +4 -0
- package/dist/Form/FormSelect/index.d.ts.map +1 -0
- package/dist/Form/FormSelect/types.d.ts +43 -0
- package/dist/Form/FormSelect/types.d.ts.map +1 -0
- package/dist/Form/FormSelect/useFormSelect.d.ts +16 -0
- package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -0
- package/dist/Form/index.d.ts +8 -0
- package/dist/Form/index.d.ts.map +1 -0
- package/dist/Icons/Icons.d.ts +114 -0
- package/dist/Icons/Icons.d.ts.map +1 -0
- package/dist/Icons/index.d.ts +2 -0
- package/dist/Icons/index.d.ts.map +1 -0
- package/dist/Modal.d.ts +16 -0
- package/dist/Modal.d.ts.map +1 -0
- package/dist/MultiSelect/MultiSelect.d.ts +31 -0
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/MultiSelect/index.d.ts +2 -0
- package/dist/MultiSelect/index.d.ts.map +1 -0
- package/dist/MultiSelect/renderers.d.ts +45 -0
- package/dist/MultiSelect/renderers.d.ts.map +1 -0
- package/dist/MultiSelect/type.d.ts +228 -0
- package/dist/MultiSelect/type.d.ts.map +1 -0
- package/dist/MultiSelect/useMultiSelect.d.ts +52 -0
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -0
- package/dist/MultiSelect/utils.d.ts +25 -0
- package/dist/MultiSelect/utils.d.ts.map +1 -0
- package/dist/Select/BaseSelect.d.ts +5 -0
- package/dist/Select/BaseSelect.d.ts.map +1 -0
- package/dist/Select/MultiSelectTags.d.ts +13 -0
- package/dist/Select/MultiSelectTags.d.ts.map +1 -0
- package/dist/Select/index.d.ts +3 -0
- package/dist/Select/index.d.ts.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index41.js +90 -79
- package/dist/index42.cjs +1 -1
- package/dist/lazyLoad.d.ts +5 -0
- package/dist/lazyLoad.d.ts.map +1 -0
- package/dist/ui/accordion.d.ts +8 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/badge.d.ts +10 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/button.d.ts +11 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/calendar.d.ts +9 -0
- package/dist/ui/calendar.d.ts.map +1 -0
- package/dist/ui/card.d.ts +14 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/checkbox.d.ts +5 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/command.d.ts +19 -0
- package/dist/ui/command.d.ts.map +1 -0
- package/dist/ui/dialog.d.ts +16 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.d.ts +26 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/field.d.ts +26 -0
- package/dist/ui/field.d.ts.map +1 -0
- package/dist/ui/file-upload.d.ts +88 -0
- package/dist/ui/file-upload.d.ts.map +1 -0
- package/dist/ui/form.d.ts +25 -0
- package/dist/ui/form.d.ts.map +1 -0
- package/dist/ui/index.d.ts +27 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/input.d.ts +4 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/item.d.ts +24 -0
- package/dist/ui/item.d.ts.map +1 -0
- package/dist/ui/label.d.ts +5 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/popover.d.ts +8 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/progress.d.ts +7 -0
- package/dist/ui/progress.d.ts.map +1 -0
- package/dist/ui/radio-group.d.ts +6 -0
- package/dist/ui/radio-group.d.ts.map +1 -0
- package/dist/ui/scroll-area.d.ts +6 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/select.d.ts +16 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/separator.d.ts +5 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/sonner.d.ts +4 -0
- package/dist/ui/sonner.d.ts.map +1 -0
- package/dist/ui/spinner.d.ts +3 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/table.d.ts +11 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/textarea.d.ts +4 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/tooltip.d.ts +8 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
/**
|
|
4
|
+
* Animation types and configurations
|
|
5
|
+
*/
|
|
6
|
+
export interface AnimationConfig {
|
|
7
|
+
/** Badge animation type */
|
|
8
|
+
badgeAnimation?: 'bounce' | 'pulse' | 'wiggle' | 'fade' | 'slide' | 'none';
|
|
9
|
+
/** Popover animation type */
|
|
10
|
+
popoverAnimation?: 'scale' | 'slide' | 'fade' | 'flip' | 'none';
|
|
11
|
+
/** Option hover animation type */
|
|
12
|
+
optionHoverAnimation?: 'highlight' | 'scale' | 'glow' | 'none';
|
|
13
|
+
/** Animation duration in seconds */
|
|
14
|
+
duration?: number;
|
|
15
|
+
/** Animation delay in seconds */
|
|
16
|
+
delay?: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Variants for the multi-select component to handle different styles.
|
|
20
|
+
* Uses class-variance-authority (cva) to define different styles based on "variant" prop.
|
|
21
|
+
*/
|
|
22
|
+
export declare const multiSelectVariants: (props?: ({
|
|
23
|
+
variant?: "default" | "secondary" | "destructive" | "inverted" | null | undefined;
|
|
24
|
+
badgeAnimation?: "none" | "bounce" | "pulse" | "wiggle" | "fade" | "slide" | null | undefined;
|
|
25
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Option interface for MultiSelect component
|
|
28
|
+
*/
|
|
29
|
+
export interface MultiSelectOption {
|
|
30
|
+
/** The text to display for the option. */
|
|
31
|
+
label: string;
|
|
32
|
+
/** The unique value associated with the option. */
|
|
33
|
+
value: string;
|
|
34
|
+
/** Optional icon component to display alongside the option. */
|
|
35
|
+
icon?: React.ComponentType<{
|
|
36
|
+
className?: string;
|
|
37
|
+
}>;
|
|
38
|
+
/** Whether this option is disabled */
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/** Custom styling for the option */
|
|
41
|
+
style?: {
|
|
42
|
+
/** Custom badge color */
|
|
43
|
+
badgeColor?: string;
|
|
44
|
+
/** Custom icon color */
|
|
45
|
+
iconColor?: string;
|
|
46
|
+
/** Gradient background for badge */
|
|
47
|
+
gradient?: string;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Group interface for organizing options
|
|
52
|
+
*/
|
|
53
|
+
export interface MultiSelectGroup {
|
|
54
|
+
/** Group heading */
|
|
55
|
+
heading: string;
|
|
56
|
+
/** Options in this group */
|
|
57
|
+
options: MultiSelectOption[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Props for MultiSelect component
|
|
61
|
+
*/
|
|
62
|
+
export interface MultiSelectProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'animationConfig'>, VariantProps<typeof multiSelectVariants> {
|
|
63
|
+
/**
|
|
64
|
+
* An array of option objects or groups to be displayed in the multi-select component.
|
|
65
|
+
*/
|
|
66
|
+
options: MultiSelectOption[] | MultiSelectGroup[];
|
|
67
|
+
/**
|
|
68
|
+
* Callback function triggered when the selected values change.
|
|
69
|
+
* Receives an array of the new selected values.
|
|
70
|
+
*/
|
|
71
|
+
onValueChange: (value: string[]) => void;
|
|
72
|
+
/** The default selected values when the component mounts. */
|
|
73
|
+
defaultValue?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Placeholder text to be displayed when no values are selected.
|
|
76
|
+
* Optional, defaults to "Select options".
|
|
77
|
+
*/
|
|
78
|
+
placeholder?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Animation duration in seconds for the visual effects (e.g., bouncing badges).
|
|
81
|
+
* Optional, defaults to 0 (no animation).
|
|
82
|
+
*/
|
|
83
|
+
animation?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Advanced animation configuration for different component parts.
|
|
86
|
+
* Optional, allows fine-tuning of various animation effects.
|
|
87
|
+
*/
|
|
88
|
+
animationConfig?: AnimationConfig;
|
|
89
|
+
/**
|
|
90
|
+
* Maximum number of items to display. Extra selected items will be summarized.
|
|
91
|
+
* Optional, defaults to 3.
|
|
92
|
+
*/
|
|
93
|
+
maxCount?: number;
|
|
94
|
+
/**
|
|
95
|
+
* The modality of the popover. When set to true, interaction with outside elements
|
|
96
|
+
* will be disabled and only popover content will be visible to screen readers.
|
|
97
|
+
* Optional, defaults to false.
|
|
98
|
+
*/
|
|
99
|
+
modalPopover?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* If true, renders the multi-select component as a child of another component.
|
|
102
|
+
* Optional, defaults to false.
|
|
103
|
+
*/
|
|
104
|
+
asChild?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Additional class names to apply custom styles to the multi-select component.
|
|
107
|
+
* Optional, can be used to add custom styles.
|
|
108
|
+
*/
|
|
109
|
+
className?: string;
|
|
110
|
+
/**
|
|
111
|
+
* If true, disables the select all functionality.
|
|
112
|
+
* Optional, defaults to false.
|
|
113
|
+
*/
|
|
114
|
+
hideSelectAll?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* If true, shows search functionality in the popover.
|
|
117
|
+
* If false, hides the search input completely.
|
|
118
|
+
* Optional, defaults to true.
|
|
119
|
+
*/
|
|
120
|
+
searchable?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Custom empty state message when no options match search.
|
|
123
|
+
* Optional, defaults to "No results found."
|
|
124
|
+
*/
|
|
125
|
+
emptyIndicator?: ReactNode;
|
|
126
|
+
/**
|
|
127
|
+
* If true, allows the component to grow and shrink with its content.
|
|
128
|
+
* If false, uses fixed width behavior.
|
|
129
|
+
* Optional, defaults to false.
|
|
130
|
+
*/
|
|
131
|
+
autoSize?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* If true, shows badges in a single line with horizontal scroll.
|
|
134
|
+
* If false, badges wrap to multiple lines.
|
|
135
|
+
* Optional, defaults to false.
|
|
136
|
+
*/
|
|
137
|
+
singleLine?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Custom CSS class for the popover content.
|
|
140
|
+
* Optional, can be used to customize popover appearance.
|
|
141
|
+
*/
|
|
142
|
+
popoverClassName?: string;
|
|
143
|
+
/**
|
|
144
|
+
* If true, disables the component completely.
|
|
145
|
+
* Optional, defaults to false.
|
|
146
|
+
*/
|
|
147
|
+
disabled?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Responsive configuration for different screen sizes.
|
|
150
|
+
* Allows customizing maxCount and other properties based on viewport.
|
|
151
|
+
* Can be boolean true for default responsive behavior or an object for custom configuration.
|
|
152
|
+
*/
|
|
153
|
+
responsive?: boolean | {
|
|
154
|
+
/** Configuration for mobile devices (< 640px) */
|
|
155
|
+
mobile?: {
|
|
156
|
+
maxCount?: number;
|
|
157
|
+
hideIcons?: boolean;
|
|
158
|
+
compactMode?: boolean;
|
|
159
|
+
};
|
|
160
|
+
/** Configuration for tablet devices (640px - 1024px) */
|
|
161
|
+
tablet?: {
|
|
162
|
+
maxCount?: number;
|
|
163
|
+
hideIcons?: boolean;
|
|
164
|
+
compactMode?: boolean;
|
|
165
|
+
};
|
|
166
|
+
/** Configuration for desktop devices (> 1024px) */
|
|
167
|
+
desktop?: {
|
|
168
|
+
maxCount?: number;
|
|
169
|
+
hideIcons?: boolean;
|
|
170
|
+
compactMode?: boolean;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Minimum width for the component.
|
|
175
|
+
* Optional, defaults to auto-sizing based on content.
|
|
176
|
+
* When set, component will not shrink below this width.
|
|
177
|
+
*/
|
|
178
|
+
minWidth?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Maximum width for the component.
|
|
181
|
+
* Optional, defaults to 100% of container.
|
|
182
|
+
* Component will not exceed container boundaries.
|
|
183
|
+
*/
|
|
184
|
+
maxWidth?: string;
|
|
185
|
+
/**
|
|
186
|
+
* If true, automatically removes duplicate options based on their value.
|
|
187
|
+
* Optional, defaults to false (shows warning in dev mode instead).
|
|
188
|
+
*/
|
|
189
|
+
deduplicateOptions?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* If true, the component will reset its internal state when defaultValue changes.
|
|
192
|
+
* Useful for React Hook Form integration and form reset functionality.
|
|
193
|
+
* Optional, defaults to true.
|
|
194
|
+
*/
|
|
195
|
+
resetOnDefaultValueChange?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* If true, automatically closes the popover after selecting an option.
|
|
198
|
+
* Useful for single-selection-like behavior or mobile UX.
|
|
199
|
+
* Optional, defaults to false.
|
|
200
|
+
*/
|
|
201
|
+
closeOnSelect?: boolean;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Imperative methods exposed through ref
|
|
205
|
+
*/
|
|
206
|
+
export interface MultiSelectRef {
|
|
207
|
+
/**
|
|
208
|
+
* Programmatically reset the component to its default value
|
|
209
|
+
*/
|
|
210
|
+
reset: () => void;
|
|
211
|
+
/**
|
|
212
|
+
* Get current selected values
|
|
213
|
+
*/
|
|
214
|
+
getSelectedValues: () => string[];
|
|
215
|
+
/**
|
|
216
|
+
* Set selected values programmatically
|
|
217
|
+
*/
|
|
218
|
+
setSelectedValues: (values: string[]) => void;
|
|
219
|
+
/**
|
|
220
|
+
* Clear all selected values
|
|
221
|
+
*/
|
|
222
|
+
clear: () => void;
|
|
223
|
+
/**
|
|
224
|
+
* Focus the component
|
|
225
|
+
*/
|
|
226
|
+
focus: () => void;
|
|
227
|
+
}
|
|
228
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/MultiSelect/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,2BAA2B;IAC3B,cAAc,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAC3E,6BAA6B;IAC7B,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAChE,kCAAkC;IAClC,oBAAoB,CAAC,EAAE,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAC/D,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;8EAuB9B,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oC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E,MAAM,IAAI,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type Dispatch, type KeyboardEvent, type Ref, type RefObject, type SetStateAction } from 'react';
|
|
2
|
+
import { type ResponsiveSettings, type ScreenSize, type WidthConstraints } from './utils';
|
|
3
|
+
import { type MultiSelectGroup, type MultiSelectOption, type MultiSelectProps, type MultiSelectRef } from './type';
|
|
4
|
+
export interface UseMultiSelectParams extends MultiSelectProps {
|
|
5
|
+
forwardedRef?: Ref<MultiSelectRef>;
|
|
6
|
+
}
|
|
7
|
+
export interface UseMultiSelectResult {
|
|
8
|
+
ids: {
|
|
9
|
+
multiSelectId: string;
|
|
10
|
+
listboxId: string;
|
|
11
|
+
triggerDescriptionId: string;
|
|
12
|
+
selectedCountId: string;
|
|
13
|
+
};
|
|
14
|
+
state: {
|
|
15
|
+
selectedValues: string[];
|
|
16
|
+
isPopoverOpen: boolean;
|
|
17
|
+
isAnimating: boolean;
|
|
18
|
+
searchValue: string;
|
|
19
|
+
screenSize: ScreenSize;
|
|
20
|
+
};
|
|
21
|
+
derived: {
|
|
22
|
+
filteredOptions: MultiSelectOption[] | MultiSelectGroup[];
|
|
23
|
+
responsiveSettings: ResponsiveSettings;
|
|
24
|
+
widthConstraints: WidthConstraints;
|
|
25
|
+
badgeAnimationClass: string;
|
|
26
|
+
popoverAnimationClass: string;
|
|
27
|
+
};
|
|
28
|
+
refs: {
|
|
29
|
+
buttonRef: RefObject<HTMLButtonElement | null>;
|
|
30
|
+
};
|
|
31
|
+
helpers: {
|
|
32
|
+
getAllOptions: () => MultiSelectOption[];
|
|
33
|
+
getOptionByValue: (value: string) => MultiSelectOption | undefined;
|
|
34
|
+
};
|
|
35
|
+
a11yMessages: {
|
|
36
|
+
politeMessage: string;
|
|
37
|
+
assertiveMessage: string;
|
|
38
|
+
};
|
|
39
|
+
handlers: {
|
|
40
|
+
setIsPopoverOpen: Dispatch<SetStateAction<boolean>>;
|
|
41
|
+
handleTogglePopover: () => void;
|
|
42
|
+
handleInputKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
43
|
+
toggleOption: (optionValue: string) => void;
|
|
44
|
+
handleClear: () => void;
|
|
45
|
+
clearExtraOptions: () => void;
|
|
46
|
+
toggleAll: () => void;
|
|
47
|
+
setSearchValue: Dispatch<SetStateAction<string>>;
|
|
48
|
+
setIsAnimating: Dispatch<SetStateAction<boolean>>;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export declare const useMultiSelect: ({ forwardedRef, ...props }: UseMultiSelectParams) => UseMultiSelectResult;
|
|
52
|
+
//# sourceMappingURL=useMultiSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMultiSelect.d.ts","sourceRoot":"","sources":["../../src/MultiSelect/useMultiSelect.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,GAAG,EACR,KAAK,SAAS,EACd,KAAK,cAAc,EAQpB,MAAM,OAAO,CAAC;AACf,OAAO,EASL,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACtB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,QAAQ,CAAC;AAEhB,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,YAAY,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE;QACH,aAAa,EAAE,MAAM,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;QAClB,oBAAoB,EAAE,MAAM,CAAC;QAC7B,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,KAAK,EAAE;QACL,cAAc,EAAE,MAAM,EAAE,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ED,eAAO,MAAM,cAAc,GAAI,4BAG5B,oBAAoB,KAAG,oBAyUzB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type MultiSelectProps, type MultiSelectGroup, type MultiSelectOption, type AnimationConfig } from './type';
|
|
2
|
+
export type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
3
|
+
export interface ResponsiveSettings {
|
|
4
|
+
maxCount: number;
|
|
5
|
+
hideIcons: boolean;
|
|
6
|
+
compactMode: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface WidthConstraints {
|
|
9
|
+
minWidth: string;
|
|
10
|
+
maxWidth: string;
|
|
11
|
+
width: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const isGroupedOptions: (opts: MultiSelectOption[] | MultiSelectGroup[]) => opts is MultiSelectGroup[];
|
|
14
|
+
export declare const arraysEqual: (a: string[], b: string[]) => boolean;
|
|
15
|
+
export declare const buildAllOptions: (options: MultiSelectOption[] | MultiSelectGroup[], deduplicateOptions: boolean) => {
|
|
16
|
+
options: MultiSelectOption[];
|
|
17
|
+
duplicates: string[];
|
|
18
|
+
};
|
|
19
|
+
export declare const computeResponsiveSettings: (responsive: MultiSelectProps["responsive"], maxCount: number, screenSize: ScreenSize) => ResponsiveSettings;
|
|
20
|
+
export declare const buildBadgeAnimationClass: (isAnimating: boolean, animationConfig?: AnimationConfig) => string;
|
|
21
|
+
export declare const buildPopoverAnimationClass: (animationConfig?: AnimationConfig) => string;
|
|
22
|
+
export declare const filterOptions: (options: MultiSelectOption[] | MultiSelectGroup[], searchValue: string, searchable: boolean) => MultiSelectOption[] | MultiSelectGroup[];
|
|
23
|
+
export declare const buildWidthConstraints: (screenSize: ScreenSize, autoSize: boolean, minWidth?: string, maxWidth?: string) => WidthConstraints;
|
|
24
|
+
export declare const countMatchingOptions: (options: MultiSelectOption[], searchValue: string) => number;
|
|
25
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"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AAgB,EAAE,EACjD,aAAa,MAAM,EACnB,YAAY,OAAO,KAClB,iBAAiB,EAAE,GAAG,gBAAgB,EAsBxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,YAAY,UAAU,EACtB,UAAU,OAAO,EACjB,WAAW,MAAM,EACjB,WAAW,MAAM,KAChB,gBAUF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,SAAS,iBAAiB,EAAE,EAAE,aAAa,MAAM,KAAG,MAMxF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseMultiSelectProps, BaseSingleSelectProps, SelectValue } from './type';
|
|
3
|
+
export declare function BaseSelect<T extends SelectValue = SelectValue>(props: BaseMultiSelectProps<T>): React.ReactElement;
|
|
4
|
+
export declare function BaseSelect<T extends SelectValue = SelectValue>(props: BaseSingleSelectProps<T>): React.ReactElement;
|
|
5
|
+
//# sourceMappingURL=BaseSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseSelect.d.ts","sourceRoot":"","sources":["../../src/Select/BaseSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAMzD,OAAO,KAAK,EACV,oBAAoB,EAGpB,qBAAqB,EACrB,WAAW,EACZ,MAAM,QAAQ,CAAC;AAQhB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC7B,KAAK,CAAC,YAAY,CAAC;AACtB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAC9B,KAAK,CAAC,YAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { BaseSelectOption, SelectValue } from './type';
|
|
3
|
+
/**
|
|
4
|
+
* Component to render tags for multi-select with responsive behavior
|
|
5
|
+
*/
|
|
6
|
+
export declare function MultiSelectTags<T extends SelectValue = SelectValue>({ selectedOptions, maxTagCount, onRemove, disabled, tagRender }: {
|
|
7
|
+
selectedOptions: BaseSelectOption<T>[];
|
|
8
|
+
maxTagCount?: number | 'responsive';
|
|
9
|
+
onRemove: (value: T) => void;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
tagRender?: (option: BaseSelectOption<T>, onRemove: () => void) => ReactNode;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=MultiSelectTags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiSelectTags.d.ts","sourceRoot":"","sources":["../../src/Select/MultiSelectTags.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE5D;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,EACnE,eAAe,EACf,WAA0B,EAC1B,QAAQ,EACR,QAAQ,EACR,SAAS,EACV,EAAE;IACD,eAAe,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;CAC9E,+BAyFA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,qBAAqB,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { default as ConfirmModal } from './ConfirmModal';
|
|
2
|
+
export { default as ConfirmationDialog } from './ConfirmModal';
|
|
3
|
+
export type { ConfirmationDialogProps } from './ConfirmModal';
|
|
4
|
+
export { Modal } from './Modal';
|
|
5
|
+
export type { ModalProps } from './Modal';
|
|
6
|
+
export { lazyLoad } from './lazyLoad';
|
|
7
|
+
export { DataTable } from './DataTable';
|
|
8
|
+
export type { DataTableQuery } from './DataTable';
|
|
9
|
+
export { createExpanderColumn, createRowActionsColumn, createSelectionColumn } from './DataTable';
|
|
10
|
+
export { default as Icons } from './Icons';
|
|
11
|
+
export type { IconNames } from './Icons';
|
|
12
|
+
export * from './ui';
|
|
13
|
+
export * from './Form';
|
|
14
|
+
export { default as Select } from './Select';
|
|
15
|
+
export type { BaseSelectCommonProps, SelectValue, BaseSelectOption } from './Select/type';
|
|
16
|
+
export { default as MultiSelect } from './MultiSelect';
|
|
17
|
+
export type { MultiSelectProps } from './MultiSelect/type';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,YAAY,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,qBAAqB,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/index41.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { Activity as e, AlertCircle as
|
|
1
|
+
import { Activity as e, AlertCircle as ee, ArrowLeft as te, ArrowRight as ne, Award as re, BarChart3 as t, BookOpen as n, Bot as r, Brain as i, Calendar as a, CalendarIcon as o, Camera as s, Cat as c, Check as l, CheckCircle2 as u, CheckIcon as d, ChevronDown as f, ChevronDownIcon as p, ChevronLeft as m, ChevronRight as h, ChevronUp as g, Circle as _, Clock as v, CloudUpload as y, Code as b, Copy as x, Cpu as S, Database as C, Dog as w, DollarSign as T, Edit as E, Eye as D, EyeOff as O, FileArchiveIcon as k, FileAudioIcon as A, FileCodeIcon as j, FileCogIcon as M, FileIcon as N, FileQuestion as P, FileTextIcon as F, FileVideoIcon as I, Fish as L, Flame as R, Folder as z, Globe as B, HardDrive as V, Headphones as H, Heart as U, History as W, Home as G, Image as K, Info as q, Languages as J, Lightbulb as Y, Loader2 as X, LoaderCircleIcon as ie, LoaderIcon as Z, LoaderPinwheelIcon as ae, Mail as oe, Maximize as se, MessageCircle as ce, MessageSquare as le, Mic as ue, Minimize as de, Monitor as fe, Moon as pe, MoonIcon as me, MoreHorizontal as he, Palette as ge, PenTool as _e, Phone as ve, PhoneOff as ye, PieChart as be, Play as xe, Plus as Se, PlusCircle as Ce, Rabbit as we, RefreshCcw as Te, Save as Ee, Search as De, SearchIcon as Oe, Send as ke, Settings as Ae, Shield as je, Smartphone as Me, Sparkles as Ne, Square as Pe, Star as Fe, Sun as Ie, SunMedium as Le, Target as Re, TrendingUp as ze, Trophy as Be, Turtle as Ve, Type as He, Undo2 as Ue, Upload as We, UploadCloud as Ge, Users as Ke, Video as qe, Volume2 as Je, Wand2 as Ye, WandSparkles as Q, X as Xe, XCircle as Ze, XIcon as Qe, Zap as $e } from "lucide-react";
|
|
2
2
|
import { jsx as $ } from "react/jsx-runtime";
|
|
3
3
|
//#region src/Icons/Icons.tsx
|
|
4
|
-
var
|
|
5
|
-
MoonIcon:
|
|
6
|
-
SunIcon:
|
|
7
|
-
Award:
|
|
4
|
+
var et = {
|
|
5
|
+
MoonIcon: me,
|
|
6
|
+
SunIcon: Le,
|
|
7
|
+
Award: re,
|
|
8
8
|
Cat: c,
|
|
9
9
|
Dog: w,
|
|
10
|
-
Fish:
|
|
11
|
-
Rabbit:
|
|
12
|
-
Turtle:
|
|
10
|
+
Fish: L,
|
|
11
|
+
Rabbit: we,
|
|
12
|
+
Turtle: Ve,
|
|
13
13
|
Code: b,
|
|
14
|
-
Globe:
|
|
15
|
-
Users:
|
|
16
|
-
Star:
|
|
17
|
-
Heart:
|
|
18
|
-
Zap:
|
|
14
|
+
Globe: B,
|
|
15
|
+
Users: Ke,
|
|
16
|
+
Star: Fe,
|
|
17
|
+
Heart: U,
|
|
18
|
+
Zap: $e,
|
|
19
19
|
Cpu: S,
|
|
20
20
|
Database: C,
|
|
21
|
-
Monitor:
|
|
22
|
-
Smartphone:
|
|
23
|
-
Wand:
|
|
21
|
+
Monitor: fe,
|
|
22
|
+
Smartphone: Me,
|
|
23
|
+
Wand: Ye,
|
|
24
24
|
WandSparkles: Q,
|
|
25
|
-
Calendar:
|
|
26
|
-
CalendarIcon:
|
|
27
|
-
HardDrive:
|
|
28
|
-
TrendingUp:
|
|
25
|
+
Calendar: a,
|
|
26
|
+
CalendarIcon: o,
|
|
27
|
+
HardDrive: V,
|
|
28
|
+
TrendingUp: ze,
|
|
29
29
|
DollarSign: T,
|
|
30
|
-
Target:
|
|
31
|
-
Shield:
|
|
32
|
-
Mail:
|
|
33
|
-
PieChart:
|
|
30
|
+
Target: Re,
|
|
31
|
+
Shield: je,
|
|
32
|
+
Mail: oe,
|
|
33
|
+
PieChart: be,
|
|
34
34
|
Activity: e,
|
|
35
|
-
Search:
|
|
36
|
-
SearchIcon:
|
|
37
|
-
MessageCircle:
|
|
38
|
-
Bot:
|
|
39
|
-
MoreHorizontal:
|
|
40
|
-
Maximize:
|
|
41
|
-
Minimize:
|
|
42
|
-
X:
|
|
43
|
-
XIcon:
|
|
44
|
-
XCircle:
|
|
45
|
-
EyeOff:
|
|
46
|
-
Eye:
|
|
35
|
+
Search: De,
|
|
36
|
+
SearchIcon: Oe,
|
|
37
|
+
MessageCircle: ce,
|
|
38
|
+
Bot: r,
|
|
39
|
+
MoreHorizontal: he,
|
|
40
|
+
Maximize: se,
|
|
41
|
+
Minimize: de,
|
|
42
|
+
X: Xe,
|
|
43
|
+
XIcon: Qe,
|
|
44
|
+
XCircle: Ze,
|
|
45
|
+
EyeOff: O,
|
|
46
|
+
Eye: D,
|
|
47
47
|
Copy: x,
|
|
48
48
|
Check: l,
|
|
49
49
|
CheckIcon: d,
|
|
@@ -53,52 +53,63 @@ var Ue = {
|
|
|
53
53
|
ChevronDownIcon: p,
|
|
54
54
|
ChevronRight: h,
|
|
55
55
|
ChevronLeft: m,
|
|
56
|
-
Sparkles:
|
|
56
|
+
Sparkles: Ne,
|
|
57
57
|
WandSparklesIcon: Q,
|
|
58
|
-
Play:
|
|
59
|
-
Headphones:
|
|
60
|
-
Brain:
|
|
61
|
-
PenTool:
|
|
62
|
-
BookOpen:
|
|
63
|
-
BarChart3:
|
|
58
|
+
Play: xe,
|
|
59
|
+
Headphones: H,
|
|
60
|
+
Brain: i,
|
|
61
|
+
PenTool: _e,
|
|
62
|
+
BookOpen: n,
|
|
63
|
+
BarChart3: t,
|
|
64
64
|
CheckCircle2: u,
|
|
65
|
-
Moon:
|
|
66
|
-
Sun:
|
|
65
|
+
Moon: pe,
|
|
66
|
+
Sun: Ie,
|
|
67
67
|
CloudUpload: y,
|
|
68
|
-
LoaderCircleIcon:
|
|
69
|
-
LoaderIcon:
|
|
70
|
-
LoaderPinwheelIcon:
|
|
71
|
-
FileArchiveIcon:
|
|
72
|
-
FileAudioIcon:
|
|
73
|
-
FileCodeIcon:
|
|
74
|
-
FileCogIcon:
|
|
75
|
-
FileIcon:
|
|
76
|
-
FileTextIcon:
|
|
77
|
-
FileVideoIcon:
|
|
78
|
-
Trophy:
|
|
79
|
-
Flame:
|
|
80
|
-
Undo2:
|
|
81
|
-
Volume2:
|
|
82
|
-
ArrowRight:
|
|
83
|
-
ArrowLeft:
|
|
84
|
-
Plus:
|
|
85
|
-
PlusCircle:
|
|
86
|
-
Info:
|
|
87
|
-
Square:
|
|
88
|
-
Mic:
|
|
89
|
-
MessageSquare:
|
|
90
|
-
Phone:
|
|
91
|
-
PhoneOff:
|
|
68
|
+
LoaderCircleIcon: ie,
|
|
69
|
+
LoaderIcon: Z,
|
|
70
|
+
LoaderPinwheelIcon: ae,
|
|
71
|
+
FileArchiveIcon: k,
|
|
72
|
+
FileAudioIcon: A,
|
|
73
|
+
FileCodeIcon: j,
|
|
74
|
+
FileCogIcon: M,
|
|
75
|
+
FileIcon: N,
|
|
76
|
+
FileTextIcon: F,
|
|
77
|
+
FileVideoIcon: I,
|
|
78
|
+
Trophy: Be,
|
|
79
|
+
Flame: R,
|
|
80
|
+
Undo2: Ue,
|
|
81
|
+
Volume2: Je,
|
|
82
|
+
ArrowRight: ne,
|
|
83
|
+
ArrowLeft: te,
|
|
84
|
+
Plus: Se,
|
|
85
|
+
PlusCircle: Ce,
|
|
86
|
+
Info: q,
|
|
87
|
+
Square: Pe,
|
|
88
|
+
Mic: ue,
|
|
89
|
+
MessageSquare: le,
|
|
90
|
+
Phone: ve,
|
|
91
|
+
PhoneOff: ye,
|
|
92
92
|
Circle: _,
|
|
93
|
-
Send:
|
|
94
|
-
Loader2:
|
|
95
|
-
History:
|
|
96
|
-
Languages:
|
|
97
|
-
Lightbulb:
|
|
98
|
-
FileQuestion:
|
|
99
|
-
Home:
|
|
100
|
-
AlertCircle:
|
|
101
|
-
RefreshCcw:
|
|
93
|
+
Send: ke,
|
|
94
|
+
Loader2: X,
|
|
95
|
+
History: W,
|
|
96
|
+
Languages: J,
|
|
97
|
+
Lightbulb: Y,
|
|
98
|
+
FileQuestion: P,
|
|
99
|
+
Home: G,
|
|
100
|
+
AlertCircle: ee,
|
|
101
|
+
RefreshCcw: Te,
|
|
102
|
+
Settings: Ae,
|
|
103
|
+
Camera: s,
|
|
104
|
+
Folder: z,
|
|
105
|
+
Image: K,
|
|
106
|
+
Video: qe,
|
|
107
|
+
Upload: We,
|
|
108
|
+
UploadCloud: Ge,
|
|
109
|
+
Save: Ee,
|
|
110
|
+
Palette: ge,
|
|
111
|
+
Type: He,
|
|
112
|
+
Edit: E,
|
|
102
113
|
GitHub: ({ ...e }) => /* @__PURE__ */ $("svg", {
|
|
103
114
|
"aria-hidden": "true",
|
|
104
115
|
focusable: "false",
|
|
@@ -115,4 +126,4 @@ var Ue = {
|
|
|
115
126
|
})
|
|
116
127
|
};
|
|
117
128
|
//#endregion
|
|
118
|
-
export {
|
|
129
|
+
export { et as Icons };
|
package/dist/index42.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
let e=require("lucide-react"),t=require("react/jsx-runtime");var n={MoonIcon:e.MoonIcon,SunIcon:e.SunMedium,Award:e.Award,Cat:e.Cat,Dog:e.Dog,Fish:e.Fish,Rabbit:e.Rabbit,Turtle:e.Turtle,Code:e.Code,Globe:e.Globe,Users:e.Users,Star:e.Star,Heart:e.Heart,Zap:e.Zap,Cpu:e.Cpu,Database:e.Database,Monitor:e.Monitor,Smartphone:e.Smartphone,Wand:e.Wand2,WandSparkles:e.WandSparkles,Calendar:e.Calendar,CalendarIcon:e.CalendarIcon,HardDrive:e.HardDrive,TrendingUp:e.TrendingUp,DollarSign:e.DollarSign,Target:e.Target,Shield:e.Shield,Mail:e.Mail,PieChart:e.PieChart,Activity:e.Activity,Search:e.Search,SearchIcon:e.SearchIcon,MessageCircle:e.MessageCircle,Bot:e.Bot,MoreHorizontal:e.MoreHorizontal,Maximize:e.Maximize,Minimize:e.Minimize,X:e.X,XIcon:e.XIcon,XCircle:e.XCircle,EyeOff:e.EyeOff,Eye:e.Eye,Copy:e.Copy,Check:e.Check,CheckIcon:e.CheckIcon,Clock:e.Clock,ChevronUp:e.ChevronUp,ChevronDown:e.ChevronDown,ChevronDownIcon:e.ChevronDownIcon,ChevronRight:e.ChevronRight,ChevronLeft:e.ChevronLeft,Sparkles:e.Sparkles,WandSparklesIcon:e.WandSparkles,Play:e.Play,Headphones:e.Headphones,Brain:e.Brain,PenTool:e.PenTool,BookOpen:e.BookOpen,BarChart3:e.BarChart3,CheckCircle2:e.CheckCircle2,Moon:e.Moon,Sun:e.Sun,CloudUpload:e.CloudUpload,LoaderCircleIcon:e.LoaderCircleIcon,LoaderIcon:e.LoaderIcon,LoaderPinwheelIcon:e.LoaderPinwheelIcon,FileArchiveIcon:e.FileArchiveIcon,FileAudioIcon:e.FileAudioIcon,FileCodeIcon:e.FileCodeIcon,FileCogIcon:e.FileCogIcon,FileIcon:e.FileIcon,FileTextIcon:e.FileTextIcon,FileVideoIcon:e.FileVideoIcon,Trophy:e.Trophy,Flame:e.Flame,Undo2:e.Undo2,Volume2:e.Volume2,ArrowRight:e.ArrowRight,ArrowLeft:e.ArrowLeft,Plus:e.Plus,PlusCircle:e.PlusCircle,Info:e.Info,Square:e.Square,Mic:e.Mic,MessageSquare:e.MessageSquare,Phone:e.Phone,PhoneOff:e.PhoneOff,Circle:e.Circle,Send:e.Send,Loader2:e.Loader2,History:e.History,Languages:e.Languages,Lightbulb:e.Lightbulb,FileQuestion:e.FileQuestion,Home:e.Home,AlertCircle:e.AlertCircle,RefreshCcw:e.RefreshCcw,GitHub:({...e})=>(0,t.jsx)(`svg`,{"aria-hidden":`true`,focusable:`false`,"data-prefix":`fab`,"data-icon":`github`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 496 512`,...e,children:(0,t.jsx)(`path`,{fill:`currentColor`,d:`M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z`})})};exports.Icons=n;
|
|
1
|
+
let e=require("lucide-react"),t=require("react/jsx-runtime");var n={MoonIcon:e.MoonIcon,SunIcon:e.SunMedium,Award:e.Award,Cat:e.Cat,Dog:e.Dog,Fish:e.Fish,Rabbit:e.Rabbit,Turtle:e.Turtle,Code:e.Code,Globe:e.Globe,Users:e.Users,Star:e.Star,Heart:e.Heart,Zap:e.Zap,Cpu:e.Cpu,Database:e.Database,Monitor:e.Monitor,Smartphone:e.Smartphone,Wand:e.Wand2,WandSparkles:e.WandSparkles,Calendar:e.Calendar,CalendarIcon:e.CalendarIcon,HardDrive:e.HardDrive,TrendingUp:e.TrendingUp,DollarSign:e.DollarSign,Target:e.Target,Shield:e.Shield,Mail:e.Mail,PieChart:e.PieChart,Activity:e.Activity,Search:e.Search,SearchIcon:e.SearchIcon,MessageCircle:e.MessageCircle,Bot:e.Bot,MoreHorizontal:e.MoreHorizontal,Maximize:e.Maximize,Minimize:e.Minimize,X:e.X,XIcon:e.XIcon,XCircle:e.XCircle,EyeOff:e.EyeOff,Eye:e.Eye,Copy:e.Copy,Check:e.Check,CheckIcon:e.CheckIcon,Clock:e.Clock,ChevronUp:e.ChevronUp,ChevronDown:e.ChevronDown,ChevronDownIcon:e.ChevronDownIcon,ChevronRight:e.ChevronRight,ChevronLeft:e.ChevronLeft,Sparkles:e.Sparkles,WandSparklesIcon:e.WandSparkles,Play:e.Play,Headphones:e.Headphones,Brain:e.Brain,PenTool:e.PenTool,BookOpen:e.BookOpen,BarChart3:e.BarChart3,CheckCircle2:e.CheckCircle2,Moon:e.Moon,Sun:e.Sun,CloudUpload:e.CloudUpload,LoaderCircleIcon:e.LoaderCircleIcon,LoaderIcon:e.LoaderIcon,LoaderPinwheelIcon:e.LoaderPinwheelIcon,FileArchiveIcon:e.FileArchiveIcon,FileAudioIcon:e.FileAudioIcon,FileCodeIcon:e.FileCodeIcon,FileCogIcon:e.FileCogIcon,FileIcon:e.FileIcon,FileTextIcon:e.FileTextIcon,FileVideoIcon:e.FileVideoIcon,Trophy:e.Trophy,Flame:e.Flame,Undo2:e.Undo2,Volume2:e.Volume2,ArrowRight:e.ArrowRight,ArrowLeft:e.ArrowLeft,Plus:e.Plus,PlusCircle:e.PlusCircle,Info:e.Info,Square:e.Square,Mic:e.Mic,MessageSquare:e.MessageSquare,Phone:e.Phone,PhoneOff:e.PhoneOff,Circle:e.Circle,Send:e.Send,Loader2:e.Loader2,History:e.History,Languages:e.Languages,Lightbulb:e.Lightbulb,FileQuestion:e.FileQuestion,Home:e.Home,AlertCircle:e.AlertCircle,RefreshCcw:e.RefreshCcw,Settings:e.Settings,Camera:e.Camera,Folder:e.Folder,Image:e.Image,Video:e.Video,Upload:e.Upload,UploadCloud:e.UploadCloud,Save:e.Save,Palette:e.Palette,Type:e.Type,Edit:e.Edit,GitHub:({...e})=>(0,t.jsx)(`svg`,{"aria-hidden":`true`,focusable:`false`,"data-prefix":`fab`,"data-icon":`github`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 496 512`,...e,children:(0,t.jsx)(`path`,{fill:`currentColor`,d:`M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z`})})};exports.Icons=n;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ComponentProps, type ComponentType, type ReactNode } from 'react';
|
|
2
|
+
export declare function lazyLoad<T extends ComponentType<any>>(importFunc: () => Promise<{
|
|
3
|
+
default: T;
|
|
4
|
+
}>, fallback?: ReactNode): (props: ComponentProps<T>) => import("react").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=lazyLoad.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lazyLoad.d.ts","sourceRoot":"","sources":["../src/lazyLoad.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIhG,wBAAgB,QAAQ,CAAC,CAAC,SAAS,aAAa,CAAC,GAAG,CAAC,EACnD,UAAU,EAAE,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,CAAC,EACzC,QAAQ,GAAE,SAAiC,IAIP,OAAO,cAAc,CAAC,CAAC,CAAC,iCAO7D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3
|
+
declare function Accordion({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): React.JSX.Element;
|
|
5
|
+
declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): React.JSX.Element;
|
|
6
|
+
declare function AccordionContent({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>): React.JSX.Element;
|
|
7
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
8
|
+
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/ui/accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAK/D,iBAAS,SAAS,CAAC,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,qBAEtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,qBAQtD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,qBAgBzD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,qBAUzD;AAED,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export { Badge, badgeVariants };
|
|
10
|
+
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,qBAU3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|