@voxket-ai/voxket-live 1.0.151 → 1.0.153
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/components/common-popup-trigger.d.ts +21 -0
- package/dist/index.cjs +54 -54
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1379 -1295
- package/dist/logo.png +0 -0
- package/dist/styles.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type CommonPopupPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
3
|
+
export interface CommonPopupTriggerProps {
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
position?: CommonPopupPosition;
|
|
6
|
+
size?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
ariaLabel?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Scale of the logo inside the circle (0 to 1). Default is 0.75 (75%).
|
|
12
|
+
*/
|
|
13
|
+
logoScale?: number;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* CommonPopupTrigger
|
|
17
|
+
* A theme-agnostic popup trigger: black circular button with logo.png centered.
|
|
18
|
+
* Uses assets from public/logo.png, positioned in any corner.
|
|
19
|
+
*/
|
|
20
|
+
export declare const CommonPopupTrigger: React.FC<CommonPopupTriggerProps>;
|
|
21
|
+
export default CommonPopupTrigger;
|