@rocapine/react-native-onboarding 1.53.0 → 1.55.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 (83) hide show
  1. package/README.md +1 -1
  2. package/dist/OnboardingStudioClient.d.ts +8 -0
  3. package/dist/OnboardingStudioClient.d.ts.map +1 -1
  4. package/dist/OnboardingStudioClient.js +15 -0
  5. package/dist/OnboardingStudioClient.js.map +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +5 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/infra/queries/cacheKey.d.ts +20 -0
  11. package/dist/infra/queries/cacheKey.d.ts.map +1 -0
  12. package/dist/infra/queries/cacheKey.js +26 -0
  13. package/dist/infra/queries/cacheKey.js.map +1 -0
  14. package/dist/infra/queries/getOnboarding.query.d.ts.map +1 -1
  15. package/dist/infra/queries/getOnboarding.query.js +20 -10
  16. package/dist/infra/queries/getOnboarding.query.js.map +1 -1
  17. package/dist/onboarding-example.d.ts +161 -0
  18. package/dist/onboarding-example.d.ts.map +1 -1
  19. package/dist/onboarding-example.js +32 -0
  20. package/dist/onboarding-example.js.map +1 -1
  21. package/dist/steps/ComposableScreen/elements/AnimatedTextElement.d.ts +12 -1
  22. package/dist/steps/ComposableScreen/elements/AnimatedTextElement.d.ts.map +1 -1
  23. package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts +33 -2
  24. package/dist/steps/ComposableScreen/elements/BaseBoxProps.d.ts.map +1 -1
  25. package/dist/steps/ComposableScreen/elements/BaseBoxProps.js +6 -0
  26. package/dist/steps/ComposableScreen/elements/BaseBoxProps.js.map +1 -1
  27. package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts +48 -4
  28. package/dist/steps/ComposableScreen/elements/ButtonElement.d.ts.map +1 -1
  29. package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts +12 -1
  30. package/dist/steps/ComposableScreen/elements/CarouselElement.d.ts.map +1 -1
  31. package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts +13 -2
  32. package/dist/steps/ComposableScreen/elements/CheckboxGroupElement.d.ts.map +1 -1
  33. package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts +12 -1
  34. package/dist/steps/ComposableScreen/elements/DatePickerElement.d.ts.map +1 -1
  35. package/dist/steps/ComposableScreen/elements/DrawingPadElement.d.ts +12 -1
  36. package/dist/steps/ComposableScreen/elements/DrawingPadElement.d.ts.map +1 -1
  37. package/dist/steps/ComposableScreen/elements/IconElement.d.ts +12 -1
  38. package/dist/steps/ComposableScreen/elements/IconElement.d.ts.map +1 -1
  39. package/dist/steps/ComposableScreen/elements/ImageElement.d.ts +12 -1
  40. package/dist/steps/ComposableScreen/elements/ImageElement.d.ts.map +1 -1
  41. package/dist/steps/ComposableScreen/elements/InputElement.d.ts +12 -1
  42. package/dist/steps/ComposableScreen/elements/InputElement.d.ts.map +1 -1
  43. package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.d.ts +12 -1
  44. package/dist/steps/ComposableScreen/elements/KeyboardAvoidingViewElement.d.ts.map +1 -1
  45. package/dist/steps/ComposableScreen/elements/LottieElement.d.ts +12 -1
  46. package/dist/steps/ComposableScreen/elements/LottieElement.d.ts.map +1 -1
  47. package/dist/steps/ComposableScreen/elements/ProgressIndicatorElement.d.ts +12 -1
  48. package/dist/steps/ComposableScreen/elements/ProgressIndicatorElement.d.ts.map +1 -1
  49. package/dist/steps/ComposableScreen/elements/ProgressiveBlurImageElement.d.ts +12 -1
  50. package/dist/steps/ComposableScreen/elements/ProgressiveBlurImageElement.d.ts.map +1 -1
  51. package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts +13 -2
  52. package/dist/steps/ComposableScreen/elements/RadioGroupElement.d.ts.map +1 -1
  53. package/dist/steps/ComposableScreen/elements/RichTextElement.d.ts +14 -3
  54. package/dist/steps/ComposableScreen/elements/RichTextElement.d.ts.map +1 -1
  55. package/dist/steps/ComposableScreen/elements/RiveElement.d.ts +12 -1
  56. package/dist/steps/ComposableScreen/elements/RiveElement.d.ts.map +1 -1
  57. package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts +12 -1
  58. package/dist/steps/ComposableScreen/elements/SafeAreaViewElement.d.ts.map +1 -1
  59. package/dist/steps/ComposableScreen/elements/ScrollViewElement.d.ts +14 -3
  60. package/dist/steps/ComposableScreen/elements/ScrollViewElement.d.ts.map +1 -1
  61. package/dist/steps/ComposableScreen/elements/SliderElement.d.ts +12 -1
  62. package/dist/steps/ComposableScreen/elements/SliderElement.d.ts.map +1 -1
  63. package/dist/steps/ComposableScreen/elements/StackElement.d.ts +14 -3
  64. package/dist/steps/ComposableScreen/elements/StackElement.d.ts.map +1 -1
  65. package/dist/steps/ComposableScreen/elements/TextElement.d.ts +12 -1
  66. package/dist/steps/ComposableScreen/elements/TextElement.d.ts.map +1 -1
  67. package/dist/steps/ComposableScreen/elements/VideoElement.d.ts +12 -1
  68. package/dist/steps/ComposableScreen/elements/VideoElement.d.ts.map +1 -1
  69. package/dist/steps/ComposableScreen/elements/WheelPickerElement.d.ts +12 -1
  70. package/dist/steps/ComposableScreen/elements/WheelPickerElement.d.ts.map +1 -1
  71. package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts +12 -1
  72. package/dist/steps/ComposableScreen/elements/ZStackElement.d.ts.map +1 -1
  73. package/dist/types.d.ts +10 -0
  74. package/dist/types.d.ts.map +1 -1
  75. package/package.json +1 -1
  76. package/src/OnboardingStudioClient.ts +13 -0
  77. package/src/__tests__/getOnboarding.query.test.ts +76 -5
  78. package/src/index.ts +5 -0
  79. package/src/infra/queries/cacheKey.ts +24 -0
  80. package/src/infra/queries/getOnboarding.query.ts +20 -11
  81. package/src/onboarding-example.ts +32 -0
  82. package/src/steps/ComposableScreen/elements/BaseBoxProps.ts +16 -1
  83. package/src/types.ts +10 -0
