@cloudscape-design/components 3.0.835 → 3.0.837

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 (130) hide show
  1. package/alert/styles.css.js +28 -28
  2. package/alert/styles.scoped.css +46 -46
  3. package/alert/styles.selectors.js +28 -28
  4. package/anchor-navigation/styles.css.js +8 -8
  5. package/anchor-navigation/styles.scoped.css +19 -19
  6. package/anchor-navigation/styles.selectors.js +8 -8
  7. package/app-layout/utils/use-drawers.d.ts.map +1 -1
  8. package/app-layout/utils/use-drawers.js +40 -51
  9. package/app-layout/utils/use-drawers.js.map +1 -1
  10. package/button/styles.css.js +21 -21
  11. package/button/styles.scoped.css +157 -157
  12. package/button/styles.selectors.js +21 -21
  13. package/button-dropdown/item-element/styles.css.js +13 -13
  14. package/button-dropdown/item-element/styles.scoped.css +22 -22
  15. package/button-dropdown/item-element/styles.selectors.js +13 -13
  16. package/button-dropdown/styles.css.js +17 -17
  17. package/button-dropdown/styles.scoped.css +30 -30
  18. package/button-dropdown/styles.selectors.js +17 -17
  19. package/container/internal.d.ts.map +1 -1
  20. package/container/internal.js +6 -3
  21. package/container/internal.js.map +1 -1
  22. package/container/styles.css.js +31 -30
  23. package/container/styles.scoped.css +59 -56
  24. package/container/styles.selectors.js +31 -30
  25. package/container/test-classes/styles.css.js +6 -0
  26. package/container/test-classes/styles.scoped.css +7 -0
  27. package/container/test-classes/styles.selectors.js +7 -0
  28. package/date-range-picker/index.d.ts.map +1 -1
  29. package/date-range-picker/index.js +23 -17
  30. package/date-range-picker/index.js.map +1 -1
  31. package/expandable-section/styles.css.js +34 -34
  32. package/expandable-section/styles.scoped.css +67 -67
  33. package/expandable-section/styles.selectors.js +34 -34
  34. package/file-token-group/styles.css.js +22 -22
  35. package/file-token-group/styles.scoped.css +31 -31
  36. package/file-token-group/styles.selectors.js +22 -22
  37. package/flashbar/styles.css.js +50 -50
  38. package/flashbar/styles.scoped.css +151 -151
  39. package/flashbar/styles.selectors.js +50 -50
  40. package/input/styles.css.js +13 -13
  41. package/input/styles.scoped.css +44 -44
  42. package/input/styles.selectors.js +13 -13
  43. package/internal/base-component/styles.scoped.css +4 -2
  44. package/internal/components/button-trigger/styles.css.js +13 -13
  45. package/internal/components/button-trigger/styles.scoped.css +37 -37
  46. package/internal/components/button-trigger/styles.selectors.js +13 -13
  47. package/internal/components/checkbox-icon/styles.css.js +9 -9
  48. package/internal/components/checkbox-icon/styles.scoped.css +10 -10
  49. package/internal/components/checkbox-icon/styles.selectors.js +9 -9
  50. package/internal/components/dropdown/styles.css.js +20 -20
  51. package/internal/components/dropdown/styles.scoped.css +39 -39
  52. package/internal/components/dropdown/styles.selectors.js +20 -20
  53. package/internal/components/menu-dropdown/styles.css.js +7 -7
  54. package/internal/components/menu-dropdown/styles.scoped.css +14 -14
  55. package/internal/components/menu-dropdown/styles.selectors.js +7 -7
  56. package/internal/components/token-list/styles.css.js +10 -10
  57. package/internal/components/token-list/styles.scoped.css +26 -26
  58. package/internal/components/token-list/styles.selectors.js +10 -10
  59. package/internal/environment.js +1 -1
  60. package/internal/environment.json +1 -1
  61. package/internal/generated/styles/tokens.d.ts +4 -2
  62. package/internal/generated/styles/tokens.js +4 -2
  63. package/internal/generated/theming/index.cjs +22 -8
  64. package/internal/generated/theming/index.cjs.d.ts +32 -0
  65. package/internal/generated/theming/index.d.ts +32 -0
  66. package/internal/generated/theming/index.js +22 -8
  67. package/internal/manifest.json +1 -1
  68. package/internal/utils/date-time/format-date-time-with-offset.d.ts +9 -0
  69. package/internal/utils/date-time/format-date-time-with-offset.d.ts.map +1 -0
  70. package/internal/utils/date-time/format-date-time-with-offset.js +17 -0
  71. package/internal/utils/date-time/format-date-time-with-offset.js.map +1 -0
  72. package/internal/utils/date-time/index.d.ts +1 -1
  73. package/internal/utils/date-time/index.d.ts.map +1 -1
  74. package/internal/utils/date-time/index.js +1 -1
  75. package/internal/utils/date-time/index.js.map +1 -1
  76. package/link/styles.css.js +20 -20
  77. package/link/styles.scoped.css +73 -73
  78. package/link/styles.selectors.js +20 -20
  79. package/package.json +1 -1
  80. package/pagination/styles.css.js +9 -9
  81. package/pagination/styles.scoped.css +27 -27
  82. package/pagination/styles.selectors.js +9 -9
  83. package/popover/styles.css.js +52 -52
  84. package/popover/styles.scoped.css +72 -75
  85. package/popover/styles.selectors.js +52 -52
  86. package/prompt-input/styles.css.js +14 -14
  87. package/prompt-input/styles.scoped.css +56 -56
  88. package/prompt-input/styles.selectors.js +14 -14
  89. package/property-filter/filtering-token/styles.css.js +18 -18
  90. package/property-filter/filtering-token/styles.scoped.css +45 -45
  91. package/property-filter/filtering-token/styles.selectors.js +18 -18
  92. package/property-filter/styles.css.js +39 -39
  93. package/property-filter/styles.scoped.css +42 -42
  94. package/property-filter/styles.selectors.js +39 -39
  95. package/segmented-control/styles.css.js +15 -15
  96. package/segmented-control/styles.scoped.css +38 -38
  97. package/segmented-control/styles.selectors.js +15 -15
  98. package/select/parts/styles.css.js +21 -21
  99. package/select/parts/styles.scoped.css +26 -26
  100. package/select/parts/styles.selectors.js +21 -21
  101. package/test-utils/dom/expandable-section/index.js +11 -10
  102. package/test-utils/dom/expandable-section/index.js.map +1 -1
  103. package/test-utils/dom/index.d.ts +1343 -0
  104. package/test-utils/dom/index.js +237 -0
  105. package/test-utils/dom/index.js.map +1 -1
  106. package/test-utils/selectors/expandable-section/index.js +11 -10
  107. package/test-utils/selectors/expandable-section/index.js.map +1 -1
  108. package/test-utils/selectors/index.d.ts +1185 -0
  109. package/test-utils/selectors/index.js +237 -0
  110. package/test-utils/selectors/index.js.map +1 -1
  111. package/test-utils/tsconfig.tsbuildinfo +1 -1
  112. package/textarea/styles.css.js +5 -5
  113. package/textarea/styles.scoped.css +24 -24
  114. package/textarea/styles.selectors.js +5 -5
  115. package/tiles/styles.css.js +30 -30
  116. package/tiles/styles.scoped.css +79 -79
  117. package/tiles/styles.selectors.js +30 -30
  118. package/token-group/styles.css.js +8 -8
  119. package/token-group/styles.scoped.css +18 -18
  120. package/token-group/styles.selectors.js +8 -8
  121. package/top-navigation/styles.css.js +47 -47
  122. package/top-navigation/styles.scoped.css +67 -67
  123. package/top-navigation/styles.selectors.js +47 -47
  124. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  125. package/tutorial-panel/components/tutorial-list/styles.scoped.css +29 -29
  126. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  127. package/internal/utils/date-time/format-date-range.d.ts +0 -13
  128. package/internal/utils/date-time/format-date-range.d.ts.map +0 -1
  129. package/internal/utils/date-time/format-date-range.js +0 -36
  130. package/internal/utils/date-time/format-date-range.js.map +0 -1
