Skip to content

Commit 531a628

Browse files
Remove deprecated feature card component
The Feature Card component has been deprecated in favor of Split. This removes all source files and updates the netlify redirect to point to the Split component documentation.
1 parent 1794a46 commit 531a628

7 files changed

Lines changed: 5 additions & 309 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Introducing theme variables! CSS variables beginning with `--theme-` will adjust
1010

1111
* **css:** (breaking) Remove support for vendor prefixing (#957)
1212

13+
## Feature Card Component
14+
15+
* **component:** (breaking) Removed the deprecated Feature Card component. Use the [Split](https://protocol.mozilla.org/components/detail/split) component instead.
16+
1317
## Split Component
1418

1519
* **component:** (breaking) Removed `mzp-l-split-pop-top`, `mzp-l-split-pop-bottom`, and `mzp-l-split-pop` layout classes from Split component

assets/sass/protocol/components/_feature-card.scss

Lines changed: 0 additions & 219 deletions
This file was deleted.

assets/sass/protocol/protocol-components.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
@use 'components/breadcrumb';
1818
@use 'components/callout';
1919
@use 'components/emphasis-box';
20-
@use 'components/feature-card';
2120
@use 'components/forms/button-container';
2221
@use 'components/forms/choice';
2322
@use 'components/forms/field';

components/feature-card/feature-card.config.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

components/feature-card/feature-card.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

components/feature-card/readme.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
[[redirects]]
9898
from = "/patterns/molecules/feature-card*"
99-
to = "/components/detail/feature-card"
99+
to = "/components/detail/split"
100100

101101
[[redirects]]
102102
from = "/patterns/molecules/forms*"

0 commit comments

Comments
 (0)