@inkandswitch/patchwork-pkg-base 0.0.54 → 0.0.56

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 (24) hide show
  1. package/package.json +1 -1
  2. package/packages/account/dist/{AccountPicker-HMEN6MEN.js → AccountPicker-HB6MDLKN.js} +390 -123
  3. package/packages/account/dist/AccountPicker-HB6MDLKN.js.map +7 -0
  4. package/packages/account/dist/{ContactAvatar-KCZOCABR.js → ContactAvatar-KM4BONY5.js} +7 -7
  5. package/packages/account/dist/ContactAvatar-KM4BONY5.js.map +7 -0
  6. package/packages/account/dist/{ContactCursor-RLXRAX65.js → ContactCursor-4FYCATG5.js} +6 -6
  7. package/packages/account/dist/ContactCursor-4FYCATG5.js.map +7 -0
  8. package/packages/account/dist/index.css +96 -15
  9. package/packages/account/dist/index.css.map +2 -2
  10. package/packages/account/dist/index.js +3 -3
  11. package/packages/codemirror-base/dist/{chunk-H5POLO74.js → chunk-AKNT5U37.js} +43 -28
  12. package/packages/codemirror-base/dist/chunk-AKNT5U37.js.map +7 -0
  13. package/packages/codemirror-base/dist/lib/codemirror.js +1 -1
  14. package/packages/codemirror-base/dist/tool.js +21 -3
  15. package/packages/codemirror-base/dist/tool.js.map +2 -2
  16. package/packages/comments-view/dist/assets/main-BPvgT7fH.js +1 -1
  17. package/packages/tldraw4/dist/tool.js +3 -23
  18. package/packages/tldraw4/dist/tool.js.map +2 -2
  19. package/packages/account/dist/AccountPicker-HMEN6MEN.js.map +0 -7
  20. package/packages/account/dist/ContactAvatar-KCZOCABR.js.map +0 -7
  21. package/packages/account/dist/ContactCursor-RLXRAX65.js.map +0 -7
  22. package/packages/account/dist/chunk-3YUNEZX6.js +0 -38
  23. package/packages/account/dist/chunk-3YUNEZX6.js.map +0 -7
  24. package/packages/codemirror-base/dist/chunk-H5POLO74.js.map +0 -7
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CodeMirror
3
- } from "../chunk-H5POLO74.js";
3
+ } from "../chunk-AKNT5U37.js";
4
4
  export {
5
5
  CodeMirror
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CodeMirror
3
- } from "./chunk-H5POLO74.js";
3
+ } from "./chunk-AKNT5U37.js";
4
4
 
5
5
  // src/tool.tsx
6
6
  import { template as _$template } from "solid-js/web";
@@ -287,9 +287,24 @@ var commentUITheme = EditorView.baseTheme({
287
287
  // The draft textarea is width:100% with its own padding + border; without
288
288
  // border-box it spills out of the card's right edge (the card's own reset is
289
289
  // scoped to the sidebar panel, which the popover isn't inside).
290
- ".cm-comment-popover .comment-draft-textarea": {
290
+ ".cm-comment-popover .comment-draft-editor": {
291
291
  boxSizing: "border-box",
292
- maxWidth: "100%"
292
+ maxWidth: "100%",
293
+ minWidth: "0",
294
+ width: "100%"
295
+ },
296
+ ".cm-comment-popover .comment-draft-editor .cm-content": {
297
+ minHeight: "0",
298
+ minWidth: "0",
299
+ margin: "0",
300
+ padding: "8px"
301
+ },
302
+ ".cm-comment-popover .comment-draft-editor .cm-line": {
303
+ margin: "0",
304
+ padding: "0"
305
+ },
306
+ ".cm-comment-popover .comment-draft-editor .cm-scroller": {
307
+ minWidth: "0"
293
308
  }
294
309
  });
295
310
  var commentUI = (options) => {
@@ -941,6 +956,9 @@ function CodeMirrorEditor(props) {
941
956
  get handle() {
942
957
  return props.handle;
943
958
  },
959
+ get repo() {
960
+ return props.repo;
961
+ },
944
962
  path: PATH,
945
963
  decorations,
946
964
  baseline: () => baseline()?.heads ?? null,