@6thbridge/hexa 0.0.0-pr80-155 → 0.0.0-pr80-156
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -686,6 +686,8 @@ type FilterContentProps = {
|
|
|
686
686
|
onChange?: (values: FilterValues) => void;
|
|
687
687
|
onApply?: (values: FilterValues) => void;
|
|
688
688
|
onReset?: () => void;
|
|
689
|
+
/** Called when a single field is cleared, so the parent can update applied state + URL for that key only. */
|
|
690
|
+
onClearApplied?: (fieldKey: string) => void;
|
|
689
691
|
id?: string;
|
|
690
692
|
setAppliedFilters?: (values: FilterValues) => void;
|
|
691
693
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -686,6 +686,8 @@ type FilterContentProps = {
|
|
|
686
686
|
onChange?: (values: FilterValues) => void;
|
|
687
687
|
onApply?: (values: FilterValues) => void;
|
|
688
688
|
onReset?: () => void;
|
|
689
|
+
/** Called when a single field is cleared, so the parent can update applied state + URL for that key only. */
|
|
690
|
+
onClearApplied?: (fieldKey: string) => void;
|
|
689
691
|
id?: string;
|
|
690
692
|
setAppliedFilters?: (values: FilterValues) => void;
|
|
691
693
|
};
|