@vlrc-fe/components 1.0.1 → 1.0.3

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.
Files changed (163) hide show
  1. package/dist/ConfirmModal.d.ts +16 -0
  2. package/dist/ConfirmModal.d.ts.map +1 -0
  3. package/dist/DataTable/DataTable.d.ts +7 -0
  4. package/dist/DataTable/DataTable.d.ts.map +1 -0
  5. package/dist/DataTable/components/DataTablePagination.d.ts +9 -0
  6. package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -0
  7. package/dist/DataTable/components/DataTableRowActions.d.ts +6 -0
  8. package/dist/DataTable/components/DataTableRowActions.d.ts.map +1 -0
  9. package/dist/DataTable/components/DataTableTable.d.ts +11 -0
  10. package/dist/DataTable/components/DataTableTable.d.ts.map +1 -0
  11. package/dist/DataTable/components/DataTableToolbar.d.ts +9 -0
  12. package/dist/DataTable/components/DataTableToolbar.d.ts.map +1 -0
  13. package/dist/DataTable/components/DataTableViewOptions.d.ts +6 -0
  14. package/dist/DataTable/components/DataTableViewOptions.d.ts.map +1 -0
  15. package/dist/DataTable/index.d.ts +5 -0
  16. package/dist/DataTable/index.d.ts.map +1 -0
  17. package/dist/DataTable/render/createColumns.d.ts +6 -0
  18. package/dist/DataTable/render/createColumns.d.ts.map +1 -0
  19. package/dist/DataTable/render/defaults.d.ts +10 -0
  20. package/dist/DataTable/render/defaults.d.ts.map +1 -0
  21. package/dist/DataTable/types.d.ts +71 -0
  22. package/dist/DataTable/types.d.ts.map +1 -0
  23. package/dist/Form/Form.d.ts +14 -0
  24. package/dist/Form/Form.d.ts.map +1 -0
  25. package/dist/Form/FormDatePicker/FormDatePicker.d.ts +5 -0
  26. package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -0
  27. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +21 -0
  28. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -0
  29. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +23 -0
  30. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -0
  31. package/dist/Form/FormDatePicker/TimeInput.d.ts +11 -0
  32. package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -0
  33. package/dist/Form/FormDatePicker/TimePicker.d.ts +10 -0
  34. package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -0
  35. package/dist/Form/FormDatePicker/index.d.ts +4 -0
  36. package/dist/Form/FormDatePicker/index.d.ts.map +1 -0
  37. package/dist/Form/FormDatePicker/types.d.ts +58 -0
  38. package/dist/Form/FormDatePicker/types.d.ts.map +1 -0
  39. package/dist/Form/FormDatePicker/useFormDatePicker.d.ts +18 -0
  40. package/dist/Form/FormDatePicker/useFormDatePicker.d.ts.map +1 -0
  41. package/dist/Form/FormFileUpload/FileUpload.d.ts +115 -0
  42. package/dist/Form/FormFileUpload/FileUpload.d.ts.map +1 -0
  43. package/dist/Form/FormFileUpload/index.d.ts +7 -0
  44. package/dist/Form/FormFileUpload/index.d.ts.map +1 -0
  45. package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts +5 -0
  46. package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts.map +1 -0
  47. package/dist/Form/FormMultiSelect/index.d.ts +2 -0
  48. package/dist/Form/FormMultiSelect/index.d.ts.map +1 -0
  49. package/dist/Form/FormNumberInput/FormNumberInput.d.ts +4 -0
  50. package/dist/Form/FormNumberInput/FormNumberInput.d.ts.map +1 -0
  51. package/dist/Form/FormNumberInput/StepperControls.d.ts +9 -0
  52. package/dist/Form/FormNumberInput/StepperControls.d.ts.map +1 -0
  53. package/dist/Form/FormNumberInput/index.d.ts +4 -0
  54. package/dist/Form/FormNumberInput/index.d.ts.map +1 -0
  55. package/dist/Form/FormNumberInput/types.d.ts +20 -0
  56. package/dist/Form/FormNumberInput/types.d.ts.map +1 -0
  57. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +34 -0
  58. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -0
  59. package/dist/Form/FormRadioGroup/FormRadio.d.ts +4 -0
  60. package/dist/Form/FormRadioGroup/FormRadio.d.ts.map +1 -0
  61. package/dist/Form/FormRadioGroup/index.d.ts +4 -0
  62. package/dist/Form/FormRadioGroup/index.d.ts.map +1 -0
  63. package/dist/Form/FormRadioGroup/types.d.ts +25 -0
  64. package/dist/Form/FormRadioGroup/types.d.ts.map +1 -0
  65. package/dist/Form/FormRadioGroup/useFormRadio.d.ts +12 -0
  66. package/dist/Form/FormRadioGroup/useFormRadio.d.ts.map +1 -0
  67. package/dist/Form/FormSelect/FormSelect.d.ts +7 -0
  68. package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -0
  69. package/dist/Form/FormSelect/index.d.ts +4 -0
  70. package/dist/Form/FormSelect/index.d.ts.map +1 -0
  71. package/dist/Form/FormSelect/types.d.ts +43 -0
  72. package/dist/Form/FormSelect/types.d.ts.map +1 -0
  73. package/dist/Form/FormSelect/useFormSelect.d.ts +16 -0
  74. package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -0
  75. package/dist/Form/index.d.ts +8 -0
  76. package/dist/Form/index.d.ts.map +1 -0
  77. package/dist/Icons/Icons.d.ts +125 -0
  78. package/dist/Icons/Icons.d.ts.map +1 -0
  79. package/dist/Icons/index.d.ts +2 -0
  80. package/dist/Icons/index.d.ts.map +1 -0
  81. package/dist/Modal.d.ts +16 -0
  82. package/dist/Modal.d.ts.map +1 -0
  83. package/dist/MultiSelect/MultiSelect.d.ts +31 -0
  84. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -0
  85. package/dist/MultiSelect/index.d.ts +2 -0
  86. package/dist/MultiSelect/index.d.ts.map +1 -0
  87. package/dist/MultiSelect/renderers.d.ts +45 -0
  88. package/dist/MultiSelect/renderers.d.ts.map +1 -0
  89. package/dist/MultiSelect/type.d.ts +228 -0
  90. package/dist/MultiSelect/type.d.ts.map +1 -0
  91. package/dist/MultiSelect/useMultiSelect.d.ts +52 -0
  92. package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -0
  93. package/dist/MultiSelect/utils.d.ts +25 -0
  94. package/dist/MultiSelect/utils.d.ts.map +1 -0
  95. package/dist/Select/BaseSelect.d.ts +5 -0
  96. package/dist/Select/BaseSelect.d.ts.map +1 -0
  97. package/dist/Select/MultiSelectTags.d.ts +13 -0
  98. package/dist/Select/MultiSelectTags.d.ts.map +1 -0
  99. package/dist/Select/index.d.ts +3 -0
  100. package/dist/Select/index.d.ts.map +1 -0
  101. package/dist/index.d.ts +18 -0
  102. package/dist/index.d.ts.map +1 -0
  103. package/dist/index41.js +118 -107
  104. package/dist/index42.cjs +1 -1
  105. package/dist/lazyLoad.d.ts +5 -0
  106. package/dist/lazyLoad.d.ts.map +1 -0
  107. package/dist/ui/accordion.d.ts +8 -0
  108. package/dist/ui/accordion.d.ts.map +1 -0
  109. package/dist/ui/badge.d.ts +10 -0
  110. package/dist/ui/badge.d.ts.map +1 -0
  111. package/dist/ui/button.d.ts +11 -0
  112. package/dist/ui/button.d.ts.map +1 -0
  113. package/dist/ui/calendar.d.ts +9 -0
  114. package/dist/ui/calendar.d.ts.map +1 -0
  115. package/dist/ui/card.d.ts +14 -0
  116. package/dist/ui/card.d.ts.map +1 -0
  117. package/dist/ui/checkbox.d.ts +5 -0
  118. package/dist/ui/checkbox.d.ts.map +1 -0
  119. package/dist/ui/command.d.ts +19 -0
  120. package/dist/ui/command.d.ts.map +1 -0
  121. package/dist/ui/dialog.d.ts +16 -0
  122. package/dist/ui/dialog.d.ts.map +1 -0
  123. package/dist/ui/dropdown-menu.d.ts +26 -0
  124. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  125. package/dist/ui/field.d.ts +26 -0
  126. package/dist/ui/field.d.ts.map +1 -0
  127. package/dist/ui/file-upload.d.ts +88 -0
  128. package/dist/ui/file-upload.d.ts.map +1 -0
  129. package/dist/ui/form.d.ts +25 -0
  130. package/dist/ui/form.d.ts.map +1 -0
  131. package/dist/ui/index.d.ts +27 -0
  132. package/dist/ui/index.d.ts.map +1 -0
  133. package/dist/ui/input.d.ts +4 -0
  134. package/dist/ui/input.d.ts.map +1 -0
  135. package/dist/ui/item.d.ts +24 -0
  136. package/dist/ui/item.d.ts.map +1 -0
  137. package/dist/ui/label.d.ts +5 -0
  138. package/dist/ui/label.d.ts.map +1 -0
  139. package/dist/ui/popover.d.ts +8 -0
  140. package/dist/ui/popover.d.ts.map +1 -0
  141. package/dist/ui/progress.d.ts +7 -0
  142. package/dist/ui/progress.d.ts.map +1 -0
  143. package/dist/ui/radio-group.d.ts +6 -0
  144. package/dist/ui/radio-group.d.ts.map +1 -0
  145. package/dist/ui/scroll-area.d.ts +6 -0
  146. package/dist/ui/scroll-area.d.ts.map +1 -0
  147. package/dist/ui/select.d.ts +16 -0
  148. package/dist/ui/select.d.ts.map +1 -0
  149. package/dist/ui/separator.d.ts +5 -0
  150. package/dist/ui/separator.d.ts.map +1 -0
  151. package/dist/ui/sonner.d.ts +4 -0
  152. package/dist/ui/sonner.d.ts.map +1 -0
  153. package/dist/ui/spinner.d.ts +3 -0
  154. package/dist/ui/spinner.d.ts.map +1 -0
  155. package/dist/ui/table.d.ts +11 -0
  156. package/dist/ui/table.d.ts.map +1 -0
  157. package/dist/ui/textarea.d.ts +4 -0
  158. package/dist/ui/textarea.d.ts.map +1 -0
  159. package/dist/ui/tooltip.d.ts +8 -0
  160. package/dist/ui/tooltip.d.ts.map +1 -0
  161. package/dist/utils.d.ts +3 -0
  162. package/dist/utils.d.ts.map +1 -0
  163. 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,oCAAoC;IACpC,KAAK,CAAC,EAAE;QACN,yBAAyB;QACzB,UAAU,CAAC,EAAE,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;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.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,EAAE;QACP,aAAa,EAAE,MAAM,iBAAiB,EAAE,CAAC;QACzC,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,iBAAiB,GAAG,SAAS,CAAC;KACpE,CAAC;IACF,YAAY,EAAE;QACZ,aAAa,EAAE,MAAM,CAAC;QACtB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,QAAQ,EAAE;QACR,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;QACpD,mBAAmB,EAAE,MAAM,IAAI,CAAC;QAChC,kBAAkB,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;QACrE,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;QAC5C,WAAW,EAAE,MAAM,IAAI,CAAC;QACxB,iBAAiB,EAAE,MAAM,IAAI,CAAC;QAC9B,SAAS,EAAE,MAAM,IAAI,CAAC;QACtB,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;QACjD,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;KACnD,CAAC;CACH;AAED,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
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/MultiSelect/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,QAAQ,CAAC;AAEhB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,gBAAgB,GAC3B,MAAM,iBAAiB,EAAE,GAAG,gBAAgB,EAAE,KAC7C,IAAI,IAAI,gBAAgB,EAE1B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,GAAG,MAAM,EAAE,EAAE,GAAG,MAAM,EAAE,KAAG,OAKtD,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,SAAS,iBAAiB,EAAE,GAAG,gBAAgB,EAAE,EACjD,oBAAoB,OAAO,KAC1B;IAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAAC,UAAU,EAAE,MAAM,EAAE,CAAA;CAuBtD,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,YAAY,gBAAgB,CAAC,YAAY,CAAC,EAC1C,UAAU,MAAM,EAChB,YAAY,UAAU,KACrB,kBA8BF,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,aAAa,OAAO,EACpB,kBAAkB,eAAe,KAChC,MAqBF,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,kBAAkB,eAAe,KAAG,MAmB9E,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,SAAS,iBAAiB,EAAE,GAAG,gBAAgB,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,3 @@
1
+ export { BaseSelect as default } from './BaseSelect';
2
+ export type { BaseSelectCommonProps, SelectValue, BaseSelectOption } from './type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -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,115 +1,126 @@
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";
1
+ import { Activity as e, AlertCircle as ee, ArrowLeft as t, ArrowRight as te, Award as ne, BarChart3 as re, BookOpen as ie, Bot as n, Brain as r, Calendar as i, CalendarIcon as a, Camera as o, Cat as s, Check as c, CheckCircle2 as l, CheckIcon as u, ChevronDown as d, ChevronDownIcon as f, ChevronLeft as p, ChevronRight as m, ChevronUp as h, Circle as g, Clock as _, CloudUpload as v, Code as y, Copy as b, Cpu as x, Database as S, Dog as C, DollarSign as w, Edit as T, Eye as E, EyeOff as D, FileArchiveIcon as O, FileAudioIcon as k, FileCodeIcon as A, FileCogIcon as j, FileIcon as M, FileQuestion as N, FileTextIcon as P, FileVideoIcon as F, Fish as I, Flame as L, Folder as R, FolderHeart as z, FolderOpen as B, GitBranch as V, GitCommit as H, GitMerge as U, Globe as W, HardDrive as G, Headphones as K, Heart as q, History as J, Home as Y, Image as X, Info as ae, Languages as oe, Lightbulb as se, Loader2 as ce, LoaderCircleIcon as Z, LoaderIcon as le, LoaderPinwheelIcon as ue, Mail as de, Maximize as fe, MessageCircle as pe, MessageSquare as me, Mic as he, Minimize as ge, Monitor as _e, Moon as ve, MoonIcon as ye, MoreHorizontal as be, Palette as xe, PenTool as Se, Pencil as Ce, Phone as we, PhoneOff as Te, PieChart as Ee, Play as De, Plus as Oe, PlusCircle as ke, Rabbit as Ae, RefreshCcw as je, Save as Me, Search as Ne, SearchIcon as Pe, Send as Fe, Settings as Ie, Shield as Le, Smartphone as Re, Sparkles as ze, Square as Be, Star as Ve, Sun as He, SunMedium as Ue, Target as We, Terminal as Ge, Trash2 as Ke, TrendingUp as qe, Trophy as Je, Turtle as Ye, Type as Xe, Undo2 as Ze, Upload as Qe, UploadCloud as $e, User as et, Users as tt, Video as nt, Volume2 as rt, Wand2 as it, WandSparkles as Q, X as at, XCircle as ot, XIcon as st, Zap as ct } from "lucide-react";
2
2
  import { jsx as $ } from "react/jsx-runtime";
