@opensite/ui 1.1.5 → 1.1.7

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.
@@ -1542,7 +1542,7 @@ var DesktopMenuItem = ({
1542
1542
  if (hasDropdown) {
1543
1543
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
1544
1544
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
1545
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent(item, optixFlowConfig) }) }) })
1545
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-[calc(100vw-2rem)] max-w-6xl animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: renderDropdownContent(item, optixFlowConfig) }) })
1546
1546
  ] }, `desktop-menu-item-${index}`);
1547
1547
  }
1548
1548
  return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -1517,7 +1517,7 @@ var DesktopMenuItem = ({
1517
1517
  if (hasDropdown) {
1518
1518
  return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
1519
1519
  /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
1520
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsx("div", { className: "w-full animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent(item, optixFlowConfig) }) }) })
1520
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsx("div", { className: "w-[calc(100vw-2rem)] max-w-6xl animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: renderDropdownContent(item, optixFlowConfig) }) })
1521
1521
  ] }, `desktop-menu-item-${index}`);
1522
1522
  }
1523
1523
  return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
@@ -1479,8 +1479,8 @@ var NavbarEducationPlatform = ({
1479
1479
  open: isOpen,
1480
1480
  onClose: handleMobileMenuClose,
1481
1481
  menu: menu ?? [],
1482
- mobileAuthActions,
1483
- mobileAuthActionsSlot,
1482
+ mobileAuthActions: mobileAuthActions ?? authActions,
1483
+ mobileAuthActionsSlot: mobileAuthActionsSlot ?? authActionsSlot,
1484
1484
  mobileMenuClassName
1485
1485
  }
1486
1486
  )
@@ -1455,8 +1455,8 @@ var NavbarEducationPlatform = ({
1455
1455
  open: isOpen,
1456
1456
  onClose: handleMobileMenuClose,
1457
1457
  menu: menu ?? [],
1458
- mobileAuthActions,
1459
- mobileAuthActionsSlot,
1458
+ mobileAuthActions: mobileAuthActions ?? authActions,
1459
+ mobileAuthActionsSlot: mobileAuthActionsSlot ?? authActionsSlot,
1460
1460
  mobileMenuClassName
1461
1461
  }
1462
1462
  )
@@ -1413,7 +1413,7 @@ var NavbarTabbedSections = ({
1413
1413
  (item, index) => item.tabs ? /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
1414
1414
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent hover:bg-muted", children: item.title }),
1415
1415
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsxRuntime.jsxs(Tabs, { defaultValue: item.tabs[0]?.id, className: "w-[600px]", children: [
1416
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b-2 px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
1416
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
1417
1417
  TabsTrigger,
1418
1418
  {
1419
1419
  value: tab.id,
@@ -1389,7 +1389,7 @@ var NavbarTabbedSections = ({
1389
1389
  (item, index) => item.tabs ? /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
1390
1390
  /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent hover:bg-muted", children: item.title }),
1391
1391
  /* @__PURE__ */ jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsxs(Tabs, { defaultValue: item.tabs[0]?.id, className: "w-[600px]", children: [
1392
- /* @__PURE__ */ jsx("div", { className: "border-b-2 px-4 pt-2", children: /* @__PURE__ */ jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsx(
1392
+ /* @__PURE__ */ jsx("div", { className: "px-4 pt-2", children: /* @__PURE__ */ jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsx(
1393
1393
  TabsTrigger,
1394
1394
  {
1395
1395
  value: tab.id,
package/dist/registry.cjs CHANGED
@@ -60716,7 +60716,7 @@ var DesktopMenuItem5 = ({
60716
60716
  if (hasDropdown) {
60717
60717
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
60718
60718
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
60719
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent2(item, optixFlowConfig) }) }) })
60719
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-[calc(100vw-2rem)] max-w-6xl animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: renderDropdownContent2(item, optixFlowConfig) }) })
60720
60720
  ] }, `desktop-menu-item-${index}`);
60721
60721
  }
60722
60722
  return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -62186,8 +62186,8 @@ var NavbarEducationPlatform = ({
62186
62186
  open: isOpen,
62187
62187
  onClose: handleMobileMenuClose,
62188
62188
  menu: menu ?? [],
62189
- mobileAuthActions,
62190
- mobileAuthActionsSlot,
62189
+ mobileAuthActions: mobileAuthActions ?? authActions,
62190
+ mobileAuthActionsSlot: mobileAuthActionsSlot ?? authActionsSlot,
62191
62191
  mobileMenuClassName
62192
62192
  }
62193
62193
  )
@@ -63615,7 +63615,7 @@ var NavbarTabbedSections = ({
63615
63615
  (item, index) => item.tabs ? /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
63616
63616
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent hover:bg-muted", children: item.title }),
63617
63617
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsxRuntime.jsxs(Tabs, { defaultValue: item.tabs[0]?.id, className: "w-[600px]", children: [
63618
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b-2 px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
63618
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
63619
63619
  TabsTrigger,
63620
63620
  {
63621
63621
  value: tab.id,
package/dist/registry.js CHANGED
@@ -60676,7 +60676,7 @@ var DesktopMenuItem5 = ({
60676
60676
  if (hasDropdown) {
60677
60677
  return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
60678
60678
  /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
60679
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsx("div", { className: "w-full animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent2(item, optixFlowConfig) }) }) })
60679
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsx("div", { className: "w-[calc(100vw-2rem)] max-w-6xl animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: renderDropdownContent2(item, optixFlowConfig) }) })
60680
60680
  ] }, `desktop-menu-item-${index}`);
60681
60681
  }
60682
60682
  return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
@@ -62146,8 +62146,8 @@ var NavbarEducationPlatform = ({
62146
62146
  open: isOpen,
62147
62147
  onClose: handleMobileMenuClose,
62148
62148
  menu: menu ?? [],
62149
- mobileAuthActions,
62150
- mobileAuthActionsSlot,
62149
+ mobileAuthActions: mobileAuthActions ?? authActions,
62150
+ mobileAuthActionsSlot: mobileAuthActionsSlot ?? authActionsSlot,
62151
62151
  mobileMenuClassName
62152
62152
  }
62153
62153
  )
@@ -63575,7 +63575,7 @@ var NavbarTabbedSections = ({
63575
63575
  (item, index) => item.tabs ? /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
63576
63576
  /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent hover:bg-muted", children: item.title }),
63577
63577
  /* @__PURE__ */ jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsxs(Tabs, { defaultValue: item.tabs[0]?.id, className: "w-[600px]", children: [
63578
- /* @__PURE__ */ jsx("div", { className: "border-b-2 px-4 pt-2", children: /* @__PURE__ */ jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsx(
63578
+ /* @__PURE__ */ jsx("div", { className: "px-4 pt-2", children: /* @__PURE__ */ jsx(TabsList, { className: "h-auto bg-transparent p-0", children: item.tabs.map((tab) => /* @__PURE__ */ jsx(
63579
63579
  TabsTrigger,
63580
63580
  {
63581
63581
  value: tab.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
5
5
  "keywords": [
6
6
  "react",