Skip to content

Commit 3d5b59f

Browse files
committed
#853 __next40pxDefaultSize
1 parent 999704f commit 3d5b59f

File tree

56 files changed

+201
-7
lines changed

Some content is hidden

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

56 files changed

+201
-7
lines changed

Diff for: src/blocks/alert/edit.js

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export default function ( {
109109
}
110110
>
111111
<SelectControl
112+
__next40pxDefaultSize
112113
__nextHasNoMarginBottom
113114
label={ __( 'Type', 'snow-monkey-blocks' ) }
114115
value={ modifier }

Diff for: src/blocks/balloon/edit.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ export default function ( { attributes, setAttributes, className } ) {
131131
>
132132
<BorderBoxControl
133133
{ ...multipleOriginColorsAndGradients }
134+
__next40pxDefaultSize
135+
__experimentalIsRenderedInSidebar
134136
className="smb-border-box-control"
135137
label={ __( 'Border', 'snow-monkey-blocks' ) }
136138
enableAlpha={ true }
@@ -149,7 +151,6 @@ export default function ( { attributes, setAttributes, className } ) {
149151
style: borderStyle,
150152
width: borderWidth,
151153
} }
152-
__experimentalIsRenderedInSidebar
153154
/>
154155
</ToolsPanelItem>
155156

@@ -240,6 +241,7 @@ export default function ( { attributes, setAttributes, className } ) {
240241
}
241242
>
242243
<SelectControl
244+
__next40pxDefaultSize
243245
__nextHasNoMarginBottom
244246
label={ __(
245247
'Avatar position',
@@ -303,6 +305,8 @@ export default function ( { attributes, setAttributes, className } ) {
303305
>
304306
<BorderBoxControl
305307
{ ...multipleOriginColorsAndGradients }
308+
__next40pxDefaultSize
309+
__experimentalIsRenderedInSidebar
306310
className="smb-border-box-control"
307311
label={ __(
308312
'Border',
@@ -324,7 +328,6 @@ export default function ( { attributes, setAttributes, className } ) {
324328
style: avatarBorderStyle,
325329
width: avatarBorderWidth,
326330
} }
327-
__experimentalIsRenderedInSidebar
328331
/>
329332
</ToolsPanelItem>
330333
</>

Diff for: src/blocks/box/edit.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ export default function ( {
250250
>
251251
<BorderBoxControl
252252
{ ...useMultipleOriginColorsAndGradients() }
253+
__next40pxDefaultSize
254+
__experimentalIsRenderedInSidebar
253255
className="smb-border-box-control"
254256
enableAlpha={ true }
255257
enableStyle={ true }
@@ -267,7 +269,6 @@ export default function ( {
267269
style: borderStyle,
268270
width: borderWidth,
269271
} }
270-
__experimentalIsRenderedInSidebar
271272
/>
272273
</ToolsPanelItem>
273274

@@ -334,6 +335,7 @@ export default function ( {
334335
}
335336
>
336337
<RangeControl
338+
__next40pxDefaultSize
337339
__nextHasNoMarginBottom
338340
label={ __( 'Opacity', 'snow-monkey-blocks' ) }
339341
value={ opacity }

Diff for: src/blocks/btn-box/edit.js

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ export default function ( {
139139
}
140140
>
141141
<SelectControl
142+
__next40pxDefaultSize
142143
__nextHasNoMarginBottom
143144
label={ __( 'Button size', 'snow-monkey-blocks' ) }
144145
value={ btnSize }

Diff for: src/blocks/btn/edit.js

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export default function ( {
129129
}
130130
>
131131
<SelectControl
132+
__next40pxDefaultSize
132133
__nextHasNoMarginBottom
133134
label={ __( 'Button size', 'snow-monkey-blocks' ) }
134135
value={ modifier }

Diff for: src/blocks/categories-list/edit.js

+3
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export default function ( { attributes, setAttributes, className } ) {
180180
}
181181
>
182182
<RangeControl
183+
__next40pxDefaultSize
183184
__nextHasNoMarginBottom
184185
label={ __(
185186
'Categories list articles',
@@ -260,6 +261,7 @@ export default function ( { attributes, setAttributes, className } ) {
260261
}
261262
>
262263
<SelectControl
264+
__next40pxDefaultSize
263265
__nextHasNoMarginBottom
264266
label={ __( 'orderby', 'snow-monkey-blocks' ) }
265267
value={ orderby }
@@ -321,6 +323,7 @@ export default function ( { attributes, setAttributes, className } ) {
321323
}
322324
>
323325
<SelectControl
326+
__next40pxDefaultSize
324327
__nextHasNoMarginBottom
325328
label={ __( 'order', 'snow-monkey-blocks' ) }
326329
value={ order }

Diff for: src/blocks/child-pages/edit.js

+6
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
9292
}
9393
>
9494
<TextControl
95+
__next40pxDefaultSize
9596
__nextHasNoMarginBottom
9697
label={ __( 'Title', 'snow-monkey-blocks' ) }
9798
value={ title }
@@ -120,6 +121,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
120121
}
121122
>
122123
<SelectControl
124+
__next40pxDefaultSize
123125
__nextHasNoMarginBottom
124126
label={ __( 'Layout', 'snow-monkey-blocks' ) }
125127
value={ layout }
@@ -257,6 +259,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
257259
}
258260
>
259261
<RangeControl
262+
__next40pxDefaultSize
260263
__nextHasNoMarginBottom
261264
label={ __(
262265
'Autoplay Speed in seconds',
@@ -383,6 +386,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
383386
}
384387
>
385388
<SelectControl
389+
__next40pxDefaultSize
386390
__nextHasNoMarginBottom
387391
label={ __( 'Images size', 'snow-monkey-blocks' ) }
388392
value={ itemThumbnailSizeSlug }
@@ -412,6 +416,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
412416
}
413417
>
414418
<SelectControl
419+
__next40pxDefaultSize
415420
__nextHasNoMarginBottom
416421
label={ __(
417422
'Number of columns displayed on mobile device',
@@ -520,6 +525,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
520525
className="spacing-sizes-control"
521526
>
522527
<RangeControl
528+
__next40pxDefaultSize
523529
__nextHasNoMarginBottom
524530
className="spacing-sizes-control__range-control"
525531
value={

Diff for: src/blocks/countdown/edit.js

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
114114
id="snow-monkey-blocks/countdown/numeric-font-size"
115115
>
116116
<FontSizePicker
117+
__next40pxDefaultSize
117118
value={ selectedNumericFontSize }
118119
onChange={ ( value ) => {
119120
const fontSizeSlug = getFontSizeObjectByValue(
@@ -160,6 +161,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
160161
id="snow-monkey-blocks/countdown/clock-font-size"
161162
>
162163
<FontSizePicker
164+
__next40pxDefaultSize
163165
value={ selectedClockFontSize }
164166
onChange={ ( value ) => {
165167
const fontSizeSlug = getFontSizeObjectByValue(

Diff for: src/blocks/custom-field/edit.js

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default function ( { attributes, setAttributes } ) {
3737
}
3838
>
3939
<TextControl
40+
__next40pxDefaultSize
4041
__nextHasNoMarginBottom
4142
label={ __(
4243
'Custom field name',

Diff for: src/blocks/evaluation-star/edit.js

+3
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ export default function ( {
140140
}
141141
>
142142
<RangeControl
143+
__next40pxDefaultSize
143144
__nextHasNoMarginBottom
144145
label={ __( 'Evaluation', 'snow-monkey-blocks' ) }
145146
help={ __(
@@ -173,6 +174,7 @@ export default function ( {
173174
}
174175
>
175176
<SelectControl
177+
__next40pxDefaultSize
176178
__nextHasNoMarginBottom
177179
label={ __(
178180
'Title position',
@@ -245,6 +247,7 @@ export default function ( {
245247
}
246248
>
247249
<SelectControl
250+
__next40pxDefaultSize
248251
__nextHasNoMarginBottom
249252
label={ __(
250253
'Numeric position',

Diff for: src/blocks/faq/item/edit.js

+5
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
137137
id="snow-monkey-blocks/faq-item/question-font-size"
138138
>
139139
<FontSizePicker
140+
__next40pxDefaultSize
140141
value={ selectedQuestionFontSize }
141142
onChange={ ( value ) => {
142143
const fontSizeSlug = getFontSizeObjectByValue(
@@ -190,6 +191,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
190191
id="snow-monkey-blocks/faq-item/question-label-font-size"
191192
>
192193
<FontSizePicker
194+
__next40pxDefaultSize
193195
value={ selectedQuestionLabelFontSize }
194196
onChange={ ( value ) => {
195197
const fontSizeSlug = getFontSizeObjectByValue(
@@ -242,6 +244,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
242244
id="snow-monkey-blocks/faq-item/answer-label-font-size"
243245
>
244246
<FontSizePicker
247+
__next40pxDefaultSize
245248
value={ selectedAnswerLabelFontSize }
246249
onChange={ ( value ) => {
247250
const fontSizeSlug = getFontSizeObjectByValue(
@@ -315,6 +318,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
315318
}
316319
>
317320
<TextControl
321+
__next40pxDefaultSize
318322
__nextHasNoMarginBottom
319323
label={ __(
320324
'Question label',
@@ -353,6 +357,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
353357
}
354358
>
355359
<TextControl
360+
__next40pxDefaultSize
356361
__nextHasNoMarginBottom
357362
label={ __( 'Answer label', 'snow-monkey-blocks' ) }
358363
value={ answerLabel }

Diff for: src/blocks/grid/edit.js

+8
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
121121
id="snow-monkey-blocks/grid/grid-template-columns"
122122
>
123123
<ToggleGroupControl
124+
__next40pxDefaultSize
124125
__nextHasNoMarginBottom
125126
hideLabelFromVision
126127
value={ columnsOption }
@@ -171,6 +172,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
171172
>
172173
{ 'columns' === columnsOption && (
173174
<RangeControl
175+
__next40pxDefaultSize
174176
__nextHasNoMarginBottom
175177
label={ __(
176178
'Columns count',
@@ -191,6 +193,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
191193
{ 'min' === columnsOption && (
192194
<>
193195
<UnitControl
196+
__next40pxDefaultSize
194197
label={ __(
195198
'Minimum width',
196199
'snow-monkey-blocks'
@@ -204,6 +207,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
204207
/>
205208

206209
<ToggleGroupControl
210+
__next40pxDefaultSize
207211
__nextHasNoMarginBottom
208212
label={ __(
209213
'Auto repeat',
@@ -231,6 +235,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
231235

232236
{ 'free' === columnsOption && (
233237
<TextControl
238+
__next40pxDefaultSize
234239
__nextHasNoMarginBottom
235240
value={ gridTemplateColumns }
236241
onChange={ ( value ) =>
@@ -269,6 +274,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
269274
id="snow-monkey-blocks/grid/grid-template-rows"
270275
>
271276
<ToggleGroupControl
277+
__next40pxDefaultSize
272278
__nextHasNoMarginBottom
273279
hideLabelFromVision
274280
value={ rowsOption }
@@ -305,6 +311,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
305311
>
306312
{ 'rows' === rowsOption && (
307313
<RangeControl
314+
__next40pxDefaultSize
308315
__nextHasNoMarginBottom
309316
label={ __(
310317
'Rows count',
@@ -324,6 +331,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
324331

325332
{ 'free' === rowsOption && (
326333
<TextControl
334+
__next40pxDefaultSize
327335
__nextHasNoMarginBottom
328336
value={ gridTemplateRows }
329337
onChange={ ( value ) =>

0 commit comments

Comments
 (0)