@developer_tribe/react-builder 1.2.41 → 1.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-components/BIcon/BIconProps.generated.d.ts +1 -1
- package/dist/build-components/CountDown/CountDownProps.generated.d.ts +1 -1
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +1 -1
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +1 -1
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +1 -1
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +1 -1
- package/dist/build-components/PaywallFooter/PaywallFooter.d.ts +5 -0
- package/dist/build-components/PaywallFooter/PaywallFooterProps.generated.d.ts +68 -0
- package/dist/build-components/PriceTag/PriceTagProps.generated.d.ts +1 -1
- package/dist/build-components/Pricing/PricingProps.generated.d.ts +1 -1
- package/dist/build-components/Promo/PromoProps.generated.d.ts +1 -1
- package/dist/build-components/Text/TextProps.generated.d.ts +1 -1
- package/dist/build-components/index.d.ts +2 -1
- package/dist/build-components/patterns.generated.d.ts +516 -13
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.web.cjs.js +4 -4
- package/dist/index.web.cjs.js.map +1 -1
- package/dist/index.web.esm.js +4 -4
- package/dist/index.web.esm.js.map +1 -1
- package/dist/modals/IconPickerModal.d.ts +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/PreviewConfig.d.ts +1 -1
- package/package.json +2 -2
- package/src/RenderPage.tsx +5 -2
- package/src/assets/meta.json +1 -1
- package/src/assets/prompt-scheme-onboard.generated.ts +1 -1
- package/src/assets/prompt-scheme-paywall.generated.ts +1 -1
- package/src/assets/samples/paywall-1.json +19 -2
- package/src/assets/samples/vpn-onboard-1.json +3 -3
- package/src/assets/samples/vpn-onboard-2.json +3 -3
- package/src/assets/samples/vpn-onboard-3.json +3 -3
- package/src/assets/samples/vpn-onboard-4.json +3 -3
- package/src/assets/samples/vpn-onboard-5.json +3 -3
- package/src/assets/samples/vpn-onboard-6.json +3 -3
- package/src/assets/samples/vpn-onboard-7.json +3 -3
- package/src/attributes-editor/AttributesEditorFields.tsx +1 -1
- package/src/attributes-editor/FallbackLocalizationField.tsx +725 -250
- package/src/build-components/BIcon/BIcon.tsx +1 -1
- package/src/build-components/BIcon/BIconProps.generated.ts +1 -1
- package/src/build-components/CountDown/CountDownProps.generated.ts +1 -1
- package/src/build-components/OnboardButton/OnboardButton.tsx +1 -1
- package/src/build-components/OnboardButton/pattern.json +1 -1
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +29 -20
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +1 -1
- package/src/build-components/OnboardFooter/pattern.json +2 -1
- package/src/build-components/OnboardProvider/pattern.json +1 -1
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +1 -1
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +1 -1
- package/src/build-components/PaywallCloseButton/PaywallCloseButton.tsx +1 -1
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +1 -1
- package/src/build-components/PaywallFooter/PaywallFooter.tsx +242 -0
- package/src/build-components/PaywallFooter/PaywallFooterProps.generated.ts +85 -0
- package/src/build-components/PaywallFooter/pattern.json +86 -0
- package/src/build-components/PriceTag/PriceTagProps.generated.ts +1 -1
- package/src/build-components/Pricing/PricingProps.generated.ts +1 -1
- package/src/build-components/Promo/PromoProps.generated.ts +1 -1
- package/src/build-components/RenderNode.generated.tsx +5 -0
- package/src/build-components/Text/Text.tsx +5 -4
- package/src/build-components/Text/TextProps.generated.ts +1 -1
- package/src/build-components/Text/pattern.json +2 -1
- package/src/build-components/index.ts +5 -0
- package/src/build-components/patterns.generated.ts +532 -13
- package/src/components/BottomBar.tsx +1 -1
- package/src/components/DeviceNavigationBar.tsx +2 -2
- package/src/hooks/useLocalize.ts +11 -1
- package/src/hooks/useSafeAreaViewStyle.ts +1 -11
- package/src/mockOS/managers/mockPermissionManager.ts +5 -3
- package/src/mockOS/managers/navigationManager.ts +6 -4
- package/src/modals/IconPickerModal.tsx +1 -1
- package/src/modals/InspectModal.tsx +22 -24
- package/src/styles/base/_global.scss +1 -1
- package/src/types/PreviewConfig.ts +24 -6
- package/src/utils/extractViewStyle/extractViewStyle.ts +0 -1
- package/src/utils/useMergedStyle.ts +1 -1
- package/dist/build-components/index.generated.d.ts +0 -38
- package/dist/types/Icons.generated.d.ts +0 -2
- package/src/build-components/index.generated.ts +0 -184
- package/src/types/Icons.generated.ts +0 -244
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"description": "Metin öğesi. (#4)",
|
|
282
282
|
"title": "Product Desc(s)",
|
|
283
283
|
"styles": {
|
|
284
|
-
"flex":
|
|
284
|
+
"flex": 6
|
|
285
285
|
},
|
|
286
286
|
"testID": "Text-test-id-4"
|
|
287
287
|
},
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
"title": "Price Column",
|
|
294
294
|
"styles": {
|
|
295
295
|
"flexDirection": "column",
|
|
296
|
-
"flex":
|
|
296
|
+
"flex": 2,
|
|
297
297
|
"alignItems": "flex-end"
|
|
298
298
|
},
|
|
299
299
|
"testID": "View-test-id-6"
|
|
@@ -404,6 +404,23 @@
|
|
|
404
404
|
"testID": "Promo-test-id-1"
|
|
405
405
|
},
|
|
406
406
|
"children": "@baseLocalizedPromoText"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"type": "PaywallFooter",
|
|
410
|
+
"attributes": {
|
|
411
|
+
"textLocalizationKey": "base.builder.paywall.footer.description",
|
|
412
|
+
"linkedWordFirstLocalizationKey": "base.builder.paywall.btnPrivacy",
|
|
413
|
+
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
414
|
+
"linkedWordFirstPage": "privacy",
|
|
415
|
+
"linkedWordSecondLocalizationKey": "base.builder.paywall.btnTerms",
|
|
416
|
+
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
417
|
+
"linkedWordSecondPage": "terms",
|
|
418
|
+
"styles": {
|
|
419
|
+
"gap": 8,
|
|
420
|
+
"color": "THEME_COLORS.ONBOARD_FOOTER_TEXT"
|
|
421
|
+
},
|
|
422
|
+
"testID": "PaywallFooter-test-id-1"
|
|
423
|
+
}
|
|
407
424
|
}
|
|
408
425
|
]
|
|
409
426
|
}
|
|
@@ -522,11 +522,11 @@
|
|
|
522
522
|
{
|
|
523
523
|
"type": "OnboardFooter",
|
|
524
524
|
"attributes": {
|
|
525
|
-
"textLocalizationKey": "
|
|
526
|
-
"linkedWordFirstLocalizationKey": "
|
|
525
|
+
"textLocalizationKey": "base.onboard.footer.description",
|
|
526
|
+
"linkedWordFirstLocalizationKey": "base.onboard.btnPrivacy",
|
|
527
527
|
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
528
528
|
"linkedWordFirstPage": "privacy",
|
|
529
|
-
"linkedWordSecondLocalizationKey": "
|
|
529
|
+
"linkedWordSecondLocalizationKey": "base.onboard.btnTerms",
|
|
530
530
|
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
531
531
|
"linkedWordSecondPage": "terms",
|
|
532
532
|
"styles": {
|
|
@@ -525,11 +525,11 @@
|
|
|
525
525
|
{
|
|
526
526
|
"type": "OnboardFooter",
|
|
527
527
|
"attributes": {
|
|
528
|
-
"textLocalizationKey": "
|
|
529
|
-
"linkedWordFirstLocalizationKey": "
|
|
528
|
+
"textLocalizationKey": "base.onboard.footer.description",
|
|
529
|
+
"linkedWordFirstLocalizationKey": "base.onboard.btnPrivacy",
|
|
530
530
|
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
531
531
|
"linkedWordFirstPage": "privacy",
|
|
532
|
-
"linkedWordSecondLocalizationKey": "
|
|
532
|
+
"linkedWordSecondLocalizationKey": "base.onboard.btnTerms",
|
|
533
533
|
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
534
534
|
"linkedWordSecondPage": "terms",
|
|
535
535
|
"styles": {
|
|
@@ -486,11 +486,11 @@
|
|
|
486
486
|
{
|
|
487
487
|
"type": "OnboardFooter",
|
|
488
488
|
"attributes": {
|
|
489
|
-
"textLocalizationKey": "
|
|
490
|
-
"linkedWordFirstLocalizationKey": "
|
|
489
|
+
"textLocalizationKey": "base.onboard.footer.description",
|
|
490
|
+
"linkedWordFirstLocalizationKey": "base.onboard.btnPrivacy",
|
|
491
491
|
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
492
492
|
"linkedWordFirstPage": "privacy",
|
|
493
|
-
"linkedWordSecondLocalizationKey": "
|
|
493
|
+
"linkedWordSecondLocalizationKey": "base.onboard.btnTerms",
|
|
494
494
|
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
495
495
|
"linkedWordSecondPage": "terms",
|
|
496
496
|
"styles": {
|
|
@@ -486,11 +486,11 @@
|
|
|
486
486
|
{
|
|
487
487
|
"type": "OnboardFooter",
|
|
488
488
|
"attributes": {
|
|
489
|
-
"textLocalizationKey": "
|
|
490
|
-
"linkedWordFirstLocalizationKey": "
|
|
489
|
+
"textLocalizationKey": "base.onboard.footer.description",
|
|
490
|
+
"linkedWordFirstLocalizationKey": "base.onboard.btnPrivacy",
|
|
491
491
|
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
492
492
|
"linkedWordFirstPage": "privacy",
|
|
493
|
-
"linkedWordSecondLocalizationKey": "
|
|
493
|
+
"linkedWordSecondLocalizationKey": "base.onboard.btnTerms",
|
|
494
494
|
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
495
495
|
"linkedWordSecondPage": "terms",
|
|
496
496
|
"styles": {
|
|
@@ -710,11 +710,11 @@
|
|
|
710
710
|
{
|
|
711
711
|
"type": "OnboardFooter",
|
|
712
712
|
"attributes": {
|
|
713
|
-
"textLocalizationKey": "
|
|
714
|
-
"linkedWordFirstLocalizationKey": "
|
|
713
|
+
"textLocalizationKey": "base.onboard.footer.description",
|
|
714
|
+
"linkedWordFirstLocalizationKey": "base.onboard.btnPrivacy",
|
|
715
715
|
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
716
716
|
"linkedWordFirstPage": "privacy",
|
|
717
|
-
"linkedWordSecondLocalizationKey": "
|
|
717
|
+
"linkedWordSecondLocalizationKey": "base.onboard.btnTerms",
|
|
718
718
|
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
719
719
|
"linkedWordSecondPage": "terms",
|
|
720
720
|
"styles": {
|
|
@@ -498,11 +498,11 @@
|
|
|
498
498
|
{
|
|
499
499
|
"type": "OnboardFooter",
|
|
500
500
|
"attributes": {
|
|
501
|
-
"textLocalizationKey": "
|
|
502
|
-
"linkedWordFirstLocalizationKey": "
|
|
501
|
+
"textLocalizationKey": "base.onboard.footer.description",
|
|
502
|
+
"linkedWordFirstLocalizationKey": "base.onboard.btnPrivacy",
|
|
503
503
|
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
504
504
|
"linkedWordFirstPage": "privacy",
|
|
505
|
-
"linkedWordSecondLocalizationKey": "
|
|
505
|
+
"linkedWordSecondLocalizationKey": "base.onboard.btnTerms",
|
|
506
506
|
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
507
507
|
"linkedWordSecondPage": "terms",
|
|
508
508
|
"styles": {
|
|
@@ -536,11 +536,11 @@
|
|
|
536
536
|
{
|
|
537
537
|
"type": "OnboardFooter",
|
|
538
538
|
"attributes": {
|
|
539
|
-
"textLocalizationKey": "
|
|
540
|
-
"linkedWordFirstLocalizationKey": "
|
|
539
|
+
"textLocalizationKey": "base.onboard.footer.description",
|
|
540
|
+
"linkedWordFirstLocalizationKey": "base.onboard.btnPrivacy",
|
|
541
541
|
"linkedWordFirstColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
542
542
|
"linkedWordFirstPage": "privacy",
|
|
543
|
-
"linkedWordSecondLocalizationKey": "
|
|
543
|
+
"linkedWordSecondLocalizationKey": "base.onboard.btnTerms",
|
|
544
544
|
"linkedWordSecondColor": "STATIC_COLORS.ONBOARD_LINK_COLOR",
|
|
545
545
|
"linkedWordSecondPage": "terms",
|
|
546
546
|
"styles": {
|
|
@@ -5,7 +5,7 @@ import { IconPickerModal } from '../modals/IconPickerModal';
|
|
|
5
5
|
import Modal from '../modals/Modal';
|
|
6
6
|
import { loadFontFamily } from '../utils/loadFontFamily';
|
|
7
7
|
import { fontsDebug } from '../utils/fontsDebug';
|
|
8
|
-
import type { IconsType } from '../types/Icons
|
|
8
|
+
import type { IconsType } from '../types/Icons';
|
|
9
9
|
|
|
10
10
|
type IconTypePickerFieldProps = {
|
|
11
11
|
name: string;
|