@cloudscape-design/components-themeable 3.0.633 → 3.0.635

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 (103) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/visual-refresh/layout.scss +0 -43
  3. package/lib/internal/scss/header/styles.scss +3 -0
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +43 -44
  5. package/lib/internal/scss/internal/styles/global-vars.scss +7 -0
  6. package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
  7. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +31 -31
  8. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
  9. package/lib/internal/template/app-layout/classic.d.ts.map +1 -1
  10. package/lib/internal/template/app-layout/classic.js +5 -16
  11. package/lib/internal/template/app-layout/classic.js.map +1 -1
  12. package/lib/internal/template/app-layout/content-wrapper/index.d.ts +1 -0
  13. package/lib/internal/template/app-layout/content-wrapper/index.d.ts.map +1 -1
  14. package/lib/internal/template/app-layout/content-wrapper/index.js +3 -3
  15. package/lib/internal/template/app-layout/content-wrapper/index.js.map +1 -1
  16. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  17. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  18. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  19. package/lib/internal/template/app-layout/utils/sticky-offsets.d.ts +4 -0
  20. package/lib/internal/template/app-layout/utils/sticky-offsets.d.ts.map +1 -0
  21. package/lib/internal/template/app-layout/utils/sticky-offsets.js +10 -0
  22. package/lib/internal/template/app-layout/utils/sticky-offsets.js.map +1 -0
  23. package/lib/internal/template/app-layout/visual-refresh/context.d.ts.map +1 -1
  24. package/lib/internal/template/app-layout/visual-refresh/context.js +1 -5
  25. package/lib/internal/template/app-layout/visual-refresh/context.js.map +1 -1
  26. package/lib/internal/template/app-layout/visual-refresh/main.d.ts.map +1 -1
  27. package/lib/internal/template/app-layout/visual-refresh/main.js +6 -4
  28. package/lib/internal/template/app-layout/visual-refresh/main.js.map +1 -1
  29. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +81 -81
  30. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -294
  31. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +81 -81
  32. package/lib/internal/template/container/use-sticky-header.d.ts +1 -5
  33. package/lib/internal/template/container/use-sticky-header.d.ts.map +1 -1
  34. package/lib/internal/template/container/use-sticky-header.js +7 -34
  35. package/lib/internal/template/container/use-sticky-header.js.map +1 -1
  36. package/lib/internal/template/flashbar/styles.css.js +47 -47
  37. package/lib/internal/template/flashbar/styles.scoped.css +171 -171
  38. package/lib/internal/template/flashbar/styles.selectors.js +47 -47
  39. package/lib/internal/template/header/internal.d.ts.map +1 -1
  40. package/lib/internal/template/header/internal.js +3 -1
  41. package/lib/internal/template/header/internal.js.map +1 -1
  42. package/lib/internal/template/header/styles.css.js +35 -34
  43. package/lib/internal/template/header/styles.scoped.css +55 -52
  44. package/lib/internal/template/header/styles.selectors.js +35 -34
  45. package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
  46. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +41 -41
  47. package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
  48. package/lib/internal/template/internal/context/app-layout-context.d.ts +0 -3
  49. package/lib/internal/template/internal/context/app-layout-context.d.ts.map +1 -1
  50. package/lib/internal/template/internal/context/app-layout-context.js +1 -5
  51. package/lib/internal/template/internal/context/app-layout-context.js.map +1 -1
  52. package/lib/internal/template/internal/environment.js +1 -1
  53. package/lib/internal/template/internal/environment.json +1 -1
  54. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  55. package/lib/internal/template/internal/generated/custom-css-properties/index.js +43 -44
  56. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  57. package/lib/internal/template/internal/styles/global-vars.d.ts +6 -0
  58. package/lib/internal/template/internal/styles/global-vars.d.ts.map +1 -0
  59. package/lib/internal/template/internal/styles/global-vars.js +8 -0
  60. package/lib/internal/template/internal/styles/global-vars.js.map +1 -0
  61. package/lib/internal/template/mixed-line-bar-chart/bar-series.d.ts +3 -3
  62. package/lib/internal/template/mixed-line-bar-chart/bar-series.d.ts.map +1 -1
  63. package/lib/internal/template/mixed-line-bar-chart/bar-series.js +61 -17
  64. package/lib/internal/template/mixed-line-bar-chart/bar-series.js.map +1 -1
  65. package/lib/internal/template/mixed-line-bar-chart/create-one-side-rounded-rect-path.d.ts +7 -0
  66. package/lib/internal/template/mixed-line-bar-chart/create-one-side-rounded-rect-path.d.ts.map +1 -0
  67. package/lib/internal/template/mixed-line-bar-chart/create-one-side-rounded-rect-path.js +33 -0
  68. package/lib/internal/template/mixed-line-bar-chart/create-one-side-rounded-rect-path.js.map +1 -0
  69. package/lib/internal/template/mixed-line-bar-chart/data-series.d.ts.map +1 -1
  70. package/lib/internal/template/mixed-line-bar-chart/data-series.js +5 -5
  71. package/lib/internal/template/mixed-line-bar-chart/data-series.js.map +1 -1
  72. package/lib/internal/template/mixed-line-bar-chart/utils.d.ts +2 -9
  73. package/lib/internal/template/mixed-line-bar-chart/utils.d.ts.map +1 -1
  74. package/lib/internal/template/mixed-line-bar-chart/utils.js +19 -26
  75. package/lib/internal/template/mixed-line-bar-chart/utils.js.map +1 -1
  76. package/lib/internal/template/spinner/styles.css.js +13 -13
  77. package/lib/internal/template/spinner/styles.scoped.css +39 -39
  78. package/lib/internal/template/spinner/styles.selectors.js +13 -13
  79. package/lib/internal/template/split-panel/implementation.d.ts.map +1 -1
  80. package/lib/internal/template/split-panel/implementation.js +7 -7
  81. package/lib/internal/template/split-panel/implementation.js.map +1 -1
  82. package/lib/internal/template/split-panel/interfaces.d.ts +1 -0
  83. package/lib/internal/template/split-panel/interfaces.d.ts.map +1 -1
  84. package/lib/internal/template/split-panel/interfaces.js.map +1 -1
  85. package/lib/internal/template/split-panel/side.d.ts +1 -1
  86. package/lib/internal/template/split-panel/side.d.ts.map +1 -1
  87. package/lib/internal/template/split-panel/side.js +2 -5
  88. package/lib/internal/template/split-panel/side.js.map +1 -1
  89. package/lib/internal/template/table/internal.d.ts.map +1 -1
  90. package/lib/internal/template/table/internal.js +6 -7
  91. package/lib/internal/template/table/internal.js.map +1 -1
  92. package/lib/internal/template/table/sticky-scrollbar/sticky-scrollbar.d.ts.map +1 -1
  93. package/lib/internal/template/table/sticky-scrollbar/sticky-scrollbar.js +1 -7
  94. package/lib/internal/template/table/sticky-scrollbar/sticky-scrollbar.js.map +1 -1
  95. package/lib/internal/template/table/sticky-scrollbar/use-sticky-scrollbar.d.ts +2 -2
  96. package/lib/internal/template/table/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +1 -1
  97. package/lib/internal/template/table/sticky-scrollbar/use-sticky-scrollbar.js +12 -30
  98. package/lib/internal/template/table/sticky-scrollbar/use-sticky-scrollbar.js.map +1 -1
  99. package/lib/internal/template/theming/index.d.ts +5 -0
  100. package/lib/internal/template/theming/index.d.ts.map +1 -1
  101. package/lib/internal/template/theming/index.js +8 -1
  102. package/lib/internal/template/theming/index.js.map +1 -1
  103. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "582cfc446fff435dc767774301602ab72b07c008"
