@factorialco/factorial-icons 0.0.0-stage → 0.1.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.
- package/README.md +108 -2
- package/bin/check-usage.mjs +152 -0
- package/dist/ai/Calendar.d.ts +3 -0
- package/dist/ai/Calendar.js +5 -0
- package/dist/ai/ChangeTone.d.ts +3 -0
- package/dist/ai/ChangeTone.js +5 -0
- package/dist/ai/ChartLine.d.ts +3 -0
- package/dist/ai/ChartLine.js +5 -0
- package/dist/ai/FileAi.d.ts +3 -0
- package/dist/ai/FileAi.js +5 -0
- package/dist/ai/LightbulbAi.d.ts +3 -0
- package/dist/ai/LightbulbAi.js +5 -0
- package/dist/ai/MessageAi.d.ts +3 -0
- package/dist/ai/MessageAi.js +5 -0
- package/dist/ai/MicrophoneAi.d.ts +3 -0
- package/dist/ai/MicrophoneAi.js +5 -0
- package/dist/ai/One.d.ts +3 -0
- package/dist/ai/One.js +5 -0
- package/dist/ai/ReceiptAi.d.ts +3 -0
- package/dist/ai/ReceiptAi.js +5 -0
- package/dist/ai/Rewrite.d.ts +3 -0
- package/dist/ai/Rewrite.js +5 -0
- package/dist/ai/Search.d.ts +3 -0
- package/dist/ai/Search.js +5 -0
- package/dist/ai/Summary.d.ts +3 -0
- package/dist/ai/Summary.js +5 -0
- package/dist/ai/Translate.d.ts +3 -0
- package/dist/ai/Translate.js +5 -0
- package/dist/ai/index.d.ts +13 -0
- package/dist/ai/index.js +13 -0
- package/dist/animated/create-animated-icon.d.ts +27 -0
- package/dist/animated/create-animated-icon.js +43 -0
- package/dist/animated/data.d.ts +2 -0
- package/dist/animated/data.js +1809 -0
- package/dist/animated/index.d.ts +73 -0
- package/dist/animated/index.js +28 -0
- package/dist/app/AcademicCap.d.ts +3 -0
- package/dist/app/AcademicCap.js +5 -0
- package/dist/app/Add.d.ts +3 -0
- package/dist/app/Add.js +5 -0
- package/dist/app/Agentic.d.ts +3 -0
- package/dist/app/Agentic.js +5 -0
- package/dist/app/Ai.d.ts +3 -0
- package/dist/app/Ai.js +5 -0
- package/dist/app/Alert.d.ts +3 -0
- package/dist/app/Alert.js +5 -0
- package/dist/app/AlertCircle.d.ts +3 -0
- package/dist/app/AlertCircle.js +5 -0
- package/dist/app/AlertCircleLine.d.ts +3 -0
- package/dist/app/AlertCircleLine.js +5 -0
- package/dist/app/AlignTextCenter.d.ts +3 -0
- package/dist/app/AlignTextCenter.js +5 -0
- package/dist/app/AlignTextJustify.d.ts +3 -0
- package/dist/app/AlignTextJustify.js +5 -0
- package/dist/app/AlignTextLeft.d.ts +3 -0
- package/dist/app/AlignTextLeft.js +5 -0
- package/dist/app/AlignTextRight.d.ts +3 -0
- package/dist/app/AlignTextRight.js +5 -0
- package/dist/app/Appearance.d.ts +3 -0
- package/dist/app/Appearance.js +5 -0
- package/dist/app/Archive.d.ts +3 -0
- package/dist/app/Archive.js +5 -0
- package/dist/app/ArchiveOpen.d.ts +3 -0
- package/dist/app/ArchiveOpen.js +5 -0
- package/dist/app/ArrowCycle.d.ts +3 -0
- package/dist/app/ArrowCycle.js +5 -0
- package/dist/app/ArrowDown.d.ts +3 -0
- package/dist/app/ArrowDown.js +5 -0
- package/dist/app/ArrowLeft.d.ts +3 -0
- package/dist/app/ArrowLeft.js +5 -0
- package/dist/app/ArrowRight.d.ts +3 -0
- package/dist/app/ArrowRight.js +5 -0
- package/dist/app/ArrowUp.d.ts +3 -0
- package/dist/app/ArrowUp.js +5 -0
- package/dist/app/Ascending.d.ts +3 -0
- package/dist/app/Ascending.js +5 -0
- package/dist/app/AudioWave.d.ts +3 -0
- package/dist/app/AudioWave.js +5 -0
- package/dist/app/Balance.d.ts +3 -0
- package/dist/app/Balance.js +5 -0
- package/dist/app/Bank.d.ts +3 -0
- package/dist/app/Bank.js +5 -0
- package/dist/app/BarGraph.d.ts +3 -0
- package/dist/app/BarGraph.js +5 -0
- package/dist/app/Barcode.d.ts +3 -0
- package/dist/app/Barcode.js +5 -0
- package/dist/app/Bed.d.ts +3 -0
- package/dist/app/Bed.js +5 -0
- package/dist/app/Bell.d.ts +3 -0
- package/dist/app/Bell.js +5 -0
- package/dist/app/BellOff.d.ts +3 -0
- package/dist/app/BellOff.js +5 -0
- package/dist/app/Bold.d.ts +3 -0
- package/dist/app/Bold.js +5 -0
- package/dist/app/Book.d.ts +3 -0
- package/dist/app/Book.js +5 -0
- package/dist/app/BookOpen.d.ts +3 -0
- package/dist/app/BookOpen.js +5 -0
- package/dist/app/Bookmark.d.ts +3 -0
- package/dist/app/Bookmark.js +5 -0
- package/dist/app/Briefcase.d.ts +3 -0
- package/dist/app/Briefcase.js +5 -0
- package/dist/app/Bucket.d.ts +3 -0
- package/dist/app/Bucket.js +5 -0
- package/dist/app/Building.d.ts +3 -0
- package/dist/app/Building.js +5 -0
- package/dist/app/Bullet.d.ts +3 -0
- package/dist/app/Bullet.js +5 -0
- package/dist/app/Cake.d.ts +3 -0
- package/dist/app/Cake.js +5 -0
- package/dist/app/CakeFilled.d.ts +3 -0
- package/dist/app/CakeFilled.js +5 -0
- package/dist/app/Calculator.d.ts +3 -0
- package/dist/app/Calculator.js +5 -0
- package/dist/app/Calendar.d.ts +3 -0
- package/dist/app/Calendar.js +5 -0
- package/dist/app/CalendarActive.d.ts +3 -0
- package/dist/app/CalendarActive.js +5 -0
- package/dist/app/CalendarArrowDown.d.ts +3 -0
- package/dist/app/CalendarArrowDown.js +5 -0
- package/dist/app/CalendarArrowLeft.d.ts +3 -0
- package/dist/app/CalendarArrowLeft.js +5 -0
- package/dist/app/CalendarArrowRight.d.ts +3 -0
- package/dist/app/CalendarArrowRight.js +5 -0
- package/dist/app/CameraPlus.d.ts +3 -0
- package/dist/app/CameraPlus.js +5 -0
- package/dist/app/Car.d.ts +3 -0
- package/dist/app/Car.js +5 -0
- package/dist/app/CardPin.d.ts +3 -0
- package/dist/app/CardPin.js +5 -0
- package/dist/app/ChartFunnel.d.ts +3 -0
- package/dist/app/ChartFunnel.js +5 -0
- package/dist/app/ChartHorizontalBars.d.ts +3 -0
- package/dist/app/ChartHorizontalBars.js +5 -0
- package/dist/app/ChartLine.d.ts +3 -0
- package/dist/app/ChartLine.js +5 -0
- package/dist/app/ChartPie.d.ts +3 -0
- package/dist/app/ChartPie.js +5 -0
- package/dist/app/ChartVerticalBars.d.ts +3 -0
- package/dist/app/ChartVerticalBars.js +5 -0
- package/dist/app/Check.d.ts +3 -0
- package/dist/app/Check.js +5 -0
- package/dist/app/CheckCircle.d.ts +3 -0
- package/dist/app/CheckCircle.js +5 -0
- package/dist/app/CheckCircleLine.d.ts +3 -0
- package/dist/app/CheckCircleLine.js +5 -0
- package/dist/app/CheckDouble.d.ts +3 -0
- package/dist/app/CheckDouble.js +5 -0
- package/dist/app/CheckSquare.d.ts +3 -0
- package/dist/app/CheckSquare.js +5 -0
- package/dist/app/ChevronDown.d.ts +3 -0
- package/dist/app/ChevronDown.js +5 -0
- package/dist/app/ChevronLeft.d.ts +3 -0
- package/dist/app/ChevronLeft.js +5 -0
- package/dist/app/ChevronRight.d.ts +3 -0
- package/dist/app/ChevronRight.js +5 -0
- package/dist/app/ChevronUp.d.ts +3 -0
- package/dist/app/ChevronUp.js +5 -0
- package/dist/app/Chip.d.ts +3 -0
- package/dist/app/Chip.js +5 -0
- package/dist/app/Circle.d.ts +3 -0
- package/dist/app/Circle.js +5 -0
- package/dist/app/Clock.d.ts +3 -0
- package/dist/app/Clock.js +5 -0
- package/dist/app/ClockArrowIn.d.ts +3 -0
- package/dist/app/ClockArrowIn.js +5 -0
- package/dist/app/ClockArrowOut.d.ts +3 -0
- package/dist/app/ClockArrowOut.js +5 -0
- package/dist/app/ClockBack.d.ts +3 -0
- package/dist/app/ClockBack.js +5 -0
- package/dist/app/ClockPlus.d.ts +3 -0
- package/dist/app/ClockPlus.js +5 -0
- package/dist/app/Cloud.d.ts +3 -0
- package/dist/app/Cloud.js +5 -0
- package/dist/app/Code.d.ts +3 -0
- package/dist/app/Code.js +5 -0
- package/dist/app/Coffee.d.ts +3 -0
- package/dist/app/Coffee.js +5 -0
- package/dist/app/CoinPercent.d.ts +3 -0
- package/dist/app/CoinPercent.js +5 -0
- package/dist/app/Columns.d.ts +3 -0
- package/dist/app/Columns.js +5 -0
- package/dist/app/Command.d.ts +3 -0
- package/dist/app/Command.js +5 -0
- package/dist/app/Comment.d.ts +3 -0
- package/dist/app/Comment.js +5 -0
- package/dist/app/Completed.d.ts +3 -0
- package/dist/app/Completed.js +5 -0
- package/dist/app/Computer.d.ts +3 -0
- package/dist/app/Computer.js +5 -0
- package/dist/app/Contactless.d.ts +3 -0
- package/dist/app/Contactless.js +5 -0
- package/dist/app/Copy.d.ts +3 -0
- package/dist/app/Copy.js +5 -0
- package/dist/app/CornerHandle.d.ts +3 -0
- package/dist/app/CornerHandle.js +5 -0
- package/dist/app/CreditCard.d.ts +3 -0
- package/dist/app/CreditCard.js +5 -0
- package/dist/app/Cross.d.ts +3 -0
- package/dist/app/Cross.js +5 -0
- package/dist/app/CrossCircle.d.ts +3 -0
- package/dist/app/CrossCircle.js +5 -0
- package/dist/app/CrossedCircle.d.ts +3 -0
- package/dist/app/CrossedCircle.js +5 -0
- package/dist/app/Crown.d.ts +3 -0
- package/dist/app/Crown.js +5 -0
- package/dist/app/DatabaseArrowOut.d.ts +3 -0
- package/dist/app/DatabaseArrowOut.js +5 -0
- package/dist/app/Delete.d.ts +3 -0
- package/dist/app/Delete.js +5 -0
- package/dist/app/Deny.d.ts +3 -0
- package/dist/app/Deny.js +5 -0
- package/dist/app/Descending.d.ts +3 -0
- package/dist/app/Descending.js +5 -0
- package/dist/app/Desktop.d.ts +3 -0
- package/dist/app/Desktop.js +5 -0
- package/dist/app/Directory.d.ts +3 -0
- package/dist/app/Directory.js +5 -0
- package/dist/app/DirectoryFilled.d.ts +3 -0
- package/dist/app/DirectoryFilled.js +5 -0
- package/dist/app/DollarBill.d.ts +3 -0
- package/dist/app/DollarBill.js +5 -0
- package/dist/app/DollarReset.d.ts +3 -0
- package/dist/app/DollarReset.js +5 -0
- package/dist/app/Dot.d.ts +3 -0
- package/dist/app/Dot.js +5 -0
- package/dist/app/DotBig.d.ts +3 -0
- package/dist/app/DotBig.js +5 -0
- package/dist/app/DottedCircle.d.ts +3 -0
- package/dist/app/DottedCircle.js +5 -0
- package/dist/app/Download.d.ts +3 -0
- package/dist/app/Download.js +5 -0
- package/dist/app/DropdownDefault.d.ts +3 -0
- package/dist/app/DropdownDefault.js +5 -0
- package/dist/app/DropdownOpen.d.ts +3 -0
- package/dist/app/DropdownOpen.js +5 -0
- package/dist/app/Ellipsis.d.ts +3 -0
- package/dist/app/Ellipsis.js +5 -0
- package/dist/app/EllipsisHorizontal.d.ts +3 -0
- package/dist/app/EllipsisHorizontal.js +5 -0
- package/dist/app/Envelope.d.ts +3 -0
- package/dist/app/Envelope.js +5 -0
- package/dist/app/EnvelopeOpen.d.ts +3 -0
- package/dist/app/EnvelopeOpen.js +5 -0
- package/dist/app/Equal.d.ts +3 -0
- package/dist/app/Equal.js +5 -0
- package/dist/app/EqualApproximately.d.ts +3 -0
- package/dist/app/EqualApproximately.js +5 -0
- package/dist/app/EqualGreater.d.ts +3 -0
- package/dist/app/EqualGreater.js +5 -0
- package/dist/app/EqualLess.d.ts +3 -0
- package/dist/app/EqualLess.js +5 -0
- package/dist/app/Euro.d.ts +3 -0
- package/dist/app/Euro.js +5 -0
- package/dist/app/EuroPause.d.ts +3 -0
- package/dist/app/EuroPause.js +5 -0
- package/dist/app/Exit.d.ts +3 -0
- package/dist/app/Exit.js +5 -0
- package/dist/app/ExternalLink.d.ts +3 -0
- package/dist/app/ExternalLink.js +5 -0
- package/dist/app/EyeInvisible.d.ts +3 -0
- package/dist/app/EyeInvisible.js +5 -0
- package/dist/app/EyeVisible.d.ts +3 -0
- package/dist/app/EyeVisible.js +5 -0
- package/dist/app/FaceNegative.d.ts +3 -0
- package/dist/app/FaceNegative.js +5 -0
- package/dist/app/FaceNeutral.d.ts +3 -0
- package/dist/app/FaceNeutral.js +5 -0
- package/dist/app/FacePositive.d.ts +3 -0
- package/dist/app/FacePositive.js +5 -0
- package/dist/app/FaceSuperNegative.d.ts +3 -0
- package/dist/app/FaceSuperNegative.js +5 -0
- package/dist/app/FaceSuperPositive.d.ts +3 -0
- package/dist/app/FaceSuperPositive.js +5 -0
- package/dist/app/Factory.d.ts +3 -0
- package/dist/app/Factory.js +5 -0
- package/dist/app/Feed.d.ts +3 -0
- package/dist/app/Feed.js +5 -0
- package/dist/app/File.d.ts +3 -0
- package/dist/app/File.js +5 -0
- package/dist/app/FileAlert.d.ts +3 -0
- package/dist/app/FileAlert.js +5 -0
- package/dist/app/FileArrowIn.d.ts +3 -0
- package/dist/app/FileArrowIn.js +5 -0
- package/dist/app/FileCart.d.ts +3 -0
- package/dist/app/FileCart.js +5 -0
- package/dist/app/FileFilled.d.ts +3 -0
- package/dist/app/FileFilled.js +5 -0
- package/dist/app/FileHash.d.ts +3 -0
- package/dist/app/FileHash.js +5 -0
- package/dist/app/FilePercent.d.ts +3 -0
- package/dist/app/FilePercent.js +5 -0
- package/dist/app/FileSignature.d.ts +3 -0
- package/dist/app/FileSignature.js +5 -0
- package/dist/app/Files.d.ts +3 -0
- package/dist/app/Files.js +5 -0
- package/dist/app/FilesCheck.d.ts +3 -0
- package/dist/app/FilesCheck.js +5 -0
- package/dist/app/Filter.d.ts +3 -0
- package/dist/app/Filter.js +5 -0
- package/dist/app/Flag.d.ts +3 -0
- package/dist/app/Flag.js +5 -0
- package/dist/app/Flask.d.ts +3 -0
- package/dist/app/Flask.js +5 -0
- package/dist/app/Floating.d.ts +3 -0
- package/dist/app/Floating.js +5 -0
- package/dist/app/FlowCheck.d.ts +3 -0
- package/dist/app/FlowCheck.js +5 -0
- package/dist/app/Folder.d.ts +3 -0
- package/dist/app/Folder.js +5 -0
- package/dist/app/Folders.d.ts +3 -0
- package/dist/app/Folders.js +5 -0
- package/dist/app/FoldersFilled.d.ts +3 -0
- package/dist/app/FoldersFilled.js +5 -0
- package/dist/app/ForkKnife.d.ts +3 -0
- package/dist/app/ForkKnife.js +5 -0
- package/dist/app/Forward.d.ts +3 -0
- package/dist/app/Forward.js +5 -0
- package/dist/app/FuelPump.d.ts +3 -0
- package/dist/app/FuelPump.js +5 -0
- package/dist/app/Fullscreen.d.ts +3 -0
- package/dist/app/Fullscreen.js +5 -0
- package/dist/app/Gauge.d.ts +3 -0
- package/dist/app/Gauge.js +5 -0
- package/dist/app/Globe.d.ts +3 -0
- package/dist/app/Globe.js +5 -0
- package/dist/app/Graph.d.ts +3 -0
- package/dist/app/Graph.js +5 -0
- package/dist/app/Greater.d.ts +3 -0
- package/dist/app/Greater.js +5 -0
- package/dist/app/Group.d.ts +3 -0
- package/dist/app/Group.js +5 -0
- package/dist/app/GroupBy.d.ts +3 -0
- package/dist/app/GroupBy.js +5 -0
- package/dist/app/Handle.d.ts +3 -0
- package/dist/app/Handle.js +5 -0
- package/dist/app/Handshake.d.ts +3 -0
- package/dist/app/Handshake.js +5 -0
- package/dist/app/HardDrive.d.ts +3 -0
- package/dist/app/HardDrive.js +5 -0
- package/dist/app/HeadcountPlanning.d.ts +3 -0
- package/dist/app/HeadcountPlanning.js +5 -0
- package/dist/app/Heading1.d.ts +3 -0
- package/dist/app/Heading1.js +5 -0
- package/dist/app/Heading2.d.ts +3 -0
- package/dist/app/Heading2.js +5 -0
- package/dist/app/Heading3.d.ts +3 -0
- package/dist/app/Heading3.js +5 -0
- package/dist/app/Headset.d.ts +3 -0
- package/dist/app/Headset.js +5 -0
- package/dist/app/HeadsetMicrophone.d.ts +3 -0
- package/dist/app/HeadsetMicrophone.js +5 -0
- package/dist/app/Heart.d.ts +3 -0
- package/dist/app/Heart.js +5 -0
- package/dist/app/HoldHeart.d.ts +3 -0
- package/dist/app/HoldHeart.js +5 -0
- package/dist/app/Home.d.ts +3 -0
- package/dist/app/Home.js +5 -0
- package/dist/app/HomeFilled.d.ts +3 -0
- package/dist/app/HomeFilled.js +5 -0
- package/dist/app/Hub.d.ts +3 -0
- package/dist/app/Hub.js +5 -0
- package/dist/app/HubFilled.d.ts +3 -0
- package/dist/app/HubFilled.js +5 -0
- package/dist/app/IdCard.d.ts +3 -0
- package/dist/app/IdCard.js +5 -0
- package/dist/app/Image.d.ts +3 -0
- package/dist/app/Image.js +5 -0
- package/dist/app/InProgressTask.d.ts +3 -0
- package/dist/app/InProgressTask.js +5 -0
- package/dist/app/Inbox.d.ts +3 -0
- package/dist/app/Inbox.js +5 -0
- package/dist/app/InboxFilled.d.ts +3 -0
- package/dist/app/InboxFilled.js +5 -0
- package/dist/app/Info.d.ts +3 -0
- package/dist/app/Info.js +5 -0
- package/dist/app/InfoCircle.d.ts +3 -0
- package/dist/app/InfoCircle.js +5 -0
- package/dist/app/InfoCircleLine.d.ts +3 -0
- package/dist/app/InfoCircleLine.js +5 -0
- package/dist/app/InputField.d.ts +3 -0
- package/dist/app/InputField.js +5 -0
- package/dist/app/Italic.d.ts +3 -0
- package/dist/app/Italic.js +5 -0
- package/dist/app/Kanban.d.ts +3 -0
- package/dist/app/Kanban.js +5 -0
- package/dist/app/Key.d.ts +3 -0
- package/dist/app/Key.js +5 -0
- package/dist/app/Keyboard.d.ts +3 -0
- package/dist/app/Keyboard.js +5 -0
- package/dist/app/Laptop.d.ts +3 -0
- package/dist/app/Laptop.js +5 -0
- package/dist/app/LayersFront.d.ts +3 -0
- package/dist/app/LayersFront.js +5 -0
- package/dist/app/Leaf.d.ts +3 -0
- package/dist/app/Leaf.js +5 -0
- package/dist/app/LeafFilled.d.ts +3 -0
- package/dist/app/LeafFilled.js +5 -0
- package/dist/app/Less.d.ts +3 -0
- package/dist/app/Less.js +5 -0
- package/dist/app/LifeBuoy.d.ts +3 -0
- package/dist/app/LifeBuoy.js +5 -0
- package/dist/app/Lightbulb.d.ts +3 -0
- package/dist/app/Lightbulb.js +5 -0
- package/dist/app/Link.d.ts +3 -0
- package/dist/app/Link.js +5 -0
- package/dist/app/LinkRemove.d.ts +3 -0
- package/dist/app/LinkRemove.js +5 -0
- package/dist/app/List.d.ts +3 -0
- package/dist/app/List.js +5 -0
- package/dist/app/LockLocked.d.ts +3 -0
- package/dist/app/LockLocked.js +5 -0
- package/dist/app/LockUnlocked.d.ts +3 -0
- package/dist/app/LockUnlocked.js +5 -0
- package/dist/app/LogoAvatar.d.ts +3 -0
- package/dist/app/LogoAvatar.js +5 -0
- package/dist/app/LogoEruditai.d.ts +3 -0
- package/dist/app/LogoEruditai.js +5 -0
- package/dist/app/LogoTravelperk.d.ts +3 -0
- package/dist/app/LogoTravelperk.js +5 -0
- package/dist/app/Marker.d.ts +3 -0
- package/dist/app/Marker.js +5 -0
- package/dist/app/Marketplace.d.ts +3 -0
- package/dist/app/Marketplace.js +5 -0
- package/dist/app/Masonry.d.ts +3 -0
- package/dist/app/Masonry.js +5 -0
- package/dist/app/Maximize.d.ts +3 -0
- package/dist/app/Maximize.js +5 -0
- package/dist/app/MaximizeHorizontal.d.ts +3 -0
- package/dist/app/MaximizeHorizontal.js +5 -0
- package/dist/app/Megaphone.d.ts +3 -0
- package/dist/app/Megaphone.js +5 -0
- package/dist/app/MegaphoneFilled.d.ts +3 -0
- package/dist/app/MegaphoneFilled.js +5 -0
- package/dist/app/Menu.d.ts +3 -0
- package/dist/app/Menu.js +5 -0
- package/dist/app/MessageFilled.d.ts +3 -0
- package/dist/app/MessageFilled.js +5 -0
- package/dist/app/MessageFrown.d.ts +3 -0
- package/dist/app/MessageFrown.js +5 -0
- package/dist/app/MessageHeart.d.ts +3 -0
- package/dist/app/MessageHeart.js +5 -0
- package/dist/app/Messages.d.ts +3 -0
- package/dist/app/Messages.js +5 -0
- package/dist/app/MessagesFilled.d.ts +3 -0
- package/dist/app/MessagesFilled.js +5 -0
- package/dist/app/Microphone.d.ts +3 -0
- package/dist/app/Microphone.js +5 -0
- package/dist/app/MicrophoneNegative.d.ts +3 -0
- package/dist/app/MicrophoneNegative.js +5 -0
- package/dist/app/Minimize.d.ts +3 -0
- package/dist/app/Minimize.js +5 -0
- package/dist/app/MinimizeHorizontal.d.ts +3 -0
- package/dist/app/MinimizeHorizontal.js +5 -0
- package/dist/app/Minus.d.ts +3 -0
- package/dist/app/Minus.js +5 -0
- package/dist/app/Mobile.d.ts +3 -0
- package/dist/app/Mobile.js +5 -0
- package/dist/app/Money.d.ts +3 -0
- package/dist/app/Money.js +5 -0
- package/dist/app/MoneyBag.d.ts +3 -0
- package/dist/app/MoneyBag.js +5 -0
- package/dist/app/MonitorDot.d.ts +3 -0
- package/dist/app/MonitorDot.js +5 -0
- package/dist/app/MonitorSmartphone.d.ts +3 -0
- package/dist/app/MonitorSmartphone.js +5 -0
- package/dist/app/Moon.d.ts +3 -0
- package/dist/app/Moon.js +5 -0
- package/dist/app/Mouse.d.ts +3 -0
- package/dist/app/Mouse.js +5 -0
- package/dist/app/MoveDown.d.ts +3 -0
- package/dist/app/MoveDown.js +5 -0
- package/dist/app/MoveTop.d.ts +3 -0
- package/dist/app/MoveTop.js +5 -0
- package/dist/app/MoveUp.d.ts +3 -0
- package/dist/app/MoveUp.js +5 -0
- package/dist/app/Multitask.d.ts +3 -0
- package/dist/app/Multitask.js +5 -0
- package/dist/app/New.d.ts +3 -0
- package/dist/app/New.js +5 -0
- package/dist/app/Numbers.d.ts +3 -0
- package/dist/app/Numbers.js +5 -0
- package/dist/app/Office.d.ts +3 -0
- package/dist/app/Office.js +5 -0
- package/dist/app/OlList.d.ts +3 -0
- package/dist/app/OlList.js +5 -0
- package/dist/app/Organization.d.ts +3 -0
- package/dist/app/Organization.js +5 -0
- package/dist/app/Package.d.ts +3 -0
- package/dist/app/Package.js +5 -0
- package/dist/app/PackageCheck.d.ts +3 -0
- package/dist/app/PackageCheck.js +5 -0
- package/dist/app/PalmTree.d.ts +3 -0
- package/dist/app/PalmTree.js +5 -0
- package/dist/app/PalmTreeFilled.d.ts +3 -0
- package/dist/app/PalmTreeFilled.js +5 -0
- package/dist/app/PanelLeft.d.ts +3 -0
- package/dist/app/PanelLeft.js +5 -0
- package/dist/app/PanelRight.d.ts +3 -0
- package/dist/app/PanelRight.js +5 -0
- package/dist/app/PaperPlane.d.ts +3 -0
- package/dist/app/PaperPlane.js +5 -0
- package/dist/app/Paperclip.d.ts +3 -0
- package/dist/app/Paperclip.js +5 -0
- package/dist/app/PartiallyCompleted.d.ts +3 -0
- package/dist/app/PartiallyCompleted.js +5 -0
- package/dist/app/PartyPopper.d.ts +3 -0
- package/dist/app/PartyPopper.js +5 -0
- package/dist/app/Password.d.ts +3 -0
- package/dist/app/Password.js +5 -0
- package/dist/app/Pause.d.ts +3 -0
- package/dist/app/Pause.js +5 -0
- package/dist/app/PauseCircle.d.ts +3 -0
- package/dist/app/PauseCircle.js +5 -0
- package/dist/app/Pencil.d.ts +3 -0
- package/dist/app/Pencil.js +5 -0
- package/dist/app/People.d.ts +3 -0
- package/dist/app/People.js +5 -0
- package/dist/app/Person.d.ts +3 -0
- package/dist/app/Person.js +5 -0
- package/dist/app/PersonArrowIn.d.ts +3 -0
- package/dist/app/PersonArrowIn.js +5 -0
- package/dist/app/PersonArrowOut.d.ts +3 -0
- package/dist/app/PersonArrowOut.js +5 -0
- package/dist/app/PersonMinus.d.ts +3 -0
- package/dist/app/PersonMinus.js +5 -0
- package/dist/app/PersonNegative.d.ts +3 -0
- package/dist/app/PersonNegative.js +5 -0
- package/dist/app/PersonPlus.d.ts +3 -0
- package/dist/app/PersonPlus.js +5 -0
- package/dist/app/Phone.d.ts +3 -0
- package/dist/app/Phone.js +5 -0
- package/dist/app/Pig.d.ts +3 -0
- package/dist/app/Pig.js +5 -0
- package/dist/app/Pin.d.ts +3 -0
- package/dist/app/Pin.js +5 -0
- package/dist/app/PinArea.d.ts +3 -0
- package/dist/app/PinArea.js +5 -0
- package/dist/app/PinOff.d.ts +3 -0
- package/dist/app/PinOff.js +5 -0
- package/dist/app/PixBrazil.d.ts +3 -0
- package/dist/app/PixBrazil.js +5 -0
- package/dist/app/Placeholder.d.ts +3 -0
- package/dist/app/Placeholder.js +5 -0
- package/dist/app/Plane.d.ts +3 -0
- package/dist/app/Plane.js +5 -0
- package/dist/app/Play.d.ts +3 -0
- package/dist/app/Play.js +5 -0
- package/dist/app/Plug.d.ts +3 -0
- package/dist/app/Plug.js +5 -0
- package/dist/app/Plus.d.ts +3 -0
- package/dist/app/Plus.js +5 -0
- package/dist/app/Present.d.ts +3 -0
- package/dist/app/Present.js +5 -0
- package/dist/app/PresentFilled.d.ts +3 -0
- package/dist/app/PresentFilled.js +5 -0
- package/dist/app/Printer.d.ts +3 -0
- package/dist/app/Printer.js +5 -0
- package/dist/app/Proyector.d.ts +3 -0
- package/dist/app/Proyector.js +5 -0
- package/dist/app/PushPin.d.ts +3 -0
- package/dist/app/PushPin.js +5 -0
- package/dist/app/PushPinSolid.d.ts +3 -0
- package/dist/app/PushPinSolid.js +5 -0
- package/dist/app/Question.d.ts +3 -0
- package/dist/app/Question.js +5 -0
- package/dist/app/QuestionCircle.d.ts +3 -0
- package/dist/app/QuestionCircle.js +5 -0
- package/dist/app/Quote.d.ts +3 -0
- package/dist/app/Quote.js +5 -0
- package/dist/app/Reaction.d.ts +3 -0
- package/dist/app/Reaction.js +5 -0
- package/dist/app/Receipt.d.ts +3 -0
- package/dist/app/Receipt.js +5 -0
- package/dist/app/Record.d.ts +3 -0
- package/dist/app/Record.js +5 -0
- package/dist/app/Redo.d.ts +3 -0
- package/dist/app/Redo.js +5 -0
- package/dist/app/RemoveFavorite.d.ts +3 -0
- package/dist/app/RemoveFavorite.js +5 -0
- package/dist/app/Replace.d.ts +3 -0
- package/dist/app/Replace.js +5 -0
- package/dist/app/Reply.d.ts +3 -0
- package/dist/app/Reply.js +5 -0
- package/dist/app/Reset.d.ts +3 -0
- package/dist/app/Reset.js +5 -0
- package/dist/app/Rocket.d.ts +3 -0
- package/dist/app/Rocket.js +5 -0
- package/dist/app/RosetteCheck.d.ts +3 -0
- package/dist/app/RosetteCheck.js +5 -0
- package/dist/app/Salad.d.ts +3 -0
- package/dist/app/Salad.js +5 -0
- package/dist/app/Save.d.ts +3 -0
- package/dist/app/Save.js +5 -0
- package/dist/app/Scan.d.ts +3 -0
- package/dist/app/Scan.js +5 -0
- package/dist/app/Schedule.d.ts +3 -0
- package/dist/app/Schedule.js +5 -0
- package/dist/app/Search.d.ts +3 -0
- package/dist/app/Search.js +5 -0
- package/dist/app/SearchPerson.d.ts +3 -0
- package/dist/app/SearchPerson.js +5 -0
- package/dist/app/Settings.d.ts +3 -0
- package/dist/app/Settings.js +5 -0
- package/dist/app/Share.d.ts +3 -0
- package/dist/app/Share.js +5 -0
- package/dist/app/Shield.d.ts +3 -0
- package/dist/app/Shield.js +5 -0
- package/dist/app/ShoppingCart.d.ts +3 -0
- package/dist/app/ShoppingCart.js +5 -0
- package/dist/app/SignPost.d.ts +3 -0
- package/dist/app/SignPost.js +5 -0
- package/dist/app/Signature.d.ts +3 -0
- package/dist/app/Signature.js +5 -0
- package/dist/app/Sleep.d.ts +3 -0
- package/dist/app/Sleep.js +5 -0
- package/dist/app/Sliders.d.ts +3 -0
- package/dist/app/Sliders.js +5 -0
- package/dist/app/SolidPause.d.ts +3 -0
- package/dist/app/SolidPause.js +5 -0
- package/dist/app/SolidPlay.d.ts +3 -0
- package/dist/app/SolidPlay.js +5 -0
- package/dist/app/SolidStop.d.ts +3 -0
- package/dist/app/SolidStop.js +5 -0
- package/dist/app/Sort.d.ts +3 -0
- package/dist/app/Sort.js +5 -0
- package/dist/app/Sparkles.d.ts +3 -0
- package/dist/app/Sparkles.js +5 -0
- package/dist/app/Spinner.d.ts +3 -0
- package/dist/app/Spinner.js +5 -0
- package/dist/app/Split.d.ts +3 -0
- package/dist/app/Split.js +5 -0
- package/dist/app/Square.d.ts +3 -0
- package/dist/app/Square.js +5 -0
- package/dist/app/SquareFilled.d.ts +3 -0
- package/dist/app/SquareFilled.js +5 -0
- package/dist/app/Star.d.ts +3 -0
- package/dist/app/Star.js +5 -0
- package/dist/app/StarFilled.d.ts +3 -0
- package/dist/app/StarFilled.js +5 -0
- package/dist/app/Stop.d.ts +3 -0
- package/dist/app/Stop.js +5 -0
- package/dist/app/Strikethrough.d.ts +3 -0
- package/dist/app/Strikethrough.js +5 -0
- package/dist/app/Stroller.d.ts +3 -0
- package/dist/app/Stroller.js +5 -0
- package/dist/app/Suitcase.d.ts +3 -0
- package/dist/app/Suitcase.js +5 -0
- package/dist/app/Swap.d.ts +3 -0
- package/dist/app/Swap.js +5 -0
- package/dist/app/SwapCheck.d.ts +3 -0
- package/dist/app/SwapCheck.js +5 -0
- package/dist/app/SwapClock.d.ts +3 -0
- package/dist/app/SwapClock.js +5 -0
- package/dist/app/Table.d.ts +3 -0
- package/dist/app/Table.js +5 -0
- package/dist/app/Tablet.d.ts +3 -0
- package/dist/app/Tablet.js +5 -0
- package/dist/app/Tag.d.ts +3 -0
- package/dist/app/Tag.js +5 -0
- package/dist/app/Target.d.ts +3 -0
- package/dist/app/Target.js +5 -0
- package/dist/app/Taxi.d.ts +3 -0
- package/dist/app/Taxi.js +5 -0
- package/dist/app/TextSize.d.ts +3 -0
- package/dist/app/TextSize.js +5 -0
- package/dist/app/Thermometer.d.ts +3 -0
- package/dist/app/Thermometer.js +5 -0
- package/dist/app/ThumbsDown.d.ts +3 -0
- package/dist/app/ThumbsDown.js +5 -0
- package/dist/app/ThumbsDownFilled.d.ts +3 -0
- package/dist/app/ThumbsDownFilled.js +5 -0
- package/dist/app/ThumbsUp.d.ts +3 -0
- package/dist/app/ThumbsUp.js +5 -0
- package/dist/app/ThumbsUpFilled.d.ts +3 -0
- package/dist/app/ThumbsUpFilled.js +5 -0
- package/dist/app/Timer.d.ts +3 -0
- package/dist/app/Timer.js +5 -0
- package/dist/app/Train.d.ts +3 -0
- package/dist/app/Train.js +5 -0
- package/dist/app/Truck.d.ts +3 -0
- package/dist/app/Truck.js +5 -0
- package/dist/app/Underline.d.ts +3 -0
- package/dist/app/Underline.js +5 -0
- package/dist/app/Undo.d.ts +3 -0
- package/dist/app/Undo.js +5 -0
- package/dist/app/Upload.d.ts +3 -0
- package/dist/app/Upload.js +5 -0
- package/dist/app/Upsell.d.ts +3 -0
- package/dist/app/Upsell.js +5 -0
- package/dist/app/Video.d.ts +3 -0
- package/dist/app/Video.js +5 -0
- package/dist/app/VideoRecorder.d.ts +3 -0
- package/dist/app/VideoRecorder.js +5 -0
- package/dist/app/VideoRecorderNegative.d.ts +3 -0
- package/dist/app/VideoRecorderNegative.js +5 -0
- package/dist/app/VolumeHigh.d.ts +3 -0
- package/dist/app/VolumeHigh.js +5 -0
- package/dist/app/VolumeMid.d.ts +3 -0
- package/dist/app/VolumeMid.js +5 -0
- package/dist/app/VolumeMuted.d.ts +3 -0
- package/dist/app/VolumeMuted.js +5 -0
- package/dist/app/Wallet.d.ts +3 -0
- package/dist/app/Wallet.js +5 -0
- package/dist/app/Warehouse.d.ts +3 -0
- package/dist/app/Warehouse.js +5 -0
- package/dist/app/Warning.d.ts +3 -0
- package/dist/app/Warning.js +5 -0
- package/dist/app/Watch.d.ts +3 -0
- package/dist/app/Watch.js +5 -0
- package/dist/app/Webhook.d.ts +3 -0
- package/dist/app/Webhook.js +5 -0
- package/dist/app/WhatsappChat.d.ts +3 -0
- package/dist/app/WhatsappChat.js +5 -0
- package/dist/app/Wifi.d.ts +3 -0
- package/dist/app/Wifi.js +5 -0
- package/dist/app/Windows.d.ts +3 -0
- package/dist/app/Windows.js +5 -0
- package/dist/app/ZoomIn.d.ts +3 -0
- package/dist/app/ZoomIn.js +5 -0
- package/dist/app/ZoomOut.d.ts +3 -0
- package/dist/app/ZoomOut.js +5 -0
- package/dist/app/index.d.ts +343 -0
- package/dist/app/index.js +343 -0
- package/dist/meta.json +1 -0
- package/dist/modules/Benefits.d.ts +3 -0
- package/dist/modules/Benefits.js +5 -0
- package/dist/modules/Calendar.d.ts +3 -0
- package/dist/modules/Calendar.js +5 -0
- package/dist/modules/Cards.d.ts +3 -0
- package/dist/modules/Cards.js +5 -0
- package/dist/modules/ClockIn.d.ts +3 -0
- package/dist/modules/ClockIn.js +5 -0
- package/dist/modules/Complaints.d.ts +3 -0
- package/dist/modules/Complaints.js +5 -0
- package/dist/modules/Discover.d.ts +3 -0
- package/dist/modules/Discover.js +5 -0
- package/dist/modules/Documents.d.ts +3 -0
- package/dist/modules/Documents.js +5 -0
- package/dist/modules/Engagement.d.ts +3 -0
- package/dist/modules/Engagement.js +5 -0
- package/dist/modules/Finance.d.ts +3 -0
- package/dist/modules/Finance.js +5 -0
- package/dist/modules/Goals.d.ts +3 -0
- package/dist/modules/Goals.js +5 -0
- package/dist/modules/HeadcountPlanning.d.ts +3 -0
- package/dist/modules/HeadcountPlanning.js +5 -0
- package/dist/modules/Home.d.ts +3 -0
- package/dist/modules/Home.js +5 -0
- package/dist/modules/Hub.d.ts +3 -0
- package/dist/modules/Hub.js +5 -0
- package/dist/modules/Inbox.d.ts +3 -0
- package/dist/modules/Inbox.js +5 -0
- package/dist/modules/ItManagement.d.ts +3 -0
- package/dist/modules/ItManagement.js +5 -0
- package/dist/modules/Kudos.d.ts +3 -0
- package/dist/modules/Kudos.js +5 -0
- package/dist/modules/Lms.d.ts +3 -0
- package/dist/modules/Lms.js +5 -0
- package/dist/modules/Marketplace.d.ts +3 -0
- package/dist/modules/Marketplace.js +5 -0
- package/dist/modules/Meetings.d.ts +3 -0
- package/dist/modules/Meetings.js +5 -0
- package/dist/modules/Megaphone.d.ts +3 -0
- package/dist/modules/Megaphone.js +5 -0
- package/dist/modules/MyDocuments.d.ts +3 -0
- package/dist/modules/MyDocuments.js +5 -0
- package/dist/modules/Organization.d.ts +3 -0
- package/dist/modules/Organization.js +5 -0
- package/dist/modules/Overviews.d.ts +3 -0
- package/dist/modules/Overviews.js +5 -0
- package/dist/modules/Pages.d.ts +3 -0
- package/dist/modules/Pages.js +5 -0
- package/dist/modules/Payroll.d.ts +3 -0
- package/dist/modules/Payroll.js +5 -0
- package/dist/modules/Performance.d.ts +3 -0
- package/dist/modules/Performance.js +5 -0
- package/dist/modules/Profile.d.ts +3 -0
- package/dist/modules/Profile.js +5 -0
- package/dist/modules/Projects.d.ts +3 -0
- package/dist/modules/Projects.js +5 -0
- package/dist/modules/Recruitment.d.ts +3 -0
- package/dist/modules/Recruitment.js +5 -0
- package/dist/modules/Reports.d.ts +3 -0
- package/dist/modules/Reports.js +5 -0
- package/dist/modules/SalaryAdvance.d.ts +3 -0
- package/dist/modules/SalaryAdvance.js +5 -0
- package/dist/modules/Sales.d.ts +3 -0
- package/dist/modules/Sales.js +5 -0
- package/dist/modules/Settings.d.ts +3 -0
- package/dist/modules/Settings.js +5 -0
- package/dist/modules/Shifts.d.ts +3 -0
- package/dist/modules/Shifts.js +5 -0
- package/dist/modules/Social.d.ts +3 -0
- package/dist/modules/Social.js +5 -0
- package/dist/modules/Software.d.ts +3 -0
- package/dist/modules/Software.js +5 -0
- package/dist/modules/Spaces.d.ts +3 -0
- package/dist/modules/Spaces.js +5 -0
- package/dist/modules/Spending.d.ts +3 -0
- package/dist/modules/Spending.js +5 -0
- package/dist/modules/Tasks.d.ts +3 -0
- package/dist/modules/Tasks.js +5 -0
- package/dist/modules/TimeOff.d.ts +3 -0
- package/dist/modules/TimeOff.js +5 -0
- package/dist/modules/TimeTracking.d.ts +3 -0
- package/dist/modules/TimeTracking.js +5 -0
- package/dist/modules/Trainings.d.ts +3 -0
- package/dist/modules/Trainings.js +5 -0
- package/dist/modules/Treasury.d.ts +3 -0
- package/dist/modules/Treasury.js +5 -0
- package/dist/modules/Workflows.d.ts +3 -0
- package/dist/modules/Workflows.js +5 -0
- package/dist/modules/index.d.ts +44 -0
- package/dist/modules/index.js +44 -0
- package/package.json +63 -4
package/README.md
CHANGED
|
@@ -1,3 +1,109 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Factorial Icons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Factorial's icon set, the tools that draw and check it, and the package products install.
|
|
4
|
+
|
|
5
|
+
<img src="https://github.com/factorialco/f0/blob/bc1612d0a0f3b14fba7a371f756dc5b5bf853ec8/pr-6547/2-close-up.png?raw=true" alt="Everyday icons: today's set at 16 and 20 px, then Factorial Icons 2.0 at 16 and 20 px" width="760">
|
|
6
|
+
|
|
7
|
+
Each card: today's icon at 16 and 20 px, then the new one at 16 and 20 px.
|
|
8
|
+
|
|
9
|
+
## Links
|
|
10
|
+
|
|
11
|
+
- [Presentation](https://factorial-icons-presentation.vercel.app/): why the set changes and what it fixes.
|
|
12
|
+
- [Icon Studio](https://factorial-icon-studio.vercel.app/): every icon, its checks, the guidelines and the 24 animations.
|
|
13
|
+
- [Rollout plan](https://claude.ai/artifact/45Ei4Y5hfq75es9D1M1rKx): phases, owners, decisions and the checklist before phase 1.
|
|
14
|
+
- [F0 pull request](https://github.com/factorialco/f0/pull/6547): the switch in `F0Icon` that turns the set on.
|
|
15
|
+
|
|
16
|
+
## What this is
|
|
17
|
+
|
|
18
|
+
Factorial Icons 2.0 replaces the icons F0 ships today. Every icon is redrawn on one grid with one stroke, so they
|
|
19
|
+
read as one family at 16 and 20 px. The metaphors stay the same: a redrawn icon means the same thing as before.
|
|
20
|
+
|
|
21
|
+
| In the set | Count |
|
|
22
|
+
|---|---|
|
|
23
|
+
| App icons | 343 (287 redrawn, 56 new) |
|
|
24
|
+
| Module icons | 44, all redrawn |
|
|
25
|
+
| AI icons | 13 (9 redrawn, 4 new) |
|
|
26
|
+
| Animated on hover | 24 |
|
|
27
|
+
|
|
28
|
+
The icons live here and not in F0 so that designers can own them: the set, its rules and its tools are in one
|
|
29
|
+
place, and F0 takes the result as a dependency, the way it takes any other icon library.
|
|
30
|
+
|
|
31
|
+
## How an icon reaches the product
|
|
32
|
+
|
|
33
|
+
1. A change merges to `main` here. CI has checked the drawing rules, the motion rules and the package.
|
|
34
|
+
2. release-please keeps a release PR open with the next version and its changelog.
|
|
35
|
+
3. Merging that PR publishes `@factorialco/factorial-icons` to npm (`.github/workflows/release.yml`).
|
|
36
|
+
4. Dependabot opens a PR in F0 with the new version.
|
|
37
|
+
5. F0 releases, and the product picks the icons up with its next F0 version.
|
|
38
|
+
|
|
39
|
+
Publishing uses npm Trusted Publishing, with no token stored in the repository. It needs one setup on
|
|
40
|
+
npmjs.com: a Trusted Publisher for `@factorialco/factorial-icons` that points at this repository
|
|
41
|
+
(`factorialco/factorial-icons`) and the workflow file `release.yml`.
|
|
42
|
+
|
|
43
|
+
## Rollout
|
|
44
|
+
|
|
45
|
+
The new set sits behind a switch in F0 (`iconSet`, default `"legacy"`), driven by a feature flag in the product.
|
|
46
|
+
The unit is the company, so everyone in a company sees the same icons.
|
|
47
|
+
|
|
48
|
+
| Phase | Who sees the new icons |
|
|
49
|
+
|---|---|
|
|
50
|
+
| 1 | Factorial employees, for 14 days from Monday 30 November 2026 |
|
|
51
|
+
| 2 | 50% of customer companies |
|
|
52
|
+
| 3 | Every company; the legacy set is then removed from F0 |
|
|
53
|
+
|
|
54
|
+
Turning the flag off restores today's icons at once.
|
|
55
|
+
|
|
56
|
+
**Status on 25 November 2026:** the set and the package build are ready. The package is not on npm yet (it waits
|
|
57
|
+
for the Trusted Publisher), the F0 pull request is a draft, and the feature flag does not exist yet.
|
|
58
|
+
|
|
59
|
+
## Owners
|
|
60
|
+
|
|
61
|
+
Jordi Espinosa leads and Marcus is the second owner. While the rollout runs, new icon requests wait in a queue
|
|
62
|
+
(see `CONTRIBUTING.md`).
|
|
63
|
+
|
|
64
|
+
## What is in this repository
|
|
65
|
+
|
|
66
|
+
| Folder | What it is |
|
|
67
|
+
|---|---|
|
|
68
|
+
| `set/` | The icons (SVG, 24 grid, stroke 2) and their search tags. The source of truth. |
|
|
69
|
+
| `guidelines.md` | The drawing and motion rules. |
|
|
70
|
+
| `studio/` | The Icon Studio: review, edit, check and animate icons. Also the presentation. |
|
|
71
|
+
| `tools/`, `.claude/skills/` | Finder, Benchmark and the `icon-request` skill. |
|
|
72
|
+
| `fix/check.mjs` | The linter for the drawing rules. |
|
|
73
|
+
| `scripts/` | Builds and verifies the npm package. |
|
|
74
|
+
| `evals/` | Tests of the agent setup. |
|
|
75
|
+
|
|
76
|
+
## The package
|
|
77
|
+
|
|
78
|
+
`@factorialco/factorial-icons` ships every icon as a React component.
|
|
79
|
+
|
|
80
|
+
```tsx
|
|
81
|
+
import { Calendar } from "@factorialco/factorial-icons/app"
|
|
82
|
+
import { Benefits } from "@factorialco/factorial-icons/modules"
|
|
83
|
+
import { Sparkle } from "@factorialco/factorial-icons/ai"
|
|
84
|
+
import { BellAnimated } from "@factorialco/factorial-icons/animated" // needs `motion`
|
|
85
|
+
import meta from "@factorialco/factorial-icons/meta" // search tags per icon
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
In Factorial's products, icons come through F0 (`F0Icon`), which depends on this package.
|
|
89
|
+
|
|
90
|
+
### Checking how a product uses icons
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
npx factorial-icons-check src
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Yes or no rules, read from the source: an icon that was replaced (`FileSigned`), an icon from another library when the set has one of that name, an icon rendered as its own tag instead of through `F0Icon`, and imports that skip F0. It exits 1 on errors, so it can run in CI.
|
|
97
|
+
|
|
98
|
+
## Working here
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
npm install && npm install --prefix fix
|
|
102
|
+
npm run check # drawing rules
|
|
103
|
+
npm run check:motion # motion rules
|
|
104
|
+
npm run build # set -> dist
|
|
105
|
+
npm run verify # the built package is complete
|
|
106
|
+
npm run dev --prefix studio # Icon Studio on :5280
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
See `CONTRIBUTING.md` for how icons get in.
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Checks how product code uses icons. Every rule is a yes or no read from the source, no judgement:
|
|
3
|
+
//
|
|
4
|
+
// replaced error imports an icon the set replaced with another one (FileSigned -> FileSignature)
|
|
5
|
+
// other-set error imports an icon from another library when the set has one with the same name
|
|
6
|
+
// other-set warning imports an icon from another library, with no icon of that name in the set
|
|
7
|
+
// direct error renders a set icon as its own JSX tag instead of through F0Icon (or a component
|
|
8
|
+
// that takes it in a prop), so it skips F0's sizes, colours and the iconSet switch
|
|
9
|
+
// bypass-f0 warning imports from @factorialco/factorial-icons directly instead of through F0
|
|
10
|
+
//
|
|
11
|
+
// Usage: factorial-icons-check <folder or file>... [--json] [--no-warnings]
|
|
12
|
+
// Exits 1 when there is at least one error.
|
|
13
|
+
import { existsSync, readdirSync, readFileSync, statSync } from "node:fs"
|
|
14
|
+
import { dirname, extname, join, relative, resolve } from "node:path"
|
|
15
|
+
import { fileURLToPath } from "node:url"
|
|
16
|
+
|
|
17
|
+
const HERE = dirname(fileURLToPath(import.meta.url))
|
|
18
|
+
const SKIP = new Set(["node_modules", "dist", "build", ".git", ".next", "coverage", "storybook-static"])
|
|
19
|
+
const EXT = new Set([".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs"])
|
|
20
|
+
|
|
21
|
+
// F0's icon entry points, and this package's.
|
|
22
|
+
// A deep path (".../icons/app/Link") is the icon itself as the default export.
|
|
23
|
+
const F0 = /^@factorialco\/f0-react\/icons\/(app|modules|ai|animated)(\/([A-Za-z0-9]+))?$/
|
|
24
|
+
const OWN = /^@factorialco\/factorial-icons\/(app|modules|ai|animated)$/
|
|
25
|
+
// Other icon libraries, and how each one turns an icon into an export name.
|
|
26
|
+
const OTHERS = [
|
|
27
|
+
{ test: /^lucide-react$/, name: (n) => n.replace(/Icon$/, "") },
|
|
28
|
+
{ test: /^@heroicons\/react\//, name: (n) => n.replace(/Icon$/, "") },
|
|
29
|
+
{ test: /^@phosphor-icons\/react/, name: (n) => n.replace(/Icon$/, "") },
|
|
30
|
+
{ test: /^@tabler\/icons-react$/, name: (n) => n.replace(/^Icon/, "") },
|
|
31
|
+
{ test: /^@mui\/icons-material/, name: (n) => n.replace(/(Outlined|Rounded|Sharp|TwoTone)$/, "") },
|
|
32
|
+
{ test: /^react-icons\//, name: (n) => n.replace(/^[A-Z][a-z0-9]+/, "") },
|
|
33
|
+
{ test: /^@radix-ui\/react-icons$/, name: (n) => n.replace(/Icon$/, "") },
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
export function loadMeta(file = join(HERE, "..", "dist", "meta.json")) {
|
|
37
|
+
if (!existsSync(file)) throw new Error(`${file} not found: build the package first (npm run build)`)
|
|
38
|
+
return JSON.parse(readFileSync(file, "utf8"))
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** Every `import { A, B as C } from "x"` and `import X from "x"` of a file, with the line it starts on. */
|
|
42
|
+
function importsOf(code) {
|
|
43
|
+
const found = []
|
|
44
|
+
const re = /import\s+(type\s+)?([^;'"]*?)\s+from\s+["']([^"']+)["']/g
|
|
45
|
+
for (let m; (m = re.exec(code)); ) {
|
|
46
|
+
if (m[1]) continue // type-only imports draw nothing
|
|
47
|
+
const line = code.slice(0, m.index).split("\n").length
|
|
48
|
+
const clause = m[2]
|
|
49
|
+
const names = []
|
|
50
|
+
const braces = clause.match(/\{([\s\S]*)\}/)
|
|
51
|
+
if (braces) {
|
|
52
|
+
for (const part of braces[1].split(",")) {
|
|
53
|
+
const p = part.trim().replace(/^type\s+/, "")
|
|
54
|
+
if (!p || part.trim().startsWith("type ")) continue
|
|
55
|
+
const [imported, local] = p.split(/\s+as\s+/).map((s) => s.trim())
|
|
56
|
+
names.push({ imported, local: local ?? imported })
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
const def = clause.replace(/\{[\s\S]*\}/, "").replace(/\*\s+as\s+\w+/, "").replace(/,/g, "").trim()
|
|
60
|
+
if (def) names.push({ imported: "default", local: def })
|
|
61
|
+
found.push({ source: m[3], names, line })
|
|
62
|
+
}
|
|
63
|
+
return found
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/** Comments blanked out, line breaks kept, so an example in a comment is not read as a use. */
|
|
67
|
+
const withoutComments = (code) =>
|
|
68
|
+
code
|
|
69
|
+
.replace(/\/\*[\s\S]*?\*\//g, (c) => c.replace(/[^\n]/g, " "))
|
|
70
|
+
.replace(/(^|[^:"'`\\])\/\/.*$/gm, (c, before) => before + " ".repeat(c.length - before.length))
|
|
71
|
+
|
|
72
|
+
/** The issues of one source file. `meta` is the package's dist/meta.json. */
|
|
73
|
+
export function checkSource(source, meta) {
|
|
74
|
+
const code = withoutComments(source)
|
|
75
|
+
const inSet = new Set([...Object.keys(meta.icons.app), ...Object.keys(meta.icons.modules), ...Object.keys(meta.icons.ai)])
|
|
76
|
+
const issues = []
|
|
77
|
+
const add = (rule, severity, line, message) => issues.push({ rule, severity, line, message })
|
|
78
|
+
const lineOf = (index) => code.slice(0, index).split("\n").length
|
|
79
|
+
|
|
80
|
+
for (const imp of importsOf(code)) {
|
|
81
|
+
const fromF0 = F0.test(imp.source)
|
|
82
|
+
const fromOwn = OWN.test(imp.source)
|
|
83
|
+
const other = OTHERS.find((o) => o.test.test(imp.source))
|
|
84
|
+
|
|
85
|
+
if (fromOwn) add("bypass-f0", "warning", imp.line, `Imports from ${imp.source}: take the icon from @factorialco/f0-react/icons so it follows F0`)
|
|
86
|
+
|
|
87
|
+
const deep = imp.source.match(F0)?.[3]
|
|
88
|
+
for (const { imported: as, local } of imp.names) {
|
|
89
|
+
const imported = as === "default" && deep ? deep : as
|
|
90
|
+
if ((fromF0 || fromOwn) && meta.replaced[imported]) {
|
|
91
|
+
add("replaced", "error", imp.line, `${imported} was replaced: use ${meta.replaced[imported]}`)
|
|
92
|
+
}
|
|
93
|
+
if (other && imported !== "default") {
|
|
94
|
+
const name = other.name(imported)
|
|
95
|
+
if (inSet.has(name)) add("other-set", "error", imp.line, `${imported} comes from ${imp.source} and the set has ${name}: use the set's`)
|
|
96
|
+
else add("other-set", "warning", imp.line, `${imported} comes from ${imp.source}: check whether the set has an icon for it`)
|
|
97
|
+
}
|
|
98
|
+
if (fromF0 || fromOwn) {
|
|
99
|
+
// Rendered as its own tag: <Delete />, <Delete className=...>. Passing it in a prop (icon={Delete}) is fine.
|
|
100
|
+
const tag = new RegExp(`<${local}(?=[\\s/>])`, "g")
|
|
101
|
+
for (let m; (m = tag.exec(code)); ) {
|
|
102
|
+
add("direct", "error", lineOf(m.index), `<${local}> is rendered directly: pass it to F0Icon (icon={${local}}) so it gets F0's sizes and the icon set`)
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return issues.sort((a, b) => a.line - b.line)
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function* walk(path) {
|
|
111
|
+
const s = statSync(path)
|
|
112
|
+
if (s.isFile()) {
|
|
113
|
+
if (EXT.has(extname(path))) yield path
|
|
114
|
+
return
|
|
115
|
+
}
|
|
116
|
+
for (const entry of readdirSync(path, { withFileTypes: true })) {
|
|
117
|
+
if (entry.isDirectory() ? SKIP.has(entry.name) : !EXT.has(extname(entry.name))) continue
|
|
118
|
+
yield* walk(join(path, entry.name))
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
|
|
123
|
+
const args = process.argv.slice(2)
|
|
124
|
+
const targets = args.filter((a) => !a.startsWith("--"))
|
|
125
|
+
if (!targets.length) {
|
|
126
|
+
console.error("Usage: factorial-icons-check <folder or file>... [--json] [--no-warnings]")
|
|
127
|
+
process.exit(2)
|
|
128
|
+
}
|
|
129
|
+
const meta = loadMeta()
|
|
130
|
+
const quiet = args.includes("--no-warnings")
|
|
131
|
+
const results = []
|
|
132
|
+
let files = 0
|
|
133
|
+
for (const target of targets) {
|
|
134
|
+
for (const file of walk(resolve(target))) {
|
|
135
|
+
files++
|
|
136
|
+
const code = readFileSync(file, "utf8")
|
|
137
|
+
if (!code.includes("icons") && !code.includes("icon")) continue
|
|
138
|
+
const issues = checkSource(code, meta).filter((i) => !quiet || i.severity === "error")
|
|
139
|
+
if (issues.length) results.push({ file: relative(process.cwd(), file), issues })
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
const all = results.flatMap((r) => r.issues)
|
|
143
|
+
const errors = all.filter((i) => i.severity === "error").length
|
|
144
|
+
if (args.includes("--json")) console.log(JSON.stringify({ files, errors, warnings: all.length - errors, results }, null, 2))
|
|
145
|
+
else {
|
|
146
|
+
for (const r of results) for (const i of r.issues) console.log(`${r.file}:${i.line} ${i.severity} ${i.rule} ${i.message}`)
|
|
147
|
+
const tally = {}
|
|
148
|
+
for (const i of all) tally[`${i.severity} ${i.rule}`] = (tally[`${i.severity} ${i.rule}`] ?? 0) + 1
|
|
149
|
+
console.log(`\n${files} files, ${errors} errors, ${all.length - errors} warnings`, tally)
|
|
150
|
+
}
|
|
151
|
+
process.exit(errors ? 1 : 0)
|
|
152
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgCalendar = (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", fillRule: "evenodd", d: "M8 4L8 3C8 2.45 8.45 2 9 2C9.55 2 10 2.45 10 3L10 4L14 4L14 3C14 2.45 14.45 2 15 2C15.55 2 16 2.45 16 3L16 4Q16.76 4 17.47 4.28Q18.24 4.59 18.83 5.17Q19.41 5.76 19.72 6.53Q20 7.24 20 8L20 13.5C20 14.05 19.55 14.5 19 14.5C18.45 14.5 18 14.05 18 13.5L18 11L6 11L6 16Q6 16.38 6.14 16.74Q6.29 17.12 6.59 17.41Q6.88 17.71 7.26 17.86Q7.62 18 8 18L13.5 18C14.05 18 14.5 18.45 14.5 19C14.5 19.55 14.05 20 13.5 20L8 20Q7.24 20 6.53 19.72Q5.76 19.41 5.17 18.83Q4.59 18.24 4.28 17.47Q4 16.76 4 16L4 8Q4 7.24 4.28 6.53Q4.59 5.76 5.17 5.17Q5.76 4.59 6.53 4.28Q7.24 4 8 4ZM9 8C9.55 8 10 7.55 10 7L10 6L14 6L14 7C14 7.55 14.45 8 15 8C15.55 8 16 7.55 16 7L16 6Q16.38 6 16.74 6.14Q17.12 6.29 17.41 6.59Q17.71 6.88 17.86 7.26Q18 7.62 18 8L18 9L6 9L6 8Q6 7.62 6.14 7.26Q6.29 6.88 6.59 6.59Q6.88 6.29 7.26 6.14Q7.62 6 8 6L8 7C8 7.55 8.45 8 9 8ZM20.29 17.71L19.95 16.68C19.85 16.39 19.61 16.15 19.32 16.05C19.06 15.97 18.79 15.99 18.55 16.11C18.32 16.22 18.14 16.43 18.05 16.68L17.71 17.71L16.68 18.05C16.39 18.15 16.15 18.39 16.05 18.68C15.97 18.94 15.99 19.21 16.11 19.45C16.22 19.68 16.43 19.86 16.68 19.95L17.71 20.29L18.05 21.32C18.15 21.61 18.39 21.85 18.68 21.95C18.94 22.03 19.21 22.01 19.45 21.89C19.68 21.78 19.86 21.57 19.95 21.32L20.29 20.29L21.32 19.95C21.61 19.85 21.85 19.61 21.95 19.32C22.03 19.06 22.01 18.79 21.89 18.55C21.78 18.32 21.57 18.14 21.32 18.05L20.29 17.71Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgCalendar);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgChangeTone = (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", fillRule: "evenodd", d: "M20.88 7.5C20.88 6.95 20.43 6.5 19.88 6.5L4.13 6.5C3.58 6.5 3.13 6.95 3.13 7.5C3.13 8.05 3.58 8.5 4.13 8.5L19.88 8.5C20.43 8.5 20.88 8.05 20.88 7.5ZM20.88 12C20.88 11.45 20.43 11 19.88 11L4.13 11C3.58 11 3.13 11.45 3.13 12C3.13 12.55 3.58 13 4.13 13L19.88 13C20.43 13 20.88 12.55 20.88 12ZM19.54 16.84L19.14 15.63C19.04 15.33 18.81 15.09 18.51 14.99C18.26 14.91 17.98 14.93 17.75 15.04C17.51 15.16 17.33 15.37 17.24 15.62L16.83 16.84L15.62 17.24C15.33 17.34 15.09 17.58 14.99 17.87C14.91 18.13 14.93 18.4 15.05 18.64C15.16 18.87 15.37 19.05 15.62 19.14L16.83 19.54L17.24 20.76C17.34 21.06 17.58 21.29 17.88 21.39C18.13 21.47 18.4 21.45 18.64 21.33C18.88 21.21 19.06 21.01 19.14 20.75L19.54 19.54L20.75 19.14C21.05 19.04 21.29 18.8 21.39 18.5C21.56 17.98 21.28 17.41 20.75 17.24L19.54 16.84ZM11.88 16.5C11.88 15.95 11.43 15.5 10.88 15.5L4.13 15.5C3.58 15.5 3.13 15.95 3.13 16.5C3.13 17.05 3.58 17.5 4.13 17.5L10.88 17.5C11.43 17.5 11.88 17.05 11.88 16.5Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgChangeTone);
|
|
5
|
+
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,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgFileAi = (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", fillRule: "evenodd", d: "M6.92 21.66Q7.74 22 8.63 22L12 22C12.55 22 13 21.55 13 21C13 20.45 12.55 20 12 20L8.63 20Q8.14 20 7.7 19.81Q7.28 19.63 6.95 19.3Q6.62 18.97 6.44 18.55Q6.25 18.11 6.25 17.62L6.25 6.38Q6.25 5.89 6.44 5.45Q6.62 5.03 6.95 4.7Q7.28 4.37 7.7 4.19Q8.14 4 8.63 4L12.85 4Q13.32 4 13.76 4.18Q14.2 4.36 14.53 4.7L17.05 7.22Q17.39 7.55 17.57 7.99Q17.75 8.43 17.75 8.9L17.75 10.5C17.75 11.05 18.2 11.5 18.75 11.5C19.3 11.5 19.75 11.05 19.75 10.5L19.75 8.9Q19.75 8.03 19.41 7.22Q19.08 6.42 18.47 5.8L15.95 3.28Q15.33 2.67 14.53 2.34Q13.72 2 12.85 2L8.63 2Q7.74 2 6.92 2.34Q6.14 2.68 5.53 3.28Q4.93 3.89 4.59 4.67Q4.25 5.49 4.25 6.38L4.25 17.62Q4.25 18.51 4.59 19.33Q4.93 20.11 5.53 20.72Q6.14 21.32 6.92 21.66ZM19.35 16.65L18.95 15.44C18.85 15.14 18.61 14.9 18.31 14.8C17.79 14.63 17.22 14.91 17.05 15.44L16.65 16.65L15.44 17.05C15.14 17.15 14.9 17.39 14.8 17.69C14.63 18.21 14.91 18.78 15.44 18.95L16.65 19.35L17.05 20.56C17.15 20.86 17.39 21.1 17.69 21.2C18.21 21.37 18.78 21.09 18.95 20.56L19.35 19.35L20.56 18.95C20.86 18.85 21.1 18.61 21.2 18.31C21.37 17.79 21.09 17.22 20.56 17.05L19.35 16.65Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgFileAi);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgLightbulbAi = (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", fillRule: "evenodd", d: "M6.76 14.56L6.76 17.82Q6.76 18.67 7.09 19.45Q7.41 20.2 7.99 20.78Q8.57 21.35 9.32 21.67Q10.09 22 10.94 22L13.06 22Q13.91 22 14.68 21.67Q15.43 21.35 16.01 20.78Q16.59 20.2 16.91 19.45Q17.24 18.67 17.24 17.82L17.24 14.56Q17.24 14.55 17.25 14.53Q17.26 14.49 17.3 14.45Q17.78 13.96 18.16 13.38Q18.54 12.79 18.8 12.15Q19.07 11.49 19.21 10.79Q19.35 10.08 19.35 9.35Q19.35 8.6 19.2 7.87Q19.06 7.16 18.77 6.49Q18.49 5.83 18.1 5.24Q17.7 4.65 17.2 4.15Q16.7 3.65 16.11 3.25Q15.52 2.86 14.86 2.58Q14.19 2.29 13.48 2.15Q12.75 2 12 2Q11.25 2 10.52 2.15Q9.81 2.29 9.14 2.58Q8.48 2.86 7.89 3.25Q7.3 3.65 6.8 4.15Q6.3 4.65 5.9 5.24Q5.51 5.83 5.23 6.49Q4.94 7.16 4.8 7.87Q4.65 8.6 4.65 9.35Q4.65 10.08 4.79 10.79Q4.93 11.49 5.2 12.15Q5.46 12.79 5.84 13.38Q6.22 13.96 6.7 14.45Q6.74 14.49 6.75 14.53Q6.76 14.55 6.76 14.56ZM15.24 15.76L15.24 14.56Q15.24 14.13 15.41 13.73Q15.57 13.37 15.86 13.07Q16.57 12.33 16.95 11.39Q17.35 10.42 17.35 9.35Q17.35 8.26 16.93 7.27Q16.52 6.31 15.78 5.57Q15.04 4.83 14.08 4.42Q13.09 4 12 4Q10.91 4 9.92 4.42Q8.96 4.83 8.22 5.57Q7.48 6.31 7.07 7.27Q6.65 8.26 6.65 9.35Q6.65 10.42 7.05 11.39Q7.43 12.33 8.14 13.07Q8.43 13.37 8.59 13.73Q8.76 14.13 8.76 14.56L8.76 15.76L15.24 15.76ZM13.35 8.15L12.95 6.94C12.85 6.64 12.61 6.4 12.31 6.3C11.79 6.13 11.22 6.41 11.05 6.94L10.65 8.15L9.44 8.55C9.14 8.65 8.9 8.89 8.8 9.19C8.63 9.71 8.91 10.28 9.44 10.45L10.65 10.85L11.05 12.06C11.15 12.36 11.39 12.6 11.69 12.7C12.21 12.87 12.78 12.59 12.95 12.06L13.35 10.85L14.56 10.45C14.86 10.35 15.1 10.11 15.2 9.81C15.37 9.29 15.09 8.72 14.56 8.55L13.35 8.15ZM8.76 17.82Q8.76 18.26 8.93 18.67Q9.1 19.06 9.4 19.36Q9.7 19.66 10.09 19.83Q10.5 20 10.94 20L13.06 20Q13.5 20 13.91 19.83Q14.3 19.66 14.6 19.36Q14.9 19.06 15.07 18.67Q15.24 18.26 15.24 17.82L15.24 17.76L8.76 17.76L8.76 17.82Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgLightbulbAi);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgMessageAi = (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", fillRule: "evenodd", d: "M19.81 6.37Q20 6.81 20 7.29L20 11.5C20 12.05 20.45 12.5 21 12.5C21.55 12.5 22 12.05 22 11.5L22 7.29Q22 6.4 21.66 5.59Q21.32 4.8 20.72 4.2Q20.11 3.6 19.33 3.26Q18.51 2.92 17.62 2.92L6.21 2.92Q5.35 2.92 4.57 3.25Q3.82 3.57 3.23 4.15Q2.65 4.74 2.33 5.49Q2 6.27 2 7.13L2 14.19Q2 15.05 2.33 15.84Q2.66 16.59 3.24 17.18Q3.83 17.76 4.58 18.09Q5.1 18.3 5.64 18.38L6.06 19.63Q6.23 20.12 6.6 20.49Q6.96 20.83 7.44 20.98Q7.91 21.14 8.4 21.06Q8.92 20.98 9.35 20.66L12.3 18.45C12.51 18.29 12.65 18.05 12.69 17.79C12.73 17.53 12.66 17.26 12.5 17.05C12.17 16.61 11.54 16.52 11.1 16.85L8.15 19.06Q8.1 19.1 8.04 19.08Q7.98 19.06 7.96 18.99L7.37 17.24Q7.31 17.07 7.21 16.93Q7.1 16.76 6.94 16.65Q6.78 16.53 6.59 16.47Q6.41 16.42 6.23 16.42Q5.78 16.42 5.36 16.24Q4.96 16.08 4.65 15.77Q4.34 15.46 4.18 15.06Q4 14.64 4 14.19L4 7.13Q4 6.68 4.17 6.27Q4.34 5.88 4.65 5.57Q4.96 5.26 5.35 5.09Q5.76 4.92 6.21 4.92L17.62 4.92Q18.11 4.92 18.55 5.11Q18.98 5.29 19.3 5.62Q19.63 5.94 19.81 6.37ZM19.35 16.65L18.95 15.44C18.85 15.14 18.61 14.9 18.31 14.8C17.79 14.63 17.22 14.91 17.05 15.44L16.65 16.65L15.44 17.05C15.14 17.15 14.9 17.39 14.8 17.69C14.63 18.21 14.91 18.78 15.44 18.95L16.65 19.35L17.05 20.56C17.15 20.86 17.39 21.1 17.69 21.2C18.21 21.37 18.78 21.09 18.95 20.56L19.35 19.35L20.56 18.95C20.86 18.85 21.1 18.61 21.2 18.31C21.37 17.79 21.09 17.22 20.56 17.05L19.35 16.65Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgMessageAi);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgMicrophoneAi = (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", fillRule: "evenodd", d: "M6.11 4.42Q5.8 5.15 5.8 5.96L5.8 9.9Q5.8 10.7 6.11 11.43Q6.41 12.14 6.96 12.69Q7.5 13.23 8.21 13.53Q8.95 13.84 9.75 13.84Q10.55 13.84 11.29 13.53Q12 13.23 12.55 12.69Q13.09 12.14 13.4 11.44Q13.71 10.7 13.71 9.9L13.71 5.96Q13.71 5.15 13.4 4.42Q13.1 3.7 12.55 3.16Q12 2.61 11.29 2.31Q10.55 2 9.75 2Q8.95 2 8.21 2.31Q7.5 2.61 6.96 3.16Q6.41 3.71 6.11 4.42ZM7.95 10.65Q7.8 10.29 7.8 9.9L7.8 5.96Q7.8 5.56 7.95 5.19Q8.1 4.84 8.37 4.57Q8.64 4.3 8.99 4.15Q9.35 4 9.75 4Q10.15 4 10.51 4.15Q10.86 4.3 11.13 4.57Q11.41 4.84 11.56 5.2Q11.71 5.56 11.71 5.96L11.71 9.9Q11.71 10.29 11.56 10.65Q11.41 11 11.14 11.27Q10.86 11.54 10.51 11.69Q10.15 11.84 9.75 11.84Q9.35 11.84 8.99 11.69Q8.64 11.54 8.37 11.27Q8.1 11 7.95 10.65ZM16.66 9.9Q16.66 10.6 16.52 11.29Q16.38 11.96 16.12 12.58Q15.85 13.2 15.48 13.76Q15.11 14.31 14.63 14.78Q14.16 15.25 13.61 15.62Q13.06 15.99 12.44 16.26Q11.81 16.52 11.14 16.66Q10.95 16.7 10.75 16.73L10.75 17.75L11.72 17.75C12.27 17.75 12.72 18.2 12.72 18.75C12.72 19.3 12.27 19.75 11.72 19.75L7.78 19.75C7.23 19.75 6.78 19.3 6.78 18.75C6.78 18.2 7.23 17.75 7.78 17.75L8.75 17.75L8.75 16.73Q8.55 16.7 8.36 16.66Q7.69 16.52 7.06 16.26Q6.44 15.99 5.89 15.62Q5.34 15.25 4.87 14.78Q4.39 14.31 4.02 13.76Q3.65 13.2 3.38 12.58Q3.12 11.96 2.98 11.29Q2.84 10.6 2.84 9.9C2.84 9.63 2.95 9.38 3.13 9.19C3.32 9.01 3.57 8.9 3.84 8.9C4.39 8.9 4.84 9.35 4.84 9.9Q4.84 10.89 5.23 11.8Q5.6 12.68 6.28 13.36Q6.96 14.04 7.84 14.41Q8.75 14.8 9.75 14.8Q10.75 14.8 11.66 14.41Q12.54 14.04 13.22 13.36Q13.9 12.68 14.27 11.8Q14.66 10.89 14.66 9.9C14.66 9.35 15.11 8.9 15.66 8.9C16.21 8.9 16.66 9.35 16.66 9.9ZM19.35 16.65L18.95 15.44C18.85 15.14 18.61 14.9 18.31 14.8C17.79 14.63 17.22 14.91 17.05 15.44L16.65 16.65L15.44 17.05C15.14 17.15 14.9 17.39 14.8 17.69C14.63 18.21 14.91 18.78 15.44 18.95L16.65 19.35L17.05 20.56C17.15 20.86 17.39 21.1 17.69 21.2C18.21 21.37 18.78 21.09 18.95 20.56L19.35 19.35L20.56 18.95C20.86 18.85 21.1 18.61 21.2 18.31C21.37 17.79 21.09 17.22 20.56 17.05L19.35 16.65Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgMicrophoneAi);
|
|
5
|
+
export default ForwardRef;
|
package/dist/ai/One.d.ts
ADDED
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,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgReceiptAi = (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", fillRule: "evenodd", d: "M17.58 5.5Q17.75 5.93 17.75 6.38L17.75 12C17.75 12.55 18.2 13 18.75 13C19.3 13 19.75 12.55 19.75 12L19.75 6.38Q19.75 5.54 19.44 4.77Q19.11 3.92 18.47 3.28Q17.83 2.64 16.98 2.31Q16.21 2 15.37 2L8.63 2Q7.79 2 7.02 2.31Q6.17 2.64 5.53 3.28Q4.89 3.92 4.56 4.77Q4.25 5.54 4.25 6.38L4.25 19.65Q4.25 20.01 4.38 20.34Q4.5 20.64 4.72 20.89Q4.91 21.1 5.17 21.27Q5.39 21.42 5.66 21.52Q5.91 21.61 6.17 21.65Q6.45 21.7 6.71 21.68Q7.01 21.65 7.28 21.55Q7.6 21.43 7.84 21.21L8.84 20.26Q8.89 20.21 8.93 20.21Q8.98 20.21 9.03 20.27L9.7 21.05Q10 21.41 10.49 21.58Q10.88 21.72 11.32 21.72Q11.75 21.72 12.14 21.58Q12.63 21.41 12.94 21.04L13.33 20.57C13.5 20.36 13.58 20.1 13.56 19.84C13.53 19.57 13.4 19.33 13.2 19.16C12.77 18.81 12.14 18.87 11.79 19.29L11.45 19.71Q11.39 19.72 11.32 19.72Q11.24 19.72 11.18 19.71L10.53 18.95Q10.23 18.6 9.82 18.41Q9.43 18.23 9 18.21Q8.57 18.2 8.17 18.35Q7.76 18.51 7.46 18.81L6.54 19.68Q6.46 19.68 6.36 19.65Q6.31 19.63 6.27 19.6Q6.26 19.59 6.25 19.59L6.25 6.38Q6.25 5.93 6.42 5.5Q6.6 5.05 6.95 4.7Q7.3 4.35 7.75 4.17Q8.18 4 8.63 4L15.37 4Q15.82 4 16.25 4.17Q16.7 4.35 17.05 4.7Q17.4 5.05 17.58 5.5ZM16.37 7.5C16.37 6.95 15.92 6.5 15.37 6.5L8.63 6.5C8.08 6.5 7.63 6.95 7.63 7.5C7.63 8.05 8.08 8.5 8.63 8.5L15.37 8.5C15.92 8.5 16.37 8.05 16.37 7.5ZM14.12 12C14.12 11.45 13.67 11 13.12 11L8.63 11C8.08 11 7.63 11.45 7.63 12C7.63 12.55 8.08 13 8.63 13L13.12 13C13.67 13 14.12 12.55 14.12 12ZM20.1 16.84L19.7 15.63C19.6 15.33 19.36 15.09 19.06 14.99C18.54 14.82 17.97 15.1 17.8 15.63L17.4 16.84L16.19 17.24C15.89 17.34 15.65 17.58 15.55 17.88C15.38 18.4 15.66 18.97 16.19 19.14L17.4 19.54L17.8 20.75C17.9 21.05 18.14 21.29 18.44 21.39C18.96 21.56 19.53 21.28 19.7 20.75L20.1 19.54L21.31 19.14C21.61 19.04 21.85 18.8 21.95 18.5C22.12 17.98 21.84 17.41 21.31 17.24L20.1 16.84Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgReceiptAi);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgRewrite = (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", fillRule: "evenodd", d: "M7.73 4.46L7.33 3.25C7.23 2.95 7 2.71 6.7 2.61C6.18 2.44 5.61 2.72 5.43 3.24L5.02 4.46L3.81 4.86C3.51 4.96 3.27 5.2 3.17 5.5C3 6.02 3.28 6.59 3.81 6.76L5.02 7.16L5.43 8.38C5.53 8.68 5.77 8.91 6.07 9.01C6.59 9.18 7.16 8.9 7.33 8.37L7.73 7.16L8.94 6.76C9.24 6.66 9.48 6.42 9.58 6.12C9.75 5.6 9.47 5.03 8.94 4.86L7.73 4.46ZM15.4 3.66Q14.67 3.98 14.1 4.54L14.1 4.54L5.67 12.98L5.67 12.98C5.55 13.11 5.46 13.26 5.42 13.43L3.73 19.62C3.68 19.79 3.68 19.97 3.73 20.14C3.8 20.4 3.96 20.62 4.19 20.75C4.42 20.88 4.7 20.91 4.95 20.84L11.14 19.15C11.31 19.11 11.46 19.02 11.59 18.9L11.59 18.9L20.02 10.46Q20.58 9.89 20.9 9.16Q21.24 8.37 21.24 7.5Q21.24 6.63 20.9 5.84Q20.58 5.11 20.02 4.54Q19.45 3.98 18.72 3.66Q17.93 3.32 17.06 3.32Q16.19 3.32 15.4 3.66ZM10.88 16.78L18.6 9.04Q18.9 8.75 19.06 8.37Q19.24 7.95 19.24 7.5Q19.24 7.05 19.06 6.63Q18.9 6.25 18.6 5.96Q18.31 5.66 17.93 5.5Q17.51 5.32 17.06 5.32Q16.61 5.32 16.19 5.5Q15.81 5.66 15.52 5.96L15.52 5.96L7.79 13.69L10.88 16.78ZM6.89 15.62L6.12 18.45L8.95 17.68L6.89 15.62Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgRewrite);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgSearch = (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", fillRule: "evenodd", d: "M8.48 4.43Q9.64 4 10.88 4C11.14 4 11.4 3.89 11.59 3.71C11.77 3.52 11.88 3.27 11.88 3C11.88 2.45 11.43 2 10.88 2Q10.11 2 9.35 2.13Q8.54 2.27 7.78 2.56Q6.99 2.85 6.27 3.29Q5.53 3.74 4.9 4.32Q4.26 4.9 3.75 5.59Q3.25 6.27 2.88 7.03Q2.53 7.77 2.32 8.55Q2.11 9.3 2.04 10.07Q1.97 10.84 2.04 11.61Q2.11 12.42 2.32 13.2Q2.54 14.02 2.92 14.78Q3.29 15.55 3.81 16.23Q4.33 16.92 4.98 17.49Q5.61 18.05 6.33 18.49Q7.03 18.9 7.8 19.19Q8.52 19.46 9.28 19.6Q10.04 19.73 10.81 19.74Q11.63 19.75 12.43 19.6Q13.26 19.46 14.05 19.15Q14.85 18.85 15.58 18.39Q16.01 18.12 16.4 17.81L19.16 20.58C19.55 20.97 20.19 20.97 20.58 20.58C20.97 20.19 20.97 19.55 20.58 19.16L17.81 16.4Q17.94 16.24 18.05 16.08Q18.53 15.43 18.88 14.69Q19.22 13.99 19.42 13.25C19.57 12.72 19.26 12.16 18.73 12.02C18.47 11.95 18.2 11.98 17.97 12.11C17.74 12.24 17.57 12.46 17.5 12.71Q17.16 13.91 16.44 14.91Q16.05 15.44 15.57 15.88Q15.09 16.34 14.52 16.69Q13.96 17.05 13.34 17.29Q12.72 17.52 12.08 17.63Q10.86 17.85 9.64 17.63Q8.42 17.4 7.36 16.77Q6.8 16.43 6.31 16Q5.81 15.56 5.41 15.03Q5 14.49 4.71 13.9Q4.42 13.31 4.25 12.68Q3.92 11.48 4.04 10.25Q4.15 9.01 4.68 7.9Q4.97 7.31 5.36 6.78Q5.75 6.25 6.25 5.8Q6.74 5.35 7.31 5Q7.87 4.66 8.48 4.43ZM18.98 3.9L18.57 2.68C18.47 2.38 18.23 2.15 17.93 2.05C17.41 1.88 16.84 2.16 16.67 2.69L16.27 3.9L15.06 4.3C14.76 4.4 14.52 4.64 14.42 4.94C14.25 5.46 14.53 6.03 15.06 6.2L16.27 6.6L16.67 7.81C16.77 8.11 17 8.35 17.3 8.45C17.55 8.53 17.83 8.51 18.06 8.4C18.3 8.28 18.48 8.07 18.57 7.82L18.98 6.6L20.19 6.2C20.48 6.1 20.72 5.86 20.82 5.57C20.9 5.31 20.88 5.04 20.76 4.8C20.65 4.57 20.44 4.39 20.19 4.3L18.98 3.9Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgSearch);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgSummary = (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", fillRule: "evenodd", d: "M9.06 7.5C9.06 6.95 8.61 6.5 8.06 6.5L3.63 6.5C3.08 6.5 2.63 6.95 2.63 7.5C2.63 8.05 3.08 8.5 3.63 8.5L8.06 8.5C8.61 8.5 9.06 8.05 9.06 7.5ZM15.04 8.4L14.64 7.19C14.54 6.89 14.3 6.65 14 6.55C13.48 6.38 12.91 6.66 12.74 7.19L12.34 8.4L11.13 8.8C10.83 8.9 10.59 9.14 10.49 9.44C10.32 9.96 10.6 10.53 11.13 10.7L12.34 11.1L12.74 12.31C12.84 12.61 13.08 12.85 13.38 12.95C13.9 13.12 14.47 12.84 14.64 12.31L15.04 11.1L16.25 10.7C16.55 10.6 16.79 10.36 16.89 10.06C17.06 9.54 16.78 8.97 16.25 8.8L15.04 8.4ZM21.37 7.5C21.37 6.95 20.92 6.5 20.37 6.5L19.25 6.5C18.7 6.5 18.25 6.95 18.25 7.5C18.25 8.05 18.7 8.5 19.25 8.5L20.37 8.5C20.92 8.5 21.37 8.05 21.37 7.5ZM9.06 12C9.06 11.45 8.61 11 8.06 11L3.63 11C3.08 11 2.63 11.45 2.63 12C2.63 12.55 3.08 13 3.63 13L8.06 13C8.61 13 9.06 12.55 9.06 12ZM21.37 12C21.37 11.45 20.92 11 20.37 11L19.25 11C18.7 11 18.25 11.45 18.25 12C18.25 12.55 18.7 13 19.25 13L20.37 13C20.92 13 21.37 12.55 21.37 12ZM21.37 16.5C21.37 15.95 20.92 15.5 20.37 15.5L3.63 15.5C3.08 15.5 2.63 15.95 2.63 16.5C2.63 17.05 3.08 17.5 3.63 17.5L20.37 17.5C20.92 17.5 21.37 17.05 21.37 16.5Z", clipRule: "evenodd" }) });
|
|
4
|
+
const ForwardRef = forwardRef(SvgSummary);
|
|
5
|
+
export default ForwardRef;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SvgTranslate = (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", fillRule: "evenodd", d: "M12.35 21.46Q13.25 21.43 14.14 21.22C14.67 21.1 15.01 20.56 14.88 20.02C14.82 19.77 14.66 19.54 14.44 19.4C14.34 19.34 14.23 19.3 14.12 19.27Q14.13 19.25 14.14 19.24Q14.79 18.18 15.23 17.03Q15.7 15.84 15.93 14.58Q16.08 13.79 16.14 13L20.47 13C20.49 13 20.5 13 20.52 13C20.77 12.99 21 12.88 21.18 12.71C21.36 12.52 21.47 12.27 21.47 12L21.47 12Q21.47 11.09 21.3 10.21Q21.12 9.26 20.75 8.37Q20.36 7.44 19.79 6.61Q19.2 5.76 18.44 5.05Q17.68 4.35 16.79 3.83Q15.92 3.32 14.96 3Q14.04 2.7 13.08 2.59Q12.19 2.49 11.28 2.56Q10.38 2.62 9.51 2.86Q8.58 3.12 7.72 3.55Q6.82 4.01 6.03 4.64Q5.23 5.3 4.59 6.1Q3.94 6.91 3.49 7.84Q3.05 8.75 2.81 9.73Q2.57 10.67 2.54 11.63Q2.5 12.53 2.64 13.43Q2.78 14.32 3.08 15.17Q3.4 16.08 3.9 16.91Q4.43 17.77 5.12 18.5Q5.83 19.26 6.69 19.84Q7.54 20.42 8.5 20.8Q9.44 21.17 10.44 21.34Q11.18 21.46 11.94 21.47C11.98 21.47 12.02 21.47 12.06 21.47Q12.21 21.47 12.35 21.46ZM9.8 4.86Q9.19 5.87 8.77 6.97Q8.3 8.16 8.07 9.42Q7.92 10.21 7.86 11L4.6 11Q4.65 10.6 4.75 10.21Q4.94 9.44 5.29 8.72Q5.65 7.99 6.15 7.35Q6.66 6.71 7.29 6.2Q7.91 5.7 8.62 5.34Q9.19 5.05 9.8 4.86ZM14.2 4.86Q14.81 5.87 15.23 6.97Q15.7 8.16 15.93 9.42Q16.08 10.21 16.14 11L19.4 11Q19.38 10.79 19.34 10.59Q19.19 9.84 18.9 9.14Q18.59 8.4 18.14 7.75Q17.68 7.08 17.08 6.52Q16.48 5.97 15.78 5.55Q15.09 5.15 14.33 4.9Q14.27 4.88 14.2 4.86ZM9.87 11L14.13 11Q14.08 10.39 13.97 9.79Q13.77 8.72 13.37 7.7Q12.99 6.71 12.43 5.81Q12.23 5.47 12 5.15Q11.77 5.47 11.57 5.81Q11.01 6.71 10.63 7.7Q10.23 8.72 10.03 9.79Q9.92 10.39 9.87 11ZM4.6 13Q4.61 13.06 4.62 13.13Q4.72 13.83 4.96 14.5Q5.22 15.22 5.61 15.87Q6.03 16.55 6.57 17.13Q7.13 17.72 7.81 18.18Q8.48 18.64 9.24 18.94Q9.52 19.05 9.8 19.14Q9.19 18.13 8.77 17.03Q8.3 15.84 8.07 14.58Q7.92 13.79 7.86 13L4.6 13ZM12 18.85Q12.23 18.53 12.43 18.19Q12.99 17.29 13.37 16.3Q13.77 15.28 13.97 14.21Q14.08 13.61 14.13 13L9.87 13Q9.92 13.61 10.03 14.21Q10.23 15.28 10.63 16.3Q11.01 17.29 11.57 18.19Q11.77 18.53 12 18.85ZM20.2 16.5L19.83 15.39C19.73 15.09 19.5 14.86 19.2 14.76C18.67 14.59 18.11 14.87 17.93 15.39L17.56 16.5L16.44 16.87C16.15 16.97 15.91 17.21 15.81 17.5C15.73 17.76 15.75 18.03 15.87 18.27C15.98 18.5 16.19 18.68 16.44 18.77L17.56 19.14L17.93 20.26C18.03 20.55 18.27 20.79 18.56 20.89C18.82 20.97 19.09 20.95 19.33 20.83C19.56 20.72 19.74 20.51 19.83 20.26L20.2 19.14L21.32 18.77C21.61 18.67 21.85 18.43 21.95 18.14C22.03 17.88 22.01 17.61 21.89 17.37C21.78 17.14 21.57 16.96 21.32 16.87L20.2 16.5Z", clipRule: "evenodd" }) });
|
|
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";
|
package/dist/ai/index.js
ADDED
|
@@ -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
|
+
}
|