sveltacular 1.0.13 → 1.0.15

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 (41) hide show
  1. package/README.md +2 -3
  2. package/dist/forms/check-box/check-box.svelte +3 -3
  3. package/dist/forms/dimension-box/dimension-box.svelte +18 -3
  4. package/dist/forms/dimension-box/dimension-box.svelte.d.ts +4 -0
  5. package/dist/forms/file-area/file-area.svelte +2 -2
  6. package/dist/forms/info-box/info-box.svelte +2 -2
  7. package/dist/forms/list-box/list-box.svelte +2 -2
  8. package/dist/forms/money-box/money-box.svelte +23 -3
  9. package/dist/forms/money-box/money-box.svelte.d.ts +5 -0
  10. package/dist/forms/number-range-box/number-range-box.svelte +20 -4
  11. package/dist/forms/number-range-box/number-range-box.svelte.d.ts +4 -0
  12. package/dist/forms/radio-group/radio-box.svelte +2 -2
  13. package/dist/forms/text-box/text-box.svelte +2 -2
  14. package/dist/generic/email/email.svelte +2 -2
  15. package/dist/generic/menu/menu.svelte +3 -3
  16. package/dist/generic/phone/phone.svelte +3 -4
  17. package/dist/icons/icon-data.d.ts +28 -0
  18. package/dist/icons/icon-data.js +621 -0
  19. package/dist/icons/icon.svelte +164 -0
  20. package/dist/icons/icon.svelte.d.ts +13 -0
  21. package/dist/icons/index.d.ts +2 -13
  22. package/dist/icons/index.js +1 -13
  23. package/dist/icons/types.d.ts +4 -0
  24. package/dist/icons/types.js +1 -0
  25. package/dist/images/index.d.ts +0 -1
  26. package/dist/images/index.js +0 -1
  27. package/dist/layout/main/main.svelte +2 -2
  28. package/dist/navigation/accordion/accordion.svelte +2 -2
  29. package/dist/navigation/app-bar/app-bar.svelte +1 -0
  30. package/dist/navigation/app-bar/app-branding.svelte +4 -3
  31. package/dist/navigation/app-bar/app-logo.svelte +8 -5
  32. package/dist/navigation/app-bar/app-nav-item.svelte +48 -1
  33. package/dist/navigation/app-bar/app-nav.svelte +2 -2
  34. package/dist/navigation/breadcrumbs/breadcrumbs.svelte +2 -2
  35. package/dist/navigation/context-menu/context-menu-item.svelte +2 -2
  36. package/dist/navigation/dropdown-button/dropdown-button.svelte +2 -2
  37. package/dist/navigation/tabs/tab-group.svelte +206 -94
  38. package/dist/navigation/tabs/tab.svelte +3 -4
  39. package/dist/tables/data-grid.svelte +2 -2
  40. package/dist/tables/table-header-cell.svelte +21 -12
  41. package/package.json +1 -1
