1031 lines
25 KiB
PHP
1031 lines
25 KiB
PHP
<?php
|
||
// This file is generated. Do not modify it manually.
|
||
return array(
|
||
'audio-player' => 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'
|
||
)
|
||
),
|
||
'company-timeline' => array(
|
||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||
'apiVersion' => 3,
|
||
'name' => 'telex/block-company-timeline',
|
||
'version' => '0.1.0',
|
||
'title' => 'Company Timeline',
|
||
'category' => 'design',
|
||
'icon' => 'calendar-alt',
|
||
'description' => 'Display company milestones with a fixed sidebar navigation and scroll-based highlighting',
|
||
'keywords' => array(
|
||
'timeline',
|
||
'history',
|
||
'milestones',
|
||
'chronology',
|
||
'events'
|
||
),
|
||
'attributes' => array(
|
||
'entries' => array(
|
||
'type' => 'array',
|
||
'default' => array(
|
||
array(
|
||
'year' => '2020',
|
||
'title' => 'Company Founded',
|
||
'description' => 'Our journey began with a vision to make a difference.',
|
||
'imageUrl' => '',
|
||
'imageId' => 0
|
||
)
|
||
)
|
||
)
|
||
),
|
||
'example' => array(
|
||
'attributes' => array(
|
||
'entries' => array(
|
||
array(
|
||
'year' => '2010',
|
||
'title' => 'The Beginning',
|
||
'description' => 'Founded with a mission to innovate.',
|
||
'imageUrl' => '',
|
||
'imageId' => 0
|
||
),
|
||
array(
|
||
'year' => '2015',
|
||
'title' => 'Major Milestone',
|
||
'description' => 'Reached 1 million customers worldwide.',
|
||
'imageUrl' => '',
|
||
'imageId' => 0
|
||
),
|
||
array(
|
||
'year' => '2020',
|
||
'title' => 'Global Expansion',
|
||
'description' => 'Opened offices in 25 countries.',
|
||
'imageUrl' => '',
|
||
'imageId' => 0
|
||
)
|
||
)
|
||
)
|
||
),
|
||
'supports' => array(
|
||
'html' => false,
|
||
'anchor' => true,
|
||
'align' => array(
|
||
'wide',
|
||
'full'
|
||
)
|
||
),
|
||
'textdomain' => 'company-timeline',
|
||
'editorScript' => 'file:./index.js',
|
||
'editorStyle' => 'file:./index.css',
|
||
'style' => 'file:./style-index.css',
|
||
'viewScript' => 'file:./view.js'
|
||
),
|
||
'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'
|
||
)
|
||
)
|
||
),
|
||
'highlight-timeline' => array(
|
||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||
'apiVersion' => 3,
|
||
'name' => 'carhop-blocks/highlight-timeline',
|
||
'version' => '0.1.0',
|
||
'title' => 'Highlight Timeline',
|
||
'category' => 'carhop-blocks',
|
||
'icon' => 'smiley',
|
||
'description' => 'Highlight Timeline pour la mise en forme d\'une timeline avec des éléments en surbrillance',
|
||
'example' => array(
|
||
|
||
),
|
||
'supports' => array(
|
||
'html' => false
|
||
),
|
||
'textdomain' => 'highlight-timeline',
|
||
'editorScript' => 'file:./index.js',
|
||
'editorStyle' => 'file:./index.css',
|
||
'style' => 'file:./style-index.css',
|
||
'viewScript' => 'file:./view.js',
|
||
'render' => 'file:./render.php'
|
||
),
|
||
'highlight-timeline-step' => array(
|
||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||
'apiVersion' => 3,
|
||
'name' => 'carhop-blocks/highlight-timeline-step',
|
||
'version' => '0.1.0',
|
||
'title' => 'Étape de timeline',
|
||
'category' => 'carhop-blocks',
|
||
'icon' => 'calendar',
|
||
'description' => 'Étape de timeline pour la mise en forme d\'une étape de timeline',
|
||
'example' => array(
|
||
|
||
),
|
||
'parent' => array(
|
||
'carhop-blocks/highlight-timeline'
|
||
),
|
||
'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(
|
||
'year' => array(
|
||
'type' => 'number',
|
||
'default' => 2025
|
||
)
|
||
)
|
||
),
|
||
'image-stack' => array(
|
||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||
'apiVersion' => 3,
|
||
'name' => 'carhop-blocks/image-stack',
|
||
'version' => '0.1.0',
|
||
'title' => 'Image Stack (Focal Point)',
|
||
'category' => 'carhop-blocks',
|
||
'icon' => 'images-alt2',
|
||
'description' => 'Layer multiple images with individual focal point positioning.',
|
||
'example' => array(
|
||
'attributes' => array(
|
||
'images' => array(
|
||
array(
|
||
'id' => 1,
|
||
'url' => 'https://images.unsplash.com/photo-1506905925346-21bda4d32df4',
|
||
'alt' => 'Mountain landscape',
|
||
'focalPoint' => array(
|
||
'x' => 0.5,
|
||
'y' => 0.3
|
||
),
|
||
'scale' => 0.8
|
||
),
|
||
array(
|
||
'id' => 2,
|
||
'url' => 'https://images.unsplash.com/photo-1511884642898-4c92249e20b6',
|
||
'alt' => 'Forest scene',
|
||
'focalPoint' => array(
|
||
'x' => 0.7,
|
||
'y' => 0.6
|
||
),
|
||
'scale' => 0.6
|
||
)
|
||
),
|
||
'height' => 400
|
||
)
|
||
),
|
||
'attributes' => array(
|
||
'images' => array(
|
||
'type' => 'array',
|
||
'default' => array(
|
||
|
||
),
|
||
'items' => array(
|
||
'type' => 'object'
|
||
)
|
||
),
|
||
'height' => array(
|
||
'type' => 'number',
|
||
'default' => 400
|
||
)
|
||
),
|
||
'supports' => array(
|
||
'html' => false,
|
||
'align' => array(
|
||
'wide',
|
||
'full'
|
||
),
|
||
'spacing' => array(
|
||
'margin' => true,
|
||
'padding' => true
|
||
)
|
||
),
|
||
'textdomain' => 'image-stack',
|
||
'editorScript' => 'file:./index.js',
|
||
'editorStyle' => 'file:./index.css',
|
||
'style' => 'file:./style-index.css'
|
||
),
|
||
'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
|
||
),
|
||
'aspectRatio' => array(
|
||
'type' => 'string',
|
||
'default' => 'auto',
|
||
'enum' => array(
|
||
'auto',
|
||
'1/1',
|
||
'4/3',
|
||
'3/4',
|
||
'3/2',
|
||
'2/3',
|
||
'16/9',
|
||
'21/9',
|
||
'9/16',
|
||
'9/21'
|
||
)
|
||
),
|
||
'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',
|
||
'attributes' => array(
|
||
'hasNumbering' => array(
|
||
'type' => 'boolean',
|
||
'default' => false
|
||
)
|
||
)
|
||
),
|
||
'story-timeline' => array(
|
||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||
'apiVersion' => 3,
|
||
'name' => 'carhop-blocks/story-timeline',
|
||
'version' => '0.1.0',
|
||
'title' => 'Timeline',
|
||
'category' => 'carhop-blocks',
|
||
'icon' => 'calendar-alt',
|
||
'description' => 'Boite de timeline pour la mise en forme d\'une timeline',
|
||
'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'
|
||
),
|
||
'story-timeline-step' => array(
|
||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||
'apiVersion' => 3,
|
||
'name' => 'carhop-blocks/story-timeline-step',
|
||
'version' => '0.1.0',
|
||
'title' => 'Étape de timeline',
|
||
'category' => 'carhop-blocks',
|
||
'icon' => 'calendar',
|
||
'description' => 'Étape de timeline pour la mise en forme d\'une étape de timeline',
|
||
'example' => array(
|
||
|
||
),
|
||
'parent' => array(
|
||
'carhop-blocks/story-timeline'
|
||
),
|
||
'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(
|
||
'year' => array(
|
||
'type' => 'number',
|
||
'default' => 2025
|
||
)
|
||
)
|
||
),
|
||
'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'
|
||
)
|
||
);
|