@better-nds/react 0.0.30 → 0.0.32
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.
- package/dist/menu-12s-BRDB2909.js +2 -0
- package/dist/menu-12s-BRDB2909.js.map +1 -0
- package/dist/menu-12s-ePk_gY6v.cjs +2 -0
- package/dist/menu-12s-ePk_gY6v.cjs.map +1 -0
- package/dist/navbar.cjs +1 -1
- package/dist/navbar.cjs.map +1 -1
- package/dist/navbar.d.ts +10 -12
- package/dist/navbar.d.ts.map +1 -1
- package/dist/navbar.js +1 -1
- package/dist/navbar.js.map +1 -1
- package/dist/theme.css +3 -0
- package/package.json +1 -1
- package/dist/menu-12s-B87wRaLC.cjs +0 -2
- package/dist/menu-12s-B87wRaLC.cjs.map +0 -1
- package/dist/menu-12s-CPk1Q-BE.js +0 -2
- package/dist/menu-12s-CPk1Q-BE.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{jsxs as e,jsx as a}from"react/jsx-runtime";import{Children as t,isValidElement as n,cloneElement as r}from"react";import{Menu01Icon as i}from"@hugeicons/core-free-icons";import{HugeiconsIcon as o}from"@hugeicons/react";import{Dialog as s}from"radix-ui";let l={en:{open:"Open menu",close:"Close menu",menu:"Menu"},ar:{open:"فتح القائمة",close:"إغلاق القائمة",menu:"القائمة"}},d=({nav:d,logo:m,locale:c="ar"})=>{let u=l[c];return e(s.Root,{children:[a(s.Trigger,{asChild:!0,children:a("button",{"aria-label":u.open,className:"w-fit p-4 md:hidden",children:a(o,{icon:i,size:24})})}),a(s.Portal,{children:e(s.Content,{"aria-describedby":void 0,className:"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden",children:[a(s.Title,{className:"sr-only",children:u.menu}),a("div",{className:"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto",children:m}),a("nav",{className:"flex flex-1 flex-col gap-1 overflow-y-auto p-4",children:t.map(d,(e,t)=>n(e)?a(s.Close,{asChild:!0,children:r(e,{variant:"menu"})},e.key??t):e)})]})})]})};export{d as M};
|
|
2
|
+
//# sourceMappingURL=menu-12s-BRDB2909.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-12s-BRDB2909.js","sources":["../src/blocks/navbar/menu.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\n\nimport { Children, cloneElement, isValidElement } from \"react\"\nimport { Menu01Icon } from \"@hugeicons/core-free-icons\"\nimport { HugeiconsIcon } from \"@hugeicons/react\"\nimport { Dialog } from \"radix-ui\"\n\nconst translations = {\n en: { open: \"Open menu\", close: \"Close menu\", menu: \"Menu\" },\n ar: { open: \"فتح القائمة\", close: \"إغلاق القائمة\", menu: \"القائمة\" }\n}\n\nexport const Menu = ({\n nav,\n logo,\n locale = \"ar\"\n}: {\n nav: ReactNode\n logo?: ReactNode\n locale?: keyof typeof translations\n}) => {\n const t = translations[locale]\n\n return (\n <Dialog.Root>\n <Dialog.Trigger asChild>\n <button aria-label={t.open} className=\"w-fit p-4 md:hidden\">\n <HugeiconsIcon icon={Menu01Icon} size={24} />\n </button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Content\n aria-describedby={undefined}\n className=\"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden\"\n >\n <Dialog.Title className=\"sr-only\">{t.menu}</Dialog.Title>\n <div className=\"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto\">\n {logo}\n </div>\n <nav className=\"flex flex-1 flex-col gap-1 overflow-y-auto p-4\">\n {Children.map(nav, (child, index) => {\n if (!isValidElement(child)) return child\n\n return (\n <Dialog.Close asChild key={child.key ?? index}>\n {cloneElement(\n child as ReactElement<{ variant?: \"default\" | \"menu\" }>,\n { variant: \"menu\" }\n )}\n </Dialog.Close>\n )\n })}\n </nav>\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog.Root>\n )\n}\n"],"names":["translations","en","open","close","menu","ar","Menu","nav","logo","locale","t","_jsxs","Dialog","Root","_jsx","Trigger","asChild","children","button","aria-label","className","HugeiconsIcon","icon","Menu01Icon","size","Portal","Content","aria-describedby","undefined","Title","div","Children","map","child","index","isValidElement","Close","cloneElement","variant","key"],"mappings":"iRASA,IAAMA,EAAe,CACnBC,GAAI,CAAEC,KAAM,YAAaC,MAAO,aAAcC,KAAM,MAAO,EAC3DC,GAAI,CAAEH,KAAM,cAAeC,MAAO,gBAAiBC,KAAM,SAAU,CACrE,EAEaE,EAAO,CAAC,CACnBC,IAAAA,CAAG,CACHC,KAAAA,CAAI,CACJC,OAAAA,EAAS,IAAI,CAKd,IACC,IAAMC,EAAIV,CAAY,CAACS,EAAO,CAE9B,OACEE,EAACC,EAAOC,IAAI,CAAA,WACVC,EAACF,EAAOG,OAAO,CAAA,CAACC,QAAO,CAAA,EACrBC,SAAAH,EAACI,SAAAA,CAAOC,aAAYT,EAAER,IAAI,CAAEkB,UAAU,sBACpCH,SAAAH,EAACO,EAAAA,CAAcC,KAAMC,EAAYC,KAAM,SAG3CV,EAACF,EAAOa,MAAM,CAAA,UACZd,EAACC,EAAOc,OAAO,CAAA,CACbC,mBAAkBC,KAAAA,EAClBR,UAAU,ySAEVN,EAACF,EAAOiB,KAAK,CAAA,CAACT,UAAU,UAAWV,SAAAA,EAAEN,IAAAA,GACrCU,EAACgB,MAAAA,CAAIV,UAAU,0FACZZ,SAAAA,IAEHM,EAACP,MAAAA,CAAIa,UAAU,iDACZW,SAAAA,EAASC,GAAG,CAACzB,EAAK,CAAC0B,EAAOC,IACzB,AAAKC,EAAeF,GAGlBnB,EAACF,EAAOwB,KAAK,CAAA,CAACpB,QAAO,CAAA,EAClBqB,SAAAA,EACCJ,EACA,CAAEK,QAAS,MAAO,EAHKL,EAAAA,EAAMM,GAAG,EAAIL,GAHPD,YAgBjD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";var e=require("react/jsx-runtime"),a=require("react"),i=require("@hugeicons/core-free-icons"),n=require("@hugeicons/react"),s=require("radix-ui");let r={en:{open:"Open menu",close:"Close menu",menu:"Menu"},ar:{open:"فتح القائمة",close:"إغلاق القائمة",menu:"القائمة"}};exports.Menu=({nav:l,logo:t,locale:o="ar"})=>{let d=r[o];return e.jsxs(s.Dialog.Root,{children:[e.jsx(s.Dialog.Trigger,{asChild:!0,children:e.jsx("button",{"aria-label":d.open,className:"w-fit p-4 md:hidden",children:e.jsx(n.HugeiconsIcon,{icon:i.Menu01Icon,size:24})})}),e.jsx(s.Dialog.Portal,{children:e.jsxs(s.Dialog.Content,{"aria-describedby":void 0,className:"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden",children:[e.jsx(s.Dialog.Title,{className:"sr-only",children:d.menu}),e.jsx("div",{className:"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto",children:t}),e.jsx("nav",{className:"flex flex-1 flex-col gap-1 overflow-y-auto p-4",children:a.Children.map(l,(i,n)=>a.isValidElement(i)?e.jsx(s.Dialog.Close,{asChild:!0,children:a.cloneElement(i,{variant:"menu"})},i.key??n):i)})]})})]})};
|
|
2
|
+
//# sourceMappingURL=menu-12s-ePk_gY6v.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-12s-ePk_gY6v.cjs","sources":["../src/blocks/navbar/menu.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\n\nimport { Children, cloneElement, isValidElement } from \"react\"\nimport { Menu01Icon } from \"@hugeicons/core-free-icons\"\nimport { HugeiconsIcon } from \"@hugeicons/react\"\nimport { Dialog } from \"radix-ui\"\n\nconst translations = {\n en: { open: \"Open menu\", close: \"Close menu\", menu: \"Menu\" },\n ar: { open: \"فتح القائمة\", close: \"إغلاق القائمة\", menu: \"القائمة\" }\n}\n\nexport const Menu = ({\n nav,\n logo,\n locale = \"ar\"\n}: {\n nav: ReactNode\n logo?: ReactNode\n locale?: keyof typeof translations\n}) => {\n const t = translations[locale]\n\n return (\n <Dialog.Root>\n <Dialog.Trigger asChild>\n <button aria-label={t.open} className=\"w-fit p-4 md:hidden\">\n <HugeiconsIcon icon={Menu01Icon} size={24} />\n </button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Content\n aria-describedby={undefined}\n className=\"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden\"\n >\n <Dialog.Title className=\"sr-only\">{t.menu}</Dialog.Title>\n <div className=\"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto\">\n {logo}\n </div>\n <nav className=\"flex flex-1 flex-col gap-1 overflow-y-auto p-4\">\n {Children.map(nav, (child, index) => {\n if (!isValidElement(child)) return child\n\n return (\n <Dialog.Close asChild key={child.key ?? index}>\n {cloneElement(\n child as ReactElement<{ variant?: \"default\" | \"menu\" }>,\n { variant: \"menu\" }\n )}\n </Dialog.Close>\n )\n })}\n </nav>\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog.Root>\n )\n}\n"],"names":["translations","en","open","close","menu","ar","nav","logo","locale","t","_jsxs","Dialog","Root","_jsx","Trigger","asChild","children","button","aria-label","className","HugeiconsIcon","icon","Menu01Icon","size","Portal","Content","aria-describedby","undefined","Title","div","Children","map","child","index","isValidElement","Close","cloneElement","variant","key"],"mappings":"+JASA,IAAMA,EAAe,CACnBC,GAAI,CAAEC,KAAM,YAAaC,MAAO,aAAcC,KAAM,MAAO,EAC3DC,GAAI,CAAEH,KAAM,cAAeC,MAAO,gBAAiBC,KAAM,SAAU,CACrE,eAEoB,CAAC,CACnBE,IAAAA,CAAG,CACHC,KAAAA,CAAI,CACJC,OAAAA,EAAS,IAAI,CAKd,IACC,IAAMC,EAAIT,CAAY,CAACQ,EAAO,CAE9B,OACEE,EAAAA,IAAA,CAACC,EAAAA,OAAOC,IAAI,CAAA,WACVC,EAAAA,GAAA,CAACF,EAAAA,OAAOG,OAAO,CAAA,CAACC,QAAO,CAAA,EACrBC,SAAAH,EAAAA,GAAA,CAACI,SAAAA,CAAOC,aAAYT,EAAEP,IAAI,CAAEiB,UAAU,sBACpCH,SAAAH,EAAAA,GAAA,CAACO,eAAAA,CAAAA,CAAcC,KAAMC,EAAAA,UAAAA,CAAYC,KAAM,SAG3CV,EAAAA,GAAA,CAACF,EAAAA,OAAOa,MAAM,CAAA,UACZd,EAAAA,IAAA,CAACC,EAAAA,OAAOc,OAAO,CAAA,CACbC,mBAAkBC,KAAAA,EAClBR,UAAU,ySAEVN,EAAAA,GAAA,CAACF,EAAAA,OAAOiB,KAAK,CAAA,CAACT,UAAU,UAAWV,SAAAA,EAAEL,IAAAA,GACrCS,EAAAA,GAAA,CAACgB,MAAAA,CAAIV,UAAU,0FACZZ,SAAAA,IAEHM,EAAAA,GAAA,CAACP,MAAAA,CAAIa,UAAU,iDACZW,SAAAA,EAAAA,QAAAA,CAASC,GAAG,CAACzB,EAAK,CAAC0B,EAAOC,IACzB,AAAKC,EAAAA,cAAAA,CAAeF,GAGlBnB,EAAAA,GAAA,CAACF,EAAAA,OAAOwB,KAAK,CAAA,CAACpB,QAAO,CAAA,EAClBqB,SAAAA,EAAAA,aACCJ,EACA,CAAEK,QAAS,MAAO,EAHKL,EAAAA,EAAMM,GAAG,EAAIL,GAHPD,YAgBjD"}
|
package/dist/navbar.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./menu-12s-ePk_gY6v.cjs"),t=require("clsx"),s=require("radix-ui"),a=require("./_cn.cjs"),l=t&&t.__esModule?t:{default:t};let d=l.default("hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex h-full items-center justify-center gap-1 rounded-sm px-4 py-2 font-medium transition-colors before:absolute before:bottom-0 before:z-1 before:h-1.5 before:w-[calc(100%-1rem)] before:rounded-full before:transition-colors","data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400"),n=l.default("hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors","data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400");exports.Navbar=({actions:t,nav:s,logo:a})=>e.jsx("header",{className:"bg-nds-white border-nds-neutral-300 sticky top-0 z-48 flex h-18 w-full justify-center border-b pe-4 md:px-4",children:e.jsxs("div",{className:"grid h-full w-full max-w-7xl grid-cols-3 items-center justify-between md:flex",children:[e.jsx(r.Menu,{nav:s,logo:a}),e.jsxs("div",{className:"flex h-full items-center gap-4 max-md:justify-self-center",children:[a,e.jsx("nav",{className:"flex h-full items-center max-md:hidden",children:s})]}),e.jsx("div",{className:"flex h-full items-center max-md:justify-self-end",children:t})]})}),exports.NavbarLink=function({className:r,asChild:t=!1,isActive:l,variant:i="default",...o}){let u=t?s.Slot.Root:"a";return e.jsx(u,{"data-selected":l||void 0,className:a.cn("menu"===i?n:d,r),...o})},exports.triggerStyle=d;
|
|
2
2
|
//# sourceMappingURL=navbar.cjs.map
|
package/dist/navbar.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.cjs","sources":["../src/blocks/navbar/index.tsx"],"sourcesContent":["import { type
|
|
1
|
+
{"version":3,"file":"navbar.cjs","sources":["../src/blocks/navbar/link.tsx","../src/blocks/navbar/index.tsx"],"sourcesContent":["import { type ComponentProps } from \"react\"\nimport clsx from \"clsx\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"../../_cn\"\n\nexport const triggerStyle = clsx(\n \"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex h-full items-center justify-center gap-1 rounded-sm px-4 py-2 font-medium transition-colors before:absolute before:bottom-0 before:z-1 before:h-1.5 before:w-[calc(100%-1rem)] before:rounded-full before:transition-colors\",\n\n \"data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400\"\n)\n\nexport const menuLinkStyle = clsx(\n \"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors\",\n\n \"data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400\"\n)\n\nfunction NavbarLink({\n className,\n asChild = false,\n isActive,\n variant = \"default\",\n ...props\n}: ComponentProps<\"a\"> & {\n asChild?: boolean\n isActive?: boolean\n variant?: \"default\" | \"menu\"\n}) {\n const Comp = asChild ? Slot.Root : \"a\"\n\n return (\n <Comp\n data-selected={isActive || undefined}\n className={cn(\n variant === \"menu\" ? menuLinkStyle : triggerStyle,\n className\n )}\n {...props}\n />\n )\n}\n\nexport { NavbarLink }\n","import { type ReactNode } from \"react\"\n\nimport { Menu } from \"./menu\"\n\nexport { NavbarLink, triggerStyle } from \"./link\"\n\nexport const Navbar = ({\n actions,\n nav,\n logo\n}: {\n actions?: ReactNode\n nav: ReactNode\n logo: ReactNode\n}) => {\n return (\n <header className=\"bg-nds-white border-nds-neutral-300 sticky top-0 z-48 flex h-18 w-full justify-center border-b pe-4 md:px-4\">\n <div className=\"grid h-full w-full max-w-7xl grid-cols-3 items-center justify-between md:flex\">\n <Menu nav={nav} logo={logo} />\n <div className=\"flex h-full items-center gap-4 max-md:justify-self-center\">\n {logo}\n <nav className=\"flex h-full items-center max-md:hidden\">{nav}</nav>\n </div>\n <div className=\"flex h-full items-center max-md:justify-self-end\">\n {actions}\n </div>\n </div>\n </header>\n )\n}\n"],"names":["triggerStyle","clsx","menuLinkStyle","actions","nav","logo","_jsx","header","className","children","_jsxs","div","Menu","asChild","isActive","variant","props","Comp","Slot","Root","data-selected","undefined","cn"],"mappings":"8NAMO,IAAMA,EAAeC,EAAAA,OAAAA,CAC1B,gWAEA,2NAGWC,EAAgBD,EAAAA,OAAAA,CAC3B,8SAEA,0OCToB,CAAC,CACrBE,QAAAA,CAAO,CACPC,IAAAA,CAAG,CACHC,KAAAA,CAAI,CAKL,GAEGC,EAAAA,GAAA,CAACC,SAAAA,CAAOC,UAAU,8GAChBC,SAAAC,EAAAA,IAAA,CAACC,MAAAA,CAAIH,UAAU,0FACbF,EAAAA,GAAA,CAACM,EAAAA,IAAAA,CAAAA,CAAKR,IAAKA,EAAKC,KAAMA,IACtBK,EAAAA,IAAA,CAACC,MAAAA,CAAIH,UAAU,sEACZH,EACDC,EAAAA,GAAA,CAACF,MAAAA,CAAII,UAAU,yCAA0CJ,SAAAA,OAE3DE,EAAAA,GAAA,CAACK,MAAAA,CAAIH,UAAU,mDACZL,SAAAA,4BDNX,SAAoB,CAClBK,UAAAA,CAAS,CACTK,QAAAA,EAAU,CAAA,CAAK,CACfC,SAAAA,CAAQ,CACRC,QAAAA,EAAU,SAAS,CACnB,GAAGC,EAKJ,EACC,IAAMC,EAAOJ,EAAUK,EAAAA,IAAAA,CAAKC,IAAI,CAAG,IAEnC,OACEb,EAAAA,GAAA,CAACW,EAAAA,CACCG,gBAAeN,GAAYO,KAAAA,EAC3Bb,UAAWc,EAAAA,EAAAA,CACTP,AAAY,SAAZA,EAAqBb,EAAgBF,EACrCQ,GAED,GAAGQ,CAAAA,EAGV"}
|
package/dist/navbar.d.ts
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const triggerStyle: string;
|
|
5
|
-
declare
|
|
5
|
+
declare function NavbarLink({ className, asChild, isActive, variant, ...props }: ComponentProps<"a"> & {
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
variant?: "default" | "menu";
|
|
9
|
+
}): react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
declare const Navbar: ({ actions, nav, logo }: {
|
|
6
12
|
actions?: ReactNode;
|
|
7
|
-
|
|
8
|
-
href: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
}) => ReactNode;
|
|
12
|
-
links: {
|
|
13
|
-
href: string;
|
|
14
|
-
label: string;
|
|
15
|
-
}[];
|
|
13
|
+
nav: ReactNode;
|
|
16
14
|
logo: ReactNode;
|
|
17
15
|
}) => react_jsx_runtime.JSX.Element;
|
|
18
16
|
|
|
19
|
-
export { Navbar, triggerStyle };
|
|
17
|
+
export { Navbar, NavbarLink, triggerStyle };
|
|
20
18
|
//# sourceMappingURL=navbar.d.ts.map
|
package/dist/navbar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.d.ts","sources":["../src/blocks/navbar/index.tsx"],"mappings":";;;AAEA,cAAc,YAAY;
|
|
1
|
+
{"version":3,"file":"navbar.d.ts","sources":["../src/blocks/navbar/link.tsx","../src/blocks/navbar/index.tsx"],"mappings":";;;AAEA,cAAc,YAAY;AAE1B,iBAAiB,UAAU,sDAAsD,cAAc;AAC/F;AACA;AACA;AACA,IAAI,iBAAiB,CAAC,GAAG,CAAC,OAAO;;ACLjC,cAAc,MAAM;AACpB,cAAc,SAAS;AACvB,SAAS,SAAS;AAClB,UAAU,SAAS;AACnB,MAAM,iBAAiB,CAAC,GAAG,CAAC,OAAO;;;;","names":[]}
|
package/dist/navbar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as r}from"react/jsx-runtime";import t from"clsx";import{
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{M as t}from"./menu-12s-BRDB2909.js";import a from"clsx";import{Slot as s}from"radix-ui";import{cn as d}from"./_cn.js";let l=a("hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex h-full items-center justify-center gap-1 rounded-sm px-4 py-2 font-medium transition-colors before:absolute before:bottom-0 before:z-1 before:h-1.5 before:w-[calc(100%-1rem)] before:rounded-full before:transition-colors","data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400"),n=a("hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors","data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400");function o({className:r,asChild:t=!1,isActive:a,variant:i="default",...f}){return e(t?s.Root:"a",{"data-selected":a||void 0,className:d("menu"===i?n:l,r),...f})}let i=({actions:a,nav:s,logo:d})=>e("header",{className:"bg-nds-white border-nds-neutral-300 sticky top-0 z-48 flex h-18 w-full justify-center border-b pe-4 md:px-4",children:r("div",{className:"grid h-full w-full max-w-7xl grid-cols-3 items-center justify-between md:flex",children:[e(t,{nav:s,logo:d}),r("div",{className:"flex h-full items-center gap-4 max-md:justify-self-center",children:[d,e("nav",{className:"flex h-full items-center max-md:hidden",children:s})]}),e("div",{className:"flex h-full items-center max-md:justify-self-end",children:a})]})});export{i as Navbar,o as NavbarLink,l as triggerStyle};
|
|
2
2
|
//# sourceMappingURL=navbar.js.map
|
package/dist/navbar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.js","sources":["../src/blocks/navbar/index.tsx"],"sourcesContent":["import { type
|
|
1
|
+
{"version":3,"file":"navbar.js","sources":["../src/blocks/navbar/link.tsx","../src/blocks/navbar/index.tsx"],"sourcesContent":["import { type ComponentProps } from \"react\"\nimport clsx from \"clsx\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"../../_cn\"\n\nexport const triggerStyle = clsx(\n \"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex h-full items-center justify-center gap-1 rounded-sm px-4 py-2 font-medium transition-colors before:absolute before:bottom-0 before:z-1 before:h-1.5 before:w-[calc(100%-1rem)] before:rounded-full before:transition-colors\",\n\n \"data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400\"\n)\n\nexport const menuLinkStyle = clsx(\n \"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors\",\n\n \"data-[selected=true]:hover:bg-nds-primary-700 data-[selected=true]:text-nds-white data-[selected=true]:active:bg-nds-primary-900 data-[selected=true]:bg-nds-primary-600 data-[selected=true]:before:bg-nds-primary-400\"\n)\n\nfunction NavbarLink({\n className,\n asChild = false,\n isActive,\n variant = \"default\",\n ...props\n}: ComponentProps<\"a\"> & {\n asChild?: boolean\n isActive?: boolean\n variant?: \"default\" | \"menu\"\n}) {\n const Comp = asChild ? Slot.Root : \"a\"\n\n return (\n <Comp\n data-selected={isActive || undefined}\n className={cn(\n variant === \"menu\" ? menuLinkStyle : triggerStyle,\n className\n )}\n {...props}\n />\n )\n}\n\nexport { NavbarLink }\n","import { type ReactNode } from \"react\"\n\nimport { Menu } from \"./menu\"\n\nexport { NavbarLink, triggerStyle } from \"./link\"\n\nexport const Navbar = ({\n actions,\n nav,\n logo\n}: {\n actions?: ReactNode\n nav: ReactNode\n logo: ReactNode\n}) => {\n return (\n <header className=\"bg-nds-white border-nds-neutral-300 sticky top-0 z-48 flex h-18 w-full justify-center border-b pe-4 md:px-4\">\n <div className=\"grid h-full w-full max-w-7xl grid-cols-3 items-center justify-between md:flex\">\n <Menu nav={nav} logo={logo} />\n <div className=\"flex h-full items-center gap-4 max-md:justify-self-center\">\n {logo}\n <nav className=\"flex h-full items-center max-md:hidden\">{nav}</nav>\n </div>\n <div className=\"flex h-full items-center max-md:justify-self-end\">\n {actions}\n </div>\n </div>\n </header>\n )\n}\n"],"names":["triggerStyle","clsx","menuLinkStyle","NavbarLink","className","asChild","isActive","variant","props","_jsx","Slot","Root","Comp","data-selected","undefined","cn","Navbar","actions","nav","logo","header","children","_jsxs","div","Menu"],"mappings":"+KAMO,IAAMA,EAAeC,EAC1B,gWAEA,2NAGWC,EAAgBD,EAC3B,8SAEA,2NAGF,SAASE,EAAW,CAClBC,UAAAA,CAAS,CACTC,QAAAA,EAAU,CAAA,CAAK,CACfC,SAAAA,CAAQ,CACRC,QAAAA,EAAU,SAAS,CACnB,GAAGC,EAKJ,EAGC,OACEC,EAHWJ,EAAUK,EAAKC,IAAI,CAAG,IAGhCC,CACCC,gBAAeP,GAAYQ,KAAAA,EAC3BV,UAAWW,EACTR,AAAY,SAAZA,EAAqBL,EAAgBF,EACrCI,GAED,GAAGI,CAAAA,EAGV,CCnCO,IAAMQ,EAAS,CAAC,CACrBC,QAAAA,CAAO,CACPC,IAAAA,CAAG,CACHC,KAAAA,CAAI,CAKL,GAEGV,EAACW,SAAAA,CAAOhB,UAAU,8GAChBiB,SAAAC,EAACC,MAAAA,CAAInB,UAAU,0FACbK,EAACe,EAAAA,CAAKN,IAAKA,EAAKC,KAAMA,IACtBG,EAACC,MAAAA,CAAInB,UAAU,sEACZe,EACDV,EAACS,MAAAA,CAAId,UAAU,yCAA0Cc,SAAAA,OAE3DT,EAACc,MAAAA,CAAInB,UAAU,mDACZa,SAAAA"}
|
package/dist/theme.css
CHANGED
|
@@ -113,4 +113,7 @@
|
|
|
113
113
|
--color-button-transparent-text: var(--color-nds-black);
|
|
114
114
|
--color-button-transparent-hover-text: var(--color-nds-primary-700);
|
|
115
115
|
--color-button-transparent-pressed-text: var(--color-nds-primary-900);
|
|
116
|
+
|
|
117
|
+
--shadow-nds-md:
|
|
118
|
+
0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
|
|
116
119
|
}
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";var e=require("react/jsx-runtime"),r=require("@hugeicons/core-free-icons"),s=require("@hugeicons/react"),n=require("radix-ui");let a={en:{open:"Open menu",close:"Close menu",menu:"Menu"},ar:{open:"فتح القائمة",close:"إغلاق القائمة",menu:"القائمة"}};exports.Menu=({frameworkLink:i,links:o,logo:l,locale:t="ar"})=>{let d=a[t];return e.jsxs(n.Dialog.Root,{children:[e.jsx(n.Dialog.Trigger,{asChild:!0,children:e.jsx("button",{"aria-label":d.open,className:"w-fit p-4 md:hidden",children:e.jsx(s.HugeiconsIcon,{icon:r.Menu01Icon,size:24})})}),e.jsx(n.Dialog.Portal,{children:e.jsxs(n.Dialog.Content,{"aria-describedby":void 0,className:"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden",children:[e.jsx(n.Dialog.Title,{className:"sr-only",children:d.menu}),e.jsx("div",{className:"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto",children:l}),e.jsx("nav",{className:"flex flex-1 flex-col gap-1 overflow-y-auto p-4",children:o.map((r,s)=>e.jsx(n.Dialog.Close,{asChild:!0,children:e.jsx(i,{href:r.href,className:"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors",children:r.label})},`${r.href}-${s}`))})]})})]})};
|
|
2
|
-
//# sourceMappingURL=menu-12s-B87wRaLC.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu-12s-B87wRaLC.cjs","sources":["../src/blocks/navbar/menu.tsx"],"sourcesContent":["\"use client\"\n\nimport { type ReactNode } from \"react\"\nimport { Menu01Icon } from \"@hugeicons/core-free-icons\"\nimport { HugeiconsIcon } from \"@hugeicons/react\"\nimport { Dialog } from \"radix-ui\"\n\nconst translations = {\n en: { open: \"Open menu\", close: \"Close menu\", menu: \"Menu\" },\n ar: { open: \"فتح القائمة\", close: \"إغلاق القائمة\", menu: \"القائمة\" }\n}\n\nexport const Menu = ({\n frameworkLink: Link,\n links,\n logo,\n locale = \"ar\"\n}: {\n frameworkLink: (props: {\n href: string\n className?: string\n children: ReactNode\n }) => ReactNode\n links: {\n href: string\n label: string\n }[]\n logo?: ReactNode\n locale?: keyof typeof translations\n}) => {\n const t = translations[locale]\n\n return (\n <Dialog.Root>\n <Dialog.Trigger asChild>\n <button aria-label={t.open} className=\"w-fit p-4 md:hidden\">\n <HugeiconsIcon icon={Menu01Icon} size={24} />\n </button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Content\n aria-describedby={undefined}\n className=\"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden\"\n >\n <Dialog.Title className=\"sr-only\">{t.menu}</Dialog.Title>\n <div className=\"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto\">\n {logo}\n </div>\n <nav className=\"flex flex-1 flex-col gap-1 overflow-y-auto p-4\">\n {links.map((link, index) => (\n <Dialog.Close asChild key={`${link.href}-${index}`}>\n <Link\n href={link.href}\n className=\"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors\"\n >\n {link.label}\n </Link>\n </Dialog.Close>\n ))}\n </nav>\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog.Root>\n )\n}\n"],"names":["translations","en","open","close","menu","ar","frameworkLink","Link","links","logo","locale","t","_jsxs","Dialog","Root","_jsx","Trigger","asChild","children","button","aria-label","className","HugeiconsIcon","icon","Menu01Icon","size","Portal","Content","aria-describedby","undefined","Title","div","nav","map","link","index","Close","href","label"],"mappings":"4IAOA,IAAMA,EAAe,CACnBC,GAAI,CAAEC,KAAM,YAAaC,MAAO,aAAcC,KAAM,MAAO,EAC3DC,GAAI,CAAEH,KAAM,cAAeC,MAAO,gBAAiBC,KAAM,SAAU,CACrE,eAEoB,CAAC,CACnBE,cAAeC,CAAI,CACnBC,MAAAA,CAAK,CACLC,KAAAA,CAAI,CACJC,OAAAA,EAAS,IAAI,CAad,IACC,IAAMC,EAAIX,CAAY,CAACU,EAAO,CAE9B,OACEE,EAAAA,IAAA,CAACC,EAAAA,OAAOC,IAAI,CAAA,WACVC,EAAAA,GAAA,CAACF,EAAAA,OAAOG,OAAO,CAAA,CAACC,QAAO,CAAA,EACrBC,SAAAH,EAAAA,GAAA,CAACI,SAAAA,CAAOC,aAAYT,EAAET,IAAI,CAAEmB,UAAU,sBACpCH,SAAAH,EAAAA,GAAA,CAACO,eAAAA,CAAAA,CAAcC,KAAMC,EAAAA,UAAAA,CAAYC,KAAM,SAG3CV,EAAAA,GAAA,CAACF,EAAAA,OAAOa,MAAM,CAAA,UACZd,EAAAA,IAAA,CAACC,EAAAA,OAAOc,OAAO,CAAA,CACbC,mBAAkBC,KAAAA,EAClBR,UAAU,ySAEVN,EAAAA,GAAA,CAACF,EAAAA,OAAOiB,KAAK,CAAA,CAACT,UAAU,UAAWV,SAAAA,EAAEP,IAAAA,GACrCW,EAAAA,GAAA,CAACgB,MAAAA,CAAIV,UAAU,0FACZZ,SAAAA,IAEHM,EAAAA,GAAA,CAACiB,MAAAA,CAAIX,UAAU,iDACZb,SAAAA,EAAMyB,GAAG,CAAC,CAACC,EAAMC,IAChBpB,EAAAA,GAAA,CAACF,EAAAA,OAAOuB,KAAK,CAAA,CAACnB,QAAO,CAAA,EACnBC,SAAAH,EAAAA,GAAA,CAACR,EAAAA,CACC8B,KAAMH,EAAKG,IAAI,CACfhB,UAAU,8SAETa,SAAAA,EAAKI,KAAAA,EALiB,EAAA,CAAA,EAAGJ,EAAKG,IAAI,CAAC,CAAC,EAAEF,EAAAA,CAAO,YAchE"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{jsxs as e,jsx as r}from"react/jsx-runtime";import{Menu01Icon as n}from"@hugeicons/core-free-icons";import{HugeiconsIcon as t}from"@hugeicons/react";import{Dialog as a}from"radix-ui";let o={en:{open:"Open menu",close:"Close menu",menu:"Menu"},ar:{open:"فتح القائمة",close:"إغلاق القائمة",menu:"القائمة"}},i=({frameworkLink:i,links:s,logo:l,locale:d="ar"})=>{let c=o[d];return e(a.Root,{children:[r(a.Trigger,{asChild:!0,children:r("button",{"aria-label":c.open,className:"w-fit p-4 md:hidden",children:r(t,{icon:n,size:24})})}),r(a.Portal,{children:e(a.Content,{"aria-describedby":void 0,className:"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden",children:[r(a.Title,{className:"sr-only",children:c.menu}),r("div",{className:"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto",children:l}),r("nav",{className:"flex flex-1 flex-col gap-1 overflow-y-auto p-4",children:s.map((e,n)=>r(a.Close,{asChild:!0,children:r(i,{href:e.href,className:"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors",children:e.label})},`${e.href}-${n}`))})]})})]})};export{i as M};
|
|
2
|
-
//# sourceMappingURL=menu-12s-CPk1Q-BE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu-12s-CPk1Q-BE.js","sources":["../src/blocks/navbar/menu.tsx"],"sourcesContent":["\"use client\"\n\nimport { type ReactNode } from \"react\"\nimport { Menu01Icon } from \"@hugeicons/core-free-icons\"\nimport { HugeiconsIcon } from \"@hugeicons/react\"\nimport { Dialog } from \"radix-ui\"\n\nconst translations = {\n en: { open: \"Open menu\", close: \"Close menu\", menu: \"Menu\" },\n ar: { open: \"فتح القائمة\", close: \"إغلاق القائمة\", menu: \"القائمة\" }\n}\n\nexport const Menu = ({\n frameworkLink: Link,\n links,\n logo,\n locale = \"ar\"\n}: {\n frameworkLink: (props: {\n href: string\n className?: string\n children: ReactNode\n }) => ReactNode\n links: {\n href: string\n label: string\n }[]\n logo?: ReactNode\n locale?: keyof typeof translations\n}) => {\n const t = translations[locale]\n\n return (\n <Dialog.Root>\n <Dialog.Trigger asChild>\n <button aria-label={t.open} className=\"w-fit p-4 md:hidden\">\n <HugeiconsIcon icon={Menu01Icon} size={24} />\n </button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Content\n aria-describedby={undefined}\n className=\"bg-nds-white border-nds-neutral-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start text-nds-black fixed inset-y-0 inset-s-0 z-50 w-full max-w-64 border-e backdrop-blur-sm duration-300 md:hidden\"\n >\n <Dialog.Title className=\"sr-only\">{t.menu}</Dialog.Title>\n <div className=\"bg-nds-neutral-50 flex h-18 shrink-0 items-center px-8 [&>img]:size-10.5 [&>img]:w-auto\">\n {logo}\n </div>\n <nav className=\"flex flex-1 flex-col gap-1 overflow-y-auto p-4\">\n {links.map((link, index) => (\n <Dialog.Close asChild key={`${link.href}-${index}`}>\n <Link\n href={link.href}\n className=\"hover:bg-nds-neutral-100 active:bg-nds-neutral-200 hover:before:bg-nds-neutral-400 active:before:bg-nds-neutral-800 relative flex items-center rounded-sm px-4 py-2 font-semibold transition-colors before:absolute before:inset-s-0 before:h-2/3 before:w-1.5 before:rounded-full before:transition-colors\"\n >\n {link.label}\n </Link>\n </Dialog.Close>\n ))}\n </nav>\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog.Root>\n )\n}\n"],"names":["translations","en","open","close","menu","ar","Menu","frameworkLink","Link","links","logo","locale","t","_jsxs","Dialog","Root","_jsx","Trigger","asChild","children","button","aria-label","className","HugeiconsIcon","icon","Menu01Icon","size","Portal","Content","aria-describedby","undefined","Title","div","nav","map","link","index","Close","href","label"],"mappings":"0MAOA,IAAMA,EAAe,CACnBC,GAAI,CAAEC,KAAM,YAAaC,MAAO,aAAcC,KAAM,MAAO,EAC3DC,GAAI,CAAEH,KAAM,cAAeC,MAAO,gBAAiBC,KAAM,SAAU,CACrE,EAEaE,EAAO,CAAC,CACnBC,cAAeC,CAAI,CACnBC,MAAAA,CAAK,CACLC,KAAAA,CAAI,CACJC,OAAAA,EAAS,IAAI,CAad,IACC,IAAMC,EAAIZ,CAAY,CAACW,EAAO,CAE9B,OACEE,EAACC,EAAOC,IAAI,CAAA,WACVC,EAACF,EAAOG,OAAO,CAAA,CAACC,QAAO,CAAA,EACrBC,SAAAH,EAACI,SAAAA,CAAOC,aAAYT,EAAEV,IAAI,CAAEoB,UAAU,sBACpCH,SAAAH,EAACO,EAAAA,CAAcC,KAAMC,EAAYC,KAAM,SAG3CV,EAACF,EAAOa,MAAM,CAAA,UACZd,EAACC,EAAOc,OAAO,CAAA,CACbC,mBAAkBC,KAAAA,EAClBR,UAAU,ySAEVN,EAACF,EAAOiB,KAAK,CAAA,CAACT,UAAU,UAAWV,SAAAA,EAAER,IAAAA,GACrCY,EAACgB,MAAAA,CAAIV,UAAU,0FACZZ,SAAAA,IAEHM,EAACiB,MAAAA,CAAIX,UAAU,iDACZb,SAAAA,EAAMyB,GAAG,CAAC,CAACC,EAAMC,IAChBpB,EAACF,EAAOuB,KAAK,CAAA,CAACnB,QAAO,CAAA,EACnBC,SAAAH,EAACR,EAAAA,CACC8B,KAAMH,EAAKG,IAAI,CACfhB,UAAU,8SAETa,SAAAA,EAAKI,KAAAA,EALiB,EAAA,CAAA,EAAGJ,EAAKG,IAAI,CAAC,CAAC,EAAEF,EAAAA,CAAO,YAchE"}
|