@gooddata/sdk-ui-vis-commons 10.11.0-alpha.9 → 10.12.0-alpha.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.
- package/esm/index.d.ts +23 -12
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -3
- package/esm/index.js.map +1 -1
- package/package.json +13 -9
package/esm/index.d.ts
CHANGED
|
@@ -8,22 +8,33 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
*/
|
|
10
10
|
export { AttributeColorStrategy } from "./coloring/attribute.js";
|
|
11
|
-
export {
|
|
11
|
+
export type { IColorStrategy, ICreateColorAssignmentReturnValue } from "./coloring/base.js";
|
|
12
|
+
export { ColorStrategy, getAttributeColorAssignment, isValidMappedColor } from "./coloring/base.js";
|
|
12
13
|
export { getColorByGuid, getColorFromMapping, getColorMappingPredicate, getColorPaletteFromColors, getLighterColor, getLighterColorFromRGB, getRgbString, getRgbStringFromRGB, isCustomPalette, normalizeColorToRGB, parseRGBColorCode, getValidColorPalette, ColorUtils, parseRGBString, } from "./coloring/color.js";
|
|
13
|
-
export { IColorMapping } from "./coloring/types.js";
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
14
|
+
export type { IColorMapping } from "./coloring/types.js";
|
|
15
|
+
export type { ILegendProps } from "./legend/Legend.js";
|
|
16
|
+
export { Legend } from "./legend/Legend.js";
|
|
17
|
+
export type { IStaticLegendProps } from "./legend/StaticLegend.js";
|
|
18
|
+
export { StaticLegend } from "./legend/StaticLegend.js";
|
|
19
|
+
export type { IPopUpLegendProps } from "./legend/PopUpLegend/PopUpLegend.js";
|
|
20
|
+
export { PopUpLegend } from "./legend/PopUpLegend/PopUpLegend.js";
|
|
21
|
+
export type { IFluidLegendProps } from "./legend/FluidLegend.js";
|
|
22
|
+
export { FluidLegend } from "./legend/FluidLegend.js";
|
|
23
|
+
export type { IHeatmapLegendProps } from "./legend/HeatmapLegend.js";
|
|
24
|
+
export { HeatmapLegend } from "./legend/HeatmapLegend.js";
|
|
25
|
+
export type { IColorLegendProps } from "./legend/ColorLegend.js";
|
|
26
|
+
export { ColorLegend } from "./legend/ColorLegend.js";
|
|
27
|
+
export type { IPagingProps, ButtonsOrientationType } from "./legend/Paging.js";
|
|
28
|
+
export { Paging } from "./legend/Paging.js";
|
|
29
|
+
export type { IHeadlinePaginationProps } from "./compactSize/HeadlinePagination.js";
|
|
30
|
+
export { HeadlinePagination } from "./compactSize/HeadlinePagination.js";
|
|
22
31
|
export { formatLegendLabel, shouldShowFluid, FLUID_LEGEND_THRESHOLD } from "./legend/helpers.js";
|
|
23
|
-
export {
|
|
32
|
+
export type { PositionType, IBaseLegendItem, IColorLegendItem, IGeoChartLegendData, IHeatmapLegendItem, ILegendOptions, IPushpinCategoryLegendItem, IRange, LegendOptionsItemType, ItemBorderRadiusPredicate, IColorLegendSize, } from "./legend/types.js";
|
|
33
|
+
export { DEFAULT_LEGEND_CONFIG, LegendPosition, SupportedLegendPositions } from "./legend/types.js";
|
|
24
34
|
export { fixEmptyHeaderItems } from "./utils/fixEmptyHeaderItems.js";
|
|
25
35
|
export { valueWithEmptyHandling } from "./utils/valueWithEmptyHandling.js";
|
|
26
36
|
export { shouldRenderPagination, calculateHeadlineHeightFontSize } from "./utils/calculateCustomHeight.js";
|
|
27
37
|
export { getHeadlineResponsiveClassName } from "./utils/headlineResponsiveClassName.js";
|
|
28
|
-
export {
|
|
38
|
+
export type { ILegendDetails, ILegendDetailOptions } from "./legend/PopUpLegend/helpers.js";
|
|
39
|
+
export { getLegendDetails } from "./legend/PopUpLegend/helpers.js";
|
|
29
40
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts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;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,YAAY,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEjG,YAAY,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,0BAA0B,EAC1B,MAAM,EACN,qBAAqB,EACrB,yBAAyB,EACzB,gBAAgB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,OAAO,EAAE,sBAAsB,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AAC3G,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAExF,YAAY,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2019-
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
2
|
/**
|
|
3
3
|
* This package provides functions commonly used when building visualizations.
|
|
4
4
|
*
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
11
|
export { AttributeColorStrategy } from "./coloring/attribute.js";
|
|
12
|
-
export { ColorStrategy, getAttributeColorAssignment, isValidMappedColor
|
|
12
|
+
export { ColorStrategy, getAttributeColorAssignment, isValidMappedColor } from "./coloring/base.js";
|
|
13
13
|
export { getColorByGuid, getColorFromMapping, getColorMappingPredicate, getColorPaletteFromColors, getLighterColor, getLighterColorFromRGB, getRgbString, getRgbStringFromRGB, isCustomPalette, normalizeColorToRGB, parseRGBColorCode, getValidColorPalette, ColorUtils, parseRGBString, } from "./coloring/color.js";
|
|
14
14
|
export { Legend } from "./legend/Legend.js";
|
|
15
15
|
export { StaticLegend } from "./legend/StaticLegend.js";
|
|
@@ -20,7 +20,7 @@ export { ColorLegend } from "./legend/ColorLegend.js";
|
|
|
20
20
|
export { Paging } from "./legend/Paging.js";
|
|
21
21
|
export { HeadlinePagination } from "./compactSize/HeadlinePagination.js";
|
|
22
22
|
export { formatLegendLabel, shouldShowFluid, FLUID_LEGEND_THRESHOLD } from "./legend/helpers.js";
|
|
23
|
-
export { DEFAULT_LEGEND_CONFIG, LegendPosition, SupportedLegendPositions
|
|
23
|
+
export { DEFAULT_LEGEND_CONFIG, LegendPosition, SupportedLegendPositions } from "./legend/types.js";
|
|
24
24
|
export { fixEmptyHeaderItems } from "./utils/fixEmptyHeaderItems.js";
|
|
25
25
|
export { valueWithEmptyHandling } from "./utils/valueWithEmptyHandling.js";
|
|
26
26
|
export { shouldRenderPagination, calculateHeadlineHeightFontSize } from "./utils/calculateCustomHeight.js";
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC;;;;;;;;GAQG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC;;;;;;;;GAQG;AAEH,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 -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-vis-commons",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.12.0-alpha.0",
|
|
4
4
|
"description": "GoodData.UI SDK - common functionality for different types of visualizations",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
"author": "GoodData Corporation",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"type": "module",
|
|
13
|
-
"exports":
|
|
13
|
+
"exports": {
|
|
14
|
+
".": "./esm/index.js",
|
|
15
|
+
"./styles/css/*": "./styles/css/*",
|
|
16
|
+
"./styles/scss/*": "./styles/scss/*"
|
|
17
|
+
},
|
|
14
18
|
"types": "./esm/index.d.ts",
|
|
15
19
|
"sideEffects": [
|
|
16
20
|
"*.css",
|
|
@@ -32,11 +36,11 @@
|
|
|
32
36
|
"react-intl": "^6.4.1",
|
|
33
37
|
"react-measure": "^2.5.2",
|
|
34
38
|
"tslib": "^2.5.0",
|
|
35
|
-
"@gooddata/sdk-backend-spi": "10.
|
|
36
|
-
"@gooddata/sdk-ui": "10.
|
|
37
|
-
"@gooddata/sdk-model": "10.
|
|
38
|
-
"@gooddata/sdk-ui
|
|
39
|
-
"@gooddata/sdk-ui-
|
|
39
|
+
"@gooddata/sdk-backend-spi": "10.12.0-alpha.0",
|
|
40
|
+
"@gooddata/sdk-ui-theme-provider": "10.12.0-alpha.0",
|
|
41
|
+
"@gooddata/sdk-model": "10.12.0-alpha.0",
|
|
42
|
+
"@gooddata/sdk-ui": "10.12.0-alpha.0",
|
|
43
|
+
"@gooddata/sdk-ui-kit": "10.12.0-alpha.0"
|
|
40
44
|
},
|
|
41
45
|
"peerDependencies": {
|
|
42
46
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -81,8 +85,8 @@
|
|
|
81
85
|
"typescript": "5.3.3",
|
|
82
86
|
"vitest": "1.0.4",
|
|
83
87
|
"vitest-dom": "0.1.1",
|
|
84
|
-
"@gooddata/
|
|
85
|
-
"@gooddata/
|
|
88
|
+
"@gooddata/sdk-backend-mockingbird": "10.12.0-alpha.0",
|
|
89
|
+
"@gooddata/reference-workspace": "10.12.0-alpha.0"
|
|
86
90
|
},
|
|
87
91
|
"scripts": {
|
|
88
92
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|