@qikbar/qikbar 0.0.14 → 0.0.15
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/qikbar.es.js +2360 -2328
- package/dist/qikbar.umd.js +29 -29
- package/dist/types/boot.d.ts +7 -0
- package/dist/types/main.d.ts +2 -1
- package/dist/types/shared/List.d.ts +2 -2
- package/dist/types/shared/commandContext.d.ts +5 -1
- package/package.json +1 -1
package/dist/types/boot.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ declare type CommandState = {
|
|
|
36
36
|
commands: RootCommand[];
|
|
37
37
|
router: RouterFunc | null;
|
|
38
38
|
headers: any;
|
|
39
|
+
theme: string;
|
|
40
|
+
setTheme: (theme: any) => void;
|
|
39
41
|
addRouter: (routerFunc: RouterFunc) => void;
|
|
40
42
|
addHeaders: (headers: any) => void;
|
|
41
43
|
addCommand: (command: RootCommand) => void;
|
|
@@ -44,6 +46,10 @@ declare type CommandState = {
|
|
|
44
46
|
removeCommand: (command: RootCommand) => void;
|
|
45
47
|
};
|
|
46
48
|
export declare const useCommandsStore: import("zustand").UseBoundStore<import("zustand").StoreApi<CommandState>>;
|
|
49
|
+
export declare function DemoBar({ commands, theme }: {
|
|
50
|
+
commands: any;
|
|
51
|
+
theme: any;
|
|
52
|
+
}): JSX.Element;
|
|
47
53
|
declare function Qikbar({ id }: {
|
|
48
54
|
id: string;
|
|
49
55
|
}): {
|
|
@@ -51,6 +57,7 @@ declare function Qikbar({ id }: {
|
|
|
51
57
|
boot: ({ elementId }: {
|
|
52
58
|
elementId: string;
|
|
53
59
|
}) => void;
|
|
60
|
+
setTheme: (theme: string) => void;
|
|
54
61
|
addCommand: (command: RootCommand) => void;
|
|
55
62
|
updateCommand: (command: RootCommand) => void;
|
|
56
63
|
removeCommand: (command: RootCommand) => void;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare function CategoryList({ item: { name, children, Icon } }: {
|
|
|
12
12
|
Icon: any;
|
|
13
13
|
};
|
|
14
14
|
}): JSX.Element;
|
|
15
|
-
export declare function ListItem({ item: { iconName, title, to, description, href, route, action, children,
|
|
15
|
+
export declare function ListItem({ item: { iconName, title, to, description, href, route, action, children, tag, }, }: {
|
|
16
16
|
item: {
|
|
17
17
|
iconName: any;
|
|
18
18
|
title: any;
|
|
@@ -22,7 +22,7 @@ export declare function ListItem({ item: { iconName, title, to, description, hre
|
|
|
22
22
|
route: any;
|
|
23
23
|
action: any;
|
|
24
24
|
children: any;
|
|
25
|
-
|
|
25
|
+
tag: any;
|
|
26
26
|
};
|
|
27
27
|
}): JSX.Element;
|
|
28
28
|
export declare function Placeholder({ placeholder }: {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const CommandContext: React.Context<any>;
|
|
3
3
|
export default CommandContext;
|
|
4
|
-
export declare function CommandProvider(
|
|
4
|
+
export declare function CommandProvider({ demo, wrapperClass, defaultOpen, }: {
|
|
5
|
+
demo?: boolean;
|
|
6
|
+
wrapperClass?: string;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
}): JSX.Element;
|