@blumessage/react-chat 1.4.2 → 1.5.1

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.
@@ -39,7 +39,7 @@
39
39
  */
40
40
 
41
41
  /**
42
- * @license lucide-react v0.294.0 - ISC
42
+ * @license lucide-react v0.539.0 - ISC
43
43
  *
44
44
  * This source code is licensed under the ISC license.
45
45
  * See the LICENSE file in the root directory of this source tree.
@@ -51,5 +51,17 @@ export interface BlumessageChatProps {
51
51
  fullScreen?: boolean;
52
52
  icon?: string;
53
53
  primaryColor?: string;
54
+ showHelpBubble?: boolean;
55
+ helpBubbleMessage?: string;
56
+ helpBubbleIcon?: string;
57
+ /**
58
+ * Specify any Lucide React icon by name for the help bubble.
59
+ * Examples: 'helpcircle', 'info', 'lightbulb', 'settings', 'search', 'plus', 'check', 'clock', 'home', 'menu', 'grid', 'list', 'filter', 'refresh', 'edit', 'copy', 'trash2', 'tag', 'bookmark', 'flag', 'thumbsup', 'thumbsdown', 'smile', 'frown', 'meh'
60
+ * Falls back to helpBubbleIcon if not provided or icon not found.
61
+ */
62
+ helpBubbleIconName?: string;
63
+ helpBubbleShowAfter?: number;
64
+ helpBubbleHideAfter?: number;
65
+ helpBubbleBackgroundColor?: string;
54
66
  }
55
67
  export declare const BlumessageChat: React.ForwardRefExoticComponent<BlumessageChatProps & React.RefAttributes<BlumessageChatRef>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blumessage/react-chat",
3
- "version": "1.4.2",
3
+ "version": "1.5.1",
4
4
  "description": "A React TypeScript chat widget component with floating button, theming, and Blumessage API integration",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Blumessage <contact@blumessage.com>",
@@ -21,13 +21,13 @@
21
21
  "package.json"
22
22
  ],
23
23
  "type": "commonjs",
24
- "main": "dist/index.js",
24
+ "main": "dist/BlumessageChat.js",
25
25
  "types": "dist/types/src/index.d.ts",
26
26
  "exports": {
27
27
  ".": {
28
28
  "types": "./dist/types/src/index.d.ts",
29
- "import": "./dist/index.js",
30
- "require": "./dist/index.js"
29
+ "import": "./dist/BlumessageChat.js",
30
+ "require": "./dist/BlumessageChat.js"
31
31
  },
32
32
  "./browser": {
33
33
  "types": "./dist/types/src/index.d.ts",
@@ -53,7 +53,7 @@
53
53
  "react-dom": ">=18.0.0"
54
54
  },
55
55
  "dependencies": {
56
- "lucide-react": "^0.294.0",
56
+ "lucide-react": "^0.539.0",
57
57
  "react-markdown": "^9.0.1",
58
58
  "remark-gfm": "^4.0.1"
59
59
  },