@rocapine/react-native-onboarding-ui 1.35.0 → 1.36.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.
@@ -12,6 +12,10 @@ import { type StackElementProps, StackElementPropsSchema } from "./elements/Stac
12
12
  import { type TextElementProps, TextElementPropsSchema } from "./elements/TextElement";
13
13
  import { type RichTextElementProps, RichTextElementPropsSchema } from "./elements/RichTextElement";
14
14
  import { type ImageElementProps, ImageElementPropsSchema } from "./elements/ImageElement";
15
+ import {
16
+ type ProgressiveBlurImageElementProps,
17
+ ProgressiveBlurImageElementPropsSchema,
18
+ } from "./elements/ProgressiveBlurImageElement";
15
19
  import { type LottieElementProps, LottieElementPropsSchema } from "./elements/LottieElement";
16
20
  import { type RiveElementProps, RiveElementPropsSchema } from "./elements/RiveElement";
17
21
  import { type IconElementProps, IconElementPropsSchema } from "./elements/IconElement";
@@ -40,6 +44,13 @@ export type { StackElementProps } from "./elements/StackElement";
40
44
  export type { TextElementProps } from "./elements/TextElement";
41
45
  export type { RichTextElementProps } from "./elements/RichTextElement";
42
46
  export type { ImageElementProps } from "./elements/ImageElement";
47
+ export type {
48
+ ProgressiveBlurImageElementProps,
49
+ BlurMask,
50
+ LinearBlurMask,
51
+ RadialBlurMask,
52
+ BlurMaskStop,
53
+ } from "./elements/ProgressiveBlurImageElement";
43
54
  export type { LottieElementProps } from "./elements/LottieElement";
44
55
  export type { RiveElementProps } from "./elements/RiveElement";
45
56
  export type { IconElementProps } from "./elements/IconElement";
@@ -93,6 +104,13 @@ export type UIElement =
93
104
  type: "Image";
94
105
  props: ImageElementProps;
95
106
  }
107
+ | {
108
+ id: string;
109
+ name?: string;
110
+ renderWhen?: LeafCondition | ConditionGroup;
111
+ type: "ProgressiveBlurImage";
112
+ props: ProgressiveBlurImageElementProps;
113
+ }
96
114
  | {
97
115
  id: string;
98
116
  name?: string;
@@ -248,6 +266,13 @@ export const UIElementSchema: z.ZodType<UIElement> = z.lazy(() =>
248
266
  type: z.literal("Image"),
249
267
  props: ImageElementPropsSchema,
250
268
  }),
269
+ z.object({
270
+ id: z.string(),
271
+ name: z.string().optional(),
272
+ renderWhen: z.union([LeafConditionSchema, ConditionGroupSchema]).optional(),
273
+ type: z.literal("ProgressiveBlurImage"),
274
+ props: ProgressiveBlurImageElementPropsSchema,
275
+ }),
251
276
  z.object({
252
277
  id: z.string(),
253
278
  name: z.string().optional(),