array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/audio-player', 'version' => '0.1.0', 'title' => 'Lecteur audio', 'category' => 'carhop-blocks', 'icon' => array( 'src' => 'format-audio', 'foreground' => '#136f63' ), 'description' => 'Lecteur audio pour intégrer un fichier audio dans votre contenu', 'example' => array( ), 'attributes' => array( 'audioUrl' => array( 'type' => 'string', 'default' => '' ), 'audioId' => array( 'type' => 'number', 'default' => 0 ), 'title' => array( 'type' => 'string', 'default' => 'Titre du bloc audio' ), 'description' => array( 'type' => 'string', 'default' => '' ), 'caption' => array( 'type' => 'string', 'default' => '' ) ), 'supports' => array( 'html' => false ), 'keywords' => array( 'audio', 'player', 'lecteur audio' ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js' ), 'card-grid' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/card-grid', 'version' => '0.1.0', 'title' => 'Card Grid', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Boite de contenu pour la mise en forme d\'éléments de contenu', 'example' => array( ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full' ), 'alignWide' => true ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => '' ), 'columns' => array( 'type' => 'number', 'default' => 3 ), 'cardsWithBorder' => array( 'type' => 'boolean', 'default' => true ) ) ), 'chapo' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/chapo', 'version' => '0.1.0', 'title' => 'Chapo', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Chapo pour la mise en forme supérieure d\'éléments de contenu', 'example' => array( ), 'supports' => array( 'html' => false, 'color' => array( 'text' => true, 'background' => false, 'link' => false ) ), 'textdomain' => 'chapo', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'content' => array( 'type' => 'string', 'source' => 'html', 'selector' => 'p' ) ) ), 'chapter-section' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/chapter-section', 'version' => '0.1.0', 'title' => ' Section Chapitre', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Example block scaffolded with Create Block tool.', 'example' => array( ), 'supports' => array( 'html' => false, 'border' => array( 'color' => true, 'style' => true, 'width' => true ) ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'render' => 'file:./render.php', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => 'full' ), 'blockWidth' => array( 'type' => 'string', 'default' => 'full', 'enum' => array( 'full', 'contained' ) ), 'coverType' => array( 'type' => 'string', 'default' => 'image', 'enum' => array( 'classic', 'photoframe' ) ), 'coverUrl' => array( 'type' => 'string' ), 'coverAlt' => array( 'type' => 'string' ), 'coverId' => array( 'type' => 'number' ), 'coverSize' => array( 'type' => 'string', 'default' => 'large', 'enum' => array( 'small', 'medium', 'grande', 'large' ) ), 'disposition' => array( 'type' => 'string', 'default' => 'left', 'enum' => array( 'left', 'right' ) ), 'hasBorder' => array( 'type' => 'boolean', 'default' => false ), 'blockVariant' => array( 'type' => 'string', 'default' => 'framed', 'enum' => array( 'framed', 'backgrounded', 'nude' ) ), 'borderColor' => array( 'type' => 'string', 'default' => '#136f63' ), 'backgroundColor' => array( 'type' => 'string', 'default' => '#ffffff' ), 'hasLightBackground' => array( 'type' => 'boolean', 'default' => true ), 'textColor' => array( 'type' => 'string', 'default' => '#136f63' ), 'shapeType' => array( 'type' => 'string', 'default' => 'variationA', 'enum' => array( 'variationA', 'variationB' ) ) ), 'usesContext' => array( 'postType', 'postId' ) ), 'content-box' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/content-box', 'version' => '0.1.0', 'title' => 'Boite de contenu', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Boite de contenu pour la mise en forme d\'éléments de contenu', 'example' => array( ), 'supports' => array( 'html' => false, 'anchor' => true ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'hasBackgroundColor' => array( 'type' => 'boolean', 'default' => false ), 'backgroundColor' => array( 'type' => 'string', 'default' => '#f1fcf9' ), 'hasLightBackground' => array( 'type' => 'boolean', 'default' => true ), 'textColor' => array( 'type' => 'string', 'default' => 'inherit' ), 'blockVariant' => array( 'type' => 'string', 'default' => 'framed' ), 'blockWidth' => array( 'type' => 'string', 'default' => 'full', 'enum' => array( 'full', 'contained' ) ) ) ), 'content-card' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/content-card', 'version' => '0.1.0', 'title' => 'Content Card', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Carte de contenu pour la mise en forme d\'éléments de contenu', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'hasBackgroundColor' => array( 'type' => 'boolean', 'default' => false ), 'backgroundColor' => array( 'type' => 'string', 'default' => '#136f63' ), 'hasLightBackground' => array( 'type' => 'boolean', 'default' => true ), 'textColor' => array( 'type' => 'string', 'default' => '#136f63' ) ) ), 'cta' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/cta', 'version' => '0.1.0', 'title' => 'Cta', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Un bouton de lien', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'render' => 'file:./render.php', 'attributes' => array( 'text' => array( 'type' => 'string', 'default' => 'Call to action' ), 'link' => array( 'type' => 'object' ), 'align' => array( 'type' => 'string', 'default' => 'left' ), 'color' => array( 'type' => 'string', 'default' => null ) ) ), 'cta-group' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/cta-group', 'version' => '0.1.0', 'title' => 'Groupe de CTA', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Pour intégrer Un groupe de call to action', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => 'left' ) ) ), 'dbmob-grid' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-plugin/dbmob-grid', 'version' => '0.1.0', 'title' => 'Grid de dictionnaires', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Grid de dictionnaires', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'dbmob-grid', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'render' => 'file:./render.php', 'viewScript' => 'file:./view.js' ), 'decorative-shapes' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/decorative-shapes', 'version' => '0.1.0', 'title' => 'Formes décoratives ', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Formes décoratives du carhop', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'variant' => array( 'type' => 'string', 'default' => 'medium' ) ) ), 'featured-news' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/featured-news', 'version' => '0.1.0', 'title' => 'À la une', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Le fil d’actualité du carhop', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'featured-news', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'render' => 'file:./render.php' ), 'front-header' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'front-header/front-header', 'version' => '0.1.0', 'title' => 'Header', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Example block scaffolded with Create Block tool.', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'front-header', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js' ), 'heading' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/heading', 'version' => '0.1.0', 'title' => 'Titrage', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Boite de titrage pour la mise en forme d\'éléments de contenu', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'styles' => array( array( 'name' => 'stroked-after', 'label' => 'Titre + trait ' ) ), 'attributes' => array( 'hierarchy' => array( 'type' => 'string', 'enum' => array( 'classic', 'inverted' ), 'default' => 'classic' ) ) ), 'latest-news' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-plugin/latest-news', 'version' => '0.1.0', 'title' => 'Dernières actualités', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Example block scaffolded with Create Block tool.', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'latest-news', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'render' => 'file:./render.php', 'viewScript' => 'file:./view.js' ), 'localisation-map' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/localisation-map', 'version' => '0.1.0', 'title' => 'Localisation Map', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Example block scaffolded with Create Block tool.', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'localisation-map', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'render' => 'file:./render.php' ), 'narrative-card' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/narrative-card', 'version' => '0.1.0', 'title' => 'Carte narrative', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Une carte narrative', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'hasCover' => array( 'type' => 'boolean', 'default' => true ), 'coverPosition' => array( 'type' => 'string', 'default' => 'right', 'enum' => array( 'left', 'right' ) ), 'coverId' => array( 'type' => 'number' ), 'coverUrl' => array( 'type' => 'string' ), 'coverAlt' => array( 'type' => 'string' ), 'blackWhiteCoverFilter' => array( 'type' => 'boolean', 'default' => true ) ) ), 'notice-panel' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/notice-panel', 'version' => '0.1.0', 'title' => 'Encart d\'information', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Encart d\'information pour la mise en avant d\'éléments informatifs', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js' ), 'our-collection' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/our-collection', 'version' => '0.1.0', 'title' => 'Notre collection', 'category' => 'carhop-blocks', 'icon' => 'products', 'description' => 'Bloc pour afficher la collection de produits', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'imageId' => array( 'type' => 'number', 'default' => 0 ), 'imageUrl' => array( 'type' => 'string', 'default' => '' ) ) ), 'picture-of-the-day' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'create-block/picture-of-the-day', 'version' => '0.1.0', 'title' => 'Picture Of The Day', 'category' => 'widgets', 'icon' => 'smiley', 'description' => 'Example block scaffolded with Create Block tool.', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'picture-of-the-day', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js' ), 'scroll-story-block' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/scroll-story-block', 'version' => '0.1.0', 'title' => 'Section défilante animée', 'category' => 'carhop-blocks', 'icon' => 'format-quote', 'description' => 'Une section défilante animée', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'carhop-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js' ), 'subscribe-infolettre' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/subscribe-infolettre', 'version' => '0.1.0', 'title' => 'Infolettre', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Infolettre', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'subscribe-infolettre', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'render' => 'file:./render.php', 'attributes' => array( 'title' => array( 'type' => 'string', 'default' => 'Restez connectés à l’histoire sociale' ) ) ), 'decouvrez-prochainement' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'carhop-blocks/decouvrez-prochainement', 'version' => '0.1.0', 'title' => 'Découvrez Prochainement', 'category' => 'carhop-blocks', 'icon' => 'smiley', 'description' => 'Découvrez les prochaines parutions de la revue Dynamiques.', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'localisation-map', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'render' => 'file:./render.php' ) );