weasel-icons 0.2.0 → 0.3.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 +81 -2
- package/THIRD_PARTY_NOTICES.md +6 -4
- package/dist/icons/arrow-down/arrow-down-icon.d.ts +5 -0
- package/dist/icons/arrow-down/arrow-down-icon.js +9 -0
- package/dist/icons/arrow-down/arrow-down-rig.d.ts +43 -0
- package/dist/icons/arrow-down/arrow-down-rig.js +64 -0
- package/dist/icons/arrow-left/arrow-left-icon.d.ts +5 -0
- package/dist/icons/arrow-left/arrow-left-icon.js +9 -0
- package/dist/icons/arrow-left/arrow-left-rig.d.ts +43 -0
- package/dist/icons/arrow-left/arrow-left-rig.js +64 -0
- package/dist/icons/arrow-right/arrow-right-icon.d.ts +5 -0
- package/dist/icons/arrow-right/arrow-right-icon.js +9 -0
- package/dist/icons/arrow-right/arrow-right-rig.d.ts +43 -0
- package/dist/icons/arrow-right/arrow-right-rig.js +64 -0
- package/dist/icons/arrow-up/arrow-up-icon.d.ts +5 -0
- package/dist/icons/arrow-up/arrow-up-icon.js +9 -0
- package/dist/icons/arrow-up/arrow-up-rig.d.ts +43 -0
- package/dist/icons/arrow-up/arrow-up-rig.js +64 -0
- package/dist/icons/book-open/book-open-icon.d.ts +5 -0
- package/dist/icons/book-open/book-open-icon.js +9 -0
- package/dist/icons/book-open/book-open-rig.d.ts +65 -0
- package/dist/icons/book-open/book-open-rig.js +95 -0
- package/dist/icons/bookmark/bookmark-icon.d.ts +5 -0
- package/dist/icons/bookmark/bookmark-icon.js +9 -0
- package/dist/icons/bookmark/bookmark-rig.d.ts +43 -0
- package/dist/icons/bookmark/bookmark-rig.js +65 -0
- package/dist/icons/calendar/calendar-icon.d.ts +5 -0
- package/dist/icons/calendar/calendar-icon.js +9 -0
- package/dist/icons/calendar/calendar-rig.d.ts +67 -0
- package/dist/icons/calendar/calendar-rig.js +95 -0
- package/dist/icons/camera/camera-icon.d.ts +5 -0
- package/dist/icons/camera/camera-icon.js +9 -0
- package/dist/icons/camera/camera-rig.d.ts +58 -0
- package/dist/icons/camera/camera-rig.js +82 -0
- package/dist/icons/chevron-down/chevron-down-icon.d.ts +5 -0
- package/dist/icons/chevron-down/chevron-down-icon.js +9 -0
- package/dist/icons/chevron-down/chevron-down-rig.d.ts +48 -0
- package/dist/icons/chevron-down/chevron-down-rig.js +30 -0
- package/dist/icons/chevron-left/chevron-left-icon.d.ts +5 -0
- package/dist/icons/chevron-left/chevron-left-icon.js +9 -0
- package/dist/icons/chevron-left/chevron-left-rig.d.ts +34 -0
- package/dist/icons/chevron-left/chevron-left-rig.js +49 -0
- package/dist/icons/chevron-right/chevron-right-icon.d.ts +5 -0
- package/dist/icons/chevron-right/chevron-right-icon.js +9 -0
- package/dist/icons/chevron-right/chevron-right-rig.d.ts +34 -0
- package/dist/icons/chevron-right/chevron-right-rig.js +49 -0
- package/dist/icons/chevron-up/chevron-up-icon.d.ts +5 -0
- package/dist/icons/chevron-up/chevron-up-icon.js +9 -0
- package/dist/icons/chevron-up/chevron-up-rig.d.ts +48 -0
- package/dist/icons/chevron-up/chevron-up-rig.js +30 -0
- package/dist/icons/circle-help/circle-help-icon.d.ts +5 -0
- package/dist/icons/circle-help/circle-help-icon.js +9 -0
- package/dist/icons/circle-help/circle-help-rig.d.ts +45 -0
- package/dist/icons/circle-help/circle-help-rig.js +70 -0
- package/dist/icons/clipboard/clipboard-icon.d.ts +5 -0
- package/dist/icons/clipboard/clipboard-icon.js +9 -0
- package/dist/icons/clipboard/clipboard-rig.d.ts +69 -0
- package/dist/icons/clipboard/clipboard-rig.js +99 -0
- package/dist/icons/clock/clock-icon.d.ts +5 -0
- package/dist/icons/clock/clock-icon.js +9 -0
- package/dist/icons/clock/clock-rig.d.ts +40 -0
- package/dist/icons/clock/clock-rig.js +53 -0
- package/dist/icons/cloud/cloud-icon.d.ts +5 -0
- package/dist/icons/cloud/cloud-icon.js +9 -0
- package/dist/icons/cloud/cloud-rig.d.ts +74 -0
- package/dist/icons/cloud/cloud-rig.js +103 -0
- package/dist/icons/code/code-icon.d.ts +5 -0
- package/dist/icons/code/code-icon.js +9 -0
- package/dist/icons/code/code-rig.d.ts +104 -0
- package/dist/icons/code/code-rig.js +148 -0
- package/dist/icons/credit-card/credit-card-icon.d.ts +5 -0
- package/dist/icons/credit-card/credit-card-icon.js +9 -0
- package/dist/icons/credit-card/credit-card-rig.d.ts +88 -0
- package/dist/icons/credit-card/credit-card-rig.js +122 -0
- package/dist/icons/database/database-icon.d.ts +5 -0
- package/dist/icons/database/database-icon.js +9 -0
- package/dist/icons/database/database-rig.d.ts +61 -0
- package/dist/icons/database/database-rig.js +86 -0
- package/dist/icons/external-link/external-link-icon.d.ts +5 -0
- package/dist/icons/external-link/external-link-icon.js +9 -0
- package/dist/icons/external-link/external-link-rig.d.ts +45 -0
- package/dist/icons/external-link/external-link-rig.js +42 -0
- package/dist/icons/file/file-icon.d.ts +5 -0
- package/dist/icons/file/file-icon.js +9 -0
- package/dist/icons/file/file-rig.d.ts +53 -0
- package/dist/icons/file/file-rig.js +80 -0
- package/dist/icons/file-text/file-text-icon.d.ts +5 -0
- package/dist/icons/file-text/file-text-icon.js +9 -0
- package/dist/icons/file-text/file-text-rig.d.ts +93 -0
- package/dist/icons/file-text/file-text-rig.js +138 -0
- package/dist/icons/filter/filter-icon.d.ts +5 -0
- package/dist/icons/filter/filter-icon.js +9 -0
- package/dist/icons/filter/filter-rig.d.ts +72 -0
- package/dist/icons/filter/filter-rig.js +99 -0
- package/dist/icons/folder/folder-icon.d.ts +5 -0
- package/dist/icons/folder/folder-icon.js +9 -0
- package/dist/icons/folder/folder-rig.d.ts +20 -0
- package/dist/icons/folder/folder-rig.js +28 -0
- package/dist/icons/globe/globe-icon.d.ts +5 -0
- package/dist/icons/globe/globe-icon.js +9 -0
- package/dist/icons/globe/globe-rig.d.ts +40 -0
- package/dist/icons/globe/globe-rig.js +57 -0
- package/dist/icons/home/home-icon.d.ts +5 -0
- package/dist/icons/home/home-icon.js +9 -0
- package/dist/icons/home/home-rig.d.ts +49 -0
- package/dist/icons/home/home-rig.js +76 -0
- package/dist/icons/image/image-icon.d.ts +5 -0
- package/dist/icons/image/image-icon.js +9 -0
- package/dist/icons/image/image-rig.d.ts +70 -0
- package/dist/icons/image/image-rig.js +99 -0
- package/dist/icons/info/info-icon.d.ts +5 -0
- package/dist/icons/info/info-icon.js +9 -0
- package/dist/icons/info/info-rig.d.ts +48 -0
- package/dist/icons/info/info-rig.js +69 -0
- package/dist/icons/key/key-icon.d.ts +5 -0
- package/dist/icons/key/key-icon.js +9 -0
- package/dist/icons/key/key-rig.d.ts +50 -0
- package/dist/icons/key/key-rig.js +76 -0
- package/dist/icons/layers/layers-icon.d.ts +5 -0
- package/dist/icons/layers/layers-icon.js +9 -0
- package/dist/icons/layers/layers-rig.d.ts +147 -0
- package/dist/icons/layers/layers-rig.js +211 -0
- package/dist/icons/layout-dashboard/layout-dashboard-icon.d.ts +5 -0
- package/dist/icons/layout-dashboard/layout-dashboard-icon.js +9 -0
- package/dist/icons/layout-dashboard/layout-dashboard-rig.d.ts +194 -0
- package/dist/icons/layout-dashboard/layout-dashboard-rig.js +284 -0
- package/dist/icons/layout-grid/layout-grid-icon.d.ts +5 -0
- package/dist/icons/layout-grid/layout-grid-icon.js +9 -0
- package/dist/icons/layout-grid/layout-grid-rig.d.ts +103 -0
- package/dist/icons/layout-grid/layout-grid-rig.js +167 -0
- package/dist/icons/list/list-icon.d.ts +5 -0
- package/dist/icons/list/list-icon.js +9 -0
- package/dist/icons/list/list-rig.d.ts +165 -0
- package/dist/icons/list/list-rig.js +231 -0
- package/dist/icons/lock/lock-icon.d.ts +5 -0
- package/dist/icons/lock/lock-icon.js +9 -0
- package/dist/icons/lock/lock-rig.d.ts +42 -0
- package/dist/icons/lock/lock-rig.js +58 -0
- package/dist/icons/log-in/log-in-icon.d.ts +5 -0
- package/dist/icons/log-in/log-in-icon.js +9 -0
- package/dist/icons/log-in/log-in-rig.d.ts +39 -0
- package/dist/icons/log-in/log-in-rig.js +55 -0
- package/dist/icons/log-out/log-out-icon.d.ts +5 -0
- package/dist/icons/log-out/log-out-icon.js +9 -0
- package/dist/icons/log-out/log-out-rig.d.ts +39 -0
- package/dist/icons/log-out/log-out-rig.js +55 -0
- package/dist/icons/mail/mail-icon.d.ts +5 -0
- package/dist/icons/mail/mail-icon.js +9 -0
- package/dist/icons/mail/mail-rig.d.ts +20 -0
- package/dist/icons/mail/mail-rig.js +28 -0
- package/dist/icons/map-pin/map-pin-icon.d.ts +5 -0
- package/dist/icons/map-pin/map-pin-icon.js +9 -0
- package/dist/icons/map-pin/map-pin-rig.d.ts +118 -0
- package/dist/icons/map-pin/map-pin-rig.js +164 -0
- package/dist/icons/maximize/maximize-icon.d.ts +5 -0
- package/dist/icons/maximize/maximize-icon.js +9 -0
- package/dist/icons/maximize/maximize-rig.d.ts +190 -0
- package/dist/icons/maximize/maximize-rig.js +268 -0
- package/dist/icons/menu/menu-icon.d.ts +5 -0
- package/dist/icons/menu/menu-icon.js +9 -0
- package/dist/icons/menu/menu-rig.d.ts +41 -0
- package/dist/icons/menu/menu-rig.js +58 -0
- package/dist/icons/message-circle/message-circle-icon.d.ts +5 -0
- package/dist/icons/message-circle/message-circle-icon.js +9 -0
- package/dist/icons/message-circle/message-circle-rig.d.ts +99 -0
- package/dist/icons/message-circle/message-circle-rig.js +143 -0
- package/dist/icons/mic/mic-icon.d.ts +5 -0
- package/dist/icons/mic/mic-icon.js +9 -0
- package/dist/icons/mic/mic-rig.d.ts +67 -0
- package/dist/icons/mic/mic-rig.js +96 -0
- package/dist/icons/minimize/minimize-icon.d.ts +5 -0
- package/dist/icons/minimize/minimize-icon.js +9 -0
- package/dist/icons/minimize/minimize-rig.d.ts +190 -0
- package/dist/icons/minimize/minimize-rig.js +268 -0
- package/dist/icons/minus/minus-icon.d.ts +5 -0
- package/dist/icons/minus/minus-icon.js +9 -0
- package/dist/icons/minus/minus-rig.d.ts +31 -0
- package/dist/icons/minus/minus-rig.js +47 -0
- package/dist/icons/moon/moon-icon.d.ts +5 -0
- package/dist/icons/moon/moon-icon.js +9 -0
- package/dist/icons/moon/moon-rig.d.ts +62 -0
- package/dist/icons/moon/moon-rig.js +87 -0
- package/dist/icons/more-horizontal/more-horizontal-icon.d.ts +5 -0
- package/dist/icons/more-horizontal/more-horizontal-icon.js +9 -0
- package/dist/icons/more-horizontal/more-horizontal-rig.d.ts +91 -0
- package/dist/icons/more-horizontal/more-horizontal-rig.js +141 -0
- package/dist/icons/more-vertical/more-vertical-icon.d.ts +5 -0
- package/dist/icons/more-vertical/more-vertical-icon.js +9 -0
- package/dist/icons/more-vertical/more-vertical-rig.d.ts +91 -0
- package/dist/icons/more-vertical/more-vertical-rig.js +141 -0
- package/dist/icons/music/music-icon.d.ts +5 -0
- package/dist/icons/music/music-icon.js +9 -0
- package/dist/icons/music/music-rig.d.ts +66 -0
- package/dist/icons/music/music-rig.js +95 -0
- package/dist/icons/package/package-icon.d.ts +5 -0
- package/dist/icons/package/package-icon.js +9 -0
- package/dist/icons/package/package-rig.d.ts +40 -0
- package/dist/icons/package/package-rig.js +60 -0
- package/dist/icons/pause/pause-icon.d.ts +5 -0
- package/dist/icons/pause/pause-icon.js +9 -0
- package/dist/icons/pause/pause-rig.d.ts +104 -0
- package/dist/icons/pause/pause-rig.js +147 -0
- package/dist/icons/pencil/pencil-icon.d.ts +5 -0
- package/dist/icons/pencil/pencil-icon.js +9 -0
- package/dist/icons/pencil/pencil-rig.d.ts +48 -0
- package/dist/icons/pencil/pencil-rig.js +68 -0
- package/dist/icons/phone/phone-icon.d.ts +5 -0
- package/dist/icons/phone/phone-icon.js +9 -0
- package/dist/icons/phone/phone-rig.d.ts +41 -0
- package/dist/icons/phone/phone-rig.js +60 -0
- package/dist/icons/play/play-icon.d.ts +5 -0
- package/dist/icons/play/play-icon.js +9 -0
- package/dist/icons/play/play-rig.d.ts +58 -0
- package/dist/icons/play/play-rig.js +80 -0
- package/dist/icons/plus/plus-icon.d.ts +5 -0
- package/dist/icons/plus/plus-icon.js +9 -0
- package/dist/icons/plus/plus-rig.d.ts +94 -0
- package/dist/icons/plus/plus-rig.js +137 -0
- package/dist/icons/replace/replace-icon.js +9 -8
- package/dist/icons/replace/replace-rig.d.ts +7 -1
- package/dist/icons/replace/replace-rig.js +35 -17
- package/dist/icons/save/save-icon.d.ts +5 -0
- package/dist/icons/save/save-icon.js +9 -0
- package/dist/icons/save/save-rig.d.ts +43 -0
- package/dist/icons/save/save-rig.js +63 -0
- package/dist/icons/send/send-icon.d.ts +5 -0
- package/dist/icons/send/send-icon.js +9 -0
- package/dist/icons/send/send-rig.d.ts +43 -0
- package/dist/icons/send/send-rig.js +61 -0
- package/dist/icons/settings/settings-icon.d.ts +5 -0
- package/dist/icons/settings/settings-icon.js +9 -0
- package/dist/icons/settings/settings-rig.d.ts +41 -0
- package/dist/icons/settings/settings-rig.js +64 -0
- package/dist/icons/share/share-icon.d.ts +5 -0
- package/dist/icons/share/share-icon.js +9 -0
- package/dist/icons/share/share-rig.d.ts +80 -0
- package/dist/icons/share/share-rig.js +114 -0
- package/dist/icons/shopping-bag/shopping-bag-icon.d.ts +5 -0
- package/dist/icons/shopping-bag/shopping-bag-icon.js +9 -0
- package/dist/icons/shopping-bag/shopping-bag-rig.d.ts +92 -0
- package/dist/icons/shopping-bag/shopping-bag-rig.js +139 -0
- package/dist/icons/shopping-cart/shopping-cart-icon.d.ts +5 -0
- package/dist/icons/shopping-cart/shopping-cart-icon.js +9 -0
- package/dist/icons/shopping-cart/shopping-cart-rig.d.ts +72 -0
- package/dist/icons/shopping-cart/shopping-cart-rig.js +111 -0
- package/dist/icons/sliders/sliders-icon.d.ts +5 -0
- package/dist/icons/sliders/sliders-icon.js +9 -0
- package/dist/icons/sliders/sliders-rig.d.ts +156 -0
- package/dist/icons/sliders/sliders-rig.js +231 -0
- package/dist/icons/sun/sun-icon.d.ts +5 -0
- package/dist/icons/sun/sun-icon.js +9 -0
- package/dist/icons/sun/sun-rig.d.ts +290 -0
- package/dist/icons/sun/sun-rig.js +401 -0
- package/dist/icons/terminal/terminal-icon.d.ts +5 -0
- package/dist/icons/terminal/terminal-icon.js +9 -0
- package/dist/icons/terminal/terminal-rig.d.ts +71 -0
- package/dist/icons/terminal/terminal-rig.js +102 -0
- package/dist/icons/timer/timer-icon.d.ts +5 -0
- package/dist/icons/timer/timer-icon.js +9 -0
- package/dist/icons/timer/timer-rig.d.ts +50 -0
- package/dist/icons/timer/timer-rig.js +72 -0
- package/dist/icons/truck/truck-icon.d.ts +5 -0
- package/dist/icons/truck/truck-icon.js +9 -0
- package/dist/icons/truck/truck-rig.d.ts +184 -0
- package/dist/icons/truck/truck-rig.js +272 -0
- package/dist/icons/upload/upload-icon.d.ts +5 -0
- package/dist/icons/upload/upload-icon.js +9 -0
- package/dist/icons/upload/upload-rig.d.ts +99 -0
- package/dist/icons/upload/upload-rig.js +124 -0
- package/dist/icons/user/user-icon.d.ts +5 -0
- package/dist/icons/user/user-icon.js +9 -0
- package/dist/icons/user/user-rig.d.ts +45 -0
- package/dist/icons/user/user-rig.js +66 -0
- package/dist/icons/users/users-icon.d.ts +5 -0
- package/dist/icons/users/users-icon.js +9 -0
- package/dist/icons/users/users-rig.d.ts +76 -0
- package/dist/icons/users/users-rig.js +113 -0
- package/dist/icons/video/video-icon.d.ts +5 -0
- package/dist/icons/video/video-icon.js +9 -0
- package/dist/icons/video/video-rig.d.ts +62 -0
- package/dist/icons/video/video-rig.js +84 -0
- package/dist/icons/volume/volume-icon.d.ts +5 -0
- package/dist/icons/volume/volume-icon.js +9 -0
- package/dist/icons/volume/volume-rig.d.ts +82 -0
- package/dist/icons/volume/volume-rig.js +120 -0
- package/dist/icons/wallet/wallet-icon.d.ts +5 -0
- package/dist/icons/wallet/wallet-icon.js +9 -0
- package/dist/icons/wallet/wallet-rig.d.ts +63 -0
- package/dist/icons/wallet/wallet-rig.js +90 -0
- package/dist/icons/wifi/wifi-icon.d.ts +5 -0
- package/dist/icons/wifi/wifi-icon.js +9 -0
- package/dist/icons/wifi/wifi-rig.d.ts +189 -0
- package/dist/icons/wifi/wifi-rig.js +260 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.js +72 -0
- package/dist/shared/articulated-icon.d.ts +7 -0
- package/dist/shared/articulated-icon.js +49 -0
- package/dist/shared/articulation.d.ts +62 -0
- package/dist/shared/articulation.js +85 -0
- package/dist/shared/icon-colors.d.ts +72 -0
- package/dist/shared/use-icon-motion.d.ts +1 -1
- package/dist/shared/use-icon-motion.js +4 -3
- package/package.json +361 -1
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
export const layoutDashboardStates = ['idle', 'loading', 'ready'];
|
|
2
|
+
// Lucide-derived outline; attribution and pinned source: THIRD_PARTY_NOTICES.md.
|
|
3
|
+
// Load a dashboard: panels measure and reveal in reading order with different holds. Ready panels expand into place once, rather than breathing together.
|
|
4
|
+
export const layoutDashboardArt = {
|
|
5
|
+
name: 'layout-dashboard',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'panel-0',
|
|
9
|
+
paths: ['M4 3H9Q10 3 10 4V11Q10 12 9 12H4Q3 12 3 11V4Q3 3 4 3Z'],
|
|
10
|
+
poses: [
|
|
11
|
+
{},
|
|
12
|
+
{
|
|
13
|
+
scaleY: 0.35,
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
scaleY: 0.68,
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
pivot: [3, 3],
|
|
20
|
+
gestures: [
|
|
21
|
+
null,
|
|
22
|
+
{
|
|
23
|
+
duration: 3.2,
|
|
24
|
+
repeatAfter: 4.7,
|
|
25
|
+
loop: true,
|
|
26
|
+
frames: [
|
|
27
|
+
{
|
|
28
|
+
at: 0,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
at: 0.06,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
at: 0.2,
|
|
35
|
+
scaleY: 0.4,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
at: 0.38,
|
|
39
|
+
scaleY: 0.4,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
at: 0.55,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
at: 1,
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
duration: 1.5,
|
|
51
|
+
repeatAfter: 2.5,
|
|
52
|
+
loop: false,
|
|
53
|
+
frames: [
|
|
54
|
+
{
|
|
55
|
+
at: 0,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
at: 0.08,
|
|
59
|
+
scaleY: -0.15,
|
|
60
|
+
opacity: -0.25,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
at: 0.4,
|
|
64
|
+
scaleY: 0.045,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
at: 0.7,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
at: 1,
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'panel-1',
|
|
78
|
+
paths: ['M15 3H20Q21 3 21 4V7Q21 8 20 8H15Q14 8 14 7V4Q14 3 15 3Z'],
|
|
79
|
+
poses: [
|
|
80
|
+
{},
|
|
81
|
+
{
|
|
82
|
+
scaleY: 0.35,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
scaleY: 1.3,
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
pivot: [14, 3],
|
|
89
|
+
gestures: [
|
|
90
|
+
null,
|
|
91
|
+
{
|
|
92
|
+
duration: 3.2,
|
|
93
|
+
repeatAfter: 4.7,
|
|
94
|
+
loop: true,
|
|
95
|
+
frames: [
|
|
96
|
+
{
|
|
97
|
+
at: 0,
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
at: 0.19,
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
at: 0.33,
|
|
104
|
+
scaleY: 0.6,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
at: 0.51,
|
|
108
|
+
scaleY: 0.6,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
at: 0.6799999999999999,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
at: 1,
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
duration: 1.5,
|
|
120
|
+
repeatAfter: 2.5,
|
|
121
|
+
loop: false,
|
|
122
|
+
frames: [
|
|
123
|
+
{
|
|
124
|
+
at: 0,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
at: 0.2,
|
|
128
|
+
scaleY: -0.15,
|
|
129
|
+
opacity: -0.25,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
at: 0.52,
|
|
133
|
+
scaleY: 0.045,
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
at: 0.76,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
at: 1,
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'panel-2',
|
|
147
|
+
paths: ['M15 12H20Q21 12 21 13V20Q21 21 20 21H15Q14 21 14 20V13Q14 12 15 12Z'],
|
|
148
|
+
poses: [
|
|
149
|
+
{},
|
|
150
|
+
{
|
|
151
|
+
scaleY: 0.35,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
scaleY: 0.78,
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
pivot: [14, 12],
|
|
158
|
+
gestures: [
|
|
159
|
+
null,
|
|
160
|
+
{
|
|
161
|
+
duration: 3.2,
|
|
162
|
+
repeatAfter: 4.7,
|
|
163
|
+
loop: true,
|
|
164
|
+
frames: [
|
|
165
|
+
{
|
|
166
|
+
at: 0,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
at: 0.32,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
at: 0.46,
|
|
173
|
+
scaleY: 0.45,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
at: 0.64,
|
|
177
|
+
scaleY: 0.45,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
at: 0.81,
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
at: 1,
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
duration: 1.5,
|
|
189
|
+
repeatAfter: 2.5,
|
|
190
|
+
loop: false,
|
|
191
|
+
frames: [
|
|
192
|
+
{
|
|
193
|
+
at: 0,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
at: 0.32,
|
|
197
|
+
scaleY: -0.15,
|
|
198
|
+
opacity: -0.25,
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
at: 0.64,
|
|
202
|
+
scaleY: 0.045,
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
at: 0.82,
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
at: 1,
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
name: 'panel-3',
|
|
216
|
+
paths: ['M4 16H9Q10 16 10 17V20Q10 21 9 21H4Q3 21 3 20V17Q3 16 4 16Z'],
|
|
217
|
+
poses: [
|
|
218
|
+
{},
|
|
219
|
+
{
|
|
220
|
+
scaleY: 0.35,
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
scaleY: 1.25,
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
pivot: [3, 16],
|
|
227
|
+
gestures: [
|
|
228
|
+
null,
|
|
229
|
+
{
|
|
230
|
+
duration: 3.2,
|
|
231
|
+
repeatAfter: 4.7,
|
|
232
|
+
loop: true,
|
|
233
|
+
frames: [
|
|
234
|
+
{
|
|
235
|
+
at: 0,
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
at: 0.45,
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
at: 0.5900000000000001,
|
|
242
|
+
scaleY: 0.6,
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
at: 0.77,
|
|
246
|
+
scaleY: 0.6,
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
at: 0.94,
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
at: 1,
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
duration: 1.5,
|
|
258
|
+
repeatAfter: 2.5,
|
|
259
|
+
loop: false,
|
|
260
|
+
frames: [
|
|
261
|
+
{
|
|
262
|
+
at: 0,
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
at: 0.44,
|
|
266
|
+
scaleY: -0.15,
|
|
267
|
+
opacity: -0.25,
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
at: 0.76,
|
|
271
|
+
scaleY: 0.045,
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
at: 0.8799999999999999,
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
at: 1,
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type LayoutGridState } from "./layout-grid-rig.js";
|
|
3
|
+
export { layoutGridStates, type LayoutGridState } from "./layout-grid-rig.js";
|
|
4
|
+
export type LayoutGridIconProps = StatefulIconProps<LayoutGridState>;
|
|
5
|
+
export declare const LayoutGridIcon: import("react").NamedExoticComponent<LayoutGridIconProps>;
|
|
@@ -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 { layoutGridArt, layoutGridStates, resolveLayoutGridState, } from "./layout-grid-rig.js";
|
|
6
|
+
export { layoutGridStates } from "./layout-grid-rig.js";
|
|
7
|
+
export const LayoutGridIcon = memo(function LayoutGridIcon(props) {
|
|
8
|
+
return (_jsx(ArticulatedIcon, { art: layoutGridArt, states: layoutGridStates, ...props, state: resolveLayoutGridState(props.state) }));
|
|
9
|
+
});
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export declare const layoutGridStates: readonly ["idle", "hover", "selected"];
|
|
2
|
+
export type LayoutGridState = (typeof layoutGridStates)[number] | 'reordering' | 'ordered';
|
|
3
|
+
export declare function resolveLayoutGridState(state?: LayoutGridState): (typeof layoutGridStates)[number];
|
|
4
|
+
export declare const layoutGridArt: {
|
|
5
|
+
readonly name: "layout-grid";
|
|
6
|
+
readonly parts: readonly [{
|
|
7
|
+
readonly name: "tile-0";
|
|
8
|
+
readonly paths: readonly ["M4 3H9Q10 3 10 4V9Q10 10 9 10H4Q3 10 3 9V4Q3 3 4 3Z"];
|
|
9
|
+
readonly poses: readonly [{}, {}, {
|
|
10
|
+
readonly x: -0.6;
|
|
11
|
+
readonly y: -0.6;
|
|
12
|
+
}];
|
|
13
|
+
readonly gestures: readonly [null, null, {
|
|
14
|
+
readonly duration: 0.8;
|
|
15
|
+
readonly repeatAfter: 1.7;
|
|
16
|
+
readonly loop: false;
|
|
17
|
+
readonly frames: readonly [{
|
|
18
|
+
readonly at: 0;
|
|
19
|
+
}, {
|
|
20
|
+
readonly at: 0.04;
|
|
21
|
+
readonly y: -0.9;
|
|
22
|
+
readonly opacity: -0.35;
|
|
23
|
+
}, {
|
|
24
|
+
readonly at: 0.38;
|
|
25
|
+
}, {
|
|
26
|
+
readonly at: 1;
|
|
27
|
+
}];
|
|
28
|
+
}];
|
|
29
|
+
readonly pivot: readonly [6.5, 6.5];
|
|
30
|
+
}, {
|
|
31
|
+
readonly name: "tile-1";
|
|
32
|
+
readonly paths: readonly ["M15 3H20Q21 3 21 4V9Q21 10 20 10H15Q14 10 14 9V4Q14 3 15 3Z"];
|
|
33
|
+
readonly poses: readonly [{}, {}, {
|
|
34
|
+
readonly x: 0.6;
|
|
35
|
+
readonly y: -0.6;
|
|
36
|
+
}];
|
|
37
|
+
readonly gestures: readonly [null, null, {
|
|
38
|
+
readonly duration: 0.8;
|
|
39
|
+
readonly repeatAfter: 1.7;
|
|
40
|
+
readonly loop: false;
|
|
41
|
+
readonly frames: readonly [{
|
|
42
|
+
readonly at: 0;
|
|
43
|
+
}, {
|
|
44
|
+
readonly at: 0.12;
|
|
45
|
+
readonly y: -0.9;
|
|
46
|
+
readonly opacity: -0.35;
|
|
47
|
+
}, {
|
|
48
|
+
readonly at: 0.46;
|
|
49
|
+
}, {
|
|
50
|
+
readonly at: 1;
|
|
51
|
+
}];
|
|
52
|
+
}];
|
|
53
|
+
readonly pivot: readonly [17.5, 6.5];
|
|
54
|
+
}, {
|
|
55
|
+
readonly name: "tile-2";
|
|
56
|
+
readonly paths: readonly ["M15 14H20Q21 14 21 15V20Q21 21 20 21H15Q14 21 14 20V15Q14 14 15 14Z"];
|
|
57
|
+
readonly poses: readonly [{}, {}, {
|
|
58
|
+
readonly x: 0.6;
|
|
59
|
+
readonly y: 0.6;
|
|
60
|
+
}];
|
|
61
|
+
readonly gestures: readonly [null, null, {
|
|
62
|
+
readonly duration: 0.8;
|
|
63
|
+
readonly repeatAfter: 1.7;
|
|
64
|
+
readonly loop: false;
|
|
65
|
+
readonly frames: readonly [{
|
|
66
|
+
readonly at: 0;
|
|
67
|
+
}, {
|
|
68
|
+
readonly at: 0.27999999999999997;
|
|
69
|
+
readonly y: -0.9;
|
|
70
|
+
readonly opacity: -0.35;
|
|
71
|
+
}, {
|
|
72
|
+
readonly at: 0.62;
|
|
73
|
+
}, {
|
|
74
|
+
readonly at: 1;
|
|
75
|
+
}];
|
|
76
|
+
}];
|
|
77
|
+
readonly pivot: readonly [17.5, 17.5];
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "tile-3";
|
|
80
|
+
readonly paths: readonly ["M4 14H9Q10 14 10 15V20Q10 21 9 21H4Q3 21 3 20V15Q3 14 4 14Z"];
|
|
81
|
+
readonly poses: readonly [{}, {}, {
|
|
82
|
+
readonly x: -0.6;
|
|
83
|
+
readonly y: 0.6;
|
|
84
|
+
}];
|
|
85
|
+
readonly gestures: readonly [null, null, {
|
|
86
|
+
readonly duration: 0.8;
|
|
87
|
+
readonly repeatAfter: 1.7;
|
|
88
|
+
readonly loop: false;
|
|
89
|
+
readonly frames: readonly [{
|
|
90
|
+
readonly at: 0;
|
|
91
|
+
}, {
|
|
92
|
+
readonly at: 0.2;
|
|
93
|
+
readonly y: -0.9;
|
|
94
|
+
readonly opacity: -0.35;
|
|
95
|
+
}, {
|
|
96
|
+
readonly at: 0.54;
|
|
97
|
+
}, {
|
|
98
|
+
readonly at: 1;
|
|
99
|
+
}];
|
|
100
|
+
}];
|
|
101
|
+
readonly pivot: readonly [6.5, 17.5];
|
|
102
|
+
}];
|
|
103
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
export const layoutGridStates = ['idle', 'hover', 'selected'];
|
|
2
|
+
export function resolveLayoutGridState(state = 'idle') {
|
|
3
|
+
if (state === 'reordering')
|
|
4
|
+
return 'hover';
|
|
5
|
+
if (state === 'ordered')
|
|
6
|
+
return 'selected';
|
|
7
|
+
return state;
|
|
8
|
+
}
|
|
9
|
+
// V2: authored from plain Lucide geometry and the current interaction brief.
|
|
10
|
+
// Source/license: THIRD_PARTY_NOTICES.md.
|
|
11
|
+
export const layoutGridArt = {
|
|
12
|
+
name: 'layout-grid',
|
|
13
|
+
parts: [
|
|
14
|
+
{
|
|
15
|
+
name: 'tile-0',
|
|
16
|
+
paths: ['M4 3H9Q10 3 10 4V9Q10 10 9 10H4Q3 10 3 9V4Q3 3 4 3Z'],
|
|
17
|
+
poses: [
|
|
18
|
+
{},
|
|
19
|
+
{},
|
|
20
|
+
{
|
|
21
|
+
x: -0.6,
|
|
22
|
+
y: -0.6,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
gestures: [
|
|
26
|
+
null,
|
|
27
|
+
null,
|
|
28
|
+
{
|
|
29
|
+
duration: 0.8,
|
|
30
|
+
repeatAfter: 1.7,
|
|
31
|
+
loop: false,
|
|
32
|
+
frames: [
|
|
33
|
+
{
|
|
34
|
+
at: 0,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
at: 0.04,
|
|
38
|
+
y: -0.9,
|
|
39
|
+
opacity: -0.35,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
at: 0.38,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
at: 1,
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
pivot: [6.5, 6.5],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'tile-1',
|
|
54
|
+
paths: ['M15 3H20Q21 3 21 4V9Q21 10 20 10H15Q14 10 14 9V4Q14 3 15 3Z'],
|
|
55
|
+
poses: [
|
|
56
|
+
{},
|
|
57
|
+
{},
|
|
58
|
+
{
|
|
59
|
+
x: 0.6,
|
|
60
|
+
y: -0.6,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
gestures: [
|
|
64
|
+
null,
|
|
65
|
+
null,
|
|
66
|
+
{
|
|
67
|
+
duration: 0.8,
|
|
68
|
+
repeatAfter: 1.7,
|
|
69
|
+
loop: false,
|
|
70
|
+
frames: [
|
|
71
|
+
{
|
|
72
|
+
at: 0,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
at: 0.12,
|
|
76
|
+
y: -0.9,
|
|
77
|
+
opacity: -0.35,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
at: 0.46,
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
at: 1,
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
pivot: [17.5, 6.5],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'tile-2',
|
|
92
|
+
paths: ['M15 14H20Q21 14 21 15V20Q21 21 20 21H15Q14 21 14 20V15Q14 14 15 14Z'],
|
|
93
|
+
poses: [
|
|
94
|
+
{},
|
|
95
|
+
{},
|
|
96
|
+
{
|
|
97
|
+
x: 0.6,
|
|
98
|
+
y: 0.6,
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
gestures: [
|
|
102
|
+
null,
|
|
103
|
+
null,
|
|
104
|
+
{
|
|
105
|
+
duration: 0.8,
|
|
106
|
+
repeatAfter: 1.7,
|
|
107
|
+
loop: false,
|
|
108
|
+
frames: [
|
|
109
|
+
{
|
|
110
|
+
at: 0,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
at: 0.27999999999999997,
|
|
114
|
+
y: -0.9,
|
|
115
|
+
opacity: -0.35,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
at: 0.62,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
at: 1,
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
pivot: [17.5, 17.5],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'tile-3',
|
|
130
|
+
paths: ['M4 14H9Q10 14 10 15V20Q10 21 9 21H4Q3 21 3 20V15Q3 14 4 14Z'],
|
|
131
|
+
poses: [
|
|
132
|
+
{},
|
|
133
|
+
{},
|
|
134
|
+
{
|
|
135
|
+
x: -0.6,
|
|
136
|
+
y: 0.6,
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
gestures: [
|
|
140
|
+
null,
|
|
141
|
+
null,
|
|
142
|
+
{
|
|
143
|
+
duration: 0.8,
|
|
144
|
+
repeatAfter: 1.7,
|
|
145
|
+
loop: false,
|
|
146
|
+
frames: [
|
|
147
|
+
{
|
|
148
|
+
at: 0,
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
at: 0.2,
|
|
152
|
+
y: -0.9,
|
|
153
|
+
opacity: -0.35,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
at: 0.54,
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
at: 1,
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
pivot: [6.5, 17.5],
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type ListState } from "./list-rig.js";
|
|
3
|
+
export { listStates, type ListState } from "./list-rig.js";
|
|
4
|
+
export type ListIconProps = StatefulIconProps<ListState>;
|
|
5
|
+
export declare const ListIcon: import("react").NamedExoticComponent<ListIconProps>;
|
|
@@ -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 { listArt, listStates } from "./list-rig.js";
|
|
6
|
+
export { listStates } from "./list-rig.js";
|
|
7
|
+
export const ListIcon = memo(function ListIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: listArt, states: listStates, ...props });
|
|
9
|
+
});
|