@archbee/app-widget 1.1.32 → 1.1.34
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 +3 -3
- package/dist/index.cjs.js +1428 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +1412 -0
- package/dist/index.esm.js.map +1 -0
- package/package.json +18 -12
- package/index.esm.d.ts +0 -1
- package/index.esm.js +0 -1797
- package/src/index.d.ts +0 -3
- package/src/lib/main.d.ts +0 -19
- package/src/lib/scripts/index.d.ts +0 -4
- package/src/lib/scripts/initScripts.d.ts +0 -4
- package/src/lib/scripts/proxy.d.ts +0 -2
- package/src/lib/scripts/render.d.ts +0 -1
- package/src/lib/scripts/widgetActions.d.ts +0 -4
- package/src/lib/types.d.ts +0 -56
package/README.md
CHANGED
|
@@ -8,10 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
|
-
To install,
|
|
11
|
+
To install, use [pnpm](https://pnpm.io/):
|
|
12
12
|
|
|
13
|
-
$
|
|
14
|
-
$ yarn add @archbee/app-widget
|
|
13
|
+
$ pnpm add @archbee/app-widget
|
|
15
14
|
|
|
16
15
|
If you need to install Archbee Contextual Widget SDK, you can find more details [here](https://docs.archbee.com/app-widget).
|
|
17
16
|
|
|
@@ -110,6 +109,7 @@ ReactDOM.render(<App />, appElement);
|
|
|
110
109
|
| `onWidgetOpen` | `void` | `optional` | Callback that is called after widget opens. |
|
|
111
110
|
| `onWidgetClose` | `void` | `optional` | Callback that is called after widget closes. |
|
|
112
111
|
| `hideNavbar` | `boolean` | `optional` | Default value is `false`. It hides the header navbar from the modal. |
|
|
112
|
+
| `initialSearchQuery` | `string` | `optional` | Pre-populates the search input and triggers a search when the widget opens. Use with `widgetType: "search"` to open the widget with results already showing. |
|
|
113
113
|
|
|
114
114
|
## Bubble
|
|
115
115
|
|