@@ -0,0 +1,621 @@
1
+ /**
2
+ * Registry of all icon data
3
+ */
4
+ export const iconRegistry = {
5
+ 'angle-right': {
6
+ viewBox: '0 0 16 16',
7
+ fill: 'none',
8
+ paths: [
9
+ {
10
+ d: 'm1 13 5.7-5.326a.909.909 0 0 0 0-1.348L1 1',
11
+ stroke: 'currentColor',
12
+ 'stroke-linecap': 'round',
13
+ 'stroke-linejoin': 'round',
14
+ 'stroke-width': 2
15
+ }
16
+ ]
17
+ },
18
+ 'angle-up': {
19
+ viewBox: '0 0 14 8',
20
+ fill: 'none',
21
+ paths: [
22
+ {
23
+ d: 'M13 7 7.674 1.3a.91.91 0 0 0-1.348 0L1 7',
24
+ stroke: 'currentColor',
25
+ 'stroke-linecap': 'round',
26
+ 'stroke-linejoin': 'round',
27
+ 'stroke-width': 2
28
+ }
29
+ ]
30
+ },
31
+ 'angle-left': {
32
+ viewBox: '0 0 16 16',
33
+ fill: 'none',
34
+ paths: [
35
+ {
36
+ d: 'm15 3-5.7 5.326a.909.909 0 0 0 0 1.348L15 15',
37
+ stroke: 'currentColor',
38
+ 'stroke-linecap': 'round',
39
+ 'stroke-linejoin': 'round',
40
+ 'stroke-width': 2
41
+ }
42
+ ]
43
+ },
44
+ 'angle-down': {
45
+ viewBox: '0 0 14 8',
46
+ fill: 'none',
47
+ paths: [
48
+ {
49
+ d: 'M1 1 6.326 6.7a.91.91 0 0 0 1.348 0L13 1',
50
+ stroke: 'currentColor',
51
+ 'stroke-linecap': 'round',
52
+ 'stroke-linejoin': 'round',
53
+ 'stroke-width': 2
54
+ }
55
+ ]
56
+ },
57
+ 'arrow-left': {
58
+ viewBox: '0 0 16 16',
59
+ fill: 'none',
60
+ paths: [
61
+ {
62
+ d: 'M15 8H1M8 15 1 8l7-7',
63
+ stroke: 'currentColor',
64
+ 'stroke-linecap': 'round',
65
+ 'stroke-linejoin': 'round',
66
+ 'stroke-width': 2
67
+ }
68
+ ]
69
+ },
70
+ 'arrow-right': {
71
+ viewBox: '0 0 16 16',
72
+ fill: 'none',
73
+ paths: [
74
+ {
75
+ d: 'M1 8h14M8 1l7 7-7 7',
76
+ stroke: 'currentColor',
77
+ 'stroke-linecap': 'round',
78
+ 'stroke-linejoin': 'round',
79
+ 'stroke-width': 2
80
+ }
81
+ ]
82
+ },
83
+ 'arrow-up': {
84
+ viewBox: '0 0 16 16',
85
+ fill: 'none',
86
+ paths: [
87
+ {
88
+ d: 'M8 15V1M8 1 1 8l7 7',
89
+ stroke: 'currentColor',
90
+ 'stroke-linecap': 'round',
91
+ 'stroke-linejoin': 'round',
92
+ 'stroke-width': 2
93
+ }
94
+ ]
95
+ },
96
+ 'arrow-down': {
97
+ viewBox: '0 0 16 16',
98
+ fill: 'none',
99
+ paths: [
100
+ {
101
+ d: 'M8 1v14M8 15l7-7-7-7',
102
+ stroke: 'currentColor',
103
+ 'stroke-linecap': 'round',
104
+ 'stroke-linejoin': 'round',
105
+ 'stroke-width': 2
106
+ }
107
+ ]
108
+ },
109
+ check: {
110
+ viewBox: '0 0 16 12',
111
+ fill: 'none',
112
+ paths: [
113
+ {
114
+ d: 'M1 5.917 5.724 10.5 15 1.5',
115
+ stroke: 'currentColor',
116
+ 'stroke-linecap': 'round',
117
+ 'stroke-linejoin': 'round',
118
+ 'stroke-width': 2
119
+ }
120
+ ]
121
+ },
122
+ clipboard: {
123
+ viewBox: '0 0 18 20',
124
+ fill: 'none',
125
+ paths: [
126
+ {
127
+ d: 'M5 5h8m-1-3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1m6 0v3H6V2m6 0h4a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4m0 9.464 2.025 1.965L12 9.571',
128
+ stroke: 'currentColor',
129
+ 'stroke-linecap': 'round',
130
+ 'stroke-linejoin': 'round',
131
+ 'stroke-width': 2
132
+ }
133
+ ]
134
+ },
135
+ copy: {
136
+ viewBox: '0 0 18 20',
137
+ fill: 'none',
138
+ paths: [
139
+ {
140
+ d: 'M5 5h8m-1-3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1m6 0v3H6V2m6 0h4a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4m0 9.464 2.025 1.965L12 9.571',
141
+ stroke: 'currentColor',
142
+ 'stroke-linecap': 'round',
143
+ 'stroke-linejoin': 'round',
144
+ 'stroke-width': 2
145
+ }
146
+ ]
147
+ },
148
+ close: {
149
+ viewBox: '0 0 16 16',
150
+ fill: 'none',
151
+ paths: [
152
+ {
153
+ d: 'm4 4 8 8M12 4l-8 8',
154
+ stroke: 'currentColor',
155
+ 'stroke-linecap': 'round',
156
+ 'stroke-linejoin': 'round',
157
+ 'stroke-width': 2
158
+ }
159
+ ]
160
+ },
161
+ download: {
162
+ viewBox: '0 0 16 16',
163
+ fill: 'none',
164
+ paths: [
165
+ {
166
+ d: 'M8 11V1m0 10L4 7m4 4 4-4M1 14h14',
167
+ stroke: 'currentColor',
168
+ 'stroke-linecap': 'round',
169
+ 'stroke-linejoin': 'round',
170
+ 'stroke-width': 2
171
+ }
172
+ ]
173
+ },
174
+ edit: {
175
+ viewBox: '0 0 16 16',
176
+ fill: 'none',
177
+ paths: [
178
+ {
179
+ d: 'M11.5 2.5a2.121 2.121 0 0 1 3 3L6.5 13.5 2 15l1.5-4.5L11.5 2.5Z',
180
+ stroke: 'currentColor',
181
+ 'stroke-linecap': 'round',
182
+ 'stroke-linejoin': 'round',
183
+ 'stroke-width': 2
184
+ }
185
+ ]
186
+ },
187
+ envelope: {
188
+ viewBox: '0 0 20 20',
189
+ fill: 'none',
190
+ paths: [
191
+ {
192
+ d: 'M2 4h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Z',
193
+ stroke: 'currentColor',
194
+ 'stroke-linecap': 'round',
195
+ 'stroke-linejoin': 'round',
196
+ 'stroke-width': 2
197
+ },
198
+ {
199
+ d: 'm2 4 8 6 8-6',
200
+ stroke: 'currentColor',
201
+ 'stroke-linecap': 'round',
202
+ 'stroke-linejoin': 'round',
203
+ 'stroke-width': 2
204
+ }
205
+ ]
206
+ },
207
+ 'envelope-full': {
208
+ viewBox: '0 0 20 20',
209
+ fill: 'currentColor',
210
+ paths: [
211
+ {
212
+ d: 'm10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z'
213
+ },
214
+ {
215
+ d: 'M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z'
216
+ }
217
+ ]
218
+ },
219
+ export: {
220
+ viewBox: '0 0 16 16',
221
+ fill: 'none',
222
+ paths: [
223
+ {
224
+ d: 'M11 8H1m10 0L8 5m3 3-3 3M4 1h9a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Z',
225
+ stroke: 'currentColor',
226
+ 'stroke-linecap': 'round',
227
+ 'stroke-linejoin': 'round',
228
+ 'stroke-width': 2
229
+ }
230
+ ]
231
+ },
232
+ eye: {
233
+ viewBox: '0 0 20 14',
234
+ fill: 'none',
235
+ paths: [
236
+ {
237
+ d: 'M1 7s2-4 9-4 9 4 9 4-2 4-9 4-9-4-9-4Z',
238
+ stroke: 'currentColor',
239
+ 'stroke-linecap': 'round',
240
+ 'stroke-linejoin': 'round',
241
+ 'stroke-width': 2
242
+ },
243
+ {
244
+ d: 'M10 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z',
245
+ stroke: 'currentColor',
246
+ 'stroke-linecap': 'round',
247
+ 'stroke-linejoin': 'round',
248
+ 'stroke-width': 2
249
+ }
250
+ ]
251
+ },
252
+ 'folder-open': {
253
+ viewBox: '0 0 20 18',
254
+ fill: 'currentColor',
255
+ paths: [
256
+ {
257
+ d: 'M4.09 7.586A1 1 0 0 1 5 7h13V6a2 2 0 0 0-2-2h-4.557L9.043.8a2.009 2.009 0 0 0-1.6-.8H2a2 2 0 0 0-2 2v14c.001.154.02.308.058.457L4.09 7.586Z'
258
+ },
259
+ {
260
+ d: 'M6.05 9 2 17.952c.14.031.281.047.424.048h12.95a.992.992 0 0 0 .909-.594L20 9H6.05Z'
261
+ }
262
+ ]
263
+ },
264
+ hamburger: {
265
+ viewBox: '0 0 17 14',
266
+ fill: 'none',
267
+ paths: [
268
+ {
269
+ d: 'M1 1h15M1 7h15M1 13h15',
270
+ stroke: 'currentColor',
271
+ 'stroke-linecap': 'round',
272
+ 'stroke-linejoin': 'round',
273
+ 'stroke-width': 2
274
+ }
275
+ ]
276
+ },
277
+ home: {
278
+ viewBox: '0 0 20 20',
279
+ fill: 'none',
280
+ paths: [
281
+ {
282
+ d: 'm10 2-8 8v8a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-8l-8-8Z',
283
+ stroke: 'currentColor',
284
+ 'stroke-linecap': 'round',
285
+ 'stroke-linejoin': 'round',
286
+ 'stroke-width': 2
287
+ }
288
+ ]
289
+ },
290
+ 'home-full': {
291
+ viewBox: '0 0 20 20',
292
+ fill: 'currentColor',
293
+ paths: [
294
+ {
295
+ d: 'm19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z'
296
+ }
297
+ ]
298
+ },
299
+ heart: {
300
+ viewBox: '0 0 20 18',
301
+ fill: 'none',
302
+ paths: [
303
+ {
304
+ d: 'M17.367 3.842a4.583 4.583 0 0 0-6.484 0L10 4.725l-.883-.883a4.583 4.583 0 1 0-6.484 6.484l.884.883L10 17.692l6.483-6.483.884-.883a4.583 4.583 0 0 0 0-6.484Z',
305
+ stroke: 'currentColor',
306
+ 'stroke-linecap': 'round',
307
+ 'stroke-linejoin': 'round',
308
+ 'stroke-width': 2
309
+ }
310
+ ]
311
+ },
312
+ 'heart-full': {
313
+ viewBox: '0 0 20 18',
314
+ fill: 'currentColor',
315
+ paths: [
316
+ {
317
+ d: 'M17.367 3.842a4.583 4.583 0 0 0-6.484 0L10 4.725l-.883-.883a4.583 4.583 0 1 0-6.484 6.484l.884.883L10 17.692l6.483-6.483.884-.883a4.583 4.583 0 0 0 0-6.484Z'
318
+ }
319
+ ]
320
+ },
321
+ import: {
322
+ viewBox: '0 0 16 16',
323
+ fill: 'none',
324
+ paths: [
325
+ {
326
+ d: 'M5 8H15M5 8l3-3m-3 3 3 3M12 1H3a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1Z',
327
+ stroke: 'currentColor',
328
+ 'stroke-linecap': 'round',
329
+ 'stroke-linejoin': 'round',
330
+ 'stroke-width': 2
331
+ }
332
+ ]
333
+ },
334
+ info: {
335
+ viewBox: '0 0 16 16',
336
+ fill: 'none',
337
+ paths: [
338
+ {
339
+ d: 'M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12Z',
340
+ stroke: 'currentColor',
341
+ 'stroke-linecap': 'round',
342
+ 'stroke-linejoin': 'round',
343
+ 'stroke-width': 2
344
+ },
345
+ {
346
+ d: 'M8 11V8M8 5h.01',
347
+ stroke: 'currentColor',
348
+ 'stroke-linecap': 'round',
349
+ 'stroke-linejoin': 'round',
350
+ 'stroke-width': 2
351
+ }
352
+ ]
353
+ },
354
+ minus: {
355
+ viewBox: '0 0 16 16',
356
+ fill: 'none',
357
+ paths: [
358
+ {
359
+ d: 'M4 8h8',
360
+ stroke: 'currentColor',
361
+ 'stroke-linecap': 'round',
362
+ 'stroke-linejoin': 'round',
363
+ 'stroke-width': 2
364
+ }
365
+ ]
366
+ },
367
+ plus: {
368
+ viewBox: '0 0 16 16',
369
+ fill: 'none',
370
+ paths: [
371
+ {
372
+ d: 'M8 4v8M4 8h8',
373
+ stroke: 'currentColor',
374
+ 'stroke-linecap': 'round',
375
+ 'stroke-linejoin': 'round',
376
+ 'stroke-width': 2
377
+ }
378
+ ]
379
+ },
380
+ print: {
381
+ viewBox: '0 0 52 52',
382
+ fill: 'currentColor',
383
+ paths: [
384
+ {
385
+ d: 'M46.5,17.4h-41c-2.2,0-4,1.8-4,4v14c0,2.2,1.8,4,4,4h5.9l0,5.8c0,2.2,1.8,4,4,4h21.3c2.2,0,4-1.8,4-4l0-5.8h5.9c2.2,0,4-1.8,4-4v-14C50.5,19.2,48.7,17.4,46.5,17.4z M8.3,27.7c-1.7,0-3-1.3-3-3c0-1.7,1.3-3,3-3s3,1.3,3,3C11.3,26.4,10,27.7,8.3,27.7z M35.9,43.1c0,0.8-0.7,1.5-1.5,1.5h-17c-0.8,0-1.5-0.7-1.5-1.5v-9.8c0-0.8,0.7-1.5,1.5-1.5h17c0.8,0,1.5,0.7,1.5,1.5V43.1z'
386
+ },
387
+ {
388
+ d: 'M40.5,11.1c0,0.8-0.7,1.5-1.5,1.5H12.8c-0.8,0-1.5-0.7-1.5-1.5V4.3c0-0.8,0.7-1.5,1.5-1.5H39c0.8,0,1.5,0.7,1.5,1.5V11.1z'
389
+ }
390
+ ]
391
+ },
392
+ search: {
393
+ viewBox: '0 0 16 16',
394
+ fill: 'none',
395
+ paths: [
396
+ {
397
+ d: 'M7.5 12.5a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z',
398
+ stroke: 'currentColor',
399
+ 'stroke-linecap': 'round',
400
+ 'stroke-linejoin': 'round',
401
+ 'stroke-width': 2
402
+ },
403
+ {
404
+ d: 'm11.536 11.536 3.464 3.464',
405
+ stroke: 'currentColor',
406
+ 'stroke-linecap': 'round',
407
+ 'stroke-linejoin': 'round',
408
+ 'stroke-width': 2
409
+ }
410
+ ]
411
+ },
412
+ settings: {
413
+ viewBox: '0 0 16 16',
414
+ fill: 'currentColor',
415
+ paths: [
416
+ {
417
+ d: 'M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z'
418
+ }
419
+ ]
420
+ },
421
+ sortable: {
422
+ viewBox: '0 0 52 52',
423
+ fill: 'currentColor',
424
+ paths: [
425
+ {
426
+ d: 'M27.5,16c0.6-0.6,0.6-1.5,0-2.1L16.1,2.4c-0.6-0.6-1.5-0.6-2.1,0L2.5,13.9c-0.6,0.6-0.6,1.5,0,2.1l2.1,2.1c0.6,0.6,1.5,0.6,2.1,0l3.6-3.6c0.6-0.6,1.7-0.2,1.7,0.7v21.2c0,0.8,0.7,1.5,1.5,1.5h3c0.8,0,1.5-0.8,1.5-1.5V15.2c0-0.9,1.1-1.3,1.7-0.7l3.6,3.6c0.6,0.6,1.5,0.6,2.1,0L27.5,16z'
427
+ },
428
+ {
429
+ d: 'M49.5,36L47.4,34c-0.6-0.6-1.5-0.6-2.1,0l-3.6,3.6c-0.6,0.6-1.7,0.2-1.7-0.7V15.5c0-0.8-0.7-1.5-1.5-1.5h-3c-0.8,0-1.5,0.8-1.5,1.5v21.2c0,0.9-1.1,1.3-1.7,0.7l-3.6-3.6c-0.6-0.6-1.5-0.6-2.1,0L24.5,36c-0.6,0.6-0.6,1.5,0,2.1L36,49.6c0.6,0.6,1.5,0.6,2.1,0l11.5-11.5C50.1,37.5,50.1,36.5,49.5,36z'
430
+ }
431
+ ]
432
+ },
433
+ star: {
434
+ viewBox: '0 0 20 20',
435
+ fill: 'none',
436
+ paths: [
437
+ {
438
+ d: 'm10 1 2.5 5.5L18 8l-4.5 4 1 6L10 15.5 5.5 18l1-6L2 8l5.5-1.5L10 1Z',
439
+ stroke: 'currentColor',
440
+ 'stroke-linecap': 'round',
441
+ 'stroke-linejoin': 'round',
442
+ 'stroke-width': 2
443
+ }
444
+ ]
445
+ },
446
+ 'star-full': {
447
+ viewBox: '0 0 20 20',
448
+ fill: 'currentColor',
449
+ paths: [
450
+ {
451
+ d: 'm10 1 2.5 5.5L18 8l-4.5 4 1 6L10 15.5 5.5 18l1-6L2 8l5.5-1.5L10 1Z'
452
+ }
453
+ ]
454
+ },
455
+ trash: {
456
+ viewBox: '0 0 18 20',
457
+ fill: 'none',
458
+ paths: [
459
+ {
460
+ d: 'M4 6h10M4 6v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6M6 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2',
461
+ stroke: 'currentColor',
462
+ 'stroke-linecap': 'round',
463
+ 'stroke-linejoin': 'round',
464
+ 'stroke-width': 2
465
+ },
466
+ {
467
+ d: 'M2 4h14',
468
+ stroke: 'currentColor',
469
+ 'stroke-linecap': 'round',
470
+ 'stroke-linejoin': 'round',
471
+ 'stroke-width': 2
472
+ },
473
+ {
474
+ d: 'M7 9v6M11 9v6',
475
+ stroke: 'currentColor',
476
+ 'stroke-linecap': 'round',
477
+ 'stroke-linejoin': 'round',
478
+ 'stroke-width': 2
479
+ }
480
+ ]
481
+ },
482
+ 'triangle-up': {
483
+ viewBox: '0 0 16 16',
484
+ fill: 'currentColor',
485
+ paths: [
486
+ {
487
+ d: 'M8 2 2 14h12L8 2Z'
488
+ }
489
+ ]
490
+ },
491
+ 'triangle-down': {
492
+ viewBox: '0 0 16 16',
493
+ fill: 'currentColor',
494
+ paths: [
495
+ {
496
+ d: 'M8 14 2 2h12L8 14Z'
497
+ }
498
+ ]
499
+ },
500
+ 'triangle-left': {
501
+ viewBox: '0 0 16 16',
502
+ fill: 'currentColor',
503
+ paths: [
504
+ {
505
+ d: 'M2 8 14 2v12L2 8Z'
506
+ }
507
+ ]
508
+ },
509
+ 'triangle-right': {
510
+ viewBox: '0 0 16 16',
511
+ fill: 'currentColor',
512
+ paths: [
513
+ {
514
+ d: 'M14 8 2 2v12l12-6Z'
515
+ }
516
+ ]
517
+ },
518
+ 'triangle-up-down': {
519
+ viewBox: '0 0 24 24',
520
+ fill: 'currentColor',
521
+ paths: [
522
+ {
523
+ d: 'M17,14 C17.8092996,14 18.2680938,14.9010044 17.836059,15.5493995 L17.7682213,15.6401844 L12.7682213,21.6401844 C12.3950792,22.0879549 11.7283228,22.1178063 11.3160321,21.7297385 L11.2317787,21.6401844 L6.23177872,15.6401844 C5.71367776,15.0184632 6.11213562,14.0891988 6.88682851,14.0060047 L7,14 L17,14 Z M11.2317787,2.3598156 C11.6049208,1.91204508 12.2716772,1.88219371 12.6839679,2.2702615 L12.7682213,2.3598156 L17.7682213,8.3598156 C18.2863222,8.98153675 17.8878644,9.91080124 17.1131715,9.99399528 L17,10 L7,10 C6.19070043,10 5.73190618,9.09899556 6.16394105,8.45060047 L6.23177872,8.3598156 L11.2317787,2.3598156 Z'
524
+ }
525
+ ]
526
+ },
527
+ user: {
528
+ viewBox: '0 0 16 16',
529
+ fill: 'none',
530
+ paths: [
531
+ {
532
+ d: 'M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z',
533
+ stroke: 'currentColor',
534
+ 'stroke-linecap': 'round',
535
+ 'stroke-linejoin': 'round',
536
+ 'stroke-width': 2
537
+ },
538
+ {
539
+ d: 'M1.5 13.5c0-2 3-3.5 6.5-3.5s6.5 1.5 6.5 3.5V16H1.5v-2.5Z',
540
+ stroke: 'currentColor',
541
+ 'stroke-linecap': 'round',
542
+ 'stroke-linejoin': 'round',
543
+ 'stroke-width': 2
544
+ }
545
+ ]
546
+ },
547
+ warning: {
548
+ viewBox: '0 0 20 20',
549
+ fill: 'none',
550
+ paths: [
551
+ {
552
+ d: 'M10 2 1 18h18L10 2Z',
553
+ stroke: 'currentColor',
554
+ 'stroke-linecap': 'round',
555
+ 'stroke-linejoin': 'round',
556
+ 'stroke-width': 2
557
+ },
558
+ {
559
+ d: 'M10 8v4M10 14h.01',
560
+ stroke: 'currentColor',
561
+ 'stroke-linecap': 'round',
562
+ 'stroke-linejoin': 'round',
563
+ 'stroke-width': 2
564
+ }
565
+ ]
566
+ },
567
+ link: {
568
+ viewBox: '0 0 19 19',
569
+ fill: 'none',
570
+ paths: [
571
+ {
572
+ d: 'M11.013 7.962a3.519 3.519 0 0 0-4.975 0l-3.554 3.554a3.518 3.518 0 0 0 4.975 4.975l.461-.46m-.461-4.515a3.518 3.518 0 0 0 4.975 0l3.553-3.554a3.518 3.518 0 0 0-4.974-4.975L10.3 3.7',
573
+ stroke: 'currentColor',
574
+ 'stroke-linecap': 'round',
575
+ 'stroke-linejoin': 'round',
576
+ 'stroke-width': 2
577
+ }
578
+ ]
579
+ },
580
+ 'mobile-phone': {
581
+ viewBox: '0 0 20 20',
582
+ fill: 'currentColor',
583
+ paths: [
584
+ {
585
+ d: 'M12 0H2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM7.5 17.5h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2ZM12 13H2V4h10v9Z'
586
+ }
587
+ ]
588
+ },
589
+ phone: {
590
+ viewBox: '0 0 18 18',
591
+ fill: 'none',
592
+ paths: [
593
+ {
594
+ d: 'm16.344 12.168-1.4-1.4a1.98 1.98 0 0 0-2.8 0l-.7.7a1.98 1.98 0 0 1-2.8 0l-2.1-2.1a1.98 1.98 0 0 1 0-2.8l.7-.7a1.981 1.981 0 0 0 0-2.8l-1.4-1.4a1.828 1.828 0 0 0-2.8 0C-.638 5.323 1.1 9.542 4.78 13.22c3.68 3.678 7.9 5.418 11.564 1.752a1.828 1.828 0 0 0 0-2.804Z',
595
+ stroke: 'currentColor',
596
+ 'stroke-linecap': 'round',
597
+ 'stroke-linejoin': 'round',
598
+ 'stroke-width': 2
599
+ }
600
+ ]
601
+ },
602
+ upload: {
603
+ viewBox: '0 0 20 19',
604
+ fill: 'none',
605
+ paths: [
606
+ {
607
+ d: 'M15 15h.01M4 12H2a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-3m-5.5 0V1.07M5.5 5l4-4 4 4',
608
+ stroke: 'currentColor',
609
+ 'stroke-linecap': 'round',
610
+ 'stroke-linejoin': 'round',
611
+ 'stroke-width': 2
612
+ }
613
+ ]
614
+ }
615
+ };
616
+ /**
617
+ * Get icon data for a given icon type
618
+ */
619
+ export function getIconData(type) {
620
+ return iconRegistry[type];
621
+ }