travelcircus-styleguide 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Radio.js +2 -2
- package/package.json +1 -1
package/dist/components/Radio.js
CHANGED
|
@@ -20,7 +20,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
20
20
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
21
21
|
|
|
22
22
|
function _templateObject() {
|
|
23
|
-
var data = _taggedTemplateLiteral(["\n cursor: pointer;\n position: relative;\n\n & > span {\n display: block;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n border: ", ";\n &:before {\n content:
|
|
23
|
+
var data = _taggedTemplateLiteral(["\n cursor: pointer;\n position: relative;\n\n & > span {\n position: relative;\n display: block;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n border: ", ";\n &:before {\n content: '';\n position: absolute;\n display: block;\n width: 14px;\n height: 14px;\n border-radius: 50%;\n background-color: transparent;\n top: 3px;\n left: 3px;\n }\n }\n\n & > input {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n &:checked + span {\n border-color: ", ";\n &:before {\n background-color: ", ";\n }\n }\n }\n"]);
|
|
24
24
|
|
|
25
25
|
_templateObject = function _templateObject() {
|
|
26
26
|
return data;
|
|
@@ -53,6 +53,6 @@ var Radio = function Radio(_ref4) {
|
|
|
53
53
|
}, rest)), /*#__PURE__*/_react.default.createElement("span", null));
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
Radio.displayName =
|
|
56
|
+
Radio.displayName = 'Radio';
|
|
57
57
|
var _default = Radio;
|
|
58
58
|
exports.default = _default;
|