@react-magma/charts 7.0.0-next.2 → 7.0.0-next.4
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.modern.js → charts} +3 -2
- package/dist/charts.css +23 -5
- package/dist/charts.css.map +1 -1
- package/dist/charts.js +1 -1
- package/dist/charts.js.map +1 -1
- package/dist/charts.map +1 -0
- package/dist/charts.modern.module.js +1 -1
- package/dist/charts.modern.module.js.map +1 -1
- package/dist/charts.umd.js +1 -1
- package/dist/charts.umd.js.map +1 -1
- package/dist/components/CarbonChart/CarbonChart.d.ts +1 -1
- package/package.json +8 -3
- package/src/components/CarbonChart/CarbonChart.tsx +3 -1
- package/src/components/CarbonChart/index.ts +1 -1
- package/src/components/CarbonChart/styles.min.css +29348 -0
- package/dist/charts.modern.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-magma/charts",
|
|
3
|
-
"version": "7.0.0-next.
|
|
3
|
+
"version": "7.0.0-next.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
-
"src"
|
|
15
|
+
"src",
|
|
16
|
+
"src/components/CarbonChart/styles.min.css"
|
|
16
17
|
],
|
|
17
18
|
"engines": {
|
|
18
19
|
"npm": "^7.3.0",
|
|
@@ -49,5 +50,9 @@
|
|
|
49
50
|
"react-dom": "^17.0.2",
|
|
50
51
|
"react-magma-dom": "^4.4.0-next.2",
|
|
51
52
|
"react-magma-icons": "^3.0.0"
|
|
53
|
+
},
|
|
54
|
+
"exports": {
|
|
55
|
+
".": "./src",
|
|
56
|
+
"./src/components/CarbonChart/": "./styles.min.css"
|
|
52
57
|
}
|
|
53
|
-
}
|
|
58
|
+
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
SimpleBarChart,
|
|
14
14
|
StackedBarChart,
|
|
15
15
|
} from '@carbon/charts-react';
|
|
16
|
-
import '
|
|
16
|
+
import './styles.min.css';
|
|
17
17
|
|
|
18
18
|
const typedStyled = styled as CreateStyled<ThemeInterface>;
|
|
19
19
|
|
|
@@ -365,6 +365,7 @@ const CarbonChartWrapper = typedStyled.div<{
|
|
|
365
365
|
props.isInverse
|
|
366
366
|
? props.theme.colors.focusInverse
|
|
367
367
|
: props.theme.colors.focus};
|
|
368
|
+
border-color: none;
|
|
368
369
|
}
|
|
369
370
|
outline-offset: 0;
|
|
370
371
|
border: none;
|
|
@@ -515,6 +516,7 @@ export const CarbonChart = React.forwardRef<HTMLDivElement, CarbonChartProps>(
|
|
|
515
516
|
ref={ref}
|
|
516
517
|
isInverse={isInverse}
|
|
517
518
|
theme={theme}
|
|
519
|
+
className="carbon-chart-wrapper"
|
|
518
520
|
{...rest}
|
|
519
521
|
>
|
|
520
522
|
<ChartType data={dataSet} options={newOptions} />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./CarbonChart";
|
|
1
|
+
export * from "./CarbonChart";
|