import{LitElement as t,html as e,css as o}from"../../../lit/index.js";import"./hax-toolbar-item.js";import"./hax-context-item.js";import"./hax-toolbar-menu.js";import"../../simple-toolbar/lib/simple-toolbar-menu-item.js";import{SimpleToolbarBehaviors as s}from"../../simple-toolbar/simple-toolbar.js";const HaxToolbarBehaviors=function(t){return class extends(s(t)){static get styles(){return[super.styles,o`
          :host {
            --hax-ui-border-radius: 0px;
          }
          .selected-buttons {
            transition: 0.1s all ease-in-out;
            width: 0;
          }
          :host([has-selected-text]) .selected-buttons {
            width: 100%;
          }
          ::slotted(*) {
            pointer-events: all;
          }
          ::slotted(.group) {
            border: none;
          }
        `]}constructor(){super(),this.selected=!1,this.inline=!1}static get tag(){return"hax-toolbar"}static get properties(){return{...super.properties,selected:{type:Boolean,reflect:!0},inline:{type:Boolean,reflect:!0}}}}};class HaxToolbar extends(HaxToolbarBehaviors(t)){}customElements.define(HaxToolbar.tag,HaxToolbar);export{HaxToolbar,HaxToolbarBehaviors};