@cloudscape-design/components 3.0.149 → 3.0.150
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/cards/styles.css.js +37 -37
- package/cards/styles.scoped.css +49 -49
- package/cards/styles.selectors.js +37 -37
- package/container/styles.css.js +16 -16
- package/container/styles.scoped.css +30 -30
- package/container/styles.selectors.js +16 -16
- package/expandable-section/styles.css.js +21 -21
- package/expandable-section/styles.scoped.css +43 -43
- package/expandable-section/styles.selectors.js +21 -21
- package/internal/base-component/styles.scoped.css +5 -4
- package/internal/environment.js +1 -1
- package/internal/generated/styles/tokens.js +1 -1
- package/internal/generated/theming/index.cjs +13 -6
- package/internal/generated/theming/index.js +13 -6
- package/internal/manifest.json +1 -1
- package/modal/styles.css.js +22 -22
- package/modal/styles.scoped.css +41 -41
- package/modal/styles.selectors.js +22 -22
- package/package.json +1 -1
- package/table/body-cell/index.d.ts +3 -1
- package/table/body-cell/index.d.ts.map +1 -1
- package/table/body-cell/index.js +4 -2
- package/table/body-cell/index.js.map +1 -1
- package/table/body-cell/styles.css.js +12 -8
- package/table/body-cell/styles.scoped.css +56 -20
- package/table/body-cell/styles.selectors.js +12 -8
- package/table/header-cell/styles.css.js +18 -16
- package/table/header-cell/styles.scoped.css +54 -27
- package/table/header-cell/styles.selectors.js +18 -16
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +11 -9
- package/table/internal.js.map +1 -1
- package/table/selection-control/styles.css.js +3 -3
- package/table/selection-control/styles.scoped.css +3 -5
- package/table/selection-control/styles.selectors.js +3 -3
- package/table/styles.css.js +33 -34
- package/table/styles.scoped.css +63 -58
- package/table/styles.selectors.js +33 -34
- package/table/thead.d.ts +1 -0
- package/table/thead.d.ts.map +1 -1
- package/table/thead.js +5 -3
- package/table/thead.js.map +1 -1
- package/table/use-sticky-header.d.ts.map +1 -1
- package/table/use-sticky-header.js +0 -13
- package/table/use-sticky-header.js.map +1 -1
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +39 -39
- package/tabs/styles.selectors.js +21 -21
package/modal/styles.css.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"dialog": "
|
|
5
|
-
"modal-slide-up": "awsui_modal-slide-
|
|
6
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-
|
|
9
|
-
"root": "
|
|
10
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
11
|
-
"hidden": "
|
|
12
|
-
"focus-lock": "awsui_focus-
|
|
13
|
-
"small": "
|
|
14
|
-
"medium": "
|
|
15
|
-
"large": "
|
|
16
|
-
"max": "
|
|
17
|
-
"breakpoint-xs": "awsui_breakpoint-
|
|
18
|
-
"container": "
|
|
19
|
-
"content": "
|
|
20
|
-
"no-paddings": "awsui_no-
|
|
21
|
-
"header": "
|
|
22
|
-
"header--text": "awsui_header--
|
|
23
|
-
"footer": "
|
|
24
|
-
"dismiss-control": "awsui_dismiss-
|
|
25
|
-
"modal-open": "awsui_modal-
|
|
4
|
+
"dialog": "awsui_dialog_1d2i7_nzsqa_105",
|
|
5
|
+
"modal-slide-up": "awsui_modal-slide-up_1d2i7_nzsqa_1",
|
|
6
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1d2i7_nzsqa_1",
|
|
7
|
+
"refresh": "awsui_refresh_1d2i7_nzsqa_128",
|
|
8
|
+
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_1d2i7_nzsqa_1",
|
|
9
|
+
"root": "awsui_root_1d2i7_nzsqa_161",
|
|
10
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_1d2i7_nzsqa_1",
|
|
11
|
+
"hidden": "awsui_hidden_1d2i7_nzsqa_224",
|
|
12
|
+
"focus-lock": "awsui_focus-lock_1d2i7_nzsqa_228",
|
|
13
|
+
"small": "awsui_small_1d2i7_nzsqa_246",
|
|
14
|
+
"medium": "awsui_medium_1d2i7_nzsqa_249",
|
|
15
|
+
"large": "awsui_large_1d2i7_nzsqa_252",
|
|
16
|
+
"max": "awsui_max_1d2i7_nzsqa_255",
|
|
17
|
+
"breakpoint-xs": "awsui_breakpoint-xs_1d2i7_nzsqa_255",
|
|
18
|
+
"container": "awsui_container_1d2i7_nzsqa_260",
|
|
19
|
+
"content": "awsui_content_1d2i7_nzsqa_284",
|
|
20
|
+
"no-paddings": "awsui_no-paddings_1d2i7_nzsqa_287",
|
|
21
|
+
"header": "awsui_header_1d2i7_nzsqa_291",
|
|
22
|
+
"header--text": "awsui_header--text_1d2i7_nzsqa_298",
|
|
23
|
+
"footer": "awsui_footer_1d2i7_nzsqa_302",
|
|
24
|
+
"dismiss-control": "awsui_dismiss-control_1d2i7_nzsqa_312",
|
|
25
|
+
"modal-open": "awsui_modal-open_1d2i7_nzsqa_316"
|
|
26
26
|
};
|
|
27
27
|
|
package/modal/styles.scoped.css
CHANGED
|
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
@keyframes awsui_modal-slide-
|
|
97
|
+
@keyframes awsui_modal-slide-up_1d2i7_nzsqa_1 {
|
|
98
98
|
0% {
|
|
99
99
|
transform: translate(0, 10px);
|
|
100
100
|
}
|
|
@@ -102,12 +102,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
transform: translate(0, 0);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
.
|
|
106
|
-
animation: awsui_modal-slide-
|
|
105
|
+
.awsui_dialog_1d2i7_nzsqa_105:not(#\9) {
|
|
106
|
+
animation: awsui_modal-slide-up_1d2i7_nzsqa_1 var(--motion-duration-slow-0273ow, 180ms) ease-out, awsui_awsui-motion-fade-in-0_1d2i7_nzsqa_1 var(--motion-duration-slow-0273ow, 180ms) ease-out;
|
|
107
107
|
animation-delay: var(--motion-duration-fast-nk2ap0, 90ms);
|
|
108
108
|
animation-fill-mode: both;
|
|
109
109
|
}
|
|
110
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
110
|
+
@keyframes awsui_awsui-motion-fade-in-0_1d2i7_nzsqa_1 {
|
|
111
111
|
from {
|
|
112
112
|
opacity: 0;
|
|
113
113
|
}
|
|
@@ -116,22 +116,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
@media (prefers-reduced-motion: reduce) {
|
|
119
|
-
.
|
|
119
|
+
.awsui_dialog_1d2i7_nzsqa_105:not(#\9) {
|
|
120
120
|
animation: none;
|
|
121
121
|
transition: none;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
.awsui-motion-disabled .
|
|
124
|
+
.awsui-motion-disabled .awsui_dialog_1d2i7_nzsqa_105:not(#\9), .awsui-mode-entering .awsui_dialog_1d2i7_nzsqa_105:not(#\9) {
|
|
125
125
|
animation: none;
|
|
126
126
|
transition: none;
|
|
127
127
|
}
|
|
128
|
-
.
|
|
129
|
-
animation: awsui_awsui-motion-scale-
|
|
128
|
+
.awsui_dialog_1d2i7_nzsqa_105.awsui_refresh_1d2i7_nzsqa_128:not(#\9) {
|
|
129
|
+
animation: awsui_awsui-motion-scale-popup_1d2i7_nzsqa_1, awsui_awsui-motion-fade-in-0_1d2i7_nzsqa_1;
|
|
130
130
|
animation-duration: var(--motion-duration-refresh-only-fast-addxjd, 115ms);
|
|
131
131
|
animation-timing-function: var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
|
|
132
132
|
animation-fill-mode: both;
|
|
133
133
|
}
|
|
134
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
134
|
+
@keyframes awsui_awsui-motion-fade-in-0_1d2i7_nzsqa_1 {
|
|
135
135
|
from {
|
|
136
136
|
opacity: 0;
|
|
137
137
|
}
|
|
@@ -139,7 +139,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
139
139
|
opacity: 1;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
@keyframes awsui_awsui-motion-scale-
|
|
142
|
+
@keyframes awsui_awsui-motion-scale-popup_1d2i7_nzsqa_1 {
|
|
143
143
|
0% {
|
|
144
144
|
transform: scale(0.95);
|
|
145
145
|
}
|
|
@@ -148,21 +148,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
@media (prefers-reduced-motion: reduce) {
|
|
151
|
-
.
|
|
151
|
+
.awsui_dialog_1d2i7_nzsqa_105.awsui_refresh_1d2i7_nzsqa_128:not(#\9) {
|
|
152
152
|
animation: none;
|
|
153
153
|
transition: none;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
.awsui-motion-disabled .
|
|
156
|
+
.awsui-motion-disabled .awsui_dialog_1d2i7_nzsqa_105.awsui_refresh_1d2i7_nzsqa_128:not(#\9), .awsui-mode-entering .awsui_dialog_1d2i7_nzsqa_105.awsui_refresh_1d2i7_nzsqa_128:not(#\9) {
|
|
157
157
|
animation: none;
|
|
158
158
|
transition: none;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.
|
|
162
|
-
animation: awsui_awsui-motion-fade-
|
|
161
|
+
.awsui_root_1d2i7_nzsqa_161:not(#\9) {
|
|
162
|
+
animation: awsui_awsui-motion-fade-in_1d2i7_nzsqa_1 var(--motion-duration-extra-slow-8ks5rs, 270ms) ease-out;
|
|
163
163
|
animation-fill-mode: both;
|
|
164
164
|
}
|
|
165
|
-
@keyframes awsui_awsui-motion-fade-
|
|
165
|
+
@keyframes awsui_awsui-motion-fade-in_1d2i7_nzsqa_1 {
|
|
166
166
|
from {
|
|
167
167
|
opacity: 0.2;
|
|
168
168
|
}
|
|
@@ -171,25 +171,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
@media (prefers-reduced-motion: reduce) {
|
|
174
|
-
.
|
|
174
|
+
.awsui_root_1d2i7_nzsqa_161:not(#\9) {
|
|
175
175
|
animation: none;
|
|
176
176
|
transition: none;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
.awsui-motion-disabled .
|
|
179
|
+
.awsui-motion-disabled .awsui_root_1d2i7_nzsqa_161:not(#\9), .awsui-mode-entering .awsui_root_1d2i7_nzsqa_161:not(#\9) {
|
|
180
180
|
animation: none;
|
|
181
181
|
transition: none;
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.awsui_root_1d2i7_nzsqa_161.awsui_refresh_1d2i7_nzsqa_128:not(#\9) {
|
|
184
184
|
animation-duration: var(--motion-duration-refresh-only-fast-addxjd, 115ms);
|
|
185
185
|
}
|
|
186
186
|
@media (prefers-reduced-motion: reduce) {
|
|
187
|
-
.
|
|
187
|
+
.awsui_root_1d2i7_nzsqa_161.awsui_refresh_1d2i7_nzsqa_128:not(#\9) {
|
|
188
188
|
animation: none;
|
|
189
189
|
transition: none;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
.awsui-motion-disabled .
|
|
192
|
+
.awsui-motion-disabled .awsui_root_1d2i7_nzsqa_161.awsui_refresh_1d2i7_nzsqa_128:not(#\9), .awsui-mode-entering .awsui_root_1d2i7_nzsqa_161.awsui_refresh_1d2i7_nzsqa_128:not(#\9) {
|
|
193
193
|
animation: none;
|
|
194
194
|
transition: none;
|
|
195
195
|
}
|
|
@@ -198,7 +198,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
198
198
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
199
199
|
SPDX-License-Identifier: Apache-2.0
|
|
200
200
|
*/
|
|
201
|
-
.
|
|
201
|
+
.awsui_root_1d2i7_nzsqa_161:not(#\9) {
|
|
202
202
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
203
203
|
border-collapse: separate;
|
|
204
204
|
border-spacing: 0;
|
|
@@ -247,11 +247,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
247
247
|
overflow: auto;
|
|
248
248
|
cursor: pointer;
|
|
249
249
|
}
|
|
250
|
-
.
|
|
250
|
+
.awsui_root_1d2i7_nzsqa_161.awsui_hidden_1d2i7_nzsqa_224:not(#\9) {
|
|
251
251
|
display: none;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
.awsui_focus-
|
|
254
|
+
.awsui_focus-lock_1d2i7_nzsqa_228:not(#\9) {
|
|
255
255
|
align-self: flex-start;
|
|
256
256
|
margin: auto;
|
|
257
257
|
padding: var(--space-s-hv8c1d, 12px) 0;
|
|
@@ -259,7 +259,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
259
259
|
pointer-events: none;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.
|
|
262
|
+
.awsui_dialog_1d2i7_nzsqa_105:not(#\9) {
|
|
263
263
|
position: static;
|
|
264
264
|
top: 0;
|
|
265
265
|
transform: translate(0, 0);
|
|
@@ -269,21 +269,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
269
269
|
z-index: 5000;
|
|
270
270
|
pointer-events: all;
|
|
271
271
|
}
|
|
272
|
-
.
|
|
272
|
+
.awsui_dialog_1d2i7_nzsqa_105.awsui_small_1d2i7_nzsqa_246:not(#\9) {
|
|
273
273
|
max-width: 320px;
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
.awsui_dialog_1d2i7_nzsqa_105.awsui_medium_1d2i7_nzsqa_249:not(#\9) {
|
|
276
276
|
max-width: 600px;
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
.awsui_dialog_1d2i7_nzsqa_105.awsui_large_1d2i7_nzsqa_252:not(#\9) {
|
|
279
279
|
max-width: 820px;
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
.awsui_dialog_1d2i7_nzsqa_105.awsui_max_1d2i7_nzsqa_255.awsui_breakpoint-xs_1d2i7_nzsqa_255:not(#\9) {
|
|
282
282
|
max-width: calc(100vw - (2 * 4 * 10px + var(--space-xxxl-bo9z7f, 40px)));
|
|
283
283
|
margin: auto;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.
|
|
286
|
+
.awsui_container_1d2i7_nzsqa_260:not(#\9) {
|
|
287
287
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
288
288
|
border-collapse: separate;
|
|
289
289
|
border-spacing: 0;
|
|
@@ -328,44 +328,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
328
328
|
word-wrap: break-word;
|
|
329
329
|
}
|
|
330
330
|
@media screen and (-ms-high-contrast: active) {
|
|
331
|
-
.
|
|
331
|
+
.awsui_container_1d2i7_nzsqa_260:not(#\9) {
|
|
332
332
|
border: var(--border-field-width-idlekx, 2px) solid var(--color-border-container-top-srcvx4, transparent);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
.
|
|
337
|
-
padding: var(--space-container-content-top-fsd8nr, 0px) var(--space-modal-horizontal-
|
|
336
|
+
.awsui_content_1d2i7_nzsqa_284:not(#\9) {
|
|
337
|
+
padding: var(--space-container-content-top-fsd8nr, 0px) var(--space-modal-horizontal-ah0xld, 20px) var(--space-modal-content-bottom-cecclv, 16px);
|
|
338
338
|
}
|
|
339
|
-
.
|
|
339
|
+
.awsui_content_1d2i7_nzsqa_284.awsui_no-paddings_1d2i7_nzsqa_287:not(#\9) {
|
|
340
340
|
padding: 0;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
.
|
|
344
|
-
padding: var(--space-s-hv8c1d, 12px) var(--space-modal-horizontal-
|
|
343
|
+
.awsui_header_1d2i7_nzsqa_291:not(#\9) {
|
|
344
|
+
padding: var(--space-s-hv8c1d, 12px) var(--space-modal-horizontal-ah0xld, 20px);
|
|
345
345
|
background-color: var(--color-background-container-header-4flbq5, #ffffff);
|
|
346
346
|
border-bottom: 1px solid var(--color-border-container-divider-4ade7z, transparent);
|
|
347
347
|
border-radius: var(--border-radius-container-gh9ysk, 16px) var(--border-radius-container-gh9ysk, 16px) 0 0;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
.awsui_header--
|
|
350
|
+
.awsui_header--text_1d2i7_nzsqa_298:not(#\9) {
|
|
351
351
|
/* used in test-utils */
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
.
|
|
354
|
+
.awsui_footer_1d2i7_nzsqa_302:not(#\9) {
|
|
355
355
|
border-top: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
356
|
-
padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-container-horizontal-
|
|
356
|
+
padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-container-horizontal-tlw03i, 20px);
|
|
357
357
|
}
|
|
358
|
-
.
|
|
358
|
+
.awsui_footer_1d2i7_nzsqa_302:not(#\9):after {
|
|
359
359
|
content: "";
|
|
360
360
|
display: table;
|
|
361
361
|
clear: both;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
.awsui_dismiss-
|
|
364
|
+
.awsui_dismiss-control_1d2i7_nzsqa_312:not(#\9) {
|
|
365
365
|
/* used in test-utils */
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
.awsui_modal-
|
|
368
|
+
.awsui_modal-open_1d2i7_nzsqa_316:not(#\9) {
|
|
369
369
|
overflow: hidden;
|
|
370
370
|
/*
|
|
371
371
|
* When padding-right is added to account for scrollbar being turned
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"dialog": "
|
|
6
|
-
"modal-slide-up": "awsui_modal-slide-
|
|
7
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
8
|
-
"refresh": "
|
|
9
|
-
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-
|
|
10
|
-
"root": "
|
|
11
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
12
|
-
"hidden": "
|
|
13
|
-
"focus-lock": "awsui_focus-
|
|
14
|
-
"small": "
|
|
15
|
-
"medium": "
|
|
16
|
-
"large": "
|
|
17
|
-
"max": "
|
|
18
|
-
"breakpoint-xs": "awsui_breakpoint-
|
|
19
|
-
"container": "
|
|
20
|
-
"content": "
|
|
21
|
-
"no-paddings": "awsui_no-
|
|
22
|
-
"header": "
|
|
23
|
-
"header--text": "awsui_header--
|
|
24
|
-
"footer": "
|
|
25
|
-
"dismiss-control": "awsui_dismiss-
|
|
26
|
-
"modal-open": "awsui_modal-
|
|
5
|
+
"dialog": "awsui_dialog_1d2i7_nzsqa_105",
|
|
6
|
+
"modal-slide-up": "awsui_modal-slide-up_1d2i7_nzsqa_1",
|
|
7
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1d2i7_nzsqa_1",
|
|
8
|
+
"refresh": "awsui_refresh_1d2i7_nzsqa_128",
|
|
9
|
+
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_1d2i7_nzsqa_1",
|
|
10
|
+
"root": "awsui_root_1d2i7_nzsqa_161",
|
|
11
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_1d2i7_nzsqa_1",
|
|
12
|
+
"hidden": "awsui_hidden_1d2i7_nzsqa_224",
|
|
13
|
+
"focus-lock": "awsui_focus-lock_1d2i7_nzsqa_228",
|
|
14
|
+
"small": "awsui_small_1d2i7_nzsqa_246",
|
|
15
|
+
"medium": "awsui_medium_1d2i7_nzsqa_249",
|
|
16
|
+
"large": "awsui_large_1d2i7_nzsqa_252",
|
|
17
|
+
"max": "awsui_max_1d2i7_nzsqa_255",
|
|
18
|
+
"breakpoint-xs": "awsui_breakpoint-xs_1d2i7_nzsqa_255",
|
|
19
|
+
"container": "awsui_container_1d2i7_nzsqa_260",
|
|
20
|
+
"content": "awsui_content_1d2i7_nzsqa_284",
|
|
21
|
+
"no-paddings": "awsui_no-paddings_1d2i7_nzsqa_287",
|
|
22
|
+
"header": "awsui_header_1d2i7_nzsqa_291",
|
|
23
|
+
"header--text": "awsui_header--text_1d2i7_nzsqa_298",
|
|
24
|
+
"footer": "awsui_footer_1d2i7_nzsqa_302",
|
|
25
|
+
"dismiss-control": "awsui_dismiss-control_1d2i7_nzsqa_312",
|
|
26
|
+
"modal-open": "awsui_modal-open_1d2i7_nzsqa_316"
|
|
27
27
|
};
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -12,8 +12,10 @@ interface TableBodyCellProps {
|
|
|
12
12
|
isNextSelected: boolean;
|
|
13
13
|
isPrevSelected: boolean;
|
|
14
14
|
children?: React.ReactNode;
|
|
15
|
+
hasSelection?: boolean;
|
|
16
|
+
hasFooter?: boolean;
|
|
15
17
|
}
|
|
16
|
-
export declare function TableBodyCell({ className, style, children, wrapLines, isFirstRow, isLastRow, isSelected, isNextSelected, isPrevSelected, isEvenRow, stripedRows, }: TableBodyCellProps): JSX.Element;
|
|
18
|
+
export declare function TableBodyCell({ className, style, children, wrapLines, isFirstRow, isLastRow, isSelected, isNextSelected, isPrevSelected, isEvenRow, stripedRows, hasSelection, hasFooter, }: TableBodyCellProps): JSX.Element;
|
|
17
19
|
interface TableBodyCellContentProps<ItemType> extends TableBodyCellProps {
|
|
18
20
|
column: TableProps.ColumnDefinition<ItemType>;
|
|
19
21
|
item: ItemType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/table/body-cell/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/table/body-cell/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,UAAU,kBAAkB;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,SAAS,EACT,UAAU,EACV,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,SAAS,EACT,WAAW,EACX,YAAY,EACZ,SAAS,GACV,EAAE,kBAAkB,eAyBpB;AAED,UAAU,yBAAyB,CAAC,QAAQ,CAAE,SAAQ,kBAAkB;IACtE,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,yBAAyB,CAAC,QAAQ,CAAC,eAE5G"}
|
package/table/body-cell/index.js
CHANGED
|
@@ -4,9 +4,11 @@ import { __assign, __rest } from "tslib";
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import styles from './styles.css.js';
|
|
6
6
|
import React from 'react';
|
|
7
|
+
import { useVisualRefresh } from '../../internal/hooks/use-visual-mode';
|
|
7
8
|
export function TableBodyCell(_a) {
|
|
8
|
-
var className = _a.className, style = _a.style, children = _a.children, wrapLines = _a.wrapLines, isFirstRow = _a.isFirstRow, isLastRow = _a.isLastRow, isSelected = _a.isSelected, isNextSelected = _a.isNextSelected, isPrevSelected = _a.isPrevSelected, isEvenRow = _a.isEvenRow, stripedRows = _a.stripedRows;
|
|
9
|
-
|
|
9
|
+
var className = _a.className, style = _a.style, children = _a.children, wrapLines = _a.wrapLines, isFirstRow = _a.isFirstRow, isLastRow = _a.isLastRow, isSelected = _a.isSelected, isNextSelected = _a.isNextSelected, isPrevSelected = _a.isPrevSelected, isEvenRow = _a.isEvenRow, stripedRows = _a.stripedRows, hasSelection = _a.hasSelection, hasFooter = _a.hasFooter;
|
|
10
|
+
var isVisualRefresh = useVisualRefresh();
|
|
11
|
+
return (React.createElement("td", { style: style, className: clsx(className, styles['body-cell'], wrapLines && styles['body-cell-wrap'], isFirstRow && styles['body-cell-first-row'], isLastRow && styles['body-cell-last-row'], isSelected && styles['body-cell-selected'], isNextSelected && styles['body-cell-next-selected'], isPrevSelected && styles['body-cell-prev-selected'], !isEvenRow && stripedRows && styles['body-cell-shaded'], stripedRows && styles['has-striped-rows'], isVisualRefresh && styles['is-visual-refresh'], hasSelection && styles['has-selection'], hasFooter && styles['has-footer']) }, children));
|
|
10
12
|
}
|
|
11
13
|
export function TableBodyCellContent(_a) {
|
|
12
14
|
var item = _a.item, column = _a.column, rest = __rest(_a, ["item", "column"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/table/body-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/table/body-cell/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAkBxE,MAAM,UAAU,aAAa,CAAC,EAcT;QAbnB,SAAS,eAAA,EACT,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,UAAU,gBAAA,EACV,SAAS,eAAA,EACT,UAAU,gBAAA,EACV,cAAc,oBAAA,EACd,cAAc,oBAAA,EACd,SAAS,eAAA,EACT,WAAW,iBAAA,EACX,YAAY,kBAAA,EACZ,SAAS,eAAA;IAET,IAAM,eAAe,GAAG,gBAAgB,EAAE,CAAC;IAE3C,OAAO,CACL,4BACE,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,IAAI,CACb,SAAS,EACT,MAAM,CAAC,WAAW,CAAC,EACnB,SAAS,IAAI,MAAM,CAAC,gBAAgB,CAAC,EACrC,UAAU,IAAI,MAAM,CAAC,qBAAqB,CAAC,EAC3C,SAAS,IAAI,MAAM,CAAC,oBAAoB,CAAC,EACzC,UAAU,IAAI,MAAM,CAAC,oBAAoB,CAAC,EAC1C,cAAc,IAAI,MAAM,CAAC,yBAAyB,CAAC,EACnD,cAAc,IAAI,MAAM,CAAC,yBAAyB,CAAC,EACnD,CAAC,SAAS,IAAI,WAAW,IAAI,MAAM,CAAC,kBAAkB,CAAC,EACvD,WAAW,IAAI,MAAM,CAAC,kBAAkB,CAAC,EACzC,eAAe,IAAI,MAAM,CAAC,mBAAmB,CAAC,EAC9C,YAAY,IAAI,MAAM,CAAC,eAAe,CAAC,EACvC,SAAS,IAAI,MAAM,CAAC,YAAY,CAAC,CAClC,IAEA,QAAQ,CACN,CACN,CAAC;AACJ,CAAC;AAOD,MAAM,UAAU,oBAAoB,CAAW,EAA8D;IAA5D,IAAA,IAAI,UAAA,EAAE,MAAM,YAAA,EAAK,IAAI,cAAvB,kBAAyB,CAAF;IACpE,OAAO,oBAAC,aAAa,eAAK,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAiB,CAAC;AACtE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport React from 'react';\nimport { TableProps } from '../interfaces';\nimport { useVisualRefresh } from '../../internal/hooks/use-visual-mode';\n\ninterface TableBodyCellProps {\n className?: string;\n style?: React.CSSProperties;\n wrapLines: boolean | undefined;\n isFirstRow: boolean;\n isLastRow: boolean;\n isEvenRow?: boolean;\n stripedRows?: boolean;\n isSelected: boolean;\n isNextSelected: boolean;\n isPrevSelected: boolean;\n children?: React.ReactNode;\n hasSelection?: boolean;\n hasFooter?: boolean;\n}\n\nexport function TableBodyCell({\n className,\n style,\n children,\n wrapLines,\n isFirstRow,\n isLastRow,\n isSelected,\n isNextSelected,\n isPrevSelected,\n isEvenRow,\n stripedRows,\n hasSelection,\n hasFooter,\n}: TableBodyCellProps) {\n const isVisualRefresh = useVisualRefresh();\n\n return (\n <td\n style={style}\n className={clsx(\n className,\n styles['body-cell'],\n wrapLines && styles['body-cell-wrap'],\n isFirstRow && styles['body-cell-first-row'],\n isLastRow && styles['body-cell-last-row'],\n isSelected && styles['body-cell-selected'],\n isNextSelected && styles['body-cell-next-selected'],\n isPrevSelected && styles['body-cell-prev-selected'],\n !isEvenRow && stripedRows && styles['body-cell-shaded'],\n stripedRows && styles['has-striped-rows'],\n isVisualRefresh && styles['is-visual-refresh'],\n hasSelection && styles['has-selection'],\n hasFooter && styles['has-footer']\n )}\n >\n {children}\n </td>\n );\n}\n\ninterface TableBodyCellContentProps<ItemType> extends TableBodyCellProps {\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n}\n\nexport function TableBodyCellContent<ItemType>({ item, column, ...rest }: TableBodyCellContentProps<ItemType>) {\n return <TableBodyCell {...rest}>{column.cell(item)}</TableBodyCell>;\n}\n"]}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"body-cell": "awsui_body-
|
|
5
|
-
"body-cell-wrap": "awsui_body-cell-
|
|
6
|
-
"body-cell-first-row": "awsui_body-cell-first-
|
|
7
|
-
"body-cell-last-row": "awsui_body-cell-last-
|
|
8
|
-
"body-cell-
|
|
9
|
-
"
|
|
10
|
-
"body-cell-
|
|
11
|
-
"body-cell-
|
|
4
|
+
"body-cell": "awsui_body-cell_c6tup_9o7yk_9",
|
|
5
|
+
"body-cell-wrap": "awsui_body-cell-wrap_c6tup_9o7yk_18",
|
|
6
|
+
"body-cell-first-row": "awsui_body-cell-first-row_c6tup_9o7yk_30",
|
|
7
|
+
"body-cell-last-row": "awsui_body-cell-last-row_c6tup_9o7yk_33",
|
|
8
|
+
"body-cell-selected": "awsui_body-cell-selected_c6tup_9o7yk_33",
|
|
9
|
+
"has-footer": "awsui_has-footer_c6tup_9o7yk_33",
|
|
10
|
+
"body-cell-shaded": "awsui_body-cell-shaded_c6tup_9o7yk_43",
|
|
11
|
+
"body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_9o7yk_65",
|
|
12
|
+
"body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_9o7yk_69",
|
|
13
|
+
"is-visual-refresh": "awsui_is-visual-refresh_c6tup_9o7yk_98",
|
|
14
|
+
"has-selection": "awsui_has-selection_c6tup_9o7yk_114",
|
|
15
|
+
"has-striped-rows": "awsui_has-striped-rows_c6tup_9o7yk_117"
|
|
12
16
|
};
|
|
13
17
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
7
|
SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
9
|
-
.awsui_body-
|
|
9
|
+
.awsui_body-cell_c6tup_9o7yk_9:not(#\9) {
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
padding: var(--space-scaled-xs-6859qs, 8px) var(--space-scaled-l-t03y3z, 20px) calc(
|
|
12
12
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
|
|
@@ -15,72 +15,108 @@
|
|
|
15
15
|
word-wrap: break-word;
|
|
16
16
|
border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
17
17
|
}
|
|
18
|
-
.awsui_body-
|
|
18
|
+
.awsui_body-cell_c6tup_9o7yk_9:not(#\9):not(.awsui_body-cell-wrap_c6tup_9o7yk_18) {
|
|
19
19
|
white-space: nowrap;
|
|
20
20
|
overflow: hidden;
|
|
21
21
|
text-overflow: ellipsis;
|
|
22
22
|
}
|
|
23
|
-
.awsui_body-
|
|
23
|
+
.awsui_body-cell_c6tup_9o7yk_9:not(#\9):first-child {
|
|
24
24
|
border-left: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
25
|
-
padding-left: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-qbbbsa, 2px));
|
|
26
25
|
}
|
|
27
|
-
.awsui_body-
|
|
26
|
+
.awsui_body-cell_c6tup_9o7yk_9:not(#\9):last-child {
|
|
28
27
|
border-right: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
29
28
|
padding-right: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-qbbbsa, 2px));
|
|
30
29
|
}
|
|
31
|
-
.awsui_body-cell-first-
|
|
30
|
+
.awsui_body-cell-first-row_c6tup_9o7yk_30:not(#\9) {
|
|
32
31
|
border-top: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
33
32
|
}
|
|
34
|
-
.awsui_body-cell-last-
|
|
33
|
+
.awsui_body-cell-last-row_c6tup_9o7yk_33:not(#\9):not(.awsui_body-cell-selected_c6tup_9o7yk_33):not(.awsui_has-footer_c6tup_9o7yk_33) {
|
|
35
34
|
border-bottom: var(--border-item-width-qbbbsa, 2px) solid transparent;
|
|
36
35
|
}
|
|
37
|
-
.awsui_body-cell-
|
|
36
|
+
.awsui_body-cell-last-row_c6tup_9o7yk_33:not(#\9):not(.awsui_body-cell-selected_c6tup_9o7yk_33).awsui_has-footer_c6tup_9o7yk_33 {
|
|
37
|
+
/*
|
|
38
|
+
Add a bottom border to the body cells of the last row as a separator between the
|
|
39
|
+
table and the footer
|
|
40
|
+
*/
|
|
41
|
+
border-bottom: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
42
|
+
}
|
|
43
|
+
.awsui_body-cell-shaded_c6tup_9o7yk_43:not(#\9) {
|
|
38
44
|
background: var(--color-background-cell-shaded-26ubfj, #f8f8f8);
|
|
39
45
|
}
|
|
40
|
-
.awsui_body-cell-
|
|
46
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33:not(#\9) {
|
|
41
47
|
background-color: var(--color-background-item-selected-ebt4bi, #f2f8fd);
|
|
42
48
|
border-top: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
43
49
|
border-bottom: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
44
50
|
padding-bottom: var(--space-scaled-xs-6859qs, 8px);
|
|
45
51
|
}
|
|
46
|
-
.awsui_body-cell-
|
|
52
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33:not(#\9):first-child {
|
|
47
53
|
border-left: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
48
54
|
border-radius: var(--border-radius-item-u2ibpi, 8px) 0 0 var(--border-radius-item-u2ibpi, 8px);
|
|
49
55
|
}
|
|
50
|
-
.awsui_body-cell-
|
|
56
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33:not(#\9):last-child {
|
|
51
57
|
border-right: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
|
|
52
58
|
border-radius: 0 var(--border-radius-item-u2ibpi, 8px) var(--border-radius-item-u2ibpi, 8px) 0;
|
|
53
59
|
}
|
|
54
|
-
.awsui_body-cell-
|
|
60
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33:not(#\9):not(:first-child) {
|
|
55
61
|
padding-top: calc(
|
|
56
62
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
|
|
57
63
|
);
|
|
58
64
|
}
|
|
59
|
-
.awsui_body-
|
|
65
|
+
.awsui_body-cell_c6tup_9o7yk_9:not(#\9):not(.awsui_body-cell-selected_c6tup_9o7yk_33).awsui_body-cell-next-selected_c6tup_9o7yk_65 {
|
|
60
66
|
border-bottom: 0;
|
|
61
67
|
padding-bottom: calc(var(--space-scaled-xs-6859qs, 8px) + var(--border-divider-list-width-hacikr, 1px));
|
|
62
68
|
}
|
|
63
|
-
.awsui_body-cell-
|
|
69
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33.awsui_body-cell-prev-selected_c6tup_9o7yk_69:not(#\9) {
|
|
64
70
|
padding-top: calc(
|
|
65
71
|
var(--space-scaled-xs-6859qs, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
|
|
66
72
|
);
|
|
67
73
|
border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-item-placeholder-jgzhnb, #0972d3);
|
|
68
74
|
}
|
|
69
|
-
.awsui_body-cell-
|
|
75
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33.awsui_body-cell-next-selected_c6tup_9o7yk_65:not(#\9) {
|
|
70
76
|
border-bottom-width: var(--border-divider-list-width-hacikr, 1px);
|
|
71
77
|
}
|
|
72
|
-
.awsui_body-cell-
|
|
78
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33.awsui_body-cell-next-selected_c6tup_9o7yk_65:not(#\9):first-child {
|
|
73
79
|
border-bottom-left-radius: 0;
|
|
74
80
|
}
|
|
75
|
-
.awsui_body-cell-
|
|
81
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33.awsui_body-cell-next-selected_c6tup_9o7yk_65:not(#\9):last-child {
|
|
76
82
|
border-bottom-right-radius: 0;
|
|
77
83
|
}
|
|
78
|
-
.awsui_body-cell-
|
|
84
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33.awsui_body-cell-prev-selected_c6tup_9o7yk_69:not(#\9):first-child {
|
|
79
85
|
border-top-left-radius: 0;
|
|
80
86
|
}
|
|
81
|
-
.awsui_body-cell-
|
|
87
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33.awsui_body-cell-prev-selected_c6tup_9o7yk_69:not(#\9):last-child {
|
|
82
88
|
border-top-right-radius: 0;
|
|
83
89
|
}
|
|
84
|
-
.awsui_body-cell-
|
|
90
|
+
.awsui_body-cell-selected_c6tup_9o7yk_33:not(#\9):not(.awsui_body-cell-prev-selected_c6tup_9o7yk_69) {
|
|
85
91
|
padding-top: var(--space-scaled-xs-6859qs, 8px);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/*
|
|
95
|
+
In Visual Refresh the first cell of each row should align with the
|
|
96
|
+
left edge of the table as closely as possible.
|
|
97
|
+
*/
|
|
98
|
+
.awsui_body-cell_c6tup_9o7yk_9:not(#\9):not(.awsui_is-visual-refresh_c6tup_9o7yk_98):first-child {
|
|
99
|
+
padding-left: calc(var(--space-l-4vl6xu, 20px) - var(--border-item-width-qbbbsa, 2px));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.awsui_body-cell_c6tup_9o7yk_9.awsui_is-visual-refresh_c6tup_9o7yk_98:not(#\9) {
|
|
103
|
+
/*
|
|
104
|
+
Remove the placeholder border if the row is not selectable.
|
|
105
|
+
Rows that are not selectable will reserve the horizontal space
|
|
106
|
+
that the placeholder border would consume.
|
|
107
|
+
*/
|
|
108
|
+
/*
|
|
109
|
+
Striped rows requires additional left padding because the
|
|
110
|
+
shaded background makes the child content appear too close
|
|
111
|
+
to the table edge.
|
|
112
|
+
*/
|
|
113
|
+
}
|
|
114
|
+
.awsui_body-cell_c6tup_9o7yk_9.awsui_is-visual-refresh_c6tup_9o7yk_98:not(#\9):first-child:not(.awsui_has-selection_c6tup_9o7yk_114) {
|
|
115
|
+
border-left: none;
|
|
116
|
+
}
|
|
117
|
+
.awsui_body-cell_c6tup_9o7yk_9.awsui_is-visual-refresh_c6tup_9o7yk_98:not(#\9):first-child:not(.awsui_has-striped-rows_c6tup_9o7yk_117) {
|
|
118
|
+
padding-left: var(--space-xxxs-k2w98v, 2px);
|
|
119
|
+
}
|
|
120
|
+
.awsui_body-cell_c6tup_9o7yk_9.awsui_is-visual-refresh_c6tup_9o7yk_98:not(#\9):first-child.awsui_has-striped-rows_c6tup_9o7yk_117 {
|
|
121
|
+
padding-left: var(--space-xxs-ynfts5, 4px);
|
|
86
122
|
}
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"body-cell": "awsui_body-
|
|
6
|
-
"body-cell-wrap": "awsui_body-cell-
|
|
7
|
-
"body-cell-first-row": "awsui_body-cell-first-
|
|
8
|
-
"body-cell-last-row": "awsui_body-cell-last-
|
|
9
|
-
"body-cell-
|
|
10
|
-
"
|
|
11
|
-
"body-cell-
|
|
12
|
-
"body-cell-
|
|
5
|
+
"body-cell": "awsui_body-cell_c6tup_9o7yk_9",
|
|
6
|
+
"body-cell-wrap": "awsui_body-cell-wrap_c6tup_9o7yk_18",
|
|
7
|
+
"body-cell-first-row": "awsui_body-cell-first-row_c6tup_9o7yk_30",
|
|
8
|
+
"body-cell-last-row": "awsui_body-cell-last-row_c6tup_9o7yk_33",
|
|
9
|
+
"body-cell-selected": "awsui_body-cell-selected_c6tup_9o7yk_33",
|
|
10
|
+
"has-footer": "awsui_has-footer_c6tup_9o7yk_33",
|
|
11
|
+
"body-cell-shaded": "awsui_body-cell-shaded_c6tup_9o7yk_43",
|
|
12
|
+
"body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_9o7yk_65",
|
|
13
|
+
"body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_9o7yk_69",
|
|
14
|
+
"is-visual-refresh": "awsui_is-visual-refresh_c6tup_9o7yk_98",
|
|
15
|
+
"has-selection": "awsui_has-selection_c6tup_9o7yk_114",
|
|
16
|
+
"has-striped-rows": "awsui_has-striped-rows_c6tup_9o7yk_117"
|
|
13
17
|
};
|
|
14
18
|
|