@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
@@ -200,6 +200,7 @@ export default {
200
200
  },
201
201
  ],
202
202
  },
203
+ 'copy-to-clipboard': { 'i18nStrings.copyButtonText': [{ type: 0, value: '複製' }] },
203
204
  'date-range-picker': {
204
205
  'i18nStrings.relativeModeTitle': [{ type: 0, value: '相對模式' }],
205
206
  'i18nStrings.absoluteModeTitle': [{ type: 0, value: '絕對模式' }],
@@ -229,37 +230,356 @@ export default {
229
230
  ],
230
231
  'i18nStrings.formatRelativeRange': [
231
232
  {
232
- type: 6,
233
- value: 'amount',
233
+ type: 5,
234
+ value: 'unit',
234
235
  options: {
235
- one: {
236
+ second: {
236
237
  value: [
237
- { type: 0, value: '最後 ' },
238
- { type: 1, value: 'amount' },
239
- { type: 0, value: ' ' },
240
- { type: 1, value: 'unit' },
238
+ {
239
+ type: 6,
240
+ value: 'amount',
241
+ options: {
242
+ zero: {
243
+ value: [
244
+ { type: 0, value: '最後' },
245
+ { type: 1, value: 'amount' },
246
+ { type: 0, value: '秒' },
247
+ ],
248
+ },
249
+ one: {
250
+ value: [
251
+ { type: 0, value: '最後' },
252
+ { type: 1, value: 'amount' },
253
+ { type: 0, value: '秒' },
254
+ ],
255
+ },
256
+ other: {
257
+ value: [
258
+ { type: 0, value: '最後' },
259
+ { type: 1, value: 'amount' },
260
+ { type: 0, value: '秒' },
261
+ ],
262
+ },
263
+ },
264
+ offset: 0,
265
+ pluralType: 'cardinal',
266
+ },
241
267
  ],
242
268
  },
243
- other: {
269
+ minute: {
244
270
  value: [
245
- { type: 0, value: '最後 ' },
246
- { type: 1, value: 'amount' },
247
- { type: 0, value: ' ' },
248
- { type: 1, value: 'unit' },
271
+ {
272
+ type: 6,
273
+ value: 'amount',
274
+ options: {
275
+ zero: {
276
+ value: [
277
+ { type: 0, value: '最後' },
278
+ { type: 1, value: 'amount' },
279
+ { type: 0, value: '分鐘' },
280
+ ],
281
+ },
282
+ one: {
283
+ value: [
284
+ { type: 0, value: '最後' },
285
+ { type: 1, value: 'amount' },
286
+ { type: 0, value: '分鐘' },
287
+ ],
288
+ },
289
+ other: {
290
+ value: [
291
+ { type: 0, value: '最後' },
292
+ { type: 1, value: 'amount' },
293
+ { type: 0, value: '分鐘' },
294
+ ],
295
+ },
296
+ },
297
+ offset: 0,
298
+ pluralType: 'cardinal',
299
+ },
249
300
  ],
250
301
  },
302
+ hour: {
303
+ value: [
304
+ {
305
+ type: 6,
306
+ value: 'amount',
307
+ options: {
308
+ zero: {
309
+ value: [
310
+ { type: 0, value: '最後' },
311
+ { type: 1, value: 'amount' },
312
+ { type: 0, value: '小時' },
313
+ ],
314
+ },
315
+ one: {
316
+ value: [
317
+ { type: 0, value: '最後' },
318
+ { type: 1, value: 'amount' },
319
+ { type: 0, value: '小時' },
320
+ ],
321
+ },
322
+ other: {
323
+ value: [
324
+ { type: 0, value: '最後' },
325
+ { type: 1, value: 'amount' },
326
+ { type: 0, value: '小時' },
327
+ ],
328
+ },
329
+ },
330
+ offset: 0,
331
+ pluralType: 'cardinal',
332
+ },
333
+ ],
334
+ },
335
+ day: {
336
+ value: [
337
+ {
338
+ type: 6,
339
+ value: 'amount',
340
+ options: {
341
+ zero: {
342
+ value: [
343
+ { type: 0, value: '最後' },
344
+ { type: 1, value: 'amount' },
345
+ { type: 0, value: '天' },
346
+ ],
347
+ },
348
+ one: {
349
+ value: [
350
+ { type: 0, value: '最後' },
351
+ { type: 1, value: 'amount' },
352
+ { type: 0, value: '天' },
353
+ ],
354
+ },
355
+ other: {
356
+ value: [
357
+ { type: 0, value: '最後' },
358
+ { type: 1, value: 'amount' },
359
+ { type: 0, value: '天' },
360
+ ],
361
+ },
362
+ },
363
+ offset: 0,
364
+ pluralType: 'cardinal',
365
+ },
366
+ ],
367
+ },
368
+ week: {
369
+ value: [
370
+ {
371
+ type: 6,
372
+ value: 'amount',
373
+ options: {
374
+ zero: {
375
+ value: [
376
+ { type: 0, value: '最後' },
377
+ { type: 1, value: 'amount' },
378
+ { type: 0, value: '週' },
379
+ ],
380
+ },
381
+ one: {
382
+ value: [
383
+ { type: 0, value: '最後' },
384
+ { type: 1, value: 'amount' },
385
+ { type: 0, value: '週' },
386
+ ],
387
+ },
388
+ other: {
389
+ value: [
390
+ { type: 0, value: '最後' },
391
+ { type: 1, value: 'amount' },
392
+ { type: 0, value: '週' },
393
+ ],
394
+ },
395
+ },
396
+ offset: 0,
397
+ pluralType: 'cardinal',
398
+ },
399
+ ],
400
+ },
401
+ month: {
402
+ value: [
403
+ {
404
+ type: 6,
405
+ value: 'amount',
406
+ options: {
407
+ zero: {
408
+ value: [
409
+ { type: 0, value: '最後' },
410
+ { type: 1, value: 'amount' },
411
+ { type: 0, value: '個月' },
412
+ ],
413
+ },
414
+ one: {
415
+ value: [
416
+ { type: 0, value: '最後' },
417
+ { type: 1, value: 'amount' },
418
+ { type: 0, value: '個月' },
419
+ ],
420
+ },
421
+ other: {
422
+ value: [
423
+ { type: 0, value: '最後' },
424
+ { type: 1, value: 'amount' },
425
+ { type: 0, value: '個月' },
426
+ ],
427
+ },
428
+ },
429
+ offset: 0,
430
+ pluralType: 'cardinal',
431
+ },
432
+ ],
433
+ },
434
+ year: {
435
+ value: [
436
+ {
437
+ type: 6,
438
+ value: 'amount',
439
+ options: {
440
+ zero: {
441
+ value: [
442
+ { type: 0, value: '最後' },
443
+ { type: 1, value: 'amount' },
444
+ { type: 0, value: '年' },
445
+ ],
446
+ },
447
+ one: {
448
+ value: [
449
+ { type: 0, value: '最後' },
450
+ { type: 1, value: 'amount' },
451
+ { type: 0, value: '年' },
452
+ ],
453
+ },
454
+ other: {
455
+ value: [
456
+ { type: 0, value: '最後' },
457
+ { type: 1, value: 'amount' },
458
+ { type: 0, value: '年' },
459
+ ],
460
+ },
461
+ },
462
+ offset: 0,
463
+ pluralType: 'cardinal',
464
+ },
465
+ ],
466
+ },
467
+ other: { value: [] },
251
468
  },
252
- offset: 0,
253
- pluralType: 'cardinal',
254
469
  },
255
470
  ],
256
471
  'i18nStrings.formatUnit': [
257
472
  {
258
- type: 6,
259
- value: 'amount',
260
- options: { one: { value: [{ type: 1, value: 'unit' }] }, other: { value: [{ type: 1, value: 'unit' }] } },
261
- offset: 0,
262
- pluralType: 'cardinal',
473
+ type: 5,
474
+ value: 'unit',
475
+ options: {
476
+ second: {
477
+ value: [
478
+ {
479
+ type: 6,
480
+ value: 'amount',
481
+ options: {
482
+ zero: { value: [{ type: 0, value: '秒' }] },
483
+ one: { value: [{ type: 0, value: '秒' }] },
484
+ other: { value: [{ type: 0, value: '秒' }] },
485
+ },
486
+ offset: 0,
487
+ pluralType: 'cardinal',
488
+ },
489
+ ],
490
+ },
491
+ minute: {
492
+ value: [
493
+ {
494
+ type: 6,
495
+ value: 'amount',
496
+ options: {
497
+ zero: { value: [{ type: 0, value: '分鐘' }] },
498
+ one: { value: [{ type: 0, value: '分鐘' }] },
499
+ other: { value: [{ type: 0, value: '分鐘' }] },
500
+ },
501
+ offset: 0,
502
+ pluralType: 'cardinal',
503
+ },
504
+ ],
505
+ },
506
+ hour: {
507
+ value: [
508
+ {
509
+ type: 6,
510
+ value: 'amount',
511
+ options: {
512
+ zero: { value: [{ type: 0, value: '小時' }] },
513
+ one: { value: [{ type: 0, value: '小時' }] },
514
+ other: { value: [{ type: 0, value: '小時' }] },
515
+ },
516
+ offset: 0,
517
+ pluralType: 'cardinal',
518
+ },
519
+ ],
520
+ },
521
+ day: {
522
+ value: [
523
+ {
524
+ type: 6,
525
+ value: 'amount',
526
+ options: {
527
+ zero: { value: [{ type: 0, value: '天' }] },
528
+ one: { value: [{ type: 0, value: '天' }] },
529
+ other: { value: [{ type: 0, value: '天' }] },
530
+ },
531
+ offset: 0,
532
+ pluralType: 'cardinal',
533
+ },
534
+ ],
535
+ },
536
+ week: {
537
+ value: [
538
+ {
539
+ type: 6,
540
+ value: 'amount',
541
+ options: {
542
+ zero: { value: [{ type: 0, value: '週' }] },
543
+ one: { value: [{ type: 0, value: '週' }] },
544
+ other: { value: [{ type: 0, value: '週' }] },
545
+ },
546
+ offset: 0,
547
+ pluralType: 'cardinal',
548
+ },
549
+ ],
550
+ },
551
+ month: {
552
+ value: [
553
+ {
554
+ type: 6,
555
+ value: 'amount',
556
+ options: {
557
+ zero: { value: [{ type: 0, value: '個月' }] },
558
+ one: { value: [{ type: 0, value: '個月' }] },
559
+ other: { value: [{ type: 0, value: '個月' }] },
560
+ },
561
+ offset: 0,
562
+ pluralType: 'cardinal',
563
+ },
564
+ ],
565
+ },
566
+ year: {
567
+ value: [
568
+ {
569
+ type: 6,
570
+ value: 'amount',
571
+ options: {
572
+ zero: { value: [{ type: 0, value: '年' }] },
573
+ one: { value: [{ type: 0, value: '年' }] },
574
+ other: { value: [{ type: 0, value: '年' }] },
575
+ },
576
+ offset: 0,
577
+ pluralType: 'cardinal',
578
+ },
579
+ ],
580
+ },
581
+ other: { value: [] },
582
+ },
263
583
  },
264
584
  ],
265
585
  },