import Component from '../component.js'
import SpanComponent from '../span.js';

export default class CoEuiIconColor extends Component {
  constructor(parent) {
    let selector = '*[self::eui-icon-colored  or self::span[@euiIconColored] or self::*[@euiIconColored]]';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/eui-icon-color/eui-icon-color.component.ts?at=refs%2Fheads%2Fmaster
  }
  get iconSpanCO() {
    return new SpanComponent(this.currentPath).addPredicateClassContains('iconClass');
  }
  get pathsCO() {
    return new SpanComponent(this.iconSpanCO);
  }
}


