@ruby-native/vue 0.9.2 → 0.9.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 (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +7 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -33,6 +33,7 @@ Each component renders a hidden `data-native-*` signal element that the Ruby Nat
33
33
  - `NativeTabs` - show the native tab bar
34
34
  - `NativePush` - request push notification permission
35
35
  - `NativeForm` - mark the current page as a form so back navigation skips it
36
+ - `NativeReview` - ask for an App Store review prompt when the page loads
36
37
  - `NativeNavbar` - native navigation bar with title and buttons
37
38
  - `NativeButton` - native nav bar button (icon, title, href, or click target)
38
39
  - `NativeMenuItem` - item inside a native menu
package/index.js CHANGED
@@ -43,6 +43,13 @@ export const NativeForm = defineComponent({
43
43
  }
44
44
  })
45
45
 
46
+ export const NativeReview = defineComponent({
47
+ name: "NativeReview",
48
+ render() {
49
+ return h("div", { "data-native-review": true, hidden: true })
50
+ }
51
+ })
52
+
46
53
  export const NativeNavbar = defineComponent({
47
54
  name: "NativeNavbar",
48
55
  props: { title: { type: String, default: "" } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruby-native/vue",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Vue components for Ruby Native",
5
5
  "main": "index.js",
6
6
  "files": ["index.js", "README.md"],