lakelib 0.1.6 → 0.1.8
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 +25 -2
- package/dist/lake.min.js +16 -10
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.css +25 -2
- package/lib/lake.js +333 -24
- package/lib/lake.js.map +1 -1
- package/lib/types/editor.d.ts +4 -0
- package/lib/types/models/nodes.d.ts +1 -0
- package/lib/types/models/range.d.ts +1 -0
- package/lib/types/plugins/drop.d.ts +3 -0
- package/lib/types/ui/button.d.ts +2 -1
- package/lib/types/ui/dropdown.d.ts +3 -1
- package/lib/types/ui/toolbar.d.ts +4 -1
- package/lib/types/ui/upload.d.ts +2 -2
- package/package.json +1 -1
package/dist/lake.css
CHANGED
|
@@ -32,9 +32,11 @@
|
|
|
32
32
|
--input-outline: 2px solid #69b1ff;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
.lake-container-wrapper {
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
35
38
|
.lake-container {
|
|
36
39
|
box-sizing: content-box;
|
|
37
|
-
position: relative;
|
|
38
40
|
font-family: var(--font-family);
|
|
39
41
|
font-size: 16px;
|
|
40
42
|
font-weight: normal;
|
|
@@ -73,6 +75,23 @@
|
|
|
73
75
|
color: var(--link-hover-color);
|
|
74
76
|
text-decoration: underline;
|
|
75
77
|
}
|
|
78
|
+
.lake-drop-indication {
|
|
79
|
+
position: absolute;
|
|
80
|
+
height: 2px;
|
|
81
|
+
background-color: #1677ff;
|
|
82
|
+
z-index: 1;
|
|
83
|
+
pointer-events: none;
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
.lake-drop-indication svg {
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: -7.5px;
|
|
89
|
+
left: -10px;
|
|
90
|
+
width: 16px;
|
|
91
|
+
height: 16px;
|
|
92
|
+
fill: #1677ff;
|
|
93
|
+
pointer-events: none;
|
|
94
|
+
}
|
|
76
95
|
|
|
77
96
|
.lake-container strong {
|
|
78
97
|
font-weight: 600;
|
|
@@ -249,6 +268,10 @@ button.lake-text-button span {
|
|
|
249
268
|
box-shadow: var(--popup-shadow);
|
|
250
269
|
display: none;
|
|
251
270
|
}
|
|
271
|
+
.lake-dropdown[placement="top"] .lake-dropdown-menu {
|
|
272
|
+
top: auto;
|
|
273
|
+
bottom: 30px;
|
|
274
|
+
}
|
|
252
275
|
.lake-dropdown .lake-dropdown-menu li {
|
|
253
276
|
display: flex;
|
|
254
277
|
align-items: center;
|
|
@@ -858,7 +881,7 @@ lake-box[name="image"] .lake-box-selected .lake-image-error {
|
|
|
858
881
|
|
|
859
882
|
/* code block */
|
|
860
883
|
lake-box[name="codeBlock"] {
|
|
861
|
-
margin: 16px
|
|
884
|
+
margin-bottom: 16px;
|
|
862
885
|
}
|
|
863
886
|
lake-box[name="codeBlock"] .lake-box-focused .lake-code-block,
|
|
864
887
|
lake-box[name="codeBlock"] .lake-box-activated .lake-code-block {
|