@dxos/react-ui-editor 0.4.4-main.e05bf88 → 0.4.4-main.e0df51e

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.
@@ -715,10 +715,10 @@ import { bracketMatching, defaultHighlightStyle, syntaxHighlighting } from "@cod
715
715
  import { oneDarkHighlightStyle } from "@codemirror/theme-one-dark";
716
716
  import { drawSelection, EditorView as EditorView4, highlightActiveLine, placeholder } from "@codemirror/view";
717
717
  import { isNotFalsy as isNotFalsy2 } from "@dxos/util";
718
- var createBasicBundle = ({ themeMode, placeholder: _placeholder, lineWrapping = true } = {}) => [
718
+ var createBasicBundle = ({ themeMode, placeholder: _placeholder, lineWrapping = true, bracketMatching: _bracketMatching = true } = {}) => [
719
719
  lineWrapping && EditorView4.lineWrapping,
720
720
  // https://codemirror.net/docs/ref/#codemirror.minimalSetup
721
- bracketMatching(),
721
+ _bracketMatching && bracketMatching(),
722
722
  closeBrackets(),
723
723
  drawSelection(),
724
724
  highlightActiveLine(),
@@ -1115,7 +1115,7 @@ var tokens = tailwindConfig({}).theme;
1115
1115
  var getToken = (path, defaultValue = void 0) => get2(tokens, path, defaultValue);
1116
1116
 
1117
1117
  // packages/ui/react-ui-editor/src/styles/layout.ts
1118
- var editorWithToolbarLayout = "grid grid-cols-1 grid-rows-[min-content_1fr] justify-center content-start overflow-hidden";
1118
+ var editorWithToolbarLayout = "grid grid-cols-1 grid-rows-[min-content_1fr] data-[toolbar=disabled]:grid-rows-[1fr] justify-center content-start overflow-hidden";
1119
1119
  var editorFillLayoutRoot = "min-bs-full grid";
1120
1120
  var editorFillLayoutEditor = "min-bs-full";
1121
1121
  var editorHalfViewportOverscrollContent = "after:block after:min-bs-[50dvh] after:pointer-events-none";