initial
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "generateblocks-pro/tabs",
|
||||
"title": "Tabs",
|
||||
"category": "generateblocks",
|
||||
"icon": "star",
|
||||
"description": "Display content in a set of tabs.",
|
||||
"keywords": [
|
||||
"alert",
|
||||
"message"
|
||||
],
|
||||
"version": "1.0.0",
|
||||
"textdomain": "generateblocks-pro",
|
||||
"attributes": {
|
||||
"uniqueId": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"tagName": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"enum": [
|
||||
"div",
|
||||
"section",
|
||||
"aside",
|
||||
"nav",
|
||||
"ul",
|
||||
"ol",
|
||||
"li"
|
||||
]
|
||||
},
|
||||
"styles": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"css": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"globalClasses": {
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"htmlAttributes": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"showTemplateSelector": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": false,
|
||||
"className": false
|
||||
},
|
||||
"editorStyle": [
|
||||
"file:./tabs.css",
|
||||
"file:./index.css"
|
||||
],
|
||||
"editorScript": [
|
||||
"file:./index.js",
|
||||
"file:./tabs.js"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.gbp-variation-selector{display:flex;flex-wrap:wrap;gap:16px}.gbp-variation-selector__button{display:inline-flex;flex-direction:column;font-size:13px!important;gap:8px;height:auto!important;margin:0!important;padding:0!important;width:120px}.gbp-variation-selector__button svg{height:50px!important}.gbp-select-variation .components-placeholder__instructions,.gbp-select-variation .components-placeholder__label{margin:0 auto}.gbp-select-variation .components-placeholder__fieldset{display:flex;justify-content:center;overflow:hidden;text-align:center}.gbp-select-variation__actions{display:flex;flex-basis:100%;justify-content:center;margin-top:30px}
|
||||
@@ -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' => '94055238fdc799db172e');
|
||||
@@ -0,0 +1 @@
|
||||
.gbp-variation-selector{display:flex;flex-wrap:wrap;gap:16px}.gbp-variation-selector__button{display:inline-flex;flex-direction:column;font-size:13px!important;gap:8px;height:auto!important;margin:0!important;padding:0!important;width:120px}.gbp-variation-selector__button svg{height:50px!important}.gbp-select-variation .components-placeholder__instructions,.gbp-select-variation .components-placeholder__label{margin:0 auto}.gbp-select-variation .components-placeholder__fieldset{display:flex;justify-content:center;overflow:hidden;text-align:center}.gbp-select-variation__actions{display:flex;flex-basis:100%;justify-content:center;margin-top:30px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.gb-tabs__item{display:none}.gb-tabs__item.gb-tabs__item-open{display:block}:where(:not(button)).gb-tabs__menu-item{cursor:pointer}:where(.gb-tabs[data-transition=fade] .gb-tabs__item-open){opacity:1}:where(.gb-tabs[data-transition=fade] .gb-tabs__item-transition){opacity:0}:where(.gb-tabs[data-transition=fade] .gb-tabs__item){transition:opacity .25s ease}
|
||||
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array(), 'version' => '5f0cfaeea27eb6a9cb63');
|
||||
@@ -0,0 +1 @@
|
||||
.gb-tabs__item{display:none}.gb-tabs__item.gb-tabs__item-open{display:block}:where(:not(button)).gb-tabs__menu-item{cursor:pointer}:where(.gb-tabs[data-transition=fade] .gb-tabs__item-open){opacity:1}:where(.gb-tabs[data-transition=fade] .gb-tabs__item-transition){opacity:0}:where(.gb-tabs[data-transition=fade] .gb-tabs__item){transition:opacity .25s ease}
|
||||
Reference in New Issue
Block a user