@pushwoosh/kit-icons 2.0.24 → 2.0.26
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/device-icon/assets/index.d.ts +7 -7
- package/device-icon/assets/index.js +13 -7
- package/host-icon/assets/index.d.ts +11 -0
- package/host-icon/assets/index.js +14 -0
- package/host-icon/assets/name_host_size_small_view_lined.js +13 -0
- package/host-icon/host-icon.component.d.ts +3 -0
- package/host-icon/host-icon.component.js +25 -0
- package/host-icon/host-icon.types.d.ts +6 -0
- package/host-icon/host-icon.types.js +1 -0
- package/host-icon/index.d.ts +2 -0
- package/host-icon/index.js +2 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const AssetMap: {
|
|
3
3
|
medium: {
|
|
4
4
|
desktop: {
|
|
5
|
-
filled:
|
|
5
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
6
6
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
7
7
|
};
|
|
8
8
|
mobile: {
|
|
@@ -10,29 +10,29 @@ export declare const AssetMap: {
|
|
|
10
10
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
11
11
|
};
|
|
12
12
|
other: {
|
|
13
|
-
filled:
|
|
13
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
14
14
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
15
15
|
};
|
|
16
16
|
web: {
|
|
17
|
-
filled:
|
|
17
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
18
18
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
small: {
|
|
22
22
|
desktop: {
|
|
23
|
-
filled:
|
|
23
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
24
24
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
25
25
|
};
|
|
26
26
|
mobile: {
|
|
27
|
-
filled:
|
|
27
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
28
28
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
29
29
|
};
|
|
30
30
|
other: {
|
|
31
|
-
filled:
|
|
31
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
32
32
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
33
33
|
};
|
|
34
34
|
web: {
|
|
35
|
-
filled:
|
|
35
|
+
filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
36
36
|
lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
/* eslint quote-props: off */
|
|
2
2
|
/* eslint @typescript-eslint/comma-dangle: off */
|
|
3
3
|
|
|
4
|
+
import DeviceMediumDesktopFilledIcon from "./name_device_size_medium_type_desktop_view_filled.js";
|
|
4
5
|
import DeviceMediumDesktopLinedIcon from "./name_device_size_medium_type_desktop_view_lined.js";
|
|
5
6
|
import DeviceMediumMobileFilledIcon from "./name_device_size_medium_type_mobile_view_filled.js";
|
|
6
7
|
import DeviceMediumMobileLinedIcon from "./name_device_size_medium_type_mobile_view_lined.js";
|
|
8
|
+
import DeviceMediumOtherFilledIcon from "./name_device_size_medium_type_other_view_filled.js";
|
|
7
9
|
import DeviceMediumOtherLinedIcon from "./name_device_size_medium_type_other_view_lined.js";
|
|
8
10
|
import DeviceMediumWebLinedIcon from "./name_device_size_medium_type_web_view_lined.js";
|
|
11
|
+
import DeviceSmallDesktopFilledIcon from "./name_device_size_small_type_desktop_view_filled.js";
|
|
9
12
|
import DeviceSmallDesktopLinedIcon from "./name_device_size_small_type_desktop_view_lined.js";
|
|
13
|
+
import DeviceSmallMobileFilledIcon from "./name_device_size_small_type_mobile_view_filled.js";
|
|
10
14
|
import DeviceSmallMobileLinedIcon from "./name_device_size_small_type_mobile_view_lined.js";
|
|
15
|
+
import DeviceSmallOtherFilledIcon from "./name_device_size_small_type_other_view_filled.js";
|
|
11
16
|
import DeviceSmallOtherLinedIcon from "./name_device_size_small_type_other_view_lined.js";
|
|
12
17
|
import DeviceSmallWebLinedIcon from "./name_device_size_small_type_web_view_lined.js";
|
|
18
|
+
import DeviceSmallWebFilledIcon from "./name_device_size_small_type_web_view_filled.js";
|
|
13
19
|
export const AssetMap = {
|
|
14
20
|
'medium': {
|
|
15
21
|
'desktop': {
|
|
16
|
-
'filled':
|
|
22
|
+
'filled': DeviceMediumDesktopFilledIcon,
|
|
17
23
|
'lined': DeviceMediumDesktopLinedIcon
|
|
18
24
|
},
|
|
19
25
|
'mobile': {
|
|
@@ -21,29 +27,29 @@ export const AssetMap = {
|
|
|
21
27
|
'lined': DeviceMediumMobileLinedIcon
|
|
22
28
|
},
|
|
23
29
|
'other': {
|
|
24
|
-
'filled':
|
|
30
|
+
'filled': DeviceMediumOtherFilledIcon,
|
|
25
31
|
'lined': DeviceMediumOtherLinedIcon
|
|
26
32
|
},
|
|
27
33
|
'web': {
|
|
28
|
-
'filled':
|
|
34
|
+
'filled': DeviceMediumDesktopFilledIcon,
|
|
29
35
|
'lined': DeviceMediumWebLinedIcon
|
|
30
36
|
}
|
|
31
37
|
},
|
|
32
38
|
'small': {
|
|
33
39
|
'desktop': {
|
|
34
|
-
'filled':
|
|
40
|
+
'filled': DeviceSmallDesktopFilledIcon,
|
|
35
41
|
'lined': DeviceSmallDesktopLinedIcon
|
|
36
42
|
},
|
|
37
43
|
'mobile': {
|
|
38
|
-
'filled':
|
|
44
|
+
'filled': DeviceSmallMobileFilledIcon,
|
|
39
45
|
'lined': DeviceSmallMobileLinedIcon
|
|
40
46
|
},
|
|
41
47
|
'other': {
|
|
42
|
-
'filled':
|
|
48
|
+
'filled': DeviceSmallOtherFilledIcon,
|
|
43
49
|
'lined': DeviceSmallOtherLinedIcon
|
|
44
50
|
},
|
|
45
51
|
'web': {
|
|
46
|
-
'filled':
|
|
52
|
+
'filled': DeviceSmallWebFilledIcon,
|
|
47
53
|
'lined': DeviceSmallWebLinedIcon
|
|
48
54
|
}
|
|
49
55
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint quote-props: off */
|
|
2
|
+
/* eslint @typescript-eslint/comma-dangle: off */
|
|
3
|
+
|
|
4
|
+
import HostSmallLinedIcon from "./name_host_size_small_view_lined.js";
|
|
5
|
+
export const AssetMap = {
|
|
6
|
+
'medium': {
|
|
7
|
+
'filled': null,
|
|
8
|
+
'lined': null
|
|
9
|
+
},
|
|
10
|
+
'small': {
|
|
11
|
+
'filled': null,
|
|
12
|
+
'lined': HostSmallLinedIcon
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const NameHostSizeSmallViewLinedSvg = 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: "M4.371 1.25h7.258c.395 0 .736 0 1.017.023.297.024.592.078.875.222.424.216.768.56.984.984.144.283.198.578.222.875.023.28.023.622.023 1.017v.258c0 .395 0 .736-.023 1.017-.024.297-.078.592-.222.875a2.25 2.25 0 0 1-.984.984c-.283.144-.578.198-.875.222a13 13 0 0 1-1.017.023H4.37c-.395 0-.736 0-1.017-.023-.297-.024-.592-.078-.875-.222a2.25 2.25 0 0 1-.984-.984c-.144-.283-.198-.578-.222-.875-.023-.28-.023-.622-.023-1.017V4.37c0-.395 0-.736.023-1.017.024-.297.078-.592.222-.875a2.25 2.25 0 0 1 .984-.984c.283-.144.578-.198.875-.222.28-.023.622-.023 1.017-.023m-.895 1.518c-.204.017-.28.045-.316.064a.75.75 0 0 0-.328.328c-.02.037-.047.112-.064.316-.017.212-.018.492-.018.924v.2c0 .432 0 .712.018.924.017.204.045.28.064.316a.75.75 0 0 0 .328.328c.037.02.112.047.316.064.212.017.492.018.924.018h7.2c.432 0 .712 0 .924-.018.204-.017.28-.045.317-.064a.75.75 0 0 0 .327-.328c.02-.037.047-.112.064-.316.017-.212.018-.492.018-.924v-.2c0-.432 0-.712-.018-.924-.017-.204-.045-.28-.064-.316a.75.75 0 0 0-.327-.328c-.038-.02-.113-.047-.317-.064a13 13 0 0 0-.924-.018H4.4c-.432 0-.712 0-.924.018M4.4 8.25h-.029c-.395 0-.736 0-1.017.023-.297.024-.592.078-.875.222a2.25 2.25 0 0 0-.984.984c-.144.283-.198.578-.222.875-.023.28-.023.622-.023 1.017v.258c0 .395 0 .736.023 1.017.024.297.078.592.222.875.216.424.56.768.984.984.283.144.578.198.875.222.28.023.622.023 1.017.023h7.258c.395 0 .736 0 1.017-.023.297-.024.592-.078.875-.222a2.25 2.25 0 0 0 .984-.984c.144-.283.198-.578.222-.875.023-.28.023-.622.023-1.017v-.258c0-.395 0-.736-.023-1.017-.024-.297-.078-.592-.222-.875a2.25 2.25 0 0 0-.984-.984c-.283-.144-.578-.198-.875-.222-.28-.023-.622-.023-1.017-.023H4.4M3.16 9.832c.037-.02.112-.047.316-.064.212-.017.492-.018.924-.018h7.2c.432 0 .712 0 .924.018.204.017.28.045.317.064a.75.75 0 0 1 .327.327c.02.038.047.113.064.317.017.212.018.492.018.924v.2c0 .432 0 .712-.018.924-.017.204-.045.28-.064.317a.75.75 0 0 1-.327.327c-.038.02-.113.047-.317.064-.212.017-.492.018-.924.018H4.4c-.432 0-.712 0-.924-.018-.204-.017-.28-.045-.316-.064a.75.75 0 0 1-.328-.327c-.02-.038-.047-.113-.064-.317a13 13 0 0 1-.018-.924v-.2c0-.432 0-.712.018-.924.017-.204.045-.28.064-.317a.75.75 0 0 1 .328-.327M4.5 12.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0-7a1 1 0 1 0 0-2 1 1 0 0 0 0 2",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default NameHostSizeSmallViewLinedSvg;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconBox } from '../icon.styles';
|
|
3
|
+
import { AssetMap } from './assets';
|
|
4
|
+
export function HostIcon(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('[HostIcon]: 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 {};
|
package/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export * from './funnel-icon';
|
|
|
44
44
|
export * from './help-round-icon';
|
|
45
45
|
export * from './history-icon';
|
|
46
46
|
export * from './home-icon';
|
|
47
|
+
export * from './host-icon';
|
|
47
48
|
export * from './image-icon';
|
|
48
49
|
export * from './industry-icon';
|
|
49
50
|
export * from './infinity-icon';
|
package/index.js
CHANGED
|
@@ -44,6 +44,7 @@ export * from './funnel-icon';
|
|
|
44
44
|
export * from './help-round-icon';
|
|
45
45
|
export * from './history-icon';
|
|
46
46
|
export * from './home-icon';
|
|
47
|
+
export * from './host-icon';
|
|
47
48
|
export * from './image-icon';
|
|
48
49
|
export * from './industry-icon';
|
|
49
50
|
export * from './infinity-icon';
|