@divkitframework/jsonbuilder 29.5.0 → 29.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.
@@ -316,7 +316,7 @@ interface IDivAccessibility {
316
316
  type?: Type<DivAccessibilityType>;
317
317
  }
318
318
  declare type DivAccessibilityMode = 'default' | 'merge' | 'exclude';
319
- declare type DivAccessibilityType = 'none' | 'button' | 'image' | 'text' | 'edit_text' | 'header' | 'tab_bar' | 'list' | 'select';
319
+ declare type DivAccessibilityType = 'none' | 'button' | 'image' | 'text' | 'edit_text' | 'header' | 'tab_bar' | 'list' | 'select' | 'auto';
320
320
 
321
321
  /**
322
322
  * It defines an action when clicking on an element.
@@ -800,8 +800,8 @@ interface IDivCollectionItemBuilder {
800
800
  */
801
801
  data: Type<unknown[] | DivExpression>;
802
802
  /**
803
- * Name for accessing the next `data` element in the prototype. Working with this element is like
804
- * working with DivKit dictionaries.
803
+ * Name for accessing the next `data` element in the prototype. Working with this element is the
804
+ * same as with dictionaries.
805
805
  */
806
806
  data_element_name?: Type<string>;
807
807
  /**
@@ -7667,6 +7667,10 @@ interface IDivTextImage {
7667
7667
  * Image height.
7668
7668
  */
7669
7669
  height?: Type<DivFixedSize>;
7670
+ /**
7671
+ * Background image must be loaded before the display.
7672
+ */
7673
+ preload_required?: Type<IntBoolean | DivExpression>;
7670
7674
  /**
7671
7675
  * A symbol to insert prior to an image. To insert an image at the end of the text, specify the
7672
7676
  * number of the last character plus one.
@@ -8022,7 +8026,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
8022
8026
  */
8023
8027
  player_settings_payload?: Type<{}>;
8024
8028
  /**
8025
- * This option turns on preloading of video sources.
8029
+ * Enables video preloading.
8026
8030
  */
8027
8031
  preload_required?: Type<IntBoolean | DivExpression>;
8028
8032
  /**
@@ -8201,7 +8205,7 @@ interface DivVideoProps {
8201
8205
  */
8202
8206
  player_settings_payload?: Type<{}>;
8203
8207
  /**
8204
- * This option turns on preloading of video sources.
8208
+ * Enables video preloading.
8205
8209
  */
8206
8210
  preload_required?: Type<IntBoolean | DivExpression>;
8207
8211
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divkitframework/jsonbuilder",
3
- "version": "29.5.0",
3
+ "version": "29.7.0",
4
4
  "description": "DivKit TypeScript JSON Builder",
5
5
  "main": "./dist/jsonbuilder.js",
6
6
  "module": "./dist/es/jsonbuilder.js",