Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(featured-item): new design - FRONT-4811 #3874

Open
wants to merge 19 commits into
base: v5-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
{
"path": "dist/packages/ec/styles/ecl-ec-print.css",
"limit": "280 KB",
"limit": "260 KB",
"webpack": false,
"gzip": false,
"brotli": false
Expand Down
5 changes: 5 additions & 0 deletions docs/Migrating-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ Markup of accordion title has been updated to use a simple div instead of a head

Corresponding twig parameter `level` has been removed.

### Featured item

- Featured item footer has been removed, as it is no longer in use.
- Markup has been simplified: now it reflects the real element orders, and extra container `ecl-featured-item__title-content` has been removed

### Mega menu

The featured panel has changed in order to present a list of image with an associated link, instead of an img and then a list of links.
Expand Down
546 changes: 273 additions & 273 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/featured-item/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ npm install --save @ecl/featured-item
### Parameters

- **"color_mode"** (string) (default: '') Name of the color mode
- **"type"** (string) (default: '') - Featured item type ('highlight'),
- **"type"** (string) (default: '') - Featured item type (can be 'highlight' (EU) or 'background-light', 'background-strong' (EC)),
- **"title"** (string) (default: '') - Title of the content opposite the media container,
- **"description"** (string) (default: '') - Description of the content opposite the media container,
- **"link"** (associative array) (default: predefined structure) predefined structure for the Link component
Expand Down
Loading