@skyux/forms 13.0.0-alpha.3 → 13.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -327,15 +327,11 @@ class SkyCheckboxFixture {
327
327
  * The checkbox's icon type
328
328
  */
329
329
  get iconType() {
330
- const classList = this.#debugEl.query(By.css('.fa.sky-icon'))?.nativeElement
331
- .classList;
332
- for (let i = 0, n = classList?.length; i < n; i++) {
333
- const cls = classList.item(i);
334
- if (cls.indexOf('fa-') === 0) {
335
- return cls.substr(3);
336
- }
330
+ const svgElement = this.#debugEl.query(By.css('sky-icon svg'));
331
+ if (svgElement) {
332
+ return svgElement.nativeElement.getAttribute('data-sky-icon');
337
333
  }
338
- return;
334
+ return undefined;
339
335
  }
340
336
  /**
341
337
  * The checkbox's type.