@the-seeker/feedback-react-native 0.0.0-stage → 0.2.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.
Files changed (80) hide show
  1. package/README.md +266 -2
  2. package/dist/core/author-token.d.ts +16 -0
  3. package/dist/core/author-token.js +96 -0
  4. package/dist/core/client.d.ts +55 -0
  5. package/dist/core/client.js +98 -0
  6. package/dist/core/config.d.ts +59 -0
  7. package/dist/core/config.js +112 -0
  8. package/dist/core/posts-schema.d.ts +306 -0
  9. package/dist/core/posts-schema.js +131 -0
  10. package/dist/core/posts.d.ts +67 -0
  11. package/dist/core/posts.js +113 -0
  12. package/dist/core/request.d.ts +53 -0
  13. package/dist/core/request.js +88 -0
  14. package/dist/core/survey.d.ts +12 -0
  15. package/dist/core/survey.js +26 -0
  16. package/dist/core/texts.d.ts +196 -0
  17. package/dist/core/texts.js +232 -0
  18. package/dist/core/theme.d.ts +6 -0
  19. package/dist/core/theme.js +55 -0
  20. package/dist/core/transport.d.ts +9 -0
  21. package/dist/core/transport.js +37 -0
  22. package/dist/index.d.ts +16 -0
  23. package/dist/index.js +34 -0
  24. package/dist/ui/Attachments.d.ts +9 -0
  25. package/dist/ui/Attachments.js +27 -0
  26. package/dist/ui/FeedbackForm.d.ts +8 -0
  27. package/dist/ui/FeedbackForm.js +92 -0
  28. package/dist/ui/FeedbackPostScreen.d.ts +8 -0
  29. package/dist/ui/FeedbackPostScreen.js +74 -0
  30. package/dist/ui/FeedbackSheet.d.ts +2 -0
  31. package/dist/ui/FeedbackSheet.js +14 -0
  32. package/dist/ui/FollowUpSheet.d.ts +17 -0
  33. package/dist/ui/FollowUpSheet.js +50 -0
  34. package/dist/ui/Inline.d.ts +6 -0
  35. package/dist/ui/Inline.js +16 -0
  36. package/dist/ui/Launcher.d.ts +1 -0
  37. package/dist/ui/Launcher.js +16 -0
  38. package/dist/ui/MyFeedbackModal.d.ts +10 -0
  39. package/dist/ui/MyFeedbackModal.js +45 -0
  40. package/dist/ui/MyFeedbackScreen.d.ts +9 -0
  41. package/dist/ui/MyFeedbackScreen.js +88 -0
  42. package/dist/ui/PostThread.d.ts +17 -0
  43. package/dist/ui/PostThread.js +57 -0
  44. package/dist/ui/Provider.d.ts +24 -0
  45. package/dist/ui/Provider.js +186 -0
  46. package/dist/ui/SurveyPrompt.d.ts +2 -0
  47. package/dist/ui/SurveyPrompt.js +52 -0
  48. package/dist/ui/context.d.ts +122 -0
  49. package/dist/ui/context.js +28 -0
  50. package/dist/ui/device.d.ts +10 -0
  51. package/dist/ui/device.js +22 -0
  52. package/dist/ui/forms.d.ts +32 -0
  53. package/dist/ui/forms.js +62 -0
  54. package/dist/ui/motion.d.ts +1 -0
  55. package/dist/ui/motion.js +23 -0
  56. package/dist/ui/post-format.d.ts +19 -0
  57. package/dist/ui/post-format.js +79 -0
  58. package/dist/ui/post-pieces.d.ts +24 -0
  59. package/dist/ui/post-pieces.js +60 -0
  60. package/dist/ui/post-styles.d.ts +317 -0
  61. package/dist/ui/post-styles.js +103 -0
  62. package/dist/ui/post-view-model.d.ts +52 -0
  63. package/dist/ui/post-view-model.js +181 -0
  64. package/dist/ui/primitives.d.ts +33 -0
  65. package/dist/ui/primitives.js +55 -0
  66. package/dist/ui/prop-state.d.ts +9 -0
  67. package/dist/ui/prop-state.js +27 -0
  68. package/dist/ui/storage.d.ts +15 -0
  69. package/dist/ui/storage.js +35 -0
  70. package/dist/ui/styles.d.ts +774 -0
  71. package/dist/ui/styles.js +185 -0
  72. package/dist/ui/surfaces.d.ts +13 -0
  73. package/dist/ui/surfaces.js +41 -0
  74. package/dist/ui/tokens.d.ts +16 -0
  75. package/dist/ui/tokens.js +62 -0
  76. package/dist/ui/useMyPosts.d.ts +35 -0
  77. package/dist/ui/useMyPosts.js +124 -0
  78. package/dist/ui/useSurvey.d.ts +12 -0
  79. package/dist/ui/useSurvey.js +52 -0
  80. package/package.json +32 -3