@@ -214,6 +214,7 @@ export declare interface TypedOverride {
214
214
  fontSizeHeadingM?: GlobalValue;
215
215
  fontSizeHeadingS?: GlobalValue;
216
216
  fontSizeHeadingXs?: GlobalValue;
217
+ fontWeightButton?: GlobalValue;
217
218
  fontWeightHeadingXl?: GlobalValue;
218
219
  fontWeightHeadingL?: GlobalValue;
219
220
  fontWeightHeadingM?: GlobalValue;
@@ -243,6 +244,9 @@ export declare interface TypedOverride {
243
244
  borderRadiusTiles?: GlobalValue;
244
245
  borderRadiusToken?: GlobalValue;
245
246
  borderRadiusTutorialPanelItem?: GlobalValue;
247
+ borderWidthAlert?: GlobalValue;
248
+ borderWidthField?: GlobalValue;
249
+ borderWidthPopover?: GlobalValue;
246
250
  },
247
251
  contexts?: {
248
252
  'compact-table'?: {
@@ -459,6 +463,7 @@ export declare interface TypedOverride {
459
463
  fontSizeHeadingM?: GlobalValue;
460
464
  fontSizeHeadingS?: GlobalValue;
461
465
  fontSizeHeadingXs?: GlobalValue;
466
+ fontWeightButton?: GlobalValue;
462
467
  fontWeightHeadingXl?: GlobalValue;
463
468
  fontWeightHeadingL?: GlobalValue;
464
469
  fontWeightHeadingM?: GlobalValue;
@@ -488,6 +493,9 @@ export declare interface TypedOverride {
488
493
  borderRadiusTiles?: GlobalValue;
489
494
  borderRadiusToken?: GlobalValue;
490
495
  borderRadiusTutorialPanelItem?: GlobalValue;
496
+ borderWidthAlert?: GlobalValue;
497
+ borderWidthField?: GlobalValue;
498
+ borderWidthPopover?: GlobalValue;
491
499
  }
492
500
  };
493
501
  'top-navigation'?: {
@@ -704,6 +712,7 @@ export declare interface TypedOverride {
704
712
  fontSizeHeadingM?: GlobalValue;
705
713
  fontSizeHeadingS?: GlobalValue;
706
714
  fontSizeHeadingXs?: GlobalValue;
715
+ fontWeightButton?: GlobalValue;
707
716
  fontWeightHeadingXl?: GlobalValue;
708
717
  fontWeightHeadingL?: GlobalValue;
709
718
  fontWeightHeadingM?: GlobalValue;
@@ -733,6 +742,9 @@ export declare interface TypedOverride {
733
742
  borderRadiusTiles?: GlobalValue;
734
743
  borderRadiusToken?: GlobalValue;
735
744
  borderRadiusTutorialPanelItem?: GlobalValue;
745
+ borderWidthAlert?: GlobalValue;
746
+ borderWidthField?: GlobalValue;
747
+ borderWidthPopover?: GlobalValue;
736
748
  }
737
749
  };
738
750
  'header'?: {
@@ -949,6 +961,7 @@ export declare interface TypedOverride {
949
961
  fontSizeHeadingM?: GlobalValue;
950
962
  fontSizeHeadingS?: GlobalValue;
951
963
  fontSizeHeadingXs?: GlobalValue;
964
+ fontWeightButton?: GlobalValue;
952
965
  fontWeightHeadingXl?: GlobalValue;
953
966
  fontWeightHeadingL?: GlobalValue;
954
967
  fontWeightHeadingM?: GlobalValue;
@@ -978,6 +991,9 @@ export declare interface TypedOverride {
978
991
  borderRadiusTiles?: GlobalValue;
979
992
  borderRadiusToken?: GlobalValue;
980
993
  borderRadiusTutorialPanelItem?: GlobalValue;
994
+ borderWidthAlert?: GlobalValue;
995
+ borderWidthField?: GlobalValue;
996
+ borderWidthPopover?: GlobalValue;
981
997
  }
982
998
  };
983
999
  'flashbar'?: {
@@ -1194,6 +1210,7 @@ export declare interface TypedOverride {
1194
1210
  fontSizeHeadingM?: GlobalValue;
1195
1211
  fontSizeHeadingS?: GlobalValue;
1196
1212
  fontSizeHeadingXs?: GlobalValue;
1213
+ fontWeightButton?: GlobalValue;
1197
1214
  fontWeightHeadingXl?: GlobalValue;
1198
1215
  fontWeightHeadingL?: GlobalValue;
1199
1216
  fontWeightHeadingM?: GlobalValue;
@@ -1223,6 +1240,9 @@ export declare interface TypedOverride {
1223
1240
  borderRadiusTiles?: GlobalValue;
1224
1241
  borderRadiusToken?: GlobalValue;
1225
1242
  borderRadiusTutorialPanelItem?: GlobalValue;
1243
+ borderWidthAlert?: GlobalValue;
1244
+ borderWidthField?: GlobalValue;
1245
+ borderWidthPopover?: GlobalValue;
1226
1246
  }
1227
1247
  };
1228
1248
  'flashbar-warning'?: {
@@ -1439,6 +1459,7 @@ export declare interface TypedOverride {
1439
1459
  fontSizeHeadingM?: GlobalValue;
1440
1460
  fontSizeHeadingS?: GlobalValue;
1441
1461
  fontSizeHeadingXs?: GlobalValue;
1462
+ fontWeightButton?: GlobalValue;
1442
1463
  fontWeightHeadingXl?: GlobalValue;
1443
1464
  fontWeightHeadingL?: GlobalValue;
1444
1465
  fontWeightHeadingM?: GlobalValue;
@@ -1468,6 +1489,9 @@ export declare interface TypedOverride {
1468
1489
  borderRadiusTiles?: GlobalValue;
1469
1490
  borderRadiusToken?: GlobalValue;
1470
1491
  borderRadiusTutorialPanelItem?: GlobalValue;
1492
+ borderWidthAlert?: GlobalValue;
1493
+ borderWidthField?: GlobalValue;
1494
+ borderWidthPopover?: GlobalValue;
1471
1495
  }
1472
1496
  };
1473
1497
  'alert'?: {
@@ -1684,6 +1708,7 @@ export declare interface TypedOverride {
1684
1708
  fontSizeHeadingM?: GlobalValue;
1685
1709
  fontSizeHeadingS?: GlobalValue;
1686
1710
  fontSizeHeadingXs?: GlobalValue;
1711
+ fontWeightButton?: GlobalValue;
1687
1712
  fontWeightHeadingXl?: GlobalValue;
1688
1713
  fontWeightHeadingL?: GlobalValue;
1689
1714
  fontWeightHeadingM?: GlobalValue;
@@ -1713,6 +1738,9 @@ export declare interface TypedOverride {
1713
1738
  borderRadiusTiles?: GlobalValue;
1714
1739
  borderRadiusToken?: GlobalValue;
1715
1740
  borderRadiusTutorialPanelItem?: GlobalValue;
1741
+ borderWidthAlert?: GlobalValue;
1742
+ borderWidthField?: GlobalValue;
1743
+ borderWidthPopover?: GlobalValue;
1716
1744
  }
1717
1745
  };
1718
1746
  'alert-header'?: {
@@ -1929,6 +1957,7 @@ export declare interface TypedOverride {
1929
1957
  fontSizeHeadingM?: GlobalValue;
1930
1958
  fontSizeHeadingS?: GlobalValue;
1931
1959
  fontSizeHeadingXs?: GlobalValue;
1960
+ fontWeightButton?: GlobalValue;
1932
1961
  fontWeightHeadingXl?: GlobalValue;
1933
1962
  fontWeightHeadingL?: GlobalValue;
1934
1963
  fontWeightHeadingM?: GlobalValue;
@@ -1958,6 +1987,9 @@ export declare interface TypedOverride {
1958
1987
  borderRadiusTiles?: GlobalValue;
1959
1988
  borderRadiusToken?: GlobalValue;
1960
1989
  borderRadiusTutorialPanelItem?: GlobalValue;
1990
+ borderWidthAlert?: GlobalValue;
1991
+ borderWidthField?: GlobalValue;
1992
+ borderWidthPopover?: GlobalValue;
1961
1993
  }
1962
1994
  }
1963
1995
  }
@@ -1819,7 +1819,6 @@ export var preset = {
1819
1819
  },
1820
1820
  "fontBoxValueLargeWeight": "700",
1821
1821
  "fontButtonLetterSpacing": "0.005em",
1822
- "fontButtonWeight": "700",
1823
1822
  "fontChartDetailSize": "{fontSizeBodyS}",
1824
1823
  "fontDisplayLabelWeight": "700",
1825
1824
  "fontExpandableHeadingSize": "{fontSizeHeadingS}",
@@ -1828,7 +1827,7 @@ export var preset = {
1828
1827
  "fontHeaderH2DescriptionLineHeight": "{lineHeightBodyM}",
1829
1828
  "fontHeaderH2DescriptionSize": "{fontSizeBodyM}",
1830
1829
  "fontLinkButtonLetterSpacing": "{fontButtonLetterSpacing}",
1831
- "fontLinkButtonWeight": "{fontButtonWeight}",
1830
+ "fontLinkButtonWeight": "{fontWeightButton}",
1832
1831
  "fontPanelHeaderLineHeight": "{lineHeightHeadingM}",
1833
1832
  "fontPanelHeaderSize": "{fontSizeHeadingM}",
1834
1833
  "fontSizeBodyM": "14px",
@@ -1845,6 +1844,7 @@ export var preset = {
1845
1844
  "fontTabsLineHeight": "{lineHeightHeadingS}",
1846
1845
  "fontTabsSize": "{fontSizeHeadingS}",
1847
1846
  "fontWayfindingLinkActiveWeight": "700",
1847
+ "fontWeightButton": "700",
1848
1848
  "fontWeightHeadingXl": "700",
1849
1849
  "fontWeightHeadingL": "700",
1850
1850
  "fontWeightHeadingM": "700",
@@ -1874,7 +1874,6 @@ export var preset = {
1874
1874
  "borderDividerListWidth": "1px",
1875
1875
  "borderDividerSectionWidth": "1px",
1876
1876
  "borderDropdownVirtualOffsetWidth": "2px",
1877
- "borderFieldWidth": "2px",
1878
1877
  "borderInvalidWidth": "8px",
1879
1878
  "borderItemWidth": "2px",
1880
1879
  "borderLineChartDashArray": "3 5",
@@ -1904,6 +1903,9 @@ export var preset = {
1904
1903
  "borderTableStickyWidth": "1px",
1905
1904
  "borderLinkFocusRingOutline": "0",
1906
1905
  "borderLinkFocusRingShadowSpread": "2px",
1906
+ "borderWidthAlert": "2px",
1907
+ "borderWidthField": "2px",
1908
+ "borderWidthPopover": "2px",
1907
1909
  "motionDurationExtraFast": {
1908
1910
  "default": "45ms",
1909
1911
  "disabled": "0ms"
@@ -10185,6 +10187,7 @@ export var preset = {
10185
10187
  "fontSizeHeadingM",
10186
10188
  "fontSizeHeadingS",
10187
10189
  "fontSizeHeadingXs",
10190
+ "fontWeightButton",
10188
10191
  "fontWeightHeadingXl",
10189
10192
  "fontWeightHeadingL",
10190
10193
  "fontWeightHeadingM",
@@ -10213,7 +10216,10 @@ export var preset = {
10213
10216
  "borderRadiusTabsFocusRing",
10214
10217
  "borderRadiusTiles",
10215
10218
  "borderRadiusToken",
10216
- "borderRadiusTutorialPanelItem"
10219
+ "borderRadiusTutorialPanelItem",
10220
+ "borderWidthAlert",
10221
+ "borderWidthField",
10222
+ "borderWidthPopover"
10217
10223
  ],
10218
10224
  "exposed": [
10219
10225
  "colorChartsRed300",
@@ -10527,6 +10533,7 @@ export var preset = {
10527
10533
  "fontSizeHeadingM",
10528
10534
  "fontSizeHeadingS",
10529
10535
  "fontSizeHeadingXs",
10536
+ "fontWeightButton",
10530
10537
  "fontWeightHeadingXl",
10531
10538
  "fontWeightHeadingL",
10532
10539
  "fontWeightHeadingM",
@@ -10557,6 +10564,9 @@ export var preset = {
10557
10564
  "borderRadiusToken",
10558
10565
  "borderRadiusChatBubble",
10559
10566
  "borderRadiusTutorialPanelItem",
10567
+ "borderWidthAlert",
10568
+ "borderWidthField",
10569
+ "borderWidthPopover",
10560
10570
  "motionDurationAvatarGenAiGradient",
10561
10571
  "motionDurationAvatarLoadingDots",
10562
10572
  "motionEasingAvatarGenAiGradient",
@@ -11080,7 +11090,6 @@ export var preset = {
11080
11090
  "colorDropzoneBorderHover": "color-dropzone-border-hover",
11081
11091
  "fontBoxValueLargeWeight": "font-box-value-large-weight",
11082
11092
  "fontButtonLetterSpacing": "font-button-letter-spacing",
11083
- "fontButtonWeight": "font-button-weight",
11084
11093
  "fontChartDetailSize": "font-chart-detail-size",
11085
11094
  "fontDisplayLabelWeight": "font-display-label-weight",
11086
11095
  "fontExpandableHeadingSize": "font-expandable-heading-size",
@@ -11106,6 +11115,7 @@ export var preset = {
11106
11115
  "fontTabsLineHeight": "font-tabs-line-height",
11107
11116
  "fontTabsSize": "font-tabs-size",
11108
11117
  "fontWayfindingLinkActiveWeight": "font-wayfinding-link-active-weight",
11118
+ "fontWeightButton": "font-weight-button",
11109
11119
  "fontWeightHeadingXl": "font-weight-heading-xl",
11110
11120
  "fontWeightHeadingL": "font-weight-heading-l",
11111
11121
  "fontWeightHeadingM": "font-weight-heading-m",
@@ -11135,7 +11145,6 @@ export var preset = {
11135
11145
  "borderDividerListWidth": "border-divider-list-width",
11136
11146
  "borderDividerSectionWidth": "border-divider-section-width",
11137
11147
  "borderDropdownVirtualOffsetWidth": "border-dropdown-virtual-offset-width",
11138
- "borderFieldWidth": "border-field-width",
11139
11148
  "borderInvalidWidth": "border-invalid-width",
11140
11149
  "borderItemWidth": "border-item-width",
11141
11150
  "borderLineChartDashArray": "border-line-chart-dash-array",
@@ -11165,6 +11174,9 @@ export var preset = {
11165
11174
  "borderTableStickyWidth": "border-table-sticky-width",
11166
11175
  "borderLinkFocusRingOutline": "border-link-focus-ring-outline",
11167
11176
  "borderLinkFocusRingShadowSpread": "border-link-focus-ring-shadow-spread",
11177
+ "borderWidthAlert": "border-width-alert",
11178
+ "borderWidthField": "border-width-field",
11179
+ "borderWidthPopover": "border-width-popover",
11168
11180
  "motionDurationExtraFast": "motion-duration-extra-fast",
11169
11181
  "motionDurationExtraSlow": "motion-duration-extra-slow",
11170
11182
  "motionDurationFast": "motion-duration-fast",
@@ -11820,7 +11832,6 @@ export var preset = {
11820
11832
  "colorDropzoneBorderHover": "--color-dropzone-border-hover-tpluhc",
11821
11833
  "fontBoxValueLargeWeight": "--font-box-value-large-weight-onoq9k",
11822
11834
  "fontButtonLetterSpacing": "--font-button-letter-spacing-65ug0o",
11823
- "fontButtonWeight": "--font-button-weight-hv56tz",
11824
11835
  "fontChartDetailSize": "--font-chart-detail-size-1n389u",
11825
11836
  "fontDisplayLabelWeight": "--font-display-label-weight-815ja9",
11826
11837
  "fontExpandableHeadingSize": "--font-expandable-heading-size-smdiul",
@@ -11846,6 +11857,7 @@ export var preset = {
11846
11857
  "fontTabsLineHeight": "--font-tabs-line-height-dzo7k3",
11847
11858
  "fontTabsSize": "--font-tabs-size-8zzqp2",
11848
11859
  "fontWayfindingLinkActiveWeight": "--font-wayfinding-link-active-weight-rbmzei",
11860
+ "fontWeightButton": "--font-weight-button-c91p4t",
11849
11861
  "fontWeightHeadingXl": "--font-weight-heading-xl-yvsksd",
11850
11862
  "fontWeightHeadingL": "--font-weight-heading-l-f8711v",
11851
11863
  "fontWeightHeadingM": "--font-weight-heading-m-m2ekmb",
@@ -11875,7 +11887,6 @@ export var preset = {
11875
11887
  "borderDividerListWidth": "--border-divider-list-width-27y3k5",
11876
11888
  "borderDividerSectionWidth": "--border-divider-section-width-1061zr",
11877
11889
  "borderDropdownVirtualOffsetWidth": "--border-dropdown-virtual-offset-width-kekgc0",
11878
- "borderFieldWidth": "--border-field-width-09w7vk",
11879
11890
  "borderInvalidWidth": "--border-invalid-width-5ktjp2",
11880
11891
  "borderItemWidth": "--border-item-width-yel47s",
11881
11892
  "borderLineChartDashArray": "--border-line-chart-dash-array-k49cgz",
@@ -11905,6 +11916,9 @@ export var preset = {
11905
11916
  "borderTableStickyWidth": "--border-table-sticky-width-87kf12",
11906
11917
  "borderLinkFocusRingOutline": "--border-link-focus-ring-outline-kkfop6",
11907
11918
  "borderLinkFocusRingShadowSpread": "--border-link-focus-ring-shadow-spread-v8hkrl",
11919
+ "borderWidthAlert": "--border-width-alert-t0f3yn",
11920
+ "borderWidthField": "--border-width-field-h1g7tw",
11921
+ "borderWidthPopover": "--border-width-popover-h2a419",
11908
11922
  "motionDurationExtraFast": "--motion-duration-extra-fast-3huyux",
11909
11923
  "motionDurationExtraSlow": "--motion-duration-extra-slow-ngjb9g",
11910
11924
  "motionDurationFast": "--motion-duration-fast-sbm3r7",
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "1b5b3e9be876e8dd7c9cdf01b5a36bbc0788118c"
2
+ "commit": "22af933bede3e80228b4c49946fb4763acb4a5bc"
3
3
  }
@@ -0,0 +1,9 @@
1
+ import { DateRangePickerProps } from '../../../date-range-picker/interfaces';
2
+ export declare function formatDateTimeWithOffset({ date, format, hideTimeOffset, timeOffset, locale, }: {
3
+ date: string;
4
+ format: DateRangePickerProps.AbsoluteFormat;
5
+ hideTimeOffset?: boolean;
6
+ timeOffset?: number;
7
+ locale?: string;
8
+ }): string;
9
+ //# sourceMappingURL=format-date-time-with-offset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-date-time-with-offset.d.ts","sourceRoot":"","sources":["../../../../../src/internal/utils/date-time/format-date-time-with-offset.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAK7E,wBAAgB,wBAAwB,CAAC,EACvC,IAAI,EACJ,MAAM,EACN,cAAc,EACd,UAAU,EACV,MAAM,GACP,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,oBAAoB,CAAC,cAAc,CAAC;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,UAUA"}
@@ -0,0 +1,17 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import formatDateIso from './format-date-iso';
4
+ import formatDateLocalized from './format-date-localized';
5
+ import { isIsoDateOnly } from './is-iso-date-only';
6
+ export function formatDateTimeWithOffset({ date, format, hideTimeOffset, timeOffset, locale, }) {
7
+ const isDateOnly = isIsoDateOnly(date);
8
+ switch (format) {
9
+ case 'long-localized': {
10
+ return formatDateLocalized({ date, hideTimeOffset, isDateOnly, locale, timeOffset });
11
+ }
12
+ default: {
13
+ return formatDateIso({ date, hideTimeOffset, isDateOnly, timeOffset });
14
+ }
15
+ }
16
+ }
17
+ //# sourceMappingURL=format-date-time-with-offset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-date-time-with-offset.js","sourceRoot":"","sources":["../../../../../src/internal/utils/date-time/format-date-time-with-offset.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAGtC,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAC9C,OAAO,mBAAmB,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,UAAU,wBAAwB,CAAC,EACvC,IAAI,EACJ,MAAM,EACN,cAAc,EACd,UAAU,EACV,MAAM,GAOP;IACC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IACvC,QAAQ,MAAM,EAAE;QACd,KAAK,gBAAgB,CAAC,CAAC;YACrB,OAAO,mBAAmB,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;SACtF;QACD,OAAO,CAAC,CAAC;YACP,OAAO,aAAa,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC;SACxE;KACF;AACH,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { DateRangePickerProps } from '../../../date-range-picker/interfaces';\nimport formatDateIso from './format-date-iso';\nimport formatDateLocalized from './format-date-localized';\nimport { isIsoDateOnly } from './is-iso-date-only';\n\nexport function formatDateTimeWithOffset({\n date,\n format,\n hideTimeOffset,\n timeOffset,\n locale,\n}: {\n date: string;\n format: DateRangePickerProps.AbsoluteFormat;\n hideTimeOffset?: boolean;\n timeOffset?: number;\n locale?: string;\n}) {\n const isDateOnly = isIsoDateOnly(date);\n switch (format) {\n case 'long-localized': {\n return formatDateLocalized({ date, hideTimeOffset, isDateOnly, locale, timeOffset });\n }\n default: {\n return formatDateIso({ date, hideTimeOffset, isDateOnly, timeOffset });\n }\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  export { isoToDisplay, displayToIso } from './display-format';
2
- export { formatDateRange } from './format-date-range';
2
+ export { formatDateTimeWithOffset } from './format-date-time-with-offset';
3
3
  export { formatDate } from './format-date';
4
4
  export { formatTime } from './format-time';
5
5
  export { formatDateTime } from './format-date-time';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/utils/date-time/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/utils/date-time/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  export { isoToDisplay, displayToIso } from './display-format';
4
- export { formatDateRange } from './format-date-range';
4
+ export { formatDateTimeWithOffset } from './format-date-time-with-offset';
5
5
  export { formatDate } from './format-date';
6
6
  export { formatTime } from './format-time';
7
7
  export { formatDateTime } from './format-date-time';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/utils/date-time/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport { isoToDisplay, displayToIso } from './display-format';\nexport { formatDateRange } from './format-date-range';\nexport { formatDate } from './format-date';\nexport { formatTime } from './format-time';\nexport { formatDateTime } from './format-date-time';\nexport { formatTimeOffsetISO } from './format-time-offset';\nexport { isIsoDateOnly } from './is-iso-date-only';\nexport { joinDateTime, splitDateTime } from './join-date-time';\nexport { parseDate } from './parse-date';\nexport { parseTimezoneOffset } from './parse-timezone-offset';\nexport { shiftTimezoneOffset } from './shift-timezone-offset';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/utils/date-time/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport { isoToDisplay, displayToIso } from './display-format';\nexport { formatDateTimeWithOffset } from './format-date-time-with-offset';\nexport { formatDate } from './format-date';\nexport { formatTime } from './format-time';\nexport { formatDateTime } from './format-date-time';\nexport { formatTimeOffsetISO } from './format-time-offset';\nexport { isIsoDateOnly } from './is-iso-date-only';\nexport { joinDateTime, splitDateTime } from './join-date-time';\nexport { parseDate } from './parse-date';\nexport { parseTimezoneOffset } from './parse-timezone-offset';\nexport { shiftTimezoneOffset } from './shift-timezone-offset';\n"]}
@@ -1,25 +1,25 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "link": "awsui_link_4c84z_1dta4_141",
5
- "variant-secondary": "awsui_variant-secondary_4c84z_1dta4_210",
6
- "variant-primary": "awsui_variant-primary_4c84z_1dta4_245",
7
- "variant-info": "awsui_variant-info_4c84z_1dta4_278",
8
- "variant-value-large": "awsui_variant-value-large_4c84z_1dta4_313",
9
- "variant-top-navigation": "awsui_variant-top-navigation_4c84z_1dta4_345",
10
- "variant-recovery": "awsui_variant-recovery_4c84z_1dta4_378",
11
- "button": "awsui_button_4c84z_1dta4_411",
12
- "color-inverted": "awsui_color-inverted_4c84z_1dta4_446",
13
- "font-size-body-s": "awsui_font-size-body-s_4c84z_1dta4_467",
14
- "font-size-body-m": "awsui_font-size-body-m_4c84z_1dta4_474",
15
- "font-size-heading-xs": "awsui_font-size-heading-xs_4c84z_1dta4_480",
16
- "font-size-heading-s": "awsui_font-size-heading-s_4c84z_1dta4_486",
17
- "font-size-heading-m": "awsui_font-size-heading-m_4c84z_1dta4_493",
18
- "font-size-heading-l": "awsui_font-size-heading-l_4c84z_1dta4_500",
19
- "font-size-heading-xl": "awsui_font-size-heading-xl_4c84z_1dta4_507",
20
- "font-size-display-l": "awsui_font-size-display-l_4c84z_1dta4_514",
21
- "font-size-inherit": "awsui_font-size-inherit_4c84z_1dta4_521",
22
- "icon-wrapper": "awsui_icon-wrapper_4c84z_1dta4_529",
23
- "icon": "awsui_icon_4c84z_1dta4_529"
4
+ "link": "awsui_link_4c84z_1t56b_141",
5
+ "variant-secondary": "awsui_variant-secondary_4c84z_1t56b_210",
6
+ "variant-primary": "awsui_variant-primary_4c84z_1t56b_245",
7
+ "variant-info": "awsui_variant-info_4c84z_1t56b_278",
8
+ "variant-value-large": "awsui_variant-value-large_4c84z_1t56b_313",
9
+ "variant-top-navigation": "awsui_variant-top-navigation_4c84z_1t56b_345",
10
+ "variant-recovery": "awsui_variant-recovery_4c84z_1t56b_378",
11
+ "button": "awsui_button_4c84z_1t56b_411",
12
+ "color-inverted": "awsui_color-inverted_4c84z_1t56b_446",
13
+ "font-size-body-s": "awsui_font-size-body-s_4c84z_1t56b_467",
14
+ "font-size-body-m": "awsui_font-size-body-m_4c84z_1t56b_474",
15
+ "font-size-heading-xs": "awsui_font-size-heading-xs_4c84z_1t56b_480",
16
+ "font-size-heading-s": "awsui_font-size-heading-s_4c84z_1t56b_486",
17
+ "font-size-heading-m": "awsui_font-size-heading-m_4c84z_1t56b_493",
18
+ "font-size-heading-l": "awsui_font-size-heading-l_4c84z_1t56b_500",
19
+ "font-size-heading-xl": "awsui_font-size-heading-xl_4c84z_1t56b_507",
20
+ "font-size-display-l": "awsui_font-size-display-l_4c84z_1t56b_514",
21
+ "font-size-inherit": "awsui_font-size-inherit_4c84z_1t56b_521",
22
+ "icon-wrapper": "awsui_icon-wrapper_4c84z_1t56b_529",
23
+ "icon": "awsui_icon_4c84z_1t56b_529"
24
24
  };
25
25