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 ObiInputUp = 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="M16.7983 17C17.7868 17 18.351 15.824 17.7579 15L12.8297 7.72235C12.4331 7.13673 11.5706 7.1366 11.1738 7.72209L6.2421 15C5.64901 15.824 6.21326 17 7.20176 17L16.7983 17Z" 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="M16.7983 17C17.7868 17 18.351 15.824 17.7579 15L12.8297 7.72235C12.4331 7.13673 11.5706 7.1366 11.1738 7.72209L6.2421 15C5.64901 15.824 6.21326 17 7.20176 17L16.7983 17Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiInputUp.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiInputUp.prototype, "useCssColor", 2);
ObiInputUp = __decorateClass([
  customElement("obi-input-up")
], ObiInputUp);
export {
  ObiInputUp
};
//# sourceMappingURL=icon-input-up.js.map
