@rocapine/react-native-onboarding 1.1.2 → 1.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocapine/react-native-onboarding",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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",
@@ -5,11 +5,14 @@ import {
5
5
  SocialProofSchema,
6
6
  } from "../common.types";
7
7
 
8
+ export const MediaContentLayoutStyleSchema = z.enum(["default", "media_top", "media_bottom"]).default("default");
9
+
8
10
  export const MediaContentStepPayloadSchema = z.object({
9
11
  mediaSource: MediaSourceSchema,
10
12
  title: z.string(),
11
13
  description: z.string().nullish(),
12
14
  socialProof: SocialProofSchema.nullish(),
15
+ layoutStyle: MediaContentLayoutStyleSchema.optional(),
13
16
  });
14
17
 
15
18
  export const MediaContentStepTypeSchema = z.object({