@once-ui-system/core 1.6.2 → 1.6.4
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/LICENSE.md +21 -0
- package/dist/components/CelebrationFx.d.ts +1 -0
- package/dist/components/CelebrationFx.d.ts.map +1 -1
- package/dist/components/CelebrationFx.js +7 -3
- package/dist/components/CelebrationFx.js.map +1 -1
- package/dist/components/HoloFx.d.ts +1 -0
- package/dist/components/HoloFx.d.ts.map +1 -1
- package/dist/components/HoloFx.js +10 -3
- package/dist/components/HoloFx.js.map +1 -1
- package/dist/components/Mask.d.ts +1 -0
- package/dist/components/Mask.d.ts.map +1 -1
- package/dist/components/Mask.js +56 -32
- package/dist/components/Mask.js.map +1 -1
- package/dist/components/MatrixFx.d.ts +1 -0
- package/dist/components/MatrixFx.d.ts.map +1 -1
- package/dist/components/MatrixFx.js +8 -1
- package/dist/components/MatrixFx.js.map +1 -1
- package/dist/components/Particle.d.ts +1 -0
- package/dist/components/Particle.d.ts.map +1 -1
- package/dist/components/Particle.js +86 -78
- package/dist/components/Particle.js.map +1 -1
- package/dist/components/ShineFx.d.ts +1 -0
- package/dist/components/ShineFx.d.ts.map +1 -1
- package/dist/components/ShineFx.js +5 -2
- package/dist/components/ShineFx.js.map +1 -1
- package/dist/components/TiltFx.d.ts +1 -0
- package/dist/components/TiltFx.d.ts.map +1 -1
- package/dist/components/TiltFx.js +27 -10
- package/dist/components/TiltFx.js.map +1 -1
- package/dist/components/WeatherFx.d.ts +1 -0
- package/dist/components/WeatherFx.d.ts.map +1 -1
- package/dist/components/WeatherFx.js +97 -2
- package/dist/components/WeatherFx.js.map +1 -1
- package/dist/css/styles.css +1 -1
- package/dist/css/styles.css.map +1 -1
- package/dist/data/emoji-data.json +8 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useInViewport.d.ts +3 -0
- package/dist/hooks/useInViewport.d.ts.map +1 -0
- package/dist/hooks/useInViewport.js +19 -0
- package/dist/hooks/useInViewport.js.map +1 -0
- package/dist/hooks/useReducedMotion.d.ts +8 -0
- package/dist/hooks/useReducedMotion.d.ts.map +1 -0
- package/dist/hooks/useReducedMotion.js +44 -0
- package/dist/hooks/useReducedMotion.js.map +1 -0
- package/dist/interfaces.d.ts +12 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/modules/navigation/Kbar.d.ts.map +1 -1
- package/dist/modules/navigation/Kbar.js +13 -28
- package/dist/modules/navigation/Kbar.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/styles/typography.scss +8 -40
- package/next-env.d.ts +5 -0
- package/package.json +113 -115
package/package.json
CHANGED
|
@@ -1,115 +1,113 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@once-ui-system/core",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"description": "Once UI for Next.js NPM package",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"once-ui",
|
|
7
|
-
"react",
|
|
8
|
-
"nextjs",
|
|
9
|
-
"scss",
|
|
10
|
-
"design system",
|
|
11
|
-
"design framework",
|
|
12
|
-
"nextjs design system"
|
|
13
|
-
],
|
|
14
|
-
"author": "Once UI",
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "https://github.com/once-ui-system/core.git",
|
|
19
|
-
"directory": "packages/core"
|
|
20
|
-
},
|
|
21
|
-
"bugs": {
|
|
22
|
-
"url": "https://github.com/once-ui-system/core/issues"
|
|
23
|
-
},
|
|
24
|
-
"homepage": "https://docs.once-ui.com",
|
|
25
|
-
"main": "dist/index.js",
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"import": "./dist/index.js",
|
|
29
|
-
"require": "./dist/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./components": {
|
|
32
|
-
"import": "./dist/components/index.js",
|
|
33
|
-
"require": "./dist/components/index.js"
|
|
34
|
-
},
|
|
35
|
-
"./components/*": {
|
|
36
|
-
"import": "./dist/components/*.js",
|
|
37
|
-
"require": "./dist/components/*.js"
|
|
38
|
-
},
|
|
39
|
-
"./contexts": {
|
|
40
|
-
"import": "./dist/contexts/index.js",
|
|
41
|
-
"require": "./dist/contexts/index.js"
|
|
42
|
-
},
|
|
43
|
-
"./modules": {
|
|
44
|
-
"import": "./dist/modules/index.js",
|
|
45
|
-
"require": "./dist/modules/index.js"
|
|
46
|
-
},
|
|
47
|
-
"./icons": {
|
|
48
|
-
"import": "./dist/icons/index.js",
|
|
49
|
-
"require": "./dist/icons/index.js"
|
|
50
|
-
},
|
|
51
|
-
"./types": {
|
|
52
|
-
"import": "./dist/types/index.js",
|
|
53
|
-
"require": "./dist/types/index.js"
|
|
54
|
-
},
|
|
55
|
-
"./interfaces": {
|
|
56
|
-
"import": "./dist/interfaces/index.js",
|
|
57
|
-
"require": "./dist/interfaces/index.js"
|
|
58
|
-
},
|
|
59
|
-
"./css/styles.css": "./dist/css/styles.css",
|
|
60
|
-
"./css/tokens.css": "./dist/css/tokens.css",
|
|
61
|
-
"./utils": {
|
|
62
|
-
"import": "./dist/utils/index.js",
|
|
63
|
-
"require": "./dist/utils/index.js"
|
|
64
|
-
},
|
|
65
|
-
"./hooks": {
|
|
66
|
-
"import": "./dist/hooks/index.js",
|
|
67
|
-
"require": "./dist/hooks/index.js"
|
|
68
|
-
},
|
|
69
|
-
"./server": {
|
|
70
|
-
"import": "./dist/server/index.js",
|
|
71
|
-
"require": "./dist/server/index.js"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"react
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"react
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@once-ui-system/core",
|
|
3
|
+
"version": "1.6.4",
|
|
4
|
+
"description": "Once UI for Next.js NPM package",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"once-ui",
|
|
7
|
+
"react",
|
|
8
|
+
"nextjs",
|
|
9
|
+
"scss",
|
|
10
|
+
"design system",
|
|
11
|
+
"design framework",
|
|
12
|
+
"nextjs design system"
|
|
13
|
+
],
|
|
14
|
+
"author": "Once UI",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/once-ui-system/core.git",
|
|
19
|
+
"directory": "packages/core"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/once-ui-system/core/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://docs.once-ui.com",
|
|
25
|
+
"main": "dist/index.js",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"require": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./components": {
|
|
32
|
+
"import": "./dist/components/index.js",
|
|
33
|
+
"require": "./dist/components/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./components/*": {
|
|
36
|
+
"import": "./dist/components/*.js",
|
|
37
|
+
"require": "./dist/components/*.js"
|
|
38
|
+
},
|
|
39
|
+
"./contexts": {
|
|
40
|
+
"import": "./dist/contexts/index.js",
|
|
41
|
+
"require": "./dist/contexts/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./modules": {
|
|
44
|
+
"import": "./dist/modules/index.js",
|
|
45
|
+
"require": "./dist/modules/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./icons": {
|
|
48
|
+
"import": "./dist/icons/index.js",
|
|
49
|
+
"require": "./dist/icons/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./types": {
|
|
52
|
+
"import": "./dist/types/index.js",
|
|
53
|
+
"require": "./dist/types/index.js"
|
|
54
|
+
},
|
|
55
|
+
"./interfaces": {
|
|
56
|
+
"import": "./dist/interfaces/index.js",
|
|
57
|
+
"require": "./dist/interfaces/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./css/styles.css": "./dist/css/styles.css",
|
|
60
|
+
"./css/tokens.css": "./dist/css/tokens.css",
|
|
61
|
+
"./utils": {
|
|
62
|
+
"import": "./dist/utils/index.js",
|
|
63
|
+
"require": "./dist/utils/index.js"
|
|
64
|
+
},
|
|
65
|
+
"./hooks": {
|
|
66
|
+
"import": "./dist/hooks/index.js",
|
|
67
|
+
"require": "./dist/hooks/index.js"
|
|
68
|
+
},
|
|
69
|
+
"./server": {
|
|
70
|
+
"import": "./dist/server/index.js",
|
|
71
|
+
"require": "./dist/server/index.js"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@floating-ui/react-dom": "^2.1.1",
|
|
76
|
+
"classnames": "^2.5.1",
|
|
77
|
+
"compressorjs": "^1.2.1",
|
|
78
|
+
"date-fns": "^4.1.0",
|
|
79
|
+
"prismjs": "^1.30.0",
|
|
80
|
+
"react-icons": "^5.2.1",
|
|
81
|
+
"recharts": "^2.15.1"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"next": ">=13.4",
|
|
85
|
+
"react": ">=18",
|
|
86
|
+
"react-dom": ">=18",
|
|
87
|
+
"sass": "^1.77.6",
|
|
88
|
+
"sharp": "^0.33.4"
|
|
89
|
+
},
|
|
90
|
+
"devDependencies": {
|
|
91
|
+
"@biomejs/biome": "1.9.4",
|
|
92
|
+
"@types/node": "20.17.23",
|
|
93
|
+
"@types/react": "19.0.1",
|
|
94
|
+
"@types/react-dom": "19.0.2",
|
|
95
|
+
"rimraf": "^5.0.10",
|
|
96
|
+
"typescript": "5.8.2"
|
|
97
|
+
},
|
|
98
|
+
"overrides": {
|
|
99
|
+
"@types/react": "19.0.1",
|
|
100
|
+
"@types/react-dom": "19.0.2"
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "pnpm clean && pnpm generate-emoji-data && tsc --project tsconfig.build.json && pnpm copy-files && pnpm build:css",
|
|
104
|
+
"build:css": "sass src/styles/index.scss:dist/css/styles.css src/tokens/index.scss:dist/css/tokens.css --style=compressed",
|
|
105
|
+
"copy-files": "node scripts/copy-files.js",
|
|
106
|
+
"clean": "rimraf dist",
|
|
107
|
+
"lint": "biome check .",
|
|
108
|
+
"format": "biome format --write .",
|
|
109
|
+
"typecheck": "tsc --noEmit",
|
|
110
|
+
"dev": "tsc --watch --preserveWatchOutput",
|
|
111
|
+
"generate-emoji-data": "node scripts/generate-emoji-data.js"
|
|
112
|
+
}
|
|
113
|
+
}
|