diff --git a/client/ios/Configurations/Version.xcconfig b/client/ios/Configurations/Version.xcconfig index ef260e0ee..208eb5ae4 100644 --- a/client/ios/Configurations/Version.xcconfig +++ b/client/ios/Configurations/Version.xcconfig @@ -1,2 +1,2 @@ -MARKETING_VERSION = 30.33.0 -CURRENT_PROJECT_VERSION = 30 +MARKETING_VERSION = 31.0.0 +CURRENT_PROJECT_VERSION = 31 diff --git a/client/ios/DivKit/DivKitInfo.swift b/client/ios/DivKit/DivKitInfo.swift index d5baef951..25338c9c8 100644 --- a/client/ios/DivKit/DivKitInfo.swift +++ b/client/ios/DivKit/DivKitInfo.swift @@ -1,3 +1,3 @@ public enum DivKitInfo { - public static let version = "30.33.0" + public static let version = "31.0.0" } diff --git a/client/web/divkit/package.json b/client/web/divkit/package.json index a8ae41614..cf308a862 100644 --- a/client/web/divkit/package.json +++ b/client/web/divkit/package.json @@ -1,6 +1,6 @@ { "name": "@divkitframework/divkit", - "version": "30.33.0", + "version": "31.0.0", "description": "DivKit for the web", "keywords": [ "server-driven-ui", diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Accessibility.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Accessibility.kt index 124f08907..7c9ae4e95 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Accessibility.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Accessibility.kt @@ -52,7 +52,7 @@ data class Accessibility internal constructor( */ val hint: Property?, /** - * Shows the current state of the checkbox or radio button. `true` is selected, `false` is not selected. + * Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means it isn't selected. */ val isChecked: Property?, /** @@ -109,7 +109,7 @@ data class Accessibility internal constructor( /** * @param description Element description. It is used as the main description for screen reading applications. * @param hint A tooltip of what will happen during interaction. If Speak Hints is enabled in the VoiceOver settings on iOS, a tooltip is played after `description`. - * @param isChecked Shows the current state of the checkbox or radio button. `true` is selected, `false` is not selected. + * @param isChecked Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means it isn't selected. * @param mode The way the accessibility tree is organized. In the `merge` mode the accessibility service perceives an element together with a subtree as a whole. In the `exclude` mode an element together with a subtree isn't available for accessibility. * @param muteAfterAction Mutes the screen reader sound after interacting with the element. * @param stateDescription Description of the current state of an element. For example, in the description you can specify a selected date for a date selection element and an on/off state for a switch. @@ -140,7 +140,7 @@ fun DivScope.accessibility( /** * @param description Element description. It is used as the main description for screen reading applications. * @param hint A tooltip of what will happen during interaction. If Speak Hints is enabled in the VoiceOver settings on iOS, a tooltip is played after `description`. - * @param isChecked Shows the current state of the checkbox or radio button. `true` is selected, `false` is not selected. + * @param isChecked Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means it isn't selected. * @param mode The way the accessibility tree is organized. In the `merge` mode the accessibility service perceives an element together with a subtree as a whole. In the `exclude` mode an element together with a subtree isn't available for accessibility. * @param muteAfterAction Mutes the screen reader sound after interacting with the element. * @param stateDescription Description of the current state of an element. For example, in the description you can specify a selected date for a date selection element and an on/off state for a switch. @@ -169,7 +169,7 @@ fun DivScope.accessibilityProps( /** * @param description Element description. It is used as the main description for screen reading applications. * @param hint A tooltip of what will happen during interaction. If Speak Hints is enabled in the VoiceOver settings on iOS, a tooltip is played after `description`. - * @param isChecked Shows the current state of the checkbox or radio button. `true` is selected, `false` is not selected. + * @param isChecked Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means it isn't selected. * @param mode The way the accessibility tree is organized. In the `merge` mode the accessibility service perceives an element together with a subtree as a whole. In the `exclude` mode an element together with a subtree isn't available for accessibility. * @param muteAfterAction Mutes the screen reader sound after interacting with the element. * @param stateDescription Description of the current state of an element. For example, in the description you can specify a selected date for a date selection element and an on/off state for a switch. @@ -198,7 +198,7 @@ fun TemplateScope.accessibilityRefs( /** * @param description Element description. It is used as the main description for screen reading applications. * @param hint A tooltip of what will happen during interaction. If Speak Hints is enabled in the VoiceOver settings on iOS, a tooltip is played after `description`. - * @param isChecked Shows the current state of the checkbox or radio button. `true` is selected, `false` is not selected. + * @param isChecked Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means it isn't selected. * @param mode The way the accessibility tree is organized. In the `merge` mode the accessibility service perceives an element together with a subtree as a whole. In the `exclude` mode an element together with a subtree isn't available for accessibility. * @param muteAfterAction Mutes the screen reader sound after interacting with the element. * @param stateDescription Description of the current state of an element. For example, in the description you can specify a selected date for a date selection element and an on/off state for a switch. @@ -229,7 +229,7 @@ fun Accessibility.override( /** * @param description Element description. It is used as the main description for screen reading applications. * @param hint A tooltip of what will happen during interaction. If Speak Hints is enabled in the VoiceOver settings on iOS, a tooltip is played after `description`. - * @param isChecked Shows the current state of the checkbox or radio button. `true` is selected, `false` is not selected. + * @param isChecked Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means it isn't selected. * @param mode The way the accessibility tree is organized. In the `merge` mode the accessibility service perceives an element together with a subtree as a whole. In the `exclude` mode an element together with a subtree isn't available for accessibility. * @param muteAfterAction Mutes the screen reader sound after interacting with the element. * @param stateDescription Description of the current state of an element. For example, in the description you can specify a selected date for a date selection element and an on/off state for a switch. @@ -260,7 +260,7 @@ fun Accessibility.defer( /** * @param description Element description. It is used as the main description for screen reading applications. * @param hint A tooltip of what will happen during interaction. If Speak Hints is enabled in the VoiceOver settings on iOS, a tooltip is played after `description`. - * @param isChecked Shows the current state of the checkbox or radio button. `true` is selected, `false` is not selected. + * @param isChecked Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means it isn't selected. * @param mode The way the accessibility tree is organized. In the `merge` mode the accessibility service perceives an element together with a subtree as a whole. In the `exclude` mode an element together with a subtree isn't available for accessibility. * @param muteAfterAction Mutes the screen reader sound after interacting with the element. * @param stateDescription Description of the current state of an element. For example, in the description you can specify a selected date for a date selection element and an on/off state for a switch. 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 bfca54cc8..9b62614fb 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Slider.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Slider.kt @@ -146,7 +146,7 @@ data class Slider internal constructor( */ val id: Property?, /** - * Enables or disables value selecting by click/tap or swipe. + * Enables or disables toggling values by clicking or swiping. * Default value: `true`. */ val isEnabled: Property?, @@ -477,7 +477,7 @@ data class Slider 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 isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param layoutProvider Provides data on the actual size of the element. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. @@ -628,7 +628,7 @@ fun DivScope.slider( * @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 isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param layoutProvider Provides data on the actual size of the element. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. @@ -777,7 +777,7 @@ fun DivScope.sliderProps( * @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 isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param layoutProvider Provides data on the actual size of the element. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. @@ -926,7 +926,7 @@ fun TemplateScope.sliderRefs( * @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 isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param layoutProvider Provides data on the actual size of the element. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. @@ -1077,7 +1077,7 @@ fun Slider.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 isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param layoutProvider Provides data on the actual size of the element. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. @@ -1218,7 +1218,7 @@ fun Slider.defer( * @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 columnSpan Merges cells in a column of the [grid](div-grid.md) element. - * @param isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. * @param reuseId ID for the div object structure. Used to optimize block reuse. See [block reuse](../../reuse/reuse.md). @@ -1305,7 +1305,7 @@ fun Slider.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 isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param layoutProvider Provides data on the actual size of the element. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. @@ -1457,7 +1457,7 @@ fun Component.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 isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param layoutProvider Provides data on the actual size of the element. * @param margins External margins from the element stroke. * @param maxValue Maximum value. It must be greater than the minimum value. @@ -1599,7 +1599,7 @@ fun Component.defer( * @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 columnSpan Merges cells in a column of the [grid](div-grid.md) element. - * @param isEnabled Enables or disables value selecting by click/tap or swipe. + * @param isEnabled Enables or disables toggling values by clicking or swiping. * @param maxValue Maximum value. It must be greater than the minimum value. * @param minValue Minimum value. * @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/Text.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Text.kt index 931c83314..27f6b9609 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Text.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/Text.kt @@ -573,9 +573,9 @@ data class Text internal constructor( */ val height: Property?, /** - * Defines direction in `start` parameter: - `normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. - `reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * Defines the direction in the `start` parameter: + – `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. + – `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * Default value: `normal`. */ val indexingDirection: Property?, @@ -625,9 +625,9 @@ data class Text internal constructor( } /** - * Defines direction in `start` parameter: - `normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. - `reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * Defines the direction in the `start` parameter: + – `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. + – `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * * Possible values: [normal], [reversed]. */ @@ -729,7 +729,7 @@ data class Text internal constructor( */ val actions: Property>?, /** - * Vertical text alignment within the row. + * Vertical text alignment within the row. Ignored when a baseline offset is specified. */ val alignmentVertical: Property?, /** @@ -783,7 +783,7 @@ data class Text internal constructor( */ val lineHeight: Property?, /** - * A mask that hides a part of text, text can be revealed by disabling mask through `is_enabled` property. + * A mask that hides a part of text. To show the hidden text, disable the mask using the `is_enabled` property. */ val mask: Property?, /** @@ -2713,9 +2713,9 @@ fun Text.Ellipsis.asList() = listOf(this) /** * @param alignmentVertical Vertical image alignment within the row. * @param height Image height. - * @param indexingDirection Defines direction in `start` parameter: -`normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. -`reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * @param indexingDirection Defines the direction in the `start` parameter: +– `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. +– `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * @param preloadRequired Background image must be loaded before the display. * @param start A symbol to insert prior to an image. To insert an image at the end of the text, specify the number of the last character plus one. * @param tintColor New color of a contour image. @@ -2754,9 +2754,9 @@ fun DivScope.textImage( /** * @param alignmentVertical Vertical image alignment within the row. * @param height Image height. - * @param indexingDirection Defines direction in `start` parameter: -`normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. -`reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * @param indexingDirection Defines the direction in the `start` parameter: +– `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. +– `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * @param preloadRequired Background image must be loaded before the display. * @param start A symbol to insert prior to an image. To insert an image at the end of the text, specify the number of the last character plus one. * @param tintColor New color of a contour image. @@ -2793,9 +2793,9 @@ fun DivScope.textImageProps( /** * @param alignmentVertical Vertical image alignment within the row. * @param height Image height. - * @param indexingDirection Defines direction in `start` parameter: -`normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. -`reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * @param indexingDirection Defines the direction in the `start` parameter: +– `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. +– `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * @param preloadRequired Background image must be loaded before the display. * @param start A symbol to insert prior to an image. To insert an image at the end of the text, specify the number of the last character plus one. * @param tintColor New color of a contour image. @@ -2832,9 +2832,9 @@ fun TemplateScope.textImageRefs( /** * @param alignmentVertical Vertical image alignment within the row. * @param height Image height. - * @param indexingDirection Defines direction in `start` parameter: -`normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. -`reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * @param indexingDirection Defines the direction in the `start` parameter: +– `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. +– `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * @param preloadRequired Background image must be loaded before the display. * @param start A symbol to insert prior to an image. To insert an image at the end of the text, specify the number of the last character plus one. * @param tintColor New color of a contour image. @@ -2873,9 +2873,9 @@ fun Text.Image.override( /** * @param alignmentVertical Vertical image alignment within the row. * @param height Image height. - * @param indexingDirection Defines direction in `start` parameter: -`normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. -`reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * @param indexingDirection Defines the direction in the `start` parameter: +– `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. +– `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * @param preloadRequired Background image must be loaded before the display. * @param start A symbol to insert prior to an image. To insert an image at the end of the text, specify the number of the last character plus one. * @param tintColor New color of a contour image. @@ -2913,9 +2913,9 @@ fun Text.Image.defer( /** * @param alignmentVertical Vertical image alignment within the row. - * @param indexingDirection Defines direction in `start` parameter: -`normal` - regular indexation for strings ([0, 1, 2, ..., N]). Use to insert an image by index relative to the begging of a string. -`reversed` - indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an image by index relative to the end of a string. + * @param indexingDirection Defines the direction in the `start` parameter: +– `normal` is for regular string indexing ([0, 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a string. +– `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1, 0]). Use it if you need to insert an image by index relative to the end of a string. * @param preloadRequired Background image must be loaded before the display. * @param start A symbol to insert prior to an image. To insert an image at the end of the text, specify the number of the last character plus one. * @param tintColor New color of a contour image. @@ -2952,7 +2952,7 @@ fun Text.Image.asList() = listOf(this) /** * @param actions Action when clicking on text. - * @param alignmentVertical Vertical text alignment within the row. + * @param alignmentVertical Vertical text alignment within the row. Ignored when a baseline offset is specified. * @param background Character range background. * @param baselineOffset Character baseline vertial offset. If set, vertical alignment is ignored. * @param border Character range border. @@ -2965,7 +2965,7 @@ fun Text.Image.asList() = listOf(this) * @param fontWeightValue Style. Numeric value. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. - * @param mask A mask that hides a part of text, text can be revealed by disabling mask through `is_enabled` property. + * @param mask A mask that hides a part of text. To show the hidden text, disable the mask using the `is_enabled` property. * @param start Ordinal number of a character which the range begins from. The first character has a number `0`. * @param strike Strikethrough. * @param textColor Text color. @@ -3025,7 +3025,7 @@ fun DivScope.textRange( /** * @param actions Action when clicking on text. - * @param alignmentVertical Vertical text alignment within the row. + * @param alignmentVertical Vertical text alignment within the row. Ignored when a baseline offset is specified. * @param background Character range background. * @param baselineOffset Character baseline vertial offset. If set, vertical alignment is ignored. * @param border Character range border. @@ -3038,7 +3038,7 @@ fun DivScope.textRange( * @param fontWeightValue Style. Numeric value. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. - * @param mask A mask that hides a part of text, text can be revealed by disabling mask through `is_enabled` property. + * @param mask A mask that hides a part of text. To show the hidden text, disable the mask using the `is_enabled` property. * @param start Ordinal number of a character which the range begins from. The first character has a number `0`. * @param strike Strikethrough. * @param textColor Text color. @@ -3096,7 +3096,7 @@ fun DivScope.textRangeProps( /** * @param actions Action when clicking on text. - * @param alignmentVertical Vertical text alignment within the row. + * @param alignmentVertical Vertical text alignment within the row. Ignored when a baseline offset is specified. * @param background Character range background. * @param baselineOffset Character baseline vertial offset. If set, vertical alignment is ignored. * @param border Character range border. @@ -3109,7 +3109,7 @@ fun DivScope.textRangeProps( * @param fontWeightValue Style. Numeric value. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. - * @param mask A mask that hides a part of text, text can be revealed by disabling mask through `is_enabled` property. + * @param mask A mask that hides a part of text. To show the hidden text, disable the mask using the `is_enabled` property. * @param start Ordinal number of a character which the range begins from. The first character has a number `0`. * @param strike Strikethrough. * @param textColor Text color. @@ -3167,7 +3167,7 @@ fun TemplateScope.textRangeRefs( /** * @param actions Action when clicking on text. - * @param alignmentVertical Vertical text alignment within the row. + * @param alignmentVertical Vertical text alignment within the row. Ignored when a baseline offset is specified. * @param background Character range background. * @param baselineOffset Character baseline vertial offset. If set, vertical alignment is ignored. * @param border Character range border. @@ -3180,7 +3180,7 @@ fun TemplateScope.textRangeRefs( * @param fontWeightValue Style. Numeric value. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. - * @param mask A mask that hides a part of text, text can be revealed by disabling mask through `is_enabled` property. + * @param mask A mask that hides a part of text. To show the hidden text, disable the mask using the `is_enabled` property. * @param start Ordinal number of a character which the range begins from. The first character has a number `0`. * @param strike Strikethrough. * @param textColor Text color. @@ -3240,7 +3240,7 @@ fun Text.Range.override( /** * @param actions Action when clicking on text. - * @param alignmentVertical Vertical text alignment within the row. + * @param alignmentVertical Vertical text alignment within the row. Ignored when a baseline offset is specified. * @param background Character range background. * @param baselineOffset Character baseline vertial offset. If set, vertical alignment is ignored. * @param border Character range border. @@ -3253,7 +3253,7 @@ fun Text.Range.override( * @param fontWeightValue Style. Numeric value. * @param letterSpacing Spacing between characters. * @param lineHeight Line spacing of the text. Units specified in `font_size_unit`. - * @param mask A mask that hides a part of text, text can be revealed by disabling mask through `is_enabled` property. + * @param mask A mask that hides a part of text. To show the hidden text, disable the mask using the `is_enabled` property. * @param start Ordinal number of a character which the range begins from. The first character has a number `0`. * @param strike Strikethrough. * @param textColor Text color. @@ -3312,7 +3312,7 @@ fun Text.Range.defer( ) /** - * @param alignmentVertical Vertical text alignment within the row. + * @param alignmentVertical Vertical text alignment within the row. Ignored when a baseline offset is specified. * @param baselineOffset Character baseline vertial offset. If set, vertical alignment is ignored. * @param end Ordinal number of the last character to be included in the range. If the property is omitted, the range ends at the last character of the text. * @param fontFamily Font family:
  • `text` — a standard text font;
  • `display` — a family of fonts with a large font size.
  • diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskBase.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskBase.kt index b0cb76be1..7697512bf 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskBase.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskBase.kt @@ -36,7 +36,7 @@ data class TextRangeMaskBase internal constructor( data class Properties internal constructor( /** - * Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. * Default value: `true`. */ val isEnabled: Property?, @@ -51,7 +51,7 @@ data class TextRangeMaskBase internal constructor( } /** - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun DivScope.textRangeMaskBase( @@ -64,7 +64,7 @@ fun DivScope.textRangeMaskBase( ) /** - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun DivScope.textRangeMaskBaseProps( @@ -75,7 +75,7 @@ fun DivScope.textRangeMaskBaseProps( ) /** - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TemplateScope.textRangeMaskBaseRefs( @@ -86,7 +86,7 @@ fun TemplateScope.textRangeMaskBaseRefs( ) /** - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TextRangeMaskBase.override( @@ -99,7 +99,7 @@ fun TextRangeMaskBase.override( ) /** - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TextRangeMaskBase.defer( @@ -112,7 +112,7 @@ fun TextRangeMaskBase.defer( ) /** - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TextRangeMaskBase.evaluate( diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskParticles.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskParticles.kt index d58194c43..a7d4dfb4e 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskParticles.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskParticles.kt @@ -18,7 +18,7 @@ import kotlin.collections.List import kotlin.collections.Map /** - * A mask to hide text (spoiler) that looks like randomly distributed particles (telegram alike). + * A mask to hide text (spoiler). Looks like randomly distributed particles, same as in Telegram. * * Can be created using the method [textRangeMaskParticles]. * @@ -46,26 +46,26 @@ data class TextRangeMaskParticles internal constructor( data class Properties internal constructor( /** - * Color of particles on the mask. + * The color of particles on the mask. */ val color: Property?, /** - * Density of particles on the mask, interpreted as a probability of a particle to spawn in a given point on the mask. + * The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. * Default value: `0.8`. */ val density: Property?, /** - * Defines whether particles on the mask will be animated or not. Animation looks like smooth random particle movements (telegram alike). + * Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. * Default value: `false`. */ val isAnimated: Property?, /** - * Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. * Default value: `true`. */ val isEnabled: Property?, /** - * Size of a single particle on a mask. + * The size of a single particle on the mask. * Default value: `{"type":"fixed","value":1}`. */ val particleSize: Property?, @@ -84,11 +84,11 @@ data class TextRangeMaskParticles internal constructor( } /** - * @param color Color of particles on the mask. - * @param density Density of particles on the mask, interpreted as a probability of a particle to spawn in a given point on the mask. - * @param isAnimated Defines whether particles on the mask will be animated or not. Animation looks like smooth random particle movements (telegram alike). - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. - * @param particleSize Size of a single particle on a mask. + * @param color The color of particles on the mask. + * @param density The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. + * @param isAnimated Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. + * @param particleSize The size of a single particle on the mask. */ @Generated fun DivScope.textRangeMaskParticles( @@ -109,11 +109,11 @@ fun DivScope.textRangeMaskParticles( ) /** - * @param color Color of particles on the mask. - * @param density Density of particles on the mask, interpreted as a probability of a particle to spawn in a given point on the mask. - * @param isAnimated Defines whether particles on the mask will be animated or not. Animation looks like smooth random particle movements (telegram alike). - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. - * @param particleSize Size of a single particle on a mask. + * @param color The color of particles on the mask. + * @param density The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. + * @param isAnimated Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. + * @param particleSize The size of a single particle on the mask. */ @Generated fun DivScope.textRangeMaskParticlesProps( @@ -132,11 +132,11 @@ fun DivScope.textRangeMaskParticlesProps( ) /** - * @param color Color of particles on the mask. - * @param density Density of particles on the mask, interpreted as a probability of a particle to spawn in a given point on the mask. - * @param isAnimated Defines whether particles on the mask will be animated or not. Animation looks like smooth random particle movements (telegram alike). - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. - * @param particleSize Size of a single particle on a mask. + * @param color The color of particles on the mask. + * @param density The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. + * @param isAnimated Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. + * @param particleSize The size of a single particle on the mask. */ @Generated fun TemplateScope.textRangeMaskParticlesRefs( @@ -155,11 +155,11 @@ fun TemplateScope.textRangeMaskParticlesRefs( ) /** - * @param color Color of particles on the mask. - * @param density Density of particles on the mask, interpreted as a probability of a particle to spawn in a given point on the mask. - * @param isAnimated Defines whether particles on the mask will be animated or not. Animation looks like smooth random particle movements (telegram alike). - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. - * @param particleSize Size of a single particle on a mask. + * @param color The color of particles on the mask. + * @param density The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. + * @param isAnimated Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. + * @param particleSize The size of a single particle on the mask. */ @Generated fun TextRangeMaskParticles.override( @@ -180,11 +180,11 @@ fun TextRangeMaskParticles.override( ) /** - * @param color Color of particles on the mask. - * @param density Density of particles on the mask, interpreted as a probability of a particle to spawn in a given point on the mask. - * @param isAnimated Defines whether particles on the mask will be animated or not. Animation looks like smooth random particle movements (telegram alike). - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. - * @param particleSize Size of a single particle on a mask. + * @param color The color of particles on the mask. + * @param density The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. + * @param isAnimated Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. + * @param particleSize The size of a single particle on the mask. */ @Generated fun TextRangeMaskParticles.defer( @@ -205,10 +205,10 @@ fun TextRangeMaskParticles.defer( ) /** - * @param color Color of particles on the mask. - * @param density Density of particles on the mask, interpreted as a probability of a particle to spawn in a given point on the mask. - * @param isAnimated Defines whether particles on the mask will be animated or not. Animation looks like smooth random particle movements (telegram alike). - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param color The color of particles on the mask. + * @param density The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. + * @param isAnimated Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TextRangeMaskParticles.evaluate( diff --git a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskSolid.kt b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskSolid.kt index 365ebd762..e7d8986fa 100644 --- a/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskSolid.kt +++ b/json-builder/kotlin/src/generated/kotlin/divkit/dsl/TextRangeMaskSolid.kt @@ -18,7 +18,7 @@ import kotlin.collections.List import kotlin.collections.Map /** - * A mask to hide text (spoiler) that looks like a rectangle filled with color specified by `color` parameter. + * A mask to hide text (spoiler). Looks like a rectangle filled with the color specified in the `color` parameter, same as in Telegram. * * Can be created using the method [textRangeMaskSolid]. * @@ -47,7 +47,7 @@ data class TextRangeMaskSolid internal constructor( */ val color: Property?, /** - * Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. * Default value: `true`. */ val isEnabled: Property?, @@ -64,7 +64,7 @@ data class TextRangeMaskSolid internal constructor( /** * @param color Color. - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun DivScope.textRangeMaskSolid( @@ -80,7 +80,7 @@ fun DivScope.textRangeMaskSolid( /** * @param color Color. - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun DivScope.textRangeMaskSolidProps( @@ -94,7 +94,7 @@ fun DivScope.textRangeMaskSolidProps( /** * @param color Color. - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TemplateScope.textRangeMaskSolidRefs( @@ -108,7 +108,7 @@ fun TemplateScope.textRangeMaskSolidRefs( /** * @param color Color. - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TextRangeMaskSolid.override( @@ -124,7 +124,7 @@ fun TextRangeMaskSolid.override( /** * @param color Color. - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TextRangeMaskSolid.defer( @@ -140,7 +140,7 @@ fun TextRangeMaskSolid.defer( /** * @param color Color. - * @param isEnabled Controls mask state: if set to `true` mask will hide specified part of the text, otherwise the text will be shown. + * @param isEnabled Controls the mask state. If set to `true`, the mask will hide the specified part of text. Otherwise, the text will be shown. */ @Generated fun TextRangeMaskSolid.evaluate( diff --git a/json-builder/python/pyproject.toml b/json-builder/python/pyproject.toml index d7eb9db91..be5e50198 100644 --- a/json-builder/python/pyproject.toml +++ b/json-builder/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pydivkit" -version = "30.33.0" +version = "31.0.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 0607bda05..f1c705dcd 100644 --- a/json-builder/typescript/package.json +++ b/json-builder/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@divkitframework/jsonbuilder", - "version": "30.33.0", + "version": "31.0.0", "description": "DivKit TypeScript JSON Builder", "main": "./dist/jsonbuilder.js", "module": "./dist/es/jsonbuilder.js", diff --git a/version b/version index 60a10dd4f..221a8da0b 100644 --- a/version +++ b/version @@ -1 +1 @@ -30.33.0 +31.0.0