@lemonsliceai/lemon-slice-widget 1.0.17 → 1.0.18

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 (3) hide show
  1. package/README.md +7 -0
  2. package/dist/index.js +35 -35
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -26,6 +26,7 @@ LemonSlice agents are created on [https://lemonslice.com/](https://lemonslice.co
26
26
  - **`custom-minimized-height`**: Custom height for the minimized widget state in pixels
27
27
  - **`video-button-color-hex`**: Hex color (with or without `#`) used for the minimized video chat button (default: `#919191`)
28
28
  - **`video-button-color-opacity`**: Opacity for the video chat button color in the range `[0, 1]` (default: `0.3`)
29
+ - **`video-button-text`**: Custom text to display on the video button. If not provided, defaults to "Video chat" on desktop and "Join" on mobile
29
30
  - **`hide-powered-by`**: Hide the "Powered by Lemon Slice" branding (default: `false`)
30
31
  - **`hide-ui`**: Hide all UI elements and use programmatic API only (default: `false`)
31
32
 
@@ -48,6 +49,12 @@ LemonSlice agents are created on [https://lemonslice.com/](https://lemonslice.co
48
49
  video-button-color-opacity="0.8"
49
50
  ></lemon-slice-widget>
50
51
 
52
+ <!-- Custom button text -->
53
+ <lemon-slice-widget
54
+ agent-id="agent_id"
55
+ video-button-text="Start Chat"
56
+ ></lemon-slice-widget>
57
+
51
58
  <!-- Custom widget sizes -->
52
59
  <lemon-slice-widget
53
60
  agent-id="agent_id"