@micromag/core 0.3.236 → 0.3.241

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/es/components.js CHANGED
@@ -3634,6 +3634,7 @@ var propTypes$9 = {
3634
3634
  screen: PropTypes.storyComponent.isRequired,
3635
3635
  renderContext: PropTypes.renderContext,
3636
3636
  screenState: PropTypes$1.string,
3637
+ index: PropTypes$1.number,
3637
3638
  active: PropTypes$1.bool,
3638
3639
  current: PropTypes$1.bool,
3639
3640
  component: PropTypes$1.node,
@@ -3645,6 +3646,7 @@ var defaultProps$9 = {
3645
3646
  active: true,
3646
3647
  renderContext: null,
3647
3648
  screenState: null,
3649
+ index: null,
3648
3650
  current: false,
3649
3651
  component: null,
3650
3652
  components: null,
@@ -3656,6 +3658,7 @@ var Screen = function Screen(_ref) {
3656
3658
  var screen = _ref.screen,
3657
3659
  renderContext = _ref.renderContext,
3658
3660
  screenState = _ref.screenState,
3661
+ index = _ref.index,
3659
3662
  active = _ref.active,
3660
3663
  current = _ref.current,
3661
3664
  components = _ref.components,
@@ -3677,6 +3680,7 @@ var Screen = function Screen(_ref) {
3677
3680
  }, ScreenComponent !== null ? /*#__PURE__*/React.createElement("div", {
3678
3681
  className: classNames([styles$8.container, _defineProperty({}, className, className !== null)])
3679
3682
  }, /*#__PURE__*/React.createElement(ScreenComponent, Object.assign({}, screen, {
3683
+ index: index,
3680
3684
  active: active,
3681
3685
  current: current,
3682
3686
  mediaRef: mediaRef
package/lib/components.js CHANGED
@@ -3675,6 +3675,7 @@ var propTypes$9 = {
3675
3675
  screen: core.PropTypes.storyComponent.isRequired,
3676
3676
  renderContext: core.PropTypes.renderContext,
3677
3677
  screenState: PropTypes__default["default"].string,
3678
+ index: PropTypes__default["default"].number,
3678
3679
  active: PropTypes__default["default"].bool,
3679
3680
  current: PropTypes__default["default"].bool,
3680
3681
  component: PropTypes__default["default"].node,
@@ -3686,6 +3687,7 @@ var defaultProps$9 = {
3686
3687
  active: true,
3687
3688
  renderContext: null,
3688
3689
  screenState: null,
3690
+ index: null,
3689
3691
  current: false,
3690
3692
  component: null,
3691
3693
  components: null,
@@ -3697,6 +3699,7 @@ var Screen = function Screen(_ref) {
3697
3699
  var screen = _ref.screen,
3698
3700
  renderContext = _ref.renderContext,
3699
3701
  screenState = _ref.screenState,
3702
+ index = _ref.index,
3700
3703
  active = _ref.active,
3701
3704
  current = _ref.current,
3702
3705
  components = _ref.components,
@@ -3718,6 +3721,7 @@ var Screen = function Screen(_ref) {
3718
3721
  }, ScreenComponent !== null ? /*#__PURE__*/React__default["default"].createElement("div", {
3719
3722
  className: classNames__default["default"]([styles$8.container, _defineProperty__default["default"]({}, className, className !== null)])
3720
3723
  }, /*#__PURE__*/React__default["default"].createElement(ScreenComponent, Object.assign({}, screen, {
3724
+ index: index,
3721
3725
  active: active,
3722
3726
  current: current,
3723
3727
  mediaRef: mediaRef
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.236",
3
+ "version": "0.3.241",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "gitHead": "8ef5fca04d5826f68ec3ffa8cd0065b4e776ed10"
136
+ "gitHead": "1fc7db5c3dc561fc11f7cc95fa3123a2fbdf1cfc"
137
137
  }