Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [IOBP-223] Import new keyboard and contactless icons #73

Merged
merged 3 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/components/icons/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,12 @@ import IconOption from "./svg/IconOption";
import IconKey from "./svg/IconKey";
import IconNotification from "./svg/IconNotification";
import IconChange from "./svg/IconChange";
import IconDialpad from "./svg/IconDialpad";
import LegIconCheckOff from "./svg/LegIconCheckOff";
import LegIconCheckOn from "./svg/LegIconCheckOn";
import LegIconRadioOff from "./svg/LegIconRadioOff";
import LegIconRadioOn from "./svg/LegIconRadioOn";
import IconKeyboard from "./svg/IconKeyboard";
import IconContactless from "./svg/IconContactless";

export const IOIcons = {
archive: IconArchive,
Expand Down Expand Up @@ -237,8 +238,9 @@ export const IOIcons = {
starEmpty: IconStarEmpty,
switchOff: IconSwitchOff,
device: IconDevice,
contactless: IconContactless,
notification: IconNotification,
dialpad: IconDialpad,
keyboard: IconKeyboard,
dotMenu: IconDotMenu,
barcode: IconBarcode,
save: IconSave,
Expand Down
16 changes: 16 additions & 0 deletions src/components/icons/svg/IconContactless.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from "react";
import { Svg, Path } from "react-native-svg";
import { SVGIconProps } from "../Icon";

const IconContactless = ({ size, style, ...props }: SVGIconProps) => (
<Svg width={size} height={size} viewBox="0 0 24 24" style={style} {...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M17.4936 0.391611C17.1576 -0.046682 16.5299 -0.129581 16.0916 0.206451C15.6533 0.542483 15.5704 1.1702 15.9064 1.60849C18.0423 4.39441 19.0001 7.59351 19.0001 12.0001C19.0001 16.4066 18.0423 19.6057 15.9064 22.3916C15.5704 22.8299 15.6533 23.4576 16.0916 23.7937C16.5299 24.1297 17.1576 24.0468 17.4936 23.6085C19.9577 20.3944 21.0001 16.7355 21.0001 12.0001C21.0001 7.26465 19.9578 3.60569 17.4936 0.391611ZM12.8001 2.40006C12.4687 1.95823 11.8419 1.86869 11.4001 2.20006C10.9582 2.53143 10.8687 3.15823 11.2001 3.60006C12.2687 5.02488 12.9566 6.25335 13.385 7.53842C13.8133 8.8235 14.0001 10.219 14.0001 12.0001C14.0001 13.7811 13.8133 15.1766 13.385 16.4617C12.9566 17.7468 12.2687 18.9752 11.2001 20.4001C10.8687 20.8419 10.9582 21.4687 11.4001 21.8001C11.8419 22.1314 12.4687 22.0419 12.8001 21.6001C13.9543 20.061 14.7664 18.6419 15.2823 17.0942C15.7982 15.5464 16.0001 13.9239 16.0001 12.0001C16.0001 10.0762 15.7982 8.45372 15.2823 6.90597C14.7664 5.35822 13.9543 3.93911 12.8001 2.40006ZM7.40006 5.20006C7.84189 4.86869 8.46869 4.95823 8.80006 5.40006C9.58386 6.44513 10.1459 7.42298 10.5045 8.49859C10.863 9.5742 11.0001 10.6937 11.0001 12.0001C11.0001 13.3064 10.863 14.4259 10.5045 15.5015C10.1459 16.5771 9.58386 17.555 8.80006 18.6001C8.46869 19.0419 7.84189 19.1314 7.40006 18.8001C6.95823 18.4687 6.86869 17.8419 7.20006 17.4001C7.89819 16.4692 8.33612 15.682 8.6071 14.8691C8.87808 14.0561 9.00006 13.1636 9.00006 12.0001C9.00006 10.8365 8.87808 9.94398 8.6071 9.13104C8.33612 8.31811 7.89819 7.5309 7.20006 6.60006C6.86869 6.15823 6.95823 5.53143 7.40006 5.20006ZM4.80006 8.40006C4.46869 7.95823 3.84189 7.86869 3.40006 8.20006C2.95823 8.53143 2.86869 9.15823 3.20006 9.60006C3.52771 10.0369 3.71564 10.3829 3.82924 10.7237C3.94284 11.0645 4.00006 11.454 4.00006 12.0001C4.00006 12.5461 3.94284 12.9357 3.82924 13.2765C3.71564 13.6173 3.52771 13.9632 3.20006 14.4001C2.86869 14.8419 2.95823 15.4687 3.40006 15.8001C3.84189 16.1314 4.46869 16.0419 4.80006 15.6001C5.21338 15.049 5.52545 14.5124 5.7266 13.9089C5.92776 13.3054 6.00006 12.6889 6.00006 12.0001C6.00006 11.3112 5.92776 10.6947 5.7266 10.0912C5.52545 9.48774 5.21338 8.95115 4.80006 8.40006Z"
fill="currentColor"
/>
</Svg>
);

export default IconContactless;
14 changes: 0 additions & 14 deletions src/components/icons/svg/IconDialpad.tsx

This file was deleted.

16 changes: 16 additions & 0 deletions src/components/icons/svg/IconKeyboard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from "react";
import { Svg, Path } from "react-native-svg";
import { SVGIconProps } from "../Icon";

const IconKeyboard = ({ size, style, ...props }: SVGIconProps) => (
<Svg width={size} height={size} viewBox="0 0 24 24" style={style} {...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M12 18C10.9 18 10 18.9 10 20C10 21.1 10.9 22 12 22C13.1 22 14 21.1 14 20C14 18.9 13.1 18 12 18ZM4 2C2.9 2 2 2.9 2 4C2 5.1 2.9 6 4 6C5.1 6 6 5.1 6 4C6 2.9 5.1 2 4 2ZM4 10C2.9 10 2 10.9 2 12C2 13.1 2.9 14 4 14C5.1 14 6 13.1 6 12C6 10.9 5.1 10 4 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM20 10C18.9 10 18 10.9 18 12C18 13.1 18.9 14 20 14C21.1 14 22 13.1 22 12C22 10.9 21.1 10 20 10ZM20 2C18.9 2 18 2.9 18 4C18 5.1 18.9 6 20 6C21.1 6 22 5.1 22 4C22 2.9 21.1 2 20 2ZM12 2C10.9 2 10 2.9 10 4C10 5.1 10.9 6 12 6C13.1 6 14 5.1 14 4C14 2.9 13.1 2 12 2Z"
fill="currentColor"
/>
</Svg>
);

export default IconKeyboard;
3 changes: 3 additions & 0 deletions src/components/icons/svg/originals/IconContactless.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions src/components/icons/svg/originals/IconDialpad.svg

This file was deleted.

3 changes: 3 additions & 0 deletions src/components/icons/svg/originals/IconKeyboard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.