@blerp/design 1.2.40 → 1.2.41

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
@@ -2047,8 +2047,8 @@ var BlerpTopRow = function BlerpTopRow(_ref5) {
2047
2047
  top: "0",
2048
2048
  left: "0",
2049
2049
  transition: "0.3s",
2050
- opacity: hoveringAddTo ? "0" : "1",
2051
- width: hoveringAddTo ? "0%" : "50%" // display: hoveringAddTo && "none",
2050
+ opacity: hoveringAddTo ? "0" : "1" // width: hoveringAddTo ? "0%" : "50%",
2051
+ // display: hoveringAddTo && "none",
2052
2052
 
2053
2053
  }
2054
2054
  }, /*#__PURE__*/React__default['default'].createElement(RatingInfo, {
@@ -2070,7 +2070,7 @@ var BlerpTopRow = function BlerpTopRow(_ref5) {
2070
2070
  };
2071
2071
 
2072
2072
  var NewBlerp$1 = function NewBlerp(_ref6) {
2073
- var _bite$blacklistContex, _bite$reportedContent, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
2073
+ var _bite$whitelistContex, _bite$channelPointsCo, _bite$walkOnContext, _bite$soundEmotesCont, _bite$discordContext, _bite$blacklistContex, _bite$reportedContent, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
2074
2074
 
2075
2075
  var Waveform = _ref6.Waveform,
2076
2076
  bite = _ref6.bite,
@@ -2109,15 +2109,11 @@ var NewBlerp$1 = function NewBlerp(_ref6) {
2109
2109
 
2110
2110
  var _useState7 = React.useState(false),
2111
2111
  _useState8 = _slicedToArray__default['default'](_useState7, 2),
2112
- addedToPlace = _useState8[0],
2113
- setAddedToPlace = _useState8[1];
2114
-
2115
- var _useState9 = React.useState(false),
2116
- _useState10 = _slicedToArray__default['default'](_useState9, 2),
2117
- hoveringAddTo = _useState10[0],
2118
- setHoveringAddTo = _useState10[1];
2112
+ hoveringAddTo = _useState8[0],
2113
+ setHoveringAddTo = _useState8[1];
2119
2114
 
2120
2115
  var titleRef = React.useRef(null);
2116
+ 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._id) || (bite === null || bite === void 0 ? void 0 : (_bite$discordContext = bite.discordContext) === null || _bite$discordContext === void 0 ? void 0 : _bite$discordContext._id);
2121
2117
 
2122
2118
  var renderPlayStateIcon = function renderPlayStateIcon() {
2123
2119
  if (playState === "played") {
@@ -2186,11 +2182,7 @@ var NewBlerp$1 = function NewBlerp(_ref6) {
2186
2182
  };
2187
2183
 
2188
2184
  var handleAddToPlace = function handleAddToPlace(added) {
2189
- setAddedToPlace(true);
2190
2185
  onAddToPlace(added);
2191
- setTimeout(function () {
2192
- setAddedToPlace(false);
2193
- }, 2000);
2194
2186
  };
2195
2187
 
2196
2188
  if (!bite) {
package/dist/index.esm.js CHANGED
@@ -1972,8 +1972,8 @@ var BlerpTopRow = function BlerpTopRow(_ref5) {
1972
1972
  top: "0",
1973
1973
  left: "0",
1974
1974
  transition: "0.3s",
1975
- opacity: hoveringAddTo ? "0" : "1",
1976
- width: hoveringAddTo ? "0%" : "50%" // display: hoveringAddTo && "none",
1975
+ opacity: hoveringAddTo ? "0" : "1" // width: hoveringAddTo ? "0%" : "50%",
1976
+ // display: hoveringAddTo && "none",
1977
1977
 
1978
1978
  }
1979
1979
  }, /*#__PURE__*/React__default.createElement(RatingInfo, {
@@ -1995,7 +1995,7 @@ var BlerpTopRow = function BlerpTopRow(_ref5) {
1995
1995
  };
1996
1996
 
1997
1997
  var NewBlerp$1 = function NewBlerp(_ref6) {
1998
- var _bite$blacklistContex, _bite$reportedContent, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
1998
+ var _bite$whitelistContex, _bite$channelPointsCo, _bite$walkOnContext, _bite$soundEmotesCont, _bite$discordContext, _bite$blacklistContex, _bite$reportedContent, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
1999
1999
 
2000
2000
  var Waveform = _ref6.Waveform,
2001
2001
  bite = _ref6.bite,
@@ -2034,15 +2034,11 @@ var NewBlerp$1 = function NewBlerp(_ref6) {
2034
2034
 
2035
2035
  var _useState7 = useState(false),
2036
2036
  _useState8 = _slicedToArray(_useState7, 2),
2037
- addedToPlace = _useState8[0],
2038
- setAddedToPlace = _useState8[1];
2039
-
2040
- var _useState9 = useState(false),
2041
- _useState10 = _slicedToArray(_useState9, 2),
2042
- hoveringAddTo = _useState10[0],
2043
- setHoveringAddTo = _useState10[1];
2037
+ hoveringAddTo = _useState8[0],
2038
+ setHoveringAddTo = _useState8[1];
2044
2039
 
2045
2040
  var titleRef = useRef(null);
2041
+ 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._id) || (bite === null || bite === void 0 ? void 0 : (_bite$discordContext = bite.discordContext) === null || _bite$discordContext === void 0 ? void 0 : _bite$discordContext._id);
2046
2042
 
2047
2043
  var renderPlayStateIcon = function renderPlayStateIcon() {
2048
2044
  if (playState === "played") {
@@ -2111,11 +2107,7 @@ var NewBlerp$1 = function NewBlerp(_ref6) {
2111
2107
  };
2112
2108
 
2113
2109
  var handleAddToPlace = function handleAddToPlace(added) {
2114
- setAddedToPlace(true);
2115
2110
  onAddToPlace(added);
2116
- setTimeout(function () {
2117
- setAddedToPlace(false);
2118
- }, 2000);
2119
2111
  };
2120
2112
 
2121
2113
  if (!bite) {
package/dist/index.umd.js CHANGED
@@ -1993,8 +1993,8 @@
1993
1993
  top: "0",
1994
1994
  left: "0",
1995
1995
  transition: "0.3s",
1996
- opacity: hoveringAddTo ? "0" : "1",
1997
- width: hoveringAddTo ? "0%" : "50%" // display: hoveringAddTo && "none",
1996
+ opacity: hoveringAddTo ? "0" : "1" // width: hoveringAddTo ? "0%" : "50%",
1997
+ // display: hoveringAddTo && "none",
1998
1998
 
1999
1999
  }
2000
2000
  }, /*#__PURE__*/React__default['default'].createElement(RatingInfo, {
@@ -2016,7 +2016,7 @@
2016
2016
  };
2017
2017
 
2018
2018
  var NewBlerp$1 = function NewBlerp(_ref6) {
2019
- var _bite$blacklistContex, _bite$reportedContent, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
2019
+ var _bite$whitelistContex, _bite$channelPointsCo, _bite$walkOnContext, _bite$soundEmotesCont, _bite$discordContext, _bite$blacklistContex, _bite$reportedContent, _bite$blacklistContex2, _bite$image, _bite$image$original, _titleRef$current, _titleRef$current$get;
2020
2020
 
2021
2021
  var Waveform = _ref6.Waveform,
2022
2022
  bite = _ref6.bite,
@@ -2055,15 +2055,11 @@
2055
2055
 
2056
2056
  var _useState7 = React.useState(false),
2057
2057
  _useState8 = _slicedToArray__default['default'](_useState7, 2),
2058
- addedToPlace = _useState8[0],
2059
- setAddedToPlace = _useState8[1];
2060
-
2061
- var _useState9 = React.useState(false),
2062
- _useState10 = _slicedToArray__default['default'](_useState9, 2),
2063
- hoveringAddTo = _useState10[0],
2064
- setHoveringAddTo = _useState10[1];
2058
+ hoveringAddTo = _useState8[0],
2059
+ setHoveringAddTo = _useState8[1];
2065
2060
 
2066
2061
  var titleRef = React.useRef(null);
2062
+ 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._id) || (bite === null || bite === void 0 ? void 0 : (_bite$discordContext = bite.discordContext) === null || _bite$discordContext === void 0 ? void 0 : _bite$discordContext._id);
2067
2063
 
2068
2064
  var renderPlayStateIcon = function renderPlayStateIcon() {
2069
2065
  if (playState === "played") {
@@ -2132,11 +2128,7 @@
2132
2128
  };
2133
2129
 
2134
2130
  var handleAddToPlace = function handleAddToPlace(added) {
2135
- setAddedToPlace(true);
2136
2131
  onAddToPlace(added);
2137
- setTimeout(function () {
2138
- setAddedToPlace(false);
2139
- }, 2000);
2140
2132
  };
2141
2133
 
2142
2134
  if (!bite) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.2.40",
3
+ "version": "1.2.41",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {