@colixsystems/widget-sdk 0.277.1 → 0.277.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/README.md CHANGED
@@ -86,7 +86,11 @@ See the design reference for the full architecture: [`docs/architecture/widget-m
86
86
 
87
87
  ## Status
88
88
 
89
- `v0.277.1` — pre-publish. The package surface (types, function names, export paths) is the v1 contract; runtime behaviour for some hooks is stubbed (each hook documents what's wired and what isn't). It is **not yet published to npm**.
89
+ `v0.277.2` — pre-publish. The package surface (types, function names, export paths) is the v1 contract; runtime behaviour for some hooks is stubbed (each hook documents what's wired and what isn't). It is **not yet published to npm**.
90
+
91
+ ### What's new in 0.277.2
92
+
93
+ **`<MarkdownInput>` shows list numbers and bullets on web.** The editor declares its own list markers, so a host page whose stylesheet resets list styles no longer hides them.
90
94
 
91
95
  ### What's new in 0.277.1
92
96
 
@@ -2,7 +2,8 @@
2
2
  //
3
3
  // Kept apart from the editor module so the web host can style the field
4
4
  // before the lazily loaded editor arrives, and the native WebView page can
5
- // paint the same rules from the tokens it is sent.
5
+ // paint the same rules from the tokens it is sent. List markers are declared
6
+ // outright: a host stylesheet reset (Tailwind preflight) strips them.
6
7
 
7
8
  // Theme values are written into a stylesheet, so nothing may close the rule.
8
9
  const clean = (value) => String(value == null ? "" : value).replace(/[{}<>;\\]/g, "");
@@ -30,6 +31,8 @@ ${s} .ProseMirror h1{font-size:${px(t.headingSizes[1])};line-height:1.3}
30
31
  ${s} .ProseMirror h2{font-size:${px(t.headingSizes[2])};line-height:1.3}
31
32
  ${s} .ProseMirror h3{font-size:${px(t.headingSizes[3])};line-height:1.3}
32
33
  ${s} .ProseMirror ul,${s} .ProseMirror ol{margin:0 0 ${px(t.blockGap)};padding-left:1.4em}
34
+ ${s} .ProseMirror ul{list-style-type:disc}
35
+ ${s} .ProseMirror ol{list-style-type:decimal}
33
36
  ${s} .ProseMirror li p{margin:0}
34
37
  ${s} .ProseMirror code{font-family:ui-monospace,Menlo,monospace;font-size:${px(t.codeSize)};color:${t.mutedColor}}
35
38
  ${s} .ProseMirror pre{margin:0 0 ${px(t.blockGap)};padding:${px(t.blockGap)};border:1px solid ${t.border};border-radius:${px(t.radius)};white-space:pre-wrap}