@oxide/react-asciidoc 2.0.0--canary.54.27011587789.0 → 2.0.0
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 +12 -10
- package/dist/react-asciidoc.js +120 -141
- package/dist/react-asciidoc.umd.cjs +11 -31
- package/dist/types/utils/prepareDocument.d.ts +3 -3
- package/package.json +1 -14
|
@@ -140,9 +140,9 @@ export interface Cell extends BaseBlock {
|
|
|
140
140
|
rowSpan: number | undefined;
|
|
141
141
|
text: string | undefined;
|
|
142
142
|
textInlines?: InlineNode[] | undefined;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
content: string
|
|
143
|
+
/** Per-paragraph HTML strings for cell rendering. Empty array for asciidoc
|
|
144
|
+
* cells (rendered via `<Content>`) and for empty cells. */
|
|
145
|
+
content: string[] | undefined;
|
|
146
146
|
/** Per-paragraph inline ASTs mirroring the paragraph boundaries of
|
|
147
147
|
* `content`. Lets the Table template render cell inline content through
|
|
148
148
|
* `<RenderInline>` (so `inlineOverrides` apply) instead of injecting the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxide/react-asciidoc",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"build": "npm run clean && vite build && tsc",
|
|
26
26
|
"test": "vitest run",
|
|
27
27
|
"test:watch": "vitest",
|
|
28
|
-
"release": "auto shipit",
|
|
29
28
|
"fmt": "prettier --write --ignore-path ./.gitignore .",
|
|
30
29
|
"fmt:check": "prettier --check --ignore-path ./.gitignore . ",
|
|
31
30
|
"tsc": "tsc"
|
|
@@ -43,7 +42,6 @@
|
|
|
43
42
|
"@types/react": "^18.0.18",
|
|
44
43
|
"@types/react-dom": "^18.0.6",
|
|
45
44
|
"@vitejs/plugin-react": "^5.0.3",
|
|
46
|
-
"auto": "^11.3.0",
|
|
47
45
|
"classnames": "^2.5.1",
|
|
48
46
|
"eslint": "^9.36.0",
|
|
49
47
|
"html-entities": "^2.6.0",
|
|
@@ -66,17 +64,6 @@
|
|
|
66
64
|
"react": ">=18.0.0",
|
|
67
65
|
"react-dom": ">=18.0.0"
|
|
68
66
|
},
|
|
69
|
-
"auto": {
|
|
70
|
-
"plugins": [
|
|
71
|
-
[
|
|
72
|
-
"npm",
|
|
73
|
-
{
|
|
74
|
-
"setRcToken": false
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"released"
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
67
|
"publishConfig": {
|
|
81
68
|
"registry": "https://registry.npmjs.org/",
|
|
82
69
|
"access": "public"
|