forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiv-base.json
More file actions
146 lines (146 loc) · 4.18 KB
/
div-base.json
File metadata and controls
146 lines (146 loc) · 4.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"protocol_name": "div-base",
"codegen": {
"swift": {
"super_protocol": "DivBlockModeling"
},
"documentation": {
"include_in_toc": true
}
},
"type": "object",
"properties": {
"id": {
"$ref": "common.json#/id",
"$description": "translations.json#/div_base_id"
},
"border": {
"$ref": "div-border.json",
"$description": "translations.json#/div_base_border"
},
"width": {
"$ref": "div-size.json",
"default_value": "{\"type\": \"match_parent\"}",
"$description": "translations.json#/div_base_width"
},
"height": {
"$ref": "div-size.json",
"default_value": "{\"type\": \"wrap_content\"}",
"$description": "translations.json#/div_base_height"
},
"background": {
"type": "array",
"items": {
"$ref": "div-background.json"
},
"$description": "translations.json#/div_base_background"
},
"paddings": {
"$ref": "div-edge-insets.json",
"$description": "translations.json#/div_base_paddings"
},
"margins": {
"$ref": "div-edge-insets.json",
"$description": "translations.json#/div_base_margins"
},
"alpha": {
"type": "number",
"default_value": "1.0",
"constraint": "number >= 0.0 && number <= 1.0",
"$description": "translations.json#/div_base_alpha"
},
"alignment_vertical": {
"$ref": "div-alignment-vertical.json",
"$description": "translations.json#/div_base_alignment_vertical"
},
"alignment_horizontal": {
"$ref": "div-alignment-horizontal.json",
"$description": "translations.json#/div_base_alignment_horizontal"
},
"row_span": {
"$ref": "common.json#/non_negative_integer",
"$description": "translations.json#/div_base_row_span"
},
"column_span": {
"$ref": "common.json#/non_negative_integer",
"$description": "translations.json#/div_base_column_span"
},
"visibility_action": {
"$ref": "div-visibility-action.json",
"$description": "translations.json#/div_base_visibility_action"
},
"visibility_actions": {
"type": "array",
"items": {
"$ref": "div-visibility-action.json"
},
"$description": "translations.json#/div_base_visibility_actions"
},
"disappear_actions": {
"type": "array",
"items": {
"$ref": "div-disappear-action.json"
},
"$description": "translations.json#/div_base_disappear_actions"
},
"tooltips": {
"type": "array",
"items": {
"$ref": "div-tooltip.json"
},
"$description": "translations.json#/div_base_tooltips"
},
"accessibility": {
"$ref": "div-accessibility.json",
"$description": "translations.json#/div_base_accessibility"
},
"extensions": {
"type": "array",
"items": {
"$ref": "div-extension.json"
},
"$description": "translations.json#/div_base_extensions"
},
"transition_triggers": {
"type": "array",
"items": {
"$ref": "div-transition-trigger.json"
},
"minItems": 1,
"supports_expressions": false,
"$description": "translations.json#/div_base_transition_triggers"
},
"transition_in": {
"$ref": "div-appearance-transition.json",
"$description": "translations.json#/div_base_transition_in"
},
"transition_change": {
"$ref": "div-change-transition.json",
"$description": "translations.json#/div_base_transition_change"
},
"transition_out": {
"$ref": "div-appearance-transition.json",
"$description": "translations.json#/div_base_transition_out"
},
"selected_actions": {
"type": "array",
"items": {
"$ref": "div-action.json"
},
"$description": "translations.json#/div_base_selected_actions"
},
"focus": {
"$ref": "div-focus.json",
"$description": "translations.json#/div_base_focus"
},
"visibility": {
"$ref": "div-visibility.json",
"$description": "translations.json#/div_base_visibility",
"default_value": "visible"
},
"transform": {
"$ref": "div-transform.json",
"$description": "translations.json#/div_base_transform"
}
}
}