@divkitframework/jsonbuilder 29.4.0 → 29.5.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.
@@ -327,8 +327,8 @@ interface IDivAction {
327
327
  */
328
328
  download_callbacks?: Type<IDivDownloadCallbacks>;
329
329
  /**
330
- * This parameter allows you to disable the action for any reason. When an action is disabled, it
331
- * stops responding to the event associated with it (click, change in visibility, etc.).
330
+ * The parameter disables the action. Disabled actions stop listening to their associated event
331
+ * (clicks, changes in visibility, and so on).
332
332
  */
333
333
  is_enabled?: Type<IntBoolean | DivExpression>;
334
334
  /**
@@ -796,7 +796,7 @@ interface DivCircleShapeProps {
796
796
 
797
797
  interface IDivCollectionItemBuilder {
798
798
  /**
799
- * Data that will be used to create collection items.
799
+ * Data that will be used to create collection elements.
800
800
  */
801
801
  data: Type<unknown[] | DivExpression>;
802
802
  /**
@@ -805,21 +805,21 @@ interface IDivCollectionItemBuilder {
805
805
  */
806
806
  data_element_name?: Type<string>;
807
807
  /**
808
- * Array of `div` from which the collection items will be created.
808
+ * Array of `div` elements from which the collection elements will be created.
809
809
  */
810
810
  prototypes: Type<NonEmptyArray<IDivCollectionItemBuilderPrototype>>;
811
811
  }
812
812
  interface IDivCollectionItemBuilderPrototype {
813
813
  /**
814
- * `Div` from which the collection items will be created. In `Div`, you can use expressions using
815
- * data from `data`, to access the next `data` element, you need to use the same prefix as in
816
- * `data_element_prefix`.
814
+ * `Div` from which the collection elements will be created. In `Div`, you can use expressions
815
+ * using data from `data`. To access the next `data` element, you need to use the same prefix as
816
+ * in `data_element_prefix`.
817
817
  */
818
818
  div: Type<Div>;
819
819
  /**
820
- * A condition that is used to select a prototype for the next item in the collection. If there
821
- * is more than 1 true condition, the prototype that is earlier will be selected. If none of the
822
- * conditions are met, the data element will be skipped.
820
+ * A condition that is used to select the prototype for the next element in the collection. If
821
+ * there is more than 1 true condition, the earlier prototype is selected. If none of the
822
+ * conditions are met, the element from `data` is skipped.
823
823
  */
824
824
  selector?: Type<IntBoolean | DivExpression>;
825
825
  }
@@ -877,7 +877,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
877
877
  */
878
878
  border?: Type<IDivBorder>;
879
879
  /**
880
- * Parameter that determines whether child elements are bounded by the parent's boundaries.
880
+ * Enables the bounding of child elements by the parent's borders.
881
881
  */
882
882
  clip_to_bounds?: Type<IntBoolean | DivExpression>;
883
883
  /**
@@ -925,7 +925,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
925
925
  */
926
926
  id?: Type<string>;
927
927
  /**
928
- * A way to set collection items dynamically using data and prototypes.
928
+ * Sets collection elements dynamically using `data` and `prototypes`.
929
929
  */
930
930
  item_builder?: Type<IDivCollectionItemBuilder>;
931
931
  /**
@@ -1072,7 +1072,7 @@ interface DivContainerPropsBase {
1072
1072
  */
1073
1073
  border?: Type<IDivBorder>;
1074
1074
  /**
1075
- * Parameter that determines whether child elements are bounded by the parent's boundaries.
1075
+ * Enables the bounding of child elements by the parent's borders.
1076
1076
  */
1077
1077
  clip_to_bounds?: Type<IntBoolean | DivExpression>;
1078
1078
  /**
@@ -1120,7 +1120,7 @@ interface DivContainerPropsBase {
1120
1120
  */
1121
1121
  id?: Type<string>;
1122
1122
  /**
1123
- * A way to set collection items dynamically using data and prototypes.
1123
+ * Sets collection elements dynamically using `data` and `prototypes`.
1124
1124
  */
1125
1125
  item_builder?: Type<IDivCollectionItemBuilder>;
1126
1126
  /**
@@ -1228,7 +1228,7 @@ interface DivContainerProps0 extends DivContainerPropsBase {
1228
1228
  }
1229
1229
  interface DivContainerProps1 extends DivContainerPropsBase {
1230
1230
  /**
1231
- * A way to set collection items dynamically using data and prototypes.
1231
+ * Sets collection elements dynamically using `data` and `prototypes`.
1232
1232
  */
