@augmentd-labs/canvas-web 2.15.8 → 2.15.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/dist/assets/MarkdownEditor-DWa37grk.css +1 -0
- package/dist/assets/{NextShell-GAavwiyx.js → NextShell-D7Gwse0U.js} +1 -1
- package/dist/assets/{SketchEditor-CmtlXL5R.js → SketchEditor-LMzOodMF.js} +1 -1
- package/dist/assets/TextDocumentEditor-BvEliks9.js +1 -0
- package/dist/assets/blobs-mOyU1Lbg.js +1 -0
- package/dist/assets/{index-DNs4Dy_y.js → index-B-elurW3.js} +51 -51
- package/dist/assets/{index-Drf8030-.css → index-BHTXZMym.css} +1 -1
- package/dist/assets/markdown-html-DtQ7-esK.css +1 -0
- package/dist/assets/sha256-CswY7rsV.js +1 -0
- package/dist/assets/text-documents-CizV3tXk.js +3 -0
- package/dist/assets/workspace-CCv1ZeWe.js +1 -0
- package/dist/index.html +6 -6
- package/dist/sw.js +1 -1
- package/package.json +2 -2
- package/dist/assets/MarkdownEditor-ByK7DHQ0.css +0 -1
- package/dist/assets/TextDocumentEditor-mxm7vP2r.js +0 -1
- package/dist/assets/blobs-DS4_Kfmr.js +0 -1
- package/dist/assets/markdown-html-T86c6cqD.css +0 -1
- package/dist/assets/sha256-CWEv0HLW.js +0 -1
- package/dist/assets/text-documents-CXCOKgVf.js +0 -3
- package/dist/assets/workspace-DtHtsT4U.js +0 -1
- /package/dist/assets/{MarkdownEditor-Dr8VNJNY.js → MarkdownEditor-BsLk5Mvp.js} +0 -0
- /package/dist/assets/{markdown-html-d5fDtPv3.js → markdown-html-B0qjhx3p.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.markdown-body{word-break:break-word;line-height:1.65}.markdown-body.markdown-doc{max-width:74ch;font-size:.9375rem;line-height:1.7}.document-side-content .markdown-body.markdown-doc{width:100%;max-width:none}.document-side-content .markdown-document-frame{height:100%;min-height:0;max-height:none;overflow:auto}.document-side-content .markdown-note{flex-direction:column;height:100%;min-height:0;display:flex}.document-side-content .markdown-note>h3{flex-shrink:0}.document-side-content .markdown-note .markdown-document-frame{flex:1;height:auto}.markdown-doc>p,.markdown-doc>ul,.markdown-doc>ol,.markdown-doc>pre,.markdown-doc>blockquote,.markdown-doc>table{margin-bottom:1.1em}.markdown-doc h1,.markdown-doc h2,.markdown-doc h3,.markdown-doc h4,.markdown-doc h5,.markdown-doc h6{margin:1.9em 0 .7em}.markdown-doc pre{padding:.85em 1em}.markdown-doc li{margin:.35em 0}.markdown-body>:first-child{margin-top:0}.markdown-body>:last-child{margin-bottom:0}.markdown-body p{margin:0 0 .9em}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin:1.7em 0 .65em;font-weight:600;line-height:1.3}.markdown-body h1{border-bottom:1px solid var(--color-border);padding-bottom:.3em;font-size:1.8em;font-weight:700}.markdown-body h2{border-bottom:1px solid var(--color-border);padding-bottom:.25em;font-size:1.4em}.markdown-body h3{font-size:1.2em}.markdown-body h4{font-size:1.05em}.markdown-body h5{font-size:1em}.markdown-body h6{color:var(--color-muted-foreground);font-size:.9em}.markdown-body ul,.markdown-body ol{margin:0 0 .85em;padding-left:1.6em}.markdown-body ul{list-style:outside}.markdown-body ul ul{list-style:circle}.markdown-body ul ul ul{list-style:square}.markdown-body ol{list-style:decimal}.markdown-body li,.markdown-body li>ul,.markdown-body li>ol{margin:.2em 0}.markdown-body li>p{margin-bottom:.35em}.markdown-body li.task-list-item{margin-left:-1.2em;list-style:none}.markdown-body li.task-list-item input[type=checkbox]{vertical-align:middle;margin-right:.45em}.markdown-body code{background:var(--color-muted);border-radius:.25rem;padding:.15em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.875em}.markdown-body pre{background:var(--color-muted);border:1px solid var(--color-border);border-radius:.375rem;margin:0 0 .85em;padding:.75em .9em;line-height:1.5;overflow-x:auto}.markdown-body pre code{white-space:pre;background:0 0;border:0;padding:0;font-size:.875em;display:block}.markdown-body a{color:var(--color-primary);text-underline-offset:2px;text-decoration:underline}.markdown-body blockquote{border-left:3px solid var(--color-border);color:var(--color-muted-foreground);margin:0 0 .85em;padding:.1em 0 .1em .9em}.markdown-body hr{border:0;border-top:1px solid var(--color-border);margin:1.5em 0}.markdown-body table{border-collapse:collapse;width:max-content;max-width:100%;margin:0 0 .85em;font-size:.95em;display:block;overflow-x:auto}.markdown-body th,.markdown-body td{border:1px solid var(--color-border);text-align:left;vertical-align:top;padding:.4em .7em}.markdown-body th{background:var(--color-muted);font-weight:600}.markdown-body tbody tr:nth-child(2n) td{background:color-mix(in srgb, var(--color-muted) 45%, transparent)}.markdown-body img{border-radius:.375rem;max-width:100%;height:auto}.markdown-body kbd{border:1px solid var(--color-border);border-bottom-width:2px;border-radius:.25rem;padding:.05em .35em;font-size:.85em}.markdown-body ul[data-type=taskList]{padding-left:.2em;list-style:none}.markdown-body ul[data-type=taskList] li{align-items:flex-start;gap:.45em;display:flex}.markdown-body ul[data-type=taskList] li>label{margin-top:.25em}.markdown-body ul[data-type=taskList] li>div>p,.markdown-body table p{margin:0}.markdown-body .selectedCell:after{background:color-mix(in srgb, var(--color-primary) 15%, transparent);content:"";pointer-events:none;z-index:2;position:absolute;inset:0}.markdown-body th,.markdown-body td{position:relative}.md-editor-content:focus{outline:none}.md-editor-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--color-muted-foreground);float:left;pointer-events:none;height:0}.md-editor{--color-border:var(--border);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-primary:var(--primary)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{wt as t,xt as n}from"./react-DQazvoR7.js";import{Ot as r}from"./workspace-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{wt as t,xt as n}from"./react-DQazvoR7.js";import{Ot as r}from"./workspace-CCv1ZeWe.js";var i=e(t(),1),a=n(),o=[`Inbox sweep`,`Canvas edge notes`,`Release 2.7`];function s(){let[e,t]=(0,i.useState)(`none`),[n,s]=(0,i.useState)(null);(0,i.useEffect)(()=>{e===`workspaces`&&n===null&&r().then(s).catch(()=>s([]))},[e,n]);let c=e=>t(t=>t===e?`none`:e);return(0,a.jsxs)(`div`,{className:`next-shell`,children:[(0,a.jsx)(`div`,{className:`next-wallpaper`,"aria-hidden":!0,children:(0,a.jsx)(`i`,{})}),(0,a.jsxs)(`div`,{className:`relative flex h-full flex-col items-center justify-center gap-3 select-none`,children:[(0,a.jsx)(`p`,{className:`text-2xl font-light tracking-wide text-white/80`,children:`Canvas`}),(0,a.jsx)(`p`,{className:`text-sm text-white/40`,children:`say something, or tap the orb. Swipe up for canvases (soon)`})]}),e===`tasks`&&(0,a.jsxs)(`div`,{className:`next-glass absolute bottom-24 left-6 w-64 rounded-2xl p-3`,children:[(0,a.jsx)(`p`,{className:`px-2 pb-2 text-[11px] uppercase tracking-widest text-white/40`,children:`Pinned`}),(0,a.jsx)(`div`,{className:`flex flex-col gap-1`,children:o.map(e=>(0,a.jsx)(`button`,{type:`button`,className:`rounded-xl px-3 py-2 text-left text-sm text-white/85 transition-colors hover:bg-white/10`,children:e},e))})]}),e===`workspaces`&&(0,a.jsxs)(`div`,{className:`next-glass absolute bottom-24 right-6 w-72 rounded-2xl p-3`,children:[(0,a.jsx)(`p`,{className:`px-2 pb-2 text-[11px] uppercase tracking-widest text-white/40`,children:`Workspaces`}),(0,a.jsxs)(`div`,{className:`flex max-h-80 flex-col gap-1 overflow-y-auto`,children:[n===null&&(0,a.jsx)(`p`,{className:`px-3 py-2 text-sm text-white/50`,children:`Loading…`}),n?.map(e=>(0,a.jsxs)(`button`,{type:`button`,className:`flex items-center gap-2.5 rounded-xl px-3 py-2 text-left text-sm text-white/85 transition-colors hover:bg-white/10`,children:[(0,a.jsx)(`span`,{className:`h-2.5 w-2.5 shrink-0 rounded-full`,style:{backgroundColor:e.color||`rgb(255 255 255 / 0.35)`}}),(0,a.jsx)(`span`,{className:`truncate`,children:e.label||e.name})]},e.id)),n?.length===0&&(0,a.jsx)(`p`,{className:`px-3 py-2 text-sm text-white/50`,children:`No workspaces`})]})]}),(0,a.jsxs)(`div`,{className:`absolute bottom-6 right-6 flex items-center gap-3`,children:[e!==`none`&&(0,a.jsx)(`button`,{type:`button`,onClick:()=>c(e===`tasks`?`workspaces`:`tasks`),className:`next-glass rounded-full px-4 py-2 text-xs text-white/70`,children:e===`tasks`?`workspaces`:`pinned`}),(0,a.jsx)(`button`,{type:`button`,onClick:()=>c(`tasks`),"aria-label":`Toolbox`,className:`next-orb flex h-14 w-14 items-center justify-center rounded-full`,children:(0,a.jsx)(`span`,{className:`h-3 w-3 rounded-full bg-white/85`})})]})]})}export{s as default};
|