@cloudscape-design/components-themeable 3.0.1332 → 3.0.1333
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/constants.scss +4 -0
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/navigation/styles.scss +43 -13
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/skeleton/styles.scss +7 -1
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/toolbar/styles.scss +2 -2
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +174 -173
- package/lib/internal/scss/side-navigation/styles.scss +4 -7
- package/lib/internal/scss/status-indicator/styles.scss +4 -2
- package/lib/internal/template/alert/styles.css.js +27 -27
- package/lib/internal/template/alert/styles.scoped.css +50 -50
- package/lib/internal/template/alert/styles.selectors.js +27 -27
- package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
- package/lib/internal/template/app-layout/classic.d.ts +1 -0
- package/lib/internal/template/app-layout/classic.d.ts.map +1 -1
- package/lib/internal/template/app-layout/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/index.js +2 -1
- package/lib/internal/template/app-layout/index.js.map +1 -1
- package/lib/internal/template/app-layout/interfaces.d.ts +16 -1
- package/lib/internal/template/app-layout/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/internal.d.ts +1 -0
- package/lib/internal/template/app-layout/internal.d.ts.map +1 -1
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh/index.d.ts +1 -0
- package/lib/internal/template/app-layout/visual-refresh/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +262 -262
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts +3 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +93 -93
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts +2 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts +2 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js +11 -5
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -4
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +34 -15
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -4
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/skeleton-parts.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/skeleton-parts.js +4 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/skeleton-parts.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -29
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +72 -67
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -29
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/props-merger.js +2 -0
- 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 +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 +26 -3
- 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/state/use-skeleton-slots-attributes.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js +2 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-skeleton-slots-attributes.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +14 -14
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +36 -36
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +14 -14
- 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 +3 -3
- package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
- package/lib/internal/template/app-layout-toolbar/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout-toolbar/index.js +2 -1
- package/lib/internal/template/app-layout-toolbar/index.js.map +1 -1
- package/lib/internal/template/attribute-editor/styles.css.js +15 -15
- package/lib/internal/template/attribute-editor/styles.scoped.css +29 -29
- package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +30 -30
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +22 -22
- package/lib/internal/template/button/styles.scoped.css +256 -256
- package/lib/internal/template/button/styles.selectors.js +22 -22
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +11 -11
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/content-layout/styles.css.js +14 -14
- package/lib/internal/template/content-layout/styles.scoped.css +27 -27
- package/lib/internal/template/content-layout/styles.selectors.js +14 -14
- package/lib/internal/template/dropdown/styles.css.js +20 -20
- package/lib/internal/template/dropdown/styles.scoped.css +49 -49
- package/lib/internal/template/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/file-token-group/styles.css.js +23 -23
- package/lib/internal/template/file-token-group/styles.scoped.css +36 -36
- package/lib/internal/template/file-token-group/styles.selectors.js +23 -23
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +192 -192
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/help-panel/styles.css.js +6 -6
- package/lib/internal/template/help-panel/styles.scoped.css +72 -72
- package/lib/internal/template/help-panel/styles.selectors.js +6 -6
- package/lib/internal/template/input/styles.css.js +18 -18
- package/lib/internal/template/input/styles.scoped.css +82 -82
- package/lib/internal/template/input/styles.selectors.js +18 -18
- package/lib/internal/template/internal/base-component/styles.scoped.css +9 -1
- package/lib/internal/template/internal/components/abstract-switch/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/abstract-switch/index.js +7 -1
- package/lib/internal/template/internal/components/abstract-switch/index.js.map +1 -1
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/lib/internal/template/internal/components/option/styles.css.js +17 -17
- package/lib/internal/template/internal/components/option/styles.scoped.css +31 -31
- package/lib/internal/template/internal/components/option/styles.selectors.js +17 -17
- package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
- package/lib/internal/template/internal/components/radio-button/styles.scoped.css +18 -18
- package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +22 -22
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +57 -57
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +22 -22
- package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +173 -172
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- 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 +40 -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 +40 -0
- package/lib/internal/template/item-card/styles.css.js +14 -14
- package/lib/internal/template/item-card/styles.scoped.css +63 -63
- package/lib/internal/template/item-card/styles.selectors.js +14 -14
- package/lib/internal/template/link/styles.css.js +21 -21
- package/lib/internal/template/link/styles.scoped.css +117 -117
- package/lib/internal/template/link/styles.selectors.js +21 -21
- package/lib/internal/template/modal/styles.css.js +31 -31
- package/lib/internal/template/modal/styles.scoped.css +48 -48
- package/lib/internal/template/modal/styles.selectors.js +31 -31
- package/lib/internal/template/package.json +94 -0
- package/lib/internal/template/progress-bar/styles.css.js +18 -18
- package/lib/internal/template/progress-bar/styles.scoped.css +48 -48
- package/lib/internal/template/progress-bar/styles.selectors.js +18 -18
- package/lib/internal/template/prompt-input/styles.css.js +26 -26
- package/lib/internal/template/prompt-input/styles.scoped.css +105 -105
- package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
- package/lib/internal/template/segmented-control/styles.css.js +16 -16
- package/lib/internal/template/segmented-control/styles.scoped.css +46 -46
- package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
- package/lib/internal/template/side-navigation/implementation.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/implementation.js +4 -3
- package/lib/internal/template/side-navigation/implementation.js.map +1 -1
- package/lib/internal/template/side-navigation/parts.d.ts +3 -1
- package/lib/internal/template/side-navigation/parts.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/parts.js +38 -26
- package/lib/internal/template/side-navigation/parts.js.map +1 -1
- package/lib/internal/template/side-navigation/styles.css.js +47 -47
- package/lib/internal/template/side-navigation/styles.scoped.css +74 -76
- package/lib/internal/template/side-navigation/styles.selectors.js +47 -47
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +165 -165
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/spinner/styles.css.js +13 -13
- package/lib/internal/template/spinner/styles.scoped.css +39 -39
- package/lib/internal/template/spinner/styles.selectors.js +13 -13
- package/lib/internal/template/status-indicator/internal-interfaces.d.ts +3 -0
- package/lib/internal/template/status-indicator/internal-interfaces.d.ts.map +1 -0
- package/lib/internal/template/status-indicator/internal-interfaces.js +2 -0
- package/lib/internal/template/status-indicator/internal-interfaces.js.map +1 -0
- package/lib/internal/template/status-indicator/internal.d.ts +6 -2
- package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
- package/lib/internal/template/status-indicator/internal.js +1 -0
- package/lib/internal/template/status-indicator/internal.js.map +1 -1
- package/lib/internal/template/status-indicator/styles.css.js +25 -24
- package/lib/internal/template/status-indicator/styles.scoped.css +59 -53
- package/lib/internal/template/status-indicator/styles.selectors.js +25 -24
- package/lib/internal/template/steps/interfaces.d.ts +2 -2
- package/lib/internal/template/steps/interfaces.d.ts.map +1 -1
- package/lib/internal/template/steps/interfaces.js.map +1 -1
- package/lib/internal/template/steps/internal.d.ts.map +1 -1
- package/lib/internal/template/steps/internal.js +1 -0
- package/lib/internal/template/steps/internal.js.map +1 -1
- package/lib/internal/template/tabs/styles.css.js +30 -30
- package/lib/internal/template/tabs/styles.scoped.css +76 -76
- package/lib/internal/template/tabs/styles.selectors.js +30 -30
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +66 -66
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/textarea/styles.css.js +5 -5
- package/lib/internal/template/textarea/styles.scoped.css +45 -45
- package/lib/internal/template/textarea/styles.selectors.js +5 -5
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +23 -23
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/token/styles.css.js +14 -14
- package/lib/internal/template/token/styles.scoped.css +47 -47
- package/lib/internal/template/token/styles.selectors.js +14 -14
- package/package.json +1 -1
|
@@ -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
|
-
.awsui_universal-
|
|
153
|
+
.awsui_universal-toolbar_1kzri_1g205_153:not(#\9) {
|
|
154
154
|
background-color: var(--color-background-layout-toolbar-oyny45, #ffffff);
|
|
155
155
|
box-sizing: border-box;
|
|
156
156
|
position: sticky;
|
|
@@ -160,16 +160,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
160
160
|
transition-property: inset-block-start, opacity;
|
|
161
161
|
}
|
|
162
162
|
@media (prefers-reduced-motion: reduce) {
|
|
163
|
-
.awsui_universal-
|
|
163
|
+
.awsui_universal-toolbar_1kzri_1g205_153:not(#\9) {
|
|
164
164
|
animation: none;
|
|
165
165
|
transition: none;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
.awsui-motion-disabled .awsui_universal-
|
|
168
|
+
.awsui-motion-disabled .awsui_universal-toolbar_1kzri_1g205_153:not(#\9), .awsui-mode-entering .awsui_universal-toolbar_1kzri_1g205_153:not(#\9) {
|
|
169
169
|
animation: none;
|
|
170
170
|
transition: none;
|
|
171
171
|
}
|
|
172
|
-
.awsui_universal-
|
|
172
|
+
.awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):before, .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after {
|
|
173
173
|
content: "";
|
|
174
174
|
position: absolute;
|
|
175
175
|
inset-block-start: 0;
|
|
@@ -186,38 +186,38 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
186
186
|
*/
|
|
187
187
|
}
|
|
188
188
|
@media not print {
|
|
189
|
-
.awsui_universal-
|
|
189
|
+
.awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):before, .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after {
|
|
190
190
|
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
191
191
|
}
|
|
192
|
-
.awsui-polaris-dark-mode .awsui_universal-
|
|
192
|
+
.awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):before, .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):before, .awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after, .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after {
|
|
193
193
|
inset-block-start: 42px;
|
|
194
194
|
inline-size: var(--border-divider-section-width-dlkb8v, 1px);
|
|
195
195
|
block-size: calc(100vh - 42px);
|
|
196
196
|
background: var(--color-border-layout-ovzonx, #d5dbdb);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
.awsui-one-theme .awsui_universal-
|
|
199
|
+
.awsui-one-theme .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):before, .awsui-one-theme .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after {
|
|
200
200
|
inset-block-start: 42px;
|
|
201
201
|
inline-size: var(--border-divider-section-width-dlkb8v, 1px);
|
|
202
202
|
block-size: calc(100vh - 42px);
|
|
203
203
|
background: var(--color-border-layout-ovzonx, #d5dbdb);
|
|
204
204
|
}
|
|
205
|
-
.awsui_universal-
|
|
205
|
+
.awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after {
|
|
206
206
|
background-color: var(--color-background-layout-toolbar-oyny45, #ffffff);
|
|
207
207
|
border-start-start-radius: var(--space-xxs-jnczic, 4px);
|
|
208
208
|
}
|
|
209
209
|
@media not print {
|
|
210
|
-
.awsui_universal-
|
|
210
|
+
.awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after {
|
|
211
211
|
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
212
212
|
}
|
|
213
|
-
.awsui-polaris-dark-mode .awsui_universal-
|
|
213
|
+
.awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after, .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9):not(:has(.awsui_universal-toolbar-ai-custom_1kzri_1g205_172)):after {
|
|
214
214
|
display: none;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
.awsui_universal-
|
|
217
|
+
.awsui_universal-toolbar_1kzri_1g205_153.awsui_disable-body-scroll_1kzri_1g205_217:not(#\9) {
|
|
218
218
|
inset-block-start: 0px;
|
|
219
219
|
}
|
|
220
|
-
.awsui_universal-
|
|
220
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9) {
|
|
221
221
|
grid-column: 1;
|
|
222
222
|
position: relative;
|
|
223
223
|
display: flex;
|
|
@@ -239,14 +239,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
239
239
|
background: var(--color-background-layout-ai-drawer-91zkk9, #1a2029);
|
|
240
240
|
}
|
|
241
241
|
@media not print {
|
|
242
|
-
.awsui_universal-
|
|
242
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9) {
|
|
243
243
|
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
244
244
|
}
|
|
245
|
-
.awsui-polaris-dark-mode .awsui_universal-
|
|
245
|
+
.awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9), .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9) {
|
|
246
246
|
block-size: 100%;
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
.awsui_universal-
|
|
249
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):before, .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):after {
|
|
250
250
|
content: "";
|
|
251
251
|
position: absolute;
|
|
252
252
|
inset-block-start: 0;
|
|
@@ -256,18 +256,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
256
256
|
background: var(--color-background-layout-ai-drawer-91zkk9, #1a2029);
|
|
257
257
|
}
|
|
258
258
|
@media not print {
|
|
259
|
-
.awsui_universal-
|
|
259
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):before, .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):after {
|
|
260
260
|
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
261
261
|
}
|
|
262
|
-
.awsui-polaris-dark-mode .awsui_universal-
|
|
262
|
+
.awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):before, .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):before, .awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):after, .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):after {
|
|
263
263
|
display: none;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
.awsui_universal-
|
|
266
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_universal-toolbar-ai-custom_1kzri_1g205_172:not(#\9):after {
|
|
267
267
|
background-color: var(--color-background-layout-toolbar-oyny45, #ffffff);
|
|
268
268
|
border-start-start-radius: var(--space-xxs-jnczic, 4px);
|
|
269
269
|
}
|
|
270
|
-
.awsui_universal-
|
|
270
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270:not(#\9) {
|
|
271
271
|
block-size: 100%;
|
|
272
272
|
align-items: center;
|
|
273
273
|
display: grid;
|
|
@@ -276,39 +276,39 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
276
276
|
grid-template-rows: 1fr;
|
|
277
277
|
}
|
|
278
278
|
@media not print {
|
|
279
|
-
.awsui_universal-
|
|
279
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270:not(#\9) {
|
|
280
280
|
/* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
|
|
281
281
|
}
|
|
282
|
-
.awsui-polaris-dark-mode .awsui_universal-
|
|
282
|
+
.awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270:not(#\9), .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270:not(#\9) {
|
|
283
283
|
border-block-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
284
284
|
}
|
|
285
|
-
.awsui-polaris-dark-mode .awsui_universal-
|
|
285
|
+
.awsui-polaris-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9), .awsui-dark-mode .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9) {
|
|
286
286
|
border-start-start-radius: var(--space-xxs-jnczic, 4px);
|
|
287
287
|
border-inline-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
.awsui-one-theme .awsui_universal-
|
|
290
|
+
.awsui-one-theme .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270:not(#\9) {
|
|
291
291
|
border-block-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
292
292
|
}
|
|
293
|
-
.awsui-one-theme .awsui_universal-
|
|
293
|
+
.awsui-one-theme .awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270.awsui_with-ai-drawer_1kzri_1g205_172:not(#\9) {
|
|
294
294
|
border-start-start-radius: var(--space-xxs-jnczic, 4px);
|
|
295
295
|
border-inline-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
|
|
296
296
|
}
|
|
297
|
-
.awsui_universal-
|
|
297
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270 > .awsui_universal-toolbar-nav_1kzri_1g205_297:not(#\9) {
|
|
298
298
|
grid-column: 2;
|
|
299
|
-
padding-inline-start: var(--space-
|
|
299
|
+
padding-inline-start: var(--space-s-4a5hs8, 12px);
|
|
300
300
|
padding-inline-end: var(--space-static-xxs-0cgyf1, 4px);
|
|
301
301
|
}
|
|
302
|
-
.awsui_universal-
|
|
302
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270 > .awsui_universal-toolbar-breadcrumbs_1kzri_1g205_302:not(#\9) {
|
|
303
303
|
grid-column: 3;
|
|
304
304
|
padding-inline: var(--space-static-xs-4gq40t, 8px);
|
|
305
305
|
background-color: transparent;
|
|
306
306
|
flex: 1 0;
|
|
307
307
|
}
|
|
308
|
-
.awsui_universal-
|
|
308
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270 > .awsui_universal-toolbar-breadcrumbs_1kzri_1g205_302:not(#\9):first-child {
|
|
309
309
|
padding-inline: calc(var(--space-static-xs-4gq40t, 8px) + var(--space-static-m-1cd7a5, 16px));
|
|
310
310
|
}
|
|
311
|
-
.awsui_universal-
|
|
311
|
+
.awsui_universal-toolbar_1kzri_1g205_153 > .awsui_toolbar-container_1kzri_1g205_270 > .awsui_universal-toolbar-drawers_1kzri_1g205_311:not(#\9) {
|
|
312
312
|
grid-column: 4;
|
|
313
313
|
column-gap: var(--space-static-xs-4gq40t, 8px);
|
|
314
314
|
display: flex;
|
|
@@ -316,8 +316,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
316
316
|
block-size: 100%;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
.awsui_drawers-desktop-triggers-
|
|
320
|
-
.awsui_drawers-mobile-triggers-
|
|
319
|
+
.awsui_drawers-desktop-triggers-container_1kzri_1g205_319:not(#\9),
|
|
320
|
+
.awsui_drawers-mobile-triggers-container_1kzri_1g205_320:not(#\9) {
|
|
321
321
|
border-collapse: separate;
|
|
322
322
|
border-spacing: 0;
|
|
323
323
|
box-sizing: border-box;
|
|
@@ -348,7 +348,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
348
348
|
-webkit-font-smoothing: auto;
|
|
349
349
|
-moz-osx-font-smoothing: auto;
|
|
350
350
|
background-color: transparent;
|
|
351
|
-
padding-inline: var(--space-
|
|
351
|
+
padding-inline: var(--space-s-4a5hs8, 12px);
|
|
352
352
|
box-sizing: border-box;
|
|
353
353
|
overflow-y: hidden;
|
|
354
354
|
overflow-x: hidden;
|
|
@@ -359,7 +359,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
359
359
|
inline-size: 100%;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
-
.awsui_drawers-trigger-
|
|
362
|
+
.awsui_drawers-trigger-content_1kzri_1g205_362:not(#\9) {
|
|
363
363
|
block-size: 100%;
|
|
364
364
|
align-items: center;
|
|
365
365
|
display: flex;
|
|
@@ -369,19 +369,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
369
369
|
padding-inline-start: var(--space-xs-kw7k3v, 8px);
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
.awsui_group-
|
|
372
|
+
.awsui_group-divider_1kzri_1g205_372:not(#\9) {
|
|
373
373
|
border-inline-end: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-divider-default-ipvpev, #eaeded);
|
|
374
374
|
block-size: 60%;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
@media (max-width: 688px) {
|
|
378
|
-
.awsui_drawers-
|
|
378
|
+
.awsui_drawers-trigger_1kzri_1g205_362:not(#\9) {
|
|
379
379
|
display: flex;
|
|
380
380
|
justify-content: center;
|
|
381
381
|
align-items: center;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
.awsui_block-body-
|
|
385
|
+
.awsui_block-body-scroll_1kzri_1g205_385:not(#\9) {
|
|
386
386
|
overflow: hidden;
|
|
387
387
|
}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"universal-toolbar": "awsui_universal-
|
|
6
|
-
"with-ai-drawer": "awsui_with-ai-
|
|
7
|
-
"universal-toolbar-ai-custom": "awsui_universal-toolbar-ai-
|
|
8
|
-
"disable-body-scroll": "awsui_disable-body-
|
|
9
|
-
"toolbar-container": "awsui_toolbar-
|
|
10
|
-
"universal-toolbar-nav": "awsui_universal-toolbar-
|
|
11
|
-
"universal-toolbar-breadcrumbs": "awsui_universal-toolbar-
|
|
12
|
-
"universal-toolbar-drawers": "awsui_universal-toolbar-
|
|
13
|
-
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-
|
|
14
|
-
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-
|
|
15
|
-
"drawers-trigger-content": "awsui_drawers-trigger-
|
|
16
|
-
"group-divider": "awsui_group-
|
|
17
|
-
"drawers-trigger": "awsui_drawers-
|
|
18
|
-
"block-body-scroll": "awsui_block-body-
|
|
5
|
+
"universal-toolbar": "awsui_universal-toolbar_1kzri_1g205_153",
|
|
6
|
+
"with-ai-drawer": "awsui_with-ai-drawer_1kzri_1g205_172",
|
|
7
|
+
"universal-toolbar-ai-custom": "awsui_universal-toolbar-ai-custom_1kzri_1g205_172",
|
|
8
|
+
"disable-body-scroll": "awsui_disable-body-scroll_1kzri_1g205_217",
|
|
9
|
+
"toolbar-container": "awsui_toolbar-container_1kzri_1g205_270",
|
|
10
|
+
"universal-toolbar-nav": "awsui_universal-toolbar-nav_1kzri_1g205_297",
|
|
11
|
+
"universal-toolbar-breadcrumbs": "awsui_universal-toolbar-breadcrumbs_1kzri_1g205_302",
|
|
12
|
+
"universal-toolbar-drawers": "awsui_universal-toolbar-drawers_1kzri_1g205_311",
|
|
13
|
+
"drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_1kzri_1g205_319",
|
|
14
|
+
"drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-container_1kzri_1g205_320",
|
|
15
|
+
"drawers-trigger-content": "awsui_drawers-trigger-content_1kzri_1g205_362",
|
|
16
|
+
"group-divider": "awsui_group-divider_1kzri_1g205_372",
|
|
17
|
+
"drawers-trigger": "awsui_drawers-trigger_1kzri_1g205_362",
|
|
18
|
+
"block-body-scroll": "awsui_block-body-scroll_1kzri_1g205_385"
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"before-main-slot.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAQ3D,eAAO,MAAM,oCAAoC,GAAI,mDAIlD,iBAAiB,
|
|
1
|
+
{"version":3,"file":"before-main-slot.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAQ3D,eAAO,MAAM,oCAAoC,GAAI,mDAIlD,iBAAiB,gBAoHnB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,OAAO,iBAAiB,gBAIpE,CAAC;AAEF,eAAO,MAAM,uCAAuC,qBANA,iBAAiB,0CAAjB,iBAAiB,gBASpE,CAAC"}
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js
CHANGED
|
@@ -18,7 +18,7 @@ export const BeforeMainSlotImplementationInternal = ({ toolbarProps, appLayoutSt
|
|
|
18
18
|
if (!isWidgetReady(appLayoutState)) {
|
|
19
19
|
return (React.createElement(BeforeMainSlotSkeleton, { toolbarProps: toolbarProps, appLayoutProps: appLayoutProps, appLayoutState: appLayoutState }));
|
|
20
20
|
}
|
|
21
|
-
const { activeDrawer, navigationOpen, navigation, expandedDrawerId, setExpandedDrawerId, navigationAnimationDisabled, activeAiDrawerId, aiDrawerExpandedMode, aiDrawer, activeAiDrawerSize, minAiDrawerSize, maxAiDrawerSize, onActiveAiDrawerResize, aiDrawerFocusControl, ariaLabels, isMobile, drawersOpenQueue, onActiveAiDrawerChange, activeAiDrawer, bottomDrawerReportedSize, featureNotificationsProps, } = appLayoutState.widgetizedState;
|
|
21
|
+
const { activeDrawer, navigationOpen, navigationCollapsible, navigation, expandedDrawerId, setExpandedDrawerId, navigationAnimationDisabled, activeAiDrawerId, aiDrawerExpandedMode, aiDrawer, activeAiDrawerSize, minAiDrawerSize, maxAiDrawerSize, onActiveAiDrawerResize, aiDrawerFocusControl, ariaLabels, isMobile, drawersOpenQueue, onActiveAiDrawerChange, activeAiDrawer, bottomDrawerReportedSize, featureNotificationsProps, } = appLayoutState.widgetizedState;
|
|
22
22
|
const drawerExpandedMode = !!expandedDrawerId;
|
|
23
23
|
const toolsOpen = !!activeDrawer;
|
|
24
24
|
// Must use `toolbarProps` because all layouts have to apply this mode, not just the one with toolbar
|
|
@@ -47,9 +47,9 @@ export const BeforeMainSlotImplementationInternal = ({ toolbarProps, appLayoutSt
|
|
|
47
47
|
expandedDrawerId,
|
|
48
48
|
setExpandedDrawerId,
|
|
49
49
|
} })))))),
|
|
50
|
-
navigation && (React.createElement("div", { className: clsx(styles.navigation, !navigationOpen && styles['panel-hidden'], toolsOpen && styles['unfocusable-mobile'], !navigationAnimationDisabled && sharedStyles['with-motion-horizontal'], (drawerExpandedMode || drawerExpandedModeInChildLayout) && styles.hidden) },
|
|
50
|
+
navigation && (React.createElement("div", { className: clsx(styles.navigation, !navigationOpen && (!navigationCollapsible || isMobile) && styles['panel-hidden'], !navigationOpen && navigationCollapsible && !isMobile && styles['navigation-collapsed'], toolsOpen && styles['unfocusable-mobile'], !navigationAnimationDisabled && sharedStyles['with-motion-horizontal'], (drawerExpandedMode || drawerExpandedModeInChildLayout) && styles.hidden) },
|
|
51
51
|
React.createElement(AppLayoutBuiltInErrorBoundary, { appLayoutPart: "nav" },
|
|
52
|
-
React.createElement(AppLayoutNavigation, { appLayoutInternals: appLayoutState.appLayoutInternals, bottomDrawerReportedSize: bottomDrawerReportedSize }))))));
|
|
52
|
+
React.createElement(AppLayoutNavigation, { appLayoutInternals: appLayoutState.appLayoutInternals, bottomDrawerReportedSize: bottomDrawerReportedSize, navigationCollapsible: navigationCollapsible }))))));
|
|
53
53
|
};
|
|
54
54
|
export const BeforeMainSlotImplementation = (props) => (React.createElement(AppLayoutBuiltInErrorBoundary, { appLayoutPart: "before-main-slot" },
|
|
55
55
|
React.createElement(BeforeMainSlotImplementationInternal, { ...props })));
|
package/lib/internal/template/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"before-main-slot.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,EAAE,iCAAiC,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,8BAA8B,IAAI,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEhF,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAE/C,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,EACnD,YAAY,EACZ,cAAc,EACd,cAAc,GACI,EAAE,EAAE;;IACtB,MAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACzC,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;QACnC,OAAO,CACL,oBAAC,sBAAsB,IACrB,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC;IACJ,CAAC;IACD,MAAM,EACJ,YAAY,EACZ,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,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CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,IAC5E,CAAC,CAAC,CAAC,gBAAgB,IAAI,CAAC,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,uBAAuB,KAAI,kBAAkB,CAAC,OAAO,CAAC,CAAC,IAAI,CAC5F;gBACG,CAAC,kBAAkB,CAAC,OAAO,GAAG,IAAI,CAAC;gBACpC,oBAAC,qCAAqC,IACpC,IAAI,EAAE,CAAC,CAAC,gBAAgB,EACxB,cAAc,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,IAAI,EAChC,kBAAkB,EAAE,cAAc,CAAC,kBAAkB,EACrD,aAAa,EAAE;wBACb,kBAAkB,EAAE,kBAAmB;wBACvC,eAAe,EAAE,eAAgB;wBACjC,eAAe,EAAE,eAAgB;wBACjC,QAAQ,EAAE,QAAS;wBACnB,UAAU;wBACV,oBAAoB;wBACpB,QAAQ;wBACR,gBAAgB;wBAChB,sBAAsB;wBACtB,oBAAoB,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC;wBAChE,gBAAgB;wBAChB,mBAAmB;qBACpB,GACD,CACD,CACJ,CAC6B,CAC5B,CACP;QACA,UAAU,IAAI,CACb,6BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,UAAU,EACjB,CAAC,cAAc,IAAI,MAAM,CAAC,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"before-main-slot.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,C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,KAAK,GAAI,CACrB,CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,uCAAuC,GAAG,yBAAyB,CAC9E,4BAA4B,EAC5B,sBAAsB,CACvB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { AppLayoutBuiltInErrorBoundary } from '../../../error-boundary/internal';\nimport { createWidgetizedComponent } from '../../../internal/widgets';\nimport { ActiveDrawersContext } from '../../utils/visibility-context';\nimport { AppLayoutGlobalAiDrawerImplementation } from '../drawer/global-ai-drawer';\nimport { AppLayoutNavigationImplementation as AppLayoutNavigation } from '../navigation';\nimport { SkeletonPartProps } from '../skeleton/interfaces';\nimport { BeforeMainSlotSkeleton } from '../skeleton/skeleton-parts';\nimport { isWidgetReady } from '../state/invariants';\nimport { AppLayoutToolbarImplementation as AppLayoutToolbar } from '../toolbar';\n\nimport sharedStyles from '../../resize/styles.css.js';\nimport styles from '../skeleton/styles.css.js';\n\nexport const BeforeMainSlotImplementationInternal = ({\n toolbarProps,\n appLayoutState,\n appLayoutProps,\n}: SkeletonPartProps) => {\n const wasAiDrawerOpenRef = useRef(false);\n if (!isWidgetReady(appLayoutState)) {\n return (\n <BeforeMainSlotSkeleton\n toolbarProps={toolbarProps}\n appLayoutProps={appLayoutProps}\n appLayoutState={appLayoutState}\n />\n );\n }\n const {\n activeDrawer,\n navigationOpen,\n navigationCollapsible,\n navigation,\n expandedDrawerId,\n setExpandedDrawerId,\n navigationAnimationDisabled,\n activeAiDrawerId,\n aiDrawerExpandedMode,\n aiDrawer,\n activeAiDrawerSize,\n minAiDrawerSize,\n maxAiDrawerSize,\n onActiveAiDrawerResize,\n aiDrawerFocusControl,\n ariaLabels,\n isMobile,\n drawersOpenQueue,\n onActiveAiDrawerChange,\n activeAiDrawer,\n bottomDrawerReportedSize,\n featureNotificationsProps,\n } = appLayoutState.widgetizedState;\n const drawerExpandedMode = !!expandedDrawerId;\n const toolsOpen = !!activeDrawer;\n // Must use `toolbarProps` because all layouts have to apply this mode, not just the one with toolbar\n const drawerExpandedModeInChildLayout = !!toolbarProps?.expandedDrawerId;\n const { __embeddedViewMode: embeddedViewMode } = appLayoutProps as any;\n return (\n <>\n {!!toolbarProps && !embeddedViewMode && !aiDrawerExpandedMode && (\n <AppLayoutToolbar\n appLayoutInternals={appLayoutState.appLayoutInternals}\n toolbarProps={toolbarProps}\n featureNotificationsProps={featureNotificationsProps}\n />\n )}\n {!toolbarProps && !!activeAiDrawerId && (\n <div\n className={styles['pseudo-toolbar']}\n style={{\n insetBlockStart: appLayoutState.appLayoutInternals?.verticalOffsets?.toolbar,\n }}\n >\n <div className={styles['pseudo-toolbar-content']} />\n </div>\n )}\n {aiDrawer && (\n <div\n className={clsx(\n styles['ai-drawer'],\n (drawerExpandedMode || drawerExpandedModeInChildLayout) && !aiDrawerExpandedMode && styles.hidden\n )}\n >\n <ActiveDrawersContext.Provider value={activeAiDrawer ? [activeAiDrawer.id] : []}>\n {(!!activeAiDrawerId || (aiDrawer?.preserveInactiveContent && wasAiDrawerOpenRef.current)) && (\n <>\n {(wasAiDrawerOpenRef.current = true)}\n <AppLayoutGlobalAiDrawerImplementation\n show={!!activeAiDrawerId}\n activeAiDrawer={aiDrawer ?? null}\n appLayoutInternals={appLayoutState.appLayoutInternals}\n aiDrawerProps={{\n activeAiDrawerSize: activeAiDrawerSize!,\n minAiDrawerSize: minAiDrawerSize!,\n maxAiDrawerSize: maxAiDrawerSize!,\n aiDrawer: aiDrawer!,\n ariaLabels,\n aiDrawerFocusControl,\n isMobile,\n drawersOpenQueue,\n onActiveAiDrawerChange,\n onActiveDrawerResize: ({ size }) => onActiveAiDrawerResize(size),\n expandedDrawerId,\n setExpandedDrawerId,\n }}\n />\n </>\n )}\n </ActiveDrawersContext.Provider>\n </div>\n )}\n {navigation && (\n <div\n className={clsx(\n styles.navigation,\n !navigationOpen && (!navigationCollapsible || isMobile) && styles['panel-hidden'],\n !navigationOpen && navigationCollapsible && !isMobile && styles['navigation-collapsed'],\n toolsOpen && styles['unfocusable-mobile'],\n !navigationAnimationDisabled && sharedStyles['with-motion-horizontal'],\n (drawerExpandedMode || drawerExpandedModeInChildLayout) && styles.hidden\n )}\n >\n <AppLayoutBuiltInErrorBoundary appLayoutPart=\"nav\">\n <AppLayoutNavigation\n appLayoutInternals={appLayoutState.appLayoutInternals}\n bottomDrawerReportedSize={bottomDrawerReportedSize}\n navigationCollapsible={navigationCollapsible}\n />\n </AppLayoutBuiltInErrorBoundary>\n </div>\n )}\n </>\n );\n};\n\nexport const BeforeMainSlotImplementation = (props: SkeletonPartProps) => (\n <AppLayoutBuiltInErrorBoundary appLayoutPart=\"before-main-slot\">\n <BeforeMainSlotImplementationInternal {...props} />\n </AppLayoutBuiltInErrorBoundary>\n);\n\nexport const createWidgetizedAppLayoutBeforeMainSlot = createWidgetizedComponent(\n BeforeMainSlotImplementation,\n BeforeMainSlotSkeleton\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-layout-toolbar/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAY1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAEjC,QAAA,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-layout-toolbar/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAY1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAEjC,QAAA,MAAM,gBAAgB,kGAmGrB,CAAC;AAGF,eAAe,gBAAgB,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { useMobile } from '../internal/hooks/use-mobile';
|
|
|
14
14
|
import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
|
|
15
15
|
import { isDevelopment } from '../internal/is-development';
|
|
16
16
|
import { applyDisplayName } from '../internal/utils/apply-display-name';
|
|
17
|
-
const AppLayoutToolbar = React.forwardRef(({ contentType = 'default', headerSelector = '#b #h', footerSelector = '#b #f', navigationWidth = 280, toolsWidth = 290, maxContentWidth, minContentWidth, navigationOpen: controlledNavigationOpen, onNavigationChange: controlledOnNavigationChange, analyticsMetadata, ...rest }, ref) => {
|
|
17
|
+
const AppLayoutToolbar = React.forwardRef(({ contentType = 'default', headerSelector = '#b #h', footerSelector = '#b #f', navigationWidth = 280, navigationCollapsedWidth = 54, toolsWidth = 290, maxContentWidth, minContentWidth, navigationOpen: controlledNavigationOpen, onNavigationChange: controlledOnNavigationChange, analyticsMetadata, ...rest }, ref) => {
|
|
18
18
|
var _a, _b;
|
|
19
19
|
const isRefresh = useVisualRefresh();
|
|
20
20
|
if (!isRefresh) {
|
|
@@ -56,6 +56,7 @@ const AppLayoutToolbar = React.forwardRef(({ contentType = 'default', headerSele
|
|
|
56
56
|
const props = {
|
|
57
57
|
contentType,
|
|
58
58
|
navigationWidth,
|
|
59
|
+
navigationCollapsedWidth,
|
|
59
60
|
toolsWidth,
|
|
60
61
|
navigationOpen,
|
|
61
62
|
onNavigationChange,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app-layout-toolbar/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEvF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB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D;IACxD,MAAM,KAAK,GAAG;QACZ,WAAW;QACX,eAAe;QACf,UAAU;QACV,cAAc;QACd,kBAAkB;QAClB,GAAG,YAAY;QACf,GAAG,IAAI;QACP,SAAS;KACV,CAAC;IAEF,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAErC,OAAO,CACL,oBAAC,6BAA6B,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QACjD,6BAAK,GAAG,EAAE,YAAY,CAAC,iBAAiB,EAAE,OAAO,CAAC,KAAM,SAAS;YAC/D,oBAAC,wBAAwB,IAAC,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAC7C,CACiC,CAC1C,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;AACvD,eAAe,gBAAgB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { applyDefaults } from '../app-layout/defaults';\nimport { AppLayoutProps } from '../app-layout/interfaces';\nimport { useAppLayoutPlacement } from '../app-layout/utils/use-app-layout-placement';\nimport AppLayoutToolbarInternal from '../app-layout/visual-refresh-toolbar';\nimport { AppLayoutToolbarPublicContext } from '../app-layout/visual-refresh-toolbar/contexts';\nimport { getBaseProps } from '../internal/base-component';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { useControllable } from '../internal/hooks/use-controllable';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { isDevelopment } from '../internal/is-development';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { NonCancelableCustomEvent } from '../types/events';\nimport { AppLayoutToolbarProps } from './interfaces';\n\nexport { AppLayoutToolbarProps };\n\nconst AppLayoutToolbar = React.forwardRef(\n (\n {\n contentType = 'default',\n headerSelector = '#b #h',\n footerSelector = '#b #f',\n navigationWidth = 280,\n toolsWidth = 290,\n maxContentWidth,\n minContentWidth,\n navigationOpen: controlledNavigationOpen,\n onNavigationChange: controlledOnNavigationChange,\n analyticsMetadata,\n ...rest\n }: AppLayoutToolbarProps,\n ref: React.Ref<AppLayoutProps.Ref>\n ) => {\n const isRefresh = useVisualRefresh();\n if (!isRefresh) {\n throw new Error(\n `AppLayoutToolbar component is not supported in the Classic theme. Please switch to the Refresh theme. For more details, refer to the documentation.`\n );\n }\n if (isDevelopment) {\n if (rest.toolsOpen && rest.toolsHide) {\n warnOnce(\n 'AppLayoutToolbar',\n `You have enabled both the \\`toolsOpen\\` prop and the \\`toolsHide\\` prop. This is not supported. Set \\`toolsOpen\\` to \\`false\\` when you set \\`toolsHide\\` to \\`true\\`.`\n );\n }\n }\n const { __internalRootRef } = useBaseComponent(\n 'AppLayoutToolbar',\n {\n props: {\n contentType,\n disableContentPaddings: rest.disableContentPaddings,\n navigationWidth,\n navigationHide: rest.navigationHide,\n toolsHide: rest.toolsHide,\n toolsWidth,\n maxContentWidth,\n minContentWidth,\n stickyNotifications: rest.stickyNotifications,\n disableContentHeaderOverlap: rest.disableContentHeaderOverlap,\n navigationTriggerHide: rest.navigationTriggerHide,\n },\n metadata: {\n drawersCount: rest.drawers?.length ?? null,\n hasContentHeader: !!rest.contentHeader,\n },\n },\n analyticsMetadata\n );\n const isMobile = useMobile();\n\n const { navigationOpen: defaultNavigationOpen, ...restDefaults } = applyDefaults(\n contentType,\n { maxContentWidth, minContentWidth },\n isRefresh\n );\n\n const [navigationOpen = false, setNavigationOpen] = useControllable(\n controlledNavigationOpen,\n controlledOnNavigationChange,\n isMobile ? false : defaultNavigationOpen,\n { componentName: 'AppLayoutToolbar', controlledProp: 'navigationOpen', changeHandler: 'onNavigationChange' }\n );\n const onNavigationChange = (event: NonCancelableCustomEvent<AppLayoutProps.ChangeDetail>) => {\n setNavigationOpen(event.detail.open);\n controlledOnNavigationChange?.(event);\n };\n\n const [rootRef, placement] = useAppLayoutPlacement(headerSelector, footerSelector);\n\n // This re-builds the props including the default values\n const props = {\n contentType,\n navigationWidth,\n toolsWidth,\n navigationOpen,\n onNavigationChange,\n ...restDefaults,\n ...rest,\n placement,\n };\n\n const baseProps = getBaseProps(rest);\n\n return (\n <AppLayoutToolbarPublicContext.Provider value={true}>\n <div ref={useMergeRefs(__internalRootRef, rootRef)} {...baseProps}>\n <AppLayoutToolbarInternal ref={ref} {...props} />\n </div>\n </AppLayoutToolbarPublicContext.Provider>\n );\n }\n);\n\napplyDisplayName(AppLayoutToolbar, 'AppLayoutToolbar');\nexport default AppLayoutToolbar;\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app-layout-toolbar/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEvF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,wBAAwB,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAMxE,MAAM,gB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,EAAE,kBAAkB,CAAC,CAAC;AACvD,eAAe,gBAAgB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { applyDefaults } from '../app-layout/defaults';\nimport { AppLayoutProps } from '../app-layout/interfaces';\nimport { useAppLayoutPlacement } from '../app-layout/utils/use-app-layout-placement';\nimport AppLayoutToolbarInternal from '../app-layout/visual-refresh-toolbar';\nimport { AppLayoutToolbarPublicContext } from '../app-layout/visual-refresh-toolbar/contexts';\nimport { getBaseProps } from '../internal/base-component';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { useControllable } from '../internal/hooks/use-controllable';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { isDevelopment } from '../internal/is-development';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { NonCancelableCustomEvent } from '../types/events';\nimport { AppLayoutToolbarProps } from './interfaces';\n\nexport { AppLayoutToolbarProps };\n\nconst AppLayoutToolbar = React.forwardRef(\n (\n {\n contentType = 'default',\n headerSelector = '#b #h',\n footerSelector = '#b #f',\n navigationWidth = 280,\n navigationCollapsedWidth = 54,\n toolsWidth = 290,\n maxContentWidth,\n minContentWidth,\n navigationOpen: controlledNavigationOpen,\n onNavigationChange: controlledOnNavigationChange,\n analyticsMetadata,\n ...rest\n }: AppLayoutToolbarProps,\n ref: React.Ref<AppLayoutProps.Ref>\n ) => {\n const isRefresh = useVisualRefresh();\n if (!isRefresh) {\n throw new Error(\n `AppLayoutToolbar component is not supported in the Classic theme. Please switch to the Refresh theme. For more details, refer to the documentation.`\n );\n }\n if (isDevelopment) {\n if (rest.toolsOpen && rest.toolsHide) {\n warnOnce(\n 'AppLayoutToolbar',\n `You have enabled both the \\`toolsOpen\\` prop and the \\`toolsHide\\` prop. This is not supported. Set \\`toolsOpen\\` to \\`false\\` when you set \\`toolsHide\\` to \\`true\\`.`\n );\n }\n }\n const { __internalRootRef } = useBaseComponent(\n 'AppLayoutToolbar',\n {\n props: {\n contentType,\n disableContentPaddings: rest.disableContentPaddings,\n navigationWidth,\n navigationHide: rest.navigationHide,\n toolsHide: rest.toolsHide,\n toolsWidth,\n maxContentWidth,\n minContentWidth,\n stickyNotifications: rest.stickyNotifications,\n disableContentHeaderOverlap: rest.disableContentHeaderOverlap,\n navigationTriggerHide: rest.navigationTriggerHide,\n },\n metadata: {\n drawersCount: rest.drawers?.length ?? null,\n hasContentHeader: !!rest.contentHeader,\n },\n },\n analyticsMetadata\n );\n const isMobile = useMobile();\n\n const { navigationOpen: defaultNavigationOpen, ...restDefaults } = applyDefaults(\n contentType,\n { maxContentWidth, minContentWidth },\n isRefresh\n );\n\n const [navigationOpen = false, setNavigationOpen] = useControllable(\n controlledNavigationOpen,\n controlledOnNavigationChange,\n isMobile ? false : defaultNavigationOpen,\n { componentName: 'AppLayoutToolbar', controlledProp: 'navigationOpen', changeHandler: 'onNavigationChange' }\n );\n const onNavigationChange = (event: NonCancelableCustomEvent<AppLayoutProps.ChangeDetail>) => {\n setNavigationOpen(event.detail.open);\n controlledOnNavigationChange?.(event);\n };\n\n const [rootRef, placement] = useAppLayoutPlacement(headerSelector, footerSelector);\n\n // This re-builds the props including the default values\n const props = {\n contentType,\n navigationWidth,\n navigationCollapsedWidth,\n toolsWidth,\n navigationOpen,\n onNavigationChange,\n ...restDefaults,\n ...rest,\n placement,\n };\n\n const baseProps = getBaseProps(rest);\n\n return (\n <AppLayoutToolbarPublicContext.Provider value={true}>\n <div ref={useMergeRefs(__internalRootRef, rootRef)} {...baseProps}>\n <AppLayoutToolbarInternal ref={ref} {...props} />\n </div>\n </AppLayoutToolbarPublicContext.Provider>\n );\n }\n);\n\napplyDisplayName(AppLayoutToolbar, 'AppLayoutToolbar');\nexport default AppLayoutToolbar;\n"]}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"empty-appear": "awsui_empty-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"root": "
|
|
7
|
-
"empty": "
|
|
8
|
-
"row": "
|
|
9
|
-
"divider": "
|
|
10
|
-
"row-control": "awsui_row-
|
|
11
|
-
"field": "
|
|
12
|
-
"additional-info": "awsui_additional-
|
|
13
|
-
"add-row": "awsui_add-
|
|
14
|
-
"add-button": "awsui_add-
|
|
15
|
-
"remove-button-container": "awsui_remove-button-
|
|
16
|
-
"remove-button-field-padding": "awsui_remove-button-field-
|
|
17
|
-
"remove-button-own-row": "awsui_remove-button-own-
|
|
18
|
-
"remove-button": "awsui_remove-
|
|
4
|
+
"empty-appear": "awsui_empty-appear_n4qlp_fzdag_153",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_fzdag_1",
|
|
6
|
+
"root": "awsui_root_n4qlp_fzdag_175",
|
|
7
|
+
"empty": "awsui_empty_n4qlp_fzdag_153",
|
|
8
|
+
"row": "awsui_row_n4qlp_fzdag_221",
|
|
9
|
+
"divider": "awsui_divider_n4qlp_fzdag_225",
|
|
10
|
+
"row-control": "awsui_row-control_n4qlp_fzdag_230",
|
|
11
|
+
"field": "awsui_field_n4qlp_fzdag_234",
|
|
12
|
+
"additional-info": "awsui_additional-info_n4qlp_fzdag_238",
|
|
13
|
+
"add-row": "awsui_add-row_n4qlp_fzdag_285",
|
|
14
|
+
"add-button": "awsui_add-button_n4qlp_fzdag_289",
|
|
15
|
+
"remove-button-container": "awsui_remove-button-container_n4qlp_fzdag_293",
|
|
16
|
+
"remove-button-field-padding": "awsui_remove-button-field-padding_n4qlp_fzdag_297",
|
|
17
|
+
"remove-button-own-row": "awsui_remove-button-own-row_n4qlp_fzdag_301",
|
|
18
|
+
"remove-button": "awsui_remove-button_n4qlp_fzdag_293"
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -150,10 +150,10 @@ 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
|
-
.awsui_empty-
|
|
154
|
-
animation: awsui_awsui-motion-fade-
|
|
153
|
+
.awsui_empty-appear_n4qlp_fzdag_153:not(#\9) {
|
|
154
|
+
animation: awsui_awsui-motion-fade-in_n4qlp_fzdag_1 var(--motion-duration-transition-show-paced-0w35xp, 180ms) var(--motion-easing-transition-show-paced-ufdgkj, ease-out);
|
|
155
155
|
}
|
|
156
|
-
@keyframes awsui_awsui-motion-fade-
|
|
156
|
+
@keyframes awsui_awsui-motion-fade-in_n4qlp_fzdag_1 {
|
|
157
157
|
from {
|
|
158
158
|
opacity: 0.2;
|
|
159
159
|
}
|
|
@@ -162,17 +162,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
@media (prefers-reduced-motion: reduce) {
|
|
165
|
-
.awsui_empty-
|
|
165
|
+
.awsui_empty-appear_n4qlp_fzdag_153:not(#\9) {
|
|
166
166
|
animation: none;
|
|
167
167
|
transition: none;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
.awsui-motion-disabled .awsui_empty-
|
|
170
|
+
.awsui-motion-disabled .awsui_empty-appear_n4qlp_fzdag_153:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_fzdag_153:not(#\9) {
|
|
171
171
|
animation: none;
|
|
172
172
|
transition: none;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.
|
|
175
|
+
.awsui_root_n4qlp_fzdag_175:not(#\9) {
|
|
176
176
|
border-collapse: separate;
|
|
177
177
|
border-spacing: 0;
|
|
178
178
|
box-sizing: border-box;
|
|
@@ -207,35 +207,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
207
207
|
gap: var(--space-grid-gutter-nm7ylt, 20px);
|
|
208
208
|
align-items: start;
|
|
209
209
|
}
|
|
210
|
-
.awsui-one-theme .
|
|
210
|
+
.awsui-one-theme .awsui_root_n4qlp_fzdag_175:not(#\9) {
|
|
211
211
|
gap: var(--space-scaled-s-gjhvjd, 12px);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
.
|
|
214
|
+
.awsui_empty_n4qlp_fzdag_153:not(#\9) {
|
|
215
215
|
font-size: var(--font-size-body-m-vv54cm, 14px);
|
|
216
216
|
line-height: var(--line-height-body-m-bedeoh, 22px);
|
|
217
217
|
color: var(--color-text-empty-vtt4l2, #687078);
|
|
218
218
|
grid-column: 1/-1;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
.
|
|
221
|
+
.awsui_row_n4qlp_fzdag_221:not(#\9) {
|
|
222
222
|
display: contents;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
.
|
|
225
|
+
.awsui_divider_n4qlp_fzdag_225:not(#\9) {
|
|
226
226
|
grid-column: 1/-1;
|
|
227
227
|
border-block-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-divider-default-ipvpev, #eaeded);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
.awsui_row-
|
|
230
|
+
.awsui_row-control_n4qlp_fzdag_230:not(#\9) {
|
|
231
231
|
/* used in test-utils */
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
.
|
|
234
|
+
.awsui_field_n4qlp_fzdag_234:not(#\9) {
|
|
235
235
|
min-inline-size: 40px;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.awsui_additional-
|
|
238
|
+
.awsui_additional-info_n4qlp_fzdag_238:not(#\9) {
|
|
239
239
|
color: var(--color-text-form-secondary-4sp9un, #687078);
|
|
240
240
|
font-size: var(--font-size-body-s-psgqn2, 12px);
|
|
241
241
|
line-height: var(--line-height-body-s-otgtsr, 16px);
|
|
@@ -245,11 +245,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
245
245
|
margin-block-start: var(--space-xxs-jnczic, 4px);
|
|
246
246
|
/* stylelint-disable-next-line selector-max-type */
|
|
247
247
|
}
|
|
248
|
-
.awsui_additional-
|
|
248
|
+
.awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9) {
|
|
249
249
|
text-underline-offset: 0.3em;
|
|
250
250
|
text-decoration-thickness: var(--font-decoration-thickness-link-4tl2vi, 1px);
|
|
251
251
|
text-decoration-style: var(--font-decoration-style-link-7y21z4, solid);
|
|
252
|
-
color: var(--awsui-style-color-default-
|
|
252
|
+
color: var(--awsui-style-color-default-esndbs, var(--color-text-link-default-z7zuy8, #0073bb));
|
|
253
253
|
font-weight: inherit;
|
|
254
254
|
letter-spacing: normal;
|
|
255
255
|
text-decoration-line: underline;
|
|
@@ -260,50 +260,50 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
260
260
|
transition-duration: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
|
|
261
261
|
}
|
|
262
262
|
@media (prefers-reduced-motion: reduce) {
|
|
263
|
-
.awsui_additional-
|
|
263
|
+
.awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9) {
|
|
264
264
|
animation: none;
|
|
265
265
|
transition: none;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
.awsui-motion-disabled .awsui_additional-
|
|
268
|
+
.awsui-motion-disabled .awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9), .awsui-mode-entering .awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9) {
|
|
269
269
|
animation: none;
|
|
270
270
|
transition: none;
|
|
271
271
|
}
|
|
272
|
-
.awsui_additional-
|
|
272
|
+
.awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9):hover {
|
|
273
273
|
cursor: pointer;
|
|
274
|
-
color: var(--awsui-style-color-hover-
|
|
274
|
+
color: var(--awsui-style-color-hover-esndbs, var(--color-text-link-hover-pqxtsy, #0a4a74));
|
|
275
275
|
}
|
|
276
|
-
.awsui_additional-
|
|
276
|
+
.awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9):focus {
|
|
277
277
|
outline: none;
|
|
278
278
|
}
|
|
279
|
-
.awsui_additional-
|
|
280
|
-
color: var(--awsui-style-color-active-
|
|
279
|
+
.awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9):active {
|
|
280
|
+
color: var(--awsui-style-color-active-esndbs, var(--color-text-link-hover-pqxtsy, #0a4a74));
|
|
281
281
|
}
|
|
282
|
-
.awsui_additional-
|
|
282
|
+
.awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9):active, .awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9):focus, .awsui_additional-info_n4qlp_fzdag_238 > a:not(#\9):hover {
|
|
283
283
|
text-decoration-line: underline;
|
|
284
284
|
text-decoration-color: var(--color-text-link-decoration-hover-jnu2g9, currentColor);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
.awsui_add-
|
|
287
|
+
.awsui_add-row_n4qlp_fzdag_285:not(#\9) {
|
|
288
288
|
grid-column: 1/-1;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.awsui_add-
|
|
291
|
+
.awsui_add-button_n4qlp_fzdag_289:not(#\9) {
|
|
292
292
|
/* used in test-utils */
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
.awsui_remove-button-
|
|
295
|
+
.awsui_remove-button-container_n4qlp_fzdag_293:not(#\9) {
|
|
296
296
|
display: inline-block;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.awsui_remove-button-field-
|
|
299
|
+
.awsui_remove-button-field-padding_n4qlp_fzdag_297:not(#\9) {
|
|
300
300
|
padding-block-start: calc(var(--space-xxs-jnczic, 4px) + var(--line-height-body-m-bedeoh, 22px));
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
.awsui_remove-button-own-
|
|
303
|
+
.awsui_remove-button-own-row_n4qlp_fzdag_301:not(#\9) {
|
|
304
304
|
justify-self: end;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
.awsui_remove-
|
|
307
|
+
.awsui_remove-button_n4qlp_fzdag_293:not(#\9) {
|
|
308
308
|
/* used in test-utils */
|
|
309
309
|
}
|