@blerp/design 1.0.58 → 1.0.59

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
@@ -7167,7 +7167,9 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7167
7167
  isLink = _ref.isLink,
7168
7168
  isLocked = _ref.isLocked,
7169
7169
  overrideViewText = _ref.overrideViewText,
7170
- hideUnlockPlatformText = _ref.hideUnlockPlatformText;
7170
+ hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7171
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7172
+ unlockPlatformText = _ref.unlockPlatformText;
7171
7173
 
7172
7174
  var _useState = React.useState(null),
7173
7175
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7412,7 +7414,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7412
7414
  fontWeight: "lighter",
7413
7415
  fontSize: ".8em"
7414
7416
  }
7415
- }, "Premium")), /*#__PURE__*/React__default['default'].createElement(Stack, null, /*#__PURE__*/React__default['default'].createElement(LockRoundedIcon__default['default'], {
7417
+ }, "Premium")), !hidePremiumLockIcon && /*#__PURE__*/React__default['default'].createElement(Stack, null, /*#__PURE__*/React__default['default'].createElement(LockRoundedIcon__default['default'], {
7416
7418
  sx: {
7417
7419
  position: "absolute",
7418
7420
  top: "8px",
@@ -7513,7 +7515,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7513
7515
  style: {
7514
7516
  margin: "0px -64px"
7515
7517
  }
7516
- })), !hideUnlockPlatformText && /*#__PURE__*/React__default['default'].createElement(Text, {
7518
+ })), !hideUnlockPlatformText && (unlockPlatformText ? /*#__PURE__*/React__default['default'].createElement(Text, {
7517
7519
  sx: {
7518
7520
  color: "white.override",
7519
7521
  textAlign: "center",
@@ -7522,7 +7524,16 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7522
7524
  zIndex: "3",
7523
7525
  fontSize: ".8rem"
7524
7526
  }
7525
- }, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms"), handleClickView && /*#__PURE__*/React__default['default'].createElement(Button, {
7527
+ }, "unlockPlatformText") : /*#__PURE__*/React__default['default'].createElement(Text, {
7528
+ sx: {
7529
+ color: "white.override",
7530
+ textAlign: "center",
7531
+ lineHeight: "1",
7532
+ margin: "4px 0",
7533
+ zIndex: "3",
7534
+ fontSize: ".8rem"
7535
+ }
7536
+ }, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms")), handleClickView && /*#__PURE__*/React__default['default'].createElement(Button, {
7526
7537
  disabled: !collectionHovered,
7527
7538
  onClick: function onClick(e) {
7528
7539
  e.stopPropagation();
@@ -7605,7 +7616,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7605
7616
  isLocked = _ref.isLocked,
7606
7617
  isOwner = _ref.isOwner,
7607
7618
  overrideViewText = _ref.overrideViewText,
7608
- hideUnlockPlatformText = _ref.hideUnlockPlatformText;
7619
+ hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7620
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7621
+ unlockPlatformText = _ref.unlockPlatformText;
7609
7622
 
7610
7623
  var _useState = React.useState(null),
7611
7624
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7731,7 +7744,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7731
7744
  isPremium: isPremium,
7732
7745
  isLocked: isLocked,
7733
7746
  overrideViewText: overrideViewText,
7734
- hideUnlockPlatformText: hideUnlockPlatformText
7747
+ hideUnlockPlatformText: hideUnlockPlatformText,
7748
+ hidePremiumLockIcon: hidePremiumLockIcon,
7749
+ unlockPlatformText: unlockPlatformText
7735
7750
  });
7736
7751
  }
7737
7752
 
package/dist/index.esm.js CHANGED
@@ -7099,7 +7099,9 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7099
7099
  isLink = _ref.isLink,
7100
7100
  isLocked = _ref.isLocked,
7101
7101
  overrideViewText = _ref.overrideViewText,
7102
- hideUnlockPlatformText = _ref.hideUnlockPlatformText;
7102
+ hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7103
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7104
+ unlockPlatformText = _ref.unlockPlatformText;
7103
7105
 
7104
7106
  var _useState = useState(null),
7105
7107
  _useState2 = _slicedToArray(_useState, 2),
@@ -7344,7 +7346,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7344
7346
  fontWeight: "lighter",
7345
7347
  fontSize: ".8em"
7346
7348
  }
