@tarsis/toolkit 0.4.4 → 0.4.6
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.cjs +2844 -2968
- package/dist/index.d.ts +4 -8
- package/dist/index.js +2845 -2967
- package/dist/styles.css +540 -603
- package/package.json +27 -30
package/dist/index.d.ts
CHANGED
|
@@ -233,8 +233,6 @@ onMouseLeave?: () => void;
|
|
|
233
233
|
}>;
|
|
234
234
|
};
|
|
235
235
|
|
|
236
|
-
export declare const DockY: FC;
|
|
237
|
-
|
|
238
236
|
export declare const DoubleArrowButton: FC;
|
|
239
237
|
|
|
240
238
|
export declare const DoubleArrowCollabButton: FC<Props_19>;
|
|
@@ -251,8 +249,6 @@ export declare const DynamicIsland: FC<Props_2>;
|
|
|
251
249
|
|
|
252
250
|
export declare const EchoClickButton: FC;
|
|
253
251
|
|
|
254
|
-
export declare const ElasticCards: FC;
|
|
255
|
-
|
|
256
252
|
export declare const ElasticCursor: FC;
|
|
257
253
|
|
|
258
254
|
export declare const ElectrifiedButton: FC;
|
|
@@ -1200,12 +1196,12 @@ export declare const useOklch: () => void;
|
|
|
1200
1196
|
* return <div ref={ref}>...</div>
|
|
1201
1197
|
* ```
|
|
1202
1198
|
*/
|
|
1203
|
-
export declare const useOutsideClick: <T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>, callback:
|
|
1204
|
-
|
|
1205
|
-
export declare const usePrevious: <T>(value: T) => T | undefined;
|
|
1199
|
+
export declare const useOutsideClick: <T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>, callback: VoidFunction, isActive?: boolean) => void;
|
|
1206
1200
|
|
|
1207
1201
|
export declare const usePreviousRender: <T>(value: T) => T | undefined;
|
|
1208
1202
|
|
|
1203
|
+
export declare const usePreviousState: <T>(value: T) => T | undefined;
|
|
1204
|
+
|
|
1209
1205
|
/**
|
|
1210
1206
|
* Custom hook that provides a requestAnimationFrame-based callback execution.
|
|
1211
1207
|
* Useful for performance-critical animations and continuous updates that should
|
|
@@ -1229,7 +1225,7 @@ export declare const usePreviousRender: <T>(value: T) => T | undefined;
|
|
|
1229
1225
|
* animate()
|
|
1230
1226
|
* ```
|
|
1231
1227
|
*/
|
|
1232
|
-
export declare const useRaf: (callback:
|
|
1228
|
+
export declare const useRaf: (callback: VoidFunction, enabled?: boolean) => VoidFunction;
|
|
1233
1229
|
|
|
1234
1230
|
/**
|
|
1235
1231
|
* Custom hook that throttles a callback function to limit how often it can be invoked.
|