From c9d3b967cd930acf334d645890029499014093f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 8 Jul 2023 19:11:45 -0400 Subject: [PATCH] Bump prettier from 2.8.8 to 3.0.0 (#1291) * Bump prettier from 2.8.8 to 3.0.0 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.0.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Run `npm run format` --------- Signed-off-by: dependabot[bot] Co-authored-by: Matthew Wang --- _sass/buttons.scss | 8 ++++++-- _sass/search.scss | 25 +++++++++++++++++++------ _sass/support/_variables.scss | 1 + _sass/support/mixins/_buttons.scss | 4 +++- _sass/tables.scss | 4 +++- package-lock.json | 18 +++++++++--------- package.json | 2 +- 7 files changed, 42 insertions(+), 20 deletions(-) diff --git a/_sass/buttons.scss b/_sass/buttons.scss index bcb2a20..7953f7f 100644 --- a/_sass/buttons.scss +++ b/_sass/buttons.scss @@ -17,7 +17,9 @@ background-color: $base-button-color; border-width: 0; border-radius: $border-radius; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.12), + 0 3px 10px rgba(0, 0, 0, 0.08); appearance: none; &:focus { @@ -87,7 +89,9 @@ &:focus { text-decoration: none; outline: none; - box-shadow: inset 0 0 0 2px $grey-dk-100, 0 0 0 3px rgba(blue, 0.25); + box-shadow: + inset 0 0 0 2px $grey-dk-100, + 0 0 0 3px rgba(blue, 0.25); } &:focus:hover, diff --git a/_sass/search.scss b/_sass/search.scss index cf8796f..cdf8d6e 100644 --- a/_sass/search.scss +++ b/_sass/search.scss @@ -23,7 +23,9 @@ height: $sp-8; overflow: hidden; border-radius: $border-radius; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.12), + 0 3px 10px rgba(0, 0, 0, 0.08); transition: height linear #{$transition-duration * 0.5}; @include mq(md) { @@ -96,7 +98,9 @@ background-color: $search-background-color; border-bottom-right-radius: $border-radius; border-bottom-left-radius: $border-radius; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.12), + 0 3px 10px rgba(0, 0, 0, 0.08); @include mq(md) { top: 100%; @@ -230,7 +234,9 @@ background-color: $search-background-color; border: 1px solid rgba($link-color, 0.3); border-radius: #{$sp-9 * 0.5}; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.12), + 0 3px 10px rgba(0, 0, 0, 0.08); align-items: center; justify-content: center; } @@ -244,7 +250,9 @@ height: 0; background-color: rgba(0, 0, 0, 0.3); opacity: 0; - transition: opacity ease $transition-duration, width 0s $transition-duration, + transition: + opacity ease $transition-duration, + width 0s $transition-duration, height 0s $transition-duration; } @@ -264,7 +272,9 @@ @include mq(md) { width: $search-results-width; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.12), + 0 3px 10px rgba(0, 0, 0, 0.08); } } @@ -290,7 +300,10 @@ width: 100%; height: 100%; opacity: 1; - transition: opacity ease $transition-duration, width 0s, height 0s; + transition: + opacity ease $transition-duration, + width 0s, + height 0s; } @include mq(md) { diff --git a/_sass/support/_variables.scss b/_sass/support/_variables.scss index 6767357..a998002 100644 --- a/_sass/support/_variables.scss +++ b/_sass/support/_variables.scss @@ -1,5 +1,6 @@ // Typography +// prettier-ignore $body-font-family: system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif !default; $mono-font-family: "SFMono-Regular", menlo, consolas, monospace !default; diff --git a/_sass/support/mixins/_buttons.scss b/_sass/support/mixins/_buttons.scss index e3e6c4f..cd51da3 100644 --- a/_sass/support/mixins/_buttons.scss +++ b/_sass/support/mixins/_buttons.scss @@ -4,7 +4,9 @@ color: $fg; background-color: darken($bg, 2%); background-image: linear-gradient(lighten($bg, 5%), darken($bg, 2%)); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(0, 0, 0, 0.12); + box-shadow: + 0 1px 3px rgba(0, 0, 0, 0.25), + 0 4px 10px rgba(0, 0, 0, 0.12); &:hover, &.zeroclipboard-is-hover { diff --git a/_sass/tables.scss b/_sass/tables.scss index 7bc08ba..c5d8491 100644 --- a/_sass/tables.scss +++ b/_sass/tables.scss @@ -8,7 +8,9 @@ margin-bottom: $sp-5; overflow-x: auto; border-radius: $border-radius; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.12), + 0 3px 10px rgba(0, 0, 0, 0.08); } table { diff --git a/package-lock.json b/package-lock.json index 87348d8..ad691f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "devDependencies": { "npm-run-all": "^4.1.5", - "prettier": "^2.8.8", + "prettier": "^3.0.0", "stylelint": "^15.10.1", "stylelint-config-standard-scss": "^10.0.0" } @@ -2084,15 +2084,15 @@ "dev": true }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", + "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -4440,9 +4440,9 @@ "dev": true }, "prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", + "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", "dev": true }, "punycode": { diff --git a/package.json b/package.json index aa1e261..fc64b9c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "bugs": "https://github.com/just-the-docs/just-the-docs/issues", "devDependencies": { "npm-run-all": "^4.1.5", - "prettier": "^2.8.8", + "prettier": "^3.0.0", "stylelint": "^15.10.1", "stylelint-config-standard-scss": "^10.0.0" },