ugly-app 0.1.669 → 0.1.670

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.
@@ -1,2 +1,2 @@
1
- export declare const CLI_VERSION = "0.1.669";
1
+ export declare const CLI_VERSION = "0.1.670";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // Auto-generated by prebuild — do not edit manually
2
- export const CLI_VERSION = "0.1.669";
2
+ export const CLI_VERSION = "0.1.670";
3
3
  //# sourceMappingURL=version.js.map
@@ -360,34 +360,39 @@ ol:has(> .task-list-item) {
360
360
  pointer-events: none;
361
361
  }
362
362
 
363
- /* Collaborative editing — remote cursor selections (y-prosemirror) */
364
- .yRemoteSelection {
365
- opacity: 0.3;
366
- }
367
-
368
- .yRemoteSelectionHead {
369
- position: absolute;
370
- border-left: 2px solid;
371
- border-color: inherit;
372
- height: 1.2em;
363
+ /* Collaborative editing — remote carets + selections (y-prosemirror).
364
+ * These are the class names the default cursor/selection builders emit; the
365
+ * caret colour comes from an inline `border-color`, the label background from an
366
+ * inline `background-color`. We only handle layout here so the colours win. */
367
+ .ProseMirror-yjs-cursor {
368
+ position: relative;
373
369
  margin-left: -1px;
370
+ margin-right: -1px;
371
+ border-left-width: 2px;
372
+ border-left-style: solid;
373
+ border-right-width: 0;
374
+ box-sizing: border-box;
375
+ word-break: normal;
376
+ pointer-events: none;
374
377
  }
375
-
376
- .yRemoteSelectionHead::after {
377
- content: attr(data-user);
378
+ .ProseMirror-yjs-cursor > div {
378
379
  position: absolute;
379
- top: -1.4em;
380
- left: -1px;
380
+ top: -1.5em;
381
+ left: -2px;
381
382
  font-size: 10px;
382
- font-weight: 600;
383
+ font-weight: 700;
383
384
  line-height: 1;
384
- padding: 1px 4px;
385
- border-radius: 3px;
386
- color: #fff;
387
- background-color: inherit;
388
385
  white-space: nowrap;
386
+ color: #fff;
387
+ padding: 1px 5px;
388
+ border-radius: 4px;
389
+ user-select: none;
389
390
  pointer-events: none;
390
391
  }
392
+ .ProseMirror-yjs-selection {
393
+ /* background-color (with alpha) is set inline by the selection builder */
394
+ border-radius: 1px;
395
+ }
391
396
 
392
397
  /* Mermaid / Vega-Lite / Markmap / SVG diagram blocks */
393
398
  .mermaid-block,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugly-app",
3
- "version": "0.1.669",
3
+ "version": "0.1.670",
4
4
  "type": "module",
5
5
  "comment:files": "Allowlist what ships to npm. dist = runtime; src = sourcemap targets (dist/*.js.map reference ../../src/); templates = CLI scaffold. Everything else at repo root (.pgdata local Postgres, coverage, assets/icons sources, test/, test-results/) is excluded by omission. The !negations strip the scaffold's installed deps + cruft (templates/node_modules is 200MB+ and must never ship). package.json/README/LICENSE ship automatically.",
6
6
  "files": [
@@ -1,2 +1,2 @@
1
1
  // Auto-generated by prebuild — do not edit manually
2
- export const CLI_VERSION = "0.1.669";
2
+ export const CLI_VERSION = "0.1.670";
@@ -360,34 +360,39 @@ ol:has(> .task-list-item) {
360
360
  pointer-events: none;
361
361
  }
362
362
 
363
- /* Collaborative editing — remote cursor selections (y-prosemirror) */
364
- .yRemoteSelection {
365
- opacity: 0.3;
366
- }
367
-
368
- .yRemoteSelectionHead {
369
- position: absolute;
370
- border-left: 2px solid;
371
- border-color: inherit;
372
- height: 1.2em;
363
+ /* Collaborative editing — remote carets + selections (y-prosemirror).
364
+ * These are the class names the default cursor/selection builders emit; the
365
+ * caret colour comes from an inline `border-color`, the label background from an
366
+ * inline `background-color`. We only handle layout here so the colours win. */
367
+ .ProseMirror-yjs-cursor {
368
+ position: relative;
373
369
  margin-left: -1px;
370
+ margin-right: -1px;
371
+ border-left-width: 2px;
372
+ border-left-style: solid;
373
+ border-right-width: 0;
374
+ box-sizing: border-box;
375
+ word-break: normal;
376
+ pointer-events: none;
374
377
  }
375
-
376
- .yRemoteSelectionHead::after {
377
- content: attr(data-user);
378
+ .ProseMirror-yjs-cursor > div {
378
379
  position: absolute;
379
- top: -1.4em;
380
- left: -1px;
380
+ top: -1.5em;
381
+ left: -2px;
381
382
  font-size: 10px;
382
- font-weight: 600;
383
+ font-weight: 700;
383
384
  line-height: 1;
384
- padding: 1px 4px;
385
- border-radius: 3px;
386
- color: #fff;
387
- background-color: inherit;
388
385
  white-space: nowrap;
386
+ color: #fff;
387
+ padding: 1px 5px;
388
+ border-radius: 4px;
389
+ user-select: none;
389
390
  pointer-events: none;
390
391
  }
392
+ .ProseMirror-yjs-selection {
393
+ /* background-color (with alpha) is set inline by the selection builder */
394
+ border-radius: 1px;
395
+ }
391
396
 
392
397
  /* Mermaid / Vega-Lite / Markmap / SVG diagram blocks */
393
398
  .mermaid-block,