@opensite/ui 1.0.7 → 1.0.9
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/navbar-animated-preview.cjs +16 -16
- package/dist/navbar-animated-preview.js +16 -16
- package/dist/navbar-centered-menu.cjs +1 -1
- package/dist/navbar-centered-menu.js +1 -1
- package/dist/navbar-dark-icons.cjs +1 -1
- package/dist/navbar-dark-icons.js +1 -1
- package/dist/navbar-dropdown-menu.cjs +1 -1
- package/dist/navbar-dropdown-menu.js +1 -1
- package/dist/navbar-education-platform.cjs +278 -236
- package/dist/navbar-education-platform.d.cts +61 -36
- package/dist/navbar-education-platform.d.ts +61 -36
- package/dist/navbar-education-platform.js +279 -237
- package/dist/navbar-enterprise-mega.cjs +6 -6
- package/dist/navbar-enterprise-mega.js +6 -6
- package/dist/navbar-feature-grid.cjs +1 -1
- package/dist/navbar-feature-grid.js +1 -1
- package/dist/navbar-icon-links.cjs +2 -1
- package/dist/navbar-icon-links.js +2 -1
- package/dist/navbar-image-preview.cjs +129 -50
- package/dist/navbar-image-preview.js +128 -50
- package/dist/navbar-mega-menu.cjs +1 -1
- package/dist/navbar-mega-menu.js +1 -1
- package/dist/navbar-multi-column-groups.cjs +53 -49
- package/dist/navbar-multi-column-groups.js +53 -49
- package/dist/navbar-platform-resources.cjs +5 -4
- package/dist/navbar-platform-resources.js +5 -4
- package/dist/navbar-search-focused.cjs +1 -1
- package/dist/navbar-search-focused.js +1 -1
- package/dist/navbar-sidebar-mobile.cjs +235 -166
- package/dist/navbar-sidebar-mobile.js +236 -167
- package/dist/navbar-simple-links.cjs +228 -184
- package/dist/navbar-simple-links.d.cts +15 -3
- package/dist/navbar-simple-links.d.ts +15 -3
- package/dist/navbar-simple-links.js +228 -183
- package/dist/navbar-split-cta.cjs +3 -3
- package/dist/navbar-split-cta.js +3 -3
- package/dist/navbar-sticky-compact.cjs +1 -1
- package/dist/navbar-sticky-compact.js +1 -1
- package/dist/navbar-tabbed-sections.cjs +1 -1
- package/dist/navbar-tabbed-sections.js +1 -1
- package/dist/navbar-transparent-overlay.cjs +244 -123
- package/dist/navbar-transparent-overlay.d.cts +30 -1
- package/dist/navbar-transparent-overlay.d.ts +30 -1
- package/dist/navbar-transparent-overlay.js +244 -123
- package/dist/registry.cjs +1008 -894
- package/dist/registry.js +1008 -894
- package/package.json +1 -1
|
@@ -1167,7 +1167,7 @@ var NavbarMobileMenu = ({
|
|
|
1167
1167
|
"data-state": open ? "open" : "closed",
|
|
1168
1168
|
children: [
|
|
1169
1169
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
|
|
1170
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-
|
|
1170
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1171
1171
|
"button",
|
|
1172
1172
|
{
|
|
1173
1173
|
onClick: onClose,
|
|
@@ -1605,8 +1605,8 @@ var AnimatedImagePreviewDropdown = ({
|
|
|
1605
1605
|
updateImageClasses(0);
|
|
1606
1606
|
};
|
|
1607
1607
|
if (!links) return null;
|
|
1608
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-
|
|
1609
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid grid-cols-2 gap-
|
|
1608
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
1609
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid grid-cols-2 gap-4", children: links.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1610
1610
|
NavLink,
|
|
1611
1611
|
{
|
|
1612
1612
|
link,
|
|
@@ -1645,7 +1645,7 @@ var FeaturedCardsGridDropdown = ({
|
|
|
1645
1645
|
optixFlowConfig
|
|
1646
1646
|
}) => {
|
|
1647
1647
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1648
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-
|
|
1648
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-4 pb-8", children: featuredLinks?.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1649
1649
|
FeaturedLink,
|
|
1650
1650
|
{
|
|
1651
1651
|
link,
|
|
@@ -1662,7 +1662,7 @@ var GroupedLinksImageDropdown = ({
|
|
|
1662
1662
|
imageLink,
|
|
1663
1663
|
optixFlowConfig
|
|
1664
1664
|
}) => {
|
|
1665
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-
|
|
1665
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
1666
1666
|
/* @__PURE__ */ jsxRuntime.jsx(GroupLinks, { groupLinks }),
|
|
1667
1667
|
/* @__PURE__ */ jsxRuntime.jsx(FeaturedImageLink, { link: imageLink, optixFlowConfig })
|
|
1668
1668
|
] });
|
|
@@ -1683,9 +1683,9 @@ var GroupLinks = ({ groupLinks }) => {
|
|
|
1683
1683
|
};
|
|
1684
1684
|
if (!groupLinks) return null;
|
|
1685
1685
|
let linkIndex = 0;
|
|
1686
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1687
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs
|
|
1688
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-
|
|
1686
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-between gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1687
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs", children: group.label }),
|
|
1688
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
|
|
1689
1689
|
const idx = linkIndex++;
|
|
1690
1690
|
return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1691
1691
|
NavLink,
|
|
@@ -1713,7 +1713,7 @@ var FeaturedImageLink = ({
|
|
|
1713
1713
|
className: "overflow-hidden rounded-lg bg-muted",
|
|
1714
1714
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "size-full", children: [
|
|
1715
1715
|
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className: "absolute top-2 left-2", children: "New" }),
|
|
1716
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-
|
|
1716
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-4 pt-10", children: [
|
|
1717
1717
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold", children: link.label }),
|
|
1718
1718
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-[80%]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1719
1719
|
AspectRatio,
|
|
@@ -1725,7 +1725,7 @@ var FeaturedImageLink = ({
|
|
|
1725
1725
|
{
|
|
1726
1726
|
src: link.image,
|
|
1727
1727
|
alt: typeof link.label === "string" ? link.label : "",
|
|
1728
|
-
className: "size-full object-cover object-
|
|
1728
|
+
className: "size-full object-cover object-center",
|
|
1729
1729
|
optixFlowConfig
|
|
1730
1730
|
}
|
|
1731
1731
|
)
|
|
@@ -1741,7 +1741,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1741
1741
|
Pressable,
|
|
1742
1742
|
{
|
|
1743
1743
|
href: getLinkUrl(link),
|
|
1744
|
-
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-
|
|
1744
|
+
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-12",
|
|
1745
1745
|
children: [
|
|
1746
1746
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
1747
1747
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1749,12 +1749,12 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1749
1749
|
{
|
|
1750
1750
|
name: link.iconName,
|
|
1751
1751
|
size: 20,
|
|
1752
|
-
className: "m-auto stroke-
|
|
1752
|
+
className: "m-auto stroke-white"
|
|
1753
1753
|
}
|
|
1754
1754
|
) : null }),
|
|
1755
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
1756
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-semibold
|
|
1757
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium
|
|
1755
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 text-white text-shadow-lg", children: [
|
|
1756
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-semibold", children: link.label }),
|
|
1757
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium", children: link.description })
|
|
1758
1758
|
] })
|
|
1759
1759
|
] }),
|
|
1760
1760
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1762,7 +1762,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1762
1762
|
{
|
|
1763
1763
|
src: link.background,
|
|
1764
1764
|
alt: typeof link.label === "string" ? link.label : "",
|
|
1765
|
-
className: "absolute top-0 left-0 size-full object-cover object-
|
|
1765
|
+
className: "absolute top-0 left-0 size-full brightness-50 object-cover object-center opacity-90 transition-opacity duration-300 ease-in-out group-hover:opacity-100",
|
|
1766
1766
|
optixFlowConfig
|
|
1767
1767
|
}
|
|
1768
1768
|
)
|
|
@@ -1142,7 +1142,7 @@ var NavbarMobileMenu = ({
|
|
|
1142
1142
|
"data-state": open ? "open" : "closed",
|
|
1143
1143
|
children: [
|
|
1144
1144
|
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
1145
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-
|
|
1145
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
|
|
1146
1146
|
"button",
|
|
1147
1147
|
{
|
|
1148
1148
|
onClick: onClose,
|
|
@@ -1580,8 +1580,8 @@ var AnimatedImagePreviewDropdown = ({
|
|
|
1580
1580
|
updateImageClasses(0);
|
|
1581
1581
|
};
|
|
1582
1582
|
if (!links) return null;
|
|
1583
|
-
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-
|
|
1584
|
-
/* @__PURE__ */ jsx("ul", { className: "grid grid-cols-2 gap-
|
|
1583
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
1584
|
+
/* @__PURE__ */ jsx("ul", { className: "grid grid-cols-2 gap-4", children: links.map((link, index) => /* @__PURE__ */ jsx(
|
|
1585
1585
|
NavLink,
|
|
1586
1586
|
{
|
|
1587
1587
|
link,
|
|
@@ -1620,7 +1620,7 @@ var FeaturedCardsGridDropdown = ({
|
|
|
1620
1620
|
optixFlowConfig
|
|
1621
1621
|
}) => {
|
|
1622
1622
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
1623
|
-
/* @__PURE__ */ jsx("div", { className: "flex gap-
|
|
1623
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-4 pb-8", children: featuredLinks?.map((link, index) => /* @__PURE__ */ jsx(
|
|
1624
1624
|
FeaturedLink,
|
|
1625
1625
|
{
|
|
1626
1626
|
link,
|
|
@@ -1637,7 +1637,7 @@ var GroupedLinksImageDropdown = ({
|
|
|
1637
1637
|
imageLink,
|
|
1638
1638
|
optixFlowConfig
|
|
1639
1639
|
}) => {
|
|
1640
|
-
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-
|
|
1640
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
1641
1641
|
/* @__PURE__ */ jsx(GroupLinks, { groupLinks }),
|
|
1642
1642
|
/* @__PURE__ */ jsx(FeaturedImageLink, { link: imageLink, optixFlowConfig })
|
|
1643
1643
|
] });
|
|
@@ -1658,9 +1658,9 @@ var GroupLinks = ({ groupLinks }) => {
|
|
|
1658
1658
|
};
|
|
1659
1659
|
if (!groupLinks) return null;
|
|
1660
1660
|
let linkIndex = 0;
|
|
1661
|
-
return /* @__PURE__ */ jsx("div", { className: "
|
|
1662
|
-
/* @__PURE__ */ jsx("div", { className: "mb-4 text-xs
|
|
1663
|
-
/* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-
|
|
1661
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between gap-4", children: groupLinks.map((group, index1) => /* @__PURE__ */ jsxs("div", { children: [
|
|
1662
|
+
/* @__PURE__ */ jsx("div", { className: "mb-4 text-xs", children: group.label }),
|
|
1663
|
+
/* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-4", children: group.links.map((link, index2) => {
|
|
1664
1664
|
const idx = linkIndex++;
|
|
1665
1665
|
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1666
1666
|
NavLink,
|
|
@@ -1688,7 +1688,7 @@ var FeaturedImageLink = ({
|
|
|
1688
1688
|
className: "overflow-hidden rounded-lg bg-muted",
|
|
1689
1689
|
children: /* @__PURE__ */ jsxs("div", { className: "size-full", children: [
|
|
1690
1690
|
/* @__PURE__ */ jsx(Badge, { className: "absolute top-2 left-2", children: "New" }),
|
|
1691
|
-
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-
|
|
1691
|
+
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-4 pt-10", children: [
|
|
1692
1692
|
/* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold", children: link.label }),
|
|
1693
1693
|
/* @__PURE__ */ jsx("div", { className: "w-[80%]", children: /* @__PURE__ */ jsx(
|
|
1694
1694
|
AspectRatio,
|
|
@@ -1700,7 +1700,7 @@ var FeaturedImageLink = ({
|
|
|
1700
1700
|
{
|
|
1701
1701
|
src: link.image,
|
|
1702
1702
|
alt: typeof link.label === "string" ? link.label : "",
|
|
1703
|
-
className: "size-full object-cover object-
|
|
1703
|
+
className: "size-full object-cover object-center",
|
|
1704
1704
|
optixFlowConfig
|
|
1705
1705
|
}
|
|
1706
1706
|
)
|
|
@@ -1716,7 +1716,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1716
1716
|
Pressable,
|
|
1717
1717
|
{
|
|
1718
1718
|
href: getLinkUrl(link),
|
|
1719
|
-
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-
|
|
1719
|
+
className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-12",
|
|
1720
1720
|
children: [
|
|
1721
1721
|
/* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
|
|
1722
1722
|
/* @__PURE__ */ jsx("div", { className: "flex size-12 shrink-0 rounded-lg border bg-background shadow-lg", children: link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsx(
|
|
@@ -1724,12 +1724,12 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1724
1724
|
{
|
|
1725
1725
|
name: link.iconName,
|
|
1726
1726
|
size: 20,
|
|
1727
|
-
className: "m-auto stroke-
|
|
1727
|
+
className: "m-auto stroke-white"
|
|
1728
1728
|
}
|
|
1729
1729
|
) : null }),
|
|
1730
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
1731
|
-
/* @__PURE__ */ jsx("div", { className: "text-lg font-semibold
|
|
1732
|
-
/* @__PURE__ */ jsx("div", { className: "font-medium
|
|
1730
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-white text-shadow-lg", children: [
|
|
1731
|
+
/* @__PURE__ */ jsx("div", { className: "text-lg font-semibold", children: link.label }),
|
|
1732
|
+
/* @__PURE__ */ jsx("div", { className: "font-medium", children: link.description })
|
|
1733
1733
|
] })
|
|
1734
1734
|
] }),
|
|
1735
1735
|
/* @__PURE__ */ jsx(
|
|
@@ -1737,7 +1737,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
|
|
|
1737
1737
|
{
|
|
1738
1738
|
src: link.background,
|
|
1739
1739
|
alt: typeof link.label === "string" ? link.label : "",
|
|
1740
|
-
className: "absolute top-0 left-0 size-full object-cover object-
|
|
1740
|
+
className: "absolute top-0 left-0 size-full brightness-50 object-cover object-center opacity-90 transition-opacity duration-300 ease-in-out group-hover:opacity-100",
|
|
1741
1741
|
optixFlowConfig
|
|
1742
1742
|
}
|
|
1743
1743
|
)
|
|
@@ -1115,7 +1115,7 @@ var NavbarMobileMenu = ({
|
|
|
1115
1115
|
"data-state": open ? "open" : "closed",
|
|
1116
1116
|
children: [
|
|
1117
1117
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
|
|
1118
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-
|
|
1118
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1119
1119
|
"button",
|
|
1120
1120
|
{
|
|
1121
1121
|
onClick: onClose,
|
|
@@ -1092,7 +1092,7 @@ var NavbarMobileMenu = ({
|
|
|
1092
1092
|
"data-state": open ? "open" : "closed",
|
|
1093
1093
|
children: [
|
|
1094
1094
|
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
1095
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-
|
|
1095
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
|
|
1096
1096
|
"button",
|
|
1097
1097
|
{
|
|
1098
1098
|
onClick: onClose,
|
|
@@ -1162,7 +1162,7 @@ var NavbarMobileMenu = ({
|
|
|
1162
1162
|
"data-state": open ? "open" : "closed",
|
|
1163
1163
|
children: [
|
|
1164
1164
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
|
|
1165
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-
|
|
1165
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1166
1166
|
"button",
|
|
1167
1167
|
{
|
|
1168
1168
|
onClick: onClose,
|
|
@@ -1139,7 +1139,7 @@ var NavbarMobileMenu = ({
|
|
|
1139
1139
|
"data-state": open ? "open" : "closed",
|
|
1140
1140
|
children: [
|
|
1141
1141
|
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
1142
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-
|
|
1142
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
|
|
1143
1143
|
"button",
|
|
1144
1144
|
{
|
|
1145
1145
|
onClick: onClose,
|
|
@@ -1162,7 +1162,7 @@ var NavbarMobileMenu = ({
|
|
|
1162
1162
|
"data-state": open ? "open" : "closed",
|
|
1163
1163
|
children: [
|
|
1164
1164
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
|
|
1165
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-
|
|
1165
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1166
1166
|
"button",
|
|
1167
1167
|
{
|
|
1168
1168
|
onClick: onClose,
|
|
@@ -1139,7 +1139,7 @@ var NavbarMobileMenu = ({
|
|
|
1139
1139
|
"data-state": open ? "open" : "closed",
|
|
1140
1140
|
children: [
|
|
1141
1141
|
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
1142
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-
|
|
1142
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 right-0 p-4 bg-background flex justify-end items-center z-10 w-screen", children: /* @__PURE__ */ jsxs(
|
|
1143
1143
|
"button",
|
|
1144
1144
|
{
|
|
1145
1145
|
onClick: onClose,
|