'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-bb72bde3.js');
require('./common-a086c7ac.js');
require('./IntersectionHelper-16aa1ea1.js');
const Heading = require('./Heading-f7728cfd.js');
const tools = require('./tools-44ad1873.js');

const UIHeading = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    /**
     * Which heading level to use
     * [Figma Spec](https://www.figma.com/file/JhTzz4Z6S4WDyfgtMZ1fr1/DS---Core?node-id=353%3A10)
     */
    this.level = 3;
    /**
     * Posters are extra large text, typically used in the hero section of a page.
     * _Note_: Poster only supports levels 1 - 4.
     * [Figma Spec](https://www.figma.com/file/JhTzz4Z6S4WDyfgtMZ1fr1/DS---Core?node-id=363%3A4)
     */
    this.poster = false;
  }
  render() {
    return (index.h(Heading.Heading, Object.assign({}, tools.getProps(['level', 'poster', 'as'], this)), index.h("slot", null)));
  }
};

exports.ui_heading = UIHeading;
