@underverse-ui/underverse 1.0.28 → 1.0.30
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/AGENTS.md +87 -0
- package/README.md +15 -0
- package/agent-recipes.json +42 -0
- package/api-reference.json +1499 -0
- package/dist/index.cjs +16 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -12
- package/dist/index.js.map +1 -1
- package/llms.txt +49 -0
- package/package.json +9 -3
package/llms.txt
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# @underverse-ui/underverse
|
|
2
|
+
|
|
3
|
+
Short machine-readable guide for coding assistants.
|
|
4
|
+
|
|
5
|
+
- Import from: `@underverse-ui/underverse`
|
|
6
|
+
- Do not deep-import internal source files.
|
|
7
|
+
- Primary API index: `api-reference.json`
|
|
8
|
+
- Human + agent usage rules: `AGENTS.md`
|
|
9
|
+
- Framework recipes: `agent-recipes.json`
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm i @underverse-ui/underverse
|
|
15
|
+
npm i react react-dom
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Optional peers for Next.js / i18n:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm i next next-intl
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Basic usage
|
|
25
|
+
|
|
26
|
+
```tsx
|
|
27
|
+
import { Button } from "@underverse-ui/underverse";
|
|
28
|
+
|
|
29
|
+
export function Example() {
|
|
30
|
+
return <Button>Click</Button>;
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Overlay scrollbars
|
|
35
|
+
|
|
36
|
+
```tsx
|
|
37
|
+
import "overlayscrollbars/overlayscrollbars.css";
|
|
38
|
+
import { OverlayScrollbarProvider } from "@underverse-ui/underverse";
|
|
39
|
+
|
|
40
|
+
export default function App() {
|
|
41
|
+
return (
|
|
42
|
+
<>
|
|
43
|
+
<OverlayScrollbarProvider />
|
|
44
|
+
{/* app */}
|
|
45
|
+
</>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@underverse-ui/underverse",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Underverse UI – reusable React/Next.js UI components",
|
|
6
6
|
"type": "module",
|
|
@@ -26,12 +26,18 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
|
-
"dist"
|
|
29
|
+
"dist",
|
|
30
|
+
"AGENTS.md",
|
|
31
|
+
"api-reference.json",
|
|
32
|
+
"llms.txt",
|
|
33
|
+
"agent-recipes.json"
|
|
30
34
|
],
|
|
31
35
|
"sideEffects": false,
|
|
32
36
|
"scripts": {
|
|
33
37
|
"dev": "tsup --config tsup.config.ts --watch",
|
|
34
|
-
"
|
|
38
|
+
"generate:api": "node ./scripts/generate-api-reference.mjs",
|
|
39
|
+
"verify:agent-metadata": "npm run generate:api && node ./scripts/verify-agent-metadata.mjs",
|
|
40
|
+
"build": "npm run generate:api && tsup --config tsup.config.ts",
|
|
35
41
|
"clean": "rimraf dist",
|
|
36
42
|
"prepublishOnly": "npm run clean && npm run build",
|
|
37
43
|
"release": "node ./scripts/release.mjs",
|