@divkitframework/jsonbuilder 31.5.1 → 31.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 +1 -1
- package/dist/jsonbuilder.d.ts +9 -9
- 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
|
@@ -6005,7 +6005,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
6005
6005
|
/**
|
|
6006
6006
|
* Filter that prevents users from entering text that doesn't satisfy the specified conditions.
|
|
6007
6007
|
*
|
|
6008
|
-
* Platforms: ios, web
|
|
6008
|
+
* Platforms: android, ios, web
|
|
6009
6009
|
*/
|
|
6010
6010
|
filters?: Type<NonEmptyArray<DivInputFilter>>;
|
|
6011
6011
|
/**
|
|
@@ -6319,7 +6319,7 @@ interface DivInputProps {
|
|
|
6319
6319
|
/**
|
|
6320
6320
|
* Filter that prevents users from entering text that doesn't satisfy the specified conditions.
|
|
6321
6321
|
*
|
|
6322
|
-
* Platforms: ios, web
|
|
6322
|
+
* Platforms: android, ios, web
|
|
6323
6323
|
*/
|
|
6324
6324
|
filters?: Type<NonEmptyArray<DivInputFilter>>;
|
|
6325
6325
|
/**
|
|
@@ -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
|
/**
|
|
@@ -10274,7 +10274,7 @@ interface IDivStroke {
|
|
|
10274
10274
|
/**
|
|
10275
10275
|
* Stroke style. Supported for border stroke only.
|
|
10276
10276
|
*
|
|
10277
|
-
* Platforms: android
|
|
10277
|
+
* Platforms: android, ios, web
|
|
10278
10278
|
*/
|
|
10279
10279
|
style?: Type<DivStrokeStyle>;
|
|
10280
10280
|
unit?: Type<DivSizeUnit | DivExpression>;
|
|
@@ -12425,14 +12425,14 @@ 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
|
/**
|
|
@@ -12444,7 +12444,7 @@ interface IDivTooltip {
|
|
|
12444
12444
|
/**
|
|
12445
12445
|
* Allows dismissing tooltip by tapping outside of it.
|
|
12446
12446
|
*
|
|
12447
|
-
* Platforms: android, ios
|
|
12447
|
+
* Platforms: android, ios, web
|
|
12448
12448
|
*/
|
|
12449
12449
|
close_by_tap_outside?: Type<boolean | DivExpression>;
|
|
12450
12450
|
/**
|
|
@@ -12478,7 +12478,7 @@ interface IDivTooltip {
|
|
|
12478
12478
|
/**
|
|
12479
12479
|
* Specifies actions triggered by tapping outside the tooltip.
|
|
12480
12480
|
*
|
|
12481
|
-
* Platforms: ios
|
|
12481
|
+
* Platforms: ios, web
|
|
12482
12482
|
*/
|
|
12483
12483
|
tap_outside_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
12484
12484
|
}
|