@gooddata/sdk-ui-vis-commons 10.28.0-alpha.9 → 10.28.0-alpha.91
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 +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/esm/legend/FluidLegend.d.ts.map +1 -1
- package/esm/legend/FluidLegend.js +3 -2
- package/esm/legend/FluidLegend.js.map +1 -1
- package/esm/legend/Legend.d.ts +4 -4
- package/esm/legend/Legend.d.ts.map +1 -1
- package/esm/legend/Legend.js +1 -1
- package/esm/legend/Legend.js.map +1 -1
- package/esm/legend/LegendAxisIndicator.d.ts +2 -2
- package/esm/legend/LegendAxisIndicator.d.ts.map +1 -1
- package/esm/legend/LegendAxisIndicator.js +1 -1
- package/esm/legend/LegendAxisIndicator.js.map +1 -1
- package/esm/legend/LegendItem.d.ts +3 -2
- package/esm/legend/LegendItem.d.ts.map +1 -1
- package/esm/legend/LegendItem.js +8 -1
- package/esm/legend/LegendItem.js.map +1 -1
- package/esm/legend/LegendList.d.ts +4 -6
- package/esm/legend/LegendList.d.ts.map +1 -1
- package/esm/legend/LegendList.js +16 -19
- package/esm/legend/LegendList.js.map +1 -1
- package/esm/legend/LegendSeries.d.ts +13 -0
- package/esm/legend/LegendSeries.d.ts.map +1 -0
- package/esm/legend/LegendSeries.js +63 -0
- package/esm/legend/LegendSeries.js.map +1 -0
- package/esm/legend/Paging.d.ts.map +1 -1
- package/esm/legend/Paging.js +2 -1
- package/esm/legend/Paging.js.map +1 -1
- package/esm/legend/PopUpLegend/LegendDialog.d.ts +1 -0
- package/esm/legend/PopUpLegend/LegendDialog.d.ts.map +1 -1
- package/esm/legend/PopUpLegend/LegendDialog.js +21 -13
- package/esm/legend/PopUpLegend/LegendDialog.js.map +1 -1
- package/esm/legend/PopUpLegend/PopUpLegend.d.ts +3 -3
- package/esm/legend/PopUpLegend/PopUpLegend.d.ts.map +1 -1
- package/esm/legend/PopUpLegend/PopUpLegend.js +10 -5
- package/esm/legend/PopUpLegend/PopUpLegend.js.map +1 -1
- package/esm/legend/PopUpLegend/RowLegend.d.ts +7 -3
- package/esm/legend/PopUpLegend/RowLegend.d.ts.map +1 -1
- package/esm/legend/PopUpLegend/RowLegend.js +26 -22
- package/esm/legend/PopUpLegend/RowLegend.js.map +1 -1
- package/esm/legend/StaticLegend.d.ts +5 -15
- package/esm/legend/StaticLegend.d.ts.map +1 -1
- package/esm/legend/StaticLegend.js +51 -73
- package/esm/legend/StaticLegend.js.map +1 -1
- package/esm/legend/context.d.ts +16 -0
- package/esm/legend/context.d.ts.map +1 -0
- package/esm/legend/context.js +14 -0
- package/esm/legend/context.js.map +1 -0
- package/esm/legend/helpers.js +1 -1
- package/esm/legend/types.d.ts +15 -0
- package/esm/legend/types.d.ts.map +1 -1
- package/esm/legend/types.js +1 -1
- package/esm/sdk-ui-vis-commons.d.ts +25 -19
- package/package.json +10 -9
- package/styles/scss/legend.scss +9 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-vis-commons",
|
|
3
|
-
"version": "10.28.0-alpha.
|
|
3
|
+
"version": "10.28.0-alpha.91",
|
|
4
4
|
"description": "GoodData.UI SDK - common functionality for different types of visualizations",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"react-intl": "^6.4.1",
|
|
37
37
|
"react-measure": "^2.5.2",
|
|
38
38
|
"tslib": "^2.5.0",
|
|
39
|
-
"@gooddata/sdk-
|
|
40
|
-
"@gooddata/sdk-
|
|
41
|
-
"@gooddata/sdk-
|
|
42
|
-
"@gooddata/sdk-ui-kit": "10.28.0-alpha.
|
|
43
|
-
"@gooddata/sdk-ui-theme-provider": "10.28.0-alpha.
|
|
39
|
+
"@gooddata/sdk-backend-spi": "10.28.0-alpha.91",
|
|
40
|
+
"@gooddata/sdk-ui": "10.28.0-alpha.91",
|
|
41
|
+
"@gooddata/sdk-model": "10.28.0-alpha.91",
|
|
42
|
+
"@gooddata/sdk-ui-kit": "10.28.0-alpha.91",
|
|
43
|
+
"@gooddata/sdk-ui-theme-provider": "10.28.0-alpha.91"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"typescript": "5.3.3",
|
|
86
86
|
"vitest": "3.0.8",
|
|
87
87
|
"vitest-dom": "0.1.1",
|
|
88
|
-
"@gooddata/reference-workspace": "10.28.0-alpha.
|
|
89
|
-
"@gooddata/sdk-backend-mockingbird": "10.28.0-alpha.
|
|
88
|
+
"@gooddata/reference-workspace": "10.28.0-alpha.91",
|
|
89
|
+
"@gooddata/sdk-backend-mockingbird": "10.28.0-alpha.91"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|
|
92
92
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
"validate": "npm run dep-cruiser && npm run eslint && npm run stylelint && npm run validate-locales && npm run prettier-check",
|
|
108
108
|
"validate-ci": "export BROWSERSLIST_IGNORE_OLD_DATA=true && npm run dep-cruiser-ci && npm run eslint-ci && npm run stylelint-ci && npm run validate-locales-ci && npm run prettier-check",
|
|
109
109
|
"validate-locales": "cd ../sdk-ui && npm run validate-locales",
|
|
110
|
-
"validate-locales-ci": "cd ../sdk-ui && npm run validate-locales-ci"
|
|
110
|
+
"validate-locales-ci": "cd ../sdk-ui && npm run validate-locales-ci",
|
|
111
|
+
"validate-esm": "node --input-type=module --eval 'import \"@gooddata/sdk-ui-vis-commons\"'"
|
|
111
112
|
}
|
|
112
113
|
}
|
package/styles/scss/legend.scss
CHANGED
|
@@ -449,20 +449,14 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
449
449
|
justify-content: flex-end;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
.legend-popup-button {
|
|
453
|
-
display: flex;
|
|
454
|
-
justify-content: center;
|
|
455
|
-
align-items: center;
|
|
456
|
-
min-width: 30px;
|
|
457
|
-
height: 30px;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
452
|
.legend-popup-icon {
|
|
461
453
|
display: flex;
|
|
462
454
|
justify-content: center;
|
|
463
455
|
align-items: center;
|
|
464
456
|
min-width: 22px;
|
|
465
457
|
height: 22px;
|
|
458
|
+
margin: 4px;
|
|
459
|
+
border: none;
|
|
466
460
|
border-radius: 50%;
|
|
467
461
|
background-color: kit-variables.$is-focused-background;
|
|
468
462
|
cursor: pointer;
|
|
@@ -837,3 +831,10 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
837
831
|
}
|
|
838
832
|
}
|
|
839
833
|
}
|
|
834
|
+
|
|
835
|
+
.legend-series-wrapper:focus-visible {
|
|
836
|
+
outline: none;
|
|
837
|
+
.series-item--isFocused {
|
|
838
|
+
@include mixins.focus-ring;
|
|
839
|
+
}
|
|
840
|
+
}
|