@nordmanai/nif 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +31342 -11760
- package/dist/styles.css +1 -1
- package/dist/ui/components/nm-ai/nm-ai.d.ts +4 -0
- package/dist/ui/components/nm-alert/nm-alert.d.ts +13 -0
- package/dist/ui/components/nm-button/nm-button.d.ts +4 -2
- package/dist/ui/components/nm-checkbox/nm-checkbox.d.ts +1 -1
- package/dist/ui/components/nm-chip/nm-chip.d.ts +5 -2
- package/dist/ui/components/nm-collapsible/nm-collapsible.d.ts +6 -0
- package/dist/ui/components/nm-combobox/nm-combobox.d.ts +1 -1
- package/dist/ui/components/nm-command/nm-command.d.ts +8 -1
- package/dist/ui/components/nm-composer/nm-composer.d.ts +47 -4
- package/dist/ui/components/nm-context-menu/nm-context-menu.d.ts +1 -1
- package/dist/ui/components/nm-dialog/nm-dialog.d.ts +1 -1
- package/dist/ui/components/nm-dropdown/nm-dropdown.d.ts +1 -1
- package/dist/ui/components/nm-dropdown-menu/nm-dropdown-menu.d.ts +11 -2
- package/dist/ui/components/nm-hover-card/nm-hover-card.d.ts +1 -1
- package/dist/ui/components/nm-icon/animated/activity.d.ts +72 -0
- package/dist/ui/components/nm-icon/animated/archive.d.ts +31 -0
- package/dist/ui/components/nm-icon/animated/arrow-down.d.ts +128 -0
- package/dist/ui/components/nm-icon/animated/arrow-left.d.ts +128 -0
- package/dist/ui/components/nm-icon/animated/arrow-right.d.ts +128 -0
- package/dist/ui/components/nm-icon/animated/arrow-up-down.d.ts +119 -0
- package/dist/ui/components/nm-icon/animated/arrow-up.d.ts +128 -0
- package/dist/ui/components/nm-icon/animated/audio-lines.d.ts +99 -0
- package/dist/ui/components/nm-icon/animated/bookmark-plus.d.ts +35 -0
- package/dist/ui/components/nm-icon/animated/bookmark.d.ts +52 -0
- package/dist/ui/components/nm-icon/animated/bot.d.ts +90 -0
- package/dist/ui/components/nm-icon/animated/calendar-days.d.ts +87 -0
- package/dist/ui/components/nm-icon/animated/calendar.d.ts +36 -0
- package/dist/ui/components/nm-icon/animated/camera.d.ts +50 -0
- package/dist/ui/components/nm-icon/animated/chart-column-increasing.d.ts +37 -0
- package/dist/ui/components/nm-icon/animated/chart-column.d.ts +86 -0
- package/dist/ui/components/nm-icon/animated/chart-line.d.ts +51 -0
- package/dist/ui/components/nm-icon/animated/check-check.d.ts +50 -0
- package/dist/ui/components/nm-icon/animated/check.d.ts +25 -0
- package/dist/ui/components/nm-icon/animated/chevron-down.d.ts +39 -0
- package/dist/ui/components/nm-icon/animated/chevron-left.d.ts +39 -0
- package/dist/ui/components/nm-icon/animated/chevron-right.d.ts +39 -0
- package/dist/ui/components/nm-icon/animated/chevron-up.d.ts +39 -0
- package/dist/ui/components/nm-icon/animated/circle-alert.d.ts +23 -0
- package/dist/ui/components/nm-icon/animated/circle-check-big.d.ts +26 -0
- package/dist/ui/components/nm-icon/animated/circle-check.d.ts +26 -0
- package/dist/ui/components/nm-icon/animated/circle-plus.d.ts +44 -0
- package/dist/ui/components/nm-icon/animated/circle-question-mark.d.ts +22 -0
- package/dist/ui/components/nm-icon/animated/circle-x.d.ts +44 -0
- package/dist/ui/components/nm-icon/animated/clock-3.d.ts +44 -0
- package/dist/ui/components/nm-icon/animated/clock-4.d.ts +44 -0
- package/dist/ui/components/nm-icon/animated/clock.d.ts +44 -0
- package/dist/ui/components/nm-icon/animated/cloud-sun.d.ts +9 -0
- package/dist/ui/components/nm-icon/animated/cloud-upload.d.ts +45 -0
- package/dist/ui/components/nm-icon/animated/copy.d.ts +135 -0
- package/dist/ui/components/nm-icon/animated/download.d.ts +45 -0
- package/dist/ui/components/nm-icon/animated/ellipsis.d.ts +141 -0
- package/dist/ui/components/nm-icon/animated/external-link.d.ts +49 -0
- package/dist/ui/components/nm-icon/animated/eye-off.d.ts +23 -0
- package/dist/ui/components/nm-icon/animated/eye.d.ts +39 -0
- package/dist/ui/components/nm-icon/animated/fast-forward.d.ts +34 -0
- package/dist/ui/components/nm-icon/animated/file-clock.d.ts +48 -0
- package/dist/ui/components/nm-icon/animated/file-text.d.ts +56 -0
- package/dist/ui/components/nm-icon/animated/file.d.ts +67 -0
- package/dist/ui/components/nm-icon/animated/folder.d.ts +92 -0
- package/dist/ui/components/nm-icon/animated/gauge.d.ts +47 -0
- package/dist/ui/components/nm-icon/animated/globe.d.ts +21 -0
- package/dist/ui/components/nm-icon/animated/graduation-cap.d.ts +41 -0
- package/dist/ui/components/nm-icon/animated/headphones.d.ts +50 -0
- package/dist/ui/components/nm-icon/animated/image.d.ts +40 -0
- package/dist/ui/components/nm-icon/animated/index.d.ts +2 -0
- package/dist/ui/components/nm-icon/animated/info.d.ts +37 -0
- package/dist/ui/components/nm-icon/animated/key-round.d.ts +37 -0
- package/dist/ui/components/nm-icon/animated/layers.d.ts +61 -0
- package/dist/ui/components/nm-icon/animated/layout-dashboard.d.ts +131 -0
- package/dist/ui/components/nm-icon/animated/library-big.d.ts +29 -0
- package/dist/ui/components/nm-icon/animated/lightbulb.d.ts +51 -0
- package/dist/ui/components/nm-icon/animated/link.d.ts +193 -0
- package/dist/ui/components/nm-icon/animated/list-filter.d.ts +13 -0
- package/dist/ui/components/nm-icon/animated/list.d.ts +111 -0
- package/dist/ui/components/nm-icon/animated/loader-circle.d.ts +24 -0
- package/dist/ui/components/nm-icon/animated/lock.d.ts +94 -0
- package/dist/ui/components/nm-icon/animated/log-out.d.ts +45 -0
- package/dist/ui/components/nm-icon/animated/mail.d.ts +100 -0
- package/dist/ui/components/nm-icon/animated/map-pin.d.ts +67 -0
- package/dist/ui/components/nm-icon/animated/menu.d.ts +57 -0
- package/dist/ui/components/nm-icon/animated/message-circle-dashed.d.ts +34 -0
- package/dist/ui/components/nm-icon/animated/message-circle.d.ts +23 -0
- package/dist/ui/components/nm-icon/animated/message-square-plus.d.ts +49 -0
- package/dist/ui/components/nm-icon/animated/message-square-text.d.ts +104 -0
- package/dist/ui/components/nm-icon/animated/message-square.d.ts +23 -0
- package/dist/ui/components/nm-icon/animated/mic-off.d.ts +23 -0
- package/dist/ui/components/nm-icon/animated/mic.d.ts +37 -0
- package/dist/ui/components/nm-icon/animated/minimize.d.ts +139 -0
- package/dist/ui/components/nm-icon/animated/minus.d.ts +54 -0
- package/dist/ui/components/nm-icon/animated/moon.d.ts +62 -0
- package/dist/ui/components/nm-icon/animated/music.d.ts +22 -0
- package/dist/ui/components/nm-icon/animated/notebook-pen.d.ts +41 -0
- package/dist/ui/components/nm-icon/animated/panel-left.d.ts +29 -0
- package/dist/ui/components/nm-icon/animated/panel-right.d.ts +29 -0
- package/dist/ui/components/nm-icon/animated/paperclip.d.ts +49 -0
- package/dist/ui/components/nm-icon/animated/pause.d.ts +59 -0
- package/dist/ui/components/nm-icon/animated/pencil.d.ts +25 -0
- package/dist/ui/components/nm-icon/animated/pin-off.d.ts +44 -0
- package/dist/ui/components/nm-icon/animated/pin.d.ts +85 -0
- package/dist/ui/components/nm-icon/animated/plane-takeoff.d.ts +25 -0
- package/dist/ui/components/nm-icon/animated/play.d.ts +43 -0
- package/dist/ui/components/nm-icon/animated/plug-zap.d.ts +49 -0
- package/dist/ui/components/nm-icon/animated/plus.d.ts +95 -0
- package/dist/ui/components/nm-icon/animated/radio.d.ts +24 -0
- package/dist/ui/components/nm-icon/animated/refresh-cw.d.ts +55 -0
- package/dist/ui/components/nm-icon/animated/rocket.d.ts +48 -0
- package/dist/ui/components/nm-icon/animated/rotate-ccw.d.ts +51 -0
- package/dist/ui/components/nm-icon/animated/rotate-cw.d.ts +71 -0
- package/dist/ui/components/nm-icon/animated/save.d.ts +21 -0
- package/dist/ui/components/nm-icon/animated/search.d.ts +42 -0
- package/dist/ui/components/nm-icon/animated/send.d.ts +39 -0
- package/dist/ui/components/nm-icon/animated/settings.d.ts +39 -0
- package/dist/ui/components/nm-icon/animated/share-2.d.ts +122 -0
- package/dist/ui/components/nm-icon/animated/share.d.ts +40 -0
- package/dist/ui/components/nm-icon/animated/shield-check.d.ts +36 -0
- package/dist/ui/components/nm-icon/animated/shopping-bag.d.ts +35 -0
- package/dist/ui/components/nm-icon/animated/sliders-horizontal.d.ts +239 -0
- package/dist/ui/components/nm-icon/animated/sparkles.d.ts +205 -0
- package/dist/ui/components/nm-icon/animated/star.d.ts +48 -0
- package/dist/ui/components/nm-icon/animated/sun.d.ts +9 -0
- package/dist/ui/components/nm-icon/animated/terminal.d.ts +22 -0
- package/dist/ui/components/nm-icon/animated/trash-2.d.ts +61 -0
- package/dist/ui/components/nm-icon/animated/trash.d.ts +37 -0
- package/dist/ui/components/nm-icon/animated/trending-up.d.ts +40 -0
- package/dist/ui/components/nm-icon/animated/triangle-alert.d.ts +37 -0
- package/dist/ui/components/nm-icon/animated/trophy.d.ts +23 -0
- package/dist/ui/components/nm-icon/animated/type.d.ts +57 -0
- package/dist/ui/components/nm-icon/animated/upload.d.ts +49 -0
- package/dist/ui/components/nm-icon/animated/user-round.d.ts +33 -0
- package/dist/ui/components/nm-icon/animated/user.d.ts +33 -0
- package/dist/ui/components/nm-icon/animated/users-round.d.ts +93 -0
- package/dist/ui/components/nm-icon/animated/users.d.ts +93 -0
- package/dist/ui/components/nm-icon/animated/volume-2.d.ts +10 -0
- package/dist/ui/components/nm-icon/animated/wand-sparkles.d.ts +71 -0
- package/dist/ui/components/nm-icon/animated/x.d.ts +95 -0
- package/dist/ui/components/nm-icon/animated/zap.d.ts +65 -0
- package/dist/ui/components/nm-icon/animated/zoom-in.d.ts +35 -0
- package/dist/ui/components/nm-icon/animated/zoom-out.d.ts +53 -0
- package/dist/ui/components/nm-icon/nm-icon.d.ts +6 -3
- package/dist/ui/components/nm-icon/nm-lucide-extended.d.ts +3 -0
- package/dist/ui/components/nm-icon/nm-lucide.d.ts +7 -3
- package/dist/ui/components/nm-menubar/nm-menubar.d.ts +2 -2
- package/dist/ui/components/nm-panel/nm-panel.d.ts +5 -1
- package/dist/ui/components/nm-popover/nm-popover.d.ts +2 -2
- package/dist/ui/components/nm-progress/nm-progress.d.ts +1 -1
- package/dist/ui/components/nm-radio-group/nm-radio-group.d.ts +2 -2
- package/dist/ui/components/nm-select/nm-select.d.ts +1 -1
- package/dist/ui/components/nm-skeleton/nm-skeleton.d.ts +3 -0
- package/dist/ui/components/nm-slider/nm-slider.d.ts +1 -1
- package/dist/ui/components/nm-small-icon-button/nm-small-icon-button.d.ts +3 -3
- package/dist/ui/components/nm-spinner/nm-spinner.d.ts +3 -0
- package/dist/ui/components/nm-switch/nm-switch.d.ts +1 -1
- package/dist/ui/components/nm-tabs/nm-tabs.d.ts +6 -0
- package/dist/ui/components/nm-toggle/nm-toggle.d.ts +1 -1
- package/dist/ui/components/nm-tooltip/nm-tooltip.d.ts +1 -1
- package/dist/ui/components/nm-voice-orb/nm-voice-orb.d.ts +18 -0
- package/dist/ui/components/nm-voice-orb/use-nm-voice-orb-theme.d.ts +2 -0
- package/dist/ui/config/nm-app-panel.d.ts +2 -0
- package/dist/ui/config/nm-button.d.ts +6 -0
- package/dist/ui/config/nm-composer.d.ts +11 -0
- package/dist/ui/config/nm-icons-extended.d.ts +1 -0
- package/dist/ui/config/nm-icons.d.ts +4 -1
- package/dist/ui/config/nm-voice-orb.d.ts +22 -0
- package/dist/ui/lib/nm-motion.d.ts +29 -0
- package/package.json +12 -8
- package/registry/index.json +5099 -71
- package/registry/ui/components/nm-ai/nm-ai.tsx +7 -4
- package/registry/ui/components/nm-alert/nm-alert.css +85 -0
- package/registry/ui/components/nm-alert/nm-alert.tsx +35 -0
- package/registry/ui/components/nm-button/nm-button.css +24 -0
- package/registry/ui/components/nm-button/nm-button.tsx +25 -11
- package/registry/ui/components/nm-checkbox/nm-checkbox.tsx +1 -1
- package/registry/ui/components/nm-chip/nm-chip.css +25 -0
- package/registry/ui/components/nm-chip/nm-chip.tsx +9 -3
- package/registry/ui/components/nm-collapsible/nm-collapsible.css +3 -0
- package/registry/ui/components/nm-collapsible/nm-collapsible.tsx +16 -0
- package/registry/ui/components/nm-combobox/nm-combobox.tsx +1 -1
- package/registry/ui/components/nm-command/nm-command.css +48 -0
- package/registry/ui/components/nm-command/nm-command.tsx +19 -5
- package/registry/ui/components/nm-composer/nm-composer.css +87 -3
- package/registry/ui/components/nm-composer/nm-composer.tsx +321 -33
- package/registry/ui/components/nm-context-menu/nm-context-menu.tsx +1 -1
- package/registry/ui/components/nm-dialog/nm-dialog.css +5 -6
- package/registry/ui/components/nm-dialog/nm-dialog.tsx +1 -1
- package/registry/ui/components/nm-dropdown/nm-dropdown.css +5 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown.tsx +28 -249
- package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.css +8 -0
- package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.tsx +85 -6
- package/registry/ui/components/nm-hover-card/nm-hover-card.tsx +1 -1
- package/registry/ui/components/nm-icon/animated/activity.tsx +109 -0
- package/registry/ui/components/nm-icon/animated/archive.tsx +85 -0
- package/registry/ui/components/nm-icon/animated/arrow-down.tsx +149 -0
- package/registry/ui/components/nm-icon/animated/arrow-left.tsx +149 -0
- package/registry/ui/components/nm-icon/animated/arrow-right.tsx +149 -0
- package/registry/ui/components/nm-icon/animated/arrow-up-down.tsx +168 -0
- package/registry/ui/components/nm-icon/animated/arrow-up.tsx +149 -0
- package/registry/ui/components/nm-icon/animated/audio-lines.tsx +190 -0
- package/registry/ui/components/nm-icon/animated/bookmark-plus.tsx +65 -0
- package/registry/ui/components/nm-icon/animated/bookmark.tsx +77 -0
- package/registry/ui/components/nm-icon/animated/bot.tsx +167 -0
- package/registry/ui/components/nm-icon/animated/calendar-days.tsx +128 -0
- package/registry/ui/components/nm-icon/animated/calendar.tsx +83 -0
- package/registry/ui/components/nm-icon/animated/camera.tsx +85 -0
- package/registry/ui/components/nm-icon/animated/chart-column-increasing.tsx +150 -0
- package/registry/ui/components/nm-icon/animated/chart-column.tsx +179 -0
- package/registry/ui/components/nm-icon/animated/chart-line.tsx +88 -0
- package/registry/ui/components/nm-icon/animated/check-check.tsx +105 -0
- package/registry/ui/components/nm-icon/animated/check.tsx +70 -0
- package/registry/ui/components/nm-icon/animated/chevron-down.tsx +73 -0
- package/registry/ui/components/nm-icon/animated/chevron-left.tsx +73 -0
- package/registry/ui/components/nm-icon/animated/chevron-right.tsx +73 -0
- package/registry/ui/components/nm-icon/animated/chevron-up.tsx +73 -0
- package/registry/ui/components/nm-icon/animated/circle-alert.tsx +84 -0
- package/registry/ui/components/nm-icon/animated/circle-check-big.tsx +75 -0
- package/registry/ui/components/nm-icon/animated/circle-check.tsx +77 -0
- package/registry/ui/components/nm-icon/animated/circle-plus.tsx +93 -0
- package/registry/ui/components/nm-icon/animated/circle-question-mark.tsx +62 -0
- package/registry/ui/components/nm-icon/animated/circle-x.tsx +93 -0
- package/registry/ui/components/nm-icon/animated/clock-3.tsx +95 -0
- package/registry/ui/components/nm-icon/animated/clock-4.tsx +95 -0
- package/registry/ui/components/nm-icon/animated/clock.tsx +95 -0
- package/registry/ui/components/nm-icon/animated/cloud-sun.tsx +130 -0
- package/registry/ui/components/nm-icon/animated/cloud-upload.tsx +93 -0
- package/registry/ui/components/nm-icon/animated/copy.tsx +153 -0
- package/registry/ui/components/nm-icon/animated/download.tsx +93 -0
- package/registry/ui/components/nm-icon/animated/ellipsis.tsx +189 -0
- package/registry/ui/components/nm-icon/animated/external-link.tsx +97 -0
- package/registry/ui/components/nm-icon/animated/eye-off.tsx +63 -0
- package/registry/ui/components/nm-icon/animated/eye.tsx +82 -0
- package/registry/ui/components/nm-icon/animated/fast-forward.tsx +72 -0
- package/registry/ui/components/nm-icon/animated/file-clock.tsx +105 -0
- package/registry/ui/components/nm-icon/animated/file-text.tsx +102 -0
- package/registry/ui/components/nm-icon/animated/file.tsx +124 -0
- package/registry/ui/components/nm-icon/animated/folder.tsx +132 -0
- package/registry/ui/components/nm-icon/animated/gauge.tsx +84 -0
- package/registry/ui/components/nm-icon/animated/globe.tsx +61 -0
- package/registry/ui/components/nm-icon/animated/graduation-cap.tsx +92 -0
- package/registry/ui/components/nm-icon/animated/headphones.tsx +85 -0
- package/registry/ui/components/nm-icon/animated/image.tsx +88 -0
- package/registry/ui/components/nm-icon/animated/index.ts +251 -0
- package/registry/ui/components/nm-icon/animated/info.tsx +75 -0
- package/registry/ui/components/nm-icon/animated/key-round.tsx +67 -0
- package/registry/ui/components/nm-icon/animated/layers.tsx +116 -0
- package/registry/ui/components/nm-icon/animated/layout-dashboard.tsx +176 -0
- package/registry/ui/components/nm-icon/animated/library-big.tsx +89 -0
- package/registry/ui/components/nm-icon/animated/lightbulb.tsx +106 -0
- package/registry/ui/components/nm-icon/animated/link.tsx +210 -0
- package/registry/ui/components/nm-icon/animated/list-filter.tsx +78 -0
- package/registry/ui/components/nm-icon/animated/list.tsx +184 -0
- package/registry/ui/components/nm-icon/animated/loader-circle.tsx +68 -0
- package/registry/ui/components/nm-icon/animated/lock.tsx +152 -0
- package/registry/ui/components/nm-icon/animated/log-out.tsx +93 -0
- package/registry/ui/components/nm-icon/animated/mail.tsx +131 -0
- package/registry/ui/components/nm-icon/animated/map-pin.tsx +111 -0
- package/registry/ui/components/nm-icon/animated/menu.tsx +121 -0
- package/registry/ui/components/nm-icon/animated/message-circle-dashed.tsx +140 -0
- package/registry/ui/components/nm-icon/animated/message-circle.tsx +66 -0
- package/registry/ui/components/nm-icon/animated/message-square-plus.tsx +106 -0
- package/registry/ui/components/nm-icon/animated/message-square-text.tsx +153 -0
- package/registry/ui/components/nm-icon/animated/message-square.tsx +66 -0
- package/registry/ui/components/nm-icon/animated/mic-off.tsx +65 -0
- package/registry/ui/components/nm-icon/animated/mic.tsx +77 -0
- package/registry/ui/components/nm-icon/animated/minimize.tsx +164 -0
- package/registry/ui/components/nm-icon/animated/minus.tsx +84 -0
- package/registry/ui/components/nm-icon/animated/moon.tsx +98 -0
- package/registry/ui/components/nm-icon/animated/music.tsx +62 -0
- package/registry/ui/components/nm-icon/animated/notebook-pen.tsx +114 -0
- package/registry/ui/components/nm-icon/animated/panel-left.tsx +77 -0
- package/registry/ui/components/nm-icon/animated/panel-right.tsx +77 -0
- package/registry/ui/components/nm-icon/animated/paperclip.tsx +83 -0
- package/registry/ui/components/nm-icon/animated/pause.tsx +116 -0
- package/registry/ui/components/nm-icon/animated/pencil.tsx +70 -0
- package/registry/ui/components/nm-icon/animated/pin-off.tsx +102 -0
- package/registry/ui/components/nm-icon/animated/pin.tsx +124 -0
- package/registry/ui/components/nm-icon/animated/plane-takeoff.tsx +62 -0
- package/registry/ui/components/nm-icon/animated/play.tsx +74 -0
- package/registry/ui/components/nm-icon/animated/plug-zap.tsx +117 -0
- package/registry/ui/components/nm-icon/animated/plus.tsx +122 -0
- package/registry/ui/components/nm-icon/animated/radio.tsx +137 -0
- package/registry/ui/components/nm-icon/animated/refresh-cw.tsx +103 -0
- package/registry/ui/components/nm-icon/animated/rocket.tsx +93 -0
- package/registry/ui/components/nm-icon/animated/rotate-ccw.tsx +87 -0
- package/registry/ui/components/nm-icon/animated/rotate-cw.tsx +98 -0
- package/registry/ui/components/nm-icon/animated/save.tsx +58 -0
- package/registry/ui/components/nm-icon/animated/search.tsx +90 -0
- package/registry/ui/components/nm-icon/animated/send.tsx +87 -0
- package/registry/ui/components/nm-icon/animated/settings.tsx +92 -0
- package/registry/ui/components/nm-icon/animated/share-2.tsx +148 -0
- package/registry/ui/components/nm-icon/animated/share.tsx +76 -0
- package/registry/ui/components/nm-icon/animated/shield-check.tsx +70 -0
- package/registry/ui/components/nm-icon/animated/shopping-bag.tsx +71 -0
- package/registry/ui/components/nm-icon/animated/sliders-horizontal.tsx +243 -0
- package/registry/ui/components/nm-icon/animated/sparkles.tsx +227 -0
- package/registry/ui/components/nm-icon/animated/star.tsx +86 -0
- package/registry/ui/components/nm-icon/animated/sun.tsx +148 -0
- package/registry/ui/components/nm-icon/animated/terminal.tsx +71 -0
- package/registry/ui/components/nm-icon/animated/trash-2.tsx +136 -0
- package/registry/ui/components/nm-icon/animated/trash.tsx +94 -0
- package/registry/ui/components/nm-icon/animated/trending-up.tsx +75 -0
- package/registry/ui/components/nm-icon/animated/triangle-alert.tsx +75 -0
- package/registry/ui/components/nm-icon/animated/trophy.tsx +62 -0
- package/registry/ui/components/nm-icon/animated/type.tsx +106 -0
- package/registry/ui/components/nm-icon/animated/upload.tsx +94 -0
- package/registry/ui/components/nm-icon/animated/user-round.tsx +84 -0
- package/registry/ui/components/nm-icon/animated/user.tsx +84 -0
- package/registry/ui/components/nm-icon/animated/users-round.tsx +156 -0
- package/registry/ui/components/nm-icon/animated/users.tsx +156 -0
- package/registry/ui/components/nm-icon/animated/volume-2.tsx +119 -0
- package/registry/ui/components/nm-icon/animated/wand-sparkles.tsx +111 -0
- package/registry/ui/components/nm-icon/animated/x.tsx +122 -0
- package/registry/ui/components/nm-icon/animated/zap.tsx +86 -0
- package/registry/ui/components/nm-icon/animated/zoom-in.tsx +66 -0
- package/registry/ui/components/nm-icon/animated/zoom-out.tsx +85 -0
- package/registry/ui/components/nm-icon/nm-icon.css +0 -1
- package/registry/ui/components/nm-icon/nm-icon.tsx +20 -5
- package/registry/ui/components/nm-icon/nm-lucide-extended.tsx +284 -0
- package/registry/ui/components/nm-icon/nm-lucide.tsx +55 -5
- package/registry/ui/components/nm-input/nm-input.css +1 -0
- package/registry/ui/components/nm-menubar/nm-menubar.tsx +2 -2
- package/registry/ui/components/nm-panel/nm-panel.css +7 -0
- package/registry/ui/components/nm-panel/nm-panel.tsx +19 -2
- package/registry/ui/components/nm-popover/nm-popover.tsx +4 -3
- package/registry/ui/components/nm-progress/nm-progress.tsx +1 -1
- package/registry/ui/components/nm-radio-group/nm-radio-group.tsx +2 -2
- package/registry/ui/components/nm-select/nm-select.tsx +1 -1
- package/registry/ui/components/nm-skeleton/nm-skeleton.css +17 -0
- package/registry/ui/components/nm-skeleton/nm-skeleton.tsx +7 -0
- package/registry/ui/components/nm-slider/nm-slider.tsx +1 -1
- package/registry/ui/components/nm-small-icon-button/nm-small-icon-button.tsx +3 -3
- package/registry/ui/components/nm-spinner/nm-spinner.css +22 -0
- package/registry/ui/components/nm-spinner/nm-spinner.tsx +7 -0
- package/registry/ui/components/nm-switch/nm-switch.css +20 -3
- package/registry/ui/components/nm-switch/nm-switch.tsx +1 -1
- package/registry/ui/components/nm-tabs/nm-tabs.css +4 -0
- package/registry/ui/components/nm-tabs/nm-tabs.tsx +19 -0
- package/registry/ui/components/nm-textarea/nm-textarea.css +1 -0
- package/registry/ui/components/nm-toggle/nm-toggle.tsx +1 -1
- package/registry/ui/components/nm-toolbar/nm-toolbar.tsx +4 -1
- package/registry/ui/components/nm-tooltip/nm-tooltip.tsx +1 -1
- package/registry/ui/components/nm-voice-orb/nm-voice-orb.css +17 -0
- package/registry/ui/components/nm-voice-orb/nm-voice-orb.tsx +112 -0
- package/registry/ui/components/nm-voice-orb/use-nm-voice-orb-theme.ts +34 -0
- package/registry/ui/components/nordman-icon-button/nordman-icon-button.tsx +7 -3
- package/registry/ui/config/nm-button.ts +6 -0
- package/registry/ui/config/nm-composer.ts +12 -0
- package/registry/ui/config/nm-icons-extended.ts +141 -0
- package/registry/ui/config/nm-icons.ts +6 -2
- package/registry/ui/config/nm-voice-orb.ts +50 -0
- package/registry/ui/lib/nm-motion.ts +30 -0
- package/registry/ui/styles/tokens.css +7 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-cloud-upload), with its import pointed at NIF's motion adapter. */
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { motion, type Variants } from 'motion/react';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
getVariants,
|
|
9
|
+
useAnimateIconContext,
|
|
10
|
+
IconWrapper,
|
|
11
|
+
type IconProps,
|
|
12
|
+
} from '@animate-ui/react/icons';
|
|
13
|
+
|
|
14
|
+
type CloudUploadProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
group: {
|
|
19
|
+
initial: {
|
|
20
|
+
y: 0,
|
|
21
|
+
transition: { duration: 0.3, ease: 'easeInOut' },
|
|
22
|
+
},
|
|
23
|
+
animate: {
|
|
24
|
+
y: -2,
|
|
25
|
+
transition: { duration: 0.3, ease: 'easeInOut' },
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
path1: {},
|
|
29
|
+
path2: {},
|
|
30
|
+
path3: {},
|
|
31
|
+
} satisfies Record<string, Variants>,
|
|
32
|
+
'default-loop': {
|
|
33
|
+
group: {
|
|
34
|
+
initial: {
|
|
35
|
+
y: 0,
|
|
36
|
+
},
|
|
37
|
+
animate: {
|
|
38
|
+
y: [0, -2, 0],
|
|
39
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
path1: {},
|
|
43
|
+
path2: {},
|
|
44
|
+
path3: {},
|
|
45
|
+
} satisfies Record<string, Variants>,
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
function IconComponent({ size, ...props }: CloudUploadProps) {
|
|
49
|
+
const { controls } = useAnimateIconContext();
|
|
50
|
+
const variants = getVariants(animations);
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<motion.svg
|
|
54
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
55
|
+
width={size}
|
|
56
|
+
height={size}
|
|
57
|
+
viewBox="0 0 24 24"
|
|
58
|
+
fill="none"
|
|
59
|
+
stroke="currentColor"
|
|
60
|
+
strokeWidth={2}
|
|
61
|
+
strokeLinecap="round"
|
|
62
|
+
strokeLinejoin="round"
|
|
63
|
+
{...props}
|
|
64
|
+
>
|
|
65
|
+
<motion.g variants={variants.group} initial="initial" animate={controls}>
|
|
66
|
+
<motion.path
|
|
67
|
+
d="M12 13v8"
|
|
68
|
+
variants={variants.path1}
|
|
69
|
+
initial="initial"
|
|
70
|
+
animate={controls}
|
|
71
|
+
/>
|
|
72
|
+
<motion.path
|
|
73
|
+
d="m8 17 4-4 4 4"
|
|
74
|
+
variants={variants.path2}
|
|
75
|
+
initial="initial"
|
|
76
|
+
animate={controls}
|
|
77
|
+
/>
|
|
78
|
+
</motion.g>
|
|
79
|
+
<motion.path
|
|
80
|
+
d="M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"
|
|
81
|
+
variants={variants.path3}
|
|
82
|
+
initial="initial"
|
|
83
|
+
animate={controls}
|
|
84
|
+
/>
|
|
85
|
+
</motion.svg>
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function CloudUpload(props: CloudUploadProps) {
|
|
90
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export { animations, CloudUpload as CloudUploadAnimated };
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-copy), with its import pointed at NIF's motion adapter. */
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { motion, type Variants } from 'motion/react';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
getVariants,
|
|
9
|
+
useAnimateIconContext,
|
|
10
|
+
IconWrapper,
|
|
11
|
+
type IconProps,
|
|
12
|
+
} from '@animate-ui/react/icons';
|
|
13
|
+
|
|
14
|
+
type CopyProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
rect: {
|
|
19
|
+
initial: { x: 0, y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },
|
|
20
|
+
animate: { x: 1, y: 1, transition: { duration: 0.3, ease: 'easeInOut' } },
|
|
21
|
+
},
|
|
22
|
+
path: {
|
|
23
|
+
initial: { x: 0, y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },
|
|
24
|
+
animate: {
|
|
25
|
+
x: -1,
|
|
26
|
+
y: -1,
|
|
27
|
+
transition: { duration: 0.3, ease: 'easeInOut' },
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
} satisfies Record<string, Variants>,
|
|
31
|
+
'default-loop': {
|
|
32
|
+
rect: {
|
|
33
|
+
initial: { x: 0, y: 0 },
|
|
34
|
+
animate: {
|
|
35
|
+
x: [0, 1, 0],
|
|
36
|
+
y: [0, 1, 0],
|
|
37
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
path: {
|
|
41
|
+
initial: { x: 0, y: 0 },
|
|
42
|
+
animate: {
|
|
43
|
+
x: [0, -1, 0],
|
|
44
|
+
y: [0, -1, 0],
|
|
45
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
} satisfies Record<string, Variants>,
|
|
49
|
+
merge: {
|
|
50
|
+
rect: {
|
|
51
|
+
initial: {
|
|
52
|
+
y: 0,
|
|
53
|
+
x: 0,
|
|
54
|
+
},
|
|
55
|
+
animate: {
|
|
56
|
+
y: -3,
|
|
57
|
+
x: -3,
|
|
58
|
+
transition: {
|
|
59
|
+
duration: 0.3,
|
|
60
|
+
ease: 'easeInOut',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
path: {
|
|
65
|
+
initial: {
|
|
66
|
+
y: 0,
|
|
67
|
+
x: 0,
|
|
68
|
+
},
|
|
69
|
+
animate: {
|
|
70
|
+
y: 3,
|
|
71
|
+
x: 3,
|
|
72
|
+
transition: {
|
|
73
|
+
duration: 0.3,
|
|
74
|
+
ease: 'easeInOut',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
} satisfies Record<string, Variants>,
|
|
79
|
+
'merge-loop': {
|
|
80
|
+
rect: {
|
|
81
|
+
initial: {
|
|
82
|
+
y: 0,
|
|
83
|
+
x: 0,
|
|
84
|
+
},
|
|
85
|
+
animate: {
|
|
86
|
+
y: [0, -3, 0],
|
|
87
|
+
x: [0, -3, 0],
|
|
88
|
+
transition: {
|
|
89
|
+
duration: 0.6,
|
|
90
|
+
ease: 'easeInOut',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
path: {
|
|
95
|
+
initial: {
|
|
96
|
+
y: 0,
|
|
97
|
+
x: 0,
|
|
98
|
+
},
|
|
99
|
+
animate: {
|
|
100
|
+
y: [0, 3, 0],
|
|
101
|
+
x: [0, 3, 0],
|
|
102
|
+
transition: {
|
|
103
|
+
duration: 0.6,
|
|
104
|
+
ease: 'easeInOut',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
} satisfies Record<string, Variants>,
|
|
109
|
+
} as const;
|
|
110
|
+
|
|
111
|
+
function IconComponent({ size, ...props }: CopyProps) {
|
|
112
|
+
const { controls } = useAnimateIconContext();
|
|
113
|
+
const variants = getVariants(animations);
|
|
114
|
+
|
|
115
|
+
return (
|
|
116
|
+
<motion.svg
|
|
117
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
118
|
+
width={size}
|
|
119
|
+
height={size}
|
|
120
|
+
viewBox="0 0 24 24"
|
|
121
|
+
fill="none"
|
|
122
|
+
stroke="currentColor"
|
|
123
|
+
strokeWidth={2}
|
|
124
|
+
strokeLinecap="round"
|
|
125
|
+
strokeLinejoin="round"
|
|
126
|
+
{...props}
|
|
127
|
+
>
|
|
128
|
+
<motion.rect
|
|
129
|
+
width={14}
|
|
130
|
+
height={14}
|
|
131
|
+
x={8}
|
|
132
|
+
y={8}
|
|
133
|
+
rx={2}
|
|
134
|
+
ry={2}
|
|
135
|
+
variants={variants.rect}
|
|
136
|
+
initial="initial"
|
|
137
|
+
animate={controls}
|
|
138
|
+
/>
|
|
139
|
+
<motion.path
|
|
140
|
+
d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
|
|
141
|
+
variants={variants.path}
|
|
142
|
+
initial="initial"
|
|
143
|
+
animate={controls}
|
|
144
|
+
/>
|
|
145
|
+
</motion.svg>
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function Copy(props: CopyProps) {
|
|
150
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export { animations, Copy as CopyAnimated };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-download), with its import pointed at NIF's motion adapter. */
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { motion, type Variants } from 'motion/react';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
getVariants,
|
|
9
|
+
useAnimateIconContext,
|
|
10
|
+
IconWrapper,
|
|
11
|
+
type IconProps,
|
|
12
|
+
} from '@animate-ui/react/icons';
|
|
13
|
+
|
|
14
|
+
type DownloadProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
group: {
|
|
19
|
+
initial: {
|
|
20
|
+
y: 0,
|
|
21
|
+
transition: { duration: 0.3, ease: 'easeInOut' },
|
|
22
|
+
},
|
|
23
|
+
animate: {
|
|
24
|
+
y: 2,
|
|
25
|
+
transition: { duration: 0.3, ease: 'easeInOut' },
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
path1: {},
|
|
29
|
+
path2: {},
|
|
30
|
+
path3: {},
|
|
31
|
+
} satisfies Record<string, Variants>,
|
|
32
|
+
'default-loop': {
|
|
33
|
+
group: {
|
|
34
|
+
initial: {
|
|
35
|
+
y: 0,
|
|
36
|
+
},
|
|
37
|
+
animate: {
|
|
38
|
+
y: [0, 2, 0],
|
|
39
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
path1: {},
|
|
43
|
+
path2: {},
|
|
44
|
+
path3: {},
|
|
45
|
+
} satisfies Record<string, Variants>,
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
function IconComponent({ size, ...props }: DownloadProps) {
|
|
49
|
+
const { controls } = useAnimateIconContext();
|
|
50
|
+
const variants = getVariants(animations);
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<motion.svg
|
|
54
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
55
|
+
width={size}
|
|
56
|
+
height={size}
|
|
57
|
+
viewBox="0 0 24 24"
|
|
58
|
+
fill="none"
|
|
59
|
+
stroke="currentColor"
|
|
60
|
+
strokeWidth={2}
|
|
61
|
+
strokeLinecap="round"
|
|
62
|
+
strokeLinejoin="round"
|
|
63
|
+
{...props}
|
|
64
|
+
>
|
|
65
|
+
<motion.g variants={variants.group} initial="initial" animate={controls}>
|
|
66
|
+
<motion.path
|
|
67
|
+
d="M12 15V3"
|
|
68
|
+
variants={variants.path1}
|
|
69
|
+
initial="initial"
|
|
70
|
+
animate={controls}
|
|
71
|
+
/>
|
|
72
|
+
<motion.path
|
|
73
|
+
d="m7 10 5 5 5-5"
|
|
74
|
+
variants={variants.path2}
|
|
75
|
+
initial="initial"
|
|
76
|
+
animate={controls}
|
|
77
|
+
/>
|
|
78
|
+
</motion.g>
|
|
79
|
+
<motion.path
|
|
80
|
+
d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"
|
|
81
|
+
variants={variants.path3}
|
|
82
|
+
initial="initial"
|
|
83
|
+
animate={controls}
|
|
84
|
+
/>
|
|
85
|
+
</motion.svg>
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function Download(props: DownloadProps) {
|
|
90
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export { animations, Download as DownloadAnimated };
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-ellipsis), with its import pointed at NIF's motion adapter. */
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { motion, type Variants } from 'motion/react';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
getVariants,
|
|
9
|
+
useAnimateIconContext,
|
|
10
|
+
IconWrapper,
|
|
11
|
+
type IconProps,
|
|
12
|
+
} from '@animate-ui/react/icons';
|
|
13
|
+
|
|
14
|
+
type EllipsisProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
group: {
|
|
19
|
+
initial: {
|
|
20
|
+
rotate: 0,
|
|
21
|
+
transition: { type: 'spring', stiffness: 60, damping: 10 },
|
|
22
|
+
},
|
|
23
|
+
animate: {
|
|
24
|
+
rotate: 180,
|
|
25
|
+
transition: { type: 'spring', stiffness: 60, damping: 10 },
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
circle1: {},
|
|
29
|
+
circle2: {},
|
|
30
|
+
circle3: {},
|
|
31
|
+
} satisfies Record<string, Variants>,
|
|
32
|
+
vertical: {
|
|
33
|
+
group: {
|
|
34
|
+
initial: {
|
|
35
|
+
rotate: 0,
|
|
36
|
+
transition: { type: 'spring', stiffness: 100, damping: 12 },
|
|
37
|
+
},
|
|
38
|
+
animate: {
|
|
39
|
+
rotate: 90,
|
|
40
|
+
transition: { type: 'spring', stiffness: 100, damping: 12 },
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
circle1: {},
|
|
44
|
+
circle2: {},
|
|
45
|
+
circle3: {},
|
|
46
|
+
} satisfies Record<string, Variants>,
|
|
47
|
+
jump: {
|
|
48
|
+
group: {},
|
|
49
|
+
circle1: {
|
|
50
|
+
initial: {
|
|
51
|
+
y: 0,
|
|
52
|
+
},
|
|
53
|
+
animate: {
|
|
54
|
+
y: [0, -2, 2],
|
|
55
|
+
transition: {
|
|
56
|
+
duration: 1.2,
|
|
57
|
+
delay: 0.4,
|
|
58
|
+
repeat: Infinity,
|
|
59
|
+
repeatType: 'mirror',
|
|
60
|
+
ease: 'easeInOut',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
circle2: {
|
|
65
|
+
initial: {
|
|
66
|
+
y: 0,
|
|
67
|
+
},
|
|
68
|
+
animate: {
|
|
69
|
+
y: [0, -2, 2],
|
|
70
|
+
transition: {
|
|
71
|
+
duration: 1.2,
|
|
72
|
+
delay: 0.2,
|
|
73
|
+
repeat: Infinity,
|
|
74
|
+
repeatType: 'mirror',
|
|
75
|
+
ease: 'easeInOut',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
circle3: {
|
|
80
|
+
initial: {
|
|
81
|
+
y: 0,
|
|
82
|
+
},
|
|
83
|
+
animate: {
|
|
84
|
+
y: [0, -2, 2],
|
|
85
|
+
transition: {
|
|
86
|
+
duration: 1.2,
|
|
87
|
+
repeat: Infinity,
|
|
88
|
+
repeatType: 'mirror',
|
|
89
|
+
ease: 'easeInOut',
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
} satisfies Record<string, Variants>,
|
|
94
|
+
pulse: {
|
|
95
|
+
group: {},
|
|
96
|
+
circle1: {
|
|
97
|
+
initial: {
|
|
98
|
+
scale: 1,
|
|
99
|
+
},
|
|
100
|
+
animate: {
|
|
101
|
+
scale: [1, 1.5, 1],
|
|
102
|
+
transition: {
|
|
103
|
+
duration: 1,
|
|
104
|
+
delay: 0.4,
|
|
105
|
+
ease: 'easeInOut',
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
circle2: {
|
|
110
|
+
initial: {
|
|
111
|
+
scale: 1,
|
|
112
|
+
},
|
|
113
|
+
animate: {
|
|
114
|
+
scale: [1, 1.5, 1],
|
|
115
|
+
transition: {
|
|
116
|
+
duration: 1,
|
|
117
|
+
delay: 0.2,
|
|
118
|
+
ease: 'easeInOut',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
circle3: {
|
|
123
|
+
initial: {
|
|
124
|
+
scale: 1,
|
|
125
|
+
},
|
|
126
|
+
animate: {
|
|
127
|
+
scale: [1, 1.5, 1],
|
|
128
|
+
transition: {
|
|
129
|
+
duration: 1,
|
|
130
|
+
ease: 'easeInOut',
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
} satisfies Record<string, Variants>,
|
|
135
|
+
} as const;
|
|
136
|
+
|
|
137
|
+
function IconComponent({ size, ...props }: EllipsisProps) {
|
|
138
|
+
const { controls } = useAnimateIconContext();
|
|
139
|
+
const variants = getVariants(animations);
|
|
140
|
+
|
|
141
|
+
return (
|
|
142
|
+
<motion.svg
|
|
143
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
144
|
+
width={size}
|
|
145
|
+
height={size}
|
|
146
|
+
viewBox="0 0 24 24"
|
|
147
|
+
fill="none"
|
|
148
|
+
stroke="currentColor"
|
|
149
|
+
strokeWidth={2}
|
|
150
|
+
strokeLinecap="round"
|
|
151
|
+
strokeLinejoin="round"
|
|
152
|
+
variants={variants.group}
|
|
153
|
+
initial="initial"
|
|
154
|
+
animate={controls}
|
|
155
|
+
{...props}
|
|
156
|
+
>
|
|
157
|
+
<motion.circle
|
|
158
|
+
cx={19}
|
|
159
|
+
cy={12}
|
|
160
|
+
r={1}
|
|
161
|
+
variants={variants.circle1}
|
|
162
|
+
initial="initial"
|
|
163
|
+
animate={controls}
|
|
164
|
+
/>
|
|
165
|
+
<motion.circle
|
|
166
|
+
cx={12}
|
|
167
|
+
cy={12}
|
|
168
|
+
r={1}
|
|
169
|
+
variants={variants.circle2}
|
|
170
|
+
initial="initial"
|
|
171
|
+
animate={controls}
|
|
172
|
+
/>
|
|
173
|
+
<motion.circle
|
|
174
|
+
cx={5}
|
|
175
|
+
cy={12}
|
|
176
|
+
r={1}
|
|
177
|
+
variants={variants.circle3}
|
|
178
|
+
initial="initial"
|
|
179
|
+
animate={controls}
|
|
180
|
+
/>
|
|
181
|
+
</motion.svg>
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function Ellipsis(props: EllipsisProps) {
|
|
186
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export { animations, Ellipsis as EllipsisAnimated };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-external-link), with its import pointed at NIF's motion adapter. */
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { motion, type Variants } from 'motion/react';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
getVariants,
|
|
9
|
+
useAnimateIconContext,
|
|
10
|
+
IconWrapper,
|
|
11
|
+
type IconProps,
|
|
12
|
+
} from '@animate-ui/react/icons';
|
|
13
|
+
|
|
14
|
+
type ExternalLinkProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
group: {
|
|
19
|
+
initial: {
|
|
20
|
+
x: 0,
|
|
21
|
+
y: 0,
|
|
22
|
+
transition: { duration: 0.3, ease: 'easeInOut' },
|
|
23
|
+
},
|
|
24
|
+
animate: {
|
|
25
|
+
x: 2,
|
|
26
|
+
y: -2,
|
|
27
|
+
transition: { duration: 0.3, ease: 'easeInOut' },
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
path1: {},
|
|
31
|
+
path2: {},
|
|
32
|
+
path3: {},
|
|
33
|
+
} satisfies Record<string, Variants>,
|
|
34
|
+
'default-loop': {
|
|
35
|
+
group: {
|
|
36
|
+
initial: {
|
|
37
|
+
x: 0,
|
|
38
|
+
y: 0,
|
|
39
|
+
},
|
|
40
|
+
animate: {
|
|
41
|
+
x: [0, 2, 0],
|
|
42
|
+
y: [0, -2, 0],
|
|
43
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
path1: {},
|
|
47
|
+
path2: {},
|
|
48
|
+
path3: {},
|
|
49
|
+
} satisfies Record<string, Variants>,
|
|
50
|
+
} as const;
|
|
51
|
+
|
|
52
|
+
function IconComponent({ size, ...props }: ExternalLinkProps) {
|
|
53
|
+
const { controls } = useAnimateIconContext();
|
|
54
|
+
const variants = getVariants(animations);
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<motion.svg
|
|
58
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
59
|
+
width={size}
|
|
60
|
+
height={size}
|
|
61
|
+
viewBox="0 0 24 24"
|
|
62
|
+
fill="none"
|
|
63
|
+
stroke="currentColor"
|
|
64
|
+
strokeWidth={2}
|
|
65
|
+
strokeLinecap="round"
|
|
66
|
+
strokeLinejoin="round"
|
|
67
|
+
{...props}
|
|
68
|
+
>
|
|
69
|
+
<motion.g variants={variants.group} initial="initial" animate={controls}>
|
|
70
|
+
<motion.path
|
|
71
|
+
d="M15 3h6v6"
|
|
72
|
+
variants={variants.path1}
|
|
73
|
+
initial="initial"
|
|
74
|
+
animate={controls}
|
|
75
|
+
/>
|
|
76
|
+
<motion.path
|
|
77
|
+
d="M10 14 21 3"
|
|
78
|
+
variants={variants.path2}
|
|
79
|
+
initial="initial"
|
|
80
|
+
animate={controls}
|
|
81
|
+
/>
|
|
82
|
+
</motion.g>
|
|
83
|
+
<motion.path
|
|
84
|
+
d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
|
|
85
|
+
variants={variants.path3}
|
|
86
|
+
initial="initial"
|
|
87
|
+
animate={controls}
|
|
88
|
+
/>
|
|
89
|
+
</motion.svg>
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function ExternalLink(props: ExternalLinkProps) {
|
|
94
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export { animations, ExternalLink as ExternalLinkAnimated };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-eye-off), with its import pointed at NIF's motion adapter. */
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { motion, type Variants } from 'motion/react';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
getVariants,
|
|
9
|
+
useAnimateIconContext,
|
|
10
|
+
IconWrapper,
|
|
11
|
+
type IconProps,
|
|
12
|
+
} from '@animate-ui/react/icons';
|
|
13
|
+
|
|
14
|
+
type EyeOffProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
slash: {
|
|
19
|
+
initial: { pathLength: 1, opacity: 1 },
|
|
20
|
+
animate: {
|
|
21
|
+
pathLength: [0, 1],
|
|
22
|
+
opacity: [0, 1],
|
|
23
|
+
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
} satisfies Record<string, Variants>,
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
function IconComponent({ size, ...props }: EyeOffProps) {
|
|
30
|
+
const { controls } = useAnimateIconContext();
|
|
31
|
+
const variants = getVariants(animations);
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<motion.svg
|
|
35
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
36
|
+
width={size}
|
|
37
|
+
height={size}
|
|
38
|
+
viewBox="0 0 24 24"
|
|
39
|
+
fill="none"
|
|
40
|
+
stroke="currentColor"
|
|
41
|
+
strokeWidth={2}
|
|
42
|
+
strokeLinecap="round"
|
|
43
|
+
strokeLinejoin="round"
|
|
44
|
+
{...props}
|
|
45
|
+
>
|
|
46
|
+
<path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" />
|
|
47
|
+
<path d="M14.084 14.158a3 3 0 0 1-4.242-4.242" />
|
|
48
|
+
<path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" />
|
|
49
|
+
<motion.path
|
|
50
|
+
d="m2 2 20 20"
|
|
51
|
+
variants={variants.slash}
|
|
52
|
+
initial="initial"
|
|
53
|
+
animate={controls}
|
|
54
|
+
/>
|
|
55
|
+
</motion.svg>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function EyeOff(props: EyeOffProps) {
|
|
60
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { animations, EyeOff as EyeOffAnimated };
|