@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.
Files changed (365) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +7 -0
  3. package/dist/index.js +31332 -11730
  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 +7 -3
  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-kbd/nm-kbd.d.ts +5 -0
  147. package/dist/ui/components/nm-menubar/nm-menubar.d.ts +2 -2
  148. package/dist/ui/components/nm-panel/nm-panel.d.ts +5 -1
  149. package/dist/ui/components/nm-popover/nm-popover.d.ts +2 -2
  150. package/dist/ui/components/nm-progress/nm-progress.d.ts +1 -1
  151. package/dist/ui/components/nm-radio-group/nm-radio-group.d.ts +2 -2
  152. package/dist/ui/components/nm-select/nm-select.d.ts +1 -1
  153. package/dist/ui/components/nm-skeleton/nm-skeleton.d.ts +3 -0
  154. package/dist/ui/components/nm-slider/nm-slider.d.ts +1 -1
  155. package/dist/ui/components/nm-small-icon-button/nm-small-icon-button.d.ts +3 -3
  156. package/dist/ui/components/nm-spinner/nm-spinner.d.ts +3 -0
  157. package/dist/ui/components/nm-switch/nm-switch.d.ts +1 -1
  158. package/dist/ui/components/nm-tabs/nm-tabs.d.ts +6 -0
  159. package/dist/ui/components/nm-toggle/nm-toggle.d.ts +1 -1
  160. package/dist/ui/components/nm-toolbar/nm-toolbar.d.ts +6 -2
  161. package/dist/ui/components/nm-tooltip/nm-tooltip.d.ts +1 -1
  162. package/dist/ui/components/nm-voice-orb/nm-voice-orb.d.ts +18 -0
  163. package/dist/ui/components/nm-voice-orb/use-nm-voice-orb-theme.d.ts +2 -0
  164. package/dist/ui/config/nm-app-panel.d.ts +2 -0
  165. package/dist/ui/config/nm-button.d.ts +6 -0
  166. package/dist/ui/config/nm-composer.d.ts +11 -0
  167. package/dist/ui/config/nm-icon-button.d.ts +0 -2
  168. package/dist/ui/config/nm-icons-extended.d.ts +1 -0
  169. package/dist/ui/config/nm-icons.d.ts +4 -1
  170. package/dist/ui/config/nm-voice-orb.d.ts +22 -0
  171. package/dist/ui/lib/nm-motion.d.ts +29 -0
  172. package/package.json +12 -8
  173. package/registry/index.json +5113 -72
  174. package/registry/ui/components/nm-ai/nm-ai.tsx +7 -4
  175. package/registry/ui/components/nm-alert/nm-alert.css +85 -0
  176. package/registry/ui/components/nm-alert/nm-alert.tsx +35 -0
  177. package/registry/ui/components/nm-button/nm-button.css +24 -0
  178. package/registry/ui/components/nm-button/nm-button.tsx +41 -20
  179. package/registry/ui/components/nm-checkbox/nm-checkbox.tsx +1 -1
  180. package/registry/ui/components/nm-chip/nm-chip.css +25 -0
  181. package/registry/ui/components/nm-chip/nm-chip.tsx +9 -3
  182. package/registry/ui/components/nm-collapsible/nm-collapsible.css +3 -0
  183. package/registry/ui/components/nm-collapsible/nm-collapsible.tsx +16 -0
  184. package/registry/ui/components/nm-combobox/nm-combobox.tsx +1 -1
  185. package/registry/ui/components/nm-command/nm-command.css +48 -0
  186. package/registry/ui/components/nm-command/nm-command.tsx +19 -5
  187. package/registry/ui/components/nm-composer/nm-composer.css +87 -3
  188. package/registry/ui/components/nm-composer/nm-composer.tsx +321 -33
  189. package/registry/ui/components/nm-context-menu/nm-context-menu.tsx +1 -1
  190. package/registry/ui/components/nm-dialog/nm-dialog.css +5 -6
  191. package/registry/ui/components/nm-dialog/nm-dialog.tsx +1 -1
  192. package/registry/ui/components/nm-dropdown/nm-dropdown.css +5 -0
  193. package/registry/ui/components/nm-dropdown/nm-dropdown.tsx +29 -250
  194. package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.css +8 -0
  195. package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.tsx +85 -6
  196. package/registry/ui/components/nm-hover-card/nm-hover-card.tsx +1 -1
  197. package/registry/ui/components/nm-icon/animated/activity.tsx +109 -0
  198. package/registry/ui/components/nm-icon/animated/archive.tsx +85 -0
  199. package/registry/ui/components/nm-icon/animated/arrow-down.tsx +149 -0
  200. package/registry/ui/components/nm-icon/animated/arrow-left.tsx +149 -0
  201. package/registry/ui/components/nm-icon/animated/arrow-right.tsx +149 -0
  202. package/registry/ui/components/nm-icon/animated/arrow-up-down.tsx +168 -0
  203. package/registry/ui/components/nm-icon/animated/arrow-up.tsx +149 -0
  204. package/registry/ui/components/nm-icon/animated/audio-lines.tsx +190 -0
  205. package/registry/ui/components/nm-icon/animated/bookmark-plus.tsx +65 -0
  206. package/registry/ui/components/nm-icon/animated/bookmark.tsx +77 -0
  207. package/registry/ui/components/nm-icon/animated/bot.tsx +167 -0
  208. package/registry/ui/components/nm-icon/animated/calendar-days.tsx +128 -0
  209. package/registry/ui/components/nm-icon/animated/calendar.tsx +83 -0
  210. package/registry/ui/components/nm-icon/animated/camera.tsx +85 -0
  211. package/registry/ui/components/nm-icon/animated/chart-column-increasing.tsx +150 -0
  212. package/registry/ui/components/nm-icon/animated/chart-column.tsx +179 -0
  213. package/registry/ui/components/nm-icon/animated/chart-line.tsx +88 -0
  214. package/registry/ui/components/nm-icon/animated/check-check.tsx +105 -0
  215. package/registry/ui/components/nm-icon/animated/check.tsx +70 -0
  216. package/registry/ui/components/nm-icon/animated/chevron-down.tsx +73 -0
  217. package/registry/ui/components/nm-icon/animated/chevron-left.tsx +73 -0
  218. package/registry/ui/components/nm-icon/animated/chevron-right.tsx +73 -0
  219. package/registry/ui/components/nm-icon/animated/chevron-up.tsx +73 -0
  220. package/registry/ui/components/nm-icon/animated/circle-alert.tsx +84 -0
  221. package/registry/ui/components/nm-icon/animated/circle-check-big.tsx +75 -0
  222. package/registry/ui/components/nm-icon/animated/circle-check.tsx +77 -0
  223. package/registry/ui/components/nm-icon/animated/circle-plus.tsx +93 -0
  224. package/registry/ui/components/nm-icon/animated/circle-question-mark.tsx +62 -0
  225. package/registry/ui/components/nm-icon/animated/circle-x.tsx +93 -0
  226. package/registry/ui/components/nm-icon/animated/clock-3.tsx +95 -0
  227. package/registry/ui/components/nm-icon/animated/clock-4.tsx +95 -0
  228. package/registry/ui/components/nm-icon/animated/clock.tsx +95 -0
  229. package/registry/ui/components/nm-icon/animated/cloud-sun.tsx +130 -0
  230. package/registry/ui/components/nm-icon/animated/cloud-upload.tsx +93 -0
  231. package/registry/ui/components/nm-icon/animated/copy.tsx +153 -0
  232. package/registry/ui/components/nm-icon/animated/download.tsx +93 -0
  233. package/registry/ui/components/nm-icon/animated/ellipsis.tsx +189 -0
  234. package/registry/ui/components/nm-icon/animated/external-link.tsx +97 -0
  235. package/registry/ui/components/nm-icon/animated/eye-off.tsx +63 -0
  236. package/registry/ui/components/nm-icon/animated/eye.tsx +82 -0
  237. package/registry/ui/components/nm-icon/animated/fast-forward.tsx +72 -0
  238. package/registry/ui/components/nm-icon/animated/file-clock.tsx +105 -0
  239. package/registry/ui/components/nm-icon/animated/file-text.tsx +102 -0
  240. package/registry/ui/components/nm-icon/animated/file.tsx +124 -0
  241. package/registry/ui/components/nm-icon/animated/folder.tsx +132 -0
  242. package/registry/ui/components/nm-icon/animated/gauge.tsx +84 -0
  243. package/registry/ui/components/nm-icon/animated/globe.tsx +61 -0
  244. package/registry/ui/components/nm-icon/animated/graduation-cap.tsx +92 -0
  245. package/registry/ui/components/nm-icon/animated/headphones.tsx +85 -0
  246. package/registry/ui/components/nm-icon/animated/image.tsx +88 -0
  247. package/registry/ui/components/nm-icon/animated/index.ts +251 -0
  248. package/registry/ui/components/nm-icon/animated/info.tsx +75 -0
  249. package/registry/ui/components/nm-icon/animated/key-round.tsx +67 -0
  250. package/registry/ui/components/nm-icon/animated/layers.tsx +116 -0
  251. package/registry/ui/components/nm-icon/animated/layout-dashboard.tsx +176 -0
  252. package/registry/ui/components/nm-icon/animated/library-big.tsx +89 -0
  253. package/registry/ui/components/nm-icon/animated/lightbulb.tsx +106 -0
  254. package/registry/ui/components/nm-icon/animated/link.tsx +210 -0
  255. package/registry/ui/components/nm-icon/animated/list-filter.tsx +78 -0
  256. package/registry/ui/components/nm-icon/animated/list.tsx +184 -0
  257. package/registry/ui/components/nm-icon/animated/loader-circle.tsx +68 -0
  258. package/registry/ui/components/nm-icon/animated/lock.tsx +152 -0
  259. package/registry/ui/components/nm-icon/animated/log-out.tsx +93 -0
  260. package/registry/ui/components/nm-icon/animated/mail.tsx +131 -0
  261. package/registry/ui/components/nm-icon/animated/map-pin.tsx +111 -0
  262. package/registry/ui/components/nm-icon/animated/menu.tsx +121 -0
  263. package/registry/ui/components/nm-icon/animated/message-circle-dashed.tsx +140 -0
  264. package/registry/ui/components/nm-icon/animated/message-circle.tsx +66 -0
  265. package/registry/ui/components/nm-icon/animated/message-square-plus.tsx +106 -0
  266. package/registry/ui/components/nm-icon/animated/message-square-text.tsx +153 -0
  267. package/registry/ui/components/nm-icon/animated/message-square.tsx +66 -0
  268. package/registry/ui/components/nm-icon/animated/mic-off.tsx +65 -0
  269. package/registry/ui/components/nm-icon/animated/mic.tsx +77 -0
  270. package/registry/ui/components/nm-icon/animated/minimize.tsx +164 -0
  271. package/registry/ui/components/nm-icon/animated/minus.tsx +84 -0
  272. package/registry/ui/components/nm-icon/animated/moon.tsx +98 -0
  273. package/registry/ui/components/nm-icon/animated/music.tsx +62 -0
  274. package/registry/ui/components/nm-icon/animated/notebook-pen.tsx +114 -0
  275. package/registry/ui/components/nm-icon/animated/panel-left.tsx +77 -0
  276. package/registry/ui/components/nm-icon/animated/panel-right.tsx +77 -0
  277. package/registry/ui/components/nm-icon/animated/paperclip.tsx +83 -0
  278. package/registry/ui/components/nm-icon/animated/pause.tsx +116 -0
  279. package/registry/ui/components/nm-icon/animated/pencil.tsx +70 -0
  280. package/registry/ui/components/nm-icon/animated/pin-off.tsx +102 -0
  281. package/registry/ui/components/nm-icon/animated/pin.tsx +124 -0
  282. package/registry/ui/components/nm-icon/animated/plane-takeoff.tsx +62 -0
  283. package/registry/ui/components/nm-icon/animated/play.tsx +74 -0
  284. package/registry/ui/components/nm-icon/animated/plug-zap.tsx +117 -0
  285. package/registry/ui/components/nm-icon/animated/plus.tsx +122 -0
  286. package/registry/ui/components/nm-icon/animated/radio.tsx +137 -0
  287. package/registry/ui/components/nm-icon/animated/refresh-cw.tsx +103 -0
  288. package/registry/ui/components/nm-icon/animated/rocket.tsx +93 -0
  289. package/registry/ui/components/nm-icon/animated/rotate-ccw.tsx +87 -0
  290. package/registry/ui/components/nm-icon/animated/rotate-cw.tsx +98 -0
  291. package/registry/ui/components/nm-icon/animated/save.tsx +58 -0
  292. package/registry/ui/components/nm-icon/animated/search.tsx +90 -0
  293. package/registry/ui/components/nm-icon/animated/send.tsx +87 -0
  294. package/registry/ui/components/nm-icon/animated/settings.tsx +92 -0
  295. package/registry/ui/components/nm-icon/animated/share-2.tsx +148 -0
  296. package/registry/ui/components/nm-icon/animated/share.tsx +76 -0
  297. package/registry/ui/components/nm-icon/animated/shield-check.tsx +70 -0
  298. package/registry/ui/components/nm-icon/animated/shopping-bag.tsx +71 -0
  299. package/registry/ui/components/nm-icon/animated/sliders-horizontal.tsx +243 -0
  300. package/registry/ui/components/nm-icon/animated/sparkles.tsx +227 -0
  301. package/registry/ui/components/nm-icon/animated/star.tsx +86 -0
  302. package/registry/ui/components/nm-icon/animated/sun.tsx +148 -0
  303. package/registry/ui/components/nm-icon/animated/terminal.tsx +71 -0
  304. package/registry/ui/components/nm-icon/animated/trash-2.tsx +136 -0
  305. package/registry/ui/components/nm-icon/animated/trash.tsx +94 -0
  306. package/registry/ui/components/nm-icon/animated/trending-up.tsx +75 -0
  307. package/registry/ui/components/nm-icon/animated/triangle-alert.tsx +75 -0
  308. package/registry/ui/components/nm-icon/animated/trophy.tsx +62 -0
  309. package/registry/ui/components/nm-icon/animated/type.tsx +106 -0
  310. package/registry/ui/components/nm-icon/animated/upload.tsx +94 -0
  311. package/registry/ui/components/nm-icon/animated/user-round.tsx +84 -0
  312. package/registry/ui/components/nm-icon/animated/user.tsx +84 -0
  313. package/registry/ui/components/nm-icon/animated/users-round.tsx +156 -0
  314. package/registry/ui/components/nm-icon/animated/users.tsx +156 -0
  315. package/registry/ui/components/nm-icon/animated/volume-2.tsx +119 -0
  316. package/registry/ui/components/nm-icon/animated/wand-sparkles.tsx +111 -0
  317. package/registry/ui/components/nm-icon/animated/x.tsx +122 -0
  318. package/registry/ui/components/nm-icon/animated/zap.tsx +86 -0
  319. package/registry/ui/components/nm-icon/animated/zoom-in.tsx +66 -0
  320. package/registry/ui/components/nm-icon/animated/zoom-out.tsx +85 -0
  321. package/registry/ui/components/nm-icon/nm-icon.css +0 -1
  322. package/registry/ui/components/nm-icon/nm-icon.tsx +20 -5
  323. package/registry/ui/components/nm-icon/nm-lucide-extended.tsx +284 -0
  324. package/registry/ui/components/nm-icon/nm-lucide.tsx +55 -5
  325. package/registry/ui/components/nm-icon-border/nm-icon-border.tsx +1 -1
  326. package/registry/ui/components/nm-input/nm-input.css +1 -0
  327. package/registry/ui/components/nm-kbd/nm-kbd.css +23 -0
  328. package/registry/ui/components/nm-kbd/nm-kbd.tsx +12 -0
  329. package/registry/ui/components/nm-menubar/nm-menubar.tsx +2 -2
  330. package/registry/ui/components/nm-panel/nm-panel.css +7 -0
  331. package/registry/ui/components/nm-panel/nm-panel.tsx +19 -2
  332. package/registry/ui/components/nm-popover/nm-popover.tsx +4 -3
  333. package/registry/ui/components/nm-progress/nm-progress.tsx +1 -1
  334. package/registry/ui/components/nm-radio-group/nm-radio-group.tsx +2 -2
  335. package/registry/ui/components/nm-segmented/nm-segmented.tsx +1 -1
  336. package/registry/ui/components/nm-select/nm-select.tsx +1 -1
  337. package/registry/ui/components/nm-skeleton/nm-skeleton.css +17 -0
  338. package/registry/ui/components/nm-skeleton/nm-skeleton.tsx +7 -0
  339. package/registry/ui/components/nm-slider/nm-slider.tsx +1 -1
  340. package/registry/ui/components/nm-small-icon-button/nm-small-icon-button.tsx +3 -3
  341. package/registry/ui/components/nm-spinner/nm-spinner.css +22 -0
  342. package/registry/ui/components/nm-spinner/nm-spinner.tsx +7 -0
  343. package/registry/ui/components/nm-switch/nm-switch.css +20 -3
  344. package/registry/ui/components/nm-switch/nm-switch.tsx +1 -1
  345. package/registry/ui/components/nm-tabs/nm-tabs.css +4 -0
  346. package/registry/ui/components/nm-tabs/nm-tabs.tsx +19 -0
  347. package/registry/ui/components/nm-textarea/nm-textarea.css +1 -0
  348. package/registry/ui/components/nm-toggle/nm-toggle.tsx +1 -1
  349. package/registry/ui/components/nm-toolbar/nm-toolbar.css +0 -6
  350. package/registry/ui/components/nm-toolbar/nm-toolbar.tsx +16 -7
  351. package/registry/ui/components/nm-tooltip/nm-tooltip.css +17 -0
  352. package/registry/ui/components/nm-tooltip/nm-tooltip.tsx +1 -1
  353. package/registry/ui/components/nm-voice-orb/nm-voice-orb.css +17 -0
  354. package/registry/ui/components/nm-voice-orb/nm-voice-orb.tsx +112 -0
  355. package/registry/ui/components/nm-voice-orb/use-nm-voice-orb-theme.ts +34 -0
  356. package/registry/ui/components/nordman-icon-button/nordman-icon-button.css +6 -9
  357. package/registry/ui/components/nordman-icon-button/nordman-icon-button.tsx +7 -3
  358. package/registry/ui/config/nm-button.ts +6 -0
  359. package/registry/ui/config/nm-composer.ts +12 -0
  360. package/registry/ui/config/nm-icon-button.ts +0 -2
  361. package/registry/ui/config/nm-icons-extended.ts +141 -0
  362. package/registry/ui/config/nm-icons.ts +6 -2
  363. package/registry/ui/config/nm-voice-orb.ts +50 -0
  364. package/registry/ui/lib/nm-motion.ts +30 -0
  365. package/registry/ui/styles/tokens.css +7 -0
