@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.
Files changed (198) hide show
  1. package/alert/styles.scoped.css +0 -34
  2. package/annotation-context/annotation/annotation-popover.d.ts.map +1 -1
  3. package/annotation-context/annotation/annotation-popover.js +12 -16
  4. package/annotation-context/annotation/annotation-popover.js.map +1 -1
  5. package/annotation-context/annotation/styles.scoped.css +0 -18
  6. package/app-layout/content-wrapper/styles.scoped.css +0 -4
  7. package/app-layout/index.d.ts.map +1 -1
  8. package/app-layout/index.js +6 -4
  9. package/app-layout/index.js.map +1 -1
  10. package/app-layout/mobile-toolbar/styles.scoped.css +0 -9
  11. package/app-layout/styles.scoped.css +0 -20
  12. package/app-layout/toggles/styles.scoped.css +0 -16
  13. package/app-layout/visual-refresh/styles.scoped.css +0 -71
  14. package/area-chart/styles.scoped.css +0 -13
  15. package/attribute-editor/styles.scoped.css +0 -23
  16. package/badge/styles.scoped.css +0 -15
  17. package/bar-chart/interfaces.d.ts +1 -1
  18. package/bar-chart/interfaces.d.ts.map +1 -1
  19. package/bar-chart/interfaces.js.map +1 -1
  20. package/box/styles.scoped.css +0 -171
  21. package/breadcrumb-group/item/styles.scoped.css +0 -11
  22. package/breadcrumb-group/styles.scoped.css +0 -10
  23. package/button/styles.scoped.css +0 -264
  24. package/button-dropdown/category-elements/styles.scoped.css +0 -26
  25. package/button-dropdown/item-element/styles.scoped.css +0 -22
  26. package/button-dropdown/mobile-expandable-group/styles.scoped.css +0 -5
  27. package/button-dropdown/styles.scoped.css +0 -7
  28. package/cards/styles.scoped.css +0 -45
  29. package/checkbox/styles.scoped.css +0 -11
  30. package/code-editor/styles.scoped.css +0 -87
  31. package/collection-preferences/styles.scoped.css +0 -12
  32. package/column-layout/styles.scoped.css +0 -12
  33. package/container/styles.scoped.css +0 -27
  34. package/date-picker/calendar/index.d.ts.map +1 -1
  35. package/date-picker/calendar/index.js +2 -2
  36. package/date-picker/calendar/index.js.map +1 -1
  37. package/date-picker/calendar/utils/locales.d.ts +2 -0
  38. package/date-picker/calendar/utils/locales.d.ts.map +1 -1
  39. package/date-picker/calendar/utils/locales.js +4 -0
  40. package/date-picker/calendar/utils/locales.js.map +1 -1
  41. package/date-picker/styles.scoped.css +0 -45
  42. package/date-range-picker/calendar/grids/day/styles.scoped.css +0 -45
  43. package/date-range-picker/calendar/index.js +2 -2
  44. package/date-range-picker/calendar/index.js.map +1 -1
  45. package/date-range-picker/index.d.ts.map +1 -1
  46. package/date-range-picker/index.js +13 -15
  47. package/date-range-picker/index.js.map +1 -1
  48. package/date-range-picker/relative-range/styles.scoped.css +0 -3
  49. package/date-range-picker/styles.css.js +41 -42
  50. package/date-range-picker/styles.scoped.css +49 -92
  51. package/date-range-picker/styles.selectors.js +41 -42
  52. package/expandable-section/styles.scoped.css +0 -33
  53. package/flashbar/styles.scoped.css +0 -36
  54. package/form/styles.scoped.css +0 -12
  55. package/form-field/styles.scoped.css +0 -26
  56. package/grid/styles.scoped.css +0 -6
  57. package/header/styles.scoped.css +0 -51
  58. package/help-panel/styles.scoped.css +0 -73
  59. package/hotspot/styles.scoped.css +0 -3
  60. package/icon/styles.scoped.css +0 -33
  61. package/input/styles.scoped.css +0 -49
  62. package/internal/base-component/styles.scoped.css +0 -1
  63. package/internal/components/abstract-switch/styles.scoped.css +0 -7
  64. package/internal/components/button-trigger/styles.scoped.css +0 -42
  65. package/internal/components/cartesian-chart/styles.scoped.css +0 -10
  66. package/internal/components/chart-filter/styles.scoped.css +0 -4
  67. package/internal/components/chart-legend/styles.scoped.css +0 -8
  68. package/internal/components/chart-plot/styles.scoped.css +0 -1
  69. package/internal/components/chart-popover/styles.scoped.css +0 -4
  70. package/internal/components/chart-series-details/styles.scoped.css +0 -12
  71. package/internal/components/chart-series-marker/styles.scoped.css +0 -7
  72. package/internal/components/chart-status-container/styles.scoped.css +0 -1
  73. package/internal/components/checkbox-icon/styles.scoped.css +0 -10
  74. package/internal/components/content-layout/styles.scoped.css +0 -5
  75. package/internal/components/dark-ribbon/styles.scoped.css +0 -1
  76. package/internal/components/dropdown/styles.scoped.css +0 -17
  77. package/internal/components/dropdown-footer/styles.scoped.css +0 -6
  78. package/internal/components/dropdown-status/styles.scoped.css +0 -6
  79. package/internal/components/filtering-token/styles.scoped.css +0 -21
  80. package/internal/components/menu-dropdown/styles.scoped.css +0 -17
  81. package/internal/components/option/index.js +3 -3
  82. package/internal/components/option/index.js.map +1 -1
  83. package/internal/components/option/option-parts.js +3 -3
  84. package/internal/components/option/option-parts.js.map +1 -1
  85. package/internal/components/option/styles.scoped.css +0 -16
  86. package/internal/components/options-list/styles.scoped.css +0 -5
  87. package/internal/components/selectable-item/styles.scoped.css +0 -44
  88. package/internal/environment.js +1 -1
  89. package/line-chart/interfaces.d.ts +1 -1
  90. package/line-chart/interfaces.d.ts.map +1 -1
  91. package/line-chart/interfaces.js.map +1 -1
  92. package/link/styles.scoped.css +0 -77
  93. package/mixed-line-bar-chart/bar-series.d.ts +1 -1
  94. package/mixed-line-bar-chart/bar-series.d.ts.map +1 -1
  95. package/mixed-line-bar-chart/bar-series.js.map +1 -1
  96. package/mixed-line-bar-chart/chart-container.d.ts.map +1 -1
  97. package/mixed-line-bar-chart/chart-container.js +9 -10
  98. package/mixed-line-bar-chart/chart-container.js.map +1 -1
  99. package/mixed-line-bar-chart/chart-filters.d.ts +2 -2
  100. package/mixed-line-bar-chart/chart-filters.d.ts.map +1 -1
  101. package/mixed-line-bar-chart/chart-filters.js +1 -2
  102. package/mixed-line-bar-chart/chart-filters.js.map +1 -1
  103. package/mixed-line-bar-chart/chart-legend.d.ts +2 -2
  104. package/mixed-line-bar-chart/chart-legend.d.ts.map +1 -1
  105. package/mixed-line-bar-chart/chart-legend.js +1 -2
  106. package/mixed-line-bar-chart/chart-legend.js.map +1 -1
  107. package/mixed-line-bar-chart/domain.d.ts +4 -0
  108. package/mixed-line-bar-chart/domain.d.ts.map +1 -0
  109. package/mixed-line-bar-chart/domain.js +138 -0
  110. package/mixed-line-bar-chart/domain.js.map +1 -0
  111. package/mixed-line-bar-chart/format-highlighted.d.ts +2 -4
  112. package/mixed-line-bar-chart/format-highlighted.d.ts.map +1 -1
  113. package/mixed-line-bar-chart/format-highlighted.js +26 -15
  114. package/mixed-line-bar-chart/format-highlighted.js.map +1 -1
  115. package/mixed-line-bar-chart/hooks/use-mouse-hover.d.ts.map +1 -1
  116. package/mixed-line-bar-chart/hooks/use-mouse-hover.js +3 -2
  117. package/mixed-line-bar-chart/hooks/use-mouse-hover.js.map +1 -1
  118. package/mixed-line-bar-chart/hooks/use-navigation.d.ts.map +1 -1
  119. package/mixed-line-bar-chart/hooks/use-navigation.js +23 -35
  120. package/mixed-line-bar-chart/hooks/use-navigation.js.map +1 -1
  121. package/mixed-line-bar-chart/interfaces.d.ts +12 -2
  122. package/mixed-line-bar-chart/interfaces.d.ts.map +1 -1
  123. package/mixed-line-bar-chart/interfaces.js.map +1 -1
  124. package/mixed-line-bar-chart/internal.d.ts.map +1 -1
  125. package/mixed-line-bar-chart/internal.js +14 -6
  126. package/mixed-line-bar-chart/internal.js.map +1 -1
  127. package/mixed-line-bar-chart/line-series.d.ts +2 -2
  128. package/mixed-line-bar-chart/line-series.d.ts.map +1 -1
  129. package/mixed-line-bar-chart/line-series.js +21 -9
  130. package/mixed-line-bar-chart/line-series.js.map +1 -1
  131. package/mixed-line-bar-chart/make-scaled-bar-groups.d.ts.map +1 -1
  132. package/mixed-line-bar-chart/make-scaled-bar-groups.js +11 -4
  133. package/mixed-line-bar-chart/make-scaled-bar-groups.js.map +1 -1
  134. package/mixed-line-bar-chart/make-scaled-series.d.ts +2 -4
  135. package/mixed-line-bar-chart/make-scaled-series.d.ts.map +1 -1
  136. package/mixed-line-bar-chart/make-scaled-series.js +89 -25
  137. package/mixed-line-bar-chart/make-scaled-series.js.map +1 -1
  138. package/mixed-line-bar-chart/styles.scoped.css +0 -13
  139. package/mixed-line-bar-chart/utils.d.ts +5 -6
  140. package/mixed-line-bar-chart/utils.d.ts.map +1 -1
  141. package/mixed-line-bar-chart/utils.js +11 -112
  142. package/mixed-line-bar-chart/utils.js.map +1 -1
  143. package/modal/styles.scoped.css +0 -31
  144. package/multiselect/styles.scoped.css +0 -4
  145. package/package.json +1 -1
  146. package/pagination/styles.scoped.css +0 -22
  147. package/pie-chart/styles.scoped.css +0 -25
  148. package/popover/styles.scoped.css +0 -35
  149. package/progress-bar/internal.d.ts.map +1 -1
  150. package/progress-bar/internal.js +1 -1
  151. package/progress-bar/internal.js.map +1 -1
  152. package/progress-bar/styles.scoped.css +0 -25
  153. package/property-filter/controller.d.ts +3 -3
  154. package/property-filter/controller.d.ts.map +1 -1
  155. package/property-filter/interfaces.d.ts +7 -20
  156. package/property-filter/interfaces.d.ts.map +1 -1
  157. package/property-filter/interfaces.js.map +1 -1
  158. package/property-filter/styles.scoped.css +0 -22
  159. package/property-filter/use-load-items.d.ts +1 -1
  160. package/radio-group/styles.scoped.css +0 -22
  161. package/s3-resource-selector/s3-in-context/styles.scoped.css +0 -6
  162. package/segmented-control/styles.scoped.css +0 -36
  163. package/select/parts/styles.scoped.css +0 -6
  164. package/select/styles.scoped.css +0 -4
  165. package/side-navigation/styles.scoped.css +0 -38
  166. package/space-between/styles.scoped.css +0 -40
  167. package/spinner/styles.scoped.css +0 -17
  168. package/split-panel/styles.scoped.css +0 -65
  169. package/status-indicator/styles.scoped.css +0 -20
  170. package/table/body-cell/styles.scoped.css +0 -29
  171. package/table/header-cell/styles.scoped.css +0 -32
  172. package/table/resizer/styles.scoped.css +0 -6
  173. package/table/selection-control/styles.scoped.css +0 -3
  174. package/table/styles.scoped.css +0 -39
  175. package/tabs/styles.scoped.css +0 -41
  176. package/tabs/tab-header-bar.d.ts.map +1 -1
  177. package/tabs/tab-header-bar.js +3 -1
  178. package/tabs/tab-header-bar.js.map +1 -1
  179. package/tag-editor/styles.scoped.css +0 -12
  180. package/test-utils/dom/split-panel/index.d.ts +1 -0
  181. package/test-utils/dom/split-panel/index.js +3 -0
  182. package/test-utils/dom/split-panel/index.js.map +1 -1
  183. package/test-utils/selectors/split-panel/index.d.ts +1 -0
  184. package/test-utils/selectors/split-panel/index.js +3 -0
  185. package/test-utils/selectors/split-panel/index.js.map +1 -1
  186. package/test-utils/tsconfig.tsbuildinfo +1 -1
  187. package/text-content/styles.scoped.css +0 -54
  188. package/text-filter/styles.scoped.css +0 -7
  189. package/textarea/styles.scoped.css +0 -30
  190. package/tiles/styles.scoped.css +0 -55
  191. package/toggle/styles.scoped.css +0 -14
  192. package/token-group/styles.scoped.css +0 -35
  193. package/top-navigation/1.0-beta/styles.scoped.css +0 -40
  194. package/top-navigation/styles.scoped.css +0 -75
  195. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +0 -22
  196. package/tutorial-panel/components/tutorial-list/styles.scoped.css +0 -24
  197. package/tutorial-panel/styles.scoped.css +0 -5
  198. package/wizard/styles.scoped.css +0 -54
