initial
This commit is contained in:
+90
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "generateblocks-pro/carousel-control",
|
||||
"title": "Carousel Control",
|
||||
"category": "generateblocks",
|
||||
"description": "Add navigation controls for carousels.",
|
||||
"ancestor": [
|
||||
"generateblocks-pro/carousel"
|
||||
],
|
||||
"keywords": [
|
||||
"carousel",
|
||||
"control",
|
||||
"navigation",
|
||||
"generateblocks"
|
||||
],
|
||||
"textdomain": "generateblocks-pro",
|
||||
"attributes": {
|
||||
"uniqueId": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"controlType": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"openIcon": {
|
||||
"type": "string",
|
||||
"source": "html",
|
||||
"selector": ".gb-carousel-control-icon:not(.gb-carousel-control-icon--alt)"
|
||||
},
|
||||
"closeIcon": {
|
||||
"type": "string",
|
||||
"source": "html",
|
||||
"selector": ".gb-carousel-control-icon--alt"
|
||||
},
|
||||
"iconLocation": {
|
||||
"type": "string",
|
||||
"default": "before"
|
||||
},
|
||||
"iconOnly": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"content": {
|
||||
"type": "rich-text",
|
||||
"source": "rich-text",
|
||||
"selector": ".gb-carousel-control-text"
|
||||
},
|
||||
"carouselId": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"tagName": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"enum": [
|
||||
"button",
|
||||
"a"
|
||||
]
|
||||
},
|
||||
"htmlAttributes": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"styles": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"globalClasses": {
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"css": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": false,
|
||||
"className": false,
|
||||
"inserter": true
|
||||
},
|
||||
"editorScript": [
|
||||
"file:./index.js"
|
||||
],
|
||||
"editorStyle": [
|
||||
"file:./index.css"
|
||||
]
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
.gb-more-style-controls,.gb-more-style-controls button.components-button{font-size:11px}
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-url', 'generateblocks-pro-block-styles', 'generateblocks-pro-components', 'generateblocks-pro-styles-builder'), 'version' => '73ae1a5854f850770431');
|
||||
@@ -0,0 +1,2 @@
|
||||
.gb-more-style-controls,.gb-more-style-controls button.components-button{font-size:11px}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user