@voxket-ai/events-sdk 1.0.4 → 1.0.6
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 +382 -349
- package/dist/components/AttendeePortal.d.ts +0 -1
- package/dist/components/DynamicForm.d.ts +1 -1
- package/dist/events-sdk.js +838 -807
- package/dist/events-sdk.umd.cjs +4 -4
- package/dist/types.d.ts +2 -6
- package/dist/utils/backgroundUtils.d.ts +6 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -19,20 +19,16 @@ export interface WidgetConfig {
|
|
|
19
19
|
themeMode?: ThemeMode;
|
|
20
20
|
width?: string;
|
|
21
21
|
height?: string;
|
|
22
|
-
/** Background image URL for forms with a subtle dull look */
|
|
23
|
-
backgroundImage?: string;
|
|
24
22
|
theme?: {
|
|
25
23
|
mode?: 'light' | 'dark' | 'blue' | 'white' | 'custom';
|
|
26
24
|
primaryColor?: string;
|
|
27
25
|
fontFamily?: string;
|
|
28
|
-
/** Background image URL for forms with a subtle dull look */
|
|
29
|
-
backgroundImage?: string;
|
|
30
26
|
};
|
|
31
27
|
debug?: boolean;
|
|
32
28
|
/** Banner image shown on the right side of the top header strip (header also switches to a theme-color gradient) */
|
|
33
29
|
headerBannerImage?: string;
|
|
34
|
-
/**
|
|
35
|
-
|
|
30
|
+
/** Dull/faded background image behind the form-types list, the form page and the attendee portal */
|
|
31
|
+
backgroundImage?: string;
|
|
36
32
|
/** Abstract submission mode: shows only the form types (including is_review fields), no attendee login */
|
|
37
33
|
isAbstract?: boolean;
|
|
38
34
|
/** Request timeout in milliseconds. Defaults to 120000 (2 minutes). */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Dull (faded) wallpaper style for backgroundImage: a page-colored overlay on top of the image.
|
|
4
|
+
* Static while content scrolls: pinned to the viewport in page mode, to the scroll box otherwise.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDullBackgroundStyle(imageUrl: string | undefined, isDark: boolean, isWidgetPage: boolean): React.CSSProperties | undefined;
|