@nativescript/core 9.1.3-next.1 → 9.1.3-next.3
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/application/application.android.d.ts +2 -0
- package/application/application.android.js +14 -3
- package/application/application.android.js.map +1 -1
- package/core-types/index.d.ts +8 -1
- package/core-types/index.js.map +1 -1
- package/css/css-tree-parser.js +5 -1
- package/css/css-tree-parser.js.map +1 -1
- package/css/lib/parse/index.js +5 -1
- package/css/lib/parse/index.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/widgets-release.aar +0 -0
- package/ui/action-bar/index.android.js +2 -7
- package/ui/action-bar/index.android.js.map +1 -1
- package/ui/core/view/index.android.d.ts +2 -1
- package/ui/core/view/index.android.js +48 -54
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.ios.d.ts +1 -0
- package/ui/core/view/index.ios.js +13 -6
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/overflow-edges.android.d.ts +32 -0
- package/ui/core/view/overflow-edges.android.js +73 -0
- package/ui/core/view/overflow-edges.android.js.map +1 -0
- package/ui/core/view/view-helper/index.android.d.ts +1 -0
- package/ui/core/view/view-helper/index.android.js +8 -0
- package/ui/core/view/view-helper/index.android.js.map +1 -1
- package/ui/core/view/view-helper/index.d.ts +14 -0
- package/ui/core/view/view-helper/index.ios.d.ts +1 -0
- package/ui/core/view/view-helper/index.ios.js +10 -0
- package/ui/core/view/view-helper/index.ios.js.map +1 -1
- package/ui/frame/index.android.d.ts +0 -2
- package/ui/frame/index.android.js.map +1 -1
- package/ui/layouts/layout-base-common.js +2 -1
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/layouts/liquid-glass/index.ios.js +2 -7
- package/ui/layouts/liquid-glass/index.ios.js.map +1 -1
- package/ui/layouts/liquid-glass-container/index.ios.js +2 -7
- package/ui/layouts/liquid-glass-container/index.ios.js.map +1 -1
- package/ui/page/index.ios.js +1 -6
- package/ui/page/index.ios.js.map +1 -1
- package/ui/scroll-view/index.ios.js +16 -6
- package/ui/scroll-view/index.ios.js.map +1 -1
- package/ui/styling/background.ios.js +3 -2
- package/ui/styling/background.ios.js.map +1 -1
- package/utils/native-helper-for-android.d.ts +1 -0
- package/utils/native-helper-for-android.js +12 -0
- package/utils/native-helper-for-android.js.map +1 -1
- package/utils/native-helper.android.d.ts +3 -1
- package/utils/native-helper.android.js +2 -1
- package/utils/native-helper.android.js.map +1 -1
- package/utils/native-helper.d.ts +7 -0
- package/utils/native-helper.ios.d.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor, getIgnoreEdgeToEdgeOnOlderDevices, setIgnoreEdgeToEdgeOnOlderDevices } from './native-helper-for-android';
|
|
1
|
+
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, refreshEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor, getIgnoreEdgeToEdgeOnOlderDevices, setIgnoreEdgeToEdgeOnOlderDevices } from './native-helper-for-android';
|
|
2
2
|
export { dataSerialize, dataDeserialize } from './native-helper-for-android';
|
|
3
3
|
export { getWindow } from './native-helper-for-android';
|
|
4
4
|
export declare const android: {
|
|
@@ -14,6 +14,7 @@ export declare const android: {
|
|
|
14
14
|
showSoftInput: typeof showSoftInput;
|
|
15
15
|
dismissSoftInput: typeof dismissSoftInput;
|
|
16
16
|
enableEdgeToEdge: typeof enableEdgeToEdge;
|
|
17
|
+
refreshEdgeToEdge: typeof refreshEdgeToEdge;
|
|
17
18
|
setStatusBarColor: typeof setStatusBarColor;
|
|
18
19
|
setNavigationBarColor: typeof setNavigationBarColor;
|
|
19
20
|
setDarkModeHandler: typeof setDarkModeHandler;
|
|
@@ -36,6 +37,7 @@ export declare const ad: {
|
|
|
36
37
|
showSoftInput: typeof showSoftInput;
|
|
37
38
|
dismissSoftInput: typeof dismissSoftInput;
|
|
38
39
|
enableEdgeToEdge: typeof enableEdgeToEdge;
|
|
40
|
+
refreshEdgeToEdge: typeof refreshEdgeToEdge;
|
|
39
41
|
setStatusBarColor: typeof setStatusBarColor;
|
|
40
42
|
setNavigationBarColor: typeof setNavigationBarColor;
|
|
41
43
|
setDarkModeHandler: typeof setDarkModeHandler;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { platformCheck } from './platform-check';
|
|
2
2
|
// importing this helper as a separate file avoids "android" symbol clash with the global android object
|
|
3
|
-
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor, getIgnoreEdgeToEdgeOnOlderDevices, setIgnoreEdgeToEdgeOnOlderDevices } from './native-helper-for-android';
|
|
3
|
+
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, refreshEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor, getIgnoreEdgeToEdgeOnOlderDevices, setIgnoreEdgeToEdgeOnOlderDevices } from './native-helper-for-android';
|
|
4
4
|
export { dataSerialize, dataDeserialize } from './native-helper-for-android';
|
|
5
5
|
export { getWindow } from './native-helper-for-android';
|
|
6
6
|
export const android = {
|
|
@@ -16,6 +16,7 @@ export const android = {
|
|
|
16
16
|
showSoftInput,
|
|
17
17
|
dismissSoftInput,
|
|
18
18
|
enableEdgeToEdge,
|
|
19
|
+
refreshEdgeToEdge,
|
|
19
20
|
setStatusBarColor,
|
|
20
21
|
setNavigationBarColor,
|
|
21
22
|
setDarkModeHandler,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-helper.android.js","sourceRoot":"","sources":["../../../../packages/core/utils/native-helper.android.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,wGAAwG;AACxG,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iCAAiC,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"native-helper.android.js","sourceRoot":"","sources":["../../../../packages/core/utils/native-helper.android.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,wGAAwG;AACxG,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iCAAiC,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAC1Y,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,CAAC,MAAM,OAAO,GAAG;IACtB,SAAS;IACT,WAAW;IACX,cAAc;IACd,kBAAkB;IAClB,qBAAqB;IACrB,SAAS;IACT,YAAY;IACZ,cAAc;IACd,qBAAqB;IACrB,aAAa;IACb,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,qBAAqB;IACrB,kBAAkB;IAClB,iCAAiC;IACjC,iCAAiC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG,OAAO,CAAC;AAE1B,6DAA6D;AAC7D,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAkB,uBAAuB,CAAC,CAAC;AACvF,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAkB,WAAW,CAAC,CAAC"}
|
package/utils/native-helper.d.ts
CHANGED
|
@@ -122,6 +122,13 @@ export const android: {
|
|
|
122
122
|
* @param options Options to set status bar color.
|
|
123
123
|
*/
|
|
124
124
|
setStatusBarColor(options?: { activity?: androidx.appcompat.app.AppCompatActivity; lightColor?: Color; darkColor?: Color }): void;
|
|
125
|
+
/**
|
|
126
|
+
* Re-applies the activity's edge-to-edge styling. The system bar icon
|
|
127
|
+
* appearance is decided from the theme at the time the style is applied, so
|
|
128
|
+
* an activity that survives a dark-mode switch keeps the old icons until this
|
|
129
|
+
* runs again.
|
|
130
|
+
*/
|
|
131
|
+
refreshEdgeToEdge(activity: androidx.appcompat.app.AppCompatActivity): void;
|
|
125
132
|
/**
|
|
126
133
|
* Enables edge-to-edge navigation for the provided activity.
|
|
127
134
|
* @param activity The activity to enable edge-to-edge navigation for.
|
|
@@ -79,6 +79,7 @@ export declare const ad: {
|
|
|
79
79
|
lightColor?: Color;
|
|
80
80
|
darkColor?: Color;
|
|
81
81
|
}): void;
|
|
82
|
+
refreshEdgeToEdge(activity: androidx.appcompat.app.AppCompatActivity): void;
|
|
82
83
|
enableEdgeToEdge(activityOrWindow: androidx.activity.ComponentActivity, options?: {
|
|
83
84
|
statusBarLightColor?: Color;
|
|
84
85
|
statusBarDarkColor?: Color;
|
|
@@ -131,6 +132,7 @@ export declare const android: {
|
|
|
131
132
|
lightColor?: Color;
|
|
132
133
|
darkColor?: Color;
|
|
133
134
|
}): void;
|
|
135
|
+
refreshEdgeToEdge(activity: androidx.appcompat.app.AppCompatActivity): void;
|
|
134
136
|
enableEdgeToEdge(activityOrWindow: androidx.activity.ComponentActivity, options?: {
|
|
135
137
|
statusBarLightColor?: Color;
|
|
136
138
|
statusBarDarkColor?: Color;
|