@toptal/picasso-charts 59.0.5-alpha-MP-669-remove-more-default-props-4a0a71c8c.0 → 59.0.5

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.
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { BaseChartProps, BarChartDataItem, BarOptions } from '../types';
3
- declare type ShowEverytNthTickValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
3
+ declare type ShowEveryNthTickValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
4
4
  export interface Props<K extends string | number | symbol> extends BaseChartProps {
5
5
  /**
6
6
  * A list of data points to be rendered as a bar chart
@@ -34,9 +34,9 @@ export interface Props<K extends string | number | symbol> extends BaseChartProp
34
34
  /** List of bar groups to be stacked. i.e.: [ ['a', 'b'], ['c', 'd'] ] */
35
35
  stackedBars?: string[][];
36
36
  /** Makes X-axis show only every Nth tick. `0` hides all ticks, `1` shows all ticks (default behavior), `2` shows every 2nd tick, and so on */
37
- showEveryNthTickOnXAxis?: ShowEverytNthTickValue;
37
+ showEveryNthTickOnXAxis?: ShowEveryNthTickValue;
38
38
  /** Makes Y-axis show only every Nth tick. `0` hides all ticks, `1` shows all ticks (default behavior), `2` shows every 2nd tick, and so on */
39
- showEveryNthTickOnYAxis?: ShowEverytNthTickValue;
39
+ showEveryNthTickOnYAxis?: ShowEveryNthTickValue;
40
40
  /** If bars should fill all the empty space */
41
41
  autoSize?: boolean;
42
42
  /** Maximum size for the bar */
@@ -1 +1 @@
1
- {"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../src/BarChart/BarChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAiBtC,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAiB5E,aAAK,sBA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,KAAK,MAAM,CAAA;IACjD,oCAAoC;IACpC,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,SAAS,CAAA;IACvD,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,8BAA8B;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE,CAAA;IACxB,8IAA8I;IAC9I,uBAAuB,CAAC,EAAE,qBAAqB,CAAA;IAC/C,8IAA8I;IAC9I,uBAAuB,CAAC,EAAE,qBAAqB,CAAA;IAC/C,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iDAAiD;IACjD,sBAAsB,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAA;CAC7E;AAeD,eAAO,MAAM,UAAU,wHAIlB,CAAA;AAKL,eAAO,MAAM,aAAa,gGACY,CAAA;AAMtC,QAAA,MAAM,QAAQ,0WAuJb,CAAA;AAED,eAAe,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-charts",
3
- "version": "59.0.5-alpha-MP-669-remove-more-default-props-4a0a71c8c.0",
3
+ "version": "59.0.5",
4
4
  "description": "Charts components of Picasso",
5
5
  "author": "Toptal",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  "homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso-charts#readme",
24
24
  "peerDependencies": {
25
25
  "@material-ui/core": "4.12.4",
26
- "@toptal/picasso-shared": "^15.0.1-alpha-MP-669-remove-more-default-props-4a0a71c8c.0",
26
+ "@toptal/picasso-shared": "^15.0.0",
27
27
  "react": ">=16.12.0 < 19.0.0",
28
28
  "typescript": "~4.7.0"
29
29
  },
@@ -32,7 +32,7 @@
32
32
  "@types/d3-array": "3.0.4"
33
33
  },
34
34
  "dependencies": {
35
- "@toptal/picasso-utils": "3.1.1-alpha-MP-669-remove-more-default-props-4a0a71c8c.0",
35
+ "@toptal/picasso-utils": "3.1.0",
36
36
  "classnames": "^2.5.1",
37
37
  "d3-array": "^3.2.2",
38
38
  "debounce": "^1.2.1",
@@ -33,7 +33,7 @@ const {
33
33
  } = CHART_CONSTANTS
34
34
  const TOOLTIP_WRAPPER_STYLE = { outline: 'none' }
35
35
 
36
- type ShowEverytNthTickValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
36
+ type ShowEveryNthTickValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
37
37
 
38
38
  export interface Props<K extends string | number | symbol>
39
39
  extends BaseChartProps {
@@ -67,9 +67,9 @@ export interface Props<K extends string | number | symbol>
67
67
  /** List of bar groups to be stacked. i.e.: [ ['a', 'b'], ['c', 'd'] ] */
68
68
  stackedBars?: string[][]
69
69
  /** Makes X-axis show only every Nth tick. `0` hides all ticks, `1` shows all ticks (default behavior), `2` shows every 2nd tick, and so on */
70
- showEveryNthTickOnXAxis?: ShowEverytNthTickValue
70
+ showEveryNthTickOnXAxis?: ShowEveryNthTickValue
71
71
  /** Makes Y-axis show only every Nth tick. `0` hides all ticks, `1` shows all ticks (default behavior), `2` shows every 2nd tick, and so on */
72
- showEveryNthTickOnYAxis?: ShowEverytNthTickValue
72
+ showEveryNthTickOnYAxis?: ShowEveryNthTickValue
73
73
  /** If bars should fill all the empty space */
74
74
  autoSize?: boolean
75
75
  /** Maximum size for the bar */