@cloudscape-design/components-themeable 3.0.1304 → 3.0.1306
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/skeleton/styles.scss +58 -0
- package/lib/internal/scss/calendar/calendar.scss +1 -1
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/toggle-button/styles.scss +4 -0
- package/lib/internal/scss/truncated-text/styles.scss +26 -0
- package/lib/internal/scss/truncated-text/test-classes/styles.scss +8 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +29 -27
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +115 -46
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +29 -27
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js +2 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +5 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
- package/lib/internal/template/calendar/styles.css.js +21 -21
- package/lib/internal/template/calendar/styles.scoped.css +44 -44
- package/lib/internal/template/calendar/styles.selectors.js +21 -21
- package/lib/internal/template/collection-preferences/content-display/index.d.ts.map +1 -1
- package/lib/internal/template/collection-preferences/content-display/index.js +1 -1
- package/lib/internal/template/collection-preferences/content-display/index.js.map +1 -1
- package/lib/internal/template/container/interfaces.d.ts +0 -1
- package/lib/internal/template/container/interfaces.d.ts.map +1 -1
- package/lib/internal/template/container/interfaces.js.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +30 -30
- package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +56 -56
- package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +30 -30
- package/lib/internal/template/dropdown/index.d.ts +0 -3
- package/lib/internal/template/dropdown/index.d.ts.map +1 -1
- package/lib/internal/template/dropdown/index.js +0 -3
- package/lib/internal/template/dropdown/index.js.map +1 -1
- package/lib/internal/template/i18n/messages/all.all.js +1 -1
- package/lib/internal/template/i18n/messages/all.all.json +1 -1
- package/lib/internal/template/i18n/messages/all.ar.js +1 -1
- package/lib/internal/template/i18n/messages/all.ar.json +1 -1
- package/lib/internal/template/i18n/messages/all.de.js +1 -1
- package/lib/internal/template/i18n/messages/all.de.json +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.js +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.json +1 -1
- package/lib/internal/template/i18n/messages/all.en.js +1 -1
- package/lib/internal/template/i18n/messages/all.en.json +1 -1
- package/lib/internal/template/i18n/messages/all.es.js +1 -1
- package/lib/internal/template/i18n/messages/all.es.json +1 -1
- package/lib/internal/template/i18n/messages/all.fr.js +1 -1
- package/lib/internal/template/i18n/messages/all.fr.json +1 -1
- package/lib/internal/template/i18n/messages/all.id.js +1 -1
- package/lib/internal/template/i18n/messages/all.id.json +1 -1
- package/lib/internal/template/i18n/messages/all.it.js +1 -1
- package/lib/internal/template/i18n/messages/all.it.json +1 -1
- package/lib/internal/template/i18n/messages/all.ja.js +1 -1
- package/lib/internal/template/i18n/messages/all.ja.json +1 -1
- package/lib/internal/template/i18n/messages/all.ko.js +1 -1
- package/lib/internal/template/i18n/messages/all.ko.json +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.js +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.json +1 -1
- package/lib/internal/template/icon-provider/index.d.ts +0 -3
- package/lib/internal/template/icon-provider/index.d.ts.map +1 -1
- package/lib/internal/template/icon-provider/index.js +0 -3
- package/lib/internal/template/icon-provider/index.js.map +1 -1
- package/lib/internal/template/index.d.ts +1 -0
- package/lib/internal/template/index.d.ts.map +1 -1
- package/lib/internal/template/index.js +1 -0
- package/lib/internal/template/index.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +16 -2
- package/lib/internal/template/internal/components/drag-handle/button.d.ts.map +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.js +1 -1
- package/lib/internal/template/internal/components/drag-handle/button.js.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/index.js +1 -0
- package/lib/internal/template/internal/components/sortable-area/index.js.map +1 -1
- package/lib/internal/template/internal/environment.d.ts +2 -1
- package/lib/internal/template/internal/environment.js +4 -3
- package/lib/internal/template/internal/environment.json +4 -3
- package/lib/internal/template/internal/generated/styles/tokens.d.ts +2 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +2 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +68 -0
- package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +27 -0
- package/lib/internal/template/internal/generated/theming/index.d.ts +27 -0
- package/lib/internal/template/internal/generated/theming/index.js +68 -0
- package/lib/internal/template/navigable-group/index.d.ts +0 -3
- package/lib/internal/template/navigable-group/index.d.ts.map +1 -1
- package/lib/internal/template/navigable-group/index.js +0 -3
- package/lib/internal/template/navigable-group/index.js.map +1 -1
- package/lib/internal/template/package.json +1 -0
- package/lib/internal/template/radio-button/index.d.ts +0 -3
- package/lib/internal/template/radio-button/index.d.ts.map +1 -1
- package/lib/internal/template/radio-button/index.js +0 -3
- package/lib/internal/template/radio-button/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/index.d.ts +28 -0
- package/lib/internal/template/test-utils/dom/index.js +20 -1
- package/lib/internal/template/test-utils/dom/index.js.map +1 -1
- package/lib/internal/template/test-utils/dom/truncated-text/index.d.ts +6 -0
- package/lib/internal/template/test-utils/dom/truncated-text/index.js +17 -0
- package/lib/internal/template/test-utils/dom/truncated-text/index.js.map +1 -0
- package/lib/internal/template/test-utils/selectors/index.d.ts +18 -0
- package/lib/internal/template/test-utils/selectors/index.js +15 -1
- package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/truncated-text/index.d.ts +6 -0
- package/lib/internal/template/test-utils/selectors/truncated-text/index.js +17 -0
- package/lib/internal/template/test-utils/selectors/truncated-text/index.js.map +1 -0
- package/lib/internal/template/toggle-button/styles.css.js +3 -3
- package/lib/internal/template/toggle-button/styles.scoped.css +6 -2
- package/lib/internal/template/toggle-button/styles.selectors.js +3 -3
- package/lib/internal/template/truncated-text/index.d.ts +4 -0
- package/lib/internal/template/truncated-text/index.d.ts.map +1 -0
- package/lib/internal/template/truncated-text/index.js +18 -0
- package/lib/internal/template/truncated-text/index.js.map +1 -0
- package/lib/internal/template/truncated-text/interfaces.d.ts +17 -0
- package/lib/internal/template/truncated-text/interfaces.d.ts.map +1 -0
- package/lib/internal/template/truncated-text/interfaces.js +2 -0
- package/lib/internal/template/truncated-text/interfaces.js.map +1 -0
- package/lib/internal/template/truncated-text/internal.d.ts +6 -0
- package/lib/internal/template/truncated-text/internal.d.ts.map +1 -0
- package/lib/internal/template/truncated-text/internal.js +47 -0
- package/lib/internal/template/truncated-text/internal.js.map +1 -0
- package/lib/internal/template/truncated-text/styles.css.js +6 -0
- package/lib/internal/template/truncated-text/styles.scoped.css +177 -0
- package/lib/internal/template/truncated-text/styles.selectors.js +7 -0
- package/lib/internal/template/truncated-text/test-classes/styles.css.js +6 -0
- package/lib/internal/template/truncated-text/test-classes/styles.scoped.css +7 -0
- package/lib/internal/template/truncated-text/test-classes/styles.selectors.js +7 -0
- package/package.json +1 -1
|
@@ -214,6 +214,64 @@
|
|
|
214
214
|
box-sizing: border-box;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
+
/**
|
|
218
|
+
* A zero-height sticky element placed in the toolbar grid area when the toolbar is absent
|
|
219
|
+
* and the left panel (AI drawer) is open. It reuses the toolbar's pseudo-element technique
|
|
220
|
+
* to render the border-radius corner between the AI drawer and the content area.
|
|
221
|
+
* In light mode: inverse radius trick (dark square + white square with radius).
|
|
222
|
+
* In dark mode: a vertical border line with a rounded top corner + top border on the element itself.
|
|
223
|
+
*/
|
|
224
|
+
.pseudo-toolbar {
|
|
225
|
+
grid-area: toolbar;
|
|
226
|
+
position: sticky;
|
|
227
|
+
z-index: constants.$toolbar-z-index;
|
|
228
|
+
|
|
229
|
+
&:before {
|
|
230
|
+
@include theming.dark-mode-only {
|
|
231
|
+
content: '';
|
|
232
|
+
position: absolute;
|
|
233
|
+
inline-size: awsui.$border-divider-section-width;
|
|
234
|
+
block-size: 100vh;
|
|
235
|
+
background: awsui.$color-border-layout;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.pseudo-toolbar-content {
|
|
241
|
+
position: relative;
|
|
242
|
+
|
|
243
|
+
@include theming.dark-mode-only {
|
|
244
|
+
border-block-start: awsui.$border-divider-section-width solid awsui.$color-border-layout;
|
|
245
|
+
border-start-start-radius: awsui.$space-xxs;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&:before,
|
|
249
|
+
&:after {
|
|
250
|
+
content: '';
|
|
251
|
+
position: absolute;
|
|
252
|
+
inset-block-start: 0;
|
|
253
|
+
inset-inline-start: 0;
|
|
254
|
+
inline-size: 5px;
|
|
255
|
+
block-size: 5px;
|
|
256
|
+
background: constants.$ai-drawer-background;
|
|
257
|
+
|
|
258
|
+
@include theming.dark-mode-only {
|
|
259
|
+
inset-block-start: -1px;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&::after {
|
|
264
|
+
background-color: awsui.$color-background-layout-toolbar;
|
|
265
|
+
border-start-start-radius: awsui.$space-xxs;
|
|
266
|
+
|
|
267
|
+
@include theming.dark-mode-only {
|
|
268
|
+
background-color: transparent;
|
|
269
|
+
border-inline-start: awsui.$border-divider-section-width solid awsui.$color-border-layout;
|
|
270
|
+
border-block-start: awsui.$border-divider-section-width solid awsui.$color-border-layout;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
217
275
|
.notifications-container {
|
|
218
276
|
grid-area: notifications;
|
|
219
277
|
}
|
|
@@ -15,7 +15,7 @@ $grid-nonmonth-day-color: awsui.$color-text-dropdown-item-secondary;
|
|
|
15
15
|
$grid-hover-background-color: awsui.$color-background-dropdown-item-hover;
|
|
16
16
|
$grid-hover-border-color: awsui.$color-border-dropdown-item-hover;
|
|
17
17
|
$grid-current-date-background-color: awsui.$color-background-calendar-current-date;
|
|
18
|
-
$grid-selected-text-color: awsui.$color-
|
|
18
|
+
$grid-selected-text-color: awsui.$color-text-calendar-date-selected;
|
|
19
19
|
$grid-selected-background-color: awsui.$color-background-control-checked;
|
|
20
20
|
$grid-selected-border-color: awsui.$color-background-control-checked;
|
|
21
21
|
$grid-in-range-background-color: awsui.$color-background-dropdown-item-selected;
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../internal/styles/tokens' as awsui;
|
|
7
7
|
|
|
8
|
+
.variant-normal {
|
|
9
|
+
background: awsui.$color-background-toggle-button-normal-default;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
.variant-normal.pressed {
|
|
9
13
|
background: awsui.$color-background-toggle-button-normal-pressed;
|
|
10
14
|
border-color: awsui.$color-border-toggle-button-normal-pressed;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@use '../internal/styles' as styles;
|
|
7
|
+
@use '../internal/styles/foundation' as foundation;
|
|
8
|
+
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
9
|
+
|
|
10
|
+
.root {
|
|
11
|
+
@include styles.text-overflow-ellipsis;
|
|
12
|
+
|
|
13
|
+
display: block;
|
|
14
|
+
inline-size: 100%;
|
|
15
|
+
max-inline-size: 100%;
|
|
16
|
+
min-inline-size: 0;
|
|
17
|
+
|
|
18
|
+
&:focus {
|
|
19
|
+
outline: none;
|
|
20
|
+
}
|
|
21
|
+
@include focus-visible.when-visible {
|
|
22
|
+
// Since this component is commonly used in scenarios where the content can be truncated,
|
|
23
|
+
// let's play it safe by pulling in the outline.
|
|
24
|
+
@include styles.focus-highlight(calc(-1 * #{foundation.$box-shadow-focused-width}));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"has-adaptive-widths-default": "awsui_has-adaptive-widths-
|
|
6
|
-
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-
|
|
7
|
-
"drawer-expanded-mode": "awsui_drawer-expanded-
|
|
8
|
-
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-
|
|
9
|
-
"bottom-drawer-expanded-mode": "awsui_bottom-drawer-expanded-
|
|
10
|
-
"ai-drawer": "awsui_ai-
|
|
11
|
-
"navigation": "
|
|
12
|
-
"tools": "
|
|
13
|
-
"global-tools": "awsui_global-
|
|
14
|
-
"bottom-tool": "awsui_bottom-
|
|
15
|
-
"tools-open": "awsui_tools-
|
|
16
|
-
"split-panel-side": "awsui_split-panel-
|
|
17
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
18
|
-
"panel-hidden": "awsui_panel-
|
|
19
|
-
"toolbar-container": "awsui_toolbar-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"main-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
4
|
+
"root": "awsui_root_7nfqu_1b6l2_153",
|
|
5
|
+
"has-adaptive-widths-default": "awsui_has-adaptive-widths-default_7nfqu_1b6l2_197",
|
|
6
|
+
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-dashboard_7nfqu_1b6l2_202",
|
|
7
|
+
"drawer-expanded-mode": "awsui_drawer-expanded-mode_7nfqu_1b6l2_217",
|
|
8
|
+
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-mode_7nfqu_1b6l2_220",
|
|
9
|
+
"bottom-drawer-expanded-mode": "awsui_bottom-drawer-expanded-mode_7nfqu_1b6l2_223",
|
|
10
|
+
"ai-drawer": "awsui_ai-drawer_7nfqu_1b6l2_220",
|
|
11
|
+
"navigation": "awsui_navigation_7nfqu_1b6l2_230",
|
|
12
|
+
"tools": "awsui_tools_7nfqu_1b6l2_231",
|
|
13
|
+
"global-tools": "awsui_global-tools_7nfqu_1b6l2_232",
|
|
14
|
+
"bottom-tool": "awsui_bottom-tool_7nfqu_1b6l2_233",
|
|
15
|
+
"tools-open": "awsui_tools-open_7nfqu_1b6l2_290",
|
|
16
|
+
"split-panel-side": "awsui_split-panel-side_7nfqu_1b6l2_304",
|
|
17
|
+
"split-panel-bottom": "awsui_split-panel-bottom_7nfqu_1b6l2_311",
|
|
18
|
+
"panel-hidden": "awsui_panel-hidden_7nfqu_1b6l2_324",
|
|
19
|
+
"toolbar-container": "awsui_toolbar-container_7nfqu_1b6l2_334",
|
|
20
|
+
"pseudo-toolbar": "awsui_pseudo-toolbar_7nfqu_1b6l2_348",
|
|
21
|
+
"pseudo-toolbar-content": "awsui_pseudo-toolbar-content_7nfqu_1b6l2_366",
|
|
22
|
+
"notifications-container": "awsui_notifications-container_7nfqu_1b6l2_410",
|
|
23
|
+
"notifications-background": "awsui_notifications-background_7nfqu_1b6l2_414",
|
|
24
|
+
"main-landmark": "awsui_main-landmark_7nfqu_1b6l2_425",
|
|
25
|
+
"main": "awsui_main_7nfqu_1b6l2_425",
|
|
26
|
+
"main-disable-paddings": "awsui_main-disable-paddings_7nfqu_1b6l2_434",
|
|
27
|
+
"content-header": "awsui_content-header_7nfqu_1b6l2_444",
|
|
28
|
+
"content": "awsui_content_7nfqu_1b6l2_444",
|
|
29
|
+
"unfocusable-mobile": "awsui_unfocusable-mobile_7nfqu_1b6l2_454",
|
|
30
|
+
"hidden": "awsui_hidden_7nfqu_1b6l2_459",
|
|
31
|
+
"breadcrumbs-own": "awsui_breadcrumbs-own_7nfqu_1b6l2_463",
|
|
32
|
+
"breadcrumbs-discovered": "awsui_breadcrumbs-discovered_7nfqu_1b6l2_463"
|
|
31
33
|
};
|
|
32
34
|
|
|
@@ -150,7 +150,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.
|
|
153
|
+
.awsui_root_7nfqu_1b6l2_153:not(#\9) {
|
|
154
154
|
border-collapse: separate;
|
|
155
155
|
border-spacing: 0;
|
|
156
156
|
box-sizing: border-box;
|
|
@@ -189,65 +189,65 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
189
189
|
grid-template-rows: min-content min-content 1fr;
|
|
190
190
|
}
|
|
191
191
|
@media (min-width: 689px) {
|
|
192
|
-
.
|
|
192
|
+
.awsui_root_7nfqu_1b6l2_153:not(#\9) {
|
|
193
193
|
grid-template-areas: "ai-drawer toolbar toolbar toolbar toolbar toolbar toolbar toolbar" "ai-drawer navigation . notifications . sideSplitPanel tools global-tools" "ai-drawer navigation . main . sideSplitPanel tools global-tools" "ai-drawer bottom-tool bottom-tool bottom-tool bottom-tool bottom-tool bottom-tool global-tools";
|
|
194
194
|
grid-template-columns: min-content min-content minmax(var(--space-layout-content-horizontal-q3zhej, 40px), 1fr) minmax(0, var(--awsui-max-content-width-6b9ypa)) minmax(var(--space-layout-content-horizontal-q3zhej, 40px), 1fr) min-content min-content;
|
|
195
195
|
grid-template-rows: min-content min-content 1fr min-content min-content;
|
|
196
196
|
}
|
|
197
|
-
.
|
|
197
|
+
.awsui_root_7nfqu_1b6l2_153.awsui_has-adaptive-widths-default_7nfqu_1b6l2_197:not(#\9) {
|
|
198
198
|
--awsui-max-content-width-6b9ypa: 1620px;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
@media (min-width: 689px) and (min-width: 1401px) {
|
|
202
|
-
.
|
|
202
|
+
.awsui_root_7nfqu_1b6l2_153.awsui_has-adaptive-widths-dashboard_7nfqu_1b6l2_202:not(#\9) {
|
|
203
203
|
--awsui-max-content-width-6b9ypa: 1280px;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
@media (min-width: 689px) and (min-width: 1921px) {
|
|
207
|
-
.
|
|
207
|
+
.awsui_root_7nfqu_1b6l2_153.awsui_has-adaptive-widths-dashboard_7nfqu_1b6l2_202:not(#\9) {
|
|
208
208
|
--awsui-max-content-width-6b9ypa: 1620px;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
@media (min-width: 689px) and (min-width: 2541px) {
|
|
212
|
-
.
|
|
212
|
+
.awsui_root_7nfqu_1b6l2_153.awsui_has-adaptive-widths-dashboard_7nfqu_1b6l2_202:not(#\9) {
|
|
213
213
|
--awsui-max-content-width-6b9ypa: 2160px;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
@media (min-width: 689px) {
|
|
217
|
-
.
|
|
217
|
+
.awsui_root_7nfqu_1b6l2_153.awsui_drawer-expanded-mode_7nfqu_1b6l2_217:not(#\9) {
|
|
218
218
|
grid-template-columns: 0 0 0 0 0 0 0 auto;
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
.awsui_root_7nfqu_1b6l2_153.awsui_drawer-expanded-mode_7nfqu_1b6l2_217.awsui_ai-drawer-expanded-mode_7nfqu_1b6l2_220:not(#\9) {
|
|
221
221
|
grid-template-columns: auto 0 0 0 0 0 0 0;
|
|
222
222
|
}
|
|
223
|
-
.
|
|
223
|
+
.awsui_root_7nfqu_1b6l2_153.awsui_drawer-expanded-mode_7nfqu_1b6l2_217.awsui_bottom-drawer-expanded-mode_7nfqu_1b6l2_223:not(#\9) {
|
|
224
224
|
grid-template-rows: auto;
|
|
225
225
|
grid-template-columns: 0 0 0 0 0 auto 0 0;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
.awsui_ai-
|
|
230
|
-
.
|
|
231
|
-
.
|
|
232
|
-
.awsui_global-
|
|
233
|
-
.awsui_bottom-
|
|
229
|
+
.awsui_ai-drawer_7nfqu_1b6l2_220:not(#\9),
|
|
230
|
+
.awsui_navigation_7nfqu_1b6l2_230:not(#\9),
|
|
231
|
+
.awsui_tools_7nfqu_1b6l2_231:not(#\9),
|
|
232
|
+
.awsui_global-tools_7nfqu_1b6l2_232:not(#\9),
|
|
233
|
+
.awsui_bottom-tool_7nfqu_1b6l2_233:not(#\9) {
|
|
234
234
|
grid-row: 1/-1;
|
|
235
235
|
grid-column: 1/-1;
|
|
236
236
|
background: var(--color-background-container-content-aemn43, #ffffff);
|
|
237
237
|
opacity: 1;
|
|
238
238
|
}
|
|
239
239
|
@media (max-width: 688px) {
|
|
240
|
-
.awsui_ai-
|
|
241
|
-
.
|
|
242
|
-
.
|
|
243
|
-
.awsui_global-
|
|
244
|
-
.awsui_bottom-
|
|
240
|
+
.awsui_ai-drawer_7nfqu_1b6l2_220:not(#\9),
|
|
241
|
+
.awsui_navigation_7nfqu_1b6l2_230:not(#\9),
|
|
242
|
+
.awsui_tools_7nfqu_1b6l2_231:not(#\9),
|
|
243
|
+
.awsui_global-tools_7nfqu_1b6l2_232:not(#\9),
|
|
244
|
+
.awsui_bottom-tool_7nfqu_1b6l2_233:not(#\9) {
|
|
245
245
|
inline-size: 100%;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
@media (min-width: 689px) {
|
|
250
|
-
.awsui_bottom-
|
|
250
|
+
.awsui_bottom-tool_7nfqu_1b6l2_233:not(#\9) {
|
|
251
251
|
grid-area: bottom-tool;
|
|
252
252
|
position: sticky;
|
|
253
253
|
inset-block-end: 0;
|
|
@@ -257,43 +257,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
@media (min-width: 689px) {
|
|
260
|
-
.awsui_ai-
|
|
260
|
+
.awsui_ai-drawer_7nfqu_1b6l2_220:not(#\9) {
|
|
261
261
|
grid-area: ai-drawer;
|
|
262
262
|
position: sticky;
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
.
|
|
266
|
+
.awsui_navigation_7nfqu_1b6l2_230:not(#\9) {
|
|
267
267
|
z-index: 830;
|
|
268
268
|
}
|
|
269
269
|
@media (min-width: 689px) {
|
|
270
|
-
.
|
|
270
|
+
.awsui_navigation_7nfqu_1b6l2_230:not(#\9) {
|
|
271
271
|
grid-area: navigation;
|
|
272
272
|
inline-size: var(--awsui-navigation-width-6b9ypa);
|
|
273
273
|
border-inline-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
@media (max-width: 688px) {
|
|
277
|
-
.
|
|
277
|
+
.awsui_navigation_7nfqu_1b6l2_230:not(#\9) {
|
|
278
278
|
z-index: 1001;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
@media (min-width: 689px) {
|
|
283
|
-
.
|
|
283
|
+
.awsui_tools_7nfqu_1b6l2_231:not(#\9) {
|
|
284
284
|
grid-area: tools;
|
|
285
285
|
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
286
286
|
}
|
|
287
|
-
.
|
|
287
|
+
.awsui_tools_7nfqu_1b6l2_231:not(#\9):not(:has(> [data-testid])) {
|
|
288
288
|
inline-size: var(--awsui-tools-width-6b9ypa);
|
|
289
289
|
}
|
|
290
|
-
.
|
|
290
|
+
.awsui_tools_7nfqu_1b6l2_231:not(#\9):not(:has(> [data-testid])).awsui_tools-open_7nfqu_1b6l2_290 {
|
|
291
291
|
border-inline-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
@media (min-width: 689px) {
|
|
296
|
-
.awsui_global-
|
|
296
|
+
.awsui_global-tools_7nfqu_1b6l2_232:not(#\9) {
|
|
297
297
|
display: flex;
|
|
298
298
|
grid-area: global-tools;
|
|
299
299
|
justify-content: flex-end;
|
|
@@ -301,14 +301,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
@media (min-width: 689px) {
|
|
304
|
-
.awsui_split-panel-
|
|
304
|
+
.awsui_split-panel-side_7nfqu_1b6l2_304:not(#\9) {
|
|
305
305
|
grid-area: sideSplitPanel;
|
|
306
306
|
border-inline-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
307
307
|
opacity: 1;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
.awsui_split-panel-
|
|
311
|
+
.awsui_split-panel-bottom_7nfqu_1b6l2_311:not(#\9) {
|
|
312
312
|
position: sticky;
|
|
313
313
|
z-index: 840;
|
|
314
314
|
align-self: end;
|
|
@@ -316,81 +316,150 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
316
316
|
grid-column: 1/-1;
|
|
317
317
|
}
|
|
318
318
|
@media (min-width: 689px) {
|
|
319
|
-
.awsui_split-panel-
|
|
319
|
+
.awsui_split-panel-bottom_7nfqu_1b6l2_311:not(#\9) {
|
|
320
320
|
grid-column: 3/6;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
.awsui_panel-
|
|
324
|
+
.awsui_panel-hidden_7nfqu_1b6l2_324:not(#\9) {
|
|
325
325
|
border-block: none;
|
|
326
326
|
border-inline: none;
|
|
327
327
|
opacity: 0;
|
|
328
328
|
z-index: 0;
|
|
329
329
|
}
|
|
330
|
-
.awsui_panel-
|
|
330
|
+
.awsui_panel-hidden_7nfqu_1b6l2_324.awsui_navigation_7nfqu_1b6l2_230:not(#\9), .awsui_panel-hidden_7nfqu_1b6l2_324.awsui_tools_7nfqu_1b6l2_231:not(#\9), .awsui_panel-hidden_7nfqu_1b6l2_324.awsui_global-tools_7nfqu_1b6l2_232:not(#\9) {
|
|
331
331
|
inline-size: 0px;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
.awsui_toolbar-
|
|
334
|
+
.awsui_toolbar-container_7nfqu_1b6l2_334:not(#\9) {
|
|
335
335
|
grid-area: toolbar;
|
|
336
336
|
block-size: 42px;
|
|
337
337
|
border-block-end: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
338
338
|
box-sizing: border-box;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
|
|
341
|
+
/**
|
|
342
|
+
* A zero-height sticky element placed in the toolbar grid area when the toolbar is absent
|
|
343
|
+
* and the left panel (AI drawer) is open. It reuses the toolbar's pseudo-element technique
|
|
344
|
+
* to render the border-radius corner between the AI drawer and the content area.
|
|
345
|
+
* In light mode: inverse radius trick (dark square + white square with radius).
|
|
346
|
+
* In dark mode: a vertical border line with a rounded top corner + top border on the element itself.
|
|
347
|
+
*/
|
|
348
|
+
.awsui_pseudo-toolbar_7nfqu_1b6l2_348:not(#\9) {
|
|
349
|
+
grid-area: toolbar;
|
|
350
|
+
position: sticky;
|
|
351
|
+
z-index: 1000;
|
|
352
|
+
}
|
|
353
|
+
@media not print {
|
|
354
|
+
.awsui_pseudo-toolbar_7nfqu_1b6l2_348:not(#\9):before {
|
|
355
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
356
|
+
}
|
|
357
|
+
.awsui-polaris-dark-mode .awsui_pseudo-toolbar_7nfqu_1b6l2_348:not(#\9):before, .awsui-dark-mode .awsui_pseudo-toolbar_7nfqu_1b6l2_348:not(#\9):before {
|
|
358
|
+
content: "";
|
|
359
|
+
position: absolute;
|
|
360
|
+
inline-size: var(--border-divider-section-width-sznrdy, 1px);
|
|
361
|
+
block-size: 100vh;
|
|
362
|
+
background: var(--color-border-layout-ovzonx, #d5dbdb);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9) {
|
|
367
|
+
position: relative;
|
|
368
|
+
}
|
|
369
|
+
@media not print {
|
|
370
|
+
.awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9) {
|
|
371
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
372
|
+
}
|
|
373
|
+
.awsui-polaris-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9), .awsui-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9) {
|
|
374
|
+
border-block-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
375
|
+
border-start-start-radius: var(--space-xxs-jnczic, 4px);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
.awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):before, .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):after {
|
|
379
|
+
content: "";
|
|
380
|
+
position: absolute;
|
|
381
|
+
inset-block-start: 0;
|
|
382
|
+
inset-inline-start: 0;
|
|
383
|
+
inline-size: 5px;
|
|
384
|
+
block-size: 5px;
|
|
385
|
+
background: #161d26;
|
|
386
|
+
}
|
|
387
|
+
@media not print {
|
|
388
|
+
.awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):before, .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):after {
|
|
389
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
390
|
+
}
|
|
391
|
+
.awsui-polaris-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):before, .awsui-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):before, .awsui-polaris-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):after, .awsui-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9):after {
|
|
392
|
+
inset-block-start: -1px;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
.awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9)::after {
|
|
396
|
+
background-color: var(--color-background-layout-toolbar-oyny45, #ffffff);
|
|
397
|
+
border-start-start-radius: var(--space-xxs-jnczic, 4px);
|
|
398
|
+
}
|
|
399
|
+
@media not print {
|
|
400
|
+
.awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9)::after {
|
|
401
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
402
|
+
}
|
|
403
|
+
.awsui-polaris-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9)::after, .awsui-dark-mode .awsui_pseudo-toolbar-content_7nfqu_1b6l2_366:not(#\9)::after {
|
|
404
|
+
background-color: transparent;
|
|
405
|
+
border-inline-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
406
|
+
border-block-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.awsui_notifications-container_7nfqu_1b6l2_410:not(#\9) {
|
|
342
411
|
grid-area: notifications;
|
|
343
412
|
}
|
|
344
413
|
|
|
345
|
-
.awsui_notifications-
|
|
414
|
+
.awsui_notifications-background_7nfqu_1b6l2_414:not(#\9) {
|
|
346
415
|
background: var(--color-background-layout-main-05m5y6, #f2f3f3);
|
|
347
416
|
grid-area: notifications;
|
|
348
417
|
grid-column: 1/-1;
|
|
349
418
|
}
|
|
350
419
|
@media (min-width: 689px) {
|
|
351
|
-
.awsui_notifications-
|
|
420
|
+
.awsui_notifications-background_7nfqu_1b6l2_414:not(#\9) {
|
|
352
421
|
grid-column: 3/6;
|
|
353
422
|
}
|
|
354
423
|
}
|
|
355
424
|
|
|
356
|
-
.awsui_main-
|
|
425
|
+
.awsui_main-landmark_7nfqu_1b6l2_425:not(#\9) {
|
|
357
426
|
display: contents;
|
|
358
427
|
}
|
|
359
428
|
|
|
360
|
-
.
|
|
429
|
+
.awsui_main_7nfqu_1b6l2_425:not(#\9) {
|
|
361
430
|
grid-area: main;
|
|
362
431
|
margin-block-start: var(--space-scaled-s-gjhvjd, 12px);
|
|
363
432
|
margin-block-end: var(--space-layout-content-bottom-iu1izz, 20px);
|
|
364
433
|
}
|
|
365
|
-
.awsui_main-disable-
|
|
434
|
+
.awsui_main-disable-paddings_7nfqu_1b6l2_434:not(#\9) {
|
|
366
435
|
margin-block: 0;
|
|
367
436
|
grid-column: 1/-1;
|
|
368
437
|
}
|
|
369
438
|
@media (min-width: 689px) {
|
|
370
|
-
.awsui_main-disable-
|
|
439
|
+
.awsui_main-disable-paddings_7nfqu_1b6l2_434:not(#\9) {
|
|
371
440
|
grid-column: 3/6;
|
|
372
441
|
}
|
|
373
442
|
}
|
|
374
443
|
|
|
375
|
-
.awsui_content-
|
|
444
|
+
.awsui_content-header_7nfqu_1b6l2_444:not(#\9) {
|
|
376
445
|
margin-block-end: var(--space-content-header-padding-bottom-hjkugf, 16px);
|
|
377
446
|
}
|
|
378
447
|
|
|
379
|
-
.
|
|
448
|
+
.awsui_content_7nfqu_1b6l2_444:not(#\9) {
|
|
380
449
|
display: contents;
|
|
381
450
|
}
|
|
382
451
|
|
|
383
452
|
/* stylelint-disable-next-line selector-combinator-disallowed-list, selector-max-universal */
|
|
384
453
|
@media (max-width: 688px) {
|
|
385
|
-
.awsui_unfocusable-
|
|
454
|
+
.awsui_unfocusable-mobile_7nfqu_1b6l2_454 *:not(#\9) {
|
|
386
455
|
visibility: hidden;
|
|
387
456
|
}
|
|
388
457
|
}
|
|
389
458
|
|
|
390
|
-
.
|
|
459
|
+
.awsui_hidden_7nfqu_1b6l2_459:not(#\9) {
|
|
391
460
|
display: none;
|
|
392
461
|
}
|
|
393
462
|
|
|
394
|
-
.awsui_breadcrumbs-
|
|
463
|
+
.awsui_breadcrumbs-own_7nfqu_1b6l2_463:not(#\9):not(:empty) + .awsui_breadcrumbs-discovered_7nfqu_1b6l2_463 {
|
|
395
464
|
display: none;
|
|
396
465
|
}
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js
CHANGED
|
@@ -2,32 +2,34 @@
|
|
|
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
|
-
"has-adaptive-widths-default": "awsui_has-adaptive-widths-
|
|
7
|
-
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-
|
|
8
|
-
"drawer-expanded-mode": "awsui_drawer-expanded-
|
|
9
|
-
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-
|
|
10
|
-
"bottom-drawer-expanded-mode": "awsui_bottom-drawer-expanded-
|
|
11
|
-
"ai-drawer": "awsui_ai-
|
|
12
|
-
"navigation": "
|
|
13
|
-
"tools": "
|
|
14
|
-
"global-tools": "awsui_global-
|
|
15
|
-
"bottom-tool": "awsui_bottom-
|
|
16
|
-
"tools-open": "awsui_tools-
|
|
17
|
-
"split-panel-side": "awsui_split-panel-
|
|
18
|
-
"split-panel-bottom": "awsui_split-panel-
|
|
19
|
-
"panel-hidden": "awsui_panel-
|
|
20
|
-
"toolbar-container": "awsui_toolbar-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"main-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
5
|
+
"root": "awsui_root_7nfqu_1b6l2_153",
|
|
6
|
+
"has-adaptive-widths-default": "awsui_has-adaptive-widths-default_7nfqu_1b6l2_197",
|
|
7
|
+
"has-adaptive-widths-dashboard": "awsui_has-adaptive-widths-dashboard_7nfqu_1b6l2_202",
|
|
8
|
+
"drawer-expanded-mode": "awsui_drawer-expanded-mode_7nfqu_1b6l2_217",
|
|
9
|
+
"ai-drawer-expanded-mode": "awsui_ai-drawer-expanded-mode_7nfqu_1b6l2_220",
|
|
10
|
+
"bottom-drawer-expanded-mode": "awsui_bottom-drawer-expanded-mode_7nfqu_1b6l2_223",
|
|
11
|
+
"ai-drawer": "awsui_ai-drawer_7nfqu_1b6l2_220",
|
|
12
|
+
"navigation": "awsui_navigation_7nfqu_1b6l2_230",
|
|
13
|
+
"tools": "awsui_tools_7nfqu_1b6l2_231",
|
|
14
|
+
"global-tools": "awsui_global-tools_7nfqu_1b6l2_232",
|
|
15
|
+
"bottom-tool": "awsui_bottom-tool_7nfqu_1b6l2_233",
|
|
16
|
+
"tools-open": "awsui_tools-open_7nfqu_1b6l2_290",
|
|
17
|
+
"split-panel-side": "awsui_split-panel-side_7nfqu_1b6l2_304",
|
|
18
|
+
"split-panel-bottom": "awsui_split-panel-bottom_7nfqu_1b6l2_311",
|
|
19
|
+
"panel-hidden": "awsui_panel-hidden_7nfqu_1b6l2_324",
|
|
20
|
+
"toolbar-container": "awsui_toolbar-container_7nfqu_1b6l2_334",
|
|
21
|
+
"pseudo-toolbar": "awsui_pseudo-toolbar_7nfqu_1b6l2_348",
|
|
22
|
+
"pseudo-toolbar-content": "awsui_pseudo-toolbar-content_7nfqu_1b6l2_366",
|
|
23
|
+
"notifications-container": "awsui_notifications-container_7nfqu_1b6l2_410",
|
|
24
|
+
"notifications-background": "awsui_notifications-background_7nfqu_1b6l2_414",
|
|
25
|
+
"main-landmark": "awsui_main-landmark_7nfqu_1b6l2_425",
|
|
26
|
+
"main": "awsui_main_7nfqu_1b6l2_425",
|
|
27
|
+
"main-disable-paddings": "awsui_main-disable-paddings_7nfqu_1b6l2_434",
|
|
28
|
+
"content-header": "awsui_content-header_7nfqu_1b6l2_444",
|
|
29
|
+
"content": "awsui_content_7nfqu_1b6l2_444",
|
|
30
|
+
"unfocusable-mobile": "awsui_unfocusable-mobile_7nfqu_1b6l2_454",
|
|
31
|
+
"hidden": "awsui_hidden_7nfqu_1b6l2_459",
|
|
32
|
+
"breadcrumbs-own": "awsui_breadcrumbs-own_7nfqu_1b6l2_463",
|
|
33
|
+
"breadcrumbs-discovered": "awsui_breadcrumbs-discovered_7nfqu_1b6l2_463"
|
|
32
34
|
};
|
|
33
35
|
|
|
@@ -9,7 +9,7 @@ function checkAlreadyExists(value, propName) {
|
|
|
9
9
|
return false;
|
|
10
10
|
}
|
|
11
11
|
export const mergeProps = (ownProps, additionalProps) => {
|
|
12
|
-
var _a;
|
|
12
|
+
var _a, _b;
|
|
13
13
|
const toolbar = {};
|
|
14
14
|
for (const props of [ownProps, ...additionalProps]) {
|
|
15
15
|
toolbar.ariaLabels = { ...toolbar.ariaLabels, ...props.ariaLabels };
|
|
@@ -29,7 +29,7 @@ export const mergeProps = (ownProps, additionalProps) => {
|
|
|
29
29
|
toolbar.activeGlobalDrawersIds = props.activeGlobalDrawersIds;
|
|
30
30
|
toolbar.onActiveGlobalDrawersChange = props.onActiveGlobalDrawersChange;
|
|
31
31
|
}
|
|
32
|
-
if (props.aiDrawer &&
|
|
32
|
+
if (((_a = props.aiDrawer) === null || _a === void 0 ? void 0 : _a.trigger) &&
|
|
33
33
|
props.aiDrawerFocusRef &&
|
|
34
34
|
!checkAlreadyExists(!!toolbar.aiDrawerFocusRef, 'aiDrawerFocusRef')) {
|
|
35
35
|
toolbar.aiDrawerFocusRef = props.aiDrawerFocusRef;
|
|
@@ -49,7 +49,7 @@ export const mergeProps = (ownProps, additionalProps) => {
|
|
|
49
49
|
toolbar.onNavigationToggle = props.onNavigationToggle;
|
|
50
50
|
}
|
|
51
51
|
if (props.splitPanel &&
|
|
52
|
-
((
|
|
52
|
+
((_b = props.splitPanelToggleProps) === null || _b === void 0 ? void 0 : _b.displayed) &&
|
|
53
53
|
!checkAlreadyExists(!!toolbar.hasSplitPanel, 'splitPanel')) {
|
|
54
54
|
toolbar.hasSplitPanel = true;
|
|
55
55
|
toolbar.splitPanelFocusRef = props.splitPanelFocusRef;
|