@turquoisehealth/pit-viper 2.203.1-dev.2 → 2.205.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.
@@ -332,6 +332,8 @@ export interface PvDataTableProps<T> {
332
332
  tableSearchPlaceholder?: string;
333
333
  /** The style of table search to use */
334
334
  tableSearchStyle?: TableSearchStyle;
335
+ /** If true, render the search input inline with the filter row instead of on its own row */
336
+ tableSearchInline?: boolean;
335
337
  /** Maximum number of filter chips to display horizontally before collapsing */
336
338
  maxHorizontalFilters?: number;
337
339
  /** If true, the filter panel is view-only: filters are visible but cannot be changed */
@@ -349,7 +351,9 @@ export interface PvDataTableProps<T> {
349
351
  * Custom CSS Properties
350
352
  */
351
353
  customCssProperties?: {
352
- agGridWrapper: CSSProperties;
354
+ agGridWrapper?: CSSProperties;
355
+ /** Styles applied to the table search input wrapper (e.g. width) */
356
+ tableSearchWrapper?: CSSProperties;
353
357
  };
354
358
  /**
355
359
  * If true, then the table is grouped.
@@ -56,7 +56,7 @@ export declare const useSetFilter: <T>(options: UseSetFilterOptions<T>) => {
56
56
  filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
57
57
  formatDisplayValue: (input: string | null) => string | null;
58
58
  resolvedFilterValueContext: (input: string | null) => FilterValueResponseOption | null | undefined;
59
- isUnresolvedMetadataValue: (value: string | null) => boolean;
59
+ isUnresolvedMetadataValue: (value: string | null, context?: FilterValueResponseOption | null) => boolean;
60
60
  getLatestFilterValues: (fetchNewValues?: boolean, forceFetchValues?: boolean) => Promise<void>;
61
61
  addSelectedValue: (value: string | null, field?: string) => void;
62
62
  removeSelectedValue: (value: string | null, field?: string) => void;