UNPKG

3.37 kBJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.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'], ['\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
21var _styledComponents = require('styled-components');
22
23var _styledComponents2 = _interopRequireDefault(_styledComponents);
24
25var _StyledButton = require('./StyledButton');
26
27function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28
29var DROPDOWN_TRIGGER = (0, _styledComponents2.default)(_StyledButton.BUTTON)(_templateObject);
30var TRIGGER_OPTIONS = (0, _styledComponents2.default)('div')(_templateObject2);
31var DROPDOWN_CHILDREN = (0, _styledComponents2.default)('div')(_templateObject3, function (_ref) {
32 var maxHeight = _ref.maxHeight;
33 return maxHeight + 'rem';
34});
35var TRIGGER_CONTROLS = (0, _styledComponents2.default)('div')(_templateObject4);
36var TRIGGER_CONTROLS_CARET = (0, _styledComponents2.default)('div')(_templateObject5);
37var TRIGGER_OPTION = (0, _styledComponents2.default)('div')(_templateObject6);
38var TRIGGER_OPTION_LABEL = (0, _styledComponents2.default)('div')(_templateObject7);
39var EMPTY_GUIDE = (0, _styledComponents2.default)('div')(_templateObject8);
40exports.DROPDOWN_TRIGGER = DROPDOWN_TRIGGER;
41exports.TRIGGER_OPTIONS = TRIGGER_OPTIONS;
42exports.DROPDOWN_CHILDREN = DROPDOWN_CHILDREN;
43exports.TRIGGER_CONTROLS = TRIGGER_CONTROLS;
44exports.TRIGGER_CONTROLS_CARET = TRIGGER_CONTROLS_CARET;
45exports.TRIGGER_OPTION = TRIGGER_OPTION;
46exports.TRIGGER_OPTION_LABEL = TRIGGER_OPTION_LABEL;
47exports.EMPTY_GUIDE = EMPTY_GUIDE;
\No newline at end of file