@livelike/embet 0.0.9 → 0.0.13

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/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## 0.0.13 (November 22, 2021)
2
+
3
+ - Removed hard coded livelike-title color
4
+
5
+ ## 0.0.12 (November 20, 2021)
6
+
7
+ - Added widget resize observer
8
+ - Added box-sizing to contain progress bar
9
+ - Added CSS scoping to unscoped styles selectors
10
+ - Removed widget animation
11
+ - Removed font-family style from title and footer
12
+ - Removed option center align
13
+
14
+ ## 0.0.11 (November 8, 2021)
15
+
16
+ - Added `widgetVariation` property to widget's custom_data to control widget variations
17
+
18
+ ## 0.0.10 (November 8, 2021)
19
+
20
+ - Added Live Spread widget layout change
21
+
1
22
  ## 0.0.9 (November 5, 2021)
2
23
 
3
24
  - Improved variable font sizing
package/README.md CHANGED
@@ -92,6 +92,7 @@ custom_data: {
92
92
  customCss: string,
93
93
  customStyles: string,
94
94
  widgetHeight: string | number,
95
+ widgetVariation: 'bar' | 'square' | 'inline'
95
96
  theme: {
96
97
  widgets: {
97
98
  prediction: {
@@ -152,6 +153,10 @@ widgetHeight = '400px'
152
153
  widgetHeight = '50%'
153
154
  ```
154
155
 
156
+ ### About the widgetVariation property
157
+
158
+ The `widgetVariation` property can be used control the layout of the widgets. The three options are `bar`, `square`, and `inline`.
159
+
155
160
  ### About the betDetails property
156
161
  In the `betDetails` property of the `custom_data` stringified object, the `description` properties must match with your `options` array `description` properties.
157
162
 
@@ -199,6 +204,7 @@ The `bet: +120` will match the `options` object with `description: Astros`
199
204
  custom_data: JSON.stringify({
200
205
  place_bet_url: "#",
201
206
  type: "LIVE MONEYLINE",
207
+ widgetVariation: "bar",
202
208
  sponsors: [
203
209
  {
204
210
  logo_url:
@@ -260,6 +266,7 @@ The `bet: +120` will match the `options` object with `description: Astros`
260
266
  custom_data: JSON.stringify({
261
267
  place_bet_url: "#",
262
268
  type: "LIVE MONEYLINE",
269
+ widgetVariation: "square",
263
270
  sponsors: [
264
271
  {
265
272
  logo_url: