pythonnative 0.21.0__py3-none-any.whl → 0.22.1__py3-none-any.whl

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 (49) hide show
  1. pythonnative/__init__.py +14 -3
  2. pythonnative/animated.py +420 -135
  3. pythonnative/cli/pn.py +1 -1
  4. pythonnative/components.py +525 -241
  5. pythonnative/events.py +210 -0
  6. pythonnative/gestures.py +875 -0
  7. pythonnative/hooks.py +3 -3
  8. pythonnative/hot_reload.py +4 -4
  9. pythonnative/layout.py +464 -150
  10. pythonnative/mutations.py +130 -0
  11. pythonnative/native_modules/camera.py +1 -1
  12. pythonnative/native_modules/haptics.py +2 -2
  13. pythonnative/native_modules/location.py +1 -1
  14. pythonnative/native_modules/permissions.py +2 -2
  15. pythonnative/native_modules/secure_store.py +1 -1
  16. pythonnative/native_views/__init__.py +161 -97
  17. pythonnative/native_views/android.py +1064 -1158
  18. pythonnative/native_views/base.py +109 -19
  19. pythonnative/native_views/desktop.py +465 -422
  20. pythonnative/native_views/ios.py +1930 -1928
  21. pythonnative/navigation.py +4 -4
  22. pythonnative/net.py +3 -3
  23. pythonnative/platform.py +1 -1
  24. pythonnative/platform_metrics.py +5 -5
  25. pythonnative/preview.py +3 -3
  26. pythonnative/project/android.py +2 -2
  27. pythonnative/project/builder.py +1 -1
  28. pythonnative/project/config.py +3 -3
  29. pythonnative/project/doctor.py +2 -2
  30. pythonnative/project/icons.py +1 -1
  31. pythonnative/project/ios.py +1 -1
  32. pythonnative/project/permissions.py +2 -2
  33. pythonnative/project/runtime_assets.py +3 -3
  34. pythonnative/reconciler.py +545 -475
  35. pythonnative/runtime.py +8 -8
  36. pythonnative/screen.py +10 -7
  37. pythonnative/sdk/_components.py +3 -3
  38. pythonnative/storage.py +3 -3
  39. pythonnative/style.py +1 -1
  40. pythonnative/templates/android_template/app/build.gradle +2 -0
  41. pythonnative/templates/ios_template/ios_template.xcodeproj/project.pbxproj +2 -2
  42. pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITests.swift +1 -1
  43. {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/METADATA +14 -11
  44. {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/RECORD +48 -46
  45. pythonnative/templates/android_template/app/src/main/java/com/pythonnative/android_template/PNVirtualListView.java +0 -129
  46. {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/WHEEL +0 -0
  47. {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/entry_points.txt +0 -0
  48. {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/licenses/LICENSE +0 -0
  49. {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/top_level.txt +0 -0
pythonnative/cli/pn.py CHANGED
@@ -5,7 +5,7 @@ The console script `pn` (declared in `pyproject.toml`) dispatches to:
5
5
  - `pn init [name]`: scaffold a new project (``pythonnative.toml`` + ``app/``).
6
6
  - `pn doctor [platform]`: diagnose the local toolchain and config.
7
7
  - `pn preview [component]`: render the app in a desktop (Tkinter) window
8
- with Fast Refresh the fast inner dev loop, no device required.
8
+ with Fast Refresh, the fast inner dev loop, no device required.
9
9
  - `pn run android|ios`: stage + build + install + launch on a device or
10
10
  simulator, with optional on-device hot reload.
11
11
  - `pn build android|ios`: produce standalone artifacts (signed APK/AAB,