@bluxcc/core 0.1.12 → 0.1.14

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.
@@ -3,8 +3,9 @@ interface HeaderProps {
3
3
  onInfo?: () => void;
4
4
  onBack?: () => void;
5
5
  title?: string;
6
+ isPersistent?: boolean;
6
7
  closeButton?: boolean;
7
8
  onClose: () => void;
8
9
  }
9
- declare const Header: ({ icon, onInfo, onBack, title, closeButton, onClose, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Header: ({ icon, onInfo, onBack, title, closeButton, onClose, isPersistent, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export default Header;
@@ -6,6 +6,7 @@ interface ModalProps {
6
6
  onClose?: () => void;
7
7
  children: React.ReactNode;
8
8
  appearance: IAppearance;
9
+ isPersistent: boolean;
9
10
  }
10
- declare const Modal: ({ isOpen, onClose, children, isSticky, appearance, }: ModalProps) => import("react/jsx-runtime").JSX.Element | null;
11
+ declare const Modal: ({ isOpen, onClose, children, isSticky, appearance, isPersistent, }: ModalProps) => import("react/jsx-runtime").JSX.Element | null;
11
12
  export default Modal;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export type TxDetail = {
3
3
  hash: string;
4
4
  date: string;
@@ -1,3 +1,3 @@
1
- import { IAppearance } from "../types";
1
+ import { IAppearance } from '../types';
2
2
  export declare const defaultLightTheme: IAppearance;
3
3
  export declare const defaultDarkTheme: IAppearance;
@@ -1,3 +1,3 @@
1
1
  import { IConfig } from '../types';
2
2
  import '../tailwind.css';
3
- export declare function createConfig(config: IConfig): void;
3
+ export declare function createConfig(config: IConfig, element?: HTMLElement): void;
@@ -12,3 +12,4 @@ export declare const getNetwork: (network?: string) => {
12
12
  soroban: rpc.Server;
13
13
  networkPassphrase: string;
14
14
  };
15
+ export declare const internalSwitchNetwork: (newNetwork: string) => void;