1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, '__esModule', { value: true });
|
4 |
|
5 | function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
6 |
|
7 | var React = require('react');
|
8 | var React__default = _interopDefault(React);
|
9 | var PropTypes = _interopDefault(require('prop-types'));
|
10 | var styled = require('styled-components');
|
11 | var styled__default = _interopDefault(styled);
|
12 | var reactSizeme = require('react-sizeme');
|
13 | var Instafeed = _interopDefault(require('instafeed.js'));
|
14 |
|
15 | var _templateObject = _taggedTemplateLiteral(['\n 0% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n 90% {\n opacity 1;\n }\n 100% {\n opacity 0;\n }\n'], ['\n 0% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n 90% {\n opacity 1;\n }\n 100% {\n opacity 0;\n }\n']),
|
16 | _templateObject2 = _taggedTemplateLiteral(['\n animation: ', ' ', 's ease-in-out ', ';\n'], ['\n animation: ', ' ', 's ease-in-out ', ';\n']);
|
17 |
|
18 | function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
19 |
|
20 | function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
21 |
|
22 | var animation = styled.keyframes(_templateObject);
|
23 |
|
24 | var FadeInOut = styled__default(function (_ref) {
|
25 | var className = _ref.className,
|
26 | children = _ref.children,
|
27 | props = _objectWithoutProperties(_ref, ['className', 'children']);
|
28 |
|
29 | return React__default.cloneElement(children, {
|
30 | className: '' + (children.props.className ? children.props.className + ' ' : '') + className
|
31 | });
|
32 | })(_templateObject2, animation, function (props) {
|
33 | return props.duration;
|
34 | }, function (props) {
|
35 | return props.iteration;
|
36 | });
|
37 |
|
38 | FadeInOut.propTypes = {
|
39 | duration: PropTypes.number,
|
40 | iteration: PropTypes.string
|
41 | };
|
42 |
|
43 | FadeInOut.defaultProps = {
|
44 | duration: 5,
|
45 | iteration: 'infinite'
|
46 |
|
47 |
|
48 | };
|
49 |
|
50 | var _jsxFileName = '/Users/jrusso/Documents/ROA/mirage/src/core/grid/grid.js',
|
51 | _this = undefined;
|
52 |
|
53 | var _templateObject$1 = _taggedTemplateLiteral$1(['\n grid-template-columns:\n repeat(', ', 1fr);\n max-width: 144rem;\n padding: ', 'rem ', ';\n'], ['\n grid-template-columns:\n repeat(', ', 1fr);\n max-width: 144rem;\n padding: ', 'rem ', ';\n']),
|
54 | _templateObject2$1 = _taggedTemplateLiteral$1(['\n display: flex;\n flex-wrap: wrap;\n margin-left: auto;\n margin-right: auto;\n padding: ', 'rem ', ';\n @supports (display:grid) {\n max-width: 100%;\n grid-gap: ', 'rem;\n display: grid;\n grid-auto-flow: row;\n grid-template-columns:\n repeat(', ', 1fr);\n ', '\n ', '\n }\n'], ['\n display: flex;\n flex-wrap: wrap;\n margin-left: auto;\n margin-right: auto;\n padding: ', 'rem ', ';\n @supports (display:grid) {\n max-width: 100%;\n grid-gap: ', 'rem;\n display: grid;\n grid-auto-flow: row;\n grid-template-columns:\n repeat(', ', 1fr);\n ', '\n ', '\n }\n']),
|
55 | _templateObject3 = _taggedTemplateLiteral$1(['', ''], ['', '']);
|
56 |
|
57 | function _taggedTemplateLiteral$1(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
58 |
|
59 | var TwelveColGrid = styled.css(_templateObject$1, function (props) {
|
60 | return props.theme.grid.columns.desktop;
|
61 | }, function (props) {
|
62 | return props.theme.grid.gutter;
|
63 | }, function (props) {
|
64 | return props.theme.grid.margins.desktop;
|
65 | });
|
66 |
|
67 | var Grid = styled__default(function (_ref) {
|
68 | var className = _ref.className,
|
69 | children = _ref.children;
|
70 |
|
71 | return React__default.createElement(
|
72 | 'div',
|
73 | { className: className, __source: {
|
74 | fileName: _jsxFileName,
|
75 | lineNumber: 14
|
76 | },
|
77 | __self: _this
|
78 | },
|
79 | children
|
80 | );
|
81 | })(_templateObject2$1, function (props) {
|
82 | return props.theme.grid.gutter;
|
83 | }, function (props) {
|
84 | return props.theme.grid.margins.mobile;
|
85 | }, function (props) {
|
86 | return props.theme.grid.gutter;
|
87 | }, function (props) {
|
88 | return props.theme.grid.columns.mobile;
|
89 | }, function (props) {
|
90 | return props.theme.media.tablet(_templateObject3, TwelveColGrid);
|
91 | }, function (props) {
|
92 | return props.debug && '> * {\n background-color: hsl(200, 33%, 96%);\n }';
|
93 | });
|
94 |
|
95 | Grid.propTypes = {
|
96 | debug: PropTypes.bool,
|
97 | theme: PropTypes.shape({
|
98 | media: PropTypes.shape({
|
99 | tablet: PropTypes.func,
|
100 | desktop: PropTypes.func
|
101 | }),
|
102 | grid: PropTypes.shape({
|
103 | columns: PropTypes.shape({
|
104 | mobile: PropTypes.number,
|
105 | tablet: PropTypes.number,
|
106 | desktop: PropTypes.number
|
107 | }),
|
108 | gutter: PropTypes.string,
|
109 | margins: PropTypes.shape({
|
110 | mobile: PropTypes.number,
|
111 | tablet: PropTypes.number,
|
112 | desktop: PropTypes.number
|
113 | })
|
114 | })
|
115 | })
|
116 |
|
117 |
|
118 | };
|
119 |
|
120 | var _templateObject$2 = _taggedTemplateLiteral$2(['\n width: calc((100% * (', '/', ')) - 2rem);\n box-sizing: border-box;\n margin: 0 ', 'rem;\n @supports (display:grid) {\n width: auto;\n margin: 0;\n ', '\n grid-column-end: ', ';\n }\n'], ['\n width: calc((100% * (', '/', ')) - 2rem);\n box-sizing: border-box;\n margin: 0 ', 'rem;\n @supports (display:grid) {\n width: auto;\n margin: 0;\n ', '\n grid-column-end: ', ';\n }\n']),
|
121 | _templateObject2$2 = _taggedTemplateLiteral$2(['\n width: calc((100% * (', '/', ')) - 2rem);\n box-sizing: border-box;\n margin: 0 ', 'rem;\n @supports (display:grid) {\n width: auto;\n margin: 0;\n ', '\n grid-column-end: ', ';\n ', '\n ', '\n }\n'], ['\n width: calc((100% * (', '/', ')) - 2rem);\n box-sizing: border-box;\n margin: 0 ', 'rem;\n @supports (display:grid) {\n width: auto;\n margin: 0;\n ', '\n grid-column-end: ', ';\n ', '\n ', '\n }\n']),
|
122 | _templateObject3$1 = _taggedTemplateLiteral$2(['', ''], ['', '']);
|
123 |
|
124 | function _taggedTemplateLiteral$2(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
125 |
|
126 | var DesktopSizer = styled.css(_templateObject$2, function (props) {
|
127 | return props.desktop.width;
|
128 | }, function (props) {
|
129 | return props.theme.grid.columns.desktop;
|
130 | }, function (props) {
|
131 | return props.theme.grid.gutter / 2;
|
132 | }, function (props) {
|
133 | return props.desktop.start ? 'grid-column-start: ' + props.desktop.start + ';' : '';
|
134 | }, function (props) {
|
135 | if (props.desktop.start) {
|
136 | return props.desktop.start + props.desktop.width;
|
137 | } else {
|
138 | return 'span ' + props.desktop.width;
|
139 | }
|
140 | });
|
141 |
|
142 | var desktopFallback = function desktopFallback(props, key) {
|
143 | if (props.tablet && props.tablet[key]) {
|
144 | return props.tablet[key];
|
145 | }
|
146 | return props.desktop[key];
|
147 | };
|
148 |
|
149 | var TabletSizer = styled.css(_templateObject$2, function (props) {
|
150 | return desktopFallback(props, 'width');
|
151 | }, function (props) {
|
152 | return props.theme.grid.columns.tablet;
|
153 | }, function (props) {
|
154 | return props.theme.grid.gutter / 2;
|
155 | }, function (props) {
|
156 | return desktopFallback(props, 'start') ? 'grid-column-start: ' + desktopFallback(props, 'start') + ';' : '';
|
157 | }, function (props) {
|
158 | if (desktopFallback(props, 'start')) {
|
159 | return desktopFallback(props, 'start') + desktopFallback(props, 'width');
|
160 | } else {
|
161 | return 'span ' + desktopFallback(props, 'width');
|
162 | }
|
163 | });
|
164 | var Sizer = styled__default.div(_templateObject2$2, function (props) {
|
165 | return props.mobile.width;
|
166 | }, function (props) {
|
167 | return props.theme.grid.columns.mobile;
|
168 | }, function (props) {
|
169 | return props.theme.grid.gutter / 2;
|
170 | }, function (props) {
|
171 | return props.mobile.start ? 'grid-column-start: ' + props.mobile.start + ';' : '';
|
172 | }, function (props) {
|
173 | if (props.mobile.start) {
|
174 | return props.mobile.start + props.mobile.width;
|
175 | } else {
|
176 | return 'span ' + props.mobile.width;
|
177 | }
|
178 | }, function (props) {
|
179 | return props.theme.media.tablet(_templateObject3$1, TabletSizer);
|
180 | }, function (props) {
|
181 | return props.theme.media.desktop(_templateObject3$1, DesktopSizer);
|
182 | });
|
183 |
|
184 | Sizer.defaultProps = {
|
185 | desktop: {
|
186 | width: 12
|
187 | },
|
188 | mobile: {
|
189 | width: 4
|
190 | }
|
191 | };
|
192 |
|
193 | Sizer.propTypes = {
|
194 | desktop: PropTypes.shape({
|
195 | width: PropTypes.number,
|
196 | start: PropTypes.number
|
197 | }),
|
198 | mobile: PropTypes.shape({
|
199 | width: PropTypes.number,
|
200 | start: PropTypes.number
|
201 | })
|
202 |
|
203 |
|
204 | };
|
205 |
|
206 | var _templateObject$3 = _taggedTemplateLiteral$3(['\n max-width: 1440px;\n margin: 0 auto;\n'], ['\n max-width: 1440px;\n margin: 0 auto;\n']),
|
207 | _templateObject2$3 = _taggedTemplateLiteral$3(['\n max-width: 100%;\n margin-left: 10px;\n margin-right: 10px;\n ', '\n'], ['\n max-width: 100%;\n margin-left: 10px;\n margin-right: 10px;\n ', '\n']),
|
208 | _templateObject3$2 = _taggedTemplateLiteral$3(['\n margin-left: 20px;\n margin-right: 20px;\n '], ['\n margin-left: 20px;\n margin-right: 20px;\n ']),
|
209 | _templateObject4 = _taggedTemplateLiteral$3(['\n padding: 0 3%;\n ', '\n'], ['\n padding: 0 3%;\n ', '\n']),
|
210 | _templateObject5 = _taggedTemplateLiteral$3(['\n padding: 0 7%;\n '], ['\n padding: 0 7%;\n ']),
|
211 | _templateObject6 = _taggedTemplateLiteral$3(['\n display: flex;\n flex-wrap: wrap;\n ', '\n ', '\n'], ['\n display: flex;\n flex-wrap: wrap;\n ', '\n ', '\n']);
|
212 |
|
213 | function _taggedTemplateLiteral$3(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
214 |
|
215 | var constrained = styled.css(_templateObject$3);
|
216 |
|
217 | var notConstrained = styled.css(_templateObject2$3, function (props) {
|
218 | return props.theme.media.tablet(_templateObject3$2);
|
219 | });
|
220 |
|
221 | var padding = styled.css(_templateObject4, function (props) {
|
222 | return props.theme.media.tablet(_templateObject5);
|
223 | });
|
224 |
|
225 | var FlexRow = styled.css(_templateObject6, function (props) {
|
226 | return props.constrained ? constrained : notConstrained;
|
227 | }, function (props) {
|
228 | return props.padding && padding;
|
229 | });
|
230 |
|
231 | FlexRow.propTypes = {
|
232 | constrained: PropTypes.bool,
|
233 | padding: PropTypes.bool
|
234 |
|
235 |
|
236 | };
|
237 |
|
238 | var _templateObject$4 = _taggedTemplateLiteral$4(['\n margin-left: ', ';\n '], ['\n margin-left: ', ';\n ']),
|
239 | _templateObject2$4 = _taggedTemplateLiteral$4(['\n box-sizing: border-box;\n max-width: ', ';\n flex-basis: ', ';\n ', '\n ', '\n\n ', '\n'], ['\n box-sizing: border-box;\n max-width: ', ';\n flex-basis: ', ';\n ', '\n ', '\n\n ', '\n']),
|
240 | _templateObject3$3 = _taggedTemplateLiteral$4(['\n max-width: ', ';\n flex-basis: ', ';\n ', '\n '], ['\n max-width: ', ';\n flex-basis: ', ';\n ', '\n ']);
|
241 |
|
242 | function _objectWithoutProperties$1(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
243 |
|
244 | function _taggedTemplateLiteral$4(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
245 |
|
246 | var columnToPercent = function columnToPercent(elementWidth, containerWidth) {
|
247 | return 100 * (elementWidth / containerWidth) + '%';
|
248 | };
|
249 |
|
250 | var spanner = function spanner(props, breakpoint) {
|
251 | if (props[breakpoint].span) {
|
252 | return styled.css(_templateObject$4, function (props) {
|
253 | return props.desktop.nested ? columnToPercent(props.desktop.span, props.desktop.nested) : columnToPercent(props.desktop.span, props.theme.grid.columns.desktop);
|
254 | });
|
255 | } else {
|
256 | return null;
|
257 | }
|
258 | };
|
259 |
|
260 | var FlexCol = styled__default(function (_ref) {
|
261 | var className = _ref.className,
|
262 | children = _ref.children,
|
263 | props = _objectWithoutProperties$1(_ref, ['className', 'children']);
|
264 |
|
265 | return React__default.cloneElement(children, {
|
266 | className: '' + (children.props.className ? children.props.className + ' ' : '') + className
|
267 | });
|
268 | })(_templateObject2$4, function (props) {
|
269 | return props.mobile.nested ? columnToPercent(props.mobile.width, props.mobile.nested) : columnToPercent(props.mobile.width, props.theme.grid.columns.mobile);
|
270 | }, function (props) {
|
271 | return props.mobile.nested ? columnToPercent(props.mobile.width, props.mobile.nested) : columnToPercent(props.mobile.width, props.theme.grid.columns.mobile);
|
272 | }, function (props) {
|
273 | return spanner(props, 'mobile');
|
274 | }, function (props) {
|
275 | return props.nested ? '\n padding-left: 0;\n padding-right: 0;\n ' : '\n padding-left: 5px;\n padding-right: 5px;\n ';
|
276 | }, function (props) {
|
277 | return props.theme.media.tablet(_templateObject3$3, function (props) {
|
278 | return props.desktop.nested ? columnToPercent(props.desktop.width, props.desktop.nested) : columnToPercent(props.desktop.width, props.theme.grid.columns.desktop);
|
279 | }, function (props) {
|
280 | return props.desktop.nested ? columnToPercent(props.desktop.width, props.desktop.nested) : columnToPercent(props.desktop.width, props.theme.grid.columns.desktop);
|
281 | }, function (props) {
|
282 | return spanner(props, 'desktop');
|
283 | });
|
284 | });
|
285 |
|
286 | FlexCol.propTypes = {
|
287 | children: PropTypes.node.isRequired,
|
288 | mobile: PropTypes.shape({
|
289 | width: PropTypes.number.isRequired,
|
290 | span: PropTypes.number,
|
291 | nested: PropTypes.number
|
292 | }),
|
293 | desktop: PropTypes.shape({
|
294 | width: PropTypes.number.isRequired,
|
295 | span: PropTypes.number,
|
296 | nested: PropTypes.number
|
297 | })
|
298 | };
|
299 |
|
300 | FlexCol.defaultProps = {
|
301 | mobile: {
|
302 | width: 4
|
303 | },
|
304 | desktop: {
|
305 | width: 12
|
306 | }
|
307 |
|
308 |
|
309 | };
|
310 |
|
311 | var _jsxFileName$1 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/BagIcon.js',
|
312 | _this$1 = undefined;
|
313 |
|
314 | var _templateObject$5 = _taggedTemplateLiteral$5(['\n width: ', ';\n > polygon, path {\n fill: none;\n stroke: ', ';\n stroke-linecap:round;\n stroke-linejoin:round;\n }\n > g circle {\n fill: ', ';\n }\n > g text {\n fill: ', ';\n font-family: ', ';\n font-size: .8rem;\n font-weight: 500;\n }\n'], ['\n width: ', ';\n > polygon, path {\n fill: none;\n stroke: ', ';\n stroke-linecap:round;\n stroke-linejoin:round;\n }\n > g circle {\n fill: ', ';\n }\n > g text {\n fill: ', ';\n font-family: ', ';\n font-size: .8rem;\n font-weight: 500;\n }\n']);
|
315 |
|
316 | function _taggedTemplateLiteral$5(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
317 |
|
318 | var BaseBagIcon = function BaseBagIcon(_ref) {
|
319 | var className = _ref.className,
|
320 | count = _ref.count;
|
321 |
|
322 | return React__default.createElement(
|
323 | 'svg',
|
324 | { className: className, version: '1.1', viewBox: '0 0 19 15', __source: {
|
325 | fileName: _jsxFileName$1,
|
326 | lineNumber: 7
|
327 | },
|
328 | __self: _this$1
|
329 | },
|
330 | React__default.createElement('polygon', { points: '10.5,12.7 10.6,6.8 0.5,6.8 0.5,12.7 2.6,14.5 8.7,14.5', __source: {
|
331 | fileName: _jsxFileName$1,
|
332 | lineNumber: 8
|
333 | },
|
334 | __self: _this$1
|
335 | }),
|
336 | React__default.createElement('path', { d: 'M3.1,6.4v-1C3.1,4.1,4.2,3,5.5,3s2.4,1.1,2.4,2.4v1H3.1z', __source: {
|
337 | fileName: _jsxFileName$1,
|
338 | lineNumber: 9
|
339 | },
|
340 | __self: _this$1
|
341 | }),
|
342 | count && React__default.createElement(
|
343 | 'g',
|
344 | {
|
345 | __source: {
|
346 | fileName: _jsxFileName$1,
|
347 | lineNumber: 11
|
348 | },
|
349 | __self: _this$1
|
350 | },
|
351 | React__default.createElement('circle', { cx: '13', cy: '6', r: '6', __source: {
|
352 | fileName: _jsxFileName$1,
|
353 | lineNumber: 12
|
354 | },
|
355 | __self: _this$1
|
356 | }),
|
357 | React__default.createElement(
|
358 | 'text',
|
359 | { x: '12.75', y: '7', alignmentBaseline: 'middle', textAnchor: 'middle', __source: {
|
360 | fileName: _jsxFileName$1,
|
361 | lineNumber: 13
|
362 | },
|
363 | __self: _this$1
|
364 | },
|
365 | count
|
366 | )
|
367 | )
|
368 | );
|
369 | };
|
370 |
|
371 | var BagIcon = styled__default(BaseBagIcon)(_templateObject$5, function (props) {
|
372 | return props.width;
|
373 | }, function (props) {
|
374 | return props.theme.colors.rocketBlue;
|
375 | }, function (props) {
|
376 | return props.theme.colors.rocketBlue;
|
377 | }, function (props) {
|
378 | return props.theme.colors.white;
|
379 | }, function (props) {
|
380 | return props.theme.fonts.primaryFont;
|
381 | });
|
382 |
|
383 | BagIcon.propTypes = {
|
384 | theme: PropTypes.shape({
|
385 | colors: PropTypes.shape({
|
386 | rocketBlue: PropTypes.string,
|
387 | white: PropTypes.string
|
388 | }),
|
389 | fonts: PropTypes.shape({
|
390 | primaryFont: PropTypes.string
|
391 | })
|
392 | }),
|
393 | width: PropTypes.string
|
394 | };
|
395 |
|
396 | BagIcon.propTypes = {
|
397 | count: PropTypes.number,
|
398 | width: PropTypes.string.isRequired
|
399 | };
|
400 |
|
401 | BagIcon.defaultProps = {
|
402 | width: '2rem'
|
403 |
|
404 |
|
405 | };
|
406 |
|
407 | var _jsxFileName$2 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/CardIcon.base.js',
|
408 | _this$2 = undefined;
|
409 |
|
410 | var BaseCardIcon = function BaseCardIcon(_ref) {
|
411 | var className = _ref.className,
|
412 | children = _ref.children,
|
413 | box = _ref.box;
|
414 |
|
415 | return React__default.createElement(
|
416 | 'svg',
|
417 | { className: className, version: '1.1', xmlns: 'http://www.w3.org/2000/svg', viewBox: box, __source: {
|
418 | fileName: _jsxFileName$2,
|
419 | lineNumber: 6
|
420 | },
|
421 | __self: _this$2
|
422 | },
|
423 | children
|
424 | );
|
425 | };
|
426 |
|
427 | BaseCardIcon.propTypes = {
|
428 | box: PropTypes.string,
|
429 | className: PropTypes.string,
|
430 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.object, PropTypes.string])
|
431 | };
|
432 |
|
433 | var _jsxFileName$3 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Amex.base.js',
|
434 | _this$3 = undefined;
|
435 |
|
436 | var Amex = function Amex(_ref) {
|
437 | var className = _ref.className;
|
438 | return React__default.createElement(
|
439 | BaseCardIcon,
|
440 | { className: className, box: '0 0 750 472', __source: {
|
441 | fileName: _jsxFileName$3,
|
442 | lineNumber: 7
|
443 | },
|
444 | __self: _this$3
|
445 | },
|
446 | React__default.createElement(
|
447 | 'g',
|
448 | { fillRule: 'evenodd', __source: {
|
449 | fileName: _jsxFileName$3,
|
450 | lineNumber: 8
|
451 | },
|
452 | __self: _this$3
|
453 | },
|
454 | React__default.createElement('path', { d: 'M0,41.0047706 C0,18.9107459 17.9143492,1 39.9919369,1 L710.008063,1 C732.095,1 750,18.9064659 750,41.0047706 L750,431.995229 C750,454.089254 732.085651,472 710.008063,472 L39.9919369,472 C17.905,472 0,454.093534 0,431.995229 L0,41.0047706 Z M0.00266072556,221.9061 L36.0288848,221.9061 L44.15208,202.394972 L62.3381392,202.394972 L70.4400485,221.9061 L141.324438,221.9061 L141.324438,206.989254 L147.651644,221.969689 L184.449478,221.969689 L190.776684,206.766694 L190.776684,221.9061 L366.938002,221.9061 L366.855519,189.878599 L370.263908,189.878599 C372.650579,189.960734 373.347689,190.180645 373.347689,194.104597 L373.347689,221.9061 L464.458915,221.9061 L464.458915,214.450327 C471.807839,218.371629 483.238316,221.9061 498.279397,221.9061 L536.60981,221.9061 L544.812827,202.394972 L562.998886,202.394972 L571.020974,221.9061 L644.885376,221.9061 L644.885376,203.372648 L656.071066,221.9061 L715.261567,221.9061 L715.261567,99.3918994 L656.683033,99.3918994 L656.683033,113.860975 L648.480016,99.3918994 L588.371565,99.3918994 L588.371565,113.860975 L580.839051,99.3918994 L499.64701,99.3918994 C486.056024,99.3918994 474.109366,101.281013 464.458915,106.545627 L464.458915,99.3918994 L408.429356,99.3918994 L408.429356,106.545627 C402.288401,101.119392 393.920419,99.3918994 384.615862,99.3918994 L179.918263,99.3918994 L166.183597,131.035219 L152.079091,99.3918994 L87.6043891,99.3918994 L87.6043891,113.860975 L80.5215377,99.3918994 L25.5349832,99.3918994 L0,157.641785 L0,221.9061 L0.00266072556,221.9061 L0.00266072556,221.9061 Z M227.659661,204.65237 L206.043927,204.65237 L205.964105,135.854711 L175.389708,204.65237 L156.876379,204.65237 L126.22216,135.793772 L126.22216,204.65237 L83.3365853,204.65237 L75.234676,185.059106 L31.3327042,185.059106 L23.1483124,204.65237 L0.247447477,204.65237 L38.0058039,116.8099 L69.3331867,116.8099 L105.194446,199.978602 L105.194446,116.8099 L139.60827,116.8099 L167.202655,176.400447 L192.551387,116.8099 L227.657001,116.8099 L227.657001,204.65237 L227.659661,204.65237 L227.659661,204.65237 Z M67.6223402,166.748214 L53.1905647,131.729395 L38.8412718,166.748214 L67.6223402,166.748214 L67.6223402,166.748214 Z M313.811294,204.65237 L243.373906,204.65237 L243.373906,116.8099 L313.811294,116.8099 L313.811294,135.102245 L264.460157,135.102245 L264.460157,150.935828 L312.627271,150.935828 L312.627271,168.942024 L264.460157,168.942024 L264.460157,186.484553 L313.811294,186.484553 L313.811294,204.65237 L313.811294,204.65237 L313.811294,204.65237 Z M413.125537,140.467541 C413.125537,154.472949 403.738497,161.708811 398.268045,163.881425 C402.881743,165.630113 406.822278,168.719464 408.698089,171.278908 C411.675441,175.647981 412.188961,179.550736 412.188961,187.395991 L412.188961,204.65237 L390.921782,204.65237 L390.84196,193.574691 C390.84196,188.288882 391.350159,180.687384 387.513392,176.461386 C384.432272,173.372036 379.736092,172.701705 372.145041,172.701705 L349.510249,172.701705 L349.510249,204.65237 L328.42666,204.65237 L328.42666,116.8099 L376.923705,116.8099 C387.699643,116.8099 395.639248,117.0934 402.456027,121.017352 C409.126466,124.941303 413.125537,130.669584 413.125537,140.467541 L413.125537,140.467541 Z M385.552438,152.803746 C382.654907,154.555084 379.227893,154.613374 375.122393,154.613374 L349.507588,154.613374 L349.507588,135.102245 L375.470948,135.102245 C379.14541,135.102245 382.979516,135.266516 385.469955,136.686663 C388.205181,137.966386 389.897402,140.690101 389.897402,144.452432 C389.897402,148.291599 388.287663,151.380949 385.552438,152.803746 L385.552438,152.803746 Z M446.868858,204.65237 L425.354231,204.65237 L425.354231,116.8099 L446.868858,116.8099 L446.868858,204.65237 L446.868858,204.65237 Z M696.466202,204.65237 L666.586254,204.65237 L626.619495,138.721501 L626.619495,204.65237 L583.678045,204.65237 L575.472367,185.059106 L531.671503,185.059106 L523.710612,204.65237 L499.037704,204.65237 C488.788589,204.65237 475.812231,202.394972 468.463307,194.936549 C461.053186,187.478126 457.197795,177.375474 457.197795,161.401466 C457.197795,148.373734 459.501983,136.464103 468.564414,127.052978 C475.381193,120.042325 486.056024,116.8099 500.586247,116.8099 L520.999333,116.8099 L520.999333,135.632151 L501.014623,135.632151 C493.319805,135.632151 488.97484,136.771448 484.789519,140.835825 C481.194879,144.534567 478.728386,151.526673 478.728386,160.733785 C478.728386,170.14491 480.606858,176.930353 484.526107,181.363014 C487.772192,184.839195 493.671021,185.893708 499.221294,185.893708 L508.690817,185.893708 L538.40846,116.81255 L570.001916,116.81255 L605.700871,199.899116 L605.700871,116.81255 L637.805185,116.81255 L674.869092,177.990164 L674.869092,116.81255 L696.466202,116.81255 L696.466202,204.65237 L696.466202,204.65237 Z M568.285748,166.748214 L553.694329,131.729395 L539.182732,166.748214 L568.285748,166.748214 Z M750,344.518333 C744.878103,351.976756 734.897722,355.757633 721.386557,355.757633 L680.666813,355.757633 L680.666813,336.916836 L721.221592,336.916836 C725.244609,336.916836 728.059657,336.38958 729.754539,334.741573 C731.22326,333.382365 732.247639,331.408466 732.247639,329.010643 C732.247639,326.451198 731.22326,324.41901 729.672057,323.200226 C728.14214,321.859565 725.915112,321.250173 722.243311,321.250173 C702.444852,320.579843 677.745337,321.859565 677.745337,294.055412 C677.745337,281.31118 685.871193,267.896617 707.997786,267.896617 L749.997339,267.896617 L749.997339,250.415027 L710.975138,250.415027 C699.198767,250.415027 690.644534,253.223528 684.586062,257.589951 L684.586062,250.415027 L626.866942,250.415027 C617.636885,250.415027 606.802411,252.693622 601.677854,257.589951 L601.677854,250.415027 L498.606667,250.415027 L498.606667,257.589951 C490.40365,251.697399 476.562555,250.415027 470.174153,250.415027 L402.187294,250.415027 L402.187294,257.589951 C395.697784,251.331764 381.266009,250.415027 372.46965,250.415027 L296.380881,250.415027 L278.969093,269.178989 L262.661506,250.415027 L149.000631,250.415027 L149.000631,373.014013 L260.522283,373.014013 L278.463555,353.953304 L295.364484,373.014013 L364.10699,373.074952 L364.10699,344.234834 L370.865232,344.234834 C379.9862,344.375259 390.743513,344.009624 400.234321,339.924051 L400.234321,373.011363 L456.934383,373.011363 L456.934383,341.058049 L459.669609,341.058049 C463.160481,341.058049 463.503714,341.201123 463.503714,344.674655 L463.503714,373.008714 L635.748444,373.008714 C646.684026,373.008714 658.114503,370.22141 664.44437,365.16346 L664.44437,373.008714 L719.079708,373.008714 C730.448989,373.008714 741.552196,371.421646 750,367.357269 L750,344.518333 Z M408.51716,296.840067 C408.51716,321.247524 390.229993,326.286927 371.799147,326.286927 L345.489893,326.286927 L345.489893,355.757633 L304.506737,355.757633 L278.543377,326.671109 L251.560959,355.757633 L168.040784,355.757633 L168.040784,267.893967 L252.846089,267.893967 L278.788164,296.694343 L305.608277,267.893967 L372.98317,267.893967 C389.716473,267.893967 408.51716,272.506796 408.51716,296.840067 Z M240.886128,337.446742 L189.044551,337.446742 L189.044551,319.965152 L235.335855,319.965152 L235.335855,302.038442 L189.044551,302.038442 L189.044551,286.064434 L241.907847,286.064434 L264.971016,311.669478 L240.886128,337.446742 Z M324.488786,347.766655 L292.115738,311.976823 L324.488786,277.323639 L324.488786,347.766655 Z M372.738383,308.442352 L345.489893,308.442352 L345.489893,286.067084 L372.98317,286.067084 C380.595506,286.067084 385.879707,289.156434 385.879707,296.840067 C385.879707,304.438915 380.840293,308.442352 372.738383,308.442352 Z M514.999397,267.893967 L585.372927,267.893967 L585.372927,286.064434 L535.997843,286.064434 L535.997843,302.038442 L584.167619,302.038442 L584.167619,319.965152 L535.997843,319.965152 L535.997843,337.446742 L585.372927,337.526227 L585.372927,355.757633 L514.999397,355.757633 L514.999397,267.893967 L514.999397,267.893967 Z M488.362873,314.925749 C493.056393,316.650592 496.893159,319.742592 498.69181,322.302036 C501.669162,326.591623 502.100199,330.595061 502.185343,338.339633 L502.185343,355.757633 L481.01661,355.757633 L481.01661,344.764739 C481.01661,339.47893 481.527469,331.652223 477.608221,327.56665 C474.5271,324.41901 469.83092,323.666543 462.138762,323.666543 L439.605077,323.666543 L439.605077,355.757633 L418.41772,355.757633 L418.41772,267.893967 L467.098355,267.893967 C477.773186,267.893967 485.547826,268.362934 492.468373,272.040479 C499.122847,276.043917 503.308169,281.528441 503.308169,291.551608 C503.305508,305.575562 493.913147,312.731939 488.362873,314.925749 Z M475.628641,303.991144 C472.808272,305.657698 469.32006,305.800772 465.217222,305.800772 L439.602417,305.800772 L439.602417,286.067084 L465.565777,286.067084 C469.32006,286.067084 473.077005,286.14657 475.628641,287.654151 C478.361206,289.076948 479.994891,291.798014 479.994891,295.557695 C479.994891,299.317376 478.361206,302.345787 475.628641,303.991144 Z M665.891804,309.417379 C669.997304,313.648676 672.197724,318.990126 672.197724,328.032967 C672.197724,346.934703 660.33887,355.757633 639.074351,355.757633 L598.006052,355.757633 L598.006052,336.916836 L638.909386,336.916836 C642.908457,336.916836 645.74479,336.38958 647.522155,334.741573 C648.97225,333.382365 650.012594,331.408466 650.012594,329.010643 C650.012594,326.451198 648.887107,324.41901 647.439672,323.200226 C645.827273,321.859565 643.602906,321.250173 639.931105,321.250173 C620.212468,320.579843 595.518274,321.859565 595.518274,294.055412 C595.518274,281.31118 603.558987,267.896617 625.664294,267.896617 L667.935241,267.896617 L667.935241,286.596989 L629.256274,286.596989 C625.422168,286.596989 622.929069,286.740064 620.80847,288.184057 C618.498961,289.606854 617.642207,291.718528 617.642207,294.505832 C617.642207,297.820392 619.603162,300.075141 622.255905,301.050168 C624.480272,301.82118 626.869603,302.04639 630.461583,302.04639 L641.812238,302.351086 C653.258679,302.629287 661.115802,304.600536 665.891804,309.417379 Z M750,286.59169 L711.571141,286.59169 C707.734374,286.59169 705.185399,286.734765 703.038194,288.178758 C700.813827,289.601555 699.957074,291.713229 699.957074,294.500533 C699.957074,297.815093 701.835546,300.069842 704.568111,301.044869 C706.792478,301.815881 709.181809,302.041091 712.693967,302.041091 L724.121783,302.345787 C735.653368,302.629287 743.350847,304.603185 748.044367,309.417379 C748.89846,310.08771 749.41198,310.840176 750,311.592642 L750,286.59169 Z', __source: {
|
455 | fileName: _jsxFileName$3,
|
456 | lineNumber: 9
|
457 | },
|
458 | __self: _this$3
|
459 | })
|
460 | )
|
461 | );
|
462 | };
|
463 |
|
464 | Amex.propTypes = {
|
465 | className: PropTypes.string
|
466 | };
|
467 |
|
468 | var _jsxFileName$4 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Default.base.js',
|
469 | _this$4 = undefined;
|
470 |
|
471 | var Default = function Default(_ref) {
|
472 | var className = _ref.className;
|
473 | return React__default.createElement(
|
474 | BaseCardIcon,
|
475 | { className: className, box: '0 0 750 472', __source: {
|
476 | fileName: _jsxFileName$4,
|
477 | lineNumber: 7
|
478 | },
|
479 | __self: _this$4
|
480 | },
|
481 | React__default.createElement('path', { d: 'M0,462a10,10,0,0,0,10,10H740a10,10,0,0,0,10-10V144H0Z', __source: {
|
482 | fileName: _jsxFileName$4,
|
483 | lineNumber: 8
|
484 | },
|
485 | __self: _this$4
|
486 | }),
|
487 | React__default.createElement('path', { d: 'M750,10A10,10,0,0,0,740,0H10A10,10,0,0,0,0,10V73H750Z', __source: {
|
488 | fileName: _jsxFileName$4,
|
489 | lineNumber: 9
|
490 | },
|
491 | __self: _this$4
|
492 | })
|
493 | );
|
494 | };
|
495 |
|
496 | Default.propTypes = {
|
497 | className: PropTypes.string
|
498 | };
|
499 |
|
500 | var _jsxFileName$5 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Diners.base.js',
|
501 | _this$5 = undefined;
|
502 |
|
503 | var Diners = function Diners(_ref) {
|
504 | var className = _ref.className;
|
505 | return React__default.createElement(
|
506 | BaseCardIcon,
|
507 | { className: className, box: '0 0 750 471', __source: {
|
508 | fileName: _jsxFileName$5,
|
509 | lineNumber: 7
|
510 | },
|
511 | __self: _this$5
|
512 | },
|
513 | React__default.createElement(
|
514 | 'g',
|
515 | { fillRule: 'evenodd', __source: {
|
516 | fileName: _jsxFileName$5,
|
517 | lineNumber: 8
|
518 | },
|
519 | __self: _this$5
|
520 | },
|
521 | React__default.createElement('path', { d: 'M0,40.0047706 C0,17.9107459 17.9143492,0 39.9919369,0 L710.008063,0 C732.095,0 750,17.9064659 750,40.0047706 L750,430.995229 C750,453.089254 732.085651,471 710.008063,471 L39.9919369,471 C17.905,471 0,453.093534 0,430.995229 L0,40.0047706 Z M584.933911,236.947339 C584.933911,137.53154 501.952976,68.8140806 411.038924,68.8471464 L332.79674,68.8471464 C240.793699,68.8140806 165.066089,137.552041 165.066089,236.947339 C165.066089,327.877778 240.793699,402.587432 332.79674,402.150963 L411.038924,402.150963 C501.952976,402.586771 584.933911,327.857939 584.933911,236.947339 Z M333.166996,82.6223815 C249.097073,82.6488342 180.972583,150.929824 180.952783,235.202123 C180.972583,319.459873 249.096413,387.73425 333.166996,387.760703 C417.256719,387.73425 485.395069,319.459873 485.406949,235.202123 C485.394409,150.929824 417.256719,82.6488342 333.166996,82.6223815 Z M236.682602,235.202123 C236.761801,194.021908 262.428934,158.90597 298.622956,144.951518 L298.622956,325.431566 C262.428934,311.48505 236.761141,276.388291 236.682602,235.202123 Z M367.697836,325.471245 L367.697836,144.945566 C403.905059,158.866291 429.611791,194.002068 429.67779,235.202123 C429.611791,276.414743 403.905059,311.524068 367.697836,325.471245 Z', __source: {
|
522 | fileName: _jsxFileName$5,
|
523 | lineNumber: 9
|
524 | },
|
525 | __self: _this$5
|
526 | })
|
527 | )
|
528 | );
|
529 | };
|
530 |
|
531 | Diners.propTypes = {
|
532 | className: PropTypes.string
|
533 | };
|
534 |
|
535 | var _jsxFileName$6 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Discover.base.js',
|
536 | _this$6 = undefined;
|
537 |
|
538 | var Discover = function Discover(_ref) {
|
539 | var className = _ref.className;
|
540 | return React__default.createElement(
|
541 | BaseCardIcon,
|
542 | { className: className, box: '0 0 750 471', __source: {
|
543 | fileName: _jsxFileName$6,
|
544 | lineNumber: 7
|
545 | },
|
546 | __self: _this$6
|
547 | },
|
548 | React__default.createElement(
|
549 | 'g',
|
550 | { fillRule: 'evenodd', __source: {
|
551 | fileName: _jsxFileName$6,
|
552 | lineNumber: 8
|
553 | },
|
554 | __self: _this$6
|
555 | },
|
556 | React__default.createElement(
|
557 | 'g',
|
558 | {
|
559 | transform: 'translate(375.000000, 235.500000) scale(1, -1) translate(-375.000000, -235.500000)', __source: {
|
560 | fileName: _jsxFileName$6,
|
561 | lineNumber: 9
|
562 | },
|
563 | __self: _this$6
|
564 | },
|
565 | React__default.createElement('path', {
|
566 | d: 'M 0,40.004771 C 0,17.910746 17.914349,0 39.991937,0 L 710.00806,0 C 732.095,0 750,17.906466 750,40.004771 l 0,390.990459 C 750,453.08925 732.08565,471 710.00806,471 L 39.991937,471 C 17.905,471 0,453.09353 0,430.99523 Z m 149.43105,-31.4905954 557.42909,0 c 18.77936,0 34.00303,15.2195984 34.00303,33.9925264 l 0,179.418418 c 0,0 -208.87509,-147.428343 -591.43212,-213.4109444 z M 87.362471,255.88812 c -6.669449,-5.66014 -15.333048,-8.13053 -29.049923,-8.13053 l -5.695708,0 0,67.65297 5.695708,0 c 13.716875,0 22.038656,-2.30833 29.049923,-8.27282 7.341313,-6.14632 11.757621,-15.66817 11.757621,-25.47066 0,-9.81829 -4.416308,-19.63264 -11.757621,-25.77896 z m -24.798007,76.85861 -31.158432,0 0,-102.3095 30.99446,0 c 16.480851,0 28.383104,3.65617 38.829788,11.81042 12.41477,9.66019 19.75609,24.21767 19.75609,39.27319 0,30.19403 -23.99665,51.22589 -58.421906,51.22589 z m 68.188736,-102.3095 21.22733,0 0,102.3095 -21.22733,0 z m 73.13186,63.29653 c -12.73767,4.43089 -16.47917,7.35582 -16.47917,12.88158 0,6.44276 6.66482,11.34005 15.81403,11.34005 6.35917,0 11.58693,-2.45852 17.11656,-8.28468 l 11.1072,13.6721 c -9.12819,7.50601 -20.04619,11.344 -31.97787,11.344 -19.25492,0 -33.94259,-12.57327 -33.94259,-29.31655 0,-14.09502 6.83889,-21.30855 26.77534,-28.05566 8.31001,-2.75497 12.53922,-4.59294 14.67422,-5.82616 4.24056,-2.60477 6.3642,-6.28861 6.3642,-10.5851 0,-8.28864 -7.01126,-14.431 -16.48085,-14.431 -10.12505,0 -18.27949,4.75895 -23.1688,13.64443 L 159.97551,247.7016 c 9.78028,-13.49422 21.52445,-19.47453 37.67694,-19.47453 22.05841,0 37.53441,13.78672 37.53441,33.59328 0,16.25315 -7.1559,23.61292 -31.3018,31.91341 z m 37.99732,-11.93665 c 0,-30.0715 25.11586,-53.38798 57.43933,-53.38798 9.14038,0 16.96478,1.68777 26.6181,5.96054 l 0,23.4904 c -8.4887,-7.98429 -16.00618,-11.20567 -25.63006,-11.20567 -21.37941,0 -36.55311,14.5733 -36.55311,35.28895 0,19.6445 15.65721,35.13876 35.56507,35.13876 10.12842,0 17.78884,-3.3953 26.6181,-11.51002 l 0,23.47854 c -9.32117,4.44274 -16.9816,6.28465 -26.11357,6.28465 -32.1595,0 -57.94386,-23.79079 -57.94386,-53.53817 z m 252.364,-17.61349 -29.02301,68.72017 -23.1873,0 46.18119,-104.93403 11.42337,0 47.01367,104.93403 -23.01071,0 -29.39721,-68.72017 z m 62.00658,-33.74639 60.19869,0 0,17.32036 -38.98746,0 0,27.61693 37.54955,0 0,17.32827 -37.54955,0 0,22.70777 38.98746,0 0,17.33617 -60.19869,0 z m 101.66254,55.21014 -6.2015,0 0,30.98455 6.53785,0 c 13.21865,0 20.40398,-5.20955 20.40398,-15.16619 0,-10.2847 -7.18533,-15.81836 -20.74033,-15.81836 z m 42.58222,16.89348 c 0,19.15437 -14.0301,30.20588 -38.51236,30.20588 l -31.47418,0 0,-102.3095 21.20282,0 0,41.0993 2.7665,0 29.38039,-41.0993 26.10515,0 -34.2575,43.09932 c 15.98936,3.05933 24.78918,13.34008 24.78918,29.0043 z m -367.64587,-20.93267 0,0.0356 c 0,30.05964 25.92016,54.39194 57.89467,54.39194 31.97451,0 57.89467,-24.3323 57.89467,-54.39194 l 0,-0.0356 c 0,-30.05964 -25.92016,-54.42751 -57.89467,-54.42751 -31.97451,0 -57.89467,24.36787 -57.89467,54.42751 z', __source: {
|
567 | fileName: _jsxFileName$6,
|
568 | lineNumber: 11
|
569 | },
|
570 | __self: _this$6
|
571 | })
|
572 | )
|
573 | )
|
574 | );
|
575 | };
|
576 |
|
577 | Discover.propTypes = {
|
578 | className: PropTypes.string
|
579 | };
|
580 |
|
581 | var _jsxFileName$7 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/JCB.base.js',
|
582 | _this$7 = undefined;
|
583 |
|
584 | var JCB = function JCB(_ref) {
|
585 | var className = _ref.className;
|
586 | return React__default.createElement(
|
587 | BaseCardIcon,
|
588 | { className: className, box: '0 0 750 471', __source: {
|
589 | fileName: _jsxFileName$7,
|
590 | lineNumber: 7
|
591 | },
|
592 | __self: _this$7
|
593 | },
|
594 | React__default.createElement(
|
595 | 'g',
|
596 | { fillRule: 'evenodd', __source: {
|
597 | fileName: _jsxFileName$7,
|
598 | lineNumber: 8
|
599 | },
|
600 | __self: _this$7
|
601 | },
|
602 | React__default.createElement(
|
603 | 'g',
|
604 | {
|
605 | __source: {
|
606 | fileName: _jsxFileName$7,
|
607 | lineNumber: 9
|
608 | },
|
609 | __self: _this$7
|
610 | },
|
611 | React__default.createElement('rect', {
|
612 | x: '0',
|
613 | y: '0',
|
614 | width: '750',
|
615 | height: '471',
|
616 | rx: '40', __source: {
|
617 | fileName: _jsxFileName$7,
|
618 | lineNumber: 10
|
619 | },
|
620 | __self: _this$7
|
621 | })
|
622 | ),
|
623 | React__default.createElement(
|
624 | 'g',
|
625 | { transform: 'translate(155.000000, 66.000000)',
|
626 | fill: '#FFFFFF', __source: {
|
627 | fileName: _jsxFileName$7,
|
628 | lineNumber: 17
|
629 | },
|
630 | __self: _this$7
|
631 | },
|
632 | React__default.createElement('path', {
|
633 | d: 'm 24.180777,192.9493 c 0,0 -0.273259,-89.5021 0.03034,-130.713584 4.054224,-24.089001 28.713217,-42.119028 52.864848,-39.91895 l 67.310515,0 c -0.0789,81.941864 -0.0683,163.886424 -0.20314,245.826604 -0.74635,24.24305 -21.88376,45.46784 -46.179915,46.07374 -24.596815,0.0721 -49.196149,0.0105 -73.793937,0.031 l 0,-102.36183 c 18.264856,3.34751 36.626104,6.95237 55.313504,5.86236 17.923305,-0.93137 39.537528,-3.67524 49.801728,-20.44226 7.59693,-12.38525 4.19217,-27.16287 4.823,-40.8607 l -0.23281,-35.02929 c -13.85232,0.0774 -27.70464,0.15489 -41.556967,0.23234 -0.200364,20.3779 0.411493,40.80012 -0.325899,61.1488 -1.596968,13.5333 -16.078567,20.48386 -28.516122,19.23382 -14.38394,-0.13222 -27.187303,-5.50203 -39.335145,-9.08205 z', __source: {
|
634 | fileName: _jsxFileName$7,
|
635 | lineNumber: 19
|
636 | },
|
637 | __self: _this$7
|
638 | }),
|
639 | React__default.createElement('path', {
|
640 | d: 'm 159.85062,136.5565 c 0.15364,-23.04134 -0.31645,-46.105843 0.25211,-69.131787 1.6841,-21.943077 20.124,-40.412279 41.80275,-43.091567 21.80037,-0.717971 43.672,-0.113144 65.50027,-0.312841 4.23381,0 8.46763,0 12.70144,0 -0.0564,82.335025 0.11285,164.675695 -0.0847,247.007175 -1.5733,25.57784 -26.2495,47.05322 -51.82331,44.62372 -22.78284,0 -45.56567,0 -68.34851,0 0,-37.34731 0,-74.69462 0,-112.04193 17.82059,14.07505 41.89423,16.19033 63.85722,15.90731 14.42135,-0.37438 28.79787,-2.51748 42.70307,-6.35682 -0.10071,-6.76991 -0.20142,-13.53981 -0.30213,-20.30971 -19.63891,9.45349 -43.98235,16.1344 -64.47132,5.37602 -16.27614,-9.31594 -18.18786,-32.76987 -9.48731,-47.86263 10.74645,-15.65641 32.45408,-16.12208 49.35354,-12.81175 8.2927,0.73852 19.43169,8.15781 24.90722,7.99048 0,-6.19882 0,-12.39765 0,-18.59647 -28.34546,-7.16643 -58.71741,-9.48539 -87.11474,-1.37066 -7.06049,2.414 -13.97289,5.82928 -19.44555,10.98146 z', __source: {
|
641 | fileName: _jsxFileName$7,
|
642 | lineNumber: 21
|
643 | },
|
644 | __self: _this$7
|
645 | }),
|
646 | React__default.createElement('path', {
|
647 | d: 'm 293.91013,215.1805 c 0,32.98487 0,65.96973 0,98.9546 25.40901,-0.0606 50.83235,0.12109 76.23243,-0.0907 24.15687,-2.16736 45.13425,-24.23224 43.88382,-48.83672 0,-80.96662 0,-161.93324 0,-242.899863 -25.06545,0.09218 -50.14129,-0.185316 -75.20017,0.140412 -25.20246,1.521518 -46.62552,25.056733 -44.91608,50.401254 0,16.256878 0,32.513757 0,48.770637 25.22736,0.11344 50.47179,-0.22865 75.68831,0.1742 13.25128,0.32531 27.38603,10.70453 24.98392,25.24757 -1.0073,11.1285 -11.59437,18.42894 -21.99714,19.64076 12.99985,1.03728 28.16749,9.42882 27.91114,24.14848 0.34108,15.87429 -16.81059,24.8889 -30.89727,24.34935 -25.22965,0 -50.45931,0 -75.68896,0 z', __source: {
|
648 | fileName: _jsxFileName$7,
|
649 | lineNumber: 23
|
650 | },
|
651 | __self: _this$7
|
652 | }),
|
653 | React__default.createElement('path', {
|
654 | d: 'M317.96875,137.258883 L317.96875,161.044279 L343.941512,161.044279 C343.941512,161.044279 356.111741,161.008725 356.111741,149.133804 C356.111741,137.258883 343.941512,137.258883 343.941512,137.258883 L317.96875,137.258883 Z', __source: {
|
655 | fileName: _jsxFileName$7,
|
656 | lineNumber: 25
|
657 | },
|
658 | __self: _this$7
|
659 | }),
|
660 | React__default.createElement('path', {
|
661 | d: 'M345.749893,175.01374 L317.96875,175.01374 L317.96875,200.568656 L345.749893,200.568656 C345.829565,200.568656 359.445848,201.361012 359.445848,187.791199 C359.445848,174.221386 345.749893,175.01374 345.749893,175.01374 Z', __source: {
|
662 | fileName: _jsxFileName$7,
|
663 | lineNumber: 27
|
664 | },
|
665 | __self: _this$7
|
666 | })
|
667 | )
|
668 | )
|
669 | );
|
670 | };
|
671 |
|
672 | JCB.propTypes = {
|
673 | className: PropTypes.string
|
674 | };
|
675 |
|
676 | var _jsxFileName$8 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Mastercard.base.js',
|
677 | _this$8 = undefined;
|
678 |
|
679 | var Mastercard = function Mastercard(_ref) {
|
680 | var className = _ref.className;
|
681 | return React__default.createElement(
|
682 | BaseCardIcon,
|
683 | { className: className, box: '0 0 750 471', __source: {
|
684 | fileName: _jsxFileName$8,
|
685 | lineNumber: 7
|
686 | },
|
687 | __self: _this$8
|
688 | },
|
689 | React__default.createElement(
|
690 | 'g',
|
691 | { fillRule: 'evenodd', __source: {
|
692 | fileName: _jsxFileName$8,
|
693 | lineNumber: 8
|
694 | },
|
695 | __self: _this$8
|
696 | },
|
697 | React__default.createElement('path', {
|
698 | d: 'M 0,40.004771 C 0,17.910746 17.914349,0 39.991937,0 L 710.00806,0 C 732.095,0 750,17.906466 750,40.004771 l 0,390.990459 C 750,453.08925 732.08565,471 710.00806,471 L 39.991937,471 C 17.905,471 0,453.09353 0,430.99523 Z M 703.97468,235.48039 c 0,112.36221 -91.6058,203.80556 -204.19747,203.80556 -46.96116,0 -90.25335,-15.94211 -124.79115,-42.60197 -34.51495,26.65986 -77.80667,42.60197 -124.77013,42.60197 -112.58892,0 -204.190614,-91.44335 -204.190614,-203.80556 0,-112.36631 91.601694,-203.766344 204.190614,-203.766344 46.96346,0 90.25518,15.882374 124.77013,42.580996 34.5378,-26.698622 77.82999,-42.580996 124.79115,-42.580996 112.59167,0 204.19747,91.400034 204.19747,203.766344 z M 499.77721,49.935684 c -41.41885,0 -79.65762,13.54311 -110.54927,36.397678 28.01769,26.023748 48.73854,59.817678 58.63977,97.902548 l -18.92519,0 c -9.69562,-33.67082 -28.64823,-63.39726 -53.95646,-86.274626 -25.2808,22.877366 -44.24712,52.603806 -53.90619,86.274626 l -18.95261,0 c 9.92408,-38.08487 30.64493,-71.8788 58.66262,-97.902548 -30.90993,-22.854568 -69.13453,-36.397678 -110.57395,-36.397678 -102.66759,0 -185.896411,83.059846 -185.896411,185.544706 0,102.45842 83.228821,185.54425 185.896411,185.54425 41.43942,0 79.66402,-13.54265 110.57395,-36.39585 -26.36368,-24.50436 -46.25296,-55.89884 -56.76645,-91.23861 l 19.13538,0 c 10.16624,30.9435 28.21417,58.25544 51.82725,79.60704 23.64051,-21.3516 41.71128,-48.66354 51.87752,-79.60704 l 19.13081,0 c -10.53177,35.33977 -30.41648,66.73425 -56.76645,91.23861 30.89165,22.8532 69.13042,36.39585 110.54927,36.39585 102.66759,0 185.89824,-83.08583 185.89824,-185.54425 0,-102.48486 -83.23065,-185.544706 -185.89824,-185.544706 z m -324.80332,141.318476 -29.76721,0 -18.60261,55.34845 -0.77492,-55.34845 -27.58592,0 -14.974299,89.42693 17.951519,0 11.52966,-68.32111 1.61015,68.32111 13.07904,0 24.51045,-68.72923 -10.98182,68.72923 19.17239,0 14.83357,-89.42693 z m 35.65494,57.0174 c -2.0168,-0.2052 -2.89498,-0.28499 -4.27988,-0.28499 -10.88038,0 -16.36147,3.71728 -16.36147,11.04014 0,4.53671 2.68983,7.42226 6.84679,7.42226 7.82458,0 13.44639,-7.42226 13.79456,-18.17741 z m 13.93391,32.40953 -15.89177,0 0.36918,-7.54356 c -4.85101,5.95806 -11.30988,8.80804 -20.08757,8.80804 -10.41251,0 -17.50192,-8.11355 -17.50192,-19.84818 0,-17.73235 12.36488,-28.04016 33.63631,-28.04016 2.17946,0 4.97072,0.20291 7.82275,0.56817 0.59261,-2.42089 0.73562,-3.43594 0.73562,-4.73827 0,-4.79845 -3.32356,-6.60831 -12.28858,-6.60831 -9.3703,-0.12266 -17.11264,2.21752 -20.29136,3.27406 0.20516,-1.22024 2.67018,-16.3484 2.67018,-16.3484 9.53616,-2.80529 15.84883,-3.86321 22.94006,-3.86321 16.46291,0 25.18349,7.35979 25.16384,21.31057 0.0196,3.74054 -0.59261,8.35568 -1.54938,14.43868 -1.67046,10.50937 -5.23664,33.08122 -5.72736,38.59057 z m 250.44541,-91.62347 c -25.40875,0 -43.17796,22.32607 -43.17796,54.29419 0,23.74741 12.862,38.59376 33.50061,38.59376 5.29558,0 9.87838,-0.69448 16.9285,-2.64478 l 3.36286,-20.35616 c -6.33734,3.11354 -11.55068,4.59553 -16.28426,4.59553 -11.14403,0 -17.86974,-8.21524 -17.86974,-21.77932 0,-19.70226 10.01089,-33.51031 24.33044,-33.51031 5.31843,0 10.2896,1.38395 17.13411,4.84132 l 3.13897,-19.39765 c -2.81,-1.09713 -12.69295,-4.63658 -21.06353,-4.63658 z m 55.25407,59.21394 c -1.99669,-0.2052 -2.89223,-0.28499 -4.29952,-0.28499 -10.86074,0 -16.36193,3.71728 -16.36193,11.04014 0,4.53671 2.6912,7.42226 6.8902,7.42226 7.80401,0 13.44685,-7.42226 13.77125,-18.17741 z m 13.93575,32.40953 -15.86848,0 0.36553,-7.54356 c -4.87065,5.95806 -11.34963,8.80804 -20.11316,8.80804 -10.39012,0 -17.52248,-8.11355 -17.52248,-19.84818 0,-17.73235 12.40966,-28.04016 33.66053,-28.04016 2.17946,0 4.97118,0.20291 7.82686,0.56817 0.58484,-2.42089 0.73106,-3.43594 0.73106,-4.73827 0,-4.79845 -3.32174,-6.60831 -12.26803,-6.60831 -9.38949,-0.12266 -17.11126,2.21752 -20.29135,3.27406 0.18276,-1.22024 2.65007,-16.3484 2.65007,-16.3484 9.55398,-2.80529 15.86847,-3.86321 22.91859,-3.86321 16.4853,0 25.2077,7.35979 25.18486,21.31057 0.0411,3.74054 -0.58942,8.35568 -1.54893,14.43868 -1.64944,10.50937 -5.23161,33.08122 -5.72507,38.59057 z m -225.40265,-17.2034 c -1.28391,0.45098 -2.97448,0.6913 -5.15394,0.6913 -4.56453,0 -6.5795,-1.62472 -6.5795,-5.38806 0.0411,-2.31601 3.19837,-19.51896 5.40067,-33.327 l 9.83727,0 2.60895,-17.4884 -9.80071,0 2.22058,-10.97584 -19.05176,0 c 0,0 -7.21049,42.80124 -8.29017,49.57188 -1.22269,7.7483 -2.77024,16.18607 -2.65053,19.39766 0,10.3525 5.3399,15.98634 15.13833,15.98634 4.44573,0 8.53507,-0.73552 13.79867,-2.35978 l 2.52214,-16.1081 z m 58.63978,15.5381 c -6.56122,1.99499 -12.88028,2.92978 -19.5603,2.92978 -21.35596,-0.0442 -32.47713,-11.16463 -32.47713,-32.45422 0,-24.85001 14.15962,-43.15008 33.37267,-43.15008 15.70856,0 25.756,10.22756 25.756,26.332 0,5.32742 -0.71278,10.51256 -2.3668,17.89606 l -37.9372,0 c -1.28392,10.50936 5.48292,14.90335 16.56754,14.90335 6.82166,0 12.95796,-1.38395 19.80247,-4.5545 l -3.15725,18.09761 z M 366.716,235.88805 c 0.12337,-1.50479 2.01497,-13.01689 -8.86405,-13.01689 -6.07232,0 -10.43124,4.65756 -12.18121,13.01689 l 21.04526,0 z M 239.29625,230.9455 c 0,9.21251 4.4407,15.53582 14.58729,20.31467 7.76381,3.65892 8.96503,4.71501 8.96503,8.03375 0,4.50981 -3.42317,6.54401 -11.02295,6.54401 -5.70406,0 -11.04259,-0.85499 -17.17706,-2.84451 0,0 -2.52351,16.02237 -2.64687,16.79711 4.38176,0.93525 8.25133,1.82581 19.96695,2.15504 20.23058,0 29.56342,-7.70908 29.56342,-24.30145 0,-10.02281 -3.89287,-15.83859 -13.51128,-20.25447 -8.02424,-3.6995 -8.96136,-4.51346 -8.96136,-7.90835 0,-3.94575 3.19836,-5.93891 9.41142,-5.93891 3.74803,0 8.90243,0.40812 13.75161,1.09895 l 2.73278,-16.8769 c -4.97255,-0.77337 -12.49009,-1.42317 -16.87185,-1.42317 -21.45328,0 -28.86892,11.16281 -28.78713,24.60423 z m 412.88316,49.73559 -18.14845,0 0.91382,-6.76882 c -5.2773,5.59326 -10.67341,8.0333 -17.6824,8.0333 -13.94031,0 -23.14704,-11.97858 -23.14704,-30.15599 0,-24.22165 14.27843,-44.59514 31.18865,-44.59514 7.42021,0 13.08132,3.01004 18.32207,9.90335 l 4.23556,-25.84363 18.91148,0 -14.59369,89.42693 z M 623.883,263.88763 c 8.92345,0 15.21966,-10.10854 15.21966,-24.50482 0,-9.25172 -3.5639,-14.25492 -10.17081,-14.25492 -8.69956,0 -14.87241,10.10672 -14.87241,24.40268 0,9.53535 3.30346,14.35706 9.82356,14.35706 z m -59.14695,-55.9221 c -2.40334,22.4916 -6.66174,45.28461 -9.98347,67.81724 l -0.87727,4.89832 19.15365,0 c 6.86735,-44.46882 8.53507,-53.15237 19.27245,-52.05479 1.70884,-9.13088 4.88893,-17.07845 7.29228,-21.10445 -8.04161,-1.67077 -12.52847,2.88601 -18.37234,11.48748 0.46605,-3.74237 1.30219,-7.34247 1.11943,-11.0438 l -17.60473,0 z m -167.57616,0 c -2.40792,22.4916 -6.68459,45.28461 -10.00632,67.81724 l -0.87727,4.89832 19.17193,0 c 6.86735,-44.46882 8.51679,-53.15237 19.25417,-52.05479 1.73168,-9.13088 4.93005,-17.07845 7.29684,-21.10445 -8.00962,-1.67077 -12.52846,2.88601 -18.38147,11.48748 0.47062,-3.74237 1.30219,-7.34247 1.14227,-11.0438 l -17.60015,0 z', __source: {
|
699 | fileName: _jsxFileName$8,
|
700 | lineNumber: 9
|
701 | },
|
702 | __self: _this$8
|
703 | })
|
704 | )
|
705 | );
|
706 | };
|
707 |
|
708 | Mastercard.propTypes = {
|
709 | className: PropTypes.string
|
710 | };
|
711 |
|
712 | var _jsxFileName$9 = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Maestro.base.js',
|
713 | _this$9 = undefined;
|
714 |
|
715 | var Maestro = function Maestro(_ref) {
|
716 | var className = _ref.className;
|
717 | return React__default.createElement(
|
718 | BaseCardIcon,
|
719 | { className: className, box: '0 0 750 471', __source: {
|
720 | fileName: _jsxFileName$9,
|
721 | lineNumber: 7
|
722 | },
|
723 | __self: _this$9
|
724 | },
|
725 | React__default.createElement(
|
726 | 'g',
|
727 | { fillRule: 'evenodd', __source: {
|
728 | fileName: _jsxFileName$9,
|
729 | lineNumber: 8
|
730 | },
|
731 | __self: _this$9
|
732 | },
|
733 | React__default.createElement('path', {
|
734 | d: 'M 0,40.004771 C 0,17.910746 17.914349,0 39.991937,0 L 710.00806,0 C 732.095,0 750,17.906466 750,40.004771 l 0,390.990459 C 750,453.08925 732.08565,471 710.00806,471 L 39.991937,471 C 17.905,471 0,453.09353 0,430.99523 Z M 703.57762,235.04812 c 0,112.42453 -91.51299,203.89557 -204.04498,203.89557 -46.90013,0 -90.17077,-15.87809 -124.68046,-42.59357 -34.51426,26.71548 -77.76208,42.59357 -124.68092,42.59357 -112.49547,0 -204.006182,-91.47104 -204.006182,-203.89557 0,-112.39579 91.510712,-203.853148 204.006182,-203.853148 46.91884,0 90.16666,15.91733 124.68092,42.60589 34.50969,-26.68856 77.78033,-42.60589 124.68046,-42.60589 112.53199,0 204.04498,91.457358 204.04498,203.853148 z M 499.53264,49.452684 c -41.38058,0 -79.5791,13.549576 -110.48214,36.410494 30.17258,28.034392 51.80334,65.074462 60.68756,106.746022 l -18.69978,0 c -8.71987,-37.28277 -28.72536,-70.25341 -56.1861,-95.107985 -27.44249,24.854575 -47.43884,57.825215 -56.16784,95.107985 l -18.69066,0 C 308.86877,150.93764 330.50866,113.89757 360.65842,85.863178 329.79646,63.00226 291.56143,49.452684 250.17126,49.452684 c -102.56395,0 -185.734171,83.081256 -185.734171,185.595436 0,102.51281 83.170221,185.65428 185.734171,185.65428 41.39017,0 79.6252,-13.56006 110.48716,-36.42053 -26.3468,-24.53066 -46.20162,-55.86303 -56.72939,-91.2662 l 19.11524,0 c 10.1671,30.9423 28.25056,58.26546 51.80791,79.6382 23.61213,-21.37274 41.65907,-48.6959 51.82616,-79.6382 l 19.11067,0 c -10.49124,35.40317 -30.37802,66.73554 -56.73851,91.2662 30.90304,22.86047 69.10156,36.42053 110.48214,36.42053 102.59316,0 185.75152,-83.14147 185.75152,-185.65428 0,-102.51418 -83.15836,-185.595436 -185.75152,-185.595436 z M 371.15422,278.55959 c -7.54657,1.93892 -14.85574,2.89195 -22.5621,2.89195 -24.57086,0 -37.40413,-11.19688 -37.40413,-32.63167 0,-24.97958 16.29839,-43.37233 38.45874,-43.37233 18.09259,0 29.65669,10.3287 29.65669,26.46593 0,5.33178 -0.77612,10.54631 -2.7027,17.96345 l -43.71806,0 c -1.57962,10.4464 6.06282,15.04414 19.07871,15.04414 7.7931,0 14.81922,-1.38461 22.61688,-4.53888 l -3.42403,18.17741 z m -11.77867,-43.41202 c 0,-1.61637 2.42421,-12.82374 -10.21275,-13.07876 -6.98047,0 -11.99782,4.66023 -14.03854,13.07876 l 24.25129,0 z m 31.24544,-4.93442 c 0,9.24018 5.2091,15.64498 17.04712,20.36406 9.03032,3.70994 10.45471,4.77566 10.45471,8.09416 0,4.62465 -3.97187,6.70043 -12.85153,6.66119 -6.66545,-0.0406 -12.75567,-0.86042 -19.90962,-2.85134 l -3.20489,16.81242 c 6.37783,1.49 15.34423,1.99594 23.29712,2.1579 23.58931,0 34.46404,-7.73056 34.46404,-24.42847 0,-10.02441 -4.52429,-15.94106 -15.76425,-20.34809 -9.35446,-3.72454 -10.43189,-4.56945 -10.43189,-7.94817 0,-3.97956 3.70709,-5.99831 10.96147,-5.99831 4.38276,0 10.38624,0.40968 16.09296,1.11179 l 3.1775,-16.97073 c -5.78433,-0.77009 -14.60921,-1.42202 -19.6996,-1.42202 -25.0411,0 -33.71075,11.2466 -33.63314,24.76561 z m -94.20657,50.06227 -18.36423,0 0.44969,-7.69863 c -5.59259,6.02341 -13.0273,8.87475 -23.16381,8.87475 -11.95946,0 -20.1808,-8.18495 -20.1808,-19.92883 0,-17.87449 14.27229,-28.1854 38.78106,-28.1854 2.50548,0 5.73685,0.15329 9.01479,0.52921 0.67249,-2.41474 0.85419,-3.43073 0.85419,-4.73323 0,-4.89564 -3.83766,-6.68993 -14.17778,-6.68993 -10.15614,0.0424 -17.01106,1.5484 -23.3688,3.25738 l 3.12774,-16.39864 c 11.01215,-2.77652 18.22407,-3.85456 26.36323,-3.85456 18.97553,0 29.01936,7.40801 29.01936,21.39556 0.15066,3.71587 -1.15047,11.22744 -1.80332,14.47615 -0.75329,4.78295 -5.99891,32.40173 -6.55132,38.95617 z m -16.10254,-32.6262 c -2.31145,-0.25867 -3.33866,-0.32984 -4.94019,-0.32984 -12.52786,0 -18.84451,3.69808 -18.84451,11.06686 0,4.66525 3.0871,7.51659 7.91636,7.51659 8.97188,0 15.48302,-7.51659 15.86834,-18.25361 z m 203.89935,15.32243 c -1.52484,0.52374 -3.44229,0.7304 -5.94869,0.7304 -5.21822,0 -7.50091,-1.63234 -7.50091,-5.41755 0,-2.36137 6.17695,-33.34655 6.17695,-33.34655 l 11.26736,0 3.01314,-17.82249 -11.20343,0 3.33729,-17.47713 -21.84077,0 c 0,0 -9.77904,52.82145 -10.38623,56.46387 -0.61176,3.6228 -3.38751,16.62355 -3.01315,19.38913 0,10.22194 6.1313,15.96021 17.39865,15.96021 5.04475,0 9.75622,-0.6679 15.76425,-2.32168 l 2.93554,-16.15821 z m 104.61106,-40.12043 c -11.06191,0 -17.95106,13.09154 -17.95106,24.673 0,9.78398 4.68864,16.29736 12.49087,16.19562 10.69668,0 17.46257,-9.789 17.46257,-26.26793 0,-7.49378 -3.0588,-14.60069 -12.00238,-14.60069 z m -7.29547,58.60032 c -24.60282,0 -34.52795,-14.9424 -34.52795,-33.20194 0,-25.5211 16.80515,-42.80206 42.81867,-42.80206 22.59862,0 34.59644,14.22979 34.59644,32.48933 0,30.28627 -18.01042,43.51467 -42.88716,43.51467 z m -76.00441,-74.38763 c -2.77118,22.63965 -7.70635,45.59273 -11.53214,68.23786 l -0.94047,4.97365 22.08273,0 c 7.94833,-43.80163 10.60081,-56.28366 27.25987,-51.87481 0.85829,-2.35041 8.02594,-20.70439 8.02594,-20.70439 -11.60976,-4.27336 -19.10611,1.84311 -25.872,10.46283 0.6072,-3.91888 1.75767,-7.66486 1.47005,-11.09514 l -20.49398,0 z m -267.19602,-16.22619 -35.72408,0 -24.1609,55.34477 -1.81382,-55.34477 -34.3152,0 -16.98275,89.4377 19.93609,0 13.09852,-68.34279 3.64546,68.34279 20.03561,0 30.06028,-68.76159 -13.05744,68.76159 21.96175,0 17.31648,-89.4377 z', __source: {
|
735 | fileName: _jsxFileName$9,
|
736 | lineNumber: 9
|
737 | },
|
738 | __self: _this$9
|
739 | })
|
740 | )
|
741 | );
|
742 | };
|
743 |
|
744 | Maestro.propTypes = {
|
745 | className: PropTypes.string
|
746 | };
|
747 |
|
748 | var _jsxFileName$a = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Paypal.base.js',
|
749 | _this$a = undefined;
|
750 |
|
751 | var Paypal = function Paypal(_ref) {
|
752 | var className = _ref.className;
|
753 | return React__default.createElement(
|
754 | BaseCardIcon,
|
755 | { className: className, box: '0 0 780 501', __source: {
|
756 | fileName: _jsxFileName$a,
|
757 | lineNumber: 7
|
758 | },
|
759 | __self: _this$a
|
760 | },
|
761 | React__default.createElement('path', { d: 'M622.483,238.885c-4.039-3.597-9.111-5.397-15.212-5.397c-8.071,0-14.838,2.781-20.285,8.343 c-5.454,5.561-8.18,12.382-8.18,20.446c0,6.113,1.963,10.912,5.89,14.396c3.928,3.492,9.049,5.234,15.377,5.234 c7.853,0,14.559-2.726,20.12-8.179c5.562-5.449,8.343-12.104,8.344-19.955C628.536,247.448,626.515,242.485,622.483,238.885z', __source: {
|
762 | fileName: _jsxFileName$a,
|
763 | lineNumber: 8
|
764 | },
|
765 | __self: _this$a
|
766 | }),
|
767 | React__default.createElement('path', { d: 'M250.826,238.885c-4.039-3.597-9.11-5.397-15.215-5.397c-8.072,0-14.835,2.781-20.283,8.343 c-5.455,5.561-8.181,12.382-8.181,20.446c0,6.113,1.907,10.912,5.727,14.396c3.813,3.492,8.885,5.234,15.214,5.234 c8.064,0,14.884-2.666,20.447-8.017c5.562-5.338,8.343-12.047,8.343-20.117C256.878,247.448,254.858,242.485,250.826,238.885z', __source: {
|
768 | fileName: _jsxFileName$a,
|
769 | lineNumber: 11
|
770 | },
|
771 | __self: _this$a
|
772 | }),
|
773 | React__default.createElement('path', { d: 'M725,0H55C24.673,0,0,24.673,0,55v391c0,30.327,24.673,55,55,55h670c30.325,0,55-24.673,55-55V55 C780,24.673,755.325,0,725,0z M120.777,257.697c-0.654,0-2.183-0.106-4.58-0.324c-2.402-0.217-4.474-0.327-6.217-0.327 c-1.748,0-3.599,0.163-5.562,0.487c-1.963,0.326-3.6,1.04-4.907,2.13c-1.309,1.092-2.076,2.51-2.291,4.254l-5.888,35.985 c-0.44,4.147-2.837,6.216-7.198,6.216H59.27c-1.309,0-2.401-0.543-3.271-1.636c-0.874-1.09-1.202-2.289-0.981-3.6L76.283,167.4 c0.435-4.142,2.725-6.215,6.869-6.215h52.347c13.521,0,24.48,2.894,32.88,8.668c8.395,5.783,12.597,15.107,12.597,27.974 c0,18.761-5.348,33.427-16.032,44.004C154.255,252.412,139.533,257.697,120.777,257.697z M295.481,214.511L282.068,299.9 c-0.654,4.147-3.057,6.216-7.197,6.216h-22.574c-2.836,0-4.253-1.74-4.253-5.234c0-1.961,0.434-4.252,1.309-6.868 c-3.926,4.363-9.161,7.852-15.704,10.469c-6.542,2.615-12.871,3.926-18.975,3.926c-12.652,0-22.737-3.813-30.262-11.451 c-7.525-7.631-11.288-17.881-11.288-30.752c0-15.92,5.505-29.773,16.521-41.551c11.014-11.778,24.374-17.668,40.078-17.668 c14.831,0,25.192,4.367,31.081,13.088c0.655-7.198,2.505-10.798,5.563-10.798h24.864c1.307,0,2.396,0.547,3.27,1.636 C295.37,212.004,295.696,213.202,295.481,214.511z M338.342,339.814H313.15c-2.837,0-4.253-1.416-4.253-4.254 c0-1.742,8.94-14.828,26.826-39.259c-0.219-0.866-2.78-8.505-7.688-22.897c-4.907-14.396-9.487-27.811-13.739-40.245 c-4.252-12.432-6.379-18.863-6.379-19.303c0-1.087,0.434-2.126,1.309-3.106c0.867-0.982,1.848-1.474,2.941-1.474h24.541 c3.704,0,6.102,1.749,7.196,5.236l14.396,49.075l34.679-51.04c1.523-2.175,3.485-3.271,5.889-3.271h25.192 c1.087,0,2.07,0.493,2.945,1.474c0.866,0.98,1.306,2.018,1.306,3.106c0,1.097-0.218,1.857-0.652,2.29l-83.427,120.399 C342.701,338.727,340.74,339.814,338.342,339.814z M492.432,257.697c-0.65,0-2.182-0.106-4.58-0.324 c-2.4-0.217-4.471-0.327-6.214-0.327c-1.749,0-3.601,0.163-5.563,0.487c-1.965,0.326-3.599,1.04-4.907,2.13 c-1.311,1.092-2.074,2.51-2.29,4.254l-5.891,37.949c-0.874,2.836-2.618,4.252-5.234,4.252h-26.826c-1.31,0-2.405-0.543-3.271-1.636 c-0.875-1.09-1.202-2.289-0.98-3.6L447.94,167.4c0.433-4.142,2.833-6.215,7.198-6.215h52.019c13.523,0,24.481,2.894,32.879,8.668 c8.396,5.783,12.597,15.107,12.596,27.974c0,18.761-5.345,33.427-16.031,44.004C525.91,252.412,511.191,257.697,492.432,257.697z M667.141,214.511L653.726,299.9c-0.653,4.147-3.056,6.216-7.194,6.216h-22.576c-2.84,0-4.254-1.74-4.254-5.234 c0-0.866,0.215-2.178,0.655-3.926c0.433-1.744,0.655-2.724,0.655-2.942c-3.714,4.363-8.835,7.852-15.379,10.469 c-6.543,2.615-12.978,3.926-19.301,3.926c-12.653,0-22.74-3.813-30.266-11.451c-7.523-7.631-11.285-17.881-11.285-30.752 c0-15.92,5.505-29.773,16.521-41.551c11.011-11.778,24.373-17.668,40.077-17.668c15.052,0,25.405,4.367,31.083,13.088 c0.653-7.198,2.503-10.798,5.558-10.798h24.866c1.309,0,2.396,0.547,3.271,1.636C667.029,212.004,667.356,213.202,667.141,214.511z M725.05,166.09l-21.266,133.813c-0.441,4.147-2.732,6.216-6.871,6.216h-21.595c-1.307,0-2.402-0.491-3.27-1.472 c-0.874-0.981-1.312-2.013-1.312-3.108l0.328-0.654l21.267-136.099c0.433-2.4,1.849-3.6,4.254-3.6h24.208 c2.833,0,4.255,1.527,4.256,4.58V166.09z', __source: {
|
774 | fileName: _jsxFileName$a,
|
775 | lineNumber: 14
|
776 | },
|
777 | __self: _this$a
|
778 | }),
|
779 | React__default.createElement('path', { d: 'M509.774,195.044c-2.617-2.29-5.347-3.65-8.178-4.089c-2.84-0.435-6.657-0.653-11.454-0.653h-5.887 c-2.403,0-3.82,1.2-4.252,3.597l-5.563,35.007l10.47-0.327c9.596,0,16.793-1.635,21.593-4.906c4.796-3.274,7.197-9.488,7.197-18.65 C513.699,200.662,512.393,197.334,509.774,195.044z', __source: {
|
780 | fileName: _jsxFileName$a,
|
781 | lineNumber: 42
|
782 | },
|
783 | __self: _this$a
|
784 | }),
|
785 | React__default.createElement('path', { d: 'M137.465,194.064c-3.926-2.504-10.255-3.761-18.975-3.761h-6.219c-2.4,0-3.817,1.2-4.252,3.597 l-5.563,35.007l10.797-0.327c8.505,0,15.048-1.195,19.629-3.598c4.58-2.4,7.412-7.414,8.506-15.049 C142.698,201.865,141.389,196.574,137.465,194.064z', __source: {
|
786 | fileName: _jsxFileName$a,
|
787 | lineNumber: 45
|
788 | },
|
789 | __self: _this$a
|
790 | })
|
791 | );
|
792 | };
|
793 |
|
794 | Paypal.propTypes = {
|
795 | className: PropTypes.string
|
796 | };
|
797 |
|
798 | var _jsxFileName$b = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/Visa.base.js',
|
799 | _this$b = undefined;
|
800 |
|
801 | var Visa = function Visa(_ref) {
|
802 | var className = _ref.className;
|
803 | return React__default.createElement(
|
804 | BaseCardIcon,
|
805 | { className: className, box: '0 0 750 471', __source: {
|
806 | fileName: _jsxFileName$b,
|
807 | lineNumber: 7
|
808 | },
|
809 | __self: _this$b
|
810 | },
|
811 | React__default.createElement(
|
812 | 'g',
|
813 | { fillRule: 'evenodd', __source: {
|
814 | fileName: _jsxFileName$b,
|
815 | lineNumber: 8
|
816 | },
|
817 | __self: _this$b
|
818 | },
|
819 | React__default.createElement('path', { d: 'M0,40.0047706 C0,17.9107459 17.9143492,0 39.9919369,0 L710.008063,0 C732.095,0 750,17.9064659 750,40.0047706 L750,430.995229 C750,453.089254 732.085651,471 710.008063,471 L39.9919369,471 C17.905,471 0,453.093534 0,430.995229 L0,40.0047706 Z M277.6505,333.6295 L311.0115,137.8675 L364.3705,137.8675 L330.9865,333.6295 L277.6505,333.6295 Z M524.5125,142.6875 C513.9405,138.7215 497.3765,134.4655 476.6895,134.4655 C423.9655,134.4655 386.8255,161.0165 386.5095,199.0695 C386.2125,227.1985 413.0235,242.8905 433.2635,252.2545 C454.0325,261.8495 461.0155,267.9695 460.9165,276.5375 C460.7845,289.6595 444.3305,295.6545 428.9935,295.6545 C407.6365,295.6545 396.2905,292.6875 378.7675,285.3785 L371.8915,282.2665 L364.4025,326.0905 C376.8655,331.5545 399.9115,336.2895 423.8405,336.5345 C479.9295,336.5345 516.3415,310.2875 516.7555,269.6525 C516.9565,247.3835 502.7405,230.4355 471.9565,216.4645 C453.3055,207.4085 441.8835,201.3655 442.0045,192.1955 C442.0045,184.0585 451.6725,175.3575 472.5615,175.3575 C490.0105,175.0865 502.6495,178.8915 512.4975,182.8575 L517.2795,185.1165 L524.5125,142.6875 Z M661.3395,138.0545 L620.1085,138.0545 C607.3355,138.0545 597.7775,141.5405 592.1675,154.2885 L512.9225,333.6915 L568.9535,333.6915 C568.9535,333.6915 578.1155,309.5695 580.1875,304.2735 C586.3105,304.2735 640.7415,304.3575 648.5235,304.3575 C650.1195,311.2105 655.0155,333.6915 655.0155,333.6915 L704.5275,333.6915 L661.3395,138.0545 Z M175.088482,244.366797 C175.089488,244.370031 175.090494,244.373266 175.0915,244.3765 L180.6575,271.5055 L232.8975,138.0105 L289.4185,138.0105 L205.4145,333.3955 L148.9595,333.4605 L101.520801,163.434171 C85.1184477,154.339743 66.4024534,147.029038 45.4725,141.9625 L46.1535,137.8895 L132.1945,137.8895 C143.7835,138.3215 153.1515,142.0205 156.3815,154.4165 L175.088482,244.366796 Z M595.5425,264.2325 C599.9555,252.9535 616.8015,209.5095 616.8015,209.5095 C616.4865,210.0305 621.1815,198.1755 623.8765,190.8255 L627.4835,207.7035 C627.4835,207.7035 637.7005,254.4325 639.8355,264.2315 L595.5425,264.2315 L595.5425,264.2325 Z', __source: {
|
820 | fileName: _jsxFileName$b,
|
821 | lineNumber: 9
|
822 | },
|
823 | __self: _this$b
|
824 | })
|
825 | )
|
826 | );
|
827 | };
|
828 |
|
829 | Visa.propTypes = {
|
830 | className: PropTypes.string
|
831 | };
|
832 |
|
833 | var _jsxFileName$c = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/cards/CardIcon.js',
|
834 | _this$c = undefined;
|
835 |
|
836 | var _templateObject$6 = _taggedTemplateLiteral$6(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
837 |
|
838 | function _taggedTemplateLiteral$6(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
839 |
|
840 | var CardIconBase = function CardIconBase(_ref) {
|
841 | var brand = _ref.brand,
|
842 | className = _ref.className;
|
843 |
|
844 | var Child = null;
|
845 | switch (brand) {
|
846 | case 'amex':
|
847 | Child = Amex;
|
848 | break;
|
849 | case 'diners':
|
850 | Child = Diners;
|
851 | break;
|
852 | case 'discover':
|
853 | Child = Discover;
|
854 | break;
|
855 | case 'jcb':
|
856 | Child = JCB;
|
857 | break;
|
858 | case 'mastercard':
|
859 | Child = Mastercard;
|
860 | break;
|
861 | case 'maestro':
|
862 | Child = Maestro;
|
863 | break;
|
864 | case 'paypal':
|
865 | Child = Paypal;
|
866 | break;
|
867 | case 'visa':
|
868 | Child = Visa;
|
869 | break;
|
870 | default:
|
871 | Child = Default;
|
872 | }
|
873 | return React__default.createElement(Child, { className: className, __source: {
|
874 | fileName: _jsxFileName$c,
|
875 | lineNumber: 46
|
876 | },
|
877 | __self: _this$c
|
878 | });
|
879 | };
|
880 |
|
881 | var CardIcon = styled__default(CardIconBase)(_templateObject$6, function (props) {
|
882 | return props.theme.colors.navy;
|
883 | });
|
884 |
|
885 | CardIcon.propTypes = {
|
886 | brand: PropTypes.string.isRequired,
|
887 | theme: PropTypes.shape({
|
888 | colors: PropTypes.shape({
|
889 | rocketBlue: PropTypes.string
|
890 | })
|
891 | })
|
892 |
|
893 |
|
894 | };
|
895 |
|
896 | var _jsxFileName$d = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/Chevron.js',
|
897 | _this$d = undefined;
|
898 |
|
899 | var _templateObject$7 = _taggedTemplateLiteral$7(['\n 0% {\n transform: translateX(0px) ', ';\n }\n 50% {\n transform: translateX(', ') ', ';\n }\n 100% {\n transform: translateX(0px) ', ';\n }\n '], ['\n 0% {\n transform: translateX(0px) ', ';\n }\n 50% {\n transform: translateX(', ') ', ';\n }\n 100% {\n transform: translateX(0px) ', ';\n }\n ']),
|
900 | _templateObject2$5 = _taggedTemplateLiteral$7(['\n 0% {\n transform: translateY(0px) ', ';\n }\n 50% {\n transform: translateY(-.2rem) ', ';\n }\n 100% {\n transform: translateY(0px) ', ';\n }\n '], ['\n 0% {\n transform: translateY(0px) ', ';\n }\n 50% {\n transform: translateY(-.2rem) ', ';\n }\n 100% {\n transform: translateY(0px) ', ';\n }\n ']),
|
901 | _templateObject3$4 = _taggedTemplateLiteral$7(['\n ', ' 0.75s infinite\n'], ['\n ', ' 0.75s infinite\n']),
|
902 | _templateObject4$1 = _taggedTemplateLiteral$7(['\n width: 12px;\n height: 8px;\n fill:none;\n stroke: ', ';\n stroke-miterlimit:10;\n stroke-width:5px;\n ', '\n cursor: pointer;\n animation: ', ';\n'], ['\n width: 12px;\n height: 8px;\n fill:none;\n stroke: ', ';\n stroke-miterlimit:10;\n stroke-width:5px;\n ', '\n cursor: pointer;\n animation: ', ';\n']);
|
903 |
|
904 | function _taggedTemplateLiteral$7(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
905 |
|
906 | var BaseChevron = function BaseChevron(_ref) {
|
907 | var className = _ref.className;
|
908 |
|
909 | return React__default.createElement(
|
910 | 'svg',
|
911 | { className: className, viewBox: '0 0 48 24.12', __source: {
|
912 | fileName: _jsxFileName$d,
|
913 | lineNumber: 7
|
914 | },
|
915 | __self: _this$d
|
916 | },
|
917 | React__default.createElement('polyline', { points: '1 1 24 22.75 47 1', __source: {
|
918 | fileName: _jsxFileName$d,
|
919 | lineNumber: 8
|
920 | },
|
921 | __self: _this$d
|
922 | })
|
923 | );
|
924 | };
|
925 |
|
926 | var pulse = function pulse(props) {
|
927 | if (props.left || props.right) {
|
928 | return styled.keyframes(_templateObject$7, direction(props), pulseDirection(props), direction(props), direction(props));
|
929 | } else {
|
930 | return styled.keyframes(_templateObject2$5, direction(props), direction(props), direction(props));
|
931 | }
|
932 | };
|
933 |
|
934 | var pulseDirection = function pulseDirection(props) {
|
935 | if (props.right) {
|
936 | return '.2rem';
|
937 | } else if (props.left) {
|
938 | return '-.2rem';
|
939 | }
|
940 | };
|
941 |
|
942 | var animated = function animated(props) {
|
943 | return styled.css(_templateObject3$4, pulse(props));
|
944 | };
|
945 |
|
946 | var direction = function direction(props) {
|
947 | if (props.down) {
|
948 | return 'rotate(0deg)';
|
949 | } else if (props.left) {
|
950 | return 'rotate(-90deg)';
|
951 | } else if (props.right) {
|
952 | return 'rotate(90deg)';
|
953 | } else if (props.up) {
|
954 | return 'rotate(180deg)';
|
955 | }
|
956 | };
|
957 |
|
958 | var Chevron = styled__default(BaseChevron)(_templateObject4$1, function (props) {
|
959 | return props.theme.colors.rocketBlue;
|
960 | }, function (props) {
|
961 | return 'transform: ' + direction(props) + ';';
|
962 | }, function (props) {
|
963 | return props.animated ? animated : '';
|
964 | });
|
965 |
|
966 | var validateDirection = function validateDirection(props, propName, componentName) {
|
967 | var directions = ['down', 'left', 'right', 'up'];
|
968 | var propDirections = Object.keys(props).filter(function (key) {
|
969 | return directions.includes(key);
|
970 | });
|
971 | if (propDirections.length > 1) {
|
972 | return new Error('More than one direction prop was supplied to ' + componentName + ', only use one.');
|
973 | } else if (propDirections.length === 0) {
|
974 | return new Error('No direction prop was supplied to ' + componentName + ', please select one.');
|
975 | }
|
976 | return null;
|
977 | };
|
978 |
|
979 | Chevron.propTypes = {
|
980 | animated: PropTypes.bool,
|
981 | theme: PropTypes.shape({
|
982 | colors: PropTypes.shape({
|
983 | rocketBlue: PropTypes.string.isRequired
|
984 | })
|
985 | }),
|
986 | validateDirection: validateDirection
|
987 | };
|
988 |
|
989 | Chevron.defaultProps = {};
|
990 |
|
991 | var _jsxFileName$e = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/GuaranteeIcon.js',
|
992 | _this$e = undefined;
|
993 |
|
994 | var _templateObject$8 = _taggedTemplateLiteral$8(['\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n'], ['\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n']),
|
995 | _templateObject2$6 = _taggedTemplateLiteral$8(['\n animation: ', ';\n animation-duration: 25s;\n animation-iteration-count: infinite;\n transform-origin: 50% 50%;\n animation-timing-function: linear;\n'], ['\n animation: ', ';\n animation-duration: 25s;\n animation-iteration-count: infinite;\n transform-origin: 50% 50%;\n animation-timing-function: linear;\n']),
|
996 | _templateObject3$5 = _taggedTemplateLiteral$8(['\n width: ', ';\n circle {\n fill: ', ';\n }\n path {\n fill: ', ';\n ', '\n }\n polyline {\n stroke-linecap: round;\n stroke-width: 2;\n fill: none;\n stroke: ', ';\n }\n'], ['\n width: ', ';\n circle {\n fill: ', ';\n }\n path {\n fill: ', ';\n ', '\n }\n polyline {\n stroke-linecap: round;\n stroke-width: 2;\n fill: none;\n stroke: ', ';\n }\n']);
|
997 |
|
998 | function _taggedTemplateLiteral$8(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
999 |
|
1000 | var UnstyledGuaranteeIcon = function UnstyledGuaranteeIcon(_ref) {
|
1001 | var className = _ref.className;
|
1002 |
|
1003 | return React__default.createElement(
|
1004 | 'svg',
|
1005 | { className: className, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 42 42', __source: {
|
1006 | fileName: _jsxFileName$e,
|
1007 | lineNumber: 7
|
1008 | },
|
1009 | __self: _this$e
|
1010 | },
|
1011 | React__default.createElement('path', { d: 'M21,2.555c1.389,0,4.005-1.869,5.347-1.509s2.673,3.286,3.876,3.981,4.4.384,5.385,1.366.672,4.182,1.366,5.385,3.621,2.534,3.981,3.876S39.445,19.611,39.445,21s1.809,3.99,1.509,5.347-3.286,2.673-3.981,3.876-.384,4.4-1.366,5.385-4.182.672-5.385,1.366-2.534,3.621-3.876,3.981S22.389,39.445,21,39.445s-4.005,1.869-5.347,1.509-2.673-3.286-3.876-3.981-4.4-.384-5.385-1.366-.672-4.182-1.366-5.385S1.345,27.7,1.046,26.347,2.555,22.389,2.555,21,.686,16.995,1.046,15.653s3.286-2.673,3.981-3.876.384-4.4,1.366-5.385,4.182-.672,5.385-1.366,2.534-3.621,3.876-3.981S19.611,2.555,21,2.555Z', __source: {
|
1012 | fileName: _jsxFileName$e,
|
1013 | lineNumber: 8
|
1014 | },
|
1015 | __self: _this$e
|
1016 | }),
|
1017 | React__default.createElement('circle', { cx: '21', cy: '21', r: '14.7', __source: {
|
1018 | fileName: _jsxFileName$e,
|
1019 | lineNumber: 9
|
1020 | },
|
1021 | __self: _this$e
|
1022 | }),
|
1023 | React__default.createElement('polyline', { points: '14.629 21.734 18.691 25.483 26.345 17.203', __source: {
|
1024 | fileName: _jsxFileName$e,
|
1025 | lineNumber: 10
|
1026 | },
|
1027 | __self: _this$e
|
1028 | })
|
1029 | );
|
1030 | };
|
1031 |
|
1032 | var rotate = styled.keyframes(_templateObject$8);
|
1033 |
|
1034 | var animation$1 = styled.css(_templateObject2$6, rotate);
|
1035 |
|
1036 | var GuaranteeIcon = styled__default(UnstyledGuaranteeIcon)(_templateObject3$5, function (props) {
|
1037 | return props.width;
|
1038 | }, function (props) {
|
1039 | return props.theme.colors.white;
|
1040 | }, function (props) {
|
1041 | return props.theme.colors.rocketBlue;
|
1042 | }, function (props) {
|
1043 | return props.animated && animation$1;
|
1044 | }, function (props) {
|
1045 | return props.theme.colors.rocketBlue;
|
1046 | });
|
1047 |
|
1048 | GuaranteeIcon.propTypes = {
|
1049 | width: PropTypes.string.isRequired
|
1050 | };
|
1051 |
|
1052 | GuaranteeIcon.defaultProps = {
|
1053 | width: '2.5rem'
|
1054 |
|
1055 |
|
1056 | };
|
1057 |
|
1058 | var _jsxFileName$f = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/MailboxIcon.js',
|
1059 | _this$f = undefined;
|
1060 |
|
1061 | var _templateObject$9 = _taggedTemplateLiteral$9(['\n 0% {\n transform: rotate(0deg);\n }\n 26% {\n transform: rotate(0deg);\n }\n 30% {\n transform: rotate(90deg);\n }\n 33% {\n transform: rotate(100deg);\n }\n 36% {\n transform: rotate(80deg);\n }\n 37% {\n transform: rotate(95deg);\n }\n 39% {\n transform: rotate(85deg);\n }\n 40% {\n transform: rotate(90deg);\n }\n 70% {\n transform: rotate(90deg);\n }\n 90% {\n transform: rotate(90deg);\n }\n 100% {\n transform: rotate(0deg);\n }\n'], ['\n 0% {\n transform: rotate(0deg);\n }\n 26% {\n transform: rotate(0deg);\n }\n 30% {\n transform: rotate(90deg);\n }\n 33% {\n transform: rotate(100deg);\n }\n 36% {\n transform: rotate(80deg);\n }\n 37% {\n transform: rotate(95deg);\n }\n 39% {\n transform: rotate(85deg);\n }\n 40% {\n transform: rotate(90deg);\n }\n 70% {\n transform: rotate(90deg);\n }\n 90% {\n transform: rotate(90deg);\n }\n 100% {\n transform: rotate(0deg);\n }\n']),
|
1062 | _templateObject2$7 = _taggedTemplateLiteral$9(['\n animation: ', ';\n animation-duration: 5s;\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n'], ['\n animation: ', ';\n animation-duration: 5s;\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n']),
|
1063 | _templateObject3$6 = _taggedTemplateLiteral$9(['\n width: ', ';\n\n .line, .flag circle, .flag .flag-portion, .body {\n fill: none;\n stroke: ', ';\n stroke-miterlimit: 10;\n }\n\n .face, .iris, .outterCircle {\n fill: ', ';\n }\n\n .flag {\n transform: rotate(90deg);\n transform-origin: 51.775% 57.726%;\n ', '\n }\n'], ['\n width: ', ';\n\n .line, .flag circle, .flag .flag-portion, .body {\n fill: none;\n stroke: ', ';\n stroke-miterlimit: 10;\n }\n\n .face, .iris, .outterCircle {\n fill: ', ';\n }\n\n .flag {\n transform: rotate(90deg);\n transform-origin: 51.775% 57.726%;\n ', '\n }\n']);
|
1064 |
|
1065 | function _taggedTemplateLiteral$9(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1066 |
|
1067 | var UnstyledMailbox = function UnstyledMailbox(_ref) {
|
1068 | var className = _ref.className;
|
1069 |
|
1070 | return React__default.createElement(
|
1071 | 'svg',
|
1072 | { className: className, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 148 148', __source: {
|
1073 | fileName: _jsxFileName$f,
|
1074 | lineNumber: 7
|
1075 | },
|
1076 | __self: _this$f
|
1077 | },
|
1078 | React__default.createElement(
|
1079 | 'g',
|
1080 | { className: 'mailbox', __source: {
|
1081 | fileName: _jsxFileName$f,
|
1082 | lineNumber: 8
|
1083 | },
|
1084 | __self: _this$f
|
1085 | },
|
1086 | React__default.createElement('path', { className: 'body', d: 'M64.15,54.44c1.5-.69,45.25,2.25,60.25,3.18,23,3.76,22.31,29.88,22.31,29.88v22.31l-83.63.69-17.37,1,.5-38.12C46.4,70.44,48.52,54.81,64.15,54.44Z', __source: {
|
1087 | fileName: _jsxFileName$f,
|
1088 | lineNumber: 9
|
1089 | },
|
1090 | __self: _this$f
|
1091 | }),
|
1092 | React__default.createElement('line', { className: 'line', x1: '83.21', y1: '148', x2: '84.08', y2: '110.33', __source: {
|
1093 | fileName: _jsxFileName$f,
|
1094 | lineNumber: 10
|
1095 | },
|
1096 | __self: _this$f
|
1097 | }),
|
1098 | React__default.createElement('line', { className: 'line', x1: '89.9', y1: '148', x2: '90.46', y2: '110.33', __source: {
|
1099 | fileName: _jsxFileName$f,
|
1100 | lineNumber: 11
|
1101 | },
|
1102 | __self: _this$f
|
1103 | }),
|
1104 | React__default.createElement('line', { className: 'line', x1: '109.71', y1: '148', x2: '111.89', y2: '110.1', __source: {
|
1105 | fileName: _jsxFileName$f,
|
1106 | lineNumber: 12
|
1107 | },
|
1108 | __self: _this$f
|
1109 | }),
|
1110 | React__default.createElement('path', { className: 'face', d: 'M123.81,57.5c-9.27,0-20.75,14.33-20.75,28.94v23.89l43.65-.52s-.58-14.56,0-23.48C147.9,68,133.09,57.5,123.81,57.5Zm-8.33,22.08c0-3.26,2-6.41,4.25-6.41S124,76.32,124,79.58s-2.29,5.92-4.5,5.92S115.48,82.85,115.48,79.58Zm9.86,23.23c-5.61.16-6.24-5.51-6.48-10.9l2.44-.13s0,7.72,3.76,8c4.94.44,4.34-8,4.34-8l1.78.22C131.87,94.81,132,102.62,125.34,102.81Zm7.18-17.64c-2.05,0-4.71-2.52-4.71-5.84s2.66-6.16,4.71-6.16,4.38,2.85,4.38,6.16S134.57,85.17,132.52,85.17Z', __source: {
|
1111 | fileName: _jsxFileName$f,
|
1112 | lineNumber: 13
|
1113 | },
|
1114 | __self: _this$f
|
1115 | }),
|
1116 | React__default.createElement('circle', { className: 'iris002', cx: '118.33', cy: '80.44', r: '1.19', __source: {
|
1117 | fileName: _jsxFileName$f,
|
1118 | lineNumber: 14
|
1119 | },
|
1120 | __self: _this$f
|
1121 | }),
|
1122 | React__default.createElement('circle', { className: 'iris003', cx: '130.46', cy: '79.88', r: '1.31', __source: {
|
1123 | fileName: _jsxFileName$f,
|
1124 | lineNumber: 15
|
1125 | },
|
1126 | __self: _this$f
|
1127 | })
|
1128 | ),
|
1129 | React__default.createElement(
|
1130 | 'g',
|
1131 | { className: 'flag', __source: {
|
1132 | fileName: _jsxFileName$f,
|
1133 | lineNumber: 17
|
1134 | },
|
1135 | __self: _this$f
|
1136 | },
|
1137 | React__default.createElement('path', { className: 'outterCircle', d: 'M75.57,76.42a7.39,7.39,0,0,0-5.82,1.81A9.33,9.33,0,0,0,67.07,83h1a8.52,8.52,0,0,1,2.32-4,6.15,6.15,0,0,1,4.25-1.59,7.26,7.26,0,0,1,.8,0c3.36.33,9,2.39,9,8,0,3.64-4.86,8.12-8.81,8.12A8.17,8.17,0,0,1,68,87.23H67a9.2,9.2,0,0,0,8.76,7.33c4.49,0,9.81-4.94,9.81-9.12C85.52,79.88,80.52,76.91,75.57,76.42Z', __source: {
|
1138 | fileName: _jsxFileName$f,
|
1139 | lineNumber: 18
|
1140 | },
|
1141 | __self: _this$f
|
1142 | }),
|
1143 | React__default.createElement('circle', { cx: '76.63', cy: '85.43', r: '3.67', __source: {
|
1144 | fileName: _jsxFileName$f,
|
1145 | lineNumber: 19
|
1146 | },
|
1147 | __self: _this$f
|
1148 | }),
|
1149 | React__default.createElement('polyline', { className: 'flag-portion', points: '73.83 83.05 7.69 82.21 7.69 105.03 23.93 105.54 24.02 86.54 67.27 87.22 73.47 87.31', __source: {
|
1150 | fileName: _jsxFileName$f,
|
1151 | lineNumber: 20
|
1152 | },
|
1153 | __self: _this$f
|
1154 | })
|
1155 | )
|
1156 | );
|
1157 | };
|
1158 |
|
1159 | var animateFlag = styled.keyframes(_templateObject$9);
|
1160 |
|
1161 | var animated$1 = styled.css(_templateObject2$7, animateFlag);
|
1162 |
|
1163 | var MailboxIcon = styled__default(UnstyledMailbox)(_templateObject3$6, function (props) {
|
1164 | return props.width;
|
1165 | }, function (props) {
|
1166 | return props.theme.colors.rocketBlue;
|
1167 | }, function (props) {
|
1168 | return props.theme.colors.rocketBlue;
|
1169 | }, function (props) {
|
1170 | return props.animate && animated$1;
|
1171 | });
|
1172 |
|
1173 | MailboxIcon.propTypes = {
|
1174 | animated: PropTypes.bool,
|
1175 | theme: PropTypes.shape({
|
1176 | colors: PropTypes.shape({
|
1177 | rocketBlue: PropTypes.string,
|
1178 | white: PropTypes.string
|
1179 | })
|
1180 | }),
|
1181 | width: PropTypes.string
|
1182 | };
|
1183 |
|
1184 | MailboxIcon.defaultProps = {
|
1185 | width: '7rem'
|
1186 |
|
1187 |
|
1188 | };
|
1189 |
|
1190 | var _jsxFileName$g = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/Ruler.js',
|
1191 | _this$g = undefined;
|
1192 |
|
1193 | var _templateObject$a = _taggedTemplateLiteral$a(['\n width: ', ';\n > path {\n fill: ', ';\n }\n > line, circle {\n fill: none;\n stroke-linecap: round;\n stroke: ', ';\n }\n'], ['\n width: ', ';\n > path {\n fill: ', ';\n }\n > line, circle {\n fill: none;\n stroke-linecap: round;\n stroke: ', ';\n }\n']);
|
1194 |
|
1195 | function _taggedTemplateLiteral$a(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1196 |
|
1197 | var BaseRuler = function BaseRuler(props) {
|
1198 | return React__default.createElement(
|
1199 | 'svg',
|
1200 | Object.assign({ xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 27 12' }, props, {
|
1201 | __source: {
|
1202 | fileName: _jsxFileName$g,
|
1203 | lineNumber: 7
|
1204 | },
|
1205 | __self: _this$g
|
1206 | }),
|
1207 | React__default.createElement('path', { d: 'M26,1V11H1V1H26m.5-1H.5A.5.5,0,0,0,0,.5v11a.5.5,0,0,0, .5.5h26a.5.5,0,0,0,.5-.5V.5a.51.51,0,0,0-.5-.5Z', __source: {
|
1208 | fileName: _jsxFileName$g,
|
1209 | lineNumber: 8
|
1210 | },
|
1211 | __self: _this$g
|
1212 | }),
|
1213 | React__default.createElement('circle', { cx: '4', cy: '7.9', r: '1.25', __source: {
|
1214 | fileName: _jsxFileName$g,
|
1215 | lineNumber: 10
|
1216 | },
|
1217 | __self: _this$g
|
1218 | }),
|
1219 | React__default.createElement('line', { x1: '4', y1: '0.5', x2: '4', y2: '3.5', __source: {
|
1220 | fileName: _jsxFileName$g,
|
1221 | lineNumber: 11
|
1222 | },
|
1223 | __self: _this$g
|
1224 | }),
|
1225 | React__default.createElement('line', { x1: '8', y1: '0.5', x2: '8', y2: '3.5', __source: {
|
1226 | fileName: _jsxFileName$g,
|
1227 | lineNumber: 12
|
1228 | },
|
1229 | __self: _this$g
|
1230 | }),
|
1231 | React__default.createElement('line', { x1: '12', y1: '0.5', x2: '12', y2: '3.5', __source: {
|
1232 | fileName: _jsxFileName$g,
|
1233 | lineNumber: 13
|
1234 | },
|
1235 | __self: _this$g
|
1236 | }),
|
1237 | React__default.createElement('line', { x1: '16', y1: '0.5', x2: '16', y2: '3.5', __source: {
|
1238 | fileName: _jsxFileName$g,
|
1239 | lineNumber: 14
|
1240 | },
|
1241 | __self: _this$g
|
1242 | }),
|
1243 | React__default.createElement('line', { x1: '20', y1: '0.5', x2: '20', y2: '3.5', __source: {
|
1244 | fileName: _jsxFileName$g,
|
1245 | lineNumber: 15
|
1246 | },
|
1247 | __self: _this$g
|
1248 | }),
|
1249 | React__default.createElement('line', { x1: '24', y1: '0.5', x2: '24', y2: '3.5', __source: {
|
1250 | fileName: _jsxFileName$g,
|
1251 | lineNumber: 16
|
1252 | },
|
1253 | __self: _this$g
|
1254 | })
|
1255 | );
|
1256 | };
|
1257 |
|
1258 | var Ruler = styled__default(BaseRuler)(_templateObject$a, function (props) {
|
1259 | return props.width;
|
1260 | }, function (props) {
|
1261 | return props.theme.colors.navy;
|
1262 | }, function (props) {
|
1263 | return props.theme.colors.navy;
|
1264 | });
|
1265 |
|
1266 | Ruler.propTypes = {
|
1267 | theme: PropTypes.shape({
|
1268 | colors: PropTypes.shape({
|
1269 | navy: PropTypes.string
|
1270 | })
|
1271 | }),
|
1272 | width: PropTypes.string
|
1273 | };
|
1274 |
|
1275 | Ruler.defaultProps = {
|
1276 | width: '27px'
|
1277 |
|
1278 | };
|
1279 |
|
1280 | var _jsxFileName$h = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/XIcon.js',
|
1281 | _this$h = undefined;
|
1282 |
|
1283 | var _templateObject$b = _taggedTemplateLiteral$b(['\n width: ', ';\n line {\n stroke-width: 1.5;\n fill: none;\n stroke: ', ';\n }\n'], ['\n width: ', ';\n line {\n stroke-width: 1.5;\n fill: none;\n stroke: ', ';\n }\n']);
|
1284 |
|
1285 | function _taggedTemplateLiteral$b(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1286 |
|
1287 | var BaseXIcon = function BaseXIcon(_ref) {
|
1288 | var className = _ref.className;
|
1289 |
|
1290 | return React__default.createElement(
|
1291 | 'svg',
|
1292 | { className: className, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 15 15', __source: {
|
1293 | fileName: _jsxFileName$h,
|
1294 | lineNumber: 7
|
1295 | },
|
1296 | __self: _this$h
|
1297 | },
|
1298 | React__default.createElement('line', { x1: '0', y1: '0', x2: '15', y2: '15', __source: {
|
1299 | fileName: _jsxFileName$h,
|
1300 | lineNumber: 8
|
1301 | },
|
1302 | __self: _this$h
|
1303 | }),
|
1304 | React__default.createElement('line', { x1: '0', y1: '15', x2: '15', y2: '0', __source: {
|
1305 | fileName: _jsxFileName$h,
|
1306 | lineNumber: 9
|
1307 | },
|
1308 | __self: _this$h
|
1309 | })
|
1310 | );
|
1311 | };
|
1312 |
|
1313 | var XIcon = styled__default(BaseXIcon)(_templateObject$b, function (props) {
|
1314 | return props.width;
|
1315 | }, function (props) {
|
1316 | return props.theme.colors.rocketBlue;
|
1317 | });
|
1318 |
|
1319 | XIcon.propTypes = {
|
1320 | theme: PropTypes.shape({
|
1321 | colors: PropTypes.shape({
|
1322 | rocketBlue: PropTypes.string
|
1323 | })
|
1324 | }),
|
1325 | width: PropTypes.string
|
1326 | };
|
1327 |
|
1328 | XIcon.defaultProps = {
|
1329 | width: '10px'
|
1330 |
|
1331 |
|
1332 | };
|
1333 |
|
1334 | var _jsxFileName$i = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/AIcon/AIcon.base.js',
|
1335 | _this$i = undefined;
|
1336 |
|
1337 | var _templateObject$c = _taggedTemplateLiteral$c(['\n width: ', ';\n'], ['\n width: ', ';\n']);
|
1338 |
|
1339 | function _taggedTemplateLiteral$c(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1340 |
|
1341 | var AIcon = function AIcon(props) {
|
1342 | return React__default.createElement(
|
1343 | 'svg',
|
1344 | Object.assign({ viewBox: '0 0 80 80' }, props, {
|
1345 | __source: {
|
1346 | fileName: _jsxFileName$i,
|
1347 | lineNumber: 7
|
1348 | },
|
1349 | __self: _this$i
|
1350 | }),
|
1351 | React__default.createElement('path', { d: 'M57.5,64.6V40.1c0-9.4,0.1-14.8-4.7-19.5c-7.2-7-18.5-7-25.6,0c-4.8,4.8-4.8,10.2-4.8,19.5v24.5h7.4V50.3h20.2 v14.4H57.5z M29.9,43.6V40c0-9.8,0.5-12.5,2.8-15.1c3.9-4,10.5-4,14.5,0l0,0C49.6,27.6,50,30.3,50,40v3.5H29.9z', __source: {
|
1352 | fileName: _jsxFileName$i,
|
1353 | lineNumber: 8
|
1354 | },
|
1355 | __self: _this$i
|
1356 | })
|
1357 | );
|
1358 | };
|
1359 |
|
1360 | var BaseAIcon = styled__default(AIcon)(_templateObject$c, function (props) {
|
1361 | return props.width;
|
1362 | });
|
1363 |
|
1364 | BaseAIcon.propTypes = {
|
1365 | width: PropTypes.string.isRequired
|
1366 | };
|
1367 |
|
1368 | BaseAIcon.defaultProps = {
|
1369 | width: '9.2rem'
|
1370 |
|
1371 |
|
1372 | };
|
1373 |
|
1374 | var _templateObject$d = _taggedTemplateLiteral$d(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
1375 |
|
1376 | function _taggedTemplateLiteral$d(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1377 |
|
1378 | var AIcon$1 = styled__default(BaseAIcon)(_templateObject$d, function (props) {
|
1379 | return props.theme.colors.rocketBlue;
|
1380 | });
|
1381 |
|
1382 | AIcon$1.propTypes = {
|
1383 | theme: PropTypes.shape({
|
1384 | colors: PropTypes.shape({
|
1385 | rocketBlue: PropTypes.string
|
1386 | })
|
1387 | })
|
1388 |
|
1389 |
|
1390 | };
|
1391 |
|
1392 | var _templateObject$e = _taggedTemplateLiteral$e(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
1393 |
|
1394 | function _taggedTemplateLiteral$e(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1395 |
|
1396 | var GrayAIcon = styled__default(BaseAIcon)(_templateObject$e, function (props) {
|
1397 | return props.theme.colors.gray[3];
|
1398 | });
|
1399 |
|
1400 | GrayAIcon.propTypes = {
|
1401 | theme: PropTypes.shape({
|
1402 | colors: PropTypes.shape({
|
1403 | gray: PropTypes.array
|
1404 | })
|
1405 | })
|
1406 |
|
1407 |
|
1408 | };
|
1409 |
|
1410 | var _templateObject$f = _taggedTemplateLiteral$f(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
1411 |
|
1412 | function _taggedTemplateLiteral$f(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1413 |
|
1414 | var NavyAIcon = styled__default(BaseAIcon)(_templateObject$f, function (props) {
|
1415 | return props.theme.colors.navy;
|
1416 | });
|
1417 |
|
1418 | NavyAIcon.propTypes = {
|
1419 | theme: PropTypes.shape({
|
1420 | colors: PropTypes.shape({
|
1421 | navy: PropTypes.string
|
1422 | })
|
1423 | })
|
1424 |
|
1425 |
|
1426 | };
|
1427 |
|
1428 | var _templateObject$g = _taggedTemplateLiteral$g(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
1429 |
|
1430 | function _taggedTemplateLiteral$g(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1431 |
|
1432 | var WhiteAIcon = styled__default(BaseAIcon)(_templateObject$g, function (props) {
|
1433 | return props.theme.colors.white;
|
1434 | });
|
1435 |
|
1436 | WhiteAIcon.propTypes = {
|
1437 | theme: PropTypes.shape({
|
1438 | colors: PropTypes.shape({
|
1439 | white: PropTypes.string
|
1440 | })
|
1441 | })
|
1442 |
|
1443 |
|
1444 | };
|
1445 |
|
1446 | var _jsxFileName$j = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/Checkmark/Checkmark.base.js',
|
1447 | _this$j = undefined;
|
1448 |
|
1449 | var _templateObject$h = _taggedTemplateLiteral$h(['\n 0% {\n width: 0;\n stroke-dashoffset: 15;\n stroke: transparent;\n }\n 50% {\n width: ', ';\n stroke-dashoffset: 15;\n stroke: ', ';\n }\n 100% {\n width: ', ';\n transform: scaleX(1);\n stroke-dashoffset: 0;\n }\n '], ['\n 0% {\n width: 0;\n stroke-dashoffset: 15;\n stroke: transparent;\n }\n 50% {\n width: ', ';\n stroke-dashoffset: 15;\n stroke: ', ';\n }\n 100% {\n width: ', ';\n transform: scaleX(1);\n stroke-dashoffset: 0;\n }\n ']),
|
1450 | _templateObject2$8 = _taggedTemplateLiteral$h(['\n width: ', ';\n fill: none;\n stroke-width: 2;\n > polyline {\n stroke-linecap: round;\n stroke-dasharray: 16;\n stroke-dashoffset: 0;\n animation-name: ', ';\n animation-duration: 0.5s\n }\n'], ['\n width: ', ';\n fill: none;\n stroke-width: 2;\n > polyline {\n stroke-linecap: round;\n stroke-dasharray: 16;\n stroke-dashoffset: 0;\n animation-name: ', ';\n animation-duration: 0.5s\n }\n']);
|
1451 |
|
1452 | function _taggedTemplateLiteral$h(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1453 |
|
1454 | var UnstyledCheckmark = function UnstyledCheckmark(props) {
|
1455 | return React__default.createElement(
|
1456 | 'svg',
|
1457 | Object.assign({}, props, { xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 26.5 26.5', __source: {
|
1458 | fileName: _jsxFileName$j,
|
1459 | lineNumber: 7
|
1460 | },
|
1461 | __self: _this$j
|
1462 | }),
|
1463 | React__default.createElement('polyline', { points: '7,14 11,17.7 18.6,9.5', __source: {
|
1464 | fileName: _jsxFileName$j,
|
1465 | lineNumber: 8
|
1466 | },
|
1467 | __self: _this$j
|
1468 | })
|
1469 | );
|
1470 | };
|
1471 |
|
1472 | var animateCheckmarkIn = function animateCheckmarkIn(props) {
|
1473 | return styled.keyframes(_templateObject$h, props.width, props.stroke, props.width);
|
1474 | };
|
1475 |
|
1476 | var Checkmark = styled__default(UnstyledCheckmark)(_templateObject2$8, function (props) {
|
1477 | return props.width;
|
1478 | }, function (props) {
|
1479 | return animateCheckmarkIn;
|
1480 | });
|
1481 |
|
1482 | Checkmark.propTypes = {
|
1483 | stroke: PropTypes.string,
|
1484 | width: PropTypes.string
|
1485 | };
|
1486 |
|
1487 | Checkmark.defaultProps = {
|
1488 | width: '2.6rem'
|
1489 |
|
1490 |
|
1491 | };
|
1492 |
|
1493 | var _templateObject$i = _taggedTemplateLiteral$i(['\n stroke: ', '\n'], ['\n stroke: ', '\n']);
|
1494 |
|
1495 | function _taggedTemplateLiteral$i(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1496 |
|
1497 | var BlueCheckmark = styled__default(Checkmark)(_templateObject$i, function (props) {
|
1498 | return props.theme.colors.rocketBlue;
|
1499 | });
|
1500 |
|
1501 | BlueCheckmark.propTypes = {
|
1502 | theme: PropTypes.shape({
|
1503 | colors: PropTypes.shape({
|
1504 | rocketBlue: PropTypes.string
|
1505 | })
|
1506 | })
|
1507 |
|
1508 |
|
1509 | };
|
1510 |
|
1511 | var _templateObject$j = _taggedTemplateLiteral$j(['\n stroke: ', '\n'], ['\n stroke: ', '\n']);
|
1512 |
|
1513 | function _taggedTemplateLiteral$j(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1514 |
|
1515 | var GrayCheckmark = styled__default(Checkmark)(_templateObject$j, function (props) {
|
1516 | return props.theme.colors.loading;
|
1517 | });
|
1518 |
|
1519 | GrayCheckmark.propTypes = {
|
1520 | theme: PropTypes.shape({
|
1521 | colors: PropTypes.shape({
|
1522 | loading: PropTypes.string
|
1523 | })
|
1524 | })
|
1525 |
|
1526 |
|
1527 | };
|
1528 |
|
1529 | var _templateObject$k = _taggedTemplateLiteral$k(['\n stroke: ', '\n'], ['\n stroke: ', '\n']);
|
1530 |
|
1531 | function _taggedTemplateLiteral$k(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1532 |
|
1533 | var NavyCheckmark = styled__default(Checkmark)(_templateObject$k, function (props) {
|
1534 | return props.theme.colors.navy;
|
1535 | });
|
1536 |
|
1537 | NavyCheckmark.propTypes = {
|
1538 | theme: PropTypes.shape({
|
1539 | colors: PropTypes.shape({
|
1540 | navy: PropTypes.string
|
1541 | })
|
1542 | })
|
1543 |
|
1544 |
|
1545 | };
|
1546 |
|
1547 | var _templateObject$l = _taggedTemplateLiteral$l(['\n stroke: ', '\n'], ['\n stroke: ', '\n']);
|
1548 |
|
1549 | function _taggedTemplateLiteral$l(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1550 |
|
1551 | var WhiteCheckmark = styled__default(Checkmark)(_templateObject$l, function (props) {
|
1552 | return props.theme.colors.white;
|
1553 | });
|
1554 |
|
1555 | WhiteCheckmark.propTypes = {
|
1556 | theme: PropTypes.shape({
|
1557 | colors: PropTypes.shape({
|
1558 | white: PropTypes.string
|
1559 | })
|
1560 | })
|
1561 |
|
1562 |
|
1563 | };
|
1564 |
|
1565 | var _jsxFileName$k = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/CircleChevron/CircleChevron.base.js',
|
1566 | _this$k = undefined;
|
1567 |
|
1568 | var _templateObject$m = _taggedTemplateLiteral$m(['\n width: ', ';\n polyline {\n stroke-linecap: round;\n fill: none;\n }\n'], ['\n width: ', ';\n polyline {\n stroke-linecap: round;\n fill: none;\n }\n']);
|
1569 |
|
1570 | function _taggedTemplateLiteral$m(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1571 |
|
1572 | var CircleChev = function CircleChev(_ref) {
|
1573 | var className = _ref.className,
|
1574 | left = _ref.left,
|
1575 | right = _ref.right;
|
1576 |
|
1577 | return React__default.createElement(
|
1578 | 'svg',
|
1579 | { className: className, viewBox: '0 0 60 60', __source: {
|
1580 | fileName: _jsxFileName$k,
|
1581 | lineNumber: 7
|
1582 | },
|
1583 | __self: _this$k
|
1584 | },
|
1585 | React__default.createElement('ellipse', { cx: '30', cy: '30', rx: '30', ry: '30', __source: {
|
1586 | fileName: _jsxFileName$k,
|
1587 | lineNumber: 8
|
1588 | },
|
1589 | __self: _this$k
|
1590 | }),
|
1591 | right && React__default.createElement('polyline', { className: 'right', points: '23.5,16.8 36.5,30 23.5,43.2', __source: {
|
1592 | fileName: _jsxFileName$k,
|
1593 | lineNumber: 9
|
1594 | },
|
1595 | __self: _this$k
|
1596 | }),
|
1597 | left && React__default.createElement('polyline', { className: 'left', points: '36.5,43.2 23.5,30 36.5,16.8', __source: {
|
1598 | fileName: _jsxFileName$k,
|
1599 | lineNumber: 10
|
1600 | },
|
1601 | __self: _this$k
|
1602 | })
|
1603 | );
|
1604 | };
|
1605 |
|
1606 | var BaseChevron$1 = styled__default(CircleChev)(_templateObject$m, function (props) {
|
1607 | return props.width;
|
1608 | });
|
1609 |
|
1610 | var validateDirection$1 = function validateDirection(props, propName, componentName) {
|
1611 | if (!props.left && !props.right) {
|
1612 | return new Error('Either the left or right prop must be supplied to ' + componentName + '.');
|
1613 | } else if (props.left && props.right) {
|
1614 | return new Error('Both the left and right prop were supplied to ' + componentName + ', only select one.');
|
1615 | }
|
1616 | return null;
|
1617 | };
|
1618 |
|
1619 | CircleChev.propTypes = {
|
1620 | className: PropTypes.string,
|
1621 | left: validateDirection$1,
|
1622 | right: validateDirection$1,
|
1623 | width: PropTypes.string
|
1624 | };
|
1625 |
|
1626 | CircleChev.defaultProps = {
|
1627 | width: '4rem'
|
1628 |
|
1629 |
|
1630 | };
|
1631 |
|
1632 | var _templateObject$n = _taggedTemplateLiteral$n(['\n ellipse {\n fill: ', ';\n }\n polyline {\n stroke: ', ';\n stroke-width: 4;\n }\n'], ['\n ellipse {\n fill: ', ';\n }\n polyline {\n stroke: ', ';\n stroke-width: 4;\n }\n']);
|
1633 |
|
1634 | function _taggedTemplateLiteral$n(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1635 |
|
1636 | var CircleChevron = styled__default(BaseChevron$1)(_templateObject$n, function (props) {
|
1637 | return props.theme.colors.lightBlue[2];
|
1638 | }, function (props) {
|
1639 | return props.theme.colors.white;
|
1640 | });
|
1641 |
|
1642 | CircleChevron.propTypes = {
|
1643 | theme: PropTypes.shape({
|
1644 | colors: PropTypes.shape({
|
1645 | lightBlue: PropTypes.array,
|
1646 | white: PropTypes.string
|
1647 | })
|
1648 | }),
|
1649 | width: PropTypes.string
|
1650 | };
|
1651 |
|
1652 | CircleChevron.defaultProps = {
|
1653 | width: '6rem'
|
1654 |
|
1655 |
|
1656 | };
|
1657 |
|
1658 | var _templateObject$o = _taggedTemplateLiteral$o(['\n ellipse {\n fill: ', ';\n }\n polyline {\n stroke: ', ';\n stroke-width: 3;\n }\n'], ['\n ellipse {\n fill: ', ';\n }\n polyline {\n stroke: ', ';\n stroke-width: 3;\n }\n']);
|
1659 |
|
1660 | function _taggedTemplateLiteral$o(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1661 |
|
1662 | var YellowCircleChevron = styled__default(BaseChevron$1)(_templateObject$o, function (props) {
|
1663 | return props.theme.colors.yellow;
|
1664 | }, function (props) {
|
1665 | return props.theme.colors.rocketBlue;
|
1666 | });
|
1667 |
|
1668 | YellowCircleChevron.propTypes = {
|
1669 | theme: PropTypes.shape({
|
1670 | colors: PropTypes.shape({
|
1671 | rocketBlue: PropTypes.array,
|
1672 | yellow: PropTypes.string
|
1673 | })
|
1674 | }),
|
1675 | width: PropTypes.string
|
1676 | };
|
1677 |
|
1678 | YellowCircleChevron.defaultProps = {
|
1679 | width: '6rem'
|
1680 |
|
1681 |
|
1682 | };
|
1683 |
|
1684 | var _jsxFileName$l = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/Hamburger/Hamburger.base.js',
|
1685 | _this$l = undefined;
|
1686 |
|
1687 | var _templateObject$p = _taggedTemplateLiteral$p(['\n 0% {\n stroke-dashoffset: 0;\n }\n 100% {\n stroke-dashoffset: -322;\n }\n'], ['\n 0% {\n stroke-dashoffset: 0;\n }\n 100% {\n stroke-dashoffset: -322;\n }\n']),
|
1688 | _templateObject2$9 = _taggedTemplateLiteral$p(['\n 0% {\n stroke-dashoffset: -322;\n }\n 100% {\n stroke-dashoffset: 0;\n }\n'], ['\n 0% {\n stroke-dashoffset: -322;\n }\n 100% {\n stroke-dashoffset: 0;\n }\n']),
|
1689 | _templateObject3$7 = _taggedTemplateLiteral$p(['\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n'], ['\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n']),
|
1690 | _templateObject4$2 = _taggedTemplateLiteral$p(['\n 100% {\n opacity: 1;\n }\n 0% {\n opacity: 0;\n }\n'], ['\n 100% {\n opacity: 1;\n }\n 0% {\n opacity: 0;\n }\n']),
|
1691 | _templateObject5$1 = _taggedTemplateLiteral$p(['\n 33.3333333333%, 66.6666666666% {\n opacity: 0;\n }\n 0%, 100% {\n opacity: 1;\n }\n'], ['\n 33.3333333333%, 66.6666666666% {\n opacity: 0;\n }\n 0%, 100% {\n opacity: 1;\n }\n']),
|
1692 | _templateObject6$1 = _taggedTemplateLiteral$p(['\n 0%, 100% {\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dashoffset: -322;\n }\n'], ['\n 0%, 100% {\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dashoffset: -322;\n }\n']),
|
1693 | _templateObject7 = _taggedTemplateLiteral$p(['\n .line {\n stroke-dashoffset: 0;\n }\n .hamburger-outerline {\n animation: ', ' 2s ease-in-out infinite;\n }\n .hamburger-innerline {\n animation: ', ' 2s ease-in-out infinite;\n }\n'], ['\n .line {\n stroke-dashoffset: 0;\n }\n .hamburger-outerline {\n animation: ', ' 2s ease-in-out infinite;\n }\n .hamburger-innerline {\n animation: ', ' 2s ease-in-out infinite;\n }\n']),
|
1694 | _templateObject8 = _taggedTemplateLiteral$p(['\n .line {\n stroke-dashoffset: 0;\n }\n .hamburger-outerline {\n animation: ', ' 1s ease-in-out;\n }\n .hamburger-innerline {\n animation: ', ' 1s ease-in-out;\n }\n'], ['\n .line {\n stroke-dashoffset: 0;\n }\n .hamburger-outerline {\n animation: ', ' 1s ease-in-out;\n }\n .hamburger-innerline {\n animation: ', ' 1s ease-in-out;\n }\n']),
|
1695 | _templateObject9 = _taggedTemplateLiteral$p(['\n .hamburger-outerline {\n animation: ', ' 1s ease-in-out;\n stroke-dashoffset: -322;\n }\n .hamburger-innerline {\n animation: ', ' 1s ease-in-out;\n stroke-dashoffset: 125;\n }\n'], ['\n .hamburger-outerline {\n animation: ', ' 1s ease-in-out;\n stroke-dashoffset: -322;\n }\n .hamburger-innerline {\n animation: ', ' 1s ease-in-out;\n stroke-dashoffset: 125;\n }\n']),
|
1696 | _templateObject10 = _taggedTemplateLiteral$p(['\n width: 4.8rem;\n height: 4.8rem;\n max-width: 100%;\n max-height: 100%;\n cursor: pointer;\n\n.line {\n fill:none;\n stroke-linecap:round;\n stroke-miterlimit:10;\n stroke-width: 8;\n}\n\n//Closed\n', '\n\n//Open\n', '\n\n//Animated\n', '\n\n\n.hamburger-innerline {\n stroke-dasharray:125;\n}\n.hamburger-outerline {\n stroke-dasharray:100 322;\n}\n'], ['\n width: 4.8rem;\n height: 4.8rem;\n max-width: 100%;\n max-height: 100%;\n cursor: pointer;\n\n.line {\n fill:none;\n stroke-linecap:round;\n stroke-miterlimit:10;\n stroke-width: 8;\n}\n\n//Closed\n', '\n\n//Open\n', '\n\n//Animated\n', '\n\n\n.hamburger-innerline {\n stroke-dasharray:125;\n}\n.hamburger-outerline {\n stroke-dasharray:100 322;\n}\n']);
|
1697 |
|
1698 | function _taggedTemplateLiteral$p(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1699 |
|
1700 | var topPoints = 'M2,74.21H102c51.54,1.7,72.86-35.69,59.31-58.6S93.4-3.52,\n89.36,69.35L18.64,140.06';
|
1701 | var bottomPoints = 'M2,138.79H102c51.54-1.7,72.86,35.69,59.31,58.6s-67.91,\n19.13-72-53.74L18.64,72.94';
|
1702 |
|
1703 | var UnstyledHamburger = function UnstyledHamburger(_ref) {
|
1704 | var className = _ref.className;
|
1705 |
|
1706 | return React__default.createElement(
|
1707 | 'svg',
|
1708 | {
|
1709 | className: className,
|
1710 | xmlns: 'http://www.w3.org/2000/svg',
|
1711 | viewBox: '0 0 167.29 210.66', __source: {
|
1712 | fileName: _jsxFileName$l,
|
1713 | lineNumber: 12
|
1714 | },
|
1715 | __self: _this$l
|
1716 | },
|
1717 | React__default.createElement('path', {
|
1718 | className: 'line hamburger-outerline',
|
1719 | d: topPoints, __source: {
|
1720 | fileName: _jsxFileName$l,
|
1721 | lineNumber: 16
|
1722 | },
|
1723 | __self: _this$l
|
1724 | }),
|
1725 | React__default.createElement('line', {
|
1726 | className: 'line hamburger-innerline',
|
1727 | x1: '2',
|
1728 | y1: '105.54',
|
1729 | x2: '102',
|
1730 | y2: '105.54', __source: {
|
1731 | fileName: _jsxFileName$l,
|
1732 | lineNumber: 19
|
1733 | },
|
1734 | __self: _this$l
|
1735 | }),
|
1736 | React__default.createElement('path', {
|
1737 | className: 'line hamburger-outerline',
|
1738 | d: bottomPoints, __source: {
|
1739 | fileName: _jsxFileName$l,
|
1740 | lineNumber: 25
|
1741 | },
|
1742 | __self: _this$l
|
1743 | })
|
1744 | );
|
1745 | };
|
1746 |
|
1747 | var animateToX = styled.keyframes(_templateObject$p);
|
1748 |
|
1749 | var animateFromX = styled.keyframes(_templateObject2$9);
|
1750 |
|
1751 | var removeCenterLine = styled.keyframes(_templateObject3$7);
|
1752 |
|
1753 | var addCenterLine = styled.keyframes(_templateObject4$2);
|
1754 |
|
1755 | var animateCenterLine = styled.keyframes(_templateObject5$1);
|
1756 |
|
1757 | var animateX = styled.keyframes(_templateObject6$1);
|
1758 |
|
1759 | var animated$2 = styled.css(_templateObject7, animateX, animateCenterLine);
|
1760 |
|
1761 | var closed = styled.css(_templateObject8, animateFromX, addCenterLine);
|
1762 |
|
1763 | var open = styled.css(_templateObject9, animateToX, removeCenterLine);
|
1764 |
|
1765 | var BaseHamburger = styled__default(UnstyledHamburger)(_templateObject10, function (props) {
|
1766 | return !props.open && props.open !== undefined && closed;
|
1767 | }, function (props) {
|
1768 | return props.open && open;
|
1769 | }, function (props) {
|
1770 | return props.animated && animated$2;
|
1771 | });
|
1772 |
|
1773 | BaseHamburger.propTypes = {
|
1774 | animated: PropTypes.bool,
|
1775 | open: PropTypes.bool,
|
1776 | theme: PropTypes.shape({
|
1777 | colors: PropTypes.shape({
|
1778 | navy: PropTypes.string,
|
1779 | rocketBlue: PropTypes.string,
|
1780 | white: PropTypes.string
|
1781 | })
|
1782 | })
|
1783 |
|
1784 |
|
1785 | };
|
1786 |
|
1787 | var _templateObject$q = _taggedTemplateLiteral$q(['\n stroke: ', ';\n'], ['\n stroke: ', ';\n']);
|
1788 |
|
1789 | function _taggedTemplateLiteral$q(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1790 |
|
1791 | var BlueHamburger = styled__default(BaseHamburger)(_templateObject$q, function (props) {
|
1792 | return props.theme.colors.rocketBlue;
|
1793 | });
|
1794 |
|
1795 | BlueHamburger.propTypes = {
|
1796 | theme: PropTypes.shape({
|
1797 | colors: PropTypes.shape({
|
1798 | white: PropTypes.string
|
1799 | })
|
1800 | })
|
1801 |
|
1802 |
|
1803 | };
|
1804 |
|
1805 | var _templateObject$r = _taggedTemplateLiteral$r(['\n stroke: ', ';\n'], ['\n stroke: ', ';\n']);
|
1806 |
|
1807 | function _taggedTemplateLiteral$r(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1808 |
|
1809 | var GrayHamburger = styled__default(BaseHamburger)(_templateObject$r, function (props) {
|
1810 | return props.theme.colors.loading;
|
1811 | });
|
1812 |
|
1813 | GrayHamburger.propTypes = {
|
1814 | theme: PropTypes.shape({
|
1815 | colors: PropTypes.shape({
|
1816 | white: PropTypes.string
|
1817 | })
|
1818 | })
|
1819 |
|
1820 |
|
1821 | };
|
1822 |
|
1823 | var _templateObject$s = _taggedTemplateLiteral$s(['\n stroke: ', ';\n'], ['\n stroke: ', ';\n']);
|
1824 |
|
1825 | function _taggedTemplateLiteral$s(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1826 |
|
1827 | var Hamburger = styled__default(BaseHamburger)(_templateObject$s, function (props) {
|
1828 | return props.theme.colors.white;
|
1829 | });
|
1830 |
|
1831 | Hamburger.propTypes = {
|
1832 | theme: PropTypes.shape({
|
1833 | colors: PropTypes.shape({
|
1834 | white: PropTypes.string
|
1835 | })
|
1836 | })
|
1837 |
|
1838 |
|
1839 | };
|
1840 |
|
1841 | var _templateObject$t = _taggedTemplateLiteral$t(['\n stroke: ', ';\n'], ['\n stroke: ', ';\n']);
|
1842 |
|
1843 | function _taggedTemplateLiteral$t(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1844 |
|
1845 | var NavyHamburger = styled__default(BaseHamburger)(_templateObject$t, function (props) {
|
1846 | return props.theme.colors.navy;
|
1847 | });
|
1848 |
|
1849 | NavyHamburger.propTypes = {
|
1850 | theme: PropTypes.shape({
|
1851 | colors: PropTypes.shape({
|
1852 | white: PropTypes.string
|
1853 | })
|
1854 | })
|
1855 |
|
1856 |
|
1857 | };
|
1858 |
|
1859 | var _jsxFileName$m = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/Logo/Logo.base.js',
|
1860 | _this$m = undefined;
|
1861 |
|
1862 | var _templateObject$u = _taggedTemplateLiteral$u(['\n 0% {\n transform: translateY(0px);\n }\n 25% {\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(0px);\n }\n 75% {\n transform: translateY(10px);\n }\n 100% {\n transform: translateY(0px);\n }\n'], ['\n 0% {\n transform: translateY(0px);\n }\n 25% {\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(0px);\n }\n 75% {\n transform: translateY(10px);\n }\n 100% {\n transform: translateY(0px);\n }\n']),
|
1863 | _templateObject2$a = _taggedTemplateLiteral$u(['\n > * {\n animation-name: ', ';\n animation-duration: 3s;\n animation-iteration-count: infinite;\n transform-origin: center;\n &:nth-child(1) {\n animation-delay: -2.8125s;\n }\n &:nth-child(2) {\n animation-delay: -2.625s;\n }\n &:nth-child(3) {\n animation-delay: -2.4375s;\n }\n &:nth-child(4) {\n animation-delay: -2.25s;\n }\n &:nth-child(5) {\n animation-delay: -2.0625s;\n }\n &:nth-child(6) {\n animation-delay: -1.875s;\n }\n &:nth-child(7) {\n animation-delay: -1.6875s;\n }\n &:nth-child(8) {\n animation-delay: -1.5s;\n }\n &:nth-child(9) {\n animation-delay: -1.3125s;\n }\n &:nth-child(10) {\n animation-delay: -1.125s;\n }\n &:nth-child(11) {\n animation-delay: -0.9375s;\n }\n &:nth-child(12) {\n animation-delay: -0.75s;\n }\n &:nth-child(13) {\n animation-delay: -0.5625s;\n }\n &:nth-child(14) {\n animation-delay: -0.375s;\n }\n &:nth-child(15) {\n animation-delay: -0.1875s;\n }\n &:nth-child(16) {\n animation-delay: 0s;\n }\n }\n'], ['\n > * {\n animation-name: ', ';\n animation-duration: 3s;\n animation-iteration-count: infinite;\n transform-origin: center;\n &:nth-child(1) {\n animation-delay: -2.8125s;\n }\n &:nth-child(2) {\n animation-delay: -2.625s;\n }\n &:nth-child(3) {\n animation-delay: -2.4375s;\n }\n &:nth-child(4) {\n animation-delay: -2.25s;\n }\n &:nth-child(5) {\n animation-delay: -2.0625s;\n }\n &:nth-child(6) {\n animation-delay: -1.875s;\n }\n &:nth-child(7) {\n animation-delay: -1.6875s;\n }\n &:nth-child(8) {\n animation-delay: -1.5s;\n }\n &:nth-child(9) {\n animation-delay: -1.3125s;\n }\n &:nth-child(10) {\n animation-delay: -1.125s;\n }\n &:nth-child(11) {\n animation-delay: -0.9375s;\n }\n &:nth-child(12) {\n animation-delay: -0.75s;\n }\n &:nth-child(13) {\n animation-delay: -0.5625s;\n }\n &:nth-child(14) {\n animation-delay: -0.375s;\n }\n &:nth-child(15) {\n animation-delay: -0.1875s;\n }\n &:nth-child(16) {\n animation-delay: 0s;\n }\n }\n']),
|
1864 | _templateObject3$8 = _taggedTemplateLiteral$u(['\n width: ', ';\n ', '\n'], ['\n width: ', ';\n ', '\n']);
|
1865 |
|
1866 | function _taggedTemplateLiteral$u(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1867 |
|
1868 | var UnstyledBaseLogo = function UnstyledBaseLogo(_ref) {
|
1869 | var className = _ref.className;
|
1870 |
|
1871 | return React__default.createElement(
|
1872 | 'svg',
|
1873 | { className: className, viewBox: '0 0 492 60', __source: {
|
1874 | fileName: _jsxFileName$m,
|
1875 | lineNumber: 7
|
1876 | },
|
1877 | __self: _this$m
|
1878 | },
|
1879 | React__default.createElement('path', { className: 'letter letter-r', d: 'M52.6,39.4l-4.1-8.1h-3.6v8.1H42V20.2h7.5c3.6,0,6,2.4,6,5.6c0.1,2.4-1.5,4.5-3.8,5.1l4.4,8.5L52.6,39.4z M49.2,22.8h-4.3v6h4.3c2,0,3.3-1.1,3.3-3C52.5,24,51.2,22.8,49.2,22.8z', __source: {
|
1880 | fileName: _jsxFileName$m,
|
1881 | lineNumber: 8
|
1882 | },
|
1883 | __self: _this$m
|
1884 | }),
|
1885 | React__default.createElement('path', { className: 'letter letter-o', d: 'M78,37.7c-2.8,2.8-7.3,2.8-10.1,0c-1.9-1.9-1.8-4-1.8-7.7c0-3.7,0-5.8,1.8-7.8c2.8-2.8,7.3-2.8,10.1,0 c1.9,1.9,1.8,4,1.8,7.7S79.8,35.8,78,37.7z M75.7,24c-1.6-1.6-4.1-1.6-5.7,0l0,0c-1,1-1.2,2.1-1.2,6s0.2,5,1.2,6 c1.6,1.6,4.1,1.6,5.7,0l0,0c1-1,1.1-2.1,1.1-6S76.7,25.1,75.7,24z', __source: {
|
1886 | fileName: _jsxFileName$m,
|
1887 | lineNumber: 10
|
1888 | },
|
1889 | __self: _this$m
|
1890 | }),
|
1891 | React__default.createElement('path', { className: 'letter letter-c', d: 'M104.1,26.1h-3c-0.1-0.8-0.4-1.5-1-2.1c-1.6-1.6-4.1-1.6-5.7,0l0,0c-1,1-1.2,2.1-1.2,6s0.2,5,1.2,6 c1.6,1.6,4.1,1.6,5.7,0l0,0c0.6-0.6,0.9-1.3,1-2.1h3c-0.2,1.6-0.6,2.8-1.7,3.9c-2.8,2.8-7.3,2.8-10.1,0c-1.9-1.9-1.9-4-1.9-7.7 s0-5.8,1.9-7.7c2.8-2.8,7.3-2.8,10.1,0C103.5,23.4,103.9,24.6,104.1,26.1', __source: {
|
1892 | fileName: _jsxFileName$m,
|
1893 | lineNumber: 13
|
1894 | },
|
1895 | __self: _this$m
|
1896 | }),
|
1897 | React__default.createElement('path', { className: 'letter letter-k', d: 'M126.5,39.6l-5.4-9.5l-3.2,3.9v5.6h-2.9V20.4h2.9V30l7.9-9.7h3.6l-6.2,7.6l6.9,11.7H126.5z', __source: {
|
1898 | fileName: _jsxFileName$m,
|
1899 | lineNumber: 16
|
1900 | },
|
1901 | __self: _this$m
|
1902 | }),
|
1903 | React__default.createElement('polygon', { className: 'letter letter-e', points: '142.9,23.1 152.3,23.1 152.3,20.5 140,20.5 140,20.5 140,39.7 142.6,39.7 152.3,39.7 152.3,37.1 142.9,37.1 142.9,31.4 151.4,31.4 151.4,28.8 142.9,28.8 142.9,28.7', __source: {
|
1904 | fileName: _jsxFileName$m,
|
1905 | lineNumber: 17
|
1906 | },
|
1907 | __self: _this$m
|
1908 | }),
|
1909 | React__default.createElement('polygon', { className: 'letter letter-t', points: '162.3,20.4 162.3,23.1 167.7,23.1 167.7,39.7 170.5,39.7 170.5,23.1 175.8,23.1 175.8,20.4', __source: {
|
1910 | fileName: _jsxFileName$m,
|
1911 | lineNumber: 19
|
1912 | },
|
1913 | __self: _this$m
|
1914 | }),
|
1915 | React__default.createElement('path', { className: 'letter letter-s', d: 'M191.6,39.8c-2.9,0-5-0.7-6.8-2.6l2-1.9c1.4,1.4,3,1.8,4.9,1.8c2.5,0,4-1.1,4-3c0-0.8-0.2-1.5-0.8-2 c-0.5-0.4-1-0.6-2.1-0.8l-2.3-0.4c-1.4-0.1-2.6-0.7-3.6-1.6c-1-0.9-1.4-2.1-1.4-3.7c0-3.3,2.4-5.6,6.4-5.6c2.6,0,4.3,0.6,6,2.2 l-1.9,1.8c-1.2-1.1-2.6-1.5-4.2-1.5c-2.3,0-3.5,1.3-3.5,3c0,0.7,0.2,1.3,0.7,1.8c0.6,0.5,1.4,0.8,2.2,0.9l2.2,0.3 c1.8,0.3,2.8,0.7,3.6,1.4c1,0.9,1.6,2.3,1.6,4C198.5,37.7,195.6,39.8,191.6,39.8z', __source: {
|
1916 | fileName: _jsxFileName$m,
|
1917 | lineNumber: 20
|
1918 | },
|
1919 | __self: _this$m
|
1920 | }),
|
1921 | React__default.createElement('path', { className: 'letter letter-o', d: 'M234.3,37.7c-2.8,2.8-7.3,2.8-10.1,0c-1.9-1.9-1.9-4-1.9-7.7s0-5.8,1.9-7.7c2.8-2.8,7.3-2.8,10.1,0 c1.9,1.9,1.8,4,1.8,7.7S236.2,35.8,234.3,37.7z M232.1,24c-1.6-1.6-4.1-1.6-5.7,0l0,0c-1,1-1.1,2.1-1.1,6s0.2,5,1.1,6 c1.6,1.6,4.1,1.6,5.7,0l0,0c1-1,1.1-2.1,1.1-6S233,25.1,232.1,24z', __source: {
|
1922 | fileName: _jsxFileName$m,
|
1923 | lineNumber: 24
|
1924 | },
|
1925 | __self: _this$m
|
1926 | }),
|
1927 | React__default.createElement('polygon', { className: 'letter letter-f', points: '250.3,31.4 258.8,31.4 258.8,28.7 250.3,28.7 250.3,23.1 259.7,23.1 259.7,20.4 247.4,20.4 247.4,39.7 250.3,39.7', __source: {
|
1928 | fileName: _jsxFileName$m,
|
1929 | lineNumber: 27
|
1930 | },
|
1931 | __self: _this$m
|
1932 | }),
|
1933 | React__default.createElement('path', { className: 'letter letter-a', d: 'M296.6,39.7V30c0-3.7,0-5.8-1.8-7.7c-2.8-2.8-7.3-2.8-10.1,0c-1.9,1.9-1.9,4-1.9,7.7v9.7h2.9V34h8v5.7 C293.6,39.7,296.6,39.7,296.6,39.7z M285.6,31.4V30c0-3.9,0.2-5,1.1-6c1.6-1.6,4.2-1.6,5.7,0l0,0c1,1,1.1,2.1,1.1,6v1.4H285.6z', __source: {
|
1934 | fileName: _jsxFileName$m,
|
1935 | lineNumber: 29
|
1936 | },
|
1937 | __self: _this$m
|
1938 | }),
|
1939 | React__default.createElement('path', { className: 'letter letter-w', d: 'M322.5,39.7H320l-3.9-13.5l-3.9,13.5h-2.6l-5-19.3h3.1l3.4,13.7l3.9-13.7h2.4l3.9,13.7l3.4-13.7h3.1L322.5,39.7 z', __source: {
|
1940 | fileName: _jsxFileName$m,
|
1941 | lineNumber: 31
|
1942 | },
|
1943 | __self: _this$m
|
1944 | }),
|
1945 | React__default.createElement('polygon', { className: 'letter letter-e', points: '340.6,23.1 350,23.1 350,20.4 337.7,20.4 337.7,20.5 337.7,39.7 340.3,39.7 350,39.7 350,37 340.6,37 340.6,31.4 349.1,31.4 349.1,28.7 340.6,28.7 340.6,28.7', __source: {
|
1946 | fileName: _jsxFileName$m,
|
1947 | lineNumber: 33
|
1948 | },
|
1949 | __self: _this$m
|
1950 | }),
|
1951 | React__default.createElement('path', { className: 'letter letter-s', d: 'M366.4,39.8c-2.9,0-5-0.7-6.8-2.6l2-1.9c1.4,1.4,3,1.8,4.9,1.8c2.5,0,4-1.1,4-3c0-0.8-0.2-1.5-0.8-2 c-0.5-0.4-1-0.6-2.1-0.8l-2.3-0.3c-1.4-0.1-2.6-0.7-3.6-1.6c-1-0.9-1.4-2.1-1.4-3.7c0-3.4,2.4-5.6,6.4-5.6c2.6,0,4.3,0.6,6,2.2 l-1.9,1.8c-1.2-1.1-2.6-1.5-4.2-1.5c-2.3,0-3.5,1.3-3.5,3c0,0.7,0.2,1.3,0.7,1.8c0.6,0.5,1.4,0.8,2.2,0.9l2.2,0.3 c1.8,0.3,2.8,0.7,3.6,1.4c1,0.9,1.6,2.3,1.6,4C373.3,37.7,370.5,39.8,366.4,39.8z', __source: {
|
1952 | fileName: _jsxFileName$m,
|
1953 | lineNumber: 35
|
1954 | },
|
1955 | __self: _this$m
|
1956 | }),
|
1957 | React__default.createElement('path', { className: 'letter letter-o', d: 'M395.7,37.8c-1.4,1.4-3.2,2.1-5.1,2.1c-1.9,0-3.7-0.7-5.1-2c-1.9-1.9-1.9-4-1.9-7.7s0-5.8,1.9-7.7 c1.3-1.4,3.2-2.1,5.1-2.1c1.9,0,3.8,0.7,5.1,2c1.9,1.9,1.8,4,1.8,7.7S397.6,35.9,395.7,37.8z M393.5,24.1c-1.6-1.6-4.2-1.6-5.7,0 l0,0c-1,1-1.1,2.1-1.1,6s0.2,5,1.1,6c1.6,1.6,4.1,1.6,5.7,0l0,0c1-1,1.1-2.1,1.1-6S394.4,25.1,393.5,24.1z', __source: {
|
1958 | fileName: _jsxFileName$m,
|
1959 | lineNumber: 39
|
1960 | },
|
1961 | __self: _this$m
|
1962 | }),
|
1963 | React__default.createElement('path', { className: 'letter letter-m', d: 'M422.8,39.7V26.8l-4.4,9.4h-2.2l-4.6-9.4v12.9h-2.9V20.4h2.9l5.6,12l5.5-12h2.9v19.2L422.8,39.7L422.8,39.7z', __source: {
|
1964 | fileName: _jsxFileName$m,
|
1965 | lineNumber: 42
|
1966 | },
|
1967 | __self: _this$m
|
1968 | }),
|
1969 | React__default.createElement('polygon', { className: 'letter letter-e', points: '440.5,23.1 449.9,23.1 449.9,20.4 437.6,20.4 437.6,20.5 437.6,39.7 440.2,39.7 449.9,39.7 449.9,37 440.5,37 440.5,31.4 449,31.4 449,28.7 440.5,28.7 440.5,28.7', __source: {
|
1970 | fileName: _jsxFileName$m,
|
1971 | lineNumber: 43
|
1972 | },
|
1973 | __self: _this$m
|
1974 | })
|
1975 | );
|
1976 | };
|
1977 |
|
1978 | var pulse$1 = styled.keyframes(_templateObject$u);
|
1979 |
|
1980 | var animated$3 = styled.css(_templateObject2$a, pulse$1);
|
1981 |
|
1982 | var BaseLogo = styled__default(UnstyledBaseLogo)(_templateObject3$8, function (props) {
|
1983 | return props.width;
|
1984 | }, function (props) {
|
1985 | return props.animated ? animated$3 : '';
|
1986 | });
|
1987 |
|
1988 | BaseLogo.propTypes = {
|
1989 | width: PropTypes.string
|
1990 |
|
1991 |
|
1992 | };
|
1993 |
|
1994 | var _templateObject$v = _taggedTemplateLiteral$v(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
1995 |
|
1996 | function _taggedTemplateLiteral$v(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
1997 |
|
1998 | var GrayLogo = styled__default(BaseLogo)(_templateObject$v, function (props) {
|
1999 | return props.theme.colors.gray[4];
|
2000 | });
|
2001 |
|
2002 | GrayLogo.propTypes = {
|
2003 | theme: PropTypes.shape({
|
2004 | colors: PropTypes.shape({
|
2005 | gray: PropTypes.array
|
2006 | })
|
2007 | }),
|
2008 | width: PropTypes.string
|
2009 |
|
2010 |
|
2011 | };
|
2012 |
|
2013 |
|
2014 |
|
2015 |
|
2016 | var _templateObject$w = _taggedTemplateLiteral$w(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
2017 |
|
2018 | function _taggedTemplateLiteral$w(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2019 |
|
2020 | var Logo = styled__default(BaseLogo)(_templateObject$w, function (props) {
|
2021 | return props.theme.colors.rocketBlue;
|
2022 | });
|
2023 |
|
2024 | Logo.propTypes = {
|
2025 | theme: PropTypes.shape({
|
2026 | color: PropTypes.shape({
|
2027 | rocketBlue: PropTypes.string
|
2028 | })
|
2029 | }),
|
2030 | width: PropTypes.string
|
2031 |
|
2032 |
|
2033 | };
|
2034 |
|
2035 |
|
2036 |
|
2037 |
|
2038 | var _templateObject$x = _taggedTemplateLiteral$x(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
2039 |
|
2040 | function _taggedTemplateLiteral$x(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2041 |
|
2042 | var NavyLogo = styled__default(BaseLogo)(_templateObject$x, function (props) {
|
2043 | return props.theme.colors.navy;
|
2044 | });
|
2045 |
|
2046 | NavyLogo.propTypes = {
|
2047 | theme: PropTypes.shape({
|
2048 | colors: PropTypes.shape({
|
2049 | navy: PropTypes.string
|
2050 | })
|
2051 | }),
|
2052 | width: PropTypes.string
|
2053 |
|
2054 |
|
2055 | };
|
2056 |
|
2057 |
|
2058 |
|
2059 |
|
2060 | var _templateObject$y = _taggedTemplateLiteral$y(['\n fill: ', ';\n'], ['\n fill: ', ';\n']);
|
2061 |
|
2062 | function _taggedTemplateLiteral$y(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2063 |
|
2064 | var WhiteLogo = styled__default(BaseLogo)(_templateObject$y, function (props) {
|
2065 | return props.theme.colors.white;
|
2066 | });
|
2067 |
|
2068 | WhiteLogo.propTypes = {
|
2069 | theme: PropTypes.shape({
|
2070 | colors: PropTypes.shape({
|
2071 | white: PropTypes.string
|
2072 | })
|
2073 | }),
|
2074 | width: PropTypes.string
|
2075 |
|
2076 |
|
2077 | };
|
2078 |
|
2079 |
|
2080 |
|
2081 |
|
2082 | var _jsxFileName$n = '/Users/jrusso/Documents/ROA/mirage/src/core/icons/Spinner/Spinner.base.js',
|
2083 | _this$n = undefined;
|
2084 |
|
2085 | var _templateObject$z = _taggedTemplateLiteral$z(['\n0% {\n opacity: 1.0;\n}\n100% {\n opacity: 0.0;\n}\n'], ['\n0% {\n opacity: 1.0;\n}\n100% {\n opacity: 0.0;\n}\n']),
|
2086 | _templateObject2$b = _taggedTemplateLiteral$z(['\n width: ', ';\n height: ', ';\n rect {\n animation-name: ', ';\n animation-duration: 1.2s;\n animation-iteration-count: infinite;\n transform-origin: 50% 50%;\n transform-box: view-box;\n }\n g {\n &:nth-child(1) rect {\n animation-delay: -1.0799999999999998s;\n }\n &:nth-child(2) rect {\n animation-delay: -0.96s;\n }\n &:nth-child(3) rect {\n animation-delay: -0.8400000000000001s;\n }\n &:nth-child(4) rect {\n animation-delay: -0.72s;\n }\n &:nth-child(5) rect {\n animation-delay: -0.6s;\n }\n &:nth-child(6) rect {\n animation-delay: -0.48s;\n }\n &:nth-child(7) rect {\n animation-delay: -0.36s;\n }\n &:nth-child(8) rect {\n animation-delay: -0.24s;\n }\n &:nth-child(9) rect {\n animation-delay: -0.12s;\n }\n &:nth-child(10) rect {\n animation-delay: 0s;\n }\n }\n'], ['\n width: ', ';\n height: ', ';\n rect {\n animation-name: ', ';\n animation-duration: 1.2s;\n animation-iteration-count: infinite;\n transform-origin: 50% 50%;\n transform-box: view-box;\n }\n g {\n &:nth-child(1) rect {\n animation-delay: -1.0799999999999998s;\n }\n &:nth-child(2) rect {\n animation-delay: -0.96s;\n }\n &:nth-child(3) rect {\n animation-delay: -0.8400000000000001s;\n }\n &:nth-child(4) rect {\n animation-delay: -0.72s;\n }\n &:nth-child(5) rect {\n animation-delay: -0.6s;\n }\n &:nth-child(6) rect {\n animation-delay: -0.48s;\n }\n &:nth-child(7) rect {\n animation-delay: -0.36s;\n }\n &:nth-child(8) rect {\n animation-delay: -0.24s;\n }\n &:nth-child(9) rect {\n animation-delay: -0.12s;\n }\n &:nth-child(10) rect {\n animation-delay: 0s;\n }\n }\n']);
|
2087 |
|
2088 | function _taggedTemplateLiteral$z(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2089 |
|
2090 | var animation$2 = styled.keyframes(_templateObject$z);
|
2091 |
|
2092 | var SpinnerSVG = function SpinnerSVG(_ref) {
|
2093 | var className = _ref.className;
|
2094 |
|
2095 | return React__default.createElement(
|
2096 | 'svg',
|
2097 | { className: className, viewBox: '0 0 100 100', preserveAspectRatio: 'xMidYMid', xmlns: 'http://www.w3.org/2000/svg', version: '1.1', __source: {
|
2098 | fileName: _jsxFileName$n,
|
2099 | lineNumber: 16
|
2100 | },
|
2101 | __self: _this$n
|
2102 | },
|
2103 | React__default.createElement(
|
2104 | 'g',
|
2105 | { transform: 'rotate(0 50 50)', __source: {
|
2106 | fileName: _jsxFileName$n,
|
2107 | lineNumber: 17
|
2108 | },
|
2109 | __self: _this$n
|
2110 | },
|
2111 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2112 | fileName: _jsxFileName$n,
|
2113 | lineNumber: 18
|
2114 | },
|
2115 | __self: _this$n
|
2116 | })
|
2117 | ),
|
2118 | React__default.createElement(
|
2119 | 'g',
|
2120 | { transform: 'rotate(36 50 50)', __source: {
|
2121 | fileName: _jsxFileName$n,
|
2122 | lineNumber: 20
|
2123 | },
|
2124 | __self: _this$n
|
2125 | },
|
2126 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2127 | fileName: _jsxFileName$n,
|
2128 | lineNumber: 21
|
2129 | },
|
2130 | __self: _this$n
|
2131 | })
|
2132 | ),
|
2133 | React__default.createElement(
|
2134 | 'g',
|
2135 | { transform: 'rotate(72 50 50)', __source: {
|
2136 | fileName: _jsxFileName$n,
|
2137 | lineNumber: 23
|
2138 | },
|
2139 | __self: _this$n
|
2140 | },
|
2141 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2142 | fileName: _jsxFileName$n,
|
2143 | lineNumber: 24
|
2144 | },
|
2145 | __self: _this$n
|
2146 | })
|
2147 | ),
|
2148 | React__default.createElement(
|
2149 | 'g',
|
2150 | { transform: 'rotate(108 50 50)', __source: {
|
2151 | fileName: _jsxFileName$n,
|
2152 | lineNumber: 26
|
2153 | },
|
2154 | __self: _this$n
|
2155 | },
|
2156 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2157 | fileName: _jsxFileName$n,
|
2158 | lineNumber: 27
|
2159 | },
|
2160 | __self: _this$n
|
2161 | })
|
2162 | ),
|
2163 | React__default.createElement(
|
2164 | 'g',
|
2165 | { transform: 'rotate(144 50 50)', __source: {
|
2166 | fileName: _jsxFileName$n,
|
2167 | lineNumber: 29
|
2168 | },
|
2169 | __self: _this$n
|
2170 | },
|
2171 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2172 | fileName: _jsxFileName$n,
|
2173 | lineNumber: 30
|
2174 | },
|
2175 | __self: _this$n
|
2176 | })
|
2177 | ),
|
2178 | React__default.createElement(
|
2179 | 'g',
|
2180 | { transform: 'rotate(180 50 50)', __source: {
|
2181 | fileName: _jsxFileName$n,
|
2182 | lineNumber: 32
|
2183 | },
|
2184 | __self: _this$n
|
2185 | },
|
2186 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2187 | fileName: _jsxFileName$n,
|
2188 | lineNumber: 33
|
2189 | },
|
2190 | __self: _this$n
|
2191 | })
|
2192 | ),
|
2193 | React__default.createElement(
|
2194 | 'g',
|
2195 | { transform: 'rotate(216 50 50)', __source: {
|
2196 | fileName: _jsxFileName$n,
|
2197 | lineNumber: 35
|
2198 | },
|
2199 | __self: _this$n
|
2200 | },
|
2201 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2202 | fileName: _jsxFileName$n,
|
2203 | lineNumber: 36
|
2204 | },
|
2205 | __self: _this$n
|
2206 | })
|
2207 | ),
|
2208 | React__default.createElement(
|
2209 | 'g',
|
2210 | { transform: 'rotate(252 50 50)', __source: {
|
2211 | fileName: _jsxFileName$n,
|
2212 | lineNumber: 38
|
2213 | },
|
2214 | __self: _this$n
|
2215 | },
|
2216 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2217 | fileName: _jsxFileName$n,
|
2218 | lineNumber: 39
|
2219 | },
|
2220 | __self: _this$n
|
2221 | })
|
2222 | ),
|
2223 | React__default.createElement(
|
2224 | 'g',
|
2225 | { transform: 'rotate(288 50 50)', __source: {
|
2226 | fileName: _jsxFileName$n,
|
2227 | lineNumber: 41
|
2228 | },
|
2229 | __self: _this$n
|
2230 | },
|
2231 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2232 | fileName: _jsxFileName$n,
|
2233 | lineNumber: 42
|
2234 | },
|
2235 | __self: _this$n
|
2236 | })
|
2237 | ),
|
2238 | React__default.createElement(
|
2239 | 'g',
|
2240 | { transform: 'rotate(324 50 50)', __source: {
|
2241 | fileName: _jsxFileName$n,
|
2242 | lineNumber: 44
|
2243 | },
|
2244 | __self: _this$n
|
2245 | },
|
2246 | React__default.createElement('rect', { x: '46.5', y: '16', rx: '1.86', ry: '0.64', width: '7', height: '18', __source: {
|
2247 | fileName: _jsxFileName$n,
|
2248 | lineNumber: 45
|
2249 | },
|
2250 | __self: _this$n
|
2251 | })
|
2252 | )
|
2253 | );
|
2254 | };
|
2255 |
|
2256 | var Spinner = styled__default(SpinnerSVG)(_templateObject2$b, function (props) {
|
2257 | return props.size;
|
2258 | }, function (props) {
|
2259 | return props.size;
|
2260 | }, animation$2);
|
2261 |
|
2262 | Spinner.propTypes = {
|
2263 | size: PropTypes.string,
|
2264 | theme: PropTypes.shape({})
|
2265 | };
|
2266 |
|
2267 | Spinner.defaultProps = {
|
2268 | size: '80px'
|
2269 |
|
2270 |
|
2271 | };
|
2272 |
|
2273 | var _templateObject$A = _taggedTemplateLiteral$A(['\n rect {\n fill: ', ';\n }\n'], ['\n rect {\n fill: ', ';\n }\n']);
|
2274 |
|
2275 | function _taggedTemplateLiteral$A(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2276 |
|
2277 | var BlueSpinner = styled__default(Spinner)(_templateObject$A, function (props) {
|
2278 | return props.theme.colors.rocketBlue;
|
2279 | });
|
2280 |
|
2281 | BlueSpinner.propTypes = {
|
2282 | theme: PropTypes.shape({
|
2283 | colors: PropTypes.shape({
|
2284 | rocketBlue: PropTypes.string
|
2285 | })
|
2286 | })
|
2287 |
|
2288 |
|
2289 | };
|
2290 |
|
2291 | var _templateObject$B = _taggedTemplateLiteral$B(['\n rect {\n fill: ', ';\n }\n'], ['\n rect {\n fill: ', ';\n }\n']);
|
2292 |
|
2293 | function _taggedTemplateLiteral$B(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2294 |
|
2295 | var GraySpinner = styled__default(Spinner)(_templateObject$B, function (props) {
|
2296 | return props.theme.colors.loading;
|
2297 | });
|
2298 |
|
2299 | GraySpinner.propTypes = {
|
2300 | theme: PropTypes.shape({
|
2301 | colors: PropTypes.shape({
|
2302 | loading: PropTypes.string
|
2303 | })
|
2304 | })
|
2305 |
|
2306 |
|
2307 | };
|
2308 |
|
2309 | var _templateObject$C = _taggedTemplateLiteral$C(['\n rect {\n fill: ', ';\n }\n'], ['\n rect {\n fill: ', ';\n }\n']);
|
2310 |
|
2311 | function _taggedTemplateLiteral$C(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2312 |
|
2313 | var NavySpinner = styled__default(Spinner)(_templateObject$C, function (props) {
|
2314 | return props.theme.colors.navy;
|
2315 | });
|
2316 |
|
2317 | NavySpinner.propTypes = {
|
2318 | theme: PropTypes.shape({
|
2319 | colors: PropTypes.shape({
|
2320 | navy: PropTypes.string
|
2321 | })
|
2322 | })
|
2323 |
|
2324 |
|
2325 | };
|
2326 |
|
2327 | var _templateObject$D = _taggedTemplateLiteral$D(['\n rect {\n fill: ', ';\n }\n'], ['\n rect {\n fill: ', ';\n }\n']);
|
2328 |
|
2329 | function _taggedTemplateLiteral$D(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2330 |
|
2331 | var WhiteSpinner = styled__default(Spinner)(_templateObject$D, function (props) {
|
2332 | return props.theme.colors.white;
|
2333 | });
|
2334 |
|
2335 | WhiteSpinner.propTypes = {
|
2336 | theme: PropTypes.shape({
|
2337 | colors: PropTypes.shape({
|
2338 | white: PropTypes.string
|
2339 | })
|
2340 | })
|
2341 |
|
2342 |
|
2343 | };
|
2344 |
|
2345 |
|
2346 |
|
2347 | var _jsxFileName$o = '/Users/jrusso/Documents/ROA/mirage/src/core/image/backgroundImage.js';
|
2348 |
|
2349 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
2350 |
|
2351 | var _templateObject$E = _taggedTemplateLiteral$E(['\n position: relative;\n width: 100%;\n > div {\n background-image: url(', ');\n background-size: contain;\n background-repeat: no-repeat;\n padding-top: ', '%;\n }\n > article {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n'], ['\n position: relative;\n width: 100%;\n > div {\n background-image: url(', ');\n background-size: contain;\n background-repeat: no-repeat;\n padding-top: ', '%;\n }\n > article {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n']);
|
2352 |
|
2353 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2354 |
|
2355 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
2356 |
|
2357 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
2358 |
|
2359 | function _taggedTemplateLiteral$E(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2360 |
|
2361 | var StyledBackgroundImage = styled__default.section(_templateObject$E, function (props) {
|
2362 | return props.src;
|
2363 | }, function (props) {
|
2364 | return props.defaultPaddingTop;
|
2365 | });
|
2366 |
|
2367 | var BackgroundImage = function (_React$Component) {
|
2368 | _inherits(BackgroundImage, _React$Component);
|
2369 |
|
2370 | function BackgroundImage(props) {
|
2371 | _classCallCheck(this, BackgroundImage);
|
2372 |
|
2373 | var _this = _possibleConstructorReturn(this, (BackgroundImage.__proto__ || Object.getPrototypeOf(BackgroundImage)).call(this, props));
|
2374 |
|
2375 | _this.setResponsiveBackground = function () {
|
2376 | var _this$props = _this.props,
|
2377 | width = _this$props.size.width,
|
2378 | src = _this$props.src,
|
2379 | inSources = _this$props.sources;
|
2380 |
|
2381 | var sources = Object.assign({}, inSources, { 0: src });
|
2382 | var currentSrc = _this.state.currentSrc;
|
2383 |
|
2384 | if (sources) {
|
2385 | var newSrc = sources[Object.keys(sources).sort(function (keyA, keyB) {
|
2386 | return keyA - keyB;
|
2387 | }).reverse().find(function (key) {
|
2388 | return key < width;
|
2389 | })];
|
2390 | if (currentSrc !== newSrc) {
|
2391 | var image = new Image();
|
2392 | image.src = newSrc;
|
2393 | image.onload = function () {
|
2394 | var defaultPaddingTop = image.height !== 0 && image.width !== 0 ? image.height / image.width * 100 : 0;
|
2395 | _this.setState({
|
2396 | currentSrc: newSrc,
|
2397 | defaultPaddingTop: defaultPaddingTop
|
2398 | });
|
2399 | };
|
2400 | }
|
2401 | }
|
2402 | };
|
2403 |
|
2404 | _this.state = {
|
2405 | currentSrc: undefined,
|
2406 | defaultPaddingTop: undefined
|
2407 | };
|
2408 | return _this;
|
2409 | }
|
2410 |
|
2411 | _createClass(BackgroundImage, [{
|
2412 | key: 'componentDidMount',
|
2413 | value: function componentDidMount() {
|
2414 | this.setResponsiveBackground();
|
2415 | }
|
2416 | }, {
|
2417 | key: 'componentDidUpdate',
|
2418 | value: function componentDidUpdate() {
|
2419 | this.setResponsiveBackground();
|
2420 | }
|
2421 | }, {
|
2422 | key: 'render',
|
2423 | value: function render() {
|
2424 | var children = this.props.children;
|
2425 | var _state = this.state,
|
2426 | currentSrc = _state.currentSrc,
|
2427 | defaultPaddingTop = _state.defaultPaddingTop;
|
2428 |
|
2429 | return React__default.createElement(
|
2430 | StyledBackgroundImage,
|
2431 | Object.assign({}, this.props, { src: currentSrc, defaultPaddingTop: defaultPaddingTop, __source: {
|
2432 | fileName: _jsxFileName$o,
|
2433 | lineNumber: 72
|
2434 | },
|
2435 | __self: this
|
2436 | }),
|
2437 | React__default.createElement('div', {
|
2438 | __source: {
|
2439 | fileName: _jsxFileName$o,
|
2440 | lineNumber: 73
|
2441 | },
|
2442 | __self: this
|
2443 | }),
|
2444 | React__default.createElement(
|
2445 | 'article',
|
2446 | {
|
2447 | __source: {
|
2448 | fileName: _jsxFileName$o,
|
2449 | lineNumber: 74
|
2450 | },
|
2451 | __self: this
|
2452 | },
|
2453 | children
|
2454 | )
|
2455 | );
|
2456 | }
|
2457 | }]);
|
2458 |
|
2459 | return BackgroundImage;
|
2460 | }(React__default.Component);
|
2461 |
|
2462 | BackgroundImage.propTypes = {
|
2463 | src: PropTypes.string,
|
2464 | sizes: PropTypes.object,
|
2465 | srcSet: PropTypes.oneOfType([function (props, propName, componentName) {
|
2466 | if (props[propName] && !props['sizes']) {
|
2467 | console.warn('You have provided ' + propName + ', but not defined the sizes prop, this will cause your InlineImages for be sized to 100vw if a `width` css property is not set.');
|
2468 | }
|
2469 | }, PropTypes.object])
|
2470 |
|
2471 |
|
2472 | };var backgroundImage = reactSizeme.withSize()(BackgroundImage);
|
2473 |
|
2474 | function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2475 |
|
2476 | var Sizes = function Sizes(inSizes) {
|
2477 | var _this = this;
|
2478 |
|
2479 | _classCallCheck$1(this, Sizes);
|
2480 |
|
2481 | this.toString = function () {
|
2482 | var output = '';
|
2483 | for (var breakpoint in _this.sizes) {
|
2484 | var width = _this.sizes[breakpoint];
|
2485 | if (breakpoint !== 'default') {
|
2486 | output = '' + output + breakpoint + ' ' + width + ',\n';
|
2487 | } else {
|
2488 | output = output + ' ' + width;
|
2489 | }
|
2490 | }
|
2491 | if (Object.keys(_this.sizes).includes('default')) {
|
2492 | return output;
|
2493 | } else {
|
2494 | return output.slice(0, -2);
|
2495 | }
|
2496 | };
|
2497 |
|
2498 | this.sizes = inSizes;
|
2499 | };
|
2500 |
|
2501 | function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2502 |
|
2503 | var SourceSet = function SourceSet(sources) {
|
2504 | var _this = this;
|
2505 |
|
2506 | _classCallCheck$2(this, SourceSet);
|
2507 |
|
2508 | this.toString = function () {
|
2509 | var output = "";
|
2510 | for (var width in _this.sources) {
|
2511 | output = "" + output + _this.sources[width] + " " + width + ",\n";
|
2512 | }
|
2513 | return output.slice(0, -2);
|
2514 | };
|
2515 |
|
2516 | this.sources = sources;
|
2517 | };
|
2518 |
|
2519 | var _jsxFileName$p = '/Users/jrusso/Documents/ROA/mirage/src/core/image/inlineImage.js',
|
2520 | _this$o = undefined;
|
2521 |
|
2522 | function _objectWithoutProperties$2(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
2523 |
|
2524 | var InlineImage = function InlineImage(_ref) {
|
2525 | var alt = _ref.alt,
|
2526 | src = _ref.src,
|
2527 | inSizes = _ref.sizes,
|
2528 | inSources = _ref.srcSet,
|
2529 | props = _objectWithoutProperties$2(_ref, ['alt', 'src', 'sizes', 'srcSet']);
|
2530 |
|
2531 | var srcSet = undefined;
|
2532 | if (inSources) {
|
2533 | srcSet = new SourceSet(inSources).toString();
|
2534 | }
|
2535 | var sizesStr = undefined;
|
2536 | if (inSizes) {
|
2537 | sizesStr = new Sizes(inSizes).toString();
|
2538 | }
|
2539 | return React__default.createElement('img', Object.assign({
|
2540 | alt: alt,
|
2541 | src: src,
|
2542 | srcSet: srcSet,
|
2543 | sizes: sizesStr
|
2544 | }, props, {
|
2545 | __source: {
|
2546 | fileName: _jsxFileName$p,
|
2547 | lineNumber: 17
|
2548 | },
|
2549 | __self: _this$o
|
2550 | }));
|
2551 | };
|
2552 |
|
2553 | InlineImage.defaultProps = {
|
2554 | alt: ''
|
2555 | };
|
2556 |
|
2557 | InlineImage.propTypes = {
|
2558 | alt: PropTypes.string.isRequired,
|
2559 | src: PropTypes.string.isRequired,
|
2560 | sizes: PropTypes.object,
|
2561 | srcSet: PropTypes.oneOfType([function (props, propName, componentName) {
|
2562 | if (props[propName] && !props['sizes']) {
|
2563 | console.warn('You have provided ' + propName + ', but not defined the sizes prop, this will cause your InlineImages for be sized to 100vw if a `width` css property is not set.');
|
2564 | }
|
2565 | }, PropTypes.object])
|
2566 |
|
2567 |
|
2568 | };
|
2569 |
|
2570 | var _templateObject$F = _taggedTemplateLiteral$F(['\n margin: 0;\n\n ', '\n letter-spacing: 1.29;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-style: italic;\n font-weight: 500;\n line-height: 1.29;\n'], ['\n margin: 0;\n\n ', '\n letter-spacing: 1.29;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-style: italic;\n font-weight: 500;\n line-height: 1.29;\n']);
|
2571 |
|
2572 | function _taggedTemplateLiteral$F(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2573 |
|
2574 | var Caption = styled__default.span(_templateObject$F, function (props) {
|
2575 | return props.center ? 'text-align: center;' : '';
|
2576 | }, function (props) {
|
2577 | return props.uppercase ? 'uppercase' : 'inherit';
|
2578 | }, function (props) {
|
2579 | return props.theme.colors.navy;
|
2580 | }, function (props) {
|
2581 | return props.theme.fonts.primaryFont;
|
2582 | }, function (props) {
|
2583 | return props.fontSize;
|
2584 | });
|
2585 |
|
2586 | Caption.propTypes = {
|
2587 | theme: PropTypes.shape({
|
2588 | fonts: PropTypes.shape({
|
2589 | primaryFont: PropTypes.string
|
2590 | }),
|
2591 | colors: PropTypes.shape({
|
2592 | navy: PropTypes.string
|
2593 | })
|
2594 | })
|
2595 | };
|
2596 |
|
2597 | Caption.defaultProps = {
|
2598 | fontSize: '1.4rem'
|
2599 |
|
2600 |
|
2601 | };
|
2602 |
|
2603 | var _templateObject$G = _taggedTemplateLiteral$G(['\n margin: 0;\n\n ', '\n letter-spacing: .1rem;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n line-height:1.0476190476190477;\n'], ['\n margin: 0;\n\n ', '\n letter-spacing: .1rem;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n line-height:1.0476190476190477;\n']);
|
2604 |
|
2605 | function _taggedTemplateLiteral$G(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2606 |
|
2607 |
|
2608 |
|
2609 |
|
2610 | var H1 = styled__default.h1(_templateObject$G, function (props) {
|
2611 | return props.center ? 'text-align: center;' : '';
|
2612 | }, function (props) {
|
2613 | return props.lowercase ? 'inherit' : 'uppercase';
|
2614 | }, function (props) {
|
2615 | return props.theme.colors.navy;
|
2616 | }, function (props) {
|
2617 | return props.theme.fonts.headerFont;
|
2618 | }, function (props) {
|
2619 | return props.fontSize;
|
2620 | });
|
2621 |
|
2622 | H1.propTypes = {
|
2623 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object]),
|
2624 | theme: PropTypes.shape({
|
2625 | fonts: PropTypes.shape({
|
2626 | headerFont: PropTypes.string
|
2627 | }),
|
2628 | colors: PropTypes.shape({
|
2629 | navy: PropTypes.string
|
2630 | })
|
2631 | }),
|
2632 | lowercase: PropTypes.bool
|
2633 | };
|
2634 |
|
2635 | H1.defaultProps = {
|
2636 | fontSize: '4.2rem'
|
2637 |
|
2638 |
|
2639 | };
|
2640 |
|
2641 | var _templateObject$H = _taggedTemplateLiteral$H(['\n margin: 0;\n\n ', '\n letter-spacing: .05rem;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n line-height: 1.0625;\n'], ['\n margin: 0;\n\n ', '\n letter-spacing: .05rem;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n line-height: 1.0625;\n']);
|
2642 |
|
2643 | function _taggedTemplateLiteral$H(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2644 |
|
2645 |
|
2646 | var H2 = styled__default.h2(_templateObject$H, function (props) {
|
2647 | return props.center ? 'text-align: center;' : '';
|
2648 | }, function (props) {
|
2649 | return props.lowercase ? 'inherit' : 'uppercase';
|
2650 | }, function (props) {
|
2651 | return props.theme.colors.navy;
|
2652 | }, function (props) {
|
2653 | return props.theme.fonts.headerFont;
|
2654 | }, function (props) {
|
2655 | return props.fontSize;
|
2656 | });
|
2657 | H2.propTypes = {
|
2658 | center: PropTypes.bool,
|
2659 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object]),
|
2660 | theme: PropTypes.shape({
|
2661 | fonts: PropTypes.shape({
|
2662 | headerFont: PropTypes.string
|
2663 | }),
|
2664 | colors: PropTypes.shape({
|
2665 | navy: PropTypes.string
|
2666 | })
|
2667 | }),
|
2668 | lowercase: PropTypes.bool
|
2669 | };
|
2670 |
|
2671 | H2.defaultProps = {
|
2672 | fontSize: '3.2rem'
|
2673 |
|
2674 |
|
2675 | };
|
2676 |
|
2677 | var _templateObject$I = _taggedTemplateLiteral$I(['\n letter-spacing: .05rem;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n line-height: 1.0833333333333333;\n'], ['\n letter-spacing: .05rem;\n text-transform: ', ';\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n line-height: 1.0833333333333333;\n']);
|
2678 |
|
2679 | function _taggedTemplateLiteral$I(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2680 |
|
2681 | var H3 = styled__default.h3(_templateObject$I, function (props) {
|
2682 | return props.lowercase ? 'inherit' : 'uppercase';
|
2683 | }, function (props) {
|
2684 | return props.theme.colors.navy;
|
2685 | }, function (props) {
|
2686 | return props.theme.fonts.headerFont;
|
2687 | }, function (props) {
|
2688 | return props.fontSize;
|
2689 | });
|
2690 |
|
2691 | H3.propTypes = {
|
2692 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object]),
|
2693 | theme: PropTypes.shape({
|
2694 | fonts: PropTypes.shape({
|
2695 | headerFont: PropTypes.string
|
2696 | }),
|
2697 | colors: PropTypes.shape({
|
2698 | navy: PropTypes.string
|
2699 | })
|
2700 | }),
|
2701 | lowercase: PropTypes.bool
|
2702 | };
|
2703 |
|
2704 | H3.defaultProps = {
|
2705 | fontSize: '2.4rem'
|
2706 |
|
2707 |
|
2708 | };
|
2709 |
|
2710 | var _templateObject$J = _taggedTemplateLiteral$J(['\n letter-spacing: 0.5px;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n font-style: italic;\n line-height: 1;\n'], ['\n letter-spacing: 0.5px;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n font-style: italic;\n line-height: 1;\n']);
|
2711 |
|
2712 | function _taggedTemplateLiteral$J(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2713 |
|
2714 | var H4 = styled__default.h4(_templateObject$J, function (props) {
|
2715 | return props.theme.colors.navy;
|
2716 | }, function (props) {
|
2717 | return props.theme.fonts.primaryFont;
|
2718 | }, function (props) {
|
2719 | return props.fontSize;
|
2720 | });
|
2721 |
|
2722 | H4.propTypes = {
|
2723 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object]),
|
2724 | theme: PropTypes.shape({
|
2725 | fonts: PropTypes.shape({
|
2726 | primaryFont: PropTypes.string
|
2727 | }),
|
2728 | colors: PropTypes.shape({
|
2729 | navy: PropTypes.string
|
2730 | })
|
2731 | })
|
2732 | };
|
2733 |
|
2734 | H4.defaultProps = {
|
2735 | fontSize: '1.8rem'
|
2736 |
|
2737 |
|
2738 | };
|
2739 |
|
2740 | var _templateObject$K = _taggedTemplateLiteral$K(['\n letter-spacing: 0.5px;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n font-style: italic;\n line-height: 1;\n letter-spacing: .075rem;\n'], ['\n letter-spacing: 0.5px;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n font-style: italic;\n line-height: 1;\n letter-spacing: .075rem;\n']);
|
2741 |
|
2742 | function _taggedTemplateLiteral$K(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2743 |
|
2744 | var H5 = styled__default.h5(_templateObject$K, function (props) {
|
2745 | return props.theme.colors.navy;
|
2746 | }, function (props) {
|
2747 | return props.theme.fonts.primaryFont;
|
2748 | }, function (props) {
|
2749 | return props.fontSize;
|
2750 | });
|
2751 |
|
2752 | H5.propTypes = {
|
2753 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object]),
|
2754 | theme: PropTypes.shape({
|
2755 | fonts: PropTypes.shape({
|
2756 | primaryFont: PropTypes.string
|
2757 | }),
|
2758 | colors: PropTypes.shape({
|
2759 | navy: PropTypes.string
|
2760 | })
|
2761 | })
|
2762 | };
|
2763 |
|
2764 | H5.defaultProps = {
|
2765 | fontSize: '1.6rem'
|
2766 |
|
2767 |
|
2768 | };
|
2769 |
|
2770 | var _templateObject$L = _taggedTemplateLiteral$L(['\n letter-spacing: .075rem;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n font-style: italic;\n line-height: 1;\n'], ['\n letter-spacing: .075rem;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n font-weight: 500;\n font-style: italic;\n line-height: 1;\n']);
|
2771 |
|
2772 | function _taggedTemplateLiteral$L(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2773 |
|
2774 | var H6 = styled__default.h6(_templateObject$L, function (props) {
|
2775 | return props.theme.colors.navy;
|
2776 | }, function (props) {
|
2777 | return props.theme.fonts.primaryFont;
|
2778 | }, function (props) {
|
2779 | return props.fontSize;
|
2780 | });
|
2781 |
|
2782 | H6.propTypes = {
|
2783 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object]),
|
2784 | theme: PropTypes.shape({
|
2785 | fonts: PropTypes.shape({
|
2786 | primaryFont: PropTypes.string
|
2787 | }),
|
2788 | colors: PropTypes.shape({
|
2789 | navy: PropTypes.string
|
2790 | })
|
2791 | })
|
2792 | };
|
2793 |
|
2794 | H6.defaultProps = {
|
2795 | fontSize: '1.4rem'
|
2796 |
|
2797 |
|
2798 | };
|
2799 |
|
2800 | var _jsxFileName$q = '/Users/jrusso/Documents/ROA/mirage/src/core/typography/Label.js',
|
2801 | _this$p = undefined;
|
2802 |
|
2803 | var _templateObject$M = _taggedTemplateLiteral$M(['\n text-align: ', ';\n margin-bottom: 0;\n letter-spacing: ', ';\n text-transform: ', ';\n\n\n font-family: ', ';\n font-size: ', ';\n font-weight: ', ';\n'], ['\n text-align: ', ';\n margin-bottom: 0;\n letter-spacing: ', ';\n text-transform: ', ';\n\n\n font-family: ', ';\n font-size: ', ';\n font-weight: ', ';\n']),
|
2804 | _templateObject2$c = _taggedTemplateLiteral$M(['\n ', '\n\n color: ', '\n'], ['\n ', '\n\n color: ', '\n']);
|
2805 |
|
2806 | function _taggedTemplateLiteral$M(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2807 |
|
2808 | var styles = styled.css(_templateObject$M, function (props) {
|
2809 | return props.alignRight ? 'right' : 'left';
|
2810 | }, function (props) {
|
2811 | return props.letterSpacing;
|
2812 | }, function (props) {
|
2813 | return props.lowercase ? 'inherit' : 'uppercase';
|
2814 | }, function (props) {
|
2815 | return props.theme.fonts.primaryFont;
|
2816 | }, function (props) {
|
2817 | return props.fontSize;
|
2818 | }, function (props) {
|
2819 | return props.fontWeight;
|
2820 | });
|
2821 |
|
2822 | var Label = styled__default.label(_templateObject2$c, styles, function (props) {
|
2823 | return props.theme.colors.navy;
|
2824 | });
|
2825 |
|
2826 | var LowercaseLabel = function LowercaseLabel(_ref) {
|
2827 | var className = _ref.className,
|
2828 | children = _ref.children;
|
2829 |
|
2830 | return React__default.createElement(
|
2831 | Label,
|
2832 | {
|
2833 | className: className,
|
2834 | fontSize: '2rem',
|
2835 | letterSpacing: 'normal',
|
2836 | fontWeight: 'normal',
|
2837 | lowercase: true, __source: {
|
2838 | fileName: _jsxFileName$q,
|
2839 | lineNumber: 26
|
2840 | },
|
2841 | __self: _this$p
|
2842 | },
|
2843 | children
|
2844 | );
|
2845 | };
|
2846 |
|
2847 | Label.propTypes = {
|
2848 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.object, PropTypes.string]),
|
2849 | theme: PropTypes.shape({
|
2850 | fonts: PropTypes.shape({
|
2851 | primaryFont: PropTypes.string
|
2852 | }),
|
2853 | colors: PropTypes.shape({
|
2854 | navy: PropTypes.string
|
2855 | })
|
2856 | }),
|
2857 | lowercase: PropTypes.bool
|
2858 | };
|
2859 |
|
2860 | Label.defaultProps = {
|
2861 | letterSpacing: '.1rem',
|
2862 | fontSize: '1.4rem',
|
2863 | fontWeight: '500'
|
2864 |
|
2865 |
|
2866 | };
|
2867 |
|
2868 | var _templateObject$N = _taggedTemplateLiteral$N(['\n ', '\n ', '\n ', '\n white-space: pre;\n'], ['\n ', '\n ', '\n ', '\n white-space: pre;\n']);
|
2869 |
|
2870 | function _taggedTemplateLiteral$N(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2871 |
|
2872 | var MarkedText = styled__default.span(_templateObject$N, function (props) {
|
2873 | return props.underline && 'text-decoration: underline;';
|
2874 | }, function (props) {
|
2875 | return props.bold && 'font-weight: bold;';
|
2876 | }, function (props) {
|
2877 | return props.italic && 'font-style: italic;';
|
2878 | });
|
2879 |
|
2880 | MarkedText.propTypes = {
|
2881 | bold: PropTypes.bool,
|
2882 | italic: PropTypes.bool,
|
2883 | underline: PropTypes.bool
|
2884 |
|
2885 |
|
2886 | };
|
2887 |
|
2888 | var _templateObject$O = _taggedTemplateLiteral$O(['\n text-align: left;\n letter-spacing: normal;\n margin: 0;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n line-height: normal;\n'], ['\n text-align: left;\n letter-spacing: normal;\n margin: 0;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n line-height: normal;\n']);
|
2889 |
|
2890 | function _taggedTemplateLiteral$O(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2891 |
|
2892 | var P = styled__default.p(_templateObject$O, function (props) {
|
2893 | return props.theme.colors.navy;
|
2894 | }, function (props) {
|
2895 | return props.theme.fonts.primaryFont;
|
2896 | }, function (props) {
|
2897 | return props.fontSize;
|
2898 | });
|
2899 |
|
2900 | P.propTypes = {
|
2901 | children: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
2902 | theme: PropTypes.shape({
|
2903 | fonts: PropTypes.shape({
|
2904 | primaryFont: PropTypes.string
|
2905 | }),
|
2906 | colors: PropTypes.shape({
|
2907 | navy: PropTypes.string
|
2908 | })
|
2909 | })
|
2910 | };
|
2911 |
|
2912 | P.defaultProps = {
|
2913 | fontSize: '1.6rem'
|
2914 |
|
2915 |
|
2916 | };
|
2917 |
|
2918 | var _templateObject$P = _taggedTemplateLiteral$P(['\n text-align: left;\n letter-spacing: normal;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n line-height: 1.2083333333333333;\n'], ['\n text-align: left;\n letter-spacing: normal;\n\n color: ', ';\n\n font-family: ', ';\n font-size: ', ';\n line-height: 1.2083333333333333;\n']);
|
2919 |
|
2920 | function _taggedTemplateLiteral$P(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2921 |
|
2922 | var Serif = styled__default.span(_templateObject$P, function (props) {
|
2923 | return props.theme.colors.navy;
|
2924 | }, function (props) {
|
2925 | return props.theme.fonts.secondaryFont;
|
2926 | }, function (props) {
|
2927 | return props.fontSize;
|
2928 | });
|
2929 |
|
2930 | Serif.propTypes = {
|
2931 | children: PropTypes.string,
|
2932 | theme: PropTypes.shape({
|
2933 | fonts: PropTypes.shape({
|
2934 | secondaryFont: PropTypes.string
|
2935 | }),
|
2936 | colors: PropTypes.shape({
|
2937 | navy: PropTypes.string
|
2938 | })
|
2939 | })
|
2940 | };
|
2941 |
|
2942 | Serif.defaultProps = {
|
2943 | fontSize: '2.4rem'
|
2944 |
|
2945 |
|
2946 | };
|
2947 |
|
2948 | var _jsxFileName$r = '/Users/jrusso/Documents/ROA/mirage/src/core/typography/Hr.base.js',
|
2949 | _this$q = undefined;
|
2950 |
|
2951 | var _templateObject$Q = _taggedTemplateLiteral$Q(['\n height: .1rem;\n width: ', ';\n border: none;\n margin: 1rem 0;\n'], ['\n height: .1rem;\n width: ', ';\n border: none;\n margin: 1rem 0;\n']);
|
2952 |
|
2953 | function _taggedTemplateLiteral$Q(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2954 |
|
2955 | var UnstyledHr = function UnstyledHr(_ref) {
|
2956 | var className = _ref.className;
|
2957 |
|
2958 | return React__default.createElement('hr', { className: className, __source: {
|
2959 | fileName: _jsxFileName$r,
|
2960 | lineNumber: 7
|
2961 | },
|
2962 | __self: _this$q
|
2963 | });
|
2964 | };
|
2965 |
|
2966 | var BaseHr = styled__default(UnstyledHr)(_templateObject$Q, function (props) {
|
2967 | return props.width;
|
2968 | });
|
2969 |
|
2970 | BaseHr.propTypes = {
|
2971 | width: PropTypes.string.isRequired
|
2972 | };
|
2973 |
|
2974 | BaseHr.defaultProps = {
|
2975 | width: '100%'
|
2976 |
|
2977 |
|
2978 | };
|
2979 |
|
2980 | var _templateObject$R = _taggedTemplateLiteral$R(['\n background-color: ', ';\n'], ['\n background-color: ', ';\n']);
|
2981 |
|
2982 | function _taggedTemplateLiteral$R(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
2983 |
|
2984 | var BlueHr = styled__default(BaseHr)(_templateObject$R, function (props) {
|
2985 | return props.theme.colors.rocketBlue;
|
2986 | });
|
2987 |
|
2988 | BlueHr.propTypes = {
|
2989 | theme: PropTypes.shape({
|
2990 | colors: PropTypes.shape({
|
2991 | rocketBlue: PropTypes.string
|
2992 | })
|
2993 | })
|
2994 |
|
2995 |
|
2996 | };
|
2997 |
|
2998 | var _templateObject$S = _taggedTemplateLiteral$S(['\n background-color: ', ';\n'], ['\n background-color: ', ';\n']);
|
2999 |
|
3000 | function _taggedTemplateLiteral$S(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3001 |
|
3002 | var Hr = styled__default(BaseHr)(_templateObject$S, function (props) {
|
3003 | return props.theme.colors.gray[4];
|
3004 | });
|
3005 |
|
3006 | Hr.propTypes = {
|
3007 | theme: PropTypes.shape({
|
3008 | colors: PropTypes.shape({
|
3009 | gray: PropTypes.array
|
3010 | })
|
3011 | })
|
3012 |
|
3013 |
|
3014 | };
|
3015 |
|
3016 | var _templateObject$T = _taggedTemplateLiteral$T(['\n background-color: ', ';\n'], ['\n background-color: ', ';\n']);
|
3017 |
|
3018 | function _taggedTemplateLiteral$T(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3019 |
|
3020 | var NavyHr = styled__default(BaseHr)(_templateObject$T, function (props) {
|
3021 | return props.theme.colors.navy;
|
3022 | });
|
3023 |
|
3024 | NavyHr.propTypes = {
|
3025 | theme: PropTypes.shape({
|
3026 | colors: PropTypes.shape({
|
3027 | navy: PropTypes.string
|
3028 | })
|
3029 | })
|
3030 |
|
3031 |
|
3032 | };
|
3033 |
|
3034 | var _templateObject$U = _taggedTemplateLiteral$U(['\n background-color: ', ';\n'], ['\n background-color: ', ';\n']);
|
3035 |
|
3036 | function _taggedTemplateLiteral$U(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3037 |
|
3038 | var WhiteHr = styled__default(BaseHr)(_templateObject$U, function (props) {
|
3039 | return props.theme.colors.white;
|
3040 | });
|
3041 |
|
3042 | WhiteHr.propTypes = {
|
3043 | theme: PropTypes.shape({
|
3044 | colors: PropTypes.shape({
|
3045 | white: PropTypes.string
|
3046 | })
|
3047 | })
|
3048 |
|
3049 |
|
3050 | };
|
3051 |
|
3052 | var _templateObject$V = _taggedTemplateLiteral$V(['\n width: 180px;\n height: 180px;\n border-radius: 10px;\n background-color: ', ';\n border: 1px solid #333;\n'], ['\n width: 180px;\n height: 180px;\n border-radius: 10px;\n background-color: ', ';\n border: 1px solid #333;\n']);
|
3053 |
|
3054 | function _taggedTemplateLiteral$V(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3055 |
|
3056 |
|
3057 | styled__default.div(_templateObject$V, function (props) {
|
3058 | return colors$1[props.color];
|
3059 | });
|
3060 |
|
3061 | var brandColors = {
|
3062 | rocketBlue: '#0073D1',
|
3063 | rocketBlueHover: '#0073EB',
|
3064 | navy: '#00003C',
|
3065 | yellow: '#F0FF02',
|
3066 | yellowHover: '#D8E320',
|
3067 | lightBlue0: '#EEFCFF',
|
3068 | lightBlue1: '#BCE1F7',
|
3069 | lightBlue2: '#76C2F3',
|
3070 | lightBlue: ['#EEFCFF', '#BCE1F7', '#76C2F3'],
|
3071 | electricBlue: '#080CF1',
|
3072 | lightPink: '#FBDDE4',
|
3073 | pink: '#FEACBE',
|
3074 | white: '#FFFFFF'
|
3075 | };
|
3076 |
|
3077 | var supportingColors = {
|
3078 | black: '#000000',
|
3079 | gray0: '#F3F3F3',
|
3080 | gray1: '#F5F5F5',
|
3081 | gray2: '#F8F8F8',
|
3082 | gray3: '#E6E6E6',
|
3083 | gray4: '#D5D5D5',
|
3084 | gray5: '#CFCFCF',
|
3085 | gray: ['#F3F3F3', '#F5F5F5', '#F8F8F8', '#E6E6E6', '#D5D5D5', '#CFCFCF'],
|
3086 | red: '#FF511C',
|
3087 | loading: '#BFBFBF'
|
3088 | };
|
3089 |
|
3090 | var colors$1 = Object.assign({}, brandColors, supportingColors);
|
3091 |
|
3092 | var _templateObject$W = _taggedTemplateLiteral$W(['\n @media (min-width: ', 'em) {\n ', '\n }\n '], ['\n @media (min-width: ', 'em) {\n ', '\n }\n ']);
|
3093 |
|
3094 | function _taggedTemplateLiteral$W(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3095 |
|
3096 | var sizes = {
|
3097 | phone: 320,
|
3098 | phoneMax: 414,
|
3099 | tablet: 768,
|
3100 | tabletMax: 960,
|
3101 | laptop: 1280,
|
3102 | desktop: 1440
|
3103 | };
|
3104 |
|
3105 | var breakpoints = {
|
3106 | landscape: '(orientation: landscape)',
|
3107 | portrait: '(orientation: portrait)'
|
3108 | };
|
3109 |
|
3110 | Object.keys(sizes).forEach(function (label) {
|
3111 | breakpoints['below' + label.charAt(0).toUpperCase() + label.substr(1)] = '(max-device-width: ' + sizes[label] + 'px)';
|
3112 | breakpoints['above' + label.charAt(0).toUpperCase() + label.substr(1)] = '(min-device-width: ' + sizes[label] + 'px)';
|
3113 | });
|
3114 |
|
3115 | var media = Object.keys(sizes).reduce(function (accumulator, label) {
|
3116 |
|
3117 |
|
3118 | var remSize = sizes[label] / 10;
|
3119 | accumulator[label] = function () {
|
3120 | return styled.css(_templateObject$W, remSize, styled.css.apply(undefined, arguments));
|
3121 | };
|
3122 | return accumulator;
|
3123 | }, {});
|
3124 |
|
3125 | var _templateObject$X = _taggedTemplateLiteral$X(['\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 400;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 400;\n font-style: italic;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT-Italic.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 500;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481917384/web/fonts/DINOT-Medium.otf\');\n}\n\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 500;\n font-style: italic;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481917385/web/fonts/DINOT-MediumItalic.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 800;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT-Bold.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 800;\n font-style: italic;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT-BoldItalic.otf\');\n}\n\n@font-face {\n font-family: \'din-cond\';\n font-weight: 400;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481917384/web/fonts/DINOT-CondMedium.otf\');\n}\n'], ['\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 400;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 400;\n font-style: italic;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT-Italic.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 500;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481917384/web/fonts/DINOT-Medium.otf\');\n}\n\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 500;\n font-style: italic;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481917385/web/fonts/DINOT-MediumItalic.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 800;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT-Bold.otf\');\n}\n\n@font-face {\n font-family: \'ff-din-web\';\n font-weight: 800;\n font-style: italic;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481915056/web/fonts/DINOT-BoldItalic.otf\');\n}\n\n@font-face {\n font-family: \'din-cond\';\n font-weight: 400;\n\n src: url(\'https://res.cloudinary.com/roa-canon/raw/upload/v1481917384/web/fonts/DINOT-CondMedium.otf\');\n}\n']);
|
3126 |
|
3127 | function _taggedTemplateLiteral$X(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3128 |
|
3129 |
|
3130 |
|
3131 |
|
3132 | styled.injectGlobal(_templateObject$X);
|
3133 |
|
3134 | var fontFamilies = {
|
3135 | dinCondensed: '"din-cond", "din-condensed-web", Arial, sans-serif',
|
3136 | dinRegular: '"ff-din-web", Helvetica, Arial, sans-serif',
|
3137 | caslon: '"adobe-caslon-pro", Helvetica, Arial, serif'
|
3138 | };
|
3139 |
|
3140 | var fontFamilies$1 = {
|
3141 | headerFont: fontFamilies.dinCondensed,
|
3142 | primaryFont: fontFamilies.dinRegular,
|
3143 | secondaryFont: fontFamilies.caslon
|
3144 | };
|
3145 |
|
3146 | var gridSettings = {
|
3147 | columns: {
|
3148 | mobile: 4,
|
3149 | tablet: 12,
|
3150 | desktop: 12
|
3151 | },
|
3152 | margins: {
|
3153 | mobile: '3%',
|
3154 | tablet: '7%',
|
3155 | desktop: '7%'
|
3156 | },
|
3157 | gutter: 2
|
3158 | };
|
3159 |
|
3160 | var _templateObject$Y = _taggedTemplateLiteral$Y(['\n html {\n font-size: 10px;\n }\n'], ['\n html {\n font-size: 10px;\n }\n']);
|
3161 |
|
3162 | function _taggedTemplateLiteral$Y(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3163 |
|
3164 | var base = styled.injectGlobal(_templateObject$Y);
|
3165 |
|
3166 | var theme = {
|
3167 | breakpoints: breakpoints,
|
3168 | colors: colors$1,
|
3169 | fonts: fontFamilies$1,
|
3170 | grid: gridSettings,
|
3171 | fixedPosition: 'relative',
|
3172 | media: media,
|
3173 | base: base
|
3174 | };
|
3175 |
|
3176 | var _jsxFileName$s = '/Users/jrusso/Documents/ROA/mirage/src/core/theme/index.js';
|
3177 |
|
3178 | var _createClass$1 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
3179 |
|
3180 | function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
3181 |
|
3182 | function _possibleConstructorReturn$1(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
3183 |
|
3184 | function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
3185 |
|
3186 | var ROATheme = function (_Component) {
|
3187 | _inherits$1(ROATheme, _Component);
|
3188 |
|
3189 | function ROATheme() {
|
3190 | _classCallCheck$3(this, ROATheme);
|
3191 |
|
3192 | return _possibleConstructorReturn$1(this, (ROATheme.__proto__ || Object.getPrototypeOf(ROATheme)).apply(this, arguments));
|
3193 | }
|
3194 |
|
3195 | _createClass$1(ROATheme, [{
|
3196 | key: 'render',
|
3197 | value: function render() {
|
3198 | return React__default.createElement(
|
3199 | styled.ThemeProvider,
|
3200 | Object.assign({ theme: theme }, this.props, {
|
3201 | __source: {
|
3202 | fileName: _jsxFileName$s,
|
3203 | lineNumber: 9
|
3204 | },
|
3205 | __self: this
|
3206 | }),
|
3207 | this.props.children
|
3208 | );
|
3209 | }
|
3210 | }]);
|
3211 |
|
3212 | return ROATheme;
|
3213 | }(React.Component);
|
3214 |
|
3215 |
|
3216 | ROATheme.propTypes = {
|
3217 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.object, PropTypes.string]).isRequired
|
3218 | };
|
3219 |
|
3220 | var _jsxFileName$t = '/Users/jrusso/Documents/ROA/mirage/src/core/video/sources.base.js';
|
3221 |
|
3222 | function _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
3223 |
|
3224 | var Sources = function Sources(inSources) {
|
3225 | var _this = this;
|
3226 |
|
3227 | _classCallCheck$4(this, Sources);
|
3228 |
|
3229 | this.createSourceElement = function (source) {
|
3230 | var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
3231 |
|
3232 | if (typeof source === 'string') {
|
3233 | var acceptedFormats = ['webm', 'ogv', 'mp4', 'flv'];
|
3234 | var test = /\.([0-9a-z]{1,5})$/;
|
3235 | var result = test.exec(source);
|
3236 | var format = result[1];
|
3237 | if (!acceptedFormats.includes(format)) {
|
3238 | console.warn('An invalid file extension was provided for ' + source);
|
3239 | }
|
3240 | if (format === 'ogv') {
|
3241 | format = 'ogg';
|
3242 | }
|
3243 | return React__default.createElement('source', { src: source, type: 'video/' + format, key: key, __source: {
|
3244 | fileName: _jsxFileName$t,
|
3245 | lineNumber: 20
|
3246 | },
|
3247 | __self: _this
|
3248 | });
|
3249 | } else {
|
3250 | console.warn('A string was not provided as a source for ' + source);
|
3251 | }
|
3252 | };
|
3253 |
|
3254 | this.render = function () {
|
3255 | var output = [];
|
3256 | if (Array.isArray(_this.sources)) {
|
3257 | output = _this.sources.map(function (source, index) {
|
3258 | return _this.createSourceElement(source, index);
|
3259 | });
|
3260 | } else {
|
3261 | output = [_this.createSourceElement(_this.sources)];
|
3262 | }
|
3263 | return output;
|
3264 | };
|
3265 |
|
3266 | this.sources = inSources;
|
3267 | };
|
3268 |
|
3269 | var _jsxFileName$u = '/Users/jrusso/Documents/ROA/mirage/src/core/video/video.js',
|
3270 | _this$r = undefined;
|
3271 |
|
3272 | function _objectWithoutProperties$3(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
3273 |
|
3274 | var Video = function Video(_ref) {
|
3275 | var children = _ref.children,
|
3276 | inSources = _ref.sources,
|
3277 | props = _objectWithoutProperties$3(_ref, ['children', 'sources']);
|
3278 |
|
3279 | var sources = [];
|
3280 | if (inSources) {
|
3281 | sources = new Sources(inSources).render();
|
3282 | }
|
3283 | return React__default.createElement(
|
3284 | 'video',
|
3285 | Object.assign({}, props, {
|
3286 | __source: {
|
3287 | fileName: _jsxFileName$u,
|
3288 | lineNumber: 11
|
3289 | },
|
3290 | __self: _this$r
|
3291 | }),
|
3292 | sources.map(function (source, key) {
|
3293 | return source;
|
3294 | }),
|
3295 | children && children
|
3296 | );
|
3297 | };
|
3298 |
|
3299 | Video.propTypes = {
|
3300 | sources: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
|
3301 | };
|
3302 |
|
3303 | Video.defaultProps = {
|
3304 | autoPlay: true,
|
3305 | playsInline: true,
|
3306 | loop: true,
|
3307 | muted: true
|
3308 |
|
3309 |
|
3310 | };
|
3311 |
|
3312 | var _jsxFileName$v = '/Users/jrusso/Documents/ROA/mirage/src/components/address/DefaultAddress.js',
|
3313 | _this$s = undefined;
|
3314 |
|
3315 | var _templateObject$Z = _taggedTemplateLiteral$Z(['\n ', ' {\n display: inline-block;\n width: 100%;\n box-sizing: border-box;\n &:first-of-type {\n padding-right: 7rem;\n ', '\n }\n }\n'], ['\n ', ' {\n display: inline-block;\n width: 100%;\n box-sizing: border-box;\n &:first-of-type {\n padding-right: 7rem;\n ', '\n }\n }\n']),
|
3316 | _templateObject2$d = _taggedTemplateLiteral$Z(['\n padding-right: 5rem;\n '], ['\n padding-right: 5rem;\n ']);
|
3317 |
|
3318 | function _taggedTemplateLiteral$Z(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3319 |
|
3320 | var BaseDefaultAddress = function BaseDefaultAddress(_ref) {
|
3321 | var _ref$address = _ref.address,
|
3322 | first_name = _ref$address.first_name,
|
3323 | last_name = _ref$address.last_name,
|
3324 | address1 = _ref$address.address1,
|
3325 | address2 = _ref$address.address2,
|
3326 | city = _ref$address.city,
|
3327 | state = _ref$address.state,
|
3328 | zipcode = _ref$address.zipcode,
|
3329 | className = _ref.className;
|
3330 |
|
3331 | return React__default.createElement(
|
3332 | 'section',
|
3333 | { className: className, __source: {
|
3334 | fileName: _jsxFileName$v,
|
3335 | lineNumber: 20
|
3336 | },
|
3337 | __self: _this$s
|
3338 | },
|
3339 | React__default.createElement(
|
3340 | LowercaseLabel,
|
3341 | {
|
3342 | __source: {
|
3343 | fileName: _jsxFileName$v,
|
3344 | lineNumber: 21
|
3345 | },
|
3346 | __self: _this$s
|
3347 | },
|
3348 | first_name,
|
3349 | ' ',
|
3350 | last_name
|
3351 | ),
|
3352 | React__default.createElement(
|
3353 | LowercaseLabel,
|
3354 | {
|
3355 | __source: {
|
3356 | fileName: _jsxFileName$v,
|
3357 | lineNumber: 22
|
3358 | },
|
3359 | __self: _this$s
|
3360 | },
|
3361 | address1
|
3362 | ),
|
3363 | address2 && React__default.createElement(
|
3364 | LowercaseLabel,
|
3365 | {
|
3366 | __source: {
|
3367 | fileName: _jsxFileName$v,
|
3368 | lineNumber: 23
|
3369 | },
|
3370 | __self: _this$s
|
3371 | },
|
3372 | address2
|
3373 | ),
|
3374 | React__default.createElement(
|
3375 | LowercaseLabel,
|
3376 | {
|
3377 | __source: {
|
3378 | fileName: _jsxFileName$v,
|
3379 | lineNumber: 24
|
3380 | },
|
3381 | __self: _this$s
|
3382 | },
|
3383 | city,
|
3384 | ', ',
|
3385 | state,
|
3386 | ' ',
|
3387 | zipcode
|
3388 | )
|
3389 | );
|
3390 | };
|
3391 |
|
3392 | var DefaultAddress = styled__default(BaseDefaultAddress)(_templateObject$Z, Label, function (props) {
|
3393 | return props.theme.media.tablet(_templateObject2$d);
|
3394 | });
|
3395 | DefaultAddress.propTypes = {
|
3396 | address: PropTypes.shape({
|
3397 | first_name: PropTypes.string.isRequired,
|
3398 | last_name: PropTypes.string.isRequired,
|
3399 | address1: PropTypes.string.isRequired,
|
3400 | address2: PropTypes.string,
|
3401 | city: PropTypes.string.isRequired,
|
3402 | state: PropTypes.string.isRequired,
|
3403 | zipcode: PropTypes.string.isRequired
|
3404 | })
|
3405 |
|
3406 |
|
3407 | };
|
3408 |
|
3409 | var defaultProps = {
|
3410 | "header": "WHAT AWESOME PARENTS (LIKE YOU!) ARE SAYING",
|
3411 | "quotes": ["“These are real clothes to LIVE and PLAY in! My son is full of personality and wears Rockets of Awesome to reflect that.”—Andrea", "“My spunky daughter loves to be an original and love that we've found a brand that can help her define her unique sense of self!”—Maddie", "“My son loves your stuff more than any of his other clothes, and digs through his drawers to find them! I’m not sure if it’s the super-softness or the graphics, but thank you!”—Courtney", "“It’s great to see my kids feel so confident that what they’re wearing expresses who they are as individuals.”—Robin"]
|
3412 | };
|
3413 |
|
3414 | var _jsxFileName$w = '/Users/jrusso/Documents/ROA/mirage/src/components/customerQuotes/customerQuotes.js';
|
3415 |
|
3416 | var _createClass$2 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
3417 |
|
3418 | var _templateObject$_ = _taggedTemplateLiteral$_(['\n ', '\n ', ', ', ' {\n text-align: center;\n }\n ', ' {\n color: ', ';\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n margin-top: 0;\n margin-bottom: 0;\n }\n'], ['\n ', '\n ', ', ', ' {\n text-align: center;\n }\n ', ' {\n color: ', ';\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n margin-top: 0;\n margin-bottom: 0;\n }\n']);
|
3419 |
|
3420 | function _taggedTemplateLiteral$_(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3421 |
|
3422 | function _classCallCheck$5(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
3423 |
|
3424 | function _possibleConstructorReturn$2(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
3425 |
|
3426 | function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
3427 |
|
3428 | var BaseCustomerQuotes = function (_React$Component) {
|
3429 | _inherits$2(BaseCustomerQuotes, _React$Component);
|
3430 |
|
3431 | function BaseCustomerQuotes(props) {
|
3432 | _classCallCheck$5(this, BaseCustomerQuotes);
|
3433 |
|
3434 | var _this = _possibleConstructorReturn$2(this, (BaseCustomerQuotes.__proto__ || Object.getPrototypeOf(BaseCustomerQuotes)).call(this, props));
|
3435 |
|
3436 | _this.quoteTimer = function () {
|
3437 | _this.timer = setInterval(function () {
|
3438 | var index = _this.state.index;
|
3439 | var quotes = _this.props.quotes;
|
3440 |
|
3441 | if (index === quotes.length - 1) {
|
3442 | _this.setState({
|
3443 | index: 0,
|
3444 | quote: quotes[0]
|
3445 | });
|
3446 | } else {
|
3447 | _this.setState({
|
3448 | index: index + 1,
|
3449 | quote: quotes[index + 1]
|
3450 | });
|
3451 | }
|
3452 | }, 5000);
|
3453 | };
|
3454 |
|
3455 | _this.state = {
|
3456 | index: 0,
|
3457 | quote: undefined
|
3458 | };
|
3459 | return _this;
|
3460 | }
|
3461 |
|
3462 | _createClass$2(BaseCustomerQuotes, [{
|
3463 | key: 'componentDidMount',
|
3464 | value: function componentDidMount() {
|
3465 | var quotes = this.props.quotes;
|
3466 |
|
3467 | this.setState({ quote: quotes[0] });
|
3468 | this.quoteTimer();
|
3469 | }
|
3470 | }, {
|
3471 | key: 'componentWillUnmount',
|
3472 | value: function componentWillUnmount() {
|
3473 | clearInterval(this.timer);
|
3474 | }
|
3475 | }, {
|
3476 | key: 'render',
|
3477 | value: function render() {
|
3478 | var _props = this.props,
|
3479 | className = _props.className,
|
3480 | header = _props.header;
|
3481 | var _state = this.state,
|
3482 | index = _state.index,
|
3483 | quote = _state.quote;
|
3484 |
|
3485 | return React__default.createElement(
|
3486 | 'section',
|
3487 | { className: className, __source: {
|
3488 | fileName: _jsxFileName$w,
|
3489 | lineNumber: 38
|
3490 | },
|
3491 | __self: this
|
3492 | },
|
3493 | React__default.createElement(
|
3494 | FlexCol,
|
3495 | { mobile: { width: 4 }, desktop: { width: 12 }, __source: {
|
3496 | fileName: _jsxFileName$w,
|
3497 | lineNumber: 39
|
3498 | },
|
3499 | __self: this
|
3500 | },
|
3501 | React__default.createElement(
|
3502 | H1,
|
3503 | {
|
3504 | __source: {
|
3505 | fileName: _jsxFileName$w,
|
3506 | lineNumber: 40
|
3507 | },
|
3508 | __self: this
|
3509 | },
|
3510 | header
|
3511 | )
|
3512 | ),
|
3513 | React__default.createElement(
|
3514 | FlexCol,
|
3515 | { mobile: { width: 4 }, desktop: { width: 6, span: 3 }, __source: {
|
3516 | fileName: _jsxFileName$w,
|
3517 | lineNumber: 42
|
3518 | },
|
3519 | __self: this
|
3520 | },
|
3521 | React__default.createElement(
|
3522 | FadeInOut,
|
3523 | { animate: !!index, __source: {
|
3524 | fileName: _jsxFileName$w,
|
3525 | lineNumber: 43
|
3526 | },
|
3527 | __self: this
|
3528 | },
|
3529 | React__default.createElement(
|
3530 | H3,
|
3531 | { lowercase: true, __source: {
|
3532 | fileName: _jsxFileName$w,
|
3533 | lineNumber: 43
|
3534 | },
|
3535 | __self: this
|
3536 | },
|
3537 | quote
|
3538 | )
|
3539 | )
|
3540 | )
|
3541 | );
|
3542 | }
|
3543 | }]);
|
3544 |
|
3545 | return BaseCustomerQuotes;
|
3546 | }(React__default.Component);
|
3547 |
|
3548 | var CustomerQuotes$$1 = styled__default(BaseCustomerQuotes)(_templateObject$_, FlexRow, H1, H3, H3, function (props) {
|
3549 | return props.theme.colors.rocketBlue;
|
3550 | });
|
3551 |
|
3552 | CustomerQuotes$$1.defaultProps = Object.assign({}, defaultProps, {
|
3553 | padding: true,
|
3554 | constrained: true
|
3555 |
|
3556 |
|
3557 | });
|
3558 |
|
3559 | var _jsxFileName$x = '/Users/jrusso/Documents/ROA/mirage/src/components/inputs/Buttons/Button/Button.base.js',
|
3560 | _this$t = undefined;
|
3561 |
|
3562 | var _templateObject$10 = _taggedTemplateLiteral$10(['\n width: ', ';\n'], ['\n width: ', ';\n']),
|
3563 | _templateObject2$e = _taggedTemplateLiteral$10(['\n cursor: pointer;\n > * {\n cursor: pointer;\n }\n'], ['\n cursor: pointer;\n > * {\n cursor: pointer;\n }\n']),
|
3564 | _templateObject3$9 = _taggedTemplateLiteral$10(['\n cursor: wait;\n > * {\n cursor: wait;\n }\n'], ['\n cursor: wait;\n > * {\n cursor: wait;\n }\n']),
|
3565 | _templateObject4$3 = _taggedTemplateLiteral$10(['\n cursor: not-allowed;\n > * {\n cursor: not-allowed;\n }\n'], ['\n cursor: not-allowed;\n > * {\n cursor: not-allowed;\n }\n']),
|
3566 | _templateObject5$2 = _taggedTemplateLiteral$10(['\n ', '\n ', '\n ', '\n'], ['\n ', '\n ', '\n ', '\n']),
|
3567 | _templateObject6$2 = _taggedTemplateLiteral$10(['\n box-sizing: border-box;\n height: 50px;\n ', '\n padding: 0 01.5rem;\n\n text-align: center;\n\n letter-spacing: 1px;\n ', '\n\n border-radius: .2rem;\n\n font-family: ', ';\n font-size: 1.4rem;\n font-weight: 500;\n\n transition:\n background-color 0.25s ease-in,\n border-color 0.25s ease-in,\n color 0.25s ease-in;\n\n ', ' {\n display: inline-block;\n }\n\n :hover {\n ', '\n }\n\n :focus {\n outline: 0;\n },\n\n :active {\n border-style: solid;\n transform: translateX(.2rem);\n }\n > span {\n display: flex;\n justify-content: center;\n align-items: center;\n > * {\n vertical-align: middle;\n }\n }\n'], ['\n box-sizing: border-box;\n height: 50px;\n ', '\n padding: 0 01.5rem;\n\n text-align: center;\n\n letter-spacing: 1px;\n ', '\n\n border-radius: .2rem;\n\n font-family: ', ';\n font-size: 1.4rem;\n font-weight: 500;\n\n transition:\n background-color 0.25s ease-in,\n border-color 0.25s ease-in,\n color 0.25s ease-in;\n\n ', ' {\n display: inline-block;\n }\n\n :hover {\n ', '\n }\n\n :focus {\n outline: 0;\n },\n\n :active {\n border-style: solid;\n transform: translateX(.2rem);\n }\n > span {\n display: flex;\n justify-content: center;\n align-items: center;\n > * {\n vertical-align: middle;\n }\n }\n']);
|
3568 |
|
3569 | function _taggedTemplateLiteral$10(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3570 |
|
3571 | function _objectWithoutProperties$4(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
3572 |
|
3573 | var CustomButton = function CustomButton(_ref) {
|
3574 | var Checkmark = _ref.checkmark,
|
3575 | children = _ref.children,
|
3576 | loading = _ref.loading,
|
3577 | selected = _ref.selected,
|
3578 | showCheckmark = _ref.showCheckmark,
|
3579 | Spinner = _ref.spinner,
|
3580 | props = _objectWithoutProperties$4(_ref, ['checkmark', 'children', 'loading', 'selected', 'showCheckmark', 'spinner']);
|
3581 |
|
3582 | delete props.width;
|
3583 | delete props.sentanceCase;
|
3584 | return React__default.createElement(
|
3585 | 'button',
|
3586 | Object.assign({}, props, {
|
3587 | __source: {
|
3588 | fileName: _jsxFileName$x,
|
3589 | lineNumber: 17
|
3590 | },
|
3591 | __self: _this$t
|
3592 | }),
|
3593 | React__default.createElement(
|
3594 | 'span',
|
3595 | {
|
3596 | __source: {
|
3597 | fileName: _jsxFileName$x,
|
3598 | lineNumber: 18
|
3599 | },
|
3600 | __self: _this$t
|
3601 | },
|
3602 | selected && showCheckmark && Checkmark && React__default.createElement(Checkmark, {
|
3603 | __source: {
|
3604 | fileName: _jsxFileName$x,
|
3605 | lineNumber: 19
|
3606 | },
|
3607 | __self: _this$t
|
3608 | }),
|
3609 | !loading && children,
|
3610 | loading && React__default.createElement(Spinner, { size: '4rem', __source: {
|
3611 | fileName: _jsxFileName$x,
|
3612 | lineNumber: 21
|
3613 | },
|
3614 | __self: _this$t
|
3615 | })
|
3616 | )
|
3617 | );
|
3618 | };
|
3619 |
|
3620 | var setWidth = styled.css(_templateObject$10, function (props) {
|
3621 | return props.width;
|
3622 | });
|
3623 |
|
3624 | var pointerCursor = styled.css(_templateObject2$e);
|
3625 |
|
3626 | var waitCursor = styled.css(_templateObject3$9);
|
3627 |
|
3628 | var notAllowedCursor = styled.css(_templateObject4$3);
|
3629 |
|
3630 | var setCursor = styled.css(_templateObject5$2, function (props) {
|
3631 | return !props.loading && !props.disabled && pointerCursor;
|
3632 | }, function (props) {
|
3633 | return props.loading && waitCursor;
|
3634 | }, function (props) {
|
3635 | return props.disabled && notAllowedCursor;
|
3636 | });
|
3637 |
|
3638 | var BaseButton = styled__default(CustomButton)(_templateObject6$2, function (props) {
|
3639 | return props.width && setWidth;
|
3640 | }, function (props) {
|
3641 | return props.sentanceCase ? 'text-transform: inherit;' : 'text-transform: uppercase;';
|
3642 | }, function (props) {
|
3643 | return props.theme.fonts.primaryFont;
|
3644 | }, function (props) {
|
3645 | return props.spinner;
|
3646 | }, function (props) {
|
3647 | return setCursor;
|
3648 | });
|
3649 |
|
3650 | var buttonPropCheck = function buttonPropCheck(props, propName, componentName) {
|
3651 | if (props.disabled && props.loading) {
|
3652 | return new Error('You have both the disabled and loading props set in ' + componentName + ', please only set one or neither of these props at a time.');
|
3653 | }
|
3654 | return null;
|
3655 | };
|
3656 |
|
3657 | BaseButton.propTypes = {
|
3658 | buttonPropCheck: buttonPropCheck,
|
3659 | checkmark: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3660 | sentanceCase: PropTypes.bool,
|
3661 | spinner: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3662 | width: PropTypes.string
|
3663 | };
|
3664 |
|
3665 | var _templateObject$11 = _taggedTemplateLiteral$11(['\n color: ', ';\n border-color: ', ';\n &:hover {\n color: ', ';\n border-color: ', ';\n }\n'], ['\n color: ', ';\n border-color: ', ';\n &:hover {\n color: ', ';\n border-color: ', ';\n }\n']),
|
3666 | _templateObject2$f = _taggedTemplateLiteral$11(['\n color: ', ';\n border-color: ', ';\n'], ['\n color: ', ';\n border-color: ', ';\n']),
|
3667 | _templateObject3$a = _taggedTemplateLiteral$11(['\n ', '\n ', '\n ', '\n ', '\n'], ['\n ', '\n ', '\n ', '\n ', '\n']),
|
3668 | _templateObject4$4 = _taggedTemplateLiteral$11(['\n background-color: rgba(255, 255, 255, 0);\n ', '\n'], ['\n background-color: rgba(255, 255, 255, 0);\n ', '\n']);
|
3669 |
|
3670 | function _taggedTemplateLiteral$11(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3671 |
|
3672 | var defaultStyle = styled.css(_templateObject$11, function (props) {
|
3673 | return props.theme.colors.rocketBlue;
|
3674 | }, function (props) {
|
3675 | return props.theme.colors.rocketBlue;
|
3676 | }, function (props) {
|
3677 | return props.theme.colors.rocketBlueHover;
|
3678 | }, function (props) {
|
3679 | return props.theme.colors.rocketBlueHover;
|
3680 | });
|
3681 | var disabledOrLoading = styled.css(_templateObject2$f, function (props) {
|
3682 | return props.theme.colors.loading;
|
3683 | }, function (props) {
|
3684 | return props.theme.colors.loading;
|
3685 | });
|
3686 | var selected = styled.css(_templateObject2$f, function (props) {
|
3687 | return props.theme.colors.navy;
|
3688 | }, function (props) {
|
3689 | return props.theme.colors.navy;
|
3690 | });
|
3691 |
|
3692 | var colorButton = styled.css(_templateObject3$a, function (props) {
|
3693 | return !props.selected && !props.disabled && !props.loading && defaultStyle;
|
3694 | }, function (props) {
|
3695 | return props.selected && selected;
|
3696 | }, function (props) {
|
3697 | return props.disabled && disabledOrLoading;
|
3698 | }, function (props) {
|
3699 | return props.loading && disabledOrLoading;
|
3700 | });
|
3701 |
|
3702 | var BlueBorderButton = styled__default(BaseButton)(_templateObject4$4, function (props) {
|
3703 | return colorButton;
|
3704 | });
|
3705 |
|
3706 | BlueBorderButton.propTypes = {
|
3707 | checkmark: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3708 | spinner: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3709 | theme: PropTypes.shape({
|
3710 | colors: PropTypes.shape({
|
3711 | white: PropTypes.string
|
3712 | })
|
3713 | })
|
3714 | };
|
3715 |
|
3716 | BlueBorderButton.defaultProps = {
|
3717 | checkmark: NavyCheckmark,
|
3718 | spinner: GraySpinner
|
3719 |
|
3720 |
|
3721 | };
|
3722 |
|
3723 | var _templateObject$12 = _taggedTemplateLiteral$12(['\n background-color: ', ';\n &:hover {\n background-color: ', ';\n }\n'], ['\n background-color: ', ';\n &:hover {\n background-color: ', ';\n }\n']),
|
3724 | _templateObject2$g = _taggedTemplateLiteral$12(['\n background-color: ', ';\n'], ['\n background-color: ', ';\n']),
|
3725 | _templateObject3$b = _taggedTemplateLiteral$12(['\n background-color: ', '\n'], ['\n background-color: ', '\n']),
|
3726 | _templateObject4$5 = _taggedTemplateLiteral$12(['\n ', '\n ', '\n ', '\n ', '\n'], ['\n ', '\n ', '\n ', '\n ', '\n']),
|
3727 | _templateObject5$3 = _taggedTemplateLiteral$12(['\n color: ', ';\n border-color: transparent;\n\n ', '\n'], ['\n color: ', ';\n border-color: transparent;\n\n ', '\n']);
|
3728 |
|
3729 | function _taggedTemplateLiteral$12(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3730 |
|
3731 | var defaultStyle$1 = styled.css(_templateObject$12, function (props) {
|
3732 | return props.theme.colors.rocketBlue;
|
3733 | }, function (props) {
|
3734 | return props.theme.colors.rocketBlueHover;
|
3735 | });
|
3736 | var disabledOrLoading$1 = styled.css(_templateObject2$g, function (props) {
|
3737 | return props.theme.colors.loading;
|
3738 | });
|
3739 | var selected$1 = styled.css(_templateObject3$b, function (props) {
|
3740 | return props.theme.colors.navy;
|
3741 | });
|
3742 |
|
3743 | var backgroundColor = styled.css(_templateObject4$5, function (props) {
|
3744 | return !props.selected && !props.disabled && !props.loading && defaultStyle$1;
|
3745 | }, function (props) {
|
3746 | return props.selected && selected$1;
|
3747 | }, function (props) {
|
3748 | return props.disabled && disabledOrLoading$1;
|
3749 | }, function (props) {
|
3750 | return props.loading && disabledOrLoading$1;
|
3751 | });
|
3752 |
|
3753 | var Button = styled__default(BaseButton)(_templateObject5$3, function (props) {
|
3754 | return props.theme.colors.white;
|
3755 | }, function (props) {
|
3756 | return backgroundColor;
|
3757 | });
|
3758 |
|
3759 | Button.propTypes = {
|
3760 | checkmark: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3761 | spinner: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3762 | theme: PropTypes.shape({
|
3763 | colors: PropTypes.shape({
|
3764 | rocketBlue: PropTypes.string,
|
3765 | white: PropTypes.string
|
3766 | })
|
3767 | })
|
3768 | };
|
3769 |
|
3770 | Button.defaultProps = {
|
3771 | checkmark: WhiteCheckmark,
|
3772 | spinner: WhiteSpinner
|
3773 |
|
3774 |
|
3775 | };
|
3776 |
|
3777 | var _templateObject$13 = _taggedTemplateLiteral$13(['\n color: ', ';\n border-color: ', ';\n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n'], ['\n color: ', ';\n border-color: ', ';\n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n']),
|
3778 | _templateObject2$h = _taggedTemplateLiteral$13(['\n color: ', ';\n border-color: ', ';\n'], ['\n color: ', ';\n border-color: ', ';\n']),
|
3779 | _templateObject3$c = _taggedTemplateLiteral$13(['\n ', '\n ', '\n ', '\n ', '\n'], ['\n ', '\n ', '\n ', '\n ', '\n']),
|
3780 | _templateObject4$6 = _taggedTemplateLiteral$13(['\n background-color: rgba(255, 255, 255, 0);\n ', '\n'], ['\n background-color: rgba(255, 255, 255, 0);\n ', '\n']);
|
3781 |
|
3782 | function _taggedTemplateLiteral$13(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3783 |
|
3784 | var defaultStyle$2 = styled.css(_templateObject$13, function (props) {
|
3785 | return props.theme.colors.white;
|
3786 | }, function (props) {
|
3787 | return props.theme.colors.white;
|
3788 | });
|
3789 |
|
3790 | var disabledOrLoading$2 = styled.css(_templateObject2$h, function (props) {
|
3791 | return props.theme.colors.loading;
|
3792 | }, function (props) {
|
3793 | return props.theme.colors.loading;
|
3794 | });
|
3795 |
|
3796 | var selected$2 = styled.css(_templateObject2$h, function (props) {
|
3797 | return props.theme.colors.navy;
|
3798 | }, function (props) {
|
3799 | return props.theme.colors.navy;
|
3800 | });
|
3801 |
|
3802 | var colorButton$1 = styled.css(_templateObject3$c, function (props) {
|
3803 | return !props.selected && !props.disabled && !props.loading && defaultStyle$2;
|
3804 | }, function (props) {
|
3805 | return props.selected && selected$2;
|
3806 | }, function (props) {
|
3807 | return props.disabled && disabledOrLoading$2;
|
3808 | }, function (props) {
|
3809 | return props.loading && disabledOrLoading$2;
|
3810 | });
|
3811 |
|
3812 | var WhiteBorderButton = styled__default(BaseButton)(_templateObject4$6, function (props) {
|
3813 | return colorButton$1;
|
3814 | });
|
3815 |
|
3816 | WhiteBorderButton.propTypes = {
|
3817 | checkmark: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3818 | spinner: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3819 | theme: PropTypes.shape({
|
3820 | colors: PropTypes.shape({
|
3821 | white: PropTypes.string
|
3822 | })
|
3823 | })
|
3824 | };
|
3825 |
|
3826 | WhiteBorderButton.defaultProps = {
|
3827 | checkmark: NavyCheckmark,
|
3828 | spinner: GraySpinner
|
3829 |
|
3830 |
|
3831 | };
|
3832 |
|
3833 | var _templateObject$14 = _taggedTemplateLiteral$14(['\n color: ', ';\n border-color: transparent;\n background-color: ', ';\n &:hover {\n background-color: ', ';\n }\n'], ['\n color: ', ';\n border-color: transparent;\n background-color: ', ';\n &:hover {\n background-color: ', ';\n }\n']);
|
3834 |
|
3835 | function _taggedTemplateLiteral$14(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3836 |
|
3837 | var YellowButton = styled__default(BaseButton)(_templateObject$14, function (props) {
|
3838 | return props.theme.colors.navy;
|
3839 | }, function (props) {
|
3840 | return props.theme.colors.yellow;
|
3841 | }, function (props) {
|
3842 | return props.theme.colors.yellowHover;
|
3843 | });
|
3844 |
|
3845 | YellowButton.propTypes = {
|
3846 | checkmark: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3847 | spinner: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
3848 | theme: PropTypes.shape({
|
3849 | colors: PropTypes.shape({
|
3850 | navy: PropTypes.string,
|
3851 | yellow: PropTypes.string
|
3852 | })
|
3853 | })
|
3854 | };
|
3855 |
|
3856 | YellowButton.defaultProps = {
|
3857 | checkmark: NavyCheckmark,
|
3858 | spinner: NavySpinner
|
3859 |
|
3860 |
|
3861 | };
|
3862 |
|
3863 | var _jsxFileName$y = '/Users/jrusso/Documents/ROA/mirage/src/components/inputs/Buttons/ImageButton/ImageButton.base.js',
|
3864 | _this$u = undefined;
|
3865 |
|
3866 | var _templateObject$15 = _taggedTemplateLiteral$15(['\n ', ';\n'], ['\n ', ';\n']),
|
3867 | _templateObject2$i = _taggedTemplateLiteral$15(['\n position: relative;\n display: flex;\n ', '\n overflow: hidden;\n\n > button {\n display: flex;\n align-items: center;\n justify-content: center;\n\n box-sizing: border-box;\n height: 30px;\n ', '\n padding: 0 1.5rem;\n\n text-align: center;\n\n letter-spacing: .1rem;\n ', '\n\n font-family: ', ';\n font-size: 1.4rem;\n font-weight: 500;\n border: none;\n\n .arrow {\n margin-left: 1.2rem;\n }\n }\n\n > .borderBottom {\n display: block;\n height: .2rem;\n width: 100%;\n transform: translateX(-100%);\n transition transform 0.25s ease-in-out;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 1;\n }\n\n :hover {\n > button {\n cursor: pointer;\n }\n > .borderBottom {\n transform: translateX(0);\n cursor: pointer;\n }\n }\n'], ['\n position: relative;\n display: flex;\n ', '\n overflow: hidden;\n\n > button {\n display: flex;\n align-items: center;\n justify-content: center;\n\n box-sizing: border-box;\n height: 30px;\n ', '\n padding: 0 1.5rem;\n\n text-align: center;\n\n letter-spacing: .1rem;\n ', '\n\n font-family: ', ';\n font-size: 1.4rem;\n font-weight: 500;\n border: none;\n\n .arrow {\n margin-left: 1.2rem;\n }\n }\n\n > .borderBottom {\n display: block;\n height: .2rem;\n width: 100%;\n transform: translateX(-100%);\n transition transform 0.25s ease-in-out;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 1;\n }\n\n :hover {\n > button {\n cursor: pointer;\n }\n > .borderBottom {\n transform: translateX(0);\n cursor: pointer;\n }\n }\n']);
|
3868 |
|
3869 | function _taggedTemplateLiteral$15(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3870 |
|
3871 | function _objectWithoutProperties$5(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
3872 |
|
3873 | var CustomButton$1 = function CustomButton(_ref) {
|
3874 | var arrow = _ref.arrow,
|
3875 | className = _ref.className,
|
3876 | children = _ref.children,
|
3877 | props = _objectWithoutProperties$5(_ref, ['arrow', 'className', 'children']);
|
3878 |
|
3879 | return React__default.createElement(
|
3880 | 'div',
|
3881 | { className: className, __source: {
|
3882 | fileName: _jsxFileName$y,
|
3883 | lineNumber: 7
|
3884 | },
|
3885 | __self: _this$u
|
3886 | },
|
3887 | React__default.createElement(
|
3888 | 'button',
|
3889 | Object.assign({}, props, {
|
3890 | __source: {
|
3891 | fileName: _jsxFileName$y,
|
3892 | lineNumber: 8
|
3893 | },
|
3894 | __self: _this$u
|
3895 | }),
|
3896 | children,
|
3897 | arrow && React__default.createElement(
|
3898 | 'span',
|
3899 | { className: 'arrow', __source: {
|
3900 | fileName: _jsxFileName$y,
|
3901 | lineNumber: 10
|
3902 | },
|
3903 | __self: _this$u
|
3904 | },
|
3905 | '\u2192'
|
3906 | )
|
3907 | ),
|
3908 | React__default.createElement('span', { className: 'borderBottom', __source: {
|
3909 | fileName: _jsxFileName$y,
|
3910 | lineNumber: 12
|
3911 | },
|
3912 | __self: _this$u
|
3913 | })
|
3914 | );
|
3915 | };
|
3916 |
|
3917 | var setWidth$1 = styled.css(_templateObject$15, function (props) {
|
3918 | return 'width: ' + props.width;
|
3919 | });
|
3920 |
|
3921 | var BaseImageButton = styled__default(CustomButton$1)(_templateObject2$i, function (props) {
|
3922 | return setWidth$1;
|
3923 | }, function (props) {
|
3924 | return setWidth$1;
|
3925 | }, function (props) {
|
3926 | return props.sentanceCase ? 'text-transform: inherit;' : 'text-transform: uppercase;';
|
3927 | }, function (props) {
|
3928 | return props.theme.fonts.primaryFont;
|
3929 | });
|
3930 |
|
3931 | BaseImageButton.propTypes = {
|
3932 | arrow: PropTypes.bool,
|
3933 | sentanceCase: PropTypes.bool,
|
3934 | width: PropTypes.string
|
3935 | };
|
3936 |
|
3937 | BaseImageButton.defaultProps = {
|
3938 | width: '35rem'
|
3939 |
|
3940 |
|
3941 | };
|
3942 |
|
3943 | var _templateObject$16 = _taggedTemplateLiteral$16(['\n > button {\n background-color: ', ';\n color: ', ';\n }\n > .borderBottom {\n background-color: ', ';\n }\n'], ['\n > button {\n background-color: ', ';\n color: ', ';\n }\n > .borderBottom {\n background-color: ', ';\n }\n']);
|
3944 |
|
3945 | function _taggedTemplateLiteral$16(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3946 |
|
3947 | var ImageButtonWhite = styled__default(BaseImageButton)(_templateObject$16, function (props) {
|
3948 | return props.theme.colors.white;
|
3949 | }, function (props) {
|
3950 | return props.theme.colors.rocketBlue;
|
3951 | }, function (props) {
|
3952 | return props.theme.colors.rocketBlue;
|
3953 | });
|
3954 |
|
3955 | ImageButtonWhite.propTypes = {
|
3956 | theme: PropTypes.shape({
|
3957 | colors: PropTypes.shape({
|
3958 | rocketBlue: PropTypes.string,
|
3959 | white: PropTypes.string
|
3960 | })
|
3961 | })
|
3962 |
|
3963 |
|
3964 | };
|
3965 |
|
3966 | var _templateObject$17 = _taggedTemplateLiteral$17(['\n > button {\n background-color: ', ';\n color: ', ';\n }\n > .borderBottom {\n background-color: ', ';\n }\n'], ['\n > button {\n background-color: ', ';\n color: ', ';\n }\n > .borderBottom {\n background-color: ', ';\n }\n']);
|
3967 |
|
3968 | function _taggedTemplateLiteral$17(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3969 |
|
3970 | var ImageButtonBlue = styled__default(BaseImageButton)(_templateObject$17, function (props) {
|
3971 | return props.theme.colors.rocketBlue;
|
3972 | }, function (props) {
|
3973 | return props.theme.colors.white;
|
3974 | }, function (props) {
|
3975 | return props.theme.colors.white;
|
3976 | });
|
3977 |
|
3978 | ImageButtonBlue.propTypes = {
|
3979 | theme: PropTypes.shape({
|
3980 | colors: PropTypes.shape({
|
3981 | rocketBlue: PropTypes.string,
|
3982 | white: PropTypes.string
|
3983 | })
|
3984 | })
|
3985 |
|
3986 |
|
3987 | };
|
3988 |
|
3989 | var _templateObject$18 = _taggedTemplateLiteral$18(['\n > button {\n background-color: ', ';\n color: ', ';\n }\n > .borderBottom {\n background-color: ', ';\n }\n'], ['\n > button {\n background-color: ', ';\n color: ', ';\n }\n > .borderBottom {\n background-color: ', ';\n }\n']);
|
3990 |
|
3991 | function _taggedTemplateLiteral$18(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3992 |
|
3993 | var ImageButtonBlack = styled__default(BaseImageButton)(_templateObject$18, function (props) {
|
3994 | return props.theme.colors.black;
|
3995 | }, function (props) {
|
3996 | return props.theme.colors.white;
|
3997 | }, function (props) {
|
3998 | return props.theme.colors.yellow;
|
3999 | });
|
4000 |
|
4001 | ImageButtonBlack.propTypes = {
|
4002 | theme: PropTypes.shape({
|
4003 | colors: PropTypes.shape({
|
4004 | black: PropTypes.string,
|
4005 | yellow: PropTypes.string,
|
4006 | white: PropTypes.string
|
4007 | })
|
4008 | })
|
4009 |
|
4010 |
|
4011 | };
|
4012 |
|
4013 | var _jsxFileName$z = '/Users/jrusso/Documents/ROA/mirage/src/components/inputs/Checkbox/Check.base.js',
|
4014 | _this$v = undefined;
|
4015 |
|
4016 | var _templateObject$19 = _taggedTemplateLiteral$19(['\n from {\n stroke-dashoffset: 200;\n }\n to {\n stroke-dashoffset: 0;\n }\n'], ['\n from {\n stroke-dashoffset: 200;\n }\n to {\n stroke-dashoffset: 0;\n }\n']),
|
4017 | _templateObject2$j = _taggedTemplateLiteral$19(['\n animation: ', ' 0.25s linear forwards;\n\n stroke: ', ';\n stroke-dasharray: 200;\n stroke-dashoffset: 0;\n'], ['\n animation: ', ' 0.25s linear forwards;\n\n stroke: ', ';\n stroke-dasharray: 200;\n stroke-dashoffset: 0;\n']),
|
4018 | _templateObject3$d = _taggedTemplateLiteral$19(['\n ', '\n fill: none;\n stroke-width: 20;\n stroke-linecap: round;\n stroke: ', ';\n'], ['\n ', '\n fill: none;\n stroke-width: 20;\n stroke-linecap: round;\n stroke: ', ';\n']);
|
4019 |
|
4020 | function _taggedTemplateLiteral$19(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4021 |
|
4022 | var BaseCheck = function BaseCheck(_ref) {
|
4023 | var className = _ref.className;
|
4024 |
|
4025 | return React__default.createElement('polyline', { className: className, points: '38.75 98.75 77.75 134.75 151.25 55.25', __source: {
|
4026 | fileName: _jsxFileName$z,
|
4027 | lineNumber: 7
|
4028 | },
|
4029 | __self: _this$v
|
4030 | });
|
4031 | };
|
4032 |
|
4033 | var dash = styled.keyframes(_templateObject$19);
|
4034 |
|
4035 | var checked = styled.css(_templateObject2$j, dash, function (props) {
|
4036 | return props.theme.colors.white;
|
4037 | });
|
4038 |
|
4039 | var Check = styled__default(BaseCheck)(_templateObject3$d, function (props) {
|
4040 | return props.checked && checked;
|
4041 | }, function (props) {
|
4042 | return props.theme.colors.white;
|
4043 | });
|
4044 |
|
4045 | Check.propTypes = {
|
4046 | theme: PropTypes.shape({
|
4047 | colors: PropTypes.shape({
|
4048 | white: PropTypes.string
|
4049 | })
|
4050 | })
|
4051 | };
|
4052 |
|
4053 | var _jsxFileName$A = '/Users/jrusso/Documents/ROA/mirage/src/components/inputs/Checkbox/Rect.base.js',
|
4054 | _this$w = undefined;
|
4055 |
|
4056 | var _templateObject$1a = _taggedTemplateLiteral$1a(['\n from {\n fill: rgba(0,115,209, 1.0);\n }\n to {\n fill: rgba(255, 255, 255, 0);\n }\n'], ['\n from {\n fill: rgba(0,115,209, 1.0);\n }\n to {\n fill: rgba(255, 255, 255, 0);\n }\n']),
|
4057 | _templateObject2$k = _taggedTemplateLiteral$1a(['\n from {\n fill: rgba(255, 255, 255, 0);\n }\n to {\n fill: rgba(0,115,209, 1.0);\n }\n'], ['\n from {\n fill: rgba(255, 255, 255, 0);\n }\n to {\n fill: rgba(0,115,209, 1.0);\n }\n']),
|
4058 | _templateObject3$e = _taggedTemplateLiteral$1a(['\n animation: ', ' 0.25s linear forwards;\n\n fill: stroke: ', ';\n'], ['\n animation: ', ' 0.25s linear forwards;\n\n fill: stroke: ', ';\n']),
|
4059 | _templateObject4$7 = _taggedTemplateLiteral$1a(['\n animation: ', ' 0.25s linear forwards;\n\n stroke: transparent;\n stroke-width: 10;\n stroke-linecap: round;\n stroke-dashoffset: 200;\n fill: none;\n'], ['\n animation: ', ' 0.25s linear forwards;\n\n stroke: transparent;\n stroke-width: 10;\n stroke-linecap: round;\n stroke-dashoffset: 200;\n fill: none;\n']),
|
4060 | _templateObject5$4 = _taggedTemplateLiteral$1a(['\n ', '\n\n stroke: ', ';\n stroke-width: 20;\n stroke-linecap: round;\n'], ['\n ', '\n\n stroke: ', ';\n stroke-width: 20;\n stroke-linecap: round;\n']);
|
4061 |
|
4062 | function _taggedTemplateLiteral$1a(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4063 |
|
4064 | var fillOut = styled.keyframes(_templateObject$1a);
|
4065 |
|
4066 | var fillIn = styled.keyframes(_templateObject2$k);
|
4067 |
|
4068 | var checked$1 = styled.css(_templateObject3$e, fillIn, function (props) {
|
4069 | return props.theme.colors.rocketBlue;
|
4070 | });
|
4071 |
|
4072 | var unchecked = styled.css(_templateObject4$7, fillOut);
|
4073 |
|
4074 | var Rect = function Rect(_ref) {
|
4075 | var className = _ref.className;
|
4076 |
|
4077 | return React__default.createElement('rect', { className: className, x: '2.5', y: '2.5', width: '185', height: '185', rx: '10', ry: '10', __source: {
|
4078 | fileName: _jsxFileName$A,
|
4079 | lineNumber: 41
|
4080 | },
|
4081 | __self: _this$w
|
4082 | });
|
4083 | };
|
4084 |
|
4085 | var StyledRect = styled__default(Rect)(_templateObject5$4, function (props) {
|
4086 | return props.checked ? checked$1 : unchecked;
|
4087 | }, function (props) {
|
4088 | return props.theme.colors.rocketBlue;
|
4089 | });
|
4090 |
|
4091 | StyledRect.propTypes = {
|
4092 | checked: PropTypes.bool,
|
4093 | theme: PropTypes.shape({
|
4094 | colors: PropTypes.shape({
|
4095 | rocketBlue: PropTypes.string
|
4096 | })
|
4097 | })
|
4098 | };
|
4099 |
|
4100 | var _jsxFileName$B = '/Users/jrusso/Documents/ROA/mirage/src/components/inputs/Checkbox/CheckboxSVG.base.js',
|
4101 | _this$x = undefined;
|
4102 |
|
4103 | var _templateObject$1b = _taggedTemplateLiteral$1b(['\n width: 2.5rem;\n height: 2.5rem;\n margin-right: .9rem;\n'], ['\n width: 2.5rem;\n height: 2.5rem;\n margin-right: .9rem;\n']);
|
4104 |
|
4105 | function _taggedTemplateLiteral$1b(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4106 |
|
4107 | function _objectWithoutProperties$6(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
4108 |
|
4109 | var CheckboxSVG = function CheckboxSVG(_ref) {
|
4110 | var className = _ref.className,
|
4111 | props = _objectWithoutProperties$6(_ref, ['className']);
|
4112 |
|
4113 | return React__default.createElement(
|
4114 | 'svg',
|
4115 | { className: className, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 190 190', __source: {
|
4116 | fileName: _jsxFileName$B,
|
4117 | lineNumber: 10
|
4118 | },
|
4119 | __self: _this$x
|
4120 | },
|
4121 | React__default.createElement(StyledRect, Object.assign({}, props, {
|
4122 | __source: {
|
4123 | fileName: _jsxFileName$B,
|
4124 | lineNumber: 11
|
4125 | },
|
4126 | __self: _this$x
|
4127 | })),
|
4128 | React__default.createElement(Check, Object.assign({}, props, {
|
4129 | __source: {
|
4130 | fileName: _jsxFileName$B,
|
4131 | lineNumber: 12
|
4132 | },
|
4133 | __self: _this$x
|
4134 | }))
|
4135 | );
|
4136 | };
|
4137 |
|
4138 | var StyledCheckboxSVG = styled__default(CheckboxSVG)(_templateObject$1b);
|
4139 |
|
4140 | StyledCheckboxSVG.propTypes = {
|
4141 | checked: PropTypes.bool
|
4142 | };
|
4143 |
|
4144 | StyledCheckboxSVG.defaultProps = {
|
4145 | checked: false
|
4146 | };
|
4147 |
|
4148 | var _jsxFileName$C = '/Users/jrusso/Documents/ROA/mirage/src/components/inputs/Checkbox/Checkbox.js';
|
4149 |
|
4150 | var _createClass$3 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
4151 |
|
4152 | var _templateObject$1c = _taggedTemplateLiteral$1c(['\n display: flex;\n align-items: center;\n font-size: 1.6rem;\n font-weight: 400;\n\n input {\n width: 0;\n height: 0;\n\n opacity: 0;\n }\n\n input:focused + ', ' {\n stroke-width: 40;\n }\n'], ['\n display: flex;\n align-items: center;\n font-size: 1.6rem;\n font-weight: 400;\n\n input {\n width: 0;\n height: 0;\n\n opacity: 0;\n }\n\n input:focused + ', ' {\n stroke-width: 40;\n }\n']);
|
4153 |
|
4154 | function _taggedTemplateLiteral$1c(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4155 |
|
4156 | function _objectWithoutProperties$7(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
4157 |
|
4158 | function _classCallCheck$6(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
4159 |
|
4160 | function _possibleConstructorReturn$3(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
4161 |
|
4162 | function _inherits$3(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
4163 |
|
4164 | var CheckboxBase = function (_React$Component) {
|
4165 | _inherits$3(CheckboxBase, _React$Component);
|
4166 |
|
4167 | function CheckboxBase() {
|
4168 | _classCallCheck$6(this, CheckboxBase);
|
4169 |
|
4170 | return _possibleConstructorReturn$3(this, (CheckboxBase.__proto__ || Object.getPrototypeOf(CheckboxBase)).apply(this, arguments));
|
4171 | }
|
4172 |
|
4173 | _createClass$3(CheckboxBase, [{
|
4174 | key: 'render',
|
4175 | value: function render() {
|
4176 | var _props = this.props,
|
4177 | className = _props.className,
|
4178 | input = _props.input,
|
4179 | label = _props.label,
|
4180 | props = _objectWithoutProperties$7(_props, ['className', 'input', 'label']);
|
4181 |
|
4182 | var checked = input.value;
|
4183 | return React__default.createElement(
|
4184 | Label,
|
4185 | Object.assign({}, props, { lowercase: true, className: className, __source: {
|
4186 | fileName: _jsxFileName$C,
|
4187 | lineNumber: 14
|
4188 | },
|
4189 | __self: this
|
4190 | }),
|
4191 | React__default.createElement('input', Object.assign({
|
4192 | type: 'checkbox'
|
4193 | }, input, {
|
4194 | checked: checked,
|
4195 | __source: {
|
4196 | fileName: _jsxFileName$C,
|
4197 | lineNumber: 15
|
4198 | },
|
4199 | __self: this
|
4200 | })),
|
4201 | React__default.createElement(StyledCheckboxSVG, Object.assign({}, props, { checked: checked, __source: {
|
4202 | fileName: _jsxFileName$C,
|
4203 | lineNumber: 20
|
4204 | },
|
4205 | __self: this
|
4206 | })),
|
4207 | label
|
4208 | );
|
4209 | }
|
4210 | }]);
|
4211 |
|
4212 | return CheckboxBase;
|
4213 | }(React__default.Component);
|
4214 |
|
4215 | CheckboxBase.propTypes = {
|
4216 | className: PropTypes.string,
|
4217 | input: PropTypes.shape({
|
4218 | value: PropTypes.bool
|
4219 | }).isRequired,
|
4220 | label: PropTypes.string
|
4221 | };
|
4222 |
|
4223 | CheckboxBase.defaultProps = {
|
4224 | input: {
|
4225 | value: false
|
4226 | }
|
4227 | };
|
4228 |
|
4229 | var Checkbox = styled__default(CheckboxBase)(_templateObject$1c, StyledRect);
|
4230 |
|
4231 | Checkbox.propTypes = {
|
4232 | className: PropTypes.string,
|
4233 | input: PropTypes.object.isRequired,
|
4234 | label: PropTypes.string,
|
4235 | theme: PropTypes.shape({
|
4236 | colors: PropTypes.shape({
|
4237 | rocketBlue: PropTypes.string,
|
4238 | white: PropTypes.string
|
4239 | })
|
4240 | })
|
4241 |
|
4242 |
|
4243 | };
|
4244 |
|
4245 | var _jsxFileName$D = '/Users/jrusso/Documents/ROA/mirage/src/components/inputs/SizeRadio.js',
|
4246 | _this$y = undefined;
|
4247 |
|
4248 | var _templateObject$1d = _taggedTemplateLiteral$1d(['\n color: ', ';\n border: 1px solid ', ';\n background-color: ', ';\n'], ['\n color: ', ';\n border: 1px solid ', ';\n background-color: ', ';\n']),
|
4249 | _templateObject2$l = _taggedTemplateLiteral$1d(['\n position: relative;\n > input {\n position: absolute;\n\n width: 0;\n height: 0;\n\n opacity: 0;\n }\n > label {\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 64px;\n height: 64px;\n\n cursor: pointer;\n transition-timing-function: ease-in-out;\n transition-duration: 0.25s;\n transition-property: background-color, border-color, color;\n text-align: center;\n letter-spacing: normal;\n\n color: ', ';\n border: 1px solid ', ';\n border-radius: 50%;\n background-color: ', ';\n\n font-family: ', ';\n font-size: 16px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n }\n\n > input:checked + label {\n ', '\n }\n'], ['\n position: relative;\n > input {\n position: absolute;\n\n width: 0;\n height: 0;\n\n opacity: 0;\n }\n > label {\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 64px;\n height: 64px;\n\n cursor: pointer;\n transition-timing-function: ease-in-out;\n transition-duration: 0.25s;\n transition-property: background-color, border-color, color;\n text-align: center;\n letter-spacing: normal;\n\n color: ', ';\n border: 1px solid ', ';\n border-radius: 50%;\n background-color: ', ';\n\n font-family: ', ';\n font-size: 16px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n }\n\n > input:checked + label {\n ', '\n }\n']);
|
4250 |
|
4251 | function _taggedTemplateLiteral$1d(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4252 |
|
4253 | function _objectWithoutProperties$8(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
4254 |
|
4255 | var BaseSizeRadio = function BaseSizeRadio(_ref) {
|
4256 | var children = _ref.children,
|
4257 | className = _ref.className,
|
4258 | input = _ref.input,
|
4259 | props = _objectWithoutProperties$8(_ref, ['children', 'className', 'input']);
|
4260 |
|
4261 | return React__default.createElement(
|
4262 | 'div',
|
4263 | { className: className, __source: {
|
4264 | fileName: _jsxFileName$D,
|
4265 | lineNumber: 7
|
4266 | },
|
4267 | __self: _this$y
|
4268 | },
|
4269 | React__default.createElement('input', Object.assign({ id: input.value, type: 'radio' }, input, {
|
4270 | __source: {
|
4271 | fileName: _jsxFileName$D,
|
4272 | lineNumber: 8
|
4273 | },
|
4274 | __self: _this$y
|
4275 | })),
|
4276 | React__default.createElement(
|
4277 | 'label',
|
4278 | { htmlFor: input.value, __source: {
|
4279 | fileName: _jsxFileName$D,
|
4280 | lineNumber: 9
|
4281 | },
|
4282 | __self: _this$y
|
4283 | },
|
4284 | children
|
4285 | )
|
4286 | );
|
4287 | };
|
4288 |
|
4289 | var checked$2 = styled.css(_templateObject$1d, function (props) {
|
4290 | return props.theme.colors.white;
|
4291 | }, function (props) {
|
4292 | return props.theme.colors.rocketBlue;
|
4293 | }, function (props) {
|
4294 | return props.theme.colors.rocketBlue;
|
4295 | });
|
4296 |
|
4297 | var SizeRadio = styled__default(BaseSizeRadio)(_templateObject2$l, function (props) {
|
4298 | return props.theme.colors.navy;
|
4299 | }, function (props) {
|
4300 | return props.theme.colors.gray[5];
|
4301 | }, function (props) {
|
4302 | return props.theme.colors.gray[0];
|
4303 | }, function (props) {
|
4304 | return props.theme.fonts.primaryFont;
|
4305 | }, function (props) {
|
4306 | return checked$2;
|
4307 | });
|
4308 |
|
4309 | SizeRadio.propTypes = {
|
4310 | children: PropTypes.string,
|
4311 | input: PropTypes.object,
|
4312 | theme: PropTypes.shape({
|
4313 | fonts: PropTypes.shape({
|
4314 | primaryFont: PropTypes.string.isRequired
|
4315 | }),
|
4316 | colors: PropTypes.shape({
|
4317 | navy: PropTypes.string.isRequired,
|
4318 | rocketBlue: PropTypes.string.isRequired,
|
4319 | white: PropTypes.string.isRequired,
|
4320 | gray: PropTypes.array.isRequired
|
4321 | })
|
4322 | })
|
4323 |
|
4324 |
|
4325 | };
|
4326 |
|
4327 | var _templateObject$1e = _taggedTemplateLiteral$1e(['\ntransition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;\n\ntext-decoration: none;\ntext-transform: ', ';\n\nborder-bottom: 0.2rem solid;\nborder-bottom-color: transparent;\n\nfont-family: ', ';\nfont-size: 1.4rem;\nfont-weight: 500;\n&:hover {\n text-decoration: none;\n\n pointer: cursor;\n}\n'], ['\ntransition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;\n\ntext-decoration: none;\ntext-transform: ', ';\n\nborder-bottom: 0.2rem solid;\nborder-bottom-color: transparent;\n\nfont-family: ', ';\nfont-size: 1.4rem;\nfont-weight: 500;\n&:hover {\n text-decoration: none;\n\n pointer: cursor;\n}\n']),
|
4328 | _templateObject2$m = _taggedTemplateLiteral$1e(['\n ', '\n'], ['\n ', '\n']);
|
4329 |
|
4330 | function _taggedTemplateLiteral$1e(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4331 |
|
4332 | var baseLinkStyles = styled.css(_templateObject$1e, function (props) {
|
4333 | return props.uppercase ? 'uppercase' : 'initial';
|
4334 | }, function (props) {
|
4335 | return props.theme.fonts.primaryFont;
|
4336 | });
|
4337 |
|
4338 | var BaseLink = styled__default.a(_templateObject2$m, function (props) {
|
4339 | return baseLinkStyles;
|
4340 | });
|
4341 |
|
4342 | BaseLink.propTypes = {
|
4343 | theme: PropTypes.shape({
|
4344 | fonts: PropTypes.shape({
|
4345 | primaryFont: PropTypes.string
|
4346 | })
|
4347 | }),
|
4348 | uppercase: PropTypes.bool.isRequired
|
4349 | };
|
4350 |
|
4351 | BaseLink.defaultProps = {
|
4352 | uppercase: false
|
4353 |
|
4354 |
|
4355 | };
|
4356 |
|
4357 | var _templateObject$1f = _taggedTemplateLiteral$1f(['\n color: ', ';\n &:active, &:focus, &:hover, &:visited {\n color: ', ';\n ', '\n }\n'], ['\n color: ', ';\n &:active, &:focus, &:hover, &:visited {\n color: ', ';\n ', '\n }\n']);
|
4358 |
|
4359 | function _taggedTemplateLiteral$1f(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4360 |
|
4361 | var Link = styled__default(BaseLink)(_templateObject$1f, function (props) {
|
4362 | return props.theme.colors.rocketBlue;
|
4363 | }, function (props) {
|
4364 | return props.theme.colors.navy;
|
4365 | }, function (props) {
|
4366 | return props.underline ? 'border-bottom-color: ' + props.theme.colors.navy + ';' : '';
|
4367 | });
|
4368 |
|
4369 | Link.propTypes = {
|
4370 | theme: PropTypes.shape({
|
4371 | colors: PropTypes.shape({
|
4372 | rocketBlue: PropTypes.string
|
4373 | })
|
4374 | }),
|
4375 | underline: PropTypes.bool.isRequired
|
4376 | };
|
4377 |
|
4378 | Link.defaultProps = {
|
4379 | underline: true
|
4380 |
|
4381 | };
|
4382 |
|
4383 | var _templateObject$1g = _taggedTemplateLiteral$1g(['\n color: ', ';\n &:active, &:focus, &:hover, &:visited {\n color: ', ';\n ', '\n }\n'], ['\n color: ', ';\n &:active, &:focus, &:hover, &:visited {\n color: ', ';\n ', '\n }\n']);
|
4384 |
|
4385 | function _taggedTemplateLiteral$1g(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4386 |
|
4387 | var NavyLink = styled__default(BaseLink)(_templateObject$1g, function (props) {
|
4388 | return props.theme.colors.navy;
|
4389 | }, function (props) {
|
4390 | return props.theme.colors.navy;
|
4391 | }, function (props) {
|
4392 | return props.underline ? 'border-bottom-color: ' + props.theme.colors.navy + ';' : '';
|
4393 | });
|
4394 |
|
4395 | NavyLink.propTypes = {
|
4396 | theme: PropTypes.shape({
|
4397 | colors: PropTypes.shape({
|
4398 | navy: PropTypes.string
|
4399 | })
|
4400 | }),
|
4401 | underline: PropTypes.bool.isRequired
|
4402 | };
|
4403 |
|
4404 | NavyLink.defaultProps = {
|
4405 | underline: true
|
4406 |
|
4407 |
|
4408 | };
|
4409 |
|
4410 | var _templateObject$1h = _taggedTemplateLiteral$1h(['\n color: ', ';\n &:active, &:focus, &:hover, &:visited {\n color: ', ';\n ', '\n }\n'], ['\n color: ', ';\n &:active, &:focus, &:hover, &:visited {\n color: ', ';\n ', '\n }\n']);
|
4411 |
|
4412 | function _taggedTemplateLiteral$1h(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4413 |
|
4414 | var WhiteLink = styled__default(BaseLink)(_templateObject$1h, function (props) {
|
4415 | return props.theme.colors.white;
|
4416 | }, function (props) {
|
4417 | return props.theme.colors.white;
|
4418 | }, function (props) {
|
4419 | return props.underline ? 'border-bottom-color: ' + props.theme.colors.white + ';' : '';
|
4420 | });
|
4421 |
|
4422 | WhiteLink.propTypes = {
|
4423 | theme: PropTypes.shape({
|
4424 | colors: PropTypes.shape({
|
4425 | white: PropTypes.string
|
4426 | })
|
4427 | }),
|
4428 | underline: PropTypes.bool.isRequired
|
4429 | };
|
4430 |
|
4431 | WhiteLink.defaultProps = {
|
4432 | underline: true
|
4433 |
|
4434 |
|
4435 | };
|
4436 |
|
4437 | var _jsxFileName$E = '/Users/jrusso/Documents/ROA/mirage/src/components/payment/DefaultPayment.js',
|
4438 | _this$z = undefined;
|
4439 |
|
4440 | var _templateObject$1i = _taggedTemplateLiteral$1i(['\n display: flex;\n align-items: flex-start;\n ', ' {\n display: inline-block;\n width: 2.5rem;\n margin-top: .6rem;\n margin-right: 1rem;\n flex: 0 0 auto;\n }\n > aside {\n display: inline-block;\n }\n ', ' {\n display: inline-block;\n box-sizing: border-box;\n width: 100%;\n &:first-of-type {\n padding-right: 7rem;\n ', '\n }\n }\n'], ['\n display: flex;\n align-items: flex-start;\n ', ' {\n display: inline-block;\n width: 2.5rem;\n margin-top: .6rem;\n margin-right: 1rem;\n flex: 0 0 auto;\n }\n > aside {\n display: inline-block;\n }\n ', ' {\n display: inline-block;\n box-sizing: border-box;\n width: 100%;\n &:first-of-type {\n padding-right: 7rem;\n ', '\n }\n }\n']),
|
4441 | _templateObject2$n = _taggedTemplateLiteral$1i(['\n padding-right: 5rem;\n '], ['\n padding-right: 5rem;\n ']);
|
4442 |
|
4443 | function _taggedTemplateLiteral$1i(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4444 |
|
4445 | var prettyBrand = function prettyBrand(brand) {
|
4446 | return '' + brand.charAt(0).toUpperCase() + brand.slice(1);
|
4447 | };
|
4448 | var cardData = function cardData(brand, last_4_digits) {
|
4449 | return prettyBrand(brand) + ' ending in ****' + last_4_digits;
|
4450 | };
|
4451 |
|
4452 | var BaseDefaultPayment = function BaseDefaultPayment(_ref) {
|
4453 | var _ref$card = _ref.card,
|
4454 | brand = _ref$card.brand,
|
4455 | exp_month = _ref$card.exp_month,
|
4456 | exp_year = _ref$card.exp_year,
|
4457 | last_4_digits = _ref$card.last_4_digits,
|
4458 | className = _ref.className;
|
4459 |
|
4460 | return React__default.createElement(
|
4461 | 'section',
|
4462 | { className: className, __source: {
|
4463 | fileName: _jsxFileName$E,
|
4464 | lineNumber: 23
|
4465 | },
|
4466 | __self: _this$z
|
4467 | },
|
4468 | React__default.createElement(CardIcon, { brand: brand, __source: {
|
4469 | fileName: _jsxFileName$E,
|
4470 | lineNumber: 24
|
4471 | },
|
4472 | __self: _this$z
|
4473 | }),
|
4474 | React__default.createElement(
|
4475 | 'aside',
|
4476 | {
|
4477 | __source: {
|
4478 | fileName: _jsxFileName$E,
|
4479 | lineNumber: 25
|
4480 | },
|
4481 | __self: _this$z
|
4482 | },
|
4483 | React__default.createElement(
|
4484 | LowercaseLabel,
|
4485 | {
|
4486 | __source: {
|
4487 | fileName: _jsxFileName$E,
|
4488 | lineNumber: 26
|
4489 | },
|
4490 | __self: _this$z
|
4491 | },
|
4492 | cardData(brand, last_4_digits)
|
4493 | ),
|
4494 | React__default.createElement(
|
4495 | LowercaseLabel,
|
4496 | {
|
4497 | __source: {
|
4498 | fileName: _jsxFileName$E,
|
4499 | lineNumber: 27
|
4500 | },
|
4501 | __self: _this$z
|
4502 | },
|
4503 | 'expires ',
|
4504 | exp_month,
|
4505 | '/',
|
4506 | exp_year
|
4507 | )
|
4508 | )
|
4509 | );
|
4510 | };
|
4511 |
|
4512 | var DefaultPayment = styled__default(BaseDefaultPayment)(_templateObject$1i, CardIcon, Label, function (props) {
|
4513 | return props.theme.media.tablet(_templateObject2$n);
|
4514 | });
|
4515 |
|
4516 | DefaultPayment.propTypes = {
|
4517 | card: PropTypes.shape({
|
4518 | brand: PropTypes.string,
|
4519 | exp_month: PropTypes.string,
|
4520 | exp_year: PropTypes.string,
|
4521 | last_4_digits: PropTypes.string
|
4522 | }).isRequired
|
4523 |
|
4524 |
|
4525 | };
|
4526 |
|
4527 | var _templateObject$1j = _taggedTemplateLiteral$1j(['\n padding: 2.0rem 1.5rem;\n background-color: ', ';\n'], ['\n padding: 2.0rem 1.5rem;\n background-color: ', ';\n']);
|
4528 |
|
4529 | function _taggedTemplateLiteral$1j(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4530 |
|
4531 | var InformationalSection = styled__default.section(_templateObject$1j, function (props) {
|
4532 | return props.theme.colors.lightBlue[0];
|
4533 | });
|
4534 |
|
4535 | InformationalSection.propTypes = {
|
4536 | theme: PropTypes.shape({
|
4537 | colors: PropTypes.shape({
|
4538 | lightBlue: PropTypes.array
|
4539 | })
|
4540 | })
|
4541 |
|
4542 |
|
4543 | };
|
4544 |
|
4545 | var _jsxFileName$F = '/Users/jrusso/Documents/ROA/mirage/src/components/social-media/instagram.js';
|
4546 |
|
4547 | var _createClass$4 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
4548 |
|
4549 | var _templateObject$1k = _taggedTemplateLiteral$1k(['\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n > a {\n width: 50%;\n max-width: 17rem;\n padding: 1rem;\n box-sizing: border-box;\n img {\n width: 100%;\n max-width: 15rem;\n }\n }\n'], ['\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n > a {\n width: 50%;\n max-width: 17rem;\n padding: 1rem;\n box-sizing: border-box;\n img {\n width: 100%;\n max-width: 15rem;\n }\n }\n']);
|
4550 |
|
4551 | function _taggedTemplateLiteral$1k(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4552 |
|
4553 | function _classCallCheck$7(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
4554 |
|
4555 | function _possibleConstructorReturn$4(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
4556 |
|
4557 | function _inherits$4(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
4558 |
|
4559 | var _process$env = process.env,
|
4560 | REACT_APP_INSTAGRAM_ACCESS_TOKEN = _process$env.REACT_APP_INSTAGRAM_ACCESS_TOKEN,
|
4561 | REACT_APP_INSTAGRAM_CLIENT_ID = _process$env.REACT_APP_INSTAGRAM_CLIENT_ID,
|
4562 | REACT_APP_INSTAGRAM_USER_ID = _process$env.REACT_APP_INSTAGRAM_USER_ID;
|
4563 |
|
4564 | var BaseInstagram = function (_React$Component) {
|
4565 | _inherits$4(BaseInstagram, _React$Component);
|
4566 |
|
4567 | function BaseInstagram(props) {
|
4568 | _classCallCheck$7(this, BaseInstagram);
|
4569 |
|
4570 | var _this = _possibleConstructorReturn$4(this, (BaseInstagram.__proto__ || Object.getPrototypeOf(BaseInstagram)).call(this, props));
|
4571 |
|
4572 | _this.setInstagramRef = function (element) {
|
4573 | _this.instagramRef = element;
|
4574 | };
|
4575 |
|
4576 | _this.instagramRef = null;
|
4577 | return _this;
|
4578 | }
|
4579 |
|
4580 | _createClass$4(BaseInstagram, [{
|
4581 | key: 'componentDidMount',
|
4582 | value: function componentDidMount() {
|
4583 | var limit = this.props.limit;
|
4584 |
|
4585 | this.feed = new Instafeed({
|
4586 | get: 'user',
|
4587 | target: this.instagramRef,
|
4588 | clientId: REACT_APP_INSTAGRAM_CLIENT_ID,
|
4589 | userId: REACT_APP_INSTAGRAM_USER_ID,
|
4590 | accessToken: REACT_APP_INSTAGRAM_ACCESS_TOKEN,
|
4591 | limit: limit
|
4592 | }).run();
|
4593 | }
|
4594 | }, {
|
4595 | key: 'render',
|
4596 | value: function render() {
|
4597 | var className = this.props.className;
|
4598 |
|
4599 | return React__default.createElement('section', { className: className, ref: this.setInstagramRef, __source: {
|
4600 | fileName: _jsxFileName$F,
|
4601 | lineNumber: 33
|
4602 | },
|
4603 | __self: this
|
4604 | });
|
4605 | }
|
4606 | }]);
|
4607 |
|
4608 | return BaseInstagram;
|
4609 | }(React__default.Component);
|
4610 |
|
4611 | var Instagram = styled__default(BaseInstagram)(_templateObject$1k);
|
4612 |
|
4613 | Instagram.propTypes = {
|
4614 | limit: PropTypes.number
|
4615 | };
|
4616 |
|
4617 | Instagram.defaultProps = {
|
4618 | limit: 4
|
4619 |
|
4620 |
|
4621 | };
|
4622 |
|
4623 | var _jsxFileName$G = '/Users/jrusso/Documents/ROA/mirage/src/components/video/backgroundVideo.js',
|
4624 | _this$A = undefined;
|
4625 |
|
4626 | var _templateObject$1l = _taggedTemplateLiteral$1l(['\n position: relative;\n > video {\n width: 100%;\n }\n > article {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n'], ['\n position: relative;\n > video {\n width: 100%;\n }\n > article {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n']);
|
4627 |
|
4628 | function _taggedTemplateLiteral$1l(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4629 |
|
4630 | function _objectWithoutProperties$9(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
4631 |
|
4632 | var BaseBackgroundVideo = function BaseBackgroundVideo(_ref) {
|
4633 | var className = _ref.className,
|
4634 | children = _ref.children,
|
4635 | sources = _ref.sources,
|
4636 | props = _objectWithoutProperties$9(_ref, ['className', 'children', 'sources']);
|
4637 |
|
4638 | return React__default.createElement(
|
4639 | 'section',
|
4640 | Object.assign({ className: className }, props, {
|
4641 | __source: {
|
4642 | fileName: _jsxFileName$G,
|
4643 | lineNumber: 8
|
4644 | },
|
4645 | __self: _this$A
|
4646 | }),
|
4647 | React__default.createElement(Video, { sources: sources, __source: {
|
4648 | fileName: _jsxFileName$G,
|
4649 | lineNumber: 9
|
4650 | },
|
4651 | __self: _this$A
|
4652 | }),
|
4653 | React__default.createElement(
|
4654 | 'article',
|
4655 | {
|
4656 | __source: {
|
4657 | fileName: _jsxFileName$G,
|
4658 | lineNumber: 10
|
4659 | },
|
4660 | __self: _this$A
|
4661 | },
|
4662 | children
|
4663 | )
|
4664 | );
|
4665 | };
|
4666 |
|
4667 | var BackgroundVideo = styled__default(BaseBackgroundVideo)(_templateObject$1l);
|
4668 |
|
4669 | BackgroundVideo.propTypes = {
|
4670 | sources: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
4671 |
|
4672 |
|
4673 | };
|
4674 |
|
4675 | var defaultProps$1 = {
|
4676 | "header": "We believe in simplifying the lives of parents and celebrating real life with kids.",
|
4677 | "sections": [{
|
4678 | "title": "KIDS ARE AWESOME",
|
4679 | "body": "And we want to celebrate them! Quirks, preferences and all—with clothes that express who they are as individuals."
|
4680 | }, {
|
4681 | "title": "PARENTS ARE SUPERHEROES",
|
4682 | "body": "We’ll make your life easier, so you can get back to being the best snack-schlepper, soccer-practice-chauffeur..."
|
4683 | }, {
|
4684 | "title": "SHOPPING SHOULD BE EASY",
|
4685 | "body": "You shouldn’t have to go to a million sites and stores to find awesome clothes you AND your kids will love."
|
4686 | }],
|
4687 | "footer": "BECAUSE IT’S MORE FUN WHEN EVERYONE WINS!"
|
4688 | };
|
4689 |
|
4690 | var _jsxFileName$H = '/Users/jrusso/Documents/ROA/mirage/src/components/aboutUs/aboutUs.js',
|
4691 | _this$B = undefined;
|
4692 |
|
4693 | var _templateObject$1m = _taggedTemplateLiteral$1m(['\n ', '\n ', ', ', ' {\n text-align: center;\n text-transform: uppercase;\n }\n ', ' {\n margin: 0 auto;\n margin-bottom: 40px;\n }\n ', ' {\n color: ', ';\n margin-top: 20px;\n margin-bottom: 20px;\n }\n ', ' {\n text-align: center;\n line-height: 2;\n }\n .flexDiv {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: space-around;\n margin-bottom: 60px;\n }\n'], ['\n ', '\n ', ', ', ' {\n text-align: center;\n text-transform: uppercase;\n }\n ', ' {\n margin: 0 auto;\n margin-bottom: 40px;\n }\n ', ' {\n color: ', ';\n margin-top: 20px;\n margin-bottom: 20px;\n }\n ', ' {\n text-align: center;\n line-height: 2;\n }\n .flexDiv {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: space-around;\n margin-bottom: 60px;\n }\n']);
|
4694 |
|
4695 | function _taggedTemplateLiteral$1m(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4696 |
|
4697 | function _objectWithoutProperties$a(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
4698 |
|
4699 | var BaseAboutUs = function BaseAboutUs(_ref) {
|
4700 | var className = _ref.className,
|
4701 | header = _ref.header,
|
4702 | sections = _ref.sections,
|
4703 | footer = _ref.footer,
|
4704 | props = _objectWithoutProperties$a(_ref, ['className', 'header', 'sections', 'footer']);
|
4705 |
|
4706 | return React__default.createElement(
|
4707 | 'section',
|
4708 | { className: className, __source: {
|
4709 | fileName: _jsxFileName$H,
|
4710 | lineNumber: 15
|
4711 | },
|
4712 | __self: _this$B
|
4713 | },
|
4714 | React__default.createElement(
|
4715 | FlexCol,
|
4716 | { mobile: { width: 4 }, desktop: { width: 8, span: 2 }, __source: {
|
4717 | fileName: _jsxFileName$H,
|
4718 | lineNumber: 16
|
4719 | },
|
4720 | __self: _this$B
|
4721 | },
|
4722 | React__default.createElement(
|
4723 | H1,
|
4724 | {
|
4725 | __source: {
|
4726 | fileName: _jsxFileName$H,
|
4727 | lineNumber: 17
|
4728 | },
|
4729 | __self: _this$B
|
4730 | },
|
4731 | header
|
4732 | )
|
4733 | ),
|
4734 | React__default.createElement(
|
4735 | FlexCol,
|
4736 | { mobile: { width: 4 }, desktop: { width: 10, span: 1 }, __source: {
|
4737 | fileName: _jsxFileName$H,
|
4738 | lineNumber: 19
|
4739 | },
|
4740 | __self: _this$B
|
4741 | },
|
4742 | React__default.createElement(
|
4743 | 'div',
|
4744 | { className: 'flexDiv', __source: {
|
4745 | fileName: _jsxFileName$H,
|
4746 | lineNumber: 20
|
4747 | },
|
4748 | __self: _this$B
|
4749 | },
|
4750 | sections.map(function (section, i) {
|
4751 | return React__default.createElement(
|
4752 | FlexCol,
|
4753 | { mobile: { width: 4 }, desktop: { width: 4 }, key: 'about-us-' + i, __source: {
|
4754 | fileName: _jsxFileName$H,
|
4755 | lineNumber: 24
|
4756 | },
|
4757 | __self: _this$B
|
4758 | },
|
4759 | React__default.createElement(
|
4760 | 'div',
|
4761 | {
|
4762 | __source: {
|
4763 | fileName: _jsxFileName$H,
|
4764 | lineNumber: 25
|
4765 | },
|
4766 | __self: _this$B
|
4767 | },
|
4768 | React__default.createElement(
|
4769 | H2,
|
4770 | {
|
4771 | __source: {
|
4772 | fileName: _jsxFileName$H,
|
4773 | lineNumber: 26
|
4774 | },
|
4775 | __self: _this$B
|
4776 | },
|
4777 | section.title
|
4778 | ),
|
4779 | React__default.createElement(
|
4780 | P,
|
4781 | {
|
4782 | __source: {
|
4783 | fileName: _jsxFileName$H,
|
4784 | lineNumber: 27
|
4785 | },
|
4786 | __self: _this$B
|
4787 | },
|
4788 | section.body
|
4789 | )
|
4790 | )
|
4791 | );
|
4792 | })
|
4793 | )
|
4794 | ),
|
4795 | React__default.createElement(
|
4796 | FlexCol,
|
4797 | { mobile: { width: 4 }, desktop: { width: 12 }, __source: {
|
4798 | fileName: _jsxFileName$H,
|
4799 | lineNumber: 35
|
4800 | },
|
4801 | __self: _this$B
|
4802 | },
|
4803 | React__default.createElement(
|
4804 | H2,
|
4805 | {
|
4806 | __source: {
|
4807 | fileName: _jsxFileName$H,
|
4808 | lineNumber: 36
|
4809 | },
|
4810 | __self: _this$B
|
4811 | },
|
4812 | footer
|
4813 | )
|
4814 | )
|
4815 | );
|
4816 | };
|
4817 |
|
4818 | var AboutUs$$1 = styled__default(BaseAboutUs)(_templateObject$1m, FlexRow, H1, H2, H1, H2, function (props) {
|
4819 | return props.theme.colors.rocketBlue;
|
4820 | }, P);
|
4821 |
|
4822 | AboutUs$$1.defaultProps = Object.assign({}, defaultProps$1, {
|
4823 | padding: true,
|
4824 | constrained: true
|
4825 |
|
4826 |
|
4827 | });
|
4828 |
|
4829 | var _jsxFileName$I = '/Users/jrusso/Documents/ROA/mirage/src/modules/complete-account/Guarantee.js',
|
4830 | _this$C = undefined;
|
4831 |
|
4832 | var _templateObject$1n = _taggedTemplateLiteral$1n(['\n header {\n display: flex;\n align-items: center;\n }\n ', ' {\n margin-right: 10px;\n }\n section > *{\n margin-top: 10px;\n margin-bottom: 0;\n }\n'], ['\n header {\n display: flex;\n align-items: center;\n }\n ', ' {\n margin-right: 10px;\n }\n section > *{\n margin-top: 10px;\n margin-bottom: 0;\n }\n']);
|
4833 |
|
4834 | function _taggedTemplateLiteral$1n(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4835 |
|
4836 | var UnstyledGuarantee = function UnstyledGuarantee(_ref) {
|
4837 | var className = _ref.className,
|
4838 | children = _ref.children;
|
4839 |
|
4840 | return React__default.createElement(
|
4841 | InformationalSection,
|
4842 | { className: className, __source: {
|
4843 | fileName: _jsxFileName$I,
|
4844 | lineNumber: 11
|
4845 | },
|
4846 | __self: _this$C
|
4847 | },
|
4848 | React__default.createElement(
|
4849 | 'header',
|
4850 | {
|
4851 | __source: {
|
4852 | fileName: _jsxFileName$I,
|
4853 | lineNumber: 12
|
4854 | },
|
4855 | __self: _this$C
|
4856 | },
|
4857 | React__default.createElement(GuaranteeIcon, { animated: true, __source: {
|
4858 | fileName: _jsxFileName$I,
|
4859 | lineNumber: 13
|
4860 | },
|
4861 | __self: _this$C
|
4862 | }),
|
4863 | React__default.createElement(
|
4864 | Label,
|
4865 | {
|
4866 | __source: {
|
4867 | fileName: _jsxFileName$I,
|
4868 | lineNumber: 14
|
4869 | },
|
4870 | __self: _this$C
|
4871 | },
|
4872 | 'FIRST BOX GUARANTEE'
|
4873 | )
|
4874 | ),
|
4875 | React__default.createElement(
|
4876 | 'section',
|
4877 | {
|
4878 | __source: {
|
4879 | fileName: _jsxFileName$I,
|
4880 | lineNumber: 16
|
4881 | },
|
4882 | __self: _this$C
|
4883 | },
|
4884 | children
|
4885 | )
|
4886 | );
|
4887 | };
|
4888 |
|
4889 | var Guarantee = styled__default(UnstyledGuarantee)(_templateObject$1n, GuaranteeIcon);
|
4890 |
|
4891 | Guarantee.propTypes = {
|
4892 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object])
|
4893 |
|
4894 |
|
4895 | };
|
4896 |
|
4897 | var defaultProps$2 = {
|
4898 | "title": "Find us @rocketsofawesome",
|
4899 | "content": "Follow us on Instagram for parent hacks, outfit tips, and the stuff we’re just super obsessed with right now. Plus, check out #ROAINTHEWILD to see how real kids are sporting their favorite styles IRL."
|
4900 | };
|
4901 |
|
4902 | var _jsxFileName$J = '/Users/jrusso/Documents/ROA/mirage/src/modules/social-media/instagramRegion.js',
|
4903 | _this$D = undefined;
|
4904 |
|
4905 | var _templateObject$1o = _taggedTemplateLiteral$1o(['\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n > * {\n flex: 1 1 100%;\n display: flex;\n justify-content: center;\n }\n ', ', ', ' {\n margin-bottom: 2rem;\n text-align: center;\n }\n'], ['\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n > * {\n flex: 1 1 100%;\n display: flex;\n justify-content: center;\n }\n ', ', ', ' {\n margin-bottom: 2rem;\n text-align: center;\n }\n']);
|
4906 |
|
4907 | function _taggedTemplateLiteral$1o(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4908 |
|
4909 | var BaseInstagramRegion = function BaseInstagramRegion(_ref) {
|
4910 | var className = _ref.className,
|
4911 | content = _ref.content,
|
4912 | title = _ref.title;
|
4913 |
|
4914 | return React__default.createElement(
|
4915 | 'section',
|
4916 | { className: className, __source: {
|
4917 | fileName: _jsxFileName$J,
|
4918 | lineNumber: 9
|
4919 | },
|
4920 | __self: _this$D
|
4921 | },
|
4922 | React__default.createElement(
|
4923 | H1,
|
4924 | {
|
4925 | __source: {
|
4926 | fileName: _jsxFileName$J,
|
4927 | lineNumber: 10
|
4928 | },
|
4929 | __self: _this$D
|
4930 | },
|
4931 | title
|
4932 | ),
|
4933 | React__default.createElement(
|
4934 | P,
|
4935 | {
|
4936 | __source: {
|
4937 | fileName: _jsxFileName$J,
|
4938 | lineNumber: 11
|
4939 | },
|
4940 | __self: _this$D
|
4941 | },
|
4942 | content
|
4943 | ),
|
4944 | React__default.createElement(Instagram, {
|
4945 | __source: {
|
4946 | fileName: _jsxFileName$J,
|
4947 | lineNumber: 12
|
4948 | },
|
4949 | __self: _this$D
|
4950 | })
|
4951 | );
|
4952 | };
|
4953 |
|
4954 | var InstagramRegion$$1 = styled__default(BaseInstagramRegion)(_templateObject$1o, H1, P);
|
4955 |
|
4956 | InstagramRegion$$1.propTypes = {
|
4957 | className: PropTypes.string,
|
4958 | content: PropTypes.oneOfType([PropTypes.array, PropTypes.object, PropTypes.string]),
|
4959 | title: PropTypes.oneOfType([PropTypes.array, PropTypes.object, PropTypes.string])
|
4960 | };
|
4961 |
|
4962 | InstagramRegion$$1.defaultProps = Object.assign({}, defaultProps$2);
|
4963 |
|
4964 | var _jsxFileName$K = '/Users/jrusso/Documents/ROA/mirage/src/modules/complete-account/SubscriptionShipping.js',
|
4965 | _this$E = undefined;
|
4966 |
|
4967 | var _templateObject$1p = _taggedTemplateLiteral$1p(['\n display: flex;\n align-items: center;\n padding: 1rem;\n margin-bottom: 3rem;\n ', '\n min-height: 8rem;\n ', ' {\n margin-right: 1.5rem;\n flex: 0 0 5rem;\n ', '\n }\n aside {\n ', ':first-of-type {\n font-weight: 500;\n }\n }\n'], ['\n display: flex;\n align-items: center;\n padding: 1rem;\n margin-bottom: 3rem;\n ', '\n min-height: 8rem;\n ', ' {\n margin-right: 1.5rem;\n flex: 0 0 5rem;\n ', '\n }\n aside {\n ', ':first-of-type {\n font-weight: 500;\n }\n }\n']),
|
4968 | _templateObject2$o = _taggedTemplateLiteral$1p(['\n padding: 0;\n min-height: 8rem;\n '], ['\n padding: 0;\n min-height: 8rem;\n ']),
|
4969 | _templateObject3$f = _taggedTemplateLiteral$1p(['\n flex: 0 0 7rem;\n align-self: flex-end;\n '], ['\n flex: 0 0 7rem;\n align-self: flex-end;\n ']);
|
4970 |
|
4971 | function _taggedTemplateLiteral$1p(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
4972 |
|
4973 | var UnstyledSubscriptionShipping = function UnstyledSubscriptionShipping(_ref) {
|
4974 | var className = _ref.className;
|
4975 |
|
4976 | return React__default.createElement(
|
4977 | InformationalSection,
|
4978 | { className: className, __source: {
|
4979 | fileName: _jsxFileName$K,
|
4980 | lineNumber: 11
|
4981 | },
|
4982 | __self: _this$E
|
4983 | },
|
4984 | React__default.createElement(MailboxIcon, { animate: true, __source: {
|
4985 | fileName: _jsxFileName$K,
|
4986 | lineNumber: 12
|
4987 | },
|
4988 | __self: _this$E
|
4989 | }),
|
4990 | React__default.createElement(
|
4991 | 'aside',
|
4992 | {
|
4993 | __source: {
|
4994 | fileName: _jsxFileName$K,
|
4995 | lineNumber: 13
|
4996 | },
|
4997 | __self: _this$E
|
4998 | },
|
4999 | React__default.createElement(
|
5000 | P,
|
5001 | {
|
5002 | __source: {
|
5003 | fileName: _jsxFileName$K,
|
5004 | lineNumber: 14
|
5005 | },
|
5006 | __self: _this$E
|
5007 | },
|
5008 | 'Seasonal Shipments'
|
5009 | ),
|
5010 | React__default.createElement(
|
5011 | P,
|
5012 | {
|
5013 | __source: {
|
5014 | fileName: _jsxFileName$K,
|
5015 | lineNumber: 15
|
5016 | },
|
5017 | __self: _this$E
|
5018 | },
|
5019 | 'A box every 3 months. So easy. Simple to cancel anytime.'
|
5020 | )
|
5021 | )
|
5022 | );
|
5023 | };
|
5024 |
|
5025 | var SubscriptionShipping = styled__default(UnstyledSubscriptionShipping)(_templateObject$1p, function (props) {
|
5026 | return props.theme.media.tablet(_templateObject2$o);
|
5027 | }, MailboxIcon, function (props) {
|
5028 | return props.theme.media.tablet(_templateObject3$f);
|
5029 | }, P);
|
5030 |
|
5031 | SubscriptionShipping.propTypes = {
|
5032 | theme: PropTypes.shape({
|
5033 | media: PropTypes.shape({
|
5034 | tablet: PropTypes.func
|
5035 | })
|
5036 | })
|
5037 |
|
5038 |
|
5039 | };
|
5040 |
|
5041 | var _jsxFileName$L = '/Users/jrusso/Documents/ROA/mirage/src/modules/page.js',
|
5042 | _this$F = undefined;
|
5043 |
|
5044 | var Page = function Page(_ref) {
|
5045 | var children = _ref.children,
|
5046 | url = _ref.url;
|
5047 |
|
5048 | return React__default.createElement(
|
5049 | 'main',
|
5050 | { 'data-cms-url': url, __source: {
|
5051 | fileName: _jsxFileName$L,
|
5052 | lineNumber: 6
|
5053 | },
|
5054 | __self: _this$F
|
5055 | },
|
5056 | children
|
5057 | );
|
5058 | };
|
5059 |
|
5060 | Page.propTypes = {
|
5061 | children: PropTypes.oneOfType([PropTypes.array, PropTypes.object, PropTypes.string])
|
5062 | };
|
5063 |
|
5064 | var _templateObject$1q = _taggedTemplateLiteral$1q(['\n border-radius: 0.3rem;\n padding-top: 1rem;\n padding-bottom: 1rem;\n padding-left: 2rem;\n padding-right: 2rem;\n ', '\n background-color: ', ';\n position: relative;\n box-sizing: border-box;\n\n > ', ' {\n ', '\n position: absolute;\n top: 1rem;\n line-height: 2rem;\n vertical-align: text-bottom;\n ', '\n right: 2rem;\n }\n\n main {\n margin-top: 4rem;\n }\n\n ', ', ', ' {\n ', '\n }\n'], ['\n border-radius: 0.3rem;\n padding-top: 1rem;\n padding-bottom: 1rem;\n padding-left: 2rem;\n padding-right: 2rem;\n ', '\n background-color: ', ';\n position: relative;\n box-sizing: border-box;\n\n > ', ' {\n ', '\n position: absolute;\n top: 1rem;\n line-height: 2rem;\n vertical-align: text-bottom;\n ', '\n right: 2rem;\n }\n\n main {\n margin-top: 4rem;\n }\n\n ', ', ', ' {\n ', '\n }\n']),
|
5065 | _templateObject2$p = _taggedTemplateLiteral$1q(['\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n '], ['\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n ']),
|
5066 | _templateObject3$g = _taggedTemplateLiteral$1q(['\n top: 1.5rem;\n '], ['\n top: 1.5rem;\n ']),
|
5067 | _templateObject4$8 = _taggedTemplateLiteral$1q(['\n margin: 0 2rem;\n '], ['\n margin: 0 2rem;\n ']);
|
5068 |
|
5069 | function _taggedTemplateLiteral$1q(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
5070 |
|
5071 | var DefaultSection = styled__default.section(_templateObject$1q, function (props) {
|
5072 | return props.theme.media.tablet(_templateObject2$p);
|
5073 | }, function (props) {
|
5074 | return props.theme.colors.gray[2];
|
5075 | }, Link, styles, function (props) {
|
5076 | return props.theme.media.tablet(_templateObject3$g);
|
5077 | }, DefaultAddress, DefaultPayment, function (props) {
|
5078 | return props.theme.media.tablet(_templateObject4$8);
|
5079 | });
|
5080 |
|
5081 | DefaultSection.propTypes = {
|
5082 | theme: PropTypes.shape({
|
5083 | colors: PropTypes.shape({
|
5084 | gray: PropTypes.array
|
5085 | })
|
5086 | })
|
5087 |
|
5088 |
|
5089 | };
|
5090 |
|
5091 |
|
5092 |
|
5093 | var _jsxFileName$M = '/Users/jrusso/Documents/ROA/mirage/src/renderer.js',
|
5094 | _this$G = undefined;
|
5095 |
|
5096 | var COMPONENT_RENDER_MAP = {
|
5097 | Core: {
|
5098 | BackgroundImage: function BackgroundImage(item) {
|
5099 | return React__default.createElement(
|
5100 | backgroundImage,
|
5101 | Object.assign({}, item.props, {
|
5102 | __source: {
|
5103 | fileName: _jsxFileName$M,
|
5104 | lineNumber: 13
|
5105 | },
|
5106 | __self: _this$G
|
5107 | }),
|
5108 | item.children.map(function (child) {
|
5109 | return Renderer({ item: child });
|
5110 | })
|
5111 | );
|
5112 | },
|
5113 | Caption: function Caption$$1(item) {
|
5114 | return React__default.createElement(
|
5115 | Caption,
|
5116 | Object.assign({}, item.props, {
|
5117 | __source: {
|
5118 | fileName: _jsxFileName$M,
|
5119 | lineNumber: 19
|
5120 | },
|
5121 | __self: _this$G
|
5122 | }),
|
5123 | item.children
|
5124 | );
|
5125 | },
|
5126 | H1: function H1$$1(item) {
|
5127 | return React__default.createElement(
|
5128 | H1,
|
5129 | Object.assign({}, item.props, {
|
5130 | __source: {
|
5131 | fileName: _jsxFileName$M,
|
5132 | lineNumber: 23
|
5133 | },
|
5134 | __self: _this$G
|
5135 | }),
|
5136 | item.children
|
5137 | );
|
5138 | },
|
5139 | H2: function H2$$1(item) {
|
5140 | return React__default.createElement(
|
5141 | H2,
|
5142 | Object.assign({}, item.props, {
|
5143 | __source: {
|
5144 | fileName: _jsxFileName$M,
|
5145 | lineNumber: 27
|
5146 | },
|
5147 | __self: _this$G
|
5148 | }),
|
5149 | item.children
|
5150 | );
|
5151 | },
|
5152 | H3: function H3$$1(item) {
|
5153 | return React__default.createElement(
|
5154 | H3,
|
5155 | Object.assign({}, item.props, {
|
5156 | __source: {
|
5157 | fileName: _jsxFileName$M,
|
5158 | lineNumber: 31
|
5159 | },
|
5160 | __self: _this$G
|
5161 | }),
|
5162 | item.children
|
5163 | );
|
5164 | },
|
5165 | H4: function H4$$1(item) {
|
5166 | return React__default.createElement(
|
5167 | H4,
|
5168 | Object.assign({}, item.props, {
|
5169 | __source: {
|
5170 | fileName: _jsxFileName$M,
|
5171 | lineNumber: 35
|
5172 | },
|
5173 | __self: _this$G
|
5174 | }),
|
5175 | item.children
|
5176 | );
|
5177 | },
|
5178 | H5: function H5$$1(item) {
|
5179 | return React__default.createElement(
|
5180 | H5,
|
5181 | Object.assign({}, item.props, {
|
5182 | __source: {
|
5183 | fileName: _jsxFileName$M,
|
5184 | lineNumber: 39
|
5185 | },
|
5186 | __self: _this$G
|
5187 | }),
|
5188 | item.children
|
5189 | );
|
5190 | },
|
5191 | H6: function H6$$1(item) {
|
5192 | return React__default.createElement(
|
5193 | H6,
|
5194 | Object.assign({}, item.props, {
|
5195 | __source: {
|
5196 | fileName: _jsxFileName$M,
|
5197 | lineNumber: 43
|
5198 | },
|
5199 | __self: _this$G
|
5200 | }),
|
5201 | item.children
|
5202 | );
|
5203 | },
|
5204 | Label: function Label$$1(item) {
|
5205 | return React__default.createElement(
|
5206 | Label,
|
5207 | Object.assign({}, item.props, {
|
5208 | __source: {
|
5209 | fileName: _jsxFileName$M,
|
5210 | lineNumber: 47
|
5211 | },
|
5212 | __self: _this$G
|
5213 | }),
|
5214 | item.children
|
5215 | );
|
5216 | },
|
5217 | P: function P$$1(item) {
|
5218 | return React__default.createElement(
|
5219 | P,
|
5220 | Object.assign({}, item.props, {
|
5221 | __source: {
|
5222 | fileName: _jsxFileName$M,
|
5223 | lineNumber: 51
|
5224 | },
|
5225 | __self: _this$G
|
5226 | }),
|
5227 | item.children
|
5228 | );
|
5229 | },
|
5230 | Grid: function Grid$$1(item) {
|
5231 | return React__default.createElement(
|
5232 | Grid,
|
5233 | {
|
5234 | __source: {
|
5235 | fileName: _jsxFileName$M,
|
5236 | lineNumber: 55
|
5237 | },
|
5238 | __self: _this$G
|
5239 | },
|
5240 | item.children.map(function (child) {
|
5241 | return Renderer({ item: child });
|
5242 | })
|
5243 | );
|
5244 | },
|
5245 | Logo: function Logo$$1() {
|
5246 | return React__default.createElement(Logo, {
|
5247 | __source: {
|
5248 | fileName: _jsxFileName$M,
|
5249 | lineNumber: 58
|
5250 | },
|
5251 | __self: _this$G
|
5252 | });
|
5253 | },
|
5254 | Sizer: function Sizer$$1(item) {
|
5255 | return React__default.createElement(
|
5256 | Sizer,
|
5257 | Object.assign({}, item.props, {
|
5258 | __source: {
|
5259 | fileName: _jsxFileName$M,
|
5260 | lineNumber: 60
|
5261 | },
|
5262 | __self: _this$G
|
5263 | }),
|
5264 | item.children.map(function (child) {
|
5265 | return Renderer({ item: child });
|
5266 | })
|
5267 | );
|
5268 | }
|
5269 | },
|
5270 | Components: {
|
5271 | InformationalSection: function InformationalSection$$1(item) {
|
5272 | return React__default.createElement(
|
5273 | InformationalSection,
|
5274 | {
|
5275 | __source: {
|
5276 | fileName: _jsxFileName$M,
|
5277 | lineNumber: 66
|
5278 | },
|
5279 | __self: _this$G
|
5280 | },
|
5281 | item.children.map(function (child) {
|
5282 | return Renderer({ item: child });
|
5283 | })
|
5284 | );
|
5285 | },
|
5286 | BackgroundVideo: function BackgroundVideo$$1(item) {
|
5287 | return React__default.createElement(
|
5288 | BackgroundVideo,
|
5289 | Object.assign({}, item.props, {
|
5290 | __source: {
|
5291 | fileName: _jsxFileName$M,
|
5292 | lineNumber: 70
|
5293 | },
|
5294 | __self: _this$G
|
5295 | }),
|
5296 | item.children.map(function (child) {
|
5297 | return Renderer({ item: child });
|
5298 | })
|
5299 | );
|
5300 | }
|
5301 | },
|
5302 | Modules: {
|
5303 | Page: function Page$$1(item) {
|
5304 | return React__default.createElement(
|
5305 | Page,
|
5306 | {
|
5307 | __source: {
|
5308 | fileName: _jsxFileName$M,
|
5309 | lineNumber: 76
|
5310 | },
|
5311 | __self: _this$G
|
5312 | },
|
5313 | item.children.map(function (child) {
|
5314 | return Renderer({ item: child });
|
5315 | })
|
5316 | );
|
5317 | }
|
5318 | }
|
5319 | };
|
5320 |
|
5321 | var Renderer = function Renderer(_ref) {
|
5322 | var item = _ref.item;
|
5323 |
|
5324 | try {
|
5325 | return COMPONENT_RENDER_MAP[item.sys.type][item.sys.component](item.data);
|
5326 | } catch (err) {
|
5327 | console.warn('It appears that you are tying to render an element that doesn\'t exist in the COMPONENT_RENDER_MAP');
|
5328 | }
|
5329 | };
|
5330 |
|
5331 | Renderer.propTypes = {
|
5332 | item: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.object])
|
5333 | };
|
5334 |
|
5335 |
|
5336 |
|
5337 |
|
5338 |
|
5339 |
|
5340 |
|
5341 |
|
5342 | exports.Renderer = Renderer;
|
5343 | exports.FadeInOut = FadeInOut;
|
5344 | exports.Grid = Grid;
|
5345 | exports.Sizer = Sizer;
|
5346 | exports.FlexRow = FlexRow;
|
5347 | exports.FlexCol = FlexCol;
|
5348 | exports.BagIcon = BagIcon;
|
5349 | exports.CardIcon = CardIcon;
|
5350 | exports.Chevron = Chevron;
|
5351 | exports.GuaranteeIcon = GuaranteeIcon;
|
5352 | exports.MailboxIcon = MailboxIcon;
|
5353 | exports.Ruler = Ruler;
|
5354 | exports.XIcon = XIcon;
|
5355 | exports.AIcon = AIcon$1;
|
5356 | exports.GrayAIcon = GrayAIcon;
|
5357 | exports.NavyAIcon = NavyAIcon;
|
5358 | exports.WhiteAIcon = WhiteAIcon;
|
5359 | exports.BlueCheckmark = BlueCheckmark;
|
5360 | exports.GrayCheckmark = GrayCheckmark;
|
5361 | exports.NavyCheckmark = NavyCheckmark;
|
5362 | exports.WhiteCheckmark = WhiteCheckmark;
|
5363 | exports.CircleChevron = CircleChevron;
|
5364 | exports.YellowCircleChevron = YellowCircleChevron;
|
5365 | exports.BlueHamburger = BlueHamburger;
|
5366 | exports.GrayHamburger = GrayHamburger;
|
5367 | exports.Hamburger = Hamburger;
|
5368 | exports.NavyHamburger = NavyHamburger;
|
5369 | exports.GrayLogo = GrayLogo;
|
5370 | exports.Logo = Logo;
|
5371 | exports.NavyLogo = NavyLogo;
|
5372 | exports.WhiteLogo = WhiteLogo;
|
5373 | exports.BlueSpinner = BlueSpinner;
|
5374 | exports.GraySpinner = GraySpinner;
|
5375 | exports.NavySpinner = NavySpinner;
|
5376 | exports.WhiteSpinner = WhiteSpinner;
|
5377 | exports.BackgroundImage = backgroundImage;
|
5378 | exports.InlineImage = InlineImage;
|
5379 | exports.Caption = Caption;
|
5380 | exports.H1 = H1;
|
5381 | exports.H2 = H2;
|
5382 | exports.H3 = H3;
|
5383 | exports.H4 = H4;
|
5384 | exports.H5 = H5;
|
5385 | exports.H6 = H6;
|
5386 | exports.Label = Label;
|
5387 | exports.MarkedText = MarkedText;
|
5388 | exports.P = P;
|
5389 | exports.Serif = Serif;
|
5390 | exports.BlueHr = BlueHr;
|
5391 | exports.Hr = Hr;
|
5392 | exports.NavyHr = NavyHr;
|
5393 | exports.WhiteHr = WhiteHr;
|
5394 | exports.theme = theme;
|
5395 | exports.ROATheme = ROATheme;
|
5396 | exports.Video = Video;
|
5397 | exports.DefaultAddress = DefaultAddress;
|
5398 | exports.CustomerQuotes = CustomerQuotes$$1;
|
5399 | exports.DefaultPayment = DefaultPayment;
|
5400 | exports.Checkbox = Checkbox;
|
5401 | exports.SizeRadio = SizeRadio;
|
5402 | exports.BlueBorderButton = BlueBorderButton;
|
5403 | exports.Button = Button;
|
5404 | exports.WhiteBorderButton = WhiteBorderButton;
|
5405 | exports.YellowButton = YellowButton;
|
5406 | exports.ImageButtonWhite = ImageButtonWhite;
|
5407 | exports.ImageButtonBlue = ImageButtonBlue;
|
5408 | exports.ImageButtonBlack = ImageButtonBlack;
|
5409 | exports.Link = Link;
|
5410 | exports.NavyLink = NavyLink;
|
5411 | exports.WhiteLink = WhiteLink;
|
5412 | exports.InformationalSection = InformationalSection;
|
5413 | exports.Instagram = Instagram;
|
5414 | exports.BackgroundVideo = BackgroundVideo;
|
5415 | exports.AboutUs = AboutUs$$1;
|
5416 | exports.Guarantee = Guarantee;
|
5417 | exports.SubscriptionShipping = SubscriptionShipping;
|
5418 | exports.Page = Page;
|
5419 | exports.DefaultSection = DefaultSection;
|
5420 | exports.InstagramRegion = InstagramRegion$$1;
|