@structyl/primitives 1.0.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.
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@structyl/primitives",
3
+ "version": "1.0.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "Headless, WAI-ARIA accessible React primitives with compound APIs, asChild slots, and controlled/uncontrolled state — behavior without styling.",
8
+ "keywords": [
9
+ "react",
10
+ "typescript",
11
+ "structyl",
12
+ "primitives",
13
+ "headless",
14
+ "accessibility",
15
+ "wai-aria",
16
+ "a11y",
17
+ "compound-components",
18
+ "ui-components",
19
+ "unstyled",
20
+ "aschild"
21
+ ],
22
+ "license": "MIT",
23
+ "type": "module",
24
+ "sideEffects": false,
25
+ "main": "./dist/index.cjs",
26
+ "module": "./dist/index.mjs",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.mjs",
32
+ "require": "./dist/index.cjs"
33
+ }
34
+ },
35
+ "files": [
36
+ "dist"
37
+ ],
38
+ "dependencies": {
39
+ "@structyl/core": "1.0.0",
40
+ "@structyl/hooks": "1.0.0",
41
+ "@structyl/utils": "1.0.0"
42
+ },
43
+ "peerDependencies": {
44
+ "react": "^18.0.0 || ^19.0.0",
45
+ "react-dom": "^18.0.0 || ^19.0.0"
46
+ },
47
+ "devDependencies": {
48
+ "@testing-library/jest-dom": "^6.5.0",
49
+ "@testing-library/react": "^16.0.1",
50
+ "@testing-library/user-event": "^14.5.2",
51
+ "@types/react": "^19.0.0",
52
+ "@types/react-dom": "^19.0.0",
53
+ "jest-axe": "^9.0.0",
54
+ "jsdom": "^25.0.1",
55
+ "react": "^19.0.0",
56
+ "react-dom": "^19.0.0",
57
+ "tsup": "^8.3.0",
58
+ "typescript": "^5.6.3",
59
+ "vitest": "^2.1.2"
60
+ },
61
+ "scripts": {
62
+ "build": "tsup",
63
+ "dev": "tsup --watch",
64
+ "lint": "eslint src",
65
+ "test": "vitest run",
66
+ "test:watch": "vitest",
67
+ "typecheck": "tsc --noEmit",
68
+ "clean": "rm -rf dist .turbo"
69
+ }
70
+ }