3
3
  //#region src/Icons/Icons.tsx
4
- var et = {
5
- MoonIcon: me,
6
- SunIcon: Le,
7
- Award: re,
8
- Cat: c,
9
- Dog: w,
10
- Fish: L,
11
- Rabbit: we,
12
- Turtle: Ve,
13
- Code: b,
14
- Globe: B,
15
- Users: Ke,
16
- Star: Fe,
17
- Heart: U,
18
- Zap: $e,
19
- Cpu: S,
20
- Database: C,
21
- Monitor: fe,
22
- Smartphone: Me,
23
- Wand: Ye,
4
+ var lt = {
5
+ MoonIcon: ye,
6
+ SunIcon: Ue,
7
+ Award: ne,
8
+ Cat: s,
9
+ Dog: C,
10
+ Fish: I,
11
+ Rabbit: Ae,
12
+ Turtle: Ye,
13
+ Code: y,
14
+ Globe: W,
15
+ Users: tt,
16
+ Star: Ve,
17
+ Heart: q,
18
+ Zap: ct,
19
+ Cpu: x,
20
+ Database: S,
21
+ Monitor: _e,
22
+ Smartphone: Re,
23
+ Wand: it,
24
24
  WandSparkles: Q,
25
- Calendar: a,
26
- CalendarIcon: o,
27
- HardDrive: V,
28
- TrendingUp: ze,
29
- DollarSign: T,
30
- Target: Re,
31
- Shield: je,
32
- Mail: oe,
33
- PieChart: be,
25
+ Calendar: i,
26
+ CalendarIcon: a,
27
+ HardDrive: G,
28
+ TrendingUp: qe,
29
+ DollarSign: w,
30
+ Target: We,
31
+ Shield: Le,
32
+ Mail: de,
33
+ PieChart: Ee,
34
34
  Activity: e,
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
- Copy: x,
48
- Check: l,
49
- CheckIcon: d,
50
- Clock: v,
51
- ChevronUp: g,
52
- ChevronDown: f,
53
- ChevronDownIcon: p,
54
- ChevronRight: h,
55
- ChevronLeft: m,
56
- Sparkles: Ne,
35
+ Search: Ne,
36
+ SearchIcon: Pe,
37
+ MessageCircle: pe,
38
+ Bot: n,
39
+ MoreHorizontal: be,
40
+ Maximize: fe,
41
+ Minimize: ge,
42
+ X: at,
43
+ XIcon: st,
44
+ XCircle: ot,
45
+ EyeOff: D,
46
+ Eye: E,
47
+ Copy: b,
48
+ Check: c,
49
+ CheckIcon: u,
50
+ Clock: _,
51
+ ChevronUp: h,
52
+ ChevronDown: d,
53
+ ChevronDownIcon: f,
54
+ ChevronRight: m,
55
+ ChevronLeft: p,
56
+ Sparkles: ze,
57
57
  WandSparklesIcon: Q,
58
- Play: xe,
59
- Headphones: H,
60
- Brain: i,
61
- PenTool: _e,
62
- BookOpen: n,
63
- BarChart3: t,
64
- CheckCircle2: u,
65
- Moon: pe,
66
- Sun: Ie,
67
- CloudUpload: y,
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
- Circle: _,
93
- Send: ke,
94
- Loader2: X,
95
- History: W,
96
- Languages: J,
97
- Lightbulb: Y,
98
- FileQuestion: P,
99
- Home: G,
58
+ Play: De,
59
+ Headphones: K,
60
+ Brain: r,
61
+ PenTool: Se,
62
+ BookOpen: ie,
63
+ BarChart3: re,
64
+ CheckCircle2: l,
65
+ Moon: ve,
66
+ Sun: He,
67
+ CloudUpload: v,
68
+ LoaderCircleIcon: Z,
69
+ LoaderIcon: le,
70
+ LoaderPinwheelIcon: ue,
71
+ FileArchiveIcon: O,
72
+ FileAudioIcon: k,
73
+ FileCodeIcon: A,
74
+ FileCogIcon: j,
75
+ FileIcon: M,
76
+ FileTextIcon: P,
77
+ FileVideoIcon: F,
78
+ Trophy: Je,
79
+ Flame: L,
80
+ Undo2: Ze,
81
+ Volume2: rt,
82
+ ArrowRight: te,
83
+ ArrowLeft: t,
84
+ Plus: Oe,
85
+ PlusCircle: ke,
86
+ Info: ae,
87
+ Square: Be,
88
+ Mic: he,
89
+ MessageSquare: me,
90
+ Phone: we,
91
+ PhoneOff: Te,
92
+ Circle: g,
93
+ Send: Fe,
94
+ Loader2: ce,
95
+ History: J,
96
+ Languages: oe,
97
+ Lightbulb: se,
98
+ FileQuestion: N,
99
+ Home: Y,
100
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,
101
+ RefreshCcw: je,
102
+ Settings: Ie,
103
+ Camera: o,
104
+ Folder: R,
105
+ Image: X,
106
+ Video: nt,
107
+ Upload: Qe,
108
+ UploadCloud: $e,
109
+ Save: Me,
110
+ Palette: xe,
111
+ Type: Xe,
112
+ Edit: T,
113
+ Pencil: Ce,
114
+ Trash2: Ke,
115
+ FolderHeart: z,
116
+ FolderOpen: B,
117
+ GitBranch: V,
118
+ GitMerge: U,
119
+ GitCommit: H,
120
+ User: et,
121
+ Terminal: Ge,
122
+ HomeIcon: Y,
123
+ ImageIcon: X,
113
124
  GitHub: ({ ...e }) => /* @__PURE__ */ $("svg", {
114
125
  "aria-hidden": "true",
115
126
  focusable: "false",
@@ -126,4 +137,4 @@ var et = {
126
137
  })
127
138
  };
128
139
  //#endregion
129
- export { et as Icons };
140
+ export { lt 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,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;
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,Pencil:e.Pencil,Trash2:e.Trash2,FolderHeart:e.FolderHeart,FolderOpen:e.FolderOpen,GitBranch:e.GitBranch,GitMerge:e.GitMerge,GitCommit:e.GitCommit,User:e.User,Terminal:e.Terminal,HomeIcon:e.Home,ImageIcon:e.Image,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;