@cloudscape-design/components-themeable 3.0.1163 → 3.0.1165

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 (192) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +1 -0
  3. package/lib/internal/scss/app-layout/visual-refresh-toolbar/drawer/styles.scss +4 -1
  4. package/lib/internal/scss/drawer/styles.scss +25 -0
  5. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  6. package/lib/internal/scss/table/resizer/styles.scss +7 -6
  7. package/lib/internal/template/anchor-navigation/styles.css.js +8 -8
  8. package/lib/internal/template/anchor-navigation/styles.scoped.css +21 -21
  9. package/lib/internal/template/anchor-navigation/styles.selectors.js +8 -8
  10. package/lib/internal/template/app-layout/runtime-drawer/index.d.ts.map +1 -1
  11. package/lib/internal/template/app-layout/runtime-drawer/index.js +20 -18
  12. package/lib/internal/template/app-layout/runtime-drawer/index.js.map +1 -1
  13. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
  14. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +164 -163
  15. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
  16. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +30 -30
  17. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +86 -83
  18. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +30 -30
  19. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.d.ts.map +1 -1
  20. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js +1 -1
  21. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js.map +1 -1
  22. package/lib/internal/template/attribute-editor/styles.css.js +15 -15
  23. package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
  24. package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
  25. package/lib/internal/template/autosuggest/interfaces.d.ts +1 -1
  26. package/lib/internal/template/autosuggest/interfaces.js.map +1 -1
  27. package/lib/internal/template/box/styles.css.js +192 -192
  28. package/lib/internal/template/box/styles.scoped.css +242 -242
  29. package/lib/internal/template/box/styles.selectors.js +192 -192
  30. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  31. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
  32. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  33. package/lib/internal/template/button/styles.css.js +22 -22
  34. package/lib/internal/template/button/styles.scoped.css +96 -96
  35. package/lib/internal/template/button/styles.selectors.js +22 -22
  36. package/lib/internal/template/button-dropdown/category-elements/styles.css.js +17 -17
  37. package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +27 -27
  38. package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +17 -17
  39. package/lib/internal/template/button-dropdown/item-element/styles.css.js +20 -20
  40. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +35 -35
  41. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +20 -20
  42. package/lib/internal/template/button-group/interfaces.d.ts +9 -0
  43. package/lib/internal/template/button-group/interfaces.d.ts.map +1 -1
  44. package/lib/internal/template/button-group/interfaces.js.map +1 -1
  45. package/lib/internal/template/calendar/styles.css.js +21 -21
  46. package/lib/internal/template/calendar/styles.scoped.css +44 -44
  47. package/lib/internal/template/calendar/styles.selectors.js +21 -21
  48. package/lib/internal/template/cards/styles.css.js +39 -39
  49. package/lib/internal/template/cards/styles.scoped.css +51 -51
  50. package/lib/internal/template/cards/styles.selectors.js +39 -39
  51. package/lib/internal/template/code-editor/styles.css.js +33 -33
  52. package/lib/internal/template/code-editor/styles.scoped.css +187 -187
  53. package/lib/internal/template/code-editor/styles.selectors.js +33 -33
  54. package/lib/internal/template/collection-preferences/styles.css.js +36 -36
  55. package/lib/internal/template/collection-preferences/styles.scoped.css +38 -38
  56. package/lib/internal/template/collection-preferences/styles.selectors.js +36 -36
  57. package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +30 -30
  58. package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +56 -56
  59. package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +30 -30
  60. package/lib/internal/template/drawer/implementation.d.ts +1 -1
  61. package/lib/internal/template/drawer/implementation.d.ts.map +1 -1
  62. package/lib/internal/template/drawer/implementation.js +13 -4
  63. package/lib/internal/template/drawer/implementation.js.map +1 -1
  64. package/lib/internal/template/drawer/interfaces.d.ts +7 -0
  65. package/lib/internal/template/drawer/interfaces.d.ts.map +1 -1
  66. package/lib/internal/template/drawer/interfaces.js.map +1 -1
  67. package/lib/internal/template/drawer/styles.css.js +12 -8
  68. package/lib/internal/template/drawer/styles.scoped.css +35 -13
  69. package/lib/internal/template/drawer/styles.selectors.js +12 -8
  70. package/lib/internal/template/drawer/use-sticky-footer.d.ts +9 -0
  71. package/lib/internal/template/drawer/use-sticky-footer.d.ts.map +1 -0
  72. package/lib/internal/template/drawer/use-sticky-footer.js +35 -0
  73. package/lib/internal/template/drawer/use-sticky-footer.js.map +1 -0
  74. package/lib/internal/template/expandable-section/styles.css.js +35 -35
  75. package/lib/internal/template/expandable-section/styles.scoped.css +68 -68
  76. package/lib/internal/template/expandable-section/styles.selectors.js +35 -35
  77. package/lib/internal/template/help-panel/styles.css.js +6 -6
  78. package/lib/internal/template/help-panel/styles.scoped.css +75 -75
  79. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  80. package/lib/internal/template/icon/styles.css.js +39 -39
  81. package/lib/internal/template/icon/styles.scoped.css +87 -87
  82. package/lib/internal/template/icon/styles.selectors.js +39 -39
  83. package/lib/internal/template/internal/base-component/styles.scoped.css +504 -437
  84. package/lib/internal/template/internal/components/button-trigger/styles.css.js +13 -13
  85. package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +29 -29
  86. package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +13 -13
  87. package/lib/internal/template/internal/components/cartesian-chart/styles.css.js +28 -28
  88. package/lib/internal/template/internal/components/cartesian-chart/styles.scoped.css +33 -33
  89. package/lib/internal/template/internal/components/cartesian-chart/styles.selectors.js +28 -28
  90. package/lib/internal/template/internal/components/chart-series-details/styles.css.js +19 -19
  91. package/lib/internal/template/internal/components/chart-series-details/styles.scoped.css +33 -33
  92. package/lib/internal/template/internal/components/chart-series-details/styles.selectors.js +19 -19
  93. package/lib/internal/template/internal/components/option/styles.css.js +16 -16
  94. package/lib/internal/template/internal/components/option/styles.scoped.css +29 -29
  95. package/lib/internal/template/internal/components/option/styles.selectors.js +16 -16
  96. package/lib/internal/template/internal/components/selectable-item/styles.css.js +23 -23
  97. package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +54 -54
  98. package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +23 -23
  99. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  100. package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
  101. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  102. package/lib/internal/template/internal/environment.js +3 -3
  103. package/lib/internal/template/internal/environment.json +2 -2
  104. package/lib/internal/template/internal/generated/styles/tokens.js +8 -8
  105. package/lib/internal/template/internal/generated/theming/index.cjs +24 -24
  106. package/lib/internal/template/internal/generated/theming/index.js +24 -24
  107. package/lib/internal/template/internal/hooks/use-portal-mode-classes/index.d.ts +3 -1
  108. package/lib/internal/template/internal/hooks/use-portal-mode-classes/index.d.ts.map +1 -1
  109. package/lib/internal/template/internal/hooks/use-portal-mode-classes/index.js +2 -2
  110. package/lib/internal/template/internal/hooks/use-portal-mode-classes/index.js.map +1 -1
  111. package/lib/internal/template/internal/plugins/controllers/drawers.d.ts +2 -2
  112. package/lib/internal/template/internal/plugins/controllers/drawers.d.ts.map +1 -1
  113. package/lib/internal/template/internal/plugins/controllers/drawers.js.map +1 -1
  114. package/lib/internal/template/internal/plugins/widget/interfaces.d.ts +2 -2
  115. package/lib/internal/template/internal/plugins/widget/interfaces.d.ts.map +1 -1
  116. package/lib/internal/template/internal/plugins/widget/interfaces.js.map +1 -1
  117. package/lib/internal/template/key-value-pairs/styles.css.js +8 -8
  118. package/lib/internal/template/key-value-pairs/styles.scoped.css +10 -10
  119. package/lib/internal/template/key-value-pairs/styles.selectors.js +8 -8
  120. package/lib/internal/template/link/styles.css.js +20 -20
  121. package/lib/internal/template/link/styles.scoped.css +92 -92
  122. package/lib/internal/template/link/styles.selectors.js +20 -20
  123. package/lib/internal/template/pagination/styles.css.js +9 -9
  124. package/lib/internal/template/pagination/styles.scoped.css +24 -24
  125. package/lib/internal/template/pagination/styles.selectors.js +9 -9
  126. package/lib/internal/template/pie-chart/styles.css.js +27 -27
  127. package/lib/internal/template/pie-chart/styles.scoped.css +50 -50
  128. package/lib/internal/template/pie-chart/styles.selectors.js +27 -27
  129. package/lib/internal/template/popover/internal.js +1 -1
  130. package/lib/internal/template/popover/internal.js.map +1 -1
  131. package/lib/internal/template/popover/styles.css.js +57 -57
  132. package/lib/internal/template/popover/styles.scoped.css +87 -87
  133. package/lib/internal/template/popover/styles.selectors.js +57 -57
  134. package/lib/internal/template/progress-bar/styles.css.js +19 -19
  135. package/lib/internal/template/progress-bar/styles.scoped.css +31 -31
  136. package/lib/internal/template/progress-bar/styles.selectors.js +19 -19
  137. package/lib/internal/template/property-filter/styles.css.js +39 -39
  138. package/lib/internal/template/property-filter/styles.scoped.css +42 -42
  139. package/lib/internal/template/property-filter/styles.selectors.js +39 -39
  140. package/lib/internal/template/segmented-control/styles.css.js +16 -16
  141. package/lib/internal/template/segmented-control/styles.scoped.css +36 -36
  142. package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
  143. package/lib/internal/template/select/interfaces.d.ts +1 -1
  144. package/lib/internal/template/select/interfaces.js.map +1 -1
  145. package/lib/internal/template/side-navigation/styles.css.js +30 -30
  146. package/lib/internal/template/side-navigation/styles.scoped.css +47 -47
  147. package/lib/internal/template/side-navigation/styles.selectors.js +30 -30
  148. package/lib/internal/template/split-panel/icons/styles.css.js +22 -22
  149. package/lib/internal/template/split-panel/icons/styles.scoped.css +27 -27
  150. package/lib/internal/template/split-panel/icons/styles.selectors.js +22 -22
  151. package/lib/internal/template/table/body-cell/styles.css.js +47 -47
  152. package/lib/internal/template/table/body-cell/styles.scoped.css +377 -377
  153. package/lib/internal/template/table/body-cell/styles.selectors.js +47 -47
  154. package/lib/internal/template/table/header-cell/index.d.ts +1 -1
  155. package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
  156. package/lib/internal/template/table/header-cell/index.js +1 -1
  157. package/lib/internal/template/table/header-cell/index.js.map +1 -1
  158. package/lib/internal/template/table/header-cell/th-element.d.ts +1 -1
  159. package/lib/internal/template/table/header-cell/th-element.d.ts.map +1 -1
  160. package/lib/internal/template/table/header-cell/th-element.js.map +1 -1
  161. package/lib/internal/template/table/resizer/index.d.ts +2 -1
  162. package/lib/internal/template/table/resizer/index.d.ts.map +1 -1
  163. package/lib/internal/template/table/resizer/index.js +8 -5
  164. package/lib/internal/template/table/resizer/index.js.map +1 -1
  165. package/lib/internal/template/table/resizer/styles.css.js +13 -12
  166. package/lib/internal/template/table/resizer/styles.scoped.css +22 -22
  167. package/lib/internal/template/table/resizer/styles.selectors.js +13 -12
  168. package/lib/internal/template/table/thead.d.ts +1 -1
  169. package/lib/internal/template/table/thead.d.ts.map +1 -1
  170. package/lib/internal/template/table/thead.js.map +1 -1
  171. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  172. package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
  173. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  174. package/lib/internal/template/test-utils/dom/drawer/index.d.ts +1 -0
  175. package/lib/internal/template/test-utils/dom/drawer/index.js +3 -0
  176. package/lib/internal/template/test-utils/dom/drawer/index.js.map +1 -1
  177. package/lib/internal/template/test-utils/selectors/drawer/index.d.ts +1 -0
  178. package/lib/internal/template/test-utils/selectors/drawer/index.js +3 -0
  179. package/lib/internal/template/test-utils/selectors/drawer/index.js.map +1 -1
  180. package/lib/internal/template/text-content/styles.css.js +1 -1
  181. package/lib/internal/template/text-content/styles.scoped.css +66 -66
  182. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  183. package/lib/internal/template/token/styles.css.js +14 -14
  184. package/lib/internal/template/token/styles.scoped.css +29 -29
  185. package/lib/internal/template/token/styles.selectors.js +14 -14
  186. package/lib/internal/template/top-navigation/styles.css.js +47 -47
  187. package/lib/internal/template/top-navigation/styles.scoped.css +66 -66
  188. package/lib/internal/template/top-navigation/styles.selectors.js +47 -47
  189. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  190. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.scoped.css +28 -28
  191. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  192. package/package.json +1 -1
