UNPKG

@radix-ui/themes

Version:

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

3 lines (2 loc) 1.22 kB
"use strict";var p=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var g=(r,o)=>{for(var t in o)p(r,t,{get:o[t],enumerable:!0})},y=(r,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==t&&p(r,e,{get:()=>o[e],enumerable:!(s=l(o,e))||s.enumerable});return r};var z=r=>y(p({},"__esModule",{value:!0}),r);var b={};g(b,{headingPropDefs:()=>u});module.exports=z(b);var f=require("../props/as-child.prop.js"),i=require("../props/color.prop.js"),m=require("../props/high-contrast.prop.js"),a=require("../props/leading-trim.prop.js"),n=require("../props/text-align.prop.js"),h=require("../props/text-wrap.prop.js"),D=require("../props/truncate.prop.js"),P=require("../props/weight.prop.js");const v=["h1","h2","h3","h4","h5","h6"],x=["1","2","3","4","5","6","7","8","9"],u={as:{type:"enum",values:v,default:"h1"},...f.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:x,default:"6",responsive:!0},...P.weightPropDef,...n.textAlignPropDef,...a.leadingTrimPropDef,...D.truncatePropDef,...h.textWrapPropDef,...i.colorPropDef,...m.highContrastPropDef}; //# sourceMappingURL=heading.props.js.map