aporia 0.1.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.
@@ -0,0 +1,3 @@
1
+ /** True when a keyboard shortcut should not steal focus from editable fields. */
2
+ export declare function isTextInputTarget(target: EventTarget | null): boolean;
3
+ //# sourceMappingURL=isTextInputTarget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isTextInputTarget.d.ts","sourceRoot":"","sources":["../../src/utils/isTextInputTarget.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,WAiB3D"}
package/package.json ADDED
@@ -0,0 +1,78 @@
1
+ {
2
+ "name": "aporia",
3
+ "version": "0.1.0",
4
+ "description": "A collection of production-quality React components for building configurators - sliders, color pickers, gradient editors, toggles, and more.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./styles.css": "./dist/style.css"
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
21
+ "sideEffects": [
22
+ "**/*.css"
23
+ ],
24
+ "scripts": {
25
+ "dev": "vite",
26
+ "build": "vite build",
27
+ "build:app": "tsc -b && vite build",
28
+ "lint": "eslint .",
29
+ "preview": "vite preview",
30
+ "prepublishOnly": "npm run build"
31
+ },
32
+ "peerDependencies": {
33
+ "@base-ui/react": ">=1.0.0",
34
+ "motion": ">=12.0.0",
35
+ "react": ">=18.0.0",
36
+ "react-dom": ">=18.0.0"
37
+ },
38
+ "devDependencies": {
39
+ "@base-ui/react": "^1.3.0",
40
+ "@eslint/js": "^9.39.4",
41
+ "@types/node": "^24.12.0",
42
+ "@types/react": "^19.2.14",
43
+ "@types/react-dom": "^19.2.3",
44
+ "@vitejs/plugin-react": "^4.3.4",
45
+ "eslint": "^9.39.4",
46
+ "eslint-plugin-react-hooks": "^7.0.1",
47
+ "eslint-plugin-react-refresh": "^0.5.2",
48
+ "globals": "^17.4.0",
49
+ "motion": "^12.38.0",
50
+ "react": "^19.2.4",
51
+ "react-dom": "^19.2.4",
52
+ "typescript": "~5.9.3",
53
+ "typescript-eslint": "^8.57.0",
54
+ "vercel": "^50.39.0",
55
+ "vite": "^5.4.11",
56
+ "vite-plugin-dts": "^4.5.4"
57
+ },
58
+ "keywords": [
59
+ "react",
60
+ "components",
61
+ "configurator",
62
+ "slider",
63
+ "color-picker",
64
+ "gradient",
65
+ "toggle",
66
+ "ui",
67
+ "design-system"
68
+ ],
69
+ "license": "MIT",
70
+ "repository": {
71
+ "type": "git",
72
+ "url": "https://github.com/nico-frey/aporia.git"
73
+ },
74
+ "bugs": {
75
+ "url": "https://github.com/nico-frey/aporia/issues"
76
+ },
77
+ "homepage": "https://github.com/nico-frey/aporia#readme"
78
+ }