chore(): sync with main:

This commit is contained in:
Liam DeBeasi
2022-10-11 11:38:27 -04:00
464 changed files with 2022 additions and 2820 deletions

View File

@ -320,7 +320,7 @@ export class Range implements ComponentInterface {
this.ionKnobMoveEnd.emit({ value: ensureValueInBounds(this.value) });
};
private getValue(): RangeValue {
const value = this.value || 0;
const value = this.value ?? 0;
if (this.dualKnobs) {
if (typeof value === 'object') {
return value;
@ -703,6 +703,8 @@ const renderKnob = (
'range-knob-pressed': pressed,
'range-knob-min': value === min,
'range-knob-max': value === max,
'ion-activatable': true,
'ion-focusable': true,
}}
style={knobStyle()}
role="slider"