@cloudscape-design/components 3.0.638 → 3.0.640
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.
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -31
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/implementation.d.ts +31 -0
- package/app-layout/implementation.d.ts.map +1 -1
- package/app-layout/implementation.js +2 -0
- package/app-layout/implementation.js.map +1 -1
- package/app-layout/interfaces.d.ts +7 -0
- package/app-layout/interfaces.d.ts.map +1 -1
- package/app-layout/interfaces.js.map +1 -1
- package/app-layout/internal.js +1 -1
- package/app-layout/internal.js.map +1 -1
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/skeleton/index.d.ts +1 -1
- package/app-layout/skeleton/index.d.ts.map +1 -1
- package/app-layout/skeleton/index.js +2 -2
- package/app-layout/skeleton/index.js.map +1 -1
- package/app-layout/skeleton/layout.d.ts +2 -2
- package/app-layout/skeleton/layout.d.ts.map +1 -1
- package/app-layout/skeleton/layout.js +5 -4
- package/app-layout/skeleton/layout.js.map +1 -1
- package/app-layout/skeleton/styles.css.js +11 -11
- package/app-layout/skeleton/styles.scoped.css +99 -38
- package/app-layout/skeleton/styles.selectors.js +11 -11
- package/app-layout/utils/use-app-layout-placement.js +1 -1
- package/app-layout/utils/use-app-layout-placement.js.map +1 -1
- package/app-layout/utils/use-pointer-events.d.ts.map +1 -1
- package/app-layout/utils/use-pointer-events.js +1 -1
- package/app-layout/utils/use-pointer-events.js.map +1 -1
- package/app-layout/visual-refresh/background.d.ts.map +1 -1
- package/app-layout/visual-refresh/background.js +3 -3
- package/app-layout/visual-refresh/background.js.map +1 -1
- package/app-layout/visual-refresh/breadcrumbs.d.ts.map +1 -1
- package/app-layout/visual-refresh/breadcrumbs.js +4 -3
- package/app-layout/visual-refresh/breadcrumbs.js.map +1 -1
- package/app-layout/visual-refresh/context.js +1 -1
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/drawers.d.ts.map +1 -1
- package/app-layout/visual-refresh/drawers.js +5 -5
- package/app-layout/visual-refresh/drawers.js.map +1 -1
- package/app-layout/visual-refresh/header.d.ts.map +1 -1
- package/app-layout/visual-refresh/header.js +4 -3
- package/app-layout/visual-refresh/header.js.map +1 -1
- package/app-layout/visual-refresh/layout.d.ts.map +1 -1
- package/app-layout/visual-refresh/layout.js +2 -0
- package/app-layout/visual-refresh/layout.js.map +1 -1
- package/app-layout/visual-refresh/mobile-toolbar.d.ts.map +1 -1
- package/app-layout/visual-refresh/mobile-toolbar.js +4 -4
- package/app-layout/visual-refresh/mobile-toolbar.js.map +1 -1
- package/app-layout/visual-refresh/navigation.d.ts.map +1 -1
- package/app-layout/visual-refresh/navigation.js +2 -2
- package/app-layout/visual-refresh/navigation.js.map +1 -1
- package/app-layout/visual-refresh/notifications.d.ts.map +1 -1
- package/app-layout/visual-refresh/notifications.js +4 -3
- package/app-layout/visual-refresh/notifications.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +83 -81
- package/app-layout/visual-refresh/styles.scoped.css +266 -258
- package/app-layout/visual-refresh/styles.selectors.js +83 -81
- package/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/app-layout/visual-refresh/tools.js +4 -4
- package/app-layout/visual-refresh/tools.js.map +1 -1
- package/app-layout/visual-refresh/trigger-button.d.ts +1 -0
- package/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
- package/app-layout/visual-refresh/trigger-button.js +2 -3
- package/app-layout/visual-refresh/trigger-button.js.map +1 -1
- package/area-chart/internal.js +1 -1
- package/area-chart/internal.js.map +1 -1
- package/cards/index.d.ts.map +1 -1
- package/cards/index.js +4 -6
- package/cards/index.js.map +1 -1
- package/cards/styles.css.js +39 -40
- package/cards/styles.scoped.css +50 -50
- package/cards/styles.selectors.js +39 -40
- package/container/internal.d.ts +2 -2
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +5 -7
- package/container/internal.js.map +1 -1
- package/container/styles.css.js +28 -30
- package/container/styles.scoped.css +52 -65
- package/container/styles.selectors.js +28 -30
- package/container/use-sticky-header.js +2 -2
- package/container/use-sticky-header.js.map +1 -1
- package/content-layout/interfaces.d.ts +52 -0
- package/content-layout/interfaces.d.ts.map +1 -1
- package/content-layout/interfaces.js.map +1 -1
- package/content-layout/internal.d.ts +1 -1
- package/content-layout/internal.d.ts.map +1 -1
- package/content-layout/internal.js +37 -7
- package/content-layout/internal.js.map +1 -1
- package/content-layout/styles.css.js +14 -7
- package/content-layout/styles.scoped.css +57 -37
- package/content-layout/styles.selectors.js +14 -7
- package/content-layout/test-classes/styles.css.js +9 -0
- package/content-layout/test-classes/styles.scoped.css +19 -0
- package/content-layout/test-classes/styles.selectors.js +10 -0
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -171
- package/flashbar/styles.selectors.js +47 -47
- package/internal/components/cartesian-chart/inline-start-labels.js +1 -1
- package/internal/components/cartesian-chart/inline-start-labels.js.map +1 -1
- package/internal/components/dropdown/dropdown-fit-handler.js +1 -1
- package/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
- package/internal/components/dropdown/index.js +1 -1
- package/internal/components/dropdown/index.js.map +1 -1
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +41 -41
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/responsive-text/index.js +1 -1
- package/internal/components/responsive-text/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +56 -51
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/hooks/use-scroll-sync/index.d.ts +1 -1
- package/internal/hooks/use-scroll-sync/index.d.ts.map +1 -1
- package/internal/hooks/use-scroll-sync/index.js +2 -4
- package/internal/hooks/use-scroll-sync/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/content-header-utils.d.ts +1 -0
- package/internal/utils/content-header-utils.d.ts.map +1 -1
- package/internal/utils/content-header-utils.js +2 -1
- package/internal/utils/content-header-utils.js.map +1 -1
- package/internal/utils/dom.d.ts +0 -5
- package/internal/utils/dom.d.ts.map +1 -1
- package/internal/utils/dom.js +0 -12
- package/internal/utils/dom.js.map +1 -1
- package/internal/utils/handle-key.js +1 -1
- package/internal/utils/handle-key.js.map +1 -1
- package/link/interfaces.d.ts +6 -1
- package/link/interfaces.d.ts.map +1 -1
- package/link/interfaces.js.map +1 -1
- package/link/internal.d.ts.map +1 -1
- package/link/internal.js +12 -2
- package/link/internal.js.map +1 -1
- package/mixed-line-bar-chart/chart-container.js +1 -1
- package/mixed-line-bar-chart/chart-container.js.map +1 -1
- package/package.json +1 -1
- package/pie-chart/responsive-text.js +1 -1
- package/pie-chart/responsive-text.js.map +1 -1
- package/popover/use-popover-position.js +1 -1
- package/popover/use-popover-position.js.map +1 -1
- package/slider/styles.css.js +25 -25
- package/slider/styles.scoped.css +71 -71
- package/slider/styles.selectors.js +25 -25
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/bottom.d.ts.map +1 -1
- package/split-panel/bottom.js +4 -2
- package/split-panel/bottom.js.map +1 -1
- package/split-panel/icons/bottom-icon-refresh.d.ts.map +1 -1
- package/split-panel/icons/bottom-icon-refresh.js +1 -2
- package/split-panel/icons/bottom-icon-refresh.js.map +1 -1
- package/split-panel/icons/bottom-icon.js +1 -1
- package/split-panel/icons/bottom-icon.js.map +1 -1
- package/split-panel/icons/side-position-refresh.d.ts.map +1 -1
- package/split-panel/icons/side-position-refresh.js +2 -3
- package/split-panel/icons/side-position-refresh.js.map +1 -1
- package/split-panel/icons/side-position.js +1 -1
- package/split-panel/icons/side-position.js.map +1 -1
- package/split-panel/icons/styles.css.js +27 -0
- package/split-panel/icons/styles.scoped.css +168 -0
- package/split-panel/icons/styles.selectors.js +28 -0
- package/split-panel/implementation.d.ts.map +1 -1
- package/split-panel/implementation.js +7 -6
- package/split-panel/implementation.js.map +1 -1
- package/split-panel/internal.js +1 -1
- package/split-panel/internal.js.map +1 -1
- package/split-panel/side.d.ts.map +1 -1
- package/split-panel/side.js +5 -3
- package/split-panel/side.js.map +1 -1
- package/split-panel/styles.css.js +31 -57
- package/split-panel/styles.scoped.css +51 -235
- package/split-panel/styles.selectors.js +31 -57
- package/split-panel/test-classes/styles.css.js +13 -0
- package/split-panel/test-classes/styles.scoped.css +14 -0
- package/split-panel/test-classes/styles.selectors.js +14 -0
- package/table/interfaces.d.ts +1 -0
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +2 -8
- package/table/internal.js.map +1 -1
- package/table/no-data-cell.d.ts.map +1 -1
- package/table/no-data-cell.js +1 -2
- package/table/no-data-cell.js.map +1 -1
- package/table/progressive-loading/progressive-loading-utils.d.ts.map +1 -1
- package/table/progressive-loading/progressive-loading-utils.js +8 -3
- package/table/progressive-loading/progressive-loading-utils.js.map +1 -1
- package/table/resizer/index.js +1 -1
- package/table/resizer/index.js.map +1 -1
- package/table/resizer/resizer-lookup.js +1 -1
- package/table/resizer/resizer-lookup.js.map +1 -1
- package/table/sticky-columns/use-sticky-columns.js +1 -1
- package/table/sticky-columns/use-sticky-columns.js.map +1 -1
- package/table/sticky-columns/utils.js +1 -1
- package/table/sticky-columns/utils.js.map +1 -1
- package/table/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +1 -1
- package/table/sticky-scrollbar/use-sticky-scrollbar.js +12 -14
- package/table/sticky-scrollbar/use-sticky-scrollbar.js.map +1 -1
- package/table/sticky-scrolling.js +1 -1
- package/table/sticky-scrolling.js.map +1 -1
- package/table/styles.css.js +34 -35
- package/table/styles.scoped.css +39 -48
- package/table/styles.selectors.js +34 -35
- package/table/table-role/grid-navigation.js +13 -13
- package/table/table-role/grid-navigation.js.map +1 -1
- package/table/use-column-widths.js +1 -1
- package/table/use-column-widths.js.map +1 -1
- package/tabs/scroll-utils.js +1 -1
- package/tabs/scroll-utils.js.map +1 -1
- package/test-utils/dom/app-layout/index.js +1 -1
- package/test-utils/dom/app-layout/index.js.map +1 -1
- package/test-utils/dom/content-layout/index.d.ts +3 -0
- package/test-utils/dom/content-layout/index.js +11 -1
- package/test-utils/dom/content-layout/index.js.map +1 -1
- package/test-utils/dom/split-panel/index.js +3 -3
- package/test-utils/dom/split-panel/index.js.map +1 -1
- package/test-utils/selectors/app-layout/index.js +1 -1
- package/test-utils/selectors/app-layout/index.js.map +1 -1
- package/test-utils/selectors/content-layout/index.d.ts +3 -0
- package/test-utils/selectors/content-layout/index.js +11 -1
- package/test-utils/selectors/content-layout/index.js.map +1 -1
- package/test-utils/selectors/split-panel/index.js +3 -3
- package/test-utils/selectors/split-panel/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/wizard/internal.d.ts.map +1 -1
- package/wizard/internal.js +3 -5
- package/wizard/internal.js.map +1 -1
- package/wizard/styles.css.js +31 -32
- package/wizard/styles.scoped.css +59 -116
- package/wizard/styles.selectors.js +31 -32
- package/wizard/wizard-form-header.d.ts.map +1 -1
- package/wizard/wizard-form-header.js +2 -4
- package/wizard/wizard-form-header.js.map +1 -1
- package/wizard/wizard-navigation.d.ts.map +1 -1
- package/wizard/wizard-navigation.js +2 -3
- package/wizard/wizard-navigation.js.map +1 -1
- package/app-layout/widget.d.ts +0 -6
- package/app-layout/widget.d.ts.map +0 -1
- package/app-layout/widget.js +0 -16
- package/app-layout/widget.js.map +0 -1
- package/internal/direction.d.ts +0 -36
- package/internal/direction.d.ts.map +0 -1
- package/internal/direction.js +0 -66
- package/internal/direction.js.map +0 -1
- package/split-panel/widget.d.ts +0 -2
- package/split-panel/widget.d.ts.map +0 -1
- package/split-panel/widget.js +0 -4
- package/split-panel/widget.js.map +0 -1
package/container/styles.css.js
CHANGED
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"fit-height": "awsui_fit-
|
|
6
|
-
"with-side-media": "awsui_with-side-
|
|
7
|
-
"variant-default": "awsui_variant-
|
|
8
|
-
"variant-stacked": "awsui_variant-
|
|
9
|
-
"refresh": "
|
|
10
|
-
"sticky-enabled": "awsui_sticky-
|
|
11
|
-
"with-top-media": "awsui_with-top-
|
|
12
|
-
"content-wrapper": "awsui_content-
|
|
13
|
-
"content-wrapper-fit-height": "awsui_content-wrapper-fit-
|
|
14
|
-
"media": "
|
|
15
|
-
"media-top": "awsui_media-
|
|
16
|
-
"media-side": "awsui_media-
|
|
17
|
-
"header": "
|
|
18
|
-
"header-with-media": "awsui_header-with-
|
|
19
|
-
"header-sticky-disabled": "awsui_header-sticky-
|
|
20
|
-
"header-sticky-enabled": "awsui_header-sticky-
|
|
21
|
-
"header-stuck": "awsui_header-
|
|
22
|
-
"header-variant-cards": "awsui_header-variant-
|
|
23
|
-
"header-dynamic-height": "awsui_header-dynamic-
|
|
24
|
-
"with-paddings": "awsui_with-
|
|
25
|
-
"with-hidden-content": "awsui_with-hidden-
|
|
26
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"content": "
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"footer": "awsui_footer_14iqq_v4tpg_421",
|
|
33
|
-
"with-divider": "awsui_with-divider_14iqq_v4tpg_425"
|
|
4
|
+
"root": "awsui_root_14iqq_1letd_103",
|
|
5
|
+
"fit-height": "awsui_fit-height_14iqq_1letd_139",
|
|
6
|
+
"with-side-media": "awsui_with-side-media_14iqq_1letd_144",
|
|
7
|
+
"variant-default": "awsui_variant-default_14iqq_1letd_147",
|
|
8
|
+
"variant-stacked": "awsui_variant-stacked_14iqq_1letd_147",
|
|
9
|
+
"refresh": "awsui_refresh_14iqq_1letd_155",
|
|
10
|
+
"sticky-enabled": "awsui_sticky-enabled_14iqq_1letd_205",
|
|
11
|
+
"with-top-media": "awsui_with-top-media_14iqq_1letd_217",
|
|
12
|
+
"content-wrapper": "awsui_content-wrapper_14iqq_1letd_222",
|
|
13
|
+
"content-wrapper-fit-height": "awsui_content-wrapper-fit-height_14iqq_1letd_227",
|
|
14
|
+
"media": "awsui_media_14iqq_1letd_234",
|
|
15
|
+
"media-top": "awsui_media-top_14iqq_1letd_252",
|
|
16
|
+
"media-side": "awsui_media-side_14iqq_1letd_257",
|
|
17
|
+
"header": "awsui_header_14iqq_1letd_263",
|
|
18
|
+
"header-with-media": "awsui_header-with-media_14iqq_1letd_268",
|
|
19
|
+
"header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_1letd_274",
|
|
20
|
+
"header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_1letd_278",
|
|
21
|
+
"header-stuck": "awsui_header-stuck_14iqq_1letd_284",
|
|
22
|
+
"header-variant-cards": "awsui_header-variant-cards_14iqq_1letd_294",
|
|
23
|
+
"header-dynamic-height": "awsui_header-dynamic-height_14iqq_1letd_297",
|
|
24
|
+
"with-paddings": "awsui_with-paddings_14iqq_1letd_303",
|
|
25
|
+
"with-hidden-content": "awsui_with-hidden-content_14iqq_1letd_312",
|
|
26
|
+
"header-variant-full-page": "awsui_header-variant-full-page_14iqq_1letd_370",
|
|
27
|
+
"content": "awsui_content_14iqq_1letd_222",
|
|
28
|
+
"content-fit-height": "awsui_content-fit-height_14iqq_1letd_394",
|
|
29
|
+
"content-with-media": "awsui_content-with-media_14iqq_1letd_404",
|
|
30
|
+
"footer": "awsui_footer_14iqq_1letd_408",
|
|
31
|
+
"with-divider": "awsui_with-divider_14iqq_1letd_412"
|
|
34
32
|
};
|
|
35
33
|
|
|
@@ -100,7 +100,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
100
100
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
101
101
|
SPDX-License-Identifier: Apache-2.0
|
|
102
102
|
*/
|
|
103
|
-
.
|
|
103
|
+
.awsui_root_14iqq_1letd_103:not(#\9) {
|
|
104
104
|
border-collapse: separate;
|
|
105
105
|
border-spacing: 0;
|
|
106
106
|
box-sizing: border-box;
|
|
@@ -137,15 +137,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
137
137
|
word-wrap: break-word;
|
|
138
138
|
position: relative;
|
|
139
139
|
}
|
|
140
|
-
.
|
|
140
|
+
.awsui_root_14iqq_1letd_103.awsui_fit-height_14iqq_1letd_139:not(#\9) {
|
|
141
141
|
display: flex;
|
|
142
142
|
flex-direction: column;
|
|
143
143
|
block-size: 100%;
|
|
144
144
|
}
|
|
145
|
-
.
|
|
145
|
+
.awsui_root_14iqq_1letd_103.awsui_fit-height_14iqq_1letd_139.awsui_with-side-media_14iqq_1letd_144:not(#\9) {
|
|
146
146
|
flex-direction: row;
|
|
147
147
|
}
|
|
148
|
-
.
|
|
148
|
+
.awsui_root_14iqq_1letd_103.awsui_variant-default_14iqq_1letd_147:not(#\9), .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9) {
|
|
149
149
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
150
150
|
border-start-start-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
151
151
|
border-start-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
@@ -153,11 +153,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
153
153
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
154
154
|
box-sizing: border-box;
|
|
155
155
|
}
|
|
156
|
-
.
|
|
156
|
+
.awsui_root_14iqq_1letd_103.awsui_variant-default_14iqq_1letd_147.awsui_refresh_14iqq_1letd_155:not(#\9), .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147.awsui_refresh_14iqq_1letd_155:not(#\9) {
|
|
157
157
|
border-block: solid var(--border-divider-section-width-1061zr, 1px) var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
158
158
|
border-inline: solid var(--border-divider-section-width-1061zr, 1px) var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
.awsui_root_14iqq_1letd_103.awsui_variant-default_14iqq_1letd_147:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::before, .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::before {
|
|
161
161
|
content: "";
|
|
162
162
|
position: absolute;
|
|
163
163
|
inset-inline-start: 0px;
|
|
@@ -175,7 +175,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
175
175
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
176
176
|
z-index: 1;
|
|
177
177
|
}
|
|
178
|
-
.
|
|
178
|
+
.awsui_root_14iqq_1letd_103.awsui_variant-default_14iqq_1letd_147:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::after, .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::after {
|
|
179
179
|
content: "";
|
|
180
180
|
position: absolute;
|
|
181
181
|
inset-inline-start: 0px;
|
|
@@ -191,141 +191,141 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
191
191
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
192
192
|
box-shadow: var(--shadow-container-fxmdn3, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
|
|
193
193
|
}
|
|
194
|
-
.
|
|
194
|
+
.awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9):not(:last-child), .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9):not(:last-child)::before, .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9):not(:last-child)::after {
|
|
195
195
|
border-end-end-radius: 0;
|
|
196
196
|
border-end-start-radius: 0;
|
|
197
197
|
border-block-end-width: 0;
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147 + .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9), .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147 + .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9)::before, .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147 + .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9)::after {
|
|
200
200
|
border-start-start-radius: 0;
|
|
201
201
|
border-start-end-radius: 0;
|
|
202
202
|
}
|
|
203
|
-
.
|
|
203
|
+
.awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147 + .awsui_root_14iqq_1letd_103.awsui_variant-stacked_14iqq_1letd_147:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::before {
|
|
204
204
|
border-block-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
205
205
|
}
|
|
206
|
-
.
|
|
206
|
+
.awsui_root_14iqq_1letd_103.awsui_sticky-enabled_14iqq_1letd_205:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::before {
|
|
207
207
|
inset-block-start: calc(-1 * var(--border-container-top-width-uugwwl, 0px));
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.awsui_root_14iqq_1letd_103.awsui_sticky-enabled_14iqq_1letd_205:not(#\9):not(.awsui_refresh_14iqq_1letd_155).awsui_variant-stacked_14iqq_1letd_147::before {
|
|
210
210
|
inset-block-start: calc(-1 * var(--border-divider-section-width-1061zr, 1px));
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.awsui_with-side-
|
|
213
|
+
.awsui_with-side-media_14iqq_1letd_144:not(#\9) {
|
|
214
214
|
display: flex;
|
|
215
215
|
flex-direction: row;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.awsui_with-top-
|
|
218
|
+
.awsui_with-top-media_14iqq_1letd_217:not(#\9) {
|
|
219
219
|
display: flex;
|
|
220
220
|
flex-direction: column;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.awsui_content-
|
|
223
|
+
.awsui_content-wrapper_14iqq_1letd_222:not(#\9) {
|
|
224
224
|
display: flex;
|
|
225
225
|
flex-direction: column;
|
|
226
226
|
inline-size: 100%;
|
|
227
227
|
}
|
|
228
|
-
.awsui_content-wrapper-fit-
|
|
228
|
+
.awsui_content-wrapper-fit-height_14iqq_1letd_227:not(#\9) {
|
|
229
229
|
block-size: 100%;
|
|
230
230
|
overflow: hidden;
|
|
231
231
|
border-end-start-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
232
232
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
.
|
|
235
|
+
.awsui_media_14iqq_1letd_234:not(#\9) {
|
|
236
236
|
overflow: hidden;
|
|
237
237
|
flex-shrink: 0;
|
|
238
238
|
}
|
|
239
|
-
.
|
|
240
|
-
.
|
|
241
|
-
.
|
|
239
|
+
.awsui_media_14iqq_1letd_234 img:not(#\9),
|
|
240
|
+
.awsui_media_14iqq_1letd_234 video:not(#\9),
|
|
241
|
+
.awsui_media_14iqq_1letd_234 picture:not(#\9) {
|
|
242
242
|
inline-size: 100%;
|
|
243
243
|
block-size: 100%;
|
|
244
244
|
object-fit: cover;
|
|
245
245
|
object-position: center;
|
|
246
246
|
}
|
|
247
|
-
.
|
|
247
|
+
.awsui_media_14iqq_1letd_234 iframe:not(#\9) {
|
|
248
248
|
inline-size: 100%;
|
|
249
249
|
block-size: 100%;
|
|
250
250
|
border-block: 0;
|
|
251
251
|
border-inline: 0;
|
|
252
252
|
}
|
|
253
|
-
.awsui_media-
|
|
253
|
+
.awsui_media-top_14iqq_1letd_252:not(#\9) {
|
|
254
254
|
max-block-size: 66%;
|
|
255
255
|
border-start-start-radius: calc(var(--border-radius-container-wqv1zi, 16px) - 1px);
|
|
256
256
|
border-start-end-radius: calc(var(--border-radius-container-wqv1zi, 16px) - 1px);
|
|
257
257
|
}
|
|
258
|
-
.awsui_media-
|
|
258
|
+
.awsui_media-side_14iqq_1letd_257:not(#\9) {
|
|
259
259
|
max-inline-size: 66%;
|
|
260
260
|
border-start-start-radius: calc(var(--border-radius-container-wqv1zi, 16px) - 1px);
|
|
261
261
|
border-end-start-radius: calc(var(--border-radius-container-wqv1zi, 16px) - 1px);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
.
|
|
264
|
+
.awsui_header_14iqq_1letd_263:not(#\9) {
|
|
265
265
|
background-color: var(--color-background-container-header-8b9fgi, #ffffff);
|
|
266
266
|
border-start-start-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
267
267
|
border-start-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
.awsui_header_14iqq_1letd_263.awsui_header-with-media_14iqq_1letd_268:not(#\9) {
|
|
270
270
|
background: none;
|
|
271
271
|
}
|
|
272
|
-
.
|
|
272
|
+
.awsui_header_14iqq_1letd_263.awsui_header-with-media_14iqq_1letd_268:not(#\9):not(:empty) {
|
|
273
273
|
border-block-end: none;
|
|
274
274
|
}
|
|
275
|
-
.awsui_header-sticky-
|
|
275
|
+
.awsui_header-sticky-disabled_14iqq_1letd_274:not(#\9) {
|
|
276
276
|
position: relative;
|
|
277
277
|
z-index: 1;
|
|
278
278
|
}
|
|
279
|
-
.awsui_header-sticky-
|
|
279
|
+
.awsui_header-sticky-enabled_14iqq_1letd_278:not(#\9) {
|
|
280
280
|
inset-block-start: 0;
|
|
281
281
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
282
282
|
position: sticky;
|
|
283
283
|
z-index: 800;
|
|
284
284
|
}
|
|
285
|
-
.awsui_header-
|
|
285
|
+
.awsui_header-stuck_14iqq_1letd_284:not(#\9) {
|
|
286
286
|
border-start-start-radius: 0;
|
|
287
287
|
border-start-end-radius: 0;
|
|
288
288
|
border-end-start-radius: 0;
|
|
289
289
|
border-end-end-radius: 0;
|
|
290
290
|
}
|
|
291
|
-
.awsui_header-
|
|
291
|
+
.awsui_header-stuck_14iqq_1letd_284:not(#\9)::before {
|
|
292
292
|
border-block: 0;
|
|
293
293
|
border-inline: 0;
|
|
294
294
|
}
|
|
295
|
-
.awsui_header-
|
|
295
|
+
.awsui_header-stuck_14iqq_1letd_284:not(#\9):not(.awsui_header-variant-cards_14iqq_1letd_294) {
|
|
296
296
|
box-shadow: var(--shadow-sticky-embedded-uvh5ry, 0px 2px 0px 0px #e9ebed, 0px 16px 16px -12px rgba(0, 7, 22, 0.1));
|
|
297
297
|
}
|
|
298
|
-
.awsui_header-dynamic-
|
|
298
|
+
.awsui_header-dynamic-height_14iqq_1letd_297.awsui_header-stuck_14iqq_1letd_284:not(#\9) {
|
|
299
299
|
margin-block-end: calc(var(--line-height-heading-xl-avbttk, 30px) - var(--line-height-heading-l-mmm3my, 24px));
|
|
300
300
|
}
|
|
301
|
-
.
|
|
301
|
+
.awsui_header_14iqq_1letd_263:not(#\9):not(:empty) {
|
|
302
302
|
border-block-end: var(--border-container-sticky-width-6asz33, 0px) solid var(--color-border-container-divider-p2uygo, transparent);
|
|
303
303
|
}
|
|
304
|
-
.
|
|
304
|
+
.awsui_header_14iqq_1letd_263.awsui_with-paddings_14iqq_1letd_303:not(#\9) {
|
|
305
305
|
padding-block-start: var(--space-container-header-top-5qav00, 12px);
|
|
306
306
|
padding-block-end: var(--space-container-header-bottom-vj01hn, 8px);
|
|
307
307
|
padding-inline: var(--space-container-horizontal-wfukh3, 20px);
|
|
308
308
|
}
|
|
309
|
-
.
|
|
309
|
+
.awsui_header_14iqq_1letd_263.awsui_with-paddings_14iqq_1letd_303.awsui_header-variant-cards_14iqq_1letd_294:not(#\9) {
|
|
310
310
|
padding-block: var(--space-container-header-top-5qav00, 12px);
|
|
311
311
|
padding-inline: var(--space-container-horizontal-wfukh3, 20px);
|
|
312
312
|
}
|
|
313
|
-
.
|
|
313
|
+
.awsui_header_14iqq_1letd_263.awsui_with-hidden-content_14iqq_1letd_312:not(#\9) {
|
|
314
314
|
border-end-start-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
315
315
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
316
316
|
}
|
|
317
|
-
.awsui_header-variant-
|
|
317
|
+
.awsui_header-variant-cards_14iqq_1letd_294:not(#\9) {
|
|
318
318
|
border-start-start-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
319
319
|
border-start-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
320
320
|
border-end-start-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
321
321
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
322
322
|
box-sizing: border-box;
|
|
323
323
|
}
|
|
324
|
-
.awsui_header-variant-
|
|
324
|
+
.awsui_header-variant-cards_14iqq_1letd_294.awsui_refresh_14iqq_1letd_155:not(#\9) {
|
|
325
325
|
border-block: solid var(--border-divider-section-width-1061zr, 1px) var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
326
326
|
border-inline: solid var(--border-divider-section-width-1061zr, 1px) var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
327
327
|
}
|
|
328
|
-
.awsui_header-variant-
|
|
328
|
+
.awsui_header-variant-cards_14iqq_1letd_294:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::before {
|
|
329
329
|
content: "";
|
|
330
330
|
position: absolute;
|
|
331
331
|
inset-inline-start: 0px;
|
|
@@ -343,7 +343,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
343
343
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
344
344
|
z-index: 1;
|
|
345
345
|
}
|
|
346
|
-
.awsui_header-variant-
|
|
346
|
+
.awsui_header-variant-cards_14iqq_1letd_294:not(#\9):not(.awsui_refresh_14iqq_1letd_155)::after {
|
|
347
347
|
content: "";
|
|
348
348
|
position: absolute;
|
|
349
349
|
inset-inline-start: 0px;
|
|
@@ -359,19 +359,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
359
359
|
border-end-end-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
360
360
|
box-shadow: var(--shadow-container-fxmdn3, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
|
|
361
361
|
}
|
|
362
|
-
.awsui_header-variant-
|
|
362
|
+
.awsui_header-variant-cards_14iqq_1letd_294:not(#\9):not(.awsui_header-sticky-enabled_14iqq_1letd_278) {
|
|
363
363
|
position: relative;
|
|
364
364
|
}
|
|
365
|
-
.awsui_header-variant-
|
|
365
|
+
.awsui_header-variant-cards_14iqq_1letd_294.awsui_header-stuck_14iqq_1letd_284:not(#\9)::after, .awsui_header-variant-cards_14iqq_1letd_294.awsui_header-stuck_14iqq_1letd_284:not(#\9)::before {
|
|
366
366
|
border-block: 0;
|
|
367
367
|
border-inline: 0;
|
|
368
368
|
border-start-start-radius: 0;
|
|
369
369
|
border-start-end-radius: 0;
|
|
370
370
|
}
|
|
371
|
-
.awsui_header-variant-full-
|
|
371
|
+
.awsui_header-variant-full-page_14iqq_1letd_370.awsui_header-stuck_14iqq_1letd_284:not(#\9) {
|
|
372
372
|
box-shadow: none;
|
|
373
373
|
}
|
|
374
|
-
.awsui_header-variant-full-
|
|
374
|
+
.awsui_header-variant-full-page_14iqq_1letd_370.awsui_header-stuck_14iqq_1letd_284:not(#\9)::before {
|
|
375
375
|
content: "";
|
|
376
376
|
position: absolute;
|
|
377
377
|
pointer-events: none;
|
|
@@ -381,48 +381,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
381
381
|
inset-block-start: 0;
|
|
382
382
|
border-block-end: solid var(--border-divider-section-width-1061zr, 1px) var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
383
383
|
}
|
|
384
|
-
.awsui_header-variant-full-
|
|
384
|
+
.awsui_header-variant-full-page_14iqq_1letd_370.awsui_header-stuck_14iqq_1letd_284:not(#\9)::after {
|
|
385
385
|
content: "";
|
|
386
386
|
position: absolute;
|
|
387
387
|
inset: 0;
|
|
388
388
|
box-shadow: var(--shadow-sticky-blixp9, 0px 4px 8px 1px rgba(0, 7, 22, 0.1));
|
|
389
389
|
clip-path: polygon(-999% 100%, 999% 100%, 999% 999%, -999% 999%);
|
|
390
390
|
}
|
|
391
|
-
.awsui_header-variant-full-page_14iqq_v4tpg_370.awsui_header-stuck_14iqq_v4tpg_284:not(#\9):not(.awsui_remove-high-contrast-header_14iqq_v4tpg_390)::before {
|
|
392
|
-
content: "";
|
|
393
|
-
border-block-end: none;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/*
|
|
397
|
-
The dynamic height dark header needs a background that will cover
|
|
398
|
-
the default white background of the container component.
|
|
399
|
-
*/
|
|
400
|
-
.awsui_dark-header_14iqq_v4tpg_399:not(#\9) {
|
|
401
|
-
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
402
|
-
color: var(--color-text-body-default-at06ol, #000716);
|
|
403
|
-
}
|
|
404
391
|
|
|
405
|
-
.
|
|
392
|
+
.awsui_content_14iqq_1letd_222:not(#\9) {
|
|
406
393
|
flex: 1;
|
|
407
394
|
}
|
|
408
|
-
.awsui_content-fit-
|
|
395
|
+
.awsui_content-fit-height_14iqq_1letd_394:not(#\9) {
|
|
409
396
|
overflow: auto;
|
|
410
397
|
}
|
|
411
|
-
.
|
|
398
|
+
.awsui_content_14iqq_1letd_222.awsui_with-paddings_14iqq_1letd_303:not(#\9) {
|
|
412
399
|
padding-block: var(--space-scaled-l-0hpmd7, 20px);
|
|
413
400
|
padding-inline: var(--space-container-horizontal-wfukh3, 20px);
|
|
414
401
|
}
|
|
415
|
-
.
|
|
402
|
+
.awsui_header_14iqq_1letd_263 + .awsui_content_14iqq_1letd_222.awsui_with-paddings_14iqq_1letd_303:not(#\9) {
|
|
416
403
|
padding-block-start: var(--space-container-content-top-1ae0r3, 4px);
|
|
417
404
|
}
|
|
418
|
-
.
|
|
405
|
+
.awsui_header_14iqq_1letd_263 + .awsui_content_14iqq_1letd_222.awsui_with-paddings_14iqq_1letd_303.awsui_content-with-media_14iqq_1letd_404:not(#\9) {
|
|
419
406
|
padding-block-start: 0;
|
|
420
407
|
}
|
|
421
408
|
|
|
422
|
-
.
|
|
409
|
+
.awsui_footer_14iqq_1letd_408.awsui_with-paddings_14iqq_1letd_303:not(#\9) {
|
|
423
410
|
padding-block: var(--space-scaled-s-aqzyko, 12px);
|
|
424
411
|
padding-inline: var(--space-container-horizontal-wfukh3, 20px);
|
|
425
412
|
}
|
|
426
|
-
.
|
|
413
|
+
.awsui_footer_14iqq_1letd_408.awsui_with-divider_14iqq_1letd_412:not(#\9) {
|
|
427
414
|
border-block-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
428
415
|
}
|
|
@@ -2,35 +2,33 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"fit-height": "awsui_fit-
|
|
7
|
-
"with-side-media": "awsui_with-side-
|
|
8
|
-
"variant-default": "awsui_variant-
|
|
9
|
-
"variant-stacked": "awsui_variant-
|
|
10
|
-
"refresh": "
|
|
11
|
-
"sticky-enabled": "awsui_sticky-
|
|
12
|
-
"with-top-media": "awsui_with-top-
|
|
13
|
-
"content-wrapper": "awsui_content-
|
|
14
|
-
"content-wrapper-fit-height": "awsui_content-wrapper-fit-
|
|
15
|
-
"media": "
|
|
16
|
-
"media-top": "awsui_media-
|
|
17
|
-
"media-side": "awsui_media-
|
|
18
|
-
"header": "
|
|
19
|
-
"header-with-media": "awsui_header-with-
|
|
20
|
-
"header-sticky-disabled": "awsui_header-sticky-
|
|
21
|
-
"header-sticky-enabled": "awsui_header-sticky-
|
|
22
|
-
"header-stuck": "awsui_header-
|
|
23
|
-
"header-variant-cards": "awsui_header-variant-
|
|
24
|
-
"header-dynamic-height": "awsui_header-dynamic-
|
|
25
|
-
"with-paddings": "awsui_with-
|
|
26
|
-
"with-hidden-content": "awsui_with-hidden-
|
|
27
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"content": "
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"footer": "awsui_footer_14iqq_v4tpg_421",
|
|
34
|
-
"with-divider": "awsui_with-divider_14iqq_v4tpg_425"
|
|
5
|
+
"root": "awsui_root_14iqq_1letd_103",
|
|
6
|
+
"fit-height": "awsui_fit-height_14iqq_1letd_139",
|
|
7
|
+
"with-side-media": "awsui_with-side-media_14iqq_1letd_144",
|
|
8
|
+
"variant-default": "awsui_variant-default_14iqq_1letd_147",
|
|
9
|
+
"variant-stacked": "awsui_variant-stacked_14iqq_1letd_147",
|
|
10
|
+
"refresh": "awsui_refresh_14iqq_1letd_155",
|
|
11
|
+
"sticky-enabled": "awsui_sticky-enabled_14iqq_1letd_205",
|
|
12
|
+
"with-top-media": "awsui_with-top-media_14iqq_1letd_217",
|
|
13
|
+
"content-wrapper": "awsui_content-wrapper_14iqq_1letd_222",
|
|
14
|
+
"content-wrapper-fit-height": "awsui_content-wrapper-fit-height_14iqq_1letd_227",
|
|
15
|
+
"media": "awsui_media_14iqq_1letd_234",
|
|
16
|
+
"media-top": "awsui_media-top_14iqq_1letd_252",
|
|
17
|
+
"media-side": "awsui_media-side_14iqq_1letd_257",
|
|
18
|
+
"header": "awsui_header_14iqq_1letd_263",
|
|
19
|
+
"header-with-media": "awsui_header-with-media_14iqq_1letd_268",
|
|
20
|
+
"header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_1letd_274",
|
|
21
|
+
"header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_1letd_278",
|
|
22
|
+
"header-stuck": "awsui_header-stuck_14iqq_1letd_284",
|
|
23
|
+
"header-variant-cards": "awsui_header-variant-cards_14iqq_1letd_294",
|
|
24
|
+
"header-dynamic-height": "awsui_header-dynamic-height_14iqq_1letd_297",
|
|
25
|
+
"with-paddings": "awsui_with-paddings_14iqq_1letd_303",
|
|
26
|
+
"with-hidden-content": "awsui_with-hidden-content_14iqq_1letd_312",
|
|
27
|
+
"header-variant-full-page": "awsui_header-variant-full-page_14iqq_1letd_370",
|
|
28
|
+
"content": "awsui_content_14iqq_1letd_222",
|
|
29
|
+
"content-fit-height": "awsui_content-fit-height_14iqq_1letd_394",
|
|
30
|
+
"content-with-media": "awsui_content-with-media_14iqq_1letd_404",
|
|
31
|
+
"footer": "awsui_footer_14iqq_1letd_408",
|
|
32
|
+
"with-divider": "awsui_with-divider_14iqq_1letd_412"
|
|
35
33
|
};
|
|
36
34
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { useState, useLayoutEffect, useCallback, useEffect, createContext } from 'react';
|
|
4
|
-
import { findUpUntil
|
|
4
|
+
import { findUpUntil } from '../internal/utils/dom';
|
|
5
5
|
import { getOverflowParents } from '../internal/utils/scrollable-containers';
|
|
6
6
|
import { useMobile } from '../internal/hooks/use-mobile';
|
|
7
7
|
import globalVars from '../internal/styles/global-vars';
|
|
@@ -19,7 +19,7 @@ export const StickyHeaderContext = createContext({
|
|
|
19
19
|
export const useStickyHeader = (rootRef, headerRef, __stickyHeader, __stickyOffset, __mobileStickyOffset, __disableMobile = true) => {
|
|
20
20
|
const isMobile = useMobile();
|
|
21
21
|
const disableSticky = isMobile && __disableMobile;
|
|
22
|
-
const isSticky =
|
|
22
|
+
const isSticky = !disableSticky && !!__stickyHeader;
|
|
23
23
|
// If it has overflow parents inside the app layout, we shouldn't apply a sticky offset.
|
|
24
24
|
const [hasInnerOverflowParents, setHasInnerOverflowParents] = useState(false);
|
|
25
25
|
const [isStuck, setIsStuck] = useState(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-sticky-header.js","sourceRoot":"","sources":["../../../src/container/use-sticky-header.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAa,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"use-sticky-header.js","sourceRoot":"","sources":["../../../src/container/use-sticky-header.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { RefObject, useState, useLayoutEffect, useCallback, useEffect, createContext } from 'react';\nimport { findUpUntil } from '../internal/utils/dom';\nimport { getOverflowParents } from '../internal/utils/scrollable-containers';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport globalVars from '../internal/styles/global-vars';\n\ninterface StickyHeaderContextProps {\n isStuck: boolean;\n}\n\ninterface ComputeOffsetProps {\n isMobile: boolean;\n __stickyOffset?: number;\n __mobileStickyOffset?: number;\n hasInnerOverflowParents: boolean;\n}\n\nexport function computeOffset({\n isMobile,\n __stickyOffset,\n __mobileStickyOffset,\n hasInnerOverflowParents,\n}: ComputeOffsetProps): string {\n const localOffset = isMobile ? (__stickyOffset ?? 0) - (__mobileStickyOffset ?? 0) : __stickyOffset ?? 0;\n if (hasInnerOverflowParents || __stickyOffset !== undefined) {\n return `${localOffset}px`;\n }\n const globalOffset = `var(${globalVars.stickyVerticalTopOffset}, 0px)`;\n\n return `calc(${globalOffset} + ${localOffset}px)`;\n}\n\nexport const StickyHeaderContext = createContext<StickyHeaderContextProps>({\n isStuck: false,\n});\n\nexport const useStickyHeader = (\n rootRef: RefObject<HTMLDivElement>,\n headerRef: RefObject<HTMLDivElement>,\n __stickyHeader?: boolean,\n __stickyOffset?: number,\n __mobileStickyOffset?: number,\n __disableMobile = true\n) => {\n const isMobile = useMobile();\n const disableSticky = isMobile && __disableMobile;\n const isSticky = !disableSticky && !!__stickyHeader;\n\n // If it has overflow parents inside the app layout, we shouldn't apply a sticky offset.\n const [hasInnerOverflowParents, setHasInnerOverflowParents] = useState(false);\n const [isStuck, setIsStuck] = useState(false);\n useLayoutEffect(() => {\n if (rootRef.current) {\n const overflowParents = getOverflowParents(rootRef.current);\n const mainElement = findUpUntil(rootRef.current, elem => elem.tagName === 'MAIN');\n // In both versions of the app layout, the scrolling element for disableBodyScroll\n // is the <main>. If the closest overflow parent is also the closest <main> and we have\n // offset values, it's safe to assume that it's the app layout scroll root and we\n // should stop there.\n setHasInnerOverflowParents(overflowParents.length > 0 && overflowParents[0] !== mainElement);\n }\n }, [rootRef]);\n\n const computedOffset = computeOffset({\n isMobile,\n __stickyOffset,\n __mobileStickyOffset,\n hasInnerOverflowParents,\n });\n\n const stickyStyles = isSticky\n ? {\n style: {\n top: computedOffset,\n },\n }\n : {};\n\n // \"stuck\" state, when the header has moved from its original posititon has a\n // box-shadow, applied here by a \"header-stuck\" className\n const checkIfStuck = useCallback(() => {\n if (rootRef.current && headerRef.current) {\n const rootTopBorderWidth = parseFloat(getComputedStyle(rootRef.current).borderTopWidth) || 0;\n const rootTop = rootRef.current.getBoundingClientRect().top + rootTopBorderWidth;\n const headerTop = headerRef.current.getBoundingClientRect().top;\n\n if (rootTop < headerTop) {\n setIsStuck(true);\n } else {\n setIsStuck(false);\n }\n }\n }, [rootRef, headerRef]);\n useEffect(() => {\n if (isSticky) {\n window.addEventListener('scroll', checkIfStuck, true);\n window.addEventListener('resize', checkIfStuck);\n return () => {\n window.removeEventListener('scroll', checkIfStuck, true);\n window.removeEventListener('resize', checkIfStuck);\n };\n }\n }, [isSticky, checkIfStuck]);\n return {\n isSticky,\n isStuck,\n stickyStyles,\n };\n};\n"]}
|
|
@@ -16,5 +16,57 @@ export interface ContentLayoutProps extends BaseComponentProps {
|
|
|
16
16
|
* Use this slot to render the header content for the layout.
|
|
17
17
|
*/
|
|
18
18
|
header?: React.ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Determines the visual treatment for the header. Specifically:
|
|
21
|
+
* * `default` - Does not apply any visual treatment.
|
|
22
|
+
* * `high-contrast` - Applies high-contrast to the background of the header and the elements contained within it.
|
|
23
|
+
* If you are using the AppLayout component, set `headerVariant="high-contrast"` to apply the same treatment to the breadcrumbs and notifications slots.
|
|
24
|
+
* * `divider` - Adds a horizontal separator between the header and the content.
|
|
25
|
+
* @visualrefresh `high-contrast` headerVariant
|
|
26
|
+
*/
|
|
27
|
+
headerVariant?: 'default' | 'high-contrast' | 'divider';
|
|
28
|
+
/**
|
|
29
|
+
* Maximum width for the content.
|
|
30
|
+
* If set, all elements of the content layout (header, content, notifications, breadcrumbs) will be center-aligned and have the desired maximum width.
|
|
31
|
+
* If not set, all elements will occupy the full available width.
|
|
32
|
+
*/
|
|
33
|
+
maxContentWidth?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Set it to `true` if your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.
|
|
36
|
+
* In that case, the content layout will become sensitive to the state of drawers in app layout and leave the necessary padding to avoid visual overlap with those elements.
|
|
37
|
+
*/
|
|
38
|
+
defaultPadding?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Use this slot to display [notifications](/components/flashbar/) to the content layout:
|
|
41
|
+
* * If your page does not use the [app layout component](/components/app-layout/), which already offers a `notifications` slot.
|
|
42
|
+
* * If your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.
|
|
43
|
+
*
|
|
44
|
+
* Do not use in conjunction with the `notifications` slot in the [app layout component](/components/app-layout/).
|
|
45
|
+
*/
|
|
46
|
+
notifications?: React.ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Use this slot to add the [breadcrumb group component](/components/breadcrumb-group/) to the content layout:
|
|
49
|
+
* * if your application does not use the [app layout component](/components/app-layout/), which already offers a `breadcrumbs` slot.
|
|
50
|
+
* * If your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.
|
|
51
|
+
*
|
|
52
|
+
* Do not use in conjunction with the `breadcrumbs` slot in the [app layout component](/components/app-layout/).
|
|
53
|
+
*/
|
|
54
|
+
breadcrumbs?: React.ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* Use this property to style the background of the header.
|
|
57
|
+
*
|
|
58
|
+
* It can be:
|
|
59
|
+
* * a string representing the CSS `background` value for the header element.
|
|
60
|
+
* * a function that receives the mode ("light" or "dark") as a parameter and returns a string.
|
|
61
|
+
*
|
|
62
|
+
* The header background spans across the full available width, independent of the specified `maxContentWidth`.
|
|
63
|
+
* If set, the component will not add the default background color to the header.
|
|
64
|
+
*/
|
|
65
|
+
headerBackgroundStyle?: string | ((mode: 'light' | 'dark') => string);
|
|
66
|
+
/**
|
|
67
|
+
* Use this slot to add a secondary element inside the header. The secondary element will be displayed next to main header and occupy 25% of the available space.
|
|
68
|
+
* Note that the secondary header will not have a high-contrast treatement, even if you set `headerVariant` to `high-contrast`.
|
|
69
|
+
*/
|
|
70
|
+
secondaryHeader?: React.ReactNode;
|
|
19
71
|
}
|
|
20
72
|
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/content-layout/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/content-layout/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,CAAC;IAExD;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEhC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B;;;;;;;;;OASG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,KAAK,MAAM,CAAC,CAAC;IAEtE;;;OAGG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/content-layout/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';\n\nexport interface ContentLayoutProps extends BaseComponentProps {\n /**\n * Use this slot to render the main content of the layout below the header.\n * @displayname content\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the layout has an overlap between the header and content.\n * If true, the overlap will be removed.\n * @visualrefresh\n */\n disableOverlap?: boolean;\n\n /**\n * Use this slot to render the header content for the layout.\n */\n header?: React.ReactNode;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/content-layout/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';\n\nexport interface ContentLayoutProps extends BaseComponentProps {\n /**\n * Use this slot to render the main content of the layout below the header.\n * @displayname content\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the layout has an overlap between the header and content.\n * If true, the overlap will be removed.\n * @visualrefresh\n */\n disableOverlap?: boolean;\n\n /**\n * Use this slot to render the header content for the layout.\n */\n header?: React.ReactNode;\n\n /**\n * Determines the visual treatment for the header. Specifically:\n * * `default` - Does not apply any visual treatment.\n * * `high-contrast` - Applies high-contrast to the background of the header and the elements contained within it.\n * If you are using the AppLayout component, set `headerVariant=\"high-contrast\"` to apply the same treatment to the breadcrumbs and notifications slots.\n * * `divider` - Adds a horizontal separator between the header and the content.\n * @visualrefresh `high-contrast` headerVariant\n */\n headerVariant?: 'default' | 'high-contrast' | 'divider';\n\n /**\n * Maximum width for the content.\n * If set, all elements of the content layout (header, content, notifications, breadcrumbs) will be center-aligned and have the desired maximum width.\n * If not set, all elements will occupy the full available width.\n */\n maxContentWidth?: number;\n\n /**\n * Set it to `true` if your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.\n * In that case, the content layout will become sensitive to the state of drawers in app layout and leave the necessary padding to avoid visual overlap with those elements.\n */\n defaultPadding?: boolean;\n\n /**\n * Use this slot to display [notifications](/components/flashbar/) to the content layout:\n * * If your page does not use the [app layout component](/components/app-layout/), which already offers a `notifications` slot.\n * * If your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.\n *\n * Do not use in conjunction with the `notifications` slot in the [app layout component](/components/app-layout/).\n */\n notifications?: React.ReactNode;\n\n /**\n * Use this slot to add the [breadcrumb group component](/components/breadcrumb-group/) to the content layout:\n * * if your application does not use the [app layout component](/components/app-layout/), which already offers a `breadcrumbs` slot.\n * * If your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.\n *\n * Do not use in conjunction with the `breadcrumbs` slot in the [app layout component](/components/app-layout/).\n */\n breadcrumbs?: React.ReactNode;\n\n /**\n * Use this property to style the background of the header.\n *\n * It can be:\n * * a string representing the CSS `background` value for the header element.\n * * a function that receives the mode (\"light\" or \"dark\") as a parameter and returns a string.\n *\n * The header background spans across the full available width, independent of the specified `maxContentWidth`.\n * If set, the component will not add the default background color to the header.\n */\n headerBackgroundStyle?: string | ((mode: 'light' | 'dark') => string);\n\n /**\n * Use this slot to add a secondary element inside the header. The secondary element will be displayed next to main header and occupy 25% of the available space.\n * Note that the secondary header will not have a high-contrast treatement, even if you set `headerVariant` to `high-contrast`.\n */\n secondaryHeader?: React.ReactNode;\n}\n"]}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { ContentLayoutProps } from './interfaces';
|
|
3
3
|
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
|
|
4
4
|
type InternalContentLayoutProps = ContentLayoutProps & InternalBaseComponentProps;
|
|
5
|
-
export default function InternalContentLayout({ children, disableOverlap, header, __internalRootRef, ...rest }: InternalContentLayoutProps): JSX.Element;
|
|
5
|
+
export default function InternalContentLayout({ children, disableOverlap, header, headerVariant, headerBackgroundStyle, __internalRootRef, maxContentWidth, breadcrumbs, notifications, defaultPadding, secondaryHeader, ...rest }: InternalContentLayoutProps): JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=internal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/content-layout/internal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/content-layout/internal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAUlF,KAAK,0BAA0B,GAAG,kBAAkB,GAAG,0BAA0B,CAAC;AAMlF,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,QAAQ,EACR,cAAc,EACd,MAAM,EACN,aAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,eAAkC,EAClC,WAAW,EACX,aAAa,EACb,cAAc,EACd,eAAe,EACf,GAAG,IAAI,EACR,EAAE,0BAA0B,eA2F5B"}
|