@marimo-team/islands 0.23.10-dev9 → 0.23.11-dev67

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.
Files changed (188) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CyV83R2m.js → ConnectedDataExplorerComponent-Z3RP7Vmm.js} +31 -31
  2. package/dist/{ErrorBoundary-rULOrC_p.js → ErrorBoundary-DpbaKVv7.js} +1 -1
  3. package/dist/{any-language-editor-CiES2a2h.js → any-language-editor-CAgFD4Kd.js} +20 -20
  4. package/dist/assets/__vite-browser-external-eshhtsgZ.js +1 -0
  5. package/dist/assets/worker-CC0Oul9k.js +73 -0
  6. package/dist/{chat-ui-K84W5ecY.js → chat-ui-C4-GMW9y.js} +77 -77
  7. package/dist/{check-DTbrK0zt.js → check-BCaJeT-J.js} +1 -1
  8. package/dist/{chunk-5FQGJX7Z-BNjes6Yx.js → chunk-5FQGJX7Z-BbqSm5gU.js} +1227 -1222
  9. package/dist/{code-block-37QAKDTI-m92Yc8pv.js → code-block-37QAKDTI-O6IH6wAi.js} +1 -1
  10. package/dist/{code-visibility-v6ucEVUg.js → code-visibility-UH2371Sv.js} +1943 -1223
  11. package/dist/{copy-5jQ_kGE1.js → copy-UqRYxiOg.js} +1 -1
  12. package/dist/dist-7QfXoMdB.js +5 -0
  13. package/dist/{dist-DgnE8F-r.js → dist-A2846XWO.js} +1 -1
  14. package/dist/dist-BEXXyZig.js +5 -0
  15. package/dist/{dist-B3pZ0Ab6.js → dist-BR_gyG9L.js} +3 -3
  16. package/dist/{dist-CcXxepx6.js → dist-BSAt6RhH.js} +27 -27
  17. package/dist/{dist-Bde4a2kU.js → dist-BY018Paw.js} +8 -8
  18. package/dist/dist-BYj57OV4.js +5 -0
  19. package/dist/{dist-CUCNs1ja.js → dist-BaoDKvdy.js} +2 -2
  20. package/dist/{dist-Cy1WxgBD.js → dist-Bf7SHuNp.js} +5 -5
  21. package/dist/{dist-Bz_sYWbr.js → dist-Bk75fBZA.js} +2 -2
  22. package/dist/dist-BlSvQzNr.js +5 -0
  23. package/dist/{dist-C5VC_yzu.js → dist-BzEzfugY.js} +1 -1
  24. package/dist/dist-CCBlxAgS.js +8 -0
  25. package/dist/dist-CIDTVIUf.js +5 -0
  26. package/dist/{dist-CLUtPrdy.js → dist-CIYBwstr.js} +1 -1
  27. package/dist/{dist-BotSqB48.js → dist-C_Y3oV3C.js} +12 -12
  28. package/dist/{dist-BTfv03uy.js → dist-CcWX6tmx.js} +2 -2
  29. package/dist/{dist-BhM8gdSO.js → dist-CoXAujgg.js} +4 -4
  30. package/dist/{dist-4j4c7bjm.js → dist-CpxNdDkw.js} +3 -3
  31. package/dist/dist-CqQyhAM8.js +8 -0
  32. package/dist/dist-CwRu2Xzh.js +5 -0
  33. package/dist/{dist-BcuoonNH.js → dist-CxJDU6Bh.js} +9 -9
  34. package/dist/{dist-DxvORzUR.js → dist-D-W5ny5a.js} +8 -8
  35. package/dist/dist-D8CDTVgf.js +6 -0
  36. package/dist/dist-D8DNB0nO.js +8 -0
  37. package/dist/dist-DL6N_q-A.js +5 -0
  38. package/dist/{dist-BbbIBDiQ.js → dist-DMjWuVs8.js} +1 -1
  39. package/dist/dist-DOFbNV_b.js +8 -0
  40. package/dist/dist-DPrYzMY0.js +6 -0
  41. package/dist/{dist-h2c8sZvT.js → dist-DZORgqKY.js} +1 -1
  42. package/dist/{dist-B3P2fFpz.js → dist-DZo4nSS0.js} +14 -14
  43. package/dist/{dist-D4CewLk6.js → dist-Dax--nl9.js} +1 -1
  44. package/dist/{dist-DRfcqpxJ.js → dist-DgGbNavJ.js} +2 -2
  45. package/dist/{dist-C1BYNeCR.js → dist-Dk6PV_d3.js} +10 -10
  46. package/dist/{dist-fQ0ViXGs.js → dist-Dv_Y15yk.js} +107 -107
  47. package/dist/{dist-Bfwsv11D.js → dist-DyyjKEYf.js} +2 -2
  48. package/dist/{dist-p2qyWijU.js → dist-GZXUmt0b.js} +2 -2
  49. package/dist/{dist-CLJWPTX2.js → dist-LTU8Hdvn.js} +3 -3
  50. package/dist/{dist-DqAWR3CS.js → dist-M9Vag9Y0.js} +20 -20
  51. package/dist/{dist-DNdhYsgW.js → dist-U4F-tbMs.js} +79 -62
  52. package/dist/{dist-RqXTaiir.js → dist-abid3KgM.js} +11 -11
  53. package/dist/dist-cdmMjgsn.js +5 -0
  54. package/dist/dist-hT4QzYX-.js +1247 -0
  55. package/dist/{dist-luvabDEB.js → dist-t9Kf7xqC.js} +2 -2
  56. package/dist/{error-banner-5bz0L9hS.js → error-banner-CJXYJ6Sb.js} +11 -6
  57. package/dist/esm-BaH2eg5-.js +1171 -0
  58. package/dist/{esm-Duie8iU-.js → esm-ga2Bf3O2.js} +43 -43
  59. package/dist/{extends-CkydH1Q5.js → extends-D_hDsj6R.js} +4 -4
  60. package/dist/files/wasm-intro.py +11 -8
  61. package/dist/{formats-DHxc-FdY.js → formats-C4wO47tk.js} +1 -1
  62. package/dist/{glide-data-editor-CgIxTzAP.js → glide-data-editor-BPkCPs7L.js} +255 -255
  63. package/dist/{html-to-image-B93KtAVY.js → html-to-image-BwfcJJxA.js} +2412 -2282
  64. package/dist/{input-_2sjvfne.js → input-OdWHkobi.js} +263 -245
  65. package/dist/{label-LWtdw5i8.js → label-CC4ytI1X.js} +1 -1
  66. package/dist/main.js +7630 -7558
  67. package/dist/{mermaid-4DMBBIKO-DIdL224_.js → mermaid-4DMBBIKO-Eg3D4FVz.js} +1 -1
  68. package/dist/{mermaid-lXOw5Py9.js → mermaid-BotvIKg9.js} +4 -4
  69. package/dist/{process-output-BOXi9fnS.js → process-output-DsloEDna.js} +3 -3
  70. package/dist/{reveal-component-gRcjQbNL.js → reveal-component-BNU1V1x5.js} +698 -620
  71. package/dist/{spec-B96zNUEA.js → spec-X7FwLJni.js} +4 -4
  72. package/dist/{strings-Bu3vlb6W.js → strings-J57tzLr3.js} +47 -46
  73. package/dist/style.css +1 -1
  74. package/dist/{toDate-x-WRDCH7.js → toDate-d8RCRrRd.js} +2 -2
  75. package/dist/{tooltip-C5FYOpQc.js → tooltip-DpcyNkQ2.js} +2 -2
  76. package/dist/{types-CVvp1fKr.js → types-ChtMFmZ2.js} +1 -1
  77. package/dist/{useAsyncData-iRgKDT5s.js → useAsyncData-PonK__yh.js} +1 -1
  78. package/dist/{useDateFormatter-BA4FCquG.js → useDateFormatter-QB-3MpYr.js} +2 -2
  79. package/dist/{useDeepCompareMemoize-CkQ57VS2.js → useDeepCompareMemoize-D3NGWke6.js} +1 -1
  80. package/dist/{useLifecycle-BBO9PIph.js → useLifecycle-00mO3OSS.js} +2 -2
  81. package/dist/{useTheme-DHIrRQOe.js → useTheme-DEhDzATN.js} +1 -1
  82. package/dist/{vega-component-Dq-SH463.js → vega-component-DGPUhbDs.js} +8 -8
  83. package/dist/{zod-CoBiJ5v4.js → zod-aLSua2NL.js} +24 -23
  84. package/package.json +4 -3
  85. package/src/__tests__/setup.ts +16 -0
  86. package/src/components/chat/chat-display.tsx +2 -2
  87. package/src/components/data-table/TableBottomBar.tsx +1 -15
  88. package/src/components/data-table/TableTopBar.tsx +8 -13
  89. package/src/components/data-table/__tests__/TableBottomBar.test.tsx +6 -12
  90. package/src/components/data-table/__tests__/column-visibility-dropdown.test.tsx +227 -0
  91. package/src/components/data-table/column-visibility-dropdown.tsx +204 -0
  92. package/src/components/data-table/data-table.tsx +1 -1
  93. package/src/components/data-table/filter-by-values-picker.tsx +39 -17
  94. package/src/components/data-table/filter-pills.tsx +1 -1
  95. package/src/components/datasources/__tests__/filter-empty.test.ts +183 -0
  96. package/src/components/datasources/datasources.tsx +92 -3
  97. package/src/components/editor/cell/code/cell-editor.tsx +70 -32
  98. package/src/components/editor/cell/code/code-placeholder.css +18 -0
  99. package/src/components/editor/cell/code/code-placeholder.tsx +47 -0
  100. package/src/components/editor/cell/code/language-toggle.tsx +7 -1
  101. package/src/components/editor/chrome/wrapper/app-chrome.tsx +97 -52
  102. package/src/components/editor/chrome/wrapper/lazy-panels.ts +91 -0
  103. package/src/components/editor/chrome/wrapper/sidebar.tsx +2 -0
  104. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +9 -2
  105. package/src/components/editor/connections/storage/__tests__/as-code.test.ts +62 -27
  106. package/src/components/editor/connections/storage/add-storage-form.tsx +5 -1
  107. package/src/components/editor/connections/storage/as-code.ts +20 -6
  108. package/src/components/editor/documentation.css +35 -0
  109. package/src/components/editor/file-tree/file-explorer.tsx +8 -18
  110. package/src/components/editor/file-tree/tree-actions.tsx +46 -1
  111. package/src/components/editor/notebook-cell.tsx +3 -3
  112. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +20 -0
  113. package/src/components/editor/renderers/slides-layout/types.ts +1 -0
  114. package/src/components/markdown/__tests__/markdown-renderer.test.tsx +43 -0
  115. package/src/components/markdown/markdown-renderer.tsx +24 -1
  116. package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
  117. package/src/components/slides/__tests__/reveal-component.test.ts +425 -0
  118. package/src/components/slides/minimap.tsx +127 -10
  119. package/src/components/slides/reveal-component.tsx +287 -61
  120. package/src/components/slides/slide-cell-view.tsx +26 -2
  121. package/src/components/slides/slide-form.tsx +26 -4
  122. package/src/components/storage/__tests__/storage-inspector.test.ts +180 -0
  123. package/src/components/storage/storage-inspector.tsx +535 -81
  124. package/src/components/ui/combobox.tsx +51 -32
  125. package/src/components/ui/number-field.tsx +5 -1
  126. package/src/components/ui/reorderable-list.tsx +13 -0
  127. package/src/components/ui/select-core/__tests__/use-select-list.test.ts +294 -0
  128. package/src/components/ui/select-core/__tests__/utils.test.ts +222 -0
  129. package/src/components/ui/select-core/index.ts +16 -0
  130. package/src/components/ui/select-core/option-row.tsx +33 -0
  131. package/src/components/ui/select-core/render-slot.ts +20 -0
  132. package/src/components/ui/select-core/select-list.tsx +248 -0
  133. package/src/components/ui/select-core/types.ts +44 -0
  134. package/src/components/ui/select-core/use-select-list.ts +347 -0
  135. package/src/components/ui/select-core/utils.ts +121 -0
  136. package/src/components/ui/toast.tsx +1 -0
  137. package/src/core/cells/__tests__/document-changes.test.ts +2 -2
  138. package/src/core/cells/__tests__/focus.test.ts +45 -2
  139. package/src/core/cells/focus.ts +1 -1
  140. package/src/core/cells/scrollCellIntoView.ts +4 -0
  141. package/src/core/cells/utils.ts +1 -1
  142. package/src/core/codemirror/__tests__/editor-mount-scheduler.test.ts +143 -0
  143. package/src/core/codemirror/copilot/getCodes.ts +3 -1
  144. package/src/core/codemirror/editor-mount-scheduler.ts +101 -0
  145. package/src/core/codemirror/language/languages/python.ts +2 -0
  146. package/src/core/codemirror/language/languages/sql/utils.ts +3 -1
  147. package/src/core/codemirror/lsp/__tests__/markdown-renderer.test.ts +41 -0
  148. package/src/core/codemirror/lsp/markdown-renderer.ts +59 -0
  149. package/src/core/datasets/data-source-connections.ts +2 -0
  150. package/src/core/errors/errors.ts +1 -1
  151. package/src/core/storage/__tests__/state.test.ts +49 -0
  152. package/src/core/storage/__tests__/useStorageEntries.test.tsx +199 -3
  153. package/src/core/storage/state.ts +124 -13
  154. package/src/core/storage/types.ts +6 -0
  155. package/src/core/wasm/worker/bootstrap.ts +12 -4
  156. package/src/plugins/core/__test__/registerReactComponent.test.ts +96 -0
  157. package/src/plugins/core/registerReactComponent.tsx +42 -10
  158. package/src/plugins/impl/MultiselectPlugin.tsx +19 -142
  159. package/src/plugins/impl/SearchableSelect.tsx +16 -97
  160. package/src/plugins/impl/SliderPlugin.tsx +132 -18
  161. package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +5 -2
  162. package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +1 -1
  163. package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +278 -8
  164. package/src/utils/__tests__/numbers.test.ts +20 -0
  165. package/src/utils/errors.ts +9 -0
  166. package/src/utils/lazy.ts +6 -1
  167. package/src/utils/numbers.ts +27 -0
  168. package/src/utils/schedule-task.ts +71 -0
  169. package/dist/assets/__vite-browser-external-Ci2ZQfXU.js +0 -1
  170. package/dist/assets/worker-ip3AI_sN.js +0 -73
  171. package/dist/dist-0Fif7jnk.js +0 -5
  172. package/dist/dist-B5h_9sHB.js +0 -6
  173. package/dist/dist-B9M6R5ye.js +0 -5
  174. package/dist/dist-BCt3tnck.js +0 -8
  175. package/dist/dist-BUIJwMwn.js +0 -8
  176. package/dist/dist-BpquMd3k.js +0 -5
  177. package/dist/dist-BzJsqYfz.js +0 -5
  178. package/dist/dist-CA5ELXAf.js +0 -6
  179. package/dist/dist-CLBRs6Uv.js +0 -5
  180. package/dist/dist-CStVCMbq.js +0 -5
  181. package/dist/dist-CZRIEY3Y.js +0 -8
  182. package/dist/dist-CuUHbFD0.js +0 -5
  183. package/dist/dist-DV7Iabxb.js +0 -8
  184. package/dist/dist-DhHh0jLg.js +0 -1247
  185. package/dist/dist-DuEeHMvL.js +0 -5
  186. package/dist/esm-CCuYCd3R.js +0 -1171
  187. package/src/plugins/impl/multiselectFilterFn.tsx +0 -22
  188. /package/src/components/{data-table → ui}/value-chips.tsx +0 -0
