@gem-sdk/core 2.0.0-dev.453 → 2.0.0-dev.460
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.
|
@@ -68,12 +68,8 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
68
68
|
case 'small':
|
|
69
69
|
Object.assign(style, getRadiusCSSFromGlobal('normal', radiusValue?.normal?.radiusType, device));
|
|
70
70
|
break;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
case 'custom':
|
|
74
|
-
case 'square':
|
|
75
|
-
case 'rounded':
|
|
76
|
-
Object.assign(style, getCustomRadius('normal', radiusValue.normal, device));
|
|
71
|
+
default:
|
|
72
|
+
Object.assign(style, getCustomRadius('normal', radiusValue?.normal, device));
|
|
77
73
|
break;
|
|
78
74
|
}
|
|
79
75
|
switch(radiusValue?.hover?.radiusType){
|
|
@@ -82,12 +78,8 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
82
78
|
case 'small':
|
|
83
79
|
Object.assign(style, getRadiusCSSFromGlobal('hover', radiusValue?.hover?.radiusType, device));
|
|
84
80
|
break;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
case 'custom':
|
|
88
|
-
case 'square':
|
|
89
|
-
case 'rounded':
|
|
90
|
-
Object.assign(style, getCustomRadius('hover', radiusValue.hover, device));
|
|
81
|
+
default:
|
|
82
|
+
Object.assign(style, getCustomRadius('hover', radiusValue?.hover, device));
|
|
91
83
|
break;
|
|
92
84
|
}
|
|
93
85
|
switch(radiusValue?.focus?.radiusType){
|
|
@@ -96,12 +88,8 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
96
88
|
case 'small':
|
|
97
89
|
Object.assign(style, getRadiusCSSFromGlobal('focus', radiusValue?.focus?.radiusType, device));
|
|
98
90
|
break;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
case 'custom':
|
|
102
|
-
case 'square':
|
|
103
|
-
case 'rounded':
|
|
104
|
-
Object.assign(style, getCustomRadius('focus', radiusValue.focus, device));
|
|
91
|
+
default:
|
|
92
|
+
Object.assign(style, getCustomRadius('focus', radiusValue?.focus, device));
|
|
105
93
|
break;
|
|
106
94
|
}
|
|
107
95
|
return style;
|
|
@@ -66,12 +66,8 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
66
66
|
case 'small':
|
|
67
67
|
Object.assign(style, getRadiusCSSFromGlobal('normal', radiusValue?.normal?.radiusType, device));
|
|
68
68
|
break;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
case 'custom':
|
|
72
|
-
case 'square':
|
|
73
|
-
case 'rounded':
|
|
74
|
-
Object.assign(style, getCustomRadius('normal', radiusValue.normal, device));
|
|
69
|
+
default:
|
|
70
|
+
Object.assign(style, getCustomRadius('normal', radiusValue?.normal, device));
|
|
75
71
|
break;
|
|
76
72
|
}
|
|
77
73
|
switch(radiusValue?.hover?.radiusType){
|
|
@@ -80,12 +76,8 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
80
76
|
case 'small':
|
|
81
77
|
Object.assign(style, getRadiusCSSFromGlobal('hover', radiusValue?.hover?.radiusType, device));
|
|
82
78
|
break;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
case 'custom':
|
|
86
|
-
case 'square':
|
|
87
|
-
case 'rounded':
|
|
88
|
-
Object.assign(style, getCustomRadius('hover', radiusValue.hover, device));
|
|
79
|
+
default:
|
|
80
|
+
Object.assign(style, getCustomRadius('hover', radiusValue?.hover, device));
|
|
89
81
|
break;
|
|
90
82
|
}
|
|
91
83
|
switch(radiusValue?.focus?.radiusType){
|
|
@@ -94,12 +86,8 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
94
86
|
case 'small':
|
|
95
87
|
Object.assign(style, getRadiusCSSFromGlobal('focus', radiusValue?.focus?.radiusType, device));
|
|
96
88
|
break;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
case 'custom':
|
|
100
|
-
case 'square':
|
|
101
|
-
case 'rounded':
|
|
102
|
-
Object.assign(style, getCustomRadius('focus', radiusValue.focus, device));
|
|
89
|
+
default:
|
|
90
|
+
Object.assign(style, getCustomRadius('focus', radiusValue?.focus, device));
|
|
103
91
|
break;
|
|
104
92
|
}
|
|
105
93
|
return style;
|