From 791a0945d2482f49feccd48e1b785f83b3277df4 Mon Sep 17 00:00:00 2001 From: Byron Wall <87667330+ByronDWall@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:59:33 -0500 Subject: [PATCH] feat(icons): add IconFrontendStudio and IconPrivacyPolicy, update IconGraduationCap (#3028) --- .changeset/slow-ties-march.md | 5 ++ .../FrontendStudioReact/package.json | 4 ++ .../generated/PrivacyPolicyReact/package.json | 4 ++ .../src/generated/FrontendStudioReact.tsx | 52 +++++++++++++++++++ .../src/generated/GraduationCapReact.tsx | 6 ++- .../src/generated/PrivacyPolicyReact.tsx | 38 ++++++++++++++ .../components/icons/src/generated/index.ts | 2 + .../icons/src/svg/frontend-studio.react.svg | 5 ++ .../icons/src/svg/graduation-cap.react.svg | 5 +- .../icons/src/svg/privacy-policy.react.svg | 3 ++ 10 files changed, 121 insertions(+), 3 deletions(-) create mode 100644 .changeset/slow-ties-march.md create mode 100644 packages/components/icons/generated/FrontendStudioReact/package.json create mode 100644 packages/components/icons/generated/PrivacyPolicyReact/package.json create mode 100644 packages/components/icons/src/generated/FrontendStudioReact.tsx create mode 100644 packages/components/icons/src/generated/PrivacyPolicyReact.tsx create mode 100644 packages/components/icons/src/svg/frontend-studio.react.svg create mode 100644 packages/components/icons/src/svg/privacy-policy.react.svg diff --git a/.changeset/slow-ties-march.md b/.changeset/slow-ties-march.md new file mode 100644 index 0000000000..3dc5a9e47b --- /dev/null +++ b/.changeset/slow-ties-march.md @@ -0,0 +1,5 @@ +--- +'@commercetools-uikit/icons': minor +--- + +Adds IconFrontendStudio and IconPrivacyPolicy, updates IconGraduationCap in Icons package. diff --git a/packages/components/icons/generated/FrontendStudioReact/package.json b/packages/components/icons/generated/FrontendStudioReact/package.json new file mode 100644 index 0000000000..f61fbfbfea --- /dev/null +++ b/packages/components/icons/generated/FrontendStudioReact/package.json @@ -0,0 +1,4 @@ +{ + "main": "dist/commercetools-uikit-icons-generated-FrontendStudioReact.cjs.js", + "module": "dist/commercetools-uikit-icons-generated-FrontendStudioReact.esm.js" +} diff --git a/packages/components/icons/generated/PrivacyPolicyReact/package.json b/packages/components/icons/generated/PrivacyPolicyReact/package.json new file mode 100644 index 0000000000..a5434e0583 --- /dev/null +++ b/packages/components/icons/generated/PrivacyPolicyReact/package.json @@ -0,0 +1,4 @@ +{ + "main": "dist/commercetools-uikit-icons-generated-PrivacyPolicyReact.cjs.js", + "module": "dist/commercetools-uikit-icons-generated-PrivacyPolicyReact.esm.js" +} diff --git a/packages/components/icons/src/generated/FrontendStudioReact.tsx b/packages/components/icons/src/generated/FrontendStudioReact.tsx new file mode 100644 index 0000000000..e95dbb45fe --- /dev/null +++ b/packages/components/icons/src/generated/FrontendStudioReact.tsx @@ -0,0 +1,52 @@ +// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +// This file is created with 'yarn generate-icons'. +// Original SVG file: src/svg/frontend-studio.react.svg +import { ClassNames } from '@emotion/react'; +import { + getIconStyles, + type TIconProps, + type TSVGProps, +} from '@commercetools-uikit/design-system'; +const SvgFrontendStudio = (props: TSVGProps) => ( + +); +SvgFrontendStudio.displayName = 'SvgFrontendStudio'; +const FrontendStudioIcon = (props: TIconProps) => ( + + {({ css: createClass }) => ( + + )} + +); +FrontendStudioIcon.displayName = 'FrontendStudioIcon'; +export default FrontendStudioIcon; diff --git a/packages/components/icons/src/generated/GraduationCapReact.tsx b/packages/components/icons/src/generated/GraduationCapReact.tsx index 3548d97b9d..0a09133de3 100644 --- a/packages/components/icons/src/generated/GraduationCapReact.tsx +++ b/packages/components/icons/src/generated/GraduationCapReact.tsx @@ -12,11 +12,15 @@ const SvgGraduationCap = (props: TSVGProps) => ( xmlns="http://www.w3.org/2000/svg" width={24} height={24} + fill="none" viewBox="0 0 24 24" aria-hidden="true" {...props} > - + ); SvgGraduationCap.displayName = 'SvgGraduationCap'; diff --git a/packages/components/icons/src/generated/PrivacyPolicyReact.tsx b/packages/components/icons/src/generated/PrivacyPolicyReact.tsx new file mode 100644 index 0000000000..9fb08581ca --- /dev/null +++ b/packages/components/icons/src/generated/PrivacyPolicyReact.tsx @@ -0,0 +1,38 @@ +// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +// This file is created with 'yarn generate-icons'. +// Original SVG file: src/svg/privacy-policy.react.svg +import { ClassNames } from '@emotion/react'; +import { + getIconStyles, + type TIconProps, + type TSVGProps, +} from '@commercetools-uikit/design-system'; +const SvgPrivacyPolicy = (props: TSVGProps) => ( + +); +SvgPrivacyPolicy.displayName = 'SvgPrivacyPolicy'; +const PrivacyPolicyIcon = (props: TIconProps) => ( + + {({ css: createClass }) => ( + + )} + +); +PrivacyPolicyIcon.displayName = 'PrivacyPolicyIcon'; +export default PrivacyPolicyIcon; diff --git a/packages/components/icons/src/generated/index.ts b/packages/components/icons/src/generated/index.ts index 9c98aaac27..0bd0fcad3c 100644 --- a/packages/components/icons/src/generated/index.ts +++ b/packages/components/icons/src/generated/index.ts @@ -69,6 +69,7 @@ export { default as FlagFilledIcon } from './FlagFilledReact'; export { default as FlagLinearIcon } from './FlagLinearReact'; export { default as FlameIcon } from './FlameReact'; export { default as FractionDigitsIcon } from './FractionDigitsReact'; +export { default as FrontendStudioIcon } from './FrontendStudioReact'; export { default as GearIcon } from './GearReact'; export { default as GraduationCapIcon } from './GraduationCapReact'; export { default as GraphIcon } from './GraphReact'; @@ -100,6 +101,7 @@ export { default as PinLinearIcon } from './PinLinearReact'; export { default as PluginIcon } from './PluginReact'; export { default as PlusBoldIcon } from './PlusBoldReact'; export { default as PlusThinIcon } from './PlusThinReact'; +export { default as PrivacyPolicyIcon } from './PrivacyPolicyReact'; export { default as RefreshIcon } from './RefreshReact'; export { default as RestoreIcon } from './RestoreReact'; export { default as RevertIcon } from './RevertReact'; diff --git a/packages/components/icons/src/svg/frontend-studio.react.svg b/packages/components/icons/src/svg/frontend-studio.react.svg new file mode 100644 index 0000000000..a695d45afd --- /dev/null +++ b/packages/components/icons/src/svg/frontend-studio.react.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/components/icons/src/svg/graduation-cap.react.svg b/packages/components/icons/src/svg/graduation-cap.react.svg index a55492a4a6..931b3ad898 100644 --- a/packages/components/icons/src/svg/graduation-cap.react.svg +++ b/packages/components/icons/src/svg/graduation-cap.react.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/packages/components/icons/src/svg/privacy-policy.react.svg b/packages/components/icons/src/svg/privacy-policy.react.svg new file mode 100644 index 0000000000..c0086b375a --- /dev/null +++ b/packages/components/icons/src/svg/privacy-policy.react.svg @@ -0,0 +1,3 @@ + + +