@depict-ai/ui 1.0.16 → 1.0.17

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/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
5
5
  "packageManager": "yarn@3.2.2",
6
- "main": "dist/client/main.js",
7
- "module": "dist/client/module.js",
6
+ "source": [
7
+ "src/index.ts",
8
+ "src/locales/index.ts"
9
+ ],
10
+ "main": "dist/main.js",
11
+ "module": "dist/module.js",
8
12
  "sass": "styles.scss",
9
13
  "context": "node",
10
14
  "engines": {
@@ -29,54 +33,35 @@
29
33
  "Carl Riis <carl@depict.ai>"
30
34
  ],
31
35
  "targets": {
32
- "localesModule": {
36
+ "module": {
33
37
  "isLibrary": true,
38
+ "source": "src/index.ts",
34
39
  "optimize": false,
35
- "source": "src/locales/index.ts",
36
- "distDir": "locales/module",
37
- "outputFormat": "esmodule",
38
40
  "context": "node"
39
41
  },
40
- "localesCommonJS": {
42
+ "main": {
41
43
  "isLibrary": true,
44
+ "source": "src/index.ts",
42
45
  "optimize": false,
43
- "source": "src/locales/index.ts",
44
- "distDir": "locales/main",
45
- "outputFormat": "commonjs",
46
46
  "context": "node"
47
47
  },
48
- "client_esmodule": {
48
+ "localesModule": {
49
49
  "isLibrary": true,
50
- "source": "src/index.ts",
51
50
  "optimize": false,
51
+ "source": "src/locales/index.ts",
52
+ "distDir": "locales/module",
52
53
  "outputFormat": "esmodule",
53
- "context": "node",
54
- "distDir": "dist/client/esmodule"
54
+ "context": "node"
55
55
  },
56
- "client_commonjs": {
56
+ "localesCommonJS": {
57
57
  "isLibrary": true,
58
- "source": "src/index.ts",
59
58
  "optimize": false,
60
- "context": "node",
59
+ "source": "src/locales/index.ts",
60
+ "distDir": "locales/main",
61
61
  "outputFormat": "commonjs",
62
- "distDir": "dist/client/commonjs"
63
- },
64
- "server_esmodule": {
65
- "isLibrary": true,
66
- "source": "src/index.ts",
67
- "optimize": false,
68
- "outputFormat": "esmodule",
69
- "context": "node",
70
- "distDir": "dist/server/esmodule"
62
+ "context": "node"
71
63
  },
72
- "server_commonjs": {
73
- "isLibrary": true,
74
- "source": "src/index.ts",
75
- "optimize": false,
76
- "context": "node",
77
- "outputFormat": "commonjs",
78
- "distDir": "dist/server/commonjs"
79
- }
64
+ "types": {}
80
65
  },
81
66
  "files": [
82
67
  "/dist",
@@ -87,17 +72,10 @@
87
72
  "exports": {
88
73
  "./styles.scss": "./styles.scss",
89
74
  ".": {
75
+ "import": "./dist/module.js",
76
+ "require": "./dist/main.js",
90
77
  "types": "./dist/index.d.ts",
91
- "browser": {
92
- "import": "./dist/client/module.js",
93
- "require": "./dist/client/main.js",
94
- "default": "./dist/client/module.js"
95
- },
96
- "node": {
97
- "import": "./dist/server/module.js",
98
- "require": "./dist/server/main.js",
99
- "default": "./dist/server/module.js"
100
- }
78
+ "default": "./dist/module.js"
101
79
  },
102
80
  "./locales": {
103
81
  "types": "./locales/index.d.ts",
@@ -124,11 +102,10 @@
124
102
  "ts-jest": "^29.0.3"
125
103
  },
126
104
  "dependencies": {
127
- "@depict-ai/plp-styling": "^1.0.14",
128
- "@depict-ai/types": "^1.0.17",
129
- "@depict-ai/utilishared": "^1.0.13",
105
+ "@depict-ai/plp-styling": "^1.0.15",
106
+ "@depict-ai/types": "^1.0.18",
107
+ "@depict-ai/utilishared": "^1.0.14",
130
108
  "solid-js": "^1.7.3"
131
109
  },
132
- "types": "dist/index.d.ts",
133
- "type": "module"
110
+ "types": "dist/index.d.ts"
134
111
  }