@levo-so/blocks 0.1.68 → 0.1.72

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.
@@ -6,6 +6,7 @@ import {
6
6
  Box,
7
7
  Button,
8
8
  Container,
9
+ GlobalSearch,
9
10
  Icon,
10
11
  Image,
11
12
  PopoverContent,
@@ -251,13 +252,18 @@ const MobileNavigationSheet: React.FC<{
251
252
  }> = ({ navItems, content, isOpen, setIsOpen }) => {
252
253
  return (
253
254
  <React.Fragment>
254
- <Button
255
- elementKey="mobile-nav-menu-button"
256
- aria-label="Open navigation"
257
- onClick={() => setIsOpen(!isOpen)}
258
- >
259
- {isOpen ? <X size={24} /> : <Menu size={24} />}
260
- </Button>
255
+ <Box elementKey="mobile-nav-container">
256
+ <Box elementKey="mobile-search-container">
257
+ <GlobalSearch variant="icon" />
258
+ </Box>
259
+ <Button
260
+ elementKey="mobile-nav-menu-button"
261
+ aria-label="Open navigation"
262
+ onClick={() => setIsOpen(!isOpen)}
263
+ >
264
+ {isOpen ? <X size={24} /> : <Menu size={24} />}
265
+ </Button>
266
+ </Box>
261
267
  {isOpen && (
262
268
  <Box elementKey="mobile-nav-menu-wrapper">
263
269
  <Box elementKey="mobile-nav-menu_levoGroup" data-levo_group>
@@ -346,6 +352,9 @@ const Navbar2: React.FC<ILevoBlockBaseProps<INavbar1Content>> = ({ content }) =>
346
352
  )}
347
353
  {content?.["desktop-cta-group"]?.length > 0 && (
348
354
  <Box elementKey="desktop-cta-group_levoGroup" data-levo_group>
355
+ <Box elementKey="desktop-search-container">
356
+ <GlobalSearch variant="icon" />
357
+ </Box>
349
358
  {content?.["desktop-cta-group"]?.map((_: any, index: number) => (
350
359
  <Button
351
360
  key={`desktop-cta-group.${index}.cta`}