/**
 * Copyright 2019 Penn State University
 * @license Apache-2.0, see License.md for full text.
 */
import{LitElement as t,html as i,css as e}from"../../../../lit/index.js";import{RichTextEditorToolbarBehaviors as o}from"./rich-text-editor-toolbar.js";import"../../../absolute-position-behavior/absolute-position-behavior.js";class RichTextEditorToolbarMini extends(o(t)){static get tag(){return"rich-text-editor-toolbar-mini"}static get styles(){return[...super.baseStyles,...super.miniStyles]}render(){return i` ${super.miniTemplate} `}constructor(){super(),this.sticky=!1,this.config=this.miniConfig}updated(t){super.updated(t),t.forEach(((t,i)=>{"sticky"===i&&this.sticky&&(this.sticky=!1)}))}}export{RichTextEditorToolbarMini};customElements.define(RichTextEditorToolbarMini.tag,RichTextEditorToolbarMini);