@raystack/frontier 0.21.1 → 0.23.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.21.1",
3
+ "version": "0.23.0",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -14,6 +14,15 @@ interface AmountProps {
14
14
  }
15
15
  declare function Amount({ currency, value, className, currencyClassName, decimalClassName, valueClassName, hideDecimals }: AmountProps): react_jsx_runtime.JSX.Element;
16
16
 
17
+ interface AvatarUploadProps {
18
+ subText?: string;
19
+ value?: string;
20
+ onChange?: (value: string) => void;
21
+ disabled?: boolean;
22
+ initials?: string;
23
+ }
24
+ declare const AvatarUpload: React.ForwardRefExoticComponent<AvatarUploadProps & React.RefAttributes<HTMLDivElement>>;
25
+
17
26
  type ContainerProps = ComponentPropsWithRef<'div'> & {
18
27
  children?: React.ReactNode;
19
28
  shadow?: 'none' | 'xs' | 'sm' | 'md' | 'lg';
@@ -4692,4 +4701,4 @@ declare const FrontierProvider: {
4692
4701
  displayName: string;
4693
4702
  };
4694
4703
 
4695
- export { Amount, Container, CreateOrganization, FrontierProvider, Header, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier };
4704
+ export { Amount, AvatarUpload, Container, CreateOrganization, FrontierProvider, Header, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier };