@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.
Files changed (354) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +6 -0
  3. package/dist/index.js +31342 -11760
  4. package/dist/styles.css +1 -1
  5. package/dist/ui/components/nm-ai/nm-ai.d.ts +4 -0
  6. package/dist/ui/components/nm-alert/nm-alert.d.ts +13 -0
  7. package/dist/ui/components/nm-button/nm-button.d.ts +4 -2
  8. package/dist/ui/components/nm-checkbox/nm-checkbox.d.ts +1 -1
  9. package/dist/ui/components/nm-chip/nm-chip.d.ts +5 -2
  10. package/dist/ui/components/nm-collapsible/nm-collapsible.d.ts +6 -0
  11. package/dist/ui/components/nm-combobox/nm-combobox.d.ts +1 -1
  12. package/dist/ui/components/nm-command/nm-command.d.ts +8 -1
  13. package/dist/ui/components/nm-composer/nm-composer.d.ts +47 -4
  14. package/dist/ui/components/nm-context-menu/nm-context-menu.d.ts +1 -1
  15. package/dist/ui/components/nm-dialog/nm-dialog.d.ts +1 -1
  16. package/dist/ui/components/nm-dropdown/nm-dropdown.d.ts +1 -1
  17. package/dist/ui/components/nm-dropdown-menu/nm-dropdown-menu.d.ts +11 -2
  18. package/dist/ui/components/nm-hover-card/nm-hover-card.d.ts +1 -1
  19. package/dist/ui/components/nm-icon/animated/activity.d.ts +72 -0
  20. package/dist/ui/components/nm-icon/animated/archive.d.ts +31 -0
  21. package/dist/ui/components/nm-icon/animated/arrow-down.d.ts +128 -0
  22. package/dist/ui/components/nm-icon/animated/arrow-left.d.ts +128 -0
  23. package/dist/ui/components/nm-icon/animated/arrow-right.d.ts +128 -0
  24. package/dist/ui/components/nm-icon/animated/arrow-up-down.d.ts +119 -0
  25. package/dist/ui/components/nm-icon/animated/arrow-up.d.ts +128 -0
  26. package/dist/ui/components/nm-icon/animated/audio-lines.d.ts +99 -0
  27. package/dist/ui/components/nm-icon/animated/bookmark-plus.d.ts +35 -0
  28. package/dist/ui/components/nm-icon/animated/bookmark.d.ts +52 -0
  29. package/dist/ui/components/nm-icon/animated/bot.d.ts +90 -0
  30. package/dist/ui/components/nm-icon/animated/calendar-days.d.ts +87 -0
  31. package/dist/ui/components/nm-icon/animated/calendar.d.ts +36 -0
  32. package/dist/ui/components/nm-icon/animated/camera.d.ts +50 -0
  33. package/dist/ui/components/nm-icon/animated/chart-column-increasing.d.ts +37 -0
  34. package/dist/ui/components/nm-icon/animated/chart-column.d.ts +86 -0
  35. package/dist/ui/components/nm-icon/animated/chart-line.d.ts +51 -0
  36. package/dist/ui/components/nm-icon/animated/check-check.d.ts +50 -0
  37. package/dist/ui/components/nm-icon/animated/check.d.ts +25 -0
  38. package/dist/ui/components/nm-icon/animated/chevron-down.d.ts +39 -0
  39. package/dist/ui/components/nm-icon/animated/chevron-left.d.ts +39 -0
  40. package/dist/ui/components/nm-icon/animated/chevron-right.d.ts +39 -0
  41. package/dist/ui/components/nm-icon/animated/chevron-up.d.ts +39 -0
  42. package/dist/ui/components/nm-icon/animated/circle-alert.d.ts +23 -0
  43. package/dist/ui/components/nm-icon/animated/circle-check-big.d.ts +26 -0
  44. package/dist/ui/components/nm-icon/animated/circle-check.d.ts +26 -0
  45. package/dist/ui/components/nm-icon/animated/circle-plus.d.ts +44 -0
  46. package/dist/ui/components/nm-icon/animated/circle-question-mark.d.ts +22 -0
  47. package/dist/ui/components/nm-icon/animated/circle-x.d.ts +44 -0
  48. package/dist/ui/components/nm-icon/animated/clock-3.d.ts +44 -0
  49. package/dist/ui/components/nm-icon/animated/clock-4.d.ts +44 -0
  50. package/dist/ui/components/nm-icon/animated/clock.d.ts +44 -0
  51. package/dist/ui/components/nm-icon/animated/cloud-sun.d.ts +9 -0
  52. package/dist/ui/components/nm-icon/animated/cloud-upload.d.ts +45 -0
  53. package/dist/ui/components/nm-icon/animated/copy.d.ts +135 -0
  54. package/dist/ui/components/nm-icon/animated/download.d.ts +45 -0
  55. package/dist/ui/components/nm-icon/animated/ellipsis.d.ts +141 -0
  56. package/dist/ui/components/nm-icon/animated/external-link.d.ts +49 -0
  57. package/dist/ui/components/nm-icon/animated/eye-off.d.ts +23 -0
  58. package/dist/ui/components/nm-icon/animated/eye.d.ts +39 -0
  59. package/dist/ui/components/nm-icon/animated/fast-forward.d.ts +34 -0
  60. package/dist/ui/components/nm-icon/animated/file-clock.d.ts +48 -0
  61. package/dist/ui/components/nm-icon/animated/file-text.d.ts +56 -0
  62. package/dist/ui/components/nm-icon/animated/file.d.ts +67 -0
  63. package/dist/ui/components/nm-icon/animated/folder.d.ts +92 -0
  64. package/dist/ui/components/nm-icon/animated/gauge.d.ts +47 -0
  65. package/dist/ui/components/nm-icon/animated/globe.d.ts +21 -0
  66. package/dist/ui/components/nm-icon/animated/graduation-cap.d.ts +41 -0
  67. package/dist/ui/components/nm-icon/animated/headphones.d.ts +50 -0
  68. package/dist/ui/components/nm-icon/animated/image.d.ts +40 -0
  69. package/dist/ui/components/nm-icon/animated/index.d.ts +2 -0
  70. package/dist/ui/components/nm-icon/animated/info.d.ts +37 -0
  71. package/dist/ui/components/nm-icon/animated/key-round.d.ts +37 -0
  72. package/dist/ui/components/nm-icon/animated/layers.d.ts +61 -0
  73. package/dist/ui/components/nm-icon/animated/layout-dashboard.d.ts +131 -0
  74. package/dist/ui/components/nm-icon/animated/library-big.d.ts +29 -0
  75. package/dist/ui/components/nm-icon/animated/lightbulb.d.ts +51 -0
  76. package/dist/ui/components/nm-icon/animated/link.d.ts +193 -0
  77. package/dist/ui/components/nm-icon/animated/list-filter.d.ts +13 -0
  78. package/dist/ui/components/nm-icon/animated/list.d.ts +111 -0
  79. package/dist/ui/components/nm-icon/animated/loader-circle.d.ts +24 -0
  80. package/dist/ui/components/nm-icon/animated/lock.d.ts +94 -0
  81. package/dist/ui/components/nm-icon/animated/log-out.d.ts +45 -0
  82. package/dist/ui/components/nm-icon/animated/mail.d.ts +100 -0
  83. package/dist/ui/components/nm-icon/animated/map-pin.d.ts +67 -0
  84. package/dist/ui/components/nm-icon/animated/menu.d.ts +57 -0
  85. package/dist/ui/components/nm-icon/animated/message-circle-dashed.d.ts +34 -0
  86. package/dist/ui/components/nm-icon/animated/message-circle.d.ts +23 -0
  87. package/dist/ui/components/nm-icon/animated/message-square-plus.d.ts +49 -0
  88. package/dist/ui/components/nm-icon/animated/message-square-text.d.ts +104 -0
  89. package/dist/ui/components/nm-icon/animated/message-square.d.ts +23 -0
  90. package/dist/ui/components/nm-icon/animated/mic-off.d.ts +23 -0
  91. package/dist/ui/components/nm-icon/animated/mic.d.ts +37 -0
  92. package/dist/ui/components/nm-icon/animated/minimize.d.ts +139 -0
  93. package/dist/ui/components/nm-icon/animated/minus.d.ts +54 -0
  94. package/dist/ui/components/nm-icon/animated/moon.d.ts +62 -0
  95. package/dist/ui/components/nm-icon/animated/music.d.ts +22 -0
  96. package/dist/ui/components/nm-icon/animated/notebook-pen.d.ts +41 -0
  97. package/dist/ui/components/nm-icon/animated/panel-left.d.ts +29 -0
  98. package/dist/ui/components/nm-icon/animated/panel-right.d.ts +29 -0
  99. package/dist/ui/components/nm-icon/animated/paperclip.d.ts +49 -0
  100. package/dist/ui/components/nm-icon/animated/pause.d.ts +59 -0
  101. package/dist/ui/components/nm-icon/animated/pencil.d.ts +25 -0
  102. package/dist/ui/components/nm-icon/animated/pin-off.d.ts +44 -0
  103. package/dist/ui/components/nm-icon/animated/pin.d.ts +85 -0
  104. package/dist/ui/components/nm-icon/animated/plane-takeoff.d.ts +25 -0
  105. package/dist/ui/components/nm-icon/animated/play.d.ts +43 -0
  106. package/dist/ui/components/nm-icon/animated/plug-zap.d.ts +49 -0
  107. package/dist/ui/components/nm-icon/animated/plus.d.ts +95 -0
  108. package/dist/ui/components/nm-icon/animated/radio.d.ts +24 -0
  109. package/dist/ui/components/nm-icon/animated/refresh-cw.d.ts +55 -0
  110. package/dist/ui/components/nm-icon/animated/rocket.d.ts +48 -0
  111. package/dist/ui/components/nm-icon/animated/rotate-ccw.d.ts +51 -0
  112. package/dist/ui/components/nm-icon/animated/rotate-cw.d.ts +71 -0
  113. package/dist/ui/components/nm-icon/animated/save.d.ts +21 -0
  114. package/dist/ui/components/nm-icon/animated/search.d.ts +42 -0
  115. package/dist/ui/components/nm-icon/animated/send.d.ts +39 -0
  116. package/dist/ui/components/nm-icon/animated/settings.d.ts +39 -0
  117. package/dist/ui/components/nm-icon/animated/share-2.d.ts +122 -0
  118. package/dist/ui/components/nm-icon/animated/share.d.ts +40 -0
  119. package/dist/ui/components/nm-icon/animated/shield-check.d.ts +36 -0
  120. package/dist/ui/components/nm-icon/animated/shopping-bag.d.ts +35 -0
  121. package/dist/ui/components/nm-icon/animated/sliders-horizontal.d.ts +239 -0
  122. package/dist/ui/components/nm-icon/animated/sparkles.d.ts +205 -0
  123. package/dist/ui/components/nm-icon/animated/star.d.ts +48 -0
  124. package/dist/ui/components/nm-icon/animated/sun.d.ts +9 -0
  125. package/dist/ui/components/nm-icon/animated/terminal.d.ts +22 -0
  126. package/dist/ui/components/nm-icon/animated/trash-2.d.ts +61 -0
  127. package/dist/ui/components/nm-icon/animated/trash.d.ts +37 -0
  128. package/dist/ui/components/nm-icon/animated/trending-up.d.ts +40 -0
  129. package/dist/ui/components/nm-icon/animated/triangle-alert.d.ts +37 -0
  130. package/dist/ui/components/nm-icon/animated/trophy.d.ts +23 -0
  131. package/dist/ui/components/nm-icon/animated/type.d.ts +57 -0
  132. package/dist/ui/components/nm-icon/animated/upload.d.ts +49 -0
  133. package/dist/ui/components/nm-icon/animated/user-round.d.ts +33 -0
  134. package/dist/ui/components/nm-icon/animated/user.d.ts +33 -0
  135. package/dist/ui/components/nm-icon/animated/users-round.d.ts +93 -0
  136. package/dist/ui/components/nm-icon/animated/users.d.ts +93 -0
  137. package/dist/ui/components/nm-icon/animated/volume-2.d.ts +10 -0
  138. package/dist/ui/components/nm-icon/animated/wand-sparkles.d.ts +71 -0
  139. package/dist/ui/components/nm-icon/animated/x.d.ts +95 -0
  140. package/dist/ui/components/nm-icon/animated/zap.d.ts +65 -0
  141. package/dist/ui/components/nm-icon/animated/zoom-in.d.ts +35 -0
  142. package/dist/ui/components/nm-icon/animated/zoom-out.d.ts +53 -0
  143. package/dist/ui/components/nm-icon/nm-icon.d.ts +6 -3
  144. package/dist/ui/components/nm-icon/nm-lucide-extended.d.ts +3 -0
  145. package/dist/ui/components/nm-icon/nm-lucide.d.ts +7 -3
  146. package/dist/ui/components/nm-menubar/nm-menubar.d.ts +2 -2
  147. package/dist/ui/components/nm-panel/nm-panel.d.ts +5 -1
  148. package/dist/ui/components/nm-popover/nm-popover.d.ts +2 -2
  149. package/dist/ui/components/nm-progress/nm-progress.d.ts +1 -1
  150. package/dist/ui/components/nm-radio-group/nm-radio-group.d.ts +2 -2
  151. package/dist/ui/components/nm-select/nm-select.d.ts +1 -1
  152. package/dist/ui/components/nm-skeleton/nm-skeleton.d.ts +3 -0
  153. package/dist/ui/components/nm-slider/nm-slider.d.ts +1 -1
  154. package/dist/ui/components/nm-small-icon-button/nm-small-icon-button.d.ts +3 -3
  155. package/dist/ui/components/nm-spinner/nm-spinner.d.ts +3 -0
  156. package/dist/ui/components/nm-switch/nm-switch.d.ts +1 -1
  157. package/dist/ui/components/nm-tabs/nm-tabs.d.ts +6 -0
  158. package/dist/ui/components/nm-toggle/nm-toggle.d.ts +1 -1
  159. package/dist/ui/components/nm-tooltip/nm-tooltip.d.ts +1 -1
  160. package/dist/ui/components/nm-voice-orb/nm-voice-orb.d.ts +18 -0
  161. package/dist/ui/components/nm-voice-orb/use-nm-voice-orb-theme.d.ts +2 -0
  162. package/dist/ui/config/nm-app-panel.d.ts +2 -0
  163. package/dist/ui/config/nm-button.d.ts +6 -0
  164. package/dist/ui/config/nm-composer.d.ts +11 -0
  165. package/dist/ui/config/nm-icons-extended.d.ts +1 -0
  166. package/dist/ui/config/nm-icons.d.ts +4 -1
  167. package/dist/ui/config/nm-voice-orb.d.ts +22 -0
  168. package/dist/ui/lib/nm-motion.d.ts +29 -0
  169. package/package.json +12 -8
  170. package/registry/index.json +5099 -71
  171. package/registry/ui/components/nm-ai/nm-ai.tsx +7 -4
  172. package/registry/ui/components/nm-alert/nm-alert.css +85 -0
  173. package/registry/ui/components/nm-alert/nm-alert.tsx +35 -0
  174. package/registry/ui/components/nm-button/nm-button.css +24 -0
  175. package/registry/ui/components/nm-button/nm-button.tsx +25 -11
  176. package/registry/ui/components/nm-checkbox/nm-checkbox.tsx +1 -1
  177. package/registry/ui/components/nm-chip/nm-chip.css +25 -0
  178. package/registry/ui/components/nm-chip/nm-chip.tsx +9 -3
  179. package/registry/ui/components/nm-collapsible/nm-collapsible.css +3 -0
  180. package/registry/ui/components/nm-collapsible/nm-collapsible.tsx +16 -0
  181. package/registry/ui/components/nm-combobox/nm-combobox.tsx +1 -1
  182. package/registry/ui/components/nm-command/nm-command.css +48 -0
  183. package/registry/ui/components/nm-command/nm-command.tsx +19 -5
  184. package/registry/ui/components/nm-composer/nm-composer.css +87 -3
  185. package/registry/ui/components/nm-composer/nm-composer.tsx +321 -33
  186. package/registry/ui/components/nm-context-menu/nm-context-menu.tsx +1 -1
  187. package/registry/ui/components/nm-dialog/nm-dialog.css +5 -6
  188. package/registry/ui/components/nm-dialog/nm-dialog.tsx +1 -1
  189. package/registry/ui/components/nm-dropdown/nm-dropdown.css +5 -0
  190. package/registry/ui/components/nm-dropdown/nm-dropdown.tsx +28 -249
  191. package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.css +8 -0
  192. package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.tsx +85 -6
  193. package/registry/ui/components/nm-hover-card/nm-hover-card.tsx +1 -1
  194. package/registry/ui/components/nm-icon/animated/activity.tsx +109 -0
  195. package/registry/ui/components/nm-icon/animated/archive.tsx +85 -0
  196. package/registry/ui/components/nm-icon/animated/arrow-down.tsx +149 -0
  197. package/registry/ui/components/nm-icon/animated/arrow-left.tsx +149 -0
  198. package/registry/ui/components/nm-icon/animated/arrow-right.tsx +149 -0
  199. package/registry/ui/components/nm-icon/animated/arrow-up-down.tsx +168 -0
  200. package/registry/ui/components/nm-icon/animated/arrow-up.tsx +149 -0
  201. package/registry/ui/components/nm-icon/animated/audio-lines.tsx +190 -0
  202. package/registry/ui/components/nm-icon/animated/bookmark-plus.tsx +65 -0
  203. package/registry/ui/components/nm-icon/animated/bookmark.tsx +77 -0
  204. package/registry/ui/components/nm-icon/animated/bot.tsx +167 -0
  205. package/registry/ui/components/nm-icon/animated/calendar-days.tsx +128 -0
  206. package/registry/ui/components/nm-icon/animated/calendar.tsx +83 -0
  207. package/registry/ui/components/nm-icon/animated/camera.tsx +85 -0
  208. package/registry/ui/components/nm-icon/animated/chart-column-increasing.tsx +150 -0
  209. package/registry/ui/components/nm-icon/animated/chart-column.tsx +179 -0
  210. package/registry/ui/components/nm-icon/animated/chart-line.tsx +88 -0
  211. package/registry/ui/components/nm-icon/animated/check-check.tsx +105 -0
  212. package/registry/ui/components/nm-icon/animated/check.tsx +70 -0
  213. package/registry/ui/components/nm-icon/animated/chevron-down.tsx +73 -0
  214. package/registry/ui/components/nm-icon/animated/chevron-left.tsx +73 -0
  215. package/registry/ui/components/nm-icon/animated/chevron-right.tsx +73 -0
  216. package/registry/ui/components/nm-icon/animated/chevron-up.tsx +73 -0
  217. package/registry/ui/components/nm-icon/animated/circle-alert.tsx +84 -0
  218. package/registry/ui/components/nm-icon/animated/circle-check-big.tsx +75 -0
  219. package/registry/ui/components/nm-icon/animated/circle-check.tsx +77 -0
  220. package/registry/ui/components/nm-icon/animated/circle-plus.tsx +93 -0
  221. package/registry/ui/components/nm-icon/animated/circle-question-mark.tsx +62 -0
  222. package/registry/ui/components/nm-icon/animated/circle-x.tsx +93 -0
  223. package/registry/ui/components/nm-icon/animated/clock-3.tsx +95 -0
  224. package/registry/ui/components/nm-icon/animated/clock-4.tsx +95 -0
  225. package/registry/ui/components/nm-icon/animated/clock.tsx +95 -0
  226. package/registry/ui/components/nm-icon/animated/cloud-sun.tsx +130 -0
  227. package/registry/ui/components/nm-icon/animated/cloud-upload.tsx +93 -0
  228. package/registry/ui/components/nm-icon/animated/copy.tsx +153 -0
  229. package/registry/ui/components/nm-icon/animated/download.tsx +93 -0
  230. package/registry/ui/components/nm-icon/animated/ellipsis.tsx +189 -0
  231. package/registry/ui/components/nm-icon/animated/external-link.tsx +97 -0
  232. package/registry/ui/components/nm-icon/animated/eye-off.tsx +63 -0
  233. package/registry/ui/components/nm-icon/animated/eye.tsx +82 -0
  234. package/registry/ui/components/nm-icon/animated/fast-forward.tsx +72 -0
  235. package/registry/ui/components/nm-icon/animated/file-clock.tsx +105 -0
  236. package/registry/ui/components/nm-icon/animated/file-text.tsx +102 -0
  237. package/registry/ui/components/nm-icon/animated/file.tsx +124 -0
  238. package/registry/ui/components/nm-icon/animated/folder.tsx +132 -0
  239. package/registry/ui/components/nm-icon/animated/gauge.tsx +84 -0
  240. package/registry/ui/components/nm-icon/animated/globe.tsx +61 -0
  241. package/registry/ui/components/nm-icon/animated/graduation-cap.tsx +92 -0
  242. package/registry/ui/components/nm-icon/animated/headphones.tsx +85 -0
  243. package/registry/ui/components/nm-icon/animated/image.tsx +88 -0
  244. package/registry/ui/components/nm-icon/animated/index.ts +251 -0
  245. package/registry/ui/components/nm-icon/animated/info.tsx +75 -0
  246. package/registry/ui/components/nm-icon/animated/key-round.tsx +67 -0
  247. package/registry/ui/components/nm-icon/animated/layers.tsx +116 -0
  248. package/registry/ui/components/nm-icon/animated/layout-dashboard.tsx +176 -0
  249. package/registry/ui/components/nm-icon/animated/library-big.tsx +89 -0
  250. package/registry/ui/components/nm-icon/animated/lightbulb.tsx +106 -0
  251. package/registry/ui/components/nm-icon/animated/link.tsx +210 -0
  252. package/registry/ui/components/nm-icon/animated/list-filter.tsx +78 -0
  253. package/registry/ui/components/nm-icon/animated/list.tsx +184 -0
  254. package/registry/ui/components/nm-icon/animated/loader-circle.tsx +68 -0
  255. package/registry/ui/components/nm-icon/animated/lock.tsx +152 -0
  256. package/registry/ui/components/nm-icon/animated/log-out.tsx +93 -0
  257. package/registry/ui/components/nm-icon/animated/mail.tsx +131 -0
  258. package/registry/ui/components/nm-icon/animated/map-pin.tsx +111 -0
  259. package/registry/ui/components/nm-icon/animated/menu.tsx +121 -0
  260. package/registry/ui/components/nm-icon/animated/message-circle-dashed.tsx +140 -0
  261. package/registry/ui/components/nm-icon/animated/message-circle.tsx +66 -0
  262. package/registry/ui/components/nm-icon/animated/message-square-plus.tsx +106 -0
  263. package/registry/ui/components/nm-icon/animated/message-square-text.tsx +153 -0
  264. package/registry/ui/components/nm-icon/animated/message-square.tsx +66 -0
  265. package/registry/ui/components/nm-icon/animated/mic-off.tsx +65 -0
  266. package/registry/ui/components/nm-icon/animated/mic.tsx +77 -0
  267. package/registry/ui/components/nm-icon/animated/minimize.tsx +164 -0
  268. package/registry/ui/components/nm-icon/animated/minus.tsx +84 -0
  269. package/registry/ui/components/nm-icon/animated/moon.tsx +98 -0
  270. package/registry/ui/components/nm-icon/animated/music.tsx +62 -0
  271. package/registry/ui/components/nm-icon/animated/notebook-pen.tsx +114 -0
  272. package/registry/ui/components/nm-icon/animated/panel-left.tsx +77 -0
  273. package/registry/ui/components/nm-icon/animated/panel-right.tsx +77 -0
  274. package/registry/ui/components/nm-icon/animated/paperclip.tsx +83 -0
  275. package/registry/ui/components/nm-icon/animated/pause.tsx +116 -0
  276. package/registry/ui/components/nm-icon/animated/pencil.tsx +70 -0
  277. package/registry/ui/components/nm-icon/animated/pin-off.tsx +102 -0
  278. package/registry/ui/components/nm-icon/animated/pin.tsx +124 -0
  279. package/registry/ui/components/nm-icon/animated/plane-takeoff.tsx +62 -0
  280. package/registry/ui/components/nm-icon/animated/play.tsx +74 -0
  281. package/registry/ui/components/nm-icon/animated/plug-zap.tsx +117 -0
  282. package/registry/ui/components/nm-icon/animated/plus.tsx +122 -0
  283. package/registry/ui/components/nm-icon/animated/radio.tsx +137 -0
  284. package/registry/ui/components/nm-icon/animated/refresh-cw.tsx +103 -0
  285. package/registry/ui/components/nm-icon/animated/rocket.tsx +93 -0
  286. package/registry/ui/components/nm-icon/animated/rotate-ccw.tsx +87 -0
  287. package/registry/ui/components/nm-icon/animated/rotate-cw.tsx +98 -0
  288. package/registry/ui/components/nm-icon/animated/save.tsx +58 -0
  289. package/registry/ui/components/nm-icon/animated/search.tsx +90 -0
  290. package/registry/ui/components/nm-icon/animated/send.tsx +87 -0
  291. package/registry/ui/components/nm-icon/animated/settings.tsx +92 -0
  292. package/registry/ui/components/nm-icon/animated/share-2.tsx +148 -0
  293. package/registry/ui/components/nm-icon/animated/share.tsx +76 -0
  294. package/registry/ui/components/nm-icon/animated/shield-check.tsx +70 -0
  295. package/registry/ui/components/nm-icon/animated/shopping-bag.tsx +71 -0
  296. package/registry/ui/components/nm-icon/animated/sliders-horizontal.tsx +243 -0
  297. package/registry/ui/components/nm-icon/animated/sparkles.tsx +227 -0
  298. package/registry/ui/components/nm-icon/animated/star.tsx +86 -0
  299. package/registry/ui/components/nm-icon/animated/sun.tsx +148 -0
  300. package/registry/ui/components/nm-icon/animated/terminal.tsx +71 -0
  301. package/registry/ui/components/nm-icon/animated/trash-2.tsx +136 -0
  302. package/registry/ui/components/nm-icon/animated/trash.tsx +94 -0
  303. package/registry/ui/components/nm-icon/animated/trending-up.tsx +75 -0
  304. package/registry/ui/components/nm-icon/animated/triangle-alert.tsx +75 -0
  305. package/registry/ui/components/nm-icon/animated/trophy.tsx +62 -0
  306. package/registry/ui/components/nm-icon/animated/type.tsx +106 -0
  307. package/registry/ui/components/nm-icon/animated/upload.tsx +94 -0
  308. package/registry/ui/components/nm-icon/animated/user-round.tsx +84 -0
  309. package/registry/ui/components/nm-icon/animated/user.tsx +84 -0
  310. package/registry/ui/components/nm-icon/animated/users-round.tsx +156 -0
  311. package/registry/ui/components/nm-icon/animated/users.tsx +156 -0
  312. package/registry/ui/components/nm-icon/animated/volume-2.tsx +119 -0
  313. package/registry/ui/components/nm-icon/animated/wand-sparkles.tsx +111 -0
  314. package/registry/ui/components/nm-icon/animated/x.tsx +122 -0
  315. package/registry/ui/components/nm-icon/animated/zap.tsx +86 -0
  316. package/registry/ui/components/nm-icon/animated/zoom-in.tsx +66 -0
  317. package/registry/ui/components/nm-icon/animated/zoom-out.tsx +85 -0
  318. package/registry/ui/components/nm-icon/nm-icon.css +0 -1
  319. package/registry/ui/components/nm-icon/nm-icon.tsx +20 -5
  320. package/registry/ui/components/nm-icon/nm-lucide-extended.tsx +284 -0
  321. package/registry/ui/components/nm-icon/nm-lucide.tsx +55 -5
  322. package/registry/ui/components/nm-input/nm-input.css +1 -0
  323. package/registry/ui/components/nm-menubar/nm-menubar.tsx +2 -2
  324. package/registry/ui/components/nm-panel/nm-panel.css +7 -0
  325. package/registry/ui/components/nm-panel/nm-panel.tsx +19 -2
  326. package/registry/ui/components/nm-popover/nm-popover.tsx +4 -3
  327. package/registry/ui/components/nm-progress/nm-progress.tsx +1 -1
  328. package/registry/ui/components/nm-radio-group/nm-radio-group.tsx +2 -2
  329. package/registry/ui/components/nm-select/nm-select.tsx +1 -1
  330. package/registry/ui/components/nm-skeleton/nm-skeleton.css +17 -0
  331. package/registry/ui/components/nm-skeleton/nm-skeleton.tsx +7 -0
  332. package/registry/ui/components/nm-slider/nm-slider.tsx +1 -1
  333. package/registry/ui/components/nm-small-icon-button/nm-small-icon-button.tsx +3 -3
  334. package/registry/ui/components/nm-spinner/nm-spinner.css +22 -0
  335. package/registry/ui/components/nm-spinner/nm-spinner.tsx +7 -0
  336. package/registry/ui/components/nm-switch/nm-switch.css +20 -3
  337. package/registry/ui/components/nm-switch/nm-switch.tsx +1 -1
  338. package/registry/ui/components/nm-tabs/nm-tabs.css +4 -0
  339. package/registry/ui/components/nm-tabs/nm-tabs.tsx +19 -0
  340. package/registry/ui/components/nm-textarea/nm-textarea.css +1 -0
  341. package/registry/ui/components/nm-toggle/nm-toggle.tsx +1 -1
  342. package/registry/ui/components/nm-toolbar/nm-toolbar.tsx +4 -1
  343. package/registry/ui/components/nm-tooltip/nm-tooltip.tsx +1 -1
  344. package/registry/ui/components/nm-voice-orb/nm-voice-orb.css +17 -0
  345. package/registry/ui/components/nm-voice-orb/nm-voice-orb.tsx +112 -0
  346. package/registry/ui/components/nm-voice-orb/use-nm-voice-orb-theme.ts +34 -0
  347. package/registry/ui/components/nordman-icon-button/nordman-icon-button.tsx +7 -3
  348. package/registry/ui/config/nm-button.ts +6 -0
  349. package/registry/ui/config/nm-composer.ts +12 -0
  350. package/registry/ui/config/nm-icons-extended.ts +141 -0
  351. package/registry/ui/config/nm-icons.ts +6 -2
  352. package/registry/ui/config/nm-voice-orb.ts +50 -0
  353. package/registry/ui/lib/nm-motion.ts +30 -0
  354. package/registry/ui/styles/tokens.css +7 -0
