@cloudscape-design/components 3.0.1345 → 3.0.1347
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/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +90 -87
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +11 -11
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +60 -60
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/app-layout-toolbar/index.d.ts.map +1 -1
- package/app-layout-toolbar/index.js +1 -0
- package/app-layout-toolbar/index.js.map +1 -1
- package/button-dropdown/index.d.ts.map +1 -1
- package/button-dropdown/index.js +5 -1
- package/button-dropdown/index.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +2 -0
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/expandable-section/expandable-section-container.d.ts +0 -2
- package/expandable-section/expandable-section-container.d.ts.map +1 -1
- package/expandable-section/expandable-section-container.js +2 -2
- package/expandable-section/expandable-section-container.js.map +1 -1
- package/expandable-section/expandable-section-header.d.ts +3 -1
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +4 -4
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/internal.d.ts +8 -2
- package/expandable-section/internal.d.ts.map +1 -1
- package/expandable-section/internal.js +24 -10
- package/expandable-section/internal.js.map +1 -1
- package/expandable-section/styles.css.js +43 -42
- package/expandable-section/styles.scoped.css +198 -143
- package/expandable-section/styles.selectors.js +43 -42
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +153 -153
- package/flashbar/styles.selectors.js +50 -50
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +68 -68
- package/help-panel/styles.selectors.js +6 -6
- 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.en.js +1 -1
- package/i18n/messages/all.en.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/i18n/messages-types.d.ts +8 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/internal/base-component/index.d.ts +1 -0
- package/internal/base-component/index.d.ts.map +1 -1
- package/internal/base-component/index.js +1 -0
- package/internal/base-component/index.js.map +1 -1
- package/internal/base-component/styles.scoped.css +1 -2640
- package/internal/base-theme/styles.css.js +4 -0
- package/internal/base-theme/styles.scoped.css +2651 -0
- package/internal/base-theme/styles.selectors.js +5 -0
- package/internal/components/drag-handle/styles.css.js +14 -14
- package/internal/components/drag-handle/styles.scoped.css +28 -19
- package/internal/components/drag-handle/styles.selectors.js +14 -14
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +24 -24
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/components/transition/index.d.ts +7 -7
- package/internal/components/transition/index.d.ts.map +1 -1
- package/internal/components/transition/index.js +4 -4
- package/internal/components/transition/index.js.map +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.d.ts +11 -0
- package/internal/generated/styles/tokens.js +12 -1
- package/internal/generated/theming/index.cjs +140 -15
- package/internal/generated/theming/index.cjs.d.ts +18 -0
- package/internal/generated/theming/index.d.ts +18 -0
- package/internal/generated/theming/index.js +140 -15
- package/internal/hooks/use-base-component/index.d.ts +2 -5
- package/internal/hooks/use-base-component/index.d.ts.map +1 -1
- package/internal/hooks/use-base-component/index.js +11 -2
- package/internal/hooks/use-base-component/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +86 -86
- package/link/styles.selectors.js +21 -21
- package/manifest.json +2 -2
- package/package.json +2 -1
- package/side-navigation/implementation.d.ts.map +1 -1
- package/side-navigation/implementation.js +6 -3
- package/side-navigation/implementation.js.map +1 -1
- package/side-navigation/parts.d.ts +2 -0
- package/side-navigation/parts.d.ts.map +1 -1
- package/side-navigation/parts.js +86 -76
- package/side-navigation/parts.js.map +1 -1
- package/side-navigation/styles.css.js +64 -50
- package/side-navigation/styles.scoped.css +552 -106
- package/side-navigation/styles.selectors.js +64 -50
- package/side-navigation/util.d.ts +10 -0
- package/side-navigation/util.d.ts.map +1 -1
- package/side-navigation/util.js +48 -0
- package/side-navigation/util.js.map +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"handle": "
|
|
5
|
-
"handle-size-normal": "awsui_handle-size-
|
|
6
|
-
"handle-size-small": "awsui_handle-size-
|
|
7
|
-
"handle-drag-indicator": "awsui_handle-drag-
|
|
8
|
-
"handle-disabled": "awsui_handle-
|
|
9
|
-
"active": "
|
|
10
|
-
"handle-resize-area": "awsui_handle-resize-
|
|
11
|
-
"handle-resize-horizontal": "awsui_handle-resize-
|
|
12
|
-
"handle-resize-vertical": "awsui_handle-resize-
|
|
13
|
-
"hide-focus": "awsui_hide-
|
|
14
|
-
"resize-icon": "awsui_resize-
|
|
15
|
-
"resize-icon-vertical": "awsui_resize-icon-
|
|
16
|
-
"resize-icon-horizontal": "awsui_resize-icon-
|
|
17
|
-
"prevent-pointer": "awsui_prevent-
|
|
4
|
+
"handle": "awsui_handle_sdha6_1yyrd_145",
|
|
5
|
+
"handle-size-normal": "awsui_handle-size-normal_sdha6_1yyrd_153",
|
|
6
|
+
"handle-size-small": "awsui_handle-size-small_sdha6_1yyrd_157",
|
|
7
|
+
"handle-drag-indicator": "awsui_handle-drag-indicator_sdha6_1yyrd_160",
|
|
8
|
+
"handle-disabled": "awsui_handle-disabled_sdha6_1yyrd_160",
|
|
9
|
+
"active": "awsui_active_sdha6_1yyrd_163",
|
|
10
|
+
"handle-resize-area": "awsui_handle-resize-area_sdha6_1yyrd_166",
|
|
11
|
+
"handle-resize-horizontal": "awsui_handle-resize-horizontal_sdha6_1yyrd_182",
|
|
12
|
+
"handle-resize-vertical": "awsui_handle-resize-vertical_sdha6_1yyrd_185",
|
|
13
|
+
"hide-focus": "awsui_hide-focus_sdha6_1yyrd_195",
|
|
14
|
+
"resize-icon": "awsui_resize-icon_sdha6_1yyrd_218",
|
|
15
|
+
"resize-icon-vertical": "awsui_resize-icon-vertical_sdha6_1yyrd_224",
|
|
16
|
+
"resize-icon-horizontal": "awsui_resize-icon-horizontal_sdha6_1yyrd_228",
|
|
17
|
+
"prevent-pointer": "awsui_prevent-pointer_sdha6_1yyrd_232"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
*/
|
|
143
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.
|
|
145
|
+
.awsui_handle_sdha6_1yyrd_145:not(#\9) {
|
|
146
146
|
appearance: none;
|
|
147
147
|
color: var(--color-text-interactive-default-1o1pl2, #424650);
|
|
148
148
|
background: transparent;
|
|
@@ -151,47 +151,56 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
151
151
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
152
152
|
touch-action: none;
|
|
153
153
|
}
|
|
154
|
-
.awsui_handle-size-
|
|
154
|
+
.awsui_handle-size-normal_sdha6_1yyrd_153:not(#\9) {
|
|
155
155
|
block-size: var(--line-height-body-m-2mh3ke, 20px);
|
|
156
156
|
padding-inline: var(--space-scaled-xxxs-oo06c7, 2px);
|
|
157
157
|
}
|
|
158
|
-
.awsui_handle-size-
|
|
158
|
+
.awsui_handle-size-small_sdha6_1yyrd_157:not(#\9) {
|
|
159
159
|
block-size: var(--line-height-body-s-nu5hx1, 16px);
|
|
160
160
|
}
|
|
161
|
-
.awsui_handle-drag-
|
|
161
|
+
.awsui_handle-drag-indicator_sdha6_1yyrd_160:not(#\9):not(.awsui_handle-disabled_sdha6_1yyrd_160) {
|
|
162
162
|
cursor: grab;
|
|
163
163
|
}
|
|
164
|
-
.awsui_handle-drag-
|
|
164
|
+
.awsui_handle-drag-indicator_sdha6_1yyrd_160:not(#\9):not(.awsui_handle-disabled_sdha6_1yyrd_160).awsui_active_sdha6_1yyrd_163 {
|
|
165
165
|
cursor: grabbing;
|
|
166
166
|
}
|
|
167
|
-
.awsui_handle-resize-
|
|
167
|
+
.awsui_handle-resize-area_sdha6_1yyrd_166:not(#\9) {
|
|
168
168
|
cursor: nwse-resize;
|
|
169
|
+
position: relative;
|
|
169
170
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
170
171
|
}
|
|
171
|
-
.awsui_handle-resize-
|
|
172
|
+
.awsui_handle-resize-area_sdha6_1yyrd_166:not(#\9)::after {
|
|
173
|
+
content: "";
|
|
174
|
+
position: absolute;
|
|
175
|
+
inset-block-end: 0;
|
|
176
|
+
inset-inline-end: 0;
|
|
177
|
+
inline-size: max(24px, 100%);
|
|
178
|
+
block-size: max(24px, 100%);
|
|
179
|
+
}
|
|
180
|
+
.awsui_handle-resize-area_sdha6_1yyrd_166:not(#\9):dir(rtl) {
|
|
172
181
|
cursor: nesw-resize;
|
|
173
182
|
}
|
|
174
|
-
.awsui_handle-resize-
|
|
183
|
+
.awsui_handle-resize-horizontal_sdha6_1yyrd_182:not(#\9) {
|
|
175
184
|
cursor: ew-resize;
|
|
176
185
|
}
|
|
177
|
-
.awsui_handle-resize-
|
|
186
|
+
.awsui_handle-resize-vertical_sdha6_1yyrd_185:not(#\9) {
|
|
178
187
|
cursor: ns-resize;
|
|
179
188
|
}
|
|
180
|
-
.
|
|
189
|
+
.awsui_handle_sdha6_1yyrd_145:not(#\9):hover {
|
|
181
190
|
color: var(--color-text-interactive-hover-j5y3wx, #0f141a);
|
|
182
191
|
}
|
|
183
|
-
.
|
|
192
|
+
.awsui_handle_sdha6_1yyrd_145:not(#\9):focus {
|
|
184
193
|
outline: none;
|
|
185
194
|
text-decoration: none;
|
|
186
195
|
}
|
|
187
|
-
body[data-awsui-focus-visible=true] .
|
|
196
|
+
body[data-awsui-focus-visible=true] .awsui_handle_sdha6_1yyrd_145:not(#\9):focus:not(.awsui_hide-focus_sdha6_1yyrd_195) {
|
|
188
197
|
position: relative;
|
|
189
198
|
}
|
|
190
|
-
body[data-awsui-focus-visible=true] .
|
|
199
|
+
body[data-awsui-focus-visible=true] .awsui_handle_sdha6_1yyrd_145:not(#\9):focus:not(.awsui_hide-focus_sdha6_1yyrd_195) {
|
|
191
200
|
outline: 2px dotted transparent;
|
|
192
201
|
outline-offset: calc(0px - 1px);
|
|
193
202
|
}
|
|
194
|
-
body[data-awsui-focus-visible=true] .
|
|
203
|
+
body[data-awsui-focus-visible=true] .awsui_handle_sdha6_1yyrd_145:not(#\9):focus:not(.awsui_hide-focus_sdha6_1yyrd_195)::before {
|
|
195
204
|
content: " ";
|
|
196
205
|
display: block;
|
|
197
206
|
position: absolute;
|
|
@@ -207,20 +216,20 @@ body[data-awsui-focus-visible=true] .awsui_handle_sdha6_12mai_145:not(#\9):focus
|
|
|
207
216
|
z-index: 2;
|
|
208
217
|
}
|
|
209
218
|
|
|
210
|
-
.awsui_resize-
|
|
219
|
+
.awsui_resize-icon_sdha6_1yyrd_218:not(#\9) {
|
|
211
220
|
stroke: var(--color-text-interactive-default-1o1pl2, #424650);
|
|
212
221
|
}
|
|
213
|
-
.awsui_resize-
|
|
222
|
+
.awsui_resize-icon_sdha6_1yyrd_218:not(#\9):hover {
|
|
214
223
|
stroke: var(--color-text-interactive-hover-j5y3wx, #0f141a);
|
|
215
224
|
}
|
|
216
|
-
.awsui_resize-icon-
|
|
225
|
+
.awsui_resize-icon-vertical_sdha6_1yyrd_224:not(#\9) {
|
|
217
226
|
margin-block: auto;
|
|
218
227
|
margin-inline: auto;
|
|
219
228
|
}
|
|
220
|
-
.awsui_resize-icon-
|
|
229
|
+
.awsui_resize-icon-horizontal_sdha6_1yyrd_228:not(#\9) {
|
|
221
230
|
transform: rotate(90deg);
|
|
222
231
|
}
|
|
223
232
|
|
|
224
|
-
.awsui_prevent-
|
|
233
|
+
.awsui_prevent-pointer_sdha6_1yyrd_232:not(#\9) {
|
|
225
234
|
pointer-events: none;
|
|
226
235
|
}
|
|
@@ -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
|
-
"handle": "
|
|
6
|
-
"handle-size-normal": "awsui_handle-size-
|
|
7
|
-
"handle-size-small": "awsui_handle-size-
|
|
8
|
-
"handle-drag-indicator": "awsui_handle-drag-
|
|
9
|
-
"handle-disabled": "awsui_handle-
|
|
10
|
-
"active": "
|
|
11
|
-
"handle-resize-area": "awsui_handle-resize-
|
|
12
|
-
"handle-resize-horizontal": "awsui_handle-resize-
|
|
13
|
-
"handle-resize-vertical": "awsui_handle-resize-
|
|
14
|
-
"hide-focus": "awsui_hide-
|
|
15
|
-
"resize-icon": "awsui_resize-
|
|
16
|
-
"resize-icon-vertical": "awsui_resize-icon-
|
|
17
|
-
"resize-icon-horizontal": "awsui_resize-icon-
|
|
18
|
-
"prevent-pointer": "awsui_prevent-
|
|
5
|
+
"handle": "awsui_handle_sdha6_1yyrd_145",
|
|
6
|
+
"handle-size-normal": "awsui_handle-size-normal_sdha6_1yyrd_153",
|
|
7
|
+
"handle-size-small": "awsui_handle-size-small_sdha6_1yyrd_157",
|
|
8
|
+
"handle-drag-indicator": "awsui_handle-drag-indicator_sdha6_1yyrd_160",
|
|
9
|
+
"handle-disabled": "awsui_handle-disabled_sdha6_1yyrd_160",
|
|
10
|
+
"active": "awsui_active_sdha6_1yyrd_163",
|
|
11
|
+
"handle-resize-area": "awsui_handle-resize-area_sdha6_1yyrd_166",
|
|
12
|
+
"handle-resize-horizontal": "awsui_handle-resize-horizontal_sdha6_1yyrd_182",
|
|
13
|
+
"handle-resize-vertical": "awsui_handle-resize-vertical_sdha6_1yyrd_185",
|
|
14
|
+
"hide-focus": "awsui_hide-focus_sdha6_1yyrd_195",
|
|
15
|
+
"resize-icon": "awsui_resize-icon_sdha6_1yyrd_218",
|
|
16
|
+
"resize-icon-vertical": "awsui_resize-icon-vertical_sdha6_1yyrd_224",
|
|
17
|
+
"resize-icon-horizontal": "awsui_resize-icon-horizontal_sdha6_1yyrd_228",
|
|
18
|
+
"prevent-pointer": "awsui_prevent-pointer_sdha6_1yyrd_232"
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"horizontal": "
|
|
6
|
-
"vertical": "
|
|
7
|
-
"list": "
|
|
8
|
-
"grid": "
|
|
9
|
-
"list-item": "awsui_list-
|
|
10
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
11
|
-
"toggle": "
|
|
12
|
-
"description": "
|
|
13
|
-
"separator": "
|
|
4
|
+
"root": "awsui_root_gfwv3_i6vxr_193",
|
|
5
|
+
"horizontal": "awsui_horizontal_gfwv3_i6vxr_196",
|
|
6
|
+
"vertical": "awsui_vertical_gfwv3_i6vxr_202",
|
|
7
|
+
"list": "awsui_list_gfwv3_i6vxr_207",
|
|
8
|
+
"grid": "awsui_grid_gfwv3_i6vxr_226",
|
|
9
|
+
"list-item": "awsui_list-item_gfwv3_i6vxr_238",
|
|
10
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_i6vxr_245",
|
|
11
|
+
"toggle": "awsui_toggle_gfwv3_i6vxr_245",
|
|
12
|
+
"description": "awsui_description_gfwv3_i6vxr_338",
|
|
13
|
+
"separator": "awsui_separator_gfwv3_i6vxr_342"
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -190,21 +190,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
190
190
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
191
191
|
SPDX-License-Identifier: Apache-2.0
|
|
192
192
|
*/
|
|
193
|
-
.
|
|
193
|
+
.awsui_root_gfwv3_i6vxr_193:not(#\9) {
|
|
194
194
|
gap: var(--space-scaled-xs-xwoogq, 8px);
|
|
195
195
|
}
|
|
196
|
-
.
|
|
196
|
+
.awsui_root_gfwv3_i6vxr_193.awsui_horizontal_gfwv3_i6vxr_196:not(#\9) {
|
|
197
197
|
display: flex;
|
|
198
198
|
gap: var(--space-xs-ymlm0b, 8px);
|
|
199
199
|
flex-direction: row;
|
|
200
200
|
flex-wrap: wrap;
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
.awsui_root_gfwv3_i6vxr_193.awsui_vertical_gfwv3_i6vxr_202:not(#\9) {
|
|
203
203
|
display: flex;
|
|
204
204
|
flex-direction: column;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
.
|
|
207
|
+
.awsui_list_gfwv3_i6vxr_207:not(#\9) {
|
|
208
208
|
display: contents;
|
|
209
209
|
list-style: none;
|
|
210
210
|
padding-block: 0;
|
|
@@ -212,43 +212,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
212
212
|
margin-block: 0;
|
|
213
213
|
margin-inline: 0;
|
|
214
214
|
}
|
|
215
|
-
.
|
|
215
|
+
.awsui_list_gfwv3_i6vxr_207.awsui_horizontal_gfwv3_i6vxr_196:not(#\9), .awsui_list_gfwv3_i6vxr_207.awsui_vertical_gfwv3_i6vxr_202:not(#\9) {
|
|
216
216
|
display: flex;
|
|
217
217
|
gap: var(--space-xs-ymlm0b, 8px);
|
|
218
218
|
}
|
|
219
|
-
.
|
|
219
|
+
.awsui_list_gfwv3_i6vxr_207.awsui_horizontal_gfwv3_i6vxr_196:not(#\9) {
|
|
220
220
|
flex-direction: row;
|
|
221
221
|
flex-wrap: wrap;
|
|
222
222
|
}
|
|
223
|
-
.
|
|
223
|
+
.awsui_list_gfwv3_i6vxr_207.awsui_vertical_gfwv3_i6vxr_202:not(#\9) {
|
|
224
224
|
flex-direction: column;
|
|
225
225
|
}
|
|
226
|
-
.
|
|
226
|
+
.awsui_list_gfwv3_i6vxr_207.awsui_grid_gfwv3_i6vxr_226:not(#\9) {
|
|
227
227
|
display: grid;
|
|
228
228
|
gap: var(--space-xs-ymlm0b, 8px);
|
|
229
229
|
grid-template-columns: repeat(auto-fill, 230px);
|
|
230
230
|
}
|
|
231
231
|
@media (max-width: 688px) {
|
|
232
|
-
.
|
|
232
|
+
.awsui_list_gfwv3_i6vxr_207.awsui_grid_gfwv3_i6vxr_226:not(#\9) {
|
|
233
233
|
display: flex;
|
|
234
234
|
flex-direction: column;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.awsui_list-
|
|
238
|
+
.awsui_list-item_gfwv3_i6vxr_238:not(#\9) {
|
|
239
239
|
padding-block: 0;
|
|
240
240
|
padding-inline: 0;
|
|
241
241
|
margin-block: 0;
|
|
242
242
|
margin-inline: 0;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.awsui_toggle-container-
|
|
245
|
+
.awsui_toggle-container-inline_gfwv3_i6vxr_245:not(#\9) {
|
|
246
246
|
padding-inline-start: var(--space-xs-ymlm0b, 8px);
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: center;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.
|
|
251
|
+
.awsui_toggle_gfwv3_i6vxr_245:not(#\9) {
|
|
252
252
|
border-collapse: separate;
|
|
253
253
|
border-spacing: 0;
|
|
254
254
|
box-sizing: border-box;
|
|
@@ -292,42 +292,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
292
292
|
color: var(--awsui-style-color-default-esndbs, var(--color-text-link-secondary-default-6ui3do, #006ce0));
|
|
293
293
|
font-weight: var(--font-weight-link-secondary-2yfxrh, inherit);
|
|
294
294
|
letter-spacing: normal;
|
|
295
|
-
text-decoration-line: none;
|
|
296
|
-
text-decoration-color: transparent;
|
|
295
|
+
text-decoration-line: var(--font-decoration-line-link-secondary-yegojw, none);
|
|
296
|
+
text-decoration-color: var(--color-text-link-secondary-decoration-default-icj4nn, transparent);
|
|
297
297
|
transition-property: color, -webkit-text-decoration;
|
|
298
298
|
transition-property: color, text-decoration;
|
|
299
299
|
transition-property: color, text-decoration, -webkit-text-decoration;
|
|
300
300
|
transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
|
|
301
301
|
}
|
|
302
302
|
@media (prefers-reduced-motion: reduce) {
|
|
303
|
-
.
|
|
303
|
+
.awsui_toggle_gfwv3_i6vxr_245:not(#\9) {
|
|
304
304
|
animation: none;
|
|
305
305
|
transition: none;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
.awsui-motion-disabled .
|
|
308
|
+
.awsui-motion-disabled .awsui_toggle_gfwv3_i6vxr_245:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_i6vxr_245:not(#\9) {
|
|
309
309
|
animation: none;
|
|
310
310
|
transition: none;
|
|
311
311
|
}
|
|
312
|
-
.
|
|
312
|
+
.awsui_toggle_gfwv3_i6vxr_245:not(#\9):hover {
|
|
313
313
|
cursor: pointer;
|
|
314
314
|
color: var(--awsui-style-color-hover-esndbs, var(--color-text-link-secondary-hover-oy8eob, #002b66));
|
|
315
315
|
}
|
|
316
|
-
.
|
|
316
|
+
.awsui_toggle_gfwv3_i6vxr_245:not(#\9):focus {
|
|
317
317
|
outline: none;
|
|
318
318
|
}
|
|
319
|
-
.
|
|
319
|
+
.awsui_toggle_gfwv3_i6vxr_245:not(#\9):active {
|
|
320
320
|
color: var(--awsui-style-color-active-esndbs, var(--color-text-link-secondary-hover-oy8eob, #002b66));
|
|
321
321
|
}
|
|
322
|
-
.
|
|
322
|
+
.awsui_toggle_gfwv3_i6vxr_245:not(#\9):active, .awsui_toggle_gfwv3_i6vxr_245:not(#\9):focus, .awsui_toggle_gfwv3_i6vxr_245:not(#\9):hover {
|
|
323
323
|
text-decoration-line: underline;
|
|
324
324
|
text-decoration-color: var(--color-text-link-decoration-hover-kui2t9, currentColor);
|
|
325
325
|
}
|
|
326
|
-
.
|
|
326
|
+
.awsui_toggle_gfwv3_i6vxr_245:not(#\9):active, .awsui_toggle_gfwv3_i6vxr_245:not(#\9):focus, .awsui_toggle_gfwv3_i6vxr_245:not(#\9):hover {
|
|
327
327
|
text-decoration: none;
|
|
328
328
|
text-decoration-color: transparent;
|
|
329
329
|
}
|
|
330
|
-
body[data-awsui-focus-visible=true] .
|
|
330
|
+
body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_i6vxr_245:not(#\9):focus {
|
|
331
331
|
outline: 2px dotted transparent;
|
|
332
332
|
border-block: var(--border-width-button-jm0qg7, 2px) solid var(--color-border-item-focused-ditkrb, #006ce0);
|
|
333
333
|
border-inline: var(--border-width-button-jm0qg7, 2px) solid var(--color-border-item-focused-ditkrb, #006ce0);
|
|
@@ -337,11 +337,11 @@ body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_15eip_245:not(#\9):focus
|
|
|
337
337
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
338
338
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-9mjajk, 1px) var(--color-border-item-focused-ditkrb, #006ce0);
|
|
339
339
|
}
|
|
340
|
-
.
|
|
340
|
+
.awsui_toggle_gfwv3_i6vxr_245 > .awsui_description_gfwv3_i6vxr_338:not(#\9) {
|
|
341
341
|
margin-inline-start: var(--space-xxs-hwfkai, 4px);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
.
|
|
344
|
+
.awsui_separator_gfwv3_i6vxr_342:not(#\9) {
|
|
345
345
|
margin-block: 0;
|
|
346
346
|
margin-inline: var(--space-scaled-m-m892r9, 16px);
|
|
347
347
|
inline-size: var(--border-divider-section-width-uwo8my, 1px);
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"horizontal": "
|
|
7
|
-
"vertical": "
|
|
8
|
-
"list": "
|
|
9
|
-
"grid": "
|
|
10
|
-
"list-item": "awsui_list-
|
|
11
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
12
|
-
"toggle": "
|
|
13
|
-
"description": "
|
|
14
|
-
"separator": "
|
|
5
|
+
"root": "awsui_root_gfwv3_i6vxr_193",
|
|
6
|
+
"horizontal": "awsui_horizontal_gfwv3_i6vxr_196",
|
|
7
|
+
"vertical": "awsui_vertical_gfwv3_i6vxr_202",
|
|
8
|
+
"list": "awsui_list_gfwv3_i6vxr_207",
|
|
9
|
+
"grid": "awsui_grid_gfwv3_i6vxr_226",
|
|
10
|
+
"list-item": "awsui_list-item_gfwv3_i6vxr_238",
|
|
11
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_i6vxr_245",
|
|
12
|
+
"toggle": "awsui_toggle_gfwv3_i6vxr_245",
|
|
13
|
+
"description": "awsui_description_gfwv3_i6vxr_338",
|
|
14
|
+
"separator": "awsui_separator_gfwv3_i6vxr_342"
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -2,11 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { MutableRefObject } from 'react';
|
|
3
3
|
import { TransitionStatus as ReactTransitionGroupTransitionStatus } from 'react-transition-group';
|
|
4
4
|
export type TransitionStatus = ReactTransitionGroupTransitionStatus | 'enter' | 'exit';
|
|
5
|
-
interface TransitionProps {
|
|
5
|
+
interface TransitionProps<T extends HTMLElement> {
|
|
6
6
|
in: boolean;
|
|
7
7
|
exit?: boolean;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
-
children: (state: TransitionStatus, transitioningElementRef: MutableRefObject<
|
|
9
|
+
children: (state: TransitionStatus, transitioningElementRef: MutableRefObject<T | null>, motionDisabled: boolean) => React.ReactNode;
|
|
10
10
|
onStatusChange?: (status: TransitionStatus) => void;
|
|
11
11
|
transitionChangeDelay?: {
|
|
12
12
|
entering?: number;
|
|
@@ -14,12 +14,12 @@ interface TransitionProps {
|
|
|
14
14
|
exitTimeout?: number;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* This component
|
|
17
|
+
* This component wraps react-transition-group's Transition component.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Its rendering function receives the transition state, a ref that must be attached to the transitioning node,
|
|
20
|
+
* and whether motion is disabled by either user preference or the disabled prop.
|
|
21
21
|
*/
|
|
22
|
-
export declare function Transition({
|
|
22
|
+
export declare function Transition<T extends HTMLElement = any>({
|
|
23
23
|
in: isIn,
|
|
24
24
|
children,
|
|
25
25
|
exit,
|
|
@@ -28,5 +28,5 @@ export declare function Transition({
|
|
|
28
28
|
transitionChangeDelay,
|
|
29
29
|
exitTimeout,
|
|
30
30
|
...rest
|
|
31
|
-
}: TransitionProps): JSX.Element;
|
|
31
|
+
}: TransitionProps<T>): JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/transition/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAuB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAEL,gBAAgB,IAAI,oCAAoC,EACzD,MAAM,wBAAwB,CAAC;AAIhC,MAAM,MAAM,gBAAgB,GAAG,oCAAoC,GAAG,OAAO,GAAG,MAAM,CAAC;AAEvF,UAAU,eAAe;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/transition/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAuB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAEL,gBAAgB,IAAI,oCAAoC,EACzD,MAAM,wBAAwB,CAAC;AAIhC,MAAM,MAAM,gBAAgB,GAAG,oCAAoC,GAAG,OAAO,GAAG,MAAM,CAAC;AAEvF,UAAU,eAAe,CAAC,CAAC,SAAS,WAAW;IAC7C,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,QAAQ,EAAE,CACR,KAAK,EAAE,gBAAgB,EACvB,uBAAuB,EAAE,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,EACnD,cAAc,EAAE,OAAO,KACpB,KAAK,CAAC,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACpD,qBAAqB,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,GAAG,EAAE,EACtD,EAAE,EAAE,IAAI,EACR,QAAQ,EACR,IAAW,EACX,cAA6B,EAC7B,QAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,GAAG,IAAI,EACR,EAAE,eAAe,CAAC,CAAC,CAAC,eA8EpB"}
|
|
@@ -5,10 +5,10 @@ import { useCallback, useRef } from 'react';
|
|
|
5
5
|
import { Transition as ReactTransitionGroupTransition, } from 'react-transition-group';
|
|
6
6
|
import { useReducedMotion } from '@cloudscape-design/component-toolkit/internal';
|
|
7
7
|
/**
|
|
8
|
-
* This component
|
|
8
|
+
* This component wraps react-transition-group's Transition component.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Its rendering function receives the transition state, a ref that must be attached to the transitioning node,
|
|
11
|
+
* and whether motion is disabled by either user preference or the disabled prop.
|
|
12
12
|
*/
|
|
13
13
|
export function Transition({ in: isIn, children, exit = true, onStatusChange = () => void 0, disabled = false, transitionChangeDelay, exitTimeout, ...rest }) {
|
|
14
14
|
const transitionRootElement = useRef(null);
|
|
@@ -68,6 +68,6 @@ export function Transition({ in: isIn, children, exit = true, onStatusChange = (
|
|
|
68
68
|
}, onExited: () => {
|
|
69
69
|
setTransitionState('exited');
|
|
70
70
|
onStatusChange('exited');
|
|
71
|
-
}, ...rest }, () => children(transitionState, transitionRootElement)));
|
|
71
|
+
}, ...rest }, () => children(transitionState, transitionRootElement, motionDisabled)));
|
|
72
72
|
}
|
|
73
73
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/transition/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAoB,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EACL,UAAU,IAAI,8BAA8B,GAE7C,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/transition/index.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useState } from 'react';\nimport { MutableRefObject, useCallback, useRef } from 'react';\nimport {\n Transition as ReactTransitionGroupTransition,\n TransitionStatus as ReactTransitionGroupTransitionStatus,\n} from 'react-transition-group';\n\nimport { useReducedMotion } from '@cloudscape-design/component-toolkit/internal';\n\nexport type TransitionStatus = ReactTransitionGroupTransitionStatus | 'enter' | 'exit';\n\ninterface TransitionProps<T extends HTMLElement> {\n in: boolean;\n exit?: boolean;\n\n disabled?: boolean;\n\n children: (\n state: TransitionStatus,\n transitioningElementRef: MutableRefObject<T | null>,\n motionDisabled: boolean\n ) => React.ReactNode;\n onStatusChange?: (status: TransitionStatus) => void;\n transitionChangeDelay?: { entering?: number };\n exitTimeout?: number;\n}\n\n/**\n * This component wraps react-transition-group's Transition component.\n *\n * Its rendering function receives the transition state, a ref that must be attached to the transitioning node,\n * and whether motion is disabled by either user preference or the disabled prop.\n */\nexport function Transition<T extends HTMLElement = any>({\n in: isIn,\n children,\n exit = true,\n onStatusChange = () => void 0,\n disabled = false,\n transitionChangeDelay,\n exitTimeout,\n ...rest\n}: TransitionProps<T>) {\n const transitionRootElement = useRef<T>(null);\n // the initial state of the transition should be either 'exited' or 'entered' depending\n // on the `in` property, this mimicks how internally the Transition component works here:\n // https://github.com/reactjs/react-transition-group/blob/6cbd6aaedaf8e9472007640b429ddb48c6c24158/src/Transition.js#L121\n const [transitionState, setTransitionState] = useState<TransitionStatus>(isIn ? 'entered' : 'exited');\n const motionDisabled = useReducedMotion(transitionRootElement) || disabled;\n\n const addTransitionEndListener = useCallback((done: () => void) => {\n const node = transitionRootElement.current;\n\n if (node === null) {\n return;\n }\n const controller = new AbortController();\n const listener = (e: TransitionEvent | AnimationEvent) => {\n if (e.target === node) {\n controller.abort();\n done();\n }\n };\n node.addEventListener('transitionend', listener, { signal: controller.signal });\n node.addEventListener('animationend', listener, { signal: controller.signal });\n }, []);\n\n return (\n <ReactTransitionGroupTransition\n addEndListener={addTransitionEndListener}\n timeout={motionDisabled ? 0 : exitTimeout}\n in={isIn}\n nodeRef={transitionRootElement}\n exit={exit}\n onEnter={isAppearing => {\n if (!isAppearing) {\n setTransitionState('enter');\n onStatusChange('enter');\n }\n }}\n onEntering={isAppearing => {\n if (!isAppearing) {\n // This line forces the browser to recalculate the layout because we want the starting state in the 'enter' style\n // to be applied before the animation starts.\n void transitionRootElement.current?.offsetHeight;\n\n if (transitionChangeDelay?.entering) {\n setTimeout(() => {\n setTransitionState('entering');\n onStatusChange('entering');\n }, transitionChangeDelay?.entering);\n } else {\n setTransitionState('entering');\n onStatusChange('entering');\n }\n }\n }}\n onEntered={isAppearing => {\n if (!isAppearing) {\n setTransitionState('entered');\n onStatusChange('entered');\n }\n }}\n onExit={() => {\n setTransitionState('exit');\n onStatusChange('exit');\n }}\n onExiting={() => {\n setTransitionState('exiting');\n onStatusChange('exiting');\n }}\n onExited={() => {\n setTransitionState('exited');\n onStatusChange('exited');\n }}\n {...rest}\n >\n {() => children(transitionState, transitionRootElement, motionDisabled)}\n </ReactTransitionGroupTransition>\n );\n}\n"]}
|
package/internal/environment.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export var PACKAGE_SOURCE = "components";
|
|
2
|
-
export var PACKAGE_VERSION = "3.0.0 (
|
|
3
|
-
export var GIT_SHA = "
|
|
2
|
+
export var PACKAGE_VERSION = "3.0.0 (f066dd83)";
|
|
3
|
+
export var GIT_SHA = "f066dd83";
|
|
4
4
|
export var THEME = "open-source-visual-refresh";
|
|
5
5
|
export var SYSTEM = "core";
|
|
6
6
|
export var ALWAYS_VISUAL_REFRESH = true;
|
|
@@ -577,6 +577,7 @@ export const colorBorderItemSelected: string;
|
|
|
577
577
|
export const colorBorderLayout: string;
|
|
578
578
|
export const colorBorderLayoutSideNavigation: string;
|
|
579
579
|
export const colorBorderNotificationStackBar: string;
|
|
580
|
+
export const colorBorderNotificationStackBarFocused: string;
|
|
580
581
|
export const colorBorderPanelHeader: string;
|
|
581
582
|
export const colorBorderPopover: string;
|
|
582
583
|
export const colorBorderSegmentActive: string;
|
|
@@ -690,6 +691,7 @@ export const colorTextLinkDecorationDefault: string;
|
|
|
690
691
|
export const colorTextLinkDecorationHover: string;
|
|
691
692
|
export const colorTextLinkSecondaryDefault: string;
|
|
692
693
|
export const colorTextLinkSecondaryHover: string;
|
|
694
|
+
export const colorTextLinkSecondaryDecorationDefault: string;
|
|
693
695
|
export const colorTextLinkInfoDefault: string;
|
|
694
696
|
export const colorTextLinkInfoHover: string;
|
|
695
697
|
export const colorTextLinkInvertedDefault: string;
|
|
@@ -798,6 +800,7 @@ export const fontBoxValueLargeWeight: string;
|
|
|
798
800
|
export const fontButtonLetterSpacing: string;
|
|
799
801
|
export const fontChartDetailSize: string;
|
|
800
802
|
export const fontDecorationStyleLink: string;
|
|
803
|
+
export const fontDecorationLineLinkSecondary: string;
|
|
801
804
|
export const fontDecorationThicknessLink: string;
|
|
802
805
|
export const fontDecorationThicknessLinkDisplayL: string;
|
|
803
806
|
export const fontDisplayLabelWeight: string;
|
|
@@ -985,6 +988,12 @@ export const motionDurationExpressive: string;
|
|
|
985
988
|
export const motionDurationComplex: string;
|
|
986
989
|
export const motionDurationTooltipEnter: string;
|
|
987
990
|
export const motionEasingTooltipEnter: string;
|
|
991
|
+
export const motionDurationExpandableContentEnter: string;
|
|
992
|
+
export const motionEasingExpandableContentEnter: string;
|
|
993
|
+
export const motionDurationSideNavigationContentEnterFade: string;
|
|
994
|
+
export const motionDurationSideNavigationContentExit: string;
|
|
995
|
+
export const motionDurationSideNavigationContentExitFade: string;
|
|
996
|
+
export const motionEasingSideNavigationContentExit: string;
|
|
988
997
|
export const motionKeyframesFadeIn: string;
|
|
989
998
|
export const motionKeyframesFadeOut: string;
|
|
990
999
|
export const motionKeyframesStatusIconError: string;
|
|
@@ -999,6 +1008,8 @@ export const sizeTableSelectionHorizontal: string;
|
|
|
999
1008
|
export const sizeVerticalInput: string;
|
|
1000
1009
|
export const sizeVerticalPanelIconOffset: string;
|
|
1001
1010
|
export const sizeSideNavigationItemHeight: string;
|
|
1011
|
+
export const sizeSideNavigationItemCollapsed: string;
|
|
1012
|
+
export const sizeSideNavigationCollapsedWidth: string;
|
|
1002
1013
|
export const spaceAlertActionLeft: string;
|
|
1003
1014
|
export const spaceAlertHorizontal: string;
|
|
1004
1015
|
export const spaceAlertMessageRight: string;
|
|
@@ -437,7 +437,7 @@ export var colorBackgroundInputDisabled = "var(--color-background-input-disabled
|
|
|
437
437
|
export var colorBackgroundItemSelected = "var(--color-background-item-selected-pyr5cw, #f0fbff)";
|
|
438
438
|
export var colorBackgroundSideNavigationItemActive = "var(--color-background-side-navigation-item-active-adfprg, transparent)";
|
|
439
439
|
export var colorBackgroundSideNavigationItemActiveCollapsed = "var(--color-background-side-navigation-item-active-collapsed-jczh49, #006ce0)";
|
|
440
|
-
export var colorBackgroundSideNavigationItemIconHover = "var(--color-background-side-navigation-item-icon-hover-
|
|
440
|
+
export var colorBackgroundSideNavigationItemIconHover = "var(--color-background-side-navigation-item-icon-hover-e5eh06, #f0fbff)";
|
|
441
441
|
export var colorBackgroundLayoutMain = "var(--color-background-layout-main-7z8vaj, #ffffff)";
|
|
442
442
|
export var colorBackgroundLayoutAiDrawer = "var(--color-background-layout-ai-drawer-b4mvv3, #161d26)";
|
|
443
443
|
export var colorBackgroundDrawer = "var(--color-background-drawer-715dba, #ffffff)";
|
|
@@ -577,6 +577,7 @@ export var colorBorderItemSelected = "var(--color-border-item-selected-63a3p8, #
|
|
|
577
577
|
export var colorBorderLayout = "var(--color-border-layout-px1i24, #c6c6cd)";
|
|
578
578
|
export var colorBorderLayoutSideNavigation = "var(--color-border-layout-side-navigation-mjh43q, #c6c6cd)";
|
|
579
579
|
export var colorBorderNotificationStackBar = "var(--color-border-notification-stack-bar-aszsse, #232b37)";
|
|
580
|
+
export var colorBorderNotificationStackBarFocused = "var(--color-border-notification-stack-bar-focused-mzvtw9, #f9f9fa)";
|
|
580
581
|
export var colorBorderPanelHeader = "var(--color-border-panel-header-j4pvsn, #c6c6cd)";
|
|
581
582
|
export var colorBorderPopover = "var(--color-border-popover-5yl4uc, #b4b4bb)";
|
|
582
583
|
export var colorBorderSegmentActive = "var(--color-border-segment-active-trxbfe, #424650)";
|
|
@@ -690,6 +691,7 @@ export var colorTextLinkDecorationDefault = "var(--color-text-link-decoration-de
|
|
|
690
691
|
export var colorTextLinkDecorationHover = "var(--color-text-link-decoration-hover-kui2t9, currentColor)";
|
|
691
692
|
export var colorTextLinkSecondaryDefault = "var(--color-text-link-secondary-default-6ui3do, #006ce0)";
|
|
692
693
|
export var colorTextLinkSecondaryHover = "var(--color-text-link-secondary-hover-oy8eob, #002b66)";
|
|
694
|
+
export var colorTextLinkSecondaryDecorationDefault = "var(--color-text-link-secondary-decoration-default-icj4nn, transparent)";
|
|
693
695
|
export var colorTextLinkInfoDefault = "var(--color-text-link-info-default-mgpk1w, #006ce0)";
|
|
694
696
|
export var colorTextLinkInfoHover = "var(--color-text-link-info-hover-os951m, #002b66)";
|
|
695
697
|
export var colorTextLinkInvertedDefault = "var(--color-text-link-inverted-default-n9ytl0, #f9f9fa)";
|
|
@@ -798,6 +800,7 @@ export var fontBoxValueLargeWeight = "var(--font-box-value-large-weight-wr00sw,
|
|
|
798
800
|
export var fontButtonLetterSpacing = "var(--font-button-letter-spacing-ufowe3, 0.005em)";
|
|
799
801
|
export var fontChartDetailSize = "var(--font-chart-detail-size-9qr25q, 12px)";
|
|
800
802
|
export var fontDecorationStyleLink = "var(--font-decoration-style-link-pk2xmp, solid)";
|
|
803
|
+
export var fontDecorationLineLinkSecondary = "var(--font-decoration-line-link-secondary-yegojw, none)";
|
|
801
804
|
export var fontDecorationThicknessLink = "var(--font-decoration-thickness-link-uesuo7, 1px)";
|
|
802
805
|
export var fontDecorationThicknessLinkDisplayL = "var(--font-decoration-thickness-link-display-l-6g5fyl, 2px)";
|
|
803
806
|
export var fontDisplayLabelWeight = "var(--font-display-label-weight-zavpeo, 700)";
|
|
@@ -985,6 +988,12 @@ export var motionDurationExpressive = "var(--motion-duration-expressive-cbdcwy,
|
|
|
985
988
|
export var motionDurationComplex = "var(--motion-duration-complex-tbdo30, 250ms)";
|
|
986
989
|
export var motionDurationTooltipEnter = "var(--motion-duration-tooltip-enter-8e7aex, 115ms)";
|
|
987
990
|
export var motionEasingTooltipEnter = "var(--motion-easing-tooltip-enter-i9exfu, cubic-bezier(0, 0, 0, 1))";
|
|
991
|
+
export var motionDurationExpandableContentEnter = "var(--motion-duration-expandable-content-enter-kqyuuj, 180ms)";
|
|
992
|
+
export var motionEasingExpandableContentEnter = "var(--motion-easing-expandable-content-enter-5fw5v8, ease-out)";
|
|
993
|
+
export var motionDurationSideNavigationContentEnterFade = "var(--motion-duration-side-navigation-content-enter-fade-9is49e, 0ms)";
|
|
994
|
+
export var motionDurationSideNavigationContentExit = "var(--motion-duration-side-navigation-content-exit-6sbfiy, 0ms)";
|
|
995
|
+
export var motionDurationSideNavigationContentExitFade = "var(--motion-duration-side-navigation-content-exit-fade-ydl422, 0ms)";
|
|
996
|
+
export var motionEasingSideNavigationContentExit = "var(--motion-easing-side-navigation-content-exit-v820ow, ease-out)";
|
|
988
997
|
export var motionKeyframesFadeIn = "var(--motion-keyframes-fade-in-0r842q, awsui-fade-in-35003c)";
|
|
989
998
|
export var motionKeyframesFadeOut = "var(--motion-keyframes-fade-out-g7fgdu, awsui-fade-out-35003c)";
|
|
990
999
|
export var motionKeyframesStatusIconError = "var(--motion-keyframes-status-icon-error-wkou39, awsui-status-icon-error-35003c)";
|
|
@@ -999,6 +1008,8 @@ export var sizeTableSelectionHorizontal = "var(--size-table-selection-horizontal
|
|
|
999
1008
|
export var sizeVerticalInput = "var(--size-vertical-input-p1d7xx, 32px)";
|
|
1000
1009
|
export var sizeVerticalPanelIconOffset = "var(--size-vertical-panel-icon-offset-z959cw, 15px)";
|
|
1001
1010
|
export var sizeSideNavigationItemHeight = "var(--size-side-navigation-item-height-lokap3, 28px)";
|
|
1011
|
+
export var sizeSideNavigationItemCollapsed = "var(--size-side-navigation-item-collapsed-oesjea, 30px)";
|
|
1012
|
+
export var sizeSideNavigationCollapsedWidth = "var(--size-side-navigation-collapsed-width-3gq7nn, 52px)";
|
|
1002
1013
|
export var spaceAlertActionLeft = "var(--space-alert-action-left-4s8zo5, 12px)";
|
|
1003
1014
|
export var spaceAlertHorizontal = "var(--space-alert-horizontal-ul364s, 16px)";
|
|
1004
1015
|
export var spaceAlertMessageRight = "var(--space-alert-message-right-mrjbnn, 4px)";
|