diff --git a/src/components/format-bytes/format-bytes.ts b/src/components/format-bytes/format-bytes.ts index 7aecb7902..1dcb34f68 100644 --- a/src/components/format-bytes/format-bytes.ts +++ b/src/components/format-bytes/format-bytes.ts @@ -40,7 +40,7 @@ export default class WaFormatBytes extends WebAwesomeElement { return this.localize.number(valueToFormat, { style: 'unit', unit, - unitDisplay: this.display + unitDisplay: this.display, }); } } diff --git a/src/components/format-date/format-date.ts b/src/components/format-date/format-date.ts index 1f6c615d3..f0448c4b0 100644 --- a/src/components/format-date/format-date.ts +++ b/src/components/format-date/format-date.ts @@ -79,7 +79,7 @@ export default class WaFormatDate extends WebAwesomeElement { second: this.second, timeZoneName: this.timeZoneName, timeZone: this.timeZone, - hour12: hour12 + hour12: hour12, })} `; diff --git a/src/components/format-number/format-number.ts b/src/components/format-number/format-number.ts index 9991b4474..3a065f7f0 100644 --- a/src/components/format-number/format-number.ts +++ b/src/components/format-number/format-number.ts @@ -60,7 +60,7 @@ export default class WaFormatNumber extends WebAwesomeElement { minimumFractionDigits: this.minimumFractionDigits, maximumFractionDigits: this.maximumFractionDigits, minimumSignificantDigits: this.minimumSignificantDigits, - maximumSignificantDigits: this.maximumSignificantDigits + maximumSignificantDigits: this.maximumSignificantDigits, }); } } diff --git a/src/components/input/input.ts b/src/components/input/input.ts index 132c02791..ed7842180 100644 --- a/src/components/input/input.ts +++ b/src/components/input/input.ts @@ -207,8 +207,8 @@ export default class WaInput extends WebAwesomeFormAssociatedElement { converter: { // Allow "true|false" attribute values but keep the property boolean fromAttribute: value => (!value || value === 'false' ? false : true), - toAttribute: value => (value ? 'true' : 'false') - } + toAttribute: value => (value ? 'true' : 'false'), + }, }) spellcheck = true; @@ -290,7 +290,7 @@ export default class WaInput extends WebAwesomeFormAssociatedElement { } const button = formElements.find( - (el: HTMLButtonElement) => el.type === 'submit' && !el.matches(':disabled') + (el: HTMLButtonElement) => el.type === 'submit' && !el.matches(':disabled'), ) as undefined | HTMLButtonElement | WaButton; // No button found, don't submit. @@ -340,7 +340,7 @@ export default class WaInput extends WebAwesomeFormAssociatedElement { setSelectionRange( selectionStart: number, selectionEnd: number, - selectionDirection: 'forward' | 'backward' | 'none' = 'none' + selectionDirection: 'forward' | 'backward' | 'none' = 'none', ) { this.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection); } @@ -350,7 +350,7 @@ export default class WaInput extends WebAwesomeFormAssociatedElement { replacement: string, start?: number, end?: number, - selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve' + selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve', ) { const selectionStart = start ?? this.input.selectionStart!; const selectionEnd = end ?? this.input.selectionEnd!; @@ -411,7 +411,7 @@ export default class WaInput extends WebAwesomeFormAssociatedElement { 'form-control--small': this.size === 'small', 'form-control--medium': this.size === 'medium', 'form-control--large': this.size === 'large', - 'form-control--has-label': hasLabel + 'form-control--has-label': hasLabel, })} >