@cloudscape-design/components 3.0.360 → 3.0.362
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/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +30 -30
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +4 -5
- package/app-layout/index.js.map +1 -1
- package/app-layout/utils/use-content-width.js +1 -1
- package/app-layout/utils/use-content-width.js.map +1 -1
- package/app-layout/utils/use-observed-element.js +1 -1
- package/app-layout/utils/use-observed-element.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +69 -69
- package/app-layout/visual-refresh/styles.scoped.css +169 -169
- package/app-layout/visual-refresh/styles.selectors.js +69 -69
- package/area-chart/model/use-chart-model.d.ts.map +1 -1
- package/area-chart/model/use-chart-model.js +2 -2
- package/area-chart/model/use-chart-model.js.map +1 -1
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +10 -10
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +25 -25
- package/attribute-editor/styles.selectors.js +14 -14
- package/button-dropdown/category-elements/styles.css.js +13 -13
- package/button-dropdown/category-elements/styles.scoped.css +27 -27
- package/button-dropdown/category-elements/styles.selectors.js +13 -13
- package/button-dropdown/item-element/styles.css.js +15 -15
- package/button-dropdown/item-element/styles.scoped.css +19 -19
- package/button-dropdown/item-element/styles.selectors.js +15 -15
- package/button-dropdown/styles.css.js +14 -14
- package/button-dropdown/styles.scoped.css +22 -22
- package/button-dropdown/styles.selectors.js +14 -14
- package/code-editor/listeners.js +2 -2
- package/code-editor/listeners.js.map +1 -1
- package/code-editor/resizable-box/index.js +2 -2
- package/code-editor/resizable-box/index.js.map +1 -1
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +130 -130
- package/code-editor/styles.selectors.js +32 -32
- package/collection-preferences/content-display/styles.css.js +11 -11
- package/collection-preferences/content-display/styles.scoped.css +18 -18
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +47 -47
- package/collection-preferences/styles.selectors.js +37 -37
- package/column-layout/flexible-column-layout/styles.css.js +5 -5
- package/column-layout/flexible-column-layout/styles.scoped.css +5 -5
- package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +46 -46
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +28 -28
- package/container/styles.scoped.css +55 -55
- package/container/styles.selectors.js +28 -28
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +47 -47
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/styles.css.js +29 -29
- package/expandable-section/styles.scoped.css +66 -66
- package/expandable-section/styles.selectors.js +29 -29
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +30 -30
- package/form-field/styles.selectors.js +19 -19
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +66 -66
- package/help-panel/styles.selectors.js +4 -4
- package/internal/base-component/styles.scoped.css +81 -57
- package/internal/components/dark-ribbon/index.js +2 -2
- package/internal/components/dark-ribbon/index.js.map +1 -1
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +4 -4
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/options-list/index.d.ts.map +1 -1
- package/internal/components/options-list/index.js +2 -2
- package/internal/components/options-list/index.js.map +1 -1
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +31 -31
- package/internal/components/selectable-item/styles.selectors.js +16 -16
- package/internal/components/token-list/styles.css.js +9 -9
- package/internal/components/token-list/styles.scoped.css +22 -22
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.js +1 -1
- package/internal/generated/theming/index.cjs +25 -23
- package/internal/generated/theming/index.js +25 -23
- package/internal/hooks/container-queries/index.d.ts +0 -1
- package/internal/hooks/container-queries/index.d.ts.map +1 -1
- package/internal/hooks/container-queries/index.js +0 -1
- package/internal/hooks/container-queries/index.js.map +1 -1
- package/internal/hooks/container-queries/use-height-measure.js +1 -1
- package/internal/hooks/container-queries/use-height-measure.js.map +1 -1
- package/internal/hooks/use-dynamic-overlap/index.js +1 -1
- package/internal/hooks/use-dynamic-overlap/index.js.map +1 -1
- package/internal/hooks/use-mobile/index.js +1 -1
- package/internal/hooks/use-mobile/index.js.map +1 -1
- package/internal/hooks/use-mouse-down-target.js +1 -1
- package/internal/hooks/use-mouse-down-target.js.map +1 -1
- package/internal/hooks/use-mutation-observer/index.d.ts.map +1 -1
- package/internal/hooks/use-mutation-observer/index.js +2 -3
- package/internal/hooks/use-mutation-observer/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +39 -39
- package/modal/styles.selectors.js +23 -23
- package/package.json +1 -1
- package/pie-chart/labels.js +1 -1
- package/pie-chart/labels.js.map +1 -1
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +43 -43
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/container.d.ts.map +1 -1
- package/popover/container.js +1 -1
- package/popover/container.js.map +1 -1
- package/property-filter/styles.css.js +29 -29
- package/property-filter/styles.scoped.css +33 -33
- package/property-filter/styles.selectors.js +29 -29
- package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/s3-resource-selector/s3-in-context/styles.scoped.css +10 -10
- package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/s3-resource-selector/s3-in-context/use-versions-fetch.d.ts.map +1 -1
- package/s3-resource-selector/s3-in-context/use-versions-fetch.js +2 -2
- package/s3-resource-selector/s3-in-context/use-versions-fetch.js.map +1 -1
- package/s3-resource-selector/s3-modal/basic-table.d.ts.map +1 -1
- package/s3-resource-selector/s3-modal/basic-table.js +2 -2
- package/s3-resource-selector/s3-modal/basic-table.js.map +1 -1
- package/side-navigation/styles.css.js +28 -28
- package/side-navigation/styles.scoped.css +43 -43
- package/side-navigation/styles.selectors.js +28 -28
- package/split-panel/bottom.js +1 -1
- package/split-panel/bottom.js.map +1 -1
- package/split-panel/styles.css.js +56 -56
- package/split-panel/styles.scoped.css +85 -85
- package/split-panel/styles.selectors.js +56 -56
- package/table/body-cell/click-away.js +2 -2
- package/table/body-cell/click-away.js.map +1 -1
- package/table/body-cell/styles.css.js +28 -28
- package/table/body-cell/styles.scoped.css +76 -76
- package/table/body-cell/styles.selectors.js +28 -28
- package/table/header-cell/styles.css.js +24 -24
- package/table/header-cell/styles.scoped.css +43 -43
- package/table/header-cell/styles.selectors.js +24 -24
- package/table/resizer/index.js +3 -3
- package/table/resizer/index.js.map +1 -1
- package/table/sticky-columns/use-sticky-columns.d.ts.map +1 -1
- package/table/sticky-columns/use-sticky-columns.js +2 -3
- package/table/sticky-columns/use-sticky-columns.js.map +1 -1
- package/table/sticky-scrollbar/styles.css.js +6 -6
- package/table/sticky-scrollbar/styles.scoped.css +9 -9
- package/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/table/styles.css.js +34 -34
- package/table/styles.scoped.css +42 -42
- package/table/styles.selectors.js +34 -34
- package/table/use-sticky-header.js +1 -1
- package/table/use-sticky-header.js.map +1 -1
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +46 -46
- package/tabs/styles.selectors.js +21 -21
- package/tag-editor/index.d.ts.map +1 -1
- package/tag-editor/index.js +6 -6
- package/tag-editor/index.js.map +1 -1
- package/tiles/styles.css.js +29 -29
- package/tiles/styles.scoped.css +73 -73
- package/tiles/styles.selectors.js +29 -29
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +43 -43
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +73 -73
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +23 -23
- package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +28 -28
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/wizard/styles.css.js +31 -31
- package/wizard/styles.scoped.css +63 -63
- package/wizard/styles.selectors.js +31 -31
- package/internal/hooks/container-queries/use-resize-observer.d.ts +0 -21
- package/internal/hooks/container-queries/use-resize-observer.d.ts.map +0 -1
- package/internal/hooks/container-queries/use-resize-observer.js +0 -54
- package/internal/hooks/container-queries/use-resize-observer.js.map +0 -1
- package/internal/hooks/container-queries/utils.d.ts +0 -4
- package/internal/hooks/container-queries/utils.d.ts.map +0 -1
- package/internal/hooks/container-queries/utils.js +0 -10
- package/internal/hooks/container-queries/utils.js.map +0 -1
- package/internal/hooks/use-singleton-handler/index.d.ts +0 -11
- package/internal/hooks/use-singleton-handler/index.d.ts.map +0 -1
- package/internal/hooks/use-singleton-handler/index.js +0 -45
- package/internal/hooks/use-singleton-handler/index.js.map +0 -1
- package/internal/hooks/use-stable-event-handler/index.d.ts +0 -10
- package/internal/hooks/use-stable-event-handler/index.d.ts.map +0 -1
- package/internal/hooks/use-stable-event-handler/index.js +0 -19
- package/internal/hooks/use-stable-event-handler/index.js.map +0 -1
package/table/styles.css.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
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-pagination": "awsui_tools-
|
|
9
|
-
"tools-preferences": "awsui_tools-
|
|
10
|
-
"tools-small": "awsui_tools-
|
|
11
|
-
"table": "
|
|
12
|
-
"table-layout-fixed": "awsui_table-layout-
|
|
13
|
-
"wrapper": "
|
|
14
|
-
"variant-stacked": "awsui_variant-
|
|
15
|
-
"variant-container": "awsui_variant-
|
|
16
|
-
"has-footer": "awsui_has-
|
|
17
|
-
"has-header": "awsui_has-
|
|
18
|
-
"cell-merged": "awsui_cell-
|
|
19
|
-
"cell-merged-content": "awsui_cell-merged-
|
|
20
|
-
"empty": "
|
|
21
|
-
"loading": "
|
|
22
|
-
"selection-control": "awsui_selection-
|
|
23
|
-
"selection-control-header": "awsui_selection-control-
|
|
24
|
-
"dark-header": "awsui_dark-
|
|
25
|
-
"header-secondary": "awsui_header-
|
|
26
|
-
"table-has-header": "awsui_table-has-
|
|
27
|
-
"header-controls": "awsui_header-
|
|
28
|
-
"variant-full-page": "awsui_variant-full-
|
|
29
|
-
"variant-embedded": "awsui_variant-
|
|
30
|
-
"variant-borderless": "awsui_variant-
|
|
31
|
-
"footer-wrapper": "awsui_footer-
|
|
32
|
-
"footer": "
|
|
33
|
-
"footer-with-pagination": "awsui_footer-with-
|
|
34
|
-
"footer-pagination": "awsui_footer-
|
|
35
|
-
"thead-active": "awsui_thead-
|
|
36
|
-
"row": "
|
|
37
|
-
"row-selected": "awsui_row-
|
|
4
|
+
"root": "awsui_root_wih1l_v4054_97",
|
|
5
|
+
"tools": "awsui_tools_wih1l_v4054_108",
|
|
6
|
+
"tools-filtering": "awsui_tools-filtering_wih1l_v4054_114",
|
|
7
|
+
"tools-align-right": "awsui_tools-align-right_wih1l_v4054_128",
|
|
8
|
+
"tools-pagination": "awsui_tools-pagination_wih1l_v4054_132",
|
|
9
|
+
"tools-preferences": "awsui_tools-preferences_wih1l_v4054_132",
|
|
10
|
+
"tools-small": "awsui_tools-small_wih1l_v4054_138",
|
|
11
|
+
"table": "awsui_table_wih1l_v4054_144",
|
|
12
|
+
"table-layout-fixed": "awsui_table-layout-fixed_wih1l_v4054_150",
|
|
13
|
+
"wrapper": "awsui_wrapper_wih1l_v4054_154",
|
|
14
|
+
"variant-stacked": "awsui_variant-stacked_wih1l_v4054_161",
|
|
15
|
+
"variant-container": "awsui_variant-container_wih1l_v4054_161",
|
|
16
|
+
"has-footer": "awsui_has-footer_wih1l_v4054_165",
|
|
17
|
+
"has-header": "awsui_has-header_wih1l_v4054_168",
|
|
18
|
+
"cell-merged": "awsui_cell-merged_wih1l_v4054_182",
|
|
19
|
+
"cell-merged-content": "awsui_cell-merged-content_wih1l_v4054_193",
|
|
20
|
+
"empty": "awsui_empty_wih1l_v4054_208",
|
|
21
|
+
"loading": "awsui_loading_wih1l_v4054_212",
|
|
22
|
+
"selection-control": "awsui_selection-control_wih1l_v4054_221",
|
|
23
|
+
"selection-control-header": "awsui_selection-control-header_wih1l_v4054_228",
|
|
24
|
+
"dark-header": "awsui_dark-header_wih1l_v4054_237",
|
|
25
|
+
"header-secondary": "awsui_header-secondary_wih1l_v4054_242",
|
|
26
|
+
"table-has-header": "awsui_table-has-header_wih1l_v4054_258",
|
|
27
|
+
"header-controls": "awsui_header-controls_wih1l_v4054_262",
|
|
28
|
+
"variant-full-page": "awsui_variant-full-page_wih1l_v4054_266",
|
|
29
|
+
"variant-embedded": "awsui_variant-embedded_wih1l_v4054_274",
|
|
30
|
+
"variant-borderless": "awsui_variant-borderless_wih1l_v4054_274",
|
|
31
|
+
"footer-wrapper": "awsui_footer-wrapper_wih1l_v4054_280",
|
|
32
|
+
"footer": "awsui_footer_wih1l_v4054_280",
|
|
33
|
+
"footer-with-pagination": "awsui_footer-with-pagination_wih1l_v4054_288",
|
|
34
|
+
"footer-pagination": "awsui_footer-pagination_wih1l_v4054_296",
|
|
35
|
+
"thead-active": "awsui_thead-active_wih1l_v4054_300",
|
|
36
|
+
"row": "awsui_row_wih1l_v4054_301",
|
|
37
|
+
"row-selected": "awsui_row-selected_wih1l_v4054_302"
|
|
38
38
|
};
|
|
39
39
|
|
package/table/styles.scoped.css
CHANGED
|
@@ -94,7 +94,7 @@ 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
|
-
.
|
|
97
|
+
.awsui_root_wih1l_v4054_97:not(#\9) {
|
|
98
98
|
font-size: var(--font-body-m-size-dhtyxm, 14px);
|
|
99
99
|
line-height: var(--font-body-m-line-height-5wv9x1, 20px);
|
|
100
100
|
color: var(--color-text-body-default-2sxhhn, #000716);
|
|
@@ -105,92 +105,92 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
105
105
|
width: 100%;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
.awsui_tools_wih1l_v4054_108:not(#\9) {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: flex-end;
|
|
111
111
|
flex-wrap: wrap;
|
|
112
112
|
padding: var(--space-scaled-xs-26e2du, 8px) 0 var(--space-table-header-tools-bottom-25ubsj, 0px);
|
|
113
113
|
}
|
|
114
|
-
.awsui_tools-
|
|
114
|
+
.awsui_tools-filtering_wih1l_v4054_114:not(#\9) {
|
|
115
115
|
max-width: 100%;
|
|
116
116
|
margin-right: var(--space-l-t419sm, 20px);
|
|
117
117
|
}
|
|
118
118
|
@supports (flex-basis: fit-content) {
|
|
119
|
-
.awsui_tools-
|
|
119
|
+
.awsui_tools-filtering_wih1l_v4054_114:not(#\9) {
|
|
120
120
|
flex: 1 1 fit-content;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
@supports not (flex-basis: fit-content) {
|
|
124
|
-
.awsui_tools-
|
|
124
|
+
.awsui_tools-filtering_wih1l_v4054_114:not(#\9) {
|
|
125
125
|
flex: 1 1 auto;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
.awsui_tools-align-
|
|
128
|
+
.awsui_tools-align-right_wih1l_v4054_128:not(#\9) {
|
|
129
129
|
display: flex;
|
|
130
130
|
margin-left: auto;
|
|
131
131
|
}
|
|
132
|
-
.awsui_tools-
|
|
133
|
-
border-left: var(--border-divider-section-width-
|
|
132
|
+
.awsui_tools-pagination_wih1l_v4054_132 + .awsui_tools-preferences_wih1l_v4054_132:not(#\9) {
|
|
133
|
+
border-left: var(--border-divider-section-width-8a5uu9, 2px) solid var(--color-border-divider-default-et9j7s, #e9ebed);
|
|
134
134
|
box-sizing: border-box;
|
|
135
135
|
margin-left: var(--space-xs-zb16t3, 8px);
|
|
136
136
|
padding-left: var(--space-xs-zb16t3, 8px);
|
|
137
137
|
}
|
|
138
|
-
.awsui_tools-
|
|
138
|
+
.awsui_tools-small_wih1l_v4054_138 > .awsui_tools-filtering_wih1l_v4054_114:not(#\9) {
|
|
139
139
|
margin-right: 0;
|
|
140
140
|
margin-bottom: var(--space-scaled-xs-26e2du, 8px);
|
|
141
141
|
flex-basis: 100%;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
144
|
+
.awsui_table_wih1l_v4054_144:not(#\9) {
|
|
145
145
|
width: 100%;
|
|
146
146
|
border-spacing: 0;
|
|
147
147
|
position: relative;
|
|
148
148
|
box-sizing: border-box;
|
|
149
149
|
}
|
|
150
|
-
.awsui_table-layout-
|
|
150
|
+
.awsui_table-layout-fixed_wih1l_v4054_150:not(#\9) {
|
|
151
151
|
table-layout: fixed;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.
|
|
154
|
+
.awsui_wrapper_wih1l_v4054_154:not(#\9) {
|
|
155
155
|
position: relative;
|
|
156
156
|
box-sizing: border-box;
|
|
157
157
|
width: 100%;
|
|
158
158
|
overflow-x: auto;
|
|
159
159
|
scrollbar-width: none; /* Hide scrollbar in Firefox */
|
|
160
160
|
}
|
|
161
|
-
.
|
|
161
|
+
.awsui_wrapper_wih1l_v4054_154.awsui_variant-stacked_wih1l_v4054_161 > .awsui_table_wih1l_v4054_144:not(#\9), .awsui_wrapper_wih1l_v4054_154.awsui_variant-container_wih1l_v4054_161 > .awsui_table_wih1l_v4054_144:not(#\9) {
|
|
162
162
|
padding-left: var(--space-table-horizontal-8davlm, 20px);
|
|
163
163
|
padding-right: var(--space-table-horizontal-8davlm, 20px);
|
|
164
164
|
}
|
|
165
|
-
.
|
|
165
|
+
.awsui_wrapper_wih1l_v4054_154.awsui_variant-container_wih1l_v4054_161:not(#\9):not(.awsui_has-footer_wih1l_v4054_165) {
|
|
166
166
|
padding-bottom: var(--space-table-content-bottom-9yr834, 4px);
|
|
167
167
|
}
|
|
168
|
-
.
|
|
168
|
+
.awsui_wrapper_wih1l_v4054_154:not(#\9):not(.awsui_has-header_wih1l_v4054_168) {
|
|
169
169
|
border-top-right-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
170
170
|
border-top-left-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
171
171
|
}
|
|
172
|
-
.
|
|
172
|
+
.awsui_wrapper_wih1l_v4054_154:not(#\9)::-webkit-scrollbar {
|
|
173
173
|
display: none; /* Hide scrollbar in Safari and Chrome */
|
|
174
174
|
}
|
|
175
|
-
body[data-awsui-focus-visible=true] .
|
|
175
|
+
body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_v4054_154:not(#\9):focus {
|
|
176
176
|
outline: 2px dotted transparent;
|
|
177
177
|
outline-offset: 2px;
|
|
178
178
|
border-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
179
179
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
.awsui_cell-
|
|
182
|
+
.awsui_cell-merged_wih1l_v4054_182:not(#\9) {
|
|
183
183
|
text-align: center;
|
|
184
184
|
padding: 0;
|
|
185
185
|
}
|
|
186
|
-
.awsui_cell-
|
|
186
|
+
.awsui_cell-merged_wih1l_v4054_182.awsui_has-footer_wih1l_v4054_165:not(#\9) {
|
|
187
187
|
/*
|
|
188
188
|
Add a bottom border to the body cell of an empty table as a separator between the
|
|
189
189
|
table and the footer
|
|
190
190
|
*/
|
|
191
|
-
border-bottom: var(--border-divider-section-width-
|
|
191
|
+
border-bottom: var(--border-divider-section-width-8a5uu9, 2px) solid var(--color-border-divider-default-et9j7s, #e9ebed);
|
|
192
192
|
}
|
|
193
|
-
.awsui_cell-merged-
|
|
193
|
+
.awsui_cell-merged-content_wih1l_v4054_193:not(#\9) {
|
|
194
194
|
box-sizing: border-box;
|
|
195
195
|
width: 100%;
|
|
196
196
|
padding: var(--space-scaled-m-mo5yse, 16px) var(--space-l-t419sm, 20px) var(--space-scaled-l-0hpmd7, 20px);
|
|
@@ -198,18 +198,18 @@ body[data-awsui-focus-visible=true] .awsui_wrapper_wih1l_1csi5_154:not(#\9):focu
|
|
|
198
198
|
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
199
199
|
}
|
|
200
200
|
@supports (position: sticky) {
|
|
201
|
-
.awsui_cell-merged-
|
|
201
|
+
.awsui_cell-merged-content_wih1l_v4054_193:not(#\9) {
|
|
202
202
|
position: sticky;
|
|
203
203
|
left: 0;
|
|
204
204
|
margin: 0 calc(-2 * var(--space-table-horizontal-8davlm, 20px));
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.
|
|
208
|
+
.awsui_empty_wih1l_v4054_208:not(#\9) {
|
|
209
209
|
color: var(--color-text-empty-2wfcyr, #5f6b7a);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.
|
|
212
|
+
.awsui_loading_wih1l_v4054_212:not(#\9) {
|
|
213
213
|
/* used in test-utils */
|
|
214
214
|
}
|
|
215
215
|
|
|
@@ -218,14 +218,14 @@ The min/max/width token values in Visual Refresh should align
|
|
|
218
218
|
the table header and body cells selection control with the table
|
|
219
219
|
filter search icon.
|
|
220
220
|
*/
|
|
221
|
-
.awsui_selection-
|
|
221
|
+
.awsui_selection-control_wih1l_v4054_221:not(#\9) {
|
|
222
222
|
box-sizing: border-box;
|
|
223
223
|
max-width: var(--size-table-selection-horizontal-oqvl1b, 40px);
|
|
224
224
|
min-width: var(--size-table-selection-horizontal-oqvl1b, 40px);
|
|
225
225
|
position: relative;
|
|
226
226
|
width: var(--size-table-selection-horizontal-oqvl1b, 40px);
|
|
227
227
|
}
|
|
228
|
-
.awsui_selection-
|
|
228
|
+
.awsui_selection-control_wih1l_v4054_221.awsui_selection-control-header_wih1l_v4054_228:not(#\9) {
|
|
229
229
|
padding: var(--space-scaled-xs-26e2du, 8px) var(--space-scaled-l-0hpmd7, 20px);
|
|
230
230
|
border-left: var(--border-item-width-yel47s, 2px) solid transparent;
|
|
231
231
|
}
|
|
@@ -234,12 +234,12 @@ filter search icon.
|
|
|
234
234
|
The dynamic height dark header needs a background that will cover
|
|
235
235
|
the default white background of the container component.
|
|
236
236
|
*/
|
|
237
|
-
.awsui_dark-
|
|
237
|
+
.awsui_dark-header_wih1l_v4054_237:not(#\9) {
|
|
238
238
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
239
239
|
color: var(--color-text-body-default-2sxhhn, #000716);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
.awsui_header-
|
|
242
|
+
.awsui_header-secondary_wih1l_v4054_242:not(#\9) {
|
|
243
243
|
overflow: auto;
|
|
244
244
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
245
245
|
scrollbar-width: none; /* Firefox */
|
|
@@ -248,44 +248,44 @@ the default white background of the container component.
|
|
|
248
248
|
border-radius: 0;
|
|
249
249
|
background: var(--color-background-table-header-82ew8p, #ffffff);
|
|
250
250
|
}
|
|
251
|
-
.awsui_header-
|
|
251
|
+
.awsui_header-secondary_wih1l_v4054_242.awsui_variant-stacked_wih1l_v4054_161 > .awsui_table_wih1l_v4054_144:not(#\9), .awsui_header-secondary_wih1l_v4054_242.awsui_variant-container_wih1l_v4054_161 > .awsui_table_wih1l_v4054_144:not(#\9) {
|
|
252
252
|
padding-left: var(--space-table-horizontal-8davlm, 20px);
|
|
253
253
|
padding-right: var(--space-table-horizontal-8davlm, 20px);
|
|
254
254
|
}
|
|
255
|
-
.awsui_header-
|
|
255
|
+
.awsui_header-secondary_wih1l_v4054_242:not(#\9)::-webkit-scrollbar {
|
|
256
256
|
display: none; /* Safari and Chrome */
|
|
257
257
|
}
|
|
258
|
-
.awsui_header-
|
|
258
|
+
.awsui_header-secondary_wih1l_v4054_242.awsui_table-has-header_wih1l_v4054_258:not(#\9) {
|
|
259
259
|
border-top: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-container-divider-p2uygo, transparent);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.awsui_header-
|
|
262
|
+
.awsui_header-controls_wih1l_v4054_262:not(#\9) {
|
|
263
263
|
padding-top: var(--space-container-header-top-5qav00, 12px);
|
|
264
264
|
padding-bottom: var(--space-container-header-bottom-vj01hn, 8px);
|
|
265
265
|
}
|
|
266
|
-
.awsui_header-
|
|
266
|
+
.awsui_header-controls_wih1l_v4054_262.awsui_variant-full-page_wih1l_v4054_266:not(#\9) {
|
|
267
267
|
padding-top: 0;
|
|
268
268
|
padding-bottom: calc(var(--space-container-header-bottom-vj01hn, 8px) + var(--space-table-header-tools-full-page-bottom-xulfq9, 4px));
|
|
269
269
|
}
|
|
270
|
-
.awsui_header-
|
|
270
|
+
.awsui_header-controls_wih1l_v4054_262.awsui_variant-stacked_wih1l_v4054_161:not(#\9), .awsui_header-controls_wih1l_v4054_262.awsui_variant-container_wih1l_v4054_161:not(#\9) {
|
|
271
271
|
padding-left: calc(var(--space-table-horizontal-8davlm, 20px) + var(--space-table-header-horizontal-wl3ykr, 0px));
|
|
272
272
|
padding-right: calc(var(--space-table-horizontal-8davlm, 20px) + var(--space-table-header-horizontal-wl3ykr, 0px));
|
|
273
273
|
}
|
|
274
|
-
.awsui_header-
|
|
274
|
+
.awsui_header-controls_wih1l_v4054_262.awsui_variant-embedded_wih1l_v4054_274:not(#\9), .awsui_header-controls_wih1l_v4054_262.awsui_variant-borderless_wih1l_v4054_274:not(#\9) {
|
|
275
275
|
padding-left: var(--space-table-header-horizontal-wl3ykr, 0px);
|
|
276
276
|
padding-right: var(--space-table-header-horizontal-wl3ykr, 0px);
|
|
277
277
|
padding-top: var(--space-table-embedded-header-top-bfjeam, 0px);
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
.awsui_footer-
|
|
280
|
+
.awsui_footer-wrapper_wih1l_v4054_280.awsui_variant-stacked_wih1l_v4054_161:not(#\9), .awsui_footer-wrapper_wih1l_v4054_280.awsui_variant-container_wih1l_v4054_161:not(#\9) {
|
|
281
281
|
padding-left: var(--space-table-horizontal-8davlm, 20px);
|
|
282
282
|
padding-right: var(--space-table-horizontal-8davlm, 20px);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
.
|
|
285
|
+
.awsui_footer_wih1l_v4054_280:not(#\9) {
|
|
286
286
|
padding: var(--space-scaled-s-aqzyko, 12px) var(--space-table-footer-horizontal-ptapb9, 0px);
|
|
287
287
|
}
|
|
288
|
-
.awsui_footer-with-
|
|
288
|
+
.awsui_footer-with-pagination_wih1l_v4054_288:not(#\9) {
|
|
289
289
|
display: flex;
|
|
290
290
|
flex-direction: row;
|
|
291
291
|
justify-content: space-between;
|
|
@@ -293,12 +293,12 @@ the default white background of the container component.
|
|
|
293
293
|
flex-wrap: wrap;
|
|
294
294
|
gap: var(--space-scaled-s-aqzyko, 12px);
|
|
295
295
|
}
|
|
296
|
-
.awsui_footer-
|
|
296
|
+
.awsui_footer-pagination_wih1l_v4054_296:not(#\9) {
|
|
297
297
|
margin-left: auto;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
.awsui_thead-
|
|
301
|
-
.
|
|
302
|
-
.awsui_row-
|
|
300
|
+
.awsui_thead-active_wih1l_v4054_300:not(#\9),
|
|
301
|
+
.awsui_row_wih1l_v4054_301:not(#\9),
|
|
302
|
+
.awsui_row-selected_wih1l_v4054_302:not(#\9) {
|
|
303
303
|
/* used in test-utils */
|
|
304
304
|
}
|
|
@@ -2,39 +2,39 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"tools": "
|
|
7
|
-
"tools-filtering": "awsui_tools-
|
|
8
|
-
"tools-align-right": "awsui_tools-align-
|
|
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
|
-
"variant-container": "awsui_variant-
|
|
17
|
-
"has-footer": "awsui_has-
|
|
18
|
-
"has-header": "awsui_has-
|
|
19
|
-
"cell-merged": "awsui_cell-
|
|
20
|
-
"cell-merged-content": "awsui_cell-merged-
|
|
21
|
-
"empty": "
|
|
22
|
-
"loading": "
|
|
23
|
-
"selection-control": "awsui_selection-
|
|
24
|
-
"selection-control-header": "awsui_selection-control-
|
|
25
|
-
"dark-header": "awsui_dark-
|
|
26
|
-
"header-secondary": "awsui_header-
|
|
27
|
-
"table-has-header": "awsui_table-has-
|
|
28
|
-
"header-controls": "awsui_header-
|
|
29
|
-
"variant-full-page": "awsui_variant-full-
|
|
30
|
-
"variant-embedded": "awsui_variant-
|
|
31
|
-
"variant-borderless": "awsui_variant-
|
|
32
|
-
"footer-wrapper": "awsui_footer-
|
|
33
|
-
"footer": "
|
|
34
|
-
"footer-with-pagination": "awsui_footer-with-
|
|
35
|
-
"footer-pagination": "awsui_footer-
|
|
36
|
-
"thead-active": "awsui_thead-
|
|
37
|
-
"row": "
|
|
38
|
-
"row-selected": "awsui_row-
|
|
5
|
+
"root": "awsui_root_wih1l_v4054_97",
|
|
6
|
+
"tools": "awsui_tools_wih1l_v4054_108",
|
|
7
|
+
"tools-filtering": "awsui_tools-filtering_wih1l_v4054_114",
|
|
8
|
+
"tools-align-right": "awsui_tools-align-right_wih1l_v4054_128",
|
|
9
|
+
"tools-pagination": "awsui_tools-pagination_wih1l_v4054_132",
|
|
10
|
+
"tools-preferences": "awsui_tools-preferences_wih1l_v4054_132",
|
|
11
|
+
"tools-small": "awsui_tools-small_wih1l_v4054_138",
|
|
12
|
+
"table": "awsui_table_wih1l_v4054_144",
|
|
13
|
+
"table-layout-fixed": "awsui_table-layout-fixed_wih1l_v4054_150",
|
|
14
|
+
"wrapper": "awsui_wrapper_wih1l_v4054_154",
|
|
15
|
+
"variant-stacked": "awsui_variant-stacked_wih1l_v4054_161",
|
|
16
|
+
"variant-container": "awsui_variant-container_wih1l_v4054_161",
|
|
17
|
+
"has-footer": "awsui_has-footer_wih1l_v4054_165",
|
|
18
|
+
"has-header": "awsui_has-header_wih1l_v4054_168",
|
|
19
|
+
"cell-merged": "awsui_cell-merged_wih1l_v4054_182",
|
|
20
|
+
"cell-merged-content": "awsui_cell-merged-content_wih1l_v4054_193",
|
|
21
|
+
"empty": "awsui_empty_wih1l_v4054_208",
|
|
22
|
+
"loading": "awsui_loading_wih1l_v4054_212",
|
|
23
|
+
"selection-control": "awsui_selection-control_wih1l_v4054_221",
|
|
24
|
+
"selection-control-header": "awsui_selection-control-header_wih1l_v4054_228",
|
|
25
|
+
"dark-header": "awsui_dark-header_wih1l_v4054_237",
|
|
26
|
+
"header-secondary": "awsui_header-secondary_wih1l_v4054_242",
|
|
27
|
+
"table-has-header": "awsui_table-has-header_wih1l_v4054_258",
|
|
28
|
+
"header-controls": "awsui_header-controls_wih1l_v4054_262",
|
|
29
|
+
"variant-full-page": "awsui_variant-full-page_wih1l_v4054_266",
|
|
30
|
+
"variant-embedded": "awsui_variant-embedded_wih1l_v4054_274",
|
|
31
|
+
"variant-borderless": "awsui_variant-borderless_wih1l_v4054_274",
|
|
32
|
+
"footer-wrapper": "awsui_footer-wrapper_wih1l_v4054_280",
|
|
33
|
+
"footer": "awsui_footer_wih1l_v4054_280",
|
|
34
|
+
"footer-with-pagination": "awsui_footer-with-pagination_wih1l_v4054_288",
|
|
35
|
+
"footer-pagination": "awsui_footer-pagination_wih1l_v4054_296",
|
|
36
|
+
"thead-active": "awsui_thead-active_wih1l_v4054_300",
|
|
37
|
+
"row": "awsui_row_wih1l_v4054_301",
|
|
38
|
+
"row-selected": "awsui_row-selected_wih1l_v4054_302"
|
|
39
39
|
};
|
|
40
40
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { useLayoutEffect, useCallback } from 'react';
|
|
4
|
-
import { useResizeObserver } from '../internal/hooks/container-queries/use-resize-observer';
|
|
5
4
|
import stickyScrolling, { calculateScrollingOffset, scrollUpBy } from './sticky-scrolling';
|
|
6
5
|
import { useMobile } from '../internal/hooks/use-mobile';
|
|
6
|
+
import { useResizeObserver } from '@cloudscape-design/component-toolkit/internal';
|
|
7
7
|
function syncSizes(from, to) {
|
|
8
8
|
const fromCells = Array.prototype.slice.apply(from.children);
|
|
9
9
|
const toCells = Array.prototype.slice.apply(to.children);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-sticky-header.js","sourceRoot":"lib/default/","sources":["table/use-sticky-header.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,eAAe,EAAa,WAAW,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,
|
|
1
|
+
{"version":3,"file":"use-sticky-header.js","sourceRoot":"lib/default/","sources":["table/use-sticky-header.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useLayoutEffect, RefObject, useCallback } from 'react';\nimport stickyScrolling, { calculateScrollingOffset, scrollUpBy } from './sticky-scrolling';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport { useResizeObserver } from '@cloudscape-design/component-toolkit/internal';\n\nfunction syncSizes(from: HTMLElement, to: HTMLElement) {\n const fromCells = Array.prototype.slice.apply(from.children);\n const toCells = Array.prototype.slice.apply(to.children);\n for (let i = 0; i < fromCells.length; i++) {\n let width = fromCells[i].style.width;\n // use auto if it is set by resizable columns or real size otherwise\n if (width !== 'auto') {\n width = `${fromCells[i].offsetWidth}px`;\n }\n toCells[i].style.width = width;\n }\n}\n\nexport const useStickyHeader = (\n tableRef: RefObject<HTMLElement>,\n theadRef: RefObject<HTMLElement>,\n secondaryTheadRef: RefObject<HTMLElement>,\n secondaryTableRef: RefObject<HTMLElement>,\n tableWrapperRef: RefObject<HTMLElement>\n) => {\n const isMobile = useMobile();\n // Sync the sizes of the column header copies in the sticky header with the originals\n const syncColumnHeaderWidths = useCallback(() => {\n if (\n tableRef.current &&\n theadRef.current &&\n secondaryTheadRef.current &&\n secondaryTableRef.current &&\n tableWrapperRef.current\n ) {\n syncSizes(theadRef.current, secondaryTheadRef.current);\n\n // Using the tableRef offsetWidth instead of the theadRef because in VR\n // the tableRef adds extra padding to the table and by default the theadRef will have a width\n // without the padding and will make the sticky header width incorrect.\n secondaryTableRef.current.style.width = `${tableRef.current.offsetWidth}px`;\n\n tableWrapperRef.current.style.marginTop = `-${theadRef.current.offsetHeight}px`;\n }\n }, [theadRef, secondaryTheadRef, secondaryTableRef, tableWrapperRef, tableRef]);\n useLayoutEffect(() => {\n syncColumnHeaderWidths();\n });\n useResizeObserver(theadRef, syncColumnHeaderWidths);\n const scrollToTop = () => {\n if (!isMobile && theadRef.current && secondaryTheadRef.current && tableWrapperRef.current) {\n const scrollDist = calculateScrollingOffset(theadRef.current, secondaryTheadRef.current);\n if (scrollDist > 0) {\n scrollUpBy(scrollDist, tableWrapperRef.current);\n }\n }\n };\n const { scrollToItem } = stickyScrolling(tableWrapperRef, secondaryTheadRef);\n const scrollToRow = (itemNode: HTMLElement | null) => {\n if (!isMobile) {\n scrollToItem(itemNode);\n }\n };\n return { scrollToRow, scrollToTop };\n};\n"]}
|
package/tabs/styles.css.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"tabs-header": "awsui_tabs-
|
|
5
|
-
"tabs-header-list": "awsui_tabs-header-
|
|
6
|
-
"pagination-button": "awsui_pagination-
|
|
7
|
-
"pagination-button-left": "awsui_pagination-button-
|
|
8
|
-
"pagination-button-left-scrollable": "awsui_pagination-button-left-
|
|
9
|
-
"pagination-button-right": "awsui_pagination-button-
|
|
10
|
-
"pagination-button-right-scrollable": "awsui_pagination-button-right-
|
|
11
|
-
"tabs-tab": "awsui_tabs-
|
|
12
|
-
"tabs-tab-label": "awsui_tabs-tab-
|
|
13
|
-
"tabs-tab-link": "awsui_tabs-tab-
|
|
14
|
-
"refresh": "
|
|
15
|
-
"tabs-tab-disabled": "awsui_tabs-tab-
|
|
16
|
-
"tabs-tab-active": "awsui_tabs-tab-
|
|
17
|
-
"tabs-header-with-divider": "awsui_tabs-header-with-
|
|
18
|
-
"root": "
|
|
19
|
-
"tabs": "
|
|
20
|
-
"tabs-content": "awsui_tabs-
|
|
21
|
-
"tabs-content-active": "awsui_tabs-content-
|
|
22
|
-
"tabs-content-wrapper": "awsui_tabs-content-
|
|
23
|
-
"with-paddings": "awsui_with-
|
|
24
|
-
"tabs-container-content-wrapper": "awsui_tabs-container-content-
|
|
4
|
+
"tabs-header": "awsui_tabs-header_14rmt_1qjuc_186",
|
|
5
|
+
"tabs-header-list": "awsui_tabs-header-list_14rmt_1qjuc_192",
|
|
6
|
+
"pagination-button": "awsui_pagination-button_14rmt_1qjuc_207",
|
|
7
|
+
"pagination-button-left": "awsui_pagination-button-left_14rmt_1qjuc_212",
|
|
8
|
+
"pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_1qjuc_215",
|
|
9
|
+
"pagination-button-right": "awsui_pagination-button-right_14rmt_1qjuc_219",
|
|
10
|
+
"pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_1qjuc_222",
|
|
11
|
+
"tabs-tab": "awsui_tabs-tab_14rmt_1qjuc_227",
|
|
12
|
+
"tabs-tab-label": "awsui_tabs-tab-label_14rmt_1qjuc_238",
|
|
13
|
+
"tabs-tab-link": "awsui_tabs-tab-link_14rmt_1qjuc_254",
|
|
14
|
+
"refresh": "awsui_refresh_14rmt_1qjuc_270",
|
|
15
|
+
"tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_1qjuc_316",
|
|
16
|
+
"tabs-tab-active": "awsui_tabs-tab-active_14rmt_1qjuc_348",
|
|
17
|
+
"tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_1qjuc_355",
|
|
18
|
+
"root": "awsui_root_14rmt_1qjuc_359",
|
|
19
|
+
"tabs": "awsui_tabs_14rmt_1qjuc_186",
|
|
20
|
+
"tabs-content": "awsui_tabs-content_14rmt_1qjuc_378",
|
|
21
|
+
"tabs-content-active": "awsui_tabs-content-active_14rmt_1qjuc_382",
|
|
22
|
+
"tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_1qjuc_392",
|
|
23
|
+
"with-paddings": "awsui_with-paddings_14rmt_1qjuc_392",
|
|
24
|
+
"tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_1qjuc_396"
|
|
25
25
|
};
|
|
26
26
|
|