🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@mentor-medier/card-list-block

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mentor-medier/card-list-block

Fusion themes card list block.

latest
stable
Source
npmnpm
Version
5.13.3
Version published
Maintainers
1
Created
Source

@wpmedia/card-list-block

Fusion News Theme card list block Please provide a 1-2 sentence description of what the block is and what it does.

Acceptance Criteria

  • It expects the user to configure its content source. The list of content source options will be those with an ans-feed schema.
  • The feature displays a card list with a custom title. The main story will have an overline, image, headline, byline block and publish date. Each story in the list will have a headline, and a smaller image.
  • Makes use of ByLine to display authors of each story and ArticleDate to display the article's published date. These are included as dependencies.
    • If there's one author, it will return By <author>
    • If there are two authors, it will return By <author_0> and <author_1>
    • If there are three or more authors, it will return with the pattern By <author_0>, <author_1>, ... <author_(n-1)> and <author_(n)>

Props

PropRequiredTypeDescription
required propyes
optional propno
contentConfig examplePlease specify which content sources are compatible

ANS Schema

Outline any schema information requirements necessary to know for ths block

ANS Fields

  • content_elements[x].websites[arcSite].website_url
  • content_elements[0].credits.by Check for multiple authors in first article
  • content_elements[0].websites[arcSite] Uses website_url
  • content_elements[0].headlines.basic

Internationalization fields

  • Add all internationalization fields used in the block

Events

Blocks can emit events. The following is a list of events that are emitted by this block.

Event NameDescription
eventNameDescribe the event

Event Listening

Include block specific instructions for event listening.

OR

This block does not emit any events.

Additional Considerations

This is optional. Please add an additional context that would be important to know in order to use this block.

FAQs

Package last updated on 05 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts