nvis-fe-cms-libs 2.1.15 → 2.1.16

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.
@@ -1911,21 +1911,27 @@ var __async = (__this, __arguments, generator) => {
1911
1911
  target: "_blank",
1912
1912
  rel: "noopener noreferrer"
1913
1913
  } : {};
1914
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
1914
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
1915
1915
  CardElement,
1916
1916
  __spreadProps(__spreadValues({}, cardProps), {
1917
- className: "flex items-center justify-center p-5 bg-white dark:bg-slate-800 rounded-xl hover:shadow-lg transition-all duration-300 hover:-translate-y-1 h-28 border border-gray-100 dark:border-gray-700 shadow-sm",
1918
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1919
- "img",
1920
- {
1921
- src: getImageUrl(partner.logoUrl),
1922
- alt: partner.name || "Partner logo",
1923
- className: "max-w-full max-h-16 object-contain transition-all duration-300",
1924
- onError: (e) => {
1925
- e.target.src = "https://via.placeholder.com/150x80?text=Logo";
1917
+ className: "relative group flex items-center justify-center p-5 bg-white dark:bg-slate-800 rounded-xl hover:shadow-lg transition-all duration-300 hover:-translate-y-1 h-28 border border-gray-100 dark:border-gray-700 shadow-sm",
1918
+ children: [
1919
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
1920
+ "img",
1921
+ {
1922
+ src: getImageUrl(partner.logoUrl),
1923
+ alt: partner.name || "Partner logo",
1924
+ className: "max-w-full max-h-16 object-contain transition-all duration-300",
1925
+ onError: (e) => {
1926
+ e.target.src = "https://via.placeholder.com/150x80?text=Logo";
1927
+ }
1926
1928
  }
1927
- }
1928
- )
1929
+ ),
1930
+ partner.name && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-3 py-1.5 text-xs text-white bg-slate-900/90 dark:bg-slate-700/90 backdrop-blur-sm rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-all duration-300 pointer-events-none whitespace-normal text-center max-w-[200px] z-50 transform translate-y-1 group-hover:translate-y-0", children: [
1931
+ partner.name,
1932
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute top-full left-1/2 -translate-x-1/2 border-4 border-transparent border-t-slate-900/90 dark:border-t-slate-700/90" })
1933
+ ] })
1934
+ ]
1929
1935
  }),
1930
1936
  partner.id
1931
1937
  );
@@ -2003,21 +2009,27 @@ var __async = (__this, __arguments, generator) => {
2003
2009
  target: "_blank",
2004
2010
  rel: "noopener noreferrer"
2005
2011
  } : {};
2006
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
2012
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
2007
2013
  CardElement,
2008
2014
  __spreadProps(__spreadValues({}, cardProps), {
2009
- className: "flex items-center justify-center p-5 bg-white dark:bg-slate-800 rounded-xl hover:shadow-lg transition-all duration-300 hover:-translate-y-1 h-28 border border-gray-100 dark:border-gray-700 shadow-sm",
2010
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
2011
- "img",
2012
- {
2013
- src: getImageUrl(partner.logoUrl),
2014
- alt: partner.name || "Partner logo",
2015
- className: "max-w-full max-h-16 object-contain transition-all duration-300",
2016
- onError: (e) => {
2017
- e.target.src = "https://via.placeholder.com/150x80?text=Logo";
2015
+ className: "relative group flex items-center justify-center p-5 bg-white dark:bg-slate-800 rounded-xl hover:shadow-lg transition-all duration-300 hover:-translate-y-1 h-28 border border-gray-100 dark:border-gray-700 shadow-sm",
2016
+ children: [
2017
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
2018
+ "img",
2019
+ {
2020
+ src: getImageUrl(partner.logoUrl),
2021
+ alt: partner.name || "Partner logo",
2022
+ className: "max-w-full max-h-16 object-contain transition-all duration-300",
2023
+ onError: (e) => {
2024
+ e.target.src = "https://via.placeholder.com/150x80?text=Logo";
2025
+ }
2018
2026
  }
2019
- }
2020
- )
2027
+ ),
2028
+ partner.name && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-3 py-1.5 text-xs text-white bg-slate-900/90 dark:bg-slate-700/90 backdrop-blur-sm rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-all duration-300 pointer-events-none whitespace-normal text-center max-w-[200px] z-50 transform translate-y-1 group-hover:translate-y-0", children: [
2029
+ partner.name,
2030
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute top-full left-1/2 -translate-x-1/2 border-4 border-transparent border-t-slate-900/90 dark:border-t-slate-700/90" })
2031
+ ] })
2032
+ ]
2021
2033
  }),
2022
2034
  partner.id
2023
2035
  );