@uniformdev/mesh-sdk-react 20.7.1-alpha.23 → 20.7.1-alpha.28

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;
@@ -887,7 +893,9 @@ type DataRefreshButtonProps = HTMLAttributes<HTMLButtonElement> & {
887
893
  };
888
894
  /**
889
895
  * @description The data refresh button is a UI component to indicate to users a request for data is taking place
890
- * @example <DataRefreshButton buttonText="my button" isLoading /> */
896
+ * @example <DataRefreshButton buttonText="my button" isLoading />
897
+ * @deprecated this component is not recommended for use in new projects
898
+ */
891
899
  declare const DataRefreshButton: ({ buttonText, isLoading, onRefreshData, ...props }: DataRefreshButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
892
900
 
893
901
  type ObjectSearchContainerProps = {
@@ -914,7 +922,9 @@ type ObjectSearchContainerProps = {
914
922
  };
915
923
  /**
916
924
  * @description Object search container is an opinionated layout for search parameters and retrieved results
917
- * @example <ObjectSearchContainer searchFilters={<>your component</>} resultList={<>your result list component<>} onSave={yourSaveAction} onCancel={yourCancelAction} /> */
925
+ * @example <ObjectSearchContainer searchFilters={<>your component</>} resultList={<>your result list component<>} onSave={yourSaveAction} onCancel={yourCancelAction} />
926
+ * @deprecated this component is not recommended for use in new projects
927
+ */
918
928
  declare const ObjectSearchContainer: ({ label, enableDynamicInputToResultId, searchFilters, resultList, children, }: ObjectSearchContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
919
929
 
920
930
  type ObjectSearchFilterProps = {
@@ -945,7 +955,9 @@ type ObjectSearchFilterProps = {
945
955
  /**
946
956
  * @description Object search filter is an opinionated filter that has pre-defined query and setQuery functions
947
957
  * that can be extended with custom functions
948
- * @example <ObjectSearchFilter selectOptions={[{ id: 'id value', name: 'name value'}]} /> */
958
+ * @example <ObjectSearchFilter selectOptions={[{ id: 'id value', name: 'name value'}]} />
959
+ * @deprecated this component is not recommended for use in new projects
960
+ */
949
961
  declare const ObjectSearchFilter: ({ requireContentType, typeSelectorAllTypesOptionText, searchInputName, searchInputPlaceholderText, selectLabel, selectOptions, }: ObjectSearchFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
950
962
 
951
963
  type ObjectSearchFilterContainerProps = {
@@ -955,6 +967,7 @@ type ObjectSearchFilterContainerProps = {
955
967
  /**
956
968
  * @description an opinionated layout for search filters
957
969
  * @example <ObjectSearchFilterContainer label="my label"><input type="text" aria-label="my input" /></ObjectSearchFilterContainer>
970
+ * @deprecated this component is not recommended for use in new projects
958
971
  */
959
972
  declare const ObjectSearchFilterContainer: ({ children }: ObjectSearchFilterContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
960
973
 
@@ -977,6 +990,7 @@ type ObjectSearchResultItemProps = SelectedItemProps & {
977
990
  /**
978
991
  * @description An opinionated result item, best used for selected results
979
992
  * @example <ObjectSearchResultItem id="my-result" title="title" />
993
+ * @deprecated this component is not recommended for use in new projects
980
994
  */
981
995
  declare const ObjectSearchResultItem: ({ id, title, contentType, popoverData, publishStatus, editLinkIcon, editLink, imageUrl, onRemove, createdAt, publishedAt, hideRemoveButton, disableDnD, children, onClick, }: ObjectSearchResultItemProps) => _emotion_react_jsx_runtime.JSX.Element;
982
996
 
@@ -1056,7 +1070,13 @@ type ObjectSearchProviderProps = {
1056
1070
  isMulti?: boolean;
1057
1071
  defaultQuery?: SearchQueryProps;
1058
1072
  };
1073
+ /**
1074
+ * @deprecated this component is not recommended for use in new projects
1075
+ */
1059
1076
  declare const ObjectSearchProvider: ({ currentlySelectedItems, isMulti, children, defaultQuery, }: ObjectSearchProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
1077
+ /**
1078
+ * @deprecated this component is not recommended for use in new projects
1079
+ */
1060
1080
  declare function useObjectSearchContext<TExtraSearchFilters = unknown, TExtraItemProps = unknown>(): ObjectSearchContextProps<TExtraSearchFilters, TExtraItemProps>;
1061
1081
 
1062
1082
  type ObjectSearchListItemProps = SelectedItemProps & {
@@ -1078,7 +1098,9 @@ type ObjectSearchListItemProps = SelectedItemProps & {
1078
1098
  } & React$1.HTMLAttributes<HTMLDivElement>;
1079
1099
  /**
1080
1100
  * @description entry search list item is an opinionated UI component best used for initial retrieved results
1081
- * @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem> */
1101
+ * @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem>
1102
+ * @deprecated this component is not recommended for use in new projects
1103
+ */
1082
1104
  declare const ObjectSearchListItem: ({ id, title, contentType, imageUrl, popoverData, onSelect, isMulti, disabled, children, ...props }: ObjectSearchListItemProps & React$1.HTMLAttributes<HTMLDivElement>) => _emotion_react_jsx_runtime.JSX.Element;
1083
1105
  /**
1084
1106
  * An opinionated loading skeleton component best used with ObjectSearchListItem
@@ -1097,12 +1119,14 @@ type ObjectSearchResultItemButtonProps<THtml extends HTMLAttributes<HTMLElement>
1097
1119
  /**
1098
1120
  * @description An opinionated button component best used within the ObjectSearchResultItem component
1099
1121
  * @example <ObjectSearchResultItemButton text="button text" icon="/my-image.png" onClick={() => myFunction()} />
1122
+ * @deprecated this component is not recommended for use in new projects
1100
1123
  */
1101
1124
  declare const ObjectSearchResultItemButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<HTMLAttributes<HTMLButtonElement>>) => _emotion_react_jsx_runtime.JSX.Element;
1102
1125
  /**
1103
1126
  * @description An opinionated link component styled the same of the ObjectSearchResultItemButton component,
1104
1127
  * that automatically sets the target and rel attributes. Best used within the ObjectSearchResultItem component
1105
1128
  * @example <LinkButton text="link text" icon="/my-image.png" />
1129
+ * @deprecated this component is not recommended for use in new projects
1106
1130
  */
1107
1131
  declare const LinkButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel">>) => _emotion_react_jsx_runtime.JSX.Element;
1108
1132
 
@@ -1147,6 +1171,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1147
1171
  * The result item component defaults to <ObjectSearchResultItem {...props} />, however this can be overridden with any other UI component and still
1148
1172
  * maintain drag and drop functionality
1149
1173
  * @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
1174
+ * @deprecated this component is not recommended for use in new projects
1150
1175
  */
1151
1176
  declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, resultLabelOverride, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_jsx_runtime.JSX.Element;
1152
1177
 
@@ -1216,6 +1241,7 @@ type QueryFilterProps<TSelectOptions extends QueryFilterSelectionOptionProps = Q
1216
1241
  /**
1217
1242
  * @description An opinionated multi query filter UI component, best used for querying product data or more complex scenarios
1218
1243
  * @example <QueryFilter contentTypeOptions={[{ id: 'id', name: 'name' }]} sortOptions={[{ id: 'id', name: 'name' }]} sortOrderOptions={[{ id: 'id', name: 'name' }]} />
1244
+ * @deprecated this component is not recommended for use in new projects
1219
1245
  */
1220
1246
  declare const QueryFilter: ({ requireContentType, queryFilterTitle, contentTypeLabel, typeSelectorAllTypesOptionText, contentTypeOptions, searchInputName, searchInputPlaceholderText, searchInputLabel, countLabel, sortLabel, sortOptions, sortOrderLabel, sortOrderOptions, children, }: QueryFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
1221
1247
 
@@ -1787,7 +1813,7 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
1787
1813
  /** sets the reset filter values */
1788
1814
  resetFilterValues?: Filter[];
1789
1815
  /** The filter mapper function */
1790
- filterMapper?: Record<FilterEditor, React$1.ComponentType<any> | null>;
1816
+ filterMapper?: FilterMapper;
1791
1817
  /** Component to render inside filters container right below main Filters widget
1792
1818
  * that should contain additional controls like filters
1793
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;
@@ -887,7 +893,9 @@ type DataRefreshButtonProps = HTMLAttributes<HTMLButtonElement> & {
887
893
  };
888
894
  /**
889
895
  * @description The data refresh button is a UI component to indicate to users a request for data is taking place
890
- * @example <DataRefreshButton buttonText="my button" isLoading /> */
896
+ * @example <DataRefreshButton buttonText="my button" isLoading />
897
+ * @deprecated this component is not recommended for use in new projects
898
+ */
891
899
  declare const DataRefreshButton: ({ buttonText, isLoading, onRefreshData, ...props }: DataRefreshButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
892
900
 
893
901
  type ObjectSearchContainerProps = {
@@ -914,7 +922,9 @@ type ObjectSearchContainerProps = {
914
922
  };
915
923
  /**
916
924
  * @description Object search container is an opinionated layout for search parameters and retrieved results
917
- * @example <ObjectSearchContainer searchFilters={<>your component</>} resultList={<>your result list component<>} onSave={yourSaveAction} onCancel={yourCancelAction} /> */
925
+ * @example <ObjectSearchContainer searchFilters={<>your component</>} resultList={<>your result list component<>} onSave={yourSaveAction} onCancel={yourCancelAction} />
926
+ * @deprecated this component is not recommended for use in new projects
927
+ */
918
928
  declare const ObjectSearchContainer: ({ label, enableDynamicInputToResultId, searchFilters, resultList, children, }: ObjectSearchContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
919
929
 
920
930
  type ObjectSearchFilterProps = {
@@ -945,7 +955,9 @@ type ObjectSearchFilterProps = {
945
955
  /**
946
956
  * @description Object search filter is an opinionated filter that has pre-defined query and setQuery functions
947
957
  * that can be extended with custom functions
948
- * @example <ObjectSearchFilter selectOptions={[{ id: 'id value', name: 'name value'}]} /> */
958
+ * @example <ObjectSearchFilter selectOptions={[{ id: 'id value', name: 'name value'}]} />
959
+ * @deprecated this component is not recommended for use in new projects
960
+ */
949
961
  declare const ObjectSearchFilter: ({ requireContentType, typeSelectorAllTypesOptionText, searchInputName, searchInputPlaceholderText, selectLabel, selectOptions, }: ObjectSearchFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
950
962
 
951
963
  type ObjectSearchFilterContainerProps = {
@@ -955,6 +967,7 @@ type ObjectSearchFilterContainerProps = {
955
967
  /**
956
968
  * @description an opinionated layout for search filters
957
969
  * @example <ObjectSearchFilterContainer label="my label"><input type="text" aria-label="my input" /></ObjectSearchFilterContainer>
970
+ * @deprecated this component is not recommended for use in new projects
958
971
  */
959
972
  declare const ObjectSearchFilterContainer: ({ children }: ObjectSearchFilterContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
960
973
 
@@ -977,6 +990,7 @@ type ObjectSearchResultItemProps = SelectedItemProps & {
977
990
  /**
978
991
  * @description An opinionated result item, best used for selected results
979
992
  * @example <ObjectSearchResultItem id="my-result" title="title" />
993
+ * @deprecated this component is not recommended for use in new projects
980
994
  */
981
995
  declare const ObjectSearchResultItem: ({ id, title, contentType, popoverData, publishStatus, editLinkIcon, editLink, imageUrl, onRemove, createdAt, publishedAt, hideRemoveButton, disableDnD, children, onClick, }: ObjectSearchResultItemProps) => _emotion_react_jsx_runtime.JSX.Element;
982
996
 
@@ -1056,7 +1070,13 @@ type ObjectSearchProviderProps = {
1056
1070
  isMulti?: boolean;
1057
1071
  defaultQuery?: SearchQueryProps;
1058
1072
  };
1073
+ /**
1074
+ * @deprecated this component is not recommended for use in new projects
1075
+ */
1059
1076
  declare const ObjectSearchProvider: ({ currentlySelectedItems, isMulti, children, defaultQuery, }: ObjectSearchProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
1077
+ /**
1078
+ * @deprecated this component is not recommended for use in new projects
1079
+ */
1060
1080
  declare function useObjectSearchContext<TExtraSearchFilters = unknown, TExtraItemProps = unknown>(): ObjectSearchContextProps<TExtraSearchFilters, TExtraItemProps>;
1061
1081
 
1062
1082
  type ObjectSearchListItemProps = SelectedItemProps & {
@@ -1078,7 +1098,9 @@ type ObjectSearchListItemProps = SelectedItemProps & {
1078
1098
  } & React$1.HTMLAttributes<HTMLDivElement>;
1079
1099
  /**
1080
1100
  * @description entry search list item is an opinionated UI component best used for initial retrieved results
1081
- * @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem> */
1101
+ * @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem>
1102
+ * @deprecated this component is not recommended for use in new projects
1103
+ */
1082
1104
  declare const ObjectSearchListItem: ({ id, title, contentType, imageUrl, popoverData, onSelect, isMulti, disabled, children, ...props }: ObjectSearchListItemProps & React$1.HTMLAttributes<HTMLDivElement>) => _emotion_react_jsx_runtime.JSX.Element;
1083
1105
  /**
1084
1106
  * An opinionated loading skeleton component best used with ObjectSearchListItem
@@ -1097,12 +1119,14 @@ type ObjectSearchResultItemButtonProps<THtml extends HTMLAttributes<HTMLElement>
1097
1119
  /**
1098
1120
  * @description An opinionated button component best used within the ObjectSearchResultItem component
1099
1121
  * @example <ObjectSearchResultItemButton text="button text" icon="/my-image.png" onClick={() => myFunction()} />
1122
+ * @deprecated this component is not recommended for use in new projects
1100
1123
  */
1101
1124
  declare const ObjectSearchResultItemButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<HTMLAttributes<HTMLButtonElement>>) => _emotion_react_jsx_runtime.JSX.Element;
1102
1125
  /**
1103
1126
  * @description An opinionated link component styled the same of the ObjectSearchResultItemButton component,
1104
1127
  * that automatically sets the target and rel attributes. Best used within the ObjectSearchResultItem component
1105
1128
  * @example <LinkButton text="link text" icon="/my-image.png" />
1129
+ * @deprecated this component is not recommended for use in new projects
1106
1130
  */
1107
1131
  declare const LinkButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel">>) => _emotion_react_jsx_runtime.JSX.Element;
1108
1132
 
@@ -1147,6 +1171,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1147
1171
  * The result item component defaults to <ObjectSearchResultItem {...props} />, however this can be overridden with any other UI component and still
1148
1172
  * maintain drag and drop functionality
1149
1173
  * @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
1174
+ * @deprecated this component is not recommended for use in new projects
1150
1175
  */
1151
1176
  declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, resultLabelOverride, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_jsx_runtime.JSX.Element;
1152
1177
 
@@ -1216,6 +1241,7 @@ type QueryFilterProps<TSelectOptions extends QueryFilterSelectionOptionProps = Q
1216
1241
  /**
1217
1242
  * @description An opinionated multi query filter UI component, best used for querying product data or more complex scenarios
1218
1243
  * @example <QueryFilter contentTypeOptions={[{ id: 'id', name: 'name' }]} sortOptions={[{ id: 'id', name: 'name' }]} sortOrderOptions={[{ id: 'id', name: 'name' }]} />
1244
+ * @deprecated this component is not recommended for use in new projects
1219
1245
  */
1220
1246
  declare const QueryFilter: ({ requireContentType, queryFilterTitle, contentTypeLabel, typeSelectorAllTypesOptionText, contentTypeOptions, searchInputName, searchInputPlaceholderText, searchInputLabel, countLabel, sortLabel, sortOptions, sortOrderLabel, sortOrderOptions, children, }: QueryFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
1221
1247
 
@@ -1787,7 +1813,7 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
1787
1813
  /** sets the reset filter values */
1788
1814
  resetFilterValues?: Filter[];
1789
1815
  /** The filter mapper function */
1790
- filterMapper?: Record<FilterEditor, React$1.ComponentType<any> | null>;
1816
+ filterMapper?: FilterMapper;
1791
1817
  /** Component to render inside filters container right below main Filters widget
1792
1818
  * that should contain additional controls like filters
1793
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.7.1-alpha.23+37257141fc",
3
+ "version": "20.7.1-alpha.28+5b9868df5c",
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",
@@ -49,11 +49,11 @@
49
49
  "@lexical/react": "0.25.0",
50
50
  "@lexical/selection": "0.25.0",
51
51
  "@lexical/utils": "0.25.0",
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": "20.7.1-alpha.23+37257141fc",
54
- "@uniformdev/design-system": "20.7.1-alpha.23+37257141fc",
55
- "@uniformdev/mesh-sdk": "20.7.1-alpha.23+37257141fc",
56
- "@uniformdev/richtext": "20.7.1-alpha.23+37257141fc",
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.7.1-alpha.28+5b9868df5c",
54
+ "@uniformdev/design-system": "20.7.1-alpha.28+5b9868df5c",
55
+ "@uniformdev/mesh-sdk": "20.7.1-alpha.28+5b9868df5c",
56
+ "@uniformdev/richtext": "20.7.1-alpha.28+5b9868df5c",
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": "37257141fcca7a9e77b96fad775141380e9dffb0"
89
+ "gitHead": "5b9868df5c62413be37a4f1e59c11f05d52ac169"
90
90
  }