@bubo-squared/ui-framework 0.2.1 → 0.2.12

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/index.d.cts CHANGED
@@ -106,7 +106,7 @@ type TypographyWeight = "regular" | "medium" | "bold";
106
106
  type ElementType = React$1.ElementType;
107
107
  type PropsOf<T extends ElementType> = React$1.ComponentPropsWithoutRef<T>;
108
108
  type TypographyOwnProps = {
109
- variant: TypographyVariant;
109
+ variant?: TypographyVariant;
110
110
  weight?: TypographyWeight;
111
111
  useMargin?: boolean;
112
112
  className?: string;
package/dist/index.d.ts CHANGED
@@ -106,7 +106,7 @@ type TypographyWeight = "regular" | "medium" | "bold";
106
106
  type ElementType = React$1.ElementType;
107
107
  type PropsOf<T extends ElementType> = React$1.ComponentPropsWithoutRef<T>;
108
108
  type TypographyOwnProps = {
109
- variant: TypographyVariant;
109
+ variant?: TypographyVariant;
110
110
  weight?: TypographyWeight;
111
111
  useMargin?: boolean;
112
112
  className?: string;
package/dist/index.js CHANGED
@@ -505,7 +505,7 @@ var getMbClassName = (variant) => {
505
505
  var Typography = (props) => {
506
506
  const {
507
507
  as = "span",
508
- variant,
508
+ variant = "paragraph-md",
509
509
  weight = "regular",
510
510
  useMargin = false,
511
511
  className,