@baseline-ui/core 0.46.0 → 0.46.1

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
@@ -5937,6 +5937,15 @@ interface SearchInputProps extends Omit<AriaSearchFieldProps, "validationState"
5937
5937
  variant?: "primary" | "ghost";
5938
5938
  /** Defines a string value that labels the current element. */
5939
5939
  "aria-label": string;
5940
+ /**
5941
+ * Whether the clear button is focusable. By default, you can clear the search
5942
+ * input by pressing the `Escape` key and clicking the clear button. So the
5943
+ * clear button is excluded from receiving focus. This prop is useful when you
5944
+ * want to allow the clear button to receive focus.
5945
+ *
5946
+ * @default false
5947
+ */
5948
+ isClearFocusable?: boolean;
5940
5949
  }
5941
5950
 
5942
5951
  declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLDivElement>>;
package/dist/index.d.ts CHANGED
@@ -5937,6 +5937,15 @@ interface SearchInputProps extends Omit<AriaSearchFieldProps, "validationState"
5937
5937
  variant?: "primary" | "ghost";
5938
5938
  /** Defines a string value that labels the current element. */
5939
5939
  "aria-label": string;
5940
+ /**
5941
+ * Whether the clear button is focusable. By default, you can clear the search
5942
+ * input by pressing the `Escape` key and clicking the clear button. So the
5943
+ * clear button is excluded from receiving focus. This prop is useful when you
5944
+ * want to allow the clear button to receive focus.
5945
+ *
5946
+ * @default false
5947
+ */
5948
+ isClearFocusable?: boolean;
5940
5949
  }
5941
5950
 
5942
5951
  declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLDivElement>>;