weasel-icons 0.14.2 → 0.14.3

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.
@@ -4,12 +4,14 @@ export declare const witchHatArt: {
4
4
  readonly name: "witch-hat";
5
5
  readonly parts: readonly [{
6
6
  readonly name: "crown";
7
- readonly paths: readonly ["M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z"];
7
+ readonly paths: readonly ["M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z"];
8
+ readonly pathStates: readonly [readonly ["M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z"], readonly ["M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z"], readonly ["M7.1 17L9.2 9C9.85 5.9 12.2 2.8 17 4.3C16.3 6 13.5 5.9 12.9 7.4L17.5 17Q12 18.7 7.1 17Z"]];
8
9
  readonly poses: readonly [{}, {
9
10
  readonly angle: -8;
10
11
  }, {}];
11
- readonly surface: true;
12
12
  readonly pivot: readonly [12, 19];
13
+ readonly surface: true;
14
+ readonly pathOffsets: readonly [readonly [0, 0, 0, 0, 0, -0.3, 0.6, -0.2, 1.1, -0.25, 0.8, 0, 0.4, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
13
15
  readonly gestures: readonly [null, {
14
16
  readonly duration: 0.8;
15
17
  readonly repeatAfter: 2;
@@ -36,28 +38,23 @@ export declare const witchHatArt: {
36
38
  readonly at: 0;
37
39
  }, {
38
40
  readonly at: 0.22;
39
- readonly flex: -0.75;
41
+ readonly flex: -0.4;
40
42
  }, {
41
43
  readonly at: 0.42;
42
- readonly flex: 1;
44
+ readonly flex: 0.65;
43
45
  }, {
44
46
  readonly at: 0.65;
45
- readonly flex: -0.15;
47
+ readonly flex: -0.1;
46
48
  }, {
47
49
  readonly at: 1;
48
50
  }];
49
51
  }];
50
- readonly pathOffsets: readonly [readonly [0, 0, 0, 0, 0, -0.4, 1.5, 0, 0.4, 0, 0, 0, 0, 0, 0, 0]];
51
- readonly pathStates: readonly [readonly ["M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z"], readonly ["M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z"], readonly ["M7.1 17L10 7Q12 2.8 17 4.5L13.5 8L17.5 17Q12 18.7 7.1 17Z"]];
52
52
  }, {
53
53
  readonly name: "band";
54
- readonly paths: readonly ["M8 13.6Q12 15 16.2 13.7"];
54
+ readonly paths: readonly ["M7.94 13.8Q12 15.05 15.966667 13.8"];
55
55
  readonly poses: readonly [{}, {
56
56
  readonly angle: -8;
57
- }, {
58
- readonly flex: 0.4;
59
- }];
60
- readonly detail: true;
57
+ }, {}];
61
58
  readonly pivot: readonly [12, 19];
62
59
  readonly gestures: readonly [null, {
63
60
  readonly duration: 0.8;
@@ -77,14 +74,13 @@ export declare const witchHatArt: {
77
74
  readonly at: 1;
78
75
  }];
79
76
  }, null];
77
+ readonly detail: true;
80
78
  }, {
81
79
  readonly name: "brim";
82
80
  readonly paths: readonly ["M3 18Q4.5 16.8 7.1 17Q12 18.7 17.5 17Q20 16.8 21 18C20.7 21.3 3.3 21.3 3 18Z"];
83
81
  readonly poses: readonly [{}, {
84
82
  readonly angle: -8;
85
- }, {
86
- readonly flex: 0.4;
87
- }];
83
+ }, {}];
88
84
  readonly surface: true;
89
85
  readonly pivot: readonly [12, 19];
90
86
  readonly gestures: readonly [null, {
@@ -107,14 +103,37 @@ export declare const witchHatArt: {
107
103
  }, null];
108
104
  }, {
109
105
  readonly name: "buckle";
110
- readonly paths: readonly ["M10.5 15.2H13.5V17.4H10.5Z"];
106
+ readonly paths: readonly ["M10.45 14.65H13.55Q14 14.65 14 15.1V17Q14 17.45 13.55 17.45H10.45Q10 17.45 10 17V15.1Q10 14.65 10.45 14.65Z"];
111
107
  readonly poses: readonly [{}, {
112
108
  readonly angle: -8;
113
- }, {
114
- readonly flex: 0.4;
115
- }];
116
- readonly detail: true;
109
+ }, {}];
110
+ readonly pivot: readonly [12, 19];
111
+ readonly gestures: readonly [null, {
112
+ readonly duration: 0.8;
113
+ readonly repeatAfter: 2;
114
+ readonly loop: false;
115
+ readonly interpolation: "continuous";
116
+ readonly frames: readonly [{
117
+ readonly at: 0;
118
+ }, {
119
+ readonly at: 0.38;
120
+ readonly angle: -11;
121
+ readonly y: -0.5;
122
+ }, {
123
+ readonly at: 0.7;
124
+ readonly angle: 2;
125
+ }, {
126
+ readonly at: 1;
127
+ }];
128
+ }, null];
129
+ readonly fillOnly: "ink";
117
130
  readonly accent: true;
