@blerp/design 1.4.6 → 1.4.8
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/cjs/Blerp/BlerpImageRow.js +2 -2
- package/dist/cjs/Blerp/BlerpTitleRow.js +3 -3
- package/dist/cjs/Blerp/BlerpTopRow.js +16 -5
- package/dist/cjs/Blerp.js +0 -13
- package/dist/cjs/BlerpListViewPremium.js +5 -5
- package/dist/cjs/CollectionCard.js +4 -17
- package/dist/cjs/CollectionListViewPremium.js +4 -4
- package/dist/cjs/Dropdown.js +6 -6
- package/dist/cjs/GroupCard.js +2 -2
- package/dist/cjs/ImageUpload.js +4 -4
- package/dist/cjs/NewBlerp.js +9 -9
- package/dist/cjs/NewCollectionModal.js +10 -10
- package/dist/cjs/Theme.js +4 -201
- package/dist/cjs/Toggle.js +1 -0
- package/dist/cjs/UserCard.js +5 -5
- package/dist/cjs/UserPage/UserLibraryHeader.js +5 -100
- package/dist/cjs/UserPage/UserProfileHeader.js +3 -297
- package/dist/cjs/UsernameWithPopout.js +1 -1
- package/dist/cjs/colors.js +1 -2
- package/dist/esm/Blerp/BlerpImageRow.js +3 -3
- package/dist/esm/Blerp/BlerpTitleRow.js +4 -4
- package/dist/esm/Blerp/BlerpTopRow.js +16 -5
- package/dist/esm/Blerp.js +1 -13
- package/dist/esm/BlerpListViewPremium.js +6 -6
- package/dist/esm/CollectionCard.js +5 -18
- package/dist/esm/CollectionListViewPremium.js +5 -5
- package/dist/esm/Dropdown.js +7 -7
- package/dist/esm/GroupCard.js +3 -3
- package/dist/esm/ImageUpload.js +5 -5
- package/dist/esm/NewBlerp.js +10 -10
- package/dist/esm/NewCollectionModal.js +12 -12
- package/dist/esm/Theme.js +6 -202
- package/dist/esm/Toggle.js +1 -1
- package/dist/esm/UserCard.js +6 -6
- package/dist/esm/UserPage/UserLibraryHeader.js +5 -95
- package/dist/esm/UserPage/UserProfileHeader.js +3 -290
- package/dist/esm/UsernameWithPopout.js +2 -2
- package/dist/esm/colors.js +1 -2
- package/package.json +1 -4
|
@@ -2,304 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
|
-
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
8
|
-
var React = require('react');
|
|
9
|
-
var ScreenSizeHook = require('../ScreenSizeHook.js');
|
|
10
|
-
var helpers = require('../helpers.js');
|
|
11
|
-
var Theme = require('../Theme.js');
|
|
12
|
-
var Stack = require('../neo-components/Stack.js');
|
|
13
|
-
var IconButton = require('../neo-components/IconButton.js');
|
|
14
|
-
var Box = require('../neo-components/Box.js');
|
|
15
|
-
var Text = require('../neo-components/Text.js');
|
|
16
|
-
var Misc = require('../neo-components/Misc.js');
|
|
17
|
-
var Button = require('../neo-components/Button.js');
|
|
18
|
-
var Icons = require('../Icons/Icons.js');
|
|
5
|
+
// TODO: If this component is needed, import dependencies directly (not from ../index)
|
|
19
6
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
23
|
-
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
24
|
-
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
25
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
26
|
-
|
|
27
|
-
const _excluded = ["path", "sx", "size"];
|
|
28
|
-
|
|
29
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
30
|
-
|
|
31
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
32
|
-
|
|
33
|
-
const Icon = _ref => {
|
|
34
|
-
let {
|
|
35
|
-
path,
|
|
36
|
-
sx,
|
|
37
|
-
size = "24px"
|
|
38
|
-
} = _ref,
|
|
39
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded);
|
|
40
|
-
|
|
41
|
-
return /*#__PURE__*/React__default["default"].createElement(Box.Box, _extends__default["default"]({
|
|
42
|
-
component: "svg",
|
|
43
|
-
viewBox: "0 0 24 24",
|
|
44
|
-
width: size,
|
|
45
|
-
height: size,
|
|
46
|
-
fill: "currentColor",
|
|
47
|
-
sx: _objectSpread({
|
|
48
|
-
display: 'inline-block',
|
|
49
|
-
flexShrink: 0
|
|
50
|
-
}, sx)
|
|
51
|
-
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
52
|
-
d: path
|
|
53
|
-
}));
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
const paths = {
|
|
57
|
-
add: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z",
|
|
58
|
-
edit: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",
|
|
59
|
-
personAdd: "M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",
|
|
60
|
-
personRemove: "M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",
|
|
61
|
-
// Simplified
|
|
62
|
-
facebook: "M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z",
|
|
63
|
-
twitter: "M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.48.75 2.78 1.89 3.54-.7 0-1.35-.2-1.92-.53v.05c0 2.03 1.44 3.73 3.35 4.12-.35.1-.73.15-1.12.15-.27 0-.54-.03-.8-.08.54 1.66 2.08 2.87 3.91 2.91-1.42 1.12-3.23 1.78-5.2 1.78-.34 0-.67-.02-1-.06C3.04 20.1 5.31 20.8 7.72 20.8c9.27 0 14.34-7.68 14.34-14.34 0-.22 0-.44-.01-.66.98-.7 1.84-1.59 2.51-2.6z",
|
|
64
|
-
instagram: "M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z",
|
|
65
|
-
youtube: "M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z",
|
|
66
|
-
pinterest: "M12.2 2C7.12 2 3 6.12 3 11.2c0 3.9 2.42 7.23 5.87 8.58-.08-.72-.15-1.83.03-2.62.16-.71 1.05-4.44 1.05-4.44s-.27-.54-.27-1.33c0-1.25.72-2.18 1.63-2.18.77 0 1.14.58 1.14 1.27 0 .77-.49 1.93-.74 3-.21.87.44 1.58 1.29 1.58 1.55 0 2.74-1.64 2.74-4 0-2.09-1.5-3.55-3.64-3.55-2.48 0-3.93 1.86-3.93 3.77 0 .75.29 1.55.65 1.99.07.09.08.17.06.25-.07.28-.22.88-.25.99-.04.16-.14.2-.32.11-1.19-.55-1.93-2.3-1.93-3.7 0-3.02 2.2-5.78 6.32-5.78 3.32 0 5.89 2.36 5.89 5.52 0 3.3-2.08 5.96-4.97 5.96-.97 0-1.88-.5-2.2-.1l-.59 2.27c-.22.82-.8 1.85-1.19 2.48 1.1.34 2.26.52 3.47.52 5.08 0 9.2-4.12 9.2-9.2C21.4 6.12 17.28 2 12.2 2z"
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
const UserProfileHeader = _ref2 => {
|
|
70
|
-
var _userData$profileImag3, _userData$profileImag4, _userData$headerImage, _userData$headerImage2, _userData$headerImage3, _userData$headerImage4, _userData$profileImag5, _userData$profileImag6, _userData$socialLinks2;
|
|
71
|
-
|
|
72
|
-
let {
|
|
73
|
-
followUser,
|
|
74
|
-
isOwner,
|
|
75
|
-
userData,
|
|
76
|
-
openEdit
|
|
77
|
-
} = _ref2;
|
|
78
|
-
const theme = Theme.useBlerpTheme();
|
|
79
|
-
const [profileColors, setProfileColors] = React.useState(null);
|
|
80
|
-
const size = ScreenSizeHook.useWindowSize();
|
|
81
|
-
React.useEffect(() => {
|
|
82
|
-
var _userData$profileImag, _userData$profileImag2;
|
|
83
|
-
|
|
84
|
-
if (userData !== null && userData !== void 0 && (_userData$profileImag = userData.profileImage) !== null && _userData$profileImag !== void 0 && (_userData$profileImag2 = _userData$profileImag.original) !== null && _userData$profileImag2 !== void 0 && _userData$profileImag2.url) {
|
|
85
|
-
helpers.extractDominantColor(userData.profileImage.original.url, setProfileColors);
|
|
86
|
-
}
|
|
87
|
-
}, [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]);
|
|
88
|
-
|
|
89
|
-
const renderSocialLinks = () => {
|
|
90
|
-
var _userData$socialLinks;
|
|
91
|
-
|
|
92
|
-
return userData === null || userData === void 0 ? void 0 : (_userData$socialLinks = userData.socialLinks) === null || _userData$socialLinks === void 0 ? void 0 : _userData$socialLinks.map((socialItem, index) => {
|
|
93
|
-
let icon;
|
|
94
|
-
const commonSx = {
|
|
95
|
-
color: "notBlack.main",
|
|
96
|
-
cursor: "pointer",
|
|
97
|
-
":hover": {
|
|
98
|
-
color: "starling.main"
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
switch (socialItem.name) {
|
|
103
|
-
case "twitch":
|
|
104
|
-
icon = /*#__PURE__*/React__default["default"].createElement(Icons.TwitchIcon, {
|
|
105
|
-
sx: commonSx
|
|
106
|
-
});
|
|
107
|
-
break;
|
|
108
|
-
|
|
109
|
-
case "twitter":
|
|
110
|
-
icon = /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
111
|
-
path: paths.twitter,
|
|
112
|
-
sx: commonSx
|
|
113
|
-
});
|
|
114
|
-
break;
|
|
115
|
-
|
|
116
|
-
case "youtube":
|
|
117
|
-
icon = /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
118
|
-
path: paths.youtube,
|
|
119
|
-
sx: commonSx
|
|
120
|
-
});
|
|
121
|
-
break;
|
|
122
|
-
|
|
123
|
-
case "instagram":
|
|
124
|
-
icon = /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
125
|
-
path: paths.instagram,
|
|
126
|
-
sx: commonSx
|
|
127
|
-
});
|
|
128
|
-
break;
|
|
129
|
-
|
|
130
|
-
case "pinterest":
|
|
131
|
-
icon = /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
132
|
-
path: paths.pinterest,
|
|
133
|
-
sx: commonSx
|
|
134
|
-
});
|
|
135
|
-
break;
|
|
136
|
-
|
|
137
|
-
case "facebook":
|
|
138
|
-
icon = /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
139
|
-
path: paths.facebook,
|
|
140
|
-
sx: commonSx
|
|
141
|
-
});
|
|
142
|
-
break;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
return /*#__PURE__*/React__default["default"].createElement("a", {
|
|
146
|
-
key: socialItem.name + index,
|
|
147
|
-
target: "_blank",
|
|
148
|
-
href: socialItem.link,
|
|
149
|
-
style: {
|
|
150
|
-
margin: "5px",
|
|
151
|
-
height: "65%"
|
|
152
|
-
},
|
|
153
|
-
rel: "nofollow noreferrer"
|
|
154
|
-
}, icon);
|
|
155
|
-
});
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Stack.Stack, {
|
|
159
|
-
width: "100%",
|
|
160
|
-
sx: {
|
|
161
|
-
height: "250px",
|
|
162
|
-
justifyContent: size.width <= 600 ? "space-around" : "center",
|
|
163
|
-
alignItems: "center",
|
|
164
|
-
background: userData !== null && userData !== void 0 && (_userData$headerImage = userData.headerImage) !== null && _userData$headerImage !== void 0 && (_userData$headerImage2 = _userData$headerImage.original) !== null && _userData$headerImage2 !== void 0 && _userData$headerImage2.url ? "linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), url(".concat(userData === null || userData === void 0 ? void 0 : (_userData$headerImage3 = userData.headerImage) === null || _userData$headerImage3 === void 0 ? void 0 : (_userData$headerImage4 = _userData$headerImage3.original) === null || _userData$headerImage4 === void 0 ? void 0 : _userData$headerImage4.url, ")") : "linear-gradient(135deg, ".concat(profileColors ? profileColors[0] : theme.colors.ibisRed, ", ").concat(profileColors ? profileColors[1] : theme.colors.starling, ")"),
|
|
165
|
-
backgroundRepeat: "no-repeat",
|
|
166
|
-
backgroundSize: "cover",
|
|
167
|
-
backgroundPosition: "center",
|
|
168
|
-
position: "relative",
|
|
169
|
-
overflow: "hidden"
|
|
170
|
-
}
|
|
171
|
-
}, isOwner && /*#__PURE__*/React__default["default"].createElement(IconButton.IconButton, {
|
|
172
|
-
sx: {
|
|
173
|
-
position: "absolute",
|
|
174
|
-
top: "10px",
|
|
175
|
-
right: "10px",
|
|
176
|
-
cursor: "pointer",
|
|
177
|
-
color: "white.main",
|
|
178
|
-
":hover": {
|
|
179
|
-
color: "notBlack.main",
|
|
180
|
-
backgroundColor: "white.main"
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
onClick: () => openEdit()
|
|
184
|
-
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
185
|
-
path: paths.edit,
|
|
186
|
-
size: "16px"
|
|
187
|
-
})), /*#__PURE__*/React__default["default"].createElement(Stack.Stack, {
|
|
188
|
-
direction: "row",
|
|
189
|
-
width: "80%",
|
|
190
|
-
maxWidth: "1300px",
|
|
191
|
-
flexWrap: "wrap",
|
|
192
|
-
margin: "0 auto",
|
|
193
|
-
justifyContent: "space-between",
|
|
194
|
-
alignItems: "flex-end",
|
|
195
|
-
height: "50%"
|
|
196
|
-
}, /*#__PURE__*/React__default["default"].createElement(Box.Box, {
|
|
197
|
-
sx: {
|
|
198
|
-
background: "linear-gradient(135deg, ".concat(profileColors ? profileColors[0] : theme.colors.ibisRed, ", ").concat(profileColors ? profileColors[1] : theme.colors.starling, ")"),
|
|
199
|
-
boxShadow: "5px 5px 15px #0000009c"
|
|
200
|
-
},
|
|
201
|
-
borderRadius: "8px",
|
|
202
|
-
width: "400px",
|
|
203
|
-
height: "100%"
|
|
204
|
-
}, /*#__PURE__*/React__default["default"].createElement(Stack.Stack, {
|
|
205
|
-
direction: "row",
|
|
206
|
-
height: "100%",
|
|
207
|
-
alignItems: "center",
|
|
208
|
-
position: "relative"
|
|
209
|
-
}, /*#__PURE__*/React__default["default"].createElement(IconButton.IconButton, {
|
|
210
|
-
sx: {
|
|
211
|
-
position: "absolute",
|
|
212
|
-
padding: "5px",
|
|
213
|
-
top: "5px",
|
|
214
|
-
right: "5px",
|
|
215
|
-
cursor: "pointer",
|
|
216
|
-
color: "white.override",
|
|
217
|
-
fontSize: "12px",
|
|
218
|
-
":hover": {
|
|
219
|
-
color: "notBlack.main",
|
|
220
|
-
backgroundColor: "white.main"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
onClick: () => {
|
|
224
|
-
isOwner ? openEdit() : followUser({
|
|
225
|
-
variables: {
|
|
226
|
-
record: {
|
|
227
|
-
userIdToFollow: userData._id
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
}, isOwner ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
233
|
-
path: paths.edit,
|
|
234
|
-
size: "20px"
|
|
235
|
-
}) : userData !== null && userData !== void 0 && userData.loggedInIsFollower ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
236
|
-
path: paths.personRemove,
|
|
237
|
-
size: "20px"
|
|
238
|
-
}) : /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
239
|
-
path: paths.personAdd,
|
|
240
|
-
size: "20px"
|
|
241
|
-
})), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
242
|
-
style: {
|
|
243
|
-
borderRadius: "50%",
|
|
244
|
-
objectFit: "cover",
|
|
245
|
-
width: "90px",
|
|
246
|
-
height: "90px",
|
|
247
|
-
margin: "0 20px"
|
|
248
|
-
},
|
|
249
|
-
alt: "profile img",
|
|
250
|
-
src: userData === null || userData === void 0 ? void 0 : (_userData$profileImag5 = userData.profileImage) === null || _userData$profileImag5 === void 0 ? void 0 : (_userData$profileImag6 = _userData$profileImag5.original) === null || _userData$profileImag6 === void 0 ? void 0 : _userData$profileImag6.url
|
|
251
|
-
}), /*#__PURE__*/React__default["default"].createElement(Stack.Stack, {
|
|
252
|
-
marginLeft: "20px"
|
|
253
|
-
}, /*#__PURE__*/React__default["default"].createElement(Stack.Stack, {
|
|
254
|
-
direction: "row"
|
|
255
|
-
}, /*#__PURE__*/React__default["default"].createElement(Text.Typography, {
|
|
256
|
-
noWrap: true,
|
|
257
|
-
maxWidth: "200px",
|
|
258
|
-
color: "white.override",
|
|
259
|
-
lineHeight: "51px",
|
|
260
|
-
fontSize: size.width <= 600 ? "30px" : "47px"
|
|
261
|
-
}, userData === null || userData === void 0 ? void 0 : userData.username)), /*#__PURE__*/React__default["default"].createElement(Stack.Stack, {
|
|
262
|
-
direction: "row",
|
|
263
|
-
divider: /*#__PURE__*/React__default["default"].createElement(Misc.Divider, {
|
|
264
|
-
orientation: "vertical",
|
|
265
|
-
flexItem: true,
|
|
266
|
-
sx: {
|
|
267
|
-
borderColor: "white.override",
|
|
268
|
-
margin: "5px"
|
|
269
|
-
}
|
|
270
|
-
})
|
|
271
|
-
}, /*#__PURE__*/React__default["default"].createElement(Text.Typography, {
|
|
272
|
-
color: "white.override",
|
|
273
|
-
fontSize: "16px"
|
|
274
|
-
}, userData === null || userData === void 0 ? void 0 : userData.followerCount, " Followers"), /*#__PURE__*/React__default["default"].createElement(Text.Typography, {
|
|
275
|
-
color: "white.override",
|
|
276
|
-
fontSize: "16px"
|
|
277
|
-
}, userData === null || userData === void 0 ? void 0 : userData.followingCount, " Following"))))), /*#__PURE__*/React__default["default"].createElement(Stack.Stack, {
|
|
278
|
-
direction: "row",
|
|
279
|
-
backgroundColor: "grey2.main",
|
|
280
|
-
borderRadius: "8px",
|
|
281
|
-
height: "30%",
|
|
282
|
-
alignItems: "center",
|
|
283
|
-
marginTop: "20px",
|
|
284
|
-
justifyContent: "space-around"
|
|
285
|
-
}, isOwner ? (userData === null || userData === void 0 ? void 0 : (_userData$socialLinks2 = userData.socialLinks) === null || _userData$socialLinks2 === void 0 ? void 0 : _userData$socialLinks2.length) === 0 ? /*#__PURE__*/React__default["default"].createElement(Button.Button, {
|
|
286
|
-
variant: "text",
|
|
287
|
-
onClick: () => openEdit()
|
|
288
|
-
}, "+ New Social") : /*#__PURE__*/React__default["default"].createElement(IconButton.IconButton, {
|
|
289
|
-
sx: {
|
|
290
|
-
cursor: "pointer",
|
|
291
|
-
color: "notBlack.main",
|
|
292
|
-
padding: "5px",
|
|
293
|
-
backgroundColor: "grey2.main",
|
|
294
|
-
":hover": {
|
|
295
|
-
backgroundColor: "white.main"
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
onClick: () => openEdit()
|
|
299
|
-
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
300
|
-
path: paths.add,
|
|
301
|
-
size: "16px"
|
|
302
|
-
})) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null), renderSocialLinks()))));
|
|
7
|
+
const UserProfileHeader = () => {
|
|
8
|
+
return null;
|
|
303
9
|
};
|
|
304
10
|
|
|
305
11
|
var UserProfileHeader$1 = UserProfileHeader;
|
|
@@ -78,7 +78,7 @@ const UsernameWithPopout = _ref => {
|
|
|
78
78
|
onCreatedClick: onCreatedClick,
|
|
79
79
|
collapsed: collapsed,
|
|
80
80
|
user: user
|
|
81
|
-
})), /*#__PURE__*/React__default["default"].createElement(Text.
|
|
81
|
+
})), /*#__PURE__*/React__default["default"].createElement(Text.Text, {
|
|
82
82
|
sx: _objectSpread({
|
|
83
83
|
fontWeight: "300",
|
|
84
84
|
fontSize: "12px",
|
package/dist/cjs/colors.js
CHANGED
|
@@ -366,11 +366,10 @@ const darkPalette = {
|
|
|
366
366
|
main: colors.popnYellow
|
|
367
367
|
}
|
|
368
368
|
};
|
|
369
|
-
var colors$1 = colors;
|
|
370
369
|
|
|
371
370
|
exports.darkColors = darkColors;
|
|
372
371
|
exports.darkPalette = darkPalette;
|
|
373
|
-
exports["default"] = colors
|
|
372
|
+
exports["default"] = colors;
|
|
374
373
|
exports.lightColors = lightColors;
|
|
375
374
|
exports.lightPalette = lightPalette;
|
|
376
375
|
exports.overrideColors = overrideColors;
|
|
@@ -3,10 +3,10 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
3
3
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
4
4
|
import React, { useState } from 'react';
|
|
5
5
|
import { useBlerpTheme } from '../Theme.js';
|
|
6
|
+
import { PlayOutlineIcon, OpenLockIcon, BookmarkAddRounded } from '../Icons/Icons.js';
|
|
6
7
|
import { Stack } from '../neo-components/Stack.js';
|
|
7
8
|
import { Box } from '../neo-components/Box.js';
|
|
8
|
-
import {
|
|
9
|
-
import { PlayOutlineIcon, OpenLockIcon, BookmarkAddRounded } from '../Icons/Icons.js';
|
|
9
|
+
import { Text } from '../neo-components/Text.js';
|
|
10
10
|
import { Tooltip } from '../neo-components/Misc.js';
|
|
11
11
|
|
|
12
12
|
const _excluded = ["path", "sx", "size"];
|
|
@@ -105,7 +105,7 @@ const BlerpImageRow = _ref2 => {
|
|
|
105
105
|
display: "none"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
}, /*#__PURE__*/React.createElement(
|
|
108
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
109
109
|
sx: {
|
|
110
110
|
display: "none",
|
|
111
111
|
fontWeight: "regular",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Stack } from '../neo-components/Stack.js';
|
|
3
3
|
import { Box } from '../neo-components/Box.js';
|
|
4
|
-
import {
|
|
4
|
+
import { Text } from '../neo-components/Text.js';
|
|
5
5
|
|
|
6
6
|
const BlerpTitleRow = _ref => {
|
|
7
7
|
let {
|
|
@@ -41,7 +41,7 @@ const BlerpTitleRow = _ref => {
|
|
|
41
41
|
textOverflow: "ellipsis",
|
|
42
42
|
overflow: "hidden"
|
|
43
43
|
}
|
|
44
|
-
}, /*#__PURE__*/React.createElement(
|
|
44
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
45
45
|
textAlign: "center",
|
|
46
46
|
fontSize: sizeParams.fontSize,
|
|
47
47
|
color: isPremium && !isLocked ? "white.override" : "white.override",
|
|
@@ -86,7 +86,7 @@ const BlerpTitleRow = _ref => {
|
|
|
86
86
|
style: {
|
|
87
87
|
textDecoration: "none"
|
|
88
88
|
}
|
|
89
|
-
}, /*#__PURE__*/React.createElement(
|
|
89
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
90
90
|
textAlign: "center",
|
|
91
91
|
fontSize: sizeParams.fontSize,
|
|
92
92
|
color: isPremium ? "white.override" : "white.override",
|
|
@@ -112,7 +112,7 @@ const BlerpTitleRow = _ref => {
|
|
|
112
112
|
textOverflow: "ellipsis",
|
|
113
113
|
overflow: "hidden"
|
|
114
114
|
}
|
|
115
|
-
}, /*#__PURE__*/React.createElement(
|
|
115
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
116
116
|
textAlign: "center",
|
|
117
117
|
fontSize: sizeParams.fontSize,
|
|
118
118
|
color: isPremium ? "white.override" : "white.override",
|
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { reactionIconUrls } from '../Blerp.js';
|
|
4
3
|
import { UnsafeIcon, BookmarkAddRounded, DiamondIcon, TwitchBitIcon, ChannelPointsIcon } from '../Icons/Icons.js';
|
|
5
4
|
import { Stack } from '../neo-components/Stack.js';
|
|
6
|
-
import {
|
|
5
|
+
import { Text } from '../neo-components/Text.js';
|
|
7
6
|
import { Tooltip } from '../neo-components/Misc.js';
|
|
8
7
|
import { IconButton } from '../neo-components/IconButton.js';
|
|
9
8
|
|
|
10
9
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
11
10
|
|
|
12
11
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12
|
+
const reactionIconUrls = {
|
|
13
|
+
FUNNY: "https://cdn.blerp.com/blerp_products/Icons/Funny%403x.svg",
|
|
14
|
+
MUSIC: "https://cdn.blerp.com/blerp_products/Icons/Music%403x.svg",
|
|
15
|
+
NSFW: "https://cdn.blerp.com/blerp_products/Icons/NSFW%403x.svg",
|
|
16
|
+
SAD: "https://cdn.blerp.com/blerp_products/Icons/Sad.svg",
|
|
17
|
+
SCARY: "https://cdn.blerp.com/blerp_products/Icons/Scary%403x.svg",
|
|
18
|
+
ANGRY: "https://cdn.blerp.com/blerp_products/Icons/Anger%403x.svg",
|
|
19
|
+
HAPPY: "https://cdn.blerp.com/blerp_products/Icons/Happy%403x.svg",
|
|
20
|
+
TROLL: "https://cdn.blerp.com/blerp_products/Icons/Troll%403x.svg",
|
|
21
|
+
SHOCKED: "https://cdn.blerp.com/blerp_products/Icons/Shock.svg",
|
|
22
|
+
LOVE: "https://cdn.blerp.com/blerp_products/Icons/Heart%403x.svg"
|
|
23
|
+
}; // Inline SVG Icons
|
|
13
24
|
|
|
14
25
|
const IconLock = _ref => {
|
|
15
26
|
let {
|
|
@@ -124,7 +135,7 @@ const BlerpTopRow = _ref5 => {
|
|
|
124
135
|
alignItems: "center",
|
|
125
136
|
height: bite.visibility !== "PRIVATE" || isOwner ? "30px" : "30px",
|
|
126
137
|
position: sizeParams.buttonSize === "small" && "absolute"
|
|
127
|
-
}, (bite.visibility !== "PRIVATE" || isOwner) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
|
138
|
+
}, (bite.visibility !== "PRIVATE" || isOwner) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
|
|
128
139
|
fontSize: "12px",
|
|
129
140
|
color: isPremium && !isLocked ? "white.main" : "notBlack.main",
|
|
130
141
|
sx: {
|
|
@@ -132,7 +143,7 @@ const BlerpTopRow = _ref5 => {
|
|
|
132
143
|
top: "30px",
|
|
133
144
|
left: "10px"
|
|
134
145
|
}
|
|
135
|
-
}, bite === null || bite === void 0 ? void 0 : bite.audienceRating), (bite === null || bite === void 0 ? void 0 : bite.audioDuration) && /*#__PURE__*/React.createElement(
|
|
146
|
+
}, bite === null || bite === void 0 ? void 0 : bite.audienceRating), (bite === null || bite === void 0 ? void 0 : bite.audioDuration) && /*#__PURE__*/React.createElement(Text, {
|
|
136
147
|
fontSize: "8px",
|
|
137
148
|
color: isPremium ? "waxwing.main" : "grey5.main",
|
|
138
149
|
sx: {
|
|
@@ -208,7 +219,7 @@ const BlerpTopRow = _ref5 => {
|
|
|
208
219
|
}
|
|
209
220
|
}, /*#__PURE__*/React.createElement(BookmarkAddRounded, {
|
|
210
221
|
fontSize: "small"
|
|
211
|
-
})), !!(sizeParams.buttonSize === "small" && !(bite !== null && bite !== void 0 && (_bite$topReactions = bite.topReactions) !== null && _bite$topReactions !== void 0 && _bite$topReactions.length) || sizeParams.buttonSize !== "small") && /*#__PURE__*/React.createElement(
|
|
222
|
+
})), !!(sizeParams.buttonSize === "small" && !(bite !== null && bite !== void 0 && (_bite$topReactions = bite.topReactions) !== null && _bite$topReactions !== void 0 && _bite$topReactions.length) || sizeParams.buttonSize !== "small") && /*#__PURE__*/React.createElement(Text, {
|
|
212
223
|
color: "notBlack.main",
|
|
213
224
|
fontWeight: "light",
|
|
214
225
|
fontSize: "12px",
|
package/dist/esm/Blerp.js
CHANGED
|
@@ -8,18 +8,6 @@ import { useBlerpTheme } from './Theme.js';
|
|
|
8
8
|
import { Box } from './neo-components/Box.js';
|
|
9
9
|
import { Stack } from './neo-components/Stack.js';
|
|
10
10
|
|
|
11
|
-
const reactionIconUrls = {
|
|
12
|
-
FUNNY: "https://cdn.blerp.com/blerp_products/Icons/Funny%403x.svg",
|
|
13
|
-
MUSIC: "https://cdn.blerp.com/blerp_products/Icons/Music%403x.svg",
|
|
14
|
-
NSFW: "https://cdn.blerp.com/blerp_products/Icons/NSFW%403x.svg",
|
|
15
|
-
SAD: "https://cdn.blerp.com/blerp_products/Icons/Sad.svg",
|
|
16
|
-
SCARY: "https://cdn.blerp.com/blerp_products/Icons/Scary%403x.svg",
|
|
17
|
-
ANGRY: "https://cdn.blerp.com/blerp_products/Icons/Anger%403x.svg",
|
|
18
|
-
HAPPY: "https://cdn.blerp.com/blerp_products/Icons/Happy%403x.svg",
|
|
19
|
-
TROLL: "https://cdn.blerp.com/blerp_products/Icons/Troll%403x.svg",
|
|
20
|
-
SHOCKED: "https://cdn.blerp.com/blerp_products/Icons/Shock.svg",
|
|
21
|
-
LOVE: "https://cdn.blerp.com/blerp_products/Icons/Heart%403x.svg"
|
|
22
|
-
};
|
|
23
11
|
const Blerp = _ref => {
|
|
24
12
|
let {
|
|
25
13
|
bite,
|
|
@@ -220,4 +208,4 @@ const Blerp = _ref => {
|
|
|
220
208
|
})));
|
|
221
209
|
};
|
|
222
210
|
|
|
223
|
-
export { Blerp, Blerp as default
|
|
211
|
+
export { Blerp, Blerp as default };
|
|
@@ -8,7 +8,7 @@ import { useCustomPalette } from './helpers.js';
|
|
|
8
8
|
import { useBlerpTheme } from './Theme.js';
|
|
9
9
|
import { Box } from './neo-components/Box.js';
|
|
10
10
|
import { Stack } from './neo-components/Stack.js';
|
|
11
|
-
import {
|
|
11
|
+
import { Text } from './neo-components/Text.js';
|
|
12
12
|
import { Tooltip } from './neo-components/Misc.js';
|
|
13
13
|
import { IconButton } from './neo-components/IconButton.js';
|
|
14
14
|
|
|
@@ -33,7 +33,7 @@ const Icon = _ref => {
|
|
|
33
33
|
height: size,
|
|
34
34
|
fill: "currentColor",
|
|
35
35
|
sx: _objectSpread({
|
|
36
|
-
display:
|
|
36
|
+
display: "inline-block",
|
|
37
37
|
flexShrink: 0
|
|
38
38
|
}, sx)
|
|
39
39
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
@@ -232,7 +232,7 @@ const BlerpListViewPremium = _ref2 => {
|
|
|
232
232
|
sx: {
|
|
233
233
|
width: "80%"
|
|
234
234
|
}
|
|
235
|
-
}, isLinkTitle ? /*#__PURE__*/React.createElement(
|
|
235
|
+
}, isLinkTitle ? /*#__PURE__*/React.createElement(Text, {
|
|
236
236
|
textAlign: "left",
|
|
237
237
|
fontSize: sizeParams.fontSize,
|
|
238
238
|
noWrap: true,
|
|
@@ -256,7 +256,7 @@ const BlerpListViewPremium = _ref2 => {
|
|
|
256
256
|
textDecoration: "none",
|
|
257
257
|
color: "white"
|
|
258
258
|
}
|
|
259
|
-
}, bite.title)) : /*#__PURE__*/React.createElement(
|
|
259
|
+
}, bite.title)) : /*#__PURE__*/React.createElement(Text, {
|
|
260
260
|
textAlign: "left",
|
|
261
261
|
fontSize: sizeParams.fontSize,
|
|
262
262
|
noWrap: true,
|
|
@@ -274,7 +274,7 @@ const BlerpListViewPremium = _ref2 => {
|
|
|
274
274
|
handleClickTitle();
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
}, bite.title), biteSubtitle && /*#__PURE__*/React.createElement(
|
|
277
|
+
}, bite.title), biteSubtitle && /*#__PURE__*/React.createElement(Text, {
|
|
278
278
|
textAlign: "left",
|
|
279
279
|
fontSize: sizeParams.smallFontSize,
|
|
280
280
|
noWrap: true,
|
|
@@ -364,7 +364,7 @@ const BlerpListViewPremium = _ref2 => {
|
|
|
364
364
|
marginRight: "4px",
|
|
365
365
|
color: "white.override"
|
|
366
366
|
}
|
|
367
|
-
}), /*#__PURE__*/React.createElement(
|
|
367
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
368
368
|
sx: {
|
|
369
369
|
marginRight: "4px",
|
|
370
370
|
color: "white.override",
|
|
@@ -4,8 +4,7 @@ import { useCustomPalette } from './helpers.js';
|
|
|
4
4
|
import { Box } from './neo-components/Box.js';
|
|
5
5
|
import { Stack } from './neo-components/Stack.js';
|
|
6
6
|
import { Tooltip } from './neo-components/Misc.js';
|
|
7
|
-
import {
|
|
8
|
-
import { TwitchBitIcon } from './Icons/Icons.js';
|
|
7
|
+
import { Text } from './neo-components/Text.js';
|
|
9
8
|
import { IconButton } from './neo-components/IconButton.js';
|
|
10
9
|
|
|
11
10
|
const AccountCircleIcon = _ref => {
|
|
@@ -361,7 +360,7 @@ const CollectionCard = _ref6 => {
|
|
|
361
360
|
margin: "5px 0",
|
|
362
361
|
maxWidth: "92%"
|
|
363
362
|
}
|
|
364
|
-
}, /*#__PURE__*/React.createElement(
|
|
363
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
365
364
|
fontSize: fontSize ? fontSize : "22px",
|
|
366
365
|
color: "white.override",
|
|
367
366
|
textAlign: "center",
|
|
@@ -396,19 +395,7 @@ const CollectionCard = _ref6 => {
|
|
|
396
395
|
boxSizing: "border-box",
|
|
397
396
|
alignItems: "center"
|
|
398
397
|
}
|
|
399
|
-
}, (collection === null || collection === void 0 ? void 0 : collection.edgeType) !== "NewTwitchGroupEdge" && renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.
|
|
400
|
-
title: "Featured on Twitch Bits"
|
|
401
|
-
}, /*#__PURE__*/React.createElement(Stack, {
|
|
402
|
-
sx: {
|
|
403
|
-
alignItems: "center"
|
|
404
|
-
}
|
|
405
|
-
}, /*#__PURE__*/React.createElement(TwitchBitIcon, {
|
|
406
|
-
sx: {
|
|
407
|
-
color: "white.override",
|
|
408
|
-
zIndex: "1",
|
|
409
|
-
fontSize: "18px"
|
|
410
|
-
}
|
|
411
|
-
}))), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React.createElement(Tooltip, {
|
|
398
|
+
}, (collection === null || collection === void 0 ? void 0 : collection.edgeType) !== "NewTwitchGroupEdge" && renderPrimaryActionButton(), (collection === null || collection === void 0 ? void 0 : collection.visibility) === "PRIVATE" && isOwner && /*#__PURE__*/React.createElement(Tooltip, {
|
|
412
399
|
title: "Private"
|
|
413
400
|
}, /*#__PURE__*/React.createElement(BookmarkIconIcon, {
|
|
414
401
|
sx: {
|
|
@@ -439,7 +426,7 @@ const CollectionCard = _ref6 => {
|
|
|
439
426
|
color: "white",
|
|
440
427
|
textDecoration: "none"
|
|
441
428
|
}
|
|
442
|
-
}, /*#__PURE__*/React.createElement(
|
|
429
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
443
430
|
fontSize: fontSize ? fontSize : "22px",
|
|
444
431
|
color: "white.override",
|
|
445
432
|
textAlign: "center",
|
|
@@ -449,7 +436,7 @@ const CollectionCard = _ref6 => {
|
|
|
449
436
|
textDecoration: "underline"
|
|
450
437
|
}
|
|
451
438
|
}
|
|
452
|
-
}, collection === null || collection === void 0 ? void 0 : collection.title)) : /*#__PURE__*/React.createElement(
|
|
439
|
+
}, collection === null || collection === void 0 ? void 0 : collection.title)) : /*#__PURE__*/React.createElement(Text, {
|
|
453
440
|
fontSize: fontSize ? fontSize : "22px",
|
|
454
441
|
color: "white.override",
|
|
455
442
|
textAlign: "center",
|
|
@@ -2,13 +2,13 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
3
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
4
4
|
import React, { useState } from 'react';
|
|
5
|
+
import { DiamondIcon } from './Icons/Icons.js';
|
|
5
6
|
import { useWindowSize } from './ScreenSizeHook.js';
|
|
6
7
|
import { useCustomPalette } from './helpers.js';
|
|
7
8
|
import { useBlerpTheme } from './Theme.js';
|
|
8
9
|
import { Stack } from './neo-components/Stack.js';
|
|
9
10
|
import { Box } from './neo-components/Box.js';
|
|
10
|
-
import {
|
|
11
|
-
import { DiamondIcon } from './Icons/Icons.js';
|
|
11
|
+
import { Text } from './neo-components/Text.js';
|
|
12
12
|
import { IconButton } from './neo-components/IconButton.js';
|
|
13
13
|
|
|
14
14
|
const _excluded = ["path", "sx", "size"];
|
|
@@ -308,7 +308,7 @@ const CollectionListViewPremium = _ref2 => {
|
|
|
308
308
|
position: "relative",
|
|
309
309
|
left: "12px"
|
|
310
310
|
}
|
|
311
|
-
}, /*#__PURE__*/React.createElement(
|
|
311
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
312
312
|
textAlign: "left",
|
|
313
313
|
fontSize: sizeParams.fontSize,
|
|
314
314
|
noWrap: true,
|
|
@@ -327,7 +327,7 @@ const CollectionListViewPremium = _ref2 => {
|
|
|
327
327
|
handleClickTitle();
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
}, collection.title)) : /*#__PURE__*/React.createElement(
|
|
330
|
+
}, collection.title)) : /*#__PURE__*/React.createElement(Text, {
|
|
331
331
|
textAlign: "left",
|
|
332
332
|
fontSize: sizeParams.fontSize,
|
|
333
333
|
noWrap: true,
|
|
@@ -376,7 +376,7 @@ const CollectionListViewPremium = _ref2 => {
|
|
|
376
376
|
color: "white.override",
|
|
377
377
|
height: "18px"
|
|
378
378
|
}
|
|
379
|
-
}), /*#__PURE__*/React.createElement(
|
|
379
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
380
380
|
sx: {
|
|
381
381
|
zIndex: "2",
|
|
382
382
|
color: "white.override",
|