@qikbar/qikbar 0.0.16 → 0.0.18
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 +3138 -3083
- package/dist/qikbar.umd.js +29 -29
- package/dist/types/boot.d.ts +6 -1
- package/dist/types/shared/CommandFooter.d.ts +5 -1
- package/package.json +3 -2
package/dist/types/boot.d.ts
CHANGED
|
@@ -33,10 +33,12 @@ declare type Command = {
|
|
|
33
33
|
};
|
|
34
34
|
declare type RouterFunc = (arg0: any) => void;
|
|
35
35
|
declare type CommandState = {
|
|
36
|
+
id: string;
|
|
36
37
|
commands: RootCommand[];
|
|
37
38
|
router: RouterFunc | null;
|
|
38
39
|
headers: any;
|
|
39
40
|
theme: string;
|
|
41
|
+
setId: (theme: any) => void;
|
|
40
42
|
setTheme: (theme: any) => void;
|
|
41
43
|
addRouter: (routerFunc: RouterFunc) => void;
|
|
42
44
|
addHeaders: (headers: any) => void;
|
|
@@ -46,10 +48,12 @@ declare type CommandState = {
|
|
|
46
48
|
removeCommand: (command: RootCommand) => void;
|
|
47
49
|
};
|
|
48
50
|
export declare const useCommandsStore: import("zustand").UseBoundStore<import("zustand").StoreApi<CommandState>>;
|
|
49
|
-
export declare function DemoBar({ commands, theme }: {
|
|
51
|
+
export declare function DemoBar({ path, commands, theme }: {
|
|
52
|
+
path: any;
|
|
50
53
|
commands: any;
|
|
51
54
|
theme: any;
|
|
52
55
|
}): JSX.Element;
|
|
56
|
+
export declare const fetchSite: (id: any) => Promise<void>;
|
|
53
57
|
declare function Qikbar({ id }: {
|
|
54
58
|
id: string;
|
|
55
59
|
}): {
|
|
@@ -58,6 +62,7 @@ declare function Qikbar({ id }: {
|
|
|
58
62
|
elementId: string;
|
|
59
63
|
}) => void;
|
|
60
64
|
setTheme: (theme: string) => void;
|
|
65
|
+
reloadSite: () => Promise<void>;
|
|
61
66
|
addCommand: (command: RootCommand) => void;
|
|
62
67
|
updateCommand: (command: RootCommand) => void;
|
|
63
68
|
removeCommand: (command: RootCommand) => void;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@qikbar/qikbar",
|
|
3
3
|
"private": false,
|
|
4
4
|
"author": "Josh Hamilton",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.18",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/"
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"dev": "
|
|
20
|
+
"dev": "VITE_DEV=true vite",
|
|
21
|
+
"devs": "tsc && VITE_DEV=true vite build --watch",
|
|
21
22
|
"build": "tsc && vite build",
|
|
22
23
|
"preview": "vite preview"
|
|
23
24
|
},
|