131
+ }, {
132
+ readonly name: "buckle-window";
133
+ readonly paths: readonly ["M10.85 15.5H13.15V16.6H10.85Z"];
134
+ readonly poses: readonly [{}, {
135
+ readonly angle: -8;
136
+ }, {}];
118
137
  readonly pivot: readonly [12, 19];
119
138
  readonly gestures: readonly [null, {
120
139
  readonly duration: 0.8;
@@ -134,9 +153,10 @@ export declare const witchHatArt: {
134
153
  readonly at: 1;
135
154
  }];
136
155
  }, null];
156
+ readonly fillOnly: "surface";
137
157
  }, {
138
158
  readonly name: "cast-spell";
139
- readonly paths: readonly ["M20.5 5.2L21.2 7.1L23.1 7.8L21.2 8.5L20.5 10.4L19.8 8.5L17.9 7.8L19.8 7.1Z"];
159
+ readonly paths: readonly ["M20.3 3.5L20.75 4.75L22 5.2L20.75 5.65L20.3 6.9L19.85 5.65L18.6 5.2L19.85 4.75Z"];
140
160
  readonly poses: readonly [{
141
161
  readonly opacity: 0;
142
162
  }, {
@@ -144,9 +164,9 @@ export declare const witchHatArt: {
144
164
  }, {
145
165
  readonly opacity: 0;
146
166
  }];
147
- readonly detail: true;
167
+ readonly fillOnly: "ink";
148
168
  readonly accent: true;
149
- readonly pivot: readonly [20.5, 7.8];
169
+ readonly pivot: readonly [20.3, 5.2];
150
170
  readonly gestures: readonly [null, null, {
151
171
  readonly duration: 1.3;
152
172
  readonly repeatAfter: 1.3;
@@ -154,37 +174,39 @@ export declare const witchHatArt: {
154
174
  readonly interpolation: "continuous";
155
175
  readonly frames: readonly [{
156
176
  readonly at: 0;
157
- readonly x: -3.5;
158
- readonly y: -3.3;
159
- readonly scaleX: -0.85;
160
- readonly scaleY: -0.85;
161
- }, {
162
- readonly at: 0.32;
163
- readonly x: -3.5;
164
- readonly y: -3.3;
165
- readonly scaleX: -0.85;
166
- readonly scaleY: -0.85;
167
- }, {
168
- readonly at: 0.48;
169
- readonly x: -1.9;
170
- readonly y: -1.9;
171
- readonly scaleX: -0.5;
172
- readonly scaleY: -0.5;
177
+ readonly x: -2.7;
178
+ readonly y: -0.9;
179
+ readonly scaleX: -0.82;
180
+ readonly scaleY: -0.82;
181
+ }, {
182
+ readonly at: 0.4;
183
+ readonly x: -2.7;
184
+ readonly y: -0.9;
185
+ readonly scaleX: -0.82;
186
+ readonly scaleY: -0.82;
187
+ }, {
188
+ readonly at: 0.46;
189
+ readonly x: -2.5;
190
+ readonly y: -0.8;
191
+ readonly scaleX: -0.7;
192
+ readonly scaleY: -0.7;
173
193
  readonly opacity: 1;
174
194
  }, {
175
- readonly at: 0.7;
176
- readonly scaleX: 0.1;
177
- readonly scaleY: 0.1;
195
+ readonly at: 0.65;
196
+ readonly x: -0.8;
197
+ readonly y: -0.25;
198
+ readonly scaleX: -0.15;
199
+ readonly scaleY: -0.15;
178
200
  readonly opacity: 1;
179
201
  }, {
180
- readonly at: 0.88;
181
- readonly scaleX: 0.15;
182
- readonly scaleY: 0.15;
183
- readonly opacity: 0.2;
202
+ readonly at: 0.84;
203
+ readonly scaleX: 0.1;
204
+ readonly scaleY: 0.1;
205
+ readonly opacity: 0.3;
184
206
  }, {
185
207
  readonly at: 1;
186
- readonly scaleX: 0.15;
187
- readonly scaleY: 0.15;
208
+ readonly scaleX: 0.1;
209
+ readonly scaleY: 0.1;
188
210
  }];
189
211
  }];
190
212
  }];
@@ -3,13 +3,26 @@
3
3
  // resting: Crooked hat sits level on its brim
4
4
  // tipping: Hat tips once and holds at a jaunty angle
5
5
  // casting: The crooked point curls and flicks one spell outward, then rests
6
+ // The lower crown, band, brim and buckle stay attached; only the free point flexes for casting.
7
+ // Buckle uses an accent frame and an unoutlined neutral aperture. Casting releases one filled spark then rests.
6
8
  export const witchHatStates = ['resting', 'tipping', 'casting'];
7
9
  export const witchHatArt = {
8
10
  name: 'witch-hat',
9
11
  parts: [
10
12
  {
11
13
  name: 'crown',
12
- paths: ['M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z'],
14
+ paths: [
15
+ 'M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z',
16
+ ],
17
+ pathStates: [
18
+ [
19
+ 'M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z',
20
+ ],
21
+ [
22
+ 'M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z',
23
+ ],
24
+ ['M7.1 17L9.2 9C9.85 5.9 12.2 2.8 17 4.3C16.3 6 13.5 5.9 12.9 7.4L17.5 17Q12 18.7 7.1 17Z'],
25
+ ],
13
26
  poses: [
14
27
  {},
15
28
  {
@@ -17,8 +30,11 @@ export const witchHatArt = {
17
30
  },
18
31
  {},
19
32
  ],
20
- surface: true,
21
33
  pivot: [12, 19],
34
+ surface: true,
35
+ pathOffsets: [
36
+ [0, 0, 0, 0, 0, -0.3, 0.6, -0.2, 1.1, -0.25, 0.8, 0, 0.4, 0, 0, 0, 0, 0, 0, 0, 0, 0],
37
+ ],
22
38
  gestures: [
23
39
  null,
24
40
  {
@@ -55,15 +71,15 @@ export const witchHatArt = {
55
71
  },
56
72
  {
57
73
  at: 0.22,
58
- flex: -0.75,
74
+ flex: -0.4,
59
75
  },
60
76
  {
61
77
  at: 0.42,
62
- flex: 1,
78
+ flex: 0.65,
63
79
  },
64
80
  {
65
81
  at: 0.65,
66
- flex: -0.15,
82
+ flex: -0.1,
67
83
  },
68
84
  {
69
85
  at: 1,
@@ -71,26 +87,17 @@ export const witchHatArt = {
71
87
  ],
72
88
  },
73
89
  ],
74
- pathOffsets: [[0, 0, 0, 0, 0, -0.4, 1.5, 0, 0.4, 0, 0, 0, 0, 0, 0, 0]],
75
- pathStates: [
76
- ['M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z'],
77
- ['M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z'],
78
- ['M7.1 17L10 7Q12 2.8 17 4.5L13.5 8L17.5 17Q12 18.7 7.1 17Z'],
79
- ],
80
90
  },
81
91
  {
82
92
  name: 'band',
83
- paths: ['M8 13.6Q12 15 16.2 13.7'],
93
+ paths: ['M7.94 13.8Q12 15.05 15.966667 13.8'],
84
94
  poses: [
85
95
  {},
86
96
  {
87
97
  angle: -8,
88
98
  },
89
- {
90
- flex: 0.4,
91
- },
99
+ {},
92
100
  ],
93
- detail: true,
94
101
  pivot: [12, 19],
95
102
  gestures: [
96
103
  null,
@@ -119,6 +126,7 @@ export const witchHatArt = {
119
126
  },
120
127
  null,
121
128
  ],
129
+ detail: true,
122
130
  },
123
131
  {
124
132
  name: 'brim',
@@ -128,9 +136,7 @@ export const witchHatArt = {
128
136
  {
129
137
  angle: -8,
130
138
  },
131
- {
132
- flex: 0.4,
133
- },
139
+ {},
134
140
  ],
135
141
  surface: true,
136
142
  pivot: [12, 19],
@@ -164,18 +170,57 @@ export const witchHatArt = {
164
170
  },
165
171
  {
166
172
  name: 'buckle',
167
- paths: ['M10.5 15.2H13.5V17.4H10.5Z'],
173
+ paths: [
174
+ 'M10.45 14.65H13.55Q14 14.65 14 15.1V17Q14 17.45 13.55 17.45H10.45Q10 17.45 10 17V15.1Q10 14.65 10.45 14.65Z',
175
+ ],
168
176
  poses: [
169
177
  {},
170
178
  {
171
179
  angle: -8,
172
180
  },
181
+ {},
182
+ ],
183
+ pivot: [12, 19],
184
+ gestures: [
185
+ null,
173
186
  {
174
- flex: 0.4,
187
+ duration: 0.8,
188
+ repeatAfter: 2,
189
+ loop: false,
190
+ interpolation: 'continuous',
191
+ frames: [
192
+ {
193
+ at: 0,
194
+ },
195
+ {
196
+ at: 0.38,
197
+ angle: -11,
198
+ y: -0.5,
199
+ },
200
+ {
201
+ at: 0.7,
202
+ angle: 2,
203
+ },
204
+ {
205
+ at: 1,
206
+ },
207
+ ],
175
208
  },
209
+ null,
176
210
  ],
177
- detail: true,
211
+ fillOnly: 'ink',
178
212
  accent: true,
213
+ },
214
+ {
215
+ name: 'buckle-window',
216
+ paths: ['M10.85 15.5H13.15V16.6H10.85Z'],
217
+ poses: [
218
+ {},
219
+ {
220
+ angle: -8,
221
+ },
222
+ {},
223
+ ],
179
224
  pivot: [12, 19],
180
225
  gestures: [
181
226
  null,
@@ -204,10 +249,11 @@ export const witchHatArt = {
204
249
  },
205
250
  null,
206
251
  ],
252
+ fillOnly: 'surface',
207
253
  },
208
254
  {
209
255
  name: 'cast-spell',
210
- paths: ['M20.5 5.2L21.2 7.1L23.1 7.8L21.2 8.5L20.5 10.4L19.8 8.5L17.9 7.8L19.8 7.1Z'],
256
+ paths: ['M20.3 3.5L20.75 4.75L22 5.2L20.75 5.65L20.3 6.9L19.85 5.65L18.6 5.2L19.85 4.75Z'],
211
257
  poses: [
212
258
  {
213
259
  opacity: 0,
@@ -219,9 +265,9 @@ export const witchHatArt = {
219
265
  opacity: 0,
220
266
  },
221
267
  ],
222
- detail: true,
268
+ fillOnly: 'ink',
223
269
  accent: true,
224
- pivot: [20.5, 7.8],
270
+ pivot: [20.3, 5.2],
225
271
  gestures: [
226
272
  null,
227
273
  null,
@@ -233,42 +279,44 @@ export const witchHatArt = {
233
279
  frames: [
234
280
  {
235
281
  at: 0,
236
- x: -3.5,
237
- y: -3.3,
238
- scaleX: -0.85,
239
- scaleY: -0.85,
282
+ x: -2.7,
283
+ y: -0.9,
284
+ scaleX: -0.82,
285
+ scaleY: -0.82,
240
286
  },
241
287
  {
242
- at: 0.32,
243
- x: -3.5,
244
- y: -3.3,
245
- scaleX: -0.85,
246
- scaleY: -0.85,
288
+ at: 0.4,
289
+ x: -2.7,
290
+ y: -0.9,
291
+ scaleX: -0.82,
292
+ scaleY: -0.82,
247
293
  },
248
294
  {
249
- at: 0.48,
250
- x: -1.9,
251
- y: -1.9,
252
- scaleX: -0.5,
253
- scaleY: -0.5,
295
+ at: 0.46,
296
+ x: -2.5,
297
+ y: -0.8,
298
+ scaleX: -0.7,
299
+ scaleY: -0.7,
254
300
  opacity: 1,
255
301
  },
256
302
  {
257
- at: 0.7,
258
- scaleX: 0.1,
259
- scaleY: 0.1,
303
+ at: 0.65,
304
+ x: -0.8,
305
+ y: -0.25,
306
+ scaleX: -0.15,
307
+ scaleY: -0.15,
260
308
  opacity: 1,
261
309
  },
262
310
  {
263
- at: 0.88,
264
- scaleX: 0.15,
265
- scaleY: 0.15,
266
- opacity: 0.2,
311
+ at: 0.84,
312
+ scaleX: 0.1,
313
+ scaleY: 0.1,
314
+ opacity: 0.3,
267
315
  },
268
316
  {
269
317
  at: 1,
270
- scaleX: 0.15,
271
- scaleY: 0.15,
318
+ scaleX: 0.1,
319
+ scaleY: 0.1,
272
320
  },
273
321
  ],
274
322
  },