@@ -2,13 +2,17 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "drawer": "awsui_drawer_1sxt8_18ek3_189",
6
- "header": "awsui_header_1sxt8_18ek3_222",
7
- "with-additional-action": "awsui_with-additional-action_1sxt8_18ek3_239",
8
- "with-runtime-context": "awsui_with-runtime-context_1sxt8_18ek3_247",
9
- "with-toolbar": "awsui_with-toolbar_1sxt8_18ek3_250",
10
- "header-actions": "awsui_header-actions_1sxt8_18ek3_269",
11
- "content-with-paddings": "awsui_content-with-paddings_1sxt8_18ek3_275",
12
- "test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_18ek3_282"
5
+ "drawer": "awsui_drawer_1sxt8_t1bin_189",
6
+ "with-footer": "awsui_with-footer_1sxt8_t1bin_221",
7
+ "content": "awsui_content_1sxt8_t1bin_226",
8
+ "header": "awsui_header_1sxt8_t1bin_230",
9
+ "with-additional-action": "awsui_with-additional-action_1sxt8_t1bin_247",
10
+ "with-runtime-context": "awsui_with-runtime-context_1sxt8_t1bin_255",
11
+ "with-toolbar": "awsui_with-toolbar_1sxt8_t1bin_258",
12
+ "header-actions": "awsui_header-actions_1sxt8_t1bin_277",
13
+ "content-with-paddings": "awsui_content-with-paddings_1sxt8_t1bin_283",
14
+ "footer": "awsui_footer_1sxt8_t1bin_290",
15
+ "is-sticky": "awsui_is-sticky_1sxt8_t1bin_296",
16
+ "test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_t1bin_304"
13
17
  };
14
18
 