7347
- }, "Premium")), /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(LockRoundedIcon, {
7349
+ }, "Premium")), !hidePremiumLockIcon && /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(LockRoundedIcon, {
7348
7350
  sx: {
7349
7351
  position: "absolute",
7350
7352
  top: "8px",
@@ -7445,7 +7447,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7445
7447
  style: {
7446
7448
  margin: "0px -64px"
7447
7449
  }
7448
- })), !hideUnlockPlatformText && /*#__PURE__*/React__default.createElement(Text, {
7450
+ })), !hideUnlockPlatformText && (unlockPlatformText ? /*#__PURE__*/React__default.createElement(Text, {
7449
7451
  sx: {
7450
7452
  color: "white.override",
7451
7453
  textAlign: "center",
@@ -7454,7 +7456,16 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7454
7456
  zIndex: "3",
7455
7457
  fontSize: ".8rem"
7456
7458
  }
7457
- }, "Unlock to share ", /*#__PURE__*/React__default.createElement("br", null), "across platforms"), handleClickView && /*#__PURE__*/React__default.createElement(Button, {
7459
+ }, "unlockPlatformText") : /*#__PURE__*/React__default.createElement(Text, {
7460
+ sx: {
7461
+ color: "white.override",
7462
+ textAlign: "center",
7463
+ lineHeight: "1",
7464
+ margin: "4px 0",
7465
+ zIndex: "3",
7466
+ fontSize: ".8rem"
7467
+ }
7468
+ }, "Unlock to share ", /*#__PURE__*/React__default.createElement("br", null), "across platforms")), handleClickView && /*#__PURE__*/React__default.createElement(Button, {
7458
7469
  disabled: !collectionHovered,
7459
7470
  onClick: function onClick(e) {
7460
7471
  e.stopPropagation();
@@ -7537,7 +7548,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7537
7548
  isLocked = _ref.isLocked,
7538
7549
  isOwner = _ref.isOwner,
7539
7550
  overrideViewText = _ref.overrideViewText,
7540
- hideUnlockPlatformText = _ref.hideUnlockPlatformText;
7551
+ hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7552
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7553
+ unlockPlatformText = _ref.unlockPlatformText;
7541
7554
 
7542
7555
  var _useState = useState(null),
7543
7556
  _useState2 = _slicedToArray(_useState, 2),
@@ -7663,7 +7676,9 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7663
7676
  isPremium: isPremium,
7664
7677
  isLocked: isLocked,
7665
7678
  overrideViewText: overrideViewText,
7666
- hideUnlockPlatformText: hideUnlockPlatformText
7679
+ hideUnlockPlatformText: hideUnlockPlatformText,
7680
+ hidePremiumLockIcon: hidePremiumLockIcon,
7681
+ unlockPlatformText: unlockPlatformText
7667
7682
  });
7668
7683
  }
7669
7684
 
package/dist/index.umd.js CHANGED
@@ -7120,7 +7120,9 @@
7120
7120
  isLink = _ref.isLink,
7121
7121
  isLocked = _ref.isLocked,
7122
7122
  overrideViewText = _ref.overrideViewText,
7123
- hideUnlockPlatformText = _ref.hideUnlockPlatformText;
7123
+ hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7124
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7125
+ unlockPlatformText = _ref.unlockPlatformText;
7124
7126
 
7125
7127
  var _useState = React.useState(null),
7126
7128
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7365,7 +7367,7 @@
7365
7367
  fontWeight: "lighter",
7366
7368
  fontSize: ".8em"
7367
7369
  }
7368
- }, "Premium")), /*#__PURE__*/React__default['default'].createElement(Stack, null, /*#__PURE__*/React__default['default'].createElement(LockRoundedIcon__default['default'], {
7370
+ }, "Premium")), !hidePremiumLockIcon && /*#__PURE__*/React__default['default'].createElement(Stack, null, /*#__PURE__*/React__default['default'].createElement(LockRoundedIcon__default['default'], {
7369
7371
  sx: {
7370
7372
  position: "absolute",
7371
7373
  top: "8px",
@@ -7466,7 +7468,7 @@
7466
7468
  style: {
7467
7469
  margin: "0px -64px"
7468
7470
  }
7469
- })), !hideUnlockPlatformText && /*#__PURE__*/React__default['default'].createElement(Text, {
7471
+ })), !hideUnlockPlatformText && (unlockPlatformText ? /*#__PURE__*/React__default['default'].createElement(Text, {
7470
7472
  sx: {
7471
7473
  color: "white.override",
7472
7474
  textAlign: "center",
@@ -7475,7 +7477,16 @@
7475
7477
  zIndex: "3",
7476
7478
  fontSize: ".8rem"
7477
7479
  }
7478
- }, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms"), handleClickView && /*#__PURE__*/React__default['default'].createElement(Button, {
7480
+ }, "unlockPlatformText") : /*#__PURE__*/React__default['default'].createElement(Text, {
7481
+ sx: {
7482
+ color: "white.override",
7483
+ textAlign: "center",
7484
+ lineHeight: "1",
7485
+ margin: "4px 0",
7486
+ zIndex: "3",
7487
+ fontSize: ".8rem"
7488
+ }
7489
+ }, "Unlock to share ", /*#__PURE__*/React__default['default'].createElement("br", null), "across platforms")), handleClickView && /*#__PURE__*/React__default['default'].createElement(Button, {
7479
7490
  disabled: !collectionHovered,
7480
7491
  onClick: function onClick(e) {
7481
7492
  e.stopPropagation();
@@ -7558,7 +7569,9 @@
7558
7569
  isLocked = _ref.isLocked,
7559
7570
  isOwner = _ref.isOwner,
7560
7571
  overrideViewText = _ref.overrideViewText,
7561
- hideUnlockPlatformText = _ref.hideUnlockPlatformText;
7572
+ hideUnlockPlatformText = _ref.hideUnlockPlatformText,
7573
+ hidePremiumLockIcon = _ref.hidePremiumLockIcon,
7574
+ unlockPlatformText = _ref.unlockPlatformText;
7562
7575
 
7563
7576
  var _useState = React.useState(null),
7564
7577
  _useState2 = _slicedToArray__default['default'](_useState, 2),
@@ -7684,7 +7697,9 @@
7684
7697
  isPremium: isPremium,
7685
7698
  isLocked: isLocked,
7686
7699
  overrideViewText: overrideViewText,
7687
- hideUnlockPlatformText: hideUnlockPlatformText
7700
+ hideUnlockPlatformText: hideUnlockPlatformText,
7701
+ hidePremiumLockIcon: hidePremiumLockIcon,
7702
+ unlockPlatformText: unlockPlatformText
7688
7703
  });
7689
7704
  }
7690
7705
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {