@crossworks/share-ui 0.232.365 → 0.232.369

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/styles/app.css +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/share-ui",
3
- "version": "0.232.365",
3
+ "version": "0.232.369",
4
4
  "description": "The server-rendered share surface — the /s/<token> presenters, view-payload contract, mini-app sandbox, and the few primitives they need. Lives in MANTLE (the server renders these), published for jackdaw to consume; may depend only on @mantle/{client-types,content-core} (the jackdaw-repo-split boundary).",
5
5
  "exports": {
6
6
  "./app-presenter": "./src/app-presenter.tsx",
@@ -38,8 +38,8 @@
38
38
  "@dicebear/core": "^10.7.0",
39
39
  "@dicebear/styles": "^10.6.0",
40
40
  "@firecms/neat": "1.0.2",
41
- "@mantle/client-types": "npm:@crossworks/client-types@0.232.365",
42
- "@mantle/content-core": "npm:@crossworks/content-core@0.232.365",
41
+ "@mantle/client-types": "npm:@crossworks/client-types@0.232.369",
42
+ "@mantle/content-core": "npm:@crossworks/content-core@0.232.369",
43
43
  "@radix-ui/react-label": "^2.1.15",
44
44
  "@radix-ui/react-slot": "^1.3.3",
45
45
  "class-variance-authority": "^0.7.1",
package/styles/app.css CHANGED
@@ -832,9 +832,15 @@
832
832
  /* Folder index block (folder phase 7) on the raw/public render: a live list
833
833
  of a folder's pages for a signed-in reader; an open link has no reader to
834
834
  list for, so the public surface emits an inert label. In-app the block is
835
- filled after rendering (StaticDoc) or drawn by a NodeView. */
835
+ filled after rendering (StaticDoc) or drawn by a NodeView.
836
+ The label's chrome is only for the unfilled block (empty, or holding the
837
+ public render's `.folder-index-label`): a block the client filled with its
838
+ own card must not get a second border and capitals around it. */
836
839
  .ProseMirror [data-folder-index] {
837
840
  margin-block: 0.5rem;
841
+ }
842
+ .ProseMirror [data-folder-index]:empty,
843
+ .ProseMirror [data-folder-index]:has(> .folder-index-label) {
838
844
  border: 1px solid var(--border);
839
845
  border-radius: var(--radius);
840
846
  background-color: var(--card);