2
+ "commit": "f55b9e7957b22f6ce2a58ad2d6d3fdfb48a3b27a"
3
3
  }
@@ -41,7 +41,6 @@ explicitly set in script.
41
41
  #{custom-props.$notificationsGap}: 0px;
42
42
  #{custom-props.$notificationsHeight}: 0px;
43
43
  #{custom-props.$offsetTop}: var(#{custom-props.$headerHeight});
44
- #{custom-props.$offsetTopWithNotifications}: 0px;
45
44
  #{custom-props.$overlapHeight}: #{awsui.$space-dark-header-overlap-distance};
46
45
  background-color: awsui.$color-background-layout-main;
47
46
  color: awsui.$color-text-body-default;
@@ -136,37 +135,6 @@ explicitly set in script.
136
135
  #{custom-props.$defaultMinContentWidth}: 0px;
137
136
  }
138
137
 
139
- /*
140
- The offset top value for components with position: sticky (AppBar, Navigation,
141
- Notifications, Tools) will be set to the header height value. The offset top value
142
- for AppLayout contentMain children with position: sticky will be the combined value
143
- of the header and notifications height in addition to the notifications top margin
144
- and some additional vertical space for aesthetics.
145
- */
146
- &:not(.has-sticky-notifications):not(.has-sticky-background) {
147
- #{custom-props.$offsetTopWithNotifications}: var(#{custom-props.$headerHeight});
148
- }
149
-
150
- &:not(.has-sticky-notifications).has-sticky-background {
151
- #{custom-props.$offsetTopWithNotifications}: calc(var(#{custom-props.$headerHeight}) + #{awsui.$space-scaled-s});
152
- }
153
-
154
- /* stylelint-disable scss/operator-no-newline-after */
155
- &.has-sticky-notifications:not(.has-sticky-background) {
156
- #{custom-props.$offsetTopWithNotifications}: calc(
157
- var(#{custom-props.$offsetTop}) + var(#{custom-props.$notificationsGap}) +
158
- var(#{custom-props.$notificationsHeight}) + #{awsui.$space-xxxs}
159
- );
160
- }
161
-
162
- &.has-sticky-notifications.has-sticky-background {
163
- #{custom-props.$offsetTopWithNotifications}: calc(
164
- var(#{custom-props.$offsetTop}) + var(#{custom-props.$notificationsGap}) +
165
- var(#{custom-props.$notificationsHeight}) + #{awsui.$space-scaled-s}
166
- );
167
- }
168
- /* stylelint-enable scss/operator-no-newline-after */
169
-
170
138
  /*
171
139
  In desktop viewports the content gap property for the left and right
172
140
  columns should override the default of zero if the navigationHide
@@ -293,17 +261,6 @@ notifications top margin and some additional vertical space for aesthetics.
293
261
  &.has-split-panel.split-panel-position-bottom {
294
262
  #{custom-props.$mainTemplateRows}: repeat(2, auto);
295
263
  }
296
-
297
- &:not(.has-sticky-notifications) {
298
- #{custom-props.$offsetTopWithNotifications}: 0px;
299
- }
300
-
301
- // #{awsui.$space-xs} token needs to align with the top margin in the notifications CSS
302
- &.has-sticky-notifications {
303
- #{custom-props.$offsetTopWithNotifications}: calc(
304
- var(#{custom-props.$notificationsHeight}) + #{awsui.$space-xs} + #{awsui.$space-xxs}
305
- );
306
- }
307
264
  }
308
265
 
309
266
  /*
@@ -17,6 +17,9 @@
17
17
  inline-size: 100%;
18
18
  flex-wrap: wrap;
19
19
  justify-content: space-between;
20
+ &-with-toolbar {
21
+ padding-block-start: awsui.$space-scaled-s;
22
+ }
20
23
 
21
24
  &.refresh,
22
25
  &:not(.root-no-actions) {
@@ -1,46 +1,45 @@
1
1
 
2
- $breadcrumbsGap: --awsui-breadcrumbs-gap-lgosor;
3
- $contentGapLeft: --awsui-content-gap-left-lgosor;
4
- $contentGapRight: --awsui-content-gap-right-lgosor;
5
- $contentHeight: --awsui-content-height-lgosor;
6
- $defaultMaxContentWidth: --awsui-default-max-content-width-lgosor;
7
- $defaultMinContentWidth: --awsui-default-min-content-width-lgosor;
8
- $drawerSize: --awsui-drawer-size-lgosor;
9
- $footerHeight: --awsui-footer-height-lgosor;
10
- $headerGap: --awsui-header-gap-lgosor;
11
- $headerHeight: --awsui-header-height-lgosor;
12
- $layoutWidth: --awsui-layout-width-lgosor;
13
- $mainGap: --awsui-main-gap-lgosor;
14
- $mainOffsetLeft: --awsui-main-offset-left-lgosor;
15
- $mainTemplateRows: --awsui-main-template-rows-lgosor;
16
- $maxContentWidth: --awsui-max-content-width-lgosor;
17
- $minContentWidth: --awsui-min-content-width-lgosor;
18
- $mobileBarHeight: --awsui-mobile-bar-height-lgosor;
19
- $notificationsGap: --awsui-notifications-gap-lgosor;
20
- $notificationsHeight: --awsui-notifications-height-lgosor;
21
- $offsetTop: --awsui-offset-top-lgosor;
22
- $offsetTopWithNotifications: --awsui-offset-top-with-notifications-lgosor;
23
- $overlapHeight: --awsui-overlap-height-lgosor;
24
- $navigationWidth: --awsui-navigation-width-lgosor;
25
- $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-lgosor;
26
- $splitPanelReportedSize: --awsui-split-panel-reported-size-lgosor;
27
- $splitPanelHeight: --awsui-split-panel-height-lgosor;
28
- $splitPanelMinWidth: --awsui-split-panel-min-width-lgosor;
29
- $splitPanelMaxWidth: --awsui-split-panel-max-width-lgosor;
30
- $toolsMaxWidth: --awsui-tools-max-width-lgosor;
31
- $toolsWidth: --awsui-tools-width-lgosor;
32
- $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-lgosor;
33
- $contentScrollMargin: --awsui-content-scroll-margin-lgosor;
34
- $flashbarStackDepth: --awsui-flashbar-stack-depth-lgosor;
35
- $flashbarStackIndex: --awsui-flashbar-stack-index-lgosor;
36
- $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-lgosor;
37
- $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-lgosor;
38
- $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-lgosor;
39
- $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-lgosor;
40
- $spinnerRotatorFrom: --awsui-spinner-rotator-from-lgosor;
41
- $spinnerRotatorTo: --awsui-spinner-rotator-to-lgosor;
42
- $spinnerLineLeftFrom: --awsui-spinner-line-left-from-lgosor;
43
- $spinnerLineLeftTo: --awsui-spinner-line-left-to-lgosor;
44
- $spinnerLineRightFrom: --awsui-spinner-line-right-from-lgosor;
45
- $spinnerLineRightTo: --awsui-spinner-line-right-to-lgosor;
2
+ $breadcrumbsGap: --awsui-breadcrumbs-gap-ud5fvm;
3
+ $contentGapLeft: --awsui-content-gap-left-ud5fvm;
4
+ $contentGapRight: --awsui-content-gap-right-ud5fvm;
5
+ $contentHeight: --awsui-content-height-ud5fvm;
6
+ $defaultMaxContentWidth: --awsui-default-max-content-width-ud5fvm;
7
+ $defaultMinContentWidth: --awsui-default-min-content-width-ud5fvm;
8
+ $drawerSize: --awsui-drawer-size-ud5fvm;
9
+ $footerHeight: --awsui-footer-height-ud5fvm;
10
+ $headerGap: --awsui-header-gap-ud5fvm;
11
+ $headerHeight: --awsui-header-height-ud5fvm;
12
+ $layoutWidth: --awsui-layout-width-ud5fvm;
13
+ $mainGap: --awsui-main-gap-ud5fvm;
14
+ $mainOffsetLeft: --awsui-main-offset-left-ud5fvm;
15
+ $mainTemplateRows: --awsui-main-template-rows-ud5fvm;
16
+ $maxContentWidth: --awsui-max-content-width-ud5fvm;
17
+ $minContentWidth: --awsui-min-content-width-ud5fvm;
18
+ $mobileBarHeight: --awsui-mobile-bar-height-ud5fvm;
19
+ $notificationsGap: --awsui-notifications-gap-ud5fvm;
20
+ $notificationsHeight: --awsui-notifications-height-ud5fvm;
21
+ $offsetTop: --awsui-offset-top-ud5fvm;
22
+ $overlapHeight: --awsui-overlap-height-ud5fvm;
23
+ $navigationWidth: --awsui-navigation-width-ud5fvm;
24
+ $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-ud5fvm;
25
+ $splitPanelReportedSize: --awsui-split-panel-reported-size-ud5fvm;
26
+ $splitPanelHeight: --awsui-split-panel-height-ud5fvm;
27
+ $splitPanelMinWidth: --awsui-split-panel-min-width-ud5fvm;
28
+ $splitPanelMaxWidth: --awsui-split-panel-max-width-ud5fvm;
29
+ $toolsMaxWidth: --awsui-tools-max-width-ud5fvm;
30
+ $toolsWidth: --awsui-tools-width-ud5fvm;
31
+ $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-ud5fvm;
32
+ $contentScrollMargin: --awsui-content-scroll-margin-ud5fvm;
33
+ $flashbarStackDepth: --awsui-flashbar-stack-depth-ud5fvm;
34
+ $flashbarStackIndex: --awsui-flashbar-stack-index-ud5fvm;
35
+ $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-ud5fvm;
36
+ $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-ud5fvm;
37
+ $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-ud5fvm;
38
+ $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-ud5fvm;
39
+ $spinnerRotatorFrom: --awsui-spinner-rotator-from-ud5fvm;
40
+ $spinnerRotatorTo: --awsui-spinner-rotator-to-ud5fvm;
41
+ $spinnerLineLeftFrom: --awsui-spinner-line-left-from-ud5fvm;
42
+ $spinnerLineLeftTo: --awsui-spinner-line-left-to-ud5fvm;
43
+ $spinnerLineRightFrom: --awsui-spinner-line-right-from-ud5fvm;
44
+ $spinnerLineRightTo: --awsui-spinner-line-right-to-ud5fvm;
46
45
 
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ $stickyVerticalTopOffset: --awsui-sticky-vertical-top-offset;
7
+ $stickyVerticalBottomOffset: --awsui-sticky-vertical-bottom-offset;
@@ -1,29 +1,29 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "arrow": "awsui_arrow_1hpp3_ekxhq_99",
5
- "arrow-outer": "awsui_arrow-outer_1hpp3_ekxhq_103",
6
- "arrow-inner": "awsui_arrow-inner_1hpp3_ekxhq_103",
7
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_ekxhq_144",
8
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_ekxhq_144",
9
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_ekxhq_147",
10
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_ekxhq_147",
11
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_ekxhq_150",
12
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_ekxhq_150",
13
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_ekxhq_153",
14
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_ekxhq_153",
15
- "annotation": "awsui_annotation_1hpp3_ekxhq_161",
16
- "next-button": "awsui_next-button_1hpp3_ekxhq_162",
17
- "previous-button": "awsui_previous-button_1hpp3_ekxhq_163",
18
- "finish-button": "awsui_finish-button_1hpp3_ekxhq_164",
19
- "header": "awsui_header_1hpp3_ekxhq_165",
20
- "step-counter-content": "awsui_step-counter-content_1hpp3_ekxhq_166",
21
- "content": "awsui_content_1hpp3_ekxhq_167",
22
- "description": "awsui_description_1hpp3_ekxhq_171",
23
- "actionBar": "awsui_actionBar_1hpp3_ekxhq_176",
24
- "stepCounter": "awsui_stepCounter_1hpp3_ekxhq_183",
25
- "divider": "awsui_divider_1hpp3_ekxhq_187",
26
- "hotspot": "awsui_hotspot_1hpp3_ekxhq_191",
27
- "icon": "awsui_icon_1hpp3_ekxhq_258"
4
+ "arrow": "awsui_arrow_1hpp3_9xnyj_99",
5
+ "arrow-outer": "awsui_arrow-outer_1hpp3_9xnyj_103",
6
+ "arrow-inner": "awsui_arrow-inner_1hpp3_9xnyj_103",
7
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_9xnyj_144",
8
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_9xnyj_144",
9
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_9xnyj_147",
10
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_9xnyj_147",
11
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_9xnyj_150",
12
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_9xnyj_150",
13
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_9xnyj_153",
14
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_9xnyj_153",
15
+ "annotation": "awsui_annotation_1hpp3_9xnyj_161",
16
+ "next-button": "awsui_next-button_1hpp3_9xnyj_162",
17
+ "previous-button": "awsui_previous-button_1hpp3_9xnyj_163",
18
+ "finish-button": "awsui_finish-button_1hpp3_9xnyj_164",
19
+ "header": "awsui_header_1hpp3_9xnyj_165",
20
+ "step-counter-content": "awsui_step-counter-content_1hpp3_9xnyj_166",
21
+ "content": "awsui_content_1hpp3_9xnyj_167",
22
+ "description": "awsui_description_1hpp3_9xnyj_171",
23
+ "actionBar": "awsui_actionBar_1hpp3_9xnyj_176",
24
+ "stepCounter": "awsui_stepCounter_1hpp3_9xnyj_183",
25
+ "divider": "awsui_divider_1hpp3_9xnyj_187",
26
+ "hotspot": "awsui_hotspot_1hpp3_9xnyj_191",
27
+ "icon": "awsui_icon_1hpp3_9xnyj_258"
28
28
  };
29
29
 
@@ -96,11 +96,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
96
96
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
97
97
  SPDX-License-Identifier: Apache-2.0
98
98
  */
99
- .awsui_arrow_1hpp3_ekxhq_99:not(#\9) {
99
+ .awsui_arrow_1hpp3_9xnyj_99:not(#\9) {
100
100
  inline-size: 20px;
101
101
  block-size: 10px;
102
102
  }
103
- .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9), .awsui_arrow-inner_1hpp3_ekxhq_103:not(#\9) {
103
+ .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9), .awsui_arrow-inner_1hpp3_9xnyj_103:not(#\9) {
104
104
  position: absolute;
105
105
  overflow: hidden;
106
106
  inline-size: 20px;
@@ -108,7 +108,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
108
108
  inset-block-start: 0;
109
109
  inset-inline-start: 0;
110
110
  }
111
- .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after, .awsui_arrow-inner_1hpp3_ekxhq_103:not(#\9)::after {
111
+ .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after, .awsui_arrow-inner_1hpp3_9xnyj_103:not(#\9)::after {
112
112
  content: "";
113
113
  box-sizing: border-box;
114
114
  display: inline-block;
@@ -124,33 +124,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
124
124
  transform: rotate(45deg);
125
125
  transform-origin: 0 100%;
126
126
  }
127
- .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9):dir(rtl)::after, .awsui_arrow-inner_1hpp3_ekxhq_103:not(#\9):dir(rtl)::after {
127
+ .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9):dir(rtl)::after, .awsui_arrow-inner_1hpp3_9xnyj_103:not(#\9):dir(rtl)::after {
128
128
  transform: rotate(-45deg);
129
129
  transform-origin: 100% 100%;
130
130
  }
131
- .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after {
131
+ .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after {
132
132
  background-color: var(--color-border-status-info-q9np44, #0073bb);
133
133
  }
134
- .awsui_arrow-inner_1hpp3_ekxhq_103:not(#\9) {
134
+ .awsui_arrow-inner_1hpp3_9xnyj_103:not(#\9) {
135
135
  inset-block-start: 2px;
136
136
  }
137
- .awsui_arrow-inner_1hpp3_ekxhq_103:not(#\9)::after {
137
+ .awsui_arrow-inner_1hpp3_9xnyj_103:not(#\9)::after {
138
138
  border-start-start-radius: 1px;
139
139
  border-start-end-radius: 0;
140
140
  border-end-start-radius: 0;
141
141
  border-end-end-radius: 0;
142
142
  background-color: var(--color-background-status-info-pgxhez, #f1faff);
143
143
  }
144
- .awsui_arrow-position-right-top_1hpp3_ekxhq_144 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_ekxhq_144 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after {
144
+ .awsui_arrow-position-right-top_1hpp3_9xnyj_144 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_9xnyj_144 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after {
145
145
  box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
146
146
  }
147
- .awsui_arrow-position-left-top_1hpp3_ekxhq_147 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_ekxhq_147 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after {
147
+ .awsui_arrow-position-left-top_1hpp3_9xnyj_147 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_9xnyj_147 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after {
148
148
  box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
149
149
  }
150
- .awsui_arrow-position-top-center_1hpp3_ekxhq_150 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_ekxhq_150 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after {
150
+ .awsui_arrow-position-top-center_1hpp3_9xnyj_150 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_9xnyj_150 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after {
151
151
  box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
152
152
  }
153
- .awsui_arrow-position-bottom-center_1hpp3_ekxhq_153 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_ekxhq_153 > .awsui_arrow-outer_1hpp3_ekxhq_103:not(#\9)::after {
153
+ .awsui_arrow-position-bottom-center_1hpp3_9xnyj_153 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_9xnyj_153 > .awsui_arrow-outer_1hpp3_9xnyj_103:not(#\9)::after {
154
154
  box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-9hs6xx, rgba(0, 28, 36, 0.5));
155
155
  }
156
156
 
@@ -158,37 +158,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
158
158
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
159
159
  SPDX-License-Identifier: Apache-2.0
160
160
  */
161
- .awsui_annotation_1hpp3_ekxhq_161:not(#\9),
162
- .awsui_next-button_1hpp3_ekxhq_162:not(#\9),
163
- .awsui_previous-button_1hpp3_ekxhq_163:not(#\9),
164
- .awsui_finish-button_1hpp3_ekxhq_164:not(#\9),
165
- .awsui_header_1hpp3_ekxhq_165:not(#\9),
166
- .awsui_step-counter-content_1hpp3_ekxhq_166:not(#\9),
167
- .awsui_content_1hpp3_ekxhq_167:not(#\9) {
161
+ .awsui_annotation_1hpp3_9xnyj_161:not(#\9),
162
+ .awsui_next-button_1hpp3_9xnyj_162:not(#\9),
163
+ .awsui_previous-button_1hpp3_9xnyj_163:not(#\9),
164
+ .awsui_finish-button_1hpp3_9xnyj_164:not(#\9),
165
+ .awsui_header_1hpp3_9xnyj_165:not(#\9),
166
+ .awsui_step-counter-content_1hpp3_9xnyj_166:not(#\9),
167
+ .awsui_content_1hpp3_9xnyj_167:not(#\9) {
168
168
  /* used in test-utils */
169
169
  }
170
170
 
171
- .awsui_description_1hpp3_ekxhq_171:not(#\9) {
171
+ .awsui_description_1hpp3_9xnyj_171:not(#\9) {
172
172
  overflow: hidden;
173
173
  margin-block-start: var(--space-xxs-9rrxti, 4px);
174
174
  }
175
175
 
176
- .awsui_actionBar_1hpp3_ekxhq_176:not(#\9) {
176
+ .awsui_actionBar_1hpp3_9xnyj_176:not(#\9) {
177
177
  display: flex;
178
178
  justify-content: space-between;
179
179
  align-items: center;
180
180
  position: relative;
181
181
  }
182
182
 
183
- .awsui_stepCounter_1hpp3_ekxhq_183:not(#\9) {
183
+ .awsui_stepCounter_1hpp3_9xnyj_183:not(#\9) {
184
184
  margin-inline-end: 20px;
185
185
  }
186
186
 
187
- .awsui_divider_1hpp3_ekxhq_187:not(#\9) {
187
+ .awsui_divider_1hpp3_9xnyj_187:not(#\9) {
188
188
  border-block-end: var(--border-divider-section-width-wl9k66, 1px) solid var(--color-border-divider-default-in8dkg, #eaeded);
189
189
  }
190
190
 
191
- .awsui_hotspot_1hpp3_ekxhq_191:not(#\9) {
191
+ .awsui_hotspot_1hpp3_9xnyj_191:not(#\9) {
192
192
  border-collapse: separate;
193
193
  border-spacing: 0;
194
194
  box-sizing: border-box;
@@ -228,21 +228,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
228
228
  padding-block: 0;
229
229
  padding-inline: 0;
230
230
  cursor: pointer;
231
- scroll-margin: var(--awsui-content-scroll-margin-lgosor, 40px 0 0 0);
231
+ scroll-margin: var(--awsui-content-scroll-margin-ud5fvm, 40px 0 0 0);
232
232
  inline-size: 16px;
233
233
  block-size: 16px;
234
234
  }
235
- .awsui_hotspot_1hpp3_ekxhq_191:not(#\9):focus {
235
+ .awsui_hotspot_1hpp3_9xnyj_191:not(#\9):focus {
236
236
  outline: none;
237
237
  }
238
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_ekxhq_191:not(#\9):focus {
238
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_9xnyj_191:not(#\9):focus {
239
239
  position: relative;
240
240
  }
241
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_ekxhq_191:not(#\9):focus {
241
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_9xnyj_191:not(#\9):focus {
242
242
  outline: 2px dotted transparent;
243
243
  outline-offset: calc(2px - 1px);
244
244
  }
245
- body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_ekxhq_191:not(#\9):focus::before {
245
+ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_9xnyj_191:not(#\9):focus::before {
246
246
  content: " ";
247
247
  display: block;
248
248
  position: absolute;
@@ -256,13 +256,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_ekxhq_191:not(#\9):focu
256
256
  border-end-end-radius: var(--border-radius-control-circular-focus-ring-mxepal, 50%);
257
257
  box-shadow: 0 0 0 2px var(--color-border-item-focused-v8nq2m, #0073bb);
258
258
  }
259
- .awsui_hotspot_1hpp3_ekxhq_191 > .awsui_icon_1hpp3_ekxhq_258:not(#\9) {
259
+ .awsui_hotspot_1hpp3_9xnyj_191 > .awsui_icon_1hpp3_9xnyj_258:not(#\9) {
260
260
  position: relative;
261
261
  stroke: var(--color-text-link-default-hop3gv, #0073bb);
262
262
  }
263
- .awsui_hotspot_1hpp3_ekxhq_191:not(#\9):hover > .awsui_icon_1hpp3_ekxhq_258 {
263
+ .awsui_hotspot_1hpp3_9xnyj_191:not(#\9):hover > .awsui_icon_1hpp3_9xnyj_258 {
264
264
  stroke: var(--color-text-link-hover-8s5z9d, #0a4a74);
265
265
  }
266
- .awsui_hotspot_1hpp3_ekxhq_191:not(#\9):active > .awsui_icon_1hpp3_ekxhq_258 {
266
+ .awsui_hotspot_1hpp3_9xnyj_191:not(#\9):active > .awsui_icon_1hpp3_9xnyj_258 {
267
267
  stroke: var(--color-text-link-default-hop3gv, #0073bb);
268
268
  }
@@ -2,29 +2,29 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "arrow": "awsui_arrow_1hpp3_ekxhq_99",
6
- "arrow-outer": "awsui_arrow-outer_1hpp3_ekxhq_103",
7
- "arrow-inner": "awsui_arrow-inner_1hpp3_ekxhq_103",
8
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_ekxhq_144",
9
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_ekxhq_144",
10
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_ekxhq_147",
11
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_ekxhq_147",
12
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_ekxhq_150",
13
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_ekxhq_150",
14
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_ekxhq_153",
15
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_ekxhq_153",
16
- "annotation": "awsui_annotation_1hpp3_ekxhq_161",
17
- "next-button": "awsui_next-button_1hpp3_ekxhq_162",
18
- "previous-button": "awsui_previous-button_1hpp3_ekxhq_163",
19
- "finish-button": "awsui_finish-button_1hpp3_ekxhq_164",
20
- "header": "awsui_header_1hpp3_ekxhq_165",
21
- "step-counter-content": "awsui_step-counter-content_1hpp3_ekxhq_166",
22
- "content": "awsui_content_1hpp3_ekxhq_167",
23
- "description": "awsui_description_1hpp3_ekxhq_171",
24
- "actionBar": "awsui_actionBar_1hpp3_ekxhq_176",
25
- "stepCounter": "awsui_stepCounter_1hpp3_ekxhq_183",
26
- "divider": "awsui_divider_1hpp3_ekxhq_187",
27
- "hotspot": "awsui_hotspot_1hpp3_ekxhq_191",
28
- "icon": "awsui_icon_1hpp3_ekxhq_258"
5
+ "arrow": "awsui_arrow_1hpp3_9xnyj_99",
6
+ "arrow-outer": "awsui_arrow-outer_1hpp3_9xnyj_103",
7
+ "arrow-inner": "awsui_arrow-inner_1hpp3_9xnyj_103",
8
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_9xnyj_144",
9
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_9xnyj_144",
10
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_9xnyj_147",
11
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_9xnyj_147",
12
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_9xnyj_150",
13
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_9xnyj_150",
14
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_9xnyj_153",
15
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_9xnyj_153",
16
+ "annotation": "awsui_annotation_1hpp3_9xnyj_161",
17
+ "next-button": "awsui_next-button_1hpp3_9xnyj_162",
18
+ "previous-button": "awsui_previous-button_1hpp3_9xnyj_163",
19
+ "finish-button": "awsui_finish-button_1hpp3_9xnyj_164",
20
+ "header": "awsui_header_1hpp3_9xnyj_165",
21
+ "step-counter-content": "awsui_step-counter-content_1hpp3_9xnyj_166",
22
+ "content": "awsui_content_1hpp3_9xnyj_167",
23
+ "description": "awsui_description_1hpp3_9xnyj_171",
24
+ "actionBar": "awsui_actionBar_1hpp3_9xnyj_176",
25
+ "stepCounter": "awsui_stepCounter_1hpp3_9xnyj_183",
26
+ "divider": "awsui_divider_1hpp3_9xnyj_187",
27
+ "hotspot": "awsui_hotspot_1hpp3_9xnyj_191",
28
+ "icon": "awsui_icon_1hpp3_9xnyj_258"
29
29
  };
30
30
 
@@ -1 +1 @@
1
- {"version":3,"file":"classic.d.ts","sourceRoot":"","sources":["../../../src/app-layout/classic.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAI7F,OAAO,EAAE,cAAc,EAA8B,MAAM,cAAc,CAAC;AA+B1E,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;4CA0jBrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"classic.d.ts","sourceRoot":"","sources":["../../../src/app-layout/classic.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAI7F,OAAO,EAAE,cAAc,EAA8B,MAAM,cAAc,CAAC;AA+B1E,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;4CAqjBrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -12,7 +12,6 @@ import { useFocusControl } from './utils/use-focus-control';
12
12
  import styles from './styles.css.js';
13
13
  import testutilStyles from './test-classes/styles.css.js';
14
14
  import { findUpUntil } from '../internal/utils/dom';
15
- import { AppLayoutContext } from '../internal/context/app-layout-context';
16
15
  import { CONSTRAINED_MAIN_PANEL_MIN_HEIGHT, CONSTRAINED_PAGE_HEIGHT, getSplitPanelDefaultSize, MAIN_PANEL_MIN_HEIGHT, } from '../split-panel/utils/size-utils';
17
16
  import ContentWrapper from './content-wrapper';
18
17
  import { Drawer, DrawerTriggersBar } from './drawer';
@@ -21,6 +20,7 @@ import { SPLIT_PANEL_MIN_WIDTH, SideSplitPanelDrawer, SplitPanelProvider, } from
21
20
  import { useStableCallback } from '@cloudscape-design/component-toolkit/internal';
22
21
  import { useSplitPanelFocusControl } from './utils/use-split-panel-focus-control';
23
22
  import { TOOLS_DRAWER_ID, useDrawers } from './utils/use-drawers';
23
+ import { getStickyOffsetVars } from './utils/sticky-offsets';
24
24
  import { useContainerQuery } from '@cloudscape-design/component-toolkit';
25
25
  import { togglesConfig } from './toggles';
26
26
  const ClassicAppLayout = React.forwardRef((_a, ref) => {
@@ -85,7 +85,7 @@ const ClassicAppLayout = React.forwardRef((_a, ref) => {
85
85
  const [notificationsHeight, notificationsRef] = useContainerQuery(rect => rect.contentBoxHeight);
86
86
  const anyPanelOpen = navigationVisible || toolsVisible || !!activeDrawer;
87
87
  const hasRenderedNotifications = notificationsHeight ? notificationsHeight > 0 : false;
88
- const stickyNotificationsHeight = stickyNotifications ? notificationsHeight : null;
88
+ const stickyNotificationsHeight = stickyNotifications ? notificationsHeight !== null && notificationsHeight !== void 0 ? notificationsHeight : 0 : 0;
89
89
  const [splitPanelPreferences, setSplitPanelPreferences] = useControllable(controlledSplitPanelPreferences, onSplitPanelPreferencesChange, undefined, {
90
90
  componentName: 'AppLayout',
91
91
  controlledProp: 'splitPanelPreferences',
@@ -174,7 +174,7 @@ const ClassicAppLayout = React.forwardRef((_a, ref) => {
174
174
  const [splitPanelReportedSize, setSplitPanelReportedSize] = useState(0);
175
175
  const [splitPanelReportedHeaderHeight, setSplitPanelReportedHeaderHeight] = useState(0);
176
176
  const splitPanelContextProps = {
177
- topOffset: placement.insetBlockStart + (finalSplitPanePosition === 'bottom' ? stickyNotificationsHeight || 0 : 0),
177
+ topOffset: placement.insetBlockStart + (finalSplitPanePosition === 'bottom' ? stickyNotificationsHeight : 0),
178
178
  bottomOffset: placement.insetBlockEnd,
179
179
  leftOffset: placement.insetInlineStart +
180
180
  (isMobile ? 0 : !navigationHide && navigationOpen ? navigationWidth : navigationClosedWidth),
@@ -257,25 +257,14 @@ const ClassicAppLayout = React.forwardRef((_a, ref) => {
257
257
  ((!isMobile && breadcrumbs) || contentHeader) && (React.createElement(ContentWrapper, Object.assign({}, contentWrapperProps),
258
258
  !isMobile && breadcrumbs && (React.createElement("div", { className: clsx(testutilStyles.breadcrumbs, styles['breadcrumbs-desktop']) }, breadcrumbs)),
259
259
  contentHeader && (React.createElement("div", { className: clsx(styles['content-header-wrapper'], !hasRenderedNotifications && (isMobile || !breadcrumbs) && styles['content-extra-top-padding'], !hasRenderedNotifications && !breadcrumbs && styles['content-header-wrapper-first-child'], !disableContentHeaderOverlap && styles['content-header-wrapper-overlapped']) }, contentHeader)))),
260
- React.createElement(ContentWrapper, Object.assign({}, contentWrapperProps, { ref: mainContentRef, disablePaddings: disableContentPaddings,
261
- // eslint-disable-next-line react/forbid-component-props
262
- className: clsx(!disableContentPaddings && styles['content-wrapper'], !disableContentPaddings &&
260
+ React.createElement(ContentWrapper, Object.assign({}, contentWrapperProps, { ref: mainContentRef, disablePaddings: disableContentPaddings, className: clsx(!disableContentPaddings && styles['content-wrapper'], !disableContentPaddings &&
263
261
  (isMobile || !breadcrumbs) &&
264
262
  !contentHeader &&
265
263
  styles['content-extra-top-padding'], testutilStyles.content, !disableContentHeaderOverlap && contentHeader && styles['content-overlapped'], !hasRenderedNotifications &&
266
264
  !breadcrumbs &&
267
265
  !isMobile &&
268
266
  !contentHeader &&
269
- styles['content-wrapper-first-child']) }),
270
- React.createElement(AppLayoutContext.Provider, { value: {
271
- stickyOffsetTop:
272
- // We don't support the table header being sticky in case the deprecated disableBodyScroll is enabled,
273
- // therefore we ensure the table header scrolls out of view by offseting a large enough value (9999px)
274
- (disableBodyScroll ? (isMobile ? -9999 : 0) : placement.insetBlockStart) +
275
- (isMobile ? 0 : stickyNotificationsHeight !== null ? stickyNotificationsHeight : 0),
276
- stickyOffsetBottom: placement.insetBlockEnd + (splitPanelBottomOffset || 0),
277
- mobileBarHeight: mobileBarHeight !== null && mobileBarHeight !== void 0 ? mobileBarHeight : 0,
278
- } }, content))),
267
+ styles['content-wrapper-first-child']), style: getStickyOffsetVars(placement.insetBlockStart, placement.insetBlockEnd + (splitPanelBottomOffset || 0), `${stickyNotificationsHeight}px`, mobileBarHeight && !disableBodyScroll ? `${mobileBarHeight}px` : '0px', !!disableBodyScroll, isMobile) }), content)),
279
268
  finalSplitPanePosition === 'bottom' && splitPanelWrapped),
280
269
  finalSplitPanePosition === 'side' && splitPanelWrapped,
281
270
  hasDrawers ? (React.createElement(ResizableDrawer, { contentClassName: clsx(activeDrawerId && testutilStyles['active-drawer'], activeDrawerId === TOOLS_DRAWER_ID && testutilStyles.tools), toggleClassName: testutilStyles['tools-toggle'], closeClassName: clsx(testutilStyles['active-drawer-close-button'], activeDrawerId === TOOLS_DRAWER_ID && testutilStyles['tools-close']), ariaLabels: {