@fluidattacks/design 3.30.1-pr.6 → 3.30.1
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/modal/filters-modal/filter-control/types.d.ts +1 -0
- package/dist/components/modal/filters-modal/filter-form/form-content/types.d.ts +1 -0
- package/dist/components/modal/filters-modal/filter-form/hooks/types.d.ts +1 -0
- package/dist/components/modal/filters-modal/filter-form/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { IFilterOptions } from '../types';
|
|
|
6
6
|
* @interface IFilterControlProps
|
|
7
7
|
* @property {IFilterOptions} options - filter options.
|
|
8
8
|
* @property {UseFormRegister<IFormFieldValues>} register - Function to register form fields.
|
|
9
|
+
* @property {UseFormWatch<IFormFieldValues>} watch - React Hook Form watch function.
|
|
9
10
|
*/
|
|
10
11
|
interface IFilterControlProps<IData extends object> {
|
|
11
12
|
control: Control<IFormFieldVales>;
|
|
@@ -8,6 +8,7 @@ import { IFormFieldVales } from '../types';
|
|
|
8
8
|
* @property {IFilterOptions<IData>[]} items - Array of filter options.
|
|
9
9
|
* @property {UseFormRegister<IFormFieldVales>} register - React Hook Form register function.
|
|
10
10
|
* @property {UseFormSetValue<IFormFieldVales>} setValue - React Hook Form setValue function.
|
|
11
|
+
* @property {UseFormWatch<IFormFieldVales>} watch - React Hook Form watch function.
|
|
11
12
|
*/
|
|
12
13
|
interface IFilterFormContentProps<IData extends object> {
|
|
13
14
|
control: Control<IFormFieldVales>;
|
|
@@ -10,6 +10,7 @@ import { IFormFieldVales } from '../types';
|
|
|
10
10
|
* @property {UseFormRegister<IFormFieldVales>} register - React Hook Form register function.
|
|
11
11
|
* @property {UseFormHandleSubmit<IFormFieldVales>} handleSubmit - React Hook Form handleSubmit function.
|
|
12
12
|
* @property {UseFormSetValue<IFormFieldVales>} setValue - React Hook Form setValue function.
|
|
13
|
+
* @property {UseFormWatch<IFormFieldVales>} watch - React Hook Form watch function.
|
|
13
14
|
*/
|
|
14
15
|
interface IUseFilterForm<IData extends object> {
|
|
15
16
|
control: Control<IFormFieldVales>;
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
* @property {string[]} checkbox - Array of selected checkbox values.
|
|
5
5
|
* @property {string} radio - Selected radio button value.
|
|
6
6
|
* @property {string} text - Text input value.
|
|
7
|
+
* @property {number | string} minValue - Minimum value.
|
|
8
|
+
* @property {number | string} maxValue - Maximum value.
|
|
9
|
+
* @property {string} search - Search value.
|
|
7
10
|
*/
|
|
8
11
|
interface IFormFieldVales {
|
|
9
12
|
checkbox: string[];
|
package/package.json
CHANGED