@bytexbyte/nxtlinq-ai-agent-sdk 1.6.0 → 1.6.2

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.
Files changed (30) hide show
  1. package/dist/components/context/ChatBotContext.d.ts.map +1 -1
  2. package/dist/components/context/ChatBotContext.js +8 -4
  3. package/dist/components/ui/BerifyMeModal.d.ts +1 -0
  4. package/dist/components/ui/BerifyMeModal.d.ts.map +1 -1
  5. package/dist/components/ui/BerifyMeModal.js +8 -10
  6. package/dist/components/ui/ChatBotUI.d.ts +1 -0
  7. package/dist/components/ui/ChatBotUI.d.ts.map +1 -1
  8. package/dist/components/ui/ChatBotUI.js +58 -213
  9. package/dist/components/ui/MessageInput.d.ts.map +1 -1
  10. package/dist/components/ui/MessageInput.js +46 -38
  11. package/dist/components/ui/MessageList.d.ts +1 -0
  12. package/dist/components/ui/MessageList.d.ts.map +1 -1
  13. package/dist/components/ui/MessageList.js +16 -79
  14. package/dist/components/ui/ModelSelector.d.ts +1 -0
  15. package/dist/components/ui/ModelSelector.d.ts.map +1 -1
  16. package/dist/components/ui/ModelSelector.js +51 -45
  17. package/dist/components/ui/NotificationModal.d.ts +1 -0
  18. package/dist/components/ui/NotificationModal.d.ts.map +1 -1
  19. package/dist/components/ui/NotificationModal.js +48 -74
  20. package/dist/components/ui/PermissionForm.d.ts +1 -1
  21. package/dist/components/ui/PermissionForm.d.ts.map +1 -1
  22. package/dist/components/ui/PermissionForm.js +301 -293
  23. package/dist/components/ui/PresetMessages.d.ts +1 -0
  24. package/dist/components/ui/PresetMessages.d.ts.map +1 -1
  25. package/dist/components/ui/PresetMessages.js +26 -27
  26. package/dist/components/ui/styles/isolatedStyles.d.ts +35 -0
  27. package/dist/components/ui/styles/isolatedStyles.d.ts.map +1 -0
  28. package/dist/components/ui/styles/isolatedStyles.js +494 -0
  29. package/package.json +1 -1
  30. package/umd/nxtlinq-ai-agent.umd.js +935 -19
@@ -1,3 +1,4 @@
1
+ /** @jsxImportSource @emotion/react */
1
2
  import * as React from 'react';
2
3
  export declare const PresetMessages: React.FC;
3
4
  //# sourceMappingURL=PresetMessages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresetMessages.d.ts","sourceRoot":"","sources":["../../../src/components/ui/PresetMessages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAgDlC,CAAC"}
