chore: upgrade i18next 26, prettier 3, fontsource-variable, domhandler 6, lint-staged 17
- i18next 23->26 + react-i18next 15->17 - prettier 2->3, reformat all files - replace @fontsource/inter with @fontsource-variable/inter 5, update import path - domhandler 5->6 (aligns with transitive deps) - lint-staged 16->17
This commit is contained in:
@@ -22,7 +22,7 @@ export class CallControl extends EventEmitter implements CallControlState {
|
||||
|
||||
private get screenshareButton(): HTMLElement | undefined {
|
||||
const screenshareBtn = this.document?.querySelector(
|
||||
'[data-testid="incall_screenshare"]'
|
||||
'[data-testid="incall_screenshare"]',
|
||||
) as HTMLElement | null;
|
||||
|
||||
return screenshareBtn ?? undefined;
|
||||
@@ -43,7 +43,7 @@ export class CallControl extends EventEmitter implements CallControlState {
|
||||
|
||||
private get spotlightButton(): HTMLInputElement | undefined {
|
||||
const spotlightButton = this.document?.querySelector(
|
||||
'input[value="spotlight"]'
|
||||
'input[value="spotlight"]',
|
||||
) as HTMLInputElement | null;
|
||||
|
||||
return spotlightButton ?? undefined;
|
||||
@@ -51,7 +51,7 @@ export class CallControl extends EventEmitter implements CallControlState {
|
||||
|
||||
private get gridButton(): HTMLInputElement | undefined {
|
||||
const gridButton = this.document?.querySelector(
|
||||
'input[value="grid"]'
|
||||
'input[value="grid"]',
|
||||
) as HTMLInputElement | null;
|
||||
|
||||
return gridButton ?? undefined;
|
||||
@@ -106,7 +106,7 @@ export class CallControl extends EventEmitter implements CallControlState {
|
||||
desired.video,
|
||||
desired.sound,
|
||||
this.screenshare,
|
||||
this.spotlight
|
||||
this.spotlight,
|
||||
);
|
||||
await this.applyState();
|
||||
}
|
||||
@@ -158,7 +158,7 @@ export class CallControl extends EventEmitter implements CallControlState {
|
||||
data.video_enabled ?? this.video,
|
||||
this.sound,
|
||||
this.screenshare,
|
||||
this.spotlight
|
||||
this.spotlight,
|
||||
);
|
||||
|
||||
this.state = state;
|
||||
@@ -180,7 +180,7 @@ export class CallControl extends EventEmitter implements CallControlState {
|
||||
this.video,
|
||||
this.sound,
|
||||
screenshare,
|
||||
spotlight
|
||||
spotlight,
|
||||
);
|
||||
this.emitStateUpdate();
|
||||
|
||||
@@ -226,7 +226,7 @@ export class CallControl extends EventEmitter implements CallControlState {
|
||||
this.video,
|
||||
sound,
|
||||
this.screenshare,
|
||||
this.spotlight
|
||||
this.spotlight,
|
||||
);
|
||||
this.state = state;
|
||||
this.emitStateUpdate();
|
||||
|
||||
Reference in New Issue
Block a user