lakelib 0.2.4 → 0.2.5
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/lake.css +46 -44
- package/dist/lake.min.js +35 -35
- package/dist/lake.min.js.map +1 -1
- package/lib/{types/css → css}/index.d.ts +1 -0
- package/lib/{types/i18n/ja → i18n/en-US}/index.d.ts +9 -0
- package/lib/{types/i18n/en-US → i18n/ja}/index.d.ts +9 -0
- package/lib/{types/i18n → i18n}/ko/index.d.ts +9 -0
- package/lib/{types/i18n → i18n}/types.d.ts +82 -9
- package/lib/{types/i18n → i18n}/zh-CN/index.d.ts +9 -0
- package/lib/lake.css +46 -44
- package/lib/lake.js +4618 -4475
- package/lib/lake.js.map +1 -1
- package/lib/{types/models → models}/box.d.ts +5 -3
- package/lib/types/{types/object.d.ts → object.d.ts} +3 -3
- package/lib/ui/floating-toolbar.d.ts +16 -0
- package/lib/{types/ui → ui}/link-popup.d.ts +2 -2
- package/lib/{types/ui/box-resizer.d.ts → ui/resizer.d.ts} +6 -6
- package/lib/{types/ui → ui}/toolbar.d.ts +2 -2
- package/lib/{types/utils → utils}/index.d.ts +1 -1
- package/lib/utils/is-visible.d.ts +8 -0
- package/package.json +19 -19
- package/lib/types/types/box-toolbar.d.ts +0 -22
- package/lib/types/ui/box-toolbar.d.ts +0 -30
- package/lib/types/utils/node-position.d.ts +0 -9
- /package/lib/{types/boxes → boxes}/code-block.d.ts +0 -0
- /package/lib/{types/boxes → boxes}/emoji.d.ts +0 -0
- /package/lib/{types/boxes → boxes}/equation.d.ts +0 -0
- /package/lib/{types/boxes → boxes}/file.d.ts +0 -0
- /package/lib/{types/boxes → boxes}/hr.d.ts +0 -0
- /package/lib/{types/boxes → boxes}/image.d.ts +0 -0
- /package/lib/{types/boxes → boxes}/mention.d.ts +0 -0
- /package/lib/{types/boxes → boxes}/video.d.ts +0 -0
- /package/lib/{types/config → config}/element-rules.d.ts +0 -0
- /package/lib/{types/config → config}/menu-items.d.ts +0 -0
- /package/lib/{types/config → config}/slash-items.d.ts +0 -0
- /package/lib/{types/config → config}/tag-names.d.ts +0 -0
- /package/lib/{types/config → config}/toolbar-items.d.ts +0 -0
- /package/lib/{types/editor.d.ts → editor.d.ts} +0 -0
- /package/lib/{types/elements → elements}/bookmark.d.ts +0 -0
- /package/lib/{types/elements → elements}/box.d.ts +0 -0
- /package/lib/{types/i18n → i18n}/index.d.ts +0 -0
- /package/lib/{types/icons → icons}/index.d.ts +0 -0
- /package/lib/{types/index.d.ts → index.d.ts} +0 -0
- /package/lib/{types/managers → managers}/box-manager.d.ts +0 -0
- /package/lib/{types/managers → managers}/command.d.ts +0 -0
- /package/lib/{types/managers → managers}/history.d.ts +0 -0
- /package/lib/{types/managers → managers}/keystroke.d.ts +0 -0
- /package/lib/{types/managers → managers}/plugin.d.ts +0 -0
- /package/lib/{types/managers → managers}/selection.d.ts +0 -0
- /package/lib/{types/models → models}/fragment.d.ts +0 -0
- /package/lib/{types/models → models}/nodes.d.ts +0 -0
- /package/lib/{types/models → models}/range.d.ts +0 -0
- /package/lib/{types/operations → operations}/add-mark.d.ts +0 -0
- /package/lib/{types/operations → operations}/delete-contents.d.ts +0 -0
- /package/lib/{types/operations → operations}/fix-list.d.ts +0 -0
- /package/lib/{types/operations → operations}/insert-bookmark.d.ts +0 -0
- /package/lib/{types/operations → operations}/insert-box.d.ts +0 -0
- /package/lib/{types/operations → operations}/insert-fragment.d.ts +0 -0
- /package/lib/{types/operations → operations}/insert-link.d.ts +0 -0
- /package/lib/{types/operations → operations}/insert-node.d.ts +0 -0
- /package/lib/{types/operations → operations}/remove-box.d.ts +0 -0
- /package/lib/{types/operations → operations}/remove-mark.d.ts +0 -0
- /package/lib/{types/operations → operations}/set-blocks.d.ts +0 -0
- /package/lib/{types/operations → operations}/split-block.d.ts +0 -0
- /package/lib/{types/operations → operations}/split-marks.d.ts +0 -0
- /package/lib/{types/operations → operations}/to-bookmark.d.ts +0 -0
- /package/lib/{types/parsers → parsers}/html-parser.d.ts +0 -0
- /package/lib/{types/parsers → parsers}/text-parser.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/align.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/arrow-keys.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/backspace-key.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/block-quote.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/bold.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/code-block.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/code.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/copy.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/cut.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/delete-key.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/drop.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/emoji.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/enter-key.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/equation.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/escape-key.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/file.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/font-color.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/font-family.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/font-size.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/format-painter.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/heading.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/highlight.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/hr.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/image.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/indent.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/italic.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/link.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/list.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/markdown.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/mention.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/paste.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/redo.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/remove-format.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/select-all.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/shift-enter-key.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/slash.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/special-character.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/strikethrough.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/subscript.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/superscript.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/tab-key.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/underline.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/undo.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/unlink.d.ts +0 -0
- /package/lib/{types/plugins → plugins}/video.d.ts +0 -0
- /package/lib/{types/storage → storage}/box-instances.d.ts +0 -0
- /package/lib/{types/storage → storage}/boxes.d.ts +0 -0
- /package/lib/{types/storage → storage}/editors.d.ts +0 -0
- /package/lib/types/{types/box.d.ts → box.d.ts} +0 -0
- /package/lib/types/{types/dropdown.d.ts → dropdown.d.ts} +0 -0
- /package/lib/types/{types/mention.d.ts → mention.d.ts} +0 -0
- /package/lib/types/{types/native.d.ts → native.d.ts} +0 -0
- /package/lib/types/{types/node.d.ts → node.d.ts} +0 -0
- /package/lib/types/{types/plugin.d.ts → plugin.d.ts} +0 -0
- /package/lib/types/{types/request.d.ts → request.d.ts} +0 -0
- /package/lib/types/{types/slash.d.ts → slash.d.ts} +0 -0
- /package/lib/types/{types/toolbar.d.ts → toolbar.d.ts} +0 -0
- /package/lib/{types/ui → ui}/button.d.ts +0 -0
- /package/lib/{types/ui → ui}/dropdown.d.ts +0 -0
- /package/lib/{types/ui → ui}/mention-menu.d.ts +0 -0
- /package/lib/{types/ui → ui}/menu.d.ts +0 -0
- /package/lib/{types/ui → ui}/slash-menu.d.ts +0 -0
- /package/lib/{types/utils → utils}/append-break.d.ts +0 -0
- /package/lib/{types/utils → utils}/camel-case.d.ts +0 -0
- /package/lib/{types/utils → utils}/change-tag-name.d.ts +0 -0
- /package/lib/{types/utils → utils}/debug.d.ts +0 -0
- /package/lib/{types/utils → utils}/denormalize-value.d.ts +0 -0
- /package/lib/{types/utils → utils}/encode.d.ts +0 -0
- /package/lib/{types/utils → utils}/file-size.d.ts +0 -0
- /package/lib/{types/utils → utils}/fix-numbered-list.d.ts +0 -0
- /package/lib/{types/utils → utils}/from-base64.d.ts +0 -0
- /package/lib/{types/utils → utils}/get-box.d.ts +0 -0
- /package/lib/{types/utils → utils}/get-css.d.ts +0 -0
- /package/lib/{types/utils → utils}/get-deep-element.d.ts +0 -0
- /package/lib/{types/utils → utils}/in-string.d.ts +0 -0
- /package/lib/{types/utils → utils}/merge-nodes.d.ts +0 -0
- /package/lib/{types/utils → utils}/modifier-text.d.ts +0 -0
- /package/lib/{types/utils → utils}/morph.d.ts +0 -0
- /package/lib/{types/utils → utils}/normalize-value.d.ts +0 -0
- /package/lib/{types/utils → utils}/parse-style.d.ts +0 -0
- /package/lib/{types/utils → utils}/query.d.ts +0 -0
- /package/lib/{types/utils → utils}/remove-break.d.ts +0 -0
- /package/lib/{types/utils → utils}/remove-zws.d.ts +0 -0
- /package/lib/{types/utils → utils}/request.d.ts +0 -0
- /package/lib/{types/utils → utils}/safe-template.d.ts +0 -0
- /package/lib/{types/utils → utils}/scroll-to-node.d.ts +0 -0
- /package/lib/{types/utils → utils}/set-block-indent.d.ts +0 -0
- /package/lib/{types/utils → utils}/split-nodes.d.ts +0 -0
- /package/lib/{types/utils → utils}/template.d.ts +0 -0
- /package/lib/{types/utils → utils}/to-base64.d.ts +0 -0
- /package/lib/{types/utils → utils}/to-hex.d.ts +0 -0
- /package/lib/{types/utils → utils}/to-node-list.d.ts +0 -0
- /package/lib/{types/utils → utils}/upload-file.d.ts +0 -0
- /package/lib/{types/utils → utils}/wrap-node-list.d.ts +0 -0
|
@@ -102,6 +102,15 @@ declare const _default: {
|
|
|
102
102
|
loadingError: string;
|
|
103
103
|
zoomOut: string;
|
|
104
104
|
zoomIn: string;
|
|
105
|
+
align: string;
|
|
106
|
+
alignLeft: string;
|
|
107
|
+
alignCenter: string;
|
|
108
|
+
alignRight: string;
|
|
109
|
+
resize: string;
|
|
110
|
+
pageWidth: string;
|
|
111
|
+
originalWidth: string;
|
|
112
|
+
imageWidth: string;
|
|
113
|
+
open: string;
|
|
105
114
|
};
|
|
106
115
|
file: {
|
|
107
116
|
download: string;
|
|
@@ -102,6 +102,15 @@ declare const _default: {
|
|
|
102
102
|
loadingError: string;
|
|
103
103
|
zoomOut: string;
|
|
104
104
|
zoomIn: string;
|
|
105
|
+
align: string;
|
|
106
|
+
alignLeft: string;
|
|
107
|
+
alignCenter: string;
|
|
108
|
+
alignRight: string;
|
|
109
|
+
resize: string;
|
|
110
|
+
pageWidth: string;
|
|
111
|
+
originalWidth: string;
|
|
112
|
+
imageWidth: "{0} 画像サイズ";
|
|
113
|
+
open: string;
|
|
105
114
|
};
|
|
106
115
|
file: {
|
|
107
116
|
download: string;
|
|
@@ -102,6 +102,15 @@ declare const _default: {
|
|
|
102
102
|
loadingError: string;
|
|
103
103
|
zoomOut: string;
|
|
104
104
|
zoomIn: string;
|
|
105
|
+
align: string;
|
|
106
|
+
alignLeft: string;
|
|
107
|
+
alignCenter: string;
|
|
108
|
+
alignRight: string;
|
|
109
|
+
resize: string;
|
|
110
|
+
pageWidth: string;
|
|
111
|
+
originalWidth: string;
|
|
112
|
+
imageWidth: "{0} 이미지 크기";
|
|
113
|
+
open: string;
|
|
105
114
|
};
|
|
106
115
|
file: {
|
|
107
116
|
download: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseTranslation as BaseTranslationType, LocalizedString } from 'typesafe-i18n';
|
|
1
|
+
import type { BaseTranslation as BaseTranslationType, LocalizedString, RequiredParams } from 'typesafe-i18n';
|
|
2
2
|
export type BaseTranslation = BaseTranslationType;
|
|
3
3
|
export type BaseLocale = 'en-US';
|
|
4
4
|
export type Locales = 'en-US' | 'ja' | 'ko' | 'zh-CN';
|
|
@@ -51,7 +51,7 @@ type RootTranslation = {
|
|
|
51
51
|
*/
|
|
52
52
|
alignRight: string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Justify
|
|
55
55
|
*/
|
|
56
56
|
alignJustify: string;
|
|
57
57
|
/**
|
|
@@ -343,7 +343,7 @@ type RootTranslation = {
|
|
|
343
343
|
*/
|
|
344
344
|
url: string;
|
|
345
345
|
/**
|
|
346
|
-
*
|
|
346
|
+
* Text to display
|
|
347
347
|
*/
|
|
348
348
|
title: string;
|
|
349
349
|
/**
|
|
@@ -385,7 +385,7 @@ type RootTranslation = {
|
|
|
385
385
|
*/
|
|
386
386
|
close: string;
|
|
387
387
|
/**
|
|
388
|
-
*
|
|
388
|
+
* Unable to load image.
|
|
389
389
|
*/
|
|
390
390
|
loadingError: string;
|
|
391
391
|
/**
|
|
@@ -396,6 +396,43 @@ type RootTranslation = {
|
|
|
396
396
|
* Zoom in
|
|
397
397
|
*/
|
|
398
398
|
zoomIn: string;
|
|
399
|
+
/**
|
|
400
|
+
* Alignment
|
|
401
|
+
*/
|
|
402
|
+
align: string;
|
|
403
|
+
/**
|
|
404
|
+
* Align left
|
|
405
|
+
*/
|
|
406
|
+
alignLeft: string;
|
|
407
|
+
/**
|
|
408
|
+
* Align center
|
|
409
|
+
*/
|
|
410
|
+
alignCenter: string;
|
|
411
|
+
/**
|
|
412
|
+
* Align right
|
|
413
|
+
*/
|
|
414
|
+
alignRight: string;
|
|
415
|
+
/**
|
|
416
|
+
* Resize image
|
|
417
|
+
*/
|
|
418
|
+
resize: string;
|
|
419
|
+
/**
|
|
420
|
+
* Page width
|
|
421
|
+
*/
|
|
422
|
+
pageWidth: string;
|
|
423
|
+
/**
|
|
424
|
+
* Original width
|
|
425
|
+
*/
|
|
426
|
+
originalWidth: string;
|
|
427
|
+
/**
|
|
428
|
+
* {0} image width
|
|
429
|
+
* @param {unknown} 0
|
|
430
|
+
*/
|
|
431
|
+
imageWidth: RequiredParams<'0'>;
|
|
432
|
+
/**
|
|
433
|
+
* Open image in new tab
|
|
434
|
+
*/
|
|
435
|
+
open: string;
|
|
399
436
|
};
|
|
400
437
|
file: {
|
|
401
438
|
/**
|
|
@@ -441,7 +478,7 @@ type RootTranslation = {
|
|
|
441
478
|
*/
|
|
442
479
|
save: string;
|
|
443
480
|
/**
|
|
444
|
-
*
|
|
481
|
+
* Supported functions
|
|
445
482
|
*/
|
|
446
483
|
help: string;
|
|
447
484
|
/**
|
|
@@ -497,7 +534,7 @@ export type TranslationFunctions = {
|
|
|
497
534
|
*/
|
|
498
535
|
alignRight: () => LocalizedString;
|
|
499
536
|
/**
|
|
500
|
-
*
|
|
537
|
+
* Justify
|
|
501
538
|
*/
|
|
502
539
|
alignJustify: () => LocalizedString;
|
|
503
540
|
/**
|
|
@@ -789,7 +826,7 @@ export type TranslationFunctions = {
|
|
|
789
826
|
*/
|
|
790
827
|
url: () => LocalizedString;
|
|
791
828
|
/**
|
|
792
|
-
*
|
|
829
|
+
* Text to display
|
|
793
830
|
*/
|
|
794
831
|
title: () => LocalizedString;
|
|
795
832
|
/**
|
|
@@ -831,7 +868,7 @@ export type TranslationFunctions = {
|
|
|
831
868
|
*/
|
|
832
869
|
close: () => LocalizedString;
|
|
833
870
|
/**
|
|
834
|
-
*
|
|
871
|
+
* Unable to load image.
|
|
835
872
|
*/
|
|
836
873
|
loadingError: () => LocalizedString;
|
|
837
874
|
/**
|
|
@@ -842,6 +879,42 @@ export type TranslationFunctions = {
|
|
|
842
879
|
* Zoom in
|
|
843
880
|
*/
|
|
844
881
|
zoomIn: () => LocalizedString;
|
|
882
|
+
/**
|
|
883
|
+
* Alignment
|
|
884
|
+
*/
|
|
885
|
+
align: () => LocalizedString;
|
|
886
|
+
/**
|
|
887
|
+
* Align left
|
|
888
|
+
*/
|
|
889
|
+
alignLeft: () => LocalizedString;
|
|
890
|
+
/**
|
|
891
|
+
* Align center
|
|
892
|
+
*/
|
|
893
|
+
alignCenter: () => LocalizedString;
|
|
894
|
+
/**
|
|
895
|
+
* Align right
|
|
896
|
+
*/
|
|
897
|
+
alignRight: () => LocalizedString;
|
|
898
|
+
/**
|
|
899
|
+
* Resize image
|
|
900
|
+
*/
|
|
901
|
+
resize: () => LocalizedString;
|
|
902
|
+
/**
|
|
903
|
+
* Page width
|
|
904
|
+
*/
|
|
905
|
+
pageWidth: () => LocalizedString;
|
|
906
|
+
/**
|
|
907
|
+
* Original width
|
|
908
|
+
*/
|
|
909
|
+
originalWidth: () => LocalizedString;
|
|
910
|
+
/**
|
|
911
|
+
* {0} image width
|
|
912
|
+
*/
|
|
913
|
+
imageWidth: (arg0: unknown) => LocalizedString;
|
|
914
|
+
/**
|
|
915
|
+
* Open image in new tab
|
|
916
|
+
*/
|
|
917
|
+
open: () => LocalizedString;
|
|
845
918
|
};
|
|
846
919
|
file: {
|
|
847
920
|
/**
|
|
@@ -887,7 +960,7 @@ export type TranslationFunctions = {
|
|
|
887
960
|
*/
|
|
888
961
|
save: () => LocalizedString;
|
|
889
962
|
/**
|
|
890
|
-
*
|
|
963
|
+
* Supported functions
|
|
891
964
|
*/
|
|
892
965
|
help: () => LocalizedString;
|
|
893
966
|
/**
|
|
@@ -102,6 +102,15 @@ declare const _default: {
|
|
|
102
102
|
loadingError: string;
|
|
103
103
|
zoomOut: string;
|
|
104
104
|
zoomIn: string;
|
|
105
|
+
align: string;
|
|
106
|
+
alignLeft: string;
|
|
107
|
+
alignCenter: string;
|
|
108
|
+
alignRight: string;
|
|
109
|
+
resize: string;
|
|
110
|
+
pageWidth: string;
|
|
111
|
+
originalWidth: string;
|
|
112
|
+
imageWidth: "{0} 图片大小";
|
|
113
|
+
open: string;
|
|
105
114
|
};
|
|
106
115
|
file: {
|
|
107
116
|
download: string;
|
package/lib/lake.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
/*
|
|
2
|
+
/* common */
|
|
3
3
|
--lake-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
|
|
4
|
-
|
|
4
|
+
--lake-font-size: 16px;
|
|
5
5
|
--lake-text-color: #000000e0;
|
|
6
6
|
--lake-secondary-text-color: #000000a6;
|
|
7
7
|
--lake-border-color: #d9d9d9;
|
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
--lake-success-color: #52c41a;
|
|
11
11
|
--lake-warning-color: #faad14;
|
|
12
12
|
--lake-error-color: #ff4d4f;
|
|
13
|
-
/* z-index */
|
|
14
|
-
--lake-z-index-popup: 822;
|
|
15
13
|
/* selection */
|
|
16
14
|
--lake-selection-background-color: #1ba2e333;
|
|
17
15
|
/* link */
|
|
@@ -21,12 +19,16 @@
|
|
|
21
19
|
--lake-box-border-color: #d9d9d9;
|
|
22
20
|
--lake-box-border-focus-color: #1677ff;
|
|
23
21
|
--lake-box-background-color: #f6f8fa;
|
|
22
|
+
/* popup */
|
|
23
|
+
--lake-popup-z-index: 822;
|
|
24
|
+
--lake-popup-font-size: 14px;
|
|
25
|
+
--lake-popup-border-color: #d9d9d9;
|
|
26
|
+
--lake-popup-shadow: 0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;
|
|
24
27
|
/* button */
|
|
28
|
+
--lake-button-font-size: 14px;
|
|
25
29
|
--lake-button-shadow: 0 2px 0 #00000005;
|
|
26
30
|
--lake-button-outline: 2px solid #69b1ff;
|
|
27
|
-
/*
|
|
28
|
-
--lake-popup-shadow: 0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;
|
|
29
|
-
/* input form */
|
|
31
|
+
/* input element, text field */
|
|
30
32
|
--lake-input-border-color: #d9d9d9;
|
|
31
33
|
--lake-input-border-hover-color: #69b1ff;
|
|
32
34
|
--lake-input-outline: 2px solid #69b1ff;
|
|
@@ -47,7 +49,7 @@
|
|
|
47
49
|
.lake-container {
|
|
48
50
|
box-sizing: border-box;
|
|
49
51
|
font-family: var(--lake-font-family);
|
|
50
|
-
font-size:
|
|
52
|
+
font-size: var(--lake-font-size);
|
|
51
53
|
font-weight: normal;
|
|
52
54
|
line-height: 1.45;
|
|
53
55
|
padding: 16px 24px;
|
|
@@ -195,34 +197,12 @@ lake-box .lake-button-group button svg {
|
|
|
195
197
|
height: 16px;
|
|
196
198
|
margin: 6px;
|
|
197
199
|
}
|
|
198
|
-
/* box toolbar */
|
|
199
|
-
.lake-box-toolbar {
|
|
200
|
-
position: absolute;
|
|
201
|
-
top: 0;
|
|
202
|
-
left: 0;
|
|
203
|
-
z-index: var(--lake-z-index-popup);
|
|
204
|
-
border: 1px solid var(--lake-border-color);
|
|
205
|
-
border-radius: 5px;
|
|
206
|
-
background-color: #fff;
|
|
207
|
-
box-shadow: 0 2px 0 #00000005;
|
|
208
|
-
padding: 4px;
|
|
209
|
-
display: flex;
|
|
210
|
-
flex-wrap: wrap;
|
|
211
|
-
align-items: center;
|
|
212
|
-
}
|
|
213
|
-
.lake-box-toolbar .lake-toolbar-divider {
|
|
214
|
-
width: 1px;
|
|
215
|
-
height: 20px;
|
|
216
|
-
margin: 0 4px;
|
|
217
|
-
border-left: 1px solid var(--lake-border-color);
|
|
218
|
-
user-select: none;
|
|
219
|
-
}
|
|
220
200
|
|
|
221
201
|
button.lake-button {
|
|
222
202
|
border-radius: 5px;
|
|
223
203
|
border: 0;
|
|
224
204
|
font-family: Arial;
|
|
225
|
-
font-size:
|
|
205
|
+
font-size: var(--lake-button-font-size);
|
|
226
206
|
color: var(--lake-text-color);
|
|
227
207
|
background-color: #fff;
|
|
228
208
|
padding: 0;
|
|
@@ -287,14 +267,14 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
287
267
|
position: relative;
|
|
288
268
|
font-family: var(--lake-font-family);
|
|
289
269
|
color: var(--lake-text-color);
|
|
290
|
-
font-size:
|
|
270
|
+
font-size: var(--lake-button-font-size);
|
|
291
271
|
user-select: none;
|
|
292
272
|
}
|
|
293
273
|
.lake-dropdown button.lake-dropdown-title {
|
|
294
274
|
border-radius: 5px;
|
|
295
275
|
border: 0;
|
|
296
276
|
font-family: Arial;
|
|
297
|
-
font-size:
|
|
277
|
+
font-size: var(--lake-button-font-size);
|
|
298
278
|
color: var(--lake-text-color);
|
|
299
279
|
background-color: #fff;
|
|
300
280
|
padding: 0;
|
|
@@ -366,11 +346,11 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
366
346
|
position: absolute;
|
|
367
347
|
top: 30px;
|
|
368
348
|
left: 0;
|
|
369
|
-
z-index: var(--lake-z-index
|
|
349
|
+
z-index: var(--lake-popup-z-index);
|
|
370
350
|
list-style: none;
|
|
371
351
|
margin: 0;
|
|
372
352
|
padding: 6px 0;
|
|
373
|
-
border: 1px solid var(--lake-border-color);
|
|
353
|
+
border: 1px solid var(--lake-popup-border-color);
|
|
374
354
|
border-radius: 5px;
|
|
375
355
|
background-color: #fff;
|
|
376
356
|
box-shadow: var(--lake-popup-shadow);
|
|
@@ -536,7 +516,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
536
516
|
}
|
|
537
517
|
.lake-color-dropdown-menu li:first-child .lake-dropdown-menu-text {
|
|
538
518
|
width: 100%;
|
|
539
|
-
font-size:
|
|
519
|
+
font-size: var(--lake-button-font-size);
|
|
540
520
|
border: 1px solid transparent;
|
|
541
521
|
height: auto;
|
|
542
522
|
}
|
|
@@ -544,7 +524,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
544
524
|
.lake-popup {
|
|
545
525
|
box-sizing: border-box;
|
|
546
526
|
font-family: var(--lake-font-family);
|
|
547
|
-
font-size:
|
|
527
|
+
font-size: var(--lake-popup-font-size);
|
|
548
528
|
font-weight: normal;
|
|
549
529
|
line-height: normal;
|
|
550
530
|
color: var(--lake-text-color);
|
|
@@ -554,12 +534,12 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
554
534
|
.lake-popup ::after {
|
|
555
535
|
box-sizing: border-box;
|
|
556
536
|
}
|
|
557
|
-
.lake-popup button {
|
|
537
|
+
.lake-popup .lake-text-button {
|
|
558
538
|
box-shadow: var(--lake-button-shadow);
|
|
559
539
|
}
|
|
560
540
|
.lake-popup input[type="text"] {
|
|
561
541
|
font-family: var(--lake-font-family);
|
|
562
|
-
font-size:
|
|
542
|
+
font-size: var(--lake-popup-font-size);
|
|
563
543
|
color: var(--lake-text-color);
|
|
564
544
|
border-radius: 5px;
|
|
565
545
|
border: 1px solid var(--lake-input-border-color);
|
|
@@ -580,9 +560,9 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
580
560
|
position: absolute;
|
|
581
561
|
top: 0;
|
|
582
562
|
left: 0;
|
|
583
|
-
z-index: var(--lake-z-index
|
|
563
|
+
z-index: var(--lake-popup-z-index);
|
|
584
564
|
list-style: none;
|
|
585
|
-
border: 1px solid var(--lake-border-color);
|
|
565
|
+
border: 1px solid var(--lake-popup-border-color);
|
|
586
566
|
border-radius: 5px;
|
|
587
567
|
margin: 0;
|
|
588
568
|
padding: 4px 8px;
|
|
@@ -714,8 +694,8 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
714
694
|
position: absolute;
|
|
715
695
|
top: 0;
|
|
716
696
|
left: 0;
|
|
717
|
-
z-index: var(--lake-z-index
|
|
718
|
-
border: 1px solid var(--lake-border-color);
|
|
697
|
+
z-index: var(--lake-popup-z-index);
|
|
698
|
+
border: 1px solid var(--lake-popup-border-color);
|
|
719
699
|
border-radius: 5px;
|
|
720
700
|
padding: 16px;
|
|
721
701
|
width: fit-content;
|
|
@@ -1160,7 +1140,7 @@ lake-box[name="video"] .lake-box-hovered .lake-resizer {
|
|
|
1160
1140
|
|
|
1161
1141
|
.lake-file {
|
|
1162
1142
|
position: relative;
|
|
1163
|
-
font-size:
|
|
1143
|
+
font-size: var(--lake-font-size);
|
|
1164
1144
|
font-weight: normal;
|
|
1165
1145
|
line-height: 0;
|
|
1166
1146
|
border: 1px solid transparent;
|
|
@@ -1403,3 +1383,25 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
|
|
|
1403
1383
|
.lake-toolbar .lake-upload input[type="file"] {
|
|
1404
1384
|
display: none;
|
|
1405
1385
|
}
|
|
1386
|
+
|
|
1387
|
+
.lake-floating-toolbar {
|
|
1388
|
+
position: absolute;
|
|
1389
|
+
top: 0;
|
|
1390
|
+
left: 0;
|
|
1391
|
+
z-index: var(--lake-popup-z-index);
|
|
1392
|
+
border: 1px solid var(--lake-border-color);
|
|
1393
|
+
border-radius: 5px;
|
|
1394
|
+
background-color: #fff;
|
|
1395
|
+
box-shadow: 0 2px 0 #00000005;
|
|
1396
|
+
padding: 4px;
|
|
1397
|
+
display: flex;
|
|
1398
|
+
flex-wrap: wrap;
|
|
1399
|
+
align-items: center;
|
|
1400
|
+
}
|
|
1401
|
+
.lake-floating-toolbar .lake-toolbar-divider {
|
|
1402
|
+
width: 1px;
|
|
1403
|
+
height: 20px;
|
|
1404
|
+
margin: 0 4px;
|
|
1405
|
+
border-left: 1px solid var(--lake-border-color);
|
|
1406
|
+
user-select: none;
|
|
1407
|
+
}
|