@cloudscape-design/components-themeable 3.0.1126 → 3.0.1127

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 (199) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/resize/styles.scss +1 -1
  3. package/lib/internal/scss/app-layout/visual-refresh-toolbar/drawer/styles.scss +40 -0
  4. package/lib/internal/scss/app-layout/visual-refresh-toolbar/skeleton/styles.scss +20 -3
  5. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +87 -86
  6. package/lib/internal/template/alert/styles.css.js +27 -27
  7. package/lib/internal/template/alert/styles.scoped.css +50 -50
  8. package/lib/internal/template/alert/styles.selectors.js +27 -27
  9. package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
  10. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +32 -32
  11. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
  12. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  13. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  14. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  15. package/lib/internal/template/app-layout/resize/styles.css.js +5 -5
  16. package/lib/internal/template/app-layout/resize/styles.scoped.css +13 -13
  17. package/lib/internal/template/app-layout/resize/styles.selectors.js +5 -5
  18. package/lib/internal/template/app-layout/runtime-drawer/index.d.ts +1 -0
  19. package/lib/internal/template/app-layout/runtime-drawer/index.d.ts.map +1 -1
  20. package/lib/internal/template/app-layout/runtime-drawer/index.js.map +1 -1
  21. package/lib/internal/template/app-layout/utils/use-drawers.d.ts +1 -1
  22. package/lib/internal/template/app-layout/utils/use-drawers.d.ts.map +1 -1
  23. package/lib/internal/template/app-layout/utils/use-drawers.js +4 -2
  24. package/lib/internal/template/app-layout/utils/use-drawers.js.map +1 -1
  25. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
  26. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
  27. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
  28. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts +1 -1
  29. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
  30. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js +2 -2
  31. package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
  32. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.d.ts +13 -0
  33. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.d.ts.map +1 -0
  34. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js +183 -0
  35. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-bottom-drawer.js.map +1 -0
  36. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js +1 -1
  37. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/global-drawers.js.map +1 -1
  38. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts +2 -1
  39. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts.map +1 -1
  40. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js +2 -2
  41. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/local-drawer.js.map +1 -1
  42. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +27 -26
  43. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +110 -76
  44. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +27 -26
  45. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts +1 -1
  46. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts.map +1 -1
  47. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/use-resize.js.map +1 -1
  48. package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts +15 -2
  49. package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts.map +1 -1
  50. package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.js.map +1 -1
  51. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts +2 -1
  52. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
  53. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js +2 -2
  54. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
  55. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  56. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  57. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  58. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -25
  59. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -52
  60. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -25
  61. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts +2 -1
  62. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.d.ts.map +1 -1
  63. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js +2 -2
  64. package/lib/internal/template/app-layout/visual-refresh-toolbar/split-panel/index.js.map +1 -1
  65. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts +4 -0
  66. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts.map +1 -1
  67. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.js.map +1 -1
  68. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.d.ts.map +1 -1
  69. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js +12 -0
  70. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
  71. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.d.ts.map +1 -1
  72. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.js +0 -17
  73. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-ai-drawer.js.map +1 -1
  74. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
  75. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js +108 -12
  76. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
  77. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.d.ts +33 -0
  78. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.d.ts.map +1 -0
  79. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.js +85 -0
  80. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-bottom-drawers.js.map +1 -0
  81. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.d.ts.map +1 -1
  82. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js +3 -1
  83. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js.map +1 -1
  84. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts +8 -3
  85. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts.map +1 -1
  86. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js +34 -7
  87. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js.map +1 -1
  88. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +4 -0
  89. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
  90. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js +7 -3
  91. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
  92. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.d.ts.map +1 -1
  93. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.js +7 -3
  94. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/after-main-slot.js.map +1 -1
  95. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
  96. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +2 -2
  97. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
  98. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.d.ts.map +1 -1
  99. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.js +6 -2
  100. package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/bottom-content-slot.js.map +1 -1
  101. package/lib/internal/template/attribute-editor/interfaces.d.ts +2 -0
  102. package/lib/internal/template/attribute-editor/interfaces.d.ts.map +1 -1
  103. package/lib/internal/template/attribute-editor/interfaces.js.map +1 -1
  104. package/lib/internal/template/attribute-editor/row.d.ts.map +1 -1
  105. package/lib/internal/template/attribute-editor/row.js +2 -2
  106. package/lib/internal/template/attribute-editor/row.js.map +1 -1
  107. package/lib/internal/template/attribute-editor/styles.css.js +15 -15
  108. package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
  109. package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
  110. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  111. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
  112. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  113. package/lib/internal/template/button/styles.css.js +22 -22
  114. package/lib/internal/template/button/styles.scoped.css +256 -256
  115. package/lib/internal/template/button/styles.selectors.js +22 -22
  116. package/lib/internal/template/button-dropdown/interfaces.d.ts +3 -1
  117. package/lib/internal/template/button-dropdown/interfaces.d.ts.map +1 -1
  118. package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
  119. package/lib/internal/template/button-dropdown/item-element/index.d.ts.map +1 -1
  120. package/lib/internal/template/button-dropdown/item-element/index.js +1 -1
  121. package/lib/internal/template/button-dropdown/item-element/index.js.map +1 -1
  122. package/lib/internal/template/button-dropdown/item-element/styles.css.js +16 -16
  123. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +27 -27
  124. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +16 -16
  125. package/lib/internal/template/checkbox/styles.css.js +3 -3
  126. package/lib/internal/template/checkbox/styles.scoped.css +11 -11
  127. package/lib/internal/template/checkbox/styles.selectors.js +3 -3
  128. package/lib/internal/template/content-layout/styles.css.js +14 -14
  129. package/lib/internal/template/content-layout/styles.scoped.css +27 -27
  130. package/lib/internal/template/content-layout/styles.selectors.js +14 -14
  131. package/lib/internal/template/flashbar/styles.css.js +50 -50
  132. package/lib/internal/template/flashbar/styles.scoped.css +187 -187
  133. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  134. package/lib/internal/template/help-panel/styles.css.js +6 -6
  135. package/lib/internal/template/help-panel/styles.scoped.css +73 -73
  136. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  137. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  138. package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
  139. package/lib/internal/template/internal/components/autosuggest-input/index.js +30 -7
  140. package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
  141. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +20 -20
  142. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +48 -48
  143. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +20 -20
  144. package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
  145. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +38 -38
  146. package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
  147. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  148. package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
  149. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  150. package/lib/internal/template/internal/environment.js +2 -2
  151. package/lib/internal/template/internal/environment.json +2 -2
  152. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
  153. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  154. package/lib/internal/template/internal/generated/custom-css-properties/index.js +86 -85
  155. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  156. package/lib/internal/template/internal/plugins/controllers/drawers.d.ts +1 -1
  157. package/lib/internal/template/internal/plugins/controllers/drawers.d.ts.map +1 -1
  158. package/lib/internal/template/internal/plugins/controllers/drawers.js.map +1 -1
  159. package/lib/internal/template/internal/plugins/widget/index.d.ts +6 -1
  160. package/lib/internal/template/internal/plugins/widget/index.d.ts.map +1 -1
  161. package/lib/internal/template/internal/plugins/widget/index.js +11 -1
  162. package/lib/internal/template/internal/plugins/widget/index.js.map +1 -1
  163. package/lib/internal/template/internal/plugins/widget/interfaces.d.ts +2 -1
  164. package/lib/internal/template/internal/plugins/widget/interfaces.d.ts.map +1 -1
  165. package/lib/internal/template/internal/plugins/widget/interfaces.js.map +1 -1
  166. package/lib/internal/template/internal/plugins/widget.d.ts +1 -1
  167. package/lib/internal/template/internal/plugins/widget.d.ts.map +1 -1
  168. package/lib/internal/template/internal/plugins/widget.js +1 -1
  169. package/lib/internal/template/internal/plugins/widget.js.map +1 -1
  170. package/lib/internal/template/link/styles.css.js +20 -20
  171. package/lib/internal/template/link/styles.scoped.css +103 -103
  172. package/lib/internal/template/link/styles.selectors.js +20 -20
  173. package/lib/internal/template/radio-group/styles.css.js +10 -10
  174. package/lib/internal/template/radio-group/styles.scoped.css +22 -22
  175. package/lib/internal/template/radio-group/styles.selectors.js +10 -10
  176. package/lib/internal/template/slider/styles.css.js +26 -26
  177. package/lib/internal/template/slider/styles.scoped.css +86 -86
  178. package/lib/internal/template/slider/styles.selectors.js +26 -26
  179. package/lib/internal/template/spinner/styles.css.js +13 -13
  180. package/lib/internal/template/spinner/styles.scoped.css +39 -39
  181. package/lib/internal/template/spinner/styles.selectors.js +13 -13
  182. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  183. package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
  184. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  185. package/lib/internal/template/text-content/styles.css.js +1 -1
  186. package/lib/internal/template/text-content/styles.scoped.css +66 -66
  187. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  188. package/lib/internal/template/toggle/styles.css.js +10 -10
  189. package/lib/internal/template/toggle/styles.scoped.css +23 -23
  190. package/lib/internal/template/toggle/styles.selectors.js +10 -10
  191. package/lib/internal/template/top-navigation/interfaces.d.ts +1 -1
  192. package/lib/internal/template/top-navigation/interfaces.js.map +1 -1
  193. package/lib/internal/template/top-navigation/internal.d.ts.map +1 -1
  194. package/lib/internal/template/top-navigation/internal.js +0 -9
  195. package/lib/internal/template/top-navigation/internal.js.map +1 -1
  196. package/lib/internal/template/top-navigation/parts/utility.d.ts.map +1 -1
  197. package/lib/internal/template/top-navigation/parts/utility.js +1 -15
  198. package/lib/internal/template/top-navigation/parts/utility.js.map +1 -1
  199. package/package.json +1 -1
