@simoncomputing/mui-bueno-v2 0.25.21 → 0.25.22
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/CHANGELOG.md +12 -0
- package/dist/components/Form/Inputs/SearchField/SearchField.d.ts +5 -1
- package/dist/index.cjs.js +88 -88
- package/dist/index.es.js +2842 -2837
- package/dist/index.umd.js +89 -89
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
- Minor increment --> singlular/minor changes. Minimal breaking changes.
|
|
12
12
|
- Patch increment --> singlular/minor changes. Zero breaking changes.
|
|
13
13
|
|
|
14
|
+
## [0.25.22] - 2026-02-27
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `SearchField`, `PageHeader`
|
|
19
|
+
- `onSearch` is now debounced at 500ms, which can be optionally overridden via the `debounceMillis` prop
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- `SelectableCitationManager`, `CitationManager`, `CitationField`
|
|
24
|
+
- Search is debounced by 500ms to avoid excessive calls to `getCitationsPaginated`/`getSelectedCiationsPaginated`
|
|
25
|
+
|
|
14
26
|
## [0.25.21] - 2026-02-27
|
|
15
27
|
|
|
16
28
|
### Added
|
|
@@ -2,7 +2,7 @@ export type SearchFieldProps = {
|
|
|
2
2
|
/**
|
|
3
3
|
* Called each time user types a character in the input field, or when they click the search bar/'Enter' key
|
|
4
4
|
*/
|
|
5
|
-
onSearch: (value
|
|
5
|
+
onSearch: (value: string) => void;
|
|
6
6
|
/**
|
|
7
7
|
* Initial value for the input (may be useful if using Redux)
|
|
8
8
|
*/
|
|
@@ -11,6 +11,10 @@ export type SearchFieldProps = {
|
|
|
11
11
|
* If true, onSearch will only be called when user clicks search button/'Enter' key
|
|
12
12
|
*/
|
|
13
13
|
lazySearch?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Override the debounce search value, in milliseconds. Default: 500ms
|
|
16
|
+
*/
|
|
17
|
+
debounceMillis?: number;
|
|
14
18
|
};
|
|
15
19
|
/**
|
|
16
20
|
* Search Field component. Can be used by itself, and/or with a table to filter data (Table/PagingTable).
|