@cloudscape-design/components 3.0.329 → 3.0.330
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/app-layout/runtime-api.d.ts.map +1 -1
- package/app-layout/runtime-api.js +5 -4
- package/app-layout/runtime-api.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +69 -69
- package/app-layout/visual-refresh/styles.scoped.css +167 -167
- package/app-layout/visual-refresh/styles.selectors.js +69 -69
- package/area-chart/chart-container.d.ts.map +1 -1
- package/area-chart/chart-container.js +8 -15
- package/area-chart/chart-container.js.map +1 -1
- package/area-chart/internal.d.ts.map +1 -1
- package/area-chart/internal.js +2 -16
- package/area-chart/internal.js.map +1 -1
- package/area-chart/styles.css.js +6 -13
- package/area-chart/styles.scoped.css +10 -82
- package/area-chart/styles.selectors.js +6 -13
- package/expandable-section/styles.css.js +28 -31
- package/expandable-section/styles.scoped.css +85 -66
- package/expandable-section/styles.selectors.js +28 -31
- package/internal/components/cartesian-chart/chart-container.d.ts +11 -0
- package/internal/components/cartesian-chart/chart-container.d.ts.map +1 -0
- package/internal/components/cartesian-chart/chart-container.js +15 -0
- package/internal/components/cartesian-chart/chart-container.js.map +1 -0
- package/internal/components/cartesian-chart/styles.css.js +23 -21
- package/internal/components/cartesian-chart/styles.scoped.css +37 -25
- package/internal/components/cartesian-chart/styles.selectors.js +23 -21
- package/internal/components/chart-wrapper/index.d.ts +17 -0
- package/internal/components/chart-wrapper/index.d.ts.map +1 -0
- package/internal/components/chart-wrapper/index.js +26 -0
- package/internal/components/chart-wrapper/index.js.map +1 -0
- package/internal/components/chart-wrapper/styles.css.js +11 -0
- package/internal/components/chart-wrapper/styles.scoped.css +155 -0
- package/internal/components/chart-wrapper/styles.selectors.js +12 -0
- package/internal/environment.js +1 -1
- package/internal/manifest.json +1 -1
- package/internal/plugins/drawers-controller.d.ts +2 -4
- package/internal/plugins/drawers-controller.d.ts.map +1 -1
- package/internal/plugins/drawers-controller.js.map +1 -1
- package/mixed-line-bar-chart/chart-container.d.ts.map +1 -1
- package/mixed-line-bar-chart/chart-container.js +12 -19
- package/mixed-line-bar-chart/chart-container.js.map +1 -1
- package/mixed-line-bar-chart/internal.d.ts.map +1 -1
- package/mixed-line-bar-chart/internal.js +10 -15
- package/mixed-line-bar-chart/internal.js.map +1 -1
- package/mixed-line-bar-chart/styles.css.js +11 -19
- package/mixed-line-bar-chart/styles.scoped.css +18 -94
- package/mixed-line-bar-chart/styles.selectors.js +11 -19
- package/package.json +1 -1
- package/pie-chart/index.d.ts.map +1 -1
- package/pie-chart/index.js +26 -14
- package/pie-chart/index.js.map +1 -1
- package/pie-chart/pie-chart.d.ts +5 -3
- package/pie-chart/pie-chart.d.ts.map +1 -1
- package/pie-chart/pie-chart.js +14 -40
- package/pie-chart/pie-chart.js.map +1 -1
- package/pie-chart/styles.css.js +23 -27
- package/pie-chart/styles.scoped.css +38 -94
- package/pie-chart/styles.selectors.js +23 -27
- package/table/body-cell/styles.css.js +28 -28
- package/table/body-cell/styles.scoped.css +75 -69
- package/table/body-cell/styles.selectors.js +28 -28
- package/test-utils/dom/mixed-line-bar-chart/index.js +2 -1
- package/test-utils/dom/mixed-line-bar-chart/index.js.map +1 -1
- package/test-utils/dom/pie-chart/index.js +2 -1
- package/test-utils/dom/pie-chart/index.js.map +1 -1
- package/test-utils/selectors/mixed-line-bar-chart/index.js +2 -1
- package/test-utils/selectors/mixed-line-bar-chart/index.js.map +1 -1
- package/test-utils/selectors/pie-chart/index.js +2 -1
- package/test-utils/selectors/pie-chart/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/mixed-line-bar-chart/chart-filters.d.ts +0 -13
- package/mixed-line-bar-chart/chart-filters.d.ts.map +0 -1
- package/mixed-line-bar-chart/chart-filters.js +0 -22
- package/mixed-line-bar-chart/chart-filters.js.map +0 -1
|
@@ -1,36 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content-enter": "awsui_content-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"trigger-expanded": "awsui_trigger-
|
|
7
|
-
"icon": "
|
|
8
|
-
"root": "
|
|
9
|
-
"expand-button": "awsui_expand-
|
|
10
|
-
"expanded": "
|
|
11
|
-
"icon-container": "awsui_icon-
|
|
12
|
-
"icon-container-container": "awsui_icon-container-
|
|
13
|
-
"wrapper": "
|
|
14
|
-
"wrapper-default": "awsui_wrapper-
|
|
15
|
-
"wrapper-footer": "awsui_wrapper-
|
|
16
|
-
"wrapper-navigation": "awsui_wrapper-
|
|
17
|
-
"wrapper-container": "awsui_wrapper-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"header
|
|
21
|
-
"header-
|
|
22
|
-
"header-button": "awsui_header-
|
|
23
|
-
"header-container-button": "awsui_header-container-
|
|
24
|
-
"header-container": "awsui_header-
|
|
25
|
-
"header-navigation": "awsui_header-
|
|
26
|
-
"content": "
|
|
27
|
-
"content-default": "awsui_content-
|
|
28
|
-
"content-footer": "awsui_content-
|
|
29
|
-
"content-expanded": "awsui_content-
|
|
30
|
-
"focusable": "
|
|
31
|
-
"click-target": "awsui_click-
|
|
32
|
-
"description-default": "awsui_description-default_gwq0h_xy8yt_333",
|
|
33
|
-
"description-footer": "awsui_description-footer_gwq0h_xy8yt_334",
|
|
34
|
-
"description-container": "awsui_description-container_gwq0h_xy8yt_338"
|
|
4
|
+
"content-enter": "awsui_content-enter_gwq0h_a11gk_97",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_a11gk_1",
|
|
6
|
+
"trigger-expanded": "awsui_trigger-expanded_gwq0h_a11gk_119",
|
|
7
|
+
"icon": "awsui_icon_gwq0h_a11gk_133",
|
|
8
|
+
"root": "awsui_root_gwq0h_a11gk_151",
|
|
9
|
+
"expand-button": "awsui_expand-button_gwq0h_a11gk_168",
|
|
10
|
+
"expanded": "awsui_expanded_gwq0h_a11gk_175",
|
|
11
|
+
"icon-container": "awsui_icon-container_gwq0h_a11gk_179",
|
|
12
|
+
"icon-container-container": "awsui_icon-container-container_gwq0h_a11gk_184",
|
|
13
|
+
"wrapper": "awsui_wrapper_gwq0h_a11gk_188",
|
|
14
|
+
"wrapper-default": "awsui_wrapper-default_gwq0h_a11gk_195",
|
|
15
|
+
"wrapper-footer": "awsui_wrapper-footer_gwq0h_a11gk_195",
|
|
16
|
+
"wrapper-navigation": "awsui_wrapper-navigation_gwq0h_a11gk_198",
|
|
17
|
+
"wrapper-container": "awsui_wrapper-container_gwq0h_a11gk_201",
|
|
18
|
+
"header-deprecated": "awsui_header-deprecated_gwq0h_a11gk_217",
|
|
19
|
+
"wrapper-expanded": "awsui_wrapper-expanded_gwq0h_a11gk_248",
|
|
20
|
+
"header": "awsui_header_gwq0h_a11gk_217",
|
|
21
|
+
"header-wrapper": "awsui_header-wrapper_gwq0h_a11gk_255",
|
|
22
|
+
"header-button": "awsui_header-button_gwq0h_a11gk_265",
|
|
23
|
+
"header-container-button": "awsui_header-container-button_gwq0h_a11gk_265",
|
|
24
|
+
"header-container": "awsui_header-container_gwq0h_a11gk_265",
|
|
25
|
+
"header-navigation": "awsui_header-navigation_gwq0h_a11gk_297",
|
|
26
|
+
"content": "awsui_content_gwq0h_a11gk_97",
|
|
27
|
+
"content-default": "awsui_content-default_gwq0h_a11gk_333",
|
|
28
|
+
"content-footer": "awsui_content-footer_gwq0h_a11gk_336",
|
|
29
|
+
"content-expanded": "awsui_content-expanded_gwq0h_a11gk_339",
|
|
30
|
+
"focusable": "awsui_focusable_gwq0h_a11gk_343",
|
|
31
|
+
"click-target": "awsui_click-target_gwq0h_a11gk_354"
|
|
35
32
|
};
|
|
36
33
|
|
|
@@ -94,10 +94,10 @@ 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_content-
|
|
98
|
-
animation: awsui_awsui-motion-fade-
|
|
97
|
+
.awsui_content-enter_gwq0h_a11gk_97:not(#\9) {
|
|
98
|
+
animation: awsui_awsui-motion-fade-in_gwq0h_a11gk_1 var(--motion-duration-show-paced-uryptc, 180ms) var(--motion-easing-show-paced-tbgeqx, ease-out);
|
|
99
99
|
}
|
|
100
|
-
@keyframes awsui_awsui-motion-fade-
|
|
100
|
+
@keyframes awsui_awsui-motion-fade-in_gwq0h_a11gk_1 {
|
|
101
101
|
from {
|
|
102
102
|
opacity: 0.2;
|
|
103
103
|
}
|
|
@@ -106,40 +106,40 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
@media (prefers-reduced-motion: reduce) {
|
|
109
|
-
.awsui_content-
|
|
109
|
+
.awsui_content-enter_gwq0h_a11gk_97:not(#\9) {
|
|
110
110
|
animation: none;
|
|
111
111
|
transition: none;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
.awsui-motion-disabled .awsui_content-
|
|
114
|
+
.awsui-motion-disabled .awsui_content-enter_gwq0h_a11gk_97:not(#\9), .awsui-mode-entering .awsui_content-enter_gwq0h_a11gk_97:not(#\9) {
|
|
115
115
|
animation: none;
|
|
116
116
|
transition: none;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.awsui_trigger-
|
|
119
|
+
.awsui_trigger-expanded_gwq0h_a11gk_119:not(#\9) {
|
|
120
120
|
transition: border-bottom-color var(--motion-duration-show-paced-uryptc, 180ms) var(--motion-easing-show-paced-tbgeqx, ease-out);
|
|
121
121
|
}
|
|
122
122
|
@media (prefers-reduced-motion: reduce) {
|
|
123
|
-
.awsui_trigger-
|
|
123
|
+
.awsui_trigger-expanded_gwq0h_a11gk_119:not(#\9) {
|
|
124
124
|
animation: none;
|
|
125
125
|
transition: none;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
.awsui-motion-disabled .awsui_trigger-
|
|
128
|
+
.awsui-motion-disabled .awsui_trigger-expanded_gwq0h_a11gk_119:not(#\9), .awsui-mode-entering .awsui_trigger-expanded_gwq0h_a11gk_119:not(#\9) {
|
|
129
129
|
animation: none;
|
|
130
130
|
transition: none;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
133
|
+
.awsui_icon_gwq0h_a11gk_133:not(#\9) {
|
|
134
134
|
transition: transform var(--motion-duration-rotate-90-jfxxiy, 135ms) var(--motion-easing-rotate-90-ax5lt7, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
135
135
|
}
|
|
136
136
|
@media (prefers-reduced-motion: reduce) {
|
|
137
|
-
.
|
|
137
|
+
.awsui_icon_gwq0h_a11gk_133:not(#\9) {
|
|
138
138
|
animation: none;
|
|
139
139
|
transition: none;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
.awsui-motion-disabled .
|
|
142
|
+
.awsui-motion-disabled .awsui_icon_gwq0h_a11gk_133:not(#\9), .awsui-mode-entering .awsui_icon_gwq0h_a11gk_133:not(#\9) {
|
|
143
143
|
animation: none;
|
|
144
144
|
transition: none;
|
|
145
145
|
}
|
|
@@ -148,7 +148,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
148
148
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
149
149
|
SPDX-License-Identifier: Apache-2.0
|
|
150
150
|
*/
|
|
151
|
-
.
|
|
151
|
+
.awsui_root_gwq0h_a11gk_151:not(#\9) {
|
|
152
152
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
153
153
|
border-collapse: separate;
|
|
154
154
|
border-spacing: 0;
|
|
@@ -191,91 +191,111 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
191
191
|
display: block;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
.awsui_expand-
|
|
194
|
+
.awsui_expand-button_gwq0h_a11gk_168:not(#\9) {
|
|
195
195
|
/* used in test-utils */
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.
|
|
198
|
+
.awsui_icon_gwq0h_a11gk_133:not(#\9) {
|
|
199
199
|
transform: rotate(-90deg);
|
|
200
200
|
}
|
|
201
|
-
.
|
|
201
|
+
.awsui_icon_gwq0h_a11gk_133.awsui_expanded_gwq0h_a11gk_175:not(#\9) {
|
|
202
202
|
transform: rotate(0deg);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.awsui_icon-
|
|
205
|
+
.awsui_icon-container_gwq0h_a11gk_179:not(#\9) {
|
|
206
206
|
position: relative;
|
|
207
207
|
margin-left: calc((var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2);
|
|
208
208
|
margin-right: calc(var(--space-xxs-ja5cp8, 4px) + var(--border-divider-list-width-um3zli, 1px));
|
|
209
209
|
}
|
|
210
|
-
.awsui_icon-container-
|
|
210
|
+
.awsui_icon-container-container_gwq0h_a11gk_184:not(#\9) {
|
|
211
211
|
margin-right: var(--space-xs-edba2s, 8px);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
.
|
|
214
|
+
.awsui_wrapper_gwq0h_a11gk_188:not(#\9) {
|
|
215
215
|
box-sizing: border-box;
|
|
216
216
|
border: none;
|
|
217
217
|
width: 100%;
|
|
218
218
|
line-height: var(--font-body-m-line-height-rfgrp9, 22px);
|
|
219
219
|
text-align: left;
|
|
220
220
|
}
|
|
221
|
-
.awsui_wrapper-
|
|
222
|
-
padding: var(--space-scaled-xxs-t2t62i, 4px) var(--space-xxs-ja5cp8, 4px);
|
|
223
|
-
}
|
|
224
|
-
.awsui_wrapper-footer_gwq0h_xy8yt_198:not(#\9) {
|
|
225
|
-
padding: var(--space-scaled-xxs-t2t62i, 4px) 0;
|
|
226
|
-
}
|
|
227
|
-
.awsui_wrapper-default_gwq0h_xy8yt_195:not(#\9), .awsui_wrapper-footer_gwq0h_xy8yt_198:not(#\9) {
|
|
221
|
+
.awsui_wrapper-default_gwq0h_a11gk_195:not(#\9), .awsui_wrapper-footer_gwq0h_a11gk_195:not(#\9) {
|
|
228
222
|
border: var(--border-divider-section-width-orq175, 2px) solid transparent;
|
|
229
223
|
}
|
|
230
|
-
.awsui_wrapper-
|
|
224
|
+
.awsui_wrapper-navigation_gwq0h_a11gk_198:not(#\9) {
|
|
231
225
|
border-left: var(--border-divider-section-width-orq175, 2px) solid transparent;
|
|
232
226
|
}
|
|
233
|
-
.awsui_wrapper-
|
|
227
|
+
.awsui_wrapper-navigation_gwq0h_a11gk_198:not(#\9), .awsui_wrapper-container_gwq0h_a11gk_201:not(#\9) {
|
|
234
228
|
display: flex;
|
|
235
229
|
font-weight: var(--font-heading-s-weight-5y5giq, 800);
|
|
236
230
|
}
|
|
237
|
-
.awsui_wrapper-
|
|
231
|
+
.awsui_wrapper-default_gwq0h_a11gk_195:not(#\9), .awsui_wrapper-navigation_gwq0h_a11gk_198:not(#\9), .awsui_wrapper-footer_gwq0h_a11gk_195:not(#\9) {
|
|
238
232
|
color: var(--color-text-expandable-section-default-m3lg7r, #000716);
|
|
239
233
|
-webkit-font-smoothing: var(--font-smoothing-webkit-fyh4as, antialiased);
|
|
240
234
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-pa2uqe, grayscale);
|
|
241
235
|
font-size: var(--font-expandable-heading-size-mkp9vq, 16px);
|
|
242
236
|
letter-spacing: var(--font-heading-s-letter-spacing-j4vcrt, -0.005em);
|
|
243
237
|
}
|
|
244
|
-
.awsui_wrapper-
|
|
245
|
-
padding: var(--space-
|
|
238
|
+
.awsui_wrapper-default_gwq0h_a11gk_195:not(#\9) {
|
|
239
|
+
padding-top: var(--space-scaled-xxs-t2t62i, 4px);
|
|
240
|
+
padding-bottom: var(--space-scaled-xxs-t2t62i, 4px);
|
|
241
|
+
padding-right: var(--space-xxs-ja5cp8, 4px);
|
|
242
|
+
}
|
|
243
|
+
.awsui_wrapper-default_gwq0h_a11gk_195.awsui_header-deprecated_gwq0h_a11gk_217:not(#\9) {
|
|
244
|
+
padding-left: var(--space-xxs-ja5cp8, 4px);
|
|
245
|
+
}
|
|
246
|
+
.awsui_wrapper-default_gwq0h_a11gk_195:not(#\9):not(.awsui_header-deprecated_gwq0h_a11gk_217) {
|
|
247
|
+
padding-left: calc(var(--space-xxs-ja5cp8, 4px) + calc(var(--size-icon-normal-jq6jat, 16px) + (var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2 + var(--space-xxs-ja5cp8, 4px) + var(--border-divider-list-width-um3zli, 1px)));
|
|
248
|
+
}
|
|
249
|
+
.awsui_wrapper-footer_gwq0h_a11gk_195:not(#\9) {
|
|
250
|
+
padding-top: var(--space-scaled-xxs-t2t62i, 4px);
|
|
251
|
+
padding-bottom: var(--space-scaled-xxs-t2t62i, 4px);
|
|
252
|
+
padding-right: 0;
|
|
253
|
+
}
|
|
254
|
+
.awsui_wrapper-footer_gwq0h_a11gk_195.awsui_header-deprecated_gwq0h_a11gk_217:not(#\9) {
|
|
255
|
+
padding-left: 0;
|
|
246
256
|
}
|
|
247
|
-
|
|
257
|
+
.awsui_wrapper-footer_gwq0h_a11gk_195:not(#\9):not(.awsui_header-deprecated_gwq0h_a11gk_217) {
|
|
258
|
+
padding-left: calc(var(--size-icon-normal-jq6jat, 16px) + (var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2 + var(--space-xxs-ja5cp8, 4px) + var(--border-divider-list-width-um3zli, 1px));
|
|
259
|
+
}
|
|
260
|
+
.awsui_wrapper-container_gwq0h_a11gk_201:not(#\9) {
|
|
261
|
+
padding-top: var(--space-container-header-vertical-di96ce, 12px);
|
|
262
|
+
padding-bottom: var(--space-container-header-vertical-di96ce, 12px);
|
|
263
|
+
padding-right: var(--space-container-horizontal-jxdgil, 20px);
|
|
264
|
+
}
|
|
265
|
+
.awsui_wrapper-container_gwq0h_a11gk_201.awsui_header-deprecated_gwq0h_a11gk_217:not(#\9) {
|
|
266
|
+
padding-left: var(--space-container-horizontal-jxdgil, 20px);
|
|
267
|
+
}
|
|
268
|
+
.awsui_wrapper-container_gwq0h_a11gk_201:not(#\9):not(.awsui_header-deprecated_gwq0h_a11gk_217) {
|
|
269
|
+
padding-left: calc(var(--space-container-horizontal-jxdgil, 20px) + calc(var(--size-icon-medium-x0iee8, 20px) + (var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2 + var(--space-xs-edba2s, 8px)));
|
|
270
|
+
}
|
|
271
|
+
body[data-awsui-focus-visible=true] .awsui_wrapper-container_gwq0h_a11gk_201:not(#\9):focus {
|
|
248
272
|
padding: calc(var(--space-scaled-s-913kwi, 12px) - var(--border-divider-section-width-orq175, 2px)) calc(var(--space-l-f4l5gr, 20px) - var(--border-divider-section-width-orq175, 2px));
|
|
249
273
|
}
|
|
250
|
-
.awsui_wrapper-
|
|
274
|
+
.awsui_wrapper-default_gwq0h_a11gk_195.awsui_wrapper-expanded_gwq0h_a11gk_248:not(#\9) {
|
|
251
275
|
border-bottom-color: var(--color-border-divider-default-9o8zql, #e9ebed);
|
|
252
276
|
}
|
|
253
277
|
|
|
254
|
-
.
|
|
278
|
+
.awsui_header_gwq0h_a11gk_217:not(#\9) {
|
|
255
279
|
/* used in test-utils */
|
|
256
280
|
}
|
|
257
|
-
.awsui_header-
|
|
281
|
+
.awsui_header-wrapper_gwq0h_a11gk_255:not(#\9), .awsui_header-deprecated_gwq0h_a11gk_217:not(#\9) {
|
|
258
282
|
display: flex;
|
|
259
283
|
font-weight: var(--font-heading-s-weight-5y5giq, 800);
|
|
260
284
|
}
|
|
261
|
-
.awsui_header-
|
|
285
|
+
.awsui_header-wrapper_gwq0h_a11gk_255:not(#\9) {
|
|
262
286
|
font-size: inherit;
|
|
263
287
|
letter-spacing: inherit;
|
|
264
288
|
margin: 0;
|
|
265
289
|
padding: 0;
|
|
266
290
|
}
|
|
267
|
-
.awsui_header-
|
|
268
|
-
box-sizing: border-box;
|
|
269
|
-
display: flex;
|
|
270
|
-
}
|
|
271
|
-
body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_xy8yt_241:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_xy8yt_245:not(#\9):focus {
|
|
291
|
+
body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_a11gk_265:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_a11gk_265:not(#\9):focus {
|
|
272
292
|
position: relative;
|
|
273
293
|
}
|
|
274
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
294
|
+
body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_a11gk_265:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_a11gk_265:not(#\9):focus {
|
|
275
295
|
outline: 2px dotted transparent;
|
|
276
296
|
outline-offset: calc(0px - 1px);
|
|
277
297
|
}
|
|
278
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
298
|
+
body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_a11gk_265:not(#\9):focus::before, body[data-awsui-focus-visible=true] .awsui_header-container-button_gwq0h_a11gk_265:not(#\9):focus::before {
|
|
279
299
|
content: " ";
|
|
280
300
|
display: block;
|
|
281
301
|
position: absolute;
|
|
@@ -286,13 +306,21 @@ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_xy8yt_241:not(#\9
|
|
|
286
306
|
border-radius: var(--border-radius-control-default-focus-ring-muizvi, 4px);
|
|
287
307
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-4t19h5, #0972d3);
|
|
288
308
|
}
|
|
289
|
-
.awsui_header-
|
|
309
|
+
.awsui_header-button_gwq0h_a11gk_265:not(#\9) {
|
|
310
|
+
box-sizing: border-box;
|
|
311
|
+
display: flex;
|
|
312
|
+
margin-left: calc(-1 * calc(var(--size-icon-normal-jq6jat, 16px) + (var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2 + var(--space-xxs-ja5cp8, 4px) + var(--border-divider-list-width-um3zli, 1px)));
|
|
313
|
+
}
|
|
314
|
+
.awsui_header-container-button_gwq0h_a11gk_265:not(#\9) {
|
|
315
|
+
margin-left: calc(-1 * calc(var(--size-icon-medium-x0iee8, 20px) + (var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2 + var(--space-xs-edba2s, 8px)));
|
|
316
|
+
}
|
|
317
|
+
.awsui_header-container_gwq0h_a11gk_265:not(#\9) {
|
|
290
318
|
width: 100%;
|
|
291
319
|
}
|
|
292
|
-
.awsui_header-
|
|
320
|
+
.awsui_header-container_gwq0h_a11gk_265 > .awsui_icon-container_gwq0h_a11gk_179:not(#\9) {
|
|
293
321
|
margin-top: var(--space-expandable-section-icon-offset-top-qfofw6, 4px);
|
|
294
322
|
}
|
|
295
|
-
.awsui_header-
|
|
323
|
+
.awsui_header-navigation_gwq0h_a11gk_297 > .awsui_icon-container_gwq0h_a11gk_179:not(#\9) {
|
|
296
324
|
display: inline-flex;
|
|
297
325
|
cursor: pointer;
|
|
298
326
|
color: var(--color-text-expandable-section-navigation-icon-default-lzmj1u, #414d5c);
|
|
@@ -303,17 +331,17 @@ body[data-awsui-focus-visible=true] .awsui_header-button_gwq0h_xy8yt_241:not(#\9
|
|
|
303
331
|
text-decoration: none;
|
|
304
332
|
flex-direction: column;
|
|
305
333
|
}
|
|
306
|
-
.awsui_header-
|
|
334
|
+
.awsui_header-navigation_gwq0h_a11gk_297 > .awsui_icon-container_gwq0h_a11gk_179:not(#\9):hover {
|
|
307
335
|
color: var(--color-text-expandable-section-hover-pux1oy, #0972d3);
|
|
308
336
|
}
|
|
309
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
337
|
+
body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_a11gk_297 > .awsui_icon-container_gwq0h_a11gk_179:not(#\9):focus {
|
|
310
338
|
position: relative;
|
|
311
339
|
}
|
|
312
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
340
|
+
body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_a11gk_297 > .awsui_icon-container_gwq0h_a11gk_179:not(#\9):focus {
|
|
313
341
|
outline: 2px dotted transparent;
|
|
314
342
|
outline-offset: calc(2px - 1px);
|
|
315
343
|
}
|
|
316
|
-
body[data-awsui-focus-visible=true] .awsui_header-
|
|
344
|
+
body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_a11gk_297 > .awsui_icon-container_gwq0h_a11gk_179:not(#\9):focus::before {
|
|
317
345
|
content: " ";
|
|
318
346
|
display: block;
|
|
319
347
|
position: absolute;
|
|
@@ -325,42 +353,33 @@ body[data-awsui-focus-visible=true] .awsui_header-navigation_gwq0h_xy8yt_269 > .
|
|
|
325
353
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-4t19h5, #0972d3);
|
|
326
354
|
}
|
|
327
355
|
|
|
328
|
-
.
|
|
356
|
+
.awsui_content_gwq0h_a11gk_97:not(#\9) {
|
|
329
357
|
display: none;
|
|
330
358
|
}
|
|
331
|
-
.awsui_content-
|
|
359
|
+
.awsui_content-default_gwq0h_a11gk_333:not(#\9) {
|
|
332
360
|
padding: var(--space-scaled-xs-wbfgrv, 8px) 0;
|
|
333
361
|
}
|
|
334
|
-
.awsui_content-
|
|
362
|
+
.awsui_content-footer_gwq0h_a11gk_336:not(#\9) {
|
|
335
363
|
padding: var(--space-xs-edba2s, 8px) 0;
|
|
336
364
|
}
|
|
337
|
-
.awsui_content-
|
|
365
|
+
.awsui_content-expanded_gwq0h_a11gk_339:not(#\9) {
|
|
338
366
|
display: block;
|
|
339
367
|
}
|
|
340
368
|
|
|
341
|
-
.
|
|
369
|
+
.awsui_focusable_gwq0h_a11gk_343:not(#\9):focus {
|
|
342
370
|
outline: none;
|
|
343
371
|
text-decoration: none;
|
|
344
372
|
}
|
|
345
|
-
body[data-awsui-focus-visible=true] .
|
|
373
|
+
body[data-awsui-focus-visible=true] .awsui_focusable_gwq0h_a11gk_343:not(#\9):focus {
|
|
346
374
|
outline: 2px dotted transparent;
|
|
347
375
|
border: var(--border-field-width-riro62, 2px) solid var(--color-border-item-focused-4t19h5, #0972d3);
|
|
348
376
|
border-radius: var(--border-radius-control-default-focus-ring-muizvi, 4px);
|
|
349
377
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-cwek11, 0px) var(--color-border-item-focused-4t19h5, #0972d3);
|
|
350
378
|
}
|
|
351
379
|
|
|
352
|
-
.awsui_click-
|
|
380
|
+
.awsui_click-target_gwq0h_a11gk_354:not(#\9) {
|
|
353
381
|
cursor: pointer;
|
|
354
382
|
}
|
|
355
|
-
.awsui_click-
|
|
383
|
+
.awsui_click-target_gwq0h_a11gk_354:not(#\9):not(.awsui_wrapper-container_gwq0h_a11gk_201):not(.awsui_header-container-button_gwq0h_a11gk_265):hover {
|
|
356
384
|
color: var(--color-text-expandable-section-hover-pux1oy, #0972d3);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
.awsui_description-default_gwq0h_xy8yt_333:not(#\9),
|
|
360
|
-
.awsui_description-footer_gwq0h_xy8yt_334:not(#\9) {
|
|
361
|
-
padding-left: calc(var(--size-icon-normal-jq6jat, 16px) + (var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2 + var(--space-xxs-ja5cp8, 4px) + var(--border-divider-list-width-um3zli, 1px));
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.awsui_description-container_gwq0h_xy8yt_338:not(#\9) {
|
|
365
|
-
padding-left: calc(var(--size-icon-medium-x0iee8, 20px) + (var(--font-body-m-line-height-rfgrp9, 22px) - var(--size-icon-normal-jq6jat, 16px)) / -2 + var(--space-xs-edba2s, 8px));
|
|
366
385
|
}
|
|
@@ -2,36 +2,33 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"content-enter": "awsui_content-
|
|
6
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
7
|
-
"trigger-expanded": "awsui_trigger-
|
|
8
|
-
"icon": "
|
|
9
|
-
"root": "
|
|
10
|
-
"expand-button": "awsui_expand-
|
|
11
|
-
"expanded": "
|
|
12
|
-
"icon-container": "awsui_icon-
|
|
13
|
-
"icon-container-container": "awsui_icon-container-
|
|
14
|
-
"wrapper": "
|
|
15
|
-
"wrapper-default": "awsui_wrapper-
|
|
16
|
-
"wrapper-footer": "awsui_wrapper-
|
|
17
|
-
"wrapper-navigation": "awsui_wrapper-
|
|
18
|
-
"wrapper-container": "awsui_wrapper-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"header
|
|
22
|
-
"header-
|
|
23
|
-
"header-button": "awsui_header-
|
|
24
|
-
"header-container-button": "awsui_header-container-
|
|
25
|
-
"header-container": "awsui_header-
|
|
26
|
-
"header-navigation": "awsui_header-
|
|
27
|
-
"content": "
|
|
28
|
-
"content-default": "awsui_content-
|
|
29
|
-
"content-footer": "awsui_content-
|
|
30
|
-
"content-expanded": "awsui_content-
|
|
31
|
-
"focusable": "
|
|
32
|
-
"click-target": "awsui_click-
|
|
33
|
-
"description-default": "awsui_description-default_gwq0h_xy8yt_333",
|
|
34
|
-
"description-footer": "awsui_description-footer_gwq0h_xy8yt_334",
|
|
35
|
-
"description-container": "awsui_description-container_gwq0h_xy8yt_338"
|
|
5
|
+
"content-enter": "awsui_content-enter_gwq0h_a11gk_97",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_a11gk_1",
|
|
7
|
+
"trigger-expanded": "awsui_trigger-expanded_gwq0h_a11gk_119",
|
|
8
|
+
"icon": "awsui_icon_gwq0h_a11gk_133",
|
|
9
|
+
"root": "awsui_root_gwq0h_a11gk_151",
|
|
10
|
+
"expand-button": "awsui_expand-button_gwq0h_a11gk_168",
|
|
11
|
+
"expanded": "awsui_expanded_gwq0h_a11gk_175",
|
|
12
|
+
"icon-container": "awsui_icon-container_gwq0h_a11gk_179",
|
|
13
|
+
"icon-container-container": "awsui_icon-container-container_gwq0h_a11gk_184",
|
|
14
|
+
"wrapper": "awsui_wrapper_gwq0h_a11gk_188",
|
|
15
|
+
"wrapper-default": "awsui_wrapper-default_gwq0h_a11gk_195",
|
|
16
|
+
"wrapper-footer": "awsui_wrapper-footer_gwq0h_a11gk_195",
|
|
17
|
+
"wrapper-navigation": "awsui_wrapper-navigation_gwq0h_a11gk_198",
|
|
18
|
+
"wrapper-container": "awsui_wrapper-container_gwq0h_a11gk_201",
|
|
19
|
+
"header-deprecated": "awsui_header-deprecated_gwq0h_a11gk_217",
|
|
20
|
+
"wrapper-expanded": "awsui_wrapper-expanded_gwq0h_a11gk_248",
|
|
21
|
+
"header": "awsui_header_gwq0h_a11gk_217",
|
|
22
|
+
"header-wrapper": "awsui_header-wrapper_gwq0h_a11gk_255",
|
|
23
|
+
"header-button": "awsui_header-button_gwq0h_a11gk_265",
|
|
24
|
+
"header-container-button": "awsui_header-container-button_gwq0h_a11gk_265",
|
|
25
|
+
"header-container": "awsui_header-container_gwq0h_a11gk_265",
|
|
26
|
+
"header-navigation": "awsui_header-navigation_gwq0h_a11gk_297",
|
|
27
|
+
"content": "awsui_content_gwq0h_a11gk_97",
|
|
28
|
+
"content-default": "awsui_content-default_gwq0h_a11gk_333",
|
|
29
|
+
"content-footer": "awsui_content-footer_gwq0h_a11gk_336",
|
|
30
|
+
"content-expanded": "awsui_content-expanded_gwq0h_a11gk_339",
|
|
31
|
+
"focusable": "awsui_focusable_gwq0h_a11gk_343",
|
|
32
|
+
"click-target": "awsui_click-target_gwq0h_a11gk_354"
|
|
36
33
|
};
|
|
37
34
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CartesianChartContainerProps {
|
|
3
|
+
leftAxisLabel: React.ReactNode;
|
|
4
|
+
leftAxisLabelMeasure: React.ReactNode;
|
|
5
|
+
bottomAxisLabel: React.ReactNode;
|
|
6
|
+
chartPlot: React.ReactNode;
|
|
7
|
+
popover: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const CartesianChartContainer: React.ForwardRefExoticComponent<CartesianChartContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=chart-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-container.d.ts","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/chart-container.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,UAAU,4BAA4B;IACpC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,oBAAoB,EAAE,KAAK,CAAC,SAAS,CAAC;IACtC,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAM,uBAAuB,qGAuBnC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
|
+
import styles from './styles.css.js';
|
|
5
|
+
export const CartesianChartContainer = forwardRef(({ leftAxisLabel, leftAxisLabelMeasure, bottomAxisLabel, chartPlot, popover }, ref) => {
|
|
6
|
+
return (React.createElement("div", { className: styles['chart-container'], ref: ref },
|
|
7
|
+
leftAxisLabel,
|
|
8
|
+
React.createElement("div", { className: styles['chart-container__horizontal'] },
|
|
9
|
+
leftAxisLabelMeasure,
|
|
10
|
+
React.createElement("div", { className: styles['chart-container__vertical'] },
|
|
11
|
+
chartPlot,
|
|
12
|
+
bottomAxisLabel),
|
|
13
|
+
popover)));
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=chart-container.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-container.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/chart-container.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAUrC,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAC/C,CACE,EAAE,aAAa,EAAE,oBAAoB,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAgC,EAC1G,GAA8B,EAC9B,EAAE;IACF,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,GAAG;QAChD,aAAa;QAEd,6BAAK,SAAS,EAAE,MAAM,CAAC,6BAA6B,CAAC;YAClD,oBAAoB;YAErB,6BAAK,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;gBAChD,SAAS;gBAET,eAAe,CACZ;YAEL,OAAO,CACJ,CACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { forwardRef } from 'react';\nimport styles from './styles.css.js';\n\ninterface CartesianChartContainerProps {\n leftAxisLabel: React.ReactNode;\n leftAxisLabelMeasure: React.ReactNode;\n bottomAxisLabel: React.ReactNode;\n chartPlot: React.ReactNode;\n popover: React.ReactNode;\n}\n\nexport const CartesianChartContainer = forwardRef(\n (\n { leftAxisLabel, leftAxisLabelMeasure, bottomAxisLabel, chartPlot, popover }: CartesianChartContainerProps,\n ref: React.Ref<HTMLDivElement>\n ) => {\n return (\n <div className={styles['chart-container']} ref={ref}>\n {leftAxisLabel}\n\n <div className={styles['chart-container__horizontal']}>\n {leftAxisLabelMeasure}\n\n <div className={styles['chart-container__vertical']}>\n {chartPlot}\n\n {bottomAxisLabel}\n </div>\n\n {popover}\n </div>\n </div>\n );\n }\n);\n"]}
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"axis": "
|
|
5
|
-
"vertical-marker": "awsui_vertical-
|
|
6
|
-
"axis--emphasized": "awsui_axis--
|
|
7
|
-
"axis-label": "awsui_axis-
|
|
8
|
-
"axis-label--x": "awsui_axis-label--
|
|
9
|
-
"axis-label--y": "awsui_axis-label--
|
|
10
|
-
"grid": "
|
|
11
|
-
"ticks__line": "
|
|
12
|
-
"ticks__text": "
|
|
13
|
-
"ticks--y": "awsui_ticks--
|
|
14
|
-
"ticks--x": "awsui_ticks--
|
|
15
|
-
"ticks--bottom": "awsui_ticks--
|
|
16
|
-
"labels-left": "awsui_labels-
|
|
17
|
-
"ticks": "
|
|
18
|
-
"labels-left__label": "awsui_labels-
|
|
19
|
-
"labels-left--hidden": "awsui_labels-left--
|
|
20
|
-
"labels-bottom": "awsui_labels-
|
|
21
|
-
"vertical-marker-circle": "awsui_vertical-marker-
|
|
22
|
-
"vertical-marker-circle-active": "awsui_vertical-marker-circle-
|
|
23
|
-
"focus-outline": "awsui_focus-
|
|
24
|
-
"
|
|
4
|
+
"axis": "awsui_axis_f0fot_pe91i_9",
|
|
5
|
+
"vertical-marker": "awsui_vertical-marker_f0fot_pe91i_10",
|
|
6
|
+
"axis--emphasized": "awsui_axis--emphasized_f0fot_pe91i_15",
|
|
7
|
+
"axis-label": "awsui_axis-label_f0fot_pe91i_19",
|
|
8
|
+
"axis-label--x": "awsui_axis-label--x_f0fot_pe91i_24",
|
|
9
|
+
"axis-label--y": "awsui_axis-label--y_f0fot_pe91i_25",
|
|
10
|
+
"grid": "awsui_grid_f0fot_pe91i_29",
|
|
11
|
+
"ticks__line": "awsui_ticks__line_f0fot_pe91i_34",
|
|
12
|
+
"ticks__text": "awsui_ticks__text_f0fot_pe91i_39",
|
|
13
|
+
"ticks--y": "awsui_ticks--y_f0fot_pe91i_44",
|
|
14
|
+
"ticks--x": "awsui_ticks--x_f0fot_pe91i_45",
|
|
15
|
+
"ticks--bottom": "awsui_ticks--bottom_f0fot_pe91i_49",
|
|
16
|
+
"labels-left": "awsui_labels-left_f0fot_pe91i_54",
|
|
17
|
+
"ticks": "awsui_ticks_f0fot_pe91i_34",
|
|
18
|
+
"labels-left__label": "awsui_labels-left__label_f0fot_pe91i_69",
|
|
19
|
+
"labels-left--hidden": "awsui_labels-left--hidden_f0fot_pe91i_73",
|
|
20
|
+
"labels-bottom": "awsui_labels-bottom_f0fot_pe91i_81",
|
|
21
|
+
"vertical-marker-circle": "awsui_vertical-marker-circle_f0fot_pe91i_92",
|
|
22
|
+
"vertical-marker-circle-active": "awsui_vertical-marker-circle-active_f0fot_pe91i_98",
|
|
23
|
+
"focus-outline": "awsui_focus-outline_f0fot_pe91i_103",
|
|
24
|
+
"chart-container": "awsui_chart-container_f0fot_pe91i_111",
|
|
25
|
+
"chart-container__vertical": "awsui_chart-container__vertical_f0fot_pe91i_117",
|
|
26
|
+
"chart-container__horizontal": "awsui_chart-container__horizontal_f0fot_pe91i_123"
|
|
25
27
|
};
|
|
26
28
|
|