@rocapine/react-native-onboarding 1.7.0 → 1.8.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.
- package/dist/onboarding-example.d.ts +162 -0
- package/dist/onboarding-example.d.ts.map +1 -1
- package/dist/onboarding-example.js +36 -0
- package/dist/onboarding-example.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts +39 -0
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js +20 -0
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts +55 -0
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/ButtonElement.js +18 -0
- package/dist/steps/ComposableScreen/elements/ButtonElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts +37 -0
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/IconElement.js +13 -0
- package/dist/steps/ComposableScreen/elements/IconElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts +38 -0
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/ImageElement.js +11 -0
- package/dist/steps/ComposableScreen/elements/ImageElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts +98 -0
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/InputElement.js +25 -0
- package/dist/steps/ComposableScreen/elements/InputElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts +35 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.js +12 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts +74 -0
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.js +36 -0
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts +58 -0
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/RiveElement.js +14 -0
- package/dist/steps/ComposableScreen/elements/RiveElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts +81 -0
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/StackElement.js +32 -0
- package/dist/steps/ComposableScreen/elements/StackElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts +53 -0
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/TextElement.js +27 -0
- package/dist/steps/ComposableScreen/elements/TextElement.js.map +1 -0
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts +37 -0
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts.map +1 -0
- package/dist/steps/ComposableScreen/elements/VideoElement.js +13 -0
- package/dist/steps/ComposableScreen/elements/VideoElement.js.map +1 -0
- package/dist/steps/ComposableScreen/types.d.ts +40 -114
- package/dist/steps/ComposableScreen/types.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/types.js +33 -122
- package/dist/steps/ComposableScreen/types.js.map +1 -1
- package/package.json +1 -1
- package/src/onboarding-example.ts +36 -0
- package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +33 -0
- package/src/steps/ComposableScreen/elements/ButtonElement.ts +28 -0
- package/src/steps/ComposableScreen/elements/IconElement.ts +18 -0
- package/src/steps/ComposableScreen/elements/ImageElement.ts +14 -0
- package/src/steps/ComposableScreen/elements/InputElement.ts +42 -0
- package/src/steps/ComposableScreen/elements/LottieElement.ts +16 -0
- package/src/steps/ComposableScreen/elements/RadioGroupElement.ts +55 -0
- package/src/steps/ComposableScreen/elements/RiveElement.ts +20 -0
- package/src/steps/ComposableScreen/elements/StackElement.ts +57 -0
- package/src/steps/ComposableScreen/elements/TextElement.ts +47 -0
- package/src/steps/ComposableScreen/elements/VideoElement.ts +18 -0
- package/src/steps/ComposableScreen/types.ts +56 -235
|
@@ -164,6 +164,11 @@ export declare const onboardingExample: {
|
|
|
164
164
|
fontFamily?: undefined;
|
|
165
165
|
lineHeight?: undefined;
|
|
166
166
|
opacity?: undefined;
|
|
167
|
+
defaultValue?: undefined;
|
|
168
|
+
gap?: undefined;
|
|
169
|
+
items?: undefined;
|
|
170
|
+
label?: undefined;
|
|
171
|
+
variant?: undefined;
|
|
167
172
|
};
|
|
168
173
|
} | {
|
|
169
174
|
id: string;
|
|
@@ -197,6 +202,11 @@ export declare const onboardingExample: {
|
|
|
197
202
|
fontFamily?: undefined;
|
|
198
203
|
lineHeight?: undefined;
|
|
199
204
|
opacity?: undefined;
|
|
205
|
+
defaultValue?: undefined;
|
|
206
|
+
gap?: undefined;
|
|
207
|
+
items?: undefined;
|
|
208
|
+
label?: undefined;
|
|
209
|
+
variant?: undefined;
|
|
200
210
|
};
|
|
201
211
|
} | {
|
|
202
212
|
id: string;
|
|
@@ -230,6 +240,11 @@ export declare const onboardingExample: {
|
|
|
230
240
|
fontFamily?: undefined;
|
|
231
241
|
lineHeight?: undefined;
|
|
232
242
|
opacity?: undefined;
|
|
243
|
+
defaultValue?: undefined;
|
|
244
|
+
gap?: undefined;
|
|
245
|
+
items?: undefined;
|
|
246
|
+
label?: undefined;
|
|
247
|
+
variant?: undefined;
|
|
233
248
|
};
|
|
234
249
|
} | {
|
|
235
250
|
id: string;
|
|
@@ -263,6 +278,11 @@ export declare const onboardingExample: {
|
|
|
263
278
|
fontFamily?: undefined;
|
|
264
279
|
lineHeight?: undefined;
|
|
265
280
|
opacity?: undefined;
|
|
281
|
+
defaultValue?: undefined;
|
|
282
|
+
gap?: undefined;
|
|
283
|
+
items?: undefined;
|
|
284
|
+
label?: undefined;
|
|
285
|
+
variant?: undefined;
|
|
266
286
|
};
|
|
267
287
|
} | {
|
|
268
288
|
id: string;
|
|
@@ -296,6 +316,11 @@ export declare const onboardingExample: {
|
|
|
296
316
|
fontFamily?: undefined;
|
|
297
317
|
lineHeight?: undefined;
|
|
298
318
|
opacity?: undefined;
|
|
319
|
+
defaultValue?: undefined;
|
|
320
|
+
gap?: undefined;
|
|
321
|
+
items?: undefined;
|
|
322
|
+
label?: undefined;
|
|
323
|
+
variant?: undefined;
|
|
299
324
|
};
|
|
300
325
|
} | {
|
|
301
326
|
id: string;
|
|
@@ -329,6 +354,11 @@ export declare const onboardingExample: {
|
|
|
329
354
|
fontFamily?: undefined;
|
|
330
355
|
lineHeight?: undefined;
|
|
331
356
|
opacity?: undefined;
|
|
357
|
+
defaultValue?: undefined;
|
|
358
|
+
gap?: undefined;
|
|
359
|
+
items?: undefined;
|
|
360
|
+
label?: undefined;
|
|
361
|
+
variant?: undefined;
|
|
332
362
|
};
|
|
333
363
|
} | {
|
|
334
364
|
id: string;
|
|
@@ -362,6 +392,11 @@ export declare const onboardingExample: {
|
|
|
362
392
|
fontFamily?: undefined;
|
|
363
393
|
lineHeight?: undefined;
|
|
364
394
|
opacity?: undefined;
|
|
395
|
+
defaultValue?: undefined;
|
|
396
|
+
gap?: undefined;
|
|
397
|
+
items?: undefined;
|
|
398
|
+
label?: undefined;
|
|
399
|
+
variant?: undefined;
|
|
365
400
|
};
|
|
366
401
|
} | {
|
|
367
402
|
id: string;
|
|
@@ -395,6 +430,11 @@ export declare const onboardingExample: {
|
|
|
395
430
|
mode?: undefined;
|
|
396
431
|
lineHeight?: undefined;
|
|
397
432
|
opacity?: undefined;
|
|
433
|
+
defaultValue?: undefined;
|
|
434
|
+
gap?: undefined;
|
|
435
|
+
items?: undefined;
|
|
436
|
+
label?: undefined;
|
|
437
|
+
variant?: undefined;
|
|
398
438
|
};
|
|
399
439
|
} | {
|
|
400
440
|
id: string;
|
|
@@ -428,6 +468,128 @@ export declare const onboardingExample: {
|
|
|
428
468
|
mode?: undefined;
|
|
429
469
|
fontWeight?: undefined;
|
|
430
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;
|
|
431
593
|
};
|
|
432
594
|
})[];
|
|
433
595
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding-example.d.ts","sourceRoot":"","sources":["../src/onboarding-example.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"onboarding-example.d.ts","sourceRoot":"","sources":["../src/onboarding-example.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QR,CAAC"}
|
|
@@ -198,6 +198,42 @@ exports.onboardingExample = {
|
|
|
198
198
|
opacity: 0.6,
|
|
199
199
|
},
|
|
200
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
|
+
},
|
|
201
237
|
],
|
|
202
238
|
},
|
|
203
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,EAAE,cAAc;YACpB,OAAO,EAAE;gBACP,KAAK,EAAE,qBAAqB;gBAC5B,WAAW,EAAE,+CAA+C;gBAC5D,WAAW,EAAE;oBACX,GAAG,EAAE,mDAAmD;oBACxD,IAAI,EAAE,OAAO;iBACd;aACF;YACD,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,EAAE;YACjB,mBAAmB,EAAE,UAAU;YAC/B,qBAAqB,EAAE,IAAI;SAC5B;QACD;YACE,EAAE,EAAE,yBAAyB;YAC7B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,KAAK,EAAE,6BAA6B;gBACpC,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;oBAC9B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;oBAChC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;oBAClC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;iBACrC;gBACD,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,IAAI;gBACd,cAAc,EAAE,KAAK;aACtB;YACD,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,EAAE;YAC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gCACZ,KAAK,EAAE;oCACL,OAAO,EAAE,oBAAoB;oCAC7B,IAAI,EAAE,YAAY;oCAClB,QAAQ,EAAE,EAAE;oCACZ,SAAS,EAAE,QAAQ;oCACnB,OAAO,EAAE,GAAG;oCACZ,cAAc,EAAE,CAAC;iCAClB;6BACF;4BACD;gCACE,EAAE,EAAE,aAAa;gCACjB,IAAI,EAAE,QAAQ;gCACd,KAAK,EAAE;oCACL,KAAK,EAAE,aAAa;oCACpB,OAAO,EAAE,QAAQ;oCACjB,cAAc,EAAE,CAAC;iCAClB;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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export type BaseBoxProps = {
|
|
3
|
+
width?: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
6
|
+
opacity?: number;
|
|
7
|
+
margin?: number;
|
|
8
|
+
marginHorizontal?: number;
|
|
9
|
+
marginVertical?: number;
|
|
10
|
+
padding?: number;
|
|
11
|
+
paddingHorizontal?: number;
|
|
12
|
+
paddingVertical?: number;
|
|
13
|
+
borderWidth?: number;
|
|
14
|
+
borderRadius?: number;
|
|
15
|
+
borderColor?: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const BaseBoxPropsSchema: z.ZodObject<{
|
|
18
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
"flex-start": "flex-start";
|
|
22
|
+
center: "center";
|
|
23
|
+
"flex-end": "flex-end";
|
|
24
|
+
stretch: "stretch";
|
|
25
|
+
auto: "auto";
|
|
26
|
+
baseline: "baseline";
|
|
27
|
+
}>>;
|
|
28
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
margin: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
marginHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
marginVertical: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
paddingHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
paddingVertical: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
borderColor: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
//# 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,SAAS,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;IACnF,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;;;;;;;;;;;;;;;;;;;;;iBAc7B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
alignSelf: zod_1.z.enum(["auto", "flex-start", "flex-end", "center", "stretch", "baseline"]).optional(),
|
|
9
|
+
opacity: zod_1.z.number().min(0).max(1).optional(),
|
|
10
|
+
margin: zod_1.z.number().optional(),
|
|
11
|
+
marginHorizontal: zod_1.z.number().optional(),
|
|
12
|
+
marginVertical: zod_1.z.number().optional(),
|
|
13
|
+
padding: zod_1.z.number().min(0).optional(),
|
|
14
|
+
paddingHorizontal: zod_1.z.number().min(0).optional(),
|
|
15
|
+
paddingVertical: zod_1.z.number().min(0).optional(),
|
|
16
|
+
borderWidth: zod_1.z.number().min(0).optional(),
|
|
17
|
+
borderRadius: zod_1.z.number().min(0).optional(),
|
|
18
|
+
borderColor: zod_1.z.string().optional(),
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=BaseBoxProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseBoxProps.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/BaseBoxProps.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAkBX,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpC,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;IACjG,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC5C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACrC,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC/C,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC1C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC"}
|
|
@@ -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,37 @@
|
|
|
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
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
"flex-start": "flex-start";
|
|
15
|
+
center: "center";
|
|
16
|
+
"flex-end": "flex-end";
|
|
17
|
+
stretch: "stretch";
|
|
18
|
+
auto: "auto";
|
|
19
|
+
baseline: "baseline";
|
|
20
|
+
}>>;
|
|
21
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
margin: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
marginHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
marginVertical: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
paddingHorizontal: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
paddingVertical: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
borderColor: z.ZodOptional<z.ZodString>;
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
color: z.ZodOptional<z.ZodString>;
|
|
34
|
+
strokeWidth: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
//# 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,38 @@
|
|
|
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
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
"flex-start": "flex-start";
|
|
13
|
+
center: "center";
|
|
14
|
+
"flex-end": "flex-end";
|
|
15
|
+
stretch: "stretch";
|
|
16
|
+
auto: "auto";
|
|
17
|
+
baseline: "baseline";
|
|
18
|
+
}>>;
|
|
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
|
+
url: z.ZodString;
|
|
30
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
resizeMode: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
center: "center";
|
|
33
|
+
stretch: "stretch";
|
|
34
|
+
cover: "cover";
|
|
35
|
+
contain: "contain";
|
|
36
|
+
}>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
//# 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"}
|