@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.
Files changed (51) hide show
  1. package/application/application.android.d.ts +2 -0
  2. package/application/application.android.js +14 -3
  3. package/application/application.android.js.map +1 -1
  4. package/core-types/index.d.ts +8 -1
  5. package/core-types/index.js.map +1 -1
  6. package/css/css-tree-parser.js +5 -1
  7. package/css/css-tree-parser.js.map +1 -1
  8. package/css/lib/parse/index.js +5 -1
  9. package/css/lib/parse/index.js.map +1 -1
  10. package/package.json +1 -1
  11. package/platforms/android/widgets-release.aar +0 -0
  12. package/ui/action-bar/index.android.js +2 -7
  13. package/ui/action-bar/index.android.js.map +1 -1
  14. package/ui/core/view/index.android.d.ts +2 -1
  15. package/ui/core/view/index.android.js +48 -54
  16. package/ui/core/view/index.android.js.map +1 -1
  17. package/ui/core/view/index.ios.d.ts +1 -0
  18. package/ui/core/view/index.ios.js +13 -6
  19. package/ui/core/view/index.ios.js.map +1 -1
  20. package/ui/core/view/overflow-edges.android.d.ts +32 -0
  21. package/ui/core/view/overflow-edges.android.js +73 -0
  22. package/ui/core/view/overflow-edges.android.js.map +1 -0
  23. package/ui/core/view/view-helper/index.android.d.ts +1 -0
  24. package/ui/core/view/view-helper/index.android.js +8 -0
  25. package/ui/core/view/view-helper/index.android.js.map +1 -1
  26. package/ui/core/view/view-helper/index.d.ts +14 -0
  27. package/ui/core/view/view-helper/index.ios.d.ts +1 -0
  28. package/ui/core/view/view-helper/index.ios.js +10 -0
  29. package/ui/core/view/view-helper/index.ios.js.map +1 -1
  30. package/ui/frame/index.android.d.ts +0 -2
  31. package/ui/frame/index.android.js.map +1 -1
  32. package/ui/layouts/layout-base-common.js +2 -1
  33. package/ui/layouts/layout-base-common.js.map +1 -1
  34. package/ui/layouts/liquid-glass/index.ios.js +2 -7
  35. package/ui/layouts/liquid-glass/index.ios.js.map +1 -1
  36. package/ui/layouts/liquid-glass-container/index.ios.js +2 -7
  37. package/ui/layouts/liquid-glass-container/index.ios.js.map +1 -1
  38. package/ui/page/index.ios.js +1 -6
  39. package/ui/page/index.ios.js.map +1 -1
  40. package/ui/scroll-view/index.ios.js +16 -6
  41. package/ui/scroll-view/index.ios.js.map +1 -1
  42. package/ui/styling/background.ios.js +3 -2
  43. package/ui/styling/background.ios.js.map +1 -1
  44. package/utils/native-helper-for-android.d.ts +1 -0
  45. package/utils/native-helper-for-android.js +12 -0
  46. package/utils/native-helper-for-android.js.map +1 -1
  47. package/utils/native-helper.android.d.ts +3 -1
  48. package/utils/native-helper.android.js +2 -1
  49. package/utils/native-helper.android.js.map +1 -1
  50. package/utils/native-helper.d.ts +7 -0
  51. 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;AACvX,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,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"}
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"}
@@ -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;