@cloudscape-design/components-themeable 3.0.243 → 3.0.244

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 (52) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/container/styles.scss +4 -10
  3. package/lib/internal/scss/modal/styles.scss +9 -0
  4. package/lib/internal/scss/property-filter/styles.scss +0 -10
  5. package/lib/internal/scss/text-filter/styles.scss +1 -3
  6. package/lib/internal/template/container/internal.d.ts.map +1 -1
  7. package/lib/internal/template/container/internal.js +4 -2
  8. package/lib/internal/template/container/internal.js.map +1 -1
  9. package/lib/internal/template/container/styles.css.js +18 -20
  10. package/lib/internal/template/container/styles.scoped.css +36 -43
  11. package/lib/internal/template/container/styles.selectors.js +18 -20
  12. package/lib/internal/template/icon/icons.js +1 -1
  13. package/lib/internal/template/icon/interfaces.d.ts +1 -1
  14. package/lib/internal/template/icon/interfaces.d.ts.map +1 -1
  15. package/lib/internal/template/icon/interfaces.js.map +1 -1
  16. package/lib/internal/template/internal/environment.js +1 -1
  17. package/lib/internal/template/internal/hooks/use-intersection-observer/index.d.ts +9 -0
  18. package/lib/internal/template/internal/hooks/use-intersection-observer/index.d.ts.map +1 -0
  19. package/lib/internal/template/internal/hooks/use-intersection-observer/index.js +28 -0
  20. package/lib/internal/template/internal/hooks/use-intersection-observer/index.js.map +1 -0
  21. package/lib/internal/template/modal/internal.d.ts.map +1 -1
  22. package/lib/internal/template/modal/internal.js +8 -2
  23. package/lib/internal/template/modal/internal.js.map +1 -1
  24. package/lib/internal/template/modal/styles.css.js +23 -22
  25. package/lib/internal/template/modal/styles.scoped.css +43 -37
  26. package/lib/internal/template/modal/styles.selectors.js +23 -22
  27. package/lib/internal/template/property-filter/index.d.ts.map +1 -1
  28. package/lib/internal/template/property-filter/index.js +6 -4
  29. package/lib/internal/template/property-filter/index.js.map +1 -1
  30. package/lib/internal/template/property-filter/property-filter-autosuggest.d.ts +1 -0
  31. package/lib/internal/template/property-filter/property-filter-autosuggest.d.ts.map +1 -1
  32. package/lib/internal/template/property-filter/property-filter-autosuggest.js +2 -2
  33. package/lib/internal/template/property-filter/property-filter-autosuggest.js.map +1 -1
  34. package/lib/internal/template/property-filter/styles.css.js +31 -33
  35. package/lib/internal/template/property-filter/styles.scoped.css +33 -43
  36. package/lib/internal/template/property-filter/styles.selectors.js +31 -33
  37. package/lib/internal/template/test-utils/dom/property-filter/index.js +2 -1
  38. package/lib/internal/template/test-utils/dom/property-filter/index.js.map +1 -1
  39. package/lib/internal/template/test-utils/selectors/property-filter/index.js +2 -1
  40. package/lib/internal/template/test-utils/selectors/property-filter/index.js.map +1 -1
  41. package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
  42. package/lib/internal/template/text-filter/internal.d.ts.map +1 -1
  43. package/lib/internal/template/text-filter/internal.js +4 -8
  44. package/lib/internal/template/text-filter/internal.js.map +1 -1
  45. package/lib/internal/template/text-filter/search-results.d.ts +8 -0
  46. package/lib/internal/template/text-filter/search-results.d.ts.map +1 -0
  47. package/lib/internal/template/text-filter/search-results.js +13 -0
  48. package/lib/internal/template/text-filter/search-results.js.map +1 -0
  49. package/lib/internal/template/text-filter/styles.css.js +3 -4
  50. package/lib/internal/template/text-filter/styles.scoped.css +3 -5
  51. package/lib/internal/template/text-filter/styles.selectors.js +3 -4
  52. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "543b6496673e316c85444104e9108da9ad7b8c5b"
2
+ "commit": "fae213c62ab1c7147ecb6d01b2a41ff4b1d7dc24"
3
3
  }
@@ -155,18 +155,12 @@ the default white background of the container component.
155
155
  flex: 1;
156
156
  overflow: auto;
157
157
  }
158
- .with-content-paddings > & {
158
+ &.with-paddings {
159
159
  padding: awsui.$space-scaled-l awsui.$space-container-horizontal;
160
- }
161
- .with-content-paddings > .header + & {
162
- padding-top: awsui.$space-container-content-top;
163
- }
164
- }
165
160
 
166
- .fit-height.with-content-paddings:not(.with-footer) {
167
- padding-bottom: awsui.$space-scaled-l;
168
- & > .content {
169
- padding-bottom: 0;
161
+ .header + & {
162
+ padding-top: awsui.$space-container-content-top;
163
+ }
170
164
  }
171
165
  }
