PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / 4.0.7
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More v4.0.7
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / blocks / countdown / block.json
superb-blocks / blocks / countdown Last commit date
block.json 6 days ago index-rtl.css 6 days ago index.asset.php 6 days ago index.css 6 days ago index.js 6 days ago style-index-rtl.css 6 days ago style-index.css 6 days ago
block.json
79 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "superb-addons/countdown",
5 "version": "0.1.0",
6 "title": "Superb Countdown",
7 "category": "superb-addons-blocks",
8 "icon": "clock",
9 "description": "A customizable countdown timer block with multiple visual styles.",
10 "keywords": ["countdown", "timer", "date", "deadline", "sale", "event"],
11 "styles": [
12 { "name": "default", "label": "Default", "isDefault": true },
13 { "name": "boxed", "label": "Boxed" },
14 { "name": "circle", "label": "Circle" },
15 { "name": "minimal", "label": "Minimal" },
16 { "name": "flip", "label": "Flip" },
17 { "name": "inline", "label": "Inline" }
18 ],
19 "supports": {
20 "html": false,
21 "align": ["wide", "full"],
22 "color": {
23 "background": true,
24 "text": true,
25 "gradients": true
26 },
27 "spacing": {
28 "margin": true,
29 "padding": true,
30 "__experimentalDefaultControls": {
31 "padding": true
32 }
33 },
34 "typography": {
35 "fontSize": true,
36 "lineHeight": true,
37 "__experimentalFontFamily": true,
38 "__experimentalFontWeight": true,
39 "__experimentalFontStyle": true,
40 "__experimentalTextTransform": true,
41 "__experimentalLetterSpacing": true
42 }
43 },
44 "attributes": {
45 "style": {
46 "type": "object",
47 "default": {
48 "spacing": {
49 "padding": {
50 "top": "var:preset|spacing|superbspacing-xxsmall",
51 "right": "var:preset|spacing|superbspacing-xxsmall",
52 "bottom": "var:preset|spacing|superbspacing-xxsmall",
53 "left": "var:preset|spacing|superbspacing-xxsmall"
54 }
55 }
56 }
57 },
58 "countdownId": { "type": "string" },
59 "targetDate": { "type": "string", "default": "" },
60 "showDays": { "type": "boolean", "default": true },
61 "showHours": { "type": "boolean", "default": true },
62 "showMinutes": { "type": "boolean", "default": true },
63 "showSeconds": { "type": "boolean", "default": true },
64 "daysLabel": { "type": "string", "default": "Days" },
65 "hoursLabel": { "type": "string", "default": "Hours" },
66 "minutesLabel": { "type": "string", "default": "Minutes" },
67 "secondsLabel": { "type": "string", "default": "Seconds" },
68 "expiryAction": { "type": "string", "default": "hide-block" },
69 "expiryMessage": { "type": "string", "default": "" },
70 "contentPosition": { "type": "string", "default": "after" },
71 "countdownBackground": { "type": "string", "default": "" },
72 "numberColor": { "type": "string", "default": "" }
73 },
74 "textdomain": "superb-blocks",
75 "editorScript": "file:./index.js",
76 "editorStyle": "file:./index.css",
77 "style": "file:./style-index.css"
78 }
79