@inkandswitch/patchwork-pkg-base 0.0.66 → 0.0.67

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 (33) hide show
  1. package/module-settings-url +1 -1
  2. package/package.json +1 -1
  3. package/packages/codemirror-markdown/example.js +1 -2
  4. package/packages/tldraw4/dist/{chunk-IKZWERSR.js → chunk-G3PMV62Z.js} +1 -3
  5. package/packages/tldraw4/dist/{chunk-7CJQMVDI.js → chunk-PMHAL5YM.js} +4 -4
  6. package/packages/tldraw4/dist/datatype.js +2 -2
  7. package/packages/tldraw4/dist/main.js +1 -1
  8. package/packages/tldraw4/dist/{sanitizeSvg-OOYBXUQ2.js → sanitizeSvg-NCGPTJ3E.js} +2 -2
  9. package/packages/tldraw4/dist/tool.js +450 -5675
  10. package/packages/tldraw4/dist/tool.js.map +4 -4
  11. package/packages/tldraw4/package.json +0 -1
  12. package/packages/tldraw5/dist/{chunk-GKLJTYCF.js → chunk-DO47QRII.js} +1 -3
  13. package/packages/tldraw5/dist/{chunk-4JN3PIR7.js → chunk-FTKY6DDS.js} +3 -3
  14. package/packages/tldraw5/dist/{chunk-JDHJ334K.js → chunk-SZI4VCOI.js} +4 -4
  15. package/packages/tldraw5/dist/datatype.js +3 -3
  16. package/packages/tldraw5/dist/main.js +1 -1
  17. package/packages/tldraw5/dist/{sanitizeSvg-3EKLLIYO.js → sanitizeSvg-J7F3MQGT.js} +2 -2
  18. package/packages/tldraw5/dist/{script-VW3AAU5T.js → script-4RKE5JKT.js} +3 -3
  19. package/packages/tldraw5/dist/script-4RKE5JKT.js.map +7 -0
  20. package/packages/tldraw5/dist/{tldr-archive-WERHN3T4.js → tldr-archive-5X7EMHWZ.js} +3 -3
  21. package/packages/tldraw5/dist/tool.js +293 -1543
  22. package/packages/tldraw5/dist/tool.js.map +4 -4
  23. package/packages/tldraw5/package.json +0 -1
  24. package/plugin-registry-url +1 -1
  25. package/packages/tldraw5/dist/script-VW3AAU5T.js.map +0 -7
  26. /package/packages/tldraw4/dist/{chunk-IKZWERSR.js.map → chunk-G3PMV62Z.js.map} +0 -0
  27. /package/packages/tldraw4/dist/{chunk-7CJQMVDI.js.map → chunk-PMHAL5YM.js.map} +0 -0
  28. /package/packages/tldraw4/dist/{sanitizeSvg-OOYBXUQ2.js.map → sanitizeSvg-NCGPTJ3E.js.map} +0 -0
  29. /package/packages/tldraw5/dist/{chunk-GKLJTYCF.js.map → chunk-DO47QRII.js.map} +0 -0
  30. /package/packages/tldraw5/dist/{chunk-4JN3PIR7.js.map → chunk-FTKY6DDS.js.map} +0 -0
  31. /package/packages/tldraw5/dist/{chunk-JDHJ334K.js.map → chunk-SZI4VCOI.js.map} +0 -0
  32. /package/packages/tldraw5/dist/{sanitizeSvg-3EKLLIYO.js.map → sanitizeSvg-J7F3MQGT.js.map} +0 -0
  33. /package/packages/tldraw5/dist/{tldr-archive-WERHN3T4.js.map → tldr-archive-5X7EMHWZ.js.map} +0 -0
@@ -1 +1 @@
1
- automerge:3rjarkUBg39y6PouqfqsBnn2Yubn
1
+ automerge:2rRXfQ9YHLdroyLDyWw1tcsUngBN
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkandswitch/patchwork-pkg-base",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "type": "module",
5
5
  "description": "Base packages for the Patchwork system",
