@servantcdh/ez-planet-labeling 1.0.11 → 1.0.12

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. 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.11",
3592
+ version: "1.0.12",
3593
3593
  author: LIB_AUTHOR,
3594
3594
  contact: LIB_CONTACT,
3595
3595
  license: "Proprietary — See LICENSE"
@@ -18306,6 +18306,7 @@ function WorkspaceFloatingToolbar({
18306
18306
  if (subButtonItem.variant === "button") {
18307
18307
  const {
18308
18308
  iconType: iconType2,
18309
+ renderIcon,
18309
18310
  title: title2,
18310
18311
  tooltip: tooltip2,
18311
18312
  variant: _variant2,
@@ -18319,7 +18320,7 @@ function WorkspaceFloatingToolbar({
18319
18320
  size: "md",
18320
18321
  ...title2 ? { title: title2 } : { style: "transparent" },
18321
18322
  ...subBtnProps,
18322
- children: iconType2 && /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" })
18323
+ children: renderIcon ? renderIcon() : iconType2 ? /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) : null
18323
18324
  },
18324
18325
  `${title2 ?? "button"}_${index2}`
18325
18326
  );
@@ -18435,6 +18436,7 @@ function WorkspaceFloatingToolbar({
18435
18436
  if (subButtonItem.variant === "button") {
18436
18437
  const {
18437
18438
  iconType: iconType2,
18439
+ renderIcon,
18438
18440
  title: title2,
18439
18441
  variant: _variant2,
18440
18442
  subButtonItems: _subButtons,
@@ -18447,7 +18449,7 @@ function WorkspaceFloatingToolbar({
18447
18449
  tooltip: title2,
18448
18450
  ...title2 ? { title: title2 } : { style: "transparent" },
18449
18451
  ...subBtnProps,
18450
- children: iconType2 && /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" })
18452
+ children: renderIcon ? renderIcon() : iconType2 ? /* @__PURE__ */ jsx(Icon, { iconType: iconType2, size: "sm" }) : null
18451
18453
  },
18452
18454
  `${title2 ?? "button"}_${index2}`
18453
18455
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servantcdh/ez-planet-labeling",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",