@cloudscape-design/components 3.0.460 → 3.0.462

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 (255) hide show
  1. package/alert/styles.css.js +25 -25
  2. package/alert/styles.scoped.css +53 -59
  3. package/alert/styles.selectors.js +25 -25
  4. package/anchor-navigation/styles.css.js +8 -8
  5. package/anchor-navigation/styles.scoped.css +30 -39
  6. package/anchor-navigation/styles.selectors.js +8 -8
  7. package/annotation-context/annotation/styles.css.js +24 -24
  8. package/annotation-context/annotation/styles.scoped.css +48 -55
  9. package/annotation-context/annotation/styles.selectors.js +24 -24
  10. package/app-layout/content-wrapper/styles.css.js +3 -3
  11. package/app-layout/content-wrapper/styles.scoped.css +15 -15
  12. package/app-layout/content-wrapper/styles.selectors.js +3 -3
  13. package/app-layout/drawer/styles.css.js +12 -12
  14. package/app-layout/drawer/styles.scoped.css +30 -29
  15. package/app-layout/drawer/styles.selectors.js +12 -12
  16. package/app-layout/interfaces.d.ts +4 -3
  17. package/app-layout/interfaces.d.ts.map +1 -1
  18. package/app-layout/interfaces.js.map +1 -1
  19. package/app-layout/mobile-toolbar/styles.css.js +8 -8
  20. package/app-layout/mobile-toolbar/styles.scoped.css +17 -18
  21. package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
  22. package/app-layout/notifications/styles.css.js +3 -3
  23. package/app-layout/notifications/styles.scoped.css +6 -6
  24. package/app-layout/notifications/styles.selectors.js +3 -3
  25. package/app-layout/split-panel/styles.css.js +2 -2
  26. package/app-layout/split-panel/styles.scoped.css +3 -3
  27. package/app-layout/split-panel/styles.selectors.js +2 -2
  28. package/app-layout/styles.css.js +16 -16
  29. package/app-layout/styles.scoped.css +26 -26
  30. package/app-layout/styles.selectors.js +16 -16
  31. package/app-layout/toggles/styles.css.js +2 -2
  32. package/app-layout/toggles/styles.scoped.css +9 -10
  33. package/app-layout/toggles/styles.selectors.js +2 -2
  34. package/app-layout/utils/use-drawers.js.map +1 -1
  35. package/app-layout/visual-refresh/context.js +1 -1
  36. package/app-layout/visual-refresh/context.js.map +1 -1
  37. package/app-layout/visual-refresh/styles.css.js +80 -80
  38. package/app-layout/visual-refresh/styles.scoped.css +251 -268
  39. package/app-layout/visual-refresh/styles.selectors.js +80 -80
  40. package/area-chart/styles.css.js +6 -6
  41. package/area-chart/styles.scoped.css +11 -12
  42. package/area-chart/styles.selectors.js +6 -6
  43. package/attribute-editor/styles.css.js +14 -14
  44. package/attribute-editor/styles.scoped.css +29 -30
  45. package/attribute-editor/styles.selectors.js +14 -14
  46. package/autosuggest/styles.css.js +3 -3
  47. package/autosuggest/styles.scoped.css +5 -5
  48. package/autosuggest/styles.selectors.js +3 -3
  49. package/badge/styles.css.js +5 -5
  50. package/badge/styles.scoped.css +7 -11
  51. package/badge/styles.selectors.js +5 -5
  52. package/bar-chart/index.d.ts +1 -1
  53. package/bar-chart/index.d.ts.map +1 -1
  54. package/bar-chart/index.js +2 -2
  55. package/bar-chart/index.js.map +1 -1
  56. package/bar-chart/interfaces.d.ts +3 -8
  57. package/bar-chart/interfaces.d.ts.map +1 -1
  58. package/bar-chart/interfaces.js.map +1 -1
  59. package/box/styles.css.js +190 -190
  60. package/box/styles.scoped.css +240 -244
  61. package/box/styles.selectors.js +190 -190
  62. package/breadcrumb-group/item/styles.css.js +9 -9
  63. package/breadcrumb-group/item/styles.scoped.css +19 -20
  64. package/breadcrumb-group/item/styles.selectors.js +9 -9
  65. package/breadcrumb-group/styles.css.js +7 -7
  66. package/breadcrumb-group/styles.scoped.css +21 -28
  67. package/breadcrumb-group/styles.selectors.js +7 -7
  68. package/button/styles.css.js +20 -20
  69. package/button/styles.scoped.css +153 -155
  70. package/button/styles.selectors.js +20 -20
  71. package/button-dropdown/category-elements/styles.css.js +13 -13
  72. package/button-dropdown/category-elements/styles.scoped.css +50 -60
  73. package/button-dropdown/category-elements/styles.selectors.js +13 -13
  74. package/button-dropdown/item-element/styles.css.js +15 -15
  75. package/button-dropdown/item-element/styles.scoped.css +33 -38
  76. package/button-dropdown/item-element/styles.selectors.js +15 -15
  77. package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  78. package/button-dropdown/mobile-expandable-group/styles.scoped.css +8 -8
  79. package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  80. package/button-dropdown/styles.css.js +15 -15
  81. package/button-dropdown/styles.scoped.css +36 -39
  82. package/button-dropdown/styles.selectors.js +15 -15
  83. package/calendar/styles.css.js +18 -18
  84. package/calendar/styles.scoped.css +59 -75
  85. package/calendar/styles.selectors.js +18 -18
  86. package/cards/styles.css.js +38 -38
  87. package/cards/styles.scoped.css +94 -110
  88. package/cards/styles.selectors.js +38 -38
  89. package/code-editor/resizable-box/styles.css.js +3 -3
  90. package/code-editor/resizable-box/styles.scoped.css +10 -10
  91. package/code-editor/resizable-box/styles.selectors.js +3 -3
  92. package/code-editor/styles.css.js +32 -32
  93. package/code-editor/styles.scoped.css +198 -210
  94. package/code-editor/styles.selectors.js +32 -32
  95. package/collection-preferences/content-display/styles.css.js +11 -11
  96. package/collection-preferences/content-display/styles.scoped.css +30 -40
  97. package/collection-preferences/content-display/styles.selectors.js +11 -11
  98. package/collection-preferences/styles.css.js +37 -37
  99. package/collection-preferences/styles.scoped.css +66 -79
  100. package/collection-preferences/styles.selectors.js +37 -37
  101. package/column-layout/flexible-column-layout/styles.css.js +5 -5
  102. package/column-layout/flexible-column-layout/styles.scoped.css +9 -8
  103. package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
  104. package/column-layout/styles.css.js +13 -13
  105. package/column-layout/styles.scoped.css +64 -70
  106. package/column-layout/styles.selectors.js +13 -13
  107. package/container/styles.css.js +28 -28
  108. package/container/styles.scoped.css +98 -106
  109. package/container/styles.selectors.js +28 -28
  110. package/content-layout/styles.css.js +7 -7
  111. package/content-layout/styles.scoped.css +15 -15
  112. package/content-layout/styles.selectors.js +7 -7
  113. package/date-picker/styles.css.js +7 -7
  114. package/date-picker/styles.scoped.css +12 -12
  115. package/date-picker/styles.selectors.js +7 -7
  116. package/date-range-picker/calendar/grids/styles.css.js +25 -25
  117. package/date-range-picker/calendar/grids/styles.scoped.css +60 -71
  118. package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
  119. package/date-range-picker/relative-range/styles.css.js +9 -9
  120. package/date-range-picker/relative-range/styles.scoped.css +21 -21
  121. package/date-range-picker/relative-range/styles.selectors.js +9 -9
  122. package/date-range-picker/styles.css.js +38 -38
  123. package/date-range-picker/styles.scoped.css +68 -73
  124. package/date-range-picker/styles.selectors.js +38 -38
  125. package/drawer/styles.css.js +3 -3
  126. package/drawer/styles.scoped.css +18 -21
  127. package/drawer/styles.selectors.js +3 -3
  128. package/expandable-section/expandable-section-container.d.ts +2 -2
  129. package/expandable-section/expandable-section-container.d.ts.map +1 -1
  130. package/expandable-section/expandable-section-container.js.map +1 -1
  131. package/expandable-section/expandable-section-header.d.ts +2 -3
  132. package/expandable-section/expandable-section-header.d.ts.map +1 -1
  133. package/expandable-section/expandable-section-header.js +11 -7
  134. package/expandable-section/expandable-section-header.js.map +1 -1
  135. package/expandable-section/interfaces.d.ts +1 -0
  136. package/expandable-section/interfaces.d.ts.map +1 -1
  137. package/expandable-section/interfaces.js.map +1 -1
  138. package/expandable-section/internal.d.ts +4 -2
  139. package/expandable-section/internal.d.ts.map +1 -1
  140. package/expandable-section/internal.js.map +1 -1
  141. package/expandable-section/styles.css.js +32 -29
  142. package/expandable-section/styles.scoped.css +106 -99
  143. package/expandable-section/styles.selectors.js +32 -29
  144. package/expandable-section/utils.d.ts +3 -2
  145. package/expandable-section/utils.d.ts.map +1 -1
  146. package/expandable-section/utils.js +4 -1
  147. package/expandable-section/utils.js.map +1 -1
  148. package/file-upload/dropzone/styles.css.js +2 -2
  149. package/file-upload/dropzone/styles.scoped.css +4 -8
  150. package/file-upload/dropzone/styles.selectors.js +2 -2
  151. package/file-upload/file-option/styles.css.js +7 -7
  152. package/file-upload/file-option/styles.scoped.css +15 -15
  153. package/file-upload/file-option/styles.selectors.js +7 -7
  154. package/file-upload/styles.css.js +2 -2
  155. package/file-upload/styles.scoped.css +4 -4
  156. package/file-upload/styles.selectors.js +2 -2
  157. package/flashbar/styles.css.js +47 -47
  158. package/flashbar/styles.scoped.css +215 -220
  159. package/flashbar/styles.selectors.js +47 -47
  160. package/form/styles.css.js +9 -9
  161. package/form/styles.scoped.css +18 -18
  162. package/form/styles.selectors.js +9 -9
  163. package/form-field/styles.css.js +19 -19
  164. package/form-field/styles.scoped.css +34 -34
  165. package/form-field/styles.selectors.js +19 -19
  166. package/internal/components/cartesian-chart/interfaces.d.ts.map +1 -1
  167. package/internal/components/cartesian-chart/interfaces.js.map +1 -1
  168. package/internal/components/chart-plot/index.d.ts +1 -1
  169. package/internal/components/chart-plot/index.d.ts.map +1 -1
  170. package/internal/components/chart-plot/index.js.map +1 -1
  171. package/internal/components/chart-series-details/index.d.ts +12 -4
  172. package/internal/components/chart-series-details/index.d.ts.map +1 -1
  173. package/internal/components/chart-series-details/index.js +46 -10
  174. package/internal/components/chart-series-details/index.js.map +1 -1
  175. package/internal/components/chart-series-details/series-details-text.d.ts +2 -0
  176. package/internal/components/chart-series-details/series-details-text.d.ts.map +1 -0
  177. package/internal/components/chart-series-details/series-details-text.js +17 -0
  178. package/internal/components/chart-series-details/series-details-text.js.map +1 -0
  179. package/internal/components/chart-series-details/styles.css.js +19 -5
  180. package/internal/components/chart-series-details/styles.scoped.css +141 -15
  181. package/internal/components/chart-series-details/styles.selectors.js +19 -5
  182. package/internal/environment.js +1 -1
  183. package/internal/environment.json +1 -1
  184. package/internal/manifest.json +1 -1
  185. package/line-chart/interfaces.d.ts +2 -8
  186. package/line-chart/interfaces.d.ts.map +1 -1
  187. package/line-chart/interfaces.js.map +1 -1
  188. package/mixed-line-bar-chart/chart-container.d.ts +2 -1
  189. package/mixed-line-bar-chart/chart-container.d.ts.map +1 -1
  190. package/mixed-line-bar-chart/chart-container.js +17 -8
  191. package/mixed-line-bar-chart/chart-container.js.map +1 -1
  192. package/mixed-line-bar-chart/chart-popover.d.ts +1 -0
  193. package/mixed-line-bar-chart/chart-popover.d.ts.map +1 -1
  194. package/mixed-line-bar-chart/chart-popover.js +13 -3
  195. package/mixed-line-bar-chart/chart-popover.js.map +1 -1
  196. package/mixed-line-bar-chart/format-highlighted.d.ts +7 -2
  197. package/mixed-line-bar-chart/format-highlighted.d.ts.map +1 -1
  198. package/mixed-line-bar-chart/format-highlighted.js +25 -5
  199. package/mixed-line-bar-chart/format-highlighted.js.map +1 -1
  200. package/mixed-line-bar-chart/interfaces.d.ts +38 -6
  201. package/mixed-line-bar-chart/interfaces.d.ts.map +1 -1
  202. package/mixed-line-bar-chart/interfaces.js.map +1 -1
  203. package/mixed-line-bar-chart/internal.d.ts +1 -1
  204. package/mixed-line-bar-chart/internal.d.ts.map +1 -1
  205. package/mixed-line-bar-chart/internal.js +2 -2
  206. package/mixed-line-bar-chart/internal.js.map +1 -1
  207. package/modal/styles.css.js +23 -23
  208. package/modal/styles.scoped.css +39 -39
  209. package/modal/styles.selectors.js +23 -23
  210. package/package.json +1 -1
  211. package/pie-chart/interfaces.d.ts +5 -5
  212. package/pie-chart/interfaces.d.ts.map +1 -1
  213. package/pie-chart/interfaces.js.map +1 -1
  214. package/pie-chart/pie-chart.d.ts +1 -1
  215. package/pie-chart/pie-chart.d.ts.map +1 -1
  216. package/pie-chart/pie-chart.js +21 -18
  217. package/pie-chart/pie-chart.js.map +1 -1
  218. package/table/column-widths-utils.d.ts +1 -0
  219. package/table/column-widths-utils.d.ts.map +1 -1
  220. package/table/column-widths-utils.js +18 -0
  221. package/table/column-widths-utils.js.map +1 -1
  222. package/table/internal.d.ts.map +1 -1
  223. package/table/internal.js +7 -6
  224. package/table/internal.js.map +1 -1
  225. package/table/no-data-cell.d.ts +13 -0
  226. package/table/no-data-cell.d.ts.map +1 -0
  227. package/table/no-data-cell.js +24 -0
  228. package/table/no-data-cell.js.map +1 -0
  229. package/table/sticky-columns/use-sticky-columns.js +1 -1
  230. package/table/sticky-columns/use-sticky-columns.js.map +1 -1
  231. package/table/thead.d.ts +0 -1
  232. package/table/thead.d.ts.map +1 -1
  233. package/table/thead.js +3 -18
  234. package/table/thead.js.map +1 -1
  235. package/table/use-column-widths.d.ts +5 -3
  236. package/table/use-column-widths.d.ts.map +1 -1
  237. package/table/use-column-widths.js +61 -11
  238. package/table/use-column-widths.js.map +1 -1
  239. package/table/use-sticky-header.d.ts.map +1 -1
  240. package/table/use-sticky-header.js +0 -13
  241. package/table/use-sticky-header.js.map +1 -1
  242. package/test-utils/dom/internal/chart-popover.d.ts +8 -0
  243. package/test-utils/dom/internal/chart-popover.js +23 -0
  244. package/test-utils/dom/internal/chart-popover.js.map +1 -1
  245. package/test-utils/selectors/internal/chart-popover.d.ts +8 -0
  246. package/test-utils/selectors/internal/chart-popover.js +22 -0
  247. package/test-utils/selectors/internal/chart-popover.js.map +1 -1
  248. package/test-utils/tsconfig.tsbuildinfo +1 -1
  249. package/tiles/styles.css.js +29 -29
  250. package/tiles/styles.scoped.css +91 -97
  251. package/tiles/styles.selectors.js +29 -29
  252. package/table/node-data-cell.d.ts +0 -15
  253. package/table/node-data-cell.d.ts.map +0 -1
  254. package/table/node-data-cell.js +0 -25
  255. package/table/node-data-cell.js.map +0 -1
