/**
 * SEOvault FAQ block — Phase 27 editor.
 */

import { registerBlockType, registerBlockStyle } from '@wordpress/blocks';
import metadata from './block.json';
import Edit from './edit';
import save from './save';
import deprecated from './deprecated';
import './style.scss';
import './editor.scss';

registerBlockType(metadata.name, {
	edit: Edit,
	save,
	deprecated,
});

[
	'clean-faq',
	'accordion-cards',
	'minimal-seo',
	'soft-help-center',
	'bordered-editorial',
	'compact-faq',
	'dark-faq',
].forEach((name) => {
	registerBlockStyle(metadata.name, {
		name,
		label: name,
	});
});
