@edifice.io/wiki 3.5.12-develop-pedago.20260526103104 → 3.5.12-develop-pedago.20260528153204
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/lib/components/WikiApp/WikiApp.d.ts +2 -8
- package/lib/components/WikiApp/providers/WikiAppProvider.context.d.ts +2 -2
- package/lib/components/WikiApp/providers/WikiAppProvider.d.ts +2 -2
- package/lib/features/app/AppActions/AppActions.d.ts +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/index2.js +207 -206
- package/package.json +1 -1
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
icon: JSX.Element;
|
|
6
|
-
action: () => void;
|
|
7
|
-
visibility: boolean;
|
|
8
|
-
}
|
|
2
|
+
import { ActionDropdownMenuOptions } from '../../features';
|
|
9
3
|
export interface WikiAppProps {
|
|
10
4
|
wikiId: string;
|
|
11
5
|
header?: boolean;
|
|
12
|
-
actions?:
|
|
6
|
+
actions?: ActionDropdownMenuOptions[];
|
|
13
7
|
className?: string;
|
|
14
8
|
}
|
|
15
9
|
declare const WikiApp: React.FC<WikiAppProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionDropdownMenuOptions } from '../../../features';
|
|
2
2
|
export interface WikiAppContextProps {
|
|
3
3
|
wikiId?: string;
|
|
4
4
|
header?: boolean;
|
|
5
|
-
actions?:
|
|
5
|
+
actions?: ActionDropdownMenuOptions[];
|
|
6
6
|
}
|
|
7
7
|
export declare const WikiAppContext: import('react').Context<WikiAppContextProps | null>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionDropdownMenuOptions } from '../../../features';
|
|
2
2
|
export interface WikiAppProviderProps {
|
|
3
3
|
wikiId?: string;
|
|
4
4
|
header?: boolean;
|
|
5
|
-
actions?:
|
|
5
|
+
actions?: ActionDropdownMenuOptions[];
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
8
|
export declare function WikiAppProvider({ wikiId, header, actions, children, }: WikiAppProviderProps): import("react/jsx-runtime").JSX.Element;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { default as WikiApp } from './components/WikiApp/WikiApp';
|
|
2
|
-
export type { WikiAppProps
|
|
2
|
+
export type { WikiAppProps } from './components/WikiApp/WikiApp';
|
|
3
|
+
export type { ActionDropdownMenuOptions } from './features/app/AppActions/AppActions.tsx';
|