@marimo-team/islands 0.21.2-dev43 → 0.21.2-dev47
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/main.js +11 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/storage/storage-file-viewer.tsx +35 -1
- package/src/components/storage/storage-inspector.tsx +8 -2
- package/src/components/storage/storage-snippets.ts +3 -3
- package/src/css/md-tooltip.css +4 -39
- package/src/plugins/core/RenderHTML.tsx +17 -0
- package/src/plugins/core/__test__/RenderHTML.test.ts +45 -0
package/dist/main.js
CHANGED
|
@@ -37286,6 +37286,15 @@ ${c.sqlString}
|
|
|
37286
37286
|
children: e
|
|
37287
37287
|
});
|
|
37288
37288
|
}
|
|
37289
|
+
}, wrapTooltipTargets = (e, r) => {
|
|
37290
|
+
var _a3;
|
|
37291
|
+
if (r instanceof import_lib$1.Element && ((_a3 = r.attribs) == null ? void 0 : _a3["data-tooltip"])) {
|
|
37292
|
+
let c = r.attribs["data-tooltip"];
|
|
37293
|
+
return (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
37294
|
+
content: c,
|
|
37295
|
+
children: e
|
|
37296
|
+
});
|
|
37297
|
+
}
|
|
37289
37298
|
}, CopyableCode = (e) => {
|
|
37290
37299
|
let r = (0, import_compiler_runtime$150.c)(3), { children: c } = e, d = (0, import_react.useRef)(null), f;
|
|
37291
37300
|
r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -37336,6 +37345,7 @@ ${c.sqlString}
|
|
|
37336
37345
|
addCopyButtonToCodehilite,
|
|
37337
37346
|
preserveQueryParamsInAnchorLinks,
|
|
37338
37347
|
wrapDocHoverTargets,
|
|
37348
|
+
wrapTooltipTargets,
|
|
37339
37349
|
removeWrappingBodyTags,
|
|
37340
37350
|
removeWrappingHtmlTags
|
|
37341
37351
|
];
|
|
@@ -70873,7 +70883,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
|
|
|
70873
70883
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
70874
70884
|
}
|
|
70875
70885
|
}
|
|
70876
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-
|
|
70886
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-dev47"), showCodeInRunModeAtom = atom(true);
|
|
70877
70887
|
atom(null);
|
|
70878
70888
|
var import_compiler_runtime$89 = require_compiler_runtime();
|
|
70879
70889
|
function useKeydownOnElement(e, r) {
|