@@ -1,25 +1,25 @@
1
- import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, R as Tag, S as foldInside, Z as EditorView, f as StreamLanguage, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-DNdhYsgW.js";
2
- import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-DhHh0jLg.js";
3
- import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-BTfv03uy.js";
4
- import { a as markdown } from "./dist-fQ0ViXGs.js";
5
- import { n as html, r as htmlCompletionSource } from "./dist-CcXxepx6.js";
6
- import { r as cssLanguage, t as css } from "./dist-DxvORzUR.js";
7
- import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-DqAWR3CS.js";
8
- import { r as python } from "./dist-BotSqB48.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, R as Tag, S as foldInside, V as styleTags, X as parseMixed, f as StreamLanguage, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
2
+ import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-hT4QzYX-.js";
3
+ import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-CcWX6tmx.js";
4
+ import { a as markdown } from "./dist-Dv_Y15yk.js";
5
+ import { n as html, r as htmlCompletionSource } from "./dist-BSAt6RhH.js";
6
+ import { r as cssLanguage, t as css } from "./dist-D-W5ny5a.js";
7
+ import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-M9Vag9Y0.js";
8
+ import { r as python } from "./dist-C_Y3oV3C.js";
9
9
  import { t as stex } from "./stex-BIsgBmK4.js";
