@cloudscape-design/components 3.0.730 → 3.0.732
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/app-layout/classic.d.ts.map +1 -1
- package/app-layout/classic.js +7 -2
- package/app-layout/classic.js.map +1 -1
- package/app-layout/drawer/styles.css.js +13 -13
- package/app-layout/drawer/styles.scoped.css +22 -22
- package/app-layout/drawer/styles.selectors.js +13 -13
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +10 -10
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/resize/styles.css.js +9 -0
- package/app-layout/resize/styles.scoped.css +179 -0
- package/app-layout/resize/styles.selectors.js +10 -0
- package/app-layout/styles.css.js +12 -16
- package/app-layout/styles.scoped.css +12 -43
- package/app-layout/styles.selectors.js +12 -16
- package/app-layout/utils/use-drawers.js +1 -1
- package/app-layout/utils/use-drawers.js.map +1 -1
- package/app-layout/utils/use-pointer-events.js +1 -1
- package/app-layout/utils/use-pointer-events.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +4 -1
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.d.ts +3 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/compute-layout.js +5 -3
- package/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/index.js +10 -9
- package/app-layout/visual-refresh-toolbar/drawer/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/use-resize.js +1 -0
- package/app-layout/visual-refresh-toolbar/drawer/use-resize.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/index.js +4 -4
- package/app-layout/visual-refresh-toolbar/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/navigation/index.js +9 -7
- package/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +8 -30
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -6
- package/app-layout/visual-refresh-toolbar/skeleton/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/skeleton/index.js +4 -3
- package/app-layout/visual-refresh-toolbar/skeleton/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +16 -16
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +48 -33
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +16 -16
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js +3 -1
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/index.js +2 -2
- package/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +12 -13
- package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +17 -19
- package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +12 -13
- package/expandable-section/analytics-metadata/interfaces.d.ts +17 -0
- package/expandable-section/analytics-metadata/interfaces.d.ts.map +1 -0
- package/expandable-section/analytics-metadata/interfaces.js +4 -0
- package/expandable-section/analytics-metadata/interfaces.js.map +1 -0
- package/expandable-section/analytics-metadata/styles.css.js +6 -0
- package/expandable-section/analytics-metadata/styles.scoped.css +7 -0
- package/expandable-section/analytics-metadata/styles.selectors.js +7 -0
- package/expandable-section/expandable-section-container.d.ts +2 -1
- package/expandable-section/expandable-section-container.d.ts.map +1 -1
- package/expandable-section/expandable-section-container.js +13 -3
- package/expandable-section/expandable-section-container.js.map +1 -1
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +19 -7
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/index.d.ts.map +1 -1
- package/expandable-section/index.js +1 -1
- package/expandable-section/index.js.map +1 -1
- package/expandable-section/internal.d.ts +2 -1
- package/expandable-section/internal.d.ts.map +1 -1
- package/expandable-section/internal.js +2 -2
- package/expandable-section/internal.js.map +1 -1
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +158 -158
- package/flashbar/styles.selectors.js +47 -47
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.js +1 -1
- package/i18n/messages/all.ar.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.tr.js +1 -1
- package/i18n/messages/all.tr.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/internal/base-component/styles.scoped.css +10 -5
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.js +1 -1
- package/internal/generated/theming/index.cjs +15 -15
- package/internal/generated/theming/index.js +15 -15
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/property-filter/i18n-utils.d.ts.map +1 -1
- package/property-filter/i18n-utils.js +10 -16
- package/property-filter/i18n-utils.js.map +1 -1
- package/property-filter/internal.js +1 -1
- package/property-filter/internal.js.map +1 -1
- package/split-panel/bottom.d.ts +1 -4
- package/split-panel/bottom.d.ts.map +1 -1
- package/split-panel/bottom.js +5 -7
- package/split-panel/bottom.js.map +1 -1
- package/split-panel/implementation.d.ts.map +1 -1
- package/split-panel/implementation.js +5 -5
- package/split-panel/implementation.js.map +1 -1
- package/split-panel/side.d.ts.map +1 -1
- package/split-panel/side.js +5 -3
- package/split-panel/side.js.map +1 -1
- package/split-panel/styles.css.js +26 -27
- package/split-panel/styles.scoped.css +50 -215
- package/split-panel/styles.selectors.js +26 -27
- package/tabs/analytics-metadata/interfaces.d.ts +33 -0
- package/tabs/analytics-metadata/interfaces.d.ts.map +1 -0
- package/tabs/analytics-metadata/interfaces.js +4 -0
- package/tabs/analytics-metadata/interfaces.js.map +1 -0
- package/tabs/analytics-metadata/styles.css.js +9 -0
- package/tabs/analytics-metadata/styles.scoped.css +10 -0
- package/tabs/analytics-metadata/styles.selectors.js +10 -0
- package/tabs/index.d.ts.map +1 -1
- package/tabs/index.js +16 -2
- package/tabs/index.js.map +1 -1
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +36 -9
- package/tabs/tab-header-bar.js.map +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +59 -59
- package/wizard/styles.selectors.js +30 -30
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/*
|
|
6
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
|
+
SPDX-License-Identifier: Apache-2.0
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
|
+
SPDX-License-Identifier: Apache-2.0
|
|
12
|
+
*/
|
|
13
|
+
/*
|
|
14
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
15
|
+
SPDX-License-Identifier: Apache-2.0
|
|
16
|
+
*/
|
|
17
|
+
/*
|
|
18
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
19
|
+
SPDX-License-Identifier: Apache-2.0
|
|
20
|
+
*/
|
|
21
|
+
/*
|
|
22
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
23
|
+
SPDX-License-Identifier: Apache-2.0
|
|
24
|
+
*/
|
|
25
|
+
/*
|
|
26
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
27
|
+
SPDX-License-Identifier: Apache-2.0
|
|
28
|
+
*/
|
|
29
|
+
/*
|
|
30
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
31
|
+
SPDX-License-Identifier: Apache-2.0
|
|
32
|
+
*/
|
|
33
|
+
/*
|
|
34
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
35
|
+
SPDX-License-Identifier: Apache-2.0
|
|
36
|
+
*/
|
|
37
|
+
/*
|
|
38
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
39
|
+
SPDX-License-Identifier: Apache-2.0
|
|
40
|
+
*/
|
|
41
|
+
/*
|
|
42
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
43
|
+
SPDX-License-Identifier: Apache-2.0
|
|
44
|
+
*/
|
|
45
|
+
/*
|
|
46
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
47
|
+
SPDX-License-Identifier: Apache-2.0
|
|
48
|
+
*/
|
|
49
|
+
/*
|
|
50
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
51
|
+
SPDX-License-Identifier: Apache-2.0
|
|
52
|
+
*/
|
|
53
|
+
/*
|
|
54
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
55
|
+
SPDX-License-Identifier: Apache-2.0
|
|
56
|
+
*/
|
|
57
|
+
/*
|
|
58
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
59
|
+
SPDX-License-Identifier: Apache-2.0
|
|
60
|
+
*/
|
|
61
|
+
/*
|
|
62
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
63
|
+
SPDX-License-Identifier: Apache-2.0
|
|
64
|
+
*/
|
|
65
|
+
/*
|
|
66
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
67
|
+
SPDX-License-Identifier: Apache-2.0
|
|
68
|
+
*/
|
|
69
|
+
/*
|
|
70
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
71
|
+
SPDX-License-Identifier: Apache-2.0
|
|
72
|
+
*/
|
|
73
|
+
/*
|
|
74
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
75
|
+
SPDX-License-Identifier: Apache-2.0
|
|
76
|
+
*/
|
|
77
|
+
/*
|
|
78
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
79
|
+
SPDX-License-Identifier: Apache-2.0
|
|
80
|
+
*/
|
|
81
|
+
/*
|
|
82
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
83
|
+
SPDX-License-Identifier: Apache-2.0
|
|
84
|
+
*/
|
|
85
|
+
/*
|
|
86
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
87
|
+
SPDX-License-Identifier: Apache-2.0
|
|
88
|
+
*/
|
|
89
|
+
/*
|
|
90
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
|
+
SPDX-License-Identifier: Apache-2.0
|
|
92
|
+
*/
|
|
93
|
+
/*
|
|
94
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
|
+
SPDX-License-Identifier: Apache-2.0
|
|
96
|
+
*/
|
|
97
|
+
/*
|
|
98
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
|
+
SPDX-License-Identifier: Apache-2.0
|
|
100
|
+
*/
|
|
101
|
+
/*
|
|
102
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
103
|
+
SPDX-License-Identifier: Apache-2.0
|
|
104
|
+
*/
|
|
105
|
+
/*
|
|
106
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
107
|
+
SPDX-License-Identifier: Apache-2.0
|
|
108
|
+
*/
|
|
109
|
+
/*
|
|
110
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
111
|
+
SPDX-License-Identifier: Apache-2.0
|
|
112
|
+
*/
|
|
113
|
+
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
114
|
+
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
115
|
+
/*
|
|
116
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
117
|
+
SPDX-License-Identifier: Apache-2.0
|
|
118
|
+
*/
|
|
119
|
+
/*
|
|
120
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
121
|
+
SPDX-License-Identifier: Apache-2.0
|
|
122
|
+
*/
|
|
123
|
+
/*
|
|
124
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
125
|
+
SPDX-License-Identifier: Apache-2.0
|
|
126
|
+
*/
|
|
127
|
+
/*
|
|
128
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
129
|
+
SPDX-License-Identifier: Apache-2.0
|
|
130
|
+
*/
|
|
131
|
+
/*
|
|
132
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
133
|
+
SPDX-License-Identifier: Apache-2.0
|
|
134
|
+
*/
|
|
135
|
+
/*
|
|
136
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
137
|
+
SPDX-License-Identifier: Apache-2.0
|
|
138
|
+
*/
|
|
139
|
+
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
140
|
+
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
141
|
+
@media (min-width: 689px) {
|
|
142
|
+
.awsui_with-motion_b18tp_1h41i_142:not(#\9) {
|
|
143
|
+
transition: var(--motion-duration-refresh-only-medium-nf6485, 165ms);
|
|
144
|
+
transition-property: border-color, opacity, block-size, inline-size, inset-block-start;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
@media (min-width: 689px) and (prefers-reduced-motion: reduce) {
|
|
148
|
+
.awsui_with-motion_b18tp_1h41i_142:not(#\9) {
|
|
149
|
+
animation: none;
|
|
150
|
+
transition: none;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
@media (min-width: 689px) {
|
|
154
|
+
.awsui-motion-disabled .awsui_with-motion_b18tp_1h41i_142:not(#\9), .awsui-mode-entering .awsui_with-motion_b18tp_1h41i_142:not(#\9) {
|
|
155
|
+
animation: none;
|
|
156
|
+
transition: none;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-max-type, selector-max-universal */
|
|
161
|
+
.awsui_resize-active_b18tp_1h41i_161 *:not(#\9) {
|
|
162
|
+
-webkit-user-select: none;
|
|
163
|
+
user-select: none;
|
|
164
|
+
}
|
|
165
|
+
.awsui_resize-active_b18tp_1h41i_161 * .awsui_with-motion_b18tp_1h41i_142:not(#\9) {
|
|
166
|
+
transition: none;
|
|
167
|
+
animation: none;
|
|
168
|
+
}
|
|
169
|
+
.awsui_resize-active_b18tp_1h41i_161 iframe:not(#\9) {
|
|
170
|
+
pointer-events: none;
|
|
171
|
+
}
|
|
172
|
+
.awsui_resize-side_b18tp_1h41i_171 *:not(#\9) {
|
|
173
|
+
cursor: ew-resize;
|
|
174
|
+
}
|
|
175
|
+
.awsui_resize-bottom_b18tp_1h41i_174 *:not(#\9) {
|
|
176
|
+
cursor: ns-resize;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* stylelint-enable selector-combinator-disallowed-list, selector-max-type, selector-max-universal */
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
// es-module interop with Babel and Typescript
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
module.exports.default = {
|
|
5
|
+
"with-motion": "awsui_with-motion_b18tp_1h41i_142",
|
|
6
|
+
"resize-active": "awsui_resize-active_b18tp_1h41i_161",
|
|
7
|
+
"resize-side": "awsui_resize-side_b18tp_1h41i_171",
|
|
8
|
+
"resize-bottom": "awsui_resize-bottom_b18tp_1h41i_174"
|
|
9
|
+
};
|
|
10
|
+
|
package/app-layout/styles.css.js
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"content-header-wrapper": "awsui_content-header-wrapper_lm6vo_lnp81_221",
|
|
17
|
-
"content-wrapper": "awsui_content-wrapper_lm6vo_lnp81_225",
|
|
18
|
-
"content-overlapped": "awsui_content-overlapped_lm6vo_lnp81_229",
|
|
19
|
-
"content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_lnp81_233"
|
|
4
|
+
"root": "awsui_root_lm6vo_1sk5h_149",
|
|
5
|
+
"root-no-scroll": "awsui_root-no-scroll_lm6vo_1sk5h_156",
|
|
6
|
+
"layout": "awsui_layout_lm6vo_1sk5h_161",
|
|
7
|
+
"layout-no-scroll": "awsui_layout-no-scroll_lm6vo_1sk5h_167",
|
|
8
|
+
"layout-main": "awsui_layout-main_lm6vo_1sk5h_171",
|
|
9
|
+
"layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_1sk5h_177",
|
|
10
|
+
"unfocusable": "awsui_unfocusable_lm6vo_1sk5h_182",
|
|
11
|
+
"breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_1sk5h_186",
|
|
12
|
+
"content-header-wrapper": "awsui_content-header-wrapper_lm6vo_1sk5h_191",
|
|
13
|
+
"content-wrapper": "awsui_content-wrapper_lm6vo_1sk5h_195",
|
|
14
|
+
"content-overlapped": "awsui_content-overlapped_lm6vo_1sk5h_199",
|
|
15
|
+
"content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_1sk5h_203"
|
|
20
16
|
};
|
|
21
17
|
|
|
@@ -146,91 +146,60 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
146
146
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
147
147
|
SPDX-License-Identifier: Apache-2.0
|
|
148
148
|
*/
|
|
149
|
-
|
|
150
|
-
.awsui_resize-active_lm6vo_lnp81_150 *:not(#\9) {
|
|
151
|
-
-webkit-user-select: none;
|
|
152
|
-
user-select: none;
|
|
153
|
-
}
|
|
154
|
-
.awsui_resize-active_lm6vo_lnp81_150 iframe:not(#\9) {
|
|
155
|
-
pointer-events: none;
|
|
156
|
-
}
|
|
157
|
-
.awsui_resize-side_lm6vo_lnp81_156 *:not(#\9) {
|
|
158
|
-
cursor: ew-resize;
|
|
159
|
-
}
|
|
160
|
-
.awsui_resize-bottom_lm6vo_lnp81_159 *:not(#\9) {
|
|
161
|
-
cursor: ns-resize;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/* stylelint-enable selector-combinator-disallowed-list, selector-max-type, selector-max-universal */
|
|
165
|
-
.awsui_with-motion_lm6vo_lnp81_164:not(#\9) {
|
|
166
|
-
transition: var(--motion-duration-refresh-only-fast-4jn2d7, 115ms);
|
|
167
|
-
transition-property: border-color, opacity, width;
|
|
168
|
-
}
|
|
169
|
-
@media (prefers-reduced-motion: reduce) {
|
|
170
|
-
.awsui_with-motion_lm6vo_lnp81_164:not(#\9) {
|
|
171
|
-
animation: none;
|
|
172
|
-
transition: none;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
.awsui-motion-disabled .awsui_with-motion_lm6vo_lnp81_164:not(#\9), .awsui-mode-entering .awsui_with-motion_lm6vo_lnp81_164:not(#\9) {
|
|
176
|
-
animation: none;
|
|
177
|
-
transition: none;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.awsui_root_lm6vo_lnp81_179:not(#\9) {
|
|
149
|
+
.awsui_root_lm6vo_1sk5h_149:not(#\9) {
|
|
181
150
|
display: flex;
|
|
182
151
|
flex-direction: column;
|
|
183
152
|
position: relative;
|
|
184
153
|
color: var(--color-text-body-default-at06ol, #000716);
|
|
185
154
|
}
|
|
186
155
|
|
|
187
|
-
.awsui_root-no-
|
|
156
|
+
.awsui_root-no-scroll_lm6vo_1sk5h_156:not(#\9) {
|
|
188
157
|
position: relative;
|
|
189
158
|
z-index: 1;
|
|
190
159
|
}
|
|
191
160
|
|
|
192
|
-
.
|
|
161
|
+
.awsui_layout_lm6vo_1sk5h_161:not(#\9) {
|
|
193
162
|
flex: 1 1 auto;
|
|
194
163
|
display: flex;
|
|
195
164
|
align-items: stretch;
|
|
196
165
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
197
166
|
}
|
|
198
|
-
.awsui_layout-no-
|
|
167
|
+
.awsui_layout-no-scroll_lm6vo_1sk5h_167:not(#\9) {
|
|
199
168
|
overflow: hidden;
|
|
200
169
|
}
|
|
201
170
|
|
|
202
|
-
.awsui_layout-
|
|
171
|
+
.awsui_layout-main_lm6vo_1sk5h_171:not(#\9) {
|
|
203
172
|
flex: 1;
|
|
204
173
|
min-inline-size: 0;
|
|
205
174
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
206
175
|
position: relative;
|
|
207
176
|
}
|
|
208
|
-
.awsui_layout-main-
|
|
177
|
+
.awsui_layout-main-scrollable_lm6vo_1sk5h_177:not(#\9) {
|
|
209
178
|
overflow: auto;
|
|
210
179
|
}
|
|
211
180
|
|
|
212
181
|
/* stylelint-disable-next-line selector-combinator-disallowed-list, selector-max-universal */
|
|
213
|
-
.
|
|
182
|
+
.awsui_unfocusable_lm6vo_1sk5h_182 *:not(#\9) {
|
|
214
183
|
visibility: hidden;
|
|
215
184
|
}
|
|
216
185
|
|
|
217
|
-
.awsui_breadcrumbs-
|
|
186
|
+
.awsui_breadcrumbs-desktop_lm6vo_1sk5h_186:not(#\9) {
|
|
218
187
|
padding-block-start: var(--space-scaled-m-mo5yse, 16px);
|
|
219
188
|
padding-block-end: var(--space-scaled-s-aqzyko, 12px);
|
|
220
189
|
}
|
|
221
190
|
|
|
222
|
-
.awsui_content-header-
|
|
191
|
+
.awsui_content-header-wrapper_lm6vo_1sk5h_191:not(#\9) {
|
|
223
192
|
padding-block-end: var(--space-content-header-padding-bottom-y2enua, 16px);
|
|
224
193
|
}
|
|
225
194
|
|
|
226
|
-
.awsui_content-
|
|
195
|
+
.awsui_content-wrapper_lm6vo_1sk5h_195:not(#\9) {
|
|
227
196
|
padding-block-end: var(--space-layout-content-bottom-noqzmw, 40px);
|
|
228
197
|
}
|
|
229
198
|
|
|
230
|
-
.awsui_content-
|
|
199
|
+
.awsui_content-overlapped_lm6vo_1sk5h_199:not(#\9) {
|
|
231
200
|
margin-block-start: calc(-1 * var(--space-dark-header-overlap-distance-lxpp0s, 36px));
|
|
232
201
|
}
|
|
233
202
|
|
|
234
|
-
.awsui_content-extra-top-
|
|
203
|
+
.awsui_content-extra-top-padding_lm6vo_1sk5h_203:not(#\9) {
|
|
235
204
|
padding-block-start: var(--space-scaled-m-mo5yse, 16px);
|
|
236
205
|
}
|
|
@@ -2,21 +2,17 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"content-header-wrapper": "awsui_content-header-wrapper_lm6vo_lnp81_221",
|
|
18
|
-
"content-wrapper": "awsui_content-wrapper_lm6vo_lnp81_225",
|
|
19
|
-
"content-overlapped": "awsui_content-overlapped_lm6vo_lnp81_229",
|
|
20
|
-
"content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_lnp81_233"
|
|
5
|
+
"root": "awsui_root_lm6vo_1sk5h_149",
|
|
6
|
+
"root-no-scroll": "awsui_root-no-scroll_lm6vo_1sk5h_156",
|
|
7
|
+
"layout": "awsui_layout_lm6vo_1sk5h_161",
|
|
8
|
+
"layout-no-scroll": "awsui_layout-no-scroll_lm6vo_1sk5h_167",
|
|
9
|
+
"layout-main": "awsui_layout-main_lm6vo_1sk5h_171",
|
|
10
|
+
"layout-main-scrollable": "awsui_layout-main-scrollable_lm6vo_1sk5h_177",
|
|
11
|
+
"unfocusable": "awsui_unfocusable_lm6vo_1sk5h_182",
|
|
12
|
+
"breadcrumbs-desktop": "awsui_breadcrumbs-desktop_lm6vo_1sk5h_186",
|
|
13
|
+
"content-header-wrapper": "awsui_content-header-wrapper_lm6vo_1sk5h_191",
|
|
14
|
+
"content-wrapper": "awsui_content-wrapper_lm6vo_1sk5h_195",
|
|
15
|
+
"content-overlapped": "awsui_content-overlapped_lm6vo_1sk5h_199",
|
|
16
|
+
"content-extra-top-padding": "awsui_content-extra-top-padding_lm6vo_1sk5h_203"
|
|
21
17
|
};
|
|
22
18
|
|
|
@@ -98,7 +98,7 @@ export function useDrawers({ drawers, activeDrawerId: controlledActiveDrawerId,
|
|
|
98
98
|
activeDrawerIdResolved = (_a = activeDrawer === null || activeDrawer === void 0 ? void 0 : activeDrawer.id) !== null && _a !== void 0 ? _a : null;
|
|
99
99
|
const activeDrawerSize = activeDrawerIdResolved
|
|
100
100
|
? (_c = (_b = drawerSizes[activeDrawerIdResolved]) !== null && _b !== void 0 ? _b : activeDrawer === null || activeDrawer === void 0 ? void 0 : activeDrawer.defaultSize) !== null && _c !== void 0 ? _c : toolsProps.toolsWidth
|
|
101
|
-
:
|
|
101
|
+
: toolsProps.toolsWidth;
|
|
102
102
|
const minDrawerSize = Math.min((_d = activeDrawer === null || activeDrawer === void 0 ? void 0 : activeDrawer.defaultSize) !== null && _d !== void 0 ? _d : 290, 290);
|
|
103
103
|
return {
|
|
104
104
|
ariaLabelsWithDrawers: ariaLabels,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-drawers.js","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-drawers.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC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f,eAAe,uBAAf,eAAe,CAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,sBAAsB,CAAC,CAAC;IAC3F,wDAAwD;IACxD,sBAAsB,GAAG,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,EAAE,mCAAI,IAAI,CAAC;IAElD,MAAM,gBAAgB,GAAG,sBAAsB;QAC7C,CAAC,CAAC,MAAA,MAAA,WAAW,CAAC,sBAAsB,CAAC,mCAAI,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,WAAW,mCAAI,UAAU,CAAC,UAAU;QAC3F,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC;IAC1B,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,WAAW,mCAAI,GAAG,EAAE,GAAG,CAAC,CAAC;IAEtE,OAAO;QACL,qBAAqB,EAAE,UAAU;QACjC,OAAO,EAAE,eAAe,IAAI,SAAS;QACrC,YAAY;QACZ,cAAc,EAAE,sBAAsB;QACtC,gBAAgB;QAChB,aAAa;QACb,oBAAoB;QACpB,oBAAoB;KACrB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\n\nimport { useStableCallback } from '@cloudscape-design/component-toolkit/internal';\n\nimport { fireNonCancelableEvent } from '../../internal/events';\nimport { useControllable } from '../../internal/hooks/use-controllable';\nimport { awsuiPluginsInternal } from '../../internal/plugins/api';\nimport { sortByPriority } from '../../internal/plugins/helpers/utils';\nimport { AppLayoutProps } from '../interfaces';\nimport { convertRuntimeDrawers, DrawersLayout } from '../runtime-api';\nimport { togglesConfig } from '../toggles';\n\nexport const TOOLS_DRAWER_ID = 'awsui-internal-tools';\n\ninterface ToolsProps {\n toolsHide: boolean | undefined;\n toolsOpen: boolean | undefined;\n toolsWidth: number;\n tools: React.ReactNode | undefined;\n onToolsToggle: (newOpen: boolean) => void;\n ariaLabels: AppLayoutProps.Labels | undefined;\n disableDrawersMerge?: boolean;\n}\n\nfunction getToolsDrawerItem(props: ToolsProps): AppLayoutProps.Drawer | null {\n if (props.toolsHide) {\n return null;\n }\n const { iconName, getLabels } = togglesConfig.tools;\n const { mainLabel, closeLabel, openLabel } = getLabels(props.ariaLabels);\n return {\n id: TOOLS_DRAWER_ID,\n content: props.tools,\n resizable: false,\n ariaLabels: {\n triggerButton: openLabel,\n closeButton: closeLabel,\n drawerName: mainLabel ?? '',\n },\n trigger: {\n iconName: iconName,\n },\n };\n}\n\nfunction useRuntimeDrawers(\n disableRuntimeDrawers: boolean | undefined,\n activeDrawerId: string | null,\n onActiveDrawerChange: (newDrawerId: string | null) => void\n) {\n const [runtimeDrawers, setRuntimeDrawers] = useState<DrawersLayout>({ before: [], after: [] });\n const onActiveDrawerChangeStable = useStableCallback(onActiveDrawerChange);\n\n const drawerWasOpenRef = useRef(false);\n drawerWasOpenRef.current = drawerWasOpenRef.current || !!activeDrawerId;\n\n useEffect(() => {\n if (disableRuntimeDrawers) {\n return;\n }\n const unsubscribe = awsuiPluginsInternal.appLayout.onDrawersRegistered(drawers => {\n setRuntimeDrawers(convertRuntimeDrawers(drawers));\n if (!drawerWasOpenRef.current) {\n const defaultActiveDrawer = sortByPriority(drawers).find(drawer => drawer.defaultActive);\n if (defaultActiveDrawer) {\n onActiveDrawerChangeStable(defaultActiveDrawer.id);\n }\n }\n });\n return () => {\n unsubscribe();\n setRuntimeDrawers({ before: [], after: [] });\n };\n }, [disableRuntimeDrawers, onActiveDrawerChangeStable]);\n\n return runtimeDrawers;\n}\n\nfunction applyToolsDrawer(toolsProps: ToolsProps, runtimeDrawers: DrawersLayout) {\n const drawers = [...runtimeDrawers.before, ...runtimeDrawers.after];\n if (drawers.length === 0 && toolsProps.disableDrawersMerge) {\n return null;\n }\n const toolsItem = getToolsDrawerItem(toolsProps);\n if (toolsItem) {\n drawers.unshift(toolsItem);\n }\n\n return drawers;\n}\n\ntype UseDrawersProps = Pick<AppLayoutProps, 'drawers' | 'activeDrawerId' | 'onDrawerChange'> & {\n __disableRuntimeDrawers?: boolean;\n};\n\nexport function useDrawers(\n {\n drawers,\n activeDrawerId: controlledActiveDrawerId,\n onDrawerChange,\n __disableRuntimeDrawers: disableRuntimeDrawers,\n }: UseDrawersProps,\n ariaLabels: AppLayoutProps['ariaLabels'],\n toolsProps: ToolsProps\n) {\n const [activeDrawerId = null, setActiveDrawerId] = useControllable(controlledActiveDrawerId, onDrawerChange, null, {\n componentName: 'AppLayout',\n controlledProp: 'activeDrawerId',\n changeHandler: 'onChange',\n });\n const [drawerSizes, setDrawerSizes] = useState<Record<string, number>>({});\n\n function onActiveDrawerResize({ id, size }: { id: string; size: number }) {\n setDrawerSizes(oldSizes => ({ ...oldSizes, [id]: size }));\n fireNonCancelableEvent(activeDrawer?.onResize, { id, size });\n }\n\n function onActiveDrawerChange(newDrawerId: string | null) {\n setActiveDrawerId(newDrawerId);\n if (hasOwnDrawers) {\n fireNonCancelableEvent(onDrawerChange, { activeDrawerId: newDrawerId });\n } else if (!toolsProps.toolsHide) {\n toolsProps.onToolsToggle(newDrawerId === TOOLS_DRAWER_ID);\n }\n }\n\n const hasOwnDrawers = !!drawers;\n const runtimeDrawers = useRuntimeDrawers(disableRuntimeDrawers, activeDrawerId, onActiveDrawerChange);\n const combinedDrawers = drawers\n ? [...runtimeDrawers.before, ...drawers, ...runtimeDrawers.after]\n : applyToolsDrawer(toolsProps, runtimeDrawers);\n // support toolsOpen in runtime-drawers-only mode\n let activeDrawerIdResolved = toolsProps?.toolsOpen && !hasOwnDrawers ? TOOLS_DRAWER_ID : activeDrawerId;\n const activeDrawer = combinedDrawers?.find(drawer => drawer.id === activeDrawerIdResolved);\n // ensure that id is only defined when the drawer exists\n activeDrawerIdResolved = activeDrawer?.id ?? null;\n\n const activeDrawerSize = activeDrawerIdResolved\n ? drawerSizes[activeDrawerIdResolved] ?? activeDrawer?.defaultSize ?? toolsProps.toolsWidth\n : toolsProps.toolsWidth;\n const minDrawerSize = Math.min(activeDrawer?.defaultSize ?? 290, 290);\n\n return {\n ariaLabelsWithDrawers: ariaLabels,\n drawers: combinedDrawers || undefined,\n activeDrawer,\n activeDrawerId: activeDrawerIdResolved,\n activeDrawerSize,\n minDrawerSize,\n onActiveDrawerChange,\n onActiveDrawerResize,\n };\n}\n"]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { useCallback } from 'react';
|
|
4
4
|
import { getIsRtl, getLogicalBoundingClientRect, getLogicalClientX, } from '@cloudscape-design/component-toolkit/internal';
|
|
5
|
-
import styles from '../styles.css.js';
|
|
5
|
+
import styles from '../resize/styles.css.js';
|
|
6
6
|
export const usePointerEvents = ({ position, panelRef, handleRef, onResize, hasTransitions = false, }) => {
|
|
7
7
|
const onDocumentPointerMove = useCallback((event) => {
|
|
8
8
|
if (!panelRef || !panelRef.current || !handleRef || !handleRef.current) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pointer-events.js","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-pointer-events.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EACL,QAAQ,EACR,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,+CAA+C,CAAC;AAIvD,OAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"use-pointer-events.js","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-pointer-events.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EACL,QAAQ,EACR,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,+CAA+C,CAAC;AA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// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useCallback } from 'react';\n\nimport {\n getIsRtl,\n getLogicalBoundingClientRect,\n getLogicalClientX,\n} from '@cloudscape-design/component-toolkit/internal';\n\nimport { SizeControlProps } from './interfaces';\n\nimport styles from '../resize/styles.css.js';\n\nexport const usePointerEvents = ({\n position,\n panelRef,\n handleRef,\n onResize,\n hasTransitions = false,\n}: SizeControlProps) => {\n const onDocumentPointerMove = useCallback(\n (event: PointerEvent) => {\n if (!panelRef || !panelRef.current || !handleRef || !handleRef.current) {\n return;\n }\n\n panelRef.current.classList.remove(styles['with-motion']);\n\n if (position === 'side') {\n const mouseClientX = getLogicalClientX(event, getIsRtl(panelRef.current)) || 0;\n\n // The handle offset aligns the cursor with the middle of the resize handle.\n const handleOffset = getLogicalBoundingClientRect(handleRef.current).inlineSize / 2;\n const width = getLogicalBoundingClientRect(panelRef.current).insetInlineEnd - mouseClientX + handleOffset;\n\n onResize(width);\n } else {\n const mouseClientY = event.clientY || 0;\n\n // The handle offset aligns the cursor with the middle of the resize handle.\n const handleOffset = getLogicalBoundingClientRect(handleRef.current).blockSize / 2;\n const height = getLogicalBoundingClientRect(panelRef.current).insetBlockEnd - mouseClientY + handleOffset;\n\n onResize(height);\n }\n },\n [position, panelRef, handleRef, onResize]\n );\n\n const onDocumentPointerUp = useCallback(() => {\n if (!panelRef || !panelRef.current) {\n return;\n }\n\n if (hasTransitions) {\n panelRef.current.classList.add(styles['with-motion']);\n }\n document.body.classList.remove(styles['resize-active']);\n document.body.classList.remove(styles[`resize-${position}`]);\n document.removeEventListener('pointerup', onDocumentPointerUp);\n document.removeEventListener('pointermove', onDocumentPointerMove);\n }, [panelRef, onDocumentPointerMove, position, hasTransitions]);\n\n const onSliderPointerDown = useCallback(() => {\n document.body.classList.add(styles['resize-active']);\n document.body.classList.add(styles[`resize-${position}`]);\n document.addEventListener('pointerup', onDocumentPointerUp);\n document.addEventListener('pointermove', onDocumentPointerMove);\n }, [onDocumentPointerMove, onDocumentPointerUp, position]);\n\n return onSliderPointerDown;\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/visual-refresh/context.tsx"],"names":[],"mappings":"AAEA,OAAO,KASN,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAMvF,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAG3E,OAAO,EAAE,gBAAgB,EAAmB,MAAM,4BAA4B,CAAC;AAE/E,OAAO,EAAE,0BAA0B,EAA6B,MAAM,wCAAwC,CAAC;AAM/G,UAAU,kBAAmB,SAAQ,0BAA0B;IAC7D,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClD,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,wBAAwB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,iCAAiC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtD,WAAW,EAAE,gBAAgB,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAClC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACxF,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,qBAAqB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,iCAAiC,EAA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5B,sBAAsB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB,yBAAyB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,iCAAiC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,cAAc,CAAC,kBAAkB,CAAC;IACtD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,8BAA8B,EAAE,MAAM,CAAC;IACvC,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,mBAAmB,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACjE,mBAAmB,EAAE,OAAO,CAAC;IAC7B,cAAc,EAAE,0BAA0B,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AASD,UAAU,+BAAgC,SAAQ,0BAA0B;IAC1E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,qBAAqB,uBAMpC;AAED,eAAO,MAAM,0BAA0B,4GAydtC,CAAC"}
|
|
@@ -296,7 +296,10 @@ export const AppLayoutInternalsProvider = React.forwardRef((props, forwardRef) =
|
|
|
296
296
|
isMobile && handleNavigationClick(false);
|
|
297
297
|
},
|
|
298
298
|
openTools: function () {
|
|
299
|
-
handleToolsClick(true);
|
|
299
|
+
handleToolsClick(true, hasDrawers);
|
|
300
|
+
if (hasDrawers) {
|
|
301
|
+
focusDrawersButtons(true);
|
|
302
|
+
}
|
|
300
303
|
},
|
|
301
304
|
focusToolsClose: () => {
|
|
302
305
|
if (hasDrawers) {
|