@hamster-note/components 0.3.0 → 0.4.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +28 -0
  2. package/dist/Icon-BuZRZcjv.js +1143 -0
  3. package/dist/button-mmBNcoG1.js +45 -0
  4. package/dist/button.js +1 -1
  5. package/dist/components/button/Button.d.ts +3 -2
  6. package/dist/components/icon/icon-names.d.ts +1 -15
  7. package/dist/components/theme/theme.d.ts +1 -87
  8. package/dist/{confirm-Faavk_5T.js → confirm-DKgVMWkR.js} +2 -2
  9. package/dist/confirm.js +1 -1
  10. package/dist/{dialog-BYlEUJ_j.js → dialog-DI_yumUn.js} +1 -1
  11. package/dist/dialog.js +1 -1
  12. package/dist/{drawer-BV9RFSna.js → drawer-Cpe3Yf3K.js} +1 -1
  13. package/dist/drawer.js +1 -1
  14. package/dist/hamster-note-components.css +1 -1
  15. package/dist/{icon-BFAcjkFI.js → icon-u7jiIYal.js} +1 -1
  16. package/dist/icon.js +2 -2
  17. package/dist/index.js +7 -7
  18. package/dist/shared/icon-names.d.ts +15 -0
  19. package/dist/shared/icons.d.ts +1216 -0
  20. package/dist/shared/theme.d.ts +87 -0
  21. package/dist/shared/tokens.d.ts +67 -0
  22. package/dist/test/shared-data.test.d.ts +1 -0
  23. package/dist/{theme-CVNLJL1G.js → theme-DNK-xd31.js} +1 -1
  24. package/dist/theme.js +1 -1
  25. package/dist-native/badge.d.ts +10 -0
  26. package/dist-native/badge.js +7 -0
  27. package/dist-native/button.d.ts +16 -0
  28. package/dist-native/button.js +7 -0
  29. package/dist-native/chunk-6RD26X3W.js +78 -0
  30. package/dist-native/chunk-6SR5ZHDD.js +13 -0
  31. package/dist-native/chunk-6VYUVVCP.js +27 -0
  32. package/dist-native/chunk-7LN4VNRB.js +124 -0
  33. package/dist-native/chunk-CF76TWL4.js +85 -0
  34. package/dist-native/chunk-ENTYQ6M4.js +256 -0
  35. package/dist-native/chunk-GSG6CXIE.js +1688 -0
  36. package/dist-native/chunk-JHT74YG3.js +186 -0
  37. package/dist-native/chunk-KPDK62A5.js +106 -0
  38. package/dist-native/chunk-PLFX4RVR.js +134 -0
  39. package/dist-native/chunk-QUGLAOXA.js +49 -0
  40. package/dist-native/chunk-S2EUKEYI.js +35 -0
  41. package/dist-native/chunk-VTE5RPMO.js +38 -0
  42. package/dist-native/chunk-YJ4H3ZBQ.js +145 -0
  43. package/dist-native/chunk-ZTQATW6Y.js +127 -0
  44. package/dist-native/confirm.d.ts +24 -0
  45. package/dist-native/confirm.js +14 -0
  46. package/dist-native/dialog.d.ts +8 -0
  47. package/dist-native/dialog.js +10 -0
  48. package/dist-native/drawer.d.ts +13 -0
  49. package/dist-native/drawer.js +10 -0
  50. package/dist-native/focus-C0k0lLui.d.ts +9 -0
  51. package/dist-native/icon.d.ts +28 -0
  52. package/dist-native/icon.js +9 -0
  53. package/dist-native/index.d.ts +20 -0
  54. package/dist-native/index.js +84 -0
  55. package/dist-native/kbd.d.ts +9 -0
  56. package/dist-native/kbd.js +7 -0
  57. package/dist-native/loading.d.ts +19 -0
  58. package/dist-native/loading.js +11 -0
  59. package/dist-native/menu.d.ts +31 -0
  60. package/dist-native/menu.js +17 -0
  61. package/dist-native/modal-panel-BOpp1oRC.d.ts +23 -0
  62. package/dist-native/note-card.d.ts +13 -0
  63. package/dist-native/note-card.js +7 -0
  64. package/dist-native/popover.d.ts +34 -0
  65. package/dist-native/popover.js +8 -0
  66. package/dist-native/position-CkPoZ5AD.d.ts +3 -0
  67. package/dist-native/text-field.d.ts +13 -0
  68. package/dist-native/text-field.js +7 -0
  69. package/dist-native/theme.d.ts +120 -0
  70. package/dist-native/theme.js +16 -0
  71. package/dist-native/tokens-DHoNd-yT.d.ts +41 -0
  72. package/package.json +137 -5
  73. package/dist/Icon-BBSPOBTI.js +0 -531
  74. package/dist/button-DjMS8bKj.js +0 -20
