@gem-sdk/components 2.0.0-dev.545 → 2.0.0-dev.546

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.
@@ -87,6 +87,10 @@ const BreadcrumbSettings = [
87
87
  hover: 'highlight',
88
88
  active: 'text-1'
89
89
  },
90
+ compoDefaultValue: {
91
+ hover: 'highlight',
92
+ active: 'text-1'
93
+ },
90
94
  state: {
91
95
  normal: true,
92
96
  hover: true,
@@ -52,9 +52,7 @@ const MarqueePresets = [
52
52
  },
53
53
  styles: {
54
54
  itemSpacing: {
55
- desktop: '56px',
56
- tablet: '56px',
57
- mobile: '56px'
55
+ desktop: '60px'
58
56
  },
59
57
  itemMaxWidth: {
60
58
  desktop: '300px',
@@ -134,9 +132,7 @@ const MarqueePresets = [
134
132
  },
135
133
  styles: {
136
134
  itemSpacing: {
137
- desktop: '48px',
138
- tablet: '48px',
139
- mobile: '20px'
135
+ mobile: '60px'
140
136
  },
141
137
  itemMaxWidth: {
142
138
  desktop: '300px',
@@ -151,7 +147,10 @@ const MarqueePresets = [
151
147
  'Item 3',
152
148
  'Item 4',
153
149
  'Item 5'
154
- ]
150
+ ],
151
+ itemWidthType: {
152
+ desktop: 'BASE_ON_NUMBER_OF_ITEMS'
153
+ }
155
154
  },
156
155
  childrens: [
157
156
  childImageTemplate.renderChildImageTemplate('https://cdn.shopify.com/s/files/1/0703/5214/2562/files/gempages_518090459516502570-fd204759-bd9d-4564-9e30-3ff2facb72de.png'),
@@ -9,8 +9,6 @@ const MarqueeSettingsV2 = [
9
9
  {
10
10
  id: 'itemWidthType',
11
11
  type: 'select',
12
- label: 'Aspect Ratio',
13
- isFullWidth: true,
14
12
  options: [
15
13
  {
16
14
  label: 'Fit to content',
@@ -45,14 +45,13 @@ const SettingUIV2 = [
45
45
  }
46
46
  },
47
47
  {
48
- layout: 'vertical',
48
+ label: {
49
+ en: 'Custom width'
50
+ },
49
51
  setting: {
50
52
  id: 'itemMaxWidth'
51
53
  },
52
- conditionDisplay: 'itemWidthType == "CUSTOM"',
53
- info: {
54
- en: '<span style="font-size: 12px; font-style: normal; margin-top: 4px; line-height: 20px;">Max item width must be at least 40px</span>'
55
- }
54
+ conditionDisplay: 'itemWidthType == "CUSTOM"'
56
55
  }
57
56
  ],
58
57
  moreSettings: {
@@ -85,6 +85,10 @@ const BreadcrumbSettings = [
85
85
  hover: 'highlight',
86
86
  active: 'text-1'
87
87
  },
88
+ compoDefaultValue: {
89
+ hover: 'highlight',
90
+ active: 'text-1'
91
+ },
88
92
  state: {
89
93
  normal: true,
90
94
  hover: true,
@@ -50,9 +50,7 @@ const MarqueePresets = [
50
50
  },
51
51
  styles: {
52
52
  itemSpacing: {
53
- desktop: '56px',
54
- tablet: '56px',
55
- mobile: '56px'
53
+ desktop: '60px'
56
54
  },
57
55
  itemMaxWidth: {
58
56
  desktop: '300px',
@@ -132,9 +130,7 @@ const MarqueePresets = [
132
130
  },
133
131
  styles: {
134
132
  itemSpacing: {
135
- desktop: '48px',
136
- tablet: '48px',
137
- mobile: '20px'
133
+ mobile: '60px'
138
134
  },
139
135
  itemMaxWidth: {
140
136
  desktop: '300px',
@@ -149,7 +145,10 @@ const MarqueePresets = [
149
145
  'Item 3',
150
146
  'Item 4',
151
147
  'Item 5'
152
- ]
148
+ ],
149
+ itemWidthType: {
150
+ desktop: 'BASE_ON_NUMBER_OF_ITEMS'
151
+ }
153
152
  },
154
153
  childrens: [
155
154
  renderChildImageTemplate('https://cdn.shopify.com/s/files/1/0703/5214/2562/files/gempages_518090459516502570-fd204759-bd9d-4564-9e30-3ff2facb72de.png'),
@@ -7,8 +7,6 @@ const MarqueeSettingsV2 = [
7
7
  {
8
8
  id: 'itemWidthType',
9
9
  type: 'select',
10
- label: 'Aspect Ratio',
11
- isFullWidth: true,
12
10
  options: [
13
11
  {
14
12
  label: 'Fit to content',
@@ -43,14 +43,13 @@ const SettingUIV2 = [
43
43
  }
44
44
  },
45
45
  {
46
- layout: 'vertical',
46
+ label: {
47
+ en: 'Custom width'
48
+ },
47
49
  setting: {
48
50
  id: 'itemMaxWidth'
49
51
  },
50
- conditionDisplay: 'itemWidthType == "CUSTOM"',
51
- info: {
52
- en: '<span style="font-size: 12px; font-style: normal; margin-top: 4px; line-height: 20px;">Max item width must be at least 40px</span>'
53
- }
52
+ conditionDisplay: 'itemWidthType == "CUSTOM"'
54
53
  }
55
54
  ],
56
55
  moreSettings: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.545",
3
+ "version": "2.0.0-dev.546",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",