mind-elixir 5.12.2-beta.3 → 5.13.0
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/MindElixir.css +1 -1
- package/dist/MindElixir.iife.js +4 -4
- package/dist/MindElixir.js +85 -84
- package/dist/MindElixirLite.css +1 -1
- package/dist/MindElixirLite.iife.js +4 -4
- package/dist/MindElixirLite.js +107 -106
- package/dist/types/const.d.ts +7 -3
- package/dist/types/index.d.ts +7 -3
- package/dist/types/methods.d.ts +1 -1
- package/dist/types/utils/theme.d.ts +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -84,14 +84,18 @@ declare namespace MindElixir {
|
|
|
84
84
|
createChildren: (this: MindElixirInstance, wrappers: import("./docs").Wrapper[]) => import("./docs").Children;
|
|
85
85
|
createTopic: (this: MindElixirInstance, nodeObj: import("./docs").NodeObj) => Topic;
|
|
86
86
|
findEle: (this: MindElixirInstance, id: string, el?: HTMLElement) => Topic;
|
|
87
|
-
changeTheme: (this: MindElixirInstance, theme:
|
|
87
|
+
changeTheme: (this: MindElixirInstance, theme: import("./docs").Theme, shouldRefresh?: boolean) => void;
|
|
88
88
|
changeCompact: (this: MindElixirInstance, compact: boolean) => void;
|
|
89
89
|
};
|
|
90
90
|
export var LEFT: number;
|
|
91
91
|
export var RIGHT: number;
|
|
92
92
|
export var SIDE: number;
|
|
93
|
-
export var THEME: import("./docs").Theme
|
|
94
|
-
|
|
93
|
+
export var THEME: import("./docs").Theme & {
|
|
94
|
+
cssVar: import(".").ThemeCssVar;
|
|
95
|
+
};
|
|
96
|
+
export var DARK_THEME: import("./docs").Theme & {
|
|
97
|
+
cssVar: import(".").ThemeCssVar;
|
|
98
|
+
};
|
|
95
99
|
export var version: string;
|
|
96
100
|
export var E: (this: MindElixirInstance, id: string, el?: HTMLElement) => Topic;
|
|
97
101
|
var _a: (topic: string) => MindElixirData;
|
package/dist/types/methods.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ declare const methods: {
|
|
|
93
93
|
createChildren: (this: MindElixirInstance, wrappers: import("./docs").Wrapper[]) => import("./docs").Children;
|
|
94
94
|
createTopic: (this: MindElixirInstance, nodeObj: import("./types").NodeObj) => import("./docs").Topic;
|
|
95
95
|
findEle: (this: MindElixirInstance, id: string, el?: HTMLElement) => import("./docs").Topic;
|
|
96
|
-
changeTheme: (this: MindElixirInstance, theme:
|
|
96
|
+
changeTheme: (this: MindElixirInstance, theme: import("./types").Theme, shouldRefresh?: boolean) => void;
|
|
97
97
|
changeCompact: (this: MindElixirInstance, compact: boolean) => void;
|
|
98
98
|
};
|
|
99
99
|
export default methods;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { MindElixirInstance } from '../types/index';
|
|
2
2
|
import type { Theme } from '../types/index';
|
|
3
|
-
export declare const changeTheme: (this: MindElixirInstance, theme:
|
|
3
|
+
export declare const changeTheme: (this: MindElixirInstance, theme: Theme, shouldRefresh?: boolean) => void;
|
|
4
4
|
export declare const changeCompact: (this: MindElixirInstance, compact: boolean) => void;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a href="https://docs.mind-elixir.com" target="_blank" rel="noopener noreferrer">
|
|
3
3
|
<img width="150" src="https://raw.githubusercontent.com/ssshooter/mind-elixir-core/master/images/logo2.png" alt="mindelixir logo2">
|
|
4
4
|
</a>
|
|
5
|
-
<h1 align="center">Mind Elixir</h1>
|
|
5
|
+
<h1 align="center">Mind Elixir Core</h1>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|