@divkitframework/jsonbuilder 31.6.0 → 31.8.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 +1 -1
- package/dist/jsonbuilder.d.ts +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
## Example
|
|
9
9
|
|
|
10
10
|
```typescript
|
|
11
|
-
import { divCard, DivContainer, DivText, reference, rewritRefs, template, templateHelper } from '@divkitframework/jsonbuilder';
|
|
11
|
+
import { divCard, DivContainer, DivText, reference, rewritRefs, template, templateHelper, rewriteRefs } from '@divkitframework/jsonbuilder';
|
|
12
12
|
|
|
13
13
|
const templates = {
|
|
14
14
|
sampleBlock: new DivContainer({
|
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -940,7 +940,7 @@ interface IDivActionSubmitRequest {
|
|
|
940
940
|
/**
|
|
941
941
|
* HTTP request headers. Please note that DivKit does not clean duplicate headers, which can lead
|
|
942
942
|
* to errors in request processing. Keep this in mind when assembling actions with complex
|
|
943
|
-
*
|
|
943
|
+
* JSON-builders.
|
|
944
944
|
*/
|
|
945
945
|
headers?: Type<NonEmptyArray<IRequestHeader>>;
|
|
946
946
|
/**
|
|
@@ -9312,7 +9312,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
9312
9312
|
/**
|
|
9313
9313
|
* Section style.
|
|
9314
9314
|
*
|
|
9315
|
-
* Platforms: android, ios
|
|
9315
|
+
* Platforms: android, ios, web
|
|
9316
9316
|
*/
|
|
9317
9317
|
ranges?: Type<NonEmptyArray<IDivSliderRange>>;
|
|
9318
9318
|
/**
|
|
@@ -9558,7 +9558,7 @@ interface DivSliderProps {
|
|
|
9558
9558
|
/**
|
|
9559
9559
|
* Section style.
|
|
9560
9560
|
*
|
|
9561
|
-
* Platforms: android, ios
|
|
9561
|
+
* Platforms: android, ios, web
|
|
9562
9562
|
*/
|
|
9563
9563
|
ranges?: Type<NonEmptyArray<IDivSliderRange>>;
|
|
9564
9564
|
/**
|
|
@@ -12233,7 +12233,7 @@ interface IDivTextRange {
|
|
|
12233
12233
|
* A mask that hides a part of text. To show the hidden text, disable the mask using the
|
|
12234
12234
|
* `is_enabled` property.
|
|
12235
12235
|
*
|
|
12236
|
-
* Platforms:
|
|
12236
|
+
* Platforms: web
|
|
12237
12237
|
*/
|
|
12238
12238
|
mask?: Type<DivTextRangeMask>;
|
|
12239
12239
|
/**
|
|
@@ -12425,20 +12425,20 @@ interface IDivTooltip {
|
|
|
12425
12425
|
* Tooltip appearance animation. By default, the tooltip will be appearing gradually with an
|
|
12426
12426
|
* offset from the anchor point by 10 dp.
|
|
12427
12427
|
*
|
|
12428
|
-
* Platforms: android, web
|
|
12428
|
+
* Platforms: android, ios, web
|
|
12429
12429
|
*/
|
|
12430
12430
|
animation_in?: Type<IDivAnimation>;
|
|
12431
12431
|
/**
|
|
12432
12432
|
* Tooltip disappearance animation. By default, the tooltip will disappear gradually with an
|
|
12433
12433
|
* offset from the anchor point by 10 dp.
|
|
12434
12434
|
*
|
|
12435
|
-
* Platforms: android, web
|
|
12435
|
+
* Platforms: android, ios, web
|
|
12436
12436
|
*/
|
|
12437
12437
|
animation_out?: Type<IDivAnimation>;
|
|
12438
12438
|
/**
|
|
12439
|
-
* Description for accessibility of the
|
|
12439
|
+
* Description for accessibility of the tap action on the background of the tooltip.
|
|
12440
12440
|
*
|
|
12441
|
-
* Platforms: ios
|
|
12441
|
+
* Platforms: ios, web
|
|
12442
12442
|
*/
|
|
12443
12443
|
background_accessibility_description?: Type<string | DivExpression>;
|
|
12444
12444
|
/**
|
|
@@ -12701,7 +12701,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
12701
12701
|
/**
|
|
12702
12702
|
* Additional information that can be used in the player.
|
|
12703
12703
|
*
|
|
12704
|
-
* Platforms: android, ios
|
|
12704
|
+
* Platforms: android, ios, web
|
|
12705
12705
|
*/
|
|
12706
12706
|
player_settings_payload?: Type<{}>;
|
|
12707
12707
|
/**
|
|
@@ -12946,7 +12946,7 @@ interface DivVideoProps {
|
|
|
12946
12946
|
/**
|
|
12947
12947
|
* Additional information that can be used in the player.
|
|
12948
12948
|
*
|
|
12949
|
-
* Platforms: android, ios
|
|
12949
|
+
* Platforms: android, ios, web
|
|
12950
12950
|
*/
|
|
12951
12951
|
player_settings_payload?: Type<{}>;
|
|
12952
12952
|
/**
|