@levo-so/site-runtime 0.3.11 → 0.3.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levo-so/site-runtime",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "Runtime for Levo Studio v3 sites — the editor preview inspector, page head metadata, and the Levo data client.",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -21,9 +21,9 @@
21
21
  "types": "./popups.d.ts",
22
22
  "default": "./popups.js"
23
23
  },
24
- "./rich-text": {
25
- "types": "./rich-text.d.ts",
26
- "default": "./rich-text.js"
24
+ "./blog-content": {
25
+ "types": "./blog-content.d.ts",
26
+ "default": "./blog-content.js"
27
27
  },
28
28
  "./start": {
29
29
  "types": "./start.d.ts",
@@ -85,8 +85,8 @@
85
85
  "@stripe/react-stripe-js": "3.1.1",
86
86
  "@stripe/stripe-js": "5.5.0",
87
87
  "react-razorpay": "3.0.1",
88
- "@levo-so/core": "0.3.11",
89
- "@levo-so/insights": "0.3.11"
88
+ "@levo-so/core": "0.3.12",
89
+ "@levo-so/insights": "0.3.12"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@base-ui/react": "^1.5.0",
package/popups.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./dist-Cl_sKk9y.js";
1
+ import { t as e } from "./dist-B7c9xjWu.js";
2
2
  //#region src/popups/usePopup.ts
3
3
  var t = () => e();
4
4
  //#endregion
package/rich-text.d.ts DELETED
@@ -1,25 +0,0 @@
1
- export declare interface ILevoRichTextProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "content"> {
2
- /**
3
- * A record's rich-text field, exactly as the API returns it — `post.content`, or any
4
- * collection field of kind `richtext`. Every shape the platform has ever stored is
5
- * accepted; see {@link LevoRichText}.
6
- */
7
- content: unknown;
8
- }
9
-
10
- /**
11
- * Render a rich-text field — a blog post's body, a collection record's long-form field.
12
- *
13
- * THE way to put rich text on the page: the value is a ProseMirror document, not a string, so
14
- * `String(post.content)` prints `[object Object]` and `dangerouslySetInnerHTML` has nothing to
15
- * insert. This renders the same node set the Levo editor writes and Levo-hosted pages show —
16
- * headings, lists, code blocks, images, bookmarks, buttons, embedded collections — server-side,
17
- * so the article is in the SSR HTML where crawlers read it.
18
- *
19
- * Typography comes from the shared prose theme in `@levo-so/site-runtime/setup.css` (already
20
- * loaded by the site shell). Style the wrapper through `className` as usual; content the field
21
- * doesn't contain renders nothing, so an empty body is an empty region, never a crash.
22
- */
23
- export declare const LevoRichText: React.FC<ILevoRichTextProps>;
24
-
25
- export { }