@blerp/design 1.0.60 → 1.0.61

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 CHANGED
@@ -7169,7 +7169,8 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7169
7169
  overrideViewText = _ref.overrideViewText,
7170
7170
  hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7171
7171
  hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7172
- unlockPlatformText = _ref.unlockPlatformText;
7172
+ unlockPlatformText = _ref.unlockPlatformText,
7173
+ hideCollectionBackground = _ref.hideCollectionBackground;
7173
7174
 
7174
7175
  var _useState = React.useState(null),
7175
7176
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7267,7 +7268,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7267
7268
  top: "0",
7268
7269
  zIndex: "3"
7269
7270
  }
7270
- }), /*#__PURE__*/React__default['default'].createElement(Box, {
7271
+ }), !hideCollectionBackground && /*#__PURE__*/React__default['default'].createElement(Box, {
7271
7272
  id: "collection-background-1",
7272
7273
  sx: {
7273
7274
  backgroundImage: "linear-gradient(".concat(data.muted || "#444444", ", #444444)"),
@@ -7281,7 +7282,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7281
7282
  zIndex: "2",
7282
7283
  transition: "0.2s ease-out"
7283
7284
  }
7284
- }), /*#__PURE__*/React__default['default'].createElement(Box, {
7285
+ }), !hideCollectionBackground && /*#__PURE__*/React__default['default'].createElement(Box, {
7285
7286
  id: "collection-background-2",
7286
7287
  sx: {
7287
7288
  backgroundImage: "linear-gradient(".concat(data.darkMuted || "#252525", ", #252525)"),
@@ -7618,8 +7619,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7618
7619
  isOwner = _ref.isOwner,
7619
7620
  overrideViewText = _ref.overrideViewText,
7620
7621
  hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7621
- hidePremiumLockIcon = _ref.hidePremiumLockIcon;
7622
- _ref.unlockPlatformText;
7622
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7623
+ unlockPlatformText = _ref.unlockPlatformText,
7624
+ hideCollectionBackground = _ref.hideCollectionBackground;
7623
7625
 
7624
7626
  var _useState = React.useState(null),
7625
7627
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7746,7 +7748,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7746
7748
  isLocked: isLocked,
7747
7749
  overrideViewText: overrideViewText,
7748
7750
  hideUnlockPlatformText: hideUnlockPlatformText,
7749
- hidePremiumLockIcon: hidePremiumLockIcon
7751
+ hidePremiumLockIcon: hidePremiumLockIcon,
7752
+ unlockPlatformText: unlockPlatformText,
7753
+ hideCollectionBackground: hideCollectionBackground
7750
7754
  });
7751
7755
  }
7752
7756
 
package/dist/index.esm.js CHANGED
@@ -7101,7 +7101,8 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7101
7101
  overrideViewText = _ref.overrideViewText,
7102
7102
  hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7103
7103
  hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7104
- unlockPlatformText = _ref.unlockPlatformText;
7104
+ unlockPlatformText = _ref.unlockPlatformText,
7105
+ hideCollectionBackground = _ref.hideCollectionBackground;
7105
7106
 
7106
7107
  var _useState = useState(null),
7107
7108
  _useState2 = _slicedToArray(_useState, 2),
@@ -7199,7 +7200,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7199
7200
  top: "0",
7200
7201
  zIndex: "3"
7201
7202
  }
