@servantcdh/ez-planet-labeling 1.0.12 → 1.0.13
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.
- package/dist/index.js +8 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3589,7 +3589,7 @@ const LIB_AUTHOR = "최동호";
|
|
|
3589
3589
|
const LIB_CONTACT = "servantcdh@naver.com";
|
|
3590
3590
|
const __EZ_PLANET_META__ = Object.freeze({
|
|
3591
3591
|
name: LIB_NAME,
|
|
3592
|
-
version: "1.0.
|
|
3592
|
+
version: "1.0.13",
|
|
3593
3593
|
author: LIB_AUTHOR,
|
|
3594
3594
|
contact: LIB_CONTACT,
|
|
3595
3595
|
license: "Proprietary — See LICENSE"
|
|
@@ -18280,6 +18280,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18280
18280
|
if (item.variant === "button") {
|
|
18281
18281
|
const {
|
|
18282
18282
|
iconType,
|
|
18283
|
+
renderIcon,
|
|
18283
18284
|
title,
|
|
18284
18285
|
tooltip,
|
|
18285
18286
|
variant: _variant,
|
|
@@ -18296,7 +18297,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18296
18297
|
...title ? { title } : { style: "transparent" },
|
|
18297
18298
|
isSlim,
|
|
18298
18299
|
...btnProps,
|
|
18299
|
-
children: iconType
|
|
18300
|
+
children: renderIcon ? renderIcon() : iconType ? /* @__PURE__ */ jsx(Icon, { iconType, size: isSlim ? "xxs" : "sm" }) : null
|
|
18300
18301
|
},
|
|
18301
18302
|
buttonKey
|
|
18302
18303
|
);
|
|
@@ -18306,7 +18307,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18306
18307
|
if (subButtonItem.variant === "button") {
|
|
18307
18308
|
const {
|
|
18308
18309
|
iconType: iconType2,
|
|
18309
|
-
renderIcon,
|
|
18310
|
+
renderIcon: renderIcon2,
|
|
18310
18311
|
title: title2,
|
|
18311
18312
|
tooltip: tooltip2,
|
|
18312
18313
|
variant: _variant2,
|
|
@@ -18320,7 +18321,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18320
18321
|
size: "md",
|
|
18321
18322
|
...title2 ? { title: title2 } : { style: "transparent" },
|
|
18322
18323
|
...subBtnProps,
|
|
18323
|
-
children:
|
|
18324
|
+
children: renderIcon2 ? renderIcon2() : iconType2 ? /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) : null
|
|
18324
18325
|
},
|
|
18325
18326
|
`${title2 ?? "button"}_${index2}`
|
|
18326
18327
|
);
|
|
@@ -18346,6 +18347,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18346
18347
|
if (subButtonItem.variant === "radio") {
|
|
18347
18348
|
const {
|
|
18348
18349
|
iconType: iconType2,
|
|
18350
|
+
renderIcon: renderIcon2,
|
|
18349
18351
|
title: title2,
|
|
18350
18352
|
tooltip: tooltip2,
|
|
18351
18353
|
variant: _variant2,
|
|
@@ -18378,7 +18380,7 @@ function WorkspaceFloatingToolbar({
|
|
|
18378
18380
|
}
|
|
18379
18381
|
}
|
|
18380
18382
|
),
|
|
18381
|
-
iconType2
|
|
18383
|
+
renderIcon2 ? /* @__PURE__ */ jsx("label", { htmlFor: id, children: renderIcon2() }) : iconType2 ? /* @__PURE__ */ jsx("label", { htmlFor: id, children: /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) }) : null
|
|
18382
18384
|
]
|
|
18383
18385
|
},
|
|
18384
18386
|
`${id}_${index2}`
|
|
@@ -18849,6 +18851,7 @@ const useImageLabelingUIMeta = ({
|
|
|
18849
18851
|
lastSelectedType === "extension" && lastSelectedExtension ? {
|
|
18850
18852
|
variant: "radio",
|
|
18851
18853
|
iconType: lastSelectedExtension.iconType,
|
|
18854
|
+
renderIcon: lastSelectedExtension.renderIcon,
|
|
18852
18855
|
name: "tool",
|
|
18853
18856
|
title: formatShortcutTitle(
|
|
18854
18857
|
lastSelectedExtension.name,
|