@rocapine/react-native-onboarding 1.6.0 → 1.8.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.
Files changed (66) hide show
  1. package/dist/onboarding-example.d.ts +171 -0
  2. package/dist/onboarding-example.d.ts.map +1 -1
  3. package/dist/onboarding-example.js +37 -0
  4. package/dist/onboarding-example.js.map +1 -1
  5. package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts +30 -0
  6. package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -0
  7. package/dist/steps/ComposableScreen/elements/BaseBoxProps.js +19 -0
  8. package/dist/steps/ComposableScreen/elements/BaseBoxProps.js.map +1 -0
  9. package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts +55 -0
  10. package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts.map +1 -0
  11. package/dist/steps/ComposableScreen/elements/ButtonElement.js +18 -0
  12. package/dist/steps/ComposableScreen/elements/ButtonElement.js.map +1 -0
  13. package/dist/steps/ComposableScreen/elements/IconElement.d.ts +29 -0
  14. package/dist/steps/ComposableScreen/elements/IconElement.d.ts.map +1 -0
  15. package/dist/steps/ComposableScreen/elements/IconElement.js +13 -0
  16. package/dist/steps/ComposableScreen/elements/IconElement.js.map +1 -0
  17. package/dist/steps/ComposableScreen/elements/ImageElement.d.ts +30 -0
  18. package/dist/steps/ComposableScreen/elements/ImageElement.d.ts.map +1 -0
  19. package/dist/steps/ComposableScreen/elements/ImageElement.js +11 -0
  20. package/dist/steps/ComposableScreen/elements/ImageElement.js.map +1 -0
  21. package/dist/steps/ComposableScreen/elements/InputElement.d.ts +90 -0
  22. package/dist/steps/ComposableScreen/elements/InputElement.d.ts.map +1 -0
  23. package/dist/steps/ComposableScreen/elements/InputElement.js +25 -0
  24. package/dist/steps/ComposableScreen/elements/InputElement.js.map +1 -0
  25. package/dist/steps/ComposableScreen/elements/LottieElement.d.ts +27 -0
  26. package/dist/steps/ComposableScreen/elements/LottieElement.d.ts.map +1 -0
  27. package/dist/steps/ComposableScreen/elements/LottieElement.js +12 -0
  28. package/dist/steps/ComposableScreen/elements/LottieElement.js.map +1 -0
  29. package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts +66 -0
  30. package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -0
  31. package/dist/steps/ComposableScreen/elements/RadioGroupElement.js +36 -0
  32. package/dist/steps/ComposableScreen/elements/RadioGroupElement.js.map +1 -0
  33. package/dist/steps/ComposableScreen/elements/RiveElement.d.ts +50 -0
  34. package/dist/steps/ComposableScreen/elements/RiveElement.d.ts.map +1 -0
  35. package/dist/steps/ComposableScreen/elements/RiveElement.js +14 -0
  36. package/dist/steps/ComposableScreen/elements/RiveElement.js.map +1 -0
  37. package/dist/steps/ComposableScreen/elements/StackElement.d.ts +72 -0
  38. package/dist/steps/ComposableScreen/elements/StackElement.d.ts.map +1 -0
  39. package/dist/steps/ComposableScreen/elements/StackElement.js +31 -0
  40. package/dist/steps/ComposableScreen/elements/StackElement.js.map +1 -0
  41. package/dist/steps/ComposableScreen/elements/TextElement.d.ts +53 -0
  42. package/dist/steps/ComposableScreen/elements/TextElement.d.ts.map +1 -0
  43. package/dist/steps/ComposableScreen/elements/TextElement.js +27 -0
  44. package/dist/steps/ComposableScreen/elements/TextElement.js.map +1 -0
  45. package/dist/steps/ComposableScreen/elements/VideoElement.d.ts +29 -0
  46. package/dist/steps/ComposableScreen/elements/VideoElement.d.ts.map +1 -0
  47. package/dist/steps/ComposableScreen/elements/VideoElement.js +13 -0
  48. package/dist/steps/ComposableScreen/elements/VideoElement.js.map +1 -0
  49. package/dist/steps/ComposableScreen/types.d.ts +40 -113
  50. package/dist/steps/ComposableScreen/types.d.ts.map +1 -1
  51. package/dist/steps/ComposableScreen/types.js +33 -121
  52. package/dist/steps/ComposableScreen/types.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/onboarding-example.ts +37 -0
  55. package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +31 -0
  56. package/src/steps/ComposableScreen/elements/ButtonElement.ts +28 -0
  57. package/src/steps/ComposableScreen/elements/IconElement.ts +18 -0
  58. package/src/steps/ComposableScreen/elements/ImageElement.ts +14 -0
  59. package/src/steps/ComposableScreen/elements/InputElement.ts +42 -0
  60. package/src/steps/ComposableScreen/elements/LottieElement.ts +16 -0
  61. package/src/steps/ComposableScreen/elements/RadioGroupElement.ts +55 -0
  62. package/src/steps/ComposableScreen/elements/RiveElement.ts +20 -0
  63. package/src/steps/ComposableScreen/elements/StackElement.ts +55 -0
  64. package/src/steps/ComposableScreen/elements/TextElement.ts +47 -0
  65. package/src/steps/ComposableScreen/elements/VideoElement.ts +18 -0
  66. package/src/steps/ComposableScreen/types.ts +56 -233
@@ -161,8 +161,14 @@ export declare const onboardingExample: {
161
161
  fontSize?: undefined;
162
162
  fontWeight?: undefined;
163
163
  textAlign?: undefined;
164
+ fontFamily?: undefined;
164
165
  lineHeight?: undefined;
165
166
  opacity?: undefined;
167
+ defaultValue?: undefined;
168
+ gap?: undefined;
169
+ items?: undefined;
170
+ label?: undefined;
171
+ variant?: undefined;
166
172
  };
167
173
  } | {
168
174
  id: string;
@@ -193,8 +199,14 @@ export declare const onboardingExample: {
193
199
  fontSize?: undefined;
194
200
  fontWeight?: undefined;
195
201
  textAlign?: undefined;
202
+ fontFamily?: undefined;
196
203
  lineHeight?: undefined;
197
204
  opacity?: undefined;
205
+ defaultValue?: undefined;
206
+ gap?: undefined;
207
+ items?: undefined;
208
+ label?: undefined;
209
+ variant?: undefined;
198
210
  };
199
211
  } | {
200
212
  id: string;
@@ -225,8 +237,14 @@ export declare const onboardingExample: {
225
237
  fontSize?: undefined;
226
238
  fontWeight?: undefined;
227
239
  textAlign?: undefined;
240
+ fontFamily?: undefined;
228
241
  lineHeight?: undefined;
229
242
  opacity?: undefined;
243
+ defaultValue?: undefined;
244
+ gap?: undefined;
245
+ items?: undefined;
246
+ label?: undefined;
247
+ variant?: undefined;
230
248
  };
231
249
  } | {
232
250
  id: string;
@@ -257,8 +275,14 @@ export declare const onboardingExample: {
257
275
  fontSize?: undefined;
258
276
  fontWeight?: undefined;
259
277
  textAlign?: undefined;
278
+ fontFamily?: undefined;
260
279
  lineHeight?: undefined;
261
280
  opacity?: undefined;
281
+ defaultValue?: undefined;
282
+ gap?: undefined;
283
+ items?: undefined;
284
+ label?: undefined;
285
+ variant?: undefined;
262
286
  };
263
287
  } | {
264
288
  id: string;
@@ -289,8 +313,14 @@ export declare const onboardingExample: {
289
313
  fontSize?: undefined;
290
314
  fontWeight?: undefined;
291
315
  textAlign?: undefined;
316
+ fontFamily?: undefined;
292
317
  lineHeight?: undefined;
293
318
  opacity?: undefined;
319
+ defaultValue?: undefined;
320
+ gap?: undefined;
321
+ items?: undefined;
322
+ label?: undefined;
323
+ variant?: undefined;
294
324
  };
295
325
  } | {
296
326
  id: string;
@@ -321,8 +351,14 @@ export declare const onboardingExample: {
321
351
  fontSize?: undefined;
322
352
  fontWeight?: undefined;
323
353
  textAlign?: undefined;
354
+ fontFamily?: undefined;
324
355
  lineHeight?: undefined;
325
356
  opacity?: undefined;
357
+ defaultValue?: undefined;
358
+ gap?: undefined;
359
+ items?: undefined;
360
+ label?: undefined;
361
+ variant?: undefined;
326
362
  };
327
363
  } | {
328
364
  id: string;
@@ -353,8 +389,14 @@ export declare const onboardingExample: {
353
389
  keyboardType?: undefined;
354
390
  returnKeyType?: undefined;
355
391
  autoCapitalize?: undefined;
392
+ fontFamily?: undefined;
356
393
  lineHeight?: undefined;
357
394
  opacity?: undefined;
395
+ defaultValue?: undefined;
396
+ gap?: undefined;
397
+ items?: undefined;
398
+ label?: undefined;
399
+ variant?: undefined;
358
400
  };
359
401
  } | {
360
402
  id: string;
@@ -363,6 +405,7 @@ export declare const onboardingExample: {
363
405
  content: string;
364
406
  fontSize: number;
365
407
  fontWeight: string;
408
+ fontFamily: string;
366
409
  textAlign: string;
367
410
  source?: undefined;
368
411
  height?: undefined;
@@ -387,6 +430,11 @@ export declare const onboardingExample: {
387
430
  mode?: undefined;
388
431
  lineHeight?: undefined;
389
432
  opacity?: undefined;
433
+ defaultValue?: undefined;
434
+ gap?: undefined;
435
+ items?: undefined;
436
+ label?: undefined;
437
+ variant?: undefined;
390
438
  };
391
439
  } | {
392
440
  id: string;
@@ -419,6 +467,129 @@ export declare const onboardingExample: {
419
467
  autoCapitalize?: undefined;
420
468
  mode?: undefined;
421
469
  fontWeight?: undefined;
470
+ fontFamily?: undefined;
471
+ defaultValue?: undefined;
472
+ gap?: undefined;
473
+ items?: undefined;
474
+ label?: undefined;
475
+ variant?: undefined;
476
+ };
477
+ } | {
478
+ id: string;
479
+ type: string;
480
+ props: {
481
+ variableName: string;
482
+ defaultValue: string;
483
+ gap: number;
484
+ marginVertical: number;
485
+ items: {
486
+ label: string;
487
+ value: string;
488
+ }[];
489
+ source?: undefined;
490
+ height?: undefined;
491
+ autoPlay?: undefined;
492
+ loop?: undefined;
493
+ url?: undefined;
494
+ autoplay?: undefined;
495
+ fit?: undefined;
496
+ resizeMode?: undefined;
497
+ borderRadius?: undefined;
498
+ name?: undefined;
499
+ size?: undefined;
500
+ color?: undefined;
501
+ controls?: undefined;
502
+ muted?: undefined;
503
+ placeholder?: undefined;
504
+ keyboardType?: undefined;
505
+ returnKeyType?: undefined;
506
+ autoCapitalize?: undefined;
507
+ content?: undefined;
508
+ mode?: undefined;
509
+ fontSize?: undefined;
510
+ fontWeight?: undefined;
511
+ textAlign?: undefined;
512
+ fontFamily?: undefined;
513
+ lineHeight?: undefined;
514
+ opacity?: undefined;
515
+ label?: undefined;
516
+ variant?: undefined;
517
+ };
518
+ } | {
519
+ id: string;
520
+ type: string;
521
+ props: {
522
+ content: string;
523
+ mode: string;
524
+ fontSize: number;
525
+ textAlign: string;
526
+ opacity: number;
527
+ marginVertical: number;
528
+ source?: undefined;
529
+ height?: undefined;
530
+ autoPlay?: undefined;
531
+ loop?: undefined;
532
+ url?: undefined;
533
+ autoplay?: undefined;
534
+ fit?: undefined;
535
+ resizeMode?: undefined;
536
+ borderRadius?: undefined;
537
+ name?: undefined;
538
+ size?: undefined;
539
+ color?: undefined;
540
+ controls?: undefined;
541
+ muted?: undefined;
542
+ variableName?: undefined;
543
+ placeholder?: undefined;
544
+ keyboardType?: undefined;
545
+ returnKeyType?: undefined;
546
+ autoCapitalize?: undefined;
547
+ fontWeight?: undefined;
548
+ fontFamily?: undefined;
549
+ lineHeight?: undefined;
550
+ defaultValue?: undefined;
551
+ gap?: undefined;
552
+ items?: undefined;
553
+ label?: undefined;
554
+ variant?: undefined;
555
+ };
556
+ } | {
557
+ id: string;
558
+ type: string;
559
+ props: {
560
+ label: string;
561
+ variant: string;
562
+ marginVertical: number;
563
+ source?: undefined;
564
+ height?: undefined;
565
+ autoPlay?: undefined;
566
+ loop?: undefined;
567
+ url?: undefined;
568
+ autoplay?: undefined;
569
+ fit?: undefined;
570
+ resizeMode?: undefined;
571
+ borderRadius?: undefined;
572
+ name?: undefined;
573
+ size?: undefined;
574
+ color?: undefined;
575
+ controls?: undefined;
576
+ muted?: undefined;
577
+ variableName?: undefined;
578
+ placeholder?: undefined;
579
+ keyboardType?: undefined;
580
+ returnKeyType?: undefined;
581
+ autoCapitalize?: undefined;
582
+ content?: undefined;
583
+ mode?: undefined;
584
+ fontSize?: undefined;
585
+ fontWeight?: undefined;
586
+ textAlign?: undefined;
587
+ fontFamily?: undefined;
588
+ lineHeight?: undefined;
589
+ opacity?: undefined;
590
+ defaultValue?: undefined;
591
+ gap?: undefined;
592
+ items?: undefined;
422
593
  };
423
594
  })[];
