{"version":3,"file":"SmallerTableTextOverride.Bpunpo3d.mjs","names":["useId","useMemo","_Fragment"],"sources":["https:/framerusercontent.com/modules/XU9SGJK2OgGa8sF5mSO6/JwJhIVoJ2g2S0zyDG5OU/SmallerTableTextOverride.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{forwardRef,useId,useMemo}from\"react\";export function withSmallerTableText(Component){return /*#__PURE__*/forwardRef(function WithSmallerTableText(props,ref){const{tableFontSize=14,className=\"\",style,...restProps}=props;const reactId=useId();const scopedClassName=useMemo(()=>{const safeId=reactId.replace(/[^a-zA-Z0-9_-]/g,\"\");return`with-smaller-table-text-${safeId}`;},[reactId]);const mergedClassName=className?`${className} ${scopedClassName}`:scopedClassName;const mergedStyle={...style||{},[\"--table-font-size\"]:`${tableFontSize}px`};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .${scopedClassName} table td,\n                    .${scopedClassName} table th,\n                    .${scopedClassName} table td p,\n                    .${scopedClassName} table td span,\n                    .${scopedClassName} table td li,\n                    .${scopedClassName} table td h1,\n                    .${scopedClassName} table td h2,\n                    .${scopedClassName} table td h3,\n                    .${scopedClassName} table td h4,\n                    .${scopedClassName} table td h5,\n                    .${scopedClassName} table td h6,\n                    .${scopedClassName} table th p,\n                    .${scopedClassName} table th span,\n                    .${scopedClassName} table th li,\n                    .${scopedClassName} table th h1,\n                    .${scopedClassName} table th h2,\n                    .${scopedClassName} table th h3,\n                    .${scopedClassName} table th h4,\n                    .${scopedClassName} table th h5,\n                    .${scopedClassName} table th h6 {\n                        font-size: var(--table-font-size, 14px) !important;\n                        line-height: 1.4;\n                    }\n                `}),/*#__PURE__*/_jsx(Component,{ref:ref,...restProps,className:mergedClassName,style:mergedStyle})]});});}addPropertyControls(withSmallerTableText,{tableFontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:0,max:48,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"withSmallerTableText\":{\"type\":\"reactHoc\",\"name\":\"withSmallerTableText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SmallerTableTextOverride.map"],"mappings":"uMAA+K,SAAgB,EAAqB,EAAU,CAAC,OAAoB,EAAW,SAA8B,EAAM,EAAI,CAAC,GAAK,CAAC,gBAAc,GAAG,YAAU,GAAG,QAAM,GAAG,GAAW,EAAY,EAAQA,EAAM,EAAQ,EAAgBC,MAAsE,2BAA5C,EAAQ,QAAQ,kBAAkB,EAA0C,IAAM,CAAC,CAAO,CAAC,EAAQ,EAAgB,EAAU,GAAG,EAAU,GAAG,IAAkB,EAAsB,EAAY,CAAC,GAAG,GAAO,CAAC,EAAG,oBAAqB,GAAG,EAAc,GAAG,EAAE,OAAoB,EAAMC,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;uBACluB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;uBAChB,EAAgB;;;;iBAItB,CAAC,EAAe,EAAK,EAAU,CAAK,MAAI,GAAG,EAAU,UAAU,EAAgB,MAAM,CAAW,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,iBAxB5C,IAAoD,IAA4C,EAwBnD,EAAoB,EAAqB,CAAC,cAAc,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,CAAC,CAAC"}