@uniformdev/mesh-sdk-react 20.60.1 → 20.61.1-alpha.11

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.esm.js CHANGED
@@ -2300,7 +2300,7 @@ function VariablesComposer(props) {
2300
2300
  nodes: [VariableNode],
2301
2301
  editorState: deserializeVariablesEditorState(props.value)
2302
2302
  }),
2303
- // eslint-disable-next-line react-hooks/exhaustive-deps
2303
+ // oxlint-disable-next-line react/exhaustive-deps
2304
2304
  []
2305
2305
  );
2306
2306
  const editorState = useRef5(void 0);
@@ -3888,7 +3888,7 @@ function convertRequestDataToDataType(dataType, requestData) {
3888
3888
  }
3889
3889
 
3890
3890
  // src/components/MeshApp.tsx
3891
- import { LoadingIndicator as LoadingIndicator2, Theme as Theme2 } from "@uniformdev/design-system";
3891
+ import { IconsProvider, LoadingIndicator as LoadingIndicator2, Theme as Theme2 } from "@uniformdev/design-system";
3892
3892
 
3893
3893
  // src/hooks/useInitializeUniformMeshSdk.ts
3894
3894
  import { initializeUniformMeshSDK } from "@uniformdev/mesh-sdk";
@@ -3915,7 +3915,7 @@ var useInitializeUniformMeshSdk = ({ autoResizingDisabled } = {}) => {
3915
3915
  setSdk(window.UniformMeshSDK);
3916
3916
  }
3917
3917
  },
3918
- // eslint-disable-next-line react-hooks/exhaustive-deps
3918
+ // oxlint-disable-next-line react/exhaustive-deps
3919
3919
  [autoResizingDisabled]
3920
3920
  );
3921
3921
  return {
@@ -3950,7 +3950,7 @@ var MeshApp = ({
3950
3950
  }
3951
3951
  return /* @__PURE__ */ jsxs21(UniformMeshSdkContext.Provider, { value: { sdk }, children: [
3952
3952
  /* @__PURE__ */ jsx46(Theme2, {}),
3953
- /* @__PURE__ */ jsx46(UniformMeshLocationContextProvider, { children })
3953
+ /* @__PURE__ */ jsx46(IconsProvider, { children: /* @__PURE__ */ jsx46(UniformMeshLocationContextProvider, { children }) })
3954
3954
  ] });
3955
3955
  };
3956
3956
 
@@ -6970,7 +6970,7 @@ var FilterItems = ({
6970
6970
  next[index] = { ...next[index], [prop]: value };
6971
6971
  if (prop === "operator") {
6972
6972
  const newOperatorId = value;
6973
- const currentFilter = next[index];
6973
+ const currentFilter = filters[index];
6974
6974
  if (!newOperatorId) {
6975
6975
  throw new Error("you bad");
6976
6976
  }
package/dist/index.js CHANGED
@@ -2440,7 +2440,7 @@ function VariablesComposer(props) {
2440
2440
  nodes: [VariableNode],
2441
2441
  editorState: deserializeVariablesEditorState(props.value)
2442
2442
  }),
2443
- // eslint-disable-next-line react-hooks/exhaustive-deps
2443
+ // oxlint-disable-next-line react/exhaustive-deps
2444
2444
  []
2445
2445
  );
2446
2446
  const editorState = (0, import_react25.useRef)(void 0);
@@ -4013,7 +4013,7 @@ var useInitializeUniformMeshSdk = ({ autoResizingDisabled } = {}) => {
4013
4013
  setSdk(window.UniformMeshSDK);
4014
4014
  }
4015
4015
  },
4016
- // eslint-disable-next-line react-hooks/exhaustive-deps
4016
+ // oxlint-disable-next-line react/exhaustive-deps
4017
4017
  [autoResizingDisabled]
4018
4018
  );
4019
4019
  return {
@@ -4048,7 +4048,7 @@ var MeshApp = ({
4048
4048
  }
4049
4049
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(UniformMeshSdkContext.Provider, { value: { sdk }, children: [
4050
4050
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_design_system19.Theme, {}),
4051
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(UniformMeshLocationContextProvider, { children })
4051
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_design_system19.IconsProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(UniformMeshLocationContextProvider, { children }) })
4052
4052
  ] });
4053
4053
  };
4054
4054
 
