nn-widgets 0.1.20 → 0.1.22

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 (194) hide show
  1. package/android/build.gradle +10 -1
  2. package/android/libs/nn-widgets-core.aar +0 -0
  3. package/android/src/main/java/expo/modules/nnwidgets/NNWidgetsModule.kt +16 -136
  4. package/build/NNWidgets.types.d.ts +68 -0
  5. package/build/NNWidgets.types.js +1 -2
  6. package/build/NNWidgetsModule.js +1 -3
  7. package/build/icons.js +1 -136
  8. package/build/index.d.ts +2 -2
  9. package/build/index.js +1 -158
  10. package/ios/Frameworks/NNWidgetsCore.xcframework/Info.plist +44 -0
  11. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Headers/NNWidgetsCore.h +2 -0
  12. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Info.plist +20 -0
  13. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Modules/NNWidgetsCore.swiftmodule/arm64-apple-ios.swiftinterface +23 -0
  14. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Modules/module.modulemap +4 -0
  15. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/NNWidgetsCore +0 -0
  16. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.swiftinterface +23 -0
  17. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Headers/NNWidgetsCore.h +2 -0
  18. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Info.plist +20 -0
  19. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Modules/NNWidgetsCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +23 -0
  20. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Modules/NNWidgetsCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +23 -0
  21. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Modules/module.modulemap +4 -0
  22. package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/NNWidgetsCore +0 -0
  23. package/ios/NNWidgets.podspec +5 -1
  24. package/ios/NNWidgetsModule.swift +15 -83
  25. package/package.json +5 -4
  26. package/plugin/build/icons.js +1 -197
  27. package/plugin/build/index.js +1 -70
  28. package/plugin/build/types.d.ts +33 -0
  29. package/plugin/build/types.js +1 -2
  30. package/plugin/build/withAndroidWidget.js +1 -1289
  31. package/plugin/build/withIosWidget.js +1 -2103
  32. package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/results.bin +0 -1
  33. package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/transformed/classes/classes_dex/classes.dex +0 -0
  34. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/results.bin +0 -1
  35. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/BuildConfig.dex +0 -0
  36. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$Companion.dex +0 -0
  37. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.dex +0 -0
  38. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.dex +0 -0
  39. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.dex +0 -0
  40. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
  41. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
  42. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
  43. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
  44. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.dex +0 -0
  45. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule.dex +0 -0
  46. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  47. package/android/build/generated/source/buildConfig/debug/expo/modules/nnwidgets/BuildConfig.java +0 -10
  48. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
  49. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  50. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  51. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  52. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  53. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  54. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  55. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  56. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  57. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  58. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  59. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  60. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/nn-widgets_debug.kotlin_module +0 -0
  61. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/expo/modules/nnwidgets/BuildConfig.class +0 -0
  62. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  63. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
  64. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
  65. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  66. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  67. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/nn-widgets_debug.kotlin_module +0 -0
  68. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/BuildConfig.class +0 -0
  69. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
  70. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
  71. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
  72. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
  73. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
  74. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
  75. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
  76. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
  77. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
  78. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
  79. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  80. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  150. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  151. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  152. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  153. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  154. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  155. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  156. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  157. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  158. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  159. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  160. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  161. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  162. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  163. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  164. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  165. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  166. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  167. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -16
  168. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  169. package/android/build/tmp/kotlin-classes/debug/META-INF/nn-widgets_debug.kotlin_module +0 -0
  170. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
  171. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
  172. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
  173. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
  174. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
  175. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
  176. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
  177. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
  178. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
  179. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
  180. package/build/NNWidgets.types.d.ts.map +0 -1
  181. package/build/NNWidgets.types.js.map +0 -1
  182. package/build/NNWidgetsModule.d.ts.map +0 -1
  183. package/build/NNWidgetsModule.js.map +0 -1
  184. package/build/icons.d.ts.map +0 -1
  185. package/build/icons.js.map +0 -1
  186. package/build/index.d.ts.map +0 -1
  187. package/build/index.js.map +0 -1
  188. package/plugin/build/icons.d.ts.map +0 -1
  189. package/plugin/build/index.d.ts.map +0 -1
  190. package/plugin/build/types.d.ts.map +0 -1
  191. package/plugin/build/withAndroidWidget.d.ts.map +0 -1
  192. package/plugin/build/withIosWidget.d.ts.map +0 -1
  193. package/plugin/tsconfig.tsbuildinfo +0 -1
  194. package/publish.sh +0 -59
