@uniformdev/mesh-sdk-react 20.10.0 → 20.12.1-alpha.8

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
@@ -98,6 +98,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
98
98
  type: TLocationType;
99
99
  }> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
100
100
  type: TLocationType;
101
+ }> | Extract<_uniformdev_mesh_sdk.ToolLocation<TLocationValue, unknown>, {
102
+ type: TLocationType;
101
103
  }>, "setValue"> & {
102
104
  setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
103
105
  type: TLocationType;
@@ -125,6 +127,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
125
127
  type: TLocationType;
126
128
  }> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
127
129
  type: TLocationType;
130
+ }> | Extract<_uniformdev_mesh_sdk.ToolLocation<TLocationValue, unknown>, {
131
+ type: TLocationType;
128
132
  }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
129
133
  type: TLocationType;
130
134
  }> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
@@ -151,6 +155,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
151
155
  type: TLocationType;
152
156
  }> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
153
157
  type: TLocationType;
158
+ }> | Extract<_uniformdev_mesh_sdk.ToolLocation<TLocationValue, unknown>, {
159
+ type: TLocationType;
154
160
  }>)["setValue"]>[0]>;
155
161
  };
156
162
  type SetLocationValueDispatch<TValue, TSetValue = TValue> = (dispatch: SetLocationValueFunction<TValue, TSetValue>) => Promise<void> | void;
package/dist/index.d.ts CHANGED
@@ -98,6 +98,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
98
98
  type: TLocationType;
99
99
  }> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
100
100
  type: TLocationType;
101
+ }> | Extract<_uniformdev_mesh_sdk.ToolLocation<TLocationValue, unknown>, {
102
+ type: TLocationType;
101
103
  }>, "setValue"> & {
102
104
  setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
103
105
  type: TLocationType;
@@ -125,6 +127,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
125
127
  type: TLocationType;
126
128
  }> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
127
129
  type: TLocationType;
130
+ }> | Extract<_uniformdev_mesh_sdk.ToolLocation<TLocationValue, unknown>, {
131
+ type: TLocationType;
128
132
  }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
129
133
  type: TLocationType;
130
134
  }> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
@@ -151,6 +155,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
151
155
  type: TLocationType;
152
156
  }> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
153
157
  type: TLocationType;
158
+ }> | Extract<_uniformdev_mesh_sdk.ToolLocation<TLocationValue, unknown>, {
159
+ type: TLocationType;
154
160
  }>)["setValue"]>[0]>;
155
161
  };
156
162
  type SetLocationValueDispatch<TValue, TSetValue = TValue> = (dispatch: SetLocationValueFunction<TValue, TSetValue>) => Promise<void> | void;
package/dist/index.esm.js CHANGED
@@ -2483,7 +2483,7 @@ function InputVariables(props) {
2483
2483
  gap: "xs",
2484
2484
  css: css7`
2485
2485
  position: relative;
2486
- & > div:first-child {
2486
+ & > div:first-of-type {
2487
2487
  flex-grow: 1;
2488
2488
  }
2489
2489
  `,
package/dist/index.js CHANGED
@@ -2611,7 +2611,7 @@ function InputVariables(props) {
2611
2611
  gap: "xs",
2612
2612
  css: import_react27.css`
2613
2613
  position: relative;
2614
- & > div:first-child {
2614
+ & > div:first-of-type {
2615
2615
  flex-grow: 1;
2616
2616
  }
2617
2617
  `,
package/dist/index.mjs CHANGED
@@ -2483,7 +2483,7 @@ function InputVariables(props) {
2483
2483
  gap: "xs",
2484
2484
  css: css7`
2485
2485
  position: relative;
2486
- & > div:first-child {
2486
+ & > div:first-of-type {
2487
2487
  flex-grow: 1;
2488
2488
  }
2489
2489
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "20.10.0",
3
+ "version": "20.12.1-alpha.8+98c4209e77",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "@lexical/selection": "0.25.0",
51
51
  "@lexical/utils": "0.25.0",
52
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",
53
- "@uniformdev/canvas": "20.10.0",
54
- "@uniformdev/design-system": "20.10.0",
55
- "@uniformdev/mesh-sdk": "20.10.0",
56
- "@uniformdev/richtext": "20.10.0",
53
+ "@uniformdev/canvas": "20.12.1-alpha.8+98c4209e77",
54
+ "@uniformdev/design-system": "20.12.1-alpha.8+98c4209e77",
55
+ "@uniformdev/mesh-sdk": "20.12.1-alpha.8+98c4209e77",
56
+ "@uniformdev/richtext": "20.12.1-alpha.8+98c4209e77",
57
57
  "dequal": "^2.0.3",
58
58
  "lexical": "0.25.0",
59
59
  "mitt": "3.0.1",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "a17d7e247f34bc04f8ffd1274d850484dd09716b"
89
+ "gitHead": "98c4209e77221c324d5ef662825e7bdbed42ed43"
90
90
  }