@bendyline/squisq-editor-react 2.11.1 → 2.11.2

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.
@@ -27716,10 +27716,9 @@ var CODE_SNIPPET_HEADER_HEIGHT = 34;
27716
27716
  var CODE_SNIPPET_LINE_HEIGHT = 20;
27717
27717
  var CODE_SNIPPET_VERTICAL_PADDING = 20;
27718
27718
  var CODE_SNIPPET_SHELL_BORDER = 2;
27719
- var CODE_SNIPPET_EXTRA_LINES = 1;
27720
27719
  function codeSnippetAutoHeight(source) {
27721
27720
  const sourceLineCount = source.split("\n").length;
27722
- return CODE_SNIPPET_SHELL_BORDER + CODE_SNIPPET_HEADER_HEIGHT + CODE_SNIPPET_VERTICAL_PADDING + (sourceLineCount + CODE_SNIPPET_EXTRA_LINES) * CODE_SNIPPET_LINE_HEIGHT;
27721
+ return CODE_SNIPPET_SHELL_BORDER + CODE_SNIPPET_HEADER_HEIGHT + CODE_SNIPPET_VERTICAL_PADDING + sourceLineCount * CODE_SNIPPET_LINE_HEIGHT;
27723
27722
  }
27724
27723
 
27725
27724
  // src/codeSnippet/CodeSnippetWidget.tsx
package/dist/index.js CHANGED
@@ -229,7 +229,7 @@ import {
229
229
  useTreeViewData,
230
230
  viewStateFromBinding,
231
231
  writeHeadingViewState
232
- } from "./chunk-4KE4HP3W.js";
232
+ } from "./chunk-QIQNP2GI.js";
233
233
  import "./chunk-V4NBQF5C.js";
234
234
  import {
235
235
  JsonEditor
@@ -7,7 +7,7 @@ import {
7
7
  WysiwygEditor,
8
8
  useEditorContext,
9
9
  useEditorContextMenuItems
10
- } from "../chunk-4KE4HP3W.js";
10
+ } from "../chunk-QIQNP2GI.js";
11
11
  import "../chunk-V4NBQF5C.js";
12
12
  import "../chunk-A2W4GYPG.js";
13
13
  import "../chunk-V44VP242.js";
@@ -16254,7 +16254,7 @@
16254
16254
  box-sizing: border-box;
16255
16255
  display: flex;
16256
16256
  width: 100%;
16257
- min-height: 96px;
16257
+ min-height: 76px;
16258
16258
  max-height: 70vh;
16259
16259
  flex-direction: column;
16260
16260
  overflow: hidden;
@@ -16839,6 +16839,9 @@
16839
16839
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
16840
16840
  font-weight: 400;
16841
16841
  }
16842
+ .squisq-grid-valuemenu > * {
16843
+ flex: none;
16844
+ }
16842
16845
  .squisq-grid-valueoption {
16843
16846
  display: block;
16844
16847
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-editor-react",
3
- "version": "2.11.1",
3
+ "version": "2.11.2",
4
4
  "description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",
@@ -94,12 +94,12 @@
94
94
  }
95
95
  },
96
96
  "dependencies": {
97
- "@bendyline/squisq": "2.11.1",
97
+ "@bendyline/squisq": "2.11.2",
98
98
  "@bendyline/squisq-calc": "2.11.0",
99
- "@bendyline/squisq-formats": "2.6.1",
100
- "@bendyline/squisq-grid-react": "2.11.2",
101
- "@bendyline/squisq-react": "2.11.1",
102
- "@bendyline/squisq-video-react": "2.4.5",
99
+ "@bendyline/squisq-formats": "2.6.2",
100
+ "@bendyline/squisq-grid-react": "2.11.3",
101
+ "@bendyline/squisq-react": "2.11.2",
102
+ "@bendyline/squisq-video-react": "2.4.6",
103
103
  "@fortawesome/fontawesome-free": "7.2.0",
104
104
  "@tiptap/core": "2.27.2",
105
105
  "@tiptap/extension-heading": "2.27.2",