@developer_tribe/react-builder 1.2.27 → 1.2.29
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/assets/samples/getSamples.d.ts +0 -3
- package/dist/build-components/BIcon/BIconProps.generated.d.ts +1 -2
- package/dist/build-components/CountDown/CountDownProps.generated.d.ts +2 -1
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +1 -2
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +1 -2
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +1 -2
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +1 -2
- package/dist/build-components/PaywallOptions/usePaywallOptionParamsFactory.d.ts +1 -1
- package/dist/build-components/PriceTag/PriceTag.d.ts +5 -0
- package/dist/build-components/PriceTag/PriceTagProps.generated.d.ts +63 -0
- package/dist/build-components/Pricing/Pricing.d.ts +5 -0
- package/dist/build-components/Pricing/PricingProps.generated.d.ts +59 -0
- package/dist/build-components/Promo/Promo.d.ts +5 -0
- package/dist/build-components/Promo/PromoProps.generated.d.ts +59 -0
- package/dist/build-components/Text/TextProps.generated.d.ts +1 -2
- package/dist/build-components/index.d.ts +4 -1
- package/dist/build-components/patterns.generated.d.ts +1405 -202
- package/dist/components/BuilderProvider.d.ts +5 -3
- package/dist/components/ParamsProvider.d.ts +16 -8
- package/dist/hooks/useSyncHtmlThemeClass.d.ts +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +16 -3
- package/dist/index.esm.js +4 -4
- 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/logger.d.ts +18 -0
- package/dist/modals/InspectModal.d.ts +5 -0
- package/dist/modals/index.d.ts +1 -1
- package/dist/pages/ProjectPage.d.ts +3 -3
- package/dist/paywall/hooks/useCalculateLocalizedPrice.d.ts +4 -2
- package/dist/paywall/hooks/useDiscountRate.d.ts +3 -2
- package/dist/paywall/types/paywall-types.d.ts +7 -32
- package/dist/product-base/buildPaywallLocalizationParams.d.ts +16 -0
- package/dist/product-base/calculations.d.ts +29 -0
- package/dist/product-base/extractAndroidParams.d.ts +24 -0
- package/dist/product-base/extractIOSParams.d.ts +24 -0
- package/dist/product-base/index.d.ts +51 -0
- package/dist/product-base/periodLocalizationKeys.d.ts +44 -0
- package/dist/product-base/types.d.ts +155 -0
- package/dist/product-base/usePaywallLocalizationParams.d.ts +29 -0
- package/dist/store.d.ts +7 -1
- package/dist/styles.css +1 -1
- package/dist/types/PreviewConfig.d.ts +10 -16
- package/dist/utils/extractTextStyle/extractTextStyle.d.ts +2 -2
- package/dist/utils/extractTextStyle/extractTextStyleNative.d.ts +2 -2
- package/dist/utils/replaceLocalizationParams.d.ts +1 -1
- package/package.json +2 -2
- package/scripts/migrate-samples-to-current.ts +3 -3
- package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +28 -12
- package/src/DeviceMockFrame.tsx +15 -10
- package/src/assets/meta.json +1 -1
- package/src/assets/samples/carousel-sample.json +6 -5
- package/src/assets/samples/getSamples.ts +16 -49
- package/src/assets/samples/paywall-1.json +64 -22
- package/src/assets/samples/paywall-2.json +0 -15
- package/src/assets/samples/paywall-app-delete-offer.json +0 -15
- package/src/assets/samples/paywall-app-open-offer.json +0 -15
- package/src/assets/samples/paywall-back-offer.json +0 -15
- package/src/assets/samples/paywall-notification-offer.json +0 -15
- package/src/assets/samples/simple-1.json +1 -16
- package/src/assets/samples/simple-2.json +0 -15
- package/src/assets/samples/unmigrated-builder-1.1.1.json +0 -3
- package/src/assets/samples/unmigrated-builder1.json +0 -3
- package/src/assets/samples/unvalidated-builder1.json +0 -3
- package/src/assets/samples/unvalidated-crash1.json +0 -3
- package/src/assets/samples/unvalidated-crashcomponent1.json +0 -3
- package/src/assets/samples/vpn-onboard-1.json +1 -34
- package/src/assets/samples/vpn-onboard-2.json +1 -34
- package/src/assets/samples/vpn-onboard-3.json +1 -42
- package/src/assets/samples/vpn-onboard-4.json +0 -73
- package/src/assets/samples/vpn-onboard-5.json +0 -73
- package/src/assets/samples/vpn-onboard-6.json +0 -73
- package/src/assets/samples/vpn-onboard-7.json +529 -0
- package/src/attribute-analyser/style/native/useExtractImageStyle.ts +1 -4
- package/src/attribute-analyser/style/native/useExtractTextStyle.ts +3 -12
- package/src/attribute-analyser/style/native/useExtractViewStyle.ts +1 -4
- package/src/attribute-analyser/style/web/useExtractImageStyle.ts +1 -4
- package/src/attribute-analyser/style/web/useExtractTextStyle.ts +3 -12
- package/src/attribute-analyser/style/web/useExtractViewStyle.ts +1 -4
- package/src/attributes-editor/useAttributesEditorModel.ts +5 -52
- package/src/build-components/BIcon/BIconProps.generated.ts +1 -2
- package/src/build-components/CarouselDots/CarouselDots.tsx +6 -13
- package/src/build-components/CountDown/CountDownProps.generated.ts +2 -1
- package/src/build-components/NavigationBarColor/NavigationBarColor.tsx +2 -2
- package/src/build-components/OnboardButton/OnboardButton.tsx +1 -2
- package/src/build-components/OnboardDot/OnboardDot.tsx +6 -18
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +5 -3
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +1 -2
- package/src/build-components/OnboardFooter/pattern.json +1 -1
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +1 -2
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +1 -2
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +1 -2
- package/src/build-components/PaywallOptions/PaywallOptions.tsx +3 -3
- package/src/build-components/PaywallOptions/usePaywallOptionParamsFactory.ts +26 -13
- package/src/build-components/PaywallProvider/PaywallProvider.tsx +51 -12
- package/src/build-components/PriceTag/PriceTag.tsx +25 -0
- package/src/build-components/PriceTag/PriceTagProps.generated.ts +83 -0
- package/src/build-components/PriceTag/pattern.json +53 -0
- package/src/build-components/Pricing/Pricing.tsx +13 -0
- package/src/build-components/Pricing/PricingProps.generated.ts +76 -0
- package/src/build-components/Pricing/pattern.json +25 -0
- package/src/build-components/Promo/Promo.tsx +13 -0
- package/src/build-components/Promo/PromoProps.generated.ts +76 -0
- package/src/build-components/Promo/pattern.json +25 -0
- package/src/build-components/RadioButton/RadioButton.tsx +3 -5
- package/src/build-components/RenderNode.generated.tsx +15 -0
- package/src/build-components/StatusBarColor/StatusBarColor.tsx +2 -2
- package/src/build-components/Text/Text.tsx +12 -5
- package/src/build-components/Text/TextProps.generated.ts +1 -2
- package/src/build-components/Text/pattern.json +3 -2
- package/src/build-components/index.ts +15 -0
- package/src/build-components/patterns.generated.ts +1454 -181
- package/src/components/BottomBar.tsx +42 -39
- package/src/components/BuilderProvider.tsx +41 -14
- package/src/components/LocalizationParamsProvider.tsx +1 -1
- package/src/components/ParamsProvider.tsx +36 -11
- package/src/hooks/useLocalize.ts +7 -4
- package/src/hooks/useParams.ts +1 -1
- package/src/hooks/useSyncHtmlThemeClass.ts +2 -2
- package/src/index.ts +54 -8
- package/src/logger.ts +39 -0
- package/src/modals/InspectModal.tsx +331 -0
- package/src/modals/ProductPresetsModal.tsx +7 -14
- package/src/modals/index.ts +1 -1
- package/src/pages/DebugJsonPage.tsx +9 -22
- package/src/pages/ProjectDebug.tsx +1 -1
- package/src/pages/ProjectPage.tsx +29 -11
- package/src/pages/tabs/SideTool.tsx +28 -104
- package/src/paywall/hooks/useCalculateLocalizedPrice.ts +8 -3
- package/src/paywall/hooks/useDiscountRate.ts +11 -3
- package/src/paywall/types/paywall-types.ts +7 -38
- package/src/product-base/buildPaywallLocalizationParams.ts +100 -0
- package/src/product-base/calculations.ts +93 -0
- package/src/product-base/extractAndroidParams.ts +207 -0
- package/src/product-base/extractIOSParams.ts +199 -0
- package/src/product-base/index.ts +64 -0
- package/src/product-base/mockProducts.json +489 -0
- package/src/product-base/periodLocalizationKeys.ts +114 -0
- package/src/product-base/types.ts +183 -0
- package/src/product-base/usePaywallLocalizationParams.ts +61 -0
- package/src/store.ts +18 -1
- package/src/styles/index.scss +1 -0
- package/src/styles/modals/_inspect-modal.scss +155 -0
- package/src/types/PreviewConfig.ts +157 -16
- package/src/utils/extractTextStyle/extractTextStyle.ts +14 -6
- package/src/utils/extractTextStyle/extractTextStyleNative.ts +8 -6
- package/src/utils/logRenderStore.ts +6 -10
- package/src/utils/parseColor.ts +0 -1
- package/src/utils/replaceLocalizationParams.ts +8 -4
- package/dist/modals/ScreenColorsModal.d.ts +0 -8
- package/src/assets/products.json +0 -98
- package/src/modals/ScreenColorsModal.tsx +0 -121
|
@@ -12,12 +12,12 @@ export const patterns = [
|
|
|
12
12
|
attributes: {
|
|
13
13
|
adjustsFontSizeToFit: 'boolean',
|
|
14
14
|
showEllipsis: 'boolean',
|
|
15
|
+
translateCounter: 'number',
|
|
15
16
|
style: {
|
|
16
17
|
color: 'color',
|
|
17
18
|
fontSize: 'size',
|
|
18
19
|
fontFamily: 'fontFamily',
|
|
19
20
|
fontWeight: 'fontWeight',
|
|
20
|
-
textAlign: ['left', 'center', 'right', 'justify'],
|
|
21
21
|
flexDirection: ['row', 'column'],
|
|
22
22
|
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
23
23
|
alignItems: [
|
|
@@ -71,13 +71,6 @@ export const patterns = [
|
|
|
71
71
|
size: 'number',
|
|
72
72
|
strokeWidth: 'number',
|
|
73
73
|
},
|
|
74
|
-
defaults: {
|
|
75
|
-
style: {
|
|
76
|
-
color: 'THEME_COLORS.TEXT',
|
|
77
|
-
fontSize: '16@fs',
|
|
78
|
-
fontWeight: '400',
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
74
|
},
|
|
82
75
|
meta: {
|
|
83
76
|
desiredParent: ['all'],
|
|
@@ -459,7 +452,8 @@ export const patterns = [
|
|
|
459
452
|
},
|
|
460
453
|
},
|
|
461
454
|
defaults: {
|
|
462
|
-
|
|
455
|
+
translateCounter: 1,
|
|
456
|
+
styles: {
|
|
463
457
|
color: 'THEME_COLORS.TEXT',
|
|
464
458
|
fontSize: '16',
|
|
465
459
|
fontWeight: '400',
|
|
@@ -536,18 +530,6 @@ export const patterns = [
|
|
|
536
530
|
src: 'string',
|
|
537
531
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
538
532
|
},
|
|
539
|
-
defaults: {
|
|
540
|
-
resizeMode: 'cover',
|
|
541
|
-
style: {
|
|
542
|
-
width: '100%',
|
|
543
|
-
height: '100%',
|
|
544
|
-
position: 'absolute',
|
|
545
|
-
top: 0,
|
|
546
|
-
left: 0,
|
|
547
|
-
right: 0,
|
|
548
|
-
bottom: 0,
|
|
549
|
-
},
|
|
550
|
-
},
|
|
551
533
|
},
|
|
552
534
|
meta: {
|
|
553
535
|
desiredParent: ['all', 'background'],
|
|
@@ -870,8 +852,7 @@ export const patterns = [
|
|
|
870
852
|
},
|
|
871
853
|
},
|
|
872
854
|
defaults: {
|
|
873
|
-
|
|
874
|
-
style: {
|
|
855
|
+
styles: {
|
|
875
856
|
flexDirection: 'column',
|
|
876
857
|
position: 'absolute',
|
|
877
858
|
zIndex: 0,
|
|
@@ -885,6 +866,7 @@ export const patterns = [
|
|
|
885
866
|
right: 0,
|
|
886
867
|
bottom: 0,
|
|
887
868
|
},
|
|
869
|
+
resizeMode: 'cover',
|
|
888
870
|
},
|
|
889
871
|
types: {},
|
|
890
872
|
},
|
|
@@ -1291,7 +1273,7 @@ export const patterns = [
|
|
|
1291
1273
|
},
|
|
1292
1274
|
},
|
|
1293
1275
|
defaults: {
|
|
1294
|
-
|
|
1276
|
+
styles: {
|
|
1295
1277
|
flexDirection: 'column',
|
|
1296
1278
|
position: 'relative',
|
|
1297
1279
|
zIndex: 1,
|
|
@@ -1676,7 +1658,7 @@ export const patterns = [
|
|
|
1676
1658
|
},
|
|
1677
1659
|
},
|
|
1678
1660
|
defaults: {
|
|
1679
|
-
|
|
1661
|
+
styles: {
|
|
1680
1662
|
flexDirection: 'row',
|
|
1681
1663
|
position: 'relative',
|
|
1682
1664
|
zIndex: 1,
|
|
@@ -2070,7 +2052,7 @@ export const patterns = [
|
|
|
2070
2052
|
},
|
|
2071
2053
|
},
|
|
2072
2054
|
defaults: {
|
|
2073
|
-
|
|
2055
|
+
styles: {
|
|
2074
2056
|
flexDirection: 'column',
|
|
2075
2057
|
position: 'relative',
|
|
2076
2058
|
zIndex: 1,
|
|
@@ -2463,7 +2445,7 @@ export const patterns = [
|
|
|
2463
2445
|
},
|
|
2464
2446
|
},
|
|
2465
2447
|
defaults: {
|
|
2466
|
-
|
|
2448
|
+
styles: {
|
|
2467
2449
|
flexDirection: 'column',
|
|
2468
2450
|
position: 'relative',
|
|
2469
2451
|
zIndex: 1,
|
|
@@ -2841,7 +2823,7 @@ export const patterns = [
|
|
|
2841
2823
|
},
|
|
2842
2824
|
},
|
|
2843
2825
|
defaults: {
|
|
2844
|
-
|
|
2826
|
+
styles: {
|
|
2845
2827
|
flexDirection: 'column',
|
|
2846
2828
|
position: 'relative',
|
|
2847
2829
|
zIndex: 1,
|
|
@@ -2911,7 +2893,6 @@ export const patterns = [
|
|
|
2911
2893
|
zIndex: 'number',
|
|
2912
2894
|
},
|
|
2913
2895
|
},
|
|
2914
|
-
defaults: { style: { width: '100%', height: '100%' } },
|
|
2915
2896
|
},
|
|
2916
2897
|
meta: {
|
|
2917
2898
|
desiredParent: ['root', '>View'],
|
|
@@ -3220,7 +3201,7 @@ export const patterns = [
|
|
|
3220
3201
|
},
|
|
3221
3202
|
},
|
|
3222
3203
|
defaults: {
|
|
3223
|
-
|
|
3204
|
+
styles: {
|
|
3224
3205
|
flexDirection: 'column',
|
|
3225
3206
|
position: 'relative',
|
|
3226
3207
|
zIndex: 1,
|
|
@@ -3244,12 +3225,12 @@ export const patterns = [
|
|
|
3244
3225
|
attributes: {
|
|
3245
3226
|
adjustsFontSizeToFit: 'boolean',
|
|
3246
3227
|
showEllipsis: 'boolean',
|
|
3228
|
+
translateCounter: 'number',
|
|
3247
3229
|
style: {
|
|
3248
3230
|
color: 'color',
|
|
3249
3231
|
fontSize: 'size',
|
|
3250
3232
|
fontFamily: 'fontFamily',
|
|
3251
3233
|
fontWeight: 'fontWeight',
|
|
3252
|
-
textAlign: 'never',
|
|
3253
3234
|
flexDirection: ['row', 'column'],
|
|
3254
3235
|
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
3255
3236
|
alignItems: [
|
|
@@ -3297,17 +3278,11 @@ export const patterns = [
|
|
|
3297
3278
|
left: 'size',
|
|
3298
3279
|
right: 'size',
|
|
3299
3280
|
zIndex: 'number',
|
|
3281
|
+
textAlign: 'never',
|
|
3300
3282
|
},
|
|
3301
3283
|
scrollable: 'boolean',
|
|
3302
3284
|
count: 'number',
|
|
3303
3285
|
},
|
|
3304
|
-
defaults: {
|
|
3305
|
-
style: {
|
|
3306
|
-
color: 'THEME_COLORS.TEXT',
|
|
3307
|
-
fontSize: '16@fs',
|
|
3308
|
-
fontWeight: '400',
|
|
3309
|
-
},
|
|
3310
|
-
},
|
|
3311
3286
|
},
|
|
3312
3287
|
meta: {
|
|
3313
3288
|
desiredParent: ['all'],
|
|
@@ -3675,7 +3650,8 @@ export const patterns = [
|
|
|
3675
3650
|
},
|
|
3676
3651
|
},
|
|
3677
3652
|
defaults: {
|
|
3678
|
-
|
|
3653
|
+
translateCounter: 1,
|
|
3654
|
+
styles: {
|
|
3679
3655
|
color: 'THEME_COLORS.TEXT',
|
|
3680
3656
|
fontSize: '16@fs',
|
|
3681
3657
|
fontWeight: '400',
|
|
@@ -3750,7 +3726,6 @@ export const patterns = [
|
|
|
3750
3726
|
},
|
|
3751
3727
|
src: 'string',
|
|
3752
3728
|
},
|
|
3753
|
-
defaults: { style: { resizeMode: 'contain' } },
|
|
3754
3729
|
},
|
|
3755
3730
|
meta: {
|
|
3756
3731
|
desiredParent: ['all'],
|
|
@@ -4073,7 +4048,7 @@ export const patterns = [
|
|
|
4073
4048
|
},
|
|
4074
4049
|
},
|
|
4075
4050
|
defaults: {
|
|
4076
|
-
|
|
4051
|
+
styles: {
|
|
4077
4052
|
flexDirection: 'column',
|
|
4078
4053
|
position: 'relative',
|
|
4079
4054
|
zIndex: 1,
|
|
@@ -4463,7 +4438,7 @@ export const patterns = [
|
|
|
4463
4438
|
hideAllAttributes: true,
|
|
4464
4439
|
},
|
|
4465
4440
|
defaults: {
|
|
4466
|
-
|
|
4441
|
+
styles: {
|
|
4467
4442
|
flexDirection: 'column',
|
|
4468
4443
|
position: 'relative',
|
|
4469
4444
|
zIndex: 1,
|
|
@@ -4845,7 +4820,7 @@ export const patterns = [
|
|
|
4845
4820
|
},
|
|
4846
4821
|
},
|
|
4847
4822
|
defaults: {
|
|
4848
|
-
|
|
4823
|
+
styles: {
|
|
4849
4824
|
flexDirection: 'column',
|
|
4850
4825
|
position: 'relative',
|
|
4851
4826
|
zIndex: 1,
|
|
@@ -5225,7 +5200,7 @@ export const patterns = [
|
|
|
5225
5200
|
desiredChildren: ['=OnboardItem'],
|
|
5226
5201
|
},
|
|
5227
5202
|
defaults: {
|
|
5228
|
-
|
|
5203
|
+
styles: {
|
|
5229
5204
|
flexDirection: 'row',
|
|
5230
5205
|
position: 'relative',
|
|
5231
5206
|
zIndex: 1,
|
|
@@ -5308,7 +5283,6 @@ export const patterns = [
|
|
|
5308
5283
|
flex: 'number',
|
|
5309
5284
|
events: 'EventObject[]',
|
|
5310
5285
|
},
|
|
5311
|
-
defaults: { style: { height: '40@vs', borderRadius: '12@s' } },
|
|
5312
5286
|
},
|
|
5313
5287
|
meta: {
|
|
5314
5288
|
desiredParent: ['=OnboardButtons'],
|
|
@@ -5659,7 +5633,7 @@ export const patterns = [
|
|
|
5659
5633
|
},
|
|
5660
5634
|
},
|
|
5661
5635
|
defaults: {
|
|
5662
|
-
|
|
5636
|
+
styles: {
|
|
5663
5637
|
flexDirection: 'column',
|
|
5664
5638
|
position: 'relative',
|
|
5665
5639
|
zIndex: 1,
|
|
@@ -5745,17 +5719,6 @@ export const patterns = [
|
|
|
5745
5719
|
condition: ['carousel-index'],
|
|
5746
5720
|
conditionVariable: 'number',
|
|
5747
5721
|
},
|
|
5748
|
-
defaults: {
|
|
5749
|
-
style: {
|
|
5750
|
-
display: 'flex',
|
|
5751
|
-
flexDirection: 'row',
|
|
5752
|
-
gap: 12,
|
|
5753
|
-
alignItems: 'center',
|
|
5754
|
-
justifyContent: 'center',
|
|
5755
|
-
marginVertical: '12@vs',
|
|
5756
|
-
marginHorizontal: '24@s',
|
|
5757
|
-
},
|
|
5758
|
-
},
|
|
5759
5722
|
},
|
|
5760
5723
|
meta: {
|
|
5761
5724
|
desiredParent: ['=OnboardItem'],
|
|
@@ -6113,7 +6076,7 @@ export const patterns = [
|
|
|
6113
6076
|
},
|
|
6114
6077
|
},
|
|
6115
6078
|
defaults: {
|
|
6116
|
-
|
|
6079
|
+
styles: {
|
|
6117
6080
|
flexDirection: 'row',
|
|
6118
6081
|
position: 'relative',
|
|
6119
6082
|
zIndex: 1,
|
|
@@ -6547,7 +6510,7 @@ export const patterns = [
|
|
|
6547
6510
|
},
|
|
6548
6511
|
},
|
|
6549
6512
|
defaults: {
|
|
6550
|
-
|
|
6513
|
+
styles: {
|
|
6551
6514
|
flexDirection: 'row',
|
|
6552
6515
|
position: 'relative',
|
|
6553
6516
|
zIndex: 1,
|
|
@@ -6571,16 +6534,16 @@ export const patterns = [
|
|
|
6571
6534
|
type: 'OnboardFooter',
|
|
6572
6535
|
title: 'title',
|
|
6573
6536
|
description: 'description',
|
|
6574
|
-
children: '
|
|
6537
|
+
children: 'never',
|
|
6575
6538
|
attributes: {
|
|
6576
6539
|
adjustsFontSizeToFit: 'boolean',
|
|
6577
6540
|
showEllipsis: 'boolean',
|
|
6541
|
+
translateCounter: 'number',
|
|
6578
6542
|
style: {
|
|
6579
6543
|
color: 'color',
|
|
6580
6544
|
fontSize: 'size',
|
|
6581
6545
|
fontFamily: 'fontFamily',
|
|
6582
6546
|
fontWeight: 'fontWeight',
|
|
6583
|
-
textAlign: ['left', 'center', 'right', 'justify'],
|
|
6584
6547
|
flexDirection: ['row', 'column'],
|
|
6585
6548
|
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
6586
6549
|
alignItems: [
|
|
@@ -6638,13 +6601,6 @@ export const patterns = [
|
|
|
6638
6601
|
linkedWordSecondColor: 'color',
|
|
6639
6602
|
linkedWordSecondPage: 'string',
|
|
6640
6603
|
},
|
|
6641
|
-
defaults: {
|
|
6642
|
-
style: {
|
|
6643
|
-
color: 'THEME_COLORS.TEXT',
|
|
6644
|
-
fontSize: '16@fs',
|
|
6645
|
-
fontWeight: '400',
|
|
6646
|
-
},
|
|
6647
|
-
},
|
|
6648
6604
|
},
|
|
6649
6605
|
meta: {
|
|
6650
6606
|
desiredParent: ['>OnboardItem'],
|
|
@@ -7054,7 +7010,8 @@ export const patterns = [
|
|
|
7054
7010
|
},
|
|
7055
7011
|
},
|
|
7056
7012
|
defaults: {
|
|
7057
|
-
|
|
7013
|
+
translateCounter: 1,
|
|
7014
|
+
styles: {
|
|
7058
7015
|
color: 'THEME_COLORS.TEXT',
|
|
7059
7016
|
fontSize: '16@fs',
|
|
7060
7017
|
fontWeight: '400',
|
|
@@ -7136,7 +7093,6 @@ export const patterns = [
|
|
|
7136
7093
|
video_url: 'string',
|
|
7137
7094
|
lottie: 'string',
|
|
7138
7095
|
},
|
|
7139
|
-
defaults: { style: { resizeMode: 'contain' } },
|
|
7140
7096
|
},
|
|
7141
7097
|
meta: {
|
|
7142
7098
|
desiredParent: ['>OnboardProvider', '>OnboardItem', '!=Onboard'],
|
|
@@ -7473,7 +7429,7 @@ export const patterns = [
|
|
|
7473
7429
|
},
|
|
7474
7430
|
},
|
|
7475
7431
|
defaults: {
|
|
7476
|
-
|
|
7432
|
+
styles: {
|
|
7477
7433
|
resizeMode: 'contain',
|
|
7478
7434
|
flexDirection: 'column',
|
|
7479
7435
|
position: 'relative',
|
|
@@ -7861,7 +7817,7 @@ export const patterns = [
|
|
|
7861
7817
|
},
|
|
7862
7818
|
},
|
|
7863
7819
|
defaults: {
|
|
7864
|
-
|
|
7820
|
+
styles: {
|
|
7865
7821
|
flexDirection: 'column',
|
|
7866
7822
|
position: 'relative',
|
|
7867
7823
|
zIndex: 1,
|
|
@@ -8248,7 +8204,7 @@ export const patterns = [
|
|
|
8248
8204
|
},
|
|
8249
8205
|
},
|
|
8250
8206
|
defaults: {
|
|
8251
|
-
|
|
8207
|
+
styles: {
|
|
8252
8208
|
flexDirection: 'column',
|
|
8253
8209
|
position: 'relative',
|
|
8254
8210
|
zIndex: 1,
|
|
@@ -8271,12 +8227,12 @@ export const patterns = [
|
|
|
8271
8227
|
attributes: {
|
|
8272
8228
|
adjustsFontSizeToFit: 'boolean',
|
|
8273
8229
|
showEllipsis: 'boolean',
|
|
8230
|
+
translateCounter: 'number',
|
|
8274
8231
|
style: {
|
|
8275
8232
|
color: 'color',
|
|
8276
8233
|
fontSize: 'size',
|
|
8277
8234
|
fontFamily: 'fontFamily',
|
|
8278
8235
|
fontWeight: 'fontWeight',
|
|
8279
|
-
textAlign: ['left', 'center', 'right', 'justify'],
|
|
8280
8236
|
flexDirection: ['row', 'column'],
|
|
8281
8237
|
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
8282
8238
|
alignItems: [
|
|
@@ -8327,13 +8283,6 @@ export const patterns = [
|
|
|
8327
8283
|
},
|
|
8328
8284
|
scrollable: 'boolean',
|
|
8329
8285
|
},
|
|
8330
|
-
defaults: {
|
|
8331
|
-
style: {
|
|
8332
|
-
color: 'THEME_COLORS.TEXT',
|
|
8333
|
-
fontSize: '16@fs',
|
|
8334
|
-
fontWeight: '400',
|
|
8335
|
-
},
|
|
8336
|
-
},
|
|
8337
8286
|
},
|
|
8338
8287
|
meta: {
|
|
8339
8288
|
desiredParent: ['>OnboardProvider', '>OnboardItem'],
|
|
@@ -8694,7 +8643,8 @@ export const patterns = [
|
|
|
8694
8643
|
},
|
|
8695
8644
|
},
|
|
8696
8645
|
defaults: {
|
|
8697
|
-
|
|
8646
|
+
translateCounter: 1,
|
|
8647
|
+
styles: {
|
|
8698
8648
|
color: 'THEME_COLORS.TEXT',
|
|
8699
8649
|
fontSize: '14@fs',
|
|
8700
8650
|
fontWeight: '600',
|
|
@@ -8718,12 +8668,12 @@ export const patterns = [
|
|
|
8718
8668
|
attributes: {
|
|
8719
8669
|
adjustsFontSizeToFit: 'boolean',
|
|
8720
8670
|
showEllipsis: 'boolean',
|
|
8671
|
+
translateCounter: 'number',
|
|
8721
8672
|
style: {
|
|
8722
8673
|
color: 'color',
|
|
8723
8674
|
fontSize: 'size',
|
|
8724
8675
|
fontFamily: 'fontFamily',
|
|
8725
8676
|
fontWeight: 'fontWeight',
|
|
8726
|
-
textAlign: ['left', 'center', 'right', 'justify'],
|
|
8727
8677
|
flexDirection: ['row', 'column'],
|
|
8728
8678
|
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
8729
8679
|
alignItems: [
|
|
@@ -8774,13 +8724,6 @@ export const patterns = [
|
|
|
8774
8724
|
},
|
|
8775
8725
|
scrollable: 'boolean',
|
|
8776
8726
|
},
|
|
8777
|
-
defaults: {
|
|
8778
|
-
style: {
|
|
8779
|
-
color: 'THEME_COLORS.TEXT',
|
|
8780
|
-
fontSize: '16@fs',
|
|
8781
|
-
fontWeight: '400',
|
|
8782
|
-
},
|
|
8783
|
-
},
|
|
8784
8727
|
},
|
|
8785
8728
|
meta: {
|
|
8786
8729
|
desiredParent: ['>OnboardItem', '>OnboardProvider'],
|
|
@@ -9141,7 +9084,8 @@ export const patterns = [
|
|
|
9141
9084
|
},
|
|
9142
9085
|
},
|
|
9143
9086
|
defaults: {
|
|
9144
|
-
|
|
9087
|
+
translateCounter: 1,
|
|
9088
|
+
styles: {
|
|
9145
9089
|
color: 'THEME_COLORS.TEXT',
|
|
9146
9090
|
fontSize: '24@fs',
|
|
9147
9091
|
fontWeight: '700',
|
|
@@ -9217,18 +9161,6 @@ export const patterns = [
|
|
|
9217
9161
|
zIndex: 'number',
|
|
9218
9162
|
},
|
|
9219
9163
|
},
|
|
9220
|
-
defaults: {
|
|
9221
|
-
resizeMode: 'cover',
|
|
9222
|
-
style: {
|
|
9223
|
-
width: '100%',
|
|
9224
|
-
height: '100%',
|
|
9225
|
-
position: 'absolute',
|
|
9226
|
-
top: 0,
|
|
9227
|
-
left: 0,
|
|
9228
|
-
right: 0,
|
|
9229
|
-
bottom: 0,
|
|
9230
|
-
},
|
|
9231
|
-
},
|
|
9232
9164
|
},
|
|
9233
9165
|
meta: {
|
|
9234
9166
|
desiredParent: ['>PaywallProvider'],
|
|
@@ -9552,7 +9484,7 @@ export const patterns = [
|
|
|
9552
9484
|
},
|
|
9553
9485
|
defaults: {
|
|
9554
9486
|
resizeMode: 'cover',
|
|
9555
|
-
|
|
9487
|
+
styles: {
|
|
9556
9488
|
width: '100%',
|
|
9557
9489
|
height: '100%',
|
|
9558
9490
|
position: 'absolute',
|
|
@@ -9582,12 +9514,12 @@ export const patterns = [
|
|
|
9582
9514
|
strokeWidth: 'number',
|
|
9583
9515
|
adjustsFontSizeToFit: 'boolean',
|
|
9584
9516
|
showEllipsis: 'boolean',
|
|
9517
|
+
translateCounter: 'number',
|
|
9585
9518
|
style: {
|
|
9586
9519
|
color: 'color',
|
|
9587
9520
|
fontSize: 'size',
|
|
9588
9521
|
fontFamily: 'fontFamily',
|
|
9589
9522
|
fontWeight: 'fontWeight',
|
|
9590
|
-
textAlign: ['left', 'center', 'right', 'justify'],
|
|
9591
9523
|
flexDirection: ['row', 'column'],
|
|
9592
9524
|
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
9593
9525
|
alignItems: [
|
|
@@ -9638,13 +9570,6 @@ export const patterns = [
|
|
|
9638
9570
|
},
|
|
9639
9571
|
scrollable: 'boolean',
|
|
9640
9572
|
},
|
|
9641
|
-
defaults: {
|
|
9642
|
-
style: {
|
|
9643
|
-
color: 'THEME_COLORS.TEXT',
|
|
9644
|
-
fontSize: '16@fs',
|
|
9645
|
-
fontWeight: '400',
|
|
9646
|
-
},
|
|
9647
|
-
},
|
|
9648
9573
|
},
|
|
9649
9574
|
meta: {
|
|
9650
9575
|
desiredParent: ['>PaywallProvider'],
|
|
@@ -10026,7 +9951,9 @@ export const patterns = [
|
|
|
10026
9951
|
},
|
|
10027
9952
|
},
|
|
10028
9953
|
defaults: {
|
|
10029
|
-
|
|
9954
|
+
iconType: 'close',
|
|
9955
|
+
strokeWidth: 1.5,
|
|
9956
|
+
styles: {
|
|
10030
9957
|
fontSize: '16@fs',
|
|
10031
9958
|
color: 'THEME_COLORS.TEXT',
|
|
10032
9959
|
fontWeight: '400',
|
|
@@ -10041,8 +9968,7 @@ export const patterns = [
|
|
|
10041
9968
|
justifyContent: 'center',
|
|
10042
9969
|
alignItems: 'center',
|
|
10043
9970
|
},
|
|
10044
|
-
|
|
10045
|
-
strokeWidth: 1.5,
|
|
9971
|
+
translateCounter: 1,
|
|
10046
9972
|
size: 24,
|
|
10047
9973
|
},
|
|
10048
9974
|
types: {},
|
|
@@ -10414,7 +10340,7 @@ export const patterns = [
|
|
|
10414
10340
|
},
|
|
10415
10341
|
},
|
|
10416
10342
|
defaults: {
|
|
10417
|
-
|
|
10343
|
+
styles: {
|
|
10418
10344
|
flexDirection: 'row',
|
|
10419
10345
|
position: 'relative',
|
|
10420
10346
|
zIndex: 1,
|
|
@@ -10805,7 +10731,7 @@ export const patterns = [
|
|
|
10805
10731
|
mockableFeatures: { products: true, benefits: true },
|
|
10806
10732
|
},
|
|
10807
10733
|
defaults: {
|
|
10808
|
-
|
|
10734
|
+
styles: {
|
|
10809
10735
|
flexDirection: 'column',
|
|
10810
10736
|
position: 'relative',
|
|
10811
10737
|
zIndex: 1,
|
|
@@ -11221,7 +11147,7 @@ export const patterns = [
|
|
|
11221
11147
|
},
|
|
11222
11148
|
},
|
|
11223
11149
|
defaults: {
|
|
11224
|
-
|
|
11150
|
+
styles: {
|
|
11225
11151
|
display: 'flex',
|
|
11226
11152
|
alignItems: 'center',
|
|
11227
11153
|
justifyContent: 'center',
|
|
@@ -11245,13 +11171,19 @@ export const patterns = [
|
|
|
11245
11171
|
{
|
|
11246
11172
|
schemaVersion: 2,
|
|
11247
11173
|
pattern: {
|
|
11248
|
-
type: '
|
|
11174
|
+
type: 'PriceTag',
|
|
11249
11175
|
title: 'title',
|
|
11250
11176
|
description: 'description',
|
|
11251
|
-
children: '
|
|
11177
|
+
children: 'string',
|
|
11252
11178
|
attributes: {
|
|
11253
|
-
|
|
11179
|
+
adjustsFontSizeToFit: 'boolean',
|
|
11180
|
+
showEllipsis: 'boolean',
|
|
11181
|
+
translateCounter: 'number',
|
|
11254
11182
|
style: {
|
|
11183
|
+
color: 'color',
|
|
11184
|
+
fontSize: 'size',
|
|
11185
|
+
fontFamily: 'fontFamily',
|
|
11186
|
+
fontWeight: 'fontWeight',
|
|
11255
11187
|
flexDirection: ['row', 'column'],
|
|
11256
11188
|
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
11257
11189
|
alignItems: [
|
|
@@ -11299,43 +11231,54 @@ export const patterns = [
|
|
|
11299
11231
|
left: 'size',
|
|
11300
11232
|
right: 'size',
|
|
11301
11233
|
zIndex: 'number',
|
|
11234
|
+
textDecorationLine: ['none', 'underline', 'line-through'],
|
|
11302
11235
|
},
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11236
|
+
scrollable: 'boolean',
|
|
11237
|
+
showOriginalPricePossible: 'boolean',
|
|
11238
|
+
hideIfItsNotDiscount: 'boolean',
|
|
11306
11239
|
},
|
|
11307
11240
|
},
|
|
11308
11241
|
meta: {
|
|
11309
|
-
desiredParent: ['
|
|
11310
|
-
label: '
|
|
11311
|
-
description: '
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
label: '
|
|
11315
|
-
description: '
|
|
11316
|
-
category: '
|
|
11242
|
+
desiredParent: ['>PaywallProvider'],
|
|
11243
|
+
label: 'Price Tag',
|
|
11244
|
+
description: 'Displays a price tag text. Extends Text.',
|
|
11245
|
+
styles: {
|
|
11246
|
+
color: {
|
|
11247
|
+
label: 'Color',
|
|
11248
|
+
description: 'Text color.',
|
|
11249
|
+
category: 'style',
|
|
11250
|
+
specialCategory: null,
|
|
11317
11251
|
sort: 1,
|
|
11318
11252
|
},
|
|
11319
|
-
|
|
11320
|
-
label: '
|
|
11321
|
-
description: '
|
|
11322
|
-
category: '
|
|
11253
|
+
fontSize: {
|
|
11254
|
+
label: 'Font Size',
|
|
11255
|
+
description: 'Text size.',
|
|
11256
|
+
category: 'style',
|
|
11257
|
+
specialCategory: null,
|
|
11323
11258
|
sort: 2,
|
|
11259
|
+
preferredScale: 's',
|
|
11324
11260
|
},
|
|
11325
|
-
|
|
11326
|
-
label: '
|
|
11327
|
-
description: '
|
|
11328
|
-
category: '
|
|
11261
|
+
fontFamily: {
|
|
11262
|
+
label: 'Font Family',
|
|
11263
|
+
description: 'Font family used for the text.',
|
|
11264
|
+
category: 'style',
|
|
11265
|
+
specialCategory: null,
|
|
11329
11266
|
sort: 3,
|
|
11330
11267
|
},
|
|
11331
|
-
|
|
11332
|
-
label: '
|
|
11333
|
-
description: '
|
|
11334
|
-
category: '
|
|
11268
|
+
fontWeight: {
|
|
11269
|
+
label: 'Font Weight',
|
|
11270
|
+
description: 'Text weight.',
|
|
11271
|
+
category: 'style',
|
|
11272
|
+
specialCategory: null,
|
|
11335
11273
|
sort: 4,
|
|
11336
11274
|
},
|
|
11337
|
-
|
|
11338
|
-
|
|
11275
|
+
textAlign: {
|
|
11276
|
+
label: 'Text Align',
|
|
11277
|
+
description: 'Text alignment.',
|
|
11278
|
+
category: 'style',
|
|
11279
|
+
specialCategory: null,
|
|
11280
|
+
sort: 5,
|
|
11281
|
+
},
|
|
11339
11282
|
backgroundColor: {
|
|
11340
11283
|
label: 'Background Color',
|
|
11341
11284
|
description: 'Background fill color.',
|
|
@@ -11351,22 +11294,32 @@ export const patterns = [
|
|
|
11351
11294
|
sort: 21,
|
|
11352
11295
|
preferredScale: 's',
|
|
11353
11296
|
},
|
|
11354
|
-
|
|
11355
|
-
label: '
|
|
11356
|
-
description:
|
|
11297
|
+
textDecorationLine: {
|
|
11298
|
+
label: 'Text Decoration',
|
|
11299
|
+
description:
|
|
11300
|
+
'Text decoration line style (e.g. line-through for strikethrough).',
|
|
11357
11301
|
category: 'style',
|
|
11358
11302
|
specialCategory: null,
|
|
11303
|
+
sort: 6,
|
|
11304
|
+
},
|
|
11305
|
+
},
|
|
11306
|
+
attributes: {
|
|
11307
|
+
adjustsFontSizeToFit: {
|
|
11308
|
+
label: 'Adjust Font Size To Fit',
|
|
11309
|
+
description:
|
|
11310
|
+
'Automatically reduces font size to fit the available space.',
|
|
11311
|
+
category: 'other',
|
|
11312
|
+
specialCategory: null,
|
|
11359
11313
|
sort: 1,
|
|
11360
11314
|
},
|
|
11361
|
-
|
|
11362
|
-
label: '
|
|
11363
|
-
description:
|
|
11364
|
-
|
|
11315
|
+
showEllipsis: {
|
|
11316
|
+
label: 'Show Ellipsis',
|
|
11317
|
+
description:
|
|
11318
|
+
'If text overflows, show ellipsis (…); applied as single-line truncation.',
|
|
11319
|
+
category: 'other',
|
|
11365
11320
|
specialCategory: null,
|
|
11366
11321
|
sort: 2,
|
|
11367
11322
|
},
|
|
11368
|
-
},
|
|
11369
|
-
attributes: {
|
|
11370
11323
|
scrollable: {
|
|
11371
11324
|
label: 'Scrollable',
|
|
11372
11325
|
description: 'Turns scroll interaction on.',
|
|
@@ -11623,17 +11576,55 @@ export const patterns = [
|
|
|
11623
11576
|
specialCategory: null,
|
|
11624
11577
|
sort: 26,
|
|
11625
11578
|
},
|
|
11626
|
-
|
|
11627
|
-
label: '
|
|
11628
|
-
description: '
|
|
11579
|
+
showOriginalPricePossible: {
|
|
11580
|
+
label: 'Show Original Price Possible',
|
|
11581
|
+
description: 'When enabled, shows the original price if available.',
|
|
11629
11582
|
category: 'other',
|
|
11630
11583
|
specialCategory: null,
|
|
11631
|
-
sort:
|
|
11584
|
+
sort: 1,
|
|
11585
|
+
},
|
|
11586
|
+
hideIfItsNotDiscount: {
|
|
11587
|
+
label: 'Hide If No Discount',
|
|
11588
|
+
description:
|
|
11589
|
+
'Hides this element when there is no active discount/promo.',
|
|
11590
|
+
category: 'other',
|
|
11591
|
+
specialCategory: null,
|
|
11592
|
+
sort: 2,
|
|
11593
|
+
},
|
|
11594
|
+
},
|
|
11595
|
+
specialCategories: {
|
|
11596
|
+
padding: {
|
|
11597
|
+
label: 'Padding',
|
|
11598
|
+
description: 'Uniform padding on all sides.',
|
|
11599
|
+
category: 'container',
|
|
11600
|
+
sort: 1,
|
|
11601
|
+
},
|
|
11602
|
+
margin: {
|
|
11603
|
+
label: 'Margin',
|
|
11604
|
+
description: 'Uniform margin on all sides.',
|
|
11605
|
+
category: 'container',
|
|
11606
|
+
sort: 2,
|
|
11607
|
+
},
|
|
11608
|
+
size: {
|
|
11609
|
+
label: 'Size',
|
|
11610
|
+
description: 'Fixed dimensions.',
|
|
11611
|
+
category: 'container',
|
|
11612
|
+
sort: 3,
|
|
11613
|
+
},
|
|
11614
|
+
offset: {
|
|
11615
|
+
label: 'Offset',
|
|
11616
|
+
description: 'Absolute positioning offsets.',
|
|
11617
|
+
category: 'container',
|
|
11618
|
+
sort: 4,
|
|
11632
11619
|
},
|
|
11633
11620
|
},
|
|
11634
11621
|
},
|
|
11635
11622
|
defaults: {
|
|
11636
|
-
|
|
11623
|
+
translateCounter: 1,
|
|
11624
|
+
styles: {
|
|
11625
|
+
color: 'THEME_COLORS.TEXT',
|
|
11626
|
+
fontSize: '16@fs',
|
|
11627
|
+
fontWeight: '700',
|
|
11637
11628
|
flexDirection: 'column',
|
|
11638
11629
|
position: 'relative',
|
|
11639
11630
|
zIndex: 1,
|
|
@@ -11647,26 +11638,1314 @@ export const patterns = [
|
|
|
11647
11638
|
{
|
|
11648
11639
|
schemaVersion: 2,
|
|
11649
11640
|
pattern: {
|
|
11650
|
-
type: '
|
|
11641
|
+
type: 'Pricing',
|
|
11651
11642
|
title: 'title',
|
|
11652
|
-
description: '
|
|
11653
|
-
children: '
|
|
11643
|
+
description: 'base.builder.paywall.pricing.default.text',
|
|
11644
|
+
children: 'string',
|
|
11654
11645
|
attributes: {
|
|
11646
|
+
adjustsFontSizeToFit: 'boolean',
|
|
11647
|
+
showEllipsis: 'boolean',
|
|
11648
|
+
translateCounter: 'number',
|
|
11655
11649
|
style: {
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11650
|
+
color: 'color',
|
|
11651
|
+
fontSize: 'size',
|
|
11652
|
+
fontFamily: 'fontFamily',
|
|
11653
|
+
fontWeight: 'fontWeight',
|
|
11654
|
+
flexDirection: ['row', 'column'],
|
|
11655
|
+
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
11656
|
+
alignItems: [
|
|
11657
|
+
'flex-start',
|
|
11658
|
+
'center',
|
|
11659
|
+
'flex-end',
|
|
11660
|
+
'stretch',
|
|
11661
|
+
'baseline',
|
|
11662
|
+
],
|
|
11663
|
+
justifyContent: [
|
|
11664
|
+
'flex-start',
|
|
11665
|
+
'center',
|
|
11666
|
+
'flex-end',
|
|
11667
|
+
'space-between',
|
|
11668
|
+
'space-around',
|
|
11669
|
+
'space-evenly',
|
|
11670
|
+
],
|
|
11671
|
+
gap: 'size',
|
|
11672
|
+
padding: 'size',
|
|
11673
|
+
paddingHorizontal: 'size',
|
|
11674
|
+
paddingVertical: 'size',
|
|
11675
|
+
paddingTop: 'size',
|
|
11676
|
+
paddingBottom: 'size',
|
|
11677
|
+
paddingLeft: 'size',
|
|
11678
|
+
paddingRight: 'size',
|
|
11679
|
+
margin: 'size',
|
|
11659
11680
|
marginHorizontal: 'size',
|
|
11660
11681
|
marginVertical: 'size',
|
|
11661
11682
|
marginTop: 'size',
|
|
11662
11683
|
marginBottom: 'size',
|
|
11684
|
+
marginLeft: 'size',
|
|
11685
|
+
marginRight: 'size',
|
|
11686
|
+
backgroundColor: 'color',
|
|
11687
|
+
borderRadius: 'size',
|
|
11688
|
+
width: 'size',
|
|
11689
|
+
minWidth: 'size',
|
|
11690
|
+
maxWidth: 'size',
|
|
11691
|
+
height: 'size',
|
|
11692
|
+
minHeight: 'size',
|
|
11693
|
+
maxHeight: 'size',
|
|
11694
|
+
flex: 'number',
|
|
11695
|
+
position: ['relative', 'absolute'],
|
|
11696
|
+
top: 'size',
|
|
11697
|
+
bottom: 'size',
|
|
11698
|
+
left: 'size',
|
|
11699
|
+
right: 'size',
|
|
11700
|
+
zIndex: 'number',
|
|
11663
11701
|
},
|
|
11702
|
+
scrollable: 'boolean',
|
|
11664
11703
|
},
|
|
11665
11704
|
},
|
|
11666
11705
|
meta: {
|
|
11667
|
-
desiredParent: ['
|
|
11668
|
-
label: '
|
|
11669
|
-
description:
|
|
11706
|
+
desiredParent: ['>PaywallProvider'],
|
|
11707
|
+
label: 'Pricing',
|
|
11708
|
+
description:
|
|
11709
|
+
'Displays pricing details (e.g. promo/trial breakdown). Extends Text.',
|
|
11710
|
+
styles: {
|
|
11711
|
+
color: {
|
|
11712
|
+
label: 'Color',
|
|
11713
|
+
description: 'Text color.',
|
|
11714
|
+
category: 'style',
|
|
11715
|
+
specialCategory: null,
|
|
11716
|
+
sort: 1,
|
|
11717
|
+
},
|
|
11718
|
+
fontSize: {
|
|
11719
|
+
label: 'Font Size',
|
|
11720
|
+
description: 'Text size.',
|
|
11721
|
+
category: 'style',
|
|
11722
|
+
specialCategory: null,
|
|
11723
|
+
sort: 2,
|
|
11724
|
+
preferredScale: 's',
|
|
11725
|
+
},
|
|
11726
|
+
fontFamily: {
|
|
11727
|
+
label: 'Font Family',
|
|
11728
|
+
description: 'Font family used for the text.',
|
|
11729
|
+
category: 'style',
|
|
11730
|
+
specialCategory: null,
|
|
11731
|
+
sort: 3,
|
|
11732
|
+
},
|
|
11733
|
+
fontWeight: {
|
|
11734
|
+
label: 'Font Weight',
|
|
11735
|
+
description: 'Text weight.',
|
|
11736
|
+
category: 'style',
|
|
11737
|
+
specialCategory: null,
|
|
11738
|
+
sort: 4,
|
|
11739
|
+
},
|
|
11740
|
+
textAlign: {
|
|
11741
|
+
label: 'Text Align',
|
|
11742
|
+
description: 'Text alignment.',
|
|
11743
|
+
category: 'style',
|
|
11744
|
+
specialCategory: null,
|
|
11745
|
+
sort: 5,
|
|
11746
|
+
},
|
|
11747
|
+
backgroundColor: {
|
|
11748
|
+
label: 'Background Color',
|
|
11749
|
+
description: 'Background fill color.',
|
|
11750
|
+
category: 'style',
|
|
11751
|
+
specialCategory: null,
|
|
11752
|
+
sort: 20,
|
|
11753
|
+
},
|
|
11754
|
+
borderRadius: {
|
|
11755
|
+
label: 'Border Radius',
|
|
11756
|
+
description: 'Corner rounding amount.',
|
|
11757
|
+
category: 'style',
|
|
11758
|
+
specialCategory: null,
|
|
11759
|
+
sort: 21,
|
|
11760
|
+
preferredScale: 's',
|
|
11761
|
+
},
|
|
11762
|
+
},
|
|
11763
|
+
attributes: {
|
|
11764
|
+
adjustsFontSizeToFit: {
|
|
11765
|
+
label: 'Adjust Font Size To Fit',
|
|
11766
|
+
description:
|
|
11767
|
+
'Automatically reduces font size to fit the available space.',
|
|
11768
|
+
category: 'other',
|
|
11769
|
+
specialCategory: null,
|
|
11770
|
+
sort: 1,
|
|
11771
|
+
},
|
|
11772
|
+
showEllipsis: {
|
|
11773
|
+
label: 'Show Ellipsis',
|
|
11774
|
+
description:
|
|
11775
|
+
'If text overflows, show ellipsis (…); applied as single-line truncation.',
|
|
11776
|
+
category: 'other',
|
|
11777
|
+
specialCategory: null,
|
|
11778
|
+
sort: 2,
|
|
11779
|
+
},
|
|
11780
|
+
scrollable: {
|
|
11781
|
+
label: 'Scrollable',
|
|
11782
|
+
description: 'Turns scroll interaction on.',
|
|
11783
|
+
category: 'container',
|
|
11784
|
+
specialCategory: null,
|
|
11785
|
+
sort: -1,
|
|
11786
|
+
},
|
|
11787
|
+
flexDirection: {
|
|
11788
|
+
label: 'Flex Direction',
|
|
11789
|
+
description: 'Sets row or column layout.',
|
|
11790
|
+
category: 'container',
|
|
11791
|
+
specialCategory: null,
|
|
11792
|
+
sort: 4,
|
|
11793
|
+
},
|
|
11794
|
+
flexWrap: {
|
|
11795
|
+
label: 'Flex Wrap',
|
|
11796
|
+
description: 'Controls whether flex items wrap to multiple lines.',
|
|
11797
|
+
category: 'container',
|
|
11798
|
+
specialCategory: null,
|
|
11799
|
+
sort: 4.5,
|
|
11800
|
+
},
|
|
11801
|
+
alignItems: {
|
|
11802
|
+
label: 'Align Items',
|
|
11803
|
+
description: 'Controls cross-axis alignment.',
|
|
11804
|
+
category: 'container',
|
|
11805
|
+
specialCategory: null,
|
|
11806
|
+
sort: 3,
|
|
11807
|
+
},
|
|
11808
|
+
justifyContent: {
|
|
11809
|
+
label: 'Justify Content',
|
|
11810
|
+
description: 'Controls main-axis alignment.',
|
|
11811
|
+
category: 'container',
|
|
11812
|
+
specialCategory: null,
|
|
11813
|
+
sort: 5,
|
|
11814
|
+
},
|
|
11815
|
+
gap: {
|
|
11816
|
+
label: 'Gap',
|
|
11817
|
+
description: 'Space between children.',
|
|
11818
|
+
category: 'container',
|
|
11819
|
+
specialCategory: null,
|
|
11820
|
+
sort: 10,
|
|
11821
|
+
preferredScale: 's',
|
|
11822
|
+
},
|
|
11823
|
+
padding: {
|
|
11824
|
+
label: 'Padding',
|
|
11825
|
+
description: 'Uniform padding on all sides.',
|
|
11826
|
+
category: 'container',
|
|
11827
|
+
specialCategory: 'padding',
|
|
11828
|
+
sort: 6,
|
|
11829
|
+
preferredScale: 's',
|
|
11830
|
+
},
|
|
11831
|
+
paddingHorizontal: {
|
|
11832
|
+
label: 'Padding Horizontal',
|
|
11833
|
+
description: 'Left and right padding.',
|
|
11834
|
+
category: 'container',
|
|
11835
|
+
specialCategory: 'padding',
|
|
11836
|
+
sort: 7,
|
|
11837
|
+
preferredScale: 's',
|
|
11838
|
+
},
|
|
11839
|
+
paddingVertical: {
|
|
11840
|
+
label: 'Padding Vertical',
|
|
11841
|
+
description: 'Top and bottom padding.',
|
|
11842
|
+
category: 'container',
|
|
11843
|
+
specialCategory: 'padding',
|
|
11844
|
+
sort: 8,
|
|
11845
|
+
preferredScale: 'vs',
|
|
11846
|
+
},
|
|
11847
|
+
paddingTop: {
|
|
11848
|
+
label: 'Padding Top',
|
|
11849
|
+
description: 'Top padding only.',
|
|
11850
|
+
category: 'container',
|
|
11851
|
+
specialCategory: 'padding',
|
|
11852
|
+
sort: 9,
|
|
11853
|
+
preferredScale: 'vs',
|
|
11854
|
+
},
|
|
11855
|
+
paddingBottom: {
|
|
11856
|
+
label: 'Padding Bottom',
|
|
11857
|
+
description: 'Bottom padding only.',
|
|
11858
|
+
category: 'container',
|
|
11859
|
+
specialCategory: 'padding',
|
|
11860
|
+
sort: 10,
|
|
11861
|
+
preferredScale: 'vs',
|
|
11862
|
+
},
|
|
11863
|
+
paddingLeft: {
|
|
11864
|
+
label: 'Padding Left',
|
|
11865
|
+
description: 'Left padding only.',
|
|
11866
|
+
category: 'container',
|
|
11867
|
+
specialCategory: 'padding',
|
|
11868
|
+
sort: 11,
|
|
11869
|
+
preferredScale: 's',
|
|
11870
|
+
},
|
|
11871
|
+
paddingRight: {
|
|
11872
|
+
label: 'Padding Right',
|
|
11873
|
+
description: 'Right padding only.',
|
|
11874
|
+
category: 'container',
|
|
11875
|
+
specialCategory: 'padding',
|
|
11876
|
+
sort: 12,
|
|
11877
|
+
preferredScale: 's',
|
|
11878
|
+
},
|
|
11879
|
+
margin: {
|
|
11880
|
+
label: 'Margin',
|
|
11881
|
+
description: 'Uniform margin on all sides.',
|
|
11882
|
+
category: 'container',
|
|
11883
|
+
specialCategory: 'margin',
|
|
11884
|
+
sort: 13,
|
|
11885
|
+
preferredScale: 's',
|
|
11886
|
+
},
|
|
11887
|
+
marginHorizontal: {
|
|
11888
|
+
label: 'Margin Horizontal',
|
|
11889
|
+
description: 'Left and right margin.',
|
|
11890
|
+
category: 'container',
|
|
11891
|
+
specialCategory: 'margin',
|
|
11892
|
+
sort: 14,
|
|
11893
|
+
preferredScale: 's',
|
|
11894
|
+
},
|
|
11895
|
+
marginVertical: {
|
|
11896
|
+
label: 'Margin Vertical',
|
|
11897
|
+
description: 'Top and bottom margin.',
|
|
11898
|
+
category: 'container',
|
|
11899
|
+
specialCategory: 'margin',
|
|
11900
|
+
sort: 15,
|
|
11901
|
+
preferredScale: 'vs',
|
|
11902
|
+
},
|
|
11903
|
+
marginTop: {
|
|
11904
|
+
label: 'Margin Top',
|
|
11905
|
+
description: 'Top margin only.',
|
|
11906
|
+
category: 'container',
|
|
11907
|
+
specialCategory: 'margin',
|
|
11908
|
+
sort: 16,
|
|
11909
|
+
preferredScale: 'vs',
|
|
11910
|
+
},
|
|
11911
|
+
marginBottom: {
|
|
11912
|
+
label: 'Margin Bottom',
|
|
11913
|
+
description: 'Bottom margin only.',
|
|
11914
|
+
category: 'container',
|
|
11915
|
+
specialCategory: 'margin',
|
|
11916
|
+
sort: 17,
|
|
11917
|
+
preferredScale: 'vs',
|
|
11918
|
+
},
|
|
11919
|
+
marginLeft: {
|
|
11920
|
+
label: 'Margin Left',
|
|
11921
|
+
description: 'Left margin only.',
|
|
11922
|
+
category: 'container',
|
|
11923
|
+
specialCategory: 'margin',
|
|
11924
|
+
sort: 18,
|
|
11925
|
+
preferredScale: 's',
|
|
11926
|
+
},
|
|
11927
|
+
marginRight: {
|
|
11928
|
+
label: 'Margin Right',
|
|
11929
|
+
description: 'Right margin only.',
|
|
11930
|
+
category: 'container',
|
|
11931
|
+
specialCategory: 'margin',
|
|
11932
|
+
sort: 19,
|
|
11933
|
+
preferredScale: 's',
|
|
11934
|
+
},
|
|
11935
|
+
width: {
|
|
11936
|
+
label: 'Width',
|
|
11937
|
+
description: 'Fixed width value.',
|
|
11938
|
+
category: 'container',
|
|
11939
|
+
specialCategory: 'size',
|
|
11940
|
+
sort: 0,
|
|
11941
|
+
preferredScale: 's',
|
|
11942
|
+
},
|
|
11943
|
+
minWidth: {
|
|
11944
|
+
label: 'Min Width',
|
|
11945
|
+
description: 'Minimum width constraint.',
|
|
11946
|
+
category: 'container',
|
|
11947
|
+
specialCategory: 'size',
|
|
11948
|
+
sort: 1,
|
|
11949
|
+
preferredScale: 's',
|
|
11950
|
+
},
|
|
11951
|
+
maxWidth: {
|
|
11952
|
+
label: 'Max Width',
|
|
11953
|
+
description: 'Maximum width constraint.',
|
|
11954
|
+
category: 'container',
|
|
11955
|
+
specialCategory: 'size',
|
|
11956
|
+
sort: 2,
|
|
11957
|
+
preferredScale: 's',
|
|
11958
|
+
},
|
|
11959
|
+
height: {
|
|
11960
|
+
label: 'Height',
|
|
11961
|
+
description: 'Fixed height value.',
|
|
11962
|
+
category: 'container',
|
|
11963
|
+
specialCategory: 'size',
|
|
11964
|
+
sort: 3,
|
|
11965
|
+
preferredScale: 'vs',
|
|
11966
|
+
},
|
|
11967
|
+
minHeight: {
|
|
11968
|
+
label: 'Min Height',
|
|
11969
|
+
description: 'Minimum height constraint.',
|
|
11970
|
+
category: 'container',
|
|
11971
|
+
specialCategory: 'size',
|
|
11972
|
+
sort: 4,
|
|
11973
|
+
preferredScale: 'vs',
|
|
11974
|
+
},
|
|
11975
|
+
maxHeight: {
|
|
11976
|
+
label: 'Max Height',
|
|
11977
|
+
description: 'Maximum height constraint.',
|
|
11978
|
+
category: 'container',
|
|
11979
|
+
specialCategory: 'size',
|
|
11980
|
+
sort: 5,
|
|
11981
|
+
preferredScale: 'vs',
|
|
11982
|
+
},
|
|
11983
|
+
flex: {
|
|
11984
|
+
label: 'Flex',
|
|
11985
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
11986
|
+
category: 'container',
|
|
11987
|
+
specialCategory: 'size',
|
|
11988
|
+
sort: 6,
|
|
11989
|
+
},
|
|
11990
|
+
position: {
|
|
11991
|
+
label: 'Position',
|
|
11992
|
+
description: 'Sets layout positioning mode.',
|
|
11993
|
+
category: 'container',
|
|
11994
|
+
specialCategory: null,
|
|
11995
|
+
sort: 3,
|
|
11996
|
+
},
|
|
11997
|
+
top: {
|
|
11998
|
+
label: 'Top',
|
|
11999
|
+
description: 'Offset from the top edge.',
|
|
12000
|
+
category: 'container',
|
|
12001
|
+
specialCategory: 'offset',
|
|
12002
|
+
sort: 22,
|
|
12003
|
+
preferredScale: 'vs',
|
|
12004
|
+
},
|
|
12005
|
+
bottom: {
|
|
12006
|
+
label: 'Bottom',
|
|
12007
|
+
description: 'Offset from the bottom edge.',
|
|
12008
|
+
category: 'container',
|
|
12009
|
+
specialCategory: 'offset',
|
|
12010
|
+
sort: 23,
|
|
12011
|
+
preferredScale: 'vs',
|
|
12012
|
+
},
|
|
12013
|
+
left: {
|
|
12014
|
+
label: 'Left',
|
|
12015
|
+
description: 'Offset from the left edge.',
|
|
12016
|
+
category: 'container',
|
|
12017
|
+
specialCategory: 'offset',
|
|
12018
|
+
sort: 24,
|
|
12019
|
+
preferredScale: 's',
|
|
12020
|
+
},
|
|
12021
|
+
right: {
|
|
12022
|
+
label: 'Right',
|
|
12023
|
+
description: 'Offset from the right edge.',
|
|
12024
|
+
category: 'container',
|
|
12025
|
+
specialCategory: 'offset',
|
|
12026
|
+
sort: 25,
|
|
12027
|
+
preferredScale: 's',
|
|
12028
|
+
},
|
|
12029
|
+
zIndex: {
|
|
12030
|
+
label: 'Z-Index',
|
|
12031
|
+
description: 'Controls stacking order.',
|
|
12032
|
+
category: 'container',
|
|
12033
|
+
specialCategory: null,
|
|
12034
|
+
sort: 26,
|
|
12035
|
+
},
|
|
12036
|
+
},
|
|
12037
|
+
specialCategories: {
|
|
12038
|
+
padding: {
|
|
12039
|
+
label: 'Padding',
|
|
12040
|
+
description: 'Uniform padding on all sides.',
|
|
12041
|
+
category: 'container',
|
|
12042
|
+
sort: 1,
|
|
12043
|
+
},
|
|
12044
|
+
margin: {
|
|
12045
|
+
label: 'Margin',
|
|
12046
|
+
description: 'Uniform margin on all sides.',
|
|
12047
|
+
category: 'container',
|
|
12048
|
+
sort: 2,
|
|
12049
|
+
},
|
|
12050
|
+
size: {
|
|
12051
|
+
label: 'Size',
|
|
12052
|
+
description: 'Fixed dimensions.',
|
|
12053
|
+
category: 'container',
|
|
12054
|
+
sort: 3,
|
|
12055
|
+
},
|
|
12056
|
+
offset: {
|
|
12057
|
+
label: 'Offset',
|
|
12058
|
+
description: 'Absolute positioning offsets.',
|
|
12059
|
+
category: 'container',
|
|
12060
|
+
sort: 4,
|
|
12061
|
+
},
|
|
12062
|
+
},
|
|
12063
|
+
},
|
|
12064
|
+
defaults: {
|
|
12065
|
+
translateCounter: 2,
|
|
12066
|
+
styles: {
|
|
12067
|
+
color: 'rgba(255,255,255,0.6)',
|
|
12068
|
+
fontSize: '12@fs',
|
|
12069
|
+
fontWeight: '400',
|
|
12070
|
+
flexDirection: 'column',
|
|
12071
|
+
position: 'relative',
|
|
12072
|
+
zIndex: 1,
|
|
12073
|
+
alignSelf: 'flex-start',
|
|
12074
|
+
flexGrow: 0,
|
|
12075
|
+
flexShrink: 0,
|
|
12076
|
+
textAlign: 'center',
|
|
12077
|
+
},
|
|
12078
|
+
},
|
|
12079
|
+
types: {},
|
|
12080
|
+
},
|
|
12081
|
+
{
|
|
12082
|
+
schemaVersion: 2,
|
|
12083
|
+
pattern: {
|
|
12084
|
+
type: 'Promo',
|
|
12085
|
+
title: 'title',
|
|
12086
|
+
description: 'base.builder.paywall.promo.default.text',
|
|
12087
|
+
children: 'string',
|
|
12088
|
+
attributes: {
|
|
12089
|
+
adjustsFontSizeToFit: 'boolean',
|
|
12090
|
+
showEllipsis: 'boolean',
|
|
12091
|
+
translateCounter: 'number',
|
|
12092
|
+
style: {
|
|
12093
|
+
color: 'color',
|
|
12094
|
+
fontSize: 'size',
|
|
12095
|
+
fontFamily: 'fontFamily',
|
|
12096
|
+
fontWeight: 'fontWeight',
|
|
12097
|
+
flexDirection: ['row', 'column'],
|
|
12098
|
+
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
12099
|
+
alignItems: [
|
|
12100
|
+
'flex-start',
|
|
12101
|
+
'center',
|
|
12102
|
+
'flex-end',
|
|
12103
|
+
'stretch',
|
|
12104
|
+
'baseline',
|
|
12105
|
+
],
|
|
12106
|
+
justifyContent: [
|
|
12107
|
+
'flex-start',
|
|
12108
|
+
'center',
|
|
12109
|
+
'flex-end',
|
|
12110
|
+
'space-between',
|
|
12111
|
+
'space-around',
|
|
12112
|
+
'space-evenly',
|
|
12113
|
+
],
|
|
12114
|
+
gap: 'size',
|
|
12115
|
+
padding: 'size',
|
|
12116
|
+
paddingHorizontal: 'size',
|
|
12117
|
+
paddingVertical: 'size',
|
|
12118
|
+
paddingTop: 'size',
|
|
12119
|
+
paddingBottom: 'size',
|
|
12120
|
+
paddingLeft: 'size',
|
|
12121
|
+
paddingRight: 'size',
|
|
12122
|
+
margin: 'size',
|
|
12123
|
+
marginHorizontal: 'size',
|
|
12124
|
+
marginVertical: 'size',
|
|
12125
|
+
marginTop: 'size',
|
|
12126
|
+
marginBottom: 'size',
|
|
12127
|
+
marginLeft: 'size',
|
|
12128
|
+
marginRight: 'size',
|
|
12129
|
+
backgroundColor: 'color',
|
|
12130
|
+
borderRadius: 'size',
|
|
12131
|
+
width: 'size',
|
|
12132
|
+
minWidth: 'size',
|
|
12133
|
+
maxWidth: 'size',
|
|
12134
|
+
height: 'size',
|
|
12135
|
+
minHeight: 'size',
|
|
12136
|
+
maxHeight: 'size',
|
|
12137
|
+
flex: 'number',
|
|
12138
|
+
position: ['relative', 'absolute'],
|
|
12139
|
+
top: 'size',
|
|
12140
|
+
bottom: 'size',
|
|
12141
|
+
left: 'size',
|
|
12142
|
+
right: 'size',
|
|
12143
|
+
zIndex: 'number',
|
|
12144
|
+
},
|
|
12145
|
+
scrollable: 'boolean',
|
|
12146
|
+
},
|
|
12147
|
+
},
|
|
12148
|
+
meta: {
|
|
12149
|
+
desiredParent: ['>PaywallProvider'],
|
|
12150
|
+
label: 'Promo',
|
|
12151
|
+
description:
|
|
12152
|
+
'Displays promotional badge/text (e.g. discount percentage). Extends Text.',
|
|
12153
|
+
styles: {
|
|
12154
|
+
color: {
|
|
12155
|
+
label: 'Color',
|
|
12156
|
+
description: 'Text color.',
|
|
12157
|
+
category: 'style',
|
|
12158
|
+
specialCategory: null,
|
|
12159
|
+
sort: 1,
|
|
12160
|
+
},
|
|
12161
|
+
fontSize: {
|
|
12162
|
+
label: 'Font Size',
|
|
12163
|
+
description: 'Text size.',
|
|
12164
|
+
category: 'style',
|
|
12165
|
+
specialCategory: null,
|
|
12166
|
+
sort: 2,
|
|
12167
|
+
preferredScale: 's',
|
|
12168
|
+
},
|
|
12169
|
+
fontFamily: {
|
|
12170
|
+
label: 'Font Family',
|
|
12171
|
+
description: 'Font family used for the text.',
|
|
12172
|
+
category: 'style',
|
|
12173
|
+
specialCategory: null,
|
|
12174
|
+
sort: 3,
|
|
12175
|
+
},
|
|
12176
|
+
fontWeight: {
|
|
12177
|
+
label: 'Font Weight',
|
|
12178
|
+
description: 'Text weight.',
|
|
12179
|
+
category: 'style',
|
|
12180
|
+
specialCategory: null,
|
|
12181
|
+
sort: 4,
|
|
12182
|
+
},
|
|
12183
|
+
textAlign: {
|
|
12184
|
+
label: 'Text Align',
|
|
12185
|
+
description: 'Text alignment.',
|
|
12186
|
+
category: 'style',
|
|
12187
|
+
specialCategory: null,
|
|
12188
|
+
sort: 5,
|
|
12189
|
+
},
|
|
12190
|
+
backgroundColor: {
|
|
12191
|
+
label: 'Background Color',
|
|
12192
|
+
description: 'Background fill color.',
|
|
12193
|
+
category: 'style',
|
|
12194
|
+
specialCategory: null,
|
|
12195
|
+
sort: 20,
|
|
12196
|
+
},
|
|
12197
|
+
borderRadius: {
|
|
12198
|
+
label: 'Border Radius',
|
|
12199
|
+
description: 'Corner rounding amount.',
|
|
12200
|
+
category: 'style',
|
|
12201
|
+
specialCategory: null,
|
|
12202
|
+
sort: 21,
|
|
12203
|
+
preferredScale: 's',
|
|
12204
|
+
},
|
|
12205
|
+
},
|
|
12206
|
+
attributes: {
|
|
12207
|
+
adjustsFontSizeToFit: {
|
|
12208
|
+
label: 'Adjust Font Size To Fit',
|
|
12209
|
+
description:
|
|
12210
|
+
'Automatically reduces font size to fit the available space.',
|
|
12211
|
+
category: 'other',
|
|
12212
|
+
specialCategory: null,
|
|
12213
|
+
sort: 1,
|
|
12214
|
+
},
|
|
12215
|
+
showEllipsis: {
|
|
12216
|
+
label: 'Show Ellipsis',
|
|
12217
|
+
description:
|
|
12218
|
+
'If text overflows, show ellipsis (…); applied as single-line truncation.',
|
|
12219
|
+
category: 'other',
|
|
12220
|
+
specialCategory: null,
|
|
12221
|
+
sort: 2,
|
|
12222
|
+
},
|
|
12223
|
+
scrollable: {
|
|
12224
|
+
label: 'Scrollable',
|
|
12225
|
+
description: 'Turns scroll interaction on.',
|
|
12226
|
+
category: 'container',
|
|
12227
|
+
specialCategory: null,
|
|
12228
|
+
sort: -1,
|
|
12229
|
+
},
|
|
12230
|
+
flexDirection: {
|
|
12231
|
+
label: 'Flex Direction',
|
|
12232
|
+
description: 'Sets row or column layout.',
|
|
12233
|
+
category: 'container',
|
|
12234
|
+
specialCategory: null,
|
|
12235
|
+
sort: 4,
|
|
12236
|
+
},
|
|
12237
|
+
flexWrap: {
|
|
12238
|
+
label: 'Flex Wrap',
|
|
12239
|
+
description: 'Controls whether flex items wrap to multiple lines.',
|
|
12240
|
+
category: 'container',
|
|
12241
|
+
specialCategory: null,
|
|
12242
|
+
sort: 4.5,
|
|
12243
|
+
},
|
|
12244
|
+
alignItems: {
|
|
12245
|
+
label: 'Align Items',
|
|
12246
|
+
description: 'Controls cross-axis alignment.',
|
|
12247
|
+
category: 'container',
|
|
12248
|
+
specialCategory: null,
|
|
12249
|
+
sort: 3,
|
|
12250
|
+
},
|
|
12251
|
+
justifyContent: {
|
|
12252
|
+
label: 'Justify Content',
|
|
12253
|
+
description: 'Controls main-axis alignment.',
|
|
12254
|
+
category: 'container',
|
|
12255
|
+
specialCategory: null,
|
|
12256
|
+
sort: 5,
|
|
12257
|
+
},
|
|
12258
|
+
gap: {
|
|
12259
|
+
label: 'Gap',
|
|
12260
|
+
description: 'Space between children.',
|
|
12261
|
+
category: 'container',
|
|
12262
|
+
specialCategory: null,
|
|
12263
|
+
sort: 10,
|
|
12264
|
+
preferredScale: 's',
|
|
12265
|
+
},
|
|
12266
|
+
padding: {
|
|
12267
|
+
label: 'Padding',
|
|
12268
|
+
description: 'Uniform padding on all sides.',
|
|
12269
|
+
category: 'container',
|
|
12270
|
+
specialCategory: 'padding',
|
|
12271
|
+
sort: 6,
|
|
12272
|
+
preferredScale: 's',
|
|
12273
|
+
},
|
|
12274
|
+
paddingHorizontal: {
|
|
12275
|
+
label: 'Padding Horizontal',
|
|
12276
|
+
description: 'Left and right padding.',
|
|
12277
|
+
category: 'container',
|
|
12278
|
+
specialCategory: 'padding',
|
|
12279
|
+
sort: 7,
|
|
12280
|
+
preferredScale: 's',
|
|
12281
|
+
},
|
|
12282
|
+
paddingVertical: {
|
|
12283
|
+
label: 'Padding Vertical',
|
|
12284
|
+
description: 'Top and bottom padding.',
|
|
12285
|
+
category: 'container',
|
|
12286
|
+
specialCategory: 'padding',
|
|
12287
|
+
sort: 8,
|
|
12288
|
+
preferredScale: 'vs',
|
|
12289
|
+
},
|
|
12290
|
+
paddingTop: {
|
|
12291
|
+
label: 'Padding Top',
|
|
12292
|
+
description: 'Top padding only.',
|
|
12293
|
+
category: 'container',
|
|
12294
|
+
specialCategory: 'padding',
|
|
12295
|
+
sort: 9,
|
|
12296
|
+
preferredScale: 'vs',
|
|
12297
|
+
},
|
|
12298
|
+
paddingBottom: {
|
|
12299
|
+
label: 'Padding Bottom',
|
|
12300
|
+
description: 'Bottom padding only.',
|
|
12301
|
+
category: 'container',
|
|
12302
|
+
specialCategory: 'padding',
|
|
12303
|
+
sort: 10,
|
|
12304
|
+
preferredScale: 'vs',
|
|
12305
|
+
},
|
|
12306
|
+
paddingLeft: {
|
|
12307
|
+
label: 'Padding Left',
|
|
12308
|
+
description: 'Left padding only.',
|
|
12309
|
+
category: 'container',
|
|
12310
|
+
specialCategory: 'padding',
|
|
12311
|
+
sort: 11,
|
|
12312
|
+
preferredScale: 's',
|
|
12313
|
+
},
|
|
12314
|
+
paddingRight: {
|
|
12315
|
+
label: 'Padding Right',
|
|
12316
|
+
description: 'Right padding only.',
|
|
12317
|
+
category: 'container',
|
|
12318
|
+
specialCategory: 'padding',
|
|
12319
|
+
sort: 12,
|
|
12320
|
+
preferredScale: 's',
|
|
12321
|
+
},
|
|
12322
|
+
margin: {
|
|
12323
|
+
label: 'Margin',
|
|
12324
|
+
description: 'Uniform margin on all sides.',
|
|
12325
|
+
category: 'container',
|
|
12326
|
+
specialCategory: 'margin',
|
|
12327
|
+
sort: 13,
|
|
12328
|
+
preferredScale: 's',
|
|
12329
|
+
},
|
|
12330
|
+
marginHorizontal: {
|
|
12331
|
+
label: 'Margin Horizontal',
|
|
12332
|
+
description: 'Left and right margin.',
|
|
12333
|
+
category: 'container',
|
|
12334
|
+
specialCategory: 'margin',
|
|
12335
|
+
sort: 14,
|
|
12336
|
+
preferredScale: 's',
|
|
12337
|
+
},
|
|
12338
|
+
marginVertical: {
|
|
12339
|
+
label: 'Margin Vertical',
|
|
12340
|
+
description: 'Top and bottom margin.',
|
|
12341
|
+
category: 'container',
|
|
12342
|
+
specialCategory: 'margin',
|
|
12343
|
+
sort: 15,
|
|
12344
|
+
preferredScale: 'vs',
|
|
12345
|
+
},
|
|
12346
|
+
marginTop: {
|
|
12347
|
+
label: 'Margin Top',
|
|
12348
|
+
description: 'Top margin only.',
|
|
12349
|
+
category: 'container',
|
|
12350
|
+
specialCategory: 'margin',
|
|
12351
|
+
sort: 16,
|
|
12352
|
+
preferredScale: 'vs',
|
|
12353
|
+
},
|
|
12354
|
+
marginBottom: {
|
|
12355
|
+
label: 'Margin Bottom',
|
|
12356
|
+
description: 'Bottom margin only.',
|
|
12357
|
+
category: 'container',
|
|
12358
|
+
specialCategory: 'margin',
|
|
12359
|
+
sort: 17,
|
|
12360
|
+
preferredScale: 'vs',
|
|
12361
|
+
},
|
|
12362
|
+
marginLeft: {
|
|
12363
|
+
label: 'Margin Left',
|
|
12364
|
+
description: 'Left margin only.',
|
|
12365
|
+
category: 'container',
|
|
12366
|
+
specialCategory: 'margin',
|
|
12367
|
+
sort: 18,
|
|
12368
|
+
preferredScale: 's',
|
|
12369
|
+
},
|
|
12370
|
+
marginRight: {
|
|
12371
|
+
label: 'Margin Right',
|
|
12372
|
+
description: 'Right margin only.',
|
|
12373
|
+
category: 'container',
|
|
12374
|
+
specialCategory: 'margin',
|
|
12375
|
+
sort: 19,
|
|
12376
|
+
preferredScale: 's',
|
|
12377
|
+
},
|
|
12378
|
+
width: {
|
|
12379
|
+
label: 'Width',
|
|
12380
|
+
description: 'Fixed width value.',
|
|
12381
|
+
category: 'container',
|
|
12382
|
+
specialCategory: 'size',
|
|
12383
|
+
sort: 0,
|
|
12384
|
+
preferredScale: 's',
|
|
12385
|
+
},
|
|
12386
|
+
minWidth: {
|
|
12387
|
+
label: 'Min Width',
|
|
12388
|
+
description: 'Minimum width constraint.',
|
|
12389
|
+
category: 'container',
|
|
12390
|
+
specialCategory: 'size',
|
|
12391
|
+
sort: 1,
|
|
12392
|
+
preferredScale: 's',
|
|
12393
|
+
},
|
|
12394
|
+
maxWidth: {
|
|
12395
|
+
label: 'Max Width',
|
|
12396
|
+
description: 'Maximum width constraint.',
|
|
12397
|
+
category: 'container',
|
|
12398
|
+
specialCategory: 'size',
|
|
12399
|
+
sort: 2,
|
|
12400
|
+
preferredScale: 's',
|
|
12401
|
+
},
|
|
12402
|
+
height: {
|
|
12403
|
+
label: 'Height',
|
|
12404
|
+
description: 'Fixed height value.',
|
|
12405
|
+
category: 'container',
|
|
12406
|
+
specialCategory: 'size',
|
|
12407
|
+
sort: 3,
|
|
12408
|
+
preferredScale: 'vs',
|
|
12409
|
+
},
|
|
12410
|
+
minHeight: {
|
|
12411
|
+
label: 'Min Height',
|
|
12412
|
+
description: 'Minimum height constraint.',
|
|
12413
|
+
category: 'container',
|
|
12414
|
+
specialCategory: 'size',
|
|
12415
|
+
sort: 4,
|
|
12416
|
+
preferredScale: 'vs',
|
|
12417
|
+
},
|
|
12418
|
+
maxHeight: {
|
|
12419
|
+
label: 'Max Height',
|
|
12420
|
+
description: 'Maximum height constraint.',
|
|
12421
|
+
category: 'container',
|
|
12422
|
+
specialCategory: 'size',
|
|
12423
|
+
sort: 5,
|
|
12424
|
+
preferredScale: 'vs',
|
|
12425
|
+
},
|
|
12426
|
+
flex: {
|
|
12427
|
+
label: 'Flex',
|
|
12428
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
12429
|
+
category: 'container',
|
|
12430
|
+
specialCategory: 'size',
|
|
12431
|
+
sort: 6,
|
|
12432
|
+
},
|
|
12433
|
+
position: {
|
|
12434
|
+
label: 'Position',
|
|
12435
|
+
description: 'Sets layout positioning mode.',
|
|
12436
|
+
category: 'container',
|
|
12437
|
+
specialCategory: null,
|
|
12438
|
+
sort: 3,
|
|
12439
|
+
},
|
|
12440
|
+
top: {
|
|
12441
|
+
label: 'Top',
|
|
12442
|
+
description: 'Offset from the top edge.',
|
|
12443
|
+
category: 'container',
|
|
12444
|
+
specialCategory: 'offset',
|
|
12445
|
+
sort: 22,
|
|
12446
|
+
preferredScale: 'vs',
|
|
12447
|
+
},
|
|
12448
|
+
bottom: {
|
|
12449
|
+
label: 'Bottom',
|
|
12450
|
+
description: 'Offset from the bottom edge.',
|
|
12451
|
+
category: 'container',
|
|
12452
|
+
specialCategory: 'offset',
|
|
12453
|
+
sort: 23,
|
|
12454
|
+
preferredScale: 'vs',
|
|
12455
|
+
},
|
|
12456
|
+
left: {
|
|
12457
|
+
label: 'Left',
|
|
12458
|
+
description: 'Offset from the left edge.',
|
|
12459
|
+
category: 'container',
|
|
12460
|
+
specialCategory: 'offset',
|
|
12461
|
+
sort: 24,
|
|
12462
|
+
preferredScale: 's',
|
|
12463
|
+
},
|
|
12464
|
+
right: {
|
|
12465
|
+
label: 'Right',
|
|
12466
|
+
description: 'Offset from the right edge.',
|
|
12467
|
+
category: 'container',
|
|
12468
|
+
specialCategory: 'offset',
|
|
12469
|
+
sort: 25,
|
|
12470
|
+
preferredScale: 's',
|
|
12471
|
+
},
|
|
12472
|
+
zIndex: {
|
|
12473
|
+
label: 'Z-Index',
|
|
12474
|
+
description: 'Controls stacking order.',
|
|
12475
|
+
category: 'container',
|
|
12476
|
+
specialCategory: null,
|
|
12477
|
+
sort: 26,
|
|
12478
|
+
},
|
|
12479
|
+
},
|
|
12480
|
+
specialCategories: {
|
|
12481
|
+
padding: {
|
|
12482
|
+
label: 'Padding',
|
|
12483
|
+
description: 'Uniform padding on all sides.',
|
|
12484
|
+
category: 'container',
|
|
12485
|
+
sort: 1,
|
|
12486
|
+
},
|
|
12487
|
+
margin: {
|
|
12488
|
+
label: 'Margin',
|
|
12489
|
+
description: 'Uniform margin on all sides.',
|
|
12490
|
+
category: 'container',
|
|
12491
|
+
sort: 2,
|
|
12492
|
+
},
|
|
12493
|
+
size: {
|
|
12494
|
+
label: 'Size',
|
|
12495
|
+
description: 'Fixed dimensions.',
|
|
12496
|
+
category: 'container',
|
|
12497
|
+
sort: 3,
|
|
12498
|
+
},
|
|
12499
|
+
offset: {
|
|
12500
|
+
label: 'Offset',
|
|
12501
|
+
description: 'Absolute positioning offsets.',
|
|
12502
|
+
category: 'container',
|
|
12503
|
+
sort: 4,
|
|
12504
|
+
},
|
|
12505
|
+
},
|
|
12506
|
+
},
|
|
12507
|
+
defaults: {
|
|
12508
|
+
translateCounter: 2,
|
|
12509
|
+
styles: {
|
|
12510
|
+
color: '#34D399',
|
|
12511
|
+
fontSize: '12@fs',
|
|
12512
|
+
fontWeight: '600',
|
|
12513
|
+
flexDirection: 'column',
|
|
12514
|
+
position: 'relative',
|
|
12515
|
+
zIndex: 1,
|
|
12516
|
+
alignSelf: 'flex-start',
|
|
12517
|
+
flexGrow: 0,
|
|
12518
|
+
flexShrink: 0,
|
|
12519
|
+
textAlign: 'center',
|
|
12520
|
+
},
|
|
12521
|
+
},
|
|
12522
|
+
types: {},
|
|
12523
|
+
},
|
|
12524
|
+
{
|
|
12525
|
+
schemaVersion: 2,
|
|
12526
|
+
pattern: {
|
|
12527
|
+
type: 'RadioButton',
|
|
12528
|
+
title: 'title',
|
|
12529
|
+
description: 'description',
|
|
12530
|
+
children: 'never',
|
|
12531
|
+
attributes: {
|
|
12532
|
+
scrollable: 'boolean',
|
|
12533
|
+
style: {
|
|
12534
|
+
flexDirection: ['row', 'column'],
|
|
12535
|
+
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
|
12536
|
+
alignItems: [
|
|
12537
|
+
'flex-start',
|
|
12538
|
+
'center',
|
|
12539
|
+
'flex-end',
|
|
12540
|
+
'stretch',
|
|
12541
|
+
'baseline',
|
|
12542
|
+
],
|
|
12543
|
+
justifyContent: [
|
|
12544
|
+
'flex-start',
|
|
12545
|
+
'center',
|
|
12546
|
+
'flex-end',
|
|
12547
|
+
'space-between',
|
|
12548
|
+
'space-around',
|
|
12549
|
+
'space-evenly',
|
|
12550
|
+
],
|
|
12551
|
+
gap: 'size',
|
|
12552
|
+
padding: 'size',
|
|
12553
|
+
paddingHorizontal: 'size',
|
|
12554
|
+
paddingVertical: 'size',
|
|
12555
|
+
paddingTop: 'size',
|
|
12556
|
+
paddingBottom: 'size',
|
|
12557
|
+
paddingLeft: 'size',
|
|
12558
|
+
paddingRight: 'size',
|
|
12559
|
+
margin: 'size',
|
|
12560
|
+
marginHorizontal: 'size',
|
|
12561
|
+
marginVertical: 'size',
|
|
12562
|
+
marginTop: 'size',
|
|
12563
|
+
marginBottom: 'size',
|
|
12564
|
+
marginLeft: 'size',
|
|
12565
|
+
marginRight: 'size',
|
|
12566
|
+
backgroundColor: 'color',
|
|
12567
|
+
borderRadius: 'size',
|
|
12568
|
+
width: 'size',
|
|
12569
|
+
minWidth: 'size',
|
|
12570
|
+
maxWidth: 'size',
|
|
12571
|
+
height: 'size',
|
|
12572
|
+
minHeight: 'size',
|
|
12573
|
+
maxHeight: 'size',
|
|
12574
|
+
flex: 'number',
|
|
12575
|
+
position: ['relative', 'absolute'],
|
|
12576
|
+
top: 'size',
|
|
12577
|
+
bottom: 'size',
|
|
12578
|
+
left: 'size',
|
|
12579
|
+
right: 'size',
|
|
12580
|
+
zIndex: 'number',
|
|
12581
|
+
},
|
|
12582
|
+
selected: 'boolean',
|
|
12583
|
+
color: 'color',
|
|
12584
|
+
size: 'number',
|
|
12585
|
+
},
|
|
12586
|
+
},
|
|
12587
|
+
meta: {
|
|
12588
|
+
desiredParent: ['all'],
|
|
12589
|
+
label: 'Radio Button',
|
|
12590
|
+
description: 'Generic radio button icon.',
|
|
12591
|
+
specialCategories: {
|
|
12592
|
+
padding: {
|
|
12593
|
+
label: 'Padding',
|
|
12594
|
+
description: 'Uniform padding on all sides.',
|
|
12595
|
+
category: 'container',
|
|
12596
|
+
sort: 1,
|
|
12597
|
+
},
|
|
12598
|
+
margin: {
|
|
12599
|
+
label: 'Margin',
|
|
12600
|
+
description: 'Uniform margin on all sides.',
|
|
12601
|
+
category: 'container',
|
|
12602
|
+
sort: 2,
|
|
12603
|
+
},
|
|
12604
|
+
size: {
|
|
12605
|
+
label: 'Size',
|
|
12606
|
+
description: 'Fixed dimensions.',
|
|
12607
|
+
category: 'container',
|
|
12608
|
+
sort: 3,
|
|
12609
|
+
},
|
|
12610
|
+
offset: {
|
|
12611
|
+
label: 'Offset',
|
|
12612
|
+
description: 'Absolute positioning offsets.',
|
|
12613
|
+
category: 'container',
|
|
12614
|
+
sort: 4,
|
|
12615
|
+
},
|
|
12616
|
+
},
|
|
12617
|
+
styles: {
|
|
12618
|
+
backgroundColor: {
|
|
12619
|
+
label: 'Background Color',
|
|
12620
|
+
description: 'Background fill color.',
|
|
12621
|
+
category: 'style',
|
|
12622
|
+
specialCategory: null,
|
|
12623
|
+
sort: 20,
|
|
12624
|
+
},
|
|
12625
|
+
borderRadius: {
|
|
12626
|
+
label: 'Border Radius',
|
|
12627
|
+
description: 'Corner rounding amount.',
|
|
12628
|
+
category: 'style',
|
|
12629
|
+
specialCategory: null,
|
|
12630
|
+
sort: 21,
|
|
12631
|
+
preferredScale: 's',
|
|
12632
|
+
},
|
|
12633
|
+
color: {
|
|
12634
|
+
label: 'Color',
|
|
12635
|
+
description: 'Radio color.',
|
|
12636
|
+
category: 'style',
|
|
12637
|
+
specialCategory: null,
|
|
12638
|
+
sort: 1,
|
|
12639
|
+
},
|
|
12640
|
+
size: {
|
|
12641
|
+
label: 'Size',
|
|
12642
|
+
description: 'Radio size in px.',
|
|
12643
|
+
category: 'style',
|
|
12644
|
+
specialCategory: null,
|
|
12645
|
+
sort: 2,
|
|
12646
|
+
},
|
|
12647
|
+
},
|
|
12648
|
+
attributes: {
|
|
12649
|
+
scrollable: {
|
|
12650
|
+
label: 'Scrollable',
|
|
12651
|
+
description: 'Turns scroll interaction on.',
|
|
12652
|
+
category: 'container',
|
|
12653
|
+
specialCategory: null,
|
|
12654
|
+
sort: -1,
|
|
12655
|
+
},
|
|
12656
|
+
flexDirection: {
|
|
12657
|
+
label: 'Flex Direction',
|
|
12658
|
+
description: 'Sets row or column layout.',
|
|
12659
|
+
category: 'container',
|
|
12660
|
+
specialCategory: null,
|
|
12661
|
+
sort: 4,
|
|
12662
|
+
},
|
|
12663
|
+
flexWrap: {
|
|
12664
|
+
label: 'Flex Wrap',
|
|
12665
|
+
description: 'Controls whether flex items wrap to multiple lines.',
|
|
12666
|
+
category: 'container',
|
|
12667
|
+
specialCategory: null,
|
|
12668
|
+
sort: 4.5,
|
|
12669
|
+
},
|
|
12670
|
+
alignItems: {
|
|
12671
|
+
label: 'Align Items',
|
|
12672
|
+
description: 'Controls cross-axis alignment.',
|
|
12673
|
+
category: 'container',
|
|
12674
|
+
specialCategory: null,
|
|
12675
|
+
sort: 3,
|
|
12676
|
+
},
|
|
12677
|
+
justifyContent: {
|
|
12678
|
+
label: 'Justify Content',
|
|
12679
|
+
description: 'Controls main-axis alignment.',
|
|
12680
|
+
category: 'container',
|
|
12681
|
+
specialCategory: null,
|
|
12682
|
+
sort: 5,
|
|
12683
|
+
},
|
|
12684
|
+
gap: {
|
|
12685
|
+
label: 'Gap',
|
|
12686
|
+
description: 'Space between children.',
|
|
12687
|
+
category: 'container',
|
|
12688
|
+
specialCategory: null,
|
|
12689
|
+
sort: 10,
|
|
12690
|
+
preferredScale: 's',
|
|
12691
|
+
},
|
|
12692
|
+
padding: {
|
|
12693
|
+
label: 'Padding',
|
|
12694
|
+
description: 'Uniform padding on all sides.',
|
|
12695
|
+
category: 'container',
|
|
12696
|
+
specialCategory: 'padding',
|
|
12697
|
+
sort: 6,
|
|
12698
|
+
preferredScale: 's',
|
|
12699
|
+
},
|
|
12700
|
+
paddingHorizontal: {
|
|
12701
|
+
label: 'Padding Horizontal',
|
|
12702
|
+
description: 'Left and right padding.',
|
|
12703
|
+
category: 'container',
|
|
12704
|
+
specialCategory: 'padding',
|
|
12705
|
+
sort: 7,
|
|
12706
|
+
preferredScale: 's',
|
|
12707
|
+
},
|
|
12708
|
+
paddingVertical: {
|
|
12709
|
+
label: 'Padding Vertical',
|
|
12710
|
+
description: 'Top and bottom padding.',
|
|
12711
|
+
category: 'container',
|
|
12712
|
+
specialCategory: 'padding',
|
|
12713
|
+
sort: 8,
|
|
12714
|
+
preferredScale: 'vs',
|
|
12715
|
+
},
|
|
12716
|
+
paddingTop: {
|
|
12717
|
+
label: 'Padding Top',
|
|
12718
|
+
description: 'Top padding only.',
|
|
12719
|
+
category: 'container',
|
|
12720
|
+
specialCategory: 'padding',
|
|
12721
|
+
sort: 9,
|
|
12722
|
+
preferredScale: 'vs',
|
|
12723
|
+
},
|
|
12724
|
+
paddingBottom: {
|
|
12725
|
+
label: 'Padding Bottom',
|
|
12726
|
+
description: 'Bottom padding only.',
|
|
12727
|
+
category: 'container',
|
|
12728
|
+
specialCategory: 'padding',
|
|
12729
|
+
sort: 10,
|
|
12730
|
+
preferredScale: 'vs',
|
|
12731
|
+
},
|
|
12732
|
+
paddingLeft: {
|
|
12733
|
+
label: 'Padding Left',
|
|
12734
|
+
description: 'Left padding only.',
|
|
12735
|
+
category: 'container',
|
|
12736
|
+
specialCategory: 'padding',
|
|
12737
|
+
sort: 11,
|
|
12738
|
+
preferredScale: 's',
|
|
12739
|
+
},
|
|
12740
|
+
paddingRight: {
|
|
12741
|
+
label: 'Padding Right',
|
|
12742
|
+
description: 'Right padding only.',
|
|
12743
|
+
category: 'container',
|
|
12744
|
+
specialCategory: 'padding',
|
|
12745
|
+
sort: 12,
|
|
12746
|
+
preferredScale: 's',
|
|
12747
|
+
},
|
|
12748
|
+
margin: {
|
|
12749
|
+
label: 'Margin',
|
|
12750
|
+
description: 'Uniform margin on all sides.',
|
|
12751
|
+
category: 'container',
|
|
12752
|
+
specialCategory: 'margin',
|
|
12753
|
+
sort: 13,
|
|
12754
|
+
preferredScale: 's',
|
|
12755
|
+
},
|
|
12756
|
+
marginHorizontal: {
|
|
12757
|
+
label: 'Margin Horizontal',
|
|
12758
|
+
description: 'Left and right margin.',
|
|
12759
|
+
category: 'container',
|
|
12760
|
+
specialCategory: 'margin',
|
|
12761
|
+
sort: 14,
|
|
12762
|
+
preferredScale: 's',
|
|
12763
|
+
},
|
|
12764
|
+
marginVertical: {
|
|
12765
|
+
label: 'Margin Vertical',
|
|
12766
|
+
description: 'Top and bottom margin.',
|
|
12767
|
+
category: 'container',
|
|
12768
|
+
specialCategory: 'margin',
|
|
12769
|
+
sort: 15,
|
|
12770
|
+
preferredScale: 'vs',
|
|
12771
|
+
},
|
|
12772
|
+
marginTop: {
|
|
12773
|
+
label: 'Margin Top',
|
|
12774
|
+
description: 'Top margin only.',
|
|
12775
|
+
category: 'container',
|
|
12776
|
+
specialCategory: 'margin',
|
|
12777
|
+
sort: 16,
|
|
12778
|
+
preferredScale: 'vs',
|
|
12779
|
+
},
|
|
12780
|
+
marginBottom: {
|
|
12781
|
+
label: 'Margin Bottom',
|
|
12782
|
+
description: 'Bottom margin only.',
|
|
12783
|
+
category: 'container',
|
|
12784
|
+
specialCategory: 'margin',
|
|
12785
|
+
sort: 17,
|
|
12786
|
+
preferredScale: 'vs',
|
|
12787
|
+
},
|
|
12788
|
+
marginLeft: {
|
|
12789
|
+
label: 'Margin Left',
|
|
12790
|
+
description: 'Left margin only.',
|
|
12791
|
+
category: 'container',
|
|
12792
|
+
specialCategory: 'margin',
|
|
12793
|
+
sort: 18,
|
|
12794
|
+
preferredScale: 's',
|
|
12795
|
+
},
|
|
12796
|
+
marginRight: {
|
|
12797
|
+
label: 'Margin Right',
|
|
12798
|
+
description: 'Right margin only.',
|
|
12799
|
+
category: 'container',
|
|
12800
|
+
specialCategory: 'margin',
|
|
12801
|
+
sort: 19,
|
|
12802
|
+
preferredScale: 's',
|
|
12803
|
+
},
|
|
12804
|
+
width: {
|
|
12805
|
+
label: 'Width',
|
|
12806
|
+
description: 'Fixed width value.',
|
|
12807
|
+
category: 'container',
|
|
12808
|
+
specialCategory: 'size',
|
|
12809
|
+
sort: 0,
|
|
12810
|
+
preferredScale: 's',
|
|
12811
|
+
},
|
|
12812
|
+
minWidth: {
|
|
12813
|
+
label: 'Min Width',
|
|
12814
|
+
description: 'Minimum width constraint.',
|
|
12815
|
+
category: 'container',
|
|
12816
|
+
specialCategory: 'size',
|
|
12817
|
+
sort: 1,
|
|
12818
|
+
preferredScale: 's',
|
|
12819
|
+
},
|
|
12820
|
+
maxWidth: {
|
|
12821
|
+
label: 'Max Width',
|
|
12822
|
+
description: 'Maximum width constraint.',
|
|
12823
|
+
category: 'container',
|
|
12824
|
+
specialCategory: 'size',
|
|
12825
|
+
sort: 2,
|
|
12826
|
+
preferredScale: 's',
|
|
12827
|
+
},
|
|
12828
|
+
height: {
|
|
12829
|
+
label: 'Height',
|
|
12830
|
+
description: 'Fixed height value.',
|
|
12831
|
+
category: 'container',
|
|
12832
|
+
specialCategory: 'size',
|
|
12833
|
+
sort: 3,
|
|
12834
|
+
preferredScale: 'vs',
|
|
12835
|
+
},
|
|
12836
|
+
minHeight: {
|
|
12837
|
+
label: 'Min Height',
|
|
12838
|
+
description: 'Minimum height constraint.',
|
|
12839
|
+
category: 'container',
|
|
12840
|
+
specialCategory: 'size',
|
|
12841
|
+
sort: 4,
|
|
12842
|
+
preferredScale: 'vs',
|
|
12843
|
+
},
|
|
12844
|
+
maxHeight: {
|
|
12845
|
+
label: 'Max Height',
|
|
12846
|
+
description: 'Maximum height constraint.',
|
|
12847
|
+
category: 'container',
|
|
12848
|
+
specialCategory: 'size',
|
|
12849
|
+
sort: 5,
|
|
12850
|
+
preferredScale: 'vs',
|
|
12851
|
+
},
|
|
12852
|
+
flex: {
|
|
12853
|
+
label: 'Flex',
|
|
12854
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
12855
|
+
category: 'container',
|
|
12856
|
+
specialCategory: 'size',
|
|
12857
|
+
sort: 6,
|
|
12858
|
+
},
|
|
12859
|
+
position: {
|
|
12860
|
+
label: 'Position',
|
|
12861
|
+
description: 'Sets layout positioning mode.',
|
|
12862
|
+
category: 'container',
|
|
12863
|
+
specialCategory: null,
|
|
12864
|
+
sort: 3,
|
|
12865
|
+
},
|
|
12866
|
+
top: {
|
|
12867
|
+
label: 'Top',
|
|
12868
|
+
description: 'Offset from the top edge.',
|
|
12869
|
+
category: 'container',
|
|
12870
|
+
specialCategory: 'offset',
|
|
12871
|
+
sort: 22,
|
|
12872
|
+
preferredScale: 'vs',
|
|
12873
|
+
},
|
|
12874
|
+
bottom: {
|
|
12875
|
+
label: 'Bottom',
|
|
12876
|
+
description: 'Offset from the bottom edge.',
|
|
12877
|
+
category: 'container',
|
|
12878
|
+
specialCategory: 'offset',
|
|
12879
|
+
sort: 23,
|
|
12880
|
+
preferredScale: 'vs',
|
|
12881
|
+
},
|
|
12882
|
+
left: {
|
|
12883
|
+
label: 'Left',
|
|
12884
|
+
description: 'Offset from the left edge.',
|
|
12885
|
+
category: 'container',
|
|
12886
|
+
specialCategory: 'offset',
|
|
12887
|
+
sort: 24,
|
|
12888
|
+
preferredScale: 's',
|
|
12889
|
+
},
|
|
12890
|
+
right: {
|
|
12891
|
+
label: 'Right',
|
|
12892
|
+
description: 'Offset from the right edge.',
|
|
12893
|
+
category: 'container',
|
|
12894
|
+
specialCategory: 'offset',
|
|
12895
|
+
sort: 25,
|
|
12896
|
+
preferredScale: 's',
|
|
12897
|
+
},
|
|
12898
|
+
zIndex: {
|
|
12899
|
+
label: 'Z-Index',
|
|
12900
|
+
description: 'Controls stacking order.',
|
|
12901
|
+
category: 'container',
|
|
12902
|
+
specialCategory: null,
|
|
12903
|
+
sort: 26,
|
|
12904
|
+
},
|
|
12905
|
+
selected: {
|
|
12906
|
+
label: 'Selected',
|
|
12907
|
+
description: 'Whether the radio is selected.',
|
|
12908
|
+
category: 'other',
|
|
12909
|
+
specialCategory: null,
|
|
12910
|
+
sort: 0,
|
|
12911
|
+
},
|
|
12912
|
+
},
|
|
12913
|
+
},
|
|
12914
|
+
defaults: {
|
|
12915
|
+
styles: {
|
|
12916
|
+
flexDirection: 'column',
|
|
12917
|
+
position: 'relative',
|
|
12918
|
+
zIndex: 1,
|
|
12919
|
+
alignSelf: 'flex-start',
|
|
12920
|
+
flexGrow: 0,
|
|
12921
|
+
flexShrink: 0,
|
|
12922
|
+
},
|
|
12923
|
+
},
|
|
12924
|
+
types: {},
|
|
12925
|
+
},
|
|
12926
|
+
{
|
|
12927
|
+
schemaVersion: 2,
|
|
12928
|
+
pattern: {
|
|
12929
|
+
type: 'Separator',
|
|
12930
|
+
title: 'title',
|
|
12931
|
+
description: 'description',
|
|
12932
|
+
children: 'never',
|
|
12933
|
+
attributes: {
|
|
12934
|
+
style: {
|
|
12935
|
+
backgroundColor: 'color',
|
|
12936
|
+
width: 'size',
|
|
12937
|
+
height: 'size',
|
|
12938
|
+
marginHorizontal: 'size',
|
|
12939
|
+
marginVertical: 'size',
|
|
12940
|
+
marginTop: 'size',
|
|
12941
|
+
marginBottom: 'size',
|
|
12942
|
+
},
|
|
12943
|
+
},
|
|
12944
|
+
},
|
|
12945
|
+
meta: {
|
|
12946
|
+
desiredParent: ['all'],
|
|
12947
|
+
label: 'Separator',
|
|
12948
|
+
description: 'Horizontal line separator.',
|
|
11670
12949
|
styles: {
|
|
11671
12950
|
backgroundColor: {
|
|
11672
12951
|
label: 'Color',
|
|
@@ -11696,7 +12975,7 @@ export const patterns = [
|
|
|
11696
12975
|
},
|
|
11697
12976
|
},
|
|
11698
12977
|
defaults: {
|
|
11699
|
-
|
|
12978
|
+
styles: { width: '100%', height: 2, backgroundColor: '#000000' },
|
|
11700
12979
|
},
|
|
11701
12980
|
},
|
|
11702
12981
|
{
|
|
@@ -12066,7 +13345,7 @@ export const patterns = [
|
|
|
12066
13345
|
},
|
|
12067
13346
|
},
|
|
12068
13347
|
defaults: {
|
|
12069
|
-
|
|
13348
|
+
styles: {
|
|
12070
13349
|
flexDirection: 'column',
|
|
12071
13350
|
position: 'relative',
|
|
12072
13351
|
zIndex: 1,
|
|
@@ -12139,17 +13418,10 @@ export const patterns = [
|
|
|
12139
13418
|
fontSize: 'size',
|
|
12140
13419
|
fontFamily: 'fontFamily',
|
|
12141
13420
|
fontWeight: 'fontWeight',
|
|
12142
|
-
textAlign: ['left', 'center', 'right', 'justify'],
|
|
12143
13421
|
},
|
|
12144
13422
|
adjustsFontSizeToFit: 'boolean',
|
|
12145
13423
|
showEllipsis: 'boolean',
|
|
12146
|
-
|
|
12147
|
-
defaults: {
|
|
12148
|
-
style: {
|
|
12149
|
-
color: 'THEME_COLORS.TEXT',
|
|
12150
|
-
fontSize: '16@fs',
|
|
12151
|
-
fontWeight: '400',
|
|
12152
|
-
},
|
|
13424
|
+
translateCounter: 'number',
|
|
12153
13425
|
},
|
|
12154
13426
|
},
|
|
12155
13427
|
meta: {
|
|
@@ -12511,7 +13783,7 @@ export const patterns = [
|
|
|
12511
13783
|
},
|
|
12512
13784
|
},
|
|
12513
13785
|
defaults: {
|
|
12514
|
-
|
|
13786
|
+
styles: {
|
|
12515
13787
|
flexDirection: 'column',
|
|
12516
13788
|
position: 'relative',
|
|
12517
13789
|
zIndex: 1,
|
|
@@ -12522,6 +13794,7 @@ export const patterns = [
|
|
|
12522
13794
|
fontSize: '16@fs',
|
|
12523
13795
|
fontWeight: '400',
|
|
12524
13796
|
},
|
|
13797
|
+
translateCounter: 1,
|
|
12525
13798
|
},
|
|
12526
13799
|
types: {},
|
|
12527
13800
|
},
|
|
@@ -12892,7 +14165,7 @@ export const patterns = [
|
|
|
12892
14165
|
},
|
|
12893
14166
|
},
|
|
12894
14167
|
defaults: {
|
|
12895
|
-
|
|
14168
|
+
styles: {
|
|
12896
14169
|
flexDirection: 'column',
|
|
12897
14170
|
position: 'relative',
|
|
12898
14171
|
zIndex: 1,
|