@rocapine/react-native-onboarding 1.62.0 → 1.63.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 +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/infra/hooks/index.d.ts +1 -0
- package/dist/infra/hooks/index.d.ts.map +1 -1
- package/dist/infra/hooks/index.js +3 -1
- package/dist/infra/hooks/index.js.map +1 -1
- package/dist/infra/hooks/useProgressHeaderConfig.d.ts +14 -0
- package/dist/infra/hooks/useProgressHeaderConfig.d.ts.map +1 -0
- package/dist/infra/hooks/useProgressHeaderConfig.js +24 -0
- package/dist/infra/hooks/useProgressHeaderConfig.js.map +1 -0
- package/dist/infra/preload/extractAssetUrls.d.ts.map +1 -1
- package/dist/infra/preload/extractAssetUrls.js +67 -0
- package/dist/infra/preload/extractAssetUrls.js.map +1 -1
- package/dist/infra/provider/OnboardingProvider.d.ts.map +1 -1
- package/dist/infra/provider/OnboardingProvider.js +11 -0
- package/dist/infra/provider/OnboardingProvider.js.map +1 -1
- package/dist/onboarding-example.d.ts +1063 -60
- package/dist/onboarding-example.d.ts.map +1 -1
- package/dist/onboarding-example.js +140 -0
- package/dist/onboarding-example.js.map +1 -1
- package/dist/screens/elements/AnimatedTextElement.d.ts +7 -0
- package/dist/screens/elements/AnimatedTextElement.d.ts.map +1 -1
- package/dist/screens/elements/BaseBoxProps.d.ts +39 -0
- package/dist/screens/elements/BaseBoxProps.d.ts.map +1 -1
- package/dist/screens/elements/BaseBoxProps.js +9 -0
- package/dist/screens/elements/BaseBoxProps.js.map +1 -1
- package/dist/screens/elements/ButtonElement.d.ts +28 -0
- package/dist/screens/elements/ButtonElement.d.ts.map +1 -1
- package/dist/screens/elements/CarouselElement.d.ts +38 -0
- package/dist/screens/elements/CarouselElement.d.ts.map +1 -1
- package/dist/screens/elements/CarouselElement.js +1 -0
- package/dist/screens/elements/CarouselElement.js.map +1 -1
- package/dist/screens/elements/CheckboxGroupElement.d.ts +7 -0
- package/dist/screens/elements/CheckboxGroupElement.d.ts.map +1 -1
- package/dist/screens/elements/DatePickerElement.d.ts +7 -0
- package/dist/screens/elements/DatePickerElement.d.ts.map +1 -1
- package/dist/screens/elements/DrawingPadElement.d.ts +7 -0
- package/dist/screens/elements/DrawingPadElement.d.ts.map +1 -1
- package/dist/screens/elements/IconElement.d.ts +7 -0
- package/dist/screens/elements/IconElement.d.ts.map +1 -1
- package/dist/screens/elements/ImageElement.d.ts +26 -0
- package/dist/screens/elements/ImageElement.d.ts.map +1 -1
- package/dist/screens/elements/ImageElement.js +1 -0
- package/dist/screens/elements/ImageElement.js.map +1 -1
- package/dist/screens/elements/InputElement.d.ts +7 -0
- package/dist/screens/elements/InputElement.d.ts.map +1 -1
- package/dist/screens/elements/KeyboardAvoidingViewElement.d.ts +7 -0
- package/dist/screens/elements/KeyboardAvoidingViewElement.d.ts.map +1 -1
- package/dist/screens/elements/LottieElement.d.ts +7 -0
- package/dist/screens/elements/LottieElement.d.ts.map +1 -1
- package/dist/screens/elements/ProgressIndicatorElement.d.ts +7 -0
- package/dist/screens/elements/ProgressIndicatorElement.d.ts.map +1 -1
- package/dist/screens/elements/ProgressiveBlurImageElement.d.ts +7 -0
- package/dist/screens/elements/ProgressiveBlurImageElement.d.ts.map +1 -1
- package/dist/screens/elements/RadioGroupElement.d.ts +7 -0
- package/dist/screens/elements/RadioGroupElement.d.ts.map +1 -1
- package/dist/screens/elements/RepeatElement.d.ts +79 -0
- package/dist/screens/elements/RepeatElement.d.ts.map +1 -0
- package/dist/screens/elements/RepeatElement.js +10 -0
- package/dist/screens/elements/RepeatElement.js.map +1 -0
- package/dist/screens/elements/RichTextElement.d.ts +7 -0
- package/dist/screens/elements/RichTextElement.d.ts.map +1 -1
- package/dist/screens/elements/RiveElement.d.ts +7 -0
- package/dist/screens/elements/RiveElement.d.ts.map +1 -1
- package/dist/screens/elements/SafeAreaViewElement.d.ts +7 -0
- package/dist/screens/elements/SafeAreaViewElement.d.ts.map +1 -1
- package/dist/screens/elements/ScrollViewElement.d.ts +7 -0
- package/dist/screens/elements/ScrollViewElement.d.ts.map +1 -1
- package/dist/screens/elements/SliderElement.d.ts +7 -0
- package/dist/screens/elements/SliderElement.d.ts.map +1 -1
- package/dist/screens/elements/StackElement.d.ts +7 -0
- package/dist/screens/elements/StackElement.d.ts.map +1 -1
- package/dist/screens/elements/TextElement.d.ts +7 -0
- package/dist/screens/elements/TextElement.d.ts.map +1 -1
- package/dist/screens/elements/TypewriterTextElement.d.ts +26 -0
- package/dist/screens/elements/TypewriterTextElement.d.ts.map +1 -1
- package/dist/screens/elements/TypewriterTextElement.js +1 -0
- package/dist/screens/elements/TypewriterTextElement.js.map +1 -1
- package/dist/screens/elements/VideoElement.d.ts +7 -0
- package/dist/screens/elements/VideoElement.d.ts.map +1 -1
- package/dist/screens/elements/WheelPickerElement.d.ts +7 -0
- package/dist/screens/elements/WheelPickerElement.d.ts.map +1 -1
- package/dist/screens/elements/ZStackElement.d.ts +7 -0
- package/dist/screens/elements/ZStackElement.d.ts.map +1 -1
- package/dist/screens/types.d.ts +9 -0
- package/dist/screens/types.d.ts.map +1 -1
- package/dist/screens/types.js +9 -0
- package/dist/screens/types.js.map +1 -1
- package/dist/screens/unknownKeys.d.ts +67 -0
- package/dist/screens/unknownKeys.d.ts.map +1 -0
- package/dist/screens/unknownKeys.js +160 -0
- package/dist/screens/unknownKeys.js.map +1 -0
- package/dist/types.d.ts +73 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/extractAssetUrls.test.ts +104 -0
- package/src/__tests__/unknownKeys.test.ts +234 -0
- package/src/index.ts +8 -0
- package/src/infra/hooks/index.ts +1 -0
- package/src/infra/hooks/useProgressHeaderConfig.ts +21 -0
- package/src/infra/preload/extractAssetUrls.ts +72 -0
- package/src/infra/provider/OnboardingProvider.tsx +14 -0
- package/src/onboarding-example.ts +140 -0
- package/src/screens/elements/BaseBoxProps.ts +56 -0
- package/src/screens/elements/CarouselElement.ts +31 -0
- package/src/screens/elements/ImageElement.ts +16 -0
- package/src/screens/elements/RepeatElement.ts +80 -0
- package/src/screens/elements/TypewriterTextElement.ts +19 -0
- package/src/screens/types.ts +18 -0
- package/src/screens/unknownKeys.ts +211 -0
- package/src/types.ts +86 -0
|
@@ -18,6 +18,36 @@ export type CarouselElementProps = BaseBoxProps & {
|
|
|
18
18
|
dotsMarginBottom?: number;
|
|
19
19
|
defaultIndex?: number | null;
|
|
20
20
|
variableName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Publishes the carousel's *continuous* swipe position as a screen-scoped
|
|
23
|
+
* animated variable, so sibling elements can gate `renderWhen` on the finger
|
|
24
|
+
* rather than on the settled slide.
|
|
25
|
+
*
|
|
26
|
+
* `variableName` is written only on snap, so it steps 0 → 1 → 2. This tracks
|
|
27
|
+
* the drag: 0 → 0.37 → 0.81 → 1, updating every frame.
|
|
28
|
+
*
|
|
29
|
+
* Value semantics — ALWAYS normalized to `[0, childCount)`:
|
|
30
|
+
* • the underlying `absoluteProgress` from react-native-reanimated-carousel
|
|
31
|
+
* is clamped to `[0, n-1]` when `loop: false`, but is UNBOUNDED when
|
|
32
|
+
* `loop: true` (the library never wraps its internal offset — on the
|
|
33
|
+
* second lap slide 1 reports 4, not 1, and it keeps climbing).
|
|
34
|
+
* • `loop` defaults to TRUE here, so publishing the raw value would silently
|
|
35
|
+
* break any `eq`/`lt`/`gte` gate after the first lap. We therefore publish
|
|
36
|
+
* `((raw % n) + n) % n`, which is a no-op for `loop: false` and makes every
|
|
37
|
+
* lap read identically.
|
|
38
|
+
* • consequence: under `loop: true` the value is discontinuous at the wrap
|
|
39
|
+
* seam, jumping from just under `n` back to 0. That is the same seam the
|
|
40
|
+
* dots cross, so it matches what the user sees.
|
|
41
|
+
*
|
|
42
|
+
* Consumed on the UI thread — see `AnimatedVariablesContext` / `GatedElement`.
|
|
43
|
+
* Note `eq` compares the ROUNDED value, so `eq 1` flips once the swipe passes
|
|
44
|
+
* halfway to slide 1 (that is the intended "fade in during the gesture" feel).
|
|
45
|
+
*
|
|
46
|
+
* Safe to set to the same string as `variableName`: the store then holds the
|
|
47
|
+
* snapped integer for branching/analytics while gates on this screen read the
|
|
48
|
+
* live value, since an animated variable takes precedence in `GatedElement`.
|
|
49
|
+
*/
|
|
50
|
+
progressVariableName?: string;
|
|
21
51
|
};
|
|
22
52
|
export declare const CarouselElementPropsSchema: z.ZodObject<{
|
|
23
53
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
@@ -100,6 +130,12 @@ export declare const CarouselElementPropsSchema: z.ZodObject<{
|
|
|
100
130
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
101
131
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
102
132
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
135
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
136
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
137
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
103
139
|
transform: z.ZodOptional<z.ZodObject<{
|
|
104
140
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
105
141
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -259,6 +295,7 @@ export declare const CarouselElementPropsSchema: z.ZodObject<{
|
|
|
259
295
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
260
296
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
261
297
|
}, z.core.$strip>>;
|
|
298
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
262
299
|
}, z.core.$strip>>;
|
|
263
300
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
264
301
|
carouselType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
@@ -286,5 +323,6 @@ export declare const CarouselElementPropsSchema: z.ZodObject<{
|
|
|
286
323
|
dotsMarginBottom: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
287
324
|
defaultIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
288
325
|
variableName: z.ZodOptional<z.ZodString>;
|
|
326
|
+
progressVariableName: z.ZodOptional<z.ZodString>;
|
|
289
327
|
}, z.core.$strip>;
|
|
290
328
|
//# sourceMappingURL=CarouselElement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAA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AoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBrC,CAAC"}
|
|
@@ -21,5 +21,6 @@ exports.CarouselElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
|
21
21
|
dotsMarginBottom: zod_1.z.number().optional().default(0),
|
|
22
22
|
defaultIndex: zod_1.z.number().int().nonnegative().nullable().optional(),
|
|
23
23
|
variableName: zod_1.z.string().min(1).optional(),
|
|
24
|
+
progressVariableName: zod_1.z.string().min(1).optional(),
|
|
24
25
|
});
|
|
25
26
|
//# sourceMappingURL=CarouselElement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselElement.js","sourceRoot":"","sources":["../../../src/screens/elements/CarouselElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;
|
|
1
|
+
{"version":3,"file":"CarouselElement.js","sourceRoot":"","sources":["../../../src/screens/elements/CarouselElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAoDrD,QAAA,0BAA0B,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAClE,YAAY,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;IAChG,QAAQ,EAAE,OAAC,CAAC,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M,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClE,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC1C,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC"}
|
|
@@ -147,6 +147,12 @@ export declare const CheckboxGroupElementPropsSchema: z.ZodObject<{
|
|
|
147
147
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
148
148
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
149
149
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
152
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
153
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
154
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
150
156
|
transform: z.ZodOptional<z.ZodObject<{
|
|
151
157
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
152
158
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -306,6 +312,7 @@ export declare const CheckboxGroupElementPropsSchema: z.ZodObject<{
|
|
|
306
312
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
307
313
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
308
314
|
}, z.core.$strip>>;
|
|
315
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
309
316
|
}, z.core.$strip>>;
|
|
310
317
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("../../steps/common.types").ButtonAction, unknown, z.core.$ZodTypeInternals<import("../../steps/common.types").ButtonAction, unknown>>>>;
|
|
311
318
|
variableName: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroupElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/CheckboxGroupElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,KAAK,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AACzG,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,0BAA0B,CAAC;AAE/E,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,gJAAgJ;IAChJ,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,kGAAkG;IAClG,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAClE,+HAA+H;IAC/H,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gFAAgF;IAChF,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uFAAuF;IACvF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wDAAwD;IACxD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oGAAoG;IACpG,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M,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yGAAyG;IACzG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkE1C,CAAC"}
|
|
@@ -159,6 +159,12 @@ export declare const DatePickerElementPropsSchema: z.ZodObject<{
|
|
|
159
159
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
160
160
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
161
161
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
164
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
165
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
166
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
167
|
+
}, z.core.$strip>>;
|
|
162
168
|
transform: z.ZodOptional<z.ZodObject<{
|
|
163
169
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
164
170
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -318,6 +324,7 @@ export declare const DatePickerElementPropsSchema: z.ZodObject<{
|
|
|
318
324
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
319
325
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
320
326
|
}, z.core.$strip>>;
|
|
327
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
321
328
|
}, z.core.$strip>>;
|
|
322
329
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
323
330
|
variableName: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/DatePickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAYlE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IACtC,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWvC,CAAC"}
|
|
@@ -116,6 +116,12 @@ export declare const DrawingPadElementPropsSchema: z.ZodObject<{
|
|
|
116
116
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
117
117
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
118
118
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
121
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
122
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
123
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
119
125
|
transform: z.ZodOptional<z.ZodObject<{
|
|
120
126
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
121
127
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -275,6 +281,7 @@ export declare const DrawingPadElementPropsSchema: z.ZodObject<{
|
|
|
275
281
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
276
282
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
277
283
|
}, z.core.$strip>>;
|
|
284
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
278
285
|
}, z.core.$strip>>;
|
|
279
286
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
280
287
|
variableName: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawingPadElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/DrawingPadElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE;;;;;;;GAOG;AACH,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2GAA2G;IAC3G,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,CAAC;IAChF,qFAAqF;IACrF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oDAAoD;IACpD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+EAA+E;IAC/E,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"Draw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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcvC,CAAC"}
|
|
@@ -89,6 +89,12 @@ export declare const IconElementPropsSchema: z.ZodObject<{
|
|
|
89
89
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
90
90
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
91
91
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
94
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
95
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
96
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
92
98
|
transform: z.ZodOptional<z.ZodObject<{
|
|
93
99
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
94
100
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -248,6 +254,7 @@ export declare const IconElementPropsSchema: z.ZodObject<{
|
|
|
248
254
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
249
255
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
250
256
|
}, z.core.$strip>>;
|
|
257
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
251
258
|
}, z.core.$strip>>;
|
|
252
259
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
253
260
|
name: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/IconElement.ts"],"names":[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;;;;;;;;;;;;;;;;;;;;;iBAQjC,CAAC"}
|
|
@@ -2,6 +2,21 @@ import { z } from "zod";
|
|
|
2
2
|
import { BaseBoxProps } from "./BaseBoxProps";
|
|
3
3
|
export type ImageElementProps = BaseBoxProps & {
|
|
4
4
|
url: string;
|
|
5
|
+
/**
|
|
6
|
+
* `expression` enables `{{variable}}` interpolation in `url`, so ONE Image can
|
|
7
|
+
* serve a data-driven set instead of one duplicated subtree per case — e.g.
|
|
8
|
+
* `https://cdn.example.com/zodiac/{{zodiacSign}}.png` replaces 13 gated Images.
|
|
9
|
+
*
|
|
10
|
+
* References resolve to the variable's `value`, NOT its `label` (the inverse of
|
|
11
|
+
* `Text`, which is display copy). A URL segment is a machine identifier: for a
|
|
12
|
+
* variable carrying `{ value: "aries", label: "Aries" }` the URL needs `aries`.
|
|
13
|
+
* An unknown variable interpolates to the empty string, so authors should keep
|
|
14
|
+
* a fallback path segment or a `renderWhen` guard around the element.
|
|
15
|
+
*
|
|
16
|
+
* Defaults to `"plain"` — no interpolation, and the element stays fully static
|
|
17
|
+
* (it does not subscribe to variable writes).
|
|
18
|
+
*/
|
|
19
|
+
mode?: "plain" | "expression";
|
|
5
20
|
aspectRatio?: number;
|
|
6
21
|
resizeMode?: "cover" | "contain" | "stretch" | "center";
|
|
7
22
|
/** Uniform Gaussian blur radius (px). 0/undefined = sharp. Ignored for SVGs. */
|
|
@@ -87,6 +102,12 @@ export declare const ImageElementPropsSchema: z.ZodObject<{
|
|
|
87
102
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
88
103
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
89
104
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
107
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
108
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
109
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
90
111
|
transform: z.ZodOptional<z.ZodObject<{
|
|
91
112
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
92
113
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -246,9 +267,14 @@ export declare const ImageElementPropsSchema: z.ZodObject<{
|
|
|
246
267
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
247
268
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
248
269
|
}, z.core.$strip>>;
|
|
270
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
249
271
|
}, z.core.$strip>>;
|
|
250
272
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
251
273
|
url: z.ZodString;
|
|
274
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
275
|
+
expression: "expression";
|
|
276
|
+
plain: "plain";
|
|
277
|
+
}>>;
|
|
252
278
|
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
253
279
|
resizeMode: z.ZodOptional<z.ZodEnum<{
|
|
254
280
|
center: "center";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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;IACxD,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxD,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMlC,CAAC"}
|
|
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const BaseBoxProps_1 = require("./BaseBoxProps");
|
|
6
6
|
exports.ImageElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
|
|
7
7
|
url: zod_1.z.string().min(1, "url must not be empty"),
|
|
8
|
+
mode: zod_1.z.enum(["plain", "expression"]).optional(),
|
|
8
9
|
aspectRatio: zod_1.z.number().optional(),
|
|
9
10
|
resizeMode: zod_1.z.enum(["cover", "contain", "stretch", "center"]).optional(),
|
|
10
11
|
blurRadius: zod_1.z.number().min(0).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageElement.js","sourceRoot":"","sources":["../../../src/screens/elements/ImageElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;
|
|
1
|
+
{"version":3,"file":"ImageElement.js","sourceRoot":"","sources":["../../../src/screens/elements/ImageElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAyBrD,QAAA,uBAAuB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAC/D,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,uBAAuB,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChD,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;IACxE,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC"}
|
|
@@ -108,6 +108,12 @@ export declare const InputElementPropsSchema: z.ZodObject<{
|
|
|
108
108
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
109
109
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
110
110
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
113
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
114
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
115
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
111
117
|
transform: z.ZodOptional<z.ZodObject<{
|
|
112
118
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
113
119
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -267,6 +273,7 @@ export declare const InputElementPropsSchema: z.ZodObject<{
|
|
|
267
273
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
268
274
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
269
275
|
}, z.core.$strip>>;
|
|
276
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
270
277
|
}, z.core.$strip>>;
|
|
271
278
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
272
279
|
variableName: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/InputElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,GAAG,KAAK,GAAG,YAAY,GAAG,eAAe,GAAG,yBAAyB,GAAG,gBAAgB,G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AAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBlC,CAAC"}
|
|
@@ -87,6 +87,12 @@ export declare const KeyboardAvoidingViewElementPropsSchema: z.ZodObject<{
|
|
|
87
87
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
92
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
93
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
94
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
90
96
|
transform: z.ZodOptional<z.ZodObject<{
|
|
91
97
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
92
98
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -246,6 +252,7 @@ export declare const KeyboardAvoidingViewElementPropsSchema: z.ZodObject<{
|
|
|
246
252
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
247
253
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
248
254
|
}, z.core.$strip>>;
|
|
255
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
249
256
|
}, z.core.$strip>>;
|
|
250
257
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
251
258
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardAvoidingViewElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/KeyboardAvoidingViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEzE,MAAM,MAAM,gCAAgC,GAAG,YAAY,GAAG;IAC5D,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,sCAAsC
|
|
1
|
+
{"version":3,"file":"KeyboardAvoidingViewElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/KeyboardAvoidingViewElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEzE,MAAM,MAAM,gCAAgC,GAAG,YAAY,GAAG;IAC5D,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIjD,CAAC"}
|
|
@@ -87,6 +87,12 @@ export declare const LottieElementPropsSchema: z.ZodObject<{
|
|
|
87
87
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
92
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
93
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
94
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
90
96
|
transform: z.ZodOptional<z.ZodObject<{
|
|
91
97
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
92
98
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -246,6 +252,7 @@ export declare const LottieElementPropsSchema: z.ZodObject<{
|
|
|
246
252
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
247
253
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
248
254
|
}, z.core.$strip>>;
|
|
255
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
249
256
|
}, z.core.$strip>>;
|
|
250
257
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
251
258
|
source: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LottieElement.d.ts","sourceRoot":"","sources":["../../../src/screens/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/screens/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"}
|
|
@@ -140,6 +140,12 @@ export declare const ProgressIndicatorElementPropsSchema: z.ZodObject<{
|
|
|
140
140
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
141
141
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
142
142
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
145
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
146
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
147
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
143
149
|
transform: z.ZodOptional<z.ZodObject<{
|
|
144
150
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
145
151
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -299,6 +305,7 @@ export declare const ProgressIndicatorElementPropsSchema: z.ZodObject<{
|
|
|
299
305
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
300
306
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
301
307
|
}, z.core.$strip>>;
|
|
308
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
302
309
|
}, z.core.$strip>>;
|
|
303
310
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
304
311
|
variant: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressIndicatorElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/ProgressIndicatorElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAA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M,mCAAmC
|
|
1
|
+
{"version":3,"file":"ProgressIndicatorElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/ProgressIndicatorElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;AAE/E,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG;IACzD,qCAAqC;IACrC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAChC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wFAAwF;IACxF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wDAAwD;IACxD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAIF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoB9C,CAAC"}
|
|
@@ -123,6 +123,12 @@ export declare const ProgressiveBlurImageElementPropsSchema: z.ZodObject<{
|
|
|
123
123
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
124
124
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
125
125
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
128
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
129
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
130
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
131
|
+
}, z.core.$strip>>;
|
|
126
132
|
transform: z.ZodOptional<z.ZodObject<{
|
|
127
133
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
128
134
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -282,6 +288,7 @@ export declare const ProgressiveBlurImageElementPropsSchema: z.ZodObject<{
|
|
|
282
288
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
283
289
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
284
290
|
}, z.core.$strip>>;
|
|
291
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
285
292
|
}, z.core.$strip>>;
|
|
286
293
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("./ButtonElement").ButtonAction, unknown, z.core.$ZodTypeInternals<import("./ButtonElement").ButtonAction, unknown>>>>;
|
|
287
294
|
url: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressiveBlurImageElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/ProgressiveBlurImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,eAAe,EACf,YAAY,EAEZ,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAKxB,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AASF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,EAAE,YAAY,CAAC;IACnB,EAAE,EAAE,YAAY,CAAC;IACjB,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAKF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,cAAc,CAAC;AAKvD,MAAM,MAAM,UAAU,GAAG;IACvB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B,CAAC;AAwBF,MAAM,MAAM,gCAAgC,GAAG,YAAY,GAAG;IAC5D,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxD,mCAAmC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACpC,qDAAqD;IACrD,IAAI,EAAE,QAAQ,CAAC;IACf,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,sCAAsC
|
|
1
|
+
{"version":3,"file":"ProgressiveBlurImageElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/ProgressiveBlurImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,eAAe,EACf,YAAY,EAEZ,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAKxB,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AASF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,EAAE,YAAY,CAAC;IACnB,EAAE,EAAE,YAAY,CAAC;IACjB,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAKF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EA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BAejD,CAAC"}
|
|
@@ -147,6 +147,12 @@ export declare const RadioGroupElementPropsSchema: z.ZodObject<{
|
|
|
147
147
|
shadowOpacity: z.ZodOptional<z.ZodNumber>;
|
|
148
148
|
shadowRadius: z.ZodOptional<z.ZodNumber>;
|
|
149
149
|
elevation: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
inset: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
top: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
152
|
+
left: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
153
|
+
right: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
154
|
+
bottom: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
150
156
|
transform: z.ZodOptional<z.ZodObject<{
|
|
151
157
|
translateX: z.ZodOptional<z.ZodNumber>;
|
|
152
158
|
translateY: z.ZodOptional<z.ZodNumber>;
|
|
@@ -306,6 +312,7 @@ export declare const RadioGroupElementPropsSchema: z.ZodObject<{
|
|
|
306
312
|
minOpacity: z.ZodOptional<z.ZodNumber>;
|
|
307
313
|
degrees: z.ZodOptional<z.ZodNumber>;
|
|
308
314
|
}, z.core.$strip>>;
|
|
315
|
+
replayWhen: z.ZodOptional<z.ZodString>;
|
|
309
316
|
}, z.core.$strip>>;
|
|
310
317
|
onPress: z.ZodOptional<z.ZodArray<z.ZodType<import("../../steps/common.types").ButtonAction, unknown, z.core.$ZodTypeInternals<import("../../steps/common.types").ButtonAction, unknown>>>>;
|
|
311
318
|
variableName: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroupElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/RadioGroupElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8DvC,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Materializes its `children` (the template) once per row of `data`.
|
|
4
|
+
*
|
|
5
|
+
* Solves the duplicated-subtree problem: a screen with one card design and six
|
|
6
|
+
* cards, or one reveal design and thirteen zodiac signs, otherwise needs the
|
|
7
|
+
* subtree copy-pasted N times, and every copy or style change becomes an N-fold
|
|
8
|
+
* edit. That duplication has already produced real drift in shipped screens.
|
|
9
|
+
*
|
|
10
|
+
* **Repeat plus a per-row gate is a switch**, so there is no separate `Match`
|
|
11
|
+
* element: give the template's root a `renderWhen` of
|
|
12
|
+
* `{ variable: "item.sign", operator: "eq", value: "{{zodiacSign}}" }`-style
|
|
13
|
+
* shape and exactly one row renders. Iterate-and-show-all and
|
|
14
|
+
* iterate-and-show-one are the same primitive.
|
|
15
|
+
*
|
|
16
|
+
* ## Scope
|
|
17
|
+
*
|
|
18
|
+
* Each row's fields are exposed to that row's subtree under the `as` prefix
|
|
19
|
+
* (default `item`), so `{{item.title}}` interpolates and
|
|
20
|
+
* `{ variable: "item.sign", ... }` gates. `item.index` is always present.
|
|
21
|
+
*
|
|
22
|
+
* The scope reaches BOTH render-time reads (`{{var}}` interpolation,
|
|
23
|
+
* `renderWhen`) and press-time reads (a `setVariable` action with
|
|
24
|
+
* `valueMode: "expression"` referencing `{{item.id}}`), which is what lets a
|
|
25
|
+
* repeated card write its own row's value when tapped. Without the press-time
|
|
26
|
+
* half a repeated grid could be drawn but not answered.
|
|
27
|
+
*
|
|
28
|
+
* Scoped values are READ-ONLY. Nothing writes back into a row; an interactive
|
|
29
|
+
* child still writes to the ordinary variable store, and because the template is
|
|
30
|
+
* shared, every row's child writes the SAME variable name. That is usually what
|
|
31
|
+
* you want for single-select (the row distinguishes itself through the *value*
|
|
32
|
+
* it writes, not the variable it writes to).
|
|
33
|
+
*
|
|
34
|
+
* ## Data lives in the payload
|
|
35
|
+
*
|
|
36
|
+
* `data` is authored in the step, not sourced from a variable holding JSON. That
|
|
37
|
+
* is deliberate: it keeps copy and asset URLs in the studio where designers and
|
|
38
|
+
* the translation pipeline are. Rows sourced from the app would move product copy
|
|
39
|
+
* into the binary, where a typo fix needs a store release and i18n never sees it.
|
|
40
|
+
*
|
|
41
|
+
* For the same reason, a translatable string in a row carries its own literal
|
|
42
|
+
* i18n key (`{ sign: "aries", titleKey: "zodiac_aries_title" }`) rather than a
|
|
43
|
+
* derived one. Key coverage is computed by scanning payloads for *literal* key
|
|
44
|
+
* strings, so a computed key (`"zodiac_{{item.sign}}_title"`) would make the
|
|
45
|
+
* scanner find nothing, report the screen fully translated, and ship untranslated
|
|
46
|
+
* rows. Literal keys per row keep that machinery working untouched.
|
|
47
|
+
*
|
|
48
|
+
* ## Layout
|
|
49
|
+
*
|
|
50
|
+
* Repeat renders no view of its own — the materialized rows become direct
|
|
51
|
+
* children of whatever contains the Repeat, so the parent's `gap`, direction and
|
|
52
|
+
* alignment apply per row exactly as if the rows had been hand-written. Put a
|
|
53
|
+
* Repeat inside a `YStack`/`XStack`/`ZStack` and lay the rows out there.
|
|
54
|
+
*
|
|
55
|
+
* This is why the props below do NOT extend `BaseBoxProps`: with no view to style,
|
|
56
|
+
* box props would silently do nothing.
|
|
57
|
+
*/
|
|
58
|
+
export type RepeatElementProps = {
|
|
59
|
+
/**
|
|
60
|
+
* One record per materialization. Flat scalars only — nested objects are not
|
|
61
|
+
* addressable by `{{item.x}}` and are rejected.
|
|
62
|
+
*/
|
|
63
|
+
data: Array<Record<string, string | number | boolean>>;
|
|
64
|
+
/** Prefix the row's fields are exposed under. Default `"item"`. */
|
|
65
|
+
as?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Row field used to build each materialized element's id suffix and React key
|
|
68
|
+
* (`card` → `card__aries`). Falls back to the row index when unset or missing.
|
|
69
|
+
* Prefer setting it: ids stay meaningful in diagnostics, and identity survives
|
|
70
|
+
* a reordering of `data`.
|
|
71
|
+
*/
|
|
72
|
+
keyField?: string;
|
|
73
|
+
};
|
|
74
|
+
export declare const RepeatElementPropsSchema: z.ZodObject<{
|
|
75
|
+
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
76
|
+
as: z.ZodOptional<z.ZodString>;
|
|
77
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
//# sourceMappingURL=RepeatElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RepeatElement.d.ts","sourceRoot":"","sources":["../../../src/screens/elements/RepeatElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IACvD,mEAAmE;IACnE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RepeatElementPropsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.RepeatElementPropsSchema = zod_1.z.object({
|
|
6
|
+
data: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.number(), zod_1.z.boolean()]))),
|
|
7
|
+
as: zod_1.z.string().min(1).optional(),
|
|
8
|
+
keyField: zod_1.z.string().min(1).optional(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=RepeatElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RepeatElement.js","sourceRoot":"","sources":["../../../src/screens/elements/RepeatElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AA2EX,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;IACnF,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC"}
|