@opensite/ui 1.4.1 → 1.4.3
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/components.cjs +28 -28
- package/dist/components.js +28 -28
- package/dist/footer-accordion-social.cjs +2 -1
- package/dist/footer-accordion-social.js +2 -1
- package/dist/footer-animated-social.cjs +2 -1
- package/dist/footer-animated-social.js +2 -1
- package/dist/footer-background-card.cjs +1 -1
- package/dist/footer-background-card.js +1 -1
- package/dist/footer-brand-description.cjs +6 -5
- package/dist/footer-brand-description.js +6 -5
- package/dist/footer-brand-links-contact.cjs +22 -28
- package/dist/footer-brand-links-contact.d.cts +5 -1
- package/dist/footer-brand-links-contact.d.ts +5 -1
- package/dist/footer-brand-links-contact.js +22 -28
- package/dist/footer-comprehensive-links.cjs +4 -3
- package/dist/footer-comprehensive-links.js +4 -3
- package/dist/footer-contact-card.cjs +2 -1
- package/dist/footer-contact-card.js +2 -1
- package/dist/footer-cta-banner.cjs +2 -1
- package/dist/footer-cta-banner.js +2 -1
- package/dist/footer-cta-social.cjs +2 -1
- package/dist/footer-cta-social.js +2 -1
- package/dist/footer-info-cards-accordion.cjs +2 -1
- package/dist/footer-info-cards-accordion.js +2 -1
- package/dist/footer-links-grid.cjs +4 -4
- package/dist/footer-links-grid.js +4 -4
- package/dist/footer-nav-social.cjs +2 -1
- package/dist/footer-nav-social.js +2 -1
- package/dist/footer-newsletter-contact.cjs +2 -1
- package/dist/footer-newsletter-contact.js +2 -1
- package/dist/footer-newsletter-grid.cjs +2 -1
- package/dist/footer-newsletter-grid.js +2 -1
- package/dist/footer-newsletter-minimal.cjs +2 -1
- package/dist/footer-newsletter-minimal.js +2 -1
- package/dist/footer-simple-centered.cjs +13 -16
- package/dist/footer-simple-centered.js +13 -16
- package/dist/footer-social-apps.cjs +9 -6
- package/dist/footer-social-apps.d.cts +5 -1
- package/dist/footer-social-apps.d.ts +5 -1
- package/dist/footer-social-apps.js +9 -6
- package/dist/footer-social-newsletter.cjs +2 -1
- package/dist/footer-social-newsletter.js +2 -1
- package/dist/footer-split-image-accordion.cjs +2 -1
- package/dist/footer-split-image-accordion.js +2 -1
- package/dist/index.cjs +28 -28
- package/dist/index.js +28 -28
- package/dist/navbar-fullscreen-menu.cjs +1 -0
- package/dist/navbar-fullscreen-menu.js +1 -0
- package/dist/navbar-transparent-overlay.cjs +1 -0
- package/dist/navbar-transparent-overlay.js +1 -0
- package/dist/registry.cjs +50 -57
- package/dist/registry.js +50 -57
- package/dist/social-link-icon.cjs +1 -0
- package/dist/social-link-icon.js +1 -0
- package/package.json +1 -1
|
@@ -640,7 +640,7 @@ function FooterCopyright({
|
|
|
640
640
|
currentYear,
|
|
641
641
|
" ",
|
|
642
642
|
copyright,
|
|
643
|
-
"
|
|
643
|
+
" All Rights Reserved."
|
|
644
644
|
] });
|
|
645
645
|
}
|
|
646
646
|
var brandAttributionOptions = [
|
|
@@ -1591,6 +1591,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1591
1591
|
Pressable,
|
|
1592
1592
|
{
|
|
1593
1593
|
ref,
|
|
1594
|
+
href,
|
|
1594
1595
|
"aria-label": accessibleLabel,
|
|
1595
1596
|
className: cn(
|
|
1596
1597
|
"inline-flex items-center justify-center transition-colors",
|
|
@@ -1622,14 +1623,15 @@ function FooterSocialApps({
|
|
|
1622
1623
|
appLabel,
|
|
1623
1624
|
copyright,
|
|
1624
1625
|
background,
|
|
1625
|
-
|
|
1626
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1627
|
+
spacing = "py-6 md:py-32",
|
|
1626
1628
|
pattern,
|
|
1627
1629
|
patternOpacity,
|
|
1628
1630
|
optixFlowConfig
|
|
1629
1631
|
}) {
|
|
1630
1632
|
const sectionsContent = React.useMemo(() => {
|
|
1631
1633
|
if (!sections || sections.length === 0) return null;
|
|
1632
|
-
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1634
|
+
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 md:mt-0", children: [
|
|
1633
1635
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 font-bold", children: section.title }),
|
|
1634
1636
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-4", children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "font-medium ", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.href, children: link.name }) }, linkIdx)) })
|
|
1635
1637
|
] }, sectionIdx));
|
|
@@ -1669,6 +1671,7 @@ function FooterSocialApps({
|
|
|
1669
1671
|
pattern,
|
|
1670
1672
|
patternOpacity,
|
|
1671
1673
|
className: cn(className),
|
|
1674
|
+
containerClassName,
|
|
1672
1675
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs("footer", { children: [
|
|
1673
1676
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-between gap-10 lg:flex-row lg:gap-20", children: [
|
|
1674
1677
|
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1676,12 +1679,12 @@ function FooterSocialApps({
|
|
|
1676
1679
|
{
|
|
1677
1680
|
logo,
|
|
1678
1681
|
logoClassName: "flex items-center gap-2",
|
|
1679
|
-
logoImageClassName: "h-10",
|
|
1682
|
+
logoImageClassName: "w-auto object-contain h-8 md:h-10",
|
|
1680
1683
|
optixFlowConfig
|
|
1681
1684
|
}
|
|
1682
1685
|
) }),
|
|
1683
|
-
sections && sections.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 gap-
|
|
1684
|
-
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
1686
|
+
sections && sections.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 gap-4 md:gap-12 grid-cols-2 md:grid-cols-3", children: sectionsContent }),
|
|
1687
|
+
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 md:gap-12", children: [
|
|
1685
1688
|
socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1686
1689
|
socialLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-3 font-bold", children: socialLabel }),
|
|
1687
1690
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex items-center gap-2", children: socialLinksContent })
|
|
@@ -55,6 +55,10 @@ interface FooterSocialAppsProps {
|
|
|
55
55
|
copyright?: string;
|
|
56
56
|
/** Section background variant */
|
|
57
57
|
background?: SectionBackground;
|
|
58
|
+
/**
|
|
59
|
+
* Additional CSS classes for the container
|
|
60
|
+
*/
|
|
61
|
+
containerClassName?: string;
|
|
58
62
|
/** Section spacing variant */
|
|
59
63
|
spacing?: SectionSpacing;
|
|
60
64
|
/** Optional background pattern */
|
|
@@ -74,6 +78,6 @@ interface FooterSocialAppsProps {
|
|
|
74
78
|
* along with multi-column navigation. Ideal for products with mobile apps, community-focused
|
|
75
79
|
* platforms, and businesses that want to highlight their cross-platform presence.
|
|
76
80
|
*/
|
|
77
|
-
declare function FooterSocialApps({ logo, className, sections, socialLinks, appLinks, socialLabel, appLabel, copyright, background, spacing, pattern, patternOpacity, optixFlowConfig, }: FooterSocialAppsProps): React.JSX.Element;
|
|
81
|
+
declare function FooterSocialApps({ logo, className, sections, socialLinks, appLinks, socialLabel, appLabel, copyright, background, containerClassName, spacing, pattern, patternOpacity, optixFlowConfig, }: FooterSocialAppsProps): React.JSX.Element;
|
|
78
82
|
|
|
79
83
|
export { FooterSocialApps, type FooterSocialAppsAppLink, type FooterSocialAppsProps, type FooterSocialAppsSection };
|
|
@@ -55,6 +55,10 @@ interface FooterSocialAppsProps {
|
|
|
55
55
|
copyright?: string;
|
|
56
56
|
/** Section background variant */
|
|
57
57
|
background?: SectionBackground;
|
|
58
|
+
/**
|
|
59
|
+
* Additional CSS classes for the container
|
|
60
|
+
*/
|
|
61
|
+
containerClassName?: string;
|
|
58
62
|
/** Section spacing variant */
|
|
59
63
|
spacing?: SectionSpacing;
|
|
60
64
|
/** Optional background pattern */
|
|
@@ -74,6 +78,6 @@ interface FooterSocialAppsProps {
|
|
|
74
78
|
* along with multi-column navigation. Ideal for products with mobile apps, community-focused
|
|
75
79
|
* platforms, and businesses that want to highlight their cross-platform presence.
|
|
76
80
|
*/
|
|
77
|
-
declare function FooterSocialApps({ logo, className, sections, socialLinks, appLinks, socialLabel, appLabel, copyright, background, spacing, pattern, patternOpacity, optixFlowConfig, }: FooterSocialAppsProps): React.JSX.Element;
|
|
81
|
+
declare function FooterSocialApps({ logo, className, sections, socialLinks, appLinks, socialLabel, appLabel, copyright, background, containerClassName, spacing, pattern, patternOpacity, optixFlowConfig, }: FooterSocialAppsProps): React.JSX.Element;
|
|
78
82
|
|
|
79
83
|
export { FooterSocialApps, type FooterSocialAppsAppLink, type FooterSocialAppsProps, type FooterSocialAppsSection };
|
|
@@ -619,7 +619,7 @@ function FooterCopyright({
|
|
|
619
619
|
currentYear,
|
|
620
620
|
" ",
|
|
621
621
|
copyright,
|
|
622
|
-
"
|
|
622
|
+
" All Rights Reserved."
|
|
623
623
|
] });
|
|
624
624
|
}
|
|
625
625
|
var brandAttributionOptions = [
|
|
@@ -1570,6 +1570,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1570
1570
|
Pressable,
|
|
1571
1571
|
{
|
|
1572
1572
|
ref,
|
|
1573
|
+
href,
|
|
1573
1574
|
"aria-label": accessibleLabel,
|
|
1574
1575
|
className: cn(
|
|
1575
1576
|
"inline-flex items-center justify-center transition-colors",
|
|
@@ -1601,14 +1602,15 @@ function FooterSocialApps({
|
|
|
1601
1602
|
appLabel,
|
|
1602
1603
|
copyright,
|
|
1603
1604
|
background,
|
|
1604
|
-
|
|
1605
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1606
|
+
spacing = "py-6 md:py-32",
|
|
1605
1607
|
pattern,
|
|
1606
1608
|
patternOpacity,
|
|
1607
1609
|
optixFlowConfig
|
|
1608
1610
|
}) {
|
|
1609
1611
|
const sectionsContent = useMemo(() => {
|
|
1610
1612
|
if (!sections || sections.length === 0) return null;
|
|
1611
|
-
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { children: [
|
|
1613
|
+
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: "mt-8 md:mt-0", children: [
|
|
1612
1614
|
/* @__PURE__ */ jsx("h3", { className: "mb-4 font-bold", children: section.title }),
|
|
1613
1615
|
/* @__PURE__ */ jsx("ul", { className: "space-y-4", children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsx("li", { className: "font-medium ", children: /* @__PURE__ */ jsx(Pressable, { href: link.href, children: link.name }) }, linkIdx)) })
|
|
1614
1616
|
] }, sectionIdx));
|
|
@@ -1648,6 +1650,7 @@ function FooterSocialApps({
|
|
|
1648
1650
|
pattern,
|
|
1649
1651
|
patternOpacity,
|
|
1650
1652
|
className: cn(className),
|
|
1653
|
+
containerClassName,
|
|
1651
1654
|
children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("footer", { children: [
|
|
1652
1655
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-between gap-10 lg:flex-row lg:gap-20", children: [
|
|
1653
1656
|
logo && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ jsx(
|
|
@@ -1655,12 +1658,12 @@ function FooterSocialApps({
|
|
|
1655
1658
|
{
|
|
1656
1659
|
logo,
|
|
1657
1660
|
logoClassName: "flex items-center gap-2",
|
|
1658
|
-
logoImageClassName: "h-10",
|
|
1661
|
+
logoImageClassName: "w-auto object-contain h-8 md:h-10",
|
|
1659
1662
|
optixFlowConfig
|
|
1660
1663
|
}
|
|
1661
1664
|
) }),
|
|
1662
|
-
sections && sections.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid flex-1 gap-
|
|
1663
|
-
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
1665
|
+
sections && sections.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid flex-1 gap-4 md:gap-12 grid-cols-2 md:grid-cols-3", children: sectionsContent }),
|
|
1666
|
+
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 md:gap-12", children: [
|
|
1664
1667
|
socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
1665
1668
|
socialLabel && /* @__PURE__ */ jsx("p", { className: "mb-3 font-bold", children: socialLabel }),
|
|
1666
1669
|
/* @__PURE__ */ jsx("ul", { className: "flex items-center gap-2", children: socialLinksContent })
|
|
@@ -535,7 +535,7 @@ function FooterCopyright({
|
|
|
535
535
|
currentYear,
|
|
536
536
|
" ",
|
|
537
537
|
copyright,
|
|
538
|
-
"
|
|
538
|
+
" All Rights Reserved."
|
|
539
539
|
] });
|
|
540
540
|
}
|
|
541
541
|
var brandAttributionOptions = [
|
|
@@ -1591,6 +1591,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1591
1591
|
Pressable,
|
|
1592
1592
|
{
|
|
1593
1593
|
ref,
|
|
1594
|
+
href,
|
|
1594
1595
|
"aria-label": accessibleLabel,
|
|
1595
1596
|
className: cn(
|
|
1596
1597
|
"inline-flex items-center justify-center transition-colors",
|
|
@@ -514,7 +514,7 @@ function FooterCopyright({
|
|
|
514
514
|
currentYear,
|
|
515
515
|
" ",
|
|
516
516
|
copyright,
|
|
517
|
-
"
|
|
517
|
+
" All Rights Reserved."
|
|
518
518
|
] });
|
|
519
519
|
}
|
|
520
520
|
var brandAttributionOptions = [
|
|
@@ -1570,6 +1570,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1570
1570
|
Pressable,
|
|
1571
1571
|
{
|
|
1572
1572
|
ref,
|
|
1573
|
+
href,
|
|
1573
1574
|
"aria-label": accessibleLabel,
|
|
1574
1575
|
className: cn(
|
|
1575
1576
|
"inline-flex items-center justify-center transition-colors",
|
|
@@ -541,7 +541,7 @@ function FooterCopyright({
|
|
|
541
541
|
currentYear,
|
|
542
542
|
" ",
|
|
543
543
|
copyright,
|
|
544
|
-
"
|
|
544
|
+
" All Rights Reserved."
|
|
545
545
|
] });
|
|
546
546
|
}
|
|
547
547
|
var brandAttributionOptions = [
|
|
@@ -1222,6 +1222,7 @@ var SocialLinkIcon = React__namespace.forwardRef(
|
|
|
1222
1222
|
Pressable,
|
|
1223
1223
|
{
|
|
1224
1224
|
ref,
|
|
1225
|
+
href,
|
|
1225
1226
|
"aria-label": accessibleLabel,
|
|
1226
1227
|
className: cn(
|
|
1227
1228
|
"inline-flex items-center justify-center transition-colors",
|
|
@@ -519,7 +519,7 @@ function FooterCopyright({
|
|
|
519
519
|
currentYear,
|
|
520
520
|
" ",
|
|
521
521
|
copyright,
|
|
522
|
-
"
|
|
522
|
+
" All Rights Reserved."
|
|
523
523
|
] });
|
|
524
524
|
}
|
|
525
525
|
var brandAttributionOptions = [
|
|
@@ -1200,6 +1200,7 @@ var SocialLinkIcon = React.forwardRef(
|
|
|
1200
1200
|
Pressable,
|
|
1201
1201
|
{
|
|
1202
1202
|
ref,
|
|
1203
|
+
href,
|
|
1203
1204
|
"aria-label": accessibleLabel,
|
|
1204
1205
|
className: cn(
|
|
1205
1206
|
"inline-flex items-center justify-center transition-colors",
|
package/dist/index.cjs
CHANGED
|
@@ -1735,6 +1735,7 @@ var SocialLinkIcon = React4__namespace.forwardRef(
|
|
|
1735
1735
|
Pressable,
|
|
1736
1736
|
{
|
|
1737
1737
|
ref,
|
|
1738
|
+
href,
|
|
1738
1739
|
"aria-label": accessibleLabel,
|
|
1739
1740
|
className: cn(
|
|
1740
1741
|
"inline-flex items-center justify-center transition-colors",
|
|
@@ -3005,7 +3006,7 @@ function FooterCopyright({
|
|
|
3005
3006
|
currentYear,
|
|
3006
3007
|
" ",
|
|
3007
3008
|
copyright,
|
|
3008
|
-
"
|
|
3009
|
+
" All Rights Reserved."
|
|
3009
3010
|
] });
|
|
3010
3011
|
}
|
|
3011
3012
|
var brandAttributionOptions = [
|
|
@@ -3548,7 +3549,7 @@ function FooterLinksGrid({
|
|
|
3548
3549
|
className: cn(className),
|
|
3549
3550
|
containerClassName,
|
|
3550
3551
|
children: /* @__PURE__ */ jsxRuntime.jsxs("footer", { children: [
|
|
3551
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-
|
|
3552
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-8 md:grid-cols-6", children: [
|
|
3552
3553
|
(logo || tagline) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex space-y-2 col-span-2 flex-col mb-6 md:mb-0 pr-0 md:pr-6", children: [
|
|
3553
3554
|
logo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3554
3555
|
FooterLogo,
|
|
@@ -3558,7 +3559,7 @@ function FooterLinksGrid({
|
|
|
3558
3559
|
optixFlowConfig
|
|
3559
3560
|
}
|
|
3560
3561
|
),
|
|
3561
|
-
tagline && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4
|
|
3562
|
+
tagline && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4", children: tagline })
|
|
3562
3563
|
] }),
|
|
3563
3564
|
menuItems && menuItems.length > 0 && menuItems.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3564
3565
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 font-bold", children: section.title }),
|
|
@@ -3578,7 +3579,7 @@ function FooterLinksGrid({
|
|
|
3578
3579
|
}
|
|
3579
3580
|
)
|
|
3580
3581
|
] }),
|
|
3581
|
-
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "
|
|
3582
|
+
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center", children: bottomLinks.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "underline", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.url, children: link.text }) }, linkIdx)) })
|
|
3582
3583
|
] })
|
|
3583
3584
|
] })
|
|
3584
3585
|
}
|
|
@@ -3787,14 +3788,15 @@ function FooterSocialApps({
|
|
|
3787
3788
|
appLabel,
|
|
3788
3789
|
copyright,
|
|
3789
3790
|
background,
|
|
3790
|
-
|
|
3791
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3792
|
+
spacing = "py-6 md:py-32",
|
|
3791
3793
|
pattern,
|
|
3792
3794
|
patternOpacity,
|
|
3793
3795
|
optixFlowConfig
|
|
3794
3796
|
}) {
|
|
3795
3797
|
const sectionsContent = React4.useMemo(() => {
|
|
3796
3798
|
if (!sections || sections.length === 0) return null;
|
|
3797
|
-
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3799
|
+
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 md:mt-0", children: [
|
|
3798
3800
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 font-bold", children: section.title }),
|
|
3799
3801
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-4", children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "font-medium ", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.href, children: link.name }) }, linkIdx)) })
|
|
3800
3802
|
] }, sectionIdx));
|
|
@@ -3834,6 +3836,7 @@ function FooterSocialApps({
|
|
|
3834
3836
|
pattern,
|
|
3835
3837
|
patternOpacity,
|
|
3836
3838
|
className: cn(className),
|
|
3839
|
+
containerClassName,
|
|
3837
3840
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs("footer", { children: [
|
|
3838
3841
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-between gap-10 lg:flex-row lg:gap-20", children: [
|
|
3839
3842
|
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3841,12 +3844,12 @@ function FooterSocialApps({
|
|
|
3841
3844
|
{
|
|
3842
3845
|
logo,
|
|
3843
3846
|
logoClassName: "flex items-center gap-2",
|
|
3844
|
-
logoImageClassName: "h-10",
|
|
3847
|
+
logoImageClassName: "w-auto object-contain h-8 md:h-10",
|
|
3845
3848
|
optixFlowConfig
|
|
3846
3849
|
}
|
|
3847
3850
|
) }),
|
|
3848
|
-
sections && sections.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 gap-
|
|
3849
|
-
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
3851
|
+
sections && sections.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 gap-4 md:gap-12 grid-cols-2 md:grid-cols-3", children: sectionsContent }),
|
|
3852
|
+
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 md:gap-12", children: [
|
|
3850
3853
|
socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3851
3854
|
socialLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-3 font-bold", children: socialLabel }),
|
|
3852
3855
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex items-center gap-2", children: socialLinksContent })
|
|
@@ -3927,20 +3930,17 @@ function FooterSimpleCentered({
|
|
|
3927
3930
|
]);
|
|
3928
3931
|
const bottomLinksContent = React4.useMemo(() => {
|
|
3929
3932
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
3930
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
}
|
|
3942
|
-
)
|
|
3943
|
-
] }, link.href));
|
|
3933
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(React4__namespace.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3934
|
+
Pressable,
|
|
3935
|
+
{
|
|
3936
|
+
href: link.href,
|
|
3937
|
+
className: cn(
|
|
3938
|
+
"text-sm opacity-80 transition-colors hover:opacity-100",
|
|
3939
|
+
bottomLinkClassName
|
|
3940
|
+
),
|
|
3941
|
+
children: link.text
|
|
3942
|
+
}
|
|
3943
|
+
) }, link.href));
|
|
3944
3944
|
}, [bottomLinks, bottomLinkClassName]);
|
|
3945
3945
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3946
3946
|
Section,
|
|
@@ -4026,7 +4026,7 @@ function FooterSimpleCentered({
|
|
|
4026
4026
|
"div",
|
|
4027
4027
|
{
|
|
4028
4028
|
className: cn(
|
|
4029
|
-
"
|
|
4029
|
+
"pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center w-full md:w-fit",
|
|
4030
4030
|
bottomLinksClassName
|
|
4031
4031
|
),
|
|
4032
4032
|
children: bottomLinksContent
|
|
@@ -4118,7 +4118,7 @@ function FooterBrandDescription({
|
|
|
4118
4118
|
"p",
|
|
4119
4119
|
{
|
|
4120
4120
|
className: cn(
|
|
4121
|
-
"max-w-[70%] text-sm opacity-80",
|
|
4121
|
+
"max-w-full md:max-w-[70%] text-sm opacity-80",
|
|
4122
4122
|
descriptionClassName
|
|
4123
4123
|
),
|
|
4124
4124
|
children: description
|
|
@@ -4152,7 +4152,7 @@ function FooterBrandDescription({
|
|
|
4152
4152
|
"div",
|
|
4153
4153
|
{
|
|
4154
4154
|
className: cn(
|
|
4155
|
-
"grid w-full gap-6 md:grid-cols-3 lg:gap-20",
|
|
4155
|
+
"grid w-full gap-6 grid-cols-2 md:grid-cols-3 lg:gap-20",
|
|
4156
4156
|
navGridClassName
|
|
4157
4157
|
),
|
|
4158
4158
|
children: sections.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(navSectionClassName), children: [
|
|
@@ -4187,7 +4187,7 @@ function FooterBrandDescription({
|
|
|
4187
4187
|
"div",
|
|
4188
4188
|
{
|
|
4189
4189
|
className: cn(
|
|
4190
|
-
"mt-8 flex flex-col justify-between gap-4 border-t py-8 text-xs font-medium opacity-70 md:flex-row md:items-center md:text-left",
|
|
4190
|
+
"mt-8 flex flex-col justify-between gap-8 md:gap-4 border-t py-8 text-xs font-medium opacity-70 md:flex-row md:items-center md:text-left",
|
|
4191
4191
|
bottomClassName
|
|
4192
4192
|
),
|
|
4193
4193
|
children: [
|
|
@@ -4216,7 +4216,7 @@ function FooterBrandDescription({
|
|
|
4216
4216
|
"ul",
|
|
4217
4217
|
{
|
|
4218
4218
|
className: cn(
|
|
4219
|
-
"order-1
|
|
4219
|
+
"order-1 md:order-2 pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center",
|
|
4220
4220
|
legalLinksClassName
|
|
4221
4221
|
),
|
|
4222
4222
|
children: legalLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(
|
package/dist/index.js
CHANGED
|
@@ -1712,6 +1712,7 @@ var SocialLinkIcon = React4.forwardRef(
|
|
|
1712
1712
|
Pressable,
|
|
1713
1713
|
{
|
|
1714
1714
|
ref,
|
|
1715
|
+
href,
|
|
1715
1716
|
"aria-label": accessibleLabel,
|
|
1716
1717
|
className: cn(
|
|
1717
1718
|
"inline-flex items-center justify-center transition-colors",
|
|
@@ -2982,7 +2983,7 @@ function FooterCopyright({
|
|
|
2982
2983
|
currentYear,
|
|
2983
2984
|
" ",
|
|
2984
2985
|
copyright,
|
|
2985
|
-
"
|
|
2986
|
+
" All Rights Reserved."
|
|
2986
2987
|
] });
|
|
2987
2988
|
}
|
|
2988
2989
|
var brandAttributionOptions = [
|
|
@@ -3525,7 +3526,7 @@ function FooterLinksGrid({
|
|
|
3525
3526
|
className: cn(className),
|
|
3526
3527
|
containerClassName,
|
|
3527
3528
|
children: /* @__PURE__ */ jsxs("footer", { children: [
|
|
3528
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-
|
|
3529
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8 md:grid-cols-6", children: [
|
|
3529
3530
|
(logo || tagline) && /* @__PURE__ */ jsxs("div", { className: "flex space-y-2 col-span-2 flex-col mb-6 md:mb-0 pr-0 md:pr-6", children: [
|
|
3530
3531
|
logo && /* @__PURE__ */ jsx(
|
|
3531
3532
|
FooterLogo,
|
|
@@ -3535,7 +3536,7 @@ function FooterLinksGrid({
|
|
|
3535
3536
|
optixFlowConfig
|
|
3536
3537
|
}
|
|
3537
3538
|
),
|
|
3538
|
-
tagline && /* @__PURE__ */ jsx("p", { className: "mt-4
|
|
3539
|
+
tagline && /* @__PURE__ */ jsx("p", { className: "mt-4", children: tagline })
|
|
3539
3540
|
] }),
|
|
3540
3541
|
menuItems && menuItems.length > 0 && menuItems.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { children: [
|
|
3541
3542
|
/* @__PURE__ */ jsx("h3", { className: "mb-4 font-bold", children: section.title }),
|
|
@@ -3555,7 +3556,7 @@ function FooterLinksGrid({
|
|
|
3555
3556
|
}
|
|
3556
3557
|
)
|
|
3557
3558
|
] }),
|
|
3558
|
-
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsx("ul", { className: "
|
|
3559
|
+
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsx("ul", { className: "pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center", children: bottomLinks.map((link, linkIdx) => /* @__PURE__ */ jsx("li", { className: "underline", children: /* @__PURE__ */ jsx(Pressable, { href: link.url, children: link.text }) }, linkIdx)) })
|
|
3559
3560
|
] })
|
|
3560
3561
|
] })
|
|
3561
3562
|
}
|
|
@@ -3764,14 +3765,15 @@ function FooterSocialApps({
|
|
|
3764
3765
|
appLabel,
|
|
3765
3766
|
copyright,
|
|
3766
3767
|
background,
|
|
3767
|
-
|
|
3768
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3769
|
+
spacing = "py-6 md:py-32",
|
|
3768
3770
|
pattern,
|
|
3769
3771
|
patternOpacity,
|
|
3770
3772
|
optixFlowConfig
|
|
3771
3773
|
}) {
|
|
3772
3774
|
const sectionsContent = useMemo(() => {
|
|
3773
3775
|
if (!sections || sections.length === 0) return null;
|
|
3774
|
-
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { children: [
|
|
3776
|
+
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: "mt-8 md:mt-0", children: [
|
|
3775
3777
|
/* @__PURE__ */ jsx("h3", { className: "mb-4 font-bold", children: section.title }),
|
|
3776
3778
|
/* @__PURE__ */ jsx("ul", { className: "space-y-4", children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsx("li", { className: "font-medium ", children: /* @__PURE__ */ jsx(Pressable, { href: link.href, children: link.name }) }, linkIdx)) })
|
|
3777
3779
|
] }, sectionIdx));
|
|
@@ -3811,6 +3813,7 @@ function FooterSocialApps({
|
|
|
3811
3813
|
pattern,
|
|
3812
3814
|
patternOpacity,
|
|
3813
3815
|
className: cn(className),
|
|
3816
|
+
containerClassName,
|
|
3814
3817
|
children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("footer", { children: [
|
|
3815
3818
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-between gap-10 lg:flex-row lg:gap-20", children: [
|
|
3816
3819
|
logo && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ jsx(
|
|
@@ -3818,12 +3821,12 @@ function FooterSocialApps({
|
|
|
3818
3821
|
{
|
|
3819
3822
|
logo,
|
|
3820
3823
|
logoClassName: "flex items-center gap-2",
|
|
3821
|
-
logoImageClassName: "h-10",
|
|
3824
|
+
logoImageClassName: "w-auto object-contain h-8 md:h-10",
|
|
3822
3825
|
optixFlowConfig
|
|
3823
3826
|
}
|
|
3824
3827
|
) }),
|
|
3825
|
-
sections && sections.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid flex-1 gap-
|
|
3826
|
-
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
3828
|
+
sections && sections.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid flex-1 gap-4 md:gap-12 grid-cols-2 md:grid-cols-3", children: sectionsContent }),
|
|
3829
|
+
(socialLinks && socialLinks.length > 0 || appLinks && appLinks.length > 0) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 md:gap-12", children: [
|
|
3827
3830
|
socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
3828
3831
|
socialLabel && /* @__PURE__ */ jsx("p", { className: "mb-3 font-bold", children: socialLabel }),
|
|
3829
3832
|
/* @__PURE__ */ jsx("ul", { className: "flex items-center gap-2", children: socialLinksContent })
|
|
@@ -3904,20 +3907,17 @@ function FooterSimpleCentered({
|
|
|
3904
3907
|
]);
|
|
3905
3908
|
const bottomLinksContent = useMemo(() => {
|
|
3906
3909
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
3907
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
}
|
|
3919
|
-
)
|
|
3920
|
-
] }, link.href));
|
|
3910
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(React4.Fragment, { children: /* @__PURE__ */ jsx(
|
|
3911
|
+
Pressable,
|
|
3912
|
+
{
|
|
3913
|
+
href: link.href,
|
|
3914
|
+
className: cn(
|
|
3915
|
+
"text-sm opacity-80 transition-colors hover:opacity-100",
|
|
3916
|
+
bottomLinkClassName
|
|
3917
|
+
),
|
|
3918
|
+
children: link.text
|
|
3919
|
+
}
|
|
3920
|
+
) }, link.href));
|
|
3921
3921
|
}, [bottomLinks, bottomLinkClassName]);
|
|
3922
3922
|
return /* @__PURE__ */ jsx(
|
|
3923
3923
|
Section,
|
|
@@ -4003,7 +4003,7 @@ function FooterSimpleCentered({
|
|
|
4003
4003
|
"div",
|
|
4004
4004
|
{
|
|
4005
4005
|
className: cn(
|
|
4006
|
-
"
|
|
4006
|
+
"pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center w-full md:w-fit",
|
|
4007
4007
|
bottomLinksClassName
|
|
4008
4008
|
),
|
|
4009
4009
|
children: bottomLinksContent
|
|
@@ -4095,7 +4095,7 @@ function FooterBrandDescription({
|
|
|
4095
4095
|
"p",
|
|
4096
4096
|
{
|
|
4097
4097
|
className: cn(
|
|
4098
|
-
"max-w-[70%] text-sm opacity-80",
|
|
4098
|
+
"max-w-full md:max-w-[70%] text-sm opacity-80",
|
|
4099
4099
|
descriptionClassName
|
|
4100
4100
|
),
|
|
4101
4101
|
children: description
|
|
@@ -4129,7 +4129,7 @@ function FooterBrandDescription({
|
|
|
4129
4129
|
"div",
|
|
4130
4130
|
{
|
|
4131
4131
|
className: cn(
|
|
4132
|
-
"grid w-full gap-6 md:grid-cols-3 lg:gap-20",
|
|
4132
|
+
"grid w-full gap-6 grid-cols-2 md:grid-cols-3 lg:gap-20",
|
|
4133
4133
|
navGridClassName
|
|
4134
4134
|
),
|
|
4135
4135
|
children: sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: cn(navSectionClassName), children: [
|
|
@@ -4164,7 +4164,7 @@ function FooterBrandDescription({
|
|
|
4164
4164
|
"div",
|
|
4165
4165
|
{
|
|
4166
4166
|
className: cn(
|
|
4167
|
-
"mt-8 flex flex-col justify-between gap-4 border-t py-8 text-xs font-medium opacity-70 md:flex-row md:items-center md:text-left",
|
|
4167
|
+
"mt-8 flex flex-col justify-between gap-8 md:gap-4 border-t py-8 text-xs font-medium opacity-70 md:flex-row md:items-center md:text-left",
|
|
4168
4168
|
bottomClassName
|
|
4169
4169
|
),
|
|
4170
4170
|
children: [
|
|
@@ -4193,7 +4193,7 @@ function FooterBrandDescription({
|
|
|
4193
4193
|
"ul",
|
|
4194
4194
|
{
|
|
4195
4195
|
className: cn(
|
|
4196
|
-
"order-1
|
|
4196
|
+
"order-1 md:order-2 pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center",
|
|
4197
4197
|
legalLinksClassName
|
|
4198
4198
|
),
|
|
4199
4199
|
children: legalLinks.map((link, idx) => /* @__PURE__ */ jsx(
|