@factorialco/factorial-icons 0.0.0-stage → 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (815) hide show
  1. package/README.md +39 -2
  2. package/dist/ai/Calendar.d.ts +3 -0
  3. package/dist/ai/Calendar.js +5 -0
  4. package/dist/ai/ChangeTone.d.ts +3 -0
  5. package/dist/ai/ChangeTone.js +5 -0
  6. package/dist/ai/ChartLine.d.ts +3 -0
  7. package/dist/ai/ChartLine.js +5 -0
  8. package/dist/ai/FileAi.d.ts +3 -0
  9. package/dist/ai/FileAi.js +5 -0
  10. package/dist/ai/LightbulbAi.d.ts +3 -0
  11. package/dist/ai/LightbulbAi.js +5 -0
  12. package/dist/ai/MessageAi.d.ts +3 -0
  13. package/dist/ai/MessageAi.js +5 -0
  14. package/dist/ai/MicrophoneAi.d.ts +3 -0
  15. package/dist/ai/MicrophoneAi.js +5 -0
  16. package/dist/ai/One.d.ts +3 -0
  17. package/dist/ai/One.js +5 -0
  18. package/dist/ai/ReceiptAi.d.ts +3 -0
  19. package/dist/ai/ReceiptAi.js +5 -0
  20. package/dist/ai/Rewrite.d.ts +3 -0
  21. package/dist/ai/Rewrite.js +5 -0
  22. package/dist/ai/Search.d.ts +3 -0
  23. package/dist/ai/Search.js +5 -0
  24. package/dist/ai/Summary.d.ts +3 -0
  25. package/dist/ai/Summary.js +5 -0
  26. package/dist/ai/Translate.d.ts +3 -0
  27. package/dist/ai/Translate.js +5 -0
  28. package/dist/ai/index.d.ts +13 -0
  29. package/dist/ai/index.js +13 -0
  30. package/dist/animated/create-animated-icon.d.ts +27 -0
  31. package/dist/animated/create-animated-icon.js +43 -0
  32. package/dist/animated/data.d.ts +2 -0
  33. package/dist/animated/data.js +1809 -0
  34. package/dist/animated/index.d.ts +73 -0
  35. package/dist/animated/index.js +28 -0
  36. package/dist/app/AcademicCap.d.ts +3 -0
  37. package/dist/app/AcademicCap.js +5 -0
  38. package/dist/app/Add.d.ts +3 -0
  39. package/dist/app/Add.js +5 -0
  40. package/dist/app/Agentic.d.ts +3 -0
  41. package/dist/app/Agentic.js +5 -0
  42. package/dist/app/Ai.d.ts +3 -0
  43. package/dist/app/Ai.js +5 -0
  44. package/dist/app/Alert.d.ts +3 -0
  45. package/dist/app/Alert.js +5 -0
  46. package/dist/app/AlertCircle.d.ts +3 -0
  47. package/dist/app/AlertCircle.js +5 -0
  48. package/dist/app/AlertCircleLine.d.ts +3 -0
  49. package/dist/app/AlertCircleLine.js +5 -0
  50. package/dist/app/AlignTextCenter.d.ts +3 -0
  51. package/dist/app/AlignTextCenter.js +5 -0
  52. package/dist/app/AlignTextJustify.d.ts +3 -0
  53. package/dist/app/AlignTextJustify.js +5 -0
  54. package/dist/app/AlignTextLeft.d.ts +3 -0
  55. package/dist/app/AlignTextLeft.js +5 -0
  56. package/dist/app/AlignTextRight.d.ts +3 -0
  57. package/dist/app/AlignTextRight.js +5 -0
  58. package/dist/app/Appearance.d.ts +3 -0
  59. package/dist/app/Appearance.js +5 -0
  60. package/dist/app/Archive.d.ts +3 -0
  61. package/dist/app/Archive.js +5 -0
  62. package/dist/app/ArchiveOpen.d.ts +3 -0
  63. package/dist/app/ArchiveOpen.js +5 -0
  64. package/dist/app/ArrowCycle.d.ts +3 -0
  65. package/dist/app/ArrowCycle.js +5 -0
  66. package/dist/app/ArrowDown.d.ts +3 -0
  67. package/dist/app/ArrowDown.js +5 -0
  68. package/dist/app/ArrowLeft.d.ts +3 -0
  69. package/dist/app/ArrowLeft.js +5 -0
  70. package/dist/app/ArrowRight.d.ts +3 -0
  71. package/dist/app/ArrowRight.js +5 -0
  72. package/dist/app/ArrowUp.d.ts +3 -0
  73. package/dist/app/ArrowUp.js +5 -0
  74. package/dist/app/Ascending.d.ts +3 -0
  75. package/dist/app/Ascending.js +5 -0
  76. package/dist/app/AudioWave.d.ts +3 -0
  77. package/dist/app/AudioWave.js +5 -0
  78. package/dist/app/Balance.d.ts +3 -0
  79. package/dist/app/Balance.js +5 -0
  80. package/dist/app/Bank.d.ts +3 -0
  81. package/dist/app/Bank.js +5 -0
  82. package/dist/app/BarGraph.d.ts +3 -0
  83. package/dist/app/BarGraph.js +5 -0
  84. package/dist/app/Barcode.d.ts +3 -0
  85. package/dist/app/Barcode.js +5 -0
  86. package/dist/app/Bed.d.ts +3 -0
  87. package/dist/app/Bed.js +5 -0
  88. package/dist/app/Bell.d.ts +3 -0
  89. package/dist/app/Bell.js +5 -0
  90. package/dist/app/BellOff.d.ts +3 -0
  91. package/dist/app/BellOff.js +5 -0
  92. package/dist/app/Bold.d.ts +3 -0
  93. package/dist/app/Bold.js +5 -0
  94. package/dist/app/Book.d.ts +3 -0
  95. package/dist/app/Book.js +5 -0
  96. package/dist/app/BookOpen.d.ts +3 -0
  97. package/dist/app/BookOpen.js +5 -0
  98. package/dist/app/Bookmark.d.ts +3 -0
  99. package/dist/app/Bookmark.js +5 -0
  100. package/dist/app/Briefcase.d.ts +3 -0
  101. package/dist/app/Briefcase.js +5 -0
  102. package/dist/app/Bucket.d.ts +3 -0
  103. package/dist/app/Bucket.js +5 -0
  104. package/dist/app/Building.d.ts +3 -0
  105. package/dist/app/Building.js +5 -0
  106. package/dist/app/Bullet.d.ts +3 -0
  107. package/dist/app/Bullet.js +5 -0
  108. package/dist/app/Cake.d.ts +3 -0
  109. package/dist/app/Cake.js +5 -0
  110. package/dist/app/CakeFilled.d.ts +3 -0
  111. package/dist/app/CakeFilled.js +5 -0
  112. package/dist/app/Calculator.d.ts +3 -0
  113. package/dist/app/Calculator.js +5 -0
  114. package/dist/app/Calendar.d.ts +3 -0
  115. package/dist/app/Calendar.js +5 -0
  116. package/dist/app/CalendarActive.d.ts +3 -0
  117. package/dist/app/CalendarActive.js +5 -0
  118. package/dist/app/CalendarArrowDown.d.ts +3 -0
  119. package/dist/app/CalendarArrowDown.js +5 -0
  120. package/dist/app/CalendarArrowLeft.d.ts +3 -0
  121. package/dist/app/CalendarArrowLeft.js +5 -0
  122. package/dist/app/CalendarArrowRight.d.ts +3 -0
  123. package/dist/app/CalendarArrowRight.js +5 -0
  124. package/dist/app/CameraPlus.d.ts +3 -0
  125. package/dist/app/CameraPlus.js +5 -0
  126. package/dist/app/Car.d.ts +3 -0
  127. package/dist/app/Car.js +5 -0
  128. package/dist/app/CardPin.d.ts +3 -0
  129. package/dist/app/CardPin.js +5 -0
  130. package/dist/app/ChartFunnel.d.ts +3 -0
  131. package/dist/app/ChartFunnel.js +5 -0
  132. package/dist/app/ChartHorizontalBars.d.ts +3 -0
  133. package/dist/app/ChartHorizontalBars.js +5 -0
  134. package/dist/app/ChartLine.d.ts +3 -0
  135. package/dist/app/ChartLine.js +5 -0
  136. package/dist/app/ChartPie.d.ts +3 -0
  137. package/dist/app/ChartPie.js +5 -0
  138. package/dist/app/ChartVerticalBars.d.ts +3 -0
  139. package/dist/app/ChartVerticalBars.js +5 -0
  140. package/dist/app/Check.d.ts +3 -0
  141. package/dist/app/Check.js +5 -0
  142. package/dist/app/CheckCircle.d.ts +3 -0
  143. package/dist/app/CheckCircle.js +5 -0
  144. package/dist/app/CheckCircleLine.d.ts +3 -0
  145. package/dist/app/CheckCircleLine.js +5 -0
  146. package/dist/app/CheckDouble.d.ts +3 -0
  147. package/dist/app/CheckDouble.js +5 -0
  148. package/dist/app/CheckSquare.d.ts +3 -0
  149. package/dist/app/CheckSquare.js +5 -0
  150. package/dist/app/ChevronDown.d.ts +3 -0
  151. package/dist/app/ChevronDown.js +5 -0
  152. package/dist/app/ChevronLeft.d.ts +3 -0
  153. package/dist/app/ChevronLeft.js +5 -0
  154. package/dist/app/ChevronRight.d.ts +3 -0
  155. package/dist/app/ChevronRight.js +5 -0
  156. package/dist/app/ChevronUp.d.ts +3 -0
  157. package/dist/app/ChevronUp.js +5 -0
  158. package/dist/app/Chip.d.ts +3 -0
  159. package/dist/app/Chip.js +5 -0
  160. package/dist/app/Circle.d.ts +3 -0
  161. package/dist/app/Circle.js +5 -0
  162. package/dist/app/Clock.d.ts +3 -0
  163. package/dist/app/Clock.js +5 -0
  164. package/dist/app/ClockArrowIn.d.ts +3 -0
  165. package/dist/app/ClockArrowIn.js +5 -0
  166. package/dist/app/ClockArrowOut.d.ts +3 -0
  167. package/dist/app/ClockArrowOut.js +5 -0
  168. package/dist/app/ClockBack.d.ts +3 -0
  169. package/dist/app/ClockBack.js +5 -0
  170. package/dist/app/ClockPlus.d.ts +3 -0
  171. package/dist/app/ClockPlus.js +5 -0
  172. package/dist/app/Cloud.d.ts +3 -0
  173. package/dist/app/Cloud.js +5 -0
  174. package/dist/app/Code.d.ts +3 -0
  175. package/dist/app/Code.js +5 -0
  176. package/dist/app/Coffee.d.ts +3 -0
  177. package/dist/app/Coffee.js +5 -0
  178. package/dist/app/CoinPercent.d.ts +3 -0
  179. package/dist/app/CoinPercent.js +5 -0
  180. package/dist/app/Columns.d.ts +3 -0
  181. package/dist/app/Columns.js +5 -0
  182. package/dist/app/Command.d.ts +3 -0
  183. package/dist/app/Command.js +5 -0
  184. package/dist/app/Comment.d.ts +3 -0
  185. package/dist/app/Comment.js +5 -0
  186. package/dist/app/Completed.d.ts +3 -0
  187. package/dist/app/Completed.js +5 -0
  188. package/dist/app/Computer.d.ts +3 -0
  189. package/dist/app/Computer.js +5 -0
  190. package/dist/app/Contactless.d.ts +3 -0
  191. package/dist/app/Contactless.js +5 -0
  192. package/dist/app/Copy.d.ts +3 -0
  193. package/dist/app/Copy.js +5 -0
  194. package/dist/app/CornerHandle.d.ts +3 -0
  195. package/dist/app/CornerHandle.js +5 -0
  196. package/dist/app/CreditCard.d.ts +3 -0
  197. package/dist/app/CreditCard.js +5 -0
  198. package/dist/app/Cross.d.ts +3 -0
  199. package/dist/app/Cross.js +5 -0
  200. package/dist/app/CrossCircle.d.ts +3 -0
  201. package/dist/app/CrossCircle.js +5 -0
  202. package/dist/app/CrossedCircle.d.ts +3 -0
  203. package/dist/app/CrossedCircle.js +5 -0
  204. package/dist/app/Crown.d.ts +3 -0
  205. package/dist/app/Crown.js +5 -0
  206. package/dist/app/DatabaseArrowOut.d.ts +3 -0
  207. package/dist/app/DatabaseArrowOut.js +5 -0
  208. package/dist/app/Delete.d.ts +3 -0
  209. package/dist/app/Delete.js +5 -0
  210. package/dist/app/Deny.d.ts +3 -0
  211. package/dist/app/Deny.js +5 -0
  212. package/dist/app/Descending.d.ts +3 -0
  213. package/dist/app/Descending.js +5 -0
  214. package/dist/app/Desktop.d.ts +3 -0
  215. package/dist/app/Desktop.js +5 -0
  216. package/dist/app/Directory.d.ts +3 -0
  217. package/dist/app/Directory.js +5 -0
  218. package/dist/app/DirectoryFilled.d.ts +3 -0
  219. package/dist/app/DirectoryFilled.js +5 -0
  220. package/dist/app/DollarBill.d.ts +3 -0
  221. package/dist/app/DollarBill.js +5 -0
  222. package/dist/app/DollarReset.d.ts +3 -0
  223. package/dist/app/DollarReset.js +5 -0
  224. package/dist/app/Dot.d.ts +3 -0
  225. package/dist/app/Dot.js +5 -0
  226. package/dist/app/DotBig.d.ts +3 -0
  227. package/dist/app/DotBig.js +5 -0
  228. package/dist/app/DottedCircle.d.ts +3 -0
  229. package/dist/app/DottedCircle.js +5 -0
  230. package/dist/app/Download.d.ts +3 -0
  231. package/dist/app/Download.js +5 -0
  232. package/dist/app/DropdownDefault.d.ts +3 -0
  233. package/dist/app/DropdownDefault.js +5 -0
  234. package/dist/app/DropdownOpen.d.ts +3 -0
  235. package/dist/app/DropdownOpen.js +5 -0
  236. package/dist/app/Ellipsis.d.ts +3 -0
  237. package/dist/app/Ellipsis.js +5 -0
  238. package/dist/app/EllipsisHorizontal.d.ts +3 -0
  239. package/dist/app/EllipsisHorizontal.js +5 -0
  240. package/dist/app/Envelope.d.ts +3 -0
  241. package/dist/app/Envelope.js +5 -0
  242. package/dist/app/EnvelopeOpen.d.ts +3 -0
  243. package/dist/app/EnvelopeOpen.js +5 -0
  244. package/dist/app/Equal.d.ts +3 -0
  245. package/dist/app/Equal.js +5 -0
  246. package/dist/app/EqualApproximately.d.ts +3 -0
  247. package/dist/app/EqualApproximately.js +5 -0
  248. package/dist/app/EqualGreater.d.ts +3 -0
  249. package/dist/app/EqualGreater.js +5 -0
  250. package/dist/app/EqualLess.d.ts +3 -0
  251. package/dist/app/EqualLess.js +5 -0
  252. package/dist/app/Euro.d.ts +3 -0
  253. package/dist/app/Euro.js +5 -0
  254. package/dist/app/EuroPause.d.ts +3 -0
  255. package/dist/app/EuroPause.js +5 -0
  256. package/dist/app/Exit.d.ts +3 -0
  257. package/dist/app/Exit.js +5 -0
  258. package/dist/app/ExternalLink.d.ts +3 -0
  259. package/dist/app/ExternalLink.js +5 -0
  260. package/dist/app/EyeInvisible.d.ts +3 -0
  261. package/dist/app/EyeInvisible.js +5 -0
  262. package/dist/app/EyeVisible.d.ts +3 -0
  263. package/dist/app/EyeVisible.js +5 -0
  264. package/dist/app/FaceNegative.d.ts +3 -0
  265. package/dist/app/FaceNegative.js +5 -0
  266. package/dist/app/FaceNeutral.d.ts +3 -0
  267. package/dist/app/FaceNeutral.js +5 -0
  268. package/dist/app/FacePositive.d.ts +3 -0
  269. package/dist/app/FacePositive.js +5 -0
  270. package/dist/app/FaceSuperNegative.d.ts +3 -0
  271. package/dist/app/FaceSuperNegative.js +5 -0
  272. package/dist/app/FaceSuperPositive.d.ts +3 -0
  273. package/dist/app/FaceSuperPositive.js +5 -0
  274. package/dist/app/Factory.d.ts +3 -0
  275. package/dist/app/Factory.js +5 -0
  276. package/dist/app/Feed.d.ts +3 -0
  277. package/dist/app/Feed.js +5 -0
  278. package/dist/app/File.d.ts +3 -0
  279. package/dist/app/File.js +5 -0
  280. package/dist/app/FileAlert.d.ts +3 -0
  281. package/dist/app/FileAlert.js +5 -0
  282. package/dist/app/FileArrowIn.d.ts +3 -0
  283. package/dist/app/FileArrowIn.js +5 -0
  284. package/dist/app/FileCart.d.ts +3 -0
  285. package/dist/app/FileCart.js +5 -0
  286. package/dist/app/FileFilled.d.ts +3 -0
  287. package/dist/app/FileFilled.js +5 -0
  288. package/dist/app/FileHash.d.ts +3 -0
  289. package/dist/app/FileHash.js +5 -0
  290. package/dist/app/FilePercent.d.ts +3 -0
  291. package/dist/app/FilePercent.js +5 -0
  292. package/dist/app/FileSignature.d.ts +3 -0
  293. package/dist/app/FileSignature.js +5 -0
  294. package/dist/app/Files.d.ts +3 -0
  295. package/dist/app/Files.js +5 -0
  296. package/dist/app/FilesCheck.d.ts +3 -0
  297. package/dist/app/FilesCheck.js +5 -0
  298. package/dist/app/Filter.d.ts +3 -0
  299. package/dist/app/Filter.js +5 -0
  300. package/dist/app/Flag.d.ts +3 -0
  301. package/dist/app/Flag.js +5 -0
  302. package/dist/app/Flask.d.ts +3 -0
  303. package/dist/app/Flask.js +5 -0
  304. package/dist/app/Floating.d.ts +3 -0
  305. package/dist/app/Floating.js +5 -0
  306. package/dist/app/FlowCheck.d.ts +3 -0
  307. package/dist/app/FlowCheck.js +5 -0
  308. package/dist/app/Folder.d.ts +3 -0
  309. package/dist/app/Folder.js +5 -0
  310. package/dist/app/Folders.d.ts +3 -0
  311. package/dist/app/Folders.js +5 -0
  312. package/dist/app/FoldersFilled.d.ts +3 -0
  313. package/dist/app/FoldersFilled.js +5 -0
  314. package/dist/app/ForkKnife.d.ts +3 -0
  315. package/dist/app/ForkKnife.js +5 -0
  316. package/dist/app/Forward.d.ts +3 -0
  317. package/dist/app/Forward.js +5 -0
  318. package/dist/app/FuelPump.d.ts +3 -0
  319. package/dist/app/FuelPump.js +5 -0
  320. package/dist/app/Fullscreen.d.ts +3 -0
  321. package/dist/app/Fullscreen.js +5 -0
  322. package/dist/app/Gauge.d.ts +3 -0
  323. package/dist/app/Gauge.js +5 -0
  324. package/dist/app/Globe.d.ts +3 -0
  325. package/dist/app/Globe.js +5 -0
  326. package/dist/app/Graph.d.ts +3 -0
  327. package/dist/app/Graph.js +5 -0
  328. package/dist/app/Greater.d.ts +3 -0
  329. package/dist/app/Greater.js +5 -0
  330. package/dist/app/Group.d.ts +3 -0
  331. package/dist/app/Group.js +5 -0
  332. package/dist/app/GroupBy.d.ts +3 -0
  333. package/dist/app/GroupBy.js +5 -0
  334. package/dist/app/Handle.d.ts +3 -0
  335. package/dist/app/Handle.js +5 -0
  336. package/dist/app/Handshake.d.ts +3 -0
  337. package/dist/app/Handshake.js +5 -0
  338. package/dist/app/HardDrive.d.ts +3 -0
  339. package/dist/app/HardDrive.js +5 -0
  340. package/dist/app/HeadcountPlanning.d.ts +3 -0
  341. package/dist/app/HeadcountPlanning.js +5 -0
  342. package/dist/app/Heading1.d.ts +3 -0
  343. package/dist/app/Heading1.js +5 -0
  344. package/dist/app/Heading2.d.ts +3 -0
  345. package/dist/app/Heading2.js +5 -0
  346. package/dist/app/Heading3.d.ts +3 -0
  347. package/dist/app/Heading3.js +5 -0
  348. package/dist/app/Headset.d.ts +3 -0
  349. package/dist/app/Headset.js +5 -0
  350. package/dist/app/HeadsetMicrophone.d.ts +3 -0
  351. package/dist/app/HeadsetMicrophone.js +5 -0
  352. package/dist/app/Heart.d.ts +3 -0
  353. package/dist/app/Heart.js +5 -0
  354. package/dist/app/HoldHeart.d.ts +3 -0
  355. package/dist/app/HoldHeart.js +5 -0
  356. package/dist/app/Home.d.ts +3 -0
  357. package/dist/app/Home.js +5 -0
  358. package/dist/app/HomeFilled.d.ts +3 -0
  359. package/dist/app/HomeFilled.js +5 -0
  360. package/dist/app/Hub.d.ts +3 -0
  361. package/dist/app/Hub.js +5 -0
  362. package/dist/app/HubFilled.d.ts +3 -0
  363. package/dist/app/HubFilled.js +5 -0
  364. package/dist/app/IdCard.d.ts +3 -0
  365. package/dist/app/IdCard.js +5 -0
  366. package/dist/app/Image.d.ts +3 -0
  367. package/dist/app/Image.js +5 -0
  368. package/dist/app/InProgressTask.d.ts +3 -0
  369. package/dist/app/InProgressTask.js +5 -0
  370. package/dist/app/Inbox.d.ts +3 -0
  371. package/dist/app/Inbox.js +5 -0
  372. package/dist/app/InboxFilled.d.ts +3 -0
  373. package/dist/app/InboxFilled.js +5 -0
  374. package/dist/app/Info.d.ts +3 -0
  375. package/dist/app/Info.js +5 -0
  376. package/dist/app/InfoCircle.d.ts +3 -0
  377. package/dist/app/InfoCircle.js +5 -0
  378. package/dist/app/InfoCircleLine.d.ts +3 -0
  379. package/dist/app/InfoCircleLine.js +5 -0
  380. package/dist/app/InputField.d.ts +3 -0
  381. package/dist/app/InputField.js +5 -0
  382. package/dist/app/Italic.d.ts +3 -0
  383. package/dist/app/Italic.js +5 -0
  384. package/dist/app/Kanban.d.ts +3 -0
  385. package/dist/app/Kanban.js +5 -0
  386. package/dist/app/Key.d.ts +3 -0
  387. package/dist/app/Key.js +5 -0
  388. package/dist/app/Keyboard.d.ts +3 -0
  389. package/dist/app/Keyboard.js +5 -0
  390. package/dist/app/Laptop.d.ts +3 -0
  391. package/dist/app/Laptop.js +5 -0
  392. package/dist/app/LayersFront.d.ts +3 -0
  393. package/dist/app/LayersFront.js +5 -0
  394. package/dist/app/Leaf.d.ts +3 -0
  395. package/dist/app/Leaf.js +5 -0
  396. package/dist/app/LeafFilled.d.ts +3 -0
  397. package/dist/app/LeafFilled.js +5 -0
  398. package/dist/app/Less.d.ts +3 -0
  399. package/dist/app/Less.js +5 -0
  400. package/dist/app/LifeBuoy.d.ts +3 -0
  401. package/dist/app/LifeBuoy.js +5 -0
  402. package/dist/app/Lightbulb.d.ts +3 -0
  403. package/dist/app/Lightbulb.js +5 -0
  404. package/dist/app/Link.d.ts +3 -0
  405. package/dist/app/Link.js +5 -0
  406. package/dist/app/LinkRemove.d.ts +3 -0
  407. package/dist/app/LinkRemove.js +5 -0
  408. package/dist/app/List.d.ts +3 -0
  409. package/dist/app/List.js +5 -0
  410. package/dist/app/LockLocked.d.ts +3 -0
  411. package/dist/app/LockLocked.js +5 -0
  412. package/dist/app/LockUnlocked.d.ts +3 -0
  413. package/dist/app/LockUnlocked.js +5 -0
  414. package/dist/app/LogoAvatar.d.ts +3 -0
  415. package/dist/app/LogoAvatar.js +5 -0
  416. package/dist/app/LogoEruditai.d.ts +3 -0
  417. package/dist/app/LogoEruditai.js +5 -0
  418. package/dist/app/LogoTravelperk.d.ts +3 -0
  419. package/dist/app/LogoTravelperk.js +5 -0
  420. package/dist/app/Marker.d.ts +3 -0
  421. package/dist/app/Marker.js +5 -0
  422. package/dist/app/Marketplace.d.ts +3 -0
  423. package/dist/app/Marketplace.js +5 -0
  424. package/dist/app/Masonry.d.ts +3 -0
  425. package/dist/app/Masonry.js +5 -0
  426. package/dist/app/Maximize.d.ts +3 -0
  427. package/dist/app/Maximize.js +5 -0
  428. package/dist/app/MaximizeHorizontal.d.ts +3 -0
  429. package/dist/app/MaximizeHorizontal.js +5 -0
  430. package/dist/app/Megaphone.d.ts +3 -0
  431. package/dist/app/Megaphone.js +5 -0
  432. package/dist/app/MegaphoneFilled.d.ts +3 -0
  433. package/dist/app/MegaphoneFilled.js +5 -0
  434. package/dist/app/Menu.d.ts +3 -0
  435. package/dist/app/Menu.js +5 -0
  436. package/dist/app/MessageFilled.d.ts +3 -0
  437. package/dist/app/MessageFilled.js +5 -0
  438. package/dist/app/MessageFrown.d.ts +3 -0
  439. package/dist/app/MessageFrown.js +5 -0
  440. package/dist/app/MessageHeart.d.ts +3 -0
  441. package/dist/app/MessageHeart.js +5 -0
  442. package/dist/app/Messages.d.ts +3 -0
  443. package/dist/app/Messages.js +5 -0
  444. package/dist/app/MessagesFilled.d.ts +3 -0
  445. package/dist/app/MessagesFilled.js +5 -0
  446. package/dist/app/Microphone.d.ts +3 -0
  447. package/dist/app/Microphone.js +5 -0
  448. package/dist/app/MicrophoneNegative.d.ts +3 -0
  449. package/dist/app/MicrophoneNegative.js +5 -0
  450. package/dist/app/Minimize.d.ts +3 -0
  451. package/dist/app/Minimize.js +5 -0
  452. package/dist/app/MinimizeHorizontal.d.ts +3 -0
  453. package/dist/app/MinimizeHorizontal.js +5 -0
  454. package/dist/app/Minus.d.ts +3 -0
  455. package/dist/app/Minus.js +5 -0
  456. package/dist/app/Mobile.d.ts +3 -0
  457. package/dist/app/Mobile.js +5 -0
  458. package/dist/app/Money.d.ts +3 -0
  459. package/dist/app/Money.js +5 -0
  460. package/dist/app/MoneyBag.d.ts +3 -0
  461. package/dist/app/MoneyBag.js +5 -0
  462. package/dist/app/MonitorDot.d.ts +3 -0
  463. package/dist/app/MonitorDot.js +5 -0
  464. package/dist/app/MonitorSmartphone.d.ts +3 -0
  465. package/dist/app/MonitorSmartphone.js +5 -0
  466. package/dist/app/Moon.d.ts +3 -0
  467. package/dist/app/Moon.js +5 -0
  468. package/dist/app/Mouse.d.ts +3 -0
  469. package/dist/app/Mouse.js +5 -0
  470. package/dist/app/MoveDown.d.ts +3 -0
  471. package/dist/app/MoveDown.js +5 -0
  472. package/dist/app/MoveTop.d.ts +3 -0
  473. package/dist/app/MoveTop.js +5 -0
  474. package/dist/app/MoveUp.d.ts +3 -0
  475. package/dist/app/MoveUp.js +5 -0
  476. package/dist/app/Multitask.d.ts +3 -0
  477. package/dist/app/Multitask.js +5 -0
  478. package/dist/app/New.d.ts +3 -0
  479. package/dist/app/New.js +5 -0
  480. package/dist/app/Numbers.d.ts +3 -0
  481. package/dist/app/Numbers.js +5 -0
  482. package/dist/app/Office.d.ts +3 -0
  483. package/dist/app/Office.js +5 -0
  484. package/dist/app/OlList.d.ts +3 -0
  485. package/dist/app/OlList.js +5 -0
  486. package/dist/app/Organization.d.ts +3 -0
  487. package/dist/app/Organization.js +5 -0
  488. package/dist/app/Package.d.ts +3 -0
  489. package/dist/app/Package.js +5 -0
  490. package/dist/app/PackageCheck.d.ts +3 -0
  491. package/dist/app/PackageCheck.js +5 -0
  492. package/dist/app/PalmTree.d.ts +3 -0
  493. package/dist/app/PalmTree.js +5 -0
  494. package/dist/app/PalmTreeFilled.d.ts +3 -0
  495. package/dist/app/PalmTreeFilled.js +5 -0
  496. package/dist/app/PanelLeft.d.ts +3 -0
  497. package/dist/app/PanelLeft.js +5 -0
  498. package/dist/app/PanelRight.d.ts +3 -0
  499. package/dist/app/PanelRight.js +5 -0
  500. package/dist/app/PaperPlane.d.ts +3 -0
  501. package/dist/app/PaperPlane.js +5 -0
  502. package/dist/app/Paperclip.d.ts +3 -0
  503. package/dist/app/Paperclip.js +5 -0
  504. package/dist/app/PartiallyCompleted.d.ts +3 -0
  505. package/dist/app/PartiallyCompleted.js +5 -0
  506. package/dist/app/PartyPopper.d.ts +3 -0
  507. package/dist/app/PartyPopper.js +5 -0
  508. package/dist/app/Password.d.ts +3 -0
  509. package/dist/app/Password.js +5 -0
  510. package/dist/app/Pause.d.ts +3 -0
  511. package/dist/app/Pause.js +5 -0
  512. package/dist/app/PauseCircle.d.ts +3 -0
  513. package/dist/app/PauseCircle.js +5 -0
  514. package/dist/app/Pencil.d.ts +3 -0
  515. package/dist/app/Pencil.js +5 -0
  516. package/dist/app/People.d.ts +3 -0
  517. package/dist/app/People.js +5 -0
  518. package/dist/app/Person.d.ts +3 -0
  519. package/dist/app/Person.js +5 -0
  520. package/dist/app/PersonArrowIn.d.ts +3 -0
  521. package/dist/app/PersonArrowIn.js +5 -0
  522. package/dist/app/PersonArrowOut.d.ts +3 -0
  523. package/dist/app/PersonArrowOut.js +5 -0
  524. package/dist/app/PersonMinus.d.ts +3 -0
  525. package/dist/app/PersonMinus.js +5 -0
  526. package/dist/app/PersonNegative.d.ts +3 -0
  527. package/dist/app/PersonNegative.js +5 -0
  528. package/dist/app/PersonPlus.d.ts +3 -0
  529. package/dist/app/PersonPlus.js +5 -0
  530. package/dist/app/Phone.d.ts +3 -0
  531. package/dist/app/Phone.js +5 -0
  532. package/dist/app/Pig.d.ts +3 -0
  533. package/dist/app/Pig.js +5 -0
  534. package/dist/app/Pin.d.ts +3 -0
  535. package/dist/app/Pin.js +5 -0
  536. package/dist/app/PinArea.d.ts +3 -0
  537. package/dist/app/PinArea.js +5 -0
  538. package/dist/app/PinOff.d.ts +3 -0
  539. package/dist/app/PinOff.js +5 -0
  540. package/dist/app/PixBrazil.d.ts +3 -0
  541. package/dist/app/PixBrazil.js +5 -0
  542. package/dist/app/Placeholder.d.ts +3 -0
  543. package/dist/app/Placeholder.js +5 -0
  544. package/dist/app/Plane.d.ts +3 -0
  545. package/dist/app/Plane.js +5 -0
  546. package/dist/app/Play.d.ts +3 -0
  547. package/dist/app/Play.js +5 -0
  548. package/dist/app/Plug.d.ts +3 -0
  549. package/dist/app/Plug.js +5 -0
  550. package/dist/app/Plus.d.ts +3 -0
  551. package/dist/app/Plus.js +5 -0
  552. package/dist/app/Present.d.ts +3 -0
  553. package/dist/app/Present.js +5 -0
  554. package/dist/app/PresentFilled.d.ts +3 -0
  555. package/dist/app/PresentFilled.js +5 -0
  556. package/dist/app/Printer.d.ts +3 -0
  557. package/dist/app/Printer.js +5 -0
  558. package/dist/app/Proyector.d.ts +3 -0
  559. package/dist/app/Proyector.js +5 -0
  560. package/dist/app/PushPin.d.ts +3 -0
  561. package/dist/app/PushPin.js +5 -0
  562. package/dist/app/PushPinSolid.d.ts +3 -0
  563. package/dist/app/PushPinSolid.js +5 -0
  564. package/dist/app/Question.d.ts +3 -0
  565. package/dist/app/Question.js +5 -0
  566. package/dist/app/QuestionCircle.d.ts +3 -0
  567. package/dist/app/QuestionCircle.js +5 -0
  568. package/dist/app/Quote.d.ts +3 -0
  569. package/dist/app/Quote.js +5 -0
  570. package/dist/app/Reaction.d.ts +3 -0
  571. package/dist/app/Reaction.js +5 -0
  572. package/dist/app/Receipt.d.ts +3 -0
  573. package/dist/app/Receipt.js +5 -0
  574. package/dist/app/Record.d.ts +3 -0
  575. package/dist/app/Record.js +5 -0
  576. package/dist/app/Redo.d.ts +3 -0
  577. package/dist/app/Redo.js +5 -0
  578. package/dist/app/RemoveFavorite.d.ts +3 -0
  579. package/dist/app/RemoveFavorite.js +5 -0
  580. package/dist/app/Replace.d.ts +3 -0
  581. package/dist/app/Replace.js +5 -0
  582. package/dist/app/Reply.d.ts +3 -0
  583. package/dist/app/Reply.js +5 -0
  584. package/dist/app/Reset.d.ts +3 -0
  585. package/dist/app/Reset.js +5 -0
  586. package/dist/app/Rocket.d.ts +3 -0
  587. package/dist/app/Rocket.js +5 -0
  588. package/dist/app/RosetteCheck.d.ts +3 -0
  589. package/dist/app/RosetteCheck.js +5 -0
  590. package/dist/app/Salad.d.ts +3 -0
  591. package/dist/app/Salad.js +5 -0
  592. package/dist/app/Save.d.ts +3 -0
  593. package/dist/app/Save.js +5 -0
  594. package/dist/app/Scan.d.ts +3 -0
  595. package/dist/app/Scan.js +5 -0
  596. package/dist/app/Schedule.d.ts +3 -0
  597. package/dist/app/Schedule.js +5 -0
  598. package/dist/app/Search.d.ts +3 -0
  599. package/dist/app/Search.js +5 -0
  600. package/dist/app/SearchPerson.d.ts +3 -0
  601. package/dist/app/SearchPerson.js +5 -0
  602. package/dist/app/Settings.d.ts +3 -0
  603. package/dist/app/Settings.js +5 -0
  604. package/dist/app/Share.d.ts +3 -0
  605. package/dist/app/Share.js +5 -0
  606. package/dist/app/Shield.d.ts +3 -0
  607. package/dist/app/Shield.js +5 -0
  608. package/dist/app/ShoppingCart.d.ts +3 -0
  609. package/dist/app/ShoppingCart.js +5 -0
  610. package/dist/app/SignPost.d.ts +3 -0
  611. package/dist/app/SignPost.js +5 -0
  612. package/dist/app/Signature.d.ts +3 -0
  613. package/dist/app/Signature.js +5 -0
  614. package/dist/app/Sleep.d.ts +3 -0
  615. package/dist/app/Sleep.js +5 -0
  616. package/dist/app/Sliders.d.ts +3 -0
  617. package/dist/app/Sliders.js +5 -0
  618. package/dist/app/SolidPause.d.ts +3 -0
  619. package/dist/app/SolidPause.js +5 -0
  620. package/dist/app/SolidPlay.d.ts +3 -0
  621. package/dist/app/SolidPlay.js +5 -0
  622. package/dist/app/SolidStop.d.ts +3 -0
  623. package/dist/app/SolidStop.js +5 -0
  624. package/dist/app/Sort.d.ts +3 -0
  625. package/dist/app/Sort.js +5 -0
  626. package/dist/app/Sparkles.d.ts +3 -0
  627. package/dist/app/Sparkles.js +5 -0
  628. package/dist/app/Spinner.d.ts +3 -0
  629. package/dist/app/Spinner.js +5 -0
  630. package/dist/app/Split.d.ts +3 -0
  631. package/dist/app/Split.js +5 -0
  632. package/dist/app/Square.d.ts +3 -0
  633. package/dist/app/Square.js +5 -0
  634. package/dist/app/SquareFilled.d.ts +3 -0
  635. package/dist/app/SquareFilled.js +5 -0
  636. package/dist/app/Star.d.ts +3 -0
  637. package/dist/app/Star.js +5 -0
  638. package/dist/app/StarFilled.d.ts +3 -0
  639. package/dist/app/StarFilled.js +5 -0
  640. package/dist/app/Stop.d.ts +3 -0
  641. package/dist/app/Stop.js +5 -0
  642. package/dist/app/Strikethrough.d.ts +3 -0
  643. package/dist/app/Strikethrough.js +5 -0
  644. package/dist/app/Stroller.d.ts +3 -0
  645. package/dist/app/Stroller.js +5 -0
  646. package/dist/app/Suitcase.d.ts +3 -0
  647. package/dist/app/Suitcase.js +5 -0
  648. package/dist/app/Swap.d.ts +3 -0
  649. package/dist/app/Swap.js +5 -0
  650. package/dist/app/SwapCheck.d.ts +3 -0
  651. package/dist/app/SwapCheck.js +5 -0
  652. package/dist/app/SwapClock.d.ts +3 -0
  653. package/dist/app/SwapClock.js +5 -0
  654. package/dist/app/Table.d.ts +3 -0
  655. package/dist/app/Table.js +5 -0
  656. package/dist/app/Tablet.d.ts +3 -0
  657. package/dist/app/Tablet.js +5 -0
  658. package/dist/app/Tag.d.ts +3 -0
  659. package/dist/app/Tag.js +5 -0
  660. package/dist/app/Target.d.ts +3 -0
  661. package/dist/app/Target.js +5 -0
  662. package/dist/app/Taxi.d.ts +3 -0
  663. package/dist/app/Taxi.js +5 -0
  664. package/dist/app/TextSize.d.ts +3 -0
  665. package/dist/app/TextSize.js +5 -0
  666. package/dist/app/Thermometer.d.ts +3 -0
  667. package/dist/app/Thermometer.js +5 -0
  668. package/dist/app/ThumbsDown.d.ts +3 -0
  669. package/dist/app/ThumbsDown.js +5 -0
  670. package/dist/app/ThumbsDownFilled.d.ts +3 -0
  671. package/dist/app/ThumbsDownFilled.js +5 -0
  672. package/dist/app/ThumbsUp.d.ts +3 -0
  673. package/dist/app/ThumbsUp.js +5 -0
  674. package/dist/app/ThumbsUpFilled.d.ts +3 -0
  675. package/dist/app/ThumbsUpFilled.js +5 -0
  676. package/dist/app/Timer.d.ts +3 -0
  677. package/dist/app/Timer.js +5 -0
  678. package/dist/app/Train.d.ts +3 -0
  679. package/dist/app/Train.js +5 -0
  680. package/dist/app/Truck.d.ts +3 -0
  681. package/dist/app/Truck.js +5 -0
  682. package/dist/app/Underline.d.ts +3 -0
  683. package/dist/app/Underline.js +5 -0
  684. package/dist/app/Undo.d.ts +3 -0
  685. package/dist/app/Undo.js +5 -0
  686. package/dist/app/Upload.d.ts +3 -0
  687. package/dist/app/Upload.js +5 -0
  688. package/dist/app/Upsell.d.ts +3 -0
  689. package/dist/app/Upsell.js +5 -0
  690. package/dist/app/Video.d.ts +3 -0
  691. package/dist/app/Video.js +5 -0
  692. package/dist/app/VideoRecorder.d.ts +3 -0
  693. package/dist/app/VideoRecorder.js +5 -0
  694. package/dist/app/VideoRecorderNegative.d.ts +3 -0
  695. package/dist/app/VideoRecorderNegative.js +5 -0
  696. package/dist/app/VolumeHigh.d.ts +3 -0
  697. package/dist/app/VolumeHigh.js +5 -0
  698. package/dist/app/VolumeMid.d.ts +3 -0
  699. package/dist/app/VolumeMid.js +5 -0
  700. package/dist/app/VolumeMuted.d.ts +3 -0
  701. package/dist/app/VolumeMuted.js +5 -0
  702. package/dist/app/Wallet.d.ts +3 -0
  703. package/dist/app/Wallet.js +5 -0
  704. package/dist/app/Warehouse.d.ts +3 -0
  705. package/dist/app/Warehouse.js +5 -0
  706. package/dist/app/Warning.d.ts +3 -0
  707. package/dist/app/Warning.js +5 -0
  708. package/dist/app/Watch.d.ts +3 -0
  709. package/dist/app/Watch.js +5 -0
  710. package/dist/app/Webhook.d.ts +3 -0
  711. package/dist/app/Webhook.js +5 -0
  712. package/dist/app/WhatsappChat.d.ts +3 -0
  713. package/dist/app/WhatsappChat.js +5 -0
  714. package/dist/app/Wifi.d.ts +3 -0
  715. package/dist/app/Wifi.js +5 -0
  716. package/dist/app/Windows.d.ts +3 -0
  717. package/dist/app/Windows.js +5 -0
  718. package/dist/app/ZoomIn.d.ts +3 -0
  719. package/dist/app/ZoomIn.js +5 -0
  720. package/dist/app/ZoomOut.d.ts +3 -0
  721. package/dist/app/ZoomOut.js +5 -0
  722. package/dist/app/index.d.ts +343 -0
  723. package/dist/app/index.js +343 -0
  724. package/dist/meta.json +1 -0
  725. package/dist/modules/Benefits.d.ts +3 -0
  726. package/dist/modules/Benefits.js +5 -0
  727. package/dist/modules/Calendar.d.ts +3 -0
  728. package/dist/modules/Calendar.js +5 -0
  729. package/dist/modules/Cards.d.ts +3 -0
  730. package/dist/modules/Cards.js +5 -0
  731. package/dist/modules/ClockIn.d.ts +3 -0
  732. package/dist/modules/ClockIn.js +5 -0
  733. package/dist/modules/Complaints.d.ts +3 -0
  734. package/dist/modules/Complaints.js +5 -0
  735. package/dist/modules/Discover.d.ts +3 -0
  736. package/dist/modules/Discover.js +5 -0
  737. package/dist/modules/Documents.d.ts +3 -0
  738. package/dist/modules/Documents.js +5 -0
  739. package/dist/modules/Engagement.d.ts +3 -0
  740. package/dist/modules/Engagement.js +5 -0
  741. package/dist/modules/Finance.d.ts +3 -0
  742. package/dist/modules/Finance.js +5 -0
  743. package/dist/modules/Goals.d.ts +3 -0
  744. package/dist/modules/Goals.js +5 -0
  745. package/dist/modules/HeadcountPlanning.d.ts +3 -0
  746. package/dist/modules/HeadcountPlanning.js +5 -0
  747. package/dist/modules/Home.d.ts +3 -0
  748. package/dist/modules/Home.js +5 -0
  749. package/dist/modules/Hub.d.ts +3 -0
  750. package/dist/modules/Hub.js +5 -0
  751. package/dist/modules/Inbox.d.ts +3 -0
  752. package/dist/modules/Inbox.js +5 -0
  753. package/dist/modules/ItManagement.d.ts +3 -0
  754. package/dist/modules/ItManagement.js +5 -0
  755. package/dist/modules/Kudos.d.ts +3 -0
  756. package/dist/modules/Kudos.js +5 -0
  757. package/dist/modules/Lms.d.ts +3 -0
  758. package/dist/modules/Lms.js +5 -0
  759. package/dist/modules/Marketplace.d.ts +3 -0
  760. package/dist/modules/Marketplace.js +5 -0
  761. package/dist/modules/Meetings.d.ts +3 -0
  762. package/dist/modules/Meetings.js +5 -0
  763. package/dist/modules/Megaphone.d.ts +3 -0
  764. package/dist/modules/Megaphone.js +5 -0
  765. package/dist/modules/MyDocuments.d.ts +3 -0
  766. package/dist/modules/MyDocuments.js +5 -0
  767. package/dist/modules/Organization.d.ts +3 -0
  768. package/dist/modules/Organization.js +5 -0
  769. package/dist/modules/Overviews.d.ts +3 -0
  770. package/dist/modules/Overviews.js +5 -0
  771. package/dist/modules/Pages.d.ts +3 -0
  772. package/dist/modules/Pages.js +5 -0
  773. package/dist/modules/Payroll.d.ts +3 -0
  774. package/dist/modules/Payroll.js +5 -0
  775. package/dist/modules/Performance.d.ts +3 -0
  776. package/dist/modules/Performance.js +5 -0
  777. package/dist/modules/Profile.d.ts +3 -0
  778. package/dist/modules/Profile.js +5 -0
  779. package/dist/modules/Projects.d.ts +3 -0
  780. package/dist/modules/Projects.js +5 -0
  781. package/dist/modules/Recruitment.d.ts +3 -0
  782. package/dist/modules/Recruitment.js +5 -0
  783. package/dist/modules/Reports.d.ts +3 -0
  784. package/dist/modules/Reports.js +5 -0
  785. package/dist/modules/SalaryAdvance.d.ts +3 -0
  786. package/dist/modules/SalaryAdvance.js +5 -0
  787. package/dist/modules/Sales.d.ts +3 -0
  788. package/dist/modules/Sales.js +5 -0
  789. package/dist/modules/Settings.d.ts +3 -0
  790. package/dist/modules/Settings.js +5 -0
  791. package/dist/modules/Shifts.d.ts +3 -0
  792. package/dist/modules/Shifts.js +5 -0
  793. package/dist/modules/Social.d.ts +3 -0
  794. package/dist/modules/Social.js +5 -0
  795. package/dist/modules/Software.d.ts +3 -0
  796. package/dist/modules/Software.js +5 -0
  797. package/dist/modules/Spaces.d.ts +3 -0
  798. package/dist/modules/Spaces.js +5 -0
  799. package/dist/modules/Spending.d.ts +3 -0
  800. package/dist/modules/Spending.js +5 -0
  801. package/dist/modules/Tasks.d.ts +3 -0
  802. package/dist/modules/Tasks.js +5 -0
  803. package/dist/modules/TimeOff.d.ts +3 -0
  804. package/dist/modules/TimeOff.js +5 -0
  805. package/dist/modules/TimeTracking.d.ts +3 -0
  806. package/dist/modules/TimeTracking.js +5 -0
  807. package/dist/modules/Trainings.d.ts +3 -0
  808. package/dist/modules/Trainings.js +5 -0
  809. package/dist/modules/Treasury.d.ts +3 -0
  810. package/dist/modules/Treasury.js +5 -0
  811. package/dist/modules/Workflows.d.ts +3 -0
  812. package/dist/modules/Workflows.js +5 -0
  813. package/dist/modules/index.d.ts +44 -0
  814. package/dist/modules/index.js +44 -0
  815. package/package.json +56 -4