@@ -1,70 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.withAndroidWidget = exports.withIosWidget = void 0;
4
- const config_plugins_1 = require("@expo/config-plugins");
5
- const withIosWidget_1 = require("./withIosWidget");
6
- Object.defineProperty(exports, "withIosWidget", { enumerable: true, get: function () { return withIosWidget_1.withIosWidget; } });
7
- const withAndroidWidget_1 = require("./withAndroidWidget");
8
- Object.defineProperty(exports, "withAndroidWidget", { enumerable: true, get: function () { return withAndroidWidget_1.withAndroidWidget; } });
9
- /**
10
- * nn-widgets Expo Config Plugin
11
- *
12
- * Adds native widget support for iOS (WidgetKit) and Android (App Widgets)
13
- * to your Expo/React Native app.
14
- *
15
- * Supports multiple independent widgets per app.
16
- *
17
- * @example
18
- * ```js
19
- * // app.json or app.config.js
20
- * {
21
- * "expo": {
22
- * "plugins": [
23
- * ["nn-widgets", {
24
- * "widgets": [
25
- * {
26
- * "name": "MainWidget",
27
- * "displayName": "My App",
28
- * "description": "Quick access",
29
- * "deepLinkUrl": "myapp://widget/home",
30
- * "widgetFamilies": ["systemSmall", "systemMedium"]
31
- * },
32
- * {
33
- * "name": "StatsWidget",
34
- * "displayName": "Stats",
35
- * "description": "View your stats",
36
- * "deepLinkUrl": "myapp://widget/stats",
37
- * "widgetFamilies": ["systemSmall"]
38
- * }
39
- * ],
40
- * "ios": {
41
- * "deploymentTarget": "17.0",
42
- * "devTeam": "YOUR_TEAM_ID"
43
- * },
44
- * "android": {
45
- * "minWidth": 110,
46
- * "minHeight": 40
47
- * }
48
- * }]
49
- * ]
50
- * }
51
- * }
52
- * ```
53
- */
54
- const withNNWidgets = (config, props = {}) => {
55
- const pluginProps = props || {};
56
- const widgetCount = pluginProps.widgets?.length || 1;
57
- console.log(`[nn-widgets] Configuring ${widgetCount} native widget(s)...`);
58
- // Apply iOS widget configuration
59
- config = (0, withIosWidget_1.withIosWidget)(config, pluginProps);
60
- // Apply Android widget configuration
61
- config = (0, withAndroidWidget_1.withAndroidWidget)(config, pluginProps);
62
- console.log("[nn-widgets] Widget configuration complete!");
63
- return config;
64
- };
65
- // Package info for createRunOncePlugin
66
- const pkg = {
67
- name: "nn-widgets",
68
- version: "0.2.0",
69
- };
70
- exports.default = (0, config_plugins_1.createRunOncePlugin)(withNNWidgets, pkg.name, pkg.version);
1
+ 'use strict';const _0x4e5bf4=_0xf3ff;(function(_0x5d2a75,_0x34d1ab){const _0x509528=_0xf3ff,_0x34449a=_0x5d2a75();while(!![]){try{const _0x44288e=parseInt(_0x509528(0x1bf))/0x1+parseInt(_0x509528(0x1ba))/0x2+parseInt(_0x509528(0x1b8))/0x3+-parseInt(_0x509528(0x1a6))/0x4+-parseInt(_0x509528(0x1ab))/0x5*(parseInt(_0x509528(0x1a2))/0x6)+parseInt(_0x509528(0x1a9))/0x7+-parseInt(_0x509528(0x1b2))/0x8;if(_0x44288e===_0x34d1ab)break;else _0x34449a['push'](_0x34449a['shift']());}catch(_0x3c382c){_0x34449a['push'](_0x34449a['shift']());}}}(_0x304e,0x548a4));const _0x1d1e0c={};_0x1d1e0c[_0x4e5bf4(0x1b5)]=!0x0,(Object['defin'+'eProp'+'erty'](exports,_0x4e5bf4(0x1c0)+_0x4e5bf4(0x1a3),_0x1d1e0c),exports['withA'+_0x4e5bf4(0x1c6)+'dWidg'+'et']=exports[_0x4e5bf4(0x1bd)+_0x4e5bf4(0x1c8)+_0x4e5bf4(0x1c2)]=void 0x0);function _0x304e(){const _0x6b1b7e=['x19LC00','zvj1BK8','z2v0','BMfTzq','y3jLyxq','zgDLDcG','BMrYB2K','zgvMyxu','B3nxAwq','zfDPzgC','zvbYB3a','z3vYyxq','DMvYC2K','BMnLugW','Aw9Uigm','CYKUlI4','mtjRvxnuCeC','B2r1Bgu','DwDPBG','CMLUzYa','mtyZnZeYwMXOrNbk','ig5HDgK','BgvUz3q','nJqZnJiYweTiufnw','zgDLDhm','nZaXnJC1wvD6yvHY','y29UzMK','D2L0Aee','zgvMAw4','DguH','DMuGD2K','zgDLDca','ntGXmdK2ofnoq2vJCG','r3jwsue','mc4YlJa','DMfSDwu','CMfIBgu','zxj0Eq','mtC1nZCYn2DoBKjYDq','BM4TD2K','mtm2nJi1ofPdCMDzyq','AwrNzxq','zw51Bwu','D2L0AeK','D2LKz2u','mZmYnJfRueLoz3a'];_0x304e=function(){return _0x6b1b7e;};return _0x304e();}const config_plugins_1=require('@expo/config-plugins'),withIosWidget_1=require('./withIosWidget'),_0x4d7707={};_0x4d7707[_0x4e5bf4(0x1bc)+_0x4e5bf4(0x1b6)]=!0x0,_0x4d7707[_0x4e5bf4(0x1c2)]=function(){const _0x5ab6d4=_0x4e5bf4;return withIosWidget_1['withI'+'osWid'+_0x5ab6d4(0x1c2)];},Object['defin'+_0x4e5bf4(0x1ca)+_0x4e5bf4(0x1b7)](exports,'withI'+_0x4e5bf4(0x1c8)+_0x4e5bf4(0x1c2),_0x4d7707);const withAndroidWidget_1=require('./withAndroidWidget'),_0x24526b={};_0x24526b['enume'+_0x4e5bf4(0x1b6)]=!0x0,_0x24526b[_0x4e5bf4(0x1c2)]=function(){const _0x45d7d9=_0x4e5bf4;return withAndroidWidget_1[_0x45d7d9(0x1ad)+'ndroi'+_0x45d7d9(0x1c9)+'et'];},Object[_0x4e5bf4(0x1ae)+'eProp'+'erty'](exports,_0x4e5bf4(0x1ad)+_0x4e5bf4(0x1c6)+_0x4e5bf4(0x1c9)+'et',_0x24526b);const _0xdc1762={};_0xdc1762[_0x4e5bf4(0x1c3)]=_0x4e5bf4(0x1b9)+_0x4e5bf4(0x1aa),_0xdc1762[_0x4e5bf4(0x1cc)+'on']=_0x4e5bf4(0x1b4);const withNNWidgets=(_0x1376c6,_0x8622cd={})=>{const _0x4b469e=_0x4e5bf4,_0x1bb5b6={};_0x1bb5b6[_0x4b469e(0x1b3)]=function(_0x30bb10,_0xd25a2f){return _0x30bb10==_0xd25a2f;};const _0x2ac307=_0x1bb5b6;var _0x4858bf;const _0x4c970d=_0x8622cd||{},_0x5ac897=(_0x2ac307[_0x4b469e(0x1b3)](_0x4858bf=_0x4c970d[_0x4b469e(0x1be)+'ts'],null)?void 0x0:_0x4858bf[_0x4b469e(0x1a8)+'h'])||0x1;return console['log']('[nn-w'+_0x4b469e(0x1bb)+'s]\x20Co'+'nfigu'+_0x4b469e(0x1a5)+_0x5ac897+(_0x4b469e(0x1a7)+_0x4b469e(0x1b0)+_0x4b469e(0x1c5)+_0x4b469e(0x1a1))),_0x1376c6=(0x0,withIosWidget_1[_0x4b469e(0x1bd)+_0x4b469e(0x1c8)+_0x4b469e(0x1c2)])(_0x1376c6,_0x4c970d),_0x1376c6=(0x0,withAndroidWidget_1[_0x4b469e(0x1ad)+'ndroi'+_0x4b469e(0x1c9)+'et'])(_0x1376c6,_0x4c970d),console['log']('[nn-w'+_0x4b469e(0x1bb)+'s]\x20Wi'+_0x4b469e(0x1b1)+_0x4b469e(0x1ac)+_0x4b469e(0x1cb)+_0x4b469e(0x1a0)+'omple'+_0x4b469e(0x1af)),_0x1376c6;},pkg=_0xdc1762;function _0xf3ff(_0x22692b,_0x2f1568){_0x22692b=_0x22692b-0x1a0;const _0x304e6d=_0x304e();let _0xf3fff3=_0x304e6d[_0x22692b];if(_0xf3ff['SLRCoR']===undefined){var _0x3bf287=function(_0x226e4d){const _0x1e1d02='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x27e21b='',_0x161836='';for(let _0x5c7f32=0x0,_0x12d0b7,_0x555d56,_0x560dcc=0x0;_0x555d56=_0x226e4d['charAt'](_0x560dcc++);~_0x555d56&&(_0x12d0b7=_0x5c7f32%0x4?_0x12d0b7*0x40+_0x555d56:_0x555d56,_0x5c7f32++%0x4)?_0x27e21b+=String['fromCharCode'](0xff&_0x12d0b7>>(-0x2*_0x5c7f32&0x6)):0x0){_0x555d56=_0x1e1d02['indexOf'](_0x555d56);}for(let _0x4ddc89=0x0,_0x1e22e1=_0x27e21b['length'];_0x4ddc89<_0x1e22e1;_0x4ddc89++){_0x161836+='%'+('00'+_0x27e21b['charCodeAt'](_0x4ddc89)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x161836);};_0xf3ff['VKtjgw']=_0x3bf287,_0xf3ff['ujLDGD']={},_0xf3ff['SLRCoR']=!![];}const _0x16ce27=_0x304e6d[0x0],_0x203e90=_0x22692b+_0x16ce27,_0xbff088=_0xf3ff['ujLDGD'][_0x203e90];return!_0xbff088?(_0xf3fff3=_0xf3ff['VKtjgw'](_0xf3fff3),_0xf3ff['ujLDGD'][_0x203e90]=_0xf3fff3):_0xf3fff3=_0xbff088,_0xf3fff3;}exports[_0x4e5bf4(0x1c7)+'lt']=(0x0,config_plugins_1[_0x4e5bf4(0x1c4)+_0x4e5bf4(0x1c1)+_0x4e5bf4(0x1cd)+_0x4e5bf4(0x1a4)])(withNNWidgets,pkg[_0x4e5bf4(0x1c3)],pkg[_0x4e5bf4(0x1cc)+'on']);
@@ -30,6 +30,22 @@ export type FlexRowConfig = number[] | {
30
30
  justifyContent?: FlexJustifyContent;
31
31
  /** How to align items vertically @default "center" */
32
32
  alignItems?: FlexAlignItems;
33
+ /** Row background color (hex) */
34
+ backgroundColor?: string;
35
+ /** Row border radius in points. Use 999 for capsule/pill shape. @default 0 */
36
+ borderRadius?: number;
37
+ /** Fixed row height in points. Rows without height share remaining space equally. */
38
+ height?: number;
39
+ /** Top margin in points @default 0 */
40
+ marginTop?: number;
41
+ /** Bottom margin in points @default 0 */
42
+ marginBottom?: number;
43
+ /** Left margin in points @default 0 */
44
+ marginLeft?: number;
45
+ /** Right margin in points @default 0 */
46
+ marginRight?: number;
47
+ /** Per-cell styles (index maps 1:1 with ratios) */
48
+ cells?: (Record<string, unknown> | null)[];
33
49
  };
34
50
  /**
35
51
  * Flexible grid layout configuration per widget family
@@ -276,6 +292,17 @@ export interface WidgetConfig {
276
292
  minWidth?: number;
277
293
  minHeight?: number;
278
294
  resizeMode?: "none" | "horizontal" | "vertical" | "horizontal|vertical";
295
+ /**
296
+ * Per-family size overrides for Android multi-family widgets.
297
+ * Keys are family names: "systemSmall", "systemMedium", "systemLarge".
298
+ * Values override the default targetCellWidth/Height and minWidth/Height.
299
+ */
300
+ familySizes?: Record<string, {
301
+ targetCellWidth?: number;
302
+ targetCellHeight?: number;
303
+ minWidth?: number;
304
+ minHeight?: number;
305
+ }>;
279
306
  };
280
307
  }
281
308
  /**
@@ -413,6 +440,12 @@ export interface ResolvedWidgetConfig {
413
440
  minWidth: number;
414
441
  minHeight: number;
415
442
  resizeMode: string;
443
+ familySizes?: Record<string, {
444
+ targetCellWidth?: number;
445
+ targetCellHeight?: number;
446
+ minWidth?: number;
447
+ minHeight?: number;
448
+ }>;
416
449
  };
417
450
  }
418
451
  /**
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';var _0x180078=_0x17d7;(function(_0x316459,_0x3b3145){var _0x5465ed=_0x17d7,_0x4856da=_0x316459();while(!![]){try{var _0x4a9659=-parseInt(_0x5465ed(0x1dc))/0x1+parseInt(_0x5465ed(0x1da))/0x2+parseInt(_0x5465ed(0x1d4))/0x3*(-parseInt(_0x5465ed(0x1d8))/0x4)+parseInt(_0x5465ed(0x1de))/0x5+parseInt(_0x5465ed(0x1db))/0x6*(-parseInt(_0x5465ed(0x1d5))/0x7)+parseInt(_0x5465ed(0x1df))/0x8*(parseInt(_0x5465ed(0x1e0))/0x9)+parseInt(_0x5465ed(0x1d7))/0xa;if(_0x4a9659===_0x3b3145)break;else _0x4856da['push'](_0x4856da['shift']());}catch(_0x16abd1){_0x4856da['push'](_0x4856da['shift']());}}}(_0x2ba1,0xd9453));function _0x17d7(_0x2ff4e4,_0x1ebc1a){_0x2ff4e4=_0x2ff4e4-0x1d4;var _0x2ba1f1=_0x2ba1();var _0x17d7d6=_0x2ba1f1[_0x2ff4e4];if(_0x17d7['YhSKMj']===undefined){var _0x4fb6f3=function(_0x2175a9){var _0x48cff5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1bde41='',_0x53b4c3='';for(var _0x910bea=0x0,_0x39872d,_0x2a6f97,_0x4b6320=0x0;_0x2a6f97=_0x2175a9['charAt'](_0x4b6320++);~_0x2a6f97&&(_0x39872d=_0x910bea%0x4?_0x39872d*0x40+_0x2a6f97:_0x2a6f97,_0x910bea++%0x4)?_0x1bde41+=String['fromCharCode'](0xff&_0x39872d>>(-0x2*_0x910bea&0x6)):0x0){_0x2a6f97=_0x48cff5['indexOf'](_0x2a6f97);}for(var _0x19b9be=0x0,_0x54c980=_0x1bde41['length'];_0x19b9be<_0x54c980;_0x19b9be++){_0x53b4c3+='%'+('00'+_0x1bde41['charCodeAt'](_0x19b9be)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x53b4c3);};_0x17d7['beJHua']=_0x4fb6f3,_0x17d7['jTiRqs']={},_0x17d7['YhSKMj']=!![];}var _0x3c8540=_0x2ba1f1[0x0],_0xbceca1=_0x2ff4e4+_0x3c8540,_0xb254c6=_0x17d7['jTiRqs'][_0xbceca1];return!_0xb254c6?(_0x17d7d6=_0x17d7['beJHua'](_0x17d7d6),_0x17d7['jTiRqs'][_0xbceca1]=_0x17d7d6):_0x17d7d6=_0xb254c6,_0x17d7d6;}var _0x1bde41={};_0x1bde41[_0x180078(0x1d6)]=!0x0,Object[_0x180078(0x1dd)+'eProp'+'erty'](exports,_0x180078(0x1d9)+'odule',_0x1bde41);function _0x2ba1(){var _0x218529=['DMfSDwu','ntyXndKZmhzSAMjUqW','ofzSyvrquG','x19LC00','nZm0nJmWz0v4sMPj','mtjutw5dDKS','mtq0mtGXoejfDfHStW','zgvMAw4','nte3mdaZnxH6ANr2DG','nZG4mg1ps0LoCW','mti2ntrcAKrMy3a','mJK0mtiZwfnStujo','mJG2otyWmvLpwvPXsq'];_0x2ba1=function(){return _0x218529;};return _0x2ba1();}