PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / trunk
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More vtrunk
4.1.0 4.0.9 4.0.8 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 / progress-bar / block.json
superb-blocks / blocks / progress-bar Last commit date
block.json 2 weeks ago index-rtl.css 2 weeks ago index.asset.php 2 weeks ago index.css 2 weeks ago index.js 2 weeks ago style-index-rtl.css 2 weeks ago style-index.css 2 weeks ago
block.json
88 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "superb-addons/progress-bar",
5 "version": "0.1.0",
6 "title": "Superb Progress Bar",
7 "category": "superb-addons-blocks",
8 "icon": "chart-bar",
9 "description": "A customizable progress bar block with bar, circle, and semicircle styles.",
10 "keywords": [
11 "progress",
12 "bar",
13 "circle",
14 "gauge",
15 "percentage",
16 "skill",
17 "stats"
18 ],
19 "styles": [
20 { "name": "bar", "label": "Bar", "isDefault": true },
21 { "name": "striped-bar", "label": "Striped Bar" },
22 { "name": "circle", "label": "Circle" },
23 { "name": "glow-circle", "label": "Glow Circle" },
24 { "name": "semicircle", "label": "Semicircle" },
25 { "name": "glow-semicircle", "label": "Glow Semicircle" }
26 ],
27 "supports": {
28 "html": false,
29 "align": ["wide", "full"],
30 "color": {
31 "background": true,
32 "text": true,
33 "gradients": true
34 },
35 "spacing": {
36 "margin": true,
37 "padding": true,
38 "__experimentalDefaultControls": {
39 "padding": true
40 }
41 },
42 "typography": {
43 "fontSize": false,
44 "lineHeight": false,
45 "__experimentalFontFamily": true,
46 "__experimentalFontWeight": false,
47 "__experimentalFontStyle": false,
48 "__experimentalTextTransform": false,
49 "__experimentalLetterSpacing": false
50 }
51 },
52 "attributes": {
53 "progressValue": { "type": "number", "default": 75 },
54 "goalValue": { "type": "number", "default": 100 },
55 "label": { "type": "string", "default": "" },
56 "showLabel": { "type": "boolean", "default": true },
57 "showPercentage": { "type": "boolean", "default": true },
58 "valueDisplay": { "type": "string", "default": "value" },
59 "prefix": { "type": "string", "default": "" },
60 "suffix": { "type": "string", "default": "%" },
61 "barHeight": { "type": "number", "default": 20 },
62 "circleSize": { "type": "number", "default": 320 },
63 "strokeWidth": { "type": "number", "default": 12 },
64 "rounded": { "type": "boolean", "default": true },
65
66 "animateOnScroll": { "type": "boolean", "default": true },
67 "animationDuration": { "type": "number", "default": 1500 },
68 "progressColor": { "type": "string" },
69 "trackColor": { "type": "string" },
70 "percentageColor": { "type": "string" },
71 "milestones": {
72 "type": "array",
73 "default": [],
74 "items": {
75 "type": "object",
76 "properties": {
77 "value": { "type": "number" },
78 "label": { "type": "string" }
79 }
80 }
81 }
82 },
83 "textdomain": "superb-blocks",
84 "editorScript": "file:./index.js",
85 "editorStyle": "file:./index.css",
86 "style": "file:./style-index.css"
87 }
88