1233
1233
  item_builder: Type<IDivCollectionItemBuilder>;
1234
1234
  }
@@ -1627,8 +1627,8 @@ interface IDivDisappearAction {
1627
1627
  */
1628
1628
  download_callbacks?: Type<IDivDownloadCallbacks>;
1629
1629
  /**
1630
- * This parameter allows you to disable the action for any reason. When an action is disabled, it
1631
- * stops responding to the event associated with it (click, change in visibility, etc.).
1630
+ * The parameter disables the action. Disabled actions stop listening to their associated event
1631
+ * (clicks, changes in visibility, and so on).
1632
1632
  */
1633
1633
  is_enabled?: Type<IntBoolean | DivExpression>;
1634
1634
  /**
@@ -2052,10 +2052,10 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
2052
2052
  */
2053
2053
  scroll_mode?: Type<DivGalleryScrollMode | DivExpression>;
2054
2054
  /**
2055
- * Scrollbar behaviour. Hidden by default. On different platforms, the scrollbar may occupy a
2056
- * different space, since this is a user setting. Consider this in sizes. `none` scrollbar is
2057
- * hidden.`auto` — scrollbar is shown if there is not enough space and is necessary out the
2058
- * current platform.
2055
+ * Scrollbar behavior. Hidden by default. When choosing a gallery size, keep in mind that the
2056
+ * scrollbar may have a different height and width depending on the platform and user settings.
2057
+ * `none` — the scrollbar is hidden.`auto` the scrollbar is shown if there isn't enough space
2058
+ * and it needs to be displayed on the current platform.
2059
2059
  */
2060
2060
  scrollbar?: Type<DivGalleryScrollbar | DivExpression>;
2061
2061
  /**
@@ -2229,10 +2229,10 @@ interface DivGalleryProps {
2229
2229
  */
2230
2230
  scroll_mode?: Type<DivGalleryScrollMode | DivExpression>;
2231
2231
  /**
2232
- * Scrollbar behaviour. Hidden by default. On different platforms, the scrollbar may occupy a
2233
- * different space, since this is a user setting. Consider this in sizes. `none` scrollbar is
2234
- * hidden.`auto` — scrollbar is shown if there is not enough space and is necessary out the
2235
- * current platform.
2232
+ * Scrollbar behavior. Hidden by default. When choosing a gallery size, keep in mind that the
2233
+ * scrollbar may have a different height and width depending on the platform and user settings.
2234
+ * `none` — the scrollbar is hidden.`auto` the scrollbar is shown if there isn't enough space
2235
+ * and it needs to be displayed on the current platform.
2236
2236
  */
2237
2237
  scrollbar?: Type<DivGalleryScrollbar | DivExpression>;
2238
2238
  /**
@@ -5858,8 +5858,8 @@ interface IDivSightAction {
5858
5858
  */
5859
5859
  download_callbacks?: Type<IDivDownloadCallbacks>;
5860
5860
  /**
5861
- * This parameter allows you to disable the action for any reason. When an action is disabled, it
5862
- * stops responding to the event associated with it (click, change in visibility, etc.).
5861
+ * The parameter disables the action. Disabled actions stop listening to their associated event
5862
+ * (clicks, changes in visibility, and so on).
5863
5863
  */
5864
5864
  is_enabled?: Type<IntBoolean | DivExpression>;
5865
5865
  /**
@@ -8363,8 +8363,8 @@ interface IDivVisibilityAction {
8363
8363
  */
8364
8364
  download_callbacks?: Type<IDivDownloadCallbacks>;
8365
8365
  /**
8366
- * This parameter allows you to disable the action for any reason. When an action is disabled, it
8367
- * stops responding to the event associated with it (click, change in visibility, etc.).
8366
+ * The parameter disables the action. Disabled actions stop listening to their associated event
8367
+ * (clicks, changes in visibility, and so on).
8368
8368
  */
8369
8369
  is_enabled?: Type<IntBoolean | DivExpression>;
8370
8370
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divkitframework/jsonbuilder",
3
- "version": "29.4.0",
3
+ "version": "29.5.0",
4
4
  "description": "DivKit TypeScript JSON Builder",
5
5
  "main": "./dist/jsonbuilder.js",
6
6
  "module": "./dist/es/jsonbuilder.js",