From cd3c1ed99e817cdcb440540cced82e60b5195681 Mon Sep 17 00:00:00 2001 From: Yannick Date: Thu, 17 Oct 2024 09:35:17 +0200 Subject: [PATCH] Clean-up angles-y icon, add angles-x --- docs/public/data/icons/angles-x.json | 7 +++++++ docs/src/app/Docs/pages/Changelog.tsx | 3 ++- docs/src/data/icons.ts | 9 ++++++++- icons/angles-x.svg | 1 + icons/angles-y.svg | 2 +- src/Valkyrie.ts | 11 ++++++++++- 6 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 docs/public/data/icons/angles-x.json create mode 100644 icons/angles-x.svg diff --git a/docs/public/data/icons/angles-x.json b/docs/public/data/icons/angles-x.json new file mode 100644 index 00000000..4af5858b --- /dev/null +++ b/docs/public/data/icons/angles-x.json @@ -0,0 +1,7 @@ +{ + "title": "Angles X", + "categories": ["arrows"], + "tags": ["direction"], + "created": "1.0.0", + "updated": "1.0.0" +} diff --git a/docs/src/app/Docs/pages/Changelog.tsx b/docs/src/app/Docs/pages/Changelog.tsx index 1966eea1..b26fd814 100644 --- a/docs/src/app/Docs/pages/Changelog.tsx +++ b/docs/src/app/Docs/pages/Changelog.tsx @@ -16,7 +16,8 @@ export default function Changelog() { You can now apply className to the ValkyrieIcon component. ]} - newIcons={['apple', 'burger-glass', 'glass', 'moped', 'plate-utensils', 'receipt', 'shopping-cart', 'wallet', 'windows']} + newIcons={['angles-x', 'apple', 'burger-glass', 'glass', 'moped', 'plate-utensils', 'receipt', 'shopping-cart', 'wallet', 'windows']} + updatedIcons={['angles-y']} renamedIcons={[ { old: 'thumbstack', new: 'thumbtack' }, { old: 'thumbstack-slash', new: 'thumbtack-slash' } diff --git a/docs/src/data/icons.ts b/docs/src/data/icons.ts index 907def2b..7c953545 100644 --- a/docs/src/data/icons.ts +++ b/docs/src/data/icons.ts @@ -1,5 +1,5 @@ -import { viAGum,viAddressBook,viAngleDown,viAngleLeft,viAngleRight,viAngleUp,viAnglesY,viAppleAppStore,viApple,viArrowDownArrowUp,viArrowDownFromCloud,viArrowDownShortWide,viArrowDownToLine,viArrowDownWideShort,viArrowDown,viArrowLeftArrowRight,viArrowLeftFromBracket,viArrowLeftToBracket,viArrowLeftToLine,viArrowLeft,viArrowPointer,viArrowRightFromBracket,viArrowRightFromFile,viArrowRightFromSmartphone,viArrowRightProhibited,viArrowRightToBracket,viArrowRightToFile,viArrowRightToLine,viArrowRight,viArrowRotateRight,viArrowUpRightFromSquare,viArrowUpShortWide,viArrowUpToCloud,viArrowUpToLine,viArrowUpWideShort,viArrowUp,viArrowsRotateRight,viAsterisk,viAt,viBackward,viBarsUneven,viBars,viBel,viBlf,viBold,viBook,viBoxOpenFull,viBracketsCurly,viBroom,viBug,viBuilding,viBurgerGlass,viCalendarClock,viCalendarDay,viCalendarRangeClock,viCalendarRange,viCalendarStars,viCalendarWeek,viCalendar,viChainSlash,viChain,viChalkboardPerson,viChartPie,viCheck,viChevronDown,viChevronLeft,viChevronRight,viChevronUp,viChrome,viCircleCheck,viCircleDashed,viCircleExclamation,viCircleHalfInner,viCircleHalf,viCircleInfo,viCirclePerson,viCirclePlus,viCircleQuestion,viCircleXmark,viCity,viClockRotateLeft,viClock,viCloudSoftphone,viCode,viCodeblock,viCommand,viCompare,viCompass,viCompress,viCopy,viDevices,viDiceFive,viDiceFour,viDiceOne,viDiceSix,viDiceThree,viDiceTwo,viDice,viDisplay,viDoor,viEarth,viEclipse,viEdge,viEllipsisH,viEllipsisV,viEnvelope,viEthernet,viEuro,viExpand,viExport,viEyeSlash,viEye,viFacebookMessenger,viFacebook,viFanvil,viFastBackward,viFastForward,viFax,viFile,viFilesList,viFiles,viFilmstrip,viFilterPlus,viFilterXmark,viFilter,viFingerprint,viFirefox,viFlagCheckered,viFlag,viFlask,viFloppyDisk,viFolderImage,viFolder,viForward,viGauge,viGear,viGift,viGithub,viGlass,viGooglePlay,viGrid,viGripDotsH,viGripDotsV,viGripLines,viHeading1,viHeading2,viHeading3,viHeading4,viHeading5,viHeading6,viHeadset,viHeartCrack,viHeartHalf,viHeart,viHouse,viIdCard,viImage,viItalic,viKey,viKeyboardBrightnessHigh,viKeyboardBrightnessLow,viKeyboard,viLaptop,viLayersPlus,viLayers,viLifeRing,viLightbulbOn,viLightbulb,viLine,viLinkedin,viListChecksXmark,viListChecks,viListClock,viListOrderedClock,viListOrdered,viList,viLocationPinDot,viLocationPinSlash,viLocationPin,viLocationPinsRoute,viLockOpen,viLock,viMagnifyingGlass,viMegaphone,viMessagePen,viMessageSmile,viMessageText,viMessage,viMicrophone,viMin,viMoon,viMoped,viMusicPause,viMusic,viNetwork,viNext,viNumpad,viOrderAlphabeticalAsc,viOrderAlphabeticalDesc,viOrderNumericalAsc,viOrderNumericalDesc,viPager,viPaperPlane,viParachuteBox,viParagraph,viPassword,viPause,viPen,viPeopleCircle,viPeopleXmark,viPeople,viPersonClock,viPersonGear,viPersonHeadset,viPersonList,viPersonLock,viPersonPlus,viPersonXmark,viPerson,viPhoneArrowDownLeftProhibited,viPhoneArrowDownLeft,viPhoneArrowUpRightProhibited,viPhoneArrowUpRight,viPhoneClock,viPhoneGear,viPhoneList,viPhoneOffice,viPhoneVolume,viPhone,viPlateUtensils,viPlayPause,viPlay,viPlus,viPower,viPrevious,viProhibited,viPuzzlePiece,viQuote,viReceipt,viRectangleP,viRedo,viRepeatOnce,viRepeat,viSafari,viServer,viShare,viShieldKeyhole,viShieldPlus,viShieldXmark,viShield,viShoppingCart,viShuffle,viSidebarLeft,viSidebarRight,viSimCard,viSippy,viSliders,viSmartphone,viSpeakerGrill,viSpinnerThird,viSpinner,viSpy,viSquareGum,viStar,viStop,viStore,viStrikethrough,viSun,viSwatchbook,viTableClock,viTableHeaderColumn,viTableHeaderRow,viTable,viTagGear,viTagPlus,viTag,viTeams,viThumbtackSlash,viThumbtack,viToggleOff,viToggleOn,viTowerBroadcast,viTranslate,viTrashCan,viTriangleExclamation,viUnderline,viUndo,viValkyrieSword,viVideo,viVoicemail,viVolume0,viVolume1,viVolume2,viVolume3,viVolumeSlash,viWallet,viWallpaper,viWaveform,viWebhooksClock,viWebhooks,viWindow,viWindows,viXmark,viYealink } from '@sippy-platform/valkyrie'; +import { viAGum,viAddressBook,viAngleDown,viAngleLeft,viAngleRight,viAngleUp,viAnglesX,viAnglesY,viAppleAppStore,viApple,viArrowDownArrowUp,viArrowDownFromCloud,viArrowDownShortWide,viArrowDownToLine,viArrowDownWideShort,viArrowDown,viArrowLeftArrowRight,viArrowLeftFromBracket,viArrowLeftToBracket,viArrowLeftToLine,viArrowLeft,viArrowPointer,viArrowRightFromBracket,viArrowRightFromFile,viArrowRightFromSmartphone,viArrowRightProhibited,viArrowRightToBracket,viArrowRightToFile,viArrowRightToLine,viArrowRight,viArrowRotateRight,viArrowUpRightFromSquare,viArrowUpShortWide,viArrowUpToCloud,viArrowUpToLine,viArrowUpWideShort,viArrowUp,viArrowsRotateRight,viAsterisk,viAt,viBackward,viBarsUneven,viBars,viBel,viBlf,viBold,viBook,viBoxOpenFull,viBracketsCurly,viBroom,viBug,viBuilding,viBurgerGlass,viCalendarClock,viCalendarDay,viCalendarRangeClock,viCalendarRange,viCalendarStars,viCalendarWeek,viCalendar,viChainSlash,viChain,viChalkboardPerson,viChartPie,viCheck,viChevronDown,viChevronLeft,viChevronRight,viChevronUp,viChrome,viCircleCheck,viCircleDashed,viCircleExclamation,viCircleHalfInner,viCircleHalf,viCircleInfo,viCirclePerson,viCirclePlus,viCircleQuestion,viCircleXmark,viCity,viClockRotateLeft,viClock,viCloudSoftphone,viCode,viCodeblock,viCommand,viCompare,viCompass,viCompress,viCopy,viDevices,viDiceFive,viDiceFour,viDiceOne,viDiceSix,viDiceThree,viDiceTwo,viDice,viDisplay,viDoor,viEarth,viEclipse,viEdge,viEllipsisH,viEllipsisV,viEnvelope,viEthernet,viEuro,viExpand,viExport,viEyeSlash,viEye,viFacebookMessenger,viFacebook,viFanvil,viFastBackward,viFastForward,viFax,viFile,viFilesList,viFiles,viFilmstrip,viFilterPlus,viFilterXmark,viFilter,viFingerprint,viFirefox,viFlagCheckered,viFlag,viFlask,viFloppyDisk,viFolderImage,viFolder,viForward,viGauge,viGear,viGift,viGithub,viGlass,viGooglePlay,viGrid,viGripDotsH,viGripDotsV,viGripLines,viHeading1,viHeading2,viHeading3,viHeading4,viHeading5,viHeading6,viHeadset,viHeartCrack,viHeartHalf,viHeart,viHouse,viIdCard,viImage,viItalic,viKey,viKeyboardBrightnessHigh,viKeyboardBrightnessLow,viKeyboard,viLaptop,viLayersPlus,viLayers,viLifeRing,viLightbulbOn,viLightbulb,viLine,viLinkedin,viListChecksXmark,viListChecks,viListClock,viListOrderedClock,viListOrdered,viList,viLocationPinDot,viLocationPinSlash,viLocationPin,viLocationPinsRoute,viLockOpen,viLock,viMagnifyingGlass,viMegaphone,viMessagePen,viMessageSmile,viMessageText,viMessage,viMicrophone,viMin,viMoon,viMoped,viMusicPause,viMusic,viNetwork,viNext,viNumpad,viOrderAlphabeticalAsc,viOrderAlphabeticalDesc,viOrderNumericalAsc,viOrderNumericalDesc,viPager,viPaperPlane,viParachuteBox,viParagraph,viPassword,viPause,viPen,viPeopleCircle,viPeopleXmark,viPeople,viPersonClock,viPersonGear,viPersonHeadset,viPersonList,viPersonLock,viPersonPlus,viPersonXmark,viPerson,viPhoneArrowDownLeftProhibited,viPhoneArrowDownLeft,viPhoneArrowUpRightProhibited,viPhoneArrowUpRight,viPhoneClock,viPhoneGear,viPhoneList,viPhoneOffice,viPhoneVolume,viPhone,viPlateUtensils,viPlayPause,viPlay,viPlus,viPower,viPrevious,viProhibited,viPuzzlePiece,viQuote,viReceipt,viRectangleP,viRedo,viRepeatOnce,viRepeat,viSafari,viServer,viShare,viShieldKeyhole,viShieldPlus,viShieldXmark,viShield,viShoppingCart,viShuffle,viSidebarLeft,viSidebarRight,viSimCard,viSippy,viSliders,viSmartphone,viSpeakerGrill,viSpinnerThird,viSpinner,viSpy,viSquareGum,viStar,viStop,viStore,viStrikethrough,viSun,viSwatchbook,viTableClock,viTableHeaderColumn,viTableHeaderRow,viTable,viTagGear,viTagPlus,viTag,viTeams,viThumbtackSlash,viThumbtack,viToggleOff,viToggleOn,viTowerBroadcast,viTranslate,viTrashCan,viTriangleExclamation,viUnderline,viUndo,viValkyrieSword,viVideo,viVoicemail,viVolume0,viVolume1,viVolume2,viVolume3,viVolumeSlash,viWallet,viWallpaper,viWaveform,viWebhooksClock,viWebhooks,viWindow,viWindows,viXmark,viYealink } from '@sippy-platform/valkyrie'; const icons = [ { @@ -44,6 +44,13 @@ const icons = [ slug: 'angle-up', icon: viAngleUp }, + { + component: 'viAnglesX', + categories: [], + tags: [], + slug: 'angles-x', + icon: viAnglesX + }, { component: 'viAnglesY', categories: ["arrows"], diff --git a/icons/angles-x.svg b/icons/angles-x.svg new file mode 100644 index 00000000..e79ebf7c --- /dev/null +++ b/icons/angles-x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/angles-y.svg b/icons/angles-y.svg index 90a15d21..485f62ff 100644 --- a/icons/angles-y.svg +++ b/icons/angles-y.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/Valkyrie.ts b/src/Valkyrie.ts index 7d4be336..4538915e 100644 --- a/src/Valkyrie.ts +++ b/src/Valkyrie.ts @@ -41,12 +41,19 @@ export const viAngleUp: { name: 'angle_up', data: ``, }; +export const viAnglesX: { + name: 'angles_x'; + data: string; +} = { + name: 'angles_x', + data: ``, +}; export const viAnglesY: { name: 'angles_y'; data: string; } = { name: 'angles_y', - data: ``, + data: ``, }; export const viAppleAppStore: { name: 'apple_app_store'; @@ -2134,6 +2141,7 @@ export type Valkyrie = | 'angle_left' | 'angle_right' | 'angle_up' + | 'angles_x' | 'angles_y' | 'apple_app_store' | 'apple' @@ -2445,6 +2453,7 @@ export const valkyrieSet = [ viAngleLeft, viAngleRight, viAngleUp, + viAnglesX, viAnglesY, viAppleAppStore, viApple,