uilint-react 0.1.43 → 0.1.45

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/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  UILintToolbar
4
- } from "./chunk-C6NUU5MF.js";
4
+ } from "./chunk-EQKEHJI4.js";
5
5
  import {
6
6
  InspectionPanel,
7
7
  clearSourceCache,
@@ -9,10 +9,11 @@ import {
9
9
  fetchSourceWithContext,
10
10
  getCachedSource,
11
11
  prefetchSources
12
- } from "./chunk-2VRWAMW7.js";
12
+ } from "./chunk-ZZOKTGSU.js";
13
+ import "./chunk-W42PI2OF.js";
13
14
  import {
14
15
  LocatorOverlay
15
- } from "./chunk-UD6HPLEZ.js";
16
+ } from "./chunk-YLTHKMTO.js";
16
17
  import {
17
18
  DATA_UILINT_ID,
18
19
  DEFAULT_SETTINGS,
@@ -28,7 +29,7 @@ import {
28
29
  scanDOMForSources,
29
30
  updateElementRects,
30
31
  useUILintContext
31
- } from "./chunk-LAL3JTAA.js";
32
+ } from "./chunk-BJD2V2LF.js";
32
33
 
33
34
  // src/consistency/snapshot.ts
34
35
  var DATA_ELEMENTS_ATTR = "data-elements";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilint-react",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "React component for AI-powered UI consistency checking",
5
5
  "author": "Peter Suggate",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "node": ">=20.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "uilint-core": "^0.1.43",
37
+ "uilint-core": "^0.1.45",
38
38
  "zustand": "^5.0.5"
39
39
  },
40
40
  "peerDependencies": {
@@ -47,7 +47,8 @@
47
47
  "react": "^19.2.3",
48
48
  "react-dom": "^19.2.3",
49
49
  "tsup": "^8.5.1",
50
- "typescript": "^5.9.3"
50
+ "typescript": "^5.9.3",
51
+ "vitest": "^4.0.16"
51
52
  },
52
53
  "keywords": [
53
54
  "react",
@@ -65,6 +66,8 @@
65
66
  "scripts": {
66
67
  "build": "tsup",
67
68
  "dev": "tsup --watch",
69
+ "test": "vitest run",
70
+ "test:watch": "vitest --watch",
68
71
  "typecheck": "tsc --noEmit",
69
72
  "lint": "eslint src/"
70
73
  }
@@ -1,9 +0,0 @@
1
- "use client";
2
- "use client";
3
- import {
4
- InspectionPanel
5
- } from "./chunk-2VRWAMW7.js";
6
- import "./chunk-LAL3JTAA.js";
7
- export {
8
- InspectionPanel
9
- };
@@ -1,9 +0,0 @@
1
- "use client";
2
- "use client";
3
- import {
4
- UILintToolbar
5
- } from "./chunk-C6NUU5MF.js";
6
- import "./chunk-LAL3JTAA.js";
7
- export {
8
- UILintToolbar
9
- };