@dxos/react-ui-editor 0.6.11-staging.32b42e4 → 0.6.11-staging.66fb9aa
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/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/defaults.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-editor",
|
|
3
|
-
"version": "0.6.11-staging.
|
|
3
|
+
"version": "0.6.11-staging.66fb9aa",
|
|
4
4
|
"description": "Document editing experience within a DXOS shell.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
"lodash.sortby": "^4.7.0",
|
|
48
48
|
"react-dropzone": "^14.2.3",
|
|
49
49
|
"style-mod": "^4.1.0",
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/invariant": "0.6.11-staging.
|
|
57
|
-
"@dxos/log": "0.6.11-staging.
|
|
58
|
-
"@dxos/protocols": "0.6.11-staging.
|
|
59
|
-
"@dxos/react-hooks": "0.6.11-staging.
|
|
60
|
-
"@dxos/react-ui": "0.6.11-staging.
|
|
61
|
-
"@dxos/react-ui-theme": "0.6.11-staging.
|
|
62
|
-
"@dxos/util": "0.6.11-staging.
|
|
50
|
+
"@dxos/async": "0.6.11-staging.66fb9aa",
|
|
51
|
+
"@dxos/context": "0.6.11-staging.66fb9aa",
|
|
52
|
+
"@dxos/automerge": "0.6.11-staging.66fb9aa",
|
|
53
|
+
"@dxos/debug": "0.6.11-staging.66fb9aa",
|
|
54
|
+
"@dxos/display-name": "0.6.11-staging.66fb9aa",
|
|
55
|
+
"@dxos/echo-schema": "0.6.11-staging.66fb9aa",
|
|
56
|
+
"@dxos/invariant": "0.6.11-staging.66fb9aa",
|
|
57
|
+
"@dxos/log": "0.6.11-staging.66fb9aa",
|
|
58
|
+
"@dxos/protocols": "0.6.11-staging.66fb9aa",
|
|
59
|
+
"@dxos/react-hooks": "0.6.11-staging.66fb9aa",
|
|
60
|
+
"@dxos/react-ui": "0.6.11-staging.66fb9aa",
|
|
61
|
+
"@dxos/react-ui-theme": "0.6.11-staging.66fb9aa",
|
|
62
|
+
"@dxos/util": "0.6.11-staging.66fb9aa"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -82,21 +82,21 @@
|
|
|
82
82
|
"vite": "^5.3.4",
|
|
83
83
|
"vite-plugin-top-level-await": "^1.4.1",
|
|
84
84
|
"vite-plugin-wasm": "^3.3.0",
|
|
85
|
-
"@dxos/
|
|
86
|
-
"@dxos/
|
|
87
|
-
"@dxos/
|
|
88
|
-
"@dxos/echo-typegen": "0.6.11-staging.
|
|
89
|
-
"@dxos/keyboard": "0.6.11-staging.
|
|
90
|
-
"@dxos/random": "0.6.11-staging.
|
|
91
|
-
"@dxos/react-
|
|
92
|
-
"@dxos/react-
|
|
93
|
-
"@dxos/storybook-utils": "0.6.11-staging.
|
|
85
|
+
"@dxos/config": "0.6.11-staging.66fb9aa",
|
|
86
|
+
"@dxos/echo-signals": "0.6.11-staging.66fb9aa",
|
|
87
|
+
"@dxos/automerge": "0.6.11-staging.66fb9aa",
|
|
88
|
+
"@dxos/echo-typegen": "0.6.11-staging.66fb9aa",
|
|
89
|
+
"@dxos/keyboard": "0.6.11-staging.66fb9aa",
|
|
90
|
+
"@dxos/random": "0.6.11-staging.66fb9aa",
|
|
91
|
+
"@dxos/react-ui": "0.6.11-staging.66fb9aa",
|
|
92
|
+
"@dxos/react-client": "0.6.11-staging.66fb9aa",
|
|
93
|
+
"@dxos/storybook-utils": "0.6.11-staging.66fb9aa"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"@phosphor-icons/react": "^2.1.5",
|
|
97
97
|
"react": "^18.0.0",
|
|
98
98
|
"react-dom": "^18.0.0",
|
|
99
|
-
"@dxos/react-client": "0.6.11-staging.
|
|
99
|
+
"@dxos/react-client": "0.6.11-staging.66fb9aa"
|
|
100
100
|
},
|
|
101
101
|
"publishConfig": {
|
|
102
102
|
"access": "public"
|
package/src/defaults.ts
CHANGED
|
@@ -16,7 +16,7 @@ const margin = '!mt-[1rem]';
|
|
|
16
16
|
* 40rem = 640px. Corresponds to initial plank width (Google docs, Stashpad, etc.)
|
|
17
17
|
* 50rem = 800px. Maximum content width for solo mode.
|
|
18
18
|
*/
|
|
19
|
-
export const editorContent = mx(margin, '!mli-auto w-full max-w-[min(50rem,100%-
|
|
19
|
+
export const editorContent = mx(margin, '!mli-auto w-full max-w-[min(50rem,100%-2rem)]');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Margin for numbers.
|
|
@@ -30,7 +30,7 @@ export const editorGutter = EditorView.theme({
|
|
|
30
30
|
// Match margin from content.
|
|
31
31
|
'.cm-gutters': {
|
|
32
32
|
marginTop: '16px',
|
|
33
|
-
paddingRight: '
|
|
33
|
+
paddingRight: '1rem',
|
|
34
34
|
},
|
|
35
35
|
});
|
|
36
36
|
|