@refinn/core-ui 0.1.2 → 0.1.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.
package/dist/index.d.mts CHANGED
@@ -54,8 +54,8 @@ interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
54
54
  }
55
55
  declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
56
56
 
57
- type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'contrast' | 'transparent';
58
- type ButtonSize = 'small' | 'medium' | 'large' | 'extra-large';
57
+ type ButtonVariant = "primary" | "secondary" | "tertiary" | "contrast" | "transparent";
58
+ type ButtonSize = "sm" | "md" | "lg" | "xl";
59
59
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
60
60
  variant?: ButtonVariant;
61
61
  size?: ButtonSize;
@@ -98,6 +98,7 @@ interface DialogProps extends HTMLAttributes<HTMLSpanElement> {
98
98
  isForceOpen?: boolean;
99
99
  setIsForceOpen?: (val: boolean) => void;
100
100
  isClosedAble?: boolean;
101
+ isCloseIcon?: boolean;
101
102
  children: ReactNode;
102
103
  startModalBtn?: ReactElement<{
103
104
  onClick?: (e: react__default.MouseEvent) => void;
@@ -123,13 +124,12 @@ interface IconProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
123
124
  }
124
125
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
125
126
 
126
- type RadioSize = 'small' | 'medium';
127
- interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
127
+ type RadioSize = "sm" | "md";
128
+ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
128
129
  size?: RadioSize;
129
130
  label?: ReactNode;
130
131
  description?: ReactNode;
131
132
  error?: boolean;
132
- contrast?: boolean;
133
133
  }
134
134
  declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
135
135
 
package/dist/index.d.ts CHANGED
@@ -54,8 +54,8 @@ interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
54
54
  }
55
55
  declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
56
56
 
57
- type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'contrast' | 'transparent';
58
- type ButtonSize = 'small' | 'medium' | 'large' | 'extra-large';
57
+ type ButtonVariant = "primary" | "secondary" | "tertiary" | "contrast" | "transparent";
58
+ type ButtonSize = "sm" | "md" | "lg" | "xl";
59
59
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
60
60
  variant?: ButtonVariant;
61
61
  size?: ButtonSize;
@@ -98,6 +98,7 @@ interface DialogProps extends HTMLAttributes<HTMLSpanElement> {
98
98
  isForceOpen?: boolean;
99
99
  setIsForceOpen?: (val: boolean) => void;
100
100
  isClosedAble?: boolean;
101
+ isCloseIcon?: boolean;
101
102
  children: ReactNode;
102
103
  startModalBtn?: ReactElement<{
103
104
  onClick?: (e: react__default.MouseEvent) => void;
@@ -123,13 +124,12 @@ interface IconProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
123
124
  }
124
125
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
125
126
 
126
- type RadioSize = 'small' | 'medium';
127
- interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
127
+ type RadioSize = "sm" | "md";
128
+ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
128
129
  size?: RadioSize;
129
130
  label?: ReactNode;
130
131
  description?: ReactNode;
131
132
  error?: boolean;
132
- contrast?: boolean;
133
133
  }
134
134
  declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
135
135