Skip to content

Commit 1b599de

Browse files
authored
Merge pull request #148 from material-components/revert-127-customizer/global-settings
Revert "Add global settings for card and text field"
2 parents 8cc470d + 655a26a commit 1b599de

File tree

20 files changed

+38
-291
lines changed

20 files changed

+38
-291
lines changed

Gruntfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ module.exports = function( grunt ) {
8383
'!theme/assets/css/*.map',
8484
'!theme/assets/js/.gitignore',
8585
'!theme/assets/js/*.css',
86-
'!theme/assets/js/*.php',
8786
'!theme/assets/js/*.map',
8887
'!theme/assets/js/editor*',
8988
'!theme/assets/src/**',

plugin/assets/css/src/customize-controls.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
content: "\f460" !important;
5151
}
5252

53-
& .customize-section-description-container .customize-section-title {
53+
& .customize-section-description-container {
5454
display: none;
5555
}
5656
}

plugin/assets/src/block-editor/blocks/card/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ import edit from './edit';
2727
import save from './save';
2828
import metadata from './block.json';
2929
import { example } from './example';
30-
import { isDefaultCardStyleOutlined } from '../../utils';
31-
metadata.attributes.outlined.default = isDefaultCardStyleOutlined();
30+
3231
const { name } = metadata;
3332

3433
export { metadata, name };

plugin/assets/src/block-editor/blocks/cards-collection/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ import edit from './edit';
2727
import save from './save';
2828
import { example } from './example';
2929
import metadata from './block.json';
30-
import { isDefaultCardStyleOutlined } from '../../utils';
3130

3231
const { name } = metadata;
3332

34-
metadata.attributes.outlined.default = isDefaultCardStyleOutlined();
3533
export { metadata, name };
3634

3735
/**

plugin/assets/src/block-editor/blocks/contact-form/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ import { __ } from '@wordpress/i18n';
2525
import edit from './edit';
2626
import save from './save';
2727
import metadata from './block.json';
28-
import { isDefaultTextFieldStyleOutlined } from '../../utils';
29-
30-
metadata.attributes.outlined.default = isDefaultTextFieldStyleOutlined();
3128

3229
const { name } = metadata;
3330

plugin/assets/src/block-editor/blocks/hand-picked-posts/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ import metadata from './block.json';
2727

2828
const { name } = metadata;
2929

30-
import { isDefaultCardStyleOutlined } from '../../utils';
31-
metadata.attributes.outlined.default = isDefaultCardStyleOutlined();
3230
export { metadata, name };
3331

3432
/**

plugin/assets/src/block-editor/blocks/recent-posts/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ import { __ } from '@wordpress/i18n';
2525
import edit from './edit';
2626
import metadata from './block.json';
2727
import { example } from './example';
28-
import { isDefaultCardStyleOutlined } from '../../utils';
2928

3029
const { name } = metadata;
31-
metadata.attributes.outlined.default = isDefaultCardStyleOutlined();
30+
3231
export { metadata, name };
3332

3433
/**

plugin/assets/src/block-editor/utils/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,3 @@
1717
export { default as findIcon } from './find-icon';
1818
export { default as getConfig } from './get-config';
1919
export { default as getIconName } from './get-icon-name';
20-
export { default as isDefaultCardStyleOutlined } from './is-default-card-style-outlined';
21-
export { default as isDefaultTextFieldStyleOutlined } from './is-default-text-field-outlined';

plugin/assets/src/block-editor/utils/is-default-card-style-outlined.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

plugin/assets/src/block-editor/utils/is-default-text-field-outlined.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)