@secretstache/wordpress-gutenberg 0.3.12 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretstache/wordpress-gutenberg",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "",
5
5
  "author": "Secret Stache",
6
6
  "license": "GPL-2.0-or-later",
@@ -144,11 +144,9 @@ export const getBaseBackgroundAttributes = ({
144
144
  const backgroundMediaAttribute = {
145
145
  isIncludeBackgroundMedia: {
146
146
  type: 'boolean',
147
- default: null,
148
147
  },
149
148
  backgroundMediaType: {
150
149
  type: 'string',
151
- default: null,
152
150
  },
153
151
  ...getMediaAttribute(mediaAttributeName),
154
152
  };
@@ -156,18 +154,15 @@ export const getBaseBackgroundAttributes = ({
156
154
  const overlayAttribute = {
157
155
  isIncludeOverlay: {
158
156
  type: 'boolean',
159
- default: null,
160
157
  },
161
158
  overlayColor: {
162
159
  type: 'object',
163
- default: null,
164
160
  },
165
161
  };
166
162
 
167
163
  return {
168
164
  backgroundColor: {
169
165
  type: 'object',
170
- default: null,
171
166
  },
172
167
 
173
168
  ...(hasBackgroundMedia ? backgroundMediaAttribute : {}),