@basic-ui/material 1.0.0-alpha.54 → 1.0.0-alpha.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basic-ui/material",
3
- "version": "1.0.0-alpha.54",
3
+ "version": "1.0.0-alpha.55",
4
4
  "description": "Accessible React Components used as building blocks for UI patterns",
5
5
  "author": "Lucas Terra <lucasterra7@gmail.com>",
6
6
  "license": "MIT",
@@ -61,6 +61,5 @@
61
61
  "react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
62
62
  "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
63
63
  "tailwindcss": "^3.0.0"
64
- },
65
- "gitHead": "212b1b1d75d5b054ae08cbc540321a8e0d5bc8cd"
64
+ }
66
65
  }
@@ -102,7 +102,7 @@ export const BaseButton = forwardRef<HTMLButtonElement, BaseButtonProps>(
102
102
  isGroupedButton,
103
103
  ...otherProps
104
104
  } = props;
105
- const sizeStyle = sizeStyles[size];
105
+ const sizeStyle = sizeStyles[size] ?? sizeStyles['sm'];
106
106
  const iconOnly = isIconVariant(variantProp);
107
107
  const contentButton = !iconOnly;
108
108