@equinor/eds-core-react 0.41.4-dev02092024 → 0.41.4-dev03092024-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.
package/dist/eds-core-react.cjs
CHANGED
|
@@ -6400,9 +6400,11 @@ const Popover$1 = /*#__PURE__*/react.forwardRef(function Popover({
|
|
|
6400
6400
|
} = react$1.useInteractions([react$1.useDismiss(context)]);
|
|
6401
6401
|
react.useEffect(() => {
|
|
6402
6402
|
if (open) {
|
|
6403
|
-
|
|
6404
|
-
refs.floating.current?.
|
|
6405
|
-
|
|
6403
|
+
setTimeout(() => {
|
|
6404
|
+
if (refs.floating.current?.isConnected) {
|
|
6405
|
+
refs.floating.current.showPopover();
|
|
6406
|
+
}
|
|
6407
|
+
}, 1);
|
|
6406
6408
|
} else {
|
|
6407
6409
|
refs.floating.current?.hidePopover();
|
|
6408
6410
|
}
|
|
@@ -98,9 +98,11 @@ const Popover = /*#__PURE__*/forwardRef(function Popover({
|
|
|
98
98
|
} = useInteractions([useDismiss(context)]);
|
|
99
99
|
useEffect(() => {
|
|
100
100
|
if (open) {
|
|
101
|
-
|
|
102
|
-
refs.floating.current?.
|
|
103
|
-
|
|
101
|
+
setTimeout(() => {
|
|
102
|
+
if (refs.floating.current?.isConnected) {
|
|
103
|
+
refs.floating.current.showPopover();
|
|
104
|
+
}
|
|
105
|
+
}, 1);
|
|
104
106
|
} else {
|
|
105
107
|
refs.floating.current?.hidePopover();
|
|
106
108
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/eds-core-react",
|
|
3
|
-
"version": "0.41.4-
|
|
3
|
+
"version": "0.41.4-dev03092024-2",
|
|
4
4
|
"description": "The React implementation of the Equinor Design System",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"downshift": "9.0.8",
|
|
90
90
|
"react-aria": "^3.34.1",
|
|
91
91
|
"@equinor/eds-icons": "^0.21.0",
|
|
92
|
-
"@equinor/eds-
|
|
93
|
-
"@equinor/eds-
|
|
92
|
+
"@equinor/eds-utils": "0.8.5",
|
|
93
|
+
"@equinor/eds-tokens": "0.9.2"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"build": "rollup -c --bundleConfigAsCjs && tsc -p tsconfig.build.json",
|