nvis-fe-cms-libs 1.0.9 → 1.1.2

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.
@@ -1395,23 +1395,25 @@ var __async = (__this, __arguments, generator) => {
1395
1395
  "div",
1396
1396
  {
1397
1397
  ref: itemRef,
1398
- className: `relative flex flex-col items-center justify-center p-4 rounded-xl shadow-sm transition-all duration-700 ease-out cursor-pointer overflow-hidden min-h-[180px]
1398
+ className: `relative flex flex-col items-center justify-center p-4 rounded-xl shadow-sm transition-all duration-700 ease-out cursor-pointer overflow-hidden min-h-[180px] w-full
1399
1399
  ${isDarkMode ? "bg-gradient-to-br from-slate-900 via-blue-900 to-indigo-900 border border-blue-800" : "bg-white border border-gray-200"}
1400
- ${visible ? "opacity-100 scale-100" : "opacity-0 scale-75"}
1401
- ${isHovered ? isDarkMode ? "border-blue-500 shadow-lg shadow-blue-500/20 -translate-y-1" : "border-blue-300 shadow-lg shadow-blue-500/20 -translate-y-1" : ""}`,
1400
+ ${visible ? "opacity-100" : "opacity-0"}
1401
+ ${isHovered ? isDarkMode ? "border-blue-500 shadow-lg shadow-blue-500/20" : "border-blue-300 shadow-lg shadow-blue-500/20" : ""}`,
1402
1402
  style: {
1403
1403
  transitionDelay: `${idx * 150}ms`,
1404
- transform: `translateY(${isHovered ? "-4px" : "0px"}) scale(${visible ? "1" : "0.75"})`
1404
+ transform: `translateY(${isHovered ? "-4px" : "0px"}) scale(${visible ? "1" : "0.75"})`,
1405
+ position: "relative",
1406
+ zIndex: isHovered ? 10 : 1
1405
1407
  },
1406
1408
  onMouseEnter: () => setIsHovered(true),
1407
1409
  onMouseLeave: () => setIsHovered(false),
1408
1410
  onClick: handleClick,
1409
1411
  children: [
1410
1412
  isDarkMode && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
1411
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-12 h-12 bg-white/5 rounded-full", style: { left: "10%", top: "20%" } }),
1412
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-10 h-10 bg-white/5 rounded-full", style: { right: "30%", bottom: "10%" } }),
1413
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-14 h-14 bg-white/5 rounded-md", style: { left: "20%", bottom: "30%" } }),
1414
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 opacity-20", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1413
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-12 h-12 bg-white/5 rounded-full pointer-events-none", style: { left: "10%", top: "20%", zIndex: -1 } }),
1414
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-10 h-10 bg-white/5 rounded-full pointer-events-none", style: { right: "30%", bottom: "10%", zIndex: -1 } }),
1415
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute w-14 h-14 bg-white/5 rounded-md pointer-events-none", style: { left: "20%", bottom: "30%", zIndex: -1 } }),
1416
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 opacity-20 pointer-events-none", style: { zIndex: -1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1415
1417
  "div",
1416
1418
  {
1417
1419
  style: {
@@ -1425,7 +1427,7 @@ var __async = (__this, __arguments, generator) => {
1425
1427
  /* @__PURE__ */ jsxRuntimeExports.jsx(
1426
1428
  "div",
1427
1429
  {
1428
- className: `w-20 h-14 flex items-center justify-center mb-4 rounded-lg overflow-hidden border transition-all duration-300
1430
+ className: `relative w-20 h-14 flex items-center justify-center mb-4 rounded-lg overflow-hidden border transition-all duration-300
1429
1431
  ${isDarkMode ? "border-gray-600" : "border-gray-200"}
1430
1432
  ${isHovered ? "border-blue-500" : ""}
1431
1433
  `,
@@ -1437,7 +1439,7 @@ var __async = (__this, __arguments, generator) => {
1437
1439
  "img",
1438
1440
  {
1439
1441
  src: logoSrc,
1440
- alt: partner.name || t("partners.logoAlt") || "Partner logo",
1442
+ alt: partner.name || (t == null ? void 0 : t("partners.logoAlt")) || "Partner logo",
1441
1443
  className: "max-w-full max-h-full object-contain transition-all duration-300",
1442
1444
  style: {
1443
1445
  filter: isDarkMode ? isHovered ? "grayscale(0) opacity(1)" : "grayscale(0.3) opacity(0.8)" : isHovered ? "grayscale(0) opacity(1)" : "grayscale(0.2) opacity(0.9)",
@@ -1447,7 +1449,7 @@ var __async = (__this, __arguments, generator) => {
1447
1449
  loading: "lazy"
1448
1450
  }
1449
1451
  ),
1450
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full h-full bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center", style: { display: "none" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-white font-bold text-center text-sm px-1", children: partner.name }) })
1452
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center", style: { display: "none" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-white font-bold text-center text-sm px-1", children: partner.name }) })
1451
1453
  ] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full h-full bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-white font-bold text-center text-sm px-1", children: partner.name }) })
1452
1454
  }
1453
1455
  ),
@@ -1456,13 +1458,13 @@ var __async = (__this, __arguments, generator) => {
1456
1458
  partner.websiteUrl && /* @__PURE__ */ jsxRuntimeExports.jsx(
1457
1459
  "div",
1458
1460
  {
1459
- className: "transition-all duration-300",
1461
+ className: "transition-all duration-300 absolute bottom-4",
1460
1462
  style: {
1461
1463
  opacity: isHovered ? 1 : 0,
1462
1464
  transform: `translateY(${isHovered ? "0px" : "4px"})`
1463
1465
  },
1464
1466
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-xs text-blue-600 font-medium", children: [
1465
- t("partners.viewDetails") || "Xem chi tiết",
1467
+ (t == null ? void 0 : t("partners.viewDetails")) || "Xem chi tiết",
1466
1468
  " →"
1467
1469
  ] })
1468
1470
  }
@@ -1637,7 +1639,7 @@ var __async = (__this, __arguments, generator) => {
1637
1639
  );
1638
1640
  };
1639
1641
  /**
1640
- * @license lucide-react v0.544.0 - ISC
1642
+ * @license lucide-react v0.536.0 - ISC
1641
1643
  *
1642
1644
  * This source code is licensed under the ISC license.
1643
1645
  * See the LICENSE file in the root directory of this source tree.
@@ -1662,7 +1664,7 @@ var __async = (__this, __arguments, generator) => {
1662
1664
  }
1663
1665
  };
1664
1666
  /**
1665
- * @license lucide-react v0.544.0 - ISC
1667
+ * @license lucide-react v0.536.0 - ISC
1666
1668
  *
1667
1669
  * This source code is licensed under the ISC license.
1668
1670
  * See the LICENSE file in the root directory of this source tree.
@@ -1679,7 +1681,7 @@ var __async = (__this, __arguments, generator) => {
1679
1681
  strokeLinejoin: "round"
1680
1682
  };
1681
1683
  /**
1682
- * @license lucide-react v0.544.0 - ISC
1684
+ * @license lucide-react v0.536.0 - ISC
1683
1685
  *
1684
1686
  * This source code is licensed under the ISC license.
1685
1687
  * See the LICENSE file in the root directory of this source tree.
@@ -1722,7 +1724,7 @@ var __async = (__this, __arguments, generator) => {
1722
1724
  }
1723
1725
  );
1724
1726
  /**
1725
- * @license lucide-react v0.544.0 - ISC
1727
+ * @license lucide-react v0.536.0 - ISC
1726
1728
  *
1727
1729
  * This source code is licensed under the ISC license.
1728
1730
  * See the LICENSE file in the root directory of this source tree.
@@ -1746,7 +1748,7 @@ var __async = (__this, __arguments, generator) => {
1746
1748
  return Component;
1747
1749
  };
1748
1750
  /**
1749
- * @license lucide-react v0.544.0 - ISC
1751
+ * @license lucide-react v0.536.0 - ISC
1750
1752
  *
1751
1753
  * This source code is licensed under the ISC license.
1752
1754
  * See the LICENSE file in the root directory of this source tree.
@@ -1758,7 +1760,7 @@ var __async = (__this, __arguments, generator) => {
1758
1760
  ];
1759
1761
  const CircleAlert = createLucideIcon("circle-alert", __iconNode$9);
1760
1762
  /**
1761
- * @license lucide-react v0.544.0 - ISC
1763
+ * @license lucide-react v0.536.0 - ISC
1762
1764
  *
1763
1765
  * This source code is licensed under the ISC license.
1764
1766
  * See the LICENSE file in the root directory of this source tree.
@@ -1769,7 +1771,7 @@ var __async = (__this, __arguments, generator) => {
1769
1771
  ];
1770
1772
  const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$8);
1771
1773
  /**
1772
- * @license lucide-react v0.544.0 - ISC
1774
+ * @license lucide-react v0.536.0 - ISC
1773
1775
  *
1774
1776
  * This source code is licensed under the ISC license.
1775
1777
  * See the LICENSE file in the root directory of this source tree.
@@ -1780,7 +1782,7 @@ var __async = (__this, __arguments, generator) => {
1780
1782
  ];
1781
1783
  const Clock = createLucideIcon("clock", __iconNode$7);
1782
1784
  /**
1783
- * @license lucide-react v0.544.0 - ISC
1785
+ * @license lucide-react v0.536.0 - ISC
1784
1786
  *
1785
1787
  * This source code is licensed under the ISC license.
1786
1788
  * See the LICENSE file in the root directory of this source tree.
@@ -1788,7 +1790,7 @@ var __async = (__this, __arguments, generator) => {
1788
1790
  const __iconNode$6 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
1789
1791
  const LoaderCircle = createLucideIcon("loader-circle", __iconNode$6);
1790
1792
  /**
1791
- * @license lucide-react v0.544.0 - ISC
1793
+ * @license lucide-react v0.536.0 - ISC
1792
1794
  *
1793
1795
  * This source code is licensed under the ISC license.
1794
1796
  * See the LICENSE file in the root directory of this source tree.
@@ -1799,7 +1801,7 @@ var __async = (__this, __arguments, generator) => {
1799
1801
  ];
1800
1802
  const Mail = createLucideIcon("mail", __iconNode$5);
1801
1803
  /**
1802
- * @license lucide-react v0.544.0 - ISC
1804
+ * @license lucide-react v0.536.0 - ISC
1803
1805
  *
1804
1806
  * This source code is licensed under the ISC license.
1805
1807
  * See the LICENSE file in the root directory of this source tree.
@@ -1815,7 +1817,7 @@ var __async = (__this, __arguments, generator) => {
1815
1817
  ];
1816
1818
  const MessageCircle = createLucideIcon("message-circle", __iconNode$4);
1817
1819
  /**
1818
- * @license lucide-react v0.544.0 - ISC
1820
+ * @license lucide-react v0.536.0 - ISC
1819
1821
  *
1820
1822
  * This source code is licensed under the ISC license.
1821
1823
  * See the LICENSE file in the root directory of this source tree.
@@ -1831,7 +1833,7 @@ var __async = (__this, __arguments, generator) => {
1831
1833
  ];
1832
1834
  const MessageSquare = createLucideIcon("message-square", __iconNode$3);
1833
1835
  /**
1834
- * @license lucide-react v0.544.0 - ISC
1836
+ * @license lucide-react v0.536.0 - ISC
1835
1837
  *
1836
1838
  * This source code is licensed under the ISC license.
1837
1839
  * See the LICENSE file in the root directory of this source tree.
@@ -1847,7 +1849,7 @@ var __async = (__this, __arguments, generator) => {
1847
1849
  ];
1848
1850
  const Phone = createLucideIcon("phone", __iconNode$2);
1849
1851
  /**
1850
- * @license lucide-react v0.544.0 - ISC
1852
+ * @license lucide-react v0.536.0 - ISC
1851
1853
  *
1852
1854
  * This source code is licensed under the ISC license.
1853
1855
  * See the LICENSE file in the root directory of this source tree.
@@ -1864,7 +1866,7 @@ var __async = (__this, __arguments, generator) => {
1864
1866
  ];
1865
1867
  const Send = createLucideIcon("send", __iconNode$1);
1866
1868
  /**
1867
- * @license lucide-react v0.544.0 - ISC
1869
+ * @license lucide-react v0.536.0 - ISC
1868
1870
  *
1869
1871
  * This source code is licensed under the ISC license.
1870
1872
  * See the LICENSE file in the root directory of this source tree.