@sensoro-design/icons 0.1.7 → 0.1.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.1.8](https://github.com/sensoro-design/sensoro-design-icons/compare/@sensoro-design/icons@0.1.7...@sensoro-design/icons@0.1.8) (2022-03-30)
7
+
8
+ **Note:** Version bump only for package @sensoro-design/icons
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.1.7](https://github.com/sensoro-design/sensoro-design-icons/compare/@sensoro-design/icons@0.1.6...@sensoro-design/icons@0.1.7) (2022-03-30)
7
15
 
8
16
  **Note:** Version bump only for package @sensoro-design/icons
@@ -3,9 +3,9 @@ import { IconDefinition } from '@sensoro-design/icons-svg/lib/types';
3
3
  export interface IconProps extends Partial<TwoToneColorPaletteSetter> {
4
4
  icon: IconDefinition;
5
5
  className?: string;
6
- onClick?: React.MouseEventHandler<SVGSVGElement>;
7
6
  style?: React.CSSProperties;
8
7
  focusable?: string;
8
+ onClick?: React.MouseEventHandler<SVGSVGElement>;
9
9
  }
10
10
  export interface TwoToneColorPaletteSetter {
11
11
  primaryColor: string;
@@ -14,7 +14,7 @@ export interface TwoToneColorPaletteSetter {
14
14
  export interface TwoToneColorPalette extends TwoToneColorPaletteSetter {
15
15
  calculated?: boolean;
16
16
  }
17
- declare function setTwoToneColors({ primaryColor, secondaryColor, }: TwoToneColorPaletteSetter): void;
17
+ declare function setTwoToneColors({ primaryColor, secondaryColor }: TwoToneColorPaletteSetter): void;
18
18
  declare function getTwoToneColors(): TwoToneColorPalette;
19
19
  interface IconBaseComponent<P> extends React.FC<P> {
20
20
  getTwoToneColors: typeof getTwoToneColors;
@@ -3,9 +3,9 @@ import { IconDefinition } from '@sensoro-design/icons-svg/lib/types';
3
3
  export interface IconProps extends Partial<TwoToneColorPaletteSetter> {
4
4
  icon: IconDefinition;
5
5
  className?: string;
6
- onClick?: React.MouseEventHandler<SVGSVGElement>;
7
6
  style?: React.CSSProperties;
8
7
  focusable?: string;
8
+ onClick?: React.MouseEventHandler<SVGSVGElement>;
9
9
  }
10
10
  export interface TwoToneColorPaletteSetter {
11
11
  primaryColor: string;
@@ -14,7 +14,7 @@ export interface TwoToneColorPaletteSetter {
14
14
  export interface TwoToneColorPalette extends TwoToneColorPaletteSetter {
15
15
  calculated?: boolean;
16
16
  }
17
- declare function setTwoToneColors({ primaryColor, secondaryColor, }: TwoToneColorPaletteSetter): void;
17
+ declare function setTwoToneColors({ primaryColor, secondaryColor }: TwoToneColorPaletteSetter): void;
18
18
  declare function getTwoToneColors(): TwoToneColorPalette;
19
19
  interface IconBaseComponent<P> extends React.FC<P> {
20
20
  getTwoToneColors: typeof getTwoToneColors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensoro-design/icons",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Abstract nodes for sensoro design icons.",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -32,7 +32,7 @@
32
32
  "@ant-design/colors": "^6.0.0",
33
33
  "@babel/runtime": "^7.11.2",
34
34
  "@pansy/classnames": "^1.0.1",
35
- "@sensoro-design/icons-svg": "0.1.4",
35
+ "@sensoro-design/icons-svg": "0.1.5",
36
36
  "rc-util": "^5.19.3"
37
37
  },
38
38
  "publishConfig": {