@nookly/pebble-icons 0.1.0 → 0.2.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/icons/symbols.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /// Everyday symbols: weather, food, places and other things you can point at.
2
2
  import { createPebbleIcon } from "../icon.js";
3
- import { circle, line, path, rect } from "../parts.js";
3
+ import { circle, line, moving, path, rect } from "../parts.js";
4
4
  export const AtIcon = /* @__PURE__ */ createPebbleIcon({
5
5
  name: "at",
6
6
  front: [
@@ -30,18 +30,32 @@ export const BikeIcon = /* @__PURE__ */ createPebbleIcon({
30
30
  export const BinaryTreeIcon = /* @__PURE__ */ createPebbleIcon({
31
31
  name: "binary-tree",
32
32
  front: [
33
- line("M12 4.6L6.8 12.4M12 4.6l5.4 7.8M6.8 12.4l-3 7.4M6.8 12.4l3.4 7.4", 2.2),
34
- circle(12, 4.6, 3.2),
35
- circle(6.8, 12.4, 2.8),
36
- circle(17.4, 12.4, 2.8),
37
- circle(3.8, 19.8, 2.6),
38
- circle(10.2, 19.8, 2.6),
33
+ ...moving("branches", [
34
+ line("M12 4.6L6.8 12.4M12 4.6l5.4 7.8M6.8 12.4l-3 7.4M6.8 12.4l3.4 7.4", 2.2),
35
+ ]),
36
+ ...moving("node-1", [
37
+ circle(12, 4.6, 3.2),
38
+ ]),
39
+ ...moving("node-2", [
40
+ circle(6.8, 12.4, 2.8),
41
+ ]),
42
+ ...moving("node-3", [
43
+ circle(17.4, 12.4, 2.8),
44
+ ]),
45
+ ...moving("node-4", [
46
+ circle(3.8, 19.8, 2.6),
47
+ ]),
48
+ ...moving("node-5", [
49
+ circle(10.2, 19.8, 2.6),
50
+ ]),
39
51
  ],
40
52
  });
41
53
  export const CheckIcon = /* @__PURE__ */ createPebbleIcon({
42
54
  name: "check",
43
55
  front: [
44
- line("M4.4 12.6l5 5L19.8 7", 4.2),
56
+ ...moving("tick", [
57
+ line("M4.4 12.6l5 5L19.8 7", 4.2),
58
+ ]),
45
59
  ],
46
60
  });
47
61
  export const CircleDashedIcon = /* @__PURE__ */ createPebbleIcon({
@@ -53,24 +67,34 @@ export const CircleDashedIcon = /* @__PURE__ */ createPebbleIcon({
53
67
  export const CircleDotIcon = /* @__PURE__ */ createPebbleIcon({
54
68
  name: "circle-dot",
55
69
  front: [
56
- line("M12 3.5999999999999996a8.4 8.4 0 1 1-.01 0Z", 3.2),
57
- circle(12, 12, 3.8),
70
+ ...moving("ring", [
71
+ line("M12 3.5999999999999996a8.4 8.4 0 1 1-.01 0Z", 3.2),
72
+ ]),
73
+ ...moving("core", [
74
+ circle(12, 12, 3.8),
75
+ ]),
58
76
  ],
59
77
  });
60
78
  export const CircleOffIcon = /* @__PURE__ */ createPebbleIcon({
61
79
  name: "circle-off",
62
80
  front: [
63
81
  line("M12 3.5999999999999996a8.4 8.4 0 1 1-.01 0Z", 3.4),
64
- line("M3.4 3.4l17.2 17.2", 2.8),
82
+ ...moving("strike", [
83
+ line("M3.4 3.4l17.2 17.2", 2.8),
84
+ ]),
65
85
  ],
66
86
  hole: [
67
- line("M6.2 2.2l17.4 17.4M.4 4.8l17.4 17.4", 1.5),
87
+ ...moving("strike", [
88
+ line("M6.2 2.2l17.4 17.4M.4 4.8l17.4 17.4", 1.5),
89
+ ]),
68
90
  ],
69
91
  });
70
92
  export const CloseIcon = /* @__PURE__ */ createPebbleIcon({
71
93
  name: "close",
72
94
  front: [
73
- line("M6 6l12 12M18 6L6 18", 4.2),
95
+ ...moving("cross", [
96
+ line("M6 6l12 12M18 6L6 18", 4.2),
97
+ ]),
74
98
  ],
75
99
  });
76
100
  export const CommandIcon = /* @__PURE__ */ createPebbleIcon({
@@ -88,17 +112,29 @@ export const DotIcon = /* @__PURE__ */ createPebbleIcon({
88
112
  export const DotsIcon = /* @__PURE__ */ createPebbleIcon({
89
113
  name: "dots",
90
114
  front: [
91
- circle(4.4, 12, 2.6),
92
- circle(12, 12, 2.6),
93
- circle(19.6, 12, 2.6),
115
+ ...moving("dot-1", [
116
+ circle(4.4, 12, 2.6),
117
+ ]),
118
+ ...moving("dot-2", [
119
+ circle(12, 12, 2.6),
120
+ ]),
121
+ ...moving("dot-3", [
122
+ circle(19.6, 12, 2.6),
123
+ ]),
94
124
  ],
95
125
  });
96
126
  export const DotsVerticalIcon = /* @__PURE__ */ createPebbleIcon({
97
127
  name: "dots-vertical",
98
128
  front: [
99
- circle(12, 4.4, 2.6),
100
- circle(12, 12, 2.6),
101
- circle(12, 19.6, 2.6),
129
+ ...moving("dot-1", [
130
+ circle(12, 4.4, 2.6),
131
+ ]),
132
+ ...moving("dot-2", [
133
+ circle(12, 12, 2.6),
134
+ ]),
135
+ ...moving("dot-3", [
136
+ circle(12, 19.6, 2.6),
137
+ ]),
102
138
  ],
103
139
  });
104
140
  export const FingerprintIcon = /* @__PURE__ */ createPebbleIcon({
@@ -116,8 +152,12 @@ export const GitCompareIcon = /* @__PURE__ */ createPebbleIcon({
116
152
  line("M5.6 9v5.2a3.6 3.6 0 0 0 3.6 3.6h2.6M9.6 15.2l2.6 2.6-2.6 2.6M18.4 15V9.8a3.6 3.6 0 0 0-3.6-3.6h-2.6M14.4 8.8l-2.6-2.6 2.6-2.6", 2.8),
117
153
  ],
118
154
  front: [
119
- circle(5.6, 5.4, 3.6),
120
- circle(18.4, 18.6, 3.6),
155
+ ...moving("from", [
156
+ circle(5.6, 5.4, 3.6),
157
+ ]),
158
+ ...moving("to", [
159
+ circle(18.4, 18.6, 3.6),
160
+ ]),
121
161
  ],
122
162
  });
123
163
  export const GripHorizontalIcon = /* @__PURE__ */ createPebbleIcon({
@@ -136,14 +176,18 @@ export const GripHorizontalIcon = /* @__PURE__ */ createPebbleIcon({
136
176
  export const GripVerticalIcon = /* @__PURE__ */ createPebbleIcon({
137
177
  name: "grip-vertical",
138
178
  back: [
139
- circle(16, 4.6, 2.4),
140
- circle(16, 12, 2.4),
141
- circle(16, 19.4, 2.4),
179
+ ...moving("right", [
180
+ circle(16, 4.6, 2.4),
181
+ circle(16, 12, 2.4),
182
+ circle(16, 19.4, 2.4),
183
+ ]),
142
184
  ],
143
185
  front: [
144
- circle(8, 4.6, 2.4),
145
- circle(8, 12, 2.4),
146
- circle(8, 19.4, 2.4),
186
+ ...moving("left", [
187
+ circle(8, 4.6, 2.4),
188
+ circle(8, 12, 2.4),
189
+ circle(8, 19.4, 2.4),
190
+ ]),
147
191
  ],
148
192
  });
149
193
  export const HierarchyIcon = /* @__PURE__ */ createPebbleIcon({
@@ -152,9 +196,15 @@ export const HierarchyIcon = /* @__PURE__ */ createPebbleIcon({
152
196
  line("M12 6v6M5.8 17V12h12.4v5", 3),
153
197
  ],
154
198
  front: [
155
- rect(7.8, 1.6, 8.4, 7.2, 2.6),
156
- circle(5.8, 18.4, 3.8),
157
- circle(18.2, 18.4, 3.8),
199
+ ...moving("node-1", [
200
+ rect(7.8, 1.6, 8.4, 7.2, 2.6),
201
+ ]),
202
+ ...moving("node-2", [
203
+ circle(5.8, 18.4, 3.8),
204
+ ]),
205
+ ...moving("node-3", [
206
+ circle(18.2, 18.4, 3.8),
207
+ ]),
158
208
  ],
159
209
  });
160
210
  export const LinkIcon = /* @__PURE__ */ createPebbleIcon({
@@ -179,9 +229,15 @@ export const LinkPlusIcon = /* @__PURE__ */ createPebbleIcon({
179
229
  export const MenuIcon = /* @__PURE__ */ createPebbleIcon({
180
230
  name: "menu",
181
231
  front: [
182
- line("M4 5.8h16", 3.4),
183
- line("M4 12h16", 3.4),
184
- line("M4 18.2h16", 3.4),
232
+ ...moving("line-1", [
233
+ line("M4 5.8h16", 3.4),
234
+ ]),
235
+ ...moving("line-2", [
236
+ line("M4 12h16", 3.4),
237
+ ]),
238
+ ...moving("line-3", [
239
+ line("M4 18.2h16", 3.4),
240
+ ]),
185
241
  ],
186
242
  });
187
243
  export const MinusIcon = /* @__PURE__ */ createPebbleIcon({
@@ -202,11 +258,15 @@ export const PaperclipIcon = /* @__PURE__ */ createPebbleIcon({
202
258
  export const PinOutlineIcon = /* @__PURE__ */ createPebbleIcon({
203
259
  name: "pin-outline",
204
260
  back: [
205
- rect(10.3, 14, 3.4, 9.6, 1.7, "rotate(45 12 12)"),
261
+ ...moving("needle", [
262
+ rect(10.3, 14, 3.4, 9.6, 1.7, "rotate(45 12 12)"),
263
+ ]),
206
264
  ],
207
265
  front: [
208
- rect(6.2, 1, 11.6, 5.8, 2.9, "rotate(45 12 12)"),
209
- path("M12 17.6C9.52 17.6 4.14 18.53 4.18 14.89C4.2 13.21 6.74 12.52 7.47 11.41C8.28 10.19 7.92 8.56 8.41 7.24C9.14 5.25 11.37 5.46 13.1 5.5C16.58 5.58 15.3 9.25 16.43 11.25C17.12 12.47 19.8 13.15 19.82 14.89C19.86 18.53 14.48 17.6 12 17.6Z", "rotate(45 12 12)"),
266
+ ...moving("head", [
267
+ rect(6.2, 1, 11.6, 5.8, 2.9, "rotate(45 12 12)"),
268
+ path("M12 17.6C9.52 17.6 4.14 18.53 4.18 14.89C4.2 13.21 6.74 12.52 7.47 11.41C8.28 10.19 7.92 8.56 8.41 7.24C9.14 5.25 11.37 5.46 13.1 5.5C16.58 5.58 15.3 9.25 16.43 11.25C17.12 12.47 19.8 13.15 19.82 14.89C19.86 18.53 14.48 17.6 12 17.6Z", "rotate(45 12 12)"),
269
+ ]),
210
270
  ],
211
271
  hole: [
212
272
  path("M10.8 6h2.4l.7 6.4q2.2 1 2.9 2.6H7.2q.7-1.6 2.9-2.6Z", "rotate(45 12 12)"),
@@ -215,7 +275,9 @@ export const PinOutlineIcon = /* @__PURE__ */ createPebbleIcon({
215
275
  export const PlusIcon = /* @__PURE__ */ createPebbleIcon({
216
276
  name: "plus",
217
277
  front: [
218
- line("M12 4.4v15.2M4.4 12h15.2", 4.2),
278
+ ...moving("cross", [
279
+ line("M12 4.4v15.2M4.4 12h15.2", 4.2),
280
+ ]),
219
281
  ],
220
282
  });
221
283
  export const ProgressIcon = /* @__PURE__ */ createPebbleIcon({
@@ -230,8 +292,12 @@ export const ProgressIcon = /* @__PURE__ */ createPebbleIcon({
230
292
  export const QuoteIcon = /* @__PURE__ */ createPebbleIcon({
231
293
  name: "quote",
232
294
  front: [
233
- path("M10.49 14.35C9.82 16.62 8.01 18.05 5.76 18.63C5.1 18.8 4.21 19.02 3.62 18.53C3.42 18.36 3.01 17.67 3.2 17.4C3.32 17.23 3.88 17.08 4.07 16.97C4.87 16.53 6.73 15.35 6.41 14.22C6.11 13.18 4.28 13.8 3.57 13.16C2.67 12.36 3 10.55 3 9.44C3 8.57 2.82 7.46 3.07 6.62C3.22 6.14 3.58 5.74 4.04 5.54C4.78 5.22 5.88 5.4 6.68 5.4C7.84 5.4 9.72 5.05 10.48 6.12C11.06 6.92 10.8 8.4 10.8 9.36C10.8 11.01 10.96 12.74 10.49 14.35Z"),
234
- path("M20.69 14.35C20.02 16.62 18.21 18.05 15.96 18.63C15.3 18.8 14.41 19.02 13.82 18.53C13.62 18.36 13.21 17.67 13.4 17.4C13.52 17.23 14.08 17.08 14.27 16.97C15.07 16.53 16.93 15.35 16.61 14.22C16.31 13.19 14.48 13.8 13.77 13.16C12.87 12.36 13.2 10.55 13.2 9.44C13.2 8.57 13.02 7.46 13.27 6.62C13.42 6.14 13.78 5.74 14.24 5.54C14.98 5.22 16.08 5.4 16.88 5.4C18.04 5.4 19.92 5.05 20.68 6.12C21.26 6.92 21 8.4 21 9.36C21 11.01 21.16 12.74 20.69 14.35Z"),
295
+ ...moving("quote-1", [
296
+ path("M10.49 14.35C9.82 16.62 8.01 18.05 5.76 18.63C5.1 18.8 4.21 19.02 3.62 18.53C3.42 18.36 3.01 17.67 3.2 17.4C3.32 17.23 3.88 17.08 4.07 16.97C4.87 16.53 6.73 15.35 6.41 14.22C6.11 13.18 4.28 13.8 3.57 13.16C2.67 12.36 3 10.55 3 9.44C3 8.57 2.82 7.46 3.07 6.62C3.22 6.14 3.58 5.74 4.04 5.54C4.78 5.22 5.88 5.4 6.68 5.4C7.84 5.4 9.72 5.05 10.48 6.12C11.06 6.92 10.8 8.4 10.8 9.36C10.8 11.01 10.96 12.74 10.49 14.35Z"),
297
+ ]),
298
+ ...moving("quote-2", [
299
+ path("M20.69 14.35C20.02 16.62 18.21 18.05 15.96 18.63C15.3 18.8 14.41 19.02 13.82 18.53C13.62 18.36 13.21 17.67 13.4 17.4C13.52 17.23 14.08 17.08 14.27 16.97C15.07 16.53 16.93 15.35 16.61 14.22C16.31 13.19 14.48 13.8 13.77 13.16C12.87 12.36 13.2 10.55 13.2 9.44C13.2 8.57 13.02 7.46 13.27 6.62C13.42 6.14 13.78 5.74 14.24 5.54C14.98 5.22 16.08 5.4 16.88 5.4C18.04 5.4 19.92 5.05 20.68 6.12C21.26 6.92 21 8.4 21 9.36C21 11.01 21.16 12.74 20.69 14.35Z"),
300
+ ]),
235
301
  ],
236
302
  });
237
303
  export const RouteIcon = /* @__PURE__ */ createPebbleIcon({
@@ -240,8 +306,12 @@ export const RouteIcon = /* @__PURE__ */ createPebbleIcon({
240
306
  line("M8 18.4h8a3.2 3.2 0 0 0 0-6.4H8a3.2 3.2 0 0 1 0-6.4h8", 3.2),
241
307
  ],
242
308
  front: [
243
- circle(5.2, 18.4, 3.6),
244
- circle(18.8, 5.6, 3.6),
309
+ ...moving("start", [
310
+ circle(5.2, 18.4, 3.6),
311
+ ]),
312
+ ...moving("end", [
313
+ circle(18.8, 5.6, 3.6),
314
+ ]),
245
315
  ],
246
316
  });
247
317
  export const ScaleIcon = /* @__PURE__ */ createPebbleIcon({
@@ -250,10 +320,14 @@ export const ScaleIcon = /* @__PURE__ */ createPebbleIcon({
250
320
  line("M1.8 13.4l3-7.2 3.8 7.2M15.4 13.4l3.8-7.2 3 7.2", 1.8),
251
321
  ],
252
322
  front: [
253
- line("M12 3.6v16M7.6 20.4h8.8", 2.8),
254
- line("M4.8 6.2h14.4", 2.8),
255
- path("M5.2 17.8C4.17 17.8 3.11 17.55 2.32 16.86C1.63 16.25 -0.01 13.52 1.87 13.4C3.34 13.31 4.85 13.4 6.32 13.4C7.04 13.4 8.43 13.14 9.03 13.58C9.53 13.95 9.42 14.52 9.25 15.02C8.62 16.85 7.1 17.79 5.2 17.8Z"),
256
- path("M18.8 17.8C17.77 17.8 16.71 17.55 15.92 16.86C15.23 16.25 13.59 13.52 15.47 13.4C16.95 13.31 18.46 13.4 19.93 13.4C20.65 13.4 22.03 13.14 22.63 13.58C23.13 13.95 23.02 14.52 22.85 15.02C22.22 16.85 20.7 17.79 18.8 17.8Z"),
323
+ ...moving("stand", [
324
+ line("M12 3.6v16M7.6 20.4h8.8", 2.8),
325
+ ]),
326
+ ...moving("beam", [
327
+ line("M4.8 6.2h14.4", 2.8),
328
+ path("M5.2 17.8C4.17 17.8 3.11 17.55 2.32 16.86C1.63 16.25 -0.01 13.52 1.87 13.4C3.34 13.31 4.85 13.4 6.32 13.4C7.04 13.4 8.43 13.14 9.03 13.58C9.53 13.95 9.42 14.52 9.25 15.02C8.62 16.85 7.1 17.79 5.2 17.8Z"),
329
+ path("M18.8 17.8C17.77 17.8 16.71 17.55 15.92 16.86C15.23 16.25 13.59 13.52 15.47 13.4C16.95 13.31 18.46 13.4 19.93 13.4C20.65 13.4 22.03 13.14 22.63 13.58C23.13 13.95 23.02 14.52 22.85 15.02C22.22 16.85 20.7 17.79 18.8 17.8Z"),
330
+ ]),
257
331
  ],
258
332
  });
259
333
  export const SchemaIcon = /* @__PURE__ */ createPebbleIcon({
@@ -262,9 +336,15 @@ export const SchemaIcon = /* @__PURE__ */ createPebbleIcon({
262
336
  line("M6.7 6v12M6.7 5.7h8.5a2.8 2.8 0 0 1 2.8 2.8V18M8 18.3h8", 2.6),
263
337
  ],
264
338
  front: [
265
- rect(2.4, 2, 8.6, 7.4, 2.4),
266
- rect(2.4, 14.6, 8.6, 7.4, 2.4),
267
- rect(13.6, 14.6, 8.6, 7.4, 2.4),
339
+ ...moving("node-1", [
340
+ rect(2.4, 2, 8.6, 7.4, 2.4),
341
+ ]),
342
+ ...moving("node-2", [
343
+ rect(2.4, 14.6, 8.6, 7.4, 2.4),
344
+ ]),
345
+ ...moving("node-3", [
346
+ rect(13.6, 14.6, 8.6, 7.4, 2.4),
347
+ ]),
268
348
  ],
269
349
  });
270
350
  export const ScissorsIcon = /* @__PURE__ */ createPebbleIcon({
@@ -282,19 +362,31 @@ export const ShareIcon = /* @__PURE__ */ createPebbleIcon({
282
362
  line("M5.2 12l13.4-7.4M5.2 12l13.4 7.4", 4.2),
283
363
  ],
284
364
  front: [
285
- circle(5.2, 12, 3.4),
286
- circle(18.6, 4.6, 3.4),
287
- circle(18.6, 19.4, 3.4),
365
+ ...moving("node-1", [
366
+ circle(5.2, 12, 3.4),
367
+ ]),
368
+ ...moving("node-2", [
369
+ circle(18.6, 4.6, 3.4),
370
+ ]),
371
+ ...moving("node-3", [
372
+ circle(18.6, 19.4, 3.4),
373
+ ]),
288
374
  ],
289
375
  });
290
376
  export const SlidersIcon = /* @__PURE__ */ createPebbleIcon({
291
377
  name: "sliders",
292
378
  back: [
293
- line("M3.4 6.8h17.2M3.4 17.2h17.2", 3.4),
379
+ ...moving("rails", [
380
+ line("M3.4 6.8h17.2M3.4 17.2h17.2", 3.4),
381
+ ]),
294
382
  ],
295
383
  front: [
296
- circle(15.2, 6.8, 4),
297
- circle(8.8, 17.2, 4),
384
+ ...moving("knob-a", [
385
+ circle(15.2, 6.8, 4),
386
+ ]),
387
+ ...moving("knob-b", [
388
+ circle(8.8, 17.2, 4),
389
+ ]),
298
390
  ],
299
391
  });
300
392
  export const SnowflakeIcon = /* @__PURE__ */ createPebbleIcon({
@@ -318,8 +410,12 @@ export const SubtaskIcon = /* @__PURE__ */ createPebbleIcon({
318
410
  line("M5.6 7v7.4a3 3 0 0 0 3 3H13", 3),
319
411
  ],
320
412
  front: [
321
- rect(2.2, 2, 11, 7, 2.6),
322
- rect(10.6, 12.6, 11.4, 9.4, 3.2),
413
+ ...moving("parent", [
414
+ rect(2.2, 2, 11, 7, 2.6),
415
+ ]),
416
+ ...moving("child", [
417
+ rect(10.6, 12.6, 11.4, 9.4, 3.2),
418
+ ]),
323
419
  ],
324
420
  });
325
421
  export const TargetArrowIcon = /* @__PURE__ */ createPebbleIcon({
@@ -338,18 +434,32 @@ export const TargetIcon = /* @__PURE__ */ createPebbleIcon({
338
434
  circle(12, 12, 7),
339
435
  ],
340
436
  front: [
341
- line("M12 3a9 9 0 1 1-.01 0Z", 3),
342
- circle(12, 12, 3.4),
437
+ ...moving("ring", [
438
+ line("M12 3a9 9 0 1 1-.01 0Z", 3),
439
+ ]),
440
+ ...moving("core", [
441
+ circle(12, 12, 3.4),
442
+ ]),
343
443
  ],
344
444
  });
345
445
  export const TimelineIcon = /* @__PURE__ */ createPebbleIcon({
346
446
  name: "timeline",
347
447
  front: [
348
- line("M3.8 17.6l5.4-7.2 5.6 4.4 5.4-8.2", 2.4),
349
- circle(3.8, 17.6, 2.8),
350
- circle(9.2, 10.4, 2.8),
351
- circle(14.8, 14.8, 2.8),
352
- circle(20.2, 6.6, 2.8),
448
+ ...moving("line", [
449
+ line("M3.8 17.6l5.4-7.2 5.6 4.4 5.4-8.2", 2.4),
450
+ ]),
451
+ ...moving("point-1", [
452
+ circle(3.8, 17.6, 2.8),
453
+ ]),
454
+ ...moving("point-2", [
455
+ circle(9.2, 10.4, 2.8),
456
+ ]),
457
+ ...moving("point-3", [
458
+ circle(14.8, 14.8, 2.8),
459
+ ]),
460
+ ...moving("point-4", [
461
+ circle(20.2, 6.6, 2.8),
462
+ ]),
353
463
  ],
354
464
  });
355
465
  export const TopologyIcon = /* @__PURE__ */ createPebbleIcon({
@@ -371,7 +481,9 @@ export const UnlinkIcon = /* @__PURE__ */ createPebbleIcon({
371
481
  ],
372
482
  front: [
373
483
  line("M16.2 8.4h2.6a3.6 3.6 0 0 1 0 7.2h-2.6a3.6 3.6 0 0 1 0-7.2Z", 3.2, "rotate(-45 12 12)"),
374
- line("M8 2.6v2.8M2.6 8h2.8M16 21.4v-2.8M21.4 16h-2.8", 2.4),
484
+ ...moving("spark", [
485
+ line("M8 2.6v2.8M2.6 8h2.8M16 21.4v-2.8M21.4 16h-2.8", 2.4),
486
+ ]),
375
487
  ],
376
488
  });
377
489
  export const WandIcon = /* @__PURE__ */ createPebbleIcon({
@@ -380,29 +492,53 @@ export const WandIcon = /* @__PURE__ */ createPebbleIcon({
380
492
  line("M4 20l8-8", 4.2),
381
493
  ],
382
494
  front: [
383
- line("M13.4 10.6L16 8", 4.2),
384
- circle(7, 5.2, 2),
385
- circle(19.4, 3.8, 2),
386
- circle(19.4, 16.2, 2),
495
+ ...moving("tip", [
496
+ line("M13.4 10.6L16 8", 4.2),
497
+ ]),
498
+ ...moving("spark-1", [
499
+ circle(7, 5.2, 2),
500
+ ]),
501
+ ...moving("spark-2", [
502
+ circle(19.4, 3.8, 2),
503
+ ]),
504
+ ...moving("spark-3", [
505
+ circle(19.4, 16.2, 2),
506
+ ]),
387
507
  ],
388
508
  });
389
509
  export const WifiIcon = /* @__PURE__ */ createPebbleIcon({
390
510
  name: "wifi",
391
511
  front: [
392
- line("M2.6 9a13.6 13.6 0 0 1 18.8 0", 3),
393
- line("M6.2 13.2a8.4 8.4 0 0 1 11.6 0", 3),
394
- circle(12, 18.8, 2.8),
512
+ ...moving("arc-2", [
513
+ line("M2.6 9a13.6 13.6 0 0 1 18.8 0", 3),
514
+ ]),
515
+ ...moving("arc-1", [
516
+ line("M6.2 13.2a8.4 8.4 0 0 1 11.6 0", 3),
517
+ ]),
518
+ ...moving("signal", [
519
+ circle(12, 18.8, 2.8),
520
+ ]),
395
521
  ],
396
522
  });
397
523
  export const WifiOffIcon = /* @__PURE__ */ createPebbleIcon({
398
524
  name: "wifi-off",
399
525
  front: [
400
- line("M2.6 9a13.6 13.6 0 0 1 18.8 0", 3),
401
- line("M6.2 13.2a8.4 8.4 0 0 1 11.6 0", 3),
402
- circle(12, 18.8, 2.8),
403
- line("M3.4 3.4l17.2 17.2", 2.8),
526
+ ...moving("arc-2", [
527
+ line("M2.6 9a13.6 13.6 0 0 1 18.8 0", 3),
528
+ ]),
529
+ ...moving("arc-1", [
530
+ line("M6.2 13.2a8.4 8.4 0 0 1 11.6 0", 3),
531
+ ]),
532
+ ...moving("signal", [
533
+ circle(12, 18.8, 2.8),
534
+ ]),
535
+ ...moving("strike", [
536
+ line("M3.4 3.4l17.2 17.2", 2.8),
537
+ ]),
404
538
  ],
405
539
  hole: [
406
- line("M6.2 2.2l17.4 17.4M.4 4.8l17.4 17.4", 1.5),
540
+ ...moving("strike", [
541
+ line("M6.2 2.2l17.4 17.4M.4 4.8l17.4 17.4", 1.5),
542
+ ]),
407
543
  ],
408
544
  });
package/icons/world.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /// The wider world: maps, people, communication and the web.
2
2
  import { createPebbleIcon } from "../icon.js";
3
- import { circle, line, path, rect } from "../parts.js";
3
+ import { circle, line, moving, path, rect } from "../parts.js";
4
4
  export const AppleIcon = /* @__PURE__ */ createPebbleIcon({
5
5
  name: "apple",
6
6
  back: [
@@ -13,16 +13,24 @@ export const AppleIcon = /* @__PURE__ */ createPebbleIcon({
13
13
  export const BackpackIcon = /* @__PURE__ */ createPebbleIcon({
14
14
  name: "backpack",
15
15
  back: [
16
- line("M8.8 7V5Q8.8 2 12 2T15.2 5V7", 2.6),
17
- rect(1.6, 11.4, 5.6, 9, 2.4),
18
- rect(16.8, 11.4, 5.6, 9, 2.4),
16
+ ...moving("loop", [
17
+ line("M8.8 7V5Q8.8 2 12 2T15.2 5V7", 2.6),
18
+ ]),
19
+ ...moving("bag", [
20
+ rect(1.6, 11.4, 5.6, 9, 2.4),
21
+ rect(16.8, 11.4, 5.6, 9, 2.4),
22
+ ]),
19
23
  ],
20
24
  front: [
21
- path("M4.4 11.6Q4.4 4.8 12 4.8T19.6 11.6V18.6Q19.6 22.6 15.6 22.6H8.4Q4.4 22.6 4.4 18.6Z"),
25
+ ...moving("bag", [
26
+ path("M4.4 11.6Q4.4 4.8 12 4.8T19.6 11.6V18.6Q19.6 22.6 15.6 22.6H8.4Q4.4 22.6 4.4 18.6Z"),
27
+ ]),
22
28
  ],
23
29
  mark: [
24
- rect(7.4, 13.6, 9.2, 5.8, 2.4),
25
- line("M9.4 9.4h5.2", 2),
30
+ ...moving("bag", [
31
+ rect(7.4, 13.6, 9.2, 5.8, 2.4),
32
+ line("M9.4 9.4h5.2", 2),
33
+ ]),
26
34
  ],
27
35
  });
28
36
  export const BeerIcon = /* @__PURE__ */ createPebbleIcon({
@@ -64,7 +72,9 @@ export const CakeIcon = /* @__PURE__ */ createPebbleIcon({
64
72
  front: [
65
73
  rect(2.4, 10.4, 19.2, 12, 3.4),
66
74
  rect(10.7, 5, 2.6, 7, 1.3),
67
- circle(12, 3.4, 2.2),
75
+ ...moving("flame", [
76
+ circle(12, 3.4, 2.2),
77
+ ]),
68
78
  ],
69
79
  mark: [
70
80
  line("M3 15.4q2.25 2.6 4.5 0t4.5 0 4.5 0 4.5 0", 1.9),
@@ -103,8 +113,12 @@ export const DrumstickIcon = /* @__PURE__ */ createPebbleIcon({
103
113
  export const FishIcon = /* @__PURE__ */ createPebbleIcon({
104
114
  name: "fish",
105
115
  front: [
106
- path("M14.45 19.01C11.51 18.98 9.13 17.17 7.42 14.91C6.77 14.05 6.06 13.12 6.06 12C6.06 10.88 6.77 9.95 7.42 9.09C9.16 6.8 11.6 4.96 14.59 5C17.53 5.03 20.01 6.91 21.56 9.28C22.1 10.09 22.68 10.99 22.68 12C22.68 13.01 22.1 13.91 21.56 14.72C19.98 17.14 17.44 19.02 14.45 19.01Z"),
107
- path("M1 11.98C1 13.07 0.48 16.53 1.54 17.09C2.55 17.63 4.01 15.71 4.71 15.07C5.51 14.32 7.28 13.18 7.28 12C7.28 10.82 5.51 9.68 4.71 8.93C4.01 8.29 2.55 6.37 1.54 6.91C0.48 7.46 1 10.9 1 11.98Z"),
116
+ ...moving("body", [
117
+ path("M14.45 19.01C11.51 18.98 9.13 17.17 7.42 14.91C6.77 14.05 6.06 13.12 6.06 12C6.06 10.88 6.77 9.95 7.42 9.09C9.16 6.8 11.6 4.96 14.59 5C17.53 5.03 20.01 6.91 21.56 9.28C22.1 10.09 22.68 10.99 22.68 12C22.68 13.01 22.1 13.91 21.56 14.72C19.98 17.14 17.44 19.02 14.45 19.01Z"),
118
+ ]),
119
+ ...moving("tail", [
120
+ path("M1 11.98C1 13.07 0.48 16.53 1.54 17.09C2.55 17.63 4.01 15.71 4.71 15.07C5.51 14.32 7.28 13.18 7.28 12C7.28 10.82 5.51 9.68 4.71 8.93C4.01 8.29 2.55 6.37 1.54 6.91C0.48 7.46 1 10.9 1 11.98Z"),
121
+ ]),
108
122
  ],
109
123
  mark: [
110
124
  circle(17.4, 10.4, 1.7),
@@ -194,11 +208,21 @@ export const MoonIcon = /* @__PURE__ */ createPebbleIcon({
194
208
  export const PawIcon = /* @__PURE__ */ createPebbleIcon({
195
209
  name: "paw",
196
210
  front: [
197
- path("M12 11.8C15.47 11.81 18.28 14.84 18.97 18.1C19.19 19.16 19.24 20.4 18.39 21.22C16.51 23.05 14.11 21.28 12.07 21.22C10.65 21.17 9.32 22.07 7.82 21.99C2.79 21.73 5.43 15.67 7.64 13.57C8.83 12.44 10.35 11.8 12 11.8Z"),
198
- circle(4.2, 10.4, 2.8),
199
- circle(8.8, 5, 2.9),
200
- circle(15.2, 5, 2.9),
201
- circle(19.8, 10.4, 2.8),
211
+ ...moving("pad", [
212
+ path("M12 11.8C15.47 11.81 18.28 14.84 18.97 18.1C19.19 19.16 19.24 20.4 18.39 21.22C16.51 23.05 14.11 21.28 12.07 21.22C10.65 21.17 9.32 22.07 7.82 21.99C2.79 21.73 5.43 15.67 7.64 13.57C8.83 12.44 10.35 11.8 12 11.8Z"),
213
+ ]),
214
+ ...moving("toe-1", [
215
+ circle(4.2, 10.4, 2.8),
216
+ ]),
217
+ ...moving("toe-2", [
218
+ circle(8.8, 5, 2.9),
219
+ ]),
220
+ ...moving("toe-3", [
221
+ circle(15.2, 5, 2.9),
222
+ ]),
223
+ ...moving("toe-4", [
224
+ circle(19.8, 10.4, 2.8),
225
+ ]),
202
226
  ],
203
227
  });
204
228
  export const PepperIcon = /* @__PURE__ */ createPebbleIcon({
@@ -220,9 +244,13 @@ export const PigIcon = /* @__PURE__ */ createPebbleIcon({
220
244
  circle(12, 13, 9.4),
221
245
  ],
222
246
  mark: [
223
- circle(8.2, 9.8, 1.5),
224
- circle(15.8, 9.8, 1.5),
225
- rect(7.4, 13, 9.2, 5.8, 2.9),
247
+ ...moving("eyes", [
248
+ circle(8.2, 9.8, 1.5),
249
+ circle(15.8, 9.8, 1.5),
250
+ ]),
251
+ ...moving("snout", [
252
+ rect(7.4, 13, 9.2, 5.8, 2.9),
253
+ ]),
226
254
  ],
227
255
  over: "M10.4 15.9h.01M13.6 15.9h.01",
228
256
  });
@@ -238,17 +266,25 @@ export const PlantIcon = /* @__PURE__ */ createPebbleIcon({
238
266
  path("M12 14.4C13.39 14.4 16.25 13.91 17.19 15.06C17.93 15.96 17.43 17.26 17.22 18.28C16.85 20.13 16.74 22.52 14.34 22.6C12.68 22.65 9.62 23.15 8.21 22.17C7.15 21.44 7.1 19.9 6.87 18.75C6.63 17.53 5.92 15.76 7.04 14.82C8.07 13.95 10.68 14.4 12 14.4Z"),
239
267
  ],
240
268
  front: [
241
- path("M5.06 10.66C3.96 9.67 2.2 6.8 3.33 5.4C4.51 3.94 7.56 5.47 8.65 6.45C9.73 7.43 11.53 10.2 10.46 11.61C9.3 13.12 6.17 11.65 5.06 10.66Z"),
242
- path("M19.45 9.2C18.42 10.51 14.92 13.11 13.48 11.2C12.29 9.63 14.09 5.96 15.14 4.61C16.15 3.33 19.38 0.86 20.85 2.66C22.11 4.22 20.51 7.85 19.45 9.2Z"),
269
+ ...moving("leaf-left", [
270
+ path("M5.06 10.66C3.96 9.67 2.2 6.8 3.33 5.4C4.51 3.94 7.56 5.47 8.65 6.45C9.73 7.43 11.53 10.2 10.46 11.61C9.3 13.12 6.17 11.65 5.06 10.66Z"),
271
+ ]),
272
+ ...moving("leaf-right", [
273
+ path("M19.45 9.2C18.42 10.51 14.92 13.11 13.48 11.2C12.29 9.63 14.09 5.96 15.14 4.61C16.15 3.33 19.38 0.86 20.85 2.66C22.11 4.22 20.51 7.85 19.45 9.2Z"),
274
+ ]),
243
275
  rect(10.7, 10, 2.6, 6, 1.3),
244
276
  ],
245
277
  });
246
278
  export const RocketIcon = /* @__PURE__ */ createPebbleIcon({
247
279
  name: "rocket",
248
280
  back: [
249
- path("M7.4 15C7.4 14.24 7.57 12.71 6.34 12.94C5.61 13.08 4.79 14.32 4.29 14.85C3.89 15.26 3.01 15.88 2.8 16.4C2.46 17.25 2.65 20.09 3.64 20.26C4.22 20.36 4.87 19.83 5.36 19.55C5.92 19.24 6.89 18.91 7.24 18.35C7.73 17.59 7.4 15.89 7.4 15Z"),
250
- path("M16.6 15C16.6 14.24 16.43 12.71 17.66 12.94C18.39 13.08 19.21 14.32 19.71 14.85C20.11 15.26 20.99 15.88 21.2 16.4C21.54 17.25 21.35 20.09 20.36 20.26C19.78 20.36 19.13 19.83 18.64 19.55C18.08 19.24 17.11 18.91 16.76 18.35C16.27 17.59 16.6 15.89 16.6 15Z"),
251
- path("M13.51 20.18C13.16 20.93 12.81 22.12 11.74 21.87C10.8 21.65 9.49 18.61 9.88 17.77C10.37 16.69 13.41 16.62 14.04 17.61C14.56 18.44 13.87 19.41 13.51 20.18Z"),
281
+ ...moving("fins", [
282
+ path("M7.4 15C7.4 14.24 7.57 12.71 6.34 12.94C5.61 13.08 4.79 14.32 4.29 14.85C3.89 15.26 3.01 15.88 2.8 16.4C2.46 17.25 2.65 20.09 3.64 20.26C4.22 20.36 4.87 19.83 5.36 19.55C5.92 19.24 6.89 18.91 7.24 18.35C7.73 17.59 7.4 15.89 7.4 15Z"),
283
+ path("M16.6 15C16.6 14.24 16.43 12.71 17.66 12.94C18.39 13.08 19.21 14.32 19.71 14.85C20.11 15.26 20.99 15.88 21.2 16.4C21.54 17.25 21.35 20.09 20.36 20.26C19.78 20.36 19.13 19.83 18.64 19.55C18.08 19.24 17.11 18.91 16.76 18.35C16.27 17.59 16.6 15.89 16.6 15Z"),
284
+ ]),
285
+ ...moving("flame", [
286
+ path("M13.51 20.18C13.16 20.93 12.81 22.12 11.74 21.87C10.8 21.65 9.49 18.61 9.88 17.77C10.37 16.69 13.41 16.62 14.04 17.61C14.56 18.44 13.87 19.41 13.51 20.18Z"),
287
+ ]),
252
288
  ],
253
289
  front: [
254
290
  path("M6.61 8.66C7.21 6.36 9.83 0.86 12.89 2.07C13.74 2.41 14.44 3.3 15.01 4C17.2 6.69 17.8 9.77 17.8 13.16C17.8 14.11 17.96 15.26 17.7 16.17C17.47 16.95 16.87 17.58 16.11 17.85C15 18.25 13.43 18 12.26 18C10.64 18 8.01 18.45 6.85 17.15C6 16.2 6.2 14.79 6.2 13.6C6.2 11.93 6.19 10.29 6.61 8.66Z"),
@@ -303,15 +339,19 @@ export const SteakIcon = /* @__PURE__ */ createPebbleIcon({
303
339
  export const SunIcon = /* @__PURE__ */ createPebbleIcon({
304
340
  name: "sun",
305
341
  front: [
306
- circle(12, 12, 5.6),
307
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(0 12 12)"),
308
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(45 12 12)"),
309
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(90 12 12)"),
310
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(135 12 12)"),
311
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(180 12 12)"),
312
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(225 12 12)"),
313
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(270 12 12)"),
314
- rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(315 12 12)"),
342
+ ...moving("disc", [
343
+ circle(12, 12, 5.6),
344
+ ]),
345
+ ...moving("rays", [
346
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(0 12 12)"),
347
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(45 12 12)"),
348
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(90 12 12)"),
349
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(135 12 12)"),
350
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(180 12 12)"),
351
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(225 12 12)"),
352
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(270 12 12)"),
353
+ rect(10.7, 0.4, 2.6, 4.4, 1.3, "rotate(315 12 12)"),
354
+ ]),
315
355
  ],
316
356
  });
317
357
  export const WorldIcon = /* @__PURE__ */ createPebbleIcon({