@nordmanai/nif 0.2.1 → 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 +7 -0
- package/dist/index.js +31332 -11730
- 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 +7 -3
- 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-kbd/nm-kbd.d.ts +5 -0
- 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-toolbar/nm-toolbar.d.ts +6 -2
- 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-icon-button.d.ts +0 -2
- 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 +5113 -72
- 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 +41 -20
- 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 +29 -250
- 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-icon-border/nm-icon-border.tsx +1 -1
- package/registry/ui/components/nm-input/nm-input.css +1 -0
- package/registry/ui/components/nm-kbd/nm-kbd.css +23 -0
- package/registry/ui/components/nm-kbd/nm-kbd.tsx +12 -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-segmented/nm-segmented.tsx +1 -1
- 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.css +0 -6
- package/registry/ui/components/nm-toolbar/nm-toolbar.tsx +16 -7
- package/registry/ui/components/nm-tooltip/nm-tooltip.css +17 -0
- 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.css +6 -9
- 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-icon-button.ts +0 -2
- 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,61 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-globe), 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 GlobeProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
meridian: {
|
|
19
|
+
initial: { scaleX: 1 },
|
|
20
|
+
animate: {
|
|
21
|
+
scaleX: [1, 0.1, 1, 0.1, 1],
|
|
22
|
+
transition: { duration: 1, ease: 'easeInOut' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
} satisfies Record<string, Variants>,
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
function IconComponent({ size, ...props }: GlobeProps) {
|
|
29
|
+
const { controls } = useAnimateIconContext();
|
|
30
|
+
const variants = getVariants(animations);
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<motion.svg
|
|
34
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
35
|
+
width={size}
|
|
36
|
+
height={size}
|
|
37
|
+
viewBox="0 0 24 24"
|
|
38
|
+
fill="none"
|
|
39
|
+
stroke="currentColor"
|
|
40
|
+
strokeWidth={2}
|
|
41
|
+
strokeLinecap="round"
|
|
42
|
+
strokeLinejoin="round"
|
|
43
|
+
{...props}
|
|
44
|
+
>
|
|
45
|
+
<circle cx={12} cy={12} r={10} />
|
|
46
|
+
<path d="M2 12h20" />
|
|
47
|
+
<motion.path
|
|
48
|
+
d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"
|
|
49
|
+
variants={variants.meridian}
|
|
50
|
+
initial="initial"
|
|
51
|
+
animate={controls}
|
|
52
|
+
/>
|
|
53
|
+
</motion.svg>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function Globe(props: GlobeProps) {
|
|
58
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { animations, Globe as GlobeAnimated };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-graduation-cap), 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 GraduationCapProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
hat: {
|
|
19
|
+
initial: { rotate: 0, transformOrigin: '50% 50%' },
|
|
20
|
+
animate: {
|
|
21
|
+
rotate: [0, -8, 4, 0],
|
|
22
|
+
transformOrigin: '50% 50%',
|
|
23
|
+
transition: {
|
|
24
|
+
duration: 0.9,
|
|
25
|
+
times: [0, 0.35, 0.7, 1],
|
|
26
|
+
ease: 'easeInOut',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
tassel: {
|
|
31
|
+
initial: { rotate: 0, transformOrigin: '50% 0%' },
|
|
32
|
+
animate: {
|
|
33
|
+
rotate: [0, 12, -8, 4, 0],
|
|
34
|
+
transformOrigin: '50% 0%',
|
|
35
|
+
transition: {
|
|
36
|
+
duration: 0.9,
|
|
37
|
+
delay: 0.1,
|
|
38
|
+
times: [0, 0.3, 0.6, 0.85, 1],
|
|
39
|
+
ease: 'easeInOut',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
part: {},
|
|
44
|
+
} satisfies Record<string, Variants>,
|
|
45
|
+
} as const;
|
|
46
|
+
|
|
47
|
+
function IconComponent({ size, ...props }: GraduationCapProps) {
|
|
48
|
+
const { controls } = useAnimateIconContext();
|
|
49
|
+
const variants = getVariants(animations);
|
|
50
|
+
|
|
51
|
+
return (
|
|
52
|
+
<motion.svg
|
|
53
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
54
|
+
width={size}
|
|
55
|
+
height={size}
|
|
56
|
+
viewBox="0 0 24 24"
|
|
57
|
+
fill="none"
|
|
58
|
+
stroke="currentColor"
|
|
59
|
+
strokeWidth={2}
|
|
60
|
+
strokeLinecap="round"
|
|
61
|
+
strokeLinejoin="round"
|
|
62
|
+
{...props}
|
|
63
|
+
>
|
|
64
|
+
<motion.g variants={variants.hat} initial="initial" animate={controls}>
|
|
65
|
+
<motion.path
|
|
66
|
+
d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z"
|
|
67
|
+
variants={variants.part}
|
|
68
|
+
initial="initial"
|
|
69
|
+
animate={controls}
|
|
70
|
+
/>
|
|
71
|
+
<motion.path
|
|
72
|
+
d="M22 10v6"
|
|
73
|
+
variants={variants.tassel}
|
|
74
|
+
initial="initial"
|
|
75
|
+
animate={controls}
|
|
76
|
+
/>
|
|
77
|
+
<motion.path
|
|
78
|
+
d="M6 12.5V16a6 3 0 0 0 12 0v-3.5"
|
|
79
|
+
variants={variants.part}
|
|
80
|
+
initial="initial"
|
|
81
|
+
animate={controls}
|
|
82
|
+
/>
|
|
83
|
+
</motion.g>
|
|
84
|
+
</motion.svg>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function GraduationCap(props: GraduationCapProps) {
|
|
89
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export { animations, GraduationCap as GraduationCapAnimated };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-headphones), 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 HeadphonesProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
cup1: {
|
|
19
|
+
initial: { scale: 1 },
|
|
20
|
+
animate: {
|
|
21
|
+
scale: [1, 1.06, 1, 1.06, 1],
|
|
22
|
+
transition: { duration: 0.8, ease: 'easeInOut' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
cup2: {
|
|
26
|
+
initial: { scale: 1 },
|
|
27
|
+
animate: {
|
|
28
|
+
scale: [1, 1.06, 1, 1.06, 1],
|
|
29
|
+
transition: { duration: 0.8, ease: 'easeInOut', delay: 0.12 },
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
} satisfies Record<string, Variants>,
|
|
33
|
+
wiggle: {
|
|
34
|
+
group: {
|
|
35
|
+
initial: { rotate: 0, transformOrigin: '50% 0%' },
|
|
36
|
+
animate: {
|
|
37
|
+
rotate: [0, -5, 5, -3, 0],
|
|
38
|
+
transformOrigin: '50% 0%',
|
|
39
|
+
transition: { duration: 0.8, ease: 'easeInOut' },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
} satisfies Record<string, Variants>,
|
|
43
|
+
} as const;
|
|
44
|
+
|
|
45
|
+
function IconComponent({ size, ...props }: HeadphonesProps) {
|
|
46
|
+
const { controls } = useAnimateIconContext();
|
|
47
|
+
const variants = getVariants(animations);
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<motion.svg
|
|
51
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
52
|
+
width={size}
|
|
53
|
+
height={size}
|
|
54
|
+
viewBox="0 0 24 24"
|
|
55
|
+
fill="none"
|
|
56
|
+
stroke="currentColor"
|
|
57
|
+
strokeWidth={2}
|
|
58
|
+
strokeLinecap="round"
|
|
59
|
+
strokeLinejoin="round"
|
|
60
|
+
{...props}
|
|
61
|
+
>
|
|
62
|
+
<motion.g variants={variants.group} initial="initial" animate={controls}>
|
|
63
|
+
<motion.path
|
|
64
|
+
d="M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5"
|
|
65
|
+
variants={variants.cup1}
|
|
66
|
+
initial="initial"
|
|
67
|
+
animate={controls}
|
|
68
|
+
/>
|
|
69
|
+
<path d="M3 14v-2a9 9 0 0 1 18 0v2" />
|
|
70
|
+
<motion.path
|
|
71
|
+
d="M21 14v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3"
|
|
72
|
+
variants={variants.cup2}
|
|
73
|
+
initial="initial"
|
|
74
|
+
animate={controls}
|
|
75
|
+
/>
|
|
76
|
+
</motion.g>
|
|
77
|
+
</motion.svg>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function Headphones(props: HeadphonesProps) {
|
|
82
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { animations, Headphones as HeadphonesAnimated };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-image), 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 ImageProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
frame: {},
|
|
19
|
+
sun: {
|
|
20
|
+
initial: { pathLength: 1, opacity: 1 },
|
|
21
|
+
animate: {
|
|
22
|
+
pathLength: [0, 1],
|
|
23
|
+
opacity: [0, 1],
|
|
24
|
+
transition: { duration: 0.4, delay: 0.05, ease: 'easeOut' },
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
mountain: {
|
|
28
|
+
initial: { pathLength: 1, opacity: 1 },
|
|
29
|
+
animate: {
|
|
30
|
+
pathLength: [0, 1],
|
|
31
|
+
opacity: [0, 1],
|
|
32
|
+
transition: { duration: 0.5, delay: 0.3, ease: 'easeOut' },
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
} satisfies Record<string, Variants>,
|
|
36
|
+
} as const;
|
|
37
|
+
|
|
38
|
+
function IconComponent({ size, ...props }: ImageProps) {
|
|
39
|
+
const { controls } = useAnimateIconContext();
|
|
40
|
+
const variants = getVariants(animations);
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<motion.svg
|
|
44
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
45
|
+
width={size}
|
|
46
|
+
height={size}
|
|
47
|
+
viewBox="0 0 24 24"
|
|
48
|
+
fill="none"
|
|
49
|
+
stroke="currentColor"
|
|
50
|
+
strokeWidth={2}
|
|
51
|
+
strokeLinecap="round"
|
|
52
|
+
strokeLinejoin="round"
|
|
53
|
+
{...props}
|
|
54
|
+
>
|
|
55
|
+
<motion.rect
|
|
56
|
+
width="18"
|
|
57
|
+
height="18"
|
|
58
|
+
x="3"
|
|
59
|
+
y="3"
|
|
60
|
+
rx="2"
|
|
61
|
+
ry="2"
|
|
62
|
+
variants={variants.frame}
|
|
63
|
+
initial="initial"
|
|
64
|
+
animate={controls}
|
|
65
|
+
/>
|
|
66
|
+
<motion.circle
|
|
67
|
+
cx="9"
|
|
68
|
+
cy="9"
|
|
69
|
+
r="2"
|
|
70
|
+
variants={variants.sun}
|
|
71
|
+
initial="initial"
|
|
72
|
+
animate={controls}
|
|
73
|
+
/>
|
|
74
|
+
<motion.path
|
|
75
|
+
d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"
|
|
76
|
+
variants={variants.mountain}
|
|
77
|
+
initial="initial"
|
|
78
|
+
animate={controls}
|
|
79
|
+
/>
|
|
80
|
+
</motion.svg>
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function Image(props: ImageProps) {
|
|
85
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export { animations, Image as ImageAnimated };
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/* Generated by scripts/animate-icons.mjs. Maps a lucide icon name to its animated version. */
|
|
2
|
+
import type { ComponentType } from 'react';
|
|
3
|
+
import { ArchiveAnimated } from './archive.tsx';
|
|
4
|
+
import { CameraAnimated } from './camera.tsx';
|
|
5
|
+
import { CloudUploadAnimated } from './cloud-upload.tsx';
|
|
6
|
+
import { DownloadAnimated } from './download.tsx';
|
|
7
|
+
import { LockAnimated } from './lock.tsx';
|
|
8
|
+
import { LogOutAnimated } from './log-out.tsx';
|
|
9
|
+
import { MinimizeAnimated } from './minimize.tsx';
|
|
10
|
+
import { PencilAnimated } from './pencil.tsx';
|
|
11
|
+
import { PinAnimated } from './pin.tsx';
|
|
12
|
+
import { ShareAnimated } from './share.tsx';
|
|
13
|
+
import { Trash2Animated } from './trash-2.tsx';
|
|
14
|
+
import { Volume2Animated } from './volume-2.tsx';
|
|
15
|
+
import { ArrowLeftAnimated } from './arrow-left.tsx';
|
|
16
|
+
import { ArrowRightAnimated } from './arrow-right.tsx';
|
|
17
|
+
import { PanelLeftAnimated } from './panel-left.tsx';
|
|
18
|
+
import { ArrowUpAnimated } from './arrow-up.tsx';
|
|
19
|
+
import { AudioLinesAnimated } from './audio-lines.tsx';
|
|
20
|
+
import { BotAnimated } from './bot.tsx';
|
|
21
|
+
import { CalendarAnimated } from './calendar.tsx';
|
|
22
|
+
import { CheckAnimated } from './check.tsx';
|
|
23
|
+
import { CircleCheckAnimated } from './circle-check.tsx';
|
|
24
|
+
import { ClockAnimated } from './clock.tsx';
|
|
25
|
+
import { GaugeAnimated } from './gauge.tsx';
|
|
26
|
+
import { MinusAnimated } from './minus.tsx';
|
|
27
|
+
import { ChevronDownAnimated } from './chevron-down.tsx';
|
|
28
|
+
import { CopyAnimated } from './copy.tsx';
|
|
29
|
+
import { EllipsisAnimated } from './ellipsis.tsx';
|
|
30
|
+
import { FileAnimated } from './file.tsx';
|
|
31
|
+
import { FileTextAnimated } from './file-text.tsx';
|
|
32
|
+
import { FolderAnimated } from './folder.tsx';
|
|
33
|
+
import { GlobeAnimated } from './globe.tsx';
|
|
34
|
+
import { HeadphonesAnimated } from './headphones.tsx';
|
|
35
|
+
import { ImageAnimated } from './image.tsx';
|
|
36
|
+
import { LibraryBigAnimated } from './library-big.tsx';
|
|
37
|
+
import { ListFilterAnimated } from './list-filter.tsx';
|
|
38
|
+
import { LoaderCircleAnimated } from './loader-circle.tsx';
|
|
39
|
+
import { MailAnimated } from './mail.tsx';
|
|
40
|
+
import { MenuAnimated } from './menu.tsx';
|
|
41
|
+
import { RotateCcwAnimated } from './rotate-ccw.tsx';
|
|
42
|
+
import { MessageCircleAnimated } from './message-circle.tsx';
|
|
43
|
+
import { MessageCircleDashedAnimated } from './message-circle-dashed.tsx';
|
|
44
|
+
import { MicAnimated } from './mic.tsx';
|
|
45
|
+
import { MicOffAnimated } from './mic-off.tsx';
|
|
46
|
+
import { MoonAnimated } from './moon.tsx';
|
|
47
|
+
import { MusicAnimated } from './music.tsx';
|
|
48
|
+
import { PanelRightAnimated } from './panel-right.tsx';
|
|
49
|
+
import { PauseAnimated } from './pause.tsx';
|
|
50
|
+
import { PlayAnimated } from './play.tsx';
|
|
51
|
+
import { PlusAnimated } from './plus.tsx';
|
|
52
|
+
import { SaveAnimated } from './save.tsx';
|
|
53
|
+
import { SearchAnimated } from './search.tsx';
|
|
54
|
+
import { SettingsAnimated } from './settings.tsx';
|
|
55
|
+
import { SunAnimated } from './sun.tsx';
|
|
56
|
+
import { TerminalAnimated } from './terminal.tsx';
|
|
57
|
+
import { UploadAnimated } from './upload.tsx';
|
|
58
|
+
import { UserRoundAnimated } from './user-round.tsx';
|
|
59
|
+
import { UsersRoundAnimated } from './users-round.tsx';
|
|
60
|
+
import { XAnimated } from './x.tsx';
|
|
61
|
+
import { ActivityAnimated } from './activity.tsx';
|
|
62
|
+
import { ArrowDownAnimated } from './arrow-down.tsx';
|
|
63
|
+
import { ArrowUpDownAnimated } from './arrow-up-down.tsx';
|
|
64
|
+
import { BookmarkAnimated } from './bookmark.tsx';
|
|
65
|
+
import { BookmarkPlusAnimated } from './bookmark-plus.tsx';
|
|
66
|
+
import { CalendarDaysAnimated } from './calendar-days.tsx';
|
|
67
|
+
import { ChartColumnAnimated } from './chart-column.tsx';
|
|
68
|
+
import { ChartColumnIncreasingAnimated } from './chart-column-increasing.tsx';
|
|
69
|
+
import { ChartLineAnimated } from './chart-line.tsx';
|
|
70
|
+
import { CheckCheckAnimated } from './check-check.tsx';
|
|
71
|
+
import { ChevronLeftAnimated } from './chevron-left.tsx';
|
|
72
|
+
import { ChevronRightAnimated } from './chevron-right.tsx';
|
|
73
|
+
import { ChevronUpAnimated } from './chevron-up.tsx';
|
|
74
|
+
import { CircleAlertAnimated } from './circle-alert.tsx';
|
|
75
|
+
import { CircleCheckBigAnimated } from './circle-check-big.tsx';
|
|
76
|
+
import { CirclePlusAnimated } from './circle-plus.tsx';
|
|
77
|
+
import { CircleQuestionMarkAnimated } from './circle-question-mark.tsx';
|
|
78
|
+
import { CircleXAnimated } from './circle-x.tsx';
|
|
79
|
+
import { Clock3Animated } from './clock-3.tsx';
|
|
80
|
+
import { Clock4Animated } from './clock-4.tsx';
|
|
81
|
+
import { CloudSunAnimated } from './cloud-sun.tsx';
|
|
82
|
+
import { ExternalLinkAnimated } from './external-link.tsx';
|
|
83
|
+
import { EyeAnimated } from './eye.tsx';
|
|
84
|
+
import { EyeOffAnimated } from './eye-off.tsx';
|
|
85
|
+
import { FastForwardAnimated } from './fast-forward.tsx';
|
|
86
|
+
import { FileClockAnimated } from './file-clock.tsx';
|
|
87
|
+
import { GraduationCapAnimated } from './graduation-cap.tsx';
|
|
88
|
+
import { InfoAnimated } from './info.tsx';
|
|
89
|
+
import { KeyRoundAnimated } from './key-round.tsx';
|
|
90
|
+
import { LayersAnimated } from './layers.tsx';
|
|
91
|
+
import { LayoutDashboardAnimated } from './layout-dashboard.tsx';
|
|
92
|
+
import { LightbulbAnimated } from './lightbulb.tsx';
|
|
93
|
+
import { LinkAnimated } from './link.tsx';
|
|
94
|
+
import { ListAnimated } from './list.tsx';
|
|
95
|
+
import { MapPinAnimated } from './map-pin.tsx';
|
|
96
|
+
import { MessageSquareAnimated } from './message-square.tsx';
|
|
97
|
+
import { MessageSquarePlusAnimated } from './message-square-plus.tsx';
|
|
98
|
+
import { MessageSquareTextAnimated } from './message-square-text.tsx';
|
|
99
|
+
import { NotebookPenAnimated } from './notebook-pen.tsx';
|
|
100
|
+
import { PaperclipAnimated } from './paperclip.tsx';
|
|
101
|
+
import { PinOffAnimated } from './pin-off.tsx';
|
|
102
|
+
import { PlaneTakeoffAnimated } from './plane-takeoff.tsx';
|
|
103
|
+
import { PlugZapAnimated } from './plug-zap.tsx';
|
|
104
|
+
import { RadioAnimated } from './radio.tsx';
|
|
105
|
+
import { RefreshCwAnimated } from './refresh-cw.tsx';
|
|
106
|
+
import { RocketAnimated } from './rocket.tsx';
|
|
107
|
+
import { RotateCwAnimated } from './rotate-cw.tsx';
|
|
108
|
+
import { SendAnimated } from './send.tsx';
|
|
109
|
+
import { Share2Animated } from './share-2.tsx';
|
|
110
|
+
import { ShieldCheckAnimated } from './shield-check.tsx';
|
|
111
|
+
import { ShoppingBagAnimated } from './shopping-bag.tsx';
|
|
112
|
+
import { SlidersHorizontalAnimated } from './sliders-horizontal.tsx';
|
|
113
|
+
import { SparklesAnimated } from './sparkles.tsx';
|
|
114
|
+
import { StarAnimated } from './star.tsx';
|
|
115
|
+
import { TrashAnimated } from './trash.tsx';
|
|
116
|
+
import { TrendingUpAnimated } from './trending-up.tsx';
|
|
117
|
+
import { TriangleAlertAnimated } from './triangle-alert.tsx';
|
|
118
|
+
import { TrophyAnimated } from './trophy.tsx';
|
|
119
|
+
import { TypeAnimated } from './type.tsx';
|
|
120
|
+
import { UserAnimated } from './user.tsx';
|
|
121
|
+
import { UsersAnimated } from './users.tsx';
|
|
122
|
+
import { WandSparklesAnimated } from './wand-sparkles.tsx';
|
|
123
|
+
import { ZapAnimated } from './zap.tsx';
|
|
124
|
+
import { ZoomInAnimated } from './zoom-in.tsx';
|
|
125
|
+
import { ZoomOutAnimated } from './zoom-out.tsx';
|
|
126
|
+
|
|
127
|
+
export const NM_ANIMATED_ICONS: Record<string, ComponentType<any>> = {
|
|
128
|
+
Archive: ArchiveAnimated,
|
|
129
|
+
Camera: CameraAnimated,
|
|
130
|
+
CloudUpload: CloudUploadAnimated,
|
|
131
|
+
Download: DownloadAnimated,
|
|
132
|
+
Lock: LockAnimated,
|
|
133
|
+
LogOut: LogOutAnimated,
|
|
134
|
+
Minimize: MinimizeAnimated,
|
|
135
|
+
Pencil: PencilAnimated,
|
|
136
|
+
Pin: PinAnimated,
|
|
137
|
+
Share: ShareAnimated,
|
|
138
|
+
Trash2: Trash2Animated,
|
|
139
|
+
Volume2: Volume2Animated,
|
|
140
|
+
ArrowLeft: ArrowLeftAnimated,
|
|
141
|
+
ArrowRight: ArrowRightAnimated,
|
|
142
|
+
PanelLeft: PanelLeftAnimated,
|
|
143
|
+
ArrowUp: ArrowUpAnimated,
|
|
144
|
+
AudioLines: AudioLinesAnimated,
|
|
145
|
+
Bot: BotAnimated,
|
|
146
|
+
Calendar: CalendarAnimated,
|
|
147
|
+
Check: CheckAnimated,
|
|
148
|
+
CircleCheck: CircleCheckAnimated,
|
|
149
|
+
Clock: ClockAnimated,
|
|
150
|
+
Gauge: GaugeAnimated,
|
|
151
|
+
Minus: MinusAnimated,
|
|
152
|
+
ChevronDown: ChevronDownAnimated,
|
|
153
|
+
Copy: CopyAnimated,
|
|
154
|
+
Ellipsis: EllipsisAnimated,
|
|
155
|
+
File: FileAnimated,
|
|
156
|
+
FileText: FileTextAnimated,
|
|
157
|
+
Folder: FolderAnimated,
|
|
158
|
+
Globe: GlobeAnimated,
|
|
159
|
+
Headphones: HeadphonesAnimated,
|
|
160
|
+
Image: ImageAnimated,
|
|
161
|
+
LibraryBig: LibraryBigAnimated,
|
|
162
|
+
ListFilter: ListFilterAnimated,
|
|
163
|
+
LoaderCircle: LoaderCircleAnimated,
|
|
164
|
+
Mail: MailAnimated,
|
|
165
|
+
Menu: MenuAnimated,
|
|
166
|
+
RotateCcw: RotateCcwAnimated,
|
|
167
|
+
MessageCircle: MessageCircleAnimated,
|
|
168
|
+
MessageCircleDashed: MessageCircleDashedAnimated,
|
|
169
|
+
Mic: MicAnimated,
|
|
170
|
+
MicOff: MicOffAnimated,
|
|
171
|
+
Moon: MoonAnimated,
|
|
172
|
+
Music: MusicAnimated,
|
|
173
|
+
PanelRight: PanelRightAnimated,
|
|
174
|
+
Pause: PauseAnimated,
|
|
175
|
+
Play: PlayAnimated,
|
|
176
|
+
Plus: PlusAnimated,
|
|
177
|
+
Save: SaveAnimated,
|
|
178
|
+
Search: SearchAnimated,
|
|
179
|
+
Settings: SettingsAnimated,
|
|
180
|
+
Sun: SunAnimated,
|
|
181
|
+
Terminal: TerminalAnimated,
|
|
182
|
+
Upload: UploadAnimated,
|
|
183
|
+
UserRound: UserRoundAnimated,
|
|
184
|
+
UsersRound: UsersRoundAnimated,
|
|
185
|
+
X: XAnimated,
|
|
186
|
+
Activity: ActivityAnimated,
|
|
187
|
+
ArrowDown: ArrowDownAnimated,
|
|
188
|
+
ArrowUpDown: ArrowUpDownAnimated,
|
|
189
|
+
Bookmark: BookmarkAnimated,
|
|
190
|
+
BookmarkPlus: BookmarkPlusAnimated,
|
|
191
|
+
CalendarDays: CalendarDaysAnimated,
|
|
192
|
+
ChartColumn: ChartColumnAnimated,
|
|
193
|
+
ChartColumnIncreasing: ChartColumnIncreasingAnimated,
|
|
194
|
+
ChartLine: ChartLineAnimated,
|
|
195
|
+
CheckCheck: CheckCheckAnimated,
|
|
196
|
+
ChevronLeft: ChevronLeftAnimated,
|
|
197
|
+
ChevronRight: ChevronRightAnimated,
|
|
198
|
+
ChevronUp: ChevronUpAnimated,
|
|
199
|
+
CircleAlert: CircleAlertAnimated,
|
|
200
|
+
CircleCheckBig: CircleCheckBigAnimated,
|
|
201
|
+
CirclePlus: CirclePlusAnimated,
|
|
202
|
+
CircleQuestionMark: CircleQuestionMarkAnimated,
|
|
203
|
+
CircleX: CircleXAnimated,
|
|
204
|
+
Clock3: Clock3Animated,
|
|
205
|
+
Clock4: Clock4Animated,
|
|
206
|
+
CloudSun: CloudSunAnimated,
|
|
207
|
+
ExternalLink: ExternalLinkAnimated,
|
|
208
|
+
Eye: EyeAnimated,
|
|
209
|
+
EyeOff: EyeOffAnimated,
|
|
210
|
+
FastForward: FastForwardAnimated,
|
|
211
|
+
FileClock: FileClockAnimated,
|
|
212
|
+
GraduationCap: GraduationCapAnimated,
|
|
213
|
+
Info: InfoAnimated,
|
|
214
|
+
KeyRound: KeyRoundAnimated,
|
|
215
|
+
Layers: LayersAnimated,
|
|
216
|
+
LayoutDashboard: LayoutDashboardAnimated,
|
|
217
|
+
Lightbulb: LightbulbAnimated,
|
|
218
|
+
Link: LinkAnimated,
|
|
219
|
+
List: ListAnimated,
|
|
220
|
+
MapPin: MapPinAnimated,
|
|
221
|
+
MessageSquare: MessageSquareAnimated,
|
|
222
|
+
MessageSquarePlus: MessageSquarePlusAnimated,
|
|
223
|
+
MessageSquareText: MessageSquareTextAnimated,
|
|
224
|
+
NotebookPen: NotebookPenAnimated,
|
|
225
|
+
Paperclip: PaperclipAnimated,
|
|
226
|
+
PinOff: PinOffAnimated,
|
|
227
|
+
PlaneTakeoff: PlaneTakeoffAnimated,
|
|
228
|
+
PlugZap: PlugZapAnimated,
|
|
229
|
+
Radio: RadioAnimated,
|
|
230
|
+
RefreshCw: RefreshCwAnimated,
|
|
231
|
+
Rocket: RocketAnimated,
|
|
232
|
+
RotateCw: RotateCwAnimated,
|
|
233
|
+
Send: SendAnimated,
|
|
234
|
+
Share2: Share2Animated,
|
|
235
|
+
ShieldCheck: ShieldCheckAnimated,
|
|
236
|
+
ShoppingBag: ShoppingBagAnimated,
|
|
237
|
+
SlidersHorizontal: SlidersHorizontalAnimated,
|
|
238
|
+
Sparkles: SparklesAnimated,
|
|
239
|
+
Star: StarAnimated,
|
|
240
|
+
Trash: TrashAnimated,
|
|
241
|
+
TrendingUp: TrendingUpAnimated,
|
|
242
|
+
TriangleAlert: TriangleAlertAnimated,
|
|
243
|
+
Trophy: TrophyAnimated,
|
|
244
|
+
Type: TypeAnimated,
|
|
245
|
+
User: UserAnimated,
|
|
246
|
+
Users: UsersAnimated,
|
|
247
|
+
WandSparkles: WandSparklesAnimated,
|
|
248
|
+
Zap: ZapAnimated,
|
|
249
|
+
ZoomIn: ZoomInAnimated,
|
|
250
|
+
ZoomOut: ZoomOutAnimated,
|
|
251
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* From Animate UI's registry (icons-lucide-info), 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 InfoProps = IconProps<keyof typeof animations>;
|
|
15
|
+
|
|
16
|
+
const animations = {
|
|
17
|
+
default: {
|
|
18
|
+
mark: {
|
|
19
|
+
initial: { y: 0 },
|
|
20
|
+
animate: {
|
|
21
|
+
y: [0, -2, 0, -0.8, 0],
|
|
22
|
+
transition: {
|
|
23
|
+
duration: 0.6,
|
|
24
|
+
ease: 'easeInOut',
|
|
25
|
+
times: [0, 0.3, 0.55, 0.75, 1],
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
} satisfies Record<string, Variants>,
|
|
30
|
+
blink: {
|
|
31
|
+
mark: {
|
|
32
|
+
initial: { opacity: 1 },
|
|
33
|
+
animate: {
|
|
34
|
+
opacity: [1, 0.15, 1, 0.15, 1],
|
|
35
|
+
transition: {
|
|
36
|
+
duration: 1.1,
|
|
37
|
+
times: [0, 0.2, 0.45, 0.7, 1],
|
|
38
|
+
ease: 'easeInOut',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
} satisfies Record<string, Variants>,
|
|
43
|
+
} as const;
|
|
44
|
+
|
|
45
|
+
function IconComponent({ size, ...props }: InfoProps) {
|
|
46
|
+
const { controls } = useAnimateIconContext();
|
|
47
|
+
const variants = getVariants(animations);
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<motion.svg
|
|
51
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
52
|
+
width={size}
|
|
53
|
+
height={size}
|
|
54
|
+
viewBox="0 0 24 24"
|
|
55
|
+
fill="none"
|
|
56
|
+
stroke="currentColor"
|
|
57
|
+
strokeWidth={2}
|
|
58
|
+
strokeLinecap="round"
|
|
59
|
+
strokeLinejoin="round"
|
|
60
|
+
{...props}
|
|
61
|
+
>
|
|
62
|
+
<circle cx={12} cy={12} r={10} />
|
|
63
|
+
<motion.g variants={variants.mark} initial="initial" animate={controls}>
|
|
64
|
+
<path d="M12 8h.01" />
|
|
65
|
+
<path d="M12 16v-4" />
|
|
66
|
+
</motion.g>
|
|
67
|
+
</motion.svg>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function Info(props: InfoProps) {
|
|
72
|
+
return <IconWrapper icon={IconComponent} {...props} />;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { animations, Info as InfoAnimated };
|