lakelib 0.2.5 → 0.2.6
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/README.md +3 -3
- package/dist/lake.css +57 -36
- package/dist/lake.min.js +22 -37
- package/dist/lake.min.js.map +1 -1
- package/lib/css/index.d.ts +1 -0
- package/lib/editor.d.ts +1 -1
- package/lib/i18n/en-US/index.d.ts +2 -0
- package/lib/i18n/ja/index.d.ts +2 -0
- package/lib/i18n/ko/index.d.ts +2 -0
- package/lib/i18n/types.d.ts +18 -2
- package/lib/i18n/zh-CN/index.d.ts +2 -0
- package/lib/lake.css +57 -36
- package/lib/lake.js +313 -118
- package/lib/lake.js.map +1 -1
- package/lib/types/corner-toolbar.d.ts +7 -0
- package/lib/ui/corner-toolbar.d.ts +18 -0
- package/lib/ui/floating-toolbar.d.ts +1 -1
- package/lib/ui/resizer.d.ts +0 -2
- package/package.json +2 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TranslationFunctions } from '../i18n/types';
|
|
2
|
+
import { CornerToolbarItem } from '../types/corner-toolbar';
|
|
3
|
+
import { Nodes } from '../models/nodes';
|
|
4
|
+
type CornerToolbarConfig = {
|
|
5
|
+
locale?: TranslationFunctions;
|
|
6
|
+
root: Nodes;
|
|
7
|
+
items: CornerToolbarItem[];
|
|
8
|
+
};
|
|
9
|
+
export declare class CornerToolbar {
|
|
10
|
+
private config;
|
|
11
|
+
private locale;
|
|
12
|
+
private root;
|
|
13
|
+
container: Nodes;
|
|
14
|
+
constructor(config: CornerToolbarConfig);
|
|
15
|
+
private appendButton;
|
|
16
|
+
render(): void;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
package/lib/ui/resizer.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakelib",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Lake is a browser-based rich text editor designed for creating content
|
|
3
|
+
"version": "0.2.6",
|
|
4
|
+
"description": "Lake is a browser-based rich text editor designed for creating content like blogs, comments, and emails.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rich text",
|
|
7
7
|
"wysiwyg",
|