@gooddata/sdk-ui-vis-commons 10.32.0-alpha.8 → 10.32.0
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,7 +1,7 @@
|
|
|
1
1
|
// (C) 2007-2025 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import cx from "classnames";
|
|
4
|
-
import { ZoomAwareOverlay, useMediaQuery, useIsZoomed, ZOOM_THRESHOLD, useIdPrefixed, DialogCloseButton,
|
|
4
|
+
import { ZoomAwareOverlay, useMediaQuery, useIsZoomed, ZOOM_THRESHOLD, useIdPrefixed, DialogCloseButton, UiAutofocus, } from "@gooddata/sdk-ui-kit";
|
|
5
5
|
import { legendDialogAlignPoints, legendMobileDialogAlignPoints } from "./alignPoints.js";
|
|
6
6
|
const LegendDialogWrapper = ({ children }) => {
|
|
7
7
|
const isMobile = useMediaQuery("<sm");
|
|
@@ -29,7 +29,7 @@ const LegendDialogContent = ({ title, onCloseDialog, children, id }) => {
|
|
|
29
29
|
React.createElement("div", { className: "legend-header" },
|
|
30
30
|
React.createElement("div", { className: "legend-header-title", id: titleId }, title),
|
|
31
31
|
React.createElement(DialogCloseButton, { className: "s-legend-close legend-close gd-icon-cross gd-button-link gd-button-icon-only", onClose: handleClose })),
|
|
32
|
-
React.createElement(
|
|
32
|
+
React.createElement(UiAutofocus, null,
|
|
33
33
|
React.createElement("div", { className: "legend-content" }, children))));
|
|
34
34
|
};
|
|
35
35
|
export const LegendDialog = ({ name, children, isOpen, alignTo, onCloseDialog, id, }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendDialog.js","sourceRoot":"","sources":["../../../src/legend/PopUpLegend/LegendDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EACH,gBAAgB,EAChB,aAAa,EACb,WA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mB,IAAC,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,EAAE,EAAE,EAAE,IACjE,QAAQ,CACS,CACP,CACtB,CAAC;IACN,CAAC,CACiB,CACzB,CAAC;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-vis-commons",
|
|
3
|
-
"version": "10.32.0
|
|
3
|
+
"version": "10.32.0",
|
|
4
4
|
"description": "GoodData.UI SDK - common functionality for different types of visualizations",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"classnames": "^2.3.1",
|
|
34
34
|
"default-import": "1.1.5",
|
|
35
35
|
"lodash": "^4.17.21",
|
|
36
|
-
"react-intl": "
|
|
36
|
+
"react-intl": "6.8.9",
|
|
37
37
|
"react-measure": "^2.5.2",
|
|
38
38
|
"tslib": "^2.5.0",
|
|
39
|
-
"@gooddata/sdk-backend-spi": "10.32.0
|
|
40
|
-
"@gooddata/sdk-model": "10.32.0
|
|
41
|
-
"@gooddata/sdk-ui": "10.32.0
|
|
42
|
-
"@gooddata/sdk-ui-
|
|
43
|
-
"@gooddata/sdk-ui
|
|
39
|
+
"@gooddata/sdk-backend-spi": "10.32.0",
|
|
40
|
+
"@gooddata/sdk-model": "10.32.0",
|
|
41
|
+
"@gooddata/sdk-ui-kit": "10.32.0",
|
|
42
|
+
"@gooddata/sdk-ui-theme-provider": "10.32.0",
|
|
43
|
+
"@gooddata/sdk-ui": "10.32.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -51,12 +51,13 @@
|
|
|
51
51
|
"@gooddata/stylelint-config": "^5.0.0",
|
|
52
52
|
"@microsoft/api-documenter": "^7.17.0",
|
|
53
53
|
"@microsoft/api-extractor": "^7.36.0",
|
|
54
|
-
"@testing-library/
|
|
54
|
+
"@testing-library/dom": "10.4.0",
|
|
55
|
+
"@testing-library/react": "16.0.1",
|
|
55
56
|
"@types/lodash": "^4.14.202",
|
|
56
57
|
"@types/node": "^18.17.6",
|
|
57
|
-
"@types/react-dom": "
|
|
58
|
+
"@types/react-dom": "18.3.7",
|
|
58
59
|
"@types/react-measure": "^2.0.8",
|
|
59
|
-
"@types/react": "
|
|
60
|
+
"@types/react": "18.3.23",
|
|
60
61
|
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
61
62
|
"@typescript-eslint/parser": "^5.57.1",
|
|
62
63
|
"concurrently": "^6.0.2",
|
|
@@ -76,8 +77,8 @@
|
|
|
76
77
|
"happy-dom": "15.10.2",
|
|
77
78
|
"prettier": "~2.5.0",
|
|
78
79
|
"raf": "^3.4.1",
|
|
79
|
-
"react": "
|
|
80
|
-
"react-dom": "
|
|
80
|
+
"react": "18.3.1",
|
|
81
|
+
"react-dom": "18.3.1",
|
|
81
82
|
"sass": "^1.52.3",
|
|
82
83
|
"stylelint": "^13.8.0",
|
|
83
84
|
"stylelint-checkstyle-formatter": "^0.1.2",
|
|
@@ -85,8 +86,8 @@
|
|
|
85
86
|
"typescript": "5.3.3",
|
|
86
87
|
"vitest": "3.0.8",
|
|
87
88
|
"vitest-dom": "0.1.1",
|
|
88
|
-
"@gooddata/reference-workspace": "10.32.0
|
|
89
|
-
"@gooddata/sdk-backend-mockingbird": "10.32.0
|
|
89
|
+
"@gooddata/reference-workspace": "10.32.0",
|
|
90
|
+
"@gooddata/sdk-backend-mockingbird": "10.32.0"
|
|
90
91
|
},
|
|
91
92
|
"scripts": {
|
|
92
93
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|