@billgangcom/theme-lib 1.76.1 → 1.77.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/dist/App.d.ts CHANGED
@@ -2,6 +2,7 @@ import { RouteObject } from 'react-router-dom';
2
2
  import React from 'react';
3
3
  import 'non.geist';
4
4
  import './styles/main.scss';
5
+ import { ApiUrls } from './storefront/store';
5
6
  interface AppProps {
6
7
  blocks: Record<string, any>;
7
8
  settings: any;
@@ -9,6 +10,8 @@ interface AppProps {
9
10
  footer: any;
10
11
  announcement: any;
11
12
  routes?: RouteObject[];
13
+ shopLogo?: React.ReactElement;
14
+ apiURLs?: ApiUrls;
12
15
  }
13
16
  export declare const App: React.FC<AppProps>;
14
17
  export * from './abstractions';
@@ -17,6 +20,7 @@ export { iconNames, type IconNames, ColorVariables, type AspectRatio, aspectRati
17
20
  export type { Notification, NotificationComponentProps } from './builder/constants';
18
21
  export { ReCaptchaProvider, useReCaptcha } from './storefront/utils/recapcha';
19
22
  export { useCart } from './storefront/utils/useCart';
23
+ export { Checkout } from './pages/checkout';
20
24
  export { showNotification, removeNotification } from './storefront/utils/showNotification';
21
25
  export { useAdaptiveStyles } from './storefront/utils/useAdaptiveStyles';
22
26
  export { formatPrice } from './storefront/utils';
@@ -1,6 +1,8 @@
1
- export declare const API_URL = "https://g-api.billgang.com";
2
- export declare const GOOGLE_FONTS_API = "https://www.googleapis.com/webfonts/v1/webfonts";
3
- export declare const STORE_API_URL = "https://stores-api.billgang.com";
4
- export declare const SL_API_URL = "https://sl-api.billgang.com";
5
- export declare const CUSTOMERS_API_URL = "https://customers-api.billgang.com";
6
- export declare const CASHAPP_API_URL = "https://cashapp-api.billgang.com";
1
+ export declare const API_URLS: {
2
+ api: string;
3
+ googleFonts: string;
4
+ storeApi: string;
5
+ slApi: string;
6
+ customersApi: string;
7
+ cashappApi: string;
8
+ };