@mjhls/mjh-framework 1.0.388 → 1.0.389

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.388
2
+ # mjh-framework v. 1.0.389
3
3
 
4
4
 
5
5
  > Foundation Framework
@@ -214,12 +214,16 @@ var MasterDeck = function (_React$Component) {
214
214
  onChange: function onChange(isVisible) {
215
215
  isVisible && _this.changePageNumber(pageNumber);
216
216
  } },
217
- React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
218
- ),
219
- main.main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
220
- 'div',
221
- { style: { margin: '0 auto' } },
222
- _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
217
+ React__default.createElement(
218
+ 'div',
219
+ null,
220
+ React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
221
+ main.main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
222
+ 'div',
223
+ { className: 'ad-container', style: { margin: '0 auto' } },
224
+ _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
225
+ )
226
+ )
223
227
  )
224
228
  );
225
229
  })
@@ -228,7 +232,7 @@ var MasterDeck = function (_React$Component) {
228
232
  var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
229
233
  return React__default.createElement(
230
234
  'div',
231
- { style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
235
+ { className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
232
236
  rightItems[i].component
233
237
  );
234
238
  }, _this.renderManualPagination = function () {
@@ -208,12 +208,16 @@ var MasterDeck = function (_React$Component) {
208
208
  onChange: function onChange(isVisible) {
209
209
  isVisible && _this.changePageNumber(pageNumber);
210
210
  } },
211
- React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
212
- ),
213
- main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
214
- 'div',
215
- { style: { margin: '0 auto' } },
216
- _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
211
+ React__default.createElement(
212
+ 'div',
213
+ null,
214
+ React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
215
+ main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
216
+ 'div',
217
+ { className: 'ad-container', style: { margin: '0 auto' } },
218
+ _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
219
+ )
220
+ )
217
221
  )
218
222
  );
219
223
  })
@@ -222,7 +226,7 @@ var MasterDeck = function (_React$Component) {
222
226
  var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
223
227
  return React__default.createElement(
224
228
  'div',
225
- { style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
229
+ { className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
226
230
  rightItems[i].component
227
231
  );
228
232
  }, _this.renderManualPagination = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.388",
3
+ "version": "1.0.389",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",