10
- import { t as cpp } from "./dist-CLUtPrdy.js";
11
- import { t as go } from "./dist-RqXTaiir.js";
12
- import { t as java } from "./dist-DgnE8F-r.js";
13
- import { n as jinja } from "./dist-B3pZ0Ab6.js";
14
- import { t as json } from "./dist-h2c8sZvT.js";
15
- import { t as less } from "./dist-luvabDEB.js";
16
- import { n as liquid } from "./dist-4j4c7bjm.js";
17
- import { t as php } from "./dist-Bde4a2kU.js";
18
- import { t as rust } from "./dist-D4CewLk6.js";
19
- import { t as sass } from "./dist-Bfwsv11D.js";
20
- import { t as wast } from "./dist-BbbIBDiQ.js";
21
- import { r as xml } from "./dist-B3P2fFpz.js";
22
- import { t as yaml } from "./dist-C5VC_yzu.js";
10
+ import { t as cpp } from "./dist-CIYBwstr.js";
11
+ import { t as go } from "./dist-abid3KgM.js";
12
+ import { t as java } from "./dist-A2846XWO.js";
13
+ import { n as jinja } from "./dist-BR_gyG9L.js";
14
+ import { t as json } from "./dist-DZORgqKY.js";
15
+ import { t as less } from "./dist-t9Kf7xqC.js";
16
+ import { n as liquid } from "./dist-CpxNdDkw.js";
17
+ import { t as php } from "./dist-BY018Paw.js";
18
+ import { t as rust } from "./dist-Dax--nl9.js";
19
+ import { t as sass } from "./dist-DyyjKEYf.js";
20
+ import { t as wast } from "./dist-DMjWuVs8.js";
21
+ import { r as xml } from "./dist-DZo4nSS0.js";
22
+ import { t as yaml } from "./dist-BzEzfugY.js";
23
23
  import { t as apl } from "./apl-BCgCq9iM.js";
