@visulima/vite-overlay 1.0.2 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +23 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +471 -206
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## @visulima/vite-overlay [1.1.1](https://github.com/visulima/visulima/compare/@visulima/vite-overlay@1.1.0...@visulima/vite-overlay@1.1.1) (2025-09-24)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **vite-overlay:** improve error processing logic ([b03dffc](https://github.com/visulima/visulima/commit/b03dffc589b7aa6d26528ac001cd54d50cdbf7e8))
|
|
6
|
+
|
|
7
|
+
## @visulima/vite-overlay [1.1.0](https://github.com/visulima/visulima/compare/@visulima/vite-overlay@1.0.2...@visulima/vite-overlay@1.1.0) (2025-09-24)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **vite-overlay:** improve react hydration error handling ([#526](https://github.com/visulima/visulima/issues/526)) ([d82e0ad](https://github.com/visulima/visulima/commit/d82e0ad94bafc4c23af0e5d4745c3a23a8d4746f))
|
|
12
|
+
|
|
1
13
|
## @visulima/vite-overlay [1.0.2](https://github.com/visulima/visulima/compare/@visulima/vite-overlay@1.0.1...@visulima/vite-overlay@1.0.2) (2025-09-23)
|
|
2
14
|
|
|
3
15
|
|
package/README.md
CHANGED
|
@@ -197,6 +197,29 @@ The error overlay uses a custom design system with CSS custom properties:
|
|
|
197
197
|
--ono-v-text: #c9d1d9;
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
+
## Browser Support
|
|
201
|
+
|
|
202
|
+
The error overlay is designed to work in all modern browsers with at least 1% global market share. This includes:
|
|
203
|
+
|
|
204
|
+
| Browser | Minimum Version | Release Date |
|
|
205
|
+
|---------|-----------------|--------------|
|
|
206
|
+
| **Chrome** | 91+ | January 2021 |
|
|
207
|
+
| **Firefox** | 91+ | August 2021 |
|
|
208
|
+
| **Safari** | 14.1+ | April 2021 |
|
|
209
|
+
| **Edge** | 91+ | January 2021 |
|
|
210
|
+
| **iOS Safari** | 14.5+ | April 2021 |
|
|
211
|
+
| **Opera** | 77+ | February 2021 |
|
|
212
|
+
| **Samsung Internet** | 16+ | October 2021 |
|
|
213
|
+
|
|
214
|
+
### Browser Features Used
|
|
215
|
+
|
|
216
|
+
The overlay uses modern JavaScript features that are well-supported in the target browsers:
|
|
217
|
+
|
|
218
|
+
- **ES2015+ Features**: Classes, arrow functions, template literals, destructuring
|
|
219
|
+
- **Shadow DOM API**: For component isolation and styling encapsulation
|
|
220
|
+
- **localStorage**: For persisting user preferences and state
|
|
221
|
+
- **Modern DOM APIs**: Query selectors, event listeners, CSS custom properties
|
|
222
|
+
|
|
200
223
|
## Supported Node.js Versions
|
|
201
224
|
|
|
202
225
|
Libraries in this ecosystem make the best effort to track [Node.js’ release schedule](https://github.com/nodejs/release#release-schedule).
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SolutionFinder } from '@visulima/error/solution';
|
|
2
|
+
import { Plugin } from 'vite';
|
|
3
|
+
|
|
4
|
+
declare const errorOverlayPlugin: (options: {
|
|
5
|
+
logClientRuntimeError?: boolean;
|
|
6
|
+
reactPluginName?: string;
|
|
7
|
+
showBallonButton?: boolean;
|
|
8
|
+
solutionFinders?: SolutionFinder[];
|
|
9
|
+
vuePluginName?: string;
|
|
10
|
+
}) => Plugin;
|
|
11
|
+
|
|
12
|
+
export { errorOverlayPlugin as default };
|