UNPKG

@activecollab/components

Version:

ActiveCollab Components

26 lines (25 loc) 2.03 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StyledOptionContent = exports.StyledOption = void 0; var _styledComponents = _interopRequireWildcard(require("styled-components")); var _BoxSizingStyle = require("../../BoxSizingStyle"); var _FontStyle = require("../../FontStyle"); function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); } var StyledOption = exports.StyledOption = _styledComponents.default.li.withConfig({ displayName: "Styles__StyledOption", componentId: "sc-1232l97-0" })(["", " font-size:14px;display:flex;justify-content:space-between;height:28px;padding-left:16px;padding-right:16px;margin-top:4px;margin-bottom:4px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition-duration:0.1s;color:var(--color-theme-900);", " ", " ", ""], { "userSelect": "none", "fontWeight": "400" }, _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle, function (props) { return props.hover && (0, _styledComponents.css)(["background-color:var(--color-theme-200);"]); }); StyledOption.displayName = "StyledOption"; var StyledOptionContent = exports.StyledOptionContent = _styledComponents.default.span.withConfig({ displayName: "Styles__StyledOptionContent", componentId: "sc-1232l97-1" })(["display:flex;align-items:center;width:100%;justify-content:space-between;"]); StyledOptionContent.displayName = "StyledOptionContent"; //# sourceMappingURL=Styles.js.map