@elcrm/telegram 0.0.96 → 0.0.98
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/SidePanel/SidePanel.d.ts +3 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +520 -510
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
declare function Page({ children, onClose, isOpen, isScroll, nextBackButton, }: {
|
|
1
|
+
declare function Page({ children, name, onClose, isOpen, isScroll, nextBackButton, }: {
|
|
2
2
|
onClose?: () => void;
|
|
3
3
|
isOpen?: boolean;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
isScroll?: boolean;
|
|
6
|
+
name: string;
|
|
6
7
|
nextBackButton?: boolean | string | {
|
|
7
8
|
page?: string;
|
|
8
9
|
callback?: () => void;
|
|
9
10
|
};
|
|
10
11
|
}): import("react/jsx-runtime").JSX.Element | "";
|
|
12
|
+
export declare const SidePanelController: (name: string, action: boolean) => void;
|
|
11
13
|
export default Page;
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ declare namespace Telegram {
|
|
|
73
73
|
const Loading: ({ children, className }: import("./Loading").TLoading) => import("react/jsx-runtime").JSX.Element;
|
|
74
74
|
const Sidebar: typeof _Sidebar;
|
|
75
75
|
const SidePanel: typeof _SidePanel;
|
|
76
|
+
const SidePanelController: (name: string, action: boolean) => void;
|
|
76
77
|
const Modal: typeof _Modal;
|
|
77
78
|
const Menu: ({ items }: import("./Menu").TMenu) => import("react/jsx-runtime").JSX.Element;
|
|
78
79
|
const MainButton: {
|
|
@@ -167,6 +168,7 @@ export declare const Loading: ({ children, className }: import('./Loading').TLoa
|
|
|
167
168
|
export declare const Menu: ({ items }: import('./Menu').TMenu) => import("react/jsx-runtime").JSX.Element;
|
|
168
169
|
export declare const SidePanel: typeof _SidePanel;
|
|
169
170
|
export declare const Sidebar: typeof _Sidebar;
|
|
171
|
+
export declare const SidePanelController: (name: string, action: boolean) => void;
|
|
170
172
|
export declare const Header: () => import("react/jsx-runtime").JSX.Element, toggleBottomSheet: () => void, Modal: typeof _Modal, MainButton: {
|
|
171
173
|
callback: never[];
|
|
172
174
|
set: (j: MainButton | boolean) => void;
|