package/README.md CHANGED
@@ -1,3 +1,40 @@
1
- # Temporary Holding Version
1
+ # Factorial Icons
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Factorial's icon set, the tools that draw and check it, and the package products install.
4
+
5
+ | Folder | What it is |
6
+ |---|---|
7
+ | `set/` | The icons (SVG, 24 grid, stroke 2) and their search tags. The source of truth. |
8
+ | `guidelines.md` | The drawing and motion rules. |
9
+ | `studio/` | The Icon Studio: review, edit, check and animate icons. Also the presentation. |
10
+ | `tools/`, `.claude/skills/` | Finder, Benchmark and the `icon-request` skill. |
11
+ | `fix/check.mjs` | The linter for the drawing rules. |
12
+ | `scripts/` | Builds and verifies the npm package. |
13
+ | `evals/` | Tests of the agent setup. |
14
+
15
+ ## The package
16
+
17
+ `@factorialco/factorial-icons` ships every icon as a React component.
18
+
19
+ ```tsx
20
+ import { Calendar } from "@factorialco/factorial-icons/app"
21
+ import { Benefits } from "@factorialco/factorial-icons/modules"
22
+ import { Sparkle } from "@factorialco/factorial-icons/ai"
23
+ import { BellAnimated } from "@factorialco/factorial-icons/animated" // needs `motion`
24
+ import meta from "@factorialco/factorial-icons/meta" // search tags per icon
25
+ ```
26
+
27
+ In Factorial's products, icons come through F0 (`F0Icon`), which depends on this package.
28
+
29
+ ## Working here
30
+
31
+ ```bash
32
+ npm install && npm install --prefix fix
33
+ npm run check # drawing rules
34
+ npm run check:motion # motion rules
35
+ npm run build # set -> dist
36
+ npm run verify # the built package is complete
37
+ npm run dev --prefix studio # Icon Studio on :5280
38
+ ```
39
+
40
+ See `CONTRIBUTING.md` for how icons get in.
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgCalendar = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M19 13.5V8a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h5.5M5 10h14M9 3v4M15 3v4" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M19 17l0.5 1.5 1.5 0.5-1.5 0.5-0.5 1.5-0.5-1.5-1.5-0.5 1.5-0.5z" })] });
4
+ const ForwardRef = forwardRef(SvgCalendar);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgChangeTone = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M4.13 7.5h15.75M4.13 12h15.75M4.13 16.5h6.75" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M18.19 15.94l0.56 1.69 1.69 0.56-1.69 0.56-0.56 1.69-0.57-1.69-1.68-0.56 1.68-0.56z" })] });
4
+ const ForwardRef = forwardRef(SvgChangeTone);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgChartLine = (props, ref) => _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M3 4.69V9.75C3 11.34 3 12.52 3.08 13.45 3.16 14.38 3.3 15.08 3.62 15.68 4.16 16.75 5.01 17.6 6.07 18.14 6.68 18.45 7.38 18.6 8.31 18.68 9.24 18.75 10.42 18.75 12 18.75H21M6.94 14.25l5.62-5.63 3.94 3.94 3.94-3.94" }) });
4
+ const ForwardRef = forwardRef(SvgChartLine);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgFileAi = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M12 21L8.63 21C6.76 21 5.25 19.49 5.25 17.62L5.25 6.38C5.25 4.51 6.76 3 8.63 3L12.85 3C13.75 3 14.61 3.36 15.24 3.99L17.76 6.51C18.39 7.14 18.75 8 18.75 8.9L18.75 10.5" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M18 15.75L18.56 17.44L20.25 18L18.56 18.56L18 20.25L17.44 18.56L15.75 18L17.44 17.44Z" })] });
4
+ const ForwardRef = forwardRef(SvgFileAi);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgLightbulbAi = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M7.76 16.76L16.24 16.76 16.24 17.82C16.24 19.58 14.81 21 13.06 21L10.94 21C9.19 21 7.76 19.58 7.76 17.82L7.76 16.76Z" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M7.76 16.76L7.76 14.56C7.76 14.26 7.63 13.98 7.42 13.76 6.32 12.62 5.65 11.06 5.65 9.35 5.65 5.84 8.49 3 12 3 15.51 3 18.35 5.84 18.35 9.35 18.35 11.06 17.68 12.62 16.58 13.76 16.37 13.98 16.24 14.26 16.24 14.56L16.24 16.76" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M12 7.25L12.56 8.94L14.25 9.5L12.56 10.06L12 11.75L11.44 10.06L9.75 9.5L11.44 8.94Z" })] });
4
+ const ForwardRef = forwardRef(SvgLightbulbAi);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgMessageAi = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M21 11.5L21 7.29C21 5.43 19.49 3.92 17.62 3.92L6.21 3.92C4.44 3.92 3 5.36 3 7.13L3 14.19C3 15.97 4.45 17.42 6.23 17.42C6.32 17.42 6.39 17.47 6.42 17.56L7.01 19.31C7.25 20.04 8.13 20.32 8.75 19.86L11.7 17.65" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M18 15.75L18.56 17.44L20.25 18L18.56 18.56L18 20.25L17.44 18.56L15.75 18L17.44 17.44Z" })] });
4
+ const ForwardRef = forwardRef(SvgMessageAi);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgMicrophoneAi = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M6.8 5.96C6.8 4.32 8.12 3 9.75 3L9.75 3C11.38 3 12.71 4.32 12.71 5.96L12.71 9.9C12.71 11.52 11.38 12.84 9.75 12.84L9.75 12.84C8.12 12.84 6.8 11.52 6.8 9.9L6.8 5.96Z" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M15.66 9.9L15.66 9.9C15.66 13.15 13.01 15.8 9.75 15.8L9.75 15.8C6.49 15.8 3.84 13.15 3.84 9.9L3.84 9.9" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.75 15.8L9.75 18.75M9.75 18.75L7.78 18.75M9.75 18.75L11.72 18.75" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M18 15.75L18.56 17.44L20.25 18L18.56 18.56L18 20.25L17.44 18.56L15.75 18L17.44 17.44Z" })] });
4
+ const ForwardRef = forwardRef(SvgMicrophoneAi);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
package/dist/ai/One.js ADDED
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgOne = (props, ref) => _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: _jsx("path", { fill: "currentColor", d: "M12 16.5C13.69 16.5 15.38 17.06 16.5 17.93C16.97 18.3 16.97 19.19 16.5 19.56C15.38 20.44 13.69 21 12 21C10.31 21 8.63 20.44 7.5 19.57C7.02 19.2 7.02 18.3 7.5 17.93C8.63 17.06 10.31 16.5 12 16.5ZM4.43 7.5C4.8 7.02 5.69 7.03 6.06 7.5C6.94 8.63 7.5 10.31 7.5 12C7.5 13.69 6.94 15.38 6.07 16.5C5.7 16.97 4.8 16.97 4.43 16.5C3.56 15.38 3 13.69 3 12C3 10.31 3.56 8.63 4.43 7.5ZM17.93 7.5C18.3 7.02 19.19 7.03 19.56 7.5C20.44 8.63 21 10.31 21 12C21 13.69 20.44 15.38 19.57 16.5C19.2 16.97 18.3 16.97 17.93 16.5C17.06 15.38 16.5 13.69 16.5 12C16.5 10.31 17.06 8.63 17.93 7.5ZM12 3C13.69 3 15.38 3.56 16.5 4.43C16.97 4.8 16.97 5.69 16.5 6.06C15.38 6.94 13.69 7.5 12 7.5C10.31 7.5 8.63 6.94 7.5 6.07C7.02 5.7 7.02 4.8 7.5 4.43C8.63 3.56 10.31 3 12 3Z" }) });
4
+ const ForwardRef = forwardRef(SvgOne);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgReceiptAi = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M18.75 12V6.38a3.38 3.38 0 0 0-3.38-3.38H8.63a3.38 3.38 0 0 0-3.38 3.38V19.65C5.25 20.55 6.64 20.96 7.15 20.48L8.15 19.53C8.6 19.09 9.32 19.09 9.78 19.61L10.46 20.4C10.82 20.83 11.81 20.83 12.17 20.4L12.56 19.93M8.63 7.5h6.74M8.63 12h4.49" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M18.75 15.94l0.56 1.69 1.69 0.56-1.69 0.56-0.56 1.69-0.56-1.69-1.69-0.56 1.69-0.56z" })] });
4
+ const ForwardRef = forwardRef(SvgReceiptAi);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgRewrite = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M14.81 5.25a3.18 3.18 0 0 1 4.5 4.5L10.88 18.19 4.69 19.88 6.38 13.69ZM6.38 13.69l4.5 4.5" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M6.38 3.56l0.56 1.69 1.69 0.56-1.69 0.56-0.56 1.69-0.57-1.69-1.69-0.56 1.69-0.56z" })] });
4
+ const ForwardRef = forwardRef(SvgRewrite);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgSearch = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.88 3a7.87 7.87 0 1 0 7.58 9.98M16.44 16.44L19.87 19.87" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M17.62 3l0.57 1.69 1.68 0.56-1.68 0.56-0.57 1.69-0.56-1.69-1.69-0.56 1.69-0.56z" })] });
4
+ const ForwardRef = forwardRef(SvgSearch);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgSummary = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M3.63 7.5h4.43M19.25 7.5h1.12M3.63 12h4.43M19.25 12h1.12M3.63 16.5h16.74" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M13.69 7.5l0.56 1.69 1.69 0.56-1.69 0.56-0.56 1.69-0.56-1.69-1.69-0.56 1.69-0.56z" })] });
4
+ const ForwardRef = forwardRef(SvgSummary);
5
+ export default ForwardRef;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgTranslate = (props, ref) => _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", ref: ref, ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M13.91 20.25A8.47 8.47 0 1 1 20.47 12M3.53 12h16.94M12 3.53a12.88 12.88 0 0 0 0 16.94M12 3.53a12.88 12.88 0 0 1 0 16.94" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M18.88 15.71l0.53 1.58 1.59 0.53-1.59 0.53-0.53 1.59-0.53-1.59-1.59-0.53 1.59-0.53z" })] });
4
+ const ForwardRef = forwardRef(SvgTranslate);
5
+ export default ForwardRef;
@@ -0,0 +1,13 @@
1
+ export { default as Calendar } from "./Calendar.js";
2
+ export { default as ChangeTone } from "./ChangeTone.js";
3
+ export { default as ChartLine } from "./ChartLine.js";
4
+ export { default as FileAi } from "./FileAi.js";
5
+ export { default as LightbulbAi } from "./LightbulbAi.js";
6
+ export { default as MessageAi } from "./MessageAi.js";
7
+ export { default as MicrophoneAi } from "./MicrophoneAi.js";
8
+ export { default as One } from "./One.js";
9
+ export { default as ReceiptAi } from "./ReceiptAi.js";
10
+ export { default as Rewrite } from "./Rewrite.js";
11
+ export { default as Search } from "./Search.js";
12
+ export { default as Summary } from "./Summary.js";
13
+ export { default as Translate } from "./Translate.js";
@@ -0,0 +1,13 @@
1
+ export { default as Calendar } from "./Calendar.js";
2
+ export { default as ChangeTone } from "./ChangeTone.js";
3
+ export { default as ChartLine } from "./ChartLine.js";
4
+ export { default as FileAi } from "./FileAi.js";
5
+ export { default as LightbulbAi } from "./LightbulbAi.js";
6
+ export { default as MessageAi } from "./MessageAi.js";
7
+ export { default as MicrophoneAi } from "./MicrophoneAi.js";
8
+ export { default as One } from "./One.js";
9
+ export { default as ReceiptAi } from "./ReceiptAi.js";
10
+ export { default as Rewrite } from "./Rewrite.js";
11
+ export { default as Search } from "./Search.js";
12
+ export { default as Summary } from "./Summary.js";
13
+ export { default as Translate } from "./Translate.js";
@@ -0,0 +1,27 @@
1
+ import { type Variants } from "motion/react";
2
+ import { type SVGProps } from "react";
3
+ /**
4
+ * One piece of an animated icon: a path, and, when it moves, its `normal` and `animate` variants.
5
+ * `origin` is the transform origin as a fraction of the part's own box. `clip.above` hides the part
6
+ * below that y (canvas units), so it can slide out of another shape; the clip edge can move too.
7
+ */
8
+ export interface AnimatedIconPart {
9
+ d: string;
10
+ variants?: Variants;
11
+ origin?: number[];
12
+ fill?: boolean;
13
+ clip?: {
14
+ above: number;
15
+ variants?: Variants;
16
+ };
17
+ }
18
+ type Props = SVGProps<SVGSVGElement> & {
19
+ animate?: "normal" | "animate";
20
+ };
21
+ /**
22
+ * Builds an animated icon from its parts, the way F0's hand-written animated icons work:
23
+ * every moving part reads the `animate` prop ("normal" or "animate") as its variant.
24
+ * The name ends in "Animated" so F0Icon passes its `state` through.
25
+ */
26
+ export declare function createAnimatedIcon(name: string, icon: AnimatedIconPart[]): import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
27
+ export {};
@@ -0,0 +1,43 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { motion } from "motion/react";
3
+ import { forwardRef, useId } from "react";
4
+ /** The transform origin travels inside both variants, as in F0's hand-written animated icons. */
5
+ function withOrigin(part) {
6
+ if (!part.origin || !part.variants) {
7
+ return part;
8
+ }
9
+ const [originX, originY] = part.origin;
10
+ const { normal, animate } = part.variants;
11
+ return {
12
+ ...part,
13
+ variants: {
14
+ ...part.variants,
15
+ normal: { ...normal, originX, originY },
16
+ animate: { ...animate, originX, originY },
17
+ },
18
+ };
19
+ }
20
+ /**
21
+ * Builds an animated icon from its parts, the way F0's hand-written animated icons work:
22
+ * every moving part reads the `animate` prop ("normal" or "animate") as its variant.
23
+ * The name ends in "Animated" so F0Icon passes its `state` through.
24
+ */
25
+ export function createAnimatedIcon(name, icon) {
26
+ const parts = icon.map(withOrigin);
27
+ const Icon = forwardRef(({ animate = "normal", ...props }, ref) => {
28
+ const uid = useId().replace(/:/g, "");
29
+ return (_jsx("svg", { ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...props, children: parts.map((part, i) => {
30
+ const paint = part.fill
31
+ ? { fill: "currentColor", stroke: "none" }
32
+ : undefined;
33
+ const path = part.variants ? (_jsx(motion.path, { d: part.d, ...paint, initial: "normal", animate: animate, variants: part.variants }, i)) : (_jsx("path", { d: part.d, ...paint }, i));
34
+ if (!part.clip) {
35
+ return path;
36
+ }
37
+ const id = `${uid}-clip-${i}`;
38
+ return (_jsxs("g", { clipPath: `url(#${id})`, children: [_jsx("clipPath", { id: id, children: _jsx(motion.rect, { x: -6, y: -12, width: 36, height: 12 + part.clip.above, initial: "normal", animate: animate, variants: part.clip.variants }) }), path] }, i));
39
+ }) }));
40
+ });
41
+ Icon.displayName = `${name}Animated`;
42
+ return Icon;
43
+ }
@@ -0,0 +1,2 @@
1
+ import type { AnimatedIconPart } from "./create-animated-icon.js";
2
+ export declare const animatedIcons: Record<string, AnimatedIconPart[]>;