@stokelp/ui 2.3.1 → 2.3.2

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.
@@ -1,9 +1,14 @@
1
- import { FeatureProps, Props, DefaultInputComponentProps, State } from 'react-phone-number-input';
2
- import { ComponentProps, ComponentClass, ForwardRefExoticComponent, RefAttributes, Component } from 'react';
1
+ import { Props as FeatureProps, DefaultInputComponentProps, State } from 'react-phone-number-input';
2
+ import { ComponentProps, FC, ComponentClass } from 'react';
3
+ import { HTMLStyledProps } from '@stokelp/styled-system/jsx';
3
4
  import { StyledComponent } from '@stokelp/styled-system/types';
4
5
  import { PhoneNumberInputVariantProps } from '@stokelp/styled-system/recipes';
5
6
 
6
- declare const StyledNumberInput: StyledComponent<ComponentClass<Props<DefaultInputComponentProps>, State<Props<DefaultInputComponentProps>>>, PhoneNumberInputVariantProps>;
7
+ declare const StyledNumberInput: StyledComponent<ComponentClass<FeatureProps< DefaultInputComponentProps>, State<FeatureProps< DefaultInputComponentProps>>>, PhoneNumberInputVariantProps>;
7
8
  export type PhoneNumberInputProps = FeatureProps<ComponentProps<typeof StyledNumberInput>>;
8
- export declare const PhoneNumberInput: ForwardRefExoticComponent<Omit<PhoneNumberInputProps, "ref"> & RefAttributes<Component<Props<DefaultInputComponentProps>, State<Props<DefaultInputComponentProps>>, any>>>;
9
+ type StyledFeatureProps = FeatureProps<HTMLStyledProps<'input'>>;
10
+ type FinalProps = Omit<StyledFeatureProps, 'onChange'> & {
11
+ onChange?: StyledFeatureProps['onChange'];
12
+ };
13
+ export declare const PhoneNumberInput: FC<FinalProps>;
9
14
  export {};