mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Bump stylelint-config-recommended from 2.2.0 to 3.0.0 (#7431)
* Bump stylelint-config-recommended from 2.2.0 to 3.0.0 Bumps [stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) from 2.2.0 to 3.0.0. - [Release notes](https://github.com/stylelint/stylelint-config-recommended/releases) - [Changelog](https://github.com/stylelint/stylelint-config-recommended/blob/master/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint-config-recommended/compare/2.2.0...3.0.0) Signed-off-by: dependabot[bot] <support@github.com> * Fix lint and dump stylelint Signed-off-by: HichamELBSI <elabbassih@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HichamELBSI <elabbassih@gmail.com>
This commit is contained in:
parent
e80c21a7bc
commit
3c80a6c9a5
@ -39,8 +39,8 @@
|
||||
"request-promise-native": "^1.0.7",
|
||||
"rimraf": "3.0.0",
|
||||
"snyk": "^1.99.0",
|
||||
"stylelint": "10.0.1",
|
||||
"stylelint-config-recommended": "2.2.0",
|
||||
"stylelint": "10.1.0",
|
||||
"stylelint-config-recommended": "3.0.0",
|
||||
"stylelint-config-styled-components": "0.1.1",
|
||||
"stylelint-processor-styled-components": "1.6.0",
|
||||
"wait-on": "^3.2.0",
|
||||
|
||||
@ -39,7 +39,7 @@ const GlobalStyle = createGlobalStyle`
|
||||
background: transparent;
|
||||
.modal-dialog {
|
||||
max-width: 74.5rem;
|
||||
margin: 16rem auto 3rem calc(50% - #{$left-menu-width});
|
||||
margin: 16rem auto 3rem calc(50% - #{$left - menu - width});
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
@ -98,6 +98,7 @@ function Row({ canDelete, canUpdate, isBulkable, row, headers }) {
|
||||
return (
|
||||
<>
|
||||
{isBulkable && (
|
||||
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
||||
<td key="i" onClick={e => e.stopPropagation()}>
|
||||
<CustomInputCheckbox
|
||||
name={row.id}
|
||||
|
||||
@ -143,8 +143,8 @@ const MediaPreviewImage = styled(MediaPreviewItem)`
|
||||
width: ${sizes.big};
|
||||
height: ${sizes.big};
|
||||
border-radius: calc(${sizes.big} / 2);
|
||||
margin-top: calc(-${sizes.big} - ${sizes.small} - 5px);
|
||||
margin-left: calc((-${sizes.big} + ${sizes.small}) / 2);
|
||||
margin-top: calc(${`-${sizes.big}`} - ${sizes.small} - 5px);
|
||||
margin-left: calc((${sizes.small} - ${sizes.big}) / 2);
|
||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
|
||||
@ -13,16 +13,10 @@ import useDataManager from '../../hooks/useDataManager';
|
||||
import Wrapper from './Wrapper';
|
||||
import Close from './Close';
|
||||
|
||||
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||
|
||||
function ComponentCard({
|
||||
component,
|
||||
dzName,
|
||||
index,
|
||||
isActive,
|
||||
isInDevelopmentMode,
|
||||
onClick,
|
||||
}) {
|
||||
function ComponentCard({ component, dzName, index, isActive, isInDevelopmentMode, onClick }) {
|
||||
const { modifiedData, removeComponentFromDynamicZone } = useDataManager();
|
||||
const {
|
||||
schema: { icon, name },
|
||||
|
||||
@ -7,6 +7,7 @@ import useDataManager from '../../hooks/useDataManager';
|
||||
import Ul from '../SelectMenuUl';
|
||||
import Category from './Category';
|
||||
|
||||
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
||||
|
||||
|
||||
@ -17,6 +17,7 @@ import hasSubArray from './utils/hasSubArray';
|
||||
import hasSomeSubArray from './utils/HasSomeSubArray';
|
||||
|
||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
||||
|
||||
const MultipleMenuList = ({
|
||||
selectProps: { name, addComponentsToDynamicZone, inputValue, value },
|
||||
|
||||
@ -19,6 +19,7 @@ import DynamicZoneList from '../DynamicZoneList';
|
||||
import ComponentList from '../ComponentList';
|
||||
import Wrapper from './List';
|
||||
|
||||
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||
|
||||
function List({
|
||||
|
||||
@ -212,6 +212,7 @@ const DataManagerProvider = ({ allIcons, children }) => {
|
||||
const deleteCategory = async categoryUid => {
|
||||
try {
|
||||
const requestURL = `/${pluginId}/component-categories/${categoryUid}`;
|
||||
// eslint-disable-next-line no-alert
|
||||
const userConfirm = window.confirm(
|
||||
formatMessage({
|
||||
id: getTrad('popUpWarning.bodyMessage.category.delete'),
|
||||
@ -244,6 +245,7 @@ const DataManagerProvider = ({ allIcons, children }) => {
|
||||
try {
|
||||
const requestURL = `/${pluginId}/${endPoint}/${currentUid}`;
|
||||
const isTemporary = get(modifiedData, [firstKeyToMainSchema, 'isTemporary'], false);
|
||||
// eslint-disable-next-line no-alert
|
||||
const userConfirm = window.confirm(
|
||||
formatMessage({
|
||||
id: getTrad(
|
||||
|
||||
88
yarn.lock
88
yarn.lock
@ -5416,13 +5416,12 @@ clone-deep@^4.0.1:
|
||||
kind-of "^6.0.2"
|
||||
shallow-clone "^3.0.0"
|
||||
|
||||
clone-regexp@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/clone-regexp/-/clone-regexp-1.0.1.tgz#051805cd33173375d82118fc0918606da39fd60f"
|
||||
integrity sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==
|
||||
clone-regexp@^2.1.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/clone-regexp/-/clone-regexp-2.2.0.tgz#7d65e00885cd8796405c35a737e7a86b7429e36f"
|
||||
integrity sha512-beMpP7BOtTipFuW8hrJvREQ2DrRu3BE7by0ZpibtfBA+qfHYvMGTc2Yb1JMYPKg/JUw0CHYvpg796aNTSW9z7Q==
|
||||
dependencies:
|
||||
is-regexp "^1.0.0"
|
||||
is-supported-regexp-flag "^1.0.0"
|
||||
is-regexp "^2.0.0"
|
||||
|
||||
clone@^1.0.2:
|
||||
version "1.0.4"
|
||||
@ -7753,12 +7752,12 @@ execa@^4.0.0:
|
||||
signal-exit "^3.0.2"
|
||||
strip-final-newline "^2.0.0"
|
||||
|
||||
execall@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/execall/-/execall-1.0.0.tgz#73d0904e395b3cab0658b08d09ec25307f29bb73"
|
||||
integrity sha1-c9CQTjlbPKsGWLCNCewlMH8pu3M=
|
||||
execall@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/execall/-/execall-2.0.0.tgz#16a06b5fe5099df7d00be5d9c06eecded1663b45"
|
||||
integrity sha512-0FU2hZ5Hh6iQnarpRtQurM/aAvp3RIbfvgLHrcqJYzhXyV2KFruhuChf9NC6waAhiUR7FFtlugkI4p7f2Fqlow==
|
||||
dependencies:
|
||||
clone-regexp "^1.0.0"
|
||||
clone-regexp "^2.1.0"
|
||||
|
||||
exit@^0.1.2:
|
||||
version "0.1.2"
|
||||
@ -9268,10 +9267,10 @@ html-minifier@^3.2.3, html-minifier@^3.5.8:
|
||||
relateurl "0.2.x"
|
||||
uglify-js "3.4.x"
|
||||
|
||||
html-tags@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-2.0.0.tgz#10b30a386085f43cede353cc8fa7cb0deeea668b"
|
||||
integrity sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=
|
||||
html-tags@^3.0.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140"
|
||||
integrity sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==
|
||||
|
||||
html-webpack-plugin@^3.2.0:
|
||||
version "3.2.0"
|
||||
@ -9571,10 +9570,10 @@ import-lazy@^2.1.0:
|
||||
resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43"
|
||||
integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=
|
||||
|
||||
import-lazy@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-3.1.0.tgz#891279202c8a2280fdbd6674dbd8da1a1dfc67cc"
|
||||
integrity sha512-8/gvXvX2JMn0F+CDlSC4l6kOmVaLOO3XLkksI7CI3Ud95KDYJuYur2b9P/PUt/i/pDAMd/DulQsNbbbmRRsDIQ==
|
||||
import-lazy@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-4.0.0.tgz#e8eb627483a0a43da3c03f3e35548be5cb0cc153"
|
||||
integrity sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==
|
||||
|
||||
import-local@2.0.0, import-local@^2.0.0:
|
||||
version "2.0.0"
|
||||
@ -10212,6 +10211,11 @@ is-regexp@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
|
||||
integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk=
|
||||
|
||||
is-regexp@^2.0.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-2.1.0.tgz#cd734a56864e23b956bf4e7c66c396a4c0b22c2d"
|
||||
integrity sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==
|
||||
|
||||
is-relative@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d"
|
||||
@ -10261,11 +10265,6 @@ is-subset@^0.1.1:
|
||||
resolved "https://registry.yarnpkg.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6"
|
||||
integrity sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=
|
||||
|
||||
is-supported-regexp-flag@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz#21ee16518d2c1dd3edd3e9a0d57e50207ac364ca"
|
||||
integrity sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==
|
||||
|
||||
is-svg@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/is-svg/-/is-svg-3.0.0.tgz#9321dbd29c212e5ca99c4fa9794c714bcafa2f75"
|
||||
@ -11184,10 +11183,10 @@ knex@^0.20.0:
|
||||
uuid "^7.0.1"
|
||||
v8flags "^3.1.3"
|
||||
|
||||
known-css-properties@^0.13.0:
|
||||
version "0.13.0"
|
||||
resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.13.0.tgz#2750fde566cbf542a9876d4acd6bb0257ebadd2c"
|
||||
integrity sha512-6VWDxNr7cQXPDtMdCWLZMK3E8hdLrpyPPRdx6RbyvqklqgM6/XNFsVopv8QOZ+hRB6iHG/urEDwzlWbmMCv/kw==
|
||||
known-css-properties@^0.14.0:
|
||||
version "0.14.0"
|
||||
resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.14.0.tgz#d7032b4334a32dc22e6e46b081ec789daf18756c"
|
||||
integrity sha512-P+0a/gBzLgVlCnK8I7VcD0yuYJscmWn66wH9tlKsQnmVdg689tLEmziwB9PuazZYLkcm07fvWOKCJJqI55sD5Q==
|
||||
|
||||
koa-body@^4.1.0:
|
||||
version "4.1.1"
|
||||
@ -14221,7 +14220,7 @@ postcss-html@^0.36.0:
|
||||
dependencies:
|
||||
htmlparser2 "^3.10.0"
|
||||
|
||||
postcss-jsx@^0.36.0:
|
||||
postcss-jsx@^0.36.1:
|
||||
version "0.36.4"
|
||||
resolved "https://registry.yarnpkg.com/postcss-jsx/-/postcss-jsx-0.36.4.tgz#37a68f300a39e5748d547f19a747b3257240bd50"
|
||||
integrity sha512-jwO/7qWUvYuWYnpOb0+4bIIgJt7003pgU3P6nETBLaOyBXuTD55ho21xnals5nBrlpTIFodyd3/jBi6UO3dHvA==
|
||||
@ -17715,10 +17714,10 @@ stylehacks@^4.0.0:
|
||||
postcss "^7.0.0"
|
||||
postcss-selector-parser "^3.0.0"
|
||||
|
||||
stylelint-config-recommended@2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-2.2.0.tgz#46ab139db4a0e7151fd5f94af155512886c96d3f"
|
||||
integrity sha512-bZ+d4RiNEfmoR74KZtCKmsABdBJr4iXRiCso+6LtMJPw5rd/KnxUWTxht7TbafrTJK1YRjNgnN0iVZaJfc3xJA==
|
||||
stylelint-config-recommended@3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-3.0.0.tgz#e0e547434016c5539fe2650afd58049a2fd1d657"
|
||||
integrity sha512-F6yTRuc06xr1h5Qw/ykb2LuFynJ2IxkKfCMf+1xqPffkxh0S09Zc902XCffcsw/XMFq/OzQ1w54fLIDtmRNHnQ==
|
||||
|
||||
stylelint-config-styled-components@0.1.1:
|
||||
version "0.1.1"
|
||||
@ -17734,30 +17733,30 @@ stylelint-processor-styled-components@1.6.0:
|
||||
"@babel/traverse" "^7.0.0"
|
||||
postcss "^7.0.0"
|
||||
|
||||
stylelint@10.0.1:
|
||||
version "10.0.1"
|
||||
resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-10.0.1.tgz#f85cd9755e905d826023d67df62b32716fa6dfb4"
|
||||
integrity sha512-NbpD9BvQRmPe7QfaLB2OqhhDr5g6SAn43AAH2XLyqtQ9ZcioQECgadkIbormfhzxLhccAQWBZbVNiZz1oqEf8g==
|
||||
stylelint@10.1.0:
|
||||
version "10.1.0"
|
||||
resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-10.1.0.tgz#1bc4c4ce878107e7c396b19226d91ba28268911a"
|
||||
integrity sha512-OmlUXrgzEMLQYj1JPTpyZPR9G4bl0StidfHnGJEMpdiQ0JyTq0MPg1xkHk1/xVJ2rTPESyJCDWjG8Kbpoo7Kuw==
|
||||
dependencies:
|
||||
autoprefixer "^9.5.1"
|
||||
balanced-match "^1.0.0"
|
||||
chalk "^2.4.2"
|
||||
cosmiconfig "^5.2.0"
|
||||
debug "^4.1.1"
|
||||
execall "^1.0.0"
|
||||
execall "^2.0.0"
|
||||
file-entry-cache "^5.0.1"
|
||||
get-stdin "^7.0.0"
|
||||
global-modules "^2.0.0"
|
||||
globby "^9.2.0"
|
||||
globjoin "^0.1.4"
|
||||
html-tags "^2.0.0"
|
||||
html-tags "^3.0.0"
|
||||
ignore "^5.0.6"
|
||||
import-lazy "^3.1.0"
|
||||
import-lazy "^4.0.0"
|
||||
imurmurhash "^0.1.4"
|
||||
known-css-properties "^0.13.0"
|
||||
known-css-properties "^0.14.0"
|
||||
leven "^3.1.0"
|
||||
lodash "^4.17.11"
|
||||
log-symbols "^2.2.0"
|
||||
log-symbols "^3.0.0"
|
||||
mathml-tag-names "^2.1.0"
|
||||
meow "^5.0.0"
|
||||
micromatch "^4.0.0"
|
||||
@ -17765,7 +17764,7 @@ stylelint@10.0.1:
|
||||
pify "^4.0.1"
|
||||
postcss "^7.0.14"
|
||||
postcss-html "^0.36.0"
|
||||
postcss-jsx "^0.36.0"
|
||||
postcss-jsx "^0.36.1"
|
||||
postcss-less "^3.1.4"
|
||||
postcss-markdown "^0.36.0"
|
||||
postcss-media-query-parser "^0.2.3"
|
||||
@ -17779,9 +17778,10 @@ stylelint@10.0.1:
|
||||
postcss-value-parser "^3.3.1"
|
||||
resolve-from "^5.0.0"
|
||||
signal-exit "^3.0.2"
|
||||
slash "^2.0.0"
|
||||
slash "^3.0.0"
|
||||
specificity "^0.4.1"
|
||||
string-width "^4.1.0"
|
||||
strip-ansi "^5.2.0"
|
||||
style-search "^0.1.0"
|
||||
sugarss "^2.0.0"
|
||||
svg-tags "^1.0.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user