@uniformdev/mesh-sdk-react 19.108.0 → 19.112.0

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
@@ -1436,6 +1436,12 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1436
1436
  multiSelectId?: string;
1437
1437
  /** Rendered when nothing is selected */
1438
1438
  whenNothingSelected?: React.ReactNode;
1439
+ /**
1440
+ * Special case for re-parenting the drag and drop container in case of issues with "position: fixed" and "transform:
1441
+ * You can read more about this here https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/reparenting.md
1442
+ * Providing this getter assumes you have that HTML element in the document, and it will enable re-parenting.
1443
+ */
1444
+ getContainerForDnDReparenting?: () => HTMLElement;
1439
1445
  };
1440
1446
  /**
1441
1447
  * @description An opinionated result list UI component that has built in drag and drop functionality and removal of all selected items from context.
@@ -1443,7 +1449,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1443
1449
  * maintain drag and drop functionality
1444
1450
  * @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
1445
1451
  */
1446
- declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, additionalButtons, renderResultComponent, multiSelectId, disableDnD, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1452
+ declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1447
1453
 
1448
1454
  type QueryFilterSearchProps = {
1449
1455
  /** sets the count value */
package/dist/index.d.ts CHANGED
@@ -1436,6 +1436,12 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1436
1436
  multiSelectId?: string;
1437
1437
  /** Rendered when nothing is selected */
1438
1438
  whenNothingSelected?: React.ReactNode;
1439
+ /**
1440
+ * Special case for re-parenting the drag and drop container in case of issues with "position: fixed" and "transform:
1441
+ * You can read more about this here https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/reparenting.md
1442
+ * Providing this getter assumes you have that HTML element in the document, and it will enable re-parenting.
1443
+ */
1444
+ getContainerForDnDReparenting?: () => HTMLElement;
1439
1445
  };
1440
1446
  /**
1441
1447
  * @description An opinionated result list UI component that has built in drag and drop functionality and removal of all selected items from context.
@@ -1443,7 +1449,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1443
1449
  * maintain drag and drop functionality
1444
1450
  * @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
1445
1451
  */
1446
- declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, additionalButtons, renderResultComponent, multiSelectId, disableDnD, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1452
+ declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1447
1453
 
1448
1454
  type QueryFilterSearchProps = {
1449
1455
  /** sets the count value */