@pushwoosh/kit-icons 2.0.24 → 2.0.25
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/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
|
@@ -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';
|