@nous-research/ui 0.2.6 → 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.
- package/README.md +42 -3
- package/dist/fonts.d.ts +1 -0
- package/dist/fonts.d.ts.map +1 -0
- package/dist/fonts.js.map +1 -1
- package/dist/hooks/use-capped-frame.d.ts +1 -0
- package/dist/hooks/use-capped-frame.d.ts.map +1 -0
- package/dist/hooks/use-capped-frame.js.map +1 -1
- package/dist/hooks/use-css-var-dims.d.ts +1 -0
- package/dist/hooks/use-css-var-dims.d.ts.map +1 -0
- package/dist/hooks/use-css-var-dims.js.map +1 -1
- package/dist/hooks/use-gpu-tier.d.ts +1 -0
- package/dist/hooks/use-gpu-tier.d.ts.map +1 -0
- package/dist/hooks/use-gpu-tier.js.map +1 -1
- package/dist/hooks/use-smooth-controls.d.ts +1 -0
- package/dist/hooks/use-smooth-controls.d.ts.map +1 -0
- package/dist/hooks/use-smooth-controls.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js.map +1 -1
- package/dist/ui/basic-page.d.ts +1 -0
- package/dist/ui/basic-page.d.ts.map +1 -0
- package/dist/ui/basic-page.js.map +1 -1
- package/dist/ui/components/animated-count.d.ts +1 -0
- package/dist/ui/components/animated-count.d.ts.map +1 -0
- package/dist/ui/components/animated-count.js.map +1 -1
- package/dist/ui/components/ascii.d.ts +1 -0
- package/dist/ui/components/ascii.d.ts.map +1 -0
- package/dist/ui/components/ascii.js.map +1 -1
- package/dist/ui/components/badge.d.ts +1 -0
- package/dist/ui/components/badge.d.ts.map +1 -0
- package/dist/ui/components/badge.js.map +1 -1
- package/dist/ui/components/badges/nous-girl.d.ts +1 -0
- package/dist/ui/components/badges/nous-girl.d.ts.map +1 -0
- package/dist/ui/components/badges/nous-girl.js.map +1 -1
- package/dist/ui/components/blend-mode.d.ts +1 -0
- package/dist/ui/components/blend-mode.d.ts.map +1 -0
- package/dist/ui/components/blend-mode.js.map +1 -1
- package/dist/ui/components/blink.d.ts +1 -0
- package/dist/ui/components/blink.d.ts.map +1 -0
- package/dist/ui/components/blink.js.map +1 -1
- package/dist/ui/components/button.d.ts +1 -0
- package/dist/ui/components/button.d.ts.map +1 -0
- package/dist/ui/components/button.js.map +1 -1
- package/dist/ui/components/cursor.d.ts +1 -0
- package/dist/ui/components/cursor.d.ts.map +1 -0
- package/dist/ui/components/cursor.js.map +1 -1
- package/dist/ui/components/dropdown-menu.d.ts +1 -0
- package/dist/ui/components/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/components/dropdown-menu.js.map +1 -1
- package/dist/ui/components/fit-text/index.d.ts +1 -0
- package/dist/ui/components/fit-text/index.d.ts.map +1 -0
- package/dist/ui/components/fit-text/index.js.map +1 -1
- package/dist/ui/components/graphs/bar-chart.d.ts +1 -0
- package/dist/ui/components/graphs/bar-chart.d.ts.map +1 -0
- package/dist/ui/components/graphs/bar-chart.js.map +1 -1
- package/dist/ui/components/graphs/index.d.ts +1 -0
- package/dist/ui/components/graphs/index.d.ts.map +1 -0
- package/dist/ui/components/graphs/index.js.map +1 -1
- package/dist/ui/components/graphs/line-chart.d.ts +1 -0
- package/dist/ui/components/graphs/line-chart.d.ts.map +1 -0
- package/dist/ui/components/graphs/line-chart.js.map +1 -1
- package/dist/ui/components/graphs/utils.d.ts +1 -0
- package/dist/ui/components/graphs/utils.d.ts.map +1 -0
- package/dist/ui/components/graphs/utils.js.map +1 -1
- package/dist/ui/components/grid/index.d.ts +1 -0
- package/dist/ui/components/grid/index.d.ts.map +1 -0
- package/dist/ui/components/grid/index.js.map +1 -1
- package/dist/ui/components/hover-bg.d.ts +1 -0
- package/dist/ui/components/hover-bg.d.ts.map +1 -0
- package/dist/ui/components/hover-bg.js.map +1 -1
- package/dist/ui/components/icons/arrow.d.ts +1 -0
- package/dist/ui/components/icons/arrow.d.ts.map +1 -0
- package/dist/ui/components/icons/arrow.js.map +1 -1
- package/dist/ui/components/icons/chevron.d.ts +1 -0
- package/dist/ui/components/icons/chevron.d.ts.map +1 -0
- package/dist/ui/components/icons/chevron.js.map +1 -1
- package/dist/ui/components/icons/eye.d.ts +1 -0
- package/dist/ui/components/icons/eye.d.ts.map +1 -0
- package/dist/ui/components/icons/eye.js.map +1 -1
- package/dist/ui/components/icons/gear.d.ts +1 -0
- package/dist/ui/components/icons/gear.d.ts.map +1 -0
- package/dist/ui/components/icons/gear.js.map +1 -1
- package/dist/ui/components/icons/heart.d.ts +1 -0
- package/dist/ui/components/icons/heart.d.ts.map +1 -0
- package/dist/ui/components/icons/heart.js.map +1 -1
- package/dist/ui/components/icons/index.d.ts +1 -0
- package/dist/ui/components/icons/index.d.ts.map +1 -0
- package/dist/ui/components/icons/index.js.map +1 -1
- package/dist/ui/components/icons/link.d.ts +1 -0
- package/dist/ui/components/icons/link.d.ts.map +1 -0
- package/dist/ui/components/icons/link.js.map +1 -1
- package/dist/ui/components/icons/minus.d.ts +1 -0
- package/dist/ui/components/icons/minus.d.ts.map +1 -0
- package/dist/ui/components/icons/minus.js.map +1 -1
- package/dist/ui/components/icons/search.d.ts +1 -0
- package/dist/ui/components/icons/search.d.ts.map +1 -0
- package/dist/ui/components/icons/search.js.map +1 -1
- package/dist/ui/components/leva-client.d.ts +1 -0
- package/dist/ui/components/leva-client.d.ts.map +1 -0
- package/dist/ui/components/leva-client.js.map +1 -1
- package/dist/ui/components/modal/index.d.ts +1 -0
- package/dist/ui/components/modal/index.d.ts.map +1 -0
- package/dist/ui/components/modal/index.js.map +1 -1
- package/dist/ui/components/overlays/glitch.d.ts +1 -0
- package/dist/ui/components/overlays/glitch.d.ts.map +1 -0
- package/dist/ui/components/overlays/glitch.js.map +1 -1
- package/dist/ui/components/overlays/greys.d.ts +1 -0
- package/dist/ui/components/overlays/greys.d.ts.map +1 -0
- package/dist/ui/components/overlays/greys.js.map +1 -1
- package/dist/ui/components/overlays/index.d.ts +1 -0
- package/dist/ui/components/overlays/index.d.ts.map +1 -0
- package/dist/ui/components/overlays/index.js.map +1 -1
- package/dist/ui/components/overlays/noise.d.ts +1 -0
- package/dist/ui/components/overlays/noise.d.ts.map +1 -0
- package/dist/ui/components/overlays/noise.js.map +1 -1
- package/dist/ui/components/overlays/vignette.d.ts +1 -0
- package/dist/ui/components/overlays/vignette.d.ts.map +1 -0
- package/dist/ui/components/overlays/vignette.js.map +1 -1
- package/dist/ui/components/progress.d.ts +1 -0
- package/dist/ui/components/progress.d.ts.map +1 -0
- package/dist/ui/components/progress.js.map +1 -1
- package/dist/ui/components/scene-canvas.d.ts +1 -0
- package/dist/ui/components/scene-canvas.d.ts.map +1 -0
- package/dist/ui/components/scene-canvas.js.map +1 -1
- package/dist/ui/components/scramble.d.ts +1 -0
- package/dist/ui/components/scramble.d.ts.map +1 -0
- package/dist/ui/components/scramble.js.map +1 -1
- package/dist/ui/components/selection-switcher.d.ts +1 -0
- package/dist/ui/components/selection-switcher.d.ts.map +1 -0
- package/dist/ui/components/selection-switcher.js.map +1 -1
- package/dist/ui/components/shader.d.ts +1 -0
- package/dist/ui/components/shader.d.ts.map +1 -0
- package/dist/ui/components/shader.js.map +1 -1
- package/dist/ui/components/stats.d.ts +10 -3
- package/dist/ui/components/stats.d.ts.map +1 -0
- package/dist/ui/components/stats.js +3 -3
- package/dist/ui/components/stats.js.map +1 -1
- package/dist/ui/components/tv.d.ts +1 -0
- package/dist/ui/components/tv.d.ts.map +1 -0
- package/dist/ui/components/tv.js.map +1 -1
- package/dist/ui/components/typography/h1.d.ts +1 -0
- package/dist/ui/components/typography/h1.d.ts.map +1 -0
- package/dist/ui/components/typography/h1.js.map +1 -1
- package/dist/ui/components/typography/h2.d.ts +1 -0
- package/dist/ui/components/typography/h2.d.ts.map +1 -0
- package/dist/ui/components/typography/h2.js.map +1 -1
- package/dist/ui/components/typography/index.d.ts +1 -0
- package/dist/ui/components/typography/index.d.ts.map +1 -0
- package/dist/ui/components/typography/index.js.map +1 -1
- package/dist/ui/components/typography/legend.d.ts +1 -0
- package/dist/ui/components/typography/legend.d.ts.map +1 -0
- package/dist/ui/components/typography/legend.js.map +1 -1
- package/dist/ui/components/typography/small.d.ts +1 -0
- package/dist/ui/components/typography/small.d.ts.map +1 -0
- package/dist/ui/components/typography/small.js.map +1 -1
- package/dist/ui/components/watchlist.d.ts +1 -0
- package/dist/ui/components/watchlist.d.ts.map +1 -0
- package/dist/ui/components/watchlist.js.map +1 -1
- package/dist/ui/footer.d.ts +6 -1
- package/dist/ui/footer.d.ts.map +1 -0
- package/dist/ui/footer.js +2 -3
- package/dist/ui/footer.js.map +1 -1
- package/dist/ui/header.d.ts +6 -1
- package/dist/ui/header.d.ts.map +1 -0
- package/dist/ui/header.js +2 -3
- package/dist/ui/header.js.map +1 -1
- package/dist/ui/layout-wrapper.d.ts +1 -0
- package/dist/ui/layout-wrapper.d.ts.map +1 -0
- package/dist/ui/layout-wrapper.js.map +1 -1
- package/dist/utils/color.d.ts +1 -0
- package/dist/utils/color.d.ts.map +1 -0
- package/dist/utils/color.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/poly.d.ts +1 -0
- package/dist/utils/poly.d.ts.map +1 -0
- package/dist/utils/poly.js.map +1 -1
- package/package.json +17 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nous-research/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -46,23 +46,32 @@
|
|
|
46
46
|
"tw-animate-css": "^1.4.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
+
"@observablehq/plot": "^0.6.17",
|
|
50
|
+
"@react-three/fiber": "^9.4.0",
|
|
51
|
+
"@storybook/addon-a11y": "^10.3.1",
|
|
52
|
+
"@storybook/addon-docs": "^10.3.1",
|
|
53
|
+
"@storybook/react-vite": "^10.3.1",
|
|
49
54
|
"@tailwindcss/cli": "^4",
|
|
50
|
-
"@tailwindcss/
|
|
55
|
+
"@tailwindcss/vite": "^4",
|
|
51
56
|
"@types/node": "25.6.0",
|
|
52
57
|
"@types/react": "^19.2.3",
|
|
53
58
|
"@types/react-dom": "^19.2.3",
|
|
54
59
|
"@types/sanitize-html": "^2.16.0",
|
|
55
60
|
"@types/three": "^0.183.1",
|
|
56
|
-
"
|
|
61
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
62
|
+
"gsap": "^3.13.0",
|
|
63
|
+
"leva": "^0.10.1",
|
|
64
|
+
"storybook": "^10.3.1",
|
|
57
65
|
"tailwindcss": "^4",
|
|
58
|
-
"
|
|
66
|
+
"three": "^0.180.0",
|
|
67
|
+
"typescript": "^5",
|
|
68
|
+
"vite": "^6.0.0"
|
|
59
69
|
},
|
|
60
70
|
"peerDependencies": {
|
|
61
71
|
"@observablehq/plot": "^0.6.17",
|
|
62
72
|
"@react-three/fiber": "^9.4.0",
|
|
63
73
|
"gsap": "^3.13.0",
|
|
64
74
|
"leva": "^0.10.1",
|
|
65
|
-
"next-view-transitions": "^0.3.5",
|
|
66
75
|
"react": "^19.0.0",
|
|
67
76
|
"react-dom": "^19.0.0",
|
|
68
77
|
"three": "^0.180.0"
|
|
@@ -82,15 +91,13 @@
|
|
|
82
91
|
},
|
|
83
92
|
"gsap": {
|
|
84
93
|
"optional": true
|
|
85
|
-
},
|
|
86
|
-
"next-view-transitions": {
|
|
87
|
-
"optional": true
|
|
88
94
|
}
|
|
89
95
|
},
|
|
90
96
|
"scripts": {
|
|
91
|
-
"dev": "
|
|
97
|
+
"dev": "storybook dev -p 6006",
|
|
92
98
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && cp -r src/assets dist/assets && cp -r src/fonts dist/fonts && cd src && find . -name '*.css' -exec sh -c 'mkdir -p \"../dist/$(dirname \"$1\")\" && cp \"$1\" \"../dist/$1\"' _ {} \\;",
|
|
93
|
-
"build:
|
|
99
|
+
"build:watch": "pnpm build && tsc -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
100
|
+
"build-storybook": "storybook build -o storybook-static",
|
|
94
101
|
"release": "./scripts/release.sh"
|
|
95
102
|
}
|
|
96
103
|
}
|