@react-magma/charts 7.0.1-next.0 → 7.0.1-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts.css +1 -1
- package/dist/charts.css.map +1 -1
- package/dist/charts.js.map +1 -1
- package/dist/{charts → charts.modern.js} +1 -1
- package/dist/charts.modern.js.map +1 -0
- package/dist/charts.modern.module.js.map +1 -1
- package/dist/charts.umd.js.map +1 -1
- package/dist/components/LineChart/LineChart.d.ts +3 -0
- package/package.json +2 -7
- package/src/components/CarbonChart/styles.min.css +62 -2
- package/src/components/LineChart/LineChart.tsx +3 -0
- package/dist/charts.map +0 -1
|
@@ -22,6 +22,9 @@ export interface LineChartComponentProps {
|
|
|
22
22
|
xAxis?: VictoryAxisProps;
|
|
23
23
|
yAxis?: VictoryAxisProps;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Please use CarbonChart instead
|
|
27
|
+
*/
|
|
25
28
|
export interface LineChartProps<T extends ChartDataOptions> {
|
|
26
29
|
/**
|
|
27
30
|
* Props passed to each component that makes up the line chart. See `victory` for accepted props.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-magma/charts",
|
|
3
|
-
"version": "7.0.1-next.
|
|
3
|
+
"version": "7.0.1-next.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
-
"src"
|
|
16
|
-
"src/components/CarbonChart/styles.min.css"
|
|
15
|
+
"src"
|
|
17
16
|
],
|
|
18
17
|
"engines": {
|
|
19
18
|
"npm": "^7.3.0",
|
|
@@ -50,9 +49,5 @@
|
|
|
50
49
|
"react-dom": "^17.0.2",
|
|
51
50
|
"react-magma-dom": "^4.4.1-next.0",
|
|
52
51
|
"react-magma-icons": "^3.0.0"
|
|
53
|
-
},
|
|
54
|
-
"exports": {
|
|
55
|
-
".": "./src",
|
|
56
|
-
"./src/components/CarbonChart/": "./styles.min.css"
|
|
57
52
|
}
|
|
58
53
|
}
|
|
@@ -29150,8 +29150,68 @@ div.container.intro span.netlify a {
|
|
|
29150
29150
|
color: #fff;
|
|
29151
29151
|
font-weight: 700;
|
|
29152
29152
|
}
|
|
29153
|
-
div.container.tutorial {
|
|
29154
|
-
|
|
29153
|
+
div.container.tutorial .hljs {
|
|
29154
|
+
background: #000;
|
|
29155
|
+
color: #f8f8f8;
|
|
29156
|
+
}
|
|
29157
|
+
div.container.tutorial .hljs-comment, div.container.tutorial .hljs-quote {
|
|
29158
|
+
color: #aeaeae;
|
|
29159
|
+
font-style: italic;
|
|
29160
|
+
}
|
|
29161
|
+
div.container.tutorial .hljs-keyword, div.container.tutorial .hljs-selector-tag, div.container.tutorial .hljs-type {
|
|
29162
|
+
color: #e28964;
|
|
29163
|
+
}
|
|
29164
|
+
div.container.tutorial .hljs-string {
|
|
29165
|
+
color: #65b042;
|
|
29166
|
+
}
|
|
29167
|
+
div.container.tutorial .hljs-subst {
|
|
29168
|
+
color: #daefa3;
|
|
29169
|
+
}
|
|
29170
|
+
div.container.tutorial .hljs-regexp, div.container.tutorial .hljs-link {
|
|
29171
|
+
color: #e9c062;
|
|
29172
|
+
}
|
|
29173
|
+
div.container.tutorial .hljs-title, div.container.tutorial .hljs-section, div.container.tutorial .hljs-tag, div.container.tutorial .hljs-name {
|
|
29174
|
+
color: #89bdff;
|
|
29175
|
+
}
|
|
29176
|
+
div.container.tutorial .hljs-title.class_, div.container.tutorial .hljs-class .hljs-title, div.container.tutorial .hljs-doctag {
|
|
29177
|
+
text-decoration: underline;
|
|
29178
|
+
}
|
|
29179
|
+
div.container.tutorial .hljs-symbol, div.container.tutorial .hljs-bullet, div.container.tutorial .hljs-number {
|
|
29180
|
+
color: #3387cc;
|
|
29181
|
+
}
|
|
29182
|
+
div.container.tutorial .hljs-params, div.container.tutorial .hljs-variable, div.container.tutorial .hljs-template-variable {
|
|
29183
|
+
color: #3e87e3;
|
|
29184
|
+
}
|
|
29185
|
+
div.container.tutorial .hljs-attribute {
|
|
29186
|
+
color: #cda869;
|
|
29187
|
+
}
|
|
29188
|
+
div.container.tutorial .hljs-meta {
|
|
29189
|
+
color: #8996a8;
|
|
29190
|
+
}
|
|
29191
|
+
div.container.tutorial .hljs-formula {
|
|
29192
|
+
background-color: #0e2231;
|
|
29193
|
+
color: #f8f8f8;
|
|
29194
|
+
font-style: italic;
|
|
29195
|
+
}
|
|
29196
|
+
div.container.tutorial .hljs-addition {
|
|
29197
|
+
background-color: #253b22;
|
|
29198
|
+
color: #f8f8f8;
|
|
29199
|
+
}
|
|
29200
|
+
div.container.tutorial .hljs-deletion {
|
|
29201
|
+
background-color: #420e09;
|
|
29202
|
+
color: #f8f8f8;
|
|
29203
|
+
}
|
|
29204
|
+
div.container.tutorial .hljs-selector-class {
|
|
29205
|
+
color: #9b703f;
|
|
29206
|
+
}
|
|
29207
|
+
div.container.tutorial .hljs-selector-id {
|
|
29208
|
+
color: #8b98ab;
|
|
29209
|
+
}
|
|
29210
|
+
div.container.tutorial .hljs-emphasis {
|
|
29211
|
+
font-style: italic;
|
|
29212
|
+
}
|
|
29213
|
+
div.container.tutorial .hljs-strong {
|
|
29214
|
+
font-weight: bold;
|
|
29155
29215
|
}
|
|
29156
29216
|
div.container.tutorial h1,
|
|
29157
29217
|
div.container.tutorial h2,
|
|
@@ -54,6 +54,9 @@ export interface LineChartComponentProps {
|
|
|
54
54
|
yAxis?: VictoryAxisProps;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated Please use CarbonChart instead
|
|
59
|
+
*/
|
|
57
60
|
// NOTE: These props are manually copied to line-chart.mdx
|
|
58
61
|
export interface LineChartProps<T extends ChartDataOptions> {
|
|
59
62
|
/**
|