@db-ux/react-core-components 3.0.2 → 3.0.4-playwright-visual-regression2-5008387
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.
|
@@ -32,9 +32,14 @@ function DBTooltipFn(props, component) {
|
|
|
32
32
|
return parent;
|
|
33
33
|
}
|
|
34
34
|
function handleAutoPlacement(parent) {
|
|
35
|
-
if (!parent)
|
|
35
|
+
if (!parent || !_ref.current)
|
|
36
36
|
return;
|
|
37
|
-
if
|
|
37
|
+
// Check if CSS Anchor Positioning API is supported
|
|
38
|
+
const supportsAnchorPositioning = typeof window !== "undefined" &&
|
|
39
|
+
CSS.supports("anchor-name", "--anchor") &&
|
|
40
|
+
CSS.supports("position-anchor", "--anchor");
|
|
41
|
+
// Fallback to existing JavaScript implementation
|
|
42
|
+
if (!supportsAnchorPositioning) {
|
|
38
43
|
// This is a workaround for angular
|
|
39
44
|
utilsDelay(() => {
|
|
40
45
|
var _a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/react-core-components",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4-playwright-visual-regression2-5008387",
|
|
4
4
|
"description": "React components for @db-ux/core-components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tsc": "tsc --project . --sourceMap false"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@playwright/experimental-ct-react": "1.54.
|
|
30
|
+
"@playwright/experimental-ct-react": "1.54.2",
|
|
31
31
|
"@types/react": "18.3.13",
|
|
32
32
|
"react": "18.3.1",
|
|
33
33
|
"react-dom": "18.3.1"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"sideEffects": false,
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@db-ux/core-components": "3.0.
|
|
42
|
-
"@db-ux/core-foundations": "3.0.
|
|
41
|
+
"@db-ux/core-components": "3.0.4-playwright-visual-regression2-5008387",
|
|
42
|
+
"@db-ux/core-foundations": "3.0.4-playwright-visual-regression2-5008387"
|
|
43
43
|
}
|
|
44
44
|
}
|