Skip to content

Commit

Permalink
Bump stylelint to ^16.10.0 (mui#44445)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ZeeshanTamboli <[email protected]>
  • Loading branch information
renovate[bot] and ZeeshanTamboli authored Nov 19, 2024
1 parent eab59be commit 6860d26
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 201 deletions.
7 changes: 0 additions & 7 deletions docs/data/base/components/switch/UseSwitchesCustom.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,10 @@ const SwitchThumb = styled('span')`
content: '';
width: 100%;
height: 100%;
/* false positive: */
/* stylelint-disable unit-no-unknown */
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path fill="${encodeURIComponent(
'#fff',
)}" d="M9.305 1.667V3.75h1.389V1.667h-1.39zm-4.707 1.95l-.982.982L5.09 6.072l.982-.982-1.473-1.473zm10.802 0L13.927 5.09l.982.982 1.473-1.473-.982-.982zM10 5.139a4.872 4.872 0 00-4.862 4.86A4.872 4.872 0 0010 14.862 4.872 4.872 0 0014.86 10 4.872 4.872 0 0010 5.139zm0 1.389A3.462 3.462 0 0113.471 10a3.462 3.462 0 01-3.473 3.472A3.462 3.462 0 016.527 10 3.462 3.462 0 0110 6.528zM1.665 9.305v1.39h2.083v-1.39H1.666zm14.583 0v1.39h2.084v-1.39h-2.084zM5.09 13.928L3.616 15.4l.982.982 1.473-1.473-.982-.982zm9.82 0l-.982.982 1.473 1.473.982-.982-1.473-1.473zM9.305 16.25v2.083h1.389V16.25h-1.39z"/></svg>')
center center no-repeat;
/* stylelint-enable unit-no-unknown */
}
&.focusVisible {
Expand All @@ -97,12 +93,9 @@ const SwitchThumb = styled('span')`
transform: translateX(24px);
&::before {
/* false positive: */
/* stylelint-disable unit-no-unknown */
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path fill="${encodeURIComponent(
'#fff',
)}" d="M4.2 2.5l-.7 1.8-1.8.7 1.8.7.7 1.8.6-1.8L6.7 5l-1.9-.7-.6-1.8zm15 8.3a6.7 6.7 0 11-6.6-6.6 5.8 5.8 0 006.6 6.6z"/></svg>');
/* stylelint-enable unit-no-unknown */
}
}
`;
Expand Down
7 changes: 0 additions & 7 deletions docs/data/base/components/switch/UseSwitchesCustom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,10 @@ const SwitchThumb = styled('span')`
content: '';
width: 100%;
height: 100%;
/* false positive: */
/* stylelint-disable unit-no-unknown */
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path fill="${encodeURIComponent(
'#fff',
)}" d="M9.305 1.667V3.75h1.389V1.667h-1.39zm-4.707 1.95l-.982.982L5.09 6.072l.982-.982-1.473-1.473zm10.802 0L13.927 5.09l.982.982 1.473-1.473-.982-.982zM10 5.139a4.872 4.872 0 00-4.862 4.86A4.872 4.872 0 0010 14.862 4.872 4.872 0 0014.86 10 4.872 4.872 0 0010 5.139zm0 1.389A3.462 3.462 0 0113.471 10a3.462 3.462 0 01-3.473 3.472A3.462 3.462 0 016.527 10 3.462 3.462 0 0110 6.528zM1.665 9.305v1.39h2.083v-1.39H1.666zm14.583 0v1.39h2.084v-1.39h-2.084zM5.09 13.928L3.616 15.4l.982.982 1.473-1.473-.982-.982zm9.82 0l-.982.982 1.473 1.473.982-.982-1.473-1.473zM9.305 16.25v2.083h1.389V16.25h-1.39z"/></svg>')
center center no-repeat;
/* stylelint-enable unit-no-unknown */
}
&.focusVisible {
Expand All @@ -97,12 +93,9 @@ const SwitchThumb = styled('span')`
transform: translateX(24px);
&::before {
/* false positive: */
/* stylelint-disable unit-no-unknown */
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path fill="${encodeURIComponent(
'#fff',
)}" d="M4.2 2.5l-.7 1.8-1.8.7 1.8.7.7 1.8.6-1.8L6.7 5l-1.9-.7-.6-1.8zm15 8.3a6.7 6.7 0 11-6.6-6.6 5.8 5.8 0 006.6 6.6z"/></svg>');
/* stylelint-enable unit-no-unknown */
}
}
`;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"process": "^0.11.10",
"rimraf": "^6.0.1",
"serve": "^14.2.4",
"stylelint": "^15.11.0",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^34.0.0",
"terser-webpack-plugin": "^5.3.10",
"tsx": "^4.19.2",
Expand Down
Loading

0 comments on commit 6860d26

Please sign in to comment.