large-promo-block 5.17.0
Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/large-promo-block@5.17.0
Install via package.json:
"@wpmedia/large-promo-block": "5.17.0"
About this version
Block containing a large promo component. Please provide a 1-2 sentence description of what the block is and what it does.
- Add AC relevant to the block
Prop | Required | Type | Description |
---|---|---|---|
required prop | yes | ||
optional prop | no | ||
contentConfig example | Please specify which content sources are compatible |
Outline any schema information requirements necessary to know for ths block
export default {
_id: "55FCWHR6SRCQ3OIJJKWPWUGTBM",
type: "story",
canonical_url: "/news/2020/01/30/august-may-feel-like-washingtons-hottest-month-but-its-not/",
headlines: {
basic: "August may feel like Washington’s hottest month, but it’s not",
},
owner: {
sponsored: false,
id: "corecomponents",
},
content_restrictions: { content_code: "free" },
address: {},
workflow: { status_code: 1 },
subheadlines: {
basic: "Why does August seem hotter? Maybe it comes from weariness.",
},
description: {
basic: "Why does August seem hotter? Maybe it comes from weariness.",
},
source: {
name: "corecomponents",
system: "composer",
source_type: "staff",
},
promo_items: {
basic: {
_id: "DBUX66M3LRFMHKXZOM46RO4EXM",
additional_properties: [Object],
address: {},
caption: "The sun beats down on Four Mile Run in Arlington, Va., on Aug. 17.",
created_date: "2020-01-30T23:47:39Z",
credits: [Object],
height: 782,
image_type: "photograph",
last_updated_date: "2020-01-30T23:47:39Z",
licensable: false,
owner: [Object],
source: [Object],
status: "",
taxonomy: [Object],
type: "image",
url: "https://arc-anglerfish-arc2-prod-corecomponents.s3.amazonaws.com/public/DBUX66M3LRFMHKXZOM46RO4EXM.png",
version: "0.10.3",
width: 1179,
syndication: [Object],
},
},
distributor: {
name: "corecomponents",
category: "staff",
subcategory: "",
},
canonical_website: "the-sun",
planning: {
internal_note: "",
story_length: {
word_count_actual: 663,
line_count_actual: 27,
inch_count_actual: 4,
},
},
display_date: "2020-01-30T14:47:46.926Z",
credits: { by: [[Object]] },
websites: {
dagen: {
website_section: [Object],
website_url: "/news/2020/01/30/august-may-feel-like-washingtons-hottest-month-but-its-not/",
},
},
additional_properties: {
clipboard: {},
has_published_copy: true,
is_published: true,
publish_date: "2020-01-31T00:25:46.270Z",
},
publish_date: "2020-01-31T00:26:08.651Z",
publishing: {
scheduled_operations: {
publish_edition: [],
unpublish_edition: [],
},
},
website: "the-sun",
website_url: "/news/2020/01/30/august-may-feel-like-washingtons-hottest-month-but-its-not/",
};
content.headlines.basic
content.description.basic
content.websites[arcSite].website_section
content.promo_items
Phrase key | Default (English) |
---|---|
key |
english translation |
Blocks can emit events. The following is a list of events that are emitted by this block.
Event Name | Description |
---|---|
eventName | Describe the event |
Include block specific instructions for event listening.
OR
This block does not emit any events.
Configuration (including content) is handled through proptypes in the PB editor.
Details
- large-promo-block
- WPMedia
- almost 3 years ago
- CC-BY-NC-ND-4.0
- 6 dependencies
Assets
- large-promo-block-5.17.0-npm.tgz
Download activity
- Total downloads 19,669
- Last 30 days 19
- Last week 8
- Today 1
Recent versions
View all- 5.16.1-arc-themes-release-version-2.5.2.4912
- 5.16.1-arc-themes-release-version-2.5.0.4900
- 5.16.1-arc-themes-release-version-2.5.0.4897
- 5.16.1-arc-themes-release-version-1.33.3561
- 5.16.1-arc-themes-release-version-2.3.0.4856
- 5.16.1-arc-themes-release-version-2.1.3.4783
- 5.16.1-arc-themes-release-version-2.1.3.4764
- 5.16.1-arc-themes-release-version-2.1.3.4756
- 5.16.1-arc-themes-release-version-2.1.2.4756
- 5.16.1-arc-themes-release-version-2.0.3.4717