172
166
 
@@ -106,6 +106,15 @@ $modal-z-index: 5000;
106
106
  .footer {
107
107
  @include container.divider;
108
108
  padding: container.$footer-padding;
109
+ background-color: awsui.$color-background-container-content;
110
+
111
+ // Make sure that the footer is always visible
112
+ position: sticky;
113
+ bottom: 0;
114
+
115
+ &--stuck {
116
+ border-radius: 0 0 awsui.$border-radius-container awsui.$border-radius-container;
117
+ }
109
118
 
110
119
  &:after {
111
120
  content: '';
@@ -91,16 +91,6 @@
91
91
  flex: 1;
92
92
  }
93
93
 
94
- .results {
95
- color: awsui.$color-text-form-label;
96
- display: inline-block;
97
- box-sizing: border-box;
98
- white-space: nowrap;
99
- &-visible {
100
- padding-left: awsui.$space-s;
101
- }
102
- }
103
-
104
94
  .separator {
105
95
  margin: 0px awsui.$space-scaled-m;
106
96
  height: 100%;
@@ -23,7 +23,5 @@
23
23
  display: inline-block;
24
24
  box-sizing: border-box;
25
25
  white-space: nowrap;
26
- &-visible {
27
- padding-left: awsui.$space-s;
28
- }
26
+ padding-left: awsui.$space-s;
29
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAOlF,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAAE,0BAA0B;IACzG,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,C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G;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC;CAC1E;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAmB,EACnB,qBAA6B,EAC7B,sBAA8B,EAC9B,SAAS,EACT,cAAc,EACd,cAAsB,EACtB,iBAAwB,EACxB,sBAA8B,EAC9B,uBAA+B,EAC/B,eAAuB,EACvB,WAAW,EACX,UAAU,EACV,YAAoB,EACpB,GAAG,SAAS,EACb,EAAE,sBAAsB,eAuFxB"}
@@ -39,7 +39,7 @@ export default function InternalContainer(_a) {
39
39
  }
40
40
  };
41
41
  }, [isSticky, setHasStickyBackground, variant]);
