@cloudscape-design/components 3.0.22 → 3.0.25
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.scoped.css +0 -34
- package/annotation-context/annotation/annotation-popover.d.ts.map +1 -1
- package/annotation-context/annotation/annotation-popover.js +12 -16
- package/annotation-context/annotation/annotation-popover.js.map +1 -1
- package/annotation-context/annotation/styles.scoped.css +0 -18
- package/app-layout/content-wrapper/styles.scoped.css +0 -4
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +6 -4
- package/app-layout/index.js.map +1 -1
- package/app-layout/mobile-toolbar/styles.scoped.css +0 -9
- package/app-layout/styles.scoped.css +0 -20
- package/app-layout/toggles/styles.scoped.css +0 -16
- package/app-layout/visual-refresh/styles.scoped.css +0 -71
- package/area-chart/styles.scoped.css +0 -13
- package/attribute-editor/styles.scoped.css +0 -23
- package/badge/styles.scoped.css +0 -15
- package/bar-chart/interfaces.d.ts +1 -1
- package/bar-chart/interfaces.d.ts.map +1 -1
- package/bar-chart/interfaces.js.map +1 -1
- package/box/styles.scoped.css +0 -171
- package/breadcrumb-group/item/styles.scoped.css +0 -11
- package/breadcrumb-group/styles.scoped.css +0 -10
- package/button/styles.scoped.css +0 -264
- package/button-dropdown/category-elements/styles.scoped.css +0 -26
- package/button-dropdown/item-element/styles.scoped.css +0 -22
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +0 -5
- package/button-dropdown/styles.scoped.css +0 -7
- package/cards/styles.scoped.css +0 -45
- package/checkbox/styles.scoped.css +0 -11
- package/code-editor/styles.scoped.css +0 -87
- package/collection-preferences/styles.scoped.css +0 -12
- package/column-layout/styles.scoped.css +0 -12
- package/container/styles.scoped.css +0 -27
- package/date-picker/calendar/index.d.ts.map +1 -1
- package/date-picker/calendar/index.js +2 -2
- package/date-picker/calendar/index.js.map +1 -1
- package/date-picker/calendar/utils/locales.d.ts +2 -0
- package/date-picker/calendar/utils/locales.d.ts.map +1 -1
- package/date-picker/calendar/utils/locales.js +4 -0
- package/date-picker/calendar/utils/locales.js.map +1 -1
- package/date-picker/styles.scoped.css +0 -45
- package/date-range-picker/calendar/grids/day/styles.scoped.css +0 -45
- package/date-range-picker/calendar/index.js +2 -2
- package/date-range-picker/calendar/index.js.map +1 -1
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +13 -15
- package/date-range-picker/index.js.map +1 -1
- package/date-range-picker/relative-range/styles.scoped.css +0 -3
- package/date-range-picker/styles.css.js +41 -42
- package/date-range-picker/styles.scoped.css +49 -92
- package/date-range-picker/styles.selectors.js +41 -42
- package/expandable-section/styles.scoped.css +0 -33
- package/flashbar/styles.scoped.css +0 -36
- package/form/styles.scoped.css +0 -12
- package/form-field/styles.scoped.css +0 -26
- package/grid/styles.scoped.css +0 -6
- package/header/styles.scoped.css +0 -51
- package/help-panel/styles.scoped.css +0 -73
- package/hotspot/styles.scoped.css +0 -3
- package/icon/styles.scoped.css +0 -33
- package/input/styles.scoped.css +0 -49
- package/internal/base-component/styles.scoped.css +0 -1
- package/internal/components/abstract-switch/styles.scoped.css +0 -7
- package/internal/components/button-trigger/styles.scoped.css +0 -42
- package/internal/components/cartesian-chart/styles.scoped.css +0 -10
- package/internal/components/chart-filter/styles.scoped.css +0 -4
- package/internal/components/chart-legend/styles.scoped.css +0 -8
- package/internal/components/chart-plot/styles.scoped.css +0 -1
- package/internal/components/chart-popover/styles.scoped.css +0 -4
- package/internal/components/chart-series-details/styles.scoped.css +0 -12
- package/internal/components/chart-series-marker/styles.scoped.css +0 -7
- package/internal/components/chart-status-container/styles.scoped.css +0 -1
- package/internal/components/checkbox-icon/styles.scoped.css +0 -10
- package/internal/components/content-layout/styles.scoped.css +0 -5
- package/internal/components/dark-ribbon/styles.scoped.css +0 -1
- package/internal/components/dropdown/styles.scoped.css +0 -17
- package/internal/components/dropdown-footer/styles.scoped.css +0 -6
- package/internal/components/dropdown-status/styles.scoped.css +0 -6
- package/internal/components/filtering-token/styles.scoped.css +0 -21
- package/internal/components/menu-dropdown/styles.scoped.css +0 -17
- package/internal/components/option/index.js +3 -3
- package/internal/components/option/index.js.map +1 -1
- package/internal/components/option/option-parts.js +3 -3
- package/internal/components/option/option-parts.js.map +1 -1
- package/internal/components/option/styles.scoped.css +0 -16
- package/internal/components/options-list/styles.scoped.css +0 -5
- package/internal/components/selectable-item/styles.scoped.css +0 -44
- package/internal/environment.js +1 -1
- package/line-chart/interfaces.d.ts +1 -1
- package/line-chart/interfaces.d.ts.map +1 -1
- package/line-chart/interfaces.js.map +1 -1
- package/link/styles.scoped.css +0 -77
- package/mixed-line-bar-chart/bar-series.d.ts +1 -1
- package/mixed-line-bar-chart/bar-series.d.ts.map +1 -1
- package/mixed-line-bar-chart/bar-series.js.map +1 -1
- package/mixed-line-bar-chart/chart-container.d.ts.map +1 -1
- package/mixed-line-bar-chart/chart-container.js +9 -10
- package/mixed-line-bar-chart/chart-container.js.map +1 -1
- package/mixed-line-bar-chart/chart-filters.d.ts +2 -2
- package/mixed-line-bar-chart/chart-filters.d.ts.map +1 -1
- package/mixed-line-bar-chart/chart-filters.js +1 -2
- package/mixed-line-bar-chart/chart-filters.js.map +1 -1
- package/mixed-line-bar-chart/chart-legend.d.ts +2 -2
- package/mixed-line-bar-chart/chart-legend.d.ts.map +1 -1
- package/mixed-line-bar-chart/chart-legend.js +1 -2
- package/mixed-line-bar-chart/chart-legend.js.map +1 -1
- package/mixed-line-bar-chart/domain.d.ts +4 -0
- package/mixed-line-bar-chart/domain.d.ts.map +1 -0
- package/mixed-line-bar-chart/domain.js +138 -0
- package/mixed-line-bar-chart/domain.js.map +1 -0
- package/mixed-line-bar-chart/format-highlighted.d.ts +2 -4
- package/mixed-line-bar-chart/format-highlighted.d.ts.map +1 -1
- package/mixed-line-bar-chart/format-highlighted.js +26 -15
- package/mixed-line-bar-chart/format-highlighted.js.map +1 -1
- package/mixed-line-bar-chart/hooks/use-mouse-hover.d.ts.map +1 -1
- package/mixed-line-bar-chart/hooks/use-mouse-hover.js +3 -2
- package/mixed-line-bar-chart/hooks/use-mouse-hover.js.map +1 -1
- package/mixed-line-bar-chart/hooks/use-navigation.d.ts.map +1 -1
- package/mixed-line-bar-chart/hooks/use-navigation.js +23 -35
- package/mixed-line-bar-chart/hooks/use-navigation.js.map +1 -1
- package/mixed-line-bar-chart/interfaces.d.ts +12 -2
- package/mixed-line-bar-chart/interfaces.d.ts.map +1 -1
- package/mixed-line-bar-chart/interfaces.js.map +1 -1
- package/mixed-line-bar-chart/internal.d.ts.map +1 -1
- package/mixed-line-bar-chart/internal.js +14 -6
- package/mixed-line-bar-chart/internal.js.map +1 -1
- package/mixed-line-bar-chart/line-series.d.ts +2 -2
- package/mixed-line-bar-chart/line-series.d.ts.map +1 -1
- package/mixed-line-bar-chart/line-series.js +21 -9
- package/mixed-line-bar-chart/line-series.js.map +1 -1
- package/mixed-line-bar-chart/make-scaled-bar-groups.d.ts.map +1 -1
- package/mixed-line-bar-chart/make-scaled-bar-groups.js +11 -4
- package/mixed-line-bar-chart/make-scaled-bar-groups.js.map +1 -1
- package/mixed-line-bar-chart/make-scaled-series.d.ts +2 -4
- package/mixed-line-bar-chart/make-scaled-series.d.ts.map +1 -1
- package/mixed-line-bar-chart/make-scaled-series.js +89 -25
- package/mixed-line-bar-chart/make-scaled-series.js.map +1 -1
- package/mixed-line-bar-chart/styles.scoped.css +0 -13
- package/mixed-line-bar-chart/utils.d.ts +5 -6
- package/mixed-line-bar-chart/utils.d.ts.map +1 -1
- package/mixed-line-bar-chart/utils.js +11 -112
- package/mixed-line-bar-chart/utils.js.map +1 -1
- package/modal/styles.scoped.css +0 -31
- package/multiselect/styles.scoped.css +0 -4
- package/package.json +1 -1
- package/pagination/styles.scoped.css +0 -22
- package/pie-chart/styles.scoped.css +0 -25
- package/popover/styles.scoped.css +0 -35
- package/progress-bar/internal.d.ts.map +1 -1
- package/progress-bar/internal.js +1 -1
- package/progress-bar/internal.js.map +1 -1
- package/progress-bar/styles.scoped.css +0 -25
- package/property-filter/controller.d.ts +3 -3
- package/property-filter/controller.d.ts.map +1 -1
- package/property-filter/interfaces.d.ts +7 -20
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/property-filter/styles.scoped.css +0 -22
- package/property-filter/use-load-items.d.ts +1 -1
- package/radio-group/styles.scoped.css +0 -22
- package/s3-resource-selector/s3-in-context/styles.scoped.css +0 -6
- package/segmented-control/styles.scoped.css +0 -36
- package/select/parts/styles.scoped.css +0 -6
- package/select/styles.scoped.css +0 -4
- package/side-navigation/styles.scoped.css +0 -38
- package/space-between/styles.scoped.css +0 -40
- package/spinner/styles.scoped.css +0 -17
- package/split-panel/styles.scoped.css +0 -65
- package/status-indicator/styles.scoped.css +0 -20
- package/table/body-cell/styles.scoped.css +0 -29
- package/table/header-cell/styles.scoped.css +0 -32
- package/table/resizer/styles.scoped.css +0 -6
- package/table/selection-control/styles.scoped.css +0 -3
- package/table/styles.scoped.css +0 -39
- package/tabs/styles.scoped.css +0 -41
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +3 -1
- package/tabs/tab-header-bar.js.map +1 -1
- package/tag-editor/styles.scoped.css +0 -12
- package/test-utils/dom/split-panel/index.d.ts +1 -0
- package/test-utils/dom/split-panel/index.js +3 -0
- package/test-utils/dom/split-panel/index.js.map +1 -1
- package/test-utils/selectors/split-panel/index.d.ts +1 -0
- package/test-utils/selectors/split-panel/index.js +3 -0
- package/test-utils/selectors/split-panel/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-content/styles.scoped.css +0 -54
- package/text-filter/styles.scoped.css +0 -7
- package/textarea/styles.scoped.css +0 -30
- package/tiles/styles.scoped.css +0 -55
- package/toggle/styles.scoped.css +0 -14
- package/token-group/styles.scoped.css +0 -35
- package/top-navigation/1.0-beta/styles.scoped.css +0 -40
- package/top-navigation/styles.scoped.css +0 -75
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +0 -22
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +0 -24
- package/tutorial-panel/styles.scoped.css +0 -5
- package/wizard/styles.scoped.css +0 -54
|
@@ -91,7 +91,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
93
|
.awsui_empty_n4qlp_h3o62_93:not(#\9) {
|
|
94
|
-
animation: awsui_awsui-motion-fade-in_n4qlp_h3o62_1 180ms ease-out;
|
|
95
94
|
animation: awsui_awsui-motion-fade-in_n4qlp_h3o62_1 var(--motion-duration-transition-show-paced-ai4wlf, 180ms) var(--motion-easing-transition-show-paced-bg1hyg, ease-out);
|
|
96
95
|
}
|
|
97
96
|
@keyframes awsui_awsui-motion-fade-in_n4qlp_h3o62_1 {
|
|
@@ -147,24 +146,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
147
146
|
widows: 2;
|
|
148
147
|
word-spacing: normal;
|
|
149
148
|
box-sizing: border-box;
|
|
150
|
-
font-size: 14px;
|
|
151
149
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
152
|
-
line-height: 22px;
|
|
153
150
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
154
|
-
color: #000716;
|
|
155
151
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
156
152
|
font-weight: 400;
|
|
157
|
-
font-family: "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif;
|
|
158
153
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
159
154
|
display: block;
|
|
160
155
|
}
|
|
161
156
|
|
|
162
157
|
.awsui_empty_n4qlp_h3o62_93:not(#\9) {
|
|
163
|
-
font-size: 14px;
|
|
164
158
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
165
|
-
line-height: 22px;
|
|
166
159
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
167
|
-
color: #5f6b7a;
|
|
168
160
|
color: var(--color-text-empty-fjv325, #5f6b7a);
|
|
169
161
|
}
|
|
170
162
|
|
|
@@ -189,44 +181,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
189
181
|
}
|
|
190
182
|
|
|
191
183
|
.awsui_button-container_n4qlp_h3o62_157:not(#\9) {
|
|
192
|
-
padding-top: calc(4px + 22px);
|
|
193
184
|
padding-top: calc(var(--space-xxs-ynfts5, 4px) + var(--font-body-m-line-height-i7xxvv, 22px));
|
|
194
185
|
}
|
|
195
186
|
|
|
196
187
|
.awsui_divider_n4qlp_h3o62_161:not(#\9) {
|
|
197
|
-
border-bottom: 2px solid #e9ebed;
|
|
198
188
|
border-bottom: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
199
189
|
}
|
|
200
190
|
|
|
201
191
|
.awsui_additional-info_n4qlp_h3o62_165:not(#\9) {
|
|
202
|
-
color: #5f6b7a;
|
|
203
192
|
color: var(--color-text-form-secondary-ih9x7l, #5f6b7a);
|
|
204
|
-
font-size: 12px;
|
|
205
193
|
font-size: var(--font-body-s-size-ukw2p9, 12px);
|
|
206
|
-
line-height: 16px;
|
|
207
194
|
line-height: var(--font-body-s-line-height-kdsbrl, 16px);
|
|
208
|
-
letter-spacing: 0.005em;
|
|
209
195
|
letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
|
|
210
196
|
display: block;
|
|
211
197
|
word-wrap: break-word;
|
|
212
|
-
margin-top: 4px;
|
|
213
198
|
margin-top: var(--space-xxs-ynfts5, 4px);
|
|
214
199
|
/* stylelint-disable-next-line selector-max-type */
|
|
215
200
|
}
|
|
216
201
|
.awsui_additional-info_n4qlp_h3o62_165 > a:not(#\9) {
|
|
217
|
-
color: #0972d3;
|
|
218
202
|
color: var(--color-text-link-default-5f186r, #0972d3);
|
|
219
|
-
font-weight: "inherit";
|
|
220
203
|
font-weight: var(--font-link-primary-weight-91pybi, "inherit");
|
|
221
|
-
letter-spacing: "inherit";
|
|
222
204
|
letter-spacing: var(--font-link-primary-letter-spacing-vmsgcx, "inherit");
|
|
223
|
-
text-decoration: underline;
|
|
224
205
|
text-decoration: var(--font-link-primary-decoration-wfgjh2, underline);
|
|
225
206
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
226
|
-
text-decoration-color: #0972d3;
|
|
227
207
|
text-decoration-color: var(--color-text-link-primary-underline-ga7rq8, #0972d3);
|
|
228
208
|
transition-property: color, text-decoration;
|
|
229
|
-
transition-duration: 165ms;
|
|
230
209
|
transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
|
|
231
210
|
}
|
|
232
211
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -241,14 +220,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
241
220
|
}
|
|
242
221
|
.awsui_additional-info_n4qlp_h3o62_165 > a:not(#\9):hover {
|
|
243
222
|
cursor: pointer;
|
|
244
|
-
color: #033160;
|
|
245
223
|
color: var(--color-text-link-hover-kololx, #033160);
|
|
246
224
|
}
|
|
247
225
|
.awsui_additional-info_n4qlp_h3o62_165 > a:not(#\9):focus {
|
|
248
226
|
outline: none;
|
|
249
227
|
}
|
|
250
228
|
.awsui_additional-info_n4qlp_h3o62_165 > a:not(#\9):active {
|
|
251
|
-
color: #033160;
|
|
252
229
|
color: var(--color-text-link-hover-kololx, #033160);
|
|
253
230
|
}
|
|
254
231
|
.awsui_additional-info_n4qlp_h3o62_165 > a:not(#\9):active, .awsui_additional-info_n4qlp_h3o62_165 > a:not(#\9):focus, .awsui_additional-info_n4qlp_h3o62_165 > a:not(#\9):hover {
|
package/badge/styles.scoped.css
CHANGED
|
@@ -120,44 +120,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
120
120
|
widows: 2;
|
|
121
121
|
word-spacing: normal;
|
|
122
122
|
box-sizing: border-box;
|
|
123
|
-
font-size: 14px;
|
|
124
123
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
125
|
-
line-height: 22px;
|
|
126
124
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
127
|
-
color: #000716;
|
|
128
125
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
129
126
|
font-weight: 400;
|
|
130
|
-
font-family: "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif;
|
|
131
127
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
132
|
-
font-size: 12px;
|
|
133
128
|
font-size: var(--font-body-s-size-ukw2p9, 12px);
|
|
134
|
-
line-height: 16px;
|
|
135
129
|
line-height: var(--font-body-s-line-height-kdsbrl, 16px);
|
|
136
|
-
letter-spacing: 0.005em;
|
|
137
130
|
letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
|
|
138
|
-
line-height: 22px;
|
|
139
131
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
140
132
|
display: inline-block;
|
|
141
|
-
border-radius: 4px;
|
|
142
133
|
border-radius: var(--border-radius-badge-x5oehc, 4px);
|
|
143
|
-
padding: 0 8px;
|
|
144
134
|
padding: 0 var(--space-xs-rsr2qu, 8px);
|
|
145
|
-
color: #fbfbfb;
|
|
146
135
|
color: var(--color-text-notification-default-2kpcxy, #fbfbfb);
|
|
147
136
|
}
|
|
148
137
|
.awsui_badge_1yjyg_vuat3_93.awsui_badge-color-grey_1yjyg_vuat3_111:not(#\9) {
|
|
149
|
-
background-color: #414d5c;
|
|
150
138
|
background-color: var(--color-background-notification-grey-ua4ep5, #414d5c);
|
|
151
139
|
}
|
|
152
140
|
.awsui_badge_1yjyg_vuat3_93.awsui_badge-color-green_1yjyg_vuat3_114:not(#\9) {
|
|
153
|
-
background-color: #037f0c;
|
|
154
141
|
background-color: var(--color-background-notification-green-0d9ow8, #037f0c);
|
|
155
142
|
}
|
|
156
143
|
.awsui_badge_1yjyg_vuat3_93.awsui_badge-color-blue_1yjyg_vuat3_117:not(#\9) {
|
|
157
|
-
background-color: #0972d3;
|
|
158
144
|
background-color: var(--color-background-notification-blue-vqb59v, #0972d3);
|
|
159
145
|
}
|
|
160
146
|
.awsui_badge_1yjyg_vuat3_93.awsui_badge-color-red_1yjyg_vuat3_120:not(#\9) {
|
|
161
|
-
background-color: #d91515;
|
|
162
147
|
background-color: var(--color-background-notification-red-v7js1f, #d91515);
|
|
163
148
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CartesianChartProps } from '../internal/components/cartesian-chart/interfaces';
|
|
2
2
|
import { ChartDataTypes, MixedLineBarChartProps } from '../mixed-line-bar-chart/interfaces';
|
|
3
|
-
declare type BarSeries<T> = MixedLineBarChartProps.BarDataSeries<T> | MixedLineBarChartProps.ThresholdSeries
|
|
3
|
+
declare type BarSeries<T> = MixedLineBarChartProps.BarDataSeries<T> | MixedLineBarChartProps.ThresholdSeries<T>;
|
|
4
4
|
export interface BarChartProps<T extends ChartDataTypes> extends CartesianChartProps<T, MixedLineBarChartProps.ChartSeries<T>> {
|
|
5
5
|
/**
|
|
6
6
|
* Array that represents the source of data for the displayed chart.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/bar-chart/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5F,aAAK,SAAS,CAAC,CAAC,IAAI,sBAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/bar-chart/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5F,aAAK,SAAS,CAAC,CAAC,IAAI,sBAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;AAExG,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,cAAc,CACrD,SAAQ,mBAAmB,CAAC,CAAC,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACrE;;;;;;;;;OASG;IACH,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAEpC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAGD,yBAAiB,aAAa,CAAC,GAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/bar-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { CartesianChartProps } from '../internal/components/cartesian-chart/interfaces';\nimport { ChartDataTypes, MixedLineBarChartProps } from '../mixed-line-bar-chart/interfaces';\n\ntype BarSeries<T> = MixedLineBarChartProps.BarDataSeries<T> | MixedLineBarChartProps.ThresholdSeries
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/bar-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { CartesianChartProps } from '../internal/components/cartesian-chart/interfaces';\nimport { ChartDataTypes, MixedLineBarChartProps } from '../mixed-line-bar-chart/interfaces';\n\ntype BarSeries<T> = MixedLineBarChartProps.BarDataSeries<T> | MixedLineBarChartProps.ThresholdSeries<T>;\n\nexport interface BarChartProps<T extends ChartDataTypes>\n extends CartesianChartProps<T, MixedLineBarChartProps.ChartSeries<T>> {\n /**\n * Array that represents the source of data for the displayed chart.\n * Each element can represent a bar series or a threshold, and can have the following properties:\n *\n * * `title` (string): A human-readable title for this series\n * * `type` (string): Series type (`\"bar\"`, or `\"threshold\"`)\n * * `data` (Array): An array of data points, represented as objects with `x` and `y` properties\n * * `color` (string): (Optional) A color hex value for this series. When assigned, it takes priority over the automatically assigned color\n * * `valueFormatter` (Function): (Optional) A function that formats data values before rendering in the UI, For example, in the details popover.\n */\n series: ReadonlyArray<BarSeries<T>>;\n\n /**\n * When set to `true`, bars in the same data point are stacked instead of grouped next to each other.\n */\n stackedBars?: boolean;\n\n /**\n * When set to `true`, the x and y axes are flipped, which causes any bars to be rendered horizontally instead of vertically.\n * This can only be used when the chart consists exclusively of bar series.\n */\n horizontalBars?: boolean;\n\n /**\n * When set to `true`, adds a visual emphasis on the zero baseline axis.\n * See the usage guidelines for more details.\n */\n emphasizeBaselineAxis?: boolean;\n}\n\n// W/o this documenter injects CartesianChartProps namespace properties into BarChartProps definition.\nexport namespace BarChartProps {}\n"]}
|