From f539965cf0789c71e491987f14cf8216ff806410 Mon Sep 17 00:00:00 2001 From: robot-divkit Date: Thu, 3 Jul 2025 18:08:01 +0300 Subject: [PATCH] Updated version to 32.7.0 commit_hash:5d5f5050a666003535db6c214571141edd17ecc0 --- client/ios/Configurations/Version.xcconfig | 2 +- client/ios/DivKit/DivKitInfo.swift | 2 +- client/web/divkit/package.json | 2 +- .../src/generated/kotlin/divkit/dsl/Action.kt | 30 +++++++------- .../divkit/dsl/ActionUpdateStructure.kt | 16 ++++---- .../generated/kotlin/divkit/dsl/Container.kt | 32 +++++++-------- .../src/generated/kotlin/divkit/dsl/Custom.kt | 20 +++++----- .../kotlin/divkit/dsl/DisappearAction.kt | 30 +++++++------- .../generated/kotlin/divkit/dsl/Gallery.kt | 20 +++++----- .../generated/kotlin/divkit/dsl/GifImage.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Grid.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Image.kt | 20 +++++----- .../generated/kotlin/divkit/dsl/Indicator.kt | 40 +++++++++---------- .../src/generated/kotlin/divkit/dsl/Input.kt | 40 +++++++++---------- .../src/generated/kotlin/divkit/dsl/Pager.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Select.kt | 20 +++++----- .../generated/kotlin/divkit/dsl/Separator.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Slider.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/State.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Switch.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Tabs.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Text.kt | 20 +++++----- .../src/generated/kotlin/divkit/dsl/Video.kt | 20 +++++----- .../kotlin/divkit/dsl/VisibilityAction.kt | 30 +++++++------- json-builder/python/pyproject.toml | 2 +- json-builder/typescript/package.json | 2 +- version | 2 +- 27 files changed, 255 insertions(+), 255 deletions(-) diff --git a/client/ios/Configurations/Version.xcconfig b/client/ios/Configurations/Version.xcconfig index 878059db6..0ff7608ce 100644 --- a/client/ios/Configurations/Version.xcconfig +++ b/client/ios/Configurations/Version.xcconfig @@ -1,2 +1,2 @@ -MARKETING_VERSION = 32.6.0 +MARKETING_VERSION = 32.7.0 CURRENT_PROJECT_VERSION = 32 diff --git a/client/ios/DivKit/DivKitInfo.swift b/client/ios/DivKit/DivKitInfo.swift index 71b0af508..7ae52a91a 100644 --- a/client/ios/DivKit/DivKitInfo.swift +++ b/client/ios/DivKit/DivKitInfo.swift @@ -1,3 +1,3 @@ public enum DivKitInfo { - public static let version = "32.6.0" + public static let version = "32.7.0" } diff --git a/client/web/divkit/package.json b/client/web/divkit/package.json index 26b3f7a89..42c2e599a 100644 --- a/client/web/divkit/package.json +++ b/client/web/divkit/package.json @@ -1,6 +1,6 @@ { "name": "@divkitframework/divkit", - "version": "32.6.0", + "version": "32.7.0", "description": "DivKit for the web", "keywords": [ "server-driven-ui", diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Action.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Action.kt index 89cffdb86..89def1831 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Action.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Action.kt @@ -50,7 +50,7 @@ data class Action internal constructor( data class Properties internal constructor( /** - * Callbacks that are called after [data loading](../../interaction#loading-data). + * Callbacks that are called after data loading. */ val downloadCallbacks: Property?, /** @@ -88,7 +88,7 @@ data class Action internal constructor( val target: Property?, val typed: Property?, /** - * URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * URL. Possible values: `url` or `div-action://`. */ val url: Property?, ) { @@ -167,7 +167,7 @@ data class Action internal constructor( } /** - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logUrl URL for logging. @@ -176,7 +176,7 @@ data class Action internal constructor( * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. * @param target The tab in which the URL must be opened. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. */ @Generated fun DivScope.action( @@ -209,7 +209,7 @@ fun DivScope.action( ) /** - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logUrl URL for logging. @@ -218,7 +218,7 @@ fun DivScope.action( * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. * @param target The tab in which the URL must be opened. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. */ @Generated fun DivScope.actionProps( @@ -249,7 +249,7 @@ fun DivScope.actionProps( ) /** - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logUrl URL for logging. @@ -258,7 +258,7 @@ fun DivScope.actionProps( * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. * @param target The tab in which the URL must be opened. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. */ @Generated fun TemplateScope.actionRefs( @@ -289,7 +289,7 @@ fun TemplateScope.actionRefs( ) /** - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logUrl URL for logging. @@ -298,7 +298,7 @@ fun TemplateScope.actionRefs( * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. * @param target The tab in which the URL must be opened. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. */ @Generated fun Action.override( @@ -331,7 +331,7 @@ fun Action.override( ) /** - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logUrl URL for logging. @@ -340,7 +340,7 @@ fun Action.override( * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. * @param target The tab in which the URL must be opened. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. */ @Generated fun Action.defer( @@ -373,7 +373,7 @@ fun Action.defer( ) /** - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logUrl URL for logging. @@ -382,7 +382,7 @@ fun Action.defer( * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. * @param target The tab in which the URL must be opened. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. */ @Generated fun Action.modify( @@ -420,7 +420,7 @@ fun Action.modify( * @param logUrl URL for logging. * @param referer Referer URL for logging. * @param target The tab in which the URL must be opened. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. */ @Generated fun Action.evaluate( diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt index 55fa1532f..bb6b91ab4 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt @@ -44,7 +44,7 @@ data class ActionUpdateStructure internal constructor( data class Properties internal constructor( /** - * Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. */ val path: Property?, /** @@ -68,7 +68,7 @@ data class ActionUpdateStructure internal constructor( } /** - * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. * @param value Value set into dictionary/array. * @param variableName Variable name of array or dictionary type. */ @@ -87,7 +87,7 @@ fun DivScope.actionUpdateStructure( ) /** - * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. * @param value Value set into dictionary/array. * @param variableName Variable name of array or dictionary type. */ @@ -104,7 +104,7 @@ fun DivScope.actionUpdateStructureProps( ) /** - * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. * @param value Value set into dictionary/array. * @param variableName Variable name of array or dictionary type. */ @@ -121,7 +121,7 @@ fun TemplateScope.actionUpdateStructureRefs( ) /** - * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. * @param value Value set into dictionary/array. * @param variableName Variable name of array or dictionary type. */ @@ -140,7 +140,7 @@ fun ActionUpdateStructure.override( ) /** - * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. * @param value Value set into dictionary/array. * @param variableName Variable name of array or dictionary type. */ @@ -159,7 +159,7 @@ fun ActionUpdateStructure.defer( ) /** - * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. * @param value Value set into dictionary/array. * @param variableName Variable name of array or dictionary type. */ @@ -178,7 +178,7 @@ fun ActionUpdateStructure.modify( ) /** - * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • Example path: `key/0/inner_key/1`. + * @param path Path within an array/dictionary where a value needs to be set. Path format:
  • Each path element is separated by a '/' symbol.
  • Path elements can be of two types: an index of an element in an array, starting from 0 or dictionary keys in the form of arbitrary strings.
  • The path is read from left to right, each element determines the transition to the next level of nesting.
  • The path cannot be empty, start or end with the '/' character.
  • Example path: `key/0/inner_key/1`. * @param variableName Variable name of array or dictionary type. */ @Generated diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Container.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Container.kt index 18f8390ff..b52610246 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Container.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Container.kt @@ -219,7 +219,7 @@ data class Container internal constructor( */ val layoutMode: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -481,7 +481,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -644,7 +644,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -807,7 +807,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -970,7 +970,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -1133,7 +1133,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -1296,7 +1296,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -1460,7 +1460,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -1627,7 +1627,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -1792,7 +1792,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -1957,7 +1957,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -2124,7 +2124,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -2291,7 +2291,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -2546,7 +2546,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -2714,7 +2714,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. @@ -2971,7 +2971,7 @@ On the web, support for the `aspect-ratio` CSS property is required to use this * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param items Nested elements. * @param layoutMode Element placement method. The `wrap` value transfers elements to the next line if they don't fit in the previous one. If the `wrap` value is set:
  • A separate line is allocated for each element along the main axis with the size value set to `match_parent`.
  • Elements along the cross axis with the size value `match_parent` are ignored.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param lineSeparator Separator between elements along the cross axis. Not used if the `layout_mode` parameter is set to `no_wrap`. Only new browsers are supported on the web (the `gap` property must be supported for flex blocks). * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Custom.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Custom.kt index f24103a41..888bd7dca 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Custom.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Custom.kt @@ -146,7 +146,7 @@ data class Custom internal constructor( */ val items: Property>?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -281,7 +281,7 @@ data class Custom internal constructor( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -396,7 +396,7 @@ fun DivScope.custom( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -509,7 +509,7 @@ fun DivScope.customProps( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -622,7 +622,7 @@ fun TemplateScope.customRefs( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -737,7 +737,7 @@ fun Custom.override( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -852,7 +852,7 @@ fun Custom.defer( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -1026,7 +1026,7 @@ fun Custom.evaluate( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -1142,7 +1142,7 @@ fun Component.override( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -1318,7 +1318,7 @@ fun Component.evaluate( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Nested elements. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/DisappearAction.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/DisappearAction.kt index 4b01bbfe2..b12e56b20 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/DisappearAction.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/DisappearAction.kt @@ -55,7 +55,7 @@ data class DisappearAction internal constructor( */ val disappearDuration: Property?, /** - * Callbacks that are called after [data loading](../../interaction#loading-data). + * Callbacks that are called after data loading. */ val downloadCallbacks: Property?, /** @@ -86,7 +86,7 @@ data class DisappearAction internal constructor( val scopeId: Property?, val typed: Property?, /** - * URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * URL. Possible values: `url` or `div-action://`. */ val url: Property?, /** @@ -116,14 +116,14 @@ data class DisappearAction internal constructor( /** * @param disappearDuration Time in milliseconds during which an element must be outside the visible area to trigger `disappear-action`. - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @Generated @@ -158,14 +158,14 @@ fun DivScope.disappearAction( /** * @param disappearDuration Time in milliseconds during which an element must be outside the visible area to trigger `disappear-action`. - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @Generated @@ -198,14 +198,14 @@ fun DivScope.disappearActionProps( /** * @param disappearDuration Time in milliseconds during which an element must be outside the visible area to trigger `disappear-action`. - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @Generated @@ -238,14 +238,14 @@ fun TemplateScope.disappearActionRefs( /** * @param disappearDuration Time in milliseconds during which an element must be outside the visible area to trigger `disappear-action`. - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @Generated @@ -280,14 +280,14 @@ fun DisappearAction.override( /** * @param disappearDuration Time in milliseconds during which an element must be outside the visible area to trigger `disappear-action`. - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @Generated @@ -322,14 +322,14 @@ fun DisappearAction.defer( /** * @param disappearDuration Time in milliseconds during which an element must be outside the visible area to trigger `disappear-action`. - * @param downloadCallbacks Callbacks that are called after [data loading](../../interaction#loading-data). + * @param downloadCallbacks Callbacks that are called after data loading. * @param isEnabled The parameter disables the action. Disabled actions stop listening to their associated event (clicks, changes in visibility, and so on). * @param logId Logging ID. * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. * @param scopeId The ID of the element within which the specified action will be performed. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @Generated @@ -368,7 +368,7 @@ fun DisappearAction.modify( * @param logId Logging ID. * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param referer Referer URL for logging. - * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). + * @param url URL. Possible values: `url` or `div-action://`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @Generated diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Gallery.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Gallery.kt index e80b663de..a9ce943c3 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Gallery.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Gallery.kt @@ -173,7 +173,7 @@ data class Gallery internal constructor( */ val items: Property>?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -372,7 +372,7 @@ data class Gallery internal constructor( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:
  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -511,7 +511,7 @@ fun DivScope.gallery( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -648,7 +648,7 @@ fun DivScope.galleryProps( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -785,7 +785,7 @@ fun TemplateScope.galleryRefs( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -924,7 +924,7 @@ fun Gallery.override( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -1063,7 +1063,7 @@ fun Gallery.defer( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -1287,7 +1287,7 @@ fun Gallery.evaluate( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -1427,7 +1427,7 @@ fun Component.override( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. @@ -1653,7 +1653,7 @@ fun Component.evaluate( * @param itemBuilder Sets collection elements dynamically using `data` and `prototypes`. * @param itemSpacing Spacing between elements. * @param items Gallery elements. Scrolling to elements can be implemented using:

  • `div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — scrolling to the next element inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — scrolling to the previous element inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Gallery orientation. * @param paddings Internal margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/GifImage.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/GifImage.kt index d4802e0fd..36c2a51aa 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/GifImage.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/GifImage.kt @@ -197,7 +197,7 @@ data class GifImage internal constructor( */ val id: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -386,7 +386,7 @@ data class GifImage internal constructor( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -546,7 +546,7 @@ fun DivScope.gifImage( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -704,7 +704,7 @@ fun DivScope.gifImageProps( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -862,7 +862,7 @@ fun TemplateScope.gifImageRefs( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1022,7 +1022,7 @@ fun GifImage.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1182,7 +1182,7 @@ fun GifImage.defer( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1432,7 +1432,7 @@ fun GifImage.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1593,7 +1593,7 @@ fun Component.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1845,7 +1845,7 @@ fun Component.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Grid.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Grid.kt index 1096a8284..4e213cb1e 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Grid.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Grid.kt @@ -193,7 +193,7 @@ data class Grid internal constructor( */ val items: Property>?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -359,7 +359,7 @@ data class Grid internal constructor( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -507,7 +507,7 @@ fun DivScope.grid( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -653,7 +653,7 @@ fun DivScope.gridProps( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -799,7 +799,7 @@ fun TemplateScope.gridRefs( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -947,7 +947,7 @@ fun Grid.override( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1095,7 +1095,7 @@ fun Grid.defer( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1321,7 +1321,7 @@ fun Grid.evaluate( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1470,7 +1470,7 @@ fun Component.override( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1698,7 +1698,7 @@ fun Component.evaluate( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Contents. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Image.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Image.kt index ea33e6153..2d9253045 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Image.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Image.kt @@ -215,7 +215,7 @@ data class Image internal constructor( */ val id: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -421,7 +421,7 @@ data class Image internal constructor( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -596,7 +596,7 @@ fun DivScope.image( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -769,7 +769,7 @@ fun DivScope.imageProps( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -942,7 +942,7 @@ fun TemplateScope.imageRefs( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1117,7 +1117,7 @@ fun Image.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1292,7 +1292,7 @@ fun Image.defer( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1568,7 +1568,7 @@ fun Image.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1744,7 +1744,7 @@ fun Component.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -2022,7 +2022,7 @@ fun Component.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Indicator.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Indicator.kt index 233c90796..60447961c 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Indicator.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Indicator.kt @@ -182,7 +182,7 @@ data class Indicator internal constructor( */ val itemsPlacement: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -200,7 +200,7 @@ data class Indicator internal constructor( */ val paddings: Property?, /** - * ID of the pager that is a data source for an indicator. + * ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. */ val pagerId: Property?, /** @@ -361,11 +361,11 @@ data class Indicator internal constructor( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:

  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -503,11 +503,11 @@ fun DivScope.indicator( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -643,11 +643,11 @@ fun DivScope.indicatorProps( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -783,11 +783,11 @@ fun TemplateScope.indicatorRefs( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -925,11 +925,11 @@ fun Indicator.override( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -1067,11 +1067,11 @@ fun Indicator.defer( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -1287,11 +1287,11 @@ fun Indicator.evaluate( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -1430,11 +1430,11 @@ fun Component.override( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). @@ -1652,11 +1652,11 @@ fun Component.evaluate( * @param inactiveMinimumShape Inactive indicator shape, minimum size. Used when all the indicators don't fit on the screen. * @param inactiveShape Indicator shape. * @param itemsPlacement Indicator items placement mode:
  • Default: Indicators' width is fixed and defined by the `shape` parameters.
  • Stretch: Indicators are expanded to fill the entire width.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param minimumItemSize A size multiplier for a minimal indicator. It is used when the required number of indicators don't fit on the screen. * @param paddings Internal margins from the element stroke. - * @param pagerId ID of the pager that is a data source for an indicator. + * @param pagerId ID of the pager that is a data source for an indicator. If not specified, the indicator will automatically find the nearest pager. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element. * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md). diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Input.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Input.kt index 2644c6dd1..6f6cc910e 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Input.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Input.kt @@ -142,7 +142,7 @@ data class Input internal constructor( */ val disappearActions: Property>?, /** - * Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. */ val enterKeyActions: Property>?, /** @@ -226,7 +226,7 @@ data class Input internal constructor( */ val keyboardType: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -492,7 +492,7 @@ data class Input internal constructor( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -511,7 +511,7 @@ data class Input internal constructor( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -679,7 +679,7 @@ fun DivScope.input( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -698,7 +698,7 @@ fun DivScope.input( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -864,7 +864,7 @@ fun DivScope.inputProps( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -883,7 +883,7 @@ fun DivScope.inputProps( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1049,7 +1049,7 @@ fun TemplateScope.inputRefs( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -1068,7 +1068,7 @@ fun TemplateScope.inputRefs( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1236,7 +1236,7 @@ fun Input.override( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -1255,7 +1255,7 @@ fun Input.override( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1423,7 +1423,7 @@ fun Input.defer( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -1442,7 +1442,7 @@ fun Input.defer( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1733,7 +1733,7 @@ fun Input.evaluate( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -1752,7 +1752,7 @@ fun Input.evaluate( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1921,7 +1921,7 @@ fun Component.override( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -1940,7 +1940,7 @@ fun Component.override( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. @@ -2233,7 +2233,7 @@ fun Component.evaluate( * @param border Element stroke. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param disappearActions Actions when an element disappears from the screen. - * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. + * @param enterKeyActions Actions when pressing the 'Enter' key. Actions (if any) override the default behavior. In multiline inputs, pressing Enter will trigger the actions instead of adding a new line. * @param enterKeyType 'Enter' key type. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param filters Filter that prevents users from entering text that doesn't satisfy the specified conditions. @@ -2252,7 +2252,7 @@ fun Component.evaluate( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables text editing. * @param keyboardType Keyboard type. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. * @param margins External margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Pager.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Pager.kt index 27d5d5194..e6746baf0 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Pager.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Pager.kt @@ -174,7 +174,7 @@ data class Pager internal constructor( */ val layoutMode: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -354,7 +354,7 @@ data class Pager internal constructor( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -493,7 +493,7 @@ fun DivScope.pager( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -630,7 +630,7 @@ fun DivScope.pagerProps( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -767,7 +767,7 @@ fun TemplateScope.pagerRefs( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -906,7 +906,7 @@ fun Pager.override( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -1045,7 +1045,7 @@ fun Pager.defer( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -1263,7 +1263,7 @@ fun Pager.evaluate( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -1403,7 +1403,7 @@ fun Component.override( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. @@ -1623,7 +1623,7 @@ fun Component.evaluate( * @param itemSpacing Spacing between elements. * @param items Pager elements. Page-by-page transition options can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current page with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next page inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous page inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. * @param layoutMode Type of calculation of the main page width:

  • `fixed` — from the fixed width of the next page `neighbour_page_width`;
  • `percentage` — from the percentage value `page_width`.
  • - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param orientation Pager orientation. * @param paddings Internal margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Select.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Select.kt index a48911d5e..9371f2233 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Select.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Select.kt @@ -180,7 +180,7 @@ data class Select internal constructor( */ val id: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -392,7 +392,7 @@ data class Select internal constructor( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. @@ -536,7 +536,7 @@ fun DivScope.select( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. @@ -678,7 +678,7 @@ fun DivScope.selectProps( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. @@ -820,7 +820,7 @@ fun TemplateScope.selectRefs( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. @@ -964,7 +964,7 @@ fun Select.override( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1108,7 +1108,7 @@ fun Select.defer( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1341,7 +1341,7 @@ fun Select.evaluate( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. @@ -1486,7 +1486,7 @@ fun Component.evaluate( * @param hintColor Hint color. * @param hintText Hint text. * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Measured in units set in `font_size_unit`. * @param margins External margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Separator.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Separator.kt index 84f74941b..dc9ff9fd9 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Separator.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Separator.kt @@ -176,7 +176,7 @@ data class Separator internal constructor( */ val id: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -387,7 +387,7 @@ data class Separator internal constructor( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -526,7 +526,7 @@ fun DivScope.separator( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -663,7 +663,7 @@ fun DivScope.separatorProps( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -800,7 +800,7 @@ fun TemplateScope.separatorRefs( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -939,7 +939,7 @@ fun Separator.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1078,7 +1078,7 @@ fun Separator.defer( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1286,7 +1286,7 @@ fun Separator.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1426,7 +1426,7 @@ fun Component.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1636,7 +1636,7 @@ fun Component.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Slider.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Slider.kt index 469e4907e..d79a5b8fd 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Slider.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Slider.kt @@ -151,7 +151,7 @@ data class Slider internal constructor( */ val isEnabled: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -499,7 +499,7 @@ data class Slider internal constructor( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -650,7 +650,7 @@ fun DivScope.slider( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -799,7 +799,7 @@ fun DivScope.sliderProps( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -948,7 +948,7 @@ fun TemplateScope.sliderRefs( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -1099,7 +1099,7 @@ fun Slider.override( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -1250,7 +1250,7 @@ fun Slider.defer( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -1478,7 +1478,7 @@ fun Slider.evaluate( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -1630,7 +1630,7 @@ fun Component.override( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. @@ -1860,7 +1860,7 @@ fun Component.evaluate( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables toggling values by clicking or swiping. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/State.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/State.kt index 014fa44f1..ea2550d0f 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/State.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/State.kt @@ -191,7 +191,7 @@ data class State internal constructor( */ val id: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -434,7 +434,7 @@ data class State internal constructor( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -588,7 +588,7 @@ fun DivScope.state( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -740,7 +740,7 @@ fun DivScope.stateProps( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -892,7 +892,7 @@ fun TemplateScope.stateRefs( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1046,7 +1046,7 @@ fun State.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1200,7 +1200,7 @@ fun State.defer( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1434,7 +1434,7 @@ fun State.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1589,7 +1589,7 @@ fun Component.override( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. @@ -1825,7 +1825,7 @@ fun Component.evaluate( * @param hoverEndActions Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Switch.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Switch.kt index d5a083a6c..05724a422 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Switch.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Switch.kt @@ -143,7 +143,7 @@ data class Switch internal constructor( */ val isOnVariable: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -283,7 +283,7 @@ data class Switch internal constructor( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -400,7 +400,7 @@ fun DivScope.switch( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -515,7 +515,7 @@ fun DivScope.switchProps( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -630,7 +630,7 @@ fun TemplateScope.switchRefs( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -747,7 +747,7 @@ fun Switch.override( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -864,7 +864,7 @@ fun Switch.defer( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -1046,7 +1046,7 @@ fun Switch.evaluate( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -1164,7 +1164,7 @@ fun Component.override( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used @@ -1348,7 +1348,7 @@ fun Component.evaluate( * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param isEnabled Enables or disables the element's toggle functionality. * @param isOnVariable Name of the Boolean variable assigned to the toggle. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param onColor Color of the toggle in the enabled state. If the color is omitted: : iOS standard system color is used diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Tabs.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Tabs.kt index 412b60354..3898f4fc3 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Tabs.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Tabs.kt @@ -156,7 +156,7 @@ data class Tabs internal constructor( */ val items: Property>?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -606,7 +606,7 @@ data class Tabs internal constructor( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:
  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -745,7 +745,7 @@ fun DivScope.tabs( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -882,7 +882,7 @@ fun DivScope.tabsProps( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -1019,7 +1019,7 @@ fun TemplateScope.tabsRefs( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -1158,7 +1158,7 @@ fun Tabs.override( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -1297,7 +1297,7 @@ fun Tabs.defer( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -1515,7 +1515,7 @@ fun Tabs.evaluate( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -1655,7 +1655,7 @@ fun Component.override( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. @@ -1875,7 +1875,7 @@ fun Component.evaluate( * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param items Tabs. Transition between tabs can be implemented using:

  • `div-action://set_current_item?id=&item=` — set the current tab with an ordinal number `item` inside an element, with the specified `id`;
  • `div-action://set_next_item?id=[&overflow={clamp\|ring}]` — go to the next tab inside an element, with the specified `id`;
  • `div-action://set_previous_item?id=[&overflow={clamp\|ring}]` — go to the previous tab inside an element, with the specified `id`.
  • The optional `overflow` parameter is used to set navigation when the first or last element is reached:

  • `clamp` — transition will stop at the border element;
  • `ring` — go to the beginning or end, depending on the current element.
  • By default, `clamp`. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param paddings Internal margins from the element stroke. * @param restrictParentScroll If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Text.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Text.kt index 7a37968be..7b1d207a1 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Text.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Text.kt @@ -249,7 +249,7 @@ data class Text internal constructor( */ val images: Property>?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -896,7 +896,7 @@ data class Text internal constructor( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -1113,7 +1113,7 @@ fun DivScope.text( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -1328,7 +1328,7 @@ fun DivScope.textProps( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -1543,7 +1543,7 @@ fun TemplateScope.textRefs( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -1760,7 +1760,7 @@ fun Text.override( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -1977,7 +1977,7 @@ fun Text.defer( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -2331,7 +2331,7 @@ fun Text.evaluate( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -2549,7 +2549,7 @@ fun Component.override( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. @@ -2905,7 +2905,7 @@ fun Component.evaluate( * @param hoverStartActions Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. * @param images Images embedded in text. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. * @param longtapActions Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Video.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Video.kt index 24ac78110..a6287f6a9 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Video.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Video.kt @@ -171,7 +171,7 @@ data class Video internal constructor( */ val id: Property?, /** - * Provides data on the actual size of the element. + * Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. */ val layoutProvider: Property?, /** @@ -358,7 +358,7 @@ data class Video internal constructor( * @param functions User functions. * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param muted This option mutes video. * @param paddings Internal margins from the element stroke. @@ -508,7 +508,7 @@ fun DivScope.video( * @param functions User functions. * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param muted This option mutes video. * @param paddings Internal margins from the element stroke. @@ -656,7 +656,7 @@ fun DivScope.videoProps( * @param functions User functions. * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param muted This option mutes video. * @param paddings Internal margins from the element stroke. @@ -804,7 +804,7 @@ fun TemplateScope.videoRefs( * @param functions User functions. * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param muted This option mutes video. * @param paddings Internal margins from the element stroke. @@ -954,7 +954,7 @@ fun Video.override( * @param functions User functions. * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param muted This option mutes video. * @param paddings Internal margins from the element stroke. @@ -1104,7 +1104,7 @@ fun Video.defer( * @param functions User functions. * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param muted This option mutes video. * @param paddings Internal margins from the element stroke. @@ -1337,7 +1337,7 @@ fun Video.evaluate( * @param functions User functions. * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout). * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. - * @param layoutProvider Provides data on the actual size of the element. + * @param layoutProvider Provides data on the actual size of the element. The size is calculated without taking into account the margins of the element itself. * @param margins External margins from the element stroke. * @param muted This option mutes video. * @param paddings Internal margins from the element stroke. @@ -1488,7 +1488,7 @@ fun Component