weasel-icons 0.1.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 +93 -5
- package/THIRD_PARTY_NOTICES.md +17 -5
- package/dist/icons/alert/alert-icon.d.ts +6 -0
- package/dist/icons/alert/alert-icon.js +22 -0
- package/dist/icons/alert/alert-rig.d.ts +12 -0
- package/dist/icons/alert/alert-rig.js +25 -0
- 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/badge-check/badge-check-icon.d.ts +5 -0
- package/dist/icons/badge-check/badge-check-icon.js +33 -0
- package/dist/icons/badge-check/badge-check-rig.d.ts +14 -0
- package/dist/icons/badge-check/badge-check-rig.js +36 -0
- package/dist/icons/bell/bell-icon.js +1 -1
- 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/bulb/bulb-icon.d.ts +5 -0
- package/dist/icons/bulb/bulb-icon.js +25 -0
- package/dist/icons/bulb/bulb-rig.d.ts +13 -0
- package/dist/icons/bulb/bulb-rig.js +37 -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/check/check-icon.d.ts +5 -0
- package/dist/icons/check/check-icon.js +26 -0
- package/dist/icons/check/check-rig.d.ts +6 -0
- package/dist/icons/check/check-rig.js +38 -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/clapperboard/clapperboard-icon.d.ts +5 -0
- package/dist/icons/clapperboard/clapperboard-icon.js +18 -0
- package/dist/icons/clapperboard/clapperboard-rig.d.ts +12 -0
- package/dist/icons/clapperboard/clapperboard-rig.js +25 -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/close/close-icon.d.ts +5 -0
- package/dist/icons/close/close-icon.js +27 -0
- package/dist/icons/close/close-rig.d.ts +10 -0
- package/dist/icons/close/close-rig.js +31 -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/copy/copy-icon.d.ts +5 -0
- package/dist/icons/copy/copy-icon.js +31 -0
- package/dist/icons/copy/copy-rig.d.ts +13 -0
- package/dist/icons/copy/copy-rig.js +44 -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/cursor/cursor-icon.d.ts +5 -0
- package/dist/icons/cursor/cursor-icon.js +32 -0
- package/dist/icons/cursor/cursor-rig.d.ts +21 -0
- package/dist/icons/cursor/cursor-rig.js +63 -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/delete/delete-icon.d.ts +5 -0
- package/dist/icons/delete/delete-icon.js +25 -0
- package/dist/icons/delete/delete-rig.d.ts +15 -0
- package/dist/icons/delete/delete-rig.js +33 -0
- package/dist/icons/dog/dog-icon.js +1 -1
- package/dist/icons/download/download-icon.js +1 -1
- 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/eye/eye-icon.d.ts +5 -0
- package/dist/icons/eye/eye-icon.js +27 -0
- package/dist/icons/eye/eye-rig.d.ts +9 -0
- package/dist/icons/eye/eye-rig.js +37 -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/heart/heart-icon.js +1 -1
- package/dist/icons/heart/heart-rig.js +1 -1
- 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/link/link-icon.d.ts +5 -0
- package/dist/icons/link/link-icon.js +30 -0
- package/dist/icons/link/link-rig.d.ts +13 -0
- package/dist/icons/link/link-rig.js +37 -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/monkey/monkey-icon.js +1 -1
- 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/plug/plug-icon.d.ts +5 -0
- package/dist/icons/plug/plug-icon.js +21 -0
- package/dist/icons/plug/plug-rig.d.ts +16 -0
- package/dist/icons/plug/plug-rig.js +29 -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/refresh/refresh-icon.d.ts +5 -0
- package/dist/icons/refresh/refresh-icon.js +40 -0
- package/dist/icons/refresh/refresh-rig.d.ts +11 -0
- package/dist/icons/refresh/refresh-rig.js +30 -0
- package/dist/icons/replace/replace-icon.d.ts +5 -0
- package/dist/icons/replace/replace-icon.js +26 -0
- package/dist/icons/replace/replace-rig.d.ts +20 -0
- package/dist/icons/replace/replace-rig.js +42 -0
- package/dist/icons/rocket/rocket-icon.js +1 -1
- 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/search/search-icon.js +1 -1
- 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/shield/shield-icon.d.ts +5 -0
- package/dist/icons/shield/shield-icon.js +25 -0
- package/dist/icons/shield/shield-rig.d.ts +23 -0
- package/dist/icons/shield/shield-rig.js +42 -0
- package/dist/icons/ship/ship-icon.js +1 -1
- 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/sparkle/sparkle-icon.d.ts +5 -0
- package/dist/icons/sparkle/sparkle-icon.js +27 -0
- package/dist/icons/sparkle/sparkle-rig.d.ts +8 -0
- package/dist/icons/sparkle/sparkle-rig.js +6 -0
- package/dist/icons/sparkles/sparkles-icon.d.ts +5 -0
- package/dist/icons/sparkles/sparkles-icon.js +27 -0
- package/dist/icons/sparkles/sparkles-rig.d.ts +14 -0
- package/dist/icons/sparkles/sparkles-rig.js +24 -0
- package/dist/icons/star/star-icon.d.ts +5 -0
- package/dist/icons/star/star-icon.js +38 -0
- package/dist/icons/star/star-rig.d.ts +20 -0
- package/dist/icons/star/star-rig.js +61 -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/swap/swap-icon.d.ts +5 -0
- package/dist/icons/swap/swap-icon.js +26 -0
- package/dist/icons/swap/swap-rig.d.ts +10 -0
- package/dist/icons/swap/swap-rig.js +24 -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/wave/wave-icon.d.ts +5 -0
- package/dist/icons/wave/wave-icon.js +18 -0
- package/dist/icons/wave/wave-rig.d.ts +8 -0
- package/dist/icons/wave/wave-rig.js +39 -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 +93 -2
- package/dist/index.js +92 -1
- 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 +95 -4
- package/dist/shared/icon-types.d.ts +1 -0
- package/dist/shared/sparkle-motion.d.ts +12 -0
- package/dist/shared/sparkle-motion.js +38 -0
- package/dist/shared/use-icon-motion.d.ts +5 -1
- package/dist/shared/use-icon-motion.js +30 -3
- package/package.json +464 -9
- package/dist/icons/leaf/leaf-icon.d.ts +0 -6
- package/dist/icons/leaf/leaf-icon.js +0 -29
- package/dist/icons/leaf/leaf-rig.d.ts +0 -25
- package/dist/icons/leaf/leaf-rig.js +0 -201
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
export const sunStates = ['idle', 'rising', 'bright'];
|
|
2
|
+
// Lucide-derived outline; attribution and pinned source: THIRD_PARTY_NOTICES.md.
|
|
3
|
+
// The disc gathers small while its rays wake outward, then holds a larger bright center and fully extended rays.
|
|
4
|
+
export const sunArt = {
|
|
5
|
+
name: 'sun',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'disc',
|
|
9
|
+
paths: ['M8 12a4 4 0 1 0 8 0a4 4 0 1 0 -8 0'],
|
|
10
|
+
poses: [
|
|
11
|
+
{},
|
|
12
|
+
{
|
|
13
|
+
scaleX: 0.72,
|
|
14
|
+
scaleY: 0.72,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
scaleX: 1.2,
|
|
18
|
+
scaleY: 1.2,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
pivot: [12, 12],
|
|
22
|
+
gestures: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'ray-0',
|
|
26
|
+
paths: ['M12 2v2'],
|
|
27
|
+
poses: [
|
|
28
|
+
{
|
|
29
|
+
scaleX: 0.7,
|
|
30
|
+
scaleY: 0.7,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
x: 0,
|
|
34
|
+
y: 0.7,
|
|
35
|
+
scaleX: 0.7,
|
|
36
|
+
scaleY: 0.7,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
x: 0,
|
|
40
|
+
y: -0.3,
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
pivot: [12, 4],
|
|
44
|
+
gestures: [
|
|
45
|
+
null,
|
|
46
|
+
{
|
|
47
|
+
duration: 1.4,
|
|
48
|
+
repeatAfter: 2.3,
|
|
49
|
+
loop: true,
|
|
50
|
+
frames: [
|
|
51
|
+
{
|
|
52
|
+
at: 0,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
at: 0.2,
|
|
56
|
+
x: 0,
|
|
57
|
+
y: -1,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
at: 0.65,
|
|
61
|
+
x: 0,
|
|
62
|
+
y: 0,
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
at: 1,
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'ray-1',
|
|
73
|
+
paths: ['M12 20v2'],
|
|
74
|
+
poses: [
|
|
75
|
+
{
|
|
76
|
+
scaleX: 0.7,
|
|
77
|
+
scaleY: 0.7,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
x: 0,
|
|
81
|
+
y: -0.7,
|
|
82
|
+
scaleX: 0.7,
|
|
83
|
+
scaleY: 0.7,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
x: 0,
|
|
87
|
+
y: 0.3,
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
pivot: [12, 20],
|
|
91
|
+
gestures: [
|
|
92
|
+
null,
|
|
93
|
+
{
|
|
94
|
+
duration: 1.4,
|
|
95
|
+
repeatAfter: 2.3,
|
|
96
|
+
loop: true,
|
|
97
|
+
frames: [
|
|
98
|
+
{
|
|
99
|
+
at: 0,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
at: 0.2,
|
|
103
|
+
x: 0,
|
|
104
|
+
y: 1,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
at: 0.65,
|
|
108
|
+
x: 0,
|
|
109
|
+
y: 0,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
at: 1,
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: 'ray-2',
|
|
120
|
+
paths: ['m4.93 4.93 1.41 1.41'],
|
|
121
|
+
poses: [
|
|
122
|
+
{
|
|
123
|
+
scaleX: 0.7,
|
|
124
|
+
scaleY: 0.7,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
x: 0.49489999999999995,
|
|
128
|
+
y: 0.49489999999999995,
|
|
129
|
+
scaleX: 0.7,
|
|
130
|
+
scaleY: 0.7,
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
x: -0.21209999999999998,
|
|
134
|
+
y: -0.21209999999999998,
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
pivot: [6.35, 6.35],
|
|
138
|
+
gestures: [
|
|
139
|
+
null,
|
|
140
|
+
{
|
|
141
|
+
duration: 1.4,
|
|
142
|
+
repeatAfter: 2.3,
|
|
143
|
+
loop: true,
|
|
144
|
+
frames: [
|
|
145
|
+
{
|
|
146
|
+
at: 0,
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
at: 0.2,
|
|
150
|
+
x: -0.707,
|
|
151
|
+
y: -0.707,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
at: 0.65,
|
|
155
|
+
x: 0,
|
|
156
|
+
y: 0,
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
at: 1,
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'ray-3',
|
|
167
|
+
paths: ['m17.66 17.66 1.41 1.41'],
|
|
168
|
+
poses: [
|
|
169
|
+
{
|
|
170
|
+
scaleX: 0.7,
|
|
171
|
+
scaleY: 0.7,
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
x: -0.49489999999999995,
|
|
175
|
+
y: -0.49489999999999995,
|
|
176
|
+
scaleX: 0.7,
|
|
177
|
+
scaleY: 0.7,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
x: 0.21209999999999998,
|
|
181
|
+
y: 0.21209999999999998,
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
pivot: [17.65, 17.65],
|
|
185
|
+
gestures: [
|
|
186
|
+
null,
|
|
187
|
+
{
|
|
188
|
+
duration: 1.4,
|
|
189
|
+
repeatAfter: 2.3,
|
|
190
|
+
loop: true,
|
|
191
|
+
frames: [
|
|
192
|
+
{
|
|
193
|
+
at: 0,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
at: 0.2,
|
|
197
|
+
x: 0.707,
|
|
198
|
+
y: 0.707,
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
at: 0.65,
|
|
202
|
+
x: 0,
|
|
203
|
+
y: 0,
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
at: 1,
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: 'ray-4',
|
|
214
|
+
paths: ['M2 12h2'],
|
|
215
|
+
poses: [
|
|
216
|
+
{
|
|
217
|
+
scaleX: 0.7,
|
|
218
|
+
scaleY: 0.7,
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
x: 0.7,
|
|
222
|
+
y: 0,
|
|
223
|
+
scaleX: 0.7,
|
|
224
|
+
scaleY: 0.7,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
x: -0.3,
|
|
228
|
+
y: 0,
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
pivot: [4, 12],
|
|
232
|
+
gestures: [
|
|
233
|
+
null,
|
|
234
|
+
{
|
|
235
|
+
duration: 1.4,
|
|
236
|
+
repeatAfter: 2.3,
|
|
237
|
+
loop: true,
|
|
238
|
+
frames: [
|
|
239
|
+
{
|
|
240
|
+
at: 0,
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
at: 0.2,
|
|
244
|
+
x: -1,
|
|
245
|
+
y: 0,
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
at: 0.65,
|
|
249
|
+
x: 0,
|
|
250
|
+
y: 0,
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
at: 1,
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
name: 'ray-5',
|
|
261
|
+
paths: ['M20 12h2'],
|
|
262
|
+
poses: [
|
|
263
|
+
{
|
|
264
|
+
scaleX: 0.7,
|
|
265
|
+
scaleY: 0.7,
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
x: -0.7,
|
|
269
|
+
y: 0,
|
|
270
|
+
scaleX: 0.7,
|
|
271
|
+
scaleY: 0.7,
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
x: 0.3,
|
|
275
|
+
y: 0,
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
pivot: [20, 12],
|
|
279
|
+
gestures: [
|
|
280
|
+
null,
|
|
281
|
+
{
|
|
282
|
+
duration: 1.4,
|
|
283
|
+
repeatAfter: 2.3,
|
|
284
|
+
loop: true,
|
|
285
|
+
frames: [
|
|
286
|
+
{
|
|
287
|
+
at: 0,
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
at: 0.2,
|
|
291
|
+
x: 1,
|
|
292
|
+
y: 0,
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
at: 0.65,
|
|
296
|
+
x: 0,
|
|
297
|
+
y: 0,
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
at: 1,
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'ray-6',
|
|
308
|
+
paths: ['m6.34 17.66-1.41 1.41'],
|
|
309
|
+
poses: [
|
|
310
|
+
{
|
|
311
|
+
scaleX: 0.7,
|
|
312
|
+
scaleY: 0.7,
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
x: 0.49489999999999995,
|
|
316
|
+
y: -0.49489999999999995,
|
|
317
|
+
scaleX: 0.7,
|
|
318
|
+
scaleY: 0.7,
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
x: -0.21209999999999998,
|
|
322
|
+
y: 0.21209999999999998,
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
pivot: [6.35, 17.65],
|
|
326
|
+
gestures: [
|
|
327
|
+
null,
|
|
328
|
+
{
|
|
329
|
+
duration: 1.4,
|
|
330
|
+
repeatAfter: 2.3,
|
|
331
|
+
loop: true,
|
|
332
|
+
frames: [
|
|
333
|
+
{
|
|
334
|
+
at: 0,
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
at: 0.2,
|
|
338
|
+
x: -0.707,
|
|
339
|
+
y: 0.707,
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
at: 0.65,
|
|
343
|
+
x: 0,
|
|
344
|
+
y: 0,
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
at: 1,
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
name: 'ray-7',
|
|
355
|
+
paths: ['m19.07 4.93-1.41 1.41'],
|
|
356
|
+
poses: [
|
|
357
|
+
{
|
|
358
|
+
scaleX: 0.7,
|
|
359
|
+
scaleY: 0.7,
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
x: -0.49489999999999995,
|
|
363
|
+
y: 0.49489999999999995,
|
|
364
|
+
scaleX: 0.7,
|
|
365
|
+
scaleY: 0.7,
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
x: 0.21209999999999998,
|
|
369
|
+
y: -0.21209999999999998,
|
|
370
|
+
},
|
|
371
|
+
],
|
|
372
|
+
pivot: [17.65, 6.35],
|
|
373
|
+
gestures: [
|
|
374
|
+
null,
|
|
375
|
+
{
|
|
376
|
+
duration: 1.4,
|
|
377
|
+
repeatAfter: 2.3,
|
|
378
|
+
loop: true,
|
|
379
|
+
frames: [
|
|
380
|
+
{
|
|
381
|
+
at: 0,
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
at: 0.2,
|
|
385
|
+
x: 0.707,
|
|
386
|
+
y: -0.707,
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
at: 0.65,
|
|
390
|
+
x: 0,
|
|
391
|
+
y: 0,
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
at: 1,
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type SwapState } from "./swap-rig.js";
|
|
3
|
+
export { swapStates, type SwapState } from "./swap-rig.js";
|
|
4
|
+
export type SwapIconProps = StatefulIconProps<SwapState>;
|
|
5
|
+
export declare const SwapIcon: import("react").NamedExoticComponent<SwapIconProps>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { memo, useCallback, useRef } from 'react';
|
|
4
|
+
import { motion, useTransform } from 'motion/react';
|
|
5
|
+
import { usePoseWeight, useBehaviorClock, useActionProgress } from "../../shared/use-icon-motion.js";
|
|
6
|
+
import { useMotionPreference } from "../../shared/use-motion-preference.js";
|
|
7
|
+
import { SWAP_LEFT, SWAP_RIGHT, sampleSwap } from "./swap-rig.js";
|
|
8
|
+
export { swapStates } from "./swap-rig.js";
|
|
9
|
+
const ORIGIN = { originX: '0px', originY: '0px', transformBox: 'view-box' };
|
|
10
|
+
export const SwapIcon = memo(function SwapIcon({ state = 'idle', size = 24, color = 'currentColor', strokeWidth = 1.65, speed = 1, alive = false, className, }) {
|
|
11
|
+
const reduced = useMotionPreference(), element = useRef(null);
|
|
12
|
+
const pace = Number.isFinite(speed) ? Math.min(4, Math.max(0.1, speed)) : 1;
|
|
13
|
+
const idle = usePoseWeight(state === 'idle', pace, reduced), swapping = usePoseWeight(state === 'swapping', pace, reduced), swapped = usePoseWeight(state === 'swapped', pace, reduced), error = usePoseWeight(state === 'error', pace, reduced);
|
|
14
|
+
const performs = alive && !reduced && state !== 'idle', life = usePoseWeight(performs, pace, reduced), time = useBehaviorClock(element, performs, pace, life);
|
|
15
|
+
const first = useRef(state !== 'swapping');
|
|
16
|
+
const canRestart = useCallback(() => {
|
|
17
|
+
const invisible = first.current || swapping.get() < 0.001;
|
|
18
|
+
first.current = false;
|
|
19
|
+
return invisible;
|
|
20
|
+
}, [swapping]);
|
|
21
|
+
const entry = useActionProgress(state === 'swapping', pace, reduced, 1.1, canRestart);
|
|
22
|
+
const errorEntry = useActionProgress(state === 'error', pace, reduced, 1.15);
|
|
23
|
+
const rig = useTransform(() => sampleSwap([idle.get(), swapping.get(), swapped.get(), error.get()], time.get(), life.get(), entry.get(), errorEntry.get()));
|
|
24
|
+
const body = useTransform(rig, (r) => r.body), left = useTransform(rig, (r) => r.left), right = useTransform(rig, (r) => r.right);
|
|
25
|
+
return (_jsx("svg", { ref: element, className: className, width: size, height: size, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", focusable: "false", pointerEvents: "none", style: { display: 'block', overflow: 'visible' }, children: _jsxs(motion.g, { "data-layer": "swap-body", transform: body, style: ORIGIN, children: [_jsx(motion.path, { "data-layer": "swap-left", "data-part": "left-arrow", d: SWAP_LEFT, transform: left, style: ORIGIN }), _jsx(motion.path, { "data-layer": "swap-right", "data-part": "right-arrow", d: SWAP_RIGHT, transform: right, style: ORIGIN })] }) }));
|
|
26
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const swapStates: readonly ["idle", "swapping", "swapped", "error"];
|
|
2
|
+
export type SwapState = (typeof swapStates)[number];
|
|
3
|
+
/** Lucide arrow-left-right: complete arrows, with their heads attached. */
|
|
4
|
+
export declare const SWAP_LEFT = "M8 3 4 7l4 4M4 7h16";
|
|
5
|
+
export declare const SWAP_RIGHT = "m16 21 4-4-4-4M20 17H4";
|
|
6
|
+
export declare function sampleSwap(weights: readonly number[], time?: number, alive?: number, entry?: number, errorEntry?: number): {
|
|
7
|
+
body: string;
|
|
8
|
+
left: string;
|
|
9
|
+
right: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const swapStates = ['idle', 'swapping', 'swapped', 'error'];
|
|
2
|
+
/** Lucide arrow-left-right: complete arrows, with their heads attached. */
|
|
3
|
+
export const SWAP_LEFT = 'M8 3 4 7l4 4M4 7h16';
|
|
4
|
+
export const SWAP_RIGHT = 'm16 21 4-4-4-4M20 17H4';
|
|
5
|
+
export function sampleSwap(weights, time = 0, alive = 0, entry = 1, errorEntry = 1) {
|
|
6
|
+
const clamp = (n) => Math.max(0, Math.min(1, n));
|
|
7
|
+
const [, swapping, swapped, error] = weights.map(clamp), life = clamp(alive);
|
|
8
|
+
const t = time % 3.2;
|
|
9
|
+
const travel = Math.max(entry >= 1 ? 0 : behaviorBeat(clamp(entry) * 1.1, 0, 0.38, 0.1, 0.62), life * behaviorBeat(t, 0.12, 0.38, 0.1, 0.62), life * behaviorBeat(t, 1.72, 0.38, 0.1, 0.62));
|
|
10
|
+
// Attempt → jam → recoil → rest. Error feedback is not gated by living mode.
|
|
11
|
+
const rejection = (seconds) => 1.7 * behaviorBeat(seconds, 0.06, 0.2, 0.05, 0.25) -
|
|
12
|
+
0.9 * behaviorBeat(seconds, 0.5, 0.12, 0.02, 0.46);
|
|
13
|
+
const entryRefusal = errorEntry >= 1 ? 0 : rejection(clamp(errorEntry) * 1.15);
|
|
14
|
+
const refuse = error * ((1 - life) * entryRefusal + life * rejection(t));
|
|
15
|
+
const shift = -swapping * travel * 1.45 + error * 0.65 + refuse;
|
|
16
|
+
const spread = swapped * (0.5 + life * behaviorBeat(t, 0.2, 0.3, 0.1, 0.6) * 0.25);
|
|
17
|
+
const tilt = error * 8 + refuse * 5;
|
|
18
|
+
return {
|
|
19
|
+
body: `translate(12px, 12px) rotate(${180 * swapped}deg) scale(0.82) translate(-12px, -12px)`,
|
|
20
|
+
left: `translate(${shift}px, ${-spread}px) translate(12px, 7px) rotate(${tilt}deg) translate(-12px, -7px)`,
|
|
21
|
+
right: `translate(${-shift}px, ${spread}px) translate(12px, 17px) rotate(${-tilt}deg) translate(-12px, -17px)`,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
import { behaviorBeat } from "../../shared/behavior-curves.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type TerminalState } from "./terminal-rig.js";
|
|
3
|
+
export { terminalStates, type TerminalState } from "./terminal-rig.js";
|
|
4
|
+
export type TerminalIconProps = StatefulIconProps<TerminalState>;
|
|
5
|
+
export declare const TerminalIcon: import("react").NamedExoticComponent<TerminalIconProps>;
|
|
@@ -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 { terminalArt, terminalStates } from "./terminal-rig.js";
|
|
6
|
+
export { terminalStates } from "./terminal-rig.js";
|
|
7
|
+
export const TerminalIcon = memo(function TerminalIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: terminalArt, states: terminalStates, ...props });
|
|
9
|
+
});
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare const terminalStates: readonly ["idle", "running", "complete"];
|
|
2
|
+
export type TerminalState = (typeof terminalStates)[number];
|
|
3
|
+
export declare const terminalArt: {
|
|
4
|
+
readonly name: "terminal";
|
|
5
|
+
readonly parts: readonly [{
|
|
6
|
+
readonly name: "prompt";
|
|
7
|
+
readonly paths: readonly ["m4 17 6-6-6-6"];
|
|
8
|
+
readonly poses: readonly [{}, {
|
|
9
|
+
readonly x: -1.2;
|
|
10
|
+
}, {}];
|
|
11
|
+
readonly pivot: readonly [12, 12];
|
|
12
|
+
readonly gestures: readonly [];
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "cursor";
|
|
15
|
+
readonly paths: readonly ["M12 19L16 19L20 19"];
|
|
16
|
+
readonly poses: readonly [{}, {
|
|
17
|
+
readonly draw: 0.3;
|
|
18
|
+
readonly scaleX: 0.65;
|
|
19
|
+
}, {}];
|
|
20
|
+
readonly pivot: readonly [12, 19];
|
|
21
|
+
readonly gestures: readonly [null, {
|
|
22
|
+
readonly duration: 3.2;
|
|
23
|
+
readonly repeatAfter: 4.2;
|
|
24
|
+
readonly loop: true;
|
|
25
|
+
readonly frames: readonly [{
|
|
26
|
+
readonly at: 0;
|
|
27
|
+
}, {
|
|
28
|
+
readonly at: 0.12;
|
|
29
|
+
readonly x: 0.8;
|
|
30
|
+
}, {
|
|
31
|
+
readonly at: 0.24;
|
|
32
|
+
readonly x: 0.8;
|
|
33
|
+
}, {
|
|
34
|
+
readonly at: 0.38;
|
|
35
|
+
readonly x: 1.8;
|
|
36
|
+
}, {
|
|
37
|
+
readonly at: 0.5;
|
|
38
|
+
readonly x: 1.8;
|
|
39
|
+
}, {
|
|
40
|
+
readonly at: 0.65;
|
|
41
|
+
readonly x: 3;
|
|
42
|
+
}, {
|
|
43
|
+
readonly at: 0.74;
|
|
44
|
+
readonly x: 3;
|
|
45
|
+
readonly opacity: -1;
|
|
46
|
+
}, {
|
|
47
|
+
readonly at: 0.88;
|
|
48
|
+
readonly opacity: -1;
|
|
49
|
+
}, {
|
|
50
|
+
readonly at: 1;
|
|
51
|
+
}];
|
|
52
|
+
}, {
|
|
53
|
+
readonly duration: 1.1;
|
|
54
|
+
readonly repeatAfter: 2.1;
|
|
55
|
+
readonly loop: false;
|
|
56
|
+
readonly frames: readonly [{
|
|
57
|
+
readonly at: 0;
|
|
58
|
+
}, {
|
|
59
|
+
readonly at: 0.12;
|
|
60
|
+
readonly draw: -0.85;
|
|
61
|
+
}, {
|
|
62
|
+
readonly at: 0.65;
|
|
63
|
+
readonly draw: 0;
|
|
64
|
+
}, {
|
|
65
|
+
readonly at: 1;
|
|
66
|
+
}];
|
|
67
|
+
}];
|
|
68
|
+
readonly pathStates: readonly [readonly ["M12 19L16 19L20 19"], readonly ["M12 19L16 19L20 19"], readonly ["M12 17L15 20L21 14"]];
|
|
69
|
+
readonly traceLength: 12;
|
|
70
|
+
}];
|
|
71
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export const terminalStates = ['idle', 'running', 'complete'];
|
|
2
|
+
// Lucide-derived outline; attribution and pinned source: THIRD_PARTY_NOTICES.md.
|
|
3
|
+
// Run a command: the cursor types in three bursts with pauses, then resets only while invisible. Completion writes a single check; the prompt remains fixed.
|
|
4
|
+
export const terminalArt = {
|
|
5
|
+
name: 'terminal',
|
|
6
|
+
parts: [
|
|
7
|
+
{
|
|
8
|
+
name: 'prompt',
|
|
9
|
+
paths: ['m4 17 6-6-6-6'],
|
|
10
|
+
poses: [
|
|
11
|
+
{},
|
|
12
|
+
{
|
|
13
|
+
x: -1.2,
|
|
14
|
+
},
|
|
15
|
+
{},
|
|
16
|
+
],
|
|
17
|
+
pivot: [12, 12],
|
|
18
|
+
gestures: [],
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'cursor',
|
|
22
|
+
paths: ['M12 19L16 19L20 19'],
|
|
23
|
+
poses: [
|
|
24
|
+
{},
|
|
25
|
+
{
|
|
26
|
+
draw: 0.3,
|
|
27
|
+
scaleX: 0.65,
|
|
28
|
+
},
|
|
29
|
+
{},
|
|
30
|
+
],
|
|
31
|
+
pivot: [12, 19],
|
|
32
|
+
gestures: [
|
|
33
|
+
null,
|
|
34
|
+
{
|
|
35
|
+
duration: 3.2,
|
|
36
|
+
repeatAfter: 4.2,
|
|
37
|
+
loop: true,
|
|
38
|
+
frames: [
|
|
39
|
+
{
|
|
40
|
+
at: 0,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
at: 0.12,
|
|
44
|
+
x: 0.8,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
at: 0.24,
|
|
48
|
+
x: 0.8,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
at: 0.38,
|
|
52
|
+
x: 1.8,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
at: 0.5,
|
|
56
|
+
x: 1.8,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
at: 0.65,
|
|
60
|
+
x: 3,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
at: 0.74,
|
|
64
|
+
x: 3,
|
|
65
|
+
opacity: -1,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
at: 0.88,
|
|
69
|
+
opacity: -1,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
at: 1,
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
duration: 1.1,
|
|
78
|
+
repeatAfter: 2.1,
|
|
79
|
+
loop: false,
|
|
80
|
+
frames: [
|
|
81
|
+
{
|
|
82
|
+
at: 0,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
at: 0.12,
|
|
86
|
+
draw: -0.85,
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
at: 0.65,
|
|
90
|
+
draw: 0,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
at: 1,
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
pathStates: [['M12 19L16 19L20 19'], ['M12 19L16 19L20 19'], ['M12 17L15 20L21 14']],
|
|
99
|
+
traceLength: 12,
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StatefulIconProps } from "../../shared/icon-types.js";
|
|
2
|
+
import { type TimerState } from "./timer-rig.js";
|
|
3
|
+
export { timerStates, type TimerState } from "./timer-rig.js";
|
|
4
|
+
export type TimerIconProps = StatefulIconProps<TimerState>;
|
|
5
|
+
export declare const TimerIcon: import("react").NamedExoticComponent<TimerIconProps>;
|
|
@@ -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 { timerArt, timerStates } from "./timer-rig.js";
|
|
6
|
+
export { timerStates } from "./timer-rig.js";
|
|
7
|
+
export const TimerIcon = memo(function TimerIcon(props) {
|
|
8
|
+
return _jsx(ArticulatedIcon, { art: timerArt, states: timerStates, ...props });
|
|
9
|
+
});
|