@blerp/design 1.2.47 → 1.2.49
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 -4
- package/dist/index.esm.js +12 -4
- package/dist/index.umd.js +12 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1870,7 +1870,7 @@ var AddedToIcons = function AddedToIcons(_ref2) {
|
|
|
1870
1870
|
fontSize: "15px",
|
|
1871
1871
|
filter: "drop-shadow(0px 0.972222px 8.75px rgba(0, 0, 0, 0.73))"
|
|
1872
1872
|
}
|
|
1873
|
-
}))), (item === null || item === void 0 ? void 0 : (_item$soundEmotesCont = item.soundEmotesContext) === null || _item$soundEmotesCont === void 0 ? void 0 : _item$soundEmotesCont.
|
|
1873
|
+
}))), (item === null || item === void 0 ? void 0 : (_item$soundEmotesCont = item.soundEmotesContext) === null || _item$soundEmotesCont === void 0 ? void 0 : _item$soundEmotesCont.hasAdded) && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
|
|
1874
1874
|
title: "Added to Sound Emotes"
|
|
1875
1875
|
}, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(iconsMaterial.MusicNoteRounded, {
|
|
1876
1876
|
sx: {
|
|
@@ -1948,8 +1948,16 @@ var RatingInfo = function RatingInfo(_ref4) {
|
|
|
1948
1948
|
}));
|
|
1949
1949
|
} else if (bite !== null && bite !== void 0 && bite.audienceRating) {
|
|
1950
1950
|
// what you have now
|
|
1951
|
-
|
|
1952
|
-
|
|
1951
|
+
if ((bite === null || bite === void 0 ? void 0 : bite.audienceRating) === "UR") {
|
|
1952
|
+
ratingText.tooltipText = "Hasn't Been Reviewed";
|
|
1953
|
+
ratingText.text = "UNRATED";
|
|
1954
|
+
} else if ((bite === null || bite === void 0 ? void 0 : bite.audienceRating) === "NC17") {
|
|
1955
|
+
ratingText.tooltipText = "Not Safe For Work";
|
|
1956
|
+
ratingText.text = "NSFW";
|
|
1957
|
+
} else {
|
|
1958
|
+
ratingText.tooltipText = null;
|
|
1959
|
+
ratingText.text = null;
|
|
1960
|
+
}
|
|
1953
1961
|
} else {
|
|
1954
1962
|
// unrated
|
|
1955
1963
|
ratingText.tooltipText = "Hasn't Been Reviewed";
|
|
@@ -2166,7 +2174,7 @@ var NewBlerp$1 = function NewBlerp(_ref7) {
|
|
|
2166
2174
|
setHoveringAddTo = _useState10[1];
|
|
2167
2175
|
|
|
2168
2176
|
var titleRef = React.useRef(null);
|
|
2169
|
-
var addedToPlace = (bite === null || bite === void 0 ? void 0 : (_bite$whitelistContex = bite.whitelistContext) === null || _bite$whitelistContex === void 0 ? void 0 : _bite$whitelistContex._id) || (bite === null || bite === void 0 ? void 0 : (_bite$channelPointsCo = bite.channelPointsContext) === null || _bite$channelPointsCo === void 0 ? void 0 : _bite$channelPointsCo._id) || (bite === null || bite === void 0 ? void 0 : (_bite$walkOnContext = bite.walkOnContext) === null || _bite$walkOnContext === void 0 ? void 0 : _bite$walkOnContext._id) || (bite === null || bite === void 0 ? void 0 : (_bite$soundEmotesCont = bite.soundEmotesContext) === null || _bite$soundEmotesCont === void 0 ? void 0 : _bite$soundEmotesCont.
|
|
2177
|
+
var addedToPlace = (bite === null || bite === void 0 ? void 0 : (_bite$whitelistContex = bite.whitelistContext) === null || _bite$whitelistContex === void 0 ? void 0 : _bite$whitelistContex._id) || (bite === null || bite === void 0 ? void 0 : (_bite$channelPointsCo = bite.channelPointsContext) === null || _bite$channelPointsCo === void 0 ? void 0 : _bite$channelPointsCo._id) || (bite === null || bite === void 0 ? void 0 : (_bite$walkOnContext = bite.walkOnContext) === null || _bite$walkOnContext === void 0 ? void 0 : _bite$walkOnContext._id) || (bite === null || bite === void 0 ? void 0 : (_bite$soundEmotesCont = bite.soundEmotesContext) === null || _bite$soundEmotesCont === void 0 ? void 0 : _bite$soundEmotesCont.hasAdded) || (bite === null || bite === void 0 ? void 0 : (_bite$discordContext = bite.discordContext) === null || _bite$discordContext === void 0 ? void 0 : _bite$discordContext._id);
|
|
2170
2178
|
var showWarning = (bite === null || bite === void 0 ? void 0 : (_bite$blacklistContex = bite.blacklistContext) === null || _bite$blacklistContex === void 0 ? void 0 : _bite$blacklistContex._id) || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "URGENT" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "SUPER_URGENT" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "REVIEWED_BLACKLISTED" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "APPEALING";
|
|
2171
2179
|
|
|
2172
2180
|
var renderPlayStateIcon = function renderPlayStateIcon() {
|
package/dist/index.esm.js
CHANGED
|
@@ -1795,7 +1795,7 @@ var AddedToIcons = function AddedToIcons(_ref2) {
|
|
|
1795
1795
|
fontSize: "15px",
|
|
1796
1796
|
filter: "drop-shadow(0px 0.972222px 8.75px rgba(0, 0, 0, 0.73))"
|
|
1797
1797
|
}
|
|
1798
|
-
}))), (item === null || item === void 0 ? void 0 : (_item$soundEmotesCont = item.soundEmotesContext) === null || _item$soundEmotesCont === void 0 ? void 0 : _item$soundEmotesCont.
|
|
1798
|
+
}))), (item === null || item === void 0 ? void 0 : (_item$soundEmotesCont = item.soundEmotesContext) === null || _item$soundEmotesCont === void 0 ? void 0 : _item$soundEmotesCont.hasAdded) && /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
1799
1799
|
title: "Added to Sound Emotes"
|
|
1800
1800
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(MusicNoteRounded, {
|
|
1801
1801
|
sx: {
|
|
@@ -1873,8 +1873,16 @@ var RatingInfo = function RatingInfo(_ref4) {
|
|
|
1873
1873
|
}));
|
|
1874
1874
|
} else if (bite !== null && bite !== void 0 && bite.audienceRating) {
|
|
1875
1875
|
// what you have now
|
|
1876
|
-
|
|
1877
|
-
|
|
1876
|
+
if ((bite === null || bite === void 0 ? void 0 : bite.audienceRating) === "UR") {
|
|
1877
|
+
ratingText.tooltipText = "Hasn't Been Reviewed";
|
|
1878
|
+
ratingText.text = "UNRATED";
|
|
1879
|
+
} else if ((bite === null || bite === void 0 ? void 0 : bite.audienceRating) === "NC17") {
|
|
1880
|
+
ratingText.tooltipText = "Not Safe For Work";
|
|
1881
|
+
ratingText.text = "NSFW";
|
|
1882
|
+
} else {
|
|
1883
|
+
ratingText.tooltipText = null;
|
|
1884
|
+
ratingText.text = null;
|
|
1885
|
+
}
|
|
1878
1886
|
} else {
|
|
1879
1887
|
// unrated
|
|
1880
1888
|
ratingText.tooltipText = "Hasn't Been Reviewed";
|
|
@@ -2091,7 +2099,7 @@ var NewBlerp$1 = function NewBlerp(_ref7) {
|
|
|
2091
2099
|
setHoveringAddTo = _useState10[1];
|
|
2092
2100
|
|
|
2093
2101
|
var titleRef = useRef(null);
|
|
2094
|
-
var addedToPlace = (bite === null || bite === void 0 ? void 0 : (_bite$whitelistContex = bite.whitelistContext) === null || _bite$whitelistContex === void 0 ? void 0 : _bite$whitelistContex._id) || (bite === null || bite === void 0 ? void 0 : (_bite$channelPointsCo = bite.channelPointsContext) === null || _bite$channelPointsCo === void 0 ? void 0 : _bite$channelPointsCo._id) || (bite === null || bite === void 0 ? void 0 : (_bite$walkOnContext = bite.walkOnContext) === null || _bite$walkOnContext === void 0 ? void 0 : _bite$walkOnContext._id) || (bite === null || bite === void 0 ? void 0 : (_bite$soundEmotesCont = bite.soundEmotesContext) === null || _bite$soundEmotesCont === void 0 ? void 0 : _bite$soundEmotesCont.
|
|
2102
|
+
var addedToPlace = (bite === null || bite === void 0 ? void 0 : (_bite$whitelistContex = bite.whitelistContext) === null || _bite$whitelistContex === void 0 ? void 0 : _bite$whitelistContex._id) || (bite === null || bite === void 0 ? void 0 : (_bite$channelPointsCo = bite.channelPointsContext) === null || _bite$channelPointsCo === void 0 ? void 0 : _bite$channelPointsCo._id) || (bite === null || bite === void 0 ? void 0 : (_bite$walkOnContext = bite.walkOnContext) === null || _bite$walkOnContext === void 0 ? void 0 : _bite$walkOnContext._id) || (bite === null || bite === void 0 ? void 0 : (_bite$soundEmotesCont = bite.soundEmotesContext) === null || _bite$soundEmotesCont === void 0 ? void 0 : _bite$soundEmotesCont.hasAdded) || (bite === null || bite === void 0 ? void 0 : (_bite$discordContext = bite.discordContext) === null || _bite$discordContext === void 0 ? void 0 : _bite$discordContext._id);
|
|
2095
2103
|
var showWarning = (bite === null || bite === void 0 ? void 0 : (_bite$blacklistContex = bite.blacklistContext) === null || _bite$blacklistContex === void 0 ? void 0 : _bite$blacklistContex._id) || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "URGENT" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "SUPER_URGENT" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "REVIEWED_BLACKLISTED" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "APPEALING";
|
|
2096
2104
|
|
|
2097
2105
|
var renderPlayStateIcon = function renderPlayStateIcon() {
|
package/dist/index.umd.js
CHANGED
|
@@ -1816,7 +1816,7 @@
|
|
|
1816
1816
|
fontSize: "15px",
|
|
1817
1817
|
filter: "drop-shadow(0px 0.972222px 8.75px rgba(0, 0, 0, 0.73))"
|
|
1818
1818
|
}
|
|
1819
|
-
}))), (item === null || item === void 0 ? void 0 : (_item$soundEmotesCont = item.soundEmotesContext) === null || _item$soundEmotesCont === void 0 ? void 0 : _item$soundEmotesCont.
|
|
1819
|
+
}))), (item === null || item === void 0 ? void 0 : (_item$soundEmotesCont = item.soundEmotesContext) === null || _item$soundEmotesCont === void 0 ? void 0 : _item$soundEmotesCont.hasAdded) && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
|
|
1820
1820
|
title: "Added to Sound Emotes"
|
|
1821
1821
|
}, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(iconsMaterial.MusicNoteRounded, {
|
|
1822
1822
|
sx: {
|
|
@@ -1894,8 +1894,16 @@
|
|
|
1894
1894
|
}));
|
|
1895
1895
|
} else if (bite !== null && bite !== void 0 && bite.audienceRating) {
|
|
1896
1896
|
// what you have now
|
|
1897
|
-
|
|
1898
|
-
|
|
1897
|
+
if ((bite === null || bite === void 0 ? void 0 : bite.audienceRating) === "UR") {
|
|
1898
|
+
ratingText.tooltipText = "Hasn't Been Reviewed";
|
|
1899
|
+
ratingText.text = "UNRATED";
|
|
1900
|
+
} else if ((bite === null || bite === void 0 ? void 0 : bite.audienceRating) === "NC17") {
|
|
1901
|
+
ratingText.tooltipText = "Not Safe For Work";
|
|
1902
|
+
ratingText.text = "NSFW";
|
|
1903
|
+
} else {
|
|
1904
|
+
ratingText.tooltipText = null;
|
|
1905
|
+
ratingText.text = null;
|
|
1906
|
+
}
|
|
1899
1907
|
} else {
|
|
1900
1908
|
// unrated
|
|
1901
1909
|
ratingText.tooltipText = "Hasn't Been Reviewed";
|
|
@@ -2112,7 +2120,7 @@
|
|
|
2112
2120
|
setHoveringAddTo = _useState10[1];
|
|
2113
2121
|
|
|
2114
2122
|
var titleRef = React.useRef(null);
|
|
2115
|
-
var addedToPlace = (bite === null || bite === void 0 ? void 0 : (_bite$whitelistContex = bite.whitelistContext) === null || _bite$whitelistContex === void 0 ? void 0 : _bite$whitelistContex._id) || (bite === null || bite === void 0 ? void 0 : (_bite$channelPointsCo = bite.channelPointsContext) === null || _bite$channelPointsCo === void 0 ? void 0 : _bite$channelPointsCo._id) || (bite === null || bite === void 0 ? void 0 : (_bite$walkOnContext = bite.walkOnContext) === null || _bite$walkOnContext === void 0 ? void 0 : _bite$walkOnContext._id) || (bite === null || bite === void 0 ? void 0 : (_bite$soundEmotesCont = bite.soundEmotesContext) === null || _bite$soundEmotesCont === void 0 ? void 0 : _bite$soundEmotesCont.
|
|
2123
|
+
var addedToPlace = (bite === null || bite === void 0 ? void 0 : (_bite$whitelistContex = bite.whitelistContext) === null || _bite$whitelistContex === void 0 ? void 0 : _bite$whitelistContex._id) || (bite === null || bite === void 0 ? void 0 : (_bite$channelPointsCo = bite.channelPointsContext) === null || _bite$channelPointsCo === void 0 ? void 0 : _bite$channelPointsCo._id) || (bite === null || bite === void 0 ? void 0 : (_bite$walkOnContext = bite.walkOnContext) === null || _bite$walkOnContext === void 0 ? void 0 : _bite$walkOnContext._id) || (bite === null || bite === void 0 ? void 0 : (_bite$soundEmotesCont = bite.soundEmotesContext) === null || _bite$soundEmotesCont === void 0 ? void 0 : _bite$soundEmotesCont.hasAdded) || (bite === null || bite === void 0 ? void 0 : (_bite$discordContext = bite.discordContext) === null || _bite$discordContext === void 0 ? void 0 : _bite$discordContext._id);
|
|
2116
2124
|
var showWarning = (bite === null || bite === void 0 ? void 0 : (_bite$blacklistContex = bite.blacklistContext) === null || _bite$blacklistContex === void 0 ? void 0 : _bite$blacklistContex._id) || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "URGENT" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "SUPER_URGENT" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "REVIEWED_BLACKLISTED" || (bite === null || bite === void 0 ? void 0 : bite.reportedContentStatus) === "APPEALING";
|
|
2117
2125
|
|
|
2118
2126
|
var renderPlayStateIcon = function renderPlayStateIcon() {
|