@ikonai/sdk-react-ui 1.0.4 → 1.0.6
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/ikon-ui.d.ts +4 -4
- package/index.d.ts +1 -1
- package/index.js +450 -497
- package/media/video-canvas.d.ts +2 -2
- package/package.json +1 -1
- package/shader/shader-renderer.d.ts +1 -1
package/ikon-ui.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IkonClient } from '../../sdk/src/index.ts';
|
|
2
|
-
import {
|
|
2
|
+
import { IkonUiCore, IkonUiStreamListener, UiStyleListener, UiStyleDeleteListener, UiStylePayload } from '../../sdk-ui/src/index.ts';
|
|
3
3
|
import { IkonUiStoreEntry } from './surface';
|
|
4
|
-
export interface
|
|
4
|
+
export interface IkonUiConfig {
|
|
5
5
|
client?: IkonClient | null;
|
|
6
|
-
core?:
|
|
6
|
+
core?: IkonUiCore;
|
|
7
7
|
}
|
|
8
8
|
type IkonUiListener = IkonUiStreamListener;
|
|
9
9
|
export declare class IkonUi {
|
|
@@ -13,7 +13,7 @@ export declare class IkonUi {
|
|
|
13
13
|
private readonly listeners;
|
|
14
14
|
private readonly unsubscribeClears;
|
|
15
15
|
private readonly unsubscribeStoreChanges;
|
|
16
|
-
constructor(config?:
|
|
16
|
+
constructor(config?: IkonUiConfig);
|
|
17
17
|
dispose(): void;
|
|
18
18
|
getStores(): ReadonlyMap<string, IkonUiStoreEntry>;
|
|
19
19
|
getUiStyles(): readonly UiStylePayload[];
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { IkonUi, type
|
|
1
|
+
export { IkonUi, type IkonUiConfig } from './ikon-ui';
|
|
2
2
|
export { IkonUiRegistry, createIkonUiRegistry, type IkonUiComponentResolver, type IkonUiModuleLoader, type IkonUiModuleLoaderResult } from './ikon-ui-registry';
|
|
3
3
|
export { IkonUiSurface, IKON_UI_STREAM_CATEGORY, isIkonUiCategoryMatch, type IkonUiCategory, type IkonUiStoreEntry } from './surface';
|
|
4
4
|
export { useIkonStyles, type IkonUiStyleSource } from './use-ikon-styles';
|