1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[deps] Autofill: Update prettier to v3.6.2 (#15496)

* [deps] Autofill: Update prettier to v3.6.2

* fix: [PM-23425] Fix prettier issues related to dependency updte

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>

* [deps] Autofill: Update prettier to v3.6.2

---------

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben Brooks <bbrooks@bitwarden.com>
This commit is contained in:
renovate[bot]
2025-08-01 14:02:54 -07:00
committed by GitHub
parent 64f945e4fc
commit 2dd6164fce
9 changed files with 9 additions and 20 deletions

View File

@@ -25,7 +25,6 @@ It is designed with accessibility and responsive design in mind.
## Installation and Setup
1. Ensure you have the necessary dependencies installed:
- `lit`: Used to render the component.
- `@emotion/css`: Used for styling the component.

View File

@@ -25,7 +25,6 @@ handling, and a disabled state. The component is optimized for accessibility and
## Installation and Setup
1. Ensure you have the necessary dependencies installed:
- `lit`: Used to render the component.
- `@emotion/css`: Used for styling the component.

View File

@@ -22,7 +22,6 @@ a close icon for visual clarity. The component is designed to be intuitive and a
## Installation and Setup
1. Ensure you have the necessary dependencies installed:
- `lit`: Used to render the component.
- `@emotion/css`: Used for styling the component.

View File

@@ -25,7 +25,6 @@ or settings where inline editing is required.
## Installation and Setup
1. Ensure you have the necessary dependencies installed:
- `lit`: Used to render the component.
- `@emotion/css`: Used for styling the component.

View File

@@ -50,8 +50,8 @@ describe("LocalBackedSessionStorage", () => {
const result = await sut.get("test");
// FIXME: Remove when updating file. Eslint update
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
expect(encryptService.decryptString).toHaveBeenCalledWith(encrypted, sessionKey),
expect(result).toEqual("decrypted");
(expect(encryptService.decryptString).toHaveBeenCalledWith(encrypted, sessionKey),
expect(result).toEqual("decrypted"));
});
it("caches the decrypted value when one is stored in local storage", async () => {
@@ -69,8 +69,8 @@ describe("LocalBackedSessionStorage", () => {
const result = await sut.get("test");
// FIXME: Remove when updating file. Eslint update
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
expect(encryptService.decryptString).toHaveBeenCalledWith(encrypted, sessionKey),
expect(result).toEqual("decrypted");
(expect(encryptService.decryptString).toHaveBeenCalledWith(encrypted, sessionKey),
expect(result).toEqual("decrypted"));
});
it("caches the decrypted value when one is stored in local storage", async () => {

View File

@@ -19,7 +19,6 @@ import { IconModule } from "@bitwarden/components";
## Developer Instructions
1. **Download the SVG** and import it as an `.svg` initially into the IDE of your choice.
- The SVG should be formatted using either a built-in formatter or an external tool like
[SVG Formatter Beautifier](https://codebeautify.org/svg-formatter-beautifier) to make applying
classes easier.
@@ -35,7 +34,6 @@ import { IconModule } from "@bitwarden/components";
```
5. **Replace any hardcoded strokes or fills** with the appropriate Tailwind class.
- **Note:** Stroke is used when styling the outline of an SVG path, while fill is used when
styling the inside of an SVG path.
@@ -52,7 +50,6 @@ import { IconModule } from "@bitwarden/components";
- If the hex that you have on an SVG path is not listed above, there are a few ways to figure out
the appropriate Tailwind class:
- **Option 1: Figma**
- Open the SVG in Figma.
- Click on an individual path on the SVG until you see the path's properties in the
@@ -76,14 +73,11 @@ import { IconModule } from "@bitwarden/components";
6. **Remove any hardcoded width or height attributes** if your SVG has a configured
[viewBox](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox) attribute in order
to allow the SVG to scale to fit its container.
- **Note:** Scaling is required for any SVG used as an
[AnonLayout](?path=/docs/auth-anon-layout--docs) `pageIcon`.
7. **Import your SVG const** anywhere you want to use the SVG.
- **Angular Component Example:**
- **TypeScript:**
```typescript

View File

@@ -153,7 +153,6 @@ what would be helpful to you if you were consuming this component for the first
2. (For team-owned components) Check if your file path is already included in the
`.storybook/main.ts` config -- if not, add it
3. Write the docs `*.mdx` page
- What is the component intended to be used for?
- How to import and use it? What inputs and slots are available?
- Are there other usage guidelines, such as pointing out similar components and when to use each?

8
package-lock.json generated
View File

@@ -160,7 +160,7 @@
"nx": "21.1.2",
"postcss": "8.5.3",
"postcss-loader": "8.1.1",
"prettier": "3.5.3",
"prettier": "3.6.2",
"prettier-plugin-tailwindcss": "0.6.11",
"process": "0.11.10",
"remark-gfm": "4.0.1",
@@ -32323,9 +32323,9 @@
}
},
"node_modules/prettier": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
"integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
"integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
"dev": true,
"license": "MIT",
"bin": {

View File

@@ -123,7 +123,7 @@
"nx": "21.1.2",
"postcss": "8.5.3",
"postcss-loader": "8.1.1",
"prettier": "3.5.3",
"prettier": "3.6.2",
"prettier-plugin-tailwindcss": "0.6.11",
"process": "0.11.10",
"remark-gfm": "4.0.1",