@cloudscape-design/components 3.0.651 → 3.0.652
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/alert/styles.css.js +25 -25
- package/alert/styles.scoped.css +41 -41
- package/alert/styles.selectors.js +25 -25
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +33 -33
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/skeleton/styles.css.js +11 -11
- package/app-layout/skeleton/styles.scoped.css +30 -30
- package/app-layout/skeleton/styles.selectors.js +11 -11
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +8 -8
- package/app-layout/toggles/styles.selectors.js +2 -2
- package/app-layout/visual-refresh/styles.css.js +82 -82
- package/app-layout/visual-refresh/styles.scoped.css +263 -264
- package/app-layout/visual-refresh/styles.selectors.js +82 -82
- package/button/styles.css.js +19 -19
- package/button/styles.scoped.css +213 -213
- package/button/styles.selectors.js +19 -19
- package/calendar/styles.css.js +20 -20
- package/calendar/styles.scoped.css +46 -46
- package/calendar/styles.selectors.js +20 -20
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +7 -7
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +137 -137
- 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 +19 -19
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +46 -46
- package/collection-preferences/styles.selectors.js +37 -37
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/date-range-picker/calendar/grids/styles.css.js +27 -27
- package/date-range-picker/calendar/grids/styles.scoped.css +46 -46
- package/date-range-picker/calendar/grids/styles.selectors.js +27 -27
- package/expandable-section/styles.css.js +32 -32
- package/expandable-section/styles.scoped.css +68 -68
- package/expandable-section/styles.selectors.js +32 -32
- package/file-upload/file-input/styles.css.js +4 -4
- package/file-upload/file-input/styles.scoped.css +9 -9
- package/file-upload/file-input/styles.selectors.js +4 -4
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +175 -175
- package/flashbar/styles.selectors.js +47 -47
- package/internal/components/button-trigger/styles.css.js +11 -11
- package/internal/components/button-trigger/styles.scoped.css +28 -28
- package/internal/components/button-trigger/styles.selectors.js +11 -11
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +17 -17
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +40 -40
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/filtering-token/styles.css.js +7 -7
- package/internal/components/filtering-token/styles.scoped.css +15 -15
- package/internal/components/filtering-token/styles.selectors.js +7 -7
- package/internal/components/handle/styles.css.js +2 -2
- package/internal/components/handle/styles.scoped.css +8 -8
- package/internal/components/handle/styles.selectors.js +2 -2
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +15 -15
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/panel-resize-handle/styles.css.js +5 -5
- package/internal/components/panel-resize-handle/styles.scoped.css +12 -12
- package/internal/components/panel-resize-handle/styles.selectors.js +5 -5
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/custom-css-properties/index.d.ts +0 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +55 -56
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +69 -69
- package/popover/styles.selectors.js +50 -50
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +17 -17
- package/radio-group/styles.selectors.js +9 -9
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +35 -35
- package/segmented-control/styles.selectors.js +14 -14
- package/slider/styles.css.js +25 -25
- package/slider/styles.scoped.css +71 -71
- package/slider/styles.selectors.js +25 -25
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/table/body-cell/styles.css.js +45 -45
- package/table/body-cell/styles.scoped.css +365 -301
- package/table/body-cell/styles.selectors.js +45 -45
- package/table/body-cell/td-element.d.ts.map +1 -1
- package/table/body-cell/td-element.js +4 -3
- package/table/body-cell/td-element.js.map +1 -1
- package/table/expandable-rows/styles.css.js +3 -3
- package/table/expandable-rows/styles.scoped.css +15 -15
- package/table/expandable-rows/styles.selectors.js +3 -3
- package/table/header-cell/styles.css.js +26 -26
- package/table/header-cell/styles.scoped.css +148 -64
- package/table/header-cell/styles.selectors.js +26 -26
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +3 -1
- package/table/internal.js.map +1 -1
- package/table/resizer/styles.css.js +8 -8
- package/table/resizer/styles.scoped.css +16 -16
- package/table/resizer/styles.selectors.js +8 -8
- package/table/table-role/table-role-helper.d.ts +2 -1
- package/table/table-role/table-role-helper.d.ts.map +1 -1
- package/table/table-role/table-role-helper.js +2 -1
- package/table/table-role/table-role-helper.js.map +1 -1
- package/tabs/styles.css.js +22 -22
- package/tabs/styles.scoped.css +44 -44
- package/tabs/styles.selectors.js +22 -22
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +16 -16
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +9 -9
- package/token-group/styles.scoped.css +21 -21
- package/token-group/styles.selectors.js +9 -9
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +68 -68
- package/top-navigation/styles.selectors.js +47 -47
|
@@ -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
|
-
.awsui_header-
|
|
97
|
+
.awsui_header-cell_1spae_ga51i_97:not(#\9) {
|
|
98
98
|
position: relative;
|
|
99
99
|
text-align: start;
|
|
100
100
|
box-sizing: border-box;
|
|
@@ -107,61 +107,61 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
107
107
|
padding-block: var(--space-scaled-xxs-7597g1, 4px);
|
|
108
108
|
padding-inline: var(--space-scaled-xs-26e2du, 8px);
|
|
109
109
|
}
|
|
110
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
110
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97:not(#\9):focus {
|
|
111
111
|
position: relative;
|
|
112
112
|
}
|
|
113
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
113
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97:not(#\9):focus {
|
|
114
114
|
outline: 2px dotted transparent;
|
|
115
115
|
outline-offset: calc(calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) - 1px);
|
|
116
116
|
}
|
|
117
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
117
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97:not(#\9):focus::before {
|
|
118
118
|
content: " ";
|
|
119
119
|
display: block;
|
|
120
120
|
position: absolute;
|
|
121
121
|
inset-inline-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
122
122
|
inset-block-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
123
|
-
inline-size: calc(100% +
|
|
124
|
-
block-size: calc(100% +
|
|
123
|
+
inline-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
124
|
+
block-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
125
125
|
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
126
126
|
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
127
127
|
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
128
128
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
129
129
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
130
130
|
}
|
|
131
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
131
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_header-cell-fake-focus_1spae_ga51i_131:not(#\9) {
|
|
132
132
|
position: relative;
|
|
133
133
|
}
|
|
134
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
134
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_header-cell-fake-focus_1spae_ga51i_131:not(#\9) {
|
|
135
135
|
outline: 2px dotted transparent;
|
|
136
136
|
outline-offset: calc(calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) - 1px);
|
|
137
137
|
}
|
|
138
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
138
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_header-cell-fake-focus_1spae_ga51i_131:not(#\9)::before {
|
|
139
139
|
content: " ";
|
|
140
140
|
display: block;
|
|
141
141
|
position: absolute;
|
|
142
142
|
inset-inline-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
143
143
|
inset-block-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
144
|
-
inline-size: calc(100% +
|
|
145
|
-
block-size: calc(100% +
|
|
144
|
+
inline-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
145
|
+
block-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
146
146
|
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
147
147
|
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
148
148
|
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
149
149
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
150
150
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
151
151
|
}
|
|
152
|
-
.awsui_header-cell-
|
|
152
|
+
.awsui_header-cell-sticky_1spae_ga51i_152:not(#\9) {
|
|
153
153
|
border-block-end: var(--border-table-sticky-width-87kf12, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
154
154
|
}
|
|
155
|
-
.awsui_header-cell-
|
|
155
|
+
.awsui_header-cell-stuck_1spae_ga51i_155:not(#\9):not(.awsui_header-cell-variant-full-page_1spae_ga51i_155) {
|
|
156
156
|
border-block-end-color: transparent;
|
|
157
157
|
}
|
|
158
|
-
.awsui_header-cell-variant-full-
|
|
158
|
+
.awsui_header-cell-variant-full-page_1spae_ga51i_155.awsui_header-cell-hidden_1spae_ga51i_158:not(#\9) {
|
|
159
159
|
border-block-end-color: transparent;
|
|
160
160
|
}
|
|
161
|
-
.awsui_header-
|
|
161
|
+
.awsui_header-cell_1spae_ga51i_97:not(#\9):last-child, .awsui_header-cell_1spae_ga51i_97.awsui_header-cell-sortable_1spae_ga51i_161:not(#\9) {
|
|
162
162
|
padding-inline-end: var(--space-xs-zb16t3, 8px);
|
|
163
163
|
}
|
|
164
|
-
.awsui_header-
|
|
164
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell_1spae_ga51i_164:not(#\9) {
|
|
165
165
|
position: sticky;
|
|
166
166
|
background: var(--color-background-table-header-82ew8p, #ffffff);
|
|
167
167
|
z-index: 798;
|
|
@@ -169,42 +169,42 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1y1td_97.awsui_head
|
|
|
169
169
|
transition-duration: var(--motion-duration-transition-show-quick-osg026, 90ms);
|
|
170
170
|
transition-timing-function: var(--motion-easing-sticky-56u8cd, cubic-bezier(1, 0, 0.83, 1));
|
|
171
171
|
}
|
|
172
|
-
.awsui_header-
|
|
172
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell-pad-left_1spae_ga51i_172:not(#\9):not(.awsui_has-selection_1spae_ga51i_172) {
|
|
173
173
|
padding-inline-start: var(--space-table-horizontal-8davlm, 20px);
|
|
174
174
|
}
|
|
175
|
-
.awsui_header-
|
|
175
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell-last-inline-start_1spae_ga51i_175:not(#\9) {
|
|
176
176
|
box-shadow: var(--shadow-sticky-column-first-039dqs, 4px 0px 8px 1px rgba(0, 7, 22, 0.1));
|
|
177
177
|
clip-path: inset(0px -24px 0px 0px);
|
|
178
178
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
179
179
|
}
|
|
180
|
-
.awsui_header-
|
|
180
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell-last-inline-start_1spae_ga51i_175 > .awsui_resize-divider_1spae_ga51i_180:not(#\9) {
|
|
181
181
|
display: none;
|
|
182
182
|
}
|
|
183
|
-
.awsui_header-
|
|
183
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell-last-inline-start_1spae_ga51i_175:not(#\9):dir(rtl) {
|
|
184
184
|
box-shadow: var(--shadow-sticky-column-last-n170vw, -4px 0 8px 1px rgba(0, 28, 36, 0.1));
|
|
185
185
|
clip-path: inset(0 0 0 -24px);
|
|
186
186
|
}
|
|
187
|
-
.awsui_header-
|
|
187
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell-last-inline-end_1spae_ga51i_187:not(#\9) {
|
|
188
188
|
box-shadow: var(--shadow-sticky-column-last-n170vw, -4px 0 8px 1px rgba(0, 28, 36, 0.1));
|
|
189
189
|
clip-path: inset(0 0 0 -24px);
|
|
190
190
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
191
191
|
}
|
|
192
|
-
.awsui_header-
|
|
192
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell-last-inline-end_1spae_ga51i_187:not(#\9):dir(rtl) {
|
|
193
193
|
box-shadow: var(--shadow-sticky-column-first-039dqs, 4px 0px 8px 1px rgba(0, 7, 22, 0.1));
|
|
194
194
|
clip-path: inset(0 -24px 0 0);
|
|
195
195
|
}
|
|
196
196
|
@media (prefers-reduced-motion: reduce) {
|
|
197
|
-
.awsui_header-
|
|
197
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell_1spae_ga51i_164:not(#\9) {
|
|
198
198
|
animation: none;
|
|
199
199
|
transition: none;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
.awsui-motion-disabled .awsui_header-
|
|
202
|
+
.awsui-motion-disabled .awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell_1spae_ga51i_164:not(#\9), .awsui-mode-entering .awsui_header-cell_1spae_ga51i_97.awsui_sticky-cell_1spae_ga51i_164:not(#\9) {
|
|
203
203
|
animation: none;
|
|
204
204
|
transition: none;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
.awsui_sorting-
|
|
207
|
+
.awsui_sorting-icon_1spae_ga51i_207:not(#\9) {
|
|
208
208
|
position: absolute;
|
|
209
209
|
inset-block-start: 50%;
|
|
210
210
|
transform: translateY(-50%);
|
|
@@ -212,96 +212,96 @@ body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_1y1td_97.awsui_head
|
|
|
212
212
|
color: var(--color-text-column-sorting-icon-8or30j, #414d5c);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
.awsui_edit-
|
|
215
|
+
.awsui_edit-icon_1spae_ga51i_215:not(#\9) {
|
|
216
216
|
margin-inline-start: var(--space-xxs-p8yyaw, 4px);
|
|
217
217
|
margin-block-start: var(--space-scaled-xxs-7597g1, 4px);
|
|
218
218
|
color: inherit;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
.awsui_header-cell-
|
|
221
|
+
.awsui_header-cell-content_1spae_ga51i_221:not(#\9) {
|
|
222
222
|
position: relative;
|
|
223
223
|
padding-block: var(--space-scaled-xxs-7597g1, 4px);
|
|
224
224
|
padding-inline-start: var(--space-s-34lx8l, 12px);
|
|
225
225
|
padding-inline-end: var(--space-s-34lx8l, 12px);
|
|
226
226
|
}
|
|
227
|
-
.awsui_header-cell-
|
|
227
|
+
.awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-content-expandable_1spae_ga51i_227:not(#\9) {
|
|
228
228
|
padding-inline-start: calc(var(--space-s-34lx8l, 12px) + var(--space-m-udix3p, 16px) + var(--space-xs-zb16t3, 8px));
|
|
229
229
|
}
|
|
230
|
-
.awsui_header-cell-
|
|
230
|
+
.awsui_header-cell-sortable_1spae_ga51i_161 > .awsui_header-cell-content_1spae_ga51i_221:not(#\9) {
|
|
231
231
|
padding-inline-end: calc(var(--space-xl-lmui9r, 24px) + var(--space-xxs-p8yyaw, 4px));
|
|
232
232
|
}
|
|
233
|
-
.awsui_header-cell-
|
|
233
|
+
.awsui_header-cell-content_1spae_ga51i_221:not(#\9):focus {
|
|
234
234
|
outline: none;
|
|
235
235
|
text-decoration: none;
|
|
236
236
|
}
|
|
237
|
-
body[data-awsui-focus-visible=true] .awsui_header-cell-
|
|
237
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_ga51i_221:not(#\9):focus {
|
|
238
238
|
position: relative;
|
|
239
239
|
}
|
|
240
|
-
body[data-awsui-focus-visible=true] .awsui_header-cell-
|
|
240
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_ga51i_221:not(#\9):focus {
|
|
241
241
|
outline: 2px dotted transparent;
|
|
242
242
|
outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) - 1px);
|
|
243
243
|
}
|
|
244
|
-
body[data-awsui-focus-visible=true] .awsui_header-cell-
|
|
244
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_ga51i_221:not(#\9):focus::before {
|
|
245
245
|
content: " ";
|
|
246
246
|
display: block;
|
|
247
247
|
position: absolute;
|
|
248
248
|
inset-inline-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
249
249
|
inset-block-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
250
|
-
inline-size: calc(100% +
|
|
251
|
-
block-size: calc(100% +
|
|
250
|
+
inline-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
251
|
+
block-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
252
252
|
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
253
253
|
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
254
254
|
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
255
255
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
256
256
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
257
257
|
}
|
|
258
|
-
body[data-awsui-focus-visible=true] .awsui_header-cell-
|
|
258
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-fake-focus_1spae_ga51i_131:not(#\9) {
|
|
259
259
|
position: relative;
|
|
260
260
|
}
|
|
261
|
-
body[data-awsui-focus-visible=true] .awsui_header-cell-
|
|
261
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-fake-focus_1spae_ga51i_131:not(#\9) {
|
|
262
262
|
outline: 2px dotted transparent;
|
|
263
263
|
outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) - 1px);
|
|
264
264
|
}
|
|
265
|
-
body[data-awsui-focus-visible=true] .awsui_header-cell-
|
|
265
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-fake-focus_1spae_ga51i_131:not(#\9)::before {
|
|
266
266
|
content: " ";
|
|
267
267
|
display: block;
|
|
268
268
|
position: absolute;
|
|
269
269
|
inset-inline-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
270
270
|
inset-block-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
271
|
-
inline-size: calc(100% +
|
|
272
|
-
block-size: calc(100% +
|
|
271
|
+
inline-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
272
|
+
block-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
273
273
|
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
274
274
|
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
275
275
|
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
276
276
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
277
277
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
278
278
|
}
|
|
279
|
-
.awsui_header-cell-
|
|
279
|
+
.awsui_header-cell-disabled_1spae_ga51i_279.awsui_header-cell-sorted_1spae_ga51i_279 > .awsui_header-cell-content_1spae_ga51i_221 > .awsui_sorting-icon_1spae_ga51i_207:not(#\9) {
|
|
280
280
|
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
.awsui_header-cell-
|
|
283
|
+
.awsui_header-cell-sortable_1spae_ga51i_161:not(#\9):not(.awsui_header-cell-disabled_1spae_ga51i_279) > .awsui_header-cell-content_1spae_ga51i_221 {
|
|
284
284
|
cursor: pointer;
|
|
285
285
|
}
|
|
286
|
-
.awsui_header-cell-
|
|
286
|
+
.awsui_header-cell-sortable_1spae_ga51i_161:not(#\9):not(.awsui_header-cell-disabled_1spae_ga51i_279) > .awsui_header-cell-content_1spae_ga51i_221:hover, .awsui_header-cell-sortable_1spae_ga51i_161:not(#\9):not(.awsui_header-cell-disabled_1spae_ga51i_279).awsui_header-cell-sorted_1spae_ga51i_279 > .awsui_header-cell-content_1spae_ga51i_221 {
|
|
287
287
|
color: var(--color-text-interactive-active-ox3ozh, #000716);
|
|
288
288
|
}
|
|
289
|
-
.awsui_header-cell-
|
|
289
|
+
.awsui_header-cell-sortable_1spae_ga51i_161:not(#\9):not(.awsui_header-cell-disabled_1spae_ga51i_279) > .awsui_header-cell-content_1spae_ga51i_221:hover > .awsui_sorting-icon_1spae_ga51i_207, .awsui_header-cell-sortable_1spae_ga51i_161:not(#\9):not(.awsui_header-cell-disabled_1spae_ga51i_279).awsui_header-cell-sorted_1spae_ga51i_279 > .awsui_header-cell-content_1spae_ga51i_221 > .awsui_sorting-icon_1spae_ga51i_207 {
|
|
290
290
|
color: var(--color-text-interactive-active-ox3ozh, #000716);
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
.awsui_header-cell-
|
|
293
|
+
.awsui_header-cell-text_1spae_ga51i_293:not(#\9) {
|
|
294
294
|
line-height: var(--line-height-heading-xs-aeleja, 18px);
|
|
295
295
|
padding-block: calc(var(--space-xxxs-zbmxqb, 2px) / 2);
|
|
296
296
|
}
|
|
297
|
-
.awsui_header-cell-
|
|
297
|
+
.awsui_header-cell-text_1spae_ga51i_293:not(#\9):not(.awsui_header-cell-text-wrap_1spae_ga51i_297) {
|
|
298
298
|
white-space: nowrap;
|
|
299
299
|
overflow: hidden;
|
|
300
300
|
text-overflow: ellipsis;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
.awsui_header-cell-
|
|
304
|
-
.awsui_header-cell-
|
|
303
|
+
.awsui_header-cell-ascending_1spae_ga51i_303:not(#\9),
|
|
304
|
+
.awsui_header-cell-descending_1spae_ga51i_304:not(#\9) {
|
|
305
305
|
/* used in test-utils */
|
|
306
306
|
}
|
|
307
307
|
|
|
@@ -311,44 +311,128 @@ with the left edge of the table as closely as possible. If the
|
|
|
311
311
|
last header cell is sortable the sort icon should align with the
|
|
312
312
|
settings icon in the pagination slot.
|
|
313
313
|
*/
|
|
314
|
-
.awsui_header-
|
|
314
|
+
.awsui_header-cell_1spae_ga51i_97:not(#\9):not(.awsui_is-visual-refresh_1spae_ga51i_314):first-child {
|
|
315
315
|
padding-inline-start: var(--space-xs-zb16t3, 8px);
|
|
316
316
|
}
|
|
317
|
-
.awsui_header-
|
|
317
|
+
.awsui_header-cell_1spae_ga51i_97:not(#\9):not(.awsui_is-visual-refresh_1spae_ga51i_314):first-child.awsui_header-cell-content-expandable_1spae_ga51i_227 {
|
|
318
318
|
padding-inline-start: calc(var(--space-xs-zb16t3, 8px) + var(--space-m-udix3p, 16px) + var(--space-xs-zb16t3, 8px));
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
.awsui_header-
|
|
321
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9) {
|
|
322
322
|
/*
|
|
323
323
|
Striped rows requires additional left padding because the
|
|
324
324
|
shaded background makes the child content appear too close
|
|
325
325
|
to the table edge.
|
|
326
326
|
*/
|
|
327
327
|
}
|
|
328
|
-
.awsui_header-
|
|
328
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child:focus {
|
|
329
|
+
position: relative;
|
|
330
|
+
}
|
|
331
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child:focus {
|
|
332
|
+
outline: 2px dotted transparent;
|
|
333
|
+
outline-offset: calc(calc(-1 * var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxs-7597g1, 4px)) - 1px);
|
|
334
|
+
}
|
|
335
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child:focus::before {
|
|
336
|
+
content: " ";
|
|
337
|
+
display: block;
|
|
338
|
+
position: absolute;
|
|
339
|
+
inset-inline-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxs-7597g1, 4px)));
|
|
340
|
+
inset-block-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
341
|
+
inline-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
342
|
+
block-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
343
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
344
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
345
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
346
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
347
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
348
|
+
}
|
|
349
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_ga51i_131 {
|
|
350
|
+
position: relative;
|
|
351
|
+
}
|
|
352
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_ga51i_131 {
|
|
353
|
+
outline: 2px dotted transparent;
|
|
354
|
+
outline-offset: calc(calc(-1 * var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxs-7597g1, 4px)) - 1px);
|
|
355
|
+
}
|
|
356
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child.awsui_header-cell-fake-focus_1spae_ga51i_131::before {
|
|
357
|
+
content: " ";
|
|
358
|
+
display: block;
|
|
359
|
+
position: absolute;
|
|
360
|
+
inset-inline-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxs-7597g1, 4px)));
|
|
361
|
+
inset-block-start: calc(-1 * calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
362
|
+
inline-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px) + var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
363
|
+
block-size: calc(100% + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-scaled-xxs-7597g1, 4px)));
|
|
364
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
365
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
366
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
367
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
368
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
369
|
+
}
|
|
370
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221 {
|
|
371
|
+
padding-inline-start: 0px;
|
|
372
|
+
}
|
|
373
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-content-expandable_1spae_ga51i_227 {
|
|
374
|
+
padding-inline-start: calc(0px + var(--space-m-udix3p, 16px) + var(--space-xs-zb16t3, 8px));
|
|
375
|
+
}
|
|
376
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221:focus {
|
|
377
|
+
position: relative;
|
|
378
|
+
}
|
|
379
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221:focus {
|
|
380
|
+
outline: 2px dotted transparent;
|
|
381
|
+
outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px) + var(--space-scaled-xxs-7597g1, 4px)) - 1px);
|
|
382
|
+
}
|
|
383
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221:focus::before {
|
|
384
|
+
content: " ";
|
|
385
|
+
display: block;
|
|
386
|
+
position: absolute;
|
|
387
|
+
inset-inline-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px) + var(--space-scaled-xxs-7597g1, 4px)));
|
|
388
|
+
inset-block-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
389
|
+
inline-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px) + var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
390
|
+
block-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
391
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
392
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
393
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
394
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
395
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
396
|
+
}
|
|
397
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-fake-focus_1spae_ga51i_131 {
|
|
398
|
+
position: relative;
|
|
399
|
+
}
|
|
400
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-fake-focus_1spae_ga51i_131 {
|
|
401
|
+
outline: 2px dotted transparent;
|
|
402
|
+
outline-offset: calc(calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px) + var(--space-scaled-xxs-7597g1, 4px)) - 1px);
|
|
403
|
+
}
|
|
404
|
+
body[data-awsui-focus-visible=true] .awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child > .awsui_header-cell-content_1spae_ga51i_221.awsui_header-cell-fake-focus_1spae_ga51i_131::before {
|
|
405
|
+
content: " ";
|
|
406
|
+
display: block;
|
|
407
|
+
position: absolute;
|
|
408
|
+
inset-inline-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px) + var(--space-scaled-xxs-7597g1, 4px)));
|
|
409
|
+
inset-block-start: calc(-1 * calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
410
|
+
inline-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px) + var(--space-scaled-xxs-7597g1, 4px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
411
|
+
block-size: calc(100% + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)) + calc(-1 * var(--space-table-header-focus-outline-gutter-7js4en, 0px)));
|
|
412
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
413
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
414
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
415
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
416
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
417
|
+
}
|
|
418
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_ga51i_418) {
|
|
329
419
|
padding-inline-start: var(--space-xxxs-zbmxqb, 2px);
|
|
330
420
|
}
|
|
331
|
-
.awsui_header-
|
|
421
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_ga51i_418).awsui_header-cell-content-expandable_1spae_ga51i_227 {
|
|
332
422
|
padding-inline-start: calc(var(--space-xxxs-zbmxqb, 2px) + var(--space-m-udix3p, 16px) + var(--space-xs-zb16t3, 8px));
|
|
333
423
|
}
|
|
334
|
-
.awsui_header-
|
|
424
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_ga51i_418).awsui_sticky-cell-pad-inline-start_1spae_ga51i_424 {
|
|
335
425
|
padding-inline-start: var(--space-table-horizontal-8davlm, 20px);
|
|
336
426
|
}
|
|
337
|
-
.awsui_header-
|
|
427
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child:not(.awsui_has-striped-rows_1spae_ga51i_418).awsui_sticky-cell-pad-inline-start_1spae_ga51i_424.awsui_header-cell-content-expandable_1spae_ga51i_227 {
|
|
338
428
|
padding-inline-start: calc(var(--space-table-horizontal-8davlm, 20px) + var(--space-m-udix3p, 16px) + var(--space-xs-zb16t3, 8px));
|
|
339
429
|
}
|
|
340
|
-
.awsui_header-
|
|
430
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child.awsui_has-striped-rows_1spae_ga51i_418 {
|
|
341
431
|
padding-inline-start: var(--space-xxs-p8yyaw, 4px);
|
|
342
432
|
}
|
|
343
|
-
.awsui_header-
|
|
433
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):first-child.awsui_has-striped-rows_1spae_ga51i_418.awsui_header-cell-content-expandable_1spae_ga51i_227 {
|
|
344
434
|
padding-inline-start: calc(var(--space-xxs-p8yyaw, 4px) + var(--space-m-udix3p, 16px) + var(--space-xs-zb16t3, 8px));
|
|
345
435
|
}
|
|
346
|
-
.awsui_header-
|
|
347
|
-
padding-inline-start: 0px;
|
|
348
|
-
}
|
|
349
|
-
.awsui_header-cell_1spae_1y1td_97.awsui_is-visual-refresh_1spae_1y1td_314:not(#\9):first-child > .awsui_header-cell-content_1spae_1y1td_221.awsui_header-cell-content-expandable_1spae_1y1td_227 {
|
|
350
|
-
padding-inline-start: calc(0px + var(--space-m-udix3p, 16px) + var(--space-xs-zb16t3, 8px));
|
|
351
|
-
}
|
|
352
|
-
.awsui_header-cell_1spae_1y1td_97.awsui_is-visual-refresh_1spae_1y1td_314:not(#\9):last-child.awsui_header-cell-sortable_1spae_1y1td_161 {
|
|
436
|
+
.awsui_header-cell_1spae_ga51i_97.awsui_is-visual-refresh_1spae_ga51i_314:not(#\9):last-child.awsui_header-cell-sortable_1spae_ga51i_161 {
|
|
353
437
|
padding-inline-end: var(--space-xxxs-zbmxqb, 2px);
|
|
354
438
|
}
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"header-cell": "awsui_header-
|
|
6
|
-
"header-cell-fake-focus": "awsui_header-cell-fake-
|
|
7
|
-
"header-cell-sticky": "awsui_header-cell-
|
|
8
|
-
"header-cell-stuck": "awsui_header-cell-
|
|
9
|
-
"header-cell-variant-full-page": "awsui_header-cell-variant-full-
|
|
10
|
-
"header-cell-hidden": "awsui_header-cell-
|
|
11
|
-
"header-cell-sortable": "awsui_header-cell-
|
|
12
|
-
"sticky-cell": "awsui_sticky-
|
|
13
|
-
"sticky-cell-pad-left": "awsui_sticky-cell-pad-
|
|
14
|
-
"has-selection": "awsui_has-
|
|
15
|
-
"sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-
|
|
16
|
-
"resize-divider": "awsui_resize-
|
|
17
|
-
"sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-
|
|
18
|
-
"sorting-icon": "awsui_sorting-
|
|
19
|
-
"edit-icon": "awsui_edit-
|
|
20
|
-
"header-cell-content": "awsui_header-cell-
|
|
21
|
-
"header-cell-content-expandable": "awsui_header-cell-content-
|
|
22
|
-
"header-cell-disabled": "awsui_header-cell-
|
|
23
|
-
"header-cell-sorted": "awsui_header-cell-
|
|
24
|
-
"header-cell-text": "awsui_header-cell-
|
|
25
|
-
"header-cell-text-wrap": "awsui_header-cell-text-
|
|
26
|
-
"header-cell-ascending": "awsui_header-cell-
|
|
27
|
-
"header-cell-descending": "awsui_header-cell-
|
|
28
|
-
"is-visual-refresh": "awsui_is-visual-
|
|
29
|
-
"has-striped-rows": "awsui_has-striped-
|
|
30
|
-
"sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-
|
|
5
|
+
"header-cell": "awsui_header-cell_1spae_ga51i_97",
|
|
6
|
+
"header-cell-fake-focus": "awsui_header-cell-fake-focus_1spae_ga51i_131",
|
|
7
|
+
"header-cell-sticky": "awsui_header-cell-sticky_1spae_ga51i_152",
|
|
8
|
+
"header-cell-stuck": "awsui_header-cell-stuck_1spae_ga51i_155",
|
|
9
|
+
"header-cell-variant-full-page": "awsui_header-cell-variant-full-page_1spae_ga51i_155",
|
|
10
|
+
"header-cell-hidden": "awsui_header-cell-hidden_1spae_ga51i_158",
|
|
11
|
+
"header-cell-sortable": "awsui_header-cell-sortable_1spae_ga51i_161",
|
|
12
|
+
"sticky-cell": "awsui_sticky-cell_1spae_ga51i_164",
|
|
13
|
+
"sticky-cell-pad-left": "awsui_sticky-cell-pad-left_1spae_ga51i_172",
|
|
14
|
+
"has-selection": "awsui_has-selection_1spae_ga51i_172",
|
|
15
|
+
"sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_1spae_ga51i_175",
|
|
16
|
+
"resize-divider": "awsui_resize-divider_1spae_ga51i_180",
|
|
17
|
+
"sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_1spae_ga51i_187",
|
|
18
|
+
"sorting-icon": "awsui_sorting-icon_1spae_ga51i_207",
|
|
19
|
+
"edit-icon": "awsui_edit-icon_1spae_ga51i_215",
|
|
20
|
+
"header-cell-content": "awsui_header-cell-content_1spae_ga51i_221",
|
|
21
|
+
"header-cell-content-expandable": "awsui_header-cell-content-expandable_1spae_ga51i_227",
|
|
22
|
+
"header-cell-disabled": "awsui_header-cell-disabled_1spae_ga51i_279",
|
|
23
|
+
"header-cell-sorted": "awsui_header-cell-sorted_1spae_ga51i_279",
|
|
24
|
+
"header-cell-text": "awsui_header-cell-text_1spae_ga51i_293",
|
|
25
|
+
"header-cell-text-wrap": "awsui_header-cell-text-wrap_1spae_ga51i_297",
|
|
26
|
+
"header-cell-ascending": "awsui_header-cell-ascending_1spae_ga51i_303",
|
|
27
|
+
"header-cell-descending": "awsui_header-cell-descending_1spae_ga51i_304",
|
|
28
|
+
"is-visual-refresh": "awsui_is-visual-refresh_1spae_ga51i_314",
|
|
29
|
+
"has-striped-rows": "awsui_has-striped-rows_1spae_ga51i_418",
|
|
30
|
+
"sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_1spae_ga51i_424"
|
|
31
31
|
};
|
|
32
32
|
|
package/table/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/table/internal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,cAAc,CAAC;AA4DzE,eAAO,MAAM,sBAAsB,qBAWX,CAAC;AAEzB,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/table/internal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,cAAc,CAAC;AA4DzE,eAAO,MAAM,sBAAsB,qBAWX,CAAC;AAEzB,QAAA,MAAM,aAAa,qBA0jBK,CAAC;AAEzB,eAAe,aAAa,CAAC"}
|
package/table/internal.js
CHANGED
|
@@ -149,6 +149,7 @@ const InternalTable = React.forwardRef((_a, ref) => {
|
|
|
149
149
|
const hasFooter = !!footer || hasFooterPagination;
|
|
150
150
|
const headerIdRef = useRef(undefined);
|
|
151
151
|
const isLabelledByHeader = !(ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.tableLabel) && !!header;
|
|
152
|
+
const ariaLabelledby = isLabelledByHeader && headerIdRef.current ? headerIdRef.current : undefined;
|
|
152
153
|
const setHeaderRef = useCallback((id) => {
|
|
153
154
|
headerIdRef.current = id;
|
|
154
155
|
}, []);
|
|
@@ -214,6 +215,7 @@ const InternalTable = React.forwardRef((_a, ref) => {
|
|
|
214
215
|
tableRole,
|
|
215
216
|
isScrollable: !!(tableWidth && containerWidth && tableWidth > containerWidth),
|
|
216
217
|
ariaLabel: ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.tableLabel,
|
|
218
|
+
ariaLabelledby,
|
|
217
219
|
});
|
|
218
220
|
const getMouseDownTarget = useMouseDownTarget();
|
|
219
221
|
useTableFocusNavigation({
|
|
@@ -258,7 +260,7 @@ const InternalTable = React.forwardRef((_a, ref) => {
|
|
|
258
260
|
totalItemsCount,
|
|
259
261
|
totalColumnsCount: totalColumnsCount,
|
|
260
262
|
ariaLabel: ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.tableLabel,
|
|
261
|
-
|
|
263
|
+
ariaLabelledby,
|
|
262
264
|
})),
|
|
263
265
|
React.createElement(Thead, Object.assign({ ref: theadRef, hidden: stickyHeader, onFocusedComponentChange: focusId => { var _a; return (_a = stickyHeaderRef.current) === null || _a === void 0 ? void 0 : _a.setFocus(focusId); } }, theadProps)),
|
|
264
266
|
React.createElement("tbody", null, loading || allItems.length === 0 ? (React.createElement("tr", null,
|