Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions source/php/Component/Acceptance/acceptance.json

This file was deleted.

51 changes: 51 additions & 0 deletions source/php/Component/Acceptance/acceptanceConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php

return [
'slug' => 'acceptance',
'default' => (object) [
'labels' => false,
'height' => false,
'src' => false,
'policy' => false,
'host' => false,
'name' => false,
'icon' => 'info',
'cover' => false,
'modifier' => '',
],
'description' => [
'labels' => 'Object or array containing knownLabels and unknownLabels with title, info, and button',
'height' => 'height in number ex 500',
'src' => 'array of urls to hide ex. https://www.youtube.com',
'policy' => 'URL to third party website policy',
'host' => 'host ex. youtube.com',
'name' => 'name of the host',
'icon' => 'Icon name as a string.',
'cover' => 'URL for background image',
'modifier' => 'Modifier variable ex. video',
],
'types' => [
'labels' => 'array|object|boolean',
'height' => 'boolean|string',
'src' => 'boolean|array',
'policy' => 'boolean',
'host' => 'boolean',
'name' => 'boolean',
'icon' => 'string',
'cover' => 'boolean',
'modifier' => 'string',
],
'view' => 'acceptance.blade.php',
'dependency' => [
'sass' => [
'components' => [
'acceptance',
'button',
'icon',
'typography',
'iframe',
'modal',
],
],
],
];
58 changes: 0 additions & 58 deletions source/php/Component/Accordion/accordion.json

This file was deleted.

60 changes: 60 additions & 0 deletions source/php/Component/Accordion/accordionConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php

return [
'slug' => 'accordion',
'default' => (object) [
'id' => '',
'list' => [],
'beforeHeading' => '',
'afterHeading' => '',
'beforeContent' => '<p>',
'afterContent' => '</p>',
'componentElement' => 'div',
'sectionElement' => 'div',
'sectionHeadingElement' => 'button',
'sectionContentElement' => 'div',
'spacedSections' => false,
'taxonomy' => [],
'taxonomyPosition' => '',
],
'description' => [
'id' => 'ID for the accordion',
'list' => 'List of accordion section',
'beforeHeading' => 'Insert before heading',
'afterHeading' => 'Insert after heading',
'beforeContent' => 'Insert before content',
'afterContent' => 'Insert after content',
'componentElement' => 'Component element',
'sectionElement' => 'Section element',
'sectionHeadingElement' => 'Section heading component',
'sectionContentElement' => 'Section content component',
'spacedSections' => 'Sections are spaced instead of glued together',
'taxonomy' => 'Array of taxonomies such as tags',
'taxonomyPosition' => 'Taxonomy position like top or below',
],
'types' => [
'id' => 'string',
'list' => 'array',
'beforeHeading' => 'string',
'afterHeading' => 'string',
'beforeContent' => 'string',
'afterContent' => 'string',
'componentElement' => 'string',
'sectionElement' => 'string',
'sectionHeadingElement' => 'string',
'sectionContentElement' => 'string',
'spacedSections' => 'bool',
'taxonomy' => 'array',
'taxonomyPosition' => 'string',
],
'view' => 'accordion.blade.php',
'dependency' => [
'sass' => [
'components' => [
'accordion',
'icon',
'tags',
],
],
],
];
57 changes: 0 additions & 57 deletions source/php/Component/Accordion__item/accordion__item.json

This file was deleted.

58 changes: 58 additions & 0 deletions source/php/Component/Accordion__item/accordion__itemConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php

return [
'slug' => 'accordion__item',
'default' => (object) [
'id' => '',
'heading' => '',
'beforeHeading' => '',
'afterHeading' => '',
'beforeContent' => '',
'afterContent' => '',
'sectionElement' => 'div',
'sectionHeadingElement' => 'a',
'sectionContentElement' => 'div',
'taxonomy' => [],
'taxonomyPosition' => '',
'icon' => 'keyboard_arrow_down',
],
'description' => [
'id' => 'ID for the accordion',
'heading' => 'The heading',
'beforeHeading' => 'Insert before heading',
'afterHeading' => 'Insert after heading',
'beforeContent' => 'Insert before content',
'afterContent' => 'Insert after content',
'sectionElement' => 'Section element',
'sectionHeadingElement' => 'Section heading component',
'sectionContentElement' => 'Section content component',
'taxonomy' => 'Array of taxonomies such as tags',
'taxonomyPosition' => 'Taxonomy position like top or below',
'icon' => 'Icon to show for expand functionality.',
],
'types' => [
'id' => 'string',
'heading' => 'string|array',
'beforeHeading' => 'string',
'afterHeading' => 'string',
'beforeContent' => 'string',
'afterContent' => 'string',
'sectionElement' => 'string',
'sectionHeadingElement' => 'string',
'sectionContentElement' => 'string',
'taxonomy' => 'array',
'taxonomyPosition' => 'string',
'icon' => 'string',
],
'view' => 'accordion__item.blade.php',
'dependency' => [
'sass' => [
'components' => [
'accordion',
'accordion__item',
'icon',
'tags',
],
],
],
];
22 changes: 0 additions & 22 deletions source/php/Component/AnchorMenu/anchorMenu.json

This file was deleted.

24 changes: 24 additions & 0 deletions source/php/Component/AnchorMenu/anchorMenuConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

return [
'slug' => 'anchorMenu',
'default' => (object) [
'menuItems' => [],
],
'description' => [
'menuItems' => 'An array containing arrays of items. An item should contain a label, anchor and if wanted an icon as well.',
],
'types' => [
'menuItems' => 'array',
],
'view' => 'anchorMenu.blade.php',
'dependency' => [
'sass' => [
'components' => [
'link',
'group',
'icon',
],
],
],
];
Loading
Loading