uidex 0.7.0 → 0.8.0

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.
Files changed (51) hide show
  1. package/dist/cli/cli.cjs +1024 -1041
  2. package/dist/cli/cli.cjs.map +1 -1
  3. package/dist/headless/index.cjs +4 -448
  4. package/dist/headless/index.cjs.map +1 -1
  5. package/dist/headless/index.d.cts +41 -11
  6. package/dist/headless/index.d.ts +41 -11
  7. package/dist/headless/index.js +4 -450
  8. package/dist/headless/index.js.map +1 -1
  9. package/dist/index.cjs +147 -3252
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +43 -316
  12. package/dist/index.d.ts +43 -316
  13. package/dist/index.js +133 -3254
  14. package/dist/index.js.map +1 -1
  15. package/dist/playwright/index.cjs +175 -0
  16. package/dist/playwright/index.cjs.map +1 -1
  17. package/dist/playwright/index.d.cts +2 -0
  18. package/dist/playwright/index.d.ts +2 -0
  19. package/dist/playwright/index.js +167 -0
  20. package/dist/playwright/index.js.map +1 -1
  21. package/dist/playwright/states-reporter.cjs +123 -0
  22. package/dist/playwright/states-reporter.cjs.map +1 -0
  23. package/dist/playwright/states-reporter.d.cts +46 -0
  24. package/dist/playwright/states-reporter.d.ts +46 -0
  25. package/dist/playwright/states-reporter.js +88 -0
  26. package/dist/playwright/states-reporter.js.map +1 -0
  27. package/dist/playwright/states.cjs +118 -0
  28. package/dist/playwright/states.cjs.map +1 -0
  29. package/dist/playwright/states.d.cts +120 -0
  30. package/dist/playwright/states.d.ts +120 -0
  31. package/dist/playwright/states.js +88 -0
  32. package/dist/playwright/states.js.map +1 -0
  33. package/dist/react/index.cjs +163 -3255
  34. package/dist/react/index.cjs.map +1 -1
  35. package/dist/react/index.d.cts +62 -275
  36. package/dist/react/index.d.ts +62 -275
  37. package/dist/react/index.js +151 -3268
  38. package/dist/react/index.js.map +1 -1
  39. package/dist/scan/index.cjs +1194 -322
  40. package/dist/scan/index.cjs.map +1 -1
  41. package/dist/scan/index.d.cts +274 -8
  42. package/dist/scan/index.d.ts +274 -8
  43. package/dist/scan/index.js +1185 -322
  44. package/dist/scan/index.js.map +1 -1
  45. package/package.json +27 -31
  46. package/dist/cloud/index.cjs +0 -682
  47. package/dist/cloud/index.cjs.map +0 -1
  48. package/dist/cloud/index.d.cts +0 -270
  49. package/dist/cloud/index.d.ts +0 -270
  50. package/dist/cloud/index.js +0 -645
  51. package/dist/cloud/index.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uidex",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Convention-driven UI element registry and devtools surface for React apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,11 +17,6 @@
17
17
  "import": "./dist/react/index.js",
18
18
  "require": "./dist/react/index.cjs"
19
19
  },
20
- "./cloud": {
21
- "types": "./dist/cloud/index.d.ts",
22
- "import": "./dist/cloud/index.js",
23
- "require": "./dist/cloud/index.cjs"
24
- },
25
20
  "./headless": {
26
21
  "types": "./dist/headless/index.d.ts",
27
22
  "import": "./dist/headless/index.js",
@@ -41,6 +36,16 @@
41
36
  "types": "./dist/playwright/reporter.d.ts",
42
37
  "import": "./dist/playwright/reporter.js",
43
38
  "require": "./dist/playwright/reporter.cjs"
39
+ },
40
+ "./playwright/states-reporter": {
41
+ "types": "./dist/playwright/states-reporter.d.ts",
42
+ "import": "./dist/playwright/states-reporter.js",
43
+ "require": "./dist/playwright/states-reporter.cjs"
44
+ },
45
+ "./playwright/states": {
46
+ "types": "./dist/playwright/states.d.ts",
47
+ "import": "./dist/playwright/states.js",
48
+ "require": "./dist/playwright/states.cjs"
44
49
  }
45
50
  },
46
51
  "sideEffects": false,
