@fileverse-dev/ddoc 4.8.16 → 5.0.0-unstable-styles-1
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 +32 -8
- package/dist/headless-editor-utils.es.js +1 -1
- package/dist/{index-BXcU4L-P.mjs → index-CVwMVBPt.mjs} +1 -1
- package/dist/index.es.js +4 -4
- package/dist/{markdown-source-pane-NAKSRtR5.mjs → markdown-source-pane-BxY2Qs_P.mjs} +1 -1
- package/dist/{split-view-toolbar-Dj7hev5y.mjs → split-view-toolbar-Gbnjf427.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{use-headless-editor-LqOgnUoI.mjs → use-headless-editor-C3wFDi0t.mjs} +1 -1
- package/package.json +11 -7
- package/tailwind.preset.cjs +13 -0
|
@@ -62454,7 +62454,7 @@ class Q3e {
|
|
|
62454
62454
|
vt(this, "table");
|
|
62455
62455
|
vt(this, "colgroup");
|
|
62456
62456
|
vt(this, "contentDOM");
|
|
62457
|
-
this.node = t, this.cellMinWidth = n, this.dom = document.createElement("div"), this.dom.className = "tableWrapper
|
|
62457
|
+
this.node = t, this.cellMinWidth = n, this.dom = document.createElement("div"), this.dom.className = "tableWrapper ddoc-scrollbar", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), iC(t, this.colgroup, this.table, n), this.contentDOM = this.table.appendChild(document.createElement("tbody"));
|
|
62458
62458
|
}
|
|
62459
62459
|
update(t) {
|
|
62460
62460
|
return t.type !== this.node.type ? !1 : (this.node = t, iC(t, this.colgroup, this.table, this.cellMinWidth), !0);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DDoc",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "5.0.0-unstable-styles-1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/fileverse/fileverse-ddocs.git"
|
|
@@ -19,10 +19,12 @@
|
|
|
19
19
|
"types": "./dist/headless-editor-utils.d.ts"
|
|
20
20
|
},
|
|
21
21
|
"./styles": "./dist/style.css",
|
|
22
|
-
"./types": "./dist/package/types.d.ts"
|
|
22
|
+
"./types": "./dist/package/types.d.ts",
|
|
23
|
+
"./tailwind": "./tailwind.preset.cjs"
|
|
23
24
|
},
|
|
24
25
|
"files": [
|
|
25
|
-
"/dist"
|
|
26
|
+
"/dist",
|
|
27
|
+
"/tailwind.preset.cjs"
|
|
26
28
|
],
|
|
27
29
|
"publishConfig": {
|
|
28
30
|
"access": "public"
|
|
@@ -63,6 +65,7 @@
|
|
|
63
65
|
"@tippyjs/react": "^4.2.6",
|
|
64
66
|
"@tiptap/core": "3.11.0",
|
|
65
67
|
"@tiptap/extension-blockquote": "^3.11.0",
|
|
68
|
+
"@tiptap/extension-bold": "^3.11.0",
|
|
66
69
|
"@tiptap/extension-code-block": "^3.11.0",
|
|
67
70
|
"@tiptap/extension-code-block-lowlight": "^3.11.0",
|
|
68
71
|
"@tiptap/extension-collaboration": "3.11.0",
|
|
@@ -74,6 +77,7 @@
|
|
|
74
77
|
"@tiptap/extension-heading": "^3.11.0",
|
|
75
78
|
"@tiptap/extension-highlight": "^3.11.0",
|
|
76
79
|
"@tiptap/extension-horizontal-rule": "^3.11.0",
|
|
80
|
+
"@tiptap/extension-italic": "^3.11.0",
|
|
77
81
|
"@tiptap/extension-list": "^3.11.0",
|
|
78
82
|
"@tiptap/extension-mathematics": "^3.11.0",
|
|
79
83
|
"@tiptap/extension-node-range": "3.11.0",
|
|
@@ -89,8 +93,6 @@
|
|
|
89
93
|
"@tiptap/markdown": "^3.11.0",
|
|
90
94
|
"@tiptap/pm": "3.11.0",
|
|
91
95
|
"@tiptap/react": "3.11.0",
|
|
92
|
-
"@tiptap/extension-bold": "^3.11.0",
|
|
93
|
-
"@tiptap/extension-italic": "^3.11.0",
|
|
94
96
|
"@tiptap/starter-kit": "^3.11.0",
|
|
95
97
|
"@tiptap/suggestion": "^3.11.0",
|
|
96
98
|
"@types/uuid": "^10.0.0",
|
|
@@ -141,7 +143,7 @@
|
|
|
141
143
|
"@dnd-kit/utilities": ">=3.2.2",
|
|
142
144
|
"@fileverse/crypto": ">=0.0.21",
|
|
143
145
|
"@fileverse/ens": "0.0.4",
|
|
144
|
-
"@fileverse/ui": "5.
|
|
146
|
+
"@fileverse/ui": "5.4.0-unstable-styles-1",
|
|
145
147
|
"framer-motion": ">=11.2.10",
|
|
146
148
|
"frimousse": ">=0.3.0",
|
|
147
149
|
"mermaid": "11.14.0",
|
|
@@ -179,6 +181,8 @@
|
|
|
179
181
|
"jsdom": "^25.0.0",
|
|
180
182
|
"lint-staged": "^15.2.10",
|
|
181
183
|
"postcss": "^8.4.38",
|
|
184
|
+
"postcss-nested": "^6.2.0",
|
|
185
|
+
"postcss-selector-parser": "^6.1.4",
|
|
182
186
|
"prettier": "^3.4.2",
|
|
183
187
|
"react": "^18.2.0",
|
|
184
188
|
"react-dom": "^18.2.0",
|
|
@@ -188,4 +192,4 @@
|
|
|
188
192
|
"vitest": "^2.1.0",
|
|
189
193
|
"yjs": "13.6.30"
|
|
190
194
|
}
|
|
191
|
-
}
|
|
195
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Consumers: `presets: [require('@fileverse-dev/ddoc/tailwind')]` and add
|
|
2
|
+
// node_modules/@fileverse-dev/ddoc/dist/index.es.js plus
|
|
3
|
+
// node_modules/@fileverse/ui/dist/index.es.js to `content`.
|
|
4
|
+
module.exports = {
|
|
5
|
+
presets: [require('@fileverse/ui/tailwind')],
|
|
6
|
+
theme: {
|
|
7
|
+
extend: {
|
|
8
|
+
screens: {
|
|
9
|
+
mobile: '960px',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
};
|