├── .nvmrc ├── assets ├── global-scripts │ └── .gitkeep ├── images │ └── block-previews │ │ ├── .gitkeep │ │ ├── quotes-preview.jpg │ │ ├── tabs-preview.jpg │ │ ├── carousel-preview.jpg │ │ ├── accordion-preview.jpg │ │ ├── logo-grid-preview.jpg │ │ ├── side-by-side-preview.jpg │ │ ├── call-to-action-preview.jpg │ │ └── cards-repeater-preview.jpg ├── admin.js ├── frontend.js └── global-styles │ ├── tailwind.config.js │ ├── admin-styles.scss │ └── frontend-styles.scss ├── .stylelintignore ├── src ├── blocks │ ├── hero │ │ ├── editor.scss │ │ ├── editor.js │ │ ├── script.js │ │ ├── tailwind.config.js │ │ ├── style.scss │ │ ├── block.json │ │ └── hero.php │ ├── tabs │ │ ├── editor.js │ │ ├── editor.scss │ │ ├── tailwind.config.js │ │ ├── style.scss │ │ ├── block.json │ │ ├── tabs.php │ │ └── script.js │ ├── accordion │ │ ├── editor.js │ │ ├── editor.scss │ │ ├── tailwind.config.js │ │ ├── block.json │ │ ├── style.scss │ │ ├── script.js │ │ └── accordion.php │ ├── carousel │ │ ├── editor.js │ │ ├── editor.scss │ │ ├── tailwind.config.js │ │ ├── block.json │ │ ├── script.js │ │ ├── style.scss │ │ └── carousel.php │ ├── logo-grid │ │ ├── editor.js │ │ ├── script.js │ │ ├── editor.scss │ │ ├── tailwind.config.js │ │ ├── style.scss │ │ ├── block.json │ │ └── logo-grid.php │ ├── quotes │ │ ├── editor.js │ │ ├── script.js │ │ ├── editor.scss │ │ ├── style.scss │ │ ├── tailwind.config.js │ │ ├── block.json │ │ └── quotes.php │ ├── call-to-action │ │ ├── editor.scss │ │ ├── editor.js │ │ ├── script.js │ │ ├── tailwind.config.js │ │ ├── style.scss │ │ ├── block.json │ │ └── call-to-action.php │ ├── cards-repeater │ │ ├── editor.js │ │ ├── script.js │ │ ├── editor.scss │ │ ├── style.scss │ │ ├── tailwind.config.js │ │ ├── block.json │ │ └── cards-repeater.php │ └── side-by-side │ │ ├── editor.js │ │ ├── script.js │ │ ├── editor.scss │ │ ├── tailwind.config.js │ │ ├── style.scss │ │ ├── block.json │ │ └── side-by-side.php ├── modules │ ├── badges.php │ ├── search.php │ ├── tabs.php │ ├── figure.php │ ├── accordion.php │ ├── call-to-action-left.php │ ├── call-to-action-center.php │ ├── call-to-action-right.php │ ├── meta.php │ ├── hero.php │ ├── card.php │ ├── carousel-slide.php │ ├── notification.php │ └── breadcrumbs.php └── elements │ ├── eyebrow.php │ ├── label.php │ ├── content.php │ ├── blockquote.php │ ├── anchor.php │ ├── heading.php │ ├── input.php │ ├── icon.php │ ├── textarea.php │ ├── select.php │ ├── logo.php │ ├── badge.php │ ├── button.php │ └── image.php ├── wpcli └── block-starter │ ├── editor.scss │ ├── style.scss │ ├── editor.js │ ├── block.php │ ├── script.js │ ├── tailwind.config.js │ └── block.json ├── .prettierignore ├── acf-json ├── index.php ├── group_59416d894b7c7.json ├── group_61f3ff5b52cc3.json ├── group_61e58e490f037.json ├── group_61f413242c50a.json ├── group_61f444f22e304.json ├── group_624daa038b614.json ├── group_6346c08d323e8.json ├── group_5cc9ad45ed8c9.json ├── group_6361413178825.json ├── group_61e5c3849235d.json └── group_61e709c7963b1.json ├── env-example.json ├── .vscode ├── snipsnap.code-snippets ├── settings.json └── extensions.json ├── changelog.md ├── .prettierrc.js ├── .github ├── dependabot.yml ├── PULL_REQUEST_TEMPLATE.md ├── CONTRIBUTING.md └── CODE_OF_CONDUCT.md ├── inc ├── helpers │ ├── register-block-category.php │ ├── dependency.php │ ├── get-post-content.php │ ├── print-module.php │ ├── print-element.php │ ├── get-acf-fields.php │ ├── scripts.php │ ├── get-block-classes.php │ ├── print-post-author.php │ ├── print-post-date.php │ ├── get-formatted-args.php │ ├── print-svg.php │ ├── get-formatted-atts.php │ ├── allowed-blocks.php │ ├── setup-block-defaults.php │ ├── get-attachment-id-from-url.php │ ├── print-post-taxonomies.php │ ├── print-block.php │ └── get-svg.php └── hooks.php ├── .editorconfig ├── .gitignore ├── .stylelintrc.json ├── webpack.global.js ├── documentation ├── WP-CLI.md ├── Modules.md ├── Scripts.md ├── Functions.md ├── Blocks.md └── Philosophy.md ├── composer.json ├── postcss.config.js ├── package.json ├── phpcs.xml.dist ├── wds-acf-blocks.php └── README.md /.nvmrc: -------------------------------------------------------------------------------- 1 | 16 2 | -------------------------------------------------------------------------------- /assets/global-scripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/block-previews/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.stylelintignore: -------------------------------------------------------------------------------- 1 | build/ 2 | vendor/ 3 | !.*.js 4 | -------------------------------------------------------------------------------- /src/blocks/hero/editor.scss: -------------------------------------------------------------------------------- 1 | // Editor styles. 2 | -------------------------------------------------------------------------------- /src/blocks/tabs/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | -------------------------------------------------------------------------------- /wpcli/block-starter/editor.scss: -------------------------------------------------------------------------------- 1 | // Editor styles. 2 | -------------------------------------------------------------------------------- /src/blocks/accordion/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/carousel/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/logo-grid/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/logo-grid/script.js: -------------------------------------------------------------------------------- 1 | import './style.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/quotes/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/quotes/script.js: -------------------------------------------------------------------------------- 1 | import './style.scss'; 2 | -------------------------------------------------------------------------------- /wpcli/block-starter/style.scss: -------------------------------------------------------------------------------- 1 | // Frontend styles. 2 | -------------------------------------------------------------------------------- /src/blocks/call-to-action/editor.scss: -------------------------------------------------------------------------------- 1 | // Editor styles. 2 | -------------------------------------------------------------------------------- /src/blocks/cards-repeater/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/cards-repeater/script.js: -------------------------------------------------------------------------------- 1 | import './style.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/side-by-side/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/side-by-side/script.js: -------------------------------------------------------------------------------- 1 | import './style.scss'; 2 | -------------------------------------------------------------------------------- /src/blocks/hero/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | 3 | // Editor JS here. 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | build/ 2 | node_modules/ 3 | vendor/ 4 | style.css 5 | README.md 6 | -------------------------------------------------------------------------------- /wpcli/block-starter/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | 3 | // Editor JS here. 4 | -------------------------------------------------------------------------------- /src/blocks/call-to-action/editor.js: -------------------------------------------------------------------------------- 1 | import './editor.scss'; 2 | 3 | // Editor JS here. 4 | -------------------------------------------------------------------------------- /acf-json/index.php: -------------------------------------------------------------------------------- 1 | 2 |