@@ -0,0 +1,9 @@
1
+ import { RefObject } from 'react';
2
+ export declare const MINIMUM_SCROLLABLE_SPACE = 148;
3
+ export declare function useStickyFooter({ drawerRef, footerRef, }: {
4
+ drawerRef: RefObject<HTMLElement>;
5
+ footerRef: RefObject<HTMLElement>;
6
+ }): {
7
+ isSticky: boolean;
8
+ };
9
+ //# sourceMappingURL=use-sticky-footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sticky-footer.d.ts","sourceRoot":"","sources":["../../../src/drawer/use-sticky-footer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAA0C,MAAM,OAAO,CAAC;AAM1E,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAG5C,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,SAAS,GACV,EAAE;IACD,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAClC,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;CACnC;;EAoCA"}
@@ -0,0 +1,35 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { useCallback, useLayoutEffect, useState } from 'react';
4
+ import { throttle } from '../internal/utils/throttle';
5
+ // Minimum scrollable space is the space other than the sticky content, for instance for a sticky footer it's the
6
+ // the space other than that, which would be drawer height minus footer height.
7
+ export const MINIMUM_SCROLLABLE_SPACE = 148;
8
+ const STICKY_STATE_CHECK_THROTTLE_DELAY = 100; // every tenth of a second
9
+ export function useStickyFooter({ drawerRef, footerRef, }) {
10
+ const [isSticky, setIsSticky] = useState(true);
11
+ const checkStickyState = throttle(useCallback(() => {
12
+ if (!drawerRef.current || !footerRef.current) {
13
+ return;
14
+ }
15
+ const parentElement = drawerRef.current.parentElement;
16
+ const parentElementHeight = parentElement === null || parentElement === void 0 ? void 0 : parentElement.getBoundingClientRect().height;
17
+ const drawerHeight = drawerRef.current.getBoundingClientRect().height;
18
+ const effectiveHeight = Math.min(parentElementHeight !== null && parentElementHeight !== void 0 ? parentElementHeight : drawerHeight, drawerHeight);
19
+ // take minimum of drawer and parent height
20
+ const footerHeight = footerRef.current.getBoundingClientRect().height;
21
+ const scrollableHeight = effectiveHeight - footerHeight;
22
+ const hasEnoughSpace = scrollableHeight >= MINIMUM_SCROLLABLE_SPACE;
23
+ setIsSticky(hasEnoughSpace);
24
+ }, [footerRef, drawerRef]), STICKY_STATE_CHECK_THROTTLE_DELAY);
25
+ useLayoutEffect(() => {
26
+ window.addEventListener('resize', checkStickyState);
27
+ checkStickyState();
28
+ return () => {
29
+ window.removeEventListener('resize', checkStickyState);
30
+ checkStickyState.cancel();
31
+ };
32
+ }, [checkStickyState]);
33
+ return { isSticky };
34
+ }
35
+ //# sourceMappingURL=use-sticky-footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sticky-footer.js","sourceRoot":"","sources":["../../../src/drawer/use-sticky-footer.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAa,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,iHAAiH;AACjH,+EAA+E;AAC/E,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAC5C,MAAM,iCAAiC,GAAG,GAAG,CAAC,CAAC,0BAA0B;AAEzE,MAAM,UAAU,eAAe,CAAC,EAC9B,SAAS,EACT,SAAS,GAIV;IACC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE/C,MAAM,gBAAgB,GAAG,QAAQ,CAC/B,WAAW,CAAC,GAAG,EAAE;QACf,IAAI,CAAC,SAAS,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;YAC7C,OAAO;QACT,CAAC;QAED,MAAM,aAAa,GAAG,SAAS,CAAC,OAAO,CAAC,aAAa,CAAC;QACtD,MAAM,mBAAmB,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,qBAAqB,GAAG,MAAM,CAAC;QAC1E,MAAM,YAAY,GAAG,SAAS,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC;QACtE,MAAM,eAAe,GAAG,IAAI,CAAC,GAAG,CAAC,mBAAmB,aAAnB,mBAAmB,cAAnB,mBAAmB,GAAI,YAAY,EAAE,YAAY,CAAC,CAAC;QAEpF,2CAA2C;QAC3C,MAAM,YAAY,GAAG,SAAS,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC;QAEtE,MAAM,gBAAgB,GAAG,eAAe,GAAG,YAAY,CAAC;QACxD,MAAM,cAAc,GAAG,gBAAgB,IAAI,wBAAwB,CAAC;QAEpE,WAAW,CAAC,cAAc,CAAC,CAAC;IAC9B,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,EAC1B,iCAAiC,CAClC,CAAC;IAEF,eAAe,CAAC,GAAG,EAAE;QACnB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;QACpD,gBAAgB,EAAE,CAAC;QAEnB,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;YACvD,gBAAgB,CAAC,MAAM,EAAE,CAAC;QAC5B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAEvB,OAAO,EAAE,QAAQ,EAAE,CAAC;AACtB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { RefObject, useCallback, useLayoutEffect, useState } from 'react';\n\nimport { throttle } from '../internal/utils/throttle';\n\n// Minimum scrollable space is the space other than the sticky content, for instance for a sticky footer it's the\n// the space other than that, which would be drawer height minus footer height.\nexport const MINIMUM_SCROLLABLE_SPACE = 148;\nconst STICKY_STATE_CHECK_THROTTLE_DELAY = 100; // every tenth of a second\n\nexport function useStickyFooter({\n drawerRef,\n footerRef,\n}: {\n drawerRef: RefObject<HTMLElement>;\n footerRef: RefObject<HTMLElement>;\n}) {\n const [isSticky, setIsSticky] = useState(true);\n\n const checkStickyState = throttle(\n useCallback(() => {\n if (!drawerRef.current || !footerRef.current) {\n return;\n }\n\n const parentElement = drawerRef.current.parentElement;\n const parentElementHeight = parentElement?.getBoundingClientRect().height;\n const drawerHeight = drawerRef.current.getBoundingClientRect().height;\n const effectiveHeight = Math.min(parentElementHeight ?? drawerHeight, drawerHeight);\n\n // take minimum of drawer and parent height\n const footerHeight = footerRef.current.getBoundingClientRect().height;\n\n const scrollableHeight = effectiveHeight - footerHeight;\n const hasEnoughSpace = scrollableHeight >= MINIMUM_SCROLLABLE_SPACE;\n\n setIsSticky(hasEnoughSpace);\n }, [footerRef, drawerRef]),\n STICKY_STATE_CHECK_THROTTLE_DELAY\n );\n\n useLayoutEffect(() => {\n window.addEventListener('resize', checkStickyState);\n checkStickyState();\n\n return () => {\n window.removeEventListener('resize', checkStickyState);\n checkStickyState.cancel();\n };\n }, [checkStickyState]);\n\n return { isSticky };\n}\n"]}
@@ -1,40 +1,40 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "content-enter": "awsui_content-enter_gwq0h_3dyev_161",
5
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_3dyev_1",
6
- "trigger-expanded": "awsui_trigger-expanded_gwq0h_3dyev_183",
7
- "icon": "awsui_icon_gwq0h_3dyev_197",
8
- "root": "awsui_root_gwq0h_3dyev_211",
9
- "expand-button": "awsui_expand-button_gwq0h_3dyev_246",
10
- "expanded": "awsui_expanded_gwq0h_3dyev_254",
11
- "icon-container": "awsui_icon-container_gwq0h_3dyev_264",
12
- "icon-container-container": "awsui_icon-container-container_gwq0h_3dyev_268",
13
- "wrapper": "awsui_wrapper_gwq0h_3dyev_272",
14
- "wrapper-default": "awsui_wrapper-default_gwq0h_3dyev_280",
15
- "wrapper-inline": "awsui_wrapper-inline_gwq0h_3dyev_280",
16
- "wrapper-footer": "awsui_wrapper-footer_gwq0h_3dyev_280",
17
- "wrapper-navigation": "awsui_wrapper-navigation_gwq0h_3dyev_284",
18
- "wrapper-container": "awsui_wrapper-container_gwq0h_3dyev_287",
19
- "wrapper-compact": "awsui_wrapper-compact_gwq0h_3dyev_291",
20
- "header-deprecated": "awsui_header-deprecated_gwq0h_3dyev_304",
21
- "wrapper-expanded": "awsui_wrapper-expanded_gwq0h_3dyev_310",
22
- "wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_3dyev_333",
23
- "header": "awsui_header_gwq0h_3dyev_304",
24
- "header-wrapper": "awsui_header-wrapper_gwq0h_3dyev_350",
25
- "header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_3dyev_362",
26
- "header-button": "awsui_header-button_gwq0h_3dyev_368",
27
- "header-container-button": "awsui_header-container-button_gwq0h_3dyev_368",
28
- "header-container": "awsui_header-container_gwq0h_3dyev_368",
29
- "header-navigation": "awsui_header-navigation_gwq0h_3dyev_403",
30
- "header-text": "awsui_header-text_gwq0h_3dyev_440",
31
- "content": "awsui_content_gwq0h_3dyev_161",
32
- "content-default": "awsui_content-default_gwq0h_3dyev_453",
33
- "content-inline": "awsui_content-inline_gwq0h_3dyev_453",
34
- "content-footer": "awsui_content-footer_gwq0h_3dyev_457",
35
- "content-expanded": "awsui_content-expanded_gwq0h_3dyev_461",
36
- "content-compact": "awsui_content-compact_gwq0h_3dyev_464",
37
- "focusable": "awsui_focusable_gwq0h_3dyev_468",
38
- "click-target": "awsui_click-target_gwq0h_3dyev_483"
4
+ "content-enter": "awsui_content-enter_gwq0h_e6qcq_161",
5
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_e6qcq_1",
6
+ "trigger-expanded": "awsui_trigger-expanded_gwq0h_e6qcq_183",
7
+ "icon": "awsui_icon_gwq0h_e6qcq_197",
8
+ "root": "awsui_root_gwq0h_e6qcq_211",
9
+ "expand-button": "awsui_expand-button_gwq0h_e6qcq_246",
10
+ "expanded": "awsui_expanded_gwq0h_e6qcq_254",
11
+ "icon-container": "awsui_icon-container_gwq0h_e6qcq_264",
12
+ "icon-container-container": "awsui_icon-container-container_gwq0h_e6qcq_268",
13
+ "wrapper": "awsui_wrapper_gwq0h_e6qcq_272",
14
+ "wrapper-default": "awsui_wrapper-default_gwq0h_e6qcq_280",
15
+ "wrapper-inline": "awsui_wrapper-inline_gwq0h_e6qcq_280",
16
+ "wrapper-footer": "awsui_wrapper-footer_gwq0h_e6qcq_280",
17
+ "wrapper-navigation": "awsui_wrapper-navigation_gwq0h_e6qcq_284",
18
+ "wrapper-container": "awsui_wrapper-container_gwq0h_e6qcq_287",
19
+ "wrapper-compact": "awsui_wrapper-compact_gwq0h_e6qcq_291",
20
+ "header-deprecated": "awsui_header-deprecated_gwq0h_e6qcq_304",
21
+ "wrapper-expanded": "awsui_wrapper-expanded_gwq0h_e6qcq_310",
22
+ "wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_e6qcq_333",
23
+ "header": "awsui_header_gwq0h_e6qcq_304",
24
+ "header-wrapper": "awsui_header-wrapper_gwq0h_e6qcq_350",
25
+ "header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_e6qcq_362",
26
+ "header-button": "awsui_header-button_gwq0h_e6qcq_368",
27
+ "header-container-button": "awsui_header-container-button_gwq0h_e6qcq_368",
28
+ "header-container": "awsui_header-container_gwq0h_e6qcq_368",
29
+ "header-navigation": "awsui_header-navigation_gwq0h_e6qcq_403",
30
+ "header-text": "awsui_header-text_gwq0h_e6qcq_440",
31
+ "content": "awsui_content_gwq0h_e6qcq_161",
32
+ "content-default": "awsui_content-default_gwq0h_e6qcq_453",
33
+ "content-inline": "awsui_content-inline_gwq0h_e6qcq_453",
34
+ "content-footer": "awsui_content-footer_gwq0h_e6qcq_457",
35
+ "content-expanded": "awsui_content-expanded_gwq0h_e6qcq_461",
36
+ "content-compact": "awsui_content-compact_gwq0h_e6qcq_464",
37
+ "focusable": "awsui_focusable_gwq0h_e6qcq_468",
38
+ "click-target": "awsui_click-target_gwq0h_e6qcq_483"
39
39
  };
