noteloom 0.1.1 → 0.1.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/dist/style.css CHANGED
@@ -1175,6 +1175,69 @@ tr.be-table-row:hover .be-table-delete-row {
1175
1175
  border-radius: var(--noteloom-radius-sm);
1176
1176
  }
1177
1177
 
1178
+ /* --- document export (view source) --- */
1179
+
1180
+ .be-export-trigger {
1181
+ display: inline-flex;
1182
+ align-items: center;
1183
+ gap: 6px;
1184
+ border: 1px solid var(--noteloom-border);
1185
+ background: var(--noteloom-bg);
1186
+ color: var(--noteloom-text-muted);
1187
+ border-radius: var(--noteloom-radius-sm);
1188
+ padding: 5px 10px;
1189
+ font-size: 0.85rem;
1190
+ cursor: pointer;
1191
+ }
1192
+
1193
+ .be-export-trigger:hover {
1194
+ background: var(--noteloom-bg-hover);
1195
+ color: var(--noteloom-text);
1196
+ }
1197
+
1198
+ .be-export-tabs {
1199
+ display: flex;
1200
+ gap: 4px;
1201
+ margin-bottom: 10px;
1202
+ border-bottom: 1px solid var(--noteloom-border);
1203
+ }
1204
+
1205
+ .be-export-tab {
1206
+ border: none;
1207
+ background: transparent;
1208
+ color: var(--noteloom-text-muted);
1209
+ padding: 6px 10px;
1210
+ margin-bottom: -1px;
1211
+ border-bottom: 2px solid transparent;
1212
+ font-size: 0.85rem;
1213
+ font-weight: 500;
1214
+ cursor: pointer;
1215
+ }
1216
+
1217
+ .be-export-tab:hover {
1218
+ color: var(--noteloom-text);
1219
+ }
1220
+
1221
+ .be-export-tab-active {
1222
+ color: var(--noteloom-accent);
1223
+ border-bottom-color: var(--noteloom-accent);
1224
+ }
1225
+
1226
+ .be-export-pre {
1227
+ max-height: 50vh;
1228
+ overflow: auto;
1229
+ margin: 0;
1230
+ padding: 0.9em 1em;
1231
+ border-radius: var(--noteloom-radius-md);
1232
+ background: var(--noteloom-code-bg);
1233
+ color: var(--noteloom-code-text);
1234
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1235
+ font-size: 0.8rem;
1236
+ line-height: 1.5;
1237
+ white-space: pre-wrap;
1238
+ overflow-wrap: anywhere;
1239
+ }
1240
+
1178
1241
  /* --- trailing click-to-continue space --- */
1179
1242
 
1180
1243
  .be-trailing-space {
@@ -1209,6 +1272,10 @@ tr.be-table-row:hover .be-table-delete-row {
1209
1272
  box-shadow: var(--noteloom-shadow);
1210
1273
  }
1211
1274
 
1275
+ .be-modal-large {
1276
+ max-width: 640px;
1277
+ }
1278
+
1212
1279
  .be-modal-title {
1213
1280
  font-weight: 600;
1214
1281
  font-size: 1.05rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noteloom",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Zero-runtime-dependency, React-first block/rich-text editor — Notion-style blocks, inline widgets, slash commands, undo/redo, and clipboard, with an optional default theme (noteloom/style.css).",
5
5
  "keywords": [
6
6
  "react",