Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 20, 2020
1 parent bd4b492 commit d72580e
Showing 1 changed file with 114 additions and 26 deletions.
140 changes: 114 additions & 26 deletions lib/a11y-snapshot/__snapshots__/material-ui.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,7 @@ exports[`chromium /components/breadcrumbs 1`] = `
<button pressed="false">Show TypeScript source</button>
</group>
<button>
Show the source
Show the full source
<SVGRoot></SVGRoot>
</button>
<button>
Expand All @@ -2513,6 +2513,9 @@ exports[`chromium /components/breadcrumbs 1`] = `
<SVGRoot></SVGRoot>
</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Custom separator
<Anchor></Anchor>
Expand Down Expand Up @@ -2814,7 +2817,7 @@ exports[`chromium /components/breadcrumbs 1`] = `
<button pressed="false">Show TypeScript source</button>
</group>
<button>
Show the source
Show the full source
<SVGRoot></SVGRoot>
</button>
<button>
Expand All @@ -2837,6 +2840,9 @@ exports[`chromium /components/breadcrumbs 1`] = `
<SVGRoot></SVGRoot>
</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Integration with react-router
<Anchor></Anchor>
Expand Down Expand Up @@ -8832,7 +8838,7 @@ exports[`chromium /components/radio-buttons 1`] = `
<button pressed="false">Show TypeScript source</button>
</group>
<button>
Show the source
Show the full source
<SVGRoot></SVGRoot>
</button>
<button>
Expand All @@ -8855,6 +8861,9 @@ exports[`chromium /components/radio-buttons 1`] = `
<SVGRoot></SVGRoot>
</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
useRadioGroup
<Anchor></Anchor>
Expand Down Expand Up @@ -12894,7 +12903,7 @@ exports[`chromium /components/tabs/ 1`] = `
<button pressed="false">Show TypeScript source</button>
</group>
<button>
Show the source
Show the full source
<SVGRoot></SVGRoot>
</button>
<button>
Expand All @@ -12917,6 +12926,9 @@ exports[`chromium /components/tabs/ 1`] = `
<SVGRoot></SVGRoot>
</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="3">
Wrapped labels
<Anchor></Anchor>
Expand Down Expand Up @@ -15834,7 +15846,7 @@ exports[`chromium /components/text-fields/ 1`] = `
<button pressed="false">Show TypeScript source</button>
</group>
<button>
Show the source
Show the full source
<SVGRoot></SVGRoot>
</button>
<button>
Expand All @@ -15857,6 +15869,9 @@ exports[`chromium /components/text-fields/ 1`] = `
<SVGRoot></SVGRoot>
</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Color
<Anchor></Anchor>
Expand Down Expand Up @@ -15901,7 +15916,7 @@ exports[`chromium /components/text-fields/ 1`] = `
<button pressed="false">Show TypeScript source</button>
</group>
<button>
Show the source
Show the full source
<SVGRoot></SVGRoot>
</button>
<button>
Expand All @@ -15924,6 +15939,9 @@ exports[`chromium /components/text-fields/ 1`] = `
<SVGRoot></SVGRoot>
</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Customized inputs
<Anchor></Anchor>
Expand Down Expand Up @@ -20658,7 +20676,7 @@ exports[`firefox /components/breadcrumbs 1`] = `
color="inherit" href="/"
onClick={handleClick}> Material-UI </Link> <Link
color="inherit" href="/getting-started/installation/"
onClick={handleClick} > Core </Link> <Typography
onClick={handleClick}> Core </Link> <Typography
color="textPrimary">Breadcrumb</Typography>
</Breadcrumbs>
</text>
Expand Down Expand Up @@ -20693,13 +20711,23 @@ exports[`firefox /components/breadcrumbs 1`] = `
</landmark>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true"></buttonmenu>
</toolbar>
<text>
<Breadcrumbs aria-label="breadcrumb"> <Link
color="inherit" href="/"
onClick={handleClick}> Material-UI </Link> <Link
color="inherit" href="/getting-started/installation/"
onClick={handleClick}> Core </Link> <Link
color="textPrimary" href="/components/breadcrumbs/"
onClick={handleClick} aria-current="page" >
Breadcrumb </Link> </Breadcrumbs>
</text>
<heading level="2">
Custom separator
<link></link>
Expand Down Expand Up @@ -20905,13 +20933,24 @@ exports[`firefox /components/breadcrumbs 1`] = `
</landmark>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true"></buttonmenu>
</toolbar>
<text>
<Breadcrumbs aria-label="breadcrumb"> <StyledBreadcrumb
component="a" href="#" label="Home"
icon={<HomeIcon fontSize="small" />}
onClick={handleClick} /> <StyledBreadcrumb
component="a" href="#" label="Catalog"
onClick={handleClick} /> <StyledBreadcrumb
label="Accessories" deleteIcon={<ExpandMoreIcon
/>} onClick={handleClick} onDelete={handleClick}
/> </Breadcrumbs>
</text>
<heading level="2">
Integration with react-router
<link></link>
Expand Down Expand Up @@ -25327,13 +25366,27 @@ exports[`firefox /components/radio-buttons 1`] = `
</group>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true"></buttonmenu>
</toolbar>
<text>
<FormControl component="fieldset"> <FormLabel
component="legend">Gender</FormLabel> <RadioGroup
defaultValue="female" aria-label="gender"
name="customized-radios"> <FormControlLabel
value="female" control={<StyledRadio />}
label="Female" /> <FormControlLabel value="male"
control={<StyledRadio />} label="Male" />
<FormControlLabel value="other" control={<StyledRadio
/>} label="Other" /> <FormControlLabel
value="disabled" disabled control={<StyledRadio
/>} label="(Disabled option)" /> </RadioGroup>
</FormControl>
</text>
<heading level="2">
useRadioGroup
<link></link>
Expand Down Expand Up @@ -25853,9 +25906,9 @@ exports[`firefox /components/rating/ 1`] = `
setValue(newValue); }} onChangeActive={(event, newHover)
=> { setHover(newHover); }} emptyIcon={<StarIcon
style={{ opacity: 0.55 }} fontSize="inherit"
/>} /> {value !== null && ( <Box sx={{
/>} /> {value !== null && <Box sx={{
ml: 2 }}>{labels[hover !== -1 ? hover :
value]}</Box> )}
value]}</Box>}
</text>
<heading level="2">
Sizes
Expand Down Expand Up @@ -27950,12 +28003,12 @@ exports[`firefox /components/switches/ 1`] = `
<buttonmenu haspopup="true"></buttonmenu>
</toolbar>
<text>
<FormGroup> <FormControlLabel control={ <Switch
<FormGroup> <FormControlLabel control={<Switch
size="small" checked={checked}
onChange={toggleChecked} /> } label="Small"
/> <FormControlLabel control={<Switch
checked={checked} onChange={toggleChecked} />}
label="Normal" /> </FormGroup>
onChange={toggleChecked} />} label="Small" />
<FormControlLabel control={<Switch checked={checked}
onChange={toggleChecked} />} label="Normal"
/> </FormGroup>
</text>
<heading level="2">
Label placement
Expand Down Expand Up @@ -28190,13 +28243,25 @@ exports[`firefox /components/tabs/ 1`] = `
</tabpanel>
<toolbar>
demo source
<button>Show the source</button>
<button>Show the full source</button>
<button>Edit in CodeSandbox</button>
<button>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true"></buttonmenu>
</toolbar>
<text>
<AppBar position="static"> <Tabs value={value}
onChange={handleChange} aria-label="simple tabs
example"> <Tab label="Item One"
{...a11yProps(0)} /> <Tab label="Item Two"
{...a11yProps(1)} /> <Tab label="Item Three"
{...a11yProps(2)} /> </Tabs> </AppBar> <TabPanel
value={value} index={0}> Item One </TabPanel>
<TabPanel value={value} index={1}> Item Two
</TabPanel> <TabPanel value={value}
index={2}> Item Three </TabPanel>
</text>
<heading level="3">
Wrapped labels
<link></link>
Expand Down Expand Up @@ -30361,13 +30426,26 @@ 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>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true"></buttonmenu>
</toolbar>
<text>
<form className={classes.root} noValidate
autoComplete="off"> <Input defaultValue="Hello
world" inputProps={{ 'aria-label':
'description' }} /> <Input
placeholder="Placeholder" inputProps={{
'aria-label': 'description' }} /> <Input
defaultValue="Disabled" disabled inputProps={{
'aria-label': 'description' }} /> <Input
defaultValue="Error" error inputProps={{
'aria-label': 'description' }} />
</form>
</text>
<heading level="2">
Color
<link></link>
Expand Down Expand Up @@ -30403,13 +30481,23 @@ 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>Copy the source</button>
<button>Reset focus to test keyboard navigation</button>
<button>Reset demo</button>
<buttonmenu haspopup="true"></buttonmenu>
</toolbar>
<text>
<form className={classes.root} noValidate
autoComplete="off"> <TextField
id="outlined-secondary" label="Outlined secondary"
color="secondary" /> <TextField
id="filled-secondary" label="Filled secondary"
variant="filled" color="secondary" /> <TextField
id="standard-secondary" label="Standard secondary"
color="secondary" variant="standard" /> </form>
</text>
<heading level="2">
Customized inputs
<link></link>
Expand Down Expand Up @@ -30816,8 +30904,8 @@ exports[`firefox /components/text-fields/ 1`] = `
<FormControl> <InputLabel htmlFor="my-input">Email
address</InputLabel> <Input id="my-input"
aria-describedby="my-helper-text" /> <FormHelperText
id="my-helper-text"> We'll never share your email.
</FormHelperText> </FormControl>
id="my-helper-text">We'll never share your
email.</FormHelperText> </FormControl>
</text>
<heading level="2">
Complementary projects
Expand Down Expand Up @@ -31386,7 +31474,7 @@ exports[`firefox /components/tooltips/ 1`] = `
<text>
<Tooltip title="You don't have permission to do this">
<span> <button disabled={disabled} style={disabled ?
{ pointerEvents: 'none' } : {}} > A
{ pointerEvents: 'none' } : {}}> A
disabled button </button> </span> </Tooltip>
</text>
<heading level="2">
Expand Down Expand Up @@ -31425,9 +31513,9 @@ exports[`firefox /components/tooltips/ 1`] = `
<text>
<Tooltip title="Add"> <Button>Grow</Button>
</Tooltip> <Tooltip TransitionComponent={Fade}
TransitionProps={{ timeout: 600 }} title="Add"
> <Button>Fade</Button> </Tooltip> <Tooltip
TransitionComponent={Zoom} title="Add">
TransitionProps={{ timeout: 600 }}
title="Add"> <Button>Fade</Button> </Tooltip>
<Tooltip TransitionComponent={Zoom} title="Add">
<Button>Zoom</Button> </Tooltip>
</text>
<heading level="2">
Expand Down

0 comments on commit d72580e

Please sign in to comment.