24
24
  import { t as asciiArmor } from "./asciiarmor-BtqU-KJQ.js";
25
25
  import { t as asn1 } from "./asn1-Dmb-dTMx.js";
@@ -102,7 +102,7 @@ import { t as xQuery } from "./xquery-Ba_NB5bD.js";
102
102
  import { t as yacas } from "./yacas-HKQU6hyk.js";
103
103
  import { t as z80 } from "./z80-CXkHXLdj.js";
104
104
  import { n as msgenny, r as xu, t as mscgen } from "./mscgen-DJfqD3bN.js";
105
- import { t as vue } from "./dist-CLJWPTX2.js";
105
+ import { t as vue } from "./dist-LTU8Hdvn.js";
106
106
  var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indStrContent = 67, indStrDollarBrace = 68, indStrEnd = 69, indEscapeSequence = 70, quote = 34, backslack = 92, braceL = 123, dollar = 36, apostrophe = 39, scanString = /* @__PURE__ */ new ExternalTokenizer((y) => {
107
107
  for (let G = false, K = 0; ; K++) {
108
108
  let { next: J } = y;
@@ -883,15 +883,15 @@ function maybeNest(y, G, K) {
883
883
  }
884
884
  var expressionParser = /* @__PURE__ */ parser$1.configure({ top: "SingleExpression" });
885
885
  function configureNesting(y) {
886
- let G = [], K = [], Y = [];
887
- for (let J of y) {
888
- let y2 = J.tag == "script" ? G : J.tag == "style" ? K : J.tag == "textarea" ? Y : null;
886
+ let G = [], K = [], J = [];
887
+ for (let Y of y) {
888
+ let y2 = Y.tag == "script" ? G : Y.tag == "style" ? K : Y.tag == "textarea" ? J : null;
889
889
  if (!y2) throw RangeError("Only script, style, and textarea tags can host nested parsers");
890
- y2.push(J);
890
+ y2.push(Y);
891
891
  }
892
- return parseMixed((y2, J) => {
892
+ return parseMixed((y2, Y) => {
893
893
  let X = y2.type.id;
894
- return X === LongExpression || X === ShortExpression ? { parser: expressionParser } : X === ScriptText ? maybeNest(y2, J, G) : X === StyleText ? maybeNest(y2, J, K) : X === TextareaText ? maybeNest(y2, J, Y) : null;
894
+ return X === LongExpression || X === ShortExpression ? { parser: expressionParser } : X === ScriptText ? maybeNest(y2, Y, G) : X === StyleText ? maybeNest(y2, Y, K) : X === TextareaText ? maybeNest(y2, Y, J) : null;
895
895
  });
896
896
  }
897
897
  var defaultNesting = [
@@ -985,36 +985,36 @@ function elementName(y, G, K = y.length) {
985
985
  let J = G.firstChild, Y = J && (J.getChild("TagName") || J.getChild("ComponentName") || J.getChild("SvelteElementName"));
986
986
  return Y ? y.sliceString(Y.from, Math.min(Y.to, K)) : "";
987
987
  }
988
- var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((y, J, Y, X) => {
989
- if (y.composing || y.state.readOnly || J != Y || X != ">" && X != "/" || !svelteLanguage.isActiveAt(y.state, J, -1)) return false;
990
- let { state: Z } = y, Q = Z.changeByRange((J2) => {
988
+ var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((y, G, J, X) => {
989
+ if (y.composing || y.state.readOnly || G != J || X != ">" && X != "/" || !svelteLanguage.isActiveAt(y.state, G, -1)) return false;
990
+ let { state: Z } = y, Q = Z.changeByRange((G2) => {
991
991
  var _a, _b, _c;
992
- let { head: Y2 } = J2, Q2 = syntaxTree(Z).resolveInner(Y2, -1), $;
992
+ let { head: J2 } = G2, Q2 = syntaxTree(Z).resolveInner(J2, -1), $;
993
993
  if ((Q2.name === "TagName" || Q2.name === "ComponentName" || Q2.name === "SvelteElementName" || Q2.name === "StartTag") && (Q2 = Q2.parent), X === ">" && Q2.name === "OpenTag") {
994
- if (((_b = (_a = Q2.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && ($ = elementName(Z.doc, Q2.parent, Y2))) {
995
- let K = y.state.doc.sliceString(Y2, Y2 + 1) === ">", J3 = `${K ? "" : ">"}</${$}>`;
994
+ if (((_b = (_a = Q2.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && ($ = elementName(Z.doc, Q2.parent, J2))) {
995
+ let G3 = y.state.doc.sliceString(J2, J2 + 1) === ">", K = `${G3 ? "" : ">"}</${$}>`;
996
996
  return {
997
- range: EditorSelection.cursor(Y2 + 1),
997
+ range: EditorSelection.cursor(J2 + 1),
998
998
  changes: {
999
- from: Y2 + (K ? 1 : 0),
1000
- insert: J3
999
+ from: J2 + (G3 ? 1 : 0),
1000
+ insert: K
1001
1001
  }
1002
1002
  };
1003
1003
  }
1004
1004
  } else if (X === "/" && Q2.name === "OpenTag") {
1005
- let K = Q2.parent, J3 = K == null ? void 0 : K.parent;
1006
- if (K.from == Y2 - 1 && ((_c = J3.lastChild) == null ? void 0 : _c.name) != "CloseTag" && ($ = elementName(Z.doc, J3, Y2))) {
1007
- let K2 = y.state.doc.sliceString(Y2, Y2 + 1) === ">", J4 = `/${$}${K2 ? "" : ">"}`, X2 = Y2 + J4.length + (K2 ? 1 : 0);
1005
+ let G3 = Q2.parent, K = G3 == null ? void 0 : G3.parent;
1006
+ if (G3.from == J2 - 1 && ((_c = K.lastChild) == null ? void 0 : _c.name) != "CloseTag" && ($ = elementName(Z.doc, K, J2))) {
1007
+ let G4 = y.state.doc.sliceString(J2, J2 + 1) === ">", K2 = `/${$}${G4 ? "" : ">"}`, X2 = J2 + K2.length + (G4 ? 1 : 0);
1008
1008
  return {
1009
1009
  range: EditorSelection.cursor(X2),
1010
1010
  changes: {
1011
- from: Y2,
1012
- insert: J4
1011
+ from: J2,
1012
+ insert: K2
1013
1013
  }
1014
1014
  };
1015
1015
  }
1016
1016
  }
1017
- return { range: J2 };
1017
+ return { range: G2 };
1018
1018
  });
1019
1019
  return Q.changes.empty ? false : (y.dispatch(Q, {
1020
1020
  userEvent: "input.type",
@@ -2,11 +2,11 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { g as cn, h as Events } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-5jQ_kGE1.js";
6
- import { t as Check } from "./check-DTbrK0zt.js";
5
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-UqRYxiOg.js";
6
+ import { t as Check } from "./check-BCaJeT-J.js";
7
7
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
8
- import { t as Tooltip } from "./tooltip-C5FYOpQc.js";
9
- import { $ as ViewPlugin, A as indentString, Bt as combineConfig, Ct as ChangeSet, D as getIndentation, E as getIndentUnit, Et as EditorSelection, Ft as StateField, H as NodeProp, Ht as findClusterBreak, I as syntaxTree, It as Text, Lt as Transaction, Mt as RangeSetBuilder, N as matchBrackets, Ot as Facet, Pt as StateEffect, St as ChangeDesc, Vt as countColumn, X as Direction, Y as Decoration, Z as EditorView, bt as crelt, et as WidgetType, it as getPanel, j as indentUnit, jt as RangeSet, o as IndentContext, pt as logException, ut as hoverTooltip, vt as showPanel, xt as Annotation } from "./dist-DNdhYsgW.js";
8
+ import { t as Tooltip } from "./tooltip-DpcyNkQ2.js";
9
+ import { $ as EditorView, A as indentString, At as Facet, Ct as Annotation, D as getIndentation, E as getIndentUnit, Ht as combineConfig, I as syntaxTree, It as StateEffect, Lt as StateField, N as matchBrackets, Nt as RangeSet, Ot as EditorSelection, Pt as RangeSetBuilder, Q as Direction, Rt as Text, St as crelt, Tt as ChangeSet, Ut as countColumn, W as NodeProp, Wt as findClusterBreak, Z as Decoration, bt as showPanel, ft as hoverTooltip, ht as logException, j as indentUnit, nt as WidgetType, o as IndentContext, ot as getPanel, tt as ViewPlugin, wt as ChangeDesc, zt as Transaction } from "./dist-U4F-tbMs.js";
10
10
  var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
11
11
  const CopyClipboardIcon = (e5) => {
12
12
  let M = (0, import_compiler_runtime.c)(14), { value: N, className: R, buttonClassName: B, tooltip: V, toastTitle: H, ariaLabel: U } = e5, [W, G] = (0, import_react.useState)(false), K;
@@ -1,5 +1,6 @@
1
1
  # Copyright 2026 Marimo. All rights reserved.
2
2
 
3
+ # ruff: noqa: ANN202, B018
3
4
  import marimo
4
5
 
5
6
  __generated_with = "0.2.6"
@@ -11,7 +12,7 @@ def __():
11
12
  import marimo as mo
12
13
 
13
14
  mo.md("# Welcome to [marimo](https://github.com/marimo-team/marimo)! 🌊🍃")
14
- return mo,
15
+ return (mo,)
15
16
 
16
17
 
17
18
  @app.cell(hide_code=True)
@@ -41,8 +42,10 @@ def __(mo):
41
42
  and models, doing lightweight data analysis, authoring blog
42
43
  posts, tutorials, and educational articles, and even building internal
43
44
  tools. They are not well-suited for notebooks that do heavy
44
- computation, and they don't support multi-threading nor
45
- multiprocessing; for these cases, use a regular marimo notebook.
45
+ computation or need true CPU parallelism. WASM notebooks support a
46
+ limited cooperative concurrency surface, but not OS threads,
47
+ shared-memory multiprocessing, or process isolation. For those
48
+ cases, use a regular marimo notebook.
46
49
  """
47
50
  }
48
51
  )
@@ -75,7 +78,7 @@ def __(mo):
75
78
  @app.cell
76
79
  def __(mo):
77
80
  slider = mo.ui.slider(1, 22)
78
- return slider,
81
+ return (slider,)
79
82
 
80
83
 
81
84
  @app.cell
@@ -145,7 +148,7 @@ def __(changed, mo):
145
148
  @app.cell
146
149
  def __():
147
150
  changed = False
148
- return changed,
151
+ return (changed,)
149
152
 
150
153
 
151
154
  @app.cell(hide_code=True)
@@ -234,13 +237,13 @@ def __(mo):
234
237
  @app.cell
235
238
  def __(mo):
236
239
  icon = mo.ui.dropdown(["🍃", "🌊", "✨"], value="🍃")
237
- return icon,
240
+ return (icon,)
238
241
 
239
242
 
240
243
  @app.cell
241
244
  def __(icon, mo):
242
245
  repetitions = mo.ui.slider(1, 16, label=f"number of {icon.value}: ")
243
- return repetitions,
246
+ return (repetitions,)
244
247
 
245
248
 
246
249
  @app.cell
@@ -486,7 +489,7 @@ def __():
486
489
  """
487
490
  ),
488
491
  }
489
- return tips,
492
+ return (tips,)
490
493
 
491
494
 
492
495
  if __name__ == "__main__":
@@ -2,7 +2,7 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { g as cn, r as cva } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { t as toDate } from "./toDate-x-WRDCH7.js";
5
+ import { t as toDate } from "./toDate-d8RCRrRd.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
7
  import { i as tableFromIPC } from "./loader-BWLPpjKK.js";
8
8
  function isDate(e) {