@gem-sdk/components 2.0.0-dev.681 → 2.0.0-dev.683

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.
@@ -168,6 +168,21 @@ const SettingUIV2 = [
168
168
  en: 'Size'
169
169
  },
170
170
  controls: [
171
+ {
172
+ label: {
173
+ en: 'Video Ratio'
174
+ },
175
+ setting: {
176
+ id: 'aspectRatio'
177
+ },
178
+ conditionDisplay: 'background.type == "video"'
179
+ },
180
+ {
181
+ conditionDisplay: "aspectRatio === 'custom'",
182
+ setting: {
183
+ id: 'ratioOptions'
184
+ }
185
+ },
171
186
  {
172
187
  setting: {
173
188
  id: 'sizeSetting'
@@ -260,7 +260,10 @@ const HeaderSettings = [
260
260
  id: 'arrow',
261
261
  label: 'Arrow Icon',
262
262
  type: 'icon',
263
- default: `<svg data-name="chevron down" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.57576 6.77583C4.81007 6.54152 5.18997 6.54152 5.42429 6.77583L8.20002 9.55157L10.9758 6.77583C11.2101 6.54152 11.59 6.54152 11.8243 6.77583C12.0586 7.01015 12.0586 7.39005 11.8243 7.62436L8.62429 10.8244C8.38997 11.0587 8.01007 11.0587 7.77576 10.8244L4.57576 7.62436C4.34145 7.39005 4.34145 7.01015 4.57576 6.77583Z" fill="#F9F9F9"/></svg>`
263
+ default: `<svg data-name="chevron down" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
264
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4.57576 6.77583C4.81007 6.54152 5.18997 6.54152 5.42429 6.77583L8.20002 9.55157L10.9758 6.77583C11.2101 6.54152 11.59 6.54152 11.8243 6.77583C12.0586 7.01015 12.0586 7.39005 11.8243 7.62436L8.62429 10.8244C8.38997 11.0587 8.01007 11.0587 7.77576 10.8244L4.57576 7.62436C4.34145 7.39005 4.34145 7.01015 4.57576 6.77583Z" fill="currentColor"/>
265
+ </svg>
266
+ `
264
267
  },
265
268
  // {
266
269
  // id: 'buyNow',
@@ -166,6 +166,21 @@ const SettingUIV2 = [
166
166
  en: 'Size'
167
167
  },
168
168
  controls: [
169
+ {
170
+ label: {
171
+ en: 'Video Ratio'
172
+ },
173
+ setting: {
174
+ id: 'aspectRatio'
175
+ },
176
+ conditionDisplay: 'background.type == "video"'
177
+ },
178
+ {
179
+ conditionDisplay: "aspectRatio === 'custom'",
180
+ setting: {
181
+ id: 'ratioOptions'
182
+ }
183
+ },
169
184
  {
170
185
  setting: {
171
186
  id: 'sizeSetting'
@@ -258,7 +258,10 @@ const HeaderSettings = [
258
258
  id: 'arrow',
259
259
  label: 'Arrow Icon',
260
260
  type: 'icon',
261
- default: `<svg data-name="chevron down" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.57576 6.77583C4.81007 6.54152 5.18997 6.54152 5.42429 6.77583L8.20002 9.55157L10.9758 6.77583C11.2101 6.54152 11.59 6.54152 11.8243 6.77583C12.0586 7.01015 12.0586 7.39005 11.8243 7.62436L8.62429 10.8244C8.38997 11.0587 8.01007 11.0587 7.77576 10.8244L4.57576 7.62436C4.34145 7.39005 4.34145 7.01015 4.57576 6.77583Z" fill="#F9F9F9"/></svg>`
261
+ default: `<svg data-name="chevron down" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
262
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4.57576 6.77583C4.81007 6.54152 5.18997 6.54152 5.42429 6.77583L8.20002 9.55157L10.9758 6.77583C11.2101 6.54152 11.59 6.54152 11.8243 6.77583C12.0586 7.01015 12.0586 7.39005 11.8243 7.62436L8.62429 10.8244C8.38997 11.0587 8.01007 11.0587 7.77576 10.8244L4.57576 7.62436C4.34145 7.39005 4.34145 7.01015 4.57576 6.77583Z" fill="currentColor"/>
263
+ </svg>
264
+ `
262
265
  },
263
266
  // {
264
267
  // id: 'buyNow',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.681",
3
+ "version": "2.0.0-dev.683",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",