@equinor/fusion-react-errorboundary 2.0.1 → 2.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"fallbackRender.d.ts","sourceRoot":"","sources":["../../src/legacy/fallbackRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAE1D,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,gBAAgB,CAE/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC9B,OAAO,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,KAAG,kBAAkB,CAAC,gBAAgB,CAErB,CAAC;AAExD,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"fallbackRender.d.ts","sourceRoot":"","sources":["../../src/legacy/fallbackRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAE1D,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,gBAAgB,CAE/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC9B,OAAO,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,KAAG,kBAAkB,CAAC,gBAAgB,CACZ,CAAC;AAEjE,eAAe,cAAc,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Fallback } from './Fallback';
3
3
  export const fallbackRender = (props) => (_jsx(Fallback, { error: props.error }));
4
- export const createFallbackRender = (args) =>
5
- /* eslint-disable-next-line react/display-name, react/function-component-definition, react/prop-types*/
6
- (props) => _jsx(Fallback, { error: props.error, ...args });
4
+ export const createFallbackRender = (args) => (props) => _jsx(Fallback, { error: props.error, ...args });
7
5
  export default fallbackRender;
8
6
  //# sourceMappingURL=fallbackRender.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fallbackRender.js","sourceRoot":"","sources":["../../src/legacy/fallbackRender.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAsB,MAAM,YAAY,CAAC;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAyC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC7E,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,GAAI,CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAC/B,CAAC,IAAmC,EAAwC,EAAE;AAC9E,uGAAuG;AACvG,CAAC,KAAK,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,KAAM,IAAI,GAAI,CAAC;AAExD,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"fallbackRender.js","sourceRoot":"","sources":["../../src/legacy/fallbackRender.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAsB,MAAM,YAAY,CAAC;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAyC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC7E,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAc,GAAI,CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAC/B,CAAC,IAAmC,EAAwC,EAAE,CAC9E,CAAC,KAAK,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAc,KAAM,IAAI,GAAI,CAAC;AAEjE,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-react-errorboundary",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "React component for error boundary",
5
5
  "keywords": [
6
6
  "error-boundary",
@@ -37,28 +37,29 @@
37
37
  },
38
38
  "repository": {
39
39
  "type": "git",
40
- "url": "git+https://github.com/equinor/fusion-react-components.git"
40
+ "url": "git+https://github.com/equinor/fusion-react-components.git",
41
+ "directory": "packages/errorboundary"
41
42
  },
42
43
  "bugs": {
43
44
  "url": "https://github.com/equinor/fusion-react-components/issues"
44
45
  },
45
46
  "dependencies": {
46
47
  "react-error-boundary": "^6.0.0",
47
- "@equinor/fusion-react-styles": "^2.0.0",
48
+ "@equinor/fusion-react-styles": "^2.1.0",
48
49
  "@equinor/fusion-react-utils": "^3.0.0"
49
50
  },
50
51
  "devDependencies": {
51
52
  "@equinor/eds-core-react": "^0.45.0",
52
53
  "@equinor/eds-icons": "~0.22.0",
53
- "@equinor/eds-tokens": "^0.9.2",
54
- "@types/react": "^19.2.2",
55
- "react": "^19.2.0",
54
+ "@equinor/eds-tokens": "^2.2.0",
55
+ "@types/react": "^19.2.14",
56
+ "react": "^19.2.4",
56
57
  "styled-components": "^6.1.1"
57
58
  },
58
59
  "peerDependencies": {
59
60
  "@equinor/eds-core-react": "^0.45.0",
60
- "@equinor/eds-icons": "~0.22.0",
61
- "@equinor/eds-tokens": "^0.9.2",
61
+ "@equinor/eds-icons": ">=0.22.0",
62
+ "@equinor/eds-tokens": ">=0.9.2",
62
63
  "react": "^18 || ^19",
63
64
  "react-dom": "^18 || ^19",
64
65
  "styled-components": "^6.1.1"