@gem-sdk/components 2.0.0-dev.458 → 2.0.0-dev.461
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/breadcrumb/components/Breadcrumb.js +1 -0
- package/dist/cjs/breadcrumb/components/Breadcrumb.liquid.js +1 -0
- package/dist/cjs/breadcrumb/setting/configs/settings.js +29 -2
- package/dist/cjs/breadcrumb/setting/configs/uiV2.js +230 -114
- package/dist/cjs/coupon/setting/config/settings.js +0 -11
- package/dist/cjs/marquee/setting/Marquee.js +1 -3
- package/dist/cjs/marquee/setting/configs/presets.js +10 -10
- package/dist/cjs/marquee/setting/configs/settingsV2.js +42 -40
- package/dist/cjs/marquee/setting/configs/uiV2.js +137 -34
- package/dist/cjs/product/components/ProductVariants/components/variants/index.js +4 -1
- package/dist/cjs/product/setting/product/configs/settings.js +1 -1
- package/dist/cjs/product/setting/product-variant/configs/settings.js +9 -7
- package/dist/cjs/product/setting/product-variant/configs/uiV2.js +0 -3
- package/dist/cjs/sticky/components/Sticky.js +0 -2
- package/dist/cjs/sticky/components/Sticky.liquid.js +1 -2
- package/dist/esm/breadcrumb/components/Breadcrumb.js +2 -1
- package/dist/esm/breadcrumb/components/Breadcrumb.liquid.js +2 -1
- package/dist/esm/breadcrumb/setting/configs/settings.js +29 -2
- package/dist/esm/breadcrumb/setting/configs/uiV2.js +230 -114
- package/dist/esm/coupon/setting/config/settings.js +0 -11
- package/dist/esm/marquee/setting/Marquee.js +1 -3
- package/dist/esm/marquee/setting/configs/presets.js +10 -10
- package/dist/esm/marquee/setting/configs/settingsV2.js +42 -40
- package/dist/esm/marquee/setting/configs/uiV2.js +137 -34
- package/dist/esm/product/components/ProductVariants/components/variants/index.js +4 -1
- package/dist/esm/product/setting/product/configs/settings.js +1 -1
- package/dist/esm/product/setting/product-variant/configs/settings.js +9 -7
- package/dist/esm/product/setting/product-variant/configs/uiV2.js +0 -3
- package/dist/esm/sticky/components/Sticky.js +2 -4
- package/dist/esm/sticky/components/Sticky.liquid.js +1 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/marquee/setting/configs/settings.js +0 -318
- package/dist/esm/marquee/setting/configs/settings.js +0 -316
|
@@ -6,6 +6,40 @@ const MarqueeSettingsV2 = [
|
|
|
6
6
|
{
|
|
7
7
|
id: 'setting',
|
|
8
8
|
controls: [
|
|
9
|
+
{
|
|
10
|
+
id: 'itemWidthType',
|
|
11
|
+
type: 'select',
|
|
12
|
+
label: 'Aspect Ratio',
|
|
13
|
+
isFullWidth: true,
|
|
14
|
+
options: [
|
|
15
|
+
{
|
|
16
|
+
label: 'Fit to content',
|
|
17
|
+
value: 'FIT_CONTENT',
|
|
18
|
+
note: 'Match the width of the element inside'
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: 'Based on the item count',
|
|
22
|
+
value: 'BASE_ON_NUMBER_OF_ITEMS',
|
|
23
|
+
note: 'Max item width is screen width divided by the number of items'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: 'Custom',
|
|
27
|
+
value: 'CUSTOM',
|
|
28
|
+
note: 'Set the max width as you want'
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
devices: {
|
|
32
|
+
desktop: {
|
|
33
|
+
default: 'FIT_CONTENT'
|
|
34
|
+
},
|
|
35
|
+
tablet: {
|
|
36
|
+
default: 'FIT_CONTENT'
|
|
37
|
+
},
|
|
38
|
+
mobile: {
|
|
39
|
+
default: 'CUSTOM'
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
9
43
|
{
|
|
10
44
|
id: 'activeItem',
|
|
11
45
|
type: 'input',
|
|
@@ -45,7 +79,7 @@ const MarqueeSettingsV2 = [
|
|
|
45
79
|
id: 'stopOnHover',
|
|
46
80
|
label: 'stopOnHover',
|
|
47
81
|
type: 'toggle',
|
|
48
|
-
default:
|
|
82
|
+
default: true
|
|
49
83
|
},
|
|
50
84
|
{
|
|
51
85
|
id: 'speed',
|
|
@@ -90,40 +124,6 @@ const MarqueeSettingsV2 = [
|
|
|
90
124
|
label: 'hasItemShadow',
|
|
91
125
|
type: 'toggle',
|
|
92
126
|
default: false
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
id: 'itemWidthType',
|
|
96
|
-
type: 'select',
|
|
97
|
-
label: 'Aspect Ratio',
|
|
98
|
-
isFullWidth: true,
|
|
99
|
-
options: [
|
|
100
|
-
{
|
|
101
|
-
label: 'Fit to content',
|
|
102
|
-
value: 'FIT_CONTENT',
|
|
103
|
-
note: 'Match the width of the element inside'
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
label: 'Based on the item count',
|
|
107
|
-
value: 'BASE_ON_NUMBER_OF_ITEMS',
|
|
108
|
-
note: 'Max item width is screen width divided by the number of items'
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
label: 'Custom',
|
|
112
|
-
value: 'CUSTOM',
|
|
113
|
-
note: 'Set the max width as you want'
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
devices: {
|
|
117
|
-
desktop: {
|
|
118
|
-
default: 'BASE_ON_NUMBER_OF_ITEMS'
|
|
119
|
-
},
|
|
120
|
-
tablet: {
|
|
121
|
-
default: 'BASE_ON_NUMBER_OF_ITEMS'
|
|
122
|
-
},
|
|
123
|
-
mobile: {
|
|
124
|
-
default: 'CUSTOM'
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
127
|
}
|
|
128
128
|
]
|
|
129
129
|
},
|
|
@@ -155,15 +155,17 @@ const MarqueeSettingsV2 = [
|
|
|
155
155
|
{
|
|
156
156
|
id: 'itemSpacing',
|
|
157
157
|
label: 'Spacing',
|
|
158
|
-
type: 'input:
|
|
158
|
+
type: 'input:slider',
|
|
159
159
|
units: [
|
|
160
160
|
'px'
|
|
161
161
|
],
|
|
162
|
-
placeholder: 'Auto',
|
|
163
162
|
min: 0,
|
|
163
|
+
max: 100,
|
|
164
|
+
step: 1,
|
|
165
|
+
placeholder: 'Auto',
|
|
164
166
|
devices: {
|
|
165
167
|
desktop: {
|
|
166
|
-
default: '
|
|
168
|
+
default: '60px'
|
|
167
169
|
}
|
|
168
170
|
}
|
|
169
171
|
},
|
|
@@ -221,9 +223,9 @@ const MarqueeSettingsV2 = [
|
|
|
221
223
|
}
|
|
222
224
|
},
|
|
223
225
|
hiddenSettings: [
|
|
224
|
-
'padding',
|
|
225
226
|
'gap',
|
|
226
|
-
'shape'
|
|
227
|
+
'shape',
|
|
228
|
+
'padding'
|
|
227
229
|
]
|
|
228
230
|
},
|
|
229
231
|
{
|
|
@@ -8,7 +8,7 @@ const SettingUIV2 = [
|
|
|
8
8
|
controls: [
|
|
9
9
|
{
|
|
10
10
|
label: {
|
|
11
|
-
en: '
|
|
11
|
+
en: 'Order'
|
|
12
12
|
},
|
|
13
13
|
setting: {
|
|
14
14
|
id: 'childItem'
|
|
@@ -18,7 +18,22 @@ const SettingUIV2 = [
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
label: {
|
|
21
|
-
en: 'Item'
|
|
21
|
+
en: 'Item spacing'
|
|
22
|
+
},
|
|
23
|
+
controls: [
|
|
24
|
+
{
|
|
25
|
+
label: {
|
|
26
|
+
en: 'Gap'
|
|
27
|
+
},
|
|
28
|
+
setting: {
|
|
29
|
+
id: 'itemSpacing'
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: {
|
|
36
|
+
en: 'Item style'
|
|
22
37
|
},
|
|
23
38
|
controls: [
|
|
24
39
|
{
|
|
@@ -27,8 +42,7 @@ const SettingUIV2 = [
|
|
|
27
42
|
},
|
|
28
43
|
label: {
|
|
29
44
|
en: 'Max width'
|
|
30
|
-
}
|
|
31
|
-
layout: 'vertical'
|
|
45
|
+
}
|
|
32
46
|
},
|
|
33
47
|
{
|
|
34
48
|
layout: 'vertical',
|
|
@@ -79,26 +93,11 @@ const SettingUIV2 = [
|
|
|
79
93
|
]
|
|
80
94
|
}
|
|
81
95
|
},
|
|
82
|
-
{
|
|
83
|
-
label: {
|
|
84
|
-
en: 'Item spacing'
|
|
85
|
-
},
|
|
86
|
-
controls: [
|
|
87
|
-
{
|
|
88
|
-
label: {
|
|
89
|
-
en: 'Gap'
|
|
90
|
-
},
|
|
91
|
-
setting: {
|
|
92
|
-
id: 'itemSpacing'
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
96
|
{
|
|
98
97
|
controls: [
|
|
99
98
|
{
|
|
100
99
|
label: {
|
|
101
|
-
en: '
|
|
100
|
+
en: 'Separator'
|
|
102
101
|
},
|
|
103
102
|
setting: {
|
|
104
103
|
id: 'isShowIconSeparator'
|
|
@@ -114,7 +113,7 @@ const SettingUIV2 = [
|
|
|
114
113
|
},
|
|
115
114
|
conditionDisplay: 'isShowIconSeparator == true',
|
|
116
115
|
label: {
|
|
117
|
-
en: '
|
|
116
|
+
en: 'Icon'
|
|
118
117
|
}
|
|
119
118
|
},
|
|
120
119
|
{
|
|
@@ -137,6 +136,43 @@ const SettingUIV2 = [
|
|
|
137
136
|
}
|
|
138
137
|
]
|
|
139
138
|
},
|
|
139
|
+
{
|
|
140
|
+
label: {
|
|
141
|
+
en: 'Marquee effect'
|
|
142
|
+
},
|
|
143
|
+
controls: [
|
|
144
|
+
{
|
|
145
|
+
label: {
|
|
146
|
+
en: 'Direction'
|
|
147
|
+
},
|
|
148
|
+
setting: {
|
|
149
|
+
id: 'direction'
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
label: {
|
|
154
|
+
en: 'Stop on hover'
|
|
155
|
+
},
|
|
156
|
+
setting: {
|
|
157
|
+
id: 'stopOnHover'
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
label: {
|
|
162
|
+
en: 'Speed'
|
|
163
|
+
},
|
|
164
|
+
setting: {
|
|
165
|
+
id: 'speed'
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
setting: {
|
|
170
|
+
id: 'isPreview'
|
|
171
|
+
},
|
|
172
|
+
layout: 'vertical'
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
140
176
|
{
|
|
141
177
|
label: {
|
|
142
178
|
en: 'Size'
|
|
@@ -200,6 +236,32 @@ const SettingUIV2 = [
|
|
|
200
236
|
}
|
|
201
237
|
]
|
|
202
238
|
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
label: {
|
|
242
|
+
en: 'Padding'
|
|
243
|
+
},
|
|
244
|
+
controlConfig: {
|
|
245
|
+
id: 'padding',
|
|
246
|
+
type: 'padding-v2',
|
|
247
|
+
linkWithSetting: {
|
|
248
|
+
name: 'spacing-setting',
|
|
249
|
+
field: 'padding'
|
|
250
|
+
},
|
|
251
|
+
compoDefaultValue: {
|
|
252
|
+
desktop: {
|
|
253
|
+
default: {
|
|
254
|
+
padding: {
|
|
255
|
+
type: 'custom',
|
|
256
|
+
top: '16px',
|
|
257
|
+
bottom: '16px',
|
|
258
|
+
left: '0px',
|
|
259
|
+
right: '0px'
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
203
265
|
}
|
|
204
266
|
]
|
|
205
267
|
},
|
|
@@ -220,38 +282,79 @@ const SettingUIV2 = [
|
|
|
220
282
|
},
|
|
221
283
|
{
|
|
222
284
|
label: {
|
|
223
|
-
en: '
|
|
285
|
+
en: 'Shape'
|
|
224
286
|
},
|
|
225
287
|
controls: [
|
|
226
288
|
{
|
|
227
289
|
label: {
|
|
228
|
-
en: '
|
|
290
|
+
en: 'Border'
|
|
229
291
|
},
|
|
230
292
|
setting: {
|
|
231
|
-
id: '
|
|
293
|
+
id: 'border',
|
|
294
|
+
state: 'normal'
|
|
232
295
|
}
|
|
233
296
|
},
|
|
234
297
|
{
|
|
235
298
|
label: {
|
|
236
|
-
en: '
|
|
299
|
+
en: 'Corner'
|
|
237
300
|
},
|
|
238
301
|
setting: {
|
|
239
|
-
id: '
|
|
302
|
+
id: 'rounded',
|
|
303
|
+
state: 'normal'
|
|
240
304
|
}
|
|
241
305
|
},
|
|
242
306
|
{
|
|
243
307
|
label: {
|
|
244
|
-
en: '
|
|
308
|
+
en: 'Shadow'
|
|
245
309
|
},
|
|
246
310
|
setting: {
|
|
247
|
-
id: '
|
|
248
|
-
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
setting: {
|
|
252
|
-
id: 'isPreview'
|
|
311
|
+
id: 'boxShadow',
|
|
312
|
+
state: 'normal'
|
|
253
313
|
},
|
|
254
|
-
|
|
314
|
+
options: {
|
|
315
|
+
updateFields: [
|
|
316
|
+
{
|
|
317
|
+
field: 'enable',
|
|
318
|
+
settingId: 'hasBoxShadow',
|
|
319
|
+
state: 'normal'
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
controlChangeTrigger: {
|
|
324
|
+
settings: [
|
|
325
|
+
{
|
|
326
|
+
condition: `boxShadow.normal.enable === true`,
|
|
327
|
+
source: [
|
|
328
|
+
'boxShadow',
|
|
329
|
+
'hasBoxShadow'
|
|
330
|
+
],
|
|
331
|
+
action: {
|
|
332
|
+
controlId: 'hasBoxShadow',
|
|
333
|
+
groupType: 'advanced',
|
|
334
|
+
controlType: 'advanced',
|
|
335
|
+
state: 'normal',
|
|
336
|
+
newValue: true
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
condition: `boxShadow.normal.enable === false`,
|
|
341
|
+
source: [
|
|
342
|
+
'boxShadow',
|
|
343
|
+
'hasBoxShadow'
|
|
344
|
+
],
|
|
345
|
+
action: {
|
|
346
|
+
controlId: 'hasBoxShadow',
|
|
347
|
+
groupType: 'advanced',
|
|
348
|
+
controlType: 'advanced',
|
|
349
|
+
state: 'normal',
|
|
350
|
+
newValue: false
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
options: {
|
|
355
|
+
noRecordHistory: true
|
|
356
|
+
}
|
|
357
|
+
}
|
|
255
358
|
}
|
|
256
359
|
]
|
|
257
360
|
},
|
|
@@ -75,7 +75,10 @@ const VariantItem = (props)=>{
|
|
|
75
75
|
window.dispatchEvent(changeSelectedOptionEvent);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
const labelClass = system.createClass(classes.getVariantItemLabelClass(
|
|
78
|
+
const labelClass = system.createClass(classes.getVariantItemLabelClass({
|
|
79
|
+
...props,
|
|
80
|
+
available
|
|
81
|
+
}));
|
|
79
82
|
const tooltipClass = system.createClass(classes.getTooltipClass());
|
|
80
83
|
const tooltipSvgClass = system.createClass(classes.getTooltipSvgClass());
|
|
81
84
|
const variantOptionClass = system.createClass(classes.getVariantOptionClass());
|
|
@@ -183,7 +183,7 @@ const ProductVariantSettings = [
|
|
|
183
183
|
{
|
|
184
184
|
id: 'layout',
|
|
185
185
|
label: 'Layout',
|
|
186
|
-
type: '
|
|
186
|
+
type: 'option:illustration',
|
|
187
187
|
iconViewBox: '0 0 66 45',
|
|
188
188
|
enableItemBackground: true,
|
|
189
189
|
devices: {
|
|
@@ -192,15 +192,17 @@ const ProductVariantSettings = [
|
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
options: [
|
|
195
|
-
{
|
|
196
|
-
label: 'Horizontal',
|
|
197
|
-
value: 'horizontal',
|
|
198
|
-
type: 'arrange'
|
|
199
|
-
},
|
|
200
195
|
{
|
|
201
196
|
label: 'Vertical',
|
|
202
197
|
value: 'vertical',
|
|
203
|
-
type: 'arrange'
|
|
198
|
+
type: 'arrange',
|
|
199
|
+
svgName: 'gp-arrange-vertical'
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
label: 'Horizontal',
|
|
203
|
+
value: 'horizontal',
|
|
204
|
+
type: 'arrange',
|
|
205
|
+
svgName: 'gp-arrange-horizontal'
|
|
204
206
|
}
|
|
205
207
|
]
|
|
206
208
|
},
|
|
@@ -14,7 +14,6 @@ var system = require('@gem-sdk/system');
|
|
|
14
14
|
var styles = require('./common/styles.js');
|
|
15
15
|
|
|
16
16
|
const Sticky = ({ children, builderAttrs, setting, style, builderProps })=>{
|
|
17
|
-
const mode = core.useEditorMode();
|
|
18
17
|
const { background, preloadBgImage } = setting ?? {};
|
|
19
18
|
const { w, positionStyle, displayStyle, getCSSAlign } = useSticky.default(setting);
|
|
20
19
|
const computedContainerStyles = system.createStyle({
|
|
@@ -22,7 +21,6 @@ const Sticky = ({ children, builderAttrs, setting, style, builderProps })=>{
|
|
|
22
21
|
...w,
|
|
23
22
|
...displayStyle,
|
|
24
23
|
...styles.getStylePadding(style),
|
|
25
|
-
...mode !== 'edit' && setting?.isScrollToTop ? styles.displayConditionStyle(setting?.display, setting?.position) : {},
|
|
26
24
|
...positionStyle,
|
|
27
25
|
...getCSSAlign,
|
|
28
26
|
zIndex: _const.ELEMENT_Z_INDEX.STICKY
|
|
@@ -19,8 +19,7 @@ const Sticky = ({ children, builderAttrs, setting, style, builderProps, advanced
|
|
|
19
19
|
const createDataState = system.createStateOrContext({
|
|
20
20
|
uid: builderProps?.uid,
|
|
21
21
|
setting: {
|
|
22
|
-
display
|
|
23
|
-
isScrollToTop
|
|
22
|
+
display
|
|
24
23
|
},
|
|
25
24
|
advanced: {
|
|
26
25
|
d: advancedDisplay
|
|
@@ -7,7 +7,7 @@ import { createAttr, createStyle, createClass } from '@gem-sdk/system';
|
|
|
7
7
|
import { getAttr, getNavAttr } from './common/attr.js';
|
|
8
8
|
import { getBreadcrumbStyles, getSpacingStyles } from './common/style.js';
|
|
9
9
|
import { getBreadcrumbClasses, getNavClasses } from './common/classes.js';
|
|
10
|
-
import { makeStyleResponsive } from '@gem-sdk/core';
|
|
10
|
+
import { makeGlobalSize, makeStyleResponsive } from '@gem-sdk/core';
|
|
11
11
|
|
|
12
12
|
const Breadcrumb = ({ className, setting = {}, style, styles = {}, builderAttrs, builderProps })=>{
|
|
13
13
|
const { background, align } = setting || {};
|
|
@@ -51,6 +51,7 @@ const Breadcrumb = ({ className, setting = {}, style, styles = {}, builderAttrs,
|
|
|
51
51
|
...getNavAttr()
|
|
52
52
|
});
|
|
53
53
|
const navStyles = createStyle({
|
|
54
|
+
...makeGlobalSize(setting?.globalSize).padding,
|
|
54
55
|
...getSpacingStyles(setting?.spacing),
|
|
55
56
|
...makeStyleResponsive('jc', align)
|
|
56
57
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { makeStyleResponsive, template } from '@gem-sdk/core';
|
|
1
|
+
import { makeGlobalSize, makeStyleResponsive, template } from '@gem-sdk/core';
|
|
2
2
|
import { createAttr, createClass, createStyle, Liquid, LiquidUnless } from '@gem-sdk/system';
|
|
3
3
|
import { BreadcrumbItem } from './BreadcrumbItem.liquid.js';
|
|
4
4
|
import { getAttr, getNavAttr } from './common/attr.js';
|
|
@@ -45,6 +45,7 @@ const Breadcrumb = ({ setting = {}, builderAttrs, style, styles = {}, className,
|
|
|
45
45
|
...getNavAttr()
|
|
46
46
|
});
|
|
47
47
|
const navStyles = createStyle({
|
|
48
|
+
...makeGlobalSize(setting?.globalSize).padding,
|
|
48
49
|
...getSpacingStyles(spacing),
|
|
49
50
|
...makeStyleResponsive('jc', align)
|
|
50
51
|
});
|
|
@@ -2,6 +2,31 @@ const BreadcrumbSettings = [
|
|
|
2
2
|
{
|
|
3
3
|
id: 'setting',
|
|
4
4
|
controls: [
|
|
5
|
+
{
|
|
6
|
+
id: 'globalSize',
|
|
7
|
+
type: 'size-setting',
|
|
8
|
+
devices: {
|
|
9
|
+
desktop: {
|
|
10
|
+
default: {
|
|
11
|
+
width: 'Auto',
|
|
12
|
+
height: 'Auto',
|
|
13
|
+
padding: {
|
|
14
|
+
type: 'custom',
|
|
15
|
+
top: '4px',
|
|
16
|
+
bottom: '4px',
|
|
17
|
+
left: '16px',
|
|
18
|
+
right: '16px'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
hiddenSettings: [
|
|
24
|
+
'shape',
|
|
25
|
+
'gap',
|
|
26
|
+
'width',
|
|
27
|
+
'height'
|
|
28
|
+
]
|
|
29
|
+
},
|
|
5
30
|
{
|
|
6
31
|
id: 'hideCurrentPage',
|
|
7
32
|
type: 'toggle',
|
|
@@ -35,10 +60,12 @@ const BreadcrumbSettings = [
|
|
|
35
60
|
{
|
|
36
61
|
id: 'spacing',
|
|
37
62
|
label: 'Spacing',
|
|
38
|
-
type: 'input:
|
|
63
|
+
type: 'input:slider',
|
|
39
64
|
units: [
|
|
40
65
|
'px'
|
|
41
66
|
],
|
|
67
|
+
step: 1,
|
|
68
|
+
max: 40,
|
|
42
69
|
devices: {
|
|
43
70
|
desktop: {
|
|
44
71
|
default: '4px'
|
|
@@ -178,7 +205,7 @@ const BreadcrumbSettings = [
|
|
|
178
205
|
id: 'color',
|
|
179
206
|
type: 'color-picker-v2',
|
|
180
207
|
label: 'Color',
|
|
181
|
-
default: '
|
|
208
|
+
default: 'text-1'
|
|
182
209
|
}
|
|
183
210
|
]
|
|
184
211
|
},
|