@nivaro/react 0.1.266 → 0.1.268

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.ts CHANGED
@@ -1519,7 +1519,7 @@ export declare interface FilterDef {
1519
1519
  key: string;
1520
1520
  placeholder: string;
1521
1521
  /** Defaults to 'select' — every existing FilterDef without this field keeps its current dropdown behavior unchanged. */
1522
- type?: 'select' | 'text' | 'range' | 'combobox';
1522
+ type?: 'select' | 'text' | 'range' | 'combobox' | 'date' | 'number';
1523
1523
  /** Required when type is 'select' or omitted; static options for 'combobox'; ignored for 'text'/'range'. */
1524
1524
  options?: {
1525
1525
  label: string;
@@ -1535,6 +1535,8 @@ export declare interface FilterDef {
1535
1535
  multi?: boolean;
1536
1536
  /** Options are narrowed to the viewer's restricted scope — renders an amber badge. */
1537
1537
  restricted?: boolean;
1538
+ /** 'range' only: suffix shown in the summary ("38d", "12h"). */
1539
+ range_unit?: string;
1538
1540
  }
1539
1541
 
1540
1542
  export declare function filterDefLabel(def: FilterDef): string;