@cloudscape-design/components-themeable 3.0.211 → 3.0.213

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 (89) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/notifications/styles.scss +9 -1
  3. package/lib/internal/scss/app-layout/styles.scss +1 -2
  4. package/lib/internal/scss/app-layout/visual-refresh/navigation.scss +5 -5
  5. package/lib/internal/scss/app-layout/visual-refresh/notifications.scss +7 -7
  6. package/lib/internal/scss/app-layout/visual-refresh/split-panel.scss +15 -15
  7. package/lib/internal/scss/app-layout/visual-refresh/tools.scss +11 -11
  8. package/lib/internal/scss/collection-preferences/styles.scss +1 -0
  9. package/lib/internal/scss/flashbar/collapsible.scss +122 -42
  10. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +29 -28
  11. package/lib/internal/scss/split-panel/styles.scss +2 -2
  12. package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
  13. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
  14. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
  15. package/lib/internal/template/app-layout/index.d.ts.map +1 -1
  16. package/lib/internal/template/app-layout/index.js +1 -1
  17. package/lib/internal/template/app-layout/index.js.map +1 -1
  18. package/lib/internal/template/app-layout/notifications/index.d.ts +1 -0
  19. package/lib/internal/template/app-layout/notifications/index.d.ts.map +1 -1
  20. package/lib/internal/template/app-layout/notifications/index.js +2 -2
  21. package/lib/internal/template/app-layout/notifications/index.js.map +1 -1
  22. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -2
  23. package/lib/internal/template/app-layout/notifications/styles.scoped.css +14 -6
  24. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -2
  25. package/lib/internal/template/app-layout/styles.css.js +26 -26
  26. package/lib/internal/template/app-layout/styles.scoped.css +35 -35
  27. package/lib/internal/template/app-layout/styles.selectors.js +26 -26
  28. package/lib/internal/template/app-layout/visual-refresh/notifications.d.ts.map +1 -1
  29. package/lib/internal/template/app-layout/visual-refresh/notifications.js +6 -1
  30. package/lib/internal/template/app-layout/visual-refresh/notifications.js.map +1 -1
  31. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +60 -60
  32. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +260 -260
  33. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +60 -60
  34. package/lib/internal/template/collection-preferences/index.d.ts +1 -1
  35. package/lib/internal/template/collection-preferences/index.d.ts.map +1 -1
  36. package/lib/internal/template/collection-preferences/index.js +6 -4
  37. package/lib/internal/template/collection-preferences/index.js.map +1 -1
  38. package/lib/internal/template/collection-preferences/interfaces.d.ts +17 -0
  39. package/lib/internal/template/collection-preferences/interfaces.d.ts.map +1 -1
  40. package/lib/internal/template/collection-preferences/interfaces.js.map +1 -1
  41. package/lib/internal/template/collection-preferences/styles.css.js +21 -20
  42. package/lib/internal/template/collection-preferences/styles.scoped.css +22 -21
  43. package/lib/internal/template/collection-preferences/styles.selectors.js +21 -20
  44. package/lib/internal/template/collection-preferences/utils.d.ts +6 -1
  45. package/lib/internal/template/collection-preferences/utils.d.ts.map +1 -1
  46. package/lib/internal/template/collection-preferences/utils.js +10 -1
  47. package/lib/internal/template/collection-preferences/utils.js.map +1 -1
  48. package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
  49. package/lib/internal/template/flashbar/collapsible-flashbar.js +4 -4
  50. package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
  51. package/lib/internal/template/flashbar/styles.css.js +45 -43
  52. package/lib/internal/template/flashbar/styles.scoped.css +289 -176
  53. package/lib/internal/template/flashbar/styles.selectors.js +45 -43
  54. package/lib/internal/template/internal/base-component/styles.scoped.css +66 -0
  55. package/lib/internal/template/internal/components/dropdown/index.d.ts.map +1 -1
  56. package/lib/internal/template/internal/components/dropdown/index.js +2 -1
  57. package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
  58. package/lib/internal/template/internal/environment.js +1 -1
  59. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  60. package/lib/internal/template/internal/generated/custom-css-properties/index.js +29 -28
  61. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  62. package/lib/internal/template/internal/generated/theming/index.cjs +358 -0
  63. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +165 -0
  64. package/lib/internal/template/internal/generated/theming/index.d.ts +165 -0
  65. package/lib/internal/template/internal/generated/theming/index.js +358 -0
  66. package/lib/internal/template/split-panel/styles.css.js +59 -59
  67. package/lib/internal/template/split-panel/styles.scoped.css +83 -83
  68. package/lib/internal/template/split-panel/styles.selectors.js +59 -59
  69. package/lib/internal/template/table/index.d.ts.map +1 -1
  70. package/lib/internal/template/table/index.js +2 -2
  71. package/lib/internal/template/table/index.js.map +1 -1
  72. package/lib/internal/template/table/interfaces.d.ts +4 -0
  73. package/lib/internal/template/table/interfaces.d.ts.map +1 -1
  74. package/lib/internal/template/table/interfaces.js.map +1 -1
  75. package/lib/internal/template/table/internal.d.ts.map +1 -1
  76. package/lib/internal/template/table/internal.js +4 -3
  77. package/lib/internal/template/table/internal.js.map +1 -1
  78. package/lib/internal/template/table/sticky-header.d.ts +1 -0
  79. package/lib/internal/template/table/sticky-header.d.ts.map +1 -1
  80. package/lib/internal/template/table/sticky-header.js +3 -2
  81. package/lib/internal/template/table/sticky-header.js.map +1 -1
  82. package/lib/internal/template/test-utils/dom/collection-preferences/index.d.ts +1 -0
  83. package/lib/internal/template/test-utils/dom/collection-preferences/index.js +3 -0
  84. package/lib/internal/template/test-utils/dom/collection-preferences/index.js.map +1 -1
  85. package/lib/internal/template/test-utils/selectors/collection-preferences/index.d.ts +1 -0
  86. package/lib/internal/template/test-utils/selectors/collection-preferences/index.js +3 -0
  87. package/lib/internal/template/test-utils/selectors/collection-preferences/index.js.map +1 -1
  88. package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
  89. package/package.json +1 -1
