@chakra-ui/button
Advanced tools
Comparing version 1.2.1 to 1.2.2
# Change Log | ||
## 1.2.2 | ||
### Patch Changes | ||
- [`3ff53e4e3`](https://github.com/chakra-ui/chakra-ui/commit/3ff53e4e3857b94c4fc18b8e02cf914bdff860e1) | ||
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix alignment of | ||
icon inside button | ||
* [`9fcccbe34`](https://github.com/chakra-ui/chakra-ui/commit/9fcccbe348f87fb4a386450e5327bb578e14cb16) | ||
[#3765](https://github.com/chakra-ui/chakra-ui/pull/3765) Thanks | ||
[@segunadebayo](https://github.com/segunadebayo)! - Update button group styles | ||
to use rtl-friendly equivalent | ||
* Updated dependencies | ||
[[`8b5eb9654`](https://github.com/chakra-ui/chakra-ui/commit/8b5eb9654affe562795d38a19f732f84732a949d), | ||
[`3ff53e4e3`](https://github.com/chakra-ui/chakra-ui/commit/3ff53e4e3857b94c4fc18b8e02cf914bdff860e1)]: | ||
- @chakra-ui/utils@1.5.2 | ||
- @chakra-ui/spinner@1.1.6 | ||
## 1.2.1 | ||
@@ -4,0 +23,0 @@ |
@@ -58,3 +58,3 @@ "use strict"; | ||
"> *:first-of-type:not(:last-of-type)": { | ||
borderRightRadius: 0 | ||
borderEndRadius: 0 | ||
}, | ||
@@ -65,3 +65,3 @@ "> *:not(:first-of-type):not(:last-of-type)": { | ||
"> *:not(:first-of-type):last-of-type": { | ||
borderLeftRadius: 0 | ||
borderStartRadius: 0 | ||
} | ||
@@ -72,3 +72,3 @@ }); | ||
"& > *:not(style) ~ *:not(style)": { | ||
marginLeft: spacing | ||
marginStart: spacing | ||
} | ||
@@ -75,0 +75,0 @@ }); |
@@ -118,3 +118,7 @@ "use strict"; | ||
return /*#__PURE__*/React.createElement(_system.chakra.span, _extends({}, rest, { | ||
return /*#__PURE__*/React.createElement(_system.chakra.span, _extends({ | ||
display: "inline-flex", | ||
alignSelf: "center", | ||
flexShrink: 0 | ||
}, rest, { | ||
className: _className | ||
@@ -121,0 +125,0 @@ }), _children); |
@@ -41,3 +41,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
"> *:first-of-type:not(:last-of-type)": { | ||
borderRightRadius: 0 | ||
borderEndRadius: 0 | ||
}, | ||
@@ -48,3 +48,3 @@ "> *:not(:first-of-type):not(:last-of-type)": { | ||
"> *:not(:first-of-type):last-of-type": { | ||
borderLeftRadius: 0 | ||
borderStartRadius: 0 | ||
} | ||
@@ -55,3 +55,3 @@ }); | ||
"& > *:not(style) ~ *:not(style)": { | ||
marginLeft: spacing | ||
marginStart: spacing | ||
} | ||
@@ -58,0 +58,0 @@ }); |
@@ -104,3 +104,7 @@ 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; } | ||
return /*#__PURE__*/React.createElement(chakra.span, _extends({}, rest, { | ||
return /*#__PURE__*/React.createElement(chakra.span, _extends({ | ||
display: "inline-flex", | ||
alignSelf: "center", | ||
flexShrink: 0 | ||
}, rest, { | ||
className: _className | ||
@@ -107,0 +111,0 @@ }), _children); |
{ | ||
"name": "@chakra-ui/button", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A React component that is a base button.", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@chakra-ui/system": "1.6.1", | ||
"@chakra-ui/system": "1.6.2", | ||
"react": "^17.0.1" | ||
@@ -62,4 +62,4 @@ }, | ||
"@chakra-ui/react-utils": "1.1.1", | ||
"@chakra-ui/spinner": "1.1.5", | ||
"@chakra-ui/utils": "1.5.1" | ||
"@chakra-ui/spinner": "1.1.6", | ||
"@chakra-ui/utils": "1.5.2" | ||
}, | ||
@@ -66,0 +66,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78137
609
+ Added@chakra-ui/spinner@1.1.6(transitive)
+ Added@chakra-ui/utils@1.5.2(transitive)
+ Added@chakra-ui/visually-hidden@1.0.9(transitive)
- Removed@chakra-ui/spinner@1.1.5(transitive)
- Removed@chakra-ui/utils@1.5.1(transitive)
- Removed@chakra-ui/visually-hidden@1.0.8(transitive)
Updated@chakra-ui/spinner@1.1.6
Updated@chakra-ui/utils@1.5.2