@uniformdev/mesh-sdk-react 19.178.2-alpha.25 → 19.179.1-alpha.1

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/index.d.mts CHANGED
@@ -1799,6 +1799,8 @@ type FilterOption = {
1799
1799
  disabled?: boolean;
1800
1800
  /** If filter operator allows it allow bind dynamic value to this filter */
1801
1801
  bindable?: boolean;
1802
+ /** If value should be excluded from the sort options */
1803
+ excludeFromSort?: boolean;
1802
1804
  };
1803
1805
  /** @deprecated beta - Filter selected and query value props */
1804
1806
  type Filter = {
package/dist/index.d.ts CHANGED
@@ -1799,6 +1799,8 @@ type FilterOption = {
1799
1799
  disabled?: boolean;
1800
1800
  /** If filter operator allows it allow bind dynamic value to this filter */
1801
1801
  bindable?: boolean;
1802
+ /** If value should be excluded from the sort options */
1803
+ excludeFromSort?: boolean;
1802
1804
  };
1803
1805
  /** @deprecated beta - Filter selected and query value props */
1804
1806
  type Filter = {
package/dist/index.esm.js CHANGED
@@ -2795,9 +2795,6 @@ import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext
2795
2795
  import { dequal } from "dequal/lite";
2796
2796
  import { useEffect as useEffect5, useRef as useRef8 } from "react";
2797
2797
 
2798
- // src/components/Variables/util/setVariablesEditorValue.ts
2799
- import { emptyRichTextValue } from "@uniformdev/richtext";
2800
-
2801
2798
  // src/components/Variables/util/deserializeVariablesEditorState.ts
2802
2799
  import { parseVariableExpression } from "@uniformdev/canvas";
2803
2800
  import { TextNode } from "lexical";
@@ -2875,7 +2872,26 @@ function setVariablesEditorValue(editor, newValue) {
2875
2872
  "Error:",
2876
2873
  e
2877
2874
  );
2878
- const parsedState = editor.parseEditorState(emptyRichTextValue);
2875
+ const parsedState = editor.parseEditorState({
2876
+ root: {
2877
+ type: "root",
2878
+ version: 1,
2879
+ direction: null,
2880
+ format: "",
2881
+ indent: 0,
2882
+ children: [
2883
+ {
2884
+ type: "paragraph",
2885
+ version: 1,
2886
+ format: "start",
2887
+ indent: 0,
2888
+ direction: null,
2889
+ children: [],
2890
+ textFormat: 0
2891
+ }
2892
+ ]
2893
+ }
2894
+ });
2879
2895
  editor.setEditorState(parsedState);
2880
2896
  }
2881
2897
  }
@@ -5007,7 +5023,7 @@ function ParameterConnectionIndicator({
5007
5023
  return result;
5008
5024
  }, [value]);
5009
5025
  return /* @__PURE__ */ jsxs24(HorizontalRhythm5, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5010
- /* @__PURE__ */ jsx41("div", { css: { flex: 1, maxWidth: "100%" }, children }),
5026
+ /* @__PURE__ */ jsx41("div", { css: { flex: 1 }, children }),
5011
5027
  disabled ? null : /* @__PURE__ */ jsx41(
5012
5028
  Menu3,
5013
5029
  {
package/dist/index.js CHANGED
@@ -3039,9 +3039,6 @@ var import_LexicalComposerContext = require("@lexical/react/LexicalComposerConte
3039
3039
  var import_lite = require("dequal/lite");
3040
3040
  var import_react31 = require("react");
3041
3041
 
3042
- // src/components/Variables/util/setVariablesEditorValue.ts
3043
- var import_richtext = require("@uniformdev/richtext");
3044
-
3045
3042
  // src/components/Variables/util/deserializeVariablesEditorState.ts
3046
3043
  var import_canvas2 = require("@uniformdev/canvas");
3047
3044
  var import_lexical = require("lexical");
@@ -3119,7 +3116,26 @@ function setVariablesEditorValue(editor, newValue) {
3119
3116
  "Error:",
3120
3117
  e
3121
3118
  );
3122
- const parsedState = editor.parseEditorState(import_richtext.emptyRichTextValue);
3119
+ const parsedState = editor.parseEditorState({
3120
+ root: {
3121
+ type: "root",
3122
+ version: 1,
3123
+ direction: null,
3124
+ format: "",
3125
+ indent: 0,
3126
+ children: [
3127
+ {
3128
+ type: "paragraph",
3129
+ version: 1,
3130
+ format: "start",
3131
+ indent: 0,
3132
+ direction: null,
3133
+ children: [],
3134
+ textFormat: 0
3135
+ }
3136
+ ]
3137
+ }
3138
+ });
3123
3139
  editor.setEditorState(parsedState);
3124
3140
  }
3125
3141
  }
@@ -5206,7 +5222,7 @@ function ParameterConnectionIndicator({
5206
5222
  return result;
5207
5223
  }, [value]);
5208
5224
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_design_system22.HorizontalRhythm, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5209
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { css: { flex: 1, maxWidth: "100%" }, children }),
5225
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { css: { flex: 1 }, children }),
5210
5226
  disabled ? null : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5211
