@atom.io/template-react-realtime-text-editor 0.0.7 → 0.0.9
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/CHANGELOG.md +13 -0
- package/package.json +27 -27
- package/.turbo/turbo-build.log +0 -12
- package/dist/assets/index-DGIOrh2O.css +0 -1
- package/dist/index.html +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atom.io/template-react-realtime-text-editor
|
|
2
2
|
|
|
3
|
+
## 0.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a2665e5: Upgrade `@dprint/json` to 0.24.0 and format template package manifests to follow its default package.json conventions.
|
|
8
|
+
|
|
9
|
+
## 0.0.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [7eb3413]
|
|
14
|
+
- atom.io@0.53.1
|
|
15
|
+
|
|
3
16
|
## 0.0.7
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom.io/template-react-realtime-text-editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "A realtime text editor built with atom.io, React, and Lasertag.",
|
|
5
|
-
"license": "Apache-2.0",
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
8
|
-
},
|
|
9
5
|
"repository": {
|
|
10
6
|
"type": "git",
|
|
11
7
|
"url": "git+https://github.com/jeremybanka/atom.io.git",
|
|
12
8
|
"directory": "templates/react-realtime-text-editor"
|
|
13
9
|
},
|
|
10
|
+
"license": "Apache-2.0",
|
|
14
11
|
"type": "module",
|
|
15
|
-
"engines": {
|
|
16
|
-
"node": ">=24.12.0"
|
|
17
|
-
},
|
|
18
12
|
"dependencies": {
|
|
19
|
-
"atom.io": "0.53.
|
|
20
|
-
"react": "19.
|
|
21
|
-
"react-dom": "19.
|
|
13
|
+
"atom.io": "0.53.1",
|
|
14
|
+
"react": "19.3.0",
|
|
15
|
+
"react-dom": "19.3.0",
|
|
22
16
|
"socket.io": "4.8.3",
|
|
23
17
|
"socket.io-client": "4.8.3",
|
|
24
|
-
"zod": "4.5
|
|
18
|
+
"zod": "4.6.5"
|
|
25
19
|
},
|
|
26
20
|
"devDependencies": {
|
|
27
|
-
"@dprint/json": "0.
|
|
28
|
-
"@dprint/markdown": "0.
|
|
29
|
-
"@dprint/oxc": "0.
|
|
30
|
-
"@testing-library/dom": "10.4.
|
|
21
|
+
"@dprint/json": "0.24.0",
|
|
22
|
+
"@dprint/markdown": "0.24.0",
|
|
23
|
+
"@dprint/oxc": "0.40.0",
|
|
24
|
+
"@testing-library/dom": "10.4.2",
|
|
31
25
|
"@testing-library/react": "16.3.3",
|
|
32
|
-
"@types/node": "26.
|
|
33
|
-
"@types/react": "19.
|
|
34
|
-
"@types/react-dom": "19.
|
|
35
|
-
"@typescript-eslint/parser": "8.
|
|
26
|
+
"@types/node": "26.6.1",
|
|
27
|
+
"@types/react": "19.3.0",
|
|
28
|
+
"@types/react-dom": "19.3.0",
|
|
29
|
+
"@typescript-eslint/parser": "8.70.0",
|
|
36
30
|
"@vitejs/plugin-react": "6.1.1",
|
|
37
31
|
"concurrently": "10.0.5",
|
|
38
|
-
"dprint": "0.57.
|
|
32
|
+
"dprint": "0.57.4",
|
|
39
33
|
"dprint-plugin-malva": "0.16.0",
|
|
40
|
-
"eslint": "10.
|
|
41
|
-
"happy-dom": "20.14.
|
|
42
|
-
"lasertag": "0.8.
|
|
43
|
-
"oxlint": "1.
|
|
34
|
+
"eslint": "10.10.0",
|
|
35
|
+
"happy-dom": "20.14.5",
|
|
36
|
+
"lasertag": "0.8.2",
|
|
37
|
+
"oxlint": "1.83.0",
|
|
44
38
|
"oxlint-tsgolint": "7.0.2001",
|
|
45
39
|
"typescript": "7.0.2",
|
|
46
|
-
"vite": "8.
|
|
47
|
-
"vitest": "5.0.
|
|
40
|
+
"vite": "8.3.0",
|
|
41
|
+
"vitest": "5.0.1"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=24.12.0"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"dev": "concurrently vite \"node --watch node/server.ts\"",
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
$ tsc -b && vite build
|
|
2
|
-
[36mvite v8.2.2 [32mbuilding client environment for production...[36m[39m
|
|
3
|
-
transforming...
|
|
4
|
-
✓ 66 modules transformed.
|
|
5
|
-
rendering chunks...
|
|
6
|
-
computing gzip size...
|
|
7
|
-
dist/index.html 0.51 kB │ gzip: 0.33 kB
|
|
8
|
-
dist/assets/index-DGIOrh2O.css 11.67 kB │ gzip: 2.61 kB
|
|
9
|
-
dist/assets/web-BP4kJorM.js 0.22 kB │ gzip: 0.17 kB
|
|
10
|
-
dist/assets/index-Bj168TSW.js 317.26 kB │ gzip: 97.73 kB
|
|
11
|
-
|
|
12
|
-
[32m✓ built in 265ms[39m
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,650&display=swap";:root{color:#292936;font-synthesis:none;text-rendering:optimizelegibility;background:#f3f2f7;font-family:Manrope,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button:disabled,textarea:disabled{cursor:not-allowed}markdown-workspace._class_ioksj_1{--accent:#6d50ea;--border:#dfdce8;--ink:#292936;--muted:#817e90;--paper:#fffefa;--panel:#faf9fc;background:radial-gradient(circle at 80% 0,#eee9ff 0,#0000 28rem),#f3f2f7;grid-template-rows:auto minmax(0,1fr) auto;min-height:100svh;display:grid}markdown-workspace._class_ioksj_1>header{z-index:3;-webkit-backdrop-filter:blur(1.5rem);backdrop-filter:blur(1.5rem);background:#fbfaffe6;border-bottom:1px solid #e5e2ec;grid-template-columns:minmax(11rem,1fr) minmax(15rem,1.5fr) minmax(18rem,1fr);align-items:center;gap:1.25rem;min-height:5.4rem;padding:.75rem 1.5rem;display:grid;box-shadow:0 .25rem 1.8rem #3023510a}markdown-workspace._class_ioksj_1>header>brand-lockup{align-items:center;gap:.75rem;display:flex}markdown-workspace._class_ioksj_1>header>brand-lockup>mark{aspect-ratio:1;color:#fff;background:linear-gradient(145deg,#8c70ff,#5f3edf);border-radius:.9rem;place-items:center;width:2.65rem;font-family:Newsreader,serif;font-size:1.45rem;font-weight:650;display:grid;box-shadow:0 .5rem 1rem #6749dc38}markdown-workspace._class_ioksj_1>header>brand-lockup>label-set{flex-flow:column;line-height:1.15;display:flex}markdown-workspace._class_ioksj_1>header>brand-lockup>label-set>strong{letter-spacing:-.02em;font-family:Newsreader,serif;font-size:1.35rem}markdown-workspace._class_ioksj_1>header>brand-lockup>label-set>span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-top:.2rem;font-size:.67rem;font-weight:700}markdown-workspace._class_ioksj_1>header>document-title{flex-flow:column;align-items:center;min-width:0;display:flex}markdown-workspace._class_ioksj_1>header>document-title>strong{max-width:100%;color:var(--ink);text-align:center;font-family:Newsreader,serif;font-size:1.2rem;font-weight:650}markdown-workspace._class_ioksj_1>header>document-title>span{color:var(--muted);margin-top:.16rem;font-size:.69rem}markdown-workspace._class_ioksj_1>header>toolbar-actions{justify-content:flex-end;align-items:center;gap:.45rem;display:flex}markdown-workspace._class_ioksj_1>header>toolbar-actions>button{border:1px solid var(--border);color:#565363;background:#fff;border-radius:.65rem;align-items:center;gap:.35rem;min-height:2.25rem;padding:.4rem .68rem;font-size:.73rem;font-weight:700;display:inline-flex}markdown-workspace._class_ioksj_1>header>toolbar-actions>button:hover:not(:disabled){color:var(--accent);background:#f8f6ff;border-color:#bdb4df}markdown-workspace._class_ioksj_1>header>toolbar-actions>button:disabled{opacity:.42}markdown-workspace._class_ioksj_1>header>toolbar-actions>label{border:1px solid var(--border);background:#fff;border-radius:99rem;align-items:center;gap:.45rem;min-height:2.25rem;padding:.27rem .35rem;display:flex}markdown-workspace._class_ioksj_1>header>toolbar-actions>label>avatar-dot{aspect-ratio:1;color:#fff;background:var(--person-color);border-radius:50%;place-items:center;width:1.65rem;font-size:.7rem;font-weight:800;display:grid}markdown-workspace._class_ioksj_1>header>toolbar-actions>label>select{color:#4a4755;background:0 0;border:0;outline:0;max-width:8rem;font-size:.72rem;font-weight:700}markdown-workspace._class_ioksj_1>main{grid-template-columns:minmax(21rem,.95fr) minmax(24rem,1.05fr) 15rem;gap:1rem;min-height:0;padding:1.15rem;display:grid}markdown-workspace._class_ioksj_1>main>editor-pane,markdown-workspace._class_ioksj_1>main>preview-pane,markdown-workspace._class_ioksj_1>main>presence-rail{border:1px solid var(--border);background:var(--paper);border-radius:1.1rem;min-width:0;min-height:0;box-shadow:0 .9rem 2.4rem #2b21450c}markdown-workspace._class_ioksj_1>main>editor-pane,markdown-workspace._class_ioksj_1>main>preview-pane{grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}:is(markdown-workspace._class_ioksj_1>main>editor-pane,markdown-workspace._class_ioksj_1>main>preview-pane)>pane-heading{background:#fcfbfd;border-bottom:1px solid #ebe8ef;justify-content:space-between;align-items:center;min-height:3.15rem;padding:.75rem 1rem;display:flex}:is(markdown-workspace._class_ioksj_1>main>editor-pane,markdown-workspace._class_ioksj_1>main>preview-pane)>pane-heading>span{color:var(--muted);font-size:.68rem}markdown-workspace._class_ioksj_1>main>editor-pane>pane-heading>label{letter-spacing:.055em;text-transform:uppercase;font-size:.75rem;font-weight:800}markdown-workspace._class_ioksj_1>main>editor-pane>editor-surface{background:linear-gradient(90deg, #f8f6fb 2.75rem, transparent 2.75rem), var(--panel);min-height:0;position:relative}markdown-workspace._class_ioksj_1>main>editor-pane>editor-surface>textarea{z-index:1;resize:none;color:#383542;width:100%;height:100%;caret-color:var(--accent);tab-size:2;background:0 0;border:0;outline:0;padding:1.45rem 1.45rem 8rem 3.7rem;font-family:DM Mono,monospace;font-size:.83rem;line-height:1.72rem;position:absolute;inset:0}markdown-workspace._class_ioksj_1>main>editor-pane>editor-surface>textarea:disabled{opacity:.58}markdown-workspace._class_ioksj_1>main>editor-pane>editor-surface>caret-layer{z-index:2;pointer-events:none;position:absolute;inset:0;overflow:hidden}markdown-workspace._class_ioksj_1>main>editor-pane>editor-surface>caret-layer>remote-caret{top:calc(1.45rem + var(--caret-line) * 1.72rem);left:calc(3.7rem + var(--caret-column) * .5rem);background:var(--person-color);width:2px;height:1.25rem;position:absolute}markdown-workspace._class_ioksj_1>main>editor-pane>editor-surface>caret-layer>remote-caret>span{color:#fff;background:var(--person-color);white-space:nowrap;border-radius:.3rem .3rem .3rem 0;padding:.14rem .35rem;font-size:.56rem;font-weight:800;position:absolute;top:-1.05rem;left:0}markdown-workspace._class_ioksj_1>main>preview-pane>pane-heading>strong{letter-spacing:.055em;text-transform:uppercase;font-size:.75rem;font-weight:800}markdown-workspace._class_ioksj_1>main>preview-pane>article{color:#37333d;padding:clamp(1.6rem,4vw,4rem);font-family:Newsreader,Georgia,serif;font-size:1.05rem;line-height:1.72;overflow:auto}markdown-workspace._class_ioksj_1>main>preview-pane>article>h1,markdown-workspace._class_ioksj_1>main>preview-pane>article>h2,markdown-workspace._class_ioksj_1>main>preview-pane>article>h3,markdown-workspace._class_ioksj_1>main>preview-pane>article>h4,markdown-workspace._class_ioksj_1>main>preview-pane>article>h5,markdown-workspace._class_ioksj_1>main>preview-pane>article>h6{color:#282430;letter-spacing:-.025em;margin:1.8em 0 .55em;font-weight:650;line-height:1.1}markdown-workspace._class_ioksj_1>main>preview-pane>article>h1:first-child{margin-top:0;font-size:clamp(2.15rem,5vw,3.5rem)}markdown-workspace._class_ioksj_1>main>preview-pane>article>h2{font-size:1.55rem}markdown-workspace._class_ioksj_1>main>preview-pane>article>p,markdown-workspace._class_ioksj_1>main>preview-pane>article>ul,markdown-workspace._class_ioksj_1>main>preview-pane>article>ol,markdown-workspace._class_ioksj_1>main>preview-pane>article>blockquote,markdown-workspace._class_ioksj_1>main>preview-pane>article>pre{margin:0 0 1.25rem}markdown-workspace._class_ioksj_1>main>preview-pane>article>ul,markdown-workspace._class_ioksj_1>main>preview-pane>article>ol{padding-left:1.35rem}markdown-workspace._class_ioksj_1>main>preview-pane>article>blockquote{color:#5d566b;background:#f7f4ff;border-left:3px solid #b5a5f6;padding:.75rem 1.1rem;font-style:italic}markdown-workspace._class_ioksj_1>main>preview-pane>article>pre{color:#ede9ff;background:#302c3a;border:1px solid #e2deea;border-radius:.7rem;padding:1rem 1.15rem;font-family:DM Mono,monospace;font-size:.76rem;line-height:1.65;overflow:auto}markdown-workspace._class_ioksj_1>main>preview-pane>article strong{color:#332d42;font-weight:650}markdown-workspace._class_ioksj_1>main>preview-pane>article code:not(pre code){color:#6547d6;background:#f0ecff;border-radius:.25rem;padding:.15em .35em;font-family:DM Mono,monospace;font-size:.8em}markdown-workspace._class_ioksj_1>main>preview-pane>article a{color:#6547d6;text-underline-offset:.15em;text-decoration-color:#b9abf2}markdown-workspace._class_ioksj_1>main>presence-rail{flex-flow:column;padding:1.15rem;display:flex;overflow:auto}markdown-workspace._class_ioksj_1>main>presence-rail>strong{letter-spacing:.055em;text-transform:uppercase;font-size:.72rem;font-weight:800}markdown-workspace._class_ioksj_1>main>presence-rail>ul{flex-flow:column;gap:.85rem;margin:1.1rem 0 0;padding:0;list-style:none;display:flex}markdown-workspace._class_ioksj_1>main>presence-rail>ul>li{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;display:grid}markdown-workspace._class_ioksj_1>main>presence-rail>ul>li>avatar-dot{aspect-ratio:1;color:#fff;background:var(--person-color);width:2rem;box-shadow:0 0 0 1px var(--person-color);border:2px solid #fff;border-radius:50%;place-items:center;font-size:.72rem;font-weight:800;display:grid}markdown-workspace._class_ioksj_1>main>presence-rail>ul>li>person-label{flex-flow:column;min-width:0;display:flex}markdown-workspace._class_ioksj_1>main>presence-rail>ul>li>person-label>strong{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}markdown-workspace._class_ioksj_1>main>presence-rail>ul>li>person-label>span{color:var(--muted);margin-top:.12rem;font-size:.62rem}markdown-workspace._class_ioksj_1>main>presence-rail>aside{background:linear-gradient(145deg,#f9f7ff,#f1edff);border:1px solid #e3dcff;border-radius:.8rem;margin-top:auto;padding:.9rem}markdown-workspace._class_ioksj_1>main>presence-rail>aside>strong{color:#5941b4;font-size:.7rem}markdown-workspace._class_ioksj_1>main>presence-rail>aside>p{color:#6d6680;margin:.4rem 0 0;font-size:.65rem;line-height:1.55}markdown-workspace._class_ioksj_1>footer{min-height:2.6rem;color:var(--muted);background:#faf9fc;border-top:1px solid #e2dfe8;align-items:center;gap:.45rem;padding:.55rem 1.5rem;font-size:.66rem;display:flex}markdown-workspace._class_ioksj_1>footer>span{aspect-ratio:1;background:#aaa5b3;border-radius:50%;width:.48rem}markdown-workspace._class_ioksj_1>footer>span[data-status=live]{background:#21a879;box-shadow:0 0 0 .22rem #21a8791c}markdown-workspace._class_ioksj_1>footer>span[data-status=offline]{background:#df8c35}markdown-workspace._class_ioksj_1>footer>strong{color:#5f5b69;font-weight:700}markdown-workspace._class_ioksj_1>footer>small{margin-left:auto}markdown-workspace._class_ioksj_1>footer>output{color:#a5435e}@media (width<=1080px){markdown-workspace._class_ioksj_1>header{grid-template-columns:1fr 1fr}markdown-workspace._class_ioksj_1>header>document-title{display:none}markdown-workspace._class_ioksj_1>main{grid-template-columns:minmax(20rem,1fr) minmax(22rem,1fr)}markdown-workspace._class_ioksj_1>main>presence-rail{display:none}}@media (width<=720px){markdown-workspace._class_ioksj_1>header{grid-template-columns:1fr auto;padding-inline:.85rem}markdown-workspace._class_ioksj_1>header>toolbar-actions>button>span{display:none}markdown-workspace._class_ioksj_1>header>toolbar-actions>label>select{display:none}markdown-workspace._class_ioksj_1>main{flex-flow:column;min-height:auto;padding:.7rem;display:flex}markdown-workspace._class_ioksj_1>main>editor-pane,markdown-workspace._class_ioksj_1>main>preview-pane{min-height:62svh}}
|
package/dist/index.html
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<meta
|
|
7
|
-
name="description"
|
|
8
|
-
content="Mosaic, a realtime collaborative Markdown editor built with atom.io."
|
|
9
|
-
/>
|
|
10
|
-
<title>Mosaic · Shared Markdown</title>
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-Bj168TSW.js"></script>
|
|
12
|
-
<link rel="stylesheet" crossorigin href="/assets/index-DGIOrh2O.css">
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<main id="root"></main>
|
|
16
|
-
</body>
|
|
17
|
-
</html>
|