@rocapine/react-native-onboarding 1.31.0 → 1.32.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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/onboarding-example.d.ts +98 -0
- package/dist/onboarding-example.d.ts.map +1 -1
- package/dist/onboarding-example.js +10 -0
- package/dist/onboarding-example.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts +220 -0
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js +83 -0
- package/dist/steps/ComposableScreen/elements/BaseBoxProps.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts +640 -0
- package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/IconElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/ImageElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/InputElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/LottieElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ProgressIndicatorElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/ProgressIndicatorElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/RiveElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ScrollViewElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/ScrollViewElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/StackElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts +200 -0
- package/dist/steps/ComposableScreen/elements/TextElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/TextElement.js +6 -0
- package/dist/steps/ComposableScreen/elements/TextElement.js.map +1 -1
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/VideoElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/WheelPickerElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/WheelPickerElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts +160 -0
- package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/types.d.ts +1 -0
- package/dist/steps/ComposableScreen/types.d.ts.map +1 -1
- package/dist/steps/ComposableScreen/types.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +12 -0
- package/src/onboarding-example.ts +10 -0
- package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +211 -0
- package/src/steps/ComposableScreen/elements/TextElement.ts +14 -0
- package/src/steps/ComposableScreen/types.ts +14 -0
|
@@ -87,6 +87,166 @@ export declare const ScrollViewElementPropsSchema: z.ZodObject<{
|
|
|
87
87
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
translateX: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
translateY: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
scaleX: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
scaleY: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
animation: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
entering: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
preset: z.ZodEnum<{
|
|
101
|
+
FadeIn: "FadeIn";
|
|
102
|
+
FadeInUp: "FadeInUp";
|
|
103
|
+
FadeInDown: "FadeInDown";
|
|
104
|
+
FadeInLeft: "FadeInLeft";
|
|
105
|
+
FadeInRight: "FadeInRight";
|
|
106
|
+
SlideInUp: "SlideInUp";
|
|
107
|
+
SlideInDown: "SlideInDown";
|
|
108
|
+
SlideInLeft: "SlideInLeft";
|
|
109
|
+
SlideInRight: "SlideInRight";
|
|
110
|
+
ZoomIn: "ZoomIn";
|
|
111
|
+
ZoomInRotate: "ZoomInRotate";
|
|
112
|
+
ZoomInUp: "ZoomInUp";
|
|
113
|
+
ZoomInDown: "ZoomInDown";
|
|
114
|
+
ZoomInLeft: "ZoomInLeft";
|
|
115
|
+
ZoomInRight: "ZoomInRight";
|
|
116
|
+
ZoomInEasyUp: "ZoomInEasyUp";
|
|
117
|
+
ZoomInEasyDown: "ZoomInEasyDown";
|
|
118
|
+
BounceIn: "BounceIn";
|
|
119
|
+
BounceInUp: "BounceInUp";
|
|
120
|
+
BounceInDown: "BounceInDown";
|
|
121
|
+
BounceInLeft: "BounceInLeft";
|
|
122
|
+
BounceInRight: "BounceInRight";
|
|
123
|
+
FlipInXUp: "FlipInXUp";
|
|
124
|
+
FlipInYLeft: "FlipInYLeft";
|
|
125
|
+
FlipInXDown: "FlipInXDown";
|
|
126
|
+
FlipInYRight: "FlipInYRight";
|
|
127
|
+
FlipInEasyX: "FlipInEasyX";
|
|
128
|
+
FlipInEasyY: "FlipInEasyY";
|
|
129
|
+
StretchInX: "StretchInX";
|
|
130
|
+
StretchInY: "StretchInY";
|
|
131
|
+
RotateInDownLeft: "RotateInDownLeft";
|
|
132
|
+
RotateInDownRight: "RotateInDownRight";
|
|
133
|
+
RotateInUpLeft: "RotateInUpLeft";
|
|
134
|
+
RotateInUpRight: "RotateInUpRight";
|
|
135
|
+
RollInLeft: "RollInLeft";
|
|
136
|
+
RollInRight: "RollInRight";
|
|
137
|
+
PinwheelIn: "PinwheelIn";
|
|
138
|
+
LightSpeedInLeft: "LightSpeedInLeft";
|
|
139
|
+
LightSpeedInRight: "LightSpeedInRight";
|
|
140
|
+
}>;
|
|
141
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
linear: "linear";
|
|
145
|
+
"ease-in": "ease-in";
|
|
146
|
+
"ease-out": "ease-out";
|
|
147
|
+
"ease-in-out": "ease-in-out";
|
|
148
|
+
}>>;
|
|
149
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
exiting: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
preset: z.ZodEnum<{
|
|
157
|
+
FadeOut: "FadeOut";
|
|
158
|
+
FadeOutUp: "FadeOutUp";
|
|
159
|
+
FadeOutDown: "FadeOutDown";
|
|
160
|
+
FadeOutLeft: "FadeOutLeft";
|
|
161
|
+
FadeOutRight: "FadeOutRight";
|
|
162
|
+
SlideOutUp: "SlideOutUp";
|
|
163
|
+
SlideOutDown: "SlideOutDown";
|
|
164
|
+
SlideOutLeft: "SlideOutLeft";
|
|
165
|
+
SlideOutRight: "SlideOutRight";
|
|
166
|
+
ZoomOut: "ZoomOut";
|
|
167
|
+
ZoomOutRotate: "ZoomOutRotate";
|
|
168
|
+
ZoomOutUp: "ZoomOutUp";
|
|
169
|
+
ZoomOutDown: "ZoomOutDown";
|
|
170
|
+
ZoomOutLeft: "ZoomOutLeft";
|
|
171
|
+
ZoomOutRight: "ZoomOutRight";
|
|
172
|
+
ZoomOutEasyUp: "ZoomOutEasyUp";
|
|
173
|
+
ZoomOutEasyDown: "ZoomOutEasyDown";
|
|
174
|
+
BounceOut: "BounceOut";
|
|
175
|
+
BounceOutUp: "BounceOutUp";
|
|
176
|
+
BounceOutDown: "BounceOutDown";
|
|
177
|
+
BounceOutLeft: "BounceOutLeft";
|
|
178
|
+
BounceOutRight: "BounceOutRight";
|
|
179
|
+
FlipOutXUp: "FlipOutXUp";
|
|
180
|
+
FlipOutYLeft: "FlipOutYLeft";
|
|
181
|
+
FlipOutXDown: "FlipOutXDown";
|
|
182
|
+
FlipOutYRight: "FlipOutYRight";
|
|
183
|
+
FlipOutEasyX: "FlipOutEasyX";
|
|
184
|
+
FlipOutEasyY: "FlipOutEasyY";
|
|
185
|
+
StretchOutX: "StretchOutX";
|
|
186
|
+
StretchOutY: "StretchOutY";
|
|
187
|
+
RotateOutDownLeft: "RotateOutDownLeft";
|
|
188
|
+
RotateOutDownRight: "RotateOutDownRight";
|
|
189
|
+
RotateOutUpLeft: "RotateOutUpLeft";
|
|
190
|
+
RotateOutUpRight: "RotateOutUpRight";
|
|
191
|
+
RollOutLeft: "RollOutLeft";
|
|
192
|
+
RollOutRight: "RollOutRight";
|
|
193
|
+
PinwheelOut: "PinwheelOut";
|
|
194
|
+
LightSpeedOutLeft: "LightSpeedOutLeft";
|
|
195
|
+
LightSpeedOutRight: "LightSpeedOutRight";
|
|
196
|
+
}>;
|
|
197
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
198
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
linear: "linear";
|
|
201
|
+
"ease-in": "ease-in";
|
|
202
|
+
"ease-out": "ease-out";
|
|
203
|
+
"ease-in-out": "ease-in-out";
|
|
204
|
+
}>>;
|
|
205
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
210
|
+
}, z.core.$strip>>;
|
|
211
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
preset: z.ZodEnum<{
|
|
213
|
+
LinearTransition: "LinearTransition";
|
|
214
|
+
FadingTransition: "FadingTransition";
|
|
215
|
+
SequencedTransition: "SequencedTransition";
|
|
216
|
+
JumpingTransition: "JumpingTransition";
|
|
217
|
+
CurvedTransition: "CurvedTransition";
|
|
218
|
+
EntryExitTransition: "EntryExitTransition";
|
|
219
|
+
}>;
|
|
220
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
222
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
effect: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
preset: z.ZodEnum<{
|
|
229
|
+
pulse: "pulse";
|
|
230
|
+
fade: "fade";
|
|
231
|
+
rotate: "rotate";
|
|
232
|
+
shimmer: "shimmer";
|
|
233
|
+
bounce: "bounce";
|
|
234
|
+
}>;
|
|
235
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
238
|
+
linear: "linear";
|
|
239
|
+
"ease-in": "ease-in";
|
|
240
|
+
"ease-out": "ease-out";
|
|
241
|
+
"ease-in-out": "ease-in-out";
|
|
242
|
+
}>>;
|
|
243
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
+
minScale: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
maxScale: z.ZodOptional<z.ZodNumber>;
|
|
246
|
+
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
247
|
+
degrees: z.ZodOptional<z.ZodNumber>;
|
|
248
|
+
}, z.core.$strip>>;
|
|
249
|
+
}, z.core.$strip>>;
|
|
90
250
|
horizontal: z.ZodOptional<z.ZodBoolean>;
|
|
91
251
|
bounces: z.ZodOptional<z.ZodBoolean>;
|
|
92
252
|
showsVerticalScrollIndicator: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollViewElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ScrollViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,yBAAyB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;CAC5D,CAAC;AASF,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"ScrollViewElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ScrollViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,yBAAyB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;CAC5D,CAAC;AASF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUvC,CAAC"}
|
|
@@ -76,6 +76,166 @@ export declare const StackElementPropsSchema: z.ZodObject<{
|
|
|
76
76
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
translateX: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
translateY: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
scaleX: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
scaleY: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
animation: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
entering: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
preset: z.ZodEnum<{
|
|
90
|
+
FadeIn: "FadeIn";
|
|
91
|
+
FadeInUp: "FadeInUp";
|
|
92
|
+
FadeInDown: "FadeInDown";
|
|
93
|
+
FadeInLeft: "FadeInLeft";
|
|
94
|
+
FadeInRight: "FadeInRight";
|
|
95
|
+
SlideInUp: "SlideInUp";
|
|
96
|
+
SlideInDown: "SlideInDown";
|
|
97
|
+
SlideInLeft: "SlideInLeft";
|
|
98
|
+
SlideInRight: "SlideInRight";
|
|
99
|
+
ZoomIn: "ZoomIn";
|
|
100
|
+
ZoomInRotate: "ZoomInRotate";
|
|
101
|
+
ZoomInUp: "ZoomInUp";
|
|
102
|
+
ZoomInDown: "ZoomInDown";
|
|
103
|
+
ZoomInLeft: "ZoomInLeft";
|
|
104
|
+
ZoomInRight: "ZoomInRight";
|
|
105
|
+
ZoomInEasyUp: "ZoomInEasyUp";
|
|
106
|
+
ZoomInEasyDown: "ZoomInEasyDown";
|
|
107
|
+
BounceIn: "BounceIn";
|
|
108
|
+
BounceInUp: "BounceInUp";
|
|
109
|
+
BounceInDown: "BounceInDown";
|
|
110
|
+
BounceInLeft: "BounceInLeft";
|
|
111
|
+
BounceInRight: "BounceInRight";
|
|
112
|
+
FlipInXUp: "FlipInXUp";
|
|
113
|
+
FlipInYLeft: "FlipInYLeft";
|
|
114
|
+
FlipInXDown: "FlipInXDown";
|
|
115
|
+
FlipInYRight: "FlipInYRight";
|
|
116
|
+
FlipInEasyX: "FlipInEasyX";
|
|
117
|
+
FlipInEasyY: "FlipInEasyY";
|
|
118
|
+
StretchInX: "StretchInX";
|
|
119
|
+
StretchInY: "StretchInY";
|
|
120
|
+
RotateInDownLeft: "RotateInDownLeft";
|
|
121
|
+
RotateInDownRight: "RotateInDownRight";
|
|
122
|
+
RotateInUpLeft: "RotateInUpLeft";
|
|
123
|
+
RotateInUpRight: "RotateInUpRight";
|
|
124
|
+
RollInLeft: "RollInLeft";
|
|
125
|
+
RollInRight: "RollInRight";
|
|
126
|
+
PinwheelIn: "PinwheelIn";
|
|
127
|
+
LightSpeedInLeft: "LightSpeedInLeft";
|
|
128
|
+
LightSpeedInRight: "LightSpeedInRight";
|
|
129
|
+
}>;
|
|
130
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
133
|
+
linear: "linear";
|
|
134
|
+
"ease-in": "ease-in";
|
|
135
|
+
"ease-out": "ease-out";
|
|
136
|
+
"ease-in-out": "ease-in-out";
|
|
137
|
+
}>>;
|
|
138
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
139
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
144
|
+
exiting: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
preset: z.ZodEnum<{
|
|
146
|
+
FadeOut: "FadeOut";
|
|
147
|
+
FadeOutUp: "FadeOutUp";
|
|
148
|
+
FadeOutDown: "FadeOutDown";
|
|
149
|
+
FadeOutLeft: "FadeOutLeft";
|
|
150
|
+
FadeOutRight: "FadeOutRight";
|
|
151
|
+
SlideOutUp: "SlideOutUp";
|
|
152
|
+
SlideOutDown: "SlideOutDown";
|
|
153
|
+
SlideOutLeft: "SlideOutLeft";
|
|
154
|
+
SlideOutRight: "SlideOutRight";
|
|
155
|
+
ZoomOut: "ZoomOut";
|
|
156
|
+
ZoomOutRotate: "ZoomOutRotate";
|
|
157
|
+
ZoomOutUp: "ZoomOutUp";
|
|
158
|
+
ZoomOutDown: "ZoomOutDown";
|
|
159
|
+
ZoomOutLeft: "ZoomOutLeft";
|
|
160
|
+
ZoomOutRight: "ZoomOutRight";
|
|
161
|
+
ZoomOutEasyUp: "ZoomOutEasyUp";
|
|
162
|
+
ZoomOutEasyDown: "ZoomOutEasyDown";
|
|
163
|
+
BounceOut: "BounceOut";
|
|
164
|
+
BounceOutUp: "BounceOutUp";
|
|
165
|
+
BounceOutDown: "BounceOutDown";
|
|
166
|
+
BounceOutLeft: "BounceOutLeft";
|
|
167
|
+
BounceOutRight: "BounceOutRight";
|
|
168
|
+
FlipOutXUp: "FlipOutXUp";
|
|
169
|
+
FlipOutYLeft: "FlipOutYLeft";
|
|
170
|
+
FlipOutXDown: "FlipOutXDown";
|
|
171
|
+
FlipOutYRight: "FlipOutYRight";
|
|
172
|
+
FlipOutEasyX: "FlipOutEasyX";
|
|
173
|
+
FlipOutEasyY: "FlipOutEasyY";
|
|
174
|
+
StretchOutX: "StretchOutX";
|
|
175
|
+
StretchOutY: "StretchOutY";
|
|
176
|
+
RotateOutDownLeft: "RotateOutDownLeft";
|
|
177
|
+
RotateOutDownRight: "RotateOutDownRight";
|
|
178
|
+
RotateOutUpLeft: "RotateOutUpLeft";
|
|
179
|
+
RotateOutUpRight: "RotateOutUpRight";
|
|
180
|
+
RollOutLeft: "RollOutLeft";
|
|
181
|
+
RollOutRight: "RollOutRight";
|
|
182
|
+
PinwheelOut: "PinwheelOut";
|
|
183
|
+
LightSpeedOutLeft: "LightSpeedOutLeft";
|
|
184
|
+
LightSpeedOutRight: "LightSpeedOutRight";
|
|
185
|
+
}>;
|
|
186
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
187
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
189
|
+
linear: "linear";
|
|
190
|
+
"ease-in": "ease-in";
|
|
191
|
+
"ease-out": "ease-out";
|
|
192
|
+
"ease-in-out": "ease-in-out";
|
|
193
|
+
}>>;
|
|
194
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
195
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
196
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
197
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
198
|
+
}, z.core.$strip>>;
|
|
199
|
+
}, z.core.$strip>>;
|
|
200
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
201
|
+
preset: z.ZodEnum<{
|
|
202
|
+
LinearTransition: "LinearTransition";
|
|
203
|
+
FadingTransition: "FadingTransition";
|
|
204
|
+
SequencedTransition: "SequencedTransition";
|
|
205
|
+
JumpingTransition: "JumpingTransition";
|
|
206
|
+
CurvedTransition: "CurvedTransition";
|
|
207
|
+
EntryExitTransition: "EntryExitTransition";
|
|
208
|
+
}>;
|
|
209
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
210
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
211
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
}, z.core.$strip>>;
|
|
216
|
+
effect: z.ZodOptional<z.ZodObject<{
|
|
217
|
+
preset: z.ZodEnum<{
|
|
218
|
+
pulse: "pulse";
|
|
219
|
+
fade: "fade";
|
|
220
|
+
rotate: "rotate";
|
|
221
|
+
shimmer: "shimmer";
|
|
222
|
+
bounce: "bounce";
|
|
223
|
+
}>;
|
|
224
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
linear: "linear";
|
|
228
|
+
"ease-in": "ease-in";
|
|
229
|
+
"ease-out": "ease-out";
|
|
230
|
+
"ease-in-out": "ease-in-out";
|
|
231
|
+
}>>;
|
|
232
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
233
|
+
minScale: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
maxScale: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
degrees: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
}, z.core.$strip>>;
|
|
79
239
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
80
240
|
alignItems: z.ZodOptional<z.ZodEnum<{
|
|
81
241
|
"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"}
|
|
@@ -17,8 +17,16 @@ export type TextSpan = {
|
|
|
17
17
|
fontFamily?: string | "inherit";
|
|
18
18
|
fontSize?: number;
|
|
19
19
|
letterSpacing?: number;
|
|
20
|
+
lineHeight?: number;
|
|
20
21
|
color?: string;
|
|
22
|
+
/** Inline highlight behind the span text. */
|
|
23
|
+
backgroundColor?: string;
|
|
24
|
+
/** Per-span opacity (0–1). */
|
|
25
|
+
opacity?: number;
|
|
26
|
+
textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
|
|
21
27
|
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through";
|
|
28
|
+
textDecorationColor?: string;
|
|
29
|
+
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed";
|
|
22
30
|
};
|
|
23
31
|
export declare const TextSpanSchema: z.ZodObject<{
|
|
24
32
|
text: z.ZodString;
|
|
@@ -30,13 +38,29 @@ export declare const TextSpanSchema: z.ZodObject<{
|
|
|
30
38
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
31
39
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
32
40
|
letterSpacing: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
lineHeight: z.ZodOptional<z.ZodNumber>;
|
|
33
42
|
color: z.ZodOptional<z.ZodString>;
|
|
43
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
44
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
textTransform: z.ZodOptional<z.ZodEnum<{
|
|
46
|
+
none: "none";
|
|
47
|
+
uppercase: "uppercase";
|
|
48
|
+
lowercase: "lowercase";
|
|
49
|
+
capitalize: "capitalize";
|
|
50
|
+
}>>;
|
|
34
51
|
textDecorationLine: z.ZodOptional<z.ZodEnum<{
|
|
35
52
|
none: "none";
|
|
36
53
|
underline: "underline";
|
|
37
54
|
"line-through": "line-through";
|
|
38
55
|
"underline line-through": "underline line-through";
|
|
39
56
|
}>>;
|
|
57
|
+
textDecorationColor: z.ZodOptional<z.ZodString>;
|
|
58
|
+
textDecorationStyle: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
solid: "solid";
|
|
60
|
+
double: "double";
|
|
61
|
+
dotted: "dotted";
|
|
62
|
+
dashed: "dashed";
|
|
63
|
+
}>>;
|
|
40
64
|
}, z.core.$strip>;
|
|
41
65
|
export type TextElementProps = BaseBoxProps & {
|
|
42
66
|
/**
|
|
@@ -129,6 +153,166 @@ export declare const TextElementPropsSchema: z.ZodObject<{
|
|
|
129
153
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
130
154
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
131
155
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
translateX: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
translateY: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
160
|
+
scaleX: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
scaleY: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
}, z.core.$strip>>;
|
|
164
|
+
animation: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
entering: z.ZodOptional<z.ZodObject<{
|
|
166
|
+
preset: z.ZodEnum<{
|
|
167
|
+
FadeIn: "FadeIn";
|
|
168
|
+
FadeInUp: "FadeInUp";
|
|
169
|
+
FadeInDown: "FadeInDown";
|
|
170
|
+
FadeInLeft: "FadeInLeft";
|
|
171
|
+
FadeInRight: "FadeInRight";
|
|
172
|
+
SlideInUp: "SlideInUp";
|
|
173
|
+
SlideInDown: "SlideInDown";
|
|
174
|
+
SlideInLeft: "SlideInLeft";
|
|
175
|
+
SlideInRight: "SlideInRight";
|
|
176
|
+
ZoomIn: "ZoomIn";
|
|
177
|
+
ZoomInRotate: "ZoomInRotate";
|
|
178
|
+
ZoomInUp: "ZoomInUp";
|
|
179
|
+
ZoomInDown: "ZoomInDown";
|
|
180
|
+
ZoomInLeft: "ZoomInLeft";
|
|
181
|
+
ZoomInRight: "ZoomInRight";
|
|
182
|
+
ZoomInEasyUp: "ZoomInEasyUp";
|
|
183
|
+
ZoomInEasyDown: "ZoomInEasyDown";
|
|
184
|
+
BounceIn: "BounceIn";
|
|
185
|
+
BounceInUp: "BounceInUp";
|
|
186
|
+
BounceInDown: "BounceInDown";
|
|
187
|
+
BounceInLeft: "BounceInLeft";
|
|
188
|
+
BounceInRight: "BounceInRight";
|
|
189
|
+
FlipInXUp: "FlipInXUp";
|
|
190
|
+
FlipInYLeft: "FlipInYLeft";
|
|
191
|
+
FlipInXDown: "FlipInXDown";
|
|
192
|
+
FlipInYRight: "FlipInYRight";
|
|
193
|
+
FlipInEasyX: "FlipInEasyX";
|
|
194
|
+
FlipInEasyY: "FlipInEasyY";
|
|
195
|
+
StretchInX: "StretchInX";
|
|
196
|
+
StretchInY: "StretchInY";
|
|
197
|
+
RotateInDownLeft: "RotateInDownLeft";
|
|
198
|
+
RotateInDownRight: "RotateInDownRight";
|
|
199
|
+
RotateInUpLeft: "RotateInUpLeft";
|
|
200
|
+
RotateInUpRight: "RotateInUpRight";
|
|
201
|
+
RollInLeft: "RollInLeft";
|
|
202
|
+
RollInRight: "RollInRight";
|
|
203
|
+
PinwheelIn: "PinwheelIn";
|
|
204
|
+
LightSpeedInLeft: "LightSpeedInLeft";
|
|
205
|
+
LightSpeedInRight: "LightSpeedInRight";
|
|
206
|
+
}>;
|
|
207
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
209
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
210
|
+
linear: "linear";
|
|
211
|
+
"ease-in": "ease-in";
|
|
212
|
+
"ease-out": "ease-out";
|
|
213
|
+
"ease-in-out": "ease-in-out";
|
|
214
|
+
}>>;
|
|
215
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
219
|
+
}, z.core.$strip>>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
exiting: z.ZodOptional<z.ZodObject<{
|
|
222
|
+
preset: z.ZodEnum<{
|
|
223
|
+
FadeOut: "FadeOut";
|
|
224
|
+
FadeOutUp: "FadeOutUp";
|
|
225
|
+
FadeOutDown: "FadeOutDown";
|
|
226
|
+
FadeOutLeft: "FadeOutLeft";
|
|
227
|
+
FadeOutRight: "FadeOutRight";
|
|
228
|
+
SlideOutUp: "SlideOutUp";
|
|
229
|
+
SlideOutDown: "SlideOutDown";
|
|
230
|
+
SlideOutLeft: "SlideOutLeft";
|
|
231
|
+
SlideOutRight: "SlideOutRight";
|
|
232
|
+
ZoomOut: "ZoomOut";
|
|
233
|
+
ZoomOutRotate: "ZoomOutRotate";
|
|
234
|
+
ZoomOutUp: "ZoomOutUp";
|
|
235
|
+
ZoomOutDown: "ZoomOutDown";
|
|
236
|
+
ZoomOutLeft: "ZoomOutLeft";
|
|
237
|
+
ZoomOutRight: "ZoomOutRight";
|
|
238
|
+
ZoomOutEasyUp: "ZoomOutEasyUp";
|
|
239
|
+
ZoomOutEasyDown: "ZoomOutEasyDown";
|
|
240
|
+
BounceOut: "BounceOut";
|
|
241
|
+
BounceOutUp: "BounceOutUp";
|
|
242
|
+
BounceOutDown: "BounceOutDown";
|
|
243
|
+
BounceOutLeft: "BounceOutLeft";
|
|
244
|
+
BounceOutRight: "BounceOutRight";
|
|
245
|
+
FlipOutXUp: "FlipOutXUp";
|
|
246
|
+
FlipOutYLeft: "FlipOutYLeft";
|
|
247
|
+
FlipOutXDown: "FlipOutXDown";
|
|
248
|
+
FlipOutYRight: "FlipOutYRight";
|
|
249
|
+
FlipOutEasyX: "FlipOutEasyX";
|
|
250
|
+
FlipOutEasyY: "FlipOutEasyY";
|
|
251
|
+
StretchOutX: "StretchOutX";
|
|
252
|
+
StretchOutY: "StretchOutY";
|
|
253
|
+
RotateOutDownLeft: "RotateOutDownLeft";
|
|
254
|
+
RotateOutDownRight: "RotateOutDownRight";
|
|
255
|
+
RotateOutUpLeft: "RotateOutUpLeft";
|
|
256
|
+
RotateOutUpRight: "RotateOutUpRight";
|
|
257
|
+
RollOutLeft: "RollOutLeft";
|
|
258
|
+
RollOutRight: "RollOutRight";
|
|
259
|
+
PinwheelOut: "PinwheelOut";
|
|
260
|
+
LightSpeedOutLeft: "LightSpeedOutLeft";
|
|
261
|
+
LightSpeedOutRight: "LightSpeedOutRight";
|
|
262
|
+
}>;
|
|
263
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
264
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
265
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
266
|
+
linear: "linear";
|
|
267
|
+
"ease-in": "ease-in";
|
|
268
|
+
"ease-out": "ease-out";
|
|
269
|
+
"ease-in-out": "ease-in-out";
|
|
270
|
+
}>>;
|
|
271
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
272
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
}, z.core.$strip>>;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
278
|
+
preset: z.ZodEnum<{
|
|
279
|
+
LinearTransition: "LinearTransition";
|
|
280
|
+
FadingTransition: "FadingTransition";
|
|
281
|
+
SequencedTransition: "SequencedTransition";
|
|
282
|
+
JumpingTransition: "JumpingTransition";
|
|
283
|
+
CurvedTransition: "CurvedTransition";
|
|
284
|
+
EntryExitTransition: "EntryExitTransition";
|
|
285
|
+
}>;
|
|
286
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
287
|
+
spring: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
damping: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
stiffness: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
291
|
+
}, z.core.$strip>>;
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
effect: z.ZodOptional<z.ZodObject<{
|
|
294
|
+
preset: z.ZodEnum<{
|
|
295
|
+
pulse: "pulse";
|
|
296
|
+
fade: "fade";
|
|
297
|
+
rotate: "rotate";
|
|
298
|
+
shimmer: "shimmer";
|
|
299
|
+
bounce: "bounce";
|
|
300
|
+
}>;
|
|
301
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
linear: "linear";
|
|
305
|
+
"ease-in": "ease-in";
|
|
306
|
+
"ease-out": "ease-out";
|
|
307
|
+
"ease-in-out": "ease-in-out";
|
|
308
|
+
}>>;
|
|
309
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
310
|
+
minScale: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
maxScale: z.ZodOptional<z.ZodNumber>;
|
|
312
|
+
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
degrees: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
132
316
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
|
|
133
317
|
text: z.ZodString;
|
|
134
318
|
fontWeight: z.ZodOptional<z.ZodString>;
|
|
@@ -139,13 +323,29 @@ export declare const TextElementPropsSchema: z.ZodObject<{
|
|
|
139
323
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
140
324
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
141
325
|
letterSpacing: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
lineHeight: z.ZodOptional<z.ZodNumber>;
|
|
142
327
|
color: z.ZodOptional<z.ZodString>;
|
|
328
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
329
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
textTransform: z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
none: "none";
|
|
332
|
+
uppercase: "uppercase";
|
|
333
|
+
lowercase: "lowercase";
|
|
334
|
+
capitalize: "capitalize";
|
|
335
|
+
}>>;
|
|
143
336
|
textDecorationLine: z.ZodOptional<z.ZodEnum<{
|
|
144
337
|
none: "none";
|
|
145
338
|
underline: "underline";
|
|
146
339
|
"line-through": "line-through";
|
|
147
340
|
"underline line-through": "underline line-through";
|
|
148
341
|
}>>;
|
|
342
|
+
textDecorationColor: z.ZodOptional<z.ZodString>;
|
|
343
|
+
textDecorationStyle: z.ZodOptional<z.ZodEnum<{
|
|
344
|
+
solid: "solid";
|
|
345
|
+
double: "double";
|
|
346
|
+
dotted: "dotted";
|
|
347
|
+
dashed: "dashed";
|
|
348
|
+
}>>;
|
|
149
349
|
}, z.core.$strip>>]>;
|
|
150
350
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
151
351
|
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;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EACf,MAAM,GACN,WAAW,GACX,cAAc,GACd,wBAAwB,CAAC;
|
|
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;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,YAAY,CAAC;IAClE,kBAAkB,CAAC,EACf,MAAM,GACN,WAAW,GACX,cAAc,GACd,wBAAwB,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;CAChE,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBzB,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C;;;;OAIG;IACH,OAAO,EAAE,MAAM,GAAG,QAAQ,EAAE,CAAC;IAC7B,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"}
|
|
@@ -10,10 +10,16 @@ exports.TextSpanSchema = zod_1.z.object({
|
|
|
10
10
|
fontFamily: zod_1.z.string().optional(),
|
|
11
11
|
fontSize: zod_1.z.number().optional(),
|
|
12
12
|
letterSpacing: zod_1.z.number().optional(),
|
|
13
|
+
lineHeight: zod_1.z.number().optional(),
|
|
13
14
|
color: zod_1.z.string().optional(),
|
|
15
|
+
backgroundColor: zod_1.z.string().optional(),
|
|
16
|
+
opacity: zod_1.z.number().min(0).max(1).optional(),
|
|
17
|
+
textTransform: zod_1.z.enum(["none", "uppercase", "lowercase", "capitalize"]).optional(),
|
|
14
18
|
textDecorationLine: zod_1.z
|
|
15
19
|
.enum(["none", "underline", "line-through", "underline line-through"])
|
|
16
20
|
.optional(),
|
|
21
|
+
textDecorationColor: zod_1.z.string().optional(),
|
|
22
|
+
textDecorationStyle: zod_1.z.enum(["solid", "double", "dotted", "dashed"]).optional(),
|
|
17
23
|
});
|
|
18
24
|
exports.TextElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
19
25
|
content: zod_1.z.union([zod_1.z.string(), zod_1.z.array(exports.TextSpanSchema)]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/TextElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;
|
|
1
|
+
{"version":3,"file":"TextElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/TextElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAmCrD,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC5C,aAAa,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClF,kBAAkB,EAAE,OAAC;SAClB,IAAI,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,wBAAwB,CAAC,CAAC;SACrE,QAAQ,EAAE;IACb,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,mBAAmB,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;CAChF,CAAC,CAAC;AAwBU,QAAA,sBAAsB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAC9D,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAc,CAAC,CAAC,CAAC;IACvD,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChD,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,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC"}
|