enjanga-components-library 1.0.92 → 1.0.93

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
@@ -1653,6 +1653,7 @@ var TilePost = ({
1653
1653
  orgPictogramName
1654
1654
  }) => {
1655
1655
  const componentTitle = getHeadingContent4(featuredText);
1656
+ const displayedOrgTitle = orgTitle.length > 30 ? `${orgTitle.slice(0, 30)}...` : orgTitle;
1656
1657
  const wrapperClassNames = getPostTileCSSClasses();
1657
1658
  const iconContent = getIconContent3({
1658
1659
  title: getHeadingContent4(featuredText),
@@ -1683,7 +1684,7 @@ var TilePost = ({
1683
1684
  const Icon = CarbonIcons__namespace[orgPictogramName];
1684
1685
  return Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { width: "1.5rem", height: "1.5rem", "aria-hidden": "true" }) : null;
1685
1686
  })(),
1686
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: orgTitle })
1687
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: displayedOrgTitle })
1687
1688
  ]
1688
1689
  }
1689
1690
  ),
package/dist/index.mjs CHANGED
@@ -1626,6 +1626,7 @@ var TilePost = ({
1626
1626
  orgPictogramName
1627
1627
  }) => {
1628
1628
  const componentTitle = getHeadingContent4(featuredText);
1629
+ const displayedOrgTitle = orgTitle.length > 30 ? `${orgTitle.slice(0, 30)}...` : orgTitle;
1629
1630
  const wrapperClassNames = getPostTileCSSClasses();
1630
1631
  const iconContent = getIconContent3({
1631
1632
  title: getHeadingContent4(featuredText),
@@ -1656,7 +1657,7 @@ var TilePost = ({
1656
1657
  const Icon = CarbonIcons[orgPictogramName];
1657
1658
  return Icon ? /* @__PURE__ */ jsx(Icon, { width: "1.5rem", height: "1.5rem", "aria-hidden": "true" }) : null;
1658
1659
  })(),
1659
- /* @__PURE__ */ jsx("span", { children: orgTitle })
1660
+ /* @__PURE__ */ jsx("span", { children: displayedOrgTitle })
1660
1661
  ]
1661
1662
  }
1662
1663
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enjanga-components-library",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "Reusable component library for Next.js 13+ projects with Carbon design system.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",