@levo-so/blocks 0.1.68 → 0.1.71

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.
@@ -4,6 +4,7 @@ import {
4
4
  Box,
5
5
  Button,
6
6
  Container,
7
+ GlobalSearch,
7
8
  Icon,
8
9
  Image,
9
10
  PopoverContent,
@@ -408,13 +409,19 @@ const MobileNavigationSheet: React.FC<{
408
409
  }> = ({ navItems, content, isOpen, setIsOpen }) => {
409
410
  return (
410
411
  <React.Fragment>
411
- <Button
412
- elementKey="mobile-nav-menu-button"
413
- aria-label="Open navigation"
414
- onClick={() => setIsOpen(!isOpen)}
415
- >
416
- {isOpen ? <X size={24} /> : <Menu size={24} />}
417
- </Button>
412
+ <Box elementKey="mobile-nav-container">
413
+ <Box elementKey="mobile-search-container">
414
+ <GlobalSearch variant="icon" />
415
+ </Box>
416
+
417
+ <Button
418
+ elementKey="mobile-nav-menu-button"
419
+ aria-label="Open navigation"
420
+ onClick={() => setIsOpen(!isOpen)}
421
+ >
422
+ {isOpen ? <X size={24} /> : <Menu size={24} />}
423
+ </Button>
424
+ </Box>
418
425
  {isOpen && (
419
426
  <Box elementKey="mobile-nav-menu-wrapper">
420
427
  <Box elementKey="mobile-nav-menu_levoGroup" data-levo_group>
@@ -506,6 +513,9 @@ const Navbar3: React.FC<ILevoBlockBaseProps<INavbar3Content>> = ({ content }) =>
506
513
  />
507
514
 
508
515
  <Box elementKey="desktop-cta-group_levoGroup" data-levo_group>
516
+ <Box elementKey="desktop-search-container">
517
+ <GlobalSearch variant="icon" />
518
+ </Box>
509
519
  {content?.["desktop-cta-group"]?.length > 0 &&
510
520
  content?.["desktop-cta-group"]?.map((_: any, index: number) => (
511
521
  <Button