lakelib 0.3.1 → 0.3.2
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 +1 -1
- package/dist/lake.min.css +30 -0
- package/dist/lake.min.js +11 -11
- package/dist/lake.min.js.map +1 -1
- package/lib/i18n/en-US/index.d.ts +8 -0
- package/lib/i18n/ja/index.d.ts +8 -0
- package/lib/i18n/ko/index.d.ts +8 -0
- package/lib/i18n/types.d.ts +64 -0
- package/lib/i18n/zh-CN/index.d.ts +8 -0
- package/lib/lake.js +295 -192
- package/lib/lake.js.map +1 -1
- package/lib/models/box.d.ts +5 -5
- package/lib/models/fragment.d.ts +2 -2
- package/lib/models/nodes.d.ts +5 -5
- package/lib/models/range.d.ts +1 -1
- package/lib/parsers/html-parser.d.ts +2 -2
- package/lib/parsers/text-parser.d.ts +1 -1
- package/lib/ui/button.d.ts +3 -3
- package/lib/ui/dropdown.d.ts +7 -7
- package/lib/ui/toolbar.d.ts +1 -1
- package/package.json +11 -9
- package/dist/lake.css +0 -1863
|
@@ -74,6 +74,14 @@ declare const _default: {
|
|
|
74
74
|
checklistDesc: string;
|
|
75
75
|
table: string;
|
|
76
76
|
tableDesc: string;
|
|
77
|
+
infoAlert: string;
|
|
78
|
+
infoAlertDesc: string;
|
|
79
|
+
tipAlert: string;
|
|
80
|
+
tipAlertDesc: string;
|
|
81
|
+
warningAlert: string;
|
|
82
|
+
warningAlertDesc: string;
|
|
83
|
+
dangerAlert: string;
|
|
84
|
+
dangerAlertDesc: string;
|
|
77
85
|
hr: string;
|
|
78
86
|
hrDesc: string;
|
|
79
87
|
codeBlock: string;
|
package/lib/i18n/ja/index.d.ts
CHANGED
|
@@ -74,6 +74,14 @@ declare const _default: {
|
|
|
74
74
|
checklistDesc: string;
|
|
75
75
|
table: string;
|
|
76
76
|
tableDesc: string;
|
|
77
|
+
infoAlert: string;
|
|
78
|
+
infoAlertDesc: string;
|
|
79
|
+
tipAlert: string;
|
|
80
|
+
tipAlertDesc: string;
|
|
81
|
+
warningAlert: string;
|
|
82
|
+
warningAlertDesc: string;
|
|
83
|
+
dangerAlert: string;
|
|
84
|
+
dangerAlertDesc: string;
|
|
77
85
|
hr: string;
|
|
78
86
|
hrDesc: string;
|
|
79
87
|
codeBlock: string;
|
package/lib/i18n/ko/index.d.ts
CHANGED
|
@@ -74,6 +74,14 @@ declare const _default: {
|
|
|
74
74
|
checklistDesc: string;
|
|
75
75
|
table: string;
|
|
76
76
|
tableDesc: string;
|
|
77
|
+
infoAlert: string;
|
|
78
|
+
infoAlertDesc: string;
|
|
79
|
+
tipAlert: string;
|
|
80
|
+
tipAlertDesc: string;
|
|
81
|
+
warningAlert: string;
|
|
82
|
+
warningAlertDesc: string;
|
|
83
|
+
dangerAlert: string;
|
|
84
|
+
dangerAlertDesc: string;
|
|
77
85
|
hr: string;
|
|
78
86
|
hrDesc: string;
|
|
79
87
|
codeBlock: string;
|
package/lib/i18n/types.d.ts
CHANGED
|
@@ -296,6 +296,38 @@ type RootTranslation = {
|
|
|
296
296
|
* Insert a table
|
|
297
297
|
*/
|
|
298
298
|
tableDesc: string;
|
|
299
|
+
/**
|
|
300
|
+
* Info alert
|
|
301
|
+
*/
|
|
302
|
+
infoAlert: string;
|
|
303
|
+
/**
|
|
304
|
+
* Create an info alert
|
|
305
|
+
*/
|
|
306
|
+
infoAlertDesc: string;
|
|
307
|
+
/**
|
|
308
|
+
* Tip alert
|
|
309
|
+
*/
|
|
310
|
+
tipAlert: string;
|
|
311
|
+
/**
|
|
312
|
+
* Create a tip alert
|
|
313
|
+
*/
|
|
314
|
+
tipAlertDesc: string;
|
|
315
|
+
/**
|
|
316
|
+
* Warning alert
|
|
317
|
+
*/
|
|
318
|
+
warningAlert: string;
|
|
319
|
+
/**
|
|
320
|
+
* Create a warning alert
|
|
321
|
+
*/
|
|
322
|
+
warningAlertDesc: string;
|
|
323
|
+
/**
|
|
324
|
+
* Danger alert
|
|
325
|
+
*/
|
|
326
|
+
dangerAlert: string;
|
|
327
|
+
/**
|
|
328
|
+
* Create a danger alert
|
|
329
|
+
*/
|
|
330
|
+
dangerAlertDesc: string;
|
|
299
331
|
/**
|
|
300
332
|
* Horizontal line
|
|
301
333
|
*/
|
|
@@ -877,6 +909,38 @@ export type TranslationFunctions = {
|
|
|
877
909
|
* Insert a table
|
|
878
910
|
*/
|
|
879
911
|
tableDesc: () => LocalizedString;
|
|
912
|
+
/**
|
|
913
|
+
* Info alert
|
|
914
|
+
*/
|
|
915
|
+
infoAlert: () => LocalizedString;
|
|
916
|
+
/**
|
|
917
|
+
* Create an info alert
|
|
918
|
+
*/
|
|
919
|
+
infoAlertDesc: () => LocalizedString;
|
|
920
|
+
/**
|
|
921
|
+
* Tip alert
|
|
922
|
+
*/
|
|
923
|
+
tipAlert: () => LocalizedString;
|
|
924
|
+
/**
|
|
925
|
+
* Create a tip alert
|
|
926
|
+
*/
|
|
927
|
+
tipAlertDesc: () => LocalizedString;
|
|
928
|
+
/**
|
|
929
|
+
* Warning alert
|
|
930
|
+
*/
|
|
931
|
+
warningAlert: () => LocalizedString;
|
|
932
|
+
/**
|
|
933
|
+
* Create a warning alert
|
|
934
|
+
*/
|
|
935
|
+
warningAlertDesc: () => LocalizedString;
|
|
936
|
+
/**
|
|
937
|
+
* Danger alert
|
|
938
|
+
*/
|
|
939
|
+
dangerAlert: () => LocalizedString;
|
|
940
|
+
/**
|
|
941
|
+
* Create a danger alert
|
|
942
|
+
*/
|
|
943
|
+
dangerAlertDesc: () => LocalizedString;
|
|
880
944
|
/**
|
|
881
945
|
* Horizontal line
|
|
882
946
|
*/
|
|
@@ -74,6 +74,14 @@ declare const _default: {
|
|
|
74
74
|
checklistDesc: string;
|
|
75
75
|
table: string;
|
|
76
76
|
tableDesc: string;
|
|
77
|
+
infoAlert: string;
|
|
78
|
+
infoAlertDesc: string;
|
|
79
|
+
tipAlert: string;
|
|
80
|
+
tipAlertDesc: string;
|
|
81
|
+
warningAlert: string;
|
|
82
|
+
warningAlertDesc: string;
|
|
83
|
+
dangerAlert: string;
|
|
84
|
+
dangerAlertDesc: string;
|
|
77
85
|
hr: string;
|
|
78
86
|
hrDesc: string;
|
|
79
87
|
codeBlock: string;
|