@spilki/widget 1.0.27 → 1.0.29
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 +1 -1
- package/dist/bootstrap.es.js +516 -179
- package/dist/bootstrap.es.js.map +1 -1
- package/dist/bootstrap.umd.js +50 -8
- package/dist/bootstrap.umd.js.map +1 -1
- package/dist/core/state.d.ts +5 -1
- package/dist/core/state.d.ts.map +1 -1
- package/dist/core/utils.d.ts +3 -2
- package/dist/core/utils.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/ui/bubble.d.ts +1 -0
- package/dist/ui/bubble.d.ts.map +1 -1
- package/dist/ui/panel.d.ts +36 -2
- package/dist/ui/panel.d.ts.map +1 -1
- package/dist/widget.es.js +520 -183
- package/dist/widget.es.js.map +1 -1
- package/dist/widget.umd.js +50 -8
- package/dist/widget.umd.js.map +1 -1
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ initSpilkiWidget({
|
|
|
48
48
|
|----------------------|-----------------------------------|---------------------------|-----------------------------------------------------------------------------------------|
|
|
49
49
|
| `org` | `string` | – | Spilki organisation identifier. |
|
|
50
50
|
| `token` | `string?` | – | Signed JWT obtained from the admin UI or backend. |
|
|
51
|
-
| `apiBase` | `string?` | `https://api.spilki.
|
|
51
|
+
| `apiBase` | `string?` | `https://api.spilki.app` | Override API endpoint (useful for staging/local). |
|
|
52
52
|
| `position` | `"bottom-right" \| "bottom-left"` | `"bottom-right"` | Corner to anchor the bubble + panel. |
|
|
53
53
|
| `theme` | `"auto" \| "light" \| "dark"` | `"auto"` | Force light/dark or respect OS preference. |
|
|
54
54
|
| `color` | `string?` | `#6366f1` | Accent color for bubble + primary CTA. |
|