1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.EMPTY_GUIDE = exports.TRIGGER_OPTION_LABEL = exports.TRIGGER_OPTION = exports.TRIGGER_CONTROLS_CARET = exports.TRIGGER_CONTROLS = exports.DROPDOWN_CHILDREN = exports.TRIGGER_OPTIONS = exports.DROPDOWN_TRIGGER = undefined;
|
7 |
|
8 | var _taggedTemplateLiteral2 = require('babel-runtime/helpers/taggedTemplateLiteral');
|
9 |
|
10 | var _taggedTemplateLiteral3 = _interopRequireDefault(_taggedTemplateLiteral2);
|
11 |
|
12 | var _templateObject = (0, _taggedTemplateLiteral3.default)(['\n justify-content: space-between;\n'], ['\n justify-content: space-between;\n']),
|
13 | _templateObject2 = (0, _taggedTemplateLiteral3.default)(['\n display: flex;\n flex-wrap: wrap;\n'], ['\n display: flex;\n flex-wrap: wrap;\n']),
|
14 | _templateObject3 = (0, _taggedTemplateLiteral3.default)(['\n position: absolute;\n overflow-y: auto;\n max-height: ', ';\n'], ['\n position: absolute;\n overflow-y: auto;\n max-height: ', ';\n']),
|
15 | _templateObject4 = (0, _taggedTemplateLiteral3.default)(['\n display: flex;\n'], ['\n display: flex;\n']),
|
16 | _templateObject5 = (0, _taggedTemplateLiteral3.default)(['\n padding: 0.5rem 0.75rem;\n'], ['\n padding: 0.5rem 0.75rem;\n']),
|
17 | _templateObject6 = (0, _taggedTemplateLiteral3.default)(['\n display: flex;\n background: #f3f3f3;\n border-radius: 0.25rem;\n margin: 0.25rem 0.375rem;\n'], ['\n display: flex;\n background: #f3f3f3;\n border-radius: 0.25rem;\n margin: 0.25rem 0.375rem;\n']),
|
18 | _templateObject7 = (0, _taggedTemplateLiteral3.default)(['\n display: flex;\n align-items: center;\n color: #2b2b2b;\n padding: 0.25rem 0.5rem;\n'], ['\n display: flex;\n align-items: center;\n color: #2b2b2b;\n padding: 0.25rem 0.5rem;\n']),
|
19 | _templateObject8 = (0, _taggedTemplateLiteral3.default)(['\n display: flex;\n border-radius: 0.25rem;\n margin: 0.25rem 0.375rem;\n'], ['\n display: flex;\n border-radius: 0.25rem;\n margin: 0.25rem 0.375rem;\n']);
|
20 |
|
21 | var _styledComponents = require('styled-components');
|
22 |
|
23 | var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
24 |
|
25 | var _StyledButton = require('./StyledButton');
|
26 |
|
27 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
28 |
|
29 | var DROPDOWN_TRIGGER = (0, _styledComponents2.default)(_StyledButton.BUTTON)(_templateObject);
|
30 | var TRIGGER_OPTIONS = (0, _styledComponents2.default)('div')(_templateObject2);
|
31 | var DROPDOWN_CHILDREN = (0, _styledComponents2.default)('div')(_templateObject3, function (_ref) {
|
32 | var maxHeight = _ref.maxHeight;
|
33 | return maxHeight + 'rem';
|
34 | });
|
35 | var TRIGGER_CONTROLS = (0, _styledComponents2.default)('div')(_templateObject4);
|
36 | var TRIGGER_CONTROLS_CARET = (0, _styledComponents2.default)('div')(_templateObject5);
|
37 | var TRIGGER_OPTION = (0, _styledComponents2.default)('div')(_templateObject6);
|
38 | var TRIGGER_OPTION_LABEL = (0, _styledComponents2.default)('div')(_templateObject7);
|
39 | var EMPTY_GUIDE = (0, _styledComponents2.default)('div')(_templateObject8);
|
40 | exports.DROPDOWN_TRIGGER = DROPDOWN_TRIGGER;
|
41 | exports.TRIGGER_OPTIONS = TRIGGER_OPTIONS;
|
42 | exports.DROPDOWN_CHILDREN = DROPDOWN_CHILDREN;
|
43 | exports.TRIGGER_CONTROLS = TRIGGER_CONTROLS;
|
44 | exports.TRIGGER_CONTROLS_CARET = TRIGGER_CONTROLS_CARET;
|
45 | exports.TRIGGER_OPTION = TRIGGER_OPTION;
|
46 | exports.TRIGGER_OPTION_LABEL = TRIGGER_OPTION_LABEL;
|
47 | exports.EMPTY_GUIDE = EMPTY_GUIDE; |
\ | No newline at end of file |