PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/blocks/search/attributes.php +41 -9 2.9.1 → 2.14.0 View file →
@@ -18,8 +18,12 @@
18 18 'block_id' => [
19 19 'type' => 'string',
20 20 'default' => ''
21 21 ],
22 + 'blockVersion' => array(
23 + 'type' => 'number',
24 + 'default' => '',
25 + ),
22 26 'currentPostID' => [
23 27 'type' => 'integer',
24 28 'default' => '',
25 29 ],
@@ -38,8 +42,12 @@
38 42 'variant' => [
39 43 'type' => 'string',
40 44 'default' => 'classic',
41 45 ],
46 + 'allowCollapse' => [
47 + 'type' => 'boolean',
48 + 'default' => false,
49 + ],
42 50 'position' => [
43 51 'type' => 'string',
44 52 'default' => 'default'
45 53 ],
@@ -46,12 +54,24 @@
46 54 'buttonText' => [
47 55 'type' => 'string',
48 56 'default' => 'Search',
49 57 ],
58 + 'buttonBgColor' => [
59 + 'type' => 'string',
60 + 'default' => '',
61 + ],
62 + 'buttonBgColorH' => [
63 + 'type' => 'string',
64 + 'default' => '',
65 + ],
50 66 'buttonTextColor' => [
51 67 'type' => 'string',
52 68 'default' => '',
53 69 ],
70 + 'buttonTextColorH' => [
71 + 'type' => 'string',
72 + 'default' => '',
73 + ],
54 74 'placeholder' => [
55 75 'type' => 'string',
56 76 'default' => 'Write anything...',
57 77 ],
@@ -62,8 +82,12 @@
62 82 'inputTextColor' => [
63 83 'type' => 'string',
64 84 'default' => '#949494',
65 85 ],
86 + 'inputBgColor' => [
87 + 'type' => 'string',
88 + 'default' => '#FFFFFF',
89 + ],
66 90 'searchResTColor' => [
67 91 'type' => 'string',
68 92 'default' => '#000000',
69 93 ],
@@ -75,12 +99,15 @@
75 99
76 100 $attributes = array_merge(
77 101 $attributes,
78 102 Alignment::get_attribute( 'buttonAlignment', false, [ 'value' => 'left' ] ),
103 + Typography::get_attribute( 'searchResTypography', true ),
79 104 Typography::get_attribute( 'buttonTypography', true ),
80 - Typography::get_attribute( 'searchResTypography', true ),
81 105 TextShadow::get_attribute( 'buttonTextShadow' ),
82 106 TextStroke::get_attribute( 'buttonTextStroke', true ),
107 + Typography::get_attribute( 'buttonTypographyH', true ),
108 + TextShadow::get_attribute( 'buttonTextShadowH' ),
109 + TextStroke::get_attribute( 'buttonTextStrokeH', true ),
83 110 Alignment::get_attribute( 'alignment', true, [ 'value' => 'left' ] ),
84 111 Typography::get_attribute( 'inputTypography', true ),
85 112 TextShadow::get_attribute( 'inputTextShadow' ),
86 113 TextStroke::get_attribute( 'inputTextStroke', true ),
@@ -88,8 +115,9 @@
88 115 Alignment::get_attribute( 'horizontalAlignment', true, [ 'value' => 'left' ] ),
89 116 Alignment::get_attribute( 'verticalAlignment', true, [ 'value' => 'top' ] ),
90 117 Border::get_attribute( 'listBorder', true ),
91 118 Border::get_attribute( 'itemBorder', true ),
119 + Border::get_attribute( 'searchBoxBorder', true ),
92 120 Dimensions::get_attribute( 'listPadding', true ),
93 121 Dimensions::get_attribute( 'itemPadding', true ),
94 122 Range::get_attribute( [
95 123 'attributeName' => 'gap',
@@ -119,30 +147,34 @@
119 147 'hasUnit' => true,
120 148 'unitDefaultValue' => 'px',
121 149 ] ),
122 150 Range::get_attribute( [
123 - 'attributeName' => 'listWidth',
151 + 'attributeName' => 'searchItemHeight',
124 152 'attributeObjectKey' => 'value',
125 153 'isResponsive' => true,
126 - 'defaultValue' => '',
154 + 'defaultValue' => 300,
155 + 'defaultValueMobile' => 300,
156 + 'defaultValueTablet' => 300,
127 157 'hasUnit' => true,
128 - 'unitDefaultValue' => '%',
158 + 'unitDefaultValue' => 'px',
129 159 ] ),
130 160 Range::get_attribute( [
131 - 'attributeName' => 'thumbnailWidth',
161 + 'attributeName' => 'searchBtnWidth',
132 162 'attributeObjectKey' => 'value',
133 163 'isResponsive' => true,
134 - 'defaultValue' => '',
164 + 'defaultValue' => 70,
165 + 'defaultValueMobile' => 70,
166 + 'defaultValueTablet' => 70,
135 167 'hasUnit' => true,
136 - 'unitDefaultValue' => '%',
168 + 'unitDefaultValue' => 'px',
137 169 ] ),
138 170 Range::get_attribute( [
139 - 'attributeName' => 'thumbnailHeight',
171 + 'attributeName' => 'listWidth',
140 172 'attributeObjectKey' => 'value',
141 173 'isResponsive' => true,
142 174 'defaultValue' => '',
143 175 'hasUnit' => true,
144 - 'unitDefaultValue' => 'px',
176 + 'unitDefaultValue' => '%',
145 177 ] ),
146 178 Range::get_attribute( [
147 179 'attributeName' => 'itemWidth',
148 180 'attributeObjectKey' => 'value',