Skip to content

Commit 6b30d69

Browse files
committed
Merge branch 'develop' into feature/534-settings-page
2 parents 9b4a582 + 1cc77cd commit 6b30d69

File tree

8 files changed

+29
-23
lines changed

8 files changed

+29
-23
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ module.exports = function( grunt ) {
8282
'!theme/assets/css/src/**',
8383
'!theme/assets/css/*.map',
8484
'!theme/assets/js/.gitignore',
85+
'!theme/assets/js/*.css',
8586
'!theme/assets/js/*.php',
8687
'!theme/assets/js/*.map',
8788
'!theme/assets/js/editor*',

plugin/assets/src/block-editor/blocks/image-list/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"columns": {
6767
"type": "object",
6868
"default": {
69-
"desktop": 4,
69+
"desktop": 5,
7070
"tablet": 3,
7171
"mobile": 1
7272
}

plugin/assets/src/block-editor/components/layout-controls/index.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import classNames from 'classnames';
2222
/**
2323
* WordPress dependencies
2424
*/
25-
import { BaseControl, RangeControl } from '@wordpress/components';
25+
import { BaseControl, RangeControl, Tooltip } from '@wordpress/components';
2626
import { useState } from '@wordpress/element';
2727
import { __ } from '@wordpress/i18n';
2828

@@ -59,15 +59,16 @@ export default ( {
5959
{ label }
6060
<div className="components-base-control__label-actions components-base-control__layout-controls">
6161
{ DEVICES.map( device => (
62-
<button
63-
key={ device.name }
64-
className={ classNames( '', {
65-
'is-selected': device.name === selectedDevice,
66-
} ) }
67-
onClick={ () => setSelectedDevice( device.name ) }
68-
>
69-
<i className="material-icons">{ device.icon }</i>
70-
</button>
62+
<Tooltip text={ device.label } key={ device.name }>
63+
<button
64+
className={ classNames( '', {
65+
'is-selected': device.name === selectedDevice,
66+
} ) }
67+
onClick={ () => setSelectedDevice( device.name ) }
68+
>
69+
<i className="material-icons">{ device.icon }</i>
70+
</button>
71+
</Tooltip>
7172
) ) }
7273
</div>
7374
</BaseControl.VisualLabel>

plugin/assets/src/block-editor/constants.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* WordPress dependencies
19+
*/
20+
import { __ } from '@wordpress/i18n';
21+
1722
const NAMESPACE = '/wp/v2';
1823
export const ENDPOINTS = {
1924
root: NAMESPACE,
@@ -24,13 +29,16 @@ export const DEVICES = [
2429
{
2530
name: 'desktop',
2631
icon: 'computer',
32+
label: __( 'Layout Settings for Desktop', 'material-design' ),
2733
},
2834
{
2935
name: 'tablet',
3036
icon: 'tablet',
37+
label: __( 'Layout Settings for Tablet', 'material-design' ),
3138
},
3239
{
3340
name: 'mobile',
3441
icon: 'smartphone',
42+
label: __( 'Layout Settings for Mobile', 'material-design' ),
3543
},
3644
];

plugin/readme.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ The official Material Design plugin for WordPress. Customize your site’s navig
66

77
**Contributors:** [google](https://profiles.wordpress.org/google), [materialdesign](https://profiles.wordpress.org/materialdesign), [xwp](https://profiles.wordpress.org/xwp)
88
**Requires at least:** 5.2
9-
**Tested up to:** 5.6
10-
**Stable tag:** 0.1.0
9+
**Tested up to:** 5.7
10+
**Stable tag:** 0.1.2
1111
**License:** [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
1212

13-
[![Build Status](https://travis-ci.com/material-components/material-design-for-wordpress.svg?branch=develop)](https://travis-ci.com/material-components/material-design-for-wordpress) [![Coverage Status](https://coveralls.io/repos/material-components/material-design-for-wordpress/badge.svg?branch=develop)](https://coveralls.io/github/material-components/material-design-for-wordpress) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com)
14-
1513
## Description ##
1614

1715
The official Material Design plugin for WordPress. Customize your site’s navigation, colors, typography, and shapes, use Material Components, and choose from over 1,000 Google Fonts and Material Design icons. From the team behind Google’s open-source design system.

plugin/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
=== Material Design for WordPress ===
22
Contributors: google, materialdesign, xwp
33
Requires at least: 5.2
4-
Tested up to: 5.6
5-
Stable tag: 0.1.0
4+
Tested up to: 5.7
5+
Stable tag: 0.1.2
66
License: Apache License, Version 2.0
77
License URI: https://www.apache.org/licenses/LICENSE-2.0
88

theme/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ The official Material Design Theme for WordPress.
66

77
**Contributors:** [google](https://profiles.wordpress.org/google), [materialdesign](https://profiles.wordpress.org/materialdesign), [xwp](https://profiles.wordpress.org/xwp)
88
**Requires at least:** 5.0
9-
**Tested up to:** 5.6
9+
**Tested up to:** 5.7
1010
**Stable tag:** 0.1.4
1111
**License:** [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
1212
**Requires PHP:** 5.6
1313

14-
[![Build Status](https://travis-ci.com/xwp/material-design-wp-theme.svg?branch=develop)](https://travis-ci.com/xwp/material-design-wp-theme) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com)
15-
1614
## Description ##
1715

1816
The official Material Design Theme for WordPress – from the team behind Google’s open-source design system. Apply Material Design principles and Material Theming to your site, and customize its style. Pair this with the official Material Design for WordPress plugin to customize your site’s navigation, colors, typography, and shapes, use Material Components, and choose from over 1,000 Google Fonts and Material Design icons.
@@ -40,7 +38,7 @@ Material Design is a design system created by Google and backed by open-source c
4038

4139
## Changelog ##
4240

43-
For the theme’s changelog, please see [the Releases page on GitHub](https://github.com/xwp/material-design-wp-theme/releases).
41+
For the theme’s changelog, please see [the Releases page on GitHub](https://github.com/material-components/material-design-for-wordpress/releases).
4442

4543
## Copyright ##
4644

theme/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
*/
1616
/*!
1717
Theme Name: Material Design Google
18-
Theme URI: https://github.com/xwp/material-design-wp-theme
18+
Theme URI: https://github.com/material-components/material-design-for-wordpress
1919
Author: Material Design
2020
Author URI: https://material.io/
2121
Description: The official Material Design theme for WordPress – from the team behind Google’s open-source design system. Apply Material Design principles and Material Theming to your site, and customize its style. Pair this with the official Material Design for WordPress plugin to customize your site’s navigation, colors, typography, and shapes, use Material Components, and choose from over 1,000 Google Fonts and Material Design icons.
2222
Version: 0.1.4
2323
License: Apache License, Version 2.0
2424
License URI: https://www.apache.org/licenses/LICENSE-2.0
2525
Text Domain: material-design-google
26-
Tested up to: 5.6
26+
Tested up to: 5.7
2727
Requires PHP: 5.6
2828
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, one-column, threaded-comments, accessibility-ready, footer-widgets, editor-style, sticky-post, translation-ready, rtl-language-support, block-styles, wide-blocks
2929

0 commit comments

Comments
 (0)