@cloudscape-design/components 3.0.543 → 3.0.545
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/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +20 -20
- package/anchor-navigation/styles.selectors.js +8 -8
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -31
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +8 -8
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/styles.css.js +12 -12
- package/app-layout/drawer/styles.scoped.css +22 -22
- package/app-layout/drawer/styles.selectors.js +12 -12
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +10 -10
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/split-panel/styles.css.js +2 -2
- package/app-layout/split-panel/styles.scoped.css +4 -4
- package/app-layout/split-panel/styles.selectors.js +2 -2
- package/app-layout/styles.css.js +16 -16
- package/app-layout/styles.scoped.css +21 -21
- package/app-layout/styles.selectors.js +16 -16
- 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 +81 -81
- package/app-layout/visual-refresh/styles.scoped.css +173 -173
- package/app-layout/visual-refresh/styles.selectors.js +81 -81
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +11 -11
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +26 -26
- package/attribute-editor/styles.selectors.js +14 -14
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +7 -7
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +190 -190
- package/box/styles.scoped.css +241 -241
- package/box/styles.selectors.js +190 -190
- package/breadcrumb-group/item/styles.css.js +9 -9
- package/breadcrumb-group/item/styles.scoped.css +19 -19
- package/breadcrumb-group/item/styles.selectors.js +9 -9
- package/breadcrumb-group/styles.css.js +7 -7
- package/breadcrumb-group/styles.scoped.css +14 -14
- package/breadcrumb-group/styles.selectors.js +7 -7
- package/button/styles.css.js +19 -19
- package/button/styles.scoped.css +153 -153
- package/button/styles.selectors.js +19 -19
- package/button-dropdown/category-elements/styles.css.js +13 -13
- package/button-dropdown/category-elements/styles.scoped.css +25 -25
- 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 +20 -20
- package/button-dropdown/item-element/styles.selectors.js +15 -15
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +7 -7
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +15 -15
- package/button-dropdown/styles.scoped.css +24 -24
- package/button-dropdown/styles.selectors.js +15 -15
- package/calendar/styles.css.js +20 -20
- package/calendar/styles.scoped.css +44 -44
- package/calendar/styles.selectors.js +20 -20
- package/cards/styles.css.js +40 -40
- package/cards/styles.scoped.css +52 -52
- package/cards/styles.selectors.js +40 -40
- 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 +131 -131
- 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 +21 -21
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +52 -52
- package/collection-preferences/styles.selectors.js +37 -37
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +45 -45
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +30 -30
- package/container/styles.scoped.css +56 -56
- package/container/styles.selectors.js +30 -30
- package/content-layout/styles.css.js +7 -7
- package/content-layout/styles.scoped.css +13 -13
- package/content-layout/styles.selectors.js +7 -7
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +11 -11
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/styles.css.js +25 -25
- package/date-range-picker/calendar/grids/styles.scoped.css +44 -44
- package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
- package/date-range-picker/relative-range/styles.css.js +9 -9
- package/date-range-picker/relative-range/styles.scoped.css +15 -15
- package/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/date-range-picker/styles.css.js +39 -39
- package/date-range-picker/styles.scoped.css +50 -50
- package/date-range-picker/styles.selectors.js +39 -39
- package/drawer/styles.css.js +3 -3
- package/drawer/styles.scoped.css +10 -10
- package/drawer/styles.selectors.js +3 -3
- package/expandable-section/styles.css.js +32 -32
- package/expandable-section/styles.scoped.css +64 -64
- package/expandable-section/styles.selectors.js +32 -32
- package/file-upload/dropzone/styles.css.js +2 -2
- package/file-upload/dropzone/styles.scoped.css +4 -4
- package/file-upload/dropzone/styles.selectors.js +2 -2
- 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 +148 -148
- package/flashbar/styles.selectors.js +47 -47
- package/form/styles.css.js +9 -9
- package/form/styles.scoped.css +10 -10
- package/form/styles.selectors.js +9 -9
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +31 -31
- package/form-field/styles.selectors.js +19 -19
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +56 -56
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +34 -34
- package/header/styles.scoped.css +54 -54
- package/header/styles.selectors.js +34 -34
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +65 -65
- package/help-panel/styles.selectors.js +4 -4
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +9 -9
- package/hotspot/styles.selectors.js +7 -7
- package/icon/styles.css.js +36 -36
- package/icon/styles.scoped.css +65 -65
- package/icon/styles.selectors.js +36 -36
- package/input/styles.css.js +12 -12
- package/input/styles.scoped.css +32 -32
- package/input/styles.selectors.js +12 -12
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +22 -22
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +10 -10
- package/internal/components/button-trigger/styles.scoped.css +26 -26
- package/internal/components/button-trigger/styles.selectors.js +10 -10
- package/internal/components/cartesian-chart/bottom-labels.js +1 -1
- package/internal/components/cartesian-chart/bottom-labels.js.map +1 -1
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +5 -5
- package/internal/components/chart-filter/styles.selectors.js +3 -3
- 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/chart-plot/styles.css.js +5 -5
- package/internal/components/chart-plot/styles.scoped.css +7 -7
- package/internal/components/chart-plot/styles.selectors.js +5 -5
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +5 -5
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-series-details/styles.css.js +20 -20
- package/internal/components/chart-series-details/styles.scoped.css +35 -35
- package/internal/components/chart-series-details/styles.selectors.js +20 -20
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +9 -9
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-wrapper/styles.css.js +9 -9
- package/internal/components/chart-wrapper/styles.scoped.css +11 -11
- package/internal/components/chart-wrapper/styles.selectors.js +9 -9
- package/internal/components/checkbox-icon/styles.css.js +7 -7
- package/internal/components/checkbox-icon/styles.scoped.css +10 -10
- package/internal/components/checkbox-icon/styles.selectors.js +7 -7
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +39 -39
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +5 -5
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +4 -4
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- 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/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +31 -31
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +2 -2
- package/internal/components/options-list/styles.scoped.css +4 -4
- package/internal/components/options-list/styles.selectors.js +2 -2
- package/internal/components/screenreader-only/styles.css.js +1 -1
- package/internal/components/screenreader-only/styles.scoped.css +3 -3
- package/internal/components/screenreader-only/styles.selectors.js +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/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +73 -73
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/styles.css.js +11 -11
- package/mixed-line-bar-chart/styles.scoped.css +19 -19
- package/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +40 -40
- package/modal/styles.selectors.js +23 -23
- package/multiselect/styles.css.js +2 -2
- package/multiselect/styles.scoped.css +4 -4
- package/multiselect/styles.selectors.js +2 -2
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +25 -25
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +50 -50
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +74 -74
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +36 -36
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +31 -31
- package/property-filter/styles.scoped.css +35 -35
- package/property-filter/styles.selectors.js +31 -31
- 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/select/parts/styles.css.js +16 -16
- package/select/parts/styles.scoped.css +18 -18
- package/select/parts/styles.selectors.js +16 -16
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +3 -3
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +28 -28
- package/side-navigation/styles.scoped.css +40 -40
- package/side-navigation/styles.selectors.js +28 -28
- package/space-between/styles.css.js +23 -23
- package/space-between/styles.scoped.css +26 -26
- package/space-between/styles.selectors.js +23 -23
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +21 -21
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/styles.css.js +55 -55
- package/split-panel/styles.scoped.css +79 -79
- package/split-panel/styles.selectors.js +55 -55
- package/status-indicator/styles.css.js +23 -23
- package/status-indicator/styles.scoped.css +31 -31
- package/status-indicator/styles.selectors.js +23 -23
- package/table/body-cell/styles.css.js +30 -30
- package/table/body-cell/styles.scoped.css +83 -83
- package/table/body-cell/styles.selectors.js +30 -30
- package/table/header-cell/styles.css.js +24 -24
- package/table/header-cell/styles.scoped.css +46 -46
- package/table/header-cell/styles.selectors.js +24 -24
- 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/selection/styles.css.js +3 -3
- package/table/selection/styles.scoped.css +5 -5
- package/table/selection/styles.selectors.js +3 -3
- 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 +35 -35
- package/table/styles.scoped.css +42 -42
- package/table/styles.selectors.js +35 -35
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +43 -43
- package/tabs/styles.selectors.js +21 -21
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +12 -12
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/dom/calendar/index.d.ts +3 -3
- package/test-utils/dom/calendar/index.js +3 -3
- package/test-utils/selectors/calendar/index.d.ts +3 -3
- package/test-utils/selectors/calendar/index.js +3 -3
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +62 -62
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +5 -5
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +4 -4
- package/textarea/styles.scoped.css +14 -14
- package/textarea/styles.selectors.js +4 -4
- package/tiles/styles.css.js +29 -29
- package/tiles/styles.scoped.css +72 -72
- package/tiles/styles.selectors.js +29 -29
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +15 -15
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +8 -8
- package/token-group/styles.scoped.css +18 -18
- package/token-group/styles.selectors.js +8 -8
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +44 -44
- 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 +68 -68
- 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 +29 -29
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/tutorial-panel/styles.css.js +1 -1
- package/tutorial-panel/styles.scoped.css +3 -3
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +67 -67
- package/wizard/styles.selectors.js +32 -32
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
/* stylelint-disable
|
|
6
|
-
/* stylelint-enable
|
|
5
|
+
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
6
|
+
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
7
|
/*
|
|
8
8
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
9
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,79 +96,79 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
96
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
97
|
SPDX-License-Identifier: Apache-2.0
|
|
98
98
|
*/
|
|
99
|
-
.
|
|
100
|
-
.
|
|
101
|
-
.
|
|
99
|
+
.awsui_content_1wepg_11g7b_99:not(#\9),
|
|
100
|
+
.awsui_description_1wepg_11g7b_100:not(#\9),
|
|
101
|
+
.awsui_label_1wepg_11g7b_101:not(#\9) {
|
|
102
102
|
display: block;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.
|
|
105
|
+
.awsui_label_1wepg_11g7b_101:not(#\9) {
|
|
106
106
|
color: var(--color-text-form-default-vh42kd, #000716);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.awsui_outline_1wepg_11g7b_109:not(#\9) {
|
|
110
110
|
display: none;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
.awsui_outline_1wepg_11g7b_109.awsui_show-outline_1wepg_11g7b_112:not(#\9) {
|
|
113
113
|
display: block;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
body[data-awsui-focus-visible=true] .awsui_native-
|
|
116
|
+
body[data-awsui-focus-visible=true] .awsui_native-input_1wepg_11g7b_116:not(#\9):focus + .awsui_outline_1wepg_11g7b_109 {
|
|
117
117
|
display: block;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.awsui_wrapper_1wepg_11g7b_120:not(#\9) {
|
|
121
121
|
min-inline-size: 0;
|
|
122
122
|
word-break: break-word;
|
|
123
123
|
display: flex;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.awsui_label-
|
|
126
|
+
.awsui_label-wrapper_1wepg_11g7b_126:not(#\9) {
|
|
127
127
|
position: relative;
|
|
128
128
|
display: flex;
|
|
129
129
|
cursor: default;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.awsui_content_1wepg_11g7b_99:not(#\9) {
|
|
133
133
|
min-inline-size: 0;
|
|
134
134
|
word-break: break-word;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.awsui_empty-
|
|
137
|
+
.awsui_empty-content_1wepg_11g7b_137:not(#\9) {
|
|
138
138
|
inline-size: 0px;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.
|
|
141
|
+
.awsui_description_1wepg_11g7b_100:not(#\9) {
|
|
142
142
|
color: var(--color-text-form-secondary-dxc248, #5f6b7a);
|
|
143
143
|
font-size: var(--font-size-body-s-asqx2i, 12px);
|
|
144
144
|
line-height: var(--line-height-body-s-7zv1j5, 16px);
|
|
145
145
|
letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
|
|
146
146
|
}
|
|
147
|
-
.awsui_description-bottom-
|
|
147
|
+
.awsui_description-bottom-padding_1wepg_11g7b_147:not(#\9) {
|
|
148
148
|
padding-block-end: var(--space-scaled-xxs-7597g1, 4px);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.
|
|
152
|
-
.
|
|
151
|
+
.awsui_label_1wepg_11g7b_101:not(#\9),
|
|
152
|
+
.awsui_description_1wepg_11g7b_100:not(#\9) {
|
|
153
153
|
padding-inline-start: var(--space-xs-zb16t3, 8px);
|
|
154
154
|
}
|
|
155
|
-
.awsui_label-
|
|
156
|
-
.awsui_description-
|
|
155
|
+
.awsui_label-disabled_1wepg_11g7b_155:not(#\9),
|
|
156
|
+
.awsui_description-disabled_1wepg_11g7b_156:not(#\9) {
|
|
157
157
|
color: var(--color-text-control-disabled-ircsnq, #9ba7b6);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/* stylelint-disable selector-max-type */
|
|
161
|
-
.
|
|
161
|
+
.awsui_control_1wepg_11g7b_161:not(#\9) {
|
|
162
162
|
position: relative;
|
|
163
163
|
}
|
|
164
|
-
.
|
|
164
|
+
.awsui_control_1wepg_11g7b_161 > input:not(#\9), .awsui_control_1wepg_11g7b_161 > svg:not(#\9), .awsui_control_1wepg_11g7b_161 > .awsui_outline_1wepg_11g7b_109:not(#\9) {
|
|
165
165
|
position: absolute;
|
|
166
166
|
inline-size: 100%;
|
|
167
167
|
block-size: 100%;
|
|
168
168
|
inset-block-start: 0;
|
|
169
169
|
inset-inline-start: 0;
|
|
170
170
|
}
|
|
171
|
-
.
|
|
171
|
+
.awsui_control_1wepg_11g7b_161 > input:not(#\9) {
|
|
172
172
|
opacity: 0;
|
|
173
173
|
z-index: 1;
|
|
174
174
|
-webkit-user-select: none;
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"content": "
|
|
6
|
-
"description": "
|
|
7
|
-
"label": "
|
|
8
|
-
"outline": "
|
|
9
|
-
"show-outline": "awsui_show-
|
|
10
|
-
"native-input": "awsui_native-
|
|
11
|
-
"wrapper": "
|
|
12
|
-
"label-wrapper": "awsui_label-
|
|
13
|
-
"empty-content": "awsui_empty-
|
|
14
|
-
"description-bottom-padding": "awsui_description-bottom-
|
|
15
|
-
"label-disabled": "awsui_label-
|
|
16
|
-
"description-disabled": "awsui_description-
|
|
17
|
-
"control": "
|
|
5
|
+
"content": "awsui_content_1wepg_11g7b_99",
|
|
6
|
+
"description": "awsui_description_1wepg_11g7b_100",
|
|
7
|
+
"label": "awsui_label_1wepg_11g7b_101",
|
|
8
|
+
"outline": "awsui_outline_1wepg_11g7b_109",
|
|
9
|
+
"show-outline": "awsui_show-outline_1wepg_11g7b_112",
|
|
10
|
+
"native-input": "awsui_native-input_1wepg_11g7b_116",
|
|
11
|
+
"wrapper": "awsui_wrapper_1wepg_11g7b_120",
|
|
12
|
+
"label-wrapper": "awsui_label-wrapper_1wepg_11g7b_126",
|
|
13
|
+
"empty-content": "awsui_empty-content_1wepg_11g7b_137",
|
|
14
|
+
"description-bottom-padding": "awsui_description-bottom-padding_1wepg_11g7b_147",
|
|
15
|
+
"label-disabled": "awsui_label-disabled_1wepg_11g7b_155",
|
|
16
|
+
"description-disabled": "awsui_description-disabled_1wepg_11g7b_156",
|
|
17
|
+
"control": "awsui_control_1wepg_11g7b_161"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"button-trigger": "awsui_button-
|
|
5
|
-
"arrow": "
|
|
6
|
-
"has-caret": "awsui_has-
|
|
7
|
-
"placeholder": "
|
|
8
|
-
"pressed": "
|
|
9
|
-
"disabled": "
|
|
10
|
-
"in-filtering-token": "awsui_in-filtering-
|
|
11
|
-
"read-only": "awsui_read-
|
|
12
|
-
"invalid": "
|
|
13
|
-
"inline-tokens": "awsui_inline-
|
|
4
|
+
"button-trigger": "awsui_button-trigger_18eso_syr88_103",
|
|
5
|
+
"arrow": "awsui_arrow_18eso_syr88_103",
|
|
6
|
+
"has-caret": "awsui_has-caret_18eso_syr88_170",
|
|
7
|
+
"placeholder": "awsui_placeholder_18eso_syr88_173",
|
|
8
|
+
"pressed": "awsui_pressed_18eso_syr88_186",
|
|
9
|
+
"disabled": "awsui_disabled_18eso_syr88_189",
|
|
10
|
+
"in-filtering-token": "awsui_in-filtering-token_18eso_syr88_199",
|
|
11
|
+
"read-only": "awsui_read-only_18eso_syr88_205",
|
|
12
|
+
"invalid": "awsui_invalid_18eso_syr88_227",
|
|
13
|
+
"inline-tokens": "awsui_inline-tokens_18eso_syr88_265"
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
/* stylelint-disable
|
|
6
|
-
/* stylelint-enable
|
|
5
|
+
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
6
|
+
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
7
|
/*
|
|
8
8
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
9
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -100,16 +100,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
100
100
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
101
101
|
SPDX-License-Identifier: Apache-2.0
|
|
102
102
|
*/
|
|
103
|
-
.awsui_button-
|
|
103
|
+
.awsui_button-trigger_18eso_syr88_103 > .awsui_arrow_18eso_syr88_103:not(#\9) {
|
|
104
104
|
transition: transform var(--motion-duration-rotate-180-dpvl4m, 135ms) var(--motion-easing-rotate-180-e270ko, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
105
105
|
}
|
|
106
106
|
@media (prefers-reduced-motion: reduce) {
|
|
107
|
-
.awsui_button-
|
|
107
|
+
.awsui_button-trigger_18eso_syr88_103 > .awsui_arrow_18eso_syr88_103:not(#\9) {
|
|
108
108
|
animation: none;
|
|
109
109
|
transition: none;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
.awsui-motion-disabled .awsui_button-
|
|
112
|
+
.awsui-motion-disabled .awsui_button-trigger_18eso_syr88_103 > .awsui_arrow_18eso_syr88_103:not(#\9), .awsui-mode-entering .awsui_button-trigger_18eso_syr88_103 > .awsui_arrow_18eso_syr88_103:not(#\9) {
|
|
113
113
|
animation: none;
|
|
114
114
|
transition: none;
|
|
115
115
|
}
|
|
@@ -118,7 +118,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
118
118
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
119
119
|
SPDX-License-Identifier: Apache-2.0
|
|
120
120
|
*/
|
|
121
|
-
.awsui_button-
|
|
121
|
+
.awsui_button-trigger_18eso_syr88_103:not(#\9) {
|
|
122
122
|
border-collapse: separate;
|
|
123
123
|
border-spacing: 0;
|
|
124
124
|
box-sizing: border-box;
|
|
@@ -168,51 +168,51 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
168
168
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-default-1zl7hq, #7d8998);
|
|
169
169
|
min-block-size: var(--size-vertical-input-v5iwwf, 32px);
|
|
170
170
|
}
|
|
171
|
-
.awsui_button-
|
|
171
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_has-caret_18eso_syr88_170:not(#\9) {
|
|
172
172
|
padding-inline-end: var(--space-field-icon-offset-csk9vw, 36px);
|
|
173
173
|
}
|
|
174
|
-
.awsui_button-
|
|
174
|
+
.awsui_button-trigger_18eso_syr88_103 > .awsui_placeholder_18eso_syr88_173:not(#\9) {
|
|
175
175
|
color: var(--color-text-input-placeholder-mx1ygd, #5f6b7a);
|
|
176
176
|
font-style: italic;
|
|
177
177
|
}
|
|
178
|
-
.awsui_button-
|
|
178
|
+
.awsui_button-trigger_18eso_syr88_103 > .awsui_arrow_18eso_syr88_103:not(#\9) {
|
|
179
179
|
position: absolute;
|
|
180
180
|
inset-inline-end: var(--space-field-horizontal-gg19kw, 12px);
|
|
181
181
|
inset-block-start: calc(50% - var(--line-height-body-m-30ar75, 20px) / 2);
|
|
182
182
|
color: var(--color-text-button-inline-icon-default-s3yux9, #0972d3);
|
|
183
183
|
}
|
|
184
|
-
.awsui_button-
|
|
184
|
+
.awsui_button-trigger_18eso_syr88_103:not(#\9):hover > .awsui_arrow_18eso_syr88_103 {
|
|
185
185
|
color: var(--color-text-button-inline-icon-hover-my2daf, #033160);
|
|
186
186
|
}
|
|
187
|
-
.awsui_button-
|
|
187
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_pressed_18eso_syr88_186 > .awsui_arrow_18eso_syr88_103:not(#\9) {
|
|
188
188
|
transform: rotate(-180deg);
|
|
189
189
|
}
|
|
190
|
-
.awsui_button-
|
|
190
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_disabled_18eso_syr88_189:not(#\9) {
|
|
191
191
|
background-color: var(--color-background-input-disabled-ab59a3, #e9ebed);
|
|
192
192
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
193
193
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
194
194
|
color: var(--color-text-input-disabled-f8pjm5, #9ba7b6);
|
|
195
195
|
cursor: auto;
|
|
196
196
|
}
|
|
197
|
-
.awsui_button-
|
|
197
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_disabled_18eso_syr88_189 > .awsui_arrow_18eso_syr88_103:not(#\9) {
|
|
198
198
|
color: var(--color-text-button-inline-icon-disabled-mz5gmn, #9ba7b6);
|
|
199
199
|
}
|
|
200
|
-
.awsui_button-
|
|
200
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_disabled_18eso_syr88_189.awsui_in-filtering-token_18eso_syr88_199:not(#\9) {
|
|
201
201
|
border-color: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
202
202
|
}
|
|
203
|
-
.awsui_button-
|
|
203
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_disabled_18eso_syr88_189 > .awsui_placeholder_18eso_syr88_173:not(#\9) {
|
|
204
204
|
color: var(--color-text-input-placeholder-disabled-abhb0d, #9ba7b6);
|
|
205
205
|
}
|
|
206
|
-
.awsui_button-
|
|
206
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_read-only_18eso_syr88_205:not(#\9) {
|
|
207
207
|
background-color: var(--color-background-input-default-igdh5e, #ffffff);
|
|
208
208
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
209
209
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
210
210
|
}
|
|
211
|
-
.awsui_button-
|
|
211
|
+
.awsui_button-trigger_18eso_syr88_103:not(#\9):focus {
|
|
212
212
|
outline: none;
|
|
213
213
|
text-decoration: none;
|
|
214
214
|
}
|
|
215
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
215
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_syr88_103:not(#\9):not(.awsui_in-filtering-token_18eso_syr88_199):focus {
|
|
216
216
|
outline: 2px dotted transparent;
|
|
217
217
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-focused-3d15sl, #033160);
|
|
218
218
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-focused-3d15sl, #033160);
|
|
@@ -222,10 +222,10 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_4gacv_103:not(#\
|
|
|
222
222
|
border-end-end-radius: var(--border-radius-input-plgbrq, 8px);
|
|
223
223
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
224
224
|
}
|
|
225
|
-
.awsui_button-
|
|
225
|
+
.awsui_button-trigger_18eso_syr88_103:not(#\9):not(.awsui_in-filtering-token_18eso_syr88_199):invalid {
|
|
226
226
|
box-shadow: none;
|
|
227
227
|
}
|
|
228
|
-
.awsui_button-
|
|
228
|
+
.awsui_button-trigger_18eso_syr88_103:not(#\9):not(.awsui_in-filtering-token_18eso_syr88_199).awsui_invalid_18eso_syr88_227, .awsui_button-trigger_18eso_syr88_103:not(#\9):not(.awsui_in-filtering-token_18eso_syr88_199).awsui_invalid_18eso_syr88_227:focus {
|
|
229
229
|
color: var(--color-text-status-error-wdvepn, #d91515);
|
|
230
230
|
border-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
231
231
|
padding-inline-start: calc(
|
|
@@ -233,23 +233,23 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_4gacv_103:not(#\
|
|
|
233
233
|
);
|
|
234
234
|
border-inline-start-width: var(--border-invalid-width-5ktjp2, 8px);
|
|
235
235
|
}
|
|
236
|
-
.awsui_button-
|
|
236
|
+
.awsui_button-trigger_18eso_syr88_103:not(#\9):not(.awsui_in-filtering-token_18eso_syr88_199).awsui_invalid_18eso_syr88_227:focus, .awsui_button-trigger_18eso_syr88_103:not(#\9):not(.awsui_in-filtering-token_18eso_syr88_199).awsui_invalid_18eso_syr88_227:focus:focus {
|
|
237
237
|
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-fhmbjn, 2px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
238
238
|
}
|
|
239
|
-
.awsui_button-
|
|
239
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_in-filtering-token_18eso_syr88_199:not(#\9) {
|
|
240
240
|
border-color: var(--color-border-item-selected-k00wlz, #0972d3);
|
|
241
241
|
border-start-end-radius: 0;
|
|
242
242
|
border-end-end-radius: 0;
|
|
243
243
|
block-size: 100%;
|
|
244
244
|
}
|
|
245
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
245
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_syr88_103.awsui_in-filtering-token_18eso_syr88_199:not(#\9):focus {
|
|
246
246
|
position: relative;
|
|
247
247
|
}
|
|
248
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
248
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_syr88_103.awsui_in-filtering-token_18eso_syr88_199:not(#\9):focus {
|
|
249
249
|
outline: 2px dotted transparent;
|
|
250
250
|
outline-offset: calc(var(--space-filtering-token-operation-select-focus-outline-gutter-0ailok, -5px) - 1px);
|
|
251
251
|
}
|
|
252
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
252
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_syr88_103.awsui_in-filtering-token_18eso_syr88_199:not(#\9):focus::before {
|
|
253
253
|
content: " ";
|
|
254
254
|
display: block;
|
|
255
255
|
position: absolute;
|
|
@@ -263,6 +263,6 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_4gacv_103.awsui_
|
|
|
263
263
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
264
264
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
265
265
|
}
|
|
266
|
-
.awsui_button-
|
|
266
|
+
.awsui_button-trigger_18eso_syr88_103.awsui_inline-tokens_18eso_syr88_265:not(#\9) {
|
|
267
267
|
padding-block: 0;
|
|
268
268
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"button-trigger": "awsui_button-
|
|
6
|
-
"arrow": "
|
|
7
|
-
"has-caret": "awsui_has-
|
|
8
|
-
"placeholder": "
|
|
9
|
-
"pressed": "
|
|
10
|
-
"disabled": "
|
|
11
|
-
"in-filtering-token": "awsui_in-filtering-
|
|
12
|
-
"read-only": "awsui_read-
|
|
13
|
-
"invalid": "
|
|
14
|
-
"inline-tokens": "awsui_inline-
|
|
5
|
+
"button-trigger": "awsui_button-trigger_18eso_syr88_103",
|
|
6
|
+
"arrow": "awsui_arrow_18eso_syr88_103",
|
|
7
|
+
"has-caret": "awsui_has-caret_18eso_syr88_170",
|
|
8
|
+
"placeholder": "awsui_placeholder_18eso_syr88_173",
|
|
9
|
+
"pressed": "awsui_pressed_18eso_syr88_186",
|
|
10
|
+
"disabled": "awsui_disabled_18eso_syr88_189",
|
|
11
|
+
"in-filtering-token": "awsui_in-filtering-token_18eso_syr88_199",
|
|
12
|
+
"read-only": "awsui_read-only_18eso_syr88_205",
|
|
13
|
+
"invalid": "awsui_invalid_18eso_syr88_227",
|
|
14
|
+
"inline-tokens": "awsui_inline-tokens_18eso_syr88_265"
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ export function useBottomLabels({ ticks, scale, tickFormatter, }) {
|
|
|
10
10
|
const virtualTextRef = useRef(null);
|
|
11
11
|
const cacheRef = useRef({});
|
|
12
12
|
const getLabelSpace = (label) => {
|
|
13
|
-
if (cacheRef.current[label] !== undefined) {
|
|
13
|
+
if (cacheRef.current[label] !== undefined && cacheRef.current[label] !== 0) {
|
|
14
14
|
return cacheRef.current[label];
|
|
15
15
|
}
|
|
16
16
|
if (virtualTextRef.current && virtualTextRef.current.getComputedTextLength) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-labels.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/bottom-labels.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,IAAI,MAAM,MAAM,CAAC;AAIxB,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEzE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAiB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAexD,MAAM,UAAU,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,aAAa,GAKd;IACC,MAAM,cAAc,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAEpD,MAAM,QAAQ,GAAG,MAAM,CAA8B,EAAE,CAAC,CAAC;IACzD,MAAM,aAAa,GAAG,CAAC,KAAa,EAAE,EAAE;QACtC,IAAI,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE;
|
|
1
|
+
{"version":3,"file":"bottom-labels.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/bottom-labels.tsx"],"names":[],"mappings":"AAAA,qEAAqE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ACL,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { memo, useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { ChartDataTypes } from './interfaces';\nimport { ChartScale, NumericChartScale } from './scales';\nimport { TICK_LENGTH, TICK_LINE_HEIGHT, TICK_MARGIN } from './constants';\n\nimport styles from './styles.css.js';\nimport { formatTicks, getVisibleTicks, FormattedTick } from './label-utils';\nimport { useInternalI18n } from '../../../i18n/context';\n\ninterface BottomLabelsProps {\n axis?: 'x' | 'y';\n width: number;\n height: number;\n scale: ChartScale | NumericChartScale;\n title?: string;\n ariaRoleDescription?: string;\n offsetLeft?: number;\n offsetRight?: number;\n virtualTextRef: React.Ref<SVGTextElement>;\n formattedTicks: readonly FormattedTick[];\n}\n\nexport function useBottomLabels({\n ticks,\n scale,\n tickFormatter,\n}: {\n scale: ChartScale | NumericChartScale;\n ticks: readonly ChartDataTypes[];\n tickFormatter?: (value: ChartDataTypes) => string;\n}) {\n const virtualTextRef = useRef<SVGTextElement>(null);\n\n const cacheRef = useRef<{ [label: string]: number }>({});\n const getLabelSpace = (label: string) => {\n if (cacheRef.current[label] !== undefined && cacheRef.current[label] !== 0) {\n return cacheRef.current[label];\n }\n if (virtualTextRef.current && virtualTextRef.current.getComputedTextLength) {\n virtualTextRef.current.textContent = label;\n cacheRef.current[label] = virtualTextRef.current.getComputedTextLength();\n return cacheRef.current[label];\n }\n return 0;\n };\n\n const formattedTicks = formatTicks({ ticks, scale, getLabelSpace, tickFormatter });\n\n if (virtualTextRef.current) {\n virtualTextRef.current.textContent = '';\n }\n\n let height = TICK_LENGTH + TICK_MARGIN;\n for (const { lines } of formattedTicks) {\n height = Math.max(height, TICK_LENGTH + TICK_MARGIN + lines.length * TICK_LINE_HEIGHT);\n }\n\n return { virtualTextRef, formattedTicks, height };\n}\n\nexport default memo(BottomLabels) as typeof BottomLabels;\n\n// Renders the visible tick labels on the bottom axis, as well as their grid lines.\nfunction BottomLabels({\n axis = 'x',\n width,\n height,\n scale,\n title,\n ariaRoleDescription,\n offsetLeft = 0,\n offsetRight = 0,\n virtualTextRef,\n formattedTicks,\n}: BottomLabelsProps) {\n const i18n = useInternalI18n('[charts]');\n\n const xOffset = scale.isCategorical() && axis === 'x' ? Math.max(0, scale.d3Scale.bandwidth() - 1) / 2 : 0;\n\n const from = 0 - offsetLeft - xOffset;\n const until = width + offsetRight - xOffset;\n const balanceLabels = axis === 'x' && scale.scaleType !== 'log';\n const visibleTicks = getVisibleTicks(formattedTicks, from, until, balanceLabels);\n\n return (\n <g\n transform={`translate(0,${height})`}\n className={styles['labels-bottom']}\n aria-label={title}\n role=\"list\"\n aria-roledescription={i18n('i18nStrings.chartAriaRoleDescription', ariaRoleDescription)}\n aria-hidden={true}\n >\n {visibleTicks.map(\n ({ position, lines }, index) =>\n isFinite(position) && (\n <g\n key={index}\n transform={`translate(${position + xOffset},0)`}\n className={clsx(styles.ticks, styles['ticks--bottom'], {\n [styles['ticks--x']]: axis === 'x',\n [styles['ticks--y']]: axis === 'y',\n })}\n role=\"listitem\"\n aria-label={lines.join('\\n')}\n >\n <line className={styles.ticks__line} x1={0} x2={0} y1={0} y2={TICK_LENGTH} aria-hidden=\"true\" />\n {lines.map((line, lineIndex) => (\n <text\n className={styles.ticks__text}\n key={lineIndex}\n x={0}\n y={TICK_LENGTH + TICK_MARGIN + lineIndex * TICK_LINE_HEIGHT}\n >\n {line}\n </text>\n ))}\n </g>\n )\n )}\n\n <text ref={virtualTextRef} x={0} y={0} style={{ visibility: 'hidden' }} aria-hidden=\"true\"></text>\n </g>\n );\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"chart-filter": "awsui_chart-
|
|
6
|
-
"custom-icon-wrapper": "awsui_custom-icon-
|
|
4
|
+
"root": "awsui_root_1px7g_1cmh4_99",
|
|
5
|
+
"chart-filter": "awsui_chart-filter_1px7g_1cmh4_134",
|
|
6
|
+
"custom-icon-wrapper": "awsui_custom-icon-wrapper_1px7g_1cmh4_138"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
/* stylelint-disable
|
|
6
|
-
/* stylelint-enable
|
|
5
|
+
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
6
|
+
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
7
|
/*
|
|
8
8
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
9
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,7 +96,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
96
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
97
|
SPDX-License-Identifier: Apache-2.0
|
|
98
98
|
*/
|
|
99
|
-
.
|
|
99
|
+
.awsui_root_1px7g_1cmh4_99:not(#\9) {
|
|
100
100
|
border-collapse: separate;
|
|
101
101
|
border-spacing: 0;
|
|
102
102
|
box-sizing: border-box;
|
|
@@ -132,11 +132,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
132
132
|
-moz-osx-font-smoothing: auto;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.awsui_chart-
|
|
135
|
+
.awsui_chart-filter_1px7g_1cmh4_134:not(#\9) {
|
|
136
136
|
/* used in test-utils */
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.awsui_custom-icon-
|
|
139
|
+
.awsui_custom-icon-wrapper_1px7g_1cmh4_138:not(#\9) {
|
|
140
140
|
display: flex;
|
|
141
141
|
align-items: flex-start;
|
|
142
142
|
align-self: stretch;
|
|
@@ -2,8 +2,8 @@
|
|
|
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
|
-
"chart-filter": "awsui_chart-
|
|
7
|
-
"custom-icon-wrapper": "awsui_custom-icon-
|
|
5
|
+
"root": "awsui_root_1px7g_1cmh4_99",
|
|
6
|
+
"chart-filter": "awsui_chart-filter_1px7g_1cmh4_134",
|
|
7
|
+
"custom-icon-wrapper": "awsui_custom-icon-wrapper_1px7g_1cmh4_138"
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"marker": "
|
|
5
|
-
"root": "
|
|
6
|
-
"title": "
|
|
7
|
-
"list": "
|
|
8
|
-
"marker--dimmed": "awsui_marker--
|
|
9
|
-
"marker--highlighted": "awsui_marker--
|
|
4
|
+
"marker": "awsui_marker_1kjc7_12d3z_99",
|
|
5
|
+
"root": "awsui_root_1kjc7_12d3z_117",
|
|
6
|
+
"title": "awsui_title_1kjc7_12d3z_155",
|
|
7
|
+
"list": "awsui_list_1kjc7_12d3z_159",
|
|
8
|
+
"marker--dimmed": "awsui_marker--dimmed_1kjc7_12d3z_208",
|
|
9
|
+
"marker--highlighted": "awsui_marker--highlighted_1kjc7_12d3z_211"
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
/* stylelint-disable
|
|
6
|
-
/* stylelint-enable
|
|
5
|
+
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
6
|
+
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
7
7
|
/*
|
|
8
8
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
9
9
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -96,16 +96,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
96
96
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
97
97
|
SPDX-License-Identifier: Apache-2.0
|
|
98
98
|
*/
|
|
99
|
-
.
|
|
99
|
+
.awsui_marker_1kjc7_12d3z_99:not(#\9) {
|
|
100
100
|
transition: opacity var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
|
|
101
101
|
}
|
|
102
102
|
@media (prefers-reduced-motion: reduce) {
|
|
103
|
-
.
|
|
103
|
+
.awsui_marker_1kjc7_12d3z_99:not(#\9) {
|
|
104
104
|
animation: none;
|
|
105
105
|
transition: none;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
.awsui-motion-disabled .
|
|
108
|
+
.awsui-motion-disabled .awsui_marker_1kjc7_12d3z_99:not(#\9), .awsui-mode-entering .awsui_marker_1kjc7_12d3z_99:not(#\9) {
|
|
109
109
|
animation: none;
|
|
110
110
|
transition: none;
|
|
111
111
|
}
|
|
@@ -114,7 +114,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
114
114
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
115
115
|
SPDX-License-Identifier: Apache-2.0
|
|
116
116
|
*/
|
|
117
|
-
.
|
|
117
|
+
.awsui_root_1kjc7_12d3z_117:not(#\9) {
|
|
118
118
|
border-collapse: separate;
|
|
119
119
|
border-spacing: 0;
|
|
120
120
|
box-sizing: border-box;
|
|
@@ -149,15 +149,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
149
149
|
-webkit-font-smoothing: auto;
|
|
150
150
|
-moz-osx-font-smoothing: auto;
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
.awsui_root_1kjc7_12d3z_117:not(#\9):focus {
|
|
153
153
|
outline: none;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.
|
|
156
|
+
.awsui_title_1kjc7_12d3z_155:not(#\9) {
|
|
157
157
|
/* used in test utils */
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.
|
|
160
|
+
.awsui_list_1kjc7_12d3z_159:not(#\9) {
|
|
161
161
|
display: flex;
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
list-style: none;
|
|
@@ -167,7 +167,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
167
167
|
padding-inline: 0;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.
|
|
170
|
+
.awsui_marker_1kjc7_12d3z_99:not(#\9) {
|
|
171
171
|
display: inline-flex;
|
|
172
172
|
align-items: flex-start;
|
|
173
173
|
margin-inline-end: var(--space-m-udix3p, 16px);
|
|
@@ -179,17 +179,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
179
179
|
cursor: pointer;
|
|
180
180
|
opacity: 1;
|
|
181
181
|
}
|
|
182
|
-
.
|
|
182
|
+
.awsui_marker_1kjc7_12d3z_99:not(#\9):focus {
|
|
183
183
|
outline: none;
|
|
184
184
|
}
|
|
185
|
-
body[data-awsui-focus-visible=true] .
|
|
185
|
+
body[data-awsui-focus-visible=true] .awsui_marker_1kjc7_12d3z_99:not(#\9):focus {
|
|
186
186
|
position: relative;
|
|
187
187
|
}
|
|
188
|
-
body[data-awsui-focus-visible=true] .
|
|
188
|
+
body[data-awsui-focus-visible=true] .awsui_marker_1kjc7_12d3z_99:not(#\9):focus {
|
|
189
189
|
outline: 2px dotted transparent;
|
|
190
190
|
outline-offset: calc(2px - 1px);
|
|
191
191
|
}
|
|
192
|
-
body[data-awsui-focus-visible=true] .
|
|
192
|
+
body[data-awsui-focus-visible=true] .awsui_marker_1kjc7_12d3z_99:not(#\9):focus::before {
|
|
193
193
|
content: " ";
|
|
194
194
|
display: block;
|
|
195
195
|
position: absolute;
|
|
@@ -203,12 +203,12 @@ body[data-awsui-focus-visible=true] .awsui_marker_1kjc7_2g2pf_99:not(#\9):focus:
|
|
|
203
203
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
204
204
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
205
205
|
}
|
|
206
|
-
.
|
|
206
|
+
.awsui_marker_1kjc7_12d3z_99:not(#\9):last-child {
|
|
207
207
|
margin-inline-end: 0;
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.awsui_marker_1kjc7_12d3z_99.awsui_marker--dimmed_1kjc7_12d3z_208:not(#\9) {
|
|
210
210
|
opacity: 0.35;
|
|
211
211
|
}
|
|
212
|
-
.
|
|
212
|
+
.awsui_marker_1kjc7_12d3z_99.awsui_marker--highlighted_1kjc7_12d3z_211:not(#\9) {
|
|
213
213
|
/* used in test utils */
|
|
214
214
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"marker": "
|
|
6
|
-
"root": "
|
|
7
|
-
"title": "
|
|
8
|
-
"list": "
|
|
9
|
-
"marker--dimmed": "awsui_marker--
|
|
10
|
-
"marker--highlighted": "awsui_marker--
|
|
5
|
+
"marker": "awsui_marker_1kjc7_12d3z_99",
|
|
6
|
+
"root": "awsui_root_1kjc7_12d3z_117",
|
|
7
|
+
"title": "awsui_title_1kjc7_12d3z_155",
|
|
8
|
+
"list": "awsui_list_1kjc7_12d3z_159",
|
|
9
|
+
"marker--dimmed": "awsui_marker--dimmed_1kjc7_12d3z_208",
|
|
10
|
+
"marker--highlighted": "awsui_marker--highlighted_1kjc7_12d3z_211"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"clickable": "
|
|
6
|
-
"precise": "
|
|
7
|
-
"focus-outline": "awsui_focus-
|
|
8
|
-
"application": "
|
|
4
|
+
"root": "awsui_root_1fcus_y6use_99",
|
|
5
|
+
"clickable": "awsui_clickable_1fcus_y6use_108",
|
|
6
|
+
"precise": "awsui_precise_1fcus_y6use_112",
|
|
7
|
+
"focus-outline": "awsui_focus-outline_1fcus_y6use_116",
|
|
8
|
+
"application": "awsui_application_1fcus_y6use_125"
|
|
9
9
|
};
|
|
10
10
|
|