PluginProbe ʕ •ᴥ•ʔ
VK Blocks / 1.124.0
VK Blocks v1.124.0
1.126.4 1.126.3 1.126.1 1.126.2 1.126.0 1.125.0 1.124.0 1.123.0 1.122.0 1.121.0 1.120.0 1.119.2 1.119.1 1.119.0 1.118.7 1.82.0.0 1.82.0.1 1.83.0.0 1.83.0.1 1.84.0.0 1.84.0.1 1.85.0.2 1.85.0.3 1.85.1.0 1.85.1.1 1.86.0.0 1.86.0.1 1.86.1.0 1.87.0.0 1.87.0.1 1.88.0.1 1.88.0.2 1.89.0.0 1.9.2 1.90.0.0 1.90.0.1 1.90.1.1 1.91.0.0 1.91.1.1 1.92.0.0 1.92.0.1 1.92.1.0 1.92.1.1 1.93.0.0 trunk 1.93.0.1 0.1.1 1.93.1.0 0.10.3 1.93.1.1 0.11.0 1.94.0.0 0.12.6 1.94.0.1 0.15.1 1.94.1.0 0.16.2 1.94.2.1 0.17.6 1.94.2.2 0.2.2 1.95.0.3 0.22.4 1.95.0.4 0.26.7 1.96.2.0 0.3.2 1.96.2.1 0.31.0 1.97.0.1 0.35.5 1.97.0.2 0.37.5 1.99.0.0 0.38.8 1.99.0.1 0.39.4 0.4.7 0.41.0 0.42.0 0.44.13 0.45.2 0.46.1 0.47.0 0.48.0 0.49.8 0.5.2 0.50.3 0.51.0 0.52.2 0.53.2 0.54.0 0.55.0 0.56.2 0.56.3 0.57.6 0.58.10 0.59.0 0.6.0 0.60.1 0.61.2 0.7.1 0.8.2 1.0.16 1.10.0 1.100.0.0 1.100.0.1 1.102.0.0 1.102.0.1 1.103.0.0 1.104.0.0 1.104.0.1 1.105.1.0 1.105.1.1 1.106.0.0 1.106.0.1 1.107.0.0 1.107.0.1 1.107.0.2 1.108.0.0 1.108.0.1 1.109.0.0 1.109.0.1 1.11.4 1.110.0.0 1.110.0.1 1.111.0.0 1.111.0.1 1.111.0.2 1.112.0.0 1.112.0.1 1.113.0.0 1.113.0.1 1.114.0.0 1.114.0.1 1.114.2.0 1.114.2.1 1.115.0.0 1.115.0.1 1.115.1.0 1.115.1.1 1.115.2.0 1.115.2.1 1.116.0.0 1.116.0.1 1.116.1.0 1.116.1.1 1.116.2.0 1.117.0.0 1.117.0.1 1.117.1.0 1.118.2 1.118.5 1.12.0 1.13.2 1.14.1 1.15.1 1.16.11 1.17.0 1.18.6 1.19.0 1.19.1 1.2.3 1.20.7 1.21.0 1.22.4 1.23.0 1.24.5 1.25.1 1.26.2 1.27.7.2 1.28.0.1 1.29.2.0 1.3.9 1.30.0.1 1.31.0.1 1.32.0.2 1.33.2.1 1.36.1.5 1.37.0.0 1.39.2.1 1.4.6 1.40.0.1 1.40.1.0 1.40.1.1 1.41.0.0 1.41.0.1 1.41.2.2 1.41.2.3 1.43.0.0 1.43.0.1 1.43.0.2 1.44.0.0 1.44.0.1 1.45.0.0 1.45.0.1 1.46.0.0 1.46.0.1 1.47.0.0 1.47.0.1 1.47.1.0 1.48.0.0 1.48.0.1 1.48.0.2 1.48.1.0 1.48.1.1 1.5.0 1.50.0.0 1.50.0.1 1.51.0.0 1.51.0.1 1.52.0.0 1.52.0.1 1.53.0.0 1.53.0.1 1.54.0.0 1.54.0.1 1.55.0.0 1.55.0.1 1.56.0.0 1.56.0.1 1.57.0.0 1.57.0.2 1.57.0.3 1.57.0.4 1.57.0.5 1.57.1.0 1.57.1.1 1.57.1.2 1.58.0.0 1.58.0.1 1.59.0.0 1.59.0.1 1.6.0 1.60.0.0 1.60.0.1 1.63.0.0 1.63.0.1 1.64.0.0 1.64.0.1 1.64.1.0 1.64.1.2 1.67.0.0 1.67.0.1 1.68.0.0 1.68.0.1 1.69.0.0 1.69.0.1 1.69.1.1 1.69.1.2 1.7.1 1.70.0.0 1.70.0.1 1.71.0.0 1.71.0.1 1.72.0.0 1.72.1.0 1.72.1.1 1.73.0.0 1.73.0.1 1.74.0.0 1.74.0.1 1.75.0.0 1.75.1.0 1.75.1.1 1.76.0.0 1.76.0.1 1.76.1.0 1.76.1.1 1.76.2.0 1.76.2.1 1.77.0.0 1.77.0.1 1.78.0.0 1.78.0.1 1.79.0.0 1.79.0.1 1.79.0.2 1.79.0.3 1.79.1.0 1.79.1.1 1.8.2 1.80.1.0 1.80.1.1 1.80.1.2 1.81.0.1 1.81.0.2
vk-blocks / src / blocks / button / deprecated / save / index.js
vk-blocks / src / blocks / button / deprecated / save Last commit date
1.122.0 1 month ago 1.16.2 3 months ago 1.16.4 3 months ago 1.18.1 3 months ago 1.18.6 3 months ago 1.29.2 3 months ago 1.31.0 3 months ago 1.35.0 3 months ago 1.39.2 3 months ago 1.43.0 3 months ago 1.70.1 3 months ago 1.72.1 3 months ago index.js 1 month ago
index.js
248 lines
1 import save1_16_2 from './1.16.2/save';
2 import save1_16_4 from './1.16.4/save';
3 import save1_18_1 from './1.18.1/save';
4 import save1_18_6 from './1.18.6/save';
5 import save1_29_2 from './1.29.2/save';
6 import save1_31_0 from './1.31.0/save';
7 import save1_35_0 from './1.35.0/save';
8 import save1_39_2 from './1.39.2/save';
9 import save1_43_0 from './1.43.0/save';
10 import save1_70_1 from './1.70.1/save';
11 import save1_72_1 from './1.72.1/save';
12 import save1_122_0 from './1.122.0/save';
13
14 const blockAttributes = {
15 content: {
16 type: 'string',
17 source: 'html',
18 selector: 'span',
19 },
20 buttonUrl: {
21 type: 'string',
22 default: null,
23 },
24 buttonTarget: {
25 type: 'Boolean',
26 default: false,
27 },
28 buttonSize: {
29 type: 'string',
30 default: 'md',
31 },
32 buttonType: {
33 type: 'string',
34 default: '0',
35 },
36 buttonColor: {
37 type: 'string',
38 default: 'primary',
39 },
40 buttonColorCustom: {
41 type: 'string',
42 default: null,
43 },
44 buttonAlign: {
45 type: 'string',
46 default: 'left',
47 },
48 fontAwesomeIconBefore: {
49 type: 'string',
50 default: null,
51 },
52 fontAwesomeIconAfter: {
53 type: 'string',
54 default: null,
55 },
56 };
57
58 const blockAttributes2 = {
59 ...blockAttributes,
60 subCaption: {
61 type: 'string',
62 default: '',
63 },
64 }
65
66 const blockAttributes3 = {
67 ...blockAttributes2,
68 buttonUrl: {
69 type: 'string',
70 },
71 buttonColorCustom: {
72 type: 'string',
73 },
74 fontAwesomeIconBefore: {
75 type: 'string',
76 },
77 fontAwesomeIconAfter: {
78 type: 'string',
79 },
80 subCaption: {
81 type: 'string',
82 },
83 clientId: {
84 type: 'string',
85 },
86 };
87
88 const blockAttributes4 = {
89 ...blockAttributes3,
90 blockId: {
91 type: 'string',
92 },
93 };
94
95 const blockAttributes5 = {
96 ...blockAttributes4,
97 buttonTextColorCustom: {
98 type: 'string',
99 },
100 };
101
102 const blockAttributes6 = {
103 ...blockAttributes5,
104 buttonWidth: {
105 type: 'number',
106 default: 0,
107 },
108 };
109
110 const blockAttributes7 = {
111 ...blockAttributes6,
112 buttonWidthMobile: {
113 type: 'number',
114 default: 0,
115 },
116 buttonWidthTablet: {
117 type: 'number',
118 default: 0,
119 },
120 buttonWidth: {
121 type: 'number',
122 default: 0,
123 },
124 };
125
126 const blockAttributes8 = {
127 ...blockAttributes7,
128 old_1_31_0: {
129 type: 'string',
130 default: true,
131 }
132 };
133
134 const blockAttributes9 = {
135 ...blockAttributes8,
136 outerGap: {
137 type: 'string',
138 default: null,
139 },
140 };
141
142 const blockAttributes10 = {
143 ...blockAttributes9,
144 iconSizeBefore: {
145 type: 'string',
146 default: null,
147 },
148 iconSizeAfter: {
149 type: 'string',
150 default: null,
151 },
152 };
153
154 const blockAttributes11 = {
155 ...blockAttributes10,
156 buttonEffect: {
157 type: 'string',
158 default: ''
159 },
160 }
161
162 const blockAttributes12 = {
163 ...blockAttributes11,
164 borderRadius: {
165 type: 'string',
166 default: null
167 },
168 }
169
170 // v1.105.1 リンク機能の追加に伴う属性の追加
171 const blockAttributes13 = {
172 ...blockAttributes12,
173 relAttribute: {
174 type: 'string',
175 default: '',
176 },
177 // v1.117.0 投稿リンク機能の追加に伴う属性の追加
178 linkToPost: {
179 type: 'boolean',
180 default: false,
181 },
182 // v1.121.0 ホバー色設定の追加に伴う属性の追加
183 buttonHoverBgColorCustom: {
184 type: 'string',
185 },
186 buttonHoverTextColorCustom: {
187 type: 'string',
188 },
189 // [ ボタン ] サイズ 5 段階化に伴う任意の文字サイズ指定属性の追加 #2986
190 fontSizeValue: {
191 type: 'string',
192 default: null,
193 },
194 };
195
196 export const deprecated = [
197 {
198 attributes: blockAttributes13,
199 save: save1_122_0,
200 },
201 {
202 attributes: blockAttributes12,
203 save: save1_72_1,
204 },
205 {
206 attributes: blockAttributes11,
207 save: save1_70_1,
208 },
209 {
210 attributes: blockAttributes10,
211 save: save1_43_0,
212 },
213 {
214 attributes: blockAttributes9,
215 save: save1_39_2,
216 },
217 {
218 attributes: blockAttributes8,
219 save: save1_35_0,
220 },
221 {
222 attributes: blockAttributes7,
223 save: save1_31_0,
224 },
225 {
226 attributes: blockAttributes6,
227 save: save1_29_2,
228 },
229 {
230 attributes: blockAttributes4,
231 save: save1_18_6,
232 },
233 {
234 attributes: blockAttributes3,
235 save: save1_18_1,
236 },
237 {
238 attributes: blockAttributes3,
239 save: save1_16_4,
240 },
241 {
242 attributes: blockAttributes2,
243 save: save1_16_2,
244 },
245 // Fix: https://github.com/vektor-inc/vk-blocks-pro/issues/356
246 // 独自後方互換処理のための、後方互換を追加
247 ];
248