@gooddata/sdk-ui-kit 10.34.0-alpha.2 → 10.34.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/esm/@ui/@types/size.d.ts +8 -0
- package/esm/@ui/@types/size.d.ts.map +1 -1
- package/esm/@ui/@types/variant.d.ts +4 -0
- package/esm/@ui/@types/variant.d.ts.map +1 -1
- package/esm/@ui/@utils/size.d.ts +2 -2
- package/esm/@ui/@utils/size.d.ts.map +1 -1
- package/esm/@ui/@utils/size.js +4 -0
- package/esm/@ui/@utils/size.js.map +1 -1
- package/esm/@ui/UiBadge/UiBadge.d.ts +13 -0
- package/esm/@ui/UiBadge/UiBadge.d.ts.map +1 -0
- package/esm/@ui/UiBadge/UiBadge.js +12 -0
- package/esm/@ui/UiBadge/UiBadge.js.map +1 -0
- package/esm/@ui/UiButton/UiButton.d.ts.map +1 -1
- package/esm/@ui/UiButton/UiButton.js +1 -2
- package/esm/@ui/UiButton/UiButton.js.map +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts +15 -0
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts.map +1 -0
- package/esm/@ui/UiCheckbox/UiCheckbox.js +11 -0
- package/esm/@ui/UiCheckbox/UiCheckbox.js.map +1 -0
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.d.ts +5 -5
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.d.ts.map +1 -1
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.js.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.d.ts.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.js +6 -4
- package/esm/@ui/UiMenu/UiMenu.js.map +1 -1
- package/esm/@ui/UiMenu/hooks.d.ts.map +1 -1
- package/esm/@ui/UiMenu/hooks.js +1 -2
- package/esm/@ui/UiMenu/hooks.js.map +1 -1
- package/esm/@ui/UiMenu/types.d.ts +2 -8
- package/esm/@ui/UiMenu/types.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts +3 -0
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +21 -5
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js.map +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts +5 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts.map +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.js +4 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareLink.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareLink.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareLink.js.map +1 -1
- package/esm/Dropdown/Dropdown.d.ts +1 -1
- package/esm/Dropdown/Dropdown.d.ts.map +1 -1
- package/esm/Form/InputPure.js +1 -1
- package/esm/Form/InputPure.js.map +1 -1
- package/esm/Table/AsyncTable.d.ts +9 -0
- package/esm/Table/AsyncTable.d.ts.map +1 -0
- package/esm/Table/AsyncTable.js +97 -0
- package/esm/Table/AsyncTable.js.map +1 -0
- package/esm/Table/AsyncTableBulkActions.d.ts +4 -0
- package/esm/Table/AsyncTableBulkActions.d.ts.map +1 -0
- package/esm/Table/AsyncTableBulkActions.js +21 -0
- package/esm/Table/AsyncTableBulkActions.js.map +1 -0
- package/esm/Table/AsyncTableCheckbox.d.ts +4 -0
- package/esm/Table/AsyncTableCheckbox.d.ts.map +1 -0
- package/esm/Table/AsyncTableCheckbox.js +9 -0
- package/esm/Table/AsyncTableCheckbox.js.map +1 -0
- package/esm/Table/AsyncTableDropdownItem.d.ts +5 -0
- package/esm/Table/AsyncTableDropdownItem.d.ts.map +1 -0
- package/esm/Table/AsyncTableDropdownItem.js +6 -0
- package/esm/Table/AsyncTableDropdownItem.js.map +1 -0
- package/esm/Table/AsyncTableEmptyState.d.ts +3 -0
- package/esm/Table/AsyncTableEmptyState.d.ts.map +1 -0
- package/esm/Table/AsyncTableEmptyState.js +14 -0
- package/esm/Table/AsyncTableEmptyState.js.map +1 -0
- package/esm/Table/AsyncTableFilter.d.ts +7 -0
- package/esm/Table/AsyncTableFilter.d.ts.map +1 -0
- package/esm/Table/AsyncTableFilter.js +32 -0
- package/esm/Table/AsyncTableFilter.js.map +1 -0
- package/esm/Table/AsyncTableHeader.d.ts +4 -0
- package/esm/Table/AsyncTableHeader.d.ts.map +1 -0
- package/esm/Table/AsyncTableHeader.js +58 -0
- package/esm/Table/AsyncTableHeader.js.map +1 -0
- package/esm/Table/AsyncTableRow.d.ts +6 -0
- package/esm/Table/AsyncTableRow.d.ts.map +1 -0
- package/esm/Table/AsyncTableRow.js +68 -0
- package/esm/Table/AsyncTableRow.js.map +1 -0
- package/esm/Table/AsyncTableTitle.d.ts +4 -0
- package/esm/Table/AsyncTableTitle.d.ts.map +1 -0
- package/esm/Table/AsyncTableTitle.js +36 -0
- package/esm/Table/AsyncTableTitle.js.map +1 -0
- package/esm/Table/AsyncTableToolbar.d.ts +6 -0
- package/esm/Table/AsyncTableToolbar.d.ts.map +1 -0
- package/esm/Table/AsyncTableToolbar.js +56 -0
- package/esm/Table/AsyncTableToolbar.js.map +1 -0
- package/esm/Table/SkeletonItemFactory.d.ts +7 -0
- package/esm/Table/SkeletonItemFactory.d.ts.map +1 -0
- package/esm/Table/SkeletonItemFactory.js +12 -0
- package/esm/Table/SkeletonItemFactory.js.map +1 -0
- package/esm/Table/asyncTableBem.d.ts +2 -0
- package/esm/Table/asyncTableBem.d.ts.map +1 -0
- package/esm/Table/asyncTableBem.js +4 -0
- package/esm/Table/asyncTableBem.js.map +1 -0
- package/esm/Table/constants.d.ts +10 -0
- package/esm/Table/constants.d.ts.map +1 -0
- package/esm/Table/constants.js +11 -0
- package/esm/Table/constants.js.map +1 -0
- package/esm/Table/index.d.ts +3 -0
- package/esm/Table/index.d.ts.map +1 -0
- package/esm/Table/index.js +3 -0
- package/esm/Table/index.js.map +1 -0
- package/esm/Table/locales.d.ts +3 -0
- package/esm/Table/locales.d.ts.map +1 -0
- package/esm/Table/locales.js +13 -0
- package/esm/Table/locales.js.map +1 -0
- package/esm/Table/types.d.ts +137 -0
- package/esm/Table/types.d.ts.map +1 -0
- package/esm/Table/types.js +3 -0
- package/esm/Table/types.js.map +1 -0
- package/esm/Table/utils.d.ts +2 -0
- package/esm/Table/utils.d.ts.map +1 -0
- package/esm/Table/utils.js +6 -0
- package/esm/Table/utils.js.map +1 -0
- package/esm/index.d.ts +7 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -0
- package/esm/index.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +154 -15
- package/package.json +11 -10
- package/src/@ui/UiBadge/UiBadge.scss +16 -0
- package/src/@ui/UiCheckbox/UiCheckbox.scss +71 -0
- package/src/@ui/UiIconButton/UiIconButton.scss +37 -0
- package/src/@ui/UiMenu/UiMenu.scss +12 -0
- package/src/@ui/UiPagedVirtualList/UiPagedVirtualList.scss +17 -0
- package/src/@ui/UiSkeleton/UiSkeleton.scss +2 -1
- package/src/@ui/defaultTheme.scss +17 -0
- package/src/@ui/index.scss +2 -0
- package/styles/css/asyncTable.css +205 -0
- package/styles/css/asyncTable.css.map +1 -0
- package/styles/css/main.css +342 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/asyncTable.scss +261 -0
- package/styles/scss/main.scss +1 -0
@@ -0,0 +1,205 @@
|
|
1
|
+
/* allow vendor prefixes and disable max length */
|
2
|
+
/* allow vendor prefixes and disable max length */
|
3
|
+
.gd-ui-kit-async-table {
|
4
|
+
font-family: var(--gd-font-family);
|
5
|
+
font-size: var(--gd-table-font-size);
|
6
|
+
font-style: normal;
|
7
|
+
line-height: var(--gd-table-row-line-height);
|
8
|
+
color: var(--gd-palette-complementary-8);
|
9
|
+
}
|
10
|
+
.gd-ui-kit-async-table__row {
|
11
|
+
display: flex;
|
12
|
+
height: var(--gd-table-row-height-normal);
|
13
|
+
}
|
14
|
+
.gd-ui-kit-async-table__row--large {
|
15
|
+
height: var(--gd-table-row-height-large);
|
16
|
+
}
|
17
|
+
.gd-ui-kit-async-table__row:hover .gd-ui-kit-async-table__cell {
|
18
|
+
background-color: var(--gd-palette-complementary-2);
|
19
|
+
}
|
20
|
+
.gd-ui-kit-async-table__header {
|
21
|
+
display: flex;
|
22
|
+
height: var(--gd-table-row-height-normal);
|
23
|
+
line-height: var(--gd-table-row-line-height);
|
24
|
+
color: var(--gd-palette-complementary-6);
|
25
|
+
}
|
26
|
+
.gd-ui-kit-async-table__header--small {
|
27
|
+
height: var(--gd-table-row-height-small);
|
28
|
+
}
|
29
|
+
.gd-ui-kit-async-table__header:focus-visible {
|
30
|
+
outline: none;
|
31
|
+
}
|
32
|
+
.gd-ui-kit-async-table__header:focus-visible .gd-ui-kit-async-table__cell--isFocused {
|
33
|
+
transition: outline 0s ease-in-out;
|
34
|
+
outline-offset: -2px;
|
35
|
+
outline: auto 5px Highlight; /* For Firefox */
|
36
|
+
outline: auto 5px -webkit-focus-ring-color; /* For Chrome */
|
37
|
+
}
|
38
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell {
|
39
|
+
transition: var(--gd-transition-all);
|
40
|
+
}
|
41
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--sortable {
|
42
|
+
cursor: pointer;
|
43
|
+
}
|
44
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--sorted .gd-ui-kit-async-table__sort, .gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell:hover .gd-ui-kit-async-table__sort {
|
45
|
+
display: flex;
|
46
|
+
}
|
47
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--sorted:hover .gd-ui-kit-async-table__sort svg {
|
48
|
+
fill: var(--gd-palette-complementary-8);
|
49
|
+
}
|
50
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--desc svg {
|
51
|
+
transform: rotate(0deg);
|
52
|
+
}
|
53
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell:hover {
|
54
|
+
color: var(--gd-palette-complementary-8);
|
55
|
+
}
|
56
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell .gd-ui-kit-checkbox {
|
57
|
+
visibility: hidden;
|
58
|
+
}
|
59
|
+
.gd-ui-kit-async-table__cell {
|
60
|
+
padding: 0 var(--gd-spacing-10px);
|
61
|
+
display: flex;
|
62
|
+
flex: 0 0 auto;
|
63
|
+
align-items: center;
|
64
|
+
overflow: hidden;
|
65
|
+
box-sizing: border-box;
|
66
|
+
border-bottom: 1px solid var(--gd-palette-complementary-2);
|
67
|
+
}
|
68
|
+
.gd-ui-kit-async-table__cell > * {
|
69
|
+
flex: 0 0 auto;
|
70
|
+
}
|
71
|
+
.gd-ui-kit-async-table__cell--bold {
|
72
|
+
font-weight: 700;
|
73
|
+
}
|
74
|
+
.gd-ui-kit-async-table__cell--checkbox {
|
75
|
+
width: var(--gd-spacing-34px);
|
76
|
+
justify-content: center;
|
77
|
+
cursor: pointer;
|
78
|
+
}
|
79
|
+
.gd-ui-kit-async-table__text {
|
80
|
+
flex: 0 1 auto;
|
81
|
+
text-overflow: ellipsis;
|
82
|
+
overflow: hidden;
|
83
|
+
white-space: nowrap;
|
84
|
+
}
|
85
|
+
.gd-ui-kit-async-table__text--multi-line {
|
86
|
+
display: flex;
|
87
|
+
flex-direction: column;
|
88
|
+
font-size: var(--gd-table-multi-line-font-size);
|
89
|
+
line-height: var(--gd-table-multi-line-line-height);
|
90
|
+
}
|
91
|
+
.gd-ui-kit-async-table__text--multi-line > span:first-child {
|
92
|
+
font-size: var(--gd-table-multi-line-font-size-large);
|
93
|
+
line-height: var(--gd-table-multi-line-line-height-large);
|
94
|
+
font-weight: 700;
|
95
|
+
}
|
96
|
+
.gd-ui-kit-async-table__role-icon, .gd-ui-kit-async-table__prefix-icon, .gd-ui-kit-async-table__suffix-icon {
|
97
|
+
display: flex;
|
98
|
+
align-items: center;
|
99
|
+
justify-content: center;
|
100
|
+
}
|
101
|
+
.gd-ui-kit-async-table__role-icon {
|
102
|
+
margin-right: var(--gd-spacing-10px);
|
103
|
+
}
|
104
|
+
.gd-ui-kit-async-table__prefix-icon {
|
105
|
+
margin-right: var(--gd-spacing-5px);
|
106
|
+
}
|
107
|
+
.gd-ui-kit-async-table__suffix-icon {
|
108
|
+
margin-left: var(--gd-spacing-5px);
|
109
|
+
}
|
110
|
+
.gd-ui-kit-async-table__sort {
|
111
|
+
padding: 0 var(--gd-spacing-5px);
|
112
|
+
display: none;
|
113
|
+
}
|
114
|
+
.gd-ui-kit-async-table__sort svg {
|
115
|
+
transform: rotate(180deg);
|
116
|
+
}
|
117
|
+
.gd-ui-kit-async-table__badge {
|
118
|
+
margin-left: var(--gd-spacing-5px);
|
119
|
+
}
|
120
|
+
.gd-ui-kit-async-table__toolbar {
|
121
|
+
padding: 0;
|
122
|
+
height: var(--gd-table-row-height-small);
|
123
|
+
display: flex;
|
124
|
+
align-items: center;
|
125
|
+
justify-content: start;
|
126
|
+
gap: var(--gd-spacing-10px);
|
127
|
+
margin-bottom: var(--gd-spacing-20px);
|
128
|
+
}
|
129
|
+
.gd-ui-kit-async-table__toolbar .gd-ui-kit-async-table__cell {
|
130
|
+
visibility: hidden;
|
131
|
+
border-bottom: none;
|
132
|
+
}
|
133
|
+
.gd-ui-kit-async-table__toolbar--checkbox .gd-ui-kit-async-table__cell {
|
134
|
+
visibility: visible;
|
135
|
+
height: 100%;
|
136
|
+
border: 1px solid var(--gd-palette-complementary-3);
|
137
|
+
border-radius: 3px;
|
138
|
+
}
|
139
|
+
.gd-ui-kit-async-table__toolbar-label {
|
140
|
+
font-size: var(--gd-table-label-font-size);
|
141
|
+
font-weight: 700;
|
142
|
+
line-height: var(--gd-table-row-line-height);
|
143
|
+
text-transform: uppercase;
|
144
|
+
color: var(--gd-palette-complementary-6);
|
145
|
+
}
|
146
|
+
.gd-ui-kit-async-table__toolbar-selected-count {
|
147
|
+
color: var(--gd-palette-complementary-7);
|
148
|
+
font-size: var(--gd-table-counter-font-size);
|
149
|
+
padding-right: var(--gd-spacing-20px);
|
150
|
+
}
|
151
|
+
.gd-ui-kit-async-table__dropdown-item {
|
152
|
+
display: flex;
|
153
|
+
align-items: center;
|
154
|
+
padding: 0 var(--gd-spacing-10px);
|
155
|
+
font-size: var(--gd-table-dropdown-item-font-size);
|
156
|
+
cursor: pointer;
|
157
|
+
height: var(--gd-table-dropdown-item-height);
|
158
|
+
}
|
159
|
+
.gd-ui-kit-async-table__dropdown-item:hover {
|
160
|
+
background-color: var(--gd-palette-complementary-2);
|
161
|
+
}
|
162
|
+
.gd-ui-kit-async-table__dropdown-item--selected {
|
163
|
+
color: var(--gd-palette-primary-base);
|
164
|
+
font-weight: 700;
|
165
|
+
}
|
166
|
+
.gd-ui-kit-async-table__title {
|
167
|
+
display: flex;
|
168
|
+
align-items: center;
|
169
|
+
gap: var(--gd-spacing-10px);
|
170
|
+
margin-bottom: var(--gd-spacing-20px);
|
171
|
+
}
|
172
|
+
.gd-ui-kit-async-table__title-text, .gd-ui-kit-async-table__title-icon, .gd-ui-kit-async-table__title-search, .gd-ui-kit-async-table__title-actions {
|
173
|
+
display: flex;
|
174
|
+
flex: none;
|
175
|
+
}
|
176
|
+
.gd-ui-kit-async-table__title-actions {
|
177
|
+
gap: var(--gd-spacing-10px);
|
178
|
+
}
|
179
|
+
.gd-ui-kit-async-table__title-text {
|
180
|
+
font-size: var(--gd-table-title-font-size);
|
181
|
+
}
|
182
|
+
.gd-ui-kit-async-table__title-divider {
|
183
|
+
margin: 0 var(--gd-spacing-10px);
|
184
|
+
flex: 1 1 auto;
|
185
|
+
}
|
186
|
+
.gd-ui-kit-async-table__empty-state {
|
187
|
+
display: flex;
|
188
|
+
flex-direction: column;
|
189
|
+
justify-content: center;
|
190
|
+
align-items: center;
|
191
|
+
height: 300px;
|
192
|
+
}
|
193
|
+
.gd-ui-kit-async-table__empty-state-title {
|
194
|
+
font-size: 20px;
|
195
|
+
font-weight: 700;
|
196
|
+
color: var(--gd-palette-complementary-5);
|
197
|
+
padding: var(--gd-spacing-10px) 0;
|
198
|
+
}
|
199
|
+
.gd-ui-kit-async-table__empty-state-description {
|
200
|
+
font-size: 14px;
|
201
|
+
color: var(--gd-palette-complementary-5);
|
202
|
+
line-height: 20px;
|
203
|
+
}
|
204
|
+
|
205
|
+
/*# sourceMappingURL=asyncTable.css.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../scss/mixins.scss","../scss/asyncTable.scss"],"names":[],"mappings":"AA0HA;AA4DA;ACnLA;EAEI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAGA;EACI;;AAKZ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAEA;EACI;EDsMZ;EACA;EACA;;ACnMI;EACI;;AAEA;EACI;;AAKA;EACI;;AAKJ;EACI;;AAKJ;EACI;;AAIR;EACI;;AAGJ;EACI;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;;AAKZ;EAGI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAEA;EACI;;AAIR;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAIA;EACI;EACA;EACA;EACA;;AAKZ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;;AAGJ;EAII;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA","file":"asyncTable.css"}
|
package/styles/css/main.css
CHANGED
@@ -192,7 +192,10 @@
|
|
192
192
|
--gd-spacing-3px: 3px;
|
193
193
|
--gd-spacing-14px: 14px;
|
194
194
|
--gd-spacing-16px: 16px;
|
195
|
+
--gd-spacing-34px: 34px;
|
195
196
|
--gd-transition-all: all 0.25s ease-in-out;
|
197
|
+
--gd-button-XXL: 55px;
|
198
|
+
--gd-button-XL: 45px;
|
196
199
|
--gd-button-L: 38px;
|
197
200
|
--gd-button-M: 32px;
|
198
201
|
--gd-button-S: 27px;
|
@@ -200,6 +203,20 @@
|
|
200
203
|
--gd-tabs-height-L: 56px;
|
201
204
|
--gd-tabs-height-M: 27px;
|
202
205
|
--gd-tabs-height-S: 23px;
|
206
|
+
--gd-table-font-size: 14px;
|
207
|
+
--gd-table-row-height-normal: 45px;
|
208
|
+
--gd-table-row-height-large: 55px;
|
209
|
+
--gd-table-row-height-small: 27px;
|
210
|
+
--gd-table-row-line-height: 27px;
|
211
|
+
--gd-table-label-font-size: 11px;
|
212
|
+
--gd-table-counter-font-size: 12px;
|
213
|
+
--gd-table-dropdown-item-font-size: 12px;
|
214
|
+
--gd-table-multi-line-font-size: 12px;
|
215
|
+
--gd-table-multi-line-line-height: 17px;
|
216
|
+
--gd-table-multi-line-font-size-large: 14px;
|
217
|
+
--gd-table-multi-line-line-height-large: 23px;
|
218
|
+
--gd-table-dropdown-item-height: 28px;
|
219
|
+
--gd-table-title-font-size: 24px;
|
203
220
|
}
|
204
221
|
|
205
222
|
.gd-ui-kit-button {
|
@@ -421,6 +438,18 @@
|
|
421
438
|
.gd-ui-kit-icon-button--size-large.gd-ui-kit-icon-button--type-button {
|
422
439
|
width: var(--gd-button-L);
|
423
440
|
}
|
441
|
+
.gd-ui-kit-icon-button--size-xlarge {
|
442
|
+
height: var(--gd-button-XL);
|
443
|
+
}
|
444
|
+
.gd-ui-kit-icon-button--size-xlarge.gd-ui-kit-icon-button--type-button {
|
445
|
+
width: var(--gd-button-XL);
|
446
|
+
}
|
447
|
+
.gd-ui-kit-icon-button--size-xxlarge {
|
448
|
+
height: var(--gd-button-XXL);
|
449
|
+
}
|
450
|
+
.gd-ui-kit-icon-button--size-xxlarge.gd-ui-kit-icon-button--type-button {
|
451
|
+
width: var(--gd-button-XXL);
|
452
|
+
}
|
424
453
|
.gd-ui-kit-icon-button--variant-primary {
|
425
454
|
--gd-icon-fill-color: var(--gd-palette-complementary-0);
|
426
455
|
background-color: var(--gd-palette-primary-base);
|
@@ -483,6 +512,22 @@
|
|
483
512
|
.gd-ui-kit-icon-button--variant-popout:disabled {
|
484
513
|
--gd-icon-fill-color: var(--gd-palette-complementary-5);
|
485
514
|
}
|
515
|
+
.gd-ui-kit-icon-button--variant-table {
|
516
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-7);
|
517
|
+
background-color: inherit;
|
518
|
+
border: none;
|
519
|
+
border-radius: 0;
|
520
|
+
transition: inherit;
|
521
|
+
}
|
522
|
+
.gd-ui-kit-icon-button--variant-table:disabled {
|
523
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-5);
|
524
|
+
}
|
525
|
+
.gd-ui-kit-icon-button--variant-table.gd-ui-kit-icon-button--active, .gd-ui-kit-icon-button--variant-table:hover {
|
526
|
+
background-color: var(--gd-palette-complementary-3);
|
527
|
+
}
|
528
|
+
.gd-ui-kit-icon-button--variant-table.gd-ui-kit-icon-button--active {
|
529
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-7);
|
530
|
+
}
|
486
531
|
.gd-ui-kit-icon-button--variant-danger {
|
487
532
|
--gd-icon-fill-color: var(--gd-palette-complementary-0);
|
488
533
|
background-color: var(--gd-palette-error-base);
|
@@ -619,6 +664,7 @@
|
|
619
664
|
border-radius: 3px;
|
620
665
|
width: 100%;
|
621
666
|
height: 100%;
|
667
|
+
box-sizing: border-box;
|
622
668
|
}
|
623
669
|
.gd-ui-kit-skeleton .react-loading-skeleton {
|
624
670
|
--base-color: var(--gd-palette-complementary-2);
|
@@ -668,6 +714,18 @@
|
|
668
714
|
background-color: var(--gd-palette-complementary-2);
|
669
715
|
border-radius: 3px;
|
670
716
|
}
|
717
|
+
.gd-ui-kit-paged-virtual-list__scroll-container--hover::-webkit-scrollbar {
|
718
|
+
width: 10px;
|
719
|
+
}
|
720
|
+
.gd-ui-kit-paged-virtual-list__scroll-container--hover::-webkit-scrollbar-thumb {
|
721
|
+
border: 2px solid transparent;
|
722
|
+
border-radius: 5px;
|
723
|
+
background-clip: padding-box;
|
724
|
+
}
|
725
|
+
.gd-ui-kit-paged-virtual-list__scroll-container--hover::-webkit-scrollbar-thumb:hover {
|
726
|
+
border: 0;
|
727
|
+
background-color: var(--gd-palette-complementary-5);
|
728
|
+
}
|
671
729
|
.gd-ui-kit-paged-virtual-list__item {
|
672
730
|
display: flex;
|
673
731
|
flex-direction: column;
|
@@ -932,12 +990,21 @@
|
|
932
990
|
flex-direction: column;
|
933
991
|
user-select: none;
|
934
992
|
}
|
993
|
+
.gd-ui-kit-menu__content-container {
|
994
|
+
display: contents;
|
995
|
+
}
|
935
996
|
.gd-ui-kit-menu__items-container {
|
936
997
|
width: 100%;
|
937
998
|
height: 100%;
|
938
999
|
overflow-y: auto;
|
939
1000
|
overflow-x: hidden;
|
940
1001
|
}
|
1002
|
+
.gd-ui-kit-menu__items-container--container-bottom-padding-small {
|
1003
|
+
padding-bottom: 8px;
|
1004
|
+
}
|
1005
|
+
.gd-ui-kit-menu__items-container--container-bottom-padding-medium {
|
1006
|
+
padding-bottom: 10px;
|
1007
|
+
}
|
941
1008
|
@media only screen and (max-width: 640px) {
|
942
1009
|
.gd-ui-kit-menu {
|
943
1010
|
/* stylelint-disable-next-line declaration-no-important */
|
@@ -1194,6 +1261,79 @@
|
|
1194
1261
|
color: var(--gd-palette-complementary-8, #464e56);
|
1195
1262
|
}
|
1196
1263
|
|
1264
|
+
.gd-ui-kit-badge {
|
1265
|
+
display: flex;
|
1266
|
+
padding: 0 var(--gd-spacing-10px);
|
1267
|
+
justify-content: center;
|
1268
|
+
align-items: center;
|
1269
|
+
border-radius: 30px;
|
1270
|
+
font-size: 12px;
|
1271
|
+
font-weight: 400;
|
1272
|
+
line-height: 20px;
|
1273
|
+
background: var(--gd-palette-complementary-2);
|
1274
|
+
color: var(--gd-palette-complementary-7);
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
.gd-ui-kit-checkbox {
|
1278
|
+
display: inline-flex;
|
1279
|
+
align-items: center;
|
1280
|
+
cursor: pointer;
|
1281
|
+
user-select: none;
|
1282
|
+
}
|
1283
|
+
.gd-ui-kit-checkbox__input {
|
1284
|
+
position: absolute;
|
1285
|
+
opacity: 0;
|
1286
|
+
width: 0;
|
1287
|
+
height: 0;
|
1288
|
+
}
|
1289
|
+
.gd-ui-kit-checkbox__box {
|
1290
|
+
width: 12px;
|
1291
|
+
height: 12px;
|
1292
|
+
border: 1px solid var(--gd-palette-complementary-5);
|
1293
|
+
border-radius: 2px;
|
1294
|
+
position: relative;
|
1295
|
+
transition: background-color 0.2s, border-color 0.2s;
|
1296
|
+
background-color: var(--gd-palette-complementary-0);
|
1297
|
+
}
|
1298
|
+
.gd-ui-kit-checkbox__box:hover {
|
1299
|
+
border-color: var(--gd-palette-complementary-6);
|
1300
|
+
box-shadow: 0 1px 2px 0 rgba(31, 53, 74, 0.15) inset;
|
1301
|
+
}
|
1302
|
+
.gd-ui-kit-checkbox__box::after {
|
1303
|
+
content: "";
|
1304
|
+
position: absolute;
|
1305
|
+
height: 3px;
|
1306
|
+
top: 3px;
|
1307
|
+
transform: scale(0) rotate(315deg) skew(-2deg);
|
1308
|
+
transform-origin: center top;
|
1309
|
+
transition: transform 0.2s ease-out;
|
1310
|
+
width: 7px;
|
1311
|
+
border-bottom: 2px solid var(--gd-palette-complementary-0);
|
1312
|
+
border-left: 2px solid var(--gd-palette-complementary-0);
|
1313
|
+
}
|
1314
|
+
.gd-ui-kit-checkbox__box--checked {
|
1315
|
+
background-color: var(--gd-palette-primary-base);
|
1316
|
+
box-shadow: none;
|
1317
|
+
border-color: var(--gd-palette-primary-base);
|
1318
|
+
}
|
1319
|
+
.gd-ui-kit-checkbox__box--checked::after {
|
1320
|
+
transform: scale(1) rotate(315deg) skew(-2deg);
|
1321
|
+
}
|
1322
|
+
.gd-ui-kit-checkbox__box--checked.gd-ui-kit-checkbox__box--indeterminate::after {
|
1323
|
+
content: "";
|
1324
|
+
position: absolute;
|
1325
|
+
top: 5px;
|
1326
|
+
left: 2px;
|
1327
|
+
width: 8px;
|
1328
|
+
height: 2px;
|
1329
|
+
background: var(--gd-palette-complementary-0);
|
1330
|
+
border: none;
|
1331
|
+
transform: scale(1) rotate(0deg);
|
1332
|
+
}
|
1333
|
+
.gd-ui-kit-checkbox__input:focus-visible + .gd-ui-kit-checkbox__box {
|
1334
|
+
box-shadow: 0 0 0 2px var(--gd-palette-primary-focus);
|
1335
|
+
}
|
1336
|
+
|
1197
1337
|
.sr-only {
|
1198
1338
|
position: absolute;
|
1199
1339
|
width: 1px;
|
@@ -10976,4 +11116,206 @@ input[type=search]::-webkit-search-cancel-button {
|
|
10976
11116
|
height: 28px;
|
10977
11117
|
}
|
10978
11118
|
|
11119
|
+
.gd-ui-kit-async-table {
|
11120
|
+
font-family: var(--gd-font-family);
|
11121
|
+
font-size: var(--gd-table-font-size);
|
11122
|
+
font-style: normal;
|
11123
|
+
line-height: var(--gd-table-row-line-height);
|
11124
|
+
color: var(--gd-palette-complementary-8);
|
11125
|
+
}
|
11126
|
+
.gd-ui-kit-async-table__row {
|
11127
|
+
display: flex;
|
11128
|
+
height: var(--gd-table-row-height-normal);
|
11129
|
+
}
|
11130
|
+
.gd-ui-kit-async-table__row--large {
|
11131
|
+
height: var(--gd-table-row-height-large);
|
11132
|
+
}
|
11133
|
+
.gd-ui-kit-async-table__row:hover .gd-ui-kit-async-table__cell {
|
11134
|
+
background-color: var(--gd-palette-complementary-2);
|
11135
|
+
}
|
11136
|
+
.gd-ui-kit-async-table__header {
|
11137
|
+
display: flex;
|
11138
|
+
height: var(--gd-table-row-height-normal);
|
11139
|
+
line-height: var(--gd-table-row-line-height);
|
11140
|
+
color: var(--gd-palette-complementary-6);
|
11141
|
+
}
|
11142
|
+
.gd-ui-kit-async-table__header--small {
|
11143
|
+
height: var(--gd-table-row-height-small);
|
11144
|
+
}
|
11145
|
+
.gd-ui-kit-async-table__header:focus-visible {
|
11146
|
+
outline: none;
|
11147
|
+
}
|
11148
|
+
.gd-ui-kit-async-table__header:focus-visible .gd-ui-kit-async-table__cell--isFocused {
|
11149
|
+
transition: outline 0s ease-in-out;
|
11150
|
+
outline-offset: -2px;
|
11151
|
+
outline: auto 5px Highlight; /* For Firefox */
|
11152
|
+
outline: auto 5px -webkit-focus-ring-color; /* For Chrome */
|
11153
|
+
}
|
11154
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell {
|
11155
|
+
transition: var(--gd-transition-all);
|
11156
|
+
}
|
11157
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--sortable {
|
11158
|
+
cursor: pointer;
|
11159
|
+
}
|
11160
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--sorted .gd-ui-kit-async-table__sort, .gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell:hover .gd-ui-kit-async-table__sort {
|
11161
|
+
display: flex;
|
11162
|
+
}
|
11163
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--sorted:hover .gd-ui-kit-async-table__sort svg {
|
11164
|
+
fill: var(--gd-palette-complementary-8);
|
11165
|
+
}
|
11166
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--desc svg {
|
11167
|
+
transform: rotate(0deg);
|
11168
|
+
}
|
11169
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell:hover {
|
11170
|
+
color: var(--gd-palette-complementary-8);
|
11171
|
+
}
|
11172
|
+
.gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell .gd-ui-kit-checkbox {
|
11173
|
+
visibility: hidden;
|
11174
|
+
}
|
11175
|
+
.gd-ui-kit-async-table__cell {
|
11176
|
+
padding: 0 var(--gd-spacing-10px);
|
11177
|
+
display: flex;
|
11178
|
+
flex: 0 0 auto;
|
11179
|
+
align-items: center;
|
11180
|
+
overflow: hidden;
|
11181
|
+
box-sizing: border-box;
|
11182
|
+
border-bottom: 1px solid var(--gd-palette-complementary-2);
|
11183
|
+
}
|
11184
|
+
.gd-ui-kit-async-table__cell > * {
|
11185
|
+
flex: 0 0 auto;
|
11186
|
+
}
|
11187
|
+
.gd-ui-kit-async-table__cell--bold {
|
11188
|
+
font-weight: 700;
|
11189
|
+
}
|
11190
|
+
.gd-ui-kit-async-table__cell--checkbox {
|
11191
|
+
width: var(--gd-spacing-34px);
|
11192
|
+
justify-content: center;
|
11193
|
+
cursor: pointer;
|
11194
|
+
}
|
11195
|
+
.gd-ui-kit-async-table__text {
|
11196
|
+
flex: 0 1 auto;
|
11197
|
+
text-overflow: ellipsis;
|
11198
|
+
overflow: hidden;
|
11199
|
+
white-space: nowrap;
|
11200
|
+
}
|
11201
|
+
.gd-ui-kit-async-table__text--multi-line {
|
11202
|
+
display: flex;
|
11203
|
+
flex-direction: column;
|
11204
|
+
font-size: var(--gd-table-multi-line-font-size);
|
11205
|
+
line-height: var(--gd-table-multi-line-line-height);
|
11206
|
+
}
|
11207
|
+
.gd-ui-kit-async-table__text--multi-line > span:first-child {
|
11208
|
+
font-size: var(--gd-table-multi-line-font-size-large);
|
11209
|
+
line-height: var(--gd-table-multi-line-line-height-large);
|
11210
|
+
font-weight: 700;
|
11211
|
+
}
|
11212
|
+
.gd-ui-kit-async-table__role-icon, .gd-ui-kit-async-table__prefix-icon, .gd-ui-kit-async-table__suffix-icon {
|
11213
|
+
display: flex;
|
11214
|
+
align-items: center;
|
11215
|
+
justify-content: center;
|
11216
|
+
}
|
11217
|
+
.gd-ui-kit-async-table__role-icon {
|
11218
|
+
margin-right: var(--gd-spacing-10px);
|
11219
|
+
}
|
11220
|
+
.gd-ui-kit-async-table__prefix-icon {
|
11221
|
+
margin-right: var(--gd-spacing-5px);
|
11222
|
+
}
|
11223
|
+
.gd-ui-kit-async-table__suffix-icon {
|
11224
|
+
margin-left: var(--gd-spacing-5px);
|
11225
|
+
}
|
11226
|
+
.gd-ui-kit-async-table__sort {
|
11227
|
+
padding: 0 var(--gd-spacing-5px);
|
11228
|
+
display: none;
|
11229
|
+
}
|
11230
|
+
.gd-ui-kit-async-table__sort svg {
|
11231
|
+
transform: rotate(180deg);
|
11232
|
+
}
|
11233
|
+
.gd-ui-kit-async-table__badge {
|
11234
|
+
margin-left: var(--gd-spacing-5px);
|
11235
|
+
}
|
11236
|
+
.gd-ui-kit-async-table__toolbar {
|
11237
|
+
padding: 0;
|
11238
|
+
height: var(--gd-table-row-height-small);
|
11239
|
+
display: flex;
|
11240
|
+
align-items: center;
|
11241
|
+
justify-content: start;
|
11242
|
+
gap: var(--gd-spacing-10px);
|
11243
|
+
margin-bottom: var(--gd-spacing-20px);
|
11244
|
+
}
|
11245
|
+
.gd-ui-kit-async-table__toolbar .gd-ui-kit-async-table__cell {
|
11246
|
+
visibility: hidden;
|
11247
|
+
border-bottom: none;
|
11248
|
+
}
|
11249
|
+
.gd-ui-kit-async-table__toolbar--checkbox .gd-ui-kit-async-table__cell {
|
11250
|
+
visibility: visible;
|
11251
|
+
height: 100%;
|
11252
|
+
border: 1px solid var(--gd-palette-complementary-3);
|
11253
|
+
border-radius: 3px;
|
11254
|
+
}
|
11255
|
+
.gd-ui-kit-async-table__toolbar-label {
|
11256
|
+
font-size: var(--gd-table-label-font-size);
|
11257
|
+
font-weight: 700;
|
11258
|
+
line-height: var(--gd-table-row-line-height);
|
11259
|
+
text-transform: uppercase;
|
11260
|
+
color: var(--gd-palette-complementary-6);
|
11261
|
+
}
|
11262
|
+
.gd-ui-kit-async-table__toolbar-selected-count {
|
11263
|
+
color: var(--gd-palette-complementary-7);
|
11264
|
+
font-size: var(--gd-table-counter-font-size);
|
11265
|
+
padding-right: var(--gd-spacing-20px);
|
11266
|
+
}
|
11267
|
+
.gd-ui-kit-async-table__dropdown-item {
|
11268
|
+
display: flex;
|
11269
|
+
align-items: center;
|
11270
|
+
padding: 0 var(--gd-spacing-10px);
|
11271
|
+
font-size: var(--gd-table-dropdown-item-font-size);
|
11272
|
+
cursor: pointer;
|
11273
|
+
height: var(--gd-table-dropdown-item-height);
|
11274
|
+
}
|
11275
|
+
.gd-ui-kit-async-table__dropdown-item:hover {
|
11276
|
+
background-color: var(--gd-palette-complementary-2);
|
11277
|
+
}
|
11278
|
+
.gd-ui-kit-async-table__dropdown-item--selected {
|
11279
|
+
color: var(--gd-palette-primary-base);
|
11280
|
+
font-weight: 700;
|
11281
|
+
}
|
11282
|
+
.gd-ui-kit-async-table__title {
|
11283
|
+
display: flex;
|
11284
|
+
align-items: center;
|
11285
|
+
gap: var(--gd-spacing-10px);
|
11286
|
+
margin-bottom: var(--gd-spacing-20px);
|
11287
|
+
}
|
11288
|
+
.gd-ui-kit-async-table__title-text, .gd-ui-kit-async-table__title-icon, .gd-ui-kit-async-table__title-search, .gd-ui-kit-async-table__title-actions {
|
11289
|
+
display: flex;
|
11290
|
+
flex: none;
|
11291
|
+
}
|
11292
|
+
.gd-ui-kit-async-table__title-actions {
|
11293
|
+
gap: var(--gd-spacing-10px);
|
11294
|
+
}
|
11295
|
+
.gd-ui-kit-async-table__title-text {
|
11296
|
+
font-size: var(--gd-table-title-font-size);
|
11297
|
+
}
|
11298
|
+
.gd-ui-kit-async-table__title-divider {
|
11299
|
+
margin: 0 var(--gd-spacing-10px);
|
11300
|
+
flex: 1 1 auto;
|
11301
|
+
}
|
11302
|
+
.gd-ui-kit-async-table__empty-state {
|
11303
|
+
display: flex;
|
11304
|
+
flex-direction: column;
|
11305
|
+
justify-content: center;
|
11306
|
+
align-items: center;
|
11307
|
+
height: 300px;
|
11308
|
+
}
|
11309
|
+
.gd-ui-kit-async-table__empty-state-title {
|
11310
|
+
font-size: 20px;
|
11311
|
+
font-weight: 700;
|
11312
|
+
color: var(--gd-palette-complementary-5);
|
11313
|
+
padding: var(--gd-spacing-10px) 0;
|
11314
|
+
}
|
11315
|
+
.gd-ui-kit-async-table__empty-state-description {
|
11316
|
+
font-size: 14px;
|
11317
|
+
color: var(--gd-palette-complementary-5);
|
11318
|
+
line-height: 20px;
|
11319
|
+
}
|
11320
|
+
|
10979
11321
|
/*# sourceMappingURL=main.css.map */
|