@gem-sdk/core 1.23.0-staging.55 → 1.23.0-staging.58
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.
|
@@ -161,10 +161,14 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
161
161
|
return false;
|
|
162
162
|
};
|
|
163
163
|
const toolbarName = ()=>{
|
|
164
|
-
const
|
|
165
|
-
if (
|
|
164
|
+
const tag = props.tag;
|
|
165
|
+
if (tag === 'IconListV2') {
|
|
166
|
+
return 'Item list';
|
|
167
|
+
}
|
|
168
|
+
if (tag === 'IconList') {
|
|
166
169
|
return 'Advanced list';
|
|
167
170
|
}
|
|
171
|
+
const name = props.customLabel || props.label;
|
|
168
172
|
return name;
|
|
169
173
|
};
|
|
170
174
|
const onZoomOut = (e)=>{
|
|
@@ -159,10 +159,14 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
159
159
|
return false;
|
|
160
160
|
};
|
|
161
161
|
const toolbarName = ()=>{
|
|
162
|
-
const
|
|
163
|
-
if (
|
|
162
|
+
const tag = props.tag;
|
|
163
|
+
if (tag === 'IconListV2') {
|
|
164
|
+
return 'Item list';
|
|
165
|
+
}
|
|
166
|
+
if (tag === 'IconList') {
|
|
164
167
|
return 'Advanced list';
|
|
165
168
|
}
|
|
169
|
+
const name = props.customLabel || props.label;
|
|
166
170
|
return name;
|
|
167
171
|
};
|
|
168
172
|
const onZoomOut = (e)=>{
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1024,6 +1024,10 @@ type ControlUI = {
|
|
|
1024
1024
|
info?: 'near' | 'far';
|
|
1025
1025
|
labelSpacing?: 'small' | 'medium' | 'large';
|
|
1026
1026
|
removeSpacing?: boolean;
|
|
1027
|
+
tooltip?: {
|
|
1028
|
+
icon?: string;
|
|
1029
|
+
content?: string;
|
|
1030
|
+
};
|
|
1027
1031
|
hideOnDevices?: {
|
|
1028
1032
|
desktop?: boolean;
|
|
1029
1033
|
tablet?: boolean;
|