UNPKG

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