@wayke-se/components-react 2.11.0 → 2.15.0
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-node/index.js +941 -2922
- package/dist-node/index.js.map +1 -1
- package/dist-src/components/Ecom/index.js +1 -1
- package/dist-src/components/Gallery/index.js +1 -1
- package/dist-src/components/InputCheckbox/index.js +1 -1
- package/dist-src/components/InputCheckbox/wrapper.js +2 -2
- package/dist-src/components/Page/index.js +1 -7
- package/dist-src/components/Pdf/index.js +11 -0
- package/dist-src/components/Pdf/wrapper.js +55 -0
- package/dist-src/components/RangeSlider/RangeSliderSimple.js +1 -1
- package/dist-src/components/RangeSlider/handle.js +2 -2
- package/dist-src/components/RangeSlider/index.js +1 -1
- package/dist-src/components/RangeSlider/track.js +2 -2
- package/dist-src/layouts/WaykeCompositeWithProvider.js +2 -2
- package/dist-src/layouts/searchItem/ManufacturerPackagesOption.js +1 -1
- package/dist-src/layouts/searchItem/MetadataItem.js +2 -2
- package/dist-src/layouts/searchItem/PackageOptionModal.js +1 -1
- package/dist-src/layouts/searchItem/PackageOptions.js +1 -1
- package/dist-src/layouts/searchItem/index.js +10 -1
- package/dist-src/queries/SEARCH_ITEM_QUERY.js +1 -0
- package/dist-src/utils/phonenumbers.js +1 -1
- package/dist-types/@types/codegen/types.d.ts +57 -42
- package/dist-types/components/Page/index.d.ts +1 -1
- package/dist-types/components/Pdf/index.d.ts +11 -0
- package/dist-types/components/Pdf/wrapper.d.ts +11 -0
- package/dist-types/index.d.ts +14 -8
- package/dist-web/index.js +89 -23
- package/dist-web/index.js.map +1 -1
- package/package.json +40 -40
package/dist-node/index.js
CHANGED
|
@@ -17,8 +17,8 @@ var Slider$1 = _interopDefault(require('react-slick'));
|
|
|
17
17
|
var scrollIntoView = _interopDefault(require('scroll-into-view-if-needed'));
|
|
18
18
|
var client = require('@apollo/client');
|
|
19
19
|
var EcomBase = _interopDefault(require('@wayke-se/ecom-react'));
|
|
20
|
-
var marked =
|
|
21
|
-
var
|
|
20
|
+
var marked = require('marked');
|
|
21
|
+
var core = require('libphonenumber-js/core');
|
|
22
22
|
|
|
23
23
|
const _colors = {
|
|
24
24
|
black: '#000',
|
|
@@ -82,99 +82,72 @@ const size = (multiplier = 1) => {
|
|
|
82
82
|
return `${multiplier * baseUnit}px`;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
const Wrapper = styled__default.div
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
margin: 0 auto;
|
|
89
|
-
padding: 0 ${size(3)};
|
|
90
|
-
|
|
91
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
92
|
-
padding: 0 ${size(2)};
|
|
93
|
-
}
|
|
94
|
-
`;
|
|
85
|
+
const Wrapper = styled__default.div.withConfig({
|
|
86
|
+
displayName: "wrapper__Wrapper"
|
|
87
|
+
})(["width:100%;max-width:", ";margin:0 auto;padding:0 ", ";", "{padding:0 ", ";}"], props => props.theme.distances.containerMaxWidth, size(3), props => props.theme.breakpoint.LtSm, size(2));
|
|
95
88
|
|
|
96
89
|
const Container = ({
|
|
97
90
|
children
|
|
98
91
|
}) => React__default.createElement(Wrapper, null, children);
|
|
99
92
|
|
|
100
|
-
const Page = styled__default.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
`;
|
|
107
|
-
const PageSection = styled__default.section`
|
|
108
|
-
margin-bottom: ${size(4)};
|
|
109
|
-
|
|
110
|
-
${({
|
|
93
|
+
const Page = styled__default.div.withConfig({
|
|
94
|
+
displayName: "Page"
|
|
95
|
+
})([""]);
|
|
96
|
+
const PageSection = styled__default.section.withConfig({
|
|
97
|
+
displayName: "Page__PageSection"
|
|
98
|
+
})(["margin-bottom:", ";", " ", " ", " ", ""], size(4), ({
|
|
111
99
|
accent
|
|
112
|
-
}) => accent && styled.css(["padding:", " 0;background-color:", ";margin-bottom:0;"], size(4), props => props.theme.color.accent)
|
|
113
|
-
|
|
114
|
-
${({
|
|
100
|
+
}) => accent && styled.css(["padding:", " 0;background-color:", ";margin-bottom:0;"], size(4), props => props.theme.color.accent), ({
|
|
115
101
|
large
|
|
116
|
-
}) => large && styled.css(["margin-bottom:", ";"], size(8))
|
|
117
|
-
|
|
118
|
-
${({
|
|
102
|
+
}) => large && styled.css(["margin-bottom:", ";"], size(8)), ({
|
|
119
103
|
accent,
|
|
120
104
|
large
|
|
121
|
-
}) => accent && large && styled.css(["padding:", " 0;margin-bottom:0;"], size(8))
|
|
122
|
-
|
|
123
|
-
${({
|
|
105
|
+
}) => accent && large && styled.css(["padding:", " 0;margin-bottom:0;"], size(8)), ({
|
|
124
106
|
fillSpace
|
|
125
|
-
}) => fillSpace && styled.css(["flex:1 1 auto;"])
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
const HeaderCount = styled__default.div
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const HeaderSort = styled__default.div
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
const Body = styled__default.div
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
const FooterAction = styled__default.div
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
const ResultCount = styled__default.div
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
position: relative;
|
|
165
|
-
width: 100%;
|
|
166
|
-
height: 2px;
|
|
167
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
168
|
-
`;
|
|
107
|
+
}) => fillSpace && styled.css(["flex:1 1 auto;"]));
|
|
108
|
+
|
|
109
|
+
const Wrapper$1 = styled__default.div.withConfig({
|
|
110
|
+
displayName: "wrapper__Wrapper"
|
|
111
|
+
})([""]);
|
|
112
|
+
const Header = styled__default.header.withConfig({
|
|
113
|
+
displayName: "wrapper__Header"
|
|
114
|
+
})(["display:flex;margin-bottom:", ";"], size(4));
|
|
115
|
+
const HeaderCount = styled__default.div.withConfig({
|
|
116
|
+
displayName: "wrapper__HeaderCount"
|
|
117
|
+
})(["flex:1 1 auto;"]);
|
|
118
|
+
const HeaderSort = styled__default.div.withConfig({
|
|
119
|
+
displayName: "wrapper__HeaderSort"
|
|
120
|
+
})(["flex-shrink:0;"]);
|
|
121
|
+
const Body = styled__default.div.withConfig({
|
|
122
|
+
displayName: "wrapper__Body"
|
|
123
|
+
})([""]);
|
|
124
|
+
const Footer = styled__default.footer.withConfig({
|
|
125
|
+
displayName: "wrapper__Footer"
|
|
126
|
+
})(["margin-top:", ";text-align:center;"], size(8));
|
|
127
|
+
const FooterProgress = styled__default.div.withConfig({
|
|
128
|
+
displayName: "wrapper__FooterProgress"
|
|
129
|
+
})(["max-width:175px;margin:0 auto;"]);
|
|
130
|
+
const FooterAction = styled__default.div.withConfig({
|
|
131
|
+
displayName: "wrapper__FooterAction"
|
|
132
|
+
})(["margin-top:", ";"], size(3));
|
|
133
|
+
const ResultCount = styled__default.div.withConfig({
|
|
134
|
+
displayName: "wrapper__ResultCount"
|
|
135
|
+
})(["color:", ";font-size:0.875rem;"], props => props.theme.color.textDarkLighten);
|
|
136
|
+
|
|
137
|
+
const Wrapper$2 = styled__default.div.withConfig({
|
|
138
|
+
displayName: "wrapper__Wrapper"
|
|
139
|
+
})(["text-align:center;"]);
|
|
140
|
+
const Description = styled__default.div.withConfig({
|
|
141
|
+
displayName: "wrapper__Description"
|
|
142
|
+
})(["margin-bottom:", ";font-size:0.875rem;"], size(1.5));
|
|
143
|
+
const Bar = styled__default.div.withConfig({
|
|
144
|
+
displayName: "wrapper__Bar"
|
|
145
|
+
})(["position:relative;width:100%;height:2px;background-color:", ";"], props => props.theme.color.accentDark);
|
|
169
146
|
const BarActive = styled__default.div.attrs(() => ({
|
|
170
147
|
role: 'progressbar'
|
|
171
|
-
}))
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
left: 0;
|
|
175
|
-
height: 100%;
|
|
176
|
-
background-color: ${props => props.theme.color.textDark};
|
|
177
|
-
`;
|
|
148
|
+
})).withConfig({
|
|
149
|
+
displayName: "wrapper__BarActive"
|
|
150
|
+
})(["position:absolute;top:0;left:0;height:100%;background-color:", ";"], props => props.theme.color.textDark);
|
|
178
151
|
|
|
179
152
|
const ProgressBar = ({
|
|
180
153
|
unit,
|
|
@@ -192,246 +165,97 @@ const ProgressBar = ({
|
|
|
192
165
|
})));
|
|
193
166
|
};
|
|
194
167
|
|
|
195
|
-
const UtilityTextRight = styled__default.div
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
const UtilityFontSizeSmall = styled__default.span
|
|
199
|
-
|
|
200
|
-
|
|
168
|
+
const UtilityTextRight = styled__default.div.withConfig({
|
|
169
|
+
displayName: "Utility__UtilityTextRight"
|
|
170
|
+
})(["text-align:right;"]);
|
|
171
|
+
const UtilityFontSizeSmall = styled__default.span.withConfig({
|
|
172
|
+
displayName: "Utility__UtilityFontSizeSmall"
|
|
173
|
+
})(["font-size:0.875rem;"]);
|
|
201
174
|
const UtilityTextPrimary = styled__default.span.attrs(() => ({
|
|
202
175
|
className: 'wayke__theme wayke__color--primary-text'
|
|
203
|
-
}))
|
|
176
|
+
})).withConfig({
|
|
177
|
+
displayName: "Utility__UtilityTextPrimary"
|
|
178
|
+
})([""]);
|
|
204
179
|
const UtilityTextBold = styled__default.span.attrs(() => ({
|
|
205
180
|
className: 'wayke__theme wayke__font--bold'
|
|
206
|
-
}))
|
|
181
|
+
})).withConfig({
|
|
182
|
+
displayName: "Utility__UtilityTextBold"
|
|
183
|
+
})([""]);
|
|
207
184
|
|
|
208
185
|
const ButtonReset = styled__default.button.attrs(() => ({
|
|
209
186
|
type: 'button'
|
|
210
|
-
}))
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
border: 0;
|
|
217
|
-
border-radius: 0;
|
|
218
|
-
font-family: sans-serif;
|
|
219
|
-
font-weight: 400;
|
|
220
|
-
font-size: 1em;
|
|
221
|
-
color: currentColor;
|
|
222
|
-
line-height: 1.2;
|
|
223
|
-
text-align: center;
|
|
224
|
-
text-decoration: none;
|
|
225
|
-
-webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
|
|
226
|
-
cursor: pointer;
|
|
227
|
-
|
|
228
|
-
:focus {
|
|
229
|
-
outline: none;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
::-moz-focus-inner {
|
|
233
|
-
border: 0;
|
|
234
|
-
}
|
|
235
|
-
`;
|
|
236
|
-
const ButtonBase = styled__default(ButtonReset)`
|
|
237
|
-
position: relative;
|
|
238
|
-
display: inline-flex;
|
|
239
|
-
align-items: center;
|
|
240
|
-
justify-content: center;
|
|
241
|
-
padding: ${size(1.75)} ${size(6)};
|
|
242
|
-
border-radius: 3px;
|
|
243
|
-
font-size: 1rem;
|
|
244
|
-
line-height: 1.2;
|
|
245
|
-
text-decoration: none;
|
|
246
|
-
transform-origin: 50% 50%;
|
|
247
|
-
transition: 200ms ease, transform 300ms cubic-bezier(0.47, 1.64, 0.41, 0.8);
|
|
248
|
-
|
|
249
|
-
:before {
|
|
250
|
-
content: '';
|
|
251
|
-
position: absolute;
|
|
252
|
-
top: 0;
|
|
253
|
-
left: 0;
|
|
254
|
-
width: 100%;
|
|
255
|
-
height: 100%;
|
|
256
|
-
background-color: ${props => props.theme.color.hoverOverlay};
|
|
257
|
-
border-radius: 3px;
|
|
258
|
-
opacity: 0;
|
|
259
|
-
transition: opacity 150ms ease;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
:hover {
|
|
263
|
-
:before {
|
|
264
|
-
opacity: 1;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
:active {
|
|
269
|
-
transform: scale(0.97);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
&[disabled] {
|
|
273
|
-
background-color: ${props => props.theme.color.disabledBg};
|
|
274
|
-
border-color: ${props => props.theme.color.disabledBg};
|
|
275
|
-
color: ${props => props.theme.color.disabledText};
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
${({
|
|
187
|
+
})).withConfig({
|
|
188
|
+
displayName: "Button__ButtonReset"
|
|
189
|
+
})(["display:inline-block;vertical-align:middle;padding:0;margin:0;background-color:transparent;border:0;border-radius:0;font-family:sans-serif;font-weight:400;font-size:1em;color:currentColor;line-height:1.2;text-align:center;text-decoration:none;-webkit-tap-highlight-color:rgba(255,255,255,0.1);cursor:pointer;:focus{outline:none;}::-moz-focus-inner{border:0;}"]);
|
|
190
|
+
const ButtonBase = styled__default(ButtonReset).withConfig({
|
|
191
|
+
displayName: "Button__ButtonBase"
|
|
192
|
+
})(["position:relative;display:inline-flex;align-items:center;justify-content:center;padding:", " ", ";border-radius:3px;font-size:1rem;line-height:1.2;text-decoration:none;transform-origin:50% 50%;transition:200ms ease,transform 300ms cubic-bezier(0.47,1.64,0.41,0.8);:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:", ";border-radius:3px;opacity:0;transition:opacity 150ms ease;}:hover{:before{opacity:1;}}:active{transform:scale(0.97);}&[disabled]{background-color:", ";border-color:", ";color:", ";}", " ", " ", "{padding:", " ", ";font-size:0.875rem;}"], size(1.75), size(6), props => props.theme.color.hoverOverlay, props => props.theme.color.disabledBg, props => props.theme.color.disabledBg, props => props.theme.color.disabledText, ({
|
|
279
193
|
fullWidth
|
|
280
|
-
}) => fullWidth && styled.css(["display:flex;width:100%;"])
|
|
281
|
-
|
|
282
|
-
${({
|
|
194
|
+
}) => fullWidth && styled.css(["display:flex;width:100%;"]), ({
|
|
283
195
|
inputHeight
|
|
284
|
-
}) => inputHeight && styled.css(["height:", ";"], props => props.theme.distances.inputHeight)
|
|
285
|
-
|
|
286
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
287
|
-
padding: ${size(1.75)} ${size(2.5)};
|
|
288
|
-
font-size: 0.875rem;
|
|
289
|
-
}
|
|
290
|
-
`;
|
|
196
|
+
}) => inputHeight && styled.css(["height:", ";"], props => props.theme.distances.inputHeight), props => props.theme.breakpoint.LtSm, size(1.75), size(2.5));
|
|
291
197
|
const ButtonPrimary = styled__default(ButtonBase).attrs(() => ({
|
|
292
198
|
className: 'wayke__theme wayke__color--primary-bg wayke__font--bold'
|
|
293
|
-
}))
|
|
199
|
+
})).withConfig({
|
|
200
|
+
displayName: "Button__ButtonPrimary"
|
|
201
|
+
})([""]);
|
|
294
202
|
const ButtonSecondary = styled__default(ButtonBase).attrs(() => ({
|
|
295
203
|
className: 'wayke__theme wayke__color--secondary-bg wayke__font--bold'
|
|
296
|
-
}))
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
z-index: 1;
|
|
303
|
-
|
|
304
|
-
& + & {
|
|
305
|
-
margin-left: ${size(0.5)};
|
|
306
|
-
}
|
|
307
|
-
`;
|
|
204
|
+
})).withConfig({
|
|
205
|
+
displayName: "Button__ButtonSecondary"
|
|
206
|
+
})(["background-color:", ";color:", ";"], props => props.theme.color.accentDark, props => props.theme.color.textDark);
|
|
207
|
+
const ButtonContent = styled__default.div.withConfig({
|
|
208
|
+
displayName: "Button__ButtonContent"
|
|
209
|
+
})(["position:relative;z-index:1;& + &{margin-left:", ";}"], size(0.5));
|
|
308
210
|
const ButtonClear = styled__default(ButtonReset).attrs(() => ({
|
|
309
211
|
className: 'wayke__theme wayke__color--primary-text wayke__font--bold'
|
|
310
|
-
}))
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
padding: ${size(1.5)};
|
|
314
|
-
margin: ${size(-1.5)};
|
|
315
|
-
text-align: left;
|
|
316
|
-
transform-origin: 50% 50%;
|
|
317
|
-
transition: transform 300ms cubic-bezier(0.47, 1.64, 0.41, 0.8);
|
|
318
|
-
|
|
319
|
-
${UtilityTextRight} & {
|
|
320
|
-
text-align: right;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
:before {
|
|
324
|
-
content: '';
|
|
325
|
-
position: absolute;
|
|
326
|
-
top: 0;
|
|
327
|
-
bottom: 0;
|
|
328
|
-
left: 0;
|
|
329
|
-
right: 0;
|
|
330
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
331
|
-
border-radius: 3px;
|
|
332
|
-
opacity: 0;
|
|
333
|
-
transition: opacity 200ms ease;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
:hover {
|
|
337
|
-
:before {
|
|
338
|
-
opacity: 1;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
:active {
|
|
343
|
-
transform: scale(0.95);
|
|
344
|
-
}
|
|
345
|
-
`;
|
|
212
|
+
})).withConfig({
|
|
213
|
+
displayName: "Button__ButtonClear"
|
|
214
|
+
})(["position:relative;font-size:0.875rem;padding:", ";margin:", ";text-align:left;transform-origin:50% 50%;transition:transform 300ms cubic-bezier(0.47,1.64,0.41,0.8);", " &{text-align:right;}:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;background-color:", ";border-radius:3px;opacity:0;transition:opacity 200ms ease;}:hover{:before{opacity:1;}}:active{transform:scale(0.95);}"], size(1.5), size(-1.5), UtilityTextRight, props => props.theme.color.accentDark);
|
|
346
215
|
const ButtonInline = styled__default(ButtonReset).attrs(() => ({
|
|
347
216
|
className: 'wayke__theme wayke__color--primary-text wayke__font--regular'
|
|
348
|
-
}))
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
text-align: left;
|
|
352
|
-
text-decoration: underline;
|
|
353
|
-
|
|
354
|
-
:not(:hover) {
|
|
355
|
-
color: ${props => props.theme.color.textDark};
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
${({
|
|
217
|
+
})).withConfig({
|
|
218
|
+
displayName: "Button__ButtonInline"
|
|
219
|
+
})(["display:inline-flex;vertical-align:baseline;text-align:left;text-decoration:underline;:not(:hover){color:", ";}", ""], props => props.theme.color.textDark, ({
|
|
359
220
|
inline
|
|
360
|
-
}) => inline && styled.css(["display:inline;"])
|
|
361
|
-
`;
|
|
221
|
+
}) => inline && styled.css(["display:inline;"]));
|
|
362
222
|
const ButtonInlineBold = styled__default(ButtonReset).attrs(() => ({
|
|
363
223
|
className: 'wayke__theme wayke__color--primary-text wayke__font--bold'
|
|
364
|
-
}))
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
text-align: left;
|
|
368
|
-
|
|
369
|
-
:hover {
|
|
370
|
-
text-decoration: underline;
|
|
371
|
-
}
|
|
372
|
-
`;
|
|
224
|
+
})).withConfig({
|
|
225
|
+
displayName: "Button__ButtonInlineBold"
|
|
226
|
+
})(["display:inline-flex;vertical-align:baseline;text-align:left;:hover{text-decoration:underline;}"]);
|
|
373
227
|
const ButtonInlineLight = styled__default(ButtonReset).attrs(() => ({
|
|
374
228
|
className: 'wayke__theme wayke__color--primary-text wayke__font--regular'
|
|
375
|
-
}))
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
text-align: left;
|
|
379
|
-
text-decoration: none;
|
|
380
|
-
|
|
381
|
-
:not(:hover) {
|
|
382
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
383
|
-
}
|
|
384
|
-
`;
|
|
229
|
+
})).withConfig({
|
|
230
|
+
displayName: "Button__ButtonInlineLight"
|
|
231
|
+
})(["display:inline-flex;vertical-align:baseline;text-align:left;text-decoration:none;:not(:hover){color:", ";}"], props => props.theme.color.textDarkLighten);
|
|
385
232
|
const ButtonInlinePrimary = styled__default(ButtonReset).attrs(() => ({
|
|
386
233
|
className: 'wayke__theme wayke__color--primary-text wayke__font--regular'
|
|
387
|
-
}))
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
text-align: left;
|
|
391
|
-
|
|
392
|
-
:hover {
|
|
393
|
-
text-decoration: underline;
|
|
394
|
-
}
|
|
395
|
-
`;
|
|
234
|
+
})).withConfig({
|
|
235
|
+
displayName: "Button__ButtonInlinePrimary"
|
|
236
|
+
})(["display:inline-flex;vertical-align:baseline;text-align:left;:hover{text-decoration:underline;}"]);
|
|
396
237
|
|
|
397
238
|
const noTransform = styled.keyframes(["to{transform:none;}"]);
|
|
398
239
|
const fadeIn = styled.keyframes(["from{opacity:0;}to{opacity:1;}"]);
|
|
399
240
|
const rotate = styled.keyframes(["to{transform:rotate(360deg);}"]);
|
|
400
241
|
|
|
401
|
-
const Spinner = styled__default.div
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
width: ${size(4)};
|
|
405
|
-
height: ${size(4)};
|
|
406
|
-
border-radius: 50%;
|
|
407
|
-
border: 2px solid currentColor;
|
|
408
|
-
border-top-color: transparent;
|
|
409
|
-
animation: ${rotate} 600ms linear infinite;
|
|
410
|
-
`;
|
|
242
|
+
const Spinner = styled__default.div.withConfig({
|
|
243
|
+
displayName: "wrapper__Spinner"
|
|
244
|
+
})(["display:block;margin:0 auto;width:", ";height:", ";border-radius:50%;border:2px solid currentColor;border-top-color:transparent;animation:", " 600ms linear infinite;"], size(4), size(4), rotate);
|
|
411
245
|
const Wrapper$3 = styled__default.div.attrs(() => ({
|
|
412
246
|
className: 'wayke__theme wayke__color--primary-text',
|
|
413
247
|
role: 'status'
|
|
414
|
-
}))
|
|
415
|
-
|
|
248
|
+
})).withConfig({
|
|
249
|
+
displayName: "wrapper__Wrapper"
|
|
250
|
+
})(["", " ", ""], ({
|
|
416
251
|
inline
|
|
417
|
-
}) => inline && styled.css(["display:inline-block;vertical-align:middle;color:currentColor !important;", "{width:1em;height:1em;}"], Spinner)
|
|
418
|
-
|
|
419
|
-
${({
|
|
252
|
+
}) => inline && styled.css(["display:inline-block;vertical-align:middle;color:currentColor !important;", "{width:1em;height:1em;}"], Spinner), ({
|
|
420
253
|
center
|
|
421
|
-
}) => center && styled.css(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"])
|
|
422
|
-
`;
|
|
254
|
+
}) => center && styled.css(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]));
|
|
423
255
|
|
|
424
|
-
const SrOnly = styled__default.div
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
height: 1px;
|
|
428
|
-
padding: 0;
|
|
429
|
-
margin: -1px;
|
|
430
|
-
overflow: hidden;
|
|
431
|
-
clip: rect(0, 0, 0, 0);
|
|
432
|
-
white-space: nowrap;
|
|
433
|
-
border: 0;
|
|
434
|
-
`;
|
|
256
|
+
const SrOnly = styled__default.div.withConfig({
|
|
257
|
+
displayName: "SrOnly"
|
|
258
|
+
})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;"]);
|
|
435
259
|
|
|
436
260
|
const Loader = ({
|
|
437
261
|
inline,
|
|
@@ -608,65 +432,28 @@ const SearchContext = React.createContext({
|
|
|
608
432
|
const useSearch = () => React.useContext(SearchContext);
|
|
609
433
|
|
|
610
434
|
const iconSize = '0.875rem';
|
|
611
|
-
const Wrapper$4 = styled__default.div
|
|
612
|
-
|
|
613
|
-
|
|
435
|
+
const Wrapper$4 = styled__default.div.withConfig({
|
|
436
|
+
displayName: "wrapper__Wrapper"
|
|
437
|
+
})(["position:relative;"]);
|
|
614
438
|
const Select = styled__default.select.attrs(() => ({
|
|
615
439
|
className: 'wayke__theme wayke__font--regular'
|
|
616
|
-
}))
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
padding-right: calc(${iconSize} + ${size(1)});
|
|
626
|
-
background-color: transparent;
|
|
627
|
-
color: ${props => props.theme.color.textDark};
|
|
628
|
-
border-radius: 0;
|
|
629
|
-
font-size: 16px;
|
|
630
|
-
cursor: pointer;
|
|
631
|
-
z-index: 1;
|
|
632
|
-
|
|
633
|
-
:focus {
|
|
634
|
-
outline: none;
|
|
635
|
-
text-decoration: underline;
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
::-ms-expand {
|
|
639
|
-
display: none;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
::-moz-focus-inner {
|
|
643
|
-
border: 0;
|
|
644
|
-
}
|
|
645
|
-
`;
|
|
646
|
-
const Option = styled__default.option`
|
|
647
|
-
color: ${props => props.theme.color.textDark};
|
|
648
|
-
`;
|
|
649
|
-
const Icon = styled__default.div`
|
|
650
|
-
position: absolute;
|
|
651
|
-
top: 50%;
|
|
652
|
-
right: 0;
|
|
653
|
-
transform: translateY(-50%);
|
|
654
|
-
font-size: ${iconSize};
|
|
655
|
-
`;
|
|
440
|
+
})).withConfig({
|
|
441
|
+
displayName: "wrapper__Select"
|
|
442
|
+
})(["position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:rgba(255,255,255,0);text-indent:0.01px;border:0;padding:0;padding-right:calc(", " + ", ");background-color:transparent;color:", ";border-radius:0;font-size:16px;cursor:pointer;z-index:1;:focus{outline:none;text-decoration:underline;}::-ms-expand{display:none;}::-moz-focus-inner{border:0;}"], iconSize, size(1), props => props.theme.color.textDark);
|
|
443
|
+
const Option = styled__default.option.withConfig({
|
|
444
|
+
displayName: "wrapper__Option"
|
|
445
|
+
})(["color:", ";"], props => props.theme.color.textDark);
|
|
446
|
+
const Icon = styled__default.div.withConfig({
|
|
447
|
+
displayName: "wrapper__Icon"
|
|
448
|
+
})(["position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:", ";"], iconSize);
|
|
656
449
|
|
|
657
450
|
const Icon$1 = styled__default.svg.attrs(() => ({
|
|
658
451
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
659
|
-
}))
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
width: 1em;
|
|
663
|
-
height: 1em;
|
|
664
|
-
fill: currentColor;
|
|
665
|
-
|
|
666
|
-
${({
|
|
452
|
+
})).withConfig({
|
|
453
|
+
displayName: "Icon"
|
|
454
|
+
})(["display:inline-block;vertical-align:middle;width:1em;height:1em;fill:currentColor;", ""], ({
|
|
667
455
|
block
|
|
668
|
-
}) => block && styled.css(["display:block;"])
|
|
669
|
-
`;
|
|
456
|
+
}) => block && styled.css(["display:block;"]));
|
|
670
457
|
const IconInfo = ({
|
|
671
458
|
block
|
|
672
459
|
}) => React.createElement(Icon$1, {
|
|
@@ -841,29 +628,18 @@ const Result = ({
|
|
|
841
628
|
}, React__default.createElement(ButtonContent, null, "Visa fler")))));
|
|
842
629
|
};
|
|
843
630
|
|
|
844
|
-
function _defineProperty(obj, key, value) {
|
|
845
|
-
if (key in obj) {
|
|
846
|
-
Object.defineProperty(obj, key, {
|
|
847
|
-
value: value,
|
|
848
|
-
enumerable: true,
|
|
849
|
-
configurable: true,
|
|
850
|
-
writable: true
|
|
851
|
-
});
|
|
852
|
-
} else {
|
|
853
|
-
obj[key] = value;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
return obj;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
631
|
function ownKeys(object, enumerableOnly) {
|
|
860
632
|
var keys = Object.keys(object);
|
|
861
633
|
|
|
862
634
|
if (Object.getOwnPropertySymbols) {
|
|
863
635
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
636
|
+
|
|
637
|
+
if (enumerableOnly) {
|
|
638
|
+
symbols = symbols.filter(function (sym) {
|
|
639
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
|
|
867
643
|
keys.push.apply(keys, symbols);
|
|
868
644
|
}
|
|
869
645
|
|
|
@@ -890,98 +666,57 @@ function _objectSpread2(target) {
|
|
|
890
666
|
return target;
|
|
891
667
|
}
|
|
892
668
|
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
`;
|
|
904
|
-
const Action = styled__default(ButtonReset)`
|
|
905
|
-
position: relative;
|
|
906
|
-
display: flex;
|
|
907
|
-
align-items: center;
|
|
908
|
-
padding: ${size(1.5)} ${size(3)};
|
|
909
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
910
|
-
border-radius: 3px;
|
|
911
|
-
font-size: 0.875rem;
|
|
912
|
-
line-height: 1;
|
|
913
|
-
transform-origin: 50% 50%;
|
|
914
|
-
transition: transform 150ms ease;
|
|
915
|
-
|
|
916
|
-
:before {
|
|
917
|
-
content: '';
|
|
918
|
-
position: absolute;
|
|
919
|
-
top: 0;
|
|
920
|
-
left: 0;
|
|
921
|
-
width: 100%;
|
|
922
|
-
height: 100%;
|
|
923
|
-
background-color: ${props => props.theme.color.hoverOverlay};
|
|
924
|
-
border-radius: 3px;
|
|
925
|
-
opacity: 0;
|
|
926
|
-
transition: opacity 150ms ease;
|
|
669
|
+
function _defineProperty(obj, key, value) {
|
|
670
|
+
if (key in obj) {
|
|
671
|
+
Object.defineProperty(obj, key, {
|
|
672
|
+
value: value,
|
|
673
|
+
enumerable: true,
|
|
674
|
+
configurable: true,
|
|
675
|
+
writable: true
|
|
676
|
+
});
|
|
677
|
+
} else {
|
|
678
|
+
obj[key] = value;
|
|
927
679
|
}
|
|
928
680
|
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
opacity: 1;
|
|
932
|
-
}
|
|
933
|
-
}
|
|
681
|
+
return obj;
|
|
682
|
+
}
|
|
934
683
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
z-index: 1;
|
|
954
|
-
`;
|
|
955
|
-
const IndicatorValue = styled__default.div`
|
|
956
|
-
font-family: sans-serif; // Default font to guarantee visibility
|
|
957
|
-
font-size: 0.75rem;
|
|
958
|
-
font-weight: bold;
|
|
959
|
-
color: white;
|
|
960
|
-
mix-blend-mode: difference;
|
|
961
|
-
`;
|
|
684
|
+
const List = styled__default.ul.withConfig({
|
|
685
|
+
displayName: "wrapper__List"
|
|
686
|
+
})(["display:flex;align-items:center;flex-wrap:wrap;list-style:none;padding:0;margin:", ";"], size(-0.5));
|
|
687
|
+
const Item = styled__default.li.withConfig({
|
|
688
|
+
displayName: "wrapper__Item"
|
|
689
|
+
})(["padding:", ";"], size(0.5));
|
|
690
|
+
const Action = styled__default(ButtonReset).withConfig({
|
|
691
|
+
displayName: "wrapper__Action"
|
|
692
|
+
})(["position:relative;display:flex;align-items:center;padding:", " ", ";background-color:", ";border-radius:3px;font-size:0.875rem;line-height:1;transform-origin:50% 50%;transition:transform 150ms ease;:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:", ";border-radius:3px;opacity:0;transition:opacity 150ms ease;}:hover{:before{opacity:1;}}:active{transform:scale(0.95);}"], size(1.5), size(3), props => props.theme.color.accentDark, props => props.theme.color.hoverOverlay);
|
|
693
|
+
const Label = styled__default.div.withConfig({
|
|
694
|
+
displayName: "wrapper__Label"
|
|
695
|
+
})(["z-index:1;"]);
|
|
696
|
+
const Indicator = styled__default.div.withConfig({
|
|
697
|
+
displayName: "wrapper__Indicator"
|
|
698
|
+
})(["flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0 ", ";margin-left:", ";background-color:currentColor;min-width:1em;height:1em;border-radius:999px;z-index:1;"], size(0.375), size(0.5));
|
|
699
|
+
const IndicatorValue = styled__default.div.withConfig({
|
|
700
|
+
displayName: "wrapper__IndicatorValue"
|
|
701
|
+
})(["font-family:sans-serif;font-size:0.75rem;font-weight:bold;color:white;mix-blend-mode:difference;"]);
|
|
962
702
|
|
|
963
703
|
const HeadingBase = styled__default.div.attrs(() => ({
|
|
964
704
|
className: 'wayke__theme wayke__font--bold'
|
|
965
|
-
}))
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
font-weight: normal;
|
|
969
|
-
line-height: 1.2;
|
|
970
|
-
|
|
971
|
-
${({
|
|
705
|
+
})).withConfig({
|
|
706
|
+
displayName: "Heading__HeadingBase"
|
|
707
|
+
})(["margin-top:0;margin-bottom:", ";font-weight:normal;line-height:1.2;", ""], size(2), ({
|
|
972
708
|
noMargin
|
|
973
|
-
}) => noMargin && styled.css(["margin-bottom:0;"])
|
|
974
|
-
`;
|
|
709
|
+
}) => noMargin && styled.css(["margin-bottom:0;"]));
|
|
975
710
|
const H1 = styled__default(HeadingBase).attrs(props => ({
|
|
976
711
|
as: props.as || 'h1'
|
|
977
|
-
}))
|
|
978
|
-
|
|
979
|
-
|
|
712
|
+
})).withConfig({
|
|
713
|
+
displayName: "Heading__H1"
|
|
714
|
+
})(["font-size:1.875rem;"]);
|
|
980
715
|
const H2 = styled__default(HeadingBase).attrs(props => ({
|
|
981
716
|
as: props.as || 'h2'
|
|
982
|
-
}))
|
|
983
|
-
|
|
984
|
-
|
|
717
|
+
})).withConfig({
|
|
718
|
+
displayName: "Heading__H2"
|
|
719
|
+
})(["font-size:1.5rem;"]);
|
|
985
720
|
/*
|
|
986
721
|
export const H3 = styled(HeadingBase).attrs<{ as: string }>((props) => ({
|
|
987
722
|
as: props.as || 'h3',
|
|
@@ -992,14 +727,14 @@ export const H3 = styled(HeadingBase).attrs<{ as: string }>((props) => ({
|
|
|
992
727
|
|
|
993
728
|
const H4 = styled__default(HeadingBase).attrs(props => ({
|
|
994
729
|
as: props.as || 'h4'
|
|
995
|
-
}))
|
|
996
|
-
|
|
997
|
-
|
|
730
|
+
})).withConfig({
|
|
731
|
+
displayName: "Heading__H4"
|
|
732
|
+
})(["font-size:1rem;"]);
|
|
998
733
|
const H5 = styled__default(HeadingBase).attrs(props => ({
|
|
999
734
|
as: props.as || 'h5'
|
|
1000
|
-
}))
|
|
1001
|
-
|
|
1002
|
-
|
|
735
|
+
})).withConfig({
|
|
736
|
+
displayName: "Heading__H5"
|
|
737
|
+
})(["font-size:0.875rem;"]);
|
|
1003
738
|
/*
|
|
1004
739
|
export const H6 = styled(HeadingBase).attrs<{ as: string }>((props) => ({
|
|
1005
740
|
as: props.as || 'h6',
|
|
@@ -1010,148 +745,52 @@ export const H6 = styled(HeadingBase).attrs<{ as: string }>((props) => ({
|
|
|
1010
745
|
|
|
1011
746
|
const VisualHeading = styled__default.div.attrs(() => ({
|
|
1012
747
|
className: 'wayke__theme wayke__font--bold'
|
|
1013
|
-
}))
|
|
1014
|
-
|
|
1015
|
-
|
|
748
|
+
})).withConfig({
|
|
749
|
+
displayName: "Heading__VisualHeading"
|
|
750
|
+
})(["font-size:1em;"]);
|
|
1016
751
|
|
|
1017
752
|
const Wrapper$5 = styled__default.div.attrs(() => ({
|
|
1018
753
|
role: 'dialog'
|
|
1019
|
-
}))
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
`;
|
|
754
|
+
})).withConfig({
|
|
755
|
+
displayName: "wrapper__Wrapper"
|
|
756
|
+
})(["position:relative;z-index:80;"]);
|
|
1023
757
|
const UiBlock = styled__default.div.attrs(() => ({
|
|
1024
758
|
'aria-hidden': 'true',
|
|
1025
759
|
role: 'button'
|
|
1026
|
-
}))
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
bottom: 0;
|
|
1030
|
-
left: 0;
|
|
1031
|
-
right: 0;
|
|
1032
|
-
background-color: rgba(0, 0, 0, 0.35);
|
|
1033
|
-
animation: ${fadeIn} 200ms ease;
|
|
1034
|
-
`;
|
|
760
|
+
})).withConfig({
|
|
761
|
+
displayName: "wrapper__UiBlock"
|
|
762
|
+
})(["position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,0.35);animation:", " 200ms ease;"], fadeIn);
|
|
1035
763
|
const PanelWrapper = styled__default.article.attrs(() => ({
|
|
1036
764
|
className: 'wayke__theme wayke__font--regular'
|
|
1037
|
-
}))
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
transform: translateY(100%);
|
|
1059
|
-
}
|
|
1060
|
-
`;
|
|
1061
|
-
const Header$1 = styled__default.header`
|
|
1062
|
-
position: relative;
|
|
1063
|
-
display: flex;
|
|
1064
|
-
flex-shrink: 0;
|
|
1065
|
-
align-items: center;
|
|
1066
|
-
min-height: 45px;
|
|
1067
|
-
padding: ${size(3)};
|
|
1068
|
-
padding-bottom: 0;
|
|
1069
|
-
|
|
1070
|
-
:after {
|
|
1071
|
-
content: '';
|
|
1072
|
-
position: absolute;
|
|
1073
|
-
top: 100%;
|
|
1074
|
-
left: 0;
|
|
1075
|
-
right: 0;
|
|
1076
|
-
height: ${size(3)};
|
|
1077
|
-
background-image: linear-gradient(
|
|
1078
|
-
${props => props.theme.color.accent},
|
|
1079
|
-
${props => props.theme.color.accentTransparent}
|
|
1080
|
-
);
|
|
1081
|
-
z-index: 1;
|
|
1082
|
-
}
|
|
1083
|
-
`;
|
|
1084
|
-
const Heading = styled__default.div`
|
|
1085
|
-
flex: 1 1 auto;
|
|
1086
|
-
|
|
1087
|
-
${H1} {
|
|
1088
|
-
font-size: 1.5rem;
|
|
1089
|
-
}
|
|
1090
|
-
`;
|
|
1091
|
-
const Close = styled__default.div`
|
|
1092
|
-
flex-shrink: 0;
|
|
1093
|
-
margin: ${size(-2)};
|
|
1094
|
-
padding-left: ${size(3)};
|
|
1095
|
-
`;
|
|
1096
|
-
const CloseBtn = styled__default(ButtonReset)`
|
|
1097
|
-
position: relative;
|
|
1098
|
-
display: block;
|
|
1099
|
-
padding: ${size(2)};
|
|
1100
|
-
transform-origin: 50% 50%;
|
|
1101
|
-
transition: transform 200ms ease;
|
|
1102
|
-
z-index: 2;
|
|
1103
|
-
|
|
1104
|
-
:before {
|
|
1105
|
-
content: '';
|
|
1106
|
-
position: absolute;
|
|
1107
|
-
top: 0;
|
|
1108
|
-
left: 0;
|
|
1109
|
-
width: 100%;
|
|
1110
|
-
height: 100%;
|
|
1111
|
-
border-radius: 50%;
|
|
1112
|
-
background-color: ${props => props.theme.color.accent};
|
|
1113
|
-
opacity: 0;
|
|
1114
|
-
transition: opacity 200ms ease;
|
|
1115
|
-
z-index: -1;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
:active {
|
|
1119
|
-
transform: scale(0.9);
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
:hover {
|
|
1123
|
-
:before {
|
|
1124
|
-
opacity: 1;
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
`;
|
|
1128
|
-
const Body$1 = styled__default.div`
|
|
1129
|
-
flex: 1 1 auto;
|
|
1130
|
-
overflow: auto;
|
|
1131
|
-
-webkit-overflow-scrolling: touch;
|
|
1132
|
-
padding: ${size(3)};
|
|
1133
|
-
`;
|
|
1134
|
-
const Footer$1 = styled__default.footer`
|
|
1135
|
-
position: relative;
|
|
1136
|
-
flex-shrink: 0;
|
|
1137
|
-
padding: ${size(3)};
|
|
1138
|
-
border-top: 1px solid ${props => props.theme.color.border};
|
|
1139
|
-
`;
|
|
765
|
+
})).withConfig({
|
|
766
|
+
displayName: "wrapper__PanelWrapper"
|
|
767
|
+
})(["display:flex;flex-direction:column;position:fixed;top:0;bottom:0;right:0;width:100%;background-color:", ";box-shadow:0 4px 8px rgba(0,0,0,0.05);z-index:1;animation:", " 200ms ease forwards;", "{max-width:450px;transform:translateX(100%);}", "{top:auto;max-height:100%;transform:translateY(100%);}"], props => props.theme.color.accent, noTransform, props => props.theme.breakpoint.Sm, props => props.theme.breakpoint.LtSm);
|
|
768
|
+
const Header$1 = styled__default.header.withConfig({
|
|
769
|
+
displayName: "wrapper__Header"
|
|
770
|
+
})(["position:relative;display:flex;flex-shrink:0;align-items:center;min-height:45px;padding:", ";padding-bottom:0;:after{content:'';position:absolute;top:100%;left:0;right:0;height:", ";background-image:linear-gradient( ", ",", " );z-index:1;}"], size(3), size(3), props => props.theme.color.accent, props => props.theme.color.accentTransparent);
|
|
771
|
+
const Heading = styled__default.div.withConfig({
|
|
772
|
+
displayName: "wrapper__Heading"
|
|
773
|
+
})(["flex:1 1 auto;", "{font-size:1.5rem;}"], H1);
|
|
774
|
+
const Close = styled__default.div.withConfig({
|
|
775
|
+
displayName: "wrapper__Close"
|
|
776
|
+
})(["flex-shrink:0;margin:", ";padding-left:", ";"], size(-2), size(3));
|
|
777
|
+
const CloseBtn = styled__default(ButtonReset).withConfig({
|
|
778
|
+
displayName: "wrapper__CloseBtn"
|
|
779
|
+
})(["position:relative;display:block;padding:", ";transform-origin:50% 50%;transition:transform 200ms ease;z-index:2;:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;background-color:", ";opacity:0;transition:opacity 200ms ease;z-index:-1;}:active{transform:scale(0.9);}:hover{:before{opacity:1;}}"], size(2), props => props.theme.color.accent);
|
|
780
|
+
const Body$1 = styled__default.div.withConfig({
|
|
781
|
+
displayName: "wrapper__Body"
|
|
782
|
+
})(["flex:1 1 auto;overflow:auto;-webkit-overflow-scrolling:touch;padding:", ";"], size(3));
|
|
783
|
+
const Footer$1 = styled__default.footer.withConfig({
|
|
784
|
+
displayName: "wrapper__Footer"
|
|
785
|
+
})(["position:relative;flex-shrink:0;padding:", ";border-top:1px solid ", ";"], size(3), props => props.theme.color.border);
|
|
1140
786
|
const FooterAction$1 = styled__default.div.attrs(() => ({
|
|
1141
787
|
role: 'group'
|
|
1142
|
-
}))
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
flex: 1 1 50%;
|
|
1149
|
-
padding: ${size(0.5)};
|
|
1150
|
-
|
|
1151
|
-
${ButtonReset} {
|
|
1152
|
-
padding: ${size(1.75)} ${size(2)};
|
|
1153
|
-
}
|
|
1154
|
-
`;
|
|
788
|
+
})).withConfig({
|
|
789
|
+
displayName: "wrapper__FooterAction"
|
|
790
|
+
})(["display:flex;align-items:center;margin:", ";"], size(-0.5));
|
|
791
|
+
const FooterActionItem = styled__default.div.withConfig({
|
|
792
|
+
displayName: "wrapper__FooterActionItem"
|
|
793
|
+
})(["flex:1 1 50%;padding:", ";", "{padding:", " ", ";}"], size(0.5), ButtonReset, size(1.75), size(2));
|
|
1155
794
|
|
|
1156
795
|
const DefaultPortal = 'DEFAULT_PORTAL';
|
|
1157
796
|
|
|
@@ -1218,86 +857,37 @@ const Panel = ({
|
|
|
1218
857
|
})))), React.createElement(Body$1, null, children), footer && React.createElement(Footer$1, null, footer))));
|
|
1219
858
|
};
|
|
1220
859
|
|
|
1221
|
-
const List$1 = styled__default.ul
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
const
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
font: inherit;
|
|
1234
|
-
`;
|
|
1235
|
-
const Label$1 = styled__default.div`
|
|
1236
|
-
display: flex;
|
|
1237
|
-
align-items: center;
|
|
1238
|
-
flex: 1 1 auto;
|
|
1239
|
-
`;
|
|
1240
|
-
const Heading$1 = styled__default.div`
|
|
1241
|
-
line-height: 1;
|
|
1242
|
-
`;
|
|
860
|
+
const List$1 = styled__default.ul.withConfig({
|
|
861
|
+
displayName: "wrapper__List"
|
|
862
|
+
})(["list-style:none;padding:0;margin:", " 0;font-size:1rem;"], size(-1));
|
|
863
|
+
const Header$2 = styled__default(ButtonReset).withConfig({
|
|
864
|
+
displayName: "wrapper__Header"
|
|
865
|
+
})(["display:flex;align-items:center;width:100%;padding:", " 0;text-align:left;font:inherit;"], size(3));
|
|
866
|
+
const Label$1 = styled__default.div.withConfig({
|
|
867
|
+
displayName: "wrapper__Label"
|
|
868
|
+
})(["display:flex;align-items:center;flex:1 1 auto;"]);
|
|
869
|
+
const Heading$1 = styled__default.div.withConfig({
|
|
870
|
+
displayName: "wrapper__Heading"
|
|
871
|
+
})(["line-height:1;"]);
|
|
1243
872
|
const Indicator$1 = styled__default.div.attrs(() => ({
|
|
1244
873
|
className: 'wayke__theme wayke__color--primary-bg'
|
|
1245
|
-
}))
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
const
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
font-weight: bold;
|
|
1261
|
-
`;
|
|
1262
|
-
const Icon$2 = styled__default.div`
|
|
1263
|
-
position: relative;
|
|
1264
|
-
flex-shrink: 0;
|
|
1265
|
-
padding-left: ${size(1)};
|
|
1266
|
-
transition: color 150ms ease;
|
|
1267
|
-
|
|
1268
|
-
:before {
|
|
1269
|
-
content: '';
|
|
1270
|
-
position: absolute;
|
|
1271
|
-
top: ${size(-1)};
|
|
1272
|
-
bottom: ${size(-1)};
|
|
1273
|
-
left: 0;
|
|
1274
|
-
right: ${size(-1)};
|
|
1275
|
-
border-radius: 50%;
|
|
1276
|
-
background-color: ${props => props.theme.color.accent};
|
|
1277
|
-
z-index: -1;
|
|
1278
|
-
opacity: 0;
|
|
1279
|
-
transition: opacity 200ms ease;
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
${Header$2}:hover & {
|
|
1283
|
-
:before {
|
|
1284
|
-
opacity: 1;
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
`;
|
|
1288
|
-
const Body$2 = styled__default.div`
|
|
1289
|
-
display: none;
|
|
1290
|
-
padding-bottom: ${size(3)};
|
|
1291
|
-
`;
|
|
1292
|
-
const Item$1 = styled__default.li`
|
|
1293
|
-
& + & {
|
|
1294
|
-
border-top: 1px solid ${props => props.theme.color.border};
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
${({
|
|
874
|
+
})).withConfig({
|
|
875
|
+
displayName: "wrapper__Indicator"
|
|
876
|
+
})(["flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0 ", ";margin-left:", ";min-width:1em;height:1em;border-radius:999px;z-index:1;"], size(0.375), size(0.5));
|
|
877
|
+
const IndicatorValue$1 = styled__default.div.withConfig({
|
|
878
|
+
displayName: "wrapper__IndicatorValue"
|
|
879
|
+
})(["font-family:sans-serif;font-size:0.75rem;font-weight:bold;"]);
|
|
880
|
+
const Icon$2 = styled__default.div.withConfig({
|
|
881
|
+
displayName: "wrapper__Icon"
|
|
882
|
+
})(["position:relative;flex-shrink:0;padding-left:", ";transition:color 150ms ease;:before{content:'';position:absolute;top:", ";bottom:", ";left:0;right:", ";border-radius:50%;background-color:", ";z-index:-1;opacity:0;transition:opacity 200ms ease;}", ":hover &{:before{opacity:1;}}"], size(1), size(-1), size(-1), size(-1), props => props.theme.color.accent, Header$2);
|
|
883
|
+
const Body$2 = styled__default.div.withConfig({
|
|
884
|
+
displayName: "wrapper__Body"
|
|
885
|
+
})(["display:none;padding-bottom:", ";"], size(3));
|
|
886
|
+
const Item$1 = styled__default.li.withConfig({
|
|
887
|
+
displayName: "wrapper__Item"
|
|
888
|
+
})(["& + &{border-top:1px solid ", ";}", ""], props => props.theme.color.border, ({
|
|
1298
889
|
isOpen
|
|
1299
|
-
}) => isOpen && styled.css(["", "{display:block;}", "{svg{transform:rotate(180deg);}}"], Body$2, Icon$2)
|
|
1300
|
-
`;
|
|
890
|
+
}) => isOpen && styled.css(["", "{display:block;}", "{svg{transform:rotate(180deg);}}"], Body$2, Icon$2));
|
|
1301
891
|
|
|
1302
892
|
const AccordionItem = ({
|
|
1303
893
|
heading,
|
|
@@ -1323,78 +913,35 @@ const Accordion = ({
|
|
|
1323
913
|
children
|
|
1324
914
|
}) => React__default.createElement(List$1, null, children);
|
|
1325
915
|
|
|
1326
|
-
const Repeat = styled__default.div
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
`;
|
|
1336
|
-
const RepeatSmall = styled__default.div`
|
|
1337
|
-
& + & {
|
|
1338
|
-
margin-top: ${size(2)};
|
|
1339
|
-
}
|
|
1340
|
-
`;
|
|
916
|
+
const Repeat = styled__default.div.withConfig({
|
|
917
|
+
displayName: "Repeat"
|
|
918
|
+
})(["& + &{margin-top:", ";}"], size(3));
|
|
919
|
+
const RepeatTiny = styled__default.div.withConfig({
|
|
920
|
+
displayName: "Repeat__RepeatTiny"
|
|
921
|
+
})(["& + &{margin-top:", ";}"], size(1));
|
|
922
|
+
const RepeatSmall = styled__default.div.withConfig({
|
|
923
|
+
displayName: "Repeat__RepeatSmall"
|
|
924
|
+
})(["& + &{margin-top:", ";}"], size(2));
|
|
1341
925
|
|
|
1342
926
|
const List$2 = styled__default.ul.attrs(() => ({
|
|
1343
927
|
className: 'wayke__theme wayke__font--regular'
|
|
1344
|
-
}))
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
padding-left: ${size(5)};
|
|
1354
|
-
margin: 0;
|
|
1355
|
-
}
|
|
1356
|
-
`;
|
|
1357
|
-
const Action$1 = styled__default(ButtonReset)`
|
|
1358
|
-
position: relative;
|
|
1359
|
-
display: block;
|
|
1360
|
-
width: 100%;
|
|
1361
|
-
text-align: left;
|
|
1362
|
-
font: inherit;
|
|
1363
|
-
padding: ${size(1)} 0;
|
|
1364
|
-
|
|
1365
|
-
:before {
|
|
1366
|
-
content: '';
|
|
1367
|
-
position: absolute;
|
|
1368
|
-
left: 0;
|
|
1369
|
-
width: ${size(2)};
|
|
1370
|
-
height: ${size(2)};
|
|
1371
|
-
border-radius: 3px;
|
|
1372
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
1373
|
-
margin-top: 2px; // Magic number
|
|
1374
|
-
}
|
|
1375
|
-
`;
|
|
928
|
+
})).withConfig({
|
|
929
|
+
displayName: "wrapper__List"
|
|
930
|
+
})(["list-style:none;padding:0;margin:", " 0;font-size:0.875rem;overflow:hidden;"], size(-1));
|
|
931
|
+
const Item$2 = styled__default.li.withConfig({
|
|
932
|
+
displayName: "wrapper__Item"
|
|
933
|
+
})(["", "{padding-left:", ";margin:0;}"], List$2, size(5));
|
|
934
|
+
const Action$1 = styled__default(ButtonReset).withConfig({
|
|
935
|
+
displayName: "wrapper__Action"
|
|
936
|
+
})(["position:relative;display:block;width:100%;text-align:left;font:inherit;padding:", " 0;:before{content:'';position:absolute;left:0;width:", ";height:", ";border-radius:3px;background-color:", ";margin-top:2px;}"], size(1), size(2), size(2), props => props.theme.color.accentDark);
|
|
1376
937
|
const ActionIcon = styled__default.div.attrs(() => ({
|
|
1377
938
|
className: 'wayke__theme wayke__color--primary-text'
|
|
1378
|
-
}))
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
justify-content: center;
|
|
1385
|
-
width: ${size(2)};
|
|
1386
|
-
height: ${size(2)};
|
|
1387
|
-
margin-top: 2px; // Magic number
|
|
1388
|
-
font-size: ${size(1.5)};
|
|
1389
|
-
`;
|
|
1390
|
-
const ActionLabel = styled__default.div`
|
|
1391
|
-
padding-left: ${size(3)};
|
|
1392
|
-
transition: transform 150ms ease;
|
|
1393
|
-
|
|
1394
|
-
${Action$1}:hover & {
|
|
1395
|
-
transform: translateX(${size(0.5)});
|
|
1396
|
-
}
|
|
1397
|
-
`;
|
|
939
|
+
})).withConfig({
|
|
940
|
+
displayName: "wrapper__ActionIcon"
|
|
941
|
+
})(["position:absolute;top:", ";left:0;display:flex;align-items:center;justify-content:center;width:", ";height:", ";margin-top:2px;font-size:", ";"], size(1), size(2), size(2), size(1.5));
|
|
942
|
+
const ActionLabel = styled__default.div.withConfig({
|
|
943
|
+
displayName: "wrapper__ActionLabel"
|
|
944
|
+
})(["padding-left:", ";transition:transform 150ms ease;", ":hover &{transform:translateX(", ");}"], size(3), Action$1, size(0.5));
|
|
1398
945
|
|
|
1399
946
|
const ChecklistItem = ({
|
|
1400
947
|
label,
|
|
@@ -1428,11 +975,9 @@ const Checklist = ({
|
|
|
1428
975
|
})));
|
|
1429
976
|
};
|
|
1430
977
|
|
|
1431
|
-
const Wrapper$6 = styled__default.div
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
-webkit-overflow-scrolling: touch;
|
|
1435
|
-
`;
|
|
978
|
+
const Wrapper$6 = styled__default.div.withConfig({
|
|
979
|
+
displayName: "wrapper__Wrapper"
|
|
980
|
+
})(["max-height:400px;overflow:auto;-webkit-overflow-scrolling:touch;"]);
|
|
1436
981
|
|
|
1437
982
|
const OverflowBox = ({
|
|
1438
983
|
children
|
|
@@ -1467,68 +1012,25 @@ const ChecklistFacet = ({
|
|
|
1467
1012
|
}));
|
|
1468
1013
|
};
|
|
1469
1014
|
|
|
1470
|
-
const List$3 = styled__default.ul
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
`;
|
|
1483
|
-
const Action$2 = styled__default(ButtonReset)`
|
|
1484
|
-
display: flex;
|
|
1485
|
-
flex-direction: column;
|
|
1486
|
-
align-items: center;
|
|
1487
|
-
width: 100%;
|
|
1488
|
-
font: inherit;
|
|
1489
|
-
|
|
1490
|
-
&[disabled] {
|
|
1491
|
-
opacity: 0.4;
|
|
1492
|
-
cursor: default;
|
|
1493
|
-
}
|
|
1494
|
-
`;
|
|
1495
|
-
const Color = styled__default.div`
|
|
1496
|
-
position: relative;
|
|
1497
|
-
width: ${size(3.75)};
|
|
1498
|
-
height: ${size(3.75)};
|
|
1499
|
-
border-radius: 50%;
|
|
1500
|
-
color: ${props => props.theme.color.border};
|
|
1501
|
-
|
|
1502
|
-
:before {
|
|
1503
|
-
content: '';
|
|
1504
|
-
position: absolute;
|
|
1505
|
-
top: -5px;
|
|
1506
|
-
bottom: -5px;
|
|
1507
|
-
left: -5px;
|
|
1508
|
-
right: -5px;
|
|
1509
|
-
border: 2px solid;
|
|
1510
|
-
border-radius: 50%;
|
|
1511
|
-
display: none;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
${Action$2}:not([disabled]):hover & {
|
|
1515
|
-
:before {
|
|
1516
|
-
display: block;
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
${({
|
|
1015
|
+
const List$3 = styled__default.ul.withConfig({
|
|
1016
|
+
displayName: "wrapper__List"
|
|
1017
|
+
})(["display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:", ";"], size(-1.5));
|
|
1018
|
+
const Item$3 = styled__default.li.withConfig({
|
|
1019
|
+
displayName: "wrapper__Item"
|
|
1020
|
+
})(["flex:1 1 auto;width:33.333%;max-width:33.333%;padding:", ";"], size(1.5));
|
|
1021
|
+
const Action$2 = styled__default(ButtonReset).withConfig({
|
|
1022
|
+
displayName: "wrapper__Action"
|
|
1023
|
+
})(["display:flex;flex-direction:column;align-items:center;width:100%;font:inherit;&[disabled]{opacity:0.4;cursor:default;}"]);
|
|
1024
|
+
const Color = styled__default.div.withConfig({
|
|
1025
|
+
displayName: "wrapper__Color"
|
|
1026
|
+
})(["position:relative;width:", ";height:", ";border-radius:50%;color:", ";:before{content:'';position:absolute;top:-5px;bottom:-5px;left:-5px;right:-5px;border:2px solid;border-radius:50%;display:none;}", ":not([disabled]):hover &{:before{display:block;}}", " ", ""], size(3.75), size(3.75), props => props.theme.color.border, Action$2, ({
|
|
1521
1027
|
active
|
|
1522
|
-
}) => active && styled.css([":before{display:block;}"])
|
|
1523
|
-
|
|
1524
|
-
${({
|
|
1028
|
+
}) => active && styled.css([":before{display:block;}"]), ({
|
|
1525
1029
|
boxShadow
|
|
1526
|
-
}) => boxShadow && styled.css(["box-shadow:0 0 4px rgba(0,0,0,0.2);"])
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
font-size: 0.875rem;
|
|
1531
|
-
`;
|
|
1030
|
+
}) => boxShadow && styled.css(["box-shadow:0 0 4px rgba(0,0,0,0.2);"]));
|
|
1031
|
+
const Label$2 = styled__default.div.withConfig({
|
|
1032
|
+
displayName: "wrapper__Label"
|
|
1033
|
+
})(["margin-top:", ";font-size:0.875rem;"], size(1.25));
|
|
1532
1034
|
|
|
1533
1035
|
const ColorSelectItem = ({
|
|
1534
1036
|
label,
|
|
@@ -1647,90 +1149,29 @@ const ColorSelectFacet = ({
|
|
|
1647
1149
|
});
|
|
1648
1150
|
};
|
|
1649
1151
|
|
|
1650
|
-
const RangeSpan = styled__default.div
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
const
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
:
|
|
1661
|
-
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
:last-child {
|
|
1665
|
-
flex-shrink: 0;
|
|
1666
|
-
}
|
|
1667
|
-
`;
|
|
1668
|
-
const Slider = styled__default.div`
|
|
1669
|
-
padding: 10px 12px;
|
|
1670
|
-
`;
|
|
1671
|
-
const Bar$1 = styled__default.div`
|
|
1672
|
-
position: relative;
|
|
1673
|
-
height: 4px;
|
|
1674
|
-
|
|
1675
|
-
:before {
|
|
1676
|
-
content: '';
|
|
1677
|
-
position: absolute;
|
|
1678
|
-
top: 0;
|
|
1679
|
-
bottom: 0;
|
|
1680
|
-
left: -12px;
|
|
1681
|
-
right: -12px;
|
|
1682
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
1683
|
-
}
|
|
1684
|
-
`;
|
|
1152
|
+
const RangeSpan = styled__default.div.withConfig({
|
|
1153
|
+
displayName: "wrapper__RangeSpan"
|
|
1154
|
+
})(["display:flex;align-items:center;margin-top:", ";user-select:none;"], size(1));
|
|
1155
|
+
const RangeSpanItem = styled__default.div.withConfig({
|
|
1156
|
+
displayName: "wrapper__RangeSpanItem"
|
|
1157
|
+
})(["font-size:0.875rem;color:", ";:first-child{flex:1 1 auto;}:last-child{flex-shrink:0;}"], props => props.theme.color.textDarkLighten);
|
|
1158
|
+
const Slider = styled__default.div.withConfig({
|
|
1159
|
+
displayName: "wrapper__Slider"
|
|
1160
|
+
})(["padding:10px 12px;"]);
|
|
1161
|
+
const Bar$1 = styled__default.div.withConfig({
|
|
1162
|
+
displayName: "wrapper__Bar"
|
|
1163
|
+
})(["position:relative;height:4px;:before{content:'';position:absolute;top:0;bottom:0;left:-12px;right:-12px;background-color:", ";}"], props => props.theme.color.accentDark);
|
|
1685
1164
|
const Track = styled__default.div.attrs(() => ({
|
|
1686
1165
|
className: 'wayke__theme wayke__color--primary-bg'
|
|
1687
|
-
}))
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
height: 4px;
|
|
1691
|
-
margin-left: -12px;
|
|
1692
|
-
margin-right: -12px;
|
|
1693
|
-
`;
|
|
1166
|
+
})).withConfig({
|
|
1167
|
+
displayName: "wrapper__Track"
|
|
1168
|
+
})(["position:absolute;top:0;height:4px;margin-left:-12px;margin-right:-12px;"]);
|
|
1694
1169
|
const Handle = styled__default.div.attrs(() => ({
|
|
1695
1170
|
role: 'slider',
|
|
1696
1171
|
className: 'wayke__theme wayke__color--primary-bg'
|
|
1697
|
-
}))
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
transform-origin: 50% 50%;
|
|
1701
|
-
display: block;
|
|
1702
|
-
width: 24px;
|
|
1703
|
-
height: 24px;
|
|
1704
|
-
margin-top: -12px;
|
|
1705
|
-
margin-left: -12px;
|
|
1706
|
-
border-radius: 50%;
|
|
1707
|
-
cursor: move;
|
|
1708
|
-
cursor: ew-resize;
|
|
1709
|
-
cursor: -webkit-grab;
|
|
1710
|
-
cursor: grab;
|
|
1711
|
-
transition: transform 150ms ease;
|
|
1712
|
-
|
|
1713
|
-
:before {
|
|
1714
|
-
content: '';
|
|
1715
|
-
position: absolute;
|
|
1716
|
-
top: 0;
|
|
1717
|
-
bottom: 0;
|
|
1718
|
-
left: 0;
|
|
1719
|
-
right: 0;
|
|
1720
|
-
border-radius: 50%;
|
|
1721
|
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
1722
|
-
opacity: 0;
|
|
1723
|
-
transition: opacity 150ms ease;
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
:active {
|
|
1727
|
-
transform: scale(1.3);
|
|
1728
|
-
|
|
1729
|
-
:before {
|
|
1730
|
-
opacity: 1;
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
`;
|
|
1172
|
+
})).withConfig({
|
|
1173
|
+
displayName: "wrapper__Handle"
|
|
1174
|
+
})(["position:absolute;top:50%;transform-origin:50% 50%;display:block;width:24px;height:24px;margin-top:-12px;margin-left:-12px;border-radius:50%;cursor:move;cursor:ew-resize;cursor:-webkit-grab;cursor:grab;transition:transform 150ms ease;:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:50%;box-shadow:0 4px 8px rgba(0,0,0,0.2);opacity:0;transition:opacity 150ms ease;}:active{transform:scale(1.3);:before{opacity:1;}}"]);
|
|
1734
1175
|
|
|
1735
1176
|
const Handle$1 = ({
|
|
1736
1177
|
domain: [min, max],
|
|
@@ -1740,7 +1181,7 @@ const Handle$1 = ({
|
|
|
1740
1181
|
percent
|
|
1741
1182
|
},
|
|
1742
1183
|
getHandleProps
|
|
1743
|
-
}) => React__default.createElement(Handle,
|
|
1184
|
+
}) => React__default.createElement(Handle, _objectSpread2({
|
|
1744
1185
|
role: "slider",
|
|
1745
1186
|
"aria-valuemin": min,
|
|
1746
1187
|
"aria-valuemax": max,
|
|
@@ -1754,7 +1195,7 @@ const Track$1 = ({
|
|
|
1754
1195
|
source,
|
|
1755
1196
|
target,
|
|
1756
1197
|
getTrackProps
|
|
1757
|
-
}) => React__default.createElement(Track,
|
|
1198
|
+
}) => React__default.createElement(Track, _objectSpread2({
|
|
1758
1199
|
style: {
|
|
1759
1200
|
left: `${source.percent}%`,
|
|
1760
1201
|
width: `${target.percent - source.percent}%`
|
|
@@ -1833,7 +1274,7 @@ const RangeSlider = ({
|
|
|
1833
1274
|
}
|
|
1834
1275
|
}, React__default.createElement(reactCompoundSlider.Rail, null, ({
|
|
1835
1276
|
getRailProps
|
|
1836
|
-
}) => React__default.createElement(Bar$1,
|
|
1277
|
+
}) => React__default.createElement(Bar$1, _objectSpread2({}, getRailProps()))), React__default.createElement(reactCompoundSlider.Handles, null, ({
|
|
1837
1278
|
handles,
|
|
1838
1279
|
getHandleProps
|
|
1839
1280
|
}) => React__default.createElement("div", {
|
|
@@ -2123,225 +1564,91 @@ const Filter = ({
|
|
|
2123
1564
|
})));
|
|
2124
1565
|
};
|
|
2125
1566
|
|
|
2126
|
-
const Wrapper$7 = styled__default.div
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
const
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
const
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
const
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
`;
|
|
2212
|
-
const Heading$2 = styled__default.h1.attrs(() => ({
|
|
2213
|
-
className: 'wayke__theme wayke__font--bold'
|
|
2214
|
-
}))`
|
|
2215
|
-
display: -webkit-box;
|
|
2216
|
-
-webkit-line-clamp: 2;
|
|
2217
|
-
-webkit-box-orient: vertical;
|
|
2218
|
-
overflow: hidden;
|
|
2219
|
-
font-weight: 400;
|
|
2220
|
-
margin: 0;
|
|
2221
|
-
font-size: 1rem;
|
|
2222
|
-
`;
|
|
2223
|
-
const Link = styled__default.a`
|
|
2224
|
-
display: block;
|
|
2225
|
-
color: inherit;
|
|
2226
|
-
text-decoration: none;
|
|
2227
|
-
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
|
2228
|
-
|
|
2229
|
-
:before {
|
|
2230
|
-
content: '';
|
|
2231
|
-
position: absolute;
|
|
2232
|
-
top: 0;
|
|
2233
|
-
left: 0;
|
|
2234
|
-
width: 100%;
|
|
2235
|
-
height: 100%;
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2238
|
-
:focus {
|
|
2239
|
-
text-decoration: underline;
|
|
2240
|
-
}
|
|
2241
|
-
`;
|
|
2242
|
-
const Description$1 = styled__default.div`
|
|
2243
|
-
font-size: 0.875rem;
|
|
2244
|
-
display: -webkit-box;
|
|
2245
|
-
-webkit-line-clamp: 3;
|
|
2246
|
-
-webkit-box-orient: vertical;
|
|
2247
|
-
overflow: hidden;
|
|
2248
|
-
margin-top: ${size(0.25)};
|
|
2249
|
-
`;
|
|
2250
|
-
const Usp = styled__default.div`
|
|
2251
|
-
margin-top: ${size(1)};
|
|
2252
|
-
`;
|
|
2253
|
-
const Price = styled__default.div`
|
|
2254
|
-
display: flex;
|
|
2255
|
-
align-items: center;
|
|
2256
|
-
flex-wrap: wrap;
|
|
2257
|
-
width: 100%;
|
|
2258
|
-
`;
|
|
2259
|
-
const CurrentPrice = styled__default.div.attrs(() => ({
|
|
2260
|
-
className: 'wayke__theme wayke__color--primary-text wayke__font--bold'
|
|
2261
|
-
}))`
|
|
2262
|
-
font-size: 1rem;
|
|
2263
|
-
margin-right: ${size(1)};
|
|
2264
|
-
`;
|
|
2265
|
-
const PriceCell = styled__default.div`
|
|
2266
|
-
flex: 1 1 auto;
|
|
2267
|
-
padding-right: ${size(1)};
|
|
2268
|
-
`;
|
|
2269
|
-
const OldPrice = styled__default.div`
|
|
2270
|
-
text-decoration: line-through;
|
|
2271
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
2272
|
-
font-size: 0.875rem;
|
|
2273
|
-
`;
|
|
2274
|
-
const Label$3 = styled__default.label`
|
|
2275
|
-
color: ${props => props.theme.color.disabledText};
|
|
2276
|
-
font-size: 0.875rem;
|
|
2277
|
-
`;
|
|
2278
|
-
|
|
2279
|
-
const Item$5 = styled__default.li`
|
|
2280
|
-
padding: ${size(0.5)};
|
|
2281
|
-
`;
|
|
2282
|
-
const Box = styled__default.div`
|
|
2283
|
-
display: flex;
|
|
2284
|
-
align-items: center;
|
|
2285
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
2286
|
-
padding: ${size(1)} ${size(1.5)};
|
|
2287
|
-
border-radius: 3px;
|
|
2288
|
-
font-size: 0.875rem;
|
|
2289
|
-
overflow-wrap: break-word;
|
|
2290
|
-
hyphens: auto;
|
|
2291
|
-
`;
|
|
2292
|
-
const ItemSection = styled__default.div`
|
|
2293
|
-
& + & {
|
|
2294
|
-
margin-left: ${size(1)};
|
|
2295
|
-
}
|
|
2296
|
-
`;
|
|
2297
|
-
const Action$3 = styled__default(ButtonReset).attrs(() => ({
|
|
2298
|
-
className: 'wayke__theme wayke__color--primary-text'
|
|
2299
|
-
}))`
|
|
2300
|
-
position: relative;
|
|
2301
|
-
display: block;
|
|
2302
|
-
transform-origin: 50% 50%;
|
|
2303
|
-
transition: transform 300ms cubic-bezier(0.47, 1.64, 0.41, 0.8);
|
|
2304
|
-
|
|
2305
|
-
:before {
|
|
2306
|
-
content: '';
|
|
2307
|
-
position: absolute;
|
|
2308
|
-
top: ${size(-0.5)};
|
|
2309
|
-
bottom: ${size(-0.5)};
|
|
2310
|
-
left: ${size(-0.5)};
|
|
2311
|
-
right: ${size(-0.5)};
|
|
2312
|
-
background-color: ${props => props.theme.color.accent};
|
|
2313
|
-
border-radius: 50%;
|
|
2314
|
-
opacity: 0;
|
|
2315
|
-
transition: opacity 200ms ease;
|
|
2316
|
-
}
|
|
2317
|
-
|
|
2318
|
-
> * {
|
|
2319
|
-
position: relative;
|
|
2320
|
-
z-index: 1;
|
|
2321
|
-
}
|
|
2322
|
-
|
|
2323
|
-
:hover {
|
|
2324
|
-
:before {
|
|
2325
|
-
opacity: 1;
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2329
|
-
:active {
|
|
2330
|
-
transform: scale(0.95);
|
|
2331
|
-
}
|
|
2332
|
-
`;
|
|
2333
|
-
const List$5 = styled__default.ul`
|
|
2334
|
-
display: flex;
|
|
2335
|
-
align-items: center;
|
|
2336
|
-
flex-wrap: wrap;
|
|
2337
|
-
list-style: none;
|
|
2338
|
-
padding: 0;
|
|
2339
|
-
margin: ${size(-0.5)};
|
|
2340
|
-
|
|
2341
|
-
${({
|
|
2342
|
-
isSmall
|
|
2343
|
-
}) => isSmall && styled.css(["margin:", ";", "{padding:", ";}", "{padding:", " ", ";font-size:0.75rem;}", "{& + &{margin-left:", ";}}"], size(-0.25), Item$5, size(0.25), Box, size(0.5), size(1), ItemSection, size(0.5))}
|
|
2344
|
-
`;
|
|
1567
|
+
const Wrapper$7 = styled__default.div.withConfig({
|
|
1568
|
+
displayName: "wrapper__Wrapper"
|
|
1569
|
+
})([""]);
|
|
1570
|
+
const List$4 = styled__default.ul.withConfig({
|
|
1571
|
+
displayName: "wrapper__List"
|
|
1572
|
+
})(["display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:", " ", ";"], size(-2), size(-1));
|
|
1573
|
+
const Item$4 = styled__default.li.withConfig({
|
|
1574
|
+
displayName: "wrapper__Item"
|
|
1575
|
+
})(["flex:1 1 auto;width:100%;max-width:100%;padding:", " ", ";", "{width:50%;max-width:50%;}", "{width:33.333%;max-width:33.333%;}"], size(2), size(1), props => props.theme.breakpoint.Sm, props => props.theme.breakpoint.Md);
|
|
1576
|
+
|
|
1577
|
+
const Wrapper$8 = styled__default.article.withConfig({
|
|
1578
|
+
displayName: "wrapper__Wrapper"
|
|
1579
|
+
})(["position:relative;height:100%;display:flex;flex-direction:column;transform-origin:50% 50%;transition:transform 150ms ease;:active{transform:scale(0.98);}"]);
|
|
1580
|
+
const Image = styled__default.div.withConfig({
|
|
1581
|
+
displayName: "wrapper__Image"
|
|
1582
|
+
})(["flex-shrink:0;position:relative;height:0;padding-bottom:66.666%;background-color:", ";border-radius:3px;:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 4px 8px rgba(0,0,0,0.1);border-radius:3px;opacity:0;transition:opacity 200ms ease;}", ":hover &{:before{opacity:1;}}"], props => props.theme.color.accentDark, Wrapper$8);
|
|
1583
|
+
const Picture = styled__default.picture.withConfig({
|
|
1584
|
+
displayName: "wrapper__Picture"
|
|
1585
|
+
})([""]);
|
|
1586
|
+
const Source = styled__default.source.withConfig({
|
|
1587
|
+
displayName: "wrapper__Source"
|
|
1588
|
+
})([""]);
|
|
1589
|
+
const Img = styled__default.img.withConfig({
|
|
1590
|
+
displayName: "wrapper__Img"
|
|
1591
|
+
})(["position:absolute;width:100%;height:100%;object-fit:cover;top:auto;left:auto;border-radius:3px;"]);
|
|
1592
|
+
const Content = styled__default.div.withConfig({
|
|
1593
|
+
displayName: "wrapper__Content"
|
|
1594
|
+
})(["flex:1 1 auto;display:flex;flex-direction:column;margin-top:", ";"], size(2));
|
|
1595
|
+
const ContentBody = styled__default.div.withConfig({
|
|
1596
|
+
displayName: "wrapper__ContentBody"
|
|
1597
|
+
})([""]);
|
|
1598
|
+
const ContentFooter = styled__default.div.withConfig({
|
|
1599
|
+
displayName: "wrapper__ContentFooter"
|
|
1600
|
+
})(["margin-top:auto;padding-top:", ";"], size(1));
|
|
1601
|
+
const Heading$2 = styled__default.h1.attrs(() => ({
|
|
1602
|
+
className: 'wayke__theme wayke__font--bold'
|
|
1603
|
+
})).withConfig({
|
|
1604
|
+
displayName: "wrapper__Heading"
|
|
1605
|
+
})(["display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:400;margin:0;font-size:1rem;"]);
|
|
1606
|
+
const Link = styled__default.a.withConfig({
|
|
1607
|
+
displayName: "wrapper__Link"
|
|
1608
|
+
})(["display:block;color:inherit;text-decoration:none;-webkit-tap-highlight-color:rgba(255,255,255,0);:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;}:focus{text-decoration:underline;}"]);
|
|
1609
|
+
const Description$1 = styled__default.div.withConfig({
|
|
1610
|
+
displayName: "wrapper__Description"
|
|
1611
|
+
})(["font-size:0.875rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:", ";"], size(0.25));
|
|
1612
|
+
const Usp = styled__default.div.withConfig({
|
|
1613
|
+
displayName: "wrapper__Usp"
|
|
1614
|
+
})(["margin-top:", ";"], size(1));
|
|
1615
|
+
const Price = styled__default.div.withConfig({
|
|
1616
|
+
displayName: "wrapper__Price"
|
|
1617
|
+
})(["display:flex;align-items:center;flex-wrap:wrap;width:100%;"]);
|
|
1618
|
+
const CurrentPrice = styled__default.div.attrs(() => ({
|
|
1619
|
+
className: 'wayke__theme wayke__color--primary-text wayke__font--bold'
|
|
1620
|
+
})).withConfig({
|
|
1621
|
+
displayName: "wrapper__CurrentPrice"
|
|
1622
|
+
})(["font-size:1rem;margin-right:", ";"], size(1));
|
|
1623
|
+
const PriceCell = styled__default.div.withConfig({
|
|
1624
|
+
displayName: "wrapper__PriceCell"
|
|
1625
|
+
})(["flex:1 1 auto;padding-right:", ";"], size(1));
|
|
1626
|
+
const OldPrice = styled__default.div.withConfig({
|
|
1627
|
+
displayName: "wrapper__OldPrice"
|
|
1628
|
+
})(["text-decoration:line-through;color:", ";font-size:0.875rem;"], props => props.theme.color.textDarkLighten);
|
|
1629
|
+
const Label$3 = styled__default.label.withConfig({
|
|
1630
|
+
displayName: "wrapper__Label"
|
|
1631
|
+
})(["color:", ";font-size:0.875rem;"], props => props.theme.color.disabledText);
|
|
1632
|
+
|
|
1633
|
+
const Item$5 = styled__default.li.withConfig({
|
|
1634
|
+
displayName: "wrapper__Item"
|
|
1635
|
+
})(["padding:", ";"], size(0.5));
|
|
1636
|
+
const Box = styled__default.div.withConfig({
|
|
1637
|
+
displayName: "wrapper__Box"
|
|
1638
|
+
})(["display:flex;align-items:center;background-color:", ";padding:", " ", ";border-radius:3px;font-size:0.875rem;overflow-wrap:break-word;hyphens:auto;"], props => props.theme.color.accentDark, size(1), size(1.5));
|
|
1639
|
+
const ItemSection = styled__default.div.withConfig({
|
|
1640
|
+
displayName: "wrapper__ItemSection"
|
|
1641
|
+
})(["& + &{margin-left:", ";}"], size(1));
|
|
1642
|
+
const Action$3 = styled__default(ButtonReset).attrs(() => ({
|
|
1643
|
+
className: 'wayke__theme wayke__color--primary-text'
|
|
1644
|
+
})).withConfig({
|
|
1645
|
+
displayName: "wrapper__Action"
|
|
1646
|
+
})(["position:relative;display:block;transform-origin:50% 50%;transition:transform 300ms cubic-bezier(0.47,1.64,0.41,0.8);:before{content:'';position:absolute;top:", ";bottom:", ";left:", ";right:", ";background-color:", ";border-radius:50%;opacity:0;transition:opacity 200ms ease;}> *{position:relative;z-index:1;}:hover{:before{opacity:1;}}:active{transform:scale(0.95);}"], size(-0.5), size(-0.5), size(-0.5), size(-0.5), props => props.theme.color.accent);
|
|
1647
|
+
const List$5 = styled__default.ul.withConfig({
|
|
1648
|
+
displayName: "wrapper__List"
|
|
1649
|
+
})(["display:flex;align-items:center;flex-wrap:wrap;list-style:none;padding:0;margin:", ";", ""], size(-0.5), ({
|
|
1650
|
+
isSmall
|
|
1651
|
+
}) => isSmall && styled.css(["margin:", ";", "{padding:", ";}", "{padding:", " ", ";font-size:0.75rem;}", "{& + &{margin-left:", ";}}"], size(-0.25), Item$5, size(0.25), Box, size(0.5), size(1), ItemSection, size(0.5)));
|
|
2345
1652
|
|
|
2346
1653
|
const UspItem = ({
|
|
2347
1654
|
title,
|
|
@@ -2488,70 +1795,17 @@ const Grid = ({
|
|
|
2488
1795
|
})));
|
|
2489
1796
|
};
|
|
2490
1797
|
|
|
2491
|
-
const Wrapper$9 = styled__default.div
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
`;
|
|
1798
|
+
const Wrapper$9 = styled__default.div.withConfig({
|
|
1799
|
+
displayName: "wrapper__Wrapper"
|
|
1800
|
+
})(["display:flex;align-items:center;"]);
|
|
2495
1801
|
const Query = styled__default.div.attrs(() => ({
|
|
2496
1802
|
className: 'wayke__theme wayke__font--bold'
|
|
2497
|
-
}))
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
:before,
|
|
2504
|
-
:after {
|
|
2505
|
-
content: '"';
|
|
2506
|
-
}
|
|
2507
|
-
`;
|
|
2508
|
-
const Clear = styled__default(ButtonReset)`
|
|
2509
|
-
position: relative;
|
|
2510
|
-
display: flex;
|
|
2511
|
-
align-items: center;
|
|
2512
|
-
justify-content: center;
|
|
2513
|
-
width: ${size(2)};
|
|
2514
|
-
height: ${size(2)};
|
|
2515
|
-
border-radius: 50%;
|
|
2516
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
2517
|
-
margin-left: ${size(1)};
|
|
2518
|
-
font-size: ${size(1)};
|
|
2519
|
-
transform-origin: 50% 50%;
|
|
2520
|
-
transition: transform 150ms ease;
|
|
2521
|
-
|
|
2522
|
-
:before {
|
|
2523
|
-
content: '';
|
|
2524
|
-
position: absolute;
|
|
2525
|
-
top: ${size(-1)};
|
|
2526
|
-
bottom: ${size(-1)};
|
|
2527
|
-
left: ${size(-1)};
|
|
2528
|
-
right: ${size(-1)};
|
|
2529
|
-
border-radius: 50%;
|
|
2530
|
-
}
|
|
2531
|
-
|
|
2532
|
-
:after {
|
|
2533
|
-
content: '';
|
|
2534
|
-
position: absolute;
|
|
2535
|
-
top: 0;
|
|
2536
|
-
left: 0;
|
|
2537
|
-
width: 100%;
|
|
2538
|
-
height: 100%;
|
|
2539
|
-
background-color: ${props => props.theme.color.hoverOverlay};
|
|
2540
|
-
border-radius: 50%;
|
|
2541
|
-
opacity: 0;
|
|
2542
|
-
transition: opacity 150ms ease;
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2545
|
-
:hover {
|
|
2546
|
-
:after {
|
|
2547
|
-
opacity: 1;
|
|
2548
|
-
}
|
|
2549
|
-
}
|
|
2550
|
-
|
|
2551
|
-
:active {
|
|
2552
|
-
transform: scale(0.95);
|
|
2553
|
-
}
|
|
2554
|
-
`;
|
|
1803
|
+
})).withConfig({
|
|
1804
|
+
displayName: "wrapper__Query"
|
|
1805
|
+
})(["font-size:2.25rem;min-width:0;overflow-wrap:break-word;hyphens:auto;:before,:after{content:'\"'; }"]);
|
|
1806
|
+
const Clear = styled__default(ButtonReset).withConfig({
|
|
1807
|
+
displayName: "wrapper__Clear"
|
|
1808
|
+
})(["position:relative;display:flex;align-items:center;justify-content:center;width:", ";height:", ";border-radius:50%;background-color:", ";margin-left:", ";font-size:", ";transform-origin:50% 50%;transition:transform 150ms ease;:before{content:'';position:absolute;top:", ";bottom:", ";left:", ";right:", ";border-radius:50%;}:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:", ";border-radius:50%;opacity:0;transition:opacity 150ms ease;}:hover{:after{opacity:1;}}:active{transform:scale(0.95);}"], size(2), size(2), props => props.theme.color.accentDark, size(1), size(1), size(-1), size(-1), size(-1), size(-1), props => props.theme.color.hoverOverlay);
|
|
2555
1809
|
|
|
2556
1810
|
const SearchTerm = ({
|
|
2557
1811
|
children,
|
|
@@ -2566,91 +1820,29 @@ const SearchTerm = ({
|
|
|
2566
1820
|
|
|
2567
1821
|
const Wrapper$a = styled__default.div.attrs(() => ({
|
|
2568
1822
|
role: 'search'
|
|
2569
|
-
}))
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
clip: rect(0, 0, 0, 0);
|
|
2582
|
-
white-space: nowrap;
|
|
2583
|
-
border: 0;
|
|
2584
|
-
`;
|
|
2585
|
-
const Search = styled__default.div`
|
|
2586
|
-
flex: 1 1 auto;
|
|
2587
|
-
position: relative;
|
|
2588
|
-
display: flex;
|
|
2589
|
-
align-items: stretch;
|
|
2590
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
2591
|
-
border-top-left-radius: 3px;
|
|
2592
|
-
border-bottom-left-radius: 3px;
|
|
2593
|
-
`;
|
|
2594
|
-
const Action$4 = styled__default.div`
|
|
2595
|
-
flex-shrink: 0;
|
|
2596
|
-
`;
|
|
1823
|
+
})).withConfig({
|
|
1824
|
+
displayName: "wrapper__Wrapper"
|
|
1825
|
+
})(["display:flex;align-items:stretch;border-radius:3px;"]);
|
|
1826
|
+
const Label$4 = styled__default.label.withConfig({
|
|
1827
|
+
displayName: "wrapper__Label"
|
|
1828
|
+
})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;"]);
|
|
1829
|
+
const Search = styled__default.div.withConfig({
|
|
1830
|
+
displayName: "wrapper__Search"
|
|
1831
|
+
})(["flex:1 1 auto;position:relative;display:flex;align-items:stretch;background-color:", ";border-top-left-radius:3px;border-bottom-left-radius:3px;"], props => props.theme.color.accentDark);
|
|
1832
|
+
const Action$4 = styled__default.div.withConfig({
|
|
1833
|
+
displayName: "wrapper__Action"
|
|
1834
|
+
})(["flex-shrink:0;"]);
|
|
2597
1835
|
const ActionBtn = styled__default(ButtonReset).attrs(() => ({
|
|
2598
1836
|
className: 'wayke__theme wayke__color--primary-bg'
|
|
2599
|
-
}))
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
justify-content: center;
|
|
2603
|
-
width: ${props => props.theme.distances.inputHeight};
|
|
2604
|
-
height: ${props => props.theme.distances.inputHeight};
|
|
2605
|
-
border-top-right-radius: 3px;
|
|
2606
|
-
border-bottom-right-radius: 3px;
|
|
2607
|
-
font-size: 1rem;
|
|
2608
|
-
`;
|
|
1837
|
+
})).withConfig({
|
|
1838
|
+
displayName: "wrapper__ActionBtn"
|
|
1839
|
+
})(["display:flex;align-items:center;justify-content:center;width:", ";height:", ";border-top-right-radius:3px;border-bottom-right-radius:3px;font-size:1rem;"], props => props.theme.distances.inputHeight, props => props.theme.distances.inputHeight);
|
|
2609
1840
|
const Input = styled__default.input.attrs(() => ({
|
|
2610
1841
|
type: 'search',
|
|
2611
1842
|
className: 'wayke__theme wayke__font--regular'
|
|
2612
|
-
}))
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
width: 100%;
|
|
2616
|
-
height: ${props => props.theme.distances.inputHeight};
|
|
2617
|
-
padding: 0 ${size(2)};
|
|
2618
|
-
background-color: transparent;
|
|
2619
|
-
font-size: 16px;
|
|
2620
|
-
border: none;
|
|
2621
|
-
border-radius: 0;
|
|
2622
|
-
box-shadow: none;
|
|
2623
|
-
-moz-appearance: none;
|
|
2624
|
-
-webkit-appearance: none;
|
|
2625
|
-
|
|
2626
|
-
:focus {
|
|
2627
|
-
outline: none;
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
&::-webkit-input-placeholder {
|
|
2631
|
-
font-family: inherit;
|
|
2632
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
2633
|
-
font-size: 1em;
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
|
-
&:-moz-placeholder {
|
|
2637
|
-
font-family: inherit;
|
|
2638
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
2639
|
-
font-size: 1em;
|
|
2640
|
-
}
|
|
2641
|
-
|
|
2642
|
-
&::-moz-placeholder {
|
|
2643
|
-
font-family: inherit;
|
|
2644
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
2645
|
-
font-size: 1em;
|
|
2646
|
-
}
|
|
2647
|
-
|
|
2648
|
-
&:-ms-input-placeholder {
|
|
2649
|
-
font-family: inherit;
|
|
2650
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
2651
|
-
font-size: 1em;
|
|
2652
|
-
}
|
|
2653
|
-
`;
|
|
1843
|
+
})).withConfig({
|
|
1844
|
+
displayName: "wrapper__Input"
|
|
1845
|
+
})(["flex:1 1 auto;display:block;width:100%;height:", ";padding:0 ", ";background-color:transparent;font-size:16px;border:none;border-radius:0;box-shadow:none;-moz-appearance:none;-webkit-appearance:none;:focus{outline:none;}&::-webkit-input-placeholder{font-family:inherit;color:", ";font-size:1em;}&:-moz-placeholder{font-family:inherit;color:", ";font-size:1em;}&::-moz-placeholder{font-family:inherit;color:", ";font-size:1em;}&:-ms-input-placeholder{font-family:inherit;color:", ";font-size:1em;}"], props => props.theme.distances.inputHeight, size(2), props => props.theme.color.textDarkLighten, props => props.theme.color.textDarkLighten, props => props.theme.color.textDarkLighten, props => props.theme.color.textDarkLighten);
|
|
2654
1846
|
|
|
2655
1847
|
const InputSearch = React__default.forwardRef(({
|
|
2656
1848
|
placeholder,
|
|
@@ -2772,41 +1964,21 @@ const getSnackbarBg = severity => {
|
|
|
2772
1964
|
|
|
2773
1965
|
const Wrapper$b = styled__default.div.attrs(() => ({
|
|
2774
1966
|
role: 'alert'
|
|
2775
|
-
}))
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
}
|
|
2791
|
-
`;
|
|
2792
|
-
const Content$1 = styled__default.div`
|
|
2793
|
-
flex: 1 1 auto;
|
|
2794
|
-
font-size: 1rem;
|
|
2795
|
-
`;
|
|
2796
|
-
const Heading$3 = styled__default.div`
|
|
2797
|
-
font-weight: 700;
|
|
2798
|
-
`;
|
|
2799
|
-
const Message = styled__default.div`
|
|
2800
|
-
> * {
|
|
2801
|
-
&:first-child {
|
|
2802
|
-
margin-top: 0;
|
|
2803
|
-
}
|
|
2804
|
-
|
|
2805
|
-
&:last-child {
|
|
2806
|
-
margin-bottom: 0;
|
|
2807
|
-
}
|
|
2808
|
-
}
|
|
2809
|
-
`;
|
|
1967
|
+
})).withConfig({
|
|
1968
|
+
displayName: "wrapper__Wrapper"
|
|
1969
|
+
})(["display:flex;align-items:center;padding:", " ", ";background-color:", ";color:", ";border-radius:3px;"], size(1.5), size(2), props => getSnackbarBg(props.severity), props => props.theme.color.textDark);
|
|
1970
|
+
const Icon$3 = styled__default.div.withConfig({
|
|
1971
|
+
displayName: "wrapper__Icon"
|
|
1972
|
+
})(["flex-shrink:0;padding-right:", ";font-size:", ";> svg{display:block;}"], size(2), size(3));
|
|
1973
|
+
const Content$1 = styled__default.div.withConfig({
|
|
1974
|
+
displayName: "wrapper__Content"
|
|
1975
|
+
})(["flex:1 1 auto;font-size:1rem;"]);
|
|
1976
|
+
const Heading$3 = styled__default.div.withConfig({
|
|
1977
|
+
displayName: "wrapper__Heading"
|
|
1978
|
+
})(["font-weight:700;"]);
|
|
1979
|
+
const Message = styled__default.div.withConfig({
|
|
1980
|
+
displayName: "wrapper__Message"
|
|
1981
|
+
})(["> *{&:first-child{margin-top:0;}&:last-child{margin-bottom:0;}}"]);
|
|
2810
1982
|
|
|
2811
1983
|
const Snackbar = ({
|
|
2812
1984
|
severity,
|
|
@@ -3002,51 +2174,38 @@ const WaykeSearch = ({
|
|
|
3002
2174
|
}));
|
|
3003
2175
|
};
|
|
3004
2176
|
|
|
3005
|
-
const List$6 = styled__default.ul
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
}
|
|
3018
|
-
`;
|
|
3019
|
-
const Label$5 = styled__default.div`
|
|
3020
|
-
flex: 1 1 auto;
|
|
3021
|
-
`;
|
|
3022
|
-
const Value = styled__default.div`
|
|
3023
|
-
flex-shrink: 0;
|
|
3024
|
-
`;
|
|
2177
|
+
const List$6 = styled__default.ul.withConfig({
|
|
2178
|
+
displayName: "wrapper__List"
|
|
2179
|
+
})(["list-style:none;padding:0;margin:0;"]);
|
|
2180
|
+
const Item$6 = styled__default.li.withConfig({
|
|
2181
|
+
displayName: "wrapper__Item"
|
|
2182
|
+
})(["display:flex;align-items:flex-end;line-height:1;& + &{margin-top:", ";}"], size(0.5));
|
|
2183
|
+
const Label$5 = styled__default.div.withConfig({
|
|
2184
|
+
displayName: "wrapper__Label"
|
|
2185
|
+
})(["flex:1 1 auto;"]);
|
|
2186
|
+
const Value = styled__default.div.withConfig({
|
|
2187
|
+
displayName: "wrapper__Value"
|
|
2188
|
+
})(["flex-shrink:0;"]);
|
|
3025
2189
|
|
|
3026
2190
|
const Price$1 = styled__default.div.attrs(() => ({
|
|
3027
2191
|
className: 'wayke__theme wayke__color--primary-text wayke__font--bold'
|
|
3028
|
-
}))
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
const OldPrice$1 = styled__default.div
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
`;
|
|
2192
|
+
})).withConfig({
|
|
2193
|
+
displayName: "Price"
|
|
2194
|
+
})(["font-size:1.375rem;"]);
|
|
2195
|
+
const OldPrice$1 = styled__default.div.withConfig({
|
|
2196
|
+
displayName: "Price__OldPrice"
|
|
2197
|
+
})(["color:", ";text-decoration:line-through;"], props => props.theme.color.textDarkLighten);
|
|
3035
2198
|
|
|
3036
2199
|
const PriceTable = ({
|
|
3037
2200
|
price,
|
|
3038
2201
|
oldPrice
|
|
3039
2202
|
}) => React__default.createElement(List$6, null, React__default.createElement(Item$6, null, React__default.createElement(Label$5, null, React__default.createElement(VisualHeading, null, "Pris")), React__default.createElement(Value, null, React__default.createElement(Price$1, null, numberSeparator(price), " kr"))), oldPrice !== undefined && React__default.createElement(Item$6, null, React__default.createElement(Label$5, null), React__default.createElement(Value, null, React__default.createElement(OldPrice$1, null, numberSeparator(oldPrice), " kr"))));
|
|
3040
2203
|
|
|
3041
|
-
const Logo = styled__default.img
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
max-height: ${size(6)};
|
|
3045
|
-
|
|
3046
|
-
${({
|
|
2204
|
+
const Logo = styled__default.img.withConfig({
|
|
2205
|
+
displayName: "wrapper__Logo"
|
|
2206
|
+
})(["display:block;max-width:", ";max-height:", ";", ""], size(9.5), size(6), ({
|
|
3047
2207
|
wide
|
|
3048
|
-
}) => wide && styled.css(["max-width:", ";"], size(20))
|
|
3049
|
-
`;
|
|
2208
|
+
}) => wide && styled.css(["max-width:", ";"], size(20)));
|
|
3050
2209
|
|
|
3051
2210
|
const LogoBox = ({
|
|
3052
2211
|
logo,
|
|
@@ -3068,49 +2227,11 @@ const LogoBox = ({
|
|
|
3068
2227
|
});
|
|
3069
2228
|
};
|
|
3070
2229
|
|
|
3071
|
-
const Wrapper$c = styled__default.div
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
h1,
|
|
3076
|
-
h2,
|
|
3077
|
-
h3,
|
|
3078
|
-
h4,
|
|
3079
|
-
h5,
|
|
3080
|
-
h6 {
|
|
3081
|
-
margin-top: ${size(4)};
|
|
3082
|
-
margin-bottom: ${size(1)};
|
|
3083
|
-
|
|
3084
|
-
:first-child {
|
|
3085
|
-
margin-top: 0;
|
|
3086
|
-
}
|
|
3087
|
-
|
|
3088
|
-
:last-child {
|
|
3089
|
-
margin-bottom: 0;
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
|
-
& + p,
|
|
3093
|
-
& + table {
|
|
3094
|
-
margin-top: ${size(1)};
|
|
3095
|
-
}
|
|
3096
|
-
}
|
|
3097
|
-
|
|
3098
|
-
p {
|
|
3099
|
-
margin: ${size(2)} 0;
|
|
3100
|
-
|
|
3101
|
-
:first-child {
|
|
3102
|
-
margin-top: 0;
|
|
3103
|
-
}
|
|
3104
|
-
|
|
3105
|
-
:last-child {
|
|
3106
|
-
margin-bottom: 0;
|
|
3107
|
-
}
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
|
-
${({
|
|
2230
|
+
const Wrapper$c = styled__default.div.withConfig({
|
|
2231
|
+
displayName: "wrapper__Wrapper"
|
|
2232
|
+
})(["font-size:1rem;line-height:1.5;h1,h2,h3,h4,h5,h6{margin-top:", ";margin-bottom:", ";:first-child{margin-top:0;}:last-child{margin-bottom:0;}& + p,& + table{margin-top:", ";}}p{margin:", " 0;:first-child{margin-top:0;}:last-child{margin-bottom:0;}}", ""], size(4), size(1), size(1), size(2), ({
|
|
3111
2233
|
small
|
|
3112
|
-
}) => small && styled.css(["font-size:0.875rem;"])
|
|
3113
|
-
`;
|
|
2234
|
+
}) => small && styled.css(["font-size:0.875rem;"]));
|
|
3114
2235
|
|
|
3115
2236
|
const Content$2 = ({
|
|
3116
2237
|
children,
|
|
@@ -3121,62 +2242,35 @@ const Content$2 = ({
|
|
|
3121
2242
|
dangerouslySetInnerHTML: dangerouslySetInnerHTML
|
|
3122
2243
|
}, children);
|
|
3123
2244
|
|
|
3124
|
-
const Wrapper$d = styled__default.blockquote
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
:last-child {
|
|
3141
|
-
margin-bottom: 0;
|
|
3142
|
-
}
|
|
3143
|
-
}
|
|
3144
|
-
`;
|
|
3145
|
-
const Author = styled__default.footer`
|
|
3146
|
-
display: inline-flex;
|
|
3147
|
-
align-items: center;
|
|
3148
|
-
margin-top: ${size(3)};
|
|
3149
|
-
|
|
3150
|
-
${props => props.theme.breakpoint.Md} {
|
|
3151
|
-
margin-top: ${size(4)};
|
|
3152
|
-
}
|
|
3153
|
-
`;
|
|
3154
|
-
const AvatarWrapper = styled__default.div`
|
|
3155
|
-
flex-shrink: 0;
|
|
3156
|
-
padding-right: ${size(1.5)};
|
|
3157
|
-
`;
|
|
3158
|
-
const Info = styled__default.div`
|
|
3159
|
-
flex: 1 1 auto;
|
|
3160
|
-
font-size: 0.875rem;
|
|
3161
|
-
`;
|
|
2245
|
+
const Wrapper$d = styled__default.blockquote.withConfig({
|
|
2246
|
+
displayName: "wrapper__Wrapper"
|
|
2247
|
+
})(["display:flex;flex-direction:column;max-width:600px;margin:0 auto;", "{align-items:center;}"], props => props.theme.breakpoint.Sm);
|
|
2248
|
+
const Quote = styled__default.div.withConfig({
|
|
2249
|
+
displayName: "wrapper__Quote"
|
|
2250
|
+
})(["> *{:first-child{margin-top:0;}:last-child{margin-bottom:0;}}"]);
|
|
2251
|
+
const Author = styled__default.footer.withConfig({
|
|
2252
|
+
displayName: "wrapper__Author"
|
|
2253
|
+
})(["display:inline-flex;align-items:center;margin-top:", ";", "{margin-top:", ";}"], size(3), props => props.theme.breakpoint.Md, size(4));
|
|
2254
|
+
const AvatarWrapper = styled__default.div.withConfig({
|
|
2255
|
+
displayName: "wrapper__AvatarWrapper"
|
|
2256
|
+
})(["flex-shrink:0;padding-right:", ";"], size(1.5));
|
|
2257
|
+
const Info = styled__default.div.withConfig({
|
|
2258
|
+
displayName: "wrapper__Info"
|
|
2259
|
+
})(["flex:1 1 auto;font-size:0.875rem;"]);
|
|
3162
2260
|
const Name = styled__default.div.attrs(() => ({
|
|
3163
2261
|
className: 'wayke__theme wayke__font--bold'
|
|
3164
|
-
}))
|
|
3165
|
-
|
|
2262
|
+
})).withConfig({
|
|
2263
|
+
displayName: "wrapper__Name"
|
|
2264
|
+
})([""]);
|
|
2265
|
+
const Date$1 = styled__default.div.withConfig({
|
|
2266
|
+
displayName: "wrapper__Date"
|
|
2267
|
+
})([""]);
|
|
3166
2268
|
|
|
3167
2269
|
const Wrapper$e = styled__default.div.attrs(() => ({
|
|
3168
2270
|
role: 'image'
|
|
3169
|
-
}))
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
height: ${size(5)};
|
|
3173
|
-
border-radius: 50%;
|
|
3174
|
-
background-image: ${props => `url(${props.image})`};
|
|
3175
|
-
background-size: cover;
|
|
3176
|
-
background-position: center;
|
|
3177
|
-
background-repeat: no-repeat;
|
|
3178
|
-
background-color: ${props => props.theme.color.accent};
|
|
3179
|
-
`;
|
|
2271
|
+
})).withConfig({
|
|
2272
|
+
displayName: "wrapper__Wrapper"
|
|
2273
|
+
})(["display:block;width:", ";height:", ";border-radius:50%;background-image:", ";background-size:cover;background-position:center;background-repeat:no-repeat;background-color:", ";"], size(5), size(5), props => `url(${props.image})`, props => props.theme.color.accent);
|
|
3180
2274
|
|
|
3181
2275
|
const Avatar = ({
|
|
3182
2276
|
image,
|
|
@@ -3196,31 +2290,17 @@ const Blockquote = ({
|
|
|
3196
2290
|
alt: `${author} avatar`
|
|
3197
2291
|
})), React__default.createElement(Info, null, React__default.createElement(Name, null, author), date && React__default.createElement(Date$1, null, date))));
|
|
3198
2292
|
|
|
3199
|
-
const Wrapper$f = styled__default.div
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
:after {
|
|
3206
|
-
content: '';
|
|
3207
|
-
position: absolute;
|
|
3208
|
-
bottom: 0;
|
|
3209
|
-
left: 0;
|
|
3210
|
-
right: 0;
|
|
3211
|
-
height: ${size(6)};
|
|
3212
|
-
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
|
|
3213
|
-
}
|
|
3214
|
-
|
|
3215
|
-
${({
|
|
2293
|
+
const Wrapper$f = styled__default.div.withConfig({
|
|
2294
|
+
displayName: "wrapper__Wrapper"
|
|
2295
|
+
})([""]);
|
|
2296
|
+
const Extend = styled__default.div.withConfig({
|
|
2297
|
+
displayName: "wrapper__Extend"
|
|
2298
|
+
})(["position:relative;max-height:175px;overflow:hidden;:after{content:'';position:absolute;bottom:0;left:0;right:0;height:", ";background-image:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));}", ""], size(6), ({
|
|
3216
2299
|
extended
|
|
3217
|
-
}) => extended && styled.css(["max-height:none;:after{content:none;}"])
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
justify-content: flex-end;
|
|
3222
|
-
margin-top: ${size(2)};
|
|
3223
|
-
`;
|
|
2300
|
+
}) => extended && styled.css(["max-height:none;:after{content:none;}"]));
|
|
2301
|
+
const Action$5 = styled__default.div.withConfig({
|
|
2302
|
+
displayName: "wrapper__Action"
|
|
2303
|
+
})(["display:flex;justify-content:flex-end;margin-top:", ";"], size(2));
|
|
3224
2304
|
|
|
3225
2305
|
const ExtendContent = ({
|
|
3226
2306
|
children,
|
|
@@ -3256,373 +2336,80 @@ const ExtendContent = ({
|
|
|
3256
2336
|
|
|
3257
2337
|
const quickNavWidth = 83; // 75px + 8px
|
|
3258
2338
|
|
|
3259
|
-
const Wrapper$g = styled__default.div
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
}
|
|
3295
|
-
|
|
3296
|
-
.slick-slide > * {
|
|
3297
|
-
font-size: 0;
|
|
3298
|
-
|
|
3299
|
-
> * {
|
|
3300
|
-
font-size: 1rem;
|
|
3301
|
-
}
|
|
3302
|
-
}
|
|
3303
|
-
`;
|
|
3304
|
-
const Alt = styled__default.div`
|
|
3305
|
-
position: absolute;
|
|
3306
|
-
top: 0;
|
|
3307
|
-
bottom: 0;
|
|
3308
|
-
right: 0;
|
|
3309
|
-
width: ${quickNavWidth}px;
|
|
3310
|
-
padding-left: ${size(1)};
|
|
3311
|
-
|
|
3312
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
3313
|
-
display: none;
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
:after {
|
|
3317
|
-
content: '';
|
|
3318
|
-
position: absolute;
|
|
3319
|
-
bottom: 0;
|
|
3320
|
-
left: 0;
|
|
3321
|
-
right: 0;
|
|
3322
|
-
height: ${size(2.5)};
|
|
3323
|
-
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
|
|
3324
|
-
pointer-events: none;
|
|
3325
|
-
}
|
|
3326
|
-
`;
|
|
3327
|
-
const Item$7 = styled__default.div`
|
|
3328
|
-
position: relative;
|
|
3329
|
-
width: 100%;
|
|
3330
|
-
height: 100%;
|
|
3331
|
-
overflow: hidden;
|
|
3332
|
-
|
|
3333
|
-
:focus {
|
|
3334
|
-
outline: none;
|
|
3335
|
-
}
|
|
3336
|
-
|
|
3337
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
3338
|
-
//background-color: ${props => props.theme.color.textDark};
|
|
3339
|
-
transition: border-radius 150ms ease;
|
|
3340
|
-
}
|
|
3341
|
-
`;
|
|
3342
|
-
const SliderWrapper = styled__default.div`
|
|
3343
|
-
position: absolute;
|
|
3344
|
-
top: 0;
|
|
3345
|
-
bottom: 0;
|
|
3346
|
-
left: 0;
|
|
3347
|
-
right: 0;
|
|
3348
|
-
|
|
3349
|
-
.slick-slider {
|
|
3350
|
-
position: absolute;
|
|
3351
|
-
top: 0;
|
|
3352
|
-
bottom: 0;
|
|
3353
|
-
left: 0;
|
|
3354
|
-
right: 0;
|
|
3355
|
-
}
|
|
3356
|
-
|
|
3357
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
3358
|
-
overflow: hidden;
|
|
3359
|
-
|
|
3360
|
-
.slick-list {
|
|
3361
|
-
overflow: visible;
|
|
3362
|
-
width: 95%;
|
|
3363
|
-
}
|
|
3364
|
-
|
|
3365
|
-
.slick-slide {
|
|
3366
|
-
border-right: ${size(1)} solid ${props => props.theme.color.bg};
|
|
3367
|
-
//transform: scale(0.95);
|
|
3368
|
-
transform-origin: 0 50%;
|
|
3369
|
-
transition: transform 150ms ease;
|
|
3370
|
-
}
|
|
3371
|
-
|
|
3372
|
-
.slick-slide.slick-active {
|
|
3373
|
-
transform: none;
|
|
3374
|
-
|
|
3375
|
-
${Item$7} {
|
|
3376
|
-
border-top-left-radius: 0;
|
|
3377
|
-
border-bottom-left-radius: 0;
|
|
3378
|
-
}
|
|
3379
|
-
}
|
|
3380
|
-
}
|
|
3381
|
-
`;
|
|
3382
|
-
const Image$1 = styled__default.img`
|
|
3383
|
-
display: block;
|
|
3384
|
-
position: absolute;
|
|
3385
|
-
left: 0;
|
|
3386
|
-
top: 0;
|
|
3387
|
-
right: 0;
|
|
3388
|
-
bottom: 0;
|
|
3389
|
-
margin: auto;
|
|
3390
|
-
max-width: 100%;
|
|
3391
|
-
max-height: 100%;
|
|
3392
|
-
object-fit: cover;
|
|
3393
|
-
cursor: pointer;
|
|
3394
|
-
`;
|
|
3395
|
-
const ImageFull = styled__default.img`
|
|
3396
|
-
display: block;
|
|
3397
|
-
position: absolute;
|
|
3398
|
-
top: 0;
|
|
3399
|
-
left: 0;
|
|
3400
|
-
width: 100%;
|
|
3401
|
-
height: 100%;
|
|
3402
|
-
object-fit: cover;
|
|
3403
|
-
`; // Arrow Nav
|
|
3404
|
-
|
|
3405
|
-
const Arrow = styled__default(ButtonReset)`
|
|
3406
|
-
position: absolute;
|
|
3407
|
-
top: 50%;
|
|
3408
|
-
transform: translateY(-50%);
|
|
3409
|
-
display: flex;
|
|
3410
|
-
align-items: center;
|
|
3411
|
-
justify-content: center;
|
|
3412
|
-
width: ${size(4)};
|
|
3413
|
-
height: ${size(4)};
|
|
3414
|
-
border-radius: 50%;
|
|
3415
|
-
font-size: 1rem;
|
|
3416
|
-
line-height: 1;
|
|
3417
|
-
background-color: rgba(255, 255, 255, 0.4);
|
|
3418
|
-
backdrop-filter: blur(5px);
|
|
3419
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
3420
|
-
color: ${props => props.theme.color.textDark};
|
|
3421
|
-
transform-origin: 50% 50%;
|
|
3422
|
-
transition: transform 200ms ease;
|
|
3423
|
-
|
|
3424
|
-
:before {
|
|
3425
|
-
content: '';
|
|
3426
|
-
position: absolute;
|
|
3427
|
-
top: 0;
|
|
3428
|
-
bottom: 0;
|
|
3429
|
-
left: 0;
|
|
3430
|
-
right: 0;
|
|
3431
|
-
border-radius: 50%;
|
|
3432
|
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
3433
|
-
opacity: 0;
|
|
3434
|
-
transition: opacity 200ms ease;
|
|
3435
|
-
}
|
|
3436
|
-
|
|
3437
|
-
:hover {
|
|
3438
|
-
:before {
|
|
3439
|
-
opacity: 1;
|
|
3440
|
-
}
|
|
3441
|
-
}
|
|
3442
|
-
|
|
3443
|
-
:active {
|
|
3444
|
-
transform: translateY(-50%) scale(0.95);
|
|
3445
|
-
}
|
|
3446
|
-
|
|
3447
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
3448
|
-
display: none;
|
|
3449
|
-
}
|
|
3450
|
-
`;
|
|
3451
|
-
const ArrowLeft = styled__default(Arrow)`
|
|
3452
|
-
left: ${size(2)};
|
|
3453
|
-
`;
|
|
3454
|
-
const ArrowRight = styled__default(Arrow)`
|
|
3455
|
-
right: ${size(2)};
|
|
3456
|
-
`; // Quick Nav
|
|
3457
|
-
|
|
3458
|
-
const QuickNav = styled__default.ul`
|
|
3459
|
-
position: relative;
|
|
3460
|
-
max-height: 100%;
|
|
3461
|
-
list-style: none;
|
|
3462
|
-
padding: 0;
|
|
3463
|
-
margin: 0;
|
|
3464
|
-
overflow: auto;
|
|
3465
|
-
-webkit-overflow-scrolling: touch;
|
|
3466
|
-
`;
|
|
2339
|
+
const Wrapper$g = styled__default.div.withConfig({
|
|
2340
|
+
displayName: "wrapper__Wrapper"
|
|
2341
|
+
})(["", "{", " &{margin-left:", ";margin-right:", ";}}", "{", " &{margin-left:", ";margin-right:", ";}}", "{position:relative;padding-right:", "px;}"], props => props.theme.breakpoint.LtMd, Wrapper, size(-3), size(-3), props => props.theme.breakpoint.LtSm, Wrapper, size(-2), size(-2), props => props.theme.breakpoint.Md, quickNavWidth);
|
|
2342
|
+
const Main = styled__default.div.withConfig({
|
|
2343
|
+
displayName: "wrapper__Main"
|
|
2344
|
+
})(["position:relative;height:0;padding-bottom:66.66666667%;", "{}.slick-slider,.slick-list,.slick-track,.slick-slide,.slick-slide > *{height:100%;}.slick-slide > *{font-size:0;> *{font-size:1rem;}}"], props => props.theme.breakpoint.Md);
|
|
2345
|
+
const Alt = styled__default.div.withConfig({
|
|
2346
|
+
displayName: "wrapper__Alt"
|
|
2347
|
+
})(["position:absolute;top:0;bottom:0;right:0;width:", "px;padding-left:", ";", "{display:none;}:after{content:'';position:absolute;bottom:0;left:0;right:0;height:", ";background-image:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));pointer-events:none;}"], quickNavWidth, size(1), props => props.theme.breakpoint.LtMd, size(2.5));
|
|
2348
|
+
const Item$7 = styled__default.div.withConfig({
|
|
2349
|
+
displayName: "wrapper__Item"
|
|
2350
|
+
})(["position:relative;width:100%;height:100%;overflow:hidden;:focus{outline:none;}", "{transition:border-radius 150ms ease;}"], props => props.theme.breakpoint.LtMd);
|
|
2351
|
+
const SliderWrapper = styled__default.div.withConfig({
|
|
2352
|
+
displayName: "wrapper__SliderWrapper"
|
|
2353
|
+
})(["position:absolute;top:0;bottom:0;left:0;right:0;.slick-slider{position:absolute;top:0;bottom:0;left:0;right:0;}", "{overflow:hidden;.slick-list{overflow:visible;width:95%;}.slick-slide{border-right:", " solid ", ";transform-origin:0 50%;transition:transform 150ms ease;}.slick-slide.slick-active{transform:none;", "{border-top-left-radius:0;border-bottom-left-radius:0;}}}"], props => props.theme.breakpoint.LtMd, size(1), props => props.theme.color.bg, Item$7);
|
|
2354
|
+
const Image$1 = styled__default.img.withConfig({
|
|
2355
|
+
displayName: "wrapper__Image"
|
|
2356
|
+
})(["display:block;position:absolute;left:0;top:0;right:0;bottom:0;margin:auto;max-width:100%;max-height:100%;object-fit:cover;cursor:pointer;"]);
|
|
2357
|
+
const ImageFull = styled__default.img.withConfig({
|
|
2358
|
+
displayName: "wrapper__ImageFull"
|
|
2359
|
+
})(["display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;"]); // Arrow Nav
|
|
2360
|
+
|
|
2361
|
+
const Arrow = styled__default(ButtonReset).withConfig({
|
|
2362
|
+
displayName: "wrapper__Arrow"
|
|
2363
|
+
})(["position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:", ";height:", ";border-radius:50%;font-size:1rem;line-height:1;background-color:rgba(255,255,255,0.4);backdrop-filter:blur(5px);box-shadow:0 2px 4px rgba(0,0,0,0.1);color:", ";transform-origin:50% 50%;transition:transform 200ms ease;:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:50%;box-shadow:0 4px 8px rgba(0,0,0,0.15);opacity:0;transition:opacity 200ms ease;}:hover{:before{opacity:1;}}:active{transform:translateY(-50%) scale(0.95);}", "{display:none;}"], size(4), size(4), props => props.theme.color.textDark, props => props.theme.breakpoint.LtSm);
|
|
2364
|
+
const ArrowLeft = styled__default(Arrow).withConfig({
|
|
2365
|
+
displayName: "wrapper__ArrowLeft"
|
|
2366
|
+
})(["left:", ";"], size(2));
|
|
2367
|
+
const ArrowRight = styled__default(Arrow).withConfig({
|
|
2368
|
+
displayName: "wrapper__ArrowRight"
|
|
2369
|
+
})(["right:", ";"], size(2)); // Quick Nav
|
|
2370
|
+
|
|
2371
|
+
const QuickNav = styled__default.ul.withConfig({
|
|
2372
|
+
displayName: "wrapper__QuickNav"
|
|
2373
|
+
})(["position:relative;max-height:100%;list-style:none;padding:0;margin:0;overflow:auto;-webkit-overflow-scrolling:touch;"]);
|
|
3467
2374
|
const QuickNavItem = styled__default.li.attrs(() => ({
|
|
3468
2375
|
className: 'wayke__theme wayke__color--primary-text'
|
|
3469
|
-
}))
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
& + & {
|
|
3473
|
-
margin-top: ${size(1)};
|
|
3474
|
-
}
|
|
3475
|
-
|
|
3476
|
-
${({
|
|
2376
|
+
})).withConfig({
|
|
2377
|
+
displayName: "wrapper__QuickNavItem"
|
|
2378
|
+
})(["position:relative;& + &{margin-top:", ";}", ""], size(1), ({
|
|
3477
2379
|
active
|
|
3478
|
-
}) => active && styled.css([":before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;border:3px solid currentColor;z-index:2;}"])
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
opacity: 0;
|
|
3498
|
-
z-index: 1;
|
|
3499
|
-
transition: opacity 150ms ease;
|
|
3500
|
-
}
|
|
3501
|
-
|
|
3502
|
-
:hover {
|
|
3503
|
-
:before {
|
|
3504
|
-
opacity: 1;
|
|
3505
|
-
}
|
|
3506
|
-
}
|
|
3507
|
-
|
|
3508
|
-
:active {
|
|
3509
|
-
transform: scale(0.95);
|
|
3510
|
-
}
|
|
3511
|
-
`;
|
|
3512
|
-
const QuickNavImg = styled__default.img`
|
|
3513
|
-
display: block;
|
|
3514
|
-
position: absolute;
|
|
3515
|
-
top: 0;
|
|
3516
|
-
left: 0;
|
|
3517
|
-
width: 100%;
|
|
3518
|
-
height: 100%;
|
|
3519
|
-
object-fit: cover;
|
|
3520
|
-
`; // Media Button
|
|
3521
|
-
|
|
3522
|
-
const MediaButtonWrapper = styled__default.div`
|
|
3523
|
-
position: absolute;
|
|
3524
|
-
bottom: ${size(2)};
|
|
3525
|
-
left: 50%;
|
|
3526
|
-
transform: translateX(-50%);
|
|
3527
|
-
z-index: 1;
|
|
3528
|
-
`; // Sphere Close Button
|
|
3529
|
-
|
|
3530
|
-
const EnableNavigationButton = styled__default.div`
|
|
3531
|
-
position: absolute;
|
|
3532
|
-
bottom: ${size(2)};
|
|
3533
|
-
left: 50%;
|
|
3534
|
-
transform: translateX(-50%);
|
|
3535
|
-
z-index: 1;
|
|
3536
|
-
`;
|
|
3537
|
-
|
|
3538
|
-
const Wrapper$h = styled__default.div`
|
|
3539
|
-
position: fixed;
|
|
3540
|
-
top: 0;
|
|
3541
|
-
bottom: 0;
|
|
3542
|
-
left: 0;
|
|
3543
|
-
right: 0;
|
|
3544
|
-
padding: ${size(3)};
|
|
3545
|
-
z-index: 90;
|
|
3546
|
-
overflow: auto;
|
|
3547
|
-
|
|
3548
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
3549
|
-
padding: ${size(2)};
|
|
3550
|
-
}
|
|
3551
|
-
`;
|
|
2380
|
+
}) => active && styled.css([":before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;border:3px solid currentColor;z-index:2;}"]));
|
|
2381
|
+
const QuickNavBtn = styled__default(ButtonReset).withConfig({
|
|
2382
|
+
displayName: "wrapper__QuickNavBtn"
|
|
2383
|
+
})(["position:relative;display:block;width:100%;height:0;padding-bottom:66.66666667%;transform-origin:50% 50%;transition:transform 300ms cubic-bezier(0.47,1.64,0.41,0.8);:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.15);opacity:0;z-index:1;transition:opacity 150ms ease;}:hover{:before{opacity:1;}}:active{transform:scale(0.95);}"]);
|
|
2384
|
+
const QuickNavImg = styled__default.img.withConfig({
|
|
2385
|
+
displayName: "wrapper__QuickNavImg"
|
|
2386
|
+
})(["display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;"]); // Media Button
|
|
2387
|
+
|
|
2388
|
+
const MediaButtonWrapper = styled__default.div.withConfig({
|
|
2389
|
+
displayName: "wrapper__MediaButtonWrapper"
|
|
2390
|
+
})(["position:absolute;bottom:", ";left:50%;transform:translateX(-50%);z-index:1;"], size(2)); // Sphere Close Button
|
|
2391
|
+
|
|
2392
|
+
const EnableNavigationButton = styled__default.div.withConfig({
|
|
2393
|
+
displayName: "wrapper__EnableNavigationButton"
|
|
2394
|
+
})(["position:absolute;bottom:", ";left:50%;transform:translateX(-50%);z-index:1;"], size(2));
|
|
2395
|
+
|
|
2396
|
+
const Wrapper$h = styled__default.div.withConfig({
|
|
2397
|
+
displayName: "wrapper__Wrapper"
|
|
2398
|
+
})(["position:fixed;top:0;bottom:0;left:0;right:0;padding:", ";z-index:90;overflow:auto;", "{padding:", ";}"], size(3), props => props.theme.breakpoint.LtSm, size(2));
|
|
3552
2399
|
const UiBlock$1 = styled__default.div.attrs(() => ({
|
|
3553
2400
|
role: 'button'
|
|
3554
|
-
}))
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
const
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
& + & {
|
|
3567
|
-
margin-top: ${size(1)};
|
|
3568
|
-
}
|
|
3569
|
-
`;
|
|
3570
|
-
const Img$1 = styled__default.img`
|
|
3571
|
-
position: relative;
|
|
3572
|
-
display: block;
|
|
3573
|
-
max-width: 100%;
|
|
3574
|
-
max-height: calc(100vh - ${size(6)});
|
|
3575
|
-
margin: 0 auto;
|
|
3576
|
-
z-index: 1;
|
|
3577
|
-
|
|
3578
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
3579
|
-
max-height: calc(100vh - ${size(4)});
|
|
3580
|
-
}
|
|
3581
|
-
`;
|
|
3582
|
-
const CloseBtn$1 = styled__default(ButtonReset)`
|
|
3583
|
-
display: flex;
|
|
3584
|
-
align-items: center;
|
|
3585
|
-
justify-content: center;
|
|
3586
|
-
position: fixed;
|
|
3587
|
-
top: ${size(2)};
|
|
3588
|
-
right: ${size(2)};
|
|
3589
|
-
width: ${size(5)};
|
|
3590
|
-
height: ${size(5)};
|
|
3591
|
-
border-radius: 50%;
|
|
3592
|
-
background-color: ${props => props.theme.color.bg};
|
|
3593
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
3594
|
-
transform-origin: 50% 50%;
|
|
3595
|
-
transition: 200ms ease, transform 300ms cubic-bezier(0.47, 1.64, 0.41, 0.8);
|
|
3596
|
-
z-index: 1;
|
|
3597
|
-
|
|
3598
|
-
:before {
|
|
3599
|
-
content: '';
|
|
3600
|
-
position: absolute;
|
|
3601
|
-
top: 0;
|
|
3602
|
-
left: 0;
|
|
3603
|
-
width: 100%;
|
|
3604
|
-
height: 100%;
|
|
3605
|
-
background-color: ${props => props.theme.color.hoverOverlay};
|
|
3606
|
-
border-radius: 50%;
|
|
3607
|
-
opacity: 0;
|
|
3608
|
-
transition: opacity 150ms ease;
|
|
3609
|
-
}
|
|
3610
|
-
|
|
3611
|
-
:hover {
|
|
3612
|
-
:before {
|
|
3613
|
-
opacity: 1;
|
|
3614
|
-
}
|
|
3615
|
-
}
|
|
3616
|
-
|
|
3617
|
-
:active {
|
|
3618
|
-
transform: scale(0.97);
|
|
3619
|
-
}
|
|
3620
|
-
|
|
3621
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
3622
|
-
top: ${size(1)};
|
|
3623
|
-
right: ${size(1)};
|
|
3624
|
-
}
|
|
3625
|
-
`;
|
|
2401
|
+
})).withConfig({
|
|
2402
|
+
displayName: "wrapper__UiBlock"
|
|
2403
|
+
})(["position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,0.3);z-index:-1;"]);
|
|
2404
|
+
const Item$8 = styled__default.div.withConfig({
|
|
2405
|
+
displayName: "wrapper__Item"
|
|
2406
|
+
})(["position:relative;& + &{margin-top:", ";}"], size(1));
|
|
2407
|
+
const Img$1 = styled__default.img.withConfig({
|
|
2408
|
+
displayName: "wrapper__Img"
|
|
2409
|
+
})(["position:relative;display:block;max-width:100%;max-height:calc(100vh - ", ");margin:0 auto;z-index:1;", "{max-height:calc(100vh - ", ");}"], size(6), props => props.theme.breakpoint.LtSm, size(4));
|
|
2410
|
+
const CloseBtn$1 = styled__default(ButtonReset).withConfig({
|
|
2411
|
+
displayName: "wrapper__CloseBtn"
|
|
2412
|
+
})(["display:flex;align-items:center;justify-content:center;position:fixed;top:", ";right:", ";width:", ";height:", ";border-radius:50%;background-color:", ";box-shadow:0 2px 4px rgba(0,0,0,0.1);transform-origin:50% 50%;transition:200ms ease,transform 300ms cubic-bezier(0.47,1.64,0.41,0.8);z-index:1;:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:", ";border-radius:50%;opacity:0;transition:opacity 150ms ease;}:hover{:before{opacity:1;}}:active{transform:scale(0.97);}", "{top:", ";right:", ";}"], size(2), size(2), size(5), size(5), props => props.theme.color.bg, props => props.theme.color.hoverOverlay, props => props.theme.breakpoint.LtSm, size(1), size(1));
|
|
3626
2413
|
|
|
3627
2414
|
const getVimeoId = url => {
|
|
3628
2415
|
const regExp = /\/(\d+)/;
|
|
@@ -3659,24 +2446,17 @@ const onImageError = (e, thumbnail) => {
|
|
|
3659
2446
|
}
|
|
3660
2447
|
};
|
|
3661
2448
|
|
|
3662
|
-
const Wrapper$i = styled__default.div
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
height: ${props => props.isPreview ? '100%' : 0};
|
|
3666
|
-
padding-bottom: ${props => props.ratio ? props.ratio : '56.25%'};
|
|
3667
|
-
`;
|
|
2449
|
+
const Wrapper$i = styled__default.div.withConfig({
|
|
2450
|
+
displayName: "wrapper__Wrapper"
|
|
2451
|
+
})(["position:relative;width:100%;height:", ";padding-bottom:", ";"], props => props.isPreview ? '100%' : 0, props => props.ratio ? props.ratio : '56.25%');
|
|
3668
2452
|
const Iframe = styled__default.iframe.attrs(() => ({
|
|
3669
2453
|
width: '100%',
|
|
3670
2454
|
height: '100%',
|
|
3671
2455
|
allowFullScreen: true,
|
|
3672
2456
|
frameBorder: '0'
|
|
3673
|
-
}))
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
left: 0;
|
|
3677
|
-
width: 100%;
|
|
3678
|
-
height: 100%;
|
|
3679
|
-
`;
|
|
2457
|
+
})).withConfig({
|
|
2458
|
+
displayName: "wrapper__Iframe"
|
|
2459
|
+
})(["position:absolute;top:0;left:0;width:100%;height:100%;"]);
|
|
3680
2460
|
|
|
3681
2461
|
const YouTubePlayer = ({
|
|
3682
2462
|
url,
|
|
@@ -3692,14 +2472,11 @@ const VimeoPlayer = ({
|
|
|
3692
2472
|
src: `https://player.vimeo.com/video/${getVimeoId(url)}?${autoplay ? '&autoplay=1' : ''}&loop=0&autopause=0`
|
|
3693
2473
|
}));
|
|
3694
2474
|
|
|
3695
|
-
const Video = styled__default.video
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
left: 0;
|
|
3699
|
-
object-fit: ${({
|
|
2475
|
+
const Video = styled__default.video.withConfig({
|
|
2476
|
+
displayName: "Video"
|
|
2477
|
+
})(["position:absolute;top:0;left:0;object-fit:", ";"], ({
|
|
3700
2478
|
modal
|
|
3701
|
-
}) => modal ? 'contain' : 'cover'
|
|
3702
|
-
`;
|
|
2479
|
+
}) => modal ? 'contain' : 'cover');
|
|
3703
2480
|
|
|
3704
2481
|
const CustomPlayer = ({
|
|
3705
2482
|
url,
|
|
@@ -3748,257 +2525,14 @@ const VideoPlayer = ({
|
|
|
3748
2525
|
ratio: "56.25%",
|
|
3749
2526
|
controls: controls,
|
|
3750
2527
|
url: url
|
|
3751
|
-
});
|
|
3752
|
-
};
|
|
3753
|
-
|
|
3754
|
-
const compassSize = size(4);
|
|
3755
|
-
const controlBtnSize = size(4);
|
|
3756
|
-
const Wrapper$j = styled__default.div`
|
|
3757
|
-
width: 100%;
|
|
3758
|
-
height: 0 !important;
|
|
3759
|
-
padding-bottom: 66.666% !important; // 3:2
|
|
3760
|
-
|
|
3761
|
-
.pnlm-container {
|
|
3762
|
-
background-image: none;
|
|
3763
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
3764
|
-
}
|
|
3765
|
-
|
|
3766
|
-
// Compass
|
|
3767
|
-
|
|
3768
|
-
.pnlm-compass {
|
|
3769
|
-
width: ${compassSize};
|
|
3770
|
-
height: ${compassSize};
|
|
3771
|
-
border-radius: 50%;
|
|
3772
|
-
bottom: ${size(2)};
|
|
3773
|
-
left: ${size(2)};
|
|
3774
|
-
right: auto;
|
|
3775
|
-
margin-top: 0;
|
|
3776
|
-
border: 5px solid transparent;
|
|
3777
|
-
border-top-color: ${props => props.theme.color.textLight};
|
|
3778
|
-
background-color: rgba(255, 255, 255, 0.4);
|
|
3779
|
-
background-image: none;
|
|
3780
|
-
backdrop-filter: blur(5px);
|
|
3781
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
3782
|
-
box-sizing: border-box;
|
|
3783
|
-
|
|
3784
|
-
&:hover {
|
|
3785
|
-
background-color: red;
|
|
3786
|
-
}
|
|
3787
|
-
}
|
|
3788
|
-
|
|
3789
|
-
// Controls (zoom & fullscreen button)
|
|
3790
|
-
|
|
3791
|
-
.pnlm-grab,
|
|
3792
|
-
.pnlm-grabbing {
|
|
3793
|
-
.pnlm-controls-container {
|
|
3794
|
-
display: block;
|
|
3795
|
-
}
|
|
3796
|
-
}
|
|
3797
|
-
|
|
3798
|
-
.pnlm-controls-container {
|
|
3799
|
-
display: none;
|
|
3800
|
-
top: ${size(2)};
|
|
3801
|
-
left: ${size(2)};
|
|
3802
|
-
}
|
|
3803
|
-
|
|
3804
|
-
.pnlm-controls {
|
|
3805
|
-
margin-top: 0;
|
|
3806
|
-
|
|
3807
|
-
& + .pnlm-controls {
|
|
3808
|
-
margin-top: ${size(1)};
|
|
3809
|
-
}
|
|
3810
|
-
}
|
|
3811
|
-
|
|
3812
|
-
// Fullscreen button
|
|
3813
|
-
|
|
3814
|
-
.pnlm-fullscreen-toggle-button {
|
|
3815
|
-
display: none;
|
|
3816
|
-
position: relative;
|
|
3817
|
-
width: ${controlBtnSize};
|
|
3818
|
-
height: ${controlBtnSize};
|
|
3819
|
-
background-image: none;
|
|
3820
|
-
background-color: rgba(255, 255, 255, 0.4);
|
|
3821
|
-
backdrop-filter: blur(5px);
|
|
3822
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
3823
|
-
color: ${props => props.theme.color.textDark};
|
|
3824
|
-
border: 0;
|
|
3825
|
-
border-radius: 50%;
|
|
3826
|
-
|
|
3827
|
-
&:hover {
|
|
3828
|
-
background-color: rgba(255, 255, 255, 0.6);
|
|
3829
|
-
}
|
|
3830
|
-
|
|
3831
|
-
&:before {
|
|
3832
|
-
position: absolute;
|
|
3833
|
-
top: 50%;
|
|
3834
|
-
left: 50%;
|
|
3835
|
-
transform: translate(-50%, -50%);
|
|
3836
|
-
font-size: 0.875rem;
|
|
3837
|
-
}
|
|
3838
|
-
}
|
|
3839
|
-
|
|
3840
|
-
.pnlm-fullscreen-toggle-button-inactive {
|
|
3841
|
-
&:before {
|
|
3842
|
-
content: '⤢';
|
|
3843
|
-
}
|
|
3844
|
-
|
|
3845
|
-
&.pnlm-fullscreen-toggle-button-active {
|
|
3846
|
-
&:before {
|
|
3847
|
-
content: '⤢';
|
|
3848
|
-
}
|
|
3849
|
-
}
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3852
|
-
// Gyroscope (Orientation)
|
|
3853
|
-
|
|
3854
|
-
.pnlm-orientation-button {
|
|
3855
|
-
background-image: none;
|
|
3856
|
-
width: ${controlBtnSize};
|
|
3857
|
-
height: ${controlBtnSize};
|
|
3858
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
3859
|
-
color: ${props => props.theme.color.textDark};
|
|
3860
|
-
border: 0;
|
|
3861
|
-
border-radius: 999px;
|
|
3862
|
-
|
|
3863
|
-
&:hover {
|
|
3864
|
-
background-color: red;
|
|
3865
|
-
}
|
|
3866
|
-
|
|
3867
|
-
&:before {
|
|
3868
|
-
content: 'A';
|
|
3869
|
-
position: absolute;
|
|
3870
|
-
top: 50%;
|
|
3871
|
-
left: 50%;
|
|
3872
|
-
transform: translate(-50%, -50%);
|
|
3873
|
-
font-size: 0.875rem;
|
|
3874
|
-
}
|
|
3875
|
-
|
|
3876
|
-
&.pnlm-orientation-button-active {
|
|
3877
|
-
background-color: green;
|
|
3878
|
-
|
|
3879
|
-
&:hover {
|
|
3880
|
-
background-color: pink;
|
|
3881
|
-
}
|
|
3882
|
-
}
|
|
3883
|
-
}
|
|
3884
|
-
|
|
3885
|
-
// Zoom controls
|
|
3886
|
-
|
|
3887
|
-
.pnlm-zoom-controls {
|
|
3888
|
-
display: none;
|
|
3889
|
-
height: auto;
|
|
3890
|
-
width: auto;
|
|
3891
|
-
background-color: transparent;
|
|
3892
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
3893
|
-
border: 0;
|
|
3894
|
-
border-radius: 999px;
|
|
3895
|
-
|
|
3896
|
-
> * {
|
|
3897
|
-
&:first-child {
|
|
3898
|
-
border-top-left-radius: 999px;
|
|
3899
|
-
border-top-right-radius: 999px;
|
|
3900
|
-
}
|
|
3901
|
-
|
|
3902
|
-
&:last-child {
|
|
3903
|
-
border-bottom-left-radius: 999px;
|
|
3904
|
-
border-bottom-right-radius: 999px;
|
|
3905
|
-
}
|
|
3906
|
-
}
|
|
3907
|
-
}
|
|
3908
|
-
|
|
3909
|
-
.pnlm-zoom-in,
|
|
3910
|
-
.pnlm-zoom-out {
|
|
3911
|
-
position: relative;
|
|
3912
|
-
display: block;
|
|
3913
|
-
width: ${controlBtnSize};
|
|
3914
|
-
height: ${controlBtnSize};
|
|
3915
|
-
background-image: none;
|
|
3916
|
-
background-color: rgba(255, 255, 255, 0.4);
|
|
3917
|
-
backdrop-filter: blur(5px);
|
|
3918
|
-
color: ${props => props.theme.color.textDark};
|
|
3919
|
-
border-radius: 0;
|
|
3920
|
-
|
|
3921
|
-
&:before {
|
|
3922
|
-
position: absolute;
|
|
3923
|
-
top: 50%;
|
|
3924
|
-
left: 50%;
|
|
3925
|
-
transform: translate(-50%, -50%);
|
|
3926
|
-
}
|
|
3927
|
-
|
|
3928
|
-
&:hover {
|
|
3929
|
-
background-color: rgba(255, 255, 255, 0.6);
|
|
3930
|
-
}
|
|
3931
|
-
}
|
|
3932
|
-
|
|
3933
|
-
.pnlm-zoom-in {
|
|
3934
|
-
top: auto;
|
|
3935
|
-
|
|
3936
|
-
&:before {
|
|
3937
|
-
content: '+';
|
|
3938
|
-
}
|
|
3939
|
-
}
|
|
3940
|
-
|
|
3941
|
-
.pnlm-zoom-out {
|
|
3942
|
-
bottom: auto;
|
|
3943
|
-
border-top: 1px solid ${props => props.theme.color.textDark};
|
|
3944
|
-
|
|
3945
|
-
&:before {
|
|
3946
|
-
content: '-';
|
|
3947
|
-
}
|
|
3948
|
-
}
|
|
3949
|
-
|
|
3950
|
-
// Load Button
|
|
3951
|
-
|
|
3952
|
-
.pnlm-load-button {
|
|
3953
|
-
top: auto;
|
|
3954
|
-
bottom: ${size(2)};
|
|
3955
|
-
transform: translateX(-50%);
|
|
3956
|
-
width: auto;
|
|
3957
|
-
height: auto;
|
|
3958
|
-
padding: ${size(1.75)} ${size(2)};
|
|
3959
|
-
border-radius: 3px;
|
|
3960
|
-
margin: 0;
|
|
3961
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
3962
|
-
color: ${props => props.theme.color.textDark};
|
|
3963
|
-
line-height: 1.1;
|
|
3964
|
-
user-select: none;
|
|
3965
|
-
|
|
3966
|
-
&:hover {
|
|
3967
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
3968
|
-
}
|
|
3969
|
-
|
|
3970
|
-
p {
|
|
3971
|
-
margin: 0;
|
|
3972
|
-
font-size: 0.875rem;
|
|
3973
|
-
}
|
|
3974
|
-
}
|
|
3975
|
-
|
|
3976
|
-
// Load box
|
|
3977
|
-
|
|
3978
|
-
.pnlm-load-box {
|
|
3979
|
-
background-color: transparent;
|
|
3980
|
-
height: auto;
|
|
3981
|
-
margin: 0;
|
|
3982
|
-
width: 150px;
|
|
3983
|
-
transform: translate(-50%, -50%);
|
|
3984
|
-
|
|
3985
|
-
> p {
|
|
3986
|
-
display: none;
|
|
3987
|
-
}
|
|
3988
|
-
}
|
|
3989
|
-
|
|
3990
|
-
// Load bar
|
|
3991
|
-
|
|
3992
|
-
.pnlm-lbar {
|
|
3993
|
-
width: 100%;
|
|
3994
|
-
background-color: rgba(255, 255, 255, 0.4);
|
|
3995
|
-
border: 0;
|
|
3996
|
-
}
|
|
2528
|
+
});
|
|
2529
|
+
};
|
|
3997
2530
|
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
2531
|
+
const compassSize = size(4);
|
|
2532
|
+
const controlBtnSize = size(4);
|
|
2533
|
+
const Wrapper$j = styled__default.div.withConfig({
|
|
2534
|
+
displayName: "wrapper__Wrapper"
|
|
2535
|
+
})(["width:100%;height:0 !important;padding-bottom:66.666% !important;.pnlm-container{background-image:none;background-color:", ";}.pnlm-compass{width:", ";height:", ";border-radius:50%;bottom:", ";left:", ";right:auto;margin-top:0;border:5px solid transparent;border-top-color:", ";background-color:rgba(255,255,255,0.4);background-image:none;backdrop-filter:blur(5px);box-shadow:0 2px 4px rgba(0,0,0,0.1);box-sizing:border-box;&:hover{background-color:red;}}.pnlm-grab,.pnlm-grabbing{.pnlm-controls-container{display:block;}}.pnlm-controls-container{display:none;top:", ";left:", ";}.pnlm-controls{margin-top:0;& + .pnlm-controls{margin-top:", ";}}.pnlm-fullscreen-toggle-button{display:none;position:relative;width:", ";height:", ";background-image:none;background-color:rgba(255,255,255,0.4);backdrop-filter:blur(5px);box-shadow:0 2px 4px rgba(0,0,0,0.1);color:", ";border:0;border-radius:50%;&:hover{background-color:rgba(255,255,255,0.6);}&:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:0.875rem;}}.pnlm-fullscreen-toggle-button-inactive{&:before{content:'\u2922';}&.pnlm-fullscreen-toggle-button-active{&:before{content:'\u2922';}}}.pnlm-orientation-button{background-image:none;width:", ";height:", ";background-color:", ";color:", ";border:0;border-radius:999px;&:hover{background-color:red;}&:before{content:'A';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:0.875rem;}&.pnlm-orientation-button-active{background-color:green;&:hover{background-color:pink;}}}.pnlm-zoom-controls{display:none;height:auto;width:auto;background-color:transparent;box-shadow:0 2px 4px rgba(0,0,0,0.1);border:0;border-radius:999px;> *{&:first-child{border-top-left-radius:999px;border-top-right-radius:999px;}&:last-child{border-bottom-left-radius:999px;border-bottom-right-radius:999px;}}}.pnlm-zoom-in,.pnlm-zoom-out{position:relative;display:block;width:", ";height:", ";background-image:none;background-color:rgba(255,255,255,0.4);backdrop-filter:blur(5px);color:", ";border-radius:0;&:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}&:hover{background-color:rgba(255,255,255,0.6);}}.pnlm-zoom-in{top:auto;&:before{content:'+';}}.pnlm-zoom-out{bottom:auto;border-top:1px solid ", ";&:before{content:'-';}}.pnlm-load-button{top:auto;bottom:", ";transform:translateX(-50%);width:auto;height:auto;padding:", " ", ";border-radius:3px;margin:0;background-color:", ";color:", ";line-height:1.1;user-select:none;&:hover{background-color:", ";}p{margin:0;font-size:0.875rem;}}.pnlm-load-box{background-color:transparent;height:auto;margin:0;width:150px;transform:translate(-50%,-50%);> p{display:none;}}.pnlm-lbar{width:100%;background-color:rgba(255,255,255,0.4);border:0;}.pnlm-lbar-fill{background-color:", ";}"], props => props.theme.color.accentDark, compassSize, compassSize, size(2), size(2), props => props.theme.color.textLight, size(2), size(2), size(1), controlBtnSize, controlBtnSize, props => props.theme.color.textDark, controlBtnSize, controlBtnSize, props => props.theme.color.accentDark, props => props.theme.color.textDark, controlBtnSize, controlBtnSize, props => props.theme.color.textDark, props => props.theme.color.textDark, size(2), size(1.75), size(2), props => props.theme.color.accentDark, props => props.theme.color.textDark, props => props.theme.color.accentDark, props => props.theme.color.textLight);
|
|
4002
2536
|
|
|
4003
2537
|
const ReactPannellum = React.lazy(() => Promise.resolve().then(() => require('react-pannellum')));
|
|
4004
2538
|
const config = {
|
|
@@ -4400,112 +2934,47 @@ const useThumbnail = (url, small) => {
|
|
|
4400
2934
|
|
|
4401
2935
|
const Wrapper$k = styled__default.div.attrs(() => ({
|
|
4402
2936
|
role: 'dialog'
|
|
4403
|
-
}))
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
bottom: 0;
|
|
4407
|
-
left: 0;
|
|
4408
|
-
right: 0;
|
|
4409
|
-
width: 100%;
|
|
4410
|
-
white-space: normal;
|
|
4411
|
-
text-align: left;
|
|
4412
|
-
z-index: 90;
|
|
4413
|
-
display: flex;
|
|
4414
|
-
align-items: center;
|
|
4415
|
-
justify-content: center;
|
|
4416
|
-
|
|
4417
|
-
${props => props.theme.breakpoint.Sm} {
|
|
4418
|
-
padding: ${size(2)};
|
|
4419
|
-
}
|
|
4420
|
-
`;
|
|
2937
|
+
})).withConfig({
|
|
2938
|
+
displayName: "wrapper__Wrapper"
|
|
2939
|
+
})(["position:fixed;top:0;bottom:0;left:0;right:0;width:100%;white-space:normal;text-align:left;z-index:90;display:flex;align-items:center;justify-content:center;", "{padding:", ";}"], props => props.theme.breakpoint.Sm, size(2));
|
|
4421
2940
|
const UiBlock$2 = styled__default.div.attrs(() => ({
|
|
4422
2941
|
'aria-hidden': 'true',
|
|
4423
2942
|
role: 'button'
|
|
4424
|
-
}))
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
bottom: 0;
|
|
4428
|
-
left: 0;
|
|
4429
|
-
right: 0;
|
|
4430
|
-
background-color: rgba(0, 0, 0, 0.35);
|
|
4431
|
-
z-index: -1;
|
|
4432
|
-
|
|
4433
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
4434
|
-
animation: ${fadeIn} 300ms ease forwards;
|
|
4435
|
-
}
|
|
4436
|
-
|
|
4437
|
-
${props => props.theme.breakpoint.Md} {
|
|
4438
|
-
animation: ${fadeIn} 400ms ease forwards;
|
|
4439
|
-
}
|
|
4440
|
-
`;
|
|
2943
|
+
})).withConfig({
|
|
2944
|
+
displayName: "wrapper__UiBlock"
|
|
2945
|
+
})(["position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,0.35);z-index:-1;", "{animation:", " 300ms ease forwards;}", "{animation:", " 400ms ease forwards;}"], props => props.theme.breakpoint.LtMd, fadeIn, props => props.theme.breakpoint.Md, fadeIn);
|
|
4441
2946
|
const Dialog = styled__default.article.attrs(() => ({
|
|
4442
2947
|
className: 'wayke__theme wayke__font--regular'
|
|
4443
|
-
}))
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
const
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
min-height: 60px;
|
|
4474
|
-
padding: ${size(3)};
|
|
4475
|
-
padding-bottom: 0;
|
|
4476
|
-
`;
|
|
4477
|
-
const Heading$4 = styled__default.div`
|
|
4478
|
-
flex: 1 1 auto;
|
|
4479
|
-
|
|
4480
|
-
${H1} {
|
|
4481
|
-
font-size: 1.5rem;
|
|
4482
|
-
}
|
|
4483
|
-
`;
|
|
4484
|
-
const Close$1 = styled__default.div`
|
|
4485
|
-
flex-shrink: 0;
|
|
4486
|
-
margin: ${size(-2)};
|
|
4487
|
-
padding-left: ${size(3)};
|
|
4488
|
-
`;
|
|
4489
|
-
const CloseBtn$2 = styled__default(ButtonReset)`
|
|
4490
|
-
display: block;
|
|
4491
|
-
padding: ${size(2)};
|
|
4492
|
-
`;
|
|
4493
|
-
const Body$3 = styled__default.div`
|
|
4494
|
-
padding: ${size(3)};
|
|
4495
|
-
`;
|
|
4496
|
-
const Image$2 = styled__default.img`
|
|
4497
|
-
display: block;
|
|
4498
|
-
width: calc(100% + ${size(6)});
|
|
4499
|
-
margin-left: ${size(-3)};
|
|
4500
|
-
margin-bottom: ${size(3)};
|
|
4501
|
-
`;
|
|
4502
|
-
const ModalFoldout = styled__default.div`
|
|
4503
|
-
background-color: ${props => props.theme.color.accent};
|
|
4504
|
-
margin: ${size(-3)};
|
|
4505
|
-
margin-top: ${size(3)};
|
|
4506
|
-
padding: ${size(3)};
|
|
4507
|
-
`;
|
|
4508
|
-
const ModalFoldoutBody = styled__default.div``;
|
|
2948
|
+
})).withConfig({
|
|
2949
|
+
displayName: "wrapper__Dialog"
|
|
2950
|
+
})(["display:flex;flex-direction:column;background-color:", ";z-index:1;width:100%;max-width:680px;max-height:100%;box-shadow:0 4px 8px rgba(0,0,0,0.05);overflow:hidden;", "{align-self:flex-end;transform:translateY(100%);animation:", " 300ms ease forwards;}", "{transform:translateY(", ");animation:", " 400ms ease,", " 400ms ease forwards;}"], props => props.theme.color.bg, props => props.theme.breakpoint.LtSm, noTransform, props => props.theme.breakpoint.Sm, size(2), fadeIn, noTransform);
|
|
2951
|
+
const Content$3 = styled__default.div.withConfig({
|
|
2952
|
+
displayName: "wrapper__Content"
|
|
2953
|
+
})(["flex:1 1 auto;overflow:auto;-webkit-overflow-scrolling:touch;"]);
|
|
2954
|
+
const Header$3 = styled__default.header.withConfig({
|
|
2955
|
+
displayName: "wrapper__Header"
|
|
2956
|
+
})(["display:flex;align-items:center;min-height:60px;padding:", ";padding-bottom:0;"], size(3));
|
|
2957
|
+
const Heading$4 = styled__default.div.withConfig({
|
|
2958
|
+
displayName: "wrapper__Heading"
|
|
2959
|
+
})(["flex:1 1 auto;", "{font-size:1.5rem;}"], H1);
|
|
2960
|
+
const Close$1 = styled__default.div.withConfig({
|
|
2961
|
+
displayName: "wrapper__Close"
|
|
2962
|
+
})(["flex-shrink:0;margin:", ";padding-left:", ";"], size(-2), size(3));
|
|
2963
|
+
const CloseBtn$2 = styled__default(ButtonReset).withConfig({
|
|
2964
|
+
displayName: "wrapper__CloseBtn"
|
|
2965
|
+
})(["display:block;padding:", ";"], size(2));
|
|
2966
|
+
const Body$3 = styled__default.div.withConfig({
|
|
2967
|
+
displayName: "wrapper__Body"
|
|
2968
|
+
})(["padding:", ";"], size(3));
|
|
2969
|
+
const Image$2 = styled__default.img.withConfig({
|
|
2970
|
+
displayName: "wrapper__Image"
|
|
2971
|
+
})(["display:block;width:calc(100% + ", ");margin-left:", ";margin-bottom:", ";"], size(6), size(-3), size(3));
|
|
2972
|
+
const ModalFoldout = styled__default.div.withConfig({
|
|
2973
|
+
displayName: "wrapper__ModalFoldout"
|
|
2974
|
+
})(["background-color:", ";margin:", ";margin-top:", ";padding:", ";"], props => props.theme.color.accent, size(-3), size(3), size(3));
|
|
2975
|
+
const ModalFoldoutBody = styled__default.div.withConfig({
|
|
2976
|
+
displayName: "wrapper__ModalFoldoutBody"
|
|
2977
|
+
})([""]);
|
|
4509
2978
|
|
|
4510
2979
|
const Modal = ({
|
|
4511
2980
|
id,
|
|
@@ -4775,7 +3244,7 @@ const Gallery = ({
|
|
|
4775
3244
|
onMouseDown: onMouseDown,
|
|
4776
3245
|
onMouseMove: onMouseMove,
|
|
4777
3246
|
onClick: onClick
|
|
4778
|
-
}, React__default.createElement(Slider$1,
|
|
3247
|
+
}, React__default.createElement(Slider$1, _objectSpread2(_objectSpread2({}, sliderSettings), {}, {
|
|
4779
3248
|
swipe: !navigationDisabled,
|
|
4780
3249
|
touchMove: !navigationDisabled,
|
|
4781
3250
|
swipeToSlide: !navigationDisabled,
|
|
@@ -4863,88 +3332,24 @@ const Gallery = ({
|
|
|
4863
3332
|
}));
|
|
4864
3333
|
};
|
|
4865
3334
|
|
|
4866
|
-
const ProductPage = styled__default.div
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
`;
|
|
4885
|
-
const ProductPageMain = styled__default.div`
|
|
4886
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
4887
|
-
display: contents;
|
|
4888
|
-
}
|
|
4889
|
-
|
|
4890
|
-
${props => props.theme.breakpoint.Md} {
|
|
4891
|
-
flex: 1 1 100%;
|
|
4892
|
-
min-width: 0;
|
|
4893
|
-
padding-left: ${size(2)};
|
|
4894
|
-
}
|
|
4895
|
-
`;
|
|
4896
|
-
const ProductPageAsideSection = styled__default.div`
|
|
4897
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
4898
|
-
order: ${props => props.mobileOrder};
|
|
4899
|
-
|
|
4900
|
-
& + & {
|
|
4901
|
-
margin-top: ${size(2)};
|
|
4902
|
-
}
|
|
4903
|
-
|
|
4904
|
-
:last-child {
|
|
4905
|
-
margin-bottom: ${size(4)};
|
|
4906
|
-
}
|
|
4907
|
-
|
|
4908
|
-
${ProductPageMain} & {
|
|
4909
|
-
margin-top: ${size(2)};
|
|
4910
|
-
}
|
|
4911
|
-
}
|
|
4912
|
-
|
|
4913
|
-
${props => props.theme.breakpoint.Md} {
|
|
4914
|
-
& + & {
|
|
4915
|
-
margin-top: ${size(4)};
|
|
4916
|
-
}
|
|
4917
|
-
|
|
4918
|
-
${ProductPageMain} & {
|
|
4919
|
-
margin-bottom: ${size(8)};
|
|
4920
|
-
}
|
|
4921
|
-
}
|
|
4922
|
-
`;
|
|
4923
|
-
const ProductPageMainSection = styled__default.div`
|
|
4924
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
4925
|
-
order: 99;
|
|
4926
|
-
padding: ${size(4)} 0;
|
|
4927
|
-
border-top: ${size(1)} solid ${props => props.theme.color.accent};
|
|
4928
|
-
|
|
4929
|
-
${Wrapper} & {
|
|
4930
|
-
margin-left: ${size(-2)};
|
|
4931
|
-
margin-right: ${size(-2)};
|
|
4932
|
-
padding-left: ${size(2)};
|
|
4933
|
-
padding-right: ${size(2)};
|
|
4934
|
-
}
|
|
4935
|
-
}
|
|
4936
|
-
|
|
4937
|
-
${props => props.theme.breakpoint.Md} {
|
|
4938
|
-
& + & {
|
|
4939
|
-
margin-top: ${size(8)};
|
|
4940
|
-
padding-top: ${size(8)};
|
|
4941
|
-
border-top: 1px solid ${props => props.theme.color.border};
|
|
4942
|
-
}
|
|
4943
|
-
}
|
|
4944
|
-
`;
|
|
4945
|
-
const ProductPageContentLimit = styled__default.div`
|
|
4946
|
-
max-width: 420px;
|
|
4947
|
-
`;
|
|
3335
|
+
const ProductPage = styled__default.div.withConfig({
|
|
3336
|
+
displayName: "ProductPage"
|
|
3337
|
+
})(["display:flex;flex-direction:column;", "{flex-direction:row;}"], props => props.theme.breakpoint.Md);
|
|
3338
|
+
const ProductPageAside = styled__default.div.withConfig({
|
|
3339
|
+
displayName: "ProductPage__ProductPageAside"
|
|
3340
|
+
})(["", "{display:contents;}", "{flex-shrink:0;width:calc(375px + ", ");padding-right:", ";}"], props => props.theme.breakpoint.LtMd, props => props.theme.breakpoint.Md, size(2), size(2));
|
|
3341
|
+
const ProductPageMain = styled__default.div.withConfig({
|
|
3342
|
+
displayName: "ProductPage__ProductPageMain"
|
|
3343
|
+
})(["", "{display:contents;}", "{flex:1 1 100%;min-width:0;padding-left:", ";}"], props => props.theme.breakpoint.LtMd, props => props.theme.breakpoint.Md, size(2));
|
|
3344
|
+
const ProductPageAsideSection = styled__default.div.withConfig({
|
|
3345
|
+
displayName: "ProductPage__ProductPageAsideSection"
|
|
3346
|
+
})(["", "{order:", ";& + &{margin-top:", ";}:last-child{margin-bottom:", ";}", " &{margin-top:", ";}}", "{& + &{margin-top:", ";}", " &{margin-bottom:", ";}}"], props => props.theme.breakpoint.LtMd, props => props.mobileOrder, size(2), size(4), ProductPageMain, size(2), props => props.theme.breakpoint.Md, size(4), ProductPageMain, size(8));
|
|
3347
|
+
const ProductPageMainSection = styled__default.div.withConfig({
|
|
3348
|
+
displayName: "ProductPage__ProductPageMainSection"
|
|
3349
|
+
})(["", "{order:99;padding:", " 0;border-top:", " solid ", ";", " &{margin-left:", ";margin-right:", ";padding-left:", ";padding-right:", ";}}", "{& + &{margin-top:", ";padding-top:", ";border-top:1px solid ", ";}}"], props => props.theme.breakpoint.LtMd, size(4), size(1), props => props.theme.color.accent, Wrapper, size(-2), size(-2), size(2), size(2), props => props.theme.breakpoint.Md, size(8), size(8), props => props.theme.color.border);
|
|
3350
|
+
const ProductPageContentLimit = styled__default.div.withConfig({
|
|
3351
|
+
displayName: "ProductPage__ProductPageContentLimit"
|
|
3352
|
+
})(["max-width:420px;"]);
|
|
4948
3353
|
|
|
4949
3354
|
const FinancialOptionDetail = client.gql`
|
|
4950
3355
|
fragment FinancialOptionDetail on FinancialOptionDetail {
|
|
@@ -4965,6 +3370,7 @@ const SEARCH_ITEM_QUERY = client.gql`
|
|
|
4965
3370
|
query SearchItem($id: ID!) {
|
|
4966
3371
|
vehicle(id: $id) {
|
|
4967
3372
|
id
|
|
3373
|
+
documents
|
|
4968
3374
|
contact {
|
|
4969
3375
|
name
|
|
4970
3376
|
email
|
|
@@ -5177,53 +3583,26 @@ const useSearchItem = id => client.useQuery(SEARCH_ITEM_QUERY, {
|
|
|
5177
3583
|
skip: !id
|
|
5178
3584
|
});
|
|
5179
3585
|
|
|
5180
|
-
const Wrapper$l = styled__default.div
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
position: relative;
|
|
5193
|
-
flex-shrink: 0;
|
|
5194
|
-
margin-right: ${size(1)};
|
|
5195
|
-
width: ${size(9.5)};
|
|
5196
|
-
height: ${size(6)};
|
|
5197
|
-
`;
|
|
5198
|
-
const LogoImg = styled__default.img`
|
|
5199
|
-
display: block;
|
|
5200
|
-
position: absolute;
|
|
5201
|
-
left: 0;
|
|
5202
|
-
top: 0;
|
|
5203
|
-
right: auto;
|
|
5204
|
-
bottom: 0;
|
|
5205
|
-
margin: auto;
|
|
5206
|
-
max-width: 100%;
|
|
5207
|
-
max-height: 100%;
|
|
5208
|
-
`;
|
|
5209
|
-
const Content$4 = styled__default.div`
|
|
5210
|
-
flex: 1 1 auto;
|
|
5211
|
-
text-align: right;
|
|
5212
|
-
line-height: 1.4;
|
|
5213
|
-
`;
|
|
3586
|
+
const Wrapper$l = styled__default.div.withConfig({
|
|
3587
|
+
displayName: "wrapper__Wrapper"
|
|
3588
|
+
})(["display:flex;align-items:center;padding:", ";border:1px solid ", ";border-radius:3px;& + &{margin-top:", ";}"], size(1), props => props.theme.color.border, size(1));
|
|
3589
|
+
const Logo$1 = styled__default.div.withConfig({
|
|
3590
|
+
displayName: "wrapper__Logo"
|
|
3591
|
+
})(["position:relative;flex-shrink:0;margin-right:", ";width:", ";height:", ";"], size(1), size(9.5), size(6));
|
|
3592
|
+
const LogoImg = styled__default.img.withConfig({
|
|
3593
|
+
displayName: "wrapper__LogoImg"
|
|
3594
|
+
})(["display:block;position:absolute;left:0;top:0;right:auto;bottom:0;margin:auto;max-width:100%;max-height:100%;"]);
|
|
3595
|
+
const Content$4 = styled__default.div.withConfig({
|
|
3596
|
+
displayName: "wrapper__Content"
|
|
3597
|
+
})(["flex:1 1 auto;text-align:right;line-height:1.4;"]);
|
|
5214
3598
|
const OptionBoxHeading = styled__default.div.attrs(() => ({
|
|
5215
3599
|
className: 'wayke__theme wayke__font--bold'
|
|
5216
|
-
}))
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
const OptionBoxContent = styled__default.div
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
p {
|
|
5224
|
-
margin: 0;
|
|
5225
|
-
}
|
|
5226
|
-
`;
|
|
3600
|
+
})).withConfig({
|
|
3601
|
+
displayName: "wrapper__OptionBoxHeading"
|
|
3602
|
+
})(["font-size:1rem;"]);
|
|
3603
|
+
const OptionBoxContent = styled__default.div.withConfig({
|
|
3604
|
+
displayName: "wrapper__OptionBoxContent"
|
|
3605
|
+
})(["margin-top:", ";font-size:0.875rem;p{margin:0;}"], size(0.5));
|
|
5227
3606
|
|
|
5228
3607
|
const OptionBox = ({
|
|
5229
3608
|
logo,
|
|
@@ -5236,28 +3615,20 @@ const OptionBox = ({
|
|
|
5236
3615
|
alt: logoAlt
|
|
5237
3616
|
})), React.createElement(Content$4, null, children));
|
|
5238
3617
|
|
|
5239
|
-
const List$7 = styled__default.ul
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
& + & {
|
|
5249
|
-
margin-top: ${size(1)};
|
|
5250
|
-
}
|
|
5251
|
-
`;
|
|
5252
|
-
const Label$6 = styled__default.div`
|
|
5253
|
-
flex: 1 1 auto;
|
|
5254
|
-
`;
|
|
3618
|
+
const List$7 = styled__default.ul.withConfig({
|
|
3619
|
+
displayName: "wrapper__List"
|
|
3620
|
+
})(["list-style:none;padding:0;margin:0;"]);
|
|
3621
|
+
const Item$9 = styled__default.li.withConfig({
|
|
3622
|
+
displayName: "wrapper__Item"
|
|
3623
|
+
})(["display:flex;align-items:flex-start;& + &{margin-top:", ";}"], size(1));
|
|
3624
|
+
const Label$6 = styled__default.div.withConfig({
|
|
3625
|
+
displayName: "wrapper__Label"
|
|
3626
|
+
})(["flex:1 1 auto;"]);
|
|
5255
3627
|
const Value$1 = styled__default.div.attrs(() => ({
|
|
5256
3628
|
className: 'wayke__theme wayke__font--bold'
|
|
5257
|
-
}))
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
`;
|
|
3629
|
+
})).withConfig({
|
|
3630
|
+
displayName: "wrapper__Value"
|
|
3631
|
+
})(["flex-shrink:0;padding-left:", ";"], size(2));
|
|
5261
3632
|
|
|
5262
3633
|
const DataList = ({
|
|
5263
3634
|
items
|
|
@@ -5348,48 +3719,31 @@ const useLoanCalculation = (id, duration, downPayment, residual) => client.useQu
|
|
|
5348
3719
|
skip: duration === undefined || downPayment === undefined
|
|
5349
3720
|
});
|
|
5350
3721
|
|
|
5351
|
-
const ContentLogo = styled__default.div
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
const
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
margin-top: ${size(2)};
|
|
5365
|
-
}
|
|
5366
|
-
|
|
5367
|
-
${props => props.theme.breakpoint.Sm} {
|
|
5368
|
-
flex-shrink: 0;
|
|
5369
|
-
padding-left: ${size(4)};
|
|
5370
|
-
}
|
|
5371
|
-
`;
|
|
5372
|
-
|
|
5373
|
-
const Wrapper$m = styled__default.div`
|
|
5374
|
-
display: flex;
|
|
5375
|
-
align-items: flex-end;
|
|
5376
|
-
`;
|
|
3722
|
+
const ContentLogo = styled__default.div.withConfig({
|
|
3723
|
+
displayName: "ContentLogo"
|
|
3724
|
+
})(["", "{display:flex;align-items:flex-start;}"], props => props.theme.breakpoint.Sm);
|
|
3725
|
+
const ContentLogoText = styled__default.div.withConfig({
|
|
3726
|
+
displayName: "ContentLogo__ContentLogoText"
|
|
3727
|
+
})(["", "{flex:1 1 auto;}"], props => props.theme.breakpoint.Sm);
|
|
3728
|
+
const ContentLogoMedia = styled__default.div.withConfig({
|
|
3729
|
+
displayName: "ContentLogo__ContentLogoMedia"
|
|
3730
|
+
})(["", "{margin-top:", ";}", "{flex-shrink:0;padding-left:", ";}"], props => props.theme.breakpoint.LtSm, size(2), props => props.theme.breakpoint.Sm, size(4));
|
|
3731
|
+
|
|
3732
|
+
const Wrapper$m = styled__default.div.withConfig({
|
|
3733
|
+
displayName: "wrapper__Wrapper"
|
|
3734
|
+
})(["display:flex;align-items:flex-end;"]);
|
|
5377
3735
|
const Label$7 = styled__default.div.attrs(() => ({
|
|
5378
3736
|
className: 'wayke__theme wayke__font--bold'
|
|
5379
|
-
}))
|
|
5380
|
-
|
|
5381
|
-
|
|
3737
|
+
})).withConfig({
|
|
3738
|
+
displayName: "wrapper__Label"
|
|
3739
|
+
})(["flex:1 1 auto;"]);
|
|
5382
3740
|
const Value$2 = styled__default.div.attrs(() => ({
|
|
5383
3741
|
className: 'wayke__theme wayke__font--bold wayke__color--primary-text'
|
|
5384
|
-
}))
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
font-size: 1.125rem;
|
|
5388
|
-
|
|
5389
|
-
${({
|
|
3742
|
+
})).withConfig({
|
|
3743
|
+
displayName: "wrapper__Value"
|
|
3744
|
+
})(["flex-shrink:0;padding-left:", ";font-size:1.125rem;", ""], size(2), ({
|
|
5390
3745
|
isHighlighted
|
|
5391
|
-
}) => isHighlighted && styled.css(["font-size:1.375rem;color:", " !important;"], props => props.theme.color.textDark)
|
|
5392
|
-
`;
|
|
3746
|
+
}) => isHighlighted && styled.css(["font-size:1.375rem;color:", " !important;"], props => props.theme.color.textDark));
|
|
5393
3747
|
|
|
5394
3748
|
const RangeSliderLabel = ({
|
|
5395
3749
|
label,
|
|
@@ -5432,7 +3786,7 @@ const RangeSliderSimple = ({
|
|
|
5432
3786
|
}
|
|
5433
3787
|
}, React__default.createElement(reactCompoundSlider.Rail, null, ({
|
|
5434
3788
|
getRailProps
|
|
5435
|
-
}) => React__default.createElement(Bar$1,
|
|
3789
|
+
}) => React__default.createElement(Bar$1, _objectSpread2({}, getRailProps()))), React__default.createElement(reactCompoundSlider.Handles, null, ({
|
|
5436
3790
|
handles,
|
|
5437
3791
|
getHandleProps
|
|
5438
3792
|
}) => React__default.createElement("div", {
|
|
@@ -5687,30 +4041,26 @@ const FinancialOptions = ({
|
|
|
5687
4041
|
financialOption: financialOption
|
|
5688
4042
|
})))));
|
|
5689
4043
|
|
|
5690
|
-
const Wrapper$n = styled__default.article
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
padding: ${size(2.5)};
|
|
5697
|
-
`;
|
|
4044
|
+
const Wrapper$n = styled__default.article.withConfig({
|
|
4045
|
+
displayName: "wrapper__Wrapper"
|
|
4046
|
+
})(["box-shadow:2px 2px 8px rgba(0,0,0,0.1);border-radius:3px;overflow:hidden;"]);
|
|
4047
|
+
const Main$1 = styled__default.div.withConfig({
|
|
4048
|
+
displayName: "wrapper__Main"
|
|
4049
|
+
})(["padding:", ";"], size(2.5));
|
|
5698
4050
|
const Heading$5 = styled__default(H2).attrs(() => ({
|
|
5699
4051
|
as: 'h1'
|
|
5700
|
-
}))
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
const Description$2 = styled__default.div
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
const Footer$2 = styled__default.div
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
padding: ${size(2.5)};
|
|
5713
|
-
`;
|
|
4052
|
+
})).withConfig({
|
|
4053
|
+
displayName: "wrapper__Heading"
|
|
4054
|
+
})(["margin-bottom:0;"]);
|
|
4055
|
+
const Description$2 = styled__default.div.withConfig({
|
|
4056
|
+
displayName: "wrapper__Description"
|
|
4057
|
+
})(["margin-top:", ";"], size(1));
|
|
4058
|
+
const Footer$2 = styled__default.div.withConfig({
|
|
4059
|
+
displayName: "wrapper__Footer"
|
|
4060
|
+
})(["margin-top:", ";color:red;"], size(1));
|
|
4061
|
+
const Foldout = styled__default.div.withConfig({
|
|
4062
|
+
displayName: "wrapper__Foldout"
|
|
4063
|
+
})(["background-color:", ";padding:", ";"], props => props.theme.color.accent, size(2.5));
|
|
5714
4064
|
|
|
5715
4065
|
const DetailBox = ({
|
|
5716
4066
|
heading,
|
|
@@ -5725,59 +4075,26 @@ const DetailBox = ({
|
|
|
5725
4075
|
}, React__default.createElement(ButtonContent, null, extendBtnText)))), extend && React__default.createElement(Foldout, null, children));
|
|
5726
4076
|
};
|
|
5727
4077
|
|
|
5728
|
-
const Wrapper$o = styled__default.div
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
const
|
|
5735
|
-
|
|
5736
|
-
|
|
4078
|
+
const Wrapper$o = styled__default.div.withConfig({
|
|
4079
|
+
displayName: "wrapper__Wrapper"
|
|
4080
|
+
})([""]);
|
|
4081
|
+
const Header$4 = styled__default.div.withConfig({
|
|
4082
|
+
displayName: "wrapper__Header"
|
|
4083
|
+
})(["display:flex;align-items:center;"]);
|
|
4084
|
+
const Title = styled__default.div.withConfig({
|
|
4085
|
+
displayName: "wrapper__Title"
|
|
4086
|
+
})([""]);
|
|
4087
|
+
const Info$1 = styled__default.div.withConfig({
|
|
4088
|
+
displayName: "wrapper__Info"
|
|
4089
|
+
})(["margin-left:", ";"], size(1));
|
|
5737
4090
|
const InfoBtn = styled__default(ButtonReset).attrs(() => ({
|
|
5738
4091
|
className: 'wayke__theme wayke__color--primary-text'
|
|
5739
|
-
}))
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
transition: transform 300ms cubic-bezier(0.47, 1.64, 0.41, 0.8);
|
|
5746
|
-
|
|
5747
|
-
:before {
|
|
5748
|
-
content: '';
|
|
5749
|
-
position: absolute;
|
|
5750
|
-
top: ${size(-0.5)};
|
|
5751
|
-
bottom: ${size(-0.5)};
|
|
5752
|
-
left: ${size(-0.5)};
|
|
5753
|
-
right: ${size(-0.5)};
|
|
5754
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
5755
|
-
border-radius: 50%;
|
|
5756
|
-
opacity: 0;
|
|
5757
|
-
transition: opacity 200ms ease;
|
|
5758
|
-
}
|
|
5759
|
-
|
|
5760
|
-
> * {
|
|
5761
|
-
position: relative;
|
|
5762
|
-
z-index: 1;
|
|
5763
|
-
}
|
|
5764
|
-
|
|
5765
|
-
:hover {
|
|
5766
|
-
:before {
|
|
5767
|
-
opacity: 1;
|
|
5768
|
-
}
|
|
5769
|
-
}
|
|
5770
|
-
|
|
5771
|
-
:active {
|
|
5772
|
-
transform: scale(0.95);
|
|
5773
|
-
}
|
|
5774
|
-
`;
|
|
5775
|
-
const Extend$1 = styled__default.div`
|
|
5776
|
-
padding-top: ${size(1)};
|
|
5777
|
-
margin-top: ${size(1)};
|
|
5778
|
-
border-top: 1px solid ${props => props.theme.color.border};
|
|
5779
|
-
font-size: 0.875em;
|
|
5780
|
-
`;
|
|
4092
|
+
})).withConfig({
|
|
4093
|
+
displayName: "wrapper__InfoBtn"
|
|
4094
|
+
})(["position:relative;display:block;font:inherit;font-size:1em;transform-origin:50% 50%;transition:transform 300ms cubic-bezier(0.47,1.64,0.41,0.8);:before{content:'';position:absolute;top:", ";bottom:", ";left:", ";right:", ";background-color:", ";border-radius:50%;opacity:0;transition:opacity 200ms ease;}> *{position:relative;z-index:1;}:hover{:before{opacity:1;}}:active{transform:scale(0.95);}"], size(-0.5), size(-0.5), size(-0.5), size(-0.5), props => props.theme.color.accentDark);
|
|
4095
|
+
const Extend$1 = styled__default.div.withConfig({
|
|
4096
|
+
displayName: "wrapper__Extend"
|
|
4097
|
+
})(["padding-top:", ";margin-top:", ";border-top:1px solid ", ";font-size:0.875em;"], size(1), size(1), props => props.theme.color.border);
|
|
5781
4098
|
|
|
5782
4099
|
const ExtendInfo = ({
|
|
5783
4100
|
title,
|
|
@@ -5795,10 +4112,9 @@ const ExtendInfo = ({
|
|
|
5795
4112
|
|
|
5796
4113
|
const Wrapper$p = styled__default.label.attrs(() => ({
|
|
5797
4114
|
className: 'wayke__theme wayke__font--bold'
|
|
5798
|
-
}))
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
`;
|
|
4115
|
+
})).withConfig({
|
|
4116
|
+
displayName: "wrapper__Wrapper"
|
|
4117
|
+
})(["margin-bottom:", ";font-size:0.875rem;"], size(0.5));
|
|
5802
4118
|
|
|
5803
4119
|
const InputLabel = ({
|
|
5804
4120
|
children,
|
|
@@ -5807,58 +4123,15 @@ const InputLabel = ({
|
|
|
5807
4123
|
htmlFor: htmlFor
|
|
5808
4124
|
}, children);
|
|
5809
4125
|
|
|
5810
|
-
const Wrapper$q = styled__default.div
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
align-items: stretch;
|
|
5814
|
-
background-color: ${props => props.theme.color.accent};
|
|
5815
|
-
border-radius: 3px;
|
|
5816
|
-
`;
|
|
4126
|
+
const Wrapper$q = styled__default.div.withConfig({
|
|
4127
|
+
displayName: "wrapper__Wrapper"
|
|
4128
|
+
})(["position:relative;display:flex;align-items:stretch;background-color:", ";border-radius:3px;"], props => props.theme.color.accent);
|
|
5817
4129
|
const Input$1 = styled__default.input.attrs(() => ({
|
|
5818
4130
|
type: 'text',
|
|
5819
4131
|
className: 'wayke__theme wayke__font--regular'
|
|
5820
|
-
}))
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
width: 100%;
|
|
5824
|
-
height: ${props => props.theme.distances.inputHeight};
|
|
5825
|
-
padding: 0 ${size(2)};
|
|
5826
|
-
background-color: transparent;
|
|
5827
|
-
font-size: 16px;
|
|
5828
|
-
border: none;
|
|
5829
|
-
border-radius: 0;
|
|
5830
|
-
box-shadow: none;
|
|
5831
|
-
-moz-appearance: none;
|
|
5832
|
-
-webkit-appearance: none;
|
|
5833
|
-
|
|
5834
|
-
:focus {
|
|
5835
|
-
outline: none;
|
|
5836
|
-
}
|
|
5837
|
-
|
|
5838
|
-
&::-webkit-input-placeholder {
|
|
5839
|
-
font-family: inherit;
|
|
5840
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
5841
|
-
font-size: 1em;
|
|
5842
|
-
}
|
|
5843
|
-
|
|
5844
|
-
&:-moz-placeholder {
|
|
5845
|
-
font-family: inherit;
|
|
5846
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
5847
|
-
font-size: 1em;
|
|
5848
|
-
}
|
|
5849
|
-
|
|
5850
|
-
&::-moz-placeholder {
|
|
5851
|
-
font-family: inherit;
|
|
5852
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
5853
|
-
font-size: 1em;
|
|
5854
|
-
}
|
|
5855
|
-
|
|
5856
|
-
&:-ms-input-placeholder {
|
|
5857
|
-
font-family: inherit;
|
|
5858
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
5859
|
-
font-size: 1em;
|
|
5860
|
-
}
|
|
5861
|
-
`;
|
|
4132
|
+
})).withConfig({
|
|
4133
|
+
displayName: "wrapper__Input"
|
|
4134
|
+
})(["flex:1 1 auto;display:block;width:100%;height:", ";padding:0 ", ";background-color:transparent;font-size:16px;border:none;border-radius:0;box-shadow:none;-moz-appearance:none;-webkit-appearance:none;:focus{outline:none;}&::-webkit-input-placeholder{font-family:inherit;color:", ";font-size:1em;}&:-moz-placeholder{font-family:inherit;color:", ";font-size:1em;}&::-moz-placeholder{font-family:inherit;color:", ";font-size:1em;}&:-ms-input-placeholder{font-family:inherit;color:", ";font-size:1em;}"], props => props.theme.distances.inputHeight, size(2), props => props.theme.color.textDarkLighten, props => props.theme.color.textDarkLighten, props => props.theme.color.textDarkLighten, props => props.theme.color.textDarkLighten);
|
|
5862
4135
|
|
|
5863
4136
|
const InputText = ({
|
|
5864
4137
|
placeholder,
|
|
@@ -5878,46 +4151,21 @@ const InputText = ({
|
|
|
5878
4151
|
|
|
5879
4152
|
const Label$8 = styled__default.label.attrs(() => ({
|
|
5880
4153
|
className: 'wayke__theme wayke__color--primary-text'
|
|
5881
|
-
}))
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
font-size: 1rem;
|
|
5886
|
-
line-height: 1.2;
|
|
5887
|
-
cursor: pointer;
|
|
5888
|
-
|
|
5889
|
-
:before {
|
|
5890
|
-
content: '';
|
|
5891
|
-
display: flex;
|
|
5892
|
-
align-items: center;
|
|
5893
|
-
justify-content: center;
|
|
5894
|
-
flex-shrink: 0;
|
|
5895
|
-
width: ${size(2.5)};
|
|
5896
|
-
height: ${size(2.5)};
|
|
5897
|
-
margin-right: ${size(1)};
|
|
5898
|
-
background-color: ${props => props.theme.color.accent};
|
|
5899
|
-
color: currentColor;
|
|
5900
|
-
border: none;
|
|
5901
|
-
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.07);
|
|
5902
|
-
text-align: center;
|
|
5903
|
-
font-size: 15px;
|
|
5904
|
-
cursor: pointer;
|
|
5905
|
-
border-radius: 3px;
|
|
5906
|
-
margin-top: -2px;
|
|
5907
|
-
}
|
|
5908
|
-
`;
|
|
5909
|
-
const Wrapper$r = styled__default(props => React.createElement("div", Object.assign({}, props))).attrs(({
|
|
4154
|
+
})).withConfig({
|
|
4155
|
+
displayName: "wrapper__Label"
|
|
4156
|
+
})(["position:relative;display:flex;align-items:flex-start;font-size:1rem;line-height:1.2;cursor:pointer;:before{content:'';display:flex;align-items:center;justify-content:center;flex-shrink:0;width:", ";height:", ";margin-right:", ";background-color:", ";color:currentColor;border:none;box-shadow:inset 1px 1px 2px rgba(0,0,0,0.07);text-align:center;font-size:15px;cursor:pointer;border-radius:3px;margin-top:-2px;}"], size(2.5), size(2.5), size(1), props => props.theme.color.accent);
|
|
4157
|
+
const Wrapper$r = styled__default(props => React.createElement("div", _objectSpread2({}, props))).attrs(({
|
|
5910
4158
|
type,
|
|
5911
4159
|
checked
|
|
5912
4160
|
}) => ({
|
|
5913
4161
|
role: type || 'checkbox',
|
|
5914
4162
|
'aria-checked': checked
|
|
5915
|
-
}))
|
|
5916
|
-
|
|
4163
|
+
})).withConfig({
|
|
4164
|
+
displayName: "wrapper__Wrapper"
|
|
4165
|
+
})(["", ""], ({
|
|
5917
4166
|
error
|
|
5918
|
-
}) => error && styled.css(["", "{color:", ";:before{background-color:", ";}}"], Label$8, props => props.theme.color.ui.negative, props => props.theme.color.ui.negativeLight)
|
|
5919
|
-
|
|
5920
|
-
const Input$2 = styled__default(props => React.createElement("input", Object.assign({}, props, {
|
|
4167
|
+
}) => error && styled.css(["", "{color:", ";:before{background-color:", ";}}"], Label$8, props => props.theme.color.ui.negative, props => props.theme.color.ui.negativeLight));
|
|
4168
|
+
const Input$2 = styled__default(props => React.createElement("input", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
5921
4169
|
className: `${props.checked ? 'checked' : undefined} ${props.className}`
|
|
5922
4170
|
}))).attrs(({
|
|
5923
4171
|
type,
|
|
@@ -5925,86 +4173,29 @@ const Input$2 = styled__default(props => React.createElement("input", Object.ass
|
|
|
5925
4173
|
}) => ({
|
|
5926
4174
|
checked,
|
|
5927
4175
|
type: type || 'checkbox'
|
|
5928
|
-
}))
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
& + ${Label$8} {
|
|
5935
|
-
color: ${props => props.theme.color.disabledText};
|
|
5936
|
-
|
|
5937
|
-
&:before {
|
|
5938
|
-
background-color: ${props => props.theme.color.disabledBg};
|
|
5939
|
-
cursor: not-allowed;
|
|
5940
|
-
}
|
|
5941
|
-
}
|
|
5942
|
-
}
|
|
5943
|
-
|
|
5944
|
-
&:checked,
|
|
5945
|
-
&.checked {
|
|
5946
|
-
& + ${Label$8} {
|
|
5947
|
-
:before {
|
|
5948
|
-
content: '✓';
|
|
5949
|
-
}
|
|
5950
|
-
}
|
|
5951
|
-
}
|
|
5952
|
-
`;
|
|
5953
|
-
const LabelText = styled__default.div`
|
|
5954
|
-
color: ${props => props.theme.color.textDark};
|
|
5955
|
-
`;
|
|
4176
|
+
})).withConfig({
|
|
4177
|
+
displayName: "wrapper__Input"
|
|
4178
|
+
})(["position:fixed;left:-9999px;opacity:0;&[disabled]{& + ", "{color:", ";&:before{background-color:", ";cursor:not-allowed;}}}&:checked,&.checked{& + ", "{:before{content:'\u2713';}}}"], Label$8, props => props.theme.color.disabledText, props => props.theme.color.disabledBg, Label$8);
|
|
4179
|
+
const LabelText = styled__default.div.withConfig({
|
|
4180
|
+
displayName: "wrapper__LabelText"
|
|
4181
|
+
})(["color:", ";"], props => props.theme.color.textDark);
|
|
5956
4182
|
|
|
5957
4183
|
const iconSize$1 = '0.875rem';
|
|
5958
4184
|
const selectPadding = size(2);
|
|
5959
|
-
const Wrapper$s = styled__default.div
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
border-radius: 3px;
|
|
5963
|
-
`;
|
|
4185
|
+
const Wrapper$s = styled__default.div.withConfig({
|
|
4186
|
+
displayName: "wrapper__Wrapper"
|
|
4187
|
+
})(["position:relative;background-color:", ";border-radius:3px;"], props => props.theme.color.accent);
|
|
5964
4188
|
const Select$1 = styled__default.select.attrs(() => ({
|
|
5965
4189
|
className: 'wayke__theme wayke__font--regular'
|
|
5966
|
-
}))
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
text-indent: 0.01px;
|
|
5976
|
-
border: 0;
|
|
5977
|
-
padding: 0 ${selectPadding};
|
|
5978
|
-
padding-right: calc(${iconSize$1} + ${selectPadding});
|
|
5979
|
-
background-color: transparent;
|
|
5980
|
-
color: ${props => props.theme.color.textDark};
|
|
5981
|
-
border-radius: 0;
|
|
5982
|
-
font-size: 16px;
|
|
5983
|
-
cursor: pointer;
|
|
5984
|
-
z-index: 1;
|
|
5985
|
-
|
|
5986
|
-
:focus {
|
|
5987
|
-
outline: none;
|
|
5988
|
-
}
|
|
5989
|
-
|
|
5990
|
-
::-ms-expand {
|
|
5991
|
-
display: none;
|
|
5992
|
-
}
|
|
5993
|
-
|
|
5994
|
-
::-moz-focus-inner {
|
|
5995
|
-
border: 0;
|
|
5996
|
-
}
|
|
5997
|
-
`;
|
|
5998
|
-
const Option$1 = styled__default.option`
|
|
5999
|
-
color: ${props => props.theme.color.textDark};
|
|
6000
|
-
`;
|
|
6001
|
-
const Icon$4 = styled__default.div`
|
|
6002
|
-
position: absolute;
|
|
6003
|
-
top: 50%;
|
|
6004
|
-
right: ${selectPadding};
|
|
6005
|
-
transform: translateY(-50%);
|
|
6006
|
-
font-size: ${iconSize$1};
|
|
6007
|
-
`;
|
|
4190
|
+
})).withConfig({
|
|
4191
|
+
displayName: "wrapper__Select"
|
|
4192
|
+
})(["position:relative;display:block;width:100%;height:", ";-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:rgba(255,255,255,0);text-indent:0.01px;border:0;padding:0 ", ";padding-right:calc(", " + ", ");background-color:transparent;color:", ";border-radius:0;font-size:16px;cursor:pointer;z-index:1;:focus{outline:none;}::-ms-expand{display:none;}::-moz-focus-inner{border:0;}"], props => props.theme.distances.inputHeight, selectPadding, iconSize$1, selectPadding, props => props.theme.color.textDark);
|
|
4193
|
+
const Option$1 = styled__default.option.withConfig({
|
|
4194
|
+
displayName: "wrapper__Option"
|
|
4195
|
+
})(["color:", ";"], props => props.theme.color.textDark);
|
|
4196
|
+
const Icon$4 = styled__default.div.withConfig({
|
|
4197
|
+
displayName: "wrapper__Icon"
|
|
4198
|
+
})(["position:absolute;top:50%;right:", ";transform:translateY(-50%);font-size:", ";"], selectPadding, iconSize$1);
|
|
6008
4199
|
|
|
6009
4200
|
const InputSelect = ({
|
|
6010
4201
|
value,
|
|
@@ -6024,41 +4215,19 @@ const InputSelect = ({
|
|
|
6024
4215
|
block: true
|
|
6025
4216
|
})));
|
|
6026
4217
|
|
|
6027
|
-
const InputGroup = styled__default.div
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
`;
|
|
6034
|
-
const InputGroupColumn = styled__default.div`
|
|
6035
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
6036
|
-
& + & {
|
|
6037
|
-
margin-top: ${size(1)};
|
|
6038
|
-
}
|
|
6039
|
-
}
|
|
6040
|
-
|
|
6041
|
-
${props => props.theme.breakpoint.Sm} {
|
|
6042
|
-
flex: 1 1 50%;
|
|
6043
|
-
padding: ${size(0.5)};
|
|
6044
|
-
}
|
|
6045
|
-
`;
|
|
6046
|
-
|
|
6047
|
-
const ColumnRow = styled__default.div`
|
|
6048
|
-
display: flex;
|
|
6049
|
-
align-items: flex-start;
|
|
6050
|
-
`;
|
|
6051
|
-
const ColumnRowItem = styled__default.div`
|
|
6052
|
-
flex: 1 1 auto;
|
|
4218
|
+
const InputGroup = styled__default.div.withConfig({
|
|
4219
|
+
displayName: "InputGroup"
|
|
4220
|
+
})(["", "{display:flex;align-items:flex-start;margin:", ";}"], props => props.theme.breakpoint.Sm, size(-0.5));
|
|
4221
|
+
const InputGroupColumn = styled__default.div.withConfig({
|
|
4222
|
+
displayName: "InputGroup__InputGroupColumn"
|
|
4223
|
+
})(["", "{& + &{margin-top:", ";}}", "{flex:1 1 50%;padding:", ";}"], props => props.theme.breakpoint.LtSm, size(1), props => props.theme.breakpoint.Sm, size(0.5));
|
|
6053
4224
|
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
}
|
|
6061
|
-
`;
|
|
4225
|
+
const ColumnRow = styled__default.div.withConfig({
|
|
4226
|
+
displayName: "ColumnRow"
|
|
4227
|
+
})(["display:flex;align-items:flex-start;"]);
|
|
4228
|
+
const ColumnRowItem = styled__default.div.withConfig({
|
|
4229
|
+
displayName: "ColumnRow__ColumnRowItem"
|
|
4230
|
+
})(["flex:1 1 auto;:last-child:not(:only-child){flex:0 0 auto;}& + &{padding-left:", ";}"], size(2));
|
|
6062
4231
|
|
|
6063
4232
|
const INSURANCE_CALCULATION = client.gql`
|
|
6064
4233
|
query InsuranceCalculation(
|
|
@@ -6313,7 +4482,7 @@ const Ecom = ({
|
|
|
6313
4482
|
useBankId: ecomSettings === null || ecomSettings === void 0 ? void 0 : ecomSettings.useBankId,
|
|
6314
4483
|
displayBankIdAlert: ecomSettings === null || ecomSettings === void 0 ? void 0 : ecomSettings.displayBankIdAlert
|
|
6315
4484
|
};
|
|
6316
|
-
return React__default.createElement(EcomBase,
|
|
4485
|
+
return React__default.createElement(EcomBase, _objectSpread2({}, ecomData));
|
|
6317
4486
|
};
|
|
6318
4487
|
|
|
6319
4488
|
const ManufacturerPackageOption = ({
|
|
@@ -6329,7 +4498,7 @@ const ManufacturerPackageOption = ({
|
|
|
6329
4498
|
noMargin: true
|
|
6330
4499
|
}, packageOption.title)), packageOption.description && React__default.createElement(Repeat, null, React__default.createElement(Content$2, {
|
|
6331
4500
|
dangerouslySetInnerHTML: {
|
|
6332
|
-
__html: marked(packageOption.description)
|
|
4501
|
+
__html: marked.marked(packageOption.description)
|
|
6333
4502
|
}
|
|
6334
4503
|
})), ((_a = packageOption.link) === null || _a === void 0 ? void 0 : _a.url) && React__default.createElement(Repeat, null, React__default.createElement(ButtonInline, {
|
|
6335
4504
|
as: "a",
|
|
@@ -6400,7 +4569,7 @@ const Metadata = {
|
|
|
6400
4569
|
const typedMetadata = Metadata;
|
|
6401
4570
|
const formatPhonenumber = text => {
|
|
6402
4571
|
try {
|
|
6403
|
-
const parsed =
|
|
4572
|
+
const parsed = core.parsePhoneNumberFromString(text.replace('-', '').replace(/ /g, ''), typedMetadata);
|
|
6404
4573
|
return (parsed === null || parsed === void 0 ? void 0 : parsed.formatNational()) || text;
|
|
6405
4574
|
} catch (e) {
|
|
6406
4575
|
return text;
|
|
@@ -6437,30 +4606,20 @@ const ActionList = ({
|
|
|
6437
4606
|
}));
|
|
6438
4607
|
};
|
|
6439
4608
|
|
|
6440
|
-
const List$8 = styled__default.ul
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
position: relative;
|
|
6447
|
-
font-size: 0.875rem;
|
|
6448
|
-
|
|
6449
|
-
& + & {
|
|
6450
|
-
margin-top: ${size(0.5)};
|
|
6451
|
-
}
|
|
6452
|
-
`;
|
|
4609
|
+
const List$8 = styled__default.ul.withConfig({
|
|
4610
|
+
displayName: "wrapper__List"
|
|
4611
|
+
})(["list-style:none;padding:0;margin:0;"]);
|
|
4612
|
+
const Item$a = styled__default.li.withConfig({
|
|
4613
|
+
displayName: "wrapper__Item"
|
|
4614
|
+
})(["position:relative;font-size:0.875rem;& + &{margin-top:", ";}"], size(0.5));
|
|
6453
4615
|
const Icon$5 = styled__default.div.attrs(() => ({
|
|
6454
4616
|
className: 'wayke__theme wayke__color--primary-text'
|
|
6455
|
-
}))
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
const Label$9 = styled__default.div`
|
|
6462
|
-
padding-left: calc(1em + ${size(1)});
|
|
6463
|
-
`;
|
|
4617
|
+
})).withConfig({
|
|
4618
|
+
displayName: "wrapper__Icon"
|
|
4619
|
+
})(["position:absolute;left:0;top:4px;font-size:0.875em;"]);
|
|
4620
|
+
const Label$9 = styled__default.div.withConfig({
|
|
4621
|
+
displayName: "wrapper__Label"
|
|
4622
|
+
})(["padding-left:calc(1em + ", ");"], size(1));
|
|
6464
4623
|
|
|
6465
4624
|
const CheckMarkListItem = ({
|
|
6466
4625
|
children
|
|
@@ -6472,74 +4631,34 @@ const CheckMarkList = ({
|
|
|
6472
4631
|
children
|
|
6473
4632
|
}) => React__default.createElement(List$8, null, children);
|
|
6474
4633
|
|
|
6475
|
-
const Wrapper$t = styled__default.div
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
const
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
`;
|
|
6494
|
-
const Action$6 = styled__default.div`
|
|
6495
|
-
flex-shrink: 0;
|
|
6496
|
-
padding-left: ${size(1.5)};
|
|
6497
|
-
font-size: 0.875rem;
|
|
6498
|
-
`;
|
|
6499
|
-
const InfoContent = styled__default.div`
|
|
6500
|
-
& + & {
|
|
6501
|
-
margin-left: ${size(0.75)};
|
|
6502
|
-
}
|
|
6503
|
-
`;
|
|
4634
|
+
const Wrapper$t = styled__default.div.withConfig({
|
|
4635
|
+
displayName: "wrapper__Wrapper"
|
|
4636
|
+
})(["padding:", " ", ";background-color:", ";border-radius:3px;font-size:0.875rem;"], size(1.5), size(2), props => props.theme.color.accentDark);
|
|
4637
|
+
const Header$5 = styled__default.div.withConfig({
|
|
4638
|
+
displayName: "wrapper__Header"
|
|
4639
|
+
})(["display:flex;align-items:center;"]);
|
|
4640
|
+
const Body$4 = styled__default.div.withConfig({
|
|
4641
|
+
displayName: "wrapper__Body"
|
|
4642
|
+
})(["font-size:0.875rem;margin-top:", ";"], size(1));
|
|
4643
|
+
const Info$2 = styled__default.div.withConfig({
|
|
4644
|
+
displayName: "wrapper__Info"
|
|
4645
|
+
})(["flex:1 1 auto;display:flex;align-items:center;"]);
|
|
4646
|
+
const Action$6 = styled__default.div.withConfig({
|
|
4647
|
+
displayName: "wrapper__Action"
|
|
4648
|
+
})(["flex-shrink:0;padding-left:", ";font-size:0.875rem;"], size(1.5));
|
|
4649
|
+
const InfoContent = styled__default.div.withConfig({
|
|
4650
|
+
displayName: "wrapper__InfoContent"
|
|
4651
|
+
})(["& + &{margin-left:", ";}"], size(0.75));
|
|
6504
4652
|
const InfoBtn$1 = styled__default(ButtonReset).attrs(() => ({
|
|
6505
4653
|
className: 'wayke__theme wayke__color--primary-text'
|
|
6506
|
-
}))
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
:before {
|
|
6511
|
-
content: '';
|
|
6512
|
-
position: absolute;
|
|
6513
|
-
top: ${size(-0.5)};
|
|
6514
|
-
bottom: ${size(-0.5)};
|
|
6515
|
-
left: ${size(-0.5)};
|
|
6516
|
-
right: ${size(-0.5)};
|
|
6517
|
-
background-color: ${props => props.theme.color.accentDark};
|
|
6518
|
-
border-radius: 50%;
|
|
6519
|
-
opacity: 0;
|
|
6520
|
-
transition: opacity 200ms ease;
|
|
6521
|
-
}
|
|
6522
|
-
|
|
6523
|
-
> * {
|
|
6524
|
-
position: relative;
|
|
6525
|
-
z-index: 1;
|
|
6526
|
-
}
|
|
6527
|
-
|
|
6528
|
-
:hover {
|
|
6529
|
-
:before {
|
|
6530
|
-
opacity: 1;
|
|
6531
|
-
}
|
|
6532
|
-
}
|
|
6533
|
-
|
|
6534
|
-
:active {
|
|
6535
|
-
transform: scale(0.95);
|
|
6536
|
-
}
|
|
6537
|
-
`;
|
|
4654
|
+
})).withConfig({
|
|
4655
|
+
displayName: "wrapper__InfoBtn"
|
|
4656
|
+
})(["position:relative;display:block;:before{content:'';position:absolute;top:", ";bottom:", ";left:", ";right:", ";background-color:", ";border-radius:50%;opacity:0;transition:opacity 200ms ease;}> *{position:relative;z-index:1;}:hover{:before{opacity:1;}}:active{transform:scale(0.95);}"], size(-0.5), size(-0.5), size(-0.5), size(-0.5), props => props.theme.color.accentDark);
|
|
6538
4657
|
const Title$1 = styled__default.div.attrs(() => ({
|
|
6539
4658
|
className: 'wayke__theme wayke__font--bold'
|
|
6540
|
-
}))
|
|
6541
|
-
|
|
6542
|
-
|
|
4659
|
+
})).withConfig({
|
|
4660
|
+
displayName: "wrapper__Title"
|
|
4661
|
+
})(["font-size:1rem;"]);
|
|
6543
4662
|
|
|
6544
4663
|
const SwitchBar = ({
|
|
6545
4664
|
title,
|
|
@@ -6622,7 +4741,7 @@ const PackageOptionModal = ({
|
|
|
6622
4741
|
wide: true
|
|
6623
4742
|
})), packageOption.description && React__default.createElement(Repeat, null, React__default.createElement(Content$2, {
|
|
6624
4743
|
dangerouslySetInnerHTML: {
|
|
6625
|
-
__html: marked(packageOption.description)
|
|
4744
|
+
__html: marked.marked(packageOption.description)
|
|
6626
4745
|
}
|
|
6627
4746
|
})), ((_a = packageOption.link) === null || _a === void 0 ? void 0 : _a.href) && packageOption.link.title && React__default.createElement(Repeat, null, React__default.createElement(ButtonInline, {
|
|
6628
4747
|
as: "a",
|
|
@@ -6693,17 +4812,15 @@ const CheckList = ({
|
|
|
6693
4812
|
}, React__default.createElement(Content$2, null, React__default.createElement("p", null, "Denna bil tillh\u00F6r ett centrallager och g\u00E5r att k\u00F6pa genom flera anl\u00E4ggningar. Byt anl\u00E4ggning f\u00F6r att visa kontaktuppgifter till just den anl\u00E4ggningen.")))));
|
|
6694
4813
|
};
|
|
6695
4814
|
|
|
6696
|
-
const Wrapper$u = styled__default.div
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
padding-left: ${size(2)};
|
|
6706
|
-
`;
|
|
4815
|
+
const Wrapper$u = styled__default.div.withConfig({
|
|
4816
|
+
displayName: "wrapper__Wrapper"
|
|
4817
|
+
})(["display:flex;align-items:center;"]);
|
|
4818
|
+
const Heading$6 = styled__default.div.withConfig({
|
|
4819
|
+
displayName: "wrapper__Heading"
|
|
4820
|
+
})(["flex:1 1 auto;"]);
|
|
4821
|
+
const Action$7 = styled__default.div.withConfig({
|
|
4822
|
+
displayName: "wrapper__Action"
|
|
4823
|
+
})(["flex-shrink:0;padding-left:", ";"], size(2));
|
|
6707
4824
|
|
|
6708
4825
|
const SectionHeader = ({
|
|
6709
4826
|
children,
|
|
@@ -6715,69 +4832,15 @@ const SectionHeader = ({
|
|
|
6715
4832
|
onClick: onClick
|
|
6716
4833
|
}, React__default.createElement(ButtonContent, null, actionTitle))));
|
|
6717
4834
|
|
|
6718
|
-
const OverflowGrid = styled__default.div
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
${Wrapper} & {
|
|
6728
|
-
margin-left: ${size(-2)};
|
|
6729
|
-
margin-right: ${size(-1)};
|
|
6730
|
-
}
|
|
6731
|
-
}
|
|
6732
|
-
`;
|
|
6733
|
-
const OverflowGridList = styled__default.ul`
|
|
6734
|
-
display: flex;
|
|
6735
|
-
align-items: flex-start;
|
|
6736
|
-
list-style: none;
|
|
6737
|
-
padding: 0;
|
|
6738
|
-
margin: ${size(-1)};
|
|
6739
|
-
|
|
6740
|
-
${props => props.theme.breakpoint.LtMd} {
|
|
6741
|
-
${Wrapper} & {
|
|
6742
|
-
overflow: auto;
|
|
6743
|
-
-webkit-overflow-scrolling: touch;
|
|
6744
|
-
padding: 0 ${size(3)};
|
|
6745
|
-
|
|
6746
|
-
:after {
|
|
6747
|
-
content: '';
|
|
6748
|
-
flex: 0 0 auto;
|
|
6749
|
-
height: 1px;
|
|
6750
|
-
width: ${size(2)};
|
|
6751
|
-
}
|
|
6752
|
-
}
|
|
6753
|
-
}
|
|
6754
|
-
|
|
6755
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
6756
|
-
${Wrapper} & {
|
|
6757
|
-
padding: 0 ${size(2)};
|
|
6758
|
-
|
|
6759
|
-
:after {
|
|
6760
|
-
width: ${size(1)};
|
|
6761
|
-
}
|
|
6762
|
-
}
|
|
6763
|
-
}
|
|
6764
|
-
`;
|
|
6765
|
-
const OverflowGridItem = styled__default.li`
|
|
6766
|
-
flex: 1 0 auto;
|
|
6767
|
-
width: calc(100% - ${size(2)});
|
|
6768
|
-
max-width: calc(100% - ${size(2)});
|
|
6769
|
-
padding: ${size(1)};
|
|
6770
|
-
|
|
6771
|
-
${props => props.theme.breakpoint.Sm} {
|
|
6772
|
-
width: calc(50% - ${size(3)});
|
|
6773
|
-
max-width: calc(50% - ${size(3)});
|
|
6774
|
-
}
|
|
6775
|
-
|
|
6776
|
-
${props => props.theme.breakpoint.Md} {
|
|
6777
|
-
width: 33.333%;
|
|
6778
|
-
max-width: 33.333%;
|
|
6779
|
-
}
|
|
6780
|
-
`;
|
|
4835
|
+
const OverflowGrid = styled__default.div.withConfig({
|
|
4836
|
+
displayName: "OverflowGrid"
|
|
4837
|
+
})(["", "{", " &{margin-left:", ";margin-right:", ";}}", "{", " &{margin-left:", ";margin-right:", ";}}"], props => props.theme.breakpoint.LtMd, Wrapper, size(-3), size(-2), props => props.theme.breakpoint.LtSm, Wrapper, size(-2), size(-1));
|
|
4838
|
+
const OverflowGridList = styled__default.ul.withConfig({
|
|
4839
|
+
displayName: "OverflowGrid__OverflowGridList"
|
|
4840
|
+
})(["display:flex;align-items:flex-start;list-style:none;padding:0;margin:", ";", "{", " &{overflow:auto;-webkit-overflow-scrolling:touch;padding:0 ", ";:after{content:'';flex:0 0 auto;height:1px;width:", ";}}}", "{", " &{padding:0 ", ";:after{width:", ";}}}"], size(-1), props => props.theme.breakpoint.LtMd, Wrapper, size(3), size(2), props => props.theme.breakpoint.LtSm, Wrapper, size(2), size(1));
|
|
4841
|
+
const OverflowGridItem = styled__default.li.withConfig({
|
|
4842
|
+
displayName: "OverflowGrid__OverflowGridItem"
|
|
4843
|
+
})(["flex:1 0 auto;width:calc(100% - ", ");max-width:calc(100% - ", ");padding:", ";", "{width:calc(50% - ", ");max-width:calc(50% - ", ");}", "{width:33.333%;max-width:33.333%;}"], size(2), size(2), size(1), props => props.theme.breakpoint.Sm, size(3), size(3), props => props.theme.breakpoint.Md);
|
|
6781
4844
|
|
|
6782
4845
|
const RelatedSearchContext = React.createContext({
|
|
6783
4846
|
moreLikeThisUrl: false,
|
|
@@ -6900,7 +4963,7 @@ const PackageOptions = ({
|
|
|
6900
4963
|
noMargin: true
|
|
6901
4964
|
}, packageOption.title)), packageOption.description && React__default.createElement(Repeat, null, React__default.createElement(Content$2, {
|
|
6902
4965
|
dangerouslySetInnerHTML: {
|
|
6903
|
-
__html: marked(packageOption.description)
|
|
4966
|
+
__html: marked.marked(packageOption.description)
|
|
6904
4967
|
}
|
|
6905
4968
|
})), ((_a = packageOption.link) === null || _a === void 0 ? void 0 : _a.url) && React__default.createElement(Repeat, null, React__default.createElement(ButtonInline, {
|
|
6906
4969
|
as: "a",
|
|
@@ -6915,18 +4978,15 @@ const PackageOptions = ({
|
|
|
6915
4978
|
}));
|
|
6916
4979
|
};
|
|
6917
4980
|
|
|
6918
|
-
const TableColumn = styled__default.div
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
const TableColumnRow = styled__default.div
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
flex: 1 0 50%;
|
|
6928
|
-
padding: ${size(1)};
|
|
6929
|
-
`;
|
|
4981
|
+
const TableColumn = styled__default.div.withConfig({
|
|
4982
|
+
displayName: "TableColumn"
|
|
4983
|
+
})(["line-height:1.2;"]);
|
|
4984
|
+
const TableColumnRow = styled__default.div.withConfig({
|
|
4985
|
+
displayName: "TableColumn__TableColumnRow"
|
|
4986
|
+
})(["display:flex;align-items:flex-start;margin:", ";"], size(-1));
|
|
4987
|
+
const TableColumnCell = styled__default.div.withConfig({
|
|
4988
|
+
displayName: "TableColumn__TableColumnCell"
|
|
4989
|
+
})(["flex:1 0 50%;padding:", ";"], size(1));
|
|
6930
4990
|
|
|
6931
4991
|
const getBg = severity => {
|
|
6932
4992
|
let bg = theme.color.textDark;
|
|
@@ -6942,15 +5002,9 @@ const getBg = severity => {
|
|
|
6942
5002
|
|
|
6943
5003
|
const Wrapper$v = styled__default.div.attrs(() => ({
|
|
6944
5004
|
className: 'wayke__theme wayke__font--bold'
|
|
6945
|
-
}))
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
padding: ${size(0.75)} ${size(1.5)};
|
|
6949
|
-
color: ${props => props.theme.color.textLight};
|
|
6950
|
-
border-radius: 3px;
|
|
6951
|
-
font-size: 0.75rem;
|
|
6952
|
-
line-height: 1.2;
|
|
6953
|
-
`;
|
|
5005
|
+
})).withConfig({
|
|
5006
|
+
displayName: "wrapper__Wrapper"
|
|
5007
|
+
})(["display:inline-block;background-color:", ";padding:", " ", ";color:", ";border-radius:3px;font-size:0.75rem;line-height:1.2;"], props => getBg(props.severity), size(0.75), size(1.5), props => props.theme.color.textLight);
|
|
6954
5008
|
|
|
6955
5009
|
const Badge = ({
|
|
6956
5010
|
label,
|
|
@@ -7067,30 +5121,18 @@ const PhoneNumber = ({
|
|
|
7067
5121
|
}, React__default.createElement(ButtonContent, null, "Visa telefonnummer"))));
|
|
7068
5122
|
};
|
|
7069
5123
|
|
|
7070
|
-
const Wrapper$w = styled__default.a
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
const Image$3 = styled__default.img
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
height: 0;
|
|
7083
|
-
padding-bottom: 43.75%; // Proportions of Google Static Map (640x280)
|
|
7084
|
-
background-image: linear-gradient(-15deg, #dfe4ce, #c1d6ea, #dfe4ce);
|
|
7085
|
-
border-radius: 3px;
|
|
7086
|
-
color: ${props => props.theme.color.textDark};
|
|
7087
|
-
`;
|
|
7088
|
-
const PlaceholderAction = styled__default.div`
|
|
7089
|
-
position: absolute;
|
|
7090
|
-
top: 50%;
|
|
7091
|
-
left: 50%;
|
|
7092
|
-
transform: translate(-50%, -50%);
|
|
7093
|
-
`;
|
|
5124
|
+
const Wrapper$w = styled__default.a.withConfig({
|
|
5125
|
+
displayName: "wrapper__Wrapper"
|
|
5126
|
+
})(["display:block;"]);
|
|
5127
|
+
const Image$3 = styled__default.img.withConfig({
|
|
5128
|
+
displayName: "wrapper__Image"
|
|
5129
|
+
})(["display:block;width:100%;border-radius:3px;"]);
|
|
5130
|
+
const Placeholder = styled__default.a.withConfig({
|
|
5131
|
+
displayName: "wrapper__Placeholder"
|
|
5132
|
+
})(["display:block;position:relative;width:100%;height:0;padding-bottom:43.75%;background-image:linear-gradient(-15deg,#dfe4ce,#c1d6ea,#dfe4ce);border-radius:3px;color:", ";"], props => props.theme.color.textDark);
|
|
5133
|
+
const PlaceholderAction = styled__default.div.withConfig({
|
|
5134
|
+
displayName: "wrapper__PlaceholderAction"
|
|
5135
|
+
})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]);
|
|
7094
5136
|
|
|
7095
5137
|
const StaticMap = ({
|
|
7096
5138
|
position
|
|
@@ -7889,36 +5931,24 @@ var removeProperties = (properties => {
|
|
|
7889
5931
|
return newProperties;
|
|
7890
5932
|
});
|
|
7891
5933
|
|
|
7892
|
-
const TableList = styled__default.ul
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
flex: 1 1 auto;
|
|
7911
|
-
`;
|
|
7912
|
-
const TableListValue = styled__default.div`
|
|
7913
|
-
flex-shrink: 0;
|
|
7914
|
-
padding-left: ${size(1)};
|
|
7915
|
-
`;
|
|
7916
|
-
const TableListBooleanPos = styled__default.div`
|
|
7917
|
-
color: ${props => props.theme.color.ui.positive};
|
|
7918
|
-
`;
|
|
7919
|
-
const TableListBooleanNeg = styled__default.div`
|
|
7920
|
-
color: ${props => props.theme.color.ui.negative};
|
|
7921
|
-
`;
|
|
5934
|
+
const TableList = styled__default.ul.withConfig({
|
|
5935
|
+
displayName: "TableList"
|
|
5936
|
+
})(["list-style:none;padding:0;margin:0;border-top:1px solid ", ";border-bottom:1px solid ", ";font-size:0.875rem;"], props => props.theme.color.border, props => props.theme.color.border);
|
|
5937
|
+
const TableListItem = styled__default.li.withConfig({
|
|
5938
|
+
displayName: "TableList__TableListItem"
|
|
5939
|
+
})(["display:flex;align-items:center;padding:", " 0;& + &{border-top:1px solid ", ";}"], size(1), props => props.theme.color.border);
|
|
5940
|
+
const TableListKey = styled__default.div.withConfig({
|
|
5941
|
+
displayName: "TableList__TableListKey"
|
|
5942
|
+
})(["flex:1 1 auto;"]);
|
|
5943
|
+
const TableListValue = styled__default.div.withConfig({
|
|
5944
|
+
displayName: "TableList__TableListValue"
|
|
5945
|
+
})(["flex-shrink:0;padding-left:", ";"], size(1));
|
|
5946
|
+
const TableListBooleanPos = styled__default.div.withConfig({
|
|
5947
|
+
displayName: "TableList__TableListBooleanPos"
|
|
5948
|
+
})(["color:", ";"], props => props.theme.color.ui.positive);
|
|
5949
|
+
const TableListBooleanNeg = styled__default.div.withConfig({
|
|
5950
|
+
displayName: "TableList__TableListBooleanNeg"
|
|
5951
|
+
})(["color:", ";"], props => props.theme.color.ui.negative);
|
|
7922
5952
|
|
|
7923
5953
|
const formatValue = (value, unit) => {
|
|
7924
5954
|
if (typeof value === 'boolean') {
|
|
@@ -7953,7 +5983,7 @@ const MetadataItem = ({
|
|
|
7953
5983
|
const [foldout, setFoldout] = React.useState(false);
|
|
7954
5984
|
const onToggleFoldout = React.useCallback(() => setFoldout(!foldout), [foldout]);
|
|
7955
5985
|
const presentedValue = formatValue(value, unit);
|
|
7956
|
-
return React__default.createElement(TableListItem, null, React__default.createElement(TableListKey, null, hint ? React__default.createElement(
|
|
5986
|
+
return React__default.createElement(TableListItem, null, React__default.createElement(TableListKey, null, hint ? React__default.createElement(ButtonInline, {
|
|
7957
5987
|
onClick: onToggleFoldout,
|
|
7958
5988
|
title: `Mer information om ${name}`
|
|
7959
5989
|
}, name) : name), React__default.createElement(TableListValue, null, value !== undefined ? presentedValue : 'Uppgift saknas'), hint && foldout && React__default.createElement(Modal, {
|
|
@@ -7966,64 +5996,21 @@ const MetadataItem = ({
|
|
|
7966
5996
|
})));
|
|
7967
5997
|
};
|
|
7968
5998
|
|
|
7969
|
-
const Wrapper$x = styled__default.div
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
}
|
|
7979
|
-
`;
|
|
7980
|
-
const List$9 = styled__default.ul`
|
|
7981
|
-
list-style: none;
|
|
7982
|
-
padding: 0;
|
|
7983
|
-
margin: 0;
|
|
7984
|
-
overflow: auto;
|
|
7985
|
-
-webkit-overflow-scrolling: touch;
|
|
7986
|
-
white-space: nowrap;
|
|
7987
|
-
font-size: 0;
|
|
7988
|
-
|
|
7989
|
-
${props => props.theme.breakpoint.LtSm} {
|
|
7990
|
-
padding-left: ${size(1)};
|
|
7991
|
-
padding-right: ${size(1)};
|
|
7992
|
-
}
|
|
7993
|
-
`;
|
|
7994
|
-
const Item$b = styled__default.li`
|
|
7995
|
-
display: inline-block;
|
|
7996
|
-
vertical-align: bottom;
|
|
7997
|
-
font-size: 1rem;
|
|
7998
|
-
`;
|
|
5999
|
+
const Wrapper$x = styled__default.div.withConfig({
|
|
6000
|
+
displayName: "wrapper__Wrapper"
|
|
6001
|
+
})(["overflow:hidden;margin-top:", ";margin-left:", ";margin-right:", ";", "{margin-left:", ";margin-right:", ";}"], size(-1), size(-1), size(-1), props => props.theme.breakpoint.LtSm, size(-2), size(-2));
|
|
6002
|
+
const List$9 = styled__default.ul.withConfig({
|
|
6003
|
+
displayName: "wrapper__List"
|
|
6004
|
+
})(["list-style:none;padding:0;margin:0;overflow:auto;-webkit-overflow-scrolling:touch;white-space:nowrap;font-size:0;", "{padding-left:", ";padding-right:", ";}"], props => props.theme.breakpoint.LtSm, size(1), size(1));
|
|
6005
|
+
const Item$b = styled__default.li.withConfig({
|
|
6006
|
+
displayName: "wrapper__Item"
|
|
6007
|
+
})(["display:inline-block;vertical-align:bottom;font-size:1rem;"]);
|
|
7999
6008
|
const Action$8 = styled__default(ButtonReset).attrs(() => ({
|
|
8000
6009
|
role: 'tab',
|
|
8001
6010
|
className: 'wayke__theme wayke__font--bold'
|
|
8002
|
-
}))
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
padding: ${size(1)};
|
|
8006
|
-
color: ${props => props.theme.color.textDarkLighten};
|
|
8007
|
-
|
|
8008
|
-
:hover {
|
|
8009
|
-
color: ${props => props.theme.color.textDark};
|
|
8010
|
-
}
|
|
8011
|
-
|
|
8012
|
-
:after {
|
|
8013
|
-
content: '';
|
|
8014
|
-
position: absolute;
|
|
8015
|
-
bottom: 0;
|
|
8016
|
-
left: ${size(1)};
|
|
8017
|
-
right: ${size(1)};
|
|
8018
|
-
height: 2px;
|
|
8019
|
-
background-color: ${props => props.theme.color.textDark};
|
|
8020
|
-
transform: scaleY(0);
|
|
8021
|
-
transition: transform 200ms ease;
|
|
8022
|
-
z-index: 1;
|
|
8023
|
-
}
|
|
8024
|
-
|
|
8025
|
-
${props => props.active && styled.css(["color:", ";:after{transform:scaleY(1);}"], props => props.theme.color.textDark)}
|
|
8026
|
-
`;
|
|
6011
|
+
})).withConfig({
|
|
6012
|
+
displayName: "wrapper__Action"
|
|
6013
|
+
})(["position:relative;display:block;padding:", ";color:", ";:hover{color:", ";}:after{content:'';position:absolute;bottom:0;left:", ";right:", ";height:2px;background-color:", ";transform:scaleY(0);transition:transform 200ms ease;z-index:1;}", ""], size(1), props => props.theme.color.textDarkLighten, props => props.theme.color.textDark, size(1), size(1), props => props.theme.color.textDark, props => props.active && styled.css(["color:", ";:after{transform:scaleY(1);}"], props => props.theme.color.textDark));
|
|
8027
6014
|
|
|
8028
6015
|
const Tabs = ({
|
|
8029
6016
|
tabs,
|
|
@@ -8110,6 +6097,48 @@ const PropertySet = ({
|
|
|
8110
6097
|
})));
|
|
8111
6098
|
};
|
|
8112
6099
|
|
|
6100
|
+
const PdfListItem = styled__default.li.attrs(() => ({
|
|
6101
|
+
className: 'wayke__theme wayke__color--primary-text'
|
|
6102
|
+
})).withConfig({
|
|
6103
|
+
displayName: "wrapper__PdfListItem"
|
|
6104
|
+
})(["flex:0 0 50%;padding:", ";", "{flex:0 0 100%;}"], size(1), ({
|
|
6105
|
+
theme
|
|
6106
|
+
}) => theme.breakpoint.LtSm);
|
|
6107
|
+
const PdfContainer = styled__default.ul.withConfig({
|
|
6108
|
+
displayName: "wrapper__PdfContainer"
|
|
6109
|
+
})(["list-style:none;padding:0;display:flex;flex-wrap:wrap;margin:", ";"], size(-1));
|
|
6110
|
+
const PdfLink = styled__default.a.attrs(() => ({
|
|
6111
|
+
className: 'wayke__theme wayke__color--primary-text wayke__font--bold'
|
|
6112
|
+
})).withConfig({
|
|
6113
|
+
displayName: "wrapper__PdfLink"
|
|
6114
|
+
})(["text-decoration:none;font-size:0.875rem;&:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;}"]);
|
|
6115
|
+
const PdfTitle = styled__default.div.withConfig({
|
|
6116
|
+
displayName: "wrapper__PdfTitle"
|
|
6117
|
+
})(["color:", ";"], props => props.theme.color.textDark);
|
|
6118
|
+
const PdfSubtitle = styled__default.div.withConfig({
|
|
6119
|
+
displayName: "wrapper__PdfSubtitle"
|
|
6120
|
+
})(["color:", ";"], props => props.theme.color.textDarkLighten);
|
|
6121
|
+
const PdfColumn = styled__default.div.withConfig({
|
|
6122
|
+
displayName: "wrapper__PdfColumn"
|
|
6123
|
+
})(["flex 0 0 auto;&:first-child{flex:1 1 auto;}"]);
|
|
6124
|
+
const PdfListInner = styled__default.div.withConfig({
|
|
6125
|
+
displayName: "wrapper__PdfListInner"
|
|
6126
|
+
})(["position:relative;border:1px solid ", ";padding:", ";display:flex;align-items:center;:hover{background-color:", ";}"], props => props.theme.color.border, size(1.5), props => props.theme.color.hoverOverlay);
|
|
6127
|
+
|
|
6128
|
+
const PdfDownloadItem = ({
|
|
6129
|
+
document
|
|
6130
|
+
}) => React__default.createElement(PdfListItem, null, React__default.createElement(PdfListInner, null, React__default.createElement(PdfColumn, null, React__default.createElement(PdfTitle, null, document.name), React__default.createElement(PdfSubtitle, null, document.contentType)), React__default.createElement(PdfColumn, null, React__default.createElement(PdfLink, {
|
|
6131
|
+
href: document.url,
|
|
6132
|
+
rel: "noopener noreferrer nofollow",
|
|
6133
|
+
target: "_blank"
|
|
6134
|
+
}, "\u00D6ppna"))));
|
|
6135
|
+
const PdfDownloadContainer = ({
|
|
6136
|
+
documents
|
|
6137
|
+
}) => React__default.createElement(PdfContainer, null, documents.map((document, i) => React__default.createElement(PdfDownloadItem, {
|
|
6138
|
+
key: `${document.url}-${i}`,
|
|
6139
|
+
document: document
|
|
6140
|
+
})));
|
|
6141
|
+
|
|
8113
6142
|
const WaykeSearchItem = ({
|
|
8114
6143
|
id,
|
|
8115
6144
|
hashRoute,
|
|
@@ -8182,7 +6211,8 @@ const WaykeSearchItem = ({
|
|
|
8182
6211
|
manufacturer,
|
|
8183
6212
|
ecommerce,
|
|
8184
6213
|
packageOptions,
|
|
8185
|
-
publishedAt
|
|
6214
|
+
publishedAt,
|
|
6215
|
+
documents
|
|
8186
6216
|
} = vehicle;
|
|
8187
6217
|
const {
|
|
8188
6218
|
fuelType,
|
|
@@ -8274,7 +6304,11 @@ const WaykeSearchItem = ({
|
|
|
8274
6304
|
onClick: onShowMoreOptionsClick
|
|
8275
6305
|
}, React__default.createElement(UspList, {
|
|
8276
6306
|
items: options
|
|
8277
|
-
})))), React__default.createElement(ProductPageMainSection, null, React__default.createElement(
|
|
6307
|
+
})))), (documents.length || 0) > 0 && React__default.createElement(ProductPageMainSection, null, React__default.createElement(Repeat, null, React__default.createElement(H2, {
|
|
6308
|
+
noMargin: true
|
|
6309
|
+
}, "Dokument")), React__default.createElement(Repeat, null, React__default.createElement(Content$2, null, React__default.createElement("p", null, "Tillh\u00F6rande dokument f\u00F6r bilen."))), React__default.createElement(Repeat, null, React__default.createElement(PdfDownloadContainer, {
|
|
6310
|
+
documents: documents
|
|
6311
|
+
}))), React__default.createElement(ProductPageMainSection, null, React__default.createElement(Branch, {
|
|
8278
6312
|
branch: branch,
|
|
8279
6313
|
loading: loadingCentralStorageVehicle
|
|
8280
6314
|
}), ecommerce && ecommerce.enabled && React__default.createElement(Repeat, null, React__default.createElement(ButtonPrimary, {
|
|
@@ -8529,24 +6563,9 @@ const SearchProvider = ({
|
|
|
8529
6563
|
|
|
8530
6564
|
const Root = styled__default.div.attrs(() => ({
|
|
8531
6565
|
className: 'wayke__theme wayke__font--regular'
|
|
8532
|
-
}))
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
font-size: 1rem;
|
|
8536
|
-
line-height: 1.5;
|
|
8537
|
-
-webkit-font-smoothing: antialiased;
|
|
8538
|
-
-moz-osx-font-smoothing: grayscale;
|
|
8539
|
-
|
|
8540
|
-
*,
|
|
8541
|
-
*:before,
|
|
8542
|
-
*:after {
|
|
8543
|
-
box-sizing: border-box;
|
|
8544
|
-
}
|
|
8545
|
-
|
|
8546
|
-
a img {
|
|
8547
|
-
border: 0;
|
|
8548
|
-
}
|
|
8549
|
-
`;
|
|
6566
|
+
})).withConfig({
|
|
6567
|
+
displayName: "Root"
|
|
6568
|
+
})(["background-color:", ";color:", ";font-size:1rem;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;*,*:before,*:after{box-sizing:border-box;}a img{border:0;}"], props => props.theme.color.bg, props => props.theme.color.textDark);
|
|
8550
6569
|
|
|
8551
6570
|
const useEcom = ecomSettings => {
|
|
8552
6571
|
if (ecomSettings === null || ecomSettings === void 0 ? void 0 : ecomSettings.url) {
|
|
@@ -8854,7 +6873,7 @@ const WaykeComposite = ({
|
|
|
8854
6873
|
const WaykeCompositeWithProvider = ({
|
|
8855
6874
|
provider,
|
|
8856
6875
|
composite
|
|
8857
|
-
}) => React__default.createElement(WaykeProvider,
|
|
6876
|
+
}) => React__default.createElement(WaykeProvider, _objectSpread2({}, provider), React__default.createElement(WaykeComposite, _objectSpread2({}, composite)));
|
|
8858
6877
|
|
|
8859
6878
|
const WaykeItemProvider = ({
|
|
8860
6879
|
url,
|