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

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;
@@ -1807,7 +1813,7 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
1807
1813
  /** sets the reset filter values */
1808
1814
  resetFilterValues?: Filter[];
1809
1815
  /** The filter mapper function */
1810
- filterMapper?: Record<FilterEditor, React$1.ComponentType<any> | null>;
1816
+ filterMapper?: FilterMapper;
1811
1817
  /** Component to render inside filters container right below main Filters widget
1812
1818
  * that should contain additional controls like filters
1813
1819
  * which do not fit main structure or sorting */
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;
@@ -1807,7 +1813,7 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
1807
1813
  /** sets the reset filter values */
1808
1814
  resetFilterValues?: Filter[];
1809
1815
  /** The filter mapper function */
1810
- filterMapper?: Record<FilterEditor, React$1.ComponentType<any> | null>;
1816
+ filterMapper?: FilterMapper;
1811
1817
  /** Component to render inside filters container right below main Filters widget
1812
1818
  * that should contain additional controls like filters
1813
1819
  * which do not fit main structure or sorting */
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.18+3386e9d0fc",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -41,7 +41,7 @@
41
41
  "test": "jest --maxWorkers=1 --passWithNoTests",
42
42
  "lint": "eslint \"src/**/*.{js,ts,tsx}\"",
43
43
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
44
- "document": "api-extractor run --local"
44
+ "document:prebuild": "api-extractor run --local"
45
45
  },
46
46
  "dependencies": {
47
47
  "@hookform/resolvers": "^3.3.1",
@@ -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.18+3386e9d0fc",
54
+ "@uniformdev/design-system": "20.12.1-alpha.18+3386e9d0fc",
55
+ "@uniformdev/mesh-sdk": "20.12.1-alpha.18+3386e9d0fc",
56
+ "@uniformdev/richtext": "20.12.1-alpha.18+3386e9d0fc",
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": "3386e9d0fc01d7c246b623705939a55df3df2dae"
90
90
  }