datex-ui 1.2.0 → 1.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/datex.d.ts +1 -0
- package/dist/index.esm.js +490 -273
- package/dist/services/keyboard-service.d.ts +5 -0
- package/dist/services/theme-service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -19,8 +19,12 @@ export declare class KeyboardService {
|
|
|
19
19
|
private onApply?;
|
|
20
20
|
private onToday?;
|
|
21
21
|
private onClear?;
|
|
22
|
+
private onMonthChange?;
|
|
22
23
|
private currentFocusedDate;
|
|
23
24
|
private isActive;
|
|
25
|
+
private handleKeyDownBound?;
|
|
26
|
+
private handleFocusBound?;
|
|
27
|
+
private handleBlurBound?;
|
|
24
28
|
constructor(container: HTMLElement, options?: KeyboardOptions);
|
|
25
29
|
setHandlers(handlers: {
|
|
26
30
|
onDateSelect?: (date: Date) => void;
|
|
@@ -28,6 +32,7 @@ export declare class KeyboardService {
|
|
|
28
32
|
onApply?: () => void;
|
|
29
33
|
onToday?: () => void;
|
|
30
34
|
onClear?: () => void;
|
|
35
|
+
onMonthChange?: (date: Date) => void;
|
|
31
36
|
}): void;
|
|
32
37
|
activate(initialDate?: Date): void;
|
|
33
38
|
deactivate(): void;
|
|
@@ -19,6 +19,8 @@ export declare class ThemeService {
|
|
|
19
19
|
private setupMediaQueryListener;
|
|
20
20
|
private handleMediaChange;
|
|
21
21
|
private getThemeForMode;
|
|
22
|
+
private isMaterialTheme;
|
|
23
|
+
private getMaterialDesignStyles;
|
|
22
24
|
private removeExistingStyles;
|
|
23
25
|
private createAndApplyStyles;
|
|
24
26
|
private generateStyleId;
|
package/package.json
CHANGED