oneskies-live-chat-widget 0.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/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # OneSkies Live Chat Widget
2
+
3
+ Reusable first-party live chat widget shared by the OneSkies public site, SkyWithLux public site, and CRM.
4
+
5
+ ## Install
6
+
7
+ Install from the private GitHub repository:
8
+
9
+ ```bash
10
+ npm install git+https://github.com/andiq123/oneskies-live-chat-widget.git
11
+ ```
12
+
13
+ ## Build
14
+
15
+ ```bash
16
+ npm install
17
+ npm run build
18
+ ```
@@ -0,0 +1,17 @@
1
+ export type LiveChatLeadSource = "oneskies" | "skywithlux";
2
+ export type LiveChatWidgetProps = {
3
+ apiBaseUrl: string;
4
+ apiKey: string;
5
+ brandName: string;
6
+ leadSource: LiveChatLeadSource;
7
+ accentColor?: string;
8
+ supportLabel?: string;
9
+ };
10
+ export type LiveChatTypingGhostProps = {
11
+ name: string;
12
+ body?: string;
13
+ className?: string;
14
+ };
15
+ export declare function LiveChatTypingGhost({ name, body, className }: LiveChatTypingGhostProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function LiveChatWidget({ apiBaseUrl, apiKey, brandName, leadSource, accentColor, supportLabel, }: LiveChatWidgetProps): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAYA,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,YAAY,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,kBAAkB,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AA+CF,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,SAAc,EAAE,EAAE,wBAAwB,2CA2EhG;AA+GD,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EACV,MAAM,EACN,SAAS,EACT,UAAU,EACV,WAA4B,EAC5B,YAA+B,GAChC,EAAE,mBAAmB,2CAw7BrB"}