@pushwoosh/kit-icons 2.0.16 → 2.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +2 -2
- package/platform-logo-icon/platform-logo-icon.component.js +2 -1
- package/sms-icon/assets/index.d.ts +11 -0
- package/sms-icon/assets/index.js +17 -0
- package/sms-icon/assets/name_sms_size_medium_view_filled.js +13 -0
- package/sms-icon/assets/name_sms_size_medium_view_lined.js +13 -0
- package/sms-icon/assets/name_sms_size_small_view_filled.js +13 -0
- package/sms-icon/assets/name_sms_size_small_view_lined.js +13 -0
- package/sms-icon/index.d.ts +2 -0
- package/sms-icon/index.js +2 -0
- package/sms-icon/sms-icon.component.d.ts +3 -0
- package/sms-icon/sms-icon.component.js +25 -0
- package/sms-icon/sms-icon.types.d.ts +6 -0
- package/sms-icon/sms-icon.types.js +1 -0
- package/whatsapp-icon/assets/index.d.ts +11 -0
- package/whatsapp-icon/assets/index.js +17 -0
- package/whatsapp-icon/assets/name_whatsapp_size_medium_view_filled.js +13 -0
- package/whatsapp-icon/assets/name_whatsapp_size_medium_view_lined.js +13 -0
- package/whatsapp-icon/assets/name_whatsapp_size_small_view_filled.js +13 -0
- package/whatsapp-icon/assets/name_whatsapp_size_small_view_lined.js +13 -0
- package/whatsapp-icon/index.d.ts +2 -0
- package/whatsapp-icon/index.js +2 -0
- package/whatsapp-icon/whatsapp-icon.component.d.ts +3 -0
- package/whatsapp-icon/whatsapp-icon.component.js +25 -0
- package/whatsapp-icon/whatsapp-icon.types.d.ts +6 -0
- package/whatsapp-icon/whatsapp-icon.types.js +1 -0
package/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export * from './search-icon';
|
|
|
81
81
|
export * from './secure-icon';
|
|
82
82
|
export * from './send-icon';
|
|
83
83
|
export * from './settings-icon';
|
|
84
|
+
export * from './sms-icon';
|
|
84
85
|
export * from './social-logo-icon';
|
|
85
86
|
export * from './sort-icon';
|
|
86
87
|
export * from './stats-icon';
|
|
@@ -97,6 +98,7 @@ export * from './upload-icon';
|
|
|
97
98
|
export * from './user-icon';
|
|
98
99
|
export * from './visibility-icon';
|
|
99
100
|
export * from './warning-round-icon';
|
|
101
|
+
export * from './whatsapp-icon';
|
|
100
102
|
export * from './wizard-icon';
|
|
101
103
|
export * from './zoom-icon';
|
|
102
104
|
export * from './notes-list-icon';
|
package/index.js
CHANGED
|
@@ -81,6 +81,7 @@ export * from './search-icon';
|
|
|
81
81
|
export * from './secure-icon';
|
|
82
82
|
export * from './send-icon';
|
|
83
83
|
export * from './settings-icon';
|
|
84
|
+
export * from './sms-icon';
|
|
84
85
|
export * from './social-logo-icon';
|
|
85
86
|
export * from './sort-icon';
|
|
86
87
|
export * from './stats-icon';
|
|
@@ -97,6 +98,7 @@ export * from './upload-icon';
|
|
|
97
98
|
export * from './user-icon';
|
|
98
99
|
export * from './visibility-icon';
|
|
99
100
|
export * from './warning-round-icon';
|
|
101
|
+
export * from './whatsapp-icon';
|
|
100
102
|
export * from './wizard-icon';
|
|
101
103
|
export * from './zoom-icon';
|
|
102
104
|
export * from './notes-list-icon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/kit-icons",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.17",
|
|
4
4
|
"description": "React component for build Pushwoosh products",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"pre-commit": "check",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@pushwoosh/frontend-builder-engine": "^0.
|
|
19
|
+
"@pushwoosh/frontend-builder-engine": "^0.6.0",
|
|
20
20
|
"@pushwoosh/kit-typography": "^1.0.0",
|
|
21
21
|
"@svgr/cli": "^8.1.0",
|
|
22
22
|
"@svgr/core": "^8.1.0",
|
|
@@ -2,13 +2,14 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function PlatformLogoIcon(props) {
|
|
5
|
+
var _AssetMap$size;
|
|
5
6
|
const {
|
|
6
7
|
boxRef,
|
|
7
8
|
type,
|
|
8
9
|
size = 'medium',
|
|
9
10
|
...rest
|
|
10
11
|
} = props;
|
|
11
|
-
const Icon = AssetMap[size]
|
|
12
|
+
const Icon = ((_AssetMap$size = AssetMap[size]) === null || _AssetMap$size === void 0 ? void 0 : _AssetMap$size[type]) || null;
|
|
12
13
|
if (Icon == null) {
|
|
13
14
|
console.error(`[PlatformLogoIcon]: Icon ${type} not found!`);
|
|
14
15
|
return React.createElement(IconBox, {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const AssetMap: {
|
|
3
|
+
medium: {
|
|
4
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
5
|
+
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
6
|
+
};
|
|
7
|
+
small: {
|
|
8
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
9
|
+
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* eslint quote-props: off */
|
|
2
|
+
/* eslint @typescript-eslint/comma-dangle: off */
|
|
3
|
+
|
|
4
|
+
import SMSMediumFilledIcon from "./name_sms_size_medium_view_filled.js";
|
|
5
|
+
import SMSMediumLinedIcon from "./name_sms_size_medium_view_lined.js";
|
|
6
|
+
import SMSSmallFilledIcon from "./name_sms_size_small_view_filled.js";
|
|
7
|
+
import SMSSmallLinedIcon from "./name_sms_size_small_view_lined.js";
|
|
8
|
+
export const AssetMap = {
|
|
9
|
+
'medium': {
|
|
10
|
+
'filled': SMSMediumFilledIcon,
|
|
11
|
+
'lined': SMSMediumLinedIcon
|
|
12
|
+
},
|
|
13
|
+
'small': {
|
|
14
|
+
'filled': SMSSmallFilledIcon,
|
|
15
|
+
'lined': SMSSmallLinedIcon
|
|
16
|
+
}
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameSmsSizeMediumViewFilledSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 24,
|
|
5
|
+
height: 24,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M3.25 10.25c0-2.828 0-4.243.879-5.121.878-.879 2.293-.879 5.121-.879h5.5c2.828 0 4.243 0 5.121.879.879.878.879 2.293.879 5.121v1.5c0 2.828 0 4.243-.879 5.121-.878.879-2.293.879-5.121.879h-3.828l-3.1 2.157c-.69.48-1.035.72-1.304.58-.268-.141-.268-.561-.268-1.4v-1.413c-.975-.096-1.631-.313-2.121-.803-.879-.878-.879-2.293-.879-5.121zm3.648-1.864a1.1 1.1 0 0 0-1.1 1.1v1.2a1.1 1.1 0 0 0 1.1 1.1h.9v1.001h-2v1.2h2.1a1.1 1.1 0 0 0 1.1-1.1v-1.2a1.1 1.1 0 0 0-1.1-1.1h-.9v-1h2v-1.2h-2.1m8.112 1.1a1.1 1.1 0 0 1 1.1-1.1h2.1v1.2h-2v1h.9a1.1 1.1 0 0 1 1.1 1.1v1.201a1.1 1.1 0 0 1-1.1 1.1h-2.1v-1.2h2v-1h-.9a1.1 1.1 0 0 1-1.1-1.1zm-3.807 3.901v-2.31l.271.508.53.99.529-.99.271-.508v2.91h1.2V8.88c0-.676-.904-.903-1.223-.306l-.777 1.455-.778-1.455c-.319-.597-1.223-.37-1.223.306v5.107h1.2z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameSmsSizeMediumViewFilledSvg;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameSmsSizeMediumViewLinedSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 24,
|
|
5
|
+
height: 24,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M4.97 5.97c.057-.057.159-.128.484-.172.347-.046.818-.048 1.546-.048h10c.728 0 1.2.002 1.546.048.325.044.427.115.484.172s.128.159.172.484c.046.347.048.818.048 1.546v6c0 .728-.002 1.2-.048 1.546-.044.325-.115.427-.172.484s-.159.128-.484.172c-.347.046-.818.048-1.546.048h-6a.75.75 0 0 0-.45.15l-2.8 2.1V17a.75.75 0 0 0-.75-.75c-.728 0-1.2-.002-1.546-.048-.325-.044-.427-.115-.484-.172s-.128-.159-.172-.484c-.046-.347-.048-.818-.048-1.546V8c0-.728.002-1.2.048-1.546.044-.325.115-.427.172-.484M7 4.25h-.05c-.664 0-1.237 0-1.696.062-.491.066-.963.215-1.345.597s-.531.854-.597 1.345c-.062.459-.062 1.032-.062 1.697v6.099c0 .664 0 1.237.062 1.696.066.492.215.963.597 1.345s.854.531 1.345.597c.289.04.623.054.996.059V20a.75.75 0 0 0 1.2.6l3.8-2.85h5.8c.664 0 1.237 0 1.696-.062.492-.066.963-.215 1.345-.597s.531-.854.597-1.345c.062-.459.062-1.032.062-1.697V7.95c0-.664 0-1.237-.062-1.696-.066-.491-.215-.963-.597-1.345s-.854-.531-1.345-.597c-.459-.062-1.032-.062-1.697-.062H7m-.102 4.13a1.1 1.1 0 0 0-1.1 1.1v1.2a1.1 1.1 0 0 0 1.1 1.1h.9v1.001h-2v1.2h2.1a1.1 1.1 0 0 0 1.1-1.1v-1.2a1.1 1.1 0 0 0-1.1-1.1h-.9v-1h2v-1.2h-2.1m8.1 1.1a1.1 1.1 0 0 1 1.1-1.1h2.1v1.2h-2v1h.9a1.1 1.1 0 0 1 1.1 1.1v1.201a1.1 1.1 0 0 1-1.1 1.1h-2.1v-1.2h2v-1h-.9a1.1 1.1 0 0 1-1.1-1.1zm-3.8 3.9v-2.306l.271.508.53.988.528-.988.272-.508v2.906H14v-5.1c0-.676-.904-.903-1.223-.307l-.778 1.454-.777-1.454c-.32-.596-1.223-.37-1.223.307v5.1h1.2z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameSmsSizeMediumViewLinedSvg;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameSmsSizeSmallViewFilledSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 16,
|
|
5
|
+
height: 16,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M1 6c0-1.886 0-2.828.586-3.414S3.114 2 5 2h6c1.886 0 2.828 0 3.414.586S15 4.114 15 6v3c0 1.886 0 2.828-.586 3.414S12.886 13 11 13H8l-3.235 2.022A.5.5 0 0 1 4 14.598V13h1c-1.886 0-2.828 0-3.414-.586S1 10.886 1 9zm3.528-1.001a1 1 0 0 0-1 1V7a1 1 0 0 0 1 1h.394v1H3.528v1h1.394a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-.394V5.999h1.394v-1H4.528m5.55.998a1 1 0 0 1 1-1h1.394v1h-1.394v1h.394a1 1 0 0 1 1 1V9a1 1 0 0 1-1 1h-1.394v-1h1.394V7.998h-.394a1 1 0 0 1-1-1zM7.498 9.5V6.716l.11.143.395.51.396-.51.11-.143V10h1V5.401a.55.55 0 0 0-.984-.337l-.522.672-.52-.672a.55.55 0 0 0-.985.337v4.6h1z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameSmsSizeSmallViewFilledSvg;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameSmsSizeSmallViewLinedSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 16,
|
|
5
|
+
height: 16,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M2.97 3.97c.057-.057.159-.128.484-.172.347-.046.818-.048 1.546-.048h6c.728 0 1.2.002 1.546.048.325.044.427.115.484.172s.128.159.172.484c.046.347.048.818.048 1.546v3c0 .728-.002 1.2-.048 1.546-.044.325-.115.427-.172.484s-.159.128-.484.172c-.347.046-.818.048-1.546.048H7.773l-.189.126-1.834 1.223V11.25H5c-.728 0-1.2-.002-1.546-.048-.325-.044-.427-.115-.484-.172s-.128-.159-.172-.484C2.752 10.199 2.75 9.728 2.75 9V6c0-.728.002-1.2.048-1.546.044-.325.115-.427.172-.484M5 2.25h-.05c-.664 0-1.237 0-1.696.062-.491.066-.963.215-1.345.597s-.531.854-.597 1.345c-.062.459-.062 1.032-.062 1.697V9.05c0 .664 0 1.237.062 1.696.066.492.215.963.597 1.345s.854.531 1.345.597c.289.04.623.054.996.059v1.066a.85.85 0 0 0 1.321.707l-.416-.624.417.624 2.655-1.77h2.823c.664 0 1.237 0 1.696-.062.492-.066.963-.215 1.345-.597s.531-.853.597-1.345c.062-.459.062-1.032.062-1.697V5.95c0-.664 0-1.237-.062-1.696-.066-.491-.215-.963-.597-1.345s-.853-.531-1.345-.597c-.459-.062-1.032-.062-1.697-.062H5m-.472 2.749a1 1 0 0 0-1 1V7a1 1 0 0 0 1 1h.394v1H3.528v1h1.394a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-.394V5.999h1.394v-1H4.528m5.55.998a1 1 0 0 1 1-1h1.394v1h-1.394v1h.394a1 1 0 0 1 1 1V9a1 1 0 0 1-1 1h-1.394v-1h1.394V7.998h-.394a1 1 0 0 1-1-1zM7.498 9.5V6.716l.11.143.396.51.395-.51.11-.143V10h1V5.401a.55.55 0 0 0-.984-.337l-.521.672-.522-.672a.55.55 0 0 0-.984.337v4.6h1z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameSmsSizeSmallViewLinedSvg;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconBox } from '../icon.styles';
|
|
3
|
+
import { AssetMap } from './assets';
|
|
4
|
+
export function SMSIcon(props) {
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[SMSIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const AssetMap: {
|
|
3
|
+
medium: {
|
|
4
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
5
|
+
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
6
|
+
};
|
|
7
|
+
small: {
|
|
8
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
9
|
+
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* eslint quote-props: off */
|
|
2
|
+
/* eslint @typescript-eslint/comma-dangle: off */
|
|
3
|
+
|
|
4
|
+
import WhatsappMediumFilledIcon from "./name_whatsapp_size_medium_view_filled.js";
|
|
5
|
+
import WhatsappMediumLinedIcon from "./name_whatsapp_size_medium_view_lined.js";
|
|
6
|
+
import WhatsappSmallFilledIcon from "./name_whatsapp_size_small_view_filled.js";
|
|
7
|
+
import WhatsappSmallLinedIcon from "./name_whatsapp_size_small_view_lined.js";
|
|
8
|
+
export const AssetMap = {
|
|
9
|
+
'medium': {
|
|
10
|
+
'filled': WhatsappMediumFilledIcon,
|
|
11
|
+
'lined': WhatsappMediumLinedIcon
|
|
12
|
+
},
|
|
13
|
+
'small': {
|
|
14
|
+
'filled': WhatsappSmallFilledIcon,
|
|
15
|
+
'lined': WhatsappSmallLinedIcon
|
|
16
|
+
}
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameWhatsappSizeMediumViewFilledSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 24,
|
|
5
|
+
height: 24,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M3.25 10.25c0-2.828 0-4.243.879-5.121.878-.879 2.293-.879 5.121-.879h5.5c2.828 0 4.243 0 5.121.879.879.878.879 2.293.879 5.121v1.5c0 2.828 0 4.243-.879 5.121-.878.879-2.293.879-5.121.879h-3.828l-3.1 2.157c-.69.48-1.035.72-1.304.58-.268-.141-.268-.561-.268-1.4v-1.413c-.975-.096-1.631-.313-2.121-.803-.879-.878-.879-2.293-.879-5.121zm3.648-1.864a1.1 1.1 0 0 0-1.1 1.1v1.2a1.1 1.1 0 0 0 1.1 1.1h.9v1.001h-2v1.2h2.1a1.1 1.1 0 0 0 1.1-1.1v-1.2a1.1 1.1 0 0 0-1.1-1.1h-.9v-1h2v-1.2h-2.1m8.112 1.1a1.1 1.1 0 0 1 1.1-1.1h2.1v1.2h-2v1h.9a1.1 1.1 0 0 1 1.1 1.1v1.201a1.1 1.1 0 0 1-1.1 1.1h-2.1v-1.2h2v-1h-.9a1.1 1.1 0 0 1-1.1-1.1zm-3.807 3.901v-2.31l.271.508.53.99.529-.99.271-.508v2.91h1.2V8.88c0-.676-.904-.903-1.223-.306l-.777 1.455-.778-1.455c-.319-.597-1.223-.37-1.223.306v5.107h1.2z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameWhatsappSizeMediumViewFilledSvg;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameWhatsappSizeMediumViewLinedSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 24,
|
|
5
|
+
height: 24,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M4.97 5.97c.057-.057.159-.128.484-.172.347-.046.818-.048 1.546-.048h10c.728 0 1.2.002 1.546.048.325.044.427.115.484.172s.128.159.172.484c.046.347.048.818.048 1.546v6c0 .728-.002 1.2-.048 1.546-.044.325-.115.427-.172.484s-.159.128-.484.172c-.347.046-.818.048-1.546.048h-6a.75.75 0 0 0-.45.15l-2.8 2.1V17a.75.75 0 0 0-.75-.75c-.728 0-1.2-.002-1.546-.048-.325-.044-.427-.115-.484-.172s-.128-.159-.172-.484c-.046-.347-.048-.818-.048-1.546V8c0-.728.002-1.2.048-1.546.044-.325.115-.427.172-.484M7 4.25h-.05c-.664 0-1.237 0-1.696.062-.491.066-.963.215-1.345.597s-.531.854-.597 1.345c-.062.459-.062 1.032-.062 1.697v6.099c0 .664 0 1.237.062 1.696.066.492.215.963.597 1.345s.854.531 1.345.597c.289.04.623.054.996.059V20a.75.75 0 0 0 1.2.6l3.8-2.85h5.8c.664 0 1.237 0 1.696-.062.492-.066.963-.215 1.345-.597s.531-.854.597-1.345c.062-.459.062-1.032.062-1.697V7.95c0-.664 0-1.237-.062-1.696-.066-.491-.215-.963-.597-1.345s-.854-.531-1.345-.597c-.459-.062-1.032-.062-1.697-.062H7m-.102 4.13a1.1 1.1 0 0 0-1.1 1.1v1.2a1.1 1.1 0 0 0 1.1 1.1h.9v1.001h-2v1.2h2.1a1.1 1.1 0 0 0 1.1-1.1v-1.2a1.1 1.1 0 0 0-1.1-1.1h-.9v-1h2v-1.2h-2.1m8.1 1.1a1.1 1.1 0 0 1 1.1-1.1h2.1v1.2h-2v1h.9a1.1 1.1 0 0 1 1.1 1.1v1.201a1.1 1.1 0 0 1-1.1 1.1h-2.1v-1.2h2v-1h-.9a1.1 1.1 0 0 1-1.1-1.1zm-3.8 3.9v-2.306l.271.508.53.988.528-.988.272-.508v2.906H14v-5.1c0-.676-.904-.903-1.223-.307l-.778 1.454-.777-1.454c-.32-.596-1.223-.37-1.223.307v5.1h1.2z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameWhatsappSizeMediumViewLinedSvg;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameWhatsappSizeSmallViewFilledSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 16,
|
|
5
|
+
height: 16,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M1 6c0-1.886 0-2.828.586-3.414S3.114 2 5 2h6c1.886 0 2.828 0 3.414.586S15 4.114 15 6v3c0 1.886 0 2.828-.586 3.414S12.886 13 11 13H8l-3.235 2.022A.5.5 0 0 1 4 14.598V13h1c-1.886 0-2.828 0-3.414-.586S1 10.886 1 9zm3.528-1.001a1 1 0 0 0-1 1V7a1 1 0 0 0 1 1h.394v1H3.528v1h1.394a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-.394V5.999h1.394v-1H4.528m5.55.998a1 1 0 0 1 1-1h1.394v1h-1.394v1h.394a1 1 0 0 1 1 1V9a1 1 0 0 1-1 1h-1.394v-1h1.394V7.998h-.394a1 1 0 0 1-1-1zM7.498 9.5V6.716l.11.143.395.51.396-.51.11-.143V10h1V5.401a.55.55 0 0 0-.984-.337l-.522.672-.52-.672a.55.55 0 0 0-.985.337v4.6h1z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameWhatsappSizeSmallViewFilledSvg;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameWhatsappSizeSmallViewLinedSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 16,
|
|
5
|
+
height: 16,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M2.97 3.97c.057-.057.159-.128.484-.172.347-.046.818-.048 1.546-.048h6c.728 0 1.2.002 1.546.048.325.044.427.115.484.172s.128.159.172.484c.046.347.048.818.048 1.546v3c0 .728-.002 1.2-.048 1.546-.044.325-.115.427-.172.484s-.159.128-.484.172c-.347.046-.818.048-1.546.048H7.773l-.189.126-1.834 1.223V11.25H5c-.728 0-1.2-.002-1.546-.048-.325-.044-.427-.115-.484-.172s-.128-.159-.172-.484C2.752 10.199 2.75 9.728 2.75 9V6c0-.728.002-1.2.048-1.546.044-.325.115-.427.172-.484M5 2.25h-.05c-.664 0-1.237 0-1.696.062-.491.066-.963.215-1.345.597s-.531.854-.597 1.345c-.062.459-.062 1.032-.062 1.697V9.05c0 .664 0 1.237.062 1.696.066.492.215.963.597 1.345s.854.531 1.345.597c.289.04.623.054.996.059v1.066a.85.85 0 0 0 1.321.707l-.416-.624.417.624 2.655-1.77h2.823c.664 0 1.237 0 1.696-.062.492-.066.963-.215 1.345-.597s.531-.853.597-1.345c.062-.459.062-1.032.062-1.697V5.95c0-.664 0-1.237-.062-1.696-.066-.491-.215-.963-.597-1.345s-.853-.531-1.345-.597c-.459-.062-1.032-.062-1.697-.062H5m-.472 2.749a1 1 0 0 0-1 1V7a1 1 0 0 0 1 1h.394v1H3.528v1h1.394a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-.394V5.999h1.394v-1H4.528m5.55.998a1 1 0 0 1 1-1h1.394v1h-1.394v1h.394a1 1 0 0 1 1 1V9a1 1 0 0 1-1 1h-1.394v-1h1.394V7.998h-.394a1 1 0 0 1-1-1zM7.498 9.5V6.716l.11.143.396.51.395-.51.11-.143V10h1V5.401a.55.55 0 0 0-.984-.337l-.521.672-.522-.672a.55.55 0 0 0-.984.337v4.6h1z",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameWhatsappSizeSmallViewLinedSvg;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconBox } from '../icon.styles';
|
|
3
|
+
import { AssetMap } from './assets';
|
|
4
|
+
export function WhatsappIcon(props) {
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[WhatsappIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|