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,57 @@
|
|
|
1
|
+
export const thumbsUpStates = ['idle', 'reacting', 'selected'];
|
|
2
|
+
// The thumb straightens from a tucked pose while the palm and cuff remain planted; one restrained extension settles.
|
|
3
|
+
// Adapted Lucide geometry; see THIRD_PARTY_NOTICES.md.
|
|
4
|
+
export const thumbsUpArt = {
|
|
5
|
+
name: 'thumbs-up',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'cuff',
|
|
9
|
+
paths: ['M7 10 H4 C2.9 10 2 10.9 2 12 V20 C2 21.1 2.9 22 4 22 H7 Z'],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'hand',
|
|
14
|
+
paths: [
|
|
15
|
+
'M7 10 C7.65 10 8.21 9.57 8.55 8.89 L12 2 C14.1 2 15.5 3.85 15 5.88 L14 10 H19.83 C21.16 10 22.12 11.27 21.75 12.56 L19.42 20.56 C19.17 21.42 18.38 22 17.5 22 H7',
|
|
16
|
+
],
|
|
17
|
+
pathOffsets: [
|
|
18
|
+
[
|
|
19
|
+
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2, 1.7, -0.2, 1.7, -0.7, 1.15, -0.7, 0.82,
|
|
20
|
+
-0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
|
|
21
|
+
],
|
|
22
|
+
],
|
|
23
|
+
poses: [
|
|
24
|
+
{},
|
|
25
|
+
{
|
|
26
|
+
flex: 0.45,
|
|
27
|
+
},
|
|
28
|
+
{},
|
|
29
|
+
],
|
|
30
|
+
gestures: [
|
|
31
|
+
null,
|
|
32
|
+
null,
|
|
33
|
+
{
|
|
34
|
+
duration: 0.8,
|
|
35
|
+
repeatAfter: 1.5,
|
|
36
|
+
loop: false,
|
|
37
|
+
frames: [
|
|
38
|
+
{
|
|
39
|
+
at: 0,
|
|
40
|
+
flex: 1,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
at: 0.5,
|
|
44
|
+
flex: -0.1,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
at: 0.85,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
at: 1,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type TicketState } from "./ticket-rig.js";
|
|
3
|
+
export { ticketStates, type TicketState } from "./ticket-rig.js";
|
|
4
|
+
export type TicketIconProps = StatefulIconProps<TicketState>;
|
|
5
|
+
export declare const TicketIcon: import("react").NamedExoticComponent<TicketIconProps>;
|
|
@@ -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 { ticketArt, ticketStates } from "./ticket-rig.js";
|
|
6
|
+
export { ticketStates } from "./ticket-rig.js";
|
|
7
|
+
export const TicketIcon = memo(function TicketIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: ticketArt, states: ticketStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const ticketStates: readonly ["idle", "redeeming", "redeemed"];
|
|
2
|
+
export type TicketState = (typeof ticketStates)[number];
|
|
3
|
+
export declare const ticketArt: {
|
|
4
|
+
readonly name: "ticket";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "ticket";
|
|
7
|
+
readonly paths: readonly ["M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h9V5H4a2 2 0 0 0-2 2Z"];
|
|
8
|
+
readonly poses: readonly [{}, {}, {}];
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "stub";
|
|
11
|
+
readonly paths: readonly ["M13 5h7a2 2 0 0 1 2 2v2a3 3 0 0 0 0 6v2a2 2 0 0 1-2 2h-7"];
|
|
12
|
+
readonly poses: readonly [{}, {
|
|
13
|
+
readonly angle: 4;
|
|
14
|
+
}, {
|
|
15
|
+
readonly x: 1.5;
|
|
16
|
+
readonly angle: 9;
|
|
17
|
+
readonly opacity: 0.35;
|
|
18
|
+
}];
|
|
19
|
+
readonly pivot: readonly [13, 12];
|
|
20
|
+
}, {
|
|
21
|
+
readonly name: "perforation";
|
|
22
|
+
readonly paths: readonly ["M13 5v2M13 11v2M13 17v2"];
|
|
23
|
+
readonly poses: readonly [{}, {
|
|
24
|
+
readonly opacity: 0.6;
|
|
25
|
+
}, {
|
|
26
|
+
readonly opacity: 0.35;
|
|
27
|
+
}];
|
|
28
|
+
readonly detail: true;
|
|
29
|
+
}];
|
|
30
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export const ticketStates = ['idle', 'redeeming', 'redeemed'];
|
|
2
|
+
// Redeem admission ticket. The right stub folds slightly, then separates at the perforation after confirmation.
|
|
3
|
+
// Adapted Lucide geometry; see THIRD_PARTY_NOTICES.md.
|
|
4
|
+
export const ticketArt = {
|
|
5
|
+
name: 'ticket',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'ticket',
|
|
9
|
+
paths: ['M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h9V5H4a2 2 0 0 0-2 2Z'],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'stub',
|
|
14
|
+
paths: ['M13 5h7a2 2 0 0 1 2 2v2a3 3 0 0 0 0 6v2a2 2 0 0 1-2 2h-7'],
|
|
15
|
+
poses: [
|
|
16
|
+
{},
|
|
17
|
+
{
|
|
18
|
+
angle: 4,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
x: 1.5,
|
|
22
|
+
angle: 9,
|
|
23
|
+
opacity: 0.35,
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
pivot: [13, 12],
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'perforation',
|
|
30
|
+
paths: ['M13 5v2M13 11v2M13 17v2'],
|
|
31
|
+
poses: [
|
|
32
|
+
{},
|
|
33
|
+
{
|
|
34
|
+
opacity: 0.6,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
opacity: 0.35,
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
detail: true,
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type ToggleState } from "./toggle-rig.js";
|
|
3
|
+
export { toggleStates, type ToggleState } from "./toggle-rig.js";
|
|
4
|
+
export type ToggleIconProps = StatefulIconProps<ToggleState>;
|
|
5
|
+
export declare const ToggleIcon: import("react").NamedExoticComponent<ToggleIconProps>;
|
|
@@ -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 { toggleArt, toggleStates } from "./toggle-rig.js";
|
|
6
|
+
export { toggleStates } from "./toggle-rig.js";
|
|
7
|
+
export const ToggleIcon = memo(function ToggleIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: toggleArt, states: toggleStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const toggleStates: readonly ["off", "switching", "on"];
|
|
2
|
+
export type ToggleState = (typeof toggleStates)[number];
|
|
3
|
+
export declare const toggleArt: {
|
|
4
|
+
readonly name: "toggle";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "track";
|
|
7
|
+
readonly paths: readonly ["M9 5H15A7 7 0 0 1 15 19H9A7 7 0 0 1 9 5Z"];
|
|
8
|
+
readonly poses: readonly [{}, {}, {}];
|
|
9
|
+
readonly pivot: readonly [12, 12];
|
|
10
|
+
readonly gestures: readonly [null, null, {
|
|
11
|
+
readonly duration: 0.6;
|
|
12
|
+
readonly repeatAfter: 2;
|
|
13
|
+
readonly loop: false;
|
|
14
|
+
readonly frames: readonly [{
|
|
15
|
+
readonly at: 0;
|
|
16
|
+
}, {
|
|
17
|
+
readonly at: 0.4;
|
|
18
|
+
readonly scaleX: 0.04;
|
|
19
|
+
readonly scaleY: 0.04;
|
|
20
|
+
}, {
|
|
21
|
+
readonly at: 1;
|
|
22
|
+
}];
|
|
23
|
+
}];
|
|
24
|
+
}, {
|
|
25
|
+
readonly name: "knob";
|
|
26
|
+
readonly paths: readonly ["M6 12a3 3 0 1 0 6 0a3 3 0 1 0-6 0"];
|
|
27
|
+
readonly poses: readonly [{}, {
|
|
28
|
+
readonly x: 3;
|
|
29
|
+
readonly scaleX: 0.9;
|
|
30
|
+
readonly scaleY: 0.9;
|
|
31
|
+
}, {
|
|
32
|
+
readonly x: 6;
|
|
33
|
+
readonly scaleX: 1.08;
|
|
34
|
+
readonly scaleY: 1.08;
|
|
35
|
+
}];
|
|
36
|
+
readonly pivot: readonly [9, 12];
|
|
37
|
+
readonly gestures: readonly [{
|
|
38
|
+
readonly duration: 0.6;
|
|
39
|
+
readonly repeatAfter: 2;
|
|
40
|
+
readonly loop: false;
|
|
41
|
+
readonly frames: readonly [{
|
|
42
|
+
readonly at: 0;
|
|
43
|
+
}, {
|
|
44
|
+
readonly at: 0.4;
|
|
45
|
+
readonly x: -0.8;
|
|
46
|
+
readonly scaleX: 0.18;
|
|
47
|
+
readonly scaleY: -0.14;
|
|
48
|
+
}, {
|
|
49
|
+
readonly at: 1;
|
|
50
|
+
}];
|
|
51
|
+
}, {
|
|
52
|
+
readonly duration: 1.2;
|
|
53
|
+
readonly repeatAfter: 2;
|
|
54
|
+
readonly loop: true;
|
|
55
|
+
readonly frames: readonly [{
|
|
56
|
+
readonly at: 0;
|
|
57
|
+
}, {
|
|
58
|
+
readonly at: 0.25;
|
|
59
|
+
readonly x: -1.2;
|
|
60
|
+
readonly scaleX: 0.16;
|
|
61
|
+
readonly scaleY: -0.12;
|
|
62
|
+
}, {
|
|
63
|
+
readonly at: 0.6;
|
|
64
|
+
readonly x: 1.2;
|
|
65
|
+
readonly scaleX: 0.16;
|
|
66
|
+
readonly scaleY: -0.12;
|
|
67
|
+
}, {
|
|
68
|
+
readonly at: 1;
|
|
69
|
+
}];
|
|
70
|
+
}, {
|
|
71
|
+
readonly duration: 0.65;
|
|
72
|
+
readonly repeatAfter: 2;
|
|
73
|
+
readonly loop: false;
|
|
74
|
+
readonly frames: readonly [{
|
|
75
|
+
readonly at: 0;
|
|
76
|
+
}, {
|
|
77
|
+
readonly at: 0.35;
|
|
78
|
+
readonly x: 0.9;
|
|
79
|
+
readonly scaleX: 0.2;
|
|
80
|
+
readonly scaleY: -0.14;
|
|
81
|
+
}, {
|
|
82
|
+
readonly at: 1;
|
|
83
|
+
}];
|
|
84
|
+
}];
|
|
85
|
+
}];
|
|
86
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export const toggleStates = ['off', 'switching', 'on'];
|
|
2
|
+
// Lucide-derived outline (toggle-left, toggle-right); attribution and pinned source: THIRD_PARTY_NOTICES.md.
|
|
3
|
+
// The knob travels the track and squashes along its direction of travel; switching parks it mid-track with a pending shimmy, on lands with an overshoot and a settled larger knob.
|
|
4
|
+
export const toggleArt = {
|
|
5
|
+
name: 'toggle',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'track',
|
|
9
|
+
paths: ['M9 5H15A7 7 0 0 1 15 19H9A7 7 0 0 1 9 5Z'],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
pivot: [12, 12],
|
|
12
|
+
gestures: [
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
{
|
|
16
|
+
duration: 0.6,
|
|
17
|
+
repeatAfter: 2,
|
|
18
|
+
loop: false,
|
|
19
|
+
frames: [{ at: 0 }, { at: 0.4, scaleX: 0.04, scaleY: 0.04 }, { at: 1 }],
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'knob',
|
|
25
|
+
paths: ['M6 12a3 3 0 1 0 6 0a3 3 0 1 0-6 0'],
|
|
26
|
+
poses: [{}, { x: 3, scaleX: 0.9, scaleY: 0.9 }, { x: 6, scaleX: 1.08, scaleY: 1.08 }],
|
|
27
|
+
pivot: [9, 12],
|
|
28
|
+
gestures: [
|
|
29
|
+
{
|
|
30
|
+
duration: 0.6,
|
|
31
|
+
repeatAfter: 2,
|
|
32
|
+
loop: false,
|
|
33
|
+
frames: [{ at: 0 }, { at: 0.4, x: -0.8, scaleX: 0.18, scaleY: -0.14 }, { at: 1 }],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
duration: 1.2,
|
|
37
|
+
repeatAfter: 2,
|
|
38
|
+
loop: true,
|
|
39
|
+
frames: [
|
|
40
|
+
{ at: 0 },
|
|
41
|
+
{ at: 0.25, x: -1.2, scaleX: 0.16, scaleY: -0.12 },
|
|
42
|
+
{ at: 0.6, x: 1.2, scaleX: 0.16, scaleY: -0.12 },
|
|
43
|
+
{ at: 1 },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
duration: 0.65,
|
|
48
|
+
repeatAfter: 2,
|
|
49
|
+
loop: false,
|
|
50
|
+
frames: [{ at: 0 }, { at: 0.35, x: 0.9, scaleX: 0.2, scaleY: -0.14 }, { at: 1 }],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type TrashState } from "./trash-rig.js";
|
|
3
|
+
export { trashStates, type TrashState } from "./trash-rig.js";
|
|
4
|
+
export type TrashIconProps = StatefulIconProps<TrashState>;
|
|
5
|
+
export declare const TrashIcon: import("react").NamedExoticComponent<TrashIconProps>;
|
|
@@ -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 { trashArt, trashStates } from "./trash-rig.js";
|
|
6
|
+
export { trashStates } from "./trash-rig.js";
|
|
7
|
+
export const TrashIcon = memo(function TrashIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: trashArt, states: trashStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare const trashStates: readonly ["idle", "emptying", "emptied"];
|
|
2
|
+
export type TrashState = (typeof trashStates)[number];
|
|
3
|
+
export declare const trashArt: {
|
|
4
|
+
readonly name: "trash";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "can";
|
|
7
|
+
readonly paths: readonly ["M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"];
|
|
8
|
+
readonly poses: readonly [{}, {}, {}];
|
|
9
|
+
readonly pivot: readonly [12, 22];
|
|
10
|
+
readonly gestures: readonly [null, null, {
|
|
11
|
+
readonly duration: 0.6;
|
|
12
|
+
readonly repeatAfter: 2;
|
|
13
|
+
readonly loop: false;
|
|
14
|
+
readonly frames: readonly [{
|
|
15
|
+
readonly at: 0;
|
|
16
|
+
}, {
|
|
17
|
+
readonly at: 0.35;
|
|
18
|
+
readonly scaleY: -0.08;
|
|
19
|
+
readonly scaleX: 0.05;
|
|
20
|
+
}, {
|
|
21
|
+
readonly at: 1;
|
|
22
|
+
}];
|
|
23
|
+
}];
|
|
24
|
+
}, {
|
|
25
|
+
readonly name: "contents";
|
|
26
|
+
readonly detail: true;
|
|
27
|
+
readonly paths: readonly ["M10 11v6", "M14 11v6"];
|
|
28
|
+
readonly poses: readonly [{}, {
|
|
29
|
+
readonly y: 0.6;
|
|
30
|
+
}, {
|
|
31
|
+
readonly opacity: 0;
|
|
32
|
+
readonly y: 4;
|
|
33
|
+
readonly scaleY: 0.2;
|
|
34
|
+
}];
|
|
35
|
+
readonly pivot: readonly [12, 17];
|
|
36
|
+
readonly gestures: readonly [null, {
|
|
37
|
+
readonly duration: 1.1;
|
|
38
|
+
readonly repeatAfter: 2.2;
|
|
39
|
+
readonly loop: true;
|
|
40
|
+
readonly frames: readonly [{
|
|
41
|
+
readonly at: 0;
|
|
42
|
+
}, {
|
|
43
|
+
readonly at: 0.2;
|
|
44
|
+
readonly y: -1.2;
|
|
45
|
+
}, {
|
|
46
|
+
readonly at: 0.6;
|
|
47
|
+
readonly y: 3;
|
|
48
|
+
readonly scaleY: -0.8;
|
|
49
|
+
readonly opacity: -1;
|
|
50
|
+
}, {
|
|
51
|
+
readonly at: 0.75;
|
|
52
|
+
readonly y: -0.6;
|
|
53
|
+
readonly scaleY: -0.8;
|
|
54
|
+
readonly opacity: -1;
|
|
55
|
+
}, {
|
|
56
|
+
readonly at: 1;
|
|
57
|
+
}];
|
|
58
|
+
}];
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "lid";
|
|
61
|
+
readonly paths: readonly ["M3 6h18", "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"];
|
|
62
|
+
readonly poses: readonly [{}, {
|
|
63
|
+
readonly angle: -9;
|
|
64
|
+
}, {}];
|
|
65
|
+
readonly pivot: readonly [3, 6];
|
|
66
|
+
readonly gestures: readonly [null, {
|
|
67
|
+
readonly duration: 1.1;
|
|
68
|
+
readonly repeatAfter: 2.2;
|
|
69
|
+
readonly loop: true;
|
|
70
|
+
readonly frames: readonly [{
|
|
71
|
+
readonly at: 0;
|
|
72
|
+
}, {
|
|
73
|
+
readonly at: 0.2;
|
|
74
|
+
readonly angle: -4;
|
|
75
|
+
}, {
|
|
76
|
+
readonly at: 0.6;
|
|
77
|
+
readonly angle: 3;
|
|
78
|
+
}, {
|
|
79
|
+
readonly at: 1;
|
|
80
|
+
}];
|
|
81
|
+
}, {
|
|
82
|
+
readonly duration: 0.6;
|
|
83
|
+
readonly repeatAfter: 2;
|
|
84
|
+
readonly loop: false;
|
|
85
|
+
readonly frames: readonly [{
|
|
86
|
+
readonly at: 0;
|
|
87
|
+
}, {
|
|
88
|
+
readonly at: 0.35;
|
|
89
|
+
readonly y: -0.6;
|
|
90
|
+
}, {
|
|
91
|
+
readonly at: 0.7;
|
|
92
|
+
readonly y: 0.25;
|
|
93
|
+
}, {
|
|
94
|
+
readonly at: 1;
|
|
95
|
+
}];
|
|
96
|
+
}];
|
|
97
|
+
}];
|
|
98
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export const trashStates = ['idle', 'emptying', 'emptied'];
|
|
2
|
+
// Lucide-derived outline; attribution and pinned source: THIRD_PARTY_NOTICES.md.
|
|
3
|
+
// The lid hinges open at its left end while the contents drop out of the can; emptied closes the lid over an empty, settled can.
|
|
4
|
+
export const trashArt = {
|
|
5
|
+
name: 'trash',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'can',
|
|
9
|
+
paths: ['M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
pivot: [12, 22],
|
|
12
|
+
gestures: [
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
{
|
|
16
|
+
duration: 0.6,
|
|
17
|
+
repeatAfter: 2,
|
|
18
|
+
loop: false,
|
|
19
|
+
frames: [{ at: 0 }, { at: 0.35, scaleY: -0.08, scaleX: 0.05 }, { at: 1 }],
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'contents',
|
|
25
|
+
detail: true,
|
|
26
|
+
paths: ['M10 11v6', 'M14 11v6'],
|
|
27
|
+
poses: [{}, { y: 0.6 }, { opacity: 0, y: 4, scaleY: 0.2 }],
|
|
28
|
+
pivot: [12, 17],
|
|
29
|
+
gestures: [
|
|
30
|
+
null,
|
|
31
|
+
{
|
|
32
|
+
duration: 1.1,
|
|
33
|
+
repeatAfter: 2.2,
|
|
34
|
+
loop: true,
|
|
35
|
+
frames: [
|
|
36
|
+
{ at: 0 },
|
|
37
|
+
{ at: 0.2, y: -1.2 },
|
|
38
|
+
{ at: 0.6, y: 3, scaleY: -0.8, opacity: -1 },
|
|
39
|
+
{ at: 0.75, y: -0.6, scaleY: -0.8, opacity: -1 },
|
|
40
|
+
{ at: 1 },
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'lid',
|
|
47
|
+
paths: ['M3 6h18', 'M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'],
|
|
48
|
+
poses: [{}, { angle: -9 }, {}],
|
|
49
|
+
pivot: [3, 6],
|
|
50
|
+
gestures: [
|
|
51
|
+
null,
|
|
52
|
+
{
|
|
53
|
+
duration: 1.1,
|
|
54
|
+
repeatAfter: 2.2,
|
|
55
|
+
loop: true,
|
|
56
|
+
frames: [{ at: 0 }, { at: 0.2, angle: -4 }, { at: 0.6, angle: 3 }, { at: 1 }],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
duration: 0.6,
|
|
60
|
+
repeatAfter: 2,
|
|
61
|
+
loop: false,
|
|
62
|
+
frames: [{ at: 0 }, { at: 0.35, y: -0.6 }, { at: 0.7, y: 0.25 }, { at: 1 }],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type TrendingUpState } from "./trending-up-rig.js";
|
|
3
|
+
export { trendingUpStates, type TrendingUpState } from "./trending-up-rig.js";
|
|
4
|
+
export type TrendingUpIconProps = StatefulIconProps<TrendingUpState>;
|
|
5
|
+
export declare const TrendingUpIcon: import("react").NamedExoticComponent<TrendingUpIconProps>;
|
|
@@ -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 { trendingUpArt, trendingUpStates } from "./trending-up-rig.js";
|
|
6
|
+
export { trendingUpStates } from "./trending-up-rig.js";
|
|
7
|
+
export const TrendingUpIcon = memo(function TrendingUpIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: trendingUpArt, states: trendingUpStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const trendingUpStates: readonly ["idle", "revealing", "positive"];
|
|
2
|
+
export type TrendingUpState = (typeof trendingUpStates)[number];
|
|
3
|
+
export declare const trendingUpArt: {
|
|
4
|
+
readonly name: "trending-up";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "trend";
|
|
7
|
+
readonly paths: readonly ["M2 17 L8.5 10.5 L13.5 15.5 L22 7"];
|
|
8
|
+
readonly pathOffsets: readonly [readonly [0, 0, 0, 0, 0, 0, -2, 2]];
|
|
9
|
+
readonly poses: readonly [{
|
|
10
|
+
readonly opacity: 0.55;
|
|
11
|
+
}, {}, {}];
|
|
12
|
+
readonly gestures: readonly [null, null, {
|
|
13
|
+
readonly duration: 0.8;
|
|
14
|
+
readonly repeatAfter: 1.5;
|
|
15
|
+
readonly loop: false;
|
|
16
|
+
readonly frames: readonly [{
|
|
17
|
+
readonly at: 0;
|
|
18
|
+
readonly flex: 1;
|
|
19
|
+
}, {
|
|
20
|
+
readonly at: 0.7;
|
|
21
|
+
}, {
|
|
22
|
+
readonly at: 1;
|
|
23
|
+
}];
|
|
24
|
+
}];
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "head";
|
|
27
|
+
readonly paths: readonly ["M16 7 L22 7 L22 13"];
|
|
28
|
+
readonly poses: readonly [{}, {}, {}];
|
|
29
|
+
readonly gestures: readonly [null, null, {
|
|
30
|
+
readonly duration: 0.8;
|
|
31
|
+
readonly repeatAfter: 1.5;
|
|
32
|
+
readonly loop: false;
|
|
33
|
+
readonly frames: readonly [{
|
|
34
|
+
readonly at: 0;
|
|
35
|
+
readonly x: -2;
|
|
36
|
+
readonly y: 2;
|
|
37
|
+
}, {
|
|
38
|
+
readonly at: 0.7;
|
|
39
|
+
}, {
|
|
40
|
+
readonly at: 1;
|
|
41
|
+
}];
|
|
42
|
+
}];
|
|
43
|
+
}];
|
|
44
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export const trendingUpStates = ['idle', 'revealing', 'positive'];
|
|
2
|
+
// The final ascending segment and its connected arrowhead rise into place once; earlier observations stay still.
|
|
3
|
+
// Adapted Lucide geometry; see THIRD_PARTY_NOTICES.md.
|
|
4
|
+
export const trendingUpArt = {
|
|
5
|
+
name: 'trending-up',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'trend',
|
|
9
|
+
paths: ['M2 17 L8.5 10.5 L13.5 15.5 L22 7'],
|
|
10
|
+
pathOffsets: [[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -2.0, 2.0]],
|
|
11
|
+
poses: [
|
|
12
|
+
{
|
|
13
|
+
opacity: 0.55,
|
|
14
|
+
},
|
|
15
|
+
{},
|
|
16
|
+
{},
|
|
17
|
+
],
|
|
18
|
+
gestures: [
|
|
19
|
+
null,
|
|
20
|
+
null,
|
|
21
|
+
{
|
|
22
|
+
duration: 0.8,
|
|
23
|
+
repeatAfter: 1.5,
|
|
24
|
+
loop: false,
|
|
25
|
+
frames: [
|
|
26
|
+
{
|
|
27
|
+
at: 0,
|
|
28
|
+
flex: 1,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
at: 0.7,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
at: 1,
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'head',
|
|
42
|
+
paths: ['M16 7 L22 7 L22 13'],
|
|
43
|
+
poses: [{}, {}, {}],
|
|
44
|
+
gestures: [
|
|
45
|
+
null,
|
|
46
|
+
null,
|
|
47
|
+
{
|
|
48
|
+
duration: 0.8,
|
|
49
|
+
repeatAfter: 1.5,
|
|
50
|
+
loop: false,
|
|
51
|
+
frames: [
|
|
52
|
+
{
|
|
53
|
+
at: 0,
|
|
54
|
+
x: -2,
|
|
55
|
+
y: 2,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
at: 0.7,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
at: 1,
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type UndoState } from "./undo-rig.js";
|
|
3
|
+
export { undoStates, type UndoState } from "./undo-rig.js";
|
|
4
|
+
export type UndoIconProps = StatefulIconProps<UndoState>;
|
|
5
|
+
export declare const UndoIcon: import("react").NamedExoticComponent<UndoIconProps>;
|
|
@@ -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 { undoArt, undoStates } from "./undo-rig.js";
|
|
6
|
+
export { undoStates } from "./undo-rig.js";
|
|
7
|
+
export const UndoIcon = memo(function UndoIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: undoArt, states: undoStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const undoStates: readonly ["idle", "undoing", "unavailable"];
|
|
2
|
+
export type UndoState = (typeof undoStates)[number];
|
|
3
|
+
export declare const undoArt: {
|
|
4
|
+
readonly name: "undo";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "return-arrow";
|
|
7
|
+
readonly paths: readonly ["M9 14 L4 9 L9 4", "M4 9 L14.5 9 C17.538 9 20 11.462 20 14.5 C20 17.538 17.538 20 14.5 20 L11 20"];
|
|
8
|
+
readonly pathOffsets: readonly [readonly [-1.2, 0, -1.2, 0, -1.2, 0], readonly [-1.2, 0, 0, 0, 0, 0, -1, -0.5, -1, -1, -1, -1.5, -0.5, -2, 0, -2, 3, -2]];
|
|
9
|
+
readonly poses: readonly [{}, {}, {
|
|
10
|
+
readonly opacity: 0.32;
|
|
11
|
+
}];
|
|
12
|
+
readonly gestures: readonly [null, {
|
|
13
|
+
readonly duration: 0.8;
|
|
14
|
+
readonly repeatAfter: 1.6;
|
|
15
|
+
readonly loop: false;
|
|
16
|
+
readonly frames: readonly [{
|
|
17
|
+
readonly at: 0;
|
|
18
|
+
}, {
|
|
19
|
+
readonly at: 0.34;
|
|
20
|
+
readonly flex: 1;
|
|
21
|
+
}, {
|
|
22
|
+
readonly at: 0.8;
|
|
23
|
+
}, {
|
|
24
|
+
readonly at: 1;
|
|
25
|
+
}];
|
|
26
|
+
}, null];
|
|
27
|
+
}];
|
|
28
|
+
};
|