Skip to content

Commit e4d4741

Browse files
authored
Merge pull request #1638 from Wizleap-Inc/feat/icon-flag2
feat: アイコン追加(Flag2Bold, Flag2Filled, Call)
2 parents 79b2bb8 + 61d4de0 commit e4d4741

13 files changed

Lines changed: 144 additions & 0 deletions

File tree

.changeset/wide-shirts-tan.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@wizleap-inc/wiz-ui-react": minor
3+
"@wizleap-inc/wiz-ui-next": minor
4+
"@wizleap-inc/wiz-ui-constants": minor
5+
"@wizleap-inc/wiz-ui-icons": minor
6+
---
7+
8+
Icon の追加 (Flag2Bold, Flag2Filled, Call)

packages/constants/component/icon-name.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const IconComponentName = {
2525
ICalendarMonthBold: "WizICalendarMonthBold",
2626
ICalendar: "WizICalendar",
2727
ICallBold: "WizICallBold",
28+
ICall: "WizICall",
2829
ICamera: "WizICamera",
2930
ICancelBold: "WizICancelBold",
3031
ICancel: "WizICancel",
@@ -94,6 +95,8 @@ export const IconComponentName = {
9495
IEye: "WizIEye",
9596
IFamilyHome: "WizIFamilyHome",
9697
IFeedback: "WizIFeedback",
98+
IFlag2Bold: "WizIFlag2Bold",
99+
IFlag2Filled: "WizIFlag2Filled",
97100
IFolderBold: "WizIFolderBold",
98101
IFolderFilled: "WizIFolderFilled",
99102
IFolderSharedBold: "WizIFolderSharedBold",

packages/icons/assets/call.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<template>
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
height="1em"
5+
viewBox="0 -960 960 960"
6+
width="1em"
7+
>
8+
<path
9+
d="M757.23-160q-101.15 0-207.38-50.65-106.23-50.66-197.39-142.2-91.15-91.53-141.81-197.38Q160-656.08 160-757.23q0-18.33 12-30.55Q184-800 202-800h98.92q16.31 0 28.46 10.27 12.16 10.27 16.47 26.35L365.69-668q2.77 16.77-1 29.31t-13.31 20.54l-87.76 81.84q24.61 44.69 54.42 83.04 29.81 38.35 63.58 72.65 34.84 34.85 75 64.81 40.15 29.96 88.15 56.58l85.54-87.08q9.77-10.54 21.96-13.88 12.19-3.35 26.96-1.35l84.15 17.23q16.31 4 26.47 16.43Q800-315.46 800-299.38V-202q0 18-12.22 30t-30.55 12ZM244.85-573.85l76.77-70.61q3.84-3.08 5-8.46 1.15-5.39-.39-10l-17.77-84.77q-1.54-6.16-5.38-9.23-3.85-3.08-10-3.08H211q-4.62 0-7.69 3.08-3.08 3.07-3.08 7.69 1.15 41 12.85 85.61 11.69 44.62 31.77 89.77Zm338 333.39q40.53 20.08 86.42 29.69 45.88 9.62 79.96 10.31 4.62 0 7.69-3.08 3.08-3.08 3.08-7.69v-80.31q0-6.15-3.08-10-3.07-3.84-9.23-5.38l-74-15.16q-4.61-1.54-8.07-.38-3.47 1.15-7.31 5l-75.46 77Zm-338-333.39Zm338 333.39Z"
10+
/>
11+
</svg>
12+
</template>
13+
14+
<script setup lang="ts">
15+
import { ComponentName } from "@wizleap-inc/wiz-ui-constants";
16+
17+
defineOptions({
18+
name: ComponentName.ICall,
19+
});
20+
</script>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<template>
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
height="1em"
5+
viewBox="0 -960 960 960"
6+
width="1em"
7+
>
8+
<path
9+
d="M200-80v-760h640l-80 200 80 200H280v360h-80Zm80-440h442l-48-120 48-120H280v240Zm0 0v-240 240Z"
10+
/>
11+
</svg>
12+
</template>
13+
14+
<script setup lang="ts">
15+
import { ComponentName } from "@wizleap-inc/wiz-ui-constants";
16+
17+
defineOptions({
18+
name: ComponentName.IFlag2Bold,
19+
});
20+
</script>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<template>
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
height="1em"
5+
viewBox="0 -960 960 960"
6+
width="1em"
7+
>
8+
<path d="M200-80v-760h640l-80 200 80 200H280v360h-80Z" />
9+
</svg>
10+
</template>
11+
12+
<script setup lang="ts">
13+
import { ComponentName } from "@wizleap-inc/wiz-ui-constants";
14+
15+
defineOptions({
16+
name: ComponentName.IFlag2Filled,
17+
});
18+
</script>

packages/wiz-ui-next/src/components/icons/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import { default as WizIBusinessCenter } from "./business-center.vue";
2424
import { default as WizICalendarMonthBold } from "./calendar-month-bold.vue";
2525
import { default as WizICalendar } from "./calendar.vue";
2626
import { default as WizICallBold } from "./call-bold.vue";
27+
import { default as WizICall } from "./call.vue";
2728
import { default as WizICamera } from "./camera.vue";
2829
import { default as WizICancelBold } from "./cancel-bold.vue";
2930
import { default as WizICancel } from "./cancel.vue";
@@ -93,6 +94,8 @@ import { default as WizIExpandMore } from "./expand-more.vue";
9394
import { default as WizIEye } from "./eye.vue";
9495
import { default as WizIFamilyHome } from "./family-home.vue";
9596
import { default as WizIFeedback } from "./feedback.vue";
97+
import { default as WizIFlag2Bold } from "./flag-2-bold.vue";
98+
import { default as WizIFlag2Filled } from "./flag-2-filled.vue";
9699
import { default as WizIFolderBold } from "./folder-bold.vue";
97100
import { default as WizIFolderFilled } from "./folder-filled.vue";
98101
import { default as WizIFolderSharedBold } from "./folder-shared-bold.vue";
@@ -208,6 +211,7 @@ export type TIcon =
208211
| typeof WizICalendarMonthBold
209212
| typeof WizICalendar
210213
| typeof WizICallBold
214+
| typeof WizICall
211215
| typeof WizICamera
212216
| typeof WizICancelBold
213217
| typeof WizICancel
@@ -277,6 +281,8 @@ export type TIcon =
277281
| typeof WizIEye
278282
| typeof WizIFamilyHome
279283
| typeof WizIFeedback
284+
| typeof WizIFlag2Bold
285+
| typeof WizIFlag2Filled
280286
| typeof WizIFolderBold
281287
| typeof WizIFolderFilled
282288
| typeof WizIFolderSharedBold
@@ -392,6 +398,7 @@ export {
392398
WizICalendarMonthBold,
393399
WizICalendar,
394400
WizICallBold,
401+
WizICall,
395402
WizICamera,
396403
WizICancelBold,
397404
WizICancel,
@@ -461,6 +468,8 @@ export {
461468
WizIEye,
462469
WizIFamilyHome,
463470
WizIFeedback,
471+
WizIFlag2Bold,
472+
WizIFlag2Filled,
464473
WizIFolderBold,
465474
WizIFolderFilled,
466475
WizIFolderSharedBold,
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { CSSProperties } from "react";
2+
type Props = {
3+
className?: string;
4+
style?: CSSProperties;
5+
};
6+
export const WizICall = ({ className, style }: Props) => (
7+
<svg
8+
className={className}
9+
style={style}
10+
xmlns="http://www.w3.org/2000/svg"
11+
height="1em"
12+
viewBox="0 -960 960 960"
13+
width="1em"
14+
>
15+
<path d="M757.23-160q-101.15 0-207.38-50.65-106.23-50.66-197.39-142.2-91.15-91.53-141.81-197.38Q160-656.08 160-757.23q0-18.33 12-30.55Q184-800 202-800h98.92q16.31 0 28.46 10.27 12.16 10.27 16.47 26.35L365.69-668q2.77 16.77-1 29.31t-13.31 20.54l-87.76 81.84q24.61 44.69 54.42 83.04 29.81 38.35 63.58 72.65 34.84 34.85 75 64.81 40.15 29.96 88.15 56.58l85.54-87.08q9.77-10.54 21.96-13.88 12.19-3.35 26.96-1.35l84.15 17.23q16.31 4 26.47 16.43Q800-315.46 800-299.38V-202q0 18-12.22 30t-30.55 12ZM244.85-573.85l76.77-70.61q3.84-3.08 5-8.46 1.15-5.39-.39-10l-17.77-84.77q-1.54-6.16-5.38-9.23-3.85-3.08-10-3.08H211q-4.62 0-7.69 3.08-3.08 3.07-3.08 7.69 1.15 41 12.85 85.61 11.69 44.62 31.77 89.77Zm338 333.39q40.53 20.08 86.42 29.69 45.88 9.62 79.96 10.31 4.62 0 7.69-3.08 3.08-3.08 3.08-7.69v-80.31q0-6.15-3.08-10-3.07-3.84-9.23-5.38l-74-15.16q-4.61-1.54-8.07-.38-3.47 1.15-7.31 5l-75.46 77Zm-338-333.39Zm338 333.39Z" />
16+
</svg>
17+
);
18+
WizICall.displayName = "WizICall";

0 commit comments

Comments
 (0)