@equinor/eds-core-react 1.0.0 → 1.0.1

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.
@@ -1231,8 +1231,8 @@ const Tooltip$2 = /*#__PURE__*/react.forwardRef(function Tooltip({
1231
1231
  });
1232
1232
  const updatedChildren = /*#__PURE__*/react.cloneElement(children, {
1233
1233
  ...getReferenceProps({
1234
- ref: anchorRef,
1235
- ...children.props
1234
+ ...children.props,
1235
+ ref: anchorRef
1236
1236
  })
1237
1237
  });
1238
1238
  react.useEffect(() => {
@@ -109,8 +109,8 @@ const Tooltip = /*#__PURE__*/forwardRef(function Tooltip({
109
109
  });
110
110
  const updatedChildren = /*#__PURE__*/cloneElement(children, {
111
111
  ...getReferenceProps({
112
- ref: anchorRef,
113
- ...children.props
112
+ ...children.props,
113
+ ref: anchorRef
114
114
  })
115
115
  });
116
116
  useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/eds-core-react",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "The React implementation of the Equinor Design System",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -69,9 +69,9 @@
69
69
  "typescript": "^5.9.2"
70
70
  },
71
71
  "peerDependencies": {
72
- "react": ">=19.0.0",
73
- "react-dom": ">=16.8",
74
- "styled-components": ">=5.1"
72
+ "react": "^19",
73
+ "react-dom": "^19",
74
+ "styled-components": "^6"
75
75
  },
76
76
  "dependencies": {
77
77
  "@babel/runtime": "^7.28.3",
@@ -84,9 +84,9 @@
84
84
  "@tanstack/react-virtual": "3.13.12",
85
85
  "downshift": "9.0.8",
86
86
  "react-aria": "^3.43.1",
87
- "@equinor/eds-icons": "^1.0.0",
88
- "@equinor/eds-tokens": "1.0.0",
89
- "@equinor/eds-utils": "1.0.0"
87
+ "@equinor/eds-tokens": "1.1.2",
88
+ "@equinor/eds-utils": "1.0.1",
89
+ "@equinor/eds-icons": "^1.0.0"
90
90
  },
91
91
  "scripts": {
92
92
  "build": "rollup -c --bundleConfigAsCjs && tsc -p tsconfig.build.json",