@developer_tribe/react-builder 1.2.27 → 1.2.28

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 (156) hide show
  1. package/dist/assets/samples/getSamples.d.ts +0 -3
  2. package/dist/build-components/BIcon/BIconProps.generated.d.ts +1 -2
  3. package/dist/build-components/CountDown/CountDownProps.generated.d.ts +2 -1
  4. package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +1 -2
  5. package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +1 -2
  6. package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +1 -2
  7. package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +1 -2
  8. package/dist/build-components/PaywallOptions/usePaywallOptionParamsFactory.d.ts +1 -1
  9. package/dist/build-components/PriceTag/PriceTag.d.ts +5 -0
  10. package/dist/build-components/PriceTag/PriceTagProps.generated.d.ts +63 -0
  11. package/dist/build-components/Pricing/Pricing.d.ts +5 -0
  12. package/dist/build-components/Pricing/PricingProps.generated.d.ts +59 -0
  13. package/dist/build-components/Promo/Promo.d.ts +5 -0
  14. package/dist/build-components/Promo/PromoProps.generated.d.ts +59 -0
  15. package/dist/build-components/Text/TextProps.generated.d.ts +1 -2
  16. package/dist/build-components/index.d.ts +4 -1
  17. package/dist/build-components/patterns.generated.d.ts +1405 -202
  18. package/dist/components/BuilderProvider.d.ts +5 -3
  19. package/dist/components/ParamsProvider.d.ts +16 -8
  20. package/dist/hooks/useSyncHtmlThemeClass.d.ts +1 -1
  21. package/dist/index.cjs.js +4 -4
  22. package/dist/index.cjs.js.map +1 -1
  23. package/dist/index.d.ts +14 -3
  24. package/dist/index.esm.js +4 -4
  25. package/dist/index.esm.js.map +1 -1
  26. package/dist/index.web.cjs.js +4 -4
  27. package/dist/index.web.cjs.js.map +1 -1
  28. package/dist/index.web.esm.js +4 -4
  29. package/dist/index.web.esm.js.map +1 -1
  30. package/dist/logger.d.ts +18 -0
  31. package/dist/modals/InspectModal.d.ts +5 -0
  32. package/dist/modals/index.d.ts +1 -1
  33. package/dist/pages/ProjectPage.d.ts +3 -3
  34. package/dist/paywall/hooks/useCalculateLocalizedPrice.d.ts +4 -2
  35. package/dist/paywall/hooks/useDiscountRate.d.ts +3 -2
  36. package/dist/paywall/types/paywall-types.d.ts +7 -32
  37. package/dist/product-base/buildPaywallLocalizationParams.d.ts +16 -0
  38. package/dist/product-base/calculations.d.ts +29 -0
  39. package/dist/product-base/extractAndroidParams.d.ts +24 -0
  40. package/dist/product-base/extractIOSParams.d.ts +24 -0
  41. package/dist/product-base/index.d.ts +27 -0
  42. package/dist/product-base/periodLocalizationKeys.d.ts +44 -0
  43. package/dist/product-base/types.d.ts +155 -0
  44. package/dist/product-base/usePaywallLocalizationParams.d.ts +29 -0
  45. package/dist/store.d.ts +7 -1
  46. package/dist/styles.css +1 -1
  47. package/dist/types/PreviewConfig.d.ts +10 -16
  48. package/dist/utils/extractTextStyle/extractTextStyle.d.ts +2 -2
  49. package/dist/utils/extractTextStyle/extractTextStyleNative.d.ts +2 -2
  50. package/dist/utils/replaceLocalizationParams.d.ts +1 -1
  51. package/package.json +2 -2
  52. package/scripts/migrate-samples-to-current.ts +3 -3
  53. package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +28 -12
  54. package/src/DeviceMockFrame.tsx +15 -10
  55. package/src/assets/meta.json +1 -1
  56. package/src/assets/samples/carousel-sample.json +6 -5
  57. package/src/assets/samples/getSamples.ts +16 -49
  58. package/src/assets/samples/paywall-1.json +64 -22
  59. package/src/assets/samples/paywall-2.json +0 -15
  60. package/src/assets/samples/paywall-app-delete-offer.json +0 -15
  61. package/src/assets/samples/paywall-app-open-offer.json +0 -15
  62. package/src/assets/samples/paywall-back-offer.json +0 -15
  63. package/src/assets/samples/paywall-notification-offer.json +0 -15
  64. package/src/assets/samples/simple-1.json +1 -16
  65. package/src/assets/samples/simple-2.json +0 -15
  66. package/src/assets/samples/unmigrated-builder-1.1.1.json +0 -3
  67. package/src/assets/samples/unmigrated-builder1.json +0 -3
  68. package/src/assets/samples/unvalidated-builder1.json +0 -3
  69. package/src/assets/samples/unvalidated-crash1.json +0 -3
  70. package/src/assets/samples/unvalidated-crashcomponent1.json +0 -3
  71. package/src/assets/samples/vpn-onboard-1.json +1 -34
  72. package/src/assets/samples/vpn-onboard-2.json +1 -34
  73. package/src/assets/samples/vpn-onboard-3.json +1 -42
  74. package/src/assets/samples/vpn-onboard-4.json +0 -73
  75. package/src/assets/samples/vpn-onboard-5.json +0 -73
  76. package/src/assets/samples/vpn-onboard-6.json +0 -73
  77. package/src/assets/samples/vpn-onboard-7.json +529 -0
  78. package/src/attribute-analyser/style/native/useExtractImageStyle.ts +1 -4
  79. package/src/attribute-analyser/style/native/useExtractTextStyle.ts +3 -12
  80. package/src/attribute-analyser/style/native/useExtractViewStyle.ts +1 -4
  81. package/src/attribute-analyser/style/web/useExtractImageStyle.ts +1 -4
  82. package/src/attribute-analyser/style/web/useExtractTextStyle.ts +3 -12
  83. package/src/attribute-analyser/style/web/useExtractViewStyle.ts +1 -4
  84. package/src/attributes-editor/useAttributesEditorModel.ts +5 -52
  85. package/src/build-components/BIcon/BIconProps.generated.ts +1 -2
  86. package/src/build-components/CarouselDots/CarouselDots.tsx +6 -13
  87. package/src/build-components/CountDown/CountDownProps.generated.ts +2 -1
  88. package/src/build-components/NavigationBarColor/NavigationBarColor.tsx +2 -2
  89. package/src/build-components/OnboardButton/OnboardButton.tsx +1 -2
  90. package/src/build-components/OnboardDot/OnboardDot.tsx +6 -18
  91. package/src/build-components/OnboardFooter/OnboardFooter.tsx +5 -3
  92. package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +1 -2
  93. package/src/build-components/OnboardFooter/pattern.json +1 -1
  94. package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +1 -2
  95. package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +1 -2
  96. package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +1 -2
  97. package/src/build-components/PaywallOptions/PaywallOptions.tsx +3 -3
  98. package/src/build-components/PaywallOptions/usePaywallOptionParamsFactory.ts +26 -13
  99. package/src/build-components/PaywallProvider/PaywallProvider.tsx +51 -12
  100. package/src/build-components/PriceTag/PriceTag.tsx +25 -0
  101. package/src/build-components/PriceTag/PriceTagProps.generated.ts +83 -0
  102. package/src/build-components/PriceTag/pattern.json +53 -0
  103. package/src/build-components/Pricing/Pricing.tsx +13 -0
  104. package/src/build-components/Pricing/PricingProps.generated.ts +76 -0
  105. package/src/build-components/Pricing/pattern.json +25 -0
  106. package/src/build-components/Promo/Promo.tsx +13 -0
  107. package/src/build-components/Promo/PromoProps.generated.ts +76 -0
  108. package/src/build-components/Promo/pattern.json +25 -0
  109. package/src/build-components/RadioButton/RadioButton.tsx +3 -5
  110. package/src/build-components/RenderNode.generated.tsx +15 -0
  111. package/src/build-components/StatusBarColor/StatusBarColor.tsx +2 -2
  112. package/src/build-components/Text/Text.tsx +12 -5
  113. package/src/build-components/Text/TextProps.generated.ts +1 -2
  114. package/src/build-components/Text/pattern.json +3 -2
  115. package/src/build-components/index.ts +15 -0
  116. package/src/build-components/patterns.generated.ts +1454 -181
  117. package/src/components/BottomBar.tsx +42 -39
  118. package/src/components/BuilderProvider.tsx +41 -14
  119. package/src/components/LocalizationParamsProvider.tsx +1 -1
  120. package/src/components/ParamsProvider.tsx +36 -11
  121. package/src/hooks/useLocalize.ts +7 -4
  122. package/src/hooks/useParams.ts +1 -1
  123. package/src/hooks/useSyncHtmlThemeClass.ts +2 -2
  124. package/src/index.ts +52 -8
  125. package/src/logger.ts +39 -0
  126. package/src/modals/InspectModal.tsx +331 -0
  127. package/src/modals/ProductPresetsModal.tsx +6 -13
  128. package/src/modals/index.ts +1 -1
  129. package/src/pages/DebugJsonPage.tsx +9 -22
  130. package/src/pages/ProjectDebug.tsx +1 -1
  131. package/src/pages/ProjectPage.tsx +29 -11
  132. package/src/pages/tabs/SideTool.tsx +28 -104
  133. package/src/paywall/hooks/useCalculateLocalizedPrice.ts +8 -3
  134. package/src/paywall/hooks/useDiscountRate.ts +11 -3
  135. package/src/paywall/types/paywall-types.ts +7 -38
  136. package/src/product-base/buildPaywallLocalizationParams.ts +100 -0
  137. package/src/product-base/calculations.ts +93 -0
  138. package/src/product-base/extractAndroidParams.ts +207 -0
  139. package/src/product-base/extractIOSParams.ts +199 -0
  140. package/src/product-base/index.ts +28 -0
  141. package/src/product-base/mockProducts.json +489 -0
  142. package/src/product-base/periodLocalizationKeys.ts +114 -0
  143. package/src/product-base/types.ts +183 -0
  144. package/src/product-base/usePaywallLocalizationParams.ts +61 -0
  145. package/src/store.ts +18 -1
  146. package/src/styles/index.scss +1 -0
  147. package/src/styles/modals/_inspect-modal.scss +155 -0
  148. package/src/types/PreviewConfig.ts +157 -16
  149. package/src/utils/extractTextStyle/extractTextStyle.ts +14 -6
  150. package/src/utils/extractTextStyle/extractTextStyleNative.ts +8 -6
  151. package/src/utils/logRenderStore.ts +6 -10
  152. package/src/utils/parseColor.ts +0 -1
  153. package/src/utils/replaceLocalizationParams.ts +8 -4
  154. package/dist/modals/ScreenColorsModal.d.ts +0 -8
  155. package/src/assets/products.json +0 -98
  156. package/src/modals/ScreenColorsModal.tsx +0 -121
