@stokelp/ui 2.2.0 → 2.3.1

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.
@@ -0,0 +1,9 @@
1
+ import { FeatureProps, Props, DefaultInputComponentProps, State } from 'react-phone-number-input';
2
+ import { ComponentProps, ComponentClass, ForwardRefExoticComponent, RefAttributes, Component } from 'react';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
+ import { PhoneNumberInputVariantProps } from '@stokelp/styled-system/recipes';
5
+
6
+ declare const StyledNumberInput: StyledComponent<ComponentClass<Props<DefaultInputComponentProps>, State<Props<DefaultInputComponentProps>>>, PhoneNumberInputVariantProps>;
7
+ 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
+ export {};
@@ -1,3 +1,4 @@
1
1
  export * from './Input';
2
2
  export * from './InputAddon';
3
3
  export * from './InputGroup';
4
+ export * from './PhoneNumberInput';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { createListCollection, createToaster, parseColor, parseDate, ListCollection, DateValue } from '@ark-ui/react';
2
-
3
- export { createListCollection, createToaster, parseColor, parseDate };
4
- export type { ListCollection, DateValue };
1
+ export { createListCollection, createToaster, parseColor, parseDate } from '@ark-ui/react';
2
+ export type { ListCollection, DateValue } from '@ark-ui/react';
3
+ export { isValidPhoneNumber, isPossiblePhoneNumber, isSupportedCountry, getCountries, getCountryCallingCode, formatPhoneNumber, formatPhoneNumberIntl, parsePhoneNumber, } from 'react-phone-number-input';
5
4
  export * from './components';
6
5
  export { preset } from './preset';