From 98729619b9b2465c479ec3074bc3f12b79d4fadb Mon Sep 17 00:00:00 2001 From: robot-divkit Date: Wed, 25 Jun 2025 19:39:16 +0300 Subject: [PATCH] Updated version to 32.6.0 commit_hash:ead4f54558b925f10ab3589e6e74f488692220a8 --- .mapping.json | 1 + client/ios/Configurations/Version.xcconfig | 2 +- client/ios/DivKit/DivKitInfo.swift | 2 +- client/web/divkit/package.json | 2 +- .../kotlin/divkit/dsl/ActionTyped.kt | 2 +- .../divkit/dsl/ActionUpdateStructure.kt | 198 ++++++++++ .../src/generated/kotlin/divkit/dsl/State.kt | 356 ++++++++++++++++++ json-builder/python/pyproject.toml | 2 +- json-builder/typescript/package.json | 2 +- version | 2 +- 10 files changed, 562 insertions(+), 7 deletions(-) create mode 100644 json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt diff --git a/.mapping.json b/.mapping.json index 383327972..5337ab5bb 100644 --- a/.mapping.json +++ b/.mapping.json @@ -19944,6 +19944,7 @@ "json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionSubmit.kt":"divkit/public/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionSubmit.kt", "json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTimer.kt":"divkit/public/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTimer.kt", "json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTyped.kt":"divkit/public/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTyped.kt", + "json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt":"divkit/public/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt", "json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionVideo.kt":"divkit/public/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionVideo.kt", "json-builder/kotlin/src/generated/kotlin/divkit/dsl/AlignmentHorizontal.kt":"divkit/public/json-builder/kotlin/src/generated/kotlin/divkit/dsl/AlignmentHorizontal.kt", "json-builder/kotlin/src/generated/kotlin/divkit/dsl/AlignmentVertical.kt":"divkit/public/json-builder/kotlin/src/generated/kotlin/divkit/dsl/AlignmentVertical.kt", diff --git a/client/ios/Configurations/Version.xcconfig b/client/ios/Configurations/Version.xcconfig index aa7e0de86..878059db6 100644 --- a/client/ios/Configurations/Version.xcconfig +++ b/client/ios/Configurations/Version.xcconfig @@ -1,2 +1,2 @@ -MARKETING_VERSION = 32.5.0 +MARKETING_VERSION = 32.6.0 CURRENT_PROJECT_VERSION = 32 diff --git a/client/ios/DivKit/DivKitInfo.swift b/client/ios/DivKit/DivKitInfo.swift index e10d8b059..71b0af508 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.5.0" + public static let version = "32.6.0" } diff --git a/client/web/divkit/package.json b/client/web/divkit/package.json index ab92ae33d..26b3f7a89 100644 --- a/client/web/divkit/package.json +++ b/client/web/divkit/package.json @@ -1,6 +1,6 @@ { "name": "@divkitframework/divkit", - "version": "32.5.0", + "version": "32.6.0", "description": "DivKit for the web", "keywords": [ "server-driven-ui", diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTyped.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTyped.kt index c13c55ecb..02c69e87e 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTyped.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionTyped.kt @@ -18,7 +18,7 @@ import kotlin.collections.List import kotlin.collections.Map /** - * Possible values: [ActionAnimatorStart], [ActionAnimatorStop], [ActionArrayInsertValue], [ActionArrayRemoveValue], [ActionArraySetValue], [ActionClearFocus], [ActionCopyToClipboard], [ActionDictSetValue], [ActionDownload], [ActionFocusElement], [ActionHideTooltip], [ActionScrollBy], [ActionScrollTo], [ActionSetState], [ActionSetStoredValue], [ActionSetVariable], [ActionShowTooltip], [ActionSubmit], [ActionTimer], [ActionVideo]. + * Possible values: [ActionAnimatorStart], [ActionAnimatorStop], [ActionArrayInsertValue], [ActionArrayRemoveValue], [ActionArraySetValue], [ActionClearFocus], [ActionCopyToClipboard], [ActionDictSetValue], [ActionDownload], [ActionFocusElement], [ActionHideTooltip], [ActionScrollBy], [ActionScrollTo], [ActionSetState], [ActionSetStoredValue], [ActionSetVariable], [ActionShowTooltip], [ActionSubmit], [ActionTimer], [ActionUpdateStructure], [ActionVideo]. */ @Generated sealed interface ActionTyped diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt new file mode 100644 index 000000000..55fa1532f --- /dev/null +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/ActionUpdateStructure.kt @@ -0,0 +1,198 @@ +@file:Suppress( + "unused", + "UNUSED_PARAMETER", +) + +package divkit.dsl + +import com.fasterxml.jackson.annotation.JsonAnyGetter +import com.fasterxml.jackson.annotation.JsonIgnore +import com.fasterxml.jackson.annotation.JsonValue +import divkit.dsl.annotation.* +import divkit.dsl.core.* +import divkit.dsl.scope.* +import kotlin.Any +import kotlin.String +import kotlin.Suppress +import kotlin.collections.List +import kotlin.collections.Map + +/** + * Set values ​​in a variable of type array or dictionary with different nesting. + * + * Can be created using the method [actionUpdateStructure]. + * + * Required parameters: `variable_name, value, type, path`. + */ +@Generated +data class ActionUpdateStructure internal constructor( + @JsonIgnore + val properties: Properties, +) : ActionTyped { + @JsonAnyGetter + internal fun getJsonProperties(): Map = properties.mergeWith( + mapOf("type" to "update_structure") + ) + + operator fun plus(additive: Properties): ActionUpdateStructure = ActionUpdateStructure( + Properties( + path = additive.path ?: properties.path, + value = additive.value ?: properties.value, + variableName = additive.variableName ?: properties.variableName, + ) + ) + + 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`. + */ + val path: Property?, + /** + * Value set into dictionary/array. + */ + val value: Property?, + /** + * Variable name of array or dictionary type. + */ + val variableName: Property?, + ) { + internal fun mergeWith(properties: Map): Map { + val result = mutableMapOf() + result.putAll(properties) + result.tryPutProperty("path", path) + result.tryPutProperty("value", value) + result.tryPutProperty("variable_name", variableName) + return result + } + } +} + +/** + * @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 value Value set into dictionary/array. + * @param variableName Variable name of array or dictionary type. + */ +@Generated +fun DivScope.actionUpdateStructure( + `use named arguments`: Guard = Guard.instance, + path: String? = null, + value: TypedValue? = null, + variableName: String? = null, +): ActionUpdateStructure = ActionUpdateStructure( + ActionUpdateStructure.Properties( + path = valueOrNull(path), + value = valueOrNull(value), + variableName = valueOrNull(variableName), + ) +) + +/** + * @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 value Value set into dictionary/array. + * @param variableName Variable name of array or dictionary type. + */ +@Generated +fun DivScope.actionUpdateStructureProps( + `use named arguments`: Guard = Guard.instance, + path: String? = null, + value: TypedValue? = null, + variableName: String? = null, +) = ActionUpdateStructure.Properties( + path = valueOrNull(path), + value = valueOrNull(value), + variableName = valueOrNull(variableName), +) + +/** + * @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 value Value set into dictionary/array. + * @param variableName Variable name of array or dictionary type. + */ +@Generated +fun TemplateScope.actionUpdateStructureRefs( + `use named arguments`: Guard = Guard.instance, + path: ReferenceProperty? = null, + value: ReferenceProperty? = null, + variableName: ReferenceProperty? = null, +) = ActionUpdateStructure.Properties( + path = path, + value = value, + variableName = variableName, +) + +/** + * @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 value Value set into dictionary/array. + * @param variableName Variable name of array or dictionary type. + */ +@Generated +fun ActionUpdateStructure.override( + `use named arguments`: Guard = Guard.instance, + path: String? = null, + value: TypedValue? = null, + variableName: String? = null, +): ActionUpdateStructure = ActionUpdateStructure( + ActionUpdateStructure.Properties( + path = valueOrNull(path) ?: properties.path, + value = valueOrNull(value) ?: properties.value, + variableName = valueOrNull(variableName) ?: properties.variableName, + ) +) + +/** + * @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 value Value set into dictionary/array. + * @param variableName Variable name of array or dictionary type. + */ +@Generated +fun ActionUpdateStructure.defer( + `use named arguments`: Guard = Guard.instance, + path: ReferenceProperty? = null, + value: ReferenceProperty? = null, + variableName: ReferenceProperty? = null, +): ActionUpdateStructure = ActionUpdateStructure( + ActionUpdateStructure.Properties( + path = path ?: properties.path, + value = value ?: properties.value, + variableName = variableName ?: properties.variableName, + ) +) + +/** + * @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 value Value set into dictionary/array. + * @param variableName Variable name of array or dictionary type. + */ +@Generated +fun ActionUpdateStructure.modify( + `use named arguments`: Guard = Guard.instance, + path: Property? = null, + value: Property? = null, + variableName: Property? = null, +): ActionUpdateStructure = ActionUpdateStructure( + ActionUpdateStructure.Properties( + path = path ?: properties.path, + value = value ?: properties.value, + variableName = variableName ?: properties.variableName, + ) +) + +/** + * @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 variableName Variable name of array or dictionary type. + */ +@Generated +fun ActionUpdateStructure.evaluate( + `use named arguments`: Guard = Guard.instance, + path: ExpressionProperty? = null, + variableName: ExpressionProperty? = null, +): ActionUpdateStructure = ActionUpdateStructure( + ActionUpdateStructure.Properties( + path = path ?: properties.path, + value = properties.value, + variableName = variableName ?: properties.variableName, + ) +) + +@Generated +fun ActionUpdateStructure.asList() = listOf(this) 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 c341d7691..014fa44f1 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/State.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/State.kt @@ -37,25 +37,35 @@ data class State internal constructor( operator fun plus(additive: Properties): State = State( Properties( accessibility = additive.accessibility ?: properties.accessibility, + action = additive.action ?: properties.action, + actionAnimation = additive.actionAnimation ?: properties.actionAnimation, + actions = additive.actions ?: properties.actions, alignmentHorizontal = additive.alignmentHorizontal ?: properties.alignmentHorizontal, alignmentVertical = additive.alignmentVertical ?: properties.alignmentVertical, alpha = additive.alpha ?: properties.alpha, animators = additive.animators ?: properties.animators, background = additive.background ?: properties.background, border = additive.border ?: properties.border, + captureFocusOnAction = additive.captureFocusOnAction ?: properties.captureFocusOnAction, clipToBounds = additive.clipToBounds ?: properties.clipToBounds, columnSpan = additive.columnSpan ?: properties.columnSpan, defaultStateId = additive.defaultStateId ?: properties.defaultStateId, disappearActions = additive.disappearActions ?: properties.disappearActions, divId = additive.divId ?: properties.divId, + doubletapActions = additive.doubletapActions ?: properties.doubletapActions, extensions = additive.extensions ?: properties.extensions, focus = additive.focus ?: properties.focus, functions = additive.functions ?: properties.functions, height = additive.height ?: properties.height, + hoverEndActions = additive.hoverEndActions ?: properties.hoverEndActions, + hoverStartActions = additive.hoverStartActions ?: properties.hoverStartActions, id = additive.id ?: properties.id, layoutProvider = additive.layoutProvider ?: properties.layoutProvider, + longtapActions = additive.longtapActions ?: properties.longtapActions, margins = additive.margins ?: properties.margins, paddings = additive.paddings ?: properties.paddings, + pressEndActions = additive.pressEndActions ?: properties.pressEndActions, + pressStartActions = additive.pressStartActions ?: properties.pressStartActions, reuseId = additive.reuseId ?: properties.reuseId, rowSpan = additive.rowSpan ?: properties.rowSpan, selectedActions = additive.selectedActions ?: properties.selectedActions, @@ -82,6 +92,19 @@ data class State internal constructor( * Accessibility settings. */ val accessibility: Property?, + /** + * One action when clicking on an element. Not used if the `actions` parameter is set. + */ + val action: Property?, + /** + * Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * Default value: `{"name": "fade", "start_value": 1, "end_value": 0.6, "duration": 100 }`. + */ + val actionAnimation: Property?, + /** + * Multiple actions when clicking on an element. + */ + val actions: Property>?, /** * Horizontal alignment of an element inside the parent element. */ @@ -107,6 +130,11 @@ data class State internal constructor( * Element stroke. */ val border: Property?, + /** + * If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • + * Default value: `true`. + */ + val captureFocusOnAction: Property?, /** * Enables the bounding of child elements by the parent's borders. * Default value: `true`. @@ -129,6 +157,10 @@ data class State internal constructor( */ @Deprecated("Marked as deprecated in the JSON schema ") val divId: Property?, + /** + * Action when double-clicking on an element. + */ + val doubletapActions: Property>?, /** * Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). */ @@ -146,6 +178,14 @@ data class State internal constructor( * Default value: `{"type": "wrap_content"}`. */ val height: Property?, + /** + * Actions performed after hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). + */ + val hoverEndActions: Property>?, + /** + * Actions performed when hovering over an element. Available on platforms that support pointing devices (such as a mouse or stylus). + */ + val hoverStartActions: Property>?, /** * Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS. */ @@ -154,6 +194,10 @@ data class State internal constructor( * Provides data on the actual size of the element. */ val layoutProvider: Property?, + /** + * Action when long-clicking an element. Doesn't work on devices that don't support touch gestures. + */ + val longtapActions: Property>?, /** * External margins from the element stroke. */ @@ -162,6 +206,14 @@ data class State internal constructor( * Internal margins from the element stroke. */ val paddings: Property?, + /** + * Actions performed after clicking/tapping an element. + */ + val pressEndActions: Property>?, + /** + * Actions performed at the start of a click/tap on an element. + */ + val pressStartActions: Property>?, /** * ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). */ @@ -243,25 +295,35 @@ data class State internal constructor( val result = mutableMapOf() result.putAll(properties) result.tryPutProperty("accessibility", accessibility) + result.tryPutProperty("action", action) + result.tryPutProperty("action_animation", actionAnimation) + result.tryPutProperty("actions", actions) result.tryPutProperty("alignment_horizontal", alignmentHorizontal) result.tryPutProperty("alignment_vertical", alignmentVertical) result.tryPutProperty("alpha", alpha) result.tryPutProperty("animators", animators) result.tryPutProperty("background", background) result.tryPutProperty("border", border) + result.tryPutProperty("capture_focus_on_action", captureFocusOnAction) result.tryPutProperty("clip_to_bounds", clipToBounds) result.tryPutProperty("column_span", columnSpan) result.tryPutProperty("default_state_id", defaultStateId) result.tryPutProperty("disappear_actions", disappearActions) result.tryPutProperty("div_id", divId) + result.tryPutProperty("doubletap_actions", doubletapActions) result.tryPutProperty("extensions", extensions) result.tryPutProperty("focus", focus) result.tryPutProperty("functions", functions) result.tryPutProperty("height", height) + result.tryPutProperty("hover_end_actions", hoverEndActions) + result.tryPutProperty("hover_start_actions", hoverStartActions) result.tryPutProperty("id", id) result.tryPutProperty("layout_provider", layoutProvider) + result.tryPutProperty("longtap_actions", longtapActions) result.tryPutProperty("margins", margins) result.tryPutProperty("paddings", paddings) + result.tryPutProperty("press_end_actions", pressEndActions) + result.tryPutProperty("press_start_actions", pressStartActions) result.tryPutProperty("reuse_id", reuseId) result.tryPutProperty("row_span", rowSpan) result.tryPutProperty("selected_actions", selectedActions) @@ -349,25 +411,35 @@ data class State internal constructor( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -391,25 +463,35 @@ data class State internal constructor( fun DivScope.state( `use named arguments`: Guard = Guard.instance, accessibility: Accessibility? = null, + action: Action? = null, + actionAnimation: Animation? = null, + actions: List? = null, alignmentHorizontal: AlignmentHorizontal? = null, alignmentVertical: AlignmentVertical? = null, alpha: Double? = null, animators: List? = null, background: List? = null, border: Border? = null, + captureFocusOnAction: Boolean? = null, clipToBounds: Boolean? = null, columnSpan: Int? = null, defaultStateId: String? = null, disappearActions: List? = null, divId: String? = null, + doubletapActions: List? = null, extensions: List? = null, focus: Focus? = null, functions: List? = null, height: Size? = null, + hoverEndActions: List? = null, + hoverStartActions: List? = null, id: String? = null, layoutProvider: LayoutProvider? = null, + longtapActions: List? = null, margins: EdgeInsets? = null, paddings: EdgeInsets? = null, + pressEndActions: List? = null, + pressStartActions: List? = null, reuseId: String? = null, rowSpan: Int? = null, selectedActions: List? = null, @@ -431,25 +513,35 @@ fun DivScope.state( ): State = State( State.Properties( accessibility = valueOrNull(accessibility), + action = valueOrNull(action), + actionAnimation = valueOrNull(actionAnimation), + actions = valueOrNull(actions), alignmentHorizontal = valueOrNull(alignmentHorizontal), alignmentVertical = valueOrNull(alignmentVertical), alpha = valueOrNull(alpha), animators = valueOrNull(animators), background = valueOrNull(background), border = valueOrNull(border), + captureFocusOnAction = valueOrNull(captureFocusOnAction), clipToBounds = valueOrNull(clipToBounds), columnSpan = valueOrNull(columnSpan), defaultStateId = valueOrNull(defaultStateId), disappearActions = valueOrNull(disappearActions), divId = valueOrNull(divId), + doubletapActions = valueOrNull(doubletapActions), extensions = valueOrNull(extensions), focus = valueOrNull(focus), functions = valueOrNull(functions), height = valueOrNull(height), + hoverEndActions = valueOrNull(hoverEndActions), + hoverStartActions = valueOrNull(hoverStartActions), id = valueOrNull(id), layoutProvider = valueOrNull(layoutProvider), + longtapActions = valueOrNull(longtapActions), margins = valueOrNull(margins), paddings = valueOrNull(paddings), + pressEndActions = valueOrNull(pressEndActions), + pressStartActions = valueOrNull(pressStartActions), reuseId = valueOrNull(reuseId), rowSpan = valueOrNull(rowSpan), selectedActions = valueOrNull(selectedActions), @@ -473,25 +565,35 @@ fun DivScope.state( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -515,25 +617,35 @@ fun DivScope.state( fun DivScope.stateProps( `use named arguments`: Guard = Guard.instance, accessibility: Accessibility? = null, + action: Action? = null, + actionAnimation: Animation? = null, + actions: List? = null, alignmentHorizontal: AlignmentHorizontal? = null, alignmentVertical: AlignmentVertical? = null, alpha: Double? = null, animators: List? = null, background: List? = null, border: Border? = null, + captureFocusOnAction: Boolean? = null, clipToBounds: Boolean? = null, columnSpan: Int? = null, defaultStateId: String? = null, disappearActions: List? = null, divId: String? = null, + doubletapActions: List? = null, extensions: List? = null, focus: Focus? = null, functions: List? = null, height: Size? = null, + hoverEndActions: List? = null, + hoverStartActions: List? = null, id: String? = null, layoutProvider: LayoutProvider? = null, + longtapActions: List? = null, margins: EdgeInsets? = null, paddings: EdgeInsets? = null, + pressEndActions: List? = null, + pressStartActions: List? = null, reuseId: String? = null, rowSpan: Int? = null, selectedActions: List? = null, @@ -554,25 +666,35 @@ fun DivScope.stateProps( width: Size? = null, ) = State.Properties( accessibility = valueOrNull(accessibility), + action = valueOrNull(action), + actionAnimation = valueOrNull(actionAnimation), + actions = valueOrNull(actions), alignmentHorizontal = valueOrNull(alignmentHorizontal), alignmentVertical = valueOrNull(alignmentVertical), alpha = valueOrNull(alpha), animators = valueOrNull(animators), background = valueOrNull(background), border = valueOrNull(border), + captureFocusOnAction = valueOrNull(captureFocusOnAction), clipToBounds = valueOrNull(clipToBounds), columnSpan = valueOrNull(columnSpan), defaultStateId = valueOrNull(defaultStateId), disappearActions = valueOrNull(disappearActions), divId = valueOrNull(divId), + doubletapActions = valueOrNull(doubletapActions), extensions = valueOrNull(extensions), focus = valueOrNull(focus), functions = valueOrNull(functions), height = valueOrNull(height), + hoverEndActions = valueOrNull(hoverEndActions), + hoverStartActions = valueOrNull(hoverStartActions), id = valueOrNull(id), layoutProvider = valueOrNull(layoutProvider), + longtapActions = valueOrNull(longtapActions), margins = valueOrNull(margins), paddings = valueOrNull(paddings), + pressEndActions = valueOrNull(pressEndActions), + pressStartActions = valueOrNull(pressStartActions), reuseId = valueOrNull(reuseId), rowSpan = valueOrNull(rowSpan), selectedActions = valueOrNull(selectedActions), @@ -595,25 +717,35 @@ fun DivScope.stateProps( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -637,25 +769,35 @@ fun DivScope.stateProps( fun TemplateScope.stateRefs( `use named arguments`: Guard = Guard.instance, accessibility: ReferenceProperty? = null, + action: ReferenceProperty? = null, + actionAnimation: ReferenceProperty? = null, + actions: ReferenceProperty>? = null, alignmentHorizontal: ReferenceProperty? = null, alignmentVertical: ReferenceProperty? = null, alpha: ReferenceProperty? = null, animators: ReferenceProperty>? = null, background: ReferenceProperty>? = null, border: ReferenceProperty? = null, + captureFocusOnAction: ReferenceProperty? = null, clipToBounds: ReferenceProperty? = null, columnSpan: ReferenceProperty? = null, defaultStateId: ReferenceProperty? = null, disappearActions: ReferenceProperty>? = null, divId: ReferenceProperty? = null, + doubletapActions: ReferenceProperty>? = null, extensions: ReferenceProperty>? = null, focus: ReferenceProperty? = null, functions: ReferenceProperty>? = null, height: ReferenceProperty? = null, + hoverEndActions: ReferenceProperty>? = null, + hoverStartActions: ReferenceProperty>? = null, id: ReferenceProperty? = null, layoutProvider: ReferenceProperty? = null, + longtapActions: ReferenceProperty>? = null, margins: ReferenceProperty? = null, paddings: ReferenceProperty? = null, + pressEndActions: ReferenceProperty>? = null, + pressStartActions: ReferenceProperty>? = null, reuseId: ReferenceProperty? = null, rowSpan: ReferenceProperty? = null, selectedActions: ReferenceProperty>? = null, @@ -676,25 +818,35 @@ fun TemplateScope.stateRefs( width: ReferenceProperty? = null, ) = State.Properties( accessibility = accessibility, + action = action, + actionAnimation = actionAnimation, + actions = actions, alignmentHorizontal = alignmentHorizontal, alignmentVertical = alignmentVertical, alpha = alpha, animators = animators, background = background, border = border, + captureFocusOnAction = captureFocusOnAction, clipToBounds = clipToBounds, columnSpan = columnSpan, defaultStateId = defaultStateId, disappearActions = disappearActions, divId = divId, + doubletapActions = doubletapActions, extensions = extensions, focus = focus, functions = functions, height = height, + hoverEndActions = hoverEndActions, + hoverStartActions = hoverStartActions, id = id, layoutProvider = layoutProvider, + longtapActions = longtapActions, margins = margins, paddings = paddings, + pressEndActions = pressEndActions, + pressStartActions = pressStartActions, reuseId = reuseId, rowSpan = rowSpan, selectedActions = selectedActions, @@ -717,25 +869,35 @@ fun TemplateScope.stateRefs( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -759,25 +921,35 @@ fun TemplateScope.stateRefs( fun State.override( `use named arguments`: Guard = Guard.instance, accessibility: Accessibility? = null, + action: Action? = null, + actionAnimation: Animation? = null, + actions: List? = null, alignmentHorizontal: AlignmentHorizontal? = null, alignmentVertical: AlignmentVertical? = null, alpha: Double? = null, animators: List? = null, background: List? = null, border: Border? = null, + captureFocusOnAction: Boolean? = null, clipToBounds: Boolean? = null, columnSpan: Int? = null, defaultStateId: String? = null, disappearActions: List? = null, divId: String? = null, + doubletapActions: List? = null, extensions: List? = null, focus: Focus? = null, functions: List? = null, height: Size? = null, + hoverEndActions: List? = null, + hoverStartActions: List? = null, id: String? = null, layoutProvider: LayoutProvider? = null, + longtapActions: List? = null, margins: EdgeInsets? = null, paddings: EdgeInsets? = null, + pressEndActions: List? = null, + pressStartActions: List? = null, reuseId: String? = null, rowSpan: Int? = null, selectedActions: List? = null, @@ -799,25 +971,35 @@ fun State.override( ): State = State( State.Properties( accessibility = valueOrNull(accessibility) ?: properties.accessibility, + action = valueOrNull(action) ?: properties.action, + actionAnimation = valueOrNull(actionAnimation) ?: properties.actionAnimation, + actions = valueOrNull(actions) ?: properties.actions, alignmentHorizontal = valueOrNull(alignmentHorizontal) ?: properties.alignmentHorizontal, alignmentVertical = valueOrNull(alignmentVertical) ?: properties.alignmentVertical, alpha = valueOrNull(alpha) ?: properties.alpha, animators = valueOrNull(animators) ?: properties.animators, background = valueOrNull(background) ?: properties.background, border = valueOrNull(border) ?: properties.border, + captureFocusOnAction = valueOrNull(captureFocusOnAction) ?: properties.captureFocusOnAction, clipToBounds = valueOrNull(clipToBounds) ?: properties.clipToBounds, columnSpan = valueOrNull(columnSpan) ?: properties.columnSpan, defaultStateId = valueOrNull(defaultStateId) ?: properties.defaultStateId, disappearActions = valueOrNull(disappearActions) ?: properties.disappearActions, divId = valueOrNull(divId) ?: properties.divId, + doubletapActions = valueOrNull(doubletapActions) ?: properties.doubletapActions, extensions = valueOrNull(extensions) ?: properties.extensions, focus = valueOrNull(focus) ?: properties.focus, functions = valueOrNull(functions) ?: properties.functions, height = valueOrNull(height) ?: properties.height, + hoverEndActions = valueOrNull(hoverEndActions) ?: properties.hoverEndActions, + hoverStartActions = valueOrNull(hoverStartActions) ?: properties.hoverStartActions, id = valueOrNull(id) ?: properties.id, layoutProvider = valueOrNull(layoutProvider) ?: properties.layoutProvider, + longtapActions = valueOrNull(longtapActions) ?: properties.longtapActions, margins = valueOrNull(margins) ?: properties.margins, paddings = valueOrNull(paddings) ?: properties.paddings, + pressEndActions = valueOrNull(pressEndActions) ?: properties.pressEndActions, + pressStartActions = valueOrNull(pressStartActions) ?: properties.pressStartActions, reuseId = valueOrNull(reuseId) ?: properties.reuseId, rowSpan = valueOrNull(rowSpan) ?: properties.rowSpan, selectedActions = valueOrNull(selectedActions) ?: properties.selectedActions, @@ -841,25 +1023,35 @@ fun State.override( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -883,25 +1075,35 @@ fun State.override( fun State.defer( `use named arguments`: Guard = Guard.instance, accessibility: ReferenceProperty? = null, + action: ReferenceProperty? = null, + actionAnimation: ReferenceProperty? = null, + actions: ReferenceProperty>? = null, alignmentHorizontal: ReferenceProperty? = null, alignmentVertical: ReferenceProperty? = null, alpha: ReferenceProperty? = null, animators: ReferenceProperty>? = null, background: ReferenceProperty>? = null, border: ReferenceProperty? = null, + captureFocusOnAction: ReferenceProperty? = null, clipToBounds: ReferenceProperty? = null, columnSpan: ReferenceProperty? = null, defaultStateId: ReferenceProperty? = null, disappearActions: ReferenceProperty>? = null, divId: ReferenceProperty? = null, + doubletapActions: ReferenceProperty>? = null, extensions: ReferenceProperty>? = null, focus: ReferenceProperty? = null, functions: ReferenceProperty>? = null, height: ReferenceProperty? = null, + hoverEndActions: ReferenceProperty>? = null, + hoverStartActions: ReferenceProperty>? = null, id: ReferenceProperty? = null, layoutProvider: ReferenceProperty? = null, + longtapActions: ReferenceProperty>? = null, margins: ReferenceProperty? = null, paddings: ReferenceProperty? = null, + pressEndActions: ReferenceProperty>? = null, + pressStartActions: ReferenceProperty>? = null, reuseId: ReferenceProperty? = null, rowSpan: ReferenceProperty? = null, selectedActions: ReferenceProperty>? = null, @@ -923,25 +1125,35 @@ fun State.defer( ): State = State( State.Properties( accessibility = accessibility ?: properties.accessibility, + action = action ?: properties.action, + actionAnimation = actionAnimation ?: properties.actionAnimation, + actions = actions ?: properties.actions, alignmentHorizontal = alignmentHorizontal ?: properties.alignmentHorizontal, alignmentVertical = alignmentVertical ?: properties.alignmentVertical, alpha = alpha ?: properties.alpha, animators = animators ?: properties.animators, background = background ?: properties.background, border = border ?: properties.border, + captureFocusOnAction = captureFocusOnAction ?: properties.captureFocusOnAction, clipToBounds = clipToBounds ?: properties.clipToBounds, columnSpan = columnSpan ?: properties.columnSpan, defaultStateId = defaultStateId ?: properties.defaultStateId, disappearActions = disappearActions ?: properties.disappearActions, divId = divId ?: properties.divId, + doubletapActions = doubletapActions ?: properties.doubletapActions, extensions = extensions ?: properties.extensions, focus = focus ?: properties.focus, functions = functions ?: properties.functions, height = height ?: properties.height, + hoverEndActions = hoverEndActions ?: properties.hoverEndActions, + hoverStartActions = hoverStartActions ?: properties.hoverStartActions, id = id ?: properties.id, layoutProvider = layoutProvider ?: properties.layoutProvider, + longtapActions = longtapActions ?: properties.longtapActions, margins = margins ?: properties.margins, paddings = paddings ?: properties.paddings, + pressEndActions = pressEndActions ?: properties.pressEndActions, + pressStartActions = pressStartActions ?: properties.pressStartActions, reuseId = reuseId ?: properties.reuseId, rowSpan = rowSpan ?: properties.rowSpan, selectedActions = selectedActions ?: properties.selectedActions, @@ -965,25 +1177,35 @@ fun State.defer( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -1007,25 +1229,35 @@ fun State.defer( fun State.modify( `use named arguments`: Guard = Guard.instance, accessibility: Property? = null, + action: Property? = null, + actionAnimation: Property? = null, + actions: Property>? = null, alignmentHorizontal: Property? = null, alignmentVertical: Property? = null, alpha: Property? = null, animators: Property>? = null, background: Property>? = null, border: Property? = null, + captureFocusOnAction: Property? = null, clipToBounds: Property? = null, columnSpan: Property? = null, defaultStateId: Property? = null, disappearActions: Property>? = null, divId: Property? = null, + doubletapActions: Property>? = null, extensions: Property>? = null, focus: Property? = null, functions: Property>? = null, height: Property? = null, + hoverEndActions: Property>? = null, + hoverStartActions: Property>? = null, id: Property? = null, layoutProvider: Property? = null, + longtapActions: Property>? = null, margins: Property? = null, paddings: Property? = null, + pressEndActions: Property>? = null, + pressStartActions: Property>? = null, reuseId: Property? = null, rowSpan: Property? = null, selectedActions: Property>? = null, @@ -1047,25 +1279,35 @@ fun State.modify( ): State = State( State.Properties( accessibility = accessibility ?: properties.accessibility, + action = action ?: properties.action, + actionAnimation = actionAnimation ?: properties.actionAnimation, + actions = actions ?: properties.actions, alignmentHorizontal = alignmentHorizontal ?: properties.alignmentHorizontal, alignmentVertical = alignmentVertical ?: properties.alignmentVertical, alpha = alpha ?: properties.alpha, animators = animators ?: properties.animators, background = background ?: properties.background, border = border ?: properties.border, + captureFocusOnAction = captureFocusOnAction ?: properties.captureFocusOnAction, clipToBounds = clipToBounds ?: properties.clipToBounds, columnSpan = columnSpan ?: properties.columnSpan, defaultStateId = defaultStateId ?: properties.defaultStateId, disappearActions = disappearActions ?: properties.disappearActions, divId = divId ?: properties.divId, + doubletapActions = doubletapActions ?: properties.doubletapActions, extensions = extensions ?: properties.extensions, focus = focus ?: properties.focus, functions = functions ?: properties.functions, height = height ?: properties.height, + hoverEndActions = hoverEndActions ?: properties.hoverEndActions, + hoverStartActions = hoverStartActions ?: properties.hoverStartActions, id = id ?: properties.id, layoutProvider = layoutProvider ?: properties.layoutProvider, + longtapActions = longtapActions ?: properties.longtapActions, margins = margins ?: properties.margins, paddings = paddings ?: properties.paddings, + pressEndActions = pressEndActions ?: properties.pressEndActions, + pressStartActions = pressStartActions ?: properties.pressStartActions, reuseId = reuseId ?: properties.reuseId, rowSpan = rowSpan ?: properties.rowSpan, selectedActions = selectedActions ?: properties.selectedActions, @@ -1091,6 +1333,7 @@ fun State.modify( * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. @@ -1105,6 +1348,7 @@ fun State.evaluate( alignmentHorizontal: ExpressionProperty? = null, alignmentVertical: ExpressionProperty? = null, alpha: ExpressionProperty? = null, + captureFocusOnAction: ExpressionProperty? = null, clipToBounds: ExpressionProperty? = null, columnSpan: ExpressionProperty? = null, defaultStateId: ExpressionProperty? = null, @@ -1115,25 +1359,35 @@ fun State.evaluate( ): State = State( State.Properties( accessibility = properties.accessibility, + action = properties.action, + actionAnimation = properties.actionAnimation, + actions = properties.actions, alignmentHorizontal = alignmentHorizontal ?: properties.alignmentHorizontal, alignmentVertical = alignmentVertical ?: properties.alignmentVertical, alpha = alpha ?: properties.alpha, animators = properties.animators, background = properties.background, border = properties.border, + captureFocusOnAction = captureFocusOnAction ?: properties.captureFocusOnAction, clipToBounds = clipToBounds ?: properties.clipToBounds, columnSpan = columnSpan ?: properties.columnSpan, defaultStateId = defaultStateId ?: properties.defaultStateId, disappearActions = properties.disappearActions, divId = properties.divId, + doubletapActions = properties.doubletapActions, extensions = properties.extensions, focus = properties.focus, functions = properties.functions, height = properties.height, + hoverEndActions = properties.hoverEndActions, + hoverStartActions = properties.hoverStartActions, id = properties.id, layoutProvider = properties.layoutProvider, + longtapActions = properties.longtapActions, margins = properties.margins, paddings = properties.paddings, + pressEndActions = properties.pressEndActions, + pressStartActions = properties.pressStartActions, reuseId = reuseId ?: properties.reuseId, rowSpan = rowSpan ?: properties.rowSpan, selectedActions = properties.selectedActions, @@ -1157,25 +1411,35 @@ fun State.evaluate( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -1199,25 +1463,35 @@ fun State.evaluate( fun Component.override( `use named arguments`: Guard = Guard.instance, accessibility: Accessibility? = null, + action: Action? = null, + actionAnimation: Animation? = null, + actions: List? = null, alignmentHorizontal: AlignmentHorizontal? = null, alignmentVertical: AlignmentVertical? = null, alpha: Double? = null, animators: List? = null, background: List? = null, border: Border? = null, + captureFocusOnAction: Boolean? = null, clipToBounds: Boolean? = null, columnSpan: Int? = null, defaultStateId: String? = null, disappearActions: List? = null, divId: String? = null, + doubletapActions: List? = null, extensions: List? = null, focus: Focus? = null, functions: List? = null, height: Size? = null, + hoverEndActions: List? = null, + hoverStartActions: List? = null, id: String? = null, layoutProvider: LayoutProvider? = null, + longtapActions: List? = null, margins: EdgeInsets? = null, paddings: EdgeInsets? = null, + pressEndActions: List? = null, + pressStartActions: List? = null, reuseId: String? = null, rowSpan: Int? = null, selectedActions: List? = null, @@ -1240,25 +1514,35 @@ fun Component.override( template = template, properties = State.Properties( accessibility = valueOrNull(accessibility), + action = valueOrNull(action), + actionAnimation = valueOrNull(actionAnimation), + actions = valueOrNull(actions), alignmentHorizontal = valueOrNull(alignmentHorizontal), alignmentVertical = valueOrNull(alignmentVertical), alpha = valueOrNull(alpha), animators = valueOrNull(animators), background = valueOrNull(background), border = valueOrNull(border), + captureFocusOnAction = valueOrNull(captureFocusOnAction), clipToBounds = valueOrNull(clipToBounds), columnSpan = valueOrNull(columnSpan), defaultStateId = valueOrNull(defaultStateId), disappearActions = valueOrNull(disappearActions), divId = valueOrNull(divId), + doubletapActions = valueOrNull(doubletapActions), extensions = valueOrNull(extensions), focus = valueOrNull(focus), functions = valueOrNull(functions), height = valueOrNull(height), + hoverEndActions = valueOrNull(hoverEndActions), + hoverStartActions = valueOrNull(hoverStartActions), id = valueOrNull(id), layoutProvider = valueOrNull(layoutProvider), + longtapActions = valueOrNull(longtapActions), margins = valueOrNull(margins), paddings = valueOrNull(paddings), + pressEndActions = valueOrNull(pressEndActions), + pressStartActions = valueOrNull(pressStartActions), reuseId = valueOrNull(reuseId), rowSpan = valueOrNull(rowSpan), selectedActions = valueOrNull(selectedActions), @@ -1282,25 +1566,35 @@ fun Component.override( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -1324,25 +1618,35 @@ fun Component.override( fun Component.defer( `use named arguments`: Guard = Guard.instance, accessibility: ReferenceProperty? = null, + action: ReferenceProperty? = null, + actionAnimation: ReferenceProperty? = null, + actions: ReferenceProperty>? = null, alignmentHorizontal: ReferenceProperty? = null, alignmentVertical: ReferenceProperty? = null, alpha: ReferenceProperty? = null, animators: ReferenceProperty>? = null, background: ReferenceProperty>? = null, border: ReferenceProperty? = null, + captureFocusOnAction: ReferenceProperty? = null, clipToBounds: ReferenceProperty? = null, columnSpan: ReferenceProperty? = null, defaultStateId: ReferenceProperty? = null, disappearActions: ReferenceProperty>? = null, divId: ReferenceProperty? = null, + doubletapActions: ReferenceProperty>? = null, extensions: ReferenceProperty>? = null, focus: ReferenceProperty? = null, functions: ReferenceProperty>? = null, height: ReferenceProperty? = null, + hoverEndActions: ReferenceProperty>? = null, + hoverStartActions: ReferenceProperty>? = null, id: ReferenceProperty? = null, layoutProvider: ReferenceProperty? = null, + longtapActions: ReferenceProperty>? = null, margins: ReferenceProperty? = null, paddings: ReferenceProperty? = null, + pressEndActions: ReferenceProperty>? = null, + pressStartActions: ReferenceProperty>? = null, reuseId: ReferenceProperty? = null, rowSpan: ReferenceProperty? = null, selectedActions: ReferenceProperty>? = null, @@ -1365,25 +1669,35 @@ fun Component.defer( template = template, properties = State.Properties( accessibility = accessibility, + action = action, + actionAnimation = actionAnimation, + actions = actions, alignmentHorizontal = alignmentHorizontal, alignmentVertical = alignmentVertical, alpha = alpha, animators = animators, background = background, border = border, + captureFocusOnAction = captureFocusOnAction, clipToBounds = clipToBounds, columnSpan = columnSpan, defaultStateId = defaultStateId, disappearActions = disappearActions, divId = divId, + doubletapActions = doubletapActions, extensions = extensions, focus = focus, functions = functions, height = height, + hoverEndActions = hoverEndActions, + hoverStartActions = hoverStartActions, id = id, layoutProvider = layoutProvider, + longtapActions = longtapActions, margins = margins, paddings = paddings, + pressEndActions = pressEndActions, + pressStartActions = pressStartActions, reuseId = reuseId, rowSpan = rowSpan, selectedActions = selectedActions, @@ -1409,6 +1723,7 @@ fun Component.defer( * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. @@ -1423,6 +1738,7 @@ fun Component.evaluate( alignmentHorizontal: ExpressionProperty? = null, alignmentVertical: ExpressionProperty? = null, alpha: ExpressionProperty? = null, + captureFocusOnAction: ExpressionProperty? = null, clipToBounds: ExpressionProperty? = null, columnSpan: ExpressionProperty? = null, defaultStateId: ExpressionProperty? = null, @@ -1434,25 +1750,35 @@ fun Component.evaluate( template = template, properties = State.Properties( accessibility = null, + action = null, + actionAnimation = null, + actions = null, alignmentHorizontal = alignmentHorizontal, alignmentVertical = alignmentVertical, alpha = alpha, animators = null, background = null, border = null, + captureFocusOnAction = captureFocusOnAction, clipToBounds = clipToBounds, columnSpan = columnSpan, defaultStateId = defaultStateId, disappearActions = null, divId = null, + doubletapActions = null, extensions = null, focus = null, functions = null, height = null, + hoverEndActions = null, + hoverStartActions = null, id = null, layoutProvider = null, + longtapActions = null, margins = null, paddings = null, + pressEndActions = null, + pressStartActions = null, reuseId = reuseId, rowSpan = rowSpan, selectedActions = null, @@ -1476,25 +1802,35 @@ fun Component.evaluate( /** * @param accessibility Accessibility settings. + * @param action One action when clicking on an element. Not used if the `actions` parameter is set. + * @param actionAnimation Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`. + * @param actions Multiple actions when clicking on an element. * @param alignmentHorizontal Horizontal alignment of an element inside the parent element. * @param alignmentVertical Vertical alignment of an element inside the parent element. * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque. * @param animators Declaration of animators that change variable values over time. * @param background Element background. It can contain multiple layers. * @param border Element stroke. + * @param captureFocusOnAction If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • * @param clipToBounds Enables the bounding of child elements by the parent's borders. * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element. * @param defaultStateId ID of the status that will be set by default. If the parameter isnt set, the first state of the `states` will be set. * @param disappearActions Actions when an element disappears from the screen. * @param divId ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level. + * @param doubletapActions Action when double-clicking on an element. * @param extensions Extensions for additional processing of an element. The list of extensions is given in [DivExtension](../../extensions). * @param focus Parameters when focusing on an element or losing focus. * @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 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 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. + * @param pressEndActions Actions performed after clicking/tapping an element. + * @param pressStartActions Actions performed at the start of a click/tap on an element. * @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). @@ -1518,25 +1854,35 @@ fun Component.evaluate( fun Component.modify( `use named arguments`: Guard = Guard.instance, accessibility: Property? = null, + action: Property? = null, + actionAnimation: Property? = null, + actions: Property>? = null, alignmentHorizontal: Property? = null, alignmentVertical: Property? = null, alpha: Property? = null, animators: Property>? = null, background: Property>? = null, border: Property? = null, + captureFocusOnAction: Property? = null, clipToBounds: Property? = null, columnSpan: Property? = null, defaultStateId: Property? = null, disappearActions: Property>? = null, divId: Property? = null, + doubletapActions: Property>? = null, extensions: Property>? = null, focus: Property? = null, functions: Property>? = null, height: Property? = null, + hoverEndActions: Property>? = null, + hoverStartActions: Property>? = null, id: Property? = null, layoutProvider: Property? = null, + longtapActions: Property>? = null, margins: Property? = null, paddings: Property? = null, + pressEndActions: Property>? = null, + pressStartActions: Property>? = null, reuseId: Property? = null, rowSpan: Property? = null, selectedActions: Property>? = null, @@ -1559,25 +1905,35 @@ fun Component.modify( template = template, properties = State.Properties( accessibility = accessibility, + action = action, + actionAnimation = actionAnimation, + actions = actions, alignmentHorizontal = alignmentHorizontal, alignmentVertical = alignmentVertical, alpha = alpha, animators = animators, background = background, border = border, + captureFocusOnAction = captureFocusOnAction, clipToBounds = clipToBounds, columnSpan = columnSpan, defaultStateId = defaultStateId, disappearActions = disappearActions, divId = divId, + doubletapActions = doubletapActions, extensions = extensions, focus = focus, functions = functions, height = height, + hoverEndActions = hoverEndActions, + hoverStartActions = hoverStartActions, id = id, layoutProvider = layoutProvider, + longtapActions = longtapActions, margins = margins, paddings = paddings, + pressEndActions = pressEndActions, + pressStartActions = pressStartActions, reuseId = reuseId, rowSpan = rowSpan, selectedActions = selectedActions, diff --git a/json-builder/python/pyproject.toml b/json-builder/python/pyproject.toml index e5a268c51..b86c4772e 100644 --- a/json-builder/python/pyproject.toml +++ b/json-builder/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pydivkit" -version = "32.5.0" +version = "32.6.0" description = "DivKit python library" readme = "README.md" repository = "https://github.com/divkit/divkit/tree/main/json-builder/python" diff --git a/json-builder/typescript/package.json b/json-builder/typescript/package.json index 97c4ec381..793c95ad8 100644 --- a/json-builder/typescript/package.json +++ b/json-builder/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@divkitframework/jsonbuilder", - "version": "32.5.0", + "version": "32.6.0", "description": "DivKit TypeScript JSON Builder", "main": "./dist/jsonbuilder.js", "module": "./dist/es/jsonbuilder.js", diff --git a/version b/version index 5c8942e8f..2cdffe1c6 100644 --- a/version +++ b/version @@ -1 +1 @@ -32.5.0 +32.6.0