@webview-native-ui/engine 0.0.0-stage → 0.0.1

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 (47) hide show
  1. package/LICENSE +18 -0
  2. package/NOTICE +39 -0
  3. package/README.md +623 -2
  4. package/WebViewNativeUIEngine.podspec +17 -0
  5. package/dist/bridge.d.ts +4 -0
  6. package/dist/bridge.js +15 -0
  7. package/dist/geometry.d.ts +2 -0
  8. package/dist/geometry.js +25 -0
  9. package/dist/index.d.ts +10 -0
  10. package/dist/index.js +9 -0
  11. package/dist/ionic.d.ts +16 -0
  12. package/dist/ionic.js +31 -0
  13. package/dist/native-bootstrap.d.ts +8 -0
  14. package/dist/native-bootstrap.js +138 -0
  15. package/dist/native-session.d.ts +48 -0
  16. package/dist/native-session.js +519 -0
  17. package/dist/overlays.d.ts +42 -0
  18. package/dist/overlays.js +181 -0
  19. package/dist/projection-events.d.ts +12 -0
  20. package/dist/projection-events.js +44 -0
  21. package/dist/projection-placement.d.ts +14 -0
  22. package/dist/projection-placement.js +18 -0
  23. package/dist/runtime.d.ts +2 -0
  24. package/dist/runtime.js +11 -0
  25. package/dist/scroll-bindings.d.ts +11 -0
  26. package/dist/scroll-bindings.js +55 -0
  27. package/dist/scroll-placement.d.ts +5 -0
  28. package/dist/scroll-placement.js +85 -0
  29. package/dist/snapshot-styles.d.ts +2 -0
  30. package/dist/snapshot-styles.js +14 -0
  31. package/dist/types.d.ts +88 -0
  32. package/dist/types.js +1 -0
  33. package/dist/visibility.d.ts +6 -0
  34. package/dist/visibility.js +29 -0
  35. package/dist/web-projection-scope.d.ts +6 -0
  36. package/dist/web-projection-scope.js +8 -0
  37. package/dist/web-projection.d.ts +50 -0
  38. package/dist/web-projection.js +835 -0
  39. package/docs/cordova.md +125 -0
  40. package/ios/Sources/WebViewNativeUIEngine/ClippedView.swift +16 -0
  41. package/ios/Sources/WebViewNativeUIEngine/CoveredSnapshots.swift +256 -0
  42. package/ios/Sources/WebViewNativeUIEngine/Frame.swift +15 -0
  43. package/ios/Sources/WebViewNativeUIEngine/NativeUIProjection.swift +311 -0
  44. package/ios/Sources/WebViewNativeUIEngine/Resources/native-ui-engine.js +14 -0
  45. package/ios/Sources/WebViewNativeUIEngine/ScrollBindings.swift +27 -0
  46. package/ios/Sources/WebViewNativeUIEngine/ScrollTracker.swift +117 -0
  47. package/package.json +64 -4
package/LICENSE ADDED
@@ -0,0 +1,18 @@
1
+ Copyright (c) 2026 Masahiko Sakakibara
2
+
3
+ This software is provided 'as-is', without any express or implied
4
+ warranty. In no event will the authors be held liable for any damages
5
+ arising from the use of this software.
6
+
7
+ Permission is granted to anyone to use this software for any purpose,
8
+ including commercial applications, and to alter it and redistribute it
9
+ freely, subject to the following restrictions:
10
+
11
+ 1. The origin of this software must not be misrepresented; you must not
12
+ claim that you wrote the original software. If you use this software
13
+ in a product, an acknowledgment in the product documentation would be
14
+ appreciated but is not required.
15
+ 2. Altered source versions must be plainly marked as such, and must not be
16
+ misrepresented as being the original software.
17
+ 3. This notice may not be removed or altered from any source
18
+ distribution.
package/NOTICE ADDED
@@ -0,0 +1,39 @@
1
+ WebView Native UI Engine
2
+ https://github.com/webview-native-ui/engine
3
+
4
+ Extracted from https://github.com/rdlabo-dev/ionic-theme-ios27 at commit
5
+ b218d8bfe0c87c02addc668fee9c7aa333489486 (2026-10-27).
6
+ Original history remains available in that repository.
7
+
8
+ This package extracts and adapts native UI infrastructure from
9
+ ionic-theme-ios27 / @rdlabo/capacitor-native-ui. It is an adapted library,
10
+ not an unmodified copy of those projects. New work and modifications in
11
+ this engine are licensed under Zlib (see LICENSE).
12
+
13
+ The upstream MIT notice is retained below for the portions derived from
14
+ those projects. This does not withdraw rights previously granted under MIT.
15
+ The Gradle wrapper retains its own Apache-2.0 notices.
16
+
17
+ --- Upstream notice ---
18
+
19
+ MIT License
20
+
21
+ Copyright (c) 2021
22
+
23
+ Permission is hereby granted, free of charge, to any person obtaining a copy
24
+ of this software and associated documentation files (the "Software"), to deal
25
+ in the Software without restriction, including without limitation the rights
26
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
27
+ copies of the Software, and to permit persons to whom the Software is
28
+ furnished to do so, subject to the following conditions:
29
+
30
+ The above copyright notice and this permission notice shall be included in all
31
+ copies or substantial portions of the Software.
32
+
33
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
38
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39
+ SOFTWARE.