@levo-so/blocks 0.1.67 → 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,
@@ -416,13 +417,18 @@ const MobileNavigationSheet: React.FC<{
416
417
  }> = ({ navItems, content, isOpen, setIsOpen }) => {
417
418
  return (
418
419
  <React.Fragment>
419
- <Button
420
- elementKey="mobile-nav-menu-button"
421
- aria-label="Open navigation"
422
- onClick={() => setIsOpen(!isOpen)}
423
- >
424
- {isOpen ? <X size={32} /> : <Menu size={32} />}
425
- </Button>
420
+ <Box elementKey="mobile-nav-container">
421
+ <Box elementKey="mobile-search-container">
422
+ <GlobalSearch variant="icon" />
423
+ </Box>
424
+ <Button
425
+ elementKey="mobile-nav-menu-button"
426
+ aria-label="Open navigation"
427
+ onClick={() => setIsOpen(!isOpen)}
428
+ >
429
+ {isOpen ? <X size={32} /> : <Menu size={32} />}
430
+ </Button>
431
+ </Box>
426
432
  {isOpen && (
427
433
  <Box elementKey="mobile-nav-menu-wrapper">
428
434
  <Box elementKey="mobile-nav-menu_levoGroup" data-levo_group>
@@ -515,6 +521,9 @@ const Navbar4: React.FC<ILevoBlockBaseProps<INavbar3Content>> = ({ content }) =>
515
521
  ))}
516
522
  </Box>
517
523
  <Box elementKey="desktop-cta-group_levoGroup" data-levo_group>
524
+ <Box elementKey="desktop-search-container">
525
+ <GlobalSearch variant="icon" />
526
+ </Box>
518
527
  {content?.["desktop-cta-group"]?.map((_: any, index: number) => (
519
528
  <Button
520
529
  key={`desktop-cta-group.${index}.cta`}