2021-10-19 21:50:09 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`FontScalingPanel renders the font scaling UI 1`] = `
|
2022-11-18 17:16:11 +08:00
|
|
|
<DocumentFragment>
|
2022-03-22 18:32:35 +08:00
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_SettingsTab_section mx_FontScalingPanel"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_SettingsTab_subheading"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-03-22 18:32:35 +08:00
|
|
|
Font size
|
|
|
|
</span>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_FontScalingPanel_preview mx_EventTilePreview_loader"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_Spinner"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
2023-02-14 17:05:01 +08:00
|
|
|
aria-label="Loading…"
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_Spinner_icon"
|
|
|
|
data-testid="spinner"
|
|
|
|
role="progressbar"
|
|
|
|
style="width: 32px; height: 32px;"
|
|
|
|
/>
|
2022-03-22 18:32:35 +08:00
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
</div>
|
2022-03-22 18:32:35 +08:00
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_FontScalingPanel_fontSlider"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2021-10-19 21:50:09 +08:00
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_FontScalingPanel_fontSlider_smallText"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
|
|
|
Aa
|
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Slider"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_bar"
|
|
|
|
>
|
|
|
|
<hr />
|
2022-03-22 18:32:35 +08:00
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_Slider_selection"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2021-10-19 21:50:09 +08:00
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_Slider_selectionDot"
|
|
|
|
style="left: calc(-1.195em + 50%);"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_Slider_selectionText"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
15
|
2021-10-19 21:50:09 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
<hr
|
|
|
|
style="width: 50%;"
|
|
|
|
/>
|
2022-03-22 18:32:35 +08:00
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_dotContainer"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_Slider_dotValue"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Slider_dot mx_Slider_dotActive"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_labelContainer"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Slider_label"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="mx_Slider_dotValue"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_dot mx_Slider_dotActive"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_labelContainer"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Slider_label"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="mx_Slider_dotValue"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_dot mx_Slider_dotActive"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_labelContainer"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Slider_label"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="mx_Slider_dotValue"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_dot"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_labelContainer"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Slider_label"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="mx_Slider_dotValue"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_dot"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_Slider_labelContainer"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Slider_label"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</span>
|
2021-10-19 21:50:09 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
</div>
|
2022-03-22 18:32:35 +08:00
|
|
|
<div
|
2022-11-18 17:16:11 +08:00
|
|
|
class="mx_FontScalingPanel_fontSlider_largeText"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-03-22 18:32:35 +08:00
|
|
|
Aa
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
<span
|
|
|
|
class="mx_Checkbox mx_Checkbox_hasKind mx_Checkbox_kind_solid"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<input
|
|
|
|
id="checkbox_abdefghi"
|
|
|
|
type="checkbox"
|
|
|
|
/>
|
|
|
|
<label
|
|
|
|
for="checkbox_abdefghi"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Checkbox_background"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Checkbox_checkmark"
|
2021-10-19 21:50:09 +08:00
|
|
|
/>
|
2022-11-18 17:16:11 +08:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
Use custom size
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_Field mx_Field_input mx_FontScalingPanel_customFontSizeField"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<input
|
|
|
|
autocomplete="off"
|
|
|
|
disabled=""
|
|
|
|
id="font_size_field"
|
|
|
|
label="Font size"
|
|
|
|
placeholder="15"
|
|
|
|
type="number"
|
|
|
|
value="15"
|
|
|
|
/>
|
|
|
|
<label
|
|
|
|
for="font_size_field"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
Font size
|
|
|
|
</label>
|
|
|
|
</div>
|
2022-03-22 18:32:35 +08:00
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
</DocumentFragment>
|
2021-10-19 21:50:09 +08:00
|
|
|
`;
|