uidex 0.2.1 → 0.3.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 (61) hide show
  1. package/README.md +263 -263
  2. package/dist/cli/cli.cjs +3243 -0
  3. package/dist/cli/cli.cjs.map +1 -0
  4. package/dist/cloud/index.cjs +149 -0
  5. package/dist/cloud/index.cjs.map +1 -0
  6. package/dist/cloud/index.d.cts +108 -0
  7. package/dist/cloud/index.d.ts +108 -0
  8. package/dist/cloud/index.js +120 -0
  9. package/dist/cloud/index.js.map +1 -0
  10. package/dist/headless/index.cjs +3580 -0
  11. package/dist/headless/index.cjs.map +1 -0
  12. package/dist/headless/index.d.cts +214 -0
  13. package/dist/headless/index.d.ts +214 -0
  14. package/dist/headless/index.js +3562 -0
  15. package/dist/headless/index.js.map +1 -0
  16. package/dist/index.cjs +7977 -3301
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +898 -108
  19. package/dist/index.d.ts +898 -108
  20. package/dist/index.js +7934 -3270
  21. package/dist/index.js.map +1 -1
  22. package/dist/playwright/index.cjs +164 -24
  23. package/dist/playwright/index.cjs.map +1 -1
  24. package/dist/playwright/index.d.cts +32 -55
  25. package/dist/playwright/index.d.ts +32 -55
  26. package/dist/playwright/index.js +148 -21
  27. package/dist/playwright/index.js.map +1 -1
  28. package/dist/playwright/reporter.cjs +62 -28
  29. package/dist/playwright/reporter.cjs.map +1 -1
  30. package/dist/playwright/reporter.d.cts +24 -12
  31. package/dist/playwright/reporter.d.ts +24 -12
  32. package/dist/playwright/reporter.js +62 -28
  33. package/dist/playwright/reporter.js.map +1 -1
  34. package/dist/react/index.cjs +7970 -3267
  35. package/dist/react/index.cjs.map +1 -1
  36. package/dist/react/index.d.cts +670 -108
  37. package/dist/react/index.d.ts +670 -108
  38. package/dist/react/index.js +8016 -3274
  39. package/dist/react/index.js.map +1 -1
  40. package/dist/scan/index.cjs +3281 -0
  41. package/dist/scan/index.cjs.map +1 -0
  42. package/dist/scan/index.d.cts +373 -0
  43. package/dist/scan/index.d.ts +373 -0
  44. package/dist/scan/index.js +3224 -0
  45. package/dist/scan/index.js.map +1 -0
  46. package/package.json +74 -56
  47. package/templates/claude/audit.md +37 -0
  48. package/templates/claude/rules.md +212 -0
  49. package/claude/audit-command.md +0 -16
  50. package/claude/rules.md +0 -88
  51. package/dist/core/index.cjs +0 -3490
  52. package/dist/core/index.cjs.map +0 -1
  53. package/dist/core/index.d.cts +0 -441
  54. package/dist/core/index.d.ts +0 -441
  55. package/dist/core/index.global.js +0 -3469
  56. package/dist/core/index.global.js.map +0 -1
  57. package/dist/core/index.js +0 -3444
  58. package/dist/core/index.js.map +0 -1
  59. package/dist/core/style.css +0 -971
  60. package/dist/scripts/cli.cjs +0 -1168
  61. package/uidex.schema.json +0 -93
package/uidex.schema.json DELETED
@@ -1,93 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "uidex configuration",
4
- "type": "object",
5
- "properties": {
6
- "defaults": {
7
- "type": "object",
8
- "description": "Default values for annotation components",
9
- "properties": {
10
- "color": {
11
- "type": "string",
12
- "description": "Default highlight color (hex)",
13
- "pattern": "^#[0-9a-fA-F]{6}$"
14
- },
15
- "borderStyle": {
16
- "type": "string",
17
- "enum": ["solid", "dashed", "dotted"],
18
- "description": "Default border style"
19
- },
20
- "borderWidth": {
21
- "type": "number",
22
- "minimum": 1,
23
- "maximum": 10,
24
- "description": "Default border width in pixels"
25
- },
26
- "showLabel": {
27
- "type": "boolean",
28
- "description": "Whether to show labels by default"
29
- },
30
- "labelPosition": {
31
- "type": "string",
32
- "enum": ["top-left", "top-right", "bottom-left", "bottom-right"],
33
- "description": "Default label position"
34
- }
35
- }
36
- },
37
- "colors": {
38
- "type": "object",
39
- "description": "Named color presets",
40
- "additionalProperties": {
41
- "type": "string",
42
- "pattern": "^#[0-9a-fA-F]{6}$"
43
- }
44
- },
45
- "disabled": {
46
- "type": "boolean",
47
- "description": "Globally disable all annotations"
48
- },
49
- "scanner": {
50
- "type": "object",
51
- "description": "Configuration for the build-time annotation scanner",
52
- "properties": {
53
- "sources": {
54
- "type": "array",
55
- "description": "Source directories to scan",
56
- "items": {
57
- "type": "object",
58
- "required": ["rootDir", "include"],
59
- "properties": {
60
- "rootDir": {
61
- "type": "string",
62
- "description": "Root directory for this source (e.g., 'src' or '../packages/ui/src')"
63
- },
64
- "include": {
65
- "type": "array",
66
- "items": { "type": "string" },
67
- "description": "Glob patterns for files to scan within this source"
68
- },
69
- "exclude": {
70
- "type": "array",
71
- "items": { "type": "string" },
72
- "description": "Additional exclude patterns specific to this source"
73
- },
74
- "prefix": {
75
- "type": "string",
76
- "description": "Prefix for filePath in output (e.g., '@myorg/ui' results in '@myorg/ui/Button.tsx')"
77
- }
78
- }
79
- }
80
- },
81
- "exclude": {
82
- "type": "array",
83
- "items": { "type": "string" },
84
- "description": "Global glob patterns for files to exclude (e.g., ['**/*.test.*'])"
85
- },
86
- "outputPath": {
87
- "type": "string",
88
- "description": "Path for the generated TypeScript file (e.g., 'src/generated/annotations.ts')"
89
- }
90
- }
91
- }
92
- }
93
- }