weasel-icons 0.15.0 → 0.16.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 +4 -0
- package/dist/icons/analog-meter/analog-meter-icon.d.ts +5 -0
- package/dist/icons/analog-meter/analog-meter-icon.js +9 -0
- package/dist/icons/analog-meter/analog-meter-rig.d.ts +58 -0
- package/dist/icons/analog-meter/analog-meter-rig.js +78 -0
- package/dist/icons/attention-head/attention-head-icon.d.ts +5 -0
- package/dist/icons/attention-head/attention-head-icon.js +9 -0
- package/dist/icons/attention-head/attention-head-rig.d.ts +64 -0
- package/dist/icons/attention-head/attention-head-rig.js +199 -0
- package/dist/icons/bicycle-pump/bicycle-pump-icon.d.ts +5 -0
- package/dist/icons/bicycle-pump/bicycle-pump-icon.js +9 -0
- package/dist/icons/bicycle-pump/bicycle-pump-rig.d.ts +73 -0
- package/dist/icons/bicycle-pump/bicycle-pump-rig.js +114 -0
- package/dist/icons/desk-bell/desk-bell-icon.d.ts +5 -0
- package/dist/icons/desk-bell/desk-bell-icon.js +9 -0
- package/dist/icons/desk-bell/desk-bell-rig.d.ts +55 -0
- package/dist/icons/desk-bell/desk-bell-rig.js +87 -0
- package/dist/icons/fuse/fuse-icon.d.ts +5 -0
- package/dist/icons/fuse/fuse-icon.js +9 -0
- package/dist/icons/fuse/fuse-rig.d.ts +69 -0
- package/dist/icons/fuse/fuse-rig.js +98 -0
- package/dist/icons/ink-stamp/ink-stamp-icon.d.ts +5 -0
- package/dist/icons/ink-stamp/ink-stamp-icon.js +9 -0
- package/dist/icons/ink-stamp/ink-stamp-rig.d.ts +65 -0
- package/dist/icons/ink-stamp/ink-stamp-rig.js +170 -0
- package/dist/icons/knowledge-graph/knowledge-graph-icon.d.ts +5 -0
- package/dist/icons/knowledge-graph/knowledge-graph-icon.js +9 -0
- package/dist/icons/knowledge-graph/knowledge-graph-rig.d.ts +89 -0
- package/dist/icons/knowledge-graph/knowledge-graph-rig.js +137 -0
- package/dist/icons/newton-cradle/newton-cradle-icon.d.ts +5 -0
- package/dist/icons/newton-cradle/newton-cradle-icon.js +9 -0
- package/dist/icons/newton-cradle/newton-cradle-rig.d.ts +96 -0
- package/dist/icons/newton-cradle/newton-cradle-rig.js +150 -0
- package/dist/icons/oscilloscope/oscilloscope-icon.d.ts +5 -0
- package/dist/icons/oscilloscope/oscilloscope-icon.js +9 -0
- package/dist/icons/oscilloscope/oscilloscope-rig.d.ts +58 -0
- package/dist/icons/oscilloscope/oscilloscope-rig.js +73 -0
- package/dist/icons/paper-shredder/paper-shredder-icon.d.ts +5 -0
- package/dist/icons/paper-shredder/paper-shredder-icon.js +9 -0
- package/dist/icons/paper-shredder/paper-shredder-rig.d.ts +126 -0
- package/dist/icons/paper-shredder/paper-shredder-rig.js +286 -0
- package/dist/icons/rain-umbrella/rain-umbrella-icon.d.ts +5 -0
- package/dist/icons/rain-umbrella/rain-umbrella-icon.js +9 -0
- package/dist/icons/rain-umbrella/rain-umbrella-rig.d.ts +56 -0
- package/dist/icons/rain-umbrella/rain-umbrella-rig.js +75 -0
- package/dist/icons/sewing-machine/sewing-machine-icon.d.ts +5 -0
- package/dist/icons/sewing-machine/sewing-machine-icon.js +9 -0
- package/dist/icons/sewing-machine/sewing-machine-rig.d.ts +101 -0
- package/dist/icons/sewing-machine/sewing-machine-rig.js +126 -0
- package/dist/icons/toggle-switch/toggle-switch-icon.d.ts +5 -0
- package/dist/icons/toggle-switch/toggle-switch-icon.js +9 -0
- package/dist/icons/toggle-switch/toggle-switch-rig.d.ts +84 -0
- package/dist/icons/toggle-switch/toggle-switch-rig.js +112 -0
- package/dist/icons/tuning-fork/tuning-fork-icon.d.ts +5 -0
- package/dist/icons/tuning-fork/tuning-fork-icon.js +9 -0
- package/dist/icons/tuning-fork/tuning-fork-rig.d.ts +30 -0
- package/dist/icons/tuning-fork/tuning-fork-rig.js +99 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +14 -0
- package/dist/shared/icon-colors.d.ts +14 -0
- package/dist/source.json +1 -1
- package/package.json +71 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare const deskBellStates: readonly ["quiet", "ringing", "pressed"];
|
|
2
|
+
export type DeskBellState = (typeof deskBellStates)[number];
|
|
3
|
+
export declare const deskBellArt: {
|
|
4
|
+
name: string;
|
|
5
|
+
parts: ({
|
|
6
|
+
name: string;
|
|
7
|
+
paths: string[];
|
|
8
|
+
poses: ({
|
|
9
|
+
y?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
y: number;
|
|
12
|
+
})[];
|
|
13
|
+
gestures: ({
|
|
14
|
+
duration: number;
|
|
15
|
+
frames: ({
|
|
16
|
+
at: number;
|
|
17
|
+
y?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
at: number;
|
|
20
|
+
y: number;
|
|
21
|
+
})[];
|
|
22
|
+
repeatAfter: number;
|
|
23
|
+
loop: true;
|
|
24
|
+
interpolation: "continuous";
|
|
25
|
+
} | null)[];
|
|
26
|
+
surface?: undefined;
|
|
27
|
+
pivot?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
name: string;
|
|
30
|
+
paths: string[];
|
|
31
|
+
poses: {}[];
|
|
32
|
+
surface: true;
|
|
33
|
+
pivot: [number, number];
|
|
34
|
+
gestures: ({
|
|
35
|
+
duration: number;
|
|
36
|
+
frames: ({
|
|
37
|
+
at: number;
|
|
38
|
+
angle?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
at: number;
|
|
41
|
+
angle: number;
|
|
42
|
+
})[];
|
|
43
|
+
repeatAfter: number;
|
|
44
|
+
loop: true;
|
|
45
|
+
interpolation: "continuous";
|
|
46
|
+
} | null)[];
|
|
47
|
+
} | {
|
|
48
|
+
name: string;
|
|
49
|
+
paths: string[];
|
|
50
|
+
poses: {}[];
|
|
51
|
+
gestures?: undefined;
|
|
52
|
+
surface?: undefined;
|
|
53
|
+
pivot?: undefined;
|
|
54
|
+
})[];
|
|
55
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export const deskBellStates = ['quiet', 'ringing', 'pressed'];
|
|
2
|
+
export const deskBellArt = {
|
|
3
|
+
name: 'published-random-desk-bell',
|
|
4
|
+
parts: [
|
|
5
|
+
{
|
|
6
|
+
name: 'button',
|
|
7
|
+
paths: ['M 9 3 H 15 M 12 3 V 8'],
|
|
8
|
+
poses: [
|
|
9
|
+
{},
|
|
10
|
+
{},
|
|
11
|
+
{
|
|
12
|
+
y: 1.5,
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
gestures: [
|
|
16
|
+
null,
|
|
17
|
+
{
|
|
18
|
+
duration: 2.7,
|
|
19
|
+
frames: [
|
|
20
|
+
{
|
|
21
|
+
at: 0,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
at: 0.16,
|
|
25
|
+
y: 1.5,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
at: 0.28,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
at: 1,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
repeatAfter: 3.2,
|
|
35
|
+
loop: true,
|
|
36
|
+
interpolation: 'continuous',
|
|
37
|
+
},
|
|
38
|
+
null,
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'dome',
|
|
43
|
+
paths: ['M 3 18 Q 3 7 12 7 Q 21 7 21 18 Z'],
|
|
44
|
+
poses: [{}, {}, {}],
|
|
45
|
+
surface: true,
|
|
46
|
+
pivot: [12, 18],
|
|
47
|
+
gestures: [
|
|
48
|
+
null,
|
|
49
|
+
{
|
|
50
|
+
duration: 2.7,
|
|
51
|
+
frames: [
|
|
52
|
+
{
|
|
53
|
+
at: 0,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
at: 0.2,
|
|
57
|
+
angle: 3,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
at: 0.32,
|
|
61
|
+
angle: -2.5,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
at: 0.46,
|
|
65
|
+
angle: 1.5,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
at: 0.65,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
at: 1,
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
repeatAfter: 3.2,
|
|
75
|
+
loop: true,
|
|
76
|
+
interpolation: 'continuous',
|
|
77
|
+
},
|
|
78
|
+
null,
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'base',
|
|
83
|
+
paths: ['M 2 21 H 22'],
|
|
84
|
+
poses: [{}, {}, {}],
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type FuseState } from "./fuse-rig.js";
|
|
3
|
+
export { fuseStates, type FuseState } from "./fuse-rig.js";
|
|
4
|
+
export type FuseIconProps = StatefulIconProps<FuseState>;
|
|
5
|
+
export declare const FuseIcon: import("react").NamedExoticComponent<FuseIconProps>;
|
|
@@ -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 { fuseArt, fuseStates } from "./fuse-rig.js";
|
|
6
|
+
export { fuseStates } from "./fuse-rig.js";
|
|
7
|
+
export const FuseIcon = memo(function FuseIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: fuseArt, states: fuseStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const fuseStates: readonly ["intact", "current", "blown"];
|
|
2
|
+
export type FuseState = (typeof fuseStates)[number];
|
|
3
|
+
export declare const fuseArt: {
|
|
4
|
+
name: string;
|
|
5
|
+
parts: ({
|
|
6
|
+
name: string;
|
|
7
|
+
paths: string[];
|
|
8
|
+
poses: {}[];
|
|
9
|
+
detail: true;
|
|
10
|
+
accent?: undefined;
|
|
11
|
+
traceLength?: undefined;
|
|
12
|
+
gestures?: undefined;
|
|
13
|
+
surface?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
name: string;
|
|
16
|
+
paths: string[];
|
|
17
|
+
poses: {
|
|
18
|
+
opacity: number;
|
|
19
|
+
}[];
|
|
20
|
+
detail: true;
|
|
21
|
+
accent?: undefined;
|
|
22
|
+
traceLength?: undefined;
|
|
23
|
+
gestures?: undefined;
|
|
24
|
+
surface?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
name: string;
|
|
27
|
+
paths: string[];
|
|
28
|
+
poses: {
|
|
29
|
+
opacity: number;
|
|
30
|
+
}[];
|
|
31
|
+
detail: true;
|
|
32
|
+
accent: true;
|
|
33
|
+
traceLength: number;
|
|
34
|
+
gestures: ({
|
|
35
|
+
duration: number;
|
|
36
|
+
frames: ({
|
|
37
|
+
at: number;
|
|
38
|
+
draw: number;
|
|
39
|
+
} | {
|
|
40
|
+
at: number;
|
|
41
|
+
draw?: undefined;
|
|
42
|
+
})[];
|
|
43
|
+
repeatAfter: number;
|
|
44
|
+
loop: true;
|
|
45
|
+
interpolation: "continuous";
|
|
46
|
+
} | null)[];
|
|
47
|
+
surface?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
name: string;
|
|
50
|
+
paths: string[];
|
|
51
|
+
poses: {
|
|
52
|
+
opacity: number;
|
|
53
|
+
}[];
|
|
54
|
+
detail: true;
|
|
55
|
+
accent: true;
|
|
56
|
+
traceLength?: undefined;
|
|
57
|
+
gestures?: undefined;
|
|
58
|
+
surface?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
name: string;
|
|
61
|
+
paths: string[];
|
|
62
|
+
poses: {}[];
|
|
63
|
+
surface: true;
|
|
64
|
+
detail?: undefined;
|
|
65
|
+
accent?: undefined;
|
|
66
|
+
traceLength?: undefined;
|
|
67
|
+
gestures?: undefined;
|
|
68
|
+
})[];
|
|
69
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export const fuseStates = ['intact', 'current', 'blown'];
|
|
2
|
+
export const fuseArt = {
|
|
3
|
+
name: 'kept-refined-fuse',
|
|
4
|
+
parts: [
|
|
5
|
+
{
|
|
6
|
+
name: 'glass',
|
|
7
|
+
paths: ['M 6 8.5 H 18 M 6 15.5 H 18'],
|
|
8
|
+
poses: [{}, {}, {}],
|
|
9
|
+
detail: true,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
name: 'link',
|
|
13
|
+
paths: ['M 6 12 Q 9 10.5 12 12 Q 15 13.5 18 12'],
|
|
14
|
+
poses: [
|
|
15
|
+
{
|
|
16
|
+
opacity: 1,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
opacity: 1,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
opacity: 0,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
detail: true,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'flow',
|
|
29
|
+
paths: ['M 6 12 Q 9 10.5 12 12 Q 15 13.5 18 12'],
|
|
30
|
+
poses: [
|
|
31
|
+
{
|
|
32
|
+
opacity: 0,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
opacity: 1,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
opacity: 0,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
detail: true,
|
|
42
|
+
accent: true,
|
|
43
|
+
traceLength: 12.8,
|
|
44
|
+
gestures: [
|
|
45
|
+
null,
|
|
46
|
+
{
|
|
47
|
+
duration: 3.6,
|
|
48
|
+
frames: [
|
|
49
|
+
{
|
|
50
|
+
at: 0,
|
|
51
|
+
draw: -1,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
at: 0.42,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
at: 0.6,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
at: 1,
|
|
61
|
+
draw: -1,
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
repeatAfter: 3.85,
|
|
65
|
+
loop: true,
|
|
66
|
+
interpolation: 'continuous',
|
|
67
|
+
},
|
|
68
|
+
null,
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'broken-link',
|
|
73
|
+
paths: ['M 6 12 Q 8 10.8 9.5 11.3 M 14.5 12.7 Q 16 13.2 18 12'],
|
|
74
|
+
poses: [
|
|
75
|
+
{
|
|
76
|
+
opacity: 0,
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
opacity: 0,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
opacity: 1,
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
detail: true,
|
|
86
|
+
accent: true,
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'caps',
|
|
90
|
+
paths: [
|
|
91
|
+
'M 2.7 8 H 5.3 Q 6 8 6 8.7 V 15.3 Q 6 16 5.3 16 H 2.7 Q 2 16 2 15.3 V 8.7 Q 2 8 2.7 8 Z',
|
|
92
|
+
'M 18.7 8 H 21.3 Q 22 8 22 8.7 V 15.3 Q 22 16 21.3 16 H 18.7 Q 18 16 18 15.3 V 8.7 Q 18 8 18.7 8 Z',
|
|
93
|
+
],
|
|
94
|
+
poses: [{}, {}, {}],
|
|
95
|
+
surface: true,
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type InkStampState } from "./ink-stamp-rig.js";
|
|
3
|
+
export { inkStampStates, type InkStampState } from "./ink-stamp-rig.js";
|
|
4
|
+
export type InkStampIconProps = StatefulIconProps<InkStampState>;
|
|
5
|
+
export declare const InkStampIcon: import("react").NamedExoticComponent<InkStampIconProps>;
|
|
@@ -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 { inkStampArt, inkStampStates } from "./ink-stamp-rig.js";
|
|
6
|
+
export { inkStampStates } from "./ink-stamp-rig.js";
|
|
7
|
+
export const InkStampIcon = memo(function InkStampIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: inkStampArt, states: inkStampStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare const inkStampStates: readonly ["raised", "stamping", "marked"];
|
|
2
|
+
export type InkStampState = (typeof inkStampStates)[number];
|
|
3
|
+
export declare const inkStampArt: {
|
|
4
|
+
name: string;
|
|
5
|
+
parts: ({
|
|
6
|
+
name: string;
|
|
7
|
+
paths: string[];
|
|
8
|
+
poses: {}[];
|
|
9
|
+
gestures: ({
|
|
10
|
+
duration: number;
|
|
11
|
+
frames: ({
|
|
12
|
+
at: number;
|
|
13
|
+
y?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
at: number;
|
|
16
|
+
y: number;
|
|
17
|
+
})[];
|
|
18
|
+
repeatAfter: number;
|
|
19
|
+
loop: true;
|
|
20
|
+
interpolation: "continuous";
|
|
21
|
+
} | null)[];
|
|
22
|
+
surface?: undefined;
|
|
23
|
+
accent?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
name: string;
|
|
26
|
+
paths: string[];
|
|
27
|
+
poses: {}[];
|
|
28
|
+
surface: true;
|
|
29
|
+
gestures: ({
|
|
30
|
+
duration: number;
|
|
31
|
+
frames: ({
|
|
32
|
+
at: number;
|
|
33
|
+
y?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
at: number;
|
|
36
|
+
y: number;
|
|
37
|
+
})[];
|
|
38
|
+
repeatAfter: number;
|
|
39
|
+
loop: true;
|
|
40
|
+
interpolation: "continuous";
|
|
41
|
+
} | null)[];
|
|
42
|
+
accent?: undefined;
|
|
43
|
+
} | {
|
|
44
|
+
name: string;
|
|
45
|
+
paths: string[];
|
|
46
|
+
poses: {
|
|
47
|
+
opacity: number;
|
|
48
|
+
}[];
|
|
49
|
+
accent: true;
|
|
50
|
+
gestures: ({
|
|
51
|
+
duration: number;
|
|
52
|
+
frames: ({
|
|
53
|
+
at: number;
|
|
54
|
+
opacity: number;
|
|
55
|
+
} | {
|
|
56
|
+
at: number;
|
|
57
|
+
opacity?: undefined;
|
|
58
|
+
})[];
|
|
59
|
+
repeatAfter: number;
|
|
60
|
+
loop: true;
|
|
61
|
+
interpolation: "continuous";
|
|
62
|
+
} | null)[];
|
|
63
|
+
surface?: undefined;
|
|
64
|
+
})[];
|
|
65
|
+
};
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
export const inkStampStates = ['raised', 'stamping', 'marked'];
|
|
2
|
+
export const inkStampArt = {
|
|
3
|
+
name: 'kept-refined-ink-stamp',
|
|
4
|
+
parts: [
|
|
5
|
+
{
|
|
6
|
+
name: 'stem',
|
|
7
|
+
paths: ['M 12 7 V 13.8'],
|
|
8
|
+
poses: [{}, {}, {}],
|
|
9
|
+
gestures: [
|
|
10
|
+
null,
|
|
11
|
+
{
|
|
12
|
+
duration: 3.2,
|
|
13
|
+
frames: [
|
|
14
|
+
{
|
|
15
|
+
at: 0,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
at: 0.12,
|
|
19
|
+
y: -0.3,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
at: 0.38,
|
|
23
|
+
y: 4,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
at: 0.49,
|
|
27
|
+
y: 4,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
at: 0.77,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
at: 1,
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
repeatAfter: 3.95,
|
|
37
|
+
loop: true,
|
|
38
|
+
interpolation: 'continuous',
|
|
39
|
+
},
|
|
40
|
+
null,
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'handle',
|
|
45
|
+
paths: [
|
|
46
|
+
'M 10.3 2 H 13.7 Q 15.5 2 15.5 3.8 V 5.2 Q 15.5 7 13.7 7 H 10.3 Q 8.5 7 8.5 5.2 V 3.8 Q 8.5 2 10.3 2 Z',
|
|
47
|
+
],
|
|
48
|
+
poses: [{}, {}, {}],
|
|
49
|
+
surface: true,
|
|
50
|
+
gestures: [
|
|
51
|
+
null,
|
|
52
|
+
{
|
|
53
|
+
duration: 3.2,
|
|
54
|
+
frames: [
|
|
55
|
+
{
|
|
56
|
+
at: 0,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
at: 0.12,
|
|
60
|
+
y: -0.3,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
at: 0.38,
|
|
64
|
+
y: 4,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
at: 0.49,
|
|
68
|
+
y: 4,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
at: 0.77,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
at: 1,
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
repeatAfter: 3.95,
|
|
78
|
+
loop: true,
|
|
79
|
+
interpolation: 'continuous',
|
|
80
|
+
},
|
|
81
|
+
null,
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'rubber',
|
|
86
|
+
paths: ['M 7 13.8 H 17 L 19 15 V 17 H 5 V 15 Z'],
|
|
87
|
+
poses: [{}, {}, {}],
|
|
88
|
+
surface: true,
|
|
89
|
+
gestures: [
|
|
90
|
+
null,
|
|
91
|
+
{
|
|
92
|
+
duration: 3.2,
|
|
93
|
+
frames: [
|
|
94
|
+
{
|
|
95
|
+
at: 0,
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
at: 0.12,
|
|
99
|
+
y: -0.3,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
at: 0.38,
|
|
103
|
+
y: 4,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
at: 0.49,
|
|
107
|
+
y: 4,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
at: 0.77,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
at: 1,
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
repeatAfter: 3.95,
|
|
117
|
+
loop: true,
|
|
118
|
+
interpolation: 'continuous',
|
|
119
|
+
},
|
|
120
|
+
null,
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'impression',
|
|
125
|
+
paths: ['M 6.5 21 H 17.5'],
|
|
126
|
+
poses: [
|
|
127
|
+
{
|
|
128
|
+
opacity: 0,
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
opacity: 1,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
opacity: 1,
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
accent: true,
|
|
138
|
+
gestures: [
|
|
139
|
+
null,
|
|
140
|
+
{
|
|
141
|
+
duration: 3.2,
|
|
142
|
+
frames: [
|
|
143
|
+
{
|
|
144
|
+
at: 0,
|
|
145
|
+
opacity: -1,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
at: 0.35,
|
|
149
|
+
opacity: -1,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
at: 0.42,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
at: 0.82,
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
at: 1,
|
|
159
|
+
opacity: -1,
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
repeatAfter: 3.95,
|
|
163
|
+
loop: true,
|
|
164
|
+
interpolation: 'continuous',
|
|
165
|
+
},
|
|
166
|
+
null,
|
|
167
|
+
],
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type KnowledgeGraphState } from "./knowledge-graph-rig.js";
|
|
3
|
+
export { knowledgeGraphStates, type KnowledgeGraphState } from "./knowledge-graph-rig.js";
|
|
4
|
+
export type KnowledgeGraphIconProps = StatefulIconProps<KnowledgeGraphState>;
|
|
5
|
+
export declare const KnowledgeGraphIcon: import("react").NamedExoticComponent<KnowledgeGraphIconProps>;
|
|
@@ -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 { knowledgeGraphArt, knowledgeGraphStates, } from "./knowledge-graph-rig.js";
|
|
6
|
+
export { knowledgeGraphStates } from "./knowledge-graph-rig.js";
|
|
7
|
+
export const KnowledgeGraphIcon = memo(function KnowledgeGraphIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: knowledgeGraphArt, states: knowledgeGraphStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export declare const knowledgeGraphStates: readonly ["known", "traversing", "expanded"];
|
|
2
|
+
export type KnowledgeGraphState = (typeof knowledgeGraphStates)[number];
|
|
3
|
+
export declare const knowledgeGraphArt: {
|
|
4
|
+
name: string;
|
|
5
|
+
parts: ({
|
|
6
|
+
name: string;
|
|
7
|
+
paths: string[];
|
|
8
|
+
poses: {}[];
|
|
9
|
+
detail: true;
|
|
10
|
+
accent?: undefined;
|
|
11
|
+
traceLength?: undefined;
|
|
12
|
+
gestures?: undefined;
|
|
13
|
+
surface?: undefined;
|
|
14
|
+
fillOnly?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
name: string;
|
|
17
|
+
paths: string[];
|
|
18
|
+
poses: ({
|
|
19
|
+
opacity: number;
|
|
20
|
+
} | {
|
|
21
|
+
opacity?: undefined;
|
|
22
|
+
})[];
|
|
23
|
+
detail: true;
|
|
24
|
+
accent: true;
|
|
25
|
+
traceLength: number;
|
|
26
|
+
gestures: ({
|
|
27
|
+
duration: number;
|
|
28
|
+
repeatAfter: number;
|
|
29
|
+
loop: false;
|
|
30
|
+
frames: ({
|
|
31
|
+
at: number;
|
|
32
|
+
draw: number;
|
|
33
|
+
} | {
|
|
34
|
+
at: number;
|
|
35
|
+
draw?: undefined;
|
|
36
|
+
})[];
|
|
37
|
+
} | null)[];
|
|
38
|
+
surface?: undefined;
|
|
39
|
+
fillOnly?: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
name: string;
|
|
42
|
+
paths: string[];
|
|
43
|
+
poses: {}[];
|
|
44
|
+
surface: true;
|
|
45
|
+
detail?: undefined;
|
|
46
|
+
accent?: undefined;
|
|
47
|
+
traceLength?: undefined;
|
|
48
|
+
gestures?: undefined;
|
|
49
|
+
fillOnly?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
name: string;
|
|
52
|
+
paths: string[];
|
|
53
|
+
poses: ({
|
|
54
|
+
opacity: number;
|
|
55
|
+
} | {
|
|
56
|
+
opacity?: undefined;
|
|
57
|
+
})[];
|
|
58
|
+
surface: true;
|
|
59
|
+
accent: true;
|
|
60
|
+
detail?: undefined;
|
|
61
|
+
traceLength?: undefined;
|
|
62
|
+
gestures?: undefined;
|
|
63
|
+
fillOnly?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
name: string;
|
|
66
|
+
paths: string[];
|
|
67
|
+
poses: ({
|
|
68
|
+
opacity: number;
|
|
69
|
+
} | {
|
|
70
|
+
opacity?: undefined;
|
|
71
|
+
})[];
|
|
72
|
+
fillOnly: "ink";
|
|
73
|
+
accent: true;
|
|
74
|
+
gestures: ({
|
|
75
|
+
duration: number;
|
|
76
|
+
repeatAfter: number;
|
|
77
|
+
interpolation: "continuous";
|
|
78
|
+
frames: {
|
|
79
|
+
at: number;
|
|
80
|
+
x: number;
|
|
81
|
+
y: number;
|
|
82
|
+
opacity: number;
|
|
83
|
+
}[];
|
|
84
|
+
} | null)[];
|
|
85
|
+
detail?: undefined;
|
|
86
|
+
traceLength?: undefined;
|
|
87
|
+
surface?: undefined;
|
|
88
|
+
})[];
|
|
89
|
+
};
|