@@ -2,79 +2,6 @@
2
2
  "name": "vpn-onboard-5",
3
3
  "version": "1.1.2",
4
4
  "type": "onboard",
5
- "appConfig": {
6
- "theme": "light",
7
- "isRtl": false,
8
- "screenStyle": {
9
- "light": {
10
- "backgroundColor": "#FDFDFD",
11
- "color": "#161827"
12
- },
13
- "dark": {
14
- "backgroundColor": "#12131A",
15
- "color": "#E9EBF9"
16
- }
17
- },
18
- "localication": {
19
- "en": {
20
- "onboard.title.one-page": "One Page",
21
- "onboard.title.one-page2": "One Page",
22
- "onboard.title.two-page": "Two Page",
23
- "onboard.title.two-page2": "Two Page",
24
- "onboard.title.three-page": "Three Page",
25
- "onboard.title.three-page2": "Three Page",
26
- "onboard.title.four-page": "Four Page",
27
- "onboard.title.four-page2": "Four Page",
28
- "onboard.subtitle.one-page": "One Page",
29
- "onboard.subtitle.one-page2": "One Page",
30
- "onboard.subtitle.two-page": "Two Page",
31
- "onboard.subtitle.two-page2": "Two Page",
32
- "onboard.subtitle.three-page": "Three Page",
33
- "onboard.subtitle.three-page2": "Three Page",
34
- "onboard.subtitle.four-page": "Four Page",
35
- "onboard.subtitle.four-page2": "Four Page",
36
- "onboard.next.one-page": "Next",
37
- "onboard.next.two-page": "Next",
38
- "onboard.next.three-page": "Next",
39
- "onboard.skip.one-page": "Skip",
40
- "onboard.skip.two-page": "Skip",
41
- "onboard.skip.three-page": "Skip",
42
- "onboard.allow.four-page": "Allow",
43
- "view.onboarding.footer.description": "By clicking continue, you will be accepting the Terms of service and privacy policy",
44
- "view.onboarding.btnPrivacy": "Privacy",
45
- "view.onboarding.btnTerms": "Terms"
46
- },
47
- "ar": {
48
- "onboard.title.one-page": " العربية",
49
- "onboard.title.one-page2": " العربية",
50
- "onboard.title.two-page": " العربية",
51
- "onboard.title.two-page2": " العربية",
52
- "onboard.title.three-page": " العربية",
53
- "onboard.title.three-page2": " العربية",
54
- "onboard.title.four-page": " العربية",
55
- "onboard.title.four-page2": " العربية",
56
- "onboard.subtitle.one-page": " العربية",
57
- "onboard.subtitle.one-page2": " العربية",
58
- "onboard.subtitle.two-page": " العربية",
59
- "onboard.subtitle.two-page2": " العربية",
60
- "onboard.subtitle.three-page": " العربية",
61
- "onboard.subtitle.three-page2": " العربية",
62
- "onboard.subtitle.four-page": " العربية",
63
- "onboard.subtitle.four-page2": " العربية",
64
- "onboard.next.one-page": "التالي",
65
- "onboard.next.two-page": "التالي",
66
- "onboard.next.three-page": "التالي",
67
- "onboard.skip.one-page": "تخطي",
68
- "onboard.skip.two-page": "تخطي",
69
- "onboard.skip.three-page": "تخطي",
70
- "onboard.allow.four-page": "السماح",
71
- "view.onboarding.footer.description": "بالمتابعة فإنك توافق على",
72
- "view.onboarding.btnPrivacy": "الخصوصية",
73
- "view.onboarding.btnTerms": "الشروط"
74
- }
75
- },
76
- "defaultLanguage": "en"
77
- },
78
5
  "data": {
79
6
  "type": "Main",
80
7
  "isMain": true,
@@ -2,79 +2,6 @@
2
2
  "name": "vpn-onboard-6",
3
3
  "version": "1.1.2",
4
4
  "type": "onboard",
5
- "appConfig": {
6
- "theme": "dark",
7
- "isRtl": false,
8
- "screenStyle": {
9
- "light": {
10
- "backgroundColor": "#FDFDFD",
11
- "color": "#161827"
12
- },
13
- "dark": {
14
- "backgroundColor": "#12131A",
15
- "color": "#E9EBF9"
16
- }
17
- },
18
- "localication": {
19
- "en": {
20
- "onboard.title.one-page": "One Page",
21
- "onboard.title.one-page2": "One Page",
22
- "onboard.title.two-page": "Two Page",
23
- "onboard.title.two-page2": "Two Page",
24
- "onboard.title.three-page": "Three Page",
25
- "onboard.title.three-page2": "Three Page",
26
- "onboard.title.four-page": "Four Page",
27
- "onboard.title.four-page2": "Four Page",
28
- "onboard.subtitle.one-page": "One Page",
29
- "onboard.subtitle.one-page2": "One Page",
30
- "onboard.subtitle.two-page": "Two Page",
31
- "onboard.subtitle.two-page2": "Two Page",
32
- "onboard.subtitle.three-page": "Three Page",
33
- "onboard.subtitle.three-page2": "Three Page",
34
- "onboard.subtitle.four-page": "Four Page",
35
- "onboard.subtitle.four-page2": "Four Page",
36
- "onboard.next.one-page": "Next",
37
- "onboard.next.two-page": "Next",
38
- "onboard.next.three-page": "Next",
39
- "onboard.skip.one-page": "Skip",
40
- "onboard.skip.two-page": "Skip",
41
- "onboard.skip.three-page": "Skip",
42
- "onboard.allow.four-page": "Allow",
43
- "view.onboarding.footer.description": "By clicking continue, you will be accepting the Terms of service and privacy policy",
44
- "view.onboarding.btnPrivacy": "Privacy",
45
- "view.onboarding.btnTerms": "Terms"
46
- },
47
- "ar": {
48
- "onboard.title.one-page": " العربية",
49
- "onboard.title.one-page2": " العربية",
50
- "onboard.title.two-page": " العربية",
51
- "onboard.title.two-page2": " العربية",
52
- "onboard.title.three-page": " العربية",
53
- "onboard.title.three-page2": " العربية",
54
- "onboard.title.four-page": " العربية",
55
- "onboard.title.four-page2": " العربية",
56
- "onboard.subtitle.one-page": " العربية",
57
- "onboard.subtitle.one-page2": " العربية",
58
- "onboard.subtitle.two-page": " العربية",
59
- "onboard.subtitle.two-page2": " العربية",
60
- "onboard.subtitle.three-page": " العربية",
61
- "onboard.subtitle.three-page2": " العربية",
62
- "onboard.subtitle.four-page": " العربية",
63
- "onboard.subtitle.four-page2": " العربية",
64
- "onboard.next.one-page": "التالي",
65
- "onboard.next.two-page": "التالي",
66
- "onboard.next.three-page": "التالي",
67
- "onboard.skip.one-page": "تخطي",
68
- "onboard.skip.two-page": "تخطي",
69
- "onboard.skip.three-page": "تخطي",
70
- "onboard.allow.four-page": "السماح",
71
- "view.onboarding.footer.description": "بالمتابعة فإنك توافق على",
72
- "view.onboarding.btnPrivacy": "الخصوصية",
73
- "view.onboarding.btnTerms": "الشروط"
74
- }
75
- },
76
- "defaultLanguage": "en"
77
- },
78
5
  "data": {
79
6
  "type": "Main",
80
7
  "isMain": true,
@@ -0,0 +1,529 @@
1
+ {
2
+ "name": "vpn-onboard-7",
3
+ "version": "1.1.2",
4
+ "type": "onboard",
5
+ "data": {
6
+ "type": "Main",
7
+ "isMain": true,
8
+ "key": "c92tR8J5wbTb3fav",
9
+ "attributes": {
10
+ "useSafeAreaView": true,
11
+ "description": "Ekranın ana kapsayıcısı. (#1)",
12
+ "title": "Main 1",
13
+ "styles": {
14
+ "paddingBottom": 16
15
+ }
16
+ },
17
+ "children": [
18
+ {
19
+ "type": "StatusBarColor",
20
+ "attributes": {
21
+ "title": "Status Bar Color",
22
+ "description": "Status bar background color.",
23
+ "styles": {
24
+ "backgroundColor": "THEME_COLORS.BACKGROUND"
25
+ }
26
+ },
27
+ "children": null,
28
+ "key": "StatusBarColor-sxj19suwkrn"
29
+ },
30
+ {
31
+ "type": "NavigationBarColor",
32
+ "attributes": {
33
+ "title": "Navigation Bar Color",
34
+ "description": "Navigation bar background color.",
35
+ "styles": {
36
+ "backgroundColor": "THEME_COLORS.BACKGROUND"
37
+ }
38
+ },
39
+ "children": null,
40
+ "key": "NavigationBarColor-rhzn570dc5o"
41
+ },
42
+ {
43
+ "type": "OnboardProvider",
44
+ "children": [
45
+ {
46
+ "type": "Onboard",
47
+ "children": [
48
+ {
49
+ "type": "OnboardItem",
50
+ "key": "app_onboard-page1",
51
+ "children": [
52
+ {
53
+ "type": "OnboardTitle",
54
+ "attributes": {
55
+ "description": "Sayfa başlığı. (#1)",
56
+ "title": "OnboardTitle 1",
57
+ "styles": {
58
+ "color": "THEME_COLORS.ONBOARD_TITLE",
59
+ "textAlign": "center",
60
+ "marginTop": 40,
61
+ "fontSize": "28@fs"
62
+ }
63
+ },
64
+ "children": "onboard.title.one-page",
65
+ "key": "OnboardTitle-5t0p86nj13m"
66
+ },
67
+ {
68
+ "type": "OnboardImage",
69
+ "attributes": {
70
+ "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/6c89e0da17a2d6fe2997e97a2b8a00a1.png",
71
+ "resizeMode": "contain",
72
+ "styles": {
73
+ "height": 350
74
+ }
75
+ }
76
+ },
77
+ {
78
+ "type": "OnboardSubtitle",
79
+ "attributes": {
80
+ "description": "Sayfa alt başlığı. (#1)",
81
+ "title": "OnboardSubtitle 1",
82
+ "styles": {
83
+ "color": "THEME_COLORS.ONBOARD_SUBTITLE",
84
+ "fontSize": 16,
85
+ "textAlign": "center",
86
+ "paddingTop": "30@vs"
87
+ }
88
+ },
89
+ "children": "onboard.subtitle.one-page",
90
+ "key": "OnboardSubtitle-0max8wno7l5b"
91
+ }
92
+ ],
93
+ "attributes": {
94
+ "description": "Onboarding sayfası. (#1)",
95
+ "title": "OnboardItem 1"
96
+ }
97
+ },
98
+ {
99
+ "type": "OnboardItem",
100
+ "key": "app_onboard-page2",
101
+ "children": [
102
+ {
103
+ "type": "OnboardTitle",
104
+ "attributes": {
105
+ "description": "Sayfa başlığı. (#2)",
106
+ "title": "OnboardTitle 2",
107
+ "styles": {
108
+ "color": "THEME_COLORS.ONBOARD_TITLE",
109
+ "textAlign": "center",
110
+ "marginTop": 40,
111
+ "fontSize": "28@fs"
112
+ }
113
+ },
114
+ "children": "onboard.title.two-page",
115
+ "key": "OnboardTitle-ne9iihu925k"
116
+ },
117
+ {
118
+ "type": "OnboardImage",
119
+ "attributes": {
120
+ "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/497a627b30ab4a0daaafa3d648a26b07.png",
121
+ "resizeMode": "contain",
122
+ "styles": {
123
+ "height": 350
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "type": "OnboardSubtitle",
129
+ "attributes": {
130
+ "description": "Sayfa alt başlığı. (#2)",
131
+ "title": "OnboardSubtitle 2",
132
+ "styles": {
133
+ "color": "THEME_COLORS.ONBOARD_SUBTITLE",
134
+ "fontSize": 16,
135
+ "textAlign": "center",
136
+ "paddingTop": "30@vs"
137
+ }
138
+ },
139
+ "children": "onboard.subtitle.two-page",
140
+ "key": "OnboardSubtitle-jq9469r7c2"
141
+ }
142
+ ],
143
+ "attributes": {
144
+ "description": "Onboarding sayfası. (#2)",
145
+ "title": "OnboardItem 2"
146
+ }
147
+ },
148
+ {
149
+ "type": "OnboardItem",
150
+ "key": "app_onboard-page3",
151
+ "children": [
152
+ {
153
+ "type": "OnboardTitle",
154
+ "attributes": {
155
+ "description": "Sayfa başlığı. (#3)",
156
+ "title": "OnboardTitle 3",
157
+ "styles": {
158
+ "color": "THEME_COLORS.ONBOARD_TITLE",
159
+ "textAlign": "center",
160
+ "marginTop": 40,
161
+ "fontSize": "28@fs"
162
+ }
163
+ },
164
+ "children": "onboard.title.three-page",
165
+ "key": "OnboardTitle-hczvlbg7gqj"
166
+ },
167
+ {
168
+ "type": "OnboardImage",
169
+ "attributes": {
170
+ "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/6e2bc370d38695f6845007fd302034c2.png",
171
+ "resizeMode": "contain",
172
+ "styles": {
173
+ "height": 350
174
+ }
175
+ }
176
+ },
177
+ {
178
+ "type": "OnboardSubtitle",
179
+ "attributes": {
180
+ "description": "Sayfa alt başlığı. (#3)",
181
+ "title": "OnboardSubtitle 3",
182
+ "styles": {
183
+ "color": "THEME_COLORS.ONBOARD_SUBTITLE",
184
+ "fontSize": 16,
185
+ "textAlign": "center",
186
+ "paddingTop": "30@vs"
187
+ }
188
+ },
189
+ "children": "onboard.subtitle.three-page",
190
+ "key": "OnboardSubtitle-rufjwid9yug"
191
+ }
192
+ ],
193
+ "attributes": {
194
+ "description": "Onboarding sayfası. (#3)",
195
+ "title": "OnboardItem 3"
196
+ }
197
+ },
198
+ {
199
+ "type": "OnboardItem",
200
+ "key": "app_onboard-page4",
201
+ "children": [
202
+ {
203
+ "type": "OnboardTitle",
204
+ "attributes": {
205
+ "description": "Sayfa başlığı. (#4)",
206
+ "title": "OnboardTitle 4",
207
+ "styles": {
208
+ "color": "THEME_COLORS.ONBOARD_TITLE",
209
+ "textAlign": "center",
210
+ "marginTop": 40,
211
+ "fontSize": "28@fs"
212
+ }
213
+ },
214
+ "children": "onboard.title.four-page",
215
+ "key": "OnboardTitle-f2ekfc0wcbl"
216
+ },
217
+ {
218
+ "type": "OnboardImage",
219
+ "attributes": {
220
+ "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/b6e978fe3362e857212163486c22cc7c.png",
221
+ "resizeMode": "contain",
222
+ "styles": {
223
+ "height": 350
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "type": "OnboardSubtitle",
229
+ "attributes": {
230
+ "description": "Sayfa alt başlığı. (#4)",
231
+ "title": "OnboardSubtitle 4",
232
+ "styles": {
233
+ "color": "THEME_COLORS.ONBOARD_SUBTITLE",
234
+ "fontSize": 16,
235
+ "textAlign": "center",
236
+ "paddingTop": "30@vs"
237
+ }
238
+ },
239
+ "children": "onboard.subtitle.four-page",
240
+ "key": "OnboardSubtitle-qkw2jn84xem"
241
+ }
242
+ ],
243
+ "attributes": {
244
+ "description": "Onboarding sayfası. (#4)",
245
+ "title": "OnboardItem 4"
246
+ }
247
+ }
248
+ ],
249
+ "attributes": {
250
+ "description": "Onboarding ana yapısı. (#1)",
251
+ "title": "Onboard 1",
252
+ "styles": {
253
+ "flex": 1
254
+ }
255
+ },
256
+ "key": "Onboard-dg1zmwdawmg"
257
+ },
258
+ {
259
+ "type": "OnboardDot",
260
+ "attributes": {
261
+ "dotType": "expanding_dot",
262
+ "inactive_dot_opacity": 0.3,
263
+ "inactive_dot_color": "STATIC_COLORS.ONBOARD_DOT_INACTIVE",
264
+ "active_dot_color": "STATIC_COLORS.ONBOARD_DOT_ACTIVE",
265
+ "styles": {
266
+ "paddingVertical": 12,
267
+ "dot_thickness": "10@s"
268
+ }
269
+ }
270
+ },
271
+ {
272
+ "type": "OnboardButtons",
273
+ "attributes": {
274
+ "buttons_direction": "row",
275
+ "condition": "carousel-index",
276
+ "conditionVariable": 0,
277
+ "description": "Sayfa buton grubu. (#1)",
278
+ "title": "OnboardButtons 1",
279
+ "styles": {
280
+ "height": 40,
281
+ "marginVertical": 12,
282
+ "flexShrink": 0,
283
+ "paddingBottom": "5@s"
284
+ }
285
+ },
286
+ "children": [
287
+ {
288
+ "type": "OnboardButton",
289
+ "attributes": {
290
+ "labelKey": "onboard.skip.one-page",
291
+ "button_text_color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
292
+ "button_background_color": "STATIC_COLORS.TRANSPARENT",
293
+ "events": [
294
+ {
295
+ "type": "Navigate",
296
+ "navigate_to": null,
297
+ "targetIndex": 3
298
+ }
299
+ ],
300
+ "styles": {
301
+ "flex": 1
302
+ }
303
+ }
304
+ },
305
+ {
306
+ "type": "OnboardButton",
307
+ "attributes": {
308
+ "labelKey": "onboard.next.one-page",
309
+ "button_text_color": "STATIC_COLORS.WHITE",
310
+ "button_background_color": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND",
311
+ "events": [
312
+ {
313
+ "type": "Navigate",
314
+ "navigate_to": null,
315
+ "targetIndex": 1
316
+ }
317
+ ],
318
+ "styles": {
319
+ "flex": 1
320
+ }
321
+ }
322
+ }
323
+ ],
324
+ "key": "OnboardButtons-92fw2wn62h"
325
+ },
326
+ {
327
+ "type": "OnboardButtons",
328
+ "attributes": {
329
+ "buttons_direction": "row",
330
+ "condition": "carousel-index",
331
+ "conditionVariable": 1,
332
+ "description": "Sayfa buton grubu. (#2)",
333
+ "title": "OnboardButtons 2",
334
+ "styles": {
335
+ "height": 40,
336
+ "marginVertical": 12,
337
+ "flexShrink": 0,
338
+ "paddingBottom": "5@s"
339
+ }
340
+ },
341
+ "children": [
342
+ {
343
+ "type": "OnboardButton",
344
+ "attributes": {
345
+ "labelKey": "onboard.skip.two-page",
346
+ "button_text_color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
347
+ "button_background_color": "STATIC_COLORS.TRANSPARENT",
348
+ "events": [
349
+ {
350
+ "type": "Permission",
351
+ "permission": "att"
352
+ },
353
+ {
354
+ "type": "Navigate",
355
+ "navigate_to": null,
356
+ "targetIndex": 3
357
+ }
358
+ ],
359
+ "styles": {
360
+ "flex": 1
361
+ }
362
+ }
363
+ },
364
+ {
365
+ "type": "OnboardButton",
366
+ "attributes": {
367
+ "labelKey": "onboard.next.two-page",
368
+ "button_text_color": "STATIC_COLORS.WHITE",
369
+ "button_background_color": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND",
370
+ "events": [
371
+ {
372
+ "type": "Permission",
373
+ "permission": "att"
374
+ },
375
+ {
376
+ "type": "Navigate",
377
+ "navigate_to": null,
378
+ "targetIndex": 2
379
+ }
380
+ ],
381
+ "styles": {
382
+ "flex": 1
383
+ }
384
+ }
385
+ }
386
+ ],
387
+ "key": "OnboardButtons-mu7r8a5qx4"
388
+ },
389
+ {
390
+ "type": "OnboardButtons",
391
+ "attributes": {
392
+ "buttons_direction": "row",
393
+ "condition": "carousel-index",
394
+ "conditionVariable": 2,
395
+ "description": "Sayfa buton grubu. (#3)",
396
+ "title": "OnboardButtons 3",
397
+ "styles": {
398
+ "height": 40,
399
+ "marginVertical": 12,
400
+ "flexShrink": 0,
401
+ "paddingBottom": "5@s"
402
+ }
403
+ },
404
+ "children": [
405
+ {
406
+ "type": "OnboardButton",
407
+ "attributes": {
408
+ "labelKey": "onboard.skip.three-page",
409
+ "button_text_color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
410
+ "button_background_color": "STATIC_COLORS.TRANSPARENT",
411
+ "events": [
412
+ {
413
+ "type": "Navigate",
414
+ "navigate_to": null,
415
+ "targetIndex": 3
416
+ }
417
+ ],
418
+ "styles": {
419
+ "flex": 1
420
+ }
421
+ }
422
+ },
423
+ {
424
+ "type": "OnboardButton",
425
+ "attributes": {
426
+ "labelKey": "onboard.next.three-page",
427
+ "button_text_color": "STATIC_COLORS.WHITE",
428
+ "button_background_color": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND",
429
+ "events": [
430
+ {
431
+ "type": "Permission",
432
+ "permission": "rating"
433
+ },
434
+ {
435
+ "type": "Navigate",
436
+ "navigate_to": null,
437
+ "targetIndex": 3
438
+ }
439
+ ],
440
+ "styles": {
441
+ "flex": 1
442
+ }
443
+ }
444
+ }
445
+ ],
446
+ "key": "OnboardButtons-rulfu6b5w5"
447
+ },
448
+ {
449
+ "type": "OnboardButtons",
450
+ "attributes": {
451
+ "buttons_direction": "row",
452
+ "condition": "carousel-index",
453
+ "conditionVariable": 3,
454
+ "description": "Sayfa buton grubu. (#4)",
455
+ "title": "OnboardButtons 4",
456
+ "styles": {
457
+ "height": 40,
458
+ "marginVertical": 12,
459
+ "flexShrink": 0,
460
+ "paddingBottom": "5@s"
461
+ }
462
+ },
463
+ "children": [
464
+ {
465
+ "type": "OnboardButton",
466
+ "attributes": {
467
+ "labelKey": "onboard.allow.four-page",
468
+ "button_text_color": "STATIC_COLORS.WHITE",
469
+ "button_background_color": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND",
470
+ "events": [
471
+ {
472
+ "type": "Permission",
473
+ "permission": "notification"
474
+ },
475
+ {
476
+ "type": "Navigate",
477
+ "navigate_to": "home"
478
+ }
479
+ ],
480
+ "styles": {
481
+ "flex": 1
482
+ }
483
+ }
484
+ }
485
+ ],
486
+ "key": "OnboardButtons-yru5emc0zcs"
487
+ },
488
+ {
489
+ "type": "View",
490
+ "attributes": {
491
+ "title": "Onboard Footer Wrap",
492
+ "description": "Wrapper for OnboardFooter component",
493
+ "styles": {
494
+ "marginHorizontal": 25,
495
+ "flexShrink": 0
496
+ }
497
+ },
498
+ "children": [
499
+ {
500
+ "type": "OnboardFooter",
501
+ "attributes": {
502
+ "textLocalizationKey": "view.onboarding.footer.description",
503
+ "linkedWordFirstLocalizationKey": "view.onboarding.btnPrivacy",
504
+ "linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
505
+ "linkedWordFirstPage": "privacy",
506
+ "linkedWordSecondLocalizationKey": "view.onboarding.btnTerms",
507
+ "linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
508
+ "linkedWordSecondPage": "terms",
509
+ "styles": {
510
+ "gap": 8,
511
+ "color": "THEME_COLORS.ONBOARD_FOOTER_TEXT",
512
+ "fontSize": "12@fs"
513
+ }
514
+ }
515
+ }
516
+ ],
517
+ "key": "View-c5vb7865vto"
518
+ }
519
+ ],
520
+ "attributes": {
521
+ "theme": "dark",
522
+ "description": "Onboarding sağlayıcısı. (#1)",
523
+ "title": "OnboardProvider 1"
524
+ },
525
+ "key": "OnboardProvider-pvc5b6o5gu"
526
+ }
527
+ ]
528
+ }
529
+ }