Skip to content

Commit

Permalink
fix(components/icon): reorganize internal file structure for correct …
Browse files Browse the repository at this point in the history
…documentation output (#2810)
  • Loading branch information
Blackbaud-TrevorBurch authored Oct 8, 2024
1 parent 00c4b8f commit 08da772
Show file tree
Hide file tree
Showing 34 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions libs/components/icon/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export { SkyIconStackItem } from './lib/icon/icon-stack-item';
export { SkyIconModule } from './lib/icon/icon.module';
export { SkyIconType } from './lib/icon/types/icon-type';
export { SkyIconVariantType } from './lib/icon/types/icon-variant-type';
export { SkyIconStackItem } from './lib/modules/icon/icon-stack-item';
export { SkyIconModule } from './lib/modules/icon/icon.module';
export { SkyIconType } from './lib/modules/icon/types/icon-type';
export { SkyIconVariantType } from './lib/modules/icon/types/icon-variant-type';

export { SkyIconComponent as λ1 } from './lib/icon/icon.component';
export { SkyIconStackComponent as λ2 } from './lib/icon/icon-stack.component';
export { SkyIconComponent as λ1 } from './lib/modules/icon/icon.component';
export { SkyIconStackComponent as λ2 } from './lib/modules/icon/icon-stack.component';
2 changes: 1 addition & 1 deletion libs/components/icon/testing/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lib": {
"entryFile": "src/index.ts"
"entryFile": "src/public-api.ts"
}
}
4 changes: 2 additions & 2 deletions libs/components/icon/testing/src/icon/icon-harness.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { HarnessLoader } from '@angular/cdk/testing';
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';
import { Component } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
// eslint-disable-next-line @nx/enforce-module-boundaries
import { SkyIconModule } from '@skyux/icon';
import {
SkyTheme,
SkyThemeMode,
Expand All @@ -12,8 +14,6 @@ import {

import { BehaviorSubject } from 'rxjs';

import { SkyIconModule } from '../../../src/lib/icon/icon.module';

import { SkyIconHarness } from './icon-harness';

//#region Test component
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
],
"@skyux/i18n": ["libs/components/i18n/src/index.ts"],
"@skyux/icon": ["libs/components/icon/src/index.ts"],
"@skyux/icon/testing": ["libs/components/icon/testing/src/index.ts"],
"@skyux/icon/testing": ["libs/components/icon/testing/src/public-api.ts"],
"@skyux/indicators": ["libs/components/indicators/src/index.ts"],
"@skyux/indicators/testing": [
"libs/components/indicators/testing/src/public-api.ts"
Expand Down

0 comments on commit 08da772

Please sign in to comment.