uidex 0.7.0 → 0.9.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 +1112 -1054
  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 +1292 -345
  40. package/dist/scan/index.cjs.map +1 -1
  41. package/dist/scan/index.d.cts +305 -12
  42. package/dist/scan/index.d.ts +305 -12
  43. package/dist/scan/index.js +1283 -345
  44. package/dist/scan/index.js.map +1 -1
  45. package/package.json +12 -16
  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.9.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,
@@ -59,14 +64,10 @@
59
64
  },
60
65
  "dependencies": {
61
66
  "@clack/prompts": "^1.2.0",
62
- "@hey-api/client-fetch": "^0.10.0",
63
67
  "@zag-js/core": "^1.40.0",
64
- "@zag-js/dialog": "^1.40.0",
65
68
  "@zag-js/menu": "^1.40.0",
66
69
  "@zag-js/popover": "^1.40.0",
67
- "@zag-js/react": "^1.40.0",
68
70
  "@zag-js/scroll-area": "^1.40.0",
69
- "@zag-js/tabs": "^1.40.0",
70
71
  "@zag-js/tooltip": "^1.40.0",
71
72
  "@zag-js/types": "^1.40.0",
72
73
  "@zag-js/utils": "^1.40.0",
@@ -77,12 +78,9 @@
77
78
  "modern-screenshot": "^4.7.0",
78
79
  "oxc-parser": "^0.135.0",
79
80
  "tailwind-merge": "^3.5.0",
80
- "xstate": "^5.30.0",
81
- "zod": "^4.3.6",
82
81
  "zustand": "^5.0.2"
83
82
  },
84
83
  "devDependencies": {
85
- "@hey-api/client-fetch": "^0.10.0",
86
84
  "@playwright/test": "^1.58.2",
87
85
  "@tailwindcss/cli": "^4.2.2",
88
86
  "@testing-library/jest-dom": "^6.6.3",
@@ -100,7 +98,6 @@
100
98
  "tsx": "^4.7.0",
101
99
  "typescript": "^5.9.3",
102
100
  "vitest": "^2.1.8",
103
- "@uidex/api-client": "0.0.1",
104
101
  "@uidex/eslint-config": "0.0.0",
105
102
  "@uidex/tsconfig": "0.0.0"
106
103
  },
@@ -120,8 +117,7 @@
120
117
  },
121
118
  "scripts": {
122
119
  "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",
120
+ "build": "pnpm run build:css && pnpm run typecheck && tsup && pnpm run check:bundles",
125
121
  "build:css": "tailwindcss --input src/browser/styles/tailwind.css --output src/browser/styles/tailwind.built.css",
126
122
  "check:bundles": "node scripts/check-bundles.mjs",
127
123
  "test": "vitest run",