@blerp/design 1.0.76 → 1.0.79

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
@@ -1138,7 +1138,7 @@ var BlerpTopRow = function BlerpTopRow(_ref) {
1138
1138
  alignItems: "center",
1139
1139
  margin: "5px"
1140
1140
  }
1141
- }, /*#__PURE__*/React__default['default'].createElement(TwitchIcon, {
1141
+ }, /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
1142
1142
  sx: {
1143
1143
  zIndex: "1",
1144
1144
  fontSize: "18px"
@@ -8021,7 +8021,19 @@ var CollectionCard$1 = function CollectionCard(_ref) {
8021
8021
  boxSizing: "border-box",
8022
8022
  alignItems: "center"
8023
8023
  }
8024
- }, renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
8024
+ }, (collection === null || collection === void 0 ? void 0 : collection.edgeType) !== "NewTwitchGroupEdge" && renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.edgeType) === "NewTwitchGroupEdge" && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
8025
+ title: "Featured on Twitch Bits"
8026
+ }, /*#__PURE__*/React__default['default'].createElement(Stack, {
8027
+ sx: {
8028
+ alignItems: "center"
8029
+ }
8030
+ }, /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
8031
+ sx: {
8032
+ color: "white.override",
8033
+ zIndex: "1",
8034
+ fontSize: "18px"
8035
+ }
8036
+ }))), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
8025
8037
  title: "Private"
8026
8038
  }, /*#__PURE__*/React__default['default'].createElement(iconsMaterial.LockRounded, {
8027
8039
  sx: {
@@ -8709,6 +8721,7 @@ var UserLibraryHeader = function UserLibraryHeader(_ref) {
8709
8721
  sx: {
8710
8722
  fontWeight: "normal",
8711
8723
  marginRight: "10px",
8724
+ marginBottom: "10px",
8712
8725
  backgroundColor: tabSelection.includes(tab) && "grey4.main"
8713
8726
  },
8714
8727
  color: tabSelection.includes(tab) ? "grey3" : "notBlack",
@@ -88381,7 +88394,7 @@ var BraintreeUI = function BraintreeUI(_ref) {
88381
88394
  country: country,
88382
88395
  setCountry: setCountry
88383
88396
  }), /*#__PURE__*/React__default['default'].createElement(DisabledContainer, {
88384
- disabled: postalCode.split("").length < 5
88397
+ disabled: postalCode.split("").length <= 1
88385
88398
  }, /*#__PURE__*/React__default['default'].createElement("div", {
88386
88399
  id: "dropin-container",
88387
88400
  style: {
package/dist/index.esm.js CHANGED
@@ -1070,7 +1070,7 @@ var BlerpTopRow = function BlerpTopRow(_ref) {
1070
1070
  alignItems: "center",
1071
1071
  margin: "5px"
1072
1072
  }
1073
- }, /*#__PURE__*/React__default.createElement(TwitchIcon, {
1073
+ }, /*#__PURE__*/React__default.createElement(TwitchBitIcon, {
1074
1074
  sx: {
1075
1075
  zIndex: "1",
1076
1076
  fontSize: "18px"
@@ -7953,7 +7953,19 @@ var CollectionCard$1 = function CollectionCard(_ref) {
7953
7953
  boxSizing: "border-box",
7954
7954
  alignItems: "center"
7955
7955
  }
7956
- }, renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React__default.createElement(Tooltip, {
7956
+ }, (collection === null || collection === void 0 ? void 0 : collection.edgeType) !== "NewTwitchGroupEdge" && renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.edgeType) === "NewTwitchGroupEdge" && /*#__PURE__*/React__default.createElement(Tooltip, {
7957
+ title: "Featured on Twitch Bits"
7958
+ }, /*#__PURE__*/React__default.createElement(Stack, {
7959
+ sx: {
7960
+ alignItems: "center"
7961
+ }
7962
+ }, /*#__PURE__*/React__default.createElement(TwitchBitIcon, {
7963
+ sx: {
7964
+ color: "white.override",
7965
+ zIndex: "1",
7966
+ fontSize: "18px"
7967
+ }
7968
+ }))), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React__default.createElement(Tooltip, {
7957
7969
  title: "Private"
7958
7970
  }, /*#__PURE__*/React__default.createElement(LockRounded, {
7959
7971
  sx: {
@@ -8641,6 +8653,7 @@ var UserLibraryHeader = function UserLibraryHeader(_ref) {
8641
8653
  sx: {
8642
8654
  fontWeight: "normal",
8643
8655
  marginRight: "10px",
8656
+ marginBottom: "10px",
8644
8657
  backgroundColor: tabSelection.includes(tab) && "grey4.main"
8645
8658
  },
8646
8659
  color: tabSelection.includes(tab) ? "grey3" : "notBlack",
@@ -88313,7 +88326,7 @@ var BraintreeUI = function BraintreeUI(_ref) {
88313
88326
  country: country,
88314
88327
  setCountry: setCountry
88315
88328
  }), /*#__PURE__*/React__default.createElement(DisabledContainer, {
88316
- disabled: postalCode.split("").length < 5
88329
+ disabled: postalCode.split("").length <= 1
88317
88330
  }, /*#__PURE__*/React__default.createElement("div", {
88318
88331
  id: "dropin-container",
88319
88332
  style: {
package/dist/index.umd.js CHANGED
@@ -1091,7 +1091,7 @@
1091
1091
  alignItems: "center",
1092
1092
  margin: "5px"
1093
1093
  }
1094
- }, /*#__PURE__*/React__default['default'].createElement(TwitchIcon, {
1094
+ }, /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
1095
1095
  sx: {
1096
1096
  zIndex: "1",
1097
1097
  fontSize: "18px"
@@ -7974,7 +7974,19 @@
7974
7974
  boxSizing: "border-box",
7975
7975
  alignItems: "center"
7976
7976
  }
7977
- }, renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
7977
+ }, (collection === null || collection === void 0 ? void 0 : collection.edgeType) !== "NewTwitchGroupEdge" && renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.edgeType) === "NewTwitchGroupEdge" && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
7978
+ title: "Featured on Twitch Bits"
7979
+ }, /*#__PURE__*/React__default['default'].createElement(Stack, {
7980
+ sx: {
7981
+ alignItems: "center"
7982
+ }
7983
+ }, /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
7984
+ sx: {
7985
+ color: "white.override",
7986
+ zIndex: "1",
7987
+ fontSize: "18px"
7988
+ }
7989
+ }))), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
7978
7990
  title: "Private"
7979
7991
  }, /*#__PURE__*/React__default['default'].createElement(iconsMaterial.LockRounded, {
7980
7992
  sx: {
@@ -8662,6 +8674,7 @@
8662
8674
  sx: {
8663
8675
  fontWeight: "normal",
8664
8676
  marginRight: "10px",
8677
+ marginBottom: "10px",
8665
8678
  backgroundColor: tabSelection.includes(tab) && "grey4.main"
8666
8679
  },
8667
8680
  color: tabSelection.includes(tab) ? "grey3" : "notBlack",
@@ -88334,7 +88347,7 @@
88334
88347
  country: country,
88335
88348
  setCountry: setCountry
88336
88349
  }), /*#__PURE__*/React__default['default'].createElement(DisabledContainer, {
88337
- disabled: postalCode.split("").length < 5
88350
+ disabled: postalCode.split("").length <= 1
88338
88351
  }, /*#__PURE__*/React__default['default'].createElement("div", {
88339
88352
  id: "dropin-container",
88340
88353
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.0.76",
3
+ "version": "1.0.79",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {