From 1d67f2c9b1a65ab7353eb0d18926f2943fc6a086 Mon Sep 17 00:00:00 2001 From: Yannick Date: Fri, 22 Mar 2024 22:06:14 +0100 Subject: [PATCH] Update magnifying icon --- docs/package-lock.json | 2 +- .../data/icons/magnifying-glass-min.json | 7 +++++++ .../data/icons/magnifying-glass-plus.json | 7 +++++++ docs/src/app/Docs/pages/Changelog.tsx | 13 ++++++++---- docs/src/data/icons.ts | 16 ++++++++++++++- icons/magnifying-glass-min.svg | 1 + icons/magnifying-glass-plus.svg | 1 + icons/magnifying-glass.svg | 2 +- src/Amicons.ts | 20 ++++++++++++++++++- 9 files changed, 61 insertions(+), 8 deletions(-) create mode 100644 docs/public/data/icons/magnifying-glass-min.json create mode 100644 docs/public/data/icons/magnifying-glass-plus.json create mode 100644 icons/magnifying-glass-min.svg create mode 100644 icons/magnifying-glass-plus.svg diff --git a/docs/package-lock.json b/docs/package-lock.json index b840de8b..095f5543 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -39,7 +39,7 @@ }, "..": { "name": "@studio384/amaranth", - "version": "1.0.0-alpha.6", + "version": "1.0.0-alpha.7", "license": "AGPL-3.0-or-later", "dependencies": { "html-react-parser": "5.1.8" diff --git a/docs/public/data/icons/magnifying-glass-min.json b/docs/public/data/icons/magnifying-glass-min.json new file mode 100644 index 00000000..3ef89b7a --- /dev/null +++ b/docs/public/data/icons/magnifying-glass-min.json @@ -0,0 +1,7 @@ +{ + "title": "Magnifying glass min", + "categories": ["maps"], + "tags": ["search", "zoom out"], + "created": "1.0.0", + "updated": "1.0.0" +} diff --git a/docs/public/data/icons/magnifying-glass-plus.json b/docs/public/data/icons/magnifying-glass-plus.json new file mode 100644 index 00000000..b7149076 --- /dev/null +++ b/docs/public/data/icons/magnifying-glass-plus.json @@ -0,0 +1,7 @@ +{ + "title": "Magnifying glass plus", + "categories": ["maps"], + "tags": ["search", "zoom in"], + "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 2b1905be..2f1f1dd3 100644 --- a/docs/src/app/Docs/pages/Changelog.tsx +++ b/docs/src/app/Docs/pages/Changelog.tsx @@ -7,9 +7,13 @@ import Release from './_Release'; export default function Changelog() { return ( + @@ -26,11 +30,12 @@ export default function Changelog() { changed={[ <> We're updating our branding from Amaranth to Amicons, with a brand new logo and mascot to boot. While the Amaranth and{' '} - Amicons icons have existed at the same time in the previous version, we consider the removal of the Amaranth icon a rename. + Amicons icons have existed at the same time in the previous version, we consider the removal of the Amaranth icon a + rename. , <> - The default values for all properties of our Amicon component are now being set to Undefined rather than a default - truthy value. + The default values for all properties of our Amicon component are now being set to Undefined rather than a default truthy + value. , <> The various CSS variables have been renamed to be more consistent with new variables introduced in this update. See the documentation for more info. diff --git a/docs/src/data/icons.ts b/docs/src/data/icons.ts index bd9eed67..dd79d4a5 100644 --- a/docs/src/data/icons.ts +++ b/docs/src/data/icons.ts @@ -1,5 +1,5 @@ -import { ai0,ai1,ai2,ai3,ai4,ai5,ai6,ai7,ai8,ai9,aiAGum,aiA,aiAddressBook,aiAlarmClock,aiAlignCenter,aiAlignJustify,aiAlignLeft,aiAlignRight,aiAmicons,aiAngleDown,aiAngleLeft,aiAngleRight,aiAngleUp,aiAnglesY,aiAppleAppStore,aiArrowDownArrowUp,aiArrowDownFromCloud,aiArrowDownShortWide,aiArrowDownToLine,aiArrowDownWideShort,aiArrowDown,aiArrowLeftFromBracket,aiArrowLeftToBracket,aiArrowLeftToLine,aiArrowLeft,aiArrowPointer,aiArrowRightFromBracket,aiArrowRightFromFile,aiArrowRightFromSmartphone,aiArrowRightProhibited,aiArrowRightToBracket,aiArrowRightToFile,aiArrowRightToLine,aiArrowRight,aiArrowRotateRight,aiArrowUpRightFromSquare,aiArrowUpShortWide,aiArrowUpToCloud,aiArrowUpToLine,aiArrowUpWideShort,aiArrowUp,aiArrowsDownLeftRightUpCenter,aiArrowsRotateRight,aiAsterisk,aiAt,aiAzure,aiB,aiBackward,aiBarsStaggered,aiBars,aiBatteryCharging,aiBatteryEmpty,aiBatteryExclamation,aiBatteryFull,aiBatteryHalf,aiBatteryLow,aiBatteryQuarter,aiBatterySlash,aiBatteryThreeQuarter,aiBeer,aiBel,aiBicycle,aiBlf,aiBold,aiBolt,aiBookOpen,aiBook,aiBoxOpenFull,aiBox,aiBracketsCurly,aiBroom,aiBug,aiBuilding,aiC,aiCalculator,aiCalendarClock,aiCalendarDay,aiCalendarRangeClock,aiCalendarRange,aiCalendarStars,aiCalendarWeek,aiCalendar,aiCamera,aiCampfire,aiCarSide,aiCar,aiChainSlash,aiChain,aiChalkboardPerson,aiChangeWindows,aiChartPie,aiCheck,aiChevronDown,aiChevronLeft,aiChevronRight,aiChevronUp,aiChrome,aiCircleCheck,aiCircleDashed,aiCircleExclamation,aiCircleHalfInner,aiCircleHalf,aiCircleInfo,aiCirclePerson,aiCirclePlus,aiCircleQuestion,aiCircleXmark,aiCircle,aiCity,aiClipboard,aiClockRotateLeft,aiClock,aiCloudDrizzle,aiCloudFog,aiCloudHail,aiCloudLightning,aiCloudMoon,aiCloudRain,aiCloudSnow,aiCloudSun,aiCloud,aiCodeBranchUp,aiCodeBranch,aiCode,aiCodeblock,aiCoin,aiCommand,aiCompactDisc,aiCompare,aiCompassDrafting,aiCompass,aiCompress,aiComputerMouseScrollWheel,aiComputerMouse,aiCopy,aiCreditCard,aiCrop,aiCursor,aiD,aiDevices,aiDiceFive,aiDiceFour,aiDiceOne,aiDiceSix,aiDiceThree,aiDiceTwo,aiDice,aiDisplayCam,aiDisplay,aiDoor,aiDroplet,aiE,aiEarth,aiEclipse,aiEdge,aiEllipsisH,aiEllipsisV,aiEnvelopeOpen,aiEnvelope,aiEthernet,aiEuro,aiExpand,aiExport,aiEyeSlash,aiEye,aiF,aiFacebookMessenger,aiFacebook,aiFastBackward,aiFastForward,aiFax,aiFileAudio,aiFileExcel,aiFilePowerpoint,aiFileText,aiFileWord,aiFileZip,aiFile,aiFilesList,aiFiles,aiFilmstrip,aiFilterPlus,aiFilterXmark,aiFilter,aiFingerprint,aiFirefox,aiFlagCheckered,aiFlag,aiFlask,aiFloppyDisk,aiFolderImage,aiFolderMin,aiFolderOpen,aiFolderPlus,aiFolder,aiForward,aiFrame,aiG,aiGamepad,aiGauge,aiGear,aiGift,aiGithub,aiGlobe,aiGooglePlay,aiGrid,aiGripDotsV,aiGripDots,aiGripLines,aiH,aiHeading1,aiHeading2,aiHeading3,aiHeading4,aiHeading5,aiHeading6,aiHeadset,aiHeartCrack,aiHeartHalf,aiHeart,aiHorizontalLine,aiHourglassEmpty,aiHourglassEnd,aiHourglassHalf,aiHourglassStart,aiHouse,aiI,aiIcons,aiIdCard,aiImage,aiInstagram,aiItalic,aiJ,aiJesterHat,aiK,aiKey,aiKeyboardBrightnessHigh,aiKeyboardBrightnessLow,aiKeyboard,aiKite,aiL,aiLaptop,aiLaravel,aiLayersPlus,aiLayers,aiLifeRing,aiLightbulbOn,aiLightbulb,aiLine,aiLinkedin,aiListChecksXmark,aiListChecks,aiListClock,aiListOrderedClock,aiListOrdered,aiList,aiLoader,aiLocationPinDot,aiLocationPinSlash,aiLocationPin,aiLocationPinsRoute,aiLockOpen,aiLock,aiM,aiMagnifyingGlass,aiMegaphone,aiMessagePen,aiMessageSmile,aiMessageText,aiMessage,aiMicrochip,aiMicrophone,aiMin,aiMoonCloud,aiMoon,aiMusicPause,aiMusic,aiN,aiNetwork,aiNext,aiNotes,aiNumpad,aiO,aiOption,aiP,aiPager,aiPaperPlane,aiPaper,aiParachuteBox,aiParagraph,aiPatreon,aiPause,aiPen,aiPeopleCircle,aiPeopleXmark,aiPeople,aiPersonClock,aiPersonGear,aiPersonHeadset,aiPersonList,aiPersonLock,aiPersonPlus,aiPersonXmark,aiPerson,aiPhoneArrowDownLeftProhibited,aiPhoneArrowDownLeft,aiPhoneArrowUpRightProhibited,aiPhoneArrowUpRight,aiPhoneClock,aiPhoneGear,aiPhoneList,aiPhoneOffice,aiPhoneVolume,aiPhone,aiPlane,aiPlanetRinged,aiPlateUtensils,aiPlayPause,aiPlay,aiPlus,aiPower,aiPrevious,aiPrinter,aiProhibited,aiPuzzlePiece,aiQ,aiQuote,aiR,aiReact,aiReceipt,aiRectangleP,aiRedo,aiRepeatOnce,aiRepeat,aiRoad,aiRocket,aiS,aiSafari,aiScouting,aiServer,aiShareNodes,aiShare,aiShieldKeyhole,aiShieldPlus,aiShieldXmark,aiShield,aiShoePrints,aiShoppingCart,aiShuffle,aiSidebarLeft,aiSidebarRight,aiSignature,aiSimCard,aiSippy,aiSliders,aiSmartphoneArrowRight,aiSmartphoneHinge,aiSmartphone,aiSnowflake,aiSpeakerGrill,aiSpinnerThird,aiSpinner,aiSpy,aiSquareDashed,aiSquareGum,aiSquare,aiStarHalf,aiStar,aiStarscout,aiStop,aiStopwatch,aiStore,aiStrikethrough,aiStudio384,aiSubscript,aiSunCloud,aiSun,aiSunrise,aiSunset,aiSuperscript,aiSwatchbook,aiT,aiTableCellMerge,aiTableClock,aiTableColumnInsertLeft,aiTableColumnInsertRight,aiTableColumnMin,aiTableHeaderCell,aiTableHeaderColumn,aiTableHeaderRow,aiTableMin,aiTableRowInsertBottom,aiTableRowInsertTop,aiTableRowMin,aiTable,aiTagGear,aiTagPlus,aiTag,aiTent,aiTerminal,aiThermometerEmpty,aiThermometerFull,aiThermometerHalf,aiThreads,aiThumbstackSlash,aiThumbstack,aiTicket,aiTiktok,aiToast,aiToggleOff,aiToggleOn,aiTowerBroadcast,aiTrainTrack,aiTranslate,aiTrashCan,aiTree,aiTrekkingBackpack,aiTriangleDashed,aiTriangleExclamation,aiTriangle,aiTrophy,aiTruckPickup,aiTruckTow,aiTwitter,aiU,aiUmbrella,aiUnderline,aiUndo,aiUniversalAccess,aiV,aiValkyrieSword,aiVideo,aiVirtualReality,aiVisualStudio,aiVoicemail,aiVolume0,aiVolume1,aiVolume2,aiVolume3,aiVolumeSlash,aiW,aiWallet,aiWallpaper,aiWaveform,aiWebhooksClock,aiWebhooks,aiWind,aiWindow,aiWindows,aiX,aiXbox,aiXmark,aiY,aiZ } from '@studio384/amaranth'; +import { ai0,ai1,ai2,ai3,ai4,ai5,ai6,ai7,ai8,ai9,aiAGum,aiA,aiAddressBook,aiAlarmClock,aiAlignCenter,aiAlignJustify,aiAlignLeft,aiAlignRight,aiAmicons,aiAngleDown,aiAngleLeft,aiAngleRight,aiAngleUp,aiAnglesY,aiAppleAppStore,aiArrowDownArrowUp,aiArrowDownFromCloud,aiArrowDownShortWide,aiArrowDownToLine,aiArrowDownWideShort,aiArrowDown,aiArrowLeftFromBracket,aiArrowLeftToBracket,aiArrowLeftToLine,aiArrowLeft,aiArrowPointer,aiArrowRightFromBracket,aiArrowRightFromFile,aiArrowRightFromSmartphone,aiArrowRightProhibited,aiArrowRightToBracket,aiArrowRightToFile,aiArrowRightToLine,aiArrowRight,aiArrowRotateRight,aiArrowUpRightFromSquare,aiArrowUpShortWide,aiArrowUpToCloud,aiArrowUpToLine,aiArrowUpWideShort,aiArrowUp,aiArrowsDownLeftRightUpCenter,aiArrowsRotateRight,aiAsterisk,aiAt,aiAzure,aiB,aiBackward,aiBarsStaggered,aiBars,aiBatteryCharging,aiBatteryEmpty,aiBatteryExclamation,aiBatteryFull,aiBatteryHalf,aiBatteryLow,aiBatteryQuarter,aiBatterySlash,aiBatteryThreeQuarter,aiBeer,aiBel,aiBicycle,aiBlf,aiBold,aiBolt,aiBookOpen,aiBook,aiBoxOpenFull,aiBox,aiBracketsCurly,aiBroom,aiBug,aiBuilding,aiC,aiCalculator,aiCalendarClock,aiCalendarDay,aiCalendarRangeClock,aiCalendarRange,aiCalendarStars,aiCalendarWeek,aiCalendar,aiCamera,aiCampfire,aiCarSide,aiCar,aiChainSlash,aiChain,aiChalkboardPerson,aiChangeWindows,aiChartPie,aiCheck,aiChevronDown,aiChevronLeft,aiChevronRight,aiChevronUp,aiChrome,aiCircleCheck,aiCircleDashed,aiCircleExclamation,aiCircleHalfInner,aiCircleHalf,aiCircleInfo,aiCirclePerson,aiCirclePlus,aiCircleQuestion,aiCircleXmark,aiCircle,aiCity,aiClipboard,aiClockRotateLeft,aiClock,aiCloudDrizzle,aiCloudFog,aiCloudHail,aiCloudLightning,aiCloudMoon,aiCloudRain,aiCloudSnow,aiCloudSun,aiCloud,aiCodeBranchUp,aiCodeBranch,aiCode,aiCodeblock,aiCoin,aiCommand,aiCompactDisc,aiCompare,aiCompassDrafting,aiCompass,aiCompress,aiComputerMouseScrollWheel,aiComputerMouse,aiCopy,aiCreditCard,aiCrop,aiCursor,aiD,aiDevices,aiDiceFive,aiDiceFour,aiDiceOne,aiDiceSix,aiDiceThree,aiDiceTwo,aiDice,aiDisplayCam,aiDisplay,aiDoor,aiDroplet,aiE,aiEarth,aiEclipse,aiEdge,aiEllipsisH,aiEllipsisV,aiEnvelopeOpen,aiEnvelope,aiEthernet,aiEuro,aiExpand,aiExport,aiEyeSlash,aiEye,aiF,aiFacebookMessenger,aiFacebook,aiFastBackward,aiFastForward,aiFax,aiFileAudio,aiFileExcel,aiFilePowerpoint,aiFileText,aiFileWord,aiFileZip,aiFile,aiFilesList,aiFiles,aiFilmstrip,aiFilterPlus,aiFilterXmark,aiFilter,aiFingerprint,aiFirefox,aiFlagCheckered,aiFlag,aiFlask,aiFloppyDisk,aiFolderImage,aiFolderMin,aiFolderOpen,aiFolderPlus,aiFolder,aiForward,aiFrame,aiG,aiGamepad,aiGauge,aiGear,aiGift,aiGithub,aiGlobe,aiGooglePlay,aiGrid,aiGripDotsV,aiGripDots,aiGripLines,aiH,aiHeading1,aiHeading2,aiHeading3,aiHeading4,aiHeading5,aiHeading6,aiHeadset,aiHeartCrack,aiHeartHalf,aiHeart,aiHorizontalLine,aiHourglassEmpty,aiHourglassEnd,aiHourglassHalf,aiHourglassStart,aiHouse,aiI,aiIcons,aiIdCard,aiImage,aiInstagram,aiItalic,aiJ,aiJesterHat,aiK,aiKey,aiKeyboardBrightnessHigh,aiKeyboardBrightnessLow,aiKeyboard,aiKite,aiL,aiLaptop,aiLaravel,aiLayersPlus,aiLayers,aiLifeRing,aiLightbulbOn,aiLightbulb,aiLine,aiLinkedin,aiListChecksXmark,aiListChecks,aiListClock,aiListOrderedClock,aiListOrdered,aiList,aiLoader,aiLocationPinDot,aiLocationPinSlash,aiLocationPin,aiLocationPinsRoute,aiLockOpen,aiLock,aiM,aiMagnifyingGlassMin,aiMagnifyingGlassPlus,aiMagnifyingGlass,aiMegaphone,aiMessagePen,aiMessageSmile,aiMessageText,aiMessage,aiMicrochip,aiMicrophone,aiMin,aiMoonCloud,aiMoon,aiMusicPause,aiMusic,aiN,aiNetwork,aiNext,aiNotes,aiNumpad,aiO,aiOption,aiP,aiPager,aiPaperPlane,aiPaper,aiParachuteBox,aiParagraph,aiPatreon,aiPause,aiPen,aiPeopleCircle,aiPeopleXmark,aiPeople,aiPersonClock,aiPersonGear,aiPersonHeadset,aiPersonList,aiPersonLock,aiPersonPlus,aiPersonXmark,aiPerson,aiPhoneArrowDownLeftProhibited,aiPhoneArrowDownLeft,aiPhoneArrowUpRightProhibited,aiPhoneArrowUpRight,aiPhoneClock,aiPhoneGear,aiPhoneList,aiPhoneOffice,aiPhoneVolume,aiPhone,aiPlane,aiPlanetRinged,aiPlateUtensils,aiPlayPause,aiPlay,aiPlus,aiPower,aiPrevious,aiPrinter,aiProhibited,aiPuzzlePiece,aiQ,aiQuote,aiR,aiReact,aiReceipt,aiRectangleP,aiRedo,aiRepeatOnce,aiRepeat,aiRoad,aiRocket,aiS,aiSafari,aiScouting,aiServer,aiShareNodes,aiShare,aiShieldKeyhole,aiShieldPlus,aiShieldXmark,aiShield,aiShoePrints,aiShoppingCart,aiShuffle,aiSidebarLeft,aiSidebarRight,aiSignature,aiSimCard,aiSippy,aiSliders,aiSmartphoneArrowRight,aiSmartphoneHinge,aiSmartphone,aiSnowflake,aiSpeakerGrill,aiSpinnerThird,aiSpinner,aiSpy,aiSquareDashed,aiSquareGum,aiSquare,aiStarHalf,aiStar,aiStarscout,aiStop,aiStopwatch,aiStore,aiStrikethrough,aiStudio384,aiSubscript,aiSunCloud,aiSun,aiSunrise,aiSunset,aiSuperscript,aiSwatchbook,aiT,aiTableCellMerge,aiTableClock,aiTableColumnInsertLeft,aiTableColumnInsertRight,aiTableColumnMin,aiTableHeaderCell,aiTableHeaderColumn,aiTableHeaderRow,aiTableMin,aiTableRowInsertBottom,aiTableRowInsertTop,aiTableRowMin,aiTable,aiTagGear,aiTagPlus,aiTag,aiTent,aiTerminal,aiThermometerEmpty,aiThermometerFull,aiThermometerHalf,aiThreads,aiThumbstackSlash,aiThumbstack,aiTicket,aiTiktok,aiToast,aiToggleOff,aiToggleOn,aiTowerBroadcast,aiTrainTrack,aiTranslate,aiTrashCan,aiTree,aiTrekkingBackpack,aiTriangleDashed,aiTriangleExclamation,aiTriangle,aiTrophy,aiTruckPickup,aiTruckTow,aiTwitter,aiU,aiUmbrella,aiUnderline,aiUndo,aiUniversalAccess,aiV,aiValkyrieSword,aiVideo,aiVirtualReality,aiVisualStudio,aiVoicemail,aiVolume0,aiVolume1,aiVolume2,aiVolume3,aiVolumeSlash,aiW,aiWallet,aiWallpaper,aiWaveform,aiWebhooksClock,aiWebhooks,aiWind,aiWindow,aiWindows,aiX,aiXbox,aiXmark,aiY,aiZ } from '@studio384/amaranth'; const icons = [ { @@ -1920,6 +1920,20 @@ const icons = [ slug: 'm', icon: aiM }, + { + component: 'aiMagnifyingGlassMin', + categories: ["maps"], + tags: ["search","zoom out"], + slug: 'magnifying-glass-min', + icon: aiMagnifyingGlassMin + }, + { + component: 'aiMagnifyingGlassPlus', + categories: ["maps"], + tags: ["search","zoom in"], + slug: 'magnifying-glass-plus', + icon: aiMagnifyingGlassPlus + }, { component: 'aiMagnifyingGlass', categories: ["maps"], diff --git a/icons/magnifying-glass-min.svg b/icons/magnifying-glass-min.svg new file mode 100644 index 00000000..cf044054 --- /dev/null +++ b/icons/magnifying-glass-min.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/magnifying-glass-plus.svg b/icons/magnifying-glass-plus.svg new file mode 100644 index 00000000..b9bcd8c0 --- /dev/null +++ b/icons/magnifying-glass-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/magnifying-glass.svg b/icons/magnifying-glass.svg index b35e3bf7..375b5615 100644 --- a/icons/magnifying-glass.svg +++ b/icons/magnifying-glass.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/Amicons.ts b/src/Amicons.ts index 6e0ebd18..a58480cc 100644 --- a/src/Amicons.ts +++ b/src/Amicons.ts @@ -1917,12 +1917,26 @@ export const aiM: { name: 'm', data: ``, }; +export const aiMagnifyingGlassMin: { + name: 'magnifying_glass_min'; + data: string; +} = { + name: 'magnifying_glass_min', + data: ``, +}; +export const aiMagnifyingGlassPlus: { + name: 'magnifying_glass_plus'; + data: string; +} = { + name: 'magnifying_glass_plus', + data: ``, +}; export const aiMagnifyingGlass: { name: 'magnifying_glass'; data: string; } = { name: 'magnifying_glass', - data: ``, + data: ``, }; export const aiMegaphone: { name: 'megaphone'; @@ -3522,6 +3536,8 @@ export type Amicons = | 'lock_open' | 'lock' | 'm' + | 'magnifying_glass_min' + | 'magnifying_glass_plus' | 'magnifying_glass' | 'megaphone' | 'message_pen' @@ -3993,6 +4009,8 @@ export const amiconSet = [ aiLockOpen, aiLock, aiM, + aiMagnifyingGlassMin, + aiMagnifyingGlassPlus, aiMagnifyingGlass, aiMegaphone, aiMessagePen,