42
- return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(baseProps.className, styles.root, styles[`variant-${variant}`], fitHeight && styles['fit-height'], isSticky && [styles['sticky-enabled']], !disableContentPaddings && styles['with-content-paddings'], footer && styles['with-footer']), ref: mergedRef }),
42
+ return (React.createElement("div", Object.assign({}, baseProps, { className: clsx(baseProps.className, styles.root, styles[`variant-${variant}`], fitHeight && styles['fit-height'], isSticky && [styles['sticky-enabled']]), ref: mergedRef }),
43
43
  header && (React.createElement(StickyHeaderContext.Provider, { value: { isStuck } },
44
44
  React.createElement("div", Object.assign({ className: clsx(styles.header, styles[`header-variant-${variant}`], {
45
45
  [styles['header-sticky-disabled']]: __stickyHeader && !isSticky,
@@ -49,7 +49,9 @@ export default function InternalContainer(_a) {
49
49
  [styles['with-paddings']]: !disableHeaderPaddings,
50
50
  [styles['with-hidden-content']]: !children || __hiddenContent,
51
51
  }) }, headerIdProp, stickyStyles, { ref: headerMergedRef }), __darkHeader ? (React.createElement("div", { className: clsx(styles['dark-header'], 'awsui-context-content-header') }, header)) : (header)))),
52
- React.createElement("div", { className: styles.content }, children),
52
+ React.createElement("div", { className: clsx(styles.content, {
53
+ [styles['with-paddings']]: !disableContentPaddings,
54
+ }) }, children),
53
55
  footer && (React.createElement("div", { className: clsx(styles.footer, {
54
56
  [styles['with-divider']]: !__disableFooterDivider,
55
57
  [styles['with-paddings']]: !__disableFooterPaddings,
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAoBrC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAkBjB;QAlBiB,EACxC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,qBAAqB,GAAG,KAAK,EAC7B,sBAAsB,GAAG,KAAK,EAC9B,SAAS,EACT,cAAc,EACd,cAAc,GAAG,KAAK,EACtB,iBAAiB,GAAG,IAAI,EACxB,sBAAsB,GAAG,KAAK,EAC9B,uBAAuB,GAAG,KAAK,EAC/B,eAAe,GAAG,KAAK,EACvB,WAAW,EACX,UAAU,EACV,YAAY,GAAG,KAAK,OAEG,EADpB,SAAS,cAjB4B,yRAkBzC,CADa;IAEZ,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM,OAAO,GAAG,MAAM,CAAiB,IAAI,CA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CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,sBAAsB;gBACjD,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,uBAAuB;aACpD,CAAC,IAED,MAAM,CACH,CACP,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useEffect, useRef } from 'react';\nimport { ContainerProps } from './interfaces';\nimport { getBaseProps } from '../internal/base-component';\nimport { useAppLayoutContext } from '../internal/context/app-layout-context';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\nimport { useDynamicOverlap } from '../internal/hooks/use-dynamic-overlap';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport styles from './styles.css.js';\n\nexport interface InternalContainerProps extends Omit<ContainerProps, 'variant'>, InternalBaseComponentProps {\n __stickyHeader?: boolean;\n __stickyOffset?: number;\n __disableFooterDivider?: boolean;\n __disableFooterPaddings?: boolean;\n __hiddenContent?: boolean;\n __headerRef?: React.RefObject<HTMLDivElement>;\n __headerId?: string;\n __darkHeader?: boolean;\n /**\n * Additional internal variant:\n * * `embedded` - Use this variant within a parent container (such as a modal,\n * expandable section, container or split panel).\n * * `full-page` – Only for internal use in table, cards and other components\n */\n variant?: ContainerProps['variant'] | 'embedded' | 'full-page' | 'cards';\n}\n\nexport default function InternalContainer({\n header,\n footer,\n children,\n variant = 'default',\n disableHeaderPaddings = false,\n disableContentPaddings = false,\n fitHeight,\n __stickyOffset,\n __stickyHeader = false,\n __internalRootRef = null,\n __disableFooterDivider = false,\n __disableFooterPaddings = false,\n __hiddenContent = false,\n __headerRef,\n __headerId,\n __darkHeader = false,\n ...restProps\n}: InternalContainerProps) {\n const baseProps = getBaseProps(restProps);\n const rootRef = useRef<HTMLDivElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n const { isSticky, isStuck, stickyStyles } = useStickyHeader(rootRef, headerRef, __stickyHeader, __stickyOffset);\n const { setHasStickyBackground } = useAppLayoutContext();\n const isRefresh = useVisualRefresh();\n\n const hasDynamicHeight = isRefresh && variant === 'full-page';\n const overlapElement = useDynamicOverlap({ disabled: !hasDynamicHeight || !__darkHeader });\n\n const mergedRef = useMergeRefs(rootRef, __internalRootRef);\n const headerMergedRef = useMergeRefs(headerRef, overlapElement, __headerRef);\n const headerIdProp = __headerId ? { id: __headerId } : {};\n\n /**\n * The visual refresh AppLayout component needs to know if a child component\n * has a high contrast sticky header. This is to make sure the background element\n * stays in the same vertical position as the header content.\n */\n useEffect(() => {\n const shouldUpdateStickyBackground = isSticky && variant === 'full-page' && setHasStickyBackground;\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(true);\n }\n\n return () => {\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(false);\n }\n };\n }, [isSticky, setHasStickyBackground, variant]);\n\n return (\n <div\n {...baseProps}\n className={clsx(\n baseProps.className,\n styles.root,\n styles[`variant-${variant}`],\n fitHeight && styles['fit-height'],\n isSticky && [styles['sticky-enabled']],\n !disableContentPaddings && styles['with-content-paddings'],\n footer && styles['with-footer']\n )}\n ref={mergedRef}\n >\n {header && (\n <StickyHeaderContext.Provider value={{ isStuck }}>\n <div\n className={clsx(styles.header, styles[`header-variant-${variant}`], {\n [styles['header-sticky-disabled']]: __stickyHeader && !isSticky,\n [styles['header-sticky-enabled']]: isSticky,\n [styles['header-dynamic-height']]: hasDynamicHeight,\n [styles['header-stuck']]: isStuck,\n [styles['with-paddings']]: !disableHeaderPaddings,\n [styles['with-hidden-content']]: !children || __hiddenContent,\n })}\n {...headerIdProp}\n {...stickyStyles}\n ref={headerMergedRef}\n >\n {__darkHeader ? (\n <div className={clsx(styles['dark-header'], 'awsui-context-content-header')}>{header}</div>\n ) : (\n header\n )}\n </div>\n </StickyHeaderContext.Provider>\n )}\n <div className={styles.content}>{children}</div>\n {footer && (\n <div\n className={clsx(styles.footer, {\n [styles['with-divider']]: !__disableFooterDivider,\n [styles['with-paddings']]: !__disableFooterPaddings,\n })}\n >\n {footer}\n </div>\n )}\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAoBrC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAkBjB;QAlBiB,EACxC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,qBAAqB,GAAG,KAAK,EAC7B,sBAAsB,GAAG,KAAK,EAC9B,SAAS,EACT,cAAc,EACd,cAAc,GAAG,KAAK,EACtB,iBAAiB,GAAG,IAAI,EACxB,sBAAsB,GAAG,KAAK,EAC9B,uBAAuB,GAAG,KAAK,EAC/B,eAAe,GAAG,KAAK,EACvB,WAAW,EACX,UAAU,EACV,YAAY,GAAG,KAAK,OAEG,EADpB,SAAS,cAjB4B,yRAkBzC,CADa;IAEZ,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM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,CAAC,MAAM,EAAE;gBAC7B,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,sBAAsB;gBACjD,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,uBAAuB;aACpD,CAAC,IAED,MAAM,CACH,CACP,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useEffect, useRef } from 'react';\nimport { ContainerProps } from './interfaces';\nimport { getBaseProps } from '../internal/base-component';\nimport { useAppLayoutContext } from '../internal/context/app-layout-context';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\nimport { useDynamicOverlap } from '../internal/hooks/use-dynamic-overlap';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport styles from './styles.css.js';\n\nexport interface InternalContainerProps extends Omit<ContainerProps, 'variant'>, InternalBaseComponentProps {\n __stickyHeader?: boolean;\n __stickyOffset?: number;\n __disableFooterDivider?: boolean;\n __disableFooterPaddings?: boolean;\n __hiddenContent?: boolean;\n __headerRef?: React.RefObject<HTMLDivElement>;\n __headerId?: string;\n __darkHeader?: boolean;\n /**\n * Additional internal variant:\n * * `embedded` - Use this variant within a parent container (such as a modal,\n * expandable section, container or split panel).\n * * `full-page` – Only for internal use in table, cards and other components\n */\n variant?: ContainerProps['variant'] | 'embedded' | 'full-page' | 'cards';\n}\n\nexport default function InternalContainer({\n header,\n footer,\n children,\n variant = 'default',\n disableHeaderPaddings = false,\n disableContentPaddings = false,\n fitHeight,\n __stickyOffset,\n __stickyHeader = false,\n __internalRootRef = null,\n __disableFooterDivider = false,\n __disableFooterPaddings = false,\n __hiddenContent = false,\n __headerRef,\n __headerId,\n __darkHeader = false,\n ...restProps\n}: InternalContainerProps) {\n const baseProps = getBaseProps(restProps);\n const rootRef = useRef<HTMLDivElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n const { isSticky, isStuck, stickyStyles } = useStickyHeader(rootRef, headerRef, __stickyHeader, __stickyOffset);\n const { setHasStickyBackground } = useAppLayoutContext();\n const isRefresh = useVisualRefresh();\n\n const hasDynamicHeight = isRefresh && variant === 'full-page';\n const overlapElement = useDynamicOverlap({ disabled: !hasDynamicHeight || !__darkHeader });\n\n const mergedRef = useMergeRefs(rootRef, __internalRootRef);\n const headerMergedRef = useMergeRefs(headerRef, overlapElement, __headerRef);\n const headerIdProp = __headerId ? { id: __headerId } : {};\n\n /**\n * The visual refresh AppLayout component needs to know if a child component\n * has a high contrast sticky header. This is to make sure the background element\n * stays in the same vertical position as the header content.\n */\n useEffect(() => {\n const shouldUpdateStickyBackground = isSticky && variant === 'full-page' && setHasStickyBackground;\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(true);\n }\n\n return () => {\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(false);\n }\n };\n }, [isSticky, setHasStickyBackground, variant]);\n\n return (\n <div\n {...baseProps}\n className={clsx(\n baseProps.className,\n styles.root,\n styles[`variant-${variant}`],\n fitHeight && styles['fit-height'],\n isSticky && [styles['sticky-enabled']]\n )}\n ref={mergedRef}\n >\n {header && (\n <StickyHeaderContext.Provider value={{ isStuck }}>\n <div\n className={clsx(styles.header, styles[`header-variant-${variant}`], {\n [styles['header-sticky-disabled']]: __stickyHeader && !isSticky,\n [styles['header-sticky-enabled']]: isSticky,\n [styles['header-dynamic-height']]: hasDynamicHeight,\n [styles['header-stuck']]: isStuck,\n [styles['with-paddings']]: !disableHeaderPaddings,\n [styles['with-hidden-content']]: !children || __hiddenContent,\n })}\n {...headerIdProp}\n {...stickyStyles}\n ref={headerMergedRef}\n >\n {__darkHeader ? (\n <div className={clsx(styles['dark-header'], 'awsui-context-content-header')}>{header}</div>\n ) : (\n header\n )}\n </div>\n </StickyHeaderContext.Provider>\n )}\n <div\n className={clsx(styles.content, {\n [styles['with-paddings']]: !disableContentPaddings,\n })}\n >\n {children}\n </div>\n {footer && (\n <div\n className={clsx(styles.footer, {\n [styles['with-divider']]: !__disableFooterDivider,\n [styles['with-paddings']]: !__disableFooterPaddings,\n })}\n >\n {footer}\n </div>\n )}\n </div>\n );\n}\n"]}
@@ -1,25 +1,23 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_14iqq_kxs3k_97",
5
- "fit-height": "awsui_fit-height_14iqq_kxs3k_111",
6
- "variant-default": "awsui_variant-default_14iqq_kxs3k_116",
7
- "variant-stacked": "awsui_variant-stacked_14iqq_kxs3k_116",
8
- "sticky-enabled": "awsui_sticky-enabled_14iqq_kxs3k_169",
9
- "header": "awsui_header_14iqq_kxs3k_176",
10
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_kxs3k_181",
11
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_kxs3k_185",
12
- "header-stuck": "awsui_header-stuck_14iqq_kxs3k_191",
13
- "header-variant-cards": "awsui_header-variant-cards_14iqq_kxs3k_197",
14
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_kxs3k_200",
15
- "with-paddings": "awsui_with-paddings_14iqq_kxs3k_206",
16
- "with-hidden-content": "awsui_with-hidden-content_14iqq_kxs3k_209",
17
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_kxs3k_259",
18
- "dark-header": "awsui_dark-header_14iqq_kxs3k_277",
19
- "content": "awsui_content_14iqq_kxs3k_282",
20
- "with-content-paddings": "awsui_with-content-paddings_14iqq_kxs3k_286",
21
- "with-footer": "awsui_with-footer_14iqq_kxs3k_293",
22
- "footer": "awsui_footer_14iqq_kxs3k_300",
23
- "with-divider": "awsui_with-divider_14iqq_kxs3k_303"
4
+ "root": "awsui_root_14iqq_5x9t2_97",
5
+ "fit-height": "awsui_fit-height_14iqq_5x9t2_111",
6
+ "variant-default": "awsui_variant-default_14iqq_5x9t2_116",
7
+ "variant-stacked": "awsui_variant-stacked_14iqq_5x9t2_116",
8
+ "sticky-enabled": "awsui_sticky-enabled_14iqq_5x9t2_169",
9
+ "header": "awsui_header_14iqq_5x9t2_176",
10
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_5x9t2_181",
11
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_5x9t2_185",
12
+ "header-stuck": "awsui_header-stuck_14iqq_5x9t2_191",
13
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_5x9t2_197",
14
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_5x9t2_200",
15
+ "with-paddings": "awsui_with-paddings_14iqq_5x9t2_206",
16
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_5x9t2_209",
17
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_5x9t2_259",
18
+ "dark-header": "awsui_dark-header_14iqq_5x9t2_277",
19
+ "content": "awsui_content_14iqq_5x9t2_282",
20
+ "footer": "awsui_footer_14iqq_5x9t2_293",
21
+ "with-divider": "awsui_with-divider_14iqq_5x9t2_296"
24
22
  };
25
23
 
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
94
94
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
95
  SPDX-License-Identifier: Apache-2.0
96
96
  */
97
- .awsui_root_14iqq_kxs3k_97:not(#\9) {
97
+ .awsui_root_14iqq_5x9t2_97:not(#\9) {
98
98
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
99
99
  border-collapse: separate;
100
100
  border-spacing: 0;
@@ -134,17 +134,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
134
134
  word-wrap: break-word;
135
135
  position: relative;
136
136
  }
137
- .awsui_root_14iqq_kxs3k_97.awsui_fit-height_14iqq_kxs3k_111:not(#\9) {
137
+ .awsui_root_14iqq_5x9t2_97.awsui_fit-height_14iqq_5x9t2_111:not(#\9) {
138
138
  display: flex;
139
139
  flex-direction: column;
140
140
  height: 100%;
141
141
  }
142
- .awsui_root_14iqq_kxs3k_97.awsui_variant-default_14iqq_kxs3k_116:not(#\9), .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9) {
142
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-default_14iqq_5x9t2_116:not(#\9), .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9) {
143
143
  border-radius: var(--border-radius-container-1aveko, 0px);
144
144
  box-sizing: border-box;
145
145
  background-color: var(--color-background-container-content-o88wxm, #ffffff);
146
146
  }
147
- .awsui_root_14iqq_kxs3k_97.awsui_variant-default_14iqq_kxs3k_116:not(#\9)::before, .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9)::before {
147
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-default_14iqq_5x9t2_116:not(#\9)::before, .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9)::before {
148
148
  content: "";
149
149
  position: absolute;
150
150
  left: 0px;
@@ -159,7 +159,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
159
159
  border-radius: var(--border-radius-container-1aveko, 0px);
160
160
  z-index: 1;
161
161
  }
162
- .awsui_root_14iqq_kxs3k_97.awsui_variant-default_14iqq_kxs3k_116:not(#\9)::after, .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9)::after {
162
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-default_14iqq_5x9t2_116:not(#\9)::after, .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9)::after {
163
163
  content: "";
164
164
  position: absolute;
165
165
  left: 0px;
@@ -174,76 +174,76 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
174
174
  mix-blend-mode: multiply;
175
175
  }
176
176
  @media screen and (-ms-high-contrast: active) {
177
- .awsui_root_14iqq_kxs3k_97.awsui_variant-default_14iqq_kxs3k_116:not(#\9), .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9) {
177
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-default_14iqq_5x9t2_116:not(#\9), .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9) {
178
178
  border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
179
179
  }
180
180
  }
181
- .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9):not(:last-child), .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9):not(:last-child)::before, .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9):not(:last-child)::after {
181
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9):not(:last-child), .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9):not(:last-child)::before, .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9):not(:last-child)::after {
182
182
  border-bottom-right-radius: 0;
183
183
  border-bottom-left-radius: 0;
184
184
  }
185
- .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116 + .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9), .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116 + .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9)::before, .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116 + .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9)::after {
185
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116 + .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9), .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116 + .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9)::before, .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116 + .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9)::after {
186
186
  border-top-left-radius: 0;
187
187
  border-top-right-radius: 0;
188
188
  }
