@divkitframework/divkit 28.6.0 → 28.7.0
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/README.md +16 -0
- package/dist/browser/client-devtool.js +1 -1
- package/dist/browser/client-devtool.js.map +1 -1
- package/dist/browser/client-hydratable.js +1 -1
- package/dist/browser/client-hydratable.js.map +1 -1
- package/dist/browser/client.js +1 -1
- package/dist/browser/client.js.map +1 -1
- package/dist/client-devtool.js +1 -1
- package/dist/client-devtool.js.map +1 -1
- package/dist/client-hydratable.js +1 -1
- package/dist/client-hydratable.js.map +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/esm/client-devtool.mjs +1 -1
- package/dist/esm/client-devtool.mjs.map +1 -1
- package/dist/esm/client-hydratable.mjs +1 -1
- package/dist/esm/client-hydratable.mjs.map +1 -1
- package/dist/esm/client.mjs +1 -1
- package/dist/esm/client.mjs.map +1 -1
- package/dist/esm/server.mjs +1 -1
- package/dist/esm/server.mjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/package.json +3 -3
- package/typings/client-devtool.d.ts +2 -0
- package/typings/client-hydratable.d.ts +2 -0
- package/typings/client.d.ts +2 -0
- package/typings/custom.d.ts +5 -0
- package/typings/server.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@divkitframework/divkit",
|
|
3
|
-
"version": "28.
|
|
3
|
+
"version": "28.7.0",
|
|
4
4
|
"description": "DivKit for the web",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"server-driven-ui",
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"lottie-web": "5.11.0",
|
|
116
116
|
"mini-css-extract-plugin": "2.7.5",
|
|
117
117
|
"peggy": "3.0.2",
|
|
118
|
-
"postcss": "8.4.
|
|
119
|
-
"postcss-loader": "7.
|
|
118
|
+
"postcss": "8.4.31",
|
|
119
|
+
"postcss-loader": "7.3.3",
|
|
120
120
|
"svelte": "4.2.0",
|
|
121
121
|
"svelte-check": "3.5.0",
|
|
122
122
|
"svelte-loader": "3.1.9",
|
|
@@ -14,6 +14,7 @@ import type {
|
|
|
14
14
|
} from './common';
|
|
15
15
|
import type { GlobalVariablesController, Variable } from './variables';
|
|
16
16
|
import type { WrappedError } from './common';
|
|
17
|
+
import type { CustomComponentDescription } from './custom';
|
|
17
18
|
|
|
18
19
|
export interface DivkitDebugInstance extends DivkitInstance {
|
|
19
20
|
getDebugVariables(): Map<string, Variable>;
|
|
@@ -39,6 +40,7 @@ export function render(opts: {
|
|
|
39
40
|
theme?: Theme;
|
|
40
41
|
fetchInit?: FetchInit;
|
|
41
42
|
tooltipRoot?: HTMLElement;
|
|
43
|
+
customComponents?: Map<string, CustomComponentDescription> | undefined;
|
|
42
44
|
}): DivkitDebugInstance;
|
|
43
45
|
|
|
44
46
|
export { createVariable, createGlobalVariablesController } from './variables';
|
|
@@ -11,6 +11,7 @@ import type {
|
|
|
11
11
|
TypefaceProvider,
|
|
12
12
|
FetchInit
|
|
13
13
|
} from './common';
|
|
14
|
+
import type { CustomComponentDescription } from './custom';
|
|
14
15
|
import type { GlobalVariablesController } from './variables';
|
|
15
16
|
|
|
16
17
|
export function render(opts: {
|
|
@@ -32,6 +33,7 @@ export function render(opts: {
|
|
|
32
33
|
theme?: Theme;
|
|
33
34
|
fetchInit?: FetchInit;
|
|
34
35
|
tooltipRoot?: HTMLElement;
|
|
36
|
+
customComponents?: Map<string, CustomComponentDescription> | undefined;
|
|
35
37
|
}): DivkitInstance;
|
|
36
38
|
|
|
37
39
|
export { createVariable, createGlobalVariablesController } from './variables';
|
package/typings/client.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import type {
|
|
|
11
11
|
TypefaceProvider,
|
|
12
12
|
FetchInit
|
|
13
13
|
} from './common';
|
|
14
|
+
import type { CustomComponentDescription } from './custom';
|
|
14
15
|
import type { GlobalVariablesController } from './variables';
|
|
15
16
|
|
|
16
17
|
export function render(opts: {
|
|
@@ -31,6 +32,7 @@ export function render(opts: {
|
|
|
31
32
|
theme?: Theme;
|
|
32
33
|
fetchInit?: FetchInit;
|
|
33
34
|
tooltipRoot?: HTMLElement;
|
|
35
|
+
customComponents?: Map<string, CustomComponentDescription> | undefined;
|
|
34
36
|
}): DivkitInstance;
|
|
35
37
|
|
|
36
38
|
export { createVariable, createGlobalVariablesController } from './variables';
|
package/typings/server.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type {
|
|
|
5
5
|
Customization,
|
|
6
6
|
TypefaceProvider
|
|
7
7
|
} from './common';
|
|
8
|
+
import type { CustomComponentDescription } from './custom';
|
|
8
9
|
|
|
9
10
|
export function render(opts: {
|
|
10
11
|
json: DivJson;
|
|
@@ -15,4 +16,5 @@ export function render(opts: {
|
|
|
15
16
|
builtinProtocols?: string[];
|
|
16
17
|
onError?: ErrorCallback;
|
|
17
18
|
typefaceProvider?: TypefaceProvider;
|
|
19
|
+
customComponents?: Map<string, CustomComponentDescription> | undefined;
|
|
18
20
|
}): string;
|