@gooddata/sdk-ui-vis-commons 10.30.0-alpha.8 → 10.30.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/package.json +8 -8
- package/styles/scss/legend.scss +15 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-vis-commons",
|
|
3
|
-
"version": "10.30.0
|
|
3
|
+
"version": "10.30.0",
|
|
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-backend-spi": "10.30.0
|
|
40
|
-
"@gooddata/sdk-
|
|
41
|
-
"@gooddata/sdk-
|
|
42
|
-
"@gooddata/sdk-ui-kit": "10.30.0
|
|
43
|
-
"@gooddata/sdk-ui-theme-provider": "10.30.0
|
|
39
|
+
"@gooddata/sdk-backend-spi": "10.30.0",
|
|
40
|
+
"@gooddata/sdk-ui": "10.30.0",
|
|
41
|
+
"@gooddata/sdk-model": "10.30.0",
|
|
42
|
+
"@gooddata/sdk-ui-kit": "10.30.0",
|
|
43
|
+
"@gooddata/sdk-ui-theme-provider": "10.30.0"
|
|
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.30.0
|
|
89
|
-
"@gooddata/sdk-backend-mockingbird": "10.30.0
|
|
88
|
+
"@gooddata/reference-workspace": "10.30.0",
|
|
89
|
+
"@gooddata/sdk-backend-mockingbird": "10.30.0"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|
|
92
92
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|
package/styles/scss/legend.scss
CHANGED
|
@@ -118,23 +118,29 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
118
118
|
|
|
119
119
|
@include mixins.active-states-and-self {
|
|
120
120
|
text-decoration: none;
|
|
121
|
-
background-color:
|
|
121
|
+
background-color: kit-variables.$is-focused-background;
|
|
122
122
|
|
|
123
123
|
// refactor?
|
|
124
124
|
// stylelint-disable-next-line max-nesting-depth
|
|
125
125
|
&::before {
|
|
126
|
-
color:
|
|
126
|
+
color: kit-variables.$gd-color-link;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
&:hover {
|
|
131
|
+
background-color: var(
|
|
132
|
+
--gd-palette-complementary-7-from-theme,
|
|
133
|
+
kit-variables.$gd-color-text-dimmed
|
|
134
|
+
);
|
|
135
|
+
|
|
131
136
|
// refactor?
|
|
132
137
|
// stylelint-disable-next-line max-nesting-depth
|
|
133
138
|
&::before {
|
|
134
|
-
color: kit-variables.$gd-
|
|
139
|
+
color: kit-variables.$gd-color-text-light;
|
|
135
140
|
}
|
|
136
141
|
}
|
|
137
142
|
|
|
143
|
+
&[aria-disabled="true"],
|
|
138
144
|
&[disabled] {
|
|
139
145
|
// refactor?
|
|
140
146
|
// stylelint-disable-next-line max-nesting-depth
|
|
@@ -462,12 +468,16 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
462
468
|
background-color: kit-variables.$is-focused-background;
|
|
463
469
|
cursor: pointer;
|
|
464
470
|
|
|
471
|
+
.LegendMenuContent {
|
|
472
|
+
fill: kit-variables.$gd-color-link;
|
|
473
|
+
}
|
|
474
|
+
|
|
465
475
|
&:hover,
|
|
466
476
|
&.legend-popup-icon-active {
|
|
467
|
-
background-color: kit-variables.$gd-color-
|
|
477
|
+
background-color: var(--gd-palette-complementary-7-from-theme, kit-variables.$gd-color-text-dimmed);
|
|
468
478
|
|
|
469
479
|
.LegendMenuContent {
|
|
470
|
-
fill: kit-variables.$gd-color-
|
|
480
|
+
fill: kit-variables.$gd-color-text-light;
|
|
471
481
|
}
|
|
472
482
|
}
|
|
473
483
|
}
|