Skip to content

Commit 30e6700

Browse files
authored
feat(icon): add mobile, desktop, link and bulb icon (#1123)
* feat(icon): add mobile, desktop and bulb icon * feat(icon): add link icon
1 parent eb1235f commit 30e6700

File tree

7 files changed

+93
-5
lines changed

7 files changed

+93
-5
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* eslint-disable */
2+
/* auto-generated file */
3+
import React, { ComponentProps, FC } from "react";
4+
import { IconBulb as Tabler } from "@tabler/icons-react";
5+
import { Icon } from "@/components/Icon";
6+
7+
export const IconBulb: FC<Omit<ComponentProps<typeof Icon>, "children">> = (
8+
props,
9+
) => (
10+
<Icon {...props}>
11+
<Tabler />
12+
</Icon>
13+
);
14+
15+
export default IconBulb;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* eslint-disable */
2+
/* auto-generated file */
3+
import React, { ComponentProps, FC } from "react";
4+
import { IconDeviceImac as Tabler } from "@tabler/icons-react";
5+
import { Icon } from "@/components/Icon";
6+
7+
export const IconDesktop: FC<Omit<ComponentProps<typeof Icon>, "children">> = (
8+
props,
9+
) => (
10+
<Icon {...props}>
11+
<Tabler />
12+
</Icon>
13+
);
14+
15+
export default IconDesktop;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* eslint-disable */
2+
/* auto-generated file */
3+
import React, { ComponentProps, FC } from "react";
4+
import { IconLink as Tabler } from "@tabler/icons-react";
5+
import { Icon } from "@/components/Icon";
6+
7+
export const IconLink: FC<Omit<ComponentProps<typeof Icon>, "children">> = (
8+
props,
9+
) => (
10+
<Icon {...props}>
11+
<Tabler />
12+
</Icon>
13+
);
14+
15+
export default IconLink;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* eslint-disable */
2+
/* auto-generated file */
3+
import React, { ComponentProps, FC } from "react";
4+
import { IconDeviceMobile as Tabler } from "@tabler/icons-react";
5+
import { Icon } from "@/components/Icon";
6+
7+
export const IconMobile: FC<Omit<ComponentProps<typeof Icon>, "children">> = (
8+
props,
9+
) => (
10+
<Icon {...props}>
11+
<Tabler />
12+
</Icon>
13+
);
14+
15+
export default IconMobile;

packages/components/src/components/Icon/components/icons/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export { IconApp } from "./IconApp";
44
export { IconAutoresponder } from "./IconAutoresponder";
55
export { IconBackLink } from "./IconBackLink";
66
export { IconBackup } from "./IconBackup";
7+
export { IconBulb } from "./IconBulb";
78
export { IconCamera } from "./IconCamera";
89
export { IconChangelog } from "./IconChangelog";
910
export { IconCertificate } from "./IconCertificate";
@@ -28,6 +29,7 @@ export { IconCustomer } from "./IconCustomer";
2829
export { IconDanger } from "./IconDanger";
2930
export { IconDashboard } from "./IconDashboard";
3031
export { IconDatabase } from "./IconDatabase";
32+
export { IconDesktop } from "./IconDesktop";
3133
export { IconDirectory } from "./IconDirectory";
3234
export { IconCalendar } from "./IconCalendar";
3335
export { IconDelete } from "./IconDelete";
@@ -48,13 +50,15 @@ export { IconImage } from "./IconImage";
4850
export { IconInfo } from "./IconInfo";
4951
export { IconInbox } from "./IconInbox";
5052
export { IconInvoice } from "./IconInvoice";
53+
export { IconLink } from "./IconLink";
5154
export { IconLock } from "./IconLock";
5255
export { IconLockOpen } from "./IconLockOpen";
5356
export { IconLogout } from "./IconLogout";
5457
export { IconMaximize } from "./IconMaximize";
5558
export { IconMember } from "./IconMember";
5659
export { IconMenu } from "./IconMenu";
5760
export { IconMinimize } from "./IconMinimize";
61+
export { IconMobile } from "./IconMobile";
5862
export { IconMove } from "./IconMove";
5963
export { IconMinus } from "./IconMinus";
6064
export { IconNotification } from "./IconNotification";

packages/components/src/components/Icon/icons.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ App: AppWindow
22
Autoresponder: ArrowBackUpDouble
33
BackLink: ArrowLeft
44
Backup: History
5+
Bulb: Bulb
56
Camera: Camera
67
Changelog: ClipboardList
78
Certificate: FileCertificate
@@ -26,6 +27,7 @@ Customer: Building
2627
Danger: AlertTriangle
2728
Dashboard: BorderAll
2829
Database: Database
30+
Desktop: DeviceImac
2931
Directory: Folder
3032
Calendar: Calendar
3133
Delete: Trash
@@ -46,13 +48,15 @@ Image: Photo
4648
Info: InfoCircle
4749
Inbox: Inbox
4850
Invoice: FileEuro
51+
Link: Link
4952
Lock: Lock
5053
LockOpen: LockOpen
5154
Logout: Power
5255
Maximize: Maximize
5356
Member: UsersGroup
5457
Menu: Menu2
5558
Minimize: Minimize
59+
Mobile: DeviceMobile
5660
Move: TruckDelivery
5761
Minus: Minus
5862
Notification: Bell

packages/docs/src/content/03-components/content/icon/examples/decorative.tsx

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ import {
22
IconApp,
33
IconAutoresponder,
44
IconBackup,
5+
IconBulb,
56
IconCalendar,
67
IconCamera,
8+
IconCertificate,
79
IconChangelog,
810
IconClock,
911
IconContract,
@@ -13,14 +15,20 @@ import {
1315
IconDashboard,
1416
IconDatabase,
1517
IconDeliveryBox,
18+
IconDesktop,
19+
IconDirectory,
1620
IconDomain,
1721
IconEmail,
1822
IconExtension,
23+
IconFile,
1924
IconForward,
2025
IconInbox,
2126
IconInvoice,
27+
IconLink,
2228
IconMember,
2329
IconMittwald,
30+
IconMobile,
31+
IconMove,
2432
IconNumber,
2533
IconOrder,
2634
IconPassword,
@@ -32,6 +40,7 @@ import {
3240
IconServer,
3341
IconSpamProtectionOff,
3442
IconSpamProtectionOn,
43+
IconSparkles,
3544
IconSshKey,
3645
IconSshSftp,
3746
IconStar,
@@ -41,12 +50,7 @@ import {
4150
IconTerminate,
4251
IconTicket,
4352
IconUser,
44-
IconMove,
4553
IconVhost,
46-
IconCertificate,
47-
IconSparkles,
48-
IconDirectory,
49-
IconFile,
5054
} from "@mittwald/flow-react-components/Icons";
5155
import Label from "@mittwald/flow-react-components/Label";
5256
import LabeledValue from "@mittwald/flow-react-components/LabeledValue";
@@ -245,4 +249,20 @@ import ColumnLayout from "@mittwald/flow-react-components/ColumnLayout";
245249
<Label>Password</Label>
246250
<IconPassword />
247251
</LabeledValue>
252+
<LabeledValue>
253+
<Label>Desktop</Label>
254+
<IconDesktop />
255+
</LabeledValue>
256+
<LabeledValue>
257+
<Label>Mobile</Label>
258+
<IconMobile />
259+
</LabeledValue>
260+
<LabeledValue>
261+
<Label>Bulb</Label>
262+
<IconBulb />
263+
</LabeledValue>
264+
<LabeledValue>
265+
<Label>Link</Label>
266+
<IconLink />
267+
</LabeledValue>
248268
</ColumnLayout>;

0 commit comments

Comments
 (0)