@pareto-engineering/design-system 4.10.2 → 4.11.0

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.
@@ -111,21 +111,29 @@ const AreaChart = _ref => {
111
111
  value: xLabel,
112
112
  position: 'insideBottom',
113
113
  offset: -5
114
- } // Adjusted offset for padding
115
- ,
114
+ },
116
115
  axisLine: false,
117
116
  tickLine: false,
118
117
  tickCount: 3
119
118
  }), /*#__PURE__*/React.createElement(_recharts.YAxis, {
120
119
  domain: yAxisBounds,
120
+ scale: "linear",
121
+ interval: "equidistantPreserveStart",
121
122
  label: {
122
123
  value: yLabel,
123
124
  angle: -90,
124
- position: 'insideLeft',
125
- offset: 15
125
+ position: 'left',
126
+ offset: 1,
127
+ style: {
128
+ textAnchor: 'middle'
129
+ }
130
+ },
131
+ padding: {
132
+ top: 10,
133
+ bottom: 10
126
134
  },
127
135
  axisLine: false,
128
- tickLine: false,
136
+ tickLine: true,
129
137
  tickFormatter: value => value.toFixed(2)
130
138
  }), /*#__PURE__*/React.createElement(_recharts.Tooltip, {
131
139
  content: /*#__PURE__*/React.createElement(CustomTooltipContent, null)
@@ -1 +1,2 @@
1
+ // export { Divider } from './Divider'
1
2
  "use strict";
@@ -98,21 +98,29 @@ const AreaChart = ({
98
98
  value: xLabel,
99
99
  position: 'insideBottom',
100
100
  offset: -5
101
- } // Adjusted offset for padding
102
- ,
101
+ },
103
102
  axisLine: false,
104
103
  tickLine: false,
105
104
  tickCount: 3
106
105
  }), /*#__PURE__*/React.createElement(YAxis, {
107
106
  domain: yAxisBounds,
107
+ scale: "linear",
108
+ interval: "equidistantPreserveStart",
108
109
  label: {
109
110
  value: yLabel,
110
111
  angle: -90,
111
- position: 'insideLeft',
112
- offset: 15
112
+ position: 'left',
113
+ offset: 1,
114
+ style: {
115
+ textAnchor: 'middle'
116
+ }
117
+ },
118
+ padding: {
119
+ top: 10,
120
+ bottom: 10
113
121
  },
114
122
  axisLine: false,
115
- tickLine: false,
123
+ tickLine: true,
116
124
  tickFormatter: value => value.toFixed(2)
117
125
  }), /*#__PURE__*/React.createElement(Tooltip, {
118
126
  content: /*#__PURE__*/React.createElement(CustomTooltipContent, null)
@@ -0,0 +1 @@
1
+ // export { Divider } from './Divider'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pareto-engineering/design-system",
3
- "version": "4.10.2",
3
+ "version": "4.11.0",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.js",
@@ -83,5 +83,5 @@
83
83
  "relay-test-utils": "^15.0.0"
84
84
  },
85
85
  "browserslist": "> 2%",
86
- "gitHead": "16454ca942b81e079a85117fa2be6e914edf062b"
86
+ "gitHead": "e615d57ca871e3be72080fac9dae86b71e53cdd7"
87
87
  }
@@ -107,18 +107,25 @@ const AreaChart = ({
107
107
  <CartesianGrid strokeDasharray="3 3" />
108
108
  <XAxis
109
109
  dataKey={xKey}
110
- label={{ value: xLabel, position: 'insideBottom', offset: -5 }} // Adjusted offset for padding
110
+ label={{ value: xLabel, position: 'insideBottom', offset: -5 }}
111
111
  axisLine={false}
112
112
  tickLine={false}
113
113
  tickCount={3}
114
114
  />
115
115
  <YAxis
116
116
  domain={yAxisBounds}
117
+ scale="linear"
118
+ interval="equidistantPreserveStart"
117
119
  label={{
118
- value:yLabel, angle:-90, position:'insideLeft', offset:15,
120
+ value :yLabel,
121
+ angle :-90,
122
+ position:'left',
123
+ offset :1,
124
+ style :{ textAnchor: 'middle' },
119
125
  }}
126
+ padding={{ top: 10, bottom: 10 }}
120
127
  axisLine={false}
121
- tickLine={false}
128
+ tickLine
122
129
  tickFormatter={(value) => value.toFixed(2)}
123
130
  />
124
131
  <Tooltip content={<CustomTooltipContent />} />
package/src/ui/d/index.js CHANGED
@@ -0,0 +1 @@
1
+ // export { Divider } from './Divider'