{"version":3,"names":["DISABLE_SCROLLBAR_CLASS_NAME","DISABLE_SCROLLBAR_STYLE","styleDisableScrollbar","className","css"],"sources":["style-disable-scrollbar.ts"],"sourcesContent":["/**\n * Class name applied to scrollable containers whose native scrollbars must\n * be hidden (e.g. custom scrollbar-area viewports, select popups that\n * manage their own scroll arrows). Kept in sync with the React package.\n */\nexport const DISABLE_SCROLLBAR_CLASS_NAME = \"base-ui-disable-scrollbar\";\n\n/**\n * CSS text that hides native scrollbars for elements carrying\n * {@link DISABLE_SCROLLBAR_CLASS_NAME}. Two declarations cover\n * scrollbar-width for Firefox/standards and the legacy WebKit pseudo.\n */\nexport const DISABLE_SCROLLBAR_STYLE = `.${DISABLE_SCROLLBAR_CLASS_NAME}{scrollbar-width:none}.${DISABLE_SCROLLBAR_CLASS_NAME}::-webkit-scrollbar{display:none}`;\n\n/**\n * Pure helper describing the disable-scrollbar style artifact.\n *\n * **Port note:** the React source exposes `getElement(nonce?)` that returns\n * a `<style>` element via JSX. In the Solid port the renderer component\n * owns element creation, so this helper exposes only the inert pieces —\n * the class name and the CSS text — and the component wires them into its\n * own `<style>` node.\n */\nexport const styleDisableScrollbar = {\n\tclassName: DISABLE_SCROLLBAR_CLASS_NAME,\n\tcss: DISABLE_SCROLLBAR_STYLE,\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,4BAA4B,GAAG,2BAA2B;;AAEvE;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAG,IAAID,4BAA4B,0BAA0BA,4BAA4B,mCAAmC;;AAEhK;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,qBAAqB,GAAG;EACpCC,SAAS,EAAEH,4BAA4B;EACvCI,GAAG,EAAEH;AACN,CAAC","ignoreList":[]}