@@ -0,0 +1,774 @@
1
+ import type { WidgetConfig } from "../core/config";
2
+ import type { Tokens } from "./tokens";
3
+ export declare const SPACE: {
4
+ readonly hair: 4;
5
+ readonly tight: 6;
6
+ readonly gap: 8;
7
+ readonly block: 12;
8
+ readonly group: 16;
9
+ readonly panel: 20;
10
+ };
11
+ export declare const TOUCH = 44;
12
+ export declare const HOME_INDICATOR: number;
13
+ export declare const TYPE: {
14
+ readonly screen: {
15
+ readonly fontSize: 26;
16
+ readonly lineHeight: 32;
17
+ readonly fontWeight: "700";
18
+ readonly letterSpacing: -0.4;
19
+ };
20
+ readonly headline: {
21
+ readonly fontSize: 20;
22
+ readonly lineHeight: 26;
23
+ readonly fontWeight: "600";
24
+ readonly letterSpacing: -0.3;
25
+ };
26
+ readonly title: {
27
+ readonly fontSize: 17;
28
+ readonly lineHeight: 22;
29
+ readonly fontWeight: "600";
30
+ readonly letterSpacing: -0.2;
31
+ };
32
+ readonly item: {
33
+ readonly fontSize: 16;
34
+ readonly lineHeight: 22;
35
+ readonly fontWeight: "600";
36
+ };
37
+ readonly body: {
38
+ readonly fontSize: 15;
39
+ readonly lineHeight: 22;
40
+ };
41
+ readonly label: {
42
+ readonly fontSize: 14;
43
+ readonly lineHeight: 20;
44
+ readonly fontWeight: "500";
45
+ };
46
+ readonly input: {
47
+ readonly fontSize: 16;
48
+ readonly lineHeight: 22;
49
+ };
50
+ readonly action: {
51
+ readonly fontSize: 15;
52
+ readonly lineHeight: 20;
53
+ readonly fontWeight: "600";
54
+ };
55
+ readonly meta: {
56
+ readonly fontSize: 13;
57
+ readonly lineHeight: 18;
58
+ };
59
+ };
60
+ export declare function createStyles(t: Tokens): {
61
+ launcher: {
62
+ backfaceVisibility?: "visible" | "hidden" | undefined;
63
+ backgroundColor: import("react-native").ColorValue | undefined;
64
+ borderBlockColor?: import("react-native").ColorValue | undefined;
65
+ borderBlockEndColor?: import("react-native").ColorValue | undefined;
66
+ borderBlockStartColor?: import("react-native").ColorValue | undefined;
67
+ borderBottomColor?: import("react-native").ColorValue | undefined;
68
+ borderBottomEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
69
+ borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | string | undefined;
70
+ borderBottomRightRadius?: import("react-native").AnimatableNumericValue | string | undefined;
71
+ borderBottomStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
72
+ borderColor?: import("react-native").ColorValue | undefined;
73
+ borderCurve?: "circular" | "continuous" | undefined;
74
+ borderEndColor?: import("react-native").ColorValue | undefined;
75
+ borderEndEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
76
+ borderEndStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
77
+ borderLeftColor?: import("react-native").ColorValue | undefined;
78
+ borderRadius: import("react-native").AnimatableNumericValue | string | undefined;
79
+ borderRightColor?: import("react-native").ColorValue | undefined;
80
+ borderStartColor?: import("react-native").ColorValue | undefined;
81
+ borderStartEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
82
+ borderStartStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
83
+ borderStyle?: "solid" | "dotted" | "dashed" | undefined;
84
+ borderTopColor?: import("react-native").ColorValue | undefined;
85
+ borderTopEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
86
+ borderTopLeftRadius?: import("react-native").AnimatableNumericValue | string | undefined;
87
+ borderTopRightRadius?: import("react-native").AnimatableNumericValue | string | undefined;
88
+ borderTopStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
89
+ outlineColor?: import("react-native").ColorValue | undefined;
90
+ outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
91
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
92
+ outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
93
+ opacity?: import("react-native").AnimatableNumericValue | undefined;
94
+ elevation?: number | undefined;
95
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
96
+ isolation?: "auto" | "isolate" | undefined;
97
+ cursor?: import("react-native").CursorValue | undefined;
98
+ boxShadow?: ReadonlyArray<import("react-native").BoxShadowValue> | string | undefined;
99
+ filter?: ReadonlyArray<import("react-native").FilterFunction> | string | undefined;
100
+ mixBlendMode?: import("react-native").BlendMode | undefined;
101
+ experimental_backgroundImage?: ReadonlyArray<import("react-native").BackgroundImageValue> | string | undefined;
102
+ experimental_backgroundSize?: ReadonlyArray<import("react-native").BackgroundSizeValue> | string | undefined;
103
+ experimental_backgroundPosition?: ReadonlyArray<import("react-native").BackgroundPositionValue> | string | undefined;
104
+ experimental_backgroundRepeat?: ReadonlyArray<import("react-native").BackgroundRepeatValue> | string | undefined;
105
+ alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
106
+ alignItems?: import("react-native").FlexAlignType | undefined;
107
+ alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
108
+ aspectRatio?: number | string | undefined;
109
+ borderBottomWidth?: number | undefined;
110
+ borderEndWidth?: number | undefined;
111
+ borderLeftWidth?: number | undefined;
112
+ borderRightWidth?: number | undefined;
113
+ borderStartWidth?: number | undefined;
114
+ borderTopWidth?: number | undefined;
115
+ borderWidth?: number | undefined;
116
+ bottom: import("react-native").DimensionValue | undefined;
117
+ boxSizing?: "border-box" | "content-box" | undefined;
118
+ display?: "none" | "flex" | "contents" | undefined;
119
+ end?: import("react-native").DimensionValue | undefined;
120
+ flex?: number | undefined;
121
+ flexBasis?: import("react-native").DimensionValue | undefined;
122
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
123
+ rowGap?: number | string | undefined;
124
+ gap?: number | string | undefined;
125
+ columnGap?: number | string | undefined;
126
+ flexGrow?: number | undefined;
127
+ flexShrink?: number | undefined;
128
+ flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
129
+ height?: import("react-native").DimensionValue | undefined;
130
+ justifyContent: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
131
+ left?: import("react-native").DimensionValue | undefined;
132
+ margin?: import("react-native").DimensionValue | undefined;
133
+ marginBottom?: import("react-native").DimensionValue | undefined;
134
+ marginEnd?: import("react-native").DimensionValue | undefined;
135
+ marginHorizontal?: import("react-native").DimensionValue | undefined;
136
+ marginLeft?: import("react-native").DimensionValue | undefined;
137
+ marginRight?: import("react-native").DimensionValue | undefined;
138
+ marginStart?: import("react-native").DimensionValue | undefined;
139
+ marginTop?: import("react-native").DimensionValue | undefined;
140
+ marginVertical?: import("react-native").DimensionValue | undefined;
141
+ maxHeight?: import("react-native").DimensionValue | undefined;
142
+ maxWidth: import("react-native").DimensionValue | undefined;
143
+ minHeight: import("react-native").DimensionValue | undefined;
144
+ minWidth?: import("react-native").DimensionValue | undefined;
145
+ overflow?: "visible" | "hidden" | "scroll" | undefined;
146
+ padding?: import("react-native").DimensionValue | undefined;
147
+ paddingBottom?: import("react-native").DimensionValue | undefined;
148
+ paddingEnd?: import("react-native").DimensionValue | undefined;
149
+ paddingHorizontal: import("react-native").DimensionValue | undefined;
150
+ paddingLeft?: import("react-native").DimensionValue | undefined;
151
+ paddingRight?: import("react-native").DimensionValue | undefined;
152
+ paddingStart?: import("react-native").DimensionValue | undefined;
153
+ paddingTop?: import("react-native").DimensionValue | undefined;
154
+ paddingVertical?: import("react-native").DimensionValue | undefined;
155
+ position: "absolute" | "relative" | "static" | undefined;
156
+ right?: import("react-native").DimensionValue | undefined;
157
+ start?: import("react-native").DimensionValue | undefined;
158
+ top?: import("react-native").DimensionValue | undefined;
159
+ width?: import("react-native").DimensionValue | undefined;
160
+ zIndex?: number | undefined;
161
+ direction?: "inherit" | "ltr" | "rtl" | undefined;
162
+ inset?: import("react-native").DimensionValue | undefined;
163
+ insetBlock?: import("react-native").DimensionValue | undefined;
164
+ insetBlockEnd?: import("react-native").DimensionValue | undefined;
165
+ insetBlockStart?: import("react-native").DimensionValue | undefined;
166
+ insetInline?: import("react-native").DimensionValue | undefined;
167
+ insetInlineEnd?: import("react-native").DimensionValue | undefined;
168
+ insetInlineStart?: import("react-native").DimensionValue | undefined;
169
+ marginBlock?: import("react-native").DimensionValue | undefined;
170
+ marginBlockEnd?: import("react-native").DimensionValue | undefined;
171
+ marginBlockStart?: import("react-native").DimensionValue | undefined;
172
+ marginInline?: import("react-native").DimensionValue | undefined;
173
+ marginInlineEnd?: import("react-native").DimensionValue | undefined;
174
+ marginInlineStart?: import("react-native").DimensionValue | undefined;
175
+ paddingBlock?: import("react-native").DimensionValue | undefined;
176
+ paddingBlockEnd?: import("react-native").DimensionValue | undefined;
177
+ paddingBlockStart?: import("react-native").DimensionValue | undefined;
178
+ paddingInline?: import("react-native").DimensionValue | undefined;
179
+ paddingInlineEnd?: import("react-native").DimensionValue | undefined;
180
+ paddingInlineStart?: import("react-native").DimensionValue | undefined;
181
+ shadowColor?: import("react-native").ColorValue | undefined;
182
+ shadowOffset?: Readonly<{
183
+ width: number;
184
+ height: number;
185
+ }> | undefined;
186
+ shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
187
+ shadowRadius?: number | undefined;
188
+ transform?: Readonly<import("react-native").MaximumOneOf<import("react-native").PerspectiveTransform & import("react-native").RotateTransform & import("react-native").RotateXTransform & import("react-native").RotateYTransform & import("react-native").RotateZTransform & import("react-native").ScaleTransform & import("react-native").ScaleXTransform & import("react-native").ScaleYTransform & import("react-native").TranslateXTransform & import("react-native").TranslateYTransform & import("react-native").SkewXTransform & import("react-native").SkewYTransform & import("react-native").MatrixTransform>[]> | string | undefined;
189
+ transformOrigin?: Array<string | number> | string | undefined;
190
+ transformMatrix?: Array<number> | undefined;
191
+ rotation?: import("react-native").AnimatableNumericValue | undefined;
192
+ scaleX?: import("react-native").AnimatableNumericValue | undefined;
193
+ scaleY?: import("react-native").AnimatableNumericValue | undefined;
194
+ translateX?: import("react-native").AnimatableNumericValue | undefined;
195
+ translateY?: import("react-native").AnimatableNumericValue | undefined;
196
+ };
197
+ launcherRight: {
198
+ right: 20;
199
+ };
200
+ launcherLeft: {
201
+ left: 20;
202
+ };
203
+ launcherPressed: {
204
+ opacity: number;
205
+ transform: {
206
+ scale: number;
207
+ }[];
208
+ };
209
+ launcherLabel: {
210
+ color: string;
211
+ fontSize: 15;
212
+ lineHeight: 20;
213
+ fontWeight: "600";
214
+ };
215
+ launcherRow: {
216
+ flexDirection: "row";
217
+ alignItems: "center";
218
+ gap: 6;
219
+ };
220
+ launcherDot: {
221
+ width: number;
222
+ height: number;
223
+ borderRadius: number;
224
+ backgroundColor: string;
225
+ };
226
+ head: {
227
+ flexDirection: "row";
228
+ alignItems: "center";
229
+ justifyContent: "space-between";
230
+ gap: 8;
231
+ };
232
+ headTitle: {
233
+ flexShrink: number;
234
+ };
235
+ sheetRoot: {
236
+ flex: number;
237
+ justifyContent: "flex-end";
238
+ };
239
+ scrim: {
240
+ position: "absolute";
241
+ top: number;
242
+ right: number;
243
+ bottom: number;
244
+ left: number;
245
+ backgroundColor: string;
246
+ };
247
+ sheet: {
248
+ backfaceVisibility?: "visible" | "hidden" | undefined;
249
+ backgroundColor: import("react-native").ColorValue | undefined;
250
+ borderBlockColor?: import("react-native").ColorValue | undefined;
251
+ borderBlockEndColor?: import("react-native").ColorValue | undefined;
252
+ borderBlockStartColor?: import("react-native").ColorValue | undefined;
253
+ borderBottomColor?: import("react-native").ColorValue | undefined;
254
+ borderBottomEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
255
+ borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | string | undefined;
256
+ borderBottomRightRadius?: import("react-native").AnimatableNumericValue | string | undefined;
257
+ borderBottomStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
258
+ borderColor: import("react-native").ColorValue | undefined;
259
+ borderCurve?: "circular" | "continuous" | undefined;
260
+ borderEndColor?: import("react-native").ColorValue | undefined;
261
+ borderEndEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
262
+ borderEndStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
263
+ borderLeftColor?: import("react-native").ColorValue | undefined;
264
+ borderRadius?: import("react-native").AnimatableNumericValue | string | undefined;
265
+ borderRightColor?: import("react-native").ColorValue | undefined;
266
+ borderStartColor?: import("react-native").ColorValue | undefined;
267
+ borderStartEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
268
+ borderStartStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
269
+ borderStyle?: "solid" | "dotted" | "dashed" | undefined;
270
+ borderTopColor?: import("react-native").ColorValue | undefined;
271
+ borderTopEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
272
+ borderTopLeftRadius: import("react-native").AnimatableNumericValue | string | undefined;
273
+ borderTopRightRadius: import("react-native").AnimatableNumericValue | string | undefined;
274
+ borderTopStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
275
+ outlineColor?: import("react-native").ColorValue | undefined;
276
+ outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
277
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
278
+ outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
279
+ opacity?: import("react-native").AnimatableNumericValue | undefined;
280
+ elevation?: number | undefined;
281
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
282
+ isolation?: "auto" | "isolate" | undefined;
283
+ cursor?: import("react-native").CursorValue | undefined;
284
+ boxShadow?: ReadonlyArray<import("react-native").BoxShadowValue> | string | undefined;
285
+ filter?: ReadonlyArray<import("react-native").FilterFunction> | string | undefined;
286
+ mixBlendMode?: import("react-native").BlendMode | undefined;
287
+ experimental_backgroundImage?: ReadonlyArray<import("react-native").BackgroundImageValue> | string | undefined;
288
+ experimental_backgroundSize?: ReadonlyArray<import("react-native").BackgroundSizeValue> | string | undefined;
289
+ experimental_backgroundPosition?: ReadonlyArray<import("react-native").BackgroundPositionValue> | string | undefined;
290
+ experimental_backgroundRepeat?: ReadonlyArray<import("react-native").BackgroundRepeatValue> | string | undefined;
291
+ alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
292
+ alignItems?: import("react-native").FlexAlignType | undefined;
293
+ alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
294
+ aspectRatio?: number | string | undefined;
295
+ borderBottomWidth?: number | undefined;
296
+ borderEndWidth?: number | undefined;
297
+ borderLeftWidth?: number | undefined;
298
+ borderRightWidth?: number | undefined;
299
+ borderStartWidth?: number | undefined;
300
+ borderTopWidth: number | undefined;
301
+ borderWidth?: number | undefined;
302
+ bottom?: import("react-native").DimensionValue | undefined;
303
+ boxSizing?: "border-box" | "content-box" | undefined;
304
+ display?: "none" | "flex" | "contents" | undefined;
305
+ end?: import("react-native").DimensionValue | undefined;
306
+ flex?: number | undefined;
307
+ flexBasis?: import("react-native").DimensionValue | undefined;
308
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
309
+ rowGap?: number | string | undefined;
310
+ gap?: number | string | undefined;
311
+ columnGap?: number | string | undefined;
312
+ flexGrow?: number | undefined;
313
+ flexShrink?: number | undefined;
314
+ flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
315
+ height?: import("react-native").DimensionValue | undefined;
316
+ justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
317
+ left?: import("react-native").DimensionValue | undefined;
318
+ margin?: import("react-native").DimensionValue | undefined;
319
+ marginBottom?: import("react-native").DimensionValue | undefined;
320
+ marginEnd?: import("react-native").DimensionValue | undefined;
321
+ marginHorizontal?: import("react-native").DimensionValue | undefined;
322
+ marginLeft?: import("react-native").DimensionValue | undefined;
323
+ marginRight?: import("react-native").DimensionValue | undefined;
324
+ marginStart?: import("react-native").DimensionValue | undefined;
325
+ marginTop?: import("react-native").DimensionValue | undefined;
326
+ marginVertical?: import("react-native").DimensionValue | undefined;
327
+ maxHeight: import("react-native").DimensionValue | undefined;
328
+ maxWidth?: import("react-native").DimensionValue | undefined;
329
+ minHeight?: import("react-native").DimensionValue | undefined;
330
+ minWidth?: import("react-native").DimensionValue | undefined;
331
+ overflow?: "visible" | "hidden" | "scroll" | undefined;
332
+ padding?: import("react-native").DimensionValue | undefined;
333
+ paddingBottom?: import("react-native").DimensionValue | undefined;
334
+ paddingEnd?: import("react-native").DimensionValue | undefined;
335
+ paddingHorizontal?: import("react-native").DimensionValue | undefined;
336
+ paddingLeft?: import("react-native").DimensionValue | undefined;
337
+ paddingRight?: import("react-native").DimensionValue | undefined;
338
+ paddingStart?: import("react-native").DimensionValue | undefined;
339
+ paddingTop?: import("react-native").DimensionValue | undefined;
340
+ paddingVertical?: import("react-native").DimensionValue | undefined;
341
+ position?: "absolute" | "relative" | "static" | undefined;
342
+ right?: import("react-native").DimensionValue | undefined;
343
+ start?: import("react-native").DimensionValue | undefined;
344
+ top?: import("react-native").DimensionValue | undefined;
345
+ width?: import("react-native").DimensionValue | undefined;
346
+ zIndex?: number | undefined;
347
+ direction?: "inherit" | "ltr" | "rtl" | undefined;
348
+ inset?: import("react-native").DimensionValue | undefined;
349
+ insetBlock?: import("react-native").DimensionValue | undefined;
350
+ insetBlockEnd?: import("react-native").DimensionValue | undefined;
351
+ insetBlockStart?: import("react-native").DimensionValue | undefined;
352
+ insetInline?: import("react-native").DimensionValue | undefined;
353
+ insetInlineEnd?: import("react-native").DimensionValue | undefined;
354
+ insetInlineStart?: import("react-native").DimensionValue | undefined;
355
+ marginBlock?: import("react-native").DimensionValue | undefined;
356
+ marginBlockEnd?: import("react-native").DimensionValue | undefined;
357
+ marginBlockStart?: import("react-native").DimensionValue | undefined;
358
+ marginInline?: import("react-native").DimensionValue | undefined;
359
+ marginInlineEnd?: import("react-native").DimensionValue | undefined;
360
+ marginInlineStart?: import("react-native").DimensionValue | undefined;
361
+ paddingBlock?: import("react-native").DimensionValue | undefined;
362
+ paddingBlockEnd?: import("react-native").DimensionValue | undefined;
363
+ paddingBlockStart?: import("react-native").DimensionValue | undefined;
364
+ paddingInline?: import("react-native").DimensionValue | undefined;
365
+ paddingInlineEnd?: import("react-native").DimensionValue | undefined;
366
+ paddingInlineStart?: import("react-native").DimensionValue | undefined;
367
+ shadowColor?: import("react-native").ColorValue | undefined;
368
+ shadowOffset?: Readonly<{
369
+ width: number;
370
+ height: number;
371
+ }> | undefined;
372
+ shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
373
+ shadowRadius?: number | undefined;
374
+ transform?: Readonly<import("react-native").MaximumOneOf<import("react-native").PerspectiveTransform & import("react-native").RotateTransform & import("react-native").RotateXTransform & import("react-native").RotateYTransform & import("react-native").RotateZTransform & import("react-native").ScaleTransform & import("react-native").ScaleXTransform & import("react-native").ScaleYTransform & import("react-native").TranslateXTransform & import("react-native").TranslateYTransform & import("react-native").SkewXTransform & import("react-native").SkewYTransform & import("react-native").MatrixTransform>[]> | string | undefined;
375
+ transformOrigin?: Array<string | number> | string | undefined;
376
+ transformMatrix?: Array<number> | undefined;
377
+ rotation?: import("react-native").AnimatableNumericValue | undefined;
378
+ scaleX?: import("react-native").AnimatableNumericValue | undefined;
379
+ scaleY?: import("react-native").AnimatableNumericValue | undefined;
380
+ translateX?: import("react-native").AnimatableNumericValue | undefined;
381
+ translateY?: import("react-native").AnimatableNumericValue | undefined;
382
+ };
383
+ sheetContent: {
384
+ padding: 20;
385
+ paddingBottom: number;
386
+ };
387
+ card: {
388
+ padding: 20;
389
+ borderRadius: number;
390
+ borderWidth: number;
391
+ borderColor: string;
392
+ backgroundColor: string;
393
+ };
394
+ title: {
395
+ color: string;
396
+ fontSize: 17;
397
+ lineHeight: 22;
398
+ fontWeight: "600";
399
+ letterSpacing: -0.2;
400
+ };
401
+ description: {
402
+ marginTop: 4;
403
+ marginBottom: 16;
404
+ color: string;
405
+ fontSize: 15;
406
+ lineHeight: 22;
407
+ };
408
+ field: {
409
+ marginBottom: 16;
410
+ };
411
+ label: {
412
+ marginBottom: 6;
413
+ color: string;
414
+ fontSize: 14;
415
+ lineHeight: 20;
416
+ fontWeight: "500";
417
+ };
418
+ input: {
419
+ minHeight: number;
420
+ paddingHorizontal: 12;
421
+ paddingVertical: number;
422
+ color: string;
423
+ fontSize: 16;
424
+ lineHeight: 22;
425
+ borderRadius: number;
426
+ borderWidth: number;
427
+ borderColor: string;
428
+ backgroundColor: string;
429
+ };
430
+ multiline: {
431
+ minHeight: number;
432
+ textAlignVertical: "top";
433
+ };
434
+ multilineShort: {
435
+ minHeight: number;
436
+ textAlignVertical: "top";
437
+ };
438
+ inputFocused: {
439
+ borderColor: string;
440
+ };
441
+ inputInvalid: {
442
+ borderColor: string;
443
+ };
444
+ fieldFoot: {
445
+ flexDirection: "row";
446
+ gap: 12;
447
+ marginTop: 6;
448
+ };
449
+ error: {
450
+ flex: number;
451
+ color: string;
452
+ fontSize: 13;
453
+ lineHeight: 18;
454
+ };
455
+ meta: {
456
+ color: string;
457
+ fontVariant: "tabular-nums"[];
458
+ fontSize: 13;
459
+ lineHeight: 18;
460
+ };
461
+ end: {
462
+ marginStart: "auto";
463
+ };
464
+ tools: {
465
+ flexDirection: "row";
466
+ alignItems: "center";
467
+ gap: 12;
468
+ };
469
+ hint: {
470
+ marginTop: 6;
471
+ color: string;
472
+ fontSize: 13;
473
+ lineHeight: 18;
474
+ };
475
+ strip: {
476
+ flexDirection: "row";
477
+ flexWrap: "wrap";
478
+ gap: 12;
479
+ marginTop: 12;
480
+ };
481
+ thumb: {
482
+ width: number;
483
+ height: number;
484
+ borderRadius: number;
485
+ borderWidth: number;
486
+ borderColor: string;
487
+ backgroundColor: string;
488
+ };
489
+ removeBadge: {
490
+ position: "absolute";
491
+ top: number;
492
+ end: number;
493
+ width: number;
494
+ height: number;
495
+ alignItems: "center";
496
+ justifyContent: "center";
497
+ borderRadius: number;
498
+ borderWidth: number;
499
+ borderColor: string;
500
+ backgroundColor: string;
501
+ };
502
+ removePressed: {
503
+ backgroundColor: string;
504
+ };
505
+ status: {
506
+ marginBottom: 12;
507
+ color: string;
508
+ fontSize: 13;
509
+ lineHeight: 18;
510
+ };
511
+ statusError: {
512
+ color: string;
513
+ };
514
+ actions: {
515
+ flexDirection: "row";
516
+ justifyContent: "flex-end";
517
+ gap: 8;
518
+ };
519
+ button: {
520
+ minHeight: number;
521
+ minWidth: number;
522
+ alignItems: "center";
523
+ justifyContent: "center";
524
+ paddingHorizontal: number;
525
+ borderRadius: number;
526
+ borderWidth: number;
527
+ borderColor: string;
528
+ };
529
+ primary: {
530
+ backgroundColor: string;
531
+ };
532
+ primaryPressed: {
533
+ opacity: number;
534
+ };
535
+ secondary: {
536
+ borderColor: string;
537
+ backgroundColor: string;
538
+ };
539
+ secondaryPressed: {
540
+ backgroundColor: string;
541
+ };
542
+ ghost: {
543
+ backgroundColor: string;
544
+ };
545
+ ghostPressed: {
546
+ backgroundColor: string;
547
+ };
548
+ disabled: {
549
+ opacity: number;
550
+ };
551
+ buttonLabel: {
552
+ color: string;
553
+ fontSize: 15;
554
+ lineHeight: 20;
555
+ fontWeight: "600";
556
+ };
557
+ primaryLabel: {
558
+ color: string;
559
+ };
560
+ thanks: {
561
+ paddingVertical: 16;
562
+ color: string;
563
+ fontSize: 15;
564
+ lineHeight: 22;
565
+ };
566
+ surveyDock: {
567
+ position: "absolute";
568
+ left: 16;
569
+ right: 16;
570
+ pointerEvents: "box-none";
571
+ };
572
+ dockLow: {
573
+ bottom: number;
574
+ };
575
+ dockRaised: {
576
+ bottom: number;
577
+ };
578
+ dockStart: {
579
+ alignItems: "flex-start";
580
+ };
581
+ dockEnd: {
582
+ alignItems: "flex-end";
583
+ };
584
+ surveyCard: {
585
+ backfaceVisibility?: "visible" | "hidden" | undefined;
586
+ backgroundColor: import("react-native").ColorValue | undefined;
587
+ borderBlockColor?: import("react-native").ColorValue | undefined;
588
+ borderBlockEndColor?: import("react-native").ColorValue | undefined;
589
+ borderBlockStartColor?: import("react-native").ColorValue | undefined;
590
+ borderBottomColor?: import("react-native").ColorValue | undefined;
591
+ borderBottomEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
592
+ borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | string | undefined;
593
+ borderBottomRightRadius?: import("react-native").AnimatableNumericValue | string | undefined;
594
+ borderBottomStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
595
+ borderColor: import("react-native").ColorValue | undefined;
596
+ borderCurve?: "circular" | "continuous" | undefined;
597
+ borderEndColor?: import("react-native").ColorValue | undefined;
598
+ borderEndEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
599
+ borderEndStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
600
+ borderLeftColor?: import("react-native").ColorValue | undefined;
601
+ borderRadius: import("react-native").AnimatableNumericValue | string | undefined;
602
+ borderRightColor?: import("react-native").ColorValue | undefined;
603
+ borderStartColor?: import("react-native").ColorValue | undefined;
604
+ borderStartEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
605
+ borderStartStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
606
+ borderStyle?: "solid" | "dotted" | "dashed" | undefined;
607
+ borderTopColor?: import("react-native").ColorValue | undefined;
608
+ borderTopEndRadius?: import("react-native").AnimatableNumericValue | string | undefined;
609
+ borderTopLeftRadius?: import("react-native").AnimatableNumericValue | string | undefined;
610
+ borderTopRightRadius?: import("react-native").AnimatableNumericValue | string | undefined;
611
+ borderTopStartRadius?: import("react-native").AnimatableNumericValue | string | undefined;
612
+ outlineColor?: import("react-native").ColorValue | undefined;
613
+ outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
614
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
615
+ outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
616
+ opacity?: import("react-native").AnimatableNumericValue | undefined;
617
+ elevation?: number | undefined;
618
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
619
+ isolation?: "auto" | "isolate" | undefined;
620
+ cursor?: import("react-native").CursorValue | undefined;
621
+ boxShadow?: ReadonlyArray<import("react-native").BoxShadowValue> | string | undefined;
622
+ filter?: ReadonlyArray<import("react-native").FilterFunction> | string | undefined;
623
+ mixBlendMode?: import("react-native").BlendMode | undefined;
624
+ experimental_backgroundImage?: ReadonlyArray<import("react-native").BackgroundImageValue> | string | undefined;
625
+ experimental_backgroundSize?: ReadonlyArray<import("react-native").BackgroundSizeValue> | string | undefined;
626
+ experimental_backgroundPosition?: ReadonlyArray<import("react-native").BackgroundPositionValue> | string | undefined;
627
+ experimental_backgroundRepeat?: ReadonlyArray<import("react-native").BackgroundRepeatValue> | string | undefined;
628
+ alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
629
+ alignItems?: import("react-native").FlexAlignType | undefined;
630
+ alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
631
+ aspectRatio?: number | string | undefined;
632
+ borderBottomWidth?: number | undefined;
633
+ borderEndWidth?: number | undefined;
634
+ borderLeftWidth?: number | undefined;
635
+ borderRightWidth?: number | undefined;
636
+ borderStartWidth?: number | undefined;
637
+ borderTopWidth?: number | undefined;
638
+ borderWidth: number | undefined;
639
+ bottom?: import("react-native").DimensionValue | undefined;
640
+ boxSizing?: "border-box" | "content-box" | undefined;
641
+ display?: "none" | "flex" | "contents" | undefined;
642
+ end?: import("react-native").DimensionValue | undefined;
643
+ flex?: number | undefined;
644
+ flexBasis?: import("react-native").DimensionValue | undefined;
645
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
646
+ rowGap?: number | string | undefined;
647
+ gap?: number | string | undefined;
648
+ columnGap?: number | string | undefined;
649
+ flexGrow?: number | undefined;
650
+ flexShrink?: number | undefined;
651
+ flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
652
+ height?: import("react-native").DimensionValue | undefined;
653
+ justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
654
+ left?: import("react-native").DimensionValue | undefined;
655
+ margin?: import("react-native").DimensionValue | undefined;
656
+ marginBottom?: import("react-native").DimensionValue | undefined;
657
+ marginEnd?: import("react-native").DimensionValue | undefined;
658
+ marginHorizontal?: import("react-native").DimensionValue | undefined;
659
+ marginLeft?: import("react-native").DimensionValue | undefined;
660
+ marginRight?: import("react-native").DimensionValue | undefined;
661
+ marginStart?: import("react-native").DimensionValue | undefined;
662
+ marginTop?: import("react-native").DimensionValue | undefined;
663
+ marginVertical?: import("react-native").DimensionValue | undefined;
664
+ maxHeight?: import("react-native").DimensionValue | undefined;
665
+ maxWidth: import("react-native").DimensionValue | undefined;
666
+ minHeight?: import("react-native").DimensionValue | undefined;
667
+ minWidth?: import("react-native").DimensionValue | undefined;
668
+ overflow?: "visible" | "hidden" | "scroll" | undefined;
669
+ padding: import("react-native").DimensionValue | undefined;
670
+ paddingBottom?: import("react-native").DimensionValue | undefined;
671
+ paddingEnd?: import("react-native").DimensionValue | undefined;
672
+ paddingHorizontal?: import("react-native").DimensionValue | undefined;
673
+ paddingLeft?: import("react-native").DimensionValue | undefined;
674
+ paddingRight?: import("react-native").DimensionValue | undefined;
675
+ paddingStart?: import("react-native").DimensionValue | undefined;
676
+ paddingTop?: import("react-native").DimensionValue | undefined;
677
+ paddingVertical?: import("react-native").DimensionValue | undefined;
678
+ position?: "absolute" | "relative" | "static" | undefined;
679
+ right?: import("react-native").DimensionValue | undefined;
680
+ start?: import("react-native").DimensionValue | undefined;
681
+ top?: import("react-native").DimensionValue | undefined;
682
+ width: import("react-native").DimensionValue | undefined;
683
+ zIndex?: number | undefined;
684
+ direction?: "inherit" | "ltr" | "rtl" | undefined;
685
+ inset?: import("react-native").DimensionValue | undefined;
686
+ insetBlock?: import("react-native").DimensionValue | undefined;
687
+ insetBlockEnd?: import("react-native").DimensionValue | undefined;
688
+ insetBlockStart?: import("react-native").DimensionValue | undefined;
689
+ insetInline?: import("react-native").DimensionValue | undefined;
690
+ insetInlineEnd?: import("react-native").DimensionValue | undefined;
691
+ insetInlineStart?: import("react-native").DimensionValue | undefined;
692
+ marginBlock?: import("react-native").DimensionValue | undefined;
693
+ marginBlockEnd?: import("react-native").DimensionValue | undefined;
694
+ marginBlockStart?: import("react-native").DimensionValue | undefined;
695
+ marginInline?: import("react-native").DimensionValue | undefined;
696
+ marginInlineEnd?: import("react-native").DimensionValue | undefined;
697
+ marginInlineStart?: import("react-native").DimensionValue | undefined;
698
+ paddingBlock?: import("react-native").DimensionValue | undefined;
699
+ paddingBlockEnd?: import("react-native").DimensionValue | undefined;
700
+ paddingBlockStart?: import("react-native").DimensionValue | undefined;
701
+ paddingInline?: import("react-native").DimensionValue | undefined;
702
+ paddingInlineEnd?: import("react-native").DimensionValue | undefined;
703
+ paddingInlineStart?: import("react-native").DimensionValue | undefined;
704
+ shadowColor?: import("react-native").ColorValue | undefined;
705
+ shadowOffset?: Readonly<{
706
+ width: number;
707
+ height: number;
708
+ }> | undefined;
709
+ shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
710
+ shadowRadius?: number | undefined;
711
+ transform?: Readonly<import("react-native").MaximumOneOf<import("react-native").PerspectiveTransform & import("react-native").RotateTransform & import("react-native").RotateXTransform & import("react-native").RotateYTransform & import("react-native").RotateZTransform & import("react-native").ScaleTransform & import("react-native").ScaleXTransform & import("react-native").ScaleYTransform & import("react-native").TranslateXTransform & import("react-native").TranslateYTransform & import("react-native").SkewXTransform & import("react-native").SkewYTransform & import("react-native").MatrixTransform>[]> | string | undefined;
712
+ transformOrigin?: Array<string | number> | string | undefined;
713
+ transformMatrix?: Array<number> | undefined;
714
+ rotation?: import("react-native").AnimatableNumericValue | undefined;
715
+ scaleX?: import("react-native").AnimatableNumericValue | undefined;
716
+ scaleY?: import("react-native").AnimatableNumericValue | undefined;
717
+ translateX?: import("react-native").AnimatableNumericValue | undefined;
718
+ translateY?: import("react-native").AnimatableNumericValue | undefined;
719
+ };
720
+ question: {
721
+ fontWeight: "600";
722
+ marginBottom: 12;
723
+ color: string;
724
+ fontSize: 14;
725
+ lineHeight: 20;
726
+ };
727
+ scale: {
728
+ flexDirection: "row";
729
+ gap: 4;
730
+ };
731
+ score: {
732
+ flex: number;
733
+ minHeight: number;
734
+ alignItems: "center";
735
+ justifyContent: "center";
736
+ borderRadius: number;
737
+ borderWidth: number;
738
+ borderColor: string;
739
+ backgroundColor: string;
740
+ };
741
+ scoreSelected: {
742
+ borderColor: string;
743
+ backgroundColor: string;
744
+ };
745
+ scorePressed: {
746
+ backgroundColor: string;
747
+ };
748
+ scoreLabel: {
749
+ color: string;
750
+ fontVariant: "tabular-nums"[];
751
+ fontSize: 14;
752
+ lineHeight: 20;
753
+ fontWeight: "500";
754
+ };
755
+ scoreLabelSelected: {
756
+ color: string;
757
+ };
758
+ anchors: {
759
+ flexDirection: "row";
760
+ justifyContent: "space-between";
761
+ gap: 8;
762
+ marginTop: 6;
763
+ };
764
+ anchorGap: {
765
+ marginBottom: 12;
766
+ };
767
+ };
768
+ export type FeedbackStyles = ReturnType<typeof createStyles>;
769
+ export type FeedbackTheme = Readonly<{
770
+ tokens: Tokens;
771
+ styles: FeedbackStyles;
772
+ }>;
773
+ /** Resolves the widget theme (light/dark/auto) against the device scheme into tokens and styles. */
774
+ export declare function useFeedbackTheme(config: WidgetConfig | null): FeedbackTheme | null;