@cloudscape-design/components 3.0.473 → 3.0.475

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.
Files changed (62) hide show
  1. package/i18n/dynamic.js +2 -0
  2. package/i18n/messages/all.all.js +5225 -442
  3. package/i18n/messages/all.all.json +5230 -470
  4. package/i18n/messages/all.de.js +334 -23
  5. package/i18n/messages/all.de.json +338 -27
  6. package/i18n/messages/all.en-GB.js +334 -23
  7. package/i18n/messages/all.en-GB.json +338 -27
  8. package/i18n/messages/all.en.js +334 -23
  9. package/i18n/messages/all.en.json +338 -27
  10. package/i18n/messages/all.es.js +339 -19
  11. package/i18n/messages/all.es.json +340 -23
  12. package/i18n/messages/all.fr.js +334 -23
  13. package/i18n/messages/all.fr.json +338 -27
  14. package/i18n/messages/all.id.js +318 -19
  15. package/i18n/messages/all.id.json +319 -23
  16. package/i18n/messages/all.it.js +297 -19
  17. package/i18n/messages/all.it.json +298 -23
  18. package/i18n/messages/all.ja.js +339 -19
  19. package/i18n/messages/all.ja.json +340 -23
  20. package/i18n/messages/all.ko.js +339 -17
  21. package/i18n/messages/all.ko.json +340 -21
  22. package/i18n/messages/all.pt-BR.js +334 -23
  23. package/i18n/messages/all.pt-BR.json +338 -27
  24. package/i18n/messages/all.th.d.ts +3 -0
  25. package/i18n/messages/all.th.js +733 -0
  26. package/i18n/messages/all.th.json +734 -0
  27. package/i18n/messages/all.tr.js +339 -19
  28. package/i18n/messages/all.tr.json +340 -23
  29. package/i18n/messages/all.zh-CN.js +339 -19
  30. package/i18n/messages/all.zh-CN.json +340 -23
  31. package/i18n/messages/all.zh-TW.js +339 -19
  32. package/i18n/messages/all.zh-TW.json +340 -23
  33. package/i18n/messages-types.d.ts +5 -2
  34. package/i18n/messages-types.d.ts.map +1 -1
  35. package/i18n/messages-types.js.map +1 -1
  36. package/internal/analytics/components/analytics-funnel.js +3 -3
  37. package/internal/analytics/components/analytics-funnel.js.map +1 -1
  38. package/internal/analytics/context/analytics-context.d.ts +1 -1
  39. package/internal/analytics/context/analytics-context.d.ts.map +1 -1
  40. package/internal/analytics/context/analytics-context.js +1 -1
  41. package/internal/analytics/context/analytics-context.js.map +1 -1
  42. package/internal/analytics/hooks/use-funnel.d.ts.map +1 -1
  43. package/internal/analytics/hooks/use-funnel.js +2 -2
  44. package/internal/analytics/hooks/use-funnel.js.map +1 -1
  45. package/internal/environment.js +1 -1
  46. package/internal/environment.json +1 -1
  47. package/internal/manifest.json +1 -1
  48. package/package.json +1 -1
  49. package/table/table-role/grid-navigation.d.ts +1 -4
  50. package/table/table-role/grid-navigation.d.ts.map +1 -1
  51. package/table/table-role/grid-navigation.js +122 -66
  52. package/table/table-role/grid-navigation.js.map +1 -1
  53. package/table/table-role/table-role-helper.d.ts.map +1 -1
  54. package/table/table-role/table-role-helper.js +2 -0
  55. package/table/table-role/table-role-helper.js.map +1 -1
  56. package/table/table-role/utils.d.ts +9 -17
  57. package/table/table-role/utils.d.ts.map +1 -1
  58. package/table/table-role/utils.js +3 -83
  59. package/table/table-role/utils.js.map +1 -1
  60. package/toggle/styles.css.js +8 -8
  61. package/toggle/styles.scoped.css +14 -13
  62. package/toggle/styles.selectors.js +8 -8
