Twenty Twenty-One: Update devDependencies.
This updates several `devDependencies` to their latest versions. The deprecated `stylelint-config-wordpress` package has also been replaced with the `@wordpress/stylelint-config` package. This commit also includes several minor adjustments to `.scss` files to decrease the number of coding standards warnings produced when running `lint:scss`. See #52624. Built from https://develop.svn.wordpress.org/trunk@50972 git-svn-id: http://core.svn.wordpress.org/trunk@50581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": [
|
||||
"stylelint-config-wordpress"
|
||||
"@wordpress/stylelint-config"
|
||||
],
|
||||
"rules": {
|
||||
"indentation": "tab",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": [
|
||||
"stylelint-config-wordpress/scss"
|
||||
"@wordpress/stylelint-config/scss"
|
||||
],
|
||||
"rules": {
|
||||
"selector-class-pattern": null,
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
--widget--spacing-menu: calc(0.66 * var(--global--spacing-unit));
|
||||
|
||||
/* Admin-bar height */
|
||||
--global--admin-bar--height: 0px;
|
||||
--global--admin-bar--height: 0;
|
||||
}
|
||||
|
||||
.admin-bar {
|
||||
|
||||
@@ -227,7 +227,7 @@ $baseline-unit: 10px;
|
||||
--widget--spacing-menu: calc(0.66 * var(--global--spacing-unit));
|
||||
|
||||
/* Admin-bar height */
|
||||
--global--admin-bar--height: 0px;
|
||||
--global--admin-bar--height: 0;
|
||||
}
|
||||
|
||||
.admin-bar {
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
padding: var(--button--padding-vertical) var(--button--padding-horizontal);
|
||||
text-decoration: none;
|
||||
|
||||
// Standard Button Color Relationship Logic
|
||||
// Standard Button Color Relationship Logic
|
||||
&:not(:hover):not(:active) {
|
||||
|
||||
// Text colors
|
||||
|
||||
@@ -54,14 +54,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Hover Button color should match parent element foreground color
|
||||
// Hover Button color should match parent element foreground color
|
||||
.wp-block-button__link:hover,
|
||||
.wp-block-button__link:active {
|
||||
border-color: currentColor !important;
|
||||
background-color: transparent !important;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
|
||||
// Remove :focus styles in the editor
|
||||
.wp-block-button__link:focus {
|
||||
outline-offset: inherit;
|
||||
@@ -104,7 +104,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Hover Button color should match default button style
|
||||
// Hover Button color should match default button style
|
||||
.wp-block-button__link:hover,
|
||||
.wp-block-button__link:active {
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
color: var(--local--color-background, var(--global--color-background)) !important;
|
||||
}
|
||||
|
||||
.has-text-color & {
|
||||
.has-text-color & {
|
||||
color: var(--local--color-background, var(--global--color-background)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ input[type="reset"],
|
||||
}
|
||||
}
|
||||
|
||||
// Hover Button color should match parent element foreground color
|
||||
// Hover Button color should match parent element foreground color
|
||||
.wp-block-button__link:hover,
|
||||
.wp-block-button__link:active {
|
||||
border-color: currentColor !important;
|
||||
@@ -103,7 +103,7 @@ input[type="reset"],
|
||||
color: var(--local--color-background, var(--global--color-background)) !important;
|
||||
}
|
||||
|
||||
.has-text-color & {
|
||||
.has-text-color & {
|
||||
color: var(--local--color-background, var(--global--color-background)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// Extend button style
|
||||
@include button-style();
|
||||
display: inline-block;
|
||||
|
||||
|
||||
// Remove :focus styles in the editor
|
||||
&:focus {
|
||||
outline-offset: inherit;
|
||||
|
||||
@@ -19,6 +19,7 @@ ol {
|
||||
|
||||
ul {
|
||||
list-style-type: disc;
|
||||
|
||||
ul {
|
||||
list-style-type: circle;
|
||||
}
|
||||
@@ -26,6 +27,7 @@ ul {
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
|
||||
ul {
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
1036
wp-content/themes/twentytwentyone/package-lock.json
generated
1036
wp-content/themes/twentytwentyone/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -13,26 +13,26 @@
|
||||
},
|
||||
"homepage": "https://wordpress.org/themes/twentytwentyone/",
|
||||
"devDependencies": {
|
||||
"@wordpress/browserslist-config": "^3.0.2",
|
||||
"@wordpress/eslint-plugin": "^9.0.2",
|
||||
"autoprefixer": "^9.5.1",
|
||||
"@wordpress/browserslist-config": "^4.0.0",
|
||||
"@wordpress/eslint-plugin": "^9.0.5",
|
||||
"@wordpress/stylelint-config": "^19.0.4",
|
||||
"autoprefixer": "^10.2.5",
|
||||
"chokidar-cli": "^2.1.0",
|
||||
"eslint": "^7.23.0",
|
||||
"eslint": "^7.27.0",
|
||||
"minimist": "^1.2.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-calc": "^8.0.0",
|
||||
"postcss-cli": "^8.3.1",
|
||||
"postcss": "^8.2.9",
|
||||
"postcss-css-variables": "^0.17.0",
|
||||
"postcss": "^8.3.0",
|
||||
"postcss-css-variables": "^0.18.0",
|
||||
"postcss-custom-media": "^8.0.0",
|
||||
"postcss-discard-duplicates": "^4.0.2",
|
||||
"postcss-discard-duplicates": "^5.0.1",
|
||||
"postcss-focus-within": "^4.0.0",
|
||||
"postcss-nested": "^5.0.5",
|
||||
"rtlcss": "^3.1.2",
|
||||
"sass": "^1.32.8",
|
||||
"stylelint": "^13.12.0",
|
||||
"stylelint-config-recommended-scss": "^4.2.0",
|
||||
"stylelint-config-wordpress": "^17.0.0"
|
||||
"rtlcss": "^3.2.0",
|
||||
"sass": "^1.34.0",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint-config-recommended-scss": "^4.2.0"
|
||||
},
|
||||
"rtlcssConfig": {
|
||||
"options": {
|
||||
|
||||
@@ -317,7 +317,7 @@ Twenty Twenty-One is distributed under the terms of the GNU GPL.
|
||||
--widget--spacing-menu: calc(0.66 * var(--global--spacing-unit));
|
||||
|
||||
/* Admin-bar height */
|
||||
--global--admin-bar--height: 0px;
|
||||
--global--admin-bar--height: 0;
|
||||
}
|
||||
|
||||
.admin-bar {
|
||||
|
||||
@@ -317,7 +317,7 @@ Twenty Twenty-One is distributed under the terms of the GNU GPL.
|
||||
--widget--spacing-menu: calc(0.66 * var(--global--spacing-unit));
|
||||
|
||||
/* Admin-bar height */
|
||||
--global--admin-bar--height: 0px;
|
||||
--global--admin-bar--height: 0;
|
||||
}
|
||||
|
||||
.admin-bar {
|
||||
|
||||
Reference in New Issue
Block a user