@web-site-utilities/feedback 0.0.1 → 0.0.3
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/common/types/FormConfig.d.ts +1 -0
- package/dist/form/features/InPlaceForm/InPlaceForm.d.ts +1 -2
- package/dist/form/features/PopupForm/PopupForm.d.ts +1 -2
- package/dist/form/hooks/useIsClient.d.ts +1 -0
- package/dist/form/index.d.ts +17 -0
- package/dist/index.cjs.js +18 -18
- package/dist/index.d.ts +35 -0
- package/dist/index.es.js +741 -731
- package/dist/index.iife.js +18 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Container } from 'react-dom/client';
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
|
+
import { FormConfigTheme } from '@web-site-utilities/common/types/FormConfig';
|
|
4
|
+
import { InlineForm } from '@web-site-utilities/common/types/FormConfig';
|
|
3
5
|
import { Locale } from '@web-site-utilities/common/types/Locale';
|
|
6
|
+
import { PopupForm } from '@web-site-utilities/common/types/FormConfig';
|
|
7
|
+
import { theme } from '@web-site-utilities/common/theme/ThemeProvider';
|
|
8
|
+
import { Variants } from '@web-site-utilities/common/theme/ThemeProvider';
|
|
4
9
|
|
|
5
10
|
export declare const FeedbackModule: (options: InitiateFeedbackModuleOptionsCmp) => default_2.FunctionComponentElement<{
|
|
6
11
|
formId: string;
|
|
@@ -16,6 +21,36 @@ declare type InitiateFeedbackModuleOptions = {
|
|
|
16
21
|
|
|
17
22
|
declare type InitiateFeedbackModuleOptionsCmp = Omit<InitiateFeedbackModuleOptions, 'container'>;
|
|
18
23
|
|
|
24
|
+
declare type InPlaceFormProps = {
|
|
25
|
+
formId: string;
|
|
26
|
+
domainId: string;
|
|
27
|
+
formTheme: FormConfigTheme;
|
|
28
|
+
inlineForm: InlineForm;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
declare type PopupFormProps = {
|
|
32
|
+
formId: string;
|
|
33
|
+
domainId: string;
|
|
34
|
+
formTheme: FormConfigTheme;
|
|
35
|
+
popupForm: PopupForm;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export declare const PreviewInPlaceForm: (props: InPlaceFormProps & {
|
|
39
|
+
variant: Variants;
|
|
40
|
+
}) => default_2.FunctionComponentElement<{
|
|
41
|
+
theme: theme;
|
|
42
|
+
selectedVariant?: Variants;
|
|
43
|
+
children: default_2.ReactNode;
|
|
44
|
+
}>;
|
|
45
|
+
|
|
46
|
+
export declare const PreviewPopupForm: (props: PopupFormProps & {
|
|
47
|
+
variant: Variants;
|
|
48
|
+
}) => default_2.FunctionComponentElement<{
|
|
49
|
+
theme: theme;
|
|
50
|
+
selectedVariant?: Variants;
|
|
51
|
+
children: default_2.ReactNode;
|
|
52
|
+
}>;
|
|
53
|
+
|
|
19
54
|
export declare const renderFeedbackModule: (options: InitiateFeedbackModuleOptionsCmp) => default_2.FunctionComponentElement<{
|
|
20
55
|
formId: string;
|
|
21
56
|
locale?: Locale;
|