@depict-ai/ui 1.0.17 → 1.0.18
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/dist/client/main.js +430 -230
- package/dist/client/module.js +431 -233
- package/dist/index.d.ts +59 -27
- package/dist/main.js +13 -9
- package/dist/module.js +13 -9
- package/dist/server/main.js +374 -195
- package/dist/server/module.js +375 -198
- package/package.json +50 -27
package/package.json
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
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
|
-
"
|
|
7
|
-
|
|
8
|
-
"src/locales/index.ts"
|
|
9
|
-
],
|
|
10
|
-
"main": "dist/main.js",
|
|
11
|
-
"module": "dist/module.js",
|
|
6
|
+
"main": "dist/client/main.js",
|
|
7
|
+
"module": "dist/client/module.js",
|
|
12
8
|
"sass": "styles.scss",
|
|
13
9
|
"context": "node",
|
|
14
10
|
"engines": {
|
|
@@ -33,18 +29,6 @@
|
|
|
33
29
|
"Carl Riis <carl@depict.ai>"
|
|
34
30
|
],
|
|
35
31
|
"targets": {
|
|
36
|
-
"module": {
|
|
37
|
-
"isLibrary": true,
|
|
38
|
-
"source": "src/index.ts",
|
|
39
|
-
"optimize": false,
|
|
40
|
-
"context": "node"
|
|
41
|
-
},
|
|
42
|
-
"main": {
|
|
43
|
-
"isLibrary": true,
|
|
44
|
-
"source": "src/index.ts",
|
|
45
|
-
"optimize": false,
|
|
46
|
-
"context": "node"
|
|
47
|
-
},
|
|
48
32
|
"localesModule": {
|
|
49
33
|
"isLibrary": true,
|
|
50
34
|
"optimize": false,
|
|
@@ -61,7 +45,38 @@
|
|
|
61
45
|
"outputFormat": "commonjs",
|
|
62
46
|
"context": "node"
|
|
63
47
|
},
|
|
64
|
-
"
|
|
48
|
+
"client_esmodule": {
|
|
49
|
+
"isLibrary": true,
|
|
50
|
+
"source": "src/index.ts",
|
|
51
|
+
"optimize": false,
|
|
52
|
+
"outputFormat": "esmodule",
|
|
53
|
+
"context": "node",
|
|
54
|
+
"distDir": "dist/client/esmodule"
|
|
55
|
+
},
|
|
56
|
+
"client_commonjs": {
|
|
57
|
+
"isLibrary": true,
|
|
58
|
+
"source": "src/index.ts",
|
|
59
|
+
"optimize": false,
|
|
60
|
+
"context": "node",
|
|
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"
|
|
71
|
+
},
|
|
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
|
+
}
|
|
65
80
|
},
|
|
66
81
|
"files": [
|
|
67
82
|
"/dist",
|
|
@@ -72,10 +87,17 @@
|
|
|
72
87
|
"exports": {
|
|
73
88
|
"./styles.scss": "./styles.scss",
|
|
74
89
|
".": {
|
|
75
|
-
"import": "./dist/module.js",
|
|
76
|
-
"require": "./dist/main.js",
|
|
77
90
|
"types": "./dist/index.d.ts",
|
|
78
|
-
"
|
|
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
|
+
}
|
|
79
101
|
},
|
|
80
102
|
"./locales": {
|
|
81
103
|
"types": "./locales/index.d.ts",
|
|
@@ -102,10 +124,11 @@
|
|
|
102
124
|
"ts-jest": "^29.0.3"
|
|
103
125
|
},
|
|
104
126
|
"dependencies": {
|
|
105
|
-
"@depict-ai/plp-styling": "^1.0.
|
|
106
|
-
"@depict-ai/types": "^1.0.
|
|
107
|
-
"@depict-ai/utilishared": "^1.0.
|
|
127
|
+
"@depict-ai/plp-styling": "^1.0.16",
|
|
128
|
+
"@depict-ai/types": "^1.0.19",
|
|
129
|
+
"@depict-ai/utilishared": "^1.0.15",
|
|
108
130
|
"solid-js": "^1.7.3"
|
|
109
131
|
},
|
|
110
|
-
"types": "dist/index.d.ts"
|
|
132
|
+
"types": "dist/index.d.ts",
|
|
133
|
+
"type": "module"
|
|
111
134
|
}
|