@gem-sdk/components 2.0.0-dev.664 → 2.0.0-dev.665

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.
@@ -45,7 +45,7 @@ const ProductDescriptionSettings = [
45
45
  disableDecimal: true,
46
46
  devices: {
47
47
  desktop: {
48
- default: 12
48
+ default: 3
49
49
  }
50
50
  }
51
51
  },
@@ -65,18 +65,42 @@ const SettingUIV2 = [
65
65
  label: {
66
66
  en: 'Show more label'
67
67
  },
68
- setting: {
69
- id: 'viewMoreText'
70
- },
68
+ type: 'combo',
69
+ iconName: 'polaris-text-block',
70
+ getValueFromSettingID: 'viewMoreText',
71
+ isHideClear: true,
72
+ controls: [
73
+ {
74
+ label: {
75
+ en: 'Content'
76
+ },
77
+ setting: {
78
+ id: 'viewMoreText'
79
+ },
80
+ layout: 'vertical'
81
+ }
82
+ ],
71
83
  conditionDisplay: 'hasLineClamp == true'
72
84
  },
73
85
  {
74
86
  label: {
75
87
  en: 'Show less label'
76
88
  },
77
- setting: {
78
- id: 'viewLessText'
79
- },
89
+ type: 'combo',
90
+ iconName: 'polaris-text-block',
91
+ getValueFromSettingID: 'viewLessText',
92
+ isHideClear: true,
93
+ controls: [
94
+ {
95
+ label: {
96
+ en: 'Content'
97
+ },
98
+ setting: {
99
+ id: 'viewLessText'
100
+ },
101
+ layout: 'vertical'
102
+ }
103
+ ],
80
104
  conditionDisplay: 'hasLineClamp == true'
81
105
  },
82
106
  {
@@ -43,7 +43,7 @@ const ProductDescriptionSettings = [
43
43
  disableDecimal: true,
44
44
  devices: {
45
45
  desktop: {
46
- default: 12
46
+ default: 3
47
47
  }
48
48
  }
49
49
  },
@@ -63,18 +63,42 @@ const SettingUIV2 = [
63
63
  label: {
64
64
  en: 'Show more label'
65
65
  },
66
- setting: {
67
- id: 'viewMoreText'
68
- },
66
+ type: 'combo',
67
+ iconName: 'polaris-text-block',
68
+ getValueFromSettingID: 'viewMoreText',
69
+ isHideClear: true,
70
+ controls: [
71
+ {
72
+ label: {
73
+ en: 'Content'
74
+ },
75
+ setting: {
76
+ id: 'viewMoreText'
77
+ },
78
+ layout: 'vertical'
79
+ }
80
+ ],
69
81
  conditionDisplay: 'hasLineClamp == true'
70
82
  },
71
83
  {
72
84
  label: {
73
85
  en: 'Show less label'
74
86
  },
75
- setting: {
76
- id: 'viewLessText'
77
- },
87
+ type: 'combo',
88
+ iconName: 'polaris-text-block',
89
+ getValueFromSettingID: 'viewLessText',
90
+ isHideClear: true,
91
+ controls: [
92
+ {
93
+ label: {
94
+ en: 'Content'
95
+ },
96
+ setting: {
97
+ id: 'viewLessText'
98
+ },
99
+ layout: 'vertical'
100
+ }
101
+ ],
78
102
  conditionDisplay: 'hasLineClamp == true'
79
103
  },
80
104
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.664",
3
+ "version": "2.0.0-dev.665",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",