Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snapshots for pr/25653 #2097

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
199 changes: 80 additions & 119 deletions lib/a11y-snapshot/__snapshots__/aom.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,10 @@ exports[`chromium /api/select/ 1`] = `
object
<text>object</text>
</gridcell>
<gridcell></gridcell>
<gridcell>
{}
<text>{}</text>
</gridcell>
<gridcell>
Override or extend the styles applied to the component. See CSS API
below for more details.
Expand Down Expand Up @@ -1919,6 +1922,27 @@ exports[`chromium /api/select/ 1`] = `
<text>Props applied to the clickable div element.</text>
</gridcell>
</row>
<row>
<gridcell>
sx
<text>sx</text>
</gridcell>
<gridcell>
object
<text>object</text>
</gridcell>
<gridcell></gridcell>
<gridcell>
The system prop that allows defining system overrides as well as
additional CSS styles. See the \`sx\` page for more details.
<text>
The system prop that allows defining system overrides as well as
additional CSS styles. See the
</text>
<link>\`sx\` page</link>
<text>for more details.</text>
</gridcell>
</row>
<row>
<gridcell>
value
Expand Down Expand Up @@ -2189,31 +2213,20 @@ exports[`chromium /api/select/ 1`] = `
options:
</text>
<list>
<listitem level="1">
<text>With a rule name of the</text>
<link>
classes object prop
<code>$SOME_CODE</code>
</link>
<text>.</text>
</listitem>
<listitem level="1">
<text>With a</text>
<link>global class name</link>
<text>.</text>
</listitem>
<listitem level="1">
<text>With a theme and an</text>
<text>With a rule name as part of the component's</text>
<link>
styleOverrides property
<code>$SOME_CODE</code>
</link>
<text>.</text>
<text>in a custom theme.</text>
</listitem>
</list>
<text>If that isn't sufficient, you can check the</text>
<link>implementation of the component</link>
<text>for more detail.</text>
<heading level="2">
Demos
<Anchor></Anchor>
Expand Down Expand Up @@ -7269,49 +7282,23 @@ exports[`chromium /components/rating/ 1`] = `
<radio checked="false">8 Stars</radio>
<radio checked="false">9 Stars</radio>
<radio checked="false">10 Stars</radio>
<Legend>
<text>Custom icon set</text>
</Legend>
<radio checked="false">Very Dissatisfied</radio>
<radio checked="true">Dissatisfied</radio>
<radio checked="false">Neutral</radio>
<radio checked="false">Satisfied</radio>
<radio checked="false">Very Satisfied</radio>
<toolbar>
demo source
<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>
<combobox haspopup="menu">See more</combobox>
</toolbar>
<Pre>
<code>$SOME_CODE</code>
</Pre>
<heading level="2">
Radio group
<Anchor></Anchor>
<text>Radio group</text>
</heading>
<paragraph>
<text>The rating is implemented with a radio group, set</text>
<code>$SOME_CODE</code>
<text>to restore the natural behavior.</text>
</paragraph>
<button>
A generic container that is programmatically focused to test keyboard
navigation of our components.
</button>
<radio checked="false">1 Star</radio>
<radio checked="true">2 Stars</radio>
<radio checked="false">3 Stars</radio>
<radio checked="false">4 Stars</radio>
<radio checked="false">5 Stars</radio>
<toolbar>
demo source
<button>Show the full source</button>
<button>Show the source</button>
<button>Edit in CodeSandbox</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">
Accessibility
<Anchor></Anchor>
Expand Down Expand Up @@ -14957,7 +14944,9 @@ exports[`firefox /api/select/ 1`] = `
<cell>
<text>object</text>
</cell>
<cell></cell>
<cell>
<text>{}</text>
</cell>
<cell>
<text>Override or extend the styles applied to the component. See</text>
<link>CSS API</link>
Expand Down Expand Up @@ -15275,6 +15264,23 @@ exports[`firefox /api/select/ 1`] = `
<text>Props applied to the clickable div element.</text>
</cell>
</row>
<row>
<cell>
<text>sx</text>
</cell>
<cell>
<text>object</text>
</cell>
<cell></cell>
<cell>
<text>
The system prop that allows defining system overrides as well as
additional CSS styles. See the
</text>
<link>\`sx\` page</link>
<text>for more details.</text>
</cell>
</row>
<row>
<cell>
<text>value</text>
Expand Down Expand Up @@ -15491,27 +15497,19 @@ exports[`firefox /api/select/ 1`] = `
options:
</text>
<list>
<listitem>
With a rule name of the classes object prop .
<text>With a rule name of the</text>
<link>classes object prop</link>
<text>.</text>
</listitem>
<listitem>
With a global class name .<text>With a</text>
<link>global class name</link>
<text>.</text>
</listitem>
<listitem>
With a theme and an styleOverrides property .
<text>With a theme and an</text>
With a rule name as part of the component's styleOverrides property
in a custom theme.
<text>With a rule name as part of the component's</text>
<link>styleOverrides property</link>
<text>.</text>
<text>in a custom theme.</text>
</listitem>
</list>
<text>If that isn't sufficient, you can check the</text>
<link>implementation of the component</link>
<text>for more detail.</text>
<heading level="2">
Demos
<link></link>
Expand Down Expand Up @@ -21388,81 +21386,44 @@ exports[`firefox /components/rating/ 1`] = `
<text>10 Stars</text>
</label>
<radio>10 Stars</radio>
<toolbar>
demo source
<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">See more</buttonmenu>
</toolbar>
<text>
<Typography component="legend">Custom icon and
color</Typography> <StyledRating name="customized-color"
defaultValue={2} getLabelText={(value) =>
\`\${value} Heart\${value !== 1 ? 's' :
''}\`} precision={0.5}
icon={<FavoriteIcon fontSize="inherit" />}
emptyIcon={<FavoriteBorderIcon fontSize="inherit"
/>} /> <Typography component="legend">10
stars</Typography> <Rating name="customized-10"
defaultValue={2} max={10} />
</text>
<heading level="2">
Radio group
<link></link>
<text>Radio group</text>
</heading>
<paragraph>
<text>
The rating is implemented with a radio group, set highlightSelectedOnly to
restore the natural behavior.
</text>
</paragraph>
<button>
A generic container that is programmatically focused to test keyboard
navigation of our components.
</button>
<label>
1 Star
<text>1 Star</text>
Custom icon set
<text>Custom icon set</text>
</label>
<radio>1 Star</radio>
<label>
2 Stars
<text>2 Stars</text>
Very Dissatisfied
<text>Very Dissatisfied</text>
</label>
<radio checked="true">2 Stars</radio>
<radio>Very Dissatisfied</radio>
<label>
3 Stars
<text>3 Stars</text>
Dissatisfied
<text>Dissatisfied</text>
</label>
<radio>3 Stars</radio>
<radio checked="true">Dissatisfied</radio>
<label>
4 Stars
<text>4 Stars</text>
Neutral
<text>Neutral</text>
</label>
<radio>4 Stars</radio>
<radio>Neutral</radio>
<label>
5 Stars
<text>5 Stars</text>
Satisfied
<text>Satisfied</text>
</label>
<radio>5 Stars</radio>
<radio>Satisfied</radio>
<label>
Very Satisfied
<text>Very Satisfied</text>
</label>
<radio>Very Satisfied</radio>
<toolbar>
demo source
<button>Show the full source</button>
<button>Show the 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">See more</buttonmenu>
</toolbar>
<text>
<Rating name="highlight-selected-only"
defaultValue={2} IconContainerComponent={IconContainer}
highlightSelectedOnly />
</text>
<heading level="2">
Accessibility
<link></link>
Expand Down
38 changes: 19 additions & 19 deletions lib/a11y-snapshot/deploy.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"id": "6072c96bb575810007110107",
"id": "60732bf92e94310008ddaf0e",
"site_id": "64f32322-7c26-4008-b886-60800cd747b0",
"build_id": "6072c96bb575810007110105",
"state": "building",
"build_id": "60732bf92e94310008ddaf0c",
"state": "ready",
"name": "material-ui",
"url": "http://material-ui.netlify.app",
"admin_url": "https://app.netlify.com/sites/material-ui",
"deploy_url": "http://next--material-ui.netlify.app",
"deploy_ssl_url": "https://next--material-ui.netlify.app",
"created_at": "2021-04-11T10:03:23.288Z",
"updated_at": "2021-04-11T10:10:43.813Z",
"commit_ref": "25b3dba7ecc2789be2b7e60c84a5126b22bb3126",
"review_id": null,
"deploy_url": "http://deploy-preview-25653--material-ui.netlify.app",
"deploy_ssl_url": "https://deploy-preview-25653--material-ui.netlify.app",
"created_at": "2021-04-11T17:03:53.473Z",
"updated_at": "2021-04-11T17:15:58.445Z",
"commit_ref": "b244bbb57b103c41acb64bf2ea2f8fe01bc5796f",
"review_id": 25653,
"skipped": null,
"locked": null,
"branch": "next",
"commit_url": "https://github.com/mui-org/material-ui/commit/25b3dba7ecc2789be2b7e60c84a5126b22bb3126",
"branch": "feat/migrate-select-emotion",
"commit_url": "https://github.com/mui-org/material-ui/commit/b244bbb57b103c41acb64bf2ea2f8fe01bc5796f",
"log_access_attributes": {
"type": "firebase",
"url": "https://netlify-builds6.firebaseio.com/builds/6072c96bb575810007110105/log",
"url": "https://netlify-builds6.firebaseio.com/builds/60732bf92e94310008ddaf0c/log",
"endpoint": "https://netlify-builds6.firebaseio.com",
"path": "/builds/6072c96bb575810007110105/log",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJpYXQiOjE2MTgxMzYxMzIsImQiOnsidWlkIjoiIn19.tyifkh0jhb5_djLbMRUm0NCn8hc-GJDZWadik-6cqQU"
"path": "/builds/60732bf92e94310008ddaf0c/log",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJpYXQiOjE2MTgxNjE4OTcsImQiOnsidWlkIjoiIn19.6cVa9XzqPDla3aojLemiqvJYXO1xELq6kCIOJqEjOMM"
},
"title": "Bump stylis from 4.0.7 to 4.0.10 (#25709)",
"review_url": null,
"title": "[Select] Migrate to emotion",
"review_url": "https://github.com/mui-org/material-ui/pull/25653",
"published_at": null,
"context": "branch-deploy",
"deploy_time": null,
"context": "deploy-preview",
"deploy_time": 718,
"public": true,
"plugin_state": "none"
"plugin_state": "success"
}