diff --git a/packages/ui-icons/lib/icons/config.json b/packages/ui-icons/lib/icons/config.json index 33a8a89b..99e971db 100644 --- a/packages/ui-icons/lib/icons/config.json +++ b/packages/ui-icons/lib/icons/config.json @@ -134,5 +134,10 @@ "name": "IconKey", "title": "Key", "monotone": true + }, + "passkey": { + "name": "IconPasskey", + "title": "Passkey", + "monotone": true } } diff --git a/packages/ui-icons/lib/icons/svg/passkey.svg b/packages/ui-icons/lib/icons/svg/passkey.svg new file mode 100644 index 00000000..c114b1aa --- /dev/null +++ b/packages/ui-icons/lib/icons/svg/passkey.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/packages/ui-icons/src/components/Icons/IconPasskey.tsx b/packages/ui-icons/src/components/Icons/IconPasskey.tsx new file mode 100644 index 00000000..8d129355 --- /dev/null +++ b/packages/ui-icons/src/components/Icons/IconPasskey.tsx @@ -0,0 +1,49 @@ +/** + * This file was automatically generated. + * Please do not edit manually. + * + * To update this file, run `yarn build:icons`. + * + * Original name: passkey.svg + * + * Generator: Adobe Illustrator 28.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) + * + */ + +import { SvgIcon } from "@versini/ui-private"; + +import type { IconsProps } from "./IconsTypes"; + +export const IconPasskey = ({ + className, + viewBox, + spacing, + title, + monotone, + ...rest +}: IconsProps) => { + /* v8 ignore next 1 */ + const opacity = monotone ? "1" : "0.4"; + return ( + + + + + + + ); +}; diff --git a/packages/ui-icons/src/components/Icons/__tests__/Icons.test.tsx b/packages/ui-icons/src/components/Icons/__tests__/Icons.test.tsx index 06afe067..2c605cf9 100644 --- a/packages/ui-icons/src/components/Icons/__tests__/Icons.test.tsx +++ b/packages/ui-icons/src/components/Icons/__tests__/Icons.test.tsx @@ -20,6 +20,7 @@ import { IconKey, IconLocked, IconNext, + IconPasskey, IconPrevious, IconProfile, IconRefresh, @@ -281,6 +282,13 @@ describe("Generic Icons prop tests", () => { viewBox={viewBox} spacing={spacing} /> + , ); [ @@ -313,6 +321,7 @@ describe("Generic Icons prop tests", () => { "icon-refresh", "icon-locked", "icon-key", + "icon-passkey", ].forEach(async (dataTestId) => { await renderExpected({ dataTestId, diff --git a/packages/ui-icons/src/components/index.ts b/packages/ui-icons/src/components/index.ts index 5951c8a8..0c6a96fa 100644 --- a/packages/ui-icons/src/components/index.ts +++ b/packages/ui-icons/src/components/index.ts @@ -16,6 +16,7 @@ import { IconInfo } from "./Icons/IconInfo"; import { IconKey } from "./Icons/IconKey"; import { IconLocked } from "./Icons/IconLocked"; import { IconNext } from "./Icons/IconNext"; +import { IconPasskey } from "./Icons/IconPasskey"; import { IconPrevious } from "./Icons/IconPrevious"; import { IconProfile } from "./Icons/IconProfile"; import { IconRefresh } from "./Icons/IconRefresh"; @@ -48,6 +49,7 @@ export { IconKey, IconLocked, IconNext, + IconPasskey, IconPrevious, IconProfile, IconRefresh,