@pinfold/react 0.0.0-stage → 0.2.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/README.md +58 -2
- package/accordion/lazy/package.json +6 -0
- package/accordion/package.json +6 -0
- package/dist/accordion/client.cjs +491 -0
- package/dist/accordion/client.d.cts +34 -0
- package/dist/accordion/client.d.ts +34 -0
- package/dist/accordion/client.js +490 -0
- package/dist/accordion/index.cjs +49 -0
- package/dist/accordion/index.d.cts +56 -0
- package/dist/accordion/index.d.ts +56 -0
- package/dist/accordion/index.js +14 -0
- package/dist/accordion/lazy.cjs +17 -0
- package/dist/accordion/lazy.d.cts +16 -0
- package/dist/accordion/lazy.d.ts +16 -0
- package/dist/accordion/lazy.js +16 -0
- package/dist/chunk-5ZMK623A.js +61 -0
- package/dist/chunk-BPPCPHHU.js +70 -0
- package/dist/chunk-DQWSDHRY.cjs +71 -0
- package/dist/chunk-Q232PTPW.js +115 -0
- package/dist/chunk-RJPT3NTP.cjs +62 -0
- package/dist/chunk-VPKVOJHA.cjs +116 -0
- package/dist/client.cjs +30 -0
- package/dist/client.d.cts +120 -0
- package/dist/client.d.ts +120 -0
- package/dist/client.js +29 -0
- package/dist/index.cjs +52 -0
- package/dist/index.d.cts +123 -0
- package/dist/index.d.ts +123 -0
- package/dist/index.js +10 -0
- package/dist/types-CkcgnWwL.d.cts +367 -0
- package/dist/types-CkcgnWwL.d.ts +367 -0
- package/dist/types-N0Yo4zGa.d.cts +374 -0
- package/dist/types-N0Yo4zGa.d.ts +374 -0
- package/dist/validate-EQHBH4NH.cjs +42 -0
- package/dist/validate-WKHQNNGD.js +41 -0
- package/llms-full.txt +140 -0
- package/llms.txt +26 -0
- package/package.json +92 -4
- package/registry/accordion.json +20 -0
- package/registry/registry.json +25 -0
- package/schema/accordion.json +903 -0
package/package.json
CHANGED
|
@@ -1,6 +1,94 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinfold/react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Pinfold for React: hooks-first, config-driven, accessible components. One subpath per component.",
|
|
5
|
+
"author": "Indranil Bhattacharya",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"react",
|
|
8
|
+
"ui",
|
|
9
|
+
"components",
|
|
10
|
+
"accordion",
|
|
11
|
+
"hooks",
|
|
12
|
+
"accessibility",
|
|
13
|
+
"aria",
|
|
14
|
+
"design-system",
|
|
15
|
+
"pinfold"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"homepage": "https://pinfold.indranildev.in",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/IndranilBhattacharya/pinfold.git",
|
|
22
|
+
"directory": "packages/react"
|
|
23
|
+
},
|
|
24
|
+
"bugs": "https://github.com/IndranilBhattacharya/pinfold/issues",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"type": "module",
|
|
27
|
+
"main": "./dist/index.cjs",
|
|
28
|
+
"module": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"import": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"default": "./dist/index.js"
|
|
35
|
+
},
|
|
36
|
+
"require": {
|
|
37
|
+
"types": "./dist/index.d.cts",
|
|
38
|
+
"default": "./dist/index.cjs"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"./accordion": {
|
|
42
|
+
"import": {
|
|
43
|
+
"types": "./dist/accordion/index.d.ts",
|
|
44
|
+
"default": "./dist/accordion/index.js"
|
|
45
|
+
},
|
|
46
|
+
"require": {
|
|
47
|
+
"types": "./dist/accordion/index.d.cts",
|
|
48
|
+
"default": "./dist/accordion/index.cjs"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"./accordion/lazy": {
|
|
52
|
+
"import": {
|
|
53
|
+
"types": "./dist/accordion/lazy.d.ts",
|
|
54
|
+
"default": "./dist/accordion/lazy.js"
|
|
55
|
+
},
|
|
56
|
+
"require": {
|
|
57
|
+
"types": "./dist/accordion/lazy.d.cts",
|
|
58
|
+
"default": "./dist/accordion/lazy.cjs"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"./package.json": "./package.json"
|
|
62
|
+
},
|
|
63
|
+
"typesVersions": {
|
|
64
|
+
"*": {
|
|
65
|
+
"accordion": [
|
|
66
|
+
"./dist/accordion/index.d.cts"
|
|
67
|
+
],
|
|
68
|
+
"accordion/lazy": [
|
|
69
|
+
"./dist/accordion/lazy.d.cts"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"files": [
|
|
74
|
+
"dist",
|
|
75
|
+
"accordion",
|
|
76
|
+
"registry",
|
|
77
|
+
"schema",
|
|
78
|
+
"llms.txt",
|
|
79
|
+
"llms-full.txt"
|
|
80
|
+
],
|
|
81
|
+
"scripts": {
|
|
82
|
+
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsup && node ../../scripts/subpath-stubs.mjs && node ../../scripts/generate-artifacts.mjs"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@pinfold/core": "0.2.0"
|
|
86
|
+
},
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"react": ">=18"
|
|
89
|
+
},
|
|
90
|
+
"publishConfig": {
|
|
91
|
+
"access": "public",
|
|
92
|
+
"provenance": true
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "accordion",
|
|
4
|
+
"type": "registry:ui",
|
|
5
|
+
"title": "Accordion",
|
|
6
|
+
"description": "A vertically stacked set of headings that each reveal a section of content. Config in, accessible accordion out.",
|
|
7
|
+
"dependencies": [
|
|
8
|
+
"@pinfold/react@^0.2.0",
|
|
9
|
+
"@pinfold/css@^0.2.0"
|
|
10
|
+
],
|
|
11
|
+
"files": [
|
|
12
|
+
{
|
|
13
|
+
"path": "components/ui/accordion.tsx",
|
|
14
|
+
"type": "registry:ui",
|
|
15
|
+
"target": "components/ui/accordion.tsx",
|
|
16
|
+
"content": "import '@pinfold/css/core.css';\nimport '@pinfold/css/accordion.css';\n\n/**\n * Pinfold accordion. This file is yours: import from here across the app,\n * and change shared defaults in one place.\n * Docs: https://pinfold.indranildev.in/docs/accordion\n */\nexport { useAccordion, defineAccordion, Accordion } from '@pinfold/react/accordion';\nexport type { AccordionConfig, AccordionItemConfig, AccordionApi } from '@pinfold/react/accordion';\n"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"docs": "https://pinfold.indranildev.in/docs/accordion"
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry.json",
|
|
3
|
+
"name": "pinfold",
|
|
4
|
+
"homepage": "https://pinfold.indranildev.in",
|
|
5
|
+
"items": [
|
|
6
|
+
{
|
|
7
|
+
"name": "accordion",
|
|
8
|
+
"type": "registry:ui",
|
|
9
|
+
"title": "Accordion",
|
|
10
|
+
"description": "A vertically stacked set of headings that each reveal a section of content. Config in, accessible accordion out.",
|
|
11
|
+
"dependencies": [
|
|
12
|
+
"@pinfold/react@^0.2.0",
|
|
13
|
+
"@pinfold/css@^0.2.0"
|
|
14
|
+
],
|
|
15
|
+
"files": [
|
|
16
|
+
{
|
|
17
|
+
"path": "components/ui/accordion.tsx",
|
|
18
|
+
"type": "registry:ui",
|
|
19
|
+
"target": "components/ui/accordion.tsx"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"docs": "https://pinfold.indranildev.in/docs/accordion"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|