6
6
  "repository": {
@@ -21,8 +21,7 @@ Swap out your editor: use the "Open with..." to switch to the Raw editor. It's a
21
21
 
22
22
  Don't like what you did to a document? You can use the Drafts tool in the right-hand sidebar to go back in time and make a draft at an earlier point.
23
23
 
24
- Want to invite an LLM to be a guest? Try typing ` /
25
- model` in the Watercooler sidebar and you should be able to either install a local model or paste in an OpenRouter key to chat with anything they offer. Their changes will show up in the document's history, just like yours.
24
+ Want to invite an LLM to be a guest? Try typing \`/model\` in the Watercooler sidebar and you should be able to either install a local model or paste in an OpenRouter key to chat with anything they offer. Their changes will show up in the document's history, just like yours.
26
25
 
27
26
  ## Let's make some new tools
28
27
 
@@ -19,7 +19,6 @@ var __copyProps = (to, from, except, desc) => {
19
19
  }
20
20
  return to;
21
21
  };
22
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
23
22
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
23
  // If the importer is in node compatibility mode or this is not an ESM
25
24
  // file that has been converted to a CommonJS file using a Babel-
@@ -32,7 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
31
  export {
33
32
  __commonJS,
34
33
  __export,
35
- __reExport,
36
34
  __toESM
37
35
  };
38
- //# sourceMappingURL=chunk-IKZWERSR.js.map
36
+ //# sourceMappingURL=chunk-G3PMV62Z.js.map
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __export,
4
4
  __toESM
5
- } from "./chunk-IKZWERSR.js";
5
+ } from "./chunk-G3PMV62Z.js";
6
6
 
7
7
  // node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.js
8
8
  var require_lodash = __commonJS({
@@ -95631,7 +95631,7 @@ async function defaultHandleExternalUrlAsset(editor, { url }, { toasts, msg: msg
95631
95631
  };
95632
95632
  }
95633
95633
  async function defaultHandleExternalSvgTextContent(editor, { point, text }) {
95634
- const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-OOYBXUQ2.js");
95634
+ const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-NCGPTJ3E.js");
95635
95635
  text = sanitizeSvg2(text);
95636
95636
  if (!text) return;
95637
95637
  const position = point ?? (editor.inputs.getShiftKey() ? editor.inputs.getCurrentPagePoint() : editor.getViewportPageBounds().center);
@@ -95973,7 +95973,7 @@ async function maybeSanitizeSvgFile(file) {
95973
95973
  if (file.type !== "image/svg+xml") return file;
95974
95974
  try {
95975
95975
  const text = await file.text();
95976
- const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-OOYBXUQ2.js");
95976
+ const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-NCGPTJ3E.js");
95977
95977
  const sanitized = sanitizeSvg2(text);
95978
95978
  if (!sanitized) return null;
95979
95979
  return new File([sanitized], file.name, { type: file.type, lastModified: file.lastModified });
@@ -138852,4 +138852,4 @@ tldraw/dist-esm/lib/shapes/shared/PathBuilder.mjs:
138852
138852
  * https://github.com/adobe-webplatform/Snap.svg/blob/c8e483c9694517e24b282f8f59f985629f4994ce/dist/snap.svg.js#L5786
138853
138853
  *)
138854
138854
  */
138855
- //# sourceMappingURL=chunk-7CJQMVDI.js.map
138855
+ //# sourceMappingURL=chunk-PMHAL5YM.js.map
@@ -2,9 +2,9 @@ import {
2
2
  createTLStore,
3
3
  defaultShapeUtils,
4
4
  tldrawValueToAutomergeValue
5
- } from "./chunk-7CJQMVDI.js";
5
+ } from "./chunk-PMHAL5YM.js";
6
6
  import "./chunk-HLPPAGU3.js";
7
- import "./chunk-IKZWERSR.js";
7
+ import "./chunk-G3PMV62Z.js";
8
8
 
9
9
  // src/datatype.ts
10
10
  var pageKey = "page:page";
@@ -1,4 +1,4 @@
1
- import "./chunk-IKZWERSR.js";
1
+ import "./chunk-G3PMV62Z.js";
2
2
 
3
3
  // src/main.ts
4
4
  function addStyles(textContent, element = document.head) {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  sanitizeSvg
3
3
  } from "./chunk-HLPPAGU3.js";
4
- import "./chunk-IKZWERSR.js";
4
+ import "./chunk-G3PMV62Z.js";
5
5
  export {
6
6
  sanitizeSvg
7
7
  };
8
- //# sourceMappingURL=sanitizeSvg-OOYBXUQ2.js.map
8
+ //# sourceMappingURL=sanitizeSvg-NCGPTJ3E.js.map