@blerp/design 1.0.57 → 1.0.58
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/dist/index.cjs.js +12 -6
- package/dist/index.esm.js +12 -6
- package/dist/index.umd.js +12 -6
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7165,7 +7165,9 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7165
7165
|
fluid = _ref.fluid,
|
|
7166
7166
|
fontSize = _ref.fontSize,
|
|
7167
7167
|
isLink = _ref.isLink,
|
|
7168
|
-
isLocked = _ref.isLocked
|
|
7168
|
+
isLocked = _ref.isLocked,
|
|
7169
|
+
overrideViewText = _ref.overrideViewText,
|
|
7170
|
+
hideUnlockPlatformText = _ref.hideUnlockPlatformText;
|
|
7169
7171
|
|
|
7170
7172
|
var _useState = React.useState(null),
|
|
7171
7173
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
@@ -7511,7 +7513,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7511
7513
|
style: {
|
|
7512
7514
|
margin: "0px -64px"
|
|
7513
7515
|
}
|
|
7514
|
-
})), /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
7516
|
+
})), !hideUnlockPlatformText && /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
7515
7517
|
sx: {
|
|
7516
7518
|
color: "white.override",
|
|
7517
7519
|
textAlign: "center",
|
|
@@ -7520,7 +7522,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7520
7522
|
zIndex: "3",
|
|
7521
7523
|
fontSize: ".8rem"
|
|
7522
7524
|
}
|
|
7523
|
-
}, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms"), /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7525
|
+
}, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms"), handleClickView && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7524
7526
|
disabled: !collectionHovered,
|
|
7525
7527
|
onClick: function onClick(e) {
|
|
7526
7528
|
e.stopPropagation();
|
|
@@ -7533,7 +7535,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7533
7535
|
padding: "4px 8px",
|
|
7534
7536
|
margin: "4px 0"
|
|
7535
7537
|
}
|
|
7536
|
-
}, "VIEW SOUNDPACK"), /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7538
|
+
}, overrideViewText || "VIEW SOUNDPACK"), handleClickUnlock && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7537
7539
|
disabled: !collectionHovered,
|
|
7538
7540
|
onClick: function onClick(e) {
|
|
7539
7541
|
e.stopPropagation();
|
|
@@ -7601,7 +7603,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
|
|
|
7601
7603
|
isLink = _ref.isLink,
|
|
7602
7604
|
isPremium = _ref.isPremium,
|
|
7603
7605
|
isLocked = _ref.isLocked,
|
|
7604
|
-
isOwner = _ref.isOwner
|
|
7606
|
+
isOwner = _ref.isOwner,
|
|
7607
|
+
overrideViewText = _ref.overrideViewText,
|
|
7608
|
+
hideUnlockPlatformText = _ref.hideUnlockPlatformText;
|
|
7605
7609
|
|
|
7606
7610
|
var _useState = React.useState(null),
|
|
7607
7611
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
@@ -7725,7 +7729,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
|
|
|
7725
7729
|
fontSize: fontSize,
|
|
7726
7730
|
isLink: isLink,
|
|
7727
7731
|
isPremium: isPremium,
|
|
7728
|
-
isLocked: isLocked
|
|
7732
|
+
isLocked: isLocked,
|
|
7733
|
+
overrideViewText: overrideViewText,
|
|
7734
|
+
hideUnlockPlatformText: hideUnlockPlatformText
|
|
7729
7735
|
});
|
|
7730
7736
|
}
|
|
7731
7737
|
|
package/dist/index.esm.js
CHANGED
|
@@ -7097,7 +7097,9 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7097
7097
|
fluid = _ref.fluid,
|
|
7098
7098
|
fontSize = _ref.fontSize,
|
|
7099
7099
|
isLink = _ref.isLink,
|
|
7100
|
-
isLocked = _ref.isLocked
|
|
7100
|
+
isLocked = _ref.isLocked,
|
|
7101
|
+
overrideViewText = _ref.overrideViewText,
|
|
7102
|
+
hideUnlockPlatformText = _ref.hideUnlockPlatformText;
|
|
7101
7103
|
|
|
7102
7104
|
var _useState = useState(null),
|
|
7103
7105
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7443,7 +7445,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7443
7445
|
style: {
|
|
7444
7446
|
margin: "0px -64px"
|
|
7445
7447
|
}
|
|
7446
|
-
})), /*#__PURE__*/React__default.createElement(Text, {
|
|
7448
|
+
})), !hideUnlockPlatformText && /*#__PURE__*/React__default.createElement(Text, {
|
|
7447
7449
|
sx: {
|
|
7448
7450
|
color: "white.override",
|
|
7449
7451
|
textAlign: "center",
|
|
@@ -7452,7 +7454,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7452
7454
|
zIndex: "3",
|
|
7453
7455
|
fontSize: ".8rem"
|
|
7454
7456
|
}
|
|
7455
|
-
}, "Unlock to share ", /*#__PURE__*/React__default.createElement("br", null), "across platforms"), /*#__PURE__*/React__default.createElement(Button, {
|
|
7457
|
+
}, "Unlock to share ", /*#__PURE__*/React__default.createElement("br", null), "across platforms"), handleClickView && /*#__PURE__*/React__default.createElement(Button, {
|
|
7456
7458
|
disabled: !collectionHovered,
|
|
7457
7459
|
onClick: function onClick(e) {
|
|
7458
7460
|
e.stopPropagation();
|
|
@@ -7465,7 +7467,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7465
7467
|
padding: "4px 8px",
|
|
7466
7468
|
margin: "4px 0"
|
|
7467
7469
|
}
|
|
7468
|
-
}, "VIEW SOUNDPACK"), /*#__PURE__*/React__default.createElement(Button, {
|
|
7470
|
+
}, overrideViewText || "VIEW SOUNDPACK"), handleClickUnlock && /*#__PURE__*/React__default.createElement(Button, {
|
|
7469
7471
|
disabled: !collectionHovered,
|
|
7470
7472
|
onClick: function onClick(e) {
|
|
7471
7473
|
e.stopPropagation();
|
|
@@ -7533,7 +7535,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
|
|
|
7533
7535
|
isLink = _ref.isLink,
|
|
7534
7536
|
isPremium = _ref.isPremium,
|
|
7535
7537
|
isLocked = _ref.isLocked,
|
|
7536
|
-
isOwner = _ref.isOwner
|
|
7538
|
+
isOwner = _ref.isOwner,
|
|
7539
|
+
overrideViewText = _ref.overrideViewText,
|
|
7540
|
+
hideUnlockPlatformText = _ref.hideUnlockPlatformText;
|
|
7537
7541
|
|
|
7538
7542
|
var _useState = useState(null),
|
|
7539
7543
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7657,7 +7661,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
|
|
|
7657
7661
|
fontSize: fontSize,
|
|
7658
7662
|
isLink: isLink,
|
|
7659
7663
|
isPremium: isPremium,
|
|
7660
|
-
isLocked: isLocked
|
|
7664
|
+
isLocked: isLocked,
|
|
7665
|
+
overrideViewText: overrideViewText,
|
|
7666
|
+
hideUnlockPlatformText: hideUnlockPlatformText
|
|
7661
7667
|
});
|
|
7662
7668
|
}
|
|
7663
7669
|
|
package/dist/index.umd.js
CHANGED
|
@@ -7118,7 +7118,9 @@
|
|
|
7118
7118
|
fluid = _ref.fluid,
|
|
7119
7119
|
fontSize = _ref.fontSize,
|
|
7120
7120
|
isLink = _ref.isLink,
|
|
7121
|
-
isLocked = _ref.isLocked
|
|
7121
|
+
isLocked = _ref.isLocked,
|
|
7122
|
+
overrideViewText = _ref.overrideViewText,
|
|
7123
|
+
hideUnlockPlatformText = _ref.hideUnlockPlatformText;
|
|
7122
7124
|
|
|
7123
7125
|
var _useState = React.useState(null),
|
|
7124
7126
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
@@ -7464,7 +7466,7 @@
|
|
|
7464
7466
|
style: {
|
|
7465
7467
|
margin: "0px -64px"
|
|
7466
7468
|
}
|
|
7467
|
-
})), /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
7469
|
+
})), !hideUnlockPlatformText && /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
7468
7470
|
sx: {
|
|
7469
7471
|
color: "white.override",
|
|
7470
7472
|
textAlign: "center",
|
|
@@ -7473,7 +7475,7 @@
|
|
|
7473
7475
|
zIndex: "3",
|
|
7474
7476
|
fontSize: ".8rem"
|
|
7475
7477
|
}
|
|
7476
|
-
}, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms"), /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7478
|
+
}, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms"), handleClickView && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7477
7479
|
disabled: !collectionHovered,
|
|
7478
7480
|
onClick: function onClick(e) {
|
|
7479
7481
|
e.stopPropagation();
|
|
@@ -7486,7 +7488,7 @@
|
|
|
7486
7488
|
padding: "4px 8px",
|
|
7487
7489
|
margin: "4px 0"
|
|
7488
7490
|
}
|
|
7489
|
-
}, "VIEW SOUNDPACK"), /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7491
|
+
}, overrideViewText || "VIEW SOUNDPACK"), handleClickUnlock && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
7490
7492
|
disabled: !collectionHovered,
|
|
7491
7493
|
onClick: function onClick(e) {
|
|
7492
7494
|
e.stopPropagation();
|
|
@@ -7554,7 +7556,9 @@
|
|
|
7554
7556
|
isLink = _ref.isLink,
|
|
7555
7557
|
isPremium = _ref.isPremium,
|
|
7556
7558
|
isLocked = _ref.isLocked,
|
|
7557
|
-
isOwner = _ref.isOwner
|
|
7559
|
+
isOwner = _ref.isOwner,
|
|
7560
|
+
overrideViewText = _ref.overrideViewText,
|
|
7561
|
+
hideUnlockPlatformText = _ref.hideUnlockPlatformText;
|
|
7558
7562
|
|
|
7559
7563
|
var _useState = React.useState(null),
|
|
7560
7564
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
@@ -7678,7 +7682,9 @@
|
|
|
7678
7682
|
fontSize: fontSize,
|
|
7679
7683
|
isLink: isLink,
|
|
7680
7684
|
isPremium: isPremium,
|
|
7681
|
-
isLocked: isLocked
|
|
7685
|
+
isLocked: isLocked,
|
|
7686
|
+
overrideViewText: overrideViewText,
|
|
7687
|
+
hideUnlockPlatformText: hideUnlockPlatformText
|
|
7682
7688
|
});
|
|
7683
7689
|
}
|
|
7684
7690
|
|