189
- .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116 + .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9)::before {
189
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116 + .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9)::before {
190
190
  border-top: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
191
191
  }
192
- .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116 + .awsui_root_14iqq_kxs3k_97.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9)::after {
192
+ .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116 + .awsui_root_14iqq_5x9t2_97.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9)::after {
193
193
  box-shadow: var(--shadow-container-stacked-j8j87i, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
194
194
  }
195
- .awsui_root_14iqq_kxs3k_97.awsui_sticky-enabled_14iqq_kxs3k_169:not(#\9)::before {
195
+ .awsui_root_14iqq_5x9t2_97.awsui_sticky-enabled_14iqq_5x9t2_169:not(#\9)::before {
196
196
  top: calc(-1 * var(--border-container-top-width-fs2udu, 1px));
197
197
  }
198
- .awsui_root_14iqq_kxs3k_97.awsui_sticky-enabled_14iqq_kxs3k_169.awsui_variant-stacked_14iqq_kxs3k_116:not(#\9)::before {
198
+ .awsui_root_14iqq_5x9t2_97.awsui_sticky-enabled_14iqq_5x9t2_169.awsui_variant-stacked_14iqq_5x9t2_116:not(#\9)::before {
199
199
  top: calc(-1 * var(--border-divider-section-width-5a4cv1, 1px));
200
200
  }
201
201
 
202
- .awsui_header_14iqq_kxs3k_176:not(#\9) {
202
+ .awsui_header_14iqq_5x9t2_176:not(#\9) {
203
203
  background-color: var(--color-background-container-header-g9rg0j, #fafafa);
204
204
  border-top-left-radius: var(--border-radius-container-1aveko, 0px);
205
205
  border-top-right-radius: var(--border-radius-container-1aveko, 0px);
206
206
  }
207
- .awsui_header-sticky-disabled_14iqq_kxs3k_181:not(#\9) {
207
+ .awsui_header-sticky-disabled_14iqq_5x9t2_181:not(#\9) {
208
208
  position: relative;
209
209
  z-index: 1;
210
210
  }
211
- .awsui_header-sticky-enabled_14iqq_kxs3k_185:not(#\9) {
211
+ .awsui_header-sticky-enabled_14iqq_5x9t2_185:not(#\9) {
212
212
  top: 0;
213
213
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
214
214
  position: sticky;
215
215
  z-index: 800;
216
216
  }
217
- .awsui_header-stuck_14iqq_kxs3k_191:not(#\9) {
217
+ .awsui_header-stuck_14iqq_5x9t2_191:not(#\9) {
218
218
  border-radius: 0;
219
219
  }
220
- .awsui_header-stuck_14iqq_kxs3k_191:not(#\9)::before {
220
+ .awsui_header-stuck_14iqq_5x9t2_191:not(#\9)::before {
221
221
  border: 0;
222
222
  }
223
- .awsui_header-stuck_14iqq_kxs3k_191:not(#\9):not(.awsui_header-variant-cards_14iqq_kxs3k_197) {
223
+ .awsui_header-stuck_14iqq_5x9t2_191:not(#\9):not(.awsui_header-variant-cards_14iqq_5x9t2_197) {
224
224
  box-shadow: var(--shadow-sticky-embedded-5acv0s, 0px 1px 4px -2px rgba(0, 28, 36, 0.5));
225
225
  }
226
- .awsui_header-dynamic-height_14iqq_kxs3k_200.awsui_header-stuck_14iqq_kxs3k_191:not(#\9) {
226
+ .awsui_header-dynamic-height_14iqq_5x9t2_200.awsui_header-stuck_14iqq_5x9t2_191:not(#\9) {
227
227
  margin-bottom: calc(var(--font-heading-xl-line-height-qeciux, 36px) - var(--font-heading-l-line-height-oujdab, 22px));
228
228
  }
229
- .awsui_header_14iqq_kxs3k_176:not(#\9):not(:empty) {
229
+ .awsui_header_14iqq_5x9t2_176:not(#\9):not(:empty) {
230
230
  border-bottom: var(--border-container-sticky-width-pybmba, 1px) solid var(--color-border-container-divider-z203b8, #eaeded);
231
231
  }
232
- .awsui_header_14iqq_kxs3k_176.awsui_with-paddings_14iqq_kxs3k_206:not(#\9) {
232
+ .awsui_header_14iqq_5x9t2_176.awsui_with-paddings_14iqq_5x9t2_206:not(#\9) {
233
233
  padding: var(--space-container-header-vertical-0bd19u, 12px) var(--space-container-horizontal-tlw03i, 20px);
234
234
  }
235
- .awsui_header_14iqq_kxs3k_176.awsui_with-hidden-content_14iqq_kxs3k_209:not(#\9) {
235
+ .awsui_header_14iqq_5x9t2_176.awsui_with-hidden-content_14iqq_5x9t2_209:not(#\9) {
236
236
  border-bottom-left-radius: var(--border-radius-container-1aveko, 0px);
237
237
  border-bottom-right-radius: var(--border-radius-container-1aveko, 0px);
238
238
  }
239
- .awsui_header-variant-cards_14iqq_kxs3k_197:not(#\9) {
239
+ .awsui_header-variant-cards_14iqq_5x9t2_197:not(#\9) {
240
240
  border-radius: var(--border-radius-container-1aveko, 0px);
241
241
  box-sizing: border-box;
242
242
  }
243
- .awsui_header-variant-cards_14iqq_kxs3k_197:not(#\9):not(.awsui_header-sticky-enabled_14iqq_kxs3k_185) {
243
+ .awsui_header-variant-cards_14iqq_5x9t2_197:not(#\9):not(.awsui_header-sticky-enabled_14iqq_5x9t2_185) {
244
244
  position: relative;
245
245
  }
246
- .awsui_header-variant-cards_14iqq_kxs3k_197:not(#\9)::before {
246
+ .awsui_header-variant-cards_14iqq_5x9t2_197:not(#\9)::before {
247
247
  content: "";
248
248
  position: absolute;
249
249
  left: 0px;
@@ -258,7 +258,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
258
258
  border-radius: var(--border-radius-container-1aveko, 0px);
259
259
  z-index: 1;
260
260
  }
261
- .awsui_header-variant-cards_14iqq_kxs3k_197:not(#\9)::after {
261
+ .awsui_header-variant-cards_14iqq_5x9t2_197:not(#\9)::after {
262
262
  content: "";
263
263
  position: absolute;
264
264
  left: 0px;
@@ -273,19 +273,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
273
273
  mix-blend-mode: multiply;
274
274
  }
275
275
  @media screen and (-ms-high-contrast: active) {
276
- .awsui_header-variant-cards_14iqq_kxs3k_197:not(#\9) {
276
+ .awsui_header-variant-cards_14iqq_5x9t2_197:not(#\9) {
277
277
  border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
278
278
  }
279
279
  }
280
- .awsui_header-variant-cards_14iqq_kxs3k_197.awsui_header-stuck_14iqq_kxs3k_191:not(#\9)::after, .awsui_header-variant-cards_14iqq_kxs3k_197.awsui_header-stuck_14iqq_kxs3k_191:not(#\9)::before {
280
+ .awsui_header-variant-cards_14iqq_5x9t2_197.awsui_header-stuck_14iqq_5x9t2_191:not(#\9)::after, .awsui_header-variant-cards_14iqq_5x9t2_197.awsui_header-stuck_14iqq_5x9t2_191:not(#\9)::before {
281
281
  border: 0;
282
282
  border-top-left-radius: 0;
283
283
  border-top-right-radius: 0;
284
284
  }
285
- .awsui_header-variant-full-page_14iqq_kxs3k_259.awsui_header-stuck_14iqq_kxs3k_191:not(#\9) {
285
+ .awsui_header-variant-full-page_14iqq_5x9t2_259.awsui_header-stuck_14iqq_5x9t2_191:not(#\9) {
286
286
  box-shadow: none;
287
287
  }
288
- .awsui_header-variant-full-page_14iqq_kxs3k_259.awsui_header-stuck_14iqq_kxs3k_191:not(#\9)::after {
288
+ .awsui_header-variant-full-page_14iqq_5x9t2_259.awsui_header-stuck_14iqq_5x9t2_191:not(#\9)::after {
289
289
  content: "";
290
290
  position: absolute;
291
291
  right: 0;
@@ -300,32 +300,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
300
300
  The dynamic height dark header needs a background that will cover
301
301
  the default white background of the container component.
302
302
  */
303
- .awsui_dark-header_14iqq_kxs3k_277:not(#\9) {
303
+ .awsui_dark-header_14iqq_5x9t2_277:not(#\9) {
304
304
  background-color: var(--color-background-layout-main-q0tbxx, #f2f3f3);
305
305
  color: var(--color-text-body-default-7m2b3r, #16191f);
306
306
  }
307
307
 
308
- .awsui_fit-height_14iqq_kxs3k_111 > .awsui_content_14iqq_kxs3k_282:not(#\9) {
308
+ .awsui_fit-height_14iqq_5x9t2_111 > .awsui_content_14iqq_5x9t2_282:not(#\9) {
309
309
  flex: 1;
310
310
  overflow: auto;
311
311
  }
312
- .awsui_with-content-paddings_14iqq_kxs3k_286 > .awsui_content_14iqq_kxs3k_282:not(#\9) {
312
+ .awsui_content_14iqq_5x9t2_282.awsui_with-paddings_14iqq_5x9t2_206:not(#\9) {
313
313
  padding: var(--space-scaled-l-t03y3z, 20px) var(--space-container-horizontal-tlw03i, 20px);
314
314
  }
315
- .awsui_with-content-paddings_14iqq_kxs3k_286 > .awsui_header_14iqq_kxs3k_176 + .awsui_content_14iqq_kxs3k_282:not(#\9) {
315
+ .awsui_header_14iqq_5x9t2_176 + .awsui_content_14iqq_5x9t2_282.awsui_with-paddings_14iqq_5x9t2_206:not(#\9) {
316
316
  padding-top: var(--space-container-content-top-u412x3, 16px);
317
317
  }
318
318
 
319
- .awsui_fit-height_14iqq_kxs3k_111.awsui_with-content-paddings_14iqq_kxs3k_286:not(#\9):not(.awsui_with-footer_14iqq_kxs3k_293) {
320
- padding-bottom: var(--space-scaled-l-t03y3z, 20px);
321
- }
322
- .awsui_fit-height_14iqq_kxs3k_111.awsui_with-content-paddings_14iqq_kxs3k_286:not(#\9):not(.awsui_with-footer_14iqq_kxs3k_293) > .awsui_content_14iqq_kxs3k_282 {
323
- padding-bottom: 0;
324
- }
325
-
326
- .awsui_footer_14iqq_kxs3k_300.awsui_with-paddings_14iqq_kxs3k_206:not(#\9) {
319
+ .awsui_footer_14iqq_5x9t2_293.awsui_with-paddings_14iqq_5x9t2_206:not(#\9) {
327
320
  padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-container-horizontal-tlw03i, 20px);
328
321
  }
329
- .awsui_footer_14iqq_kxs3k_300.awsui_with-divider_14iqq_kxs3k_303:not(#\9) {
322
+ .awsui_footer_14iqq_5x9t2_293.awsui_with-divider_14iqq_5x9t2_296:not(#\9) {
330
323
  border-top: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
331
324
  }
@@ -2,25 +2,23 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_14iqq_kxs3k_97",
6
- "fit-height": "awsui_fit-height_14iqq_kxs3k_111",
7
- "variant-default": "awsui_variant-default_14iqq_kxs3k_116",
8
- "variant-stacked": "awsui_variant-stacked_14iqq_kxs3k_116",
9
- "sticky-enabled": "awsui_sticky-enabled_14iqq_kxs3k_169",
10
- "header": "awsui_header_14iqq_kxs3k_176",
11
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_kxs3k_181",
12
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_kxs3k_185",
13
- "header-stuck": "awsui_header-stuck_14iqq_kxs3k_191",
14
- "header-variant-cards": "awsui_header-variant-cards_14iqq_kxs3k_197",
15
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_kxs3k_200",
16
- "with-paddings": "awsui_with-paddings_14iqq_kxs3k_206",
17
- "with-hidden-content": "awsui_with-hidden-content_14iqq_kxs3k_209",
18
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_kxs3k_259",
19
- "dark-header": "awsui_dark-header_14iqq_kxs3k_277",
20
- "content": "awsui_content_14iqq_kxs3k_282",
21
- "with-content-paddings": "awsui_with-content-paddings_14iqq_kxs3k_286",
22
- "with-footer": "awsui_with-footer_14iqq_kxs3k_293",
23
- "footer": "awsui_footer_14iqq_kxs3k_300",
24
- "with-divider": "awsui_with-divider_14iqq_kxs3k_303"
5
+ "root": "awsui_root_14iqq_5x9t2_97",
6
+ "fit-height": "awsui_fit-height_14iqq_5x9t2_111",
7
+ "variant-default": "awsui_variant-default_14iqq_5x9t2_116",
8
+ "variant-stacked": "awsui_variant-stacked_14iqq_5x9t2_116",
9
+ "sticky-enabled": "awsui_sticky-enabled_14iqq_5x9t2_169",
10
+ "header": "awsui_header_14iqq_5x9t2_176",
11
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_5x9t2_181",
12
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_5x9t2_185",
13
+ "header-stuck": "awsui_header-stuck_14iqq_5x9t2_191",
14
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_5x9t2_197",
15
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_5x9t2_200",
16
+ "with-paddings": "awsui_with-paddings_14iqq_5x9t2_206",
17
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_5x9t2_209",
18
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_5x9t2_259",
19
+ "dark-header": "awsui_dark-header_14iqq_5x9t2_277",
20
+ "content": "awsui_content_14iqq_5x9t2_282",
21
+ "footer": "awsui_footer_14iqq_5x9t2_293",
22
+ "with-divider": "awsui_with-divider_14iqq_5x9t2_296"
25
23
  };
26
24