@cloudscape-design/components 3.0.634 → 3.0.635

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.
@@ -194,27 +194,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
194
194
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
195
195
  SPDX-License-Identifier: Apache-2.0
196
196
  */
197
- .awsui_progress_11huc_1ah81_197:not(#\9)::-webkit-progress-value {
197
+ .awsui_progress_11huc_paiso_197:not(#\9)::-webkit-progress-value {
198
198
  -webkit-transition: width var(--motion-duration-moderate-5k1phv, 135ms) linear;
199
199
  transition: width var(--motion-duration-moderate-5k1phv, 135ms) linear;
200
200
  }
201
201
  @media (prefers-reduced-motion: reduce) {
202
- .awsui_progress_11huc_1ah81_197:not(#\9)::-webkit-progress-value {
202
+ .awsui_progress_11huc_paiso_197:not(#\9)::-webkit-progress-value {
203
203
  animation: none;
204
204
  -webkit-transition: none;
205
205
  transition: none;
206
206
  }
207
207
  }
208
- .awsui-motion-disabled .awsui_progress_11huc_1ah81_197:not(#\9)::-webkit-progress-value, .awsui-mode-entering .awsui_progress_11huc_1ah81_197:not(#\9)::-webkit-progress-value {
208
+ .awsui-motion-disabled .awsui_progress_11huc_paiso_197:not(#\9)::-webkit-progress-value, .awsui-mode-entering .awsui_progress_11huc_paiso_197:not(#\9)::-webkit-progress-value {
209
209
  animation: none;
210
210
  -webkit-transition: none;
211
211
  transition: none;
212
212
  }
213
213
 
214
- .awsui_result-state_11huc_1ah81_211:not(#\9) {
215
- animation: awsui_awsui-motion-fade-in_11huc_1ah81_1 var(--motion-duration-transition-show-paced-9s9l5z, 180ms) var(--motion-easing-transition-show-paced-eobwvi, ease-out);
214
+ .awsui_result-state_11huc_paiso_211:not(#\9) {
215
+ animation: awsui_awsui-motion-fade-in_11huc_paiso_1 var(--motion-duration-transition-show-paced-9s9l5z, 180ms) var(--motion-easing-transition-show-paced-eobwvi, ease-out);
216
216
  }
217
- @keyframes awsui_awsui-motion-fade-in_11huc_1ah81_1 {
217
+ @keyframes awsui_awsui-motion-fade-in_11huc_paiso_1 {
218
218
  from {
219
219
  opacity: 0.2;
220
220
  }
@@ -223,17 +223,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
223
223
  }
224
224
  }
225
225
  @media (prefers-reduced-motion: reduce) {
226
- .awsui_result-state_11huc_1ah81_211:not(#\9) {
226
+ .awsui_result-state_11huc_paiso_211:not(#\9) {
227
227
  animation: none;
228
228
  transition: none;
229
229
  }
230
230
  }
231
- .awsui-motion-disabled .awsui_result-state_11huc_1ah81_211:not(#\9), .awsui-mode-entering .awsui_result-state_11huc_1ah81_211:not(#\9) {
231
+ .awsui-motion-disabled .awsui_result-state_11huc_paiso_211:not(#\9), .awsui-mode-entering .awsui_result-state_11huc_paiso_211:not(#\9) {
232
232
  animation: none;
233
233
  transition: none;
234
234
  }
235
235
 
236
- .awsui_root_11huc_1ah81_233:not(#\9) {
236
+ .awsui_root_11huc_paiso_233:not(#\9) {
237
237
  border-collapse: separate;
238
238
  border-spacing: 0;
239
239
  box-sizing: border-box;
@@ -269,34 +269,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
269
269
  -moz-osx-font-smoothing: auto;
270
270
  }
271
271
 
272
- .awsui_with-result-button_11huc_1ah81_268:not(#\9) {
272
+ .awsui_with-result-button_11huc_paiso_268:not(#\9) {
273
273
  padding-inline-end: var(--space-m-udix3p, 16px);
274
274
  }
275
275
 
276
- .awsui_result-text_11huc_1ah81_272:not(#\9) {
276
+ .awsui_result-text_11huc_paiso_272:not(#\9) {
277
277
  /* used in test-utils */
278
278
  }
279
279
 
280
- .awsui_result-container-error_11huc_1ah81_276:not(#\9), .awsui_result-container-success_11huc_1ah81_276:not(#\9) {
280
+ .awsui_result-container-error_11huc_paiso_276:not(#\9), .awsui_result-container-success_11huc_paiso_276:not(#\9) {
281
281
  /* used in test-utils */
282
282
  }
283
283
 
284
- .awsui_result-button_11huc_1ah81_280:not(#\9) {
284
+ .awsui_result-button_11huc_paiso_280:not(#\9) {
285
285
  display: inline-block;
286
286
  margin-block: var(--space-scaled-xxs-7597g1, 4px);
287
287
  margin-inline: 0;
288
288
  }
289
289
 
290
- .awsui_word-wrap_11huc_1ah81_286:not(#\9) {
290
+ .awsui_word-wrap_11huc_paiso_286:not(#\9) {
291
291
  min-inline-size: 0;
292
292
  word-break: break-word;
293
293
  }
294
294
 
295
- .awsui_label-flash_11huc_1ah81_291:not(#\9) {
295
+ .awsui_label-flash_11huc_paiso_291:not(#\9) {
296
296
  color: "inherit";
297
297
  font-weight: 700;
298
298
  }
299
- .awsui_label-key-value_11huc_1ah81_295:not(#\9) {
299
+ .awsui_label-key-value_11huc_paiso_295:not(#\9) {
300
300
  font-size: var(--font-size-body-m-x4okxb, 14px);
301
301
  line-height: var(--line-height-body-m-30ar75, 20px);
302
302
  font-weight: var(--font-display-label-weight-815ja9, 700);
@@ -304,18 +304,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
304
304
  margin-block-end: var(--space-scaled-xxxs-27y4hv, 2px);
305
305
  }
306
306
 
307
- .awsui_flash_11huc_1ah81_303:not(#\9) {
307
+ .awsui_flash_11huc_paiso_303:not(#\9) {
308
308
  color: inherit;
309
309
  }
310
310
 
311
- .awsui_progress-container_11huc_1ah81_307:not(#\9) {
311
+ .awsui_progress-container_11huc_paiso_307:not(#\9) {
312
312
  display: flex;
313
313
  align-items: center;
314
314
  max-inline-size: 800px;
315
315
  block-size: var(--line-height-body-m-30ar75, 20px);
316
316
  }
317
317
 
318
- .awsui_percentage-container_11huc_1ah81_314:not(#\9) {
318
+ .awsui_percentage-container_11huc_paiso_314:not(#\9) {
319
319
  inline-size: 33px;
320
320
  flex-shrink: 0;
321
321
  white-space: nowrap;
@@ -325,11 +325,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
325
325
  letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
326
326
  }
327
327
 
328
- .awsui_percentage_11huc_1ah81_314:not(#\9) {
328
+ .awsui_percentage_11huc_paiso_314:not(#\9) {
329
329
  /* used in test-utils */
330
330
  }
331
331
 
332
- .awsui_progress_11huc_1ah81_197:not(#\9) {
332
+ .awsui_progress_11huc_paiso_197:not(#\9) {
333
333
  inline-size: 100%;
334
334
  margin-inline-end: var(--space-s-34lx8l, 12px);
335
335
  min-inline-size: 0;
@@ -343,7 +343,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
343
343
  border-end-end-radius: 10px;
344
344
  background-color: var(--color-background-progress-bar-layout-default-ktc0zl, #e9ebed);
345
345
  }
346
- .awsui_progress_11huc_1ah81_197:not(#\9)::-webkit-progress-bar {
346
+ .awsui_progress_11huc_paiso_197:not(#\9)::-webkit-progress-bar {
347
347
  block-size: 4px;
348
348
  border-block: 0;
349
349
  border-inline: none;
@@ -354,27 +354,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
354
354
  border-end-end-radius: 10px;
355
355
  background-color: var(--color-background-progress-bar-layout-default-ktc0zl, #e9ebed);
356
356
  }
357
- .awsui_progress_11huc_1ah81_197:not(#\9)::-webkit-progress-value {
357
+ .awsui_progress_11huc_paiso_197:not(#\9)::-webkit-progress-value {
358
358
  border-start-start-radius: 10px;
359
359
  border-start-end-radius: 0;
360
360
  border-end-start-radius: 10px;
361
361
  border-end-end-radius: 0;
362
362
  background-color: var(--color-background-progress-bar-content-default-yvwdkl, #0972d3);
363
363
  }
364
- .awsui_progress_11huc_1ah81_197.awsui_complete_11huc_1ah81_360:not(#\9)::-webkit-progress-value {
364
+ .awsui_progress_11huc_paiso_197.awsui_complete_11huc_paiso_360:not(#\9)::-webkit-progress-value {
365
365
  border-start-start-radius: 10px;
366
366
  border-start-end-radius: 10px;
367
367
  border-end-start-radius: 10px;
368
368
  border-end-end-radius: 10px;
369
369
  }
370
- .awsui_progress_11huc_1ah81_197:not(#\9)::-moz-progress-bar {
370
+ .awsui_progress_11huc_paiso_197:not(#\9)::-moz-progress-bar {
371
371
  border-start-start-radius: 10px;
372
372
  border-start-end-radius: 0;
373
373
  border-end-start-radius: 10px;
374
374
  border-end-end-radius: 0;
375
375
  background-color: var(--color-background-progress-bar-content-default-yvwdkl, #0972d3);
376
376
  }
377
- .awsui_progress_11huc_1ah81_197:not(#\9)::-ms-fill {
377
+ .awsui_progress_11huc_paiso_197:not(#\9)::-ms-fill {
378
378
  border-start-start-radius: 10px;
379
379
  border-start-end-radius: 0;
380
380
  border-end-start-radius: 10px;
@@ -383,24 +383,28 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
383
383
  border-block: none;
384
384
  border-inline: none;
385
385
  }
386
- .awsui_progress_11huc_1ah81_197.awsui_complete_11huc_1ah81_360:not(#\9)::-ms-fill {
386
+ .awsui_progress_11huc_paiso_197.awsui_complete_11huc_paiso_360:not(#\9)::-ms-fill {
387
387
  border-start-start-radius: 10px;
388
388
  border-start-end-radius: 10px;
389
389
  border-end-start-radius: 10px;
390
390
  border-end-end-radius: 10px;
391
391
  }
392
- .awsui_progress_11huc_1ah81_197.awsui_progress-in-flash_11huc_1ah81_388:not(#\9) {
392
+ .awsui_progress_11huc_paiso_197.awsui_progress-in-flash_11huc_paiso_388:not(#\9) {
393
393
  background-color: var(--color-background-progress-bar-layout-in-flash-rlu77n, rgba(255, 255, 255, 0.25));
394
394
  }
395
- .awsui_progress_11huc_1ah81_197.awsui_progress-in-flash_11huc_1ah81_388:not(#\9)::-webkit-progress-bar {
395
+ .awsui_progress_11huc_paiso_197.awsui_progress-in-flash_11huc_paiso_388:not(#\9)::-webkit-progress-bar {
396
396
  background-color: var(--color-background-progress-bar-layout-in-flash-rlu77n, rgba(255, 255, 255, 0.25));
397
397
  }
398
- .awsui_progress_11huc_1ah81_197.awsui_progress-in-flash_11huc_1ah81_388:not(#\9)::-webkit-progress-value {
398
+ .awsui_progress_11huc_paiso_197.awsui_progress-in-flash_11huc_paiso_388:not(#\9)::-webkit-progress-value {
399
399
  background-color: var(--color-background-progress-bar-content-in-flash-ccuxyt, #ffffff);
400
400
  }
401
- .awsui_progress_11huc_1ah81_197.awsui_progress-in-flash_11huc_1ah81_388:not(#\9)::-moz-progress-bar {
401
+ .awsui_progress_11huc_paiso_197.awsui_progress-in-flash_11huc_paiso_388:not(#\9)::-moz-progress-bar {
402
402
  background-color: var(--color-background-progress-bar-content-in-flash-ccuxyt, #ffffff);
403
403
  }
404
- .awsui_progress_11huc_1ah81_197.awsui_progress-in-flash_11huc_1ah81_388:not(#\9)::-ms-fill {
404
+ .awsui_progress_11huc_paiso_197.awsui_progress-in-flash_11huc_paiso_388:not(#\9)::-ms-fill {
405
405
  background-color: rgba(255, 255, 255, 0.7);
406
+ }
407
+
408
+ .awsui_additional-info_11huc_paiso_404:not(#\9) {
409
+ /* used in test-utils */
406
410
  }
@@ -2,23 +2,24 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "progress": "awsui_progress_11huc_1ah81_197",
6
- "result-state": "awsui_result-state_11huc_1ah81_211",
7
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_1ah81_1",
8
- "root": "awsui_root_11huc_1ah81_233",
9
- "with-result-button": "awsui_with-result-button_11huc_1ah81_268",
10
- "result-text": "awsui_result-text_11huc_1ah81_272",
11
- "result-container-error": "awsui_result-container-error_11huc_1ah81_276",
12
- "result-container-success": "awsui_result-container-success_11huc_1ah81_276",
13
- "result-button": "awsui_result-button_11huc_1ah81_280",
14
- "word-wrap": "awsui_word-wrap_11huc_1ah81_286",
15
- "label-flash": "awsui_label-flash_11huc_1ah81_291",
16
- "label-key-value": "awsui_label-key-value_11huc_1ah81_295",
17
- "flash": "awsui_flash_11huc_1ah81_303",
18
- "progress-container": "awsui_progress-container_11huc_1ah81_307",
19
- "percentage-container": "awsui_percentage-container_11huc_1ah81_314",
20
- "percentage": "awsui_percentage_11huc_1ah81_314",
21
- "complete": "awsui_complete_11huc_1ah81_360",
22
- "progress-in-flash": "awsui_progress-in-flash_11huc_1ah81_388"
5
+ "progress": "awsui_progress_11huc_paiso_197",
6
+ "result-state": "awsui_result-state_11huc_paiso_211",
7
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_paiso_1",
8
+ "root": "awsui_root_11huc_paiso_233",
9
+ "with-result-button": "awsui_with-result-button_11huc_paiso_268",
10
+ "result-text": "awsui_result-text_11huc_paiso_272",
11
+ "result-container-error": "awsui_result-container-error_11huc_paiso_276",
12
+ "result-container-success": "awsui_result-container-success_11huc_paiso_276",
13
+ "result-button": "awsui_result-button_11huc_paiso_280",
14
+ "word-wrap": "awsui_word-wrap_11huc_paiso_286",
15
+ "label-flash": "awsui_label-flash_11huc_paiso_291",
16
+ "label-key-value": "awsui_label-key-value_11huc_paiso_295",
17
+ "flash": "awsui_flash_11huc_paiso_303",
18
+ "progress-container": "awsui_progress-container_11huc_paiso_307",
19
+ "percentage-container": "awsui_percentage-container_11huc_paiso_314",
20
+ "percentage": "awsui_percentage_11huc_paiso_314",
21
+ "complete": "awsui_complete_11huc_paiso_360",
22
+ "progress-in-flash": "awsui_progress-in-flash_11huc_paiso_388",
23
+ "additional-info": "awsui_additional-info_11huc_paiso_404"
23
24
  };
24
25
 
@@ -25,7 +25,7 @@ class ProgressBarWrapper extends dom_1.ComponentWrapper {
25
25
  return this.find(`${statusClassName}.${styles_selectors_js_1.default['result-text']}`);
26
26
  }
27
27
  findAdditionalInfo() {
28
- return this.find(`[data-testid="additional-info"]`);
28
+ return this.findByClassName(styles_selectors_js_1.default['additional-info']);
29
29
  }
30
30
  }
31
31
  exports.default = ProgressBarWrapper;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/progress-bar/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAC1F,mFAA+D;AAG/D,MAAqB,kBAAmB,SAAQ,sBAAgB;IAG9D,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IAED,gBAAgB;;QACd,OAAO,CAAA,MAAA,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,eAAe,CAAC,CAAC,0CAAE,UAAU,EAAE,KAAI,IAAI,CAAC;IAC7E,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CAAC,MAAe;QAC5B,MAAM,eAAe,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,6BAAM,CAAC,oBAAoB,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAClF,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,eAAe,IAAI,6BAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IACtD,CAAC;;AA1BH,qCA2BC;AA1BQ,+BAAY,GAAG,6BAAM,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/progress-bar/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAA0F;AAC1F,mFAA+D;AAG/D,MAAqB,kBAAmB,SAAQ,sBAAgB;IAG9D,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IAED,gBAAgB;;QACd,OAAO,CAAA,MAAA,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,eAAe,CAAC,CAAC,0CAAE,UAAU,EAAE,KAAI,IAAI,CAAC;IAC7E,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CAAC,MAAe;QAC5B,MAAM,eAAe,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,6BAAM,CAAC,oBAAoB,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAClF,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,eAAe,IAAI,6BAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACzD,CAAC;;AA1BH,qCA2BC;AA1BQ,+BAAY,GAAG,6BAAM,CAAC,IAAI,CAAC"}
@@ -25,7 +25,7 @@ class ProgressBarWrapper extends selectors_1.ComponentWrapper {
25
25
  return this.find(`${statusClassName}.${styles_selectors_js_1.default['result-text']}`);
26
26
  }
27
27
  findAdditionalInfo() {
28
- return this.find(`[data-testid="additional-info"]`);
28
+ return this.findByClassName(styles_selectors_js_1.default['additional-info']);
29
29
  }
30
30
  }
31
31
  exports.default = ProgressBarWrapper;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/progress-bar/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgG;AAChG,mFAA+D;AAE/D,MAAqB,kBAAmB,SAAQ,4BAAgB;IAE9D,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IACD,gBAAgB;;QACd,OAAO,CAAA,MAAA,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,eAAe,CAAC,CAAC,0CAAE,UAAU,EAAE,KAAI,IAAI,CAAC;IAC7E,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CAAC,MAAe;QAC5B,MAAM,eAAe,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,6BAAM,CAAC,oBAAoB,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAClF,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,eAAe,IAAI,6BAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,kBAAkB;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IACtD,CAAC;;AAvBH,qCAwBC;AAvBQ,+BAAY,GAAG,6BAAM,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/progress-bar/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAAgG;AAChG,mFAA+D;AAE/D,MAAqB,kBAAmB,SAAQ,4BAAgB;IAE9D,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IACD,gBAAgB;;QACd,OAAO,CAAA,MAAA,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,eAAe,CAAC,CAAC,0CAAE,UAAU,EAAE,KAAI,IAAI,CAAC;IAC7E,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CAAC,MAAe;QAC5B,MAAM,eAAe,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,6BAAM,CAAC,oBAAoB,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAClF,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,eAAe,IAAI,6BAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACzD,CAAC;;AAvBH,qCAwBC;AAvBQ,+BAAY,GAAG,6BAAM,CAAC,IAAI,CAAC"}