@atom-learning/components 6.0.0-beta.21 → 6.0.0-beta.22

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.
@@ -1,2 +1,2 @@
1
- import*as d from"@radix-ui/react-navigation-menu";import e from"react";import{styled as o}from"../../styled.js";import{preventEvent as n}from"../../utilities/event/preventEvent.js";const m=o("ul",{base:["list-none","m-0","p-0"]}),i=o(d.Content,{base:["p-3","bg-(--dropdown-background)","mt-1","shadow-md","rounded-md"]}),t=({children:r,...a})=>e.createElement(i,{onPointerMove:n,onPointerLeave:n,...a},e.createElement(m,null,r));t.displayName="NavigationMenuDropdownContent";export{t as NavigationMenuDropdownContent};
1
+ import*as a from"@radix-ui/react-navigation-menu";import o from"react";import{styled as d}from"../../styled.js";import{preventEvent as e}from"../../utilities/event/preventEvent.js";const m=d(a.Content,{base:["p-3","bg-(--dropdown-background)","mt-1","shadow-md","rounded-md"]}),n=({children:t,...r})=>o.createElement(m,{onPointerMove:e,onPointerLeave:e,...r},o.createElement("ul",null,t));n.displayName="NavigationMenuDropdownContent";export{n as NavigationMenuDropdownContent};
2
2
  //# sourceMappingURL=NavigationMenuDropdownContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationMenuDropdownContent.js","sources":["../../../src/components/navigation/NavigationMenuDropdownContent.tsx"],"sourcesContent":["import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport React from 'react'\n\nimport { styled } from '~/styled'\nimport { preventEvent } from '~/utilities/event'\n\nconst StyledList = styled('ul', {\n base: ['list-none', 'm-0', 'p-0']\n})\n\nconst StyledContent = styled(NavigationMenuPrimitive.Content, {\n base: ['p-3', 'bg-(--dropdown-background)', 'mt-1', 'shadow-md', 'rounded-md']\n})\n\ntype NavigationMenuDropdownContentProps = React.ComponentProps<\n typeof StyledContent\n>\n\nexport const NavigationMenuDropdownContent = ({\n children,\n ...rest\n}: NavigationMenuDropdownContentProps) => (\n <StyledContent\n onPointerMove={preventEvent}\n onPointerLeave={preventEvent}\n {...rest}\n >\n <StyledList>{children}</StyledList>\n </StyledContent>\n)\n\nNavigationMenuDropdownContent.displayName = 'NavigationMenuDropdownContent'\n"],"names":["StyledList","styled","StyledContent","NavigationMenuPrimitive","NavigationMenuDropdownContent","children","rest","React","preventEvent"],"mappings":"qLAMA,MAAMA,EAAaC,EAAO,KAAM,CAC9B,KAAM,CAAC,YAAa,MAAO,KAAK,CAClC,CAAC,EAEKC,EAAgBD,EAAOE,EAAwB,QAAS,CAC5D,KAAM,CAAC,MAAO,6BAA8B,OAAQ,YAAa,YAAY,CAC/E,CAAC,EAMYC,EAAgC,CAAC,CAC5C,SAAAC,EACA,GAAGC,CACL,IACEC,EAAA,cAACL,EAAA,CACC,cAAeM,EACf,eAAgBA,EACf,GAAGF,CAEJC,EAAAA,EAAA,cAACP,EAAA,KAAYK,CAAS,CACxB,EAGFD,EAA8B,YAAc"}
