@mjhls/mjh-framework 1.0.227 → 1.0.228

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.227
2
+ # mjh-framework v. 1.0.228
3
3
 
4
4
 
5
5
 
package/dist/cjs/index.js CHANGED
@@ -296,7 +296,7 @@ var FigureComponent = function FigureComponent(_ref) {
296
296
  imageWidth = _useState2[0],
297
297
  setimageWidth = _useState2[1];
298
298
 
299
- var _useState3 = React.useState(''),
299
+ var _useState3 = React.useState(null),
300
300
  _useState4 = _babelHelpers.slicedToArray(_useState3, 2),
301
301
  imgFloat = _useState4[0],
302
302
  setimgFloat = _useState4[1];
@@ -373,7 +373,7 @@ var FigureComponent = function FigureComponent(_ref) {
373
373
  return React__default.createElement(
374
374
  React__default.Fragment,
375
375
  null,
376
- React__default.createElement(
376
+ imageWidth && imgFloat && React__default.createElement(
377
377
  reactBootstrap.Figure,
378
378
  { className: 'd-block', style: { width: imageWidth, maxWidth: '100%', clear: 'both', float: imgFloat, margin: figureMargin } },
379
379
  link ? React__default.createElement(
package/dist/esm/index.js CHANGED
@@ -294,7 +294,7 @@ var FigureComponent = function FigureComponent(_ref) {
294
294
  imageWidth = _useState2[0],
295
295
  setimageWidth = _useState2[1];
296
296
 
297
- var _useState3 = useState(''),
297
+ var _useState3 = useState(null),
298
298
  _useState4 = slicedToArray(_useState3, 2),
299
299
  imgFloat = _useState4[0],
300
300
  setimgFloat = _useState4[1];
@@ -371,7 +371,7 @@ var FigureComponent = function FigureComponent(_ref) {
371
371
  return React__default.createElement(
372
372
  React__default.Fragment,
373
373
  null,
374
- React__default.createElement(
374
+ imageWidth && imgFloat && React__default.createElement(
375
375
  Figure,
376
376
  { className: 'd-block', style: { width: imageWidth, maxWidth: '100%', clear: 'both', float: imgFloat, margin: figureMargin } },
377
377
  link ? React__default.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.227",
3
+ "version": "1.0.228",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",