Skip to content

Commit 4f8ab6f

Browse files
emeaguiarravichdev
authored andcommitted
Merge branch 'develop' into feature/534-settings-page
2 parents db9764a + 58b6f51 commit 4f8ab6f

File tree

92 files changed

+2716
-522
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+2716
-522
lines changed

.github/workflows/lint-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
- name: Build assets
5757
run: npm run build:js
5858

59+
- name: Sleep for 10 seconds
60+
uses: jakejarvis/wait-action@master
61+
with:
62+
time: '10s'
63+
5964
- name: Start docker local env
6065
run: |
6166
npm run env:start

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ module.exports = function( grunt ) {
3131
'!plugin/**/._.DS_Store',
3232
'!plugin/**/.DS_Store',
3333
'!plugin/assets/css/src/**',
34+
'!plugin/assets/css/*.map',
3435
'!plugin/assets/js/.gitignore',
36+
'!plugin/assets/js/*.css',
37+
'!plugin/assets/js/*.map',
3538
'!plugin/assets/src/**',
3639
'!plugin/assets/images/png/**',
3740
'!plugin/assets/images/jpg/**',
@@ -81,6 +84,7 @@ module.exports = function( grunt ) {
8184
'!theme/assets/js/.gitignore',
8285
'!theme/assets/js/*.php',
8386
'!theme/assets/js/*.map',
87+
'!theme/assets/js/editor*',
8488
'!theme/assets/src/**',
8589
'!theme/tests/**',
8690
'!theme/wp-assets/**',
@@ -194,6 +198,7 @@ module.exports = function( grunt ) {
194198
const iconArray = item.split( /\s/g );
195199

196200
icons.icons[ iconArray[ 1 ] ] = {
201+
id: iconArray[ 1 ],
197202
name: iconArray[ 0 ],
198203
};
199204
} );
@@ -208,7 +213,7 @@ module.exports = function( grunt ) {
208213

209214
grunt.registerTask( 'readme', [ 'shell:readme' ] );
210215

211-
grunt.registerTask( 'build', [ 'readme', 'copy', 'icon_mapping' ] );
216+
grunt.registerTask( 'build', [ 'readme', 'icon_mapping', 'copy' ] );
212217

213218
grunt.registerTask( 'create-build-zip', [
214219
'shell:create_plugin_zip',

package-lock.json

Lines changed: 30 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"devDependencies": {
2626
"@babel/cli": "7.8.4",
2727
"@babel/core": "7.8.4",
28-
"@babel/preset-env": "7.11.5",
2928
"@babel/plugin-proposal-optional-chaining": "7.8.3",
3029
"@babel/plugin-transform-react-jsx": "7.8.3",
30+
"@babel/preset-env": "7.11.5",
3131
"@material/button": "5.1.0",
3232
"@material/card": "5.1.0",
3333
"@material/checkbox": "5.1.0",
@@ -44,8 +44,8 @@
4444
"@material/switch": "6.0.0",
4545
"@material/tab-bar": "5.1.0",
4646
"@material/textfield": "5.1.0",
47-
"@material/top-app-bar": "5.1.0",
4847
"@material/tooltip": "8.0.0",
48+
"@material/top-app-bar": "5.1.0",
4949
"@material/typography": "5.1.0",
5050
"@sheerun/mutationobserver-shim": "0.3.3",
5151
"@testing-library/dom": "7.2.2",
@@ -123,7 +123,7 @@
123123
"postcss-import": "12.0.1",
124124
"postcss-loader": "3.0.0",
125125
"postcss-mixins": "6.2.3",
126-
"postcss-nested": "4.2.1",
126+
"postcss-nested": "4.2.3",
127127
"postcss-preset-env": "6.7.0",
128128
"postcss-simple-vars": "5.0.2",
129129
"prettier": "npm:[email protected]",
@@ -148,7 +148,7 @@
148148
"scripts": {
149149
"build": "npm-run-all build:*",
150150
"build:prepare": "grunt clean",
151-
"build:js": "wp-scripts build",
151+
"build:js": "NODE_ENV=dev wp-scripts build && wp-scripts build",
152152
"build:run": "grunt build",
153153
"build:zip": "grunt create-build-zip",
154154
"deploy": "npm run build && grunt deploy",

plugin/assets/css/src/block-editor.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@
5757
width: 100%;
5858
}
5959

60+
.block-editor-block-list__block .material-design-block-handpicked-posts__types__list .components-radio-control__option {
61+
display: inline-block;
62+
63+
& label {
64+
margin-right: 8px;
65+
}
66+
}
67+
6068
.mdc-image-list--with-text-protection .mdc-image-list__supporting {
6169
align-items: start;
6270
height: auto;

0 commit comments

Comments
 (0)