@marimo-team/islands 0.17.3 → 0.17.4

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 CHANGED
@@ -21982,28 +21982,19 @@ ${g}
21982
21982
  }
21983
21983
  transformOut(e, r) {
21984
21984
  e === "" && (e = " ");
21985
- let { quotePrefix: c } = r, l = e.replaceAll('"""', String.raw`\"""`), d = !e.includes("\n"), f = e.startsWith('"') || e.endsWith('"'), h = `${c}"""`;
21985
+ let { quotePrefix: c } = r, l = e.replaceAll('"""', String.raw`\"""`), d = !e.includes("\n"), f = e.startsWith('"') || e.endsWith('"');
21986
21986
  if (d && !f) {
21987
- if (`${h}${l}"""`.length >= 74) {
21988
- let e3 = `mo.md("
21989
- ${h}`;
21990
- return {
21991
- code: `${e3}${l}"""
21992
- )`,
21993
- offset: e3.length
21994
- };
21995
- }
21996
21987
  let e2 = `mo.md(${c}"""`;
21997
21988
  return {
21998
21989
  code: e2 + l + '""")',
21999
21990
  offset: e2.length
22000
21991
  };
22001
21992
  }
22002
- let g = `mo.md(${c}"""
21993
+ let h = `mo.md(${c}"""
22003
21994
  `;
22004
21995
  return {
22005
- code: g + l + '\n""")',
22006
- offset: g.length + 1
21996
+ code: h + l + '\n""")',
21997
+ offset: h.length + 1
22007
21998
  };
22008
21999
  }
22009
22000
  isSupported(e) {
@@ -38465,7 +38456,7 @@ ${JSON.stringify(e2, null, 4)}`);
38465
38456
  },
38466
38457
  FORCE_BODY: true,
38467
38458
  CUSTOM_ELEMENT_HANDLING: {
38468
- tagNameCheck: /^marimo-[A-Za-z][\w-]*$/,
38459
+ tagNameCheck: /^(marimo-[A-Za-z][\w-]*|iconify-icon)$/,
38469
38460
  attributeNameCheck: /^[A-Za-z][\w-]*$/
38470
38461
  }
38471
38462
  });
@@ -97608,7 +97599,7 @@ Defaulting to \`null\`.`;
97608
97599
  return Logger.warn("Failed to get version from mount config"), null;
97609
97600
  }
97610
97601
  }
97611
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.17.3"), showCodeInRunModeAtom = atom(true);
97602
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.17.4"), showCodeInRunModeAtom = atom(true);
97612
97603
  atom(null);
97613
97604
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
97614
97605
  constructor() {