{"version":3,"sources":["../src/plugin/sidebar/separated/root.tsx"],"names":["forwardRef","jsx","styled"],"mappings":";;;;;;;;;;;AAKA,IAAM,SAAA,GAAYA,gBAAA,CAA+C,CAAC,KAAA,EAAO,GAAA,KAAQ;AAC/E,EAAA,MAAM,EAAE,QAAA,EAAU,GAAG,QAAA,EAAS,GAAI,KAAA;AAClC,EAAA,uBACEC,cAAA,CAAC,SAAK,GAAG,QAAA,EAAU,KACjB,QAAA,kBAAAA,cAAA,CAAC,KAAA,EAAA,EAAK,UAAS,CAAA,EACjB,CAAA;AAEJ,CAAC,CAAA;AAED,IAAM,eAAA,GAAkBC,wBAAO,SAAS,CAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAcjC,IAAM,aAAA,GAAgB","file":"chunk-YAO2VNBN.cjs","sourcesContent":["import styled from '@emotion/styled';\r\nimport { forwardRef } from 'react';\r\n\r\nexport interface PluginSidebarProps extends React.HTMLAttributes<HTMLDivElement> {}\r\n\r\nconst Component = forwardRef<HTMLDivElement, PluginSidebarProps>((props, ref) => {\r\n  const { children, ...divProps } = props;\r\n  return (\r\n    <div {...divProps} ref={ref}>\r\n      <div>{children}</div>\r\n    </div>\r\n  );\r\n});\r\n\r\nconst StyledComponent = styled(Component)`\r\n  grid-area: sidebar;\r\n\r\n  > div {\r\n    position: sticky;\r\n    top: 48px;\r\n    height: calc(100vh - 200px);\r\n    display: flex;\r\n    flex-direction: column;\r\n    align-items: stretch;\r\n    border-right: 1px solid #0001;\r\n  }\r\n`;\r\n\r\nexport const PluginSidebar = StyledComponent;\r\n"]}