noteloom 0.3.2 → 0.3.3
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 +63 -1
- package/dist/index.d.ts +23 -2
- package/dist/noteloom.cjs +91 -8
- package/dist/noteloom.cjs.map +1 -1
- package/dist/noteloom.es.js +4916 -4491
- package/dist/noteloom.es.js.map +1 -1
- package/dist/style.css +83 -0
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -392,6 +392,31 @@
|
|
|
392
392
|
display: block;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
+
.be-code-block-body {
|
|
396
|
+
display: flex;
|
|
397
|
+
align-items: stretch;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.be-code-block-gutter {
|
|
401
|
+
flex-shrink: 0;
|
|
402
|
+
display: flex;
|
|
403
|
+
flex-direction: column;
|
|
404
|
+
padding: 0.9em 0.6em 0.9em 1em;
|
|
405
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
406
|
+
font-size: 0.88rem;
|
|
407
|
+
line-height: 1.5;
|
|
408
|
+
color: var(--noteloom-text-faint);
|
|
409
|
+
text-align: right;
|
|
410
|
+
user-select: none;
|
|
411
|
+
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.be-code-block-body .be-code-block-pre {
|
|
415
|
+
flex: 1;
|
|
416
|
+
min-width: 0;
|
|
417
|
+
line-height: 1.5;
|
|
418
|
+
}
|
|
419
|
+
|
|
395
420
|
/* --- list items (bulleted / numbered / to-do / toggle) --- */
|
|
396
421
|
|
|
397
422
|
.be-list-item {
|
|
@@ -779,6 +804,36 @@
|
|
|
779
804
|
font-weight: 500;
|
|
780
805
|
}
|
|
781
806
|
|
|
807
|
+
.be-embed-uploading {
|
|
808
|
+
font-size: 0.85rem;
|
|
809
|
+
color: var(--noteloom-text-muted);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.be-embed-upload-error {
|
|
813
|
+
display: flex;
|
|
814
|
+
align-items: center;
|
|
815
|
+
gap: 8px;
|
|
816
|
+
width: 100%;
|
|
817
|
+
max-width: 360px;
|
|
818
|
+
background: var(--noteloom-danger-soft);
|
|
819
|
+
color: var(--noteloom-danger);
|
|
820
|
+
border-radius: var(--noteloom-radius-md);
|
|
821
|
+
padding: 0.5em 0.7em;
|
|
822
|
+
font-size: 0.8rem;
|
|
823
|
+
text-align: left;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.be-embed-upload-error button {
|
|
827
|
+
margin-left: auto;
|
|
828
|
+
border: none;
|
|
829
|
+
background: transparent;
|
|
830
|
+
color: inherit;
|
|
831
|
+
cursor: pointer;
|
|
832
|
+
font-size: 1rem;
|
|
833
|
+
line-height: 1;
|
|
834
|
+
padding: 0 2px;
|
|
835
|
+
}
|
|
836
|
+
|
|
782
837
|
/* --- canvas (freehand drawing) --- */
|
|
783
838
|
|
|
784
839
|
.be-canvas {
|
|
@@ -1199,6 +1254,23 @@
|
|
|
1199
1254
|
margin-bottom: 4px;
|
|
1200
1255
|
}
|
|
1201
1256
|
|
|
1257
|
+
.be-table-header-menu-field-type {
|
|
1258
|
+
display: flex;
|
|
1259
|
+
flex-direction: column;
|
|
1260
|
+
gap: 4px;
|
|
1261
|
+
padding: 4px;
|
|
1262
|
+
border-bottom: 1px solid var(--noteloom-border);
|
|
1263
|
+
margin-bottom: 4px;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
.be-table-header-menu-field-type .be-select {
|
|
1267
|
+
width: 100%;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
.be-table-header-menu-field-type .be-select-trigger {
|
|
1271
|
+
width: 100%;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1202
1274
|
.be-table-header-menu-type {
|
|
1203
1275
|
display: flex;
|
|
1204
1276
|
flex-direction: row;
|
|
@@ -1900,6 +1972,17 @@ tr.be-table-row:hover .be-table-delete-row {
|
|
|
1900
1972
|
border-color: var(--noteloom-accent);
|
|
1901
1973
|
}
|
|
1902
1974
|
|
|
1975
|
+
.be-modal-field-checkbox {
|
|
1976
|
+
display: flex;
|
|
1977
|
+
align-items: center;
|
|
1978
|
+
gap: 0.5em;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
.be-modal-field-checkbox > span {
|
|
1982
|
+
font-size: 0.85rem;
|
|
1983
|
+
color: var(--noteloom-text);
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1903
1986
|
.be-modal-color-row {
|
|
1904
1987
|
display: flex;
|
|
1905
1988
|
gap: 8px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "noteloom",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Zero-runtime-dependency, React-first block/rich-text editor — nestable content blocks, inline widgets, slash commands, undo/redo, clipboard, real-time collaborative editing (a custom CRDT over WebRTC), offline-first persistence (IndexedDB + PWA-ready), and live presence, with an optional default theme (noteloom/style.css).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|