@rocapine/react-native-onboarding 1.23.0 → 1.24.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 +497 -0
- package/dist/onboarding-example.d.ts.map +1 -1
- package/dist/onboarding-example.js +77 -0
- 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/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/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/package.json +1 -1
- package/src/onboarding-example.ts +77 -0
- package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +20 -0
- package/src/steps/ComposableScreen/elements/ButtonElement.ts +36 -2
|
@@ -76,6 +76,14 @@ export declare const CarouselElementPropsSchema: z.ZodObject<{
|
|
|
76
76
|
borderWidth: z.ZodOptional<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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C1C,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,gBA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AS,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"}
|
|
@@ -67,6 +67,14 @@ export declare const LottieElementPropsSchema: 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
|
source: z.ZodString;
|
|
71
79
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
72
80
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LottieElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/LottieElement.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,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"LottieElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/LottieElement.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,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKnC,CAAC"}
|
|
@@ -86,6 +86,14 @@ export declare const RadioGroupElementPropsSchema: 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
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
91
99
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroupElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/RadioGroupElement.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,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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BvC,CAAC"}
|
|
@@ -69,6 +69,14 @@ export declare const RiveElementPropsSchema: z.ZodObject<{
|
|
|
69
69
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
70
70
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
72
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
73
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
width: z.ZodNumber;
|
|
75
|
+
height: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
72
80
|
url: z.ZodString;
|
|
73
81
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
74
82
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RiveElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/RiveElement.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,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;IAChG,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,aAAa,CAAC;IAC3I,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"RiveElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/RiveElement.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,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;IAChG,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,aAAa,CAAC;IAC3I,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOjC,CAAC"}
|
|
@@ -67,6 +67,14 @@ export declare const SafeAreaViewElementPropsSchema: 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
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
71
79
|
margin: "margin";
|
|
72
80
|
padding: "padding";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeAreaViewElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/SafeAreaViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9D,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG;IACpD,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC;CAC1E,CAAC;AAKF,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"SafeAreaViewElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/SafeAreaViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9D,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG;IACpD,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC;CAC1E,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAazC,CAAC"}
|
|
@@ -67,6 +67,14 @@ export declare const StackElementPropsSchema: 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
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
71
79
|
alignItems: z.ZodOptional<z.ZodEnum<{
|
|
72
80
|
"flex-start": "flex-start";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/StackElement.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,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAC9D,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC;IACzF,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"StackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/StackElement.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,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAC9D,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC;IACzF,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKlC,CAAC"}
|
|
@@ -77,6 +77,14 @@ export declare const TextElementPropsSchema: z.ZodObject<{
|
|
|
77
77
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
79
79
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
80
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
81
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
width: z.ZodNumber;
|
|
83
|
+
height: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
80
88
|
content: z.ZodString;
|
|
81
89
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
82
90
|
plain: "plain";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/TextElement.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,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9B,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,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"TextElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/TextElement.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,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9B,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,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWjC,CAAC"}
|
|
@@ -69,6 +69,14 @@ export declare const VideoElementPropsSchema: z.ZodObject<{
|
|
|
69
69
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
70
70
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
72
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
73
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
width: z.ZodNumber;
|
|
75
|
+
height: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
72
80
|
url: z.ZodString;
|
|
73
81
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
74
82
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/VideoElement.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,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"VideoElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/VideoElement.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,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOlC,CAAC"}
|
|
@@ -62,5 +62,13 @@ export declare const ZStackElementPropsSchema: z.ZodObject<{
|
|
|
62
62
|
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
63
63
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
64
64
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
65
|
+
shadowColor: z.ZodOptional<z.ZodString>;
|
|
66
|
+
shadowOffset: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
width: z.ZodNumber;
|
|
68
|
+
height: z.ZodNumber;
|
|
69
|
+
}, z.core.$strip>>;
|
|
70
|
+
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
elevation: z.ZodOptional<z.ZodNumber>;
|
|
65
73
|
}, z.core.$strip>;
|
|
66
74
|
//# sourceMappingURL=ZStackElement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.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,CAAC;AAE9C,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.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,CAAC;AAE9C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocapine/react-native-onboarding",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"description": "Headless React Native SDK for Rocapine Onboarding Studio - Data fetching, state management, and hooks",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -545,6 +545,67 @@ export const onboardingExample = {
|
|
|
545
545
|
},
|
|
546
546
|
},
|
|
547
547
|
},
|
|
548
|
+
{
|
|
549
|
+
id: "states-heading",
|
|
550
|
+
type: "Text",
|
|
551
|
+
props: {
|
|
552
|
+
content: "Button states & shadow",
|
|
553
|
+
fontSize: 13,
|
|
554
|
+
fontWeight: "700",
|
|
555
|
+
marginVertical: 4,
|
|
556
|
+
opacity: 0.5,
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
id: "btn-shadow",
|
|
561
|
+
type: "Button",
|
|
562
|
+
props: {
|
|
563
|
+
label: "Elevated (shadow)",
|
|
564
|
+
variant: "filled",
|
|
565
|
+
marginVertical: 4,
|
|
566
|
+
backgroundColor: "#6C63FF",
|
|
567
|
+
shadowColor: "#6C63FF",
|
|
568
|
+
shadowOffset: { width: 0, height: 6 },
|
|
569
|
+
shadowOpacity: 0.4,
|
|
570
|
+
shadowRadius: 12,
|
|
571
|
+
elevation: 8,
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
id: "btn-pressed",
|
|
576
|
+
type: "Button",
|
|
577
|
+
props: {
|
|
578
|
+
label: "Press me (hold)",
|
|
579
|
+
variant: "filled",
|
|
580
|
+
marginVertical: 4,
|
|
581
|
+
backgroundColor: "#10b981",
|
|
582
|
+
transitionDurationMs: 300,
|
|
583
|
+
pressedStyle: {
|
|
584
|
+
opacity: 0.6,
|
|
585
|
+
backgroundColor: "#065f46",
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
id: "btn-disabled",
|
|
591
|
+
type: "Button",
|
|
592
|
+
props: {
|
|
593
|
+
label: "Always disabled",
|
|
594
|
+
variant: "filled",
|
|
595
|
+
marginVertical: 4,
|
|
596
|
+
actions: ["continue"],
|
|
597
|
+
disabledWhen: {
|
|
598
|
+
variable: "never_enabled",
|
|
599
|
+
operator: "neq",
|
|
600
|
+
value: "yes",
|
|
601
|
+
},
|
|
602
|
+
disabledStyle: {
|
|
603
|
+
backgroundColor: "#fee2e2",
|
|
604
|
+
color: "#b91c1c",
|
|
605
|
+
borderRadius: 12,
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
},
|
|
548
609
|
{
|
|
549
610
|
id: "consent-toggle",
|
|
550
611
|
type: "Button",
|
|
@@ -570,6 +631,22 @@ export const onboardingExample = {
|
|
|
570
631
|
operator: "neq",
|
|
571
632
|
value: "yes",
|
|
572
633
|
},
|
|
634
|
+
transitionDurationMs: 180,
|
|
635
|
+
shadowColor: "#000",
|
|
636
|
+
shadowOffset: { width: 0, height: 4 },
|
|
637
|
+
shadowOpacity: 0.18,
|
|
638
|
+
shadowRadius: 8,
|
|
639
|
+
elevation: 4,
|
|
640
|
+
pressedStyle: {
|
|
641
|
+
opacity: 0.7,
|
|
642
|
+
backgroundColor: "#4f46e5",
|
|
643
|
+
},
|
|
644
|
+
disabledStyle: {
|
|
645
|
+
backgroundColor: "#d1d5db",
|
|
646
|
+
color: "#6b7280",
|
|
647
|
+
shadowOpacity: 0,
|
|
648
|
+
elevation: 0,
|
|
649
|
+
},
|
|
573
650
|
},
|
|
574
651
|
},
|
|
575
652
|
],
|
|
@@ -40,6 +40,16 @@ export const GradientBackgroundSchema = z.discriminatedUnion("type", [
|
|
|
40
40
|
}),
|
|
41
41
|
]);
|
|
42
42
|
|
|
43
|
+
export type ShadowOffset = {
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export const ShadowOffsetSchema = z.object({
|
|
49
|
+
width: z.number(),
|
|
50
|
+
height: z.number(),
|
|
51
|
+
});
|
|
52
|
+
|
|
43
53
|
export type BaseBoxProps = {
|
|
44
54
|
width?: number | string;
|
|
45
55
|
height?: number | string;
|
|
@@ -64,6 +74,11 @@ export type BaseBoxProps = {
|
|
|
64
74
|
borderWidth?: number;
|
|
65
75
|
borderRadius?: number;
|
|
66
76
|
borderColor?: string;
|
|
77
|
+
shadowColor?: string;
|
|
78
|
+
shadowOffset?: ShadowOffset;
|
|
79
|
+
shadowOpacity?: number;
|
|
80
|
+
shadowRadius?: number;
|
|
81
|
+
elevation?: number;
|
|
67
82
|
};
|
|
68
83
|
|
|
69
84
|
export const BaseBoxPropsSchema = z.object({
|
|
@@ -90,4 +105,9 @@ export const BaseBoxPropsSchema = z.object({
|
|
|
90
105
|
borderWidth: z.number().min(0).optional(),
|
|
91
106
|
borderRadius: z.number().min(0).optional(),
|
|
92
107
|
borderColor: z.string().optional(),
|
|
108
|
+
shadowColor: z.string().optional(),
|
|
109
|
+
shadowOffset: ShadowOffsetSchema.optional(),
|
|
110
|
+
shadowOpacity: z.number().min(0).max(1).optional(),
|
|
111
|
+
shadowRadius: z.number().min(0).optional(),
|
|
112
|
+
elevation: z.number().min(0).optional(),
|
|
93
113
|
});
|
|
@@ -26,6 +26,20 @@ export const ButtonActionSchema = z.union([
|
|
|
26
26
|
CustomButtonActionSchema,
|
|
27
27
|
]);
|
|
28
28
|
|
|
29
|
+
type ButtonOverridableProps = BaseBoxProps & {
|
|
30
|
+
variant?: "filled" | "outlined" | "ghost";
|
|
31
|
+
backgroundColor?: string;
|
|
32
|
+
color?: string;
|
|
33
|
+
fontSize?: number;
|
|
34
|
+
fontWeight?: string;
|
|
35
|
+
fontFamily?: string | "inherit";
|
|
36
|
+
fontStyle?: "normal" | "italic";
|
|
37
|
+
textAlign?: "left" | "center" | "right";
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** Subset of ButtonElementProps that can be overridden per-state. */
|
|
41
|
+
export type ButtonStyleOverride = Partial<ButtonOverridableProps>;
|
|
42
|
+
|
|
29
43
|
export type ButtonElementProps = BaseBoxProps & {
|
|
30
44
|
label: string;
|
|
31
45
|
/**
|
|
@@ -56,12 +70,29 @@ export type ButtonElementProps = BaseBoxProps & {
|
|
|
56
70
|
* the same condition schema as `Branch.condition`.
|
|
57
71
|
*/
|
|
58
72
|
disabledWhen?: LeafCondition | ConditionGroup;
|
|
59
|
-
/**
|
|
73
|
+
/** @deprecated Use `disabledStyle.backgroundColor`. Falls back when `disabledStyle` omitted. */
|
|
60
74
|
disabledBackgroundColor?: string;
|
|
61
|
-
/**
|
|
75
|
+
/** @deprecated Use `disabledStyle.color`. Falls back when `disabledStyle` omitted. */
|
|
62
76
|
disabledColor?: string;
|
|
77
|
+
/** Style overrides merged on top of base props while pressed. */
|
|
78
|
+
pressedStyle?: ButtonStyleOverride;
|
|
79
|
+
/** Style overrides merged on top of base props while disabled. Wins over deprecated `disabled*` fields. */
|
|
80
|
+
disabledStyle?: ButtonStyleOverride;
|
|
81
|
+
/** Animation duration (ms) between rest/pressed/disabled. Default 150. */
|
|
82
|
+
transitionDurationMs?: number;
|
|
63
83
|
};
|
|
64
84
|
|
|
85
|
+
export const ButtonStyleOverrideSchema = BaseBoxPropsSchema.extend({
|
|
86
|
+
variant: z.enum(["filled", "outlined", "ghost"]).optional(),
|
|
87
|
+
backgroundColor: z.string().optional(),
|
|
88
|
+
color: z.string().optional(),
|
|
89
|
+
fontSize: z.number().optional(),
|
|
90
|
+
fontWeight: z.string().optional(),
|
|
91
|
+
fontFamily: z.string().optional(),
|
|
92
|
+
fontStyle: z.enum(["normal", "italic"]).optional(),
|
|
93
|
+
textAlign: z.enum(["left", "center", "right"]).optional(),
|
|
94
|
+
}).partial();
|
|
95
|
+
|
|
65
96
|
export const ButtonElementPropsSchema = BaseBoxPropsSchema.extend({
|
|
66
97
|
label: z.string().min(1, "label must not be empty"),
|
|
67
98
|
actions: z.array(ButtonActionSchema).optional(),
|
|
@@ -77,4 +108,7 @@ export const ButtonElementPropsSchema = BaseBoxPropsSchema.extend({
|
|
|
77
108
|
disabledWhen: z.union([LeafConditionSchema, ConditionGroupSchema]).optional(),
|
|
78
109
|
disabledBackgroundColor: z.string().optional(),
|
|
79
110
|
disabledColor: z.string().optional(),
|
|
111
|
+
pressedStyle: ButtonStyleOverrideSchema.optional(),
|
|
112
|
+
disabledStyle: ButtonStyleOverrideSchema.optional(),
|
|
113
|
+
transitionDurationMs: z.number().min(0).optional(),
|
|
80
114
|
});
|