@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.
- package/dist/components/FilterBar/components/PaginationCluster.d.ts +1 -0
- package/dist/components/FilterBar/components/pills/SelectPill.d.ts +9 -3
- package/dist/components/FilterBar/types.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1491 -1403
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
|
@@ -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 —
|
|
17
|
-
*
|
|
18
|
-
*
|
|
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. */
|