pds-dev-kit-web 1.9.0-beta.9 → 1.9.1
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/README.md +2 -2
- package/dist/src/GlobalStyle.js +4 -1
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +99 -98
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +21 -8
- package/dist/storybook-static/0.f85c225d.iframe.bundle.d.ts +3 -0
- package/dist/storybook-static/0.f85c225d.iframe.bundle.js +330 -0
- package/dist/storybook-static/4.32dc09b1.iframe.bundle.d.ts +18 -0
- package/dist/storybook-static/4.32dc09b1.iframe.bundle.js +574 -0
- package/dist/storybook-static/5.f8adf19a.iframe.bundle.d.ts +3 -0
- package/dist/storybook-static/5.f8adf19a.iframe.bundle.js +254 -0
- package/dist/storybook-static/6.bbd5c6b7.iframe.bundle.d.ts +2 -0
- package/dist/storybook-static/6.bbd5c6b7.iframe.bundle.js +559 -0
- package/dist/storybook-static/7.b309bb58.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/7.b309bb58.iframe.bundle.js +8 -0
- package/dist/storybook-static/main.4cccd23b.iframe.bundle.d.ts +3016 -0
- package/dist/storybook-static/main.4cccd23b.iframe.bundle.js +17079 -0
- package/dist/storybook-static/runtime~main.fb11004c.iframe.bundle.d.ts +1 -0
- package/dist/storybook-static/runtime~main.fb11004c.iframe.bundle.js +34 -0
- package/dist/storybook-static/vendors~main.bf41a3c3.iframe.bundle.d.ts +2 -0
- package/dist/storybook-static/vendors~main.bf41a3c3.iframe.bundle.js +22265 -0
- package/package.json +1 -1
- package/release-note.md +3 -2
package/README.md
CHANGED
package/dist/src/GlobalStyle.js
CHANGED
|
@@ -5,6 +5,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
var styled_components_1 = require("styled-components");
|
|
8
|
-
var GlobalStyle = (0, styled_components_1.createGlobalStyle)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-jp.css');\n \n html {\n height: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n width: 100%;\n }\n\n body {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n height: 100%;\n margin: 0;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n width: 100%;\n }\n\n body::-webkit-scrollbar {\n display: none; /* Chrome, Safari, Opera */\n }\n\n #root {\n height: 100%;\n width: 100%;\n }\n\n div, span, textarea, ul {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n }\n\n div::-webkit-scrollbar, span::-webkit-scrollbar, textarea::-webkit-scrollbar, ul::-webkit-scrollbar {\n display: none; /* Chrome, Safari, Opera */\n }\n\n input {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n }\n\n a,\n [type='checkbox'],\n [type='radio'] {\n color: inherit;\n -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);\n text-decoration: none;\n }\n\n code {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;\n }\n\n button {\n cursor: pointer;\n font-family: inherit;\n outline: none;\n }\n\ninput:-webkit-autofill,\ninput:-webkit-autofill:hover,\ninput:-webkit-autofill:focus,\ninput:-webkit-autofill:active {\n -webkit-
|
|
8
|
+
var GlobalStyle = (0, styled_components_1.createGlobalStyle)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-jp.css');\n \n html {\n height: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n width: 100%;\n }\n\n body {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n height: 100%;\n margin: 0;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n width: 100%;\n }\n\n body::-webkit-scrollbar {\n display: none; /* Chrome, Safari, Opera */\n }\n\n #root {\n height: 100%;\n width: 100%;\n }\n\n div, span, textarea, ul {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n }\n\n div::-webkit-scrollbar, span::-webkit-scrollbar, textarea::-webkit-scrollbar, ul::-webkit-scrollbar {\n display: none; /* Chrome, Safari, Opera */\n }\n\n input {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n }\n\n a,\n [type='checkbox'],\n [type='radio'] {\n color: inherit;\n -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);\n text-decoration: none;\n }\n\n code {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;\n }\n\n button {\n cursor: pointer;\n font-family: inherit;\n outline: none;\n }\n\ninput:-webkit-autofill,\ninput:-webkit-autofill:hover,\ninput:-webkit-autofill:focus,\ninput:-webkit-autofill:active {\n -webkit-text-fill-color: ", " !important;\n transition: background-color 9999s ease-in-out 0s !important;\n}\n"], ["\n @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-jp.css');\n \n html {\n height: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n width: 100%;\n }\n\n body {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n height: 100%;\n margin: 0;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n width: 100%;\n }\n\n body::-webkit-scrollbar {\n display: none; /* Chrome, Safari, Opera */\n }\n\n #root {\n height: 100%;\n width: 100%;\n }\n\n div, span, textarea, ul {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n }\n\n div::-webkit-scrollbar, span::-webkit-scrollbar, textarea::-webkit-scrollbar, ul::-webkit-scrollbar {\n display: none; /* Chrome, Safari, Opera */\n }\n\n input {\n font-family: Pretendard JP, -apple-system, BlinkMacSystemFont, Basier Square, Noto Sans KR, Segoe UI, Apple SD Gothic Neo, Roboto, Helvetica Neue, Arial, sans-serif;\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n }\n\n a,\n [type='checkbox'],\n [type='radio'] {\n color: inherit;\n -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);\n text-decoration: none;\n }\n\n code {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;\n }\n\n button {\n cursor: pointer;\n font-family: inherit;\n outline: none;\n }\n\ninput:-webkit-autofill,\ninput:-webkit-autofill:hover,\ninput:-webkit-autofill:focus,\ninput:-webkit-autofill:active {\n -webkit-text-fill-color: ", " !important;\n transition: background-color 9999s ease-in-out 0s !important;\n}\n"])), function (_a) {
|
|
9
|
+
var theme = _a.theme;
|
|
10
|
+
return theme.ui_cpnt_textfield_text_typed;
|
|
11
|
+
});
|
|
9
12
|
exports.default = GlobalStyle;
|
|
10
13
|
var templateObject_1;
|
|
@@ -710,5 +710,6 @@
|
|
|
710
710
|
"ui_cpnt_textfield_base_pressed_transparent": "sys_component_base_pressed_transparent",
|
|
711
711
|
"ui_cpnt_reactionbutton_base_02": "sys_component_base_03",
|
|
712
712
|
"ui_create_ch_step_prev": "sys_text_white_opacity_01",
|
|
713
|
-
"ui_editor_preview_editing": "sys_widget_status_active_01"
|
|
713
|
+
"ui_editor_preview_editing": "sys_widget_status_active_01",
|
|
714
|
+
"ui_cpnt_icon_sys_black": "sys_widget_black"
|
|
714
715
|
}
|
|
@@ -1,5 +1,101 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
-
readonly
|
|
2
|
+
readonly SemanticColor: {
|
|
3
|
+
blue500: string;
|
|
4
|
+
blue700: string;
|
|
5
|
+
blue300: string;
|
|
6
|
+
green700: string;
|
|
7
|
+
green500: string;
|
|
8
|
+
green300: string;
|
|
9
|
+
red500: string;
|
|
10
|
+
grey900: string;
|
|
11
|
+
grey500: string;
|
|
12
|
+
grey400: string;
|
|
13
|
+
grey100: string;
|
|
14
|
+
grey50: string;
|
|
15
|
+
white: string;
|
|
16
|
+
black: string;
|
|
17
|
+
darkblue500: string;
|
|
18
|
+
grey950: string;
|
|
19
|
+
darkgrey900: string;
|
|
20
|
+
darkgrey500: string;
|
|
21
|
+
darkgrey400: string;
|
|
22
|
+
darkgrey100: string;
|
|
23
|
+
darkgrey50: string;
|
|
24
|
+
darkred500: string;
|
|
25
|
+
darkgreen700: string;
|
|
26
|
+
orange500: string;
|
|
27
|
+
darkorange500: string;
|
|
28
|
+
opacity00: string;
|
|
29
|
+
opacity20: string;
|
|
30
|
+
opacity30: string;
|
|
31
|
+
opacity65: string;
|
|
32
|
+
darkgreen500: string;
|
|
33
|
+
grey70: string;
|
|
34
|
+
navy500: string;
|
|
35
|
+
lightgreen500: string;
|
|
36
|
+
pink500: string;
|
|
37
|
+
darkgrey70: string;
|
|
38
|
+
darknavy500: string;
|
|
39
|
+
darkpink500: string;
|
|
40
|
+
darklightgreen500: string;
|
|
41
|
+
opacity10: string;
|
|
42
|
+
grey600: string;
|
|
43
|
+
darkgrey600: string;
|
|
44
|
+
skyblue500: string;
|
|
45
|
+
skyblue300: string;
|
|
46
|
+
pink300: string;
|
|
47
|
+
lightpink500: string;
|
|
48
|
+
darkblue300: string;
|
|
49
|
+
darkblue700: string;
|
|
50
|
+
darkgreen300: string;
|
|
51
|
+
darkskyblue500: string;
|
|
52
|
+
navy100: string;
|
|
53
|
+
darknavy100: string;
|
|
54
|
+
opacity80: string;
|
|
55
|
+
opacity50: string;
|
|
56
|
+
grey30: string;
|
|
57
|
+
opacity95: string;
|
|
58
|
+
darkgrey30: string;
|
|
59
|
+
opacity40: string;
|
|
60
|
+
kakaoyellow: string;
|
|
61
|
+
pastelblue500: string;
|
|
62
|
+
pastelpink500: string;
|
|
63
|
+
pastelorange500: string;
|
|
64
|
+
pastelgreen500: string;
|
|
65
|
+
pastelpurple500: string;
|
|
66
|
+
darkpastelblue500: string;
|
|
67
|
+
darkpastelpink500: string;
|
|
68
|
+
darkpastelorange500: string;
|
|
69
|
+
darkpastelgreen500: string;
|
|
70
|
+
darkpastelpurple500: string;
|
|
71
|
+
green30: string;
|
|
72
|
+
darkgreen30: string;
|
|
73
|
+
orange50: string;
|
|
74
|
+
darkorange50: string;
|
|
75
|
+
orange30: string;
|
|
76
|
+
darkorange30: string;
|
|
77
|
+
green50: string;
|
|
78
|
+
darkgreen50: string;
|
|
79
|
+
opacity90: string;
|
|
80
|
+
facebookblue: string;
|
|
81
|
+
opacity05: string;
|
|
82
|
+
opacity15: string;
|
|
83
|
+
grey80: string;
|
|
84
|
+
grey200: string;
|
|
85
|
+
darkgrey80: string;
|
|
86
|
+
darkgrey200: string;
|
|
87
|
+
opacity70: string;
|
|
88
|
+
opacity60: string;
|
|
89
|
+
skyblue100: string;
|
|
90
|
+
green100: string;
|
|
91
|
+
darkgreen100: string;
|
|
92
|
+
darkskyblue100: string;
|
|
93
|
+
opacity25: string;
|
|
94
|
+
opacity35: string;
|
|
95
|
+
grey10: string;
|
|
96
|
+
darkgrey10: string;
|
|
97
|
+
};
|
|
98
|
+
readonly PaletteColor_light: {
|
|
3
99
|
sys_container_background_01: string;
|
|
4
100
|
sys_container_background_02: string;
|
|
5
101
|
sys_container_background_03: string;
|
|
@@ -266,103 +362,7 @@ declare const colorSet: {
|
|
|
266
362
|
sys_component_base_pressed_transparent: string;
|
|
267
363
|
sys_text_white_opacity_01: string;
|
|
268
364
|
};
|
|
269
|
-
readonly
|
|
270
|
-
blue500: string;
|
|
271
|
-
blue700: string;
|
|
272
|
-
blue300: string;
|
|
273
|
-
green700: string;
|
|
274
|
-
green500: string;
|
|
275
|
-
green300: string;
|
|
276
|
-
red500: string;
|
|
277
|
-
grey900: string;
|
|
278
|
-
grey500: string;
|
|
279
|
-
grey400: string;
|
|
280
|
-
grey100: string;
|
|
281
|
-
grey50: string;
|
|
282
|
-
white: string;
|
|
283
|
-
black: string;
|
|
284
|
-
darkblue500: string;
|
|
285
|
-
grey950: string;
|
|
286
|
-
darkgrey900: string;
|
|
287
|
-
darkgrey500: string;
|
|
288
|
-
darkgrey400: string;
|
|
289
|
-
darkgrey100: string;
|
|
290
|
-
darkgrey50: string;
|
|
291
|
-
darkred500: string;
|
|
292
|
-
darkgreen700: string;
|
|
293
|
-
orange500: string;
|
|
294
|
-
darkorange500: string;
|
|
295
|
-
opacity00: string;
|
|
296
|
-
opacity20: string;
|
|
297
|
-
opacity30: string;
|
|
298
|
-
opacity65: string;
|
|
299
|
-
darkgreen500: string;
|
|
300
|
-
grey70: string;
|
|
301
|
-
navy500: string;
|
|
302
|
-
lightgreen500: string;
|
|
303
|
-
pink500: string;
|
|
304
|
-
darkgrey70: string;
|
|
305
|
-
darknavy500: string;
|
|
306
|
-
darkpink500: string;
|
|
307
|
-
darklightgreen500: string;
|
|
308
|
-
opacity10: string;
|
|
309
|
-
grey600: string;
|
|
310
|
-
darkgrey600: string;
|
|
311
|
-
skyblue500: string;
|
|
312
|
-
skyblue300: string;
|
|
313
|
-
pink300: string;
|
|
314
|
-
lightpink500: string;
|
|
315
|
-
darkblue300: string;
|
|
316
|
-
darkblue700: string;
|
|
317
|
-
darkgreen300: string;
|
|
318
|
-
darkskyblue500: string;
|
|
319
|
-
navy100: string;
|
|
320
|
-
darknavy100: string;
|
|
321
|
-
opacity80: string;
|
|
322
|
-
opacity50: string;
|
|
323
|
-
grey30: string;
|
|
324
|
-
opacity95: string;
|
|
325
|
-
darkgrey30: string;
|
|
326
|
-
opacity40: string;
|
|
327
|
-
kakaoyellow: string;
|
|
328
|
-
pastelblue500: string;
|
|
329
|
-
pastelpink500: string;
|
|
330
|
-
pastelorange500: string;
|
|
331
|
-
pastelgreen500: string;
|
|
332
|
-
pastelpurple500: string;
|
|
333
|
-
darkpastelblue500: string;
|
|
334
|
-
darkpastelpink500: string;
|
|
335
|
-
darkpastelorange500: string;
|
|
336
|
-
darkpastelgreen500: string;
|
|
337
|
-
darkpastelpurple500: string;
|
|
338
|
-
green30: string;
|
|
339
|
-
darkgreen30: string;
|
|
340
|
-
orange50: string;
|
|
341
|
-
darkorange50: string;
|
|
342
|
-
orange30: string;
|
|
343
|
-
darkorange30: string;
|
|
344
|
-
green50: string;
|
|
345
|
-
darkgreen50: string;
|
|
346
|
-
opacity90: string;
|
|
347
|
-
facebookblue: string;
|
|
348
|
-
opacity05: string;
|
|
349
|
-
opacity15: string;
|
|
350
|
-
grey80: string;
|
|
351
|
-
grey200: string;
|
|
352
|
-
darkgrey80: string;
|
|
353
|
-
darkgrey200: string;
|
|
354
|
-
opacity70: string;
|
|
355
|
-
opacity60: string;
|
|
356
|
-
skyblue100: string;
|
|
357
|
-
green100: string;
|
|
358
|
-
darkgreen100: string;
|
|
359
|
-
darkskyblue100: string;
|
|
360
|
-
opacity25: string;
|
|
361
|
-
opacity35: string;
|
|
362
|
-
grey10: string;
|
|
363
|
-
darkgrey10: string;
|
|
364
|
-
};
|
|
365
|
-
readonly PaletteColor_light: {
|
|
365
|
+
readonly PaletteColor_Dark: {
|
|
366
366
|
sys_container_background_01: string;
|
|
367
367
|
sys_container_background_02: string;
|
|
368
368
|
sys_container_background_03: string;
|
|
@@ -1342,6 +1342,7 @@ declare const colorSet: {
|
|
|
1342
1342
|
ui_cpnt_reactionbutton_base_02: string;
|
|
1343
1343
|
ui_create_ch_step_prev: string;
|
|
1344
1344
|
ui_editor_preview_editing: string;
|
|
1345
|
+
ui_cpnt_icon_sys_black: string;
|
|
1345
1346
|
};
|
|
1346
1347
|
};
|
|
1347
1348
|
export default colorSet;
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
-
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
7
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
9
8
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
+
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
12
|
SemanticColor: SemanticColor_json_1.default,
|
|
14
13
|
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
|
+
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -66,19 +66,26 @@ function SectionBox(_a) {
|
|
|
66
66
|
setHasNoChild(false);
|
|
67
67
|
}, [isEditing, children]);
|
|
68
68
|
var onMouseEnter = function () {
|
|
69
|
+
if (hasNoChild) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
69
72
|
setIsHover(true);
|
|
70
73
|
};
|
|
71
74
|
var onClickSectionBox = function () {
|
|
75
|
+
if (hasNoChild) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
72
78
|
setFadeout(true);
|
|
79
|
+
setIsHover(false);
|
|
73
80
|
onClickDelayedAsync();
|
|
74
81
|
};
|
|
75
82
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
76
83
|
react_1.default.createElement(S_SectionBox, { ref: sectionRef, onClick: onClickSectionBox, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeaveAsync, isEditing: isEditing },
|
|
77
|
-
isEditing && !hasNoChild && (react_1.default.createElement(S_Editing,
|
|
84
|
+
isEditing && !hasNoChild && (react_1.default.createElement(S_Editing, null,
|
|
78
85
|
react_1.default.createElement(OverlayBorders_1.default, { zIndex: 1 }),
|
|
79
86
|
react_1.default.createElement(TopRightAbsoluteBox, null,
|
|
80
87
|
react_1.default.createElement(desktop_1.D_TextLabel, { text: t('str_4657'), styleTheme: "caption1Bold", colorOverride: "ui_cpnt_textlabel_sys_black", singleLineMode: "use", customFontWeight: "bold", textAlign: "center" })))),
|
|
81
|
-
|
|
88
|
+
!isEditing && (react_1.default.createElement(DimmedEditOverlay, { isHover: isHover, fadeOut: fadeOut },
|
|
82
89
|
react_1.default.createElement(S_EditButton, null,
|
|
83
90
|
react_1.default.createElement(desktop_1.D_TextLabel, { text: t('str_4653'), colorOverride: "ui_cpnt_textlabel_sys_black", singleLineMode: "use", customFontWeight: "bold", textAlign: "center" })))),
|
|
84
91
|
children)));
|
|
@@ -89,15 +96,21 @@ var TopRightAbsoluteBox = styled_components_1.default.div(templateObject_1 || (t
|
|
|
89
96
|
return theme.ui_editor_preview_editing;
|
|
90
97
|
});
|
|
91
98
|
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
|
|
99
|
+
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) {
|
|
100
|
+
var fadeOut = _a.fadeOut;
|
|
101
|
+
return fadeOut && 'fadeOut 0.2s ease-out';
|
|
102
|
+
}, function (_a) {
|
|
93
103
|
var theme = _a.theme;
|
|
94
104
|
return theme.ui_pages_section_dimmed;
|
|
95
105
|
}, function (_a) {
|
|
96
|
-
var fadeOut = _a.fadeOut;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
106
|
+
var isHover = _a.isHover, fadeOut = _a.fadeOut;
|
|
107
|
+
if (fadeOut) {
|
|
108
|
+
return 0;
|
|
109
|
+
}
|
|
110
|
+
if (isHover) {
|
|
111
|
+
return 1;
|
|
112
|
+
}
|
|
113
|
+
return 0;
|
|
101
114
|
});
|
|
102
115
|
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
116
|
var theme = _a.theme;
|