@gem-sdk/components 2.0.0-dev.507 → 2.0.0-dev.511

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.
@@ -131,13 +131,13 @@ const LineSettings = [
131
131
  type: 'input:stepper',
132
132
  devices: {
133
133
  desktop: {
134
- default: 1
134
+ default: 2
135
135
  },
136
136
  tablet: {
137
- default: 1
137
+ default: 2
138
138
  },
139
139
  mobile: {
140
- default: 1
140
+ default: 2
141
141
  }
142
142
  }
143
143
  },
@@ -37,7 +37,14 @@ const SettingUIV2 = [
37
37
  setting: {
38
38
  id: 'thickness'
39
39
  }
40
- },
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ label: {
45
+ en: 'Size'
46
+ },
47
+ controls: [
41
48
  {
42
49
  label: {
43
50
  en: 'Width'
@@ -69,12 +69,12 @@ const SettingUIV2 = [
69
69
  label: {
70
70
  en: 'Align'
71
71
  },
72
- conditionEnable: `!(parseInt(width) >= 100 && width?.includes("%")) && layout.display === 'fit'`,
73
72
  options: {
74
73
  labelVariant: 'primary',
75
74
  fullWidth: true,
76
75
  disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
77
76
  },
77
+ conditionEnable: `!(parseInt(width) >= 100 && width?.includes("%")) && layout.display === 'fit'`,
78
78
  setting: {
79
79
  id: 'horizontalAlign'
80
80
  },
@@ -129,13 +129,13 @@ const LineSettings = [
129
129
  type: 'input:stepper',
130
130
  devices: {
131
131
  desktop: {
132
- default: 1
132
+ default: 2
133
133
  },
134
134
  tablet: {
135
- default: 1
135
+ default: 2
136
136
  },
137
137
  mobile: {
138
- default: 1
138
+ default: 2
139
139
  }
140
140
  }
141
141
  },
@@ -35,7 +35,14 @@ const SettingUIV2 = [
35
35
  setting: {
36
36
  id: 'thickness'
37
37
  }
38
- },
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ label: {
43
+ en: 'Size'
44
+ },
45
+ controls: [
39
46
  {
40
47
  label: {
41
48
  en: 'Width'
@@ -67,12 +67,12 @@ const SettingUIV2 = [
67
67
  label: {
68
68
  en: 'Align'
69
69
  },
70
- conditionEnable: `!(parseInt(width) >= 100 && width?.includes("%")) && layout.display === 'fit'`,
71
70
  options: {
72
71
  labelVariant: 'primary',
73
72
  fullWidth: true,
74
73
  disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
75
74
  },
75
+ conditionEnable: `!(parseInt(width) >= 100 && width?.includes("%")) && layout.display === 'fit'`,
76
76
  setting: {
77
77
  id: 'horizontalAlign'
78
78
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.507",
3
+ "version": "2.0.0-dev.511",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -23,7 +23,7 @@
23
23
  "update-img-src-3rd": "node ./scripts/update-img-src-3rd.js"
24
24
  },
25
25
  "devDependencies": {
26
- "@gem-sdk/core": "2.0.0-dev.504",
26
+ "@gem-sdk/core": "2.0.0-dev.508",
27
27
  "@gem-sdk/styles": "2.0.0-dev.501",
28
28
  "@gem-sdk/system": "2.0.0-dev.504",
29
29
  "@types/react-transition-group": "^4.4.5"