timepicker-ui 4.2.0 → 4.2.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/index.d.ts
CHANGED
|
@@ -908,21 +908,21 @@ declare class TimepickerUI {
|
|
|
908
908
|
* @param handler - The function to handle the event.
|
|
909
909
|
* @returns - void
|
|
910
910
|
*/
|
|
911
|
-
on<K extends keyof TimepickerEventMap>(event: K, handler: () => void): void;
|
|
911
|
+
on<K extends keyof TimepickerEventMap>(event: K, handler: (data: TimepickerEventMap[K]) => void): void;
|
|
912
912
|
/**
|
|
913
913
|
* Subscribe to a timepicker event with a handler function that will be called only once.
|
|
914
914
|
* @param event - The name of the event to subscribe to.
|
|
915
915
|
* @param handler - The function to handle the event.
|
|
916
916
|
* @returns - void
|
|
917
917
|
*/
|
|
918
|
-
once<K extends keyof TimepickerEventMap>(event: K, handler: () => void): void;
|
|
918
|
+
once<K extends keyof TimepickerEventMap>(event: K, handler: (data: TimepickerEventMap[K]) => void): void;
|
|
919
919
|
/**
|
|
920
920
|
* Unsubscribe from a timepicker event. If a handler is provided, only that handler will be removed. If no handler is provided, all handlers for the event will be removed.
|
|
921
921
|
* @param event - The name of the event to unsubscribe from.
|
|
922
922
|
* @param handler - The function to handle the event.
|
|
923
923
|
* @returns - void
|
|
924
924
|
*/
|
|
925
|
-
off<K extends keyof TimepickerEventMap>(event: K, handler?: () => void): void;
|
|
925
|
+
off<K extends keyof TimepickerEventMap>(event: K, handler?: (data: TimepickerEventMap[K]) => void): void;
|
|
926
926
|
private resolveInputElement;
|
|
927
927
|
private createWrapperElement;
|
|
928
928
|
/**
|
package/dist/plugins/range.d.ts
CHANGED
package/dist/plugins/wheel.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "timepicker-ui",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "timepicker-ui is a customizable time picker library built with TypeScript, inspired by Google's Material Design. Lightweight, themeable, and easy to integrate.",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|