import {ScanditHTMLElement,html,defineCustomElements,css}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';import {ScanditIconBuilder,ScanditIconType,Color}from'@scandit/web-datacapture-core';var t=class t extends ScanditHTMLElement{constructor(){super();let e=this.attachShadow({mode:"open"});e.innerHTML=html`
      <button>
        <slot name="icon"></slot>
        <slot></slot>
      </button>
    `,e.append(t.createStyleElement().cloneNode(true));}async connectedCallback(){let o=await new ScanditIconBuilder().withIcon(ScanditIconType.ChevronDown).withIconColor(Color.fromHex("#3D4852").withAlpha(.8)).withWidth(24).withHeight(24).withIconSize(20).build();o.setAttribute("slot","icon"),this.append(o);}static create(){return document.createElement(t.tag)}static register(){defineCustomElements({[t.tag]:t});}static createStyleElement(){return css`:host{display:inline-block;font-family:SF Pro Text,sans-serif}:host button{align-items:center;background-color:#ffffffe6;border:none;border-radius:1rem;color:#3d4852cc;display:flex;font-size:.688rem;font-weight:600;gap:.25rem;justify-content:center;min-width:140px;min-width:100px;padding:.25rem .5rem}`}};t.tag="scandit-find-card-list-button";var n=t;n.register();export{n as a};