@pushwoosh/kit-icons 1.4.11 → 1.4.13

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.
@@ -1,118 +1,58 @@
1
1
  export declare const AssetMap: {
2
- medium: {
3
- amazon: {
4
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
5
- lined: null;
6
- };
7
- android: {
8
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
9
- lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
10
- };
11
- apple: {
12
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
13
- lined: null;
14
- };
15
- baidu: {
16
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
17
- lined: null;
18
- };
19
- chrome: {
20
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
21
- lined: null;
22
- };
23
- edge: {
24
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
25
- lined: null;
26
- };
27
- email: {
28
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
29
- lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
30
- };
31
- firefox: {
32
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
33
- lined: null;
34
- };
35
- huawei: {
36
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
37
- lined: null;
38
- };
39
- 'i-explorer': {
40
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
41
- lined: null;
42
- };
43
- 'mac-o-s': {
44
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
45
- lined: null;
46
- };
47
- safari: {
48
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
49
- lined: null;
50
- };
51
- windows: {
52
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
53
- lined: null;
54
- };
55
- xiaomi: {
56
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
57
- lined: null;
58
- };
2
+ amazon: {
3
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
4
+ lined: null;
59
5
  };
60
- small: {
61
- amazon: {
62
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
63
- lined: null;
64
- };
65
- android: {
66
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
67
- lined: null;
68
- };
69
- apple: {
70
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
71
- lined: null;
72
- };
73
- baidu: {
74
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
75
- lined: null;
76
- };
77
- chrome: {
78
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
79
- lined: null;
80
- };
81
- edge: {
82
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
83
- lined: null;
84
- };
85
- email: {
86
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
87
- lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
88
- };
89
- firefox: {
90
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
91
- lined: null;
92
- };
93
- huawei: {
94
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
95
- lined: null;
96
- };
97
- 'i-explorer': {
98
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
99
- lined: null;
100
- };
101
- 'mac-o-s': {
102
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
103
- lined: null;
104
- };
105
- safari: {
106
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
107
- lined: null;
108
- };
109
- windows: {
110
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
111
- lined: null;
112
- };
113
- xiaomi: {
114
- filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
115
- lined: null;
116
- };
6
+ android: {
7
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
8
+ lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
9
+ };
10
+ apple: {
11
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
12
+ lined: null;
13
+ };
14
+ baidu: {
15
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
16
+ lined: null;
17
+ };
18
+ chrome: {
19
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
20
+ lined: null;
21
+ };
22
+ edge: {
23
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
24
+ lined: null;
25
+ };
26
+ email: {
27
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
28
+ lined: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
29
+ };
30
+ firefox: {
31
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
32
+ lined: null;
33
+ };
34
+ huawei: {
35
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
36
+ lined: null;
37
+ };
38
+ 'i-explorer': {
39
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
40
+ lined: null;
41
+ };
42
+ 'mac-o-s': {
43
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
44
+ lined: null;
45
+ };
46
+ safari: {
47
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
48
+ lined: null;
49
+ };
50
+ windows: {
51
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
52
+ lined: null;
53
+ };
54
+ xiaomi: {
55
+ filled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
56
+ lined: null;
117
57
  };
118
58
  };
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { PlatformLogoIconProps } from './platform-logo-icon.types';
2
+ import type { PlatformLogoIconProps } from './platform-logo-icon.types';
3
3
  export declare function PlatformLogoIcon(props: PlatformLogoIconProps): JSX.Element;
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import type { Ref } from 'react';
2
2
  export declare type PlatformLogoIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
- readonly boxRef?: React.Ref<HTMLDivElement>;
4
- readonly size: 'medium' | 'small';
3
+ readonly boxRef?: Ref<HTMLDivElement>;
5
4
  readonly type: 'amazon' | 'android' | 'apple' | 'baidu' | 'chrome' | 'edge' | 'email' | 'firefox' | 'huawei' | 'i-explorer' | 'mac-o-s' | 'safari' | 'windows' | 'xiaomi';
6
- readonly view: 'filled' | 'lined';
5
+ readonly size?: 'small' | 'medium' | 'large';
6
+ readonly view?: 'filled' | 'lined';
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-icons",
3
- "version": "1.4.11",
3
+ "version": "1.4.13",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,14 +21,13 @@
21
21
  "check:types": "echo \"Run check:types\" && tsc --project tsconfig.json --noEmit"
22
22
  },
23
23
  "pre-commit": "check",
24
- "dependencies": {},
25
24
  "devDependencies": {
26
25
  "@babel/core": "^7.16.5",
27
26
  "@babel/plugin-transform-runtime": "^7.16.5",
28
27
  "@babel/preset-env": "^7.16.5",
29
28
  "@babel/runtime-corejs3": "^7.16.5",
30
29
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
31
- "@pushwoosh/kit-constants": "^1.0.0",
30
+ "@pushwoosh/kit-constants": "^1.5.1",
32
31
  "@pushwoosh/kit-typography": "^1.0.0",
33
32
  "@svgr/webpack": "^5.5.0",
34
33
  "@types/jest": "^26.0.24",
@@ -81,7 +80,7 @@
81
80
  },
82
81
  "peerDependencies": {
83
82
  "@babel/runtime-corejs3": "^7.16.5",
84
- "@pushwoosh/kit-constants": "^1.0.0",
83
+ "@pushwoosh/kit-constants": "^1.5.1",
85
84
  "core-js": "^3.20.0",
86
85
  "react": ">= 16.14.0",
87
86
  "styled-components": "^5.3.3",