✨feature: Initial commit
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 2,
|
||||
"name": "logo-soup/showcase",
|
||||
"title": "Logo Soup",
|
||||
"category": "widgets",
|
||||
"icon": "images-alt2",
|
||||
"description": "Upload logos, assign links, and display them in a grid or carousel.",
|
||||
"textdomain": "logo-soup",
|
||||
"editorScript": "file:./build/index.js",
|
||||
"editorStyle": "file:./build/index.css",
|
||||
"style": "file:./build/style-index.css",
|
||||
"attributes": {
|
||||
"logos": {
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"layout": {
|
||||
"type": "string",
|
||||
"default": "carousel"
|
||||
},
|
||||
"grayscale": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"speed": {
|
||||
"type": "number",
|
||||
"default": 22
|
||||
},
|
||||
"pauseOnHover": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"baseSize": {
|
||||
"type": "number",
|
||||
"default": 48
|
||||
},
|
||||
"scaleFactor": {
|
||||
"type": "number",
|
||||
"default": 0.5
|
||||
},
|
||||
"densityAware": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"densityFactor": {
|
||||
"type": "number",
|
||||
"default": 0.5
|
||||
},
|
||||
"cropToContent": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"alignBy": {
|
||||
"type": "string",
|
||||
"default": "bounds"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"html": false,
|
||||
"align": ["wide", "full"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user