@@ -57,16 +62,24 @@
57
62
  "publishConfig": {
58
63
  "access": "public"
59
64
  },
65
+ "scripts": {
66
+ "dev": "tsup --watch",
67
+ "build": "pnpm run build:css && pnpm run typecheck && tsup && pnpm run check:bundles",
68
+ "build:css": "tailwindcss --input src/browser/styles/tailwind.css --output src/browser/styles/tailwind.built.css",
69
+ "check:bundles": "node scripts/check-bundles.mjs",
70
+ "test": "vitest run",
71
+ "test:watch": "vitest",
72
+ "lint": "eslint src/",
73
+ "typecheck": "tsc --noEmit",
74
+ "views-map": "tsx scripts/extract-views-map.ts",
75
+ "views-map:check": "tsx scripts/extract-views-map.ts --check"
76
+ },
60
77
  "dependencies": {
61
78
  "@clack/prompts": "^1.2.0",
62
- "@hey-api/client-fetch": "^0.10.0",
63
79
  "@zag-js/core": "^1.40.0",
64
- "@zag-js/dialog": "^1.40.0",
65
80
  "@zag-js/menu": "^1.40.0",
66
81
  "@zag-js/popover": "^1.40.0",
67
- "@zag-js/react": "^1.40.0",
68
82
  "@zag-js/scroll-area": "^1.40.0",
69
- "@zag-js/tabs": "^1.40.0",
70
83
  "@zag-js/tooltip": "^1.40.0",
71
84
  "@zag-js/types": "^1.40.0",
72
85
  "@zag-js/utils": "^1.40.0",
@@ -77,12 +90,9 @@
77
90
  "modern-screenshot": "^4.7.0",
78
91
  "oxc-parser": "^0.135.0",
79
92
  "tailwind-merge": "^3.5.0",
80
- "xstate": "^5.30.0",
81
- "zod": "^4.3.6",
82
93
  "zustand": "^5.0.2"
83
94
  },
84
95
  "devDependencies": {
85
- "@hey-api/client-fetch": "^0.10.0",
86
96
  "@playwright/test": "^1.58.2",
87
97
  "@tailwindcss/cli": "^4.2.2",
88
98
  "@testing-library/jest-dom": "^6.6.3",
@@ -90,6 +100,8 @@
90
100
  "@types/node": "^22.10.5",
91
101
  "@types/react": "^19.2.14",
92
102
  "@types/react-dom": "^19.2.3",
103
+ "@uidex/eslint-config": "workspace:*",
104
+ "@uidex/tsconfig": "workspace:*",
93
105
  "@vitejs/plugin-react": "^4.3.4",
94
106
  "eslint": "^9.18.0",
95
107
  "jsdom": "^26.0.0",
@@ -99,10 +111,7 @@
99
111
  "tsup": "^8.3.5",
100
112
  "tsx": "^4.7.0",
101
113
  "typescript": "^5.9.3",
102
- "vitest": "^2.1.8",
103
- "@uidex/api-client": "0.0.1",
104
- "@uidex/eslint-config": "0.0.0",
105
- "@uidex/tsconfig": "0.0.0"
114
+ "vitest": "^2.1.8"
106
115
  },
107
116
  "keywords": [
108
117
  "uidex",
@@ -117,18 +126,5 @@
117
126
  "repository": {
118
127
  "type": "git",
119
128
  "url": "https://github.com/soel/uidex"
120
- },
121
- "scripts": {
122
- "dev": "tsup --watch",
123
- "build": "pnpm run generate:api-routes && pnpm run build:css && pnpm run typecheck && tsup && pnpm run check:bundles",
124
- "generate:api-routes": "tsx scripts/generate-api-routes.ts",
125
- "build:css": "tailwindcss --input src/browser/styles/tailwind.css --output src/browser/styles/tailwind.built.css",
126
- "check:bundles": "node scripts/check-bundles.mjs",
127
- "test": "vitest run",
128
- "test:watch": "vitest",
129
- "lint": "eslint src/",
130
- "typecheck": "tsc --noEmit",
131
- "views-map": "tsx scripts/extract-views-map.ts",
132
- "views-map:check": "tsx scripts/extract-views-map.ts --check"
133
129
  }
134
- }
130
+ }