@@ -91,88 +91,59 @@ 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_selectable-item_15o6u_19j4z_93:not(#\9) {
94
- font-size: 14px;
95
94
  font-size: var(--font-body-m-size-sregvd, 14px);
96
- line-height: 22px;
97
95
  line-height: var(--font-body-m-line-height-i7xxvv, 22px);
98
- color: #000716;
99
96
  color: var(--color-text-body-default-ajf1h5, #000716);
100
97
  font-weight: 400;
101
- font-family: "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif;
102
98
  font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
103
99
  position: relative;
104
100
  list-style: none;
105
101
  z-index: 1;
106
- border: 1px solid transparent;
107
102
  border: var(--border-divider-list-width-hacikr, 1px) solid transparent;
108
- border-top-color: #e9ebed;
109
103
  border-top-color: var(--color-border-dropdown-item-default-faosd8, #e9ebed);
110
- border-bottom-color: #e9ebed;
111
104
  border-bottom-color: var(--color-border-dropdown-item-default-faosd8, #e9ebed);
112
- background-color: #ffffff;
113
105
  background-color: var(--color-background-dropdown-item-default-fzdqsg, #ffffff);
114
- color: #000716;
115
106
  color: var(--color-text-dropdown-item-default-7tg9p2, #000716);
116
107
  border-left-width: 0;
117
108
  border-right-width: 0;
118
- padding: calc(
119
- 4px + (2px - 1px)
120
- ) calc(12px + 2px);
121
109
  padding: calc(
122
110
  var(--space-xxs-ynfts5, 4px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
123
111
  ) calc(var(--space-field-horizontal-89h2yr, 12px) + var(--border-item-width-qbbbsa, 2px));
124
112
  }
125
113
  .awsui_selectable-item_15o6u_19j4z_93.awsui_pad-bottom_15o6u_19j4z_113:not(#\9) {
126
- padding-bottom: calc(calc(
127
- 4px + (2px - 1px)
128
- ) + 2px);
129
114
  padding-bottom: calc(calc(
130
115
  var(--space-xxs-ynfts5, 4px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
131
116
  ) + var(--space-xxxs-k2w98v, 2px));
132
117
  border-bottom-color: transparent;
133
118
  }
134
119
  .awsui_selectable-item_15o6u_19j4z_93:not(#\9):not(:first-child) {
135
- margin-top: calc(-1 * 2px);
136
120
  margin-top: calc(-1 * var(--border-item-width-qbbbsa, 2px));
137
121
  }
138
122
  .awsui_selectable-item_15o6u_19j4z_93.awsui_has-background_15o6u_19j4z_122:not(#\9) {
139
- background-color: #f4f4f4;
140
123
  background-color: var(--color-background-dropdown-item-hover-mqsxkv, #f4f4f4);
141
124
  }
142
125
  .awsui_selectable-item_15o6u_19j4z_93.awsui_highlighted_15o6u_19j4z_125:not(#\9), .awsui_selectable-item_15o6u_19j4z_93.awsui_selected_15o6u_19j4z_125:not(#\9) {
143
- color: #000716;
144
126
  color: var(--color-text-dropdown-item-highlighted-oaabyk, #000716);
145
- border-width: 2px;
146
127
  border-width: var(--border-item-width-qbbbsa, 2px);
147
- border-radius: 8px;
148
128
  border-radius: var(--border-radius-item-u2ibpi, 8px);
149
- padding: 4px 12px;
150
129
  padding: var(--space-xxs-ynfts5, 4px) var(--space-field-horizontal-89h2yr, 12px);
151
130
  }
152
131
  .awsui_selectable-item_15o6u_19j4z_93.awsui_highlighted_15o6u_19j4z_125.awsui_pad-bottom_15o6u_19j4z_113:not(#\9), .awsui_selectable-item_15o6u_19j4z_93.awsui_selected_15o6u_19j4z_125.awsui_pad-bottom_15o6u_19j4z_113:not(#\9) {
153
- padding-bottom: calc(4px + 2px);
154
132
  padding-bottom: calc(var(--space-xxs-ynfts5, 4px) + var(--space-xxxs-k2w98v, 2px));
155
133
  }
156
134
  .awsui_selectable-item_15o6u_19j4z_93.awsui_highlighted_15o6u_19j4z_125:not(#\9) {
157
135
  z-index: 2;
158
- background-color: #f4f4f4;
159
136
  background-color: var(--color-background-dropdown-item-hover-mqsxkv, #f4f4f4);
160
- border-color: #7d8998;
161
137
  border-color: var(--color-border-dropdown-item-hover-tyzq9m, #7d8998);
162
138
  }
163
139
  .awsui_selectable-item_15o6u_19j4z_93.awsui_highlighted_15o6u_19j4z_125.awsui_disabled_15o6u_19j4z_139:not(#\9) {
164
- color: #9ba7b6;
165
140
  color: var(--color-text-dropdown-item-dimmed-jyqdrs, #9ba7b6);
166
- border-color: #7d8998;
167
141
  border-color: var(--color-border-dropdown-item-dimmed-hover-6dhy15, #7d8998);
168
- background-color: transparent;
169
142
  background-color: var(--color-background-dropdown-item-dimmed-qw48ma, transparent);
170
143
  }
171
144
  .awsui_selectable-item_15o6u_19j4z_93.awsui_selected_15o6u_19j4z_125:not(#\9) {
172
145
  z-index: 3;
173
- background-color: #f2f8fd;
174
146
  background-color: var(--color-background-dropdown-item-selected-8l4mpk, #f2f8fd);
175
- border-color: #0972d3;
176
147
  border-color: var(--color-border-dropdown-item-selected-eahq2j, #0972d3);
177
148
  }
178
149
  .awsui_selectable-item_15o6u_19j4z_93.awsui_selected_15o6u_19j4z_125.awsui_next-item-selected_15o6u_19j4z_149:not(#\9) {
@@ -184,42 +155,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
184
155
  border-top-right-radius: 0;
185
156
  }
186
157
  .awsui_selectable-item_15o6u_19j4z_93.awsui_highlighted_15o6u_19j4z_125.awsui_selected_15o6u_19j4z_125.awsui_is-keyboard_15o6u_19j4z_157:not(#\9) {
187
- box-shadow: inset 0 0 0 1px #0972d3;
188
158
  box-shadow: inset 0 0 0 1px var(--color-border-item-focused-ap3b6s, #0972d3);
189
159
  }
190
160
  .awsui_selectable-item_15o6u_19j4z_93.awsui_parent_15o6u_19j4z_160:not(#\9) {
191
161
  font-weight: bold;
192
- color: #414d5c;
193
162
  color: var(--color-text-dropdown-group-label-eaqlcl, #414d5c);
194
163
  }
195
164
  .awsui_selectable-item_15o6u_19j4z_93.awsui_parent_15o6u_19j4z_160:not(#\9):not(.awsui_interactiveGroups_15o6u_19j4z_164) {
196
- border-top-color: #e9ebed;
197
165
  border-top-color: var(--color-border-dropdown-group-0utpsr, #e9ebed);
198
- padding: 8px;
199
166
  padding: var(--space-xs-rsr2qu, 8px);
200
167
  }
201
168
  .awsui_selectable-item_15o6u_19j4z_93.awsui_parent_15o6u_19j4z_160.awsui_interactiveGroups_15o6u_19j4z_164:not(#\9) {
202
- padding: calc(
203
- 8px + (2px - 1px)
204
- ) calc(12px + 2px);
205
169
  padding: calc(
206
170
  var(--space-xs-rsr2qu, 8px) + (var(--border-item-width-qbbbsa, 2px) - var(--border-divider-list-width-hacikr, 1px))
207
171
  ) calc(var(--space-field-horizontal-89h2yr, 12px) + var(--border-item-width-qbbbsa, 2px));
208
172
  }
209
173
  .awsui_selectable-item_15o6u_19j4z_93.awsui_parent_15o6u_19j4z_160.awsui_interactiveGroups_15o6u_19j4z_164.awsui_highlighted_15o6u_19j4z_125:not(#\9), .awsui_selectable-item_15o6u_19j4z_93.awsui_parent_15o6u_19j4z_160.awsui_interactiveGroups_15o6u_19j4z_164.awsui_selected_15o6u_19j4z_125:not(#\9) {
210
- padding: 8px 12px;
211
174
  padding: var(--space-xs-rsr2qu, 8px) var(--space-field-horizontal-89h2yr, 12px);
212
175
  }
213
176
  .awsui_selectable-item_15o6u_19j4z_93.awsui_child_15o6u_19j4z_176:not(#\9) {
214
- padding-left: calc(32px + 2px);
215
177
  padding-left: calc(var(--space-xxl-2nvmf1, 32px) + var(--border-item-width-qbbbsa, 2px));
216
178
  }
217
179
  .awsui_selectable-item_15o6u_19j4z_93.awsui_child_15o6u_19j4z_176.awsui_highlighted_15o6u_19j4z_125:not(#\9), .awsui_selectable-item_15o6u_19j4z_93.awsui_child_15o6u_19j4z_176.awsui_selected_15o6u_19j4z_125:not(#\9) {
218
- padding-left: 32px;
219
180
  padding-left: var(--space-xxl-2nvmf1, 32px);
220
181
  }
221
182
  .awsui_selectable-item_15o6u_19j4z_93.awsui_disabled_15o6u_19j4z_139:not(#\9) {
222
- color: #9ba7b6;
223
183
  color: var(--color-text-dropdown-item-disabled-varol7, #9ba7b6);
224
184
  }
225
185
  .awsui_selectable-item_15o6u_19j4z_93:not(#\9):not(.awsui_disabled_15o6u_19j4z_139):not(.awsui_parent_15o6u_19j4z_160) {
@@ -230,14 +190,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
230
190
  }
231
191
  .awsui_selectable-item_15o6u_19j4z_93.awsui_virtual_15o6u_19j4z_191:not(#\9) {
232
192
  position: absolute;
233
- top: 2px;
234
193
  top: var(--border-dropdown-virtual-offset-width-fzhepk, 2px);
235
194
  left: 0;
236
195
  width: 100%;
237
196
  box-sizing: border-box;
238
197
  }
239
198
  .awsui_selectable-item_15o6u_19j4z_93.awsui_virtual_15o6u_19j4z_191:not(#\9):first-of-type:not(.awsui_selected_15o6u_19j4z_125, .awsui_highlighted_15o6u_19j4z_125) {
240
- border-top-color: transparent;
241
199
  border-top-color: var(--color-border-dropdown-item-top-xnzq48, transparent);
242
200
  }
243
201
 
@@ -248,11 +206,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
248
206
  width: 100%;
249
207
  top: 0;
250
208
  left: 0;
251
- padding-top: 1px;
252
209
  padding-top: var(--border-divider-list-width-hacikr, 1px);
253
210
  }
254
211
  .awsui_measure-strut-first_15o6u_19j4z_211:not(#\9) {
255
- padding-bottom: 1px;
256
212
  padding-bottom: var(--border-divider-list-width-hacikr, 1px);
257
213
  }
258
214
 
@@ -1,5 +1,5 @@
1
1
 
2
- export var PACKAGE_VERSION = '3.0.0 (278ff3c)';
2
+ export var PACKAGE_VERSION = '3.0.0 (7f73cec)';
3
3
  export var THEME = 'open-source-visual-refresh';
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
5
5
 
@@ -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 LineSeries<T> = MixedLineBarChartProps.LineDataSeries<T> | MixedLineBarChartProps.ThresholdSeries;
3
+ declare type LineSeries<T> = MixedLineBarChartProps.LineDataSeries<T> | MixedLineBarChartProps.ThresholdSeries<T>;
4
4
  export interface LineChartProps<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/line-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,UAAU,CAAC,CAAC,IAAI,sBAAsB,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,eAAe,CAAC;AAEvG,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,cAAc,CACtD,SAAQ,mBAAmB,CAAC,CAAC,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACrE;;;;;;;;;OASG;IACH,MAAM,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAErC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAGD,yBAAiB,cAAc,CAAC,GAAE"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/line-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,UAAU,CAAC,CAAC,IAAI,sBAAsB,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;AAE1G,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,cAAc,CACtD,SAAQ,mBAAmB,CAAC,CAAC,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACrE;;;;;;;;;OASG;IACH,MAAM,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAErC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAGD,yBAAiB,cAAc,CAAC,GAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/line-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 LineSeries<T> = MixedLineBarChartProps.LineDataSeries<T> | MixedLineBarChartProps.ThresholdSeries;\n\nexport interface LineChartProps<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 line 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 (`\"line\"`, 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<LineSeries<T>>;\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 LineChartProps definition.\nexport namespace LineChartProps {}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/line-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 LineSeries<T> = MixedLineBarChartProps.LineDataSeries<T> | MixedLineBarChartProps.ThresholdSeries<T>;\n\nexport interface LineChartProps<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 line 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 (`\"line\"`, 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<LineSeries<T>>;\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 LineChartProps definition.\nexport namespace LineChartProps {}\n"]}
@@ -120,18 +120,13 @@ 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
128
  display: inline;
133
129
  white-space: inherit;
134
- color: #0972d3;
135
130
  color: var(--color-text-link-default-5f186r, #0972d3);
136
131
  font-weight: inherit;
137
132
  letter-spacing: normal;
@@ -139,7 +134,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
139
134
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
140
135
  text-decoration-color: transparent;
141
136
  transition-property: color, text-decoration;
142
- transition-duration: 165ms;
143
137
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
144
138
  }
145
139
  @media (prefers-reduced-motion: reduce) {
@@ -154,14 +148,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
148
  }
155
149
  .awsui_link_4c84z_1o5jy_93:not(#\9):hover {
156
150
  cursor: pointer;
157
- color: #033160;
158
151
  color: var(--color-text-link-hover-kololx, #033160);
159
152
  }
160
153
  .awsui_link_4c84z_1o5jy_93:not(#\9):focus {
161
154
  outline: none;
162
155
  }
163
156
  .awsui_link_4c84z_1o5jy_93:not(#\9):active {
164
- color: #033160;
165
157
  color: var(--color-text-link-hover-kololx, #033160);
166
158
  }
167
159
  .awsui_link_4c84z_1o5jy_93:not(#\9):active, .awsui_link_4c84z_1o5jy_93:not(#\9):focus, .awsui_link_4c84z_1o5jy_93:not(#\9):hover {
@@ -170,7 +162,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
170
162
  text-decoration-color: currentColor;
171
163
  }
172
164
  .awsui_link_4c84z_1o5jy_93.awsui_variant-secondary_4c84z_1o5jy_138:not(#\9) {
173
- color: #0972d3;
174
165
  color: var(--color-text-link-default-5f186r, #0972d3);
175
166
  font-weight: inherit;
176
167
  letter-spacing: normal;
@@ -178,7 +169,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
178
169
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
179
170
  text-decoration-color: transparent;
180
171
  transition-property: color, text-decoration;
181
- transition-duration: 165ms;
182
172
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
183
173
  }
184
174
  @media (prefers-reduced-motion: reduce) {
@@ -193,14 +183,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
193
183
  }
194
184
  .awsui_link_4c84z_1o5jy_93.awsui_variant-secondary_4c84z_1o5jy_138:not(#\9):hover {
195
185
  cursor: pointer;
196
- color: #033160;
197
186
  color: var(--color-text-link-hover-kololx, #033160);
198
187
  }
199
188
  .awsui_link_4c84z_1o5jy_93.awsui_variant-secondary_4c84z_1o5jy_138:not(#\9):focus {
200
189
  outline: none;
201
190
  }
202
191
  .awsui_link_4c84z_1o5jy_93.awsui_variant-secondary_4c84z_1o5jy_138:not(#\9):active {
203
- color: #033160;
204
192
  color: var(--color-text-link-hover-kololx, #033160);
205
193
  }
206
194
  .awsui_link_4c84z_1o5jy_93.awsui_variant-secondary_4c84z_1o5jy_138:not(#\9):active, .awsui_link_4c84z_1o5jy_93.awsui_variant-secondary_4c84z_1o5jy_138:not(#\9):focus, .awsui_link_4c84z_1o5jy_93.awsui_variant-secondary_4c84z_1o5jy_138:not(#\9):hover {
@@ -209,19 +197,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
209
197
  text-decoration-color: currentColor;
210
198
  }
211
199
  .awsui_link_4c84z_1o5jy_93.awsui_variant-primary_4c84z_1o5jy_173:not(#\9) {
212
- color: #0972d3;
213
200
  color: var(--color-text-link-default-5f186r, #0972d3);
214
- font-weight: "inherit";
215
201
  font-weight: var(--font-link-primary-weight-91pybi, "inherit");
216
- letter-spacing: "inherit";
217
202
  letter-spacing: var(--font-link-primary-letter-spacing-vmsgcx, "inherit");
218
- text-decoration: underline;
219
203
  text-decoration: var(--font-link-primary-decoration-wfgjh2, underline);
220
204
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
221
- text-decoration-color: #0972d3;
222
205
  text-decoration-color: var(--color-text-link-primary-underline-ga7rq8, #0972d3);
223
206
  transition-property: color, text-decoration;
224
- transition-duration: 165ms;
225
207
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
226
208
  }
227
209
  @media (prefers-reduced-motion: reduce) {
@@ -236,14 +218,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
236
218
  }
237
219
  .awsui_link_4c84z_1o5jy_93.awsui_variant-primary_4c84z_1o5jy_173:not(#\9):hover {
238
220
  cursor: pointer;
239
- color: #033160;
240
221
  color: var(--color-text-link-hover-kololx, #033160);
241
222
  }
242
223
  .awsui_link_4c84z_1o5jy_93.awsui_variant-primary_4c84z_1o5jy_173:not(#\9):focus {
243
224
  outline: none;
244
225
  }
245
226
  .awsui_link_4c84z_1o5jy_93.awsui_variant-primary_4c84z_1o5jy_173:not(#\9):active {
246
- color: #033160;
247
227
  color: var(--color-text-link-hover-kololx, #033160);
248
228
  }
249
229
  .awsui_link_4c84z_1o5jy_93.awsui_variant-primary_4c84z_1o5jy_173:not(#\9):active, .awsui_link_4c84z_1o5jy_93.awsui_variant-primary_4c84z_1o5jy_173:not(#\9):focus, .awsui_link_4c84z_1o5jy_93.awsui_variant-primary_4c84z_1o5jy_173:not(#\9):hover {
@@ -252,16 +232,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
252
232
  text-decoration-color: currentColor;
253
233
  }
254
234
  .awsui_link_4c84z_1o5jy_93.awsui_variant-info_4c84z_1o5jy_208:not(#\9) {
255
- color: #0972d3;
256
235
  color: var(--color-text-link-default-5f186r, #0972d3);
257
- font-weight: 800;
258
236
  font-weight: var(--font-button-weight-7rj5fx, 800);
259
237
  letter-spacing: 0.005em;
260
238
  text-decoration: none;
261
239
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
262
240
  text-decoration-color: transparent;
263
241
  transition-property: color, text-decoration;
264
- transition-duration: 165ms;
265
242
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
266
243
  }
267
244
  @media (prefers-reduced-motion: reduce) {
@@ -276,32 +253,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
276
253
  }
277
254
  .awsui_link_4c84z_1o5jy_93.awsui_variant-info_4c84z_1o5jy_208:not(#\9):hover {
278
255
  cursor: pointer;
279
- color: #033160;
280
256
  color: var(--color-text-link-hover-kololx, #033160);
281
257
  }
282
258
  .awsui_link_4c84z_1o5jy_93.awsui_variant-info_4c84z_1o5jy_208:not(#\9):focus {
283
259
  outline: none;
284
260
  }
285
261
  .awsui_link_4c84z_1o5jy_93.awsui_variant-info_4c84z_1o5jy_208:not(#\9):active {
286
- color: #033160;
287
262
  color: var(--color-text-link-hover-kololx, #033160);
288
263
  }
289
264
  .awsui_link_4c84z_1o5jy_93.awsui_variant-info_4c84z_1o5jy_208:not(#\9):active, .awsui_link_4c84z_1o5jy_93.awsui_variant-info_4c84z_1o5jy_208:not(#\9):focus, .awsui_link_4c84z_1o5jy_93.awsui_variant-info_4c84z_1o5jy_208:not(#\9):hover {
290
265
  text-decoration: underline;
291
266
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
292
- text-decoration-color: transparent;
293
267
  text-decoration-color: var(--color-text-link-button-underline-hover-ei09le, transparent);
294
268
  }
295
269
  .awsui_link_4c84z_1o5jy_93.awsui_variant-value-large_4c84z_1o5jy_243:not(#\9) {
296
- color: #0972d3;
297
270
  color: var(--color-text-link-default-5f186r, #0972d3);
298
- font-weight: 800;
299
271
  font-weight: var(--font-box-value-large-weight-dyt1pj, 800);
300
272
  text-decoration: none;
301
273
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
302
274
  text-decoration-color: transparent;
303
275
  transition-property: color, text-decoration;
304
- transition-duration: 165ms;
305
276
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
306
277
  }
307
278
  @media (prefers-reduced-motion: reduce) {
@@ -316,14 +287,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
316
287
  }
317
288
  .awsui_link_4c84z_1o5jy_93.awsui_variant-value-large_4c84z_1o5jy_243:not(#\9):hover {
318
289
  cursor: pointer;
319
- color: #033160;
320
290
  color: var(--color-text-link-hover-kololx, #033160);
321
291
  }
322
292
  .awsui_link_4c84z_1o5jy_93.awsui_variant-value-large_4c84z_1o5jy_243:not(#\9):focus {
323
293
  outline: none;
324
294
  }
325
295
  .awsui_link_4c84z_1o5jy_93.awsui_variant-value-large_4c84z_1o5jy_243:not(#\9):active {
326
- color: #033160;
327
296
  color: var(--color-text-link-hover-kololx, #033160);
328
297
  }
329
298
  .awsui_link_4c84z_1o5jy_93.awsui_variant-value-large_4c84z_1o5jy_243:not(#\9):active, .awsui_link_4c84z_1o5jy_93.awsui_variant-value-large_4c84z_1o5jy_243:not(#\9):focus, .awsui_link_4c84z_1o5jy_93.awsui_variant-value-large_4c84z_1o5jy_243:not(#\9):hover {
@@ -332,7 +301,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
332
301
  text-decoration-color: currentColor;
333
302
  }
334
303
  .awsui_link_4c84z_1o5jy_93.awsui_variant-top-navigation_4c84z_1o5jy_277:not(#\9) {
335
- color: #414d5c;
336
304
  color: var(--color-text-interactive-default-eg5fsa, #414d5c);
337
305
  font-weight: 700;
338
306
  letter-spacing: 0.005em;
@@ -340,7 +308,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
340
308
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
341
309
  text-decoration-color: transparent;
342
310
  transition-property: color, text-decoration;
343
- transition-duration: 165ms;
344
311
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
345
312
  }
346
313
  @media (prefers-reduced-motion: reduce) {
@@ -355,14 +322,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
355
322
  }
356
323
  .awsui_link_4c84z_1o5jy_93.awsui_variant-top-navigation_4c84z_1o5jy_277:not(#\9):hover {
357
324
  cursor: pointer;
358
- color: #000716;
359
325
  color: var(--color-text-interactive-hover-v3lasm, #000716);
360
326
  }
361
327
  .awsui_link_4c84z_1o5jy_93.awsui_variant-top-navigation_4c84z_1o5jy_277:not(#\9):focus {
362
328
  outline: none;
363
329
  }
364
330
  .awsui_link_4c84z_1o5jy_93.awsui_variant-top-navigation_4c84z_1o5jy_277:not(#\9):active {
365
- color: #000716;
366
331
  color: var(--color-text-interactive-active-vol84d, #000716);
367
332
  }
368
333
  .awsui_link_4c84z_1o5jy_93.awsui_variant-top-navigation_4c84z_1o5jy_277:not(#\9):active, .awsui_link_4c84z_1o5jy_93.awsui_variant-top-navigation_4c84z_1o5jy_277:not(#\9):focus, .awsui_link_4c84z_1o5jy_93.awsui_variant-top-navigation_4c84z_1o5jy_277:not(#\9):hover {
@@ -371,18 +336,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
371
336
  text-decoration-color: transparent;
372
337
  }
373
338
  .awsui_link_4c84z_1o5jy_93.awsui_variant-recovery_4c84z_1o5jy_312:not(#\9) {
374
- color: #0972d3;
375
339
  color: var(--color-text-link-default-5f186r, #0972d3);
376
- font-weight: 800;
377
340
  font-weight: var(--font-link-button-weight-4f1hjr, 800);
378
- letter-spacing: 0.005em;
379
341
  letter-spacing: var(--font-link-button-letter-spacing-58wset, 0.005em);
380
342
  text-decoration: underline;
381
343
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
382
- text-decoration-color: transparent;
383
344
  text-decoration-color: var(--color-text-link-button-underline-8mp92t, transparent);
384
345
  transition-property: color, text-decoration;
385
- transition-duration: 165ms;
386
346
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
387
347
  }
388
348
  @media (prefers-reduced-motion: reduce) {
@@ -397,34 +357,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
397
357
  }
398
358
  .awsui_link_4c84z_1o5jy_93.awsui_variant-recovery_4c84z_1o5jy_312:not(#\9):hover {
399
359
  cursor: pointer;
400
- color: #033160;
401
360
  color: var(--color-text-link-hover-kololx, #033160);
402
361
  }
403
362
  .awsui_link_4c84z_1o5jy_93.awsui_variant-recovery_4c84z_1o5jy_312:not(#\9):focus {
404
363
  outline: none;
405
364
  }
406
365
  .awsui_link_4c84z_1o5jy_93.awsui_variant-recovery_4c84z_1o5jy_312:not(#\9):active {
407
- color: #033160;
408
366
  color: var(--color-text-link-hover-kololx, #033160);
409
367
  }
410
368
  .awsui_link_4c84z_1o5jy_93.awsui_variant-recovery_4c84z_1o5jy_312:not(#\9):active, .awsui_link_4c84z_1o5jy_93.awsui_variant-recovery_4c84z_1o5jy_312:not(#\9):focus, .awsui_link_4c84z_1o5jy_93.awsui_variant-recovery_4c84z_1o5jy_312:not(#\9):hover {
411
369
  text-decoration: underline;
412
370
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
413
- text-decoration-color: transparent;
414
371
  text-decoration-color: var(--color-text-link-button-underline-hover-ei09le, transparent);
415
372
  }
416
373
  .awsui_link_4c84z_1o5jy_93.awsui_button_4c84z_1o5jy_347:not(#\9) {
417
- color: #0972d3;
418
374
  color: var(--color-text-link-button-normal-default-2yrp9u, #0972d3);
419
- font-weight: 800;
420
375
  font-weight: var(--font-button-weight-7rj5fx, 800);
421
- letter-spacing: 0.005em;
422
376
  letter-spacing: var(--font-button-letter-spacing-8y5poz, 0.005em);
423
377
  text-decoration: none;
424
378
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
425
379
  text-decoration-color: transparent;
426
380
  transition-property: color, text-decoration;
427
- transition-duration: 165ms;
428
381
  transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
429
382
  }
430
383
  @media (prefers-reduced-motion: reduce) {
@@ -439,14 +392,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
439
392
  }
440
393
  .awsui_link_4c84z_1o5jy_93.awsui_button_4c84z_1o5jy_347:not(#\9):hover {
441
394
  cursor: pointer;
442
- color: #033160;
443
395
  color: var(--color-text-link-button-normal-hover-gz8y5b, #033160);
444
396
  }
445
397
  .awsui_link_4c84z_1o5jy_93.awsui_button_4c84z_1o5jy_347:not(#\9):focus {
446
398
  outline: none;
447
399
  }
448
400
  .awsui_link_4c84z_1o5jy_93.awsui_button_4c84z_1o5jy_347:not(#\9):active {
449
- color: #033160;
450
401
  color: var(--color-text-link-button-normal-active-8lhs8f, #033160);
451
402
  }
452
403
  .awsui_link_4c84z_1o5jy_93.awsui_button_4c84z_1o5jy_347:not(#\9):active, .awsui_link_4c84z_1o5jy_93.awsui_button_4c84z_1o5jy_347:not(#\9):focus, .awsui_link_4c84z_1o5jy_93.awsui_button_4c84z_1o5jy_347:not(#\9):hover {
@@ -455,7 +406,6 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
455
406
  text-decoration-color: transparent;
456
407
  }
457
408
  .awsui_link_4c84z_1o5jy_93.awsui_color-inverted_4c84z_1o5jy_382:not(#\9) {
458
- color: #fbfbfb;
459
409
  color: var(--color-text-notification-default-2kpcxy, #fbfbfb);
460
410
  }
461
411
  .awsui_link_4c84z_1o5jy_93.awsui_color-inverted_4c84z_1o5jy_382:not(#\9):not(.awsui_button_4c84z_1o5jy_347) {
@@ -464,79 +414,52 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
464
414
  text-decoration-color: currentColor;
465
415
  }
466
416
  .awsui_link_4c84z_1o5jy_93.awsui_color-inverted_4c84z_1o5jy_382:not(#\9):hover {
467
- color: #ffffff;
468
417
  color: var(--color-text-link-inverted-hover-5tnsdi, #ffffff);
469
418
  }
470
419
  .awsui_link_4c84z_1o5jy_93[data-awsui-focus-visible=true]:not(#\9):focus {
471
420
  outline: thin dotted;
472
- outline: 0;
473
421
  outline: var(--border-link-focus-ring-outline-k2wccv, 0);
474
422
  outline-offset: 2px;
475
- outline-color: #0972d3;
476
423
  outline-color: var(--color-border-item-focused-ap3b6s, #0972d3);
477
- border-radius: 4px;
478
424
  border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
479
- box-shadow: 0 0 0 2px #0972d3;
480
425
  box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-nv4ahb, 2px) var(--color-border-item-focused-ap3b6s, #0972d3);
481
426
  }
482
427
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-body-s_4c84z_1o5jy_401:not(#\9) {
483
- font-size: 12px;
484
428
  font-size: var(--font-body-s-size-ukw2p9, 12px);
485
- line-height: 16px;
486
429
  line-height: var(--font-body-s-line-height-kdsbrl, 16px);
487
- letter-spacing: 0.005em;
488
430
  letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
489
431
  }
490
432
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-body-m_4c84z_1o5jy_406:not(#\9) {
491
- font-size: 14px;
492
433
  font-size: var(--font-body-m-size-sregvd, 14px);
493
- line-height: 22px;
494
434
  line-height: var(--font-body-m-line-height-i7xxvv, 22px);
495
435
  }
496
436
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-heading-xs_4c84z_1o5jy_410:not(#\9) {
497
- font-size: 14px;
498
437
  font-size: var(--font-heading-xs-size-fryxro, 14px);
499
- line-height: 18px;
500
438
  line-height: var(--font-heading-xs-line-height-5x131j, 18px);
501
439
  }
502
440
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-heading-s_4c84z_1o5jy_414:not(#\9) {
503
- font-size: 16px;
504
441
  font-size: var(--font-heading-s-size-9clg8y, 16px);
505
- line-height: 20px;
506
442
  line-height: var(--font-heading-s-line-height-5b7f0q, 20px);
507
- letter-spacing: -0.005em;
508
443
  letter-spacing: var(--font-heading-s-letter-spacing-4d69jc, -0.005em);
509
444
  }
510
445
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-heading-m_4c84z_1o5jy_419:not(#\9) {
511
- font-size: 20px;
512
446
  font-size: var(--font-heading-m-size-6e3jmg, 20px);
513
- line-height: 24px;
514
447
  line-height: var(--font-heading-m-line-height-u3t54f, 24px);
515
- letter-spacing: -0.01em;
516
448
  letter-spacing: var(--font-heading-m-letter-spacing-r00pg3, -0.01em);
517
449
  }
518
450
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-heading-l_4c84z_1o5jy_424:not(#\9) {
519
- font-size: 24px;
520
451
  font-size: var(--font-heading-l-size-otmxys, 24px);
521
- line-height: 30px;
522
452
  line-height: var(--font-heading-l-line-height-gev4n1, 30px);
523
- letter-spacing: -0.015em;
524
453
  letter-spacing: var(--font-heading-l-letter-spacing-f6wvtk, -0.015em);
525
454
  }
526
455
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-heading-xl_4c84z_1o5jy_429:not(#\9) {
527
- font-size: 32px;
528
456
  font-size: var(--font-heading-xl-size-d0vjbk, 32px);
529
- line-height: 40px;
530
457
  line-height: var(--font-heading-xl-line-height-doxfdj, 40px);
531
- letter-spacing: -0.02em;
532
458
  letter-spacing: var(--font-heading-xl-letter-spacing-9tcsmy, -0.02em);
533
459
  }
534
460
  .awsui_link_4c84z_1o5jy_93.awsui_font-size-display-l_4c84z_1o5jy_434:not(#\9) {
535
- font-size: 48px;
536
461
  font-size: var(--font-display-l-size-03lgcb, 48px);
537
- line-height: 54px;
538
462
  line-height: var(--font-display-l-line-height-71tnj3, 54px);
539
- letter-spacing: -0.03em;
540
463
  letter-spacing: var(--font-display-l-letter-spacing-4ff418, -0.03em);
541
464
  }
542
465
 
@@ -3,7 +3,7 @@ import { ChartDataTypes, MixedLineBarChartProps } from './interfaces';
3
3
  import { StackedOffsets } from './utils';
4
4
  export interface BarSeriesProps<T> {
5
5
  axis: 'x' | 'y';
6
- series: MixedLineBarChartProps.DataSeries<T>;
6
+ series: MixedLineBarChartProps.BarDataSeries<T>;
7
7
  color: string;
8
8
  totalSeriesCount: number;
9
9
  seriesIndex: number;
@@ -1 +1 @@
1
- {"version":3,"file":"bar-series.d.ts","sourceRoot":"","sources":["../../../src/mixed-line-bar-chart/bar-series.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAyB,cAAc,EAAE,MAAM,SAAS,CAAC;AAGhE,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;IAEhB,MAAM,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAE7C,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,EAAE,iBAAiB,CAAC;IAE1B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE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GAAG,EAAE,SAAS,IAEb,YAAY,CAAC,GAAG,CACf,UAAC,EAAuB,EAAE,CAAC;;YAAxB,CAAC,OAAA,EAAE,CAAC,OAAA,EAAE,KAAK,WAAA,EAAE,MAAM,YAAA;QACpB,OAAA,QAAQ,CAAC,CAAC,CAAC;YACX,QAAQ,CAAC,MAAM,CAAC,IAAI,CAClB,8BACE,GAAG,EAAE,cAAO,CAAC,CAAE,EACf,IAAI,EAAE,KAAK,EACX,CAAC,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,EAChC,CAAC,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACvB,KAAK,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EACpC,MAAM,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,EACrC,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAC7B,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY;gBACjC,GAAC,MAAM,CAAC,gBAAgB,CAAC,IACvB,iBAAiB,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC9E,GACF,CACH;IAfD,CAeC,CACJ,CACC,CACL,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useRef } from 'react';\nimport clsx from 'clsx';\nimport { ScaleContinuousNumeric, ScaleTime } from 'd3-scale';\n\nimport { ChartScale, NumericChartScale } from '../internal/components/cartesian-chart/scales';\nimport { ChartDataTypes, MixedLineBarChartProps } from './interfaces';\nimport { matchesX, getKeyValue, StackedOffsets } from './utils';\nimport styles from './styles.css.js';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nexport interface BarSeriesProps<T> {\n axis: 'x' | 'y';\n\n series: MixedLineBarChartProps.DataSeries<T>;\n\n color: string;\n totalSeriesCount: number;\n seriesIndex: number;\n\n xScale: ChartScale;\n yScale: NumericChartScale;\n\n plotSize: number;\n chartAreaClipPath: string;\n\n highlighted: boolean;\n dimmed: boolean;\n highlightedGroupIndex: number | null;\n\n // Contains the cumulative offset for each x value in a stacked bar chart\n stackedBarOffsets?: StackedOffsets;\n}\n\nexport default function BarSeries<T extends ChartDataTypes>({\n axis,\n series,\n color,\n xScale,\n yScale,\n highlighted,\n dimmed,\n highlightedGroupIndex,\n stackedBarOffsets,\n totalSeriesCount,\n seriesIndex,\n plotSize,\n chartAreaClipPath,\n}: BarSeriesProps<T>) {\n const seriesRef = useRef(null);\n const isRefresh = useVisualRefresh(seriesRef);\n\n const xCoordinates = useMemo(() => {\n if (series.type !== 'bar' || !xScale.isCategorical()) {\n return [];\n }\n\n const yContinuosScale: ScaleContinuousNumeric<number, number> | ScaleTime<number, number> = yScale.d3Scale;\n const xPoints = (series.data as ReadonlyArray<MixedLineBarChartProps.Datum<ChartDataTypes>>).map(\n ({ x }) => xScale.d3Scale(x) || NaN\n );\n\n const zeroY = yScale.d3Scale(0) ?? NaN;\n const baseY = isFinite(zeroY) ? Math.min(plotSize, zeroY) : plotSize;\n\n let barWidth = xScale.d3Scale.bandwidth();\n\n const PADDING = 4;\n const MINWIDTH = 4;\n\n if (!stackedBarOffsets && totalSeriesCount > 1) {\n // Regular grouped bars\n barWidth = (barWidth - (totalSeriesCount - 1) * PADDING) / totalSeriesCount;\n barWidth = Math.max(barWidth, MINWIDTH);\n }\n\n return xPoints.map((x, i) => {\n const d = series.data[i];\n let barX = x;\n let yValue = d.y;\n\n if (stackedBarOffsets) {\n // Stacked bars\n const offsetMap = d.y < 0 ? stackedBarOffsets.negativeOffsets : stackedBarOffsets.positiveOffsets;\n yValue = d.y + (offsetMap[getKeyValue(d.x)] || 0);\n } else if (totalSeriesCount > 1) {\n // Regular grouped bars\n barX += seriesIndex * (barWidth + PADDING);\n }\n\n // Account for negative values growing \"down\" instead of \"up\"\n yValue = yValue < 0 ? yValue - d.y : yValue;\n\n return {\n x: barX,\n y: yContinuosScale(yValue) ?? NaN,\n width: barWidth,\n height: Math.abs((yContinuosScale(d.y) ?? NaN) - baseY),\n };\n });\n }, [series, xScale, yScale, plotSize, stackedBarOffsets, totalSeriesCount, seriesIndex]);\n\n const highlightedXValue = highlightedGroupIndex !== null ? xScale.domain[highlightedGroupIndex] : null;\n\n return (\n <g\n aria-label={series.title}\n clipPath={`url(#${chartAreaClipPath})`}\n className={clsx(styles.series, styles['series--bar'], {\n [styles['series--highlighted']]: highlighted,\n [styles['series--dimmed']]: dimmed,\n })}\n ref={seriesRef}\n >\n {xCoordinates.map(\n ({ x, y, width, height }, i) =>\n isFinite(x) &&\n isFinite(height) && (\n <rect\n key={`bar-${i}`}\n fill={color}\n x={axis === 'x' ? x : y - height}\n y={axis === 'x' ? y : x}\n width={axis === 'x' ? width : height}\n height={axis === 'x' ? height : width}\n rx={isRefresh ? '4px' : '0px'}\n className={clsx(styles.series__rect, {\n [styles['series--dimmed']]:\n highlightedXValue !== null && !matchesX(highlightedXValue, series.data[i].x),\n })}\n />\n )\n )}\n </g>\n );\n}\n"]}
1
+ {"version":3,"file":"bar-series.js","sourceRoot":"","sources":["../../../src/mixed-line-bar-chart/bar-series.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,IAAI,MAAM,MAAM,CAAC;AAKxB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAkB,MAAM,SAAS,CAAC;AAChE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,gBA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AAC,KAAK,EACrC,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAC7B,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY;gBACjC,GAAC,MAAM,CAAC,gBAAgB,CAAC,IACvB,iBAAiB,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC9E,GACF,CACH;IAfD,CAeC,CACJ,CACC,CACL,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useRef } from 'react';\nimport clsx from 'clsx';\nimport { ScaleContinuousNumeric, ScaleTime } from 'd3-scale';\n\nimport { ChartScale, NumericChartScale } from '../internal/components/cartesian-chart/scales';\nimport { ChartDataTypes, MixedLineBarChartProps } from './interfaces';\nimport { matchesX, getKeyValue, StackedOffsets } from './utils';\nimport styles from './styles.css.js';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nexport interface BarSeriesProps<T> {\n axis: 'x' | 'y';\n\n series: MixedLineBarChartProps.BarDataSeries<T>;\n\n color: string;\n totalSeriesCount: number;\n seriesIndex: number;\n\n xScale: ChartScale;\n yScale: NumericChartScale;\n\n plotSize: number;\n chartAreaClipPath: string;\n\n highlighted: boolean;\n dimmed: boolean;\n highlightedGroupIndex: number | null;\n\n // Contains the cumulative offset for each x value in a stacked bar chart\n stackedBarOffsets?: StackedOffsets;\n}\n\nexport default function BarSeries<T extends ChartDataTypes>({\n axis,\n series,\n color,\n xScale,\n yScale,\n highlighted,\n dimmed,\n highlightedGroupIndex,\n stackedBarOffsets,\n totalSeriesCount,\n seriesIndex,\n plotSize,\n chartAreaClipPath,\n}: BarSeriesProps<T>) {\n const seriesRef = useRef(null);\n const isRefresh = useVisualRefresh(seriesRef);\n\n const xCoordinates = useMemo(() => {\n if (series.type !== 'bar' || !xScale.isCategorical()) {\n return [];\n }\n\n const yContinuosScale: ScaleContinuousNumeric<number, number> | ScaleTime<number, number> = yScale.d3Scale;\n const xPoints = (series.data as ReadonlyArray<MixedLineBarChartProps.Datum<ChartDataTypes>>).map(\n ({ x }) => xScale.d3Scale(x) || NaN\n );\n\n const zeroY = yScale.d3Scale(0) ?? NaN;\n const baseY = isFinite(zeroY) ? Math.min(plotSize, zeroY) : plotSize;\n\n let barWidth = xScale.d3Scale.bandwidth();\n\n const PADDING = 4;\n const MINWIDTH = 4;\n\n if (!stackedBarOffsets && totalSeriesCount > 1) {\n // Regular grouped bars\n barWidth = (barWidth - (totalSeriesCount - 1) * PADDING) / totalSeriesCount;\n barWidth = Math.max(barWidth, MINWIDTH);\n }\n\n return xPoints.map((x, i) => {\n const d = series.data[i];\n let barX = x;\n let yValue = d.y;\n\n if (stackedBarOffsets) {\n // Stacked bars\n const offsetMap = d.y < 0 ? stackedBarOffsets.negativeOffsets : stackedBarOffsets.positiveOffsets;\n yValue = d.y + (offsetMap[getKeyValue(d.x)] || 0);\n } else if (totalSeriesCount > 1) {\n // Regular grouped bars\n barX += seriesIndex * (barWidth + PADDING);\n }\n\n // Account for negative values growing \"down\" instead of \"up\"\n yValue = yValue < 0 ? yValue - d.y : yValue;\n\n return {\n x: barX,\n y: yContinuosScale(yValue) ?? NaN,\n width: barWidth,\n height: Math.abs((yContinuosScale(d.y) ?? NaN) - baseY),\n };\n });\n }, [series, xScale, yScale, plotSize, stackedBarOffsets, totalSeriesCount, seriesIndex]);\n\n const highlightedXValue = highlightedGroupIndex !== null ? xScale.domain[highlightedGroupIndex] : null;\n\n return (\n <g\n aria-label={series.title}\n clipPath={`url(#${chartAreaClipPath})`}\n className={clsx(styles.series, styles['series--bar'], {\n [styles['series--highlighted']]: highlighted,\n [styles['series--dimmed']]: dimmed,\n })}\n ref={seriesRef}\n >\n {xCoordinates.map(\n ({ x, y, width, height }, i) =>\n isFinite(x) &&\n isFinite(height) && (\n <rect\n key={`bar-${i}`}\n fill={color}\n x={axis === 'x' ? x : y - height}\n y={axis === 'x' ? y : x}\n width={axis === 'x' ? width : height}\n height={axis === 'x' ? height : width}\n rx={isRefresh ? '4px' : '0px'}\n className={clsx(styles.series__rect, {\n [styles['series--dimmed']]:\n highlightedXValue !== null && !matchesX(highlightedXValue, series.data[i].x),\n })}\n />\n )\n )}\n </g>\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"chart-container.d.ts","sourceRoot":"","sources":["../../../src/mixed-line-bar-chart/chart-container.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAiBlG,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtG,OAAyB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAUrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AASxF,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc;IAC3D,MAAM,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;IAErD,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC;IAElE,UAAU,EAAE,SAAS,CAAC;IACtB,UAAU,EAAE,QAAQ,GAAG,KAAK,CAAC;IAE7B,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC9C,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAE9C,cAAc,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACtD,cAAc,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,MAA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iB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,YAAY,EACZ,iBAA4B,EAC5B,WAAmB,EACnB,cAAsB,EACtB,UAAU,EACV,UAAU,EACV,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,MAAM,EACN,MAAM,EACN,SAAS,EACT,cAAc,EACd,eAAe,EACf,WAAgB,EAChB,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,CAAC,CAAC,eAsaxB"}
1
+ {"version":3,"file":"chart-container.d.ts","sourceRoot":"","sources":["../../../src/mixed-line-bar-chart/chart-container.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAiBlG,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGtG,OAAyB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAUrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AASxF,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc;IAC3D,MAAM,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;IAErD,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC;IAElE,UAAU,EAAE,SAAS,CAAC;IACtB,UAAU,EAAE,QAAQ,GAAG,KAAK,CAAC;IAE7B,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC9C,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAE9C,cAAc,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACtD,cAA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