@youngonesworks/ui 0.1.16 → 0.1.18

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 CHANGED
@@ -102935,15 +102935,16 @@ const ActionIcon = forwardRef(({ title, disabled = false, styleVariant = "defaul
102935
102935
  "data-tooltip-id": title,
102936
102936
  "data-tooltip-content": title,
102937
102937
  ...props,
102938
- children: formatIcon(icon, {
102938
+ children: icon ? formatIcon(icon, {
102939
102939
  stroke: strokeWidth,
102940
102940
  size: iconSize
102941
- })
102941
+ }) : props.children
102942
102942
  }), /* @__PURE__ */ jsx(M, {
102943
102943
  id: title,
102944
102944
  className: "z-[99]"
102945
102945
  })] });
102946
102946
  });
102947
+ ActionIcon.displayName = "ActionIcon";
102947
102948
 
102948
102949
  //#endregion
102949
102950
  //#region src/components/alert/index.tsx
@@ -103316,10 +103317,10 @@ LinkText.displayName = "LinkText";
103316
103317
 
103317
103318
  //#endregion
103318
103319
  //#region src/components/breadCrumb/index.tsx
103319
- const BreadCrumb = ({ text }) => /* @__PURE__ */ jsx(LinkText, {
103320
+ const BreadCrumb = ({ children }) => /* @__PURE__ */ jsx(LinkText, {
103320
103321
  "data-component": "BreadCrumb",
103321
103322
  classNames: "flex items-center",
103322
- children: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(IconArrowNarrowLeft, { size: 20 }), text] })
103323
+ children: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(IconArrowNarrowLeft, { size: 20 }), children] })
103323
103324
  });
103324
103325
  BreadCrumb.displayName = "BreadCrumb";
103325
103326