@cloudscape-design/components-themeable 3.0.1399 → 3.0.1401
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/autosuggest/styles.scss +5 -0
- package/lib/internal/scss/copy-to-clipboard/styles.scss +7 -7
- package/lib/internal/scss/flashbar/collapsible.scss +21 -11
- package/lib/internal/scss/flashbar/styles.scss +26 -8
- package/lib/internal/scss/icon/hover-motion.scss +21 -0
- package/lib/internal/scss/icon/styles.scss +2 -1
- package/lib/internal/scss/input/styles.scss +32 -15
- package/lib/internal/scss/internal/components/autosuggest-input/styles.scss +4 -90
- package/lib/internal/scss/internal/components/option/styles.scss +8 -0
- package/lib/internal/scss/internal/components/radio-button/styles.scss +2 -0
- package/lib/internal/scss/internal/components/sticky-header/mixins.scss +11 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/multiselect/styles.scss +22 -0
- package/lib/internal/scss/radio-button/styles.scss +1 -2
- package/lib/internal/scss/radio-group/styles.scss +3 -0
- package/lib/internal/scss/segmented-control/segment.scss +29 -6
- package/lib/internal/scss/segmented-control/styles.scss +26 -4
- package/lib/internal/scss/select/parts/styles.scss +15 -2
- package/lib/internal/scss/select/styles.scss +20 -0
- package/lib/internal/scss/table/resizer/styles.scss +4 -4
- package/lib/internal/scss/table/styles.scss +2 -5
- package/lib/internal/template/autosuggest/index.d.ts.map +1 -1
- package/lib/internal/template/autosuggest/index.js +1 -1
- package/lib/internal/template/autosuggest/index.js.map +1 -1
- package/lib/internal/template/autosuggest/internal.d.ts +6 -0
- package/lib/internal/template/autosuggest/internal.d.ts.map +1 -1
- package/lib/internal/template/autosuggest/internal.js +2 -2
- package/lib/internal/template/autosuggest/internal.js.map +1 -1
- package/lib/internal/template/autosuggest/styles.css.js +3 -3
- package/lib/internal/template/autosuggest/styles.scoped.css +5 -3
- package/lib/internal/template/autosuggest/styles.selectors.js +3 -3
- package/lib/internal/template/button-dropdown/filter.d.ts +1 -1
- package/lib/internal/template/button-dropdown/filter.d.ts.map +1 -1
- package/lib/internal/template/cards/index.js +1 -1
- package/lib/internal/template/cards/index.js.map +1 -1
- package/lib/internal/template/container/internal.d.ts +3 -2
- package/lib/internal/template/container/internal.d.ts.map +1 -1
- package/lib/internal/template/container/internal.js +2 -2
- package/lib/internal/template/container/internal.js.map +1 -1
- package/lib/internal/template/container/use-sticky-header.d.ts +0 -8
- package/lib/internal/template/container/use-sticky-header.d.ts.map +1 -1
- package/lib/internal/template/container/use-sticky-header.js +9 -92
- package/lib/internal/template/container/use-sticky-header.js.map +1 -1
- package/lib/internal/template/copy-to-clipboard/internal.d.ts.map +1 -1
- package/lib/internal/template/copy-to-clipboard/internal.js +2 -16
- package/lib/internal/template/copy-to-clipboard/internal.js.map +1 -1
- package/lib/internal/template/copy-to-clipboard/styles.css.js +10 -10
- package/lib/internal/template/copy-to-clipboard/styles.scoped.css +19 -19
- package/lib/internal/template/copy-to-clipboard/styles.selectors.js +10 -10
- package/lib/internal/template/flashbar/collapsible-flashbar.d.ts +1 -1
- package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/lib/internal/template/flashbar/collapsible-flashbar.js +10 -4
- package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
- package/lib/internal/template/flashbar/flash.d.ts +6 -0
- package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
- package/lib/internal/template/flashbar/flash.js +6 -6
- package/lib/internal/template/flashbar/flash.js.map +1 -1
- package/lib/internal/template/flashbar/internal-interfaces.d.ts +11 -1
- package/lib/internal/template/flashbar/internal-interfaces.d.ts.map +1 -1
- package/lib/internal/template/flashbar/internal-interfaces.js.map +1 -1
- package/lib/internal/template/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
- package/lib/internal/template/flashbar/non-collapsible-flashbar.js +8 -1
- package/lib/internal/template/flashbar/non-collapsible-flashbar.js.map +1 -1
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +184 -161
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/icon/generated/icons.d.ts +4 -0
- package/lib/internal/template/icon/generated/icons.d.ts.map +1 -1
- package/lib/internal/template/icon/generated/icons.js +14 -0
- package/lib/internal/template/icon/generated/icons.js.map +1 -1
- package/lib/internal/template/icon/styles.css.js +44 -43
- package/lib/internal/template/icon/styles.scoped.css +109 -107
- package/lib/internal/template/icon/styles.selectors.js +44 -43
- package/lib/internal/template/icon-provider/interfaces.d.ts +1 -1
- package/lib/internal/template/icon-provider/interfaces.d.ts.map +1 -1
- package/lib/internal/template/icon-provider/interfaces.js.map +1 -1
- package/lib/internal/template/input/internal.d.ts +1 -1
- package/lib/internal/template/input/internal.d.ts.map +1 -1
- package/lib/internal/template/input/internal.js +4 -2
- package/lib/internal/template/input/internal.js.map +1 -1
- package/lib/internal/template/input/styles.css.js +45 -44
- package/lib/internal/template/input/styles.scoped.css +102 -94
- package/lib/internal/template/input/styles.selectors.js +45 -44
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.d.ts +5 -0
- package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js +22 -61
- package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/inline-tokens.d.ts +1 -0
- package/lib/internal/template/internal/components/autosuggest-input/inline-tokens.d.ts.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/inline-tokens.js +4 -2
- package/lib/internal/template/internal/components/autosuggest-input/inline-tokens.js.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/styles.css.js +11 -33
- package/lib/internal/template/internal/components/autosuggest-input/styles.scoped.css +15 -233
- package/lib/internal/template/internal/components/autosuggest-input/styles.selectors.js +11 -33
- package/lib/internal/template/internal/components/autosuggest-input/use-token-overflow.d.ts +4 -8
- package/lib/internal/template/internal/components/autosuggest-input/use-token-overflow.d.ts.map +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/use-token-overflow.js +16 -29
- package/lib/internal/template/internal/components/autosuggest-input/use-token-overflow.js.map +1 -1
- package/lib/internal/template/internal/components/option/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/option/index.js +2 -2
- package/lib/internal/template/internal/components/option/index.js.map +1 -1
- package/lib/internal/template/internal/components/option/styles.css.js +19 -18
- package/lib/internal/template/internal/components/option/styles.scoped.css +39 -33
- package/lib/internal/template/internal/components/option/styles.selectors.js +19 -18
- package/lib/internal/template/internal/components/radio-button/index.d.ts +1 -1
- package/lib/internal/template/internal/components/radio-button/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/radio-button/index.js.map +1 -1
- package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
- package/lib/internal/template/internal/components/radio-button/styles.scoped.css +36 -12
- package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/sortable-area/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/index.js +34 -4
- package/lib/internal/template/internal/components/sortable-area/index.js.map +1 -1
- package/lib/internal/template/internal/components/sortable-area/keyboard-sensor/index.js +1 -1
- package/lib/internal/template/internal/components/sortable-area/keyboard-sensor/index.js.map +1 -1
- package/lib/internal/template/{table → internal/components/sticky-header}/sticky-scrolling.d.ts +1 -6
- package/lib/internal/template/internal/components/sticky-header/sticky-scrolling.d.ts.map +1 -0
- package/lib/internal/template/{table → internal/components/sticky-header}/sticky-scrolling.js +2 -7
- package/lib/internal/template/internal/components/sticky-header/sticky-scrolling.js.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-cells-resize-observer.d.ts +2 -0
- package/lib/internal/template/internal/components/sticky-header/use-cells-resize-observer.d.ts.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-cells-resize-observer.js +39 -0
- package/lib/internal/template/internal/components/sticky-header/use-cells-resize-observer.js.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-header-stuck.d.ts +8 -0
- package/lib/internal/template/internal/components/sticky-header/use-header-stuck.d.ts.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-header-stuck.js +35 -0
- package/lib/internal/template/internal/components/sticky-header/use-header-stuck.js.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-sticky-header-copy.d.ts +14 -0
- package/lib/internal/template/internal/components/sticky-header/use-sticky-header-copy.d.ts.map +1 -0
- package/lib/internal/template/{table/use-sticky-header.js → internal/components/sticky-header/use-sticky-header-copy.js} +7 -8
- package/lib/internal/template/internal/components/sticky-header/use-sticky-header-copy.js.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-sticky-position.d.ts +22 -0
- package/lib/internal/template/internal/components/sticky-header/use-sticky-position.d.ts.map +1 -0
- package/lib/internal/template/internal/components/sticky-header/use-sticky-position.js +57 -0
- package/lib/internal/template/internal/components/sticky-header/use-sticky-position.js.map +1 -0
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/multiselect/index.d.ts.map +1 -1
- package/lib/internal/template/multiselect/index.js +1 -1
- package/lib/internal/template/multiselect/index.js.map +1 -1
- package/lib/internal/template/multiselect/internal.d.ts +12 -1
- package/lib/internal/template/multiselect/internal.d.ts.map +1 -1
- package/lib/internal/template/multiselect/internal.js +10 -6
- package/lib/internal/template/multiselect/internal.js.map +1 -1
- package/lib/internal/template/multiselect/styles.css.js +5 -5
- package/lib/internal/template/multiselect/styles.scoped.css +17 -5
- package/lib/internal/template/multiselect/styles.selectors.js +5 -5
- package/lib/internal/template/radio-button/styles.css.js +1 -1
- package/lib/internal/template/radio-button/styles.scoped.css +1 -25
- package/lib/internal/template/radio-button/styles.selectors.js +1 -1
- package/lib/internal/template/radio-group/internal.d.ts +7 -1
- package/lib/internal/template/radio-group/internal.d.ts.map +1 -1
- package/lib/internal/template/radio-group/internal.js +2 -2
- package/lib/internal/template/radio-group/internal.js.map +1 -1
- package/lib/internal/template/radio-group/styles.css.js +5 -5
- package/lib/internal/template/radio-group/styles.scoped.css +7 -6
- package/lib/internal/template/radio-group/styles.selectors.js +5 -5
- package/lib/internal/template/segmented-control/internal-segmented-control.d.ts +3 -1
- package/lib/internal/template/segmented-control/internal-segmented-control.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/internal-segmented-control.js +3 -3
- package/lib/internal/template/segmented-control/internal-segmented-control.js.map +1 -1
- package/lib/internal/template/segmented-control/internal.d.ts +11 -2
- package/lib/internal/template/segmented-control/internal.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/internal.js +3 -2
- package/lib/internal/template/segmented-control/internal.js.map +1 -1
- package/lib/internal/template/segmented-control/segment.d.ts +2 -0
- package/lib/internal/template/segmented-control/segment.d.ts.map +1 -1
- package/lib/internal/template/segmented-control/segment.js +4 -2
- package/lib/internal/template/segmented-control/segment.js.map +1 -1
- package/lib/internal/template/segmented-control/styles.css.js +31 -31
- package/lib/internal/template/segmented-control/styles.scoped.css +119 -82
- package/lib/internal/template/segmented-control/styles.selectors.js +31 -31
- package/lib/internal/template/select/index.d.ts.map +1 -1
- package/lib/internal/template/select/index.js +1 -1
- package/lib/internal/template/select/index.js.map +1 -1
- package/lib/internal/template/select/internal.d.ts +8 -0
- package/lib/internal/template/select/internal.d.ts.map +1 -1
- package/lib/internal/template/select/internal.js +5 -5
- package/lib/internal/template/select/internal.js.map +1 -1
- package/lib/internal/template/select/parts/filter.d.ts +1 -1
- package/lib/internal/template/select/parts/filter.d.ts.map +1 -1
- package/lib/internal/template/select/parts/styles.css.js +22 -21
- package/lib/internal/template/select/parts/styles.scoped.css +28 -24
- package/lib/internal/template/select/parts/styles.selectors.js +22 -21
- package/lib/internal/template/select/parts/trigger.d.ts +6 -0
- package/lib/internal/template/select/parts/trigger.d.ts.map +1 -1
- package/lib/internal/template/select/parts/trigger.js +4 -4
- package/lib/internal/template/select/parts/trigger.js.map +1 -1
- package/lib/internal/template/select/styles.css.js +3 -3
- package/lib/internal/template/select/styles.scoped.css +14 -3
- package/lib/internal/template/select/styles.selectors.js +3 -3
- package/lib/internal/template/styling/autosuggest.scss +1 -0
- package/lib/internal/template/styling/flashbar.scss +127 -0
- package/lib/internal/template/styling/multiselect.scss +80 -0
- package/lib/internal/template/styling/radio-group.scss +1 -0
- package/lib/internal/template/styling/segmented-control.scss +111 -0
- package/lib/internal/template/styling/select.scss +80 -0
- package/lib/internal/template/table/resizer/styles.css.js +17 -17
- package/lib/internal/template/table/resizer/styles.scoped.css +30 -29
- package/lib/internal/template/table/resizer/styles.selectors.js +17 -17
- package/lib/internal/template/table/sticky-header.d.ts.map +1 -1
- package/lib/internal/template/table/sticky-header.js +8 -2
- package/lib/internal/template/table/sticky-header.js.map +1 -1
- package/lib/internal/template/table/styles.css.js +37 -37
- package/lib/internal/template/table/styles.scoped.css +47 -47
- package/lib/internal/template/table/styles.selectors.js +37 -37
- package/lib/internal/template/table/use-column-widths.d.ts.map +1 -1
- package/lib/internal/template/table/use-column-widths.js +4 -16
- package/lib/internal/template/table/use-column-widths.js.map +1 -1
- package/lib/internal/template/toggle/internal.d.ts.map +1 -1
- package/lib/internal/template/toggle/internal.js +1 -1
- package/lib/internal/template/toggle/internal.js.map +1 -1
- package/lib/internal/template/token-group/internal.d.ts +5 -1
- package/lib/internal/template/token-group/internal.d.ts.map +1 -1
- package/lib/internal/template/token-group/internal.js +2 -2
- package/lib/internal/template/token-group/internal.js.map +1 -1
- package/package.json +1 -1
- package/lib/internal/template/table/sticky-scrolling.d.ts.map +0 -1
- package/lib/internal/template/table/sticky-scrolling.js.map +0 -1
- package/lib/internal/template/table/use-sticky-header.d.ts +0 -6
- package/lib/internal/template/table/use-sticky-header.d.ts.map +0 -1
- package/lib/internal/template/table/use-sticky-header.js.map +0 -1
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
.awsui_resize-
|
|
9
|
+
.awsui_resize-active_x7peu_p6la0_9:not(#\9):not(.awsui_resize-active-with-focus_x7peu_p6la0_9) * {
|
|
10
10
|
cursor: col-resize;
|
|
11
11
|
-webkit-user-select: none;
|
|
12
12
|
user-select: none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.awsui_resizer-
|
|
15
|
+
.awsui_resizer-wrapper_x7peu_p6la0_14:not(#\9) {
|
|
16
16
|
inset-block: 0;
|
|
17
17
|
position: absolute;
|
|
18
18
|
inset-inline-end: calc(-1 * var(--space-xl-6jh0ay, 24px) / 2);
|
|
@@ -20,16 +20,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
20
20
|
overflow: hidden;
|
|
21
21
|
z-index: 10;
|
|
22
22
|
}
|
|
23
|
-
th:not(#\9):last-child > .awsui_resizer-wrapper_x7peu_hjirl_14:has(.awsui_divider-interactive_x7peu_hjirl_22).awsui_is-borderless_x7peu_hjirl_22 {
|
|
24
|
-
inset-inline-end: 0;
|
|
25
|
-
}
|
|
26
23
|
|
|
27
|
-
.awsui_resizer-button-
|
|
24
|
+
.awsui_resizer-button-wrapper_x7peu_p6la0_23:not(#\9) {
|
|
28
25
|
block-size: 100%;
|
|
29
26
|
}
|
|
30
27
|
|
|
31
|
-
th:not(#\9):not([data-rightmost]) > .
|
|
32
|
-
.awsui_divider-
|
|
28
|
+
th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_p6la0_27,
|
|
29
|
+
.awsui_divider-interactive_x7peu_p6la0_28:not(#\9) {
|
|
33
30
|
position: absolute;
|
|
34
31
|
outline: none;
|
|
35
32
|
pointer-events: none;
|
|
@@ -43,45 +40,49 @@ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_hjirl_22,
|
|
|
43
40
|
border-inline-start: var(--border-divider-list-width-2qbfmz, 1px) solid var(--color-border-divider-default-diwd4w, #eaeded);
|
|
44
41
|
box-sizing: border-box;
|
|
45
42
|
}
|
|
46
|
-
th:not(#\9):not([data-rightmost]) > .
|
|
47
|
-
.awsui_divider-
|
|
43
|
+
th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_p6la0_27.awsui_divider-interactive_x7peu_p6la0_28,
|
|
44
|
+
.awsui_divider-interactive_x7peu_p6la0_28.awsui_divider-interactive_x7peu_p6la0_28:not(#\9) {
|
|
48
45
|
border-inline-start: var(--border-divider-list-width-2qbfmz, 1px) solid var(--color-border-divider-interactive-default-cs7tmi, #687078);
|
|
49
46
|
}
|
|
50
|
-
th:not(#\9):not([data-rightmost]) > .
|
|
51
|
-
.awsui_divider-
|
|
47
|
+
th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_p6la0_27.awsui_divider-grouped_x7peu_p6la0_46,
|
|
48
|
+
.awsui_divider-interactive_x7peu_p6la0_28.awsui_divider-grouped_x7peu_p6la0_46:not(#\9) {
|
|
52
49
|
border-inline-start-color: var(--color-border-divider-table-group-42wwt3, #879596);
|
|
53
50
|
}
|
|
54
|
-
th:not(#\9):not([data-rightmost]) > .
|
|
55
|
-
.awsui_divider-
|
|
51
|
+
th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_p6la0_27.awsui_divider-position-top_x7peu_p6la0_50,
|
|
52
|
+
.awsui_divider-interactive_x7peu_p6la0_28.awsui_divider-position-top_x7peu_p6la0_50:not(#\9) {
|
|
56
53
|
margin-block-start: 0;
|
|
57
54
|
margin-block-end: auto;
|
|
58
55
|
max-block-size: calc(100% - calc(2 * var(--space-xs-m9b7jf, 8px) + var(--space-xxxs-3ulqs3, 2px)) / 2);
|
|
59
56
|
}
|
|
60
|
-
th:not(#\9):not([data-rightmost]) > .
|
|
61
|
-
.awsui_divider-
|
|
57
|
+
th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_p6la0_27.awsui_divider-position-bottom_x7peu_p6la0_56,
|
|
58
|
+
.awsui_divider-interactive_x7peu_p6la0_28.awsui_divider-position-bottom_x7peu_p6la0_56:not(#\9) {
|
|
62
59
|
margin-block-start: auto;
|
|
63
60
|
margin-block-end: 0;
|
|
64
61
|
max-block-size: calc(100% - calc(2 * var(--space-xs-m9b7jf, 8px) + var(--space-xxxs-3ulqs3, 2px)) / 2);
|
|
65
62
|
}
|
|
66
|
-
th:not(#\9):not([data-rightmost]) > .
|
|
67
|
-
.awsui_divider-
|
|
63
|
+
th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_p6la0_27.awsui_divider-position-full_x7peu_p6la0_62,
|
|
64
|
+
.awsui_divider-interactive_x7peu_p6la0_28.awsui_divider-position-full_x7peu_p6la0_62:not(#\9) {
|
|
68
65
|
margin-block: 0;
|
|
69
66
|
max-block-size: 100%;
|
|
70
67
|
}
|
|
71
68
|
|
|
72
|
-
.awsui_divider-
|
|
69
|
+
.awsui_divider-interactive_x7peu_p6la0_28:not(#\9) {
|
|
73
70
|
inset-inline-end: calc(var(--space-xl-6jh0ay, 24px) / 2);
|
|
74
71
|
}
|
|
75
72
|
|
|
76
|
-
.awsui_divider-
|
|
73
|
+
.awsui_divider-active_x7peu_p6la0_72:not(#\9) {
|
|
77
74
|
/* used in test-utils */
|
|
78
75
|
}
|
|
79
76
|
|
|
80
|
-
.awsui_resizer-
|
|
77
|
+
.awsui_resizer-wrapper_x7peu_p6la0_14.awsui_is-borderless_x7peu_p6la0_76.awsui_is-last_x7peu_p6la0_76:not(#\9) {
|
|
78
|
+
inset-inline-end: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.awsui_resizer-wrapper_x7peu_p6la0_14.awsui_visual-refresh_x7peu_p6la0_80.awsui_is-borderless_x7peu_p6la0_76.awsui_is-last_x7peu_p6la0_76 > .awsui_divider-interactive_x7peu_p6la0_28:not(#\9) {
|
|
81
82
|
inset-inline-end: 0;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
.
|
|
85
|
+
.awsui_resizer_x7peu_p6la0_14:not(#\9) {
|
|
85
86
|
border-collapse: separate;
|
|
86
87
|
border-spacing: 0;
|
|
87
88
|
box-sizing: border-box;
|
|
@@ -119,21 +120,21 @@ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_hjirl_22.awsui_divider-
|
|
|
119
120
|
block-size: 100%;
|
|
120
121
|
inline-size: var(--space-xl-6jh0ay, 24px);
|
|
121
122
|
}
|
|
122
|
-
.
|
|
123
|
+
.awsui_resizer_x7peu_p6la0_14:not(#\9):focus {
|
|
123
124
|
outline: none;
|
|
124
125
|
text-decoration: none;
|
|
125
126
|
}
|
|
126
|
-
.awsui_resize-
|
|
127
|
+
.awsui_resize-active_x7peu_p6la0_9 .awsui_resizer_x7peu_p6la0_14:not(#\9) {
|
|
127
128
|
pointer-events: none;
|
|
128
129
|
}
|
|
129
|
-
body[data-awsui-focus-visible=true] .
|
|
130
|
+
body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_p6la0_14.awsui_has-focus_x7peu_p6la0_129:not(#\9) {
|
|
130
131
|
position: relative;
|
|
131
132
|
}
|
|
132
|
-
body[data-awsui-focus-visible=true] .
|
|
133
|
+
body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_p6la0_14.awsui_has-focus_x7peu_p6la0_129:not(#\9) {
|
|
133
134
|
outline: 2px dotted transparent;
|
|
134
135
|
outline-offset: calc(calc(var(--space-table-header-focus-outline-gutter-yl4rtb, 0px) - 2px) - 1px);
|
|
135
136
|
}
|
|
136
|
-
body[data-awsui-focus-visible=true] .
|
|
137
|
+
body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_p6la0_14.awsui_has-focus_x7peu_p6la0_129:not(#\9)::before {
|
|
137
138
|
content: " ";
|
|
138
139
|
display: block;
|
|
139
140
|
position: absolute;
|
|
@@ -148,13 +149,13 @@ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_hjirl_14.awsui_has-focu
|
|
|
148
149
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-sewkzn, #0073bb);
|
|
149
150
|
}
|
|
150
151
|
|
|
151
|
-
.
|
|
152
|
+
.awsui_tracker_x7peu_p6la0_151:not(#\9) {
|
|
152
153
|
display: none;
|
|
153
154
|
position: absolute;
|
|
154
155
|
border-inline-start: var(--border-divider-list-width-2qbfmz, 1px) dashed var(--color-border-divider-active-zbcsa9, #687078);
|
|
155
156
|
inline-size: 0;
|
|
156
157
|
inset-block: 0;
|
|
157
158
|
}
|
|
158
|
-
.awsui_resize-
|
|
159
|
+
.awsui_resize-active_x7peu_p6la0_9 .awsui_tracker_x7peu_p6la0_151:not(#\9) {
|
|
159
160
|
display: block;
|
|
160
161
|
}
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"resize-active": "awsui_resize-
|
|
6
|
-
"resize-active-with-focus": "awsui_resize-active-with-
|
|
7
|
-
"resizer-wrapper": "awsui_resizer-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"divider": "
|
|
12
|
-
"divider-
|
|
13
|
-
"divider-position-
|
|
14
|
-
"divider-position-
|
|
15
|
-
"divider-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"resizer": "
|
|
20
|
-
"has-focus": "awsui_has-
|
|
21
|
-
"tracker": "
|
|
5
|
+
"resize-active": "awsui_resize-active_x7peu_p6la0_9",
|
|
6
|
+
"resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_p6la0_9",
|
|
7
|
+
"resizer-wrapper": "awsui_resizer-wrapper_x7peu_p6la0_14",
|
|
8
|
+
"resizer-button-wrapper": "awsui_resizer-button-wrapper_x7peu_p6la0_23",
|
|
9
|
+
"divider": "awsui_divider_x7peu_p6la0_27",
|
|
10
|
+
"divider-interactive": "awsui_divider-interactive_x7peu_p6la0_28",
|
|
11
|
+
"divider-grouped": "awsui_divider-grouped_x7peu_p6la0_46",
|
|
12
|
+
"divider-position-top": "awsui_divider-position-top_x7peu_p6la0_50",
|
|
13
|
+
"divider-position-bottom": "awsui_divider-position-bottom_x7peu_p6la0_56",
|
|
14
|
+
"divider-position-full": "awsui_divider-position-full_x7peu_p6la0_62",
|
|
15
|
+
"divider-active": "awsui_divider-active_x7peu_p6la0_72",
|
|
16
|
+
"is-borderless": "awsui_is-borderless_x7peu_p6la0_76",
|
|
17
|
+
"is-last": "awsui_is-last_x7peu_p6la0_76",
|
|
18
|
+
"visual-refresh": "awsui_visual-refresh_x7peu_p6la0_80",
|
|
19
|
+
"resizer": "awsui_resizer_x7peu_p6la0_14",
|
|
20
|
+
"has-focus": "awsui_has-focus_x7peu_p6la0_129",
|
|
21
|
+
"tracker": "awsui_tracker_x7peu_p6la0_151"
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sticky-header.d.ts","sourceRoot":"","sources":["../../../src/table/sticky-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"sticky-header.d.ts","sourceRoot":"","sources":["../../../src/table/sticky-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAO7F,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAqB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI5C,MAAM,WAAW,eAAe;IAC9B,WAAW,IAAI,IAAI,CAAC;IACpB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,UAAU,iBAAiB;IACzB,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;IAC5B,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;IAC/C,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;;AAED,wBAAwC"}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import React, { forwardRef, useContext, useImperativeHandle, useRef, useState } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { StickyHeaderContext } from '../container/use-sticky-header';
|
|
6
|
+
import { useStickyHeaderCopy } from '../internal/components/sticky-header/use-sticky-header-copy';
|
|
6
7
|
import { getVisualContextClassname } from '../internal/components/visual-context';
|
|
7
8
|
import { TableColGroup } from './column-groups/col-group';
|
|
8
9
|
import { getTableRoleProps } from './table-role';
|
|
9
10
|
import Thead from './thead';
|
|
10
|
-
import { useStickyHeader } from './use-sticky-header';
|
|
11
11
|
import styles from './styles.css.js';
|
|
12
12
|
export default forwardRef(StickyHeader);
|
|
13
13
|
function StickyHeader({ variant, theadProps, wrapperRef, theadRef, secondaryWrapperRef, tableRef, onScroll, tableHasHeader, contentDensity, tableRole, hasGroupedColumns, columnDefinitions, hasSelection, }, ref) {
|
|
@@ -15,7 +15,13 @@ function StickyHeader({ variant, theadProps, wrapperRef, theadRef, secondaryWrap
|
|
|
15
15
|
const secondaryTableRef = useRef(null);
|
|
16
16
|
const { isStuck } = useContext(StickyHeaderContext);
|
|
17
17
|
const [focusedComponent, setFocusedComponent] = useState(null);
|
|
18
|
-
const { scrollToRow, scrollToTop } =
|
|
18
|
+
const { scrollToRow, scrollToTop } = useStickyHeaderCopy({
|
|
19
|
+
tableRef,
|
|
20
|
+
theadRef,
|
|
21
|
+
secondaryTheadRef,
|
|
22
|
+
secondaryTableRef,
|
|
23
|
+
tableWrapperRef: wrapperRef,
|
|
24
|
+
});
|
|
19
25
|
useImperativeHandle(ref, () => ({
|
|
20
26
|
scrollToTop,
|
|
21
27
|
scrollToRow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sticky-header.js","sourceRoot":"","sources":["../../../src/table/sticky-header.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAa,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAqB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"sticky-header.js","sourceRoot":"","sources":["../../../src/table/sticky-header.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAa,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAqB,MAAM,SAAS,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAwBrC,eAAe,UAAU,CAAC,YAAY,CAAC,CAAC;AAExC,SAAS,YAAY,CACnB,EACE,OAAO,EACP,UAAU,EACV,UAAU,EACV,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,cAAc,EACd,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,GACM,EACpB,GAA+B;IAE/B,MAAM,iBAAiB,GAAG,MAAM,CAAsB,IAAI,CAAC,CAAC;IAC5D,MAAM,iBAAiB,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;IACzD,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAEpD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAgB,IAAI,CAAC,CAAC;IAC9E,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,mBAAmB,CAAC;QACvD,QAAQ;QACR,QAAQ;QACR,iBAAiB;QACjB,iBAAiB;QACjB,eAAe,EAAE,UAAU;KAC5B,CAAC,CAAC;IAEH,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,WAAW;QACX,WAAW;QACX,QAAQ,EAAE,mBAAmB;KAC9B,CAAC,CAAC,CAAC;IAEJ,+EAA+E;IAC/E,qFAAqF;IACrF,uDAAuD;IAEvD,OAAO,CACL,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC,WAAW,OAAO,EAAE,CAAC,EAAE;YACxE,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,EAAE,cAAc;SAC7C,CAAC,iBACW,IAAI;QACjB,oFAAoF;QACpF,mCAAmC;QACnC,QAAQ,EAAE,CAAC,CAAC,EACZ,GAAG,EAAE,mBAAmB,EACxB,QAAQ,EAAE,QAAQ;QAElB,+BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,KAAK,EACZ,MAAM,CAAC,oBAAoB,CAAC,EAC5B,iBAAiB,IAAI,MAAM,CAAC,oBAAoB,CAAC,EACjD,cAAc,KAAK,SAAS,IAAI,yBAAyB,CAAC,eAAe,CAAC,CAC3E,EACD,GAAG,EAAE,iBAAiB,KAClB,iBAAiB,CAAC,EAAE,SAAS,EAAE,CAAC;YAEnC,iBAAiB,IAAI,iBAAiB,IAAI,CACzC,oBAAC,aAAa,IACZ,wBAAwB,EAAE,iBAAiB,EAC3C,YAAY,EAAE,CAAC,CAAC,YAAY,EAC5B,MAAM,EAAE,IAAI,EACZ,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,GAC/C,CACH;YACD,oBAAC,KAAK,IACJ,GAAG,EAAE,iBAAiB,EACtB,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,OAAO,EACd,gBAAgB,EAAE,gBAAgB,KAC9B,UAAU,GACd,CACI,CACJ,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { forwardRef, useContext, useImperativeHandle, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { StickyHeaderContext } from '../container/use-sticky-header';\nimport { useStickyHeaderCopy } from '../internal/components/sticky-header/use-sticky-header-copy';\nimport { getVisualContextClassname } from '../internal/components/visual-context';\nimport { TableColGroup } from './column-groups/col-group';\nimport { TableProps } from './interfaces';\nimport { getTableRoleProps, TableRole } from './table-role';\nimport Thead, { TheadProps } from './thead';\n\nimport styles from './styles.css.js';\n\nexport interface StickyHeaderRef {\n scrollToTop(): void;\n scrollToRow(node: null | HTMLElement): void;\n setFocus(focusId: null | string): void;\n}\n\ninterface StickyHeaderProps {\n variant: TableProps.Variant;\n theadProps: TheadProps;\n wrapperRef: React.RefObject<HTMLDivElement>;\n theadRef: React.RefObject<HTMLTableRowElement>;\n secondaryWrapperRef: React.RefObject<HTMLDivElement>;\n tableRef: React.RefObject<HTMLTableElement>;\n onScroll?: React.UIEventHandler<HTMLDivElement>;\n contentDensity?: 'comfortable' | 'compact';\n tableHasHeader?: boolean;\n tableRole: TableRole;\n hasGroupedColumns?: boolean;\n columnDefinitions?: ReadonlyArray<TableProps.ColumnDefinition<any>>;\n hasSelection?: boolean;\n}\n\nexport default forwardRef(StickyHeader);\n\nfunction StickyHeader(\n {\n variant,\n theadProps,\n wrapperRef,\n theadRef,\n secondaryWrapperRef,\n tableRef,\n onScroll,\n tableHasHeader,\n contentDensity,\n tableRole,\n hasGroupedColumns,\n columnDefinitions,\n hasSelection,\n }: StickyHeaderProps,\n ref: React.Ref<StickyHeaderRef>\n) {\n const secondaryTheadRef = useRef<HTMLTableRowElement>(null);\n const secondaryTableRef = useRef<HTMLTableElement>(null);\n const { isStuck } = useContext(StickyHeaderContext);\n\n const [focusedComponent, setFocusedComponent] = useState<null | string>(null);\n const { scrollToRow, scrollToTop } = useStickyHeaderCopy({\n tableRef,\n theadRef,\n secondaryTheadRef,\n secondaryTableRef,\n tableWrapperRef: wrapperRef,\n });\n\n useImperativeHandle(ref, () => ({\n scrollToTop,\n scrollToRow,\n setFocus: setFocusedComponent,\n }));\n\n // For grouped columns, the secondary table needs a <colgroup> to define column\n // widths. Without it, table-layout:fixed uses the first row (which has colspan group\n // headers) to determine widths — giving wrong results.\n\n return (\n <div\n className={clsx(styles['header-secondary'], styles[`variant-${variant}`], {\n [styles['table-has-header']]: tableHasHeader,\n })}\n aria-hidden={true}\n // Prevents receiving focus in Firefox. Focus on the overflowing table is sufficient\n // to scroll the table horizontally\n tabIndex={-1}\n ref={secondaryWrapperRef}\n onScroll={onScroll}\n >\n <table\n className={clsx(\n styles.table,\n styles['table-layout-fixed'],\n hasGroupedColumns && styles['has-grouped-header'],\n contentDensity === 'compact' && getVisualContextClassname('compact-table')\n )}\n ref={secondaryTableRef}\n {...getTableRoleProps({ tableRole })}\n >\n {hasGroupedColumns && columnDefinitions && (\n <TableColGroup\n visibleColumnDefinitions={columnDefinitions}\n hasSelection={!!hasSelection}\n sticky={true}\n selectionColumnId={theadProps.selectionColumnId}\n />\n )}\n <Thead\n ref={secondaryTheadRef}\n sticky={true}\n stuck={isStuck}\n focusedComponent={focusedComponent}\n {...theadProps}\n />\n </table>\n </div>\n );\n}\n"]}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"tools": "
|
|
6
|
-
"tools-filtering": "awsui_tools-
|
|
7
|
-
"tools-align-right": "awsui_tools-align-
|
|
8
|
-
"tools-clear-sort": "awsui_tools-clear-
|
|
9
|
-
"tools-pagination": "awsui_tools-
|
|
10
|
-
"tools-preferences": "awsui_tools-
|
|
11
|
-
"tools-small": "awsui_tools-
|
|
12
|
-
"table": "
|
|
13
|
-
"table-layout-fixed": "awsui_table-layout-
|
|
14
|
-
"wrapper": "
|
|
15
|
-
"variant-stacked": "awsui_variant-
|
|
16
|
-
"wrapper-content-measure": "awsui_wrapper-content-
|
|
17
|
-
"variant-container": "awsui_variant-
|
|
18
|
-
"has-footer": "awsui_has-
|
|
19
|
-
"has-header": "awsui_has-
|
|
20
|
-
"cell-merged": "awsui_cell-
|
|
21
|
-
"cell-merged-content": "awsui_cell-merged-
|
|
22
|
-
"empty": "
|
|
23
|
-
"loading": "
|
|
24
|
-
"selection-control": "awsui_selection-
|
|
25
|
-
"selection-control-header": "awsui_selection-control-
|
|
26
|
-
"selection-control-content-spans-rows": "awsui_selection-control-content-spans-
|
|
27
|
-
"header-secondary": "awsui_header-
|
|
28
|
-
"variant-full-page": "awsui_variant-full-
|
|
29
|
-
"table-has-header": "awsui_table-has-
|
|
30
|
-
"header-controls": "awsui_header-
|
|
31
|
-
"variant-embedded": "awsui_variant-
|
|
32
|
-
"variant-borderless": "awsui_variant-
|
|
33
|
-
"footer-wrapper": "awsui_footer-
|
|
34
|
-
"footer": "
|
|
35
|
-
"footer-with-pagination": "awsui_footer-with-
|
|
36
|
-
"footer-pagination": "awsui_footer-
|
|
37
|
-
"thead-active": "awsui_thead-
|
|
38
|
-
"row": "
|
|
39
|
-
"row-selected": "awsui_row-
|
|
40
|
-
"skeleton-loading-cell": "awsui_skeleton-loading-
|
|
4
|
+
"root": "awsui_root_wih1l_139hk_13",
|
|
5
|
+
"tools": "awsui_tools_wih1l_139hk_24",
|
|
6
|
+
"tools-filtering": "awsui_tools-filtering_wih1l_139hk_33",
|
|
7
|
+
"tools-align-right": "awsui_tools-align-right_wih1l_139hk_46",
|
|
8
|
+
"tools-clear-sort": "awsui_tools-clear-sort_wih1l_139hk_50",
|
|
9
|
+
"tools-pagination": "awsui_tools-pagination_wih1l_139hk_53",
|
|
10
|
+
"tools-preferences": "awsui_tools-preferences_wih1l_139hk_53",
|
|
11
|
+
"tools-small": "awsui_tools-small_wih1l_139hk_59",
|
|
12
|
+
"table": "awsui_table_wih1l_139hk_63",
|
|
13
|
+
"table-layout-fixed": "awsui_table-layout-fixed_wih1l_139hk_70",
|
|
14
|
+
"wrapper": "awsui_wrapper_wih1l_139hk_74",
|
|
15
|
+
"variant-stacked": "awsui_variant-stacked_wih1l_139hk_81",
|
|
16
|
+
"wrapper-content-measure": "awsui_wrapper-content-measure_wih1l_139hk_81",
|
|
17
|
+
"variant-container": "awsui_variant-container_wih1l_139hk_81",
|
|
18
|
+
"has-footer": "awsui_has-footer_wih1l_139hk_84",
|
|
19
|
+
"has-header": "awsui_has-header_wih1l_139hk_87",
|
|
20
|
+
"cell-merged": "awsui_cell-merged_wih1l_139hk_104",
|
|
21
|
+
"cell-merged-content": "awsui_cell-merged-content_wih1l_139hk_116",
|
|
22
|
+
"empty": "awsui_empty_wih1l_139hk_132",
|
|
23
|
+
"loading": "awsui_loading_wih1l_139hk_136",
|
|
24
|
+
"selection-control": "awsui_selection-control_wih1l_139hk_145",
|
|
25
|
+
"selection-control-header": "awsui_selection-control-header_wih1l_139hk_152",
|
|
26
|
+
"selection-control-content-spans-rows": "awsui_selection-control-content-spans-rows_wih1l_139hk_157",
|
|
27
|
+
"header-secondary": "awsui_header-secondary_wih1l_139hk_164",
|
|
28
|
+
"variant-full-page": "awsui_variant-full-page_wih1l_139hk_178",
|
|
29
|
+
"table-has-header": "awsui_table-has-header_wih1l_139hk_184",
|
|
30
|
+
"header-controls": "awsui_header-controls_wih1l_139hk_192",
|
|
31
|
+
"variant-embedded": "awsui_variant-embedded_wih1l_139hk_204",
|
|
32
|
+
"variant-borderless": "awsui_variant-borderless_wih1l_139hk_204",
|
|
33
|
+
"footer-wrapper": "awsui_footer-wrapper_wih1l_139hk_209",
|
|
34
|
+
"footer": "awsui_footer_wih1l_139hk_209",
|
|
35
|
+
"footer-with-pagination": "awsui_footer-with-pagination_wih1l_139hk_217",
|
|
36
|
+
"footer-pagination": "awsui_footer-pagination_wih1l_139hk_225",
|
|
37
|
+
"thead-active": "awsui_thead-active_wih1l_139hk_229",
|
|
38
|
+
"row": "awsui_row_wih1l_139hk_230",
|
|
39
|
+
"row-selected": "awsui_row-selected_wih1l_139hk_231",
|
|
40
|
+
"skeleton-loading-cell": "awsui_skeleton-loading-cell_wih1l_139hk_235"
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -10,7 +10,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
10
10
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
11
|
SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
*/
|
|
13
|
-
.
|
|
13
|
+
.awsui_root_wih1l_139hk_13:not(#\9) {
|
|
14
14
|
font-size: var(--font-size-body-m-tq5a14, 14px);
|
|
15
15
|
line-height: var(--line-height-body-m-5xw6xo, 22px);
|
|
16
16
|
color: var(--color-text-body-default-b2us04, #16191f);
|
|
@@ -21,7 +21,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
21
21
|
inline-size: 100%;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.awsui_tools_wih1l_139hk_24:not(#\9) {
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: flex-end;
|
|
27
27
|
flex-wrap: wrap;
|
|
@@ -30,68 +30,68 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
30
30
|
padding-block-end: var(--space-table-header-tools-bottom-37d7z7, 4px);
|
|
31
31
|
padding-inline: 0;
|
|
32
32
|
}
|
|
33
|
-
.awsui_tools-
|
|
33
|
+
.awsui_tools-filtering_wih1l_139hk_33:not(#\9) {
|
|
34
34
|
max-inline-size: 100%;
|
|
35
35
|
}
|
|
36
36
|
@supports (flex-basis: fit-content) {
|
|
37
|
-
.awsui_tools-
|
|
37
|
+
.awsui_tools-filtering_wih1l_139hk_33:not(#\9) {
|
|
38
38
|
flex: 1 1 fit-content;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
@supports not (flex-basis: fit-content) {
|
|
42
|
-
.awsui_tools-
|
|
42
|
+
.awsui_tools-filtering_wih1l_139hk_33:not(#\9) {
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
.awsui_tools-align-
|
|
46
|
+
.awsui_tools-align-right_wih1l_139hk_46:not(#\9) {
|
|
47
47
|
display: flex;
|
|
48
48
|
margin-inline-start: auto;
|
|
49
49
|
}
|
|
50
|
-
.awsui_tools-clear-
|
|
50
|
+
.awsui_tools-clear-sort_wih1l_139hk_50:not(#\9) {
|
|
51
51
|
align-self: center;
|
|
52
52
|
}
|
|
53
|
-
.awsui_tools-clear-
|
|
53
|
+
.awsui_tools-clear-sort_wih1l_139hk_50 + .awsui_tools-pagination_wih1l_139hk_53:not(#\9), .awsui_tools-clear-sort_wih1l_139hk_50 + .awsui_tools-preferences_wih1l_139hk_53:not(#\9), .awsui_tools-pagination_wih1l_139hk_53 + .awsui_tools-preferences_wih1l_139hk_53:not(#\9) {
|
|
54
54
|
border-inline-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-divider-default-diwd4w, #eaeded);
|
|
55
55
|
box-sizing: border-box;
|
|
56
56
|
margin-inline-start: var(--space-xs-m9b7jf, 8px);
|
|
57
57
|
padding-inline-start: var(--space-xs-m9b7jf, 8px);
|
|
58
58
|
}
|
|
59
|
-
.awsui_tools-
|
|
59
|
+
.awsui_tools-small_wih1l_139hk_59 > .awsui_tools-filtering_wih1l_139hk_33:not(#\9) {
|
|
60
60
|
flex-basis: 100%;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.awsui_table_wih1l_139hk_63:not(#\9) {
|
|
64
64
|
inline-size: 100%;
|
|
65
65
|
border-spacing: 0;
|
|
66
66
|
position: relative;
|
|
67
67
|
box-sizing: border-box;
|
|
68
68
|
font-size: var(--font-size-body-m-tq5a14, 14px);
|
|
69
69
|
}
|
|
70
|
-
.awsui_table-layout-
|
|
70
|
+
.awsui_table-layout-fixed_wih1l_139hk_70:not(#\9) {
|
|
71
71
|
table-layout: fixed;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.awsui_wrapper_wih1l_139hk_74:not(#\9) {
|
|
75
75
|
position: relative;
|
|
76
76
|
box-sizing: border-box;
|
|
77
77
|
inline-size: 100%;
|
|
78
78
|
overflow-x: auto;
|
|
79
79
|
scrollbar-width: none; /* Hide scrollbar in Firefox */
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.awsui_wrapper_wih1l_139hk_74.awsui_variant-stacked_wih1l_139hk_81 > .awsui_table_wih1l_139hk_63:not(#\9), .awsui_wrapper_wih1l_139hk_74.awsui_variant-stacked_wih1l_139hk_81 > .awsui_wrapper-content-measure_wih1l_139hk_81:not(#\9), .awsui_wrapper_wih1l_139hk_74.awsui_variant-container_wih1l_139hk_81 > .awsui_table_wih1l_139hk_63:not(#\9), .awsui_wrapper_wih1l_139hk_74.awsui_variant-container_wih1l_139hk_81 > .awsui_wrapper-content-measure_wih1l_139hk_81:not(#\9) {
|
|
82
82
|
padding-inline: var(--space-table-horizontal-o0ypm8, 0px);
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.awsui_wrapper_wih1l_139hk_74.awsui_variant-stacked_wih1l_139hk_81:not(#\9):not(.awsui_has-footer_wih1l_139hk_84), .awsui_wrapper_wih1l_139hk_74.awsui_variant-container_wih1l_139hk_81:not(#\9):not(.awsui_has-footer_wih1l_139hk_84) {
|
|
85
85
|
padding-block-end: var(--space-table-content-bottom-88oqzz, 0px);
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
.awsui_wrapper_wih1l_139hk_74:not(#\9):not(.awsui_has-header_wih1l_139hk_87) {
|
|
88
88
|
border-start-end-radius: var(--border-radius-container-33hhdh, 0px);
|
|
89
89
|
border-start-start-radius: var(--border-radius-container-33hhdh, 0px);
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.awsui_wrapper_wih1l_139hk_74:not(#\9)::-webkit-scrollbar {
|
|
92
92
|
display: none; /* Hide scrollbar in Safari and Chrome */
|
|
93
93
|
}
|
|
94
|
-
body[data-awsui-focus-visible=true] .
|
|
94
|
+
body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_139hk_74:not(#\9):focus {
|
|
95
95
|
outline: 2px dotted transparent;
|
|
96
96
|
outline-offset: 2px;
|
|
97
97
|
border-start-start-radius: var(--border-radius-container-33hhdh, 0px);
|
|
@@ -101,19 +101,19 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_1pl79_74:not(#\9):focus
|
|
|
101
101
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-sewkzn, #0073bb);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.awsui_cell-
|
|
104
|
+
.awsui_cell-merged_wih1l_139hk_104:not(#\9) {
|
|
105
105
|
text-align: center;
|
|
106
106
|
padding-block: 0;
|
|
107
107
|
padding-inline: 0;
|
|
108
108
|
}
|
|
109
|
-
.awsui_cell-
|
|
109
|
+
.awsui_cell-merged_wih1l_139hk_104.awsui_has-footer_wih1l_139hk_84:not(#\9) {
|
|
110
110
|
/*
|
|
111
111
|
Add a bottom border to the body cell of an empty table as a separator between the
|
|
112
112
|
table and the footer
|
|
113
113
|
*/
|
|
114
114
|
border-block-end: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-divider-default-diwd4w, #eaeded);
|
|
115
115
|
}
|
|
116
|
-
.awsui_cell-merged-
|
|
116
|
+
.awsui_cell-merged-content_wih1l_139hk_116:not(#\9) {
|
|
117
117
|
box-sizing: border-box;
|
|
118
118
|
inline-size: 100%;
|
|
119
119
|
padding-block-start: var(--space-scaled-m-lfeh3i, 16px);
|
|
@@ -121,7 +121,7 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_1pl79_74:not(#\9):focus
|
|
|
121
121
|
padding-inline: var(--space-l-dpyxli, 20px);
|
|
122
122
|
}
|
|
123
123
|
@supports (position: sticky) {
|
|
124
|
-
.awsui_cell-merged-
|
|
124
|
+
.awsui_cell-merged-content_wih1l_139hk_116:not(#\9) {
|
|
125
125
|
position: sticky;
|
|
126
126
|
inset-inline-start: 0;
|
|
127
127
|
margin-block: 0;
|
|
@@ -129,11 +129,11 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_1pl79_74:not(#\9):focus
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.awsui_empty_wih1l_139hk_132:not(#\9) {
|
|
133
133
|
color: var(--color-text-empty-y81uqw, #687078);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.
|
|
136
|
+
.awsui_loading_wih1l_139hk_136:not(#\9) {
|
|
137
137
|
/* used in test-utils */
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -142,26 +142,26 @@ The min/max/width token values in Visual Refresh should align
|
|
|
142
142
|
the table header and body cells selection control with the table
|
|
143
143
|
filter search icon.
|
|
144
144
|
*/
|
|
145
|
-
.awsui_selection-
|
|
145
|
+
.awsui_selection-control_wih1l_139hk_145:not(#\9) {
|
|
146
146
|
box-sizing: border-box;
|
|
147
147
|
max-inline-size: var(--size-table-selection-horizontal-uadoa1, 54px);
|
|
148
148
|
min-inline-size: var(--size-table-selection-horizontal-uadoa1, 54px);
|
|
149
149
|
position: relative;
|
|
150
150
|
inline-size: var(--size-table-selection-horizontal-uadoa1, 54px);
|
|
151
151
|
}
|
|
152
|
-
.awsui_selection-
|
|
152
|
+
.awsui_selection-control_wih1l_139hk_145.awsui_selection-control-header_wih1l_139hk_152:not(#\9) {
|
|
153
153
|
padding-block: var(--space-scaled-xs-pajbd1, 8px);
|
|
154
154
|
padding-inline: var(--space-scaled-l-33ruz6, 20px);
|
|
155
155
|
border-inline-start: var(--border-width-item-selected-l41fek, 1px) solid transparent;
|
|
156
156
|
}
|
|
157
|
-
.awsui_selection-control-content-spans-
|
|
157
|
+
.awsui_selection-control-content-spans-rows_wih1l_139hk_157:not(#\9) {
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
160
160
|
justify-content: flex-end;
|
|
161
161
|
block-size: 100%;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.awsui_header-
|
|
164
|
+
.awsui_header-secondary_wih1l_139hk_164:not(#\9) {
|
|
165
165
|
overflow: auto;
|
|
166
166
|
scrollbar-width: none; /* Firefox */
|
|
167
167
|
box-sizing: border-box;
|
|
@@ -172,49 +172,49 @@ filter search icon.
|
|
|
172
172
|
border-end-end-radius: 0;
|
|
173
173
|
background: var(--color-background-table-header-pgyagt, #fafafa);
|
|
174
174
|
}
|
|
175
|
-
.awsui_header-
|
|
175
|
+
.awsui_header-secondary_wih1l_139hk_164:not(#\9)::-webkit-scrollbar {
|
|
176
|
+
display: none; /* Safari and Chrome */
|
|
177
|
+
}
|
|
178
|
+
.awsui_header-secondary_wih1l_139hk_164.awsui_variant-full-page_wih1l_139hk_178:not(#\9) {
|
|
176
179
|
background: var(--color-background-layout-main-y4565g, #f2f3f3);
|
|
177
180
|
}
|
|
178
|
-
.awsui_header-
|
|
181
|
+
.awsui_header-secondary_wih1l_139hk_164.awsui_variant-stacked_wih1l_139hk_81 > .awsui_table_wih1l_139hk_63:not(#\9), .awsui_header-secondary_wih1l_139hk_164.awsui_variant-container_wih1l_139hk_81 > .awsui_table_wih1l_139hk_63:not(#\9) {
|
|
179
182
|
padding-inline: var(--space-table-horizontal-o0ypm8, 0px);
|
|
180
183
|
}
|
|
181
|
-
.awsui_header-
|
|
184
|
+
.awsui_header-secondary_wih1l_139hk_164.awsui_variant-stacked_wih1l_139hk_81:not(#\9):not(.awsui_table-has-header_wih1l_139hk_184), .awsui_header-secondary_wih1l_139hk_164.awsui_variant-container_wih1l_139hk_81:not(#\9):not(.awsui_table-has-header_wih1l_139hk_184) {
|
|
182
185
|
border-start-start-radius: var(--border-radius-container-33hhdh, 0px);
|
|
183
186
|
border-start-end-radius: var(--border-radius-container-33hhdh, 0px);
|
|
184
187
|
}
|
|
185
|
-
.awsui_header-
|
|
186
|
-
display: none; /* Safari and Chrome */
|
|
187
|
-
}
|
|
188
|
-
.awsui_header-secondary_wih1l_1pl79_164.awsui_table-has-header_wih1l_1pl79_181:not(#\9) {
|
|
188
|
+
.awsui_header-secondary_wih1l_139hk_164.awsui_table-has-header_wih1l_139hk_184:not(#\9) {
|
|
189
189
|
border-block-start: var(--border-divider-list-width-2qbfmz, 1px) solid var(--color-border-container-divider-rkhoab, #eaeded);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.awsui_header-
|
|
192
|
+
.awsui_header-controls_wih1l_139hk_192:not(#\9) {
|
|
193
193
|
padding-block: var(--space-container-header-top-3txhx4, 12px) var(--space-container-header-bottom-9elagw, 12px);
|
|
194
194
|
}
|
|
195
|
-
.awsui_header-
|
|
195
|
+
.awsui_header-controls_wih1l_139hk_192:not(#\9):not(.awsui_variant-full-page_wih1l_139hk_178) {
|
|
196
196
|
--awsui-inline-label-background-color-8i8exb: var(--color-background-table-header-pgyagt, #fafafa);
|
|
197
197
|
}
|
|
198
|
-
.awsui_header-
|
|
198
|
+
.awsui_header-controls_wih1l_139hk_192.awsui_variant-full-page_wih1l_139hk_178:not(#\9) {
|
|
199
199
|
padding-block: 0 calc(var(--space-container-header-bottom-9elagw, 12px) + var(--space-table-header-tools-full-page-bottom-g1a6as, 4px));
|
|
200
200
|
}
|
|
201
|
-
.awsui_header-
|
|
201
|
+
.awsui_header-controls_wih1l_139hk_192.awsui_variant-stacked_wih1l_139hk_81:not(#\9), .awsui_header-controls_wih1l_139hk_192.awsui_variant-container_wih1l_139hk_81:not(#\9) {
|
|
202
202
|
padding-inline: calc(var(--space-table-horizontal-o0ypm8, 0px) + var(--space-table-header-horizontal-y8sy8d, 20px));
|
|
203
203
|
}
|
|
204
|
-
.awsui_header-
|
|
204
|
+
.awsui_header-controls_wih1l_139hk_192.awsui_variant-embedded_wih1l_139hk_204:not(#\9), .awsui_header-controls_wih1l_139hk_192.awsui_variant-borderless_wih1l_139hk_204:not(#\9) {
|
|
205
205
|
padding-inline: var(--space-table-header-horizontal-y8sy8d, 20px);
|
|
206
206
|
padding-block-start: var(--space-table-embedded-header-top-bnncuk, 12px);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
.awsui_footer-
|
|
209
|
+
.awsui_footer-wrapper_wih1l_139hk_209.awsui_variant-stacked_wih1l_139hk_81:not(#\9), .awsui_footer-wrapper_wih1l_139hk_209.awsui_variant-container_wih1l_139hk_81:not(#\9) {
|
|
210
210
|
padding-inline: var(--space-table-horizontal-o0ypm8, 0px);
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.
|
|
213
|
+
.awsui_footer_wih1l_139hk_209:not(#\9) {
|
|
214
214
|
padding-block: var(--space-scaled-s-2crg2b, 12px);
|
|
215
215
|
padding-inline: var(--space-table-footer-horizontal-81b00d, 20px);
|
|
216
216
|
}
|
|
217
|
-
.awsui_footer-with-
|
|
217
|
+
.awsui_footer-with-pagination_wih1l_139hk_217:not(#\9) {
|
|
218
218
|
display: flex;
|
|
219
219
|
flex-direction: row;
|
|
220
220
|
justify-content: space-between;
|
|
@@ -222,17 +222,17 @@ filter search icon.
|
|
|
222
222
|
flex-wrap: wrap;
|
|
223
223
|
gap: var(--space-scaled-s-2crg2b, 12px);
|
|
224
224
|
}
|
|
225
|
-
.awsui_footer-
|
|
225
|
+
.awsui_footer-pagination_wih1l_139hk_225:not(#\9) {
|
|
226
226
|
margin-inline-start: auto;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
.awsui_thead-
|
|
230
|
-
.
|
|
231
|
-
.awsui_row-
|
|
229
|
+
.awsui_thead-active_wih1l_139hk_229:not(#\9),
|
|
230
|
+
.awsui_row_wih1l_139hk_230:not(#\9),
|
|
231
|
+
.awsui_row-selected_wih1l_139hk_231:not(#\9) {
|
|
232
232
|
/* used in test-utils */
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
.awsui_skeleton-loading-
|
|
235
|
+
.awsui_skeleton-loading-cell_wih1l_139hk_235:not(#\9) {
|
|
236
236
|
padding-block: 0;
|
|
237
237
|
padding-inline: 0;
|
|
238
238
|
border-block-end: none;
|