@fluxus-ui/icons 0.2.0 → 0.3.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.
package/README.md CHANGED
@@ -28,6 +28,14 @@ export const Bell = () => <Icon icon={bell} label="Notifications" />;
28
28
 
29
29
  Without `label` an icon is decoration, hidden from a screen reader.
30
30
 
31
- Design and decisions: [`SPEC.md`](https://github.com/Jhony0709/fluxus/blob/main/SPEC.md), §14.36.
31
+ On React Native, `@fluxus-ui/native/icon` moves the same icons on the UI thread. It reads them with `poseOf`, `parse` and `ICON_SPRINGS`, exported for that: the springs are the same on every platform.
32
+
33
+ For what cannot draw an SVG of React, such as a native tab bar, `fluxus-icons-png` writes the icons at rest as tintable PNG (black on transparent) at 1x, 2x and 3x. It needs `@resvg/resvg-js` as a dev dependency:
34
+
35
+ ```sh
36
+ npx fluxus-icons-png --out assets/tabs --size 24 --icons chat,users,book
37
+ ```
38
+
39
+ Design and decisions: [`SPEC.md`](https://github.com/Jhony0709/fluxus/blob/main/SPEC.md), §14.36 and §15.12.
32
40
 
33
41
  MIT
@@ -0,0 +1,51 @@
1
+ #!/usr/bin/env node
2
+ // The icons at rest as tintable PNG, for what cannot draw an SVG of React (a native tab bar):
3
+ // fluxus-icons-png --out assets/tabs [--size 24] [--icons chat,users]
4
+ // Black on transparent, at 1x, 2x and 3x. It needs @resvg/resvg-js. (SPEC §15.13)
5
+ import { mkdirSync, realpathSync, writeFileSync } from 'node:fs';
6
+ import { join } from 'node:path';
7
+ import { fileURLToPath } from 'node:url';
8
+ import * as icons from '../dist/index.js';
9
+
10
+ const all = Object.values(icons).filter((v) => v && typeof v === 'object' && Array.isArray(v.parts));
11
+
12
+ /** Writes `name.png`, `name@2x.png` and `name@3x.png` of each icon in `out`; the paths written. */
13
+ export async function writeIconPngs({ out, size = 24, names } = {}) {
14
+ let Resvg;
15
+ try {
16
+ ({ Resvg } = await import('@resvg/resvg-js'));
17
+ } catch {
18
+ throw new Error('fluxus-icons-png needs @resvg/resvg-js: npm install --save-dev @resvg/resvg-js');
19
+ }
20
+ const chosen = names ? names.map((name) => all.find((d) => d.name === name) ?? (() => { throw new Error(`No icon called ${name}`); })()) : all;
21
+ mkdirSync(out, { recursive: true });
22
+ const written = [];
23
+ for (const def of chosen) {
24
+ // The markup measures 1em and draws with currentColor: here, 16 units in black.
25
+ const svg = icons.iconMarkup(def).replace('<svg ', '<svg xmlns="http://www.w3.org/2000/svg" ').replace('width="1em" height="1em"', 'width="16" height="16" style="color:#000"');
26
+ for (const [scale, suffix] of [[1, ''], [2, '@2x'], [3, '@3x']]) {
27
+ const png = new Resvg(svg, { fitTo: { mode: 'width', value: size * scale } }).render().asPng();
28
+ const file = join(out, `${def.name}${suffix}.png`);
29
+ writeFileSync(file, png);
30
+ written.push(file);
31
+ }
32
+ }
33
+ return written;
34
+ }
35
+
36
+ // Run as a command, not imported. Installed, the command is a link to this file: compare what the link points to.
37
+ if (process.argv[1] && realpathSync(process.argv[1]) === fileURLToPath(import.meta.url)) {
38
+ const arg = (name) => (process.argv.includes(name) ? process.argv[process.argv.indexOf(name) + 1] : undefined);
39
+ const out = arg('--out');
40
+ if (!out) {
41
+ console.error('Usage: fluxus-icons-png --out <dir> [--size 24] [--icons chat,users]');
42
+ process.exit(1);
43
+ }
44
+ try {
45
+ const files = await writeIconPngs({ out, size: Number(arg('--size') ?? 24), names: arg('--icons')?.split(',') });
46
+ console.log(`${files.length} PNG in ${out}`);
47
+ } catch (error) {
48
+ console.error(error.message);
49
+ process.exit(1);
50
+ }
51
+ }
package/dist/index.cjs CHANGED
@@ -20,33 +20,57 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
+ ICON_SPRINGS: () => ICON_SPRINGS,
23
24
  REST: () => REST,
24
25
  arrowDown: () => arrowDown,
25
26
  arrowLeft: () => arrowLeft,
26
27
  arrowRight: () => arrowRight,
27
28
  arrowUp: () => arrowUp,
28
29
  attachIcon: () => attachIcon,
30
+ attrsOf: () => attrsOf,
29
31
  bell: () => bell,
32
+ book: () => book,
30
33
  calendar: () => calendar,
34
+ card: () => card,
35
+ chat: () => chat,
31
36
  check: () => check,
37
+ checkDouble: () => checkDouble,
32
38
  chevron: () => chevron,
39
+ clock: () => clock,
33
40
  close: () => close,
34
41
  copy: () => copy,
42
+ download: () => download,
43
+ draws: () => draws,
35
44
  error: () => error,
45
+ exam: () => exam,
46
+ external: () => external,
47
+ eye: () => eye,
48
+ filter: () => filter,
49
+ help: () => help,
36
50
  iconMarkup: () => iconMarkup,
37
51
  image: () => image,
38
52
  inbox: () => inbox,
53
+ info: () => info,
39
54
  list: () => list,
40
55
  lock: () => lock,
41
56
  login: () => login,
42
57
  logout: () => logout,
58
+ map: () => map,
59
+ medal: () => medal,
43
60
  menu: () => menu,
44
61
  mic: () => mic,
62
+ parse: () => parse,
45
63
  partsMarkup: () => partsMarkup,
46
64
  pencil: () => pencil,
65
+ phone: () => phone,
47
66
  play: () => play,
48
67
  plus: () => plus,
68
+ poseOf: () => poseOf,
49
69
  refresh: () => refresh,
70
+ retry: () => retry,
71
+ search: () => search,
72
+ send: () => send,
73
+ settings: () => settings,
50
74
  shield: () => shield,
51
75
  sidebar: () => sidebar,
52
76
  stack: () => stack,
@@ -54,8 +78,10 @@ __export(src_exports, {
54
78
  trash: () => trash,
55
79
  upload: () => upload,
56
80
  user: () => user,
81
+ users: () => users,
57
82
  validateIcon: () => validateIcon,
58
- wand: () => wand
83
+ wand: () => wand,
84
+ wifi: () => wifi
59
85
  });
60
86
  module.exports = __toCommonJS(src_exports);
61
87
 
@@ -64,6 +90,11 @@ var import_base = require("@fluxus-ui/core/base");
64
90
 
65
91
  // src/pose.ts
66
92
  var REST = "rest";
93
+ var ICON_SPRINGS = {
94
+ state: { stiffness: 320, damping: 26 },
95
+ push: { stiffness: 180, damping: 12 },
96
+ turn: { stiffness: 120, damping: 20 }
97
+ };
67
98
  var poseOf = (part, state, progress) => {
68
99
  const p = { ...part.rest, ...state ? part.on?.[state] : void 0 };
69
100
  return { d: p.d ?? part.d, x: p.x ?? 0, y: p.y ?? 0, r: p.r ?? 0, s: p.s ?? 1, draw: p.draw === "p" ? progress : p.draw ?? 1, o: p.o ?? 1 };
@@ -225,8 +256,7 @@ function attachIcon(svg, def, options = {}) {
225
256
  motion = (0, import_base.spring)({
226
257
  from: 0,
227
258
  to: 1,
228
- stiffness: 320,
229
- damping: 26,
259
+ ...ICON_SPRINGS.state,
230
260
  restDelta: 2e-3,
231
261
  onUpdate: (v) => {
232
262
  g = v;
@@ -251,7 +281,7 @@ function attachIcon(svg, def, options = {}) {
251
281
  from: live.off[k.k],
252
282
  to,
253
283
  velocity: carried + (k.v ?? 0),
254
- ...to ? { stiffness: 120, damping: 20 } : { stiffness: 180, damping: 12 },
284
+ ...to ? ICON_SPRINGS.turn : ICON_SPRINGS.push,
255
285
  restDelta: k.k === "s" ? 2e-3 : 0.05,
256
286
  restSpeed: 0.05,
257
287
  onUpdate: (v) => {
@@ -351,6 +381,17 @@ var bell = {
351
381
  }
352
382
  };
353
383
 
384
+ // src/icons/book.ts
385
+ var book = {
386
+ name: "book",
387
+ parts: [
388
+ { id: "left", d: "M8 4.5 C6.5 3.5 4.5 3 2.5 3 V12 C4.5 12 6.5 12.5 8 13.5" },
389
+ { id: "right", d: "M8 4.5 C9.5 3.5 11.5 3 13.5 3 V12 C11.5 12 9.5 12.5 8 13.5" },
390
+ { id: "spine", d: "M8 4.5 V13.5" },
391
+ { id: "lines", d: "M4.25 6 H6.25 M4.25 8.5 H6.25 M9.75 6 H11.75 M9.75 8.5 H11.75", rest: { draw: 0 }, on: { on: { draw: 1 } } }
392
+ ]
393
+ };
394
+
354
395
  // src/icons/calendar.ts
355
396
  var calendar = {
356
397
  name: "calendar",
@@ -360,6 +401,27 @@ var calendar = {
360
401
  ]
361
402
  };
362
403
 
404
+ // src/icons/card.ts
405
+ var card = {
406
+ name: "card",
407
+ parts: [
408
+ { id: "body", d: "M3.5 3.5 H12.5 A1.5 1.5 0 0 1 14 5 V11 A1.5 1.5 0 0 1 12.5 12.5 H3.5 A1.5 1.5 0 0 1 2 11 V5 A1.5 1.5 0 0 1 3.5 3.5 Z" },
409
+ { id: "stripe", d: "M2 6.5 H14" },
410
+ { id: "chip", d: "M4.5 9.75 H6.5" }
411
+ ],
412
+ kicks: { press: [{ p: "*", k: "x", v: 30 }] }
413
+ };
414
+
415
+ // src/icons/chat.ts
416
+ var chat = {
417
+ name: "chat",
418
+ parts: [
419
+ { id: "bubble", d: "M4 3 H12 A1.5 1.5 0 0 1 13.5 4.5 V9.5 A1.5 1.5 0 0 1 12 11 H7 L4 13.5 V11 A1.5 1.5 0 0 1 2.5 9.5 V4.5 A1.5 1.5 0 0 1 4 3 Z" },
420
+ { id: "dots", d: "M5.5 7 V7.01 M8 7 V7.01 M10.5 7 V7.01", rest: { o: 0 }, on: { typing: { o: 1 } } }
421
+ ],
422
+ kicks: { press: [{ p: "bubble", k: "s", v: 1.4 }] }
423
+ };
424
+
363
425
  // src/icons/check.ts
364
426
  var check = {
365
427
  name: "check",
@@ -370,12 +432,32 @@ var check = {
370
432
  kicks: { rest: [{ p: "*", k: "s", v: 1.2, wait: 160 }] }
371
433
  };
372
434
 
435
+ // src/icons/check-double.ts
436
+ var checkDouble = {
437
+ name: "check-double",
438
+ parts: [
439
+ { id: "first", d: "M1.75 8.5 L4.75 11.5 L10.25 5" },
440
+ { id: "second", d: "M7.75 10.75 L8.5 11.5 L14 5", lag: 0.25, on: { single: { draw: 0 } } }
441
+ ]
442
+ };
443
+
373
444
  // src/icons/chevron.ts
374
445
  var chevron = {
375
446
  name: "chevron",
376
447
  parts: [{ id: "v", d: "M4.5 6.25 L8 9.75 L11.5 6.25", on: { on: { r: -180 } } }]
377
448
  };
378
449
 
450
+ // src/icons/clock.ts
451
+ var clock = {
452
+ name: "clock",
453
+ parts: [
454
+ { id: "face", d: "M8 2.5 A5.5 5.5 0 1 1 8 13.5 A5.5 5.5 0 1 1 8 2.5 Z" },
455
+ { id: "minute", d: "M8 8 V4.75", c: [8, 8] },
456
+ { id: "hour", d: "M8 8 L10.25 9.25", c: [8, 8], on: { busy: { r: 30 } } }
457
+ ],
458
+ kicks: { busy: [{ p: "minute", k: "r", to: 360 }] }
459
+ };
460
+
379
461
  // src/icons/close.ts
380
462
  var close = {
381
463
  name: "close",
@@ -397,6 +479,20 @@ var copy = {
397
479
  kicks: { done: [{ p: "front", k: "s", v: 1.6 }] }
398
480
  };
399
481
 
482
+ // src/icons/download.ts
483
+ var TRAY = "M2.5 10.5 V12.5 A1 1 0 0 0 3.5 13.5 H12.5 A1 1 0 0 0 13.5 12.5 V10.5";
484
+ var download = {
485
+ name: "download",
486
+ parts: [
487
+ { id: "tray", d: TRAY, on: { busy: { o: 0.35 } } },
488
+ { id: "fill", d: TRAY, rest: { draw: 0 }, on: { busy: { draw: "p" }, done: { draw: 0 } } },
489
+ { id: "stem", d: "M8 2.5 V9.5", on: { done: { draw: 0 } } },
490
+ { id: "head", d: "M5 6.5 L8 9.5 L11 6.5", on: { done: { draw: 0, y: 2 } } },
491
+ { id: "tick", d: "M5 6 L7.3 8.3 L11 4", lag: 0.3, rest: { draw: 0 }, on: { done: { draw: 1 } } }
492
+ ],
493
+ kicks: { busy: [{ p: "head", k: "y", v: 22 }, { p: "stem", k: "y", v: 22 }] }
494
+ };
495
+
400
496
  // src/icons/error.ts
401
497
  var error = {
402
498
  name: "error",
@@ -408,6 +504,59 @@ var error = {
408
504
  kicks: { rest: [{ p: "*", k: "x", v: 36, wait: 120 }] }
409
505
  };
410
506
 
507
+ // src/icons/exam.ts
508
+ var exam = {
509
+ name: "exam",
510
+ parts: [
511
+ { id: "board", d: "M5 3.5 H4 A1 1 0 0 0 3 4.5 V12.5 A1 1 0 0 0 4 13.5 H12 A1 1 0 0 0 13 12.5 V4.5 A1 1 0 0 0 12 3.5 H11" },
512
+ { id: "clip", d: "M6 2.5 H10 V4.5 H6 Z" },
513
+ { id: "lines", d: "M8.5 7.5 H10.5 M8.5 10.5 H10.5" },
514
+ { id: "ticks", d: "M5 7.5 L5.75 8.25 L7 6.75 M5 10.5 L5.75 11.25 L7 9.75", lag: 0.2, rest: { draw: 0 }, on: { done: { draw: 1 } } }
515
+ ],
516
+ kicks: { done: [{ p: "board", k: "s", v: 1.2 }] }
517
+ };
518
+
519
+ // src/icons/external.ts
520
+ var external = {
521
+ name: "external",
522
+ parts: [
523
+ { id: "box", d: "M7 3.5 H4.5 A1 1 0 0 0 3.5 4.5 V11.5 A1 1 0 0 0 4.5 12.5 H11.5 A1 1 0 0 0 12.5 11.5 V9" },
524
+ { id: "arrow", d: "M9 3.5 H12.5 V7 M12.5 3.5 L7.5 8.5" }
525
+ ],
526
+ kicks: { press: [{ p: "arrow", k: "x", v: 20 }, { p: "arrow", k: "y", v: -20 }] }
527
+ };
528
+
529
+ // src/icons/eye.ts
530
+ var eye = {
531
+ name: "eye",
532
+ parts: [
533
+ { id: "lid", d: "M1.5 8 C3.5 4.5 5.5 3.5 8 3.5 C10.5 3.5 12.5 4.5 14.5 8 C12.5 11.5 10.5 12.5 8 12.5 C5.5 12.5 3.5 11.5 1.5 8 Z", on: { off: { d: "M1.5 8 C3.5 9.5 5.5 10 8 10 C10.5 10 12.5 9.5 14.5 8 C12.5 11.5 10.5 12.5 8 12.5 C5.5 12.5 3.5 11.5 1.5 8 Z" } } },
534
+ { id: "pupil", d: "M8 6 A2 2 0 1 1 8 10 A2 2 0 1 1 8 6 Z", on: { off: { s: 0.4, o: 0 } } },
535
+ { id: "slash", d: "M2.5 2.5 L13.5 13.5", lag: 0.3, rest: { draw: 0 }, on: { off: { draw: 1 } } }
536
+ ]
537
+ };
538
+
539
+ // src/icons/filter.ts
540
+ var filter = {
541
+ name: "filter",
542
+ parts: [
543
+ { id: "funnel", d: "M2.5 3.5 H13.5 L9.5 8.5 V12.5 L6.5 13.5 V8.5 Z" },
544
+ { id: "dot", d: "M13 11.5 V11.51", c: [13, 11.5], rest: { o: 0, s: 0 }, on: { on: { o: 1, s: 1 } } }
545
+ ],
546
+ kicks: { press: [{ p: "funnel", k: "y", v: 20 }] }
547
+ };
548
+
549
+ // src/icons/help.ts
550
+ var help = {
551
+ name: "help",
552
+ parts: [
553
+ { id: "ring", d: "M8 2.5 A5.5 5.5 0 1 1 8 13.5 A5.5 5.5 0 1 1 8 2.5 Z" },
554
+ { id: "mark", d: "M6.25 6.25 A1.75 1.75 0 1 1 8.75 7.75 C8.25 8 8 8.5 8 9.25" },
555
+ { id: "dot", d: "M8 11.25 V11.26" }
556
+ ],
557
+ kicks: { press: [{ p: "*", k: "r", v: 200 }] }
558
+ };
559
+
411
560
  // src/icons/image.ts
412
561
  var image = {
413
562
  name: "image",
@@ -427,6 +576,17 @@ var inbox = {
427
576
  ]
428
577
  };
429
578
 
579
+ // src/icons/info.ts
580
+ var info = {
581
+ name: "info",
582
+ parts: [
583
+ { id: "ring", d: "M8 2.5 A5.5 5.5 0 1 1 8 13.5 A5.5 5.5 0 1 1 8 2.5 Z" },
584
+ { id: "bar", d: "M8 7.5 V11" },
585
+ { id: "dot", d: "M8 5 V5.01" }
586
+ ],
587
+ kicks: { press: [{ p: "dot", k: "y", v: -30 }, { p: "bar", k: "y", v: -10, wait: 40 }] }
588
+ };
589
+
430
590
  // src/icons/list.ts
431
591
  var list = {
432
592
  name: "list",
@@ -464,6 +624,27 @@ var logout = {
464
624
  ]
465
625
  };
466
626
 
627
+ // src/icons/map.ts
628
+ var map = {
629
+ name: "map",
630
+ parts: [
631
+ { id: "sheet", d: "M2.5 4 L6 2.5 L10 4 L13.5 2.5 V12 L10 13.5 L6 12 L2.5 13.5 Z" },
632
+ { id: "folds", d: "M6 2.5 V12 M10 4 V13.5" },
633
+ { id: "route", d: "M4 10.5 C5 9 6.5 9.5 8 8 C9.25 6.75 10.5 7 12 5.5", rest: { draw: 0 }, on: { on: { draw: 1 } } }
634
+ ]
635
+ };
636
+
637
+ // src/icons/medal.ts
638
+ var medal = {
639
+ name: "medal",
640
+ parts: [
641
+ { id: "ribbon", d: "M5 2.5 L7 7 M11 2.5 L9 7", c: [8, 2.5] },
642
+ { id: "disc", d: "M8 7 A3.25 3.25 0 1 1 8 13.5 A3.25 3.25 0 1 1 8 7 Z", c: [8, 2.5] },
643
+ { id: "one", d: "M7.25 9.25 L8 8.75 V11.75", c: [8, 2.5] }
644
+ ],
645
+ kicks: { press: [{ p: "*", k: "r", v: 160 }] }
646
+ };
647
+
467
648
  // src/icons/menu.ts
468
649
  var menu = {
469
650
  name: "menu",
@@ -497,6 +678,15 @@ var pencil = {
497
678
  kicks: { hover: [{ p: "*", k: "r", v: 150 }] }
498
679
  };
499
680
 
681
+ // src/icons/phone.ts
682
+ var phone = {
683
+ name: "phone",
684
+ parts: [
685
+ { id: "handset", d: "M5 2.5 H6.5 L7.5 5.5 L6 6.75 C6.75 8.25 7.75 9.25 9.25 10 L10.5 8.5 L13.5 9.5 V11 A2.5 2.5 0 0 1 11 13.5 C6.25 13 3 9.75 2.5 5 A2.5 2.5 0 0 1 5 2.5 Z" }
686
+ ],
687
+ kicks: { press: [{ p: "*", k: "r", v: 420 }] }
688
+ };
689
+
500
690
  // src/icons/play.ts
501
691
  var play = {
502
692
  name: "play",
@@ -529,6 +719,55 @@ var refresh = {
529
719
  }
530
720
  };
531
721
 
722
+ // src/icons/retry.ts
723
+ var retry = {
724
+ name: "retry",
725
+ parts: [
726
+ { id: "arc", d: "M2.5 8 A5.5 5.5 0 1 0 8 2.5 C6.5 2.5 5.1 3.1 4.1 4.1 L2.5 5.5" },
727
+ { id: "head", d: "M2.5 2.5 V5.5 H5.5" }
728
+ ],
729
+ kicks: { press: [{ p: "*", k: "r", to: -360 }] }
730
+ };
731
+
732
+ // src/icons/search.ts
733
+ var search = {
734
+ name: "search",
735
+ parts: [
736
+ { id: "lens", d: "M7 2.5 A4.5 4.5 0 1 1 7 11.5 A4.5 4.5 0 1 1 7 2.5 Z", c: [7, 7] },
737
+ { id: "handle", d: "M10.25 10.25 L13.5 13.5" }
738
+ ],
739
+ kicks: { press: [{ p: "lens", k: "s", v: 1.6 }] }
740
+ };
741
+
742
+ // src/icons/send.ts
743
+ var send = {
744
+ name: "send",
745
+ parts: [
746
+ { id: "wing", d: "M13.5 2.5 L2.5 7 L7 9 L9 13.5 Z" },
747
+ { id: "fold", d: "M13.5 2.5 L7 9" }
748
+ ],
749
+ kicks: { press: [{ p: "*", k: "x", v: 70 }, { p: "*", k: "y", v: -70 }] }
750
+ };
751
+
752
+ // src/icons/settings.ts
753
+ var knob = (x, y) => `M${x} ${y - 1.25} A1.25 1.25 0 1 1 ${x} ${y + 1.25} A1.25 1.25 0 1 1 ${x} ${y - 1.25} Z`;
754
+ var settings = {
755
+ name: "settings",
756
+ parts: [
757
+ { id: "rails", d: "M2.5 4.5 H13.5 M2.5 8 H13.5 M2.5 11.5 H13.5" },
758
+ { id: "k1", d: knob(10, 4.5), fill: true },
759
+ { id: "k2", d: knob(5.5, 8), fill: true },
760
+ { id: "k3", d: knob(9, 11.5), fill: true }
761
+ ],
762
+ kicks: {
763
+ press: [
764
+ { p: "k1", k: "x", v: -30 },
765
+ { p: "k2", k: "x", v: 30, wait: 40 },
766
+ { p: "k3", k: "x", v: -30, wait: 80 }
767
+ ]
768
+ }
769
+ };
770
+
532
771
  // src/icons/shield.ts
533
772
  var shield = {
534
773
  name: "shield",
@@ -586,12 +825,12 @@ var trash = {
586
825
  };
587
826
 
588
827
  // src/icons/upload.ts
589
- var TRAY = "M2.5 10.5 V12.5 A1 1 0 0 0 3.5 13.5 H12.5 A1 1 0 0 0 13.5 12.5 V10.5";
828
+ var TRAY2 = "M2.5 10.5 V12.5 A1 1 0 0 0 3.5 13.5 H12.5 A1 1 0 0 0 13.5 12.5 V10.5";
590
829
  var upload = {
591
830
  name: "upload",
592
831
  parts: [
593
- { id: "tray", d: TRAY, on: { busy: { o: 0.35 } } },
594
- { id: "fill", d: TRAY, rest: { draw: 0 }, on: { busy: { draw: "p" }, done: { draw: 0 } } },
832
+ { id: "tray", d: TRAY2, on: { busy: { o: 0.35 } } },
833
+ { id: "fill", d: TRAY2, rest: { draw: 0 }, on: { busy: { draw: "p" }, done: { draw: 0 } } },
595
834
  { id: "stem", d: "M8 10.5 V3", on: { done: { draw: 0 } } },
596
835
  { id: "head", d: "M5 6 L8 3 L11 6", on: { done: { draw: 0, y: -2 } } },
597
836
  { id: "tick", d: "M5 6 L7.3 8.3 L11 4", lag: 0.3, rest: { draw: 0 }, on: { done: { draw: 1 } } }
@@ -608,6 +847,25 @@ var user = {
608
847
  ]
609
848
  };
610
849
 
850
+ // src/icons/users.ts
851
+ var users = {
852
+ name: "users",
853
+ parts: [
854
+ { id: "head", d: "M6 3 A2.25 2.25 0 1 1 6 7.5 A2.25 2.25 0 1 1 6 3 Z" },
855
+ { id: "body", d: "M1.75 13.5 C2.25 11.25 3.9 9.75 6 9.75 C8.1 9.75 9.75 11.25 10.25 13.5" },
856
+ { id: "head2", d: "M10.25 3.15 A2.1 2.1 0 1 1 11 7.3" },
857
+ { id: "body2", d: "M11.5 9.8 C12.9 10.2 13.9 11.6 14.25 13.5" }
858
+ ],
859
+ kicks: {
860
+ press: [
861
+ { p: "head", k: "y", v: -22 },
862
+ { p: "body", k: "y", v: -22 },
863
+ { p: "head2", k: "y", v: -22, wait: 70 },
864
+ { p: "body2", k: "y", v: -22, wait: 70 }
865
+ ]
866
+ }
867
+ };
868
+
611
869
  // src/icons/wand.ts
612
870
  var wand = {
613
871
  name: "wand",
@@ -632,35 +890,71 @@ var wand = {
632
890
  ]
633
891
  }
634
892
  };
893
+
894
+ // src/icons/wifi.ts
895
+ var wifi = {
896
+ name: "wifi",
897
+ parts: [
898
+ { id: "big", d: "M1.75 6.25 A8.8 8.8 0 0 1 14.25 6.25", on: { off: { o: 0.35 } } },
899
+ { id: "mid", d: "M3.75 8.5 A6 6 0 0 1 12.25 8.5", on: { off: { o: 0.35 } } },
900
+ { id: "small", d: "M5.75 10.75 A3.2 3.2 0 0 1 10.25 10.75", on: { off: { o: 0.35 } } },
901
+ { id: "dot", d: "M8 13 V13.01" },
902
+ { id: "slash", d: "M2.5 2.5 L13.5 13.5", lag: 0.2, rest: { draw: 0 }, on: { off: { draw: 1 } } }
903
+ ]
904
+ };
635
905
  // Annotate the CommonJS export names for ESM import in node:
636
906
  0 && (module.exports = {
907
+ ICON_SPRINGS,
637
908
  REST,
638
909
  arrowDown,
639
910
  arrowLeft,
640
911
  arrowRight,
641
912
  arrowUp,
642
913
  attachIcon,
914
+ attrsOf,
643
915
  bell,
916
+ book,
644
917
  calendar,
918
+ card,
919
+ chat,
645
920
  check,
921
+ checkDouble,
646
922
  chevron,
923
+ clock,
647
924
  close,
648
925
  copy,
926
+ download,
927
+ draws,
649
928
  error,
929
+ exam,
930
+ external,
931
+ eye,
932
+ filter,
933
+ help,
650
934
  iconMarkup,
651
935
  image,
652
936
  inbox,
937
+ info,
653
938
  list,
654
939
  lock,
655
940
  login,
656
941
  logout,
942
+ map,
943
+ medal,
657
944
  menu,
658
945
  mic,
946
+ parse,
659
947
  partsMarkup,
660
948
  pencil,
949
+ phone,
661
950
  play,
662
951
  plus,
952
+ poseOf,
663
953
  refresh,
954
+ retry,
955
+ search,
956
+ send,
957
+ settings,
664
958
  shield,
665
959
  sidebar,
666
960
  stack,
@@ -668,6 +962,8 @@ var wand = {
668
962
  trash,
669
963
  upload,
670
964
  user,
965
+ users,
671
966
  validateIcon,
672
- wand
967
+ wand,
968
+ wifi
673
969
  });