1
+ {"version":3,"file":"PresetMessages.d.ts","sourceRoot":"","sources":["../../../src/components/ui/PresetMessages.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EA0ClC,CAAC"}
@@ -1,34 +1,33 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
+ import { css } from '@emotion/react';
2
3
  import { useChatBot } from '../context/ChatBotContext';
4
+ import { actionButton } from './styles/isolatedStyles';
3
5
  export const PresetMessages = () => {
4
6
  const { suggestions, handlePresetMessage } = useChatBot();
5
7
  if (!suggestions || suggestions.length === 0) {
6
8
  return null;
7
9
  }
8
- return (_jsx("div", { style: {
9
- padding: '10px 15px',
10
- borderTop: '1px solid #eee',
11
- overflowX: 'auto',
12
- whiteSpace: 'nowrap',
13
- display: 'flex',
14
- gap: '10px',
15
- alignItems: 'center'
16
- }, children: suggestions.map((preset, index) => (_jsx("button", { onClick: () => handlePresetMessage(preset), style: {
17
- backgroundColor: '#007bff',
18
- color: 'white',
19
- border: 'none',
20
- borderRadius: '5px',
21
- padding: '5px 10px',
22
- fontSize: '12px',
23
- cursor: 'pointer',
24
- transition: 'background-color 0.3s',
25
- whiteSpace: 'nowrap',
26
- flexShrink: 0
27
- }, onMouseOver: (e) => {
28
- e.currentTarget.style.backgroundColor = '#0056b3';
29
- }, onMouseOut: (e) => {
30
- e.currentTarget.style.backgroundColor = '#007bff';
31
- }, onMouseDown: (e) => {
32
- e.currentTarget.style.backgroundColor = '#004085';
33
- }, children: preset.text }, index))) }));
10
+ return (_jsx("div", { css: css `
11
+ padding: 10px 15px !important;
12
+ border-top: 1px solid #eee !important;
13
+ overflow-x: auto !important;
14
+ white-space: nowrap !important;
15
+ display: flex !important;
16
+ gap: 10px !important;
17
+ align-items: center !important;
18
+ `, children: suggestions.map((preset, index) => (_jsx("button", { onClick: () => handlePresetMessage(preset), css: css `
19
+ ${actionButton}
20
+ padding: 5px 10px !important;
21
+ font-size: 12px !important;
22
+ white-space: nowrap !important;
23
+ flex-shrink: 0 !important;
24
+
25
+ &:hover {
26
+ background-color: #0056b3 !important;
27
+ }
28
+
29
+ &:active {
30
+ background-color: #004085 !important;
31
+ }
32
+ `, children: preset.text }, index))) }));
34
33
  };
@@ -0,0 +1,35 @@
1
+ export declare const sdkReset: import("@emotion/utils").SerializedStyles;
2
+ export declare const sdkContainer: import("@emotion/utils").SerializedStyles;
3
+ export declare const floatingButton: import("@emotion/utils").SerializedStyles;
4
+ export declare const chatWindow: import("@emotion/utils").SerializedStyles;
5
+ export declare const chatHeader: import("@emotion/utils").SerializedStyles;
6
+ export declare const headerTitle: import("@emotion/utils").SerializedStyles;
7
+ export declare const headerButton: import("@emotion/utils").SerializedStyles;
8
+ export declare const closeButton: import("@emotion/utils").SerializedStyles;
9
+ export declare const messageListContainer: import("@emotion/utils").SerializedStyles;
10
+ export declare const messageBubble: import("@emotion/utils").SerializedStyles;
11
+ export declare const userMessage: import("@emotion/utils").SerializedStyles;
12
+ export declare const messageContent: import("@emotion/utils").SerializedStyles;
13
+ export declare const userMessageContent: import("@emotion/utils").SerializedStyles;
14
+ export declare const retryMessageContent: import("@emotion/utils").SerializedStyles;
15
+ export declare const chatbotButton: import("@emotion/utils").SerializedStyles;
16
+ export declare const actionButton: import("@emotion/utils").SerializedStyles;
17
+ export declare const connectedButton: import("@emotion/utils").SerializedStyles;
18
+ export declare const loadingIndicator: import("@emotion/utils").SerializedStyles;
19
+ export declare const modelIndicator: import("@emotion/utils").SerializedStyles;
20
+ export declare const modelBadge: import("@emotion/utils").SerializedStyles;
21
+ export declare const modelDot: import("@emotion/utils").SerializedStyles;
22
+ export declare const toastNotification: import("@emotion/utils").SerializedStyles;
23
+ export declare const successToast: import("@emotion/utils").SerializedStyles;
24
+ export declare const errorToast: import("@emotion/utils").SerializedStyles;
25
+ export declare const warningToast: import("@emotion/utils").SerializedStyles;
26
+ export declare const infoToast: import("@emotion/utils").SerializedStyles;
27
+ export declare const toastCloseButton: import("@emotion/utils").SerializedStyles;
28
+ export declare const modalOverlay: import("@emotion/utils").SerializedStyles;
29
+ export declare const idvBanner: import("@emotion/utils").SerializedStyles;
30
+ export declare const idvBannerTitle: import("@emotion/utils").SerializedStyles;
31
+ export declare const idvBannerText: import("@emotion/utils").SerializedStyles;
32
+ export declare const idvVerifyButton: import("@emotion/utils").SerializedStyles;
33
+ export declare const idvDismissButton: import("@emotion/utils").SerializedStyles;
34
+ export declare const loadingSpinner: import("@emotion/utils").SerializedStyles;
35
+ //# sourceMappingURL=isolatedStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isolatedStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/styles/isolatedStyles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,2CAwBpB,CAAC;AAGF,eAAO,MAAM,YAAY,2CAqDxB,CAAC;AAGF,eAAO,MAAM,cAAc,2CA0B1B,CAAC;AAGF,eAAO,MAAM,UAAU,2CActB,CAAC;AAGF,eAAO,MAAM,UAAU,2CAStB,CAAC;AAGF,eAAO,MAAM,WAAW,2CAMvB,CAAC;AAGF,eAAO,MAAM,YAAY,2CA0BxB,CAAC;AAGF,eAAO,MAAM,WAAW,2CAoBvB,CAAC;AAGF,eAAO,MAAM,oBAAoB,2CAQhC,CAAC;AAGF,eAAO,MAAM,aAAa,2CAKzB,CAAC;AAGF,eAAO,MAAM,WAAW,2CAKvB,CAAC;AAGF,eAAO,MAAM,cAAc,2CAQ1B,CAAC;AAGF,eAAO,MAAM,kBAAkB,2CAQ9B,CAAC;AAGF,eAAO,MAAM,mBAAmB,2CAS/B,CAAC;AAGF,eAAO,MAAM,aAAa,2CAezB,CAAC;AAGF,eAAO,MAAM,YAAY,2CAexB,CAAC;AAGF,eAAO,MAAM,eAAe,2CAc3B,CAAC;AAGF,eAAO,MAAM,gBAAgB,2CAQ5B,CAAC;AAGF,eAAO,MAAM,cAAc,2CAM1B,CAAC;AAGF,eAAO,MAAM,UAAU,2CAYtB,CAAC;AAGF,eAAO,MAAM,QAAQ,2CAMpB,CAAC;AAGF,eAAO,MAAM,iBAAiB,2CAc7B,CAAC;AAGF,eAAO,MAAM,YAAY,2CAIxB,CAAC;AAGF,eAAO,MAAM,UAAU,2CAItB,CAAC;AAGF,eAAO,MAAM,YAAY,2CAIxB,CAAC;AAGF,eAAO,MAAM,SAAS,2CAIrB,CAAC;AAGF,eAAO,MAAM,gBAAgB,2CAiB5B,CAAC;AAGF,eAAO,MAAM,YAAY,2CAYxB,CAAC;AAGF,eAAO,MAAM,SAAS,2CAWrB,CAAC;AAGF,eAAO,MAAM,cAAc,2CAM1B,CAAC;AAGF,eAAO,MAAM,aAAa,2CAMzB,CAAC;AAGF,eAAO,MAAM,eAAe,2CAoB3B,CAAC;AAGF,eAAO,MAAM,gBAAgB,2CAmB5B,CAAC;AAGF,eAAO,MAAM,cAAc,2CAO1B,CAAC"}
@@ -0,0 +1,494 @@
1
+ import { css } from '@emotion/react';
2
+ // Light CSS Reset for SDK components - only reset problematic inherited styles
3
+ export const sdkReset = css `
4
+ /* Only reset problematic inherited styles, keep the rest */
5
+ box-sizing: border-box !important;
6
+
7
+ /* Ensure consistent font rendering */
8
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
9
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
10
+ sans-serif !important;
11
+
12
+ /* Reset only problematic inherited styles */
13
+ text-decoration: none !important;
14
+ text-transform: none !important;
15
+ letter-spacing: normal !important;
16
+ word-spacing: normal !important;
17
+ text-align: left !important;
18
+
19
+ /* Reset list styles if needed */
20
+ list-style: none !important;
21
+
22
+ /* Reset form elements outline */
23
+ outline: none !important;
24
+
25
+ /* Reset user select for better UX */
26
+ user-select: auto !important;
27
+ `;
28
+ // Base container styles with light isolation
29
+ export const sdkContainer = css `
30
+ /* Light isolation - only reset problematic inherited styles */
31
+ ${sdkReset}
32
+
33
+ /* Ensure all text elements have proper color inheritance */
34
+ &, & * {
35
+ color: inherit !important;
36
+ }
37
+
38
+ /* Ensure consistent box-sizing for all children */
39
+ & * {
40
+ box-sizing: border-box !important;
41
+ }
42
+
43
+ /* Light reset for buttons to prevent external button styles */
44
+ & button {
45
+ box-sizing: border-box !important;
46
+ font-family: inherit !important;
47
+ cursor: pointer !important;
48
+ }
49
+
50
+ /* Light reset for form elements */
51
+ & input, & textarea {
52
+ box-sizing: border-box !important;
53
+ font-family: inherit !important;
54
+ }
55
+
56
+ /* Light reset for text elements */
57
+ & div, & span, & p, & h1, & h2, & h3, & h4, & h5, & h6 {
58
+ box-sizing: border-box !important;
59
+ font-family: inherit !important;
60
+ }
61
+
62
+ /* Light reset for lists */
63
+ & ul, & ol, & li {
64
+ box-sizing: border-box !important;
65
+ font-family: inherit !important;
66
+ }
67
+
68
+ /* Light reset for links */
69
+ & a {
70
+ box-sizing: border-box !important;
71
+ font-family: inherit !important;
72
+ color: inherit !important;
73
+ text-decoration: none !important;
74
+ }
75
+
76
+ /* Light reset for images */
77
+ & img {
78
+ box-sizing: border-box !important;
79
+ max-width: 100% !important;
80
+ height: auto !important;
81
+ }
82
+ `;
83
+ // Floating button styles
84
+ export const floatingButton = css `
85
+ position: fixed !important;
86
+ bottom: 20px !important;
87
+ right: 20px !important;
88
+ background-color: #007bff !important;
89
+ color: white !important;
90
+ border: none !important;
91
+ padding: 10px 20px !important;
92
+ border-radius: 20px !important;
93
+ cursor: pointer !important;
94
+ box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
95
+ transition: all 0.3s ease !important;
96
+ z-index: 1000 !important;
97
+ font-size: 14px !important;
98
+ font-weight: 500 !important;
99
+ font-family: inherit !important;
100
+
101
+ &:disabled {
102
+ cursor: not-allowed !important;
103
+ opacity: 0.6 !important;
104
+ }
105
+
106
+ &:hover:not(:disabled) {
107
+ background-color: #0056b3 !important;
108
+ transform: translateY(-2px) !important;
109
+ }
110
+ `;
111
+ // Chat window container styles
112
+ export const chatWindow = css `
113
+ position: fixed !important;
114
+ bottom: 20px !important;
115
+ right: 20px !important;
116
+ width: 500px !important;
117
+ height: 600px !important;
118
+ background-color: white !important;
119
+ border-radius: 10px !important;
120
+ box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
121
+ display: flex !important;
122
+ flex-direction: column !important;
123
+ z-index: 1001 !important;
124
+ overflow: hidden !important;
125
+ font-family: inherit !important;
126
+ `;
127
+ // Header styles
128
+ export const chatHeader = css `
129
+ padding: 15px !important;
130
+ background-color: #007bff !important;
131
+ color: white !important;
132
+ border-radius: 10px 10px 0 0 !important;
133
+ display: flex !important;
134
+ justify-content: space-between !important;
135
+ align-items: center !important;
136
+ font-family: inherit !important;
137
+ `;
138
+ // Header title styles
139
+ export const headerTitle = css `
140
+ margin: 0 !important;
141
+ font-size: 16px !important;
142
+ font-weight: 600 !important;
143
+ color: white !important;
144
+ font-family: inherit !important;
145
+ `;
146
+ // Header button styles
147
+ export const headerButton = css `
148
+ background: none !important;
149
+ border: none !important;
150
+ color: white !important;
151
+ font-size: 18px !important;
152
+ cursor: pointer !important;
153
+ padding: 0 !important;
154
+ display: flex !important;
155
+ align-items: center !important;
156
+ justify-content: center !important;
157
+ border-radius: 4px !important;
158
+ transition: background-color 0.2s !important;
159
+ font-family: inherit !important;
160
+ width: 32px !important;
161
+ height: 32px !important;
162
+ line-height: 0 !important;
163
+ vertical-align: middle !important;
164
+
165
+ &:disabled {
166
+ cursor: not-allowed !important;
167
+ opacity: 0.6 !important;
168
+ }
169
+
170
+ &:hover:not(:disabled) {
171
+ background-color: rgba(255, 255, 255, 0.2) !important;
172
+ }
173
+ `;
174
+ // Close button styles
175
+ export const closeButton = css `
176
+ background: none !important;
177
+ border: none !important;
178
+ color: white !important;
179
+ font-size: 18px !important;
180
+ cursor: pointer !important;
181
+ padding: 0 !important;
182
+ display: flex !important;
183
+ align-items: center !important;
184
+ justify-content: center !important;
185
+ font-family: inherit !important;
186
+ width: 32px !important;
187
+ height: 32px !important;
188
+ line-height: 0 !important;
189
+ vertical-align: middle !important;
190
+
191
+ &:disabled {
192
+ cursor: not-allowed !important;
193
+ opacity: 0.6 !important;
194
+ }
195
+ `;
196
+ // Message list container styles
197
+ export const messageListContainer = css `
198
+ flex: 1 !important;
199
+ padding: 15px !important;
200
+ overflow-y: auto !important;
201
+ display: flex !important;
202
+ flex-direction: column !important;
203
+ gap: 10px !important;
204
+ font-family: inherit !important;
205
+ `;
206
+ // Message bubble styles
207
+ export const messageBubble = css `
208
+ align-self: flex-start !important;
209
+ max-width: 80% !important;
210
+ margin-bottom: 10px !important;
211
+ font-family: inherit !important;
212
+ `;
213
+ // User message styles
214
+ export const userMessage = css `
215
+ align-self: flex-end !important;
216
+ max-width: 80% !important;
217
+ margin-bottom: 10px !important;
218
+ font-family: inherit !important;
219
+ `;
220
+ // Message content styles
221
+ export const messageContent = css `
222
+ background-color: #f1f1f1 !important;
223
+ color: #333 !important;
224
+ padding: 10px 15px !important;
225
+ border-radius: 15px !important;
226
+ word-wrap: break-word !important;
227
+ position: relative !important;
228
+ font-family: inherit !important;
229
+ `;
230
+ // User message content styles
231
+ export const userMessageContent = css `
232
+ background-color: #007bff !important;
233
+ color: white !important;
234
+ padding: 10px 15px !important;
235
+ border-radius: 15px !important;
236
+ word-wrap: break-word !important;
237
+ position: relative !important;
238
+ font-family: inherit !important;
239
+ `;
240
+ // Retry message content styles
241
+ export const retryMessageContent = css `
242
+ background-color: #fff3cd !important;
243
+ color: #856404 !important;
244
+ padding: 10px 15px !important;
245
+ border-radius: 15px !important;
246
+ word-wrap: break-word !important;
247
+ position: relative !important;
248
+ border: 1px solid #ffeaa7 !important;
249
+ font-family: inherit !important;
250
+ `;
251
+ // Chatbot button styles (for buttons inside chatbot window)
252
+ export const chatbotButton = css `
253
+ padding: 8px 16px !important;
254
+ background-color: #007bff !important;
255
+ color: white !important;
256
+ border: none !important;
257
+ border-radius: 5px !important;
258
+ cursor: pointer !important;
259
+ font-size: 14px !important;
260
+ font-family: inherit !important;
261
+
262
+ &:disabled {
263
+ background-color: #6c757d !important;
264
+ cursor: not-allowed !important;
265
+ opacity: 0.8 !important;
266
+ }
267
+ `;
268
+ // Action button styles (for buttons outside chatbot window)
269
+ export const actionButton = css `
270
+ padding: 8px 16px !important;
271
+ background-color: #007bff !important;
272
+ color: white !important;
273
+ border: none !important;
274
+ border-radius: 5px !important;
275
+ cursor: pointer !important;
276
+ font-size: 14px !important;
277
+ font-family: inherit !important;
278
+
279
+ &:disabled {
280
+ background-color: #6c757d !important;
281
+ cursor: not-allowed !important;
282
+ opacity: 0.8 !important;
283
+ }
284
+ `;
285
+ // Connected button styles
286
+ export const connectedButton = css `
287
+ padding: 8px 16px !important;
288
+ background-color: #28a745 !important;
289
+ color: white !important;
290
+ border: none !important;
291
+ border-radius: 5px !important;
292
+ cursor: pointer !important;
293
+ font-size: 14px !important;
294
+ font-family: inherit !important;
295
+
296
+ &:disabled {
297
+ cursor: not-allowed !important;
298
+ opacity: 0.8 !important;
299
+ }
300
+ `;
301
+ // Loading indicator styles
302
+ export const loadingIndicator = css `
303
+ align-self: flex-start !important;
304
+ background-color: #f1f1f1 !important;
305
+ color: #333 !important;
306
+ padding: 10px 15px !important;
307
+ border-radius: 15px !important;
308
+ max-width: 80% !important;
309
+ font-family: inherit !important;
310
+ `;
311
+ // Model indicator styles
312
+ export const modelIndicator = css `
313
+ display: flex !important;
314
+ align-items: center !important;
315
+ margin-top: 4px !important;
316
+ margin-left: 8px !important;
317
+ font-family: inherit !important;
318
+ `;
319
+ // Model badge styles
320
+ export const modelBadge = css `
321
+ background-color: #e3f2fd !important;
322
+ color: #1976d2 !important;
323
+ padding: 2px 8px !important;
324
+ border-radius: 10px !important;
325
+ font-size: 10px !important;
326
+ font-weight: 500 !important;
327
+ border: 1px solid #bbdefb !important;
328
+ display: flex !important;
329
+ align-items: center !important;
330
+ gap: 4px !important;
331
+ font-family: inherit !important;
332
+ `;
333
+ // Model dot styles
334
+ export const modelDot = css `
335
+ width: 6px !important;
336
+ height: 6px !important;
337
+ background-color: #1976d2 !important;
338
+ border-radius: 50% !important;
339
+ display: inline-block !important;
340
+ `;
341
+ // Toast notification styles
342
+ export const toastNotification = css `
343
+ position: fixed !important;
344
+ padding: 12px 24px !important;
345
+ border-radius: 8px !important;
346
+ z-index: 2000 !important;
347
+ font-weight: 600 !important;
348
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
349
+ transition: all 0.3s ease !important;
350
+ display: flex !important;
351
+ align-items: center !important;
352
+ gap: 12px !important;
353
+ min-width: 300px !important;
354
+ max-width: 500px !important;
355
+ font-family: inherit !important;
356
+ `;
357
+ // Success toast styles
358
+ export const successToast = css `
359
+ ${toastNotification}
360
+ background: #4caf50 !important;
361
+ color: white !important;
362
+ `;
363
+ // Error toast styles
364
+ export const errorToast = css `
365
+ ${toastNotification}
366
+ background: #f44336 !important;
367
+ color: white !important;
368
+ `;
369
+ // Warning toast styles
370
+ export const warningToast = css `
371
+ ${toastNotification}
372
+ background: #ff9800 !important;
373
+ color: white !important;
374
+ `;
375
+ // Info toast styles
376
+ export const infoToast = css `
377
+ ${toastNotification}
378
+ background: #2196f3 !important;
379
+ color: white !important;
380
+ `;
381
+ // Toast close button styles
382
+ export const toastCloseButton = css `
383
+ background: none !important;
384
+ border: none !important;
385
+ color: white !important;
386
+ font-size: 18px !important;
387
+ cursor: pointer !important;
388
+ padding: 4px !important;
389
+ display: flex !important;
390
+ align-items: center !important;
391
+ justify-content: center !important;
392
+ border-radius: 4px !important;
393
+ transition: background-color 0.2s !important;
394
+ font-family: inherit !important;
395
+
396
+ &:hover {
397
+ background-color: rgba(255, 255, 255, 0.2) !important;
398
+ }
399
+ `;
400
+ // Modal overlay styles
401
+ export const modalOverlay = css `
402
+ position: fixed !important;
403
+ top: 0 !important;
404
+ left: 0 !important;
405
+ right: 0 !important;
406
+ bottom: 0 !important;
407
+ background-color: rgba(0, 0, 0, 0.5) !important;
408
+ display: flex !important;
409
+ align-items: center !important;
410
+ justify-content: center !important;
411
+ z-index: 1002 !important;
412
+ padding: 20px !important;
413
+ `;
414
+ // IDV banner styles
415
+ export const idvBanner = css `
416
+ background-color: #fff3cd !important;
417
+ border: 1px solid #ffeaa7 !important;
418
+ border-left: 4px solid #f39c12 !important;
419
+ margin: 16px !important;
420
+ padding: 16px !important;
421
+ border-radius: 8px !important;
422
+ display: flex !important;
423
+ align-items: center !important;
424
+ gap: 12px !important;
425
+ font-family: inherit !important;
426
+ `;
427
+ // IDV banner title styles
428
+ export const idvBannerTitle = css `
429
+ margin: 0 0 8px 0 !important;
430
+ font-size: 14px !important;
431
+ font-weight: 600 !important;
432
+ color: #856404 !important;
433
+ font-family: inherit !important;
434
+ `;
435
+ // IDV banner text styles
436
+ export const idvBannerText = css `
437
+ margin: 0 0 12px 0 !important;
438
+ font-size: 13px !important;
439
+ color: #856404 !important;
440
+ line-height: 1.4 !important;
441
+ font-family: inherit !important;
442
+ `;
443
+ // IDV verify button styles
444
+ export const idvVerifyButton = css `
445
+ padding: 8px 16px !important;
446
+ background-color: #f39c12 !important;
447
+ color: white !important;
448
+ border: none !important;
449
+ border-radius: 6px !important;
450
+ cursor: pointer !important;
451
+ font-size: 13px !important;
452
+ font-weight: 500 !important;
453
+ transition: background-color 0.2s !important;
454
+ font-family: inherit !important;
455
+
456
+ &:disabled {
457
+ cursor: not-allowed !important;
458
+ opacity: 0.6 !important;
459
+ }
460
+
461
+ &:hover:not(:disabled) {
462
+ background-color: #e67e22 !important;
463
+ }
464
+ `;
465
+ // IDV dismiss button styles
466
+ export const idvDismissButton = css `
467
+ background: none !important;
468
+ border: none !important;
469
+ color: #856404 !important;
470
+ font-size: 18px !important;
471
+ cursor: pointer !important;
472
+ padding: 4px !important;
473
+ border-radius: 4px !important;
474
+ transition: background-color 0.2s !important;
475
+ font-family: inherit !important;
476
+
477
+ &:disabled {
478
+ cursor: not-allowed !important;
479
+ opacity: 0.6 !important;
480
+ }
481
+
482
+ &:hover:not(:disabled) {
483
+ background-color: rgba(133, 100, 4, 0.1) !important;
484
+ }
485
+ `;
486
+ // Loading spinner styles
487
+ export const loadingSpinner = css `
488
+ width: 12px !important;
489
+ height: 12px !important;
490
+ border: 2px solid rgba(255, 255, 255, 0.3) !important;
491
+ border-top: 2px solid white !important;
492
+ border-radius: 50% !important;
493
+ animation: spin 1s linear infinite !important;
494
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/nxtlinq-ai-agent-sdk",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "Nxtlinq AI Agent SDK - Proprietary Software with enhanced async operation handling",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",