@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
|
@@ -11,7 +11,7 @@ export const patterns = [
|
|
|
11
11
|
children: 'never',
|
|
12
12
|
attributes: {
|
|
13
13
|
adjustsFontSizeToFit: 'boolean',
|
|
14
|
-
|
|
14
|
+
numberOfLines: 'number',
|
|
15
15
|
translateCounter: 'number',
|
|
16
16
|
styles: {
|
|
17
17
|
color: 'color',
|
|
@@ -457,6 +457,7 @@ export const patterns = [
|
|
|
457
457
|
},
|
|
458
458
|
defaults: {
|
|
459
459
|
translateCounter: 1,
|
|
460
|
+
numberOfLines: 1,
|
|
460
461
|
styles: {
|
|
461
462
|
color: 'THEME_COLORS.TEXT',
|
|
462
463
|
fontSize: '16',
|
|
@@ -3252,7 +3253,7 @@ export const patterns = [
|
|
|
3252
3253
|
children: 'never',
|
|
3253
3254
|
attributes: {
|
|
3254
3255
|
adjustsFontSizeToFit: 'boolean',
|
|
3255
|
-
|
|
3256
|
+
numberOfLines: 'number',
|
|
3256
3257
|
translateCounter: 'number',
|
|
3257
3258
|
styles: {
|
|
3258
3259
|
color: 'color',
|
|
@@ -3682,6 +3683,7 @@ export const patterns = [
|
|
|
3682
3683
|
},
|
|
3683
3684
|
defaults: {
|
|
3684
3685
|
translateCounter: 1,
|
|
3686
|
+
numberOfLines: 1,
|
|
3685
3687
|
styles: {
|
|
3686
3688
|
color: 'THEME_COLORS.TEXT',
|
|
3687
3689
|
fontSize: '16@fs',
|
|
@@ -4992,7 +4994,7 @@ export const patterns = [
|
|
|
4992
4994
|
meta: {
|
|
4993
4995
|
desiredParent: ['=OnboardButtons'],
|
|
4994
4996
|
label: 'Onboard Button',
|
|
4995
|
-
description: 'Single action button for
|
|
4997
|
+
description: 'Single action button for onboard.',
|
|
4996
4998
|
specialCategories: {
|
|
4997
4999
|
padding: {
|
|
4998
5000
|
label: 'Padding',
|
|
@@ -6242,7 +6244,7 @@ export const patterns = [
|
|
|
6242
6244
|
children: 'never',
|
|
6243
6245
|
attributes: {
|
|
6244
6246
|
adjustsFontSizeToFit: 'boolean',
|
|
6245
|
-
|
|
6247
|
+
numberOfLines: 'number',
|
|
6246
6248
|
translateCounter: 'number',
|
|
6247
6249
|
styles: {
|
|
6248
6250
|
color: 'color',
|
|
@@ -6720,6 +6722,7 @@ export const patterns = [
|
|
|
6720
6722
|
},
|
|
6721
6723
|
defaults: {
|
|
6722
6724
|
translateCounter: 1,
|
|
6725
|
+
numberOfLines: 1,
|
|
6723
6726
|
styles: {
|
|
6724
6727
|
color: 'THEME_COLORS.TEXT',
|
|
6725
6728
|
fontSize: '16@fs',
|
|
@@ -6730,11 +6733,12 @@ export const patterns = [
|
|
|
6730
6733
|
alignSelf: 'flex-start',
|
|
6731
6734
|
flexGrow: 0,
|
|
6732
6735
|
flexShrink: 0,
|
|
6736
|
+
minHeight: '50@vs',
|
|
6733
6737
|
flexWrap: 'wrap',
|
|
6734
6738
|
alignItems: 'center',
|
|
6735
6739
|
justifyContent: 'center',
|
|
6736
6740
|
textAlign: 'center',
|
|
6737
|
-
paddingHorizontal: '
|
|
6741
|
+
paddingHorizontal: '16@s',
|
|
6738
6742
|
},
|
|
6739
6743
|
},
|
|
6740
6744
|
types: {},
|
|
@@ -7618,7 +7622,7 @@ export const patterns = [
|
|
|
7618
7622
|
meta: {
|
|
7619
7623
|
desiredParent: ['root'],
|
|
7620
7624
|
label: 'Onboard Provider',
|
|
7621
|
-
description: 'Provides shared settings for
|
|
7625
|
+
description: 'Provides shared settings for onboard.',
|
|
7622
7626
|
specialCategories: {
|
|
7623
7627
|
padding: {
|
|
7624
7628
|
label: 'Padding',
|
|
@@ -7949,7 +7953,7 @@ export const patterns = [
|
|
|
7949
7953
|
children: 'string',
|
|
7950
7954
|
attributes: {
|
|
7951
7955
|
adjustsFontSizeToFit: 'boolean',
|
|
7952
|
-
|
|
7956
|
+
numberOfLines: 'number',
|
|
7953
7957
|
translateCounter: 'number',
|
|
7954
7958
|
styles: {
|
|
7955
7959
|
color: 'color',
|
|
@@ -8371,6 +8375,7 @@ export const patterns = [
|
|
|
8371
8375
|
},
|
|
8372
8376
|
defaults: {
|
|
8373
8377
|
translateCounter: 1,
|
|
8378
|
+
numberOfLines: 1,
|
|
8374
8379
|
styles: {
|
|
8375
8380
|
color: 'THEME_COLORS.TEXT',
|
|
8376
8381
|
fontSize: '14@fs',
|
|
@@ -8394,7 +8399,7 @@ export const patterns = [
|
|
|
8394
8399
|
children: 'string',
|
|
8395
8400
|
attributes: {
|
|
8396
8401
|
adjustsFontSizeToFit: 'boolean',
|
|
8397
|
-
|
|
8402
|
+
numberOfLines: 'number',
|
|
8398
8403
|
translateCounter: 'number',
|
|
8399
8404
|
styles: {
|
|
8400
8405
|
color: 'color',
|
|
@@ -8816,6 +8821,7 @@ export const patterns = [
|
|
|
8816
8821
|
},
|
|
8817
8822
|
defaults: {
|
|
8818
8823
|
translateCounter: 1,
|
|
8824
|
+
numberOfLines: 1,
|
|
8819
8825
|
styles: {
|
|
8820
8826
|
color: 'THEME_COLORS.TEXT',
|
|
8821
8827
|
fontSize: '24@fs',
|
|
@@ -9246,7 +9252,7 @@ export const patterns = [
|
|
|
9246
9252
|
size: 'number',
|
|
9247
9253
|
strokeWidth: 'number',
|
|
9248
9254
|
adjustsFontSizeToFit: 'boolean',
|
|
9249
|
-
|
|
9255
|
+
numberOfLines: 'number',
|
|
9250
9256
|
translateCounter: 'number',
|
|
9251
9257
|
styles: {
|
|
9252
9258
|
color: 'color',
|
|
@@ -9706,11 +9712,520 @@ export const patterns = [
|
|
|
9706
9712
|
alignItems: 'center',
|
|
9707
9713
|
},
|
|
9708
9714
|
translateCounter: 1,
|
|
9715
|
+
numberOfLines: 1,
|
|
9709
9716
|
testID: 'paywall-close-button',
|
|
9710
9717
|
size: 24,
|
|
9711
9718
|
},
|
|
9712
9719
|
types: {},
|
|
9713
9720
|
},
|
|
9721
|
+
{
|
|
9722
|
+
schemaVersion: 2,
|
|
9723
|
+
pattern: {
|
|
9724
|
+
type: 'PaywallFooter',
|
|
9725
|
+
title: 'title',
|
|
9726
|
+
description: 'description',
|
|
9727
|
+
children: 'never',
|
|
9728
|
+
attributes: {
|
|
9729
|
+
adjustsFontSizeToFit: 'boolean',
|
|
9730
|
+
numberOfLines: 'number',
|
|
9731
|
+
translateCounter: 'number',
|
|
9732
|
+
styles: {
|
|
9733
|
+
color: 'color',
|
|
9734
|
+
fontSize: 'size',
|
|
9735
|
+
fontFamily: 'fontFamily',
|
|
9736
|
+
fontWeight: 'fontWeight',
|
|
9737
|
+
textAlign: 'string',
|
|
9738
|
+
flexDirection: ['row', 'column'],
|
|
9739
|
+
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
9740
|
+
alignItems: [
|
|
9741
|
+
'flex-start',
|
|
9742
|
+
'center',
|
|
9743
|
+
'flex-end',
|
|
9744
|
+
'stretch',
|
|
9745
|
+
'baseline',
|
|
9746
|
+
],
|
|
9747
|
+
justifyContent: [
|
|
9748
|
+
'flex-start',
|
|
9749
|
+
'center',
|
|
9750
|
+
'flex-end',
|
|
9751
|
+
'space-between',
|
|
9752
|
+
'space-around',
|
|
9753
|
+
'space-evenly',
|
|
9754
|
+
],
|
|
9755
|
+
gap: 'size',
|
|
9756
|
+
padding: 'size',
|
|
9757
|
+
paddingHorizontal: 'size',
|
|
9758
|
+
paddingVertical: 'size',
|
|
9759
|
+
paddingTop: 'size',
|
|
9760
|
+
paddingBottom: 'size',
|
|
9761
|
+
paddingLeft: 'size',
|
|
9762
|
+
paddingRight: 'size',
|
|
9763
|
+
margin: 'size',
|
|
9764
|
+
marginHorizontal: 'size',
|
|
9765
|
+
marginVertical: 'size',
|
|
9766
|
+
marginTop: 'size',
|
|
9767
|
+
marginBottom: 'size',
|
|
9768
|
+
marginLeft: 'size',
|
|
9769
|
+
marginRight: 'size',
|
|
9770
|
+
backgroundColor: 'color',
|
|
9771
|
+
borderRadius: 'size',
|
|
9772
|
+
width: 'size',
|
|
9773
|
+
minWidth: 'size',
|
|
9774
|
+
maxWidth: 'size',
|
|
9775
|
+
height: 'size',
|
|
9776
|
+
minHeight: 'size',
|
|
9777
|
+
maxHeight: 'size',
|
|
9778
|
+
flex: 'number',
|
|
9779
|
+
position: ['relative', 'absolute'],
|
|
9780
|
+
top: 'size',
|
|
9781
|
+
bottom: 'size',
|
|
9782
|
+
left: 'size',
|
|
9783
|
+
right: 'size',
|
|
9784
|
+
zIndex: 'number',
|
|
9785
|
+
},
|
|
9786
|
+
scrollable: 'boolean',
|
|
9787
|
+
testID: 'string',
|
|
9788
|
+
textLocalizationKey: 'string',
|
|
9789
|
+
linkedWordFirstLocalizationKey: 'string',
|
|
9790
|
+
linkedWordFirstColor: 'color',
|
|
9791
|
+
linkedWordFirstPage: 'string',
|
|
9792
|
+
linkedWordSecondLocalizationKey: 'string',
|
|
9793
|
+
linkedWordSecondColor: 'color',
|
|
9794
|
+
linkedWordSecondPage: 'string',
|
|
9795
|
+
},
|
|
9796
|
+
},
|
|
9797
|
+
meta: {
|
|
9798
|
+
desiredParent: ['>PaywallProvider'],
|
|
9799
|
+
label: 'Paywall Footer',
|
|
9800
|
+
description: 'Footer text with optional links for paywall screens.',
|
|
9801
|
+
styles: {
|
|
9802
|
+
color: {
|
|
9803
|
+
label: 'Color',
|
|
9804
|
+
description: 'Text color.',
|
|
9805
|
+
category: 'style',
|
|
9806
|
+
specialCategory: null,
|
|
9807
|
+
sort: 1,
|
|
9808
|
+
},
|
|
9809
|
+
fontSize: {
|
|
9810
|
+
label: 'Font Size',
|
|
9811
|
+
description: 'Text size.',
|
|
9812
|
+
category: 'style',
|
|
9813
|
+
specialCategory: null,
|
|
9814
|
+
sort: 2,
|
|
9815
|
+
preferredScale: 'f',
|
|
9816
|
+
},
|
|
9817
|
+
fontFamily: {
|
|
9818
|
+
label: 'Font Family',
|
|
9819
|
+
description: 'Font family used for the text.',
|
|
9820
|
+
category: 'style',
|
|
9821
|
+
specialCategory: null,
|
|
9822
|
+
sort: 3,
|
|
9823
|
+
},
|
|
9824
|
+
fontWeight: {
|
|
9825
|
+
label: 'Font Weight',
|
|
9826
|
+
description: 'Text weight.',
|
|
9827
|
+
category: 'style',
|
|
9828
|
+
specialCategory: null,
|
|
9829
|
+
sort: 4,
|
|
9830
|
+
},
|
|
9831
|
+
textAlign: {
|
|
9832
|
+
label: 'Text Align',
|
|
9833
|
+
description: 'Text alignment.',
|
|
9834
|
+
category: 'style',
|
|
9835
|
+
specialCategory: null,
|
|
9836
|
+
sort: 5,
|
|
9837
|
+
},
|
|
9838
|
+
},
|
|
9839
|
+
attributes: {
|
|
9840
|
+
adjustsFontSizeToFit: {
|
|
9841
|
+
label: 'Adjust Font Size To Fit',
|
|
9842
|
+
description:
|
|
9843
|
+
'Automatically reduces font size to fit the available space.',
|
|
9844
|
+
category: 'other',
|
|
9845
|
+
specialCategory: null,
|
|
9846
|
+
sort: 1,
|
|
9847
|
+
},
|
|
9848
|
+
showEllipsis: {
|
|
9849
|
+
label: 'Show Ellipsis',
|
|
9850
|
+
description:
|
|
9851
|
+
'If text overflows, show ellipsis (…); applied as single-line truncation.',
|
|
9852
|
+
category: 'other',
|
|
9853
|
+
specialCategory: null,
|
|
9854
|
+
sort: 2,
|
|
9855
|
+
},
|
|
9856
|
+
scrollable: {
|
|
9857
|
+
label: 'Scrollable',
|
|
9858
|
+
description: 'Turns scroll interaction on.',
|
|
9859
|
+
category: 'container',
|
|
9860
|
+
specialCategory: null,
|
|
9861
|
+
sort: -1,
|
|
9862
|
+
},
|
|
9863
|
+
styles: {
|
|
9864
|
+
backgroundColor: {
|
|
9865
|
+
label: 'Background Color',
|
|
9866
|
+
description: 'Background fill color.',
|
|
9867
|
+
category: 'style',
|
|
9868
|
+
specialCategory: null,
|
|
9869
|
+
sort: 20,
|
|
9870
|
+
},
|
|
9871
|
+
borderRadius: {
|
|
9872
|
+
label: 'Border Radius',
|
|
9873
|
+
description: 'Corner rounding amount.',
|
|
9874
|
+
category: 'style',
|
|
9875
|
+
specialCategory: null,
|
|
9876
|
+
sort: 21,
|
|
9877
|
+
preferredScale: 's',
|
|
9878
|
+
},
|
|
9879
|
+
flexDirection: {
|
|
9880
|
+
label: 'Flex Direction',
|
|
9881
|
+
description: 'Sets row or column layout.',
|
|
9882
|
+
category: 'container',
|
|
9883
|
+
specialCategory: null,
|
|
9884
|
+
sort: 4,
|
|
9885
|
+
},
|
|
9886
|
+
flexWrap: {
|
|
9887
|
+
label: 'Flex Wrap',
|
|
9888
|
+
description: 'Controls whether flex items wrap to multiple lines.',
|
|
9889
|
+
category: 'container',
|
|
9890
|
+
specialCategory: null,
|
|
9891
|
+
sort: 4.5,
|
|
9892
|
+
},
|
|
9893
|
+
alignItems: {
|
|
9894
|
+
label: 'Align Items',
|
|
9895
|
+
description: 'Controls cross-axis alignment.',
|
|
9896
|
+
category: 'container',
|
|
9897
|
+
specialCategory: null,
|
|
9898
|
+
sort: 3,
|
|
9899
|
+
},
|
|
9900
|
+
justifyContent: {
|
|
9901
|
+
label: 'Justify Content',
|
|
9902
|
+
description: 'Controls main-axis alignment.',
|
|
9903
|
+
category: 'container',
|
|
9904
|
+
specialCategory: null,
|
|
9905
|
+
sort: 5,
|
|
9906
|
+
},
|
|
9907
|
+
gap: {
|
|
9908
|
+
label: 'Gap',
|
|
9909
|
+
description: 'Space between children.',
|
|
9910
|
+
category: 'container',
|
|
9911
|
+
specialCategory: null,
|
|
9912
|
+
sort: 10,
|
|
9913
|
+
preferredScale: 's',
|
|
9914
|
+
},
|
|
9915
|
+
padding: {
|
|
9916
|
+
label: 'Padding',
|
|
9917
|
+
description: 'Uniform padding on all sides.',
|
|
9918
|
+
category: 'container',
|
|
9919
|
+
specialCategory: 'padding',
|
|
9920
|
+
sort: 6,
|
|
9921
|
+
preferredScale: 's',
|
|
9922
|
+
},
|
|
9923
|
+
paddingHorizontal: {
|
|
9924
|
+
label: 'Padding Horizontal',
|
|
9925
|
+
description: 'Left and right padding.',
|
|
9926
|
+
category: 'container',
|
|
9927
|
+
specialCategory: 'padding',
|
|
9928
|
+
sort: 7,
|
|
9929
|
+
preferredScale: 's',
|
|
9930
|
+
},
|
|
9931
|
+
paddingVertical: {
|
|
9932
|
+
label: 'Padding Vertical',
|
|
9933
|
+
description: 'Top and bottom padding.',
|
|
9934
|
+
category: 'container',
|
|
9935
|
+
specialCategory: 'padding',
|
|
9936
|
+
sort: 8,
|
|
9937
|
+
preferredScale: 'vs',
|
|
9938
|
+
},
|
|
9939
|
+
paddingTop: {
|
|
9940
|
+
label: 'Padding Top',
|
|
9941
|
+
description: 'Top padding only.',
|
|
9942
|
+
category: 'container',
|
|
9943
|
+
specialCategory: 'padding',
|
|
9944
|
+
sort: 9,
|
|
9945
|
+
preferredScale: 'vs',
|
|
9946
|
+
},
|
|
9947
|
+
paddingBottom: {
|
|
9948
|
+
label: 'Padding Bottom',
|
|
9949
|
+
description: 'Bottom padding only.',
|
|
9950
|
+
category: 'container',
|
|
9951
|
+
specialCategory: 'padding',
|
|
9952
|
+
sort: 10,
|
|
9953
|
+
preferredScale: 'vs',
|
|
9954
|
+
},
|
|
9955
|
+
paddingLeft: {
|
|
9956
|
+
label: 'Padding Left',
|
|
9957
|
+
description: 'Left padding only.',
|
|
9958
|
+
category: 'container',
|
|
9959
|
+
specialCategory: 'padding',
|
|
9960
|
+
sort: 11,
|
|
9961
|
+
preferredScale: 's',
|
|
9962
|
+
},
|
|
9963
|
+
paddingRight: {
|
|
9964
|
+
label: 'Padding Right',
|
|
9965
|
+
description: 'Right padding only.',
|
|
9966
|
+
category: 'container',
|
|
9967
|
+
specialCategory: 'padding',
|
|
9968
|
+
sort: 12,
|
|
9969
|
+
preferredScale: 's',
|
|
9970
|
+
},
|
|
9971
|
+
margin: {
|
|
9972
|
+
label: 'Margin',
|
|
9973
|
+
description: 'Uniform margin on all sides.',
|
|
9974
|
+
category: 'container',
|
|
9975
|
+
specialCategory: 'margin',
|
|
9976
|
+
sort: 13,
|
|
9977
|
+
preferredScale: 's',
|
|
9978
|
+
},
|
|
9979
|
+
marginHorizontal: {
|
|
9980
|
+
label: 'Margin Horizontal',
|
|
9981
|
+
description: 'Left and right margin.',
|
|
9982
|
+
category: 'container',
|
|
9983
|
+
specialCategory: 'margin',
|
|
9984
|
+
sort: 14,
|
|
9985
|
+
preferredScale: 's',
|
|
9986
|
+
},
|
|
9987
|
+
marginVertical: {
|
|
9988
|
+
label: 'Margin Vertical',
|
|
9989
|
+
description: 'Top and bottom margin.',
|
|
9990
|
+
category: 'container',
|
|
9991
|
+
specialCategory: 'margin',
|
|
9992
|
+
sort: 15,
|
|
9993
|
+
preferredScale: 'vs',
|
|
9994
|
+
},
|
|
9995
|
+
marginTop: {
|
|
9996
|
+
label: 'Margin Top',
|
|
9997
|
+
description: 'Top margin only.',
|
|
9998
|
+
category: 'container',
|
|
9999
|
+
specialCategory: 'margin',
|
|
10000
|
+
sort: 16,
|
|
10001
|
+
preferredScale: 'vs',
|
|
10002
|
+
},
|
|
10003
|
+
marginBottom: {
|
|
10004
|
+
label: 'Margin Bottom',
|
|
10005
|
+
description: 'Bottom margin only.',
|
|
10006
|
+
category: 'container',
|
|
10007
|
+
specialCategory: 'margin',
|
|
10008
|
+
sort: 17,
|
|
10009
|
+
preferredScale: 'vs',
|
|
10010
|
+
},
|
|
10011
|
+
marginLeft: {
|
|
10012
|
+
label: 'Margin Left',
|
|
10013
|
+
description: 'Left margin only.',
|
|
10014
|
+
category: 'container',
|
|
10015
|
+
specialCategory: 'margin',
|
|
10016
|
+
sort: 18,
|
|
10017
|
+
preferredScale: 's',
|
|
10018
|
+
},
|
|
10019
|
+
marginRight: {
|
|
10020
|
+
label: 'Margin Right',
|
|
10021
|
+
description: 'Right margin only.',
|
|
10022
|
+
category: 'container',
|
|
10023
|
+
specialCategory: 'margin',
|
|
10024
|
+
sort: 19,
|
|
10025
|
+
preferredScale: 's',
|
|
10026
|
+
},
|
|
10027
|
+
width: {
|
|
10028
|
+
label: 'Width',
|
|
10029
|
+
description: 'Fixed width value.',
|
|
10030
|
+
category: 'container',
|
|
10031
|
+
specialCategory: 'size',
|
|
10032
|
+
sort: 0,
|
|
10033
|
+
preferredScale: 's',
|
|
10034
|
+
},
|
|
10035
|
+
minWidth: {
|
|
10036
|
+
label: 'Min Width',
|
|
10037
|
+
description: 'Minimum width constraint.',
|
|
10038
|
+
category: 'container',
|
|
10039
|
+
specialCategory: 'size',
|
|
10040
|
+
sort: 1,
|
|
10041
|
+
preferredScale: 's',
|
|
10042
|
+
},
|
|
10043
|
+
maxWidth: {
|
|
10044
|
+
label: 'Max Width',
|
|
10045
|
+
description: 'Maximum width constraint.',
|
|
10046
|
+
category: 'container',
|
|
10047
|
+
specialCategory: 'size',
|
|
10048
|
+
sort: 2,
|
|
10049
|
+
preferredScale: 's',
|
|
10050
|
+
},
|
|
10051
|
+
height: {
|
|
10052
|
+
label: 'Height',
|
|
10053
|
+
description: 'Fixed height value.',
|
|
10054
|
+
category: 'container',
|
|
10055
|
+
specialCategory: 'size',
|
|
10056
|
+
sort: 3,
|
|
10057
|
+
preferredScale: 'vs',
|
|
10058
|
+
},
|
|
10059
|
+
minHeight: {
|
|
10060
|
+
label: 'Min Height',
|
|
10061
|
+
description: 'Minimum height constraint.',
|
|
10062
|
+
category: 'container',
|
|
10063
|
+
specialCategory: 'size',
|
|
10064
|
+
sort: 4,
|
|
10065
|
+
preferredScale: 'vs',
|
|
10066
|
+
},
|
|
10067
|
+
maxHeight: {
|
|
10068
|
+
label: 'Max Height',
|
|
10069
|
+
description: 'Maximum height constraint.',
|
|
10070
|
+
category: 'container',
|
|
10071
|
+
specialCategory: 'size',
|
|
10072
|
+
sort: 5,
|
|
10073
|
+
preferredScale: 'vs',
|
|
10074
|
+
},
|
|
10075
|
+
flex: {
|
|
10076
|
+
label: 'Flex',
|
|
10077
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
10078
|
+
category: 'container',
|
|
10079
|
+
specialCategory: 'size',
|
|
10080
|
+
sort: 6,
|
|
10081
|
+
},
|
|
10082
|
+
position: {
|
|
10083
|
+
label: 'Position',
|
|
10084
|
+
description: 'Sets layout positioning mode.',
|
|
10085
|
+
category: 'container',
|
|
10086
|
+
specialCategory: null,
|
|
10087
|
+
sort: 3,
|
|
10088
|
+
},
|
|
10089
|
+
top: {
|
|
10090
|
+
label: 'Top',
|
|
10091
|
+
description: 'Offset from the top edge.',
|
|
10092
|
+
category: 'container',
|
|
10093
|
+
specialCategory: 'offset',
|
|
10094
|
+
sort: 22,
|
|
10095
|
+
preferredScale: 'vs',
|
|
10096
|
+
},
|
|
10097
|
+
bottom: {
|
|
10098
|
+
label: 'Bottom',
|
|
10099
|
+
description: 'Offset from the bottom edge.',
|
|
10100
|
+
category: 'container',
|
|
10101
|
+
specialCategory: 'offset',
|
|
10102
|
+
sort: 23,
|
|
10103
|
+
preferredScale: 'vs',
|
|
10104
|
+
},
|
|
10105
|
+
left: {
|
|
10106
|
+
label: 'Left',
|
|
10107
|
+
description: 'Offset from the left edge.',
|
|
10108
|
+
category: 'container',
|
|
10109
|
+
specialCategory: 'offset',
|
|
10110
|
+
sort: 24,
|
|
10111
|
+
preferredScale: 's',
|
|
10112
|
+
},
|
|
10113
|
+
right: {
|
|
10114
|
+
label: 'Right',
|
|
10115
|
+
description: 'Offset from the right edge.',
|
|
10116
|
+
category: 'container',
|
|
10117
|
+
specialCategory: 'offset',
|
|
10118
|
+
sort: 25,
|
|
10119
|
+
preferredScale: 's',
|
|
10120
|
+
},
|
|
10121
|
+
zIndex: {
|
|
10122
|
+
label: 'Z-Index',
|
|
10123
|
+
description: 'Controls stacking order.',
|
|
10124
|
+
category: 'container',
|
|
10125
|
+
specialCategory: null,
|
|
10126
|
+
sort: 26,
|
|
10127
|
+
},
|
|
10128
|
+
},
|
|
10129
|
+
textLocalizationKey: {
|
|
10130
|
+
label: 'Text Localization Key',
|
|
10131
|
+
description: 'Localization key for the footer text.',
|
|
10132
|
+
category: 'other',
|
|
10133
|
+
specialCategory: null,
|
|
10134
|
+
sort: 1,
|
|
10135
|
+
},
|
|
10136
|
+
linkedWordFirstLocalizationKey: {
|
|
10137
|
+
label: 'Linked Word First Localization Key',
|
|
10138
|
+
description: 'Key for the first linked word.',
|
|
10139
|
+
category: 'other',
|
|
10140
|
+
specialCategory: null,
|
|
10141
|
+
sort: 2,
|
|
10142
|
+
},
|
|
10143
|
+
linkedWordFirstColor: {
|
|
10144
|
+
label: 'Linked Word First Color',
|
|
10145
|
+
description: 'Color of the first linked word.',
|
|
10146
|
+
category: 'other',
|
|
10147
|
+
specialCategory: null,
|
|
10148
|
+
sort: 3,
|
|
10149
|
+
},
|
|
10150
|
+
linkedWordFirstPage: {
|
|
10151
|
+
label: 'Linked Word First Page',
|
|
10152
|
+
description: 'Page opened by the first link.',
|
|
10153
|
+
category: 'other',
|
|
10154
|
+
specialCategory: null,
|
|
10155
|
+
sort: 4,
|
|
10156
|
+
},
|
|
10157
|
+
linkedWordSecondLocalizationKey: {
|
|
10158
|
+
label: 'Linked Word Second Localization Key',
|
|
10159
|
+
description: 'Key for the second linked word.',
|
|
10160
|
+
category: 'other',
|
|
10161
|
+
specialCategory: null,
|
|
10162
|
+
sort: 5,
|
|
10163
|
+
},
|
|
10164
|
+
linkedWordSecondColor: {
|
|
10165
|
+
label: 'Linked Word Second Color',
|
|
10166
|
+
description: 'Color of the second linked word.',
|
|
10167
|
+
category: 'other',
|
|
10168
|
+
specialCategory: null,
|
|
10169
|
+
sort: 6,
|
|
10170
|
+
},
|
|
10171
|
+
linkedWordSecondPage: {
|
|
10172
|
+
label: 'Linked Word Second Page',
|
|
10173
|
+
description: 'Page opened by the second link.',
|
|
10174
|
+
category: 'other',
|
|
10175
|
+
specialCategory: null,
|
|
10176
|
+
sort: 7,
|
|
10177
|
+
},
|
|
10178
|
+
},
|
|
10179
|
+
specialCategories: {
|
|
10180
|
+
padding: {
|
|
10181
|
+
label: 'Padding',
|
|
10182
|
+
description: 'Uniform padding on all sides.',
|
|
10183
|
+
category: 'container',
|
|
10184
|
+
sort: 1,
|
|
10185
|
+
},
|
|
10186
|
+
margin: {
|
|
10187
|
+
label: 'Margin',
|
|
10188
|
+
description: 'Uniform margin on all sides.',
|
|
10189
|
+
category: 'container',
|
|
10190
|
+
sort: 2,
|
|
10191
|
+
},
|
|
10192
|
+
size: {
|
|
10193
|
+
label: 'Size',
|
|
10194
|
+
description: 'Fixed dimensions.',
|
|
10195
|
+
category: 'container',
|
|
10196
|
+
sort: 3,
|
|
10197
|
+
},
|
|
10198
|
+
offset: {
|
|
10199
|
+
label: 'Offset',
|
|
10200
|
+
description: 'Absolute positioning offsets.',
|
|
10201
|
+
category: 'container',
|
|
10202
|
+
sort: 4,
|
|
10203
|
+
},
|
|
10204
|
+
},
|
|
10205
|
+
},
|
|
10206
|
+
defaults: {
|
|
10207
|
+
translateCounter: 1,
|
|
10208
|
+
numberOfLines: 1,
|
|
10209
|
+
styles: {
|
|
10210
|
+
color: 'THEME_COLORS.TEXT',
|
|
10211
|
+
fontSize: '16@fs',
|
|
10212
|
+
fontWeight: '400',
|
|
10213
|
+
flexDirection: 'row',
|
|
10214
|
+
position: 'relative',
|
|
10215
|
+
zIndex: 1,
|
|
10216
|
+
alignSelf: 'flex-start',
|
|
10217
|
+
flexGrow: 0,
|
|
10218
|
+
flexShrink: 0,
|
|
10219
|
+
minHeight: '50@vs',
|
|
10220
|
+
flexWrap: 'wrap',
|
|
10221
|
+
alignItems: 'center',
|
|
10222
|
+
justifyContent: 'center',
|
|
10223
|
+
textAlign: 'center',
|
|
10224
|
+
paddingHorizontal: '16@s',
|
|
10225
|
+
},
|
|
10226
|
+
},
|
|
10227
|
+
types: {},
|
|
10228
|
+
},
|
|
9714
10229
|
{
|
|
9715
10230
|
schemaVersion: 2,
|
|
9716
10231
|
pattern: {
|
|
@@ -10922,7 +11437,7 @@ export const patterns = [
|
|
|
10922
11437
|
children: 'string',
|
|
10923
11438
|
attributes: {
|
|
10924
11439
|
adjustsFontSizeToFit: 'boolean',
|
|
10925
|
-
|
|
11440
|
+
numberOfLines: 'number',
|
|
10926
11441
|
translateCounter: 'number',
|
|
10927
11442
|
styles: {
|
|
10928
11443
|
color: 'color',
|
|
@@ -11370,6 +11885,7 @@ export const patterns = [
|
|
|
11370
11885
|
},
|
|
11371
11886
|
defaults: {
|
|
11372
11887
|
translateCounter: 1,
|
|
11888
|
+
numberOfLines: 1,
|
|
11373
11889
|
styles: {
|
|
11374
11890
|
color: 'THEME_COLORS.TEXT',
|
|
11375
11891
|
fontSize: '16@fs',
|
|
@@ -11393,7 +11909,7 @@ export const patterns = [
|
|
|
11393
11909
|
children: 'string',
|
|
11394
11910
|
attributes: {
|
|
11395
11911
|
adjustsFontSizeToFit: 'boolean',
|
|
11396
|
-
|
|
11912
|
+
numberOfLines: 'number',
|
|
11397
11913
|
translateCounter: 'number',
|
|
11398
11914
|
styles: {
|
|
11399
11915
|
color: 'color',
|
|
@@ -11816,6 +12332,7 @@ export const patterns = [
|
|
|
11816
12332
|
},
|
|
11817
12333
|
defaults: {
|
|
11818
12334
|
translateCounter: 2,
|
|
12335
|
+
numberOfLines: 1,
|
|
11819
12336
|
styles: {
|
|
11820
12337
|
color: 'rgba(255,255,255,0.6)',
|
|
11821
12338
|
fontSize: '12@fs',
|
|
@@ -11840,7 +12357,7 @@ export const patterns = [
|
|
|
11840
12357
|
children: 'string',
|
|
11841
12358
|
attributes: {
|
|
11842
12359
|
adjustsFontSizeToFit: 'boolean',
|
|
11843
|
-
|
|
12360
|
+
numberOfLines: 'number',
|
|
11844
12361
|
translateCounter: 'number',
|
|
11845
12362
|
styles: {
|
|
11846
12363
|
color: 'color',
|
|
@@ -12263,6 +12780,7 @@ export const patterns = [
|
|
|
12263
12780
|
},
|
|
12264
12781
|
defaults: {
|
|
12265
12782
|
translateCounter: 2,
|
|
12783
|
+
numberOfLines: 1,
|
|
12266
12784
|
styles: {
|
|
12267
12785
|
color: '#34D399',
|
|
12268
12786
|
fontSize: '12@fs',
|
|
@@ -12840,7 +13358,7 @@ export const patterns = [
|
|
|
12840
13358
|
},
|
|
12841
13359
|
testID: 'string',
|
|
12842
13360
|
adjustsFontSizeToFit: 'boolean',
|
|
12843
|
-
|
|
13361
|
+
numberOfLines: 'number',
|
|
12844
13362
|
translateCounter: 'number',
|
|
12845
13363
|
},
|
|
12846
13364
|
},
|
|
@@ -13217,6 +13735,7 @@ export const patterns = [
|
|
|
13217
13735
|
fontWeight: '400',
|
|
13218
13736
|
},
|
|
13219
13737
|
translateCounter: 1,
|
|
13738
|
+
numberOfLines: 1,
|
|
13220
13739
|
},
|
|
13221
13740
|
types: {},
|
|
13222
13741
|
},
|