@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.
Files changed (57) hide show
  1. package/LICENSE.md +21 -0
  2. package/dist/components/CelebrationFx.d.ts +1 -0
  3. package/dist/components/CelebrationFx.d.ts.map +1 -1
  4. package/dist/components/CelebrationFx.js +7 -3
  5. package/dist/components/CelebrationFx.js.map +1 -1
  6. package/dist/components/HoloFx.d.ts +1 -0
  7. package/dist/components/HoloFx.d.ts.map +1 -1
  8. package/dist/components/HoloFx.js +10 -3
  9. package/dist/components/HoloFx.js.map +1 -1
  10. package/dist/components/Mask.d.ts +1 -0
  11. package/dist/components/Mask.d.ts.map +1 -1
  12. package/dist/components/Mask.js +56 -32
  13. package/dist/components/Mask.js.map +1 -1
  14. package/dist/components/MatrixFx.d.ts +1 -0
  15. package/dist/components/MatrixFx.d.ts.map +1 -1
  16. package/dist/components/MatrixFx.js +8 -1
  17. package/dist/components/MatrixFx.js.map +1 -1
  18. package/dist/components/Particle.d.ts +1 -0
  19. package/dist/components/Particle.d.ts.map +1 -1
  20. package/dist/components/Particle.js +86 -78
  21. package/dist/components/Particle.js.map +1 -1
  22. package/dist/components/ShineFx.d.ts +1 -0
  23. package/dist/components/ShineFx.d.ts.map +1 -1
  24. package/dist/components/ShineFx.js +5 -2
  25. package/dist/components/ShineFx.js.map +1 -1
  26. package/dist/components/TiltFx.d.ts +1 -0
  27. package/dist/components/TiltFx.d.ts.map +1 -1
  28. package/dist/components/TiltFx.js +27 -10
  29. package/dist/components/TiltFx.js.map +1 -1
  30. package/dist/components/WeatherFx.d.ts +1 -0
  31. package/dist/components/WeatherFx.d.ts.map +1 -1
  32. package/dist/components/WeatherFx.js +97 -2
  33. package/dist/components/WeatherFx.js.map +1 -1
  34. package/dist/css/styles.css +1 -1
  35. package/dist/css/styles.css.map +1 -1
  36. package/dist/data/emoji-data.json +8 -0
  37. package/dist/hooks/index.d.ts +2 -0
  38. package/dist/hooks/index.d.ts.map +1 -1
  39. package/dist/hooks/index.js +2 -0
  40. package/dist/hooks/index.js.map +1 -1
  41. package/dist/hooks/useInViewport.d.ts +3 -0
  42. package/dist/hooks/useInViewport.d.ts.map +1 -0
  43. package/dist/hooks/useInViewport.js +19 -0
  44. package/dist/hooks/useInViewport.js.map +1 -0
  45. package/dist/hooks/useReducedMotion.d.ts +8 -0
  46. package/dist/hooks/useReducedMotion.d.ts.map +1 -0
  47. package/dist/hooks/useReducedMotion.js +44 -0
  48. package/dist/hooks/useReducedMotion.js.map +1 -0
  49. package/dist/interfaces.d.ts +12 -0
  50. package/dist/interfaces.d.ts.map +1 -1
  51. package/dist/modules/navigation/Kbar.d.ts.map +1 -1
  52. package/dist/modules/navigation/Kbar.js +13 -28
  53. package/dist/modules/navigation/Kbar.js.map +1 -1
  54. package/dist/package.json +1 -1
  55. package/dist/styles/typography.scss +8 -40
  56. package/next-env.d.ts +5 -0
  57. package/package.json +113 -115
package/package.json CHANGED
@@ -1,115 +1,113 @@
1
- {
2
- "name": "@once-ui-system/core",
3
- "version": "1.6.2",
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
- "scripts": {
75
- "build": "pnpm clean && pnpm generate-emoji-data && tsc --project tsconfig.build.json && pnpm copy-files && pnpm build:css",
76
- "build:css": "sass src/styles/index.scss:dist/css/styles.css src/tokens/index.scss:dist/css/tokens.css --style=compressed",
77
- "copy-files": "node scripts/copy-files.js",
78
- "clean": "rimraf dist",
79
- "prepare": "pnpm build",
80
- "lint": "biome check .",
81
- "format": "biome format --write .",
82
- "typecheck": "tsc --noEmit",
83
- "dev": "tsc --watch --preserveWatchOutput",
84
- "prepack": "pnpm build",
85
- "generate-emoji-data": "node scripts/generate-emoji-data.js"
86
- },
87
- "dependencies": {
88
- "@floating-ui/react-dom": "^2.1.1",
89
- "classnames": "^2.5.1",
90
- "compressorjs": "^1.2.1",
91
- "date-fns": "^4.1.0",
92
- "prismjs": "^1.30.0",
93
- "react-icons": "^5.2.1",
94
- "recharts": "^2.15.1"
95
- },
96
- "peerDependencies": {
97
- "next": ">=13.4",
98
- "react": ">=18",
99
- "react-dom": ">=18",
100
- "sass": "^1.77.6",
101
- "sharp": "^0.33.4"
102
- },
103
- "devDependencies": {
104
- "@biomejs/biome": "1.9.4",
105
- "@types/node": "20.17.23",
106
- "@types/react": "19.0.1",
107
- "@types/react-dom": "19.0.2",
108
- "rimraf": "^5.0.10",
109
- "typescript": "5.8.2"
110
- },
111
- "overrides": {
112
- "@types/react": "19.0.1",
113
- "@types/react-dom": "19.0.2"
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
+ }