@homebound/beam 4.59.0 → 4.60.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.cts CHANGED
@@ -8730,7 +8730,7 @@ type MenuSelectFieldBaseProps<O, V extends Value> = {
8730
8730
  getOptionSearchText?: (opt: O) => string | readonly string[];
8731
8731
  /** Sort options by `getOptionLabel`. On by default. `MenuTreeSelectField` defaults this to false. */
8732
8732
  autoSort?: boolean;
8733
- /** Debounced menu search text. The caller replaces `options` and should keep the current selection and `mixedValues` in that list. Closing calls this with `""`. */
8733
+ /** Debounced menu search text. The caller replaces `options` and should keep `mixedValues` in that list. Closing calls this with `""`. */
8734
8734
  onSearch?: (search: string) => void;
8735
8735
  disabledOptions?: (V | {
8736
8736
  value: V;
@@ -9664,6 +9664,11 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
9664
9664
  * Only applies inside a document-scroll layout; hosts the pane around the table body only.
9665
9665
  */
9666
9666
  withRightPane?: boolean;
9667
+ /**
9668
+ * Scroll back to the top of the table when the filter or search changes, however it was changed (e.g. a summary
9669
+ * card outside the table calling `layoutState.setFilter`). Waits for a query table to finish loading the new rows.
9670
+ */
9671
+ scrollToTopOnFilterChange?: boolean;
9667
9672
  };
9668
9673
  /**
9669
9674
  * A layout component that combines a table with a header, actions buttons, filters, and infinite scroll.
package/dist/index.d.ts CHANGED
@@ -8730,7 +8730,7 @@ type MenuSelectFieldBaseProps<O, V extends Value> = {
8730
8730
  getOptionSearchText?: (opt: O) => string | readonly string[];
8731
8731
  /** Sort options by `getOptionLabel`. On by default. `MenuTreeSelectField` defaults this to false. */
8732
8732
  autoSort?: boolean;
8733
- /** Debounced menu search text. The caller replaces `options` and should keep the current selection and `mixedValues` in that list. Closing calls this with `""`. */
8733
+ /** Debounced menu search text. The caller replaces `options` and should keep `mixedValues` in that list. Closing calls this with `""`. */
8734
8734
  onSearch?: (search: string) => void;
8735
8735
  disabledOptions?: (V | {
8736
8736
  value: V;
@@ -9664,6 +9664,11 @@ type GridTableLayoutProps<F extends Record<string, unknown>, R extends Kinded, X
9664
9664
  * Only applies inside a document-scroll layout; hosts the pane around the table body only.
9665
9665
  */
9666
9666
  withRightPane?: boolean;
9667
+ /**
9668
+ * Scroll back to the top of the table when the filter or search changes, however it was changed (e.g. a summary
9669
+ * card outside the table calling `layoutState.setFilter`). Waits for a query table to finish loading the new rows.
9670
+ */
9671
+ scrollToTopOnFilterChange?: boolean;
9667
9672
  };
9668
9673
  /**
9669
9674
  * A layout component that combines a table with a header, actions buttons, filters, and infinite scroll.