@@ -0,0 +1,82 @@
1
+ /* From Animate UI's registry (icons-lucide-eye), 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 EyeProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ group: {
19
+ initial: { scaleY: 1 },
20
+ animate: {
21
+ scaleY: [1, 0.1, 1],
22
+ transition: { duration: 0.4, ease: 'easeInOut' },
23
+ },
24
+ },
25
+ path1: {},
26
+ path2: {},
27
+ } satisfies Record<string, Variants>,
28
+ look: {
29
+ group: {},
30
+ path1: {},
31
+ path2: {
32
+ initial: { x: 0 },
33
+ animate: {
34
+ x: [0, -2.5, 2.5, 0],
35
+ transition: { duration: 1, ease: 'easeInOut' },
36
+ },
37
+ },
38
+ } satisfies Record<string, Variants>,
39
+ } as const;
40
+
41
+ function IconComponent({ size, ...props }: EyeProps) {
42
+ const { controls } = useAnimateIconContext();
43
+ const variants = getVariants(animations);
44
+
45
+ return (
46
+ <motion.svg
47
+ xmlns="http://www.w3.org/2000/svg"
48
+ width={size}
49
+ height={size}
50
+ viewBox="0 0 24 24"
51
+ fill="none"
52
+ stroke="currentColor"
53
+ strokeWidth={2}
54
+ strokeLinecap="round"
55
+ strokeLinejoin="round"
56
+ {...props}
57
+ >
58
+ <motion.g variants={variants.group} initial="initial" animate={controls}>
59
+ <motion.path
60
+ d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"
61
+ variants={variants.path1}
62
+ initial="initial"
63
+ animate={controls}
64
+ />
65
+ <motion.circle
66
+ cx={12}
67
+ cy={12}
68
+ r={3}
69
+ variants={variants.path2}
70
+ initial="initial"
71
+ animate={controls}
72
+ />
73
+ </motion.g>
74
+ </motion.svg>
75
+ );
76
+ }
77
+
78
+ function Eye(props: EyeProps) {
79
+ return <IconWrapper icon={IconComponent} {...props} />;
80
+ }
81
+
82
+ export { animations, Eye as EyeAnimated };
@@ -0,0 +1,72 @@
1
+ /* From Animate UI's registry (icons-lucide-fast-forward), 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 FastForwardProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ back: {
19
+ initial: { x: 0 },
20
+ animate: {
21
+ x: [0, 1.5, 0],
22
+ transition: { duration: 0.5, ease: 'easeInOut' },
23
+ },
24
+ },
25
+ front: {
26
+ initial: { x: 0 },
27
+ animate: {
28
+ x: [0, 0.6, 0],
29
+ transition: { duration: 0.5, ease: 'easeInOut', delay: 0.05 },
30
+ },
31
+ },
32
+ } satisfies Record<string, Variants>,
33
+ } as const;
34
+
35
+ function IconComponent({ size, ...props }: FastForwardProps) {
36
+ const { controls } = useAnimateIconContext();
37
+ const variants = getVariants(animations);
38
+
39
+ return (
40
+ <motion.svg
41
+ xmlns="http://www.w3.org/2000/svg"
42
+ width={size}
43
+ height={size}
44
+ viewBox="0 0 24 24"
45
+ fill="none"
46
+ stroke="currentColor"
47
+ strokeWidth={2}
48
+ strokeLinecap="round"
49
+ strokeLinejoin="round"
50
+ {...props}
51
+ >
52
+ <motion.path
53
+ d="M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z"
54
+ variants={variants.back}
55
+ initial="initial"
56
+ animate={controls}
57
+ />
58
+ <motion.path
59
+ d="M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z"
60
+ variants={variants.front}
61
+ initial="initial"
62
+ animate={controls}
63
+ />
64
+ </motion.svg>
65
+ );
66
+ }
67
+
68
+ function FastForward(props: FastForwardProps) {
69
+ return <IconWrapper icon={IconComponent} {...props} />;
70
+ }
71
+
72
+ export { animations, FastForward as FastForwardAnimated };
@@ -0,0 +1,105 @@
1
+ /* From Animate UI's registry (icons-lucide-file-clock), 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 FileClockProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ face1: {},
19
+ face2: {},
20
+ face3: {},
21
+ minute: {
22
+ initial: {
23
+ rotate: 0,
24
+ transformOrigin: '50% 100%',
25
+ transition: { duration: 0.6, ease: 'easeInOut' },
26
+ },
27
+ animate: {
28
+ rotate: 360,
29
+ transformOrigin: '50% 100%',
30
+ transition: { duration: 0.6, ease: 'easeInOut' },
31
+ },
32
+ },
33
+ hour: {
34
+ initial: {
35
+ rotate: 0,
36
+ transformOrigin: '0% 0%',
37
+ transition: { duration: 0.6, ease: 'easeInOut' },
38
+ },
39
+ animate: {
40
+ rotate: [0, 20, 0],
41
+ transformOrigin: '0% 0%',
42
+ transition: { duration: 0.6, ease: 'easeInOut' },
43
+ },
44
+ },
45
+ } satisfies Record<string, Variants>,
46
+ } as const;
47
+
48
+ function IconComponent({ size, ...props }: FileClockProps) {
49
+ const { controls } = useAnimateIconContext();
50
+ const variants = getVariants(animations);
51
+
52
+ return (
53
+ <motion.svg
54
+ xmlns="http://www.w3.org/2000/svg"
55
+ width={size}
56
+ height={size}
57
+ viewBox="0 0 24 24"
58
+ fill="none"
59
+ stroke="currentColor"
60
+ strokeWidth={2}
61
+ strokeLinecap="round"
62
+ strokeLinejoin="round"
63
+ {...props}
64
+ >
65
+ <motion.path
66
+ d="M16 22h2a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v2.85"
67
+ variants={variants.face1}
68
+ initial="initial"
69
+ animate={controls}
70
+ />
71
+ <motion.path
72
+ d="M14 2v5a1 1 0 0 0 1 1h5"
73
+ variants={variants.face2}
74
+ initial="initial"
75
+ animate={controls}
76
+ />
77
+ <motion.circle
78
+ cx={8}
79
+ cy={16}
80
+ r={6}
81
+ variants={variants.face3}
82
+ initial="initial"
83
+ animate={controls}
84
+ />
85
+ <motion.path
86
+ d="M8 14V16.2"
87
+ variants={variants.minute}
88
+ initial="initial"
89
+ animate={controls}
90
+ />
91
+ <motion.path
92
+ d="M8 16.2L9.6 17.2"
93
+ variants={variants.hour}
94
+ initial="initial"
95
+ animate={controls}
96
+ />
97
+ </motion.svg>
98
+ );
99
+ }
100
+
101
+ function FileClock(props: FileClockProps) {
102
+ return <IconWrapper icon={IconComponent} {...props} />;
103
+ }
104
+
105
+ export { animations, FileClock as FileClockAnimated };
@@ -0,0 +1,102 @@
1
+ /* From Animate UI's registry (icons-lucide-file-text), 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 FileTextProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ sheet: {},
19
+ fold: {},
20
+ line1: {
21
+ initial: { pathLength: 1, opacity: 1 },
22
+ animate: {
23
+ pathLength: [0, 1],
24
+ opacity: [0, 1],
25
+ transition: { duration: 0.35, delay: 0.05, ease: 'easeOut' },
26
+ },
27
+ },
28
+ line2: {
29
+ initial: { pathLength: 1, opacity: 1 },
30
+ animate: {
31
+ pathLength: [0, 1],
32
+ opacity: [0, 1],
33
+ transition: { duration: 0.35, delay: 0.25, ease: 'easeOut' },
34
+ },
35
+ },
36
+ line3: {
37
+ initial: { pathLength: 1, opacity: 1 },
38
+ animate: {
39
+ pathLength: [0, 1],
40
+ opacity: [0, 1],
41
+ transition: { duration: 0.35, delay: 0.45, ease: 'easeOut' },
42
+ },
43
+ },
44
+ } satisfies Record<string, Variants>,
45
+ } as const;
46
+
47
+ function IconComponent({ size, ...props }: FileTextProps) {
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.path
65
+ d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"
66
+ variants={variants.sheet}
67
+ initial="initial"
68
+ animate={controls}
69
+ />
70
+ <motion.path
71
+ d="M14 2v5a1 1 0 0 0 1 1h5"
72
+ variants={variants.fold}
73
+ initial="initial"
74
+ animate={controls}
75
+ />
76
+ <motion.path
77
+ d="M8 9h2"
78
+ variants={variants.line1}
79
+ initial="initial"
80
+ animate={controls}
81
+ />
82
+ <motion.path
83
+ d="M8 13h8"
84
+ variants={variants.line2}
85
+ initial="initial"
86
+ animate={controls}
87
+ />
88
+ <motion.path
89
+ d="M8 17h8"
90
+ variants={variants.line3}
91
+ initial="initial"
92
+ animate={controls}
93
+ />
94
+ </motion.svg>
95
+ );
96
+ }
97
+
98
+ function FileText(props: FileTextProps) {
99
+ return <IconWrapper icon={IconComponent} {...props} />;
100
+ }
101
+
102
+ export { animations, FileText as FileTextAnimated };
@@ -0,0 +1,124 @@
1
+ /* From Animate UI's registry (icons-lucide-file), 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 FileProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ sheet: {
19
+ initial: {
20
+ d: 'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z',
21
+ },
22
+ animate: {
23
+ d: [
24
+ 'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z',
25
+ 'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a240 240 0 0 1 2.4 0l1.6 0A2.4 2.4 0 0 1 20 4v16a2 2 0 0 1 -2 2z',
26
+ 'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a240 240 0 0 1 2.4 0l1.6 0A2.4 2.4 0 0 1 20 4v16a2 2 0 0 1 -2 2z',
27
+ 'M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z',
28
+ ],
29
+ transition: {
30
+ duration: 1.8,
31
+ times: [0, 0.25, 0.75, 1],
32
+ ease: 'easeInOut',
33
+ },
34
+ },
35
+ },
36
+ fold: {
37
+ initial: { pathLength: 1, opacity: 1 },
38
+ animate: {
39
+ pathLength: [1, 0, 0, 1],
40
+ opacity: [1, 0, 0, 1],
41
+ transition: {
42
+ duration: 1.8,
43
+ times: [0, 0.25, 0.75, 1],
44
+ ease: 'easeInOut',
45
+ },
46
+ },
47
+ },
48
+ line1: {
49
+ initial: { pathLength: 0, opacity: 0 },
50
+ animate: {
51
+ pathLength: [0, 0, 1, 1, 0],
52
+ opacity: [0, 0, 1, 1, 0],
53
+ transition: {
54
+ duration: 1.8,
55
+ times: [0, 0.3, 0.45, 0.7, 0.78],
56
+ ease: 'easeOut',
57
+ },
58
+ },
59
+ },
60
+ line2: {
61
+ initial: { pathLength: 0, opacity: 0 },
62
+ animate: {
63
+ pathLength: [0, 0, 1, 1, 0],
64
+ opacity: [0, 0, 1, 1, 0],
65
+ transition: {
66
+ duration: 1.8,
67
+ times: [0, 0.45, 0.6, 0.7, 0.78],
68
+ ease: 'easeOut',
69
+ },
70
+ },
71
+ },
72
+ } satisfies Record<string, Variants>,
73
+ } as const;
74
+
75
+ function IconComponent({ size, ...props }: FileProps) {
76
+ const { controls } = useAnimateIconContext();
77
+ const variants = getVariants(animations);
78
+
79
+ return (
80
+ <motion.svg
81
+ xmlns="http://www.w3.org/2000/svg"
82
+ width={size}
83
+ height={size}
84
+ viewBox="0 0 24 24"
85
+ fill="none"
86
+ stroke="currentColor"
87
+ strokeWidth={2}
88
+ strokeLinecap="round"
89
+ strokeLinejoin="round"
90
+ {...props}
91
+ >
92
+ <motion.path
93
+ d="M6 22a2 2 0 0 1 -2 -2V4a2 2 0 0 1 2 -2h8a2.4 2.4 0 0 1 1.704 .706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1 -2 2z"
94
+ variants={variants.sheet}
95
+ initial="initial"
96
+ animate={controls}
97
+ />
98
+ <motion.path
99
+ d="M14 2v5a1 1 0 0 0 1 1h5"
100
+ variants={variants.fold}
101
+ initial="initial"
102
+ animate={controls}
103
+ />
104
+ <motion.path
105
+ d="M8 11h8"
106
+ variants={variants.line1}
107
+ initial="initial"
108
+ animate={controls}
109
+ />
110
+ <motion.path
111
+ d="M8 15h8"
112
+ variants={variants.line2}
113
+ initial="initial"
114
+ animate={controls}
115
+ />
116
+ </motion.svg>
117
+ );
118
+ }
119
+
120
+ function File(props: FileProps) {
121
+ return <IconWrapper icon={IconComponent} {...props} />;
122
+ }
123
+
124
+ export { animations, File as FileAnimated };
@@ -0,0 +1,132 @@
1
+ /* From Animate UI's registry (icons-lucide-folder), 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 FolderProps = IconProps<keyof typeof animations>;
15
+
16
+ const CLOSED_FRONT =
17
+ 'M20 20 a2 2 0 0 0 2 -2 V8 a2 2 0 0 0 -2 -2 h-7.9 a2 2 0 0 1 -1.69 -0.9 L9.6 3.9 A2 2 0 0 0 7.93 3 H4 a2 2 0 0 0 -2 2 v13 a2 2 0 0 0 2 2 Z';
18
+ const OPEN_FRONT =
19
+ 'M20 20 a2 2 0 0 0 2 -2 V11 a2 2 0 0 0 -2 -2 h-7.9 a20 20 0 0 1 -1.69 0 L9.6 9 A20 20 0 0 0 7.93 9 H4 a2 2 0 0 0 -2 2 v7 a2 2 0 0 0 2 2 Z';
20
+
21
+ const animations = {
22
+ default: {
23
+ group: {},
24
+ back: {},
25
+ path: {
26
+ initial: { d: CLOSED_FRONT },
27
+ animate: {
28
+ d: [CLOSED_FRONT, OPEN_FRONT, CLOSED_FRONT],
29
+ transition: { duration: 0.6, ease: 'easeInOut' },
30
+ },
31
+ },
32
+ } satisfies Record<string, Variants>,
33
+ wiggle: {
34
+ group: {
35
+ initial: {
36
+ scale: 1,
37
+ rotate: 0,
38
+ y: 0,
39
+ },
40
+ animate: {
41
+ scale: [1, 0.92, 1.05, 0.98, 1],
42
+ rotate: [0, -3, 3, -1.5, 0],
43
+ y: [0, -1, 0.5, 0],
44
+ transition: { duration: 0.5, ease: 'easeInOut' },
45
+ },
46
+ },
47
+ back: {},
48
+ path: {},
49
+ } satisfies Record<string, Variants>,
50
+ bounce: {
51
+ group: {
52
+ initial: {
53
+ scale: 1,
54
+ y: 0,
55
+ },
56
+ animate: {
57
+ scale: [1, 0.9, 1.06, 0.97, 1],
58
+ y: [0, -1.5, 0.5, 0],
59
+ transition: { duration: 0.5, ease: 'easeInOut' },
60
+ },
61
+ },
62
+ back: {},
63
+ path: {},
64
+ } satisfies Record<string, Variants>,
65
+ fill: {
66
+ group: {
67
+ initial: {
68
+ scale: 1,
69
+ rotate: 0,
70
+ y: 0,
71
+ },
72
+ animate: {
73
+ scale: [1, 0.92, 1.05, 0.98, 1],
74
+ rotate: [0, -3, 3, -1.5, 0],
75
+ y: [0, -1, 0.5, 0],
76
+ transition: { duration: 0.5, ease: 'easeInOut' },
77
+ },
78
+ },
79
+ back: {},
80
+ path: {
81
+ initial: {
82
+ fill: 'currentColor',
83
+ fillOpacity: 0,
84
+ },
85
+ animate: {
86
+ fillOpacity: 1,
87
+ transition: { delay: 0.15 },
88
+ },
89
+ },
90
+ } satisfies Record<string, Variants>,
91
+ } as const;
92
+
93
+ function IconComponent({ size, ...props }: FolderProps) {
94
+ const { controls } = useAnimateIconContext();
95
+ const variants = getVariants(animations);
96
+
97
+ return (
98
+ <motion.svg
99
+ xmlns="http://www.w3.org/2000/svg"
100
+ width={size}
101
+ height={size}
102
+ viewBox="0 0 24 24"
103
+ fill="none"
104
+ stroke="currentColor"
105
+ strokeWidth={2}
106
+ strokeLinecap="round"
107
+ strokeLinejoin="round"
108
+ {...props}
109
+ >
110
+ <motion.g variants={variants.group} initial="initial" animate={controls}>
111
+ <motion.path
112
+ d={CLOSED_FRONT}
113
+ variants={variants.back}
114
+ initial="initial"
115
+ animate={controls}
116
+ />
117
+ <motion.path
118
+ d={CLOSED_FRONT}
119
+ variants={variants.path}
120
+ initial="initial"
121
+ animate={controls}
122
+ />
123
+ </motion.g>
124
+ </motion.svg>
125
+ );
126
+ }
127
+
128
+ function Folder(props: FolderProps) {
129
+ return <IconWrapper icon={IconComponent} {...props} />;
130
+ }
131
+
132
+ export { animations, Folder as FolderAnimated };
@@ -0,0 +1,84 @@
1
+ /* From Animate UI's registry (icons-lucide-gauge), 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 GaugeProps = IconProps<keyof typeof animations>;
15
+
16
+ const animations = {
17
+ default: {
18
+ path1: {
19
+ initial: {
20
+ rotate: 0,
21
+ transition: { ease: 'easeInOut', duration: 0.3 },
22
+ },
23
+ animate: {
24
+ transformOrigin: 'bottom left',
25
+ rotate: 70,
26
+ transition: { ease: 'easeInOut', duration: 0.3 },
27
+ },
28
+ },
29
+ path2: {},
30
+ } satisfies Record<string, Variants>,
31
+ 'default-loop': {
32
+ path1: {
33
+ initial: {
34
+ rotate: 0,
35
+ transition: { ease: 'easeInOut', duration: 0.6 },
36
+ },
37
+ animate: {
38
+ transformOrigin: 'bottom left',
39
+ rotate: [0, 70, 0],
40
+ transition: { ease: 'easeInOut', duration: 0.6 },
41
+ },
42
+ },
43
+ path2: {},
44
+ } satisfies Record<string, Variants>,
45
+ } as const;
46
+
47
+ function IconComponent({ size, ...props }: GaugeProps) {
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.path
65
+ d="m12 14 4-4"
66
+ variants={variants.path1}
67
+ initial="initial"
68
+ animate={controls}
69
+ />
70
+ <motion.path
71
+ d="M3.34 19a10 10 0 1 1 17.32 0"
72
+ variants={variants.path2}
73
+ initial="initial"
74
+ animate={controls}
75
+ />
76
+ </motion.svg>
77
+ );
78
+ }
79
+
80
+ function Gauge(props: GaugeProps) {
81
+ return <IconWrapper icon={IconComponent} {...props} />;
82
+ }
83
+
84
+ export { animations, Gauge as GaugeAnimated };