@vaadin/component-base
Advanced tools
Comparing version 23.2.0-alpha3 to 23.2.0-alpha4
{ | ||
"name": "@vaadin/component-base", | ||
"version": "23.2.0-alpha3", | ||
"version": "23.2.0-alpha4", | ||
"publishConfig": { | ||
@@ -45,3 +45,3 @@ "access": "public" | ||
}, | ||
"gitHead": "06e5875be93ca50da2846dafc65a8531010c0576" | ||
"gitHead": "cbf5f1d0f38ac9b81c65cf9ef5660182e176e598" | ||
} |
@@ -10,2 +10,2 @@ /** | ||
*/ | ||
export function announce(text: string, options?: { mode?: 'polite' | 'assertive' | 'alert'; timeout?: number }): void; | ||
export function announce(text: string, options?: { mode?: 'alert' | 'assertive' | 'polite'; timeout?: number }): void; |
@@ -21,3 +21,3 @@ /** | ||
base: T, | ||
): T & Constructor<ActiveMixinClass> & Constructor<DisabledMixinClass> & Constructor<KeyboardMixinClass>; | ||
): Constructor<ActiveMixinClass> & Constructor<DisabledMixinClass> & Constructor<KeyboardMixinClass> & T; | ||
@@ -24,0 +24,0 @@ export declare class ActiveMixinClass { |
@@ -14,3 +14,3 @@ /** | ||
superclass: T, | ||
): T & Constructor<ControllerMixinClass>; | ||
): Constructor<ControllerMixinClass> & T; | ||
@@ -17,0 +17,0 @@ export declare class ControllerMixinClass |
@@ -11,3 +11,3 @@ /** | ||
*/ | ||
export declare function DirMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<DirMixinClass>; | ||
export declare function DirMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<DirMixinClass> & T; | ||
@@ -14,0 +14,0 @@ export declare class DirMixinClass { |
@@ -16,3 +16,3 @@ /** | ||
superclass: T, | ||
): T & Constructor<DirMixinClass> & Constructor<ElementMixinClass>; | ||
): Constructor<DirMixinClass> & Constructor<ElementMixinClass> & T; | ||
@@ -19,0 +19,0 @@ export declare class ElementMixinClass { |
@@ -42,3 +42,3 @@ /** | ||
static get version() { | ||
return '23.2.0-alpha3'; | ||
return '23.2.0-alpha4'; | ||
} | ||
@@ -45,0 +45,0 @@ |
@@ -11,3 +11,3 @@ /** | ||
*/ | ||
export declare function FocusMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<FocusMixinClass>; | ||
export declare function FocusMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<FocusMixinClass> & T; | ||
@@ -14,0 +14,0 @@ export declare class FocusMixinClass { |
@@ -280,3 +280,3 @@ /** | ||
ev[HANDLED_OBJ] = {}; | ||
if (type.slice(0, 5) === 'touch') { | ||
if (type.startsWith('touch')) { | ||
const t = ev.changedTouches[0]; | ||
@@ -283,0 +283,0 @@ if (type === 'touchstart') { |
@@ -13,3 +13,3 @@ /** | ||
*/ | ||
export declare function KeyboardMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<KeyboardMixinClass>; | ||
export declare function KeyboardMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<KeyboardMixinClass> & T; | ||
@@ -16,0 +16,0 @@ export declare class KeyboardMixinClass { |
@@ -9,3 +9,3 @@ /** | ||
export declare function PolylitMixin<T extends Constructor<LitElement>>(base: T): T & Constructor<PolylitMixinClass>; | ||
export declare function PolylitMixin<T extends Constructor<LitElement>>(base: T): Constructor<PolylitMixinClass> & T; | ||
@@ -12,0 +12,0 @@ export declare class PolylitMixinClass { |
@@ -11,3 +11,3 @@ /** | ||
*/ | ||
export declare function ResizeMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<ResizeMixinClass>; | ||
export declare function ResizeMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<ResizeMixinClass> & T; | ||
@@ -14,0 +14,0 @@ export declare class ResizeMixinClass { |
@@ -11,3 +11,3 @@ /** | ||
*/ | ||
export declare function SlotMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<SlotMixinClass>; | ||
export declare function SlotMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<SlotMixinClass> & T; | ||
@@ -14,0 +14,0 @@ export declare class SlotMixinClass { |
@@ -17,3 +17,3 @@ /** | ||
base: T, | ||
): T & Constructor<DisabledMixinClass> & Constructor<TabindexMixinClass>; | ||
): Constructor<DisabledMixinClass> & Constructor<TabindexMixinClass> & T; | ||
@@ -24,3 +24,3 @@ export declare class TabindexMixinClass { | ||
*/ | ||
tabindex: number | undefined | null; | ||
tabindex: number | null | undefined; | ||
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
protected _lastTabIndex: number | undefined | null; | ||
protected _lastTabIndex: number | null | undefined; | ||
@@ -38,3 +38,3 @@ /** | ||
*/ | ||
protected _tabindexChanged(tabindex: number | undefined | null): void; | ||
protected _tabindexChanged(tabindex: number | null | undefined): void; | ||
} |
175861