@rocapine/react-native-onboarding 1.55.0 → 1.55.1

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.
@@ -1,6 +1,9 @@
1
1
  import { z } from "zod";
2
2
  import { BaseBoxProps } from "./BaseBoxProps";
3
- export type ZStackElementProps = BaseBoxProps;
3
+ export type ZStackElementProps = BaseBoxProps & {
4
+ justifyContent?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around";
5
+ alignItems?: "flex-start" | "center" | "flex-end" | "stretch" | "baseline";
6
+ };
4
7
  export declare const ZStackElementPropsSchema: z.ZodObject<{
5
8
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
6
9
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -266,5 +269,19 @@ export declare const ZStackElementPropsSchema: z.ZodObject<{
266
269
  toggle: "toggle";
267
270
  }>>;
268
271
  }, z.core.$strip>]>>>;
272
+ justifyContent: z.ZodOptional<z.ZodEnum<{
273
+ center: "center";
274
+ "flex-start": "flex-start";
275
+ "flex-end": "flex-end";
276
+ "space-between": "space-between";
277
+ "space-around": "space-around";
278
+ }>>;
279
+ alignItems: z.ZodOptional<z.ZodEnum<{
280
+ center: "center";
281
+ "flex-start": "flex-start";
282
+ "flex-end": "flex-end";
283
+ stretch: "stretch";
284
+ baseline: "baseline";
285
+ }>>;
269
286
  }, z.core.$strip>;
270
287
  //# sourceMappingURL=ZStackElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAE9C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqB,CAAC"}
1
+ {"version":3,"file":"ZStackElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC;IACzF,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;CAC5E,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC"}
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ZStackElementPropsSchema = void 0;
4
+ const zod_1 = require("zod");
4
5
  const BaseBoxProps_1 = require("./BaseBoxProps");
5
- exports.ZStackElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema;
6
+ exports.ZStackElementPropsSchema = BaseBoxProps_1.BaseBoxPropsSchema.extend({
7
+ justifyContent: zod_1.z.enum(["flex-start", "center", "flex-end", "space-between", "space-around"]).optional(),
8
+ alignItems: zod_1.z.enum(["flex-start", "center", "flex-end", "stretch", "baseline"]).optional(),
9
+ });
6
10
  //# sourceMappingURL=ZStackElement.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZStackElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.ts"],"names":[],"mappings":";;;AACA,iDAAkE;AAIrD,QAAA,wBAAwB,GAAG,iCAAkB,CAAC"}
1
+ {"version":3,"file":"ZStackElement.js","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ZStackElement.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAkE;AAOrD,QAAA,wBAAwB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAChE,cAAc,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxG,UAAU,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC3F,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocapine/react-native-onboarding",
3
- "version": "1.55.0",
3
+ "version": "1.55.1",
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",
@@ -1,6 +1,12 @@
1
1
  import { z } from "zod";
2
2
  import { BaseBoxProps, BaseBoxPropsSchema } from "./BaseBoxProps";
3
3
 
4
- export type ZStackElementProps = BaseBoxProps;
4
+ export type ZStackElementProps = BaseBoxProps & {
5
+ justifyContent?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around";
6
+ alignItems?: "flex-start" | "center" | "flex-end" | "stretch" | "baseline";
7
+ };
5
8
 
6
- export const ZStackElementPropsSchema = BaseBoxPropsSchema;
9
+ export const ZStackElementPropsSchema = BaseBoxPropsSchema.extend({
10
+ justifyContent: z.enum(["flex-start", "center", "flex-end", "space-between", "space-around"]).optional(),
11
+ alignItems: z.enum(["flex-start", "center", "flex-end", "stretch", "baseline"]).optional(),
12
+ });