UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

3 lines (2 loc) 840 B
"use strict";var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var c=(e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of m(t))!a.call(e,r)&&r!==n&&s(e,r,{get:()=>t[r],enumerable:!(o=f(t,r))||o.enumerable});return e};var v=e=>d(s({},"__esModule",{value:!0}),e);var P={};c(P,{mapButtonSizeToSpinnerSize:()=>p,mapCalloutSizeToTextSize:()=>u,mapResponsiveProp:()=>i});module.exports=v(P);function i(e,t){if(e!==void 0)return typeof e=="string"?t(e):Object.fromEntries(Object.entries(e).map(([n,o])=>[n,t(o)]))}function u(e){return e==="3"?"3":"2"}function p(e){switch(e){case"1":return"1";case"2":case"3":return"2";case"4":return"3"}} //# sourceMappingURL=map-prop-values.js.map