@apps-in-toss/framework 2.0.9 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +18 -8
- package/dist/index.js +18 -8
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -2801,6 +2801,7 @@ function WebView({ type, local, onMessage, ...props }) {
|
|
|
2801
2801
|
props.onNavigationStateChange?.(event);
|
|
2802
2802
|
webBackHandler.onNavigationStateChange(event);
|
|
2803
2803
|
},
|
|
2804
|
+
textZoom: 100,
|
|
2804
2805
|
userAgent: import_react_native38.Platform.OS === "ios" ? userAgent : void 0,
|
|
2805
2806
|
sharedCookiesEnabled: true,
|
|
2806
2807
|
webviewDebuggingEnabled: webViewDebuggingEnabled,
|
|
@@ -3298,10 +3299,18 @@ function FeedBannerAdView({
|
|
|
3298
3299
|
onPress: () => onPress("103"),
|
|
3299
3300
|
onPressIn: handlePressIn,
|
|
3300
3301
|
onPressOut: handlePressOut,
|
|
3301
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3302
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3303
|
+
import_react_native40.Text,
|
|
3304
|
+
{
|
|
3305
|
+
allowFontScaling: false,
|
|
3306
|
+
numberOfLines: 1,
|
|
3307
|
+
style: [styles.brandName, { color: colors.brandName }],
|
|
3308
|
+
children: brandName
|
|
3309
|
+
}
|
|
3310
|
+
)
|
|
3302
3311
|
}
|
|
3303
3312
|
),
|
|
3304
|
-
isAdBadgeEnabled ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { numberOfLines: 1, style: [styles.adBadge, { color: colors.adBadge }], children: "\uAD11\uACE0" }) : null
|
|
3313
|
+
isAdBadgeEnabled ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { allowFontScaling: false, numberOfLines: 1, style: [styles.adBadge, { color: colors.adBadge }], children: "\uAD11\uACE0" }) : null
|
|
3305
3314
|
] })
|
|
3306
3315
|
] }),
|
|
3307
3316
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react_native40.View, { style: styles.textArea, children: [
|
|
@@ -3312,7 +3321,7 @@ function FeedBannerAdView({
|
|
|
3312
3321
|
onPress: () => onPress("101"),
|
|
3313
3322
|
onPressIn: handlePressIn,
|
|
3314
3323
|
onPressOut: handlePressOut,
|
|
3315
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { style: [styles.title, { color: colors.title }], children: title })
|
|
3324
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { allowFontScaling: false, style: [styles.title, { color: colors.title }], children: title })
|
|
3316
3325
|
}
|
|
3317
3326
|
),
|
|
3318
3327
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
@@ -3322,7 +3331,7 @@ function FeedBannerAdView({
|
|
|
3322
3331
|
onPress: () => onPress("102"),
|
|
3323
3332
|
onPressIn: handlePressIn,
|
|
3324
3333
|
onPressOut: handlePressOut,
|
|
3325
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { style: [styles.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3334
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { allowFontScaling: false, style: [styles.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3326
3335
|
}
|
|
3327
3336
|
)
|
|
3328
3337
|
] })
|
|
@@ -3348,14 +3357,14 @@ function FeedBannerAdView({
|
|
|
3348
3357
|
onPressOut: handlePressOut,
|
|
3349
3358
|
style: [styles.cta, { backgroundColor: resolvedCtaBackground }],
|
|
3350
3359
|
children: [
|
|
3351
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { style: [styles.ctaText, { color: resolvedCtaTextColor }], children: ctaText }),
|
|
3360
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { allowFontScaling: false, style: [styles.ctaText, { color: resolvedCtaTextColor }], children: ctaText }),
|
|
3352
3361
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native_svg.Svg, { width: 20, height: 20, viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native_svg.Path, { d: ARROW_PATH, fill: resolvedCtaTextColor }) })
|
|
3353
3362
|
]
|
|
3354
3363
|
}
|
|
3355
3364
|
),
|
|
3356
3365
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.View, { style: [styles.cardOverlay, { borderColor: colors.imageOverlayBorder }] })
|
|
3357
3366
|
] }),
|
|
3358
|
-
adClearanceText ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { style: [styles.adClearance, { color: colors.adClearance }], children: adClearanceText }) : null
|
|
3367
|
+
adClearanceText ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_native40.Text, { allowFontScaling: false, style: [styles.adClearance, { color: colors.adClearance }], children: adClearanceText }) : null
|
|
3359
3368
|
] })
|
|
3360
3369
|
}
|
|
3361
3370
|
);
|
|
@@ -3558,7 +3567,7 @@ function ListBannerAdView({
|
|
|
3558
3567
|
onPress: () => onPress("101"),
|
|
3559
3568
|
onPressIn: handlePressIn,
|
|
3560
3569
|
onPressOut: handlePressOut,
|
|
3561
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_native41.Text, { style: [styles2.title, { color: colors.title }], children: title })
|
|
3570
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_native41.Text, { allowFontScaling: false, style: [styles2.title, { color: colors.title }], children: title })
|
|
3562
3571
|
}
|
|
3563
3572
|
),
|
|
3564
3573
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
@@ -3568,7 +3577,7 @@ function ListBannerAdView({
|
|
|
3568
3577
|
onPress: () => onPress("102"),
|
|
3569
3578
|
onPressIn: handlePressIn,
|
|
3570
3579
|
onPressOut: handlePressOut,
|
|
3571
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_native41.Text, { style: [styles2.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3580
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_native41.Text, { allowFontScaling: false, style: [styles2.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3572
3581
|
}
|
|
3573
3582
|
)
|
|
3574
3583
|
] })
|
|
@@ -3576,6 +3585,7 @@ function ListBannerAdView({
|
|
|
3576
3585
|
adClearanceText ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3577
3586
|
import_react_native41.Text,
|
|
3578
3587
|
{
|
|
3588
|
+
allowFontScaling: false,
|
|
3579
3589
|
style: [
|
|
3580
3590
|
styles2.adClearance,
|
|
3581
3591
|
{
|
package/dist/index.js
CHANGED
|
@@ -2787,6 +2787,7 @@ function WebView({ type, local, onMessage, ...props }) {
|
|
|
2787
2787
|
props.onNavigationStateChange?.(event);
|
|
2788
2788
|
webBackHandler.onNavigationStateChange(event);
|
|
2789
2789
|
},
|
|
2790
|
+
textZoom: 100,
|
|
2790
2791
|
userAgent: Platform6.OS === "ios" ? userAgent : void 0,
|
|
2791
2792
|
sharedCookiesEnabled: true,
|
|
2792
2793
|
webviewDebuggingEnabled: webViewDebuggingEnabled,
|
|
@@ -3292,10 +3293,18 @@ function FeedBannerAdView({
|
|
|
3292
3293
|
onPress: () => onPress("103"),
|
|
3293
3294
|
onPressIn: handlePressIn,
|
|
3294
3295
|
onPressOut: handlePressOut,
|
|
3295
|
-
children: /* @__PURE__ */ jsx20(
|
|
3296
|
+
children: /* @__PURE__ */ jsx20(
|
|
3297
|
+
Text,
|
|
3298
|
+
{
|
|
3299
|
+
allowFontScaling: false,
|
|
3300
|
+
numberOfLines: 1,
|
|
3301
|
+
style: [styles.brandName, { color: colors.brandName }],
|
|
3302
|
+
children: brandName
|
|
3303
|
+
}
|
|
3304
|
+
)
|
|
3296
3305
|
}
|
|
3297
3306
|
),
|
|
3298
|
-
isAdBadgeEnabled ? /* @__PURE__ */ jsx20(Text, { numberOfLines: 1, style: [styles.adBadge, { color: colors.adBadge }], children: "\uAD11\uACE0" }) : null
|
|
3307
|
+
isAdBadgeEnabled ? /* @__PURE__ */ jsx20(Text, { allowFontScaling: false, numberOfLines: 1, style: [styles.adBadge, { color: colors.adBadge }], children: "\uAD11\uACE0" }) : null
|
|
3299
3308
|
] })
|
|
3300
3309
|
] }),
|
|
3301
3310
|
/* @__PURE__ */ jsxs9(View5, { style: styles.textArea, children: [
|
|
@@ -3306,7 +3315,7 @@ function FeedBannerAdView({
|
|
|
3306
3315
|
onPress: () => onPress("101"),
|
|
3307
3316
|
onPressIn: handlePressIn,
|
|
3308
3317
|
onPressOut: handlePressOut,
|
|
3309
|
-
children: /* @__PURE__ */ jsx20(Text, { style: [styles.title, { color: colors.title }], children: title })
|
|
3318
|
+
children: /* @__PURE__ */ jsx20(Text, { allowFontScaling: false, style: [styles.title, { color: colors.title }], children: title })
|
|
3310
3319
|
}
|
|
3311
3320
|
),
|
|
3312
3321
|
/* @__PURE__ */ jsx20(
|
|
@@ -3316,7 +3325,7 @@ function FeedBannerAdView({
|
|
|
3316
3325
|
onPress: () => onPress("102"),
|
|
3317
3326
|
onPressIn: handlePressIn,
|
|
3318
3327
|
onPressOut: handlePressOut,
|
|
3319
|
-
children: /* @__PURE__ */ jsx20(Text, { style: [styles.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3328
|
+
children: /* @__PURE__ */ jsx20(Text, { allowFontScaling: false, style: [styles.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3320
3329
|
}
|
|
3321
3330
|
)
|
|
3322
3331
|
] })
|
|
@@ -3342,14 +3351,14 @@ function FeedBannerAdView({
|
|
|
3342
3351
|
onPressOut: handlePressOut,
|
|
3343
3352
|
style: [styles.cta, { backgroundColor: resolvedCtaBackground }],
|
|
3344
3353
|
children: [
|
|
3345
|
-
/* @__PURE__ */ jsx20(Text, { style: [styles.ctaText, { color: resolvedCtaTextColor }], children: ctaText }),
|
|
3354
|
+
/* @__PURE__ */ jsx20(Text, { allowFontScaling: false, style: [styles.ctaText, { color: resolvedCtaTextColor }], children: ctaText }),
|
|
3346
3355
|
/* @__PURE__ */ jsx20(Svg, { width: 20, height: 20, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx20(Path, { d: ARROW_PATH, fill: resolvedCtaTextColor }) })
|
|
3347
3356
|
]
|
|
3348
3357
|
}
|
|
3349
3358
|
),
|
|
3350
3359
|
/* @__PURE__ */ jsx20(View5, { style: [styles.cardOverlay, { borderColor: colors.imageOverlayBorder }] })
|
|
3351
3360
|
] }),
|
|
3352
|
-
adClearanceText ? /* @__PURE__ */ jsx20(Text, { style: [styles.adClearance, { color: colors.adClearance }], children: adClearanceText }) : null
|
|
3361
|
+
adClearanceText ? /* @__PURE__ */ jsx20(Text, { allowFontScaling: false, style: [styles.adClearance, { color: colors.adClearance }], children: adClearanceText }) : null
|
|
3353
3362
|
] })
|
|
3354
3363
|
}
|
|
3355
3364
|
);
|
|
@@ -3552,7 +3561,7 @@ function ListBannerAdView({
|
|
|
3552
3561
|
onPress: () => onPress("101"),
|
|
3553
3562
|
onPressIn: handlePressIn,
|
|
3554
3563
|
onPressOut: handlePressOut,
|
|
3555
|
-
children: /* @__PURE__ */ jsx21(Text2, { style: [styles2.title, { color: colors.title }], children: title })
|
|
3564
|
+
children: /* @__PURE__ */ jsx21(Text2, { allowFontScaling: false, style: [styles2.title, { color: colors.title }], children: title })
|
|
3556
3565
|
}
|
|
3557
3566
|
),
|
|
3558
3567
|
/* @__PURE__ */ jsx21(
|
|
@@ -3562,7 +3571,7 @@ function ListBannerAdView({
|
|
|
3562
3571
|
onPress: () => onPress("102"),
|
|
3563
3572
|
onPressIn: handlePressIn,
|
|
3564
3573
|
onPressOut: handlePressOut,
|
|
3565
|
-
children: /* @__PURE__ */ jsx21(Text2, { style: [styles2.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3574
|
+
children: /* @__PURE__ */ jsx21(Text2, { allowFontScaling: false, style: [styles2.subtitle, { color: colors.subtitle }], children: subtitle })
|
|
3566
3575
|
}
|
|
3567
3576
|
)
|
|
3568
3577
|
] })
|
|
@@ -3570,6 +3579,7 @@ function ListBannerAdView({
|
|
|
3570
3579
|
adClearanceText ? /* @__PURE__ */ jsx21(
|
|
3571
3580
|
Text2,
|
|
3572
3581
|
{
|
|
3582
|
+
allowFontScaling: false,
|
|
3573
3583
|
style: [
|
|
3574
3584
|
styles2.adClearance,
|
|
3575
3585
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/framework",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"description": "The framework for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsc --noEmit",
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"ait": "./bin/ait.js"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@apps-in-toss/analytics": "2.0
|
|
59
|
-
"@apps-in-toss/cli": "2.0
|
|
60
|
-
"@apps-in-toss/native-modules": "2.0
|
|
61
|
-
"@apps-in-toss/plugins": "2.0
|
|
62
|
-
"@apps-in-toss/types": "2.0
|
|
63
|
-
"@apps-in-toss/user-scripts": "^2.0
|
|
58
|
+
"@apps-in-toss/analytics": "2.1.0",
|
|
59
|
+
"@apps-in-toss/cli": "2.1.0",
|
|
60
|
+
"@apps-in-toss/native-modules": "2.1.0",
|
|
61
|
+
"@apps-in-toss/plugins": "2.1.0",
|
|
62
|
+
"@apps-in-toss/types": "2.1.0",
|
|
63
|
+
"@apps-in-toss/user-scripts": "^2.1.0",
|
|
64
64
|
"es-hangul": "^2.3.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|