@modkit-org/aksel-icons-vue 1.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.
- package/.changeset/config.json +11 -0
- package/.changeset/quick-insects-smash.md +5 -0
- package/.gitattributes +1 -0
- package/.github/scripts/check-latest-release.mjs +72 -0
- package/.github/workflows/publish.yml +51 -0
- package/.github/workflows/schedule-update-icons.yml +58 -0
- package/.yarnrc.yml +1 -0
- package/package.json +30 -0
- package/src/generate.mjs +103 -0
- package/src/lib/cleanup.mjs +18 -0
- package/src/lib/config.mjs +105 -0
- package/src/lib/fs-utils.mjs +10 -0
- package/src/lib/icon-package.mjs +59 -0
- package/src/lib/identifier.mjs +23 -0
- package/src/lib/logger.mjs +77 -0
- package/src/lib/metadata.mjs +25 -0
- package/src/lib/path-utils.mjs +3 -0
- package/src/lib/paths.mjs +10 -0
- package/src/lib/svg-discovery.mjs +54 -0
- package/src/lib/vue-writer.mjs +189 -0
- package/src/metadata.json +4 -0
- package/src/types/Accessibility/BrailleFillIcon.vue +42 -0
- package/src/types/Accessibility/BrailleIcon.vue +42 -0
- package/src/types/Accessibility/DogHarnessFillIcon.vue +42 -0
- package/src/types/Accessibility/DogHarnessIcon.vue +42 -0
- package/src/types/Accessibility/EscalatorIcon.vue +42 -0
- package/src/types/Accessibility/FigureFillIcon.vue +42 -0
- package/src/types/Accessibility/FigureIcon.vue +42 -0
- package/src/types/Accessibility/GlassesFillIcon.vue +42 -0
- package/src/types/Accessibility/GlassesIcon.vue +42 -0
- package/src/types/Accessibility/HeadCloudFillIcon.vue +42 -0
- package/src/types/Accessibility/HeadCloudIcon.vue +42 -0
- package/src/types/Accessibility/HearingLoopFillIcon.vue +42 -0
- package/src/types/Accessibility/HearingLoopIcon.vue +42 -0
- package/src/types/Accessibility/HearingLoopRadioFillIcon.vue +42 -0
- package/src/types/Accessibility/HearingLoopRadioIcon.vue +42 -0
- package/src/types/Accessibility/SignLanguageSingleHandFillIcon.vue +42 -0
- package/src/types/Accessibility/SignLanguageSingleHandIcon.vue +42 -0
- package/src/types/Accessibility/SignLanguageTwoHandsFillIcon.vue +42 -0
- package/src/types/Accessibility/SignLanguageTwoHandsIcon.vue +42 -0
- package/src/types/Accessibility/StaircaseIcon.vue +42 -0
- package/src/types/Accessibility/WheelchairFillIcon.vue +42 -0
- package/src/types/Accessibility/WheelchairIcon.vue +42 -0
- package/src/types/Arrows/ArrowCirclepathIcon.vue +42 -0
- package/src/types/Arrows/ArrowCirclepathReverseIcon.vue +43 -0
- package/src/types/Arrows/ArrowDownIcon.vue +42 -0
- package/src/types/Arrows/ArrowDownRightIcon.vue +42 -0
- package/src/types/Arrows/ArrowForwardFillIcon.vue +42 -0
- package/src/types/Arrows/ArrowForwardIcon.vue +42 -0
- package/src/types/Arrows/ArrowLeftIcon.vue +42 -0
- package/src/types/Arrows/ArrowRedoIcon.vue +42 -0
- package/src/types/Arrows/ArrowRightIcon.vue +42 -0
- package/src/types/Arrows/ArrowRightLeftIcon.vue +42 -0
- package/src/types/Arrows/ArrowUndoIcon.vue +42 -0
- package/src/types/Arrows/ArrowUpIcon.vue +42 -0
- package/src/types/Arrows/ArrowsAllDirectionsIcon.vue +47 -0
- package/src/types/Arrows/ArrowsCirclepathIcon.vue +42 -0
- package/src/types/Arrows/ArrowsSquarepathIcon.vue +42 -0
- package/src/types/Arrows/ArrowsUpDownIcon.vue +42 -0
- package/src/types/Arrows/CaretDownCircleFillIcon.vue +42 -0
- package/src/types/Arrows/CaretDownCircleIcon.vue +42 -0
- package/src/types/Arrows/CaretDownFillIcon.vue +42 -0
- package/src/types/Arrows/CaretDownIcon.vue +42 -0
- package/src/types/Arrows/CaretLeftCircleFillIcon.vue +42 -0
- package/src/types/Arrows/CaretLeftCircleIcon.vue +42 -0
- package/src/types/Arrows/CaretLeftFillIcon.vue +42 -0
- package/src/types/Arrows/CaretLeftIcon.vue +42 -0
- package/src/types/Arrows/CaretLeftRightFillIcon.vue +42 -0
- package/src/types/Arrows/CaretLeftRightIcon.vue +42 -0
- package/src/types/Arrows/CaretRightCircleFillIcon.vue +42 -0
- package/src/types/Arrows/CaretRightCircleIcon.vue +42 -0
- package/src/types/Arrows/CaretRightFillIcon.vue +42 -0
- package/src/types/Arrows/CaretRightIcon.vue +42 -0
- package/src/types/Arrows/CaretUpCircleFillIcon.vue +42 -0
- package/src/types/Arrows/CaretUpCircleIcon.vue +42 -0
- package/src/types/Arrows/CaretUpDownFillIcon.vue +42 -0
- package/src/types/Arrows/CaretUpDownFilledDownIcon.vue +42 -0
- package/src/types/Arrows/CaretUpDownFilledUpIcon.vue +42 -0
- package/src/types/Arrows/CaretUpDownIcon.vue +42 -0
- package/src/types/Arrows/CaretUpFillIcon.vue +42 -0
- package/src/types/Arrows/CaretUpIcon.vue +42 -0
- package/src/types/Arrows/ChevronDownCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronDownCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronDownDoubleCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronDownDoubleCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronDownDoubleIcon.vue +42 -0
- package/src/types/Arrows/ChevronDownIcon.vue +42 -0
- package/src/types/Arrows/ChevronDownUpIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftDoubleCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftDoubleCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftDoubleIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftFirstCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftFirstCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftFirstIcon.vue +42 -0
- package/src/types/Arrows/ChevronLeftIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightDoubleCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightDoubleCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightDoubleIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightLastCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightLastCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronRightLastIcon.vue +42 -0
- package/src/types/Arrows/ChevronUpCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronUpCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronUpDoubleCircleFillIcon.vue +42 -0
- package/src/types/Arrows/ChevronUpDoubleCircleIcon.vue +42 -0
- package/src/types/Arrows/ChevronUpDoubleIcon.vue +42 -0
- package/src/types/Arrows/ChevronUpDownIcon.vue +42 -0
- package/src/types/Arrows/ChevronUpIcon.vue +42 -0
- package/src/types/Arrows/ExpandIcon.vue +42 -0
- package/src/types/Arrows/ExpandVerticalIcon.vue +42 -0
- package/src/types/Arrows/ShrinkIcon.vue +42 -0
- package/src/types/Development/BranchingIcon.vue +42 -0
- package/src/types/Development/BroadcastIcon.vue +42 -0
- package/src/types/Development/BroadcastMinusCircleFillIcon.vue +42 -0
- package/src/types/Development/BroadcastMinusCircleIcon.vue +42 -0
- package/src/types/Development/BroadcastPlusCircleFillIcon.vue +42 -0
- package/src/types/Development/BroadcastPlusCircleIcon.vue +42 -0
- package/src/types/Development/CloudFillIcon.vue +42 -0
- package/src/types/Development/CloudIcon.vue +42 -0
- package/src/types/Development/CloudSlashFillIcon.vue +42 -0
- package/src/types/Development/CloudSlashIcon.vue +42 -0
- package/src/types/Development/CodeIcon.vue +42 -0
- package/src/types/Development/ComponentFillIcon.vue +42 -0
- package/src/types/Development/ComponentIcon.vue +42 -0
- package/src/types/Development/DatabaseFillIcon.vue +42 -0
- package/src/types/Development/DatabaseIcon.vue +42 -0
- package/src/types/Development/EthernetIcon.vue +42 -0
- package/src/types/Development/MigrationIcon.vue +42 -0
- package/src/types/Development/OpenSourceFillIcon.vue +42 -0
- package/src/types/Development/OpenSourceIcon.vue +42 -0
- package/src/types/Development/PackageFillIcon.vue +42 -0
- package/src/types/Development/PackageIcon.vue +42 -0
- package/src/types/Development/PortalFillIcon.vue +42 -0
- package/src/types/Development/PortalIcon.vue +42 -0
- package/src/types/Development/QrCodeFillIcon.vue +42 -0
- package/src/types/Development/QrCodeIcon.vue +42 -0
- package/src/types/Development/QrCodeScanningFillIcon.vue +42 -0
- package/src/types/Development/QrCodeScanningIcon.vue +42 -0
- package/src/types/Development/RouterIcon.vue +42 -0
- package/src/types/Development/SandboxFillIcon.vue +42 -0
- package/src/types/Development/SandboxIcon.vue +42 -0
- package/src/types/Development/TenancyFillIcon.vue +42 -0
- package/src/types/Development/TenancyIcon.vue +42 -0
- package/src/types/Development/TerminalFillIcon.vue +42 -0
- package/src/types/Development/TerminalIcon.vue +42 -0
- package/src/types/Development/TokenFillIcon.vue +42 -0
- package/src/types/Development/TokenIcon.vue +42 -0
- package/src/types/FilesAndApplication/ClockDashedIcon.vue +42 -0
- package/src/types/FilesAndApplication/ClockFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/ClockIcon.vue +42 -0
- package/src/types/FilesAndApplication/CloudDownFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/CloudDownIcon.vue +42 -0
- package/src/types/FilesAndApplication/CloudUpFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/CloudUpIcon.vue +42 -0
- package/src/types/FilesAndApplication/DownloadIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileCheckmarkFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileCheckmarkIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileCodeFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileCodeIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileCsvFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileCsvIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileExcelFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileExcelIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileExportFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileExportIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileImageFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileImageIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileImportFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileImportIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileJpegFillIcon.vue +44 -0
- package/src/types/FilesAndApplication/FileJpegIcon.vue +43 -0
- package/src/types/FilesAndApplication/FileJsonFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileJsonIcon.vue +43 -0
- package/src/types/FilesAndApplication/FileLoadingFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileLoadingIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileParagraphFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileParagraphIcon.vue +42 -0
- package/src/types/FilesAndApplication/FilePdfFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FilePdfIcon.vue +44 -0
- package/src/types/FilesAndApplication/FilePlusFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FilePlusIcon.vue +42 -0
- package/src/types/FilesAndApplication/FilePngFillIcon.vue +45 -0
- package/src/types/FilesAndApplication/FilePngIcon.vue +43 -0
- package/src/types/FilesAndApplication/FileResetFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileResetIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileSearchFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileSearchIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileShredderFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileShredderIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileTextFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileTextIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileWordFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileWordIcon.vue +44 -0
- package/src/types/FilesAndApplication/FileXMarkFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FileXMarkIcon.vue +42 -0
- package/src/types/FilesAndApplication/FilesFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FilesIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderFileFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderFileIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderMinusFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderMinusIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderPlusFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/FolderPlusIcon.vue +42 -0
- package/src/types/FilesAndApplication/HddDownFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/HddDownIcon.vue +42 -0
- package/src/types/FilesAndApplication/HddUpFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/HddUpIcon.vue +42 -0
- package/src/types/FilesAndApplication/HourglassBottomFilledIcon.vue +42 -0
- package/src/types/FilesAndApplication/HourglassIcon.vue +42 -0
- package/src/types/FilesAndApplication/HourglassTopFilledIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistSaveFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistSaveIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistSendFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistSendIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistStartFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/TasklistStartIcon.vue +42 -0
- package/src/types/FilesAndApplication/TimerFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/TimerIcon.vue +42 -0
- package/src/types/FilesAndApplication/TimerPauseFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/TimerPauseIcon.vue +42 -0
- package/src/types/FilesAndApplication/TimerStartFillIcon.vue +42 -0
- package/src/types/FilesAndApplication/TimerStartIcon.vue +42 -0
- package/src/types/FilesAndApplication/UploadIcon.vue +42 -0
- package/src/types/Home/AngleRulerCircleFillIcon.vue +42 -0
- package/src/types/Home/AngleRulerCircleIcon.vue +42 -0
- package/src/types/Home/AngleRulerTriangleFillIcon.vue +42 -0
- package/src/types/Home/AngleRulerTriangleIcon.vue +42 -0
- package/src/types/Home/BedFillIcon.vue +42 -0
- package/src/types/Home/BedIcon.vue +42 -0
- package/src/types/Home/BookFillIcon.vue +42 -0
- package/src/types/Home/BookIcon.vue +43 -0
- package/src/types/Home/BooksFillIcon.vue +42 -0
- package/src/types/Home/BooksIcon.vue +43 -0
- package/src/types/Home/BowlFillIcon.vue +42 -0
- package/src/types/Home/BowlIcon.vue +42 -0
- package/src/types/Home/BucketFillIcon.vue +42 -0
- package/src/types/Home/BucketIcon.vue +42 -0
- package/src/types/Home/BucketMopFillIcon.vue +42 -0
- package/src/types/Home/BucketMopIcon.vue +42 -0
- package/src/types/Home/CalculatorFillIcon.vue +42 -0
- package/src/types/Home/CalculatorIcon.vue +42 -0
- package/src/types/Home/CalendarFillIcon.vue +42 -0
- package/src/types/Home/CalendarIcon.vue +42 -0
- package/src/types/Home/CandleFillIcon.vue +42 -0
- package/src/types/Home/CandleIcon.vue +42 -0
- package/src/types/Home/ChairTableIcon.vue +42 -0
- package/src/types/Home/ClothingHangerFillIcon.vue +42 -0
- package/src/types/Home/ClothingHangerIcon.vue +42 -0
- package/src/types/Home/Combifridge1FillIcon.vue +42 -0
- package/src/types/Home/Combifridge1Icon.vue +42 -0
- package/src/types/Home/Combifridge2FillIcon.vue +42 -0
- package/src/types/Home/Combifridge2Icon.vue +42 -0
- package/src/types/Home/CutleryFillIcon.vue +42 -0
- package/src/types/Home/CutleryIcon.vue +42 -0
- package/src/types/Home/DishwasherFillIcon.vue +42 -0
- package/src/types/Home/DishwasherIcon.vue +42 -0
- package/src/types/Home/ForkFillIcon.vue +42 -0
- package/src/types/Home/ForkIcon.vue +42 -0
- package/src/types/Home/FreezerFillIcon.vue +42 -0
- package/src/types/Home/FreezerIcon.vue +42 -0
- package/src/types/Home/GlassFillIcon.vue +42 -0
- package/src/types/Home/GlassIcon.vue +42 -0
- package/src/types/Home/HangerIcon.vue +42 -0
- package/src/types/Home/HatSchoolFillIcon.vue +42 -0
- package/src/types/Home/HatSchoolIcon.vue +42 -0
- package/src/types/Home/HouseFillIcon.vue +42 -0
- package/src/types/Home/HouseHeartFillIcon.vue +42 -0
- package/src/types/Home/HouseHeartIcon.vue +42 -0
- package/src/types/Home/HouseIcon.vue +42 -0
- package/src/types/Home/KnifeFillIcon.vue +42 -0
- package/src/types/Home/KnifeIcon.vue +42 -0
- package/src/types/Home/LightBulbFillIcon.vue +42 -0
- package/src/types/Home/LightBulbIcon.vue +42 -0
- package/src/types/Home/MeasuringTapeFillIcon.vue +42 -0
- package/src/types/Home/MeasuringTapeIcon.vue +42 -0
- package/src/types/Home/MugFillIcon.vue +42 -0
- package/src/types/Home/MugIcon.vue +42 -0
- package/src/types/Home/OpenBookFillIcon.vue +42 -0
- package/src/types/Home/OpenBookIcon.vue +42 -0
- package/src/types/Home/OpenMagazineFillIcon.vue +42 -0
- package/src/types/Home/OpenMagazineIcon.vue +42 -0
- package/src/types/Home/PaperclipIcon.vue +42 -0
- package/src/types/Home/PlateFillIcon.vue +42 -0
- package/src/types/Home/PlateIcon.vue +42 -0
- package/src/types/Home/PushPinFillIcon.vue +42 -0
- package/src/types/Home/PushPinIcon.vue +42 -0
- package/src/types/Home/PuzzlePieceFillIcon.vue +42 -0
- package/src/types/Home/PuzzlePieceIcon.vue +42 -0
- package/src/types/Home/RefrigeratorFillIcon.vue +42 -0
- package/src/types/Home/RefrigeratorIcon.vue +42 -0
- package/src/types/Home/RockingHorseFillIcon.vue +42 -0
- package/src/types/Home/RockingHorseIcon.vue +42 -0
- package/src/types/Home/RulerFillIcon.vue +42 -0
- package/src/types/Home/RulerIcon.vue +42 -0
- package/src/types/Home/RulersFillIcon.vue +42 -0
- package/src/types/Home/RulersIcon.vue +42 -0
- package/src/types/Home/ScissorsFillIcon.vue +42 -0
- package/src/types/Home/ScissorsIcon.vue +42 -0
- package/src/types/Home/SlideFillIcon.vue +42 -0
- package/src/types/Home/SlideIcon.vue +42 -0
- package/src/types/Home/SpoonFillIcon.vue +42 -0
- package/src/types/Home/SpoonIcon.vue +42 -0
- package/src/types/Home/TeddyBearFillIcon.vue +42 -0
- package/src/types/Home/TeddyBearIcon.vue +42 -0
- package/src/types/Home/ToiletFillIcon.vue +42 -0
- package/src/types/Home/ToiletIcon.vue +42 -0
- package/src/types/Home/UmbrellaFillIcon.vue +42 -0
- package/src/types/Home/UmbrellaIcon.vue +42 -0
- package/src/types/Home/WateringCanFillIcon.vue +42 -0
- package/src/types/Home/WateringCanIcon.vue +42 -0
- package/src/types/Home/WeightIcon.vue +42 -0
- package/src/types/Home/WrenchFillIcon.vue +42 -0
- package/src/types/Home/WrenchIcon.vue +42 -0
- package/src/types/Interface/AlignBottomFillIcon.vue +42 -0
- package/src/types/Interface/AlignBottomIcon.vue +42 -0
- package/src/types/Interface/AlignCenterFillIcon.vue +42 -0
- package/src/types/Interface/AlignCenterIcon.vue +42 -0
- package/src/types/Interface/AlignLeftFillIcon.vue +42 -0
- package/src/types/Interface/AlignLeftIcon.vue +42 -0
- package/src/types/Interface/AlignMiddleFillIcon.vue +42 -0
- package/src/types/Interface/AlignMiddleIcon.vue +42 -0
- package/src/types/Interface/AlignRightFillIcon.vue +42 -0
- package/src/types/Interface/AlignRightIcon.vue +42 -0
- package/src/types/Interface/AlignTopFillIcon.vue +42 -0
- package/src/types/Interface/AlignTopIcon.vue +42 -0
- package/src/types/Interface/ArchiveFillIcon.vue +42 -0
- package/src/types/Interface/ArchiveIcon.vue +42 -0
- package/src/types/Interface/BookmarkDashIcon.vue +42 -0
- package/src/types/Interface/BookmarkFillIcon.vue +42 -0
- package/src/types/Interface/BookmarkIcon.vue +42 -0
- package/src/types/Interface/CameraFillIcon.vue +42 -0
- package/src/types/Interface/CameraIcon.vue +42 -0
- package/src/types/Interface/Chat2FillIcon.vue +42 -0
- package/src/types/Interface/Chat2Icon.vue +42 -0
- package/src/types/Interface/ChatAddFillIcon.vue +42 -0
- package/src/types/Interface/ChatAddIcon.vue +43 -0
- package/src/types/Interface/ChatCheckmarkFillIcon.vue +42 -0
- package/src/types/Interface/ChatCheckmarkIcon.vue +42 -0
- package/src/types/Interface/ChatElipsisFillIcon.vue +42 -0
- package/src/types/Interface/ChatElipsisIcon.vue +42 -0
- package/src/types/Interface/ChatExclamationmarkFillIcon.vue +42 -0
- package/src/types/Interface/ChatExclamationmarkIcon.vue +42 -0
- package/src/types/Interface/ChatFillIcon.vue +42 -0
- package/src/types/Interface/ChatIcon.vue +42 -0
- package/src/types/Interface/CogFillIcon.vue +42 -0
- package/src/types/Interface/CogIcon.vue +42 -0
- package/src/types/Interface/CpuFillIcon.vue +42 -0
- package/src/types/Interface/CpuIcon.vue +42 -0
- package/src/types/Interface/Density1FillIcon.vue +42 -0
- package/src/types/Interface/Density1Icon.vue +42 -0
- package/src/types/Interface/Density2FillIcon.vue +42 -0
- package/src/types/Interface/Density2Icon.vue +42 -0
- package/src/types/Interface/Density3Icon.vue +42 -0
- package/src/types/Interface/DocPencilFillIcon.vue +42 -0
- package/src/types/Interface/DocPencilIcon.vue +42 -0
- package/src/types/Interface/DragHorizontalIcon.vue +42 -0
- package/src/types/Interface/DragVerticalIcon.vue +42 -0
- package/src/types/Interface/EnvelopeClosedFillIcon.vue +42 -0
- package/src/types/Interface/EnvelopeClosedIcon.vue +42 -0
- package/src/types/Interface/EnvelopeOpenFillIcon.vue +42 -0
- package/src/types/Interface/EnvelopeOpenIcon.vue +42 -0
- package/src/types/Interface/EraserFillIcon.vue +42 -0
- package/src/types/Interface/EraserIcon.vue +42 -0
- package/src/types/Interface/ExternalLinkFillIcon.vue +42 -0
- package/src/types/Interface/ExternalLinkIcon.vue +42 -0
- package/src/types/Interface/FaceCryFillIcon.vue +42 -0
- package/src/types/Interface/FaceCryIcon.vue +42 -0
- package/src/types/Interface/FaceFillIcon.vue +42 -0
- package/src/types/Interface/FaceFrownFillIcon.vue +42 -0
- package/src/types/Interface/FaceFrownIcon.vue +42 -0
- package/src/types/Interface/FaceIcon.vue +42 -0
- package/src/types/Interface/FaceLaughFillIcon.vue +42 -0
- package/src/types/Interface/FaceLaughIcon.vue +42 -0
- package/src/types/Interface/FaceSmileFillIcon.vue +42 -0
- package/src/types/Interface/FaceSmileIcon.vue +42 -0
- package/src/types/Interface/FilterIcon.vue +42 -0
- package/src/types/Interface/FloppydiskFillIcon.vue +42 -0
- package/src/types/Interface/FloppydiskIcon.vue +42 -0
- package/src/types/Interface/FunnelFillIcon.vue +42 -0
- package/src/types/Interface/FunnelIcon.vue +42 -0
- package/src/types/Interface/GlobeFillIcon.vue +42 -0
- package/src/types/Interface/GlobeIcon.vue +42 -0
- package/src/types/Interface/GlobeSlashFillIcon.vue +42 -0
- package/src/types/Interface/GlobeSlashIcon.vue +42 -0
- package/src/types/Interface/HeartBrokenFillIcon.vue +42 -0
- package/src/types/Interface/HeartBrokenIcon.vue +42 -0
- package/src/types/Interface/HeartFillIcon.vue +42 -0
- package/src/types/Interface/HeartIcon.vue +42 -0
- package/src/types/Interface/InboxDownFillIcon.vue +42 -0
- package/src/types/Interface/InboxDownIcon.vue +42 -0
- package/src/types/Interface/InboxFillIcon.vue +42 -0
- package/src/types/Interface/InboxIcon.vue +42 -0
- package/src/types/Interface/InboxUpFillIcon.vue +42 -0
- package/src/types/Interface/InboxUpIcon.vue +42 -0
- package/src/types/Interface/LanguageIcon.vue +42 -0
- package/src/types/Interface/LaptopFillIcon.vue +42 -0
- package/src/types/Interface/LaptopIcon.vue +42 -0
- package/src/types/Interface/LayerMinusFillIcon.vue +42 -0
- package/src/types/Interface/LayerMinusIcon.vue +42 -0
- package/src/types/Interface/LayersFillIcon.vue +42 -0
- package/src/types/Interface/LayersIcon.vue +42 -0
- package/src/types/Interface/LayersPlusFillIcon.vue +42 -0
- package/src/types/Interface/LayersPlusIcon.vue +42 -0
- package/src/types/Interface/LineHeightIcon.vue +42 -0
- package/src/types/Interface/LinkBrokenIcon.vue +42 -0
- package/src/types/Interface/LinkIcon.vue +42 -0
- package/src/types/Interface/MagnifyingGlassCheckmarkFillIcon.vue +42 -0
- package/src/types/Interface/MagnifyingGlassCheckmarkIcon.vue +42 -0
- package/src/types/Interface/MagnifyingGlassFillIcon.vue +42 -0
- package/src/types/Interface/MagnifyingGlassIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisHorizontalCircleFillIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisHorizontalCircleIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisHorizontalIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisHorizontalSquareFillIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisHorizontalSquareIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisVerticalCircleFillIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisVerticalCircleIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisVerticalIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisVerticalSquareFillIcon.vue +42 -0
- package/src/types/Interface/MenuElipsisVerticalSquareIcon.vue +42 -0
- package/src/types/Interface/MenuGridIcon.vue +42 -0
- package/src/types/Interface/MenuHamburgerIcon.vue +42 -0
- package/src/types/Interface/MobileFillIcon.vue +42 -0
- package/src/types/Interface/MobileIcon.vue +42 -0
- package/src/types/Interface/MobileSmallFillIcon.vue +42 -0
- package/src/types/Interface/MobileSmallIcon.vue +42 -0
- package/src/types/Interface/MonitorFillIcon.vue +42 -0
- package/src/types/Interface/MonitorIcon.vue +42 -0
- package/src/types/Interface/NotePencilDashIcon.vue +42 -0
- package/src/types/Interface/NotePencilFillIcon.vue +42 -0
- package/src/types/Interface/NotePencilIcon.vue +42 -0
- package/src/types/Interface/PageBreakFillIcon.vue +47 -0
- package/src/types/Interface/PageBreakIcon.vue +47 -0
- package/src/types/Interface/PaletteFillIcon.vue +42 -0
- package/src/types/Interface/PaletteIcon.vue +42 -0
- package/src/types/Interface/PaperplaneFillIcon.vue +42 -0
- package/src/types/Interface/PaperplaneIcon.vue +42 -0
- package/src/types/Interface/PencilBoardFillIcon.vue +42 -0
- package/src/types/Interface/PencilBoardIcon.vue +42 -0
- package/src/types/Interface/PencilFillIcon.vue +42 -0
- package/src/types/Interface/PencilIcon.vue +42 -0
- package/src/types/Interface/PencilLineFillIcon.vue +42 -0
- package/src/types/Interface/PencilLineIcon.vue +42 -0
- package/src/types/Interface/PencilWritingFillIcon.vue +42 -0
- package/src/types/Interface/PencilWritingIcon.vue +42 -0
- package/src/types/Interface/PersonChatFillIcon.vue +42 -0
- package/src/types/Interface/PersonChatIcon.vue +42 -0
- package/src/types/Interface/PhoneFillIcon.vue +42 -0
- package/src/types/Interface/PhoneIcon.vue +42 -0
- package/src/types/Interface/PhoneSlashFillIcon.vue +42 -0
- package/src/types/Interface/PhoneSlashIcon.vue +42 -0
- package/src/types/Interface/PrinterLargeFillIcon.vue +42 -0
- package/src/types/Interface/PrinterLargeIcon.vue +42 -0
- package/src/types/Interface/PrinterSmallFillIcon.vue +42 -0
- package/src/types/Interface/PrinterSmallIcon.vue +42 -0
- package/src/types/Interface/RectangleSectionsFillIcon.vue +42 -0
- package/src/types/Interface/RectangleSectionsIcon.vue +42 -0
- package/src/types/Interface/RotateLeftFillIcon.vue +42 -0
- package/src/types/Interface/RotateLeftIcon.vue +42 -0
- package/src/types/Interface/RotateRightFillIcon.vue +42 -0
- package/src/types/Interface/RotateRightIcon.vue +42 -0
- package/src/types/Interface/SidebarBothFillIcon.vue +42 -0
- package/src/types/Interface/SidebarBothIcon.vue +42 -0
- package/src/types/Interface/SidebarLeftFillIcon.vue +42 -0
- package/src/types/Interface/SidebarLeftIcon.vue +42 -0
- package/src/types/Interface/SidebarRightFillIcon.vue +42 -0
- package/src/types/Interface/SidebarRightIcon.vue +42 -0
- package/src/types/Interface/SortDownIcon.vue +42 -0
- package/src/types/Interface/SortUpIcon.vue +42 -0
- package/src/types/Interface/SpaceHorizontalIcon.vue +42 -0
- package/src/types/Interface/SpaceVerticalIcon.vue +42 -0
- package/src/types/Interface/SplitHorizontalFillIcon.vue +47 -0
- package/src/types/Interface/SplitHorizontalIcon.vue +47 -0
- package/src/types/Interface/SplitVerticalFillIcon.vue +47 -0
- package/src/types/Interface/SplitVerticalIcon.vue +47 -0
- package/src/types/Interface/SquareGridFillIcon.vue +42 -0
- package/src/types/Interface/SquareGridIcon.vue +42 -0
- package/src/types/Interface/TabletFillIcon.vue +42 -0
- package/src/types/Interface/TabletIcon.vue +42 -0
- package/src/types/Interface/TabsAddFillIcon.vue +42 -0
- package/src/types/Interface/TabsAddIcon.vue +42 -0
- package/src/types/Interface/TabsFillIcon.vue +42 -0
- package/src/types/Interface/TabsIcon.vue +42 -0
- package/src/types/Interface/TabsRemoveFillIcon.vue +42 -0
- package/src/types/Interface/TabsRemoveIcon.vue +42 -0
- package/src/types/Interface/TagFillIcon.vue +42 -0
- package/src/types/Interface/TagIcon.vue +42 -0
- package/src/types/Interface/ThemeIcon.vue +42 -0
- package/src/types/Interface/ThumbDownFillIcon.vue +42 -0
- package/src/types/Interface/ThumbDownIcon.vue +42 -0
- package/src/types/Interface/ThumbUpFillIcon.vue +42 -0
- package/src/types/Interface/ThumbUpIcon.vue +42 -0
- package/src/types/Interface/TrashFillIcon.vue +42 -0
- package/src/types/Interface/TrashIcon.vue +42 -0
- package/src/types/Interface/ZoomMinusFillIcon.vue +42 -0
- package/src/types/Interface/ZoomMinusIcon.vue +42 -0
- package/src/types/Interface/ZoomPlusFillIcon.vue +42 -0
- package/src/types/Interface/ZoomPlusIcon.vue +42 -0
- package/src/types/LawAndSecurity/BagdeFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/BagdeIcon.vue +42 -0
- package/src/types/LawAndSecurity/EnterIcon.vue +42 -0
- package/src/types/LawAndSecurity/GavelFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/GavelIcon.vue +42 -0
- package/src/types/LawAndSecurity/GavelSoundBlockFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/GavelSoundBlockIcon.vue +42 -0
- package/src/types/LawAndSecurity/KeyHorizontalFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/KeyHorizontalIcon.vue +42 -0
- package/src/types/LawAndSecurity/KeyVerticalFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/KeyVerticalIcon.vue +42 -0
- package/src/types/LawAndSecurity/LeaveIcon.vue +42 -0
- package/src/types/LawAndSecurity/Over18FillIcon.vue +42 -0
- package/src/types/LawAndSecurity/Over18Icon.vue +42 -0
- package/src/types/LawAndSecurity/PadlockLockedFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/PadlockLockedIcon.vue +42 -0
- package/src/types/LawAndSecurity/PadlockUnlockedFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/PadlockUnlockedIcon.vue +42 -0
- package/src/types/LawAndSecurity/ParagraphIcon.vue +42 -0
- package/src/types/LawAndSecurity/PassportFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/PassportIcon.vue +42 -0
- package/src/types/LawAndSecurity/PasswordHiddenIcon.vue +42 -0
- package/src/types/LawAndSecurity/PinFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/PinIcon.vue +42 -0
- package/src/types/LawAndSecurity/SealCheckmarkFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/SealCheckmarkIcon.vue +42 -0
- package/src/types/LawAndSecurity/SealFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/SealIcon.vue +42 -0
- package/src/types/LawAndSecurity/SealXMarkFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/SealXMarkIcon.vue +42 -0
- package/src/types/LawAndSecurity/ShieldCheckmarkFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/ShieldCheckmarkIcon.vue +42 -0
- package/src/types/LawAndSecurity/ShieldFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/ShieldIcon.vue +42 -0
- package/src/types/LawAndSecurity/ShieldLockFillIcon.vue +42 -0
- package/src/types/LawAndSecurity/ShieldLockIcon.vue +42 -0
- package/src/types/LawAndSecurity/StarsEuIcon.vue +42 -0
- package/src/types/Media/BackwardFillIcon.vue +42 -0
- package/src/types/Media/BackwardIcon.vue +42 -0
- package/src/types/Media/CaptionsFillIcon.vue +42 -0
- package/src/types/Media/CaptionsIcon.vue +42 -0
- package/src/types/Media/ForwardFillIcon.vue +42 -0
- package/src/types/Media/ForwardIcon.vue +42 -0
- package/src/types/Media/ImageFillIcon.vue +42 -0
- package/src/types/Media/ImageIcon.vue +42 -0
- package/src/types/Media/MegaphoneFillIcon.vue +42 -0
- package/src/types/Media/MegaphoneIcon.vue +42 -0
- package/src/types/Media/MegaphoneSpeakingFillIcon.vue +42 -0
- package/src/types/Media/MegaphoneSpeakingIcon.vue +42 -0
- package/src/types/Media/MicrophoneFillIcon.vue +42 -0
- package/src/types/Media/MicrophoneIcon.vue +42 -0
- package/src/types/Media/MicrophoneSlashFillIcon.vue +42 -0
- package/src/types/Media/MicrophoneSlashIcon.vue +42 -0
- package/src/types/Media/NewspaperFillIcon.vue +42 -0
- package/src/types/Media/NewspaperIcon.vue +42 -0
- package/src/types/Media/PauseFillIcon.vue +42 -0
- package/src/types/Media/PauseIcon.vue +42 -0
- package/src/types/Media/PlayFillIcon.vue +42 -0
- package/src/types/Media/PlayIcon.vue +42 -0
- package/src/types/Media/PresentationFillIcon.vue +42 -0
- package/src/types/Media/PresentationIcon.vue +42 -0
- package/src/types/Media/RecordFillIcon.vue +42 -0
- package/src/types/Media/RecordIcon.vue +42 -0
- package/src/types/Media/SkipBackwardFillIcon.vue +42 -0
- package/src/types/Media/SkipBackwardIcon.vue +42 -0
- package/src/types/Media/SkipForwardFillIcon.vue +42 -0
- package/src/types/Media/SkipForwardIcon.vue +42 -0
- package/src/types/Media/SpeakerFillIcon.vue +42 -0
- package/src/types/Media/SpeakerIcon.vue +42 -0
- package/src/types/Media/SpeakerSlashFillIcon.vue +42 -0
- package/src/types/Media/SpeakerSlashIcon.vue +42 -0
- package/src/types/Media/SpeakerSoundWave1FillIcon.vue +42 -0
- package/src/types/Media/SpeakerSoundWave1Icon.vue +42 -0
- package/src/types/Media/SpeakerSoundWave2FillIcon.vue +42 -0
- package/src/types/Media/SpeakerSoundWave2Icon.vue +42 -0
- package/src/types/Media/SpeakerSoundWave3FillIcon.vue +42 -0
- package/src/types/Media/SpeakerSoundWave3Icon.vue +42 -0
- package/src/types/Media/StopFillIcon.vue +42 -0
- package/src/types/Media/StopIcon.vue +42 -0
- package/src/types/Media/VideoFillIcon.vue +42 -0
- package/src/types/Media/VideoIcon.vue +42 -0
- package/src/types/Media/VideoSlashFillIcon.vue +42 -0
- package/src/types/Media/VideoSlashIcon.vue +42 -0
- package/src/types/Media/VideoplayerFillIcon.vue +42 -0
- package/src/types/Media/VideoplayerIcon.vue +42 -0
- package/src/types/Media/WaveformIcon.vue +42 -0
- package/src/types/Money/BankNoteFillIcon.vue +42 -0
- package/src/types/Money/BankNoteIcon.vue +42 -0
- package/src/types/Money/CardFillIcon.vue +42 -0
- package/src/types/Money/CardIcon.vue +42 -0
- package/src/types/Money/CurrencyExchangeIcon.vue +42 -0
- package/src/types/Money/FlowerPensionFillIcon.vue +42 -0
- package/src/types/Money/FlowerPensionIcon.vue +42 -0
- package/src/types/Money/KronerIcon.vue +42 -0
- package/src/types/Money/NokIcon.vue +42 -0
- package/src/types/Money/PiggybankFillIcon.vue +42 -0
- package/src/types/Money/PiggybankIcon.vue +42 -0
- package/src/types/Money/ReceiptFillIcon.vue +42 -0
- package/src/types/Money/ReceiptIcon.vue +42 -0
- package/src/types/Money/SackKronerFillIcon.vue +42 -0
- package/src/types/Money/SackKronerIcon.vue +42 -0
- package/src/types/Money/SackPensionFillIcon.vue +42 -0
- package/src/types/Money/SackPensionIcon.vue +42 -0
- package/src/types/Money/ShoppingBasketFillIcon.vue +42 -0
- package/src/types/Money/ShoppingBasketIcon.vue +42 -0
- package/src/types/Money/WalletFillIcon.vue +42 -0
- package/src/types/Money/WalletIcon.vue +42 -0
- package/src/types/NatureAndAnimals/AllergensFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/AllergensIcon.vue +42 -0
- package/src/types/NatureAndAnimals/BacteriaFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/BacteriaIcon.vue +42 -0
- package/src/types/NatureAndAnimals/BugFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/BugIcon.vue +42 -0
- package/src/types/NatureAndAnimals/DogFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/DogIcon.vue +42 -0
- package/src/types/NatureAndAnimals/EarthFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/EarthIcon.vue +42 -0
- package/src/types/NatureAndAnimals/FlowerFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/FlowerIcon.vue +42 -0
- package/src/types/NatureAndAnimals/FlowerPetalFallingFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/FlowerPetalFallingIcon.vue +42 -0
- package/src/types/NatureAndAnimals/FlowerPetalsFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/FlowerPetalsIcon.vue +42 -0
- package/src/types/NatureAndAnimals/HexagonGridFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/HexagonGridIcon.vue +42 -0
- package/src/types/NatureAndAnimals/LightningFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/LightningIcon.vue +42 -0
- package/src/types/NatureAndAnimals/MicrobeFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/MicrobeIcon.vue +42 -0
- package/src/types/NatureAndAnimals/MoonFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/MoonIcon.vue +42 -0
- package/src/types/NatureAndAnimals/MountainFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/MountainIcon.vue +42 -0
- package/src/types/NatureAndAnimals/ParasolBeachFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/ParasolBeachIcon.vue +42 -0
- package/src/types/NatureAndAnimals/PlantFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/PlantIcon.vue +42 -0
- package/src/types/NatureAndAnimals/RaindropFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/RaindropIcon.vue +42 -0
- package/src/types/NatureAndAnimals/SnowIcon.vue +42 -0
- package/src/types/NatureAndAnimals/SparkLargeIcon.vue +42 -0
- package/src/types/NatureAndAnimals/SparkSmallIcon.vue +42 -0
- package/src/types/NatureAndAnimals/SparklesFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/SparklesIcon.vue +42 -0
- package/src/types/NatureAndAnimals/StarFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/StarIcon.vue +42 -0
- package/src/types/NatureAndAnimals/SunFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/SunIcon.vue +42 -0
- package/src/types/NatureAndAnimals/ThermometerFillIcon.vue +42 -0
- package/src/types/NatureAndAnimals/ThermometerIcon.vue +42 -0
- package/src/types/NatureAndAnimals/WavesIcon.vue +42 -0
- package/src/types/People/BabyWrappedFillIcon.vue +42 -0
- package/src/types/People/BabyWrappedIcon.vue +42 -0
- package/src/types/People/BoneFillIcon.vue +42 -0
- package/src/types/People/BoneIcon.vue +42 -0
- package/src/types/People/ChildEyesFillIcon.vue +42 -0
- package/src/types/People/ChildEyesIcon.vue +42 -0
- package/src/types/People/ChildHairEyesFillIcon.vue +42 -0
- package/src/types/People/ChildHairEyesIcon.vue +42 -0
- package/src/types/People/EarFillIcon.vue +42 -0
- package/src/types/People/EarIcon.vue +42 -0
- package/src/types/People/EarSlashFillIcon.vue +42 -0
- package/src/types/People/EarSlashIcon.vue +42 -0
- package/src/types/People/EarSoundwavesFillIcon.vue +42 -0
- package/src/types/People/EarSoundwavesIcon.vue +42 -0
- package/src/types/People/EyeClosedIcon.vue +42 -0
- package/src/types/People/EyeFillIcon.vue +42 -0
- package/src/types/People/EyeIcon.vue +42 -0
- package/src/types/People/EyeObfuscatedFillIcon.vue +42 -0
- package/src/types/People/EyeObfuscatedIcon.vue +42 -0
- package/src/types/People/EyeSlashFillIcon.vue +42 -0
- package/src/types/People/EyeSlashIcon.vue +42 -0
- package/src/types/People/EyeWithPupilFillIcon.vue +42 -0
- package/src/types/People/EyeWithPupilIcon.vue +42 -0
- package/src/types/People/FigureChildFillIcon.vue +42 -0
- package/src/types/People/FigureChildIcon.vue +42 -0
- package/src/types/People/FigureCombinationFillIcon.vue +42 -0
- package/src/types/People/FigureCombinationIcon.vue +42 -0
- package/src/types/People/FigureInwardFillIcon.vue +42 -0
- package/src/types/People/FigureInwardIcon.vue +42 -0
- package/src/types/People/FigureOutwardFillIcon.vue +42 -0
- package/src/types/People/FigureOutwardIcon.vue +42 -0
- package/src/types/People/FingerButtonFillIcon.vue +42 -0
- package/src/types/People/FingerButtonIcon.vue +42 -0
- package/src/types/People/FingerMobileFillIcon.vue +42 -0
- package/src/types/People/FingerMobileIcon.vue +42 -0
- package/src/types/People/HandFingerFillIcon.vue +42 -0
- package/src/types/People/HandFingerIcon.vue +42 -0
- package/src/types/People/HandHeartFillIcon.vue +42 -0
- package/src/types/People/HandHeartIcon.vue +42 -0
- package/src/types/People/HandKnotFilledIcon.vue +42 -0
- package/src/types/People/HandKnotIcon.vue +42 -0
- package/src/types/People/HandShakeHeartFillIcon.vue +42 -0
- package/src/types/People/HandShakeHeartIcon.vue +42 -0
- package/src/types/People/HandshakeFillIcon.vue +42 -0
- package/src/types/People/HandshakeIcon.vue +42 -0
- package/src/types/People/HeadFillIcon.vue +42 -0
- package/src/types/People/HeadIcon.vue +42 -0
- package/src/types/People/PersonCheckmarkFillIcon.vue +42 -0
- package/src/types/People/PersonCheckmarkIcon.vue +42 -0
- package/src/types/People/PersonCircleFillIcon.vue +42 -0
- package/src/types/People/PersonCircleIcon.vue +42 -0
- package/src/types/People/PersonCrossFillIcon.vue +42 -0
- package/src/types/People/PersonCrossIcon.vue +42 -0
- package/src/types/People/PersonEnvelopeFillIcon.vue +42 -0
- package/src/types/People/PersonEnvelopeIcon.vue +42 -0
- package/src/types/People/PersonFillIcon.vue +42 -0
- package/src/types/People/PersonGavelFillIcon.vue +42 -0
- package/src/types/People/PersonGavelIcon.vue +42 -0
- package/src/types/People/PersonGroupFillIcon.vue +42 -0
- package/src/types/People/PersonGroupIcon.vue +42 -0
- package/src/types/People/PersonHeadsetFillIcon.vue +42 -0
- package/src/types/People/PersonHeadsetIcon.vue +42 -0
- package/src/types/People/PersonIcon.vue +42 -0
- package/src/types/People/PersonMinusFillIcon.vue +42 -0
- package/src/types/People/PersonMinusIcon.vue +42 -0
- package/src/types/People/PersonPencilFillIcon.vue +42 -0
- package/src/types/People/PersonPencilIcon.vue +42 -0
- package/src/types/People/PersonPlusFillIcon.vue +42 -0
- package/src/types/People/PersonPlusIcon.vue +42 -0
- package/src/types/People/PersonPregnantFillIcon.vue +42 -0
- package/src/types/People/PersonPregnantIcon.vue +42 -0
- package/src/types/People/PersonRectangleFillIcon.vue +42 -0
- package/src/types/People/PersonRectangleIcon.vue +42 -0
- package/src/types/People/PersonSuitFillIcon.vue +42 -0
- package/src/types/People/PersonSuitIcon.vue +42 -0
- package/src/types/People/PersonTallShortFillIcon.vue +42 -0
- package/src/types/People/PersonTallShortIcon.vue +42 -0
- package/src/types/People/SilhouetteFillIcon.vue +42 -0
- package/src/types/People/SilhouetteIcon.vue +42 -0
- package/src/types/People/ToothFillIcon.vue +42 -0
- package/src/types/People/ToothIcon.vue +42 -0
- package/src/types/StatisticsAndMath/AngleIcon.vue +42 -0
- package/src/types/StatisticsAndMath/AreaChartFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/AreaChartIcon.vue +43 -0
- package/src/types/StatisticsAndMath/BarChartFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/BarChartIcon.vue +42 -0
- package/src/types/StatisticsAndMath/BubbleChartFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/BubbleChartIcon.vue +42 -0
- package/src/types/StatisticsAndMath/BulletListIcon.vue +42 -0
- package/src/types/StatisticsAndMath/DivideIcon.vue +42 -0
- package/src/types/StatisticsAndMath/DonutChartFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/DonutChartIcon.vue +42 -0
- package/src/types/StatisticsAndMath/EqualsIcon.vue +42 -0
- package/src/types/StatisticsAndMath/HashtagIcon.vue +42 -0
- package/src/types/StatisticsAndMath/LineGraphDotIcon.vue +42 -0
- package/src/types/StatisticsAndMath/LineGraphIcon.vue +42 -0
- package/src/types/StatisticsAndMath/LineGraphStackedIcon.vue +42 -0
- package/src/types/StatisticsAndMath/MinusCircleFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/MinusCircleIcon.vue +42 -0
- package/src/types/StatisticsAndMath/MinusIcon.vue +42 -0
- package/src/types/StatisticsAndMath/MultiplyIcon.vue +42 -0
- package/src/types/StatisticsAndMath/NumberListIcon.vue +42 -0
- package/src/types/StatisticsAndMath/PercentIcon.vue +42 -0
- package/src/types/StatisticsAndMath/PieChartFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/PieChartIcon.vue +42 -0
- package/src/types/StatisticsAndMath/PlusCircleFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/PlusCircleIcon.vue +42 -0
- package/src/types/StatisticsAndMath/PlusIcon.vue +42 -0
- package/src/types/StatisticsAndMath/PlusMinusSlashIcon.vue +42 -0
- package/src/types/StatisticsAndMath/SectorChartFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/SectorChartIcon.vue +42 -0
- package/src/types/StatisticsAndMath/SquarerootIcon.vue +42 -0
- package/src/types/StatisticsAndMath/TableFillIcon.vue +42 -0
- package/src/types/StatisticsAndMath/TableIcon.vue +42 -0
- package/src/types/StatisticsAndMath/TrendDownIcon.vue +42 -0
- package/src/types/StatisticsAndMath/TrendFlatIcon.vue +42 -0
- package/src/types/StatisticsAndMath/TrendUpIcon.vue +42 -0
- package/src/types/Status/BellDotFillIcon.vue +42 -0
- package/src/types/Status/BellDotIcon.vue +42 -0
- package/src/types/Status/BellFillIcon.vue +42 -0
- package/src/types/Status/BellIcon.vue +42 -0
- package/src/types/Status/BellSlashFillIcon.vue +42 -0
- package/src/types/Status/BellSlashIcon.vue +42 -0
- package/src/types/Status/CameraTriangleFillIcon.vue +42 -0
- package/src/types/Status/CameraTriangleIcon.vue +42 -0
- package/src/types/Status/CheckmarkCircleFillIcon.vue +42 -0
- package/src/types/Status/CheckmarkCircleIcon.vue +42 -0
- package/src/types/Status/CheckmarkHeavyIcon.vue +42 -0
- package/src/types/Status/CheckmarkIcon.vue +42 -0
- package/src/types/Status/CircleBrokenIcon.vue +42 -0
- package/src/types/Status/CircleFillIcon.vue +42 -0
- package/src/types/Status/CircleIcon.vue +42 -0
- package/src/types/Status/CircleSlashFillIcon.vue +42 -0
- package/src/types/Status/CircleSlashIcon.vue +42 -0
- package/src/types/Status/CogRotationFillIcon.vue +42 -0
- package/src/types/Status/CogRotationIcon.vue +42 -0
- package/src/types/Status/DiamondFillIcon.vue +42 -0
- package/src/types/Status/DiamondIcon.vue +42 -0
- package/src/types/Status/ExclamationmarkIcon.vue +42 -0
- package/src/types/Status/ExclamationmarkTriangleFillIcon.vue +42 -0
- package/src/types/Status/ExclamationmarkTriangleIcon.vue +42 -0
- package/src/types/Status/InformationIcon.vue +42 -0
- package/src/types/Status/InformationSquareFillIcon.vue +42 -0
- package/src/types/Status/InformationSquareIcon.vue +42 -0
- package/src/types/Status/LaptopTriangleFillIcon.vue +42 -0
- package/src/types/Status/LaptopTriangleIcon.vue +42 -0
- package/src/types/Status/MobileTriangleFillIcon.vue +42 -0
- package/src/types/Status/MobileTriangleIcon.vue +42 -0
- package/src/types/Status/MonitorTriangleFillIcon.vue +42 -0
- package/src/types/Status/MonitorTriangleIcon.vue +42 -0
- package/src/types/Status/PentagonFillIcon.vue +42 -0
- package/src/types/Status/PentagonIcon.vue +42 -0
- package/src/types/Status/PrinterLargeTriangleFillIcon.vue +42 -0
- package/src/types/Status/PrinterLargeTriangleIcon.vue +42 -0
- package/src/types/Status/PrinterSmallTriangleFillIcon.vue +42 -0
- package/src/types/Status/PrinterSmallTriangleIcon.vue +42 -0
- package/src/types/Status/QuestionmarkCircleFillIcon.vue +42 -0
- package/src/types/Status/QuestionmarkCircleIcon.vue +42 -0
- package/src/types/Status/QuestionmarkDiamondFillIcon.vue +42 -0
- package/src/types/Status/QuestionmarkDiamondIcon.vue +42 -0
- package/src/types/Status/QuestionmarkIcon.vue +42 -0
- package/src/types/Status/RobotFillIcon.vue +42 -0
- package/src/types/Status/RobotFrownFillIcon.vue +42 -0
- package/src/types/Status/RobotFrownIcon.vue +45 -0
- package/src/types/Status/RobotIcon.vue +45 -0
- package/src/types/Status/RobotSmileFillIcon.vue +42 -0
- package/src/types/Status/RobotSmileIcon.vue +45 -0
- package/src/types/Status/SquareFillIcon.vue +42 -0
- package/src/types/Status/SquareIcon.vue +42 -0
- package/src/types/Status/TriangleFillIcon.vue +42 -0
- package/src/types/Status/TriangleIcon.vue +42 -0
- package/src/types/Status/XMarkIcon.vue +42 -0
- package/src/types/Status/XMarkOctagonFillIcon.vue +42 -0
- package/src/types/Status/XMarkOctagonIcon.vue +42 -0
- package/src/types/Transportation/AirplaneFillIcon.vue +42 -0
- package/src/types/Transportation/AirplaneIcon.vue +42 -0
- package/src/types/Transportation/BackpackFillIcon.vue +42 -0
- package/src/types/Transportation/BackpackIcon.vue +42 -0
- package/src/types/Transportation/BaggageFillIcon.vue +42 -0
- package/src/types/Transportation/BaggageIcon.vue +42 -0
- package/src/types/Transportation/BicycleIcon.vue +42 -0
- package/src/types/Transportation/BoatFillIcon.vue +42 -0
- package/src/types/Transportation/BoatIcon.vue +42 -0
- package/src/types/Transportation/BusFillIcon.vue +42 -0
- package/src/types/Transportation/BusIcon.vue +42 -0
- package/src/types/Transportation/CarFillIcon.vue +42 -0
- package/src/types/Transportation/CarIcon.vue +42 -0
- package/src/types/Transportation/CompassFillIcon.vue +42 -0
- package/src/types/Transportation/CompassIcon.vue +42 -0
- package/src/types/Transportation/FlagCrossFillIcon.vue +42 -0
- package/src/types/Transportation/FlagCrossIcon.vue +42 -0
- package/src/types/Transportation/FootprintFillIcon.vue +42 -0
- package/src/types/Transportation/FootprintIcon.vue +42 -0
- package/src/types/Transportation/HikingTrailSignFillIcon.vue +42 -0
- package/src/types/Transportation/HikingTrailSignIcon.vue +42 -0
- package/src/types/Transportation/LocationPinFillIcon.vue +42 -0
- package/src/types/Transportation/LocationPinIcon.vue +42 -0
- package/src/types/Transportation/MotorcycleFillIcon.vue +42 -0
- package/src/types/Transportation/MotorcycleIcon.vue +42 -0
- package/src/types/Transportation/RoadblockFillIcon.vue +42 -0
- package/src/types/Transportation/RoadblockIcon.vue +49 -0
- package/src/types/Transportation/RocketFillIcon.vue +42 -0
- package/src/types/Transportation/RocketIcon.vue +42 -0
- package/src/types/Transportation/SackFillIcon.vue +42 -0
- package/src/types/Transportation/SackIcon.vue +42 -0
- package/src/types/Transportation/StrollerFillIcon.vue +42 -0
- package/src/types/Transportation/StrollerIcon.vue +42 -0
- package/src/types/Transportation/TrainFillIcon.vue +42 -0
- package/src/types/Transportation/TrainIcon.vue +42 -0
- package/src/types/Transportation/TramFillIcon.vue +42 -0
- package/src/types/Transportation/TramIcon.vue +42 -0
- package/src/types/Transportation/TruckFillIcon.vue +42 -0
- package/src/types/Transportation/TruckIcon.vue +42 -0
- package/src/types/Transportation/TruckPercentFillIcon.vue +42 -0
- package/src/types/Transportation/TruckPercentIcon.vue +42 -0
- package/src/types/Wellness/BandageFillIcon.vue +42 -0
- package/src/types/Wellness/BandageIcon.vue +42 -0
- package/src/types/Wellness/BoneBrokenIcon.vue +42 -0
- package/src/types/Wellness/CigaretteFillIcon.vue +42 -0
- package/src/types/Wellness/CigaretteIcon.vue +42 -0
- package/src/types/Wellness/CoffeeFillIcon.vue +42 -0
- package/src/types/Wellness/CoffeeIcon.vue +42 -0
- package/src/types/Wellness/DonutsFillIcon.vue +42 -0
- package/src/types/Wellness/DonutsIcon.vue +42 -0
- package/src/types/Wellness/FeedingBottleFillIcon.vue +42 -0
- package/src/types/Wellness/FeedingBottleIcon.vue +42 -0
- package/src/types/Wellness/FirstAidFillIcon.vue +42 -0
- package/src/types/Wellness/FirstAidIcon.vue +42 -0
- package/src/types/Wellness/FirstAidKitFillIcon.vue +42 -0
- package/src/types/Wellness/FirstAidKitIcon.vue +42 -0
- package/src/types/Wellness/HandBandageFillIcon.vue +42 -0
- package/src/types/Wellness/HandBandageIcon.vue +42 -0
- package/src/types/Wellness/HeadHeartFillIcon.vue +42 -0
- package/src/types/Wellness/HeadHeartIcon.vue +42 -0
- package/src/types/Wellness/HospitalFillIcon.vue +42 -0
- package/src/types/Wellness/HospitalIcon.vue +42 -0
- package/src/types/Wellness/IvFluidBagFillIcon.vue +42 -0
- package/src/types/Wellness/IvFluidBagIcon.vue +42 -0
- package/src/types/Wellness/LifebuoyFillIcon.vue +42 -0
- package/src/types/Wellness/LifebuoyIcon.vue +42 -0
- package/src/types/Wellness/MedicalThermometerFillIcon.vue +42 -0
- package/src/types/Wellness/MedicalThermometerIcon.vue +42 -0
- package/src/types/Wellness/MedicineBottleFillIcon.vue +42 -0
- package/src/types/Wellness/MedicineBottleIcon.vue +42 -0
- package/src/types/Wellness/PillCircleFillIcon.vue +42 -0
- package/src/types/Wellness/PillCircleIcon.vue +42 -0
- package/src/types/Wellness/PillCircleRectangleFillIcon.vue +42 -0
- package/src/types/Wellness/PillCircleRectangleIcon.vue +42 -0
- package/src/types/Wellness/PillRectangleFillIcon.vue +42 -0
- package/src/types/Wellness/PillRectangleIcon.vue +42 -0
- package/src/types/Wellness/StarOfLifeFillIcon.vue +42 -0
- package/src/types/Wellness/StarOfLifeIcon.vue +42 -0
- package/src/types/Wellness/StethoscopeIcon.vue +42 -0
- package/src/types/Wellness/TrayFoodFillIcon.vue +42 -0
- package/src/types/Wellness/TrayFoodIcon.vue +42 -0
- package/src/types/Wellness/VirusFillIcon.vue +42 -0
- package/src/types/Wellness/VirusIcon.vue +42 -0
- package/src/types/Wellness/VitalsIcon.vue +42 -0
- package/src/types/Workplace/BriefcaseClockFillIcon.vue +42 -0
- package/src/types/Workplace/BriefcaseClockIcon.vue +42 -0
- package/src/types/Workplace/BriefcaseFillIcon.vue +42 -0
- package/src/types/Workplace/BriefcaseIcon.vue +42 -0
- package/src/types/Workplace/Buildings2FillIcon.vue +42 -0
- package/src/types/Workplace/Buildings2Icon.vue +42 -0
- package/src/types/Workplace/Buildings3FillIcon.vue +42 -0
- package/src/types/Workplace/Buildings3Icon.vue +42 -0
- package/src/types/Workplace/ChangingRoomFillIcon.vue +42 -0
- package/src/types/Workplace/ChangingRoomIcon.vue +42 -0
- package/src/types/Workplace/ChefHatFillIcon.vue +42 -0
- package/src/types/Workplace/ChefHatIcon.vue +42 -0
- package/src/types/Workplace/ClipboardCheckmarkFillIcon.vue +42 -0
- package/src/types/Workplace/ClipboardCheckmarkIcon.vue +42 -0
- package/src/types/Workplace/ClipboardFillIcon.vue +42 -0
- package/src/types/Workplace/ClipboardIcon.vue +42 -0
- package/src/types/Workplace/ClipboardLinkFillIcon.vue +42 -0
- package/src/types/Workplace/ClipboardLinkIcon.vue +42 -0
- package/src/types/Workplace/ClipboardXMarkFillIcon.vue +42 -0
- package/src/types/Workplace/ClipboardXMarkIcon.vue +42 -0
- package/src/types/Workplace/DoorFillIcon.vue +42 -0
- package/src/types/Workplace/DoorIcon.vue +42 -0
- package/src/types/Workplace/DoorOpenFillIcon.vue +42 -0
- package/src/types/Workplace/DoorOpenIcon.vue +42 -0
- package/src/types/Workplace/ElevatorFillIcon.vue +42 -0
- package/src/types/Workplace/ElevatorIcon.vue +42 -0
- package/src/types/Workplace/HardHatFillIcon.vue +42 -0
- package/src/types/Workplace/HardHatIcon.vue +42 -0
- package/src/types/Workplace/MeetingLargeFillIcon.vue +42 -0
- package/src/types/Workplace/MeetingLargeIcon.vue +42 -0
- package/src/types/Workplace/MeetingSmallFillIcon.vue +42 -0
- package/src/types/Workplace/MeetingSmallIcon.vue +42 -0
- package/src/types/Workplace/NoSmokingFillIcon.vue +42 -0
- package/src/types/Workplace/NoSmokingIcon.vue +42 -0
- package/src/types/Workplace/ParkingFillIcon.vue +42 -0
- package/src/types/Workplace/ParkingIcon.vue +42 -0
- package/src/types/Workplace/QuietZoneFillIcon.vue +42 -0
- package/src/types/Workplace/QuietZoneIcon.vue +42 -0
- package/src/types/Workplace/ReceptionFillIcon.vue +42 -0
- package/src/types/Workplace/ReceptionIcon.vue +42 -0
- package/src/types/Workplace/RecycleFillIcon.vue +42 -0
- package/src/types/Workplace/RecycleIcon.vue +42 -0
- package/src/types/Workplace/ShowerFillIcon.vue +42 -0
- package/src/types/Workplace/ShowerIcon.vue +42 -0
- package/src/types/Workplace/TapWaterFillIcon.vue +42 -0
- package/src/types/Workplace/TapWaterIcon.vue +42 -0
- package/src/types/Workplace/TestFlaskFillIcon.vue +42 -0
- package/src/types/Workplace/TestFlaskIcon.vue +42 -0
- package/src/types/Workplace/WaitingRoomFillIcon.vue +42 -0
- package/src/types/Workplace/WaitingRoomIcon.vue +42 -0
- package/src/types/index.ts +985 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
|
|
3
|
+
"changelog": "@changesets/cli/changelog",
|
|
4
|
+
"commit": false,
|
|
5
|
+
"fixed": [],
|
|
6
|
+
"linked": [],
|
|
7
|
+
"access": "public",
|
|
8
|
+
"baseBranch": "main",
|
|
9
|
+
"updateInternalDependencies": "patch",
|
|
10
|
+
"ignore": []
|
|
11
|
+
}
|
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text=auto eol=lf
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const DEFAULT_RELEASE_URL =
|
|
4
|
+
"https://api.github.com/repos/navikt/aksel/releases/latest";
|
|
5
|
+
|
|
6
|
+
const args = parseArgs(process.argv.slice(2));
|
|
7
|
+
const releaseUrl = args.releaseUrl ?? DEFAULT_RELEASE_URL;
|
|
8
|
+
const plain = Boolean(args.plain);
|
|
9
|
+
|
|
10
|
+
async function getAkselIconsVersion(url) {
|
|
11
|
+
if (!plain) {
|
|
12
|
+
console.log(`Fetching latest Aksel icons version from: ${url}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
try {
|
|
16
|
+
const response = await fetch(url, {
|
|
17
|
+
headers: {
|
|
18
|
+
"User-Agent": "Node.js",
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
if (!response.ok) {
|
|
23
|
+
throw new Error(`HTTP ${response.status} ${response.statusText}`);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const payload = await response.json();
|
|
27
|
+
const version = payload?.tag_name;
|
|
28
|
+
|
|
29
|
+
if (!version) {
|
|
30
|
+
throw new Error("Response did not contain 'tag_name'.");
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return version;
|
|
34
|
+
} catch (error) {
|
|
35
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
36
|
+
console.error(`Failed to fetch version from GitHub: ${message}`);
|
|
37
|
+
process.exit(1);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function parseArgs(argv) {
|
|
42
|
+
const parsed = {};
|
|
43
|
+
|
|
44
|
+
for (let index = 0; index < argv.length; index += 1) {
|
|
45
|
+
const token = argv[index];
|
|
46
|
+
|
|
47
|
+
if (token === "--release-url" || token === "-r") {
|
|
48
|
+
const value = argv[index + 1];
|
|
49
|
+
if (value && !value.startsWith("-")) {
|
|
50
|
+
parsed.releaseUrl = value;
|
|
51
|
+
index += 1;
|
|
52
|
+
}
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (token.startsWith("--release-url=")) {
|
|
57
|
+
parsed.releaseUrl = token.slice("--release-url=".length);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (token === "--plain" || token === "-p") {
|
|
61
|
+
parsed.plain = true;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return parsed;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const version = await getAkselIconsVersion(releaseUrl);
|
|
69
|
+
if (!plain) {
|
|
70
|
+
console.log(`Aksel Icons Version: ${version}`);
|
|
71
|
+
}
|
|
72
|
+
console.log(version);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: Release & Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
release-and-publish:
|
|
12
|
+
name: Release & Publish
|
|
13
|
+
environment: npm
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout repository
|
|
17
|
+
uses: actions/checkout@v6
|
|
18
|
+
|
|
19
|
+
- name: Setup Node
|
|
20
|
+
uses: actions/setup-node@v6
|
|
21
|
+
with:
|
|
22
|
+
node-version: 24
|
|
23
|
+
registry-url: "https://registry.npmjs.org"
|
|
24
|
+
|
|
25
|
+
- name: Cache Yarn
|
|
26
|
+
uses: actions/cache@v4
|
|
27
|
+
with:
|
|
28
|
+
path: |
|
|
29
|
+
.yarn/cache
|
|
30
|
+
.yarn/unplugged
|
|
31
|
+
.yarn/build-state.yml
|
|
32
|
+
.yarn/install-state.gz
|
|
33
|
+
.pnp.*
|
|
34
|
+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
35
|
+
restore-keys: |
|
|
36
|
+
${{ runner.os }}-yarn-
|
|
37
|
+
|
|
38
|
+
- name: Install Dependencies
|
|
39
|
+
run: yarn install
|
|
40
|
+
|
|
41
|
+
- name: Build packages
|
|
42
|
+
run: yarn build
|
|
43
|
+
|
|
44
|
+
- name: Create Release Pull Request or Publish
|
|
45
|
+
uses: changesets/action@v1
|
|
46
|
+
env:
|
|
47
|
+
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PAT }}
|
|
48
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
49
|
+
with:
|
|
50
|
+
version: yarn changeset version
|
|
51
|
+
publish: yarn changeset publish
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: Scheduled Icon Update
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
# schedule:
|
|
5
|
+
# - cron: "0 5 1 * *"
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
inputs:
|
|
8
|
+
release_url:
|
|
9
|
+
description: "GitHub API URL for latest Aksel release"
|
|
10
|
+
required: false
|
|
11
|
+
default: "https://api.github.com/repos/navikt/aksel/releases/latest"
|
|
12
|
+
|
|
13
|
+
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
check-version:
|
|
17
|
+
name: Check Aksel version
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
permissions:
|
|
20
|
+
contents: read
|
|
21
|
+
|
|
22
|
+
outputs:
|
|
23
|
+
should_dispatch: ${{ steps.compare.outputs.should_dispatch }}
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout
|
|
27
|
+
uses: actions/checkout@v4
|
|
28
|
+
|
|
29
|
+
- name: Setup Node.js
|
|
30
|
+
uses: actions/setup-node@v4
|
|
31
|
+
with:
|
|
32
|
+
node-version: 20
|
|
33
|
+
|
|
34
|
+
- name: Compare API version with metadata
|
|
35
|
+
id: compare
|
|
36
|
+
env:
|
|
37
|
+
RELEASE_URL: ${{ github.event.inputs.release_url || 'https://api.github.com/repos/navikt/aksel/releases/latest' }}
|
|
38
|
+
run: |
|
|
39
|
+
latest_version="$(node ./.github/scripts/check-latest-release.mjs --release-url "$RELEASE_URL" --plain)"
|
|
40
|
+
current_version="$(node -e "const fs=require('node:fs'); let current=''; try { const raw=fs.readFileSync('./src/metadata.json','utf8'); const parsed=JSON.parse(raw); current=parsed?.version ?? ''; } catch {} process.stdout.write(String(current));")"
|
|
41
|
+
should_dispatch="$(node -e "const current=process.argv[1] ?? ''; const latest=process.argv[2] ?? ''; process.stdout.write(String(current !== latest));" "$current_version" "$latest_version")"
|
|
42
|
+
|
|
43
|
+
{
|
|
44
|
+
echo "current_version=$current_version"
|
|
45
|
+
echo "latest_version=$latest_version"
|
|
46
|
+
echo "should_dispatch=$should_dispatch"
|
|
47
|
+
} >> "$GITHUB_OUTPUT"
|
|
48
|
+
|
|
49
|
+
- name: No update found
|
|
50
|
+
if: steps.compare.outputs.should_dispatch != 'true'
|
|
51
|
+
run: echo "No icon update available."
|
|
52
|
+
|
|
53
|
+
publish:
|
|
54
|
+
name: Call publish workflow
|
|
55
|
+
needs: check-version
|
|
56
|
+
if: needs.check-version.outputs.should_dispatch == 'true'
|
|
57
|
+
uses: ./.github/workflows/publish.yml
|
|
58
|
+
secrets: inherit
|
package/.yarnrc.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodeLinker: pnp
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@modkit-org/aksel-icons-vue",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Aksel Icons Vue (unofficial)",
|
|
5
|
+
"packageManager": "yarn@4.12.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/ModKit-Org/aksel-icons-vue.git"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"check-latest-release": "node ./.github/scripts/check-latest-release.mjs",
|
|
13
|
+
"generate-icons": "node ./src/generate.mjs"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"extract-zip": "^2.0.1",
|
|
17
|
+
"yarn": "^1.22.22"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"aksel",
|
|
21
|
+
"icons",
|
|
22
|
+
"vue",
|
|
23
|
+
"generator"
|
|
24
|
+
],
|
|
25
|
+
"author": "ModKit",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@changesets/cli": "^2.29.8"
|
|
29
|
+
}
|
|
30
|
+
}
|
package/src/generate.mjs
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { mkdir } from "node:fs/promises";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
import { safeCleanup } from "./lib/cleanup.mjs";
|
|
5
|
+
import { getGeneratorConfig, getHelpText } from "./lib/config.mjs";
|
|
6
|
+
import { getIconDirectories } from "./lib/icon-package.mjs";
|
|
7
|
+
import {
|
|
8
|
+
error as logError,
|
|
9
|
+
headline,
|
|
10
|
+
info,
|
|
11
|
+
setQuiet,
|
|
12
|
+
setVerbose,
|
|
13
|
+
success,
|
|
14
|
+
warn,
|
|
15
|
+
} from "./lib/logger.mjs";
|
|
16
|
+
import { readMetadata, writeMetadata } from "./lib/metadata.mjs";
|
|
17
|
+
import { getGeneratorPaths } from "./lib/paths.mjs";
|
|
18
|
+
import { collectSvgFilesByRoot } from "./lib/svg-discovery.mjs";
|
|
19
|
+
import { generateVueFiles, writeIndexFile } from "./lib/vue-writer.mjs";
|
|
20
|
+
|
|
21
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
22
|
+
const __dirname = path.dirname(__filename);
|
|
23
|
+
|
|
24
|
+
let config;
|
|
25
|
+
try {
|
|
26
|
+
config = getGeneratorConfig(process.argv.slice(2));
|
|
27
|
+
} catch (err) {
|
|
28
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
29
|
+
logError(message);
|
|
30
|
+
process.exit(1);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const { help, version, downloadUrl, tempDirectory, verbose, quiet } = config;
|
|
34
|
+
|
|
35
|
+
if (help) {
|
|
36
|
+
console.log(getHelpText());
|
|
37
|
+
process.exit(0);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
setQuiet(quiet);
|
|
41
|
+
setVerbose(verbose && !quiet);
|
|
42
|
+
|
|
43
|
+
const workspaceRoot = __dirname;
|
|
44
|
+
const { metaFilePath, tempDirectoryAbsolute, typesRootPath } =
|
|
45
|
+
getGeneratorPaths(workspaceRoot, tempDirectory);
|
|
46
|
+
|
|
47
|
+
main().catch(async (err) => {
|
|
48
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
49
|
+
logError(`Generation failed: ${message}`);
|
|
50
|
+
await safeCleanup(tempDirectoryAbsolute);
|
|
51
|
+
process.exit(1);
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
async function main() {
|
|
55
|
+
headline("Aksel Icons Vue Generator");
|
|
56
|
+
if (verbose && !quiet) {
|
|
57
|
+
info("Verbose logging enabled.");
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const existingMeta = await readMetadata(metaFilePath);
|
|
61
|
+
|
|
62
|
+
if (existingMeta?.version === version) {
|
|
63
|
+
success(
|
|
64
|
+
`Icons are already up to date (version: ${version}). No action needed.`,
|
|
65
|
+
);
|
|
66
|
+
process.exit(0);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (existingMeta?.version) {
|
|
70
|
+
warn(`Updating icons from version ${existingMeta.version} to ${version}`);
|
|
71
|
+
} else {
|
|
72
|
+
info(
|
|
73
|
+
"No existing metadata.json found. Generating icons for the first time.",
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
info("Starting icon generation process...");
|
|
78
|
+
await mkdir(tempDirectoryAbsolute, { recursive: true });
|
|
79
|
+
|
|
80
|
+
info(`Latest icon version: ${version}`);
|
|
81
|
+
const extractedDirectories = await getIconDirectories(
|
|
82
|
+
downloadUrl,
|
|
83
|
+
tempDirectoryAbsolute,
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
const groupedSvgFiles = await collectSvgFilesByRoot(extractedDirectories);
|
|
87
|
+
const exports = await generateVueFiles({
|
|
88
|
+
groupedSvgFiles,
|
|
89
|
+
typesRootPath,
|
|
90
|
+
version,
|
|
91
|
+
downloadUrl,
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
await writeIndexFile(typesRootPath, exports, version, downloadUrl);
|
|
95
|
+
success("Done writing index.ts");
|
|
96
|
+
|
|
97
|
+
await writeMetadata(metaFilePath, version);
|
|
98
|
+
success("Done writing metadata.json");
|
|
99
|
+
|
|
100
|
+
await safeCleanup(tempDirectoryAbsolute, true);
|
|
101
|
+
success("Generation completed successfully.");
|
|
102
|
+
process.exit(0);
|
|
103
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { rm } from "node:fs/promises";
|
|
2
|
+
import { pathExists } from "./fs-utils.mjs";
|
|
3
|
+
import { step } from "./logger.mjs";
|
|
4
|
+
|
|
5
|
+
export async function safeCleanup(directoryPath, printMessage = false) {
|
|
6
|
+
try {
|
|
7
|
+
const exists = await pathExists(directoryPath);
|
|
8
|
+
if (exists && printMessage) {
|
|
9
|
+
step("Cleaning up temporary files...");
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
if (exists) {
|
|
13
|
+
await rm(directoryPath, { recursive: true, force: true });
|
|
14
|
+
}
|
|
15
|
+
} catch {
|
|
16
|
+
// Ignore cleanup errors to preserve original script behavior.
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
export const DEFAULT_DOWNLOAD_URL =
|
|
2
|
+
"https://cdn.nav.no/aksel/icons/zip/aksel-icons.zip";
|
|
3
|
+
|
|
4
|
+
export function getHelpText() {
|
|
5
|
+
return [
|
|
6
|
+
"Aksel Icons Vue Generator",
|
|
7
|
+
"",
|
|
8
|
+
"Usage:",
|
|
9
|
+
" yarn generate-icons --version <value> [options]",
|
|
10
|
+
"",
|
|
11
|
+
"Required:",
|
|
12
|
+
" --version, -v <value> Version to store in metadata and generated headers",
|
|
13
|
+
"",
|
|
14
|
+
"Options:",
|
|
15
|
+
` --download-url, -d <url> Icon zip URL (default: ${DEFAULT_DOWNLOAD_URL})`,
|
|
16
|
+
" --temp-directory, -t <path> Temporary working directory (default: ./temp-icons)",
|
|
17
|
+
" --verbose Show detailed per-directory progress",
|
|
18
|
+
" --quiet, -q Show warnings/errors only",
|
|
19
|
+
" --help, -h Show this help",
|
|
20
|
+
].join("\n");
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function parseArgs(argv) {
|
|
24
|
+
const parsed = {};
|
|
25
|
+
|
|
26
|
+
for (let index = 0; index < argv.length; index += 1) {
|
|
27
|
+
const token = argv[index];
|
|
28
|
+
if (!token.startsWith("-")) {
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const normalized = token.replace(/^-+/, "");
|
|
33
|
+
const next = argv[index + 1];
|
|
34
|
+
if (!next || next.startsWith("-")) {
|
|
35
|
+
parsed[normalized] = "true";
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
parsed[normalized] = next;
|
|
40
|
+
index += 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return parsed;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function getGeneratorConfig(argv) {
|
|
47
|
+
const args = parseArgs(argv);
|
|
48
|
+
|
|
49
|
+
const help = parseBooleanFlag(args.help ?? args.h ?? false);
|
|
50
|
+
|
|
51
|
+
if (help) {
|
|
52
|
+
return {
|
|
53
|
+
help: true,
|
|
54
|
+
version: "",
|
|
55
|
+
downloadUrl: DEFAULT_DOWNLOAD_URL,
|
|
56
|
+
tempDirectory: "./temp-icons",
|
|
57
|
+
verbose: false,
|
|
58
|
+
quiet: false,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const version = args.version ?? args.v ?? "";
|
|
63
|
+
const downloadUrl = args["download-url"] ?? args.d ?? DEFAULT_DOWNLOAD_URL;
|
|
64
|
+
const tempDirectory = args["temp-directory"] ?? args.t ?? "./temp-icons";
|
|
65
|
+
const verbose = parseBooleanFlag(args.verbose ?? false);
|
|
66
|
+
const quiet = parseBooleanFlag(args.quiet ?? args.q ?? false);
|
|
67
|
+
|
|
68
|
+
if (!version || version === "true") {
|
|
69
|
+
throw new Error("'version' parameter is required.");
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (!downloadUrl) {
|
|
73
|
+
throw new Error("'downloadUrl' parameter is required.");
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
help: false,
|
|
78
|
+
version,
|
|
79
|
+
downloadUrl,
|
|
80
|
+
tempDirectory,
|
|
81
|
+
verbose,
|
|
82
|
+
quiet,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function parseBooleanFlag(value) {
|
|
87
|
+
if (typeof value === "boolean") {
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const normalized = String(value).trim().toLowerCase();
|
|
92
|
+
if (!normalized) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (["1", "true", "yes", "on"].includes(normalized)) {
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (["0", "false", "no", "off"].includes(normalized)) {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import extract from "extract-zip";
|
|
2
|
+
import { createWriteStream } from "node:fs";
|
|
3
|
+
import { readdir } from "node:fs/promises";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
import { pipeline } from "node:stream/promises";
|
|
6
|
+
import { info, step } from "./logger.mjs";
|
|
7
|
+
|
|
8
|
+
export async function getIconDirectories(url, destinationPath) {
|
|
9
|
+
const zipFilePath = path.join(destinationPath, "icons.zip");
|
|
10
|
+
|
|
11
|
+
info(`Downloading icon package from: ${url}`);
|
|
12
|
+
const response = await fetch(url);
|
|
13
|
+
if (!response.ok || !response.body) {
|
|
14
|
+
throw new Error(
|
|
15
|
+
`Failed to download icons from ${url}. HTTP ${response.status}`,
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
await pipeline(response.body, createWriteStream(zipFilePath));
|
|
20
|
+
|
|
21
|
+
step("Extracting icon package...");
|
|
22
|
+
await extract(zipFilePath, { dir: destinationPath });
|
|
23
|
+
|
|
24
|
+
const candidates = await readdir(destinationPath, { withFileTypes: true });
|
|
25
|
+
const extractedDirectories = [];
|
|
26
|
+
for (const candidate of candidates) {
|
|
27
|
+
if (!candidate.isDirectory()) {
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const directoryPath = path.join(destinationPath, candidate.name);
|
|
32
|
+
if (await directoryContainsSvg(directoryPath)) {
|
|
33
|
+
extractedDirectories.push(directoryPath);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (extractedDirectories.length === 0) {
|
|
38
|
+
throw new Error("Could not find extracted Icon directories");
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return extractedDirectories;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
async function directoryContainsSvg(directoryPath) {
|
|
45
|
+
const entries = await readdir(directoryPath, { withFileTypes: true });
|
|
46
|
+
|
|
47
|
+
for (const entry of entries) {
|
|
48
|
+
const fullPath = path.join(directoryPath, entry.name);
|
|
49
|
+
if (entry.isFile() && entry.name.toLowerCase().endsWith(".svg")) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (entry.isDirectory() && (await directoryContainsSvg(fullPath))) {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export function convertToValidIdentifier(label) {
|
|
2
|
+
let result = "";
|
|
3
|
+
let capitalize = true;
|
|
4
|
+
|
|
5
|
+
for (const char of label) {
|
|
6
|
+
if (/^[a-zA-Z0-9]$/.test(char)) {
|
|
7
|
+
if (capitalize) {
|
|
8
|
+
result += char.toUpperCase();
|
|
9
|
+
capitalize = false;
|
|
10
|
+
} else {
|
|
11
|
+
result += char;
|
|
12
|
+
}
|
|
13
|
+
} else {
|
|
14
|
+
capitalize = true;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
if (/^\d/.test(result)) {
|
|
19
|
+
return `Number${result}`;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
const supportsColor = process.stdout.isTTY && !process.env.NO_COLOR;
|
|
2
|
+
let verboseEnabled = false;
|
|
3
|
+
let quietEnabled = false;
|
|
4
|
+
|
|
5
|
+
const RESET = "\x1b[0m";
|
|
6
|
+
const BOLD = "\x1b[1m";
|
|
7
|
+
const DIM = "\x1b[2m";
|
|
8
|
+
const RED = "\x1b[31m";
|
|
9
|
+
const GREEN = "\x1b[32m";
|
|
10
|
+
const YELLOW = "\x1b[33m";
|
|
11
|
+
const BLUE = "\x1b[34m";
|
|
12
|
+
const MAGENTA = "\x1b[35m";
|
|
13
|
+
const CYAN = "\x1b[36m";
|
|
14
|
+
|
|
15
|
+
function paint(text, ...codes) {
|
|
16
|
+
if (!supportsColor) {
|
|
17
|
+
return text;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return `${codes.join("")}${text}${RESET}`;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function setVerbose(enabled) {
|
|
24
|
+
verboseEnabled = Boolean(enabled);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export function setQuiet(enabled) {
|
|
28
|
+
quietEnabled = Boolean(enabled);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function headline(text) {
|
|
32
|
+
if (quietEnabled) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
console.log(`\n${paint(`◆ ${text}`, BOLD, MAGENTA)}`);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function section(text) {
|
|
40
|
+
if (quietEnabled || !verboseEnabled) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
console.log(`\n${paint(`▶ ${text}`, BOLD, CYAN)}`);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function info(text) {
|
|
48
|
+
if (quietEnabled) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
console.log(paint(`ℹ ${text}`, BLUE));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function step(text) {
|
|
56
|
+
if (quietEnabled || !verboseEnabled) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
console.log(paint(`• ${text}`, DIM));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function success(text) {
|
|
64
|
+
if (quietEnabled) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
console.log(paint(`✔ ${text}`, GREEN));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function warn(text) {
|
|
72
|
+
console.log(paint(`⚠ ${text}`, YELLOW));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function error(text) {
|
|
76
|
+
console.error(paint(`✖ ${text}`, RED));
|
|
77
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { access, constants, readFile, writeFile } from "node:fs/promises";
|
|
2
|
+
|
|
3
|
+
export async function readMetadata(metaPath) {
|
|
4
|
+
try {
|
|
5
|
+
await access(metaPath, constants.F_OK);
|
|
6
|
+
} catch {
|
|
7
|
+
return null;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
try {
|
|
11
|
+
const json = await readFile(metaPath, "utf8");
|
|
12
|
+
return JSON.parse(json);
|
|
13
|
+
} catch {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export async function writeMetadata(metaPath, version) {
|
|
19
|
+
const payload = {
|
|
20
|
+
version,
|
|
21
|
+
generatedAt: new Date().toISOString().replace(/\.\d{3}Z$/, "Z"),
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
await writeFile(metaPath, `${JSON.stringify(payload, null, 2)}\n`, "utf8");
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
|
|
3
|
+
export function getGeneratorPaths(workspaceRoot, tempDirectory) {
|
|
4
|
+
return {
|
|
5
|
+
workspaceRoot,
|
|
6
|
+
metaFilePath: path.join(workspaceRoot, "metadata.json"),
|
|
7
|
+
tempDirectoryAbsolute: path.resolve(workspaceRoot, tempDirectory),
|
|
8
|
+
typesRootPath: path.join(workspaceRoot, "types"),
|
|
9
|
+
};
|
|
10
|
+
}
|