Files
divkit/test_data/snapshot_test_data/div-input/with-native-interface-no-background.json
man-y eed44f448f Mark flutter platform supported tests
commit_hash:a80884f8d89a14490cb02e5278507f93ef7fb589
2025-01-13 16:09:03 +03:00

93 lines
1.9 KiB
JSON

{
"description": "Input with underline color in Android and no background",
"platforms": [
"android",
"ios",
"web",
"flutter"
],
"card": {
"log_id": "input",
"variables": [
{
"name": "input_value",
"type": "string",
"value": "initial_text"
},
{
"name": "input_value_2",
"type": "string",
"value": "initial_text_second"
}
],
"states": [
{
"state_id": 0,
"div": {
"type": "container",
"width": {
"type": "match_parent"
},
"height": {
"type": "wrap_content"
},
"items": [
{
"type": "test_input",
"text_variable": "input_value"
},
{
"type": "test_input",
"text_variable": "input_value_2"
}
]
}
}
]
},
"templates": {
"test_input": {
"type": "input",
"width": {
"type": "match_parent"
},
"height": {
"type": "wrap_content"
},
"margins": {
"left": 16,
"top": 16,
"right": 16,
"bottom": 16
},
"paddings": {
"left": 16,
"top": 16,
"right": 16,
"bottom": 16
},
"alpha": 1.0,
"alignment_horizontal": "center",
"alignment_vertical": "center",
"border": {
"corner_radius": 8,
"has_shadow": 1,
"stroke": {
"color": "#0000FF"
}
},
"font_size": 20,
"font_weight": "medium",
"text_color": "#444444",
"hint_text": "initial_hint",
"hint_color": "#AAAAAA",
"highlight_color": "#CCCCFF",
"max_visible_lines": 2,
"line_height": 60,
"native_interface": {
"color": "#88FFFF"
}
}
}
}