mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
add cloud text background scheme
commit_hash:de16c29bca9cf7250c37fac08758ea5553a963f4
This commit is contained in:
@@ -17104,6 +17104,7 @@
|
||||
"schema/div-change-set-transition.json":"divkit/public/schema/div-change-set-transition.json",
|
||||
"schema/div-change-transition.json":"divkit/public/schema/div-change-transition.json",
|
||||
"schema/div-circle-shape.json":"divkit/public/schema/div-circle-shape.json",
|
||||
"schema/div-cloud-background.json":"divkit/public/schema/div-cloud-background.json",
|
||||
"schema/div-collection-item-builder.json":"divkit/public/schema/div-collection-item-builder.json",
|
||||
"schema/div-color-animator.json":"divkit/public/schema/div-color-animator.json",
|
||||
"schema/div-container.json":"divkit/public/schema/div-container.json",
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"type": "object",
|
||||
"$description": "translations.json#/div_cloud_background",
|
||||
"platforms": [],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"cloud"
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"$ref": "common.json#/color",
|
||||
"$description": "translations.json#/div_cloud_background_color"
|
||||
},
|
||||
"corner_radius": {
|
||||
"$ref": "div-fixed-size.json",
|
||||
"$description": "translations.json#/div_cloud_background_corner_radius"
|
||||
},
|
||||
"padding": {
|
||||
"$ref": "div-edge-insets.json",
|
||||
"$description": "translations.json#/div_cloud_background_padding"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"color",
|
||||
"corner_radius"
|
||||
]
|
||||
}
|
||||
@@ -3,6 +3,10 @@
|
||||
{
|
||||
"$ref": "div-solid-background.json",
|
||||
"$description": "translations.json#/div_background_solid"
|
||||
},
|
||||
{
|
||||
"$ref": "div-cloud-background.json",
|
||||
"$description": "translations.json#/div_cloud_background"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -655,6 +655,22 @@
|
||||
"en": "Enables the bounding of child elements by the parent's borders.",
|
||||
"ru": "Включает ограничение дочерних элементов границами родителя."
|
||||
},
|
||||
"div_cloud_background": {
|
||||
"en": "Cloud text background. Lines draws a rectangular background with the specified color and rounded corners.",
|
||||
"ru": "Фон текста в стиле \"облако\". Строки получают прямоугольный фон с указанным цветом, а все углы скругляются."
|
||||
},
|
||||
"div_cloud_background_color": {
|
||||
"en": "Fill color.",
|
||||
"ru": "Цвет заливки."
|
||||
},
|
||||
"div_cloud_background_corner_radius": {
|
||||
"en": "Corner rounding radius.",
|
||||
"ru": "Радиус скругления углов."
|
||||
},
|
||||
"div_cloud_background_padding": {
|
||||
"en": "Margins between line bounds and background.",
|
||||
"ru": "Отступы от границы строки до границы фона."
|
||||
},
|
||||
"div_collection_item_builder": {
|
||||
"en": "Sets collection elements dynamically using `data` and `prototypes`.",
|
||||
"ru": "Задает элементы коллекции динамически при помощи `data` и `prototypes`."
|
||||
|
||||
Reference in New Issue
Block a user