@@ -0,0 +1,137 @@
1
+ /* From Animate UI's registry (icons-lucide-radio), 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 RadioProps = IconProps<keyof typeof animations>;
15
+
16
+ const waves = (
17
+ wave: (ring: number, side: number) => Variants,
18
+ ): Record<string, Variants> =>
19
+ Object.fromEntries(
20
+ [1, 2, 3, 4].map((i) => [`path${i}`, wave((i - 1) % 2, i <= 2 ? 1 : -1)]),
21
+ );
22
+
23
+ const animations = {
24
+ default: {
25
+ ...waves((ring, side) => ({
26
+ initial: { opacity: 1, x: 0 },
27
+ animate: {
28
+ opacity: [1, 0.4, 1],
29
+ x: [0, side * 0.8, 0],
30
+ transition: {
31
+ duration: 0.5,
32
+ ease: 'easeInOut',
33
+ delay: 0.1 + 0.15 * ring,
34
+ },
35
+ },
36
+ })),
37
+ circle: {
38
+ initial: { scale: 1 },
39
+ animate: {
40
+ scale: [1, 1.15, 0.96, 1.06, 1],
41
+ transition: { duration: 0.5, ease: 'easeInOut' },
42
+ },
43
+ },
44
+ } satisfies Record<string, Variants>,
45
+ pulse: waves((ring) => ({
46
+ initial: { opacity: 1, scale: 1 },
47
+ animate: {
48
+ opacity: [1, 0.25, 1],
49
+ scale: [1, 0.85, 1],
50
+ transition: { duration: 0.5, ease: 'easeInOut', delay: 0.15 * ring },
51
+ },
52
+ })) satisfies Record<string, Variants>,
53
+ blink: waves((ring) => ({
54
+ initial: { opacity: 1, scale: 1 },
55
+ animate: {
56
+ opacity: 0,
57
+ scale: 0,
58
+ transition: {
59
+ opacity: {
60
+ duration: 0.2,
61
+ ease: 'easeInOut',
62
+ repeat: 1,
63
+ repeatType: 'reverse',
64
+ repeatDelay: 0.2,
65
+ delay: 0.2 * ring,
66
+ },
67
+ scale: {
68
+ duration: 0.2,
69
+ ease: 'easeInOut',
70
+ repeat: 1,
71
+ repeatType: 'reverse',
72
+ repeatDelay: 0.2,
73
+ delay: 0.2 * ring,
74
+ },
75
+ },
76
+ },
77
+ })) satisfies Record<string, Variants>,
78
+ } as const;
79
+
80
+ function IconComponent({ size, ...props }: RadioProps) {
81
+ const { controls } = useAnimateIconContext();
82
+ const variants = getVariants(animations);
83
+
84
+ return (
85
+ <motion.svg
86
+ xmlns="http://www.w3.org/2000/svg"
87
+ width={size}
88
+ height={size}
89
+ viewBox="0 0 24 24"
90
+ fill="none"
91
+ stroke="currentColor"
92
+ strokeWidth={2}
93
+ strokeLinecap="round"
94
+ strokeLinejoin="round"
95
+ {...props}
96
+ >
97
+ <motion.path
98
+ d="M16.247 7.761a6 6 0 0 1 0 8.478"
99
+ variants={variants.path1}
100
+ initial="initial"
101
+ animate={controls}
102
+ />
103
+ <motion.path
104
+ d="M19.075 4.933a10 10 0 0 1 0 14.134"
105
+ variants={variants.path2}
106
+ initial="initial"
107
+ animate={controls}
108
+ />
109
+ <motion.path
110
+ d="M7.753 16.239a6 6 0 0 1 0-8.478"
111
+ variants={variants.path3}
112
+ initial="initial"
113
+ animate={controls}
114
+ />
115
+ <motion.path
116
+ d="M4.925 19.067a10 10 0 0 1 0-14.134"
117
+ variants={variants.path4}
118
+ initial="initial"
119
+ animate={controls}
120
+ />
121
+ <motion.circle
122
+ cx="12"
123
+ cy="12"
124
+ r="2"
125
+ variants={variants.circle}
126
+ initial="initial"
127
+ animate={controls}
128
+ />
129
+ </motion.svg>
130
+ );
131
+ }
132
+
133
+ function Radio(props: RadioProps) {
134
+ return <IconWrapper icon={IconComponent} {...props} />;
135
+ }
136
+
137
+ export { animations, Radio as RadioAnimated };
@@ -0,0 +1,103 @@
1
+ /* From Animate UI's registry (icons-lucide-refresh-cw), 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 RefreshCwProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ group: {
19
+ initial: {
20
+ rotate: 0,
21
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
22
+ },
23
+ animate: {
24
+ rotate: 45,
25
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
26
+ },
27
+ },
28
+ path1: {},
29
+ path2: {},
30
+ path3: {},
31
+ path4: {},
32
+ } satisfies Record<string, Variants>,
33
+ rotate: {
34
+ group: {
35
+ initial: {
36
+ rotate: 0,
37
+ transition: { type: 'spring', stiffness: 100, damping: 25 },
38
+ },
39
+ animate: {
40
+ rotate: 360,
41
+ transition: { type: 'spring', stiffness: 100, damping: 25 },
42
+ },
43
+ },
44
+ path1: {},
45
+ path2: {},
46
+ path3: {},
47
+ path4: {},
48
+ } satisfies Record<string, Variants>,
49
+ } as const;
50
+
51
+ function IconComponent({ size, ...props }: RefreshCwProps) {
52
+ const { controls } = useAnimateIconContext();
53
+ const variants = getVariants(animations);
54
+
55
+ return (
56
+ <motion.svg
57
+ xmlns="http://www.w3.org/2000/svg"
58
+ width={size}
59
+ height={size}
60
+ viewBox="0 0 24 24"
61
+ fill="none"
62
+ stroke="currentColor"
63
+ strokeWidth={2}
64
+ strokeLinecap="round"
65
+ strokeLinejoin="round"
66
+ variants={variants.group}
67
+ initial="initial"
68
+ animate={controls}
69
+ {...props}
70
+ >
71
+ <motion.path
72
+ d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"
73
+ variants={variants.path1}
74
+ initial="initial"
75
+ animate={controls}
76
+ />
77
+ <motion.path
78
+ d="M21 3v5h-5"
79
+ variants={variants.path2}
80
+ initial="initial"
81
+ animate={controls}
82
+ />
83
+ <motion.path
84
+ d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"
85
+ variants={variants.path3}
86
+ initial="initial"
87
+ animate={controls}
88
+ />
89
+ <motion.path
90
+ d="M8 16H3v5"
91
+ variants={variants.path4}
92
+ initial="initial"
93
+ animate={controls}
94
+ />
95
+ </motion.svg>
96
+ );
97
+ }
98
+
99
+ function RefreshCw(props: RefreshCwProps) {
100
+ return <IconWrapper icon={IconComponent} {...props} />;
101
+ }
102
+
103
+ export { animations, RefreshCw as RefreshCwAnimated };
@@ -0,0 +1,93 @@
1
+ /* From Animate UI's registry (icons-lucide-rocket), 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 RocketProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ group: {
19
+ initial: { x: 0, y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },
20
+ animate: {
21
+ x: [0, -0.3, 0.3, -0.3, 0.3, 0.8],
22
+ y: [0, 0.3, -0.3, 0.3, -0.3, -0.8],
23
+ transition: { duration: 0.6, ease: 'easeInOut' },
24
+ },
25
+ },
26
+ path1: {},
27
+ path2: {},
28
+ path3: {},
29
+ trails: {
30
+ initial: { scale: 1, x: 0, y: 0, transformOrigin: '100% 0%' },
31
+ animate: {
32
+ scale: [1, 0.6, 1.1, 1],
33
+ x: [0, 0, 0, 0.8],
34
+ y: [0, 0, 0, -0.8],
35
+ transformOrigin: '100% 0%',
36
+ transition: { duration: 0.6, ease: 'easeInOut' },
37
+ },
38
+ },
39
+ } satisfies Record<string, Variants>,
40
+ } as const;
41
+
42
+ function IconComponent({ size, ...props }: RocketProps) {
43
+ const { controls } = useAnimateIconContext();
44
+ const variants = getVariants(animations);
45
+
46
+ return (
47
+ <motion.svg
48
+ xmlns="http://www.w3.org/2000/svg"
49
+ width={size}
50
+ height={size}
51
+ viewBox="0 0 24 24"
52
+ fill="none"
53
+ stroke="currentColor"
54
+ strokeWidth={2}
55
+ strokeLinecap="round"
56
+ strokeLinejoin="round"
57
+ {...props}
58
+ >
59
+ <motion.g variants={variants.group} initial="initial" animate={controls}>
60
+ <motion.path
61
+ d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"
62
+ variants={variants.path1}
63
+ initial="initial"
64
+ animate={controls}
65
+ />
66
+ <motion.path
67
+ d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z"
68
+ variants={variants.path2}
69
+ initial="initial"
70
+ animate={controls}
71
+ />
72
+ <motion.path
73
+ d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05"
74
+ variants={variants.path3}
75
+ initial="initial"
76
+ animate={controls}
77
+ />
78
+ </motion.g>
79
+ <motion.path
80
+ d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09"
81
+ variants={variants.trails}
82
+ initial="initial"
83
+ animate={controls}
84
+ />
85
+ </motion.svg>
86
+ );
87
+ }
88
+
89
+ function Rocket(props: RocketProps) {
90
+ return <IconWrapper icon={IconComponent} {...props} />;
91
+ }
92
+
93
+ export { animations, Rocket as RocketAnimated };
@@ -0,0 +1,87 @@
1
+ /* From Animate UI's registry (icons-lucide-rotate-ccw), 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 RotateCcwProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ group: {
19
+ initial: {
20
+ rotate: 0,
21
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
22
+ },
23
+ animate: {
24
+ rotate: -45,
25
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
26
+ },
27
+ },
28
+ path1: {},
29
+ path2: {},
30
+ } satisfies Record<string, Variants>,
31
+ rotate: {
32
+ group: {
33
+ initial: {
34
+ rotate: 0,
35
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
36
+ },
37
+ animate: {
38
+ rotate: -360,
39
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
40
+ },
41
+ },
42
+ path1: {},
43
+ path2: {},
44
+ } satisfies Record<string, Variants>,
45
+ } as const;
46
+
47
+ function IconComponent({ size, ...props }: RotateCcwProps) {
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
+ variants={variants.group}
63
+ initial="initial"
64
+ animate={controls}
65
+ {...props}
66
+ >
67
+ <motion.path
68
+ d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"
69
+ variants={variants.path1}
70
+ initial="initial"
71
+ animate={controls}
72
+ />
73
+ <motion.path
74
+ d="M3 3v5h5"
75
+ variants={variants.path2}
76
+ initial="initial"
77
+ animate={controls}
78
+ />
79
+ </motion.svg>
80
+ );
81
+ }
82
+
83
+ function RotateCcw(props: RotateCcwProps) {
84
+ return <IconWrapper icon={IconComponent} {...props} />;
85
+ }
86
+
87
+ export { animations, RotateCcw as RotateCcwAnimated };
@@ -0,0 +1,98 @@
1
+ /* From Animate UI's registry (icons-lucide-rotate-cw), 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 RotateCwProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ group: {
19
+ initial: { rotate: 0, transition: { duration: 0.8, ease: 'easeInOut' } },
20
+ animate: {
21
+ rotate: 360,
22
+ transition: { duration: 0.8, ease: 'easeInOut' },
23
+ },
24
+ },
25
+ path1: {},
26
+ path2: {},
27
+ } satisfies Record<string, Variants>,
28
+ tilt: {
29
+ group: {
30
+ initial: {
31
+ rotate: 0,
32
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
33
+ },
34
+ animate: {
35
+ rotate: 45,
36
+ transition: { type: 'spring', stiffness: 150, damping: 25 },
37
+ },
38
+ },
39
+ path1: {},
40
+ path2: {},
41
+ } satisfies Record<string, Variants>,
42
+ rotate: {
43
+ group: {
44
+ initial: {
45
+ rotate: 0,
46
+ transition: { type: 'spring', stiffness: 100, damping: 25 },
47
+ },
48
+ animate: {
49
+ rotate: 360,
50
+ transition: { type: 'spring', stiffness: 100, damping: 25 },
51
+ },
52
+ },
53
+ path1: {},
54
+ path2: {},
55
+ } satisfies Record<string, Variants>,
56
+ } as const;
57
+
58
+ function IconComponent({ size, ...props }: RotateCwProps) {
59
+ const { controls } = useAnimateIconContext();
60
+ const variants = getVariants(animations);
61
+
62
+ return (
63
+ <motion.svg
64
+ xmlns="http://www.w3.org/2000/svg"
65
+ width={size}
66
+ height={size}
67
+ viewBox="0 0 24 24"
68
+ fill="none"
69
+ stroke="currentColor"
70
+ strokeWidth={2}
71
+ strokeLinecap="round"
72
+ strokeLinejoin="round"
73
+ variants={variants.group}
74
+ initial="initial"
75
+ animate={controls}
76
+ {...props}
77
+ >
78
+ <motion.path
79
+ d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"
80
+ variants={variants.path1}
81
+ initial="initial"
82
+ animate={controls}
83
+ />
84
+ <motion.path
85
+ d="M21 3v5h-5"
86
+ variants={variants.path2}
87
+ initial="initial"
88
+ animate={controls}
89
+ />
90
+ </motion.svg>
91
+ );
92
+ }
93
+
94
+ function RotateCw(props: RotateCwProps) {
95
+ return <IconWrapper icon={IconComponent} {...props} />;
96
+ }
97
+
98
+ export { animations, RotateCw as RotateCwAnimated };
@@ -0,0 +1,58 @@
1
+ /* From Animate UI's registry (icons-lucide-save), 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 SaveProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ group: {
19
+ initial: { scale: 1 },
20
+ animate: {
21
+ scale: [1, 0.9, 1.04, 1],
22
+ transition: { duration: 0.5, ease: 'easeInOut' },
23
+ },
24
+ },
25
+ } satisfies Record<string, Variants>,
26
+ } as const;
27
+
28
+ function IconComponent({ size, ...props }: SaveProps) {
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
+ <motion.g variants={variants.group} initial="initial" animate={controls}>
46
+ <path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" />
47
+ <path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" />
48
+ <path d="M7 3v4a1 1 0 0 0 1 1h7" />
49
+ </motion.g>
50
+ </motion.svg>
51
+ );
52
+ }
53
+
54
+ function Save(props: SaveProps) {
55
+ return <IconWrapper icon={IconComponent} {...props} />;
56
+ }
57
+
58
+ export { animations, Save as SaveAnimated };
@@ -0,0 +1,90 @@
1
+ /* From Animate UI's registry (icons-lucide-search), 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 SearchProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ group: {
19
+ initial: {
20
+ rotate: 0,
21
+ },
22
+ animate: {
23
+ transformOrigin: 'bottom right',
24
+ rotate: [0, 17, -10, 5, -1, 0],
25
+ transition: { duration: 0.8, ease: 'easeInOut' },
26
+ },
27
+ },
28
+ path: {},
29
+ circle: {},
30
+ } satisfies Record<string, Variants>,
31
+ find: {
32
+ group: {
33
+ initial: {
34
+ x: 0,
35
+ y: 0,
36
+ },
37
+ animate: {
38
+ x: [0, '-15%', 0, 0],
39
+ y: [0, 0, '-15%', 0],
40
+ transition: { duration: 1, ease: 'easeInOut' },
41
+ },
42
+ },
43
+ path: {},
44
+ circle: {},
45
+ } satisfies Record<string, Variants>,
46
+ } as const;
47
+
48
+ function IconComponent({ size, ...props }: SearchProps) {
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
+ variants={variants.group}
64
+ initial="initial"
65
+ animate={controls}
66
+ {...props}
67
+ >
68
+ <motion.path
69
+ d="m21 21-4.34-4.34"
70
+ variants={variants.path}
71
+ initial="initial"
72
+ animate={controls}
73
+ />
74
+ <motion.circle
75
+ cx={11}
76
+ cy={11}
77
+ r={8}
78
+ variants={variants.circle}
79
+ initial="initial"
80
+ animate={controls}
81
+ />
82
+ </motion.svg>
83
+ );
84
+ }
85
+
86
+ function Search(props: SearchProps) {
87
+ return <IconWrapper icon={IconComponent} {...props} />;
88
+ }
89
+
90
+ export { animations, Search as SearchAnimated };