@pushwoosh/kit-icons 2.1.0 → 2.1.2

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.
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ 'small-lined': import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import small_lined from "./name_host_size_small_view_lined.js";
2
+ export default {
3
+ 'small-lined': small_lined
4
+ };
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ import { HostIconProps } from './host-icon.types';
3
+ export declare const HostIcon: import("react").FC<HostIconProps>;
@@ -0,0 +1,3 @@
1
+ import { createIconComponent } from '../../createIconComponent';
2
+ import assets from './assets';
3
+ export const HostIcon = createIconComponent('HostIcon', ['size', 'view'], assets);
@@ -0,0 +1,5 @@
1
+ import { CommonProps } from '../../types';
2
+ export type HostIconProps = CommonProps & {
3
+ readonly size: 'small';
4
+ readonly view: 'lined';
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './host-icon.component';
2
+ export * from './host-icon.types';
@@ -0,0 +1,2 @@
1
+ export * from './host-icon.component';
2
+ export * from './host-icon.types';
package/icons/index.d.ts CHANGED
@@ -50,6 +50,7 @@ export * from './funnel-icon';
50
50
  export * from './help-round-icon';
51
51
  export * from './history-icon';
52
52
  export * from './home-icon';
53
+ export * from './host-icon';
53
54
  export * from './image-icon';
54
55
  export * from './inapp-icon';
55
56
  export * from './industry-icon';
package/icons/index.js CHANGED
@@ -50,6 +50,7 @@ export * from './funnel-icon';
50
50
  export * from './help-round-icon';
51
51
  export * from './history-icon';
52
52
  export * from './home-icon';
53
+ export * from './host-icon';
53
54
  export * from './image-icon';
54
55
  export * from './inapp-icon';
55
56
  export * from './industry-icon';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-icons",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { type JSX, type Ref } from 'react';
2
2
  export type CommonProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
3
  readonly boxRef?: Ref<HTMLDivElement>;
4
+ readonly as?: string;
4
5
  };