import { default as React } from 'react'; import { StaffbaseDrawerProps } from './types/StaffbaseDrawerProps'; /** * Props for `StaffbaseDrawerShadowRoot`. * * This component provides "maximum isolation" by: * - Creating a per-instance ShadowRoot * - Injecting the drawer CSS into that ShadowRoot only * - Portalling the drawer into an element inside that ShadowRoot (never `document.body`) */ export interface StaffbaseDrawerShadowRootProps extends Omit { /** * ShadowRoot mode. `open` is recommended to allow debugging and portal targeting. * @default 'open' */ mode?: ShadowRootMode; /** * When true, clones host page stylesheets into the ShadowRoot so * slotted/embedded content can use host styling (e.g., Staffbase article CSS). * @default true */ includeHostStyles?: boolean; /** * Optional CSS selectors that limit which host styles are cloned. * Example: ['link[href*="staffbase"]', 'style[data-widget-styles]'] * When omitted, all and