import { css, LitElement, svg, html } from "lit";
import { property } from "lit/decorators.js";
import { customElement } from "../decorator.js";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __decorateClass = (decorators, target, key, kind) => {
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
    if (decorator = decorators[i])
      result = (kind ? decorator(target, key, result) : decorator(result)) || result;
  if (kind && result) __defProp(target, key, result);
  return result;
};
let ObiInputRight = class extends LitElement {
  constructor() {
    super(...arguments);
    this.useCssColor = false;
    this.icon = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M7 7.20382C7 6.21532 8.17595 5.65107 9 6.24417L16.2777 11.1724C16.8633 11.5689 16.8634 12.4315 16.2779 12.8282L9 17.76C8.17595 18.3531 7 17.7888 7 16.8003L7 7.20382Z" fill="currentColor"/>
</svg>
`;
    this.iconCss = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 7.20382C7 6.21532 8.17595 5.65107 9 6.24417L16.2777 11.1724C16.8633 11.5689 16.8634 12.4315 16.2779 12.8282L9 17.76C8.17595 18.3531 7 17.7888 7 16.8003L7 7.20382Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiInputRight.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiInputRight.prototype, "useCssColor", 2);
ObiInputRight = __decorateClass([
  customElement("obi-input-right")
], ObiInputRight);
export {
  ObiInputRight
};
//# sourceMappingURL=icon-input-right.js.map
