ml-ui-lib 1.0.48 → 1.0.50

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.
@@ -1,6 +1,6 @@
1
1
  .accordion {
2
2
  width: 100%;
3
- font-family: "Inter", sans-serif;
3
+ font-family: Poppins, sans-serif;
4
4
  color: #222;
5
5
  }
6
6
 
@@ -18,6 +18,7 @@ export interface FooterProps {
18
18
  className?: string;
19
19
  backgroundColor?: string;
20
20
  textColor?: string;
21
+ basePath?: string;
21
22
  }
22
23
  export declare const Footer: React.FC<FooterProps>;
23
24
  export default Footer;
@@ -1,25 +1,25 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import './Footer.css';
4
- export const Footer = ({ footerItems, logoSrc = '', logoAlt = 'M Lhuillier Logo', logoWidth = 180, logoHeight = 40, className = '', backgroundColor = '#fff', textColor = '#333', }) => {
4
+ export const Footer = ({ footerItems, logoSrc = '', logoAlt = 'M Lhuillier Logo', logoWidth = 180, logoHeight = 40, className = '', backgroundColor = '#fff', textColor = '#333', basePath }) => {
5
5
  const empblemArr = [
6
- { url: '/images/ALLFSPI.svg', name: 'ALLFSPI' },
7
- { url: '/images/CMPI.svg', name: 'CMPI' },
8
- { url: '/images/KLPI.svg', name: 'KLPI' },
9
- { url: '/images/LJFPI.svg', name: 'LJFPI' },
10
- { url: '/images/MLFSPI.svg', name: 'MLFSPI' },
11
- { url: '/images/TPI.svg', name: 'TPI' },
6
+ { url: 'images/ALLFSPI.svg', name: 'ALLFSPI' },
7
+ { url: 'images/CMPI.svg', name: 'CMPI' },
8
+ { url: 'images/KLPI.svg', name: 'KLPI' },
9
+ { url: 'images/LJFPI.svg', name: 'LJFPI' },
10
+ { url: 'images/MLFSPI.svg', name: 'MLFSPI' },
11
+ { url: 'images/TPI.svg', name: 'TPI' },
12
12
  ];
13
13
  const appLinksArr = [
14
- { url: '/images/app-store.svg', link: 'https://apps.apple.com/ph/app/mcash-wallet/id962204987' },
15
- { url: '/images/google-play.svg', link: 'https://play.google.com/store/apps/details?id=com.mlhuillier.mlwallet&pli=1' },
16
- { url: '/images/app-gallery.svg', link: 'https://appgallery.huawei.com/app/C102221791?source=qrCodeShare&referrer=PCWebAG&callType=SHARE&shareTo=qrcode&shareFrom=appmarket&reportEventLabel=appdetailpage' },
14
+ { url: 'images/app-store.svg', link: 'https://apps.apple.com/ph/app/mcash-wallet/id962204987' },
15
+ { url: 'images/google-play.svg', link: 'https://play.google.com/store/apps/details?id=com.mlhuillier.mlwallet&pli=1' },
16
+ { url: 'images/app-gallery.svg', link: 'https://appgallery.huawei.com/app/C102221791?source=qrCodeShare&referrer=PCWebAG&callType=SHARE&shareTo=qrcode&shareFrom=appmarket&reportEventLabel=appdetailpage' },
17
17
  ];
18
18
  return (_jsx("footer", { className: `footer ${className}`, style: { backgroundColor, color: textColor }, children: _jsxs("div", { style: { margin: '0 auto' }, children: [_jsx("div", { className: "footer-container", children: _jsxs("div", { className: "footer-columns", children: [_jsxs("div", { className: "footer-logo", children: [_jsxs("div", { style: {
19
19
  display: 'flex',
20
20
  flexDirection: 'column',
21
21
  alignItems: 'center'
22
- }, children: [_jsx("a", { href: "/", children: _jsx("img", { src: logoSrc, alt: logoAlt, width: logoWidth, height: logoHeight, style: { display: 'block' } }) }), _jsx("span", { style: { marginTop: '-15px', }, children: "FINANCIAL SERVICES, INC." }), _jsx("span", { style: { marginTop: '0px', fontSize: '15px' }, children: "B. Benedicto St, North Reclamation, Cebu City" }), " ", _jsx("br", {})] }), _jsx("span", { children: "M Lhuillier Financial Services, Inc. is regulated by the Bangko Sentral ng Pilipinas (BSP).For inquiries or assistance, you may reach us via:" }), _jsx("span", { children: _jsxs("ul", { className: 'footer-contact', children: [_jsx("li", { children: "Phone: +63 947 999 0337" }), _jsxs("li", { children: ["Email: ", _jsx("a", { href: "mailto:customercare@mlhuillier.com", style: { color: 'rgb(44, 48, 122) !important' }, children: "customercare@mlhuillier.com" })] })] }) })] }), footerItems.map((group, i) => {
22
+ }, children: [_jsx("a", { href: "/", children: _jsx("img", { src: logoSrc, alt: logoAlt, width: logoWidth, height: logoHeight, style: { display: 'block' } }) }), _jsx("span", { style: { marginTop: '-15px', }, children: "FINANCIAL SERVICES, INC." }), _jsx("span", { style: { marginTop: '0px', fontSize: '15px' }, children: "B. Benedicto St., North Reclamation, Cebu City" }), " ", _jsx("br", {})] }), _jsx("span", { children: "M Lhuillier Financial Services, Inc. is regulated by the Bangko Sentral ng Pilipinas (BSP). For inquiries or assistance, you may reach us via:" }), _jsx("span", { children: _jsxs("ul", { className: 'footer-contact', children: [_jsx("li", { children: "Phone: +63 947 999 0337" }), _jsxs("li", { children: ["Email: ", _jsx("a", { href: "mailto:customercare@mlhuillier.com", style: { color: 'rgb(44, 48, 122) !important' }, children: "customercare@mlhuillier.com" })] })] }) })] }), footerItems.map((group, i) => {
23
23
  // Format the display name
24
24
  const displayName = group.name
25
25
  .split('-')
@@ -31,6 +31,6 @@ export const Footer = ({ footerItems, logoSrc = '', logoAlt = 'M Lhuillier Logo'
31
31
  { name: 'ig', link: 'https://www.instagram.com/mlhuillier_official/' },
32
32
  { name: 'x', link: 'https://x.com/KaMLhuillier' },
33
33
  { name: 'yt', link: 'https://www.youtube.com/user/MLhuillierInc' },
34
- ].map((icon) => (_jsx("a", { href: icon.link, target: "_blank", rel: "noopener noreferrer", children: _jsx("img", { src: `/icons/${icon.name}.svg`, alt: icon.name }) }, icon.name))) })] }), _jsxs("div", { className: "apps", children: [_jsx("h4", { children: "Get the MCash App" }), _jsx("div", { className: "app-items", children: appLinksArr.map((item, index) => (_jsx("a", { href: item.link, children: _jsx("img", { src: item.url, alt: "App download", loading: "lazy" }) }, index))) })] })] }), _jsx("div", { className: 'emblems', children: empblemArr.map((item, index) => (_jsxs("div", { className: "emblem-item", children: [_jsx("img", { src: item.url, alt: item.name, loading: "lazy" }), _jsx("span", { children: item.name })] }, index))) })] }) }), _jsx("div", { className: 'others' }), _jsxs("div", { className: "footer-bottom", children: [_jsxs("p", { children: ["Copyright \u00A9 ", new Date().getFullYear(), " M Lhuillier Financial Services, Inc."] }), " ", _jsx("p", { children: "All rights reserved." })] })] }) }));
34
+ ].map((icon) => (_jsx("a", { href: icon.link, target: "_blank", rel: "noopener noreferrer", children: _jsx("img", { src: basePath ? `${basePath}/icons/${icon.name}.svg` : `/icons/${icon.name}.svg`, alt: icon.name }) }, icon.name))) })] }), _jsxs("div", { className: "apps", children: [_jsx("h4", { children: "Get the MCash App" }), _jsx("div", { className: "app-items", children: appLinksArr.map((item, index) => (_jsx("a", { href: item.link, children: _jsx("img", { src: basePath ? basePath + '/' + item.url : '/' + item.url, alt: "App download", loading: "lazy" }) }, index))) })] })] }), _jsx("div", { className: 'emblems', children: empblemArr.map((item, index) => (_jsxs("div", { className: "emblem-item", children: [_jsx("img", { src: basePath ? basePath + '/' + item.url : '/' + item.url, alt: item.name, loading: "lazy" }), _jsx("span", { children: item.name })] }, index))) })] }) }), _jsx("div", { className: 'others' }), _jsxs("div", { className: "footer-bottom", children: [_jsxs("p", { children: ["Copyright \u00A9 ", new Date().getFullYear(), " M Lhuillier Financial Services, Inc."] }), " ", _jsx("p", { children: "All rights reserved." })] })] }) }));
35
35
  };
36
36
  export default Footer;
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .has-dropdown {
15
- min-width: 200px;
15
+ min-width: 185px;
16
16
  }
17
17
 
18
18
  /* Hide navbar when scrolling down */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ml-ui-lib",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",