@cloudscape-design/components-themeable 3.0.153 → 3.0.155

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 (54) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/container/styles.scss +11 -7
  3. package/lib/internal/scss/table/body-cell/styles.scss +47 -4
  4. package/lib/internal/scss/table/header-cell/styles.scss +35 -3
  5. package/lib/internal/scss/table/selection-control/styles.scss +0 -2
  6. package/lib/internal/scss/table/styles.scss +17 -11
  7. package/lib/internal/template/container/interfaces.d.ts +8 -0
  8. package/lib/internal/template/container/interfaces.d.ts.map +1 -1
  9. package/lib/internal/template/container/interfaces.js.map +1 -1
  10. package/lib/internal/template/container/internal.d.ts +1 -1
  11. package/lib/internal/template/container/internal.d.ts.map +1 -1
  12. package/lib/internal/template/container/internal.js +2 -2
  13. package/lib/internal/template/container/internal.js.map +1 -1
  14. package/lib/internal/template/container/styles.css.js +17 -16
  15. package/lib/internal/template/container/styles.scoped.css +34 -33
  16. package/lib/internal/template/container/styles.selectors.js +17 -16
  17. package/lib/internal/template/internal/base-component/styles.scoped.css +3 -4
  18. package/lib/internal/template/internal/environment.js +1 -1
  19. package/lib/internal/template/internal/generated/styles/tokens.js +1 -1
  20. package/lib/internal/template/internal/generated/theming/index.cjs +13 -6
  21. package/lib/internal/template/internal/generated/theming/index.js +13 -6
  22. package/lib/internal/template/mixed-line-bar-chart/chart-container.d.ts.map +1 -1
  23. package/lib/internal/template/mixed-line-bar-chart/chart-container.js +13 -8
  24. package/lib/internal/template/mixed-line-bar-chart/chart-container.js.map +1 -1
  25. package/lib/internal/template/pie-chart/pie-chart.d.ts.map +1 -1
  26. package/lib/internal/template/pie-chart/pie-chart.js +11 -4
  27. package/lib/internal/template/pie-chart/pie-chart.js.map +1 -1
  28. package/lib/internal/template/table/body-cell/index.d.ts +3 -1
  29. package/lib/internal/template/table/body-cell/index.d.ts.map +1 -1
  30. package/lib/internal/template/table/body-cell/index.js +4 -2
  31. package/lib/internal/template/table/body-cell/index.js.map +1 -1
  32. package/lib/internal/template/table/body-cell/styles.css.js +12 -8
  33. package/lib/internal/template/table/body-cell/styles.scoped.css +56 -20
  34. package/lib/internal/template/table/body-cell/styles.selectors.js +12 -8
  35. package/lib/internal/template/table/header-cell/styles.css.js +18 -16
  36. package/lib/internal/template/table/header-cell/styles.scoped.css +54 -27
  37. package/lib/internal/template/table/header-cell/styles.selectors.js +18 -16
  38. package/lib/internal/template/table/internal.d.ts.map +1 -1
  39. package/lib/internal/template/table/internal.js +11 -9
  40. package/lib/internal/template/table/internal.js.map +1 -1
  41. package/lib/internal/template/table/selection-control/styles.css.js +3 -3
  42. package/lib/internal/template/table/selection-control/styles.scoped.css +3 -5
  43. package/lib/internal/template/table/selection-control/styles.selectors.js +3 -3
  44. package/lib/internal/template/table/styles.css.js +33 -34
  45. package/lib/internal/template/table/styles.scoped.css +54 -49
  46. package/lib/internal/template/table/styles.selectors.js +33 -34
  47. package/lib/internal/template/table/thead.d.ts +1 -0
  48. package/lib/internal/template/table/thead.d.ts.map +1 -1
  49. package/lib/internal/template/table/thead.js +5 -3
  50. package/lib/internal/template/table/thead.js.map +1 -1
  51. package/lib/internal/template/table/use-sticky-header.d.ts.map +1 -1
  52. package/lib/internal/template/table/use-sticky-header.js +0 -13
  53. package/lib/internal/template/table/use-sticky-header.js.map +1 -1
  54. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "a331cd8221ac647e0776d8641c37ceb0082d26f9"
2
+ "commit": "c5f6ca8ecc4b5cc8bf05f067be53810fdfa5bdcd"
3
3
  }
@@ -9,10 +9,15 @@
9
9
 
