@rocapine/react-native-onboarding 1.11.1 → 1.13.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.
Files changed (107) hide show
  1. package/dist/evaluateCondition.d.ts +6 -0
  2. package/dist/evaluateCondition.d.ts.map +1 -0
  3. package/dist/evaluateCondition.js +48 -0
  4. package/dist/evaluateCondition.js.map +1 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +12 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/infra/provider/OnboardingProvider.d.ts +2 -0
  10. package/dist/infra/provider/OnboardingProvider.d.ts.map +1 -1
  11. package/dist/infra/provider/OnboardingProvider.js +8 -0
  12. package/dist/infra/provider/OnboardingProvider.js.map +1 -1
  13. package/dist/onboarding-example.d.ts +174 -0
  14. package/dist/onboarding-example.d.ts.map +1 -1
  15. package/dist/onboarding-example.js +50 -0
  16. package/dist/onboarding-example.js.map +1 -1
  17. package/dist/resolveNextStepNumber.d.ts +11 -0
  18. package/dist/resolveNextStepNumber.d.ts.map +1 -0
  19. package/dist/resolveNextStepNumber.js +39 -0
  20. package/dist/resolveNextStepNumber.js.map +1 -0
  21. package/dist/steps/Carousel/types.d.ts +29 -8
  22. package/dist/steps/Carousel/types.d.ts.map +1 -1
  23. package/dist/steps/Carousel/types.js +1 -8
  24. package/dist/steps/Carousel/types.js.map +1 -1
  25. package/dist/steps/Commitment/types.d.ts +29 -8
  26. package/dist/steps/Commitment/types.d.ts.map +1 -1
  27. package/dist/steps/Commitment/types.js +1 -8
  28. package/dist/steps/Commitment/types.js.map +1 -1
  29. package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts +67 -0
  30. package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -1
  31. package/dist/steps/ComposableScreen/elements/BaseBoxProps.js +15 -1
  32. package/dist/steps/ComposableScreen/elements/BaseBoxProps.js.map +1 -1
  33. package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts +28 -1
  34. package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts.map +1 -1
  35. package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts +27 -0
  36. package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts.map +1 -1
  37. package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts +27 -0
  38. package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts.map +1 -1
  39. package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts +27 -0
  40. package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts.map +1 -1
  41. package/dist/steps/ComposableScreen/elements/IconElement.d.ts +27 -0
  42. package/dist/steps/ComposableScreen/elements/IconElement.d.ts.map +1 -1
  43. package/dist/steps/ComposableScreen/elements/ImageElement.d.ts +27 -0
  44. package/dist/steps/ComposableScreen/elements/ImageElement.d.ts.map +1 -1
  45. package/dist/steps/ComposableScreen/elements/InputElement.d.ts +30 -3
  46. package/dist/steps/ComposableScreen/elements/InputElement.d.ts.map +1 -1
  47. package/dist/steps/ComposableScreen/elements/LottieElement.d.ts +27 -0
  48. package/dist/steps/ComposableScreen/elements/LottieElement.d.ts.map +1 -1
  49. package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts +27 -0
  50. package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -1
  51. package/dist/steps/ComposableScreen/elements/RiveElement.d.ts +27 -0
  52. package/dist/steps/ComposableScreen/elements/RiveElement.d.ts.map +1 -1
  53. package/dist/steps/ComposableScreen/elements/StackElement.d.ts +27 -0
  54. package/dist/steps/ComposableScreen/elements/StackElement.d.ts.map +1 -1
  55. package/dist/steps/ComposableScreen/elements/TextElement.d.ts +28 -1
  56. package/dist/steps/ComposableScreen/elements/TextElement.d.ts.map +1 -1
  57. package/dist/steps/ComposableScreen/elements/VideoElement.d.ts +27 -0
  58. package/dist/steps/ComposableScreen/elements/VideoElement.d.ts.map +1 -1
  59. package/dist/steps/ComposableScreen/types.d.ts +31 -6
  60. package/dist/steps/ComposableScreen/types.d.ts.map +1 -1
  61. package/dist/steps/ComposableScreen/types.js +3 -8
  62. package/dist/steps/ComposableScreen/types.js.map +1 -1
  63. package/dist/steps/Loader/types.d.ts +29 -8
  64. package/dist/steps/Loader/types.d.ts.map +1 -1
  65. package/dist/steps/Loader/types.js +1 -8
  66. package/dist/steps/Loader/types.js.map +1 -1
  67. package/dist/steps/MediaContent/types.d.ts +29 -8
  68. package/dist/steps/MediaContent/types.d.ts.map +1 -1
  69. package/dist/steps/MediaContent/types.js +1 -8
  70. package/dist/steps/MediaContent/types.js.map +1 -1
  71. package/dist/steps/Picker/types.d.ts +30 -8
  72. package/dist/steps/Picker/types.d.ts.map +1 -1
  73. package/dist/steps/Picker/types.js +2 -8
  74. package/dist/steps/Picker/types.js.map +1 -1
  75. package/dist/steps/Question/types.d.ts +30 -8
  76. package/dist/steps/Question/types.d.ts.map +1 -1
  77. package/dist/steps/Question/types.js +2 -8
  78. package/dist/steps/Question/types.js.map +1 -1
  79. package/dist/steps/Ratings/types.d.ts +29 -8
  80. package/dist/steps/Ratings/types.d.ts.map +1 -1
  81. package/dist/steps/Ratings/types.js +1 -8
  82. package/dist/steps/Ratings/types.js.map +1 -1
  83. package/dist/steps/common.types.d.ts +109 -0
  84. package/dist/steps/common.types.d.ts.map +1 -1
  85. package/dist/steps/common.types.js +52 -1
  86. package/dist/steps/common.types.js.map +1 -1
  87. package/dist/types.d.ts +2 -0
  88. package/dist/types.d.ts.map +1 -1
  89. package/package.json +5 -2
  90. package/src/__tests__/evaluateCondition.test.ts +167 -0
  91. package/src/__tests__/resolveNextStepNumber.test.ts +309 -0
  92. package/src/evaluateCondition.ts +50 -0
  93. package/src/index.ts +19 -0
  94. package/src/infra/provider/OnboardingProvider.tsx +11 -1
  95. package/src/onboarding-example.ts +50 -0
  96. package/src/resolveNextStepNumber.ts +41 -0
  97. package/src/steps/Carousel/types.ts +2 -9
  98. package/src/steps/Commitment/types.ts +2 -9
  99. package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +42 -0
  100. package/src/steps/ComposableScreen/types.ts +4 -10
  101. package/src/steps/Loader/types.ts +2 -9
  102. package/src/steps/MediaContent/types.ts +2 -14
  103. package/src/steps/Picker/types.ts +3 -9
  104. package/src/steps/Question/types.ts +3 -9
  105. package/src/steps/Ratings/types.ts +2 -9
  106. package/src/steps/common.types.ts +72 -0
  107. package/src/types.ts +3 -0