7202
- }), /*#__PURE__*/React__default.createElement(Box, {
7203
+ }), !hideCollectionBackground && /*#__PURE__*/React__default.createElement(Box, {
7203
7204
  id: "collection-background-1",
7204
7205
  sx: {
7205
7206
  backgroundImage: "linear-gradient(".concat(data.muted || "#444444", ", #444444)"),
@@ -7213,7 +7214,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7213
7214
  zIndex: "2",
7214
7215
  transition: "0.2s ease-out"
7215
7216
  }
7216
- }), /*#__PURE__*/React__default.createElement(Box, {
7217
+ }), !hideCollectionBackground && /*#__PURE__*/React__default.createElement(Box, {
7217
7218
  id: "collection-background-2",
7218
7219
  sx: {
7219
7220
  backgroundImage: "linear-gradient(".concat(data.darkMuted || "#252525", ", #252525)"),
@@ -7550,8 +7551,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7550
7551
  isOwner = _ref.isOwner,
7551
7552
  overrideViewText = _ref.overrideViewText,
7552
7553
  hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7553
- hidePremiumLockIcon = _ref.hidePremiumLockIcon;
7554
- _ref.unlockPlatformText;
7554
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7555
+ unlockPlatformText = _ref.unlockPlatformText,
7556
+ hideCollectionBackground = _ref.hideCollectionBackground;
7555
7557
 
7556
7558
  var _useState = useState(null),
7557
7559
  _useState2 = _slicedToArray(_useState, 2),
@@ -7678,7 +7680,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7678
7680
  isLocked: isLocked,
7679
7681
  overrideViewText: overrideViewText,
7680
7682
  hideUnlockPlatformText: hideUnlockPlatformText,
7681
- hidePremiumLockIcon: hidePremiumLockIcon
7683
+ hidePremiumLockIcon: hidePremiumLockIcon,
7684
+ unlockPlatformText: unlockPlatformText,
7685
+ hideCollectionBackground: hideCollectionBackground
7682
7686
  });
7683
7687
  }
7684
7688
 
package/dist/index.umd.js CHANGED
@@ -7122,7 +7122,8 @@
7122
7122
  overrideViewText = _ref.overrideViewText,
7123
7123
  hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7124
7124
  hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7125
- unlockPlatformText = _ref.unlockPlatformText;
7125
+ unlockPlatformText = _ref.unlockPlatformText,
7126
+ hideCollectionBackground = _ref.hideCollectionBackground;
7126
7127
 
7127
7128
  var _useState = React.useState(null),
7128
7129
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7220,7 +7221,7 @@
7220
7221
  top: "0",
7221
7222
  zIndex: "3"
7222
7223
  }
7223
- }), /*#__PURE__*/React__default['default'].createElement(Box, {
7224
+ }), !hideCollectionBackground && /*#__PURE__*/React__default['default'].createElement(Box, {
7224
7225
  id: "collection-background-1",
7225
7226
  sx: {
7226
7227
  backgroundImage: "linear-gradient(".concat(data.muted || "#444444", ", #444444)"),
@@ -7234,7 +7235,7 @@
7234
7235
  zIndex: "2",
7235
7236
  transition: "0.2s ease-out"
7236
7237
  }
7237
- }), /*#__PURE__*/React__default['default'].createElement(Box, {
7238
+ }), !hideCollectionBackground && /*#__PURE__*/React__default['default'].createElement(Box, {
7238
7239
  id: "collection-background-2",
7239
7240
  sx: {
7240
7241
  backgroundImage: "linear-gradient(".concat(data.darkMuted || "#252525", ", #252525)"),
@@ -7571,8 +7572,9 @@
7571
7572
  isOwner = _ref.isOwner,
7572
7573
  overrideViewText = _ref.overrideViewText,
7573
7574
  hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7574
- hidePremiumLockIcon = _ref.hidePremiumLockIcon;
7575
- _ref.unlockPlatformText;
7575
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7576
+ unlockPlatformText = _ref.unlockPlatformText,
7577
+ hideCollectionBackground = _ref.hideCollectionBackground;
7576
7578
 
7577
7579
  var _useState = React.useState(null),
7578
7580
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7699,7 +7701,9 @@
7699
7701
  isLocked: isLocked,
7700
7702
  overrideViewText: overrideViewText,
7701
7703
  hideUnlockPlatformText: hideUnlockPlatformText,
7702
- hidePremiumLockIcon: hidePremiumLockIcon
7704
+ hidePremiumLockIcon: hidePremiumLockIcon,
7705
+ unlockPlatformText: unlockPlatformText,
7706
+ hideCollectionBackground: hideCollectionBackground
7703
7707
  });
7704
7708
  }
7705
7709
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {