@ultraviolet/nextjs 3.0.22 → 3.0.24
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 +8 -7
- package/dist/ThemeRegistry.d.ts.map +1 -1
- package/package.json +32 -32
package/README.md
CHANGED
|
@@ -42,17 +42,18 @@ export default function RootLayout({
|
|
|
42
42
|
### Limitations
|
|
43
43
|
|
|
44
44
|
- **Fonts**: Ultraviolet UI uses custom fonts that need to be imported separately. Make sure to import the fonts CSS file in your project's entry point:
|
|
45
|
+
|
|
45
46
|
```sh
|
|
46
47
|
pnpm add @ultraviolet/fonts
|
|
47
48
|
```
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
then in you `GlobalStyle` file:
|
|
51
|
+
|
|
52
|
+
```tsx
|
|
53
|
+
'use client'
|
|
54
|
+
|
|
55
|
+
import '@ultraviolet/fonts/fonts.css'
|
|
56
|
+
```
|
|
56
57
|
|
|
57
58
|
## Documentation
|
|
58
59
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeRegistry.d.ts","sourceRoot":"","sources":["../src/ThemeRegistry.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"ThemeRegistry.d.ts","sourceRoot":"","sources":["../src/ThemeRegistry.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC,OAAO,CAAC,CAAA;CACrD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,sFAEzB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,39 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/nextjs",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.24",
|
|
4
4
|
"description": "Ultraviolet NextJS utility package",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nextjs",
|
|
7
|
+
"react",
|
|
8
|
+
"reactjs",
|
|
9
|
+
"ui"
|
|
10
|
+
],
|
|
5
11
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
12
|
+
"license": "Apache-2.0",
|
|
6
13
|
"repository": {
|
|
7
14
|
"type": "git",
|
|
8
15
|
"url": "git+https://github.com/scaleway/ultraviolet.git",
|
|
9
16
|
"directory": "packages/nextjs"
|
|
10
17
|
},
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"reactjs",
|
|
14
|
-
"ui",
|
|
15
|
-
"nextjs"
|
|
18
|
+
"files": [
|
|
19
|
+
"dist/"
|
|
16
20
|
],
|
|
17
|
-
"license": "Apache-2.0",
|
|
18
|
-
"publishConfig": {
|
|
19
|
-
"access": "public"
|
|
20
|
-
},
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=18.x",
|
|
23
|
-
"pnpm": ">=9.x"
|
|
24
|
-
},
|
|
25
21
|
"os": [
|
|
26
22
|
"darwin",
|
|
27
23
|
"linux"
|
|
28
24
|
],
|
|
29
|
-
"sideEffects": false,
|
|
30
25
|
"type": "module",
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
],
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"main": "./dist/index.js",
|
|
34
28
|
"module": "./dist/index.js",
|
|
35
29
|
"types": "./dist/index.d.ts",
|
|
36
|
-
"main": "./dist/index.js",
|
|
37
30
|
"exports": {
|
|
38
31
|
".": {
|
|
39
32
|
"types": "./dist/index.d.ts",
|
|
@@ -42,29 +35,36 @@
|
|
|
42
35
|
"default": "./dist/index.js"
|
|
43
36
|
}
|
|
44
37
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@ultraviolet/themes": "3.1.2",
|
|
43
|
+
"@ultraviolet/ui": "3.12.2"
|
|
49
44
|
},
|
|
50
45
|
"devDependencies": {
|
|
51
|
-
"next": "16.1.
|
|
46
|
+
"next": "16.1.7",
|
|
52
47
|
"react": "19.2.4",
|
|
53
48
|
"react-dom": "19.2.4",
|
|
54
|
-
"vite": "8.0.
|
|
49
|
+
"vite": "8.0.1",
|
|
55
50
|
"@repo/config": "0.0.3"
|
|
56
51
|
},
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"next": "15.x || 16.x",
|
|
54
|
+
"react": "18.x || 19.x",
|
|
55
|
+
"react-dom": "18.x || 19.x"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=18.x",
|
|
59
|
+
"pnpm": ">=9.x"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
|
-
"type:generate": "tsgo --declaration -p tsconfig.build.json",
|
|
63
|
-
"watch": "pnpm run '/^watch:.*/'",
|
|
64
|
-
"watch:build": "vite build --config vite.config.ts --watch",
|
|
65
62
|
"build": "vite build --config vite.config.ts && pnpm run type:generate",
|
|
66
63
|
"build:profile": "npx vite-bundle-visualizer -c vite.config.ts",
|
|
64
|
+
"lintpublish": "publint",
|
|
65
|
+
"type:generate": "tsgo --declaration -p tsconfig.build.json",
|
|
67
66
|
"typecheck": "tsgo --noEmit",
|
|
68
|
-
"
|
|
67
|
+
"watch": "pnpm run '/^watch:.*/'",
|
|
68
|
+
"watch:build": "vite build --config vite.config.ts --watch"
|
|
69
69
|
}
|
|
70
70
|
}
|