@ntbjs/react-components 1.2.0-rc.1 → 1.2.0-rc.2
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.
|
@@ -626,8 +626,8 @@ var AssetGalleryCompactCard = function AssetGalleryCompactCard(props) {
|
|
|
626
626
|
}, React__default['default'].createElement(SvgHeadset, null)));
|
|
627
627
|
} else {
|
|
628
628
|
previewContent = React__default['default'].createElement(reactLazyLoadImageComponent.LazyLoadImage, {
|
|
629
|
-
alt: asset.title,
|
|
630
|
-
src: asset.previewUrl,
|
|
629
|
+
alt: asset === null || asset === void 0 ? void 0 : asset.title,
|
|
630
|
+
src: asset === null || asset === void 0 ? void 0 : asset.previewUrl,
|
|
631
631
|
height: "100%",
|
|
632
632
|
width: "100%",
|
|
633
633
|
delayMethod: "debounce",
|
|
@@ -707,10 +707,10 @@ var AssetGalleryCompactCard = function AssetGalleryCompactCard(props) {
|
|
|
707
707
|
footerLeft = _asset$summary.footerLeft,
|
|
708
708
|
footerRight = _asset$summary.footerRight;
|
|
709
709
|
return React__default['default'].createElement(SummaryCard, {
|
|
710
|
-
title: title,
|
|
711
|
-
description: description,
|
|
712
|
-
instructions: instructions,
|
|
713
|
-
instructionsType: instructionsType,
|
|
710
|
+
title: title ? title : '',
|
|
711
|
+
description: description ? description : '',
|
|
712
|
+
instructions: instructions ? instructions : '',
|
|
713
|
+
instructionsType: instructionsType ? instructionsType : '',
|
|
714
714
|
headerRight: headerRight,
|
|
715
715
|
headerLeft: React__default['default'].createElement(React__default['default'].Fragment, null, renderSummaryCardHeaderLeft(), headerLeft),
|
|
716
716
|
footerLeft: footerLeft,
|
|
@@ -1251,10 +1251,10 @@ var AssetGalleryGridCard = function AssetGalleryGridCard(props) {
|
|
|
1251
1251
|
footerLeft = _asset$summary.footerLeft,
|
|
1252
1252
|
footerRight = _asset$summary.footerRight;
|
|
1253
1253
|
return React__default['default'].createElement(SummaryCard, {
|
|
1254
|
-
title: title,
|
|
1255
|
-
description: description,
|
|
1256
|
-
instructions: instructions,
|
|
1257
|
-
instructionsType: instructionsType,
|
|
1254
|
+
title: title ? title : '',
|
|
1255
|
+
description: description ? description : '',
|
|
1256
|
+
instructions: instructions ? instructions : '',
|
|
1257
|
+
instructionsType: instructionsType ? instructionsType : '',
|
|
1258
1258
|
footerLeft: footerLeft,
|
|
1259
1259
|
footerRight: footerRight
|
|
1260
1260
|
});
|
package/package.json
CHANGED
package/widgets/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var AssetGallery = require('../AssetGallery-
|
|
5
|
+
var AssetGallery = require('../AssetGallery-52724211.js');
|
|
6
6
|
var ContextMenu = require('../ContextMenu-bd818e55.js');
|
|
7
7
|
var AssetPreviewTopBar = require('../AssetPreviewTopBar-ade10c15.js');
|
|
8
8
|
var Instructions = require('../Instructions-b955ba72.js');
|