{"version":3,"file":"fullscreen.cjs","names":["extendFeature","slotRender","TOOLBAR_EXTRAS","fullscreen","core","FullscreenButton","props"],"sources":["../src/fullscreen.tsx"],"sourcesContent":["import {\n  extendFeature,\n  slotRender,\n  type StaticTableFeature,\n  TOOLBAR_EXTRAS,\n} from \"@adapttable/react/adapter\";\nimport { fullscreen as core } from \"@adapttable/react/features\";\n\nimport { FullscreenButton } from \"./components/toolbarExtras\";\n\n/**\n * Take the table fullscreen, with MUI's own toolbar toggle.\n *\n * @public\n */\nexport function fullscreen(): StaticTableFeature {\n  return extendFeature(core(), [\n    slotRender(TOOLBAR_EXTRAS, (props) => <FullscreenButton {...props} />),\n  ]);\n}\n"],"mappings":";;;;;;;;;;;;AAeA,SAAgBG,aAAiC;CAC/C,QAAA,GAAOH,0BAAAA,cAAAA,EAAAA,GAAcI,2BAAAA,WAAAA,CAAK,GAAG,EAAA,GAC3BH,0BAAAA,WAAAA,CAAWC,0BAAAA,iBAAiBI,UAAU,iBAAA,GAAA,kBAAA,IAAA,CAAC,sBAAA,kBAAD,EAAkB,GAAIA,MAAM,CAAA,CAAG,CAAC,CACvE;AACH"}