pds-dev-kit-web 1.9.0-beta.10 → 1.9.0-beta.11
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/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +13 -6
- package/dist/storybook-static/{main.7b01b842.iframe.bundle.d.ts → main.4cccd23b.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{main.7b01b842.iframe.bundle.js → main.4cccd23b.iframe.bundle.js} +24 -24
- package/package.json +1 -1
- package/release-note.md +1 -3
|
@@ -70,6 +70,7 @@ function SectionBox(_a) {
|
|
|
70
70
|
};
|
|
71
71
|
var onClickSectionBox = function () {
|
|
72
72
|
setFadeout(true);
|
|
73
|
+
setIsHover(false);
|
|
73
74
|
onClickDelayedAsync();
|
|
74
75
|
};
|
|
75
76
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -89,15 +90,21 @@ var TopRightAbsoluteBox = styled_components_1.default.div(templateObject_1 || (t
|
|
|
89
90
|
return theme.ui_editor_preview_editing;
|
|
90
91
|
});
|
|
91
92
|
var S_SectionBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
92
|
-
var DimmedEditOverlay = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n
|
|
93
|
+
var DimmedEditOverlay = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n animation: ", ";\n background-color: ", ";\n bottom: 0;\n cursor: pointer;\n display: flex;\n justify-content: center;\n left: 0;\n\n opacity: ", ";\n\n position: absolute;\n right: 0;\n top: 0;\n transition: opacity 0.2s ease-out;\n z-index: 10;\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0;\n }\n }\n"], ["\n align-items: center;\n animation: ", ";\n background-color: ", ";\n bottom: 0;\n cursor: pointer;\n display: flex;\n justify-content: center;\n left: 0;\n\n opacity: ", ";\n\n position: absolute;\n right: 0;\n top: 0;\n transition: opacity 0.2s ease-out;\n z-index: 10;\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0;\n }\n }\n"])), function (_a) {
|
|
94
|
+
var fadeOut = _a.fadeOut;
|
|
95
|
+
return fadeOut && 'fadeOut 0.2s ease-out';
|
|
96
|
+
}, function (_a) {
|
|
93
97
|
var theme = _a.theme;
|
|
94
98
|
return theme.ui_pages_section_dimmed;
|
|
95
99
|
}, function (_a) {
|
|
96
|
-
var isHover = _a.isHover;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
var isHover = _a.isHover, fadeOut = _a.fadeOut;
|
|
101
|
+
if (fadeOut) {
|
|
102
|
+
return 0;
|
|
103
|
+
}
|
|
104
|
+
if (isHover) {
|
|
105
|
+
return 1;
|
|
106
|
+
}
|
|
107
|
+
return 0;
|
|
101
108
|
});
|
|
102
109
|
var S_EditButton = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n font-weight: bold;\n height: 56px;\n display: flex;\n border-radius: 14px;\n justify-content: center;\n align-items: center;\n padding: 0 ", ";\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n font-weight: bold;\n height: 56px;\n display: flex;\n border-radius: 14px;\n justify-content: center;\n align-items: center;\n padding: 0 ", ";\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
103
110
|
var theme = _a.theme;
|
package/dist/storybook-static/{main.7b01b842.iframe.bundle.d.ts → main.4cccd23b.iframe.bundle.d.ts}
RENAMED
|
File without changes
|