@cloudscape-design/chart-components 1.0.158 → 1.0.160

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 (49) hide show
  1. package/core/chart-api/chart-extra-context.d.ts +4 -0
  2. package/core/chart-api/chart-extra-context.js +14 -1
  3. package/core/chart-api/chart-extra-context.js.map +1 -1
  4. package/core/chart-api/chart-extra-highlight.d.ts +1 -0
  5. package/core/chart-api/chart-extra-highlight.js +8 -4
  6. package/core/chart-api/chart-extra-highlight.js.map +1 -1
  7. package/core/chart-api/chart-extra-navigation.d.ts +2 -0
  8. package/core/chart-api/chart-extra-navigation.js +18 -5
  9. package/core/chart-api/chart-extra-navigation.js.map +1 -1
  10. package/core/chart-api/chart-extra-zoom.d.ts +20 -0
  11. package/core/chart-api/chart-extra-zoom.js +109 -0
  12. package/core/chart-api/chart-extra-zoom.js.map +1 -0
  13. package/core/chart-api/index.d.ts +5 -0
  14. package/core/chart-api/index.js +21 -0
  15. package/core/chart-api/index.js.map +1 -1
  16. package/core/chart-container.d.ts +2 -1
  17. package/core/chart-container.js +2 -2
  18. package/core/chart-container.js.map +1 -1
  19. package/core/chart-core.d.ts +2 -1
  20. package/core/chart-core.js +41 -34
  21. package/core/chart-core.js.map +1 -1
  22. package/core/components/core-zoom.d.ts +9 -0
  23. package/core/components/core-zoom.js +20 -0
  24. package/core/components/core-zoom.js.map +1 -0
  25. package/core/i18n-utils.d.ts +4 -0
  26. package/core/i18n-utils.js +6 -0
  27. package/core/i18n-utils.js.map +1 -1
  28. package/core/internal-interfaces.d.ts +19 -0
  29. package/core/internal-interfaces.js +4 -0
  30. package/core/internal-interfaces.js.map +1 -0
  31. package/core/styles.css.js +22 -21
  32. package/core/styles.scoped.css +27 -21
  33. package/core/styles.selectors.js +22 -21
  34. package/core/test-classes/styles.css.js +33 -30
  35. package/core/test-classes/styles.scoped.css +33 -30
  36. package/core/test-classes/styles.selectors.js +33 -30
  37. package/internal/chart-styles.d.ts +11 -0
  38. package/internal/chart-styles.js +12 -1
  39. package/internal/chart-styles.js.map +1 -1
  40. package/internal/environment.js +1 -1
  41. package/internal/environment.json +1 -1
  42. package/internal/generated/styles/tokens.d.ts +1 -1
  43. package/internal/generated/styles/tokens.js +1 -1
  44. package/internal/generated/theming/index.cjs +5 -3
  45. package/internal/generated/theming/index.d.cts +9 -0
  46. package/internal/generated/theming/index.d.ts +9 -0
  47. package/internal/generated/theming/index.js +5 -3
  48. package/internal/manifest.json +1 -1
  49. package/package.json +1 -1
