@rfkit/charts 1.14.2 → 1.15.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/components/AxisY/spectrum/useRanging/tools.d.ts +2 -1
- package/components/AxisY/tools.d.ts +1 -1
- package/index.d.ts +1 -1
- package/index.js +4 -4
- package/package.json +1 -1
- package/store/Params.d.ts +1 -0
- package/types/store/axis.d.ts +1 -0
- package/types/store/ui.d.ts +1 -0
- package/utils/throttle.d.ts +4 -1
package/package.json
CHANGED
package/store/Params.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { AxisYProps, ParamsProps, StoreState } from '../types/index.js';
|
|
3
|
+
export declare const initializeAxisYProps: (axisY?: Partial<AxisYProps>) => Partial<AxisYProps> | undefined;
|
|
3
4
|
export declare function mergeParameter<K extends keyof StoreState>(key: K, params: StoreState[K] | Partial<StoreState[K]> | null | undefined, state?: StoreState): StoreState[K];
|
|
4
5
|
export declare function normalizeAxisYProps(axisY?: Partial<AxisYProps>): Partial<AxisYProps> | undefined;
|
|
5
6
|
declare const Params: React.FC<ParamsProps>;
|
package/types/store/axis.d.ts
CHANGED
package/types/store/ui.d.ts
CHANGED
package/utils/throttle.d.ts
CHANGED
|
@@ -17,7 +17,10 @@ interface ReactLikeEvent {
|
|
|
17
17
|
clientY?: number;
|
|
18
18
|
buttons?: number;
|
|
19
19
|
}
|
|
20
|
-
export declare function throttleRequestAnimationFrame<T = unknown>(func?: (e?: T | EventSnapshot) => void): (e?: T | ReactLikeEvent) => void
|
|
20
|
+
export declare function throttleRequestAnimationFrame<T = unknown>(func?: (e?: T | EventSnapshot) => void): ((e?: T | ReactLikeEvent) => void) & {
|
|
21
|
+
flush: () => void;
|
|
22
|
+
cancel: () => void;
|
|
23
|
+
};
|
|
21
24
|
export declare function throttleTimer<T = unknown>(func?: (e?: T) => void, wait?: number): (e?: T) => void;
|
|
22
25
|
export declare const debounce: <T extends (...args: unknown[]) => unknown>(fn: T, delay?: number) => ((...args: Parameters<T>) => void) & {
|
|
23
26
|
cancel: () => void;
|