block.json in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites trunk, at build/block/linear-progressbar/progressbar/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "blockspare/blockspare-skillbar", |
| 5 | "category": "blockspare", |
| 6 | "attributes": { |
| 7 | "className": { |
| 8 | "type": "string" |
| 9 | }, |
| 10 | "blockID": { |
| 11 | "type": "string", |
| 12 | "default": "" |
| 13 | }, |
| 14 | "uniqueClass": { |
| 15 | "type": "string", |
| 16 | "default": "" |
| 17 | }, |
| 18 | "title": { |
| 19 | "type": "string", |
| 20 | "default": "Enter title" |
| 21 | }, |
| 22 | "textColor": { |
| 23 | "type": "string", |
| 24 | "default": "#404040" |
| 25 | }, |
| 26 | "textSize": { |
| 27 | "type": "number", |
| 28 | "default": 20 |
| 29 | }, |
| 30 | "titleFontFamily": { |
| 31 | "type": "string", |
| 32 | "default": "Default" |
| 33 | }, |
| 34 | "titleFontWeight": { |
| 35 | "type": "string", |
| 36 | "default": "" |
| 37 | }, |
| 38 | "titleFontSubset": { |
| 39 | "type": "string" |
| 40 | }, |
| 41 | "titleFontSizeType": { |
| 42 | "type": "string", |
| 43 | "default": "px" |
| 44 | }, |
| 45 | "titleFontSizeMobile": { |
| 46 | "type": "number", |
| 47 | "default": 14 |
| 48 | }, |
| 49 | "titleFontSizeTablet": { |
| 50 | "type": "number", |
| 51 | "default": 16 |
| 52 | }, |
| 53 | "titleLoadGoogleFonts": { |
| 54 | "type": "boolean", |
| 55 | "default": false |
| 56 | }, |
| 57 | "percentageTextColor": { |
| 58 | "type": "string", |
| 59 | "default": "#ce242c" |
| 60 | }, |
| 61 | "percentage": { |
| 62 | "type": "number", |
| 63 | "default": 25 |
| 64 | }, |
| 65 | "sectionAlignment": { |
| 66 | "type": "string", |
| 67 | "default": "left" |
| 68 | }, |
| 69 | "barColor": { |
| 70 | "type": "string", |
| 71 | "default": "#141618" |
| 72 | }, |
| 73 | "backgroundColor": { |
| 74 | "type": "string", |
| 75 | "default": "#D6D6D6" |
| 76 | }, |
| 77 | "barThickness": { |
| 78 | "type": "number", |
| 79 | "default": 2 |
| 80 | }, |
| 81 | "blockHoverEffect": { |
| 82 | "type": "string", |
| 83 | "default": "" |
| 84 | } |
| 85 | }, |
| 86 | "editorScript": "file:./index.js" |
| 87 | } |