@servantcdh/ez-planet-labeling 1.0.13 → 1.0.14

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 +4 -2
  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.13",
3592
+ version: "1.0.14",
3593
3593
  author: LIB_AUTHOR,
3594
3594
  contact: LIB_CONTACT,
3595
3595
  license: "Proprietary — See LICENSE"
@@ -18402,6 +18402,7 @@ function WorkspaceFloatingToolbar({
18402
18402
  if (item.variant === "checkbox") {
18403
18403
  const {
18404
18404
  iconType,
18405
+ renderIcon: _renderIcon,
18405
18406
  title,
18406
18407
  variant: _variant,
18407
18408
  id,
@@ -18483,6 +18484,7 @@ function WorkspaceFloatingToolbar({
18483
18484
  if (item.variant === "radio") {
18484
18485
  const {
18485
18486
  iconType,
18487
+ renderIcon: itemRenderIcon,
18486
18488
  title,
18487
18489
  variant: _variant,
18488
18490
  id,
@@ -18514,7 +18516,7 @@ function WorkspaceFloatingToolbar({
18514
18516
  ...radioProps
18515
18517
  }
18516
18518
  ),
18517
- iconType && /* @__PURE__ */ jsx("label", { htmlFor: id, children: /* @__PURE__ */ jsx(Icon, { iconType, size: "sm" }) })
18519
+ itemRenderIcon ? /* @__PURE__ */ jsx("label", { htmlFor: id, children: itemRenderIcon() }) : iconType ? /* @__PURE__ */ jsx("label", { htmlFor: id, children: /* @__PURE__ */ jsx(Icon, { iconType, size: "sm" }) }) : null
18518
18520
  ]
18519
18521
  },
18520
18522
  `${id}_${index}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servantcdh/ez-planet-labeling",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",