chore(): sync with main

This commit is contained in:
Liam DeBeasi
2022-11-21 11:37:08 -05:00
100 changed files with 2598 additions and 12948 deletions

View File

@ -215,6 +215,7 @@ export class Toggle implements ComponentInterface {
const mode = getIonMode(this);
const { label, labelId, labelText } = getAriaLabel(el, inputId);
const value = this.getValue();
const rtl = isRTL(el) ? 'rtl' : 'ltr';
renderHiddenInput(true, el, name, checked ? value : '', disabled);
@ -232,6 +233,7 @@ export class Toggle implements ComponentInterface {
'toggle-checked': checked,
'toggle-disabled': disabled,
interactive: true,
[`toggle-${rtl}`]: true,
})}
>
<div class="toggle-icon" part="track">