@blerp/design 1.2.28 → 1.2.30
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 +14 -1
- package/dist/index.esm.js +14 -1
- package/dist/index.umd.js +14 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1729,6 +1729,8 @@ var UsernameWithPopout$1 = function UsernameWithPopout(_ref) {
|
|
|
1729
1729
|
vertical: "top",
|
|
1730
1730
|
horizontal: "left"
|
|
1731
1731
|
},
|
|
1732
|
+
disableAutoFocus: true,
|
|
1733
|
+
disableRestoreFocus: true,
|
|
1732
1734
|
disablePortal: true,
|
|
1733
1735
|
hideBackdrop: true,
|
|
1734
1736
|
sx: {
|
|
@@ -1939,7 +1941,18 @@ var AddContentButton = function AddContentButton(_ref2) {
|
|
|
1939
1941
|
onPlusClick = _ref2.onPlusClick,
|
|
1940
1942
|
selectedOption = _ref2.selectedOption,
|
|
1941
1943
|
isUnownedPremium = _ref2.isUnownedPremium;
|
|
1942
|
-
var added =
|
|
1944
|
+
var added = false;
|
|
1945
|
+
|
|
1946
|
+
if (item !== null && item !== void 0 && (_item$whitelistContex2 = item.whitelistContext) !== null && _item$whitelistContex2 !== void 0 && _item$whitelistContex2._id && selectedOption.value === "BITS") {
|
|
1947
|
+
added = true;
|
|
1948
|
+
} else if (item !== null && item !== void 0 && (_item$channelPointsCo2 = item.channelPointsContext) !== null && _item$channelPointsCo2 !== void 0 && _item$channelPointsCo2._id && selectedOption.value === "CHANNEL_POINTS") {
|
|
1949
|
+
added = true;
|
|
1950
|
+
} else if (item !== null && item !== void 0 && (_item$walkOnContext2 = item.walkOnContext) !== null && _item$walkOnContext2 !== void 0 && _item$walkOnContext2._id && selectedOption.value === "WALK_ON") {
|
|
1951
|
+
added = true;
|
|
1952
|
+
} else if (item !== null && item !== void 0 && (_item$discordContext2 = item.discordContext) !== null && _item$discordContext2 !== void 0 && _item$discordContext2._id && selectedOption.value === "DISCORD") {
|
|
1953
|
+
added = true;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1943
1956
|
return /*#__PURE__*/React__default['default'].createElement(Stack, {
|
|
1944
1957
|
direction: "row",
|
|
1945
1958
|
width: hoveringAddTo ? "100%" : "60%",
|
package/dist/index.esm.js
CHANGED
|
@@ -1653,6 +1653,8 @@ var UsernameWithPopout$1 = function UsernameWithPopout(_ref) {
|
|
|
1653
1653
|
vertical: "top",
|
|
1654
1654
|
horizontal: "left"
|
|
1655
1655
|
},
|
|
1656
|
+
disableAutoFocus: true,
|
|
1657
|
+
disableRestoreFocus: true,
|
|
1656
1658
|
disablePortal: true,
|
|
1657
1659
|
hideBackdrop: true,
|
|
1658
1660
|
sx: {
|
|
@@ -1863,7 +1865,18 @@ var AddContentButton = function AddContentButton(_ref2) {
|
|
|
1863
1865
|
onPlusClick = _ref2.onPlusClick,
|
|
1864
1866
|
selectedOption = _ref2.selectedOption,
|
|
1865
1867
|
isUnownedPremium = _ref2.isUnownedPremium;
|
|
1866
|
-
var added =
|
|
1868
|
+
var added = false;
|
|
1869
|
+
|
|
1870
|
+
if (item !== null && item !== void 0 && (_item$whitelistContex2 = item.whitelistContext) !== null && _item$whitelistContex2 !== void 0 && _item$whitelistContex2._id && selectedOption.value === "BITS") {
|
|
1871
|
+
added = true;
|
|
1872
|
+
} else if (item !== null && item !== void 0 && (_item$channelPointsCo2 = item.channelPointsContext) !== null && _item$channelPointsCo2 !== void 0 && _item$channelPointsCo2._id && selectedOption.value === "CHANNEL_POINTS") {
|
|
1873
|
+
added = true;
|
|
1874
|
+
} else if (item !== null && item !== void 0 && (_item$walkOnContext2 = item.walkOnContext) !== null && _item$walkOnContext2 !== void 0 && _item$walkOnContext2._id && selectedOption.value === "WALK_ON") {
|
|
1875
|
+
added = true;
|
|
1876
|
+
} else if (item !== null && item !== void 0 && (_item$discordContext2 = item.discordContext) !== null && _item$discordContext2 !== void 0 && _item$discordContext2._id && selectedOption.value === "DISCORD") {
|
|
1877
|
+
added = true;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1867
1880
|
return /*#__PURE__*/React__default.createElement(Stack, {
|
|
1868
1881
|
direction: "row",
|
|
1869
1882
|
width: hoveringAddTo ? "100%" : "60%",
|
package/dist/index.umd.js
CHANGED
|
@@ -1674,6 +1674,8 @@
|
|
|
1674
1674
|
vertical: "top",
|
|
1675
1675
|
horizontal: "left"
|
|
1676
1676
|
},
|
|
1677
|
+
disableAutoFocus: true,
|
|
1678
|
+
disableRestoreFocus: true,
|
|
1677
1679
|
disablePortal: true,
|
|
1678
1680
|
hideBackdrop: true,
|
|
1679
1681
|
sx: {
|
|
@@ -1884,7 +1886,18 @@
|
|
|
1884
1886
|
onPlusClick = _ref2.onPlusClick,
|
|
1885
1887
|
selectedOption = _ref2.selectedOption,
|
|
1886
1888
|
isUnownedPremium = _ref2.isUnownedPremium;
|
|
1887
|
-
var added =
|
|
1889
|
+
var added = false;
|
|
1890
|
+
|
|
1891
|
+
if (item !== null && item !== void 0 && (_item$whitelistContex2 = item.whitelistContext) !== null && _item$whitelistContex2 !== void 0 && _item$whitelistContex2._id && selectedOption.value === "BITS") {
|
|
1892
|
+
added = true;
|
|
1893
|
+
} else if (item !== null && item !== void 0 && (_item$channelPointsCo2 = item.channelPointsContext) !== null && _item$channelPointsCo2 !== void 0 && _item$channelPointsCo2._id && selectedOption.value === "CHANNEL_POINTS") {
|
|
1894
|
+
added = true;
|
|
1895
|
+
} else if (item !== null && item !== void 0 && (_item$walkOnContext2 = item.walkOnContext) !== null && _item$walkOnContext2 !== void 0 && _item$walkOnContext2._id && selectedOption.value === "WALK_ON") {
|
|
1896
|
+
added = true;
|
|
1897
|
+
} else if (item !== null && item !== void 0 && (_item$discordContext2 = item.discordContext) !== null && _item$discordContext2 !== void 0 && _item$discordContext2._id && selectedOption.value === "DISCORD") {
|
|
1898
|
+
added = true;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1888
1901
|
return /*#__PURE__*/React__default['default'].createElement(Stack, {
|
|
1889
1902
|
direction: "row",
|
|
1890
1903
|
width: hoveringAddTo ? "100%" : "60%",
|