@blerp/design 1.1.1 → 1.1.2
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 +34 -13
- package/dist/index.esm.js +34 -13
- package/dist/index.umd.js +37 -17
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6,6 +6,7 @@ var material = require('@mui/material');
|
|
|
6
6
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
var PropTypes = require('prop-types');
|
|
8
8
|
var React = require('react');
|
|
9
|
+
var reactColorExtractor = require('react-color-extractor');
|
|
9
10
|
var styled = require('styled-components');
|
|
10
11
|
var _taggedTemplateLiteral = require('@babel/runtime/helpers/taggedTemplateLiteral');
|
|
11
12
|
var iconsMaterial = require('@mui/icons-material');
|
|
@@ -1315,6 +1316,8 @@ var reactionIconUrls$1 = {
|
|
|
1315
1316
|
LOVE: "https://cdn.blerp.com/blerp_products/Icons/Heart%403x.svg"
|
|
1316
1317
|
};
|
|
1317
1318
|
var Blerp$1 = function Blerp(_ref) {
|
|
1319
|
+
var _bite$image, _bite$image$original;
|
|
1320
|
+
|
|
1318
1321
|
var bite = _ref.bite,
|
|
1319
1322
|
title = _ref.title,
|
|
1320
1323
|
variantSize = _ref.variantSize,
|
|
@@ -1350,8 +1353,8 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1350
1353
|
|
|
1351
1354
|
var _useState3 = React.useState(null),
|
|
1352
1355
|
_useState4 = _slicedToArray__default['default'](_useState3, 2),
|
|
1353
|
-
profileColors = _useState4[0]
|
|
1354
|
-
_useState4[1];
|
|
1356
|
+
profileColors = _useState4[0],
|
|
1357
|
+
setProfileColors = _useState4[1];
|
|
1355
1358
|
|
|
1356
1359
|
var _useState5 = React.useState(false),
|
|
1357
1360
|
_useState6 = _slicedToArray__default['default'](_useState5, 2),
|
|
@@ -1479,6 +1482,11 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1479
1482
|
background: profileColors ? "linear-gradient(180deg, ".concat(profileColors[0]).concat(isPremium ? isLocked ? isBlerpHovered ? "C4" : "78" : isBlerpHovered ? "" : "C4" : "0", ", ").concat(theme.colors.grey5Override).concat(isPremium ? isLocked ? isBlerpHovered ? "C4" : "78" : isBlerpHovered ? "" : "C4" : "0", ")") : "",
|
|
1480
1483
|
backgroundColor: isPremium && !profileColors && "grey5.override"
|
|
1481
1484
|
}
|
|
1485
|
+
}), /*#__PURE__*/React__default['default'].createElement(reactColorExtractor.ColorExtractor, {
|
|
1486
|
+
src: bite === null || bite === void 0 ? void 0 : (_bite$image = bite.image) === null || _bite$image === void 0 ? void 0 : (_bite$image$original = _bite$image.original) === null || _bite$image$original === void 0 ? void 0 : _bite$image$original.url,
|
|
1487
|
+
getColors: function getColors(colors) {
|
|
1488
|
+
return setProfileColors(colors);
|
|
1489
|
+
}
|
|
1482
1490
|
}), /*#__PURE__*/React__default['default'].createElement(BlerpTopRow, {
|
|
1483
1491
|
bite: bite,
|
|
1484
1492
|
isOwner: isOwner,
|
|
@@ -7428,7 +7436,7 @@ var LockedScrimBackground = styled__default['default'].div(_templateObject6 || (
|
|
|
7428
7436
|
return props.collectionHovered ? "0.5" : "0";
|
|
7429
7437
|
});
|
|
7430
7438
|
var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
7431
|
-
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$ownerObje, _collection$ownerObje2, _collection$ownerObje3, _collection$
|
|
7439
|
+
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$image3, _collection$image3$or, _collection$ownerObje, _collection$ownerObje2, _collection$ownerObje3, _collection$image4, _collection$image4$or;
|
|
7432
7440
|
|
|
7433
7441
|
var collection = _ref.collection,
|
|
7434
7442
|
variantSize = _ref.variantSize,
|
|
@@ -7455,8 +7463,8 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7455
7463
|
|
|
7456
7464
|
var _useState = React.useState(null),
|
|
7457
7465
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
7458
|
-
cardColors = _useState2[0]
|
|
7459
|
-
_useState2[1];
|
|
7466
|
+
cardColors = _useState2[0],
|
|
7467
|
+
setCardColors = _useState2[1];
|
|
7460
7468
|
|
|
7461
7469
|
var _useState3 = React.useState(false),
|
|
7462
7470
|
_useState4 = _slicedToArray__default['default'](_useState3, 2),
|
|
@@ -7498,7 +7506,15 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7498
7506
|
width: fluid ? "80%" : sizeParams.width,
|
|
7499
7507
|
height: fluid ? "80%" : sizeParams.height
|
|
7500
7508
|
}
|
|
7501
|
-
}, /*#__PURE__*/React__default['default'].createElement(
|
|
7509
|
+
}, /*#__PURE__*/React__default['default'].createElement(reactColorExtractor.ColorExtractor, {
|
|
7510
|
+
style: {
|
|
7511
|
+
zIndex: "3"
|
|
7512
|
+
},
|
|
7513
|
+
src: collection === null || collection === void 0 ? void 0 : (_collection$image2 = collection.image) === null || _collection$image2 === void 0 ? void 0 : (_collection$image2$or = _collection$image2.original) === null || _collection$image2$or === void 0 ? void 0 : _collection$image2$or.url,
|
|
7514
|
+
getColors: function getColors(colors) {
|
|
7515
|
+
return setCardColors(colors);
|
|
7516
|
+
}
|
|
7517
|
+
}), /*#__PURE__*/React__default['default'].createElement(Box, {
|
|
7502
7518
|
onClick: function onClick(e) {
|
|
7503
7519
|
e.stopPropagation();
|
|
7504
7520
|
if (handleClickBackground) handleClickBackground();
|
|
@@ -7571,7 +7587,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7571
7587
|
}
|
|
7572
7588
|
}), /*#__PURE__*/React__default['default'].createElement(Box, {
|
|
7573
7589
|
sx: {
|
|
7574
|
-
backgroundImage: "linear-gradient(".concat(data.vibrant || "#000000", "9a, #0000007a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$
|
|
7590
|
+
backgroundImage: "linear-gradient(".concat(data.vibrant || "#000000", "9a, #0000007a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$image3 = collection.image) === null || _collection$image3 === void 0 ? void 0 : (_collection$image3$or = _collection$image3.original) === null || _collection$image3$or === void 0 ? void 0 : _collection$image3$or.url, ")"),
|
|
7575
7591
|
backgroundSize: "cover",
|
|
7576
7592
|
backgroundPosition: "center",
|
|
7577
7593
|
backgroundRepeat: "no-repeat",
|
|
@@ -7891,7 +7907,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7891
7907
|
// What to display when variantSize === "small":
|
|
7892
7908
|
React__default['default'].createElement(Box, {
|
|
7893
7909
|
sx: {
|
|
7894
|
-
backgroundImage: "linear-gradient(".concat(cardColors ? cardColors[0] : "#000000", "7a, #0000004a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$
|
|
7910
|
+
backgroundImage: "linear-gradient(".concat(cardColors ? cardColors[0] : "#000000", "7a, #0000004a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$image4 = collection.image) === null || _collection$image4 === void 0 ? void 0 : (_collection$image4$or = _collection$image4.original) === null || _collection$image4$or === void 0 ? void 0 : _collection$image4$or.url, ")"),
|
|
7895
7911
|
backgroundSize: "cover",
|
|
7896
7912
|
backgroundPosition: "center",
|
|
7897
7913
|
backgroundRepeat: "no-repeat",
|
|
@@ -8290,7 +8306,7 @@ var CollectionCard$1 = function CollectionCard(_ref) {
|
|
|
8290
8306
|
};
|
|
8291
8307
|
|
|
8292
8308
|
var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
8293
|
-
var _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$
|
|
8309
|
+
var _userData$profileImag, _userData$profileImag2, _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$profileImag3, _userData$profileImag4, _userData$socialLinks2;
|
|
8294
8310
|
|
|
8295
8311
|
var followUser = _ref.followUser,
|
|
8296
8312
|
isOwner = _ref.isOwner,
|
|
@@ -8300,8 +8316,8 @@ var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
|
8300
8316
|
|
|
8301
8317
|
var _useState = React.useState(null),
|
|
8302
8318
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
8303
|
-
profileColors = _useState2[0]
|
|
8304
|
-
_useState2[1];
|
|
8319
|
+
profileColors = _useState2[0],
|
|
8320
|
+
setProfileColors = _useState2[1];
|
|
8305
8321
|
|
|
8306
8322
|
var size = useWindowSize();
|
|
8307
8323
|
|
|
@@ -8398,7 +8414,12 @@ var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
|
8398
8414
|
});
|
|
8399
8415
|
};
|
|
8400
8416
|
|
|
8401
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(
|
|
8417
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(reactColorExtractor.ColorExtractor, {
|
|
8418
|
+
src: userData === null || userData === void 0 ? void 0 : (_userData$profileImag = userData.profileImage) === null || _userData$profileImag === void 0 ? void 0 : (_userData$profileImag2 = _userData$profileImag.original) === null || _userData$profileImag2 === void 0 ? void 0 : _userData$profileImag2.url,
|
|
8419
|
+
getColors: function getColors(colors) {
|
|
8420
|
+
return setProfileColors(colors);
|
|
8421
|
+
}
|
|
8422
|
+
}), /*#__PURE__*/React__default['default'].createElement(Stack, {
|
|
8402
8423
|
width: "100%",
|
|
8403
8424
|
sx: {
|
|
8404
8425
|
height: "250px",
|
|
@@ -8488,7 +8509,7 @@ var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
|
8488
8509
|
margin: "0 20px"
|
|
8489
8510
|
},
|
|
8490
8511
|
alt: "profile img",
|
|
8491
|
-
src: userData === null || userData === void 0 ? void 0 : (_userData$
|
|
8512
|
+
src: userData === null || userData === void 0 ? void 0 : (_userData$profileImag3 = userData.profileImage) === null || _userData$profileImag3 === void 0 ? void 0 : (_userData$profileImag4 = _userData$profileImag3.original) === null || _userData$profileImag4 === void 0 ? void 0 : _userData$profileImag4.url
|
|
8492
8513
|
}), /*#__PURE__*/React__default['default'].createElement(Stack, {
|
|
8493
8514
|
marginLeft: "20px"
|
|
8494
8515
|
}, /*#__PURE__*/React__default['default'].createElement(Stack, {
|
package/dist/index.esm.js
CHANGED
|
@@ -3,6 +3,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import React__default, { useState, useEffect, useContext, useRef, createRef, cloneElement } from 'react';
|
|
6
|
+
import { ColorExtractor } from 'react-color-extractor';
|
|
6
7
|
import styled, { ThemeContext, keyframes, ThemeProvider as ThemeProvider$1 } from 'styled-components';
|
|
7
8
|
import _taggedTemplateLiteral from '@babel/runtime/helpers/taggedTemplateLiteral';
|
|
8
9
|
import { PauseCircleOutlineRounded, LockRounded, CheckRounded, BookmarkRounded, BookmarkAddOutlined, AccountCircleRounded, VisibilityOffRounded, CancelRounded } from '@mui/icons-material';
|
|
@@ -1246,6 +1247,8 @@ var reactionIconUrls$1 = {
|
|
|
1246
1247
|
LOVE: "https://cdn.blerp.com/blerp_products/Icons/Heart%403x.svg"
|
|
1247
1248
|
};
|
|
1248
1249
|
var Blerp$1 = function Blerp(_ref) {
|
|
1250
|
+
var _bite$image, _bite$image$original;
|
|
1251
|
+
|
|
1249
1252
|
var bite = _ref.bite,
|
|
1250
1253
|
title = _ref.title,
|
|
1251
1254
|
variantSize = _ref.variantSize,
|
|
@@ -1281,8 +1284,8 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1281
1284
|
|
|
1282
1285
|
var _useState3 = useState(null),
|
|
1283
1286
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
1284
|
-
profileColors = _useState4[0]
|
|
1285
|
-
_useState4[1];
|
|
1287
|
+
profileColors = _useState4[0],
|
|
1288
|
+
setProfileColors = _useState4[1];
|
|
1286
1289
|
|
|
1287
1290
|
var _useState5 = useState(false),
|
|
1288
1291
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -1410,6 +1413,11 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1410
1413
|
background: profileColors ? "linear-gradient(180deg, ".concat(profileColors[0]).concat(isPremium ? isLocked ? isBlerpHovered ? "C4" : "78" : isBlerpHovered ? "" : "C4" : "0", ", ").concat(theme.colors.grey5Override).concat(isPremium ? isLocked ? isBlerpHovered ? "C4" : "78" : isBlerpHovered ? "" : "C4" : "0", ")") : "",
|
|
1411
1414
|
backgroundColor: isPremium && !profileColors && "grey5.override"
|
|
1412
1415
|
}
|
|
1416
|
+
}), /*#__PURE__*/React__default.createElement(ColorExtractor, {
|
|
1417
|
+
src: bite === null || bite === void 0 ? void 0 : (_bite$image = bite.image) === null || _bite$image === void 0 ? void 0 : (_bite$image$original = _bite$image.original) === null || _bite$image$original === void 0 ? void 0 : _bite$image$original.url,
|
|
1418
|
+
getColors: function getColors(colors) {
|
|
1419
|
+
return setProfileColors(colors);
|
|
1420
|
+
}
|
|
1413
1421
|
}), /*#__PURE__*/React__default.createElement(BlerpTopRow, {
|
|
1414
1422
|
bite: bite,
|
|
1415
1423
|
isOwner: isOwner,
|
|
@@ -7359,7 +7367,7 @@ var LockedScrimBackground = styled.div(_templateObject6 || (_templateObject6 = _
|
|
|
7359
7367
|
return props.collectionHovered ? "0.5" : "0";
|
|
7360
7368
|
});
|
|
7361
7369
|
var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
7362
|
-
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$ownerObje, _collection$ownerObje2, _collection$ownerObje3, _collection$
|
|
7370
|
+
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$image3, _collection$image3$or, _collection$ownerObje, _collection$ownerObje2, _collection$ownerObje3, _collection$image4, _collection$image4$or;
|
|
7363
7371
|
|
|
7364
7372
|
var collection = _ref.collection,
|
|
7365
7373
|
variantSize = _ref.variantSize,
|
|
@@ -7386,8 +7394,8 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7386
7394
|
|
|
7387
7395
|
var _useState = useState(null),
|
|
7388
7396
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7389
|
-
cardColors = _useState2[0]
|
|
7390
|
-
_useState2[1];
|
|
7397
|
+
cardColors = _useState2[0],
|
|
7398
|
+
setCardColors = _useState2[1];
|
|
7391
7399
|
|
|
7392
7400
|
var _useState3 = useState(false),
|
|
7393
7401
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -7429,7 +7437,15 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7429
7437
|
width: fluid ? "80%" : sizeParams.width,
|
|
7430
7438
|
height: fluid ? "80%" : sizeParams.height
|
|
7431
7439
|
}
|
|
7432
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
7440
|
+
}, /*#__PURE__*/React__default.createElement(ColorExtractor, {
|
|
7441
|
+
style: {
|
|
7442
|
+
zIndex: "3"
|
|
7443
|
+
},
|
|
7444
|
+
src: collection === null || collection === void 0 ? void 0 : (_collection$image2 = collection.image) === null || _collection$image2 === void 0 ? void 0 : (_collection$image2$or = _collection$image2.original) === null || _collection$image2$or === void 0 ? void 0 : _collection$image2$or.url,
|
|
7445
|
+
getColors: function getColors(colors) {
|
|
7446
|
+
return setCardColors(colors);
|
|
7447
|
+
}
|
|
7448
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
7433
7449
|
onClick: function onClick(e) {
|
|
7434
7450
|
e.stopPropagation();
|
|
7435
7451
|
if (handleClickBackground) handleClickBackground();
|
|
@@ -7502,7 +7518,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7502
7518
|
}
|
|
7503
7519
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
7504
7520
|
sx: {
|
|
7505
|
-
backgroundImage: "linear-gradient(".concat(data.vibrant || "#000000", "9a, #0000007a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$
|
|
7521
|
+
backgroundImage: "linear-gradient(".concat(data.vibrant || "#000000", "9a, #0000007a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$image3 = collection.image) === null || _collection$image3 === void 0 ? void 0 : (_collection$image3$or = _collection$image3.original) === null || _collection$image3$or === void 0 ? void 0 : _collection$image3$or.url, ")"),
|
|
7506
7522
|
backgroundSize: "cover",
|
|
7507
7523
|
backgroundPosition: "center",
|
|
7508
7524
|
backgroundRepeat: "no-repeat",
|
|
@@ -7822,7 +7838,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
|
7822
7838
|
// What to display when variantSize === "small":
|
|
7823
7839
|
React__default.createElement(Box, {
|
|
7824
7840
|
sx: {
|
|
7825
|
-
backgroundImage: "linear-gradient(".concat(cardColors ? cardColors[0] : "#000000", "7a, #0000004a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$
|
|
7841
|
+
backgroundImage: "linear-gradient(".concat(cardColors ? cardColors[0] : "#000000", "7a, #0000004a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$image4 = collection.image) === null || _collection$image4 === void 0 ? void 0 : (_collection$image4$or = _collection$image4.original) === null || _collection$image4$or === void 0 ? void 0 : _collection$image4$or.url, ")"),
|
|
7826
7842
|
backgroundSize: "cover",
|
|
7827
7843
|
backgroundPosition: "center",
|
|
7828
7844
|
backgroundRepeat: "no-repeat",
|
|
@@ -8221,7 +8237,7 @@ var CollectionCard$1 = function CollectionCard(_ref) {
|
|
|
8221
8237
|
};
|
|
8222
8238
|
|
|
8223
8239
|
var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
8224
|
-
var _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$
|
|
8240
|
+
var _userData$profileImag, _userData$profileImag2, _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$profileImag3, _userData$profileImag4, _userData$socialLinks2;
|
|
8225
8241
|
|
|
8226
8242
|
var followUser = _ref.followUser,
|
|
8227
8243
|
isOwner = _ref.isOwner,
|
|
@@ -8231,8 +8247,8 @@ var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
|
8231
8247
|
|
|
8232
8248
|
var _useState = useState(null),
|
|
8233
8249
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8234
|
-
profileColors = _useState2[0]
|
|
8235
|
-
_useState2[1];
|
|
8250
|
+
profileColors = _useState2[0],
|
|
8251
|
+
setProfileColors = _useState2[1];
|
|
8236
8252
|
|
|
8237
8253
|
var size = useWindowSize();
|
|
8238
8254
|
|
|
@@ -8329,7 +8345,12 @@ var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
|
8329
8345
|
});
|
|
8330
8346
|
};
|
|
8331
8347
|
|
|
8332
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(
|
|
8348
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ColorExtractor, {
|
|
8349
|
+
src: userData === null || userData === void 0 ? void 0 : (_userData$profileImag = userData.profileImage) === null || _userData$profileImag === void 0 ? void 0 : (_userData$profileImag2 = _userData$profileImag.original) === null || _userData$profileImag2 === void 0 ? void 0 : _userData$profileImag2.url,
|
|
8350
|
+
getColors: function getColors(colors) {
|
|
8351
|
+
return setProfileColors(colors);
|
|
8352
|
+
}
|
|
8353
|
+
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
8333
8354
|
width: "100%",
|
|
8334
8355
|
sx: {
|
|
8335
8356
|
height: "250px",
|
|
@@ -8419,7 +8440,7 @@ var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
|
8419
8440
|
margin: "0 20px"
|
|
8420
8441
|
},
|
|
8421
8442
|
alt: "profile img",
|
|
8422
|
-
src: userData === null || userData === void 0 ? void 0 : (_userData$
|
|
8443
|
+
src: userData === null || userData === void 0 ? void 0 : (_userData$profileImag3 = userData.profileImage) === null || _userData$profileImag3 === void 0 ? void 0 : (_userData$profileImag4 = _userData$profileImag3.original) === null || _userData$profileImag4 === void 0 ? void 0 : _userData$profileImag4.url
|
|
8423
8444
|
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
8424
8445
|
marginLeft: "20px"
|
|
8425
8446
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@mui/material'), require('@babel/runtime/helpers/slicedToArray'), require('prop-types'), require('react'), require('styled-components'), require('@babel/runtime/helpers/taggedTemplateLiteral'), require('@mui/icons-material'), require('@mui/icons-material/BookmarkOutlined'), require('@mui/icons-material/LockRounded'), require('@mui/icons-material/BookmarkAddOutlined'), require('@mui/icons-material/MoreHorizRounded'), require('react-palette'), require('@babel/runtime/helpers/typeof'), require('@mui/icons-material/KeyboardArrowRightRounded'), require('@babel/runtime/helpers/defineProperty'), require('@mui/icons-material/KeyboardArrowDownRounded'), require('@mui/icons-material/CloseRounded'), require('@mui/icons-material/FileUploadRounded'), require('@babel/runtime/helpers/extends'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('react-avatar-editor'), require('react-dropzone'), require('@mui/icons-material/InsertPhotoRounded'), require('@mui/material/styles'), require('@mui/material/Slide'), require('@mui/material/Fade'), require('react-lottie'), require('@mui/icons-material/AddRounded'), require('@mui/icons-material/Facebook'), require('@mui/icons-material/Instagram'), require('@mui/icons-material/ModeEditRounded'), require('@mui/icons-material/PersonAddRounded'), require('@mui/icons-material/Pinterest'), require('@mui/icons-material/Twitter'), require('@mui/icons-material/YouTube'), require('@mui/icons-material/PersonRemoveRounded'), require('@babel/runtime/helpers/toConsumableArray'), require('@mui/icons-material/FilterAltRounded'), require('@mui/icons-material/MenuRounded'), require('@mui/icons-material/ViewModuleRounded'), require('@mui/icons-material/SettingsRounded'), require('@mui/icons-material/SortRounded'), require('@mui/icons-material/ChevronRightRounded'), require('@mui/icons-material/PersonRounded'), require('@mui/icons-material/SearchRounded'), require('@mui/icons-material/BookmarkRemoveOutlined'), require('@mui/icons-material/VisibilityOffRounded')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@mui/material', '@babel/runtime/helpers/slicedToArray', 'prop-types', 'react', 'styled-components', '@babel/runtime/helpers/taggedTemplateLiteral', '@mui/icons-material', '@mui/icons-material/BookmarkOutlined', '@mui/icons-material/LockRounded', '@mui/icons-material/BookmarkAddOutlined', '@mui/icons-material/MoreHorizRounded', 'react-palette', '@babel/runtime/helpers/typeof', '@mui/icons-material/KeyboardArrowRightRounded', '@babel/runtime/helpers/defineProperty', '@mui/icons-material/KeyboardArrowDownRounded', '@mui/icons-material/CloseRounded', '@mui/icons-material/FileUploadRounded', '@babel/runtime/helpers/extends', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', 'react-avatar-editor', 'react-dropzone', '@mui/icons-material/InsertPhotoRounded', '@mui/material/styles', '@mui/material/Slide', '@mui/material/Fade', 'react-lottie', '@mui/icons-material/AddRounded', '@mui/icons-material/Facebook', '@mui/icons-material/Instagram', '@mui/icons-material/ModeEditRounded', '@mui/icons-material/PersonAddRounded', '@mui/icons-material/Pinterest', '@mui/icons-material/Twitter', '@mui/icons-material/YouTube', '@mui/icons-material/PersonRemoveRounded', '@babel/runtime/helpers/toConsumableArray', '@mui/icons-material/FilterAltRounded', '@mui/icons-material/MenuRounded', '@mui/icons-material/ViewModuleRounded', '@mui/icons-material/SettingsRounded', '@mui/icons-material/SortRounded', '@mui/icons-material/ChevronRightRounded', '@mui/icons-material/PersonRounded', '@mui/icons-material/SearchRounded', '@mui/icons-material/BookmarkRemoveOutlined', '@mui/icons-material/VisibilityOffRounded'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['react-awesome-buttons'] = {}, global.material, global._slicedToArray, global.PropTypes, global.React, global.styled, global._taggedTemplateLiteral, global.iconsMaterial, global.BookmarkOutlinedIcon, global.LockRoundedIcon, global.BookmarkAddOutlinedIcon, global.MoreHorizRoundedIcon, global.reactPalette, global._typeof, global.KeyboardArrowRightRoundedIcon, global._defineProperty, global.KeyboardArrowDownRoundedIcon, global.CloseRoundedIcon, global.FileUploadRoundedIcon, global._extends, global._asyncToGenerator, global._regeneratorRuntime, global.AvatarEditor, global.Dropzone, global.InsertPhotoRoundedIcon, global.styles, global.Slide, global.Fade, global.Lottie, global.AddRoundedIcon, global.FacebookIcon, global.InstagramIcon, global.ModeEditRoundedIcon, global.PersonAddRoundedIcon, global.PinterestIcon, global.TwitterIcon, global.YouTubeIcon, global.PersonRemoveRoundedIcon, global._toConsumableArray, null, global.MenuRoundedIcon, global.ViewModuleRoundedIcon, null, global.SortRoundedIcon, global.ChevronRightRoundedIcon, global.PersonRoundedIcon, global.SearchRoundedIcon, global.BookmarkRemoveOutlinedIcon, global.VisibilityOffRoundedIcon));
|
|
5
|
-
}(this, (function (exports, material, _slicedToArray, PropTypes, React, styled, _taggedTemplateLiteral, iconsMaterial, BookmarkOutlinedIcon, LockRoundedIcon, BookmarkAddOutlinedIcon, MoreHorizRoundedIcon, reactPalette, _typeof, KeyboardArrowRightRoundedIcon, _defineProperty, KeyboardArrowDownRoundedIcon, CloseRoundedIcon, FileUploadRoundedIcon, _extends, _asyncToGenerator, _regeneratorRuntime, AvatarEditor, Dropzone, InsertPhotoRoundedIcon, styles, Slide, Fade, Lottie, AddRoundedIcon, FacebookIcon, InstagramIcon, ModeEditRoundedIcon, PersonAddRoundedIcon, PinterestIcon, TwitterIcon, YouTubeIcon, PersonRemoveRoundedIcon, _toConsumableArray, FilterAltRounded, MenuRoundedIcon, ViewModuleRoundedIcon, SettingsRounded, SortRoundedIcon, ChevronRightRoundedIcon, PersonRoundedIcon, SearchRoundedIcon, BookmarkRemoveOutlinedIcon, VisibilityOffRoundedIcon) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@mui/material'), require('@babel/runtime/helpers/slicedToArray'), require('prop-types'), require('react'), require('react-color-extractor'), require('styled-components'), require('@babel/runtime/helpers/taggedTemplateLiteral'), require('@mui/icons-material'), require('@mui/icons-material/BookmarkOutlined'), require('@mui/icons-material/LockRounded'), require('@mui/icons-material/BookmarkAddOutlined'), require('@mui/icons-material/MoreHorizRounded'), require('react-palette'), require('@babel/runtime/helpers/typeof'), require('@mui/icons-material/KeyboardArrowRightRounded'), require('@babel/runtime/helpers/defineProperty'), require('@mui/icons-material/KeyboardArrowDownRounded'), require('@mui/icons-material/CloseRounded'), require('@mui/icons-material/FileUploadRounded'), require('@babel/runtime/helpers/extends'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('react-avatar-editor'), require('react-dropzone'), require('@mui/icons-material/InsertPhotoRounded'), require('@mui/material/styles'), require('@mui/material/Slide'), require('@mui/material/Fade'), require('react-lottie'), require('@mui/icons-material/AddRounded'), require('@mui/icons-material/Facebook'), require('@mui/icons-material/Instagram'), require('@mui/icons-material/ModeEditRounded'), require('@mui/icons-material/PersonAddRounded'), require('@mui/icons-material/Pinterest'), require('@mui/icons-material/Twitter'), require('@mui/icons-material/YouTube'), require('@mui/icons-material/PersonRemoveRounded'), require('@babel/runtime/helpers/toConsumableArray'), require('@mui/icons-material/FilterAltRounded'), require('@mui/icons-material/MenuRounded'), require('@mui/icons-material/ViewModuleRounded'), require('@mui/icons-material/SettingsRounded'), require('@mui/icons-material/SortRounded'), require('@mui/icons-material/ChevronRightRounded'), require('@mui/icons-material/PersonRounded'), require('@mui/icons-material/SearchRounded'), require('@mui/icons-material/BookmarkRemoveOutlined'), require('@mui/icons-material/VisibilityOffRounded')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@mui/material', '@babel/runtime/helpers/slicedToArray', 'prop-types', 'react', 'react-color-extractor', 'styled-components', '@babel/runtime/helpers/taggedTemplateLiteral', '@mui/icons-material', '@mui/icons-material/BookmarkOutlined', '@mui/icons-material/LockRounded', '@mui/icons-material/BookmarkAddOutlined', '@mui/icons-material/MoreHorizRounded', 'react-palette', '@babel/runtime/helpers/typeof', '@mui/icons-material/KeyboardArrowRightRounded', '@babel/runtime/helpers/defineProperty', '@mui/icons-material/KeyboardArrowDownRounded', '@mui/icons-material/CloseRounded', '@mui/icons-material/FileUploadRounded', '@babel/runtime/helpers/extends', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', 'react-avatar-editor', 'react-dropzone', '@mui/icons-material/InsertPhotoRounded', '@mui/material/styles', '@mui/material/Slide', '@mui/material/Fade', 'react-lottie', '@mui/icons-material/AddRounded', '@mui/icons-material/Facebook', '@mui/icons-material/Instagram', '@mui/icons-material/ModeEditRounded', '@mui/icons-material/PersonAddRounded', '@mui/icons-material/Pinterest', '@mui/icons-material/Twitter', '@mui/icons-material/YouTube', '@mui/icons-material/PersonRemoveRounded', '@babel/runtime/helpers/toConsumableArray', '@mui/icons-material/FilterAltRounded', '@mui/icons-material/MenuRounded', '@mui/icons-material/ViewModuleRounded', '@mui/icons-material/SettingsRounded', '@mui/icons-material/SortRounded', '@mui/icons-material/ChevronRightRounded', '@mui/icons-material/PersonRounded', '@mui/icons-material/SearchRounded', '@mui/icons-material/BookmarkRemoveOutlined', '@mui/icons-material/VisibilityOffRounded'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['react-awesome-buttons'] = {}, global.material, global._slicedToArray, global.PropTypes, global.React, global.reactColorExtractor, global.styled, global._taggedTemplateLiteral, global.iconsMaterial, global.BookmarkOutlinedIcon, global.LockRoundedIcon, global.BookmarkAddOutlinedIcon, global.MoreHorizRoundedIcon, global.reactPalette, global._typeof, global.KeyboardArrowRightRoundedIcon, global._defineProperty, global.KeyboardArrowDownRoundedIcon, global.CloseRoundedIcon, global.FileUploadRoundedIcon, global._extends, global._asyncToGenerator, global._regeneratorRuntime, global.AvatarEditor, global.Dropzone, global.InsertPhotoRoundedIcon, global.styles, global.Slide, global.Fade, global.Lottie, global.AddRoundedIcon, global.FacebookIcon, global.InstagramIcon, global.ModeEditRoundedIcon, global.PersonAddRoundedIcon, global.PinterestIcon, global.TwitterIcon, global.YouTubeIcon, global.PersonRemoveRoundedIcon, global._toConsumableArray, null, global.MenuRoundedIcon, global.ViewModuleRoundedIcon, null, global.SortRoundedIcon, global.ChevronRightRoundedIcon, global.PersonRoundedIcon, global.SearchRoundedIcon, global.BookmarkRemoveOutlinedIcon, global.VisibilityOffRoundedIcon));
|
|
5
|
+
}(this, (function (exports, material, _slicedToArray, PropTypes, React, reactColorExtractor, styled, _taggedTemplateLiteral, iconsMaterial, BookmarkOutlinedIcon, LockRoundedIcon, BookmarkAddOutlinedIcon, MoreHorizRoundedIcon, reactPalette, _typeof, KeyboardArrowRightRoundedIcon, _defineProperty, KeyboardArrowDownRoundedIcon, CloseRoundedIcon, FileUploadRoundedIcon, _extends, _asyncToGenerator, _regeneratorRuntime, AvatarEditor, Dropzone, InsertPhotoRoundedIcon, styles, Slide, Fade, Lottie, AddRoundedIcon, FacebookIcon, InstagramIcon, ModeEditRoundedIcon, PersonAddRoundedIcon, PinterestIcon, TwitterIcon, YouTubeIcon, PersonRemoveRoundedIcon, _toConsumableArray, FilterAltRounded, MenuRoundedIcon, ViewModuleRoundedIcon, SettingsRounded, SortRoundedIcon, ChevronRightRoundedIcon, PersonRoundedIcon, SearchRoundedIcon, BookmarkRemoveOutlinedIcon, VisibilityOffRoundedIcon) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -1268,6 +1268,8 @@
|
|
|
1268
1268
|
LOVE: "https://cdn.blerp.com/blerp_products/Icons/Heart%403x.svg"
|
|
1269
1269
|
};
|
|
1270
1270
|
var Blerp$1 = function Blerp(_ref) {
|
|
1271
|
+
var _bite$image, _bite$image$original;
|
|
1272
|
+
|
|
1271
1273
|
var bite = _ref.bite,
|
|
1272
1274
|
title = _ref.title,
|
|
1273
1275
|
variantSize = _ref.variantSize,
|
|
@@ -1303,8 +1305,8 @@
|
|
|
1303
1305
|
|
|
1304
1306
|
var _useState3 = React.useState(null),
|
|
1305
1307
|
_useState4 = _slicedToArray__default['default'](_useState3, 2),
|
|
1306
|
-
profileColors = _useState4[0]
|
|
1307
|
-
_useState4[1];
|
|
1308
|
+
profileColors = _useState4[0],
|
|
1309
|
+
setProfileColors = _useState4[1];
|
|
1308
1310
|
|
|
1309
1311
|
var _useState5 = React.useState(false),
|
|
1310
1312
|
_useState6 = _slicedToArray__default['default'](_useState5, 2),
|
|
@@ -1432,6 +1434,11 @@
|
|
|
1432
1434
|
background: profileColors ? "linear-gradient(180deg, ".concat(profileColors[0]).concat(isPremium ? isLocked ? isBlerpHovered ? "C4" : "78" : isBlerpHovered ? "" : "C4" : "0", ", ").concat(theme.colors.grey5Override).concat(isPremium ? isLocked ? isBlerpHovered ? "C4" : "78" : isBlerpHovered ? "" : "C4" : "0", ")") : "",
|
|
1433
1435
|
backgroundColor: isPremium && !profileColors && "grey5.override"
|
|
1434
1436
|
}
|
|
1437
|
+
}), /*#__PURE__*/React__default['default'].createElement(reactColorExtractor.ColorExtractor, {
|
|
1438
|
+
src: bite === null || bite === void 0 ? void 0 : (_bite$image = bite.image) === null || _bite$image === void 0 ? void 0 : (_bite$image$original = _bite$image.original) === null || _bite$image$original === void 0 ? void 0 : _bite$image$original.url,
|
|
1439
|
+
getColors: function getColors(colors) {
|
|
1440
|
+
return setProfileColors(colors);
|
|
1441
|
+
}
|
|
1435
1442
|
}), /*#__PURE__*/React__default['default'].createElement(BlerpTopRow, {
|
|
1436
1443
|
bite: bite,
|
|
1437
1444
|
isOwner: isOwner,
|
|
@@ -7381,7 +7388,7 @@
|
|
|
7381
7388
|
return props.collectionHovered ? "0.5" : "0";
|
|
7382
7389
|
});
|
|
7383
7390
|
var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
|
|
7384
|
-
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$ownerObje, _collection$ownerObje2, _collection$ownerObje3, _collection$
|
|
7391
|
+
var _collection$image, _collection$image$ori, _collection$image2, _collection$image2$or, _collection$image3, _collection$image3$or, _collection$ownerObje, _collection$ownerObje2, _collection$ownerObje3, _collection$image4, _collection$image4$or;
|
|
7385
7392
|
|
|
7386
7393
|
var collection = _ref.collection,
|
|
7387
7394
|
variantSize = _ref.variantSize,
|
|
@@ -7408,8 +7415,8 @@
|
|
|
7408
7415
|
|
|
7409
7416
|
var _useState = React.useState(null),
|
|
7410
7417
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
7411
|
-
cardColors = _useState2[0]
|
|
7412
|
-
_useState2[1];
|
|
7418
|
+
cardColors = _useState2[0],
|
|
7419
|
+
setCardColors = _useState2[1];
|
|
7413
7420
|
|
|
7414
7421
|
var _useState3 = React.useState(false),
|
|
7415
7422
|
_useState4 = _slicedToArray__default['default'](_useState3, 2),
|
|
@@ -7451,7 +7458,15 @@
|
|
|
7451
7458
|
width: fluid ? "80%" : sizeParams.width,
|
|
7452
7459
|
height: fluid ? "80%" : sizeParams.height
|
|
7453
7460
|
}
|
|
7454
|
-
}, /*#__PURE__*/React__default['default'].createElement(
|
|
7461
|
+
}, /*#__PURE__*/React__default['default'].createElement(reactColorExtractor.ColorExtractor, {
|
|
7462
|
+
style: {
|
|
7463
|
+
zIndex: "3"
|
|
7464
|
+
},
|
|
7465
|
+
src: collection === null || collection === void 0 ? void 0 : (_collection$image2 = collection.image) === null || _collection$image2 === void 0 ? void 0 : (_collection$image2$or = _collection$image2.original) === null || _collection$image2$or === void 0 ? void 0 : _collection$image2$or.url,
|
|
7466
|
+
getColors: function getColors(colors) {
|
|
7467
|
+
return setCardColors(colors);
|
|
7468
|
+
}
|
|
7469
|
+
}), /*#__PURE__*/React__default['default'].createElement(Box, {
|
|
7455
7470
|
onClick: function onClick(e) {
|
|
7456
7471
|
e.stopPropagation();
|
|
7457
7472
|
if (handleClickBackground) handleClickBackground();
|
|
@@ -7524,7 +7539,7 @@
|
|
|
7524
7539
|
}
|
|
7525
7540
|
}), /*#__PURE__*/React__default['default'].createElement(Box, {
|
|
7526
7541
|
sx: {
|
|
7527
|
-
backgroundImage: "linear-gradient(".concat(data.vibrant || "#000000", "9a, #0000007a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$
|
|
7542
|
+
backgroundImage: "linear-gradient(".concat(data.vibrant || "#000000", "9a, #0000007a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$image3 = collection.image) === null || _collection$image3 === void 0 ? void 0 : (_collection$image3$or = _collection$image3.original) === null || _collection$image3$or === void 0 ? void 0 : _collection$image3$or.url, ")"),
|
|
7528
7543
|
backgroundSize: "cover",
|
|
7529
7544
|
backgroundPosition: "center",
|
|
7530
7545
|
backgroundRepeat: "no-repeat",
|
|
@@ -7844,7 +7859,7 @@
|
|
|
7844
7859
|
// What to display when variantSize === "small":
|
|
7845
7860
|
React__default['default'].createElement(Box, {
|
|
7846
7861
|
sx: {
|
|
7847
|
-
backgroundImage: "linear-gradient(".concat(cardColors ? cardColors[0] : "#000000", "7a, #0000004a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$
|
|
7862
|
+
backgroundImage: "linear-gradient(".concat(cardColors ? cardColors[0] : "#000000", "7a, #0000004a), url(").concat(collection === null || collection === void 0 ? void 0 : (_collection$image4 = collection.image) === null || _collection$image4 === void 0 ? void 0 : (_collection$image4$or = _collection$image4.original) === null || _collection$image4$or === void 0 ? void 0 : _collection$image4$or.url, ")"),
|
|
7848
7863
|
backgroundSize: "cover",
|
|
7849
7864
|
backgroundPosition: "center",
|
|
7850
7865
|
backgroundRepeat: "no-repeat",
|
|
@@ -8243,7 +8258,7 @@
|
|
|
8243
8258
|
};
|
|
8244
8259
|
|
|
8245
8260
|
var UserProfileHeader = function UserProfileHeader(_ref) {
|
|
8246
|
-
var _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$
|
|
8261
|
+
var _userData$profileImag, _userData$profileImag2, _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$profileImag3, _userData$profileImag4, _userData$socialLinks2;
|
|
8247
8262
|
|
|
8248
8263
|
var followUser = _ref.followUser,
|
|
8249
8264
|
isOwner = _ref.isOwner,
|
|
@@ -8253,8 +8268,8 @@
|
|
|
8253
8268
|
|
|
8254
8269
|
var _useState = React.useState(null),
|
|
8255
8270
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
8256
|
-
profileColors = _useState2[0]
|
|
8257
|
-
_useState2[1];
|
|
8271
|
+
profileColors = _useState2[0],
|
|
8272
|
+
setProfileColors = _useState2[1];
|
|
8258
8273
|
|
|
8259
8274
|
var size = useWindowSize();
|
|
8260
8275
|
|
|
@@ -8351,7 +8366,12 @@
|
|
|
8351
8366
|
});
|
|
8352
8367
|
};
|
|
8353
8368
|
|
|
8354
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(
|
|
8369
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(reactColorExtractor.ColorExtractor, {
|
|
8370
|
+
src: userData === null || userData === void 0 ? void 0 : (_userData$profileImag = userData.profileImage) === null || _userData$profileImag === void 0 ? void 0 : (_userData$profileImag2 = _userData$profileImag.original) === null || _userData$profileImag2 === void 0 ? void 0 : _userData$profileImag2.url,
|
|
8371
|
+
getColors: function getColors(colors) {
|
|
8372
|
+
return setProfileColors(colors);
|
|
8373
|
+
}
|
|
8374
|
+
}), /*#__PURE__*/React__default['default'].createElement(Stack, {
|
|
8355
8375
|
width: "100%",
|
|
8356
8376
|
sx: {
|
|
8357
8377
|
height: "250px",
|
|
@@ -8441,7 +8461,7 @@
|
|
|
8441
8461
|
margin: "0 20px"
|
|
8442
8462
|
},
|
|
8443
8463
|
alt: "profile img",
|
|
8444
|
-
src: userData === null || userData === void 0 ? void 0 : (_userData$
|
|
8464
|
+
src: userData === null || userData === void 0 ? void 0 : (_userData$profileImag3 = userData.profileImage) === null || _userData$profileImag3 === void 0 ? void 0 : (_userData$profileImag4 = _userData$profileImag3.original) === null || _userData$profileImag4 === void 0 ? void 0 : _userData$profileImag4.url
|
|
8445
8465
|
}), /*#__PURE__*/React__default['default'].createElement(Stack, {
|
|
8446
8466
|
marginLeft: "20px"
|
|
8447
8467
|
}, /*#__PURE__*/React__default['default'].createElement(Stack, {
|