weasel-icons 0.3.0 → 0.5.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 +19 -2
- package/THIRD_PARTY_NOTICES.md +4 -0
- package/dist/icons/app-window/app-window-icon.d.ts +5 -0
- package/dist/icons/app-window/app-window-icon.js +9 -0
- package/dist/icons/app-window/app-window-rig.d.ts +37 -0
- package/dist/icons/app-window/app-window-rig.js +54 -0
- package/dist/icons/archive/archive-icon.d.ts +5 -0
- package/dist/icons/archive/archive-icon.js +9 -0
- package/dist/icons/archive/archive-rig.d.ts +46 -0
- package/dist/icons/archive/archive-rig.js +68 -0
- package/dist/icons/at-sign/at-sign-icon.d.ts +5 -0
- package/dist/icons/at-sign/at-sign-icon.js +9 -0
- package/dist/icons/at-sign/at-sign-rig.d.ts +31 -0
- package/dist/icons/at-sign/at-sign-rig.js +47 -0
- package/dist/icons/battery/battery-icon.d.ts +5 -0
- package/dist/icons/battery/battery-icon.js +9 -0
- package/dist/icons/battery/battery-rig.d.ts +150 -0
- package/dist/icons/battery/battery-rig.js +106 -0
- package/dist/icons/bluetooth/bluetooth-icon.d.ts +5 -0
- package/dist/icons/bluetooth/bluetooth-icon.js +9 -0
- package/dist/icons/bluetooth/bluetooth-rig.d.ts +53 -0
- package/dist/icons/bluetooth/bluetooth-rig.js +86 -0
- package/dist/icons/brush/brush-icon.d.ts +5 -0
- package/dist/icons/brush/brush-icon.js +9 -0
- package/dist/icons/brush/brush-rig.d.ts +67 -0
- package/dist/icons/brush/brush-rig.js +103 -0
- package/dist/icons/bug/bug-icon.d.ts +5 -0
- package/dist/icons/bug/bug-icon.js +9 -0
- package/dist/icons/bug/bug-rig.d.ts +338 -0
- package/dist/icons/bug/bug-rig.js +110 -0
- package/dist/icons/cast/cast-icon.d.ts +5 -0
- package/dist/icons/cast/cast-icon.js +9 -0
- package/dist/icons/cast/cast-rig.d.ts +57 -0
- package/dist/icons/cast/cast-rig.js +88 -0
- package/dist/icons/chart-bar/chart-bar-icon.d.ts +5 -0
- package/dist/icons/chart-bar/chart-bar-icon.js +9 -0
- package/dist/icons/chart-bar/chart-bar-rig.d.ts +79 -0
- package/dist/icons/chart-bar/chart-bar-rig.js +124 -0
- package/dist/icons/chart-line/chart-line-icon.d.ts +5 -0
- package/dist/icons/chart-line/chart-line-icon.js +9 -0
- package/dist/icons/chart-line/chart-line-rig.d.ts +50 -0
- package/dist/icons/chart-line/chart-line-rig.js +73 -0
- package/dist/icons/chart-pie/chart-pie-icon.d.ts +5 -0
- package/dist/icons/chart-pie/chart-pie-icon.js +9 -0
- package/dist/icons/chart-pie/chart-pie-rig.d.ts +21 -0
- package/dist/icons/chart-pie/chart-pie-rig.js +31 -0
- package/dist/icons/columns/columns-icon.d.ts +5 -0
- package/dist/icons/columns/columns-icon.js +9 -0
- package/dist/icons/columns/columns-rig.d.ts +15 -0
- package/dist/icons/columns/columns-rig.js +19 -0
- package/dist/icons/compass/compass-icon.d.ts +5 -0
- package/dist/icons/compass/compass-icon.js +9 -0
- package/dist/icons/compass/compass-rig.d.ts +91 -0
- package/dist/icons/compass/compass-rig.js +69 -0
- package/dist/icons/crop/crop-icon.d.ts +5 -0
- package/dist/icons/crop/crop-icon.js +9 -0
- package/dist/icons/crop/crop-rig.d.ts +16 -0
- package/dist/icons/crop/crop-rig.js +28 -0
- package/dist/icons/eraser/eraser-icon.d.ts +5 -0
- package/dist/icons/eraser/eraser-icon.js +9 -0
- package/dist/icons/eraser/eraser-rig.d.ts +48 -0
- package/dist/icons/eraser/eraser-rig.js +76 -0
- package/dist/icons/fast-forward/fast-forward-icon.d.ts +5 -0
- package/dist/icons/fast-forward/fast-forward-icon.js +9 -0
- package/dist/icons/fast-forward/fast-forward-rig.d.ts +48 -0
- package/dist/icons/fast-forward/fast-forward-rig.js +78 -0
- package/dist/icons/file-check/file-check-icon.d.ts +5 -0
- package/dist/icons/file-check/file-check-icon.js +9 -0
- package/dist/icons/file-check/file-check-rig.d.ts +57 -0
- package/dist/icons/file-check/file-check-rig.js +89 -0
- package/dist/icons/file-plus/file-plus-icon.d.ts +5 -0
- package/dist/icons/file-plus/file-plus-icon.js +9 -0
- package/dist/icons/file-plus/file-plus-rig.d.ts +33 -0
- package/dist/icons/file-plus/file-plus-rig.js +56 -0
- package/dist/icons/fingerprint/fingerprint-icon.d.ts +5 -0
- package/dist/icons/fingerprint/fingerprint-icon.js +9 -0
- package/dist/icons/fingerprint/fingerprint-rig.d.ts +61 -0
- package/dist/icons/fingerprint/fingerprint-rig.js +102 -0
- package/dist/icons/flag/flag-icon.d.ts +5 -0
- package/dist/icons/flag/flag-icon.js +9 -0
- package/dist/icons/flag/flag-rig.d.ts +35 -0
- package/dist/icons/flag/flag-rig.js +54 -0
- package/dist/icons/folder-open/folder-open-icon.d.ts +5 -0
- package/dist/icons/folder-open/folder-open-icon.js +9 -0
- package/dist/icons/folder-open/folder-open-rig.d.ts +15 -0
- package/dist/icons/folder-open/folder-open-rig.js +23 -0
- package/dist/icons/folder-plus/folder-plus-icon.d.ts +5 -0
- package/dist/icons/folder-plus/folder-plus-icon.js +9 -0
- package/dist/icons/folder-plus/folder-plus-rig.d.ts +46 -0
- package/dist/icons/folder-plus/folder-plus-rig.js +72 -0
- package/dist/icons/forward/forward-icon.d.ts +5 -0
- package/dist/icons/forward/forward-icon.js +9 -0
- package/dist/icons/forward/forward-rig.d.ts +45 -0
- package/dist/icons/forward/forward-rig.js +73 -0
- package/dist/icons/gift/gift-icon.d.ts +5 -0
- package/dist/icons/gift/gift-icon.js +9 -0
- package/dist/icons/gift/gift-rig.d.ts +40 -0
- package/dist/icons/gift/gift-rig.js +64 -0
- package/dist/icons/hard-drive/hard-drive-icon.d.ts +5 -0
- package/dist/icons/hard-drive/hard-drive-icon.js +9 -0
- package/dist/icons/hard-drive/hard-drive-rig.d.ts +54 -0
- package/dist/icons/hard-drive/hard-drive-rig.js +88 -0
- package/dist/icons/headphones/headphones-icon.d.ts +5 -0
- package/dist/icons/headphones/headphones-icon.js +9 -0
- package/dist/icons/headphones/headphones-rig.d.ts +66 -0
- package/dist/icons/headphones/headphones-rig.js +102 -0
- package/dist/icons/highlighter/highlighter-icon.d.ts +5 -0
- package/dist/icons/highlighter/highlighter-icon.js +9 -0
- package/dist/icons/highlighter/highlighter-rig.d.ts +37 -0
- package/dist/icons/highlighter/highlighter-rig.js +57 -0
- package/dist/icons/hourglass/hourglass-icon.d.ts +5 -0
- package/dist/icons/hourglass/hourglass-icon.js +9 -0
- package/dist/icons/hourglass/hourglass-rig.d.ts +136 -0
- package/dist/icons/hourglass/hourglass-rig.js +89 -0
- package/dist/icons/inbox/inbox-icon.d.ts +5 -0
- package/dist/icons/inbox/inbox-icon.js +9 -0
- package/dist/icons/inbox/inbox-rig.d.ts +48 -0
- package/dist/icons/inbox/inbox-rig.js +73 -0
- package/dist/icons/kanban/kanban-icon.d.ts +5 -0
- package/dist/icons/kanban/kanban-icon.js +9 -0
- package/dist/icons/kanban/kanban-rig.d.ts +19 -0
- package/dist/icons/kanban/kanban-rig.js +27 -0
- package/dist/icons/monitor/monitor-icon.d.ts +5 -0
- package/dist/icons/monitor/monitor-icon.js +9 -0
- package/dist/icons/monitor/monitor-rig.d.ts +42 -0
- package/dist/icons/monitor/monitor-rig.js +67 -0
- package/dist/icons/network/network-icon.d.ts +5 -0
- package/dist/icons/network/network-icon.js +9 -0
- package/dist/icons/network/network-rig.d.ts +200 -0
- package/dist/icons/network/network-rig.js +133 -0
- package/dist/icons/panel-left/panel-left-icon.d.ts +5 -0
- package/dist/icons/panel-left/panel-left-icon.js +9 -0
- package/dist/icons/panel-left/panel-left-rig.d.ts +15 -0
- package/dist/icons/panel-left/panel-left-rig.js +19 -0
- package/dist/icons/panel-right/panel-right-icon.d.ts +5 -0
- package/dist/icons/panel-right/panel-right-icon.js +9 -0
- package/dist/icons/panel-right/panel-right-rig.d.ts +15 -0
- package/dist/icons/panel-right/panel-right-rig.js +19 -0
- package/dist/icons/paperclip/paperclip-icon.d.ts +5 -0
- package/dist/icons/paperclip/paperclip-icon.js +9 -0
- package/dist/icons/paperclip/paperclip-rig.d.ts +28 -0
- package/dist/icons/paperclip/paperclip-rig.js +52 -0
- package/dist/icons/picture-in-picture/picture-in-picture-icon.d.ts +5 -0
- package/dist/icons/picture-in-picture/picture-in-picture-icon.js +9 -0
- package/dist/icons/picture-in-picture/picture-in-picture-rig.d.ts +21 -0
- package/dist/icons/picture-in-picture/picture-in-picture-rig.js +29 -0
- package/dist/icons/power/power-icon.d.ts +5 -0
- package/dist/icons/power/power-icon.js +9 -0
- package/dist/icons/power/power-rig.d.ts +36 -0
- package/dist/icons/power/power-rig.js +56 -0
- package/dist/icons/printer/printer-icon.d.ts +5 -0
- package/dist/icons/printer/printer-icon.js +9 -0
- package/dist/icons/printer/printer-rig.d.ts +55 -0
- package/dist/icons/printer/printer-rig.js +82 -0
- package/dist/icons/radio/radio-icon.d.ts +5 -0
- package/dist/icons/radio/radio-icon.js +9 -0
- package/dist/icons/radio/radio-rig.d.ts +53 -0
- package/dist/icons/radio/radio-rig.js +83 -0
- package/dist/icons/receipt/receipt-icon.d.ts +5 -0
- package/dist/icons/receipt/receipt-icon.js +9 -0
- package/dist/icons/receipt/receipt-rig.d.ts +65 -0
- package/dist/icons/receipt/receipt-rig.js +110 -0
- package/dist/icons/redo/redo-icon.d.ts +5 -0
- package/dist/icons/redo/redo-icon.js +9 -0
- package/dist/icons/redo/redo-rig.d.ts +28 -0
- package/dist/icons/redo/redo-rig.js +53 -0
- package/dist/icons/repeat/repeat-icon.d.ts +5 -0
- package/dist/icons/repeat/repeat-icon.js +9 -0
- package/dist/icons/repeat/repeat-rig.d.ts +35 -0
- package/dist/icons/repeat/repeat-rig.js +60 -0
- package/dist/icons/reply/reply-icon.d.ts +5 -0
- package/dist/icons/reply/reply-icon.js +9 -0
- package/dist/icons/reply/reply-rig.d.ts +45 -0
- package/dist/icons/reply/reply-rig.js +73 -0
- package/dist/icons/rewind/rewind-icon.d.ts +5 -0
- package/dist/icons/rewind/rewind-icon.js +9 -0
- package/dist/icons/rewind/rewind-rig.d.ts +48 -0
- package/dist/icons/rewind/rewind-rig.js +78 -0
- package/dist/icons/rows/rows-icon.d.ts +5 -0
- package/dist/icons/rows/rows-icon.js +9 -0
- package/dist/icons/rows/rows-rig.d.ts +15 -0
- package/dist/icons/rows/rows-rig.js +19 -0
- package/dist/icons/scan-face/scan-face-icon.d.ts +5 -0
- package/dist/icons/scan-face/scan-face-icon.js +9 -0
- package/dist/icons/scan-face/scan-face-rig.d.ts +50 -0
- package/dist/icons/scan-face/scan-face-rig.js +82 -0
- package/dist/icons/scan-qr/scan-qr-icon.d.ts +5 -0
- package/dist/icons/scan-qr/scan-qr-icon.js +9 -0
- package/dist/icons/scan-qr/scan-qr-rig.d.ts +50 -0
- package/dist/icons/scan-qr/scan-qr-rig.js +87 -0
- package/dist/icons/scissors/scissors-icon.d.ts +5 -0
- package/dist/icons/scissors/scissors-icon.js +9 -0
- package/dist/icons/scissors/scissors-rig.d.ts +52 -0
- package/dist/icons/scissors/scissors-rig.js +76 -0
- package/dist/icons/shuffle/shuffle-icon.d.ts +5 -0
- package/dist/icons/shuffle/shuffle-icon.js +9 -0
- package/dist/icons/shuffle/shuffle-rig.d.ts +32 -0
- package/dist/icons/shuffle/shuffle-rig.js +56 -0
- package/dist/icons/signal/signal-icon.d.ts +5 -0
- package/dist/icons/signal/signal-icon.js +9 -0
- package/dist/icons/signal/signal-rig.d.ts +185 -0
- package/dist/icons/signal/signal-rig.js +66 -0
- package/dist/icons/skip-back/skip-back-icon.d.ts +5 -0
- package/dist/icons/skip-back/skip-back-icon.js +9 -0
- package/dist/icons/skip-back/skip-back-rig.d.ts +31 -0
- package/dist/icons/skip-back/skip-back-rig.js +53 -0
- package/dist/icons/skip-forward/skip-forward-icon.d.ts +5 -0
- package/dist/icons/skip-forward/skip-forward-icon.js +9 -0
- package/dist/icons/skip-forward/skip-forward-rig.d.ts +31 -0
- package/dist/icons/skip-forward/skip-forward-rig.js +53 -0
- package/dist/icons/smartphone/smartphone-icon.d.ts +5 -0
- package/dist/icons/smartphone/smartphone-icon.js +9 -0
- package/dist/icons/smartphone/smartphone-rig.d.ts +39 -0
- package/dist/icons/smartphone/smartphone-rig.js +57 -0
- package/dist/icons/table/table-icon.d.ts +5 -0
- package/dist/icons/table/table-icon.js +9 -0
- package/dist/icons/table/table-rig.d.ts +18 -0
- package/dist/icons/table/table-rig.js +26 -0
- package/dist/icons/tag/tag-icon.d.ts +5 -0
- package/dist/icons/tag/tag-icon.js +9 -0
- package/dist/icons/tag/tag-rig.d.ts +27 -0
- package/dist/icons/tag/tag-rig.js +42 -0
- package/dist/icons/thumbs-down/thumbs-down-icon.d.ts +5 -0
- package/dist/icons/thumbs-down/thumbs-down-icon.js +9 -0
- package/dist/icons/thumbs-down/thumbs-down-rig.d.ts +30 -0
- package/dist/icons/thumbs-down/thumbs-down-rig.js +53 -0
- package/dist/icons/thumbs-up/thumbs-up-icon.d.ts +5 -0
- package/dist/icons/thumbs-up/thumbs-up-icon.js +9 -0
- package/dist/icons/thumbs-up/thumbs-up-rig.d.ts +33 -0
- package/dist/icons/thumbs-up/thumbs-up-rig.js +57 -0
- package/dist/icons/ticket/ticket-icon.d.ts +5 -0
- package/dist/icons/ticket/ticket-icon.js +9 -0
- package/dist/icons/ticket/ticket-rig.d.ts +30 -0
- package/dist/icons/ticket/ticket-rig.js +43 -0
- package/dist/icons/toggle/toggle-icon.d.ts +5 -0
- package/dist/icons/toggle/toggle-icon.js +9 -0
- package/dist/icons/toggle/toggle-rig.d.ts +86 -0
- package/dist/icons/toggle/toggle-rig.js +55 -0
- package/dist/icons/trash/trash-icon.d.ts +5 -0
- package/dist/icons/trash/trash-icon.js +9 -0
- package/dist/icons/trash/trash-rig.d.ts +98 -0
- package/dist/icons/trash/trash-rig.js +67 -0
- package/dist/icons/trending-up/trending-up-icon.d.ts +5 -0
- package/dist/icons/trending-up/trending-up-icon.js +9 -0
- package/dist/icons/trending-up/trending-up-rig.d.ts +44 -0
- package/dist/icons/trending-up/trending-up-rig.js +68 -0
- package/dist/icons/undo/undo-icon.d.ts +5 -0
- package/dist/icons/undo/undo-icon.js +9 -0
- package/dist/icons/undo/undo-rig.d.ts +28 -0
- package/dist/icons/undo/undo-rig.js +53 -0
- package/dist/icons/user-minus/user-minus-icon.d.ts +5 -0
- package/dist/icons/user-minus/user-minus-icon.js +9 -0
- package/dist/icons/user-minus/user-minus-rig.d.ts +31 -0
- package/dist/icons/user-minus/user-minus-rig.js +51 -0
- package/dist/icons/user-plus/user-plus-icon.d.ts +5 -0
- package/dist/icons/user-plus/user-plus-icon.js +9 -0
- package/dist/icons/user-plus/user-plus-rig.d.ts +56 -0
- package/dist/icons/user-plus/user-plus-rig.js +85 -0
- package/dist/icons/zap/zap-icon.d.ts +6 -0
- package/dist/icons/zap/zap-icon.js +36 -0
- package/dist/icons/zap/zap-rig.d.ts +15 -0
- package/dist/icons/zap/zap-rig.js +60 -0
- package/dist/index.d.ts +65 -0
- package/dist/index.js +65 -0
- package/dist/shared/icon-colors.d.ts +65 -0
- package/package.json +326 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export const bugStates = ['idle', 'debugging', 'fixed'];
|
|
2
|
+
// Lucide-derived outline; attribution and pinned source: THIRD_PARTY_NOTICES.md.
|
|
3
|
+
// Debugging is a chase: the whole bug darts left and right inside its frame, body leaning into each dart while the legs step and the antennae whip; fixed shrinks the bug into the upper-left corner, legs tucked, and traces an accent check into the space it left.
|
|
4
|
+
const dartFrames = {
|
|
5
|
+
duration: 1.3,
|
|
6
|
+
repeatAfter: 2.1,
|
|
7
|
+
loop: true,
|
|
8
|
+
};
|
|
9
|
+
/** Whole-body dart shared by every part; legs and antennae add their own step on top. */
|
|
10
|
+
const dart = (extra) => ({
|
|
11
|
+
...dartFrames,
|
|
12
|
+
frames: [
|
|
13
|
+
{ at: 0 },
|
|
14
|
+
{ at: 0.15, x: -1, angle: -6, y: -0.3, ...extra[0.15] },
|
|
15
|
+
{ at: 0.3, x: -0.7, angle: -3, ...extra[0.3] },
|
|
16
|
+
{ at: 0.48, x: 1, angle: 6, y: -0.3, ...extra[0.48] },
|
|
17
|
+
{ at: 0.64, x: 0.7, angle: 3, ...extra[0.64] },
|
|
18
|
+
{ at: 0.82, x: -0.3, angle: -2, y: -0.4, ...extra[0.82] },
|
|
19
|
+
{ at: 1 },
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
const settle = {
|
|
23
|
+
duration: 0.8,
|
|
24
|
+
repeatAfter: 2,
|
|
25
|
+
loop: false,
|
|
26
|
+
frames: [{ at: 0 }, { at: 0.3, y: -0.6 }, { at: 0.55, y: 0.25 }, { at: 1 }],
|
|
27
|
+
};
|
|
28
|
+
/** Fixed pose: the bug tucks into the upper-left corner. */
|
|
29
|
+
const tucked = { x: -2.6, y: -2.6, scaleX: 0.72, scaleY: 0.72 };
|
|
30
|
+
export const bugArt = {
|
|
31
|
+
name: 'bug',
|
|
32
|
+
parts: [
|
|
33
|
+
{
|
|
34
|
+
name: 'legs-left',
|
|
35
|
+
paths: ['M3 21a4 4 0 0 1 3.81-4', 'M3 5a4 4 0 0 0 3.55 3.97', 'M6 13H2'],
|
|
36
|
+
poses: [{}, {}, { ...tucked, x: -1.6 }],
|
|
37
|
+
pivot: [12, 12],
|
|
38
|
+
gestures: [
|
|
39
|
+
null,
|
|
40
|
+
dart({ 0.15: { y: -1, angle: -9 }, 0.48: { y: 0.4 }, 0.82: { y: -0.8, angle: -4 } }),
|
|
41
|
+
settle,
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'legs-right',
|
|
46
|
+
paths: ['M21 21a4 4 0 0 0-3.81-4', 'M21 5a4 4 0 0 1-3.55 3.97', 'M22 13h-4'],
|
|
47
|
+
poses: [{}, {}, { ...tucked, x: -3.6 }],
|
|
48
|
+
pivot: [12, 12],
|
|
49
|
+
gestures: [
|
|
50
|
+
null,
|
|
51
|
+
dart({ 0.15: { y: 0.4 }, 0.48: { y: -1, angle: 9 }, 0.64: { y: 0.3 } }),
|
|
52
|
+
settle,
|
|
53
|
+
],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'body',
|
|
57
|
+
paths: ['M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z', 'M12 20v-9'],
|
|
58
|
+
poses: [{}, {}, tucked],
|
|
59
|
+
pivot: [12, 12],
|
|
60
|
+
gestures: [null, dart({}), settle],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'head',
|
|
64
|
+
paths: ['M9 7.13V6a3 3 0 1 1 6 0v1.13'],
|
|
65
|
+
poses: [{}, {}, tucked],
|
|
66
|
+
pivot: [12, 12],
|
|
67
|
+
gestures: [null, dart({ 0.15: { x: -1.4, angle: -8 }, 0.48: { x: 1.4, angle: 8 } }), settle],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'antennae',
|
|
71
|
+
detail: true,
|
|
72
|
+
paths: ['M14.12 3.88 16 2', 'm8 2 1.88 1.88'],
|
|
73
|
+
poses: [{}, {}, tucked],
|
|
74
|
+
pivot: [12, 12],
|
|
75
|
+
gestures: [
|
|
76
|
+
null,
|
|
77
|
+
dart({
|
|
78
|
+
0.15: { x: -1.6, angle: -12, y: -0.5 },
|
|
79
|
+
0.3: { angle: 2 },
|
|
80
|
+
0.48: { x: 1.6, angle: 12, y: -0.5 },
|
|
81
|
+
0.64: { angle: -2 },
|
|
82
|
+
}),
|
|
83
|
+
settle,
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'check',
|
|
88
|
+
accent: true,
|
|
89
|
+
paths: ['M13.4 17.6l2.6 2.6 5-5.2'],
|
|
90
|
+
poses: [{ opacity: 0, draw: 0 }, { opacity: 0, draw: 0 }, {}],
|
|
91
|
+
pivot: [17.2, 18],
|
|
92
|
+
traceLength: 11,
|
|
93
|
+
gestures: [
|
|
94
|
+
null,
|
|
95
|
+
null,
|
|
96
|
+
{
|
|
97
|
+
duration: 0.8,
|
|
98
|
+
repeatAfter: 2,
|
|
99
|
+
loop: false,
|
|
100
|
+
frames: [
|
|
101
|
+
{ at: 0, draw: -1 },
|
|
102
|
+
{ at: 0.3, draw: -1 },
|
|
103
|
+
{ at: 0.7, scaleX: 0.12, scaleY: 0.12 },
|
|
104
|
+
{ at: 1 },
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type CastState } from "./cast-rig.js";
|
|
3
|
+
export { castStates, type CastState } from "./cast-rig.js";
|
|
4
|
+
export type CastIconProps = StatefulIconProps<CastState>;
|
|
5
|
+
export declare const CastIcon: import("react").NamedExoticComponent<CastIconProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { memo } from 'react';
|
|
4
|
+
import { ArticulatedIcon } from "../../shared/articulated-icon.js";
|
|
5
|
+
import { castArt, castStates } from "./cast-rig.js";
|
|
6
|
+
export { castStates } from "./cast-rig.js";
|
|
7
|
+
export const CastIcon = memo(function CastIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: castArt, states: castStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export declare const castStates: readonly ["idle", "connecting", "casting"];
|
|
2
|
+
export type CastState = (typeof castStates)[number];
|
|
3
|
+
export declare const castArt: {
|
|
4
|
+
readonly name: "cast";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "screen";
|
|
7
|
+
readonly paths: readonly ["M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"];
|
|
8
|
+
readonly poses: readonly [{}, {}, {}];
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "dot";
|
|
11
|
+
readonly paths: readonly ["M2 20L2.01 20"];
|
|
12
|
+
readonly poses: readonly [{}, {}, {}];
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "near";
|
|
15
|
+
readonly paths: readonly ["M2 16a5 5 0 0 1 4 4"];
|
|
16
|
+
readonly poses: readonly [{
|
|
17
|
+
readonly opacity: 0.4;
|
|
18
|
+
}, {}, {}];
|
|
19
|
+
readonly traceLength: 8;
|
|
20
|
+
readonly gestures: readonly [null, {
|
|
21
|
+
readonly duration: 1;
|
|
22
|
+
readonly repeatAfter: 1.8;
|
|
23
|
+
readonly loop: true;
|
|
24
|
+
readonly frames: readonly [{
|
|
25
|
+
readonly at: 0;
|
|
26
|
+
readonly draw: -1;
|
|
27
|
+
}, {
|
|
28
|
+
readonly at: 0.35;
|
|
29
|
+
}, {
|
|
30
|
+
readonly at: 1;
|
|
31
|
+
}];
|
|
32
|
+
}, null];
|
|
33
|
+
}, {
|
|
34
|
+
readonly name: "far";
|
|
35
|
+
readonly paths: readonly ["M2 12a9 9 0 0 1 8 8"];
|
|
36
|
+
readonly poses: readonly [{
|
|
37
|
+
readonly opacity: 0.25;
|
|
38
|
+
}, {}, {}];
|
|
39
|
+
readonly traceLength: 14;
|
|
40
|
+
readonly gestures: readonly [null, {
|
|
41
|
+
readonly duration: 1;
|
|
42
|
+
readonly repeatAfter: 1.8;
|
|
43
|
+
readonly loop: true;
|
|
44
|
+
readonly frames: readonly [{
|
|
45
|
+
readonly at: 0;
|
|
46
|
+
readonly draw: -1;
|
|
47
|
+
}, {
|
|
48
|
+
readonly at: 0.25;
|
|
49
|
+
readonly draw: -1;
|
|
50
|
+
}, {
|
|
51
|
+
readonly at: 0.75;
|
|
52
|
+
}, {
|
|
53
|
+
readonly at: 1;
|
|
54
|
+
}];
|
|
55
|
+
}, null];
|
|
56
|
+
}];
|
|
57
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export const castStates = ['idle', 'connecting', 'casting'];
|
|
2
|
+
// Cast-to-screen connection. Signal arcs illuminate from the source dot outward; the screen never bounces.
|
|
3
|
+
// Adapted Lucide geometry; see THIRD_PARTY_NOTICES.md.
|
|
4
|
+
export const castArt = {
|
|
5
|
+
name: 'cast',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'screen',
|
|
9
|
+
paths: ['M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6'],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'dot',
|
|
14
|
+
paths: ['M2 20L2.01 20'],
|
|
15
|
+
poses: [{}, {}, {}],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: 'near',
|
|
19
|
+
paths: ['M2 16a5 5 0 0 1 4 4'],
|
|
20
|
+
poses: [
|
|
21
|
+
{
|
|
22
|
+
opacity: 0.4,
|
|
23
|
+
},
|
|
24
|
+
{},
|
|
25
|
+
{},
|
|
26
|
+
],
|
|
27
|
+
traceLength: 8,
|
|
28
|
+
gestures: [
|
|
29
|
+
null,
|
|
30
|
+
{
|
|
31
|
+
duration: 1,
|
|
32
|
+
repeatAfter: 1.8,
|
|
33
|
+
loop: true,
|
|
34
|
+
frames: [
|
|
35
|
+
{
|
|
36
|
+
at: 0,
|
|
37
|
+
draw: -1,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
at: 0.35,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
at: 1,
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
null,
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'far',
|
|
52
|
+
paths: ['M2 12a9 9 0 0 1 8 8'],
|
|
53
|
+
poses: [
|
|
54
|
+
{
|
|
55
|
+
opacity: 0.25,
|
|
56
|
+
},
|
|
57
|
+
{},
|
|
58
|
+
{},
|
|
59
|
+
],
|
|
60
|
+
traceLength: 14,
|
|
61
|
+
gestures: [
|
|
62
|
+
null,
|
|
63
|
+
{
|
|
64
|
+
duration: 1,
|
|
65
|
+
repeatAfter: 1.8,
|
|
66
|
+
loop: true,
|
|
67
|
+
frames: [
|
|
68
|
+
{
|
|
69
|
+
at: 0,
|
|
70
|
+
draw: -1,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
at: 0.25,
|
|
74
|
+
draw: -1,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
at: 0.75,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
at: 1,
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
null,
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type ChartBarState } from "./chart-bar-rig.js";
|
|
3
|
+
export { chartBarStates, type ChartBarState } from "./chart-bar-rig.js";
|
|
4
|
+
export type ChartBarIconProps = StatefulIconProps<ChartBarState>;
|
|
5
|
+
export declare const ChartBarIcon: import("react").NamedExoticComponent<ChartBarIconProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { memo } from 'react';
|
|
4
|
+
import { ArticulatedIcon } from "../../shared/articulated-icon.js";
|
|
5
|
+
import { chartBarArt, chartBarStates } from "./chart-bar-rig.js";
|
|
6
|
+
export { chartBarStates } from "./chart-bar-rig.js";
|
|
7
|
+
export const ChartBarIcon = memo(function ChartBarIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: chartBarArt, states: chartBarStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export declare const chartBarStates: readonly ["idle", "updating", "updated"];
|
|
2
|
+
export type ChartBarState = (typeof chartBarStates)[number];
|
|
3
|
+
export declare const chartBarArt: {
|
|
4
|
+
readonly name: "chart-bar";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "axes";
|
|
7
|
+
readonly paths: readonly ["M3 3v16a2 2 0 0 0 2 2h16"];
|
|
8
|
+
readonly poses: readonly [{}, {}, {}];
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "bar-0";
|
|
11
|
+
readonly paths: readonly ["M18 17V9"];
|
|
12
|
+
readonly poses: readonly [{}, {
|
|
13
|
+
readonly scaleY: 0.5;
|
|
14
|
+
}, {}];
|
|
15
|
+
readonly pivot: readonly [12, 17];
|
|
16
|
+
readonly gestures: readonly [null, null, {
|
|
17
|
+
readonly duration: 0.85;
|
|
18
|
+
readonly repeatAfter: 1.5;
|
|
19
|
+
readonly loop: false;
|
|
20
|
+
readonly frames: readonly [{
|
|
21
|
+
readonly at: 0;
|
|
22
|
+
readonly scaleY: -0.7;
|
|
23
|
+
}, {
|
|
24
|
+
readonly at: 0.1;
|
|
25
|
+
readonly scaleY: -0.7;
|
|
26
|
+
}, {
|
|
27
|
+
readonly at: 0.65;
|
|
28
|
+
}, {
|
|
29
|
+
readonly at: 1;
|
|
30
|
+
}];
|
|
31
|
+
}];
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "bar-1";
|
|
34
|
+
readonly paths: readonly ["M13 17V5"];
|
|
35
|
+
readonly poses: readonly [{}, {
|
|
36
|
+
readonly scaleY: 0.5;
|
|
37
|
+
}, {}];
|
|
38
|
+
readonly pivot: readonly [12, 17];
|
|
39
|
+
readonly gestures: readonly [null, null, {
|
|
40
|
+
readonly duration: 0.85;
|
|
41
|
+
readonly repeatAfter: 1.5;
|
|
42
|
+
readonly loop: false;
|
|
43
|
+
readonly frames: readonly [{
|
|
44
|
+
readonly at: 0;
|
|
45
|
+
readonly scaleY: -0.7;
|
|
46
|
+
}, {
|
|
47
|
+
readonly at: 0.15;
|
|
48
|
+
readonly scaleY: -0.7;
|
|
49
|
+
}, {
|
|
50
|
+
readonly at: 0.75;
|
|
51
|
+
}, {
|
|
52
|
+
readonly at: 1;
|
|
53
|
+
}];
|
|
54
|
+
}];
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "bar-2";
|
|
57
|
+
readonly paths: readonly ["M8 17v-3"];
|
|
58
|
+
readonly poses: readonly [{}, {
|
|
59
|
+
readonly scaleY: 0.5;
|
|
60
|
+
}, {}];
|
|
61
|
+
readonly pivot: readonly [12, 17];
|
|
62
|
+
readonly gestures: readonly [null, null, {
|
|
63
|
+
readonly duration: 0.85;
|
|
64
|
+
readonly repeatAfter: 1.5;
|
|
65
|
+
readonly loop: false;
|
|
66
|
+
readonly frames: readonly [{
|
|
67
|
+
readonly at: 0;
|
|
68
|
+
readonly scaleY: -0.7;
|
|
69
|
+
}, {
|
|
70
|
+
readonly at: 0.3;
|
|
71
|
+
readonly scaleY: -0.7;
|
|
72
|
+
}, {
|
|
73
|
+
readonly at: 0.8500000000000001;
|
|
74
|
+
}, {
|
|
75
|
+
readonly at: 1;
|
|
76
|
+
}];
|
|
77
|
+
}];
|
|
78
|
+
}];
|
|
79
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
export const chartBarStates = ['idle', 'updating', 'updated'];
|
|
2
|
+
// Bar-chart data refresh. Bars grow from their common baseline with a short stagger after data arrives; axes stay fixed.
|
|
3
|
+
// Adapted Lucide geometry; see THIRD_PARTY_NOTICES.md.
|
|
4
|
+
export const chartBarArt = {
|
|
5
|
+
name: 'chart-bar',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'axes',
|
|
9
|
+
paths: ['M3 3v16a2 2 0 0 0 2 2h16'],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'bar-0',
|
|
14
|
+
paths: ['M18 17V9'],
|
|
15
|
+
poses: [
|
|
16
|
+
{},
|
|
17
|
+
{
|
|
18
|
+
scaleY: 0.5,
|
|
19
|
+
},
|
|
20
|
+
{},
|
|
21
|
+
],
|
|
22
|
+
pivot: [12, 17],
|
|
23
|
+
gestures: [
|
|
24
|
+
null,
|
|
25
|
+
null,
|
|
26
|
+
{
|
|
27
|
+
duration: 0.85,
|
|
28
|
+
repeatAfter: 1.5,
|
|
29
|
+
loop: false,
|
|
30
|
+
frames: [
|
|
31
|
+
{
|
|
32
|
+
at: 0,
|
|
33
|
+
scaleY: -0.7,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
at: 0.1,
|
|
37
|
+
scaleY: -0.7,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
at: 0.65,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
at: 1,
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'bar-1',
|
|
51
|
+
paths: ['M13 17V5'],
|
|
52
|
+
poses: [
|
|
53
|
+
{},
|
|
54
|
+
{
|
|
55
|
+
scaleY: 0.5,
|
|
56
|
+
},
|
|
57
|
+
{},
|
|
58
|
+
],
|
|
59
|
+
pivot: [12, 17],
|
|
60
|
+
gestures: [
|
|
61
|
+
null,
|
|
62
|
+
null,
|
|
63
|
+
{
|
|
64
|
+
duration: 0.85,
|
|
65
|
+
repeatAfter: 1.5,
|
|
66
|
+
loop: false,
|
|
67
|
+
frames: [
|
|
68
|
+
{
|
|
69
|
+
at: 0,
|
|
70
|
+
scaleY: -0.7,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
at: 0.15,
|
|
74
|
+
scaleY: -0.7,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
at: 0.75,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
at: 1,
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'bar-2',
|
|
88
|
+
paths: ['M8 17v-3'],
|
|
89
|
+
poses: [
|
|
90
|
+
{},
|
|
91
|
+
{
|
|
92
|
+
scaleY: 0.5,
|
|
93
|
+
},
|
|
94
|
+
{},
|
|
95
|
+
],
|
|
96
|
+
pivot: [12, 17],
|
|
97
|
+
gestures: [
|
|
98
|
+
null,
|
|
99
|
+
null,
|
|
100
|
+
{
|
|
101
|
+
duration: 0.85,
|
|
102
|
+
repeatAfter: 1.5,
|
|
103
|
+
loop: false,
|
|
104
|
+
frames: [
|
|
105
|
+
{
|
|
106
|
+
at: 0,
|
|
107
|
+
scaleY: -0.7,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
at: 0.3,
|
|
111
|
+
scaleY: -0.7,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
at: 0.8500000000000001,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
at: 1,
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type ChartLineState } from "./chart-line-rig.js";
|
|
3
|
+
export { chartLineStates, type ChartLineState } from "./chart-line-rig.js";
|
|
4
|
+
export type ChartLineIconProps = StatefulIconProps<ChartLineState>;
|
|
5
|
+
export declare const ChartLineIcon: import("react").NamedExoticComponent<ChartLineIconProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { memo } from 'react';
|
|
4
|
+
import { ArticulatedIcon } from "../../shared/articulated-icon.js";
|
|
5
|
+
import { chartLineArt, chartLineStates } from "./chart-line-rig.js";
|
|
6
|
+
export { chartLineStates } from "./chart-line-rig.js";
|
|
7
|
+
export const ChartLineIcon = memo(function ChartLineIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: chartLineArt, states: chartLineStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const chartLineStates: readonly ["idle", "updating", "updated"];
|
|
2
|
+
export type ChartLineState = (typeof chartLineStates)[number];
|
|
3
|
+
export declare const chartLineArt: {
|
|
4
|
+
readonly name: "chart-line";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "axes";
|
|
7
|
+
readonly paths: readonly ["M3 3v16a2 2 0 0 0 2 2h16"];
|
|
8
|
+
readonly poses: readonly [{}, {}, {}];
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "series";
|
|
11
|
+
readonly paths: readonly ["M7 13 L10 10 L14 14 L19 9"];
|
|
12
|
+
readonly poses: readonly [{}, {
|
|
13
|
+
readonly opacity: 0.28;
|
|
14
|
+
}, {}];
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "scan";
|
|
17
|
+
readonly paths: readonly ["M7 13 L10 10 L14 14 L19 9"];
|
|
18
|
+
readonly traceLength: 18;
|
|
19
|
+
readonly accent: true;
|
|
20
|
+
readonly poses: readonly [{
|
|
21
|
+
readonly opacity: 0;
|
|
22
|
+
}, {
|
|
23
|
+
readonly opacity: 1;
|
|
24
|
+
}, {
|
|
25
|
+
readonly opacity: 0;
|
|
26
|
+
}];
|
|
27
|
+
readonly gestures: readonly [null, {
|
|
28
|
+
readonly duration: 0.8;
|
|
29
|
+
readonly repeatAfter: 1.3;
|
|
30
|
+
readonly loop: true;
|
|
31
|
+
readonly frames: readonly [{
|
|
32
|
+
readonly at: 0;
|
|
33
|
+
readonly draw: -1;
|
|
34
|
+
readonly opacity: -1;
|
|
35
|
+
}, {
|
|
36
|
+
readonly at: 0.1;
|
|
37
|
+
readonly draw: -1;
|
|
38
|
+
}, {
|
|
39
|
+
readonly at: 0.72;
|
|
40
|
+
}, {
|
|
41
|
+
readonly at: 0.88;
|
|
42
|
+
readonly opacity: -1;
|
|
43
|
+
}, {
|
|
44
|
+
readonly at: 1;
|
|
45
|
+
readonly draw: -1;
|
|
46
|
+
readonly opacity: -1;
|
|
47
|
+
}];
|
|
48
|
+
}, null];
|
|
49
|
+
}];
|
|
50
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export const chartLineStates = ['idle', 'updating', 'updated'];
|
|
2
|
+
// A single left-to-right scan follows the existing series inside stationary axes, then disappears. Optional alive repeats only while pending.
|
|
3
|
+
// Adapted Lucide geometry; see THIRD_PARTY_NOTICES.md.
|
|
4
|
+
export const chartLineArt = {
|
|
5
|
+
name: 'chart-line',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'axes',
|
|
9
|
+
paths: ['M3 3v16a2 2 0 0 0 2 2h16'],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'series',
|
|
14
|
+
paths: ['M7 13 L10 10 L14 14 L19 9'],
|
|
15
|
+
poses: [
|
|
16
|
+
{},
|
|
17
|
+
{
|
|
18
|
+
opacity: 0.28,
|
|
19
|
+
},
|
|
20
|
+
{},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'scan',
|
|
25
|
+
paths: ['M7 13 L10 10 L14 14 L19 9'],
|
|
26
|
+
traceLength: 18,
|
|
27
|
+
accent: true,
|
|
28
|
+
poses: [
|
|
29
|
+
{
|
|
30
|
+
opacity: 0,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
opacity: 1,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
opacity: 0,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
gestures: [
|
|
40
|
+
null,
|
|
41
|
+
{
|
|
42
|
+
duration: 0.8,
|
|
43
|
+
repeatAfter: 1.3,
|
|
44
|
+
loop: true,
|
|
45
|
+
frames: [
|
|
46
|
+
{
|
|
47
|
+
at: 0,
|
|
48
|
+
draw: -1,
|
|
49
|
+
opacity: -1,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
at: 0.1,
|
|
53
|
+
draw: -1,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
at: 0.72,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
at: 0.88,
|
|
60
|
+
opacity: -1,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
at: 1,
|
|
64
|
+
draw: -1,
|
|
65
|
+
opacity: -1,
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
null,
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type ChartPieState } from "./chart-pie-rig.js";
|
|
3
|
+
export { chartPieStates, type ChartPieState } from "./chart-pie-rig.js";
|
|
4
|
+
export type ChartPieIconProps = StatefulIconProps<ChartPieState>;
|
|
5
|
+
export declare const ChartPieIcon: import("react").NamedExoticComponent<ChartPieIconProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { memo } from 'react';
|
|
4
|
+
import { ArticulatedIcon } from "../../shared/articulated-icon.js";
|
|
5
|
+
import { chartPieArt, chartPieStates } from "./chart-pie-rig.js";
|
|
6
|
+
export { chartPieStates } from "./chart-pie-rig.js";
|
|
7
|
+
export const ChartPieIcon = memo(function ChartPieIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: chartPieArt, states: chartPieStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const chartPieStates: readonly ["idle", "inspecting", "selected"];
|
|
2
|
+
export type ChartPieState = (typeof chartPieStates)[number];
|
|
3
|
+
export declare const chartPieArt: {
|
|
4
|
+
readonly name: "chart-pie";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "remainder";
|
|
7
|
+
readonly paths: readonly ["M21.21 15.89A10 10 0 1 1 8 2.83"];
|
|
8
|
+
readonly poses: readonly [{}, {}, {}];
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "wedge";
|
|
11
|
+
readonly paths: readonly ["M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z"];
|
|
12
|
+
readonly poses: readonly [{}, {
|
|
13
|
+
readonly x: 0.5;
|
|
14
|
+
readonly y: -0.5;
|
|
15
|
+
}, {
|
|
16
|
+
readonly x: 1;
|
|
17
|
+
readonly y: -1;
|
|
18
|
+
}];
|
|
19
|
+
readonly accent: true;
|
|
20
|
+
}];
|
|
21
|
+
};
|