Comparing version 0.18.0-rc.0 to 0.18.0
@@ -137,3 +137,3 @@ import { delegateEvents as $e, getNextElement as f, getNextMarker as b, insert as g, createComponent as c, effect as oe, setAttribute as ve, runHydrationEvents as ce, template as m, memo as Je, spread as en, hydrate as nn, render as tn } from "solid-js/web"; | ||
if (e.interface.autocomplete) { | ||
const { autocomplete: t } = await import("./autocomplete.6eed979b.js"); | ||
const { autocomplete: t } = await import("./autocomplete.0c233232.js"); | ||
return n.reconfigure(t(e)); | ||
@@ -800,3 +800,3 @@ } | ||
$e(["click"]); | ||
const Et = `.ink-mde .ink-mde-toolbar{background-color:var(--ink-internal-block-background-color);color:inherit;display:flex;flex-shrink:0;gap:2rem;overflow-x:auto;padding:.25rem}.ink-mde .ink-mde-toolbar .ink-mde-container,.ink-mde .ink-mde-toolbar-group{display:flex}.ink-mde .ink-mde-toolbar .ink-button{align-items:center;background:none;border:none;border-radius:var(--ink-internal-border-radius);color:inherit;cursor:pointer;display:flex;height:2.25rem;justify-content:center;padding:.4rem;width:2.25rem}.ink-mde .ink-mde-toolbar .ink-button:hover{background-color:var(--ink-internal-block-background-color-on-hover)}.ink-mde .ink-mde-toolbar .ink-button>*{align-items:center;display:flex;height:100%} | ||
const Et = `.ink-mde .ink-mde-toolbar{background-color:var(--ink-internal-block-background-color);color:inherit;display:flex;flex-shrink:0;overflow-x:auto;padding:.25rem}.ink-mde .ink-mde-toolbar .ink-mde-container{display:flex;gap:2rem}.ink-mde .ink-mde-toolbar-group{display:flex}.ink-mde .ink-mde-toolbar .ink-button{align-items:center;background:none;border:none;border-radius:var(--ink-internal-border-radius);color:inherit;cursor:pointer;display:flex;height:2.25rem;justify-content:center;padding:.4rem;width:2.25rem}.ink-mde .ink-mde-toolbar .ink-button:hover{background-color:var(--ink-internal-block-background-color-on-hover)}.ink-mde .ink-mde-toolbar .ink-button>*{align-items:center;display:flex;height:100%} | ||
`, jt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 4V10M6 16V10M6 10H14M14 10V4M14 10V16"></path></svg>', 4), Tt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M6.5 10H10.5C12.1569 10 13.5 11.3431 13.5 13C13.5 14.6569 12.1569 16 10.5 16H6.5V4H9.5C11.1569 4 12.5 5.34315 12.5 7C12.5 8.65686 11.1569 10 9.5 10"></path></svg>', 4), Vt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M11 4L9 16M13 4H9M7 16H11"></path></svg>', 4), Ot = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M2.00257 16H17.9955M2.00055 4H18M7 10H18.0659M2 8.5V11.4999C2.4 11.5 2.5 11.5 2.5 11.5V11V10.5M4 8.5V11.4999H4.5V11V10.5"></path></svg>', 4), Rt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M13 4L7 16"></path><path d="M5 7L2 10L5 13"></path><path d="M15 7L18 10L15 13"></path></svg>', 8), Nt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 4L8 6"></path></svg>', 4), It = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 16H17.8294"></path><path d="M2 16H4"></path><path d="M7 10H17.8294"></path><path d="M2 10H4"></path><path d="M7 4H17.8294"></path><path d="M2 4H4"></path></svg>', 14), qt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 16H18"></path><path d="M2 17.0242C2.48314 17.7569 3.94052 17.6154 3.99486 16.7919C4.05315 15.9169 3.1975 16.0044 2.99496 16.0044M2.0023 14.9758C2.48544 14.2431 3.94282 14.3846 3.99716 15.2081C4.05545 16.0831 3.1998 16.0002 2.99726 16.0002"></path><path d="M7 10H18"></path><path d="M2.00501 11.5H4M2.00193 8.97562C2.48449 8.24319 3.9401 8.38467 3.99437 9.20777C4.05259 10.0825 2.04342 10.5788 2 11.4996"></path><path d="M7 4H18"></path><path d="M2 5.5H4M2.99713 5.49952V2.5L2.215 2.93501"></path></svg>', 14), Pt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 16H17.8294"></path><path d="M5 15L3 17L2 16"></path><path d="M7 10H17.8294"></path><path d="M5 9L3 11L2 10"></path><path d="M7 4H17.8294"></path><path d="M5 3L3 5L2 4"></path></svg>', 14), Wt = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M9.12127 10.881C10.02 11.78 11.5237 11.7349 12.4771 10.7813L15.2546 8.00302C16.2079 7.04937 16.253 5.54521 15.3542 4.6462C14.4555 3.74719 12.9512 3.79174 11.9979 4.74539L10.3437 6.40007M10.8787 9.11903C9.97997 8.22002 8.47626 8.26509 7.52288 9.21874L4.74545 11.997C3.79208 12.9506 3.74701 14.4548 4.64577 15.3538C5.54452 16.2528 7.04876 16.2083 8.00213 15.2546L9.65633 13.5999"></path></svg>', 4), Ft = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="16" height="12" rx="1"></rect><path d="M7.42659 7.67597L13.7751 13.8831M2.00208 12.9778L7.42844 7.67175"></path><path d="M11.9119 12.0599L14.484 9.54443L17.9973 12.9785"></path><path d="M10.9989 7.95832C11.551 7.95832 11.9986 7.52072 11.9986 6.98092C11.9986 6.44113 11.551 6.00354 10.9989 6.00354C10.4468 6.00354 9.99921 6.44113 9.99921 6.98092C9.99921 7.52072 10.4468 7.95832 10.9989 7.95832Z"></path></svg>', 10), Ut = /* @__PURE__ */ m('<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-miterlimit="5" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13V4M10 4L13 7M10 4L7 7"></path><path d="M2 13V15C2 15.5523 2.44772 16 3 16H17C17.5523 16 18 15.5523 18 15V13"></path></svg>', 6), Xt = /* @__PURE__ */ m('<input type="file">', 1), Kt = /* @__PURE__ */ m('<div class="ink-mde-toolbar"><style></style><div class="ink-mde-container"><div class="ink-mde-toolbar-group"><!#><!/><!#><!/><!#><!/></div><div class="ink-mde-toolbar-group"><!#><!/><!#><!/><!#><!/></div><div class="ink-mde-toolbar-group"><!#><!/><!#><!/><!#><!/></div><div class="ink-mde-toolbar-group"><!#><!/><!#><!/><!#><!/></div></div></div>', 38), Qt = () => { | ||
@@ -803,0 +803,0 @@ const [e, n] = N(), [t, o] = z(), r = (a) => { |
@@ -283,3 +283,3 @@ import { ssr, ssrHydrationKey, escape, createComponent, ssrAttribute, ssrSpread, renderToString as renderToString$1 } from 'solid-js/web'; | ||
if (options.interface.autocomplete) { | ||
const { autocomplete } = await import('./autocomplete.16711507.js'); | ||
const { autocomplete } = await import('./autocomplete.ce4e62cb.js'); | ||
return compartment.reconfigure(autocomplete(options)); | ||
@@ -1187,3 +1187,3 @@ } | ||
const styles$1 = ".ink-mde .ink-mde-toolbar {\n background-color: var(--ink-internal-block-background-color);\n color: inherit;\n display: flex;\n flex-shrink: 0;\n gap: 2rem;\n overflow-x: auto;\n padding: 0.25rem;\n}\n\n.ink-mde .ink-mde-toolbar .ink-mde-container {\n display: flex;\n}\n\n.ink-mde .ink-mde-toolbar-group {\n display: flex;\n}\n\n.ink-mde .ink-mde-toolbar .ink-button {\n align-items: center;\n background: none;\n border: none;\n border-radius: var(--ink-internal-border-radius);\n color: inherit;\n cursor: pointer;\n display: flex;\n height: 2.25rem;\n justify-content: center;\n padding: 0.4rem;\n width: 2.25rem;\n}\n\n.ink-mde .ink-mde-toolbar .ink-button:hover {\n background-color: var(--ink-internal-block-background-color-on-hover);\n}\n\n.ink-mde .ink-mde-toolbar .ink-button > * {\n align-items: center;\n display: flex;\n height: 100%;\n}\n"; | ||
const styles$1 = ".ink-mde .ink-mde-toolbar {\n background-color: var(--ink-internal-block-background-color);\n color: inherit;\n display: flex;\n flex-shrink: 0;\n overflow-x: auto;\n padding: 0.25rem;\n}\n\n.ink-mde .ink-mde-toolbar .ink-mde-container {\n display: flex;\n gap: 2rem;\n}\n\n.ink-mde .ink-mde-toolbar-group {\n display: flex;\n}\n\n.ink-mde .ink-mde-toolbar .ink-button {\n align-items: center;\n background: none;\n border: none;\n border-radius: var(--ink-internal-border-radius);\n color: inherit;\n cursor: pointer;\n display: flex;\n height: 2.25rem;\n justify-content: center;\n padding: 0.4rem;\n width: 2.25rem;\n}\n\n.ink-mde .ink-mde-toolbar .ink-button:hover {\n background-color: var(--ink-internal-block-background-color-on-hover);\n}\n\n.ink-mde .ink-mde-toolbar .ink-button > * {\n align-items: center;\n display: flex;\n height: 100%;\n}\n"; | ||
@@ -1190,0 +1190,0 @@ const _tmpl$$3 = ["<svg", " viewBox=\"0 0 20 20\" fill=\"none\" stroke=\"currentColor\" stroke-miterlimit=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 4V10M6 16V10M6 10H14M14 10V4M14 10V16\"></path></svg>"], |
{ | ||
"name": "ink-mde", | ||
"type": "module", | ||
"version": "0.18.0-rc.0", | ||
"version": "0.18.0", | ||
"packageManager": "yarn@3.2.2", | ||
@@ -117,3 +117,3 @@ "description": "The flexible TypeScript Markdown editor that powers https://octo.app.", | ||
"@replit/codemirror-vim": "^6.0.3", | ||
"ink-mde": "0.18.0-rc.0", | ||
"ink-mde": "0.18.0", | ||
"solid-js": "^1.6.2", | ||
@@ -120,0 +120,0 @@ "style-mod": "^4.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
912468
Updatedink-mde@0.18.0