@@ -7032,7 +7032,7 @@ var FilterItems = ({
7032
7032
  next[index] = { ...next[index], [prop]: value };
7033
7033
  if (prop === "operator") {
7034
7034
  const newOperatorId = value;
7035
- const currentFilter = next[index];
7035
+ const currentFilter = filters[index];
7036
7036
  if (!newOperatorId) {
7037
7037
  throw new Error("you bad");
7038
7038
  }
package/dist/index.mjs CHANGED
@@ -2300,7 +2300,7 @@ function VariablesComposer(props) {
2300
2300
  nodes: [VariableNode],
2301
2301
  editorState: deserializeVariablesEditorState(props.value)
2302
2302
  }),
2303
- // eslint-disable-next-line react-hooks/exhaustive-deps
2303
+ // oxlint-disable-next-line react/exhaustive-deps
2304
2304
  []
2305
2305
  );
2306
2306
  const editorState = useRef5(void 0);
@@ -3888,7 +3888,7 @@ function convertRequestDataToDataType(dataType, requestData) {
3888
3888
  }
3889
3889
 
3890
3890
  // src/components/MeshApp.tsx
3891
- import { LoadingIndicator as LoadingIndicator2, Theme as Theme2 } from "@uniformdev/design-system";
3891
+ import { IconsProvider, LoadingIndicator as LoadingIndicator2, Theme as Theme2 } from "@uniformdev/design-system";
3892
3892
 
3893
3893
  // src/hooks/useInitializeUniformMeshSdk.ts
3894
3894
  import { initializeUniformMeshSDK } from "@uniformdev/mesh-sdk";
@@ -3915,7 +3915,7 @@ var useInitializeUniformMeshSdk = ({ autoResizingDisabled } = {}) => {
3915
3915
  setSdk(window.UniformMeshSDK);
3916
3916
  }
3917
3917
  },
3918
- // eslint-disable-next-line react-hooks/exhaustive-deps
3918
+ // oxlint-disable-next-line react/exhaustive-deps
3919
3919
  [autoResizingDisabled]
3920
3920
  );
3921
3921
  return {
@@ -3950,7 +3950,7 @@ var MeshApp = ({
3950
3950
  }
3951
3951
  return /* @__PURE__ */ jsxs21(UniformMeshSdkContext.Provider, { value: { sdk }, children: [
3952
3952
  /* @__PURE__ */ jsx46(Theme2, {}),
3953
- /* @__PURE__ */ jsx46(UniformMeshLocationContextProvider, { children })
3953
+ /* @__PURE__ */ jsx46(IconsProvider, { children: /* @__PURE__ */ jsx46(UniformMeshLocationContextProvider, { children }) })
3954
3954
  ] });
3955
3955
  };
3956
3956
 
@@ -6970,7 +6970,7 @@ var FilterItems = ({
6970
6970
  next[index] = { ...next[index], [prop]: value };
6971
6971
  if (prop === "operator") {
6972
6972
  const newOperatorId = value;
6973
- const currentFilter = next[index];
6973
+ const currentFilter = filters[index];
6974
6974
  if (!newOperatorId) {
6975
6975
  throw new Error("you bad");
6976
6976
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "20.60.1",
3
+ "version": "20.61.1-alpha.11+0fd9603995",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -38,10 +38,9 @@
38
38
  "build:icons": "svgr -d ./src/assets ./src/assets --typescript --icon",
39
39
  "dev": "tsup --watch",
40
40
  "clean": "rimraf dist",
41
- "test": "jest --maxWorkers=1 --passWithNoTests",
42
- "lint": "eslint \"src/**/*.{js,ts,tsx}\"",
41
+ "test": "vitest run",
43
42
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
44
- "document:prebuild": "api-extractor run --local"
43
+ "apidocs-extract": "api-extractor run --local"
45
44
  },
46
45
  "dependencies": {
47
46
  "@hello-pangea/dnd": "18.0.1",
@@ -51,10 +50,10 @@
51
50
  "@lexical/selection": "0.39.0",
52
51
  "@lexical/utils": "0.39.0",
53
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.5.0/react-icons-all-files-5.5.0.tgz",
54
- "@uniformdev/canvas": "20.60.1",
55
- "@uniformdev/design-system": "20.60.1",
56
- "@uniformdev/mesh-sdk": "20.60.1",
57
- "@uniformdev/richtext": "20.60.1",
53
+ "@uniformdev/canvas": "20.61.1-alpha.11+0fd9603995",
54
+ "@uniformdev/design-system": "20.61.1-alpha.11+0fd9603995",
55
+ "@uniformdev/mesh-sdk": "20.61.1-alpha.11+0fd9603995",
56
+ "@uniformdev/richtext": "20.61.1-alpha.11+0fd9603995",
58
57
  "dequal": "^2.0.3",
59
58
  "lexical": "0.39.0",
60
59
  "mitt": "3.0.1",
@@ -76,8 +75,10 @@
76
75
  "@types/react": "19.2.2",
77
76
  "@types/react-dom": "19.2.2",
78
77
  "@types/uuid": "9.0.4",
78
+ "jsdom": "20.0.3",
79
79
  "react": "19.2.1",
80
- "react-dom": "19.2.1"
80
+ "react-dom": "19.2.1",
81
+ "react-select-event": "5.5.1"
81
82
  },
82
83
  "files": [
83
84
  "/dist"
@@ -85,5 +86,5 @@
85
86
  "publishConfig": {
86
87
  "access": "public"
87
88
  },
88
- "gitHead": "57c08725684e9ae947f51ebbce85d3331df5e8b9"
89
+ "gitHead": "0fd9603995e96e62f1e8923877ea5c73143353f5"
89
90
  }