@solibo/solibo-ui 0.3.1 → 0.3.4
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/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -0
- package/dist/assets/index28.css +1 -0
- package/dist/assets/index29.css +1 -0
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -0
- package/dist/assets/index31.css +1 -0
- package/dist/assets/index32.css +1 -0
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +0 -1
- package/dist/assets/index9.css +1 -0
- package/dist/assets/styles.css +1 -0
- package/dist/components/_avatar/index.cjs +2 -0
- package/dist/components/_avatar/index.cjs.map +1 -0
- package/dist/components/_avatar/index.js +18 -0
- package/dist/components/_avatar/index.js.map +1 -0
- package/dist/components/_card/index.cjs +1 -1
- package/dist/components/_card/index.js +9 -9
- package/dist/components/_collapsible/index.cjs +2 -0
- package/dist/components/_collapsible/index.cjs.map +1 -0
- package/dist/components/_collapsible/index.js +21 -0
- package/dist/components/_collapsible/index.js.map +1 -0
- package/dist/components/_dropzone/index.cjs +1 -1
- package/dist/components/_dropzone/index.cjs.map +1 -1
- package/dist/components/_dropzone/index.js +10 -10
- package/dist/components/_dropzone/index.js.map +1 -1
- package/dist/components/_editor/index.cjs +2 -2
- package/dist/components/_editor/index.js +2 -2
- package/dist/components/_messages/index.cjs +2 -0
- package/dist/components/_messages/index.cjs.map +1 -0
- package/dist/components/_messages/index.js +11 -0
- package/dist/components/_messages/index.js.map +1 -0
- package/dist/components/_portal/index.cjs +1 -1
- package/dist/components/_portal/index.cjs.map +1 -1
- package/dist/components/_portal/index.js +18 -13
- package/dist/components/_portal/index.js.map +1 -1
- package/dist/components/_toasts/index.cjs +2 -0
- package/dist/components/_toasts/index.cjs.map +1 -0
- package/dist/components/_toasts/index.js +40 -0
- package/dist/components/_toasts/index.js.map +1 -0
- package/dist/components/accordion/index.cjs +1 -1
- package/dist/components/accordion/index.cjs.map +1 -1
- package/dist/components/accordion/index.js +8 -8
- package/dist/components/accordion/index.js.map +1 -1
- package/dist/components/aside/index.cjs +1 -1
- package/dist/components/aside/index.cjs.map +1 -1
- package/dist/components/aside/index.js +9 -9
- package/dist/components/banner/index.cjs +1 -1
- package/dist/components/banner/index.cjs.map +1 -1
- package/dist/components/banner/index.js +13 -13
- package/dist/components/banner/index.js.map +1 -1
- package/dist/components/branding/index.cjs +1 -1
- package/dist/components/branding/index.js +1 -1
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.cjs.map +1 -1
- package/dist/components/button/index.js +15 -15
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/dialog/index.cjs +1 -1
- package/dist/components/dialog/index.cjs.map +1 -1
- package/dist/components/dialog/index.js +10 -9
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/figure/index.cjs +1 -1
- package/dist/components/figure/index.js +12 -12
- package/dist/components/file/index.cjs +1 -1
- package/dist/components/file/index.cjs.map +1 -1
- package/dist/components/file/index.js +17 -11
- package/dist/components/file/index.js.map +1 -1
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +3 -3
- package/dist/components/group/index.cjs +1 -1
- package/dist/components/group/index.js +1 -1
- package/dist/components/header/index.cjs +1 -1
- package/dist/components/header/index.js +4 -4
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.cjs.map +1 -1
- package/dist/components/icon/index.js +26 -24
- package/dist/components/icon/index.js.map +1 -1
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.cjs.map +1 -1
- package/dist/components/input/index.js +46 -17
- package/dist/components/input/index.js.map +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.cjs.map +1 -1
- package/dist/components/layout/index.js +11 -10
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/link/index.cjs +1 -1
- package/dist/components/link/index.cjs.map +1 -1
- package/dist/components/link/index.js +13 -15
- package/dist/components/link/index.js.map +1 -1
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.cjs.map +1 -1
- package/dist/components/list/index.js +18 -9
- package/dist/components/list/index.js.map +1 -1
- package/dist/components/message/index.cjs +2 -0
- package/dist/components/message/index.cjs.map +1 -0
- package/dist/components/message/index.js +16 -0
- package/dist/components/message/index.js.map +1 -0
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +10 -10
- package/dist/components/select/index.cjs +1 -1
- package/dist/components/select/index.cjs.map +1 -1
- package/dist/components/select/index.js +23 -20
- package/dist/components/select/index.js.map +1 -1
- package/dist/components/sortable/index.cjs +1 -1
- package/dist/components/sortable/index.js +1 -1
- package/dist/components/textarea/index.cjs +2 -0
- package/dist/components/textarea/index.cjs.map +1 -0
- package/dist/components/textarea/index.js +24 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/toast/index.cjs +2 -0
- package/dist/components/toast/index.cjs.map +1 -0
- package/dist/components/toast/index.js +33 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/icons-LUDXnYZb.cjs +2 -0
- package/dist/icons-LUDXnYZb.cjs.map +1 -0
- package/dist/{icons-uK6EFyq8.js → icons-S3H6wxpA.js} +15 -9
- package/dist/icons-S3H6wxpA.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +90 -13
- package/dist/index.js +64 -50
- package/dist/index.js.map +1 -1
- package/dist/styles.module-Cudd-ern.cjs +2 -0
- package/dist/styles.module-Cudd-ern.cjs.map +1 -0
- package/dist/styles.module-adedWXIX.js +10 -0
- package/dist/styles.module-adedWXIX.js.map +1 -0
- package/dist/utils-DXIJVVzz.js +14 -0
- package/dist/utils-DXIJVVzz.js.map +1 -0
- package/dist/utils-D_TJ8wDc.cjs +2 -0
- package/dist/utils-D_TJ8wDc.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/icons-BhMCiRwT.cjs +0 -2
- package/dist/icons-BhMCiRwT.cjs.map +0 -1
- package/dist/icons-uK6EFyq8.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const Accordion: ({ children, icon, label, open }: AccordionProps
|
|
|
10
10
|
declare type AccordionProps = {
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
icon?: IconName;
|
|
13
|
-
label
|
|
13
|
+
label?: string;
|
|
14
14
|
open?: boolean;
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -26,6 +26,14 @@ declare type AsideProps = {
|
|
|
26
26
|
variant?: keyof typeof variants;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
export declare const Avatar: ({ imageUrl, label, link }: AvatarProps) => JSX.Element;
|
|
30
|
+
|
|
31
|
+
declare type AvatarProps = {
|
|
32
|
+
imageUrl?: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
link?: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
29
37
|
export declare const Banner: ({ button, message, onClick, onDismiss, visible }: BannerProps) => JSX.Element;
|
|
30
38
|
|
|
31
39
|
declare type BannerProps = {
|
|
@@ -77,10 +85,19 @@ declare type CheckboxProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
77
85
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
78
86
|
};
|
|
79
87
|
|
|
80
|
-
export declare const
|
|
88
|
+
export declare const Collapsible: ({ children, disableCollapse, summary }: CollapsibleProps) => JSX.Element;
|
|
81
89
|
|
|
82
|
-
declare type
|
|
83
|
-
children:
|
|
90
|
+
declare type CollapsibleProps = {
|
|
91
|
+
children: default_2.ReactNode;
|
|
92
|
+
disableCollapse?: boolean;
|
|
93
|
+
summary: default_2.ReactNode;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export declare const Dialog: ({ children, setOpen, ...props }: DialogProps) => JSX.Element;
|
|
97
|
+
|
|
98
|
+
declare type DialogProps = default_2.DialogHTMLAttributes<HTMLDialogElement> & {
|
|
99
|
+
children: default_2.ReactNode;
|
|
100
|
+
setOpen?: default_2.Dispatch<default_2.SetStateAction<boolean>>;
|
|
84
101
|
};
|
|
85
102
|
|
|
86
103
|
export declare const Dropzone: ({ accepts, label, multiple, onChange, ...props }: DropzoneProps) => JSX.Element;
|
|
@@ -110,12 +127,14 @@ declare type FigureProps = {
|
|
|
110
127
|
offset?: 'left' | 'right';
|
|
111
128
|
};
|
|
112
129
|
|
|
113
|
-
declare const File_2: ({ name, url }: FileProps) => JSX.Element;
|
|
130
|
+
declare const File_2: ({ name, onClick, url, variant }: FileProps) => JSX.Element;
|
|
114
131
|
export { File_2 as File }
|
|
115
132
|
|
|
116
133
|
declare type FileProps = {
|
|
117
134
|
name: string;
|
|
135
|
+
onClick?: () => void;
|
|
118
136
|
url: string;
|
|
137
|
+
variant?: 'primary' | 'danger';
|
|
119
138
|
};
|
|
120
139
|
|
|
121
140
|
export declare const Form: ({ animation, children, inline, ...props }: FormProps) => JSX.Element;
|
|
@@ -150,18 +169,24 @@ declare const iconPaths: {
|
|
|
150
169
|
card: string;
|
|
151
170
|
chevron: string;
|
|
152
171
|
clipboard: string;
|
|
153
|
-
gear: string;
|
|
154
172
|
document: string;
|
|
173
|
+
error: string;
|
|
174
|
+
gear: string;
|
|
155
175
|
home: string;
|
|
156
176
|
image: string;
|
|
177
|
+
info: string;
|
|
157
178
|
italic: string;
|
|
158
179
|
link: string;
|
|
159
180
|
list: string;
|
|
181
|
+
menu: string;
|
|
182
|
+
mobile: string;
|
|
160
183
|
pencil: string;
|
|
161
184
|
people: string;
|
|
162
185
|
phone: string;
|
|
163
186
|
plus: string;
|
|
164
187
|
search: string;
|
|
188
|
+
success: string;
|
|
189
|
+
trash: string;
|
|
165
190
|
upload: string;
|
|
166
191
|
user: string;
|
|
167
192
|
x: string;
|
|
@@ -175,35 +200,53 @@ declare type IconProps = {
|
|
|
175
200
|
};
|
|
176
201
|
|
|
177
202
|
export declare const Input: ForwardRefExoticComponent<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
203
|
+
defaultCountryCode?: string;
|
|
178
204
|
disabled?: boolean;
|
|
179
205
|
label?: string;
|
|
180
206
|
placeholder?: string;
|
|
181
207
|
type?: "datetime-local" | "email" | "number" | "password" | "radio" | "search" | "tel" | "text";
|
|
182
208
|
} & RefAttributes<HTMLInputElement>>;
|
|
183
209
|
|
|
184
|
-
export declare const Layout: ({ children, feature, ...props }: LayoutProps) => JSX.Element;
|
|
210
|
+
export declare const Layout: ({ children, isLoading, feature, ...props }: LayoutProps) => JSX.Element;
|
|
185
211
|
|
|
186
212
|
declare type LayoutProps = {
|
|
187
213
|
children: React.ReactNode;
|
|
188
214
|
feature: 'home';
|
|
215
|
+
isLoading?: boolean;
|
|
189
216
|
};
|
|
190
217
|
|
|
191
|
-
export declare const Link: ({ children, className, to,
|
|
218
|
+
export declare const Link: ({ children, className, to, variant, ...props }: LinkProps) => JSX.Element;
|
|
192
219
|
|
|
193
220
|
declare type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
194
|
-
children
|
|
221
|
+
children: React.ReactNode;
|
|
195
222
|
className?: string;
|
|
196
|
-
label: string;
|
|
197
223
|
to?: string;
|
|
224
|
+
variant?: 'primary' | 'danger';
|
|
198
225
|
};
|
|
199
226
|
|
|
200
227
|
export declare const List: ({ children, className }: ListProps) => JSX.Element;
|
|
201
228
|
|
|
202
229
|
declare type ListProps = {
|
|
203
|
-
children?:
|
|
230
|
+
children?: default_2.ReactNode;
|
|
204
231
|
className?: string;
|
|
205
232
|
};
|
|
206
233
|
|
|
234
|
+
export declare const Message: ({ content, id, type }: MessageOptions) => JSX.Element;
|
|
235
|
+
|
|
236
|
+
declare type MessageItem = MessageOptions;
|
|
237
|
+
|
|
238
|
+
export declare type MessageOptions = {
|
|
239
|
+
content: React.ReactNode;
|
|
240
|
+
id: string;
|
|
241
|
+
type?: 'default' | 'system' | 'user';
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
export declare const Messages: ({ messages }: MessagesProps) => JSX.Element | null;
|
|
245
|
+
|
|
246
|
+
declare type MessagesProps = {
|
|
247
|
+
messages: MessageItem[];
|
|
248
|
+
};
|
|
249
|
+
|
|
207
250
|
export declare const Nav: ({ animation, children, horizontal, variant }: NavProps) => JSX.Element;
|
|
208
251
|
|
|
209
252
|
declare type NavProps = {
|
|
@@ -220,11 +263,10 @@ declare type PortalProps = {
|
|
|
220
263
|
portals?: React.ReactNode;
|
|
221
264
|
};
|
|
222
265
|
|
|
223
|
-
export declare const Select: ({ children,
|
|
266
|
+
export declare const Select: ({ children, label, placeholder, ...props }: SelectProps) => JSX.Element;
|
|
224
267
|
|
|
225
268
|
declare type SelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
226
269
|
children: React.ReactNode;
|
|
227
|
-
inline?: boolean;
|
|
228
270
|
label?: string;
|
|
229
271
|
placeholder?: string;
|
|
230
272
|
};
|
|
@@ -250,6 +292,40 @@ declare type SortItem = {
|
|
|
250
292
|
weight: number;
|
|
251
293
|
};
|
|
252
294
|
|
|
295
|
+
export declare const Textarea: ({ label, ...props }: TextareaProps) => JSX.Element;
|
|
296
|
+
|
|
297
|
+
declare type TextareaProps = React.ComponentPropsWithoutRef<'textarea'> & {
|
|
298
|
+
disabled?: boolean;
|
|
299
|
+
label?: string;
|
|
300
|
+
placeholder?: string;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
export declare const Toast: ({ label, type, onClick, onExitComplete, open, }: ToastProps) => JSX.Element;
|
|
304
|
+
|
|
305
|
+
declare type ToastItem = ToastOptions & {
|
|
306
|
+
id: string;
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
export declare type ToastOptions = {
|
|
310
|
+
durationMs?: number;
|
|
311
|
+
label: string;
|
|
312
|
+
type?: 'error' | 'info' | 'success';
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
declare type ToastProps = ToastOptions & {
|
|
316
|
+
onClick?: () => void;
|
|
317
|
+
onExitComplete?: () => void;
|
|
318
|
+
open?: boolean;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export declare const Toasts: ({ defaultDurationMs, onRemove, toasts }: ToastsProps) => JSX.Element | null;
|
|
322
|
+
|
|
323
|
+
declare type ToastsProps = {
|
|
324
|
+
defaultDurationMs?: number;
|
|
325
|
+
onRemove: (id: string) => void;
|
|
326
|
+
toasts: ToastItem[];
|
|
327
|
+
};
|
|
328
|
+
|
|
253
329
|
export declare const Toggle: ({ checked, disabled, isLoading, label, onChange }: ToggleProps) => JSX.Element;
|
|
254
330
|
|
|
255
331
|
declare type ToggleProps = {
|
|
@@ -277,6 +353,7 @@ declare const variants_3: {
|
|
|
277
353
|
};
|
|
278
354
|
|
|
279
355
|
declare const variants_4: {
|
|
356
|
+
danger: string;
|
|
280
357
|
default: string;
|
|
281
358
|
primary: string;
|
|
282
359
|
white: string;
|
package/dist/index.js
CHANGED
|
@@ -1,53 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
1
|
+
import { Avatar as e } from "./components/_avatar/index.js";
|
|
2
|
+
import { Card as p } from "./components/_card/index.js";
|
|
3
|
+
import { Collapsible as m } from "./components/_collapsible/index.js";
|
|
4
|
+
import { Dropzone as a } from "./components/_dropzone/index.js";
|
|
5
|
+
import { Editor as i } from "./components/_editor/index.js";
|
|
6
|
+
import { Messages as l } from "./components/_messages/index.js";
|
|
7
|
+
import { Portal as d } from "./components/_portal/index.js";
|
|
8
|
+
import { Toasts as u } from "./components/_toasts/index.js";
|
|
9
|
+
import { Accordion as b } from "./components/accordion/index.js";
|
|
10
|
+
import { Aside as B } from "./components/aside/index.js";
|
|
11
|
+
import { Banner as F } from "./components/banner/index.js";
|
|
12
|
+
import { Branding as k } from "./components/branding/index.js";
|
|
13
|
+
import { Button as D } from "./components/button/index.js";
|
|
14
|
+
import { Checkbox as M } from "./components/checkbox/index.js";
|
|
15
|
+
import { Dialog as h } from "./components/dialog/index.js";
|
|
16
|
+
import { Figure as z } from "./components/figure/index.js";
|
|
17
|
+
import { File as G } from "./components/file/index.js";
|
|
18
|
+
import { Form as N } from "./components/form/index.js";
|
|
19
|
+
import { Group as j } from "./components/group/index.js";
|
|
20
|
+
import { Header as w } from "./components/header/index.js";
|
|
21
|
+
import { Icon as K } from "./components/icon/index.js";
|
|
22
|
+
import { Input as Q } from "./components/input/index.js";
|
|
23
|
+
import { Layout as U } from "./components/layout/index.js";
|
|
24
|
+
import { Link as W } from "./components/link/index.js";
|
|
25
|
+
import { List as Y } from "./components/list/index.js";
|
|
26
|
+
import { Message as _ } from "./components/message/index.js";
|
|
27
|
+
import { Nav as oo } from "./components/nav/index.js";
|
|
28
|
+
import { Select as eo } from "./components/select/index.js";
|
|
29
|
+
import { Sortable as po } from "./components/sortable/index.js";
|
|
30
|
+
import { Textarea as mo } from "./components/textarea/index.js";
|
|
31
|
+
import { Toast as ao } from "./components/toast/index.js";
|
|
32
|
+
import { Toggle as io } from "./components/toggle/index.js";
|
|
26
33
|
import './assets/index.css';export {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
34
|
+
b as Accordion,
|
|
35
|
+
B as Aside,
|
|
36
|
+
e as Avatar,
|
|
37
|
+
F as Banner,
|
|
38
|
+
k as Branding,
|
|
39
|
+
D as Button,
|
|
40
|
+
p as Card,
|
|
41
|
+
M as Checkbox,
|
|
42
|
+
m as Collapsible,
|
|
43
|
+
h as Dialog,
|
|
44
|
+
a as Dropzone,
|
|
45
|
+
i as Editor,
|
|
46
|
+
z as Figure,
|
|
47
|
+
G as File,
|
|
48
|
+
N as Form,
|
|
49
|
+
j as Group,
|
|
50
|
+
w as Header,
|
|
51
|
+
K as Icon,
|
|
52
|
+
Q as Input,
|
|
53
|
+
U as Layout,
|
|
54
|
+
W as Link,
|
|
55
|
+
Y as List,
|
|
56
|
+
_ as Message,
|
|
57
|
+
l as Messages,
|
|
58
|
+
oo as Nav,
|
|
59
|
+
d as Portal,
|
|
60
|
+
eo as Select,
|
|
61
|
+
po as Sortable,
|
|
62
|
+
mo as Textarea,
|
|
63
|
+
ao as Toast,
|
|
64
|
+
u as Toasts,
|
|
65
|
+
io as Toggle
|
|
52
66
|
};
|
|
53
67
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.module-Cudd-ern.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './assets/styles.css';const n = "_container_1n11h_1", e = "_input_1n11h_10", t = "_label_1n11h_42", _ = "_required_1n11h_46", i = {
|
|
2
|
+
container: n,
|
|
3
|
+
input: e,
|
|
4
|
+
label: t,
|
|
5
|
+
required: _
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
i
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=styles.module-adedWXIX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.module-adedWXIX.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useState as s, useCallback as c, useEffect as r } from "react";
|
|
2
|
+
function f(t) {
|
|
3
|
+
const [u, e] = s(!1), o = c(() => e(!0), []);
|
|
4
|
+
return r(() => {
|
|
5
|
+
e(!1);
|
|
6
|
+
}, [t]), {
|
|
7
|
+
touched: u,
|
|
8
|
+
onBlur: o
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
f as u
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=utils-DXIJVVzz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-DXIJVVzz.js","sources":["../src/utils.ts"],"sourcesContent":["import { useCallback, useEffect, useState } from 'react';\n\nexport function useTouched(resetKey?: any) {\n const [touched, setTouched] = useState(false);\n const onBlur = useCallback(() => setTouched(true), []);\n\n useEffect(() => {\n setTouched(false);\n }, [resetKey]);\n\n return { touched, onBlur };\n}\n"],"names":["useTouched","resetKey","touched","setTouched","useState","onBlur","useCallback","useEffect"],"mappings":";AAEO,SAASA,EAAWC,GAAgB;AACzC,QAAM,CAACC,GAASC,CAAU,IAAIC,EAAS,EAAK,GACtCC,IAASC,EAAY,MAAMH,EAAW,EAAI,GAAG,CAAA,CAAE;AAErDI,SAAAA,EAAU,MAAM;AACdJ,IAAAA,EAAW,EAAK;AAAA,EAClB,GAAG,CAACF,CAAQ,CAAC,GAEN;AAAA,IAAEC,SAAAA;AAAAA,IAASG,QAAAA;AAAAA,EAAAA;AACpB;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-D_TJ8wDc.cjs","sources":["../src/utils.ts"],"sourcesContent":["import { useCallback, useEffect, useState } from 'react';\n\nexport function useTouched(resetKey?: any) {\n const [touched, setTouched] = useState(false);\n const onBlur = useCallback(() => setTouched(true), []);\n\n useEffect(() => {\n setTouched(false);\n }, [resetKey]);\n\n return { touched, onBlur };\n}\n"],"names":["useTouched","resetKey","touched","setTouched","useState","onBlur","useCallback","useEffect"],"mappings":"sCAEO,SAASA,EAAWC,EAAgB,CACzC,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAAA,SAAS,EAAK,EACtCC,EAASC,EAAAA,YAAY,IAAMH,EAAW,EAAI,EAAG,CAAA,CAAE,EAErDI,OAAAA,EAAAA,UAAU,IAAM,CACdJ,EAAW,EAAK,CAClB,EAAG,CAACF,CAAQ,CAAC,EAEN,CAAEC,QAAAA,EAASG,OAAAA,CAAAA,CACpB"}
|
package/package.json
CHANGED
package/dist/icons-BhMCiRwT.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const m={bold:"M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z",buildings:"M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z",card:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z",chevron:"m19.5 8.25-7.5 7.5-7.5-7.5",clipboard:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75",gear:"M2.3 11.2C2.3 16.2 6.4 20.3 11.4 20.3C16.4 20.3 20.4 16.2 20.4 11.2M2.3 11.2C2.3 6.2 6.4 2.1 11.4 2.1C16.4 2.1 20.4 6.2 20.4 11.2M2.3 11.2L0.5 11.2M20.4 11.2L22.2 11.2M20.4 11.2L11.4 11.2M1.2 14.9L2.9 14.3M19.9 8.1L21.6 7.5M3 18.2L4.4 17M18.3 5.4L19.7 4.2M5.9 20.6L6.8 19.1M15.9 3.4L16.8 1.8M9.5 21.9L9.8 20.1M12.9 2.3L13.3 0.5M13.3 21.9L12.9 20.1M9.8 2.3L9.5 0.5M16.8 20.6L15.9 19.1M5.9 1.8L11.4 11.2M19.7 18.2L18.3 17M4.4 5.4L3 4.2M21.6 14.9L19.9 14.3M2.9 8.1L1.2 7.5M11.4 11.2L6.8 19.1",document:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z",home:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25",image:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z",italic:"M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803",link:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244",list:"M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z",pencil:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z",people:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z",phone:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z",plus:"M12 4.5v15m7.5-7.5h-15",search:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z",upload:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5",user:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z",x:"M6 18 18 6M6 6l12 12"};function a(h){return`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${h}' /%3E%3C/svg%3E%0A")`}const M=h=>a(m[h]);exports.embedSVG=a;exports.iconPaths=m;exports.iconSVG=M;
|
|
2
|
-
//# sourceMappingURL=icons-BhMCiRwT.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons-BhMCiRwT.cjs","sources":["../src/components/icon/icons.ts"],"sourcesContent":["export type IconName = keyof typeof iconPaths;\n\nexport const iconPaths = {\n bold: 'M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z',\n buildings:\n 'M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z',\n card: 'M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z',\n chevron: 'm19.5 8.25-7.5 7.5-7.5-7.5',\n clipboard:\n 'M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75',\n gear: 'M2.3 11.2C2.3 16.2 6.4 20.3 11.4 20.3C16.4 20.3 20.4 16.2 20.4 11.2M2.3 11.2C2.3 6.2 6.4 2.1 11.4 2.1C16.4 2.1 20.4 6.2 20.4 11.2M2.3 11.2L0.5 11.2M20.4 11.2L22.2 11.2M20.4 11.2L11.4 11.2M1.2 14.9L2.9 14.3M19.9 8.1L21.6 7.5M3 18.2L4.4 17M18.3 5.4L19.7 4.2M5.9 20.6L6.8 19.1M15.9 3.4L16.8 1.8M9.5 21.9L9.8 20.1M12.9 2.3L13.3 0.5M13.3 21.9L12.9 20.1M9.8 2.3L9.5 0.5M16.8 20.6L15.9 19.1M5.9 1.8L11.4 11.2M19.7 18.2L18.3 17M4.4 5.4L3 4.2M21.6 14.9L19.9 14.3M2.9 8.1L1.2 7.5M11.4 11.2L6.8 19.1',\n document:\n 'M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z',\n home: 'm2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25',\n image:\n 'm2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z',\n italic: 'M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803',\n link: 'M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244',\n list: 'M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z',\n pencil:\n 'M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z',\n people:\n 'M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z',\n phone:\n 'M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z',\n plus: 'M12 4.5v15m7.5-7.5h-15',\n search: 'm21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z',\n upload:\n 'M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5',\n user: 'M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z',\n x: 'M6 18 18 6M6 6l12 12',\n};\n\nexport function embedSVG(iconPath: string): string {\n return `url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${iconPath}' /%3E%3C/svg%3E%0A\")`;\n}\n\nexport const iconSVG = (name: IconName) => embedSVG(iconPaths[name]);\n"],"names":["iconPaths","bold","buildings","card","chevron","clipboard","gear","document","home","image","italic","link","list","pencil","people","phone","plus","search","upload","user","x","embedSVG","iconPath","iconSVG","name"],"mappings":"aAEO,MAAMA,EAAY,CACvBC,KAAM,uUACNC,UACE,6SACFC,KAAM,+TACNC,QAAS,6BACTC,UACE,iiBACFC,KAAM,2eACNC,SACE,oQACFC,KAAM,6OACNC,MACE,0TACFC,OAAQ,8EACRC,KAAM,4KACNC,KAAM,wRACNC,OACE,2PACFC,OACE,4XACFC,MACE,oWACFC,KAAM,yBACNC,OAAQ,gFACRC,OACE,6GACFC,KAAM,0JACNC,EAAG,sBACL,EAEO,SAASC,EAASC,EAA0B,CACjD,MAAO,mMAAmMA,CAAQ,uBACpN,CAEO,MAAMC,EAAWC,GAAmBH,EAASrB,EAAUwB,CAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons-uK6EFyq8.js","sources":["../src/components/icon/icons.ts"],"sourcesContent":["export type IconName = keyof typeof iconPaths;\n\nexport const iconPaths = {\n bold: 'M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z',\n buildings:\n 'M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z',\n card: 'M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z',\n chevron: 'm19.5 8.25-7.5 7.5-7.5-7.5',\n clipboard:\n 'M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75',\n gear: 'M2.3 11.2C2.3 16.2 6.4 20.3 11.4 20.3C16.4 20.3 20.4 16.2 20.4 11.2M2.3 11.2C2.3 6.2 6.4 2.1 11.4 2.1C16.4 2.1 20.4 6.2 20.4 11.2M2.3 11.2L0.5 11.2M20.4 11.2L22.2 11.2M20.4 11.2L11.4 11.2M1.2 14.9L2.9 14.3M19.9 8.1L21.6 7.5M3 18.2L4.4 17M18.3 5.4L19.7 4.2M5.9 20.6L6.8 19.1M15.9 3.4L16.8 1.8M9.5 21.9L9.8 20.1M12.9 2.3L13.3 0.5M13.3 21.9L12.9 20.1M9.8 2.3L9.5 0.5M16.8 20.6L15.9 19.1M5.9 1.8L11.4 11.2M19.7 18.2L18.3 17M4.4 5.4L3 4.2M21.6 14.9L19.9 14.3M2.9 8.1L1.2 7.5M11.4 11.2L6.8 19.1',\n document:\n 'M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z',\n home: 'm2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25',\n image:\n 'm2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z',\n italic: 'M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803',\n link: 'M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244',\n list: 'M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z',\n pencil:\n 'M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z',\n people:\n 'M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z',\n phone:\n 'M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z',\n plus: 'M12 4.5v15m7.5-7.5h-15',\n search: 'm21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z',\n upload:\n 'M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5',\n user: 'M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z',\n x: 'M6 18 18 6M6 6l12 12',\n};\n\nexport function embedSVG(iconPath: string): string {\n return `url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${iconPath}' /%3E%3C/svg%3E%0A\")`;\n}\n\nexport const iconSVG = (name: IconName) => embedSVG(iconPaths[name]);\n"],"names":["iconPaths","bold","buildings","card","chevron","clipboard","gear","document","home","image","italic","link","list","pencil","people","phone","plus","search","upload","user","x","embedSVG","iconPath","iconSVG","name"],"mappings":"AAEO,MAAMA,IAAY;AAAA,EACvBC,MAAM;AAAA,EACNC,WACE;AAAA,EACFC,MAAM;AAAA,EACNC,SAAS;AAAA,EACTC,WACE;AAAA,EACFC,MAAM;AAAA,EACNC,UACE;AAAA,EACFC,MAAM;AAAA,EACNC,OACE;AAAA,EACFC,QAAQ;AAAA,EACRC,MAAM;AAAA,EACNC,MAAM;AAAA,EACNC,QACE;AAAA,EACFC,QACE;AAAA,EACFC,OACE;AAAA,EACFC,MAAM;AAAA,EACNC,QAAQ;AAAA,EACRC,QACE;AAAA,EACFC,MAAM;AAAA,EACNC,GAAG;AACL;AAEO,SAASC,EAASC,GAA0B;AACjD,SAAO,mMAAmMA,CAAQ;AACpN;AAEO,MAAMC,IAAUA,CAACC,MAAmBH,EAASrB,EAAUwB,CAAI,CAAC;"}
|