pds-dev-kit-web 1.8.6 → 1.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/assets/icons/fill/ArrowDown.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowDown.js +34 -0
- package/dist/src/common/assets/icons/fill/ArrowUp.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowUp.js +34 -0
- package/dist/src/common/assets/icons/fill/ToggleDown.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ToggleDown.js +36 -0
- package/dist/src/common/assets/icons/fill/ToggleUp.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ToggleUp.js +36 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/index.js +8 -0
- package/dist/src/common/assets/icons/line/Confetti.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Confetti.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceApp.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceApp.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceDesktop.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceDesktop.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceMobile.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceMobile.js +34 -0
- package/dist/src/common/assets/icons/line/EditorLeftSide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/EditorLeftSide.js +34 -0
- package/dist/src/common/assets/icons/line/EditorRightSide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/EditorRightSide.js +34 -0
- package/dist/src/common/assets/icons/line/Mail.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Mail.js +36 -0
- package/dist/src/common/assets/icons/line/News.d.ts +4 -0
- package/dist/src/common/assets/icons/line/News.js +36 -0
- package/dist/src/common/assets/icons/line/Rocket.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Rocket.js +36 -0
- package/dist/src/common/assets/icons/line/VideoGuide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoGuide.js +36 -0
- package/dist/src/common/assets/icons/line/index.d.ts +10 -0
- package/dist/src/common/assets/icons/line/index.js +20 -0
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +20 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +20 -1
- package/dist/src/common/styles/colorSet/SemanticColor.json +13 -1
- package/dist/src/common/styles/colorSet/UIColor.json +43 -4
- package/dist/src/common/styles/colorSet/index.d.ts +328 -239
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +39 -0
- package/dist/src/common/styles/index.d.ts +4 -0
- package/dist/src/common/styles/theme.d.ts +4 -0
- package/dist/src/common/styles/theme.js +4 -0
- package/dist/src/common/types/styled-components.d.ts +4 -0
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +2 -2
- package/dist/src/desktop/components/TextLabel/TextLabel.js +51 -40
- package/dist/src/hybrid/components/Icon/Icon.d.ts +1 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +2 -2
- package/dist/src/mobile/components/TextLabel/TextLabel.js +47 -36
- package/dist/src/sub/DynamicLayout/components/Section/Section.js +9 -11
- package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.js +39 -4
- package/dist/src/sub/DynamicLayout/hooks/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/hooks/index.js +5 -0
- package/dist/src/sub/DynamicLayout/hooks/usePrevious/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/hooks/usePrevious/index.js +8 -0
- package/dist/src/sub/DynamicLayout/hooks/usePrevious/usePrevious.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/hooks/usePrevious/usePrevious.js +25 -0
- package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/ContentsCarouselSection.js +10 -2
- package/dist/src/sub/DynamicLayout/sections/ContentsSection/ContentsSection.js +10 -2
- package/dist/src/sub/DynamicLayout/sections/FooterSection/FooterSection.js +10 -2
- package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/InfoBoxSection.js +10 -2
- package/dist/src/sub/DynamicLayout/sections/IntroSection/IntroSection.js +10 -2
- package/dist/storybook-static/{0.1e64cc00.iframe.bundle.d.ts → 0.a1562720.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{0.1e64cc00.iframe.bundle.js → 0.a1562720.iframe.bundle.js} +8 -8
- package/dist/storybook-static/{4.08a6743e.iframe.bundle.d.ts → 4.f6aa0ddb.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{4.08a6743e.iframe.bundle.js → 4.f6aa0ddb.iframe.bundle.js} +71 -71
- package/dist/storybook-static/{5.fd119510.iframe.bundle.d.ts → 5.45d40fc4.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{5.fd119510.iframe.bundle.js → 5.45d40fc4.iframe.bundle.js} +12 -12
- package/dist/storybook-static/{6.ed855029.iframe.bundle.d.ts → 6.c25f6d33.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{6.ed855029.iframe.bundle.js → 6.c25f6d33.iframe.bundle.js} +6 -6
- package/dist/storybook-static/{7.acdfc1e4.iframe.bundle.d.ts → 7.1fe04b11.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{7.acdfc1e4.iframe.bundle.js → 7.1fe04b11.iframe.bundle.js} +3 -3
- package/dist/storybook-static/main.ef70f048.iframe.bundle.d.ts +3121 -0
- package/dist/storybook-static/{main.3a848f92.iframe.bundle.js → main.ef70f048.iframe.bundle.js} +2016 -1734
- package/dist/storybook-static/{runtime~main.c94cafde.iframe.bundle.d.ts → runtime~main.549d38be.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{runtime~main.c94cafde.iframe.bundle.js → runtime~main.549d38be.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{vendors~main.6ff7334c.iframe.bundle.d.ts → vendors~main.1bc2d8cb.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{vendors~main.6ff7334c.iframe.bundle.js → vendors~main.1bc2d8cb.iframe.bundle.js} +590 -590
- package/package.json +1 -1
- package/release-note.md +28 -7
- package/dist/storybook-static/main.3a848f92.iframe.bundle.d.ts +0 -1124
|
@@ -47,7 +47,17 @@ var displayBold = (0, styled_components_1.css)(templateObject_1 || (templateObje
|
|
|
47
47
|
var theme = _a.theme;
|
|
48
48
|
return theme.fontWeight.bold;
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var wizardPageTitleBold = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
51
|
+
var theme = _a.theme;
|
|
52
|
+
return theme.mobileFontSize.wizardPageTitle;
|
|
53
|
+
}, function (_a) {
|
|
54
|
+
var theme = _a.theme;
|
|
55
|
+
return theme.mobileLineHeight.wizardPageTitle;
|
|
56
|
+
}, function (_a) {
|
|
57
|
+
var theme = _a.theme;
|
|
58
|
+
return theme.fontWeight.bold;
|
|
59
|
+
});
|
|
60
|
+
var headingBold = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
51
61
|
var theme = _a.theme;
|
|
52
62
|
return theme.mobileFontSize.heading;
|
|
53
63
|
}, function (_a) {
|
|
@@ -57,7 +67,7 @@ var headingBold = (0, styled_components_1.css)(templateObject_2 || (templateObje
|
|
|
57
67
|
var theme = _a.theme;
|
|
58
68
|
return theme.fontWeight.bold;
|
|
59
69
|
});
|
|
60
|
-
var leadParaBold = (0, styled_components_1.css)(
|
|
70
|
+
var leadParaBold = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
61
71
|
var theme = _a.theme;
|
|
62
72
|
return theme.mobileFontSize.leadParagraph;
|
|
63
73
|
}, function (_a) {
|
|
@@ -67,7 +77,7 @@ var leadParaBold = (0, styled_components_1.css)(templateObject_3 || (templateObj
|
|
|
67
77
|
var theme = _a.theme;
|
|
68
78
|
return theme.fontWeight.bold;
|
|
69
79
|
});
|
|
70
|
-
var leadParaRegular = (0, styled_components_1.css)(
|
|
80
|
+
var leadParaRegular = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
71
81
|
var theme = _a.theme;
|
|
72
82
|
return theme.mobileFontSize.leadParagraph;
|
|
73
83
|
}, function (_a) {
|
|
@@ -77,7 +87,7 @@ var leadParaRegular = (0, styled_components_1.css)(templateObject_4 || (template
|
|
|
77
87
|
var theme = _a.theme;
|
|
78
88
|
return theme.fontWeight.normal;
|
|
79
89
|
});
|
|
80
|
-
var subTitleBold = (0, styled_components_1.css)(
|
|
90
|
+
var subTitleBold = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
81
91
|
var theme = _a.theme;
|
|
82
92
|
return theme.mobileFontSize.subtitle;
|
|
83
93
|
}, function (_a) {
|
|
@@ -87,7 +97,7 @@ var subTitleBold = (0, styled_components_1.css)(templateObject_5 || (templateObj
|
|
|
87
97
|
var theme = _a.theme;
|
|
88
98
|
return theme.fontWeight.bold;
|
|
89
99
|
});
|
|
90
|
-
var subTitleRegular = (0, styled_components_1.css)(
|
|
100
|
+
var subTitleRegular = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
91
101
|
var theme = _a.theme;
|
|
92
102
|
return theme.mobileFontSize.subtitle;
|
|
93
103
|
}, function (_a) {
|
|
@@ -97,7 +107,7 @@ var subTitleRegular = (0, styled_components_1.css)(templateObject_6 || (template
|
|
|
97
107
|
var theme = _a.theme;
|
|
98
108
|
return theme.fontWeight.normal;
|
|
99
109
|
});
|
|
100
|
-
var body1Bold = (0, styled_components_1.css)(
|
|
110
|
+
var body1Bold = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
101
111
|
var theme = _a.theme;
|
|
102
112
|
return theme.mobileFontSize.body1;
|
|
103
113
|
}, function (_a) {
|
|
@@ -107,7 +117,7 @@ var body1Bold = (0, styled_components_1.css)(templateObject_7 || (templateObject
|
|
|
107
117
|
var theme = _a.theme;
|
|
108
118
|
return theme.fontWeight.bold;
|
|
109
119
|
});
|
|
110
|
-
var body1Regular = (0, styled_components_1.css)(
|
|
120
|
+
var body1Regular = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
111
121
|
var theme = _a.theme;
|
|
112
122
|
return theme.mobileFontSize.body1;
|
|
113
123
|
}, function (_a) {
|
|
@@ -117,7 +127,7 @@ var body1Regular = (0, styled_components_1.css)(templateObject_8 || (templateObj
|
|
|
117
127
|
var theme = _a.theme;
|
|
118
128
|
return theme.fontWeight.normal;
|
|
119
129
|
});
|
|
120
|
-
var body2Bold = (0, styled_components_1.css)(
|
|
130
|
+
var body2Bold = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
121
131
|
var theme = _a.theme;
|
|
122
132
|
return theme.mobileFontSize.body2;
|
|
123
133
|
}, function (_a) {
|
|
@@ -127,7 +137,7 @@ var body2Bold = (0, styled_components_1.css)(templateObject_9 || (templateObject
|
|
|
127
137
|
var theme = _a.theme;
|
|
128
138
|
return theme.fontWeight.bold;
|
|
129
139
|
});
|
|
130
|
-
var body2Regular = (0, styled_components_1.css)(
|
|
140
|
+
var body2Regular = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
131
141
|
var theme = _a.theme;
|
|
132
142
|
return theme.mobileFontSize.body2;
|
|
133
143
|
}, function (_a) {
|
|
@@ -137,7 +147,7 @@ var body2Regular = (0, styled_components_1.css)(templateObject_10 || (templateOb
|
|
|
137
147
|
var theme = _a.theme;
|
|
138
148
|
return theme.fontWeight.normal;
|
|
139
149
|
});
|
|
140
|
-
var caption1Bold = (0, styled_components_1.css)(
|
|
150
|
+
var caption1Bold = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
141
151
|
var theme = _a.theme;
|
|
142
152
|
return theme.mobileFontSize.caption1;
|
|
143
153
|
}, function (_a) {
|
|
@@ -147,7 +157,7 @@ var caption1Bold = (0, styled_components_1.css)(templateObject_11 || (templateOb
|
|
|
147
157
|
var theme = _a.theme;
|
|
148
158
|
return theme.fontWeight.bold;
|
|
149
159
|
});
|
|
150
|
-
var caption1Regular = (0, styled_components_1.css)(
|
|
160
|
+
var caption1Regular = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
151
161
|
var theme = _a.theme;
|
|
152
162
|
return theme.mobileFontSize.caption1;
|
|
153
163
|
}, function (_a) {
|
|
@@ -157,7 +167,7 @@ var caption1Regular = (0, styled_components_1.css)(templateObject_12 || (templat
|
|
|
157
167
|
var theme = _a.theme;
|
|
158
168
|
return theme.fontWeight.normal;
|
|
159
169
|
});
|
|
160
|
-
var caption2Bold = (0, styled_components_1.css)(
|
|
170
|
+
var caption2Bold = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
161
171
|
var theme = _a.theme;
|
|
162
172
|
return theme.mobileFontSize.caption2;
|
|
163
173
|
}, function (_a) {
|
|
@@ -167,7 +177,7 @@ var caption2Bold = (0, styled_components_1.css)(templateObject_13 || (templateOb
|
|
|
167
177
|
var theme = _a.theme;
|
|
168
178
|
return theme.fontWeight.bold;
|
|
169
179
|
});
|
|
170
|
-
var caption2Regular = (0, styled_components_1.css)(
|
|
180
|
+
var caption2Regular = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
171
181
|
var theme = _a.theme;
|
|
172
182
|
return theme.mobileFontSize.caption2;
|
|
173
183
|
}, function (_a) {
|
|
@@ -177,7 +187,7 @@ var caption2Regular = (0, styled_components_1.css)(templateObject_14 || (templat
|
|
|
177
187
|
var theme = _a.theme;
|
|
178
188
|
return theme.fontWeight.normal;
|
|
179
189
|
});
|
|
180
|
-
var form1Regular = (0, styled_components_1.css)(
|
|
190
|
+
var form1Regular = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
181
191
|
var theme = _a.theme;
|
|
182
192
|
return theme.mobileFontSize.form1;
|
|
183
193
|
}, function (_a) {
|
|
@@ -187,7 +197,7 @@ var form1Regular = (0, styled_components_1.css)(templateObject_15 || (templateOb
|
|
|
187
197
|
var theme = _a.theme;
|
|
188
198
|
return theme.fontWeight.normal;
|
|
189
199
|
});
|
|
190
|
-
var form2Regular = (0, styled_components_1.css)(
|
|
200
|
+
var form2Regular = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
191
201
|
var theme = _a.theme;
|
|
192
202
|
return theme.mobileFontSize.form2;
|
|
193
203
|
}, function (_a) {
|
|
@@ -197,7 +207,7 @@ var form2Regular = (0, styled_components_1.css)(templateObject_16 || (templateOb
|
|
|
197
207
|
var theme = _a.theme;
|
|
198
208
|
return theme.fontWeight.normal;
|
|
199
209
|
});
|
|
200
|
-
var blog1Regular = (0, styled_components_1.css)(
|
|
210
|
+
var blog1Regular = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
201
211
|
var theme = _a.theme;
|
|
202
212
|
return theme.mobileFontSize.blog1;
|
|
203
213
|
}, function (_a) {
|
|
@@ -207,68 +217,68 @@ var blog1Regular = (0, styled_components_1.css)(templateObject_17 || (templateOb
|
|
|
207
217
|
var theme = _a.theme;
|
|
208
218
|
return theme.fontWeight.normal;
|
|
209
219
|
});
|
|
210
|
-
var sysTextPrimary = (0, styled_components_1.css)(
|
|
220
|
+
var sysTextPrimary = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
211
221
|
var theme = _a.theme;
|
|
212
222
|
return theme.ui_cpnt_textlabel_sys_primary;
|
|
213
223
|
});
|
|
214
|
-
var sysTextSecondary = (0, styled_components_1.css)(
|
|
224
|
+
var sysTextSecondary = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
215
225
|
var theme = _a.theme;
|
|
216
226
|
return theme.ui_cpnt_textlabel_sys_secondary;
|
|
217
227
|
});
|
|
218
|
-
var sysTextTertiary = (0, styled_components_1.css)(
|
|
228
|
+
var sysTextTertiary = (0, styled_components_1.css)(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
219
229
|
var theme = _a.theme;
|
|
220
230
|
return theme.ui_cpnt_textlabel_sys_tertiary;
|
|
221
231
|
});
|
|
222
|
-
var sysTextWhite = (0, styled_components_1.css)(
|
|
232
|
+
var sysTextWhite = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
223
233
|
var theme = _a.theme;
|
|
224
234
|
return theme.ui_cpnt_textlabel_sys_white;
|
|
225
235
|
});
|
|
226
|
-
var sysTextError = (0, styled_components_1.css)(
|
|
236
|
+
var sysTextError = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
227
237
|
var theme = _a.theme;
|
|
228
238
|
return theme.ui_cpnt_textlabel_sys_error;
|
|
229
239
|
});
|
|
230
|
-
var sysTextWarning = (0, styled_components_1.css)(
|
|
240
|
+
var sysTextWarning = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
231
241
|
var theme = _a.theme;
|
|
232
242
|
return theme.ui_cpnt_textlabel_sys_warning;
|
|
233
243
|
});
|
|
234
|
-
var sysTextBrandPrimary = (0, styled_components_1.css)(
|
|
244
|
+
var sysTextBrandPrimary = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
235
245
|
var theme = _a.theme;
|
|
236
246
|
return theme.ui_cpnt_textlabel_sys_brandprimary;
|
|
237
247
|
});
|
|
238
|
-
var sysTextBrandSeconVariant = (0, styled_components_1.css)(
|
|
248
|
+
var sysTextBrandSeconVariant = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
239
249
|
var theme = _a.theme;
|
|
240
250
|
return theme.ui_cpnt_textlabel_sys_brandseconvariant;
|
|
241
251
|
});
|
|
242
|
-
var usrTextBrandPrimary = (0, styled_components_1.css)(
|
|
252
|
+
var usrTextBrandPrimary = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
243
253
|
var theme = _a.theme;
|
|
244
254
|
return theme.ui_cpnt_textlabel_usr_brandprimary;
|
|
245
255
|
});
|
|
246
|
-
var usrTextBrandSeconVariant = (0, styled_components_1.css)(
|
|
256
|
+
var usrTextBrandSeconVariant = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
247
257
|
var theme = _a.theme;
|
|
248
258
|
return theme.ui_cpnt_textlabel_usr_brandseconvariant;
|
|
249
259
|
});
|
|
250
|
-
var usrTextBrandOnPrimary = (0, styled_components_1.css)(
|
|
260
|
+
var usrTextBrandOnPrimary = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
251
261
|
var theme = _a.theme;
|
|
252
262
|
return theme.ui_cpnt_textlabel_usr_brandonprimary;
|
|
253
263
|
});
|
|
254
|
-
var customFontStyle = (0, styled_components_1.css)(
|
|
264
|
+
var customFontStyle = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"])), function (_a) {
|
|
255
265
|
var customFontSize = _a.customFontSize;
|
|
256
266
|
return customFontSize;
|
|
257
267
|
}, function (_a) {
|
|
258
268
|
var theme = _a.theme, customFontWeight = _a.customFontWeight;
|
|
259
269
|
return customFontWeight === 'bold' ? theme.fontWeight.bold : theme.fontWeight.normal;
|
|
260
270
|
});
|
|
261
|
-
var colorOverrideStyle = (0, styled_components_1.css)(
|
|
271
|
+
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
262
272
|
var colorOverride = _a.colorOverride, theme = _a.theme;
|
|
263
273
|
return colorOverride && theme[colorOverride];
|
|
264
274
|
});
|
|
265
|
-
var ellipsisStyle = (0, styled_components_1.css)(
|
|
275
|
+
var ellipsisStyle = (0, styled_components_1.css)(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
266
276
|
var lineLimit = _a.lineLimit;
|
|
267
277
|
return lineLimit;
|
|
268
278
|
});
|
|
269
|
-
var userSelectModeStyle = (0, styled_components_1.css)(
|
|
270
|
-
var bulletPointModeStyle = (0, styled_components_1.css)(
|
|
271
|
-
var S_TextLabel = styled_components_1.default.div(
|
|
279
|
+
var userSelectModeStyle = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"], ["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"])));
|
|
280
|
+
var bulletPointModeStyle = (0, styled_components_1.css)(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"], ["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"])));
|
|
281
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
272
282
|
var textAlign = _a.textAlign;
|
|
273
283
|
return textAlign;
|
|
274
284
|
}, function (_a) {
|
|
@@ -285,6 +295,7 @@ var S_TextLabel = styled_components_1.default.div(templateObject_34 || (template
|
|
|
285
295
|
return styleTheme &&
|
|
286
296
|
{
|
|
287
297
|
displayBold: displayBold,
|
|
298
|
+
wizardPageTitleBold: wizardPageTitleBold,
|
|
288
299
|
headingBold: headingBold,
|
|
289
300
|
leadParaBold: leadParaBold,
|
|
290
301
|
leadParaRegular: leadParaRegular,
|
|
@@ -346,7 +357,7 @@ var S_TextLabel = styled_components_1.default.div(templateObject_34 || (template
|
|
|
346
357
|
var bulletPointMode = _a.bulletPointMode;
|
|
347
358
|
return bulletPointMode === 'use' && bulletPointModeStyle;
|
|
348
359
|
});
|
|
349
|
-
var S_AfterTextBox = styled_components_1.default.div(
|
|
360
|
+
var S_AfterTextBox = styled_components_1.default.div(templateObject_36 || (templateObject_36 = __makeTemplateObject(["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n\n ", ";\n"], ["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n\n ", ";\n"])), function (_a) {
|
|
350
361
|
var theme = _a.theme;
|
|
351
362
|
return theme.spacing.spacingA;
|
|
352
363
|
}, function (_a) {
|
|
@@ -362,6 +373,6 @@ var S_AfterTextBox = styled_components_1.default.div(templateObject_35 || (templ
|
|
|
362
373
|
return 'vertical-align: middle';
|
|
363
374
|
}
|
|
364
375
|
});
|
|
365
|
-
var S_IconWrapper = styled_components_1.default.div(
|
|
376
|
+
var S_IconWrapper = styled_components_1.default.div(templateObject_37 || (templateObject_37 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"])));
|
|
366
377
|
exports.default = TextLabel;
|
|
367
|
-
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, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36;
|
|
378
|
+
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, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37;
|
|
@@ -56,13 +56,11 @@ var sectionContext_1 = require("./sectionContext");
|
|
|
56
56
|
function Section(_a) {
|
|
57
57
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
58
58
|
return (react_1.default.createElement(sectionContext_1.sectionContext.Provider, { value: props },
|
|
59
|
-
react_1.default.createElement(
|
|
60
|
-
react_1.default.createElement(
|
|
61
|
-
|
|
62
|
-
children))));
|
|
59
|
+
react_1.default.createElement(S_Section, null,
|
|
60
|
+
react_1.default.createElement(Background, null),
|
|
61
|
+
children)));
|
|
63
62
|
}
|
|
64
|
-
var
|
|
65
|
-
var S_Section = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-sizing: border-box;\n width: 100%;\n position: relative;\n z-index: 0;\n"], ["\n box-sizing: border-box;\n width: 100%;\n position: relative;\n z-index: 0;\n"])));
|
|
63
|
+
var S_Section = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n width: 100%;\n position: relative;\n z-index: 0;\n"], ["\n box-sizing: border-box;\n width: 100%;\n position: relative;\n z-index: 0;\n"])));
|
|
66
64
|
function Background() {
|
|
67
65
|
var context = (0, react_1.useContext)(sectionContext_1.sectionContext);
|
|
68
66
|
var id = context.id;
|
|
@@ -113,20 +111,20 @@ function Background() {
|
|
|
113
111
|
default:
|
|
114
112
|
return react_1.default.createElement(react_1.default.Fragment, null);
|
|
115
113
|
}
|
|
116
|
-
}, [youtubeSize, id, backgroundMediaSrc]);
|
|
114
|
+
}, [youtubeSize, id, backgroundMediaType, backgroundMediaSrc]);
|
|
117
115
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
118
116
|
react_1.default.createElement(S_BackgroundWrapper, { ref: backgroundRef, color: backgroundColorInHex }, backgroundMediaSrc && backgroundMedia),
|
|
119
117
|
react_1.default.createElement(S_BackgroundOverlay, { color: backgroundOverlayColorInHex })));
|
|
120
118
|
}
|
|
121
|
-
var S_BackgroundWrapper = styled_components_1.default.div(
|
|
119
|
+
var S_BackgroundWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n z-index: -2;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n"], ["\n z-index: -2;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n"])), function (_a) {
|
|
122
120
|
var color = _a.color;
|
|
123
121
|
return color;
|
|
124
122
|
});
|
|
125
|
-
var S_BackgroundOverlay = styled_components_1.default.div(
|
|
123
|
+
var S_BackgroundOverlay = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n z-index: -1;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n"], ["\n z-index: -1;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n"])), function (_a) {
|
|
126
124
|
var color = _a.color;
|
|
127
125
|
return color;
|
|
128
126
|
});
|
|
129
|
-
var S_YoutubeContainer = styled_components_1.default.div(
|
|
127
|
+
var S_YoutubeContainer = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n"], ["\n height: ", ";\n width: ", ";\n"])), function (_a) {
|
|
130
128
|
var height = _a.height;
|
|
131
129
|
return height + "px";
|
|
132
130
|
}, function (_a) {
|
|
@@ -134,4 +132,4 @@ var S_YoutubeContainer = styled_components_1.default.div(templateObject_5 || (te
|
|
|
134
132
|
return width + "px";
|
|
135
133
|
});
|
|
136
134
|
exports.default = Section;
|
|
137
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4
|
|
135
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
@@ -28,11 +28,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
var react_1 = __importStar(require("react"));
|
|
30
30
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
31
|
+
var hooks_1 = require("../../hooks");
|
|
31
32
|
var TouTubeLinkParser_1 = __importDefault(require("../../utils/TouTubeLinkParser"));
|
|
32
33
|
function YouTubeIframe(_a) {
|
|
33
34
|
var id = _a.id, src = _a.src;
|
|
34
35
|
var _b = (0, react_1.useState)(true), isYoutubeLoading = _b[0], setIsYoutubeLoading = _b[1];
|
|
35
36
|
var _c = (0, react_1.useState)(null), error = _c[0], setError = _c[1];
|
|
37
|
+
var playerRef = (0, react_1.useRef)();
|
|
38
|
+
var videoId = TouTubeLinkParser_1.default.getId(src);
|
|
39
|
+
var prevVideoId = (0, hooks_1.usePrevious)(videoId);
|
|
36
40
|
var PLAYER_ID = "PLAYER_" + id;
|
|
37
41
|
var YOUTUBE_SCRIPT_ID = "YOUTUBE_SCRIPT_" + id;
|
|
38
42
|
var YOUTUBE_SCRIPT_SRC = 'https://www.youtube.com/iframe_api';
|
|
@@ -82,7 +86,9 @@ function YouTubeIframe(_a) {
|
|
|
82
86
|
(_a = event.target) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
83
87
|
}, []);
|
|
84
88
|
var onYouTubeIframeAPIReady = (0, react_1.useCallback)(function () {
|
|
85
|
-
|
|
89
|
+
if (!videoId || !PLAYER_ID) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
86
92
|
try {
|
|
87
93
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
88
94
|
var player = new window.YT.Player(PLAYER_ID, {
|
|
@@ -102,12 +108,13 @@ function YouTubeIframe(_a) {
|
|
|
102
108
|
onError: onPlayerError
|
|
103
109
|
}
|
|
104
110
|
});
|
|
111
|
+
playerRef.current = player;
|
|
105
112
|
}
|
|
106
113
|
catch (error) {
|
|
107
114
|
// eslint-disable-next-line no-console
|
|
108
|
-
console.
|
|
115
|
+
console.log(error);
|
|
109
116
|
}
|
|
110
|
-
}, [PLAYER_ID,
|
|
117
|
+
}, [PLAYER_ID, videoId, onPlayerReady, onPlayerStateChange, onPlayerError]);
|
|
111
118
|
var loadYouTubeIFrameApi = (0, react_1.useCallback)(function () {
|
|
112
119
|
var _a;
|
|
113
120
|
var youtubeScript = document.createElement('script');
|
|
@@ -129,7 +136,35 @@ function YouTubeIframe(_a) {
|
|
|
129
136
|
*/
|
|
130
137
|
(0, react_1.useLayoutEffect)(function () {
|
|
131
138
|
loadYouTubeIFrameApi();
|
|
132
|
-
}, [
|
|
139
|
+
}, []);
|
|
140
|
+
/**
|
|
141
|
+
@when : videoId가 변경될 때,
|
|
142
|
+
@expected : 변경된 videoId로 video를 불러옵니다.
|
|
143
|
+
@clear : -
|
|
144
|
+
*/
|
|
145
|
+
(0, react_1.useEffect)(function () {
|
|
146
|
+
var _a;
|
|
147
|
+
if (!playerRef.current)
|
|
148
|
+
return;
|
|
149
|
+
if (!videoId) {
|
|
150
|
+
(_a = playerRef.current) === null || _a === void 0 ? void 0 : _a.stopVideo();
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
if (videoId !== prevVideoId) {
|
|
154
|
+
playerRef.current.loadVideoById({
|
|
155
|
+
videoId: videoId,
|
|
156
|
+
playerVars: {
|
|
157
|
+
playsinline: 1,
|
|
158
|
+
autoplay: 1,
|
|
159
|
+
controls: 0,
|
|
160
|
+
iv_load_policy: 3,
|
|
161
|
+
listType: 'playlist',
|
|
162
|
+
playlist: videoId,
|
|
163
|
+
loop: 1
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
}, [playerRef, videoId, prevVideoId, onYouTubeIframeAPIReady]);
|
|
133
168
|
/**
|
|
134
169
|
@when : error객체가 발행될 때,
|
|
135
170
|
@expected : player를 다시 생성합니다. (추가 시도 최대 5회)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { usePrevious } from './usePrevious';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.usePrevious = void 0;
|
|
4
|
+
var usePrevious_1 = require("./usePrevious");
|
|
5
|
+
Object.defineProperty(exports, "usePrevious", { enumerable: true, get: function () { return usePrevious_1.usePrevious; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as usePrevious } from './usePrevious';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.usePrevious = void 0;
|
|
7
|
+
var usePrevious_1 = require("./usePrevious");
|
|
8
|
+
Object.defineProperty(exports, "usePrevious", { enumerable: true, get: function () { return __importDefault(usePrevious_1).default; } });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* value의 이전 상태를 추적합니다.
|
|
3
|
+
*
|
|
4
|
+
* @param value state 또는 계산된 value.
|
|
5
|
+
* @returns 컴포넌트에서 사용된 '이전' 상태.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* function Component() {
|
|
9
|
+
* const [count, setCount] = useState(0);
|
|
10
|
+
* const prevCount = usePrevious(count);
|
|
11
|
+
* // ...
|
|
12
|
+
* return `Now: ${count}, before: ${prevCount}`;
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export default function usePrevious<T>(value: T): T | undefined;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var react_1 = require("react");
|
|
4
|
+
/**
|
|
5
|
+
* value의 이전 상태를 추적합니다.
|
|
6
|
+
*
|
|
7
|
+
* @param value state 또는 계산된 value.
|
|
8
|
+
* @returns 컴포넌트에서 사용된 '이전' 상태.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* function Component() {
|
|
12
|
+
* const [count, setCount] = useState(0);
|
|
13
|
+
* const prevCount = usePrevious(count);
|
|
14
|
+
* // ...
|
|
15
|
+
* return `Now: ${count}, before: ${prevCount}`;
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
18
|
+
function usePrevious(value) {
|
|
19
|
+
var ref = (0, react_1.useRef)();
|
|
20
|
+
(0, react_1.useEffect)(function () {
|
|
21
|
+
ref.current = value;
|
|
22
|
+
}, [value]);
|
|
23
|
+
return ref.current;
|
|
24
|
+
}
|
|
25
|
+
exports.default = usePrevious;
|
package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/ContentsCarouselSection.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
2
6
|
var __assign = (this && this.__assign) || function () {
|
|
3
7
|
__assign = Object.assign || function(t) {
|
|
4
8
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -26,13 +30,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
30
|
};
|
|
27
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
32
|
var react_1 = __importDefault(require("react"));
|
|
33
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
29
34
|
var components_1 = require("../../components");
|
|
30
35
|
var templates_1 = require("./templates");
|
|
31
36
|
function ContentsCarouselSection(_a) {
|
|
32
37
|
var props = __rest(_a, []);
|
|
33
|
-
return (react_1.default.createElement(
|
|
34
|
-
react_1.default.createElement(
|
|
38
|
+
return (react_1.default.createElement(S_SectionWrapper, { "x-dlayout-section-type": "ContentsCarousel" },
|
|
39
|
+
react_1.default.createElement(components_1.Section, __assign({}, props),
|
|
40
|
+
react_1.default.createElement(TemplateMatcher, { styleTemplate: props.template }))));
|
|
35
41
|
}
|
|
42
|
+
var S_SectionWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
36
43
|
function TemplateMatcher(_a) {
|
|
37
44
|
var styleTemplate = _a.styleTemplate;
|
|
38
45
|
switch (styleTemplate) {
|
|
@@ -45,3 +52,4 @@ function TemplateMatcher(_a) {
|
|
|
45
52
|
}
|
|
46
53
|
}
|
|
47
54
|
exports.default = ContentsCarouselSection;
|
|
55
|
+
var templateObject_1;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
2
6
|
var __assign = (this && this.__assign) || function () {
|
|
3
7
|
__assign = Object.assign || function(t) {
|
|
4
8
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -26,13 +30,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
30
|
};
|
|
27
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
32
|
var react_1 = __importDefault(require("react"));
|
|
33
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
29
34
|
var components_1 = require("../../components");
|
|
30
35
|
var templates_1 = require("./templates");
|
|
31
36
|
function ContentsSection(_a) {
|
|
32
37
|
var props = __rest(_a, []);
|
|
33
|
-
return (react_1.default.createElement(
|
|
34
|
-
react_1.default.createElement(
|
|
38
|
+
return (react_1.default.createElement(S_SectionWrapper, { "x-dlayout-section-type": "Contents" },
|
|
39
|
+
react_1.default.createElement(components_1.Section, __assign({}, props),
|
|
40
|
+
react_1.default.createElement(TemplateMather, { styleTemplate: props.template }))));
|
|
35
41
|
}
|
|
42
|
+
var S_SectionWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
36
43
|
function TemplateMather(_a) {
|
|
37
44
|
var styleTemplate = _a.styleTemplate;
|
|
38
45
|
switch (styleTemplate) {
|
|
@@ -45,3 +52,4 @@ function TemplateMather(_a) {
|
|
|
45
52
|
}
|
|
46
53
|
}
|
|
47
54
|
exports.default = ContentsSection;
|
|
55
|
+
var templateObject_1;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
2
6
|
var __assign = (this && this.__assign) || function () {
|
|
3
7
|
__assign = Object.assign || function(t) {
|
|
4
8
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -26,13 +30,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
30
|
};
|
|
27
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
32
|
var react_1 = __importDefault(require("react"));
|
|
33
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
29
34
|
var components_1 = require("../../components");
|
|
30
35
|
var templates_1 = require("./templates");
|
|
31
36
|
function FooterSection(_a) {
|
|
32
37
|
var props = __rest(_a, []);
|
|
33
|
-
return (react_1.default.createElement(
|
|
34
|
-
react_1.default.createElement(
|
|
38
|
+
return (react_1.default.createElement(S_SectionWrapper, { "x-dlayout-section-type": "Footer" },
|
|
39
|
+
react_1.default.createElement(components_1.Section, __assign({}, props),
|
|
40
|
+
react_1.default.createElement(TemplateMather, { styleTemplate: props.template }))));
|
|
35
41
|
}
|
|
42
|
+
var S_SectionWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
36
43
|
function TemplateMather(_a) {
|
|
37
44
|
var styleTemplate = _a.styleTemplate;
|
|
38
45
|
switch (styleTemplate) {
|
|
@@ -45,3 +52,4 @@ function TemplateMather(_a) {
|
|
|
45
52
|
}
|
|
46
53
|
}
|
|
47
54
|
exports.default = FooterSection;
|
|
55
|
+
var templateObject_1;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
2
6
|
var __assign = (this && this.__assign) || function () {
|
|
3
7
|
__assign = Object.assign || function(t) {
|
|
4
8
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -26,13 +30,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
30
|
};
|
|
27
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
32
|
var react_1 = __importDefault(require("react"));
|
|
33
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
29
34
|
var components_1 = require("../../components");
|
|
30
35
|
var templates_1 = require("./templates");
|
|
31
36
|
function InfoBoxSection(_a) {
|
|
32
37
|
var props = __rest(_a, []);
|
|
33
|
-
return (react_1.default.createElement(
|
|
34
|
-
react_1.default.createElement(
|
|
38
|
+
return (react_1.default.createElement(S_SectionWrapper, { "x-dlayout-section-type": "InfoBox" },
|
|
39
|
+
react_1.default.createElement(components_1.Section, __assign({}, props),
|
|
40
|
+
react_1.default.createElement(TemplateMather, { styleTemplate: props.template }))));
|
|
35
41
|
}
|
|
42
|
+
var S_SectionWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
36
43
|
function TemplateMather(_a) {
|
|
37
44
|
var styleTemplate = _a.styleTemplate;
|
|
38
45
|
switch (styleTemplate) {
|
|
@@ -43,3 +50,4 @@ function TemplateMather(_a) {
|
|
|
43
50
|
}
|
|
44
51
|
}
|
|
45
52
|
exports.default = InfoBoxSection;
|
|
53
|
+
var templateObject_1;
|