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/content-timeline/attributes.php +41 -2 2.9.1 → 2.14.0 View file →
@@ -15,8 +15,12 @@
15 15 'block_id' => [
16 16 'type' => 'string',
17 17 'default' => '',
18 18 ],
19 + 'blockVersion' => array(
20 + 'type' => 'number',
21 + 'default' => '',
22 + ),
19 23 'iconColor' => [
20 24 'type' => 'string',
21 25 'default' => '#000000'
22 26 ],
@@ -37,18 +41,30 @@
37 41 'default' => true,
38 42 ],
39 43 'showDateTablet' => [
40 44 'type' => 'boolean',
41 - 'default' => true,
45 +
42 46 ],
43 47 'showDateMobile' => [
44 48 'type' => 'boolean',
45 49 'default' => true,
46 50 ],
51 + 'showAnimation' => [
52 + 'type' => 'boolean',
53 + 'default' => false,
54 + ],
55 + 'connectorAnimationColor' => [
56 + 'type' => 'string',
57 + 'default' => '#00ad6b',
58 + ],
47 59 'dateColor' => [
48 60 'type' => 'string',
49 61 'default' => '#333333'
50 62 ],
63 + 'connectorAnimationColor' => [
64 + 'type' => 'string',
65 + 'default' => '00ad6b'
66 + ],
51 67 'dateFormat' => [
52 68 'type' => 'string',
53 69 'default' => 'F j, Y',
54 70 ],
@@ -54,8 +70,12 @@
54 70 ],
55 71 'dateBackground' => [
56 72 'type' => 'string',
57 73 'default' => '#eee',
74 + ],
75 + 'showAnimation' => [
76 + 'type' => 'boolean',
77 + 'default' => false,
58 78 ]
59 79 ];
60 80 $attributes = array_merge(
61 81 $attributes,
@@ -78,10 +98,29 @@
78 98 'defaultValue' => 3,
79 99 ] ),
80 100 Range::get_attribute([
81 101 'attributeName' => 'iconSize',
82 - 'isResponsive' => false,
102 + 'attributeObjectKey' => 'value',
103 + 'isResponsive' => true,
104 + 'hasUnit' => true,
105 + 'unitDefaultValue' => 'px',
83 106 'defaultValue' => 18,
107 + ] ),
108 + Range::get_attribute([
109 + 'attributeName' => 'lineLeft',
110 + 'attributeObjectKey' => 'value',
111 + 'isResponsive' => true,
112 + 'hasUnit' => true,
113 + 'unitDefaultValue' => 'px',
114 + 'defaultValue' => 0,
115 + ] ),
116 + Range::get_attribute([
117 + 'attributeName' => 'lineRight',
118 + 'attributeObjectKey' => 'value',
119 + 'isResponsive' => true,
120 + 'hasUnit' => true,
121 + 'unitDefaultValue' => 'px',
122 + 'defaultValue' => 0,
84 123 ] ),
85 124 Icon::get_attribute(
86 125 'contentTimeLineIcon', [
87 126 'path' => 'M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z',