@shoplflow/base 0.31.11 → 0.31.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
@@ -614,9 +614,9 @@ declare type ButtonOptionProps<T extends ElementType = 'button'> = Omit<Componen
614
614
  declare type ButtonProps<T extends ElementType = 'button'> = PolymorphicComponentProps<T, ButtonOptionProps> & LeftAndRightNodeProps;
615
615
  declare type ButtonComponent = <T extends ElementType = 'button'>(props: ButtonProps<T> & {
616
616
  ref?: ComponentPropsWithRef<T>['ref'];
617
- }) => ReactElement | null;
617
+ }) => React.ReactElement | null;
618
618
 
619
- declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps<ElementType<any>>, "ref"> & React$1.RefAttributes<unknown>>;
619
+ declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps<"button">, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
620
620
 
621
621
  declare const IconButtonSizeVariants: {
622
622
  readonly S: "S";
@@ -634,9 +634,9 @@ declare type IconButtonOptionProps<T extends ElementType = 'button'> = Omit<Comp
634
634
  declare type IconButtonProps<T extends ElementType = 'button'> = PolymorphicComponentProps<T, IconButtonOptionProps>;
635
635
  declare type IconButtonComponent = <T extends ElementType = 'button'>(props: IconButtonProps<T> & {
636
636
  ref?: ComponentPropsWithRef<T>['ref'];
637
- }) => ReactElement | null;
637
+ }) => React__default.ReactElement | null;
638
638
 
639
- declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps<ElementType<any>>, "ref"> & React$1.RefAttributes<unknown>>;
639
+ declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps<"button">, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
640
640
 
641
641
  declare const CalloutTypes: {
642
642
  readonly INFORMATION: "INFORMATION";
package/dist/index.d.ts CHANGED
@@ -614,9 +614,9 @@ declare type ButtonOptionProps<T extends ElementType = 'button'> = Omit<Componen
614
614
  declare type ButtonProps<T extends ElementType = 'button'> = PolymorphicComponentProps<T, ButtonOptionProps> & LeftAndRightNodeProps;
615
615
  declare type ButtonComponent = <T extends ElementType = 'button'>(props: ButtonProps<T> & {
616
616
  ref?: ComponentPropsWithRef<T>['ref'];
617
- }) => ReactElement | null;
617
+ }) => React.ReactElement | null;
618
618
 
619
- declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps<ElementType<any>>, "ref"> & React$1.RefAttributes<unknown>>;
619
+ declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps<"button">, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
620
620
 
621
621
  declare const IconButtonSizeVariants: {
622
622
  readonly S: "S";
@@ -634,9 +634,9 @@ declare type IconButtonOptionProps<T extends ElementType = 'button'> = Omit<Comp
634
634
  declare type IconButtonProps<T extends ElementType = 'button'> = PolymorphicComponentProps<T, IconButtonOptionProps>;
635
635
  declare type IconButtonComponent = <T extends ElementType = 'button'>(props: IconButtonProps<T> & {
636
636
  ref?: ComponentPropsWithRef<T>['ref'];
637
- }) => ReactElement | null;
637
+ }) => React__default.ReactElement | null;
638
638
 
639
- declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps<ElementType<any>>, "ref"> & React$1.RefAttributes<unknown>>;
639
+ declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps<"button">, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
640
640
 
641
641
  declare const CalloutTypes: {
642
642
  readonly INFORMATION: "INFORMATION";