@@ -2,18 +2,18 @@
2
2
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  */
5
- .awsui_root_113qp_qbrw7_5:not(#\9) {
5
+ .awsui_root_113qp_q10sj_5:not(#\9) {
6
6
  position: relative;
7
7
  }
8
- .awsui_root_113qp_qbrw7_5 .awsui_highcharts-grid-line_113qp_qbrw7_8:not(#\9) {
8
+ .awsui_root_113qp_q10sj_5 .awsui_highcharts-grid-line_113qp_q10sj_8:not(#\9) {
9
9
  pointer-events: none;
10
10
  }
11
11
 
12
- .awsui_root-fit-height_113qp_qbrw7_12:not(#\9) {
12
+ .awsui_root-fit-height_113qp_q10sj_12:not(#\9) {
13
13
  block-size: 100%;
14
14
  }
15
15
 
16
- .awsui_no-data-container_113qp_qbrw7_16:not(#\9) {
16
+ .awsui_no-data-container_113qp_q10sj_16:not(#\9) {
17
17
  position: absolute;
18
18
  inset: 0;
19
19
  display: flex;
@@ -21,7 +21,7 @@
21
21
  justify-content: center;
22
22
  }
23
23
 
24
- .awsui_no-data_113qp_qbrw7_16:not(#\9) {
24
+ .awsui_no-data_113qp_q10sj_16:not(#\9) {
25
25
  overflow-x: auto;
26
26
  overflow-y: hidden;
27
27
  padding-block: var(--space-static-xs-b6kz15, 8px);
@@ -31,7 +31,7 @@
31
31
  border: 1px solid var(--color-border-divider-default-8vuq97, #c6c6cd);
32
32
  }
33
33
 
34
- .awsui_no-data-wrapper_113qp_qbrw7_34:not(#\9) {
34
+ .awsui_no-data-wrapper_113qp_q10sj_34:not(#\9) {
35
35
  overflow: hidden;
36
36
  padding-block: var(--space-static-xxs-0tl528, 4px);
37
37
  padding-inline: var(--space-static-xxs-0tl528, 4px);
@@ -39,21 +39,27 @@
39
39
  background-color: var(--color-background-container-content-0odjoo, #ffffff);
40
40
  }
41
41
 
42
- .awsui_no-data-empty_113qp_qbrw7_42:not(#\9) {
42
+ .awsui_no-data-empty_113qp_q10sj_42:not(#\9) {
43
43
  color: var(--color-text-empty-a5zixv, #656871);
44
44
  }
45
45
 
46
- .awsui_chart-filters_113qp_qbrw7_46:not(#\9) {
46
+ .awsui_chart-zoom-controls_113qp_q10sj_46:not(#\9) {
47
+ display: flex;
48
+ justify-content: flex-end;
49
+ padding-block-end: var(--space-scaled-xxs-54nfiu, 4px);
50
+ }
51
+
52
+ .awsui_chart-filters_113qp_q10sj_52:not(#\9) {
47
53
  padding-block-end: var(--space-scaled-l-kalwlg, 20px);
48
54
  display: flex;
49
55
  flex-wrap: wrap;
50
56
  gap: var(--space-scaled-l-kalwlg, 20px);
51
57
  }
52
- .awsui_chart-filters-series_113qp_qbrw7_52:not(#\9) {
58
+ .awsui_chart-filters-series_113qp_q10sj_58:not(#\9) {
53
59
  flex: 280px 0 1;
54
60
  }
55
61
 
56
- .awsui_axis-vertical-title_113qp_qbrw7_56:not(#\9) {
62
+ .awsui_axis-vertical-title_113qp_q10sj_62:not(#\9) {
57
63
  display: flex;
58
64
  gap: var(--space-static-xs-b6kz15, 8px);
59
65
  justify-content: space-between;
@@ -61,56 +67,56 @@
61
67
  margin-bottom: 4px;
62
68
  }
63
69
 
64
- .awsui_axis-vertical-title-item_113qp_qbrw7_64:not(#\9) {
70
+ .awsui_axis-vertical-title-item_113qp_q10sj_70:not(#\9) {
65
71
  font-weight: bold;
66
72
  overflow: hidden;
67
73
  white-space: nowrap;
68
74
  text-overflow: ellipsis;
69
75
  }
70
76
 
71
- .awsui_error-range_113qp_qbrw7_71:not(#\9) {
77
+ .awsui_error-range_113qp_q10sj_77:not(#\9) {
72
78
  display: flex;
73
79
  justify-content: space-between;
74
80
  gap: var(--space-scaled-s-srzhhj, 12px);
75
81
  }
76
82
 
77
- .awsui_tooltip-default-header_113qp_qbrw7_77:not(#\9) {
83
+ .awsui_tooltip-default-header_113qp_q10sj_83:not(#\9) {
78
84
  display: inline-flex;
79
85
  align-items: center;
80
86
  gap: var(--space-static-xxs-0tl528, 4px);
81
87
  }
82
88
 
83
- .awsui_chart-container-root_113qp_qbrw7_83:not(#\9) {
89
+ .awsui_chart-container-root_113qp_q10sj_89:not(#\9) {
84
90
  block-size: 100%;
85
91
  }
86
92
 
87
- .awsui_chart-container-fit-height_113qp_qbrw7_87:not(#\9) {
93
+ .awsui_chart-container-fit-height_113qp_q10sj_93:not(#\9) {
88
94
  overflow-x: auto;
89
95
  position: absolute;
90
96
  inset: 0;
91
97
  }
92
98
 
93
- .awsui_chart-container-min-width_113qp_qbrw7_93:not(#\9) {
99
+ .awsui_chart-container-min-width_113qp_q10sj_99:not(#\9) {
94
100
  overflow-x: auto;
95
101
  }
96
102
 
97
- .awsui_chart-plot-and-legend-wrapper_113qp_qbrw7_97:not(#\9) {
103
+ .awsui_chart-plot-and-legend-wrapper_113qp_q10sj_103:not(#\9) {
98
104
  display: flex;
99
105
  }
100
106
 
101
- .awsui_chart-plot-wrapper_113qp_qbrw7_101:not(#\9) {
107
+ .awsui_chart-plot-wrapper_113qp_q10sj_107:not(#\9) {
102
108
  position: relative;
103
109
  flex: 1;
104
110
  }
105
111
 
106
- .awsui_bottom-legend-container_113qp_qbrw7_106:not(#\9) {
112
+ .awsui_bottom-legend-container_113qp_q10sj_112:not(#\9) {
107
113
  display: flex;
108
114
  overflow: auto;
109
115
  gap: var(--space-scaled-xxl-pn6ur6, 32px);
110
116
  justify-content: space-between;
111
117
  }
112
118
 
113
- .awsui_side-legend-container_113qp_qbrw7_113:not(#\9) {
119
+ .awsui_side-legend-container_113qp_q10sj_119:not(#\9) {
114
120
  flex: 0;
115
121
  display: flex;
116
122
  flex-direction: column;
@@ -119,6 +125,6 @@
119
125
  max-inline-size: 30%;
120
126
  }
121
127
 
122
- .awsui_application_113qp_qbrw7_122:not(#\9) {
128
+ .awsui_application_113qp_q10sj_128:not(#\9) {
123
129
  outline: none;
124
130
  }
@@ -2,26 +2,27 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_113qp_qbrw7_5",
6
- "highcharts-grid-line": "awsui_highcharts-grid-line_113qp_qbrw7_8",
7
- "root-fit-height": "awsui_root-fit-height_113qp_qbrw7_12",
8
- "no-data-container": "awsui_no-data-container_113qp_qbrw7_16",
9
- "no-data": "awsui_no-data_113qp_qbrw7_16",
10
- "no-data-wrapper": "awsui_no-data-wrapper_113qp_qbrw7_34",
11
- "no-data-empty": "awsui_no-data-empty_113qp_qbrw7_42",
12
- "chart-filters": "awsui_chart-filters_113qp_qbrw7_46",
13
- "chart-filters-series": "awsui_chart-filters-series_113qp_qbrw7_52",
14
- "axis-vertical-title": "awsui_axis-vertical-title_113qp_qbrw7_56",
15
- "axis-vertical-title-item": "awsui_axis-vertical-title-item_113qp_qbrw7_64",
16
- "error-range": "awsui_error-range_113qp_qbrw7_71",
17
- "tooltip-default-header": "awsui_tooltip-default-header_113qp_qbrw7_77",
18
- "chart-container-root": "awsui_chart-container-root_113qp_qbrw7_83",
19
- "chart-container-fit-height": "awsui_chart-container-fit-height_113qp_qbrw7_87",
20
- "chart-container-min-width": "awsui_chart-container-min-width_113qp_qbrw7_93",
21
- "chart-plot-and-legend-wrapper": "awsui_chart-plot-and-legend-wrapper_113qp_qbrw7_97",
22
- "chart-plot-wrapper": "awsui_chart-plot-wrapper_113qp_qbrw7_101",
23
- "bottom-legend-container": "awsui_bottom-legend-container_113qp_qbrw7_106",
24
- "side-legend-container": "awsui_side-legend-container_113qp_qbrw7_113",
25
- "application": "awsui_application_113qp_qbrw7_122"
5
+ "root": "awsui_root_113qp_q10sj_5",
6
+ "highcharts-grid-line": "awsui_highcharts-grid-line_113qp_q10sj_8",
7
+ "root-fit-height": "awsui_root-fit-height_113qp_q10sj_12",
8
+ "no-data-container": "awsui_no-data-container_113qp_q10sj_16",
9
+ "no-data": "awsui_no-data_113qp_q10sj_16",
10
+ "no-data-wrapper": "awsui_no-data-wrapper_113qp_q10sj_34",
11
+ "no-data-empty": "awsui_no-data-empty_113qp_q10sj_42",
12
+ "chart-zoom-controls": "awsui_chart-zoom-controls_113qp_q10sj_46",
13
+ "chart-filters": "awsui_chart-filters_113qp_q10sj_52",
14
+ "chart-filters-series": "awsui_chart-filters-series_113qp_q10sj_58",
15
+ "axis-vertical-title": "awsui_axis-vertical-title_113qp_q10sj_62",
16
+ "axis-vertical-title-item": "awsui_axis-vertical-title-item_113qp_q10sj_70",
17
+ "error-range": "awsui_error-range_113qp_q10sj_77",
18
+ "tooltip-default-header": "awsui_tooltip-default-header_113qp_q10sj_83",
19
+ "chart-container-root": "awsui_chart-container-root_113qp_q10sj_89",
20
+ "chart-container-fit-height": "awsui_chart-container-fit-height_113qp_q10sj_93",
21
+ "chart-container-min-width": "awsui_chart-container-min-width_113qp_q10sj_99",
22
+ "chart-plot-and-legend-wrapper": "awsui_chart-plot-and-legend-wrapper_113qp_q10sj_103",
23
+ "chart-plot-wrapper": "awsui_chart-plot-wrapper_113qp_q10sj_107",
24
+ "bottom-legend-container": "awsui_bottom-legend-container_113qp_q10sj_112",
25
+ "side-legend-container": "awsui_side-legend-container_113qp_q10sj_119",
26
+ "application": "awsui_application_113qp_q10sj_128"
26
27
  };
27
28
 
@@ -1,35 +1,38 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_m8vem_1t5bp_5",
5
- "fallback": "awsui_fallback_m8vem_1t5bp_6",
6
- "no-data": "awsui_no-data_m8vem_1t5bp_7",
7
- "legend-primary": "awsui_legend-primary_m8vem_1t5bp_8",
8
- "legend-secondary": "awsui_legend-secondary_m8vem_1t5bp_9",
9
- "legend-item-warning": "awsui_legend-item-warning_m8vem_1t5bp_10",
10
- "chart-plot": "awsui_chart-plot_m8vem_1t5bp_11",
11
- "chart-plot-wrapper": "awsui_chart-plot-wrapper_m8vem_1t5bp_12",
12
- "chart-filters": "awsui_chart-filters_m8vem_1t5bp_13",
13
- "chart-filters-series": "awsui_chart-filters-series_m8vem_1t5bp_14",
14
- "chart-filters-additional": "awsui_chart-filters-additional_m8vem_1t5bp_15",
15
- "chart-header": "awsui_chart-header_m8vem_1t5bp_16",
16
- "chart-footer": "awsui_chart-footer_m8vem_1t5bp_17",
17
- "chart-navigator": "awsui_chart-navigator_m8vem_1t5bp_18",
18
- "axis-x": "awsui_axis-x_m8vem_1t5bp_19",
19
- "axis-x-title": "awsui_axis-x-title_m8vem_1t5bp_20",
20
- "axis-y": "awsui_axis-y_m8vem_1t5bp_21",
21
- "axis-y-title": "awsui_axis-y-title_m8vem_1t5bp_22",
22
- "axis-vertical": "awsui_axis-vertical_m8vem_1t5bp_23",
23
- "axis-vertical-title": "awsui_axis-vertical-title_m8vem_1t5bp_24",
24
- "axis-horizontal": "awsui_axis-horizontal_m8vem_1t5bp_25",
25
- "no-data-empty": "awsui_no-data-empty_m8vem_1t5bp_26",
26
- "no-data-no-match": "awsui_no-data-no-match_m8vem_1t5bp_27",
27
- "no-data-loading": "awsui_no-data-loading_m8vem_1t5bp_28",
28
- "no-data-error": "awsui_no-data-error_m8vem_1t5bp_29",
29
- "no-data-retry": "awsui_no-data-retry_m8vem_1t5bp_30",
30
- "emphasized-baseline": "awsui_emphasized-baseline_m8vem_1t5bp_31",
31
- "application": "awsui_application_m8vem_1t5bp_32",
32
- "highlight-marker": "awsui_highlight-marker_m8vem_1t5bp_33",
33
- "highlight-marker-selected": "awsui_highlight-marker-selected_m8vem_1t5bp_34"
4
+ "root": "awsui_root_m8vem_46i2a_5",
5
+ "fallback": "awsui_fallback_m8vem_46i2a_6",
6
+ "no-data": "awsui_no-data_m8vem_46i2a_7",
7
+ "legend-primary": "awsui_legend-primary_m8vem_46i2a_8",
8
+ "legend-secondary": "awsui_legend-secondary_m8vem_46i2a_9",
9
+ "legend-item-warning": "awsui_legend-item-warning_m8vem_46i2a_10",
10
+ "chart-plot": "awsui_chart-plot_m8vem_46i2a_11",
11
+ "chart-plot-wrapper": "awsui_chart-plot-wrapper_m8vem_46i2a_12",
12
+ "chart-filters": "awsui_chart-filters_m8vem_46i2a_13",
13
+ "chart-filters-series": "awsui_chart-filters-series_m8vem_46i2a_14",
14
+ "chart-filters-additional": "awsui_chart-filters-additional_m8vem_46i2a_15",
15
+ "chart-header": "awsui_chart-header_m8vem_46i2a_16",
16
+ "chart-footer": "awsui_chart-footer_m8vem_46i2a_17",
17
+ "chart-navigator": "awsui_chart-navigator_m8vem_46i2a_18",
18
+ "reset-zoom-button": "awsui_reset-zoom-button_m8vem_46i2a_19",
19
+ "zoom-range": "awsui_zoom-range_m8vem_46i2a_20",
20
+ "zoom-range-borders": "awsui_zoom-range-borders_m8vem_46i2a_21",
21
+ "axis-x": "awsui_axis-x_m8vem_46i2a_22",
22
+ "axis-x-title": "awsui_axis-x-title_m8vem_46i2a_23",
23
+ "axis-y": "awsui_axis-y_m8vem_46i2a_24",
24
+ "axis-y-title": "awsui_axis-y-title_m8vem_46i2a_25",
25
+ "axis-vertical": "awsui_axis-vertical_m8vem_46i2a_26",
26
+ "axis-vertical-title": "awsui_axis-vertical-title_m8vem_46i2a_27",
27
+ "axis-horizontal": "awsui_axis-horizontal_m8vem_46i2a_28",
28
+ "no-data-empty": "awsui_no-data-empty_m8vem_46i2a_29",
29
+ "no-data-no-match": "awsui_no-data-no-match_m8vem_46i2a_30",
30
+ "no-data-loading": "awsui_no-data-loading_m8vem_46i2a_31",
31
+ "no-data-error": "awsui_no-data-error_m8vem_46i2a_32",
32
+ "no-data-retry": "awsui_no-data-retry_m8vem_46i2a_33",
33
+ "emphasized-baseline": "awsui_emphasized-baseline_m8vem_46i2a_34",
34
+ "application": "awsui_application_m8vem_46i2a_35",
35
+ "highlight-marker": "awsui_highlight-marker_m8vem_46i2a_36",
36
+ "highlight-marker-selected": "awsui_highlight-marker-selected_m8vem_46i2a_37"
34
37
  };
35
38
 
@@ -2,35 +2,38 @@
2
2
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  */
5
- .awsui_root_m8vem_1t5bp_5:not(#\9),
6
- .awsui_fallback_m8vem_1t5bp_6:not(#\9),
7
- .awsui_no-data_m8vem_1t5bp_7:not(#\9),
8
- .awsui_legend-primary_m8vem_1t5bp_8:not(#\9),
9
- .awsui_legend-secondary_m8vem_1t5bp_9:not(#\9),
10
- .awsui_legend-item-warning_m8vem_1t5bp_10:not(#\9),
11
- .awsui_chart-plot_m8vem_1t5bp_11:not(#\9),
12
- .awsui_chart-plot-wrapper_m8vem_1t5bp_12:not(#\9),
13
- .awsui_chart-filters_m8vem_1t5bp_13:not(#\9),
14
- .awsui_chart-filters-series_m8vem_1t5bp_14:not(#\9),
15
- .awsui_chart-filters-additional_m8vem_1t5bp_15:not(#\9),
16
- .awsui_chart-header_m8vem_1t5bp_16:not(#\9),
17
- .awsui_chart-footer_m8vem_1t5bp_17:not(#\9),
18
- .awsui_chart-navigator_m8vem_1t5bp_18:not(#\9),
19
- .awsui_axis-x_m8vem_1t5bp_19:not(#\9),
20
- .awsui_axis-x-title_m8vem_1t5bp_20:not(#\9),
21
- .awsui_axis-y_m8vem_1t5bp_21:not(#\9),
22
- .awsui_axis-y-title_m8vem_1t5bp_22:not(#\9),
23
- .awsui_axis-vertical_m8vem_1t5bp_23:not(#\9),
24
- .awsui_axis-vertical-title_m8vem_1t5bp_24:not(#\9),
25
- .awsui_axis-horizontal_m8vem_1t5bp_25:not(#\9),
26
- .awsui_no-data-empty_m8vem_1t5bp_26:not(#\9),
27
- .awsui_no-data-no-match_m8vem_1t5bp_27:not(#\9),
28
- .awsui_no-data-loading_m8vem_1t5bp_28:not(#\9),
29
- .awsui_no-data-error_m8vem_1t5bp_29:not(#\9),
30
- .awsui_no-data-retry_m8vem_1t5bp_30:not(#\9),
31
- .awsui_emphasized-baseline_m8vem_1t5bp_31:not(#\9),
32
- .awsui_application_m8vem_1t5bp_32:not(#\9),
33
- .awsui_highlight-marker_m8vem_1t5bp_33:not(#\9),
34
- .awsui_highlight-marker-selected_m8vem_1t5bp_34:not(#\9) {
5
+ .awsui_root_m8vem_46i2a_5:not(#\9),
6
+ .awsui_fallback_m8vem_46i2a_6:not(#\9),
7
+ .awsui_no-data_m8vem_46i2a_7:not(#\9),
8
+ .awsui_legend-primary_m8vem_46i2a_8:not(#\9),
9
+ .awsui_legend-secondary_m8vem_46i2a_9:not(#\9),
10
+ .awsui_legend-item-warning_m8vem_46i2a_10:not(#\9),
11
+ .awsui_chart-plot_m8vem_46i2a_11:not(#\9),
12
+ .awsui_chart-plot-wrapper_m8vem_46i2a_12:not(#\9),
13
+ .awsui_chart-filters_m8vem_46i2a_13:not(#\9),
14
+ .awsui_chart-filters-series_m8vem_46i2a_14:not(#\9),
15
+ .awsui_chart-filters-additional_m8vem_46i2a_15:not(#\9),
16
+ .awsui_chart-header_m8vem_46i2a_16:not(#\9),
17
+ .awsui_chart-footer_m8vem_46i2a_17:not(#\9),
18
+ .awsui_chart-navigator_m8vem_46i2a_18:not(#\9),
19
+ .awsui_reset-zoom-button_m8vem_46i2a_19:not(#\9),
20
+ .awsui_zoom-range_m8vem_46i2a_20:not(#\9),
21
+ .awsui_zoom-range-borders_m8vem_46i2a_21:not(#\9),
22
+ .awsui_axis-x_m8vem_46i2a_22:not(#\9),
23
+ .awsui_axis-x-title_m8vem_46i2a_23:not(#\9),
24
+ .awsui_axis-y_m8vem_46i2a_24:not(#\9),
25
+ .awsui_axis-y-title_m8vem_46i2a_25:not(#\9),
26
+ .awsui_axis-vertical_m8vem_46i2a_26:not(#\9),
27
+ .awsui_axis-vertical-title_m8vem_46i2a_27:not(#\9),
28
+ .awsui_axis-horizontal_m8vem_46i2a_28:not(#\9),
29
+ .awsui_no-data-empty_m8vem_46i2a_29:not(#\9),
30
+ .awsui_no-data-no-match_m8vem_46i2a_30:not(#\9),
31
+ .awsui_no-data-loading_m8vem_46i2a_31:not(#\9),
32
+ .awsui_no-data-error_m8vem_46i2a_32:not(#\9),
33
+ .awsui_no-data-retry_m8vem_46i2a_33:not(#\9),
34
+ .awsui_emphasized-baseline_m8vem_46i2a_34:not(#\9),
35
+ .awsui_application_m8vem_46i2a_35:not(#\9),
36
+ .awsui_highlight-marker_m8vem_46i2a_36:not(#\9),
37
+ .awsui_highlight-marker-selected_m8vem_46i2a_37:not(#\9) {
35
38
  /* used in test-utils */
36
39
  }
@@ -2,35 +2,38 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_m8vem_1t5bp_5",
6
- "fallback": "awsui_fallback_m8vem_1t5bp_6",
7
- "no-data": "awsui_no-data_m8vem_1t5bp_7",
8
- "legend-primary": "awsui_legend-primary_m8vem_1t5bp_8",
9
- "legend-secondary": "awsui_legend-secondary_m8vem_1t5bp_9",
10
- "legend-item-warning": "awsui_legend-item-warning_m8vem_1t5bp_10",
11
- "chart-plot": "awsui_chart-plot_m8vem_1t5bp_11",
12
- "chart-plot-wrapper": "awsui_chart-plot-wrapper_m8vem_1t5bp_12",
13
- "chart-filters": "awsui_chart-filters_m8vem_1t5bp_13",
14
- "chart-filters-series": "awsui_chart-filters-series_m8vem_1t5bp_14",
15
- "chart-filters-additional": "awsui_chart-filters-additional_m8vem_1t5bp_15",
16
- "chart-header": "awsui_chart-header_m8vem_1t5bp_16",
17
- "chart-footer": "awsui_chart-footer_m8vem_1t5bp_17",
18
- "chart-navigator": "awsui_chart-navigator_m8vem_1t5bp_18",
19
- "axis-x": "awsui_axis-x_m8vem_1t5bp_19",
20
- "axis-x-title": "awsui_axis-x-title_m8vem_1t5bp_20",
21
- "axis-y": "awsui_axis-y_m8vem_1t5bp_21",
22
- "axis-y-title": "awsui_axis-y-title_m8vem_1t5bp_22",
23
- "axis-vertical": "awsui_axis-vertical_m8vem_1t5bp_23",
24
- "axis-vertical-title": "awsui_axis-vertical-title_m8vem_1t5bp_24",
25
- "axis-horizontal": "awsui_axis-horizontal_m8vem_1t5bp_25",
26
- "no-data-empty": "awsui_no-data-empty_m8vem_1t5bp_26",
27
- "no-data-no-match": "awsui_no-data-no-match_m8vem_1t5bp_27",
28
- "no-data-loading": "awsui_no-data-loading_m8vem_1t5bp_28",
29
- "no-data-error": "awsui_no-data-error_m8vem_1t5bp_29",
30
- "no-data-retry": "awsui_no-data-retry_m8vem_1t5bp_30",
31
- "emphasized-baseline": "awsui_emphasized-baseline_m8vem_1t5bp_31",
32
- "application": "awsui_application_m8vem_1t5bp_32",
33
- "highlight-marker": "awsui_highlight-marker_m8vem_1t5bp_33",
34
- "highlight-marker-selected": "awsui_highlight-marker-selected_m8vem_1t5bp_34"
5
+ "root": "awsui_root_m8vem_46i2a_5",
6
+ "fallback": "awsui_fallback_m8vem_46i2a_6",
7
+ "no-data": "awsui_no-data_m8vem_46i2a_7",
8
+ "legend-primary": "awsui_legend-primary_m8vem_46i2a_8",
9
+ "legend-secondary": "awsui_legend-secondary_m8vem_46i2a_9",
10
+ "legend-item-warning": "awsui_legend-item-warning_m8vem_46i2a_10",
11
+ "chart-plot": "awsui_chart-plot_m8vem_46i2a_11",
12
+ "chart-plot-wrapper": "awsui_chart-plot-wrapper_m8vem_46i2a_12",
13
+ "chart-filters": "awsui_chart-filters_m8vem_46i2a_13",
14
+ "chart-filters-series": "awsui_chart-filters-series_m8vem_46i2a_14",
15
+ "chart-filters-additional": "awsui_chart-filters-additional_m8vem_46i2a_15",
16
+ "chart-header": "awsui_chart-header_m8vem_46i2a_16",
17
+ "chart-footer": "awsui_chart-footer_m8vem_46i2a_17",
18
+ "chart-navigator": "awsui_chart-navigator_m8vem_46i2a_18",
19
+ "reset-zoom-button": "awsui_reset-zoom-button_m8vem_46i2a_19",
20
+ "zoom-range": "awsui_zoom-range_m8vem_46i2a_20",
21
+ "zoom-range-borders": "awsui_zoom-range-borders_m8vem_46i2a_21",
22
+ "axis-x": "awsui_axis-x_m8vem_46i2a_22",
23
+ "axis-x-title": "awsui_axis-x-title_m8vem_46i2a_23",
24
+ "axis-y": "awsui_axis-y_m8vem_46i2a_24",
25
+ "axis-y-title": "awsui_axis-y-title_m8vem_46i2a_25",
26
+ "axis-vertical": "awsui_axis-vertical_m8vem_46i2a_26",
27
+ "axis-vertical-title": "awsui_axis-vertical-title_m8vem_46i2a_27",
28
+ "axis-horizontal": "awsui_axis-horizontal_m8vem_46i2a_28",
29
+ "no-data-empty": "awsui_no-data-empty_m8vem_46i2a_29",
30
+ "no-data-no-match": "awsui_no-data-no-match_m8vem_46i2a_30",
31
+ "no-data-loading": "awsui_no-data-loading_m8vem_46i2a_31",
32
+ "no-data-error": "awsui_no-data-error_m8vem_46i2a_32",
33
+ "no-data-retry": "awsui_no-data-retry_m8vem_46i2a_33",
34
+ "emphasized-baseline": "awsui_emphasized-baseline_m8vem_46i2a_34",
35
+ "application": "awsui_application_m8vem_46i2a_35",
36
+ "highlight-marker": "awsui_highlight-marker_m8vem_46i2a_36",
37
+ "highlight-marker-selected": "awsui_highlight-marker-selected_m8vem_46i2a_37"
35
38
  };
36
39
 
@@ -72,6 +72,17 @@ export declare const cursorLine: {
72
72
  zIndex: number;
73
73
  "pointer-events": string;
74
74
  };
75
+ export declare const zoomRangeBand: {
76
+ fill: string;
77
+ zIndex: number;
78
+ "pointer-events": string;
79
+ };
80
+ export declare const zoomRangeBorders: {
81
+ stroke: string;
82
+ "stroke-width": number;
83
+ zIndex: number;
84
+ "pointer-events": string;
85
+ };
75
86
  export declare const focusOutlineOffsets: {
76
87
  chart: number;
77
88
  group: number;
@@ -1,6 +1,6 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import { colorBackgroundContainerContent, colorChartsLineTick, colorChartsPaletteCategorical1, colorChartsPaletteCategorical2, colorChartsPaletteCategorical3, colorChartsPaletteCategorical4, colorChartsPaletteCategorical5, colorChartsPaletteCategorical6, colorChartsPaletteCategorical7, colorChartsPaletteCategorical8, colorChartsPaletteCategorical9, colorChartsPaletteCategorical10, colorChartsThresholdNeutral, colorTextBodyDefault, colorTextBodySecondary, fontFamilyBase, fontSizeBodyM, fontSizeBodyS, fontWeightHeadingS, } from "@cloudscape-design/design-tokens";
3
+ import { colorBackgroundContainerContent, colorBackgroundItemSelected, colorBorderItemSelected, colorChartsLineTick, colorChartsPaletteCategorical1, colorChartsPaletteCategorical2, colorChartsPaletteCategorical3, colorChartsPaletteCategorical4, colorChartsPaletteCategorical5, colorChartsPaletteCategorical6, colorChartsPaletteCategorical7, colorChartsPaletteCategorical8, colorChartsPaletteCategorical9, colorChartsPaletteCategorical10, colorChartsThresholdNeutral, colorTextBodyDefault, colorTextBodySecondary, fontFamilyBase, fontSizeBodyM, fontSizeBodyS, fontWeightHeadingS, } from "@cloudscape-design/design-tokens";
4
4
  import styles from "./styles.css.js";
5
5
  // Here we define chart styles and colors, used across multiple components, including core chart, cartesian- and pie charts,
6
6
  // series markers.
@@ -104,6 +104,17 @@ export const cursorLine = {
104
104
  zIndex: 5,
105
105
  "pointer-events": "none",
106
106
  };
107
+ export const zoomRangeBand = {
108
+ fill: colorBackgroundItemSelected,
109
+ zIndex: 0,
110
+ "pointer-events": "none",
111
+ };
112
+ export const zoomRangeBorders = {
113
+ stroke: colorBorderItemSelected,
114
+ "stroke-width": 1,
115
+ zIndex: 3,
116
+ "pointer-events": "none",
117
+ };
107
118
  export const focusOutlineOffsets = {
108
119
  chart: -1,
109
120
  group: 4,
@@ -1 +1 @@
1
- {"version":3,"file":"chart-styles.js","sourceRoot":"","sources":["../../../src/internal/chart-styles.ts"],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,CAAC;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAyB;IACrD,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,MAAM;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAyB;IAC3D,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,MAAM;IAClB,KAAK,EAAE,sBAAsB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,eAAe,cAAc,iCAAiC,aAAa,UAAU,sBAAsB,EAAE,CAAC;AAErJ,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type Highcharts from \"highcharts\";\n\nimport {\n colorBackgroundContainerContent,\n colorChartsLineTick,\n colorChartsPaletteCategorical1,\n colorChartsPaletteCategorical2,\n colorChartsPaletteCategorical3,\n colorChartsPaletteCategorical4,\n colorChartsPaletteCategorical5,\n colorChartsPaletteCategorical6,\n colorChartsPaletteCategorical7,\n colorChartsPaletteCategorical8,\n colorChartsPaletteCategorical9,\n colorChartsPaletteCategorical10,\n colorChartsThresholdNeutral,\n colorTextBodyDefault,\n colorTextBodySecondary,\n fontFamilyBase,\n fontSizeBodyM,\n fontSizeBodyS,\n fontWeightHeadingS,\n} from \"@cloudscape-design/design-tokens\";\n\nimport styles from \"./styles.css.js\";\n\n// Here we define chart styles and colors, used across multiple components, including core chart, cartesian- and pie charts,\n// series markers.\n\nexport const colors = [\n colorChartsPaletteCategorical1,\n colorChartsPaletteCategorical2,\n colorChartsPaletteCategorical3,\n colorChartsPaletteCategorical4,\n colorChartsPaletteCategorical5,\n colorChartsPaletteCategorical6,\n colorChartsPaletteCategorical7,\n colorChartsPaletteCategorical8,\n colorChartsPaletteCategorical9,\n colorChartsPaletteCategorical10,\n];\n\nexport const chart: Highcharts.ChartOptions = {\n spacing: [10, 10, 0, 0],\n backgroundColor: \"transparent\",\n};\n\nexport const axisTitleCss: Highcharts.CSSObject = {\n color: colorTextBodyDefault,\n fontSize: fontSizeBodyM,\n fontWeight: fontWeightHeadingS,\n};\n\nexport const axisLabelsCss: Highcharts.CSSObject = {\n color: colorTextBodySecondary,\n fontSize: fontSizeBodyS,\n};\n\nexport const xAxisOptions: Highcharts.XAxisOptions = {\n tickColor: colorChartsLineTick,\n lineColor: colorChartsLineTick,\n gridLineColor: colorChartsLineTick,\n lineWidth: 1,\n crosshair: false,\n};\n\nexport const yAxisOptions: Highcharts.YAxisOptions = {\n tickColor: colorChartsLineTick,\n lineColor: colorChartsLineTick,\n gridLineColor: colorChartsLineTick,\n lineWidth: 0,\n crosshair: false,\n};\n\nexport const chartPlotCss: Highcharts.CSSObject = {\n font: fontFamilyBase,\n color: colorTextBodyDefault,\n fontSize: fontSizeBodyM,\n};\n\nexport const seriesBorderColor = colorBackgroundContainerContent;\n\nexport const hiddenSeriesMarker = { enabled: false, radius: 3, symbol: \"circle\" };\n\nexport const areaSeries = {\n fillOpacity: 0.4,\n marker: hiddenSeriesMarker,\n};\n\nexport const lineSeries = {\n marker: hiddenSeriesMarker,\n};\n\nexport const columnSeries = {\n groupPadding: 0.075,\n borderRadius: 4,\n borderWidth: 2,\n marker: hiddenSeriesMarker,\n};\n\nexport const errorbarSeries = {\n color: colorChartsThresholdNeutral,\n stemColor: colorChartsThresholdNeutral,\n whiskerColor: colorChartsThresholdNeutral,\n};\n\nexport const pieSeries = {\n borderWidth: 2,\n // This sets the color of the empty pie/donut ring.\n // See: https://github.com/highcharts/highcharts/issues/23073.\n color: \"transparent\",\n size: \"60%\",\n};\nexport const donutSeries = {\n ...pieSeries,\n innerSize: \"80%\",\n};\n\nexport const pieSeriesDataLabels = {\n connectorColor: colorChartsThresholdNeutral,\n};\n\nexport const dimmedPlotLineOpacity = 0.4;\n\nexport const seriesDataLabelsCss: Highcharts.CSSObject = {\n font: fontFamilyBase,\n color: colorTextBodyDefault,\n fontSize: fontSizeBodyM,\n fontWeight: fontWeightHeadingS,\n textOutline: \"\",\n};\n\nexport const seriesOpacityInactive = 0.3;\n\nexport const verticalAxisTitleBlockSize = 24;\nexport const verticalAxisTitleMargin = 4;\n\nexport const navigationFocusOutline = {\n class: styles[\"focus-outline\"],\n \"stroke-width\": 2,\n rx: 4,\n zIndex: 10,\n};\n\nexport const cursorLine = {\n fill: colorChartsLineTick,\n zIndex: 5,\n \"pointer-events\": \"none\",\n};\n\nexport const focusOutlineOffsets = {\n chart: -1,\n group: 4,\n point: 6,\n pointByType: { column: 2, pie: 2 } as Record<string, number | undefined>,\n};\n\nexport const thresholdSeries: Partial<Highcharts.SeriesLineOptions> = {\n dashStyle: \"ShortDash\",\n lineWidth: 0,\n color: colorChartsThresholdNeutral,\n};\n\nexport const thresholdPlotLine: Partial<Highcharts.XAxisPlotLinesOptions | Highcharts.YAxisPlotLinesOptions> = {\n width: 2,\n dashStyle: \"ShortDash\",\n zIndex: 3,\n color: colorChartsThresholdNeutral,\n};\n\nexport const chatPlotBaseline: Partial<Highcharts.XAxisPlotLinesOptions> = {\n color: colorChartsLineTick,\n width: 2,\n zIndex: 2,\n};\n\nexport const innerAreaTitleCss: Highcharts.CSSObject = {\n fontSize: \"28\",\n fontWeight: \"bold\",\n};\n\nexport const innerAreaDescriptionCss: Highcharts.CSSObject = {\n fontSize: \"18\",\n fontWeight: \"bold\",\n color: colorTextBodySecondary,\n};\n\nexport const segmentDescriptionStyle = `font-family:${fontFamilyBase};font-weight:normal;font-size:${fontSizeBodyS};color:${colorTextBodySecondary}`;\n\nexport const tooltipSnap = 4;\n"]}
1
+ {"version":3,"file":"chart-styles.js","sourceRoot":"","sources":["../../../src/internal/chart-styles.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAItC,OAAO,EACL,+BAA+B,EAC/B,2BAA2B,EAC3B,uBAAuB,EACvB,mBAAmB,EACnB,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B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,EAAE,2BAA2B;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA8C;IACzE,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAyB;IACrD,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,MAAM;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAyB;IAC3D,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,MAAM;IAClB,KAAK,EAAE,sBAAsB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,eAAe,cAAc,iCAAiC,aAAa,UAAU,sBAAsB,EAAE,CAAC;AAErJ,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type Highcharts from \"highcharts\";\n\nimport {\n colorBackgroundContainerContent,\n colorBackgroundItemSelected,\n colorBorderItemSelected,\n colorChartsLineTick,\n colorChartsPaletteCategorical1,\n colorChartsPaletteCategorical2,\n colorChartsPaletteCategorical3,\n colorChartsPaletteCategorical4,\n colorChartsPaletteCategorical5,\n colorChartsPaletteCategorical6,\n colorChartsPaletteCategorical7,\n colorChartsPaletteCategorical8,\n colorChartsPaletteCategorical9,\n colorChartsPaletteCategorical10,\n colorChartsThresholdNeutral,\n colorTextBodyDefault,\n colorTextBodySecondary,\n fontFamilyBase,\n fontSizeBodyM,\n fontSizeBodyS,\n fontWeightHeadingS,\n} from \"@cloudscape-design/design-tokens\";\n\nimport styles from \"./styles.css.js\";\n\n// Here we define chart styles and colors, used across multiple components, including core chart, cartesian- and pie charts,\n// series markers.\n\nexport const colors = [\n colorChartsPaletteCategorical1,\n colorChartsPaletteCategorical2,\n colorChartsPaletteCategorical3,\n colorChartsPaletteCategorical4,\n colorChartsPaletteCategorical5,\n colorChartsPaletteCategorical6,\n colorChartsPaletteCategorical7,\n colorChartsPaletteCategorical8,\n colorChartsPaletteCategorical9,\n colorChartsPaletteCategorical10,\n];\n\nexport const chart: Highcharts.ChartOptions = {\n spacing: [10, 10, 0, 0],\n backgroundColor: \"transparent\",\n};\n\nexport const axisTitleCss: Highcharts.CSSObject = {\n color: colorTextBodyDefault,\n fontSize: fontSizeBodyM,\n fontWeight: fontWeightHeadingS,\n};\n\nexport const axisLabelsCss: Highcharts.CSSObject = {\n color: colorTextBodySecondary,\n fontSize: fontSizeBodyS,\n};\n\nexport const xAxisOptions: Highcharts.XAxisOptions = {\n tickColor: colorChartsLineTick,\n lineColor: colorChartsLineTick,\n gridLineColor: colorChartsLineTick,\n lineWidth: 1,\n crosshair: false,\n};\n\nexport const yAxisOptions: Highcharts.YAxisOptions = {\n tickColor: colorChartsLineTick,\n lineColor: colorChartsLineTick,\n gridLineColor: colorChartsLineTick,\n lineWidth: 0,\n crosshair: false,\n};\n\nexport const chartPlotCss: Highcharts.CSSObject = {\n font: fontFamilyBase,\n color: colorTextBodyDefault,\n fontSize: fontSizeBodyM,\n};\n\nexport const seriesBorderColor = colorBackgroundContainerContent;\n\nexport const hiddenSeriesMarker = { enabled: false, radius: 3, symbol: \"circle\" };\n\nexport const areaSeries = {\n fillOpacity: 0.4,\n marker: hiddenSeriesMarker,\n};\n\nexport const lineSeries = {\n marker: hiddenSeriesMarker,\n};\n\nexport const columnSeries = {\n groupPadding: 0.075,\n borderRadius: 4,\n borderWidth: 2,\n marker: hiddenSeriesMarker,\n};\n\nexport const errorbarSeries = {\n color: colorChartsThresholdNeutral,\n stemColor: colorChartsThresholdNeutral,\n whiskerColor: colorChartsThresholdNeutral,\n};\n\nexport const pieSeries = {\n borderWidth: 2,\n // This sets the color of the empty pie/donut ring.\n // See: https://github.com/highcharts/highcharts/issues/23073.\n color: \"transparent\",\n size: \"60%\",\n};\nexport const donutSeries = {\n ...pieSeries,\n innerSize: \"80%\",\n};\n\nexport const pieSeriesDataLabels = {\n connectorColor: colorChartsThresholdNeutral,\n};\n\nexport const dimmedPlotLineOpacity = 0.4;\n\nexport const seriesDataLabelsCss: Highcharts.CSSObject = {\n font: fontFamilyBase,\n color: colorTextBodyDefault,\n fontSize: fontSizeBodyM,\n fontWeight: fontWeightHeadingS,\n textOutline: \"\",\n};\n\nexport const seriesOpacityInactive = 0.3;\n\nexport const verticalAxisTitleBlockSize = 24;\nexport const verticalAxisTitleMargin = 4;\n\nexport const navigationFocusOutline = {\n class: styles[\"focus-outline\"],\n \"stroke-width\": 2,\n rx: 4,\n zIndex: 10,\n};\n\nexport const cursorLine = {\n fill: colorChartsLineTick,\n zIndex: 5,\n \"pointer-events\": \"none\",\n};\n\nexport const zoomRangeBand = {\n fill: colorBackgroundItemSelected,\n zIndex: 0,\n \"pointer-events\": \"none\",\n};\n\nexport const zoomRangeBorders = {\n stroke: colorBorderItemSelected,\n \"stroke-width\": 1,\n zIndex: 3,\n \"pointer-events\": \"none\",\n};\n\nexport const focusOutlineOffsets = {\n chart: -1,\n group: 4,\n point: 6,\n pointByType: { column: 2, pie: 2 } as Record<string, number | undefined>,\n};\n\nexport const thresholdSeries: Partial<Highcharts.SeriesLineOptions> = {\n dashStyle: \"ShortDash\",\n lineWidth: 0,\n color: colorChartsThresholdNeutral,\n};\n\nexport const thresholdPlotLine: Partial<Highcharts.XAxisPlotLinesOptions | Highcharts.YAxisPlotLinesOptions> = {\n width: 2,\n dashStyle: \"ShortDash\",\n zIndex: 3,\n color: colorChartsThresholdNeutral,\n};\n\nexport const chatPlotBaseline: Partial<Highcharts.XAxisPlotLinesOptions> = {\n color: colorChartsLineTick,\n width: 2,\n zIndex: 2,\n};\n\nexport const innerAreaTitleCss: Highcharts.CSSObject = {\n fontSize: \"28\",\n fontWeight: \"bold\",\n};\n\nexport const innerAreaDescriptionCss: Highcharts.CSSObject = {\n fontSize: \"18\",\n fontWeight: \"bold\",\n color: colorTextBodySecondary,\n};\n\nexport const segmentDescriptionStyle = `font-family:${fontFamilyBase};font-weight:normal;font-size:${fontSizeBodyS};color:${colorTextBodySecondary}`;\n\nexport const tooltipSnap = 4;\n"]}
@@ -1,5 +1,5 @@
1
1
  export var PACKAGE_SOURCE = "chart-components";
2
- export var PACKAGE_VERSION = "1.0.0 (ba518338)";
2
+ export var PACKAGE_VERSION = "1.0.0 (2b77acec)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
5
5
  export var SYSTEM = "core";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "chart-components",
3
- "PACKAGE_VERSION": "1.0.0 (ba518338)",
3
+ "PACKAGE_VERSION": "1.0.0 (2b77acec)",
4
4
  "THEME": "open-source-visual-refresh",
5
5
  "ALWAYS_VISUAL_REFRESH": true,
6
6
  "SYSTEM": "core"
@@ -887,7 +887,7 @@ export const borderControlInvalidFocusRingShadowSpread: string;
887
887
  export const borderDividerListWidth: string;
888
888
  export const borderDividerSectionWidth: string;
889
889
  export const borderDropdownVirtualOffsetWidth: string;
890
- export const borderInvalidWidth: string;
890
+ export const borderWidthFieldStatusInlineStart: string;
891
891
  export const borderItemWidth: string;
892
892
  export const borderLineChartDashArray: string;
893
893
  export const borderLineChartLineJoin: string;
@@ -887,7 +887,7 @@ export var borderControlInvalidFocusRingShadowSpread = "var(--border-control-inv
887
887
  export var borderDividerListWidth = "var(--border-divider-list-width-q8ujlb, 1px)";
888
888
  export var borderDividerSectionWidth = "var(--border-divider-section-width-ljhehl, 1px)";
889
889
  export var borderDropdownVirtualOffsetWidth = "var(--border-dropdown-virtual-offset-width-0ajc6u, 2px)";
890
- export var borderInvalidWidth = "var(--border-invalid-width-gifxpw, 8px)";
890
+ export var borderWidthFieldStatusInlineStart = "var(--border-width-field-status-inline-start-wzl8ge, 8px)";
891
891
  export var borderItemWidth = "var(--border-item-width-0d09z3, 2px)";
892
892
  export var borderLineChartDashArray = "var(--border-line-chart-dash-array-povfsq, 3 5)";
893
893
  export var borderLineChartLineJoin = "var(--border-line-chart-line-join-u9jt7d, round)";
@@ -3340,7 +3340,7 @@ module.exports.preset = {
3340
3340
  "borderDividerListWidth": "1px",
3341
3341
  "borderDividerSectionWidth": "1px",
3342
3342
  "borderDropdownVirtualOffsetWidth": "2px",
3343
- "borderInvalidWidth": "8px",
3343
+ "borderWidthFieldStatusInlineStart": "8px",
3344
3344
  "borderItemWidth": "2px",
3345
3345
  "borderLineChartDashArray": "3 5",
3346
3346
  "borderLineChartLineJoin": "round",
@@ -17102,6 +17102,7 @@ module.exports.preset = {
17102
17102
  "lineHeightHeadingXs",
17103
17103
  "lineHeightKeyValuePairsLabel",
17104
17104
  "lineHeightTabs",
17105
+ "borderWidthFieldStatusInlineStart",
17105
17106
  "borderRadiusActionCardDefault",
17106
17107
  "borderRadiusActionCardEmbedded",
17107
17108
  "borderRadiusAlert",
@@ -17650,6 +17651,7 @@ module.exports.preset = {
17650
17651
  "lineHeightHeadingXl",
17651
17652
  "lineHeightHeadingXs",
17652
17653
  "lineHeightTabs",
17654
+ "borderWidthFieldStatusInlineStart",
17653
17655
  "borderRadiusActionCardDefault",
17654
17656
  "borderRadiusActionCardEmbedded",
17655
17657
  "borderRadiusAlert",
@@ -18651,7 +18653,7 @@ module.exports.preset = {
18651
18653
  "borderDividerListWidth": "border-divider-list-width",
18652
18654
  "borderDividerSectionWidth": "border-divider-section-width",
18653
18655
  "borderDropdownVirtualOffsetWidth": "border-dropdown-virtual-offset-width",
18654
- "borderInvalidWidth": "border-invalid-width",
18656
+ "borderWidthFieldStatusInlineStart": "border-width-field-status-inline-start",
18655
18657
  "borderItemWidth": "border-item-width",
18656
18658
  "borderLineChartDashArray": "border-line-chart-dash-array",
18657
18659
  "borderLineChartLineJoin": "border-line-chart-line-join",
@@ -19825,7 +19827,7 @@ module.exports.preset = {
19825
19827
  "borderDividerListWidth": "--border-divider-list-width-q8ujlb",
19826
19828
  "borderDividerSectionWidth": "--border-divider-section-width-ljhehl",
19827
19829
  "borderDropdownVirtualOffsetWidth": "--border-dropdown-virtual-offset-width-0ajc6u",
19828
- "borderInvalidWidth": "--border-invalid-width-gifxpw",
19830
+ "borderWidthFieldStatusInlineStart": "--border-width-field-status-inline-start-wzl8ge",
19829
19831
  "borderItemWidth": "--border-item-width-0d09z3",
19830
19832
  "borderLineChartDashArray": "--border-line-chart-dash-array-povfsq",
19831
19833
  "borderLineChartLineJoin": "--border-line-chart-line-join-u9jt7d",