@gem-sdk/components 2.0.0-dev.581 → 2.0.0-dev.583

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.
Files changed (47) hide show
  1. package/dist/cjs/button/components/Button.js +4 -0
  2. package/dist/cjs/button/components/Button.liquid.js +1 -1
  3. package/dist/cjs/button/components/ButtonLabel.js +2 -1
  4. package/dist/cjs/button/components/common/styles.js +2 -2
  5. package/dist/cjs/carousel/setting/configs/settingV2.js +2 -3
  6. package/dist/cjs/carousel/setting/configs/uiV1.js +1 -1
  7. package/dist/cjs/carousel/setting/configs/uiV2.js +1 -1
  8. package/dist/cjs/product/components/ProductButton/common/helpers.js +0 -4
  9. package/dist/cjs/product/components/ProductButton/components/PriceLayout.js +2 -2
  10. package/dist/cjs/product/components/ProductButton/components/PriceLayout.liquid.js +5 -5
  11. package/dist/cjs/product/components/ProductButton/components/ProductButtonPrice.js +1 -3
  12. package/dist/cjs/product/components/ProductButton/components/ProductButtonPrice.liquid.js +1 -3
  13. package/dist/cjs/product/components/ProductButton/components/Separator.js +1 -0
  14. package/dist/cjs/product/components/ProductButton/components/Separator.liquid.js +1 -0
  15. package/dist/cjs/product/components/ProductList/ProductListCarouselItem.liquid.js +28 -0
  16. package/dist/cjs/product/components/ProductList/ProductListCarouselLayout.liquid.js +4 -2
  17. package/dist/cjs/product/components/ProductList/ProductListGridLayout.liquid.js +2 -2
  18. package/dist/cjs/product/setting/product-button/configs/settings.js +17 -20
  19. package/dist/cjs/product/setting/product-button/configs/uiV2.js +63 -142
  20. package/dist/cjs/product/setting/product-list/configs/presets.js +10 -4
  21. package/dist/cjs/product/setting/product-view-more/configs/uiV2.js +71 -66
  22. package/dist/cjs/sticky/setting/preset-config.js +8 -2
  23. package/dist/esm/button/components/Button.js +5 -1
  24. package/dist/esm/button/components/Button.liquid.js +1 -1
  25. package/dist/esm/button/components/ButtonLabel.js +2 -1
  26. package/dist/esm/button/components/common/styles.js +2 -3
  27. package/dist/esm/carousel/setting/configs/settingV2.js +2 -3
  28. package/dist/esm/carousel/setting/configs/uiV1.js +1 -1
  29. package/dist/esm/carousel/setting/configs/uiV2.js +1 -1
  30. package/dist/esm/product/components/ProductButton/common/helpers.js +1 -4
  31. package/dist/esm/product/components/ProductButton/components/PriceLayout.js +2 -2
  32. package/dist/esm/product/components/ProductButton/components/PriceLayout.liquid.js +5 -5
  33. package/dist/esm/product/components/ProductButton/components/ProductButtonPrice.js +2 -4
  34. package/dist/esm/product/components/ProductButton/components/ProductButtonPrice.liquid.js +2 -4
  35. package/dist/esm/product/components/ProductButton/components/Separator.js +1 -0
  36. package/dist/esm/product/components/ProductButton/components/Separator.liquid.js +1 -0
  37. package/dist/esm/product/components/ProductList/ProductListCarouselItem.liquid.js +24 -0
  38. package/dist/esm/product/components/ProductList/ProductListCarouselLayout.liquid.js +3 -1
  39. package/dist/esm/product/components/ProductList/ProductListGridLayout.liquid.js +1 -1
  40. package/dist/esm/product/setting/product-button/configs/settings.js +17 -20
  41. package/dist/esm/product/setting/product-button/configs/uiV2.js +63 -142
  42. package/dist/esm/product/setting/product-list/configs/presets.js +10 -4
  43. package/dist/esm/product/setting/product-view-more/configs/uiV2.js +71 -66
  44. package/dist/esm/sticky/setting/preset-config.js +8 -2
  45. package/package.json +1 -1
  46. /package/dist/cjs/product/components/ProductList/{ProductListItem.liquid.js → ProductListGridItem.liquid.js} +0 -0
  47. /package/dist/esm/product/components/ProductList/{ProductListItem.liquid.js → ProductListGridItem.liquid.js} +0 -0
@@ -356,79 +356,84 @@ const SettingUIV2 = [
356
356
  id: 'textColorHover',
357
357
  state: 'hover'
358
358
  }
