@sb1/ffe-symbols-react 2.0.2 → 2.0.3

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,12 @@
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
+ ## [2.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-symbols-react@2.0.2...@sb1/ffe-symbols-react@2.0.3) (2023-10-02)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **ffe-symbols-react:** legg til export statement i index.d.ts ([c71e8d2](https://github.com/SpareBank1/designsystem/commit/c71e8d226db4a08d5cb36f946cb99d656af892f2))
11
+
6
12
  ## [2.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-symbols-react@2.0.1...@sb1/ffe-symbols-react@2.0.2) (2023-09-15)
7
13
 
8
14
  **Note:** Version bump only for package @sb1/ffe-symbols-react
package/lib/Symbol.js CHANGED
@@ -12,7 +12,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
12
12
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
13
13
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
14
14
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
15
- var _Symbol = function _Symbol(props) {
15
+ var _Symbol = exports.Symbol = function _Symbol(props) {
16
16
  var className = props.className,
17
17
  children = props.children,
18
18
  size = props.size,
@@ -27,7 +27,6 @@ var _Symbol = function _Symbol(props) {
27
27
  "aria-hidden": !ariaLabel
28
28
  }, rest), children);
29
29
  };
30
- exports.Symbol = _Symbol;
31
30
  _Symbol.defaultProps = {
32
31
  fill: false,
33
32
  weight: 400
@@ -51,5 +50,4 @@ _Symbol.propTypes = {
51
50
  }
52
51
  }
53
52
  };
54
- var _default = _Symbol;
55
- exports.default = _default;
53
+ var _default = exports.default = _Symbol;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-symbols-react",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "React-komponenter for Material Symbols tilpasset Sb1 sine behov",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "2717d62c2fe4125c7160d0253f4bcc56fde9e06e"
38
+ "gitHead": "fcfb33cf5bc12d9253263e68dd59e2add55a79aa"
39
39
  }
package/src/index.d.ts CHANGED
@@ -10,3 +10,5 @@ export interface SymbolProps {
10
10
  }
11
11
 
12
12
  declare class Symbol extends React.Component<SymbolProps, any> {}
13
+
14
+ export default Symbol;
package/types/index.d.ts CHANGED
@@ -10,3 +10,5 @@ export interface SymbolProps {
10
10
  }
11
11
 
12
12
  declare class Symbol extends React.Component<SymbolProps, any> {}
13
+
14
+ export default Symbol;