oolib 2.238.0 → 2.238.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -46,7 +46,7 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
46
46
|
var black_opacity80 = themes_1.colors.black_opacity80, white = themes_1.colors.white;
|
|
47
47
|
exports.StyledModalLargeBg = (0, styled_components_1.default)(framer_motion_1.motion.div)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100vw;\n height: 100%;\n position: fixed;\n left: 0;\n bottom: 0;\n z-index: 999999999;\n overflow-y: auto;\n overflow-x: hidden;\n ", " {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n"], ["\n width: 100vw;\n height: 100%;\n position: fixed;\n left: 0;\n bottom: 0;\n z-index: 999999999;\n overflow-y: auto;\n overflow-x: hidden;\n ", " {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n"])), (0, mixins_1.mediaQuery)("sm"));
|
|
48
48
|
exports.StyledModalLargeBgColor = (0, styled_components_1.default)(framer_motion_1.motion.div)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: ", ";\n position: absolute;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100dvh;\n"], ["\n background: ", ";\n position: absolute;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100dvh;\n"])), black_opacity80);
|
|
49
|
-
exports.StyledModalLargeContentWrapper = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n width: 100%;\n margin-top: 4rem;\n background-color: ", ";\n ", "\n ", " {\n margin-top: 0;\n border: 2px solid ", ";\n width: ", ";\n /* min-height: 50dvh; */\n max-height: 90dvh;\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: 16px;\n margin: 0 auto;\n
|
|
49
|
+
exports.StyledModalLargeContentWrapper = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n width: 100%;\n margin-top: 4rem;\n background-color: ", ";\n ", "\n ", " {\n margin-top: 0;\n border: 2px solid ", ";\n width: ", ";\n /* min-height: 50dvh; */\n max-height: 90dvh;\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: 16px;\n margin: 0 auto;\n }\n"], ["\n width: 100%;\n margin-top: 4rem;\n background-color: ", ";\n ", "\n ", " {\n margin-top: 0;\n border: 2px solid ", ";\n width: ", ";\n /* min-height: 50dvh; */\n max-height: 90dvh;\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: 16px;\n margin: 0 auto;\n }\n"])), white, function (_a) {
|
|
50
50
|
var takeFullScreenOnScroll = _a.takeFullScreenOnScroll;
|
|
51
51
|
return takeFullScreenOnScroll
|
|
52
52
|
? (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n /* min-height: calc(100dvh - 4rem); */\n "], ["\n /* min-height: calc(100dvh - 4rem); */\n "]))) : (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: calc(100dvh - 4rem);\n display: flex;\n flex-direction: column;\n "], ["\n height: calc(100dvh - 4rem);\n display: flex;\n flex-direction: column;\n "])));
|
|
@@ -54,7 +54,7 @@ exports.StyledModalLargeContentWrapper = styled_components_1.default.div(templat
|
|
|
54
54
|
var desktopWidth = _a.desktopWidth;
|
|
55
55
|
return desktopWidth;
|
|
56
56
|
});
|
|
57
|
-
exports.StyledModalLargeHeader = styled_components_1.default.header(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem 2rem;\n position: sticky;\n top: 0;\n z-index: 100;\n"], ["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem 2rem;\n position: sticky;\n top: 0;\n z-index: 100;\n"])), function (_a) {
|
|
57
|
+
exports.StyledModalLargeHeader = styled_components_1.default.header(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem 2rem;\n position: sticky;\n top: 0;\n z-index: 100;\n"], ["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem 2rem;\n position: sticky;\n top: 0;\n z-index: 100;\n"])), function (_a) {
|
|
58
58
|
var invert = _a.invert;
|
|
59
59
|
return (invert ? themes_1.colors.greyColor90 : white);
|
|
60
60
|
}, function (_a) {
|
|
@@ -76,6 +76,6 @@ exports.StyledActionButtonsWrapper = styled_components_1.default.div(templateObj
|
|
|
76
76
|
var alignActions = _a.alignActions;
|
|
77
77
|
return (alignActions === "right" ? "flex-end" : "");
|
|
78
78
|
});
|
|
79
|
-
exports.StyledModalHeaderStyle2Container = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n border-bottom: 1px solid ", ";\n padding: 1rem 2rem;\n position: relative;\n background-color: ", ";\n"], ["\n display: flex;\n border-bottom: 1px solid ", ";\n padding: 1rem 2rem;\n position: relative;\n background-color: ", ";\n"])), themes_2.colors.grey10, white);
|
|
79
|
+
exports.StyledModalHeaderStyle2Container = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n border-bottom: 1px solid ", ";\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n padding: 1rem 2rem;\n position: relative;\n background-color: ", ";\n"], ["\n display: flex;\n border-bottom: 1px solid ", ";\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n padding: 1rem 2rem;\n position: relative;\n background-color: ", ";\n"])), themes_2.colors.grey10, white);
|
|
80
80
|
exports.StyledModalHeaderStyle2Title = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n padding-top: 1rem;\n display: flex;\n flex-grow: 1;\n gap: 1.5rem;\n justify-content: space-between;\n align-items: center;\n"], ["\n padding-top: 1rem;\n display: flex;\n flex-grow: 1;\n gap: 1.5rem;\n justify-content: space-between;\n align-items: center;\n"])));
|
|
81
81
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
|
|
@@ -32,7 +32,7 @@ var set_deleteVal = function (action, data, valuePath, value) {
|
|
|
32
32
|
* - how do we decide?
|
|
33
33
|
* - by checking if the next key is a number or not
|
|
34
34
|
*/
|
|
35
|
-
if (nextKey &&
|
|
35
|
+
if (nextKey && String(Number(nextKey)) === nextKey) { //next key IS a pure number then..
|
|
36
36
|
dataRef[key] = [];
|
|
37
37
|
}
|
|
38
38
|
else {
|