359
- },
360
- {
361
- label: {
362
- en: 'Border'
363
- },
364
- setting: {
365
- id: 'borderBtnV2',
366
- state: 'hover'
367
- }
368
- },
369
- {
370
- label: {
371
- en: 'Corner'
372
- },
373
- setting: {
374
- id: 'roundedBtnV2',
375
- state: 'hover'
376
- }
377
- },
378
- {
379
- label: {
380
- en: 'Shadow'
381
- },
382
- setting: {
383
- id: 'boxShadowBtnV2',
384
- state: 'hover'
359
+ }
360
+ ],
361
+ moreSettings: {
362
+ type: 'collapse',
363
+ controls: [
364
+ {
365
+ label: {
366
+ en: 'Border'
367
+ },
368
+ setting: {
369
+ id: 'borderBtnV2',
370
+ state: 'hover'
371
+ }
385
372
  },
386
- options: {
387
- updateFields: [
388
- {
389
- field: 'enable',
390
- settingId: 'hasBoxShadowBtn',
391
- state: 'hover'
392
- }
393
- ]
373
+ {
374
+ label: {
375
+ en: 'Corner'
376
+ },
377
+ setting: {
378
+ id: 'roundedBtnV2',
379
+ state: 'hover'
380
+ }
394
381
  },
395
- controlChangeTrigger: {
396
- settings: [
397
- {
398
- condition: `boxShadowBtnV2.hover.enable === true`,
399
- source: [
400
- 'boxShadowBtnV2',
401
- 'hasBoxShadowBtn'
402
- ],
403
- action: {
404
- controlId: 'hasBoxShadowBtn',
405
- groupType: 'advanced',
406
- controlType: 'advanced',
407
- state: 'hover',
408
- newValue: true
382
+ {
383
+ label: {
384
+ en: 'Shadow'
385
+ },
386
+ setting: {
387
+ id: 'boxShadowBtnV2',
388
+ state: 'hover'
389
+ },
390
+ options: {
391
+ updateFields: [
392
+ {
393
+ field: 'enable',
394
+ settingId: 'hasBoxShadowBtn',
395
+ state: 'hover'
409
396
  }
410
- },
411
- {
412
- condition: `boxShadowBtnV2.normal.enable === false`,
413
- source: [
414
- 'boxShadowBtnV2',
415
- 'hasBoxShadowBtn'
416
- ],
417
- action: {
418
- controlId: 'hasBoxShadowBtn',
419
- groupType: 'advanced',
420
- controlType: 'advanced',
421
- state: 'normal',
422
- newValue: false
397
+ ]
398
+ },
399
+ controlChangeTrigger: {
400
+ settings: [
401
+ {
402
+ condition: `boxShadowBtnV2.hover.enable === true`,
403
+ source: [
404
+ 'boxShadowBtnV2',
405
+ 'hasBoxShadowBtn'
406
+ ],
407
+ action: {
408
+ controlId: 'hasBoxShadowBtn',
409
+ groupType: 'advanced',
410
+ controlType: 'advanced',
411
+ state: 'hover',
412
+ newValue: true
413
+ }
414
+ },
415
+ {
416
+ condition: `boxShadowBtnV2.normal.enable === false`,
417
+ source: [
418
+ 'boxShadowBtnV2',
419
+ 'hasBoxShadowBtn'
420
+ ],
421
+ action: {
422
+ controlId: 'hasBoxShadowBtn',
423
+ groupType: 'advanced',
424
+ controlType: 'advanced',
425
+ state: 'normal',
426
+ newValue: false
427
+ }
423
428
  }
429
+ ],
430
+ options: {
431
+ noRecordHistory: true
424
432
  }
425
- ],
426
- options: {
427
- noRecordHistory: true
428
433
  }
429
434
  }
430
- }
431
- ]
435
+ ]
436
+ }
432
437
  },
433
438
  {
434
439
  label: {
@@ -884,7 +884,10 @@ const StickyPreset = {
884
884
  desktop: {
885
885
  width: '100%'
886
886
  }
887
- }
887
+ },
888
+ enableIcon: false,
889
+ enablePrice: false,
890
+ enableSeparator: false
888
891
  },
889
892
  advanced: {
890
893
  'spacing-setting': {
@@ -2013,7 +2016,10 @@ const StickyPresetProduct = {
2013
2016
  desktop: {
2014
2017
  width: '100%'
2015
2018
  }
2016
- }
2019
+ },
2020
+ enableIcon: false,
2021
+ enablePrice: false,
2022
+ enableSeparator: false
2017
2023
  },
2018
2024
  advanced: {
2019
2025
  'spacing-setting': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.581",
3
+ "version": "2.0.0-dev.583",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",