@gem-sdk/core 1.58.0-dev.80 → 1.58.0-dev.87
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.
|
@@ -129,9 +129,15 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
129
129
|
'Product',
|
|
130
130
|
'ProductSku'
|
|
131
131
|
];
|
|
132
|
+
const boostElements = [
|
|
133
|
+
'Icon',
|
|
134
|
+
'IconListHoz',
|
|
135
|
+
'Line'
|
|
136
|
+
];
|
|
132
137
|
const listElementShadowV2 = [
|
|
133
138
|
...baseElements,
|
|
134
|
-
...productElements
|
|
139
|
+
...productElements,
|
|
140
|
+
...boostElements
|
|
135
141
|
];
|
|
136
142
|
let hasBoxShadowV2 = hasBoxShadow;
|
|
137
143
|
if (listElementShadowV2.includes(tag || '')) {
|
|
@@ -32,7 +32,8 @@ const getCustomRadius = (state, radius, device)=>{
|
|
|
32
32
|
'pill',
|
|
33
33
|
'rounded',
|
|
34
34
|
'single',
|
|
35
|
-
'none'
|
|
35
|
+
'none',
|
|
36
|
+
'circle'
|
|
36
37
|
];
|
|
37
38
|
if (!radius || !state || !list.includes(radius?.radiusType ?? '')) return {};
|
|
38
39
|
const suffix = device && device !== 'desktop' ? constant.devicesMapping?.[device] : '';
|
|
@@ -127,9 +127,15 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
127
127
|
'Product',
|
|
128
128
|
'ProductSku'
|
|
129
129
|
];
|
|
130
|
+
const boostElements = [
|
|
131
|
+
'Icon',
|
|
132
|
+
'IconListHoz',
|
|
133
|
+
'Line'
|
|
134
|
+
];
|
|
130
135
|
const listElementShadowV2 = [
|
|
131
136
|
...baseElements,
|
|
132
|
-
...productElements
|
|
137
|
+
...productElements,
|
|
138
|
+
...boostElements
|
|
133
139
|
];
|
|
134
140
|
let hasBoxShadowV2 = hasBoxShadow;
|
|
135
141
|
if (listElementShadowV2.includes(tag || '')) {
|
|
@@ -30,7 +30,8 @@ const getCustomRadius = (state, radius, device)=>{
|
|
|
30
30
|
'pill',
|
|
31
31
|
'rounded',
|
|
32
32
|
'single',
|
|
33
|
-
'none'
|
|
33
|
+
'none',
|
|
34
|
+
'circle'
|
|
34
35
|
];
|
|
35
36
|
if (!radius || !state || !list.includes(radius?.radiusType ?? '')) return {};
|
|
36
37
|
const suffix = device && device !== 'desktop' ? devicesMapping?.[device] : '';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7315,6 +7315,7 @@ type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7315
7315
|
compoDefaultValue?: ResponsiveConfig<U>;
|
|
7316
7316
|
emptyOnClear?: boolean;
|
|
7317
7317
|
showVideo?: boolean;
|
|
7318
|
+
disableGetDefault?: boolean;
|
|
7318
7319
|
} : {
|
|
7319
7320
|
id: K;
|
|
7320
7321
|
label?: string;
|
|
@@ -7352,6 +7353,7 @@ type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7352
7353
|
showVideo?: boolean;
|
|
7353
7354
|
default?: T;
|
|
7354
7355
|
compoDefaultValue?: T;
|
|
7356
|
+
disableGetDefault?: boolean;
|
|
7355
7357
|
};
|
|
7356
7358
|
type SharedControlType<T> = {
|
|
7357
7359
|
[K in keyof T]-?: Mapped$8<K, T[K]>;
|
|
@@ -7558,6 +7560,7 @@ type InputNumberControlType<T> = SharedControlType<T> & {
|
|
|
7558
7560
|
min?: number;
|
|
7559
7561
|
max?: number;
|
|
7560
7562
|
readonly?: boolean;
|
|
7563
|
+
includeUnit?: 'px' | '%';
|
|
7561
7564
|
};
|
|
7562
7565
|
|
|
7563
7566
|
type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms' | 'min' | 'days';
|
|
@@ -8603,6 +8606,8 @@ type SettingUICompo = {
|
|
|
8603
8606
|
fixedValue?: string;
|
|
8604
8607
|
placeholder?: string;
|
|
8605
8608
|
help?: SettingUIHelpType;
|
|
8609
|
+
popoverLabel?: LabelWithLang;
|
|
8610
|
+
comboType?: 'color' | 'image';
|
|
8606
8611
|
};
|
|
8607
8612
|
type SettingUIMoreSetting = {
|
|
8608
8613
|
label?: LabelWithLang;
|