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

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.
@@ -718,6 +718,14 @@ const AppBar = /*#__PURE__*/react$1.forwardRef(function AppBar(props, forwardedR
718
718
  });
719
719
 
720
720
  const sizeStyles = {
721
+ xxs: {
722
+ height: "1.5rem",
723
+ iconSize: "1.125rem",
724
+ contentPaddingInline: "0.625rem",
725
+ standardInnerRadius: "0.5rem",
726
+ connectedInnerRadius: "0.125rem",
727
+ splitInnerRadius: "0.125rem"
728
+ },
721
729
  xs: {
722
730
  height: "2rem",
723
731
  iconSize: "1.25rem",
@@ -766,6 +774,7 @@ function getTypographyVariant(size) {
766
774
  return 'text.label-large';
767
775
  }
768
776
  function getSquareRadius(size) {
777
+ if (size === 'xxs') return 'small';
769
778
  if (size === 'md') return 'large';
770
779
  if (size === 'lg' || size === 'xl') return 'extra-large';
771
780
  return 'medium';
@@ -784,7 +793,7 @@ const BaseButton = /*#__PURE__*/react$1.forwardRef((props, ref) => {
784
793
  isGroupedButton,
785
794
  ...otherProps
786
795
  } = props;
787
- const sizeStyle = sizeStyles[size];
796
+ const sizeStyle = sizeStyles[size] ?? sizeStyles['sm'];
788
797
  const iconOnly = isIconVariant(variantProp);
789
798
  const contentButton = !iconOnly;
790
799
  return /*#__PURE__*/jsxRuntime.jsx(Box, {