@starasia/admin 8.5.0 → 8.6.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/MobileFilterBar.d.ts +1 -0
- package/dist/components/FilterBar/components/SearchBox.d.ts +5 -0
- package/dist/components/FilterBar/types.d.ts +6 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +1027 -1021
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
|
@@ -7,6 +7,11 @@ interface SearchBoxProps {
|
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
/** Single-key shortcut that focuses search. Default `/`. */
|
|
9
9
|
shortcut?: string;
|
|
10
|
+
/**
|
|
11
|
+
* When `false` the input is always expanded — no icon trigger, no
|
|
12
|
+
* collapse-on-blur, no width animation. Default `true`.
|
|
13
|
+
*/
|
|
14
|
+
collapsible?: boolean;
|
|
10
15
|
}
|
|
11
16
|
/**
|
|
12
17
|
* Search control that animates open from an icon button. The input is always
|
|
@@ -133,6 +133,12 @@ export interface FilterBarProps {
|
|
|
133
133
|
* selalu di kiri toolbar).
|
|
134
134
|
*/
|
|
135
135
|
searchPosition?: 'left' | 'right';
|
|
136
|
+
/**
|
|
137
|
+
* When `false`, the search input is always expanded (no icon trigger, no
|
|
138
|
+
* collapse-on-blur). Default `true`. Useful for search-first pages where the
|
|
139
|
+
* field should be ready to type immediately.
|
|
140
|
+
*/
|
|
141
|
+
searchCollapsible?: boolean;
|
|
136
142
|
/** Pagination meta from the API (drives result count + pager). */
|
|
137
143
|
pagination?: Pagination;
|
|
138
144
|
/** URL param for page size. Default `'perPage'`. */
|