package/README.md CHANGED
@@ -14,7 +14,7 @@ releases.
14
14
  - 🔄 **CMS-Driven** - Update onboarding flows remotely without app releases
15
15
  - 📱 **React Native** - Works with Expo and bare React Native projects
16
16
  - 🎯 **Type-Safe** - Full TypeScript support with runtime validation
17
- - 💾 **Offline Support** - Built-in caching with AsyncStorage
17
+ - 💾 **Offline Support** - Built-in AsyncStorage caching; stale-while-revalidate by default, or pin a version with a custom `cacheKey`
18
18
  - 🎭 **Themeable** - Customizable colors, typography, and styling
19
19
  - 🔧 **Extensible** - Three levels of customization from theme tokens to
20
20
  complete renderer overrides
@@ -5,6 +5,14 @@ export declare class OnboardingStudioClient {
5
5
  projectId: string;
6
6
  options: OnboardingStudioClientOptions;
7
7
  constructor(projectId: string, options: OnboardingStudioClientOptions);
8
+ /**
9
+ * Removes this client's cached onboarding payload from AsyncStorage (the key
10
+ * derived from `options.cacheKey`, or the default key). The next query mount
11
+ * or app launch is then a cache miss and refetches. To force an in-session
12
+ * refetch as well, also invalidate the React Query key
13
+ * `["onboardingQuestions", ...]`.
14
+ */
15
+ clearCache(): Promise<void>;
8
16
  getSteps<StepType extends BaseStepType = OnboardingStepType>(onboardingOptions?: OnboardingOptions, userDefinedParams?: UserDefinedParams): Promise<{
9
17
  data: Onboarding<StepType>;
10
18
  headers: GetStepsResponseHeaders;
@@ -1 +1 @@
1
- {"version":3,"file":"OnboardingStudioClient.d.ts","sourceRoot":"","sources":["../src/OnboardingStudioClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,iBAAiB,EACjB,6BAA6B,EAC7B,iBAAiB,EACjB,YAAY,EACb,MAAM,SAAS,CAAC;AAIjB,qBAAa,sBAAsB;IACjC,OAAO,CAAC,OAAO,CAAS;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,6BAA6B,CAAC;gBAElC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,6BAA6B;IAS/D,QAAQ,CAAC,QAAQ,SAAS,YAAY,GAAG,kBAAkB,EAC/D,iBAAiB,CAAC,EAAE,iBAAiB,EACrC,iBAAiB,CAAC,EAAE,iBAAiB,GACpC,OAAO,CAAC;QAAE,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;QAAC,OAAO,EAAE,uBAAuB,CAAA;KAAE,CAAC;CA2E7E"}
1
+ {"version":3,"file":"OnboardingStudioClient.d.ts","sourceRoot":"","sources":["../src/OnboardingStudioClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,iBAAiB,EACjB,6BAA6B,EAC7B,iBAAiB,EACjB,YAAY,EACb,MAAM,SAAS,CAAC;AAKjB,qBAAa,sBAAsB;IACjC,OAAO,CAAC,OAAO,CAAS;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,6BAA6B,CAAC;gBAElC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,6BAA6B;IASrE;;;;;;OAMG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,QAAQ,CAAC,QAAQ,SAAS,YAAY,GAAG,kBAAkB,EAC/D,iBAAiB,CAAC,EAAE,iBAAiB,EACrC,iBAAiB,CAAC,EAAE,iBAAiB,GACpC,OAAO,CAAC;QAAE,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;QAAC,OAAO,EAAE,uBAAuB,CAAA;KAAE,CAAC;CA2E7E"}
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.OnboardingStudioClient = void 0;
7
+ const async_storage_1 = __importDefault(require("@react-native-async-storage/async-storage"));
8
+ const cacheKey_1 = require("./infra/queries/cacheKey");
4
9
  const react_native_1 = require("react-native");
5
10
  class OnboardingStudioClient {
6
11
  constructor(projectId, options) {
@@ -11,6 +16,16 @@ class OnboardingStudioClient {
11
16
  options.baseUrl ||
12
17
  "https://takbcvjljqialzqyksic.supabase.co/functions/v1";
13
18
  }
19
+ /**
20
+ * Removes this client's cached onboarding payload from AsyncStorage (the key
21
+ * derived from `options.cacheKey`, or the default key). The next query mount
22
+ * or app launch is then a cache miss and refetches. To force an in-session
23
+ * refetch as well, also invalidate the React Query key
24
+ * `["onboardingQuestions", ...]`.
25
+ */
26
+ async clearCache() {
27
+ await async_storage_1.default.removeItem((0, cacheKey_1.getOnboardingCacheKey)(this.options.cacheKey));
28
+ }
14
29
  async getSteps(onboardingOptions, userDefinedParams) {
15
30
  console.info("OnboardingStudioClient getSteps");
16
31
  const isSandbox = this.options.isSandbox;
@@ -1 +1 @@
1
- {"version":3,"file":"OnboardingStudioClient.js","sourceRoot":"","sources":["../src/OnboardingStudioClient.ts"],"names":[],"mappings":";;;AAUA,+CAAwC;AAExC,MAAa,sBAAsB;IAKjC,YAAY,SAAiB,EAAE,OAAsC;QACnE,OAAO,CAAC,IAAI,CAAC,yCAAyC,EAAE,SAAS,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO;YACV,OAAO,CAAC,OAAO;gBACf,uDAAuD,CAAC;IAC5D,CAAC;IAED,KAAK,CAAC,QAAQ,CACZ,iBAAqC,EACrC,iBAAqC;QAErC,OAAO,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;QAChD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;QAEzC,MAAM,SAAS,GAAG,IAAI,eAAe,EAAE,CAAC;QACxC,+BAA+B;QAC/B,IAAI,iBAAiB,EAAE,CAAC;YACtB,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,K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EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;iBACrE;aACF,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC;YAC9D,IAAI,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;gBACpC,OAAO,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAC;gBACpE,OAAO;oBACL,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,kBAA0C;oBAC7D,OAAO,EAAE;wBACP,oBAAoB,EAAE,UAAU;wBAChC,kBAAkB,EAAE,UAAU;wBAC9B,sBAAsB,EAAE,UAAU;qBACnC;iBACF,CAAC;YACJ,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;CACF;AAvGD,wDAuGC"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export { OnboardingStudioClient } from "./OnboardingStudioClient";
2
2
  export * from "./types";
3
3
  export * from "./onboarding-example";
4
+ export { getOnboardingCacheKey, DEFAULT_ONBOARDING_CACHE_KEY, } from "./infra/queries/cacheKey";
4
5
  export type { ButtonAction, CustomButtonAction, SetVariableButtonAction, ComposableVariableEntry, ComposableVariableKind, WheelPickerElementProps, WheelPickerItem, WheelPickerRange, RichTextElementProps, ProgressiveBlurImageElementProps, BlurMask, LinearBlurMask, RadialBlurMask, BlurMaskStop, BlurAppear, ProgressIndicatorElementProps, ProgressEasing, AnimationEasing, SpringConfig, EnteringPreset, ExitingPreset, LayoutPreset, EffectPreset, EnteringAnimation, ExitingAnimation, LayoutAnimation, ElementEffect, ElementAnimation, ElementTransform, } from "./steps/ComposableScreen/types";
5
6
  export { ButtonActionSchema, CustomButtonActionSchema, SetVariableButtonActionSchema, WheelPickerElementPropsSchema, generateWheelPickerRangeItems, resolveWheelPickerItems, } from "./steps/ComposableScreen/types";
6
7
  export * from "./infra";
@@ -1 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,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC"}
package/dist/index.js CHANGED
@@ -14,12 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.isUnaryConditionOperator = exports.UNARY_CONDITION_OPERATORS = exports.ConditionValueSchema = exports.ConditionOperatorSchema = exports.NextStepSchema = exports.BranchSchema = exports.ConditionGroupSchema = exports.LeafConditionSchema = exports.BaseStepTypeSchema = exports.isConditionGroup = exports.evaluateLeaf = exports.evaluateCondition = exports.resolveNextStepNumber = exports.expoRouterAdapter = exports.resolveWheelPickerItems = exports.generateWheelPickerRangeItems = exports.WheelPickerElementPropsSchema = exports.SetVariableButtonActionSchema = exports.CustomButtonActionSchema = exports.ButtonActionSchema = exports.OnboardingStudioClient = void 0;
17
+ exports.isUnaryConditionOperator = exports.UNARY_CONDITION_OPERATORS = exports.ConditionValueSchema = exports.ConditionOperatorSchema = exports.NextStepSchema = exports.BranchSchema = exports.ConditionGroupSchema = exports.LeafConditionSchema = exports.BaseStepTypeSchema = exports.isConditionGroup = exports.evaluateLeaf = exports.evaluateCondition = exports.resolveNextStepNumber = exports.expoRouterAdapter = exports.resolveWheelPickerItems = exports.generateWheelPickerRangeItems = exports.WheelPickerElementPropsSchema = exports.SetVariableButtonActionSchema = exports.CustomButtonActionSchema = exports.ButtonActionSchema = exports.DEFAULT_ONBOARDING_CACHE_KEY = exports.getOnboardingCacheKey = exports.OnboardingStudioClient = void 0;
18
18
  // Core client and types
19
19
  var OnboardingStudioClient_1 = require("./OnboardingStudioClient");
20
20
  Object.defineProperty(exports, "OnboardingStudioClient", { enumerable: true, get: function () { return OnboardingStudioClient_1.OnboardingStudioClient; } });
21
21
  __exportStar(require("./types"), exports);
22
22
  __exportStar(require("./onboarding-example"), exports);
23
+ // Cache key helper (advanced/host use — e.g. to read/clear the persisted key)
24
+ var cacheKey_1 = require("./infra/queries/cacheKey");
25
+ Object.defineProperty(exports, "getOnboardingCacheKey", { enumerable: true, get: function () { return cacheKey_1.getOnboardingCacheKey; } });
26
+ Object.defineProperty(exports, "DEFAULT_ONBOARDING_CACHE_KEY", { enumerable: true, get: function () { return cacheKey_1.DEFAULT_ONBOARDING_CACHE_KEY; } });
23
27
  var types_1 = require("./steps/ComposableScreen/types");
24
28
  Object.defineProperty(exports, "ButtonActionSchema", { enumerable: true, get: function () { return types_1.ButtonActionSchema; } });
25
29
  Object.defineProperty(exports, "CustomButtonActionSchema", { enumerable: true, get: function () { return types_1.CustomButtonActionSchema; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wBAAwB;AACxB,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,0CAAwB;AACxB,uDAAqC;AAiCrC,wDAOwC;AANtC,2GAAA,kBAAkB,OAAA;AAClB,iHAAA,wBAAwB,OAAA;AACxB,sHAAA,6BAA6B,OAAA;AAC7B,sHAAA,6BAA6B,OAAA;AAC7B,sHAAA,6BAA6B,OAAA;AAC7B,gHAAA,uBAAuB,OAAA;AAEzB,sBAAsB;AACtB,0CAAwB;AAGxB,0EAAyE;AAAhE,sHAAA,iBAAiB,OAAA;AAC1B,YAAY;AACZ,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,yDAAwF;AAA/E,sHAAA,iBAAiB,OAAA;AAAE,iHAAA,YAAY,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAU1D,qDAU8B;AAT5B,kHAAA,kBAAkB,OAAA;AAClB,mHAAA,mBAAmB,OAAA;AACnB,oHAAA,oBAAoB,OAAA;AACpB,4GAAA,YAAY,OAAA;AACZ,8GAAA,cAAc,OAAA;AACd,uHAAA,uBAAuB,OAAA;AACvB,oHAAA,oBAAoB,OAAA;AACpB,yHAAA,yBAAyB,OAAA;AACzB,wHAAA,wBAAwB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wBAAwB;AACxB,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,0CAAwB;AACxB,uDAAqC;AACrC,8EAA8E;AAC9E,qDAGkC;AAFhC,iHAAA,qBAAqB,OAAA;AACrB,wHAAA,4BAA4B,OAAA;AAkC9B,wDAOwC;AANtC,2GAAA,kBAAkB,OAAA;AAClB,iHAAA,wBAAwB,OAAA;AACxB,sHAAA,6BAA6B,OAAA;AAC7B,sHAAA,6BAA6B,OAAA;AAC7B,sHAAA,6BAA6B,OAAA;AAC7B,gHAAA,uBAAuB,OAAA;AAEzB,sBAAsB;AACtB,0CAAwB;AAGxB,0EAAyE;AAAhE,sHAAA,iBAAiB,OAAA;AAC1B,YAAY;AACZ,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,yDAAwF;AAA/E,sHAAA,iBAAiB,OAAA;AAAE,iHAAA,YAAY,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAU1D,qDAU8B;AAT5B,kHAAA,kBAAkB,OAAA;AAClB,mHAAA,mBAAmB,OAAA;AACnB,oHAAA,oBAAoB,OAAA;AACpB,4GAAA,YAAY,OAAA;AACZ,8GAAA,cAAc,OAAA;AACd,uHAAA,uBAAuB,OAAA;AACvB,oHAAA,oBAAoB,OAAA;AACpB,yHAAA,yBAAyB,OAAA;AACzB,wHAAA,wBAAwB,OAAA"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * AsyncStorage key derivation for the cached onboarding payload.
3
+ *
4
+ * Lives in its own module so both `getOnboarding.query.ts` and
5
+ * `OnboardingStudioClient` can use it as a value without a circular import
6
+ * (the query module imports `OnboardingStudioClient` for typing).
7
+ */
8
+ /** Default cache key used when the host does not provide a custom one. */
9
+ export declare const DEFAULT_ONBOARDING_CACHE_KEY = "rocapine-onboarding-studio";
10
+ /**
11
+ * Derives the AsyncStorage key for the cached onboarding payload.
12
+ *
13
+ * - No custom key → the shared default `"rocapine-onboarding-studio"`
14
+ * (stale-while-revalidate: served cache-first and healed in the background).
15
+ * - Custom key → `"rocapine-onboarding-sdk-{customKey}"`, which the SDK
16
+ * persists cache-first with **no** background revalidation, so the host owns
17
+ * when to refetch (see `OnboardingStudioClient.clearCache`).
18
+ */
19
+ export declare const getOnboardingCacheKey: (customKey?: string) => string;
20
+ //# sourceMappingURL=cacheKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cacheKey.d.ts","sourceRoot":"","sources":["../../../src/infra/queries/cacheKey.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,0EAA0E;AAC1E,eAAO,MAAM,4BAA4B,+BAA+B,CAAC;AAEzE;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,KAAG,MAGzB,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /**
3
+ * AsyncStorage key derivation for the cached onboarding payload.
4
+ *
5
+ * Lives in its own module so both `getOnboarding.query.ts` and
6
+ * `OnboardingStudioClient` can use it as a value without a circular import
7
+ * (the query module imports `OnboardingStudioClient` for typing).
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.getOnboardingCacheKey = exports.DEFAULT_ONBOARDING_CACHE_KEY = void 0;
11
+ /** Default cache key used when the host does not provide a custom one. */
12
+ exports.DEFAULT_ONBOARDING_CACHE_KEY = "rocapine-onboarding-studio";
13
+ /**
14
+ * Derives the AsyncStorage key for the cached onboarding payload.
15
+ *
16
+ * - No custom key → the shared default `"rocapine-onboarding-studio"`
17
+ * (stale-while-revalidate: served cache-first and healed in the background).
18
+ * - Custom key → `"rocapine-onboarding-sdk-{customKey}"`, which the SDK
19
+ * persists cache-first with **no** background revalidation, so the host owns
20
+ * when to refetch (see `OnboardingStudioClient.clearCache`).
21
+ */
22
+ const getOnboardingCacheKey = (customKey) => customKey
23
+ ? `rocapine-onboarding-sdk-${customKey}`
24
+ : exports.DEFAULT_ONBOARDING_CACHE_KEY;
25
+ exports.getOnboardingCacheKey = getOnboardingCacheKey;
26
+ //# sourceMappingURL=cacheKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cacheKey.js","sourceRoot":"","sources":["../../../src/infra/queries/cacheKey.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0EAA0E;AAC7D,QAAA,4BAA4B,GAAG,4BAA4B,CAAC;AAEzE;;;;;;;;GAQG;AACI,MAAM,qBAAqB,GAAG,CAAC,SAAkB,EAAU,EAAE,CAClE,SAAS;IACP,CAAC,CAAC,2BAA2B,SAAS,EAAE;IACxC,CAAC,CAAC,oCAA4B,CAAC;AAHtB,QAAA,qBAAqB,yBAGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getOnboarding.query.d.ts","sourceRoot":"","sources":["../../../src/infra/queries/getOnboarding.query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAsB,MAAM,aAAa,CAAC;AAK3E,eAAO,MAAM,kBAAkB,GAAI,QAAQ,SAAS,YAAY,EAC9D,QAAQ,sBAAsB,EAC9B,QAAQ,MAAM,EACd,sBAAsB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzC,gBAAgB,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,KAAK,IAAI;;mBAWrC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;;CA+DnD,CAAC"}
1
+ {"version":3,"file":"getOnboarding.query.d.ts","sourceRoot":"","sources":["../../../src/infra/queries/getOnboarding.query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAsB,MAAM,aAAa,CAAC;AAI3E,eAAO,MAAM,kBAAkB,GAAI,QAAQ,SAAS,YAAY,EAC9D,QAAQ,sBAAsB,EAC9B,QAAQ,MAAM,EACd,sBAAsB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzC,gBAAgB,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,KAAK,IAAI;;mBAYrC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;;CAwEnD,CAAC"}
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getOnboardingQuery = void 0;
7
7
  const async_storage_1 = __importDefault(require("@react-native-async-storage/async-storage"));
8
- const cacheKey = "rocapine-onboarding-studio";
8
+ const cacheKey_1 = require("./cacheKey");
9
9
  const getOnboardingQuery = (client, locale, customAudienceParams, setOnboarding) => {
10
10
  return {
11
11
  queryKey: [
@@ -13,12 +13,18 @@ const getOnboardingQuery = (client, locale, customAudienceParams, setOnboarding)
13
13
  client.projectId,
14
14
  client.options.isSandbox,
15
15
  client.options.baseUrl,
16
+ client.options.cacheKey,
16
17
  locale,
17
18
  JSON.stringify(customAudienceParams),
18
19
  ],
19
20
  queryFn: async () => {
20
21
  var _a;
21
22
  const isProduction = !(((_a = client === null || client === void 0 ? void 0 : client.options) === null || _a === void 0 ? void 0 : _a.isSandbox) || false);
23
+ // A custom key opts into app-controlled caching: persist cache-first
24
+ // with NO background revalidation, so a pinned version survives across
25
+ // launches. The default key keeps stale-while-revalidate.
26
+ const hasCustomKey = Boolean(client.options.cacheKey);
27
+ const cacheKey = (0, cacheKey_1.getOnboardingCacheKey)(client.options.cacheKey);
22
28
  // Fetches the live payload, pushes it to the provider, and caches it —
23
29
  // but NEVER caches the offline fallback. Caching the fallback (with
24
30
  // `staleTime: Infinity` + cache-first below) would pin every future
@@ -44,9 +50,11 @@ const getOnboardingQuery = (client, locale, customAudienceParams, setOnboarding)
44
50
  if (!isProduction) {
45
51
  return fetchAndCache();
46
52
  }
47
- // Production: stale-while-revalidate. Serve the cached payload instantly
48
- // (fast first paint, offline-resilient) AND refresh from the network in
49
- // the background, so studio re-deploys propagate and a stale cache heals.
53
+ // Production: serve the cached payload instantly (fast first paint,
54
+ // offline-resilient). With the default key this is stale-while-revalidate
55
+ // (also refresh in the background so studio re-deploys propagate and a
56
+ // stale cache heals). With a custom key it's persist-only — no background
57
+ // refetch — so a pinned version is never swapped out from under the host.
50
58
  let cached = null;
51
59
  try {
52
60
  const cachedData = await async_storage_1.default.getItem(cacheKey);
@@ -58,12 +66,14 @@ const getOnboardingQuery = (client, locale, customAudienceParams, setOnboarding)
58
66
  }
59
67
  if (cached) {
60
68
  setOnboarding && setOnboarding(cached);
61
- // Background revalidation — updates the cache + provider state when a
62
- // fresh real payload arrives. Errors are swallowed: the cache already
63
- // painted, so an offline revalidation must not surface as a query error.
64
- void fetchAndCache().catch((error) => {
65
- console.warn("Background onboarding revalidation failed:", error);
66
- });
69
+ if (!hasCustomKey) {
70
+ // Background revalidation — updates the cache + provider state when a
71
+ // fresh real payload arrives. Errors are swallowed: the cache already
72
+ // painted, so an offline revalidation must not surface as a query error.
73
+ void fetchAndCache().catch((error) => {
74
+ console.warn("Background onboarding revalidation failed:", error);
75
+ });
76
+ }
67
77
  return cached;
68
78
  }
69
79
  // No cache yet: await the network. A fallback result is returned but NOT
@@ -1 +1 @@
1
- {"version":3,"file":"getOnboarding.query.js","sourceRoot":"","sources":["../../../src/infra/queries/getOnboarding.query.ts"],"names":[],"mappings":";;;;;;AAAA,8FAAqE;AAKrE,MAAM,QAAQ,GAAG,4BAA4B,CAAC;AAEvC,MAAM,kBAAkB,GAAG,CAChC,MAA8B,E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CAAC;gBAED,OAAO,IAAI,CAAC;YACd,CAAC,CAAC;YAEF,mDAAmD;YACnD,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClB,OAAO,aAAa,EAAE,CAAC;YACzB,CAAC;YAED,yEAAyE;YACzE,wEAAwE;YACxE,0EAA0E;YAC1E,IAAI,MAAM,GAAgC,IAAI,CAAC;YAC/C,IAAI,CAAC;gBACH,MAAM,UAAU,GAAG,MAAM,uBAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBACxD,IAAI,UAAU;oBAAE,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAyB,CAAC;YAC1E,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,KAAK,CAAC,CAAC;YACrE,CAAC;YAED,IAAI,MAAM,EAAE,CAAC;gBACX,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;gBACvC,sEAAsE;gBACtE,sEAAsE;gBACtE,yEAAyE;gBACzE,KAAK,aAAa,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;oBACnC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,KAAK,CAAC,CAAC;gBACpE,CAAC,CAAC,CAAC;gBACH,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,yEAAyE;YACzE,oEAAoE;YACpE,OAAO,aAAa,EAAE,CAAC;QACzB,CAAC;QACD,SAAS,EAAE,QAAQ;KACpB,CAAC;AACJ,CAAC,CAAC;AA9EW,QAAA,kBAAkB,sBA8E7B"}
1
+ {"version":3,"file":"getOnboarding.query.js","sourceRoot":"","sources":["../../../src/infra/queries/getOnboarding.query.ts"],"names":[],"mappings":";;;;;;AAAA,8FAAqE;AAIrE,yCAAmD;AAE5C,MAAM,kBAAkB,GAAG,CAChC,MAA8B,EAC9B,MAAc,EACd,oBAAyC,EACzC,aAA0D,EAC1D,EAAE;IACF,OAAO;QACL,QAAQ,EA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sBAwF7B"}
@@ -5399,6 +5399,165 @@ export declare const onboardingExample: {
5399
5399
  stops: {
5400
5400
  color: string;
5401
5401
  }[];
5402
+ center?: undefined;
5403
+ radius?: undefined;
5404
+ };
5405
+ source?: undefined;
5406
+ height?: undefined;
5407
+ autoPlay?: undefined;
5408
+ loop?: undefined;
5409
+ url?: undefined;
5410
+ width?: undefined;
5411
+ aspectRatio?: undefined;
5412
+ fit?: undefined;
5413
+ resizeMode?: undefined;
5414
+ animation?: undefined;
5415
+ onPress?: undefined;
5416
+ blurRadius?: undefined;
5417
+ intensity?: undefined;
5418
+ tint?: undefined;
5419
+ maxBlurOpacity?: undefined;
5420
+ mask?: undefined;
5421
+ blurAppear?: undefined;
5422
+ name?: undefined;
5423
+ size?: undefined;
5424
+ color?: undefined;
5425
+ fill?: undefined;
5426
+ fillOpacity?: undefined;
5427
+ transform?: undefined;
5428
+ variant?: undefined;
5429
+ autoplay?: undefined;
5430
+ initialValue?: undefined;
5431
+ duration?: undefined;
5432
+ easing?: undefined;
5433
+ thickness?: undefined;
5434
+ showLabel?: undefined;
5435
+ delay?: undefined;
5436
+ alignSelf?: undefined;
5437
+ minValue?: undefined;
5438
+ maxValue?: undefined;
5439
+ step?: undefined;
5440
+ variableName?: undefined;
5441
+ content?: undefined;
5442
+ mode?: undefined;
5443
+ fontSize?: undefined;
5444
+ textAlign?: undefined;
5445
+ from?: undefined;
5446
+ to?: undefined;
5447
+ thousandsSeparator?: undefined;
5448
+ fontWeight?: undefined;
5449
+ controls?: undefined;
5450
+ muted?: undefined;
5451
+ contentFit?: undefined;
5452
+ keyboardVerticalOffset?: undefined;
5453
+ opacity?: undefined;
5454
+ imageVariableName?: undefined;
5455
+ strokeWidth?: undefined;
5456
+ clearable?: undefined;
5457
+ alignItems?: undefined;
5458
+ justifyContent?: undefined;
5459
+ horizontal?: undefined;
5460
+ showsHorizontalScrollIndicator?: undefined;
5461
+ contentContainerPadding?: undefined;
5462
+ fontFamily?: undefined;
5463
+ fontStyle?: undefined;
5464
+ lineHeight?: undefined;
5465
+ defaultValue?: undefined;
5466
+ haptic?: undefined;
5467
+ showTick?: undefined;
5468
+ tickPosition?: undefined;
5469
+ tickSelectedColor?: undefined;
5470
+ tickSize?: undefined;
5471
+ itemAlignItems?: undefined;
5472
+ itemGap?: undefined;
5473
+ itemSubLabelColor?: undefined;
5474
+ itemSubLabelFontSize?: undefined;
5475
+ itemBackgroundColor?: undefined;
5476
+ itemBorderWidth?: undefined;
5477
+ itemShadowColor?: undefined;
5478
+ itemShadowOffset?: undefined;
5479
+ itemShadowOpacity?: undefined;
5480
+ itemShadowRadius?: undefined;
5481
+ itemElevation?: undefined;
5482
+ items?: undefined;
5483
+ min?: undefined;
5484
+ max?: undefined;
5485
+ defaultValues?: undefined;
5486
+ tickBorderRadius?: undefined;
5487
+ direction?: undefined;
5488
+ display?: undefined;
5489
+ maximumDate?: undefined;
5490
+ format?: undefined;
5491
+ range?: undefined;
5492
+ carouselType?: undefined;
5493
+ showDots?: undefined;
5494
+ dotColor?: undefined;
5495
+ activeDotColor?: undefined;
5496
+ dotWidth?: undefined;
5497
+ dotHeight?: undefined;
5498
+ activeDotWidth?: undefined;
5499
+ activeDotHeight?: undefined;
5500
+ dotsGap?: undefined;
5501
+ dotsPosition?: undefined;
5502
+ dotsMarginTop?: undefined;
5503
+ defaultIndex?: undefined;
5504
+ label?: undefined;
5505
+ actions?: undefined;
5506
+ backgroundColor?: undefined;
5507
+ shadowColor?: undefined;
5508
+ shadowOffset?: undefined;
5509
+ shadowOpacity?: undefined;
5510
+ shadowRadius?: undefined;
5511
+ elevation?: undefined;
5512
+ transitionDurationMs?: undefined;
5513
+ pressedStyle?: undefined;
5514
+ disabledWhen?: undefined;
5515
+ disabledStyle?: undefined;
5516
+ };
5517
+ children: ({
5518
+ id: string;
5519
+ type: string;
5520
+ props: {
5521
+ content: string;
5522
+ fontSize: number;
5523
+ fontWeight: string;
5524
+ color: string;
5525
+ opacity?: undefined;
5526
+ };
5527
+ } | {
5528
+ id: string;
5529
+ type: string;
5530
+ props: {
5531
+ content: string;
5532
+ fontSize: number;
5533
+ color: string;
5534
+ opacity: number;
5535
+ fontWeight?: undefined;
5536
+ };
5537
+ })[];
5538
+ renderWhen?: undefined;
5539
+ } | {
5540
+ id: string;
5541
+ type: string;
5542
+ props: {
5543
+ padding: number;
5544
+ gap: number;
5545
+ borderRadius: number;
5546
+ overflow: string;
5547
+ marginVertical: number;
5548
+ backgroundGradient: {
5549
+ type: string;
5550
+ center: {
5551
+ x: number;
5552
+ y: number;
5553
+ };
5554
+ radius: number;
5555
+ stops: {
5556
+ color: string;
5557
+ position: number;
5558
+ }[];
5559
+ from?: undefined;
5560
+ to?: undefined;
5402
5561
  };
5403
5562
  source?: undefined;
5404
5563
  height?: undefined;
@@ -5549,6 +5708,8 @@ export declare const onboardingExample: {
5549
5708
  color: string;
5550
5709
  position: number;
5551
5710
  }[];
5711
+ center?: undefined;
5712
+ radius?: undefined;
5552
5713
  };
5553
5714
  source?: undefined;
5554
5715
  height?: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-example.d.ts","sourceRoot":"","sources":["../src/onboarding-example.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsrCR,CAAC"}
@@ -1016,6 +1016,38 @@ exports.onboardingExample = {
1016
1016
  },
1017
1017
  ],
1018
1018
  },
1019
+ {
1020
+ id: "radial-gradient-card",
1021
+ type: "YStack",
1022
+ props: {
1023
+ padding: 20,
1024
+ gap: 8,
1025
+ borderRadius: 16,
1026
+ overflow: "hidden",
1027
+ marginVertical: 4,
1028
+ backgroundGradient: {
1029
+ type: "radial",
1030
+ center: { x: 0.5, y: 0.4 },
1031
+ radius: 0.8,
1032
+ stops: [
1033
+ { color: "#FF6584", position: 0 },
1034
+ { color: "#6C63FF", position: 1 },
1035
+ ],
1036
+ },
1037
+ },
1038
+ children: [
1039
+ {
1040
+ id: "radial-gradient-card-title",
1041
+ type: "Text",
1042
+ props: { content: "Radial gradient", fontSize: 15, fontWeight: "700", color: "#fff" },
1043
+ },
1044
+ {
1045
+ id: "radial-gradient-card-body",
1046
+ type: "Text",
1047
+ props: { content: "center → edge", fontSize: 12, color: "#fff", opacity: 0.85 },
1048
+ },
1049
+ ],
1050
+ },
1019
1051
  {
1020
1052
  id: "gradient-button",
1021
1053
  type: "Button",