@gooddata/sdk-ui-vis-commons 10.17.0-alpha.2 → 10.17.0-alpha.20
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-vis-commons",
|
|
3
|
-
"version": "10.17.0-alpha.
|
|
3
|
+
"version": "10.17.0-alpha.20",
|
|
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.17.0-alpha.
|
|
40
|
-
"@gooddata/sdk-
|
|
41
|
-
"@gooddata/sdk-
|
|
42
|
-
"@gooddata/sdk-ui-kit": "10.17.0-alpha.
|
|
43
|
-
"@gooddata/sdk-ui-theme-provider": "10.17.0-alpha.
|
|
39
|
+
"@gooddata/sdk-backend-spi": "10.17.0-alpha.20",
|
|
40
|
+
"@gooddata/sdk-model": "10.17.0-alpha.20",
|
|
41
|
+
"@gooddata/sdk-ui": "10.17.0-alpha.20",
|
|
42
|
+
"@gooddata/sdk-ui-kit": "10.17.0-alpha.20",
|
|
43
|
+
"@gooddata/sdk-ui-theme-provider": "10.17.0-alpha.20"
|
|
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": "1.0.4",
|
|
87
87
|
"vitest-dom": "0.1.1",
|
|
88
|
-
"@gooddata/reference-workspace": "10.17.0-alpha.
|
|
89
|
-
"@gooddata/sdk-backend-mockingbird": "10.17.0-alpha.
|
|
88
|
+
"@gooddata/reference-workspace": "10.17.0-alpha.20",
|
|
89
|
+
"@gooddata/sdk-backend-mockingbird": "10.17.0-alpha.20"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|
|
92
92
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2021 GoodData Corporation
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
2
|
@use "sass:color";
|
|
3
3
|
@use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
|
|
4
4
|
@use "@gooddata/sdk-ui-kit/styles/scss/mixins";
|
|
@@ -37,11 +37,11 @@ $legend-paging-background: #eee;
|
|
|
37
37
|
|
|
38
38
|
@include mixins.active-states-and-self {
|
|
39
39
|
text-decoration: none;
|
|
40
|
-
background-color: var(--gd-palette-complementary-2, $legend-paging-background);
|
|
40
|
+
background-color: var(--gd-palette-complementary-2-from-theme, $legend-paging-background);
|
|
41
41
|
|
|
42
42
|
// stylelint-disable-next-line max-nesting-depth
|
|
43
43
|
&::before {
|
|
44
|
-
color: var(--gd-palette-complementary-7, kit-variables.$default-gd-color-dark);
|
|
44
|
+
color: var(--gd-palette-complementary-7-from-theme, kit-variables.$default-gd-color-dark);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -56,7 +56,7 @@ $legend-paging-background: #eee;
|
|
|
56
56
|
// stylelint-disable-next-line max-nesting-depth
|
|
57
57
|
@include mixins.active-states-and-self {
|
|
58
58
|
background-color: var(
|
|
59
|
-
--gd-palette-complementary-1,
|
|
59
|
+
--gd-palette-complementary-1-from-theme,
|
|
60
60
|
color.adjust($legend-paging-background, $alpha: -0.5)
|
|
61
61
|
);
|
|
62
62
|
|
|
@@ -134,9 +134,9 @@ $legend-paging-background: #eee;
|
|
|
134
134
|
border-left: 0;
|
|
135
135
|
border-bottom: 1px dashed
|
|
136
136
|
var(
|
|
137
|
-
--gd-dashboards-content-kpiWidget-kpi-secondaryInfoColor,
|
|
137
|
+
--gd-dashboards-content-kpiWidget-kpi-secondaryInfoColor-from-theme,
|
|
138
138
|
var(
|
|
139
|
-
--gd-palette-complementary-3,
|
|
139
|
+
--gd-palette-complementary-3-from-theme,
|
|
140
140
|
color.adjust(kit-variables.$default-gd-color-disabled, $alpha: -0.5)
|
|
141
141
|
)
|
|
142
142
|
);
|
|
@@ -165,7 +165,7 @@ $legend-paging-background: #eee;
|
|
|
165
165
|
var(
|
|
166
166
|
--gd-kpi-secondaryInfoColor,
|
|
167
167
|
var(
|
|
168
|
-
--gd-palette-complementary-3,
|
|
168
|
+
--gd-palette-complementary-3-from-theme,
|
|
169
169
|
color.adjust(kit-variables.$default-gd-color-disabled, $alpha: -0.5)
|
|
170
170
|
)
|
|
171
171
|
);
|
package/styles/scss/legend.scss
CHANGED
|
@@ -10,7 +10,7 @@ $paging-button-small-size: 22px;
|
|
|
10
10
|
$responsive-legend: "only screen and (max-width: 767px)";
|
|
11
11
|
$dialog-border: bubble-variables.$default-bubble-light-border-base;
|
|
12
12
|
$dialog-background: kit-variables.$is-focused-background;
|
|
13
|
-
$legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-complementary-0,
|
|
13
|
+
$legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-complementary-0, #fff));
|
|
14
14
|
|
|
15
15
|
@media #{$responsive-legend} {
|
|
16
16
|
.viz-line-family-chart-wrap {
|
|
@@ -102,12 +102,12 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
102
102
|
|
|
103
103
|
@include mixins.active-states-and-self {
|
|
104
104
|
text-decoration: none;
|
|
105
|
-
background-color: var(--gd-palette-complementary-2, $dialog-background);
|
|
105
|
+
background-color: var(--gd-palette-complementary-2-from-theme, $dialog-background);
|
|
106
106
|
|
|
107
107
|
// refactor?
|
|
108
108
|
// stylelint-disable-next-line max-nesting-depth
|
|
109
109
|
&::before {
|
|
110
|
-
color: var(--gd-palette-complementary-7, kit-variables.$default-gd-color-dark);
|
|
110
|
+
color: var(--gd-palette-complementary-7-from-theme, kit-variables.$default-gd-color-dark);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -124,7 +124,7 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
124
124
|
// stylelint-disable-next-line max-nesting-depth
|
|
125
125
|
@include mixins.active-states-and-self {
|
|
126
126
|
background-color: var(
|
|
127
|
-
--gd-palette-complementary-1,
|
|
127
|
+
--gd-palette-complementary-1-from-theme,
|
|
128
128
|
color.adjust(kit-variables.$default-is-focused-background, $alpha: -0.5)
|
|
129
129
|
);
|
|
130
130
|
|
|
@@ -549,7 +549,7 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
549
549
|
position: relative;
|
|
550
550
|
z-index: 5002;
|
|
551
551
|
min-height: 148px;
|
|
552
|
-
border: 1px solid var(--gd-palette-complementary-3, color.adjust($dialog-border, $alpha: -0.5));
|
|
552
|
+
border: 1px solid var(--gd-palette-complementary-3-from-theme, color.adjust($dialog-border, $alpha: -0.5));
|
|
553
553
|
border-radius: 5px;
|
|
554
554
|
box-shadow: 0 1px 3px 0 button-variables.$button-shadow-lighter,
|
|
555
555
|
0 2px 9px 0 button-variables.$button-shadow-darker;
|
|
@@ -652,7 +652,10 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
&::before {
|
|
655
|
-
border-right-color: var(
|
|
655
|
+
border-right-color: var(
|
|
656
|
+
--gd-palette-complementary-3-from-theme,
|
|
657
|
+
color.adjust($dialog-border, $alpha: -0.5)
|
|
658
|
+
);
|
|
656
659
|
}
|
|
657
660
|
|
|
658
661
|
&::after {
|
|
@@ -675,7 +678,10 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
675
678
|
}
|
|
676
679
|
|
|
677
680
|
&::before {
|
|
678
|
-
border-left-color: var(
|
|
681
|
+
border-left-color: var(
|
|
682
|
+
--gd-palette-complementary-3-from-theme,
|
|
683
|
+
color.adjust($dialog-border, $alpha: -0.5)
|
|
684
|
+
);
|
|
679
685
|
}
|
|
680
686
|
}
|
|
681
687
|
}
|
|
@@ -737,7 +743,7 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
737
743
|
|
|
738
744
|
&::before {
|
|
739
745
|
border-bottom-color: var(
|
|
740
|
-
--gd-palette-complementary-3,
|
|
746
|
+
--gd-palette-complementary-3-from-theme,
|
|
741
747
|
color.adjust($dialog-border, $alpha: -0.5)
|
|
742
748
|
);
|
|
743
749
|
}
|
|
@@ -758,7 +764,10 @@ $legend-content-background: var(--gd-chart-backgroundColor, var(--gd-palette-com
|
|
|
758
764
|
}
|
|
759
765
|
|
|
760
766
|
&::before {
|
|
761
|
-
border-top-color: var(
|
|
767
|
+
border-top-color: var(
|
|
768
|
+
--gd-palette-complementary-3-from-theme,
|
|
769
|
+
color.adjust($dialog-border, $alpha: -0.5)
|
|
770
|
+
);
|
|
762
771
|
}
|
|
763
772
|
|
|
764
773
|
&::after {
|