@uniformdev/mesh-sdk-react 19.55.2-alpha.57 → 19.55.2-alpha.60

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
@@ -437,6 +437,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
437
437
  type: TLocationType;
438
438
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
439
439
  type: TLocationType;
440
+ }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
441
+ type: TLocationType;
440
442
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
441
443
  type: TLocationType;
442
444
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeConfigLocation<TLocationValue, unknown>, {
@@ -454,6 +456,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
454
456
  type: TLocationType;
455
457
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
456
458
  type: TLocationType;
459
+ }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
460
+ type: TLocationType;
457
461
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
458
462
  type: TLocationType;
459
463
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeConfigLocation<TLocationValue, unknown>, {
@@ -470,6 +474,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
470
474
  type: TLocationType;
471
475
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
472
476
  type: TLocationType;
477
+ }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
478
+ type: TLocationType;
473
479
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
474
480
  type: TLocationType;
475
481
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeConfigLocation<TLocationValue, unknown>, {
@@ -592,6 +598,10 @@ type MeshDataVariableDefinition = Omit<DataVariableDefinition, 'default'> & {
592
598
  * If not passed, defaults to helpText.
593
599
  */
594
600
  tooltip?: string;
601
+ /**
602
+ If true the variable will be shown only in menus.
603
+ */
604
+ system?: boolean;
595
605
  };
596
606
  /**
597
607
  * Provides information for an undefined variable that might be referenced in data,
package/dist/index.d.ts CHANGED
@@ -437,6 +437,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
437
437
  type: TLocationType;
438
438
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
439
439
  type: TLocationType;
440
+ }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
441
+ type: TLocationType;
440
442
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
441
443
  type: TLocationType;
442
444
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeConfigLocation<TLocationValue, unknown>, {
@@ -454,6 +456,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
454
456
  type: TLocationType;
455
457
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
456
458
  type: TLocationType;
459
+ }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
460
+ type: TLocationType;
457
461
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
458
462
  type: TLocationType;
459
463
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeConfigLocation<TLocationValue, unknown>, {
@@ -470,6 +474,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
470
474
  type: TLocationType;
471
475
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
472
476
  type: TLocationType;
477
+ }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
478
+ type: TLocationType;
473
479
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
474
480
  type: TLocationType;
475
481
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeConfigLocation<TLocationValue, unknown>, {
@@ -592,6 +598,10 @@ type MeshDataVariableDefinition = Omit<DataVariableDefinition, 'default'> & {
592
598
  * If not passed, defaults to helpText.
593
599
  */
594
600
  tooltip?: string;
601
+ /**
602
+ If true the variable will be shown only in menus.
603
+ */
604
+ system?: boolean;
595
605
  };
596
606
  /**
597
607
  * Provides information for an undefined variable that might be referenced in data,
package/dist/index.esm.js CHANGED
@@ -5151,7 +5151,7 @@ var variableValue = css25`
5151
5151
  import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
5152
5152
  function VariablesList() {
5153
5153
  const { variables, dispatch } = useVariables();
5154
- const sorted = variablesToList(variables);
5154
+ const sorted = variablesToList(variables).filter((variable) => !variable.system);
5155
5155
  const onDragEnd = (res) => {
5156
5156
  var _a, _b;
5157
5157
  if (res.destination && res.source.droppableId === ((_a = res.destination) == null ? void 0 : _a.droppableId)) {
package/dist/index.js CHANGED
@@ -5307,7 +5307,7 @@ var variableValue = import_react55.css`
5307
5307
  var import_jsx_runtime43 = require("@emotion/react/jsx-runtime");
5308
5308
  function VariablesList() {
5309
5309
  const { variables, dispatch } = useVariables();
5310
- const sorted = variablesToList(variables);
5310
+ const sorted = variablesToList(variables).filter((variable) => !variable.system);
5311
5311
  const onDragEnd = (res) => {
5312
5312
  var _a, _b;
5313
5313
  if (res.destination && res.source.droppableId === ((_a = res.destination) == null ? void 0 : _a.droppableId)) {
package/dist/index.mjs CHANGED
@@ -5151,7 +5151,7 @@ var variableValue = css25`
5151
5151
  import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
5152
5152
  function VariablesList() {
5153
5153
  const { variables, dispatch } = useVariables();
5154
- const sorted = variablesToList(variables);
5154
+ const sorted = variablesToList(variables).filter((variable) => !variable.system);
5155
5155
  const onDragEnd = (res) => {
5156
5156
  var _a, _b;
5157
5157
  if (res.destination && res.source.droppableId === ((_a = res.destination) == null ? void 0 : _a.droppableId)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.55.2-alpha.57+ce05e047a",
3
+ "version": "19.55.2-alpha.60+f5039d327",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,9 +50,9 @@
50
50
  "@lexical/selection": "^0.12.0",
51
51
  "@lexical/utils": "^0.12.0",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
53
- "@uniformdev/canvas": "19.55.2-alpha.57+ce05e047a",
54
- "@uniformdev/design-system": "19.55.2-alpha.57+ce05e047a",
55
- "@uniformdev/mesh-sdk": "19.55.2-alpha.57+ce05e047a",
53
+ "@uniformdev/canvas": "19.55.2-alpha.60+f5039d327",
54
+ "@uniformdev/design-system": "19.55.2-alpha.60+f5039d327",
55
+ "@uniformdev/mesh-sdk": "19.55.2-alpha.60+f5039d327",
56
56
  "dequal": "^2.0.3",
57
57
  "lexical": "^0.12.0",
58
58
  "mitt": "^3.0.0",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "ce05e047a1116e4b1edeb495b1d0a3943bbe9833"
89
+ "gitHead": "f5039d327b25d3ea6334791fb8e3a4ccdb6bc6da"
90
90
  }