@web-site-utilities/feedback 0.0.6 → 0.0.8
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/components/Checkbox.d.ts +1 -1
- package/dist/common/components/QuestionMatrix.d.ts +1 -1
- package/dist/common/components/Radio.d.ts +2 -2
- package/dist/common/components/Rating.d.ts +1 -1
- package/dist/common/components/Select.d.ts +1 -2
- package/dist/common/components/Textarea.d.ts +1 -2
- package/dist/fields/Field/Field.d.ts +2 -41
- package/dist/form/index.d.ts +46 -3
- package/dist/index.cjs.js +22 -22
- package/dist/index.d.ts +47 -2
- package/dist/index.es.js +993 -896
- package/dist/index.iife.js +22 -22
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
import { CheckboxGroupProps } from '@web-site-utilities/common/components/Checkbox';
|
|
1
2
|
import { Container } from 'react-dom/client';
|
|
2
3
|
import { default as default_2 } from 'react';
|
|
3
4
|
import { FormConfigTheme } from '@web-site-utilities/common/types/FormConfig';
|
|
4
5
|
import { InlineForm } from '@web-site-utilities/common/types/FormConfig';
|
|
5
6
|
import { Locale } from '@web-site-utilities/common/types/Locale';
|
|
6
7
|
import { PopupForm } from '@web-site-utilities/common/types/FormConfig';
|
|
8
|
+
import { QuestionMatrixProps } from '@web-site-utilities/common/components/QuestionMatrix';
|
|
9
|
+
import { RadioGroupProps } from '@web-site-utilities/common/components/Radio';
|
|
10
|
+
import { RatingProps } from '@web-site-utilities/common/components/Rating';
|
|
11
|
+
import { SelectProps } from '@web-site-utilities/common/components/Select';
|
|
12
|
+
import { TextareaProps } from '@web-site-utilities/common/components/Textarea';
|
|
7
13
|
import { theme } from '@web-site-utilities/common/theme/ThemeProvider';
|
|
8
14
|
import { Variants } from '@web-site-utilities/common/theme/ThemeProvider';
|
|
9
15
|
|
|
@@ -38,7 +44,7 @@ declare type PopupFormProps = {
|
|
|
38
44
|
export declare const PreviewInPlaceForm: (props: InPlaceFormProps & {
|
|
39
45
|
variant: Variants;
|
|
40
46
|
}) => default_2.FunctionComponentElement<{
|
|
41
|
-
theme: theme;
|
|
47
|
+
theme: typeof theme;
|
|
42
48
|
selectedVariant?: Variants;
|
|
43
49
|
children: default_2.ReactNode;
|
|
44
50
|
}>;
|
|
@@ -46,7 +52,7 @@ export declare const PreviewInPlaceForm: (props: InPlaceFormProps & {
|
|
|
46
52
|
export declare const PreviewPopupForm: (props: PopupFormProps & {
|
|
47
53
|
variant: Variants;
|
|
48
54
|
}) => default_2.FunctionComponentElement<{
|
|
49
|
-
theme: theme;
|
|
55
|
+
theme: typeof theme;
|
|
50
56
|
selectedVariant?: Variants;
|
|
51
57
|
children: default_2.ReactNode;
|
|
52
58
|
}>;
|
|
@@ -56,6 +62,45 @@ export declare const renderFeedbackModule: (options: InitiateFeedbackModuleOptio
|
|
|
56
62
|
locale?: Locale;
|
|
57
63
|
}> | null;
|
|
58
64
|
|
|
65
|
+
export declare const SurveyFormComponents: {
|
|
66
|
+
Checkbox: (props: SurveyFormComponentsProps<CheckboxGroupProps>) => default_2.FunctionComponentElement<{
|
|
67
|
+
theme: typeof theme;
|
|
68
|
+
selectedVariant?: Variants;
|
|
69
|
+
children: default_2.ReactNode;
|
|
70
|
+
}>;
|
|
71
|
+
QuestionMatrix: (props: SurveyFormComponentsProps<QuestionMatrixProps>) => default_2.FunctionComponentElement<{
|
|
72
|
+
theme: typeof theme;
|
|
73
|
+
selectedVariant?: Variants;
|
|
74
|
+
children: default_2.ReactNode;
|
|
75
|
+
}>;
|
|
76
|
+
Radio: (props: SurveyFormComponentsProps<RadioGroupProps>) => default_2.FunctionComponentElement<{
|
|
77
|
+
theme: typeof theme;
|
|
78
|
+
selectedVariant?: Variants;
|
|
79
|
+
children: default_2.ReactNode;
|
|
80
|
+
}>;
|
|
81
|
+
Rating: (props: SurveyFormComponentsProps<RatingProps>) => default_2.FunctionComponentElement<{
|
|
82
|
+
theme: typeof theme;
|
|
83
|
+
selectedVariant?: Variants;
|
|
84
|
+
children: default_2.ReactNode;
|
|
85
|
+
}>;
|
|
86
|
+
Select: (props: SurveyFormComponentsProps<SelectProps>) => default_2.FunctionComponentElement<{
|
|
87
|
+
theme: typeof theme;
|
|
88
|
+
selectedVariant?: Variants;
|
|
89
|
+
children: default_2.ReactNode;
|
|
90
|
+
}>;
|
|
91
|
+
Textarea: (props: SurveyFormComponentsProps<TextareaProps>) => default_2.FunctionComponentElement<{
|
|
92
|
+
theme: typeof theme;
|
|
93
|
+
selectedVariant?: Variants;
|
|
94
|
+
children: default_2.ReactNode;
|
|
95
|
+
}>;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export declare type SurveyFormComponentsProps<T> = {
|
|
99
|
+
formTheme: typeof theme;
|
|
100
|
+
formVariant: Variants;
|
|
101
|
+
cmpProps: T;
|
|
102
|
+
};
|
|
103
|
+
|
|
59
104
|
export { }
|
|
60
105
|
|
|
61
106
|
|