@@ -2,52 +2,52 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "flash-with-motion": "awsui_flash-with-motion_1q84n_k29fa_93",
6
- "enter": "awsui_enter_1q84n_k29fa_93",
7
- "flash-body": "awsui_flash-body_1q84n_k29fa_107",
8
- "flash-message": "awsui_flash-message_1q84n_k29fa_107",
9
- "flash-header": "awsui_flash-header_1q84n_k29fa_107",
10
- "flash-content": "awsui_flash-content_1q84n_k29fa_108",
11
- "action-button-wrapper": "awsui_action-button-wrapper_1q84n_k29fa_109",
12
- "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_k29fa_110",
13
- "flash-icon": "awsui_flash-icon_1q84n_k29fa_133",
14
- "entering": "awsui_entering_1q84n_k29fa_146",
15
- "entered": "awsui_entered_1q84n_k29fa_167",
16
- "exiting": "awsui_exiting_1q84n_k29fa_272",
17
- "stack": "awsui_stack_1q84n_k29fa_294",
18
- "animation-running": "awsui_animation-running_1q84n_k29fa_294",
19
- "item": "awsui_item_1q84n_k29fa_294",
20
- "flash-list-item": "awsui_flash-list-item_1q84n_k29fa_295",
21
- "notification-bar": "awsui_notification-bar_1q84n_k29fa_296",
22
- "collapsed": "awsui_collapsed_1q84n_k29fa_316",
23
- "animation-ready": "awsui_animation-ready_1q84n_k29fa_316",
24
- "expanded-only": "awsui_expanded-only_1q84n_k29fa_316",
25
- "expanded": "awsui_expanded_1q84n_k29fa_316",
26
- "flash": "awsui_flash_1q84n_k29fa_93",
27
- "collapsible": "awsui_collapsible_1q84n_k29fa_380",
28
- "short-list": "awsui_short-list_1q84n_k29fa_386",
29
- "visual-refresh": "awsui_visual-refresh_1q84n_k29fa_386",
30
- "status": "awsui_status_1q84n_k29fa_599",
31
- "header": "awsui_header_1q84n_k29fa_599",
32
- "item-count": "awsui_item-count_1q84n_k29fa_600",
33
- "button": "awsui_button_1q84n_k29fa_601",
34
- "type-count": "awsui_type-count_1q84n_k29fa_634",
35
- "count-number": "awsui_count-number_1q84n_k29fa_634",
36
- "icon": "awsui_icon_1q84n_k29fa_668",
37
- "floating": "awsui_floating_1q84n_k29fa_706",
38
- "flashbar": "awsui_flashbar_1q84n_k29fa_714",
39
- "flash-refresh": "awsui_flash-refresh_1q84n_k29fa_767",
40
- "flash-list": "awsui_flash-list_1q84n_k29fa_295",
41
- "flash-focus-container": "awsui_flash-focus-container_1q84n_k29fa_788",
42
- "flash-text": "awsui_flash-text_1q84n_k29fa_815",
43
- "dismiss-button": "awsui_dismiss-button_1q84n_k29fa_110",
44
- "breakpoint-default": "awsui_breakpoint-default_1q84n_k29fa_857",
45
- "action-button": "awsui_action-button_1q84n_k29fa_109",
46
- "action-slot": "awsui_action-slot_1q84n_k29fa_867",
47
- "flash-type-success": "awsui_flash-type-success_1q84n_k29fa_871",
48
- "flash-type-error": "awsui_flash-type-error_1q84n_k29fa_875",
49
- "flash-type-info": "awsui_flash-type-info_1q84n_k29fa_879",
50
- "flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_k29fa_880",
51
- "flash-type-warning": "awsui_flash-type-warning_1q84n_k29fa_884"
5
+ "flash-with-motion": "awsui_flash-with-motion_1q84n_zgv7z_93",
6
+ "enter": "awsui_enter_1q84n_zgv7z_93",
7
+ "flash-body": "awsui_flash-body_1q84n_zgv7z_107",
8
+ "flash-message": "awsui_flash-message_1q84n_zgv7z_107",
9
+ "flash-header": "awsui_flash-header_1q84n_zgv7z_107",
10
+ "flash-content": "awsui_flash-content_1q84n_zgv7z_108",
11
+ "action-button-wrapper": "awsui_action-button-wrapper_1q84n_zgv7z_109",
12
+ "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_zgv7z_110",
13
+ "flash-icon": "awsui_flash-icon_1q84n_zgv7z_133",
14
+ "entering": "awsui_entering_1q84n_zgv7z_146",
15
+ "entered": "awsui_entered_1q84n_zgv7z_167",
16
+ "exiting": "awsui_exiting_1q84n_zgv7z_272",
17
+ "stack": "awsui_stack_1q84n_zgv7z_294",
18
+ "animation-running": "awsui_animation-running_1q84n_zgv7z_294",
19
+ "item": "awsui_item_1q84n_zgv7z_294",
20
+ "flash-list-item": "awsui_flash-list-item_1q84n_zgv7z_295",
21
+ "notification-bar": "awsui_notification-bar_1q84n_zgv7z_296",
22
+ "collapsed": "awsui_collapsed_1q84n_zgv7z_316",
23
+ "animation-ready": "awsui_animation-ready_1q84n_zgv7z_316",
24
+ "expanded-only": "awsui_expanded-only_1q84n_zgv7z_316",
25
+ "expanded": "awsui_expanded_1q84n_zgv7z_316",
26
+ "flash": "awsui_flash_1q84n_zgv7z_93",
27
+ "collapsible": "awsui_collapsible_1q84n_zgv7z_380",
28
+ "short-list": "awsui_short-list_1q84n_zgv7z_386",
29
+ "visual-refresh": "awsui_visual-refresh_1q84n_zgv7z_386",
30
+ "status": "awsui_status_1q84n_zgv7z_602",
31
+ "header": "awsui_header_1q84n_zgv7z_602",
32
+ "item-count": "awsui_item-count_1q84n_zgv7z_603",
33
+ "button": "awsui_button_1q84n_zgv7z_604",
34
+ "type-count": "awsui_type-count_1q84n_zgv7z_639",
35
+ "count-number": "awsui_count-number_1q84n_zgv7z_639",
36
+ "icon": "awsui_icon_1q84n_zgv7z_673",
37
+ "floating": "awsui_floating_1q84n_zgv7z_711",
38
+ "flashbar": "awsui_flashbar_1q84n_zgv7z_719",
39
+ "flash-refresh": "awsui_flash-refresh_1q84n_zgv7z_765",
40
+ "flash-list": "awsui_flash-list_1q84n_zgv7z_295",
41
+ "flash-focus-container": "awsui_flash-focus-container_1q84n_zgv7z_784",
42
+ "flash-text": "awsui_flash-text_1q84n_zgv7z_811",
43
+ "dismiss-button": "awsui_dismiss-button_1q84n_zgv7z_110",
44
+ "breakpoint-default": "awsui_breakpoint-default_1q84n_zgv7z_852",
45
+ "action-button": "awsui_action-button_1q84n_zgv7z_109",
46
+ "action-slot": "awsui_action-slot_1q84n_zgv7z_862",
47
+ "flash-type-success": "awsui_flash-type-success_1q84n_zgv7z_866",
48
+ "flash-type-error": "awsui_flash-type-error_1q84n_zgv7z_870",
49
+ "flash-type-info": "awsui_flash-type-info_1q84n_zgv7z_874",
50
+ "flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_zgv7z_875",
51
+ "flash-type-warning": "awsui_flash-type-warning_1q84n_zgv7z_879"
52
52
  };
