@lumiastream/ui 0.2.8-alpha.12 → 0.2.8-alpha.14
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 +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +766 -221
- package/dist/se-import.d.ts +35 -5
- package/dist/se-import.js +766 -221
- package/package.json +131 -131
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ npm i @lumiastream/ui
|
|
|
34
34
|
import { LSButton } from "@lumiastream/ui";
|
|
35
35
|
|
|
36
36
|
export default function App() {
|
|
37
|
-
|
|
37
|
+
return <LSButton variant="primary" label="Click Me" />;
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
40
|
|
|
@@ -45,7 +45,7 @@ export default function App() {
|
|
|
45
45
|
Run a fully interactive playground locally:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
|
|
48
|
+
npm run storybook
|
|
49
49
|
open http://localhost:6006
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -57,10 +57,10 @@ The public Storybook for the latest release lives at [https://ui.lumiastream.com
|
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
59
|
# clone & bootstrap
|
|
60
|
-
|
|
60
|
+
npm install
|
|
61
61
|
|
|
62
62
|
# compile library (ESM + CJS + types)
|
|
63
|
-
|
|
63
|
+
npm run build
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
Artifacts land in `dist/` and are what gets published to npm.
|
|
@@ -69,14 +69,14 @@ Artifacts land in `dist/` and are what gets published to npm.
|
|
|
69
69
|
|
|
70
70
|
## 🤝 Running live
|
|
71
71
|
|
|
72
|
-
1. Run `
|
|
72
|
+
1. Run `npm run storybook` for hot‑reloading Storybook and `npm run 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
75
|
### Running live inside other repos
|
|
76
76
|
|
|
77
77
|
To iterate on this library against a real consumer (Overlay-UI or LumiaStream)
|
|
78
78
|
without publishing a new npm version each time, see **[LOCAL_DEV.md](./LOCAL_DEV.md)**.
|
|
79
|
-
It covers the symlink workflow for both
|
|
79
|
+
It covers the symlink workflow for both npm (Overlay-UI) and npm (LumiaStream),
|
|
80
80
|
the Vite config requirements that have to stay in place for the symlinked
|
|
81
81
|
workflow to work, and a troubleshooting table for the symptoms we've hit in
|
|
82
82
|
practice.
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export { LSTextField, LSTextFieldProps } from './LSTextField.js';
|
|
|
12
12
|
export { IVariables, LSVariableInputContextValue, LSVariableInputField, LSVariableInputFieldProps, LSVariableInputProvider } from './LSVariableInputField.js';
|
|
13
13
|
export { codeMirrorlinterOptions, variableCompletionOptions } from './utils.js';
|
|
14
14
|
export { BuildChatMessageContentOptions, ChatMessageContentItem, ChatMessageEmoteStore, ChatMessageToken, ChatMessageTokenizationOptions, ChatboxMediaPreview, ChatboxMediaPreviewKind, ChatterProfileResolver, ChatterProfileResolverPayload, ChatterProfileUrlInput, MEDIA_PREVIEW_USER_LEVEL_VALUES, MediaPreviewRoleSettings, MediaPreviewRoleSettingsInput, MediaPreviewUserLevel, MessageLinkPart, ResolveChatterProfileUrlWithResolversInput, buildChatMessageContent, getMediaPreviewFromUrl, getNormalizedUserLevels, isMediaPreviewAllowedForUser, normalizeHttpUrl, normalizeMediaPreviewUserLevels, parseMessageLinks, resolveChatterProfileUrlWithResolvers, resolveMediaPreviewRoleSettings, resolveMediaPreviewSetting, resolvePlatformChatterProfileUrl, tokenizeChatMessage } from './utils/chatMedia.js';
|
|
15
|
-
export { AIGeneratedCustomOverlay, AssetMirrorProgress, FLAG_OFF_REASONS, ImportCoverage, ImportResult, MarketplacePicker, MarketplacePickerProps, ModuleType, OverlayLayerBounds, OverlayLayerState, OverlayLayerType, OverlayModuleAlertState, OverlayModuleState, OverlaySettings, OverlayState, ReviewItem, SEAccountClaims, SEAuthError, SEAuthErrorCode, SEBootstrapResponse, SEChannelSummary, SEClient, SECustomEmbedProps, SEExistingAsset, SEImportBindings, SEImportWizard, SEImportWizardProps, SESaveOverlayBody, SEUploadAssetResult, SEUsersCurrentResponse, SEWidget, SE_IMPORT_FLAGS, SE_WIDGET_TO_MARKETPLACE_CANDIDATES, TransplantedUnit, applyReviewAction, buildAIPromptForSEWidget, buildBootstrapUrl, decodeJwtPayload, extractSEOverlayId, extractSEPreviewParts, fetchSEBootstrap, fetchUsableChannels, filenameFromURL, findSEAssetURLs, getAILandingBounds, getMarketplaceCandidates, hasMarketplaceCandidates, importSEBootstrap, isSEBootstrap, isWidgetFlaggedOff, listTransplantableLayers, mirrorOneAsset, rewriteAssetURLs, transplantLayer } from './se-import.js';
|
|
15
|
+
export { AIGeneratedCustomOverlay, AssetMirrorProgress, FLAG_OFF_REASONS, ImportCoverage, ImportResult, JWT_DASHBOARD_URL, JwtInstructionStep, MarketplacePicker, MarketplacePickerProps, ModuleType, OverlayLayerBounds, OverlayLayerState, OverlayLayerType, OverlayModuleAlertState, OverlayModuleState, OverlaySettings, OverlayState, ReviewItem, SEAccountClaims, SEAuthDiagnostic, SEAuthError, SEAuthErrorCode, SEAuthMode, SEAuthProbeResult, SEBootstrapResponse, SEChannelSummary, SEClient, SECustomEmbedProps, SEExistingAsset, SEImportBindings, SEImportWizard, SEImportWizardProps, SESaveOverlayBody, SEUploadAssetResult, SEUsersCurrentResponse, SEWidget, SE_IMPORT_FLAGS, SE_WIDGET_TO_MARKETPLACE_CANDIDATES, TransplantedUnit, applyReviewAction, buildAIPromptForSEWidget, buildBootstrapUrl, decodeJwtPayload, diagnoseSEAuth, extractSEOverlayId, extractSEPreviewParts, fetchSEBootstrap, fetchSEFiltersRaw, fetchUsableChannels, filenameFromURL, findSEAssetURLs, getAILandingBounds, getJwtInstructionSteps, getMarketplaceCandidates, hasMarketplaceCandidates, importSEBootstrap, isSEBootstrap, isWidgetFlaggedOff, listTransplantableLayers, mirrorOneAsset, rewriteAssetURLs, streamElementsCopyJwt, transplantLayer } from './se-import.js';
|
|
16
16
|
import 'react/jsx-runtime';
|
|
17
17
|
import '@mui/material/Button';
|
|
18
18
|
import 'react';
|