@gooddata/sdk-ui-vis-commons 11.55.0-alpha.3 → 11.55.0-alpha.5
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/esm/legend/FluidLegend.d.ts +2 -1
- package/esm/legend/FluidLegend.d.ts.map +1 -1
- package/esm/legend/HeatmapLegend.d.ts +2 -1
- package/esm/legend/HeatmapLegend.d.ts.map +1 -1
- package/esm/legend/HeatmapLegend.js +1 -1
- package/esm/legend/Legend.d.ts +2 -1
- package/esm/legend/Legend.d.ts.map +1 -1
- package/esm/legend/StaticLegend.d.ts +2 -2
- package/esm/legend/StaticLegend.d.ts.map +1 -1
- package/esm/legend/StaticLegend.js +1 -1
- package/package.json +14 -15
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type NamedExoticComponent } from "react";
|
|
1
2
|
import { type ChartFillType } from "../coloring/types.js";
|
|
2
3
|
import { type IPushpinCategoryLegendItem, type ItemBorderRadiusPredicate } from "./types.js";
|
|
3
4
|
/**
|
|
@@ -13,5 +14,5 @@ export interface IFluidLegendProps {
|
|
|
13
14
|
/**
|
|
14
15
|
* @internal
|
|
15
16
|
*/
|
|
16
|
-
export declare const FluidLegend:
|
|
17
|
+
export declare const FluidLegend: NamedExoticComponent<IFluidLegendProps>;
|
|
17
18
|
//# sourceMappingURL=FluidLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluidLegend.d.ts","sourceRoot":"","sources":["../../src/legend/FluidLegend.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FluidLegend.d.ts","sourceRoot":"","sources":["../../src/legend/FluidLegend.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAkC,MAAM,OAAO,CAAC;AAIlF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAK1D,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE7F;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,0BAA0B,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,OAAO,GAAG,yBAAyB,CAAC;IACzD,WAAW,CAAC,CAAC,IAAI,EAAE,0BAA0B,GAAG,IAAI,CAAC;IACrD,SAAS,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,oBAAoB,CAAC,iBAAiB,CA+C9D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type NamedExoticComponent } from "react";
|
|
1
2
|
import { type IColorLegendSize, type IHeatmapLegendItem } from "./types.js";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -13,5 +14,5 @@ export interface IHeatmapLegendProps {
|
|
|
13
14
|
/**
|
|
14
15
|
* @internal
|
|
15
16
|
*/
|
|
16
|
-
export declare const HeatmapLegend:
|
|
17
|
+
export declare const HeatmapLegend: NamedExoticComponent<IHeatmapLegendProps>;
|
|
17
18
|
//# sourceMappingURL=HeatmapLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapLegend.d.ts","sourceRoot":"","sources":["../../src/legend/HeatmapLegend.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeatmapLegend.d.ts","sourceRoot":"","sources":["../../src/legend/HeatmapLegend.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAQ,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAyB,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEnG;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,oBAAoB,CAAC,mBAAmB,CAuBlE,CAAC"}
|
package/esm/legend/Legend.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type NamedExoticComponent } from "react";
|
|
1
2
|
import { type Rect } from "react-measure";
|
|
2
3
|
import { type ChartFillType } from "../coloring/types.js";
|
|
3
4
|
import { type ISeriesItem, type ItemBorderRadiusPredicate } from "./types.js";
|
|
@@ -30,5 +31,5 @@ export interface ILegendProps {
|
|
|
30
31
|
/**
|
|
31
32
|
* @internal
|
|
32
33
|
*/
|
|
33
|
-
export declare const Legend:
|
|
34
|
+
export declare const Legend: NamedExoticComponent<ILegendProps>;
|
|
34
35
|
//# sourceMappingURL=Legend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Legend.d.ts","sourceRoot":"","sources":["../../src/legend/Legend.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Legend.d.ts","sourceRoot":"","sources":["../../src/legend/Legend.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAqC,MAAM,OAAO,CAAC;AAKrF,OAAqB,EAAE,KAAK,IAAI,EAAE,MAAM,eAAe,CAAC;AAIxD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,OAAO,EAAyB,KAAK,WAAW,EAAE,KAAK,yBAAyB,EAAE,MAAM,YAAY,CAAC;AASrG;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,uBAAuB,CAAC;IAC/C,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,aAAa,EAAE,GAAG,KAAK,GAAG,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,GAAG,yBAAyB,CAAC;IACzD,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,WAAW,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACrC,kBAAkB,CAAC,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7C,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,oBAAoB,CAAC,YAAY,CAyKpD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactElement } from "react";
|
|
1
|
+
import { type NamedExoticComponent, type ReactElement } from "react";
|
|
2
2
|
import { type ChartFillType } from "../coloring/types.js";
|
|
3
3
|
import { type ButtonsOrientationType } from "./Paging.js";
|
|
4
4
|
import { type ISeriesItem, type ItemBorderRadiusPredicate } from "./types.js";
|
|
@@ -23,6 +23,6 @@ export interface IStaticLegendProps {
|
|
|
23
23
|
/**
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
26
|
-
export declare const StaticLegend:
|
|
26
|
+
export declare const StaticLegend: NamedExoticComponent<IStaticLegendProps>;
|
|
27
27
|
export declare const getPagingValues: (page: number, visibleItemsCount: number, seriesLength: number, hasCustomComponent: boolean) => [number, number];
|
|
28
28
|
//# sourceMappingURL=StaticLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticLegend.d.ts","sourceRoot":"","sources":["../../src/legend/StaticLegend.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"StaticLegend.d.ts","sourceRoot":"","sources":["../../src/legend/StaticLegend.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,YAAY,EAKpB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAM1D,OAAO,EAAE,KAAK,sBAAsB,EAAU,MAAM,aAAa,CAAC;AAElE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,GAAG,yBAAyB,CAAC;IACzD,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACtC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,oBAAoB,CAAC,kBAAkB,CAqHhE,CAAC;AAOH,eAAO,MAAM,eAAe,kHAW3B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2007-2026 GoodData Corporation
|
|
3
|
-
import { memo, useCallback, useState } from "react";
|
|
3
|
+
import { memo, useCallback, useState, } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { ITEM_HEIGHT, STATIC_PAGING_HEIGHT, calculateStaticLegend } from "./helpers.js";
|
|
6
6
|
import { LegendLabelItem } from "./LegendLabelItem.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-vis-commons",
|
|
3
|
-
"version": "11.55.0-alpha.
|
|
3
|
+
"version": "11.55.0-alpha.5",
|
|
4
4
|
"description": "GoodData.UI SDK - common functionality for different types of visualizations",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"react-intl": "7.1.11",
|
|
37
37
|
"react-measure": "^2.5.2",
|
|
38
38
|
"tslib": "2.8.1",
|
|
39
|
-
"@gooddata/sdk-backend-spi": "11.55.0-alpha.
|
|
40
|
-
"@gooddata/sdk-
|
|
41
|
-
"@gooddata/sdk-ui": "11.55.0-alpha.
|
|
42
|
-
"@gooddata/sdk-ui-kit": "11.55.0-alpha.
|
|
43
|
-
"@gooddata/sdk-
|
|
39
|
+
"@gooddata/sdk-backend-spi": "11.55.0-alpha.5",
|
|
40
|
+
"@gooddata/sdk-ui": "11.55.0-alpha.5",
|
|
41
|
+
"@gooddata/sdk-ui-theme-provider": "11.55.0-alpha.5",
|
|
42
|
+
"@gooddata/sdk-ui-kit": "11.55.0-alpha.5",
|
|
43
|
+
"@gooddata/sdk-model": "11.55.0-alpha.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-documenter": "7.30.10",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
56
56
|
"@typescript-eslint/parser": "8.58.0",
|
|
57
57
|
"@typescript/native-preview": "7.0.0-dev.20260202.1",
|
|
58
|
-
"@vitest/eslint-plugin": "1.6.19",
|
|
59
58
|
"dependency-cruiser": "17.3.10",
|
|
60
59
|
"eslint": "^9.39.2",
|
|
61
60
|
"eslint-plugin-headers": "1.3.3",
|
|
@@ -66,24 +65,24 @@
|
|
|
66
65
|
"eslint-plugin-react": "7.37.5",
|
|
67
66
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
68
67
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
69
|
-
"happy-dom": "20.
|
|
68
|
+
"happy-dom": "20.12.0",
|
|
70
69
|
"npm-run-all": "4.1.5",
|
|
71
|
-
"oxfmt": "0.
|
|
70
|
+
"oxfmt": "0.66.0",
|
|
72
71
|
"oxlint": "1.57.0",
|
|
73
72
|
"oxlint-tsgolint": "0.15.0",
|
|
74
73
|
"raf": "3.4.1",
|
|
75
74
|
"react": "19.1.1",
|
|
76
75
|
"react-dom": "19.1.1",
|
|
77
|
-
"sass": "1.
|
|
76
|
+
"sass": "1.77.1",
|
|
78
77
|
"stylelint": "16.26.1",
|
|
79
78
|
"typescript": "5.9.3",
|
|
80
79
|
"vitest": "4.1.8",
|
|
81
80
|
"vitest-dom": "0.1.1",
|
|
82
|
-
"@gooddata/eslint-config": "11.55.0-alpha.
|
|
83
|
-
"@gooddata/oxlint-config": "11.55.0-alpha.
|
|
84
|
-
"@gooddata/
|
|
85
|
-
"@gooddata/
|
|
86
|
-
"@gooddata/stylelint-config": "11.55.0-alpha.
|
|
81
|
+
"@gooddata/eslint-config": "11.55.0-alpha.5",
|
|
82
|
+
"@gooddata/oxlint-config": "11.55.0-alpha.5",
|
|
83
|
+
"@gooddata/reference-workspace": "11.55.0-alpha.5",
|
|
84
|
+
"@gooddata/sdk-backend-mockingbird": "11.55.0-alpha.5",
|
|
85
|
+
"@gooddata/stylelint-config": "11.55.0-alpha.5"
|
|
87
86
|
},
|
|
88
87
|
"peerDependencies": {
|
|
89
88
|
"react": "^18.0.0 || ^19.0.0",
|