@cloudscape-design/components-themeable 3.0.1315 → 3.0.1316
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/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/link/styles.scss +16 -0
- package/lib/internal/scss/side-navigation/styles.scss +221 -48
- package/lib/internal/scss/side-navigation/test-classes/styles.scss +4 -0
- package/lib/internal/scss/top-navigation/test-classes/styles.scss +8 -0
- package/lib/internal/template/file-token-group/file-token.d.ts.map +1 -1
- package/lib/internal/template/file-token-group/file-token.js +33 -27
- package/lib/internal/template/file-token-group/file-token.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +13 -1
- package/lib/internal/template/internal/breakpoints.d.ts +1 -1
- package/lib/internal/template/internal/breakpoints.d.ts.map +1 -1
- package/lib/internal/template/internal/breakpoints.js +25 -3
- package/lib/internal/template/internal/breakpoints.js.map +1 -1
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/styles/tokens.d.ts +5 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +5 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +99 -0
- package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +36 -0
- package/lib/internal/template/internal/generated/theming/index.d.ts +36 -0
- package/lib/internal/template/internal/generated/theming/index.js +99 -0
- package/lib/internal/template/internal/hooks/container-queries/use-container-breakpoints.d.ts.map +1 -1
- package/lib/internal/template/internal/hooks/container-queries/use-container-breakpoints.js +2 -1
- package/lib/internal/template/internal/hooks/container-queries/use-container-breakpoints.js.map +1 -1
- package/lib/internal/template/link/internal.js +1 -1
- package/lib/internal/template/link/internal.js.map +1 -1
- package/lib/internal/template/link/styles.css.js +21 -21
- package/lib/internal/template/link/styles.scoped.css +118 -72
- package/lib/internal/template/link/styles.selectors.js +21 -21
- package/lib/internal/template/prompt-input/index.d.ts.map +1 -1
- package/lib/internal/template/prompt-input/index.js +3 -1
- package/lib/internal/template/prompt-input/index.js.map +1 -1
- package/lib/internal/template/side-navigation/implementation.d.ts +1 -1
- package/lib/internal/template/side-navigation/implementation.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/implementation.js +4 -4
- package/lib/internal/template/side-navigation/implementation.js.map +1 -1
- package/lib/internal/template/side-navigation/index.d.ts +1 -1
- package/lib/internal/template/side-navigation/index.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/index.js +5 -3
- package/lib/internal/template/side-navigation/index.js.map +1 -1
- package/lib/internal/template/side-navigation/interfaces.d.ts +20 -1
- package/lib/internal/template/side-navigation/interfaces.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/interfaces.js.map +1 -1
- package/lib/internal/template/side-navigation/parts.d.ts +3 -2
- package/lib/internal/template/side-navigation/parts.d.ts.map +1 -1
- package/lib/internal/template/side-navigation/parts.js +147 -37
- package/lib/internal/template/side-navigation/parts.js.map +1 -1
- package/lib/internal/template/side-navigation/styles.css.js +46 -30
- package/lib/internal/template/side-navigation/styles.scoped.css +223 -74
- package/lib/internal/template/side-navigation/styles.selectors.js +46 -30
- package/lib/internal/template/side-navigation/test-classes/styles.css.js +2 -1
- package/lib/internal/template/side-navigation/test-classes/styles.scoped.css +5 -1
- package/lib/internal/template/side-navigation/test-classes/styles.selectors.js +2 -1
- package/lib/internal/template/test-utils/dom/top-navigation/index.d.ts +2 -1
- package/lib/internal/template/test-utils/dom/top-navigation/index.js +4 -0
- package/lib/internal/template/test-utils/dom/top-navigation/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/top-navigation/index.d.ts +1 -0
- package/lib/internal/template/test-utils/selectors/top-navigation/index.js +4 -0
- package/lib/internal/template/test-utils/selectors/top-navigation/index.js.map +1 -1
- package/lib/internal/template/token/internal.d.ts +18 -2
- package/lib/internal/template/token/internal.d.ts.map +1 -1
- package/lib/internal/template/token/internal.js +20 -9
- package/lib/internal/template/token/internal.js.map +1 -1
- package/lib/internal/template/top-navigation/index.d.ts +1 -1
- package/lib/internal/template/top-navigation/index.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/index.js +2 -2
- package/lib/internal/template/top-navigation/index.js.map +1 -1
- package/lib/internal/template/top-navigation/interfaces.d.ts +14 -1
- package/lib/internal/template/top-navigation/interfaces.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/interfaces.js.map +1 -1
- package/lib/internal/template/top-navigation/internal.d.ts +2 -2
- package/lib/internal/template/top-navigation/internal.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/internal.js +42 -21
- package/lib/internal/template/top-navigation/internal.js.map +1 -1
- package/lib/internal/template/top-navigation/test-classes/styles.css.js +6 -0
- package/lib/internal/template/top-navigation/test-classes/styles.scoped.css +7 -0
- package/lib/internal/template/top-navigation/test-classes/styles.selectors.js +7 -0
- package/lib/internal/template/top-navigation/use-top-navigation.d.ts +5 -0
- package/lib/internal/template/top-navigation/use-top-navigation.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/use-top-navigation.js +12 -5
- package/lib/internal/template/top-navigation/use-top-navigation.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/*
|
|
2
3
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
4
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -142,7 +143,7 @@
|
|
|
142
143
|
*/
|
|
143
144
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
145
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.
|
|
146
|
+
.awsui_root_l0dv0_ckbh1_146:not(#\9) {
|
|
146
147
|
border-collapse: separate;
|
|
147
148
|
border-spacing: 0;
|
|
148
149
|
box-sizing: border-box;
|
|
@@ -176,7 +177,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
176
177
|
word-break: break-word;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
|
-
.
|
|
180
|
+
.awsui_with-toolbar_l0dv0_ckbh1_180:not(#\9) {
|
|
181
|
+
/* Structural class — parent context for toolbar margin resets. */
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.awsui_header_l0dv0_ckbh1_184:not(#\9) {
|
|
180
185
|
font-size: var(--font-panel-header-size-i1j838, 18px);
|
|
181
186
|
letter-spacing: var(--letter-spacing-heading-m-93y02s, normal);
|
|
182
187
|
line-height: var(--font-panel-header-line-height-z3wpa5, 22px);
|
|
@@ -189,8 +194,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
189
194
|
padding-inline-start: var(--space-panel-nav-left-kmy0f5, 32px);
|
|
190
195
|
padding-inline-end: calc(var(--space-scaled-xxl-9ur2is, 32px) + var(--space-xl-4dmkh1, 24px));
|
|
191
196
|
}
|
|
197
|
+
.awsui_header--collapsed_l0dv0_ckbh1_197:not(#\9) {
|
|
198
|
+
padding-inline: 0;
|
|
199
|
+
display: flex;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
align-items: center;
|
|
202
|
+
}
|
|
192
203
|
|
|
193
|
-
.awsui_header-
|
|
204
|
+
.awsui_header-link_l0dv0_ckbh1_204:not(#\9) {
|
|
194
205
|
font-size: var(--font-panel-header-size-i1j838, 18px);
|
|
195
206
|
letter-spacing: var(--letter-spacing-heading-m-93y02s, normal);
|
|
196
207
|
line-height: var(--font-panel-header-line-height-z3wpa5, 22px);
|
|
@@ -201,105 +212,197 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
201
212
|
min-block-size: var(--font-panel-header-line-height-z3wpa5, 22px);
|
|
202
213
|
display: flex;
|
|
203
214
|
}
|
|
204
|
-
.awsui_header-link--has-
|
|
215
|
+
.awsui_header-link--has-logo_l0dv0_ckbh1_215 > .awsui_header-link-text_l0dv0_ckbh1_215:not(#\9) {
|
|
205
216
|
font-weight: var(--font-weight-normal-7w835s, 400);
|
|
206
217
|
align-self: center;
|
|
207
218
|
}
|
|
208
219
|
|
|
209
|
-
.awsui_header-
|
|
220
|
+
.awsui_header-logo_l0dv0_ckbh1_220:not(#\9) {
|
|
210
221
|
margin-inline-end: var(--space-s-4a5hs8, 12px);
|
|
211
222
|
margin-block-start: var(--space-xxxs-3w1kr2, 2px);
|
|
212
223
|
max-inline-size: calc(1.25 * var(--size-icon-big-hnqj8f, 32px));
|
|
213
224
|
align-self: flex-start;
|
|
214
225
|
}
|
|
215
|
-
.awsui_header-logo--
|
|
226
|
+
.awsui_header-logo--stretched_l0dv0_ckbh1_226:not(#\9) {
|
|
216
227
|
max-inline-size: 100%;
|
|
217
228
|
margin-inline-end: 0;
|
|
218
229
|
}
|
|
219
230
|
|
|
220
|
-
.awsui_items-
|
|
231
|
+
.awsui_items-control_l0dv0_ckbh1_231:not(#\9) {
|
|
221
232
|
padding-inline: var(--space-l-3cws6j, 20px);
|
|
233
|
+
padding-block-start: calc((var(--size-side-navigation-item-height-nnzau5, 28px) - var(--line-height-body-m-bedeoh, 22px)) / 2);
|
|
222
234
|
}
|
|
223
235
|
|
|
224
|
-
.awsui_list-
|
|
236
|
+
.awsui_list-container_l0dv0_ckbh1_236:not(#\9) {
|
|
225
237
|
margin-block-end: var(--space-panel-content-bottom-igtxf0, 40px);
|
|
226
238
|
}
|
|
227
239
|
|
|
228
|
-
.awsui_items-
|
|
229
|
-
.awsui_list-
|
|
230
|
-
margin-block-start: var(--space-panel-content-top-s8rcdz, 20px);
|
|
240
|
+
.awsui_items-control_l0dv0_ckbh1_231:not(#\9),
|
|
241
|
+
.awsui_list-container_l0dv0_ckbh1_236:not(#\9) {
|
|
242
|
+
margin-block-start: calc(var(--space-panel-content-top-s8rcdz, 20px) - calc((var(--size-side-navigation-item-height-nnzau5, 28px) - var(--line-height-body-m-bedeoh, 22px)) / 2));
|
|
231
243
|
}
|
|
232
|
-
.awsui_with-
|
|
233
|
-
.awsui_with-
|
|
234
|
-
margin-block-start:
|
|
244
|
+
.awsui_with-toolbar_l0dv0_ckbh1_180 > .awsui_divider-header_l0dv0_ckbh1_244 + .awsui_items-control_l0dv0_ckbh1_231:not(#\9),
|
|
245
|
+
.awsui_with-toolbar_l0dv0_ckbh1_180 > .awsui_divider-header_l0dv0_ckbh1_244 + .awsui_list-container_l0dv0_ckbh1_236:not(#\9) {
|
|
246
|
+
margin-block-start: calc(-1 * calc((var(--size-side-navigation-item-height-nnzau5, 28px) - var(--line-height-body-m-bedeoh, 22px)) / 2));
|
|
235
247
|
}
|
|
236
248
|
|
|
237
|
-
.
|
|
249
|
+
.awsui_list_l0dv0_ckbh1_236:not(#\9) {
|
|
238
250
|
margin-block: 0;
|
|
239
251
|
margin-inline: 0;
|
|
240
252
|
padding-block: 0;
|
|
241
253
|
padding-inline-end: 0;
|
|
242
|
-
padding-inline-start: var(--space-
|
|
254
|
+
padding-inline-start: calc(var(--size-icon-normal-2f5zkr, 16px) + var(--space-xs-kw7k3v, 8px) - var(--space-xs-kw7k3v, 8px));
|
|
243
255
|
}
|
|
244
256
|
|
|
245
|
-
.awsui_list-variant-
|
|
257
|
+
.awsui_list-variant-root_l0dv0_ckbh1_257:not(#\9) {
|
|
246
258
|
margin-block: 0;
|
|
247
259
|
margin-inline: 0;
|
|
248
260
|
padding-block: 0;
|
|
249
|
-
padding-inline-start: var(--space-panel-nav-left-kmy0f5, 32px);
|
|
250
|
-
padding-inline-end: var(--space-panel-side-right-b77xx0, 32px);
|
|
261
|
+
padding-inline-start: calc(var(--space-panel-nav-left-kmy0f5, 32px) - var(--space-xs-kw7k3v, 8px));
|
|
262
|
+
padding-inline-end: calc(var(--space-panel-side-right-b77xx0, 32px) - var(--space-xs-kw7k3v, 8px));
|
|
251
263
|
}
|
|
252
|
-
.awsui_list-variant-root--
|
|
264
|
+
.awsui_list-variant-root--first_l0dv0_ckbh1_264:not(#\9) {
|
|
253
265
|
margin-block-start: 0;
|
|
254
266
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
padding-inline-
|
|
267
|
+
.awsui_list-variant-root--collapsed_l0dv0_ckbh1_267:not(#\9) {
|
|
268
|
+
padding-inline-start: 0;
|
|
269
|
+
padding-inline-end: 0;
|
|
258
270
|
}
|
|
259
271
|
|
|
260
|
-
.awsui_list-
|
|
261
|
-
|
|
262
|
-
margin-inline: 0;
|
|
263
|
-
padding-block: 0;
|
|
264
|
-
padding-inline: 0;
|
|
265
|
-
list-style: none;
|
|
272
|
+
.awsui_list-variant-expandable-link-group_l0dv0_ckbh1_272:not(#\9) {
|
|
273
|
+
padding-inline-start: calc(calc(var(--size-icon-normal-2f5zkr, 16px) + var(--space-xs-kw7k3v, 8px) - var(--space-xs-kw7k3v, 8px)) + var(--space-l-3cws6j, 20px));
|
|
266
274
|
}
|
|
267
|
-
|
|
268
|
-
|
|
275
|
+
|
|
276
|
+
.awsui_list-variant-section_l0dv0_ckbh1_276:not(#\9) {
|
|
277
|
+
padding-inline-start: calc(var(--space-l-3cws6j, 20px) - var(--space-xs-kw7k3v, 8px));
|
|
269
278
|
}
|
|
270
279
|
|
|
271
|
-
.
|
|
272
|
-
|
|
273
|
-
margin-inline-start: calc(-1 * var(--space-l-3cws6j, 20px));
|
|
280
|
+
.awsui_list-variant-link-group_l0dv0_ckbh1_280:not(#\9) {
|
|
281
|
+
padding-inline-start: calc(var(--size-icon-normal-2f5zkr, 16px) + var(--space-xs-kw7k3v, 8px) - var(--space-xs-kw7k3v, 8px));
|
|
274
282
|
}
|
|
275
|
-
|
|
276
|
-
.
|
|
277
|
-
margin-
|
|
283
|
+
|
|
284
|
+
.awsui_list-variant-section-group_l0dv0_ckbh1_284:not(#\9) {
|
|
285
|
+
margin-block: calc(var(--space-scaled-xs-sppte9, 8px) - calc((var(--size-side-navigation-item-height-nnzau5, 28px) - var(--line-height-body-m-bedeoh, 22px)) / 2));
|
|
286
|
+
margin-inline: calc(-1 * var(--space-xs-kw7k3v, 8px));
|
|
287
|
+
padding-block: 0;
|
|
288
|
+
padding-inline: 0;
|
|
278
289
|
}
|
|
279
290
|
|
|
280
|
-
.
|
|
281
|
-
margin-
|
|
282
|
-
|
|
291
|
+
.awsui_list-item_l0dv0_ckbh1_291:not(#\9) {
|
|
292
|
+
margin-inline: 0;
|
|
293
|
+
margin-block: var(--space-side-navigation-item-gap-3y4bd2, 0px);
|
|
294
|
+
padding-block: 0;
|
|
295
|
+
padding-inline: var(--space-xs-kw7k3v, 8px);
|
|
296
|
+
list-style: none;
|
|
297
|
+
transition: margin var(--motion-duration-expressive-7myv8y, 180ms) var(--motion-easing-responsive-dxkfpl, ease-out);
|
|
298
|
+
}
|
|
299
|
+
@media (prefers-reduced-motion: reduce) {
|
|
300
|
+
.awsui_list-item_l0dv0_ckbh1_291:not(#\9) {
|
|
301
|
+
animation: none;
|
|
302
|
+
transition: none;
|
|
303
|
+
}
|
|
283
304
|
}
|
|
284
|
-
.
|
|
285
|
-
|
|
305
|
+
.awsui-motion-disabled .awsui_list-item_l0dv0_ckbh1_291:not(#\9), .awsui-mode-entering .awsui_list-item_l0dv0_ckbh1_291:not(#\9) {
|
|
306
|
+
animation: none;
|
|
307
|
+
transition: none;
|
|
286
308
|
}
|
|
287
|
-
.awsui_list-variant-root--
|
|
309
|
+
.awsui_list-variant-root--first_l0dv0_ckbh1_264 > .awsui_list-item_l0dv0_ckbh1_291:not(#\9):first-child {
|
|
288
310
|
margin-block-start: 0px;
|
|
289
311
|
}
|
|
290
|
-
.
|
|
312
|
+
.awsui_list-item--collapsed_l0dv0_ckbh1_312:not(#\9) {
|
|
313
|
+
margin-block: var(--space-side-navigation-item-collapsed-gap-bmqsk4, 8px);
|
|
314
|
+
display: flex;
|
|
315
|
+
justify-content: center;
|
|
291
316
|
padding-block: 0;
|
|
292
317
|
padding-inline: 0;
|
|
318
|
+
transition: margin var(--motion-duration-expressive-7myv8y, 180ms) var(--motion-easing-responsive-dxkfpl, ease-out);
|
|
319
|
+
}
|
|
320
|
+
@media (prefers-reduced-motion: reduce) {
|
|
321
|
+
.awsui_list-item--collapsed_l0dv0_ckbh1_312:not(#\9) {
|
|
322
|
+
animation: none;
|
|
323
|
+
transition: none;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
.awsui-motion-disabled .awsui_list-item--collapsed_l0dv0_ckbh1_312:not(#\9), .awsui-mode-entering .awsui_list-item--collapsed_l0dv0_ckbh1_312:not(#\9) {
|
|
327
|
+
animation: none;
|
|
328
|
+
transition: none;
|
|
329
|
+
}
|
|
330
|
+
.awsui_list-item--group_l0dv0_ckbh1_330:not(#\9) {
|
|
331
|
+
padding-inline: 0;
|
|
332
|
+
padding-block: var(--space-scaled-s-gjhvjd, 12px);
|
|
333
|
+
list-style: none;
|
|
334
|
+
}
|
|
335
|
+
.awsui_list-item--group-no-padding-start_l0dv0_ckbh1_335:not(#\9) {
|
|
336
|
+
padding-block-start: 0;
|
|
337
|
+
}
|
|
338
|
+
.awsui_list-item--group-no-padding-end_l0dv0_ckbh1_338:not(#\9) {
|
|
339
|
+
padding-block-end: 0;
|
|
340
|
+
}
|
|
341
|
+
.awsui_list-item--info_l0dv0_ckbh1_341:not(#\9) {
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: baseline;
|
|
293
344
|
}
|
|
294
345
|
|
|
295
|
-
.awsui_list-
|
|
346
|
+
.awsui_list-item--info_l0dv0_ckbh1_341 > .awsui_list_l0dv0_ckbh1_236:not(#\9) {
|
|
347
|
+
inline-size: 100%;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.awsui_list--collapsed-group_l0dv0_ckbh1_350:not(#\9) {
|
|
296
351
|
margin-block: 0;
|
|
297
352
|
margin-inline: 0;
|
|
298
353
|
padding-block: 0;
|
|
299
354
|
padding-inline: 0;
|
|
355
|
+
list-style: none;
|
|
300
356
|
}
|
|
301
357
|
|
|
302
|
-
.
|
|
358
|
+
.awsui_section_l0dv0_ckbh1_358:not(#\9),
|
|
359
|
+
.awsui_expandable-link-group_l0dv0_ckbh1_359:not(#\9) {
|
|
360
|
+
margin-inline-start: calc(-1 * var(--space-l-3cws6j, 20px));
|
|
361
|
+
/* stylelint-disable-next-line selector-max-type */
|
|
362
|
+
/* stylelint-disable-next-line selector-max-type */
|
|
363
|
+
}
|
|
364
|
+
.awsui_section_l0dv0_ckbh1_358 > div:not(#\9),
|
|
365
|
+
.awsui_expandable-link-group_l0dv0_ckbh1_359 > div:not(#\9) {
|
|
366
|
+
padding-block: 0;
|
|
367
|
+
padding-inline: 0;
|
|
368
|
+
}
|
|
369
|
+
.awsui_section_l0dv0_ckbh1_358 > div:not(#\9):first-child > :first-child,
|
|
370
|
+
.awsui_expandable-link-group_l0dv0_ckbh1_359 > div:not(#\9):first-child > :first-child {
|
|
371
|
+
display: grid;
|
|
372
|
+
align-items: flex-start;
|
|
373
|
+
padding-block: calc((var(--size-side-navigation-item-height-nnzau5, 28px) - var(--line-height-body-m-bedeoh, 22px)) / 2);
|
|
374
|
+
}
|
|
375
|
+
.awsui_section--no-ident_l0dv0_ckbh1_375:not(#\9),
|
|
376
|
+
.awsui_expandable-link-group--no-ident_l0dv0_ckbh1_376:not(#\9) {
|
|
377
|
+
margin-inline-start: 0;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.awsui_expandable-link-group_l0dv0_ckbh1_359 > div:not(#\9):first-child {
|
|
381
|
+
border-start-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
382
|
+
border-start-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
383
|
+
border-end-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
384
|
+
border-end-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
385
|
+
display: flex;
|
|
386
|
+
padding-inline: var(--space-xs-kw7k3v, 8px);
|
|
387
|
+
margin-inline: calc(-1 * var(--space-xs-kw7k3v, 8px));
|
|
388
|
+
box-sizing: content-box;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.awsui_expandable-link-group--active_l0dv0_ckbh1_391 > div:not(#\9):first-child {
|
|
392
|
+
background-color: var(--color-background-side-navigation-item-active-jencj9, transparent);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.awsui_section_l0dv0_ckbh1_358:not(#\9) {
|
|
396
|
+
margin-block: calc(var(--space-scaled-2x-l-hgjmqp, 20px) - var(--border-divider-section-width-sznrdy, 1px));
|
|
397
|
+
}
|
|
398
|
+
.awsui_section_l0dv0_ckbh1_358.awsui_refresh_l0dv0_ckbh1_398:not(#\9) {
|
|
399
|
+
margin-block: calc(var(--space-scaled-xs-sppte9, 8px) - var(--border-divider-section-width-sznrdy, 1px));
|
|
400
|
+
}
|
|
401
|
+
.awsui_list-variant-root--first_l0dv0_ckbh1_264 > .awsui_list-item_l0dv0_ckbh1_291:not(#\9):first-child > .awsui_section_l0dv0_ckbh1_358 {
|
|
402
|
+
margin-block-start: 0px;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.awsui_section-group_l0dv0_ckbh1_405:not(#\9) {
|
|
303
406
|
font-family: var(--font-family-heading-gnchto, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
304
407
|
font-size: var(--font-size-heading-m-56jjln, 18px);
|
|
305
408
|
line-height: var(--line-height-heading-m-irezqt, 22px);
|
|
@@ -307,47 +410,79 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
307
410
|
font-weight: var(--font-weight-heading-m-1efgny, 400);
|
|
308
411
|
-webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
|
|
309
412
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
|
|
310
|
-
margin-block:
|
|
413
|
+
margin-block: calc(var(--space-scaled-xs-sppte9, 8px) - var(--border-divider-section-width-sznrdy, 1px));
|
|
311
414
|
margin-inline: 0;
|
|
312
415
|
}
|
|
416
|
+
.awsui_list-variant-root--first_l0dv0_ckbh1_264 > .awsui_list-item_l0dv0_ckbh1_291:not(#\9):first-child > .awsui_section-group_l0dv0_ckbh1_405 {
|
|
417
|
+
margin-block-start: 0px;
|
|
418
|
+
}
|
|
313
419
|
|
|
314
|
-
.awsui_section-group-
|
|
315
|
-
|
|
420
|
+
.awsui_section-group-title_l0dv0_ckbh1_420:not(#\9) {
|
|
421
|
+
display: flex;
|
|
422
|
+
align-items: center;
|
|
423
|
+
margin-block: 0;
|
|
316
424
|
}
|
|
317
425
|
|
|
318
|
-
.
|
|
426
|
+
.awsui_link_l0dv0_ckbh1_426:not(#\9) {
|
|
319
427
|
font-size: var(--font-size-body-m-vv54cm, 14px);
|
|
320
428
|
line-height: var(--line-height-body-m-bedeoh, 22px);
|
|
321
429
|
color: var(--color-text-body-secondary-gaft81, #545b64);
|
|
430
|
+
display: inline-flex;
|
|
431
|
+
padding-block: calc((var(--size-side-navigation-item-height-nnzau5, 28px) - var(--line-height-body-m-bedeoh, 22px)) / 2);
|
|
432
|
+
min-inline-size: var(--size-side-navigation-item-height-nnzau5, 28px);
|
|
433
|
+
padding-inline: var(--space-xs-kw7k3v, 8px);
|
|
434
|
+
margin-inline: calc(-1 * var(--space-xs-kw7k3v, 8px));
|
|
435
|
+
align-items: flex-start;
|
|
436
|
+
border-start-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
437
|
+
border-start-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
438
|
+
border-end-start-radius: var(--border-radius-item-xggxkd, 0px);
|
|
439
|
+
border-end-end-radius: var(--border-radius-item-xggxkd, 0px);
|
|
322
440
|
font-weight: var(--font-weight-normal-7w835s, 400);
|
|
323
441
|
-webkit-font-smoothing: auto;
|
|
324
442
|
-moz-osx-font-smoothing: auto;
|
|
443
|
+
transition: background-color var(--motion-duration-expressive-7myv8y, 180ms) var(--motion-easing-responsive-dxkfpl, ease-out), color var(--motion-duration-expressive-7myv8y, 180ms) var(--motion-easing-expressive-k2nlma, ease-out);
|
|
325
444
|
}
|
|
326
|
-
|
|
327
|
-
.
|
|
445
|
+
@media (prefers-reduced-motion: reduce) {
|
|
446
|
+
.awsui_link_l0dv0_ckbh1_426:not(#\9) {
|
|
447
|
+
animation: none;
|
|
448
|
+
transition: none;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
.awsui-motion-disabled .awsui_link_l0dv0_ckbh1_426:not(#\9), .awsui-mode-entering .awsui_link_l0dv0_ckbh1_426:not(#\9) {
|
|
452
|
+
animation: none;
|
|
453
|
+
transition: none;
|
|
454
|
+
}
|
|
455
|
+
.awsui_link-active_l0dv0_ckbh1_455:not(#\9) {
|
|
328
456
|
font-weight: var(--font-wayfinding-link-active-weight-lhxtkr, 700);
|
|
329
457
|
-webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
|
|
330
458
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
|
|
331
|
-
color: var(--color-text-
|
|
459
|
+
color: var(--color-text-side-navigation-item-active-7en75b, #0073bb);
|
|
460
|
+
background-color: var(--color-background-side-navigation-item-active-jencj9, transparent);
|
|
461
|
+
}
|
|
462
|
+
.awsui_link--collapsed_l0dv0_ckbh1_462:not(#\9) {
|
|
463
|
+
padding-inline: 0;
|
|
464
|
+
margin-inline: 0;
|
|
465
|
+
justify-content: center;
|
|
466
|
+
align-items: center;
|
|
332
467
|
}
|
|
333
468
|
|
|
334
|
-
.awsui_header-
|
|
335
|
-
.
|
|
469
|
+
.awsui_header-link_l0dv0_ckbh1_204:not(#\9),
|
|
470
|
+
.awsui_link_l0dv0_ckbh1_426:not(#\9) {
|
|
336
471
|
text-decoration: none;
|
|
337
472
|
}
|
|
338
|
-
.awsui_header-
|
|
339
|
-
.
|
|
340
|
-
color: var(--color-text-
|
|
473
|
+
.awsui_header-link_l0dv0_ckbh1_204:not(#\9):hover,
|
|
474
|
+
.awsui_link_l0dv0_ckbh1_426:not(#\9):hover {
|
|
475
|
+
color: var(--color-text-side-navigation-item-active-7en75b, #0073bb);
|
|
341
476
|
}
|
|
342
|
-
.awsui_header-
|
|
343
|
-
.
|
|
477
|
+
.awsui_header-link_l0dv0_ckbh1_204:not(#\9):focus,
|
|
478
|
+
.awsui_link_l0dv0_ckbh1_426:not(#\9):focus {
|
|
344
479
|
outline: none;
|
|
345
480
|
}
|
|
346
|
-
.awsui_header-
|
|
481
|
+
.awsui_header-link_l0dv0_ckbh1_204:not(#\9):hover, .awsui_header-link_l0dv0_ckbh1_204:not(#\9):focus, .awsui_link_l0dv0_ckbh1_426:not(#\9):hover, .awsui_link_l0dv0_ckbh1_426:not(#\9):focus {
|
|
347
482
|
text-decoration: none;
|
|
348
483
|
}
|
|
349
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
350
|
-
body[data-awsui-focus-visible=true] .
|
|
484
|
+
body[data-awsui-focus-visible=true] .awsui_header-link_l0dv0_ckbh1_204:not(#\9):focus,
|
|
485
|
+
body[data-awsui-focus-visible=true] .awsui_link_l0dv0_ckbh1_426:not(#\9):focus {
|
|
351
486
|
outline: thin dotted;
|
|
352
487
|
outline: var(--border-link-focus-ring-outline-c5423y, 5px auto Highlight);
|
|
353
488
|
outline-offset: 2px;
|
|
@@ -359,29 +494,43 @@ body[data-awsui-focus-visible=true] .awsui_link_l0dv0_qk0wr_318:not(#\9):focus {
|
|
|
359
494
|
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-woh62o, 0px) var(--color-border-item-focused-r5f6xl, #0073bb);
|
|
360
495
|
}
|
|
361
496
|
|
|
362
|
-
.
|
|
363
|
-
|
|
497
|
+
.awsui_link-text-wrapper_l0dv0_ckbh1_499:not(#\9) {
|
|
498
|
+
min-inline-size: 0;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.awsui_info_l0dv0_ckbh1_503:not(#\9) {
|
|
502
|
+
margin-inline-start: var(--space-s-4a5hs8, 12px);
|
|
503
|
+
flex-shrink: 0;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.awsui_item-icon_l0dv0_ckbh1_508:not(#\9) {
|
|
507
|
+
display: inline-flex;
|
|
508
|
+
flex-shrink: 0;
|
|
509
|
+
}
|
|
510
|
+
.awsui_item-icon_l0dv0_ckbh1_508:not(#\9):not(.awsui_item-icon--collapsed_l0dv0_ckbh1_512) {
|
|
511
|
+
margin-inline-end: var(--space-xs-kw7k3v, 8px);
|
|
364
512
|
}
|
|
365
513
|
|
|
366
|
-
.awsui_external-
|
|
514
|
+
.awsui_external-icon_l0dv0_ckbh1_516:not(#\9) {
|
|
367
515
|
margin-inline-start: var(--space-xxs-jnczic, 4px);
|
|
368
516
|
}
|
|
369
517
|
|
|
370
|
-
.
|
|
518
|
+
.awsui_divider_l0dv0_ckbh1_244:not(#\9) {
|
|
371
519
|
border-block: none;
|
|
372
520
|
border-inline: none;
|
|
373
521
|
}
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
margin-block: var(--space-scaled-2x-xl-vvl7tm, 24px);
|
|
377
|
-
margin-inline: calc(-1 * var(--space-panel-divider-margin-horizontal-6msb21, 12px));
|
|
522
|
+
.awsui_divider-default_l0dv0_ckbh1_524:not(#\9) {
|
|
523
|
+
margin-block: calc(var(--space-scaled-2x-xl-vvl7tm, 24px) - calc((var(--size-side-navigation-item-height-nnzau5, 28px) - var(--line-height-body-m-bedeoh, 22px)) / 2));
|
|
378
524
|
border-block-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-divider-default-ipvpev, #eaeded);
|
|
379
525
|
}
|
|
380
|
-
|
|
381
|
-
|
|
526
|
+
.awsui_divider-default_l0dv0_ckbh1_524.awsui_divider--collapsed_l0dv0_ckbh1_528:not(#\9) {
|
|
527
|
+
margin-block: var(--space-scaled-2x-m-gw45gq, 16px);
|
|
528
|
+
margin-inline: var(--space-xs-kw7k3v, 8px);
|
|
529
|
+
}
|
|
530
|
+
.awsui_divider-header_l0dv0_ckbh1_244:not(#\9) {
|
|
382
531
|
margin-block: 0;
|
|
383
532
|
border-block-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-panel-header-iffljr, #eaeded);
|
|
384
533
|
}
|
|
385
|
-
.awsui_with-
|
|
534
|
+
.awsui_with-toolbar_l0dv0_ckbh1_180 > .awsui_divider-header_l0dv0_ckbh1_244:not(#\9) {
|
|
386
535
|
border-color: transparent;
|
|
387
536
|
}
|
|
@@ -2,35 +2,51 @@
|
|
|
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
|
-
"
|
|
7
|
-
"header
|
|
8
|
-
"header
|
|
9
|
-
"header-link
|
|
10
|
-
"header-logo": "awsui_header-
|
|
11
|
-
"header-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"list
|
|
18
|
-
"list-variant-root
|
|
19
|
-
"list-variant-
|
|
20
|
-
"list-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"list-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
5
|
+
"root": "awsui_root_l0dv0_ckbh1_146",
|
|
6
|
+
"with-toolbar": "awsui_with-toolbar_l0dv0_ckbh1_180",
|
|
7
|
+
"header": "awsui_header_l0dv0_ckbh1_184",
|
|
8
|
+
"header--collapsed": "awsui_header--collapsed_l0dv0_ckbh1_197",
|
|
9
|
+
"header-link": "awsui_header-link_l0dv0_ckbh1_204",
|
|
10
|
+
"header-link--has-logo": "awsui_header-link--has-logo_l0dv0_ckbh1_215",
|
|
11
|
+
"header-link-text": "awsui_header-link-text_l0dv0_ckbh1_215",
|
|
12
|
+
"header-logo": "awsui_header-logo_l0dv0_ckbh1_220",
|
|
13
|
+
"header-logo--stretched": "awsui_header-logo--stretched_l0dv0_ckbh1_226",
|
|
14
|
+
"items-control": "awsui_items-control_l0dv0_ckbh1_231",
|
|
15
|
+
"list-container": "awsui_list-container_l0dv0_ckbh1_236",
|
|
16
|
+
"divider-header": "awsui_divider-header_l0dv0_ckbh1_244",
|
|
17
|
+
"list": "awsui_list_l0dv0_ckbh1_236",
|
|
18
|
+
"list-variant-root": "awsui_list-variant-root_l0dv0_ckbh1_257",
|
|
19
|
+
"list-variant-root--first": "awsui_list-variant-root--first_l0dv0_ckbh1_264",
|
|
20
|
+
"list-variant-root--collapsed": "awsui_list-variant-root--collapsed_l0dv0_ckbh1_267",
|
|
21
|
+
"list-variant-expandable-link-group": "awsui_list-variant-expandable-link-group_l0dv0_ckbh1_272",
|
|
22
|
+
"list-variant-section": "awsui_list-variant-section_l0dv0_ckbh1_276",
|
|
23
|
+
"list-variant-link-group": "awsui_list-variant-link-group_l0dv0_ckbh1_280",
|
|
24
|
+
"list-variant-section-group": "awsui_list-variant-section-group_l0dv0_ckbh1_284",
|
|
25
|
+
"list-item": "awsui_list-item_l0dv0_ckbh1_291",
|
|
26
|
+
"list-item--collapsed": "awsui_list-item--collapsed_l0dv0_ckbh1_312",
|
|
27
|
+
"list-item--group": "awsui_list-item--group_l0dv0_ckbh1_330",
|
|
28
|
+
"list-item--group-no-padding-start": "awsui_list-item--group-no-padding-start_l0dv0_ckbh1_335",
|
|
29
|
+
"list-item--group-no-padding-end": "awsui_list-item--group-no-padding-end_l0dv0_ckbh1_338",
|
|
30
|
+
"list-item--info": "awsui_list-item--info_l0dv0_ckbh1_341",
|
|
31
|
+
"list--collapsed-group": "awsui_list--collapsed-group_l0dv0_ckbh1_350",
|
|
32
|
+
"section": "awsui_section_l0dv0_ckbh1_358",
|
|
33
|
+
"expandable-link-group": "awsui_expandable-link-group_l0dv0_ckbh1_359",
|
|
34
|
+
"section--no-ident": "awsui_section--no-ident_l0dv0_ckbh1_375",
|
|
35
|
+
"expandable-link-group--no-ident": "awsui_expandable-link-group--no-ident_l0dv0_ckbh1_376",
|
|
36
|
+
"expandable-link-group--active": "awsui_expandable-link-group--active_l0dv0_ckbh1_391",
|
|
37
|
+
"refresh": "awsui_refresh_l0dv0_ckbh1_398",
|
|
38
|
+
"section-group": "awsui_section-group_l0dv0_ckbh1_405",
|
|
39
|
+
"section-group-title": "awsui_section-group-title_l0dv0_ckbh1_420",
|
|
40
|
+
"link": "awsui_link_l0dv0_ckbh1_426",
|
|
41
|
+
"link-active": "awsui_link-active_l0dv0_ckbh1_455",
|
|
42
|
+
"link--collapsed": "awsui_link--collapsed_l0dv0_ckbh1_462",
|
|
43
|
+
"link-text-wrapper": "awsui_link-text-wrapper_l0dv0_ckbh1_499",
|
|
44
|
+
"info": "awsui_info_l0dv0_ckbh1_503",
|
|
45
|
+
"item-icon": "awsui_item-icon_l0dv0_ckbh1_508",
|
|
46
|
+
"item-icon--collapsed": "awsui_item-icon--collapsed_l0dv0_ckbh1_512",
|
|
47
|
+
"external-icon": "awsui_external-icon_l0dv0_ckbh1_516",
|
|
48
|
+
"divider": "awsui_divider_l0dv0_ckbh1_244",
|
|
49
|
+
"divider-default": "awsui_divider-default_l0dv0_ckbh1_524",
|
|
50
|
+
"divider--collapsed": "awsui_divider--collapsed_l0dv0_ckbh1_528"
|
|
35
51
|
};
|
|
36
52
|
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
.
|
|
5
|
+
.awsui_info_1fhsi_16fog_5:not(#\9) {
|
|
6
|
+
/* used in test-utils */
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.awsui_item-icon_1fhsi_16fog_9:not(#\9) {
|
|
6
10
|
/* used in test-utils */
|
|
7
11
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"info": "
|
|
5
|
+
"info": "awsui_info_1fhsi_16fog_5",
|
|
6
|
+
"item-icon": "awsui_item-icon_1fhsi_16fog_9"
|
|
6
7
|
};
|
|
7
8
|
|
|
@@ -4,7 +4,8 @@ import ButtonDropdownWrapper from '../button-dropdown';
|
|
|
4
4
|
import LinkWrapper from '../link';
|
|
5
5
|
export default class TopNavigationWrapper extends ComponentWrapper {
|
|
6
6
|
static rootSelector: string;
|
|
7
|
-
|
|
7
|
+
findContent(): ElementWrapper | null;
|
|
8
|
+
findIdentityLink(): ElementWrapper | null;
|
|
8
9
|
findLogo(): ElementWrapper | null;
|
|
9
10
|
findTitle(): ElementWrapper | null;
|
|
10
11
|
findSearch(): ElementWrapper | null;
|
|
@@ -10,7 +10,11 @@ const link_1 = require("../link");
|
|
|
10
10
|
const styles_selectors_js_1 = require("../../../button-dropdown/styles.selectors.js");
|
|
11
11
|
const styles_selectors_js_2 = require("../../../internal/components/menu-dropdown/styles.selectors.js");
|
|
12
12
|
const styles_selectors_js_3 = require("../../../top-navigation/styles.selectors.js");
|
|
13
|
+
const styles_selectors_js_4 = require("../../../top-navigation/test-classes/styles.selectors.js");
|
|
13
14
|
class TopNavigationWrapper extends dom_1.ComponentWrapper {
|
|
15
|
+
findContent() {
|
|
16
|
+
return this.find(`.${styles_selectors_js_4.default['custom-content']}`);
|
|
17
|
+
}
|
|
14
18
|
findIdentityLink() {
|
|
15
19
|
return this.find(`.${styles_selectors_js_3.default.identity} a`);
|
|
16
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/top-navigation/index.ts"],"names":[],"mappings":";;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAAyG;AAEzG,sCAAsC;AACtC,wDAAuD;AACvD,kCAAkC;AAElC,sFAAgF;AAChF,wGAAgG;AAChG,qFAAiE;
|
|
1
|
+
{"version":3,"file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O,IAAI,CAAC,aAAa,CAAC,IAAI,gBAAa,CAAC,YAAY,EAAE,EAAE,gBAAa,CAAC,CAAC;IAC7E,CAAC;IAED,oBAAoB;QAClB,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,yBAAqB,CAAC,YAAY,EAAE,EAAE,gCAAgC,CAAC,CAAC;IACxG,CAAC;CACF;AAZD,kEAYC;AAED,MAAa,gCAAiC,SAAQ,yBAAqB;IACzE,gBAAgB;QACd,OAAO,IAAI,CAAC,IAAI,CAAoB,IAAI,6BAAkB,CAAC,MAAM,EAAE,CAAE,CAAC;IACxE,CAAC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAoB,CAAC,KAAK,CAAC,CAAC;IAC1D,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAoB,CAAC,WAAW,CAAC,CAAC;IAChE,CAAC;CACF;AAZD,4EAYC"}
|
|
@@ -4,6 +4,7 @@ import ButtonDropdownWrapper from '../button-dropdown';
|
|
|
4
4
|
import LinkWrapper from '../link';
|
|
5
5
|
export default class TopNavigationWrapper extends ComponentWrapper {
|
|
6
6
|
static rootSelector: string;
|
|
7
|
+
findContent(): ElementWrapper;
|
|
7
8
|
findIdentityLink(): ElementWrapper;
|
|
8
9
|
findLogo(): ElementWrapper;
|
|
9
10
|
findTitle(): ElementWrapper;
|
|
@@ -10,7 +10,11 @@ const link_1 = require("../link");
|
|
|
10
10
|
const styles_selectors_js_1 = require("../../../button-dropdown/styles.selectors.js");
|
|
11
11
|
const styles_selectors_js_2 = require("../../../internal/components/menu-dropdown/styles.selectors.js");
|
|
12
12
|
const styles_selectors_js_3 = require("../../../top-navigation/styles.selectors.js");
|
|
13
|
+
const styles_selectors_js_4 = require("../../../top-navigation/test-classes/styles.selectors.js");
|
|
13
14
|
class TopNavigationWrapper extends selectors_1.ComponentWrapper {
|
|
15
|
+
findContent() {
|
|
16
|
+
return this.find(`.${styles_selectors_js_4.default['custom-content']}`);
|
|
17
|
+
}
|
|
14
18
|
findIdentityLink() {
|
|
15
19
|
return this.find(`.${styles_selectors_js_3.default.identity} a`);
|
|
16
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/top-navigation/index.ts"],"names":[],"mappings":";;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAA+G;AAC/G,sCAAsC;AACtC,wDAAuD;AACvD,kCAAkC;AAClC,sFAAgF;AAChF,wGAAgG;AAChG,qFAAiE;AACjE,MAAqB,oBAAqB,SAAQ,4BAAgB;IAEhE,gBAAgB;QACd,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC,QAAQ,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/top-navigation/index.ts"],"names":[],"mappings":";;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAA+G;AAC/G,sCAAsC;AACtC,wDAAuD;AACvD,kCAAkC;AAClC,sFAAgF;AAChF,wGAAgG;AAChG,qFAAiE;AACjE,kGAAsF;AACtF,MAAqB,oBAAqB,SAAQ,4BAAgB;IAEhE,WAAW;QACT,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAc,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC3D,CAAC;IACD,gBAAgB;QACd,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC,QAAQ,IAAI,CAAC,CAAC;IAC5C,CAAC;IACD,QAAQ;QACN,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC,IAAI,EAAE,CAAC,CAAC;IACtC,CAAC;IACD,SAAS;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC,KAAK,EAAE,CAAC,CAAC;IACvC,CAAC;IACD,UAAU;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,6BAAM,CAAC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