10
10
  .root {
11
11
  @include styles.styles-reset;
12
- display: flex;
13
- flex-flow: column nowrap;
14
12
  word-wrap: break-word;
15
13
 
14
+ &-fit-height {
15
+ display: flex;
16
+ flex-direction: column;
17
+ overflow: hidden;
18
+ height: 100%;
19
+ }
20
+
16
21
  &.variant {
17
22
  &-default,
18
23
  &-stacked {
@@ -35,7 +40,6 @@
35
40
  }
36
41
 
37
42
  .header {
38
- flex: 0 0 auto;
39
43
  background-color: awsui.$color-background-container-header;
40
44
  border-top-left-radius: awsui.$border-radius-container;
41
45
  border-top-right-radius: awsui.$border-radius-container;
@@ -126,8 +130,10 @@ the default white background of the container component.
126
130
  }
127
131
 
128
132
  .content {
129
- flex: 1 0 auto;
130
-
133
+ .root-fit-height > & {
134
+ flex: 1;
135
+ overflow: auto;
136
+ }
131
137
  &.with-paddings {
132
138
  padding: awsui.$space-scaled-l awsui.$space-container-horizontal;
133
139
 
@@ -138,8 +144,6 @@ the default white background of the container component.
138
144
  }
139
145
 
140
146
  .footer {
141
- flex: 0 0 auto;
142
-
143
147
  &.with-paddings {
144
148
  padding: shared.$footer-padding;
145
149
  }
@@ -31,7 +31,6 @@ $border-placeholder: awsui.$border-item-width solid transparent;
31
31
  }
32
32
  &:first-child {
33
33
  border-left: $border-placeholder;
34
- padding-left: $cell-edge-horizontal-padding;
35
34
  }
36
35
  &:last-child {
37
36
  border-right: $border-placeholder;
@@ -40,9 +39,19 @@ $border-placeholder: awsui.$border-item-width solid transparent;
40
39
  &-first-row {
41
40
  border-top: $border-placeholder;
42
41
  }
43
- &-last-row {
44
- // skip border for the last row, because container already has a border
45
- border-bottom: $border-placeholder;
42
+ &-last-row:not(.body-cell-selected) {
43
+ &:not(.has-footer) {
44
+ // skip the border for the last row because the container already has a border
45
+ border-bottom: $border-placeholder;
46
+ }
47
+
48
+ &.has-footer {
49
+ /*
50
+ Add a bottom border to the body cells of the last row as a separator between the
51
+ table and the footer
52
+ */
53
+ border-bottom: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
54
+ }
46
55
  }
47
56
  &-shaded {
48
57
  background: awsui.$color-background-cell-shaded;
@@ -96,3 +105,37 @@ $border-placeholder: awsui.$border-item-width solid transparent;
96
105
  padding-top: $cell-vertical-padding;
97
106
  }
98
107
  }
108
+
109
+ /*
110
+ In Visual Refresh the first cell of each row should align with the
111
+ left edge of the table as closely as possible.
112
+ */
113
+ .body-cell:not(.is-visual-refresh) {
114
+ &:first-child {
115
+ padding-left: $cell-edge-horizontal-padding;
116
+ }
117
+ }
118
+
119
+ .body-cell.is-visual-refresh {
120
+ /*
121
+ Remove the placeholder border if the row is not selectable.
122
+ Rows that are not selectable will reserve the horizontal space
123
+ that the placeholder border would consume.
124
+ */
125
+ &:first-child:not(.has-selection) {
126
+ border-left: none;
127
+ }
128
+
129
+ &:first-child:not(.has-striped-rows) {
130
+ padding-left: awsui.$space-xxxs;
131
+ }
132
+
133
+ /*
134
+ Striped rows requires additional left padding because the
135
+ shaded background makes the child content appear too close
136
+ to the table edge.
137
+ */
138
+ &:first-child.has-striped-rows {
139
+ padding-left: awsui.$space-xxs;
140
+ }
141
+ }
@@ -25,9 +25,6 @@
25
25
  &-variant-full-page.header-cell-hidden {
26
26
  border-bottom-color: transparent;
27
27
  }
28
- &:first-child {
29
- padding-left: awsui.$space-xs;
30
- }
31
28
  &:last-child,
32
29
  &.header-cell-sortable {
33
30
  padding-right: awsui.$space-xs;
@@ -105,3 +102,38 @@
105
102
  .header-cell-descending {
106
103
  /* used in test-utils */
107
104
  }
105
+
106
+ /*
107
+ In Visual Refresh the first cell in the header should align
108
+ with the left edge of the table as closely as possible. If the
109
+ last header cell is sortable the sort icon should align with the
110
+ settings icon in the pagination slot.
111
+ */
112
+ .header-cell:not(.is-visual-refresh) {
113
+ &:first-child {
114
+ padding-left: awsui.$space-xs;
115
+ }
116
+ }
117
+
118
+ .header-cell.is-visual-refresh {
119
+ &:first-child:not(.has-striped-rows) {
120
+ padding-left: awsui.$space-xxxs;
121
+ }
122
+
123
+ /*
124
+ Striped rows requires additional left padding because the
125
+ shaded background makes the child content appear too close
126
+ to the table edge.
127
+ */
128
+ &:first-child.has-striped-rows {
129
+ padding-left: awsui.$space-xxs;
130
+ }
131
+
132
+ &:first-child > .header-cell-content {
133
+ padding-left: 0;
134
+ }
135
+
136
+ &:last-child.header-cell-sortable {
137
+ padding-right: awsui.$space-xxxs;
138
+ }
139
+ }
@@ -15,8 +15,6 @@
15
15
  align-items: center;
16
16
  justify-content: center;
17
17
  position: absolute;
18
- padding-right: awsui.$space-xs;
19
- padding-left: awsui.$space-xs;
20
18
  padding-bottom: awsui.$space-xxs;
21
19
  height: 100%;
22
20
  top: 0;
@@ -90,6 +90,13 @@
90
90
  .cell-merged {
91
91
  text-align: center;
92
92
  padding: 0;
93
+ &.has-footer {
94
+ /*
95
+ Add a bottom border to the body cell of an empty table as a separator between the
96
+ table and the footer
97
+ */
98
+ border-bottom: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
99
+ }
93
100
  &-content {
94
101
  box-sizing: border-box;
95
102
  width: 100%;
@@ -113,12 +120,18 @@
113
120
  /* used in test-utils */
114
121
  }
115
122
 
123
+ /*
124
+ The min/max/width token values in Visual Refresh should align
125
+ the table header and body cells selection control with the table
126
+ filter search icon.
127
+ */
116
128
  .selection-control {
117
- position: relative;
118
129
  box-sizing: border-box;
119
- width: 5.4 * styles.$base-size;
120
- max-width: 5.4 * styles.$base-size;
121
- min-width: 5.4 * styles.$base-size;
130
+ max-width: awsui.$size-table-selection-horizontal;
131
+ min-width: awsui.$size-table-selection-horizontal;
132
+ position: relative;
133
+ width: awsui.$size-table-selection-horizontal;
134
+
122
135
  &.selection-control-header {
123
136
  padding: awsui.$space-scaled-xs awsui.$space-scaled-l;
124
137
  border-left: awsui.$border-item-width solid transparent;
@@ -189,13 +202,6 @@ the default white background of the container component.
189
202
  }
190
203
  }
191
204
 
192
- .divider {
193
- border: none;
194
- margin: 0;
195
- height: 0;
196
- @include container.divider;
197
- }
198
-
199
205
  .footer-wrapper {
200
206
  &.variant-stacked,
201
207
  &.variant-container {
@@ -17,6 +17,14 @@ export interface ContainerProps extends BaseComponentProps {
17
17
  * Determines whether the container content has padding. If `true`, removes the default padding from the content area.
18
18
  */
19
19
  disableContentPaddings?: boolean;
20
+ /**
21
+ * Enabling this property will make the container to fit into available height. If content is too short, the container
22
+ * will stretch, if too long, the container will shrink and show vertical scrollbar.
23
+ *
24
+ * Use this property to align heights of multiple containers displayed in a single row. It is recommended to stretch
25
+ * all containers to the height of the longest one, to avoid extra vertical scroll areas.
26
+ */
27
+ fitHeight?: boolean;
20
28
  /**
21
29
  * Footer of the container.
22
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\n\nexport interface ContainerProps extends BaseComponentProps {\n /**\n * Heading element of the container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Determines whether the container header has padding. If `true`, removes the default padding from the header.\n */\n disableHeaderPaddings?: boolean;\n\n /**\n * Main content of the container.\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the container content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Footer of the container.\n */\n footer?: React.ReactNode;\n\n /**\n * Specify a container variant with one of the following:\n * * `default` - Use this variant in standalone context.\n * * `stacked` - Use this variant adjacent to other stacked containers (such as a container,\n * table).\n * @visualrefresh `stacked` variant\n */\n variant?: 'default' | 'stacked';\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\n\nexport interface ContainerProps extends BaseComponentProps {\n /**\n * Heading element of the container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Determines whether the container header has padding. If `true`, removes the default padding from the header.\n */\n disableHeaderPaddings?: boolean;\n\n /**\n * Main content of the container.\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the container content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Enabling this property will make the container to fit into available height. If content is too short, the container\n * will stretch, if too long, the container will shrink and show vertical scrollbar.\n *\n * Use this property to align heights of multiple containers displayed in a single row. It is recommended to stretch\n * all containers to the height of the longest one, to avoid extra vertical scroll areas.\n */\n fitHeight?: boolean;\n\n /**\n * Footer of the container.\n */\n footer?: React.ReactNode;\n\n /**\n * Specify a container variant with one of the following:\n * * `default` - Use this variant in standalone context.\n * * `stacked` - Use this variant adjacent to other stacked containers (such as a container,\n * table).\n * @visualrefresh `stacked` variant\n */\n variant?: 'default' | 'stacked';\n}\n"]}
@@ -18,5 +18,5 @@ export interface InternalContainerProps extends Omit<ContainerProps, 'variant'>,
18
18
  */
19
19
  variant?: ContainerProps['variant'] | 'embedded' | 'full-page' | 'cards';
20
20
  }
21
- export default function InternalContainer({ header, footer, children, variant, disableHeaderPaddings, disableContentPaddings, __stickyOffset, __stickyHeader, __internalRootRef, __disableFooterDivider, __disableFooterPaddings, __hiddenContent, __headerRef, __headerId, __darkHeader, ...restProps }: InternalContainerProps): JSX.Element;
21
+ export default function InternalContainer({ header, footer, children, variant, disableHeaderPaddings, disableContentPaddings, fitHeight, __stickyOffset, __stickyHeader, __internalRootRef, __disableFooterDivider, __disableFooterPaddings, __hiddenContent, __headerRef, __headerId, __darkHeader, ...restProps }: InternalContainerProps): JSX.Element;
22
22
  //# sourceMappingURL=internal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAOlF,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAAE,0BAA0B;I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AE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;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,eAyFxB"}
@@ -12,7 +12,7 @@ import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
12
12
  import styles from './styles.css.js';
13
13
  export default function InternalContainer(_a) {
14
14
  var _b, _c, _d;
15
- var header = _a.header, footer = _a.footer, children = _a.children, _e = _a.variant, variant = _e === void 0 ? 'default' : _e, _f = _a.disableHeaderPaddings, disableHeaderPaddings = _f === void 0 ? false : _f, _g = _a.disableContentPaddings, disableContentPaddings = _g === void 0 ? false : _g, __stickyOffset = _a.__stickyOffset, _h = _a.__stickyHeader, __stickyHeader = _h === void 0 ? false : _h, _j = _a.__internalRootRef, __internalRootRef = _j === void 0 ? null : _j, _k = _a.__disableFooterDivider, __disableFooterDivider = _k === void 0 ? false : _k, _l = _a.__disableFooterPaddings, __disableFooterPaddings = _l === void 0 ? false : _l, _m = _a.__hiddenContent, __hiddenContent = _m === void 0 ? false : _m, __headerRef = _a.__headerRef, __headerId = _a.__headerId, _o = _a.__darkHeader, __darkHeader = _o === void 0 ? false : _o, restProps = __rest(_a, ["header", "footer", "children", "variant", "disableHeaderPaddings", "disableContentPaddings", "__stickyOffset", "__stickyHeader", "__internalRootRef", "__disableFooterDivider", "__disableFooterPaddings", "__hiddenContent", "__headerRef", "__headerId", "__darkHeader"]);
15
+ var header = _a.header, footer = _a.footer, children = _a.children, _e = _a.variant, variant = _e === void 0 ? 'default' : _e, _f = _a.disableHeaderPaddings, disableHeaderPaddings = _f === void 0 ? false : _f, _g = _a.disableContentPaddings, disableContentPaddings = _g === void 0 ? false : _g, fitHeight = _a.fitHeight, __stickyOffset = _a.__stickyOffset, _h = _a.__stickyHeader, __stickyHeader = _h === void 0 ? false : _h, _j = _a.__internalRootRef, __internalRootRef = _j === void 0 ? null : _j, _k = _a.__disableFooterDivider, __disableFooterDivider = _k === void 0 ? false : _k, _l = _a.__disableFooterPaddings, __disableFooterPaddings = _l === void 0 ? false : _l, _m = _a.__hiddenContent, __hiddenContent = _m === void 0 ? false : _m, __headerRef = _a.__headerRef, __headerId = _a.__headerId, _o = _a.__darkHeader, __darkHeader = _o === void 0 ? false : _o, restProps = __rest(_a, ["header", "footer", "children", "variant", "disableHeaderPaddings", "disableContentPaddings", "fitHeight", "__stickyOffset", "__stickyHeader", "__internalRootRef", "__disableFooterDivider", "__disableFooterPaddings", "__hiddenContent", "__headerRef", "__headerId", "__darkHeader"]);
16
16
  var baseProps = getBaseProps(restProps);
17
17
  var rootRef = useRef(null);
18
18
  var headerRef = useRef(null);
@@ -40,7 +40,7 @@ export default function InternalContainer(_a) {
40
40
  }
41
41
  };
42
42
  }, [isRefresh, isSticky, setHasStickyBackground, variant]);
43
- return (React.createElement("div", __assign({}, baseProps, { className: clsx(baseProps.className, styles.root, styles["variant-".concat(variant)]), ref: mergedRef }),
43
+ return (React.createElement("div", __assign({}, baseProps, { className: clsx(baseProps.className, styles.root, styles["variant-".concat(variant)], fitHeight && styles['root-fit-height']), ref: mergedRef }),
44
44
  header && (React.createElement(StickyHeaderContext.Provider, { value: { isStuck: isStuck } },
45
45
  React.createElement("div", __assign({ className: clsx(styles.header, styles["header-variant-".concat(variant)], (_b = {},
46
46
  _b[styles['header-sticky-disabled']] = __stickyHeader && !isSticky,
@@ -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,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAC3F,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,EAiBjB;;IAhBvB,IAAA,MAAM,YAAA,EACN,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,eAAmB,EAAnB,OAAO,mBAAG,SAAS,KAAA,EACnB,6BAA6B,EAA7B,qBAAqB,mBAAG,KAAK,KAAA,EAC7B,8BAA8B,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,EAC9B,cAAc,oBAAA,EACd,sBAAsB,EAAtB,cAAc,mBAAG,KAAK,KAAA,EACtB,yBAAwB,EAAxB,iBAAiB,mBAAG,IAAI,KAAA,EACxB,8BAA8B,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,EAC9B,+BAA+B,EAA/B,uBAAuB,mBAAG,KAAK,KAAA,EAC/B,uBAAuB,EAAvB,eAAe,mBAAG,KAAK,KAAA,EACvB,WAAW,iBAAA,EACX,UAAU,gBAAA,EACV,oBAAoB,EAApB,YAAY,mBAAG,KAAK,KAAA,E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C,cAAc,CAAC,IAAG,CAAC,sBAAsB;gBACjD,GAAC,MAAM,CAAC,eAAe,CAAC,IAAG,CAAC,uBAAuB;oBACnD,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, { useContext, useEffect, useRef } from 'react';\nimport { AppLayoutContext } from '../app-layout/visual-refresh/context';\nimport { ContainerProps } from './interfaces';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\nimport { useDynamicOverlap } from '../app-layout/visual-refresh/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 __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 } = useContext(AppLayoutContext);\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 constrast 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 function handleHasStickyBackground() {\n const shouldUpdateStickyBackground = isRefresh && isSticky && variant === 'full-page';\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(true);\n }\n\n return function cleanup() {\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(false);\n }\n };\n },\n [isRefresh, isSticky, setHasStickyBackground, variant]\n );\n\n return (\n <div\n {...baseProps}\n className={clsx(baseProps.className, styles.root, styles[`variant-${variant}`])}\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']]: __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
+ {"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,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAC3F,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;;IAjBvB,IAAA,MAAM,YAAA,EACN,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,eAAmB,EAAnB,OAAO,mBAAG,SAAS,KAAA,EACnB,6BAA6B,EAA7B,qBAAqB,mBAAG,KAAK,KAAA,EAC7B,8BAA8B,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,EAC9B,SAAS,eAAA,EACT,cAAc,oBAAA,EACd,sBAAsB,EAAtB,cAAc,mBAAG,KAAK,KAAA,EACtB,yBAAwB,EAAxB,iBAAiB,mBAAG,IAAI,KAAA,EACxB,8BAA8B,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,EAC9B,+BAA+B,EAA/B,uBAAuB,mBAAG,KAAK,KAAA,EAC/B,uBAAuB,EAAvB,eAAe,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AAC,IAAG,CAAC,sBAAsB;oBAClD,IAED,QAAQ,CACL;QACL,MAAM,IAAI,CACT,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;gBAC3B,GAAC,MAAM,CAAC,cAAc,CAAC,IAAG,CAAC,sBAAsB;gBACjD,GAAC,MAAM,CAAC,eAAe,CAAC,IAAG,CAAC,uBAAuB;oBACnD,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, { useContext, useEffect, useRef } from 'react';\nimport { AppLayoutContext } from '../app-layout/visual-refresh/context';\nimport { ContainerProps } from './interfaces';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { StickyHeaderContext, useStickyHeader } from './use-sticky-header';\nimport { useDynamicOverlap } from '../app-layout/visual-refresh/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 } = useContext(AppLayoutContext);\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 constrast 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 function handleHasStickyBackground() {\n const shouldUpdateStickyBackground = isRefresh && isSticky && variant === 'full-page';\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(true);\n }\n\n return function cleanup() {\n if (shouldUpdateStickyBackground) {\n setHasStickyBackground(false);\n }\n };\n },\n [isRefresh, isSticky, setHasStickyBackground, variant]\n );\n\n return (\n <div\n {...baseProps}\n className={clsx(\n baseProps.className,\n styles.root,\n styles[`variant-${variant}`],\n fitHeight && styles['root-fit-height']\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']]: __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,21 +1,22 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_14iqq_9hmxm_97",
5
- "variant-default": "awsui_variant-default_14iqq_9hmxm_110",
6
- "variant-stacked": "awsui_variant-stacked_14iqq_9hmxm_110",
7
- "header": "awsui_header_14iqq_9hmxm_133",
8
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_9hmxm_139",
9
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_9hmxm_143",
10
- "header-stuck": "awsui_header-stuck_14iqq_9hmxm_149",
11
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_9hmxm_154",
12
- "with-paddings": "awsui_with-paddings_14iqq_9hmxm_160",
13
- "with-hidden-content": "awsui_with-hidden-content_14iqq_9hmxm_163",
14
- "header-variant-cards": "awsui_header-variant-cards_14iqq_9hmxm_167",
15
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_9hmxm_191",
16
- "dark-header": "awsui_dark-header_14iqq_9hmxm_209",
17
- "content": "awsui_content_14iqq_9hmxm_213",
18
- "footer": "awsui_footer_14iqq_9hmxm_223",
19
- "with-divider": "awsui_with-divider_14iqq_9hmxm_229"
4
+ "root": "awsui_root_14iqq_wwlin_97",
5
+ "root-fit-height": "awsui_root-fit-height_14iqq_wwlin_108",
6
+ "variant-default": "awsui_variant-default_14iqq_wwlin_114",
7
+ "variant-stacked": "awsui_variant-stacked_14iqq_wwlin_114",
8
+ "header": "awsui_header_14iqq_wwlin_137",
9
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_wwlin_142",
10
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_wwlin_146",
11
+ "header-stuck": "awsui_header-stuck_14iqq_wwlin_152",
12
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_wwlin_157",
13
+ "with-paddings": "awsui_with-paddings_14iqq_wwlin_163",
14
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_wwlin_166",
15
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_wwlin_170",
16
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_wwlin_194",
17
+ "dark-header": "awsui_dark-header_14iqq_wwlin_212",
18
+ "content": "awsui_content_14iqq_wwlin_216",
19
+ "footer": "awsui_footer_14iqq_wwlin_227",
20
+ "with-divider": "awsui_with-divider_14iqq_wwlin_230"
20
21
  };
21
22
 
@@ -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_9hmxm_97:not(#\9) {
97
+ .awsui_root_14iqq_wwlin_97:not(#\9) {
98
98
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
99
99
  border-collapse: separate;
100
100
  border-spacing: 0;
@@ -129,11 +129,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
129
129
  color: var(--color-text-body-default-7m2b3r, #16191f);
130
130
  font-weight: 400;
131
131
  font-family: var(--font-family-base-mylvzb, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
132
- display: flex;
133
- flex-flow: column nowrap;
134
132
  word-wrap: break-word;
135
133
  }
136
- .awsui_root_14iqq_9hmxm_97.awsui_variant-default_14iqq_9hmxm_110:not(#\9), .awsui_root_14iqq_9hmxm_97.awsui_variant-stacked_14iqq_9hmxm_110:not(#\9) {
134
+ .awsui_root-fit-height_14iqq_wwlin_108:not(#\9) {
135
+ display: flex;
136
+ flex-direction: column;
137
+ overflow: hidden;
138
+ height: 100%;
139
+ }
140
+ .awsui_root_14iqq_wwlin_97.awsui_variant-default_14iqq_wwlin_114:not(#\9), .awsui_root_14iqq_wwlin_97.awsui_variant-stacked_14iqq_wwlin_114:not(#\9) {
137
141
  box-shadow: var(--shadow-container-0bkp96, 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));
138
142
  border-top: var(--border-container-top-width-fs2udu, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
139
143
  border-radius: var(--border-radius-container-1aveko, 0px);
@@ -141,83 +145,82 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
141
145
  background-color: var(--color-background-container-content-o88wxm, #ffffff);
142
146
  }
143
147
  @media screen and (-ms-high-contrast: active) {
144
- .awsui_root_14iqq_9hmxm_97.awsui_variant-default_14iqq_9hmxm_110:not(#\9), .awsui_root_14iqq_9hmxm_97.awsui_variant-stacked_14iqq_9hmxm_110:not(#\9) {
148
+ .awsui_root_14iqq_wwlin_97.awsui_variant-default_14iqq_wwlin_114:not(#\9), .awsui_root_14iqq_wwlin_97.awsui_variant-stacked_14iqq_wwlin_114:not(#\9) {
145
149
  border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
146
150
  }
147
151
  }
148
- .awsui_root_14iqq_9hmxm_97.awsui_variant-stacked_14iqq_9hmxm_110:not(#\9):not(:last-child) {
152
+ .awsui_root_14iqq_wwlin_97.awsui_variant-stacked_14iqq_wwlin_114:not(#\9):not(:last-child) {
149
153
  border-bottom-right-radius: 0;
150
154
  border-bottom-left-radius: 0;
151
155
  }
152
- .awsui_root_14iqq_9hmxm_97.awsui_variant-stacked_14iqq_9hmxm_110 + .awsui_root_14iqq_9hmxm_97.awsui_variant-stacked_14iqq_9hmxm_110:not(#\9) {
156
+ .awsui_root_14iqq_wwlin_97.awsui_variant-stacked_14iqq_wwlin_114 + .awsui_root_14iqq_wwlin_97.awsui_variant-stacked_14iqq_wwlin_114:not(#\9) {
153
157
  border-top: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
154
158
  border-top-left-radius: 0;
155
159
  border-top-right-radius: 0;
156
160
  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));
157
161
  }
158
162
 
159
- .awsui_header_14iqq_9hmxm_133:not(#\9) {
160
- flex: 0 0 auto;
163
+ .awsui_header_14iqq_wwlin_137:not(#\9) {
161
164
  background-color: var(--color-background-container-header-g9rg0j, #fafafa);
162
165
  border-top-left-radius: var(--border-radius-container-1aveko, 0px);
163
166
  border-top-right-radius: var(--border-radius-container-1aveko, 0px);
164
167
  }
165
- .awsui_header-sticky-disabled_14iqq_9hmxm_139:not(#\9) {
168
+ .awsui_header-sticky-disabled_14iqq_wwlin_142:not(#\9) {
166
169
  position: relative;
167
170
  z-index: 1;
168
171
  }
169
- .awsui_header-sticky-enabled_14iqq_9hmxm_143:not(#\9) {
172
+ .awsui_header-sticky-enabled_14iqq_wwlin_146:not(#\9) {
170
173
  top: 0;
171
174
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
172
175
  position: sticky;
173
176
  z-index: 800;
174
177
  }
175
- .awsui_header-stuck_14iqq_9hmxm_149:not(#\9) {
178
+ .awsui_header-stuck_14iqq_wwlin_152:not(#\9) {
176
179
  box-shadow: var(--shadow-sticky-embedded-5acv0s, 0px 1px 4px -2px rgba(0, 28, 36, 0.5));
177
180
  border: 0;
178
181
  border-radius: 0;
179
182
  }
180
- .awsui_header-dynamic-height_14iqq_9hmxm_154.awsui_header-stuck_14iqq_9hmxm_149:not(#\9) {
183
+ .awsui_header-dynamic-height_14iqq_wwlin_157.awsui_header-stuck_14iqq_wwlin_152:not(#\9) {
181
184
  margin-bottom: calc(var(--font-heading-xl-line-height-qeciux, 36px) - var(--font-heading-l-line-height-oujdab, 22px));
182
185
  }
183
- .awsui_header_14iqq_9hmxm_133:not(#\9):not(:empty) {
186
+ .awsui_header_14iqq_wwlin_137:not(#\9):not(:empty) {
184
187
  border-bottom: var(--border-container-sticky-width-pybmba, 1px) solid var(--color-border-container-divider-z203b8, #eaeded);
185
188
  }
186
- .awsui_header_14iqq_9hmxm_133.awsui_with-paddings_14iqq_9hmxm_160:not(#\9) {
189
+ .awsui_header_14iqq_wwlin_137.awsui_with-paddings_14iqq_wwlin_163:not(#\9) {
187
190
  padding: var(--space-container-header-vertical-0bd19u, 12px) var(--space-container-horizontal-tlw03i, 20px);
188
191
  }
189
- .awsui_header_14iqq_9hmxm_133.awsui_with-hidden-content_14iqq_9hmxm_163:not(#\9) {
192
+ .awsui_header_14iqq_wwlin_137.awsui_with-hidden-content_14iqq_wwlin_166:not(#\9) {
190
193
  border-bottom-left-radius: var(--border-radius-container-1aveko, 0px);
191
194
  border-bottom-right-radius: var(--border-radius-container-1aveko, 0px);
192
195
  }
193
- .awsui_header-variant-cards_14iqq_9hmxm_167:not(#\9) {
196
+ .awsui_header-variant-cards_14iqq_wwlin_170:not(#\9) {
194
197
  box-shadow: var(--shadow-container-0bkp96, 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));
195
198
  border-top: var(--border-container-top-width-fs2udu, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
196
199
  border-radius: var(--border-radius-container-1aveko, 0px);
197
200
  box-sizing: border-box;
198
201
  }
199
202
  @media screen and (-ms-high-contrast: active) {
200
- .awsui_header-variant-cards_14iqq_9hmxm_167:not(#\9) {
203
+ .awsui_header-variant-cards_14iqq_wwlin_170:not(#\9) {
201
204
  border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
202
205
  }
203
206
  }
204
- .awsui_header-variant-cards_14iqq_9hmxm_167:not(#\9):not(:empty) {
207
+ .awsui_header-variant-cards_14iqq_wwlin_170:not(#\9):not(:empty) {
205
208
  border-bottom: 1px solid #d5dbdb;
206
209
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
207
210
  }
208
211
  @supports (--css-variable-support-check: #000) {
209
- .awsui_header-variant-cards_14iqq_9hmxm_167:not(#\9):not(:empty) {
212
+ .awsui_header-variant-cards_14iqq_wwlin_170:not(#\9):not(:empty) {
210
213
  border-bottom: 0;
211
214
  }
212
215
  }
213
- .awsui_header-variant-cards_14iqq_9hmxm_167.awsui_header-stuck_14iqq_9hmxm_149:not(#\9) {
216
+ .awsui_header-variant-cards_14iqq_wwlin_170.awsui_header-stuck_14iqq_wwlin_152:not(#\9) {
214
217
  border-top-left-radius: 0;
215
218
  border-top-right-radius: 0;
216
219
  }
217
- .awsui_header-variant-full-page_14iqq_9hmxm_191.awsui_header-stuck_14iqq_9hmxm_149:not(#\9) {
220
+ .awsui_header-variant-full-page_14iqq_wwlin_194.awsui_header-stuck_14iqq_wwlin_152:not(#\9) {
218
221
  box-shadow: none;
219
222
  }
220
- .awsui_header-variant-full-page_14iqq_9hmxm_191.awsui_header-stuck_14iqq_9hmxm_149:not(#\9)::after {
223
+ .awsui_header-variant-full-page_14iqq_wwlin_194.awsui_header-stuck_14iqq_wwlin_152:not(#\9)::after {
221
224
  content: "";
222
225
  position: absolute;
223
226
  right: 0;
@@ -232,26 +235,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
232
235
  The dynamic height dark header needs a background that will cover
233
236
  the default white background of the container component.
234
237
  */
235
- .awsui_dark-header_14iqq_9hmxm_209:not(#\9) {
238
+ .awsui_dark-header_14iqq_wwlin_212:not(#\9) {
236
239
  background-color: var(--color-background-layout-main-q0tbxx, #f2f3f3);
237
240
  }
238
241
 
239
- .awsui_content_14iqq_9hmxm_213:not(#\9) {
240
- flex: 1 0 auto;
242
+ .awsui_root-fit-height_14iqq_wwlin_108 > .awsui_content_14iqq_wwlin_216:not(#\9) {
243
+ flex: 1;
244
+ overflow: auto;
241
245
  }
242
- .awsui_content_14iqq_9hmxm_213.awsui_with-paddings_14iqq_9hmxm_160:not(#\9) {
246
+ .awsui_content_14iqq_wwlin_216.awsui_with-paddings_14iqq_wwlin_163:not(#\9) {
243
247
  padding: var(--space-scaled-l-t03y3z, 20px) var(--space-container-horizontal-tlw03i, 20px);
244
248
  }
245
- .awsui_header_14iqq_9hmxm_133 + .awsui_content_14iqq_9hmxm_213.awsui_with-paddings_14iqq_9hmxm_160:not(#\9) {
249
+ .awsui_header_14iqq_wwlin_137 + .awsui_content_14iqq_wwlin_216.awsui_with-paddings_14iqq_wwlin_163:not(#\9) {
246
250
  padding-top: var(--space-container-content-top-u412x3, 16px);
247
251
  }
248
252
 
249
- .awsui_footer_14iqq_9hmxm_223:not(#\9) {
250
- flex: 0 0 auto;
251
- }
252
- .awsui_footer_14iqq_9hmxm_223.awsui_with-paddings_14iqq_9hmxm_160:not(#\9) {
253
+ .awsui_footer_14iqq_wwlin_227.awsui_with-paddings_14iqq_wwlin_163:not(#\9) {
253
254
  padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-container-horizontal-tlw03i, 20px);
254
255
  }
255
- .awsui_footer_14iqq_9hmxm_223.awsui_with-divider_14iqq_9hmxm_229:not(#\9) {
256
+ .awsui_footer_14iqq_wwlin_227.awsui_with-divider_14iqq_wwlin_230:not(#\9) {
256
257
  border-top: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
257
258
  }
@@ -2,21 +2,22 @@
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_9hmxm_97",
6
- "variant-default": "awsui_variant-default_14iqq_9hmxm_110",
7
- "variant-stacked": "awsui_variant-stacked_14iqq_9hmxm_110",
8
- "header": "awsui_header_14iqq_9hmxm_133",
9
- "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_9hmxm_139",
10
- "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_9hmxm_143",
11
- "header-stuck": "awsui_header-stuck_14iqq_9hmxm_149",
12
- "header-dynamic-height": "awsui_header-dynamic-height_14iqq_9hmxm_154",
13
- "with-paddings": "awsui_with-paddings_14iqq_9hmxm_160",
14
- "with-hidden-content": "awsui_with-hidden-content_14iqq_9hmxm_163",
15
- "header-variant-cards": "awsui_header-variant-cards_14iqq_9hmxm_167",
16
- "header-variant-full-page": "awsui_header-variant-full-page_14iqq_9hmxm_191",
17
- "dark-header": "awsui_dark-header_14iqq_9hmxm_209",
18
- "content": "awsui_content_14iqq_9hmxm_213",
19
- "footer": "awsui_footer_14iqq_9hmxm_223",
20
- "with-divider": "awsui_with-divider_14iqq_9hmxm_229"
5
+ "root": "awsui_root_14iqq_wwlin_97",
6
+ "root-fit-height": "awsui_root-fit-height_14iqq_wwlin_108",
7
+ "variant-default": "awsui_variant-default_14iqq_wwlin_114",
8
+ "variant-stacked": "awsui_variant-stacked_14iqq_wwlin_114",
9
+ "header": "awsui_header_14iqq_wwlin_137",
10
+ "header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_wwlin_142",
11
+ "header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_wwlin_146",
12
+ "header-stuck": "awsui_header-stuck_14iqq_wwlin_152",
13
+ "header-dynamic-height": "awsui_header-dynamic-height_14iqq_wwlin_157",
14
+ "with-paddings": "awsui_with-paddings_14iqq_wwlin_163",
15
+ "with-hidden-content": "awsui_with-hidden-content_14iqq_wwlin_166",
16
+ "header-variant-cards": "awsui_header-variant-cards_14iqq_wwlin_170",
17
+ "header-variant-full-page": "awsui_header-variant-full-page_14iqq_wwlin_194",
18
+ "dark-header": "awsui_dark-header_14iqq_wwlin_212",
19
+ "content": "awsui_content_14iqq_wwlin_216",
20
+ "footer": "awsui_footer_14iqq_wwlin_227",
21
+ "with-divider": "awsui_with-divider_14iqq_wwlin_230"
21
22
  };
22
23
 
@@ -475,6 +475,7 @@
475
475
  --size-icon-large-9vh494:48px;
476
476
  --size-icon-medium-yynucr:16px;
477
477
  --size-icon-normal-j1z5fn:16px;
478
+ --size-table-selection-horizontal-bjirww:54px;
478
479
  --size-vertical-input-ikahdk:32px;
479
480
  --size-vertical-panel-icon-offset-ti40n4:15px;
480
481
  --space-alert-action-left-ovi85g:20px;
@@ -1396,6 +1397,7 @@
1396
1397
  --size-calendar-grid-width-luenzs:238px;
1397
1398
  --size-control-eyly4k:16px;
1398
1399
  --size-icon-medium-yynucr:20px;
1400
+ --size-table-selection-horizontal-bjirww:40px;
1399
1401
  --size-vertical-input-ikahdk:34px;
1400
1402
  --space-alert-action-left-ovi85g:12px;
1401
1403
  --space-alert-horizontal-dvwbh6:16px;
@@ -1408,10 +1410,8 @@
1408
1410
  --space-button-modal-dismiss-vertical-zj7c79:0px;
1409
1411
  --space-calendar-grid-focus-outline-gutter-lbmex4:-5px;
1410
1412
  --space-calendar-grid-selected-focus-outline-gutter-s5ollf:-5px;
1411
- --space-card-horizontal-di7llb:24px;
1412
1413
  --space-code-editor-status-focus-outline-gutter-hxg2um:-7px;
1413
1414
  --space-container-content-top-u412x3:0px;
1414
- --space-container-horizontal-tlw03i:24px;
1415
1415
  --space-content-header-padding-bottom-m7tdoi:24px;
1416
1416
  --space-dark-header-overlap-distance-ync2s3:36px;
1417
1417
  --space-expandable-section-icon-offset-top-jo3eu8:4px;
@@ -1424,14 +1424,13 @@
1424
1424
  --space-flashbar-horizontal-klv28o:16px;
1425
1425
  --space-layout-content-bottom-ebez2l:40px;
1426
1426
  --space-modal-content-bottom-2tkcs5:16px;
1427
- --space-modal-horizontal-ah0xld:24px;
1428
1427
  --space-panel-nav-left-hwf0ky:28px;
1429
1428
  --space-panel-side-left-o3fm3s:28px;
1430
1429
  --space-panel-side-right-oktwq8:24px;
1431
1430
  --space-panel-split-top-mpmkyz:20px;
1432
1431
  --space-segmented-control-focus-outline-gutter-82bijn:4px;
1433
1432
  --space-tabs-content-top-c5lrql:12px;
1434
- --space-table-horizontal-njdbej:24px;
1433
+ --space-table-horizontal-njdbej:20px;
1435
1434
  --space-table-header-horizontal-4u689g:0px;
1436
1435
  --space-table-content-bottom-2l75ve:4px;
1437
1436
  --space-table-content-top-su9ka6:12px;