@livelike/custom-kit 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livelike/custom-kit",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "main": "dist/livelike.umd.cjs",
5
5
  "module": "dist/livelike.js",
6
6
  "types": "dist/index.d.ts",
package/readme.md CHANGED
@@ -45,8 +45,8 @@ document.body.appendChild(poll);
45
45
  LiveLike:
46
46
 
47
47
  - **Header title:** the widget's question.
48
- - **Header logo:** the Goal sponsor logo, or the Save sponsor logo when
49
- `sponsor_type` is `save_sponsor`.
48
+ - **Header logo:** set by `sponsor_type`: the Goal sponsor logo for
49
+ `goal_sponsor`, the Save sponsor logo for `save_sponsor`, otherwise none.
50
50
  - **Hero image:** the widget's sponsor logo.
51
51
  - **Option name and photo:** each option's description and image.
52
52
  - **Voting close time:** the widget's `interactive_until`.
@@ -98,7 +98,7 @@ Widget attributes are `{ key, value }` pairs set on the widget in LiveLike
98
98
  | `info_text` | Text | Body of the info popup. Needs `info_title` too. | No info icon or popup. |
99
99
  | `secondary_poll_title` | Text | Label of a second button below "Vote again" in the "Voting submitted!" popup. Needs `secondary_poll_url` too. | Button is hidden. |
100
100
  | `secondary_poll_url` | URL | Page the second button opens in a new tab. Needs `secondary_poll_title` too. | Button is hidden. |
101
- | `sponsor_type` | `save_sponsor` | Shows the Save sponsor logo in the header. Any other value is ignored. | Goal sponsor logo. |
101
+ | `sponsor_type` | `goal_sponsor` or `save_sponsor` | Header logo: `goal_sponsor` shows the AT&T logo, `save_sponsor` shows the Save sponsor logo. Any other value is ignored. | No header logo. |
102
102
  | `options_theme` | `light` | Shows the options list on a white background with dark text; a selected option turns black with white text. Any other value is ignored. | Dark options list. |
103
103
 
104
104
  A widget left open on screen updates itself at each of these times, so viewers