53
53
 
@@ -1,14 +1,14 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_1i0s3_13020_93",
5
- "header": "awsui_header_1i0s3_13020_106",
6
- "full-page": "awsui_full-page_1i0s3_13020_106",
7
- "content": "awsui_content_1i0s3_13020_110",
8
- "error": "awsui_error_1i0s3_13020_114",
9
- "footer": "awsui_footer_1i0s3_13020_118",
10
- "actions-section": "awsui_actions-section_1i0s3_13020_122",
11
- "secondary-actions": "awsui_secondary-actions_1i0s3_13020_131",
12
- "actions": "awsui_actions_1i0s3_13020_122"
4
+ "root": "awsui_root_1i0s3_1k1ul_93",
5
+ "header": "awsui_header_1i0s3_1k1ul_106",
6
+ "full-page": "awsui_full-page_1i0s3_1k1ul_106",
7
+ "content": "awsui_content_1i0s3_1k1ul_110",
8
+ "error": "awsui_error_1i0s3_1k1ul_114",
9
+ "footer": "awsui_footer_1i0s3_1k1ul_118",
10
+ "actions-section": "awsui_actions-section_1i0s3_1k1ul_122",
11
+ "secondary-actions": "awsui_secondary-actions_1i0s3_1k1ul_131",
12
+ "actions": "awsui_actions_1i0s3_1k1ul_122"
13
13
  };
