@lumiastream/ui 0.2.8-alpha.1 → 0.2.8-alpha.10
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/README.md +9 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1329 -218
- package/package.json +20 -13
package/README.md
CHANGED
|
@@ -72,6 +72,15 @@ Artifacts land in `dist/` and are what gets published to npm.
|
|
|
72
72
|
1. Run `pnpm storybook` for hot‑reloading Storybook and `pnpm watch` for the library bundle.
|
|
73
73
|
2. Commit with Conventional Commits (`feat:`, `fix:` …) so the release pipeline can auto‑generate changelogs.
|
|
74
74
|
|
|
75
|
+
### Running live inside other repos
|
|
76
|
+
|
|
77
|
+
To iterate on this library against a real consumer (Overlay-UI or LumiaStream)
|
|
78
|
+
without publishing a new npm version each time, see **[LOCAL_DEV.md](./LOCAL_DEV.md)**.
|
|
79
|
+
It covers the symlink workflow for both pnpm (Overlay-UI) and npm (LumiaStream),
|
|
80
|
+
the Vite config requirements that have to stay in place for the symlinked
|
|
81
|
+
workflow to work, and a troubleshooting table for the symptoms we've hit in
|
|
82
|
+
practice.
|
|
83
|
+
|
|
75
84
|
---
|
|
76
85
|
|
|
77
86
|
## 🪪 License
|
package/dist/index.d.ts
CHANGED
|
@@ -485,7 +485,7 @@ declare const resolvePlatformChatterProfileUrl: ({ platform, username, displayna
|
|
|
485
485
|
declare const normalizeHttpUrl: (value: unknown) => string | null;
|
|
486
486
|
declare const resolveChatterProfileUrlWithResolvers: ({ platform, username, displayname, userId, extraSettings, resolvers, }: ResolveChatterProfileUrlWithResolversInput) => Promise<string | null>;
|
|
487
487
|
|
|
488
|
-
type ModuleType = 'alert' | 'emotebox' | 'emotealert' | 'text' | 'image' | 'audio' | 'video' | 'camera' | 'slideshow' | 'shape' | 'svg' | 'colorbox' | 'goal' | 'timer' | 'gradientlight' | 'browsersource' | 'chatbox' | 'credits' | 'eventlist' | 'eventrotate' | 'hfx' | 'hfxalert' | 'clip' | 'youtube' | 'spinwheel' | 'raffle' | 'viewerqueue' | 'loyaltyleaderboard' | 'viewerprofiles' | 'achievements' | 'poll' | 'tournaments' | 'spotify' | 'nowplaying' | 'youtubemusic' | 'brbscreen' | 'vlc' | 'tts' | 'livecaption' | 'custom' | 'group';
|
|
488
|
+
type ModuleType = 'alert' | 'emotebox' | 'emotealert' | 'text' | 'image' | 'audio' | 'video' | 'camera' | 'slideshow' | 'shape' | 'svg' | 'colorbox' | 'goal' | 'timer' | 'gradientlight' | 'browsersource' | 'chatbox' | 'credits' | 'eventlist' | 'eventrotate' | 'hfx' | 'hfxalert' | 'clip' | 'youtube' | 'spinwheel' | 'raffle' | 'viewerqueue' | 'loyaltyleaderboard' | 'viewerprofiles' | 'achievements' | 'poll' | 'tournaments' | 'spotify' | 'nowplaying' | 'youtubemusic' | 'brbscreen' | 'vlc' | 'tts' | 'livecaption' | 'custom' | 'tipjar' | 'hypetrain' | 'streamboss' | 'songrequest' | 'group';
|
|
489
489
|
type OverlayLayerType = 'layer' | 'group';
|
|
490
490
|
type OverlayLayerBounds = {
|
|
491
491
|
height: number;
|
|
@@ -498,6 +498,8 @@ type OverlayLayerBounds = {
|
|
|
498
498
|
zIndex?: number;
|
|
499
499
|
matrix?: string;
|
|
500
500
|
clipPath?: string;
|
|
501
|
+
autoWidth?: boolean;
|
|
502
|
+
autoHeight?: boolean;
|
|
501
503
|
};
|
|
502
504
|
type OverlayLayerState = {
|
|
503
505
|
id: string;
|
|
@@ -606,6 +608,7 @@ interface SEText {
|
|
|
606
608
|
scrolling?: {
|
|
607
609
|
direction?: string;
|
|
608
610
|
speed?: number;
|
|
611
|
+
enabled?: boolean;
|
|
609
612
|
};
|
|
610
613
|
css?: Record<string, unknown>;
|
|
611
614
|
}
|
|
@@ -689,11 +692,8 @@ declare const SE_WIDGET_TO_MARKETPLACE_CANDIDATES: Record<string, number[]>;
|
|
|
689
692
|
declare function getMarketplaceCandidates(seWidgetType: string): number[];
|
|
690
693
|
declare function hasMarketplaceCandidates(seWidgetType: string): boolean;
|
|
691
694
|
|
|
692
|
-
declare const SE_IMPORT_FLAGS: {
|
|
693
|
-
|
|
694
|
-
readonly IMPORT_SEASONAL: false;
|
|
695
|
-
};
|
|
696
|
-
declare function isWidgetFlaggedOff(seType: string): boolean;
|
|
695
|
+
declare const SE_IMPORT_FLAGS: {};
|
|
696
|
+
declare function isWidgetFlaggedOff(_seType: string): boolean;
|
|
697
697
|
declare const FLAG_OFF_REASONS: Record<string, string>;
|
|
698
698
|
|
|
699
699
|
interface SEAccountClaims {
|