@blerp/design 1.0.67 → 1.0.71

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
@@ -1012,15 +1012,15 @@ var BlerpTopRow = function BlerpTopRow(_ref) {
1012
1012
  fontSize: "8px",
1013
1013
  color: isPremium ? "waxwing.main" : "grey5.main",
1014
1014
  sx: {
1015
- maxWidth: "24px",
1015
+ maxWidth: sizeParams.buttonSize === "small" ? "26px" : "40px",
1016
1016
  textOverflow: "ellipsis",
1017
1017
  overflow: "hidden",
1018
1018
  position: "absolute",
1019
- top: "56px",
1020
- right: "4px",
1021
- opacity: isBlerpHovered ? 1 : 0.6
1019
+ top: "26px",
1020
+ right: "8px",
1021
+ opacity: isBlerpHovered ? 1 : 0.78
1022
1022
  }
1023
- }, (Number(bite === null || bite === void 0 ? void 0 : bite.audioDuration) / 1000).toFixed(1), "s"), (bite === null || bite === void 0 ? void 0 : bite.listingType) === "UNSAFE" && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
1023
+ }, (Number(bite === null || bite === void 0 ? void 0 : bite.audioDuration) / 1000).toFixed(1), sizeParams.buttonSize === "small" ? "s" : "sec"), (bite === null || bite === void 0 ? void 0 : bite.listingType) === "UNSAFE" && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
1024
1024
  title: "May contain potentially sensitive content",
1025
1025
  sx: {
1026
1026
  wordWrap: "break-word"
@@ -1029,7 +1029,7 @@ var BlerpTopRow = function BlerpTopRow(_ref) {
1029
1029
  className: "unsafe-icon-blrp",
1030
1030
  sx: {
1031
1031
  position: "absolute",
1032
- top: "30px",
1032
+ top: !(bite !== null && bite !== void 0 && bite.audioDuration) ? "30px" : "42px",
1033
1033
  right: "5px",
1034
1034
  padding: "0"
1035
1035
  }
package/dist/index.esm.js CHANGED
@@ -944,15 +944,15 @@ var BlerpTopRow = function BlerpTopRow(_ref) {
944
944
  fontSize: "8px",
945
945
  color: isPremium ? "waxwing.main" : "grey5.main",
946
946
  sx: {
947
- maxWidth: "24px",
947
+ maxWidth: sizeParams.buttonSize === "small" ? "26px" : "40px",
948
948
  textOverflow: "ellipsis",
949
949
  overflow: "hidden",
950
950
  position: "absolute",
951
- top: "56px",
952
- right: "4px",
953
- opacity: isBlerpHovered ? 1 : 0.6
951
+ top: "26px",
952
+ right: "8px",
953
+ opacity: isBlerpHovered ? 1 : 0.78
954
954
  }
955
- }, (Number(bite === null || bite === void 0 ? void 0 : bite.audioDuration) / 1000).toFixed(1), "s"), (bite === null || bite === void 0 ? void 0 : bite.listingType) === "UNSAFE" && /*#__PURE__*/React__default.createElement(Tooltip, {
955
+ }, (Number(bite === null || bite === void 0 ? void 0 : bite.audioDuration) / 1000).toFixed(1), sizeParams.buttonSize === "small" ? "s" : "sec"), (bite === null || bite === void 0 ? void 0 : bite.listingType) === "UNSAFE" && /*#__PURE__*/React__default.createElement(Tooltip, {
956
956
  title: "May contain potentially sensitive content",
957
957
  sx: {
958
958
  wordWrap: "break-word"
@@ -961,7 +961,7 @@ var BlerpTopRow = function BlerpTopRow(_ref) {
961
961
  className: "unsafe-icon-blrp",
962
962
  sx: {
963
963
  position: "absolute",
964
- top: "30px",
964
+ top: !(bite !== null && bite !== void 0 && bite.audioDuration) ? "30px" : "42px",
965
965
  right: "5px",
966
966
  padding: "0"
967
967
  }
package/dist/index.umd.js CHANGED
@@ -965,15 +965,15 @@
965
965
  fontSize: "8px",
966
966
  color: isPremium ? "waxwing.main" : "grey5.main",
967
967
  sx: {
968
- maxWidth: "24px",
968
+ maxWidth: sizeParams.buttonSize === "small" ? "26px" : "40px",
969
969
  textOverflow: "ellipsis",
970
970
  overflow: "hidden",
971
971
  position: "absolute",
972
- top: "56px",
973
- right: "4px",
974
- opacity: isBlerpHovered ? 1 : 0.6
972
+ top: "26px",
973
+ right: "8px",
974
+ opacity: isBlerpHovered ? 1 : 0.78
975
975
  }
976
- }, (Number(bite === null || bite === void 0 ? void 0 : bite.audioDuration) / 1000).toFixed(1), "s"), (bite === null || bite === void 0 ? void 0 : bite.listingType) === "UNSAFE" && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
976
+ }, (Number(bite === null || bite === void 0 ? void 0 : bite.audioDuration) / 1000).toFixed(1), sizeParams.buttonSize === "small" ? "s" : "sec"), (bite === null || bite === void 0 ? void 0 : bite.listingType) === "UNSAFE" && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
977
977
  title: "May contain potentially sensitive content",
978
978
  sx: {
979
979
  wordWrap: "break-word"
@@ -982,7 +982,7 @@
982
982
  className: "unsafe-icon-blrp",
983
983
  sx: {
984
984
  position: "absolute",
985
- top: "30px",
985
+ top: !(bite !== null && bite !== void 0 && bite.audioDuration) ? "30px" : "42px",
986
986
  right: "5px",
987
987
  padding: "0"
988
988
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.0.67",
3
+ "version": "1.0.71",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {