@rocapine/react-native-onboarding 1.23.0 → 1.25.0
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/onboarding-example.d.ts +724 -139
- package/dist/onboarding-example.d.ts.map +1 -1
- package/dist/onboarding-example.js +171 -8
- package/dist/onboarding-example.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts +21 -0
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js +10 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts +294 -2
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ButtonElement.js +14 -1
- package/dist/steps/ComposableScreen/elements/ButtonElement.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.d.ts +86 -0
- package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.js +11 -0
- package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ScrollViewElement.d.ts +108 -0
- package/dist/steps/ComposableScreen/elements/ScrollViewElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/ScrollViewElement.js +23 -0
- package/dist/steps/ComposableScreen/elements/ScrollViewElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts +8 -0
- package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/types.d.ts +18 -0
- package/dist/steps/ComposableScreen/types.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/types.js +52 -1
- package/dist/steps/ComposableScreen/types.js.map +1 -1
- package/package.json +1 -1
- package/src/onboarding-example.ts +171 -8
- package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +20 -0
- package/src/steps/ComposableScreen/elements/ButtonElement.ts +36 -2
- package/src/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.ts +16 -0
- package/src/steps/ComposableScreen/elements/ScrollViewElement.ts +40 -0
- package/src/steps/ComposableScreen/types.ts +84 -3
|
@@ -17,6 +17,18 @@ export declare const ButtonActionSchema: z.ZodUnion<readonly [z.ZodLiteral<"cont
|
|
|
17
17
|
function: z.ZodString;
|
|
18
18
|
variables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
19
|
}, z.core.$strip>]>;
|
|
20
|
+
type ButtonOverridableProps = BaseBoxProps & {
|
|
21
|
+
variant?: "filled" | "outlined" | "ghost";
|
|
22
|
+
backgroundColor?: string;
|
|
23
|
+
color?: string;
|
|
24
|
+
fontSize?: number;
|
|
25
|
+
fontWeight?: string;
|
|
26
|
+
fontFamily?: string | "inherit";
|
|
27
|
+
fontStyle?: "normal" | "italic";
|
|
28
|
+
textAlign?: "left" | "center" | "right";
|
|
29
|
+
};
|
|
30
|
+
/** Subset of ButtonElementProps that can be overridden per-state. */
|
|
31
|
+
export type ButtonStyleOverride = Partial<ButtonOverridableProps>;
|
|
20
32
|
export type ButtonElementProps = BaseBoxProps & {
|
|
21
33
|
label: string;
|
|
22
34
|
/**
|
|
@@ -47,11 +59,105 @@ export type ButtonElementProps = BaseBoxProps & {
|
|
|
47
59
|
* the same condition schema as `Branch.condition`.
|
|
48
60
|
*/
|
|
49
61
|
disabledWhen?: LeafCondition | ConditionGroup;
|
|
50
|
-
/**
|
|
62
|
+
/** @deprecated Use `disabledStyle.backgroundColor`. Falls back when `disabledStyle` omitted. */
|
|
51
63
|
disabledBackgroundColor?: string;
|
|
52
|
-
/**
|
|
64
|
+
/** @deprecated Use `disabledStyle.color`. Falls back when `disabledStyle` omitted. */
|
|
53
65
|
disabledColor?: string;
|
|
66
|
+
/** Style overrides merged on top of base props while pressed. */
|
|
67
|
+
pressedStyle?: ButtonStyleOverride;
|
|
68
|
+
/** Style overrides merged on top of base props while disabled. Wins over deprecated `disabled*` fields. */
|
|
69
|
+
disabledStyle?: ButtonStyleOverride;
|
|
70
|
+
/** Animation duration (ms) between rest/pressed/disabled. Default 150. */
|
|
71
|
+
transitionDurationMs?: number;
|
|
54
72
|
};
|
|
73
|
+
export declare const ButtonStyleOverrideSchema: z.ZodObject<{
|
|
74
|
+
width: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
75
|
+
height: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
76
|
+
minWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
77
|
+
maxWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
78
|
+
minHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
79
|
+
maxHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
80
|
+
flex: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
81
|
+
flexShrink: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
82
|
+
flexGrow: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
83
|
+
alignSelf: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
auto: "auto";
|
|
85
|
+
"flex-start": "flex-start";
|
|
86
|
+
"flex-end": "flex-end";
|
|
87
|
+
center: "center";
|
|
88
|
+
stretch: "stretch";
|
|
89
|
+
baseline: "baseline";
|
|
90
|
+
}>>>;
|
|
91
|
+
opacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
92
|
+
backgroundGradient: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
93
|
+
type: z.ZodLiteral<"linear">;
|
|
94
|
+
from: z.ZodEnum<{
|
|
95
|
+
top: "top";
|
|
96
|
+
bottom: "bottom";
|
|
97
|
+
left: "left";
|
|
98
|
+
right: "right";
|
|
99
|
+
topLeft: "topLeft";
|
|
100
|
+
topRight: "topRight";
|
|
101
|
+
bottomLeft: "bottomLeft";
|
|
102
|
+
bottomRight: "bottomRight";
|
|
103
|
+
}>;
|
|
104
|
+
to: z.ZodEnum<{
|
|
105
|
+
top: "top";
|
|
106
|
+
bottom: "bottom";
|
|
107
|
+
left: "left";
|
|
108
|
+
right: "right";
|
|
109
|
+
topLeft: "topLeft";
|
|
110
|
+
topRight: "topRight";
|
|
111
|
+
bottomLeft: "bottomLeft";
|
|
112
|
+
bottomRight: "bottomRight";
|
|
113
|
+
}>;
|
|
114
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
115
|
+
color: z.ZodString;
|
|
116
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
}, z.core.$strip>], "type">>>;
|
|
119
|
+
overflow: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
hidden: "hidden";
|
|
121
|
+
visible: "visible";
|
|
122
|
+
scroll: "scroll";
|
|
123
|
+
}>>>;
|
|
124
|
+
margin: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
125
|
+
marginHorizontal: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
126
|
+
marginVertical: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
127
|
+
padding: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
128
|
+
paddingHorizontal: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
129
|
+
paddingVertical: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
130
|
+
borderWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
131
|
+
borderRadius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
132
|
+
borderColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
133
|
+
shadowColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
134
|
+
shadowOffset: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
135
|
+
width: z.ZodNumber;
|
|
136
|
+
height: z.ZodNumber;
|
|
137
|
+
}, z.core.$strip>>>;
|
|
138
|
+
shadowOpacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
139
|
+
shadowRadius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
140
|
+
elevation: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
141
|
+
variant: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
142
|
+
filled: "filled";
|
|
143
|
+
outlined: "outlined";
|
|
144
|
+
ghost: "ghost";
|
|
145
|
+
}>>>;
|
|
146
|
+
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
147
|
+
color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
148
|
+
fontSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
149
|
+
fontWeight: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
150
|
+
fontFamily: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
151
|
+
fontStyle: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
152
|
+
normal: "normal";
|
|
153
|
+
italic: "italic";
|
|
154
|
+
}>>>;
|
|
155
|
+
textAlign: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
156
|
+
left: "left";
|
|
157
|
+
right: "right";
|
|
158
|
+
center: "center";
|
|
159
|
+
}>>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
55
161
|
export declare const ButtonElementPropsSchema: z.ZodObject<{
|
|
56
162
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
57
163
|
height: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
@@ -112,6 +218,14 @@ export declare const ButtonElementPropsSchema: z.ZodObject<{
|
|
|
112
218
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
113
219
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
114
220
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
221
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
222
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
width: z.ZodNumber;
|
|
224
|
+
height: z.ZodNumber;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
228
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
115
229
|
label: z.ZodString;
|
|
116
230
|
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"continue">, z.ZodObject<{
|
|
117
231
|
type: z.ZodLiteral<"custom">;
|
|
@@ -157,5 +271,183 @@ export declare const ButtonElementPropsSchema: z.ZodObject<{
|
|
|
157
271
|
}, z.core.$strip>, z.ZodType<ConditionGroup, unknown, z.core.$ZodTypeInternals<ConditionGroup, unknown>>]>>;
|
|
158
272
|
disabledBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
159
273
|
disabledColor: z.ZodOptional<z.ZodString>;
|
|
274
|
+
pressedStyle: z.ZodOptional<z.ZodObject<{
|
|
275
|
+
width: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
276
|
+
height: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
277
|
+
minWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
278
|
+
maxWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
279
|
+
minHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
280
|
+
maxHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
281
|
+
flex: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
282
|
+
flexShrink: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
283
|
+
flexGrow: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
284
|
+
alignSelf: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
285
|
+
auto: "auto";
|
|
286
|
+
"flex-start": "flex-start";
|
|
287
|
+
"flex-end": "flex-end";
|
|
288
|
+
center: "center";
|
|
289
|
+
stretch: "stretch";
|
|
290
|
+
baseline: "baseline";
|
|
291
|
+
}>>>;
|
|
292
|
+
opacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
293
|
+
backgroundGradient: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
294
|
+
type: z.ZodLiteral<"linear">;
|
|
295
|
+
from: z.ZodEnum<{
|
|
296
|
+
top: "top";
|
|
297
|
+
bottom: "bottom";
|
|
298
|
+
left: "left";
|
|
299
|
+
right: "right";
|
|
300
|
+
topLeft: "topLeft";
|
|
301
|
+
topRight: "topRight";
|
|
302
|
+
bottomLeft: "bottomLeft";
|
|
303
|
+
bottomRight: "bottomRight";
|
|
304
|
+
}>;
|
|
305
|
+
to: z.ZodEnum<{
|
|
306
|
+
top: "top";
|
|
307
|
+
bottom: "bottom";
|
|
308
|
+
left: "left";
|
|
309
|
+
right: "right";
|
|
310
|
+
topLeft: "topLeft";
|
|
311
|
+
topRight: "topRight";
|
|
312
|
+
bottomLeft: "bottomLeft";
|
|
313
|
+
bottomRight: "bottomRight";
|
|
314
|
+
}>;
|
|
315
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
316
|
+
color: z.ZodString;
|
|
317
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
}, z.core.$strip>], "type">>>;
|
|
320
|
+
overflow: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
321
|
+
hidden: "hidden";
|
|
322
|
+
visible: "visible";
|
|
323
|
+
scroll: "scroll";
|
|
324
|
+
}>>>;
|
|
325
|
+
margin: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
326
|
+
marginHorizontal: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
327
|
+
marginVertical: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
328
|
+
padding: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
329
|
+
paddingHorizontal: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
330
|
+
paddingVertical: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
331
|
+
borderWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
332
|
+
borderRadius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
333
|
+
borderColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
334
|
+
shadowColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
335
|
+
shadowOffset: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
336
|
+
width: z.ZodNumber;
|
|
337
|
+
height: z.ZodNumber;
|
|
338
|
+
}, z.core.$strip>>>;
|
|
339
|
+
shadowOpacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
340
|
+
shadowRadius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
341
|
+
elevation: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
342
|
+
variant: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
343
|
+
filled: "filled";
|
|
344
|
+
outlined: "outlined";
|
|
345
|
+
ghost: "ghost";
|
|
346
|
+
}>>>;
|
|
347
|
+
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
348
|
+
color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
349
|
+
fontSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
350
|
+
fontWeight: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
351
|
+
fontFamily: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
352
|
+
fontStyle: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
353
|
+
normal: "normal";
|
|
354
|
+
italic: "italic";
|
|
355
|
+
}>>>;
|
|
356
|
+
textAlign: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
357
|
+
left: "left";
|
|
358
|
+
right: "right";
|
|
359
|
+
center: "center";
|
|
360
|
+
}>>>;
|
|
361
|
+
}, z.core.$strip>>;
|
|
362
|
+
disabledStyle: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
width: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
364
|
+
height: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
365
|
+
minWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
366
|
+
maxWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
367
|
+
minHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
368
|
+
maxHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
369
|
+
flex: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
370
|
+
flexShrink: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
371
|
+
flexGrow: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
372
|
+
alignSelf: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
373
|
+
auto: "auto";
|
|
374
|
+
"flex-start": "flex-start";
|
|
375
|
+
"flex-end": "flex-end";
|
|
376
|
+
center: "center";
|
|
377
|
+
stretch: "stretch";
|
|
378
|
+
baseline: "baseline";
|
|
379
|
+
}>>>;
|
|
380
|
+
opacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
381
|
+
backgroundGradient: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
382
|
+
type: z.ZodLiteral<"linear">;
|
|
383
|
+
from: z.ZodEnum<{
|
|
384
|
+
top: "top";
|
|
385
|
+
bottom: "bottom";
|
|
386
|
+
left: "left";
|
|
387
|
+
right: "right";
|
|
388
|
+
topLeft: "topLeft";
|
|
389
|
+
topRight: "topRight";
|
|
390
|
+
bottomLeft: "bottomLeft";
|
|
391
|
+
bottomRight: "bottomRight";
|
|
392
|
+
}>;
|
|
393
|
+
to: z.ZodEnum<{
|
|
394
|
+
top: "top";
|
|
395
|
+
bottom: "bottom";
|
|
396
|
+
left: "left";
|
|
397
|
+
right: "right";
|
|
398
|
+
topLeft: "topLeft";
|
|
399
|
+
topRight: "topRight";
|
|
400
|
+
bottomLeft: "bottomLeft";
|
|
401
|
+
bottomRight: "bottomRight";
|
|
402
|
+
}>;
|
|
403
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
404
|
+
color: z.ZodString;
|
|
405
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
}, z.core.$strip>>;
|
|
407
|
+
}, z.core.$strip>], "type">>>;
|
|
408
|
+
overflow: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
409
|
+
hidden: "hidden";
|
|
410
|
+
visible: "visible";
|
|
411
|
+
scroll: "scroll";
|
|
412
|
+
}>>>;
|
|
413
|
+
margin: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
414
|
+
marginHorizontal: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
415
|
+
marginVertical: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
416
|
+
padding: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
417
|
+
paddingHorizontal: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
418
|
+
paddingVertical: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
419
|
+
borderWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
420
|
+
borderRadius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
421
|
+
borderColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
422
|
+
shadowColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
423
|
+
shadowOffset: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
424
|
+
width: z.ZodNumber;
|
|
425
|
+
height: z.ZodNumber;
|
|
426
|
+
}, z.core.$strip>>>;
|
|
427
|
+
shadowOpacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
428
|
+
shadowRadius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
429
|
+
elevation: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
430
|
+
variant: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
431
|
+
filled: "filled";
|
|
432
|
+
outlined: "outlined";
|
|
433
|
+
ghost: "ghost";
|
|
434
|
+
}>>>;
|
|
435
|
+
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
436
|
+
color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
437
|
+
fontSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
438
|
+
fontWeight: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
439
|
+
fontFamily: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
440
|
+
fontStyle: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
441
|
+
normal: "normal";
|
|
442
|
+
italic: "italic";
|
|
443
|
+
}>>>;
|
|
444
|
+
textAlign: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
445
|
+
left: "left";
|
|
446
|
+
right: "right";
|
|
447
|
+
center: "center";
|
|
448
|
+
}>>>;
|
|
449
|
+
}, z.core.$strip>>;
|
|
450
|
+
transitionDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
160
451
|
}, z.core.$strip>;
|
|
452
|
+
export {};
|
|
161
453
|
//# sourceMappingURL=ButtonElement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EAGpB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,kBAAkB,CAAC;AAE3D,eAAO,MAAM,kBAAkB;;;;mBAG7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC;;;;OAIG;IACH,YAAY,CAAC,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBnC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ButtonElementPropsSchema = exports.ButtonActionSchema = exports.CustomButtonActionSchema = void 0;
|
|
3
|
+
exports.ButtonElementPropsSchema = exports.ButtonStyleOverrideSchema = exports.ButtonActionSchema = exports.CustomButtonActionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const BaseBoxProps_1 = require("./BaseBoxProps");
|
|
6
6
|
const common_types_1 = require("../../common.types");
|
|
@@ -13,6 +13,16 @@ exports.ButtonActionSchema = zod_1.z.union([
|
|
|
13
13
|
zod_1.z.literal("continue"),
|
|
14
14
|
exports.CustomButtonActionSchema,
|
|
15
15
|
]);
|
|
16
|
+
exports.ButtonStyleOverrideSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
17
|
+
variant: zod_1.z.enum(["filled", "outlined", "ghost"]).optional(),
|
|
18
|
+
backgroundColor: zod_1.z.string().optional(),
|
|
19
|
+
color: zod_1.z.string().optional(),
|
|
20
|
+
fontSize: zod_1.z.number().optional(),
|
|
21
|
+
fontWeight: zod_1.z.string().optional(),
|
|
22
|
+
fontFamily: zod_1.z.string().optional(),
|
|
23
|
+
fontStyle: zod_1.z.enum(["normal", "italic"]).optional(),
|
|
24
|
+
textAlign: zod_1.z.enum(["left", "center", "right"]).optional(),
|
|
25
|
+
}).partial();
|
|
16
26
|
exports.ButtonElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
17
27
|
label: zod_1.z.string().min(1, "label must not be empty"),
|
|
18
28
|
actions: zod_1.z.array(exports.ButtonActionSchema).optional(),
|
|
@@ -28,5 +38,8 @@ exports.ButtonElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
|
28
38
|
disabledWhen: zod_1.z.union([common_types_1.LeafConditionSchema, common_types_1.ConditionGroupSchema]).optional(),
|
|
29
39
|
disabledBackgroundColor: zod_1.z.string().optional(),
|
|
30
40
|
disabledColor: zod_1.z.string().optional(),
|
|
41
|
+
pressedStyle: exports.ButtonStyleOverrideSchema.optional(),
|
|
42
|
+
disabledStyle: exports.ButtonStyleOverrideSchema.optional(),
|
|
43
|
+
transitionDurationMs: zod_1.z.number().min(0).optional(),
|
|
31
44
|
});
|
|
32
45
|
//# sourceMappingURL=ButtonElement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAClE,qDAK4B;AAQf,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IACzB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;IACzD,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAIU,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC;IACxC,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IACrB,gCAAwB;CACzB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAClE,qDAK4B;AAQf,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IACzB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE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<z.ZodNumber>;
|
|
77
77
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
79
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
80
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
width: z.ZodNumber;
|
|
82
|
+
height: z.ZodNumber;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
79
87
|
carouselType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
80
88
|
normal: "normal";
|
|
81
89
|
"left-align": "left-align";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CarouselElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG;IAChD,YAAY,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CarouselElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG;IAChD,YAAY,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcrC,CAAC"}
|
|
@@ -86,6 +86,14 @@ export declare const CheckboxGroupElementPropsSchema: z.ZodObject<{
|
|
|
86
86
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
87
87
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
89
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
90
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
width: z.ZodNumber;
|
|
92
|
+
height: z.ZodNumber;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
89
97
|
variableName: z.ZodOptional<z.ZodString>;
|
|
90
98
|
defaultValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
99
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroupElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CheckboxGroupElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"CheckboxGroupElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CheckboxGroupElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkC1C,CAAC"}
|
|
@@ -72,6 +72,14 @@ export declare const DatePickerElementPropsSchema: z.ZodObject<{
|
|
|
72
72
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
73
73
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
74
74
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
75
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
76
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
width: z.ZodNumber;
|
|
78
|
+
height: z.ZodNumber;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
75
83
|
variableName: z.ZodOptional<z.ZodString>;
|
|
76
84
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
77
85
|
minimumDate: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/DatePickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"DatePickerElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/DatePickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUvC,CAAC"}
|
|
@@ -67,6 +67,14 @@ export declare const IconElementPropsSchema: z.ZodObject<{
|
|
|
67
67
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
71
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
width: z.ZodNumber;
|
|
73
|
+
height: z.ZodNumber;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
70
78
|
name: z.ZodString;
|
|
71
79
|
size: z.ZodOptional<z.ZodNumber>;
|
|
72
80
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"IconElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMjC,CAAC"}
|
|
@@ -66,6 +66,14 @@ export declare const ImageElementPropsSchema: z.ZodObject<{
|
|
|
66
66
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
67
67
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
69
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
width: z.ZodNumber;
|
|
72
|
+
height: z.ZodNumber;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
69
77
|
url: z.ZodString;
|
|
70
78
|
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
71
79
|
resizeMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIlC,CAAC"}
|
|
@@ -87,6 +87,14 @@ export declare const InputElementPropsSchema: z.ZodObject<{
|
|
|
87
87
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
90
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
91
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
92
|
+
width: z.ZodNumber;
|
|
93
|
+
height: z.ZodNumber;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
90
98
|
variableName: z.ZodOptional<z.ZodString>;
|
|
91
99
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
92
100
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/InputElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,GAAG,KAAK,GAAG,YAAY,GAAG,eAAe,GAAG,yBAAyB,GAAG,gBAAgB,GAAG,SAAS,GAAG,YAAY,GAAG,kBAAkB,CAAC;IAC7N,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,gBAAgB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;IACxJ,cAAc,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,YAAY,CAAC;IAC/D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAA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eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBlC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type BaseBoxProps } from "./BaseBoxProps";
|
|
3
|
+
export type KeyboardAvoidingBehavior = "padding" | "height" | "position";
|
|
4
|
+
export type KeyboardAvoidingViewElementProps = BaseBoxProps & {
|
|
5
|
+
behavior?: KeyboardAvoidingBehavior;
|
|
6
|
+
keyboardVerticalOffset?: number;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const KeyboardAvoidingViewElementPropsSchema: z.ZodObject<{
|
|
10
|
+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
11
|
+
height: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
12
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
flex: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
flexShrink: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
flexGrow: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
auto: "auto";
|
|
21
|
+
"flex-start": "flex-start";
|
|
22
|
+
"flex-end": "flex-end";
|
|
23
|
+
center: "center";
|
|
24
|
+
stretch: "stretch";
|
|
25
|
+
baseline: "baseline";
|
|
26
|
+
}>>;
|
|
27
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
29
|
+
backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30
|
+
type: z.ZodLiteral<"linear">;
|
|
31
|
+
from: z.ZodEnum<{
|
|
32
|
+
top: "top";
|
|
33
|
+
bottom: "bottom";
|
|
34
|
+
left: "left";
|
|
35
|
+
right: "right";
|
|
36
|
+
topLeft: "topLeft";
|
|
37
|
+
topRight: "topRight";
|
|
38
|
+
bottomLeft: "bottomLeft";
|
|
39
|
+
bottomRight: "bottomRight";
|
|
40
|
+
}>;
|
|
41
|
+
to: z.ZodEnum<{
|
|
42
|
+
top: "top";
|
|
43
|
+
bottom: "bottom";
|
|
44
|
+
left: "left";
|
|
45
|
+
right: "right";
|
|
46
|
+
topLeft: "topLeft";
|
|
47
|
+
topRight: "topRight";
|
|
48
|
+
bottomLeft: "bottomLeft";
|
|
49
|
+
bottomRight: "bottomRight";
|
|
50
|
+
}>;
|
|
51
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
52
|
+
color: z.ZodString;
|
|
53
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
}, z.core.$strip>], "type">>;
|
|
56
|
+
overflow: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
hidden: "hidden";
|
|
58
|
+
visible: "visible";
|
|
59
|
+
scroll: "scroll";
|
|
60
|
+
}>>;
|
|
61
|
+
margin: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
marginHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
marginVertical: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
paddingHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
paddingVertical: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
borderColor: z.ZodOptional<z.ZodString>;
|
|
70
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
71
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
width: z.ZodNumber;
|
|
73
|
+
height: z.ZodNumber;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
position: "position";
|
|
80
|
+
height: "height";
|
|
81
|
+
padding: "padding";
|
|
82
|
+
}>>;
|
|
83
|
+
keyboardVerticalOffset: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
//# sourceMappingURL=KeyboardAvoidingViewElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardAvoidingViewElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEzE,MAAM,MAAM,gCAAgC,GAAG,YAAY,GAAG;IAC5D,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIjD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KeyboardAvoidingViewElementPropsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const BaseBoxProps_1 = require("./BaseBoxProps");
|
|
6
|
+
exports.KeyboardAvoidingViewElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
7
|
+
behavior: zod_1.z.enum(["padding", "height", "position"]).optional(),
|
|
8
|
+
keyboardVerticalOffset: zod_1.z.number().optional(),
|
|
9
|
+
enabled: zod_1.z.boolean().optional(),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=KeyboardAvoidingViewElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardAvoidingViewElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAuE;AAU1D,QAAA,sCAAsC,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAC9E,QAAQ,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC9D,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7C,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC"}
|