@blerp/design 1.1.2 → 1.1.4
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 +54 -30
- package/dist/index.esm.js +54 -30
- package/dist/index.umd.js +57 -34
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18,6 +18,7 @@ var reactPalette = require('react-palette');
|
|
|
18
18
|
var _typeof = require('@babel/runtime/helpers/typeof');
|
|
19
19
|
var KeyboardArrowRightRoundedIcon = require('@mui/icons-material/KeyboardArrowRightRounded');
|
|
20
20
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
21
|
+
require('@mui/system');
|
|
21
22
|
var KeyboardArrowDownRoundedIcon = require('@mui/icons-material/KeyboardArrowDownRounded');
|
|
22
23
|
var CloseRoundedIcon = require('@mui/icons-material/CloseRounded');
|
|
23
24
|
var FileUploadRoundedIcon = require('@mui/icons-material/FileUploadRounded');
|
|
@@ -118,7 +119,7 @@ var SearchRoundedIcon__default = /*#__PURE__*/_interopDefaultLegacy(SearchRounde
|
|
|
118
119
|
var BookmarkRemoveOutlinedIcon__default = /*#__PURE__*/_interopDefaultLegacy(BookmarkRemoveOutlinedIcon);
|
|
119
120
|
var VisibilityOffRoundedIcon__default = /*#__PURE__*/_interopDefaultLegacy(VisibilityOffRoundedIcon);
|
|
120
121
|
|
|
121
|
-
var _templateObject$h, _templateObject2$a, _templateObject3$
|
|
122
|
+
var _templateObject$h, _templateObject2$a, _templateObject3$8, _templateObject4$7;
|
|
122
123
|
var BlerpImage$2 = styled__default['default'].div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
123
124
|
return props.url;
|
|
124
125
|
});
|
|
@@ -129,7 +130,7 @@ var SaveContainer$2 = styled__default['default'].div(_templateObject2$a || (_tem
|
|
|
129
130
|
}, function (props) {
|
|
130
131
|
return props.theme.colors.white;
|
|
131
132
|
});
|
|
132
|
-
var BlerpImageScrim$2 = styled__default['default'].div(_templateObject3$
|
|
133
|
+
var BlerpImageScrim$2 = styled__default['default'].div(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-color: ", "70;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n transition: 0.4s;\n\n &:hover {\n background-color: ", "98;\n }\n\n &:hover ", " {\n opacity: 1;\n }\n"])), function (props) {
|
|
133
134
|
return props.theme.colors.grey6Override;
|
|
134
135
|
}, function (props) {
|
|
135
136
|
return props.theme.colors.grey6Override;
|
|
@@ -1341,7 +1342,8 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1341
1342
|
isLocked = _ref.isLocked,
|
|
1342
1343
|
isOwner = _ref.isOwner;
|
|
1343
1344
|
_ref.props;
|
|
1344
|
-
var handleClickLock = _ref.handleClickLock
|
|
1345
|
+
var handleClickLock = _ref.handleClickLock,
|
|
1346
|
+
backgroundColor = _ref.backgroundColor;
|
|
1345
1347
|
var theme = React.useContext(styled.ThemeContext);
|
|
1346
1348
|
|
|
1347
1349
|
var _useState = React.useState(false),
|
|
@@ -1462,7 +1464,7 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1462
1464
|
overflow: "hidden",
|
|
1463
1465
|
// if the blerp is premium, always give just a simple solid white background for the Stack below to layer on top of.
|
|
1464
1466
|
// If the blerp is not premium, the background changes from white to grey2 if the blerp is selected and/or hovered.
|
|
1465
|
-
backgroundColor: isPremium ? "white.main" : isSelected ? "grey2.main" : "white.main",
|
|
1467
|
+
backgroundColor: backgroundColor ? backgroundColor : isPremium ? "white.main" : isSelected ? "grey2.main" : "white.main",
|
|
1466
1468
|
transition: "0.3s",
|
|
1467
1469
|
position: "relative",
|
|
1468
1470
|
cursor: "pointer",
|
|
@@ -1556,12 +1558,12 @@ Blerp$1.propTypes = {
|
|
|
1556
1558
|
handleClickTitle: PropTypes__default['default'].func.isRequired
|
|
1557
1559
|
};
|
|
1558
1560
|
|
|
1559
|
-
var _templateObject$e, _templateObject2$9, _templateObject3$
|
|
1561
|
+
var _templateObject$e, _templateObject2$9, _templateObject3$7, _templateObject4$6, _templateObject5$4, _templateObject6$4, _templateObject7$2;
|
|
1560
1562
|
var BlerpImage$1 = styled__default['default'].div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
1561
1563
|
return props.url;
|
|
1562
1564
|
});
|
|
1563
1565
|
styled.keyframes(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral__default['default'](["\n 0% {\n transform: scale(0);\n }\n\n 100%{\n transform: scale(1);\n }\n"])));
|
|
1564
|
-
var SaveContainer$1 = styled__default['default'].div(_templateObject3$
|
|
1566
|
+
var SaveContainer$1 = styled__default['default'].div(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral__default['default'](["\n /* position: absolute; */\n top: 0;\n right: 0;\n width: 25px;\n height: 25px;\n opacity: 1;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5px;\n transition: 0.3s;\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &:hover svg {\n color: ", ";\n }\n"])), function (props) {
|
|
1565
1567
|
return "".concat(props.theme.colors.notBlack, "8a");
|
|
1566
1568
|
}, function (props) {
|
|
1567
1569
|
return props.theme.colors.seafoam;
|
|
@@ -1987,12 +1989,12 @@ BlerpListViewPremium$1.propTypes = {
|
|
|
1987
1989
|
handleClickUnsave: PropTypes__default['default'].func.isRequired
|
|
1988
1990
|
};
|
|
1989
1991
|
|
|
1990
|
-
var _templateObject$d, _templateObject2$8, _templateObject3$
|
|
1992
|
+
var _templateObject$d, _templateObject2$8, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$3;
|
|
1991
1993
|
var BlerpImage = styled__default['default'].div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n /* border-radius: 8px; */\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
1992
1994
|
return props.url;
|
|
1993
1995
|
});
|
|
1994
1996
|
var zoomIn = styled.keyframes(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral__default['default'](["\n 0% {\n transform: scale(0);\n }\n\n 100%{\n transform: scale(1);\n }\n"])));
|
|
1995
|
-
styled__default['default'].div(_templateObject3$
|
|
1997
|
+
styled__default['default'].div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral__default['default'](["\n height: 100%;\n width: 100%;\n position: absolute;\n border-radius: 8px;\n transform: scale(0);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n background-color: ", "D3;\n border: 2px solid ", "D3;\n backdrop-filter: blur(4px);\n animation: ", " 0.2s forwards;\n"])), function (props) {
|
|
1996
1998
|
return props.theme.colors.notBlack;
|
|
1997
1999
|
}, function (props) {
|
|
1998
2000
|
return props.theme.colors.notBlack;
|
|
@@ -2351,7 +2353,7 @@ BlerpListView$1.propTypes = {
|
|
|
2351
2353
|
handleClickUnsave: PropTypes__default['default'].func.isRequired
|
|
2352
2354
|
};
|
|
2353
2355
|
|
|
2354
|
-
var _templateObject$c, _templateObject2$7, _templateObject3$
|
|
2356
|
+
var _templateObject$c, _templateObject2$7, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$2, _templateObject7$1, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;
|
|
2355
2357
|
var MasterContainer = styled__default['default'].div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral__default['default'](["\n display: flex;\n /* The extra 4 pixels accounts for the width of the border in the transparent BlerpListView border */\n height: ", ";\n width: ", ";\n min-width: ", ";\n border-radius: 8px;\n background-origin: border-box;\n background-clip: content-box, border-box;\n box-shadow: 2px 2px 4px 0px #999999a1;\n position: relative;\n\n #second-button {\n opacity: 0;\n margin-left: 0px;\n margin-right: 15px;\n }\n\n :hover #yellow-border {\n opacity: 1;\n }\n :hover #second-button {\n opacity: 1;\n margin-left: 5px;\n margin-right: 10px;\n }\n :hover #mid-box {\n width: 96%;\n }\n :hover #back-box {\n width: ", ";\n }\n"])), function (_ref) {
|
|
2356
2358
|
var sizeParams = _ref.sizeParams;
|
|
2357
2359
|
return (sizeParams.height += 2) + "px";
|
|
@@ -2365,7 +2367,7 @@ var MasterContainer = styled__default['default'].div(_templateObject$c || (_temp
|
|
|
2365
2367
|
return props.owned ? "102%" : "100%";
|
|
2366
2368
|
});
|
|
2367
2369
|
var YellowHoverBorder$1 = styled__default['default'].div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral__default['default'](["\n position: absolute;\n height: 113%;\n width: 102%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border: 3px solid rgb(255, 225, 76);\n border-radius: 14px;\n transition: opacity 0.2s ease-in-out;\n opacity: 0;\n"])));
|
|
2368
|
-
var TopBox = styled__default['default'].div(_templateObject3$
|
|
2370
|
+
var TopBox = styled__default['default'].div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral__default['default'](["\n z-index: 3;\n border: 2px transparent;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: ", ";\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n position: relative;\n overflow: hidden;\n"])), function (props) {
|
|
2369
2371
|
return props.theme.colors.white;
|
|
2370
2372
|
});
|
|
2371
2373
|
var MidBox = styled__default['default'].div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral__default['default'](["\n z-index: 2;\n position: absolute;\n background-color: ", ";\n width: 95%;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n overflow: hidden;\n"])), function (props) {
|
|
@@ -2719,7 +2721,6 @@ CollectionListViewPremium$1.propTypes = {
|
|
|
2719
2721
|
function ownKeys$5(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; }
|
|
2720
2722
|
|
|
2721
2723
|
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(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$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2722
|
-
|
|
2723
2724
|
var colors = {
|
|
2724
2725
|
white: "#ffffff",
|
|
2725
2726
|
waxing: "#F3F3F3",
|
|
@@ -2840,6 +2841,10 @@ var lightPalette = {
|
|
|
2840
2841
|
main: colors.waxing,
|
|
2841
2842
|
override: colors.waxing
|
|
2842
2843
|
},
|
|
2844
|
+
grey1: {
|
|
2845
|
+
main: colors.grey1,
|
|
2846
|
+
override: colors.grey1
|
|
2847
|
+
},
|
|
2843
2848
|
grey2: {
|
|
2844
2849
|
main: colors.grey2,
|
|
2845
2850
|
override: colors.grey2
|
|
@@ -2864,6 +2869,14 @@ var lightPalette = {
|
|
|
2864
2869
|
main: colors.grey7,
|
|
2865
2870
|
override: colors.grey7
|
|
2866
2871
|
},
|
|
2872
|
+
grey8: {
|
|
2873
|
+
main: colors.grey8,
|
|
2874
|
+
override: colors.grey8
|
|
2875
|
+
},
|
|
2876
|
+
grey9: {
|
|
2877
|
+
main: colors.grey9,
|
|
2878
|
+
override: colors.grey9
|
|
2879
|
+
},
|
|
2867
2880
|
notBlack: {
|
|
2868
2881
|
light: colors.notBlack,
|
|
2869
2882
|
main: colors.notBlack,
|
|
@@ -2932,29 +2945,41 @@ var darkPalette = {
|
|
|
2932
2945
|
main: colors.notBlack,
|
|
2933
2946
|
override: colors.waxwing
|
|
2934
2947
|
},
|
|
2948
|
+
grey1: {
|
|
2949
|
+
main: colors.grey9Dark,
|
|
2950
|
+
override: colors.grey1Dark
|
|
2951
|
+
},
|
|
2935
2952
|
grey2: {
|
|
2936
|
-
main: colors.
|
|
2937
|
-
override: colors.
|
|
2953
|
+
main: colors.grey8Dark,
|
|
2954
|
+
override: colors.grey2Dark
|
|
2938
2955
|
},
|
|
2939
2956
|
grey3: {
|
|
2940
|
-
main: colors.
|
|
2941
|
-
override: colors.
|
|
2957
|
+
main: colors.grey7Dark,
|
|
2958
|
+
override: colors.grey3Dark
|
|
2942
2959
|
},
|
|
2943
2960
|
grey4: {
|
|
2944
|
-
main: colors.
|
|
2945
|
-
override: colors.
|
|
2961
|
+
main: colors.grey6Dark,
|
|
2962
|
+
override: colors.grey4Dark
|
|
2946
2963
|
},
|
|
2947
2964
|
grey5: {
|
|
2948
|
-
main: colors.
|
|
2949
|
-
override: colors.
|
|
2965
|
+
main: colors.grey5Dark,
|
|
2966
|
+
override: colors.grey5Dark
|
|
2950
2967
|
},
|
|
2951
2968
|
grey6: {
|
|
2952
|
-
main: colors.
|
|
2953
|
-
override: colors.
|
|
2969
|
+
main: colors.grey4Dark,
|
|
2970
|
+
override: colors.grey6Dark
|
|
2954
2971
|
},
|
|
2955
2972
|
grey7: {
|
|
2956
|
-
main: colors.
|
|
2957
|
-
override: colors.
|
|
2973
|
+
main: colors.grey3Dark,
|
|
2974
|
+
override: colors.grey7Dark
|
|
2975
|
+
},
|
|
2976
|
+
grey8: {
|
|
2977
|
+
main: colors.grey2Dark,
|
|
2978
|
+
override: colors.grey8Dark
|
|
2979
|
+
},
|
|
2980
|
+
grey9: {
|
|
2981
|
+
main: colors.grey1Dark,
|
|
2982
|
+
override: colors.grey9Dark
|
|
2958
2983
|
},
|
|
2959
2984
|
notBlack: {
|
|
2960
2985
|
light: colors.waxwing,
|
|
@@ -2993,7 +3018,7 @@ var darkPalette = {
|
|
|
2993
3018
|
}
|
|
2994
3019
|
};
|
|
2995
3020
|
|
|
2996
|
-
var _templateObject$b, _templateObject2$6, _templateObject3$
|
|
3021
|
+
var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$3;
|
|
2997
3022
|
|
|
2998
3023
|
function ownKeys$4(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; }
|
|
2999
3024
|
|
|
@@ -3008,7 +3033,7 @@ var motion2 = function motion2(props) {
|
|
|
3008
3033
|
};
|
|
3009
3034
|
|
|
3010
3035
|
var motion3 = function motion3(props) {
|
|
3011
|
-
return styled.keyframes(_templateObject3$
|
|
3036
|
+
return styled.keyframes(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral__default['default'](["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n"])));
|
|
3012
3037
|
};
|
|
3013
3038
|
|
|
3014
3039
|
var EllipsisSpinner = styled__default['default'].div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral__default['default'](["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: ", ";\n height: ", ";\n div {\n position: absolute;\n width: 11px;\n height: 11px;\n border-radius: 50%;\n background: ", ";\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n div:nth-child(1) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(2) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(3) {\n left: 26px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(4) {\n left: 45px;\n animation: ", " 0.6s infinite;\n }\n"])), function (p) {
|
|
@@ -3048,14 +3073,14 @@ EllipsisLoader.defaultProps = {
|
|
|
3048
3073
|
}
|
|
3049
3074
|
};
|
|
3050
3075
|
|
|
3051
|
-
var _templateObject$a, _templateObject2$5, _templateObject3$
|
|
3076
|
+
var _templateObject$a, _templateObject2$5, _templateObject3$3, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7;
|
|
3052
3077
|
var Slider$2 = styled__default['default'].div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral__default['default'](["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ", "33;\n -webkit-transition: 0.2s;\n transition: 0.2s;\n border-radius: 34px;\n"])), function (props) {
|
|
3053
3078
|
return props.theme.colors.grey5;
|
|
3054
3079
|
});
|
|
3055
3080
|
var ToggleInput = styled__default['default'].input(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral__default['default'](["\n &:checked + ", " {\n background-color: ", ";\n }\n\n ut:focus + ", " {\n box-shadow: 0 0 1px #2196f3;\n }\n\n &:checked + ", " svg {\n -webkit-transform: translateX(14px);\n -ms-transform: translateX(14px);\n transform: translateX(14px);\n }\n"])), Slider$2, function (props) {
|
|
3056
3081
|
return props.disabled ? "#7b7b7b" : props.theme.colors.seafoam;
|
|
3057
3082
|
}, Slider$2, Slider$2);
|
|
3058
|
-
var Switch$1 = styled__default['default'].div(_templateObject3$
|
|
3083
|
+
var Switch$1 = styled__default['default'].div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral__default['default'](["\n cursor: ", ";\n position: relative;\n display: inline-block;\n place-self: center;\n width: ", ";\n height: ", ";\n border: ", ";\n border-color: ", ";\n border-radius: 18px;\n opacity: ", ";\n & ", " {\n opacity: 0;\n width: 0;\n height: 0;\n }\n"])), function (props) {
|
|
3059
3084
|
return props.disabled ? "default" : "pointer";
|
|
3060
3085
|
}, function (props) {
|
|
3061
3086
|
return props.checked ? "38px" : "36px";
|
|
@@ -3256,7 +3281,7 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
3256
3281
|
})));
|
|
3257
3282
|
};
|
|
3258
3283
|
|
|
3259
|
-
var _templateObject$9, _templateObject2$4
|
|
3284
|
+
var _templateObject$9, _templateObject2$4;
|
|
3260
3285
|
var Slider$1 = styled__default['default'].input(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral__default['default'](["\n -webkit-appearance: none;\n align-self: center;\n width: 80%;\n height: 5px;\n border-radius: 5px;\n background: #d3d3d3;\n outline: none;\n opacity: 0.7;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n\n &:focus {\n border: 0px !important;\n }\n\n &:hover {\n opacity: 1;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n"])), function (props) {
|
|
3261
3286
|
return props.theme.colors.ibisRed;
|
|
3262
3287
|
}, function (props) {
|
|
@@ -3266,8 +3291,7 @@ var Slider$1 = styled__default['default'].input(_templateObject$9 || (_templateO
|
|
|
3266
3291
|
}, function (props) {
|
|
3267
3292
|
return props.theme.colors.waxwing;
|
|
3268
3293
|
});
|
|
3269
|
-
styled__default['default'].div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral__default['default'](["\n background-image: url(\"https://cdn.blerp.com/blerp_products/
|
|
3270
|
-
var ZoomIcon = styled__default['default'].div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral__default['default'](["\n background-image: url(\"https://cdn.blerp.com/blerp_products/Web/Account/zoom%20icon.svg?folder=true&organizationId=true\");\n background-repeat: no-repeat;\n background-position: left;\n background-size: cover;\n width: 20px;\n height: 20px;\n"])));
|
|
3294
|
+
var ZoomIcon = styled__default['default'].div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral__default['default'](["\n background-image: url(\"https://cdn.blerp.com/blerp_products/Web/Account/zoom%20icon.svg?folder=true&organizationId=true\");\n background-repeat: no-repeat;\n background-position: left;\n background-size: cover;\n width: 20px;\n height: 20px;\n"])));
|
|
3271
3295
|
|
|
3272
3296
|
var ImageUploadModal = function ImageUploadModal(_ref) {
|
|
3273
3297
|
var _ref6;
|
package/dist/index.esm.js
CHANGED
|
@@ -15,6 +15,7 @@ import { usePalette } from 'react-palette';
|
|
|
15
15
|
import _typeof from '@babel/runtime/helpers/typeof';
|
|
16
16
|
import KeyboardArrowRightRoundedIcon from '@mui/icons-material/KeyboardArrowRightRounded';
|
|
17
17
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
18
|
+
import '@mui/system';
|
|
18
19
|
import KeyboardArrowDownRoundedIcon from '@mui/icons-material/KeyboardArrowDownRounded';
|
|
19
20
|
import CloseRoundedIcon from '@mui/icons-material/CloseRounded';
|
|
20
21
|
import FileUploadRoundedIcon from '@mui/icons-material/FileUploadRounded';
|
|
@@ -49,7 +50,7 @@ import SearchRoundedIcon from '@mui/icons-material/SearchRounded';
|
|
|
49
50
|
import BookmarkRemoveOutlinedIcon from '@mui/icons-material/BookmarkRemoveOutlined';
|
|
50
51
|
import VisibilityOffRoundedIcon from '@mui/icons-material/VisibilityOffRounded';
|
|
51
52
|
|
|
52
|
-
var _templateObject$h, _templateObject2$a, _templateObject3$
|
|
53
|
+
var _templateObject$h, _templateObject2$a, _templateObject3$8, _templateObject4$7;
|
|
53
54
|
var BlerpImage$2 = styled.div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
54
55
|
return props.url;
|
|
55
56
|
});
|
|
@@ -60,7 +61,7 @@ var SaveContainer$2 = styled.div(_templateObject2$a || (_templateObject2$a = _ta
|
|
|
60
61
|
}, function (props) {
|
|
61
62
|
return props.theme.colors.white;
|
|
62
63
|
});
|
|
63
|
-
var BlerpImageScrim$2 = styled.div(_templateObject3$
|
|
64
|
+
var BlerpImageScrim$2 = styled.div(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-color: ", "70;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n transition: 0.4s;\n\n &:hover {\n background-color: ", "98;\n }\n\n &:hover ", " {\n opacity: 1;\n }\n"])), function (props) {
|
|
64
65
|
return props.theme.colors.grey6Override;
|
|
65
66
|
}, function (props) {
|
|
66
67
|
return props.theme.colors.grey6Override;
|
|
@@ -1272,7 +1273,8 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1272
1273
|
isLocked = _ref.isLocked,
|
|
1273
1274
|
isOwner = _ref.isOwner;
|
|
1274
1275
|
_ref.props;
|
|
1275
|
-
var handleClickLock = _ref.handleClickLock
|
|
1276
|
+
var handleClickLock = _ref.handleClickLock,
|
|
1277
|
+
backgroundColor = _ref.backgroundColor;
|
|
1276
1278
|
var theme = useContext(ThemeContext);
|
|
1277
1279
|
|
|
1278
1280
|
var _useState = useState(false),
|
|
@@ -1393,7 +1395,7 @@ var Blerp$1 = function Blerp(_ref) {
|
|
|
1393
1395
|
overflow: "hidden",
|
|
1394
1396
|
// if the blerp is premium, always give just a simple solid white background for the Stack below to layer on top of.
|
|
1395
1397
|
// If the blerp is not premium, the background changes from white to grey2 if the blerp is selected and/or hovered.
|
|
1396
|
-
backgroundColor: isPremium ? "white.main" : isSelected ? "grey2.main" : "white.main",
|
|
1398
|
+
backgroundColor: backgroundColor ? backgroundColor : isPremium ? "white.main" : isSelected ? "grey2.main" : "white.main",
|
|
1397
1399
|
transition: "0.3s",
|
|
1398
1400
|
position: "relative",
|
|
1399
1401
|
cursor: "pointer",
|
|
@@ -1487,12 +1489,12 @@ Blerp$1.propTypes = {
|
|
|
1487
1489
|
handleClickTitle: PropTypes.func.isRequired
|
|
1488
1490
|
};
|
|
1489
1491
|
|
|
1490
|
-
var _templateObject$e, _templateObject2$9, _templateObject3$
|
|
1492
|
+
var _templateObject$e, _templateObject2$9, _templateObject3$7, _templateObject4$6, _templateObject5$4, _templateObject6$4, _templateObject7$2;
|
|
1491
1493
|
var BlerpImage$1 = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
1492
1494
|
return props.url;
|
|
1493
1495
|
});
|
|
1494
1496
|
keyframes(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n }\n\n 100%{\n transform: scale(1);\n }\n"])));
|
|
1495
|
-
var SaveContainer$1 = styled.div(_templateObject3$
|
|
1497
|
+
var SaveContainer$1 = styled.div(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n /* position: absolute; */\n top: 0;\n right: 0;\n width: 25px;\n height: 25px;\n opacity: 1;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5px;\n transition: 0.3s;\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &:hover svg {\n color: ", ";\n }\n"])), function (props) {
|
|
1496
1498
|
return "".concat(props.theme.colors.notBlack, "8a");
|
|
1497
1499
|
}, function (props) {
|
|
1498
1500
|
return props.theme.colors.seafoam;
|
|
@@ -1918,12 +1920,12 @@ BlerpListViewPremium$1.propTypes = {
|
|
|
1918
1920
|
handleClickUnsave: PropTypes.func.isRequired
|
|
1919
1921
|
};
|
|
1920
1922
|
|
|
1921
|
-
var _templateObject$d, _templateObject2$8, _templateObject3$
|
|
1923
|
+
var _templateObject$d, _templateObject2$8, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$3;
|
|
1922
1924
|
var BlerpImage = styled.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n /* border-radius: 8px; */\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
1923
1925
|
return props.url;
|
|
1924
1926
|
});
|
|
1925
1927
|
var zoomIn = keyframes(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n }\n\n 100%{\n transform: scale(1);\n }\n"])));
|
|
1926
|
-
styled.div(_templateObject3$
|
|
1928
|
+
styled.div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n height: 100%;\n width: 100%;\n position: absolute;\n border-radius: 8px;\n transform: scale(0);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n background-color: ", "D3;\n border: 2px solid ", "D3;\n backdrop-filter: blur(4px);\n animation: ", " 0.2s forwards;\n"])), function (props) {
|
|
1927
1929
|
return props.theme.colors.notBlack;
|
|
1928
1930
|
}, function (props) {
|
|
1929
1931
|
return props.theme.colors.notBlack;
|
|
@@ -2282,7 +2284,7 @@ BlerpListView$1.propTypes = {
|
|
|
2282
2284
|
handleClickUnsave: PropTypes.func.isRequired
|
|
2283
2285
|
};
|
|
2284
2286
|
|
|
2285
|
-
var _templateObject$c, _templateObject2$7, _templateObject3$
|
|
2287
|
+
var _templateObject$c, _templateObject2$7, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$2, _templateObject7$1, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;
|
|
2286
2288
|
var MasterContainer = styled.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n display: flex;\n /* The extra 4 pixels accounts for the width of the border in the transparent BlerpListView border */\n height: ", ";\n width: ", ";\n min-width: ", ";\n border-radius: 8px;\n background-origin: border-box;\n background-clip: content-box, border-box;\n box-shadow: 2px 2px 4px 0px #999999a1;\n position: relative;\n\n #second-button {\n opacity: 0;\n margin-left: 0px;\n margin-right: 15px;\n }\n\n :hover #yellow-border {\n opacity: 1;\n }\n :hover #second-button {\n opacity: 1;\n margin-left: 5px;\n margin-right: 10px;\n }\n :hover #mid-box {\n width: 96%;\n }\n :hover #back-box {\n width: ", ";\n }\n"])), function (_ref) {
|
|
2287
2289
|
var sizeParams = _ref.sizeParams;
|
|
2288
2290
|
return (sizeParams.height += 2) + "px";
|
|
@@ -2296,7 +2298,7 @@ var MasterContainer = styled.div(_templateObject$c || (_templateObject$c = _tagg
|
|
|
2296
2298
|
return props.owned ? "102%" : "100%";
|
|
2297
2299
|
});
|
|
2298
2300
|
var YellowHoverBorder$1 = styled.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n position: absolute;\n height: 113%;\n width: 102%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border: 3px solid rgb(255, 225, 76);\n border-radius: 14px;\n transition: opacity 0.2s ease-in-out;\n opacity: 0;\n"])));
|
|
2299
|
-
var TopBox = styled.div(_templateObject3$
|
|
2301
|
+
var TopBox = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n z-index: 3;\n border: 2px transparent;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: ", ";\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n position: relative;\n overflow: hidden;\n"])), function (props) {
|
|
2300
2302
|
return props.theme.colors.white;
|
|
2301
2303
|
});
|
|
2302
2304
|
var MidBox = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["\n z-index: 2;\n position: absolute;\n background-color: ", ";\n width: 95%;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n overflow: hidden;\n"])), function (props) {
|
|
@@ -2650,7 +2652,6 @@ CollectionListViewPremium$1.propTypes = {
|
|
|
2650
2652
|
function ownKeys$5(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; }
|
|
2651
2653
|
|
|
2652
2654
|
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2653
|
-
|
|
2654
2655
|
var colors = {
|
|
2655
2656
|
white: "#ffffff",
|
|
2656
2657
|
waxing: "#F3F3F3",
|
|
@@ -2771,6 +2772,10 @@ var lightPalette = {
|
|
|
2771
2772
|
main: colors.waxing,
|
|
2772
2773
|
override: colors.waxing
|
|
2773
2774
|
},
|
|
2775
|
+
grey1: {
|
|
2776
|
+
main: colors.grey1,
|
|
2777
|
+
override: colors.grey1
|
|
2778
|
+
},
|
|
2774
2779
|
grey2: {
|
|
2775
2780
|
main: colors.grey2,
|
|
2776
2781
|
override: colors.grey2
|
|
@@ -2795,6 +2800,14 @@ var lightPalette = {
|
|
|
2795
2800
|
main: colors.grey7,
|
|
2796
2801
|
override: colors.grey7
|
|
2797
2802
|
},
|
|
2803
|
+
grey8: {
|
|
2804
|
+
main: colors.grey8,
|
|
2805
|
+
override: colors.grey8
|
|
2806
|
+
},
|
|
2807
|
+
grey9: {
|
|
2808
|
+
main: colors.grey9,
|
|
2809
|
+
override: colors.grey9
|
|
2810
|
+
},
|
|
2798
2811
|
notBlack: {
|
|
2799
2812
|
light: colors.notBlack,
|
|
2800
2813
|
main: colors.notBlack,
|
|
@@ -2863,29 +2876,41 @@ var darkPalette = {
|
|
|
2863
2876
|
main: colors.notBlack,
|
|
2864
2877
|
override: colors.waxwing
|
|
2865
2878
|
},
|
|
2879
|
+
grey1: {
|
|
2880
|
+
main: colors.grey9Dark,
|
|
2881
|
+
override: colors.grey1Dark
|
|
2882
|
+
},
|
|
2866
2883
|
grey2: {
|
|
2867
|
-
main: colors.
|
|
2868
|
-
override: colors.
|
|
2884
|
+
main: colors.grey8Dark,
|
|
2885
|
+
override: colors.grey2Dark
|
|
2869
2886
|
},
|
|
2870
2887
|
grey3: {
|
|
2871
|
-
main: colors.
|
|
2872
|
-
override: colors.
|
|
2888
|
+
main: colors.grey7Dark,
|
|
2889
|
+
override: colors.grey3Dark
|
|
2873
2890
|
},
|
|
2874
2891
|
grey4: {
|
|
2875
|
-
main: colors.
|
|
2876
|
-
override: colors.
|
|
2892
|
+
main: colors.grey6Dark,
|
|
2893
|
+
override: colors.grey4Dark
|
|
2877
2894
|
},
|
|
2878
2895
|
grey5: {
|
|
2879
|
-
main: colors.
|
|
2880
|
-
override: colors.
|
|
2896
|
+
main: colors.grey5Dark,
|
|
2897
|
+
override: colors.grey5Dark
|
|
2881
2898
|
},
|
|
2882
2899
|
grey6: {
|
|
2883
|
-
main: colors.
|
|
2884
|
-
override: colors.
|
|
2900
|
+
main: colors.grey4Dark,
|
|
2901
|
+
override: colors.grey6Dark
|
|
2885
2902
|
},
|
|
2886
2903
|
grey7: {
|
|
2887
|
-
main: colors.
|
|
2888
|
-
override: colors.
|
|
2904
|
+
main: colors.grey3Dark,
|
|
2905
|
+
override: colors.grey7Dark
|
|
2906
|
+
},
|
|
2907
|
+
grey8: {
|
|
2908
|
+
main: colors.grey2Dark,
|
|
2909
|
+
override: colors.grey8Dark
|
|
2910
|
+
},
|
|
2911
|
+
grey9: {
|
|
2912
|
+
main: colors.grey1Dark,
|
|
2913
|
+
override: colors.grey9Dark
|
|
2889
2914
|
},
|
|
2890
2915
|
notBlack: {
|
|
2891
2916
|
light: colors.waxwing,
|
|
@@ -2924,7 +2949,7 @@ var darkPalette = {
|
|
|
2924
2949
|
}
|
|
2925
2950
|
};
|
|
2926
2951
|
|
|
2927
|
-
var _templateObject$b, _templateObject2$6, _templateObject3$
|
|
2952
|
+
var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$3;
|
|
2928
2953
|
|
|
2929
2954
|
function ownKeys$4(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; }
|
|
2930
2955
|
|
|
@@ -2939,7 +2964,7 @@ var motion2 = function motion2(props) {
|
|
|
2939
2964
|
};
|
|
2940
2965
|
|
|
2941
2966
|
var motion3 = function motion3(props) {
|
|
2942
|
-
return keyframes(_templateObject3$
|
|
2967
|
+
return keyframes(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n"])));
|
|
2943
2968
|
};
|
|
2944
2969
|
|
|
2945
2970
|
var EllipsisSpinner = styled.div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: ", ";\n height: ", ";\n div {\n position: absolute;\n width: 11px;\n height: 11px;\n border-radius: 50%;\n background: ", ";\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n div:nth-child(1) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(2) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(3) {\n left: 26px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(4) {\n left: 45px;\n animation: ", " 0.6s infinite;\n }\n"])), function (p) {
|
|
@@ -2979,14 +3004,14 @@ EllipsisLoader.defaultProps = {
|
|
|
2979
3004
|
}
|
|
2980
3005
|
};
|
|
2981
3006
|
|
|
2982
|
-
var _templateObject$a, _templateObject2$5, _templateObject3$
|
|
3007
|
+
var _templateObject$a, _templateObject2$5, _templateObject3$3, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7;
|
|
2983
3008
|
var Slider$2 = styled.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ", "33;\n -webkit-transition: 0.2s;\n transition: 0.2s;\n border-radius: 34px;\n"])), function (props) {
|
|
2984
3009
|
return props.theme.colors.grey5;
|
|
2985
3010
|
});
|
|
2986
3011
|
var ToggleInput = styled.input(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n &:checked + ", " {\n background-color: ", ";\n }\n\n ut:focus + ", " {\n box-shadow: 0 0 1px #2196f3;\n }\n\n &:checked + ", " svg {\n -webkit-transform: translateX(14px);\n -ms-transform: translateX(14px);\n transform: translateX(14px);\n }\n"])), Slider$2, function (props) {
|
|
2987
3012
|
return props.disabled ? "#7b7b7b" : props.theme.colors.seafoam;
|
|
2988
3013
|
}, Slider$2, Slider$2);
|
|
2989
|
-
var Switch$1 = styled.div(_templateObject3$
|
|
3014
|
+
var Switch$1 = styled.div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n cursor: ", ";\n position: relative;\n display: inline-block;\n place-self: center;\n width: ", ";\n height: ", ";\n border: ", ";\n border-color: ", ";\n border-radius: 18px;\n opacity: ", ";\n & ", " {\n opacity: 0;\n width: 0;\n height: 0;\n }\n"])), function (props) {
|
|
2990
3015
|
return props.disabled ? "default" : "pointer";
|
|
2991
3016
|
}, function (props) {
|
|
2992
3017
|
return props.checked ? "38px" : "36px";
|
|
@@ -3187,7 +3212,7 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
3187
3212
|
})));
|
|
3188
3213
|
};
|
|
3189
3214
|
|
|
3190
|
-
var _templateObject$9, _templateObject2$4
|
|
3215
|
+
var _templateObject$9, _templateObject2$4;
|
|
3191
3216
|
var Slider$1 = styled.input(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n -webkit-appearance: none;\n align-self: center;\n width: 80%;\n height: 5px;\n border-radius: 5px;\n background: #d3d3d3;\n outline: none;\n opacity: 0.7;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n\n &:focus {\n border: 0px !important;\n }\n\n &:hover {\n opacity: 1;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n"])), function (props) {
|
|
3192
3217
|
return props.theme.colors.ibisRed;
|
|
3193
3218
|
}, function (props) {
|
|
@@ -3197,8 +3222,7 @@ var Slider$1 = styled.input(_templateObject$9 || (_templateObject$9 = _taggedTem
|
|
|
3197
3222
|
}, function (props) {
|
|
3198
3223
|
return props.theme.colors.waxwing;
|
|
3199
3224
|
});
|
|
3200
|
-
styled.div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n background-image: url(\"https://cdn.blerp.com/blerp_products/
|
|
3201
|
-
var ZoomIcon = styled.div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n background-image: url(\"https://cdn.blerp.com/blerp_products/Web/Account/zoom%20icon.svg?folder=true&organizationId=true\");\n background-repeat: no-repeat;\n background-position: left;\n background-size: cover;\n width: 20px;\n height: 20px;\n"])));
|
|
3225
|
+
var ZoomIcon = styled.div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n background-image: url(\"https://cdn.blerp.com/blerp_products/Web/Account/zoom%20icon.svg?folder=true&organizationId=true\");\n background-repeat: no-repeat;\n background-position: left;\n background-size: cover;\n width: 20px;\n height: 20px;\n"])));
|
|
3202
3226
|
|
|
3203
3227
|
var ImageUploadModal = function ImageUploadModal(_ref) {
|
|
3204
3228
|
var _ref6;
|
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('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';
|
|
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/system'), 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/system', '@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, null, 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, system, 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
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
var BookmarkRemoveOutlinedIcon__default = /*#__PURE__*/_interopDefaultLegacy(BookmarkRemoveOutlinedIcon);
|
|
71
71
|
var VisibilityOffRoundedIcon__default = /*#__PURE__*/_interopDefaultLegacy(VisibilityOffRoundedIcon);
|
|
72
72
|
|
|
73
|
-
var _templateObject$h, _templateObject2$a, _templateObject3$
|
|
73
|
+
var _templateObject$h, _templateObject2$a, _templateObject3$8, _templateObject4$7;
|
|
74
74
|
var BlerpImage$2 = styled__default['default'].div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
75
75
|
return props.url;
|
|
76
76
|
});
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
}, function (props) {
|
|
82
82
|
return props.theme.colors.white;
|
|
83
83
|
});
|
|
84
|
-
var BlerpImageScrim$2 = styled__default['default'].div(_templateObject3$
|
|
84
|
+
var BlerpImageScrim$2 = styled__default['default'].div(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-color: ", "70;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n transition: 0.4s;\n\n &:hover {\n background-color: ", "98;\n }\n\n &:hover ", " {\n opacity: 1;\n }\n"])), function (props) {
|
|
85
85
|
return props.theme.colors.grey6Override;
|
|
86
86
|
}, function (props) {
|
|
87
87
|
return props.theme.colors.grey6Override;
|
|
@@ -1293,7 +1293,8 @@
|
|
|
1293
1293
|
isLocked = _ref.isLocked,
|
|
1294
1294
|
isOwner = _ref.isOwner;
|
|
1295
1295
|
_ref.props;
|
|
1296
|
-
var handleClickLock = _ref.handleClickLock
|
|
1296
|
+
var handleClickLock = _ref.handleClickLock,
|
|
1297
|
+
backgroundColor = _ref.backgroundColor;
|
|
1297
1298
|
var theme = React.useContext(styled.ThemeContext);
|
|
1298
1299
|
|
|
1299
1300
|
var _useState = React.useState(false),
|
|
@@ -1414,7 +1415,7 @@
|
|
|
1414
1415
|
overflow: "hidden",
|
|
1415
1416
|
// if the blerp is premium, always give just a simple solid white background for the Stack below to layer on top of.
|
|
1416
1417
|
// If the blerp is not premium, the background changes from white to grey2 if the blerp is selected and/or hovered.
|
|
1417
|
-
backgroundColor: isPremium ? "white.main" : isSelected ? "grey2.main" : "white.main",
|
|
1418
|
+
backgroundColor: backgroundColor ? backgroundColor : isPremium ? "white.main" : isSelected ? "grey2.main" : "white.main",
|
|
1418
1419
|
transition: "0.3s",
|
|
1419
1420
|
position: "relative",
|
|
1420
1421
|
cursor: "pointer",
|
|
@@ -1508,12 +1509,12 @@
|
|
|
1508
1509
|
handleClickTitle: PropTypes__default['default'].func.isRequired
|
|
1509
1510
|
};
|
|
1510
1511
|
|
|
1511
|
-
var _templateObject$e, _templateObject2$9, _templateObject3$
|
|
1512
|
+
var _templateObject$e, _templateObject2$9, _templateObject3$7, _templateObject4$6, _templateObject5$4, _templateObject6$4, _templateObject7$2;
|
|
1512
1513
|
var BlerpImage$1 = styled__default['default'].div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
1513
1514
|
return props.url;
|
|
1514
1515
|
});
|
|
1515
1516
|
styled.keyframes(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral__default['default'](["\n 0% {\n transform: scale(0);\n }\n\n 100%{\n transform: scale(1);\n }\n"])));
|
|
1516
|
-
var SaveContainer$1 = styled__default['default'].div(_templateObject3$
|
|
1517
|
+
var SaveContainer$1 = styled__default['default'].div(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral__default['default'](["\n /* position: absolute; */\n top: 0;\n right: 0;\n width: 25px;\n height: 25px;\n opacity: 1;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5px;\n transition: 0.3s;\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &:hover svg {\n color: ", ";\n }\n"])), function (props) {
|
|
1517
1518
|
return "".concat(props.theme.colors.notBlack, "8a");
|
|
1518
1519
|
}, function (props) {
|
|
1519
1520
|
return props.theme.colors.seafoam;
|
|
@@ -1939,12 +1940,12 @@
|
|
|
1939
1940
|
handleClickUnsave: PropTypes__default['default'].func.isRequired
|
|
1940
1941
|
};
|
|
1941
1942
|
|
|
1942
|
-
var _templateObject$d, _templateObject2$8, _templateObject3$
|
|
1943
|
+
var _templateObject$d, _templateObject2$8, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$3;
|
|
1943
1944
|
var BlerpImage = styled__default['default'].div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral__default['default'](["\n height: 150px;\n width: 150px;\n background-image: url(", ");\n background-size: cover;\n /* border-radius: 8px; */\n border-radius: 50%;\n position: relative;\n transition: 0.2s;\n\n &:hover {\n transform: scale(1.1);\n }\n"])), function (props) {
|
|
1944
1945
|
return props.url;
|
|
1945
1946
|
});
|
|
1946
1947
|
var zoomIn = styled.keyframes(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral__default['default'](["\n 0% {\n transform: scale(0);\n }\n\n 100%{\n transform: scale(1);\n }\n"])));
|
|
1947
|
-
styled__default['default'].div(_templateObject3$
|
|
1948
|
+
styled__default['default'].div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral__default['default'](["\n height: 100%;\n width: 100%;\n position: absolute;\n border-radius: 8px;\n transform: scale(0);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n background-color: ", "D3;\n border: 2px solid ", "D3;\n backdrop-filter: blur(4px);\n animation: ", " 0.2s forwards;\n"])), function (props) {
|
|
1948
1949
|
return props.theme.colors.notBlack;
|
|
1949
1950
|
}, function (props) {
|
|
1950
1951
|
return props.theme.colors.notBlack;
|
|
@@ -2303,7 +2304,7 @@
|
|
|
2303
2304
|
handleClickUnsave: PropTypes__default['default'].func.isRequired
|
|
2304
2305
|
};
|
|
2305
2306
|
|
|
2306
|
-
var _templateObject$c, _templateObject2$7, _templateObject3$
|
|
2307
|
+
var _templateObject$c, _templateObject2$7, _templateObject3$5, _templateObject4$4, _templateObject5$2, _templateObject6$2, _templateObject7$1, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;
|
|
2307
2308
|
var MasterContainer = styled__default['default'].div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral__default['default'](["\n display: flex;\n /* The extra 4 pixels accounts for the width of the border in the transparent BlerpListView border */\n height: ", ";\n width: ", ";\n min-width: ", ";\n border-radius: 8px;\n background-origin: border-box;\n background-clip: content-box, border-box;\n box-shadow: 2px 2px 4px 0px #999999a1;\n position: relative;\n\n #second-button {\n opacity: 0;\n margin-left: 0px;\n margin-right: 15px;\n }\n\n :hover #yellow-border {\n opacity: 1;\n }\n :hover #second-button {\n opacity: 1;\n margin-left: 5px;\n margin-right: 10px;\n }\n :hover #mid-box {\n width: 96%;\n }\n :hover #back-box {\n width: ", ";\n }\n"])), function (_ref) {
|
|
2308
2309
|
var sizeParams = _ref.sizeParams;
|
|
2309
2310
|
return (sizeParams.height += 2) + "px";
|
|
@@ -2317,7 +2318,7 @@
|
|
|
2317
2318
|
return props.owned ? "102%" : "100%";
|
|
2318
2319
|
});
|
|
2319
2320
|
var YellowHoverBorder$1 = styled__default['default'].div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral__default['default'](["\n position: absolute;\n height: 113%;\n width: 102%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border: 3px solid rgb(255, 225, 76);\n border-radius: 14px;\n transition: opacity 0.2s ease-in-out;\n opacity: 0;\n"])));
|
|
2320
|
-
var TopBox = styled__default['default'].div(_templateObject3$
|
|
2321
|
+
var TopBox = styled__default['default'].div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral__default['default'](["\n z-index: 3;\n border: 2px transparent;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: ", ";\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n position: relative;\n overflow: hidden;\n"])), function (props) {
|
|
2321
2322
|
return props.theme.colors.white;
|
|
2322
2323
|
});
|
|
2323
2324
|
var MidBox = styled__default['default'].div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral__default['default'](["\n z-index: 2;\n position: absolute;\n background-color: ", ";\n width: 95%;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n border-radius: 8px;\n border-right-width: 0px;\n border-left-width: 0px;\n transition: 0.2s;\n overflow: hidden;\n"])), function (props) {
|
|
@@ -2671,7 +2672,6 @@
|
|
|
2671
2672
|
function ownKeys$5(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; }
|
|
2672
2673
|
|
|
2673
2674
|
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(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$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2674
|
-
|
|
2675
2675
|
var colors = {
|
|
2676
2676
|
white: "#ffffff",
|
|
2677
2677
|
waxing: "#F3F3F3",
|
|
@@ -2792,6 +2792,10 @@
|
|
|
2792
2792
|
main: colors.waxing,
|
|
2793
2793
|
override: colors.waxing
|
|
2794
2794
|
},
|
|
2795
|
+
grey1: {
|
|
2796
|
+
main: colors.grey1,
|
|
2797
|
+
override: colors.grey1
|
|
2798
|
+
},
|
|
2795
2799
|
grey2: {
|
|
2796
2800
|
main: colors.grey2,
|
|
2797
2801
|
override: colors.grey2
|
|
@@ -2816,6 +2820,14 @@
|
|
|
2816
2820
|
main: colors.grey7,
|
|
2817
2821
|
override: colors.grey7
|
|
2818
2822
|
},
|
|
2823
|
+
grey8: {
|
|
2824
|
+
main: colors.grey8,
|
|
2825
|
+
override: colors.grey8
|
|
2826
|
+
},
|
|
2827
|
+
grey9: {
|
|
2828
|
+
main: colors.grey9,
|
|
2829
|
+
override: colors.grey9
|
|
2830
|
+
},
|
|
2819
2831
|
notBlack: {
|
|
2820
2832
|
light: colors.notBlack,
|
|
2821
2833
|
main: colors.notBlack,
|
|
@@ -2884,29 +2896,41 @@
|
|
|
2884
2896
|
main: colors.notBlack,
|
|
2885
2897
|
override: colors.waxwing
|
|
2886
2898
|
},
|
|
2899
|
+
grey1: {
|
|
2900
|
+
main: colors.grey9Dark,
|
|
2901
|
+
override: colors.grey1Dark
|
|
2902
|
+
},
|
|
2887
2903
|
grey2: {
|
|
2888
|
-
main: colors.
|
|
2889
|
-
override: colors.
|
|
2904
|
+
main: colors.grey8Dark,
|
|
2905
|
+
override: colors.grey2Dark
|
|
2890
2906
|
},
|
|
2891
2907
|
grey3: {
|
|
2892
|
-
main: colors.
|
|
2893
|
-
override: colors.
|
|
2908
|
+
main: colors.grey7Dark,
|
|
2909
|
+
override: colors.grey3Dark
|
|
2894
2910
|
},
|
|
2895
2911
|
grey4: {
|
|
2896
|
-
main: colors.
|
|
2897
|
-
override: colors.
|
|
2912
|
+
main: colors.grey6Dark,
|
|
2913
|
+
override: colors.grey4Dark
|
|
2898
2914
|
},
|
|
2899
2915
|
grey5: {
|
|
2900
|
-
main: colors.
|
|
2901
|
-
override: colors.
|
|
2916
|
+
main: colors.grey5Dark,
|
|
2917
|
+
override: colors.grey5Dark
|
|
2902
2918
|
},
|
|
2903
2919
|
grey6: {
|
|
2904
|
-
main: colors.
|
|
2905
|
-
override: colors.
|
|
2920
|
+
main: colors.grey4Dark,
|
|
2921
|
+
override: colors.grey6Dark
|
|
2906
2922
|
},
|
|
2907
2923
|
grey7: {
|
|
2908
|
-
main: colors.
|
|
2909
|
-
override: colors.
|
|
2924
|
+
main: colors.grey3Dark,
|
|
2925
|
+
override: colors.grey7Dark
|
|
2926
|
+
},
|
|
2927
|
+
grey8: {
|
|
2928
|
+
main: colors.grey2Dark,
|
|
2929
|
+
override: colors.grey8Dark
|
|
2930
|
+
},
|
|
2931
|
+
grey9: {
|
|
2932
|
+
main: colors.grey1Dark,
|
|
2933
|
+
override: colors.grey9Dark
|
|
2910
2934
|
},
|
|
2911
2935
|
notBlack: {
|
|
2912
2936
|
light: colors.waxwing,
|
|
@@ -2945,7 +2969,7 @@
|
|
|
2945
2969
|
}
|
|
2946
2970
|
};
|
|
2947
2971
|
|
|
2948
|
-
var _templateObject$b, _templateObject2$6, _templateObject3$
|
|
2972
|
+
var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$3;
|
|
2949
2973
|
|
|
2950
2974
|
function ownKeys$4(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; }
|
|
2951
2975
|
|
|
@@ -2960,7 +2984,7 @@
|
|
|
2960
2984
|
};
|
|
2961
2985
|
|
|
2962
2986
|
var motion3 = function motion3(props) {
|
|
2963
|
-
return styled.keyframes(_templateObject3$
|
|
2987
|
+
return styled.keyframes(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral__default['default'](["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n"])));
|
|
2964
2988
|
};
|
|
2965
2989
|
|
|
2966
2990
|
var EllipsisSpinner = styled__default['default'].div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral__default['default'](["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: ", ";\n height: ", ";\n div {\n position: absolute;\n width: 11px;\n height: 11px;\n border-radius: 50%;\n background: ", ";\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n div:nth-child(1) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(2) {\n left: 6px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(3) {\n left: 26px;\n animation: ", " 0.6s infinite;\n }\n div:nth-child(4) {\n left: 45px;\n animation: ", " 0.6s infinite;\n }\n"])), function (p) {
|
|
@@ -3000,14 +3024,14 @@
|
|
|
3000
3024
|
}
|
|
3001
3025
|
};
|
|
3002
3026
|
|
|
3003
|
-
var _templateObject$a, _templateObject2$5, _templateObject3$
|
|
3027
|
+
var _templateObject$a, _templateObject2$5, _templateObject3$3, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7;
|
|
3004
3028
|
var Slider$2 = styled__default['default'].div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral__default['default'](["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ", "33;\n -webkit-transition: 0.2s;\n transition: 0.2s;\n border-radius: 34px;\n"])), function (props) {
|
|
3005
3029
|
return props.theme.colors.grey5;
|
|
3006
3030
|
});
|
|
3007
3031
|
var ToggleInput = styled__default['default'].input(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral__default['default'](["\n &:checked + ", " {\n background-color: ", ";\n }\n\n ut:focus + ", " {\n box-shadow: 0 0 1px #2196f3;\n }\n\n &:checked + ", " svg {\n -webkit-transform: translateX(14px);\n -ms-transform: translateX(14px);\n transform: translateX(14px);\n }\n"])), Slider$2, function (props) {
|
|
3008
3032
|
return props.disabled ? "#7b7b7b" : props.theme.colors.seafoam;
|
|
3009
3033
|
}, Slider$2, Slider$2);
|
|
3010
|
-
var Switch$1 = styled__default['default'].div(_templateObject3$
|
|
3034
|
+
var Switch$1 = styled__default['default'].div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral__default['default'](["\n cursor: ", ";\n position: relative;\n display: inline-block;\n place-self: center;\n width: ", ";\n height: ", ";\n border: ", ";\n border-color: ", ";\n border-radius: 18px;\n opacity: ", ";\n & ", " {\n opacity: 0;\n width: 0;\n height: 0;\n }\n"])), function (props) {
|
|
3011
3035
|
return props.disabled ? "default" : "pointer";
|
|
3012
3036
|
}, function (props) {
|
|
3013
3037
|
return props.checked ? "38px" : "36px";
|
|
@@ -3208,7 +3232,7 @@
|
|
|
3208
3232
|
})));
|
|
3209
3233
|
};
|
|
3210
3234
|
|
|
3211
|
-
var _templateObject$9, _templateObject2$4
|
|
3235
|
+
var _templateObject$9, _templateObject2$4;
|
|
3212
3236
|
var Slider$1 = styled__default['default'].input(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral__default['default'](["\n -webkit-appearance: none;\n align-self: center;\n width: 80%;\n height: 5px;\n border-radius: 5px;\n background: #d3d3d3;\n outline: none;\n opacity: 0.7;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n\n &:focus {\n border: 0px !important;\n }\n\n &:hover {\n opacity: 1;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n background: ", ";\n border: 2px solid ", ";\n cursor: pointer;\n }\n"])), function (props) {
|
|
3213
3237
|
return props.theme.colors.ibisRed;
|
|
3214
3238
|
}, function (props) {
|
|
@@ -3218,8 +3242,7 @@
|
|
|
3218
3242
|
}, function (props) {
|
|
3219
3243
|
return props.theme.colors.waxwing;
|
|
3220
3244
|
});
|
|
3221
|
-
styled__default['default'].div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral__default['default'](["\n background-image: url(\"https://cdn.blerp.com/blerp_products/
|
|
3222
|
-
var ZoomIcon = styled__default['default'].div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral__default['default'](["\n background-image: url(\"https://cdn.blerp.com/blerp_products/Web/Account/zoom%20icon.svg?folder=true&organizationId=true\");\n background-repeat: no-repeat;\n background-position: left;\n background-size: cover;\n width: 20px;\n height: 20px;\n"])));
|
|
3245
|
+
var ZoomIcon = styled__default['default'].div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral__default['default'](["\n background-image: url(\"https://cdn.blerp.com/blerp_products/Web/Account/zoom%20icon.svg?folder=true&organizationId=true\");\n background-repeat: no-repeat;\n background-position: left;\n background-size: cover;\n width: 20px;\n height: 20px;\n"])));
|
|
3223
3246
|
|
|
3224
3247
|
var ImageUploadModal = function ImageUploadModal(_ref) {
|
|
3225
3248
|
var _ref6;
|