@lumiastream/ui 0.2.8-alpha.14 → 0.2.8-alpha.15
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 +8 -7
- package/dist/se-import.js +8 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3362,12 +3362,13 @@ var LUMIA_DEFAULT_SIZES = {
|
|
|
3362
3362
|
// fine at this aspect — rocket internally uses a vertical gauge but
|
|
3363
3363
|
// still works at this footprint. Users can resize per their overlay.
|
|
3364
3364
|
hypetrain: { width: 740, height: 140 },
|
|
3365
|
-
// Stream Boss:
|
|
3366
|
-
//
|
|
3367
|
-
//
|
|
3368
|
-
//
|
|
3369
|
-
//
|
|
3370
|
-
|
|
3365
|
+
// Stream Boss: matches the native DefaultHeightWidthModules.streamboss
|
|
3366
|
+
// (720x110) so SE imports and fresh-add modules look identical. SE's
|
|
3367
|
+
// native bit-boss layer is ~86px tall, so the SE mapper's Card-min-height
|
|
3368
|
+
// override grows it up to 110px to ensure the avatar+name+bar all fit.
|
|
3369
|
+
// Users who want a taller layout can drag the corner; users who want the
|
|
3370
|
+
// SE strip look should switch to Bar-Only.
|
|
3371
|
+
streamboss: { width: 720, height: 110 },
|
|
3371
3372
|
// Song Request: SE's media-share default is 480×292. Lumia's now-playing
|
|
3372
3373
|
// card + 5-item queue list needs a bit more vertical room, so we add ~80px
|
|
3373
3374
|
// for the queue list. Users can hide the queue list and shrink back to
|
|
@@ -5058,7 +5059,7 @@ function mapStreamBoss(widget) {
|
|
|
5058
5059
|
});
|
|
5059
5060
|
if (theme === "card") {
|
|
5060
5061
|
const MIN_CARD_WIDTH = 480;
|
|
5061
|
-
const MIN_CARD_HEIGHT =
|
|
5062
|
+
const MIN_CARD_HEIGHT = 110;
|
|
5062
5063
|
if (unit.layer.bounds.width < MIN_CARD_WIDTH) unit.layer.bounds.width = MIN_CARD_WIDTH;
|
|
5063
5064
|
if (unit.layer.bounds.height < MIN_CARD_HEIGHT) unit.layer.bounds.height = MIN_CARD_HEIGHT;
|
|
5064
5065
|
}
|
package/dist/se-import.js
CHANGED
|
@@ -247,12 +247,13 @@ var LUMIA_DEFAULT_SIZES = {
|
|
|
247
247
|
// fine at this aspect — rocket internally uses a vertical gauge but
|
|
248
248
|
// still works at this footprint. Users can resize per their overlay.
|
|
249
249
|
hypetrain: { width: 740, height: 140 },
|
|
250
|
-
// Stream Boss:
|
|
251
|
-
//
|
|
252
|
-
//
|
|
253
|
-
//
|
|
254
|
-
//
|
|
255
|
-
|
|
250
|
+
// Stream Boss: matches the native DefaultHeightWidthModules.streamboss
|
|
251
|
+
// (720x110) so SE imports and fresh-add modules look identical. SE's
|
|
252
|
+
// native bit-boss layer is ~86px tall, so the SE mapper's Card-min-height
|
|
253
|
+
// override grows it up to 110px to ensure the avatar+name+bar all fit.
|
|
254
|
+
// Users who want a taller layout can drag the corner; users who want the
|
|
255
|
+
// SE strip look should switch to Bar-Only.
|
|
256
|
+
streamboss: { width: 720, height: 110 },
|
|
256
257
|
// Song Request: SE's media-share default is 480×292. Lumia's now-playing
|
|
257
258
|
// card + 5-item queue list needs a bit more vertical room, so we add ~80px
|
|
258
259
|
// for the queue list. Users can hide the queue list and shrink back to
|
|
@@ -1943,7 +1944,7 @@ function mapStreamBoss(widget) {
|
|
|
1943
1944
|
});
|
|
1944
1945
|
if (theme === "card") {
|
|
1945
1946
|
const MIN_CARD_WIDTH = 480;
|
|
1946
|
-
const MIN_CARD_HEIGHT =
|
|
1947
|
+
const MIN_CARD_HEIGHT = 110;
|
|
1947
1948
|
if (unit.layer.bounds.width < MIN_CARD_WIDTH) unit.layer.bounds.width = MIN_CARD_WIDTH;
|
|
1948
1949
|
if (unit.layer.bounds.height < MIN_CARD_HEIGHT) unit.layer.bounds.height = MIN_CARD_HEIGHT;
|
|
1949
1950
|
}
|