40
40
 
@@ -158,10 +158,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
158
158
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
159
159
  SPDX-License-Identifier: Apache-2.0
160
160
  */
161
- .awsui_content-enter_gwq0h_3dyev_161:not(#\9) {
162
- animation: awsui_awsui-motion-fade-in_gwq0h_3dyev_1 var(--motion-duration-show-paced-agho9h, 180ms) var(--motion-easing-show-paced-vcekro, ease-out);
161
+ .awsui_content-enter_gwq0h_e6qcq_161:not(#\9) {
162
+ animation: awsui_awsui-motion-fade-in_gwq0h_e6qcq_1 var(--motion-duration-show-paced-agho9h, 180ms) var(--motion-easing-show-paced-vcekro, ease-out);
163
163
  }
164
- @keyframes awsui_awsui-motion-fade-in_gwq0h_3dyev_1 {
164
+ @keyframes awsui_awsui-motion-fade-in_gwq0h_e6qcq_1 {
165
165
  from {
166
166
  opacity: 0.2;
167
167
  }
@@ -170,45 +170,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
170
170
  }
171
171
  }
172
172
  @media (prefers-reduced-motion: reduce) {
173
- .awsui_content-enter_gwq0h_3dyev_161:not(#\9) {
173
+ .awsui_content-enter_gwq0h_e6qcq_161:not(#\9) {
174
174
  animation: none;
175
175
  transition: none;
176
176
  }
177
177
  }
178
- .awsui-motion-disabled .awsui_content-enter_gwq0h_3dyev_161:not(#\9), .awsui-mode-entering .awsui_content-enter_gwq0h_3dyev_161:not(#\9) {
178
+ .awsui-motion-disabled .awsui_content-enter_gwq0h_e6qcq_161:not(#\9), .awsui-mode-entering .awsui_content-enter_gwq0h_e6qcq_161:not(#\9) {
179
179
  animation: none;
180
180
  transition: none;
181
181
  }
182
182
 
183
- .awsui_trigger-expanded_gwq0h_3dyev_183:not(#\9) {
183
+ .awsui_trigger-expanded_gwq0h_e6qcq_183:not(#\9) {
184
184
  transition: border-bottom-color var(--motion-duration-show-paced-agho9h, 180ms) var(--motion-easing-show-paced-vcekro, ease-out);
185
185
  }
186
186
  @media (prefers-reduced-motion: reduce) {
187
- .awsui_trigger-expanded_gwq0h_3dyev_183:not(#\9) {
187
+ .awsui_trigger-expanded_gwq0h_e6qcq_183:not(#\9) {
188
188
  animation: none;
189
189
  transition: none;
190
190
  }
191
191
  }
192
- .awsui-motion-disabled .awsui_trigger-expanded_gwq0h_3dyev_183:not(#\9), .awsui-mode-entering .awsui_trigger-expanded_gwq0h_3dyev_183:not(#\9) {
192
+ .awsui-motion-disabled .awsui_trigger-expanded_gwq0h_e6qcq_183:not(#\9), .awsui-mode-entering .awsui_trigger-expanded_gwq0h_e6qcq_183:not(#\9) {
193
193
  animation: none;
194
194
  transition: none;
195
195
  }
196
196
 
197
- .awsui_icon_gwq0h_3dyev_197:not(#\9) {
197
+ .awsui_icon_gwq0h_e6qcq_197:not(#\9) {
198
198
  transition: transform var(--motion-duration-rotate-90-f1ulnu, 135ms) var(--motion-easing-rotate-90-jekue3, cubic-bezier(0.165, 0.84, 0.44, 1));
199
199
  }
200
200
  @media (prefers-reduced-motion: reduce) {
201
- .awsui_icon_gwq0h_3dyev_197:not(#\9) {
201
+ .awsui_icon_gwq0h_e6qcq_197:not(#\9) {
202
202
  animation: none;
203
203
  transition: none;
204
204
  }
205
205
  }
206
- .awsui-motion-disabled .awsui_icon_gwq0h_3dyev_197:not(#\9), .awsui-mode-entering .awsui_icon_gwq0h_3dyev_197:not(#\9) {
206
+ .awsui-motion-disabled .awsui_icon_gwq0h_e6qcq_197:not(#\9), .awsui-mode-entering .awsui_icon_gwq0h_e6qcq_197:not(#\9) {
207
207
  animation: none;
208
208
  transition: none;
209
209
  }
210
210
 
211
- .awsui_root_gwq0h_3dyev_211:not(#\9) {
211
+ .awsui_root_gwq0h_e6qcq_211:not(#\9) {
212
212
  border-collapse: separate;
213
213
  border-spacing: 0;
214
214
  box-sizing: border-box;
@@ -243,33 +243,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
243
243
  display: block;
244
244
  }
245
245
 
246
- .awsui_expand-button_gwq0h_3dyev_246:not(#\9) {
246
+ .awsui_expand-button_gwq0h_e6qcq_246:not(#\9) {
247
247
  outline: none;
248
248
  }
249
249
 
250
- .awsui_icon_gwq0h_3dyev_197:not(#\9) {
250
+ .awsui_icon_gwq0h_e6qcq_197:not(#\9) {
251
251
  transform: rotate(-90deg);
252
252
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
253
253
  }
254
- .awsui_icon_gwq0h_3dyev_197.awsui_expanded_gwq0h_3dyev_254:not(#\9) {
254
+ .awsui_icon_gwq0h_e6qcq_197.awsui_expanded_gwq0h_e6qcq_254:not(#\9) {
255
255
  transform: rotate(0deg);
256
256
  }
257
- .awsui_icon_gwq0h_3dyev_197:not(#\9):dir(rtl) {
257
+ .awsui_icon_gwq0h_e6qcq_197:not(#\9):dir(rtl) {
258
258
  transform: rotate(90deg);
259
259
  }
260
- .awsui_icon_gwq0h_3dyev_197:not(#\9):dir(rtl).awsui_expanded_gwq0h_3dyev_254 {
260
+ .awsui_icon_gwq0h_e6qcq_197:not(#\9):dir(rtl).awsui_expanded_gwq0h_e6qcq_254 {
261
261
  transform: rotate(0deg);
262
262
  }
263
263
 
264
- .awsui_icon-container_gwq0h_3dyev_264:not(#\9) {
264
+ .awsui_icon-container_gwq0h_e6qcq_264:not(#\9) {
265
265
  position: relative;
266
266
  margin-inline: calc((var(--line-height-body-m-bedeoh, 22px) - var(--size-icon-normal-2f5zkr, 16px)) / -2) calc(var(--space-xxs-jnczic, 4px) + var(--border-divider-list-width-8ggz94, 1px));
267
267
  }
268
- .awsui_icon-container-container_gwq0h_3dyev_268:not(#\9) {
268
+ .awsui_icon-container-container_gwq0h_e6qcq_268:not(#\9) {
269
269
  margin-inline-end: var(--space-xs-kw7k3v, 8px);
270
270
  }
271
271
 
272
- .awsui_wrapper_gwq0h_3dyev_272:not(#\9) {
272
+ .awsui_wrapper_gwq0h_e6qcq_272:not(#\9) {
273
273
  box-sizing: border-box;
274
274
  border-block: none;
275
275
  border-inline: none;
@@ -277,81 +277,81 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
277
277
  line-height: var(--line-height-body-m-bedeoh, 22px);
278
278
  text-align: start;
279
279
  }
280
- .awsui_wrapper-default_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-inline_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-footer_gwq0h_3dyev_280:not(#\9) {
280
+ .awsui_wrapper-default_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-inline_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-footer_gwq0h_e6qcq_280:not(#\9) {
281
281
  border-block: var(--border-divider-section-width-sznrdy, 1px) solid transparent;
282
282
  border-inline: var(--border-divider-section-width-sznrdy, 1px) solid transparent;
283
283
  }
284
- .awsui_wrapper-navigation_gwq0h_3dyev_284:not(#\9) {
284
+ .awsui_wrapper-navigation_gwq0h_e6qcq_284:not(#\9) {
285
285
  border-inline-start: var(--border-divider-section-width-sznrdy, 1px) solid transparent;
286
286
  }
287
- .awsui_wrapper-navigation_gwq0h_3dyev_284:not(#\9), .awsui_wrapper-container_gwq0h_3dyev_287:not(#\9) {
287
+ .awsui_wrapper-navigation_gwq0h_e6qcq_284:not(#\9), .awsui_wrapper-container_gwq0h_e6qcq_287:not(#\9) {
288
288
  display: flex;
289
289
  font-weight: var(--font-weight-heading-s-qxvrar, 700);
290
290
  }
291
- .awsui_wrapper-default_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-inline_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-navigation_gwq0h_3dyev_284:not(#\9), .awsui_wrapper-footer_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-compact_gwq0h_3dyev_291:not(#\9) {
291
+ .awsui_wrapper-default_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-inline_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-navigation_gwq0h_e6qcq_284:not(#\9), .awsui_wrapper-footer_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-compact_gwq0h_e6qcq_291:not(#\9) {
292
292
  color: var(--color-text-expandable-section-default-7zwicj, #545b64);
293
293
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
294
294
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
295
295
  }
296
- .awsui_wrapper-default_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-inline_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-navigation_gwq0h_3dyev_284:not(#\9), .awsui_wrapper-footer_gwq0h_3dyev_280:not(#\9) {
296
+ .awsui_wrapper-default_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-inline_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-navigation_gwq0h_e6qcq_284:not(#\9), .awsui_wrapper-footer_gwq0h_e6qcq_280:not(#\9) {
297
297
  font-size: var(--font-expandable-heading-size-vrupwx, 14px);
298
298
  letter-spacing: var(--letter-spacing-heading-s-696sxe, normal);
299
299
  }
300
- .awsui_wrapper-default_gwq0h_3dyev_280:not(#\9) {
300
+ .awsui_wrapper-default_gwq0h_e6qcq_280:not(#\9) {
301
301
  padding-block: var(--space-scaled-xxs-jatbiv, 4px);
302
302
  padding-inline-end: var(--space-xxs-jnczic, 4px);
303
303
  }
304
- .awsui_wrapper-default_gwq0h_3dyev_280.awsui_header-deprecated_gwq0h_3dyev_304:not(#\9) {
304
+ .awsui_wrapper-default_gwq0h_e6qcq_280.awsui_header-deprecated_gwq0h_e6qcq_304:not(#\9) {
305
305
  padding-inline-start: var(--space-xxs-jnczic, 4px);
306
306
  }
307
- .awsui_wrapper-default_gwq0h_3dyev_280:not(#\9):not(.awsui_header-deprecated_gwq0h_3dyev_304), .awsui_wrapper-inline_gwq0h_3dyev_280:not(#\9):not(.awsui_header-deprecated_gwq0h_3dyev_304) {
307
+ .awsui_wrapper-default_gwq0h_e6qcq_280:not(#\9):not(.awsui_header-deprecated_gwq0h_e6qcq_304), .awsui_wrapper-inline_gwq0h_e6qcq_280:not(#\9):not(.awsui_header-deprecated_gwq0h_e6qcq_304) {
308
308
  padding-inline-start: calc(var(--size-icon-normal-2f5zkr, 16px) + (var(--line-height-body-m-bedeoh, 22px) - var(--size-icon-normal-2f5zkr, 16px)) / -2 + var(--space-xxs-jnczic, 4px) + var(--border-divider-list-width-8ggz94, 1px));
309
309
  }
310
- .awsui_wrapper-default_gwq0h_3dyev_280.awsui_wrapper-expanded_gwq0h_3dyev_310:not(#\9), .awsui_wrapper-inline_gwq0h_3dyev_280.awsui_wrapper-expanded_gwq0h_3dyev_310:not(#\9) {
310
+ .awsui_wrapper-default_gwq0h_e6qcq_280.awsui_wrapper-expanded_gwq0h_e6qcq_310:not(#\9), .awsui_wrapper-inline_gwq0h_e6qcq_280.awsui_wrapper-expanded_gwq0h_e6qcq_310:not(#\9) {
311
311
  padding-block-end: var(--space-scaled-xxs-jatbiv, 4px);
312
312
  border-block-end-color: var(--color-border-divider-default-ipvpev, #eaeded);
313
313
  }
314
- .awsui_wrapper-footer_gwq0h_3dyev_280:not(#\9) {
314
+ .awsui_wrapper-footer_gwq0h_e6qcq_280:not(#\9) {
315
315
  padding-block: var(--space-scaled-xxs-jatbiv, 4px);
316
316
  }
317
- .awsui_wrapper-footer_gwq0h_3dyev_280:not(#\9), .awsui_wrapper-compact_gwq0h_3dyev_291:not(#\9) {
317
+ .awsui_wrapper-footer_gwq0h_e6qcq_280:not(#\9), .awsui_wrapper-compact_gwq0h_e6qcq_291:not(#\9) {
318
318
  padding-inline-end: 0;
319
319
  }
320
- .awsui_wrapper-footer_gwq0h_3dyev_280.awsui_header-deprecated_gwq0h_3dyev_304:not(#\9), .awsui_wrapper-compact_gwq0h_3dyev_291.awsui_header-deprecated_gwq0h_3dyev_304:not(#\9) {
320
+ .awsui_wrapper-footer_gwq0h_e6qcq_280.awsui_header-deprecated_gwq0h_e6qcq_304:not(#\9), .awsui_wrapper-compact_gwq0h_e6qcq_291.awsui_header-deprecated_gwq0h_e6qcq_304:not(#\9) {
321
321
  padding-inline-start: 0;
322
322
  }
323
- .awsui_wrapper-footer_gwq0h_3dyev_280:not(#\9):not(.awsui_header-deprecated_gwq0h_3dyev_304), .awsui_wrapper-compact_gwq0h_3dyev_291:not(#\9):not(.awsui_header-deprecated_gwq0h_3dyev_304) {
323
+ .awsui_wrapper-footer_gwq0h_e6qcq_280:not(#\9):not(.awsui_header-deprecated_gwq0h_e6qcq_304), .awsui_wrapper-compact_gwq0h_e6qcq_291:not(#\9):not(.awsui_header-deprecated_gwq0h_e6qcq_304) {
324
324
  padding-inline-start: calc(var(--size-icon-normal-2f5zkr, 16px) + (var(--line-height-body-m-bedeoh, 22px) - var(--size-icon-normal-2f5zkr, 16px)) / -2 + var(--space-xxs-jnczic, 4px) + var(--border-divider-list-width-8ggz94, 1px));
325
325
  }
326
- .awsui_wrapper-container_gwq0h_3dyev_287:not(#\9) {
326
+ .awsui_wrapper-container_gwq0h_e6qcq_287:not(#\9) {
327
327
  padding-block: var(--space-container-header-top-3cfni8, 12px) var(--space-container-header-bottom-rbnprk, 12px);
328
328
  padding-inline-end: var(--space-container-horizontal-ipmk0e, 20px);
329
329
  }
330
- .awsui_wrapper-container_gwq0h_3dyev_287:not(#\9):not(.awsui_wrapper-expanded_gwq0h_3dyev_310) {
330
+ .awsui_wrapper-container_gwq0h_e6qcq_287:not(#\9):not(.awsui_wrapper-expanded_gwq0h_e6qcq_310) {
331
331
  padding-block-end: var(--space-container-header-top-3cfni8, 12px);
332
332
  }
333
- .awsui_wrapper-container_gwq0h_3dyev_287.awsui_wrapper-not-expanded-without-actions_gwq0h_3dyev_333:not(#\9) {
333
+ .awsui_wrapper-container_gwq0h_e6qcq_287.awsui_wrapper-not-expanded-without-actions_gwq0h_e6qcq_333:not(#\9) {
334
334
  padding-block-end: calc(var(--space-container-header-top-3cfni8, 12px) + var(--space-scaled-xxs-jatbiv, 4px));
335
335
  }
336
- .awsui_wrapper-container_gwq0h_3dyev_287.awsui_header-deprecated_gwq0h_3dyev_304:not(#\9) {
336
+ .awsui_wrapper-container_gwq0h_e6qcq_287.awsui_header-deprecated_gwq0h_e6qcq_304:not(#\9) {
337
337
  padding-inline-start: var(--space-container-horizontal-ipmk0e, 20px);
338
338
  }
339
- .awsui_wrapper-container_gwq0h_3dyev_287:not(#\9):not(.awsui_header-deprecated_gwq0h_3dyev_304) {
339
+ .awsui_wrapper-container_gwq0h_e6qcq_287:not(#\9):not(.awsui_header-deprecated_gwq0h_e6qcq_304) {
340
340
  padding-inline-start: calc(var(--space-container-horizontal-ipmk0e, 20px) + calc(var(--size-icon-medium-3ovt3t, 16px) + (var(--line-height-body-m-bedeoh, 22px) - var(--size-icon-normal-2f5zkr, 16px)) / -2 + var(--space-xs-kw7k3v, 8px)));
341
341
  }
342
- body[data-awsui-focus-visible=true] .awsui_wrapper-container_gwq0h_3dyev_287:not(#\9):focus {
342
+ body[data-awsui-focus-visible=true] .awsui_wrapper-container_gwq0h_e6qcq_287:not(#\9):focus {
343
343
  padding-block: calc(var(--space-scaled-s-gjhvjd, 12px) - var(--border-divider-section-width-sznrdy, 1px));
344
344
  padding-inline: calc(var(--space-l-3cws6j, 20px) - var(--border-divider-section-width-sznrdy, 1px));
345
345
  }
346
346
 
347
- .awsui_header_gwq0h_3dyev_304:not(#\9) {
347
+ .awsui_header_gwq0h_e6qcq_304:not(#\9) {
348
348
  /* used in test-utils */
349
349
  }
350
- .awsui_header-wrapper_gwq0h_3dyev_350:not(#\9), .awsui_header-deprecated_gwq0h_3dyev_304:not(#\9) {
350
+ .awsui_header-wrapper_gwq0h_e6qcq_350:not(#\9), .awsui_header-deprecated_gwq0h_e6qcq_304:not(#\9) {
351
351
  display: flex;
352
352
  font-weight: var(--font-weight-heading-s-qxvrar, 700);
353
353
  }
354
- .awsui_header-wrapper_gwq0h_3dyev_350:not(#\9) {
354
+ .awsui_header-wrapper_gwq0h_e6qcq_350:not(#\9) {
355
355
  font-size: inherit;
356
356
  letter-spacing: inherit;
357
357
  margin-block: 0;
@@ -359,20 +359,20 @@ body[data-awsui-focus-visible=true] .awsui_wrapper-container_gwq0h_3dyev_287:not
359
359
  padding-block: 0;
360
360
  padding-inline: 0;
361
361
  }
362
- .awsui_header-actions-wrapper_gwq0h_3dyev_362:not(#\9) {
362
+ .awsui_header-actions-wrapper_gwq0h_e6qcq_362:not(#\9) {
363
363
  display: flex;
364
364
  flex-direction: row;
365
365
  justify-content: space-between;
366
366
  align-items: center;
367
367
  }
368
- body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_3dyev_368:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_3dyev_368:not(#\9):focus {
368
+ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_e6qcq_368:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_e6qcq_368:not(#\9):focus {
369
369
  position: relative;
370
370
  }
371
- body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_3dyev_368:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_3dyev_368:not(#\9):focus {
371
+ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_e6qcq_368:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_e6qcq_368:not(#\9):focus {
372
372
  outline: 2px dotted transparent;
373
373
  outline-offset: calc(0px - 1px);
374
374
  }
375
- body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_3dyev_368:not(#\9):focus::before, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_3dyev_368:not(#\9):focus::before {
375
+ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_e6qcq_368:not(#\9):focus::before, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_e6qcq_368:not(#\9):focus::before {
376
376
  content: " ";
377
377
  display: block;
378
378
  position: absolute;
@@ -386,21 +386,21 @@ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_3dyev_368:not(#\9
386
386
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
387
387
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
388
388
  }
389
- .awsui_header-button_gwq0h_3dyev_368:not(#\9) {
389
+ .awsui_header-button_gwq0h_e6qcq_368:not(#\9) {
390
390
  box-sizing: border-box;
391
391
  display: flex;
392
392
  margin-inline-start: calc(-1 * calc(var(--size-icon-normal-2f5zkr, 16px) + (var(--line-height-body-m-bedeoh, 22px) - var(--size-icon-normal-2f5zkr, 16px)) / -2 + var(--space-xxs-jnczic, 4px) + var(--border-divider-list-width-8ggz94, 1px)));
393
393
  }
394
- .awsui_header-container-button_gwq0h_3dyev_368:not(#\9) {
394
+ .awsui_header-container-button_gwq0h_e6qcq_368:not(#\9) {
395
395
  margin-inline-start: calc(-1 * calc(var(--size-icon-medium-3ovt3t, 16px) + (var(--line-height-body-m-bedeoh, 22px) - var(--size-icon-normal-2f5zkr, 16px)) / -2 + var(--space-xs-kw7k3v, 8px)));
396
396
  }
397
- .awsui_header-container_gwq0h_3dyev_368:not(#\9) {
397
+ .awsui_header-container_gwq0h_e6qcq_368:not(#\9) {
398
398
  inline-size: 100%;
399
399
  }
400
- .awsui_header-container_gwq0h_3dyev_368 > .awsui_icon-container_gwq0h_3dyev_264:not(#\9) {
400
+ .awsui_header-container_gwq0h_e6qcq_368 > .awsui_icon-container_gwq0h_e6qcq_264:not(#\9) {
401
401
  margin-block-start: var(--space-expandable-section-icon-offset-top-zxpo99, 8px);
402
402
  }
403
- .awsui_header-navigation_gwq0h_3dyev_403 > .awsui_icon-container_gwq0h_3dyev_264:not(#\9) {
403
+ .awsui_header-navigation_gwq0h_e6qcq_403 > .awsui_icon-container_gwq0h_e6qcq_264:not(#\9) {
404
404
  display: inline-flex;
405
405
  cursor: pointer;
406
406
  color: var(--color-text-expandable-section-navigation-icon-default-h9rszh, #879596);
@@ -413,17 +413,17 @@ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_3dyev_368:not(#\9
413
413
  text-decoration: none;
414
414
  flex-direction: column;
415
415
  }
416
- .awsui_header-navigation_gwq0h_3dyev_403 > .awsui_icon-container_gwq0h_3dyev_264:not(#\9):hover {
417
- color: var(--color-text-expandable-section-hover-hrllke, #16191f);
416
+ .awsui_header-navigation_gwq0h_e6qcq_403 > .awsui_icon-container_gwq0h_e6qcq_264:not(#\9):hover {
417
+ color: var(--color-text-expandable-section-hover-8k6nu3, #16191f);
418
418
  }
419
- body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_3dyev_403 > .awsui_icon-container_gwq0h_3dyev_264:not(#\9):focus {
419
+ body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_e6qcq_403 > .awsui_icon-container_gwq0h_e6qcq_264:not(#\9):focus {
420
420
  position: relative;
421
421
  }
422
- body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_3dyev_403 > .awsui_icon-container_gwq0h_3dyev_264:not(#\9):focus {
422
+ body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_e6qcq_403 > .awsui_icon-container_gwq0h_e6qcq_264:not(#\9):focus {
423
423
  outline: 2px dotted transparent;
424
424
  outline-offset: calc(2px - 1px);
425
425
  }
426
- body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_3dyev_403 > .awsui_icon-container_gwq0h_3dyev_264:not(#\9):focus::before {
426
+ body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_e6qcq_403 > .awsui_icon-container_gwq0h_e6qcq_264:not(#\9):focus::before {
427
427
  content: " ";
428
428
  display: block;
429
429
  position: absolute;
@@ -437,39 +437,39 @@ body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_3dyev_403 > .
437
437
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
438
438
  box-shadow: 0 0 0 2px var(--color-border-item-focused-r5f6xl, #0073bb);
439
439
  }
440
- .awsui_header-text_gwq0h_3dyev_440:not(#\9) {
440
+ .awsui_header-text_gwq0h_e6qcq_440:not(#\9) {
441
441
  /* used in test-utils */
442
442
  }
443
443
 
444
- :not(#\9):not(.awsui_wrapper-compact_gwq0h_3dyev_291) > .awsui_header-actions-wrapper_gwq0h_3dyev_362 {
444
+ :not(#\9):not(.awsui_wrapper-compact_gwq0h_e6qcq_291) > .awsui_header-actions-wrapper_gwq0h_e6qcq_362 {
445
445
  flex-wrap: wrap;
446
446
  column-gap: var(--space-xs-kw7k3v, 8px);
447
447
  row-gap: var(--space-scaled-xxxs-prgw5k, 2px);
448
448
  }
449
449
 
450
- .awsui_content_gwq0h_3dyev_161:not(#\9) {
450
+ .awsui_content_gwq0h_e6qcq_161:not(#\9) {
451
451
  display: none;
452
452
  }
453
- .awsui_content-default_gwq0h_3dyev_453:not(#\9), .awsui_content-inline_gwq0h_3dyev_453:not(#\9) {
453
+ .awsui_content-default_gwq0h_e6qcq_453:not(#\9), .awsui_content-inline_gwq0h_e6qcq_453:not(#\9) {
454
454
  padding-block: var(--space-scaled-xs-sppte9, 8px);
455
455
  padding-inline: 0;
456
456
  }
457
- .awsui_content-footer_gwq0h_3dyev_457:not(#\9) {
457
+ .awsui_content-footer_gwq0h_e6qcq_457:not(#\9) {
458
458
  padding-block: var(--space-xs-kw7k3v, 8px);
459
459
  padding-inline: 0;
460
460
  }
461
- .awsui_content-expanded_gwq0h_3dyev_461:not(#\9) {
461
+ .awsui_content-expanded_gwq0h_e6qcq_461:not(#\9) {
462
462
  display: block;
463
463
  }
464
- .awsui_content-compact_gwq0h_3dyev_464:not(#\9) {
464
+ .awsui_content-compact_gwq0h_e6qcq_464:not(#\9) {
465
465
  padding-inline-start: calc(var(--size-icon-normal-2f5zkr, 16px) + (var(--line-height-body-m-bedeoh, 22px) - var(--size-icon-normal-2f5zkr, 16px)) / -2 + var(--space-xxs-jnczic, 4px) + var(--border-divider-list-width-8ggz94, 1px));
466
466
  }
467
467
 
468
- .awsui_focusable_gwq0h_3dyev_468:not(#\9):focus {
468
+ .awsui_focusable_gwq0h_e6qcq_468:not(#\9):focus {
469
469
  outline: none;
470
470
  text-decoration: none;
471
471
  }
472
- body[data-awsui-focus-visible=true] .awsui_focusable_gwq0h_3dyev_468:not(#\9):focus {
472
+ body[data-awsui-focus-visible=true] .awsui_focusable_gwq0h_e6qcq_468:not(#\9):focus {
473
473
  outline: 2px dotted transparent;
474
474
  border-block: var(--border-width-button-40y1n5, 1px) solid var(--color-border-item-focused-r5f6xl, #0073bb);
475
475
  border-inline: var(--border-width-button-40y1n5, 1px) solid var(--color-border-item-focused-r5f6xl, #0073bb);
@@ -480,9 +480,9 @@ body[data-awsui-focus-visible=true] .awsui_focusable_gwq0h_3dyev_468:not(#\9):fo
480
480
  box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-ql2vj7, 1px) var(--color-border-item-focused-r5f6xl, #0073bb);
481
481
  }
482
482
 
483
- .awsui_click-target_gwq0h_3dyev_483:not(#\9) {
483
+ .awsui_click-target_gwq0h_e6qcq_483:not(#\9) {
484
484
  cursor: pointer;
485
485
  }
486
- .awsui_click-target_gwq0h_3dyev_483:not(#\9):not(.awsui_wrapper-container_gwq0h_3dyev_287):not(.awsui_header-container-button_gwq0h_3dyev_368):hover {
487
- color: var(--color-text-expandable-section-hover-hrllke, #16191f);
486
+ .awsui_click-target_gwq0h_e6qcq_483:not(#\9):not(.awsui_wrapper-container_gwq0h_e6qcq_287):not(.awsui_header-container-button_gwq0h_e6qcq_368):hover {
487
+ color: var(--color-text-expandable-section-hover-8k6nu3, #16191f);
488
488
  }
@@ -2,40 +2,40 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "content-enter": "awsui_content-enter_gwq0h_3dyev_161",
6
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_3dyev_1",
7
- "trigger-expanded": "awsui_trigger-expanded_gwq0h_3dyev_183",
8
- "icon": "awsui_icon_gwq0h_3dyev_197",
9
- "root": "awsui_root_gwq0h_3dyev_211",
10
- "expand-button": "awsui_expand-button_gwq0h_3dyev_246",
11
- "expanded": "awsui_expanded_gwq0h_3dyev_254",
12
- "icon-container": "awsui_icon-container_gwq0h_3dyev_264",
13
- "icon-container-container": "awsui_icon-container-container_gwq0h_3dyev_268",
14
- "wrapper": "awsui_wrapper_gwq0h_3dyev_272",
15
- "wrapper-default": "awsui_wrapper-default_gwq0h_3dyev_280",
16
- "wrapper-inline": "awsui_wrapper-inline_gwq0h_3dyev_280",
17
- "wrapper-footer": "awsui_wrapper-footer_gwq0h_3dyev_280",
18
- "wrapper-navigation": "awsui_wrapper-navigation_gwq0h_3dyev_284",
19
- "wrapper-container": "awsui_wrapper-container_gwq0h_3dyev_287",
20
- "wrapper-compact": "awsui_wrapper-compact_gwq0h_3dyev_291",
21
- "header-deprecated": "awsui_header-deprecated_gwq0h_3dyev_304",
22
- "wrapper-expanded": "awsui_wrapper-expanded_gwq0h_3dyev_310",
23
- "wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_3dyev_333",
24
- "header": "awsui_header_gwq0h_3dyev_304",
25
- "header-wrapper": "awsui_header-wrapper_gwq0h_3dyev_350",
26
- "header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_3dyev_362",
27
- "header-button": "awsui_header-button_gwq0h_3dyev_368",
28
- "header-container-button": "awsui_header-container-button_gwq0h_3dyev_368",
29
- "header-container": "awsui_header-container_gwq0h_3dyev_368",
30
- "header-navigation": "awsui_header-navigation_gwq0h_3dyev_403",
31
- "header-text": "awsui_header-text_gwq0h_3dyev_440",
32
- "content": "awsui_content_gwq0h_3dyev_161",
33
- "content-default": "awsui_content-default_gwq0h_3dyev_453",
34
- "content-inline": "awsui_content-inline_gwq0h_3dyev_453",
35
- "content-footer": "awsui_content-footer_gwq0h_3dyev_457",
36
- "content-expanded": "awsui_content-expanded_gwq0h_3dyev_461",
37
- "content-compact": "awsui_content-compact_gwq0h_3dyev_464",
38
- "focusable": "awsui_focusable_gwq0h_3dyev_468",
39
- "click-target": "awsui_click-target_gwq0h_3dyev_483"
5
+ "content-enter": "awsui_content-enter_gwq0h_e6qcq_161",
6
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_e6qcq_1",
7
+ "trigger-expanded": "awsui_trigger-expanded_gwq0h_e6qcq_183",
8
+ "icon": "awsui_icon_gwq0h_e6qcq_197",
9
+ "root": "awsui_root_gwq0h_e6qcq_211",
10
+ "expand-button": "awsui_expand-button_gwq0h_e6qcq_246",
11
+ "expanded": "awsui_expanded_gwq0h_e6qcq_254",
12
+ "icon-container": "awsui_icon-container_gwq0h_e6qcq_264",
13
+ "icon-container-container": "awsui_icon-container-container_gwq0h_e6qcq_268",
14
+ "wrapper": "awsui_wrapper_gwq0h_e6qcq_272",
15
+ "wrapper-default": "awsui_wrapper-default_gwq0h_e6qcq_280",
16
+ "wrapper-inline": "awsui_wrapper-inline_gwq0h_e6qcq_280",
17
+ "wrapper-footer": "awsui_wrapper-footer_gwq0h_e6qcq_280",
18
+ "wrapper-navigation": "awsui_wrapper-navigation_gwq0h_e6qcq_284",
19
+ "wrapper-container": "awsui_wrapper-container_gwq0h_e6qcq_287",
20
+ "wrapper-compact": "awsui_wrapper-compact_gwq0h_e6qcq_291",
21
+ "header-deprecated": "awsui_header-deprecated_gwq0h_e6qcq_304",
22
+ "wrapper-expanded": "awsui_wrapper-expanded_gwq0h_e6qcq_310",
23
+ "wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_e6qcq_333",
24
+ "header": "awsui_header_gwq0h_e6qcq_304",
25
+ "header-wrapper": "awsui_header-wrapper_gwq0h_e6qcq_350",
26
+ "header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_e6qcq_362",
27
+ "header-button": "awsui_header-button_gwq0h_e6qcq_368",
28
+ "header-container-button": "awsui_header-container-button_gwq0h_e6qcq_368",
29
+ "header-container": "awsui_header-container_gwq0h_e6qcq_368",
30
+ "header-navigation": "awsui_header-navigation_gwq0h_e6qcq_403",
31
+ "header-text": "awsui_header-text_gwq0h_e6qcq_440",
32
+ "content": "awsui_content_gwq0h_e6qcq_161",
33
+ "content-default": "awsui_content-default_gwq0h_e6qcq_453",
34
+ "content-inline": "awsui_content-inline_gwq0h_e6qcq_453",
35
+ "content-footer": "awsui_content-footer_gwq0h_e6qcq_457",
36
+ "content-expanded": "awsui_content-expanded_gwq0h_e6qcq_461",
37
+ "content-compact": "awsui_content-compact_gwq0h_e6qcq_464",
38
+ "focusable": "awsui_focusable_gwq0h_e6qcq_468",
39
+ "click-target": "awsui_click-target_gwq0h_e6qcq_483"
40
40
  };
41
41
 
@@ -1,11 +1,11 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "help-panel": "awsui_help-panel_1d237_1ybby_181",
5
- "loading": "awsui_loading_1d237_1ybby_348",
6
- "header": "awsui_header_1d237_1ybby_353",
7
- "with-toolbar": "awsui_with-toolbar_1d237_1ybby_371",
8
- "content": "awsui_content_1d237_1ybby_390",
9
- "footer": "awsui_footer_1d237_1ybby_441"
4
+ "help-panel": "awsui_help-panel_1d237_tlz2h_181",
5
+ "loading": "awsui_loading_1d237_tlz2h_348",
6
+ "header": "awsui_header_1d237_tlz2h_353",
7
+ "with-toolbar": "awsui_with-toolbar_1d237_tlz2h_371",
8
+ "content": "awsui_content_1d237_tlz2h_390",
9
+ "footer": "awsui_footer_1d237_tlz2h_441"
10
10
  };
11
11