chore(deps): Bump dependencies

revert(assets): Rename js/ back to scripts/
revert(assets): Rename css/ back to styles/
This commit is contained in:
Brandon
2021-02-16 01:03:14 -06:00
parent 78855e51c8
commit 9b1241997e
13 changed files with 333 additions and 312 deletions

8
resources/scripts/app.js Normal file
View File

@@ -0,0 +1,8 @@
/**
* External Dependencies
*/
import 'jquery';
$(document).ready(() => {
// console.log('Hello world');
});

View File

@@ -0,0 +1,15 @@
/**
* This file allows you to add functionality to the Theme Customizer
* live preview. jQuery is readily available.
*
* {@link https://codex.wordpress.org/Theme_Customization_API}
*/
/**
* Change the blog name value.
*
* @param {string} value
*/
wp.customize('blogname', value => {
value.bind(to => $('.brand').text(to));
});

View File

@@ -0,0 +1,12 @@
import '@wordpress/edit-post';
import domReady from '@wordpress/dom-ready';
import { unregisterBlockStyle, registerBlockStyle } from '@wordpress/blocks';
domReady(() => {
unregisterBlockStyle('core/button', 'outline');
registerBlockStyle('core/button', {
name: 'outline',
label: 'Outline',
});
});