@@ -94,147 +94,147 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
94
94
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
95
  SPDX-License-Identifier: Apache-2.0
96
96
  */
97
- .awsui_root_lm6vo_9anjf_97:not(#\9),
98
- .awsui_layout-wrapper_lm6vo_9anjf_98:not(#\9) {
97
+ .awsui_root_lm6vo_hpygk_97:not(#\9),
98
+ .awsui_layout-wrapper_lm6vo_hpygk_98:not(#\9) {
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  position: relative;
102
102
  }
103
103
 
104
- .awsui_root-no-scroll_lm6vo_9anjf_104:not(#\9) {
104
+ .awsui_root-no-scroll_lm6vo_hpygk_104:not(#\9) {
105
105
  position: relative;
106
106
  z-index: 1;
107
107
  }
108
108
 
109
- .awsui_layout_lm6vo_9anjf_98:not(#\9) {
109
+ .awsui_layout_lm6vo_hpygk_98:not(#\9) {
110
110
  flex: 1 1 auto;
111
111
  display: flex;
112
112
  align-items: stretch;
113
113
  background-color: var(--color-background-layout-main-q0tbxx, #f2f3f3);
114
114
  }
115
- .awsui_layout-no-scroll_lm6vo_9anjf_115:not(#\9) {
115
+ .awsui_layout-no-scroll_lm6vo_hpygk_115:not(#\9) {
116
116
  overflow: hidden;
117
117
  }
118
118
 
119
- .awsui_layout-main_lm6vo_9anjf_119:not(#\9) {
119
+ .awsui_layout-main_lm6vo_hpygk_119:not(#\9) {
120
120
  flex: 1;
121
121
  min-width: 0;
122
122
  background-color: var(--color-background-layout-main-q0tbxx, #f2f3f3);
123
123
  position: relative;
124
124
  }
125
- .awsui_layout-main-scrollable_lm6vo_9anjf_125:not(#\9) {
125
+ .awsui_layout-main-scrollable_lm6vo_hpygk_125:not(#\9) {
126
126
  overflow: auto;
127
127
  }
128
128
 
129
129
  /* stylelint-disable-next-line selector-combinator-disallowed-list, selector-max-universal */
130
- .awsui_unfocusable_lm6vo_9anjf_130 *:not(#\9) {
130
+ .awsui_unfocusable_lm6vo_hpygk_130 *:not(#\9) {
131
131
  visibility: hidden;
132
132
  }
133
133
 
134
- .awsui_navigation-panel_lm6vo_9anjf_134:not(#\9) {
134
+ .awsui_navigation-panel_lm6vo_hpygk_134:not(#\9) {
135
135
  overflow-anchor: none;
136
136
  }
137
137
 
138
- .awsui_drawer_lm6vo_9anjf_138:not(#\9) {
138
+ .awsui_drawer_lm6vo_hpygk_138:not(#\9) {
139
139
  flex-shrink: 0;
140
140
  position: relative;
141
141
  word-wrap: break-word;
142
142
  box-shadow: var(--shadow-panel-v9vx7i, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
143
143
  }
144
- .awsui_drawer_lm6vo_9anjf_138:not(#\9):not(.awsui_drawer-mobile_lm6vo_9anjf_144) {
145
- z-index: 850;
144
+ .awsui_drawer_lm6vo_hpygk_138:not(#\9):not(.awsui_drawer-mobile_lm6vo_hpygk_144) {
145
+ z-index: 830;
146
146
  }
147
- .awsui_drawer-closed_lm6vo_9anjf_147:not(#\9) {
147
+ .awsui_drawer-closed_lm6vo_hpygk_147:not(#\9) {
148
148
  min-width: 40px;
149
149
  cursor: pointer;
150
150
  }
151
- .awsui_drawer-closed_lm6vo_9anjf_147.awsui_drawer-mobile_lm6vo_9anjf_144:not(#\9) {
151
+ .awsui_drawer-closed_lm6vo_hpygk_147.awsui_drawer-mobile_lm6vo_hpygk_144:not(#\9) {
152
152
  display: none;
153
153
  }
154
154
 
155
- .awsui_drawer-content_lm6vo_9anjf_155:not(#\9) {
155
+ .awsui_drawer-content_lm6vo_hpygk_155:not(#\9) {
156
156
  position: fixed;
157
157
  overflow: auto;
158
158
  background-color: var(--color-background-layout-panel-content-r9pdjh, #ffffff);
159
159
  }
160
- .awsui_drawer-mobile_lm6vo_9anjf_144 > .awsui_drawer-content_lm6vo_9anjf_155:not(#\9) {
160
+ .awsui_drawer-mobile_lm6vo_hpygk_144 > .awsui_drawer-content_lm6vo_hpygk_155:not(#\9) {
161
161
  z-index: 1001;
162
162
  top: 0;
163
163
  bottom: 0;
164
164
  left: 0;
165
165
  right: 0;
166
166
  }
167
- .awsui_drawer-closed_lm6vo_9anjf_147 > .awsui_drawer-content_lm6vo_9anjf_155:not(#\9) {
167
+ .awsui_drawer-closed_lm6vo_hpygk_147 > .awsui_drawer-content_lm6vo_hpygk_155:not(#\9) {
168
168
  width: 40px;
169
169
  }
170
- .awsui_drawer-closed_lm6vo_9anjf_147 > .awsui_drawer-content_lm6vo_9anjf_155:not(#\9):hover {
170
+ .awsui_drawer-closed_lm6vo_hpygk_147 > .awsui_drawer-content_lm6vo_hpygk_155:not(#\9):hover {
171
171
  background: var(--color-background-layout-panel-hover-thdv3z, #eaeded);
172
172
  }
173
- .awsui_drawer-content_lm6vo_9anjf_155 > [aria-hidden=true]:not(#\9) {
173
+ .awsui_drawer-content_lm6vo_hpygk_155 > [aria-hidden=true]:not(#\9) {
174
174
  display: none;
175
175
  }
176
176
 
177
- .awsui_toggle_lm6vo_9anjf_177:not(#\9) {
177
+ .awsui_toggle_lm6vo_hpygk_177:not(#\9) {
178
178
  box-sizing: border-box;
179
179
  padding: var(--space-xxs-ynfts5, 4px) 7px;
180
180
  }
181
181
 
182
- .awsui_visual-refresh-toggle_lm6vo_9anjf_182:not(#\9) {
182
+ .awsui_visual-refresh-toggle_lm6vo_hpygk_182:not(#\9) {
183
183
  position: fixed;
184
184
  padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-layout-toggle-padding-axl9jr, 20px);
185
185
  }
186
- .awsui_visual-refresh-toggle-type-tools_lm6vo_9anjf_186:not(#\9) {
186
+ .awsui_visual-refresh-toggle-type-tools_lm6vo_hpygk_186:not(#\9) {
187
187
  right: 0;
188
188
  }
189
- .awsui_visual-refresh-toggle-type-navigation_lm6vo_9anjf_189:not(#\9) {
189
+ .awsui_visual-refresh-toggle-type-navigation_lm6vo_hpygk_189:not(#\9) {
190
190
  left: 0;
191
191
  }
192
- .awsui_visual-refresh-toggle_lm6vo_9anjf_182[aria-hidden=true]:not(#\9) {
192
+ .awsui_visual-refresh-toggle_lm6vo_hpygk_182[aria-hidden=true]:not(#\9) {
193
193
  visibility: hidden;
194
194
  }
195
- .awsui_visual-refresh-toggle_lm6vo_9anjf_182[aria-hidden=false]:not(#\9) {
195
+ .awsui_visual-refresh-toggle_lm6vo_hpygk_182[aria-hidden=false]:not(#\9) {
196
196
  visibility: visible;
197
197
  }
198
198
 
199
- .awsui_breadcrumbs-desktop_lm6vo_9anjf_199:not(#\9) {
199
+ .awsui_breadcrumbs-desktop_lm6vo_hpygk_199:not(#\9) {
200
200
  padding-top: var(--space-scaled-m-pv0fmt, 16px);
201
201
  padding-bottom: var(--space-scaled-s-cu1hzn, 12px);
202
202
  }
203
203
 
204
- .awsui_content-header-wrapper_lm6vo_9anjf_204:not(#\9) {
204
+ .awsui_content-header-wrapper_lm6vo_hpygk_204:not(#\9) {
205
205
  padding-bottom: var(--space-content-header-padding-bottom-m7tdoi, 16px);
206
206
  }
207
207
 
208
- .awsui_content-wrapper_lm6vo_9anjf_208:not(#\9) {
208
+ .awsui_content-wrapper_lm6vo_hpygk_208:not(#\9) {
209
209
  padding-bottom: var(--space-layout-content-bottom-ebez2l, 20px);
210
210
  }
211
211
 
212
- .awsui_content-overlapped_lm6vo_9anjf_212:not(#\9) {
212
+ .awsui_content-overlapped_lm6vo_hpygk_212:not(#\9) {
213
213
  margin-top: calc(-1 * var(--space-dark-header-overlap-distance-ync2s3, 0px));
214
214
  }
215
215
 
216
- .awsui_content-extra-top-padding_lm6vo_9anjf_216:not(#\9) {
216
+ .awsui_content-extra-top-padding_lm6vo_hpygk_216:not(#\9) {
217
217
  padding-top: var(--space-scaled-m-pv0fmt, 16px);
218
218
  }
219
219
 
220
- .awsui_panel-wrapper-outer_lm6vo_9anjf_220:not(#\9) {
220
+ .awsui_panel-wrapper-outer_lm6vo_hpygk_220:not(#\9) {
221
221
  position: fixed;
222
222
  height: 100%;
223
- z-index: 850;
223
+ z-index: 830;
224
224
  display: flex;
225
225
  }
226
- .awsui_panel-wrapper-outer_lm6vo_9anjf_220.awsui_mobile_lm6vo_9anjf_226:not(#\9) {
226
+ .awsui_panel-wrapper-outer_lm6vo_hpygk_220.awsui_mobile_lm6vo_hpygk_226:not(#\9) {
227
227
  left: 0;
228
228
  right: 0;
229
229
  z-index: -1;
230
230
  pointer-events: none;
231
231
  }
232
- .awsui_panel-wrapper-outer_lm6vo_9anjf_220.awsui_mobile_lm6vo_9anjf_226.awsui_open_lm6vo_9anjf_232:not(#\9) {
232
+ .awsui_panel-wrapper-outer_lm6vo_hpygk_220.awsui_mobile_lm6vo_hpygk_226.awsui_open_lm6vo_hpygk_232:not(#\9) {
233
233
  z-index: 1001;
234
234
  width: 100vw;
235
235
  pointer-events: auto;
236
236
  }
237
237
 
238
- .awsui_panel-wrapper-inner_lm6vo_9anjf_238:not(#\9) {
238
+ .awsui_panel-wrapper-inner_lm6vo_hpygk_238:not(#\9) {
239
239
  background: var(--color-background-layout-panel-content-r9pdjh, #ffffff);
240
240
  }
@@ -2,31 +2,31 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_lm6vo_9anjf_97",
6
- "layout-wrapper": "awsui_layout-wrapper_lm6vo_9anjf_98",
7
- "root-no-scroll": "awsui_root-no-scroll_lm6vo_9anjf_104",
8
- "layout": "awsui_layout_lm6vo_9anjf_98",
9
- "layout-no-scroll": "awsui_layout-no-scroll_lm6vo_9anjf_115",
10
- "layout-main": "awsui_layout-main_lm6vo_9anjf_119",
11
- "layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_9anjf_125",
12
- "unfocusable": "awsui_unfocusable_lm6vo_9anjf_130",
13
- "navigation-panel": "awsui_navigation-panel_lm6vo_9anjf_134",
14
- "drawer": "awsui_drawer_lm6vo_9anjf_138",
15
- "drawer-mobile": "awsui_drawer-mobile_lm6vo_9anjf_144",
16
- "drawer-closed": "awsui_drawer-closed_lm6vo_9anjf_147",
17
- "drawer-content": "awsui_drawer-content_lm6vo_9anjf_155",
18
- "toggle": "awsui_toggle_lm6vo_9anjf_177",
19
- "visual-refresh-toggle": "awsui_visual-refresh-toggle_lm6vo_9anjf_182",
20
- "visual-refresh-toggle-type-tools": "awsui_visual-refresh-toggle-type-tools_lm6vo_9anjf_186",
21
- "visual-refresh-toggle-type-navigation": "awsui_visual-refresh-toggle-type-navigation_lm6vo_9anjf_189",
22
- "breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_9anjf_199",
23
- "content-header-wrapper": "awsui_content-header-wrapper_lm6vo_9anjf_204",
24
- "content-wrapper": "awsui_content-wrapper_lm6vo_9anjf_208",
25
- "content-overlapped": "awsui_content-overlapped_lm6vo_9anjf_212",
26
- "content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_9anjf_216",
27
- "panel-wrapper-outer": "awsui_panel-wrapper-outer_lm6vo_9anjf_220",
28
- "mobile": "awsui_mobile_lm6vo_9anjf_226",
29
- "open": "awsui_open_lm6vo_9anjf_232",
30
- "panel-wrapper-inner": "awsui_panel-wrapper-inner_lm6vo_9anjf_238"
5
+ "root": "awsui_root_lm6vo_hpygk_97",
6
+ "layout-wrapper": "awsui_layout-wrapper_lm6vo_hpygk_98",
7
+ "root-no-scroll": "awsui_root-no-scroll_lm6vo_hpygk_104",
8
+ "layout": "awsui_layout_lm6vo_hpygk_98",
9
+ "layout-no-scroll": "awsui_layout-no-scroll_lm6vo_hpygk_115",
10
+ "layout-main": "awsui_layout-main_lm6vo_hpygk_119",
11
+ "layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_hpygk_125",
12
+ "unfocusable": "awsui_unfocusable_lm6vo_hpygk_130",
13
+ "navigation-panel": "awsui_navigation-panel_lm6vo_hpygk_134",
14
+ "drawer": "awsui_drawer_lm6vo_hpygk_138",
15
+ "drawer-mobile": "awsui_drawer-mobile_lm6vo_hpygk_144",
16
+ "drawer-closed": "awsui_drawer-closed_lm6vo_hpygk_147",
17
+ "drawer-content": "awsui_drawer-content_lm6vo_hpygk_155",
18
+ "toggle": "awsui_toggle_lm6vo_hpygk_177",
19
+ "visual-refresh-toggle": "awsui_visual-refresh-toggle_lm6vo_hpygk_182",
20
+ "visual-refresh-toggle-type-tools": "awsui_visual-refresh-toggle-type-tools_lm6vo_hpygk_186",
21
+ "visual-refresh-toggle-type-navigation": "awsui_visual-refresh-toggle-type-navigation_lm6vo_hpygk_189",
22
+ "breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_hpygk_199",
23
+ "content-header-wrapper": "awsui_content-header-wrapper_lm6vo_hpygk_204",
24
+ "content-wrapper": "awsui_content-wrapper_lm6vo_hpygk_208",
25
+ "content-overlapped": "awsui_content-overlapped_lm6vo_hpygk_212",
26
+ "content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_hpygk_216",
27
+ "panel-wrapper-outer": "awsui_panel-wrapper-outer_lm6vo_hpygk_220",
28
+ "mobile": "awsui_mobile_lm6vo_hpygk_226",
29
+ "open": "awsui_open_lm6vo_hpygk_232",
30
+ "panel-wrapper-inner": "awsui_panel-wrapper-inner_lm6vo_hpygk_238"
31
31
  };
32
32
 
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/notifications.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,uBAkCpC"}
1
+ {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/notifications.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,uBAsCpC"}
@@ -16,10 +16,15 @@ export default function Notifications() {
16
16
  if (!notifications) {
17
17
  return null;
18
18
  }
19
+ /*
20
+ The notificationsElement ref is assigned to an inner div to prevent internal bottom margin from affecting the
21
+ calculated height, which is used for sticky elements below.
22
+ */
19
23
  return (React.createElement("div", { role: "region", "aria-label": (_b = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.notifications) !== null && _b !== void 0 ? _b : undefined, className: clsx(styles.notifications, (_a = {},
20
24
  _a[styles['has-notifications-content']] = hasNotificationsContent,
21
25
  _a[styles['sticky-notifications']] = stickyNotifications,
22
26
  _a[styles.unfocusable] = isMobile && isAnyPanelOpen,
23
- _a), testutilStyles.notifications, 'awsui-context-content-header'), ref: notificationsElement }, notifications));
27
+ _a), testutilStyles.notifications, 'awsui-context-content-header') },
28
+ React.createElement("div", { ref: notificationsElement }, notifications)));
24
29
  }
25
30
  //# sourceMappingURL=notifications.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/notifications.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAE3D;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa;;;IAC7B,IAAA,KAQF,qBAAqB,EAAE,EAPzB,UAAU,gBAAA,EACV,uBAAuB,6BAAA,EACvB,aAAa,mBAAA,EACb,oBAAoB,0BAAA,EACpB,mBAAmB,yBAAA,EACnB,QAAQ,cAAA,EACR,cAAc,oBACW,CAAC;IAE5B,IAAI,CAAC,aAAa,EAAE;QAClB,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,6BACE,IAAI,EAAC,QAAQ,gBACD,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa,mCAAI,SAAS,EAClD,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,aAAa;YAElB,GAAC,MAAM,CAAC,2BAA2B,CAAC,IAAG,uBAAuB;YAC9D,GAAC,MAAM,CAAC,sBAAsB,CAAC,IAAG,mBAAmB;YACrD,GAAC,MAAM,CAAC,WAAW,IAAG,QAAQ,IAAI,cAAc;iBAElD,cAAc,CAAC,aAAa,EAC5B,8BAA8B,CAC/B,EACD,GAAG,EAAE,oBAAoB,IAExB,aAAa,CACV,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { useAppLayoutInternals } from './context';\nimport styles from './styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\n\n/**\n * The CSS class 'awsui-context-content-header' needs to be added to the root element so\n * that the design tokens used are overridden with the appropriate values.\n */\nexport default function Notifications() {\n const {\n ariaLabels,\n hasNotificationsContent,\n notifications,\n notificationsElement,\n stickyNotifications,\n isMobile,\n isAnyPanelOpen,\n } = useAppLayoutInternals();\n\n if (!notifications) {\n return null;\n }\n\n return (\n <div\n role=\"region\"\n aria-label={ariaLabels?.notifications ?? undefined}\n className={clsx(\n styles.notifications,\n {\n [styles['has-notifications-content']]: hasNotificationsContent,\n [styles['sticky-notifications']]: stickyNotifications,\n [styles.unfocusable]: isMobile && isAnyPanelOpen,\n },\n testutilStyles.notifications,\n 'awsui-context-content-header'\n )}\n ref={notificationsElement}\n >\n {notifications}\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/notifications.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAE3D;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa;;;IAC7B,IAAA,KAQF,qBAAqB,EAAE,EAPzB,UAAU,gBAAA,EACV,uBAAuB,6BAAA,EACvB,aAAa,mBAAA,EACb,oBAAoB,0BAAA,EACpB,mBAAmB,yBAAA,EACnB,QAAQ,cAAA,EACR,cAAc,oBACW,CAAC;IAE5B,IAAI,CAAC,aAAa,EAAE;QAClB,OAAO,IAAI,CAAC;KACb;IAED;;;OAGG;IAEH,OAAO,CACL,6BACE,IAAI,EAAC,QAAQ,gBACD,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa,mCAAI,SAAS,EAClD,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,aAAa;YAElB,GAAC,MAAM,CAAC,2BAA2B,CAAC,IAAG,uBAAuB;YAC9D,GAAC,MAAM,CAAC,sBAAsB,CAAC,IAAG,mBAAmB;YACrD,GAAC,MAAM,CAAC,WAAW,IAAG,QAAQ,IAAI,cAAc;iBAElD,cAAc,CAAC,aAAa,EAC5B,8BAA8B,CAC/B;QAED,6BAAK,GAAG,EAAE,oBAAoB,IAAG,aAAa,CAAO,CACjD,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { useAppLayoutInternals } from './context';\nimport styles from './styles.css.js';\nimport testutilStyles from '../test-classes/styles.css.js';\n\n/**\n * The CSS class 'awsui-context-content-header' needs to be added to the root element so\n * that the design tokens used are overridden with the appropriate values.\n */\nexport default function Notifications() {\n const {\n ariaLabels,\n hasNotificationsContent,\n notifications,\n notificationsElement,\n stickyNotifications,\n isMobile,\n isAnyPanelOpen,\n } = useAppLayoutInternals();\n\n if (!notifications) {\n return null;\n }\n\n /*\n The notificationsElement ref is assigned to an inner div to prevent internal bottom margin from affecting the\n calculated height, which is used for sticky elements below.\n */\n\n return (\n <div\n role=\"region\"\n aria-label={ariaLabels?.notifications ?? undefined}\n className={clsx(\n styles.notifications,\n {\n [styles['has-notifications-content']]: hasNotificationsContent,\n [styles['sticky-notifications']]: stickyNotifications,\n [styles.unfocusable]: isMobile && isAnyPanelOpen,\n },\n testutilStyles.notifications,\n 'awsui-context-content-header'\n )}\n >\n <div ref={notificationsElement}>{notifications}</div>\n </div>\n );\n}\n"]}
@@ -1,65 +1,65 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "appbar": "awsui_appbar_hyvsj_7fye7_93",
5
- "appbar-nav": "awsui_appbar-nav_hyvsj_7fye7_117",
6
- "breadcrumbs": "awsui_breadcrumbs_hyvsj_7fye7_121",
7
- "appbar-tools": "awsui_appbar-tools_hyvsj_7fye7_125",
8
- "has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_7fye7_166",
9
- "has-notifications-content": "awsui_has-notifications-content_hyvsj_7fye7_173",
10
- "has-header": "awsui_has-header_hyvsj_7fye7_179",
11
- "has-dynamic-overlap-height": "awsui_has-dynamic-overlap-height_hyvsj_7fye7_179",
12
- "content-type-wizard": "awsui_content-type-wizard_hyvsj_7fye7_180",
13
- "content-type-cards": "awsui_content-type-cards_hyvsj_7fye7_183",
14
- "content-type-table": "awsui_content-type-table_hyvsj_7fye7_184",
15
- "has-sticky-background": "awsui_has-sticky-background_hyvsj_7fye7_187",
16
- "background": "awsui_background_hyvsj_7fye7_221",
17
- "notifications-appbar-header": "awsui_notifications-appbar-header_hyvsj_7fye7_224",
18
- "sticky-notifications": "awsui_sticky-notifications_hyvsj_7fye7_236",
19
- "overlap": "awsui_overlap_hyvsj_7fye7_242",
20
- "content": "awsui_content_hyvsj_7fye7_180",
21
- "layout": "awsui_layout_hyvsj_7fye7_333",
22
- "has-max-content-width": "awsui_has-max-content-width_hyvsj_7fye7_415",
23
- "is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_7fye7_442",
24
- "disable-body-scroll": "awsui_disable-body-scroll_hyvsj_7fye7_445",
25
- "has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_7fye7_449",
26
- "has-split-panel": "awsui_has-split-panel_hyvsj_7fye7_463",
27
- "split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_7fye7_463",
28
- "has-content-gap-left": "awsui_has-content-gap-left_hyvsj_7fye7_475",
29
- "has-content-gap-right": "awsui_has-content-gap-right_hyvsj_7fye7_478",
30
- "block-body-scroll": "awsui_block-body-scroll_hyvsj_7fye7_493",
31
- "container": "awsui_container_hyvsj_7fye7_501",
32
- "disable-content-paddings": "awsui_disable-content-paddings_hyvsj_7fye7_527",
33
- "is-navigation-open": "awsui_is-navigation-open_hyvsj_7fye7_532",
34
- "is-tools-open": "awsui_is-tools-open_hyvsj_7fye7_535",
35
- "is-split-panel-open": "awsui_is-split-panel-open_hyvsj_7fye7_535",
36
- "split-panel-position-side": "awsui_split-panel-position-side_hyvsj_7fye7_535",
37
- "content-type-default": "awsui_content-type-default_hyvsj_7fye7_555",
38
- "content-type-form": "awsui_content-type-form_hyvsj_7fye7_555",
39
- "unfocusable": "awsui_unfocusable_hyvsj_7fye7_596",
40
- "navigation-container": "awsui_navigation-container_hyvsj_7fye7_606",
41
- "show-navigation": "awsui_show-navigation_hyvsj_7fye7_641",
42
- "animating": "awsui_animating_hyvsj_7fye7_663",
43
- "showButtons": "awsui_showButtons_hyvsj_7fye7_1",
44
- "navigation": "awsui_navigation_hyvsj_7fye7_606",
45
- "openNavigation": "awsui_openNavigation_hyvsj_7fye7_1",
46
- "animated-content": "awsui_animated-content_hyvsj_7fye7_724",
47
- "hide-navigation": "awsui_hide-navigation_hyvsj_7fye7_733",
48
- "notifications": "awsui_notifications_hyvsj_7fye7_224",
49
- "split-panel-bottom": "awsui_split-panel-bottom_hyvsj_7fye7_799",
50
- "position-bottom": "awsui_position-bottom_hyvsj_7fye7_845",
51
- "openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_7fye7_1",
52
- "split-panel-side": "awsui_split-panel-side_hyvsj_7fye7_874",
53
- "position-side": "awsui_position-side_hyvsj_7fye7_902",
54
- "openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_7fye7_1",
55
- "tools-container": "awsui_tools-container_hyvsj_7fye7_939",
56
- "tools": "awsui_tools_hyvsj_7fye7_939",
57
- "openTools": "awsui_openTools_hyvsj_7fye7_1",
58
- "has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_7fye7_1024",
59
- "hide-tools": "awsui_hide-tools_hyvsj_7fye7_1034",
60
- "show-tools": "awsui_show-tools_hyvsj_7fye7_1046",
61
- "has-tools-form": "awsui_has-tools-form_hyvsj_7fye7_1024",
62
- "trigger": "awsui_trigger_hyvsj_7fye7_1103",
63
- "selected": "awsui_selected_hyvsj_7fye7_1142"
4
+ "appbar": "awsui_appbar_hyvsj_1q24h_93",
5
+ "appbar-nav": "awsui_appbar-nav_hyvsj_1q24h_117",
6
+ "breadcrumbs": "awsui_breadcrumbs_hyvsj_1q24h_121",
7
+ "appbar-tools": "awsui_appbar-tools_hyvsj_1q24h_125",
8
+ "has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_1q24h_166",
9
+ "has-notifications-content": "awsui_has-notifications-content_hyvsj_1q24h_173",
10
+ "has-header": "awsui_has-header_hyvsj_1q24h_179",
11
+ "has-dynamic-overlap-height": "awsui_has-dynamic-overlap-height_hyvsj_1q24h_179",
12
+ "content-type-wizard": "awsui_content-type-wizard_hyvsj_1q24h_180",
13
+ "content-type-cards": "awsui_content-type-cards_hyvsj_1q24h_183",
14
+ "content-type-table": "awsui_content-type-table_hyvsj_1q24h_184",
15
+ "has-sticky-background": "awsui_has-sticky-background_hyvsj_1q24h_187",
16
+ "background": "awsui_background_hyvsj_1q24h_221",
17
+ "notifications-appbar-header": "awsui_notifications-appbar-header_hyvsj_1q24h_224",
18
+ "sticky-notifications": "awsui_sticky-notifications_hyvsj_1q24h_236",
19
+ "overlap": "awsui_overlap_hyvsj_1q24h_242",
20
+ "content": "awsui_content_hyvsj_1q24h_180",
21
+ "layout": "awsui_layout_hyvsj_1q24h_333",
22
+ "has-max-content-width": "awsui_has-max-content-width_hyvsj_1q24h_415",
23
+ "is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_1q24h_442",
24
+ "disable-body-scroll": "awsui_disable-body-scroll_hyvsj_1q24h_445",
25
+ "has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_1q24h_449",
26
+ "has-split-panel": "awsui_has-split-panel_hyvsj_1q24h_463",
27
+ "split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_1q24h_463",
28
+ "has-content-gap-left": "awsui_has-content-gap-left_hyvsj_1q24h_475",
29
+ "has-content-gap-right": "awsui_has-content-gap-right_hyvsj_1q24h_478",
30
+ "block-body-scroll": "awsui_block-body-scroll_hyvsj_1q24h_493",
31
+ "container": "awsui_container_hyvsj_1q24h_501",
32
+ "disable-content-paddings": "awsui_disable-content-paddings_hyvsj_1q24h_527",
33
+ "is-navigation-open": "awsui_is-navigation-open_hyvsj_1q24h_532",
34
+ "is-tools-open": "awsui_is-tools-open_hyvsj_1q24h_535",
35
+ "is-split-panel-open": "awsui_is-split-panel-open_hyvsj_1q24h_535",
36
+ "split-panel-position-side": "awsui_split-panel-position-side_hyvsj_1q24h_535",
37
+ "content-type-default": "awsui_content-type-default_hyvsj_1q24h_555",
38
+ "content-type-form": "awsui_content-type-form_hyvsj_1q24h_555",
39
+ "unfocusable": "awsui_unfocusable_hyvsj_1q24h_596",
40
+ "navigation-container": "awsui_navigation-container_hyvsj_1q24h_606",
41
+ "show-navigation": "awsui_show-navigation_hyvsj_1q24h_641",
42
+ "animating": "awsui_animating_hyvsj_1q24h_663",
43
+ "showButtons": "awsui_showButtons_hyvsj_1q24h_1",
44
+ "navigation": "awsui_navigation_hyvsj_1q24h_606",
45
+ "openNavigation": "awsui_openNavigation_hyvsj_1q24h_1",
46
+ "animated-content": "awsui_animated-content_hyvsj_1q24h_724",
47
+ "hide-navigation": "awsui_hide-navigation_hyvsj_1q24h_733",
48
+ "notifications": "awsui_notifications_hyvsj_1q24h_224",
49
+ "split-panel-bottom": "awsui_split-panel-bottom_hyvsj_1q24h_799",
50
+ "position-bottom": "awsui_position-bottom_hyvsj_1q24h_845",
51
+ "openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_1q24h_1",
52
+ "split-panel-side": "awsui_split-panel-side_hyvsj_1q24h_874",
53
+ "position-side": "awsui_position-side_hyvsj_1q24h_902",
54
+ "openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_1q24h_1",
55
+ "tools-container": "awsui_tools-container_hyvsj_1q24h_939",
56
+ "tools": "awsui_tools_hyvsj_1q24h_939",
57
+ "openTools": "awsui_openTools_hyvsj_1q24h_1",
58
+ "has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_1q24h_1024",
59
+ "hide-tools": "awsui_hide-tools_hyvsj_1q24h_1034",
60
+ "show-tools": "awsui_show-tools_hyvsj_1q24h_1046",
61
+ "has-tools-form": "awsui_has-tools-form_hyvsj_1q24h_1024",
62
+ "trigger": "awsui_trigger_hyvsj_1q24h_1103",
63
+ "selected": "awsui_selected_hyvsj_1q24h_1142"
64
64
  };
65
65