@elcrm/telegram 0.0.170 → 0.0.172
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/Header/Header.d.ts +2 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +866 -863
- package/dist/index.umd.js +17 -17
- package/package.json +1 -1
package/dist/Header/Header.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare const _debug: {
|
|
|
6
6
|
};
|
|
7
7
|
export type TStyle = {
|
|
8
8
|
style?: "liquid-glass" | "default";
|
|
9
|
+
theme?: "light" | "dark";
|
|
9
10
|
};
|
|
10
|
-
declare const Header: ({ style }: TStyle) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const Header: ({ style, theme }: TStyle) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export default Header;
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ declare namespace Telegram {
|
|
|
52
52
|
Success: (title: string, text: string) => void;
|
|
53
53
|
Warning: (title: string, text: string) => void;
|
|
54
54
|
};
|
|
55
|
-
const Header: ({ style }: import("./Header/Header").TStyle) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
const Header: ({ style, theme }: import("./Header/Header").TStyle) => import("react/jsx-runtime").JSX.Element;
|
|
56
56
|
/**
|
|
57
57
|
* @param {TAction[]} [actions] - Массив действий для отображения в футере
|
|
58
58
|
* @param {React.ReactNode} [children] - Дополнительные дочерние элементы
|
|
@@ -175,7 +175,7 @@ export declare const isKeyboard: (isOpen: boolean) => void;
|
|
|
175
175
|
export declare const SidePanelController: (id: string, action: boolean) => void;
|
|
176
176
|
export declare const SideBarController: (id: string, action: boolean) => void;
|
|
177
177
|
export declare const BottomSheetController: (id: string, action: boolean) => void;
|
|
178
|
-
export declare const Header: ({ style }: import('./Header/Header').TStyle) => import("react/jsx-runtime").JSX.Element, Modal: typeof _Modal, MainButton: {
|
|
178
|
+
export declare const Header: ({ style, theme }: import('./Header/Header').TStyle) => import("react/jsx-runtime").JSX.Element, Modal: typeof _Modal, MainButton: {
|
|
179
179
|
callback: never[];
|
|
180
180
|
set: (j: MainButton | boolean) => void;
|
|
181
181
|
}, WebApp: any, getUser: () => any;
|