@gem-sdk/components 2.0.0-staging.714 → 2.0.0-staging.716
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/product/components/ProductList/common/getStyle.js +3 -1
- package/dist/cjs/product/setting/product-list/configs/settingsV2.js +4 -2
- package/dist/cjs/product/setting/product-title/configs/settings.js +3 -0
- package/dist/esm/product/components/ProductList/common/getStyle.js +3 -1
- package/dist/esm/product/setting/product-list/configs/settingsV2.js +4 -2
- package/dist/esm/product/setting/product-title/configs/settings.js +3 -0
- package/package.json +1 -1
|
@@ -17,7 +17,9 @@ const getStyle = (props)=>{
|
|
|
17
17
|
})
|
|
18
18
|
});
|
|
19
19
|
const productListWrapStyle = system.createStyle({
|
|
20
|
-
...core.makeStyleResponsive('jc', styles?.align
|
|
20
|
+
...core.makeStyleResponsive('jc', styles?.align || {
|
|
21
|
+
desktop: 'center'
|
|
22
|
+
})
|
|
21
23
|
});
|
|
22
24
|
const productListContentStyle = system.createStyle({
|
|
23
25
|
...core.makeStyleResponsive('w', helpers.createStyleObject(styles?.width).content)
|
|
@@ -147,7 +147,8 @@ const ProductListSettingsV2 = [
|
|
|
147
147
|
label: 'Row gap',
|
|
148
148
|
type: 'input:unit',
|
|
149
149
|
units: [
|
|
150
|
-
'px'
|
|
150
|
+
'px',
|
|
151
|
+
'%'
|
|
151
152
|
],
|
|
152
153
|
devices: {
|
|
153
154
|
desktop: {
|
|
@@ -163,7 +164,8 @@ const ProductListSettingsV2 = [
|
|
|
163
164
|
label: 'Column gap',
|
|
164
165
|
type: 'input:unit',
|
|
165
166
|
units: [
|
|
166
|
-
'px'
|
|
167
|
+
'px',
|
|
168
|
+
'%'
|
|
167
169
|
],
|
|
168
170
|
devices: {
|
|
169
171
|
desktop: {
|
|
@@ -15,7 +15,9 @@ const getStyle = (props)=>{
|
|
|
15
15
|
})
|
|
16
16
|
});
|
|
17
17
|
const productListWrapStyle = createStyle({
|
|
18
|
-
...makeStyleResponsive('jc', styles?.align
|
|
18
|
+
...makeStyleResponsive('jc', styles?.align || {
|
|
19
|
+
desktop: 'center'
|
|
20
|
+
})
|
|
19
21
|
});
|
|
20
22
|
const productListContentStyle = createStyle({
|
|
21
23
|
...makeStyleResponsive('w', createStyleObject(styles?.width).content)
|
|
@@ -145,7 +145,8 @@ const ProductListSettingsV2 = [
|
|
|
145
145
|
label: 'Row gap',
|
|
146
146
|
type: 'input:unit',
|
|
147
147
|
units: [
|
|
148
|
-
'px'
|
|
148
|
+
'px',
|
|
149
|
+
'%'
|
|
149
150
|
],
|
|
150
151
|
devices: {
|
|
151
152
|
desktop: {
|
|
@@ -161,7 +162,8 @@ const ProductListSettingsV2 = [
|
|
|
161
162
|
label: 'Column gap',
|
|
162
163
|
type: 'input:unit',
|
|
163
164
|
units: [
|
|
164
|
-
'px'
|
|
165
|
+
'px',
|
|
166
|
+
'%'
|
|
165
167
|
],
|
|
166
168
|
devices: {
|
|
167
169
|
desktop: {
|