@uniformdev/mesh-sdk-react 19.150.0 → 19.151.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
@@ -874,14 +874,14 @@ type ParameterConnectionIndicatorProps = {
874
874
  menuTooltip?: string;
875
875
  /**
876
876
  * @deprecated beta used internally
877
- * Sets padding bottom styles for the menu button */
878
- overrideMenuButtonParentPadding?: number | string;
877
+ * Sets margin bottom styles for the menu button, we use margin to allow for negative values */
878
+ overrideMenuButtonParentMargin?: number | string;
879
879
  };
880
880
  /**
881
881
  * An input box that enables insertion of 'variables', provided by VariablesProvider,
882
882
  * into its value. Designed specifically for use in the Canvas Parameter Editor.
883
883
  */
884
- declare function ParameterConnectionIndicator({ children, value, menuOptions, disabled, menuTooltip, overrideMenuButtonParentPadding, }: ParameterConnectionIndicatorProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
884
+ declare function ParameterConnectionIndicator({ children, value, menuOptions, disabled, menuTooltip, overrideMenuButtonParentMargin, }: ParameterConnectionIndicatorProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
885
885
 
886
886
  type ParameterOrSingleVariableProps<TEditorContext = unknown> = {
887
887
  disabled?: boolean;
@@ -1795,6 +1795,8 @@ declare const CHECKBOX_OPERATORS: OperatorType;
1795
1795
  declare const SYSTEM_FIELD_OPERATORS: OperatorType;
1796
1796
  /** @deprecated beta - uniform publish status field operators */
1797
1797
  declare const PUBLISH_STATUS_FIELD_OPERATORS: OperatorType;
1798
+ /** @deprecated beta - uniform select field operators */
1799
+ declare const SELECT_OPERATORS: OperatorType;
1798
1800
 
1799
1801
  /** @description beta - filter button type */
1800
1802
  type FilterButtonProps = {
@@ -2247,4 +2249,4 @@ type ContentDataResourceLocaleInfoProps = {
2247
2249
  };
2248
2250
  declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2249
2251
 
2250
- export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, type FilterEditorCommonInputProps, type FilterEditorProps, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterRowProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
2252
+ export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, type FilterEditorCommonInputProps, type FilterEditorProps, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterRowProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
package/dist/index.d.ts CHANGED
@@ -874,14 +874,14 @@ type ParameterConnectionIndicatorProps = {
874
874
  menuTooltip?: string;
875
875
  /**
876
876
  * @deprecated beta used internally
877
- * Sets padding bottom styles for the menu button */
878
- overrideMenuButtonParentPadding?: number | string;
877
+ * Sets margin bottom styles for the menu button, we use margin to allow for negative values */
878
+ overrideMenuButtonParentMargin?: number | string;
879
879
  };
880
880
  /**
881
881
  * An input box that enables insertion of 'variables', provided by VariablesProvider,
882
882
  * into its value. Designed specifically for use in the Canvas Parameter Editor.
883
883
  */
884
- declare function ParameterConnectionIndicator({ children, value, menuOptions, disabled, menuTooltip, overrideMenuButtonParentPadding, }: ParameterConnectionIndicatorProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
884
+ declare function ParameterConnectionIndicator({ children, value, menuOptions, disabled, menuTooltip, overrideMenuButtonParentMargin, }: ParameterConnectionIndicatorProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
885
885
 
886
886
  type ParameterOrSingleVariableProps<TEditorContext = unknown> = {
887
887
  disabled?: boolean;
@@ -1795,6 +1795,8 @@ declare const CHECKBOX_OPERATORS: OperatorType;
1795
1795
  declare const SYSTEM_FIELD_OPERATORS: OperatorType;
1796
1796
  /** @deprecated beta - uniform publish status field operators */
1797
1797
  declare const PUBLISH_STATUS_FIELD_OPERATORS: OperatorType;
1798
+ /** @deprecated beta - uniform select field operators */
1799
+ declare const SELECT_OPERATORS: OperatorType;
1798
1800
 
1799
1801
  /** @description beta - filter button type */
1800
1802
  type FilterButtonProps = {
@@ -2247,4 +2249,4 @@ type ContentDataResourceLocaleInfoProps = {
2247
2249
  };
2248
2250
  declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2249
2251
 
2250
- export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, type FilterEditorCommonInputProps, type FilterEditorProps, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterRowProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
2252
+ export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, type FilterEditorCommonInputProps, type FilterEditorProps, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterRowProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
package/dist/index.esm.js CHANGED
@@ -5005,7 +5005,7 @@ function ParameterConnectionIndicator({
5005
5005
  menuOptions,
5006
5006
  disabled,
5007
5007
  menuTooltip = "Insert variable",
5008
- overrideMenuButtonParentPadding
5008
+ overrideMenuButtonParentMargin
5009
5009
  }) {
5010
5010
  const hasVariablesInValue = useMemo11(() => {
5011
5011
  let result = false;
@@ -5028,8 +5028,8 @@ function ParameterConnectionIndicator({
5028
5028
  menuTrigger: /* @__PURE__ */ jsx41(
5029
5029
  "div",
5030
5030
  {
5031
- css: overrideMenuButtonParentPadding ? {
5032
- paddingBottom: overrideMenuButtonParentPadding
5031
+ css: overrideMenuButtonParentMargin ? {
5032
+ marginBottom: overrideMenuButtonParentMargin
5033
5033
  } : void 0,
5034
5034
  children: /* @__PURE__ */ jsx41(
5035
5035
  "button",
@@ -7387,6 +7387,11 @@ var DATE_OPERATORS = [
7387
7387
  }
7388
7388
  ];
7389
7389
  var TEXTBOX_OPERATORS = [
7390
+ {
7391
+ label: "contains...",
7392
+ value: "match",
7393
+ editorType: "text"
7394
+ },
7390
7395
  {
7391
7396
  label: "is...",
7392
7397
  value: "eq",
@@ -7397,11 +7402,6 @@ var TEXTBOX_OPERATORS = [
7397
7402
  value: "ndef",
7398
7403
  editorType: "empty"
7399
7404
  },
7400
- {
7401
- label: "contains...",
7402
- value: "match",
7403
- editorType: "text"
7404
- },
7405
7405
  {
7406
7406
  label: "starts with...",
7407
7407
  value: "starts",
@@ -7420,13 +7420,13 @@ var TEXTBOX_OPERATORS = [
7420
7420
  ];
7421
7421
  var USER_OPERATORS = [
7422
7422
  {
7423
- label: "is...",
7424
- value: "eq",
7423
+ label: "contains...",
7424
+ value: "match",
7425
7425
  editorType: "text"
7426
7426
  },
7427
7427
  {
7428
- label: "contains...",
7429
- value: "match",
7428
+ label: "is...",
7429
+ value: "eq",
7430
7430
  editorType: "text"
7431
7431
  },
7432
7432
  {
@@ -7478,16 +7478,16 @@ var SYSTEM_DATE_OPERATORS = [
7478
7478
  }
7479
7479
  ];
7480
7480
  var RICHTEXT_OPERATORS = [
7481
- {
7482
- label: "is empty",
7483
- value: "ndef",
7484
- editorType: "empty"
7485
- },
7486
7481
  {
7487
7482
  label: "contains...",
7488
7483
  value: "match",
7489
7484
  editorType: "text"
7490
7485
  },
7486
+ {
7487
+ label: "is empty",
7488
+ value: "ndef",
7489
+ editorType: "empty"
7490
+ },
7491
7491
  {
7492
7492
  label: "starts with...",
7493
7493
  value: "starts",
@@ -7555,6 +7555,48 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7555
7555
  editorType: "statusMultiChoice"
7556
7556
  }
7557
7557
  ];
7558
+ var SELECT_OPERATORS = [
7559
+ {
7560
+ label: "is...",
7561
+ value: "eq",
7562
+ editorType: "singleChoice"
7563
+ },
7564
+ {
7565
+ label: "is any of...",
7566
+ value: "in",
7567
+ editorType: "multiChoice"
7568
+ },
7569
+ {
7570
+ label: "is empty",
7571
+ value: "ndef",
7572
+ editorType: "empty"
7573
+ },
7574
+ {
7575
+ label: "contains...",
7576
+ value: "match",
7577
+ editorType: "text"
7578
+ },
7579
+ {
7580
+ label: "starts with...",
7581
+ value: "starts",
7582
+ editorType: "text"
7583
+ },
7584
+ {
7585
+ label: "is not...",
7586
+ value: "neq",
7587
+ editorType: "singleChoice"
7588
+ },
7589
+ {
7590
+ label: "is none of...",
7591
+ value: "nin",
7592
+ editorType: "multiChoice"
7593
+ },
7594
+ {
7595
+ label: "is not empty",
7596
+ value: "def",
7597
+ editorType: "empty"
7598
+ }
7599
+ ];
7558
7600
 
7559
7601
  // src/components/SearchAndFilter/FilterButton.tsx
7560
7602
  import { Counter as Counter2, Icon as Icon6 } from "@uniformdev/design-system";
@@ -8820,7 +8862,7 @@ var SearchAndFilterResultContainer = ({
8820
8862
  onHandleClear,
8821
8863
  hideClearButton
8822
8864
  }) => {
8823
- const { searchTerm, setSearchTerm, totalResults, filters, handleResetFilters } = useSearchAndFilter();
8865
+ const { searchTerm, totalResults, filters, handleResetFilters, setSearchTerm } = useSearchAndFilter();
8824
8866
  const automateCalloutTitle = () => {
8825
8867
  if (searchTerm && !filters.length) {
8826
8868
  return "No search results found";
@@ -8833,6 +8875,14 @@ var SearchAndFilterResultContainer = ({
8833
8875
  if (totalResults && totalResults > 0) {
8834
8876
  return null;
8835
8877
  }
8878
+ const handleClearSearch = () => {
8879
+ setSearchTerm("");
8880
+ if (onHandleClear) {
8881
+ onHandleClear();
8882
+ } else {
8883
+ handleResetFilters();
8884
+ }
8885
+ };
8836
8886
  return /* @__PURE__ */ jsxs47(Fragment16, { children: [
8837
8887
  /* @__PURE__ */ jsxs47(HorizontalRhythm9, { children: [
8838
8888
  /* @__PURE__ */ jsxs47("span", { children: [
@@ -8840,11 +8890,11 @@ var SearchAndFilterResultContainer = ({
8840
8890
  " results ",
8841
8891
  searchTerm ? `for "${searchTerm}"` : null
8842
8892
  ] }),
8843
- !searchTerm || hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "ghostDestructive", size: "zero", onClick: () => setSearchTerm(""), children: clearButtonLabel })
8893
+ !searchTerm || hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "ghostDestructive", size: "zero", onClick: handleClearSearch, children: clearButtonLabel })
8844
8894
  ] }),
8845
8895
  totalResults === 0 ? /* @__PURE__ */ jsxs47(Callout6, { title: calloutTitle != null ? calloutTitle : automateCalloutTitle(), type: "note", children: [
8846
8896
  calloutText ? /* @__PURE__ */ jsx75(Paragraph, { children: calloutText }) : null,
8847
- hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "tertiaryOutline", size: "xs", onClick: onHandleClear != null ? onHandleClear : handleResetFilters, children: buttonText != null ? buttonText : "Clear search" })
8897
+ hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "tertiaryOutline", size: "xs", onClick: handleClearSearch, children: buttonText != null ? buttonText : "Clear search" })
8848
8898
  ] }) : null
8849
8899
  ] });
8850
8900
  };
@@ -9467,6 +9517,7 @@ export {
9467
9517
  RequestUrl,
9468
9518
  RequestUrlInput,
9469
9519
  ResolvableLoadingValue,
9520
+ SELECT_OPERATORS,
9470
9521
  SYSTEM_DATE_OPERATORS,
9471
9522
  SYSTEM_FIELD_OPERATORS,
9472
9523
  ScrollableList2 as ScrollableList,
package/dist/index.js CHANGED
@@ -129,6 +129,7 @@ __export(src_exports, {
129
129
  RequestUrl: () => RequestUrl,
130
130
  RequestUrlInput: () => RequestUrlInput,
131
131
  ResolvableLoadingValue: () => ResolvableLoadingValue,
132
+ SELECT_OPERATORS: () => SELECT_OPERATORS,
132
133
  SYSTEM_DATE_OPERATORS: () => SYSTEM_DATE_OPERATORS,
133
134
  SYSTEM_FIELD_OPERATORS: () => SYSTEM_FIELD_OPERATORS,
134
135
  ScrollableList: () => import_design_system53.ScrollableList,
@@ -5198,7 +5199,7 @@ function ParameterConnectionIndicator({
5198
5199
  menuOptions,
5199
5200
  disabled,
5200
5201
  menuTooltip = "Insert variable",
5201
- overrideMenuButtonParentPadding
5202
+ overrideMenuButtonParentMargin
5202
5203
  }) {
5203
5204
  const hasVariablesInValue = (0, import_react53.useMemo)(() => {
5204
5205
  let result = false;
@@ -5221,8 +5222,8 @@ function ParameterConnectionIndicator({
5221
5222
  menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5222
5223
  "div",
5223
5224
  {
5224
- css: overrideMenuButtonParentPadding ? {
5225
- paddingBottom: overrideMenuButtonParentPadding
5225
+ css: overrideMenuButtonParentMargin ? {
5226
+ marginBottom: overrideMenuButtonParentMargin
5226
5227
  } : void 0,
5227
5228
  children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5228
5229
  "button",
@@ -7545,6 +7546,11 @@ var DATE_OPERATORS = [
7545
7546
  }
7546
7547
  ];
7547
7548
  var TEXTBOX_OPERATORS = [
7549
+ {
7550
+ label: "contains...",
7551
+ value: "match",
7552
+ editorType: "text"
7553
+ },
7548
7554
  {
7549
7555
  label: "is...",
7550
7556
  value: "eq",
@@ -7555,11 +7561,6 @@ var TEXTBOX_OPERATORS = [
7555
7561
  value: "ndef",
7556
7562
  editorType: "empty"
7557
7563
  },
7558
- {
7559
- label: "contains...",
7560
- value: "match",
7561
- editorType: "text"
7562
- },
7563
7564
  {
7564
7565
  label: "starts with...",
7565
7566
  value: "starts",
@@ -7578,13 +7579,13 @@ var TEXTBOX_OPERATORS = [
7578
7579
  ];
7579
7580
  var USER_OPERATORS = [
7580
7581
  {
7581
- label: "is...",
7582
- value: "eq",
7582
+ label: "contains...",
7583
+ value: "match",
7583
7584
  editorType: "text"
7584
7585
  },
7585
7586
  {
7586
- label: "contains...",
7587
- value: "match",
7587
+ label: "is...",
7588
+ value: "eq",
7588
7589
  editorType: "text"
7589
7590
  },
7590
7591
  {
@@ -7636,16 +7637,16 @@ var SYSTEM_DATE_OPERATORS = [
7636
7637
  }
7637
7638
  ];
7638
7639
  var RICHTEXT_OPERATORS = [
7639
- {
7640
- label: "is empty",
7641
- value: "ndef",
7642
- editorType: "empty"
7643
- },
7644
7640
  {
7645
7641
  label: "contains...",
7646
7642
  value: "match",
7647
7643
  editorType: "text"
7648
7644
  },
7645
+ {
7646
+ label: "is empty",
7647
+ value: "ndef",
7648
+ editorType: "empty"
7649
+ },
7649
7650
  {
7650
7651
  label: "starts with...",
7651
7652
  value: "starts",
@@ -7713,6 +7714,48 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7713
7714
  editorType: "statusMultiChoice"
7714
7715
  }
7715
7716
  ];
7717
+ var SELECT_OPERATORS = [
7718
+ {
7719
+ label: "is...",
7720
+ value: "eq",
7721
+ editorType: "singleChoice"
7722
+ },
7723
+ {
7724
+ label: "is any of...",
7725
+ value: "in",
7726
+ editorType: "multiChoice"
7727
+ },
7728
+ {
7729
+ label: "is empty",
7730
+ value: "ndef",
7731
+ editorType: "empty"
7732
+ },
7733
+ {
7734
+ label: "contains...",
7735
+ value: "match",
7736
+ editorType: "text"
7737
+ },
7738
+ {
7739
+ label: "starts with...",
7740
+ value: "starts",
7741
+ editorType: "text"
7742
+ },
7743
+ {
7744
+ label: "is not...",
7745
+ value: "neq",
7746
+ editorType: "singleChoice"
7747
+ },
7748
+ {
7749
+ label: "is none of...",
7750
+ value: "nin",
7751
+ editorType: "multiChoice"
7752
+ },
7753
+ {
7754
+ label: "is not empty",
7755
+ value: "def",
7756
+ editorType: "empty"
7757
+ }
7758
+ ];
7716
7759
 
7717
7760
  // src/components/SearchAndFilter/FilterButton.tsx
7718
7761
  var import_design_system42 = require("@uniformdev/design-system");
@@ -8970,7 +9013,7 @@ var SearchAndFilterResultContainer = ({
8970
9013
  onHandleClear,
8971
9014
  hideClearButton
8972
9015
  }) => {
8973
- const { searchTerm, setSearchTerm, totalResults, filters, handleResetFilters } = useSearchAndFilter();
9016
+ const { searchTerm, totalResults, filters, handleResetFilters, setSearchTerm } = useSearchAndFilter();
8974
9017
  const automateCalloutTitle = () => {
8975
9018
  if (searchTerm && !filters.length) {
8976
9019
  return "No search results found";
@@ -8983,6 +9026,14 @@ var SearchAndFilterResultContainer = ({
8983
9026
  if (totalResults && totalResults > 0) {
8984
9027
  return null;
8985
9028
  }
9029
+ const handleClearSearch = () => {
9030
+ setSearchTerm("");
9031
+ if (onHandleClear) {
9032
+ onHandleClear();
9033
+ } else {
9034
+ handleResetFilters();
9035
+ }
9036
+ };
8986
9037
  return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
8987
9038
  /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_design_system48.HorizontalRhythm, { children: [
8988
9039
  /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { children: [
@@ -8990,11 +9041,11 @@ var SearchAndFilterResultContainer = ({
8990
9041
  " results ",
8991
9042
  searchTerm ? `for "${searchTerm}"` : null
8992
9043
  ] }),
8993
- !searchTerm || hideClearButton ? null : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_design_system48.Button, { buttonType: "ghostDestructive", size: "zero", onClick: () => setSearchTerm(""), children: clearButtonLabel })
9044
+ !searchTerm || hideClearButton ? null : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_design_system48.Button, { buttonType: "ghostDestructive", size: "zero", onClick: handleClearSearch, children: clearButtonLabel })
8994
9045
  ] }),
8995
9046
  totalResults === 0 ? /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_design_system48.Callout, { title: calloutTitle != null ? calloutTitle : automateCalloutTitle(), type: "note", children: [
8996
9047
  calloutText ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_design_system48.Paragraph, { children: calloutText }) : null,
8997
- hideClearButton ? null : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_design_system48.Button, { buttonType: "tertiaryOutline", size: "xs", onClick: onHandleClear != null ? onHandleClear : handleResetFilters, children: buttonText != null ? buttonText : "Clear search" })
9048
+ hideClearButton ? null : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_design_system48.Button, { buttonType: "tertiaryOutline", size: "xs", onClick: handleClearSearch, children: buttonText != null ? buttonText : "Clear search" })
8998
9049
  ] }) : null
8999
9050
  ] });
9000
9051
  };
@@ -9583,6 +9634,7 @@ __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
9583
9634
  RequestUrl,
9584
9635
  RequestUrlInput,
9585
9636
  ResolvableLoadingValue,
9637
+ SELECT_OPERATORS,
9586
9638
  SYSTEM_DATE_OPERATORS,
9587
9639
  SYSTEM_FIELD_OPERATORS,
9588
9640
  ScrollableList,
package/dist/index.mjs CHANGED
@@ -5005,7 +5005,7 @@ function ParameterConnectionIndicator({
5005
5005
  menuOptions,
5006
5006
  disabled,
5007
5007
  menuTooltip = "Insert variable",
5008
- overrideMenuButtonParentPadding
5008
+ overrideMenuButtonParentMargin
5009
5009
  }) {
5010
5010
  const hasVariablesInValue = useMemo11(() => {
5011
5011
  let result = false;
@@ -5028,8 +5028,8 @@ function ParameterConnectionIndicator({
5028
5028
  menuTrigger: /* @__PURE__ */ jsx41(
5029
5029
  "div",
5030
5030
  {
5031
- css: overrideMenuButtonParentPadding ? {
5032
- paddingBottom: overrideMenuButtonParentPadding
5031
+ css: overrideMenuButtonParentMargin ? {
5032
+ marginBottom: overrideMenuButtonParentMargin
5033
5033
  } : void 0,
5034
5034
  children: /* @__PURE__ */ jsx41(
5035
5035
  "button",
@@ -7387,6 +7387,11 @@ var DATE_OPERATORS = [
7387
7387
  }
7388
7388
  ];
7389
7389
  var TEXTBOX_OPERATORS = [
7390
+ {
7391
+ label: "contains...",
7392
+ value: "match",
7393
+ editorType: "text"
7394
+ },
7390
7395
  {
7391
7396
  label: "is...",
7392
7397
  value: "eq",
@@ -7397,11 +7402,6 @@ var TEXTBOX_OPERATORS = [
7397
7402
  value: "ndef",
7398
7403
  editorType: "empty"
7399
7404
  },
7400
- {
7401
- label: "contains...",
7402
- value: "match",
7403
- editorType: "text"
7404
- },
7405
7405
  {
7406
7406
  label: "starts with...",
7407
7407
  value: "starts",
@@ -7420,13 +7420,13 @@ var TEXTBOX_OPERATORS = [
7420
7420
  ];
7421
7421
  var USER_OPERATORS = [
7422
7422
  {
7423
- label: "is...",
7424
- value: "eq",
7423
+ label: "contains...",
7424
+ value: "match",
7425
7425
  editorType: "text"
7426
7426
  },
7427
7427
  {
7428
- label: "contains...",
7429
- value: "match",
7428
+ label: "is...",
7429
+ value: "eq",
7430
7430
  editorType: "text"
7431
7431
  },
7432
7432
  {
@@ -7478,16 +7478,16 @@ var SYSTEM_DATE_OPERATORS = [
7478
7478
  }
7479
7479
  ];
7480
7480
  var RICHTEXT_OPERATORS = [
7481
- {
7482
- label: "is empty",
7483
- value: "ndef",
7484
- editorType: "empty"
7485
- },
7486
7481
  {
7487
7482
  label: "contains...",
7488
7483
  value: "match",
7489
7484
  editorType: "text"
7490
7485
  },
7486
+ {
7487
+ label: "is empty",
7488
+ value: "ndef",
7489
+ editorType: "empty"
7490
+ },
7491
7491
  {
7492
7492
  label: "starts with...",
7493
7493
  value: "starts",
@@ -7555,6 +7555,48 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7555
7555
  editorType: "statusMultiChoice"
7556
7556
  }
7557
7557
  ];
7558
+ var SELECT_OPERATORS = [
7559
+ {
7560
+ label: "is...",
7561
+ value: "eq",
7562
+ editorType: "singleChoice"
7563
+ },
7564
+ {
7565
+ label: "is any of...",
7566
+ value: "in",
7567
+ editorType: "multiChoice"
7568
+ },
7569
+ {
7570
+ label: "is empty",
7571
+ value: "ndef",
7572
+ editorType: "empty"
7573
+ },
7574
+ {
7575
+ label: "contains...",
7576
+ value: "match",
7577
+ editorType: "text"
7578
+ },
7579
+ {
7580
+ label: "starts with...",
7581
+ value: "starts",
7582
+ editorType: "text"
7583
+ },
7584
+ {
7585
+ label: "is not...",
7586
+ value: "neq",
7587
+ editorType: "singleChoice"
7588
+ },
7589
+ {
7590
+ label: "is none of...",
7591
+ value: "nin",
7592
+ editorType: "multiChoice"
7593
+ },
7594
+ {
7595
+ label: "is not empty",
7596
+ value: "def",
7597
+ editorType: "empty"
7598
+ }
7599
+ ];
7558
7600
 
7559
7601
  // src/components/SearchAndFilter/FilterButton.tsx
7560
7602
  import { Counter as Counter2, Icon as Icon6 } from "@uniformdev/design-system";
@@ -8820,7 +8862,7 @@ var SearchAndFilterResultContainer = ({
8820
8862
  onHandleClear,
8821
8863
  hideClearButton
8822
8864
  }) => {
8823
- const { searchTerm, setSearchTerm, totalResults, filters, handleResetFilters } = useSearchAndFilter();
8865
+ const { searchTerm, totalResults, filters, handleResetFilters, setSearchTerm } = useSearchAndFilter();
8824
8866
  const automateCalloutTitle = () => {
8825
8867
  if (searchTerm && !filters.length) {
8826
8868
  return "No search results found";
@@ -8833,6 +8875,14 @@ var SearchAndFilterResultContainer = ({
8833
8875
  if (totalResults && totalResults > 0) {
8834
8876
  return null;
8835
8877
  }
8878
+ const handleClearSearch = () => {
8879
+ setSearchTerm("");
8880
+ if (onHandleClear) {
8881
+ onHandleClear();
8882
+ } else {
8883
+ handleResetFilters();
8884
+ }
8885
+ };
8836
8886
  return /* @__PURE__ */ jsxs47(Fragment16, { children: [
8837
8887
  /* @__PURE__ */ jsxs47(HorizontalRhythm9, { children: [
8838
8888
  /* @__PURE__ */ jsxs47("span", { children: [
@@ -8840,11 +8890,11 @@ var SearchAndFilterResultContainer = ({
8840
8890
  " results ",
8841
8891
  searchTerm ? `for "${searchTerm}"` : null
8842
8892
  ] }),
8843
- !searchTerm || hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "ghostDestructive", size: "zero", onClick: () => setSearchTerm(""), children: clearButtonLabel })
8893
+ !searchTerm || hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "ghostDestructive", size: "zero", onClick: handleClearSearch, children: clearButtonLabel })
8844
8894
  ] }),
8845
8895
  totalResults === 0 ? /* @__PURE__ */ jsxs47(Callout6, { title: calloutTitle != null ? calloutTitle : automateCalloutTitle(), type: "note", children: [
8846
8896
  calloutText ? /* @__PURE__ */ jsx75(Paragraph, { children: calloutText }) : null,
8847
- hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "tertiaryOutline", size: "xs", onClick: onHandleClear != null ? onHandleClear : handleResetFilters, children: buttonText != null ? buttonText : "Clear search" })
8897
+ hideClearButton ? null : /* @__PURE__ */ jsx75(Button6, { buttonType: "tertiaryOutline", size: "xs", onClick: handleClearSearch, children: buttonText != null ? buttonText : "Clear search" })
8848
8898
  ] }) : null
8849
8899
  ] });
8850
8900
  };
@@ -9467,6 +9517,7 @@ export {
9467
9517
  RequestUrl,
9468
9518
  RequestUrlInput,
9469
9519
  ResolvableLoadingValue,
9520
+ SELECT_OPERATORS,
9470
9521
  SYSTEM_DATE_OPERATORS,
9471
9522
  SYSTEM_FIELD_OPERATORS,
9472
9523
  ScrollableList2 as ScrollableList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.150.0",
3
+ "version": "19.151.0",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -49,10 +49,10 @@
49
49
  "@lexical/react": "^0.12.0",
50
50
  "@lexical/selection": "^0.12.0",
51
51
  "@lexical/utils": "^0.12.0",
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.150.0",
54
- "@uniformdev/design-system": "19.150.0",
55
- "@uniformdev/mesh-sdk": "19.150.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": "19.151.0",
54
+ "@uniformdev/design-system": "19.151.0",
55
+ "@uniformdev/mesh-sdk": "19.151.0",
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": "4dc41368724c89d5d3c20ff5e4f84c4cfb1752b2"
89
+ "gitHead": "de711843f24678df635c244505a943ae1d123a1a"
90
90
  }