@kaltura-apps/genie-chat-react 1.1.0

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/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@kaltura-apps/genie-chat-react",
3
+ "version": "1.1.0",
4
+ "author": "kaltura",
5
+ "license": "AGPL-3.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/kaltura/genie"
9
+ },
10
+ "types": "./src/index.d.ts",
11
+ "dependencies": {
12
+ "@unisphere/genie-types": "^1.9.0",
13
+ "@unisphere/runtime": "^1.90.1",
14
+ "@unisphere/runtime-react": "^1.83.4",
15
+ "react": "^19.0.0"
16
+ },
17
+ "module": "./index.esm.js",
18
+ "type": "module",
19
+ "publishConfig": {
20
+ "registry": "https://registry.npmjs.org"
21
+ }
22
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './lib/genie-chat-provider';
2
+ export * from './lib/genie-chat-component';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { PageVisualSettings } from '@unisphere/genie-types';
3
+ type GenieChatSettings = Omit<PageVisualSettings, 'schemaVersion'>;
4
+ export declare const GenieChat: React.FC<{
5
+ settings?: GenieChatSettings;
6
+ initialSettings?: GenieChatSettings;
7
+ style?: React.CSSProperties;
8
+ }>;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ChatRuntimeSettings } from '@unisphere/genie-types';
3
+ export type GenieChatProviderProps = {
4
+ env?: string;
5
+ lang?: string;
6
+ theme?: 'light' | 'dark' | object;
7
+ runtimeSettings?: Omit<ChatRuntimeSettings, 'schemaVersion'>;
8
+ };
9
+ export declare const GenieChatProvider: React.FC<React.PropsWithChildren<GenieChatProviderProps>>;