Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 11, 2021
1 parent 6cba11e commit 1904ba5
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 49 deletions.
195 changes: 169 additions & 26 deletions lib/a11y-snapshot/__snapshots__/aom.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ exports[`chromium / 1`] = `
</text>
<Pre>
<code>
<text>$ npm install @mui/material @emotion/react @emotion/styled</text>
<text>
$ npm install @mui/material@next @emotion/react @emotion/styled
</text>
</code>
</Pre>
<link>or use a CDN.</link>
Expand Down Expand Up @@ -256,7 +258,7 @@ exports[`chromium / 1`] = `
</list>
<paragraph>
<text>Currently</text>
<link>v5.0.0-rc.1. View versions page.</link>
<link>v5.0.0-rc.0. View versions page.</link>
<text>. Released under the</text>
<link>MIT License</link>
<text>.Copyright ©2021Material-UI.</text>
Expand Down Expand Up @@ -3016,14 +3018,17 @@ exports[`chromium /components/button-group/ 1`] = `
</group>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<combobox haspopup="menu">See more</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Split button
<text>Split button</text>
Expand Down Expand Up @@ -3926,8 +3931,8 @@ exports[`chromium /components/buttons/ 1`] = `
<text>element.</text>
</paragraph>
<heading level="2">
Unstyled
<text>Unstyled</text>
Unstyled button
<text>Unstyled button</text>
</heading>
<paragraph>
<text>
Expand Down Expand Up @@ -4014,7 +4019,7 @@ exports[`chromium /components/buttons/ 1`] = `
</Pre>
<paragraph>
<text>
Compare the attributes on the span with the button from the previous demo.
Compare the attributes on the span with the button from the previous demo
</text>
</paragraph>
<heading level="4">
Expand Down Expand Up @@ -4217,7 +4222,7 @@ exports[`chromium /components/buttons/ 1`] = `
</list>
</listitem>
<listitem level="1">
<link>Unstyled</link>
<link>Unstyled button</link>
<list>
<listitem level="2">
<link>Unstyled component</link>
Expand Down Expand Up @@ -11309,6 +11314,35 @@ exports[`chromium /components/switches/ 1`] = `
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="3">
Recreation of Material-UI's Switch
<text>Recreation of Material-UI's Switch</text>
</heading>
<button>
A generic container that is programmatically focused to test keyboard
navigation of our components.
</button>
<checkbox checked="true">Switch demo</checkbox>
<checkbox checked="false">Switch demo</checkbox>
<checkbox checked="true" disabled="true">
Switch demo
</checkbox>
<checkbox checked="false" disabled="true">
Switch demo
</checkbox>
<toolbar>
demo source
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<combobox haspopup="menu">See more</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="3">
useSwitch hook
<text>useSwitch hook</text>
Expand Down Expand Up @@ -11381,6 +11415,35 @@ exports[`chromium /components/switches/ 1`] = `
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="4">
Recreation of Material-UI's Switch
<text>Recreation of Material-UI's Switch</text>
</heading>
<button>
A generic container that is programmatically focused to test keyboard
navigation of our components.
</button>
<checkbox checked="true">Switch demo</checkbox>
<checkbox checked="false">Switch demo</checkbox>
<checkbox checked="true" disabled="true">
Switch demo
</checkbox>
<checkbox checked="false" disabled="true">
Switch demo
</checkbox>
<toolbar>
demo source
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<combobox haspopup="menu">See more</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Label placement
<text>Label placement</text>
Expand Down Expand Up @@ -11562,6 +11625,9 @@ exports[`chromium /components/switches/ 1`] = `
<listitem level="1">
<link>Unstyled switches</link>
<list>
<listitem level="2">
<link>Recreation of Material-UI's Switch</link>
</listitem>
<listitem level="2">
<link>useSwitch hook</link>
</listitem>
Expand Down Expand Up @@ -13256,14 +13322,17 @@ exports[`chromium /components/text-fields/ 1`] = `
</form>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<combobox haspopup="menu">See more</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Icons
<text>Icons</text>
Expand Down Expand Up @@ -16212,7 +16281,8 @@ exports[`firefox / 1`] = `
</heading>
<text>
Install Material-UI's source files via npm. We take care of injecting
the CSS needed.$ npm install @mui/material @emotion/react @emotion/styled
the CSS needed.$ npm install @mui/material@next @emotion/react
@emotion/styled
</text>
<link>or use a CDN.</link>
<text>
Expand Down Expand Up @@ -16449,7 +16519,7 @@ exports[`firefox / 1`] = `
</list>
<paragraph>
<text>Currently</text>
<link>v5.0.0-rc.1. View versions page.</link>
<link>v5.0.0-rc.0. View versions page.</link>
<text>. Released under the</text>
<link>MIT License</link>
<text>. Copyright © 2021 Material-UI.</text>
Expand Down Expand Up @@ -16480,9 +16550,8 @@ exports[`firefox /api/button/ 1`] = `
<text>Import</text>
</heading>
<text>
import Button from '@mui/material/Button'; // or import {
Button } from '@mui/material';You can learn about the
difference by
import Button from '@mui/core/Button'; // or import { Button
} from '@mui/core';You can learn about the difference by
</text>
<link>reading this guide on minimizing bundle size</link>
<text>.</text>
Expand Down Expand Up @@ -17369,9 +17438,8 @@ exports[`firefox /api/select/ 1`] = `
<text>Import</text>
</heading>
<text>
import Select from '@mui/material/Select'; // or import {
Select } from '@mui/material';You can learn about the
difference by
import Select from '@mui/core/Select'; // or import { Select
} from '@mui/core';You can learn about the difference by
</text>
<link>reading this guide on minimizing bundle size</link>
<text>.</text>
Expand Down Expand Up @@ -18882,14 +18950,15 @@ exports[`firefox /components/button-group/ 1`] = `
</group>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>{buttons} ButtonGroup></text>
<heading level="2">
Split button
<text>Split button</text>
Expand Down Expand Up @@ -19840,8 +19909,8 @@ exports[`firefox /components/buttons/ 1`] = `
</text>
</paragraph>
<heading level="2">
Unstyled
<text>Unstyled</text>
Unstyled button
<text>Unstyled button</text>
</heading>
<paragraph>
<text>
Expand Down Expand Up @@ -19920,7 +19989,7 @@ exports[`firefox /components/buttons/ 1`] = `
</text>
<paragraph>
<text>
Compare the attributes on the span with the button from the previous demo.
Compare the attributes on the span with the button from the previous demo
</text>
</paragraph>
<heading level="4">
Expand Down Expand Up @@ -19950,7 +20019,10 @@ exports[`firefox /components/buttons/ 1`] = `
<button>Reset demo</button>
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text><SvgButton>Button</SvgButton></text>
<text>
<ThemeProvider theme={createTheme()}>
<SvgButton>Button</SvgButton> </ThemeProvider>
</text>
<heading level="3">
useButton hook
<text>useButton hook</text>
Expand Down Expand Up @@ -20119,8 +20191,8 @@ exports[`firefox /components/buttons/ 1`] = `
</list>
</listitem>
<listitem level="1">
Unstyled Unstyled component useButton hook
<link>Unstyled</link>
Unstyled button Unstyled component useButton hook
<link>Unstyled button</link>
<list>
<listitem level="2">
Unstyled component
Expand Down Expand Up @@ -25147,7 +25219,7 @@ exports[`firefox /components/rating/ 1`] = `
<text>
<Typography component="legend">Custom icon and
color</Typography> <StyledRating name="customized-color"
defaultValue={2} getLabelText={(value: number) =>
defaultValue={2} getLabelText={(value) =>
\`\${value} Heart\${value !== 1 ? 's' :
''}\`} precision={0.5}
icon={<FavoriteIcon fontSize="inherit" />}
Expand Down Expand Up @@ -27578,6 +27650,37 @@ exports[`firefox /components/switches/ 1`] = `
{...label} defaultChecked disabled /> <SwitchUnstyled
component={Root} {...label} disabled />
</text>
<heading level="3">
Recreation of Material-UI's Switch
<text>Recreation of Material-UI's Switch</text>
</heading>
<button>
A generic container that is programmatically focused to test keyboard
navigation of our components.
</button>
<checkbox checked="true">Switch demo</checkbox>
<checkbox>Switch demo</checkbox>
<checkbox checked="true" disabled="true">
Switch demo
</checkbox>
<checkbox disabled="true">Switch demo</checkbox>
<toolbar>
demo source
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>
<ThemeProvider theme={createTheme()}> <Switch
{...label} defaultChecked /> <Switch {...label}
color="secondary" /> <Switch {...label} disabled
defaultChecked /> <Switch {...label} disabled />
</ThemeProvider>
</text>
<heading level="3">
useSwitch hook
<text>useSwitch hook</text>
Expand Down Expand Up @@ -27640,6 +27743,37 @@ exports[`firefox /components/switches/ 1`] = `
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text><MUISwitch defaultChecked /></text>
<heading level="4">
Recreation of Material-UI's Switch
<text>Recreation of Material-UI's Switch</text>
</heading>
<button>
A generic container that is programmatically focused to test keyboard
navigation of our components.
</button>
<checkbox checked="true">Switch demo</checkbox>
<checkbox>Switch demo</checkbox>
<checkbox checked="true" disabled="true">
Switch demo
</checkbox>
<checkbox disabled="true">Switch demo</checkbox>
<toolbar>
demo source
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>
<ThemeProvider theme={createTheme()}> <Switch
{...label} defaultChecked /> <Switch {...label}
color="secondary" /> <Switch {...label} disabled
defaultChecked /> <Switch {...label} disabled />
</ThemeProvider>
</text>
<heading level="2">
Label placement
<text>Label placement</text>
Expand Down Expand Up @@ -27820,9 +27954,13 @@ exports[`firefox /components/switches/ 1`] = `
<link>Customization</link>
</listitem>
<listitem level="1">
Unstyled switches useSwitch hook
Unstyled switches Recreation of Material-UI's Switch useSwitch hook
<link>Unstyled switches</link>
<list>
<listitem level="2">
Recreation of Material-UI's Switch
<link>Recreation of Material-UI's Switch</link>
</listitem>
<listitem level="2">
useSwitch hook
<link>useSwitch hook</link>
Expand Down Expand Up @@ -29638,14 +29776,19 @@ exports[`firefox /components/text-fields/ 1`] = `
</form>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Edit in StackBlitz</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true">See more</buttonmenu>
</toolbar>
<text>
{currencies.map((option) => ( <option
key={option.value} value={option.value}>
{option.label} </option> ))} TextField> v>
</text>
<heading level="2">
Icons
<text>Icons</text>
Expand Down
Loading

0 comments on commit 1904ba5

Please sign in to comment.