@originallyus/feedback-rn-sdk 3.0.9 → 4.0.0-beta.1
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.
Potentially problematic release.
This version of @originallyus/feedback-rn-sdk might be problematic. Click here for more details.
- package/{LICENSE.txt → LICENSE} +1 -2
- package/README.md +69 -176
- package/lib/module/AIAContentUsefulness.js +273 -0
- package/lib/module/AIAContentUsefulness.js.map +1 -0
- package/lib/module/AIAFeedback.js +295 -0
- package/lib/module/AIAFeedback.js.map +1 -0
- package/lib/module/AIAFeedbackForm.js +212 -0
- package/lib/module/AIAFeedbackForm.js.map +1 -0
- package/lib/module/AIAFeedbackSplash.js +57 -0
- package/lib/module/AIAFeedbackSplash.js.map +1 -0
- package/lib/module/AIAFeedbackStyles.js +329 -0
- package/lib/module/AIAFeedbackStyles.js.map +1 -0
- package/lib/module/AIAFeedbackSuccess.js +68 -0
- package/lib/module/AIAFeedbackSuccess.js.map +1 -0
- package/lib/module/assets/CheckIcon.js +21 -0
- package/lib/module/assets/CheckIcon.js.map +1 -0
- package/lib/module/assets/CloseIcon.js +21 -0
- package/lib/module/assets/CloseIcon.js.map +1 -0
- package/lib/module/assets/ErrorIcon.js +23 -0
- package/lib/module/assets/ErrorIcon.js.map +1 -0
- package/lib/module/assets/PlusIcon.js +21 -0
- package/lib/module/assets/PlusIcon.js.map +1 -0
- package/lib/module/assets/StarIcon.js +21 -0
- package/lib/module/assets/StarIcon.js.map +1 -0
- package/lib/module/component/Button.js +49 -0
- package/lib/module/component/Button.js.map +1 -0
- package/lib/module/component/ButtonSubmit.js +194 -0
- package/lib/module/component/ButtonSubmit.js.map +1 -0
- package/lib/module/component/Input.js +172 -0
- package/lib/module/component/Input.js.map +1 -0
- package/lib/module/component/MultiSelectButtons.js +174 -0
- package/lib/module/component/MultiSelectButtons.js.map +1 -0
- package/lib/module/component/README.md +215 -0
- package/lib/module/component/READMEVI.md +192 -0
- package/lib/module/component/Rating.js +168 -0
- package/lib/module/component/Rating.js.map +1 -0
- package/lib/module/component/RatingNumber.js +268 -0
- package/lib/module/component/RatingNumber.js.map +1 -0
- package/lib/module/component/Textarea.js +163 -0
- package/lib/module/component/Textarea.js.map +1 -0
- package/lib/module/component/YesNoButtons.js +161 -0
- package/lib/module/component/YesNoButtons.js.map +1 -0
- package/lib/module/index.js +13 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/service/feedbackService.js +77 -0
- package/lib/module/service/feedbackService.js.map +1 -0
- package/lib/module/utils/common.js +199 -0
- package/lib/module/utils/common.js.map +1 -0
- package/lib/module/utils/constants.js +48 -0
- package/lib/module/utils/constants.js.map +1 -0
- package/lib/module/utils/index.js +140 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/networking.js +121 -0
- package/lib/module/utils/networking.js.map +1 -0
- package/lib/typescript/AIAContentUsefulness.d.ts +14 -0
- package/lib/typescript/AIAContentUsefulness.d.ts.map +1 -0
- package/lib/typescript/AIAFeedback.d.ts +15 -0
- package/lib/typescript/AIAFeedback.d.ts.map +1 -0
- package/lib/typescript/AIAFeedbackForm.d.ts +22 -0
- package/lib/typescript/AIAFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/AIAFeedbackSplash.d.ts +10 -0
- package/lib/typescript/AIAFeedbackSplash.d.ts.map +1 -0
- package/lib/typescript/AIAFeedbackStyles.d.ts +342 -0
- package/lib/typescript/AIAFeedbackStyles.d.ts.map +1 -0
- package/lib/typescript/AIAFeedbackSuccess.d.ts +11 -0
- package/lib/typescript/AIAFeedbackSuccess.d.ts.map +1 -0
- package/lib/typescript/assets/CheckIcon.d.ts +7 -0
- package/lib/typescript/assets/CheckIcon.d.ts.map +1 -0
- package/lib/typescript/assets/CloseIcon.d.ts +7 -0
- package/lib/typescript/assets/CloseIcon.d.ts.map +1 -0
- package/lib/typescript/assets/ErrorIcon.d.ts +7 -0
- package/lib/typescript/assets/ErrorIcon.d.ts.map +1 -0
- package/lib/typescript/assets/PlusIcon.d.ts +7 -0
- package/lib/typescript/assets/PlusIcon.d.ts.map +1 -0
- package/lib/typescript/assets/StarIcon.d.ts +7 -0
- package/lib/typescript/assets/StarIcon.d.ts.map +1 -0
- package/lib/typescript/component/Button.d.ts +30 -0
- package/lib/typescript/component/Button.d.ts.map +1 -0
- package/lib/typescript/component/ButtonSubmit.d.ts +115 -0
- package/lib/typescript/component/ButtonSubmit.d.ts.map +1 -0
- package/lib/typescript/component/Input.d.ts +112 -0
- package/lib/typescript/component/Input.d.ts.map +1 -0
- package/lib/typescript/component/MultiSelectButtons.d.ts +103 -0
- package/lib/typescript/component/MultiSelectButtons.d.ts.map +1 -0
- package/lib/typescript/component/Rating.d.ts +83 -0
- package/lib/typescript/component/Rating.d.ts.map +1 -0
- package/lib/typescript/component/RatingNumber.d.ts +135 -0
- package/lib/typescript/component/RatingNumber.d.ts.map +1 -0
- package/lib/typescript/component/Textarea.d.ts +115 -0
- package/lib/typescript/component/Textarea.d.ts.map +1 -0
- package/lib/typescript/component/YesNoButtons.d.ts +94 -0
- package/lib/typescript/component/YesNoButtons.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +21 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/service/feedbackService.d.ts +33 -0
- package/lib/typescript/service/feedbackService.d.ts.map +1 -0
- package/lib/typescript/utils/common.d.ts +23 -0
- package/lib/typescript/utils/common.d.ts.map +1 -0
- package/lib/typescript/utils/constants.d.ts +38 -0
- package/lib/typescript/utils/constants.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts +12 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/lib/typescript/utils/networking.d.ts +12 -0
- package/lib/typescript/utils/networking.d.ts.map +1 -0
- package/package.json +175 -39
- package/src/AIAContentUsefulness.tsx +296 -0
- package/src/AIAFeedback.tsx +354 -0
- package/src/AIAFeedbackForm.tsx +267 -0
- package/src/AIAFeedbackSplash.tsx +49 -0
- package/src/AIAFeedbackStyles.ts +311 -0
- package/src/AIAFeedbackSuccess.tsx +67 -0
- package/src/assets/CheckIcon.tsx +18 -0
- package/src/assets/CloseIcon.tsx +18 -0
- package/src/assets/ErrorIcon.tsx +18 -0
- package/src/assets/PlusIcon.tsx +18 -0
- package/src/assets/StarIcon.tsx +18 -0
- package/src/component/Button.tsx +68 -0
- package/src/component/ButtonSubmit.tsx +335 -0
- package/src/component/Input.tsx +288 -0
- package/src/component/MultiSelectButtons.tsx +272 -0
- package/src/component/README.md +215 -0
- package/src/component/READMEVI.md +192 -0
- package/src/component/Rating.tsx +248 -0
- package/src/component/RatingNumber.tsx +421 -0
- package/src/component/Textarea.tsx +282 -0
- package/src/component/YesNoButtons.tsx +236 -0
- package/src/index.tsx +33 -0
- package/src/service/feedbackService.ts +108 -0
- package/src/utils/common.ts +241 -0
- package/src/utils/constants.ts +60 -0
- package/src/utils/index.ts +167 -0
- package/src/utils/networking.ts +134 -0
- package/fonts/AIAEverest-CondensedMedium.ttf +0 -0
- package/fonts/AIAEverest-Medium.ttf +0 -0
- package/fonts/AIAEverest-Regular.ttf +0 -0
- package/fonts/AIAEverestBold.ttf +0 -0
- package/fonts/OpenSans-Bold.ttf +0 -0
- package/fonts/OpenSans-Light.ttf +0 -0
- package/fonts/OpenSans-Regular.ttf +0 -0
- package/fonts/OpenSans-SemiBold.ttf +0 -0
- package/lib/commonjs/api/index.js +0 -1
- package/lib/commonjs/assets/index.js +0 -1
- package/lib/commonjs/component/confirmStep.js +0 -1
- package/lib/commonjs/component/confirmStepTablet.js +0 -1
- package/lib/commonjs/component/contentUI.js +0 -1
- package/lib/commonjs/component/contentUITablet.js +0 -1
- package/lib/commonjs/component/header.js +0 -1
- package/lib/commonjs/component/index.js +0 -1
- package/lib/commonjs/component/inlineSurvey.js +0 -1
- package/lib/commonjs/index.js +0 -1
- package/lib/commonjs/ui/ButtonSubmit.js +0 -1
- package/lib/commonjs/ui/Fineprint.js +0 -1
- package/lib/commonjs/ui/Instruction.js +0 -1
- package/lib/commonjs/ui/MultipleSelectInput.js +0 -1
- package/lib/commonjs/ui/Question.js +0 -1
- package/lib/commonjs/ui/RatingNumber.js +0 -1
- package/lib/commonjs/ui/RatingStar.js +0 -1
- package/lib/commonjs/ui/SecondaryQuestion.js +0 -1
- package/lib/commonjs/ui/TextArea.js +0 -1
- package/lib/commonjs/ui/index.js +0 -1
- package/lib/commonjs/utils/MyFunction.js +0 -1
- package/lib/commonjs/utils/NetworkHelper.js +0 -1
- package/lib/commonjs/utils/StatusBarHeight.js +0 -1
- package/lib/commonjs/utils/const.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIAContentUsefulness.d.ts","sourceRoot":"","sources":["../../src/AIAContentUsefulness.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAC7D,OAAO,EAA4C,KAAK,SAAS,EAAE,KAAK,SAAS,EAAC,MAAM,cAAc,CAAA;AAGtG,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAA;AAQlD,MAAM,WAAW,yBAAyB;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,WAAW,CAAA;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAA;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;CAChC;AAID,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAoO7D,CAAA;AA4CD,eAAe,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type InitOptions } from '@/utils/constants';
|
|
2
|
+
export interface AIAFeedbackProps extends InitOptions {
|
|
3
|
+
onClose?: () => void;
|
|
4
|
+
onSubmit?: (res: any) => void;
|
|
5
|
+
}
|
|
6
|
+
export interface AIAFeedbackRef {
|
|
7
|
+
show: (slug?: string, internalOptions?: {
|
|
8
|
+
forceModal?: boolean;
|
|
9
|
+
initialData?: any;
|
|
10
|
+
}) => void;
|
|
11
|
+
hide: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare const AIAFeedback: import("react").ForwardRefExoticComponent<Omit<AIAFeedbackProps, "ref"> & import("react").RefAttributes<AIAFeedbackRef>>;
|
|
14
|
+
export default AIAFeedback;
|
|
15
|
+
//# sourceMappingURL=AIAFeedback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIAFeedback.d.ts","sourceRoot":"","sources":["../../src/AIAFeedback.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAC,KAAK,WAAW,EAAW,MAAM,mBAAmB,CAAA;AAG5D,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACpD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAA;CAC7B;AAED,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE;QAAC,UAAU,CAAC,EAAE,OAAO,CAAC;QAAC,WAAW,CAAC,EAAE,GAAG,CAAA;KAAC,KAAK,IAAI,CAAA;IAC1F,IAAI,EAAE,MAAM,IAAI,CAAA;CAChB;AAED,QAAA,MAAM,WAAW,0HAqUf,CAAA;AAEF,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
formData: any;
|
|
4
|
+
rating: number;
|
|
5
|
+
freeText: string;
|
|
6
|
+
selectedOptions: string[];
|
|
7
|
+
step: 'PROMPT' | 'FORM';
|
|
8
|
+
isNPSFlow: boolean;
|
|
9
|
+
showSecondary: boolean;
|
|
10
|
+
isSubmitting: boolean;
|
|
11
|
+
submissionError: string | null;
|
|
12
|
+
autoHeight?: boolean;
|
|
13
|
+
onRate: (value: number) => void;
|
|
14
|
+
onChangeFreeText: (value: string) => void;
|
|
15
|
+
onChangeSelectedOptions: (value: string[]) => void;
|
|
16
|
+
onSubmit: () => void;
|
|
17
|
+
getThemeColor: (key: string, fallback: string) => string;
|
|
18
|
+
onPromptSelect: (value: 'yes' | 'no') => void;
|
|
19
|
+
}
|
|
20
|
+
declare const AIAFeedbackForm: React.FC<Props>;
|
|
21
|
+
export default AIAFeedbackForm;
|
|
22
|
+
//# sourceMappingURL=AIAFeedbackForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIAFeedbackForm.d.ts","sourceRoot":"","sources":["../../src/AIAFeedbackForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAazB,UAAU,KAAK;IACd,QAAQ,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,YAAY,EAAE,OAAO,CAAA;IACrB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,uBAAuB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAClD,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAA;CAC7C;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwOpC,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
formData: any;
|
|
4
|
+
getThemeColor: (key: string, fallback: string) => string;
|
|
5
|
+
onSkip: () => void;
|
|
6
|
+
onProceed: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const AIAFeedbackSplash: React.FC<Props>;
|
|
9
|
+
export default AIAFeedbackSplash;
|
|
10
|
+
//# sourceMappingURL=AIAFeedbackSplash.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIAFeedbackSplash.d.ts","sourceRoot":"","sources":["../../src/AIAFeedbackSplash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,UAAU,KAAK;IACd,QAAQ,EAAE,GAAG,CAAA;IACb,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiCtC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
export declare const feedbackStyles: Readonly<{
|
|
2
|
+
overlay: {
|
|
3
|
+
flex: number;
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
justifyContent: "flex-end";
|
|
6
|
+
};
|
|
7
|
+
nonBlockingOverlay: {
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
};
|
|
10
|
+
splashOverlay: {
|
|
11
|
+
justifyContent: "center";
|
|
12
|
+
alignItems: "center";
|
|
13
|
+
paddingHorizontal: number;
|
|
14
|
+
};
|
|
15
|
+
intrusiveOverlay: {
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
justifyContent: "flex-start";
|
|
18
|
+
};
|
|
19
|
+
dismissArea: {
|
|
20
|
+
flex: number;
|
|
21
|
+
};
|
|
22
|
+
modalContent: {
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
borderTopLeftRadius: number;
|
|
25
|
+
borderTopRightRadius: number;
|
|
26
|
+
width: string;
|
|
27
|
+
maxHeight: string;
|
|
28
|
+
minHeight: number;
|
|
29
|
+
overflow: "hidden";
|
|
30
|
+
};
|
|
31
|
+
splashContent: {
|
|
32
|
+
borderTopLeftRadius: number;
|
|
33
|
+
borderTopRightRadius: number;
|
|
34
|
+
borderBottomLeftRadius: number;
|
|
35
|
+
borderBottomRightRadius: number;
|
|
36
|
+
shadowColor: string;
|
|
37
|
+
shadowOffset: {
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
};
|
|
41
|
+
shadowOpacity: number;
|
|
42
|
+
shadowRadius: number;
|
|
43
|
+
elevation?: undefined;
|
|
44
|
+
} | {
|
|
45
|
+
borderTopLeftRadius: number;
|
|
46
|
+
borderTopRightRadius: number;
|
|
47
|
+
borderBottomLeftRadius: number;
|
|
48
|
+
borderBottomRightRadius: number;
|
|
49
|
+
elevation: number;
|
|
50
|
+
shadowColor?: undefined;
|
|
51
|
+
shadowOffset?: undefined;
|
|
52
|
+
shadowOpacity?: undefined;
|
|
53
|
+
shadowRadius?: undefined;
|
|
54
|
+
};
|
|
55
|
+
splashTabletContent: {
|
|
56
|
+
width: string;
|
|
57
|
+
maxWidth: number;
|
|
58
|
+
borderRadius: number;
|
|
59
|
+
maxHeight: string;
|
|
60
|
+
minHeight: number;
|
|
61
|
+
};
|
|
62
|
+
splashInner: {
|
|
63
|
+
paddingTop: number;
|
|
64
|
+
};
|
|
65
|
+
intrusiveContent: {
|
|
66
|
+
flex: number;
|
|
67
|
+
maxHeight: string;
|
|
68
|
+
minHeight: string;
|
|
69
|
+
borderTopLeftRadius: number;
|
|
70
|
+
borderTopRightRadius: number;
|
|
71
|
+
};
|
|
72
|
+
safeArea: {
|
|
73
|
+
flexShrink: number;
|
|
74
|
+
flexGrow: number;
|
|
75
|
+
flexDirection: "column";
|
|
76
|
+
};
|
|
77
|
+
flex1: {
|
|
78
|
+
flex: number;
|
|
79
|
+
};
|
|
80
|
+
header: {
|
|
81
|
+
alignItems: "center";
|
|
82
|
+
justifyContent: "flex-start";
|
|
83
|
+
position: "relative";
|
|
84
|
+
};
|
|
85
|
+
headerRow: {
|
|
86
|
+
height: number;
|
|
87
|
+
width: string;
|
|
88
|
+
alignItems: "center";
|
|
89
|
+
justifyContent: "center";
|
|
90
|
+
position: "relative";
|
|
91
|
+
};
|
|
92
|
+
handle: {
|
|
93
|
+
width: number;
|
|
94
|
+
height: number;
|
|
95
|
+
backgroundColor: string;
|
|
96
|
+
borderRadius: number;
|
|
97
|
+
};
|
|
98
|
+
closeBtn: {
|
|
99
|
+
position: "absolute";
|
|
100
|
+
right: number;
|
|
101
|
+
padding: number;
|
|
102
|
+
zIndex: number;
|
|
103
|
+
};
|
|
104
|
+
intrusiveCloseBtn: {
|
|
105
|
+
top: number;
|
|
106
|
+
};
|
|
107
|
+
closeText: {
|
|
108
|
+
fontSize: number;
|
|
109
|
+
color: string;
|
|
110
|
+
};
|
|
111
|
+
scrollContent: {
|
|
112
|
+
flexGrow: number;
|
|
113
|
+
paddingHorizontal: number;
|
|
114
|
+
paddingBottom: number;
|
|
115
|
+
};
|
|
116
|
+
scrollContentInner: {
|
|
117
|
+
flex: number;
|
|
118
|
+
minHeight: number;
|
|
119
|
+
};
|
|
120
|
+
center: {
|
|
121
|
+
height: number;
|
|
122
|
+
justifyContent: "center";
|
|
123
|
+
alignItems: "center";
|
|
124
|
+
};
|
|
125
|
+
mtAuto: {
|
|
126
|
+
marginTop: string;
|
|
127
|
+
};
|
|
128
|
+
w100: {
|
|
129
|
+
width: string;
|
|
130
|
+
};
|
|
131
|
+
section: {
|
|
132
|
+
marginBottom: number;
|
|
133
|
+
gap: number;
|
|
134
|
+
alignSelf: "stretch";
|
|
135
|
+
width: string;
|
|
136
|
+
};
|
|
137
|
+
secondarySection: {
|
|
138
|
+
flexGrow: number;
|
|
139
|
+
alignItems: "center";
|
|
140
|
+
gap: number;
|
|
141
|
+
};
|
|
142
|
+
satisfactionRating: {
|
|
143
|
+
alignItems: "center";
|
|
144
|
+
marginBottom: number;
|
|
145
|
+
};
|
|
146
|
+
title: {
|
|
147
|
+
fontSize: number;
|
|
148
|
+
fontWeight: "500";
|
|
149
|
+
color: string;
|
|
150
|
+
marginBottom: number;
|
|
151
|
+
};
|
|
152
|
+
externalIcon: {
|
|
153
|
+
width: number;
|
|
154
|
+
height: number;
|
|
155
|
+
marginBottom: number;
|
|
156
|
+
};
|
|
157
|
+
question: {
|
|
158
|
+
fontSize: number;
|
|
159
|
+
color: string;
|
|
160
|
+
marginBottom: number;
|
|
161
|
+
fontWeight: "600";
|
|
162
|
+
};
|
|
163
|
+
successContainer: {
|
|
164
|
+
padding: number;
|
|
165
|
+
alignItems: "center";
|
|
166
|
+
};
|
|
167
|
+
successTitle: {
|
|
168
|
+
fontSize: number;
|
|
169
|
+
fontWeight: "700";
|
|
170
|
+
color: string;
|
|
171
|
+
marginBottom: number;
|
|
172
|
+
textAlign: "center";
|
|
173
|
+
};
|
|
174
|
+
successDesc: {
|
|
175
|
+
fontSize: number;
|
|
176
|
+
color: string;
|
|
177
|
+
marginBottom: number;
|
|
178
|
+
textAlign: "center";
|
|
179
|
+
lineHeight: number;
|
|
180
|
+
};
|
|
181
|
+
mt16: {
|
|
182
|
+
marginTop: number;
|
|
183
|
+
};
|
|
184
|
+
mt24: {
|
|
185
|
+
marginTop: number;
|
|
186
|
+
};
|
|
187
|
+
splashContainer: {
|
|
188
|
+
padding: number;
|
|
189
|
+
alignItems: "center";
|
|
190
|
+
};
|
|
191
|
+
splashTitle: {
|
|
192
|
+
fontSize: number;
|
|
193
|
+
fontWeight: "700";
|
|
194
|
+
textAlign: "center";
|
|
195
|
+
marginBottom: number;
|
|
196
|
+
};
|
|
197
|
+
splashQuestion: {
|
|
198
|
+
fontSize: number;
|
|
199
|
+
textAlign: "center";
|
|
200
|
+
marginBottom: number;
|
|
201
|
+
lineHeight: number;
|
|
202
|
+
};
|
|
203
|
+
skipBtn: {
|
|
204
|
+
marginTop: number;
|
|
205
|
+
padding: number;
|
|
206
|
+
};
|
|
207
|
+
skipBtnText: {
|
|
208
|
+
fontSize: number;
|
|
209
|
+
textDecorationLine: "underline";
|
|
210
|
+
fontWeight: "700";
|
|
211
|
+
};
|
|
212
|
+
successIcon: {
|
|
213
|
+
width: number;
|
|
214
|
+
height: number;
|
|
215
|
+
marginBottom: number;
|
|
216
|
+
};
|
|
217
|
+
fineprint: {
|
|
218
|
+
fontSize: number;
|
|
219
|
+
marginTop: number;
|
|
220
|
+
textAlign: "center";
|
|
221
|
+
opacity: number;
|
|
222
|
+
};
|
|
223
|
+
centeredScrollContent: {
|
|
224
|
+
flexGrow: number;
|
|
225
|
+
justifyContent: "center";
|
|
226
|
+
};
|
|
227
|
+
formRoot: {
|
|
228
|
+
flex: number;
|
|
229
|
+
justifyContent: "space-between";
|
|
230
|
+
};
|
|
231
|
+
formContent: {
|
|
232
|
+
flexGrow: number;
|
|
233
|
+
};
|
|
234
|
+
submitSection: {
|
|
235
|
+
width: string;
|
|
236
|
+
marginTop: string;
|
|
237
|
+
};
|
|
238
|
+
successRoot: {
|
|
239
|
+
flex: number;
|
|
240
|
+
justifyContent: "space-between";
|
|
241
|
+
};
|
|
242
|
+
successContentCenter: {
|
|
243
|
+
flex: number;
|
|
244
|
+
justifyContent: "center";
|
|
245
|
+
};
|
|
246
|
+
tabletOverlay: {
|
|
247
|
+
justifyContent: "center";
|
|
248
|
+
alignItems: "center";
|
|
249
|
+
};
|
|
250
|
+
tabletIntrusive: {
|
|
251
|
+
shadowColor: string;
|
|
252
|
+
shadowOffset: {
|
|
253
|
+
width: number;
|
|
254
|
+
height: number;
|
|
255
|
+
};
|
|
256
|
+
shadowOpacity: number;
|
|
257
|
+
shadowRadius: number;
|
|
258
|
+
elevation?: undefined;
|
|
259
|
+
width: string;
|
|
260
|
+
maxWidth: number;
|
|
261
|
+
height: string;
|
|
262
|
+
maxHeight: string;
|
|
263
|
+
borderRadius: number;
|
|
264
|
+
overflow: "hidden";
|
|
265
|
+
} | {
|
|
266
|
+
elevation: number;
|
|
267
|
+
shadowColor?: undefined;
|
|
268
|
+
shadowOffset?: undefined;
|
|
269
|
+
shadowOpacity?: undefined;
|
|
270
|
+
shadowRadius?: undefined;
|
|
271
|
+
width: string;
|
|
272
|
+
maxWidth: number;
|
|
273
|
+
height: string;
|
|
274
|
+
maxHeight: string;
|
|
275
|
+
borderRadius: number;
|
|
276
|
+
overflow: "hidden";
|
|
277
|
+
};
|
|
278
|
+
tabletNonIntrusive: {
|
|
279
|
+
shadowColor: string;
|
|
280
|
+
shadowOffset: {
|
|
281
|
+
width: number;
|
|
282
|
+
height: number;
|
|
283
|
+
};
|
|
284
|
+
shadowOpacity: number;
|
|
285
|
+
shadowRadius: number;
|
|
286
|
+
elevation?: undefined;
|
|
287
|
+
position: "absolute";
|
|
288
|
+
bottom: number;
|
|
289
|
+
right: number;
|
|
290
|
+
width: number;
|
|
291
|
+
maxHeight: string;
|
|
292
|
+
borderRadius: number;
|
|
293
|
+
overflow: "hidden";
|
|
294
|
+
} | {
|
|
295
|
+
elevation: number;
|
|
296
|
+
shadowColor?: undefined;
|
|
297
|
+
shadowOffset?: undefined;
|
|
298
|
+
shadowOpacity?: undefined;
|
|
299
|
+
shadowRadius?: undefined;
|
|
300
|
+
position: "absolute";
|
|
301
|
+
bottom: number;
|
|
302
|
+
right: number;
|
|
303
|
+
width: number;
|
|
304
|
+
maxHeight: string;
|
|
305
|
+
borderRadius: number;
|
|
306
|
+
overflow: "hidden";
|
|
307
|
+
};
|
|
308
|
+
errorWrap: {
|
|
309
|
+
flexDirection: "row";
|
|
310
|
+
alignItems: "center";
|
|
311
|
+
gap: number;
|
|
312
|
+
};
|
|
313
|
+
error: {
|
|
314
|
+
fontSize: number;
|
|
315
|
+
lineHeight: number;
|
|
316
|
+
flex: number;
|
|
317
|
+
fontWeight: "400";
|
|
318
|
+
};
|
|
319
|
+
mb12: {
|
|
320
|
+
marginBottom: number;
|
|
321
|
+
};
|
|
322
|
+
divider: {
|
|
323
|
+
width: string;
|
|
324
|
+
height: number;
|
|
325
|
+
backgroundColor: string;
|
|
326
|
+
marginTop: number;
|
|
327
|
+
};
|
|
328
|
+
centeredContent: {
|
|
329
|
+
justifyContent: "center";
|
|
330
|
+
alignItems: "center";
|
|
331
|
+
};
|
|
332
|
+
autoHeightReset: {
|
|
333
|
+
flexGrow: number;
|
|
334
|
+
};
|
|
335
|
+
autoHeightFlexReset: {
|
|
336
|
+
flex: number;
|
|
337
|
+
};
|
|
338
|
+
autoHeightMargin: {
|
|
339
|
+
marginTop: number;
|
|
340
|
+
};
|
|
341
|
+
}>;
|
|
342
|
+
//# sourceMappingURL=AIAFeedbackStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIAFeedbackStyles.d.ts","sourceRoot":"","sources":["../../src/AIAFeedbackStyles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmTzB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
submitRes: any;
|
|
4
|
+
shouldCenter: boolean;
|
|
5
|
+
getThemeColor: (key: string, fallback: string) => string;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
autoHeight?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const AIAFeedbackSuccess: React.FC<Props>;
|
|
10
|
+
export default AIAFeedbackSuccess;
|
|
11
|
+
//# sourceMappingURL=AIAFeedbackSuccess.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIAFeedbackSuccess.d.ts","sourceRoot":"","sources":["../../src/AIAFeedbackSuccess.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,UAAU,KAAK;IACd,SAAS,EAAE,GAAG,CAAA;IACd,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkDvC,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface CheckIconProps {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const CheckIcon: import("react").MemoExoticComponent<({ size, color }: CheckIconProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export default CheckIcon;
|
|
7
|
+
//# sourceMappingURL=CheckIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/CheckIcon.tsx"],"names":[],"mappings":"AAMA,UAAU,cAAc;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,SAAS,wDAAyC,cAAc,6CAIpE,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface CloseIconProps {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const CloseIcon: import("react").MemoExoticComponent<({ size, color }: CloseIconProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export default CloseIcon;
|
|
7
|
+
//# sourceMappingURL=CloseIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/CloseIcon.tsx"],"names":[],"mappings":"AAMA,UAAU,cAAc;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,SAAS,wDAAyC,cAAc,6CAIpE,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface ErrorIconProps {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const ErrorIcon: import("react").MemoExoticComponent<({ size, color }: ErrorIconProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export default ErrorIcon;
|
|
7
|
+
//# sourceMappingURL=ErrorIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/ErrorIcon.tsx"],"names":[],"mappings":"AAMA,UAAU,cAAc;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,SAAS,wDAAyC,cAAc,6CAIpE,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface PlusIconProps {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const PlusIcon: import("react").MemoExoticComponent<({ size, color }: PlusIconProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export default PlusIcon;
|
|
7
|
+
//# sourceMappingURL=PlusIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlusIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/PlusIcon.tsx"],"names":[],"mappings":"AAMA,UAAU,aAAa;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,QAAQ,wDAAyC,aAAa,6CAIlE,CAAA;AAEF,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface StarIconProps {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const StarIcon: import("react").MemoExoticComponent<({ size, color }: StarIconProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export default StarIcon;
|
|
7
|
+
//# sourceMappingURL=StarIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StarIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/StarIcon.tsx"],"names":[],"mappings":"AAMA,UAAU,aAAa;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,QAAQ,wDAAyC,aAAa,6CAIlE,CAAA;AAEF,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type ViewStyle, type TextStyle } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Basic pressable button (thin wrapper around React Native `Pressable` + `Text`).
|
|
4
|
+
*/
|
|
5
|
+
export interface ButtonProps {
|
|
6
|
+
/**
|
|
7
|
+
* Text shown on the button.
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* Called when the button is pressed.
|
|
12
|
+
*/
|
|
13
|
+
onPress: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* When true, disables the button and lowers opacity.
|
|
16
|
+
*
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Optional style override for the button container.
|
|
22
|
+
*/
|
|
23
|
+
style?: ViewStyle;
|
|
24
|
+
/**
|
|
25
|
+
* Optional style override for the label text.
|
|
26
|
+
*/
|
|
27
|
+
textStyle?: TextStyle;
|
|
28
|
+
}
|
|
29
|
+
export declare function Button({ title, onPress, disabled, style, textStyle }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/component/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAC,MAAM,cAAc,CAAA;AAExF;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,EAAC,KAAK,EAAE,OAAO,EAAE,QAAgB,EAAE,KAAK,EAAE,SAAS,EAAC,EAAE,WAAW,2CAevF"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
/**
|
|
4
|
+
* Visual style variant for `ButtonSubmit`.
|
|
5
|
+
*
|
|
6
|
+
* - `'primary'` – solid primary background with white text.
|
|
7
|
+
* - `'secondary'` – light background with colored border and text.
|
|
8
|
+
*/
|
|
9
|
+
export type ButtonSubmitVariant = 'primary' | 'secondary';
|
|
10
|
+
/**
|
|
11
|
+
* Props for the form submit button.
|
|
12
|
+
*
|
|
13
|
+
* This is a higher-level button component that supports loading state,
|
|
14
|
+
* primary/secondary variants, full-width layout and basic theming.
|
|
15
|
+
*/
|
|
16
|
+
export interface ButtonSubmitProps {
|
|
17
|
+
/**
|
|
18
|
+
* Called when the button is pressed.
|
|
19
|
+
*/
|
|
20
|
+
onPress: () => void;
|
|
21
|
+
/**
|
|
22
|
+
* Button label.
|
|
23
|
+
*/
|
|
24
|
+
title: string;
|
|
25
|
+
/**
|
|
26
|
+
* Optional icon or character shown to the left of the title.
|
|
27
|
+
* Accepts a string (e.g. `"+"`, `"✓"`) or a ReactNode (e.g. SVG icon component).
|
|
28
|
+
*/
|
|
29
|
+
leftIcon?: string | ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Visual variant of the button.
|
|
32
|
+
*
|
|
33
|
+
* @default 'primary'
|
|
34
|
+
*/
|
|
35
|
+
variant?: ButtonSubmitVariant;
|
|
36
|
+
/**
|
|
37
|
+
* When true, the button stretches to full container width.
|
|
38
|
+
*
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
fullWidth?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* When true, disables the button.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* When true, shows an `ActivityIndicator` and prevents presses.
|
|
50
|
+
*
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
loading?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Screen width, used internally to compute top margin.
|
|
56
|
+
*/
|
|
57
|
+
appWidth: number;
|
|
58
|
+
/**
|
|
59
|
+
* On tablets, constrain width to 200 instead of full width.
|
|
60
|
+
*/
|
|
61
|
+
isTabletInstrusive?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Custom font family for the label (and left icon text).
|
|
64
|
+
*/
|
|
65
|
+
fontFamily?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Font size for the label.
|
|
68
|
+
*
|
|
69
|
+
* @default 16
|
|
70
|
+
*/
|
|
71
|
+
fontSize?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Text color override for normal (non-disabled, non-pressed) state.
|
|
74
|
+
*/
|
|
75
|
+
textColor?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Background color override for normal (non-disabled, non-pressed) state.
|
|
78
|
+
*/
|
|
79
|
+
backgroundColor?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Background color when pressed.
|
|
82
|
+
*/
|
|
83
|
+
pressedColor?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Background color when disabled.
|
|
86
|
+
*/
|
|
87
|
+
disabledBackgroundColor?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Text color when disabled.
|
|
90
|
+
*/
|
|
91
|
+
disabledTextColor?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Border color for secondary variant.
|
|
94
|
+
*/
|
|
95
|
+
borderColor?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Style for the outer container wrapping the `Pressable`.
|
|
98
|
+
*/
|
|
99
|
+
containerStyle?: ViewStyle;
|
|
100
|
+
/**
|
|
101
|
+
* Style for the `Pressable` itself.
|
|
102
|
+
*/
|
|
103
|
+
style?: ViewStyle;
|
|
104
|
+
/**
|
|
105
|
+
* Style for the text label.
|
|
106
|
+
*/
|
|
107
|
+
textStyle?: TextStyle;
|
|
108
|
+
/**
|
|
109
|
+
* Maximum number of lines for the label.
|
|
110
|
+
*/
|
|
111
|
+
numberOfLines?: number;
|
|
112
|
+
}
|
|
113
|
+
declare function ButtonSubmit({ onPress, title, leftIcon, variant, fullWidth, disabled, loading, appWidth, isTabletInstrusive, fontFamily, fontSize, textColor: textColorProp, backgroundColor: backgroundColorProp, pressedColor: pressedColorProp, disabledBackgroundColor: disabledBgProp, disabledTextColor: disabledTextProp, borderColor: borderColorProp, containerStyle, style, textStyle, numberOfLines, }: ButtonSubmitProps): import("react/jsx-runtime").JSX.Element;
|
|
114
|
+
export default ButtonSubmit;
|
|
115
|
+
//# sourceMappingURL=ButtonSubmit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonSubmit.d.ts","sourceRoot":"","sources":["../../../src/component/ButtonSubmit.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAEpC,OAAO,EAAuD,KAAK,SAAS,EAAE,KAAK,SAAS,EAAC,MAAM,cAAc,CAAA;AAajH;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,WAAW,CAAA;AAEzD;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IACjC;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,iBAAS,YAAY,CAAC,EACrB,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAmB,EACnB,SAAgB,EAChB,QAAgB,EAChB,OAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,UAAU,EACV,QAAa,EACb,SAAS,EAAE,aAAa,EACxB,eAAe,EAAE,mBAAmB,EACpC,YAAY,EAAE,gBAAgB,EAC9B,uBAAuB,EAAE,cAAc,EACvC,iBAAiB,EAAE,gBAAgB,EACnC,WAAW,EAAE,eAAe,EAC5B,cAAc,EACd,KAAK,EACL,SAAS,EACT,aAAiB,GACjB,EAAE,iBAAiB,2CAwJnB;AAED,eAAe,YAAY,CAAA"}
|