From 648c0ae19468a816a47e5d7c403d02fa798271c2 Mon Sep 17 00:00:00 2001 From: ssong10 Date: Fri, 23 Aug 2024 16:05:23 +0900 Subject: [PATCH 1/2] feat: add person2 icons --- .../assets/icons/Person2/Fill.svg | 5 ++++ .../assets/icons/Person2/Regular.svg | 5 ++++ .../assets/icons/Person2/Thin.svg | 5 ++++ .../src/lib/Icon/generated/Person2/Fill.tsx | 17 +++++++++++ .../lib/Icon/generated/Person2/Regular.tsx | 29 +++++++++++++++++++ .../src/lib/Icon/generated/Person2/Thin.tsx | 29 +++++++++++++++++++ .../src/lib/Icon/generated/Person2/index.ts | 3 ++ .../src/lib/Icon/generated/index.ts | 1 + 8 files changed, 94 insertions(+) create mode 100644 packages/vibrant-icons/assets/icons/Person2/Fill.svg create mode 100644 packages/vibrant-icons/assets/icons/Person2/Regular.svg create mode 100644 packages/vibrant-icons/assets/icons/Person2/Thin.svg create mode 100644 packages/vibrant-icons/src/lib/Icon/generated/Person2/Fill.tsx create mode 100644 packages/vibrant-icons/src/lib/Icon/generated/Person2/Regular.tsx create mode 100644 packages/vibrant-icons/src/lib/Icon/generated/Person2/Thin.tsx create mode 100644 packages/vibrant-icons/src/lib/Icon/generated/Person2/index.ts diff --git a/packages/vibrant-icons/assets/icons/Person2/Fill.svg b/packages/vibrant-icons/assets/icons/Person2/Fill.svg new file mode 100644 index 000000000..97da037c1 --- /dev/null +++ b/packages/vibrant-icons/assets/icons/Person2/Fill.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/vibrant-icons/assets/icons/Person2/Regular.svg b/packages/vibrant-icons/assets/icons/Person2/Regular.svg new file mode 100644 index 000000000..68929ebb4 --- /dev/null +++ b/packages/vibrant-icons/assets/icons/Person2/Regular.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/vibrant-icons/assets/icons/Person2/Thin.svg b/packages/vibrant-icons/assets/icons/Person2/Thin.svg new file mode 100644 index 000000000..d65bbaab5 --- /dev/null +++ b/packages/vibrant-icons/assets/icons/Person2/Thin.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/vibrant-icons/src/lib/Icon/generated/Person2/Fill.tsx b/packages/vibrant-icons/src/lib/Icon/generated/Person2/Fill.tsx new file mode 100644 index 000000000..ba0bc8c95 --- /dev/null +++ b/packages/vibrant-icons/src/lib/Icon/generated/Person2/Fill.tsx @@ -0,0 +1,17 @@ +import { Svg } from '@vibrant-ui/core'; +import type { IconComponent, IconProps } from '../../IconProp'; + +export const Fill: IconComponent = ({ + size = 24, + fill = 'onColor', + testId = 'person2-fill', + ...props +}) => ( + + + + + +); + +Fill.iconType = 'Fill'; diff --git a/packages/vibrant-icons/src/lib/Icon/generated/Person2/Regular.tsx b/packages/vibrant-icons/src/lib/Icon/generated/Person2/Regular.tsx new file mode 100644 index 000000000..53748529d --- /dev/null +++ b/packages/vibrant-icons/src/lib/Icon/generated/Person2/Regular.tsx @@ -0,0 +1,29 @@ +import { Svg } from '@vibrant-ui/core'; +import type { IconComponent, IconProps } from '../../IconProp'; + +export const Regular: IconComponent = ({ + size = 24, + fill = 'onColor', + testId = 'person2-regular', + ...props +}) => ( + + + + + +); + +Regular.iconType = 'Regular'; diff --git a/packages/vibrant-icons/src/lib/Icon/generated/Person2/Thin.tsx b/packages/vibrant-icons/src/lib/Icon/generated/Person2/Thin.tsx new file mode 100644 index 000000000..8dbfd2d20 --- /dev/null +++ b/packages/vibrant-icons/src/lib/Icon/generated/Person2/Thin.tsx @@ -0,0 +1,29 @@ +import { Svg } from '@vibrant-ui/core'; +import type { IconComponent, IconProps } from '../../IconProp'; + +export const Thin: IconComponent = ({ + size = 24, + fill = 'onColor', + testId = 'person2-thin', + ...props +}) => ( + + + + + +); + +Thin.iconType = 'Thin'; diff --git a/packages/vibrant-icons/src/lib/Icon/generated/Person2/index.ts b/packages/vibrant-icons/src/lib/Icon/generated/Person2/index.ts new file mode 100644 index 000000000..13cf66c04 --- /dev/null +++ b/packages/vibrant-icons/src/lib/Icon/generated/Person2/index.ts @@ -0,0 +1,3 @@ +export { Fill } from './Fill'; +export { Regular } from './Regular'; +export { Thin } from './Thin'; diff --git a/packages/vibrant-icons/src/lib/Icon/generated/index.ts b/packages/vibrant-icons/src/lib/Icon/generated/index.ts index 7d2daf109..a58b8bcd4 100644 --- a/packages/vibrant-icons/src/lib/Icon/generated/index.ts +++ b/packages/vibrant-icons/src/lib/Icon/generated/index.ts @@ -126,6 +126,7 @@ export * as Paper3 from './Paper3'; export * as Pause from './Pause'; export * as PauseCircle from './PauseCircle'; export * as Person from './Person'; +export * as Person2 from './Person2'; export * as Phone from './Phone'; export * as Photo from './Photo'; export * as PhotoAdd from './PhotoAdd'; From a94fac904bb481cfb06c2a1927a84a991e24cecf Mon Sep 17 00:00:00 2001 From: ssong10 Date: Fri, 23 Aug 2024 17:43:34 +0900 Subject: [PATCH 2/2] feat: icon spec snapshot --- .../lib/Icon/__snapshots__/Icon.spec.tsx.snap | 198 ++++++++++++++++++ 1 file changed, 198 insertions(+) diff --git a/packages/vibrant-icons/src/lib/Icon/__snapshots__/Icon.spec.tsx.snap b/packages/vibrant-icons/src/lib/Icon/__snapshots__/Icon.spec.tsx.snap index a527ac445..741a39cf8 100644 --- a/packages/vibrant-icons/src/lib/Icon/__snapshots__/Icon.spec.tsx.snap +++ b/packages/vibrant-icons/src/lib/Icon/__snapshots__/Icon.spec.tsx.snap @@ -21204,6 +21204,204 @@ exports[` when Person.Thin Icon rendered match snapshot 1`] = ` `; +exports[` when Person2.Fill Icon rendered match snapshot 1`] = ` +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; + width: 24px; + height: 24px; + fill: #0c0c0c; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; +} + +
+ + + + + +
+`; + +exports[` when Person2.Regular Icon rendered match snapshot 1`] = ` +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; + width: 24px; + height: 24px; + fill: #0c0c0c; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; +} + +
+ + + + + +
+`; + +exports[` when Person2.Thin Icon rendered match snapshot 1`] = ` +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; + width: 24px; + height: 24px; + fill: #0c0c0c; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; +} + +
+ + + + + +
+`; + exports[` when Phone.Fill Icon rendered match snapshot 1`] = ` .emotion-0 { display: -webkit-box;