{"version":3,"file":"Layout.cjs","sources":["../src/Layout/Layout.tsx"],"sourcesContent":["import type { ComponentProps } from '../components.ts';\n\nexport interface LayoutProps {\n  className?: string;\n}\n\nexport function Page({\n  children,\n  className = '',\n  ...rest\n}: ComponentProps<LayoutProps>) {\n  return (\n    <div\n      className={`tw-container ${className}`}\n      role={'document'}\n      tabIndex={0}\n      {...rest}\n    >\n      {children}\n    </div>\n  );\n}\n\nexport function Main({ children, ...rest }: ComponentProps<LayoutProps>) {\n  return <article {...rest}>{children}</article>;\n}\n\nexport function Content({ children, ...rest }: ComponentProps<LayoutProps>) {\n  return <main {...rest}>{children}</main>;\n}\n\nexport function Header({ children, ...rest }: ComponentProps<LayoutProps>) {\n  return <header {...rest}>{children}</header>;\n}\n\nexport function Footer({ children, ...rest }: ComponentProps<LayoutProps>) {\n  return <footer {...rest}>{children}</footer>;\n}\n\nexport function Side({ children, ...rest }: ComponentProps<LayoutProps>) {\n  return <aside {...rest}>{children}</aside>;\n}\n"],"names":["Page","children","className","rest","jsx","Main","Content","Header","Footer","Side"],"mappings":"+IAMO,SAASA,EAAK,CACnB,SAAAC,EACA,UAAAC,EAAY,GACZ,GAAGC,CACL,EAAgC,CAE5B,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,UAAW,gBAAgBF,CAAS,GACpC,KAAM,WACN,SAAU,EACT,GAAGC,EAEH,SAAAF,CAAA,CAAA,CAGP,CAEO,SAASI,EAAK,CAAE,SAAAJ,EAAU,GAAGE,GAAqC,CACvE,OAAQC,EAAAA,kBAAAA,IAAA,UAAA,CAAS,GAAGD,EAAO,SAAAF,CAAS,CAAA,CACtC,CAEO,SAASK,EAAQ,CAAE,SAAAL,EAAU,GAAGE,GAAqC,CAC1E,OAAQC,EAAAA,kBAAAA,IAAA,OAAA,CAAM,GAAGD,EAAO,SAAAF,CAAS,CAAA,CACnC,CAEO,SAASM,EAAO,CAAE,SAAAN,EAAU,GAAGE,GAAqC,CACzE,OAAQC,EAAAA,kBAAAA,IAAA,SAAA,CAAQ,GAAGD,EAAO,SAAAF,CAAS,CAAA,CACrC,CAEO,SAASO,EAAO,CAAE,SAAAP,EAAU,GAAGE,GAAqC,CACzE,OAAQC,EAAAA,kBAAAA,IAAA,SAAA,CAAQ,GAAGD,EAAO,SAAAF,CAAS,CAAA,CACrC,CAEO,SAASQ,EAAK,CAAE,SAAAR,EAAU,GAAGE,GAAqC,CACvE,OAAQC,EAAAA,kBAAAA,IAAA,QAAA,CAAO,GAAGD,EAAO,SAAAF,CAAS,CAAA,CACpC"}