5227
  import_design_system22.Menu,
5212
5228
  {
package/dist/index.mjs CHANGED
@@ -2795,9 +2795,6 @@ import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext
2795
2795
  import { dequal } from "dequal/lite";
2796
2796
  import { useEffect as useEffect5, useRef as useRef8 } from "react";
2797
2797
 
2798
- // src/components/Variables/util/setVariablesEditorValue.ts
2799
- import { emptyRichTextValue } from "@uniformdev/richtext";
2800
-
2801
2798
  // src/components/Variables/util/deserializeVariablesEditorState.ts
2802
2799
  import { parseVariableExpression } from "@uniformdev/canvas";
2803
2800
  import { TextNode } from "lexical";
@@ -2875,7 +2872,26 @@ function setVariablesEditorValue(editor, newValue) {
2875
2872
  "Error:",
2876
2873
  e
2877
2874
  );
2878
- const parsedState = editor.parseEditorState(emptyRichTextValue);
2875
+ const parsedState = editor.parseEditorState({
2876
+ root: {
2877
+ type: "root",
2878
+ version: 1,
2879
+ direction: null,
2880
+ format: "",
2881
+ indent: 0,
2882
+ children: [
2883
+ {
2884
+ type: "paragraph",
2885
+ version: 1,
2886
+ format: "start",
2887
+ indent: 0,
2888
+ direction: null,
2889
+ children: [],
2890
+ textFormat: 0
2891
+ }
2892
+ ]
2893
+ }
2894
+ });
2879
2895
  editor.setEditorState(parsedState);
2880
2896
  }
2881
2897
  }
@@ -5007,7 +5023,7 @@ function ParameterConnectionIndicator({
5007
5023
  return result;
5008
5024
  }, [value]);
5009
5025
  return /* @__PURE__ */ jsxs24(HorizontalRhythm5, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5010
- /* @__PURE__ */ jsx41("div", { css: { flex: 1, maxWidth: "100%" }, children }),
5026
+ /* @__PURE__ */ jsx41("div", { css: { flex: 1 }, children }),
5011
5027
  disabled ? null : /* @__PURE__ */ jsx41(
5012
5028
  Menu3,
5013
5029
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.178.2-alpha.25+0f7f53f560",
3
+ "version": "19.179.1-alpha.1+3adc08c00a",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,17 +45,16 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@hookform/resolvers": "^3.3.1",
48
- "@lexical/clipboard": "0.17.0",
49
- "@lexical/react": "0.17.0",
50
- "@lexical/selection": "0.17.0",
51
- "@lexical/utils": "0.17.0",
48
+ "@lexical/clipboard": "0.16.1",
49
+ "@lexical/react": "0.16.1",
50
+ "@lexical/selection": "0.16.1",
51
+ "@lexical/utils": "0.16.1",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.2.1/react-icons-all-files-5.2.1.tgz",
53
- "@uniformdev/canvas": "19.178.2-alpha.25+0f7f53f560",
54
- "@uniformdev/design-system": "19.178.2-alpha.25+0f7f53f560",
55
- "@uniformdev/mesh-sdk": "19.178.2-alpha.25+0f7f53f560",
56
- "@uniformdev/richtext": "19.178.2-alpha.25+0f7f53f560",
53
+ "@uniformdev/canvas": "19.179.1-alpha.1+3adc08c00a",
54
+ "@uniformdev/design-system": "19.179.1-alpha.1+3adc08c00a",
55
+ "@uniformdev/mesh-sdk": "19.179.1-alpha.1+3adc08c00a",
57
56
  "dequal": "^2.0.3",
58
- "lexical": "0.17.0",
57
+ "lexical": "0.16.1",
59
58
  "mitt": "^3.0.0",
60
59
  "react-beautiful-dnd": "13.1.1",
61
60
  "react-hook-form": "^7.47.0",
@@ -87,5 +86,5 @@
87
86
  "publishConfig": {
88
87
  "access": "public"
89
88
  },
90
- "gitHead": "0f7f53f56071a59cee38bf83c9f3bae541846de2"
89
+ "gitHead": "3adc08c00a0d3932b6b767faaa6157f8b71ef0a0"
91
90
  }