@lumiastream/ui 0.4.1 → 0.4.3

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,17 @@ 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],
5779
+ // Mirror native `viewerprofileslist` layer creation
5780
+ // (Overlay-UI layer.actions.ts): when a streamer adds a list
5781
+ // pre-sorted by a single metric, only viewers with non-zero
5782
+ // activity in that metric are relevant — otherwise the list
5783
+ // pads out with zeros from arbitrary recent viewers.
5784
+ filterToSort: true,
5776
5785
  count,
5777
5786
  title: TOP_LIST_TITLE[currency],
5778
- showTitle: true,
5787
+ showTitle: false,
5779
5788
  showAvatar: true,
5780
5789
  showPlatform: true,
5781
5790
  // Hide noisy columns that aren't relevant for a single-metric
@@ -5788,7 +5797,6 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
5788
5797
  showTopActivity: false,
5789
5798
  showAchievements: false,
5790
5799
  showAchievementProgress: false,
5791
- refreshIntervalSeconds: 30,
5792
5800
  itemGap: 8,
5793
5801
  autoScroll: false,
5794
5802
  // Source-side knobs that don't map cleanly survive under the
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,17 @@ 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],
2645
+ // Mirror native `viewerprofileslist` layer creation
2646
+ // (Overlay-UI layer.actions.ts): when a streamer adds a list
2647
+ // pre-sorted by a single metric, only viewers with non-zero
2648
+ // activity in that metric are relevant — otherwise the list
2649
+ // pads out with zeros from arbitrary recent viewers.
2650
+ filterToSort: true,
2642
2651
  count,
2643
2652
  title: TOP_LIST_TITLE[currency],
2644
- showTitle: true,
2653
+ showTitle: false,
2645
2654
  showAvatar: true,
2646
2655
  showPlatform: true,
2647
2656
  // Hide noisy columns that aren't relevant for a single-metric
@@ -2654,7 +2663,6 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
2654
2663
  showTopActivity: false,
2655
2664
  showAchievements: false,
2656
2665
  showAchievementProgress: false,
2657
- refreshIntervalSeconds: 30,
2658
2666
  itemGap: 8,
2659
2667
  autoScroll: false,
2660
2668
  // Source-side knobs that don't map cleanly survive under the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/ui",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "author": "Lumia Stream",
5
5
  "license": "ISC",
6
6
  "description": "Lumia UI Kit",