424
595
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-example.d.ts","sourceRoot":"","sources":["../src/onboarding-example.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QR,CAAC"}
@@ -183,6 +183,7 @@ exports.onboardingExample = {
183
183
  content: "Built from the CMS",
184
184
  fontSize: 28,
185
185
  fontWeight: "700",
186
+ fontFamily: "System",
186
187
  textAlign: "center",
187
188
  },
188
189
  },
@@ -197,6 +198,42 @@ exports.onboardingExample = {
197
198
  opacity: 0.6,
198
199
  },
199
200
  },
201
+ {
202
+ id: "hero-radio",
203
+ type: "RadioGroup",
204
+ props: {
205
+ variableName: "plan",
206
+ defaultValue: "monthly",
207
+ gap: 8,
208
+ marginVertical: 8,
209
+ items: [
210
+ { label: "Monthly", value: "monthly" },
211
+ { label: "Yearly", value: "yearly" },
212
+ { label: "Lifetime", value: "lifetime" },
213
+ ],
214
+ },
215
+ },
216
+ {
217
+ id: "plan-display",
218
+ type: "Text",
219
+ props: {
220
+ content: "Selected: {{plan}}",
221
+ mode: "expression",
222
+ fontSize: 14,
223
+ textAlign: "center",
224
+ opacity: 0.6,
225
+ marginVertical: 4,
226
+ },
227
+ },
228
+ {
229
+ id: "hero-button",
230
+ type: "Button",
231
+ props: {
232
+ label: "Get Started",
233
+ variant: "filled",
234
+ marginVertical: 8,
235
+ },
236
+ },
200
237
  ],