@@ -2,32 +2,32 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "alert": "awsui_alert_mx3cw_15b5x_193",
6
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_15b5x_1",
7
- "root": "awsui_root_mx3cw_15b5x_215",
8
- "hidden": "awsui_hidden_mx3cw_15b5x_250",
9
- "alert-wrapper": "awsui_alert-wrapper_mx3cw_15b5x_299",
10
- "initial-hidden": "awsui_initial-hidden_mx3cw_15b5x_311",
11
- "header": "awsui_header_mx3cw_15b5x_316",
12
- "header-replacement": "awsui_header-replacement_mx3cw_15b5x_317",
13
- "action": "awsui_action_mx3cw_15b5x_321",
14
- "action-slot": "awsui_action-slot_mx3cw_15b5x_325",
15
- "action-button": "awsui_action-button_mx3cw_15b5x_326",
16
- "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_15b5x_330",
17
- "text": "awsui_text_mx3cw_15b5x_361",
18
- "icon": "awsui_icon_mx3cw_15b5x_368",
19
- "message": "awsui_message_mx3cw_15b5x_371",
20
- "action-wrapped": "awsui_action-wrapped_mx3cw_15b5x_375",
21
- "icon-size-medium": "awsui_icon-size-medium_mx3cw_15b5x_379",
22
- "icon-size-big": "awsui_icon-size-big_mx3cw_15b5x_383",
23
- "icon-size-normal": "awsui_icon-size-normal_mx3cw_15b5x_387",
24
- "content": "awsui_content_mx3cw_15b5x_391",
25
- "content-replacement": "awsui_content-replacement_mx3cw_15b5x_392",
26
- "dismiss": "awsui_dismiss_mx3cw_15b5x_396",
27
- "dismiss-button": "awsui_dismiss-button_mx3cw_15b5x_401",
28
- "type-error": "awsui_type-error_mx3cw_15b5x_405",
29
- "type-warning": "awsui_type-warning_mx3cw_15b5x_413",
30
- "type-success": "awsui_type-success_mx3cw_15b5x_421",
31
- "type-info": "awsui_type-info_mx3cw_15b5x_429"
5
+ "alert": "awsui_alert_mx3cw_1yivi_193",
6
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1yivi_1",
7
+ "root": "awsui_root_mx3cw_1yivi_215",
8
+ "hidden": "awsui_hidden_mx3cw_1yivi_250",
9
+ "alert-wrapper": "awsui_alert-wrapper_mx3cw_1yivi_299",
10
+ "initial-hidden": "awsui_initial-hidden_mx3cw_1yivi_311",
11
+ "header": "awsui_header_mx3cw_1yivi_316",
12
+ "header-replacement": "awsui_header-replacement_mx3cw_1yivi_317",
13
+ "action": "awsui_action_mx3cw_1yivi_321",
14
+ "action-slot": "awsui_action-slot_mx3cw_1yivi_325",
15
+ "action-button": "awsui_action-button_mx3cw_1yivi_326",
16
+ "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1yivi_330",
17
+ "text": "awsui_text_mx3cw_1yivi_361",
18
+ "icon": "awsui_icon_mx3cw_1yivi_368",
19
+ "message": "awsui_message_mx3cw_1yivi_371",
20
+ "action-wrapped": "awsui_action-wrapped_mx3cw_1yivi_375",
21
+ "icon-size-medium": "awsui_icon-size-medium_mx3cw_1yivi_379",
22
+ "icon-size-big": "awsui_icon-size-big_mx3cw_1yivi_383",
23
+ "icon-size-normal": "awsui_icon-size-normal_mx3cw_1yivi_387",
24
+ "content": "awsui_content_mx3cw_1yivi_391",
25
+ "content-replacement": "awsui_content-replacement_mx3cw_1yivi_392",
26
+ "dismiss": "awsui_dismiss_mx3cw_1yivi_396",
27
+ "dismiss-button": "awsui_dismiss-button_mx3cw_1yivi_401",
28
+ "type-error": "awsui_type-error_mx3cw_1yivi_405",
29
+ "type-warning": "awsui_type-warning_mx3cw_1yivi_413",
30
+ "type-success": "awsui_type-success_mx3cw_1yivi_421",
31
+ "type-info": "awsui_type-info_mx3cw_1yivi_429"
32
32
  };
33
33
 
