diff --git a/apps/daffio/src/app/api/api.module.ts b/apps/daffio/src/app/api/api.module.ts index fba738e510..59950ea7e5 100644 --- a/apps/daffio/src/app/api/api.module.ts +++ b/apps/daffio/src/app/api/api.module.ts @@ -1,10 +1,8 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { - DaffArticleModule, - DaffContainerModule, -} from '@daffodil/design'; +import { DaffContainerModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DaffioDocsApiRoutingModule } from './api-routing.module'; import { DaffioApiListModule } from './components/api-list/api-list.module'; diff --git a/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.component.spec.ts b/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.component.spec.ts index 7511cf852a..a5bafbe853 100644 --- a/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.component.spec.ts +++ b/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.component.spec.ts @@ -7,7 +7,7 @@ import { import { By } from '@angular/platform-browser'; import { RouterTestingModule } from '@angular/router/testing'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DaffioDocViewerComponent } from './doc-viewer.component'; import { DaffioDoc } from '../../models/doc'; diff --git a/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.module.ts b/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.module.ts index 4a72763a73..2873a042aa 100644 --- a/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.module.ts +++ b/apps/daffio/src/app/docs/components/doc-viewer/doc-viewer.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DaffioDocViewerComponent } from './doc-viewer.component'; import { DaffioDocsTableOfContentsModule } from '../table-of-contents/table-of-contents.module'; diff --git a/apps/design-land/src/app/accordion/accordion.module.ts b/apps/design-land/src/app/accordion/accordion.module.ts index 829d07f4af..909d70f5cb 100644 --- a/apps/design-land/src/app/accordion/accordion.module.ts +++ b/apps/design-land/src/app/accordion/accordion.module.ts @@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandAccordionRoutingModule } from './accordion-routing.module'; import { DesignLandAccordionComponent } from './accordion.component'; diff --git a/apps/design-land/src/app/app.module.ts b/apps/design-land/src/app/app.module.ts index d91c67d27e..ef943fb516 100644 --- a/apps/design-land/src/app/app.module.ts +++ b/apps/design-land/src/app/app.module.ts @@ -7,11 +7,11 @@ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; import { DaffSidebarModule, DaffLinkSetModule, - DaffArticleModule, DAFF_THEME_INITIALIZER, DaffNavbarModule, DaffButtonModule, } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DaffThemeSwitchButtonModule } from '@daffodil/theme-switch'; import { DesignLandAppRoutingModule } from './app-routing.module'; diff --git a/apps/design-land/src/app/article/article.module.ts b/apps/design-land/src/app/article/article.module.ts index cd0ffcde27..bf7b31a4c4 100644 --- a/apps/design-land/src/app/article/article.module.ts +++ b/apps/design-land/src/app/article/article.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandArticleRoutingModule } from './article-routing.module'; import { DesignLandArticleComponent } from './article.component'; diff --git a/apps/design-land/src/app/button/button.module.ts b/apps/design-land/src/app/button/button.module.ts index c96832a2e8..a6001abb3e 100644 --- a/apps/design-land/src/app/button/button.module.ts +++ b/apps/design-land/src/app/button/button.module.ts @@ -1,10 +1,8 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { - DaffArticleModule, - DaffButtonModule, -} from '@daffodil/design'; +import { DaffButtonModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandButtonRoutingModule } from './button-routing.module'; import { DesignLandButtonComponent } from './button.component'; diff --git a/apps/design-land/src/app/callout/callout.module.ts b/apps/design-land/src/app/callout/callout.module.ts index db324e0ce5..2dfe9cf30c 100644 --- a/apps/design-land/src/app/callout/callout.module.ts +++ b/apps/design-land/src/app/callout/callout.module.ts @@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandCalloutRoutingModule } from './callout-routing.module'; import { DesignLandCalloutComponent } from './callout.component'; diff --git a/apps/design-land/src/app/card/card.module.ts b/apps/design-land/src/app/card/card.module.ts index 32d753c0be..cebc8cb307 100644 --- a/apps/design-land/src/app/card/card.module.ts +++ b/apps/design-land/src/app/card/card.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandCardRoutingModule } from './card-routing.module'; import { DesignLandCardComponent } from './card.component'; diff --git a/apps/design-land/src/app/container/container.module.ts b/apps/design-land/src/app/container/container.module.ts index 38df7b1b6d..98085a48b4 100644 --- a/apps/design-land/src/app/container/container.module.ts +++ b/apps/design-land/src/app/container/container.module.ts @@ -1,10 +1,8 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { - DaffArticleModule, - DaffContainerModule, -} from '@daffodil/design'; +import { DaffContainerModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandContainerRoutingModule } from './container-routing.module'; import { DesignLandContainerComponent } from './container.component'; diff --git a/apps/design-land/src/app/foundations/color/color.module.ts b/apps/design-land/src/app/foundations/color/color.module.ts index e2fdd444e1..19a55d5a6b 100644 --- a/apps/design-land/src/app/foundations/color/color.module.ts +++ b/apps/design-land/src/app/foundations/color/color.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandColorRoutingModule } from './color-routing.module'; import { DesignLandColorComponent } from './color.component'; diff --git a/apps/design-land/src/app/foundations/variables/variables.module.ts b/apps/design-land/src/app/foundations/variables/variables.module.ts index ef37d3d8b6..e759b1904d 100644 --- a/apps/design-land/src/app/foundations/variables/variables.module.ts +++ b/apps/design-land/src/app/foundations/variables/variables.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandVariablesRoutingModule } from './variables-routing.module'; import { DesignLandVariablesComponent } from './variables.component'; diff --git a/apps/design-land/src/app/hero/hero.module.ts b/apps/design-land/src/app/hero/hero.module.ts index d7a76a9d41..4f59b7f99c 100644 --- a/apps/design-land/src/app/hero/hero.module.ts +++ b/apps/design-land/src/app/hero/hero.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandHeroRoutingModule } from './hero-routing.module'; import { DesignLandHeroComponent } from './hero.component'; diff --git a/apps/design-land/src/app/image/image.module.ts b/apps/design-land/src/app/image/image.module.ts index 1cd5eb3719..843797a5d9 100644 --- a/apps/design-land/src/app/image/image.module.ts +++ b/apps/design-land/src/app/image/image.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandImageRoutingModule } from './image-routing-module'; import { DesignLandImageComponent } from './image.component'; diff --git a/apps/design-land/src/app/input/input.module.ts b/apps/design-land/src/app/input/input.module.ts index 775ed92eeb..be31cfc20c 100644 --- a/apps/design-land/src/app/input/input.module.ts +++ b/apps/design-land/src/app/input/input.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandInputRoutingModule } from './input-routing.module'; import { DesignLandInputComponent } from './input.component'; diff --git a/apps/design-land/src/app/list/list.module.ts b/apps/design-land/src/app/list/list.module.ts index 614a8dbc30..7fceaa864d 100644 --- a/apps/design-land/src/app/list/list.module.ts +++ b/apps/design-land/src/app/list/list.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandListRoutingModule } from './list-routing.module'; import { DesignLandListComponent } from './list.component'; diff --git a/apps/design-land/src/app/loading-icon/loading-icon.module.ts b/apps/design-land/src/app/loading-icon/loading-icon.module.ts index f04e870e2b..d575cf337c 100644 --- a/apps/design-land/src/app/loading-icon/loading-icon.module.ts +++ b/apps/design-land/src/app/loading-icon/loading-icon.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandLoadingIconRoutingModule } from './loading-icon-routing.module'; import { DesignLandLoadingIconComponent } from './loading-icon.component'; diff --git a/apps/design-land/src/app/media-gallery/media-gallery.module.ts b/apps/design-land/src/app/media-gallery/media-gallery.module.ts index fbcf4d6ca5..9cf3b966a9 100644 --- a/apps/design-land/src/app/media-gallery/media-gallery.module.ts +++ b/apps/design-land/src/app/media-gallery/media-gallery.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandMediaGalleryRoutingModule } from './media-gallery-routing-module'; import { DesignLandMediaGalleryComponent } from './media-gallery.component'; diff --git a/apps/design-land/src/app/menu/menu.module.ts b/apps/design-land/src/app/menu/menu.module.ts index 594351c7ac..d48841e713 100644 --- a/apps/design-land/src/app/menu/menu.module.ts +++ b/apps/design-land/src/app/menu/menu.module.ts @@ -2,10 +2,10 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { - DaffArticleModule, DaffButtonModule, DaffMenuModule, } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandMenuRoutingModule } from './menu-routing-module'; import { DesignLandMenuComponent } from './menu.component'; diff --git a/apps/design-land/src/app/modal/modal.module.ts b/apps/design-land/src/app/modal/modal.module.ts index 53a86d226b..9ce4dde7ab 100644 --- a/apps/design-land/src/app/modal/modal.module.ts +++ b/apps/design-land/src/app/modal/modal.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandModalRoutingModule } from './modal-routing.module'; import { DesignLandModalComponent } from './modal.component'; diff --git a/apps/design-land/src/app/navbar/navbar.module.ts b/apps/design-land/src/app/navbar/navbar.module.ts index fdada83886..f30bf40ce4 100644 --- a/apps/design-land/src/app/navbar/navbar.module.ts +++ b/apps/design-land/src/app/navbar/navbar.module.ts @@ -2,17 +2,14 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { - DaffArticleModule, - DaffNavbarModule, -} from '@daffodil/design'; +import { DaffNavbarModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandNavbarRoutingModule } from './navbar-routing.module'; import { DesignLandNavbarComponent } from './navbar.component'; import { DesignLandArticleEncapsulatedModule } from '../core/article-encapsulated/article-encapsulated.module'; import { DesignLandExampleViewerModule } from '../core/code-preview/container/example-viewer.module'; - @NgModule({ declarations: [ DesignLandNavbarComponent, diff --git a/apps/design-land/src/app/notification/notification.module.ts b/apps/design-land/src/app/notification/notification.module.ts index edeec3a9ab..f1bcaf5472 100644 --- a/apps/design-land/src/app/notification/notification.module.ts +++ b/apps/design-land/src/app/notification/notification.module.ts @@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DaffNotificationModule } from '@daffodil/design/notification'; import { DesignLandNotificationRoutingModule } from './notification-routing-module'; diff --git a/apps/design-land/src/app/paginator/paginator.module.ts b/apps/design-land/src/app/paginator/paginator.module.ts index bd7b633cb7..6f08ccddb9 100644 --- a/apps/design-land/src/app/paginator/paginator.module.ts +++ b/apps/design-land/src/app/paginator/paginator.module.ts @@ -1,10 +1,8 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { - DaffPaginatorModule, - DaffArticleModule, -} from '@daffodil/design'; +import { DaffPaginatorModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandPaginatorRoutingModule } from './paginator-routing.module'; import { DesignLandPaginatorComponent } from './paginator.component'; diff --git a/apps/design-land/src/app/quantity-field/quantity-field.module.ts b/apps/design-land/src/app/quantity-field/quantity-field.module.ts index 7b144c56b8..fc8f95c074 100644 --- a/apps/design-land/src/app/quantity-field/quantity-field.module.ts +++ b/apps/design-land/src/app/quantity-field/quantity-field.module.ts @@ -1,10 +1,8 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { - DaffArticleModule, - DaffQuantityFieldModule, -} from '@daffodil/design'; +import { DaffQuantityFieldModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandQuantityFieldRoutingModule } from './quantity-field-routing.module'; import { DesignLandQuantityFieldComponent } from './quantity-field.component'; diff --git a/apps/design-land/src/app/typography/typography.module.ts b/apps/design-land/src/app/typography/typography.module.ts index e43ac46ee5..7f1c8ed6d2 100644 --- a/apps/design-land/src/app/typography/typography.module.ts +++ b/apps/design-land/src/app/typography/typography.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { DesignLandTypographyRoutingModule } from './typography-routing.module'; import { DesignLandTypographyComponent } from './typography.component'; diff --git a/libs/design/src/molecules/article/README.md b/libs/design/article/README.md similarity index 100% rename from libs/design/src/molecules/article/README.md rename to libs/design/article/README.md diff --git a/libs/design/article/examples/src/article-examples.module.ts b/libs/design/article/examples/src/article-examples.module.ts index 73b1aedcd8..2d77bc8c8f 100644 --- a/libs/design/article/examples/src/article-examples.module.ts +++ b/libs/design/article/examples/src/article-examples.module.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; -import { DaffArticleModule } from '@daffodil/design'; +import { DaffArticleModule } from '@daffodil/design/article'; import { ARTICLE_EXAMPLES } from './examples'; diff --git a/libs/design/article/ng-package.json b/libs/design/article/ng-package.json new file mode 100644 index 0000000000..4888e4cd57 --- /dev/null +++ b/libs/design/article/ng-package.json @@ -0,0 +1,9 @@ +{ + "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../dist/design/article", + "deleteDestPath": false, + "lib": { + "entryFile": "src/index.ts", + "styleIncludePaths": ["../src/scss"] + } +} \ No newline at end of file diff --git a/libs/design/src/molecules/article/article-lead/article-lead.directive.spec.ts b/libs/design/article/src/article-lead/article-lead.directive.spec.ts similarity index 100% rename from libs/design/src/molecules/article/article-lead/article-lead.directive.spec.ts rename to libs/design/article/src/article-lead/article-lead.directive.spec.ts diff --git a/libs/design/src/molecules/article/article-lead/article-lead.directive.ts b/libs/design/article/src/article-lead/article-lead.directive.ts similarity index 100% rename from libs/design/src/molecules/article/article-lead/article-lead.directive.ts rename to libs/design/article/src/article-lead/article-lead.directive.ts diff --git a/libs/design/src/molecules/article/article-meta/article-meta.directive.spec.ts b/libs/design/article/src/article-meta/article-meta.directive.spec.ts similarity index 100% rename from libs/design/src/molecules/article/article-meta/article-meta.directive.spec.ts rename to libs/design/article/src/article-meta/article-meta.directive.spec.ts diff --git a/libs/design/src/molecules/article/article-meta/article-meta.directive.ts b/libs/design/article/src/article-meta/article-meta.directive.ts similarity index 100% rename from libs/design/src/molecules/article/article-meta/article-meta.directive.ts rename to libs/design/article/src/article-meta/article-meta.directive.ts diff --git a/libs/design/src/molecules/article/article/article-theme.scss b/libs/design/article/src/article-theme.scss similarity index 94% rename from libs/design/src/molecules/article/article/article-theme.scss rename to libs/design/article/src/article-theme.scss index da0af55ca9..19782e3507 100644 --- a/libs/design/src/molecules/article/article/article-theme.scss +++ b/libs/design/article/src/article-theme.scss @@ -1,7 +1,7 @@ @use 'sass:map'; -@use 'stops-article-cascade' as *; -@use '../../../../scss/core'; -@use '../../../../scss/theming'; +@use './article/stops-article-cascade' as *; +@use '../../scss/core'; +@use '../../scss/theming'; @mixin daff-article-theme($theme) { $primary: map.get($theme, primary); diff --git a/libs/design/src/molecules/article/article-title/article-title.directive.spec.ts b/libs/design/article/src/article-title/article-title.directive.spec.ts similarity index 100% rename from libs/design/src/molecules/article/article-title/article-title.directive.spec.ts rename to libs/design/article/src/article-title/article-title.directive.spec.ts diff --git a/libs/design/src/molecules/article/article-title/article-title.directive.ts b/libs/design/article/src/article-title/article-title.directive.ts similarity index 100% rename from libs/design/src/molecules/article/article-title/article-title.directive.ts rename to libs/design/article/src/article-title/article-title.directive.ts diff --git a/libs/design/src/molecules/article/article.module.ts b/libs/design/article/src/article.module.ts similarity index 100% rename from libs/design/src/molecules/article/article.module.ts rename to libs/design/article/src/article.module.ts diff --git a/libs/design/src/molecules/article/article/_stops-article-cascade.scss b/libs/design/article/src/article/_stops-article-cascade.scss similarity index 100% rename from libs/design/src/molecules/article/article/_stops-article-cascade.scss rename to libs/design/article/src/article/_stops-article-cascade.scss diff --git a/libs/design/src/molecules/article/article/article.component.scss b/libs/design/article/src/article/article.component.scss similarity index 98% rename from libs/design/src/molecules/article/article/article.component.scss rename to libs/design/article/src/article/article.component.scss index a26bdb9321..3ab071d099 100644 --- a/libs/design/src/molecules/article/article/article.component.scss +++ b/libs/design/article/src/article/article.component.scss @@ -1,4 +1,4 @@ -@use '../../../../scss/typography' as t; +@use '../../../scss/typography' as t; @use 'stops-article-cascade' as *; .daff-article { diff --git a/libs/design/src/molecules/article/article/article.component.spec.ts b/libs/design/article/src/article/article.component.spec.ts similarity index 100% rename from libs/design/src/molecules/article/article/article.component.spec.ts rename to libs/design/article/src/article/article.component.spec.ts diff --git a/libs/design/src/molecules/article/article/article.component.ts b/libs/design/article/src/article/article.component.ts similarity index 100% rename from libs/design/src/molecules/article/article/article.component.ts rename to libs/design/article/src/article/article.component.ts diff --git a/libs/design/article/src/index.ts b/libs/design/article/src/index.ts new file mode 100644 index 0000000000..4aaf8f92ed --- /dev/null +++ b/libs/design/article/src/index.ts @@ -0,0 +1 @@ +export * from './public_api'; diff --git a/libs/design/src/molecules/article/public_api.ts b/libs/design/article/src/public_api.ts similarity index 100% rename from libs/design/src/molecules/article/public_api.ts rename to libs/design/article/src/public_api.ts diff --git a/libs/design/scss/theme.scss b/libs/design/scss/theme.scss index 9a9b3ac46b..7ba365276b 100644 --- a/libs/design/scss/theme.scss +++ b/libs/design/scss/theme.scss @@ -19,6 +19,7 @@ // @daffodil/design components @use './theming/theme-css-variables' as variables; @use '../src/atoms/button/button-theme' as button; +@use '../article/src/article-theme' as article; @use '../src/atoms/form/error-message/error-message-theme' as error-message; @use '../src/atoms/form/form-field/form-field/form-field-theme' as form-field; @use '../src/atoms/form/input/input-theme' as input; @@ -26,7 +27,6 @@ @use '../src/atoms/loading-icon/loading-icon-theme' as loading-icon; @use '../src/atoms/progress-indicator/progress-indicator-theme' as progress-indicator; @use '../src/molecules/accordion/accordion-item/accordion-item-theme' as accordion-item; -@use '../src/molecules/article/article/article-theme' as article; @use '../src/molecules/callout/callout-theme' as callout; @use '../src/molecules/card/card/card-theme' as card; @use '../src/molecules/hero/hero-theme' as hero; diff --git a/libs/design/src/molecules/media-gallery/media-renderer/media-renderer.component.spec.ts b/libs/design/src/molecules/media-gallery/media-renderer/media-renderer.component.spec.ts index c8b8d1744b..7f20e9a93e 100644 --- a/libs/design/src/molecules/media-gallery/media-renderer/media-renderer.component.spec.ts +++ b/libs/design/src/molecules/media-gallery/media-renderer/media-renderer.component.spec.ts @@ -10,8 +10,9 @@ import { import { By } from '@angular/platform-browser'; import { BehaviorSubject } from 'rxjs'; +import { DaffArticleComponent } from '@daffodil/design/article'; + import { DaffMediaRendererComponent } from './media-renderer.component'; -import { DaffArticleComponent } from '../../article/public_api'; import { DaffCardComponent } from '../../card/public_api'; import { DaffMediaGalleryRegistration } from '../media-gallery-registration.interface'; import { DAFF_MEDIA_GALLERY_TOKEN } from '../media-gallery-token'; diff --git a/libs/design/src/public_api.ts b/libs/design/src/public_api.ts index 36583bb58f..0a713d3509 100644 --- a/libs/design/src/public_api.ts +++ b/libs/design/src/public_api.ts @@ -20,7 +20,6 @@ export * from './atoms/form/form-label/public_api'; // Molecules export * from './molecules/accordion/public_api'; -export * from './molecules/article/public_api'; export * from './molecules/backdrop/public_api'; export * from './molecules/button-set/public_api'; export * from './molecules/image-gallery/public_api';