@cloudscape-design/components 3.0.1352 → 3.0.1354
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/alert/internal.d.ts +6 -0
- package/alert/internal.d.ts.map +1 -1
- package/alert/internal.js +4 -4
- package/alert/internal.js.map +1 -1
- package/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +149 -71
- package/alert/styles.selectors.js +27 -27
- package/badge/index.d.ts.map +1 -1
- package/badge/index.js +2 -1
- package/badge/index.js.map +1 -1
- package/badge/styles.css.js +10 -10
- package/badge/styles.scoped.css +91 -54
- package/badge/styles.selectors.js +10 -10
- package/button/index.d.ts.map +1 -1
- package/button/index.js +1 -1
- package/button/index.js.map +1 -1
- package/button/internal.d.ts +5 -0
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +3 -2
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +23 -23
- package/button/styles.scoped.css +375 -302
- package/button/styles.selectors.js +23 -23
- package/icon/generated/icons.js +27 -18
- package/icon/generated/icons.js.map +1 -1
- package/icon/styles.css.js +41 -41
- package/icon/styles.scoped.css +99 -91
- package/icon/styles.selectors.js +41 -41
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/manifest.json +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/table/column-groups/utils.d.ts +1 -0
- package/table/column-groups/utils.d.ts.map +1 -1
- package/table/column-groups/utils.js +13 -11
- package/table/column-groups/utils.js.map +1 -1
- package/table/thead.js +6 -6
- package/table/thead.js.map +1 -1
package/icon/styles.scoped.css
CHANGED
|
@@ -182,7 +182,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
182
182
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
183
183
|
SPDX-License-Identifier: Apache-2.0
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
/*
|
|
186
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
187
|
+
SPDX-License-Identifier: Apache-2.0
|
|
188
|
+
*/
|
|
189
|
+
/*
|
|
190
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
191
|
+
SPDX-License-Identifier: Apache-2.0
|
|
192
|
+
*/
|
|
193
|
+
.awsui_icon_h11ix_34215_193:not(#\9) {
|
|
186
194
|
position: relative;
|
|
187
195
|
display: inline-block;
|
|
188
196
|
vertical-align: top;
|
|
@@ -190,214 +198,214 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
190
198
|
/* stylelint-disable selector-max-type, selector-max-universal */
|
|
191
199
|
/* stylelint-enable selector-max-type, selector-max-universal */
|
|
192
200
|
}
|
|
193
|
-
.awsui_icon-flex-
|
|
201
|
+
.awsui_icon-flex-height_h11ix_34215_201:not(#\9) {
|
|
194
202
|
display: inline-flex;
|
|
195
203
|
align-items: center;
|
|
196
204
|
}
|
|
197
|
-
.
|
|
205
|
+
.awsui_icon_h11ix_34215_193 > svg:not(#\9) {
|
|
198
206
|
pointer-events: none;
|
|
199
207
|
}
|
|
200
|
-
.
|
|
208
|
+
.awsui_icon_h11ix_34215_193 > svg:not(#\9) {
|
|
201
209
|
fill: none;
|
|
202
210
|
}
|
|
203
|
-
.
|
|
211
|
+
.awsui_icon_h11ix_34215_193 > svg *:not(#\9) {
|
|
204
212
|
stroke: currentColor;
|
|
205
213
|
}
|
|
206
|
-
.
|
|
214
|
+
.awsui_icon_h11ix_34215_193 > svg .stroke-linejoin-round:not(#\9) {
|
|
207
215
|
stroke-linejoin: round;
|
|
208
216
|
}
|
|
209
|
-
.
|
|
217
|
+
.awsui_icon_h11ix_34215_193 > svg .stroke-linecap-square:not(#\9) {
|
|
210
218
|
stroke-linecap: square;
|
|
211
219
|
}
|
|
212
|
-
.
|
|
220
|
+
.awsui_icon_h11ix_34215_193 > svg .stroke-linecap-round:not(#\9) {
|
|
213
221
|
stroke-linecap: round;
|
|
214
222
|
}
|
|
215
|
-
.
|
|
223
|
+
.awsui_icon_h11ix_34215_193 > svg .filled:not(#\9) {
|
|
216
224
|
fill: currentColor;
|
|
217
225
|
}
|
|
218
|
-
.
|
|
226
|
+
.awsui_icon_h11ix_34215_193 > svg .no-stroke:not(#\9) {
|
|
219
227
|
stroke: none;
|
|
220
228
|
}
|
|
221
|
-
.
|
|
229
|
+
.awsui_icon_h11ix_34215_193.awsui_size-x-small_h11ix_34215_229:not(#\9) {
|
|
222
230
|
inline-size: 12px;
|
|
223
231
|
box-sizing: border-box;
|
|
224
232
|
}
|
|
225
|
-
.
|
|
233
|
+
.awsui_icon_h11ix_34215_193.awsui_size-x-small-mapped-height_h11ix_34215_233:not(#\9) {
|
|
226
234
|
block-size: var(--line-height-body-s-nu5hx1, 16px);
|
|
227
235
|
padding-block: calc((var(--line-height-body-s-nu5hx1, 16px) - 12px) / 2);
|
|
228
236
|
padding-inline: 0;
|
|
229
237
|
}
|
|
230
|
-
.
|
|
231
|
-
.
|
|
238
|
+
.awsui_icon_h11ix_34215_193.awsui_size-x-small_h11ix_34215_229 > svg:not(#\9),
|
|
239
|
+
.awsui_icon_h11ix_34215_193.awsui_size-x-small_h11ix_34215_229 > img:not(#\9) {
|
|
232
240
|
inline-size: 12px;
|
|
233
241
|
block-size: 12px;
|
|
234
242
|
vertical-align: top;
|
|
235
243
|
}
|
|
236
|
-
.
|
|
237
|
-
.
|
|
244
|
+
.awsui_icon_h11ix_34215_193.awsui_size-x-small_h11ix_34215_229 > svg:not(#\9),
|
|
245
|
+
.awsui_icon_h11ix_34215_193.awsui_size-x-small_h11ix_34215_229 > svg *:not(#\9) {
|
|
238
246
|
stroke-width: calc(var(--border-width-icon-x-small-45lnog, 1.5px) / 0.75);
|
|
239
247
|
}
|
|
240
|
-
.
|
|
248
|
+
.awsui_icon_h11ix_34215_193.awsui_size-small_h11ix_34215_248:not(#\9) {
|
|
241
249
|
inline-size: var(--size-icon-normal-levt08, 16px);
|
|
242
250
|
box-sizing: border-box;
|
|
243
251
|
}
|
|
244
|
-
.
|
|
252
|
+
.awsui_icon_h11ix_34215_193.awsui_size-small-mapped-height_h11ix_34215_252:not(#\9) {
|
|
245
253
|
block-size: var(--line-height-body-s-nu5hx1, 16px);
|
|
246
254
|
padding-block: calc((var(--line-height-body-s-nu5hx1, 16px) - var(--size-icon-normal-levt08, 16px)) / 2);
|
|
247
255
|
padding-inline: 0;
|
|
248
256
|
}
|
|
249
|
-
.
|
|
250
|
-
.
|
|
257
|
+
.awsui_icon_h11ix_34215_193.awsui_size-small_h11ix_34215_248 > svg:not(#\9),
|
|
258
|
+
.awsui_icon_h11ix_34215_193.awsui_size-small_h11ix_34215_248 > img:not(#\9) {
|
|
251
259
|
inline-size: var(--size-icon-normal-levt08, 16px);
|
|
252
260
|
block-size: var(--size-icon-normal-levt08, 16px);
|
|
253
261
|
vertical-align: top;
|
|
254
262
|
}
|
|
255
|
-
.
|
|
256
|
-
.
|
|
263
|
+
.awsui_icon_h11ix_34215_193.awsui_size-small_h11ix_34215_248 > svg:not(#\9),
|
|
264
|
+
.awsui_icon_h11ix_34215_193.awsui_size-small_h11ix_34215_248 > svg *:not(#\9) {
|
|
257
265
|
stroke-width: calc(var(--border-width-icon-small-z55i5t, 2px) / 1);
|
|
258
266
|
}
|
|
259
|
-
.
|
|
267
|
+
.awsui_icon_h11ix_34215_193.awsui_size-normal_h11ix_34215_267:not(#\9) {
|
|
260
268
|
inline-size: var(--size-icon-normal-levt08, 16px);
|
|
261
269
|
box-sizing: border-box;
|
|
262
270
|
}
|
|
263
|
-
.
|
|
271
|
+
.awsui_icon_h11ix_34215_193.awsui_size-normal-mapped-height_h11ix_34215_271:not(#\9) {
|
|
264
272
|
block-size: var(--line-height-body-m-2mh3ke, 20px);
|
|
265
273
|
padding-block: calc((var(--line-height-body-m-2mh3ke, 20px) - var(--size-icon-normal-levt08, 16px)) / 2);
|
|
266
274
|
padding-inline: 0;
|
|
267
275
|
}
|
|
268
|
-
.
|
|
269
|
-
.
|
|
276
|
+
.awsui_icon_h11ix_34215_193.awsui_size-normal_h11ix_34215_267 > svg:not(#\9),
|
|
277
|
+
.awsui_icon_h11ix_34215_193.awsui_size-normal_h11ix_34215_267 > img:not(#\9) {
|
|
270
278
|
inline-size: var(--size-icon-normal-levt08, 16px);
|
|
271
279
|
block-size: var(--size-icon-normal-levt08, 16px);
|
|
272
280
|
vertical-align: top;
|
|
273
281
|
}
|
|
274
|
-
.
|
|
275
|
-
.
|
|
282
|
+
.awsui_icon_h11ix_34215_193.awsui_size-normal_h11ix_34215_267 > svg:not(#\9),
|
|
283
|
+
.awsui_icon_h11ix_34215_193.awsui_size-normal_h11ix_34215_267 > svg *:not(#\9) {
|
|
276
284
|
stroke-width: calc(var(--border-width-icon-normal-9h7vj7, 2px) / 1);
|
|
277
285
|
}
|
|
278
|
-
.
|
|
286
|
+
.awsui_icon_h11ix_34215_193.awsui_size-medium_h11ix_34215_286:not(#\9) {
|
|
279
287
|
inline-size: var(--size-icon-medium-uv8xcz, 20px);
|
|
280
288
|
box-sizing: border-box;
|
|
281
289
|
}
|
|
282
|
-
.
|
|
290
|
+
.awsui_icon_h11ix_34215_193.awsui_size-medium-mapped-height_h11ix_34215_290:not(#\9) {
|
|
283
291
|
block-size: var(--line-height-heading-l-mg5bx6, 24px);
|
|
284
292
|
padding-block: calc((var(--line-height-heading-l-mg5bx6, 24px) - var(--size-icon-medium-uv8xcz, 20px)) / 2);
|
|
285
293
|
padding-inline: 0;
|
|
286
294
|
}
|
|
287
|
-
.
|
|
288
|
-
.
|
|
295
|
+
.awsui_icon_h11ix_34215_193.awsui_size-medium_h11ix_34215_286 > svg:not(#\9),
|
|
296
|
+
.awsui_icon_h11ix_34215_193.awsui_size-medium_h11ix_34215_286 > img:not(#\9) {
|
|
289
297
|
inline-size: var(--size-icon-medium-uv8xcz, 20px);
|
|
290
298
|
block-size: var(--size-icon-medium-uv8xcz, 20px);
|
|
291
299
|
vertical-align: top;
|
|
292
300
|
}
|
|
293
|
-
.
|
|
294
|
-
.
|
|
301
|
+
.awsui_icon_h11ix_34215_193.awsui_size-medium_h11ix_34215_286 > svg:not(#\9),
|
|
302
|
+
.awsui_icon_h11ix_34215_193.awsui_size-medium_h11ix_34215_286 > svg *:not(#\9) {
|
|
295
303
|
stroke-width: calc(var(--border-width-icon-medium-b7icqv, 2px) / 1.25);
|
|
296
304
|
}
|
|
297
|
-
.
|
|
305
|
+
.awsui_icon_h11ix_34215_193.awsui_size-big_h11ix_34215_305:not(#\9) {
|
|
298
306
|
inline-size: var(--size-icon-big-7pq9l3, 32px);
|
|
299
307
|
box-sizing: border-box;
|
|
300
308
|
}
|
|
301
|
-
.
|
|
309
|
+
.awsui_icon_h11ix_34215_193.awsui_size-big-mapped-height_h11ix_34215_309:not(#\9) {
|
|
302
310
|
block-size: var(--line-height-heading-xl-hko6p0, 30px);
|
|
303
311
|
padding-block: calc((var(--line-height-heading-xl-hko6p0, 30px) - var(--size-icon-big-7pq9l3, 32px)) / 2);
|
|
304
312
|
padding-inline: 0;
|
|
305
313
|
}
|
|
306
|
-
.
|
|
307
|
-
.
|
|
314
|
+
.awsui_icon_h11ix_34215_193.awsui_size-big_h11ix_34215_305 > svg:not(#\9),
|
|
315
|
+
.awsui_icon_h11ix_34215_193.awsui_size-big_h11ix_34215_305 > img:not(#\9) {
|
|
308
316
|
inline-size: var(--size-icon-big-7pq9l3, 32px);
|
|
309
317
|
block-size: var(--size-icon-big-7pq9l3, 32px);
|
|
310
318
|
vertical-align: top;
|
|
311
319
|
}
|
|
312
|
-
.
|
|
313
|
-
.
|
|
320
|
+
.awsui_icon_h11ix_34215_193.awsui_size-big_h11ix_34215_305 > svg:not(#\9),
|
|
321
|
+
.awsui_icon_h11ix_34215_193.awsui_size-big_h11ix_34215_305 > svg *:not(#\9) {
|
|
314
322
|
stroke-width: calc(var(--border-width-icon-big-ymgy42, 3px) / 2);
|
|
315
323
|
}
|
|
316
|
-
.
|
|
324
|
+
.awsui_icon_h11ix_34215_193.awsui_size-large_h11ix_34215_324:not(#\9) {
|
|
317
325
|
inline-size: var(--size-icon-large-mb6y6y, 48px);
|
|
318
326
|
box-sizing: border-box;
|
|
319
327
|
}
|
|
320
|
-
.
|
|
328
|
+
.awsui_icon_h11ix_34215_193.awsui_size-large-mapped-height_h11ix_34215_328:not(#\9) {
|
|
321
329
|
block-size: var(--line-height-display-l-vwanzp, 48px);
|
|
322
330
|
padding-block: calc((var(--line-height-display-l-vwanzp, 48px) - var(--size-icon-large-mb6y6y, 48px)) / 2);
|
|
323
331
|
padding-inline: 0;
|
|
324
332
|
}
|
|
325
|
-
.
|
|
326
|
-
.
|
|
333
|
+
.awsui_icon_h11ix_34215_193.awsui_size-large_h11ix_34215_324 > svg:not(#\9),
|
|
334
|
+
.awsui_icon_h11ix_34215_193.awsui_size-large_h11ix_34215_324 > img:not(#\9) {
|
|
327
335
|
inline-size: var(--size-icon-large-mb6y6y, 48px);
|
|
328
336
|
block-size: var(--size-icon-large-mb6y6y, 48px);
|
|
329
337
|
vertical-align: top;
|
|
330
338
|
}
|
|
331
|
-
.
|
|
332
|
-
.
|
|
339
|
+
.awsui_icon_h11ix_34215_193.awsui_size-large_h11ix_34215_324 > svg:not(#\9),
|
|
340
|
+
.awsui_icon_h11ix_34215_193.awsui_size-large_h11ix_34215_324 > svg *:not(#\9) {
|
|
333
341
|
stroke-width: calc(var(--border-width-icon-large-u645rg, 4px) / 3);
|
|
334
342
|
}
|
|
335
|
-
.
|
|
343
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-normal_h11ix_34215_343:not(#\9) {
|
|
336
344
|
color: currentColor;
|
|
337
345
|
}
|
|
338
|
-
.
|
|
346
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-disabled_h11ix_34215_346:not(#\9) {
|
|
339
347
|
color: var(--color-text-interactive-disabled-bhh1zo, #b4b4bb);
|
|
340
348
|
}
|
|
341
|
-
.
|
|
349
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-inverted_h11ix_34215_349:not(#\9) {
|
|
342
350
|
color: var(--color-text-inverted-my1sxo, #ffffff);
|
|
343
351
|
}
|
|
344
|
-
.
|
|
352
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-subtle_h11ix_34215_352:not(#\9) {
|
|
345
353
|
color: var(--color-text-icon-subtle-7e5fex, #656871);
|
|
346
354
|
}
|
|
347
|
-
.
|
|
355
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-warning_h11ix_34215_355:not(#\9) {
|
|
348
356
|
color: var(--color-text-status-warning-avkj4w, #855900);
|
|
349
357
|
}
|
|
350
|
-
.
|
|
358
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-error_h11ix_34215_358:not(#\9) {
|
|
351
359
|
color: var(--color-text-status-error-ak9yp5, #db0000);
|
|
352
360
|
}
|
|
353
|
-
.
|
|
361
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-success_h11ix_34215_361:not(#\9) {
|
|
354
362
|
color: var(--color-text-status-success-9wcobb, #00802f);
|
|
355
363
|
}
|
|
356
|
-
.
|
|
364
|
+
.awsui_icon_h11ix_34215_193.awsui_variant-link_h11ix_34215_364:not(#\9) {
|
|
357
365
|
color: var(--color-text-link-default-rhby5q, #006ce0);
|
|
358
366
|
}
|
|
359
|
-
.
|
|
360
|
-
.awsui_name-angle-
|
|
361
|
-
.awsui_name-angle-right-
|
|
362
|
-
.awsui_name-angle-
|
|
363
|
-
.awsui_name-arrow-
|
|
364
|
-
.awsui_name-arrow-
|
|
365
|
-
.awsui_name-caret-left-
|
|
366
|
-
.awsui_name-caret-right-
|
|
367
|
-
.awsui_name-audio-
|
|
368
|
-
.awsui_name-audio-
|
|
369
|
-
.awsui_name-audio-
|
|
370
|
-
.awsui_name-
|
|
371
|
-
.awsui_name-
|
|
372
|
-
.awsui_name-resize-
|
|
373
|
-
.awsui_name-
|
|
374
|
-
.awsui_name-
|
|
375
|
-
.awsui_name-
|
|
376
|
-
.awsui_name-view-
|
|
367
|
+
.awsui_icon_h11ix_34215_193:not(#\9):is(.awsui_name-angle-left-double_h11ix_34215_367,
|
|
368
|
+
.awsui_name-angle-left_h11ix_34215_367,
|
|
369
|
+
.awsui_name-angle-right-double_h11ix_34215_369,
|
|
370
|
+
.awsui_name-angle-right_h11ix_34215_369,
|
|
371
|
+
.awsui_name-arrow-left_h11ix_34215_371,
|
|
372
|
+
.awsui_name-arrow-right_h11ix_34215_372,
|
|
373
|
+
.awsui_name-caret-left-filled_h11ix_34215_373,
|
|
374
|
+
.awsui_name-caret-right-filled_h11ix_34215_374,
|
|
375
|
+
.awsui_name-audio-full_h11ix_34215_375,
|
|
376
|
+
.awsui_name-audio-half_h11ix_34215_376,
|
|
377
|
+
.awsui_name-audio-off_h11ix_34215_377,
|
|
378
|
+
.awsui_name-external_h11ix_34215_378,
|
|
379
|
+
.awsui_name-redo_h11ix_34215_379,
|
|
380
|
+
.awsui_name-resize-area_h11ix_34215_380,
|
|
381
|
+
.awsui_name-send_h11ix_34215_381,
|
|
382
|
+
.awsui_name-shrink_h11ix_34215_382,
|
|
383
|
+
.awsui_name-undo_h11ix_34215_383,
|
|
384
|
+
.awsui_name-view-vertical_h11ix_34215_384) {
|
|
377
385
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
378
386
|
}
|
|
379
|
-
.
|
|
380
|
-
.awsui_name-angle-
|
|
381
|
-
.awsui_name-angle-right-
|
|
382
|
-
.awsui_name-angle-
|
|
383
|
-
.awsui_name-arrow-
|
|
384
|
-
.awsui_name-arrow-
|
|
385
|
-
.awsui_name-caret-left-
|
|
386
|
-
.awsui_name-caret-right-
|
|
387
|
-
.awsui_name-audio-
|
|
388
|
-
.awsui_name-audio-
|
|
389
|
-
.awsui_name-audio-
|
|
390
|
-
.awsui_name-
|
|
391
|
-
.awsui_name-
|
|
392
|
-
.awsui_name-resize-
|
|
393
|
-
.awsui_name-
|
|
394
|
-
.awsui_name-
|
|
395
|
-
.awsui_name-
|
|
396
|
-
.awsui_name-view-
|
|
387
|
+
.awsui_icon_h11ix_34215_193:not(#\9):is(.awsui_name-angle-left-double_h11ix_34215_367,
|
|
388
|
+
.awsui_name-angle-left_h11ix_34215_367,
|
|
389
|
+
.awsui_name-angle-right-double_h11ix_34215_369,
|
|
390
|
+
.awsui_name-angle-right_h11ix_34215_369,
|
|
391
|
+
.awsui_name-arrow-left_h11ix_34215_371,
|
|
392
|
+
.awsui_name-arrow-right_h11ix_34215_372,
|
|
393
|
+
.awsui_name-caret-left-filled_h11ix_34215_373,
|
|
394
|
+
.awsui_name-caret-right-filled_h11ix_34215_374,
|
|
395
|
+
.awsui_name-audio-full_h11ix_34215_375,
|
|
396
|
+
.awsui_name-audio-half_h11ix_34215_376,
|
|
397
|
+
.awsui_name-audio-off_h11ix_34215_377,
|
|
398
|
+
.awsui_name-external_h11ix_34215_378,
|
|
399
|
+
.awsui_name-redo_h11ix_34215_379,
|
|
400
|
+
.awsui_name-resize-area_h11ix_34215_380,
|
|
401
|
+
.awsui_name-send_h11ix_34215_381,
|
|
402
|
+
.awsui_name-shrink_h11ix_34215_382,
|
|
403
|
+
.awsui_name-undo_h11ix_34215_383,
|
|
404
|
+
.awsui_name-view-vertical_h11ix_34215_384):dir(rtl) {
|
|
397
405
|
transform: scaleX(-1);
|
|
398
406
|
}
|
|
399
407
|
|
|
400
|
-
.
|
|
408
|
+
.awsui_badge_h11ix_34215_408:not(#\9)::after {
|
|
401
409
|
content: "";
|
|
402
410
|
position: absolute;
|
|
403
411
|
inline-size: 6px;
|
package/icon/styles.selectors.js
CHANGED
|
@@ -2,46 +2,46 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"icon": "
|
|
6
|
-
"icon-flex-height": "awsui_icon-flex-
|
|
7
|
-
"size-x-small": "awsui_size-x-
|
|
8
|
-
"size-x-small-mapped-height": "awsui_size-x-small-mapped-
|
|
9
|
-
"size-small": "awsui_size-
|
|
10
|
-
"size-small-mapped-height": "awsui_size-small-mapped-
|
|
11
|
-
"size-normal": "awsui_size-
|
|
12
|
-
"size-normal-mapped-height": "awsui_size-normal-mapped-
|
|
13
|
-
"size-medium": "awsui_size-
|
|
14
|
-
"size-medium-mapped-height": "awsui_size-medium-mapped-
|
|
15
|
-
"size-big": "awsui_size-
|
|
16
|
-
"size-big-mapped-height": "awsui_size-big-mapped-
|
|
17
|
-
"size-large": "awsui_size-
|
|
18
|
-
"size-large-mapped-height": "awsui_size-large-mapped-
|
|
19
|
-
"variant-normal": "awsui_variant-
|
|
20
|
-
"variant-disabled": "awsui_variant-
|
|
21
|
-
"variant-inverted": "awsui_variant-
|
|
22
|
-
"variant-subtle": "awsui_variant-
|
|
23
|
-
"variant-warning": "awsui_variant-
|
|
24
|
-
"variant-error": "awsui_variant-
|
|
25
|
-
"variant-success": "awsui_variant-
|
|
26
|
-
"variant-link": "awsui_variant-
|
|
27
|
-
"name-angle-left-double": "awsui_name-angle-left-
|
|
28
|
-
"name-angle-left": "awsui_name-angle-
|
|
29
|
-
"name-angle-right-double": "awsui_name-angle-right-
|
|
30
|
-
"name-angle-right": "awsui_name-angle-
|
|
31
|
-
"name-arrow-left": "awsui_name-arrow-
|
|
32
|
-
"name-arrow-right": "awsui_name-arrow-
|
|
33
|
-
"name-caret-left-filled": "awsui_name-caret-left-
|
|
34
|
-
"name-caret-right-filled": "awsui_name-caret-right-
|
|
35
|
-
"name-audio-full": "awsui_name-audio-
|
|
36
|
-
"name-audio-half": "awsui_name-audio-
|
|
37
|
-
"name-audio-off": "awsui_name-audio-
|
|
38
|
-
"name-external": "awsui_name-
|
|
39
|
-
"name-redo": "awsui_name-
|
|
40
|
-
"name-resize-area": "awsui_name-resize-
|
|
41
|
-
"name-send": "awsui_name-
|
|
42
|
-
"name-shrink": "awsui_name-
|
|
43
|
-
"name-undo": "awsui_name-
|
|
44
|
-
"name-view-vertical": "awsui_name-view-
|
|
45
|
-
"badge": "
|
|
5
|
+
"icon": "awsui_icon_h11ix_34215_193",
|
|
6
|
+
"icon-flex-height": "awsui_icon-flex-height_h11ix_34215_201",
|
|
7
|
+
"size-x-small": "awsui_size-x-small_h11ix_34215_229",
|
|
8
|
+
"size-x-small-mapped-height": "awsui_size-x-small-mapped-height_h11ix_34215_233",
|
|
9
|
+
"size-small": "awsui_size-small_h11ix_34215_248",
|
|
10
|
+
"size-small-mapped-height": "awsui_size-small-mapped-height_h11ix_34215_252",
|
|
11
|
+
"size-normal": "awsui_size-normal_h11ix_34215_267",
|
|
12
|
+
"size-normal-mapped-height": "awsui_size-normal-mapped-height_h11ix_34215_271",
|
|
13
|
+
"size-medium": "awsui_size-medium_h11ix_34215_286",
|
|
14
|
+
"size-medium-mapped-height": "awsui_size-medium-mapped-height_h11ix_34215_290",
|
|
15
|
+
"size-big": "awsui_size-big_h11ix_34215_305",
|
|
16
|
+
"size-big-mapped-height": "awsui_size-big-mapped-height_h11ix_34215_309",
|
|
17
|
+
"size-large": "awsui_size-large_h11ix_34215_324",
|
|
18
|
+
"size-large-mapped-height": "awsui_size-large-mapped-height_h11ix_34215_328",
|
|
19
|
+
"variant-normal": "awsui_variant-normal_h11ix_34215_343",
|
|
20
|
+
"variant-disabled": "awsui_variant-disabled_h11ix_34215_346",
|
|
21
|
+
"variant-inverted": "awsui_variant-inverted_h11ix_34215_349",
|
|
22
|
+
"variant-subtle": "awsui_variant-subtle_h11ix_34215_352",
|
|
23
|
+
"variant-warning": "awsui_variant-warning_h11ix_34215_355",
|
|
24
|
+
"variant-error": "awsui_variant-error_h11ix_34215_358",
|
|
25
|
+
"variant-success": "awsui_variant-success_h11ix_34215_361",
|
|
26
|
+
"variant-link": "awsui_variant-link_h11ix_34215_364",
|
|
27
|
+
"name-angle-left-double": "awsui_name-angle-left-double_h11ix_34215_367",
|
|
28
|
+
"name-angle-left": "awsui_name-angle-left_h11ix_34215_367",
|
|
29
|
+
"name-angle-right-double": "awsui_name-angle-right-double_h11ix_34215_369",
|
|
30
|
+
"name-angle-right": "awsui_name-angle-right_h11ix_34215_369",
|
|
31
|
+
"name-arrow-left": "awsui_name-arrow-left_h11ix_34215_371",
|
|
32
|
+
"name-arrow-right": "awsui_name-arrow-right_h11ix_34215_372",
|
|
33
|
+
"name-caret-left-filled": "awsui_name-caret-left-filled_h11ix_34215_373",
|
|
34
|
+
"name-caret-right-filled": "awsui_name-caret-right-filled_h11ix_34215_374",
|
|
35
|
+
"name-audio-full": "awsui_name-audio-full_h11ix_34215_375",
|
|
36
|
+
"name-audio-half": "awsui_name-audio-half_h11ix_34215_376",
|
|
37
|
+
"name-audio-off": "awsui_name-audio-off_h11ix_34215_377",
|
|
38
|
+
"name-external": "awsui_name-external_h11ix_34215_378",
|
|
39
|
+
"name-redo": "awsui_name-redo_h11ix_34215_379",
|
|
40
|
+
"name-resize-area": "awsui_name-resize-area_h11ix_34215_380",
|
|
41
|
+
"name-send": "awsui_name-send_h11ix_34215_381",
|
|
42
|
+
"name-shrink": "awsui_name-shrink_h11ix_34215_382",
|
|
43
|
+
"name-undo": "awsui_name-undo_h11ix_34215_383",
|
|
44
|
+
"name-view-vertical": "awsui_name-view-vertical_h11ix_34215_384",
|
|
45
|
+
"badge": "awsui_badge_h11ix_34215_408"
|
|
46
46
|
};
|
|
47
47
|
|
package/internal/environment.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export var PACKAGE_SOURCE = "components";
|
|
2
|
-
export var PACKAGE_VERSION = "3.0.0 (
|
|
3
|
-
export var GIT_SHA = "
|
|
2
|
+
export var PACKAGE_VERSION = "3.0.0 (4194984b)";
|
|
3
|
+
export var GIT_SHA = "4194984b";
|
|
4
4
|
export var THEME = "open-source-visual-refresh";
|
|
5
5
|
export var SYSTEM = "core";
|
|
6
6
|
export var ALWAYS_VISUAL_REFRESH = true;
|
package/internal/manifest.json
CHANGED
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
"./internal/base-theme/styles.css.js",
|
|
357
357
|
"./internal/base-component/styles.css.js"
|
|
358
358
|
],
|
|
359
|
-
"version": "3.0.
|
|
359
|
+
"version": "3.0.1354",
|
|
360
360
|
"repository": {
|
|
361
361
|
"type": "git",
|
|
362
362
|
"url": "https://github.com/cloudscape-design/components.git"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/table/column-groups/utils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAClD,eAAe,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC;IAC7C,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;CAC1C;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,gBAAgB,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAClD,eAAe,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC;IAC7C,MA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MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAK;IAE1B,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAM;IACpC,MAAM,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;gBAEvB,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,oBAAoB,CAAC,CAAC,CAAM;IAW3D,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,IAAI;CAI1C;AAmGD,wBAAgB,sBAAsB,CAAC,CAAC,EACtC,iBAAiB,EAAE,aAAa,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAChE,gBAAgB,EAAE,SAAS,MAAM,EAAE,EACnC,gBAAgB,EAAE,aAAa,CAAC,UAAU,CAAC,eAAe,CAAC,EAC3D,aAAa,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,uBAAuB,CAAC,GAChE,kBAAkB,CAAC,CAAC,CAAC,CA0CvB;AAwDD,wBAAgB,oBAAoB,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,uBAAuB,CAAC,GAAG,MAAM,CAW9G"}
|
|
@@ -37,15 +37,15 @@ export class TableHeaderNode {
|
|
|
37
37
|
* Builds the tree from the nested columnDisplay structure.
|
|
38
38
|
* Groups are only attached if they contain at least one visible descendant.
|
|
39
39
|
*/
|
|
40
|
-
function buildTreeFromColumnDisplay(displayItems,
|
|
40
|
+
function buildTreeFromColumnDisplay(displayItems, columnNodeMap, groupNodeMap, parent) {
|
|
41
41
|
for (const item of displayItems) {
|
|
42
42
|
if (item.type === 'group') {
|
|
43
|
-
const groupNode =
|
|
43
|
+
const groupNode = groupNodeMap.get(item.id);
|
|
44
44
|
if (!groupNode) {
|
|
45
45
|
warnOnce('[Table]', `Group "${item.id}" referenced in columnDisplay not found in groupDefinitions. Skipping.`);
|
|
46
46
|
continue;
|
|
47
47
|
}
|
|
48
|
-
buildTreeFromColumnDisplay(item.children,
|
|
48
|
+
buildTreeFromColumnDisplay(item.children, columnNodeMap, groupNodeMap, groupNode);
|
|
49
49
|
// Only attach group if it has visible descendants. The recursive call above
|
|
50
50
|
// only adds children that are either visible columns or nested groups with
|
|
51
51
|
// their own visible descendants, so this check handles all nesting levels.
|
|
@@ -57,7 +57,7 @@ function buildTreeFromColumnDisplay(displayItems, nodeMap, parent) {
|
|
|
57
57
|
if (!item.visible) {
|
|
58
58
|
continue;
|
|
59
59
|
}
|
|
60
|
-
const colNode =
|
|
60
|
+
const colNode = columnNodeMap.get(item.id);
|
|
61
61
|
if (colNode) {
|
|
62
62
|
parent.addChild(colNode);
|
|
63
63
|
}
|
|
@@ -67,14 +67,14 @@ function buildTreeFromColumnDisplay(displayItems, nodeMap, parent) {
|
|
|
67
67
|
/**
|
|
68
68
|
* Fallback when no columnDisplay is provided: all visible columns attach directly to root.
|
|
69
69
|
*/
|
|
70
|
-
function buildTreeFromVisibleColumns(visibleColumns,
|
|
70
|
+
function buildTreeFromVisibleColumns(visibleColumns, columnNodeMap, root) {
|
|
71
71
|
for (const col of visibleColumns) {
|
|
72
72
|
// Columns without IDs cannot participate in grouping, they have no key
|
|
73
73
|
// to match against columnDisplay entries or groupDefinitions.
|
|
74
74
|
if (!col.id) {
|
|
75
75
|
continue;
|
|
76
76
|
}
|
|
77
|
-
const node =
|
|
77
|
+
const node = columnNodeMap.get(col.id);
|
|
78
78
|
if (node) {
|
|
79
79
|
root.addChild(node);
|
|
80
80
|
}
|
|
@@ -118,21 +118,22 @@ export function calculateHierarchyTree(columnDefinitions, visibleColumnIds, grou
|
|
|
118
118
|
visibleColumns: visibleColumnIds,
|
|
119
119
|
columnDefinitions,
|
|
120
120
|
});
|
|
121
|
-
const
|
|
121
|
+
const columnNodeMap = new Map();
|
|
122
|
+
const groupNodeMap = new Map();
|
|
122
123
|
for (const col of visibleColumns) {
|
|
123
124
|
if (col.id) {
|
|
124
|
-
|
|
125
|
+
columnNodeMap.set(col.id, new TableHeaderNode(col.id, { columnDefinition: col }));
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
128
|
for (const group of groupDefinitions) {
|
|
128
|
-
|
|
129
|
+
groupNodeMap.set(group.id, new TableHeaderNode(group.id, { groupDefinition: group }));
|
|
129
130
|
}
|
|
130
131
|
const root = new TableHeaderNode('*', { isRoot: true });
|
|
131
132
|
if (columnDisplay && columnDisplay.length > 0) {
|
|
132
|
-
buildTreeFromColumnDisplay(columnDisplay,
|
|
133
|
+
buildTreeFromColumnDisplay(columnDisplay, columnNodeMap, groupNodeMap, root);
|
|
133
134
|
}
|
|
134
135
|
else {
|
|
135
|
-
buildTreeFromVisibleColumns(visibleColumns,
|
|
136
|
+
buildTreeFromVisibleColumns(visibleColumns, columnNodeMap, root);
|
|
136
137
|
}
|
|
137
138
|
computeSubTreeHeights(root);
|
|
138
139
|
const treeHeight = root.subTreeHeight - 1;
|
|
@@ -164,6 +165,7 @@ function buildOutput(root, maxDepth) {
|
|
|
164
165
|
const parentChain = getParentChain(node);
|
|
165
166
|
const entry = {
|
|
166
167
|
id: node.id,
|
|
168
|
+
cellKey: node.isGroup ? `group:${node.id}` : `column:${node.id}`,
|
|
167
169
|
header: (_b = (_a = node.groupDefinition) === null || _a === void 0 ? void 0 : _a.header) !== null && _b !== void 0 ? _b : (_c = node.columnDefinition) === null || _c === void 0 ? void 0 : _c.header,
|
|
168
170
|
colSpan: node.colSpan,
|
|
169
171
|
rowSpan: node.rowSpan,
|