@desynova-digital/components 9.0.26 → 9.1.0
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/_helpers/globals.js +9 -10
- package/_helpers/pagination.js +10 -15
- package/_helpers/story-example.js +16 -39
- package/_helpers/story-helpers.js +15 -14
- package/_helpers/story-stack.js +22 -43
- package/_helpers/uniqueId.js +2 -5
- package/_helpers/utils.js +28 -4
- package/atoms/avatar/avatar.js +19 -42
- package/atoms/avatar/avatar.story.js +25 -58
- package/atoms/avatar/index.js +13 -11
- package/atoms/badge/badge.js +14 -37
- package/atoms/badge/badge.story.js +45 -103
- package/atoms/badge/index.js +12 -10
- package/atoms/button/button.js +85 -161
- package/atoms/button/button.story.js +354 -508
- package/atoms/button/index.js +5 -9
- package/atoms/card/card.js +26 -55
- package/atoms/card/card.story.js +39 -88
- package/atoms/card/index.js +12 -10
- package/atoms/cardStack/cardStack.js +88 -147
- package/atoms/cardStack/cardStack.story.js +106 -210
- package/atoms/cardStack/index.js +12 -10
- package/atoms/cardV2/cardV2.js +57 -106
- package/atoms/cardV2/cardV2.story.js +184 -232
- package/atoms/cardV2/content.js +154 -256
- package/atoms/cardV2/index.js +4 -8
- package/atoms/cardV2/thumbnail.js +138 -208
- package/atoms/cardV2/timeline.js +167 -123
- package/atoms/checkbox/checkbox.js +85 -157
- package/atoms/checkbox/checkbox.story.js +237 -365
- package/atoms/checkbox/index.js +4 -9
- package/atoms/customSelect/customSelect.js +136 -215
- package/atoms/customSelect/customSelect.story.js +745 -851
- package/atoms/customSelect/index.js +4 -8
- package/atoms/datePicker/datePicker.js +299 -431
- package/atoms/datePicker/datePicker.story.js +453 -501
- package/atoms/datePicker/index.js +4 -8
- package/atoms/dateTime/dateTime.js +3 -6
- package/atoms/dateTime/dateTime.story.js +17 -63
- package/atoms/dateTime/index.js +5 -9
- package/atoms/draftInputText/draftInputText.js +121 -189
- package/atoms/draftInputText/draftInputText.story.js +200 -249
- package/atoms/draftInputText/index.js +5 -9
- package/atoms/dropdown/dropdown.js +38 -66
- package/atoms/dropdown/dropdown.story.js +102 -262
- package/atoms/dropdown/index.js +4 -8
- package/atoms/dropdownList/dropdownList.js +78 -108
- package/atoms/dropdownList/dropdownList.story.js +1546 -1621
- package/atoms/dropdownList/index.js +4 -8
- package/atoms/graphs/barGraph/barGraph.js +95 -146
- package/atoms/graphs/barGraph/barGraph.story.js +65 -87
- package/atoms/graphs/barGraph/index.js +4 -8
- package/atoms/graphs/circleDonut/circleDonut.js +177 -229
- package/atoms/graphs/circleDonut/circleDonut.story.js +328 -394
- package/atoms/graphs/circleDonut/index.js +5 -9
- package/atoms/graphs/circleGraph/circleGraph.js +60 -90
- package/atoms/graphs/circleGraph/circleGraph.story.js +36 -54
- package/atoms/graphs/circleGraph/index.js +4 -8
- package/atoms/graphs/circleNested/circleNested.js +216 -262
- package/atoms/graphs/circleNested/circleNested.story.js +91 -116
- package/atoms/graphs/circleNested/index.js +5 -9
- package/atoms/graphs/pieChart/index.js +4 -8
- package/atoms/graphs/pieChart/pieChart.js +162 -191
- package/atoms/graphs/pieChart/pieChart.story.js +147 -176
- package/atoms/graphs/verticalBarGraph/index.js +5 -9
- package/atoms/graphs/verticalBarGraph/verticalBarGraph.js +75 -98
- package/atoms/graphs/verticalBarGraph/verticalBarGraph.story.js +26 -45
- package/atoms/icon/icon.js +41 -72
- package/atoms/icon/icon.story.js +831 -260
- package/atoms/icon/index.js +19 -12
- package/atoms/image/image.js +18 -32
- package/atoms/image/image.story.js +10 -19
- package/atoms/image/index.js +4 -8
- package/atoms/inputText/index.js +4 -8
- package/atoms/inputText/inputText.js +86 -131
- package/atoms/inputText/inputText.story.js +191 -255
- package/atoms/label/index.js +4 -8
- package/atoms/label/label.js +25 -50
- package/atoms/label/label.story.js +42 -83
- package/atoms/loader/CircleLoader.js +29 -63
- package/atoms/loader/ShimmerComponent/CollabShimmerCard.js +39 -50
- package/atoms/loader/ShimmerComponent/CollabShimmerCardTray.js +41 -42
- package/atoms/loader/ShimmerComponent/FiltersShimmer.js +30 -30
- package/atoms/loader/ShimmerComponent/GraphDetailShimmer.js +21 -34
- package/atoms/loader/ShimmerComponent/GraphTitleShimmer.js +30 -34
- package/atoms/loader/ShimmerComponent/GraphsComponentShimmer.js +23 -32
- package/atoms/loader/ShimmerComponent/Shimmer.js +24 -32
- package/atoms/loader/ThreeDotLoader.js +14 -29
- package/atoms/loader/index.js +13 -11
- package/atoms/loader/loader.js +34 -58
- package/atoms/loader/loader.story.js +48 -52
- package/atoms/loader/spinningLoader.js +23 -34
- package/atoms/popup/index.js +5 -9
- package/atoms/popup/popup.js +123 -208
- package/atoms/popup/popup.story.js +97 -131
- package/atoms/radio/index.js +18 -11
- package/atoms/radio/radio.js +58 -112
- package/atoms/radio/radio.story.js +197 -420
- package/atoms/select/index.js +4 -8
- package/atoms/select/select.js +48 -86
- package/atoms/sideBar/index.js +5 -9
- package/atoms/sideBar/sidebar.js +89 -140
- package/atoms/switch/index.js +4 -8
- package/atoms/switch/switch.js +56 -86
- package/atoms/switch/switch.story.js +268 -415
- package/atoms/tag/index.js +12 -10
- package/atoms/tag/tag.js +29 -63
- package/atoms/tag/tag.story.js +135 -209
- package/atoms/textarea/index.js +5 -9
- package/atoms/textarea/textarea.js +55 -99
- package/atoms/textarea/textarea.story.js +48 -41
- package/atoms/thematicBreak/index.js +12 -10
- package/atoms/thematicBreak/thematicBreak.js +20 -38
- package/atoms/thematicBreak/thematicBreak.story.js +25 -37
- package/atoms/timeCodeInput/index.js +4 -8
- package/atoms/timeCodeInput/timCodeInput.story.js +21 -35
- package/atoms/timeCodeInput/timeCodeInput.js +33 -51
- package/atoms/timer/index.js +5 -9
- package/atoms/timer/timer.js +57 -108
- package/atoms/timer/timer.story.js +13 -26
- package/atoms/toast/index.js +5 -9
- package/atoms/toast/toast.js +81 -116
- package/atoms/toast/toast.story.js +50 -76
- package/atoms/videoCard/index.js +12 -10
- package/atoms/videoCard/videoCard.js +265 -447
- package/atoms/videoCard/videoCard.story.js +495 -710
- package/components.js +411 -294
- package/index.js +350 -61
- package/molecules/carousel/carousel.js +121 -207
- package/molecules/carousel/carousel.story.js +240 -223
- package/molecules/carousel/index.js +5 -9
- package/molecules/errorScreen/CollabErrorScreen.js +35 -66
- package/molecules/errorScreen/TableErrorScreen.js +109 -102
- package/molecules/errorScreen/TableErrorScreen.jsx +7 -6
- package/molecules/errorScreen/errorScreen.js +41 -94
- package/molecules/filter/constants.js +1 -0
- package/molecules/filter/filter.js +378 -562
- package/molecules/filter/filter.story.js +79 -104
- package/molecules/filter/index.js +5 -9
- package/molecules/graphCard/graphCard.js +97 -193
- package/molecules/graphCard/graphCard.story.js +159 -191
- package/molecules/graphCard/index.js +4 -8
- package/molecules/graphCard/loader.js +28 -68
- package/molecules/graphDetailCard/graphDetailCard.js +115 -183
- package/molecules/graphDetailCard/graphDetailCard.story.js +218 -254
- package/molecules/graphDetailCard/index.js +5 -9
- package/molecules/pageHeader/index.js +12 -10
- package/molecules/pageHeader/pageHeader.js +38 -79
- package/molecules/pageHeader/pageHeader.story.js +34 -55
- package/molecules/pagination/index.js +4 -8
- package/molecules/pagination/pagination.js +126 -202
- package/molecules/pagination/pagination.story.js +40 -52
- package/molecules/richTextInput/RichTextInput.js +354 -0
- package/molecules/richTextInput/RichTextInput.story.js +50 -0
- package/molecules/richTextInput/index.js +9 -0
- package/molecules/table/index.js +4 -8
- package/molecules/table/table-column.js +10 -16
- package/molecules/table/table-header.js +31 -72
- package/molecules/table/table.js +743 -1075
- package/molecules/table/table.story.js +274 -304
- package/molecules/tabs/index.js +4 -8
- package/molecules/tabs/tabs.js +112 -184
- package/molecules/tabs/tabs.story.js +66 -133
- package/molecules/videoCardList/index.js +4 -8
- package/molecules/videoCardList/videoCardList.js +24 -41
- package/molecules/videoCardList/videoCardList.story.js +449 -664
- package/molecules/videoPlayer/index.js +4 -8
- package/molecules/videoPlayer/videoPlayer.js +1019 -1097
- package/molecules/videoPlayer/videoPlayer.story.js +10 -21
- package/package.json +2 -2
package/atoms/radio/index.js
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
|
-
exports
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
Object.defineProperty(exports, "StyledRadio", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _radio.StyledRadio;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "StyledRadioOption", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _radio.StyledRadioOption;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
exports["default"] = void 0;
|
|
20
|
+
var _radio = _interopRequireWildcard(require("./radio"));
|
|
21
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
22
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
23
|
+
var _default = exports["default"] = _radio["default"];
|
package/atoms/radio/radio.js
CHANGED
|
@@ -1,46 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
|
-
exports.StyledCheckboxOption = exports.StyledCheckbox =
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
var _styledComponents = require('styled-components');
|
|
21
|
-
|
|
22
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
23
|
-
|
|
24
|
-
var _tokens = require('@desynova-digital/tokens');
|
|
25
|
-
|
|
26
|
-
var _tag = require('../tag');
|
|
27
|
-
|
|
28
|
-
var _tag2 = _interopRequireDefault(_tag);
|
|
29
|
-
|
|
30
|
-
var _icon = require('../icon');
|
|
31
|
-
|
|
32
|
-
var _icon2 = _interopRequireDefault(_icon);
|
|
33
|
-
|
|
34
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
|
-
|
|
36
|
-
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
37
|
-
|
|
38
|
-
var CheckMark = _styledComponents2.default.span(_templateObject);
|
|
39
|
-
var Label = _styledComponents2.default.span(_templateObject);
|
|
40
|
-
|
|
41
|
-
var StyledTag = (0, _styledComponents2.default)(_tag2.default)(_templateObject);
|
|
42
|
-
|
|
43
|
-
var StyledCheckboxOption = _styledComponents2.default.label(_templateObject2, function (props) {
|
|
7
|
+
exports["default"] = exports.StyledCheckboxOption = exports.StyledCheckbox = void 0;
|
|
8
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
12
|
+
var _tokens = require("@desynova-digital/tokens");
|
|
13
|
+
var _tag = _interopRequireDefault(require("../tag"));
|
|
14
|
+
var _icon = _interopRequireDefault(require("../icon"));
|
|
15
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
16
|
+
var CheckMark = _styledComponents["default"].span(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])([""])));
|
|
17
|
+
var Label = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])([""])));
|
|
18
|
+
var StyledTag = (0, _styledComponents["default"])(_tag["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])([""])));
|
|
19
|
+
var StyledCheckboxOption = exports.StyledCheckboxOption = _styledComponents["default"].label(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["\n position: relative;\n cursor: ", ";\n padding:5px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n vertical-align: middle;\n\n input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n }\n\n ", " {\n opacity: ", ";\n font-family: 'SFUIText-Regular';\n margin-left: 25px;\n color: ", ";\n }\n\n ", " {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n height: 20px;\n width: 20px;\n background-color: ", ";\n border: 1px solid\n ", ";\n box-shadow: inset 0 1px 2px 0\n ", ";\n border-radius: 50%;\n }\n\n &:hover input ~ ", " {\n box-shadow: inset 0 1px 4px 0 ", ";\n }\n\n &:hover input ~ .styled-icon {\n path {\n fill: ", ";\n }\n }\n\n input:checked ~ ", " {\n background-color: ", ";\n border: 1px solid ", ";\n opacity: ", ";\n }\n\n input:checked ~ ", " {\n background-color: ", ";\n color: ", "\n opacity: ", ";\n }\n\n input:checked ~ .styled-icon {\n path {\n fill: ", ";\n }\n }\n\n ", ":after {\n content: '';\n position: absolute;\n display: none;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n ", ":after {\n background-color: ", ";\n width: 7px;\n height: 7px;\n border-radius: 50%;\n box-shadow: 0 1px 2px 0 ", ";\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n }\n"])), function (props) {
|
|
44
20
|
return props.readOnly ? 'not-allowed' : 'pointer';
|
|
45
21
|
}, Label, function (props) {
|
|
46
22
|
return props.readOnly ? 0.5 : null;
|
|
@@ -71,91 +47,65 @@ var StyledCheckboxOption = _styledComponents2.default.label(_templateObject2, fu
|
|
|
71
47
|
}, function (props) {
|
|
72
48
|
return _tokens.colors[props.theme].radio.backgroundSelected;
|
|
73
49
|
}, CheckMark, CheckMark, CheckMark, _tokens.colors.common.base.white, _tokens.colors.common.radio.shadow);
|
|
74
|
-
|
|
75
50
|
var justifyContent = {
|
|
76
|
-
horizontal:
|
|
77
|
-
vertical:
|
|
51
|
+
horizontal: "margin-right: 5px;",
|
|
52
|
+
vertical: "margin-bottom: 5px;"
|
|
78
53
|
};
|
|
79
|
-
|
|
80
|
-
var StyledCheckbox = _styledComponents2.default.div(_templateObject3, StyledCheckboxOption, function (props) {
|
|
54
|
+
var StyledCheckbox = exports.StyledCheckbox = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["\n ", " {\n display: ", ";\n ", ";\n\n &:last-child {\n margin: 0;\n }\n }\n"])), StyledCheckboxOption, function (props) {
|
|
81
55
|
return props.align === 'horizontal' ? 'inline-block' : 'table';
|
|
82
56
|
}, function (props) {
|
|
83
57
|
return justifyContent[props.align];
|
|
84
58
|
});
|
|
85
|
-
|
|
86
59
|
var Radio = function Radio(props) {
|
|
87
|
-
return
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
props.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
props.
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
_react2.default.createElement(_icon2.default, {
|
|
110
|
-
name: props.icon,
|
|
111
|
-
color: props.defaultChecked ? _tokens.colors[props.theme].radio.backgroundSelected : '#ffffff'
|
|
112
|
-
})
|
|
113
|
-
) : null,
|
|
114
|
-
props.type === 'default' ? _react2.default.createElement(
|
|
115
|
-
_react2.default.Fragment,
|
|
116
|
-
null,
|
|
117
|
-
_react2.default.createElement(CheckMark, null),
|
|
118
|
-
_react2.default.createElement(
|
|
119
|
-
Label,
|
|
120
|
-
null,
|
|
121
|
-
props.children
|
|
122
|
-
)
|
|
123
|
-
) : null
|
|
124
|
-
);
|
|
60
|
+
return /*#__PURE__*/_react["default"].createElement(StyledCheckboxOption, {
|
|
61
|
+
theme: props.theme,
|
|
62
|
+
readOnly: props.readOnly
|
|
63
|
+
}, /*#__PURE__*/_react["default"].createElement("input", {
|
|
64
|
+
type: "radio",
|
|
65
|
+
name: props.radioname,
|
|
66
|
+
value: props.value,
|
|
67
|
+
id: props.radioid,
|
|
68
|
+
checked: props.checked,
|
|
69
|
+
onChange: function onChange() {
|
|
70
|
+
props.onChange;
|
|
71
|
+
},
|
|
72
|
+
readOnly: true
|
|
73
|
+
}), props.type === 'label' ? /*#__PURE__*/_react["default"].createElement(StyledTag, {
|
|
74
|
+
theme: props.theme,
|
|
75
|
+
selected: props.defaultChecked
|
|
76
|
+
}, props.children) : null, props.type === 'icon' ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
77
|
+
className: "styled-icon"
|
|
78
|
+
}, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
|
|
79
|
+
name: props.icon,
|
|
80
|
+
color: props.defaultChecked ? _tokens.colors[props.theme].radio.backgroundSelected : '#ffffff'
|
|
81
|
+
})) : null, props.type === 'default' ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(CheckMark, null), /*#__PURE__*/_react["default"].createElement(Label, null, props.children)) : null);
|
|
125
82
|
};
|
|
126
|
-
|
|
127
83
|
var RadioGroup = function RadioGroup(props) {
|
|
128
|
-
return
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
type: props.type
|
|
140
|
-
});
|
|
141
|
-
})
|
|
142
|
-
);
|
|
84
|
+
return /*#__PURE__*/_react["default"].createElement(StyledCheckbox, props, _react["default"].Children.map(props.children, function (child, index) {
|
|
85
|
+
return /*#__PURE__*/_react["default"].cloneElement(child, {
|
|
86
|
+
radioname: props.radioname,
|
|
87
|
+
checked: child.props.checked,
|
|
88
|
+
readOnly: props.readOnly || child.props.readOnly,
|
|
89
|
+
onChange: props.onChange,
|
|
90
|
+
radioid: '' + props.radioname + index,
|
|
91
|
+
theme: props.theme,
|
|
92
|
+
type: props.type
|
|
93
|
+
});
|
|
94
|
+
}));
|
|
143
95
|
};
|
|
144
|
-
|
|
145
96
|
Radio.propTypes = {
|
|
146
97
|
/** The direction in which the options should be laid out */
|
|
147
|
-
align:
|
|
98
|
+
align: _propTypes["default"].oneOf(['horizontal', 'vertical']),
|
|
148
99
|
/** The name of the checkbox */
|
|
149
|
-
radioname:
|
|
100
|
+
radioname: _propTypes["default"].string,
|
|
150
101
|
/** The value of the currently-selected option */
|
|
151
|
-
selected:
|
|
102
|
+
selected: _propTypes["default"].arrayOf(_propTypes["default"].string),
|
|
152
103
|
/** If true, all options in the group will be disabled */
|
|
153
|
-
readOnly:
|
|
104
|
+
readOnly: _propTypes["default"].bool,
|
|
154
105
|
/** Callback function which is called when the user selects an option */
|
|
155
|
-
onChange:
|
|
156
|
-
type:
|
|
106
|
+
onChange: _propTypes["default"].func,
|
|
107
|
+
type: _propTypes["default"].oneOf(['default', 'label', 'icon'])
|
|
157
108
|
};
|
|
158
|
-
|
|
159
109
|
Radio.defaultProps = {
|
|
160
110
|
align: 'vertical',
|
|
161
111
|
theme: 'light',
|
|
@@ -164,9 +114,5 @@ Radio.defaultProps = {
|
|
|
164
114
|
RadioGroup.defaultProps = {
|
|
165
115
|
theme: 'light'
|
|
166
116
|
};
|
|
167
|
-
|
|
168
117
|
Radio.Group = RadioGroup;
|
|
169
|
-
|
|
170
|
-
exports.default = Radio;
|
|
171
|
-
exports.StyledCheckbox = StyledCheckbox;
|
|
172
|
-
exports.StyledCheckboxOption = StyledCheckboxOption;
|
|
118
|
+
var _default = exports["default"] = Radio;
|