beem-component 1.3.0 → 1.3.3
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/Accordion/Accordion.js +2 -2
- package/dist/components/Cards/cards.js +4 -4
- package/dist/components/ProgressRing/progressRing.js +0 -3
- package/package.json +1 -1
- package/src/lib/components/Accordion/Accordion.js +2 -2
- package/src/lib/components/Cards/cards.js +5 -3
- package/src/lib/components/ProgressRing/progressRing.js +0 -1
|
@@ -61,9 +61,9 @@ var Dropdown = function Dropdown(value, rest) {
|
|
|
61
61
|
|
|
62
62
|
if (!value.expandIcon) {
|
|
63
63
|
return value.toggle ? /*#__PURE__*/_react.default.createElement(_iconStyles.BmIcons, _extends({
|
|
64
|
-
icon: /*#__PURE__*/_react.default.createElement(_icons.KeyboardArrowDown, null)
|
|
65
|
-
}, rest)) : /*#__PURE__*/_react.default.createElement(_iconStyles.BmIcons, _extends({
|
|
66
64
|
icon: /*#__PURE__*/_react.default.createElement(_icons.KeyboardArrowUp, null)
|
|
65
|
+
}, rest)) : /*#__PURE__*/_react.default.createElement(_iconStyles.BmIcons, _extends({
|
|
66
|
+
icon: /*#__PURE__*/_react.default.createElement(_icons.KeyboardArrowDown, null)
|
|
67
67
|
}, rest));
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -15,10 +15,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
15
15
|
|
|
16
16
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
17
17
|
|
|
18
|
-
var BmCard = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n background: ", ";\n border: 0.071rem solid ", ";\n border-radius: 0.25rem;\n > * {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n }\n"])), _colors.BmPrimaryWhite, _colors.BmGrey400);
|
|
18
|
+
var BmCard = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n background: ", ";\n border: 0.071rem solid ", ";\n border-radius: 0.25rem;\n > * {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n }\n\n"])), _colors.BmPrimaryWhite, _colors.BmGrey400);
|
|
19
19
|
|
|
20
|
-
BmCard.Header = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding:
|
|
21
|
-
BmCard.Body = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 0rem
|
|
22
|
-
BmCard.Footer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n border-top: 0.071rem solid ", ";\n padding:
|
|
20
|
+
BmCard.Header = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: 0.5rem 0.5rem 0rem 0.5rem;\n"])));
|
|
21
|
+
BmCard.Body = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 0rem 0.5rem;\n"])));
|
|
22
|
+
BmCard.Footer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n border-top: 0.071rem solid ", ";\n padding: 0.5rem 0.5rem 0rem 0.5rem;\n"])), _colors.BmGrey400);
|
|
23
23
|
var _default = BmCard;
|
|
24
24
|
exports.default = _default;
|
|
@@ -128,9 +128,6 @@ var BmProgressRing = function BmProgressRing(props) {
|
|
|
128
128
|
progress = props.progress,
|
|
129
129
|
variant = props.variant,
|
|
130
130
|
children = props.children;
|
|
131
|
-
console.log({
|
|
132
|
-
children: children
|
|
133
|
-
});
|
|
134
131
|
var initialMeasure = measurement(size);
|
|
135
132
|
circumference = initialMeasure.circumference;
|
|
136
133
|
radius = initialMeasure.radius;
|
package/package.json
CHANGED
|
@@ -13,9 +13,9 @@ const Dropdown = (value, rest) => {
|
|
|
13
13
|
}
|
|
14
14
|
if (!value.expandIcon) {
|
|
15
15
|
return value.toggle ? (
|
|
16
|
-
<BmIcons icon={<KeyboardArrowDown />} {...rest} />
|
|
17
|
-
) : (
|
|
18
16
|
<BmIcons icon={<KeyboardArrowUp />} {...rest} />
|
|
17
|
+
) : (
|
|
18
|
+
<BmIcons icon={<KeyboardArrowDown />} {...rest} />
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
21
|
if (value.expandIcon && value.expandIcon !== "none") {
|
|
@@ -12,20 +12,22 @@ const BmCard = styled.div`
|
|
|
12
12
|
flex-direction: row;
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: space-between;
|
|
15
|
+
margin-bottom: 0.5rem;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
`;
|
|
17
19
|
|
|
18
20
|
BmCard.Header = styled.div`
|
|
19
|
-
padding:
|
|
21
|
+
padding: 0.5rem 0.5rem 0rem 0.5rem;
|
|
20
22
|
`;
|
|
21
23
|
|
|
22
24
|
BmCard.Body = styled.div`
|
|
23
|
-
padding: 0rem
|
|
25
|
+
padding: 0rem 0.5rem;
|
|
24
26
|
`;
|
|
25
27
|
|
|
26
28
|
BmCard.Footer = styled.div`
|
|
27
29
|
border-top: 0.071rem solid ${BmGrey400};
|
|
28
|
-
padding:
|
|
30
|
+
padding: 0.5rem 0.5rem 0rem 0.5rem;
|
|
29
31
|
`;
|
|
30
32
|
|
|
31
33
|
export default BmCard;
|