@@ -1,29 +1,29 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "arrow": "awsui_arrow_1hpp3_tfcsc_193",
5
- "arrow-outer": "awsui_arrow-outer_1hpp3_tfcsc_197",
6
- "arrow-inner": "awsui_arrow-inner_1hpp3_tfcsc_197",
7
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_tfcsc_239",
8
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_tfcsc_239",
9
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_tfcsc_242",
10
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_tfcsc_242",
11
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_tfcsc_245",
12
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_tfcsc_245",
13
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_tfcsc_248",
14
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_tfcsc_248",
15
- "annotation": "awsui_annotation_1hpp3_tfcsc_252",
16
- "next-button": "awsui_next-button_1hpp3_tfcsc_253",
17
- "previous-button": "awsui_previous-button_1hpp3_tfcsc_254",
18
- "finish-button": "awsui_finish-button_1hpp3_tfcsc_255",
19
- "header": "awsui_header_1hpp3_tfcsc_256",
20
- "step-counter-content": "awsui_step-counter-content_1hpp3_tfcsc_257",
21
- "content": "awsui_content_1hpp3_tfcsc_258",
22
- "description": "awsui_description_1hpp3_tfcsc_262",
23
- "actionBar": "awsui_actionBar_1hpp3_tfcsc_267",
24
- "stepCounter": "awsui_stepCounter_1hpp3_tfcsc_274",
25
- "divider": "awsui_divider_1hpp3_tfcsc_278",
26
- "hotspot": "awsui_hotspot_1hpp3_tfcsc_282",
27
- "icon": "awsui_icon_1hpp3_tfcsc_352"
4
+ "arrow": "awsui_arrow_1hpp3_1xspd_193",
5
+ "arrow-outer": "awsui_arrow-outer_1hpp3_1xspd_197",
6
+ "arrow-inner": "awsui_arrow-inner_1hpp3_1xspd_197",
7
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1xspd_239",
8
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1xspd_239",
9
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1xspd_242",
10
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1xspd_242",
11
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1xspd_245",
12
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1xspd_245",
13
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1xspd_248",
14
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1xspd_248",
15
+ "annotation": "awsui_annotation_1hpp3_1xspd_252",
16
+ "next-button": "awsui_next-button_1hpp3_1xspd_253",
17
+ "previous-button": "awsui_previous-button_1hpp3_1xspd_254",
18
+ "finish-button": "awsui_finish-button_1hpp3_1xspd_255",
19
+ "header": "awsui_header_1hpp3_1xspd_256",
20
+ "step-counter-content": "awsui_step-counter-content_1hpp3_1xspd_257",
21
+ "content": "awsui_content_1hpp3_1xspd_258",
22
+ "description": "awsui_description_1hpp3_1xspd_262",
23
+ "actionBar": "awsui_actionBar_1hpp3_1xspd_267",
24
+ "stepCounter": "awsui_stepCounter_1hpp3_1xspd_274",
25
+ "divider": "awsui_divider_1hpp3_1xspd_278",
26
+ "hotspot": "awsui_hotspot_1hpp3_1xspd_282",
27
+ "icon": "awsui_icon_1hpp3_1xspd_352"
28
28
  };
29
29
 
@@ -190,11 +190,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
190
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
191
191
  SPDX-License-Identifier: Apache-2.0
192
192
  */
193
- .awsui_arrow_1hpp3_tfcsc_193:not(#\9) {
193
+ .awsui_arrow_1hpp3_1xspd_193:not(#\9) {
194
194
  inline-size: 20px;
195
195
  block-size: 10px;
196
196
  }
197
- .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9), .awsui_arrow-inner_1hpp3_tfcsc_197:not(#\9) {
197
+ .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9), .awsui_arrow-inner_1hpp3_1xspd_197:not(#\9) {
198
198
  position: absolute;
199
199
  overflow: hidden;
200
200
  inline-size: 20px;
@@ -203,7 +203,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
203
203
  inset-inline-start: 0;
204
204
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
205
205
  }
206
- .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after, .awsui_arrow-inner_1hpp3_tfcsc_197:not(#\9)::after {
206
+ .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after, .awsui_arrow-inner_1hpp3_1xspd_197:not(#\9)::after {
207
207
  content: "";
208
208
  box-sizing: border-box;
209
209
  display: inline-block;
@@ -219,67 +219,67 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
219
219
  transform: rotate(45deg);
220
220
  transform-origin: 0 100%;
221
221
  }
222
- .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9):dir(rtl)::after, .awsui_arrow-inner_1hpp3_tfcsc_197:not(#\9):dir(rtl)::after {
222
+ .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9):dir(rtl)::after, .awsui_arrow-inner_1hpp3_1xspd_197:not(#\9):dir(rtl)::after {
223
223
  transform: rotate(-45deg);
224
224
  transform-origin: 100% 100%;
225
225
  }
