From fc3ebbad500a9b93777bfaa6bd4e11625bcce5c3 Mon Sep 17 00:00:00 2001 From: ludrob Date: Thu, 18 Oct 2018 10:13:50 +0100 Subject: [PATCH] fix for nui/bower --- components/x-eventpromo/bower.json | 1 + components/x-eventpromo/package.json | 2 +- components/x-eventpromo/readme.md | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/x-eventpromo/bower.json b/components/x-eventpromo/bower.json index abb949717..33801fa0b 100644 --- a/components/x-eventpromo/bower.json +++ b/components/x-eventpromo/bower.json @@ -1,6 +1,7 @@ { "name": "x-eventpromo", "private": true, + "main": "dist/Eventpromo.js", "dependencies": { "o-buttons": "^5.14.0", "o-colors": "^4.7.2", diff --git a/components/x-eventpromo/package.json b/components/x-eventpromo/package.json index a250a94e1..5858103f9 100644 --- a/components/x-eventpromo/package.json +++ b/components/x-eventpromo/package.json @@ -4,7 +4,7 @@ "description": "Promote content from live.ft.com", "main": "dist/Eventpromo.cjs.js", "module": "dist/Eventpromo.esm.js", - "browser": "dist/Eventpromo.js", + "browser": "dist/Eventpromo.es5.js", "style": "dist/Eventpromo.css", "types": "Props.d.ts", "scripts": { diff --git a/components/x-eventpromo/readme.md b/components/x-eventpromo/readme.md index a98a00bca..83e0f0ba1 100644 --- a/components/x-eventpromo/readme.md +++ b/components/x-eventpromo/readme.md @@ -39,7 +39,7 @@ Check out the [`x-engine`][engine] documentation for a list of recommended libra ## Properties -**If not marked optional, fields are require non-empty values.** +**If not marked optional, fields require non-empty values.** Property | Type | Notes ---------------------|---------------------|-------------------------------- @@ -49,4 +49,5 @@ Property | Type | Notes `images` | String[] | 3 image urls, will be passed to origami image service `link` | String | Eventpromo url, should include segmentId `location` | String | No set format: "London", "New York", "ExCeL London", etc +`strapline` | String | `title` | String |