@once-ui-system/core 1.0.3 → 1.0.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 (2) hide show
  1. package/dist/package.json +41 -13
  2. package/package.json +41 -13
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@once-ui-system/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Once UI for Next.js NPM package",
5
5
  "keywords": [
6
6
  "once-ui",
@@ -15,20 +15,48 @@
15
15
  "license": "MIT",
16
16
  "main": "dist/index.js",
17
17
  "exports": {
18
- ".": "./dist/index.js",
19
- "./components": "./dist/components/index.js",
20
- "./contexts": "./dist/contexts/index.js",
21
- "./modules": "./dist/modules/index.js",
22
- "./icons": "./dist/icons/index.js",
23
- "./types": "./dist/types/index.js",
24
- "./interfaces": "./dist/interfaces/index.js",
25
- "./styles": "./dist/styles/index.js",
26
- "./styles/*.scss": "./dist/styles/*.scss",
27
- "./tokens/*.scss": "./dist/tokens/*.scss",
18
+ ".": {
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/index.js"
21
+ },
22
+ "./components": {
23
+ "import": "./dist/components/index.js",
24
+ "require": "./dist/components/index.js"
25
+ },
26
+ "./components/*": {
27
+ "import": "./dist/components/*.js",
28
+ "require": "./dist/components/*.js"
29
+ },
30
+ "./contexts": {
31
+ "import": "./dist/contexts/index.js",
32
+ "require": "./dist/contexts/index.js"
33
+ },
34
+ "./modules": {
35
+ "import": "./dist/modules/index.js",
36
+ "require": "./dist/modules/index.js"
37
+ },
38
+ "./icons": {
39
+ "import": "./dist/icons/index.js",
40
+ "require": "./dist/icons/index.js"
41
+ },
42
+ "./types": {
43
+ "import": "./dist/types/index.js",
44
+ "require": "./dist/types/index.js"
45
+ },
46
+ "./interfaces": {
47
+ "import": "./dist/interfaces/index.js",
48
+ "require": "./dist/interfaces/index.js"
49
+ },
28
50
  "./css/styles.css": "./dist/css/styles.css",
29
51
  "./css/tokens.css": "./dist/css/tokens.css",
30
- "./utils": "./dist/utils/index.js",
31
- "./hooks": "./dist/hooks/index.js"
52
+ "./utils": {
53
+ "import": "./dist/utils/index.js",
54
+ "require": "./dist/utils/index.js"
55
+ },
56
+ "./hooks": {
57
+ "import": "./dist/hooks/index.js",
58
+ "require": "./dist/hooks/index.js"
59
+ }
32
60
  },
33
61
  "dependencies": {
34
62
  "@floating-ui/react-dom": "^2.1.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@once-ui-system/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Once UI for Next.js NPM package",
5
5
  "keywords": [
6
6
  "once-ui",
@@ -15,20 +15,48 @@
15
15
  "license": "MIT",
16
16
  "main": "dist/index.js",
17
17
  "exports": {
18
- ".": "./dist/index.js",
19
- "./components": "./dist/components/index.js",
20
- "./contexts": "./dist/contexts/index.js",
21
- "./modules": "./dist/modules/index.js",
22
- "./icons": "./dist/icons/index.js",
23
- "./types": "./dist/types/index.js",
24
- "./interfaces": "./dist/interfaces/index.js",
25
- "./styles": "./dist/styles/index.js",
26
- "./styles/*.scss": "./dist/styles/*.scss",
27
- "./tokens/*.scss": "./dist/tokens/*.scss",
18
+ ".": {
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/index.js"
21
+ },
22
+ "./components": {
23
+ "import": "./dist/components/index.js",
24
+ "require": "./dist/components/index.js"
25
+ },
26
+ "./components/*": {
27
+ "import": "./dist/components/*.js",
28
+ "require": "./dist/components/*.js"
29
+ },
30
+ "./contexts": {
31
+ "import": "./dist/contexts/index.js",
32
+ "require": "./dist/contexts/index.js"
33
+ },
34
+ "./modules": {
35
+ "import": "./dist/modules/index.js",
36
+ "require": "./dist/modules/index.js"
37
+ },
38
+ "./icons": {
39
+ "import": "./dist/icons/index.js",
40
+ "require": "./dist/icons/index.js"
41
+ },
42
+ "./types": {
43
+ "import": "./dist/types/index.js",
44
+ "require": "./dist/types/index.js"
45
+ },
46
+ "./interfaces": {
47
+ "import": "./dist/interfaces/index.js",
48
+ "require": "./dist/interfaces/index.js"
49
+ },
28
50
  "./css/styles.css": "./dist/css/styles.css",
29
51
  "./css/tokens.css": "./dist/css/tokens.css",
30
- "./utils": "./dist/utils/index.js",
31
- "./hooks": "./dist/hooks/index.js"
52
+ "./utils": {
53
+ "import": "./dist/utils/index.js",
54
+ "require": "./dist/utils/index.js"
55
+ },
56
+ "./hooks": {
57
+ "import": "./dist/hooks/index.js",
58
+ "require": "./dist/hooks/index.js"
59
+ }
32
60
  },
33
61
  "scripts": {
34
62
  "dev": "next dev --turbopack",