226
- .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after {
226
+ .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after {
227
227
  background-color: var(--color-border-status-info-kp0iif, #0073bb);
228
228
  }
229
- .awsui_arrow-inner_1hpp3_tfcsc_197:not(#\9) {
229
+ .awsui_arrow-inner_1hpp3_1xspd_197:not(#\9) {
230
230
  inset-block-start: 2px;
231
231
  }
232
- .awsui_arrow-inner_1hpp3_tfcsc_197:not(#\9)::after {
232
+ .awsui_arrow-inner_1hpp3_1xspd_197:not(#\9)::after {
233
233
  border-start-start-radius: 1px;
234
234
  border-start-end-radius: 0;
235
235
  border-end-start-radius: 0;
236
236
  border-end-end-radius: 0;
237
237
  background-color: var(--color-background-status-info-nzp1n3, #f1faff);
238
238
  }
239
- .awsui_arrow-position-right-top_1hpp3_tfcsc_239 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_tfcsc_239 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after {
239
+ .awsui_arrow-position-right-top_1hpp3_1xspd_239 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_1xspd_239 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after {
240
240
  box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
241
241
  }
242
- .awsui_arrow-position-left-top_1hpp3_tfcsc_242 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_tfcsc_242 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after {
242
+ .awsui_arrow-position-left-top_1hpp3_1xspd_242 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_1xspd_242 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after {
243
243
  box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
244
244
  }
245
- .awsui_arrow-position-top-center_1hpp3_tfcsc_245 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_tfcsc_245 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after {
245
+ .awsui_arrow-position-top-center_1hpp3_1xspd_245 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_1xspd_245 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after {
246
246
  box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
247
247
  }
248
- .awsui_arrow-position-bottom-center_1hpp3_tfcsc_248 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_tfcsc_248 > .awsui_arrow-outer_1hpp3_tfcsc_197:not(#\9)::after {
248
+ .awsui_arrow-position-bottom-center_1hpp3_1xspd_248 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_1xspd_248 > .awsui_arrow-outer_1hpp3_1xspd_197:not(#\9)::after {
249
249
  box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-9hdvit, rgba(0, 28, 36, 0.5));
250
250
  }
251
251
 
252
- .awsui_annotation_1hpp3_tfcsc_252:not(#\9),
253
- .awsui_next-button_1hpp3_tfcsc_253:not(#\9),
254
- .awsui_previous-button_1hpp3_tfcsc_254:not(#\9),
255
- .awsui_finish-button_1hpp3_tfcsc_255:not(#\9),
256
- .awsui_header_1hpp3_tfcsc_256:not(#\9),
257
- .awsui_step-counter-content_1hpp3_tfcsc_257:not(#\9),
258
- .awsui_content_1hpp3_tfcsc_258:not(#\9) {
252
+ .awsui_annotation_1hpp3_1xspd_252:not(#\9),
253
+ .awsui_next-button_1hpp3_1xspd_253:not(#\9),
254
+ .awsui_previous-button_1hpp3_1xspd_254:not(#\9),
255
+ .awsui_finish-button_1hpp3_1xspd_255:not(#\9),
256
+ .awsui_header_1hpp3_1xspd_256:not(#\9),
257
+ .awsui_step-counter-content_1hpp3_1xspd_257:not(#\9),
258
+ .awsui_content_1hpp3_1xspd_258:not(#\9) {
259
259
  /* used in test-utils */
260
260
  }
261
261
 
262
- .awsui_description_1hpp3_tfcsc_262:not(#\9) {
262
+ .awsui_description_1hpp3_1xspd_262:not(#\9) {
263
263
  overflow: hidden;
264
264
  margin-block-start: var(--space-xxs-jnczic, 4px);
265
265
  }
266
266
 
267
- .awsui_actionBar_1hpp3_tfcsc_267:not(#\9) {
267
+ .awsui_actionBar_1hpp3_1xspd_267:not(#\9) {
268
268
  display: flex;
269
269
  justify-content: space-between;
270
270
  align-items: center;
271
271
  position: relative;
272
272
  }
273
273
 
274
- .awsui_stepCounter_1hpp3_tfcsc_274:not(#\9) {
274
+ .awsui_stepCounter_1hpp3_1xspd_274:not(#\9) {
275
275
  margin-inline-end: 20px;
276
276
  }
277
277
 
278
- .awsui_divider_1hpp3_tfcsc_278:not(#\9) {
278
+ .awsui_divider_1hpp3_1xspd_278:not(#\9) {
279
279
  border-block-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-divider-default-ipvpev, #eaeded);
280
280
  }
281
281
 
282
- .awsui_hotspot_1hpp3_tfcsc_282:not(#\9) {
282
+ .awsui_hotspot_1hpp3_1xspd_282:not(#\9) {
283
283
  border-collapse: separate;
284
284
  border-spacing: 0;
285
285
  box-sizing: border-box;
@@ -315,27 +315,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
315
315
  padding-block: 0;
316
316
  padding-inline: 0;
317
317
  cursor: pointer;
318
- scroll-margin: var(--awsui-content-scroll-margin-vl73au, 40px 0 0 0);
318
+ scroll-margin: var(--awsui-content-scroll-margin-lqnbqg, 40px 0 0 0);
319
319
  position: relative;
320
320
  inline-size: 16px;
321
321
  block-size: 16px;
322
322
  }
323
- .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):before {
323
+ .awsui_hotspot_1hpp3_1xspd_282:not(#\9):before {
324
324
  content: "";
325
325
  position: absolute;
326
326
  inset: calc(-1 * var(--space-xxs-jnczic, 4px));
327
327
  }
328
- .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):focus {
328
+ .awsui_hotspot_1hpp3_1xspd_282:not(#\9):focus {
329
329
  outline: none;
330
330
  }
331
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):focus {
331
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1xspd_282:not(#\9):focus {
332
332
  position: relative;
333
333
  }
334
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):focus {
334
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1xspd_282:not(#\9):focus {
335
335
  outline: 2px dotted transparent;
336
336
  outline-offset: calc(2px - 1px);
337
337
  }
338
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):focus::before {
338
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1xspd_282:not(#\9):focus::before {
339
339
  content: " ";
340
340
  display: block;
341
341
  position: absolute;
@@ -349,13 +349,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):focu
349
349
  border-end-end-radius: var(--border-radius-control-circular-focus-ring-0v2apg, 50%);
350
350
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
351
351
  }
352
- .awsui_hotspot_1hpp3_tfcsc_282 > .awsui_icon_1hpp3_tfcsc_352:not(#\9) {
352
+ .awsui_hotspot_1hpp3_1xspd_282 > .awsui_icon_1hpp3_1xspd_352:not(#\9) {
353
353
  position: relative;
354
354
  stroke: var(--color-text-tutorial-hotspot-default-ql4c5o, #0073bb);
355
355
  }
356
- .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):hover > .awsui_icon_1hpp3_tfcsc_352 {
356
+ .awsui_hotspot_1hpp3_1xspd_282:not(#\9):hover > .awsui_icon_1hpp3_1xspd_352 {
357
357
  stroke: var(--color-text-tutorial-hotspot-hover-baiupp, #0a4a74);
358
358
  }
359
- .awsui_hotspot_1hpp3_tfcsc_282:not(#\9):active > .awsui_icon_1hpp3_tfcsc_352 {
359
+ .awsui_hotspot_1hpp3_1xspd_282:not(#\9):active > .awsui_icon_1hpp3_1xspd_352 {
360
360
  stroke: var(--color-text-tutorial-hotspot-default-ql4c5o, #0073bb);
361
361
  }
@@ -2,29 +2,29 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "arrow": "awsui_arrow_1hpp3_tfcsc_193",
6
- "arrow-outer": "awsui_arrow-outer_1hpp3_tfcsc_197",
7
- "arrow-inner": "awsui_arrow-inner_1hpp3_tfcsc_197",
8
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_tfcsc_239",
9
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_tfcsc_239",
10
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_tfcsc_242",
11
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_tfcsc_242",
12
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_tfcsc_245",
13
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_tfcsc_245",
14
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_tfcsc_248",
15
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_tfcsc_248",
16
- "annotation": "awsui_annotation_1hpp3_tfcsc_252",
17
- "next-button": "awsui_next-button_1hpp3_tfcsc_253",
18
- "previous-button": "awsui_previous-button_1hpp3_tfcsc_254",
19
- "finish-button": "awsui_finish-button_1hpp3_tfcsc_255",
20
- "header": "awsui_header_1hpp3_tfcsc_256",
21
- "step-counter-content": "awsui_step-counter-content_1hpp3_tfcsc_257",
22
- "content": "awsui_content_1hpp3_tfcsc_258",
23
- "description": "awsui_description_1hpp3_tfcsc_262",
24
- "actionBar": "awsui_actionBar_1hpp3_tfcsc_267",
25
- "stepCounter": "awsui_stepCounter_1hpp3_tfcsc_274",
26
- "divider": "awsui_divider_1hpp3_tfcsc_278",
27
- "hotspot": "awsui_hotspot_1hpp3_tfcsc_282",
28
- "icon": "awsui_icon_1hpp3_tfcsc_352"
5
+ "arrow": "awsui_arrow_1hpp3_1xspd_193",
6
+ "arrow-outer": "awsui_arrow-outer_1hpp3_1xspd_197",
7
+ "arrow-inner": "awsui_arrow-inner_1hpp3_1xspd_197",
8
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1xspd_239",
9
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1xspd_239",
10
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1xspd_242",
11
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1xspd_242",
12
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1xspd_245",
13
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1xspd_245",
14
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1xspd_248",
15
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1xspd_248",
16
+ "annotation": "awsui_annotation_1hpp3_1xspd_252",
17
+ "next-button": "awsui_next-button_1hpp3_1xspd_253",
18
+ "previous-button": "awsui_previous-button_1hpp3_1xspd_254",
19
+ "finish-button": "awsui_finish-button_1hpp3_1xspd_255",
20
+ "header": "awsui_header_1hpp3_1xspd_256",
21
+ "step-counter-content": "awsui_step-counter-content_1hpp3_1xspd_257",
22
+ "content": "awsui_content_1hpp3_1xspd_258",
23
+ "description": "awsui_description_1hpp3_1xspd_262",
24
+ "actionBar": "awsui_actionBar_1hpp3_1xspd_267",
25
+ "stepCounter": "awsui_stepCounter_1hpp3_1xspd_274",
26
+ "divider": "awsui_divider_1hpp3_1xspd_278",
27
+ "hotspot": "awsui_hotspot_1hpp3_1xspd_282",
28
+ "icon": "awsui_icon_1hpp3_1xspd_352"
29
29
  };
30
30
 
@@ -1,8 +1,8 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "notifications": "awsui_notifications_1hmm4_120o6_9",
5
- "notifications-sticky": "awsui_notifications-sticky_1hmm4_120o6_10",
6
- "no-content-paddings": "awsui_no-content-paddings_1hmm4_120o6_25"
4
+ "notifications": "awsui_notifications_1hmm4_1eves_9",
5
+ "notifications-sticky": "awsui_notifications-sticky_1hmm4_1eves_10",
6
+ "no-content-paddings": "awsui_no-content-paddings_1hmm4_1eves_25"
7
7
  };
8
8
 
@@ -6,26 +6,26 @@
6
6
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
7
  SPDX-License-Identifier: Apache-2.0
8
8
  */
9
- .awsui_notifications_1hmm4_120o6_9:not(#\9),
10
- .awsui_notifications-sticky_1hmm4_120o6_10:not(#\9) {
9
+ .awsui_notifications_1hmm4_1eves_9:not(#\9),
10
+ .awsui_notifications-sticky_1hmm4_1eves_10:not(#\9) {
11
11
  z-index: 850;
12
12
  }
13
13
 
14
- .awsui_notifications_1hmm4_120o6_9:not(#\9) {
14
+ .awsui_notifications_1hmm4_1eves_9:not(#\9) {
15
15
  /* This is necessary for the z-index to have effect */
16
16
  position: relative;
17
17
  }
18
18
 
19
- .awsui_notifications-sticky_1hmm4_120o6_10:not(#\9) {
19
+ .awsui_notifications-sticky_1hmm4_1eves_10:not(#\9) {
20
20
  inset-block-start: 0;
21
21
  position: sticky;
22
- --awsui-flashbar-sticky-bottom-margin-vl73au: var(--space-xxl-q0lyvp, 32px);
22
+ --awsui-flashbar-sticky-bottom-margin-lqnbqg: var(--space-xxl-q0lyvp, 32px);
23
23
  }
24
24
 
25
- .awsui_no-content-paddings_1hmm4_120o6_25:not(#\9) {
25
+ .awsui_no-content-paddings_1hmm4_1eves_25:not(#\9) {
26
26
  /*
27
27
  When using the disableContentPaddings option, the Flashbar will use this custom property to add additional space
28
28
  when the notification bar is rendered, to prevent it from overlapping the content.
29
29
  */
30
- --awsui-stacked-notifications-bottom-margin-vl73au: var(--space-scaled-l-66n9sr, 20px);
30
+ --awsui-stacked-notifications-bottom-margin-lqnbqg: var(--space-scaled-l-66n9sr, 20px);
31
31
  }
@@ -2,8 +2,8 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "notifications": "awsui_notifications_1hmm4_120o6_9",
6
- "notifications-sticky": "awsui_notifications-sticky_1hmm4_120o6_10",
7
- "no-content-paddings": "awsui_no-content-paddings_1hmm4_120o6_25"
5
+ "notifications": "awsui_notifications_1hmm4_1eves_9",
6
+ "notifications-sticky": "awsui_notifications-sticky_1hmm4_1eves_10",
7
+ "no-content-paddings": "awsui_no-content-paddings_1hmm4_1eves_25"
8
8
  };
9
9
 
@@ -1,10 +1,10 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "with-motion-vertical": "awsui_with-motion-vertical_b18tp_1ttk0_146",
5
- "with-motion-horizontal": "awsui_with-motion-horizontal_b18tp_1ttk0_165",
6
- "resize-active": "awsui_resize-active_b18tp_1ttk0_184",
7
- "resize-side": "awsui_resize-side_b18tp_1ttk0_195",
8
- "resize-bottom": "awsui_resize-bottom_b18tp_1ttk0_198"
4
+ "with-motion-vertical": "awsui_with-motion-vertical_b18tp_4n3n1_146",
5
+ "with-motion-horizontal": "awsui_with-motion-horizontal_b18tp_4n3n1_165",
6
+ "resize-active": "awsui_resize-active_b18tp_4n3n1_184",
7
+ "resize-side": "awsui_resize-side_b18tp_4n3n1_195",
8
+ "resize-bottom": "awsui_resize-bottom_b18tp_4n3n1_198"
9
9
  };
10
10
 
@@ -143,60 +143,60 @@
143
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
144
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
145
145
  @media (min-width: 689px) {
146
- .awsui_with-motion-vertical_b18tp_1ttk0_146:not(#\9) {
146
+ .awsui_with-motion-vertical_b18tp_4n3n1_146:not(#\9) {
147
147
  transition: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
148
- transition-property: border-color, opacity, block-size, inset-block-start;
148
+ transition-property: border-color, opacity, block-size, inset-block-start, inset-block-end;
149
149
  }
150
150
  }
151
151
  @media (min-width: 689px) and (prefers-reduced-motion: reduce) {
152
- .awsui_with-motion-vertical_b18tp_1ttk0_146:not(#\9) {
152
+ .awsui_with-motion-vertical_b18tp_4n3n1_146:not(#\9) {
153
153
  animation: none;
154
154
  transition: none;
155
155
  }
156
156
  }
157
157
  @media (min-width: 689px) {
158
- .awsui-motion-disabled .awsui_with-motion-vertical_b18tp_1ttk0_146:not(#\9), .awsui-mode-entering .awsui_with-motion-vertical_b18tp_1ttk0_146:not(#\9) {
158
+ .awsui-motion-disabled .awsui_with-motion-vertical_b18tp_4n3n1_146:not(#\9), .awsui-mode-entering .awsui_with-motion-vertical_b18tp_4n3n1_146:not(#\9) {
159
159
  animation: none;
160
160
  transition: none;
161
161
  }
162
162
  }
163
163
 
164
164
  @media (min-width: 689px) {
165
- .awsui_with-motion-horizontal_b18tp_1ttk0_165:not(#\9) {
165
+ .awsui_with-motion-horizontal_b18tp_4n3n1_165:not(#\9) {
166
166
  transition: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
167
167
  transition-property: border-color, opacity, inline-size, inset-inline-start;
168
168
  }
169
169
  }
170
170
  @media (min-width: 689px) and (prefers-reduced-motion: reduce) {
171
- .awsui_with-motion-horizontal_b18tp_1ttk0_165:not(#\9) {
171
+ .awsui_with-motion-horizontal_b18tp_4n3n1_165:not(#\9) {
172
172
  animation: none;
173
173
  transition: none;
174
174
  }
175
175
  }
176
176
  @media (min-width: 689px) {
177
- .awsui-motion-disabled .awsui_with-motion-horizontal_b18tp_1ttk0_165:not(#\9), .awsui-mode-entering .awsui_with-motion-horizontal_b18tp_1ttk0_165:not(#\9) {
177
+ .awsui-motion-disabled .awsui_with-motion-horizontal_b18tp_4n3n1_165:not(#\9), .awsui-mode-entering .awsui_with-motion-horizontal_b18tp_4n3n1_165:not(#\9) {
178
178
  animation: none;
179
179
  transition: none;
180
180
  }
181
181
  }
182
182
 
183
183
  /* stylelint-disable selector-combinator-disallowed-list, selector-max-type, selector-max-universal */
184
- .awsui_resize-active_b18tp_1ttk0_184 *:not(#\9) {
184
+ .awsui_resize-active_b18tp_4n3n1_184 *:not(#\9) {
185
185
  -webkit-user-select: none;
186
186
  user-select: none;
187
187
  }
188
- .awsui_resize-active_b18tp_1ttk0_184 * .awsui_with-motion-vertical_b18tp_1ttk0_146:not(#\9),
189
- .awsui_resize-active_b18tp_1ttk0_184 * .awsui_with-motion-horizontal_b18tp_1ttk0_165:not(#\9) {
188
+ .awsui_resize-active_b18tp_4n3n1_184 * .awsui_with-motion-vertical_b18tp_4n3n1_146:not(#\9),
189
+ .awsui_resize-active_b18tp_4n3n1_184 * .awsui_with-motion-horizontal_b18tp_4n3n1_165:not(#\9) {
190
190
  transition: none;
191
191
  animation: none;
192
192
  }
193
- .awsui_resize-active_b18tp_1ttk0_184 iframe:not(#\9) {
193
+ .awsui_resize-active_b18tp_4n3n1_184 iframe:not(#\9) {
194
194
  pointer-events: none;
195
195
  }
196
- .awsui_resize-side_b18tp_1ttk0_195 *:not(#\9) {
196
+ .awsui_resize-side_b18tp_4n3n1_195 *:not(#\9) {
197
197
  cursor: ew-resize;
198
198
  }
199
- .awsui_resize-bottom_b18tp_1ttk0_198 *:not(#\9) {
199
+ .awsui_resize-bottom_b18tp_4n3n1_198 *:not(#\9) {
200
200
  cursor: ns-resize;
201
201
  }
202
202
 
@@ -2,10 +2,10 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "with-motion-vertical": "awsui_with-motion-vertical_b18tp_1ttk0_146",
6
- "with-motion-horizontal": "awsui_with-motion-horizontal_b18tp_1ttk0_165",
7
- "resize-active": "awsui_resize-active_b18tp_1ttk0_184",
8
- "resize-side": "awsui_resize-side_b18tp_1ttk0_195",
9
- "resize-bottom": "awsui_resize-bottom_b18tp_1ttk0_198"
5
+ "with-motion-vertical": "awsui_with-motion-vertical_b18tp_4n3n1_146",
6
+ "with-motion-horizontal": "awsui_with-motion-horizontal_b18tp_4n3n1_165",
7
+ "resize-active": "awsui_resize-active_b18tp_4n3n1_184",
8
+ "resize-side": "awsui_resize-side_b18tp_4n3n1_195",
9
+ "resize-bottom": "awsui_resize-bottom_b18tp_4n3n1_198"
10
10
  };
11
11
 
@@ -6,6 +6,7 @@ import { DrawerPayload as RuntimeAiDrawerConfig } from '../../internal/plugins/w
6
6
  import { AppLayoutProps } from '../interfaces';
7
7
  export interface RuntimeDrawer extends AppLayoutProps.Drawer {
8
8
  onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;
9
+ position?: 'side' | 'bottom';
9
10
  }
10
11
  export interface DrawersLayout {
11
12
  global: Array<RuntimeDrawer>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/runtime-drawer/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAI7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAA0B,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EACL,YAAY,IAAI,mBAAmB,EACnC,uBAAuB,EACxB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAK/C,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,MAAM;IAC1D,QAAQ,CAAC,EAAE,yBAAyB,CAAC,uBAAuB,CAAC,CAAC;CAC/D;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7B,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAClC,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC;AAkFD,eAAO,MAAM,wBAAwB,kBACpB,mBAAmB,KACjC,eAAe,MAAM,GAAG;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,0BAA0B,uBAAuB,CAAC,CAAC;IAC9D,aAAa,CAAC,EAAE,cAAc,iBAAiB,IAAI,CAAC,CAAC;CA2BtD,CAAC;AAEF,eAAO,MAAM,0BAA0B,kBACtB,qBAAqB;;;;8BAKV,MAAM,SAAS;CAoC1C,CAAC;AAEF,wBAAgB,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,KAAK,CAAC,EAAE;YAChB,sBAAsB,CAAC,aAAa,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,EAAE,aAAa,CAAC,EAAE,EAAE,CAAC,CAAC;QACpG,CAAC,EACD,aAAa,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,wBAAwB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,IAC9G;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,qBAAqB,CACnC,YAAwC,EACxC,aAAyC;IAEzC,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;IAC7D,MAAM,MAAM,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;IACzC,OAAO;QACL,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;QACnE,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,WAAC,OAAA,CAAC,MAAA,IAAI,CAAC,aAAa,mCAAI,CAAC,CAAC,GAAG,CAAC,CAAA,EAAA,CAAC;QACjE,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,WAAC,OAAA,CAAC,MAAA,IAAI,CAAC,aAAa,mCAAI,CAAC,CAAC,IAAI,CAAC,CAAA,EAAA,CAAC;KAClE,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useContext, useEffect, useRef } from 'react';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { ButtonGroupProps } from '../../button-group/interfaces';\nimport { fireNonCancelableEvent, NonCancelableEventHandler } from '../../internal/events';\nimport {\n DrawerConfig as RuntimeDrawerConfig,\n DrawerStateChangeParams,\n} from '../../internal/plugins/controllers/drawers';\nimport { sortByPriority } from '../../internal/plugins/helpers/utils';\nimport { DrawerPayload as RuntimeAiDrawerConfig } from '../../internal/plugins/widget/interfaces';\nimport { AppLayoutProps } from '../interfaces';\nimport { ActiveDrawersContext } from '../utils/visibility-context';\n\nimport styles from './styles.css.js';\n\nexport interface RuntimeDrawer extends AppLayoutProps.Drawer {\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n}\n\nexport interface DrawersLayout {\n global: Array<RuntimeDrawer>;\n localBefore: Array<RuntimeDrawer>;\n localAfter: Array<RuntimeDrawer>;\n}\n\ntype VisibilityCallback = (isVisible: boolean) => void;\n\ninterface RuntimeContentWrapperProps {\n id?: string;\n mountContent: RuntimeDrawerConfig['mountContent'];\n unmountContent: RuntimeDrawerConfig['unmountContent'];\n}\n\nfunction RuntimeDrawerWrapper({ mountContent, unmountContent, id }: RuntimeContentWrapperProps) {\n const ref = useRef<HTMLDivElement>(null);\n const visibilityChangeCallback = useRef<VisibilityCallback | null>(null);\n const activeDrawersIds = useContext(ActiveDrawersContext);\n const isVisible = !!id && activeDrawersIds.includes(id);\n\n useEffect(() => {\n const container = ref.current!;\n mountContent(container, {\n onVisibilityChange: cb => {\n visibilityChangeCallback.current = cb;\n },\n });\n return () => {\n unmountContent(container);\n visibilityChangeCallback.current = null;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n visibilityChangeCallback.current?.(isVisible);\n }, [isVisible]);\n\n return <div ref={ref} className={styles['runtime-content-wrapper']} data-awsui-runtime-drawer-root-id={id}></div>;\n}\n\ninterface RuntimeContentHeaderProps {\n mountHeader: (container: HTMLElement) => void;\n unmountHeader?: (container: HTMLElement) => void;\n}\n\nfunction RuntimeDrawerHeader({ mountHeader, unmountHeader }: RuntimeContentHeaderProps) {\n const ref = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n const container = ref.current!;\n mountHeader?.(container);\n return () => {\n unmountHeader?.(container);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return <div className={styles['runtime-header-wrapper']} ref={ref} />;\n}\n\nfunction checkForUnsupportedProps(headerActions: ReadonlyArray<ButtonGroupProps.Item>) {\n const unsupportedProps = new Set([\n 'iconSvg',\n 'popoverFeedback',\n 'pressedIconSvg',\n 'popoverFeedback',\n 'pressedPopoverFeedback',\n ]);\n for (const item of headerActions) {\n const unsupported = Object.keys(item).filter(key => unsupportedProps.has(key));\n if (unsupported.length > 0) {\n warnOnce('AppLayout', `The headerActions properties are not supported for runtime api: ${unsupported.join(' ')}`);\n }\n }\n return headerActions;\n}\n\nconst convertRuntimeTriggerToReactNode = (runtimeTrigger?: string) => {\n if (!runtimeTrigger) {\n return undefined;\n }\n // eslint-disable-next-line react/no-danger\n return <span style={{ lineHeight: 0 }} dangerouslySetInnerHTML={{ __html: runtimeTrigger }} />;\n};\n\nexport const mapRuntimeConfigToDrawer = (\n runtimeConfig: RuntimeDrawerConfig\n): AppLayoutProps.Drawer & {\n orderPriority?: number;\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n} => {\n const { mountContent, unmountContent, trigger, ...runtimeDrawer } = runtimeConfig;\n\n return {\n ...runtimeDrawer,\n ariaLabels: { drawerName: runtimeDrawer.ariaLabels.content ?? '', ...runtimeDrawer.ariaLabels },\n trigger: trigger\n ? {\n ...(trigger.iconSvg && {\n iconSvg: convertRuntimeTriggerToReactNode(trigger.iconSvg),\n }),\n }\n : undefined,\n content: (\n <RuntimeDrawerWrapper\n key={runtimeDrawer.id}\n mountContent={mountContent}\n unmountContent={unmountContent}\n id={runtimeDrawer.id}\n />\n ),\n onResize: event => {\n fireNonCancelableEvent(runtimeDrawer.onResize, { size: event.detail.size, id: runtimeDrawer.id });\n },\n headerActions: runtimeDrawer.headerActions ? checkForUnsupportedProps(runtimeDrawer.headerActions) : undefined,\n };\n};\n\nexport const mapRuntimeConfigToAiDrawer = (\n runtimeConfig: RuntimeAiDrawerConfig\n): AppLayoutProps.Drawer & {\n orderPriority?: number;\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n exitExpandedModeTrigger?: React.ReactNode;\n} => {\n const { mountContent, unmountContent, trigger, exitExpandedModeTrigger, ...runtimeDrawer } = runtimeConfig;\n\n return {\n ...runtimeDrawer,\n ariaLabels: { drawerName: runtimeDrawer.ariaLabels.content ?? '', ...runtimeDrawer.ariaLabels },\n ...(trigger && {\n trigger: {\n customIcon: convertRuntimeTriggerToReactNode(trigger?.customIcon),\n iconSvg: convertRuntimeTriggerToReactNode(trigger?.iconSvg),\n },\n }),\n exitExpandedModeTrigger: exitExpandedModeTrigger\n ? {\n customIcon: convertRuntimeTriggerToReactNode(exitExpandedModeTrigger?.customIcon),\n }\n : undefined,\n content: (\n <RuntimeDrawerWrapper\n key={runtimeDrawer.id}\n mountContent={mountContent}\n unmountContent={unmountContent}\n id={runtimeDrawer.id}\n />\n ),\n ...(runtimeDrawer.mountHeader && {\n header: (\n <RuntimeDrawerHeader mountHeader={runtimeDrawer.mountHeader} unmountHeader={runtimeDrawer.unmountHeader} />\n ),\n }),\n onResize: event => {\n fireNonCancelableEvent(runtimeDrawer.onResize, { size: event.detail.size, id: runtimeDrawer.id });\n },\n headerActions: runtimeDrawer.headerActions ? checkForUnsupportedProps(runtimeDrawer.headerActions) : undefined,\n };\n};\n\nexport function convertRuntimeDrawers(\n localDrawers: Array<RuntimeDrawerConfig>,\n globalDrawers: Array<RuntimeDrawerConfig>\n): DrawersLayout {\n const converted = localDrawers.map(mapRuntimeConfigToDrawer);\n const sorted = sortByPriority(converted);\n return {\n global: sortByPriority(globalDrawers.map(mapRuntimeConfigToDrawer)),\n localBefore: sorted.filter(item => (item.orderPriority ?? 0) > 0),\n localAfter: sorted.filter(item => (item.orderPriority ?? 0) <= 0),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/app-layout/runtime-drawer/index.tsx"],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ACD,aAAa,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,wBAAwB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,IAC9G;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,qBAAqB,CACnC,YAAwC,EACxC,aAAyC;IAEzC,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;IAC7D,MAAM,MAAM,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;IACzC,OAAO;QACL,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;QACnE,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,WAAC,OAAA,CAAC,MAAA,IAAI,CAAC,aAAa,mCAAI,CAAC,CAAC,GAAG,CAAC,CAAA,EAAA,CAAC;QACjE,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,WAAC,OAAA,CAAC,MAAA,IAAI,CAAC,aAAa,mCAAI,CAAC,CAAC,IAAI,CAAC,CAAA,EAAA,CAAC;KAClE,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useContext, useEffect, useRef } from 'react';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { ButtonGroupProps } from '../../button-group/interfaces';\nimport { fireNonCancelableEvent, NonCancelableEventHandler } from '../../internal/events';\nimport {\n DrawerConfig as RuntimeDrawerConfig,\n DrawerStateChangeParams,\n} from '../../internal/plugins/controllers/drawers';\nimport { sortByPriority } from '../../internal/plugins/helpers/utils';\nimport { DrawerPayload as RuntimeAiDrawerConfig } from '../../internal/plugins/widget/interfaces';\nimport { AppLayoutProps } from '../interfaces';\nimport { ActiveDrawersContext } from '../utils/visibility-context';\n\nimport styles from './styles.css.js';\n\nexport interface RuntimeDrawer extends AppLayoutProps.Drawer {\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n position?: 'side' | 'bottom';\n}\n\nexport interface DrawersLayout {\n global: Array<RuntimeDrawer>;\n localBefore: Array<RuntimeDrawer>;\n localAfter: Array<RuntimeDrawer>;\n}\n\ntype VisibilityCallback = (isVisible: boolean) => void;\n\ninterface RuntimeContentWrapperProps {\n id?: string;\n mountContent: RuntimeDrawerConfig['mountContent'];\n unmountContent: RuntimeDrawerConfig['unmountContent'];\n}\n\nfunction RuntimeDrawerWrapper({ mountContent, unmountContent, id }: RuntimeContentWrapperProps) {\n const ref = useRef<HTMLDivElement>(null);\n const visibilityChangeCallback = useRef<VisibilityCallback | null>(null);\n const activeDrawersIds = useContext(ActiveDrawersContext);\n const isVisible = !!id && activeDrawersIds.includes(id);\n\n useEffect(() => {\n const container = ref.current!;\n mountContent(container, {\n onVisibilityChange: cb => {\n visibilityChangeCallback.current = cb;\n },\n });\n return () => {\n unmountContent(container);\n visibilityChangeCallback.current = null;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n visibilityChangeCallback.current?.(isVisible);\n }, [isVisible]);\n\n return <div ref={ref} className={styles['runtime-content-wrapper']} data-awsui-runtime-drawer-root-id={id}></div>;\n}\n\ninterface RuntimeContentHeaderProps {\n mountHeader: (container: HTMLElement) => void;\n unmountHeader?: (container: HTMLElement) => void;\n}\n\nfunction RuntimeDrawerHeader({ mountHeader, unmountHeader }: RuntimeContentHeaderProps) {\n const ref = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n const container = ref.current!;\n mountHeader?.(container);\n return () => {\n unmountHeader?.(container);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return <div className={styles['runtime-header-wrapper']} ref={ref} />;\n}\n\nfunction checkForUnsupportedProps(headerActions: ReadonlyArray<ButtonGroupProps.Item>) {\n const unsupportedProps = new Set([\n 'iconSvg',\n 'popoverFeedback',\n 'pressedIconSvg',\n 'popoverFeedback',\n 'pressedPopoverFeedback',\n ]);\n for (const item of headerActions) {\n const unsupported = Object.keys(item).filter(key => unsupportedProps.has(key));\n if (unsupported.length > 0) {\n warnOnce('AppLayout', `The headerActions properties are not supported for runtime api: ${unsupported.join(' ')}`);\n }\n }\n return headerActions;\n}\n\nconst convertRuntimeTriggerToReactNode = (runtimeTrigger?: string) => {\n if (!runtimeTrigger) {\n return undefined;\n }\n // eslint-disable-next-line react/no-danger\n return <span style={{ lineHeight: 0 }} dangerouslySetInnerHTML={{ __html: runtimeTrigger }} />;\n};\n\nexport const mapRuntimeConfigToDrawer = (\n runtimeConfig: RuntimeDrawerConfig\n): AppLayoutProps.Drawer & {\n orderPriority?: number;\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n} => {\n const { mountContent, unmountContent, trigger, ...runtimeDrawer } = runtimeConfig;\n\n return {\n ...runtimeDrawer,\n ariaLabels: { drawerName: runtimeDrawer.ariaLabels.content ?? '', ...runtimeDrawer.ariaLabels },\n trigger: trigger\n ? {\n ...(trigger.iconSvg && {\n iconSvg: convertRuntimeTriggerToReactNode(trigger.iconSvg),\n }),\n }\n : undefined,\n content: (\n <RuntimeDrawerWrapper\n key={runtimeDrawer.id}\n mountContent={mountContent}\n unmountContent={unmountContent}\n id={runtimeDrawer.id}\n />\n ),\n onResize: event => {\n fireNonCancelableEvent(runtimeDrawer.onResize, { size: event.detail.size, id: runtimeDrawer.id });\n },\n headerActions: runtimeDrawer.headerActions ? checkForUnsupportedProps(runtimeDrawer.headerActions) : undefined,\n };\n};\n\nexport const mapRuntimeConfigToAiDrawer = (\n runtimeConfig: RuntimeAiDrawerConfig\n): AppLayoutProps.Drawer & {\n orderPriority?: number;\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n exitExpandedModeTrigger?: React.ReactNode;\n} => {\n const { mountContent, unmountContent, trigger, exitExpandedModeTrigger, ...runtimeDrawer } = runtimeConfig;\n\n return {\n ...runtimeDrawer,\n ariaLabels: { drawerName: runtimeDrawer.ariaLabels.content ?? '', ...runtimeDrawer.ariaLabels },\n ...(trigger && {\n trigger: {\n customIcon: convertRuntimeTriggerToReactNode(trigger?.customIcon),\n iconSvg: convertRuntimeTriggerToReactNode(trigger?.iconSvg),\n },\n }),\n exitExpandedModeTrigger: exitExpandedModeTrigger\n ? {\n customIcon: convertRuntimeTriggerToReactNode(exitExpandedModeTrigger?.customIcon),\n }\n : undefined,\n content: (\n <RuntimeDrawerWrapper\n key={runtimeDrawer.id}\n mountContent={mountContent}\n unmountContent={unmountContent}\n id={runtimeDrawer.id}\n />\n ),\n ...(runtimeDrawer.mountHeader && {\n header: (\n <RuntimeDrawerHeader mountHeader={runtimeDrawer.mountHeader} unmountHeader={runtimeDrawer.unmountHeader} />\n ),\n }),\n onResize: event => {\n fireNonCancelableEvent(runtimeDrawer.onResize, { size: event.detail.size, id: runtimeDrawer.id });\n },\n headerActions: runtimeDrawer.headerActions ? checkForUnsupportedProps(runtimeDrawer.headerActions) : undefined,\n };\n};\n\nexport function convertRuntimeDrawers(\n localDrawers: Array<RuntimeDrawerConfig>,\n globalDrawers: Array<RuntimeDrawerConfig>\n): DrawersLayout {\n const converted = localDrawers.map(mapRuntimeConfigToDrawer);\n const sorted = sortByPriority(converted);\n return {\n global: sortByPriority(globalDrawers.map(mapRuntimeConfigToDrawer)),\n localBefore: sorted.filter(item => (item.orderPriority ?? 0) > 0),\n localAfter: sorted.filter(item => (item.orderPriority ?? 0) <= 0),\n };\n}\n"]}
@@ -32,7 +32,7 @@ export declare function useDrawers({ drawers, activeDrawerId: controlledActiveDr
32
32
  minDrawerSize: number;
33
33
  minGlobalDrawersSizes: Record<string, number>;
34
34
  drawerSizes: Record<string, number>;
35
- drawersOpenQueue: string[];
35
+ drawersOpenQueue: React.MutableRefObject<string[]>;
36
36
  onActiveDrawerChange: (newDrawerId: string | null, { initiatedByUserAction }?: OnChangeParams) => void;
37
37
  onActiveDrawerResize: ({ id, size }: {
38
38
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"use-drawers.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-drawers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAS3D,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAI/C,eAAO,MAAM,eAAe,yBAAyB,CAAC;AAEtD,UAAU,UAAU;IAClB,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;IACnC,aAAa,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC;IAC9C,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAkKD,eAAO,MAAM,eAAe,MAAM,CAAC;AAEnC,KAAK,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,gBAAgB,GAAG,gBAAgB,CAAC,GAAG;IAC7F,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,wBAAgB,UAAU,CACxB,EACE,OAAO,EACP,cAAc,EAAE,wBAAwB,EACxC,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EAAE,qBAAqB,GAC/C,EAAE,eAAe,EAClB,UAAU,EAAE,cAA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