Skip to content

Commit 3e028fc

Browse files
authored
feat: extension v1.0.8 (#322)
1 parent 380c387 commit 3e028fc

File tree

25 files changed

+260
-199
lines changed

25 files changed

+260
-199
lines changed

BROWSER_EXTENSION_GUIDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@
55
66
## Chrome
77

8-
1. Download the [`chrome-extension-v1.0.7.zip`](https://github.com/aidenybai/react-scan/tree/main/packages/extension/build) file.
8+
1. Download the [`chrome-extension-v1.0.8.zip`](https://github.com/aidenybai/react-scan/tree/main/packages/extension/build) file.
99
2. Unzip the file.
1010
3. Open Chrome and navigate to `chrome://extensions/`.
1111
4. Enable "Developer mode" if it is not already enabled.
1212
5. Click "Load unpacked" and select the unzipped folder (or drag the folder into the page).
1313

1414
## Firefox
1515

16-
1. Download the [`firefox-extension-v1.0.7.zip`](https://github.com/aidenybai/react-scan/tree/main/packages/extension/build) file.
16+
1. Download the [`firefox-extension-v1.0.8.zip`](https://github.com/aidenybai/react-scan/tree/main/packages/extension/build) file.
1717
2. Unzip the file.
1818
3. Open Firefox and navigate to `about:debugging#/runtime/this-firefox`.
1919
4. Click "Load Temporary Add-on..."
2020
5. Select `manifest.json` from the unzipped folder
2121

2222
## Brave
2323

24-
1. Download the [`brave-extension-v1.0.7.zip`](https://github.com/aidenybai/react-scan/tree/main/packages/extension/build) file.
24+
1. Download the [`brave-extension-v1.0.8.zip`](https://github.com/aidenybai/react-scan/tree/main/packages/extension/build) file.
2525
2. Unzip the file.
2626
3. Open Brave and navigate to `brave://extensions`.
2727
4. Click "Load unpacked" and select the unzipped folder (or drag the folder into the page).

packages/extension/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ pnpm pack:all
6464
```
6565

6666
This will create:
67-
- `chrome-extension-v1.0.7.zip`
68-
- `firefox-extension-v1.0.7.zip`
69-
- `brave-extension-v1.0.7.zip`
67+
- `chrome-extension-v1.0.8.zip`
68+
- `firefox-extension-v1.0.8.zip`
69+
- `brave-extension-v1.0.8.zip`
7070

7171
in the `build` directory.
-250 KB
Binary file not shown.
268 KB
Binary file not shown.
-250 KB
Binary file not shown.
268 KB
Binary file not shown.
-250 KB
Binary file not shown.
268 KB
Binary file not shown.

packages/extension/package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-scan/extension",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -23,7 +23,7 @@
2323
},
2424
"dependencies": {
2525
"@pivanov/utils": "0.0.2",
26-
"bippy": "0.2.7",
26+
"bippy": "0.3.8",
2727
"react": "^18.2.0",
2828
"react-dom": "^18.2.0",
2929
"react-scan": "workspace:*",
@@ -33,13 +33,15 @@
3333
"@types/chrome": "^0.0.281",
3434
"@types/react": "^18.0.26",
3535
"@types/react-dom": "^18.0.9",
36-
"@types/webextension-polyfill": "^0.10.0",
36+
"@types/semver": "^7.5.8",
37+
"@types/webextension-polyfill": "^0.12.0",
3738
"@vitejs/plugin-react": "^4.2.1",
3839
"bestzip": "^2.2.1",
3940
"cross-env": "^7.0.3",
41+
"semver": "^7.7.1",
4042
"vite": "^6.0.7",
4143
"vite-plugin-web-extension": "^4.4.3",
4244
"vite-tsconfig-paths": "^5.1.4",
43-
"webextension-polyfill": "^0.10.0"
45+
"webextension-polyfill": "^0.12.0"
4446
}
4547
}

packages/extension/src/assets/css/no-react.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ html.freeze #react-scan-toast {
3232
top: 50%;
3333
left: 50%;
3434
display: flex;
35+
flex-direction: column;
3536
padding: 12px 40px 12px 16px;
3637
min-width: 320px;
3738
max-width: 480px;
@@ -48,6 +49,19 @@ html.freeze #react-scan-toast {
4849
z-index: 2147483651;
4950
}
5051

52+
#react-scan-toast-title {
53+
margin: 0 0 8px 0;
54+
}
55+
56+
#react-scan-toast-message {
57+
display: flex;
58+
align-items: flex-start;
59+
}
60+
61+
#react-scan-toast-message span {
62+
white-space: pre-line;
63+
}
64+
5165
#react-scan-toast .icon {
5266
font-size: .75rem;
5367
margin-right: 8px;

0 commit comments

Comments
 (0)