@@ -0,0 +1,1143 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { createElement as n } from "react";
3
+ //#region src/shared/icons.ts
4
+ var r = {
5
+ file: [
6
+ {
7
+ tag: "path",
8
+ attrs: { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z" }
9
+ },
10
+ {
11
+ tag: "path",
12
+ attrs: { d: "M14 3v5h5" }
13
+ },
14
+ {
15
+ tag: "path",
16
+ attrs: { d: "M9 13h6" }
17
+ },
18
+ {
19
+ tag: "path",
20
+ attrs: { d: "M9 17h6" }
21
+ }
22
+ ],
23
+ save: [
24
+ {
25
+ tag: "path",
26
+ attrs: { d: "M5 4h11l3 3v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z" }
27
+ },
28
+ {
29
+ tag: "path",
30
+ attrs: { d: "M8 4v5h7V4" }
31
+ },
32
+ {
33
+ tag: "path",
34
+ attrs: { d: "M8 14h8v7H8z" }
35
+ }
36
+ ],
37
+ study: [
38
+ {
39
+ tag: "path",
40
+ attrs: { d: "M12 6c-1.5-1.2-3.5-2-6-2H3v13h3c2.5 0 4.5.8 6 2 1.5-1.2 3.5-2 6-2h3V4h-3c-2.5 0-4.5.8-6 2z" }
41
+ },
42
+ {
43
+ tag: "path",
44
+ attrs: { d: "M12 6v13" }
45
+ },
46
+ {
47
+ tag: "path",
48
+ attrs: { d: "M5.5 8.5h3" }
49
+ },
50
+ {
51
+ tag: "path",
52
+ attrs: { d: "M5.5 11.5h3" }
53
+ },
54
+ {
55
+ tag: "path",
56
+ attrs: { d: "M15.5 8.5h3" }
57
+ },
58
+ {
59
+ tag: "path",
60
+ attrs: { d: "M15.5 11.5h3" }
61
+ }
62
+ ],
63
+ switch: [{
64
+ tag: "rect",
65
+ attrs: {
66
+ height: "12",
67
+ rx: "6",
68
+ width: "18",
69
+ x: "3",
70
+ y: "6"
71
+ }
72
+ }, {
73
+ tag: "circle",
74
+ attrs: {
75
+ cx: "15",
76
+ cy: "12",
77
+ r: "3.2"
78
+ }
79
+ }],
80
+ mouse: [
81
+ {
82
+ tag: "rect",
83
+ attrs: {
84
+ height: "16",
85
+ rx: "8",
86
+ width: "11",
87
+ x: "6.5",
88
+ y: "4"
89
+ }
90
+ },
91
+ {
92
+ tag: "path",
93
+ attrs: { d: "M12 7v4" }
94
+ },
95
+ {
96
+ tag: "path",
97
+ attrs: { d: "M12 7a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1z" }
98
+ }
99
+ ],
100
+ line: [
101
+ {
102
+ tag: "path",
103
+ attrs: { d: "M5 19L19 5" }
104
+ },
105
+ {
106
+ tag: "circle",
107
+ attrs: {
108
+ cx: "5",
109
+ cy: "19",
110
+ r: "1.2"
111
+ }
112
+ },
113
+ {
114
+ tag: "circle",
115
+ attrs: {
116
+ cx: "19",
117
+ cy: "5",
118
+ r: "1.2"
119
+ }
120
+ }
121
+ ],
122
+ curve: [
123
+ {
124
+ tag: "path",
125
+ attrs: { d: "M4 18C4 12 9 12 12 12S20 12 20 6" }
126
+ },
127
+ {
128
+ tag: "circle",
129
+ attrs: {
130
+ cx: "4",
131
+ cy: "18",
132
+ r: "1.2"
133
+ }
134
+ },
135
+ {
136
+ tag: "circle",
137
+ attrs: {
138
+ cx: "20",
139
+ cy: "6",
140
+ r: "1.2"
141
+ }
142
+ }
143
+ ],
144
+ polygon: [
145
+ {
146
+ tag: "path",
147
+ attrs: { d: "M12 4l7 5-2.5 9h-9L5 9z" }
148
+ },
149
+ {
150
+ tag: "circle",
151
+ attrs: {
152
+ cx: "12",
153
+ cy: "4",
154
+ r: "1.1"
155
+ }
156
+ },
157
+ {
158
+ tag: "circle",
159
+ attrs: {
160
+ cx: "19",
161
+ cy: "9",
162
+ r: "1.1"
163
+ }
164
+ },
165
+ {
166
+ tag: "circle",
167
+ attrs: {
168
+ cx: "16.5",
169
+ cy: "18",
170
+ r: "1.1"
171
+ }
172
+ },
173
+ {
174
+ tag: "circle",
175
+ attrs: {
176
+ cx: "7.5",
177
+ cy: "18",
178
+ r: "1.1"
179
+ }
180
+ },
181
+ {
182
+ tag: "circle",
183
+ attrs: {
184
+ cx: "5",
185
+ cy: "9",
186
+ r: "1.1"
187
+ }
188
+ }
189
+ ],
190
+ lasso: [
191
+ {
192
+ tag: "path",
193
+ attrs: { d: "M9 6.5c3.5-2 8.5-.5 9 2.5s-2 6.5-6 6.5-7.5-2-7-5.5 2-3 4-3.5z" }
194
+ },
195
+ {
196
+ tag: "path",
197
+ attrs: { d: "M8 15.5c.5 2.5-.5 4.5-3.5 4.5" }
198
+ },
199
+ {
200
+ tag: "circle",
201
+ attrs: {
202
+ cx: "4.5",
203
+ cy: "20",
204
+ r: "1.2"
205
+ }
206
+ }
207
+ ],
208
+ rectangle: [{
209
+ tag: "rect",
210
+ attrs: {
211
+ height: "12",
212
+ rx: "1.5",
213
+ width: "16",
214
+ x: "4",
215
+ y: "6"
216
+ }
217
+ }],
218
+ ellipse: [{
219
+ tag: "ellipse",
220
+ attrs: {
221
+ cx: "12",
222
+ cy: "12",
223
+ rx: "8",
224
+ ry: "6"
225
+ }
226
+ }],
227
+ pen: [
228
+ {
229
+ tag: "path",
230
+ attrs: { d: "M4 20l3.5-1 11-11-2.5-2.5-11 11-1 3.5z" }
231
+ },
232
+ {
233
+ tag: "path",
234
+ attrs: { d: "M14.5 6.5l3 3" }
235
+ },
236
+ {
237
+ tag: "path",
238
+ attrs: { d: "M4 20l1-3.5" }
239
+ }
240
+ ],
241
+ eraser: [
242
+ {
243
+ tag: "path",
244
+ attrs: { d: "M15 4l5 5-9 9H6l-2-2 9-9z" }
245
+ },
246
+ {
247
+ tag: "path",
248
+ attrs: { d: "M9 10l5 5" }
249
+ },
250
+ {
251
+ tag: "path",
252
+ attrs: { d: "M13 20h7" }
253
+ }
254
+ ],
255
+ magnet: [
256
+ {
257
+ tag: "path",
258
+ attrs: { d: "M4 10v3a6 6 0 0 0 12 0V5a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v8a1 1 0 0 1-2 0V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1z" }
259
+ },
260
+ {
261
+ tag: "path",
262
+ attrs: { d: "M11 4h4" }
263
+ },
264
+ {
265
+ tag: "path",
266
+ attrs: { d: "M4 10h4" }
267
+ }
268
+ ],
269
+ locate: [{
270
+ tag: "path",
271
+ attrs: { d: "M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z" }
272
+ }, {
273
+ tag: "circle",
274
+ attrs: {
275
+ cx: "12",
276
+ cy: "10",
277
+ r: "2.5"
278
+ }
279
+ }],
280
+ delete: [
281
+ {
282
+ tag: "path",
283
+ attrs: { d: "M4 7h16" }
284
+ },
285
+ {
286
+ tag: "path",
287
+ attrs: { d: "M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2" }
288
+ },
289
+ {
290
+ tag: "path",
291
+ attrs: { d: "M6 7l1 13a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l1-13" }
292
+ },
293
+ {
294
+ tag: "path",
295
+ attrs: { d: "M10 11v6" }
296
+ },
297
+ {
298
+ tag: "path",
299
+ attrs: { d: "M14 11v6" }
300
+ }
301
+ ],
302
+ add: [
303
+ {
304
+ tag: "circle",
305
+ attrs: {
306
+ cx: "12",
307
+ cy: "12",
308
+ r: "9"
309
+ }
310
+ },
311
+ {
312
+ tag: "path",
313
+ attrs: { d: "M12 8v8" }
314
+ },
315
+ {
316
+ tag: "path",
317
+ attrs: { d: "M8 12h8" }
318
+ }
319
+ ],
320
+ copy: [
321
+ {
322
+ tag: "rect",
323
+ attrs: {
324
+ height: "13",
325
+ rx: "1.5",
326
+ width: "10",
327
+ x: "8",
328
+ y: "8"
329
+ }
330
+ },
331
+ {
332
+ tag: "path",
333
+ attrs: { d: "M11 8V5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1h-3" }
334
+ },
335
+ {
336
+ tag: "path",
337
+ attrs: { d: "M11 12h4" }
338
+ },
339
+ {
340
+ tag: "path",
341
+ attrs: { d: "M11 15h4" }
342
+ }
343
+ ],
344
+ paste: [
345
+ {
346
+ tag: "rect",
347
+ attrs: {
348
+ height: "15",
349
+ rx: "1.5",
350
+ width: "12",
351
+ x: "6",
352
+ y: "5"
353
+ }
354
+ },
355
+ {
356
+ tag: "path",
357
+ attrs: { d: "M9 5V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1" }
358
+ },
359
+ {
360
+ tag: "path",
361
+ attrs: { d: "M11 11h2" }
362
+ },
363
+ {
364
+ tag: "path",
365
+ attrs: { d: "M11 14h2" }
366
+ }
367
+ ],
368
+ info: [
369
+ {
370
+ tag: "circle",
371
+ attrs: {
372
+ cx: "12",
373
+ cy: "12",
374
+ r: "9"
375
+ }
376
+ },
377
+ {
378
+ tag: "path",
379
+ attrs: { d: "M12 11v5" }
380
+ },
381
+ {
382
+ tag: "circle",
383
+ attrs: {
384
+ cx: "12",
385
+ cy: "8",
386
+ r: "0.5",
387
+ fill: "currentColor",
388
+ stroke: "none"
389
+ }
390
+ }
391
+ ],
392
+ touch: [
393
+ {
394
+ tag: "path",
395
+ attrs: { d: "M9 11V5.5a1.5 1.5 0 0 1 3 0V11" }
396
+ },
397
+ {
398
+ tag: "path",
399
+ attrs: { d: "M12 11v-.5a1.5 1.5 0 0 1 3 0V12" }
400
+ },
401
+ {
402
+ tag: "path",
403
+ attrs: { d: "M15 12v-.5a1.5 1.5 0 0 1 3 0v5.5a5 5 0 0 1-5 5h-2a5 5 0 0 1-4-2l-3-4a1.5 1.5 0 0 1 2.4-1.8L9 16V9a1.5 1.5 0 0 1 0 0v2" }
404
+ },
405
+ {
406
+ tag: "path",
407
+ attrs: { d: "M6 4.5a3 3 0 0 1 1-3" }
408
+ }
409
+ ],
410
+ edit: [
411
+ {
412
+ tag: "path",
413
+ attrs: { d: "M14 5l5 5L8 21H3v-5z" }
414
+ },
415
+ {
416
+ tag: "path",
417
+ attrs: { d: "M12 7l5 5" }
418
+ },
419
+ {
420
+ tag: "path",
421
+ attrs: { d: "M3 21h18" }
422
+ }
423
+ ],
424
+ comment: [
425
+ {
426
+ tag: "path",
427
+ attrs: { d: "M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z" }
428
+ },
429
+ {
430
+ tag: "path",
431
+ attrs: { d: "M8 9h8" }
432
+ },
433
+ {
434
+ tag: "path",
435
+ attrs: { d: "M8 13h5" }
436
+ }
437
+ ],
438
+ keyboard: [
439
+ {
440
+ tag: "rect",
441
+ attrs: {
442
+ height: "12",
443
+ rx: "1.5",
444
+ width: "20",
445
+ x: "2",
446
+ y: "6"
447
+ }
448
+ },
449
+ {
450
+ tag: "path",
451
+ attrs: { d: "M6 10h0" }
452
+ },
453
+ {
454
+ tag: "path",
455
+ attrs: { d: "M10 10h0" }
456
+ },
457
+ {
458
+ tag: "path",
459
+ attrs: { d: "M14 10h0" }
460
+ },
461
+ {
462
+ tag: "path",
463
+ attrs: { d: "M18 10h0" }
464
+ },
465
+ {
466
+ tag: "path",
467
+ attrs: { d: "M6 14h12" }
468
+ }
469
+ ],
470
+ type: [
471
+ {
472
+ tag: "path",
473
+ attrs: { d: "M5 6h14" }
474
+ },
475
+ {
476
+ tag: "path",
477
+ attrs: { d: "M12 6v13" }
478
+ },
479
+ {
480
+ tag: "path",
481
+ attrs: { d: "M9 19h6" }
482
+ },
483
+ {
484
+ tag: "path",
485
+ attrs: { d: "M16 13l1.5 4 .3.8a2 2 0 0 0 1.7 1.2c1.2 0 2-1 2-2.2 0-.8-.4-1.6-1-2.4L18 12" }
486
+ }
487
+ ],
488
+ handle: [
489
+ {
490
+ tag: "circle",
491
+ attrs: {
492
+ cx: "9",
493
+ cy: "6",
494
+ r: "1.4",
495
+ fill: "currentColor",
496
+ stroke: "none"
497
+ }
498
+ },
499
+ {
500
+ tag: "circle",
501
+ attrs: {
502
+ cx: "15",
503
+ cy: "6",
504
+ r: "1.4",
505
+ fill: "currentColor",
506
+ stroke: "none"
507
+ }
508
+ },
509
+ {
510
+ tag: "circle",
511
+ attrs: {
512
+ cx: "9",
513
+ cy: "12",
514
+ r: "1.4",
515
+ fill: "currentColor",
516
+ stroke: "none"
517
+ }
518
+ },
519
+ {
520
+ tag: "circle",
521
+ attrs: {
522
+ cx: "15",
523
+ cy: "12",
524
+ r: "1.4",
525
+ fill: "currentColor",
526
+ stroke: "none"
527
+ }
528
+ },
529
+ {
530
+ tag: "circle",
531
+ attrs: {
532
+ cx: "9",
533
+ cy: "18",
534
+ r: "1.4",
535
+ fill: "currentColor",
536
+ stroke: "none"
537
+ }
538
+ },
539
+ {
540
+ tag: "circle",
541
+ attrs: {
542
+ cx: "15",
543
+ cy: "18",
544
+ r: "1.4",
545
+ fill: "currentColor",
546
+ stroke: "none"
547
+ }
548
+ }
549
+ ],
550
+ card: [
551
+ {
552
+ tag: "rect",
553
+ attrs: {
554
+ height: "14",
555
+ rx: "2",
556
+ width: "18",
557
+ x: "3",
558
+ y: "5"
559
+ }
560
+ },
561
+ {
562
+ tag: "path",
563
+ attrs: { d: "M3 10h18" }
564
+ },
565
+ {
566
+ tag: "path",
567
+ attrs: { d: "M7 14h6" }
568
+ },
569
+ {
570
+ tag: "path",
571
+ attrs: { d: "M7 17h4" }
572
+ }
573
+ ],
574
+ minimap: [
575
+ {
576
+ tag: "rect",
577
+ attrs: {
578
+ height: "18",
579
+ rx: "2",
580
+ width: "18",
581
+ x: "3",
582
+ y: "3"
583
+ }
584
+ },
585
+ {
586
+ tag: "rect",
587
+ attrs: {
588
+ height: "7",
589
+ rx: "1",
590
+ width: "9",
591
+ x: "7",
592
+ y: "7"
593
+ }
594
+ },
595
+ {
596
+ tag: "path",
597
+ attrs: { d: "M7 17h6" }
598
+ }
599
+ ],
600
+ "font-size": [
601
+ {
602
+ tag: "path",
603
+ attrs: { d: "M5 16L9 7l4 9" }
604
+ },
605
+ {
606
+ tag: "path",
607
+ attrs: { d: "M6.5 13h5" }
608
+ },
609
+ {
610
+ tag: "path",
611
+ attrs: { d: "M15 18l2.5-5 2.5 5" }
612
+ },
613
+ {
614
+ tag: "path",
615
+ attrs: { d: "M16 16.5h3" }
616
+ }
617
+ ],
618
+ drag: [
619
+ {
620
+ tag: "path",
621
+ attrs: { d: "M18 11V6a2 2 0 0 0-4 0v5" }
622
+ },
623
+ {
624
+ tag: "path",
625
+ attrs: { d: "M14 10V4a2 2 0 0 0-4 0v6" }
626
+ },
627
+ {
628
+ tag: "path",
629
+ attrs: { d: "M10 10.5V6a2 2 0 0 0-4 0v8" }
630
+ },
631
+ {
632
+ tag: "path",
633
+ attrs: { d: "M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15" }
634
+ }
635
+ ],
636
+ crop: [{
637
+ tag: "path",
638
+ attrs: { d: "M6 2v14a2 2 0 0 0 2 2h14" }
639
+ }, {
640
+ tag: "path",
641
+ attrs: { d: "M18 22V8a2 2 0 0 0-2-2H2" }
642
+ }],
643
+ search: [{
644
+ tag: "circle",
645
+ attrs: {
646
+ cx: "11",
647
+ cy: "11",
648
+ r: "7"
649
+ }
650
+ }, {
651
+ tag: "path",
652
+ attrs: { d: "M21 21l-4.3-4.3" }
653
+ }],
654
+ close: [{
655
+ tag: "path",
656
+ attrs: { d: "M6 6l12 12" }
657
+ }, {
658
+ tag: "path",
659
+ attrs: { d: "M18 6L6 18" }
660
+ }],
661
+ check: [{
662
+ tag: "path",
663
+ attrs: { d: "M5 12.5l4.5 4.5L19 7.5" }
664
+ }],
665
+ "chevron-down": [{
666
+ tag: "path",
667
+ attrs: { d: "M6 9l6 6 6-6" }
668
+ }],
669
+ "chevron-up": [{
670
+ tag: "path",
671
+ attrs: { d: "M6 15l6-6 6 6" }
672
+ }],
673
+ "chevron-left": [{
674
+ tag: "path",
675
+ attrs: { d: "M15 6l-6 6 6 6" }
676
+ }],
677
+ "chevron-right": [{
678
+ tag: "path",
679
+ attrs: { d: "M9 6l6 6-6 6" }
680
+ }],
681
+ "arrow-up": [{
682
+ tag: "path",
683
+ attrs: { d: "M12 19V5" }
684
+ }, {
685
+ tag: "path",
686
+ attrs: { d: "M6 11l6-6 6 6" }
687
+ }],
688
+ "arrow-down": [{
689
+ tag: "path",
690
+ attrs: { d: "M12 5v14" }
691
+ }, {
692
+ tag: "path",
693
+ attrs: { d: "M6 13l6 6 6-6" }
694
+ }],
695
+ "arrow-left": [{
696
+ tag: "path",
697
+ attrs: { d: "M19 12H5" }
698
+ }, {
699
+ tag: "path",
700
+ attrs: { d: "M11 6l-6 6 6 6" }
701
+ }],
702
+ "arrow-right": [{
703
+ tag: "path",
704
+ attrs: { d: "M5 12h14" }
705
+ }, {
706
+ tag: "path",
707
+ attrs: { d: "M13 6l6 6-6 6" }
708
+ }],
709
+ settings: [
710
+ {
711
+ tag: "circle",
712
+ attrs: {
713
+ cx: "12",
714
+ cy: "12",
715
+ r: "3"
716
+ }
717
+ },
718
+ {
719
+ tag: "path",
720
+ attrs: { d: "M12 2.5v3" }
721
+ },
722
+ {
723
+ tag: "path",
724
+ attrs: { d: "M12 18.5v3" }
725
+ },
726
+ {
727
+ tag: "path",
728
+ attrs: { d: "M21.5 12h-3" }
729
+ },
730
+ {
731
+ tag: "path",
732
+ attrs: { d: "M5.5 12h-3" }
733
+ },
734
+ {
735
+ tag: "path",
736
+ attrs: { d: "M18.7 5.3l-2.1 2.1" }
737
+ },
738
+ {
739
+ tag: "path",
740
+ attrs: { d: "M7.4 16.6l-2.1 2.1" }
741
+ },
742
+ {
743
+ tag: "path",
744
+ attrs: { d: "M18.7 18.7l-2.1-2.1" }
745
+ },
746
+ {
747
+ tag: "path",
748
+ attrs: { d: "M7.4 7.4L5.3 5.3" }
749
+ }
750
+ ],
751
+ user: [{
752
+ tag: "circle",
753
+ attrs: {
754
+ cx: "12",
755
+ cy: "8",
756
+ r: "4"
757
+ }
758
+ }, {
759
+ tag: "path",
760
+ attrs: { d: "M4 20c0-4 4-6 8-6s8 2 8 6" }
761
+ }],
762
+ home: [
763
+ {
764
+ tag: "path",
765
+ attrs: { d: "M4 11l8-7 8 7" }
766
+ },
767
+ {
768
+ tag: "path",
769
+ attrs: { d: "M6 10v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-9" }
770
+ },
771
+ {
772
+ tag: "path",
773
+ attrs: { d: "M10 20v-5h4v5" }
774
+ }
775
+ ],
776
+ star: [{
777
+ tag: "path",
778
+ attrs: { d: "M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 17.9l-5.2 2.6 1-5.8L3.5 9.7l5.9-.9z" }
779
+ }],
780
+ bookmark: [{
781
+ tag: "path",
782
+ attrs: { d: "M6 4h12a1 1 0 0 1 1 1v15l-7-4-7 4V5a1 1 0 0 1 1-1z" }
783
+ }],
784
+ link: [
785
+ {
786
+ tag: "path",
787
+ attrs: { d: "M9 15l6-6" }
788
+ },
789
+ {
790
+ tag: "path",
791
+ attrs: { d: "M10.5 6.5l1-1a3.5 3.5 0 0 1 5 5l-1 1" }
792
+ },
793
+ {
794
+ tag: "path",
795
+ attrs: { d: "M13.5 17.5l-1 1a3.5 3.5 0 0 1-5-5l1-1" }
796
+ }
797
+ ],
798
+ image: [
799
+ {
800
+ tag: "rect",
801
+ attrs: {
802
+ height: "16",
803
+ rx: "1.5",
804
+ width: "18",
805
+ x: "3",
806
+ y: "4"
807
+ }
808
+ },
809
+ {
810
+ tag: "circle",
811
+ attrs: {
812
+ cx: "8.5",
813
+ cy: "9.5",
814
+ r: "1.5"
815
+ }
816
+ },
817
+ {
818
+ tag: "path",
819
+ attrs: { d: "M4 17l5-5 4 4 3-3 4 4" }
820
+ }
821
+ ],
822
+ calendar: [
823
+ {
824
+ tag: "rect",
825
+ attrs: {
826
+ height: "16",
827
+ rx: "1.5",
828
+ width: "18",
829
+ x: "3",
830
+ y: "5"
831
+ }
832
+ },
833
+ {
834
+ tag: "path",
835
+ attrs: { d: "M3 9h18" }
836
+ },
837
+ {
838
+ tag: "path",
839
+ attrs: { d: "M8 3v4" }
840
+ },
841
+ {
842
+ tag: "path",
843
+ attrs: { d: "M16 3v4" }
844
+ },
845
+ {
846
+ tag: "path",
847
+ attrs: { d: "M7 13h2" }
848
+ },
849
+ {
850
+ tag: "path",
851
+ attrs: { d: "M11 13h2" }
852
+ },
853
+ {
854
+ tag: "path",
855
+ attrs: { d: "M15 13h2" }
856
+ }
857
+ ],
858
+ clock: [{
859
+ tag: "circle",
860
+ attrs: {
861
+ cx: "12",
862
+ cy: "12",
863
+ r: "9"
864
+ }
865
+ }, {
866
+ tag: "path",
867
+ attrs: { d: "M12 7v5l3.5 2" }
868
+ }],
869
+ bell: [
870
+ {
871
+ tag: "path",
872
+ attrs: { d: "M6 17h12l-1.2-2V11a4.8 4.8 0 0 0-9.6 0v4z" }
873
+ },
874
+ {
875
+ tag: "path",
876
+ attrs: { d: "M10 17a2 2 0 0 0 4 0" }
877
+ },
878
+ {
879
+ tag: "path",
880
+ attrs: { d: "M12 5v1.5" }
881
+ }
882
+ ],
883
+ download: [
884
+ {
885
+ tag: "path",
886
+ attrs: { d: "M12 4v10" }
887
+ },
888
+ {
889
+ tag: "path",
890
+ attrs: { d: "M8 10l4 4 4-4" }
891
+ },
892
+ {
893
+ tag: "path",
894
+ attrs: { d: "M4 19h16" }
895
+ }
896
+ ],
897
+ upload: [
898
+ {
899
+ tag: "path",
900
+ attrs: { d: "M12 16V6" }
901
+ },
902
+ {
903
+ tag: "path",
904
+ attrs: { d: "M8 10l4-4 4 4" }
905
+ },
906
+ {
907
+ tag: "path",
908
+ attrs: { d: "M4 19h16" }
909
+ }
910
+ ],
911
+ share: [
912
+ {
913
+ tag: "circle",
914
+ attrs: {
915
+ cx: "6",
916
+ cy: "12",
917
+ r: "2.5"
918
+ }
919
+ },
920
+ {
921
+ tag: "circle",
922
+ attrs: {
923
+ cx: "18",
924
+ cy: "6",
925
+ r: "2.5"
926
+ }
927
+ },
928
+ {
929
+ tag: "circle",
930
+ attrs: {
931
+ cx: "18",
932
+ cy: "18",
933
+ r: "2.5"
934
+ }
935
+ },
936
+ {
937
+ tag: "path",
938
+ attrs: { d: "M8.2 10.8l7.6-3.6" }
939
+ },
940
+ {
941
+ tag: "path",
942
+ attrs: { d: "M8.2 13.2l7.6 3.6" }
943
+ }
944
+ ],
945
+ undo: [{
946
+ tag: "path",
947
+ attrs: { d: "M9 7L4 12l5 5" }
948
+ }, {
949
+ tag: "path",
950
+ attrs: { d: "M4 12h11a5 5 0 0 1 0 10h-3" }
951
+ }],
952
+ redo: [{
953
+ tag: "path",
954
+ attrs: { d: "M15 7l5 5-5 5" }
955
+ }, {
956
+ tag: "path",
957
+ attrs: { d: "M20 12H9a5 5 0 0 0 0 10h3" }
958
+ }],
959
+ "zoom-in": [
960
+ {
961
+ tag: "circle",
962
+ attrs: {
963
+ cx: "11",
964
+ cy: "11",
965
+ r: "7"
966
+ }
967
+ },
968
+ {
969
+ tag: "path",
970
+ attrs: { d: "M21 21l-4.3-4.3" }
971
+ },
972
+ {
973
+ tag: "path",
974
+ attrs: { d: "M11 8v6" }
975
+ },
976
+ {
977
+ tag: "path",
978
+ attrs: { d: "M8 11h6" }
979
+ }
980
+ ],
981
+ "zoom-out": [
982
+ {
983
+ tag: "circle",
984
+ attrs: {
985
+ cx: "11",
986
+ cy: "11",
987
+ r: "7"
988
+ }
989
+ },
990
+ {
991
+ tag: "path",
992
+ attrs: { d: "M21 21l-4.3-4.3" }
993
+ },
994
+ {
995
+ tag: "path",
996
+ attrs: { d: "M8 11h6" }
997
+ }
998
+ ],
999
+ fullscreen: [
1000
+ {
1001
+ tag: "path",
1002
+ attrs: { d: "M9 4H4v5" }
1003
+ },
1004
+ {
1005
+ tag: "path",
1006
+ attrs: { d: "M15 4h5v5" }
1007
+ },
1008
+ {
1009
+ tag: "path",
1010
+ attrs: { d: "M20 15v5h-5" }
1011
+ },
1012
+ {
1013
+ tag: "path",
1014
+ attrs: { d: "M9 20H4v-5" }
1015
+ }
1016
+ ],
1017
+ "fullscreen-exit": [
1018
+ {
1019
+ tag: "path",
1020
+ attrs: { d: "M4 9h5V4" }
1021
+ },
1022
+ {
1023
+ tag: "path",
1024
+ attrs: { d: "M20 9h-5V4" }
1025
+ },
1026
+ {
1027
+ tag: "path",
1028
+ attrs: { d: "M15 20v-5h5" }
1029
+ },
1030
+ {
1031
+ tag: "path",
1032
+ attrs: { d: "M9 20v-5H4" }
1033
+ }
1034
+ ],
1035
+ menu: [
1036
+ {
1037
+ tag: "path",
1038
+ attrs: { d: "M4 7h16" }
1039
+ },
1040
+ {
1041
+ tag: "path",
1042
+ attrs: { d: "M4 12h16" }
1043
+ },
1044
+ {
1045
+ tag: "path",
1046
+ attrs: { d: "M4 17h16" }
1047
+ }
1048
+ ],
1049
+ more: [
1050
+ {
1051
+ tag: "circle",
1052
+ attrs: {
1053
+ cx: "12",
1054
+ cy: "5",
1055
+ r: "1.4",
1056
+ fill: "currentColor",
1057
+ stroke: "none"
1058
+ }
1059
+ },
1060
+ {
1061
+ tag: "circle",
1062
+ attrs: {
1063
+ cx: "12",
1064
+ cy: "12",
1065
+ r: "1.4",
1066
+ fill: "currentColor",
1067
+ stroke: "none"
1068
+ }
1069
+ },
1070
+ {
1071
+ tag: "circle",
1072
+ attrs: {
1073
+ cx: "12",
1074
+ cy: "19",
1075
+ r: "1.4",
1076
+ fill: "currentColor",
1077
+ stroke: "none"
1078
+ }
1079
+ }
1080
+ ],
1081
+ filter: [{
1082
+ tag: "path",
1083
+ attrs: { d: "M4 5h16l-6 8v6l-4-2v-4z" }
1084
+ }],
1085
+ sort: [
1086
+ {
1087
+ tag: "path",
1088
+ attrs: { d: "M8 4v16" }
1089
+ },
1090
+ {
1091
+ tag: "path",
1092
+ attrs: { d: "M5 7l3-3 3 3" }
1093
+ },
1094
+ {
1095
+ tag: "path",
1096
+ attrs: { d: "M11 17l-3 3-3-3" }
1097
+ },
1098
+ {
1099
+ tag: "path",
1100
+ attrs: { d: "M14 8h6" }
1101
+ },
1102
+ {
1103
+ tag: "path",
1104
+ attrs: { d: "M14 12h6" }
1105
+ },
1106
+ {
1107
+ tag: "path",
1108
+ attrs: { d: "M14 16h6" }
1109
+ }
1110
+ ]
1111
+ };
1112
+ //#endregion
1113
+ //#region src/components/icon/Icon.tsx
1114
+ function i({ label: i, name: a, className: o, ...s }) {
1115
+ return /* @__PURE__ */ t("svg", {
1116
+ className: [
1117
+ "hn-icon",
1118
+ `hn-icon--${a}`,
1119
+ o
1120
+ ].filter(Boolean).join(" "),
1121
+ fill: "none",
1122
+ focusable: "false",
1123
+ height: "1em",
1124
+ stroke: "currentColor",
1125
+ strokeLinecap: "round",
1126
+ strokeLinejoin: "round",
1127
+ strokeWidth: 1.5,
1128
+ viewBox: "0 0 24 24",
1129
+ width: "1em",
1130
+ xmlns: "http://www.w3.org/2000/svg",
1131
+ ...i === void 0 ? { "aria-hidden": !0 } : {
1132
+ "aria-label": i,
1133
+ role: "img"
1134
+ },
1135
+ ...s,
1136
+ children: [/* @__PURE__ */ e("title", { children: i ?? a }), r[a].map(({ tag: e, attrs: t }, r) => n(e, {
1137
+ ...t,
1138
+ key: r
1139
+ }))]
1140
+ });
1141
+ }
1142
+ //#endregion
1143
+ export { i as t };