@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
5 lines (4 loc) • 491 B
JavaScript
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
v3.2.1 */
import{a as n,b as m,c}from"./VAHSXLFS.js";import{a as l}from"./YXZ62PQO.js";import{F as i}from"./BJZTU5BQ.js";function f(e){return Math.min(Math.max(Math.ceil(e),1),6)}var h=({children:e,...a})=>{let t=a.level?n(`h${a.level}`):m`div`;return l(a.key,c`<${t} class=${i(a.class)}>${e}</${t}>`)};export{f as a,h as b};