enjanga-components-library 1.0.89 → 1.0.92

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
@@ -1606,6 +1606,8 @@ var getTileContent4 = ({
1606
1606
  }) => {
1607
1607
  const featuredTextLocalProps = {
1608
1608
  ...featuredText,
1609
+ headingMaxLength: void 0,
1610
+ plainTextMaxLength: void 0,
1609
1611
  heading: {
1610
1612
  ...featuredText.heading,
1611
1613
  className: "enj-postTile-title"
@@ -1651,7 +1653,6 @@ var TilePost = ({
1651
1653
  orgPictogramName
1652
1654
  }) => {
1653
1655
  const componentTitle = getHeadingContent4(featuredText);
1654
- const displayedOrgTitle = orgTitle.length > 30 ? `${orgTitle.slice(0, 30)}...` : orgTitle;
1655
1656
  const wrapperClassNames = getPostTileCSSClasses();
1656
1657
  const iconContent = getIconContent3({
1657
1658
  title: getHeadingContent4(featuredText),
@@ -1676,12 +1677,13 @@ var TilePost = ({
1676
1677
  href: `/experience/${orgSlug}`,
1677
1678
  className: "enj-postTile-link",
1678
1679
  "aria-label": `Navigate to ${orgTitle}`,
1680
+ onClick: (event) => event.stopPropagation(),
1679
1681
  children: [
1680
1682
  (() => {
1681
1683
  const Icon = CarbonIcons__namespace[orgPictogramName];
1682
1684
  return Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { width: "1.5rem", height: "1.5rem", "aria-hidden": "true" }) : null;
1683
1685
  })(),
1684
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: displayedOrgTitle })
1686
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: orgTitle })
1685
1687
  ]
1686
1688
  }
1687
1689
  ),
package/dist/index.mjs CHANGED
@@ -1579,6 +1579,8 @@ var getTileContent4 = ({
1579
1579
  }) => {
1580
1580
  const featuredTextLocalProps = {
1581
1581
  ...featuredText,
1582
+ headingMaxLength: void 0,
1583
+ plainTextMaxLength: void 0,
1582
1584
  heading: {
1583
1585
  ...featuredText.heading,
1584
1586
  className: "enj-postTile-title"
@@ -1624,7 +1626,6 @@ var TilePost = ({
1624
1626
  orgPictogramName
1625
1627
  }) => {
1626
1628
  const componentTitle = getHeadingContent4(featuredText);
1627
- const displayedOrgTitle = orgTitle.length > 30 ? `${orgTitle.slice(0, 30)}...` : orgTitle;
1628
1629
  const wrapperClassNames = getPostTileCSSClasses();
1629
1630
  const iconContent = getIconContent3({
1630
1631
  title: getHeadingContent4(featuredText),
@@ -1649,12 +1650,13 @@ var TilePost = ({
1649
1650
  href: `/experience/${orgSlug}`,
1650
1651
  className: "enj-postTile-link",
1651
1652
  "aria-label": `Navigate to ${orgTitle}`,
1653
+ onClick: (event) => event.stopPropagation(),
1652
1654
  children: [
1653
1655
  (() => {
1654
1656
  const Icon = CarbonIcons[orgPictogramName];
1655
1657
  return Icon ? /* @__PURE__ */ jsx(Icon, { width: "1.5rem", height: "1.5rem", "aria-hidden": "true" }) : null;
1656
1658
  })(),
1657
- /* @__PURE__ */ jsx("span", { children: displayedOrgTitle })
1659
+ /* @__PURE__ */ jsx("span", { children: orgTitle })
1658
1660
  ]
1659
1661
  }
1660
1662
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enjanga-components-library",
3
- "version": "1.0.89",
3
+ "version": "1.0.92",
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",