@lumiastream/ui 0.4.1 → 0.4.2

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/dist/index.js CHANGED
@@ -4613,6 +4613,8 @@ function mapGoal(widget, ctx) {
4613
4613
  goalAnimationLoop: true,
4614
4614
  unfilledColor: v.backgroundColor ?? "#400022",
4615
4615
  filledColor: v.fillColor ?? "#ff0055",
4616
+ condensed: !!v.dense,
4617
+ showPercentComplete: !!v.percent,
4616
4618
  alignItemsToEdges: false,
4617
4619
  border: "solid 1px transparent",
4618
4620
  borderRadius: "40px",
@@ -5772,10 +5774,11 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
5772
5774
  // chosen font / size / color.
5773
5775
  css: mapSeTextCssToModuleCss(widget, { fontSize: 18 }),
5774
5776
  content: {
5777
+ theme: "list",
5775
5778
  sortBy: TOP_LIST_SORT_BY[currency],
5776
5779
  count,
5777
5780
  title: TOP_LIST_TITLE[currency],
5778
- showTitle: true,
5781
+ showTitle: false,
5779
5782
  showAvatar: true,
5780
5783
  showPlatform: true,
5781
5784
  // Hide noisy columns that aren't relevant for a single-metric
package/dist/se-import.js CHANGED
@@ -1479,6 +1479,8 @@ function mapGoal(widget, ctx) {
1479
1479
  goalAnimationLoop: true,
1480
1480
  unfilledColor: v.backgroundColor ?? "#400022",
1481
1481
  filledColor: v.fillColor ?? "#ff0055",
1482
+ condensed: !!v.dense,
1483
+ showPercentComplete: !!v.percent,
1482
1484
  alignItemsToEdges: false,
1483
1485
  border: "solid 1px transparent",
1484
1486
  borderRadius: "40px",
@@ -2638,10 +2640,11 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
2638
2640
  // chosen font / size / color.
2639
2641
  css: mapSeTextCssToModuleCss(widget, { fontSize: 18 }),
2640
2642
  content: {
2643
+ theme: "list",
2641
2644
  sortBy: TOP_LIST_SORT_BY[currency],
2642
2645
  count,
2643
2646
  title: TOP_LIST_TITLE[currency],
2644
- showTitle: true,
2647
+ showTitle: false,
2645
2648
  showAvatar: true,
2646
2649
  showPlatform: true,
2647
2650
  // Hide noisy columns that aren't relevant for a single-metric
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/ui",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "author": "Lumia Stream",
5
5
  "license": "ISC",
6
6
  "description": "Lumia UI Kit",