@paymanai/payman-ask-sdk 2.0.4 → 2.0.5
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/dist/index.d.mts +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.native.js +3002 -321
- package/dist/index.native.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -57,6 +57,16 @@ type SessionHistoryOptions = {
|
|
|
57
57
|
};
|
|
58
58
|
type ChatUIConfig = {
|
|
59
59
|
layout?: "centered" | "full-width";
|
|
60
|
+
/**
|
|
61
|
+
* Color scheme for the React Native chat surface.
|
|
62
|
+
* Web styling continues to follow Tailwind. Default: "light".
|
|
63
|
+
*/
|
|
64
|
+
theme?: "light" | "dark";
|
|
65
|
+
/**
|
|
66
|
+
* Accent / brand color used by the native chat UI (send button, hero,
|
|
67
|
+
* focused border, etc). Defaults to Payman teal `#00858d`.
|
|
68
|
+
*/
|
|
69
|
+
accent?: string;
|
|
60
70
|
agent?: {
|
|
61
71
|
/** Default: "Assistant" */
|
|
62
72
|
name?: string;
|
|
@@ -66,10 +76,17 @@ type ChatUIConfig = {
|
|
|
66
76
|
emptyState?: {
|
|
67
77
|
/** Default: "What can I help with?" */
|
|
68
78
|
text?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Small line above the main empty-state text (e.g. "Hi, Mike").
|
|
81
|
+
* Native only — web ignores this for now.
|
|
82
|
+
*/
|
|
83
|
+
eyebrow?: string;
|
|
69
84
|
/** Default: true */
|
|
70
85
|
icon?: boolean;
|
|
71
86
|
/** Custom React node rendered above the empty-state text */
|
|
72
87
|
content?: React__default.ReactNode;
|
|
88
|
+
/** Custom logo element rendered in the empty state (native only). Replaces the default HeroMark. */
|
|
89
|
+
logo?: React__default.ReactNode;
|
|
73
90
|
};
|
|
74
91
|
input?: {
|
|
75
92
|
/** Default: "Type your message..." */
|
package/dist/index.d.ts
CHANGED
|
@@ -57,6 +57,16 @@ type SessionHistoryOptions = {
|
|
|
57
57
|
};
|
|
58
58
|
type ChatUIConfig = {
|
|
59
59
|
layout?: "centered" | "full-width";
|
|
60
|
+
/**
|
|
61
|
+
* Color scheme for the React Native chat surface.
|
|
62
|
+
* Web styling continues to follow Tailwind. Default: "light".
|
|
63
|
+
*/
|
|
64
|
+
theme?: "light" | "dark";
|
|
65
|
+
/**
|
|
66
|
+
* Accent / brand color used by the native chat UI (send button, hero,
|
|
67
|
+
* focused border, etc). Defaults to Payman teal `#00858d`.
|
|
68
|
+
*/
|
|
69
|
+
accent?: string;
|
|
60
70
|
agent?: {
|
|
61
71
|
/** Default: "Assistant" */
|
|
62
72
|
name?: string;
|
|
@@ -66,10 +76,17 @@ type ChatUIConfig = {
|
|
|
66
76
|
emptyState?: {
|
|
67
77
|
/** Default: "What can I help with?" */
|
|
68
78
|
text?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Small line above the main empty-state text (e.g. "Hi, Mike").
|
|
81
|
+
* Native only — web ignores this for now.
|
|
82
|
+
*/
|
|
83
|
+
eyebrow?: string;
|
|
69
84
|
/** Default: true */
|
|
70
85
|
icon?: boolean;
|
|
71
86
|
/** Custom React node rendered above the empty-state text */
|
|
72
87
|
content?: React__default.ReactNode;
|
|
88
|
+
/** Custom logo element rendered in the empty state (native only). Replaces the default HeroMark. */
|
|
89
|
+
logo?: React__default.ReactNode;
|
|
73
90
|
};
|
|
74
91
|
input?: {
|
|
75
92
|
/** Default: "Type your message..." */
|