14
14
 
@@ -90,7 +90,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_root_1i0s3_13020_93:not(#\9) {
93
+ .awsui_root_1i0s3_1k1ul_93:not(#\9) {
94
94
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
95
95
  border-collapse: separate;
96
96
  border-spacing: 0;
@@ -129,39 +129,39 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
129
129
  -moz-osx-font-smoothing: auto;
130
130
  }
131
131
 
132
- .awsui_header_1i0s3_13020_106:not(#\9):not(.awsui_full-page_1i0s3_13020_106) {
133
- margin-block-end: var(--space-scaled-m-mo5yse, 16px);
132
+ .awsui_header_1i0s3_1k1ul_106:not(#\9):not(.awsui_full-page_1i0s3_1k1ul_106) {
133
+ margin-bottom: var(--space-scaled-m-mo5yse, 16px);
134
134
  }
135
135
 
136
- .awsui_content_1i0s3_13020_110:not(#\9) {
136
+ .awsui_content_1i0s3_1k1ul_110:not(#\9) {
137
137
  /* used in test-utils */
138
138
  }
139
139
 
140
- .awsui_error_1i0s3_13020_114:not(#\9) {
140
+ .awsui_error_1i0s3_1k1ul_114:not(#\9) {
141
141
  /* used in test-utils */
142
142
  }
143
143
 
144
- .awsui_footer_1i0s3_13020_118:not(#\9) {
145
- margin-block-start: var(--space-scaled-l-0hpmd7, 20px);
144
+ .awsui_footer_1i0s3_1k1ul_118:not(#\9) {
145
+ margin-top: var(--space-scaled-l-0hpmd7, 20px);
146
146
  }
147
147
 
148
- .awsui_actions-section_1i0s3_13020_122:not(#\9) {
148
+ .awsui_actions-section_1i0s3_1k1ul_122:not(#\9) {
149
149
  display: flex;
150
150
  flex-direction: row-reverse;
151
151
  justify-content: space-between;
152
152
  flex-wrap: wrap;
153
- margin-inline-start: calc(-1 * var(--space-scaled-m-mo5yse, 16px));
154
- margin-block-end: calc(-1 * var(--space-scaled-m-mo5yse, 16px));
153
+ margin-left: calc(-1 * var(--space-scaled-m-mo5yse, 16px));
154
+ margin-bottom: calc(-1 * var(--space-scaled-m-mo5yse, 16px));
155
155
  }
156
156
 
157
- .awsui_secondary-actions_1i0s3_13020_131:not(#\9) {
158
- min-inline-size: 1px;
159
- margin-inline-start: var(--space-scaled-m-mo5yse, 16px);
160
- margin-block-end: var(--space-scaled-m-mo5yse, 16px);
157
+ .awsui_secondary-actions_1i0s3_1k1ul_131:not(#\9) {
158
+ min-width: 1px;
159
+ margin-left: var(--space-scaled-m-mo5yse, 16px);
160
+ margin-bottom: var(--space-scaled-m-mo5yse, 16px);
161
161
  }
162
162
 
163
- .awsui_actions_1i0s3_13020_122:not(#\9) {
164
- min-inline-size: 1px;
165
- margin-inline-start: var(--space-scaled-m-mo5yse, 16px);
166
- margin-block-end: var(--space-scaled-m-mo5yse, 16px);
163
+ .awsui_actions_1i0s3_1k1ul_122:not(#\9) {
164
+ min-width: 1px;
165
+ margin-left: var(--space-scaled-m-mo5yse, 16px);
166
+ margin-bottom: var(--space-scaled-m-mo5yse, 16px);
167
167
  }
@@ -2,14 +2,14 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_1i0s3_13020_93",
6
- "header": "awsui_header_1i0s3_13020_106",
7
- "full-page": "awsui_full-page_1i0s3_13020_106",
8
- "content": "awsui_content_1i0s3_13020_110",
9
- "error": "awsui_error_1i0s3_13020_114",
10
- "footer": "awsui_footer_1i0s3_13020_118",
11
- "actions-section": "awsui_actions-section_1i0s3_13020_122",
12
- "secondary-actions": "awsui_secondary-actions_1i0s3_13020_131",
13
- "actions": "awsui_actions_1i0s3_13020_122"
5
+ "root": "awsui_root_1i0s3_1k1ul_93",
6
+ "header": "awsui_header_1i0s3_1k1ul_106",
7
+ "full-page": "awsui_full-page_1i0s3_1k1ul_106",
8
+ "content": "awsui_content_1i0s3_1k1ul_110",
9
+ "error": "awsui_error_1i0s3_1k1ul_114",
10
+ "footer": "awsui_footer_1i0s3_1k1ul_118",
11
+ "actions-section": "awsui_actions-section_1i0s3_1k1ul_122",
12
+ "secondary-actions": "awsui_secondary-actions_1i0s3_1k1ul_131",
13
+ "actions": "awsui_actions_1i0s3_1k1ul_122"
14
14
  };
15
15
 
@@ -1,24 +1,24 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_d3ru4_97",
5
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_d3ru4_1",
6
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_d3ru4_124",
7
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_d3ru4_1",
8
- "error": "awsui_error_14mhv_d3ru4_97",
9
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_d3ru4_1",
10
- "root": "awsui_root_14mhv_d3ru4_168",
11
- "label": "awsui_label_14mhv_d3ru4_182",
12
- "info": "awsui_info_14mhv_d3ru4_195",
13
- "description": "awsui_description_14mhv_d3ru4_200",
14
- "constraint": "awsui_constraint_14mhv_d3ru4_201",
15
- "hints": "awsui_hints_14mhv_d3ru4_208",
16
- "constraint-has-error": "awsui_constraint-has-error_14mhv_d3ru4_209",
17
- "secondary-control": "awsui_secondary-control_14mhv_d3ru4_213",
18
- "controls": "awsui_controls_14mhv_d3ru4_217",
19
- "label-hidden": "awsui_label-hidden_14mhv_d3ru4_217",
20
- "control": "awsui_control_14mhv_d3ru4_217",
21
- "error__message": "awsui_error__message_14mhv_d3ru4_235",
22
- "visually-hidden": "awsui_visually-hidden_14mhv_d3ru4_239"
4
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_62fef_97",
5
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_62fef_1",
6
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_62fef_124",
7
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_62fef_1",
8
+ "error": "awsui_error_14mhv_62fef_97",
9
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_62fef_1",
10
+ "root": "awsui_root_14mhv_62fef_168",
11
+ "label": "awsui_label_14mhv_62fef_182",
12
+ "info": "awsui_info_14mhv_62fef_195",
13
+ "description": "awsui_description_14mhv_62fef_200",
14
+ "constraint": "awsui_constraint_14mhv_62fef_201",
15
+ "hints": "awsui_hints_14mhv_62fef_208",
16
+ "constraint-has-error": "awsui_constraint-has-error_14mhv_62fef_209",
17
+ "secondary-control": "awsui_secondary-control_14mhv_62fef_213",
18
+ "controls": "awsui_controls_14mhv_62fef_217",
19
+ "label-hidden": "awsui_label-hidden_14mhv_62fef_217",
20
+ "control": "awsui_control_14mhv_62fef_217",
21
+ "error__message": "awsui_error__message_14mhv_62fef_235",
22
+ "visually-hidden": "awsui_visually-hidden_14mhv_62fef_239"
23
23
  };
24
24
 
@@ -94,10 +94,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
94
94
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
95
  SPDX-License-Identifier: Apache-2.0
96
96
  */
97
- .awsui_error-icon-shake-wrapper_14mhv_d3ru4_97:not(#\9) {
98
- animation: awsui_awsui-motion-shake-horizontally_14mhv_d3ru4_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms);
97
+ .awsui_error-icon-shake-wrapper_14mhv_62fef_97:not(#\9) {
98
+ animation: awsui_awsui-motion-shake-horizontally_14mhv_62fef_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms);
99
99
  }
100
- @keyframes awsui_awsui-motion-shake-horizontally_14mhv_d3ru4_1 {
100
+ @keyframes awsui_awsui-motion-shake-horizontally_14mhv_62fef_1 {
101
101
  0% {
102
102
  transform: translateX(-5px);
103
103
  animation-timing-function: linear;
@@ -111,20 +111,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
111
111
  }
112
112
  }
113
113
  @media (prefers-reduced-motion: reduce) {
114
- .awsui_error-icon-shake-wrapper_14mhv_d3ru4_97:not(#\9) {
114
+ .awsui_error-icon-shake-wrapper_14mhv_62fef_97:not(#\9) {
115
115
  animation: none;
116
116
  transition: none;
117
117
  }
118
118
  }
119
- .awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_d3ru4_97:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_d3ru4_97:not(#\9) {
119
+ .awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_62fef_97:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_62fef_97:not(#\9) {
120
120
  animation: none;
121
121
  transition: none;
122
122
  }
123
123
 
124
- .awsui_error-icon-scale-wrapper_14mhv_d3ru4_124:not(#\9) {
125
- animation: awsui_awsui-motion-scale-popup_14mhv_d3ru4_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
124
+ .awsui_error-icon-scale-wrapper_14mhv_62fef_124:not(#\9) {
125
+ animation: awsui_awsui-motion-scale-popup_14mhv_62fef_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
126
126
  }
127
- @keyframes awsui_awsui-motion-scale-popup_14mhv_d3ru4_1 {
127
+ @keyframes awsui_awsui-motion-scale-popup_14mhv_62fef_1 {
128
128
  0% {
129
129
  transform: scale(0.95);
130
130
  }
@@ -133,20 +133,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
133
133
  }
134
134
  }
135
135
  @media (prefers-reduced-motion: reduce) {
136
- .awsui_error-icon-scale-wrapper_14mhv_d3ru4_124:not(#\9) {
136
+ .awsui_error-icon-scale-wrapper_14mhv_62fef_124:not(#\9) {
137
137
  animation: none;
138
138
  transition: none;
139
139
  }
140
140
  }
141
- .awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_d3ru4_124:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_d3ru4_124:not(#\9) {
141
+ .awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_62fef_124:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_62fef_124:not(#\9) {
142
142
  animation: none;
143
143
  transition: none;
144
144
  }
145
145
 
146
- .awsui_error_14mhv_d3ru4_97:not(#\9) {
147
- animation: awsui_awsui-motion-fade-in-0_14mhv_d3ru4_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
146
+ .awsui_error_14mhv_62fef_97:not(#\9) {
147
+ animation: awsui_awsui-motion-fade-in-0_14mhv_62fef_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
148
148
  }
149
- @keyframes awsui_awsui-motion-fade-in-0_14mhv_d3ru4_1 {
149
+ @keyframes awsui_awsui-motion-fade-in-0_14mhv_62fef_1 {
150
150
  from {
151
151
  opacity: 0;
152
152
  }
@@ -155,17 +155,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
155
155
  }
156
156
  }
157
157
  @media (prefers-reduced-motion: reduce) {
158
- .awsui_error_14mhv_d3ru4_97:not(#\9) {
158
+ .awsui_error_14mhv_62fef_97:not(#\9) {
159
159
  animation: none;
160
160
  transition: none;
161
161
  }
162
162
  }
163
- .awsui-motion-disabled .awsui_error_14mhv_d3ru4_97:not(#\9), .awsui-mode-entering .awsui_error_14mhv_d3ru4_97:not(#\9) {
163
+ .awsui-motion-disabled .awsui_error_14mhv_62fef_97:not(#\9), .awsui-mode-entering .awsui_error_14mhv_62fef_97:not(#\9) {
164
164
  animation: none;
165
165
  transition: none;
166
166
  }
167
167
 
168
- .awsui_root_14mhv_d3ru4_168:not(#\9) {
168
+ .awsui_root_14mhv_62fef_168:not(#\9) {
169
169
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
170
170
  border-collapse: separate;
171
171
  border-spacing: 0;
@@ -205,7 +205,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
205
205
  box-sizing: border-box;
206
206
  }
207
207
 
208
- .awsui_label_14mhv_d3ru4_182:not(#\9) {
208
+ .awsui_label_14mhv_62fef_182:not(#\9) {
209
209
  box-sizing: border-box;
210
210
  color: var(--color-text-form-label-ktbzsd, #000716);
211
211
  display: inline;
@@ -214,42 +214,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
214
214
  font-weight: var(--font-display-label-weight-815ja9, 700);
215
215
  margin-right: var(--space-xs-zb16t3, 8px);
216
216
  }
217
- .awsui_label_14mhv_d3ru4_182:not(#\9):only-child {
217
+ .awsui_label_14mhv_62fef_182:not(#\9):only-child {
218
218
  margin: 0;
219
219
  }
220
220
 
221
- .awsui_info_14mhv_d3ru4_195:not(#\9) {
222
- padding-inline-start: var(--space-xs-zb16t3, 8px);
223
- border-inline-start: var(--border-divider-section-width-8a5uu9, 2px) solid var(--color-border-divider-default-et9j7s, #e9ebed);
221
+ .awsui_info_14mhv_62fef_195:not(#\9) {
222
+ padding-left: var(--space-xs-zb16t3, 8px);
223
+ border-left: var(--border-divider-section-width-8a5uu9, 2px) solid var(--color-border-divider-default-et9j7s, #e9ebed);
224
224
  }
225
225
 
226
- .awsui_description_14mhv_d3ru4_200:not(#\9),
227
- .awsui_constraint_14mhv_d3ru4_201:not(#\9) {
226
+ .awsui_description_14mhv_62fef_200:not(#\9),
227
+ .awsui_constraint_14mhv_62fef_201:not(#\9) {
228
228
  color: var(--color-text-form-secondary-dxc248, #5f6b7a);
229
229
  font-size: var(--font-size-body-s-asqx2i, 12px);
230
230
  line-height: var(--line-height-body-s-7zv1j5, 16px);
231
231
  letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
232
232
  }
233
233
 
234
- .awsui_hints_14mhv_d3ru4_208:not(#\9),
235
- .awsui_constraint-has-error_14mhv_d3ru4_209:not(#\9) {
236
- padding-block-start: var(--space-xxs-p8yyaw, 4px);
234
+ .awsui_hints_14mhv_62fef_208:not(#\9),
235
+ .awsui_constraint-has-error_14mhv_62fef_209:not(#\9) {
236
+ padding-top: var(--space-xxs-p8yyaw, 4px);
237
237
  }
238
238
 
239
- .awsui_secondary-control_14mhv_d3ru4_213:not(#\9) {
239
+ .awsui_secondary-control_14mhv_62fef_213:not(#\9) {
240
240
  /* used in test-utils */
241
241
  }
242
242
 
243
- .awsui_controls_14mhv_d3ru4_217:not(#\9):not(.awsui_label-hidden_14mhv_d3ru4_217) {
244
- padding-block-start: var(--space-xxs-p8yyaw, 4px);
243
+ .awsui_controls_14mhv_62fef_217:not(#\9):not(.awsui_label-hidden_14mhv_62fef_217) {
244
+ padding-top: var(--space-xxs-p8yyaw, 4px);
245
245
  }
246
246
 
247
- .awsui_control_14mhv_d3ru4_217:not(#\9) {
247
+ .awsui_control_14mhv_62fef_217:not(#\9) {
248
248
  min-width: 0;
249
249
  word-break: break-word;
250
250
  }
251
251
 
252
- .awsui_error_14mhv_d3ru4_97:not(#\9) {
252
+ .awsui_error_14mhv_62fef_97:not(#\9) {
253
253
  color: var(--color-text-status-error-wdvepn, #d91515);
254
254
  font-size: var(--font-size-body-s-asqx2i, 12px);
255
255
  line-height: var(--line-height-body-s-7zv1j5, 16px);
@@ -258,11 +258,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
258
258
  align-items: flex-start;
259
259
  }
260
260
 
261
- .awsui_error__message_14mhv_d3ru4_235:not(#\9) {
262
- margin-inline-start: var(--space-xxs-p8yyaw, 4px);
261
+ .awsui_error__message_14mhv_62fef_235:not(#\9) {
262
+ margin-left: var(--space-xxs-p8yyaw, 4px);
263
263
  }
264
264
 
265
- .awsui_visually-hidden_14mhv_d3ru4_239:not(#\9) {
265
+ .awsui_visually-hidden_14mhv_62fef_239:not(#\9) {
266
266
  position: absolute !important;
267
267
  top: -9999px !important;
268
268
  left: -9999px !important;
@@ -2,24 +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
- "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_d3ru4_97",
6
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_d3ru4_1",
7
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_d3ru4_124",
8
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_d3ru4_1",
9
- "error": "awsui_error_14mhv_d3ru4_97",
10
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_d3ru4_1",
11
- "root": "awsui_root_14mhv_d3ru4_168",
12
- "label": "awsui_label_14mhv_d3ru4_182",
13
- "info": "awsui_info_14mhv_d3ru4_195",
14
- "description": "awsui_description_14mhv_d3ru4_200",
15
- "constraint": "awsui_constraint_14mhv_d3ru4_201",
16
- "hints": "awsui_hints_14mhv_d3ru4_208",
17
- "constraint-has-error": "awsui_constraint-has-error_14mhv_d3ru4_209",
18
- "secondary-control": "awsui_secondary-control_14mhv_d3ru4_213",
19
- "controls": "awsui_controls_14mhv_d3ru4_217",
20
- "label-hidden": "awsui_label-hidden_14mhv_d3ru4_217",
21
- "control": "awsui_control_14mhv_d3ru4_217",
22
- "error__message": "awsui_error__message_14mhv_d3ru4_235",
23
- "visually-hidden": "awsui_visually-hidden_14mhv_d3ru4_239"
5
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_62fef_97",
6
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_62fef_1",
7
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_62fef_124",
8
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_62fef_1",
9
+ "error": "awsui_error_14mhv_62fef_97",
10
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_62fef_1",
11
+ "root": "awsui_root_14mhv_62fef_168",
12
+ "label": "awsui_label_14mhv_62fef_182",
13
+ "info": "awsui_info_14mhv_62fef_195",
14
+ "description": "awsui_description_14mhv_62fef_200",
15
+ "constraint": "awsui_constraint_14mhv_62fef_201",
16
+ "hints": "awsui_hints_14mhv_62fef_208",
17
+ "constraint-has-error": "awsui_constraint-has-error_14mhv_62fef_209",
18
+ "secondary-control": "awsui_secondary-control_14mhv_62fef_213",
19
+ "controls": "awsui_controls_14mhv_62fef_217",
20
+ "label-hidden": "awsui_label-hidden_14mhv_62fef_217",
21
+ "control": "awsui_control_14mhv_62fef_217",
22
+ "error__message": "awsui_error__message_14mhv_62fef_235",
23
+ "visually-hidden": "awsui_visually-hidden_14mhv_62fef_239"
24
24
  };
25
25
 
@@ -1 +1 @@
1
- {"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QACjE,cAAc,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAElC,iEAAiE;QACjE,cAAc,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;KACxC;CACF;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,aAAa,CAAC;AAClE,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,aAAa,CAAC;AACnE,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE1C,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,cAAc,IAAI,CAAC,SAAS,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;AAC5G,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS,cAAc,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;AAC/D,MAAM,MAAM,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../../base-component';\nimport { NonCancelableEventHandler } from '../../events';\n\nexport interface CartesianChartProps<T extends ChartDataTypes, Series> extends BaseComponentProps {\n /**\n * Determines the type of scale for values on the x axis.\n */\n xScaleType?: ScaleType;\n\n /**\n * Determines the type of scale for values on the y axis.\n */\n yScaleType?: 'linear' | 'log';\n\n /**\n * Determines the domain of the x axis, i.e. the range of values that will be visible in the chart.\n * For numerical and time-based data this is represented as an array with two values: `[minimumValue, maximumValue]`.\n * For categorical data this is represented as an array of strings that determine the categories to display.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n xDomain?: T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\n\n /**\n * Determines the domain of the y axis, i.e. the range of values that will be visible in the chart.\n * The domain is defined by a tuple: `[minimumValue, maximumValue]`.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n yDomain?: ReadonlyArray<number>;\n\n /**\n * The title of the x axis.\n */\n xTitle?: string;\n\n /**\n * The title of the y axis.\n */\n yTitle?: string;\n\n /**\n * Optional title for the legend.\n */\n legendTitle?: string;\n\n /**\n * ARIA label that is assigned to the chart itself. It should match the visible label on the page, e.g. in the container header.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets `aria-labelledby` on the chart itself.\n * If there is a visible label for the chart on the page, e.g. in the container header, set this property to the ID of that header element.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * A description of the chart that assistive technologies can use (through `aria-describedby`).\n * Provide a concise summary of the data visualized in the chart.\n */\n ariaDescription?: string;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: CartesianChartProps.I18nStrings<T>;\n\n /**\n * Function to format the displayed label of an x axis tick.\n */\n xTickFormatter?: CartesianChartProps.TickFormatter<T>;\n\n /**\n * Function to format the displayed label of a y axis tick.\n */\n yTickFormatter?: CartesianChartProps.TickFormatter<number>;\n\n /**\n * An optional pixel value number that fixes the height of the chart area.\n * If not set explicitly, the component will use a default height that is defined internally.\n * When used with `fitHeight`, this property defines the minimum height of the chart area.\n */\n height?: number;\n\n /**\n * Determines the maximum width the detail popover will be limited to.\n */\n detailPopoverSize?: 'small' | 'medium' | 'large';\n\n /**\n * Additional content that is displayed at the bottom of the detail popover.\n */\n detailPopoverFooter?: CartesianChartProps.DetailPopoverFooter<T>;\n\n /**\n * When set to `true`, the legend beneath the chart is not displayed.\n * It is highly recommended to keep this set to `false`.\n */\n hideLegend?: boolean;\n\n /**\n * When set to `true`, the default filtering dropdown is not displayed.\n * It is still possible to render additional filters with the `additionalFilters` slot.\n */\n hideFilter?: boolean;\n\n /**\n * Additional filters that are added above the chart component.\n * Make sure to update the `data` property when any of your custom filters change the data to be displayed.\n */\n additionalFilters?: React.ReactNode;\n\n /**\n * The currently highlighted data series, usually through hovering over a series or the legend.\n * A value of `null` means no series is highlighted.\n *\n * - If you do not set this property, series are highlighted automatically when hovering over one of the triggers (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onHighlightChange` listener to update this property when a series should be highlighted (controlled behavior).\n */\n highlightedSeries?: Series | null;\n\n /**\n * An array of series objects that determines which of the data series are currently displayed, i.e. not filtered out.\n * - If you do not set this property, series are shown and hidden automatically when using the default filter component (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onFilterChange` listener to update this property when the visible series should change, or when one of your custom filters changes the number of visible series (controlled behavior).\n */\n visibleSeries?: ReadonlyArray<Series>;\n\n /**\n * Specifies the current status of loading data.\n * * `loading`: data fetching is in progress.\n * * `finished`: data has loaded successfully.\n * * `error`: an error occurred during fetch. You should provide user an option to recover.\n **/\n statusType?: 'loading' | 'finished' | 'error';\n\n /**\n * Content that is displayed when the data passed to the component is empty.\n */\n empty?: React.ReactNode;\n\n /**\n * Content that is displayed when there is no data to display due to the built-in filtering.\n */\n noMatch?: React.ReactNode;\n\n /**\n * Text that is displayed when the chart is loading, i.e. when `statusType` is set to `\"loading\"`.\n * @i18n\n */\n loadingText?: string;\n\n /**\n * Text that is displayed when the chart is in error state, i.e. when `statusType` is set to `\"error\"`.\n * @i18n\n */\n errorText?: string;\n\n /**\n * Text for the recovery button that is displayed next to the error text.\n * @i18n\n **/\n recoveryText?: string;\n\n /**\n * Called when the user clicks the recovery button that appears when there is an error state.\n * Use this to enable the user to retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n\n /**\n * Called when the values of the internal filter component changed.\n * This will **not** be called for any custom filter components you have defined in `additionalFilters`.\n */\n onFilterChange?: NonCancelableEventHandler<CartesianChartProps.FilterChangeDetail<Series>>;\n\n /**\n * Called when the highlighted series has changed because of user interaction.\n */\n onHighlightChange?: NonCancelableEventHandler<CartesianChartProps.HighlightChangeDetail<Series>>;\n\n /**\n * Enable this property to make the chart fit into the available height of the parent container.\n */\n fitHeight?: boolean;\n}\n\nexport namespace CartesianChartProps {\n export interface FilterChangeDetail<Series> {\n visibleSeries: ReadonlyArray<Series>;\n }\n\n export interface HighlightChangeDetail<Series> {\n highlightedSeries: Series | null;\n }\n\n export interface TickFormatter<T> {\n (value: T): string;\n }\n\n export interface ValueFormatter<YType, XType = null> {\n (yValue: YType, xValue: XType): string;\n }\n\n export interface DetailPopoverFooter<T> {\n (xValue: T): React.ReactNode;\n }\n\n export interface I18nStrings<T> {\n /** Visible label of the default filter */\n filterLabel?: string;\n\n /** Placeholder text of the default filter */\n filterPlaceholder?: string;\n\n /** ARIA label for the default filter which is appended to any option that is selected */\n filterSelectedAriaLabel?: string;\n\n /** ARIA label that is associated with the legend in case there is no visible `legendTitle` defined */\n legendAriaLabel?: string;\n\n /** ARIA label for details popover dismiss button */\n detailPopoverDismissAriaLabel?: string;\n\n /** Name of the ARIA role description of the chart, e.g. \"line chart\" */\n chartAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the x axis, e.g. \"x axis\" */\n xAxisAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the y axis, e.g. \"y axis\" */\n yAxisAriaRoleDescription?: string;\n\n /** @deprecated Use `xTickFormatter` on the component instead. */\n xTickFormatter?: TickFormatter<T>;\n\n /** @deprecated Use `yTickFormatter` on the component instead. */\n yTickFormatter?: TickFormatter<number>;\n }\n}\n\nexport type ChartDataTypes = number | string | Date;\n\nexport type ScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type XScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type YScaleType = 'linear' | 'log';\nexport type ScaleRange = [number, number];\n\nexport type ChartDomain<T extends ChartDataTypes> = T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\nexport type XDomain<T extends ChartDataTypes> = ChartDomain<T>;\nexport type YDomain = ChartDomain<number>;\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../../base-component';\nimport { NonCancelableEventHandler } from '../../events';\n\nexport interface CartesianChartProps<T extends ChartDataTypes, Series> extends BaseComponentProps {\n /**\n * Determines the type of scale for values on the x axis.\n */\n xScaleType?: ScaleType;\n\n /**\n * Determines the type of scale for values on the y axis.\n */\n yScaleType?: 'linear' | 'log';\n\n /**\n * Determines the domain of the x axis, i.e. the range of values that will be visible in the chart.\n * For numerical and time-based data this is represented as an array with two values: `[minimumValue, maximumValue]`.\n * For categorical data this is represented as an array of strings that determine the categories to display.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n xDomain?: T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\n\n /**\n * Determines the domain of the y axis, i.e. the range of values that will be visible in the chart.\n * The domain is defined by a tuple: `[minimumValue, maximumValue]`.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n yDomain?: ReadonlyArray<number>;\n\n /**\n * The title of the x axis.\n */\n xTitle?: string;\n\n /**\n * The title of the y axis.\n */\n yTitle?: string;\n\n /**\n * Optional title for the legend.\n */\n legendTitle?: string;\n\n /**\n * ARIA label that is assigned to the chart itself. It should match the visible label on the page, e.g. in the container header.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets `aria-labelledby` on the chart itself.\n * If there is a visible label for the chart on the page, e.g. in the container header, set this property to the ID of that header element.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * A description of the chart that assistive technologies can use (through `aria-describedby`).\n * Provide a concise summary of the data visualized in the chart.\n */\n ariaDescription?: string;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: CartesianChartProps.I18nStrings<T>;\n\n /**\n * Function to format the displayed label of an x axis tick.\n */\n xTickFormatter?: CartesianChartProps.TickFormatter<T>;\n\n /**\n * Function to format the displayed label of a y axis tick.\n */\n yTickFormatter?: CartesianChartProps.TickFormatter<number>;\n\n /**\n * An optional pixel value number that fixes the height of the chart area.\n * If not set explicitly, the component will use a default height that is defined internally.\n * When used with `fitHeight`, this property defines the minimum height of the chart area.\n */\n height?: number;\n\n /**\n * Determines the maximum width the detail popover will be limited to.\n */\n detailPopoverSize?: 'small' | 'medium' | 'large';\n\n /**\n * Additional content that is displayed at the bottom of the detail popover.\n */\n detailPopoverFooter?: CartesianChartProps.DetailPopoverFooter<T>;\n\n /**\n * When set to `true`, the legend beneath the chart is not displayed.\n * It is highly recommended to keep this set to `false`.\n */\n hideLegend?: boolean;\n\n /**\n * When set to `true`, the default filtering dropdown is not displayed.\n * It is still possible to render additional filters with the `additionalFilters` slot.\n */\n hideFilter?: boolean;\n\n /**\n * Additional filters that are added above the chart component.\n * Make sure to update the `data` property when any of your custom filters change the data to be displayed.\n */\n additionalFilters?: React.ReactNode;\n\n /**\n * The currently highlighted data series, usually through hovering over a series or the legend.\n * A value of `null` means no series is highlighted.\n *\n * - If you do not set this property, series are highlighted automatically when hovering over one of the triggers (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onHighlightChange` listener to update this property when a series should be highlighted (controlled behavior).\n */\n highlightedSeries?: Series | null;\n\n /**\n * An array of series objects that determines which of the data series are currently displayed, i.e. not filtered out.\n * - If you do not set this property, series are shown and hidden automatically when using the default filter component (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onFilterChange` listener to update this property when the visible series should change, or when one of your custom filters changes the number of visible series (controlled behavior).\n */\n visibleSeries?: ReadonlyArray<Series>;\n\n /**\n * Specifies the current status of loading data.\n * * `loading`: data fetching is in progress.\n * * `finished`: data has loaded successfully.\n * * `error`: an error occurred during fetch. You should provide user an option to recover.\n **/\n statusType?: 'loading' | 'finished' | 'error';\n\n /**\n * Content that is displayed when the data passed to the component is empty.\n */\n empty?: React.ReactNode;\n\n /**\n * Content that is displayed when there is no data to display due to the built-in filtering.\n */\n noMatch?: React.ReactNode;\n\n /**\n * Text that is displayed when the chart is loading, i.e. when `statusType` is set to `\"loading\"`.\n * @i18n\n */\n loadingText?: string;\n\n /**\n * Text that is displayed when the chart is in error state, i.e. when `statusType` is set to `\"error\"`.\n * @i18n\n */\n errorText?: string;\n\n /**\n * Text for the recovery button that is displayed next to the error text.\n * @i18n\n **/\n recoveryText?: string;\n\n /**\n * Called when the user clicks the recovery button that appears when there is an error state.\n * Use this to enable the user to retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n\n /**\n * Called when the values of the internal filter component changed.\n * This will **not** be called for any custom filter components you have defined in `additionalFilters`.\n */\n onFilterChange?: NonCancelableEventHandler<CartesianChartProps.FilterChangeDetail<Series>>;\n\n /**\n * Called when the highlighted series has changed because of user interaction.\n */\n onHighlightChange?: NonCancelableEventHandler<CartesianChartProps.HighlightChangeDetail<Series>>;\n\n /**\n * Enable this property to make the chart fit into the available height of the parent container.\n */\n fitHeight?: boolean;\n}\nexport namespace CartesianChartProps {\n export interface FilterChangeDetail<Series> {\n visibleSeries: ReadonlyArray<Series>;\n }\n\n export interface HighlightChangeDetail<Series> {\n highlightedSeries: Series | null;\n }\n\n export interface TickFormatter<T> {\n (value: T): string;\n }\n\n export interface ValueFormatter<YType, XType = null> {\n (yValue: YType, xValue: XType): string;\n }\n\n export interface DetailPopoverFooter<T> {\n (xValue: T): React.ReactNode;\n }\n\n export interface I18nStrings<T> {\n /** Visible label of the default filter */\n filterLabel?: string;\n\n /** Placeholder text of the default filter */\n filterPlaceholder?: string;\n\n /** ARIA label for the default filter which is appended to any option that is selected */\n filterSelectedAriaLabel?: string;\n\n /** ARIA label that is associated with the legend in case there is no visible `legendTitle` defined */\n legendAriaLabel?: string;\n\n /** ARIA label for details popover dismiss button */\n detailPopoverDismissAriaLabel?: string;\n\n /** Name of the ARIA role description of the chart, e.g. \"line chart\" */\n chartAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the x axis, e.g. \"x axis\" */\n xAxisAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the y axis, e.g. \"y axis\" */\n yAxisAriaRoleDescription?: string;\n\n /** @deprecated Use `xTickFormatter` on the component instead. */\n xTickFormatter?: TickFormatter<T>;\n\n /** @deprecated Use `yTickFormatter` on the component instead. */\n yTickFormatter?: TickFormatter<number>;\n }\n}\n\nexport type ChartDataTypes = number | string | Date;\n\nexport type ScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type XScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type YScaleType = 'linear' | 'log';\nexport type ScaleRange = [number, number];\n\nexport type ChartDomain<T extends ChartDataTypes> = T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\nexport type XDomain<T extends ChartDataTypes> = ChartDomain<T>;\nexport type YDomain = ChartDomain<number>;\n"]}
@@ -22,7 +22,7 @@ export interface ChartPlotProps {
22
22
  activeElementKey?: null | string | number | boolean;
23
23
  activeElementRef?: React.RefObject<SVGGElement>;
24
24
  activeElementFocusOffset?: Offset;
25
- ariaLiveRegion?: React.ReactNode;
25
+ ariaLiveRegion?: string;
26
26
  isClickable?: boolean;
27
27
  isPrecise?: boolean;
28
28
  onClick?: (event: React.MouseEvent<SVGSVGElement>) => void;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