@sb1/ffe-icons-react 11.0.22 → 12.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-icons-react",
3
- "version": "11.0.22",
3
+ "version": "12.0.0",
4
4
  "description": "React-komponenter for ffe-icons",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "type": "module",
45
- "gitHead": "61e0e1ffb823447811627196398c7818d0e8cea3"
45
+ "gitHead": "63920179c154928be7b054d8f9ce3899cc0f9180"
46
46
  }
package/src/Icon.tsx CHANGED
@@ -6,8 +6,6 @@ export interface IconProps extends React.ComponentPropsWithoutRef<'span'> {
6
6
  fileUrl: string;
7
7
  /** Size of the icon, default is the closest defined font-size */
8
8
  size?: 'sm' | 'md' | 'lg' | 'xl';
9
- /** Symbols stroke weight. This can affect overall size of symbol, 400 is default */
10
- weight?: 300 | 500;
11
9
  /** Aria label text. If null/undefined, aria-hidden is automatically set to true */
12
10
  ariaLabel?: React.ComponentProps<'span'>['aria-label'];
13
11
  }
package/types/Icon.d.ts CHANGED
@@ -4,8 +4,6 @@ export interface IconProps extends React.ComponentPropsWithoutRef<'span'> {
4
4
  fileUrl: string;
5
5
  /** Size of the icon, default is the closest defined font-size */
6
6
  size?: 'sm' | 'md' | 'lg' | 'xl';
7
- /** Symbols stroke weight. This can affect overall size of symbol, 400 is default */
8
- weight?: 300 | 500;
9
7
  /** Aria label text. If null/undefined, aria-hidden is automatically set to true */
10
8
  ariaLabel?: React.ComponentProps<'span'>['aria-label'];
11
9
  }