weasel-icons 0.14.4 → 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 +8 -0
- package/dist/icons/agent-goal/agent-goal-icon.d.ts +5 -0
- package/dist/icons/agent-goal/agent-goal-icon.js +9 -0
- package/dist/icons/agent-goal/agent-goal-rig.d.ts +66 -0
- package/dist/icons/agent-goal/agent-goal-rig.js +114 -0
- package/dist/icons/agent-memory/agent-memory-icon.d.ts +5 -0
- package/dist/icons/agent-memory/agent-memory-icon.js +9 -0
- package/dist/icons/agent-memory/agent-memory-rig.d.ts +57 -0
- package/dist/icons/agent-memory/agent-memory-rig.js +104 -0
- package/dist/icons/agent-planner/agent-planner-icon.d.ts +5 -0
- package/dist/icons/agent-planner/agent-planner-icon.js +9 -0
- package/dist/icons/agent-planner/agent-planner-rig.d.ts +68 -0
- package/dist/icons/agent-planner/agent-planner-rig.js +131 -0
- package/dist/icons/agent-reasoning/agent-reasoning-icon.d.ts +5 -0
- package/dist/icons/agent-reasoning/agent-reasoning-icon.js +9 -0
- package/dist/icons/agent-reasoning/agent-reasoning-rig.d.ts +65 -0
- package/dist/icons/agent-reasoning/agent-reasoning-rig.js +94 -0
- package/dist/icons/ai-agent/ai-agent-icon.d.ts +5 -0
- package/dist/icons/ai-agent/ai-agent-icon.js +9 -0
- package/dist/icons/ai-agent/ai-agent-rig.d.ts +51 -0
- package/dist/icons/ai-agent/ai-agent-rig.js +76 -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/browser-agent/browser-agent-icon.d.ts +5 -0
- package/dist/icons/browser-agent/browser-agent-icon.js +9 -0
- package/dist/icons/browser-agent/browser-agent-rig.d.ts +47 -0
- package/dist/icons/browser-agent/browser-agent-rig.js +65 -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 +20 -0
- package/dist/index.js +21 -0
- package/dist/shared/icon-colors.d.ts +20 -0
- package/dist/source.json +1 -1
- package/package.json +101 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export const agentReasoningStates = ['ready', 'active', 'result'];
|
|
2
|
+
export const agentReasoningArt = {
|
|
3
|
+
name: 'agent-reasoning',
|
|
4
|
+
parts: [
|
|
5
|
+
{
|
|
6
|
+
name: 'brain',
|
|
7
|
+
paths: [
|
|
8
|
+
'M12 5c-2-3-6-1.7-6 1.5C2 6.2 1.7 12 5 13c-2 3 .3 7 3.5 6.2 1.3 2.3 3.5 1 3.5-1.2V5Zm0 0c2-3 6-1.7 6 1.5 4-.3 4.3 5.5 1 6.5 2 3-.3 7-3.5 6.2-1.3 2.3-3.5 1-3.5-1.2V5Z',
|
|
9
|
+
],
|
|
10
|
+
poses: [{}, {}, {}],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'folds',
|
|
14
|
+
paths: ['M5 13h2.5V10M18 6.5h-2v3M12 15.5h4'],
|
|
15
|
+
poses: [{}, {}, {}],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: 'left-brain-trace',
|
|
19
|
+
paths: ['M12 5c-2-3-6-1.7-6 1.5c-4-.3-4.3 5.5-1 6.5c-2 3 .3 7 3.5 6.2c1.3 2.3 3.5 1 3.5-1.2'],
|
|
20
|
+
poses: [
|
|
21
|
+
{
|
|
22
|
+
opacity: 0,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
draw: 0,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
opacity: 0,
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
accent: true,
|
|
32
|
+
gestures: [
|
|
33
|
+
null,
|
|
34
|
+
{
|
|
35
|
+
duration: 5.6,
|
|
36
|
+
repeatAfter: 5.6,
|
|
37
|
+
frames: [
|
|
38
|
+
{
|
|
39
|
+
at: 0,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
at: 0.5,
|
|
43
|
+
draw: 1,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
at: 1,
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
null,
|
|
51
|
+
],
|
|
52
|
+
pivot: [12, 12],
|
|
53
|
+
detail: true,
|
|
54
|
+
traceLength: 32.6088,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'left-thought',
|
|
58
|
+
paths: ['M7.5 10v3H5'],
|
|
59
|
+
poses: [
|
|
60
|
+
{
|
|
61
|
+
opacity: 0,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
draw: 0,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
opacity: 0,
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
accent: true,
|
|
71
|
+
gestures: [
|
|
72
|
+
null,
|
|
73
|
+
{
|
|
74
|
+
duration: 5.6,
|
|
75
|
+
repeatAfter: 5.6,
|
|
76
|
+
frames: [
|
|
77
|
+
{
|
|
78
|
+
at: 0,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
at: 0.5,
|
|
82
|
+
draw: 1,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
at: 1,
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
null,
|
|
90
|
+
],
|
|
91
|
+
traceLength: 5.5,
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type AiAgentState } from "./ai-agent-rig.js";
|
|
3
|
+
export { aiAgentStates, type AiAgentState } from "./ai-agent-rig.js";
|
|
4
|
+
export type AiAgentIconProps = StatefulIconProps<AiAgentState>;
|
|
5
|
+
export declare const AiAgentIcon: import("react").NamedExoticComponent<AiAgentIconProps>;
|
|
@@ -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 { aiAgentArt, aiAgentStates } from "./ai-agent-rig.js";
|
|
6
|
+
export { aiAgentStates } from "./ai-agent-rig.js";
|
|
7
|
+
export const AiAgentIcon = memo(function AiAgentIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: aiAgentArt, states: aiAgentStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const aiAgentStates: readonly ["ready", "active", "result"];
|
|
2
|
+
export type AiAgentState = (typeof aiAgentStates)[number];
|
|
3
|
+
export declare const aiAgentArt: {
|
|
4
|
+
name: string;
|
|
5
|
+
parts: ({
|
|
6
|
+
name: string;
|
|
7
|
+
paths: string[];
|
|
8
|
+
poses: {}[];
|
|
9
|
+
pivot?: undefined;
|
|
10
|
+
gestures?: undefined;
|
|
11
|
+
accent?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
name: string;
|
|
14
|
+
paths: string[];
|
|
15
|
+
poses: ({
|
|
16
|
+
scaleY?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
scaleY: number;
|
|
19
|
+
})[];
|
|
20
|
+
pivot: [number, number];
|
|
21
|
+
gestures: ({
|
|
22
|
+
duration: number;
|
|
23
|
+
repeatAfter: number;
|
|
24
|
+
frames: ({
|
|
25
|
+
at: number;
|
|
26
|
+
x?: undefined;
|
|
27
|
+
scaleY?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
at: number;
|
|
30
|
+
x: number;
|
|
31
|
+
scaleY?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
at: number;
|
|
34
|
+
scaleY: number;
|
|
35
|
+
x?: undefined;
|
|
36
|
+
})[];
|
|
37
|
+
} | null)[];
|
|
38
|
+
accent?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
name: string;
|
|
41
|
+
paths: string[];
|
|
42
|
+
poses: ({
|
|
43
|
+
scaleX: number;
|
|
44
|
+
} | {
|
|
45
|
+
scaleX?: undefined;
|
|
46
|
+
})[];
|
|
47
|
+
accent: true;
|
|
48
|
+
gestures: null[];
|
|
49
|
+
pivot: [number, number];
|
|
50
|
+
})[];
|
|
51
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export const aiAgentStates = ['ready', 'active', 'result'];
|
|
2
|
+
export const aiAgentArt = {
|
|
3
|
+
name: 'ai-agent',
|
|
4
|
+
parts: [
|
|
5
|
+
{
|
|
6
|
+
name: 'head',
|
|
7
|
+
paths: [
|
|
8
|
+
'M7 6h10a4 4 0 0 1 4 4v6a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-6a4 4 0 0 1 4-4Z',
|
|
9
|
+
'M12 3v3M1 11v4m22-4v4',
|
|
10
|
+
],
|
|
11
|
+
poses: [{}, {}, {}],
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: 'eyes',
|
|
15
|
+
paths: ['M8 10.5v3m8-3v3'],
|
|
16
|
+
poses: [
|
|
17
|
+
{},
|
|
18
|
+
{},
|
|
19
|
+
{
|
|
20
|
+
scaleY: 0.46,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
pivot: [12, 12],
|
|
24
|
+
gestures: [
|
|
25
|
+
null,
|
|
26
|
+
{
|
|
27
|
+
duration: 2.5,
|
|
28
|
+
repeatAfter: 3.1,
|
|
29
|
+
frames: [
|
|
30
|
+
{
|
|
31
|
+
at: 0,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
at: 0.14,
|
|
35
|
+
x: 1,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
at: 0.3,
|
|
39
|
+
x: 1,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
at: 0.46,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
at: 0.82,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
at: 0.9,
|
|
49
|
+
scaleY: -0.78,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
at: 1,
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
null,
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'expression',
|
|
61
|
+
paths: ['M9.5 16.3h5'],
|
|
62
|
+
poses: [
|
|
63
|
+
{
|
|
64
|
+
scaleX: 0.5,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
scaleX: 0.5,
|
|
68
|
+
},
|
|
69
|
+
{},
|
|
70
|
+
],
|
|
71
|
+
accent: true,
|
|
72
|
+
gestures: [null, null, null],
|
|
73
|
+
pivot: [12, 16.3],
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type AnalogMeterState } from "./analog-meter-rig.js";
|
|
3
|
+
export { analogMeterStates, type AnalogMeterState } from "./analog-meter-rig.js";
|
|
4
|
+
export type AnalogMeterIconProps = StatefulIconProps<AnalogMeterState>;
|
|
5
|
+
export declare const AnalogMeterIcon: import("react").NamedExoticComponent<AnalogMeterIconProps>;
|
|
@@ -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 { analogMeterArt, analogMeterStates } from "./analog-meter-rig.js";
|
|
6
|
+
export { analogMeterStates } from "./analog-meter-rig.js";
|
|
7
|
+
export const AnalogMeterIcon = memo(function AnalogMeterIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: analogMeterArt, states: analogMeterStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const analogMeterStates: readonly ["zero", "measuring", "high"];
|
|
2
|
+
export type AnalogMeterState = (typeof analogMeterStates)[number];
|
|
3
|
+
export declare const analogMeterArt: {
|
|
4
|
+
name: string;
|
|
5
|
+
parts: ({
|
|
6
|
+
name: string;
|
|
7
|
+
paths: string[];
|
|
8
|
+
poses: {}[];
|
|
9
|
+
detail?: undefined;
|
|
10
|
+
pivot?: undefined;
|
|
11
|
+
accent?: undefined;
|
|
12
|
+
gestures?: undefined;
|
|
13
|
+
fillOnly?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
name: string;
|
|
16
|
+
paths: string[];
|
|
17
|
+
poses: {}[];
|
|
18
|
+
detail: true;
|
|
19
|
+
pivot?: undefined;
|
|
20
|
+
accent?: undefined;
|
|
21
|
+
gestures?: undefined;
|
|
22
|
+
fillOnly?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
name: string;
|
|
25
|
+
paths: string[];
|
|
26
|
+
poses: ({
|
|
27
|
+
angle: number;
|
|
28
|
+
} | {
|
|
29
|
+
angle?: undefined;
|
|
30
|
+
})[];
|
|
31
|
+
pivot: [number, number];
|
|
32
|
+
accent: true;
|
|
33
|
+
gestures: ({
|
|
34
|
+
duration: number;
|
|
35
|
+
frames: ({
|
|
36
|
+
at: number;
|
|
37
|
+
angle?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
at: number;
|
|
40
|
+
angle: number;
|
|
41
|
+
})[];
|
|
42
|
+
repeatAfter: number;
|
|
43
|
+
loop: true;
|
|
44
|
+
interpolation: "continuous";
|
|
45
|
+
} | null)[];
|
|
46
|
+
detail?: undefined;
|
|
47
|
+
fillOnly?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
name: string;
|
|
50
|
+
paths: string[];
|
|
51
|
+
poses: {}[];
|
|
52
|
+
fillOnly: "ink";
|
|
53
|
+
detail?: undefined;
|
|
54
|
+
pivot?: undefined;
|
|
55
|
+
accent?: undefined;
|
|
56
|
+
gestures?: undefined;
|
|
57
|
+
})[];
|
|
58
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export const analogMeterStates = ['zero', 'measuring', 'high'];
|
|
2
|
+
export const analogMeterArt = {
|
|
3
|
+
name: 'kept-refined-analog-meter',
|
|
4
|
+
parts: [
|
|
5
|
+
{
|
|
6
|
+
name: 'case',
|
|
7
|
+
paths: ['M 4 3 H 20 Q 22 3 22 5 V 20 Q 22 22 20 22 H 4 Q 2 22 2 20 V 5 Q 2 3 4 3 Z'],
|
|
8
|
+
poses: [{}, {}, {}],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
name: 'scale',
|
|
12
|
+
paths: ['M 5 16 A 7 7 0 0 1 19 16'],
|
|
13
|
+
poses: [{}, {}, {}],
|
|
14
|
+
detail: true,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: 'ticks',
|
|
18
|
+
paths: ['M 6.5 11.7 L 7.2 12.3 M 12 9 V 10 M 17.5 11.7 L 16.8 12.3'],
|
|
19
|
+
poses: [{}, {}, {}],
|
|
20
|
+
detail: true,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'needle',
|
|
24
|
+
paths: ['M 12 16 V 12'],
|
|
25
|
+
poses: [
|
|
26
|
+
{
|
|
27
|
+
angle: -65,
|
|
28
|
+
},
|
|
29
|
+
{},
|
|
30
|
+
{
|
|
31
|
+
angle: 65,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
pivot: [12, 16],
|
|
35
|
+
accent: true,
|
|
36
|
+
gestures: [
|
|
37
|
+
null,
|
|
38
|
+
{
|
|
39
|
+
duration: 4.5,
|
|
40
|
+
frames: [
|
|
41
|
+
{
|
|
42
|
+
at: 0,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
at: 0.22,
|
|
46
|
+
angle: 30,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
at: 0.36,
|
|
50
|
+
angle: 30,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
at: 0.65,
|
|
54
|
+
angle: -28,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
at: 0.78,
|
|
58
|
+
angle: -28,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
at: 1,
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
repeatAfter: 4.8,
|
|
65
|
+
loop: true,
|
|
66
|
+
interpolation: 'continuous',
|
|
67
|
+
},
|
|
68
|
+
null,
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'hub',
|
|
73
|
+
paths: ['M 11.2 16 A 0.8 0.8 0 1 0 12.8 16 A 0.8 0.8 0 1 0 11.2 16 Z'],
|
|
74
|
+
poses: [{}, {}, {}],
|
|
75
|
+
fillOnly: 'ink',
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type AttentionHeadState } from "./attention-head-rig.js";
|
|
3
|
+
export { attentionHeadStates, type AttentionHeadState } from "./attention-head-rig.js";
|
|
4
|
+
export type AttentionHeadIconProps = StatefulIconProps<AttentionHeadState>;
|
|
5
|
+
export declare const AttentionHeadIcon: import("react").NamedExoticComponent<AttentionHeadIconProps>;
|
|
@@ -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 { attentionHeadArt, attentionHeadStates, } from "./attention-head-rig.js";
|
|
6
|
+
export { attentionHeadStates } from "./attention-head-rig.js";
|
|
7
|
+
export const AttentionHeadIcon = memo(function AttentionHeadIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: attentionHeadArt, states: attentionHeadStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const attentionHeadStates: readonly ["ready", "attending", "masked"];
|
|
2
|
+
export type AttentionHeadState = (typeof attentionHeadStates)[number];
|
|
3
|
+
export declare const attentionHeadArt: {
|
|
4
|
+
name: string;
|
|
5
|
+
parts: ({
|
|
6
|
+
name: string;
|
|
7
|
+
paths: string[];
|
|
8
|
+
fillOnly: "ink";
|
|
9
|
+
poses: ({
|
|
10
|
+
opacity: number;
|
|
11
|
+
} | {
|
|
12
|
+
opacity?: undefined;
|
|
13
|
+
})[];
|
|
14
|
+
accent?: undefined;
|
|
15
|
+
traceLength?: undefined;
|
|
16
|
+
gestures?: undefined;
|
|
17
|
+
detail?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
paths: string[];
|
|
21
|
+
poses: {
|
|
22
|
+
opacity: number;
|
|
23
|
+
}[];
|
|
24
|
+
fillOnly?: undefined;
|
|
25
|
+
accent?: undefined;
|
|
26
|
+
traceLength?: undefined;
|
|
27
|
+
gestures?: undefined;
|
|
28
|
+
detail?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
name: string;
|
|
31
|
+
paths: string[];
|
|
32
|
+
accent: true;
|
|
33
|
+
traceLength: number;
|
|
34
|
+
poses: ({
|
|
35
|
+
opacity: number;
|
|
36
|
+
} | {
|
|
37
|
+
opacity?: undefined;
|
|
38
|
+
})[];
|
|
39
|
+
gestures: ({
|
|
40
|
+
duration: number;
|
|
41
|
+
repeatAfter: number;
|
|
42
|
+
interpolation: "continuous";
|
|
43
|
+
frames: {
|
|
44
|
+
at: number;
|
|
45
|
+
draw: number;
|
|
46
|
+
}[];
|
|
47
|
+
} | null)[];
|
|
48
|
+
fillOnly?: undefined;
|
|
49
|
+
detail?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
name: string;
|
|
52
|
+
paths: string[];
|
|
53
|
+
detail: true;
|
|
54
|
+
poses: ({
|
|
55
|
+
opacity: number;
|
|
56
|
+
} | {
|
|
57
|
+
opacity?: undefined;
|
|
58
|
+
})[];
|
|
59
|
+
fillOnly?: undefined;
|
|
60
|
+
accent?: undefined;
|
|
61
|
+
traceLength?: undefined;
|
|
62
|
+
gestures?: undefined;
|
|
63
|
+
})[];
|
|
64
|
+
};
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
export const attentionHeadStates = ['ready', 'attending', 'masked'];
|
|
2
|
+
export const attentionHeadArt = {
|
|
3
|
+
name: 'attention-head-refined',
|
|
4
|
+
parts: [
|
|
5
|
+
{
|
|
6
|
+
name: 'upper-low-weights',
|
|
7
|
+
paths: ['M5.5 3.5H8.5V6.5H5.5Z', 'M16.5 3.5H19.5V6.5H16.5Z'],
|
|
8
|
+
fillOnly: 'ink',
|
|
9
|
+
poses: [
|
|
10
|
+
{
|
|
11
|
+
opacity: 0.3,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
opacity: 0.3,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
opacity: 0.3,
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'upper-strong-weight',
|
|
23
|
+
paths: ['M11 3.5H14V6.5H11Z'],
|
|
24
|
+
fillOnly: 'ink',
|
|
25
|
+
poses: [
|
|
26
|
+
{
|
|
27
|
+
opacity: 0.65,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
opacity: 0.65,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
opacity: 0.65,
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'lower-low-weights',
|
|
39
|
+
paths: ['M5.5 17.5H8.5V20.5H5.5Z', 'M11 17.5H14V20.5H11Z'],
|
|
40
|
+
fillOnly: 'ink',
|
|
41
|
+
poses: [
|
|
42
|
+
{
|
|
43
|
+
opacity: 0.35,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
opacity: 0.35,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
opacity: 0.35,
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'lower-strong-weight',
|
|
55
|
+
paths: ['M16.5 17.5H19.5V20.5H16.5Z'],
|
|
56
|
+
fillOnly: 'ink',
|
|
57
|
+
poses: [
|
|
58
|
+
{
|
|
59
|
+
opacity: 0.8,
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
opacity: 0.8,
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
opacity: 0.8,
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'query-weight-left',
|
|
71
|
+
paths: ['M5.5 10.5H8.5V13.5H5.5Z'],
|
|
72
|
+
fillOnly: 'ink',
|
|
73
|
+
poses: [
|
|
74
|
+
{
|
|
75
|
+
opacity: 0.4,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
opacity: 0.3,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
opacity: 0.55,
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'query-weight-center',
|
|
87
|
+
paths: ['M11 10.5H14V13.5H11Z'],
|
|
88
|
+
fillOnly: 'ink',
|
|
89
|
+
poses: [
|
|
90
|
+
{
|
|
91
|
+
opacity: 0.4,
|
|
92
|
+
},
|
|
93
|
+
{},
|
|
94
|
+
{
|
|
95
|
+
opacity: 1,
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'query-weight-right',
|
|
101
|
+
paths: ['M16.5 10.5H19.5V13.5H16.5Z'],
|
|
102
|
+
fillOnly: 'ink',
|
|
103
|
+
poses: [
|
|
104
|
+
{
|
|
105
|
+
opacity: 0.4,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
opacity: 0.6,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
opacity: 0,
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: 'query-row',
|
|
117
|
+
paths: [
|
|
118
|
+
'M4.5 8.5H20.5C21.1 8.5 21.5 8.9 21.5 9.5V14.5C21.5 15.1 21.1 15.5 20.5 15.5H4.5C3.9 15.5 3.5 15.1 3.5 14.5V9.5C3.5 8.9 3.9 8.5 4.5 8.5Z',
|
|
119
|
+
],
|
|
120
|
+
poses: [
|
|
121
|
+
{
|
|
122
|
+
opacity: 0,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
opacity: 0.55,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
opacity: 0.55,
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'query-read-and-return',
|
|
134
|
+
paths: [
|
|
135
|
+
'M4.5 8.5H20.5C21.1 8.5 21.5 8.9 21.5 9.5V14.5C21.5 15.1 21.1 15.5 20.5 15.5H4.5C3.9 15.5 3.5 15.1 3.5 14.5V9.5C3.5 8.9 3.9 8.5 4.5 8.5Z',
|
|
136
|
+
],
|
|
137
|
+
accent: true,
|
|
138
|
+
traceLength: 48.3,
|
|
139
|
+
poses: [
|
|
140
|
+
{
|
|
141
|
+
opacity: 0,
|
|
142
|
+
},
|
|
143
|
+
{},
|
|
144
|
+
{
|
|
145
|
+
opacity: 0,
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
gestures: [
|
|
149
|
+
null,
|
|
150
|
+
{
|
|
151
|
+
duration: 2.2,
|
|
152
|
+
repeatAfter: 2.85,
|
|
153
|
+
interpolation: 'continuous',
|
|
154
|
+
frames: [
|
|
155
|
+
{
|
|
156
|
+
at: 0,
|
|
157
|
+
draw: -1,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
at: 0.14,
|
|
161
|
+
draw: -1,
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
at: 0.48,
|
|
165
|
+
draw: 0,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
at: 0.62,
|
|
169
|
+
draw: 0,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
at: 0.9,
|
|
173
|
+
draw: -1,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
at: 1,
|
|
177
|
+
draw: -1,
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
},
|
|
181
|
+
null,
|
|
182
|
+
],
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'excluded-position',
|
|
186
|
+
paths: ['M16.7 10.7L19.3 13.3', 'M19.3 10.7L16.7 13.3'],
|
|
187
|
+
detail: true,
|
|
188
|
+
poses: [
|
|
189
|
+
{
|
|
190
|
+
opacity: 0,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
opacity: 0,
|
|
194
|
+
},
|
|
195
|
+
{},
|
|
196
|
+
],
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type BicyclePumpState } from "./bicycle-pump-rig.js";
|
|
3
|
+
export { bicyclePumpStates, type BicyclePumpState } from "./bicycle-pump-rig.js";
|
|
4
|
+
export type BicyclePumpIconProps = StatefulIconProps<BicyclePumpState>;
|
|
5
|
+
export declare const BicyclePumpIcon: import("react").NamedExoticComponent<BicyclePumpIconProps>;
|
|
@@ -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 { bicyclePumpArt, bicyclePumpStates } from "./bicycle-pump-rig.js";
|
|
6
|
+
export { bicyclePumpStates } from "./bicycle-pump-rig.js";
|
|
7
|
+
export const BicyclePumpIcon = memo(function BicyclePumpIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: bicyclePumpArt, states: bicyclePumpStates, ...props });
|
|
9
|
+
});
|