@gooddata/sdk-ui-kit 11.12.0-alpha.1 → 11.12.0-alpha.3
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/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js +13 -5
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js +22 -19
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js.map +1 -1
- package/esm/@ui/UiButton/UiButton.d.ts.map +1 -1
- package/esm/@ui/UiButton/UiButton.js +1 -1
- package/esm/@ui/UiButton/UiButton.js.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.d.ts.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.js +3 -2
- package/esm/@ui/UiMenu/UiMenu.js.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContentItem.d.ts +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContentItem.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContentItem.js +1 -2
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContentItem.js.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.js +1 -2
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.js.map +1 -1
- package/esm/@ui/UiMenu/hooks.d.ts.map +1 -1
- package/esm/@ui/UiMenu/hooks.js +2 -1
- package/esm/@ui/UiMenu/hooks.js.map +1 -1
- package/esm/@ui/UiMenu/types.d.ts +3 -2
- package/esm/@ui/UiMenu/types.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.js +22 -7
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.js +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActions.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActions.js +2 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActions.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabValue.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabValue.js +2 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabValue.js.map +1 -1
- package/esm/@ui/UiTabs/types.d.ts +1 -1
- package/esm/@ui/UiTabs/types.d.ts.map +1 -1
- package/esm/Dropdown/DropdownInvertableSelect.d.ts +17 -1
- package/esm/Dropdown/DropdownInvertableSelect.d.ts.map +1 -1
- package/esm/Dropdown/DropdownInvertableSelect.js +8 -4
- package/esm/Dropdown/DropdownInvertableSelect.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectItem.d.ts +2 -1
- package/esm/List/InvertableSelect/InvertableSelectItem.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectItem.js +2 -2
- package/esm/List/InvertableSelect/InvertableSelectItem.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +24 -6
- package/package.json +9 -9
- package/src/@ui/UiAsyncTable/asyncTable.scss +32 -24
- package/src/@ui/UiButton/UiButton.scss +3 -0
- package/src/@ui/UiMenu/UiMenu.scss +40 -28
- package/src/@ui/UiTabs/UiTabs.scss +15 -5
- package/styles/css/main.css +75 -54
- package/styles/css/main.css.map +1 -1
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
&--sorted:hover {
|
|
67
67
|
color: var(--gd-palette-complementary-8);
|
|
68
|
+
|
|
68
69
|
#{$root}__sort svg {
|
|
69
70
|
fill: var(--gd-palette-complementary-8);
|
|
70
71
|
}
|
|
@@ -191,39 +192,31 @@
|
|
|
191
192
|
}
|
|
192
193
|
|
|
193
194
|
&__toolbar {
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
width: calc(100% - var(--gd-spacing-10px));
|
|
196
|
+
margin-right: var(--gd-spacing-10px);
|
|
197
|
+
margin-bottom: var(--gd-spacing-20px);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&__toolbar-top {
|
|
196
201
|
display: flex;
|
|
197
202
|
align-items: flex-start;
|
|
198
203
|
justify-content: start;
|
|
199
204
|
gap: var(--gd-spacing-10px);
|
|
200
205
|
margin-bottom: var(--gd-spacing-20px);
|
|
201
|
-
margin-right: var(--gd-spacing-10px);
|
|
202
|
-
width: calc(100% - var(--gd-spacing-10px));
|
|
203
|
-
|
|
204
|
-
#{$root}__cell {
|
|
205
|
-
visibility: visible;
|
|
206
|
-
border: 1px solid var(--gd-palette-complementary-3);
|
|
207
|
-
border-radius: 3px;
|
|
208
|
-
height: 27px;
|
|
209
|
-
}
|
|
210
206
|
|
|
211
207
|
&--mobile-view {
|
|
212
208
|
flex-direction: column-reverse;
|
|
213
209
|
align-items: stretch;
|
|
214
210
|
width: 100%;
|
|
215
|
-
padding-right: var(--gd-spacing-10px);
|
|
216
211
|
row-gap: var(--gd-spacing-20px);
|
|
217
|
-
margin-bottom: var(--gd-spacing-10px);
|
|
218
212
|
|
|
219
|
-
#{$root}__toolbar-
|
|
220
|
-
|
|
221
|
-
|
|
213
|
+
#{$root}__toolbar-search-section {
|
|
214
|
+
margin-left: 0;
|
|
215
|
+
max-width: 100%;
|
|
222
216
|
}
|
|
223
217
|
|
|
224
218
|
#{$root}__toolbar-search {
|
|
225
|
-
|
|
226
|
-
max-width: 100%;
|
|
219
|
+
flex-grow: 1;
|
|
227
220
|
}
|
|
228
221
|
|
|
229
222
|
#{$root}__toolbar-filters-section {
|
|
@@ -239,10 +232,25 @@
|
|
|
239
232
|
gap: var(--gd-spacing-10px);
|
|
240
233
|
}
|
|
241
234
|
|
|
235
|
+
&__toolbar-bulk-actions {
|
|
236
|
+
&--mobile-view {
|
|
237
|
+
width: 100%;
|
|
238
|
+
justify-content: space-between;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
#{$root}__cell {
|
|
242
|
+
visibility: visible;
|
|
243
|
+
border: 1px solid var(--gd-palette-complementary-3);
|
|
244
|
+
border-radius: 3px;
|
|
245
|
+
height: 27px;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
242
249
|
&__toolbar-filters-section {
|
|
243
250
|
display: flex;
|
|
244
251
|
align-items: flex-start;
|
|
245
252
|
gap: var(--gd-spacing-10px);
|
|
253
|
+
margin-top: 1px;
|
|
246
254
|
}
|
|
247
255
|
|
|
248
256
|
&__toolbar-label {
|
|
@@ -271,15 +279,14 @@
|
|
|
271
279
|
overflow: hidden;
|
|
272
280
|
text-overflow: ellipsis;
|
|
273
281
|
white-space: nowrap;
|
|
274
|
-
|
|
275
|
-
&:not(&--short) {
|
|
276
|
-
min-width: 110px;
|
|
277
|
-
}
|
|
282
|
+
min-width: 110px;
|
|
278
283
|
}
|
|
279
284
|
|
|
280
|
-
&__toolbar-search {
|
|
285
|
+
&__toolbar-search-section {
|
|
286
|
+
display: flex;
|
|
287
|
+
gap: var(--gd-spacing-10px);
|
|
281
288
|
margin-left: auto;
|
|
282
|
-
max-width:
|
|
289
|
+
max-width: 260px;
|
|
283
290
|
}
|
|
284
291
|
|
|
285
292
|
&__toolbar-custom-element {
|
|
@@ -416,6 +423,7 @@
|
|
|
416
423
|
#{$root}__row--focused,
|
|
417
424
|
#{$root}__cell--focused {
|
|
418
425
|
@include mixins.focus-ring;
|
|
426
|
+
|
|
419
427
|
@supports (-webkit-hyphens: none) {
|
|
420
428
|
outline-offset: -5px;
|
|
421
429
|
}
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&:active,
|
|
98
|
+
&[aria-expanded="true"],
|
|
98
99
|
&#{$root}--isSelected {
|
|
99
100
|
background-color: var(--gd-palette-primary-base-d12);
|
|
100
101
|
box-shadow: var(--gd-button-dropShadow, 0 1px 0 0) var(--gd-palette-complementary-9-t85)
|
|
@@ -129,6 +130,7 @@
|
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
&:active,
|
|
133
|
+
&[aria-expanded="true"],
|
|
132
134
|
&#{$root}--isSelected {
|
|
133
135
|
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
134
136
|
|
|
@@ -159,6 +161,7 @@
|
|
|
159
161
|
&:hover,
|
|
160
162
|
&:focus-visible,
|
|
161
163
|
&:active,
|
|
164
|
+
&[aria-expanded="true"],
|
|
162
165
|
&#{$root}--isSelected {
|
|
163
166
|
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
164
167
|
|
|
@@ -8,12 +8,27 @@
|
|
|
8
8
|
|
|
9
9
|
max-height: 300px;
|
|
10
10
|
width: 100%;
|
|
11
|
-
min-width: 200px;
|
|
12
11
|
position: relative;
|
|
13
12
|
display: flex;
|
|
14
13
|
flex-direction: column;
|
|
15
14
|
user-select: none;
|
|
16
15
|
|
|
16
|
+
&--size {
|
|
17
|
+
&-small {
|
|
18
|
+
--item-padding-vertical: 4px;
|
|
19
|
+
--item-padding-horizontal: 10px;
|
|
20
|
+
--item-font-size: 12px;
|
|
21
|
+
--item-height: 26px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-medium {
|
|
25
|
+
--item-padding-vertical: 8px;
|
|
26
|
+
--item-padding-horizontal: 10px;
|
|
27
|
+
--item-font-size: 14px;
|
|
28
|
+
--item-height: 36px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
17
32
|
&__content-container {
|
|
18
33
|
display: contents;
|
|
19
34
|
}
|
|
@@ -25,12 +40,20 @@
|
|
|
25
40
|
overflow-x: hidden;
|
|
26
41
|
|
|
27
42
|
&--container-bottom-padding-small {
|
|
28
|
-
padding-bottom:
|
|
43
|
+
padding-bottom: 6px;
|
|
29
44
|
}
|
|
30
45
|
|
|
31
46
|
&--container-bottom-padding-medium {
|
|
32
47
|
padding-bottom: 10px;
|
|
33
48
|
}
|
|
49
|
+
|
|
50
|
+
&--container-top-padding-small {
|
|
51
|
+
padding-top: 6px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&--container-top-padding-medium {
|
|
55
|
+
padding-top: 10px;
|
|
56
|
+
}
|
|
34
57
|
}
|
|
35
58
|
|
|
36
59
|
@media #{variables.$small-only} {
|
|
@@ -42,20 +65,20 @@
|
|
|
42
65
|
}
|
|
43
66
|
|
|
44
67
|
&__menu-header {
|
|
45
|
-
background:
|
|
68
|
+
background: var(--gd-palette-complementary-2);
|
|
46
69
|
|
|
47
70
|
&-button {
|
|
48
71
|
cursor: pointer;
|
|
49
72
|
background: none;
|
|
50
73
|
border: none;
|
|
51
74
|
padding: 0;
|
|
52
|
-
color:
|
|
75
|
+
color: var(--gd-palette-complementary-6);
|
|
53
76
|
}
|
|
54
77
|
|
|
55
78
|
&-title {
|
|
56
79
|
&-text {
|
|
57
80
|
flex-grow: 1;
|
|
58
|
-
color:
|
|
81
|
+
color: var(--gd-palette-complementary-6);
|
|
59
82
|
margin: 0;
|
|
60
83
|
white-space: nowrap;
|
|
61
84
|
font-size: 11px;
|
|
@@ -84,7 +107,7 @@
|
|
|
84
107
|
|
|
85
108
|
&__group-title {
|
|
86
109
|
text-transform: uppercase;
|
|
87
|
-
color:
|
|
110
|
+
color: var(--gd-palette-complementary-5);
|
|
88
111
|
font-size: 10px;
|
|
89
112
|
font-weight: normal;
|
|
90
113
|
margin: 0;
|
|
@@ -113,21 +136,22 @@
|
|
|
113
136
|
}
|
|
114
137
|
|
|
115
138
|
&__item {
|
|
116
|
-
|
|
139
|
+
height: var(--item-height);
|
|
140
|
+
padding: var(--item-padding-vertical) var(--item-padding-horizontal);
|
|
117
141
|
cursor: pointer;
|
|
118
142
|
display: flex;
|
|
119
143
|
align-items: center;
|
|
120
|
-
font-size:
|
|
144
|
+
font-size: var(--item-font-size);
|
|
121
145
|
line-height: 20px;
|
|
122
|
-
color:
|
|
146
|
+
color: var(--gd-palette-complementary-8);
|
|
123
147
|
transition: background-color 0.2s;
|
|
124
148
|
box-sizing: border-box;
|
|
125
149
|
gap: 10px;
|
|
126
150
|
|
|
127
151
|
// Controlled by mouse and has hover
|
|
128
152
|
#{$root}--controlType-mouse &:hover:not(&--isDisabled) {
|
|
129
|
-
background-color:
|
|
130
|
-
color:
|
|
153
|
+
background-color: var(--gd-palette-complementary-2);
|
|
154
|
+
color: var(--gd-palette-complementary-9);
|
|
131
155
|
}
|
|
132
156
|
#{$root}--controlType-mouse &:hover:not(&--isDisabled)#{$root}__item--isDestructive {
|
|
133
157
|
background-color: var(--gd-palette-error-dimmed);
|
|
@@ -139,31 +163,19 @@
|
|
|
139
163
|
}
|
|
140
164
|
|
|
141
165
|
&--isDisabled {
|
|
142
|
-
color:
|
|
166
|
+
color: var(--gd-palette-complementary-5);
|
|
143
167
|
cursor: not-allowed;
|
|
144
168
|
}
|
|
145
169
|
|
|
146
170
|
&--isSelected {
|
|
147
171
|
font-weight: bold;
|
|
148
|
-
background
|
|
149
|
-
color:
|
|
172
|
+
background: none;
|
|
173
|
+
color: var(--gd-palette-primary-base);
|
|
150
174
|
}
|
|
151
175
|
|
|
152
176
|
#{$root}--controlType-mouse &--isSelected:hover:not(&--isDisabled) {
|
|
153
|
-
background-color:
|
|
154
|
-
color:
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&--size {
|
|
158
|
-
&-small {
|
|
159
|
-
height: 28px;
|
|
160
|
-
font-size: 12px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&-medium {
|
|
164
|
-
height: 36px;
|
|
165
|
-
font-size: 14px;
|
|
166
|
-
}
|
|
177
|
+
background-color: var(--gd-palette-primary-dimmed);
|
|
178
|
+
color: var(--gd-palette-primary-base);
|
|
167
179
|
}
|
|
168
180
|
}
|
|
169
181
|
|
|
@@ -48,7 +48,10 @@
|
|
|
48
48
|
display: flex;
|
|
49
49
|
align-self: stretch;
|
|
50
50
|
flex-shrink: 0;
|
|
51
|
-
|
|
51
|
+
|
|
52
|
+
&--mobile {
|
|
53
|
+
margin-right: calc(-1 * var(--gd-spacing-5px));
|
|
54
|
+
}
|
|
52
55
|
|
|
53
56
|
&::after {
|
|
54
57
|
position: absolute;
|
|
@@ -76,7 +79,7 @@
|
|
|
76
79
|
&__dropdown .gd-ui-kit-icon-button {
|
|
77
80
|
height: 100%;
|
|
78
81
|
width: 100%;
|
|
79
|
-
color: var(--gd-palette-complementary-
|
|
82
|
+
color: var(--gd-palette-complementary-6);
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
&__dropdown .gd-ui-kit-button {
|
|
@@ -149,6 +152,7 @@
|
|
|
149
152
|
cursor: pointer;
|
|
150
153
|
align-items: center;
|
|
151
154
|
transition: background-color 0.2s;
|
|
155
|
+
font-size: 12px;
|
|
152
156
|
|
|
153
157
|
&:hover {
|
|
154
158
|
background-color: var(--gd-palette-complementary-2);
|
|
@@ -196,7 +200,12 @@
|
|
|
196
200
|
&__tab-list-item-value {
|
|
197
201
|
padding: var(--gd-spacing-10px) var(--gd-spacing-10px);
|
|
198
202
|
flex-grow: 1;
|
|
199
|
-
flex-shrink:
|
|
203
|
+
flex-shrink: 1;
|
|
204
|
+
overflow: hidden;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&__tab-list-item-value-button {
|
|
208
|
+
white-space: nowrap;
|
|
200
209
|
}
|
|
201
210
|
|
|
202
211
|
&__tab-list-item-actions {
|
|
@@ -211,13 +220,14 @@
|
|
|
211
220
|
}
|
|
212
221
|
|
|
213
222
|
&__tab-list {
|
|
214
|
-
width: 250px;
|
|
223
|
+
max-width: 250px;
|
|
215
224
|
max-height: 400px;
|
|
216
225
|
overflow-y: auto;
|
|
217
226
|
overflow-x: hidden;
|
|
227
|
+
padding: 6px 0;
|
|
218
228
|
|
|
219
229
|
&--mobile {
|
|
220
|
-
width: unset;
|
|
230
|
+
max-width: unset;
|
|
221
231
|
height: unset;
|
|
222
232
|
}
|
|
223
233
|
}
|
package/styles/css/main.css
CHANGED
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
background-color: var(--gd-palette-primary-base-d06);
|
|
387
387
|
box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-complementary-9-t85) inset;
|
|
388
388
|
}
|
|
389
|
-
.gd-ui-kit-button--variant-primary:not(.gd-ui-kit-button--variant-primary:disabled):active, .gd-ui-kit-button--variant-primary:not(.gd-ui-kit-button--variant-primary:disabled).gd-ui-kit-button--isSelected {
|
|
389
|
+
.gd-ui-kit-button--variant-primary:not(.gd-ui-kit-button--variant-primary:disabled):active, .gd-ui-kit-button--variant-primary:not(.gd-ui-kit-button--variant-primary:disabled)[aria-expanded=true], .gd-ui-kit-button--variant-primary:not(.gd-ui-kit-button--variant-primary:disabled).gd-ui-kit-button--isSelected {
|
|
390
390
|
background-color: var(--gd-palette-primary-base-d12);
|
|
391
391
|
box-shadow: var(--gd-button-dropShadow, 0 1px 0 0) var(--gd-palette-complementary-9-t85) inset;
|
|
392
392
|
}
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
background-color: var(--gd-palette-complementary-1);
|
|
410
410
|
box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-complementary-5-t40) inset;
|
|
411
411
|
}
|
|
412
|
-
.gd-ui-kit-button--variant-secondary:not(.gd-ui-kit-button--variant-secondary:disabled):active, .gd-ui-kit-button--variant-secondary:not(.gd-ui-kit-button--variant-secondary:disabled).gd-ui-kit-button--isSelected {
|
|
412
|
+
.gd-ui-kit-button--variant-secondary:not(.gd-ui-kit-button--variant-secondary:disabled):active, .gd-ui-kit-button--variant-secondary:not(.gd-ui-kit-button--variant-secondary:disabled)[aria-expanded=true], .gd-ui-kit-button--variant-secondary:not(.gd-ui-kit-button--variant-secondary:disabled).gd-ui-kit-button--isSelected {
|
|
413
413
|
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
414
414
|
color: var(--gd-palette-complementary-8);
|
|
415
415
|
border-color: var(--gd-palette-complementary-5);
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
background-color: transparent;
|
|
430
430
|
border-color: transparent;
|
|
431
431
|
}
|
|
432
|
-
.gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled):hover, .gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled):focus-visible, .gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled):active, .gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled).gd-ui-kit-button--isSelected {
|
|
432
|
+
.gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled):hover, .gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled):focus-visible, .gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled):active, .gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled)[aria-expanded=true], .gd-ui-kit-button--variant-tertiary:not(.gd-ui-kit-button--variant-tertiary:disabled).gd-ui-kit-button--isSelected {
|
|
433
433
|
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
434
434
|
color: var(--gd-palette-complementary-8);
|
|
435
435
|
}
|
|
@@ -1356,12 +1356,23 @@
|
|
|
1356
1356
|
.gd-ui-kit-menu {
|
|
1357
1357
|
max-height: 300px;
|
|
1358
1358
|
width: 100%;
|
|
1359
|
-
min-width: 200px;
|
|
1360
1359
|
position: relative;
|
|
1361
1360
|
display: flex;
|
|
1362
1361
|
flex-direction: column;
|
|
1363
1362
|
user-select: none;
|
|
1364
1363
|
}
|
|
1364
|
+
.gd-ui-kit-menu--size-small {
|
|
1365
|
+
--item-padding-vertical: 4px;
|
|
1366
|
+
--item-padding-horizontal: 10px;
|
|
1367
|
+
--item-font-size: 12px;
|
|
1368
|
+
--item-height: 26px;
|
|
1369
|
+
}
|
|
1370
|
+
.gd-ui-kit-menu--size-medium {
|
|
1371
|
+
--item-padding-vertical: 8px;
|
|
1372
|
+
--item-padding-horizontal: 10px;
|
|
1373
|
+
--item-font-size: 14px;
|
|
1374
|
+
--item-height: 36px;
|
|
1375
|
+
}
|
|
1365
1376
|
.gd-ui-kit-menu__content-container {
|
|
1366
1377
|
display: contents;
|
|
1367
1378
|
}
|
|
@@ -1372,11 +1383,17 @@
|
|
|
1372
1383
|
overflow-x: hidden;
|
|
1373
1384
|
}
|
|
1374
1385
|
.gd-ui-kit-menu__items-container--container-bottom-padding-small {
|
|
1375
|
-
padding-bottom:
|
|
1386
|
+
padding-bottom: 6px;
|
|
1376
1387
|
}
|
|
1377
1388
|
.gd-ui-kit-menu__items-container--container-bottom-padding-medium {
|
|
1378
1389
|
padding-bottom: 10px;
|
|
1379
1390
|
}
|
|
1391
|
+
.gd-ui-kit-menu__items-container--container-top-padding-small {
|
|
1392
|
+
padding-top: 6px;
|
|
1393
|
+
}
|
|
1394
|
+
.gd-ui-kit-menu__items-container--container-top-padding-medium {
|
|
1395
|
+
padding-top: 10px;
|
|
1396
|
+
}
|
|
1380
1397
|
@media only screen and (max-width: 640px) {
|
|
1381
1398
|
.gd-ui-kit-menu {
|
|
1382
1399
|
/* stylelint-disable-next-line declaration-no-important */
|
|
@@ -1386,18 +1403,18 @@
|
|
|
1386
1403
|
}
|
|
1387
1404
|
}
|
|
1388
1405
|
.gd-ui-kit-menu__menu-header {
|
|
1389
|
-
background: var(--gd-palette-complementary-2
|
|
1406
|
+
background: var(--gd-palette-complementary-2);
|
|
1390
1407
|
}
|
|
1391
1408
|
.gd-ui-kit-menu__menu-header-button {
|
|
1392
1409
|
cursor: pointer;
|
|
1393
1410
|
background: none;
|
|
1394
1411
|
border: none;
|
|
1395
1412
|
padding: 0;
|
|
1396
|
-
color: var(--gd-palette-complementary-6
|
|
1413
|
+
color: var(--gd-palette-complementary-6);
|
|
1397
1414
|
}
|
|
1398
1415
|
.gd-ui-kit-menu__menu-header-title-text {
|
|
1399
1416
|
flex-grow: 1;
|
|
1400
|
-
color: var(--gd-palette-complementary-6
|
|
1417
|
+
color: var(--gd-palette-complementary-6);
|
|
1401
1418
|
margin: 0;
|
|
1402
1419
|
white-space: nowrap;
|
|
1403
1420
|
font-size: 11px;
|
|
@@ -1420,7 +1437,7 @@
|
|
|
1420
1437
|
}
|
|
1421
1438
|
.gd-ui-kit-menu__group-title {
|
|
1422
1439
|
text-transform: uppercase;
|
|
1423
|
-
color: var(--gd-palette-complementary-5
|
|
1440
|
+
color: var(--gd-palette-complementary-5);
|
|
1424
1441
|
font-size: 10px;
|
|
1425
1442
|
font-weight: normal;
|
|
1426
1443
|
margin: 0;
|
|
@@ -1445,20 +1462,21 @@
|
|
|
1445
1462
|
width: 100%;
|
|
1446
1463
|
}
|
|
1447
1464
|
.gd-ui-kit-menu__item {
|
|
1448
|
-
|
|
1465
|
+
height: var(--item-height);
|
|
1466
|
+
padding: var(--item-padding-vertical) var(--item-padding-horizontal);
|
|
1449
1467
|
cursor: pointer;
|
|
1450
1468
|
display: flex;
|
|
1451
1469
|
align-items: center;
|
|
1452
|
-
font-size:
|
|
1470
|
+
font-size: var(--item-font-size);
|
|
1453
1471
|
line-height: 20px;
|
|
1454
|
-
color: var(--gd-palette-complementary-8
|
|
1472
|
+
color: var(--gd-palette-complementary-8);
|
|
1455
1473
|
transition: background-color 0.2s;
|
|
1456
1474
|
box-sizing: border-box;
|
|
1457
1475
|
gap: 10px;
|
|
1458
1476
|
}
|
|
1459
1477
|
.gd-ui-kit-menu--controlType-mouse .gd-ui-kit-menu__item:hover:not(.gd-ui-kit-menu__item--isDisabled) {
|
|
1460
|
-
background-color: var(--gd-palette-complementary-2
|
|
1461
|
-
color: var(--gd-palette-complementary-9
|
|
1478
|
+
background-color: var(--gd-palette-complementary-2);
|
|
1479
|
+
color: var(--gd-palette-complementary-9);
|
|
1462
1480
|
}
|
|
1463
1481
|
.gd-ui-kit-menu--controlType-mouse .gd-ui-kit-menu__item:hover:not(.gd-ui-kit-menu__item--isDisabled).gd-ui-kit-menu__item--isDestructive {
|
|
1464
1482
|
background-color: var(--gd-palette-error-dimmed);
|
|
@@ -1468,25 +1486,17 @@
|
|
|
1468
1486
|
fill: var(--gd-palette-error-base);
|
|
1469
1487
|
}
|
|
1470
1488
|
.gd-ui-kit-menu__item--isDisabled {
|
|
1471
|
-
color: var(--gd-palette-complementary-5
|
|
1489
|
+
color: var(--gd-palette-complementary-5);
|
|
1472
1490
|
cursor: not-allowed;
|
|
1473
1491
|
}
|
|
1474
1492
|
.gd-ui-kit-menu__item--isSelected {
|
|
1475
1493
|
font-weight: bold;
|
|
1476
|
-
background
|
|
1477
|
-
color: var(--gd-palette-primary-base
|
|
1494
|
+
background: none;
|
|
1495
|
+
color: var(--gd-palette-primary-base);
|
|
1478
1496
|
}
|
|
1479
1497
|
.gd-ui-kit-menu--controlType-mouse .gd-ui-kit-menu__item--isSelected:hover:not(.gd-ui-kit-menu__item--isDisabled) {
|
|
1480
|
-
background-color: var(--gd-palette-primary-dimmed
|
|
1481
|
-
color: var(--gd-palette-primary-base
|
|
1482
|
-
}
|
|
1483
|
-
.gd-ui-kit-menu__item--size-small {
|
|
1484
|
-
height: 28px;
|
|
1485
|
-
font-size: 12px;
|
|
1486
|
-
}
|
|
1487
|
-
.gd-ui-kit-menu__item--size-medium {
|
|
1488
|
-
height: 36px;
|
|
1489
|
-
font-size: 14px;
|
|
1498
|
+
background-color: var(--gd-palette-primary-dimmed);
|
|
1499
|
+
color: var(--gd-palette-primary-base);
|
|
1490
1500
|
}
|
|
1491
1501
|
.gd-ui-kit-menu__item-title {
|
|
1492
1502
|
width: 100%;
|
|
@@ -1530,6 +1540,8 @@
|
|
|
1530
1540
|
display: flex;
|
|
1531
1541
|
align-self: stretch;
|
|
1532
1542
|
flex-shrink: 0;
|
|
1543
|
+
}
|
|
1544
|
+
.gd-ui-kit-tabs__dropdown-wrapper--mobile {
|
|
1533
1545
|
margin-right: calc(-1 * var(--gd-spacing-5px));
|
|
1534
1546
|
}
|
|
1535
1547
|
.gd-ui-kit-tabs__dropdown-wrapper::after {
|
|
@@ -1553,7 +1565,7 @@
|
|
|
1553
1565
|
.gd-ui-kit-tabs__dropdown .gd-ui-kit-button, .gd-ui-kit-tabs__dropdown .gd-ui-kit-icon-button {
|
|
1554
1566
|
height: 100%;
|
|
1555
1567
|
width: 100%;
|
|
1556
|
-
color: var(--gd-palette-complementary-
|
|
1568
|
+
color: var(--gd-palette-complementary-6);
|
|
1557
1569
|
}
|
|
1558
1570
|
.gd-ui-kit-tabs__dropdown .gd-ui-kit-button {
|
|
1559
1571
|
padding-left: var(--gd-spacing-10px);
|
|
@@ -1616,6 +1628,7 @@
|
|
|
1616
1628
|
cursor: pointer;
|
|
1617
1629
|
align-items: center;
|
|
1618
1630
|
transition: background-color 0.2s;
|
|
1631
|
+
font-size: 12px;
|
|
1619
1632
|
}
|
|
1620
1633
|
.gd-ui-kit-tabs__tab-list-item:hover {
|
|
1621
1634
|
background-color: var(--gd-palette-complementary-2);
|
|
@@ -1647,7 +1660,11 @@
|
|
|
1647
1660
|
.gd-ui-kit-tabs__tab-list-item-value {
|
|
1648
1661
|
padding: var(--gd-spacing-10px) var(--gd-spacing-10px);
|
|
1649
1662
|
flex-grow: 1;
|
|
1650
|
-
flex-shrink:
|
|
1663
|
+
flex-shrink: 1;
|
|
1664
|
+
overflow: hidden;
|
|
1665
|
+
}
|
|
1666
|
+
.gd-ui-kit-tabs__tab-list-item-value-button {
|
|
1667
|
+
white-space: nowrap;
|
|
1651
1668
|
}
|
|
1652
1669
|
.gd-ui-kit-tabs__tab-list-item-actions {
|
|
1653
1670
|
flex-grow: 0;
|
|
@@ -1659,13 +1676,14 @@
|
|
|
1659
1676
|
fill: var(--gd-palette-primary-base);
|
|
1660
1677
|
}
|
|
1661
1678
|
.gd-ui-kit-tabs__tab-list {
|
|
1662
|
-
width: 250px;
|
|
1679
|
+
max-width: 250px;
|
|
1663
1680
|
max-height: 400px;
|
|
1664
1681
|
overflow-y: auto;
|
|
1665
1682
|
overflow-x: hidden;
|
|
1683
|
+
padding: 6px 0;
|
|
1666
1684
|
}
|
|
1667
1685
|
.gd-ui-kit-tabs__tab-list--mobile {
|
|
1668
|
-
width: unset;
|
|
1686
|
+
max-width: unset;
|
|
1669
1687
|
height: unset;
|
|
1670
1688
|
}
|
|
1671
1689
|
.gd-ui-kit-tabs__actions-wrapper {
|
|
@@ -2088,39 +2106,31 @@
|
|
|
2088
2106
|
margin-top: 2px;
|
|
2089
2107
|
}
|
|
2090
2108
|
.gd-ui-kit-async-table__toolbar {
|
|
2091
|
-
|
|
2092
|
-
|
|
2109
|
+
width: calc(100% - var(--gd-spacing-10px));
|
|
2110
|
+
margin-right: var(--gd-spacing-10px);
|
|
2111
|
+
margin-bottom: var(--gd-spacing-20px);
|
|
2112
|
+
}
|
|
2113
|
+
.gd-ui-kit-async-table__toolbar-top {
|
|
2093
2114
|
display: flex;
|
|
2094
2115
|
align-items: flex-start;
|
|
2095
2116
|
justify-content: start;
|
|
2096
2117
|
gap: var(--gd-spacing-10px);
|
|
2097
2118
|
margin-bottom: var(--gd-spacing-20px);
|
|
2098
|
-
margin-right: var(--gd-spacing-10px);
|
|
2099
|
-
width: calc(100% - var(--gd-spacing-10px));
|
|
2100
|
-
}
|
|
2101
|
-
.gd-ui-kit-async-table__toolbar .gd-ui-kit-async-table__cell {
|
|
2102
|
-
visibility: visible;
|
|
2103
|
-
border: 1px solid var(--gd-palette-complementary-3);
|
|
2104
|
-
border-radius: 3px;
|
|
2105
|
-
height: 27px;
|
|
2106
2119
|
}
|
|
2107
|
-
.gd-ui-kit-async-table__toolbar--mobile-view {
|
|
2120
|
+
.gd-ui-kit-async-table__toolbar-top--mobile-view {
|
|
2108
2121
|
flex-direction: column-reverse;
|
|
2109
2122
|
align-items: stretch;
|
|
2110
2123
|
width: 100%;
|
|
2111
|
-
padding-right: var(--gd-spacing-10px);
|
|
2112
2124
|
row-gap: var(--gd-spacing-20px);
|
|
2113
|
-
margin-bottom: var(--gd-spacing-10px);
|
|
2114
2125
|
}
|
|
2115
|
-
.gd-ui-kit-async-table__toolbar--mobile-view .gd-ui-kit-async-table__toolbar-
|
|
2116
|
-
width: 100%;
|
|
2117
|
-
justify-content: space-between;
|
|
2118
|
-
}
|
|
2119
|
-
.gd-ui-kit-async-table__toolbar--mobile-view .gd-ui-kit-async-table__toolbar-search {
|
|
2126
|
+
.gd-ui-kit-async-table__toolbar-top--mobile-view .gd-ui-kit-async-table__toolbar-search-section {
|
|
2120
2127
|
margin-left: 0;
|
|
2121
2128
|
max-width: 100%;
|
|
2122
2129
|
}
|
|
2123
|
-
.gd-ui-kit-async-table__toolbar--mobile-view .gd-ui-kit-async-table__toolbar-
|
|
2130
|
+
.gd-ui-kit-async-table__toolbar-top--mobile-view .gd-ui-kit-async-table__toolbar-search {
|
|
2131
|
+
flex-grow: 1;
|
|
2132
|
+
}
|
|
2133
|
+
.gd-ui-kit-async-table__toolbar-top--mobile-view .gd-ui-kit-async-table__toolbar-filters-section {
|
|
2124
2134
|
width: 100%;
|
|
2125
2135
|
flex-direction: column;
|
|
2126
2136
|
}
|
|
@@ -2128,10 +2138,21 @@
|
|
|
2128
2138
|
display: flex;
|
|
2129
2139
|
gap: var(--gd-spacing-10px);
|
|
2130
2140
|
}
|
|
2141
|
+
.gd-ui-kit-async-table__toolbar-bulk-actions--mobile-view {
|
|
2142
|
+
width: 100%;
|
|
2143
|
+
justify-content: space-between;
|
|
2144
|
+
}
|
|
2145
|
+
.gd-ui-kit-async-table__toolbar-bulk-actions .gd-ui-kit-async-table__cell {
|
|
2146
|
+
visibility: visible;
|
|
2147
|
+
border: 1px solid var(--gd-palette-complementary-3);
|
|
2148
|
+
border-radius: 3px;
|
|
2149
|
+
height: 27px;
|
|
2150
|
+
}
|
|
2131
2151
|
.gd-ui-kit-async-table__toolbar-filters-section {
|
|
2132
2152
|
display: flex;
|
|
2133
2153
|
align-items: flex-start;
|
|
2134
2154
|
gap: var(--gd-spacing-10px);
|
|
2155
|
+
margin-top: 1px;
|
|
2135
2156
|
}
|
|
2136
2157
|
.gd-ui-kit-async-table__toolbar-label {
|
|
2137
2158
|
font-size: var(--gd-table-label-font-size);
|
|
@@ -2157,13 +2178,13 @@
|
|
|
2157
2178
|
overflow: hidden;
|
|
2158
2179
|
text-overflow: ellipsis;
|
|
2159
2180
|
white-space: nowrap;
|
|
2160
|
-
}
|
|
2161
|
-
.gd-ui-kit-async-table__toolbar-selected-count:not(.gd-ui-kit-async-table__toolbar-selected-count--short) {
|
|
2162
2181
|
min-width: 110px;
|
|
2163
2182
|
}
|
|
2164
|
-
.gd-ui-kit-async-table__toolbar-search {
|
|
2183
|
+
.gd-ui-kit-async-table__toolbar-search-section {
|
|
2184
|
+
display: flex;
|
|
2185
|
+
gap: var(--gd-spacing-10px);
|
|
2165
2186
|
margin-left: auto;
|
|
2166
|
-
max-width:
|
|
2187
|
+
max-width: 260px;
|
|
2167
2188
|
}
|
|
2168
2189
|
.gd-ui-kit-async-table__toolbar-custom-element {
|
|
2169
2190
|
margin-left: auto;
|