Skip to content

Commit

Permalink
feat(design): remove deprecated DaffButtonSetComponent from @daffodil…
Browse files Browse the repository at this point in the history
…/design (#2861)

BREAKING CHANGE: DaffButtonSetComponent has been removed from @daffodil/design. You should add your own custom styling for groups of buttons.
  • Loading branch information
xelaint committed Jun 13, 2024
1 parent 2a18308 commit dc22055
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
<demo-product-added *ngIf="(loading$ | async) === false" class="demo-add-to-cart-notification__product-added"
[product]="product$ | async" [qty]="productQty$ | async"></demo-product-added>
<div *ngIf="(loading$ | async) === false" daff-button-set class="demo-add-to-cart-notification__button-set">
<div *ngIf="(loading$ | async) === false" class="demo-add-to-cart-notification__button-set">
<button type="button" daff-stroked-button demoViewCart>
View Cart ({{(cartItemCount$ | async)}})
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';

import { DaffButtonSetModule } from '@daffodil/design';
import { DaffButtonModule } from '@daffodil/design/button';
import { DaffLoadingIconModule } from '@daffodil/design/loading-icon';

Expand All @@ -18,7 +17,6 @@ import { ProductAddedModule } from '../product-added/product-added.module';
ProceedToCheckoutModule,
ProductAddedModule,
DaffLoadingIconModule,
DaffButtonSetModule,
DaffButtonModule,
FontAwesomeModule,
],
Expand Down
2 changes: 0 additions & 2 deletions apps/demo/src/app/core/footer/footer.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { By } from '@angular/platform-browser';
import { RouterTestingModule } from '@angular/router/testing';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';

import { DaffButtonSetModule } from '@daffodil/design';
import { DaffContainerModule } from '@daffodil/design/container';
import { DaffListModule } from '@daffodil/design/list';

Expand All @@ -26,7 +25,6 @@ describe('FooterComponent', () => {
RouterTestingModule,
DaffContainerModule,
DaffListModule,
DaffButtonSetModule,
FontAwesomeModule,
],
})
Expand Down
1 change: 0 additions & 1 deletion libs/design/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ Refer to the [Upgrade Guide](./guides/upgrading.md).
* [Accordion](./src/molecules/accordion/README.md)
* [Article](./src/molecules/article/README.md)
* [Backdrop](./src/molecules/backdrop/README.md)
* [Button Set](./src/molecules/button-set/README.md)
* [Callout](./src/molecules/callout/README.md)
* [Card](./src/molecules/card/README.md)
* [Feature](./src/molecules/feature/README.md)
Expand Down
15 changes: 0 additions & 15 deletions libs/design/src/molecules/button-set/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions libs/design/src/molecules/button-set/button-set.component.scss

This file was deleted.

55 changes: 0 additions & 55 deletions libs/design/src/molecules/button-set/button-set.component.spec.ts

This file was deleted.

23 changes: 0 additions & 23 deletions libs/design/src/molecules/button-set/button-set.component.ts

This file was deleted.

13 changes: 0 additions & 13 deletions libs/design/src/molecules/button-set/button-set.module.ts

This file was deleted.

2 changes: 0 additions & 2 deletions libs/design/src/molecules/button-set/public_api.ts

This file was deleted.

1 change: 0 additions & 1 deletion libs/design/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export * from './atoms/form/radio/public_api';
export * from './atoms/form/form-label/public_api';

// Molecules
export * from './molecules/button-set/public_api';
export * from './molecules/image-gallery/public_api';
export * from './molecules/image-list/public_api';
export * from './molecules/qty-dropdown/public_api';
Expand Down

0 comments on commit dc22055

Please sign in to comment.