@cloudscape-design/components-themeable 3.0.267 → 3.0.269
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/table/body-cell/styles.scss +162 -0
- package/lib/internal/template/attribute-editor/row.d.ts.map +1 -1
- package/lib/internal/template/attribute-editor/row.js +3 -1
- package/lib/internal/template/attribute-editor/row.js.map +1 -1
- package/lib/internal/template/cards/styles.css.js +37 -37
- package/lib/internal/template/cards/styles.scoped.css +52 -52
- package/lib/internal/template/cards/styles.selectors.js +37 -37
- package/lib/internal/template/code-editor/index.d.ts.map +1 -1
- package/lib/internal/template/code-editor/index.js +1 -14
- package/lib/internal/template/code-editor/index.js.map +1 -1
- package/lib/internal/template/code-editor/pane.d.ts +1 -2
- package/lib/internal/template/code-editor/pane.d.ts.map +1 -1
- package/lib/internal/template/code-editor/pane.js +8 -3
- package/lib/internal/template/code-editor/pane.js.map +1 -1
- package/lib/internal/template/code-editor/status-bar.d.ts +3 -3
- package/lib/internal/template/code-editor/status-bar.d.ts.map +1 -1
- package/lib/internal/template/code-editor/status-bar.js +5 -3
- package/lib/internal/template/code-editor/status-bar.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +9 -7
- package/lib/internal/template/internal/components/button-trigger/styles.css.js +9 -9
- package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +24 -24
- package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +9 -9
- package/lib/internal/template/internal/components/filtering-token/styles.css.js +7 -7
- package/lib/internal/template/internal/components/filtering-token/styles.scoped.css +15 -15
- package/lib/internal/template/internal/components/filtering-token/styles.selectors.js +7 -7
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/modal/internal.d.ts +1 -1
- package/lib/internal/template/modal/internal.d.ts.map +1 -1
- package/lib/internal/template/modal/internal.js +24 -15
- package/lib/internal/template/modal/internal.js.map +1 -1
- package/lib/internal/template/table/body-cell/index.d.ts +2 -1
- package/lib/internal/template/table/body-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/body-cell/index.js +9 -4
- package/lib/internal/template/table/body-cell/index.js.map +1 -1
- package/lib/internal/template/table/body-cell/inline-editor.d.ts +1 -1
- package/lib/internal/template/table/body-cell/inline-editor.d.ts.map +1 -1
- package/lib/internal/template/table/body-cell/inline-editor.js +5 -3
- package/lib/internal/template/table/body-cell/inline-editor.js.map +1 -1
- package/lib/internal/template/table/body-cell/styles.css.js +40 -18
- package/lib/internal/template/table/body-cell/styles.scoped.css +226 -56
- package/lib/internal/template/table/body-cell/styles.selectors.js +40 -18
- package/lib/internal/template/table/header-cell/index.js +1 -1
- package/lib/internal/template/table/header-cell/index.js.map +1 -1
- package/lib/internal/template/table/interfaces.d.ts +6 -0
- package/lib/internal/template/table/interfaces.d.ts.map +1 -1
- package/lib/internal/template/table/interfaces.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +20 -18
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/table/selection-control/index.d.ts +2 -8
- package/lib/internal/template/table/selection-control/index.d.ts.map +1 -1
- package/lib/internal/template/table/selection-control/index.js.map +1 -1
- package/lib/internal/template/table/table-wrapper.d.ts +13 -0
- package/lib/internal/template/table/table-wrapper.d.ts.map +1 -0
- package/lib/internal/template/table/table-wrapper.js +15 -0
- package/lib/internal/template/table/table-wrapper.js.map +1 -0
- package/lib/internal/template/table/thead.d.ts +2 -2
- package/lib/internal/template/table/thead.d.ts.map +1 -1
- package/lib/internal/template/table/thead.js +3 -3
- package/lib/internal/template/table/thead.js.map +1 -1
- package/lib/internal/template/table/use-column-widths.js +1 -1
- package/lib/internal/template/table/use-column-widths.js.map +1 -1
- package/lib/internal/template/table/use-selection.d.ts +12 -18
- package/lib/internal/template/table/use-selection.d.ts.map +1 -1
- package/lib/internal/template/table/use-selection.js +20 -12
- package/lib/internal/template/table/use-selection.js.map +1 -1
- package/lib/internal/template/table/use-table-focus-navigation.d.ts.map +1 -1
- package/lib/internal/template/table/use-table-focus-navigation.js +9 -34
- package/lib/internal/template/table/use-table-focus-navigation.js.map +1 -1
- package/lib/internal/template/test-utils/dom/table/index.d.ts +3 -0
- package/lib/internal/template/test-utils/dom/table/index.js +16 -15
- package/lib/internal/template/test-utils/dom/table/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/table/index.d.ts +3 -0
- package/lib/internal/template/test-utils/selectors/table/index.js +16 -15
- package/lib/internal/template/test-utils/selectors/table/index.js.map +1 -1
- package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
- package/lib/internal/template/tiles/styles.css.js +28 -28
- package/lib/internal/template/tiles/styles.scoped.css +69 -69
- package/lib/internal/template/tiles/styles.selectors.js +28 -28
- package/lib/internal/template/token-group/styles.css.js +7 -7
- package/lib/internal/template/token-group/styles.scoped.css +17 -17
- package/lib/internal/template/token-group/styles.selectors.js +7 -7
- package/package.json +1 -1
- package/lib/internal/scss/table/header-cell/styles.scss +0 -160
- package/lib/internal/template/table/header-cell/styles.css.js +0 -24
- package/lib/internal/template/table/header-cell/styles.scoped.css +0 -252
- package/lib/internal/template/table/header-cell/styles.selectors.js +0 -25
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../../internal/styles' as styles;
|
|
7
7
|
@use '../../internal/styles/tokens' as awsui;
|
|
8
|
+
@use '../../internal/hooks/focus-visible' as focus-visible;
|
|
8
9
|
|
|
9
10
|
$cell-vertical-padding: awsui.$space-scaled-xs;
|
|
10
11
|
// Calculate padding to prevent a shift in content after selection due to the difference
|
|
@@ -134,6 +135,7 @@ $border-placeholder: awsui.$border-item-width solid transparent;
|
|
|
134
135
|
&-selected:not(.body-cell-prev-selected) {
|
|
135
136
|
padding-top: $cell-vertical-padding;
|
|
136
137
|
}
|
|
138
|
+
&-success,
|
|
137
139
|
&-editor {
|
|
138
140
|
top: 0;
|
|
139
141
|
right: 0;
|
|
@@ -201,10 +203,16 @@ $border-placeholder: awsui.$border-item-width solid transparent;
|
|
|
201
203
|
& > .body-cell-editor {
|
|
202
204
|
opacity: 1;
|
|
203
205
|
}
|
|
206
|
+
& > .body-cell-success {
|
|
207
|
+
opacity: 0;
|
|
208
|
+
}
|
|
204
209
|
}
|
|
205
210
|
& > .body-cell-editor {
|
|
206
211
|
opacity: 0;
|
|
207
212
|
}
|
|
213
|
+
&.body-cell-has-success {
|
|
214
|
+
padding-right: calc(#{$cell-horizontal-padding} + #{awsui.$space-l});
|
|
215
|
+
}
|
|
208
216
|
// We don't use our focus-visible polyfill here because it doesn't work properly with screen readers.
|
|
209
217
|
// These edit buttons are special because they are visually hidden (opacity: 0), but exposed to assistive technology.
|
|
210
218
|
// It's therefore important to display the focus outline, even when a keyboard user wasn't detected.
|
|
@@ -261,3 +269,157 @@ $border-placeholder: awsui.$border-item-width solid transparent;
|
|
|
261
269
|
}
|
|
262
270
|
}
|
|
263
271
|
}
|
|
272
|
+
|
|
273
|
+
// Header cell styles
|
|
274
|
+
|
|
275
|
+
.header-cell {
|
|
276
|
+
position: relative;
|
|
277
|
+
text-align: left;
|
|
278
|
+
box-sizing: border-box;
|
|
279
|
+
border-bottom: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
280
|
+
background: awsui.$color-background-table-header;
|
|
281
|
+
color: awsui.$color-text-column-header;
|
|
282
|
+
font-weight: awsui.$font-heading-s-weight;
|
|
283
|
+
@include styles.font-smoothing;
|
|
284
|
+
padding: awsui.$space-scaled-xxs awsui.$space-scaled-xs;
|
|
285
|
+
&-sticky {
|
|
286
|
+
border-bottom: awsui.$border-table-sticky-width solid awsui.$color-border-divider-default;
|
|
287
|
+
}
|
|
288
|
+
&-stuck:not(.header-cell-variant-full-page) {
|
|
289
|
+
border-bottom-color: transparent;
|
|
290
|
+
}
|
|
291
|
+
&-variant-full-page.header-cell-hidden {
|
|
292
|
+
border-bottom-color: transparent;
|
|
293
|
+
}
|
|
294
|
+
&:last-child,
|
|
295
|
+
&.header-cell-sortable {
|
|
296
|
+
padding-right: awsui.$space-xs;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&:not(:last-child):before {
|
|
300
|
+
$gap: calc(2 * #{awsui.$space-xs} + #{awsui.$space-xxxs});
|
|
301
|
+
|
|
302
|
+
content: '';
|
|
303
|
+
position: absolute;
|
|
304
|
+
right: 0;
|
|
305
|
+
bottom: 0;
|
|
306
|
+
top: 0;
|
|
307
|
+
min-height: awsui.$font-heading-xs-line-height;
|
|
308
|
+
max-height: calc(100% - #{$gap});
|
|
309
|
+
margin: auto;
|
|
310
|
+
border-left: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
311
|
+
box-sizing: border-box;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
&-resizable:not(:last-child):before {
|
|
315
|
+
border-left-color: awsui.$color-border-divider-interactive-default;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.sorting-icon {
|
|
320
|
+
position: absolute;
|
|
321
|
+
top: 50%;
|
|
322
|
+
transform: translateY(-50%);
|
|
323
|
+
right: awsui.$space-xxs;
|
|
324
|
+
color: awsui.$color-text-column-sorting-icon;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.edit-icon {
|
|
328
|
+
margin-left: awsui.$space-xxs;
|
|
329
|
+
margin-top: awsui.$space-scaled-xxs;
|
|
330
|
+
color: inherit;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.header-cell-content {
|
|
334
|
+
position: relative;
|
|
335
|
+
|
|
336
|
+
padding: awsui.$space-scaled-xxs awsui.$space-s;
|
|
337
|
+
.header-cell-sortable > & {
|
|
338
|
+
padding-right: calc(#{awsui.$space-xl} + #{awsui.$space-xxs});
|
|
339
|
+
}
|
|
340
|
+
&:focus {
|
|
341
|
+
outline: none;
|
|
342
|
+
text-decoration: none;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
@include focus-visible.when-visible {
|
|
346
|
+
@include styles.focus-highlight(awsui.$space-table-header-focus-outline-gutter);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
// stylelint-disable-next-line selector-combinator-disallowed-list
|
|
350
|
+
body[data-awsui-focus-visible='true'] &.header-cell-fake-focus {
|
|
351
|
+
@include styles.focus-highlight(awsui.$space-table-header-focus-outline-gutter);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.header-cell-disabled.header-cell-sorted > & {
|
|
355
|
+
& > .sorting-icon {
|
|
356
|
+
color: awsui.$color-text-interactive-disabled;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.header-cell-sortable:not(.header-cell-disabled) {
|
|
362
|
+
& > .header-cell-content {
|
|
363
|
+
cursor: pointer;
|
|
364
|
+
}
|
|
365
|
+
& > .header-cell-content:hover,
|
|
366
|
+
&.header-cell-sorted > .header-cell-content {
|
|
367
|
+
color: awsui.$color-text-interactive-active;
|
|
368
|
+
& > .sorting-icon {
|
|
369
|
+
color: awsui.$color-text-interactive-active;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.header-cell-text {
|
|
375
|
+
line-height: awsui.$font-heading-xs-line-height;
|
|
376
|
+
|
|
377
|
+
padding-top: calc(#{awsui.$space-xxxs} / 2);
|
|
378
|
+
padding-bottom: calc(#{awsui.$space-xxxs} / 2);
|
|
379
|
+
|
|
380
|
+
&:not(.header-cell-text-wrap) {
|
|
381
|
+
white-space: nowrap;
|
|
382
|
+
overflow: hidden;
|
|
383
|
+
text-overflow: ellipsis;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.header-cell-ascending,
|
|
388
|
+
.header-cell-descending {
|
|
389
|
+
/* used in test-utils */
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/*
|
|
393
|
+
In Visual Refresh the first cell in the header should align
|
|
394
|
+
with the left edge of the table as closely as possible. If the
|
|
395
|
+
last header cell is sortable the sort icon should align with the
|
|
396
|
+
settings icon in the pagination slot.
|
|
397
|
+
*/
|
|
398
|
+
.header-cell:not(.is-visual-refresh) {
|
|
399
|
+
&:first-child {
|
|
400
|
+
padding-left: awsui.$space-xs;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.header-cell.is-visual-refresh {
|
|
405
|
+
&:first-child:not(.has-striped-rows) {
|
|
406
|
+
padding-left: awsui.$space-xxxs;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/*
|
|
410
|
+
Striped rows requires additional left padding because the
|
|
411
|
+
shaded background makes the child content appear too close
|
|
412
|
+
to the table edge.
|
|
413
|
+
*/
|
|
414
|
+
&:first-child.has-striped-rows {
|
|
415
|
+
padding-left: awsui.$space-xxs;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
&:first-child > .header-cell-content {
|
|
419
|
+
padding-left: 0;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
&:last-child.header-cell-sortable {
|
|
423
|
+
padding-right: awsui.$space-xxxs;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row.d.ts","sourceRoot":"lib/default/","sources":["attribute-editor/row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAA6B,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAA0B,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAQvF,MAAM,WAAW,QAAQ,CAAC,CAAC;IACzB,UAAU,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC;IACR,UAAU,EAAE,aAAa,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC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@ -23,6 +23,7 @@ export const Row = React.memo(({ breakpoint, item, definition, i18nStrings = {},
|
|
|
23
23
|
fireNonCancelableEvent(onRemoveButtonClick, { itemIndex: index });
|
|
24
24
|
}, [onRemoveButtonClick, index]);
|
|
25
25
|
const firstControlId = useUniqueId('first-control-id-');
|
|
26
|
+
const removeButtonTextId = useUniqueId('remove-button-text-id-');
|
|
26
27
|
return (React.createElement(InternalBox, { className: styles.row, margin: { bottom: 's' } },
|
|
27
28
|
React.createElement("div", { role: "group", "aria-labelledby": `${firstControlId}-label ${firstControlId}` },
|
|
28
29
|
React.createElement(InternalGrid, { __breakpoint: breakpoint, gridDefinition: removable ? REMOVABLE_GRID_DEFINITION : GRID_DEFINITION },
|
|
@@ -30,7 +31,8 @@ export const Row = React.memo(({ breakpoint, item, definition, i18nStrings = {},
|
|
|
30
31
|
removable && (React.createElement(ButtonContainer, { index: index, isNarrowViewport: isNarrowViewport, hasLabel: definition.some(row => row.label) },
|
|
31
32
|
React.createElement(InternalButton, { className: styles['remove-button'], formAction: "none", ref: ref => {
|
|
32
33
|
removeButtonRefs[index] = ref !== null && ref !== void 0 ? ref : undefined;
|
|
33
|
-
}, onClick: handleRemoveClick }
|
|
34
|
+
}, onClick: handleRemoveClick, __nativeAttributes: { 'aria-labelledby': `${removeButtonTextId} ${firstControlId}` } },
|
|
35
|
+
React.createElement("span", { id: removeButtonTextId }, removeButtonText)))))),
|
|
34
36
|
isNarrowViewport && React.createElement(Divider, null)));
|
|
35
37
|
});
|
|
36
38
|
const ButtonContainer = ({ index, children, isNarrowViewport, hasLabel }) => (React.createElement("div", { className: clsx({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row.js","sourceRoot":"lib/default/","sources":["attribute-editor/row.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAC1C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE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GAAG,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,SAAS,CAAC;wBAC7C,CAAC,EACD,OAAO,EAAE,iBAAiB,EAC1B,kBAAkB,EAAE,EAAE,iBAAiB,EAAE,GAAG,kBAAkB,IAAI,cAAc,EAAE,EAAE;wBAEpF,8BAAM,EAAE,EAAE,kBAAkB,IAAG,gBAAgB,CAAQ,CACxC,CACD,CACnB,CACY,CACX;QACL,gBAAgB,IAAI,oBAAC,OAAO,OAAG,CACpB,CACf,CAAC;AACJ,CAAC,CACF,CAAC;AASF,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAmB,EAAE,EAAE,CAAC,CAC5F,6BACE,SAAS,EAAE,IAAI,CAAC;QACd,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC,EAAE,CAAC,gBAAgB,IAAI,KAAK,KAAK,CAAC,IAAI,QAAQ;QACnF,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,EAAE,CAAC,gBAAgB,IAAI,KAAK,KAAK,CAAC,IAAI,CAAC,QAAQ;QACnF,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,gBAAgB;KAC1C,CAAC,IAED,QAAQ,CACL,CACP,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport InternalBox from '../box/internal';\nimport styles from './styles.css.js';\nimport React, { useCallback } from 'react';\nimport InternalFormField from '../form-field/internal';\nimport InternalColumnLayout, { ColumnLayoutBreakpoint } from '../column-layout/internal';\nimport { AttributeEditorProps } from './interfaces';\nimport { ButtonProps } from '../button/interfaces';\nimport { fireNonCancelableEvent, NonCancelableEventHandler } from '../internal/events';\nimport InternalGrid from '../grid/internal';\nimport { InternalButton } from '../button/internal';\nimport clsx from 'clsx';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\n\nconst Divider = () => <InternalBox className={styles.divider} padding={{ top: 'l' }} />;\n\nexport interface RowProps<T> {\n breakpoint: ColumnLayoutBreakpoint | null;\n item: T;\n definition: ReadonlyArray<AttributeEditorProps.FieldDefinition<T>>;\n i18nStrings: AttributeEditorProps.I18nStrings | undefined;\n index: number;\n removable: boolean;\n removeButtonText: string;\n removeButtonRefs: Array<ButtonProps.Ref | undefined>;\n onRemoveButtonClick?: NonCancelableEventHandler<AttributeEditorProps.RemoveButtonClickDetail>;\n}\n\nfunction render<T>(\n item: T,\n itemIndex: number,\n slot: AttributeEditorProps.FieldRenderable<T> | React.ReactNode | undefined\n) {\n return typeof slot === 'function' ? slot(item, itemIndex) : slot;\n}\n\nconst GRID_DEFINITION = [{ colspan: { default: 12, xs: 9 } }];\nconst REMOVABLE_GRID_DEFINITION = [{ colspan: { default: 12, xs: 9 } }, { colspan: { default: 12, xs: 3 } }];\nexport const Row = React.memo(\n <T,>({\n breakpoint,\n item,\n definition,\n i18nStrings = {},\n index,\n removable,\n removeButtonText,\n removeButtonRefs,\n onRemoveButtonClick,\n }: RowProps<T>) => {\n const isNarrowViewport = breakpoint === 'default' || breakpoint === 'xxs';\n const isWideViewport = !isNarrowViewport;\n\n const handleRemoveClick = useCallback(() => {\n fireNonCancelableEvent(onRemoveButtonClick, { itemIndex: index });\n }, [onRemoveButtonClick, index]);\n\n const firstControlId = useUniqueId('first-control-id-');\n const removeButtonTextId = useUniqueId('remove-button-text-id-');\n\n return (\n <InternalBox className={styles.row} margin={{ bottom: 's' }}>\n <div role=\"group\" aria-labelledby={`${firstControlId}-label ${firstControlId}`}>\n <InternalGrid\n __breakpoint={breakpoint}\n gridDefinition={removable ? REMOVABLE_GRID_DEFINITION : GRID_DEFINITION}\n >\n <InternalColumnLayout\n className={styles['row-control']}\n columns={definition.length}\n __breakpoint={breakpoint}\n >\n {definition.map(({ info, label, constraintText, errorText, control }, defIndex) => (\n <InternalFormField\n key={defIndex}\n className={styles.field}\n label={label}\n info={info}\n constraintText={render(item, index, constraintText)}\n errorText={render(item, index, errorText)}\n stretch={true}\n i18nStrings={{ errorIconAriaLabel: i18nStrings.errorIconAriaLabel }}\n __hideLabel={isWideViewport && index > 0}\n controlId={defIndex === 0 ? firstControlId : undefined}\n >\n {render(item, index, control)}\n </InternalFormField>\n ))}\n </InternalColumnLayout>\n {removable && (\n <ButtonContainer\n index={index}\n isNarrowViewport={isNarrowViewport}\n hasLabel={definition.some(row => row.label)}\n >\n <InternalButton\n className={styles['remove-button']}\n formAction=\"none\"\n ref={ref => {\n removeButtonRefs[index] = ref ?? undefined;\n }}\n onClick={handleRemoveClick}\n __nativeAttributes={{ 'aria-labelledby': `${removeButtonTextId} ${firstControlId}` }}\n >\n <span id={removeButtonTextId}>{removeButtonText}</span>\n </InternalButton>\n </ButtonContainer>\n )}\n </InternalGrid>\n </div>\n {isNarrowViewport && <Divider />}\n </InternalBox>\n );\n }\n);\n\ninterface ButtonContainer {\n index: number;\n children: React.ReactNode;\n isNarrowViewport: boolean;\n hasLabel: boolean;\n}\n\nconst ButtonContainer = ({ index, children, isNarrowViewport, hasLabel }: ButtonContainer) => (\n <div\n className={clsx({\n [styles['button-container-haslabel']]: !isNarrowViewport && index === 0 && hasLabel,\n [styles['button-container-nolabel']]: !isNarrowViewport && index === 0 && !hasLabel,\n [styles['right-align']]: isNarrowViewport,\n })}\n >\n {children}\n </div>\n);\n"]}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"card-inner": "awsui_card-
|
|
5
|
-
"root": "
|
|
6
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
7
|
-
"header-refresh": "awsui_header-
|
|
8
|
-
"list": "
|
|
9
|
-
"list-grid-1": "awsui_list-grid-
|
|
10
|
-
"card": "
|
|
11
|
-
"list-grid-2": "awsui_list-grid-
|
|
12
|
-
"list-grid-3": "awsui_list-grid-
|
|
13
|
-
"list-grid-4": "awsui_list-grid-
|
|
14
|
-
"list-grid-5": "awsui_list-grid-
|
|
15
|
-
"list-grid-6": "awsui_list-grid-
|
|
16
|
-
"list-grid-7": "awsui_list-grid-
|
|
17
|
-
"list-grid-8": "awsui_list-grid-
|
|
18
|
-
"list-grid-9": "awsui_list-grid-
|
|
19
|
-
"list-grid-10": "awsui_list-grid-
|
|
20
|
-
"list-grid-11": "awsui_list-grid-
|
|
21
|
-
"list-grid-12": "awsui_list-grid-
|
|
22
|
-
"list-grid-13": "awsui_list-grid-
|
|
23
|
-
"list-grid-14": "awsui_list-grid-
|
|
24
|
-
"list-grid-15": "awsui_list-grid-
|
|
25
|
-
"list-grid-16": "awsui_list-grid-
|
|
26
|
-
"list-grid-17": "awsui_list-grid-
|
|
27
|
-
"list-grid-18": "awsui_list-grid-
|
|
28
|
-
"list-grid-19": "awsui_list-grid-
|
|
29
|
-
"list-grid-20": "awsui_list-grid-
|
|
30
|
-
"selection-control": "awsui_selection-
|
|
31
|
-
"loading": "
|
|
32
|
-
"empty": "
|
|
33
|
-
"has-header": "awsui_has-
|
|
34
|
-
"card-header": "awsui_card-
|
|
35
|
-
"card-header-inner": "awsui_card-header-
|
|
36
|
-
"card-selectable": "awsui_card-
|
|
37
|
-
"card-selected": "awsui_card-
|
|
38
|
-
"section": "
|
|
39
|
-
"section-header": "awsui_section-
|
|
40
|
-
"section-content": "awsui_section-
|
|
4
|
+
"card-inner": "awsui_card-inner_p8a6i_be694_97",
|
|
5
|
+
"root": "awsui_root_p8a6i_be694_133",
|
|
6
|
+
"header-variant-full-page": "awsui_header-variant-full-page_p8a6i_be694_153",
|
|
7
|
+
"header-refresh": "awsui_header-refresh_p8a6i_be694_153",
|
|
8
|
+
"list": "awsui_list_p8a6i_be694_196",
|
|
9
|
+
"list-grid-1": "awsui_list-grid-1_p8a6i_be694_204",
|
|
10
|
+
"card": "awsui_card_p8a6i_be694_97",
|
|
11
|
+
"list-grid-2": "awsui_list-grid-2_p8a6i_be694_207",
|
|
12
|
+
"list-grid-3": "awsui_list-grid-3_p8a6i_be694_210",
|
|
13
|
+
"list-grid-4": "awsui_list-grid-4_p8a6i_be694_213",
|
|
14
|
+
"list-grid-5": "awsui_list-grid-5_p8a6i_be694_216",
|
|
15
|
+
"list-grid-6": "awsui_list-grid-6_p8a6i_be694_219",
|
|
16
|
+
"list-grid-7": "awsui_list-grid-7_p8a6i_be694_222",
|
|
17
|
+
"list-grid-8": "awsui_list-grid-8_p8a6i_be694_225",
|
|
18
|
+
"list-grid-9": "awsui_list-grid-9_p8a6i_be694_228",
|
|
19
|
+
"list-grid-10": "awsui_list-grid-10_p8a6i_be694_231",
|
|
20
|
+
"list-grid-11": "awsui_list-grid-11_p8a6i_be694_234",
|
|
21
|
+
"list-grid-12": "awsui_list-grid-12_p8a6i_be694_237",
|
|
22
|
+
"list-grid-13": "awsui_list-grid-13_p8a6i_be694_240",
|
|
23
|
+
"list-grid-14": "awsui_list-grid-14_p8a6i_be694_243",
|
|
24
|
+
"list-grid-15": "awsui_list-grid-15_p8a6i_be694_246",
|
|
25
|
+
"list-grid-16": "awsui_list-grid-16_p8a6i_be694_249",
|
|
26
|
+
"list-grid-17": "awsui_list-grid-17_p8a6i_be694_252",
|
|
27
|
+
"list-grid-18": "awsui_list-grid-18_p8a6i_be694_255",
|
|
28
|
+
"list-grid-19": "awsui_list-grid-19_p8a6i_be694_258",
|
|
29
|
+
"list-grid-20": "awsui_list-grid-20_p8a6i_be694_261",
|
|
30
|
+
"selection-control": "awsui_selection-control_p8a6i_be694_265",
|
|
31
|
+
"loading": "awsui_loading_p8a6i_be694_274",
|
|
32
|
+
"empty": "awsui_empty_p8a6i_be694_275",
|
|
33
|
+
"has-header": "awsui_has-header_p8a6i_be694_282",
|
|
34
|
+
"card-header": "awsui_card-header_p8a6i_be694_343",
|
|
35
|
+
"card-header-inner": "awsui_card-header-inner_p8a6i_be694_351",
|
|
36
|
+
"card-selectable": "awsui_card-selectable_p8a6i_be694_355",
|
|
37
|
+
"card-selected": "awsui_card-selected_p8a6i_be694_358",
|
|
38
|
+
"section": "awsui_section_p8a6i_be694_365",
|
|
39
|
+
"section-header": "awsui_section-header_p8a6i_be694_371",
|
|
40
|
+
"section-content": "awsui_section-content_p8a6i_be694_377"
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -94,34 +94,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.awsui_card-
|
|
97
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9) {
|
|
98
98
|
transition-property: background-color;
|
|
99
99
|
transition-duration: var(--motion-duration-transition-show-paced-ai4wlf, 180ms);
|
|
100
100
|
transition-timing-function: var(--motion-easing-transition-show-paced-bg1hyg, ease-out);
|
|
101
101
|
}
|
|
102
102
|
@media (prefers-reduced-motion: reduce) {
|
|
103
|
-
.awsui_card-
|
|
103
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9) {
|
|
104
104
|
animation: none;
|
|
105
105
|
transition: none;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
.awsui-motion-disabled .awsui_card-
|
|
108
|
+
.awsui-motion-disabled .awsui_card-inner_p8a6i_be694_97:not(#\9), .awsui-mode-entering .awsui_card-inner_p8a6i_be694_97:not(#\9) {
|
|
109
109
|
animation: none;
|
|
110
110
|
transition: none;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.awsui_card-
|
|
113
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9)::before {
|
|
114
114
|
transition-property: border-top-color, border-right-color, border-bottom-color, border-left-color;
|
|
115
115
|
transition-duration: var(--motion-duration-transition-show-paced-ai4wlf, 180ms);
|
|
116
116
|
transition-timing-function: var(--motion-easing-transition-show-paced-bg1hyg, ease-out);
|
|
117
117
|
}
|
|
118
118
|
@media (prefers-reduced-motion: reduce) {
|
|
119
|
-
.awsui_card-
|
|
119
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9)::before {
|
|
120
120
|
animation: none;
|
|
121
121
|
transition: none;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
.awsui-motion-disabled .awsui_card-
|
|
124
|
+
.awsui-motion-disabled .awsui_card-inner_p8a6i_be694_97:not(#\9)::before, .awsui-mode-entering .awsui_card-inner_p8a6i_be694_97:not(#\9)::before {
|
|
125
125
|
animation: none;
|
|
126
126
|
transition: none;
|
|
127
127
|
}
|
|
@@ -130,7 +130,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
131
131
|
SPDX-License-Identifier: Apache-2.0
|
|
132
132
|
*/
|
|
133
|
-
.
|
|
133
|
+
.awsui_root_p8a6i_be694_133:not(#\9) {
|
|
134
134
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
135
135
|
border-collapse: separate;
|
|
136
136
|
border-spacing: 0;
|
|
@@ -176,7 +176,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
176
176
|
-moz-osx-font-smoothing: auto;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.awsui_header-variant-full-
|
|
179
|
+
.awsui_header-variant-full-page_p8a6i_be694_153.awsui_header-refresh_p8a6i_be694_153:not(#\9) {
|
|
180
180
|
border-radius: var(--border-radius-container-1aveko, 0px);
|
|
181
181
|
box-sizing: border-box;
|
|
182
182
|
padding-top: var(--space-container-header-vertical-0bd19u, 12px);
|
|
@@ -184,7 +184,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
184
184
|
padding-right: 0;
|
|
185
185
|
padding-bottom: calc(var(--space-container-header-vertical-0bd19u, 12px) + var(--space-scaled-xxs-95dhkm, 4px));
|
|
186
186
|
}
|
|
187
|
-
.awsui_header-variant-full-
|
|
187
|
+
.awsui_header-variant-full-page_p8a6i_be694_153.awsui_header-refresh_p8a6i_be694_153:not(#\9)::before {
|
|
188
188
|
content: "";
|
|
189
189
|
position: absolute;
|
|
190
190
|
left: 0px;
|
|
@@ -199,7 +199,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
199
199
|
border-radius: var(--border-radius-container-1aveko, 0px);
|
|
200
200
|
z-index: 1;
|
|
201
201
|
}
|
|
202
|
-
.awsui_header-variant-full-
|
|
202
|
+
.awsui_header-variant-full-page_p8a6i_be694_153.awsui_header-refresh_p8a6i_be694_153:not(#\9)::after {
|
|
203
203
|
content: "";
|
|
204
204
|
position: absolute;
|
|
205
205
|
left: 0px;
|
|
@@ -214,12 +214,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
214
214
|
mix-blend-mode: multiply;
|
|
215
215
|
}
|
|
216
216
|
@media screen and (-ms-high-contrast: active) {
|
|
217
|
-
.awsui_header-variant-full-
|
|
217
|
+
.awsui_header-variant-full-page_p8a6i_be694_153.awsui_header-refresh_p8a6i_be694_153:not(#\9) {
|
|
218
218
|
border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.
|
|
222
|
+
.awsui_list_p8a6i_be694_196:not(#\9) {
|
|
223
223
|
display: flex;
|
|
224
224
|
flex-wrap: wrap;
|
|
225
225
|
box-sizing: border-box;
|
|
@@ -227,68 +227,68 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
227
227
|
list-style: none;
|
|
228
228
|
margin: 0 0 0 calc(var(--space-grid-gutter-0subky, 20px) * -1);
|
|
229
229
|
}
|
|
230
|
-
.
|
|
230
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-1_p8a6i_be694_204 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
231
231
|
width: 100%;
|
|
232
232
|
}
|
|
233
|
-
.
|
|
233
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-2_p8a6i_be694_207 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
234
234
|
width: 50%;
|
|
235
235
|
}
|
|
236
|
-
.
|
|
236
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-3_p8a6i_be694_210 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
237
237
|
width: 33.3333333333%;
|
|
238
238
|
}
|
|
239
|
-
.
|
|
239
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-4_p8a6i_be694_213 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
240
240
|
width: 25%;
|
|
241
241
|
}
|
|
242
|
-
.
|
|
242
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-5_p8a6i_be694_216 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
243
243
|
width: 20%;
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-6_p8a6i_be694_219 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
246
246
|
width: 16.6666666667%;
|
|
247
247
|
}
|
|
248
|
-
.
|
|
248
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-7_p8a6i_be694_222 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
249
249
|
width: 14.2857142857%;
|
|
250
250
|
}
|
|
251
|
-
.
|
|
251
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-8_p8a6i_be694_225 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
252
252
|
width: 12.5%;
|
|
253
253
|
}
|
|
254
|
-
.
|
|
254
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-9_p8a6i_be694_228 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
255
255
|
width: 11.1111111111%;
|
|
256
256
|
}
|
|
257
|
-
.
|
|
257
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-10_p8a6i_be694_231 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
258
258
|
width: 10%;
|
|
259
259
|
}
|
|
260
|
-
.
|
|
260
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-11_p8a6i_be694_234 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
261
261
|
width: 9.0909090909%;
|
|
262
262
|
}
|
|
263
|
-
.
|
|
263
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-12_p8a6i_be694_237 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
264
264
|
width: 8.3333333333%;
|
|
265
265
|
}
|
|
266
|
-
.
|
|
266
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-13_p8a6i_be694_240 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
267
267
|
width: 7.6923076923%;
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-14_p8a6i_be694_243 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
270
270
|
width: 7.1428571429%;
|
|
271
271
|
}
|
|
272
|
-
.
|
|
272
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-15_p8a6i_be694_246 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
273
273
|
width: 6.6666666667%;
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-16_p8a6i_be694_249 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
276
276
|
width: 6.25%;
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-17_p8a6i_be694_252 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
279
279
|
width: 5.8823529412%;
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-18_p8a6i_be694_255 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
282
282
|
width: 5.5555555556%;
|
|
283
283
|
}
|
|
284
|
-
.
|
|
284
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-19_p8a6i_be694_258 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
285
285
|
width: 5.2631578947%;
|
|
286
286
|
}
|
|
287
|
-
.
|
|
287
|
+
.awsui_list_p8a6i_be694_196.awsui_list-grid-20_p8a6i_be694_261 > .awsui_card_p8a6i_be694_97:not(#\9) {
|
|
288
288
|
width: 5%;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.awsui_selection-
|
|
291
|
+
.awsui_selection-control_p8a6i_be694_265:not(#\9) {
|
|
292
292
|
position: absolute;
|
|
293
293
|
box-sizing: border-box;
|
|
294
294
|
width: calc(var(--size-control-eyly4k, 14px) + (2 * var(--space-card-horizontal-di7llb, 20px)));
|
|
@@ -297,19 +297,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
297
297
|
padding: var(--space-scaled-l-t03y3z, 20px) var(--space-card-horizontal-di7llb, 20px);
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
.
|
|
301
|
-
.
|
|
300
|
+
.awsui_loading_p8a6i_be694_274:not(#\9),
|
|
301
|
+
.awsui_empty_p8a6i_be694_275:not(#\9) {
|
|
302
302
|
overflow: hidden;
|
|
303
303
|
text-align: center;
|
|
304
304
|
color: var(--color-text-empty-izapdt, #687078);
|
|
305
305
|
margin-bottom: var(--space-scaled-l-t03y3z, 20px);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
.awsui_has-
|
|
308
|
+
.awsui_has-header_p8a6i_be694_282:not(#\9) {
|
|
309
309
|
margin-top: var(--space-grid-gutter-0subky, 20px);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
.
|
|
312
|
+
.awsui_card_p8a6i_be694_97:not(#\9) {
|
|
313
313
|
display: flex;
|
|
314
314
|
overflow-wrap: break-word;
|
|
315
315
|
word-wrap: break-word;
|
|
@@ -317,7 +317,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
317
317
|
padding: 0;
|
|
318
318
|
list-style: none;
|
|
319
319
|
}
|
|
320
|
-
.awsui_card-
|
|
320
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9) {
|
|
321
321
|
position: relative;
|
|
322
322
|
background-color: var(--color-background-container-content-o88wxm, #ffffff);
|
|
323
323
|
margin: 0 0 var(--space-grid-gutter-0subky, 20px) var(--space-grid-gutter-0subky, 20px);
|
|
@@ -328,11 +328,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
328
328
|
min-width: 0;
|
|
329
329
|
}
|
|
330
330
|
@media screen and (-ms-high-contrast: active) {
|
|
331
|
-
.awsui_card-
|
|
331
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9) {
|
|
332
332
|
padding: calc(var(--space-scaled-l-t03y3z, 20px) - var(--border-item-width-yvnixs, 1px)) calc(var(--space-card-horizontal-di7llb, 20px) - var(--border-item-width-yvnixs, 1px)) calc(var(--space-scaled-l-t03y3z, 20px) - var(--border-item-width-yvnixs, 1px));
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
.awsui_card-
|
|
335
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9)::before {
|
|
336
336
|
content: "";
|
|
337
337
|
position: absolute;
|
|
338
338
|
left: 0px;
|
|
@@ -347,7 +347,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
347
347
|
border-radius: var(--border-radius-container-1aveko, 0px);
|
|
348
348
|
z-index: 1;
|
|
349
349
|
}
|
|
350
|
-
.awsui_card-
|
|
350
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9)::after {
|
|
351
351
|
content: "";
|
|
352
352
|
position: absolute;
|
|
353
353
|
left: 0px;
|
|
@@ -362,11 +362,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
362
362
|
mix-blend-mode: multiply;
|
|
363
363
|
}
|
|
364
364
|
@media screen and (-ms-high-contrast: active) {
|
|
365
|
-
.awsui_card-
|
|
365
|
+
.awsui_card-inner_p8a6i_be694_97:not(#\9) {
|
|
366
366
|
border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
.awsui_card-
|
|
369
|
+
.awsui_card-header_p8a6i_be694_343:not(#\9) {
|
|
370
370
|
font-size: var(--font-heading-m-size-f8kmgg, 18px);
|
|
371
371
|
line-height: var(--font-heading-m-line-height-wqj6lz, 22px);
|
|
372
372
|
letter-spacing: var(--font-heading-m-letter-spacing-vsl82f, normal);
|
|
@@ -374,36 +374,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
374
374
|
-webkit-font-smoothing: var(--font-smoothing-webkit-aglr0j, auto);
|
|
375
375
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-f5m4xg, auto);
|
|
376
376
|
}
|
|
377
|
-
.awsui_card-header-
|
|
377
|
+
.awsui_card-header-inner_p8a6i_be694_351:not(#\9) {
|
|
378
378
|
width: 100%;
|
|
379
379
|
display: inline-block;
|
|
380
380
|
}
|
|
381
|
-
.awsui_card-
|
|
381
|
+
.awsui_card-selectable_p8a6i_be694_355 > .awsui_card-inner_p8a6i_be694_97 > .awsui_card-header_p8a6i_be694_343:not(#\9) {
|
|
382
382
|
width: 90%;
|
|
383
383
|
}
|
|
384
|
-
.awsui_card-
|
|
384
|
+
.awsui_card-selected_p8a6i_be694_358 > .awsui_card-inner_p8a6i_be694_97:not(#\9) {
|
|
385
385
|
background-color: var(--color-background-item-selected-fva7ca, #f1faff);
|
|
386
386
|
}
|
|
387
|
-
.awsui_card-
|
|
388
|
-
border: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-
|
|
387
|
+
.awsui_card-selected_p8a6i_be694_358 > .awsui_card-inner_p8a6i_be694_97:not(#\9)::before {
|
|
388
|
+
border: var(--border-item-width-yvnixs, 1px) solid var(--color-border-item-selected-592lau, #0073bb);
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
.
|
|
391
|
+
.awsui_section_p8a6i_be694_365:not(#\9) {
|
|
392
392
|
display: inline-block;
|
|
393
393
|
box-sizing: border-box;
|
|
394
394
|
padding: var(--space-xs-rsr2qu, 8px) 0 var(--space-scaled-xs-6859qs, 8px) 0;
|
|
395
395
|
vertical-align: top;
|
|
396
396
|
}
|
|
397
|
-
.awsui_section-
|
|
397
|
+
.awsui_section-header_p8a6i_be694_371:not(#\9) {
|
|
398
398
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
399
399
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
400
400
|
font-weight: var(--font-display-label-weight-tjy9e4, 400);
|
|
401
401
|
color: var(--color-text-label-kjjshz, #545b64);
|
|
402
402
|
}
|
|
403
|
-
.awsui_section-
|
|
403
|
+
.awsui_section-content_p8a6i_be694_377:not(#\9) {
|
|
404
404
|
/* used in test-utils */
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
.
|
|
407
|
+
.awsui_section_p8a6i_be694_365:not(#\9):last-child {
|
|
408
408
|
padding: var(--space-xs-rsr2qu, 8px) 0 0 0;
|
|
409
409
|
}
|