@@ -13,16 +13,8 @@ export declare const CarouselStepPayloadSchema: z.ZodObject<{
13
13
  }, z.core.$strip>;
14
14
  export declare const CarouselStepTypeSchema: z.ZodObject<{
15
15
  id: z.ZodString;
16
- type: z.ZodLiteral<"Carousel">;
17
16
  name: z.ZodString;
18
17
  displayProgressHeader: z.ZodBoolean;
19
- payload: z.ZodObject<{
20
- screens: z.ZodArray<z.ZodObject<{
21
- mediaUrl: z.ZodString;
22
- title: z.ZodString;
23
- subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
26
18
  customPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
27
19
  continueButtonLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
28
20
  buttonSection: z.ZodOptional<z.ZodObject<{
@@ -30,6 +22,35 @@ export declare const CarouselStepTypeSchema: z.ZodObject<{
30
22
  icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
23
  }, z.core.$strip>>;
32
24
  figmaUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ nextStep: z.ZodDefault<z.ZodNullable<z.ZodObject<{
26
+ defaultTargetStepId: z.ZodString;
27
+ branches: z.ZodDefault<z.ZodArray<z.ZodObject<{
28
+ condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
29
+ variable: z.ZodString;
30
+ operator: z.ZodEnum<{
31
+ eq: "eq";
32
+ neq: "neq";
33
+ gt: "gt";
34
+ lt: "lt";
35
+ gte: "gte";
36
+ lte: "lte";
37
+ contains: "contains";
38
+ in: "in";
39
+ not_in: "not_in";
40
+ }>;
41
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
42
+ }, z.core.$strip>, z.ZodType<import("../common.types").ConditionGroup, unknown, z.core.$ZodTypeInternals<import("../common.types").ConditionGroup, unknown>>]>>>;
43
+ targetStepId: z.ZodString;
44
+ }, z.core.$strip>>>;
45
+ }, z.core.$strip>>>;
46
+ type: z.ZodLiteral<"Carousel">;
47
+ payload: z.ZodObject<{
48
+ screens: z.ZodArray<z.ZodObject<{
49
+ mediaUrl: z.ZodString;
50
+ title: z.ZodString;
51
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>;
33
54
  }, z.core.$strip>;
34
55
  export type CarouselStepType = z.infer<typeof CarouselStepTypeSchema>;
35
56
  export type CarouselScreenType = z.infer<typeof CarouselScreenSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/steps/Carousel/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;iBAEpC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;iBAUjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/steps/Carousel/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;iBAEpC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -11,15 +11,8 @@ exports.CarouselScreenSchema = zod_1.z.object({
11
11
  exports.CarouselStepPayloadSchema = zod_1.z.object({
12
12
  screens: zod_1.z.array(exports.CarouselScreenSchema),
13
13
  });
14
- exports.CarouselStepTypeSchema = zod_1.z.object({
15
- id: zod_1.z.string(),
14
+ exports.CarouselStepTypeSchema = common_types_1.BaseStepTypeSchema.extend({
16
15
  type: zod_1.z.literal("Carousel"),
17
- name: zod_1.z.string(),
18
- displayProgressHeader: zod_1.z.boolean(),
19
16
  payload: exports.CarouselStepPayloadSchema,
20
- customPayload: common_types_1.CustomPayloadSchema,
21
- continueButtonLabel: zod_1.z.string().optional().default("Continue"),
22
- buttonSection: common_types_1.ButtonSectionSchema.optional(),
23
- figmaUrl: zod_1.z.string().nullish(),
24
17
  });
25
18
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/steps/Carousel/types.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kDAA2E;AAE9D,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,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EAAE,iCAAyB;CACnC,CAAC,CAAC"}
@@ -17,9 +17,37 @@ export declare const CommitmentStepPayloadSchema: z.ZodObject<{
17
17
  }, z.core.$strip>;
18
18
  export declare const CommitmentStepTypeSchema: z.ZodObject<{
19
19
  id: z.ZodString;
20
- type: z.ZodLiteral<"Commitment">;
21
20
  name: z.ZodString;
22
21
  displayProgressHeader: z.ZodBoolean;
22
+ customPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
23
+ continueButtonLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
24
+ buttonSection: z.ZodOptional<z.ZodObject<{
25
+ label: z.ZodOptional<z.ZodString>;
26
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>>;
28
+ figmaUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ nextStep: z.ZodDefault<z.ZodNullable<z.ZodObject<{
30
+ defaultTargetStepId: z.ZodString;
31
+ branches: z.ZodDefault<z.ZodArray<z.ZodObject<{
32
+ condition: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
33
+ variable: z.ZodString;
34
+ operator: z.ZodEnum<{
35
+ eq: "eq";
36
+ neq: "neq";
37
+ gt: "gt";
38
+ lt: "lt";
39
+ gte: "gte";
40
+ lte: "lte";
41
+ contains: "contains";
42
+ in: "in";
43
+ not_in: "not_in";
44
+ }>;
45
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
46
+ }, z.core.$strip>, z.ZodType<import("../common.types").ConditionGroup, unknown, z.core.$ZodTypeInternals<import("../common.types").ConditionGroup, unknown>>]>>>;
47
+ targetStepId: z.ZodString;
48
+ }, z.core.$strip>>>;
49
+ }, z.core.$strip>>>;
50
+ type: z.ZodLiteral<"Commitment">;
23
51
  payload: z.ZodObject<{
24
52
  title: z.ZodString;
25
53
  subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33,13 +61,6 @@ export declare const CommitmentStepTypeSchema: z.ZodObject<{
33
61
  simple: "simple";
34
62
  }>>;
35
63
  }, z.core.$strip>;
36
- customPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
37
- continueButtonLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
38
- buttonSection: z.ZodOptional<z.ZodObject<{
39
- label: z.ZodOptional<z.ZodString>;
40
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>>;
42
- figmaUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
64
  }, z.core.$strip>;
44
65
  export type CommitmentStepType = z.infer<typeof CommitmentStepTypeSchema>;
45
66
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/steps/Commitment/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;iBAE/B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;iBAOtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;iBAUnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/steps/Commitment/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;iBAE/B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;iBAOtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -14,15 +14,8 @@ exports.CommitmentStepPayloadSchema = zod_1.z.object({
14
14
  signatureCaption: zod_1.z.string().default("Your signature is not recorded"),
15
15
  variant: zod_1.z.enum(["signature", "simple"]).default("signature"),
16
16
  });
17
- exports.CommitmentStepTypeSchema = zod_1.z.object({
18
- id: zod_1.z.string(),
17
+ exports.CommitmentStepTypeSchema = common_types_1.BaseStepTypeSchema.extend({
19
18
  type: zod_1.z.literal("Commitment"),
20
- name: zod_1.z.string(),
21
- displayProgressHeader: zod_1.z.boolean(),
22
19
  payload: exports.CommitmentStepPayloadSchema,
23
- customPayload: common_types_1.CustomPayloadSchema,
24
- continueButtonLabel: zod_1.z.string().optional().default("Continue"),
25
- buttonSection: common_types_1.ButtonSectionSchema.optional(),
26
- figmaUrl: zod_1.z.string().nullish(),
27
20
  });
28
21
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/steps/Commitment/types.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kDAA2E;AAE9D,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACjC,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,4BAAoB,CAAC,CAAC,OAAO,EAAE;IACpD,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,gCAAgC,CAAC;IACtE,OAAO,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AAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;CAC9D,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,iCAAkB,CAAC,MAAM,CAAC;IAChE,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IAC7B,OAAO,EAAE,mCAA2B;CACrC,CAAC,CAAC"}
@@ -1,4 +1,43 @@
1
1
  import { z } from "zod";
2
+ export type GradientStop = {
3
+ color: string;
4
+ position?: number;
5
+ };
6
+ export type GradientEdge = "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
7
+ export type LinearGradientConfig = {
8
+ type: "linear";
9
+ from: GradientEdge;
10
+ to: GradientEdge;
11
+ stops: GradientStop[];
12
+ };
13
+ export type GradientBackground = LinearGradientConfig;
14
+ export declare const GradientBackgroundSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15
+ type: z.ZodLiteral<"linear">;
16
+ from: z.ZodEnum<{
17
+ top: "top";
18
+ bottom: "bottom";
19
+ left: "left";
20
+ right: "right";
21
+ topLeft: "topLeft";
22
+ topRight: "topRight";
23
+ bottomLeft: "bottomLeft";
24
+ bottomRight: "bottomRight";
25
+ }>;
26
+ to: z.ZodEnum<{
27
+ top: "top";
28
+ bottom: "bottom";
29
+ left: "left";
30
+ right: "right";
31
+ topLeft: "topLeft";
32
+ topRight: "topRight";
33
+ bottomLeft: "bottomLeft";
34
+ bottomRight: "bottomRight";
35
+ }>;
36
+ stops: z.ZodArray<z.ZodObject<{
37
+ color: z.ZodString;
38
+ position: z.ZodOptional<z.ZodNumber>;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>], "type">;
2
41
  export type BaseBoxProps = {
3
42
  width?: number | string;
4
43
  height?: number | string;
@@ -12,6 +51,7 @@ export type BaseBoxProps = {
12
51
  alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
13
52
  opacity?: number;
14
53
  backgroundColor?: string;
54
+ backgroundGradient?: GradientBackground;
15
55
  overflow?: "hidden" | "visible" | "scroll";
16
56
  margin?: number;
17
57
  marginHorizontal?: number;
@@ -43,6 +83,33 @@ export declare const BaseBoxPropsSchema: z.ZodObject<{
43
83
  }>>;
44
84
  opacity: z.ZodOptional<z.ZodNumber>;
45
85
  backgroundColor: z.ZodOptional<z.ZodString>;
86
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
87
+ type: z.ZodLiteral<"linear">;
88
+ from: z.ZodEnum<{
89
+ top: "top";
90
+ bottom: "bottom";
91
+ left: "left";
92
+ right: "right";
93
+ topLeft: "topLeft";
94
+ topRight: "topRight";
95
+ bottomLeft: "bottomLeft";
96
+ bottomRight: "bottomRight";
97
+ }>;
98
+ to: z.ZodEnum<{
99
+ top: "top";
100
+ bottom: "bottom";
101
+ left: "left";
102
+ right: "right";
103
+ topLeft: "topLeft";
104
+ topRight: "topRight";
105
+ bottomLeft: "bottomLeft";
106
+ bottomRight: "bottomRight";
107
+ }>;
108
+ stops: z.ZodArray<z.ZodObject<{
109
+ color: z.ZodString;
110
+ position: z.ZodOptional<z.ZodNumber>;
111
+ }, z.core.$strip>>;
112
+ }, z.core.$strip>], "type">>;
46
113
  overflow: z.ZodOptional<z.ZodEnum<{
47
114
  hidden: "hidden";
48
115
  visible: "visible";
@@ -1 +1 @@
1
- {"version":3,"file":"BaseBoxProps.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/BaseBoxProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,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WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB7B,CAAC"}
@@ -1,7 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseBoxPropsSchema = void 0;
3
+ exports.BaseBoxPropsSchema = exports.GradientBackgroundSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const GradientEdgeSchema = zod_1.z.enum(["top", "bottom", "left", "right", "topLeft", "topRight", "bottomLeft", "bottomRight"]);
6
+ const GradientStopSchema = zod_1.z.object({
7
+ color: zod_1.z.string(),
8
+ position: zod_1.z.number().min(0).max(1).optional(),
9
+ });
10
+ exports.GradientBackgroundSchema = zod_1.z.discriminatedUnion("type", [
11
+ zod_1.z.object({
12
+ type: zod_1.z.literal("linear"),
13
+ from: GradientEdgeSchema,
14
+ to: GradientEdgeSchema,
15
+ stops: zod_1.z.array(GradientStopSchema).min(2, "gradient requires at least 2 stops"),
16
+ }),
17
+ ]);
5
18
  exports.BaseBoxPropsSchema = zod_1.z.object({
6
19
  width: zod_1.z.union([zod_1.z.number().min(0), zod_1.z.string()]).optional(),
7
20
  height: zod_1.z.union([zod_1.z.number().min(0), zod_1.z.string()]).optional(),
@@ -15,6 +28,7 @@ exports.BaseBoxPropsSchema = zod_1.z.object({
15
28
  alignSelf: zod_1.z.enum(["auto", "flex-start", "flex-end", "center", "stretch", "baseline"]).optional(),
16
29
  opacity: zod_1.z.number().min(0).max(1).optional(),
17
30
  backgroundColor: zod_1.z.string().optional(),
31
+ backgroundGradient: exports.GradientBackgroundSchema.optional(),
18
32
  overflow: zod_1.z.enum(["hidden", "visible", "scroll"]).optional(),
19
33
  margin: zod_1.z.number().optional(),
20
34
  marginHorizontal: zod_1.z.number().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"BaseBoxProps.js","sourceRoot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E;IACrC,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC/C,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC1C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC"}
@@ -30,6 +30,33 @@ export declare const ButtonElementPropsSchema: z.ZodObject<{
30
30
  baseline: "baseline";
31
31
  }>>;
32
32
  opacity: z.ZodOptional<z.ZodNumber>;
33
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
34
+ type: z.ZodLiteral<"linear">;
35
+ from: z.ZodEnum<{
36
+ top: "top";
37
+ bottom: "bottom";
38
+ left: "left";
39
+ right: "right";
40
+ topLeft: "topLeft";
41
+ topRight: "topRight";
42
+ bottomLeft: "bottomLeft";
43
+ bottomRight: "bottomRight";
44
+ }>;
45
+ to: z.ZodEnum<{
46
+ top: "top";
47
+ bottom: "bottom";
48
+ left: "left";
49
+ right: "right";
50
+ topLeft: "topLeft";
51
+ topRight: "topRight";
52
+ bottomLeft: "bottomLeft";
53
+ bottomRight: "bottomRight";
54
+ }>;
55
+ stops: z.ZodArray<z.ZodObject<{
56
+ color: z.ZodString;
57
+ position: z.ZodOptional<z.ZodNumber>;
58
+ }, z.core.$strip>>;
59
+ }, z.core.$strip>], "type">>;
33
60
  overflow: z.ZodOptional<z.ZodEnum<{
34
61
  hidden: "hidden";
35
62
  visible: "visible";
@@ -59,9 +86,9 @@ export declare const ButtonElementPropsSchema: z.ZodObject<{
59
86
  fontWeight: z.ZodOptional<z.ZodString>;
60
87
  fontFamily: z.ZodOptional<z.ZodString>;
61
88
  textAlign: z.ZodOptional<z.ZodEnum<{
62
- center: "center";
63
89
  left: "left";
64
90
  right: "right";
91
+ center: "center";
65
92
  }>>;
66
93
  }, z.core.$strip>;
67
94
  //# sourceMappingURL=ButtonElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.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,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUnC,CAAC"}
1
+ {"version":3,"file":"ButtonElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/ButtonElement.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,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUnC,CAAC"}
@@ -33,6 +33,33 @@ export declare const CarouselElementPropsSchema: z.ZodObject<{
33
33
  }>>;
34
34
  opacity: z.ZodOptional<z.ZodNumber>;
35
35
  backgroundColor: z.ZodOptional<z.ZodString>;
36
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
37
+ type: z.ZodLiteral<"linear">;
38
+ from: z.ZodEnum<{
39
+ top: "top";
40
+ bottom: "bottom";
41
+ left: "left";
42
+ right: "right";
43
+ topLeft: "topLeft";
44
+ topRight: "topRight";
45
+ bottomLeft: "bottomLeft";
46
+ bottomRight: "bottomRight";
47
+ }>;
48
+ to: z.ZodEnum<{
49
+ top: "top";
50
+ bottom: "bottom";
51
+ left: "left";
52
+ right: "right";
53
+ topLeft: "topLeft";
54
+ topRight: "topRight";
55
+ bottomLeft: "bottomLeft";
56
+ bottomRight: "bottomRight";
57
+ }>;
58
+ stops: z.ZodArray<z.ZodObject<{
59
+ color: z.ZodString;
60
+ position: z.ZodOptional<z.ZodNumber>;
61
+ }, z.core.$strip>>;
62
+ }, z.core.$strip>], "type">>;
36
63
  overflow: z.ZodOptional<z.ZodEnum<{
37
64
  hidden: "hidden";
38
65
  visible: "visible";
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/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,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYrC,CAAC"}
1
+ {"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/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,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYrC,CAAC"}
@@ -44,6 +44,33 @@ export declare const CheckboxGroupElementPropsSchema: z.ZodObject<{
44
44
  }>>;
45
45
  opacity: z.ZodOptional<z.ZodNumber>;
46
46
  backgroundColor: z.ZodOptional<z.ZodString>;
47
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
48
+ type: z.ZodLiteral<"linear">;
49
+ from: z.ZodEnum<{
50
+ top: "top";
51
+ bottom: "bottom";
52
+ left: "left";
53
+ right: "right";
54
+ topLeft: "topLeft";
55
+ topRight: "topRight";
56
+ bottomLeft: "bottomLeft";
57
+ bottomRight: "bottomRight";
58
+ }>;
59
+ to: z.ZodEnum<{
60
+ top: "top";
61
+ bottom: "bottom";
62
+ left: "left";
63
+ right: "right";
64
+ topLeft: "topLeft";
65
+ topRight: "topRight";
66
+ bottomLeft: "bottomLeft";
67
+ bottomRight: "bottomRight";
68
+ }>;
69
+ stops: z.ZodArray<z.ZodObject<{
70
+ color: z.ZodString;
71
+ position: z.ZodOptional<z.ZodNumber>;
72
+ }, z.core.$strip>>;
73
+ }, z.core.$strip>], "type">>;
47
74
  overflow: z.ZodOptional<z.ZodEnum<{
48
75
  hidden: "hidden";
49
76
  visible: "visible";
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxGroupElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CheckboxGroupElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiC1C,CAAC"}
1
+ {"version":3,"file":"CheckboxGroupElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/CheckboxGroupElement.ts"],"names":[],"mappings":"AAAA,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34
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
35
+ type: z.ZodLiteral<"linear">;
36
+ from: z.ZodEnum<{
37
+ top: "top";
38
+ bottom: "bottom";
39
+ left: "left";
40
+ right: "right";
41
+ topLeft: "topLeft";
42
+ topRight: "topRight";
43
+ bottomLeft: "bottomLeft";
44
+ bottomRight: "bottomRight";
45
+ }>;
46
+ to: z.ZodEnum<{
47
+ top: "top";
48
+ bottom: "bottom";
49
+ left: "left";
50
+ right: "right";
51
+ topLeft: "topLeft";
52
+ topRight: "topRight";
53
+ bottomLeft: "bottomLeft";
54
+ bottomRight: "bottomRight";
55
+ }>;
56
+ stops: z.ZodArray<z.ZodObject<{
57
+ color: z.ZodString;
58
+ position: z.ZodOptional<z.ZodNumber>;
59
+ }, z.core.$strip>>;
60
+ }, z.core.$strip>], "type">>;
34
61
  overflow: z.ZodOptional<z.ZodEnum<{
35
62
  hidden: "hidden";
36
63
  visible: "visible";
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/DatePickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUvC,CAAC"}
1
+ {"version":3,"file":"DatePickerElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/DatePickerElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUvC,CAAC"}
@@ -26,6 +26,33 @@ export declare const IconElementPropsSchema: z.ZodObject<{
26
26
  baseline: "baseline";
27
27
  }>>;
28
28
  opacity: z.ZodOptional<z.ZodNumber>;
29
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
30
+ type: z.ZodLiteral<"linear">;
31
+ from: z.ZodEnum<{
32
+ top: "top";
33
+ bottom: "bottom";
34
+ left: "left";
35
+ right: "right";
36
+ topLeft: "topLeft";
37
+ topRight: "topRight";
38
+ bottomLeft: "bottomLeft";
39
+ bottomRight: "bottomRight";
40
+ }>;
41
+ to: z.ZodEnum<{
42
+ top: "top";
43
+ bottom: "bottom";
44
+ left: "left";
45
+ right: "right";
46
+ topLeft: "topLeft";
47
+ topRight: "topRight";
48
+ bottomLeft: "bottomLeft";
49
+ bottomRight: "bottomRight";
50
+ }>;
51
+ stops: z.ZodArray<z.ZodObject<{
52
+ color: z.ZodString;
53
+ position: z.ZodOptional<z.ZodNumber>;
54
+ }, z.core.$strip>>;
55
+ }, z.core.$strip>], "type">>;
29
56
  overflow: z.ZodOptional<z.ZodEnum<{
30
57
  hidden: "hidden";
31
58
  visible: "visible";
@@ -1 +1 @@
1
- {"version":3,"file":"IconElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMjC,CAAC"}
1
+ {"version":3,"file":"IconElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/elements/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMjC,CAAC"}
@@ -25,6 +25,33 @@ export declare const ImageElementPropsSchema: z.ZodObject<{
25
25
  }>>;
26
26
  opacity: z.ZodOptional<z.ZodNumber>;
27
27
  backgroundColor: z.ZodOptional<z.ZodString>;
28
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
29
+ type: z.ZodLiteral<"linear">;
30
+ from: z.ZodEnum<{
31
+ top: "top";
32
+ bottom: "bottom";
33
+ left: "left";
34
+ right: "right";
35
+ topLeft: "topLeft";
36
+ topRight: "topRight";
37
+ bottomLeft: "bottomLeft";
38
+ bottomRight: "bottomRight";
39
+ }>;
40
+ to: z.ZodEnum<{
41
+ top: "top";
42
+ bottom: "bottom";
43
+ left: "left";
44
+ right: "right";
45
+ topLeft: "topLeft";
46
+ topRight: "topRight";
47
+ bottomLeft: "bottomLeft";
48
+ bottomRight: "bottomRight";
49
+ }>;
50
+ stops: z.ZodArray<z.ZodObject<{
51
+ color: z.ZodString;
52
+ position: z.ZodOptional<z.ZodNumber>;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>], "type">>;
28
55
  overflow: z.ZodOptional<z.ZodEnum<{
29
56
  hidden: "hidden";
30
57
  visible: "visible";
@@ -1 +1 @@
1
- {"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/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;CACzD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIlC,CAAC"}
1
+ {"version":3,"file":"ImageElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/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;CACzD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIlC,CAAC"}
@@ -41,6 +41,33 @@ export declare const InputElementPropsSchema: z.ZodObject<{
41
41
  baseline: "baseline";
42
42
  }>>;
43
43
  opacity: z.ZodOptional<z.ZodNumber>;
44
+ backgroundGradient: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
45
+ type: z.ZodLiteral<"linear">;
46
+ from: z.ZodEnum<{
47
+ top: "top";
48
+ bottom: "bottom";
49
+ left: "left";
50
+ right: "right";
51
+ topLeft: "topLeft";
52
+ topRight: "topRight";
53
+ bottomLeft: "bottomLeft";
54
+ bottomRight: "bottomRight";
55
+ }>;
56
+ to: z.ZodEnum<{
57
+ top: "top";
58
+ bottom: "bottom";
59
+ left: "left";
60
+ right: "right";
61
+ topLeft: "topLeft";
62
+ topRight: "topRight";
63
+ bottomLeft: "bottomLeft";
64
+ bottomRight: "bottomRight";
65
+ }>;
66
+ stops: z.ZodArray<z.ZodObject<{
67
+ color: z.ZodString;
68
+ position: z.ZodOptional<z.ZodNumber>;
69
+ }, z.core.$strip>>;
70
+ }, z.core.$strip>], "type">>;
44
71
  overflow: z.ZodOptional<z.ZodEnum<{
45
72
  hidden: "hidden";
46
73
  visible: "visible";
@@ -75,14 +102,14 @@ export declare const InputElementPropsSchema: z.ZodObject<{
75
102
  }>>;
76
103
  returnKeyType: z.ZodOptional<z.ZodEnum<{
77
104
  default: "default";
105
+ join: "join";
106
+ search: "search";
78
107
  done: "done";
79
108
  next: "next";
80
109
  go: "go";
81
- search: "search";
82
110
  send: "send";
83
111
  "emergency-call": "emergency-call";
84
112
  google: "google";
85
- join: "join";
86
113
  route: "route";
87
114
  yahoo: "yahoo";
88
115
  none: "none";
@@ -107,9 +134,9 @@ export declare const InputElementPropsSchema: z.ZodObject<{
107
134
  lineHeight: z.ZodOptional<z.ZodNumber>;
108
135
  letterSpacing: z.ZodOptional<z.ZodNumber>;
109
136
  textAlign: z.ZodOptional<z.ZodEnum<{
110
- center: "center";
111
137
  left: "left";
112
138
  right: "right";
139
+ center: "center";
113
140
  }>>;
114
141
  placeholderColor: z.ZodOptional<z.ZodString>;
115
142
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../../src/steps/ComposableScreen/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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