@codingfactory/messenger-client 0.4.0 → 0.4.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.
- package/dist/configure.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1809 -1793
- package/dist/primitives/actionSheet.d.ts +1 -0
- package/dist/services/widgetConfig.d.ts +7 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Minimal vanilla action sheet that replaces Ionic's actionSheetController.
|
|
3
3
|
* Renders a bottom sheet with buttons. Icons are stored but not rendered (acceptable tradeoff).
|
|
4
4
|
*/
|
|
5
|
+
import './actionSheet.css';
|
|
5
6
|
export interface ActionSheetButton {
|
|
6
7
|
text: string;
|
|
7
8
|
icon?: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface WidgetConfig {
|
|
2
|
+
/** Base route path for the full messenger page (default: '/messages') */
|
|
3
|
+
messagesRoute: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function getWidgetConfig(): WidgetConfig;
|
|
6
|
+
export declare function setWidgetConfig(overrides: Partial<WidgetConfig>): void;
|
|
7
|
+
export declare function resetWidgetConfig(): void;
|
package/package.json
CHANGED