201
238
  },
202
239
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-example.js","sourceRoot":"","sources":["../src/onboarding-example.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE;QACR,EAAE,EAAE,oBAAoB;QACxB,IAAI,EAAE,oBAAoB;QAC1B,UAAU,EAAE,SAAS;QACrB,YAAY,EAAE,SAAS;QACvB,aAAa,EAAE,SAAS;QACxB,KAAK,EAAE,IAAI;KACZ;IACD,KAAK,EAAE;QACL;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,IAAI,EAA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CAC7B,QAAQ,EAAE,EAAE;oCACZ,UAAU,EAAE,KAAK;oCACjB,SAAS,EAAE,QAAQ;iCACpB;6BACF;4BACD;gCACE,EAAE,EAAE,aAAa;gCACjB,IAAI,EAAE,MAAM;gCACZ,KAAK,EAAE;oCACL,OAAO,EACL,mFAAmF;oCACrF,QAAQ,EAAE,EAAE;oCACZ,SAAS,EAAE,QAAQ;oCACnB,UAAU,EAAE,EAAE;oCACd,OAAO,EAAE,GAAG;iCACb;6BACF;yBACF;qBACF;iBACF;aACF;YACD,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,EAAE;YACjB,mBAAmB,EAAE,UAAU;SAChC;QACD;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,KAAK,EAAE,mBAAmB;gBAC1B,QAAQ,EAAE,0BAA0B;gBACpC,YAAY,EAAE;oBACZ;wBACE,OAAO,EACL,wFAAwF;wBAC1F,UAAU,EAAE,eAAe;wBAC3B,YAAY,EAAE,CAAC;qBAChB;iBACF;gBACD,qBAAqB,EAAE,cAAc;aACtC;YACD,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,EAAE;YACjB,mBAAmB,EAAE,UAAU;YAC/B,qBAAqB,EAAE,KAAK;SAC7B;KACF;IACD,aAAa,EAAE,EAAE;CACG,CAAC"}
1
+ {"version":3,"file":"onboarding-example.js","sourceRoot":"","sources":["../src/onboarding-example.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE;QACR,EAAE,EAAE,oBAAoB;QACxB,IAAI,EAAE,oBAAoB;QAC1B,UAAU,EAAE,SAAS;QACrB,YAAY,EAAE,SAAS;QACvB,aAAa,EAAE,SAAS;QACxB,KAAK,EAAE,IAAI;KACZ;IACD,KAAK,EAAE;QACL;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,cAAc;YACpB,O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,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,KAAK,EAAE,mBAAmB;gBAC1B,QAAQ,EAAE,0BAA0B;gBACpC,YAAY,EAAE;oBACZ;wBACE,OAAO,EACL,wFAAwF;wBAC1F,UAAU,EAAE,eAAe;wBAC3B,YAAY,EAAE,CAAC;qBAChB;iBACF;gBACD,qBAAqB,EAAE,cAAc;aACtC;YACD,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,EAAE;YACjB,mBAAmB,EAAE,UAAU;YAC/B,qBAAqB,EAAE,KAAK;SAC7B;KACF;IACD,aAAa,EAAE,EAAE;CACG,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { z } from "zod";
2
+ export type BaseBoxProps = {
3
+ width?: number;
4
+ height?: number;
5
+ opacity?: number;
6
+ margin?: number;
7
+ marginHorizontal?: number;
8
+ marginVertical?: number;
9
+ padding?: number;
10
+ paddingHorizontal?: number;
11
+ paddingVertical?: number;
12
+ borderWidth?: number;
13
+ borderRadius?: number;
14
+ borderColor?: string;
15
+ };
16
+ export declare const BaseBoxPropsSchema: z.ZodObject<{
17
+ width: z.ZodOptional<z.ZodNumber>;
18
+ height: z.ZodOptional<z.ZodNumber>;
19
+ opacity: z.ZodOptional<z.ZodNumber>;
20
+ margin: z.ZodOptional<z.ZodNumber>;
21
+ marginHorizontal: z.ZodOptional<z.ZodNumber>;
22
+ marginVertical: z.ZodOptional<z.ZodNumber>;
23
+ padding: z.ZodOptional<z.ZodNumber>;
24
+ paddingHorizontal: z.ZodOptional<z.ZodNumber>;
25
+ paddingVertical: z.ZodOptional<z.ZodNumber>;
26
+ borderWidth: z.ZodOptional<z.ZodNumber>;
27
+ borderRadius: z.ZodOptional<z.ZodNumber>;
28
+ borderColor: z.ZodOptional<z.ZodString>;
29
+ }, z.core.$strip>;
30
+ //# sourceMappingURL=BaseBoxProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseBoxProps.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/BaseBoxProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;iBAa7B,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseBoxPropsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.BaseBoxPropsSchema = zod_1.z.object({
6
+ width: zod_1.z.number().min(0).optional(),
7
+ height: zod_1.z.number().min(0).optional(),
8
+ opacity: zod_1.z.number().min(0).max(1).optional(),
9
+ margin: zod_1.z.number().optional(),
10
+ marginHorizontal: zod_1.z.number().optional(),
11
+ marginVertical: zod_1.z.number().optional(),
12
+ padding: zod_1.z.number().min(0).optional(),
13
+ paddingHorizontal: zod_1.z.number().min(0).optional(),
14
+ paddingVertical: zod_1.z.number().min(0).optional(),
15
+ borderWidth: zod_1.z.number().min(0).optional(),
16
+ borderRadius: zod_1.z.number().min(0).optional(),
17
+ borderColor: zod_1.z.string().optional(),
18
+ });
19
+ //# sourceMappingURL=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AC"}
@@ -0,0 +1,55 @@
1
+ import { z } from "zod";
2
+ import { BaseBoxProps } from "./BaseBoxProps";
3
+ export type ButtonElementProps = BaseBoxProps & {
4
+ label: string;
5
+ action?: "continue";
6
+ variant?: "filled" | "outlined" | "ghost";
7
+ backgroundColor?: string;
8
+ color?: string;
9
+ fontSize?: number;
10
+ fontWeight?: string;
11
+ fontFamily?: string;
12
+ textAlign?: "left" | "center" | "right";
13
+ alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch";
14
+ };
15
+ export declare const ButtonElementPropsSchema: z.ZodObject<{
16
+ width: z.ZodOptional<z.ZodNumber>;
17
+ height: z.ZodOptional<z.ZodNumber>;
18
+ opacity: z.ZodOptional<z.ZodNumber>;
19
+ margin: z.ZodOptional<z.ZodNumber>;
20
+ marginHorizontal: z.ZodOptional<z.ZodNumber>;
21
+ marginVertical: z.ZodOptional<z.ZodNumber>;
22
+ padding: z.ZodOptional<z.ZodNumber>;
23
+ paddingHorizontal: z.ZodOptional<z.ZodNumber>;
24
+ paddingVertical: z.ZodOptional<z.ZodNumber>;
25
+ borderWidth: z.ZodOptional<z.ZodNumber>;
26
+ borderRadius: z.ZodOptional<z.ZodNumber>;
27
+ borderColor: z.ZodOptional<z.ZodString>;
28
+ label: z.ZodString;
29
+ action: z.ZodOptional<z.ZodEnum<{
30
+ continue: "continue";
31
+ }>>;
32
+ variant: z.ZodOptional<z.ZodEnum<{
33
+ filled: "filled";
34
+ outlined: "outlined";
35
+ ghost: "ghost";
36
+ }>>;
37
+ backgroundColor: z.ZodOptional<z.ZodString>;
38
+ color: z.ZodOptional<z.ZodString>;
39
+ fontSize: z.ZodOptional<z.ZodNumber>;
40
+ fontWeight: z.ZodOptional<z.ZodString>;
41
+ fontFamily: z.ZodOptional<z.ZodString>;
42
+ textAlign: z.ZodOptional<z.ZodEnum<{
43
+ center: "center";
44
+ left: "left";
45
+ right: "right";
46
+ }>>;
47
+ alignSelf: z.ZodOptional<z.ZodEnum<{
48
+ "flex-start": "flex-start";
49
+ center: "center";
50
+ "flex-end": "flex-end";
51
+ stretch: "stretch";
52
+ auto: "auto";
53
+ }>>;
54
+ }, z.core.$strip>;
55
+ //# sourceMappingURL=ButtonElement.d.ts.map
@@ -0,0 +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;AAElE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,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,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;CACvE,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWnC,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ButtonElementPropsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const BaseBoxProps_1 = require("./BaseBoxProps");
6
+ exports.ButtonElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
7
+ label: zod_1.z.string().min(1, "label must not be empty"),
8
+ action: zod_1.z.enum(["continue"]).optional(),
9
+ variant: zod_1.z.enum(["filled", "outlined", "ghost"]).optional(),
10
+ backgroundColor: zod_1.z.string().optional(),
11
+ color: zod_1.z.string().optional(),
12
+ fontSize: zod_1.z.number().optional(),
13
+ fontWeight: zod_1.z.string().optional(),
14
+ fontFamily: zod_1.z.string().optional(),
15
+ textAlign: zod_1.z.enum(["left", "center", "right"]).optional(),
16
+ alignSelf: zod_1.z.enum(["auto", "flex-start", "center", "flex-end", "stretch"]).optional(),
17
+ });
18
+ //# sourceMappingURL=ButtonElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAerD,QAAA,wBAAwB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAChE,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,yBAAyB,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvC,OAAO,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC3D,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE;CACtF,CAAC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { z } from "zod";
2
+ import { BaseBoxProps } from "./BaseBoxProps";
3
+ export type IconElementProps = BaseBoxProps & {
4
+ name: string;
5
+ size?: number;
6
+ color?: string;
7
+ strokeWidth?: number;
8
+ backgroundColor?: string;
9
+ };
10
+ export declare const IconElementPropsSchema: z.ZodObject<{
11
+ width: z.ZodOptional<z.ZodNumber>;
12
+ height: z.ZodOptional<z.ZodNumber>;
13
+ opacity: z.ZodOptional<z.ZodNumber>;
14
+ margin: z.ZodOptional<z.ZodNumber>;
15
+ marginHorizontal: z.ZodOptional<z.ZodNumber>;
16
+ marginVertical: z.ZodOptional<z.ZodNumber>;
17
+ padding: z.ZodOptional<z.ZodNumber>;
18
+ paddingHorizontal: z.ZodOptional<z.ZodNumber>;
19
+ paddingVertical: z.ZodOptional<z.ZodNumber>;
20
+ borderWidth: z.ZodOptional<z.ZodNumber>;
21
+ borderRadius: z.ZodOptional<z.ZodNumber>;
22
+ borderColor: z.ZodOptional<z.ZodString>;
23
+ name: z.ZodString;
24
+ size: z.ZodOptional<z.ZodNumber>;
25
+ color: z.ZodOptional<z.ZodString>;
26
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
27
+ backgroundColor: z.ZodOptional<z.ZodString>;
28
+ }, z.core.$strip>;
29
+ //# sourceMappingURL=IconElement.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;iBAMjC,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IconElementPropsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const BaseBoxProps_1 = require("./BaseBoxProps");
6
+ exports.IconElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
7
+ name: zod_1.z.string().min(1, "icon name must not be empty"),
8
+ size: zod_1.z.number().nonnegative().optional(),
9
+ color: zod_1.z.string().optional(),
10
+ strokeWidth: zod_1.z.number().nonnegative().optional(),
11
+ backgroundColor: zod_1.z.string().optional(),
12
+ });
13
+ //# sourceMappingURL=IconElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/IconElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAUrD,QAAA,sBAAsB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAC9D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,6BAA6B,CAAC;IACtD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IACzC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IAChD,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { z } from "zod";
2
+ import { BaseBoxProps } from "./BaseBoxProps";
3
+ export type ImageElementProps = BaseBoxProps & {
4
+ url: string;
5
+ aspectRatio?: number;
6
+ resizeMode?: "cover" | "contain" | "stretch" | "center";
7
+ };
8
+ export declare const ImageElementPropsSchema: z.ZodObject<{
9
+ width: z.ZodOptional<z.ZodNumber>;
10
+ height: z.ZodOptional<z.ZodNumber>;
11
+ opacity: z.ZodOptional<z.ZodNumber>;
12
+ margin: z.ZodOptional<z.ZodNumber>;
13
+ marginHorizontal: z.ZodOptional<z.ZodNumber>;
14
+ marginVertical: z.ZodOptional<z.ZodNumber>;
15
+ padding: z.ZodOptional<z.ZodNumber>;
16
+ paddingHorizontal: z.ZodOptional<z.ZodNumber>;
17
+ paddingVertical: z.ZodOptional<z.ZodNumber>;
18
+ borderWidth: z.ZodOptional<z.ZodNumber>;
19
+ borderRadius: z.ZodOptional<z.ZodNumber>;
20
+ borderColor: z.ZodOptional<z.ZodString>;
21
+ url: z.ZodString;
22
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
23
+ resizeMode: z.ZodOptional<z.ZodEnum<{
24
+ center: "center";
25
+ stretch: "stretch";
26
+ cover: "cover";
27
+ contain: "contain";
28
+ }>>;
29
+ }, z.core.$strip>;
30
+ //# sourceMappingURL=ImageElement.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;iBAIlC,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImageElementPropsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const BaseBoxProps_1 = require("./BaseBoxProps");
6
+ exports.ImageElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
7
+ url: zod_1.z.string().min(1, "url must not be empty"),
8
+ aspectRatio: zod_1.z.number().optional(),
9
+ resizeMode: zod_1.z.enum(["cover", "contain", "stretch", "center"]).optional(),
10
+ });
11
+ //# sourceMappingURL=ImageElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ImageElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAQrD,QAAA,uBAAuB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAC/D,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,uBAAuB,CAAC;IAC/C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC"}