1
+ {"version":3,"file":"NavigationMenuDropdownContent.js","sources":["../../../src/components/navigation/NavigationMenuDropdownContent.tsx"],"sourcesContent":["import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport React from 'react'\n\nimport { styled } from '~/styled'\nimport { preventEvent } from '~/utilities/event'\n\nconst StyledContent = styled(NavigationMenuPrimitive.Content, {\n base: ['p-3', 'bg-(--dropdown-background)', 'mt-1', 'shadow-md', 'rounded-md']\n})\n\ntype NavigationMenuDropdownContentProps = React.ComponentProps<\n typeof StyledContent\n>\n\nexport const NavigationMenuDropdownContent = ({\n children,\n ...rest\n}: NavigationMenuDropdownContentProps) => (\n <StyledContent\n onPointerMove={preventEvent}\n onPointerLeave={preventEvent}\n {...rest}\n >\n <ul>{children}</ul>\n </StyledContent>\n)\n\nNavigationMenuDropdownContent.displayName = 'NavigationMenuDropdownContent'\n"],"names":["StyledContent","styled","NavigationMenuPrimitive","NavigationMenuDropdownContent","children","rest","React","preventEvent"],"mappings":"qLAMA,MAAMA,EAAgBC,EAAOC,EAAwB,QAAS,CAC5D,KAAM,CAAC,MAAO,6BAA8B,OAAQ,YAAa,YAAY,CAC/E,CAAC,EAMYC,EAAgC,CAAC,CAC5C,SAAAC,EACA,GAAGC,CACL,IACEC,EAAA,cAACN,EAAA,CACC,cAAeO,EACf,eAAgBA,EACf,GAAGF,CAEJC,EAAAA,EAAA,cAAC,KAAA,KAAIF,CAAS,CAChB,EAGFD,EAA8B,YAAc"}
@@ -1,2 +1,2 @@
1
- import{List as t}from"@radix-ui/react-navigation-menu";import{styled as i}from"../../styled.js";const n=i(t,{base:["p-0","m-0","list-none","[--navigation-menu-vertical-item-pl:--spacing(4)]","*:not-first:mt-0.5"]}),o=n;export{o as NavigationMenuVerticalList};
1
+ import{List as t}from"@radix-ui/react-navigation-menu";import{styled as i}from"../../styled.js";const o=i(t,{base:["[--navigation-menu-vertical-item-pl:--spacing(4)]","*:not-first:mt-0.5"]}),n=o;export{n as NavigationMenuVerticalList};
2
2
  //# sourceMappingURL=NavigationMenuVerticalList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationMenuVerticalList.js","sources":["../../../src/components/navigation-menu-vertical/NavigationMenuVerticalList.tsx"],"sourcesContent":["import { List } from '@radix-ui/react-navigation-menu'\n\nimport { styled } from '~/styled'\n\nconst StyledList = styled(List, {\n base: [\n 'p-0',\n 'm-0',\n 'list-none',\n '[--navigation-menu-vertical-item-pl:--spacing(4)]',\n '*:not-first:mt-0.5'\n ]\n})\n\nexport const NavigationMenuVerticalList = StyledList\n"],"names":["StyledList","styled","List","NavigationMenuVerticalList"],"mappings":"gGAIA,MAAMA,EAAaC,EAAOC,EAAM,CAC9B,KAAM,CACJ,MACA,MACA,YACA,oDACA,oBACF,CACF,CAAC,EAEYC,EAA6BH"}
1
+ {"version":3,"file":"NavigationMenuVerticalList.js","sources":["../../../src/components/navigation-menu-vertical/NavigationMenuVerticalList.tsx"],"sourcesContent":["import { List } from '@radix-ui/react-navigation-menu'\n\nimport { styled } from '~/styled'\n\nconst StyledList = styled(List, {\n base: [\n '[--navigation-menu-vertical-item-pl:--spacing(4)]',\n '*:not-first:mt-0.5'\n ]\n})\n\nexport const NavigationMenuVerticalList = StyledList\n"],"names":["StyledList","styled","List","NavigationMenuVerticalList"],"mappings":"gGAIA,MAAMA,EAAaC,EAAOC,EAAM,CAC9B,KAAM,CACJ,oDACA,oBACF,CACF,CAAC,EAEYC,EAA6BH"}