@starasia/admin 8.0.6 → 8.1.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.
@@ -8,6 +8,7 @@ interface PaginationClusterProps {
8
8
  pageSizeOptions?: number[];
9
9
  defaultPerPage?: number;
10
10
  showResultCount?: boolean;
11
+ showPageSize?: boolean;
11
12
  showPagination?: boolean;
12
13
  }
13
14
  /**
@@ -11,11 +11,17 @@ interface SelectPillProps {
11
11
  label: string;
12
12
  value: string;
13
13
  }[]) => void;
14
+ /** Removes the whole pill (the popover's "Remove Filter" action). */
15
+ onRemove: () => void;
14
16
  }
15
17
  /**
16
- * Select pill — covers `dropdown` (single), `dropdown-multiple`, `radio`
17
- * (single) and `person` (searchable multi). Backed by `@starasia/dropdown`,
18
- * which renders the checkbox list / search seen in the Figma "Default Filter".
18
+ * Select pill — `dropdown` (single), `dropdown-multiple`, `radio`, `person`.
19
+ *
20
+ * Layout: outer `Menu` for positioning. Inside the popover, `Dropdown` is used
21
+ * **only** for the search input + selected-chips area (no `dropdownLists`, so
22
+ * its own panel never renders, and its chevron is hidden). The actual list of
23
+ * options is rendered externally with `MenuItem` so we can show avatars /
24
+ * descriptions and keep the menu open while toggling.
19
25
  */
20
26
  export declare const SelectPill: React.FC<SelectPillProps>;
21
27
  export {};
@@ -124,6 +124,8 @@ export interface FilterBarProps {
124
124
  pageSizeOptions?: number[];
125
125
  showPagination?: boolean;
126
126
  showResultCount?: boolean;
127
+ /** Show the rows-per-page selector. Default `true`. */
128
+ showPageSize?: boolean;
127
129
  /** Columns shown in the Customize Column panel. */
128
130
  columns?: ColumnConfig[];
129
131
  /** Emitted when visibility/order changes — consumer applies to its table. */