@mackin.com/styleguide 9.6.1 → 9.6.2

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3668,7 +3668,7 @@ const SearchBox = React__namespace.forwardRef((props, ref) => {
3668
3668
  clearButton,
3669
3669
  saveButton) : saveButton;
3670
3670
  let clearButtonInputStyles;
3671
- if (clearButton) {
3671
+ if (!!props.onClear) {
3672
3672
  clearButtonInputStyles = css.css({
3673
3673
  paddingRight: `calc(${theme.controls.height} + ${theme.controls.heightSmall})`
3674
3674
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mackin.com/styleguide",
3
- "version": "9.6.1",
3
+ "version": "9.6.2",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",