@pie-lib/graphing-module 1.0.30 → 1.0.33

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/module/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_prop_types, _dll_lodash, _dll_react, _dll_material_ui__core_styles, _dll_material_ui__core, _dll_pie_lib__render_ui, _dll_react_dom, _dll_debug, _dll_classnames, _dll_material_ui__core_styles_color_manipulator} from "../../shared-module@^1.4.9/module/index.js";
1
+ import {_dll_prop_types, _dll_lodash, _dll_react, _dll_material_ui__core_styles, _dll_material_ui__core, _dll_pie_lib__render_ui, _dll_react_dom, _dll_debug, _dll_classnames, _dll_material_ui__core_styles_color_manipulator} from "../../shared-module@^1.4.12/module/index.js";
2
2
  const PropTypes$C = _dll_prop_types;
3
3
  const BaseDomainRangeType = {
4
4
  min: PropTypes$C.number.isRequired,
@@ -14438,9 +14438,9 @@ const styles$1 = theme => ({
14438
14438
  button: {
14439
14439
  color: color$1.text(),
14440
14440
  backgroundColor: color$1.background(),
14441
+ marginBottom: theme.spacing.unit / 2,
14441
14442
  '&:not(:last-of-type)': {
14442
- marginRight: theme.spacing.unit / 2,
14443
- marginBottom: theme.spacing.unit / 2
14443
+ marginRight: theme.spacing.unit / 2
14444
14444
  },
14445
14445
  '&:hover': {
14446
14446
  backgroundColor: color$1.primary()
@@ -14627,6 +14627,13 @@ class Root extends React.Component {
14627
14627
  });
14628
14628
  this.store.subscribe(this.onStoreChange);
14629
14629
  }
14630
+ componentDidUpdate() {
14631
+ const {marks} = this.props;
14632
+ const storeState = this.store.getState();
14633
+ if (!isEqual(storeState.marks.present, marks)) {
14634
+ this.store.dispatch(changeMarks(marks));
14635
+ }
14636
+ }
14630
14637
  __init() {
14631
14638
  this.onStoreChange = () => {
14632
14639
  const {marks, onChangeMarks} = this.props;
@@ -14647,7 +14654,7 @@ class Root extends React.Component {
14647
14654
  __self: this,
14648
14655
  __source: {
14649
14656
  fileName: _jsxFileName,
14650
- lineNumber: 61
14657
+ lineNumber: 67
14651
14658
  }
14652
14659
  });
14653
14660
  }
@@ -14656,14 +14663,14 @@ class Root extends React.Component {
14656
14663
  __self: this,
14657
14664
  __source: {
14658
14665
  fileName: _jsxFileName,
14659
- lineNumber: 65
14666
+ lineNumber: 71
14660
14667
  }
14661
14668
  }, React.createElement(GraphContainer, {
14662
14669
  ...rest,
14663
14670
  __self: this,
14664
14671
  __source: {
14665
14672
  fileName: _jsxFileName,
14666
- lineNumber: 66
14673
+ lineNumber: 72
14667
14674
  }
14668
14675
  }));
14669
14676
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/graphing-module",
3
- "version": "1.0.30",
3
+ "version": "1.0.33",
4
4
  "mappings": {
5
5
  "@pie-lib/plot": "_dll_pie_lib__plot",
6
6
  "@pie-lib/graphing": "_dll_pie_lib__graphing",
@@ -13,7 +13,7 @@
13
13
  "version": "2.1.10"
14
14
  },
15
15
  "@pie-lib/graphing": {
16
- "version": "2.4.16"
16
+ "version": "2.4.17"
17
17
  },
18
18
  "d3-scale": {
19
19
  "version": "2.2.2"
@@ -22,12 +22,12 @@
22
22
  "version": "1.4.2"
23
23
  }
24
24
  },
25
- "hash": "6af80841a2117c8cdcda89ab63eed9341e6af6d0"
25
+ "hash": "856040bb1eb3a0d76bb470d5b8ff8f29a484242c"
26
26
  },
27
27
  "modules": [
28
28
  {
29
29
  "name": "@pie-lib/shared-module",
30
- "version": "^1.4.9"
30
+ "version": "^1.4.12"
31
31
  }
32
32
  ],
33
33
  "isLocal": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/graphing-module",
3
- "version": "1.0.30",
3
+ "version": "1.0.33",
4
4
  "module": "module/index.js",
5
5
  "repository": "pie-framework/pie-lib",
6
6
  "publishConfig": {