@trafilea/afrodita-components 4.0.2-beta.2 → 4.0.2-beta.3

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.
@@ -83,7 +83,7 @@ declare type TextLabelProps = {
83
83
  } & LabelHTMLAttributes<'label'>;
84
84
  declare type TextTagProps = {
85
85
  variant: 'tag';
86
- size: 'regular' | 'small' | 'x-small';
86
+ size?: 'regular' | 'small' | 'x-small';
87
87
  weight?: 'regular' | 'demi' | 'bold';
88
88
  underline?: never;
89
89
  disabled?: boolean;
@@ -95,4 +95,5 @@ export declare type TextVariant = TextHeroProps['variant'] | TextDisplayProps['v
95
95
  export declare type TextWeight = 'heavy' | 'bold' | 'demi' | 'regular';
96
96
  export declare type TextProps = AriaAttributes & {
97
97
  style?: CSSProperties;
98
+ className?: string;
98
99
  } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
package/build/index.d.ts CHANGED
@@ -1054,7 +1054,7 @@ declare type TextLabelProps = {
1054
1054
  } & LabelHTMLAttributes<'label'>;
1055
1055
  declare type TextTagProps = {
1056
1056
  variant: 'tag';
1057
- size: 'regular' | 'small' | 'x-small';
1057
+ size?: 'regular' | 'small' | 'x-small';
1058
1058
  weight?: 'regular' | 'demi' | 'bold';
1059
1059
  underline?: never;
1060
1060
  disabled?: boolean;
@@ -1064,6 +1064,7 @@ declare type TextTagProps = {
1064
1064
  };
1065
1065
  declare type TextProps = AriaAttributes & {
1066
1066
  style?: CSSProperties;
1067
+ className?: string;
1067
1068
  } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
1068
1069
 
1069
1070
  interface SearchBarProps {
@@ -6401,6 +6401,10 @@ var DEFAULTS = {
6401
6401
  size: 'regular',
6402
6402
  weight: 'bold',
6403
6403
  },
6404
+ tag: {
6405
+ size: 'regular',
6406
+ weight: 'regular',
6407
+ },
6404
6408
  };
6405
6409
  var templateObject_1$W, templateObject_2$B, templateObject_3$n, templateObject_4$e, templateObject_5$7, templateObject_6$5, templateObject_7$3, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
6406
6410