@gooddata/sdk-ui-kit 10.36.0-alpha.4 → 10.36.0-alpha.6
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/@ui/@types/background.d.ts +9 -0
- package/esm/@ui/@types/background.d.ts.map +1 -0
- package/esm/@ui/@types/background.js +3 -0
- package/esm/@ui/@types/background.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableFilter.d.ts +7 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableFilter.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableFilter.js +32 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableFilter.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableRow.d.ts +6 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableRow.d.ts.map +1 -0
- package/esm/{Table → @ui/UiAsyncTable/UiAsyncTable}/AsyncTableRow.js +33 -15
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableRow.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableToolbar.d.ts +6 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableToolbar.d.ts.map +1 -0
- package/esm/{Table → @ui/UiAsyncTable/UiAsyncTable}/AsyncTableToolbar.js +27 -11
- package/esm/@ui/UiAsyncTable/UiAsyncTable/AsyncTableToolbar.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts +7 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts.map +1 -0
- package/esm/{Table → @ui/UiAsyncTable/UiAsyncTable}/SkeletonItemFactory.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts +9 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts.map +1 -0
- package/esm/{Table/AsyncTable.js → @ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js} +19 -21
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.d.ts +4 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js +21 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.d.ts +4 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.js +9 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.d.ts +5 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.js +6 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts +3 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts.map +1 -0
- package/esm/{Table/AsyncTableEmptyState.js → @ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js} +5 -5
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.d.ts +7 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js +32 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.d.ts +4 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.d.ts.map +1 -0
- package/esm/{Table/AsyncTableHeader.js → @ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js} +7 -7
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts +6 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js +86 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.d.ts +6 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js +72 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/WithConditionalAnchor.d.ts +6 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/WithConditionalAnchor.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/WithConditionalAnchor.js +7 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/WithConditionalAnchor.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/constants.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/constants.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.js.map +1 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.d.ts +7 -0
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.d.ts.map +1 -0
- package/esm/{Table/AsyncTableTitle.js → @ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js} +27 -19
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js.map +1 -0
- package/esm/@ui/UiAsyncTable/asyncTableBem.d.ts +2 -0
- package/esm/@ui/UiAsyncTable/asyncTableBem.d.ts.map +1 -0
- package/esm/{Table → @ui/UiAsyncTable}/asyncTableBem.js +1 -1
- package/esm/@ui/UiAsyncTable/asyncTableBem.js.map +1 -0
- package/esm/@ui/UiAsyncTable/locales.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/locales.js.map +1 -0
- package/esm/{Table → @ui/UiAsyncTable}/types.d.ts +45 -41
- package/esm/@ui/UiAsyncTable/types.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/types.js.map +1 -0
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.d.ts +5 -0
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.d.ts.map +1 -0
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.js +14 -0
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.js.map +1 -0
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts +1 -0
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts.map +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.js +3 -3
- package/esm/@ui/UiCheckbox/UiCheckbox.js.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts +6 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.js +6 -4
- package/esm/@ui/UiIcon/UiIcon.js.map +1 -1
- package/esm/@ui/UiIcon/UiIconBackground.d.ts +11 -0
- package/esm/@ui/UiIcon/UiIconBackground.d.ts.map +1 -0
- package/esm/@ui/UiIcon/UiIconBackground.js +10 -0
- package/esm/@ui/UiIcon/UiIconBackground.js.map +1 -0
- package/esm/@ui/UiIcon/iconBackgroundBem.d.ts +2 -0
- package/esm/@ui/UiIcon/iconBackgroundBem.d.ts.map +1 -0
- package/esm/@ui/UiIcon/iconBackgroundBem.js +4 -0
- package/esm/@ui/UiIcon/iconBackgroundBem.js.map +1 -0
- package/esm/index.d.ts +5 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -2
- package/esm/index.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +125 -138
- package/package.json +8 -8
- package/{styles/scss → src/@ui/UiAsyncTable}/asyncTable.scss +27 -15
- package/src/@ui/UiCheckbox/UiCheckbox.scss +5 -1
- package/src/@ui/UiIcon/UiIcon.scss +32 -44
- package/src/@ui/defaultTheme.scss +1 -0
- package/src/@ui/index.scss +1 -0
- package/src/@ui/themeColorsMap.scss +17 -0
- package/styles/css/main.css +271 -203
- package/styles/css/main.css.map +1 -1
- package/styles/scss/main.scss +0 -1
- package/esm/Table/AsyncTable.d.ts +0 -9
- package/esm/Table/AsyncTable.d.ts.map +0 -1
- package/esm/Table/AsyncTable.js.map +0 -1
- package/esm/Table/AsyncTableBulkActions.d.ts +0 -4
- package/esm/Table/AsyncTableBulkActions.d.ts.map +0 -1
- package/esm/Table/AsyncTableBulkActions.js +0 -21
- package/esm/Table/AsyncTableBulkActions.js.map +0 -1
- package/esm/Table/AsyncTableCheckbox.d.ts +0 -4
- package/esm/Table/AsyncTableCheckbox.d.ts.map +0 -1
- package/esm/Table/AsyncTableCheckbox.js +0 -9
- package/esm/Table/AsyncTableCheckbox.js.map +0 -1
- package/esm/Table/AsyncTableDropdownItem.d.ts +0 -5
- package/esm/Table/AsyncTableDropdownItem.d.ts.map +0 -1
- package/esm/Table/AsyncTableDropdownItem.js +0 -6
- package/esm/Table/AsyncTableDropdownItem.js.map +0 -1
- package/esm/Table/AsyncTableEmptyState.d.ts +0 -3
- package/esm/Table/AsyncTableEmptyState.d.ts.map +0 -1
- package/esm/Table/AsyncTableEmptyState.js.map +0 -1
- package/esm/Table/AsyncTableFilter.d.ts +0 -7
- package/esm/Table/AsyncTableFilter.d.ts.map +0 -1
- package/esm/Table/AsyncTableFilter.js +0 -32
- package/esm/Table/AsyncTableFilter.js.map +0 -1
- package/esm/Table/AsyncTableHeader.d.ts +0 -4
- package/esm/Table/AsyncTableHeader.d.ts.map +0 -1
- package/esm/Table/AsyncTableHeader.js.map +0 -1
- package/esm/Table/AsyncTableRow.d.ts +0 -6
- package/esm/Table/AsyncTableRow.d.ts.map +0 -1
- package/esm/Table/AsyncTableRow.js.map +0 -1
- package/esm/Table/AsyncTableTitle.d.ts +0 -4
- package/esm/Table/AsyncTableTitle.d.ts.map +0 -1
- package/esm/Table/AsyncTableTitle.js.map +0 -1
- package/esm/Table/AsyncTableToolbar.d.ts +0 -6
- package/esm/Table/AsyncTableToolbar.d.ts.map +0 -1
- package/esm/Table/AsyncTableToolbar.js.map +0 -1
- package/esm/Table/SkeletonItemFactory.d.ts +0 -7
- package/esm/Table/SkeletonItemFactory.d.ts.map +0 -1
- package/esm/Table/SkeletonItemFactory.js.map +0 -1
- package/esm/Table/asyncTableBem.d.ts +0 -2
- package/esm/Table/asyncTableBem.d.ts.map +0 -1
- package/esm/Table/asyncTableBem.js.map +0 -1
- package/esm/Table/constants.d.ts.map +0 -1
- package/esm/Table/constants.js.map +0 -1
- package/esm/Table/index.d.ts +0 -3
- package/esm/Table/index.d.ts.map +0 -1
- package/esm/Table/index.js +0 -3
- package/esm/Table/index.js.map +0 -1
- package/esm/Table/locales.d.ts.map +0 -1
- package/esm/Table/locales.js.map +0 -1
- package/esm/Table/types.d.ts.map +0 -1
- package/esm/Table/types.js.map +0 -1
- package/esm/Table/utils.d.ts.map +0 -1
- package/esm/Table/utils.js.map +0 -1
- package/esm/utils/debounce.d.ts +0 -38
- package/esm/utils/debounce.d.ts.map +0 -1
- package/esm/utils/debounce.js +0 -34
- package/esm/utils/debounce.js.map +0 -1
- package/styles/css/asyncTable.css +0 -205
- package/styles/css/asyncTable.css.map +0 -1
- /package/esm/{Table → @ui/UiAsyncTable/UiAsyncTable}/constants.d.ts +0 -0
- /package/esm/{Table → @ui/UiAsyncTable/UiAsyncTable}/constants.js +0 -0
- /package/esm/{Table → @ui/UiAsyncTable/UiAsyncTable}/utils.d.ts +0 -0
- /package/esm/{Table → @ui/UiAsyncTable/UiAsyncTable}/utils.js +0 -0
- /package/esm/{Table → @ui/UiAsyncTable}/locales.d.ts +0 -0
- /package/esm/{Table → @ui/UiAsyncTable}/locales.js +0 -0
- /package/esm/{Table → @ui/UiAsyncTable}/types.js +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
3
|
-
"version": "10.36.0-alpha.
|
3
|
+
"version": "10.36.0-alpha.6",
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -75,11 +75,11 @@
|
|
75
75
|
"@floating-ui/dom": "1.6.13",
|
76
76
|
"@floating-ui/react-dom": "2.1.2",
|
77
77
|
"@floating-ui/react": "~0.27.12",
|
78
|
-
"@gooddata/sdk-backend-spi": "10.36.0-alpha.
|
79
|
-
"@gooddata/sdk-model": "10.36.0-alpha.
|
80
|
-
"@gooddata/sdk-ui": "10.36.0-alpha.
|
81
|
-
"@gooddata/sdk-ui-theme-provider": "10.36.0-alpha.
|
82
|
-
"@gooddata/util": "10.36.0-alpha.
|
78
|
+
"@gooddata/sdk-backend-spi": "10.36.0-alpha.6",
|
79
|
+
"@gooddata/sdk-model": "10.36.0-alpha.6",
|
80
|
+
"@gooddata/sdk-ui": "10.36.0-alpha.6",
|
81
|
+
"@gooddata/sdk-ui-theme-provider": "10.36.0-alpha.6",
|
82
|
+
"@gooddata/util": "10.36.0-alpha.6"
|
83
83
|
},
|
84
84
|
"peerDependencies": {
|
85
85
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
@@ -135,8 +135,8 @@
|
|
135
135
|
"typescript": "5.8.3",
|
136
136
|
"vitest": "3.2.4",
|
137
137
|
"vitest-dom": "0.1.1",
|
138
|
-
"@gooddata/reference-workspace": "10.36.0-alpha.
|
139
|
-
"@gooddata/sdk-backend-mockingbird": "10.36.0-alpha.
|
138
|
+
"@gooddata/reference-workspace": "10.36.0-alpha.6",
|
139
|
+
"@gooddata/sdk-backend-mockingbird": "10.36.0-alpha.6"
|
140
140
|
},
|
141
141
|
"scripts": {
|
142
142
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// (C) 2025 GoodData Corporation
|
2
|
-
@use "
|
2
|
+
@use "../../../styles/scss/mixins";
|
3
3
|
|
4
4
|
.gd-ui-kit-async-table {
|
5
5
|
$root: &;
|
@@ -88,10 +88,6 @@
|
|
88
88
|
box-sizing: border-box;
|
89
89
|
border-bottom: 1px solid var(--gd-palette-complementary-2);
|
90
90
|
|
91
|
-
> * {
|
92
|
-
flex: 0 0 auto;
|
93
|
-
}
|
94
|
-
|
95
91
|
&--bold {
|
96
92
|
font-weight: 700;
|
97
93
|
}
|
@@ -103,6 +99,10 @@
|
|
103
99
|
}
|
104
100
|
}
|
105
101
|
|
102
|
+
&__link {
|
103
|
+
width: 100%;
|
104
|
+
}
|
105
|
+
|
106
106
|
&__text {
|
107
107
|
flex: 0 1 auto;
|
108
108
|
text-overflow: ellipsis;
|
@@ -114,12 +114,18 @@
|
|
114
114
|
flex-direction: column;
|
115
115
|
font-size: var(--gd-table-multi-line-font-size);
|
116
116
|
line-height: var(--gd-table-multi-line-line-height);
|
117
|
+
}
|
118
|
+
}
|
117
119
|
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
120
|
+
&__text-line {
|
121
|
+
text-overflow: inherit;
|
122
|
+
overflow: inherit;
|
123
|
+
white-space: inherit;
|
124
|
+
|
125
|
+
&--first {
|
126
|
+
font-size: var(--gd-table-multi-line-font-size-large);
|
127
|
+
line-height: var(--gd-table-multi-line-line-height-large);
|
128
|
+
font-weight: 700;
|
123
129
|
}
|
124
130
|
}
|
125
131
|
|
@@ -129,6 +135,7 @@
|
|
129
135
|
display: flex;
|
130
136
|
align-items: center;
|
131
137
|
justify-content: center;
|
138
|
+
flex: none;
|
132
139
|
}
|
133
140
|
|
134
141
|
&__role-icon {
|
@@ -139,10 +146,15 @@
|
|
139
146
|
margin-right: var(--gd-spacing-5px);
|
140
147
|
}
|
141
148
|
|
142
|
-
&__suffix-icon
|
149
|
+
&__suffix-icon,
|
150
|
+
&__badge {
|
143
151
|
margin-left: var(--gd-spacing-5px);
|
144
152
|
}
|
145
153
|
|
154
|
+
&__badge {
|
155
|
+
flex: none;
|
156
|
+
}
|
157
|
+
|
146
158
|
&__sort {
|
147
159
|
padding: 0 var(--gd-spacing-5px);
|
148
160
|
display: none;
|
@@ -152,10 +164,6 @@
|
|
152
164
|
}
|
153
165
|
}
|
154
166
|
|
155
|
-
&__badge {
|
156
|
-
margin-left: var(--gd-spacing-5px);
|
157
|
-
}
|
158
|
-
|
159
167
|
&__toolbar {
|
160
168
|
padding: 0;
|
161
169
|
height: var(--gd-table-row-height-small);
|
@@ -194,6 +202,10 @@
|
|
194
202
|
padding-right: var(--gd-spacing-20px);
|
195
203
|
}
|
196
204
|
|
205
|
+
&__toolbar-search {
|
206
|
+
margin-left: auto;
|
207
|
+
}
|
208
|
+
|
197
209
|
&__dropdown-item {
|
198
210
|
display: flex;
|
199
211
|
align-items: center;
|
@@ -24,7 +24,7 @@
|
|
24
24
|
border-color 0.2s;
|
25
25
|
background-color: var(--gd-palette-complementary-0);
|
26
26
|
|
27
|
-
&:hover {
|
27
|
+
&:hover:not(&--disabled) {
|
28
28
|
border-color: var(--gd-palette-complementary-6);
|
29
29
|
box-shadow: 0 1px 2px 0 rgba(31, 53, 74, 0.15) inset;
|
30
30
|
}
|
@@ -65,6 +65,10 @@
|
|
65
65
|
transform: scale(1) rotate(0deg);
|
66
66
|
}
|
67
67
|
}
|
68
|
+
|
69
|
+
&--disabled {
|
70
|
+
border-color: var(--gd-palette-complementary-3);
|
71
|
+
}
|
68
72
|
}
|
69
73
|
|
70
74
|
&__input:focus-visible + &__box {
|
@@ -1,4 +1,6 @@
|
|
1
1
|
// (C) 2024-2025 GoodData Corporation
|
2
|
+
@use "../themeColorsMap";
|
3
|
+
|
2
4
|
.gd-ui-kit-icon {
|
3
5
|
fill: var(--gd-icon-fill-color);
|
4
6
|
|
@@ -13,60 +15,46 @@
|
|
13
15
|
}
|
14
16
|
|
15
17
|
&--color {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
&-warning {
|
21
|
-
--gd-icon-fill-color: var(--gd-palette-warning-base);
|
22
|
-
}
|
23
|
-
|
24
|
-
&-error {
|
25
|
-
--gd-icon-fill-color: var(--gd-palette-error-base);
|
26
|
-
}
|
27
|
-
|
28
|
-
&-complementary-0 {
|
29
|
-
--gd-icon-fill-color: var(--gd-palette-complementary-0);
|
30
|
-
}
|
31
|
-
|
32
|
-
&-complementary-1 {
|
33
|
-
--gd-icon-fill-color: var(--gd-palette-complementary-1);
|
34
|
-
}
|
35
|
-
|
36
|
-
&-complementary-2 {
|
37
|
-
--gd-icon-fill-color: var(--gd-palette-complementary-2);
|
38
|
-
}
|
39
|
-
|
40
|
-
&-complementary-3 {
|
41
|
-
--gd-icon-fill-color: var(--gd-palette-complementary-3);
|
18
|
+
@each $key, $value in themeColorsMap.$theme-colors-map {
|
19
|
+
&-#{$key} {
|
20
|
+
--gd-icon-fill-color: var(--gd-palette-#{$value});
|
21
|
+
}
|
42
22
|
}
|
23
|
+
}
|
43
24
|
|
44
|
-
|
45
|
-
|
46
|
-
|
25
|
+
path {
|
26
|
+
transition: var(--gd-transition-all);
|
27
|
+
}
|
28
|
+
}
|
47
29
|
|
48
|
-
|
49
|
-
|
50
|
-
|
30
|
+
.gd-ui-kit-icon-background {
|
31
|
+
display: flex;
|
32
|
+
align-items: center;
|
33
|
+
justify-content: center;
|
34
|
+
fill: var(--gd-icon-background-color);
|
35
|
+
$root: &;
|
51
36
|
|
52
|
-
|
53
|
-
|
37
|
+
&--shape {
|
38
|
+
&-circle {
|
39
|
+
border-radius: 50%;
|
54
40
|
}
|
41
|
+
}
|
55
42
|
|
56
|
-
|
57
|
-
|
43
|
+
&--color {
|
44
|
+
@each $key, $value in themeColorsMap.$theme-colors-map {
|
45
|
+
&-#{$key} {
|
46
|
+
--gd-icon-background-color: var(--gd-palette-#{$value});
|
47
|
+
}
|
58
48
|
}
|
49
|
+
}
|
59
50
|
|
60
|
-
|
61
|
-
|
51
|
+
&--type {
|
52
|
+
&-fill {
|
53
|
+
background-color: var(--gd-icon-background-color);
|
62
54
|
}
|
63
55
|
|
64
|
-
&-
|
65
|
-
|
56
|
+
&-border {
|
57
|
+
border: 1px solid var(--gd-icon-background-color);
|
66
58
|
}
|
67
59
|
}
|
68
|
-
|
69
|
-
path {
|
70
|
-
transition: var(--gd-transition-all);
|
71
|
-
}
|
72
60
|
}
|
@@ -225,6 +225,7 @@
|
|
225
225
|
--gd-button-M: 32px;
|
226
226
|
--gd-button-S: 27px;
|
227
227
|
--gd-icon-fill-color: var(--gd-palette-complementary-9);
|
228
|
+
--gd-icon-background-color: var(--gd-palette-complementary-2);
|
228
229
|
--gd-tabs-height-L: 56px;
|
229
230
|
--gd-tabs-height-M: 27px;
|
230
231
|
--gd-tabs-height-S: 23px;
|
package/src/@ui/index.scss
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
// (C) 2024-2025 GoodData Corporation
|
2
|
+
|
3
|
+
$theme-colors-map: (
|
4
|
+
"primary": "primary-base",
|
5
|
+
"warning": "warning-base",
|
6
|
+
"error": "error-base",
|
7
|
+
"complementary-0": "complementary-0",
|
8
|
+
"complementary-1": "complementary-1",
|
9
|
+
"complementary-2": "complementary-2",
|
10
|
+
"complementary-3": "complementary-3",
|
11
|
+
"complementary-4": "complementary-4",
|
12
|
+
"complementary-5": "complementary-5",
|
13
|
+
"complementary-6": "complementary-6",
|
14
|
+
"complementary-7": "complementary-7",
|
15
|
+
"complementary-8": "complementary-8",
|
16
|
+
"complementary-9": "complementary-9",
|
17
|
+
);
|