@@ -194,6 +194,7 @@ export default {
194
194
  },
195
195
  ],
196
196
  },
197
+ 'copy-to-clipboard': { 'i18nStrings.copyButtonText': [{ type: 0, value: 'Copy' }] },
197
198
  'date-range-picker': {
198
199
  'i18nStrings.relativeModeTitle': [{ type: 0, value: 'Relative mode' }],
199
200
  'i18nStrings.absoluteModeTitle': [{ type: 0, value: 'Absolute mode' }],
@@ -222,46 +223,356 @@ export default {
222
223
  ],
223
224
  'i18nStrings.formatRelativeRange': [
224
225
  {
225
- type: 6,
226
- value: 'amount',
226
+ type: 5,
227
+ value: 'unit',
227
228
  options: {
228
- one: {
229
+ second: {
229
230
  value: [
230
- { type: 0, value: 'Last ' },
231
- { type: 1, value: 'amount' },
232
- { type: 0, value: ' ' },
233
- { type: 1, value: 'unit' },
231
+ {
232
+ type: 6,
233
+ value: 'amount',
234
+ options: {
235
+ zero: {
236
+ value: [
237
+ { type: 0, value: 'Last ' },
238
+ { type: 1, value: 'amount' },
239
+ { type: 0, value: ' seconds' },
240
+ ],
241
+ },
242
+ one: {
243
+ value: [
244
+ { type: 0, value: 'Last ' },
245
+ { type: 1, value: 'amount' },
246
+ { type: 0, value: ' second' },
247
+ ],
248
+ },
249
+ other: {
250
+ value: [
251
+ { type: 0, value: 'Last ' },
252
+ { type: 1, value: 'amount' },
253
+ { type: 0, value: ' seconds' },
254
+ ],
255
+ },
256
+ },
257
+ offset: 0,
258
+ pluralType: 'cardinal',
259
+ },
234
260
  ],
235
261
  },
236
- other: {
262
+ minute: {
237
263
  value: [
238
- { type: 0, value: 'Last ' },
239
- { type: 1, value: 'amount' },
240
- { type: 0, value: ' ' },
241
- { type: 1, value: 'unit' },
242
- { type: 0, value: 's' },
264
+ {
265
+ type: 6,
266
+ value: 'amount',
267
+ options: {
268
+ zero: {
269
+ value: [
270
+ { type: 0, value: 'Last ' },
271
+ { type: 1, value: 'amount' },
272
+ { type: 0, value: ' minutes' },
273
+ ],
274
+ },
275
+ one: {
276
+ value: [
277
+ { type: 0, value: 'Last ' },
278
+ { type: 1, value: 'amount' },
279
+ { type: 0, value: ' minute' },
280
+ ],
281
+ },
282
+ other: {
283
+ value: [
284
+ { type: 0, value: 'Last ' },
285
+ { type: 1, value: 'amount' },
286
+ { type: 0, value: ' minutes' },
287
+ ],
288
+ },
289
+ },
290
+ offset: 0,
291
+ pluralType: 'cardinal',
292
+ },
243
293
  ],
244
294
  },
295
+ hour: {
296
+ value: [
297
+ {
298
+ type: 6,
299
+ value: 'amount',
300
+ options: {
301
+ zero: {
302
+ value: [
303
+ { type: 0, value: 'Last ' },
304
+ { type: 1, value: 'amount' },
305
+ { type: 0, value: ' hours' },
306
+ ],
307
+ },
308
+ one: {
309
+ value: [
310
+ { type: 0, value: 'Last ' },
311
+ { type: 1, value: 'amount' },
312
+ { type: 0, value: ' hour' },
313
+ ],
314
+ },
315
+ other: {
316
+ value: [
317
+ { type: 0, value: 'Last ' },
318
+ { type: 1, value: 'amount' },
319
+ { type: 0, value: ' hours' },
320
+ ],
321
+ },
322
+ },
323
+ offset: 0,
324
+ pluralType: 'cardinal',
325
+ },
326
+ ],
327
+ },
328
+ day: {
329
+ value: [
330
+ {
331
+ type: 6,
332
+ value: 'amount',
333
+ options: {
334
+ zero: {
335
+ value: [
336
+ { type: 0, value: 'Last ' },
337
+ { type: 1, value: 'amount' },
338
+ { type: 0, value: ' days' },
339
+ ],
340
+ },
341
+ one: {
342
+ value: [
343
+ { type: 0, value: 'Last ' },
344
+ { type: 1, value: 'amount' },
345
+ { type: 0, value: ' day' },
346
+ ],
347
+ },
348
+ other: {
349
+ value: [
350
+ { type: 0, value: 'Last ' },
351
+ { type: 1, value: 'amount' },
352
+ { type: 0, value: ' days' },
353
+ ],
354
+ },
355
+ },
356
+ offset: 0,
357
+ pluralType: 'cardinal',
358
+ },
359
+ ],
360
+ },
361
+ week: {
362
+ value: [
363
+ {
364
+ type: 6,
365
+ value: 'amount',
366
+ options: {
367
+ zero: {
368
+ value: [
369
+ { type: 0, value: 'Last ' },
370
+ { type: 1, value: 'amount' },
371
+ { type: 0, value: ' weeks' },
372
+ ],
373
+ },
374
+ one: {
375
+ value: [
376
+ { type: 0, value: 'Last ' },
377
+ { type: 1, value: 'amount' },
378
+ { type: 0, value: ' week' },
379
+ ],
380
+ },
381
+ other: {
382
+ value: [
383
+ { type: 0, value: 'Last ' },
384
+ { type: 1, value: 'amount' },
385
+ { type: 0, value: ' weeks' },
386
+ ],
387
+ },
388
+ },
389
+ offset: 0,
390
+ pluralType: 'cardinal',
391
+ },
392
+ ],
393
+ },
394
+ month: {
395
+ value: [
396
+ {
397
+ type: 6,
398
+ value: 'amount',
399
+ options: {
400
+ zero: {
401
+ value: [
402
+ { type: 0, value: 'Last ' },
403
+ { type: 1, value: 'amount' },
404
+ { type: 0, value: ' months' },
405
+ ],
406
+ },
407
+ one: {
408
+ value: [
409
+ { type: 0, value: 'Last ' },
410
+ { type: 1, value: 'amount' },
411
+ { type: 0, value: ' month' },
412
+ ],
413
+ },
414
+ other: {
415
+ value: [
416
+ { type: 0, value: 'Last ' },
417
+ { type: 1, value: 'amount' },
418
+ { type: 0, value: ' months' },
419
+ ],
420
+ },
421
+ },
422
+ offset: 0,
423
+ pluralType: 'cardinal',
424
+ },
425
+ ],
426
+ },
427
+ year: {
428
+ value: [
429
+ {
430
+ type: 6,
431
+ value: 'amount',
432
+ options: {
433
+ zero: {
434
+ value: [
435
+ { type: 0, value: 'Last ' },
436
+ { type: 1, value: 'amount' },
437
+ { type: 0, value: ' years' },
438
+ ],
439
+ },
440
+ one: {
441
+ value: [
442
+ { type: 0, value: 'Last ' },
443
+ { type: 1, value: 'amount' },
444
+ { type: 0, value: ' year' },
445
+ ],
446
+ },
447
+ other: {
448
+ value: [
449
+ { type: 0, value: 'Last ' },
450
+ { type: 1, value: 'amount' },
451
+ { type: 0, value: ' years' },
452
+ ],
453
+ },
454
+ },
455
+ offset: 0,
456
+ pluralType: 'cardinal',
457
+ },
458
+ ],
459
+ },
460
+ other: { value: [] },
245
461
  },
246
- offset: 0,
247
- pluralType: 'cardinal',
248
462
  },
249
463
  ],
250
464
  'i18nStrings.formatUnit': [
251
465
  {
252
- type: 6,
253
- value: 'amount',
466
+ type: 5,
467
+ value: 'unit',
254
468
  options: {
255
- one: { value: [{ type: 1, value: 'unit' }] },
256
- other: {
469
+ second: {
470
+ value: [
471
+ {
472
+ type: 6,
473
+ value: 'amount',
474
+ options: {
475
+ zero: { value: [{ type: 0, value: 'seconds' }] },
476
+ one: { value: [{ type: 0, value: 'second' }] },
477
+ other: { value: [{ type: 0, value: 'seconds' }] },
478
+ },
479
+ offset: 0,
480
+ pluralType: 'cardinal',
481
+ },
482
+ ],
483
+ },
484
+ minute: {
485
+ value: [
486
+ {
487
+ type: 6,
488
+ value: 'amount',
489
+ options: {
490
+ zero: { value: [{ type: 0, value: 'minutes' }] },
491
+ one: { value: [{ type: 0, value: 'minute' }] },
492
+ other: { value: [{ type: 0, value: 'minutes' }] },
493
+ },
494
+ offset: 0,
495
+ pluralType: 'cardinal',
496
+ },
497
+ ],
498
+ },
499
+ hour: {
257
500
  value: [
258
- { type: 1, value: 'unit' },
259
- { type: 0, value: 's' },
501
+ {
502
+ type: 6,
503
+ value: 'amount',
504
+ options: {
505
+ zero: { value: [{ type: 0, value: 'hours' }] },
506
+ one: { value: [{ type: 0, value: 'hour' }] },
507
+ other: { value: [{ type: 0, value: 'hours' }] },
508
+ },
509
+ offset: 0,
510
+ pluralType: 'cardinal',
511
+ },
260
512
  ],
261
513
  },
514
+ day: {
515
+ value: [
516
+ {
517
+ type: 6,
518
+ value: 'amount',
519
+ options: {
520
+ zero: { value: [{ type: 0, value: 'days' }] },
521
+ one: { value: [{ type: 0, value: 'day' }] },
522
+ other: { value: [{ type: 0, value: 'days' }] },
523
+ },
524
+ offset: 0,
525
+ pluralType: 'cardinal',
526
+ },
527
+ ],
528
+ },
529
+ week: {
530
+ value: [
531
+ {
532
+ type: 6,
533
+ value: 'amount',
534
+ options: {
535
+ zero: { value: [{ type: 0, value: 'weeks' }] },
536
+ one: { value: [{ type: 0, value: 'week' }] },
537
+ other: { value: [{ type: 0, value: 'weeks' }] },
538
+ },
539
+ offset: 0,
540
+ pluralType: 'cardinal',
541
+ },
542
+ ],
543
+ },
544
+ month: {
545
+ value: [
546
+ {
547
+ type: 6,
548
+ value: 'amount',
549
+ options: {
550
+ zero: { value: [{ type: 0, value: 'months' }] },
551
+ one: { value: [{ type: 0, value: 'month' }] },
552
+ other: { value: [{ type: 0, value: 'months' }] },
553
+ },
554
+ offset: 0,
555
+ pluralType: 'cardinal',
556
+ },
557
+ ],
558
+ },
559
+ year: {
560
+ value: [
561
+ {
562
+ type: 6,
563
+ value: 'amount',
564
+ options: {
565
+ zero: { value: [{ type: 0, value: 'years' }] },
566
+ one: { value: [{ type: 0, value: 'year' }] },
567
+ other: { value: [{ type: 0, value: 'years' }] },
568
+ },
569
+ offset: 0,
570
+ pluralType: 'cardinal',
571
+ },
572
+ ],
573
+ },
574
+ other: { value: [] },
262
575
  },
263
- offset: 0,
264
- pluralType: 'cardinal',
265
576
  },
266
577
  ],
267
578
  },